liuyg
2021-06-16 8999472dde70a29ba3abb7ac6ddcf864835aefd1
搜索框调整 阻止操作按钮冒泡
2 files modified
2512 ■■■■ changed files
libs/layui/layui/layui.js 2490 ●●●● patch | view | raw | blame | history
widgets/searchL/Widget.js 22 ●●●● patch | view | raw | blame | history
libs/layui/layui/layui.js
@@ -1,4 +1,4 @@
/*! MIT Licensed */ ;
/*! MIT Licensed */;
! function (t) {
    "use strict";
    var e = t.document,
@@ -69,7 +69,7 @@
        function p(t, e) {
            var r = "PLaySTATION 3" === navigator.platform ? /^complete$/ : /^(complete|loaded)$/;
            ("load" === t.type || r.test((t.currentTarget || t.srcElement).readyState)) && (n.modules[h] = e, v.removeChild(b), function o() {
                return ++m > 1e3 * n.timeout / 4 ? i(h + " is not a valid module", "error") : void(n.status[h] ? f() : setTimeout(o, 4))
                return ++m > 1e3 * n.timeout / 4 ? i(h + " is not a valid module", "error") : void (n.status[h] ? f() : setTimeout(o, 4))
            }())
        }
@@ -93,7 +93,7 @@
        if (c = c || [], n.host = n.host || (d.match(/\/\/([\s\S]+?)\//) || ["//" + location.host + "/"])[0], 0 === r.length || layui["layui.all"] && l[h]) return f(), y;
        var g = (l[h] ? d + "modules/" : /^\{\/\}/.test(y.modules[h]) ? "" : n.base || "") + (y.modules[h] || h) + ".js";
        if (g = g.replace(/^\{\/\}/, ""), !n.modules[h] && layui[h] && (n.modules[h] = g), n.modules[h]) ! function S() {
            return ++m > 1e3 * n.timeout / 4 ? i(h + " is not a valid module", "error") : void("string" == typeof n.modules[h] && n.status[h] ? f() : setTimeout(S, 4))
            return ++m > 1e3 * n.timeout / 4 ? i(h + " is not a valid module", "error") : void ("string" == typeof n.modules[h] && n.status[h] ? f() : setTimeout(S, 4))
        }();
        else {
            var b = e.createElement("script");
@@ -122,7 +122,7 @@
        return l.rel = "stylesheet", l.href = t + (n.debug ? "?v=" + (new Date).getTime() : ""), l.media = "all", e.getElementById(s) || u.appendChild(l), "function" != typeof r ? a : (function y(o) {
            var u = 100,
                l = e.getElementById(s);
            return ++f > 1e3 * n.timeout / u ? i(t + " timeout") : void(1989 === parseInt(a.getStyle(l, "width")) ? (o === p && l.removeAttribute("lay-status"), l.getAttribute("lay-status") === p ? setTimeout(y, u) : r()) : (l.setAttribute("lay-status", p), setTimeout(function () {
            return ++f > 1e3 * n.timeout / u ? i(t + " timeout") : void (1989 === parseInt(a.getStyle(l, "width")) ? (o === p && l.removeAttribute("lay-status"), l.getAttribute("lay-status") === p ? setTimeout(y, u) : r()) : (l.setAttribute("lay-status", p), setTimeout(function () {
                y(p)
            }, u)))
        }(), a)
@@ -134,7 +134,7 @@
        var r = new Image;
        return r.src = t, r.complete ? e(r) : (r.onload = function () {
            r.onload = null, "function" == typeof e && e(r)
        }, void(r.onerror = function (t) {
        }, void (r.onerror = function (t) {
            r.onerror = null, "function" == typeof n && n(t)
        }))
    }, r.prototype.config = function (t) {
@@ -278,8 +278,8 @@
                var n = e && e.call(a, r);
                n === !1 && null === i && (i = !1)
            };
        return r === c ? (delete(a.cache.event[l] || {})[s], a) : o ? (n.event[l] = n.event[l] || {}, n.event[l][s] = [o], this) : (layui.each(n.event[l], function (t, e) {
            return "{*}" === s ? void layui.each(e, p) : ("" === t && layui.each(e, p), void(s && t === s && layui.each(e, p)))
        return r === c ? (delete (a.cache.event[l] || {})[s], a) : o ? (n.event[l] = n.event[l] || {}, n.event[l][s] = [o], this) : (layui.each(n.event[l], function (t, e) {
            return "{*}" === s ? void layui.each(e, p) : ("" === t && layui.each(e, p), void (s && t === s && layui.each(e, p)))
        }), i)
    }, r.prototype.on = function (t, e, n) {
        var r = this;
@@ -336,14 +336,14 @@
        if (o) {
            i = i || {}, e !== n && e !== r("body")[0] || (i.clickType = "right");
            var c = "right" === i.clickType ? function () {
                    var e = i.e || t.event || {};
                    return {
                        left: e.clientX,
                        top: e.clientY,
                        right: e.clientX,
                        bottom: e.clientY
                    }
                }() : e.getBoundingClientRect(),
                var e = i.e || t.event || {};
                return {
                    left: e.clientX,
                    top: e.clientY,
                    right: e.clientX,
                    bottom: e.clientY
                }
            }() : e.getBoundingClientRect(),
                u = o.offsetWidth,
                a = o.offsetHeight,
                f = function (t) {
@@ -487,9 +487,9 @@
layui.define(function (e) {
    "use strict";
    var r = {
            open: "{{",
            close: "}}"
        },
        open: "{{",
        close: "}}"
    },
        c = {
            exp: function (e) {
                return new RegExp(e, "g")
@@ -846,68 +846,68 @@
                "class": f
            });
        if (a.zIndex && (r.style.zIndex = a.zIndex), lay.each(new Array(2), function (e) {
                if (!a.range && e > 0) return !0;
                var t = lay.elem("div", {
                        "class": "layui-laydate-header"
            if (!a.range && e > 0) return !0;
            var t = lay.elem("div", {
                "class": "layui-laydate-header"
            }),
                i = [function () {
                    var e = lay.elem("i", {
                        "class": "layui-icon laydate-icon laydate-prev-y"
                    });
                    return e.innerHTML = "", e
                }(), function () {
                    var e = lay.elem("i", {
                        "class": "layui-icon laydate-icon laydate-prev-m"
                    });
                    return e.innerHTML = "", e
                }(), function () {
                    var e = lay.elem("div", {
                        "class": "laydate-set-ym"
                    }),
                    i = [function () {
                        var e = lay.elem("i", {
                            "class": "layui-icon laydate-icon laydate-prev-y"
                        });
                        return e.innerHTML = "", e
                    }(), function () {
                        var e = lay.elem("i", {
                            "class": "layui-icon laydate-icon laydate-prev-m"
                        });
                        return e.innerHTML = "", e
                    }(), function () {
                        var e = lay.elem("div", {
                                "class": "laydate-set-ym"
                            }),
                            t = lay.elem("span"),
                            a = lay.elem("span");
                        return e.appendChild(t), e.appendChild(a), e
                    }(), function () {
                        var e = lay.elem("i", {
                            "class": "layui-icon laydate-icon laydate-next-m"
                        });
                        return e.innerHTML = "", e
                    }(), function () {
                        var e = lay.elem("i", {
                            "class": "layui-icon laydate-icon laydate-next-y"
                        });
                        return e.innerHTML = "", e
                    }()],
                    l = lay.elem("div", {
                        "class": "layui-laydate-content"
                    }),
                    r = lay.elem("table"),
                    m = lay.elem("thead"),
                    c = lay.elem("tr");
                lay.each(i, function (e, a) {
                    t.appendChild(a)
                }), m.appendChild(c), lay.each(new Array(6), function (e) {
                    var t = r.insertRow(0);
                    lay.each(new Array(7), function (a) {
                        if (0 === e) {
                            var i = lay.elem("th");
                            i.innerHTML = n.weeks[a], c.appendChild(i)
                        }
                        t.insertCell(a)
                    })
                }), r.insertBefore(m, r.children[0]), l.appendChild(r), o[e] = lay.elem("div", {
                    "class": "layui-laydate-main laydate-main-list-" + e
                }), o[e].appendChild(t), o[e].appendChild(l), s.push(i), y.push(l), d.push(r)
            }), lay(m).html(function () {
                var e = [],
                    t = [];
                return "datetime" === a.type && e.push('<span lay-type="datetime" class="' + v + '">' + n.timeTips + "</span>"), (a.range || "datetime" !== a.type) && e.push('<span class="' + T + '" title="' + n.preview + '"></span>'), lay.each(a.btns, function (e, l) {
                    var r = n.tools[l] || "btn";
                    a.range && "now" === l || (i && "clear" === l && (r = "cn" === a.lang ? "\u91cd\u7f6e" : "Reset"), t.push('<span lay-type="' + l + '" class="laydate-btns-' + l + '">' + r + "</span>"))
                }), e.push('<div class="laydate-footer-btns">' + t.join("") + "</div>"), e.join("")
            }()), lay.each(o, function (e, t) {
                r.appendChild(t)
            }), a.showBottom && r.appendChild(m), /^#/.test(a.theme)) {
                        t = lay.elem("span"),
                        a = lay.elem("span");
                    return e.appendChild(t), e.appendChild(a), e
                }(), function () {
                    var e = lay.elem("i", {
                        "class": "layui-icon laydate-icon laydate-next-m"
                    });
                    return e.innerHTML = "&#xe602;", e
                }(), function () {
                    var e = lay.elem("i", {
                        "class": "layui-icon laydate-icon laydate-next-y"
                    });
                    return e.innerHTML = "&#xe65b;", e
                }()],
                l = lay.elem("div", {
                    "class": "layui-laydate-content"
                }),
                r = lay.elem("table"),
                m = lay.elem("thead"),
                c = lay.elem("tr");
            lay.each(i, function (e, a) {
                t.appendChild(a)
            }), m.appendChild(c), lay.each(new Array(6), function (e) {
                var t = r.insertRow(0);
                lay.each(new Array(7), function (a) {
                    if (0 === e) {
                        var i = lay.elem("th");
                        i.innerHTML = n.weeks[a], c.appendChild(i)
                    }
                    t.insertCell(a)
                })
            }), r.insertBefore(m, r.children[0]), l.appendChild(r), o[e] = lay.elem("div", {
                "class": "layui-laydate-main laydate-main-list-" + e
            }), o[e].appendChild(t), o[e].appendChild(l), s.push(i), y.push(l), d.push(r)
        }), lay(m).html(function () {
            var e = [],
                t = [];
            return "datetime" === a.type && e.push('<span lay-type="datetime" class="' + v + '">' + n.timeTips + "</span>"), (a.range || "datetime" !== a.type) && e.push('<span class="' + T + '" title="' + n.preview + '"></span>'), lay.each(a.btns, function (e, l) {
                var r = n.tools[l] || "btn";
                a.range && "now" === l || (i && "clear" === l && (r = "cn" === a.lang ? "\u91cd\u7f6e" : "Reset"), t.push('<span lay-type="' + l + '" class="laydate-btns-' + l + '">' + r + "</span>"))
            }), e.push('<div class="laydate-footer-btns">' + t.join("") + "</div>"), e.join("")
        }()), lay.each(o, function (e, t) {
            r.appendChild(t)
        }), a.showBottom && r.appendChild(m), /^#/.test(a.theme)) {
            var u = lay.elem("style"),
                h = ["#{{id}} .layui-laydate-header{background-color:{{theme}};}", "#{{id}} .layui-this{background-color:{{theme}} !important;}"].join("").replace(/{{id}}/g, e.elemID).replace(/{{theme}}/g, a.theme);
            "styleSheet" in u ? (u.setAttribute("type", "text/css"), u.styleSheet.cssText = h) : u.innerHTML = h, lay(r).addClass("laydate-theme-molv"), r.appendChild(u)
@@ -981,8 +981,8 @@
            }()))
        };
        u(), "string" == typeof y && y ? n.EXP_IF.test(y) ? i.range ? (y = y.split(" " + n.rangeStr + " "), lay.each([i.dateTime, n.endDate], function (e, t) {
                c(t, y[e], e)
            })) : c(o, y) : (n.hint(r.formatError[0] + (i.range ? i.format + " " + n.rangeStr + " " + i.format : i.format) + r.formatError[1]), a = !0) : y && "date" === layui._typeof(y) ? i.dateTime = n.systemDate(y) : (i.dateTime = n.systemDate(), delete n.startTime, delete n.endDate, u(), delete n.endTime),
            c(t, y[e], e)
        })) : c(o, y) : (n.hint(r.formatError[0] + (i.range ? i.format + " " + n.rangeStr + " " + i.format : i.format) + r.formatError[1]), a = !0) : y && "date" === layui._typeof(y) ? i.dateTime = n.systemDate(y) : (i.dateTime = n.systemDate(), delete n.startTime, delete n.endDate, u(), delete n.endTime),
            function () {
                if (n.rangeElem) {
                    var e = [n.rangeElem[0].val(), n.rangeElem[1].val()],
@@ -1064,7 +1064,7 @@
                    year: "laydate-year-list",
                    month: "laydate-month-list",
                    time: "laydate-time-list"
                } [e]
                }[e]
            }),
            s = a.elemHeader[t],
            m = lay(s[2]).find("span"),
@@ -1079,8 +1079,8 @@
            var M, E = M = D[0] - 7;
            E < 1 && (E = M = 1), lay.each(new Array(15), function (e) {
                var i = lay.elem("li", {
                        "lay-ym": M
                    }),
                    "lay-ym": M
                }),
                    l = {
                        year: M
                    };
@@ -1088,8 +1088,8 @@
            }), lay(m[f ? 0 : 1]).attr("lay-ym", M - 8 + "-" + D[1]).html(E + T + " - " + (M - 1 + T))
        } else if ("month" === e) lay.each(new Array(12), function (e) {
            var i = lay.elem("li", {
                    "lay-ym": e
                }),
                "lay-ym": e
            }),
                r = {
                    year: D[0],
                    month: e
@@ -1135,8 +1135,8 @@
        });
        else {
            var I = lay.elem("span", {
                    "class": g
                }),
                "class": g
            }),
                k = function () {
                    lay(o).find("ol").each(function (e) {
                        var t = this,
@@ -1428,7 +1428,7 @@
            if (n = e.getAttribute(r), "string" == typeof n) {
                try {
                    n = "true" === n || "false" !== n && ("null" === n ? null : +n + "" === n ? +n : qe.test(n) ? pe.parseJSON(n) : n)
                } catch (i) {}
                } catch (i) { }
                pe.data(e, t, n)
            } else n = void 0
        }
@@ -1464,7 +1464,7 @@
                    pe.isArray(t) ? t = t.concat(pe.map(t, pe.camelCase)) : t in r ? t = [t] : (t = pe.camelCase(t), t = t in r ? [t] : t.split(" ")), i = t.length;
                    for (; i--;) delete r[t[i]];
                    if (n ? !l(r) : !pe.isEmptyObject(r)) return
                }(n || (delete a[s].data, l(a[s]))) && (o ? pe.cleanData([e], !0) : fe.deleteExpando || a != a.window ? delete a[s] : a[s] = void 0)
                } (n || (delete a[s].data, l(a[s]))) && (o ? pe.cleanData([e], !0) : fe.deleteExpando || a != a.window ? delete a[s] : a[s] = void 0)
            }
        }
    }
@@ -1516,16 +1516,16 @@
            if (a = e[x], a || 0 === a)
                if ("object" === pe.type(a)) pe.merge(v, a.nodeType ? [a] : a);
                else if (Ue.test(a)) {
            for (u = u || y.appendChild(t.createElement("div")), l = (We.exec(a) || ["", ""])[1].toLowerCase(), f = Xe[l] || Xe._default, u.innerHTML = f[1] + pe.htmlPrefilter(a) + f[2], o = f[0]; o--;) u = u.lastChild;
            if (!fe.leadingWhitespace && $e.test(a) && v.push(t.createTextNode($e.exec(a)[0])), !fe.tbody)
                for (a = "table" !== l || Ve.test(a) ? "<table>" !== f[1] || Ve.test(a) ? 0 : u : u.firstChild, o = a && a.childNodes.length; o--;) pe.nodeName(c = a.childNodes[o], "tbody") && !c.childNodes.length && a.removeChild(c);
            for (pe.merge(v, u.childNodes), u.textContent = ""; u.firstChild;) u.removeChild(u.firstChild);
            u = y.lastChild
        } else v.push(t.createTextNode(a));
                    for (u = u || y.appendChild(t.createElement("div")), l = (We.exec(a) || ["", ""])[1].toLowerCase(), f = Xe[l] || Xe._default, u.innerHTML = f[1] + pe.htmlPrefilter(a) + f[2], o = f[0]; o--;) u = u.lastChild;
                    if (!fe.leadingWhitespace && $e.test(a) && v.push(t.createTextNode($e.exec(a)[0])), !fe.tbody)
                        for (a = "table" !== l || Ve.test(a) ? "<table>" !== f[1] || Ve.test(a) ? 0 : u : u.firstChild, o = a && a.childNodes.length; o--;) pe.nodeName(c = a.childNodes[o], "tbody") && !c.childNodes.length && a.removeChild(c);
                    for (pe.merge(v, u.childNodes), u.textContent = ""; u.firstChild;) u.removeChild(u.firstChild);
                    u = y.lastChild
                } else v.push(t.createTextNode(a));
        for (u && y.removeChild(u), fe.appendChecked || pe.grep(h(v, "input"), m), x = 0; a = v[x++];)
            if (r && pe.inArray(a, r) > -1) i && i.push(a);
            else if (s = pe.contains(a.ownerDocument, a), u = h(y.appendChild(a), "script"), s && g(u), n)
            for (o = 0; a = u[o++];) Ie.test(a.type || "") && n.push(a);
                for (o = 0; a = u[o++];) Ie.test(a.type || "") && n.push(a);
        return u = null, y
    }
@@ -1540,7 +1540,7 @@
    function b() {
        try {
            return re.activeElement
        } catch (e) {}
        } catch (e) { }
    }
    function w(e, t, n, r, i, o) {
@@ -1689,8 +1689,8 @@
    function P(e, t) {
        var n, r = {
                height: e
            },
            height: e
        },
            i = 0;
        for (t = t ? 1 : 0; i < 4; i += 2 - t) n = Oe[i], r["margin" + n] = r["padding" + n] = e;
        return t && (r.opacity = r.width = e), r
@@ -1855,22 +1855,22 @@
            if (e.responseFields[o] && (n[e.responseFields[o]] = t), !u && r && e.dataFilter && (t = e.dataFilter(t, e.dataType)), u = o, o = c.shift())
                if ("*" === o) o = u;
                else if ("*" !== u && u !== o) {
            if (a = l[u + " " + o] || l["* " + o], !a)
                for (i in l)
                    if (s = i.split(" "), s[1] === o && (a = l[u + " " + s[0]] || l["* " + s[0]])) {
                        a === !0 ? a = l[i] : l[i] !== !0 && (o = s[0], c.unshift(s[1]));
                        break
                    } if (a !== !0)
                if (a && e["throws"]) t = a(t);
                else try {
                    t = a(t)
                } catch (f) {
                    return {
                        state: "parsererror",
                        error: a ? f : "No conversion from " + u + " to " + o
                    }
                    if (a = l[u + " " + o] || l["* " + o], !a)
                        for (i in l)
                            if (s = i.split(" "), s[1] === o && (a = l[u + " " + s[0]] || l["* " + s[0]])) {
                                a === !0 ? a = l[i] : l[i] !== !0 && (o = s[0], c.unshift(s[1]));
                                break
                            } if (a !== !0)
                        if (a && e["throws"]) t = a(t);
                        else try {
                            t = a(t)
                        } catch (f) {
                            return {
                                state: "parsererror",
                                error: a ? f : "No conversion from " + u + " to " + o
                            }
                        }
                }
        }
        return {
            state: "success",
            data: t
@@ -1903,13 +1903,13 @@
    function Z() {
        try {
            return new e.XMLHttpRequest
        } catch (t) {}
        } catch (t) { }
    }
    function ee() {
        try {
            return new e.ActiveXObject("Microsoft.XMLHTTP")
        } catch (t) {}
        } catch (t) { }
    }
    function te(e) {
@@ -1993,7 +1993,7 @@
        error: function (e) {
            throw new Error(e)
        },
        noop: function () {},
        noop: function () { },
        isFunction: function (e) {
            return "function" === pe.type(e)
        },
@@ -2113,17 +2113,17 @@
                        if (l[2]) return Q.apply(n, t.getElementsByTagName(e)), n;
                        if ((i = l[3]) && w.getElementsByClassName && t.getElementsByClassName) return Q.apply(n, t.getElementsByClassName(i)), n
                    } if (w.qsa && !X[e + " "] && (!F || !F.test(e))) {
                    if (1 !== g) h = t, p = e;
                    else if ("object" !== t.nodeName.toLowerCase()) {
                        for ((s = t.getAttribute("id")) ? s = s.replace(xe, "\\$&") : t.setAttribute("id", s = P), f = N(e), o = f.length, u = de.test(s) ? "#" + s : "[id='" + s + "']"; o--;) f[o] = u + " " + d(f[o]);
                        p = f.join(","), h = ve.test(e) && c(t.parentNode) || t
                        if (1 !== g) h = t, p = e;
                        else if ("object" !== t.nodeName.toLowerCase()) {
                            for ((s = t.getAttribute("id")) ? s = s.replace(xe, "\\$&") : t.setAttribute("id", s = P), f = N(e), o = f.length, u = de.test(s) ? "#" + s : "[id='" + s + "']"; o--;) f[o] = u + " " + d(f[o]);
                            p = f.join(","), h = ve.test(e) && c(t.parentNode) || t
                        }
                        if (p) try {
                            return Q.apply(n, h.querySelectorAll(p)), n
                        } catch (m) { } finally {
                                s === P && t.removeAttribute("id")
                            }
                    }
                    if (p) try {
                        return Q.apply(n, h.querySelectorAll(p)), n
                    } catch (m) {} finally {
                        s === P && t.removeAttribute("id")
                    }
                }
            }
            return S(e.replace(se, "$1"), t, n, r)
        }
@@ -2191,7 +2191,7 @@
            return e && "undefined" != typeof e.getElementsByTagName && e
        }
        function f() {}
        function f() { }
        function d(e) {
            for (var t = 0, n = e.length, r = ""; t < n; t++) r += e[t].value;
@@ -2261,13 +2261,13 @@
        function v(e) {
            for (var t, n, r, i = e.length, o = T.relative[e[0].type], a = o || T.relative[" "], s = o ? 1 : 0, u = p(function (e) {
                    return e === t
                }, a, !0), l = p(function (e) {
                    return ee(t, e) > -1
                }, a, !0), c = [function (e, n, r) {
                    var i = !o && (r || n !== A) || ((t = n).nodeType ? u(e, n, r) : l(e, n, r));
                    return t = null, i
                }]; s < i; s++)
                return e === t
            }, a, !0), l = p(function (e) {
                return ee(t, e) > -1
            }, a, !0), c = [function (e, n, r) {
                var i = !o && (r || n !== A) || ((t = n).nodeType ? u(e, n, r) : l(e, n, r));
                return t = null, i
            }]; s < i; s++)
                if (n = T.relative[e[s].type]) c = [p(h(c), n)];
                else {
                    if (n = T.filter[e[s].type].apply(null, e[s].matches), n[P]) {
@@ -2465,7 +2465,7 @@
            if ((e.ownerDocument || e) !== H && L(e), n = n.replace(ce, "='$1']"), w.matchesSelector && _ && !X[n + " "] && (!M || !M.test(n)) && (!F || !F.test(n))) try {
                var r = O.call(e, n);
                if (r || w.disconnectedMatch || e.document && 11 !== e.document.nodeType) return r
            } catch (i) {}
            } catch (i) { }
            return t(n, H, null, [e]).length > 0
        }, t.contains = function (e, t) {
            return (e.ownerDocument || e) !== H && L(e), R(e, t)
@@ -2700,16 +2700,16 @@
            }
        }, T.pseudos.nth = T.pseudos.eq;
        for (b in {
                radio: !0,
                checkbox: !0,
                file: !0,
                password: !0,
                image: !0
            }) T.pseudos[b] = s(b);
            radio: !0,
            checkbox: !0,
            file: !0,
            password: !0,
            image: !0
        }) T.pseudos[b] = s(b);
        for (b in {
                submit: !0,
                reset: !0
            }) T.pseudos[b] = u(b);
            submit: !0,
            reset: !0
        }) T.pseudos[b] = u(b);
        return f.prototype = T.filters = T.pseudos, T.setFilters = new f, N = t.tokenize = function (e, n) {
            var r, i, o, a, s, u, l, c = z[e + " "];
            if (c) return n ? 0 : c.slice(0);
@@ -2769,13 +2769,13 @@
    }(e);
    pe.find = ve, pe.expr = ve.selectors, pe.expr[":"] = pe.expr.pseudos, pe.uniqueSort = pe.unique = ve.uniqueSort, pe.text = ve.getText, pe.isXMLDoc = ve.isXML, pe.contains = ve.contains;
    var xe = function (e, t, n) {
            for (var r = [], i = void 0 !== n;
                (e = e[t]) && 9 !== e.nodeType;)
                if (1 === e.nodeType) {
                    if (i && pe(e).is(n)) break;
                    r.push(e)
                } return r
        },
        for (var r = [], i = void 0 !== n;
            (e = e[t]) && 9 !== e.nodeType;)
            if (1 === e.nodeType) {
                if (i && pe(e).is(n)) break;
                r.push(e)
            } return r
    },
        be = function (e, t) {
            for (var n = []; e; e = e.nextSibling) 1 === e.nodeType && e !== t && n.push(e);
            return n
@@ -2964,10 +2964,10 @@
    }, pe.extend({
        Deferred: function (e) {
            var t = [
                    ["resolve", "done", pe.Callbacks("once memory"), "resolved"],
                    ["reject", "fail", pe.Callbacks("once memory"), "rejected"],
                    ["notify", "progress", pe.Callbacks("memory")]
                ],
                ["resolve", "done", pe.Callbacks("once memory"), "resolved"],
                ["reject", "fail", pe.Callbacks("once memory"), "rejected"],
                ["notify", "progress", pe.Callbacks("memory")]
            ],
                n = "pending",
                r = {
                    state: function () {
@@ -3035,31 +3035,31 @@
        if (!je)
            if (je = pe.Deferred(), "complete" === re.readyState || "loading" !== re.readyState && !re.documentElement.doScroll) e.setTimeout(pe.ready);
            else if (re.addEventListener) re.addEventListener("DOMContentLoaded", s), e.addEventListener("load", s);
        else {
            re.attachEvent("onreadystatechange", s), e.attachEvent("onload", s);
            var n = !1;
            try {
                n = null == e.frameElement && re.documentElement
            } catch (r) {}
            n && n.doScroll && ! function i() {
                if (!pe.isReady) {
                    try {
                        n.doScroll("left")
                    } catch (t) {
                        return e.setTimeout(i, 50)
            else {
                re.attachEvent("onreadystatechange", s), e.attachEvent("onload", s);
                var n = !1;
                try {
                    n = null == e.frameElement && re.documentElement
                } catch (r) { }
                n && n.doScroll && ! function i() {
                    if (!pe.isReady) {
                        try {
                            n.doScroll("left")
                        } catch (t) {
                            return e.setTimeout(i, 50)
                        }
                        a(), pe.ready()
                    }
                    a(), pe.ready()
                }
            }()
        }
                }()
            }
        return je.promise(t)
    }, pe.ready.promise();
    var Le;
    for (Le in pe(fe)) break;
    fe.ownFirst = "0" === Le, fe.inlineBlockNeedsLayout = !1, pe(function () {
            var e, t, n, r;
            n = re.getElementsByTagName("body")[0], n && n.style && (t = re.createElement("div"), r = re.createElement("div"), r.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px", n.appendChild(r).appendChild(t), "undefined" != typeof t.style.zoom && (t.style.cssText = "display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1", fe.inlineBlockNeedsLayout = e = 3 === t.offsetWidth, e && (n.style.zoom = 1)), n.removeChild(r))
        }),
        var e, t, n, r;
        n = re.getElementsByTagName("body")[0], n && n.style && (t = re.createElement("div"), r = re.createElement("div"), r.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px", n.appendChild(r).appendChild(t), "undefined" != typeof t.style.zoom && (t.style.cssText = "display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1", fe.inlineBlockNeedsLayout = e = 3 === t.offsetWidth, e && (n.style.zoom = 1)), n.removeChild(r))
    }),
        function () {
            var e = re.createElement("div");
            fe.deleteExpando = !0;
@@ -3071,108 +3071,108 @@
            e = null
        }();
    var He = function (e) {
            var t = pe.noData[(e.nodeName + " ").toLowerCase()],
                n = +e.nodeType || 1;
            return (1 === n || 9 === n) && (!t || t !== !0 && e.getAttribute("classid") === t)
        },
        var t = pe.noData[(e.nodeName + " ").toLowerCase()],
            n = +e.nodeType || 1;
        return (1 === n || 9 === n) && (!t || t !== !0 && e.getAttribute("classid") === t)
    },
        qe = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
        _e = /([A-Z])/g;
    pe.extend({
            cache: {},
            noData: {
                "applet ": !0,
                "embed ": !0,
                "object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
            },
            hasData: function (e) {
                return e = e.nodeType ? pe.cache[e[pe.expando]] : e[pe.expando], !!e && !l(e)
            },
            data: function (e, t, n) {
                return c(e, t, n)
            },
            removeData: function (e, t) {
                return f(e, t)
            },
            _data: function (e, t, n) {
                return c(e, t, n, !0)
            },
            _removeData: function (e, t) {
                return f(e, t, !0)
            }
        }), pe.fn.extend({
            data: function (e, t) {
                var n, r, i, o = this[0],
                    a = o && o.attributes;
                if (void 0 === e) {
                    if (this.length && (i = pe.data(o), 1 === o.nodeType && !pe._data(o, "parsedAttrs"))) {
                        for (n = a.length; n--;) a[n] && (r = a[n].name, 0 === r.indexOf("data-") && (r = pe.camelCase(r.slice(5)), u(o, r, i[r])));
                        pe._data(o, "parsedAttrs", !0)
                    }
                    return i
        cache: {},
        noData: {
            "applet ": !0,
            "embed ": !0,
            "object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
        },
        hasData: function (e) {
            return e = e.nodeType ? pe.cache[e[pe.expando]] : e[pe.expando], !!e && !l(e)
        },
        data: function (e, t, n) {
            return c(e, t, n)
        },
        removeData: function (e, t) {
            return f(e, t)
        },
        _data: function (e, t, n) {
            return c(e, t, n, !0)
        },
        _removeData: function (e, t) {
            return f(e, t, !0)
        }
    }), pe.fn.extend({
        data: function (e, t) {
            var n, r, i, o = this[0],
                a = o && o.attributes;
            if (void 0 === e) {
                if (this.length && (i = pe.data(o), 1 === o.nodeType && !pe._data(o, "parsedAttrs"))) {
                    for (n = a.length; n--;) a[n] && (r = a[n].name, 0 === r.indexOf("data-") && (r = pe.camelCase(r.slice(5)), u(o, r, i[r])));
                    pe._data(o, "parsedAttrs", !0)
                }
                return "object" == typeof e ? this.each(function () {
                    pe.data(this, e)
                }) : arguments.length > 1 ? this.each(function () {
                    pe.data(this, e, t)
                }) : o ? u(o, e, pe.data(o, e)) : void 0
            },
            removeData: function (e) {
                return this.each(function () {
                    pe.removeData(this, e)
                })
                return i
            }
        }), pe.extend({
            queue: function (e, t, n) {
                var r;
                if (e) return t = (t || "fx") + "queue", r = pe._data(e, t), n && (!r || pe.isArray(n) ? r = pe._data(e, t, pe.makeArray(n)) : r.push(n)), r || []
            },
            dequeue: function (e, t) {
                t = t || "fx";
                var n = pe.queue(e, t),
                    r = n.length,
                    i = n.shift(),
                    o = pe._queueHooks(e, t),
                    a = function () {
                        pe.dequeue(e, t)
                    };
                "inprogress" === i && (i = n.shift(), r--), i && ("fx" === t && n.unshift("inprogress"), delete o.stop, i.call(e, a, o)), !r && o && o.empty.fire()
            },
            _queueHooks: function (e, t) {
                var n = t + "queueHooks";
                return pe._data(e, n) || pe._data(e, n, {
                    empty: pe.Callbacks("once memory").add(function () {
                        pe._removeData(e, t + "queue"), pe._removeData(e, n)
                    })
            return "object" == typeof e ? this.each(function () {
                pe.data(this, e)
            }) : arguments.length > 1 ? this.each(function () {
                pe.data(this, e, t)
            }) : o ? u(o, e, pe.data(o, e)) : void 0
        },
        removeData: function (e) {
            return this.each(function () {
                pe.removeData(this, e)
            })
        }
    }), pe.extend({
        queue: function (e, t, n) {
            var r;
            if (e) return t = (t || "fx") + "queue", r = pe._data(e, t), n && (!r || pe.isArray(n) ? r = pe._data(e, t, pe.makeArray(n)) : r.push(n)), r || []
        },
        dequeue: function (e, t) {
            t = t || "fx";
            var n = pe.queue(e, t),
                r = n.length,
                i = n.shift(),
                o = pe._queueHooks(e, t),
                a = function () {
                    pe.dequeue(e, t)
                };
            "inprogress" === i && (i = n.shift(), r--), i && ("fx" === t && n.unshift("inprogress"), delete o.stop, i.call(e, a, o)), !r && o && o.empty.fire()
        },
        _queueHooks: function (e, t) {
            var n = t + "queueHooks";
            return pe._data(e, n) || pe._data(e, n, {
                empty: pe.Callbacks("once memory").add(function () {
                    pe._removeData(e, t + "queue"), pe._removeData(e, n)
                })
            }
        }), pe.fn.extend({
            queue: function (e, t) {
                var n = 2;
                return "string" != typeof e && (t = e, e = "fx", n--), arguments.length < n ? pe.queue(this[0], e) : void 0 === t ? this : this.each(function () {
                    var n = pe.queue(this, e, t);
                    pe._queueHooks(this, e), "fx" === e && "inprogress" !== n[0] && pe.dequeue(this, e)
                })
            },
            dequeue: function (e) {
                return this.each(function () {
                    pe.dequeue(this, e)
                })
            },
            clearQueue: function (e) {
                return this.queue(e || "fx", [])
            },
            promise: function (e, t) {
                var n, r = 1,
                    i = pe.Deferred(),
                    o = this,
                    a = this.length,
                    s = function () {
                        --r || i.resolveWith(o, [o])
                    };
                for ("string" != typeof e && (t = e, e = void 0), e = e || "fx"; a--;) n = pe._data(o[a], e + "queueHooks"), n && n.empty && (r++, n.empty.add(s));
                return s(), i.promise(t)
            }
        }),
            })
        }
    }), pe.fn.extend({
        queue: function (e, t) {
            var n = 2;
            return "string" != typeof e && (t = e, e = "fx", n--), arguments.length < n ? pe.queue(this[0], e) : void 0 === t ? this : this.each(function () {
                var n = pe.queue(this, e, t);
                pe._queueHooks(this, e), "fx" === e && "inprogress" !== n[0] && pe.dequeue(this, e)
            })
        },
        dequeue: function (e) {
            return this.each(function () {
                pe.dequeue(this, e)
            })
        },
        clearQueue: function (e) {
            return this.queue(e || "fx", [])
        },
        promise: function (e, t) {
            var n, r = 1,
                i = pe.Deferred(),
                o = this,
                a = this.length,
                s = function () {
                    --r || i.resolveWith(o, [o])
                };
            for ("string" != typeof e && (t = e, e = void 0), e = e || "fx"; a--;) n = pe._data(o[a], e + "queueHooks"), n && n.empty && (r++, n.empty.add(s));
            return s(), i.promise(t)
        }
    }),
        function () {
            var e;
            fe.shrinkWrapBlocks = function () {
@@ -3196,8 +3196,8 @@
                i = !0;
                for (s in n) Pe(e, t, s, n[s], !0, o, a)
            } else if (void 0 !== r && (i = !0, pe.isFunction(r) || (a = !0), l && (a ? (t.call(e, r), t = null) : (l = t, t = function (e, t, n) {
                    return l.call(pe(e), n)
                })), t))
                return l.call(pe(e), n)
            })), t))
                for (; s < u; s++) t(e[s], n, a ? r : r.call(e[s], s, t(e[s], n)));
            return i ? e : l ? t.call(e) : u ? t(e[0], n) : o
        },
@@ -3229,10 +3229,10 @@
    ! function () {
        var t, n, r = re.createElement("div");
        for (t in {
                submit: !0,
                change: !0,
                focusin: !0
            }) n = "on" + t, (fe[t] = n in e) || (r.setAttribute(n, "t"), fe[t] = r.attributes[n].expando === !1);
            submit: !0,
            change: !0,
            focusin: !0
        }) n = "on" + t, (fe[t] = n in e) || (r.setAttribute(n, "t"), fe[t] = r.attributes[n].expando === !1);
        r = null
    }();
    var Ye = /^(?:input|select|textarea)$/i,
@@ -3246,8 +3246,8 @@
            var o, a, s, u, l, c, f, d, p, h, g, m = pe._data(e);
            if (m) {
                for (n.handler && (u = n, n = u.handler, i = u.selector), n.guid || (n.guid = pe.guid++), (a = m.events) || (a = m.events = {}), (c = m.handle) || (c = m.handle = function (e) {
                        return "undefined" == typeof pe || e && pe.event.triggered === e.type ? void 0 : pe.event.dispatch.apply(c.elem, arguments)
                    }, c.elem = e), t = (t || "").match(De) || [""], s = t.length; s--;) o = Qe.exec(t[s]) || [], p = g = o[1], h = (o[2] || "").split(".").sort(), p && (l = pe.event.special[p] || {}, p = (i ? l.delegateType : l.bindType) || p, l = pe.event.special[p] || {}, f = pe.extend({
                    return "undefined" == typeof pe || e && pe.event.triggered === e.type ? void 0 : pe.event.dispatch.apply(c.elem, arguments)
                }, c.elem = e), t = (t || "").match(De) || [""], s = t.length; s--;) o = Qe.exec(t[s]) || [], p = g = o[1], h = (o[2] || "").split(".").sort(), p && (l = pe.event.special[p] || {}, p = (i ? l.delegateType : l.bindType) || p, l = pe.event.special[p] || {}, f = pe.extend({
                    type: p,
                    origType: g,
                    data: r,
@@ -3287,7 +3287,7 @@
                    c = r[a], c && (r[a] = null), pe.event.triggered = p;
                    try {
                        r[p]()
                    } catch (g) {}
                    } catch (g) { }
                    pe.event.triggered = void 0, c && (r[a] = c)
                }
                return t.result
@@ -3320,9 +3320,9 @@
                            handlers: r
                        })
                    } return s < t.length && a.push({
                elem: this,
                handlers: t.slice(s)
            }), a
                        elem: this,
                        handlers: t.slice(s)
                    }), a
        },
        fix: function (e) {
            if (e[pe.expando]) return e;
@@ -3356,7 +3356,7 @@
                trigger: function () {
                    if (this !== b() && this.focus) try {
                        return this.focus(), !1
                    } catch (e) {}
                    } catch (e) { }
                },
                delegateType: "focusin"
            },
@@ -3393,7 +3393,7 @@
        var r = "on" + t;
        e.detachEvent && ("undefined" == typeof e[r] && (e[r] = null), e.detachEvent(r, n))
    }, pe.Event = function (e, t) {
        return this instanceof pe.Event ? (e && e.type ? (this.originalEvent = e, this.type = e.type, this.isDefaultPrevented = e.defaultPrevented || void 0 === e.defaultPrevented && e.returnValue === !1 ? v : x) : this.type = e, t && pe.extend(this, t), this.timeStamp = e && e.timeStamp || pe.now(), void(this[pe.expando] = !0)) : new pe.Event(e, t)
        return this instanceof pe.Event ? (e && e.type ? (this.originalEvent = e, this.type = e.type, this.isDefaultPrevented = e.defaultPrevented || void 0 === e.defaultPrevented && e.returnValue === !1 ? v : x) : this.type = e, t && pe.extend(this, t), this.timeStamp = e && e.timeStamp || pe.now(), void (this[pe.expando] = !0)) : new pe.Event(e, t)
    }, pe.Event.prototype = {
        constructor: pe.Event,
        isDefaultPrevented: x,
@@ -3603,7 +3603,7 @@
                    try {
                        for (; n < r; n++) t = this[n] || {}, 1 === t.nodeType && (pe.cleanData(h(t, !1)), t.innerHTML = e);
                        t = 0
                    } catch (i) {}
                    } catch (i) { }
                }
                t && this.empty().append(e)
            }, null, e, arguments.length)
@@ -3628,9 +3628,9 @@
        }
    });
    var ut, lt = {
            HTML: "block",
            BODY: "block"
        },
        HTML: "block",
        BODY: "block"
    },
        ct = /^margin/,
        ft = new RegExp("^(" + Fe + ")(?!px)[a-z%]+$", "i"),
        dt = function (e, t, n, r) {
@@ -3737,7 +3737,7 @@
                if (t = pe.cssProps[s] || (pe.cssProps[s] = H(s) || s), a = pe.cssHooks[t] || pe.cssHooks[s], void 0 === n) return a && "get" in a && void 0 !== (i = a.get(e, !1, r)) ? i : u[t];
                if (o = typeof n, "string" === o && (i = Me.exec(n)) && i[1] && (n = d(e, t, i), o = "number"), null != n && n === n && ("number" === o && (n += i && i[3] || (pe.cssNumber[s] ? "" : "px")), fe.clearCloneStyle || "" !== n || 0 !== t.indexOf("background") || (u[t] = "inherit"), !(a && "set" in a && void 0 === (n = a.set(e, n, r))))) try {
                    u[t] = n
                } catch (l) {}
                } catch (l) { }
            }
        },
        css: function (e, t, n, r) {
@@ -3850,118 +3850,118 @@
    var Nt, kt, St = /^(?:toggle|show|hide)$/,
        At = /queueHooks$/;
    pe.Animation = pe.extend($, {
            tweeners: {
                "*": [function (e, t) {
                    var n = this.createTween(e, t);
                    return d(n.elem, e, Me.exec(t), n), n
                }]
            },
            tweener: function (e, t) {
                pe.isFunction(e) ? (t = e, e = ["*"]) : e = e.match(De);
                for (var n, r = 0, i = e.length; r < i; r++) n = e[r], $.tweeners[n] = $.tweeners[n] || [], $.tweeners[n].unshift(t)
            },
            prefilters: [W],
            prefilter: function (e, t) {
                t ? $.prefilters.unshift(e) : $.prefilters.push(e)
            }
        }), pe.speed = function (e, t, n) {
            var r = e && "object" == typeof e ? pe.extend({}, e) : {
                complete: n || !n && t || pe.isFunction(e) && e,
                duration: e,
                easing: n && t || t && !pe.isFunction(t) && t
            };
            return r.duration = pe.fx.off ? 0 : "number" == typeof r.duration ? r.duration : r.duration in pe.fx.speeds ? pe.fx.speeds[r.duration] : pe.fx.speeds._default, null != r.queue && r.queue !== !0 || (r.queue = "fx"), r.old = r.complete, r.complete = function () {
                pe.isFunction(r.old) && r.old.call(this), r.queue && pe.dequeue(this, r.queue)
            }, r
        }, pe.fn.extend({
            fadeTo: function (e, t, n, r) {
                return this.filter(Re).css("opacity", 0).show().end().animate({
                    opacity: t
                }, e, n, r)
            },
            animate: function (e, t, n, r) {
                var i = pe.isEmptyObject(e),
                    o = pe.speed(t, n, r),
                    a = function () {
                        var t = $(this, pe.extend({}, e), o);
                        (i || pe._data(this, "finish")) && t.stop(!0)
                    };
                return a.finish = a, i || o.queue === !1 ? this.each(a) : this.queue(o.queue, a)
            },
            stop: function (e, t, n) {
                var r = function (e) {
                    var t = e.stop;
                    delete e.stop, t(n)
        tweeners: {
            "*": [function (e, t) {
                var n = this.createTween(e, t);
                return d(n.elem, e, Me.exec(t), n), n
            }]
        },
        tweener: function (e, t) {
            pe.isFunction(e) ? (t = e, e = ["*"]) : e = e.match(De);
            for (var n, r = 0, i = e.length; r < i; r++) n = e[r], $.tweeners[n] = $.tweeners[n] || [], $.tweeners[n].unshift(t)
        },
        prefilters: [W],
        prefilter: function (e, t) {
            t ? $.prefilters.unshift(e) : $.prefilters.push(e)
        }
    }), pe.speed = function (e, t, n) {
        var r = e && "object" == typeof e ? pe.extend({}, e) : {
            complete: n || !n && t || pe.isFunction(e) && e,
            duration: e,
            easing: n && t || t && !pe.isFunction(t) && t
        };
        return r.duration = pe.fx.off ? 0 : "number" == typeof r.duration ? r.duration : r.duration in pe.fx.speeds ? pe.fx.speeds[r.duration] : pe.fx.speeds._default, null != r.queue && r.queue !== !0 || (r.queue = "fx"), r.old = r.complete, r.complete = function () {
            pe.isFunction(r.old) && r.old.call(this), r.queue && pe.dequeue(this, r.queue)
        }, r
    }, pe.fn.extend({
        fadeTo: function (e, t, n, r) {
            return this.filter(Re).css("opacity", 0).show().end().animate({
                opacity: t
            }, e, n, r)
        },
        animate: function (e, t, n, r) {
            var i = pe.isEmptyObject(e),
                o = pe.speed(t, n, r),
                a = function () {
                    var t = $(this, pe.extend({}, e), o);
                    (i || pe._data(this, "finish")) && t.stop(!0)
                };
                return "string" != typeof e && (n = t, t = e, e = void 0), t && e !== !1 && this.queue(e || "fx", []), this.each(function () {
                    var t = !0,
                        i = null != e && e + "queueHooks",
                        o = pe.timers,
                        a = pe._data(this);
                    if (i) a[i] && a[i].stop && r(a[i]);
                    else
                        for (i in a) a[i] && a[i].stop && At.test(i) && r(a[i]);
                    for (i = o.length; i--;) o[i].elem !== this || null != e && o[i].queue !== e || (o[i].anim.stop(n), t = !1, o.splice(i, 1));
                    !t && n || pe.dequeue(this, e)
                })
            },
            finish: function (e) {
                return e !== !1 && (e = e || "fx"), this.each(function () {
                    var t, n = pe._data(this),
                        r = n[e + "queue"],
                        i = n[e + "queueHooks"],
                        o = pe.timers,
                        a = r ? r.length : 0;
                    for (n.finish = !0, pe.queue(this, e, []), i && i.stop && i.stop.call(this, !0), t = o.length; t--;) o[t].elem === this && o[t].queue === e && (o[t].anim.stop(!0), o.splice(t, 1));
                    for (t = 0; t < a; t++) r[t] && r[t].finish && r[t].finish.call(this);
                    delete n.finish
                })
            }
        }), pe.each(["toggle", "show", "hide"], function (e, t) {
            var n = pe.fn[t];
            pe.fn[t] = function (e, r, i) {
                return null == e || "boolean" == typeof e ? n.apply(this, arguments) : this.animate(P(t, !0), e, r, i)
            }
        }), pe.each({
            slideDown: P("show"),
            slideUp: P("hide"),
            slideToggle: P("toggle"),
            fadeIn: {
                opacity: "show"
            },
            fadeOut: {
                opacity: "hide"
            },
            fadeToggle: {
                opacity: "toggle"
            }
        }, function (e, t) {
            pe.fn[e] = function (e, n, r) {
                return this.animate(t, e, n, r)
            }
        }), pe.timers = [], pe.fx.tick = function () {
            var e, t = pe.timers,
                n = 0;
            for (Nt = pe.now(); n < t.length; n++) e = t[n], e() || t[n] !== e || t.splice(n--, 1);
            t.length || pe.fx.stop(), Nt = void 0
        }, pe.fx.timer = function (e) {
            pe.timers.push(e), e() ? pe.fx.start() : pe.timers.pop()
        }, pe.fx.interval = 13, pe.fx.start = function () {
            kt || (kt = e.setInterval(pe.fx.tick, pe.fx.interval))
        }, pe.fx.stop = function () {
            e.clearInterval(kt), kt = null
        }, pe.fx.speeds = {
            slow: 600,
            fast: 200,
            _default: 400
        }, pe.fn.delay = function (t, n) {
            return t = pe.fx ? pe.fx.speeds[t] || t : t, n = n || "fx", this.queue(n, function (n, r) {
                var i = e.setTimeout(n, t);
                r.stop = function () {
                    e.clearTimeout(i)
                }
            return a.finish = a, i || o.queue === !1 ? this.each(a) : this.queue(o.queue, a)
        },
        stop: function (e, t, n) {
            var r = function (e) {
                var t = e.stop;
                delete e.stop, t(n)
            };
            return "string" != typeof e && (n = t, t = e, e = void 0), t && e !== !1 && this.queue(e || "fx", []), this.each(function () {
                var t = !0,
                    i = null != e && e + "queueHooks",
                    o = pe.timers,
                    a = pe._data(this);
                if (i) a[i] && a[i].stop && r(a[i]);
                else
                    for (i in a) a[i] && a[i].stop && At.test(i) && r(a[i]);
                for (i = o.length; i--;) o[i].elem !== this || null != e && o[i].queue !== e || (o[i].anim.stop(n), t = !1, o.splice(i, 1));
                !t && n || pe.dequeue(this, e)
            })
        },
        finish: function (e) {
            return e !== !1 && (e = e || "fx"), this.each(function () {
                var t, n = pe._data(this),
                    r = n[e + "queue"],
                    i = n[e + "queueHooks"],
                    o = pe.timers,
                    a = r ? r.length : 0;
                for (n.finish = !0, pe.queue(this, e, []), i && i.stop && i.stop.call(this, !0), t = o.length; t--;) o[t].elem === this && o[t].queue === e && (o[t].anim.stop(!0), o.splice(t, 1));
                for (t = 0; t < a; t++) r[t] && r[t].finish && r[t].finish.call(this);
                delete n.finish
            })
        }
    }), pe.each(["toggle", "show", "hide"], function (e, t) {
        var n = pe.fn[t];
        pe.fn[t] = function (e, r, i) {
            return null == e || "boolean" == typeof e ? n.apply(this, arguments) : this.animate(P(t, !0), e, r, i)
        }
    }), pe.each({
        slideDown: P("show"),
        slideUp: P("hide"),
        slideToggle: P("toggle"),
        fadeIn: {
            opacity: "show"
        },
        fadeOut: {
            opacity: "hide"
        },
        fadeToggle: {
            opacity: "toggle"
        }
    }, function (e, t) {
        pe.fn[e] = function (e, n, r) {
            return this.animate(t, e, n, r)
        }
    }), pe.timers = [], pe.fx.tick = function () {
        var e, t = pe.timers,
            n = 0;
        for (Nt = pe.now(); n < t.length; n++) e = t[n], e() || t[n] !== e || t.splice(n--, 1);
        t.length || pe.fx.stop(), Nt = void 0
    }, pe.fx.timer = function (e) {
        pe.timers.push(e), e() ? pe.fx.start() : pe.timers.pop()
    }, pe.fx.interval = 13, pe.fx.start = function () {
        kt || (kt = e.setInterval(pe.fx.tick, pe.fx.interval))
    }, pe.fx.stop = function () {
        e.clearInterval(kt), kt = null
    }, pe.fx.speeds = {
        slow: 600,
        fast: 200,
        _default: 400
    }, pe.fn.delay = function (t, n) {
        return t = pe.fx ? pe.fx.speeds[t] || t : t, n = n || "fx", this.queue(n, function (n, r) {
            var i = e.setTimeout(n, t);
            r.stop = function () {
                e.clearTimeout(i)
            }
        })
    },
        function () {
            var e, t = re.createElement("input"),
                n = re.createElement("div"),
@@ -4067,7 +4067,7 @@
        }
    }), Mt && Ft || (pe.attrHooks.value = {
        set: function (e, t, n) {
            return pe.nodeName(e, "input") ? void(e.defaultValue = t) : Lt && Lt.set(e, t, n)
            return pe.nodeName(e, "input") ? void (e.defaultValue = t) : Lt && Lt.set(e, t, n)
        }
    }), Ft || (Lt = {
        set: function (e, t, n) {
@@ -4111,7 +4111,7 @@
            return e = pe.propFix[e] || e, this.each(function () {
                try {
                    this[e] = void 0, delete this[e]
                } catch (t) {}
                } catch (t) { }
            })
        }
    }), pe.extend({
@@ -4337,10 +4337,10 @@
            if (d.beforeSend && (d.beforeSend.call(p, T, d) === !1 || 2 === b)) return T.abort();
            w = "abort";
            for (o in {
                    success: 1,
                    error: 1,
                    complete: 1
                }) T[o](d[o]);
                success: 1,
                error: 1,
                complete: 1
            }) T[o](d[o]);
            if (c = U(Qt, d, n, T)) {
                if (T.readyState = 1, l && h.trigger("ajaxSend", [T, d]), 2 === b) return T;
                d.async && d.timeout > 0 && (u = e.setTimeout(function () {
@@ -4590,9 +4590,9 @@
                pe.offset.setOffset(this, e, t)
            });
            var t, n, r = {
                    top: 0,
                    left: 0
                },
                top: 0,
                left: 0
            },
                i = this[0],
                o = i && i.ownerDocument;
            if (o) return t = o.documentElement, pe.contains(t, i) ? ("undefined" != typeof i.getBoundingClientRect && (r = i.getBoundingClientRect()), n = te(o), {
@@ -4603,9 +4603,9 @@
        position: function () {
            if (this[0]) {
                var e, t, n = {
                        top: 0,
                        left: 0
                    },
                    top: 0,
                    left: 0
                },
                    r = this[0];
                return "fixed" === pe.css(r, "position") ? t = r.getBoundingClientRect() : (e = this.offsetParent(), t = this.offset(), pe.nodeName(e[0], "html") || (n = e.offset()), n.top += pe.css(e[0], "borderTopWidth", !0), n.left += pe.css(e[0], "borderLeftWidth", !0)), {
                    top: t.top - n.top - pe.css(r, "marginTop", !0),
@@ -4627,7 +4627,7 @@
        pe.fn[e] = function (r) {
            return Pe(this, function (e, r, i) {
                var o = te(e);
                return void 0 === i ? o ? t in o ? o[t] : o.document.documentElement[r] : e[r] : void(o ? o.scrollTo(n ? pe(o).scrollLeft() : i, n ? i : pe(o).scrollTop()) : e[r] = i)
                return void 0 === i ? o ? t in o ? o[t] : o.document.documentElement[r] : e[r] : void (o ? o.scrollTo(n ? pe(o).scrollLeft() : i, n ? i : pe(o).scrollTop()) : e[r] = i)
            }, e, r, arguments.length, null)
        }
    }), pe.each(["top", "left"], function (e, t) {
@@ -4677,12 +4677,12 @@
        o = {
            getPath: function () {
                var t = document.currentScript ? document.currentScript.src : function () {
                        for (var e, t = document.scripts, i = t.length - 1, n = i; n > 0; n--)
                            if ("interactive" === t[n].readyState) {
                                e = t[n].src;
                                break
                            } return e || t[i].src
                    }(),
                    for (var e, t = document.scripts, i = t.length - 1, n = i; n > 0; n--)
                        if ("interactive" === t[n].readyState) {
                            e = t[n].src;
                            break
                        } return e || t[i].src
                }(),
                    i = e.LAYUI_GLOBAL || {};
                return i.layer_dir || t.substring(0, t.lastIndexOf("/") + 1)
            }(),
@@ -4708,7 +4708,7 @@
                    s.rel = "stylesheet", s.href = r.path + t, s.id = f, document.getElementById(f) || a.appendChild(s), "function" == typeof i && ! function d(t) {
                        var n = 100,
                            a = document.getElementById(f);
                        return ++u > 1e4 / n ? e.console && console.error(l + ".css: Invalid") : void(1989 === parseInt(o.getStyle(a, "width")) ? (t === c && a.removeAttribute("lay-status"), a.getAttribute("lay-status") === c ? setTimeout(d, n) : i()) : (a.setAttribute("lay-status", c), setTimeout(function () {
                        return ++u > 1e4 / n ? e.console && console.error(l + ".css: Invalid") : void (1989 === parseInt(o.getStyle(a, "width")) ? (t === c && a.removeAttribute("lay-status"), a.getAttribute("lay-status") === c ? setTimeout(d, n) : i()) : (a.setAttribute("lay-status", c), setTimeout(function () {
                            d(c)
                        }, n)))
                    }()
@@ -4862,27 +4862,27 @@
                    f || (t.content = [t.content, "body"]), t.follow = t.content[1], t.content = t.content[0] + '<i class="layui-layer-TipsG"></i>', delete t.title, t.tips = "object" == typeof t.tips ? t.tips : [t.tips, !0], t.tipsMore || r.closeAll("tips")
            }
            if (e.vessel(f, function (n, r, u) {
                    c.append(n[0]), f ? function () {
                        2 == t.type || 4 == t.type ? function () {
                            i("body").append(n[1])
                        }() : function () {
                            s.parents("." + l[0])[0] || (s.data("display", s.css("display")).show().addClass("layui-layer-wrap").wrap(n[1]), i("#" + l[0] + a).find("." + l[5]).before(r))
                        }()
                    }() : c.append(n[1]), i("#" + l.MOVE)[0] || c.append(o.moveElem = u), e.layero = i("#" + l[0] + a), e.shadeo = i("#" + l.SHADE + a), t.scrollbar || l.html.css("overflow", "hidden").attr("layer-full", a)
                }).auto(a), e.shadeo.css({
                    "background-color": t.shade[1] || "#000",
                    opacity: t.shade[0] || t.shade
                }), 2 == t.type && 6 == r.ie && e.layero.find("iframe").attr("src", s[0]), 4 == t.type ? e.tips() : function () {
                    e.offset(), parseInt(o.getStyle(document.getElementById(l.MOVE), "z-index")) || function () {
                        e.layero.css("visibility", "hidden"), r.ready(function () {
                            e.offset(), e.layero.css("visibility", "visible")
                        })
                c.append(n[0]), f ? function () {
                    2 == t.type || 4 == t.type ? function () {
                        i("body").append(n[1])
                    }() : function () {
                        s.parents("." + l[0])[0] || (s.data("display", s.css("display")).show().addClass("layui-layer-wrap").wrap(n[1]), i("#" + l[0] + a).find("." + l[5]).before(r))
                    }()
                }(), t.fixed && n.on("resize", function () {
                    e.offset(), (/^\d+%$/.test(t.area[0]) || /^\d+%$/.test(t.area[1])) && e.auto(a), 4 == t.type && e.tips()
                }), t.time <= 0 || setTimeout(function () {
                    r.close(e.index)
                }, t.time), e.move().callback(), l.anim[t.anim]) {
                }() : c.append(n[1]), i("#" + l.MOVE)[0] || c.append(o.moveElem = u), e.layero = i("#" + l[0] + a), e.shadeo = i("#" + l.SHADE + a), t.scrollbar || l.html.css("overflow", "hidden").attr("layer-full", a)
            }).auto(a), e.shadeo.css({
                "background-color": t.shade[1] || "#000",
                opacity: t.shade[0] || t.shade
            }), 2 == t.type && 6 == r.ie && e.layero.find("iframe").attr("src", s[0]), 4 == t.type ? e.tips() : function () {
                e.offset(), parseInt(o.getStyle(document.getElementById(l.MOVE), "z-index")) || function () {
                    e.layero.css("visibility", "hidden"), r.ready(function () {
                        e.offset(), e.layero.css("visibility", "visible")
                    })
                }()
            }(), t.fixed && n.on("resize", function () {
                e.offset(), (/^\d+%$/.test(t.area[0]) || /^\d+%$/.test(t.area[1])) && e.auto(a), 4 == t.type && e.tips()
            }), t.time <= 0 || setTimeout(function () {
                r.close(e.index)
            }, t.time), e.move().callback(), l.anim[t.anim]) {
                var u = "layer-anim " + l.anim[t.anim];
                e.layero.addClass(u).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend", function () {
                    i(this).removeClass(u)
@@ -4927,11 +4927,11 @@
            r = i(t.follow);
        r[0] || (r = i("body"));
        var s = {
                width: r.outerWidth(),
                height: r.outerHeight(),
                top: r.offset().top,
                left: r.offset().left
            },
            width: r.outerWidth(),
            height: r.outerHeight(),
            top: r.offset().top,
            left: r.offset().left
        },
            f = a.find(".layui-layer-TipsG"),
            c = t.tips[0];
        t.tips[1] || f.remove(), s.autoLeft = function () {
@@ -5132,7 +5132,7 @@
                        if (a === o.type[2]) try {
                            var c = i("#" + l[4] + e)[0];
                            c.contentWindow.document.write(""), c.contentWindow.close(), n.find("." + l[5])[0].removeChild(c)
                        } catch (u) {}
                        } catch (u) { }
                        n[0].innerHTML = "", n.remove()
                    }
                    "function" == typeof o.end[e] && o.end[e](), delete o.end[e], "function" == typeof t && t()
@@ -5161,8 +5161,8 @@
            a = 'style="width: ' + o[0] + "; height: " + o[1] + ';"', delete e.area
        }
        var s, l = 2 == e.formType ? '<textarea class="layui-layer-input"' + a + "></textarea>" : function () {
                return '<input type="' + (1 == e.formType ? "password" : "text") + '" class="layui-layer-input">'
            }(),
            return '<input type="' + (1 == e.formType ? "password" : "text") + '" class="layui-layer-input">'
        }(),
            f = e.success;
        return delete e.success, r.open(i.extend({
            type: 1,
@@ -5222,7 +5222,7 @@
            var n = new Image;
            return n.src = e, n.complete ? t(n) : (n.onload = function () {
                n.onload = null, t(n)
            }, void(n.onerror = function (e) {
            }, void (n.onerror = function (e) {
                n.onerror = null, i(e)
            }))
        }
@@ -5251,18 +5251,18 @@
                    };
                if (h(), 0 === u.length) return;
                if (n || p.on("click", t.img, function () {
                        h();
                        var e = i(this),
                            n = e.attr("layer-index");
                        r.photos(i.extend(t, {
                            photos: {
                                start: n,
                                data: u,
                                tab: t.tab
                            },
                            full: t.full
                        }), !0)
                    }), !n) return
                    h();
                    var e = i(this),
                        n = e.attr("layer-index");
                    r.photos(i.extend(t, {
                        photos: {
                            start: n,
                            data: u,
                            tab: t.tab
                        },
                        full: t.full
                    }), !0)
                }), !n) return
            }
            s.imgprev = function (e) {
                s.imgIndex--, s.imgIndex < 1 && (s.imgIndex = u.length), s.tabimg(e)
@@ -5419,10 +5419,10 @@
            },
            toVisibleArea: function (e) {
                if (e = t.extend({
                        margin: 160,
                        duration: 200,
                        type: "y"
                    }, e), e.scrollElem[0] && e.thisElem[0]) {
                    margin: 160,
                    duration: 200,
                    type: "y"
                }, e), e.scrollElem[0] && e.thisElem[0]) {
                    var i = e.scrollElem,
                        n = e.thisElem,
                        r = "y" === e.type,
@@ -5548,12 +5548,12 @@
                        r = (s.children(".layui-tab-content").children(".layui-tab-item"), 'lay-stope="tabmore"'),
                        c = i('<span class="layui-unselect layui-tab-bar" ' + r + "><i " + r + ' class="layui-icon">&#xe61a;</i></span>');
                    if (n === window && 8 != a.ie && b.hideTabMore(!0), s.attr("lay-allowClose") && o.find("li").each(function () {
                            var t = i(this);
                            if (!t.find("." + l)[0]) {
                                var a = i('<i class="layui-icon layui-icon-close layui-unselect ' + l + '"></i>');
                                a.on("click", b.tabDelete), t.append(a)
                            }
                        }), "string" != typeof s.attr("lay-unauto"))
                        var t = i(this);
                        if (!t.find("." + l)[0]) {
                            var a = i('<i class="layui-icon layui-icon-close layui-unselect ' + l + '"></i>');
                            a.on("click", b.tabDelete), t.append(a)
                        }
                    }), "string" != typeof s.attr("lay-unauto"))
                        if (o.prop("scrollWidth") > o.outerWidth() + 1) {
                            if (o.find("." + e)[0]) return;
                            o.append(c), s.attr("overflow", ""), c.on("click", function (i) {
@@ -5595,8 +5595,8 @@
        };
    s.prototype.init = function (t, e) {
        var l = function () {
                return e ? '[lay-filter="' + e + '"]' : ""
            }(),
            return e ? '[lay-filter="' + e + '"]' : ""
        }(),
            s = {
                tab: function () {
                    b.tabAuto.call({})
@@ -5918,24 +5918,24 @@
                    break;
                default:
                    if (layui.each(v, function (e, t) {
                            RegExp("\\w\\.(" + (h || "jpg|png|gif|bmp|jpeg$") + ")", "i").test(escape(t)) || (n = !0)
                        }), n) return a.msg("\u9009\u62e9\u7684\u56fe\u7247\u4e2d\u5305\u542b\u4e0d\u652f\u6301\u7684\u683c\u5f0f"), r.value = ""
                        RegExp("\\w\\.(" + (h || "jpg|png|gif|bmp|jpeg$") + ")", "i").test(escape(t)) || (n = !0)
                    }), n) return a.msg("\u9009\u62e9\u7684\u56fe\u7247\u4e2d\u5305\u542b\u4e0d\u652f\u6301\u7684\u683c\u5f0f"), r.value = ""
            }
            if (a.fileLength = function () {
                    var t = 0,
                        i = e || a.files || a.chooseFiles || r.files;
                    return layui.each(i, function () {
                        t++
                    }), t
                }(), l.number && a.fileLength > l.number) return a.msg("\u540c\u65f6\u6700\u591a\u53ea\u80fd\u4e0a\u4f20\u7684\u6570\u91cf\u4e3a\uff1a" + l.number);
                var t = 0,
                    i = e || a.files || a.chooseFiles || r.files;
                return layui.each(i, function () {
                    t++
                }), t
            }(), l.number && a.fileLength > l.number) return a.msg("\u540c\u65f6\u6700\u591a\u53ea\u80fd\u4e0a\u4f20\u7684\u6570\u91cf\u4e3a\uff1a" + l.number);
            if (l.size > 0 && !(o.ie && o.ie < 10)) {
                var F;
                if (layui.each(a.chooseFiles, function (e, t) {
                        if (t.size > 1024 * l.size) {
                            var i = l.size / 1024;
                            i = i >= 1 ? i.toFixed(2) + "MB" : l.size + "KB", r.value = "", F = i
                        }
                    }), F) return a.msg("\u6587\u4ef6\u4e0d\u80fd\u8d85\u8fc7" + F)
                    if (t.size > 1024 * l.size) {
                        var i = l.size / 1024;
                        i = i >= 1 ? i.toFixed(2) + "MB" : l.size + "KB", r.value = "", F = i
                    }
                }), F) return a.msg("\u6587\u4ef6\u4e0d\u80fd\u8d85\u8fc7" + F)
            }
            y()
        }
@@ -6098,7 +6098,7 @@
                                group: "group",
                                parent: "parent",
                                "-": "-"
                            } [l.type] || "parent" : ""
                            }[l.type] || "parent" : ""
                        }();
                    if ("-" === d || l.title || l.id || r) {
                        var s = i(["<li" + function () {
@@ -6390,12 +6390,12 @@
                    n = i.clientX;
                "vertical" === l.type && (a = f() - t.parent()[0].offsetTop - h.height(), n = i.clientY);
                var r = function (i) {
                        i = i || window.event;
                        var r = a + ("vertical" === l.type ? n - i.clientY : i.clientX - n);
                        r < 0 && (r = 0), r > f() && (r = f());
                        var o = r / f() * 100 / b;
                        x(o, e), t.addClass(m), s.find("." + d).show(), i.preventDefault()
                    },
                    i = i || window.event;
                    var r = a + ("vertical" === l.type ? n - i.clientY : i.clientX - n);
                    r < 0 && (r = 0), r > f() && (r = f());
                    var o = r / f() * 100 / b;
                    x(o, e), t.addClass(m), s.find("." + d).show(), i.preventDefault()
                },
                    o = function () {
                        t.removeClass(m), s.find("." + d).hide()
                    };
@@ -6474,10 +6474,10 @@
        x = "layui-colorpicker-main-input",
        P = function (e) {
            var i = {
                    h: 0,
                    s: 0,
                    b: 0
                },
                h: 0,
                s: 0,
                b: 0
            },
                r = Math.min(e.r, e.g, e.b),
                o = Math.max(e.r, e.g, e.b),
                n = o - r;
@@ -6739,7 +6739,7 @@
                            e.elemPicker.find("." + y).css("left", s), o[0].style.background = t, c = t
                        }
                    } else a = C(t), o[0].style.background = c = "#" + w(a), e.elemColorBox.find("." + g).removeClass(u).addClass(d);
                    return "change" === l ? (e.select(a.h, a.s, a.b, l), void(r.change && r.change(c))) : (e.color = t, r.done && r.done(t), void e.removePicker())
                    return "change" === l ? (e.select(a.h, a.s, a.b, l), void (r.change && r.change(c))) : (e.color = t, r.done && r.done(t), void e.removePicker())
                }
            };
        e.elemPicker.on("click", "*[colorpicker-events]", function () {
@@ -6865,10 +6865,10 @@
                                b = this.selectedIndex;
                            if (!d) {
                                var C = function () {
                                        var e = i.offset().top + i.outerHeight() + 5 - h.scrollTop(),
                                            t = k.outerHeight();
                                        b = p[0].selectedIndex, i.addClass(a + "ed"), x.removeClass(s), y = null, x.eq(b).addClass(o).siblings().removeClass(o), e + t > h.height() && e >= t && i.addClass(a + "up"), T()
                                    },
                                    var e = i.offset().top + i.outerHeight() + 5 - h.scrollTop(),
                                        t = k.outerHeight();
                                    b = p[0].selectedIndex, i.addClass(a + "ed"), x.removeClass(s), y = null, x.eq(b).addClass(o).siblings().removeClass(o), e + t > h.height() && e >= t && i.addClass(a + "up"), T()
                                },
                                    w = function (e) {
                                        i.removeClass(a + "ed " + a + "up"), g.blur(), y = null, e || $(g.val(), function (e) {
                                            var i = p[0].selectedIndex;
@@ -6911,16 +6911,16 @@
                                    38 === t && i("prev"), 40 === t && i("next"), 13 === t && (e.preventDefault(), k.children("dd." + o).trigger("click"))
                                });
                                var $ = function (e, i, a) {
                                        var n = 0;
                                        layui.each(x, function () {
                                            var i = t(this),
                                                l = i.text(),
                                                r = l.indexOf(e) === -1;
                                            ("" === e || "blur" === a ? e !== l : r) && n++, "keyup" === a && i[r ? "addClass" : "removeClass"](s)
                                        });
                                        var l = n === x.length;
                                        return i(l), l
                                    },
                                    var n = 0;
                                    layui.each(x, function () {
                                        var i = t(this),
                                            l = i.text(),
                                            r = l.indexOf(e) === -1;
                                        ("" === e || "blur" === a ? e !== l : r) && n++, "keyup" === a && i[r ? "addClass" : "removeClass"](s)
                                    });
                                    var l = n === x.length;
                                    return i(l), l
                                },
                                    q = function (e) {
                                        var t = this.value,
                                            i = e.keyCode;
@@ -6970,9 +6970,9 @@
                },
                checkbox: function () {
                    var e = {
                            checkbox: ["layui-form-checkbox", "layui-form-checked", "checkbox"],
                            _switch: ["layui-form-switch", "layui-form-onswitch", "switch"]
                        },
                        checkbox: ["layui-form-checkbox", "layui-form-checked", "checkbox"],
                        _switch: ["layui-form-switch", "layui-form-onswitch", "switch"]
                    },
                        i = d.find("input[type=checkbox]"),
                        a = function (e, i) {
                            var a = t(this);
@@ -7047,53 +7047,53 @@
        }), n
    };
    var d = function () {
            var e = null,
                a = f.config.verify,
                o = "layui-form-danger",
                s = {},
                c = t(this),
                u = c.parents(r).eq(0),
                d = u.find("*[lay-verify]"),
                h = c.parents("form")[0],
                y = c.attr("lay-filter");
            return layui.each(d, function (l, r) {
                var s = t(this),
                    c = s.attr("lay-verify").split("|"),
                    u = s.attr("lay-verType"),
                    d = s.val();
                if (s.removeClass(o), layui.each(c, function (t, l) {
                        var c, f = "",
                            h = "function" == typeof a[l];
                        if (a[l]) {
                            var c = h ? f = a[l](d, r) : !a[l][0].test(d),
                                y = "select" === r.tagName.toLowerCase() || /^checkbox|radio$/.test(r.type);
                            if (f = f || a[l][1], "required" === l && (f = s.attr("lay-reqText") || f), c) return "tips" === u ? i.tips(f, function () {
                                return "string" != typeof s.attr("lay-ignore") && y ? s.next() : s
                            }(), {
                                tips: 1
                            }) : "alert" === u ? i.alert(f, {
                                title: "\u63d0\u793a",
                                shadeClose: !0
                            }) : /\bstring|number\b/.test(typeof f) && i.msg(f, {
                                icon: 5,
                                shift: 6
                            }), n.mobile ? v.scrollTop(function () {
                                try {
                                    return (y ? s.next() : s).offset().top - 15
                                } catch (e) {
                                    return 0
                                }
                            }()) : setTimeout(function () {
                                (y ? s.next().find("input") : r).focus()
                            }, 7), s.addClass(o), e = !0
        var e = null,
            a = f.config.verify,
            o = "layui-form-danger",
            s = {},
            c = t(this),
            u = c.parents(r).eq(0),
            d = u.find("*[lay-verify]"),
            h = c.parents("form")[0],
            y = c.attr("lay-filter");
        return layui.each(d, function (l, r) {
            var s = t(this),
                c = s.attr("lay-verify").split("|"),
                u = s.attr("lay-verType"),
                d = s.val();
            if (s.removeClass(o), layui.each(c, function (t, l) {
                var c, f = "",
                    h = "function" == typeof a[l];
                if (a[l]) {
                    var c = h ? f = a[l](d, r) : !a[l][0].test(d),
                        y = "select" === r.tagName.toLowerCase() || /^checkbox|radio$/.test(r.type);
                    if (f = f || a[l][1], "required" === l && (f = s.attr("lay-reqText") || f), c) return "tips" === u ? i.tips(f, function () {
                        return "string" != typeof s.attr("lay-ignore") && y ? s.next() : s
                    }(), {
                        tips: 1
                    }) : "alert" === u ? i.alert(f, {
                        title: "\u63d0\u793a",
                        shadeClose: !0
                    }) : /\bstring|number\b/.test(typeof f) && i.msg(f, {
                        icon: 5,
                        shift: 6
                    }), n.mobile ? v.scrollTop(function () {
                        try {
                            return (y ? s.next() : s).offset().top - 15
                        } catch (e) {
                            return 0
                        }
                    }), e) return e
            }), !e && (s = f.getValue(null, u), layui.event.call(this, l, "submit(" + y + ")", {
                elem: this,
                form: h,
                field: s
            }))
        },
                    }()) : setTimeout(function () {
                        (y ? s.next().find("input") : r).focus()
                    }, 7), s.addClass(o), e = !0
                }
            }), e) return e
        }), !e && (s = f.getValue(null, u), layui.event.call(this, l, "submit(" + y + ")", {
            elem: this,
            form: h,
            field: s
        }))
    },
        f = new u,
        v = t(document),
        h = t(window);
@@ -7207,10 +7207,10 @@
                }(), "</div>", function () {
                    if (!t.edit) return "";
                    var e = {
                            add: '<i class="layui-icon layui-icon-add-1"  data-type="add"></i>',
                            update: '<i class="layui-icon layui-icon-edit" data-type="update"></i>',
                            del: '<i class="layui-icon layui-icon-delete" data-type="del"></i>'
                        },
                        add: '<i class="layui-icon layui-icon-add-1"  data-type="add"></i>',
                        update: '<i class="layui-icon layui-icon-edit" data-type="update"></i>',
                        del: '<i class="layui-icon layui-icon-delete" data-type="del"></i>'
                    },
                        i = ['<div class="layui-btn-group layui-tree-btnGroup">'];
                    return t.edit === !0 && (t.edit = ["update", "del"]), "object" == typeof t.edit ? (layui.each(t.edit, function (a, n) {
                        i.push(e[n] || "")
@@ -7562,9 +7562,9 @@
                h = 0,
                f = !1;
            if (s.each(function () {
                    var e = a(this).data("hide");
                    (this.checked || this.disabled || e) && h++, this.checked && !e && (f = !0)
                }), d.prop("checked", f && h === s.length), t.layBtn.eq(n)[f ? "removeClass" : "addClass"](o), !e.stopNone) {
                var e = a(this).data("hide");
                (this.checked || this.disabled || e) && h++, this.checked && !e && (f = !0)
            }), d.prop("checked", f && h === s.length), t.layBtn.eq(n)[f ? "removeClass" : "addClass"](o), !e.stopNone) {
                var p = r.children("li:not(." + c + ")").length;
                t.noneView(r, p ? "" : i.text.none)
            }
@@ -7745,669 +7745,669 @@
            i.index = ++d.index, i.config = t.extend({}, i.config, d.config, e), i.render()
        };
    H.prototype.config = {
            limit: 10,
            loading: !0,
            cellMinWidth: 60,
            defaultToolbar: ["filter", "exports", "print"],
            autoSort: !0,
            text: {
                none: "\u65e0\u6570\u636e"
            }
        }, H.prototype.render = function () {
            var e = this,
                a = e.config;
            if (a.elem = t(a.elem), a.where = a.where || {}, a.id = a.id || a.elem.attr("id") || e.index, a.request = t.extend({
                    pageName: "page",
                    limitName: "limit"
                }, a.request), a.response = t.extend({
                    statusName: "code",
                    statusCode: 0,
                    msgName: "msg",
                    dataName: "data",
                    totalRowName: "totalRow",
                    countName: "count"
                }, a.response), "object" == typeof a.page && (a.limit = a.page.limit || a.limit, a.limits = a.page.limits || a.limits, e.page = a.page.curr = a.page.curr || 1, delete a.page.elem, delete a.page.jump), !a.elem[0]) return e;
            a.height && /^full-\d+$/.test(a.height) && (e.fullHeightGap = a.height.split("-")[1], a.height = F.height() - e.fullHeightGap), e.setInit();
            var l = a.elem,
                n = l.next("." + m),
                o = e.elem = t(i(j).render({
                    VIEW_CLASS: m,
                    data: a,
                    index: e.index
                }));
            if (a.index = e.index, e.key = a.id || a.index, n[0] && n.remove(), l.after(o), e.layTool = o.find(g), e.layBox = o.find(b), e.layHeader = o.find(k), e.layMain = o.find(w), e.layBody = o.find(C), e.layFixed = o.find(T), e.layFixLeft = o.find(N), e.layFixRight = o.find(L), e.layTotal = o.find(_), e.layPage = o.find(S), e.renderToolbar(), e.fullSize(), a.cols.length > 1) {
                var r = e.layFixed.find(k).find("th");
                r.height(e.layHeader.height() - 1 - parseFloat(r.css("padding-top")) - parseFloat(r.css("padding-bottom")))
            }
            e.pullData(e.page), e.events()
        }, H.prototype.initOpts = function (e) {
            var t = this,
                i = (t.config, {
                    checkbox: 48,
                    radio: 48,
                    space: 15,
                    numbers: 40
                });
            e.checkbox && (e.type = "checkbox"), e.space && (e.type = "space"), e.type || (e.type = "normal"), "normal" !== e.type && (e.unresize = !0, e.width = e.width || i[e.type])
        }, H.prototype.setInit = function (e) {
            var t = this,
                i = t.config;
            return i.clientWidth = i.width || function () {
                var e = function (t) {
                    var a, l;
                    t = t || i.elem.parent(), a = t.width();
                    try {
                        l = "none" === t.css("display")
                    } catch (n) {}
                    return !t[0] || a && !l ? a : e(t.parent())
                };
                return e()
            }(), "width" === e ? i.clientWidth : void layui.each(i.cols, function (e, a) {
                layui.each(a, function (l, n) {
                    if (!n) return void a.splice(l, 1);
                    if (n.key = e + "-" + l, n.hide = n.hide || !1, n.colGroup || n.colspan > 1) {
                        var o = 0;
                        layui.each(i.cols[e + 1], function (t, i) {
                            i.HAS_PARENT || o > 1 && o == n.colspan || (i.HAS_PARENT = !0, i.parentKey = e + "-" + l, o += parseInt(i.colspan > 1 ? i.colspan : 1))
                        }), n.colGroup = !0
                    }
                    t.initOpts(n)
                })
            })
        }, H.prototype.renderToolbar = function () {
            var e = this,
                a = e.config,
                l = ['<div class="layui-inline" lay-event="add"><i class="layui-icon layui-icon-add-1"></i></div>', '<div class="layui-inline" lay-event="update"><i class="layui-icon layui-icon-edit"></i></div>', '<div class="layui-inline" lay-event="delete"><i class="layui-icon layui-icon-delete"></i></div>'].join(""),
                n = e.layTool.find(".layui-table-tool-temp");
            if ("default" === a.toolbar) n.html(l);
            else if ("string" == typeof a.toolbar) {
                var o = t(a.toolbar).html() || "";
                o && n.html(i(o).render(a))
            }
            var r = {
                    filter: {
                        title: "\u7b5b\u9009\u5217",
                        layEvent: "LAYTABLE_COLS",
                        icon: "layui-icon-cols"
                    },
                    exports: {
                        title: "\u5bfc\u51fa",
                        layEvent: "LAYTABLE_EXPORT",
                        icon: "layui-icon-export"
                    },
                    print: {
                        title: "\u6253\u5370",
                        layEvent: "LAYTABLE_PRINT",
                        icon: "layui-icon-print"
                    }
                },
                c = [];
            "object" == typeof a.defaultToolbar && layui.each(a.defaultToolbar, function (e, t) {
                var i = "string" == typeof t ? r[t] : t;
                i && c.push('<div class="layui-inline" title="' + i.title + '" lay-event="' + i.layEvent + '"><i class="layui-icon ' + i.icon + '"></i></div>')
            }), e.layTool.find(".layui-table-tool-self").html(c.join(""))
        }, H.prototype.setParentCol = function (e, t) {
            var i = this,
                a = i.config,
                l = i.layHeader.find('th[data-key="' + a.index + "-" + t + '"]'),
                n = parseInt(l.attr("colspan")) || 0;
            if (l[0]) {
                var o = t.split("-"),
                    r = a.cols[o[0]][o[1]];
                e ? n-- : n++, l.attr("colspan", n), l[n < 1 ? "addClass" : "removeClass"](p), r.colspan = n, r.hide = n < 1;
                var c = l.data("parentkey");
                c && i.setParentCol(e, c)
            }
        }, H.prototype.setColsPatch = function () {
            var e = this,
                t = e.config;
            layui.each(t.cols, function (t, i) {
                layui.each(i, function (t, i) {
                    i.hide && e.setParentCol(i.hide, i.parentKey)
                })
            })
        }, H.prototype.setColsWidth = function () {
            var e = this,
                t = e.config,
                i = 0,
                a = 0,
                l = 0,
                n = 0,
                o = e.setInit("width");
            e.eachCols(function (e, t) {
                t.hide || i++
            }), o = o - function () {
                return "line" === t.skin || "nob" === t.skin ? 2 : i + 1
            }() - e.getScrollWidth(e.layMain[0]) - 1;
            var r = function (e) {
                layui.each(t.cols, function (i, r) {
                    layui.each(r, function (i, c) {
                        var d = 0,
                            s = c.minWidth || t.cellMinWidth;
                        return c ? void(c.colGroup || c.hide || (e ? l && l < s && (a--, d = s) : (d = c.width || 0, /\d+%$/.test(d) ? (d = Math.floor(parseFloat(d) / 100 * o), d < s && (d = s)) : d || (c.width = d = 0, a++)), c.hide && (d = 0), n += d)) : void r.splice(i, 1)
                    })
                }), o > n && a && (l = (o - n) / a)
            };
            r(), r(!0), e.autoColNums = a, e.eachCols(function (i, a) {
                var n = a.minWidth || t.cellMinWidth;
                a.colGroup || a.hide || (0 === a.width ? e.getCssRule(t.index + "-" + a.key, function (e) {
                    e.style.width = Math.floor(l >= n ? l : n) + "px"
                }) : /\d+%$/.test(a.width) && e.getCssRule(t.index + "-" + a.key, function (e) {
                    e.style.width = Math.floor(parseFloat(a.width) / 100 * o) + "px"
                }))
            });
            var c = e.layMain.width() - e.getScrollWidth(e.layMain[0]) - e.layMain.children("table").outerWidth();
            if (e.autoColNums && c >= -i && c <= i) {
                var d = function (t) {
                        var i;
                        return t = t || e.layHeader.eq(0).find("thead th:last-child"), i = t.data("field"), !i && t.prev()[0] ? d(t.prev()) : t
                    },
                    s = d(),
                    u = s.data("key");
                e.getCssRule(u, function (t) {
                    var i = t.style.width || s.outerWidth();
                    t.style.width = parseFloat(i) + c + "px", e.layMain.height() - e.layMain.prop("clientHeight") > 0 && (t.style.width = parseFloat(t.style.width) - 1 + "px")
                })
            }
            e.loading(!0)
        }, H.prototype.resize = function () {
            var e = this;
            e.fullSize(), e.setColsWidth(), e.scrollPatch()
        }, H.prototype.reload = function (e, i) {
            var a = this;
            e = e || {}, delete a.haveInit, layui.each(e, function (e, t) {
                "array" === layui._typeof(t) && delete a.config[e]
            }), a.config = t.extend(i, {}, a.config, e), a.render()
        }, H.prototype.errorView = function (e) {
            var i = this,
                a = i.layMain.find("." + v),
                l = t('<div class="' + v + '">' + (e || "Error") + "</div>");
            a[0] && (i.layNone.remove(), a.remove()), i.layFixed.addClass(p), i.layMain.find("tbody").html(""), i.layMain.append(i.layNone = l), d.cache[i.key] = []
        }, H.prototype.page = 1, H.prototype.pullData = function (e) {
            var i = this,
                a = i.config,
                l = a.request,
                n = a.response,
                o = function () {
                    "object" == typeof a.initSort && i.sort(a.initSort.field, a.initSort.type)
                };
            if (i.startTime = (new Date).getTime(), a.url) {
                var r = {};
                r[l.pageName] = e, r[l.limitName] = a.limit;
                var c = t.extend(r, a.where);
                a.contentType && 0 == a.contentType.indexOf("application/json") && (c = JSON.stringify(c)), i.loading(), t.ajax({
                    type: a.method || "get",
                    url: a.url,
                    contentType: a.contentType,
                    data: c,
                    dataType: "json",
                    headers: a.headers || {},
                    success: function (t) {
                        "function" == typeof a.parseData && (t = a.parseData(t) || t), t[n.statusName] != n.statusCode ? (i.renderForm(), i.errorView(t[n.msgName] || '\u8fd4\u56de\u7684\u6570\u636e\u4e0d\u7b26\u5408\u89c4\u8303\uff0c\u6b63\u786e\u7684\u6210\u529f\u72b6\u6001\u7801\u5e94\u4e3a\uff1a"' + n.statusName + '": ' + n.statusCode)) : (i.renderData(t, e, t[n.countName]), o(), a.time = (new Date).getTime() - i.startTime + " ms"), i.setColsWidth(), "function" == typeof a.done && a.done(t, e, t[n.countName])
                    },
                    error: function (e, t) {
                        i.errorView("\u8bf7\u6c42\u5f02\u5e38\uff0c\u9519\u8bef\u63d0\u793a\uff1a" + t), i.renderForm(), i.setColsWidth(), "function" == typeof a.error && a.error(e, t)
                    }
                })
            } else if ("array" === layui._typeof(a.data)) {
                var d = {},
                    s = e * a.limit - a.limit;
                d[n.dataName] = a.data.concat().splice(s, a.limit), d[n.countName] = a.data.length, "object" == typeof a.totalRow && (d[n.totalRowName] = t.extend({}, a.totalRow)), i.renderData(d, e, d[n.countName]), o(), i.setColsWidth(), "function" == typeof a.done && a.done(d, e, d[n.countName])
            }
        }, H.prototype.eachCols = function (e) {
            var t = this;
            return d.eachCols(null, e, t.config.cols), t
        }, H.prototype.renderData = function (e, n, o, r) {
            var c = this,
                s = c.config,
                u = e[s.response.dataName] || [],
                h = e[s.response.totalRowName],
                f = [],
                m = [],
                g = [],
                b = function () {
                    var e;
                    return !r && c.sortKey ? c.sort(c.sortKey.field, c.sortKey.sort, !0) : (layui.each(u, function (a, l) {
                        var o = [],
                            u = [],
                            h = [],
                            v = a + s.limit * (n - 1) + 1;
                        "array" === layui._typeof(l) && 0 === l.length || (r || (l[d.config.indexName] = a), c.eachCols(function (n, r) {
                            var f = r.field || n,
                                m = s.index + "-" + r.key,
                                g = l[f];
                            if (void 0 !== g && null !== g || (g = ""), !r.colGroup) {
                                var b = ['<td data-field="' + f + '" data-key="' + m + '" ' + function () {
                                    var e = [];
                                    return r.edit && e.push('data-edit="' + r.edit + '"'), r.align && e.push('align="' + r.align + '"'), r.templet && e.push('data-content="' + g + '"'), r.toolbar && e.push('data-off="true"'), r.event && e.push('lay-event="' + r.event + '"'), r.style && e.push('style="' + r.style + '"'), r.minWidth && e.push('data-minwidth="' + r.minWidth + '"'), e.join(" ")
                                }() + ' class="' + function () {
                                    var e = [];
                                    return r.hide && e.push(p), r.field || e.push("layui-table-col-special"), e.join(" ")
                                }() + '">', '<div class="layui-table-cell laytable-cell-' + function () {
                                    return "normal" === r.type ? m : m + " laytable-cell-" + r.type
                                }() + '">' + function () {
                                    var n = t.extend(!0, {
                                            LAY_INDEX: v,
                                            LAY_COL: r
                                        }, l),
                                        o = d.config.checkName;
                                    switch (r.type) {
                                        case "checkbox":
                                            return '<input type="checkbox" name="layTableCheckbox" lay-skin="primary" ' + function () {
                                                return r[o] ? (l[o] = r[o], r[o] ? "checked" : "") : n[o] ? "checked" : ""
                                            }() + ">";
                                        case "radio":
                                            return n[o] && (e = a), '<input type="radio" name="layTableRadio_' + s.index + '" ' + (n[o] ? "checked" : "") + ' lay-type="layTableRadio">';
                                        case "numbers":
                                            return v
                                    }
                                    return r.toolbar ? i(t(r.toolbar).html() || "").render(n) : y.call(c, r, g, n)
                                }(), "</div></td>"].join("");
                                o.push(b), r.fixed && "right" !== r.fixed && u.push(b), "right" === r.fixed && h.push(b)
                            }
                        }), f.push('<tr data-index="' + a + '">' + o.join("") + "</tr>"), m.push('<tr data-index="' + a + '">' + u.join("") + "</tr>"), g.push('<tr data-index="' + a + '">' + h.join("") + "</tr>"))
                    }), c.layBody.scrollTop(0), c.layMain.find("." + v).remove(), c.layMain.find("tbody").html(f.join("")), c.layFixLeft.find("tbody").html(m.join("")), c.layFixRight.find("tbody").html(g.join("")), c.renderForm(), "number" == typeof e && c.setThisRowChecked(e), c.syncCheckAll(), c.haveInit ? c.scrollPatch() : setTimeout(function () {
                        c.scrollPatch()
                    }, 50), c.haveInit = !0, l.close(c.tipsIndex), s.HAS_SET_COLS_PATCH || c.setColsPatch(), void(s.HAS_SET_COLS_PATCH = !0))
                };
            return d.cache[c.key] = u, c.layPage[0 == o || 0 === u.length && 1 == n ? "addClass" : "removeClass"](p), 0 === u.length ? (c.renderForm(), c.errorView(s.text.none)) : (c.layFixed.removeClass(p), r ? b() : (b(), c.renderTotal(u, h), void(s.page && (s.page = t.extend({
                elem: "layui-table-page" + s.index,
                count: o,
                limit: s.limit,
                limits: s.limits || [10, 20, 30, 40, 50, 60, 70, 80, 90],
                groups: 3,
                layout: ["prev", "page", "next", "skip", "count", "limit"],
                prev: '<i class="layui-icon">&#xe603;</i>',
                next: '<i class="layui-icon">&#xe602;</i>',
                jump: function (e, t) {
                    t || (c.page = e.curr, s.limit = e.limit, c.pullData(e.curr))
                }
            }, s.page), s.page.count = o, a.render(s.page)))))
        }, H.prototype.renderTotal = function (e, a) {
            var l = this,
                n = l.config,
                o = {};
            if (n.totalRow) {
                layui.each(e, function (e, t) {
                    "array" === layui._typeof(t) && 0 === t.length || l.eachCols(function (e, i) {
                        var a = i.field || e,
                            l = t[a];
                        i.totalRow && (o[a] = (o[a] || 0) + (parseFloat(l) || 0))
                    })
                }), l.dataTotal = {};
                var r = [];
                l.eachCols(function (e, c) {
                    var d = c.field || e,
                        s = function () {
                            var e, t = c.totalRowText || "",
                                i = parseFloat(o[d]).toFixed(2),
                                n = {};
                            return n[d] = i, e = c.totalRow ? y.call(l, c, i, n) || t : t, a ? a[c.field] || e : e
                        }(),
                        u = ['<td data-field="' + d + '" data-key="' + n.index + "-" + c.key + '" ' + function () {
                            var e = [];
                            return c.align && e.push('align="' + c.align + '"'), c.style && e.push('style="' + c.style + '"'), c.minWidth && e.push('data-minwidth="' + c.minWidth + '"'), e.join(" ")
                        }() + ' class="' + function () {
                            var e = [];
                            return c.hide && e.push(p), c.field || e.push("layui-table-col-special"), e.join(" ")
                        }() + '">', '<div class="layui-table-cell laytable-cell-' + function () {
                            var e = n.index + "-" + c.key;
                            return "normal" === c.type ? e : e + " laytable-cell-" + c.type
                        }() + '">' + function () {
                            var e = c.totalRow || n.totalRow;
                            return "string" == typeof e ? i(e).render(t.extend({
                                TOTAL_NUMS: s
                            }, c)) : s
                        }(), "</div></td>"].join("");
                    c.field && (l.dataTotal[d] = s), r.push(u)
                }), l.layTotal.find("tbody").html("<tr>" + r.join("") + "</tr>")
            }
        }, H.prototype.getColElem = function (e, t) {
            var i = this,
                a = i.config;
            return e.eq(0).find(".laytable-cell-" + (a.index + "-" + t) + ":eq(0)")
        }, H.prototype.renderForm = function (e) {
            n.render(e, "LAY-table-" + this.index)
        }, H.prototype.setThisRowChecked = function (e) {
            var t = this,
                i = (t.config, "layui-table-click"),
                a = t.layBody.find('tr[data-index="' + e + '"]');
            a.addClass(i).siblings("tr").removeClass(i)
        }, H.prototype.sort = function (e, i, a, l) {
            var n, o, c = this,
                s = {},
                u = c.config,
                y = u.elem.attr("lay-filter"),
                f = d.cache[c.key];
            "string" == typeof e && (n = e, c.layHeader.find("th").each(function (i, a) {
                var l = t(this),
                    o = l.data("field");
                if (o === e) return e = l, n = o, !1
        limit: 10,
        loading: !0,
        cellMinWidth: 60,
        defaultToolbar: ["filter", "exports", "print"],
        autoSort: !0,
        text: {
            none: "\u65e0\u6570\u636e"
        }
    }, H.prototype.render = function () {
        var e = this,
            a = e.config;
        if (a.elem = t(a.elem), a.where = a.where || {}, a.id = a.id || a.elem.attr("id") || e.index, a.request = t.extend({
            pageName: "page",
            limitName: "limit"
        }, a.request), a.response = t.extend({
            statusName: "code",
            statusCode: 0,
            msgName: "msg",
            dataName: "data",
            totalRowName: "totalRow",
            countName: "count"
        }, a.response), "object" == typeof a.page && (a.limit = a.page.limit || a.limit, a.limits = a.page.limits || a.limits, e.page = a.page.curr = a.page.curr || 1, delete a.page.elem, delete a.page.jump), !a.elem[0]) return e;
        a.height && /^full-\d+$/.test(a.height) && (e.fullHeightGap = a.height.split("-")[1], a.height = F.height() - e.fullHeightGap), e.setInit();
        var l = a.elem,
            n = l.next("." + m),
            o = e.elem = t(i(j).render({
                VIEW_CLASS: m,
                data: a,
                index: e.index
            }));
            try {
                var n = n || e.data("field"),
                    p = e.data("key");
                if (c.sortKey && !a && n === c.sortKey.field && i === c.sortKey.sort) return;
                var v = c.layHeader.find("th .laytable-cell-" + p).find(A);
                c.layHeader.find("th").find(A).removeAttr("lay-sort"), v.attr("lay-sort", i || null), c.layFixed.find("th")
            } catch (m) {
                r.error("Table modules: sort field '" + n + "' not matched")
        if (a.index = e.index, e.key = a.id || a.index, n[0] && n.remove(), l.after(o), e.layTool = o.find(g), e.layBox = o.find(b), e.layHeader = o.find(k), e.layMain = o.find(w), e.layBody = o.find(C), e.layFixed = o.find(T), e.layFixLeft = o.find(N), e.layFixRight = o.find(L), e.layTotal = o.find(_), e.layPage = o.find(S), e.renderToolbar(), e.fullSize(), a.cols.length > 1) {
            var r = e.layFixed.find(k).find("th");
            r.height(e.layHeader.height() - 1 - parseFloat(r.css("padding-top")) - parseFloat(r.css("padding-bottom")))
        }
        e.pullData(e.page), e.events()
    }, H.prototype.initOpts = function (e) {
        var t = this,
            i = (t.config, {
                checkbox: 48,
                radio: 48,
                space: 15,
                numbers: 40
            });
        e.checkbox && (e.type = "checkbox"), e.space && (e.type = "space"), e.type || (e.type = "normal"), "normal" !== e.type && (e.unresize = !0, e.width = e.width || i[e.type])
    }, H.prototype.setInit = function (e) {
        var t = this,
            i = t.config;
        return i.clientWidth = i.width || function () {
            var e = function (t) {
                var a, l;
                t = t || i.elem.parent(), a = t.width();
                try {
                    l = "none" === t.css("display")
                } catch (n) { }
                return !t[0] || a && !l ? a : e(t.parent())
            };
            return e()
        }(), "width" === e ? i.clientWidth : void layui.each(i.cols, function (e, a) {
            layui.each(a, function (l, n) {
                if (!n) return void a.splice(l, 1);
                if (n.key = e + "-" + l, n.hide = n.hide || !1, n.colGroup || n.colspan > 1) {
                    var o = 0;
                    layui.each(i.cols[e + 1], function (t, i) {
                        i.HAS_PARENT || o > 1 && o == n.colspan || (i.HAS_PARENT = !0, i.parentKey = e + "-" + l, o += parseInt(i.colspan > 1 ? i.colspan : 1))
                    }), n.colGroup = !0
                }
                t.initOpts(n)
            })
        })
    }, H.prototype.renderToolbar = function () {
        var e = this,
            a = e.config,
            l = ['<div class="layui-inline" lay-event="add"><i class="layui-icon layui-icon-add-1"></i></div>', '<div class="layui-inline" lay-event="update"><i class="layui-icon layui-icon-edit"></i></div>', '<div class="layui-inline" lay-event="delete"><i class="layui-icon layui-icon-delete"></i></div>'].join(""),
            n = e.layTool.find(".layui-table-tool-temp");
        if ("default" === a.toolbar) n.html(l);
        else if ("string" == typeof a.toolbar) {
            var o = t(a.toolbar).html() || "";
            o && n.html(i(o).render(a))
        }
        var r = {
            filter: {
                title: "\u7b5b\u9009\u5217",
                layEvent: "LAYTABLE_COLS",
                icon: "layui-icon-cols"
            },
            exports: {
                title: "\u5bfc\u51fa",
                layEvent: "LAYTABLE_EXPORT",
                icon: "layui-icon-export"
            },
            print: {
                title: "\u6253\u5370",
                layEvent: "LAYTABLE_PRINT",
                icon: "layui-icon-print"
            }
            c.sortKey = {
                field: n,
                sort: i
            }, u.autoSort && ("asc" === i ? o = layui.sort(f, n) : "desc" === i ? o = layui.sort(f, n, !0) : (o = layui.sort(f, d.config.indexName), delete c.sortKey)), s[u.response.dataName] = o || f, c.renderData(s, c.page, c.count, !0), l && layui.event.call(e, h, "sort(" + y + ")", {
                field: n,
                type: i
        },
            c = [];
        "object" == typeof a.defaultToolbar && layui.each(a.defaultToolbar, function (e, t) {
            var i = "string" == typeof t ? r[t] : t;
            i && c.push('<div class="layui-inline" title="' + i.title + '" lay-event="' + i.layEvent + '"><i class="layui-icon ' + i.icon + '"></i></div>')
        }), e.layTool.find(".layui-table-tool-self").html(c.join(""))
    }, H.prototype.setParentCol = function (e, t) {
        var i = this,
            a = i.config,
            l = i.layHeader.find('th[data-key="' + a.index + "-" + t + '"]'),
            n = parseInt(l.attr("colspan")) || 0;
        if (l[0]) {
            var o = t.split("-"),
                r = a.cols[o[0]][o[1]];
            e ? n-- : n++, l.attr("colspan", n), l[n < 1 ? "addClass" : "removeClass"](p), r.colspan = n, r.hide = n < 1;
            var c = l.data("parentkey");
            c && i.setParentCol(e, c)
        }
    }, H.prototype.setColsPatch = function () {
        var e = this,
            t = e.config;
        layui.each(t.cols, function (t, i) {
            layui.each(i, function (t, i) {
                i.hide && e.setParentCol(i.hide, i.parentKey)
            })
        }, H.prototype.loading = function (e) {
            var i = this,
                a = i.config;
            a.loading && (e ? (i.layInit && i.layInit.remove(), delete i.layInit, i.layBox.find(x).remove()) : (i.layInit = t(['<div class="layui-table-init">', '<i class="layui-icon layui-icon-loading layui-anim layui-anim-rotate layui-anim-loop"></i>', "</div>"].join("")), i.layBox.append(i.layInit)))
        }, H.prototype.setCheckData = function (e, t) {
            var i = this,
                a = i.config,
                l = d.cache[i.key];
            l[e] && "array" !== layui._typeof(l[e]) && (l[e][a.checkName] = t)
        }, H.prototype.syncCheckAll = function () {
            var e = this,
                t = e.config,
                i = e.layHeader.find('input[name="layTableCheckbox"]'),
                a = function (i) {
                    return e.eachCols(function (e, a) {
                        "checkbox" === a.type && (a[t.checkName] = i)
                    }), i
                };
            i[0] && (d.checkStatus(e.key).isAll ? (i[0].checked || (i.prop("checked", !0), e.renderForm("checkbox")), a(!0)) : (i[0].checked && (i.prop("checked", !1), e.renderForm("checkbox")), a(!1)))
        }, H.prototype.getCssRule = function (e, t) {
            var i = this,
                a = i.elem.find("style")[0],
                l = a.sheet || a.styleSheet || {},
                n = l.cssRules || l.rules;
            layui.each(n, function (i, a) {
                if (a.selectorText === ".laytable-cell-" + e) return t(a), !0
        })
    }, H.prototype.setColsWidth = function () {
        var e = this,
            t = e.config,
            i = 0,
            a = 0,
            l = 0,
            n = 0,
            o = e.setInit("width");
        e.eachCols(function (e, t) {
            t.hide || i++
        }), o = o - function () {
            return "line" === t.skin || "nob" === t.skin ? 2 : i + 1
        }() - e.getScrollWidth(e.layMain[0]) - 1;
        var r = function (e) {
            layui.each(t.cols, function (i, r) {
                layui.each(r, function (i, c) {
                    var d = 0,
                        s = c.minWidth || t.cellMinWidth;
                    return c ? void (c.colGroup || c.hide || (e ? l && l < s && (a--, d = s) : (d = c.width || 0, /\d+%$/.test(d) ? (d = Math.floor(parseFloat(d) / 100 * o), d < s && (d = s)) : d || (c.width = d = 0, a++)), c.hide && (d = 0), n += d)) : void r.splice(i, 1)
                })
            }), o > n && a && (l = (o - n) / a)
        };
        r(), r(!0), e.autoColNums = a, e.eachCols(function (i, a) {
            var n = a.minWidth || t.cellMinWidth;
            a.colGroup || a.hide || (0 === a.width ? e.getCssRule(t.index + "-" + a.key, function (e) {
                e.style.width = Math.floor(l >= n ? l : n) + "px"
            }) : /\d+%$/.test(a.width) && e.getCssRule(t.index + "-" + a.key, function (e) {
                e.style.width = Math.floor(parseFloat(a.width) / 100 * o) + "px"
            }))
        });
        var c = e.layMain.width() - e.getScrollWidth(e.layMain[0]) - e.layMain.children("table").outerWidth();
        if (e.autoColNums && c >= -i && c <= i) {
            var d = function (t) {
                var i;
                return t = t || e.layHeader.eq(0).find("thead th:last-child"), i = t.data("field"), !i && t.prev()[0] ? d(t.prev()) : t
            },
                s = d(),
                u = s.data("key");
            e.getCssRule(u, function (t) {
                var i = t.style.width || s.outerWidth();
                t.style.width = parseFloat(i) + c + "px", e.layMain.height() - e.layMain.prop("clientHeight") > 0 && (t.style.width = parseFloat(t.style.width) - 1 + "px")
            })
        }, H.prototype.fullSize = function () {
            var e, t = this,
                i = t.config,
                a = i.height;
            t.fullHeightGap && (a = F.height() - t.fullHeightGap, a < 135 && (a = 135), t.elem.css("height", a)), a && (e = parseFloat(a) - (t.layHeader.outerHeight() || 38), i.toolbar && (e -= t.layTool.outerHeight() || 50), i.totalRow && (e -= t.layTotal.outerHeight() || 40), i.page && (e -= t.layPage.outerHeight() || 41), t.layMain.css("height", e - 2))
        }, H.prototype.getScrollWidth = function (e) {
            var t = 0;
            return e ? t = e.offsetWidth - e.clientWidth : (e = document.createElement("div"), e.style.width = "100px", e.style.height = "100px", e.style.overflowY = "scroll", document.body.appendChild(e), t = e.offsetWidth - e.clientWidth, document.body.removeChild(e)), t
        }, H.prototype.scrollPatch = function () {
            var e = this,
                i = e.layMain.children("table"),
                a = e.layMain.width() - e.layMain.prop("clientWidth"),
                l = e.layMain.height() - e.layMain.prop("clientHeight"),
                n = (e.getScrollWidth(e.layMain[0]), i.outerWidth() - e.layMain.width()),
                o = function (e) {
                    if (a && l) {
                        if (e = e.eq(0), !e.find(".layui-table-patch")[0]) {
                            var i = t('<th class="layui-table-patch"><div class="layui-table-cell"></div></th>');
                            i.find("div").css({
                                width: a
                            }), e.find("tr").append(i)
                        }
                    } else e.find(".layui-table-patch").remove()
                };
            o(e.layHeader), o(e.layTotal);
            var r = e.layMain.height(),
                c = r - l;
            e.layFixed.find(C).css("height", i.height() >= c ? c : "auto"), e.layFixRight[n > 0 ? "removeClass" : "addClass"](p), e.layFixRight.css("right", a - 1)
        }, H.prototype.events = function () {
            var e, i = this,
                a = i.config,
                o = t("body"),
                r = {},
                s = i.layHeader.find("th"),
                u = ".layui-table-cell",
                f = a.elem.attr("lay-filter");
            i.layTool.on("click", "*[lay-event]", function (e) {
                var o = t(this),
                    r = o.attr("lay-event"),
                    s = function (e) {
                        var l = t(e.list),
                            n = t('<ul class="layui-table-tool-panel"></ul>');
                        n.html(l), a.height && n.css("max-height", a.height - (i.layTool.outerHeight() || 50)), o.find(".layui-table-tool-panel")[0] || o.append(n), i.renderForm(), n.on("click", function (e) {
                            layui.stope(e)
                        }), e.done && e.done(n, l)
                    };
                switch (layui.stope(e), I.trigger("table.tool.panel.remove"), l.close(i.tipsIndex), r) {
                    case "LAYTABLE_COLS":
                        s({
                            list: function () {
        }
        e.loading(!0)
    }, H.prototype.resize = function () {
        var e = this;
        e.fullSize(), e.setColsWidth(), e.scrollPatch()
    }, H.prototype.reload = function (e, i) {
        var a = this;
        e = e || {}, delete a.haveInit, layui.each(e, function (e, t) {
            "array" === layui._typeof(t) && delete a.config[e]
        }), a.config = t.extend(i, {}, a.config, e), a.render()
    }, H.prototype.errorView = function (e) {
        var i = this,
            a = i.layMain.find("." + v),
            l = t('<div class="' + v + '">' + (e || "Error") + "</div>");
        a[0] && (i.layNone.remove(), a.remove()), i.layFixed.addClass(p), i.layMain.find("tbody").html(""), i.layMain.append(i.layNone = l), d.cache[i.key] = []
    }, H.prototype.page = 1, H.prototype.pullData = function (e) {
        var i = this,
            a = i.config,
            l = a.request,
            n = a.response,
            o = function () {
                "object" == typeof a.initSort && i.sort(a.initSort.field, a.initSort.type)
            };
        if (i.startTime = (new Date).getTime(), a.url) {
            var r = {};
            r[l.pageName] = e, r[l.limitName] = a.limit;
            var c = t.extend(r, a.where);
            a.contentType && 0 == a.contentType.indexOf("application/json") && (c = JSON.stringify(c)), i.loading(), t.ajax({
                type: a.method || "get",
                url: a.url,
                contentType: a.contentType,
                data: c,
                dataType: "json",
                headers: a.headers || {},
                success: function (t) {
                    "function" == typeof a.parseData && (t = a.parseData(t) || t), t[n.statusName] != n.statusCode ? (i.renderForm(), i.errorView(t[n.msgName] || '\u8fd4\u56de\u7684\u6570\u636e\u4e0d\u7b26\u5408\u89c4\u8303\uff0c\u6b63\u786e\u7684\u6210\u529f\u72b6\u6001\u7801\u5e94\u4e3a\uff1a"' + n.statusName + '": ' + n.statusCode)) : (i.renderData(t, e, t[n.countName]), o(), a.time = (new Date).getTime() - i.startTime + " ms"), i.setColsWidth(), "function" == typeof a.done && a.done(t, e, t[n.countName])
                },
                error: function (e, t) {
                    i.errorView("\u8bf7\u6c42\u5f02\u5e38\uff0c\u9519\u8bef\u63d0\u793a\uff1a" + t), i.renderForm(), i.setColsWidth(), "function" == typeof a.error && a.error(e, t)
                }
            })
        } else if ("array" === layui._typeof(a.data)) {
            var d = {},
                s = e * a.limit - a.limit;
            d[n.dataName] = a.data.concat().splice(s, a.limit), d[n.countName] = a.data.length, "object" == typeof a.totalRow && (d[n.totalRowName] = t.extend({}, a.totalRow)), i.renderData(d, e, d[n.countName]), o(), i.setColsWidth(), "function" == typeof a.done && a.done(d, e, d[n.countName])
        }
    }, H.prototype.eachCols = function (e) {
        var t = this;
        return d.eachCols(null, e, t.config.cols), t
    }, H.prototype.renderData = function (e, n, o, r) {
        var c = this,
            s = c.config,
            u = e[s.response.dataName] || [],
            h = e[s.response.totalRowName],
            f = [],
            m = [],
            g = [],
            b = function () {
                var e;
                return !r && c.sortKey ? c.sort(c.sortKey.field, c.sortKey.sort, !0) : (layui.each(u, function (a, l) {
                    var o = [],
                        u = [],
                        h = [],
                        v = a + s.limit * (n - 1) + 1;
                    "array" === layui._typeof(l) && 0 === l.length || (r || (l[d.config.indexName] = a), c.eachCols(function (n, r) {
                        var f = r.field || n,
                            m = s.index + "-" + r.key,
                            g = l[f];
                        if (void 0 !== g && null !== g || (g = ""), !r.colGroup) {
                            var b = ['<td data-field="' + f + '" data-key="' + m + '" ' + function () {
                                var e = [];
                                return i.eachCols(function (t, i) {
                                    i.field && "normal" == i.type && e.push('<li><input type="checkbox" name="' + i.field + '" data-key="' + i.key + '" data-parentkey="' + (i.parentKey || "") + '" lay-skin="primary" ' + (i.hide ? "" : "checked") + ' title="' + (i.title || i.field) + '" lay-filter="LAY_TABLE_TOOL_COLS"></li>')
                                }), e.join("")
                            }(),
                            done: function () {
                                n.on("checkbox(LAY_TABLE_TOOL_COLS)", function (e) {
                                    var l = t(e.elem),
                                        n = this.checked,
                                        o = l.data("key"),
                                        r = l.data("parentkey");
                                    layui.each(a.cols, function (e, t) {
                                        layui.each(t, function (t, l) {
                                            if (e + "-" + t === o) {
                                                var c = l.hide;
                                                l.hide = !n, i.elem.find('*[data-key="' + a.index + "-" + o + '"]')[n ? "removeClass" : "addClass"](p), c != l.hide && i.setParentCol(!n, r), i.resize()
                                            }
                                        })
                                return r.edit && e.push('data-edit="' + r.edit + '"'), r.align && e.push('align="' + r.align + '"'), r.templet && e.push('data-content="' + g + '"'), r.toolbar && e.push('data-off="true"'), r.event && e.push('lay-event="' + r.event + '"'), r.style && e.push('style="' + r.style + '"'), r.minWidth && e.push('data-minwidth="' + r.minWidth + '"'), e.join(" ")
                            }() + ' class="' + function () {
                                var e = [];
                                return r.hide && e.push(p), r.field || e.push("layui-table-col-special"), e.join(" ")
                            }() + '">', '<div class="layui-table-cell laytable-cell-' + function () {
                                return "normal" === r.type ? m : m + " laytable-cell-" + r.type
                            }() + '">' + function () {
                                var n = t.extend(!0, {
                                    LAY_INDEX: v,
                                    LAY_COL: r
                                }, l),
                                    o = d.config.checkName;
                                switch (r.type) {
                                    case "checkbox":
                                        return '<input type="checkbox" name="layTableCheckbox" lay-skin="primary" ' + function () {
                                            return r[o] ? (l[o] = r[o], r[o] ? "checked" : "") : n[o] ? "checked" : ""
                                        }() + ">";
                                    case "radio":
                                        return n[o] && (e = a), '<input type="radio" name="layTableRadio_' + s.index + '" ' + (n[o] ? "checked" : "") + ' lay-type="layTableRadio">';
                                    case "numbers":
                                        return v
                                }
                                return r.toolbar ? i(t(r.toolbar).html() || "").render(n) : y.call(c, r, g, n)
                            }(), "</div></td>"].join("");
                            o.push(b), r.fixed && "right" !== r.fixed && u.push(b), "right" === r.fixed && h.push(b)
                        }
                    }), f.push('<tr data-index="' + a + '">' + o.join("") + "</tr>"), m.push('<tr data-index="' + a + '">' + u.join("") + "</tr>"), g.push('<tr data-index="' + a + '">' + h.join("") + "</tr>"))
                }), c.layBody.scrollTop(0), c.layMain.find("." + v).remove(), c.layMain.find("tbody").html(f.join("")), c.layFixLeft.find("tbody").html(m.join("")), c.layFixRight.find("tbody").html(g.join("")), c.renderForm(), "number" == typeof e && c.setThisRowChecked(e), c.syncCheckAll(), c.haveInit ? c.scrollPatch() : setTimeout(function () {
                    c.scrollPatch()
                }, 50), c.haveInit = !0, l.close(c.tipsIndex), s.HAS_SET_COLS_PATCH || c.setColsPatch(), void (s.HAS_SET_COLS_PATCH = !0))
            };
        return d.cache[c.key] = u, c.layPage[0 == o || 0 === u.length && 1 == n ? "addClass" : "removeClass"](p), 0 === u.length ? (c.renderForm(), c.errorView(s.text.none)) : (c.layFixed.removeClass(p), r ? b() : (b(), c.renderTotal(u, h), void (s.page && (s.page = t.extend({
            elem: "layui-table-page" + s.index,
            count: o,
            limit: s.limit,
            limits: s.limits || [10, 20, 30, 40, 50, 60, 70, 80, 90],
            groups: 3,
            layout: ["prev", "page", "next", "skip", "count", "limit"],
            prev: '<i class="layui-icon">&#xe603;</i>',
            next: '<i class="layui-icon">&#xe602;</i>',
            jump: function (e, t) {
                t || (c.page = e.curr, s.limit = e.limit, c.pullData(e.curr))
            }
        }, s.page), s.page.count = o, a.render(s.page)))))
    }, H.prototype.renderTotal = function (e, a) {
        var l = this,
            n = l.config,
            o = {};
        if (n.totalRow) {
            layui.each(e, function (e, t) {
                "array" === layui._typeof(t) && 0 === t.length || l.eachCols(function (e, i) {
                    var a = i.field || e,
                        l = t[a];
                    i.totalRow && (o[a] = (o[a] || 0) + (parseFloat(l) || 0))
                })
            }), l.dataTotal = {};
            var r = [];
            l.eachCols(function (e, c) {
                var d = c.field || e,
                    s = function () {
                        var e, t = c.totalRowText || "",
                            i = parseFloat(o[d]).toFixed(2),
                            n = {};
                        return n[d] = i, e = c.totalRow ? y.call(l, c, i, n) || t : t, a ? a[c.field] || e : e
                    }(),
                    u = ['<td data-field="' + d + '" data-key="' + n.index + "-" + c.key + '" ' + function () {
                        var e = [];
                        return c.align && e.push('align="' + c.align + '"'), c.style && e.push('style="' + c.style + '"'), c.minWidth && e.push('data-minwidth="' + c.minWidth + '"'), e.join(" ")
                    }() + ' class="' + function () {
                        var e = [];
                        return c.hide && e.push(p), c.field || e.push("layui-table-col-special"), e.join(" ")
                    }() + '">', '<div class="layui-table-cell laytable-cell-' + function () {
                        var e = n.index + "-" + c.key;
                        return "normal" === c.type ? e : e + " laytable-cell-" + c.type
                    }() + '">' + function () {
                        var e = c.totalRow || n.totalRow;
                        return "string" == typeof e ? i(e).render(t.extend({
                            TOTAL_NUMS: s
                        }, c)) : s
                    }(), "</div></td>"].join("");
                c.field && (l.dataTotal[d] = s), r.push(u)
            }), l.layTotal.find("tbody").html("<tr>" + r.join("") + "</tr>")
        }
    }, H.prototype.getColElem = function (e, t) {
        var i = this,
            a = i.config;
        return e.eq(0).find(".laytable-cell-" + (a.index + "-" + t) + ":eq(0)")
    }, H.prototype.renderForm = function (e) {
        n.render(e, "LAY-table-" + this.index)
    }, H.prototype.setThisRowChecked = function (e) {
        var t = this,
            i = (t.config, "layui-table-click"),
            a = t.layBody.find('tr[data-index="' + e + '"]');
        a.addClass(i).siblings("tr").removeClass(i)
    }, H.prototype.sort = function (e, i, a, l) {
        var n, o, c = this,
            s = {},
            u = c.config,
            y = u.elem.attr("lay-filter"),
            f = d.cache[c.key];
        "string" == typeof e && (n = e, c.layHeader.find("th").each(function (i, a) {
            var l = t(this),
                o = l.data("field");
            if (o === e) return e = l, n = o, !1
        }));
        try {
            var n = n || e.data("field"),
                p = e.data("key");
            if (c.sortKey && !a && n === c.sortKey.field && i === c.sortKey.sort) return;
            var v = c.layHeader.find("th .laytable-cell-" + p).find(A);
            c.layHeader.find("th").find(A).removeAttr("lay-sort"), v.attr("lay-sort", i || null), c.layFixed.find("th")
        } catch (m) {
            r.error("Table modules: sort field '" + n + "' not matched")
        }
        c.sortKey = {
            field: n,
            sort: i
        }, u.autoSort && ("asc" === i ? o = layui.sort(f, n) : "desc" === i ? o = layui.sort(f, n, !0) : (o = layui.sort(f, d.config.indexName), delete c.sortKey)), s[u.response.dataName] = o || f, c.renderData(s, c.page, c.count, !0), l && layui.event.call(e, h, "sort(" + y + ")", {
            field: n,
            type: i
        })
    }, H.prototype.loading = function (e) {
        var i = this,
            a = i.config;
        a.loading && (e ? (i.layInit && i.layInit.remove(), delete i.layInit, i.layBox.find(x).remove()) : (i.layInit = t(['<div class="layui-table-init">', '<i class="layui-icon layui-icon-loading layui-anim layui-anim-rotate layui-anim-loop"></i>', "</div>"].join("")), i.layBox.append(i.layInit)))
    }, H.prototype.setCheckData = function (e, t) {
        var i = this,
            a = i.config,
            l = d.cache[i.key];
        l[e] && "array" !== layui._typeof(l[e]) && (l[e][a.checkName] = t)
    }, H.prototype.syncCheckAll = function () {
        var e = this,
            t = e.config,
            i = e.layHeader.find('input[name="layTableCheckbox"]'),
            a = function (i) {
                return e.eachCols(function (e, a) {
                    "checkbox" === a.type && (a[t.checkName] = i)
                }), i
            };
        i[0] && (d.checkStatus(e.key).isAll ? (i[0].checked || (i.prop("checked", !0), e.renderForm("checkbox")), a(!0)) : (i[0].checked && (i.prop("checked", !1), e.renderForm("checkbox")), a(!1)))
    }, H.prototype.getCssRule = function (e, t) {
        var i = this,
            a = i.elem.find("style")[0],
            l = a.sheet || a.styleSheet || {},
            n = l.cssRules || l.rules;
        layui.each(n, function (i, a) {
            if (a.selectorText === ".laytable-cell-" + e) return t(a), !0
        })
    }, H.prototype.fullSize = function () {
        var e, t = this,
            i = t.config,
            a = i.height;
        t.fullHeightGap && (a = F.height() - t.fullHeightGap, a < 135 && (a = 135), t.elem.css("height", a)), a && (e = parseFloat(a) - (t.layHeader.outerHeight() || 38), i.toolbar && (e -= t.layTool.outerHeight() || 50), i.totalRow && (e -= t.layTotal.outerHeight() || 40), i.page && (e -= t.layPage.outerHeight() || 41), t.layMain.css("height", e - 2))
    }, H.prototype.getScrollWidth = function (e) {
        var t = 0;
        return e ? t = e.offsetWidth - e.clientWidth : (e = document.createElement("div"), e.style.width = "100px", e.style.height = "100px", e.style.overflowY = "scroll", document.body.appendChild(e), t = e.offsetWidth - e.clientWidth, document.body.removeChild(e)), t
    }, H.prototype.scrollPatch = function () {
        var e = this,
            i = e.layMain.children("table"),
            a = e.layMain.width() - e.layMain.prop("clientWidth"),
            l = e.layMain.height() - e.layMain.prop("clientHeight"),
            n = (e.getScrollWidth(e.layMain[0]), i.outerWidth() - e.layMain.width()),
            o = function (e) {
                if (a && l) {
                    if (e = e.eq(0), !e.find(".layui-table-patch")[0]) {
                        var i = t('<th class="layui-table-patch"><div class="layui-table-cell"></div></th>');
                        i.find("div").css({
                            width: a
                        }), e.find("tr").append(i)
                    }
                } else e.find(".layui-table-patch").remove()
            };
        o(e.layHeader), o(e.layTotal);
        var r = e.layMain.height(),
            c = r - l;
        e.layFixed.find(C).css("height", i.height() >= c ? c : "auto"), e.layFixRight[n > 0 ? "removeClass" : "addClass"](p), e.layFixRight.css("right", a - 1)
    }, H.prototype.events = function () {
        var e, i = this,
            a = i.config,
            o = t("body"),
            r = {},
            s = i.layHeader.find("th"),
            u = ".layui-table-cell",
            f = a.elem.attr("lay-filter");
        i.layTool.on("click", "*[lay-event]", function (e) {
            var o = t(this),
                r = o.attr("lay-event"),
                s = function (e) {
                    var l = t(e.list),
                        n = t('<ul class="layui-table-tool-panel"></ul>');
                    n.html(l), a.height && n.css("max-height", a.height - (i.layTool.outerHeight() || 50)), o.find(".layui-table-tool-panel")[0] || o.append(n), i.renderForm(), n.on("click", function (e) {
                        layui.stope(e)
                    }), e.done && e.done(n, l)
                };
            switch (layui.stope(e), I.trigger("table.tool.panel.remove"), l.close(i.tipsIndex), r) {
                case "LAYTABLE_COLS":
                    s({
                        list: function () {
                            var e = [];
                            return i.eachCols(function (t, i) {
                                i.field && "normal" == i.type && e.push('<li><input type="checkbox" name="' + i.field + '" data-key="' + i.key + '" data-parentkey="' + (i.parentKey || "") + '" lay-skin="primary" ' + (i.hide ? "" : "checked") + ' title="' + (i.title || i.field) + '" lay-filter="LAY_TABLE_TOOL_COLS"></li>')
                            }), e.join("")
                        }(),
                        done: function () {
                            n.on("checkbox(LAY_TABLE_TOOL_COLS)", function (e) {
                                var l = t(e.elem),
                                    n = this.checked,
                                    o = l.data("key"),
                                    r = l.data("parentkey");
                                layui.each(a.cols, function (e, t) {
                                    layui.each(t, function (t, l) {
                                        if (e + "-" + t === o) {
                                            var c = l.hide;
                                            l.hide = !n, i.elem.find('*[data-key="' + a.index + "-" + o + '"]')[n ? "removeClass" : "addClass"](p), c != l.hide && i.setParentCol(!n, r), i.resize()
                                        }
                                    })
                                })
                            }
                        });
                        break;
                    case "LAYTABLE_EXPORT":
                        c.ie ? l.tips("\u5bfc\u51fa\u529f\u80fd\u4e0d\u652f\u6301 IE\uff0c\u8bf7\u7528 Chrome \u7b49\u9ad8\u7ea7\u6d4f\u89c8\u5668\u5bfc\u51fa", this, {
                            tips: 3
                        }) : s({
                            list: function () {
                                return ['<li data-type="csv">\u5bfc\u51fa\u5230 Csv \u6587\u4ef6</li>', '<li data-type="xls">\u5bfc\u51fa\u5230 Excel \u6587\u4ef6</li>'].join("")
                            }(),
                            done: function (e, l) {
                                l.on("click", function () {
                                    var e = t(this).data("type");
                                    d.exportFile.call(i, a.id, null, e)
                                })
                            }
                        });
                        break;
                    case "LAYTABLE_PRINT":
                        var u = window.open("\u6253\u5370\u7a97\u53e3", "_blank"),
                            y = ["<style>", "body{font-size: 12px; color: #666;}", "table{width: 100%; border-collapse: collapse; border-spacing: 0;}", "th,td{line-height: 20px; padding: 9px 15px; border: 1px solid #ccc; text-align: left; font-size: 12px; color: #666;}", "a{color: #666; text-decoration:none;}", "*.layui-hide{display: none}", "</style>"].join(""),
                            v = t(i.layHeader.html());
                        v.append(i.layMain.find("table").html()), v.append(i.layTotal.find("table").html()), v.find("th.layui-table-patch").remove(), v.find(".layui-table-col-special").remove(), u.document.write(y + v.prop("outerHTML")), u.document.close(), u.print(), u.close()
                            })
                        }
                    });
                    break;
                case "LAYTABLE_EXPORT":
                    c.ie ? l.tips("\u5bfc\u51fa\u529f\u80fd\u4e0d\u652f\u6301 IE\uff0c\u8bf7\u7528 Chrome \u7b49\u9ad8\u7ea7\u6d4f\u89c8\u5668\u5bfc\u51fa", this, {
                        tips: 3
                    }) : s({
                        list: function () {
                            return ['<li data-type="csv">\u5bfc\u51fa\u5230 Csv \u6587\u4ef6</li>', '<li data-type="xls">\u5bfc\u51fa\u5230 Excel \u6587\u4ef6</li>'].join("")
                        }(),
                        done: function (e, l) {
                            l.on("click", function () {
                                var e = t(this).data("type");
                                d.exportFile.call(i, a.id, null, e)
                            })
                        }
                    });
                    break;
                case "LAYTABLE_PRINT":
                    var u = window.open("\u6253\u5370\u7a97\u53e3", "_blank"),
                        y = ["<style>", "body{font-size: 12px; color: #666;}", "table{width: 100%; border-collapse: collapse; border-spacing: 0;}", "th,td{line-height: 20px; padding: 9px 15px; border: 1px solid #ccc; text-align: left; font-size: 12px; color: #666;}", "a{color: #666; text-decoration:none;}", "*.layui-hide{display: none}", "</style>"].join(""),
                        v = t(i.layHeader.html());
                    v.append(i.layMain.find("table").html()), v.append(i.layTotal.find("table").html()), v.find("th.layui-table-patch").remove(), v.find(".layui-table-col-special").remove(), u.document.write(y + v.prop("outerHTML")), u.document.close(), u.print(), u.close()
            }
            layui.event.call(this, h, "toolbar(" + f + ")", t.extend({
                event: r,
                config: a
            }, {}))
        }), s.on("mousemove", function (e) {
            var i = t(this),
                a = i.offset().left,
                l = e.clientX - a;
            i.data("unresize") || r.resizeStart || (r.allowResize = i.width() - l <= 10, o.css("cursor", r.allowResize ? "col-resize" : ""))
        }).on("mouseleave", function () {
            t(this);
            r.resizeStart || o.css("cursor", "")
        }).on("mousedown", function (e) {
            var l = t(this);
            if (r.allowResize) {
                var n = l.data("key");
                e.preventDefault(), r.resizeStart = !0, r.offset = [e.clientX, e.clientY], i.getCssRule(n, function (e) {
                    var t = e.style.width || l.outerWidth();
                    r.rule = e, r.ruleWidth = parseFloat(t), r.minWidth = l.data("minwidth") || a.cellMinWidth
                })
            }
        }), I.on("mousemove", function (t) {
            if (r.resizeStart) {
                if (t.preventDefault(), r.rule) {
                    var a = r.ruleWidth + t.clientX - r.offset[0];
                    a < r.minWidth && (a = r.minWidth), r.rule.style.width = a + "px", l.close(i.tipsIndex)
                }
                layui.event.call(this, h, "toolbar(" + f + ")", t.extend({
                    event: r,
                    config: a
                }, {}))
            }), s.on("mousemove", function (e) {
                var i = t(this),
                    a = i.offset().left,
                    l = e.clientX - a;
                i.data("unresize") || r.resizeStart || (r.allowResize = i.width() - l <= 10, o.css("cursor", r.allowResize ? "col-resize" : ""))
            }).on("mouseleave", function () {
                t(this);
                r.resizeStart || o.css("cursor", "")
            }).on("mousedown", function (e) {
                var l = t(this);
                if (r.allowResize) {
                    var n = l.data("key");
                    e.preventDefault(), r.resizeStart = !0, r.offset = [e.clientX, e.clientY], i.getCssRule(n, function (e) {
                        var t = e.style.width || l.outerWidth();
                        r.rule = e, r.ruleWidth = parseFloat(t), r.minWidth = l.data("minwidth") || a.cellMinWidth
                e = 1
            }
        }).on("mouseup", function (t) {
            r.resizeStart && (r = {}, o.css("cursor", ""), i.scrollPatch()), 2 === e && (e = null)
        }), s.on("click", function (a) {
            var l, n = t(this),
                o = n.find(A),
                r = o.attr("lay-sort");
            return o[0] && 1 !== e ? (l = "asc" === r ? "desc" : "desc" === r ? null : "asc", void i.sort(n, l, null, !0)) : e = 2
        }).find(A + " .layui-edge ").on("click", function (e) {
            var a = t(this),
                l = a.index(),
                n = a.parents("th").eq(0).data("field");
            layui.stope(e), 0 === l ? i.sort(n, "asc", null, !0) : i.sort(n, "desc", null, !0)
        });
        var v = function (e) {
            var a = t(this),
                l = a.parents("tr").eq(0).data("index"),
                n = i.layBody.find('tr[data-index="' + l + '"]'),
                o = d.cache[i.key] || [];
            return o = o[l] || {}, t.extend({
                tr: n,
                data: d.clearCacheKey(o),
                del: function () {
                    d.cache[i.key][l] = [], n.remove(), i.scrollPatch()
                },
                update: function (e) {
                    e = e || {}, layui.each(e, function (e, t) {
                        if (e in o) {
                            var a, l = n.children('td[data-field="' + e + '"]');
                            o[e] = t, i.eachCols(function (t, i) {
                                i.field == e && i.templet && (a = i.templet)
                            }), l.children(u).html(y.call(i, {
                                templet: a
                            }, t, o)), l.data("content", t)
                        }
                    })
                }
            }), I.on("mousemove", function (t) {
                if (r.resizeStart) {
                    if (t.preventDefault(), r.rule) {
                        var a = r.ruleWidth + t.clientX - r.offset[0];
                        a < r.minWidth && (a = r.minWidth), r.rule.style.width = a + "px", l.close(i.tipsIndex)
                    }
                    e = 1
                }
            }).on("mouseup", function (t) {
                r.resizeStart && (r = {}, o.css("cursor", ""), i.scrollPatch()), 2 === e && (e = null)
            }), s.on("click", function (a) {
                var l, n = t(this),
                    o = n.find(A),
                    r = o.attr("lay-sort");
                return o[0] && 1 !== e ? (l = "asc" === r ? "desc" : "desc" === r ? null : "asc", void i.sort(n, l, null, !0)) : e = 2
            }).find(A + " .layui-edge ").on("click", function (e) {
                var a = t(this),
                    l = a.index(),
                    n = a.parents("th").eq(0).data("field");
                layui.stope(e), 0 === l ? i.sort(n, "asc", null, !0) : i.sort(n, "desc", null, !0)
            });
            var v = function (e) {
                var a = t(this),
                    l = a.parents("tr").eq(0).data("index"),
                    n = i.layBody.find('tr[data-index="' + l + '"]'),
                    o = d.cache[i.key] || [];
                return o = o[l] || {}, t.extend({
                    tr: n,
                    data: d.clearCacheKey(o),
                    del: function () {
                        d.cache[i.key][l] = [], n.remove(), i.scrollPatch()
                    },
                    update: function (e) {
                        e = e || {}, layui.each(e, function (e, t) {
                            if (e in o) {
                                var a, l = n.children('td[data-field="' + e + '"]');
                                o[e] = t, i.eachCols(function (t, i) {
                                    i.field == e && i.templet && (a = i.templet)
                                }), l.children(u).html(y.call(i, {
                                    templet: a
                                }, t, o)), l.data("content", t)
                            }
                        })
                    }
                }, e)
            };
            i.elem.on("click", 'input[name="layTableCheckbox"]+', function () {
                var e = t(this).prev(),
                    a = i.layBody.find('input[name="layTableCheckbox"]'),
                    l = e.parents("tr").eq(0).data("index"),
                    n = e[0].checked,
                    o = "layTableAllChoose" === e.attr("lay-filter");
                o ? (a.each(function (e, t) {
                    t.checked = n, i.setCheckData(e, n)
                }), i.syncCheckAll(), i.renderForm("checkbox")) : (i.setCheckData(l, n), i.syncCheckAll()), layui.event.call(e[0], h, "checkbox(" + f + ")", v.call(e[0], {
                    checked: n,
                    type: o ? "all" : "one"
                }))
            }), i.elem.on("click", 'input[lay-type="layTableRadio"]+', function () {
                var e = t(this).prev(),
                    l = e[0].checked,
                    n = d.cache[i.key],
                    o = e.parents("tr").eq(0).data("index");
                layui.each(n, function (e, t) {
                    o === e ? t[a.checkName] = !0 : delete t[a.checkName]
                }), i.setThisRowChecked(o), layui.event.call(this, h, "radio(" + f + ")", v.call(this, {
                    checked: l
                }))
            }), i.layBody.on("mouseenter", "tr", function () {
                var e = t(this),
                    a = e.index();
                e.data("off") || i.layBody.find("tr:eq(" + a + ")").addClass(W)
            }).on("mouseleave", "tr", function () {
                var e = t(this),
                    a = e.index();
                e.data("off") || i.layBody.find("tr:eq(" + a + ")").removeClass(W)
            }).on("click", "tr", function () {
                m.call(this, "row")
            }).on("dblclick", "tr", function () {
                m.call(this, "rowDouble")
            });
            var m = function (e) {
                var i = t(this);
                i.data("off") || layui.event.call(this, h, e + "(" + f + ")", v.call(i.children("td")[0]))
            };
            i.layBody.on("change", "." + R, function () {
                var e = t(this),
                    a = this.value,
                    l = e.parent().data("field"),
                    n = e.parents("tr").eq(0).data("index"),
                    o = d.cache[i.key][n];
                o[l] = a, layui.event.call(this, h, "edit(" + f + ")", v.call(this, {
                    value: a,
                    field: l
                }))
            }).on("blur", "." + R, function () {
                var e, a = t(this),
                    l = this,
                    n = a.parent().data("field"),
                    o = a.parents("tr").eq(0).data("index"),
                    r = d.cache[i.key][o];
                i.eachCols(function (t, i) {
                    i.field == n && i.templet && (e = i.templet)
                }), a.siblings(u).html(function (t) {
                    return y.call(i, {
                        templet: e
                    }, t, r)
                }(l.value)), a.parent().data("content", l.value), a.remove()
            }), i.layBody.on("click", "td", function (e) {
            }, e)
        };
        i.elem.on("click", 'input[name="layTableCheckbox"]+', function () {
            var e = t(this).prev(),
                a = i.layBody.find('input[name="layTableCheckbox"]'),
                l = e.parents("tr").eq(0).data("index"),
                n = e[0].checked,
                o = "layTableAllChoose" === e.attr("lay-filter");
            o ? (a.each(function (e, t) {
                t.checked = n, i.setCheckData(e, n)
            }), i.syncCheckAll(), i.renderForm("checkbox")) : (i.setCheckData(l, n), i.syncCheckAll()), layui.event.call(e[0], h, "checkbox(" + f + ")", v.call(e[0], {
                checked: n,
                type: o ? "all" : "one"
            }))
        }), i.elem.on("click", 'input[lay-type="layTableRadio"]+', function () {
            var e = t(this).prev(),
                l = e[0].checked,
                n = d.cache[i.key],
                o = e.parents("tr").eq(0).data("index");
            layui.each(n, function (e, t) {
                o === e ? t[a.checkName] = !0 : delete t[a.checkName]
            }), i.setThisRowChecked(o), layui.event.call(this, h, "radio(" + f + ")", v.call(this, {
                checked: l
            }))
        }), i.layBody.on("mouseenter", "tr", function () {
            var e = t(this),
                a = e.index();
            e.data("off") || i.layBody.find("tr:eq(" + a + ")").addClass(W)
        }).on("mouseleave", "tr", function () {
            var e = t(this),
                a = e.index();
            e.data("off") || i.layBody.find("tr:eq(" + a + ")").removeClass(W)
        }).on("click", "tr", function () {
            m.call(this, "row")
        }).on("dblclick", "tr", function () {
            m.call(this, "rowDouble")
        });
        var m = function (e) {
            var i = t(this);
            i.data("off") || layui.event.call(this, h, e + "(" + f + ")", v.call(i.children("td")[0]))
        };
        i.layBody.on("change", "." + R, function () {
            var e = t(this),
                a = this.value,
                l = e.parent().data("field"),
                n = e.parents("tr").eq(0).data("index"),
                o = d.cache[i.key][n];
            o[l] = a, layui.event.call(this, h, "edit(" + f + ")", v.call(this, {
                value: a,
                field: l
            }))
        }).on("blur", "." + R, function () {
            var e, a = t(this),
                l = this,
                n = a.parent().data("field"),
                o = a.parents("tr").eq(0).data("index"),
                r = d.cache[i.key][o];
            i.eachCols(function (t, i) {
                i.field == n && i.templet && (e = i.templet)
            }), a.siblings(u).html(function (t) {
                return y.call(i, {
                    templet: e
                }, t, r)
            }(l.value)), a.parent().data("content", l.value), a.remove()
        }), i.layBody.on("click", "td", function (e) {
            var i = t(this),
                a = (i.data("field"), i.data("edit")),
                l = i.children(u);
            if (!i.data("off") && a) {
                var n = t('<input class="layui-input ' + R + '">');
                return n[0].value = i.data("content") || l.text(), i.find("." + R)[0] || i.append(n), n.focus(), void layui.stope(e)
            }
        }).on("mouseenter", "td", function () {
            b.call(this)
        }).on("mouseleave", "td", function () {
            b.call(this, "hide")
        });
        var g = "layui-table-grid-down",
            b = function (e) {
                var i = t(this),
                    a = (i.data("field"), i.data("edit")),
                    l = i.children(u);
                if (!i.data("off") && a) {
                    var n = t('<input class="layui-input ' + R + '">');
                    return n[0].value = i.data("content") || l.text(), i.find("." + R)[0] || i.append(n), n.focus(), void layui.stope(e)
                }
            }).on("mouseenter", "td", function () {
                b.call(this)
            }).on("mouseleave", "td", function () {
                b.call(this, "hide")
            });
            var g = "layui-table-grid-down",
                b = function (e) {
                    var i = t(this),
                        a = i.children(u);
                    if (!i.data("off"))
                        if (e) i.find(".layui-table-grid-down").remove();
                        else if (a.prop("scrollWidth") > a.outerWidth()) {
                    a = i.children(u);
                if (!i.data("off"))
                    if (e) i.find(".layui-table-grid-down").remove();
                    else if (a.prop("scrollWidth") > a.outerWidth()) {
                        if (a.find("." + g)[0]) return;
                        i.append('<div class="' + g + '"><i class="layui-icon layui-icon-down"></i></div>')
                    }
                };
            i.layBody.on("click", "." + g, function (e) {
                var n = t(this),
                    o = n.parent(),
                    r = o.children(u);
                i.tipsIndex = l.tips(['<div class="layui-table-tips-main" style="margin-top: -' + (r.height() + 16) + "px;" + function () {
                    return "sm" === a.size ? "padding: 4px 15px; font-size: 12px;" : "lg" === a.size ? "padding: 14px 15px;" : ""
                }() + '">', r.html(), "</div>", '<i class="layui-icon layui-table-tips-c layui-icon-close"></i>'].join(""), r[0], {
                    tips: [3, ""],
                    time: -1,
                    anim: -1,
                    maxWidth: c.ios || c.android ? 300 : i.elem.width() / 2,
                    isOutAnim: !1,
                    skin: "layui-table-tips",
                    success: function (e, t) {
                        e.find(".layui-table-tips-c").on("click", function () {
                            l.close(t)
                        })
                    }
                }), layui.stope(e)
            }), i.layBody.on("click", "*[lay-event]", function () {
                var e = t(this),
                    a = e.parents("tr").eq(0).data("index");
                layui.event.call(this, h, "tool(" + f + ")", v.call(this, {
                    event: e.attr("lay-event")
                })), i.setThisRowChecked(a)
            }), i.layMain.on("scroll", function () {
                var e = t(this),
                    a = e.scrollLeft(),
                    n = e.scrollTop();
                i.layHeader.scrollLeft(a), i.layTotal.scrollLeft(a), i.layFixed.find(C).scrollTop(n), l.close(i.tipsIndex)
            }), F.on("resize", function () {
                i.resize()
            })
        },
            };
        i.layBody.on("click", "." + g, function (e) {
            var n = t(this),
                o = n.parent(),
                r = o.children(u);
            i.tipsIndex = l.tips(['<div class="layui-table-tips-main" style="margin-top: -' + (r.height() + 16) + "px;" + function () {
                return "sm" === a.size ? "padding: 4px 15px; font-size: 12px;" : "lg" === a.size ? "padding: 14px 15px;" : ""
            }() + '">', r.html(), "</div>", '<i class="layui-icon layui-table-tips-c layui-icon-close"></i>'].join(""), r[0], {
                tips: [3, ""],
                time: -1,
                anim: -1,
                maxWidth: c.ios || c.android ? 300 : i.elem.width() / 2,
                isOutAnim: !1,
                skin: "layui-table-tips",
                success: function (e, t) {
                    e.find(".layui-table-tips-c").on("click", function () {
                        l.close(t)
                    })
                }
            }), layui.stope(e)
        }), i.layBody.on("click", "*[lay-event]", function (event) {
            var e = t(this),
                a = e.parents("tr").eq(0).data("index");
            layui.event.call(this, h, "tool(" + f + ")", v.call(this, {
                event: e.attr("lay-event")
            })), i.setThisRowChecked(a); layui.stope(event);//阻止冒泡
        }), i.layMain.on("scroll", function () {
            var e = t(this),
                a = e.scrollLeft(),
                n = e.scrollTop();
            i.layHeader.scrollLeft(a), i.layTotal.scrollLeft(a), i.layFixed.find(C).scrollTop(n), l.close(i.tipsIndex)
        }), F.on("resize", function () {
            i.resize()
        })
    },
        function () {
            I.on("click", function () {
                I.trigger("table.remove.tool.panel")
@@ -8482,7 +8482,7 @@
            });
            var r = function (e) {
                layui.each(e || n, function (e, t) {
                    return t.CHILD_COLS ? r(t.CHILD_COLS) : void("function" == typeof i && i(e, t))
                    return t.CHILD_COLS ? r(t.CHILD_COLS) : void ("function" == typeof i && i(e, t))
                })
            };
            r()
@@ -8492,7 +8492,7 @@
                a = [],
                l = d.cache[e] || [];
            return layui.each(l, function (e, l) {
                return "array" === layui._typeof(l) ? void i++ : void(l[d.config.checkName] && (t++, a.push(d.clearCacheKey(l))))
                return "array" === layui._typeof(l) ? void i++ : void (l[d.config.checkName] && (t++, a.push(d.clearCacheKey(l))))
            }), {
                data: a,
                isAll: !!l.length && t === l.length - i
@@ -8511,7 +8511,7 @@
                o = {
                    csv: "text/csv",
                    xls: "application/vnd.ms-excel"
                } [i],
                }[i],
                u = document.createElement("a");
            return c.ie ? r.error("IE_NOT_SUPPORT_EXPORTS") : (u.href = "data:" + o + ";charset=utf-8,\ufeff" + encodeURIComponent(function () {
                var i = [],
@@ -8761,10 +8761,10 @@
                l.text && i.next("span").text(l.value + "\u661f"), l.choose && l.choose(l.value), l.setText && l.setText(l.value)
            }), v.on("mousemove", function (e) {
                if (i.find("i").each(function () {
                        a(this).addClass(o).removeClass(r)
                    }), i.find("i:lt(" + t + ")").each(function () {
                        a(this).addClass(u).removeClass(f)
                    }), l.half) {
                    a(this).addClass(o).removeClass(r)
                }), i.find("i:lt(" + t + ")").each(function () {
                    a(this).addClass(u).removeClass(f)
                }), l.half) {
                    var c = e.pageX - a(this).offset().left;
                    c <= n / 2 && v.children("i").addClass(s).removeClass(u)
                }
@@ -8787,7 +8787,7 @@
layui.define("jquery", function (e) {
    "use strict";
    var l = layui.$,
        o = function (e) {},
        o = function (e) { },
        t = '<i class="layui-anim layui-anim-rotate layui-anim-loop layui-icon ">&#xe63e;</i>';
    o.prototype.load = function (e) {
        var o, i, n, r, a = this,
@@ -8804,15 +8804,15 @@
                h = l('<div class="layui-flow-more"><a href="javascript:;">' + d + "</a></div>");
            m.find(".layui-flow-more")[0] || m.append(h);
            var p = function (e, t) {
                    e = l(e), h.before(e), t = 0 == t || null, t ? h.html(y) : h.find("a").html(d), i = t, o = null, n && n()
                },
                e = l(e), h.before(e), t = 0 == t || null, t ? h.html(y) : h.find("a").html(d), i = t, o = null, n && n()
            },
                g = function () {
                    o = !0, h.find("a").html(t), "function" == typeof e.done && e.done(++c, p)
                };
            if (g(), h.find("a").on("click", function () {
                    l(this);
                    i || o || g()
                }), e.isLazyimg) var n = a.lazyimg({
                l(this);
                i || o || g()
            }), e.isLazyimg) var n = a.lazyimg({
                elem: e.elem + " img",
                scrollElem: e.scrollElem
            });
@@ -8941,21 +8941,21 @@
        }
    };
    var s = function (t, i, a) {
            var l = this,
                n = t.find("iframe");
            n.css({
                height: a.height
            }).on("load", function () {
                var o = n.contents(),
                    r = n.prop("contentWindow"),
                    c = o.find("head"),
                    s = e(["<style>", "*{margin: 0; padding: 0;}", "body{padding: 10px; line-height: 20px; overflow-x: hidden; word-wrap: break-word; font: 14px Helvetica Neue,Helvetica,PingFang SC,Microsoft YaHei,Tahoma,Arial,sans-serif; -webkit-box-sizing: border-box !important; -moz-box-sizing: border-box !important; box-sizing: border-box !important;}", "a{color:#01AAED; text-decoration:none;}a:hover{color:#c00}", "p{margin-bottom: 10px;}", "img{display: inline-block; border: none; vertical-align: middle;}", "pre{margin: 10px 0; padding: 10px; line-height: 20px; border: 1px solid #ddd; border-left-width: 6px; background-color: #F2F2F2; color: #333; font-family: Courier New; font-size: 12px;}", "</style>"].join("")),
                    u = o.find("body");
                c.append(s), u.attr("contenteditable", "true").css({
                    "min-height": a.height
                }).html(i.value || ""), y.apply(l, [r, n, i, a]), g.call(l, r, t, a)
            })
        },
        var l = this,
            n = t.find("iframe");
        n.css({
            height: a.height
        }).on("load", function () {
            var o = n.contents(),
                r = n.prop("contentWindow"),
                c = o.find("head"),
                s = e(["<style>", "*{margin: 0; padding: 0;}", "body{padding: 10px; line-height: 20px; overflow-x: hidden; word-wrap: break-word; font: 14px Helvetica Neue,Helvetica,PingFang SC,Microsoft YaHei,Tahoma,Arial,sans-serif; -webkit-box-sizing: border-box !important; -moz-box-sizing: border-box !important; box-sizing: border-box !important;}", "a{color:#01AAED; text-decoration:none;}a:hover{color:#c00}", "p{margin-bottom: 10px;}", "img{display: inline-block; border: none; vertical-align: middle;}", "pre{margin: 10px 0; padding: 10px; line-height: 20px; border: 1px solid #ddd; border-left-width: 6px; background-color: #F2F2F2; color: #333; font-family: Courier New; font-size: 12px;}", "</style>"].join("")),
                u = o.find("body");
            c.append(s), u.attr("contenteditable", "true").css({
                "min-height": a.height
            }).html(i.value || ""), y.apply(l, [r, n, i, a]), g.call(l, r, t, a)
        })
    },
        u = function (t) {
            var i = e("#LAY_layedit_" + t),
                a = i.prop("contentWindow");
widgets/searchL/Widget.js
@@ -392,6 +392,10 @@
                        });
                        table.on('row(test)', function (obj) {
                            that.goOnPosition([obj.data.lon, obj.data.lat], 1, obj.data);
                        });
                        table.on('tool(test)', function (obj) { //注:tool 是工具条事件名,test 是 table 原始容器的属性 lay-filter="对应的值"
                            var data = obj.data //获得当前行数据
                                , layEvent = obj.event; //获得 lay-event 对应的值
@@ -401,9 +405,6 @@
                            } else if (layEvent === 'edit') {
                                that.goOnPosition([obj.data.lon, obj.data.lat], 1, obj.data);
                            }
                        });
                        table.on('row(test)', function (obj) {
                            that.goOnPosition([obj.data.lon, obj.data.lat], 1, obj.data);
                        });
                    }
                    if (data1 != 1) {
@@ -480,9 +481,24 @@
                                that.goOnPosition([obj.data.lon, obj.data.lat], 2, obj.data);
                            }
                        });
                        table.on('row(test1)', function (obj) {
                            console.log(obj)
                            that.goOnPosition([obj.data.lon, obj.data.lat], 2, obj.data);
                        });
                        // $('.layui-table-col-special').click((e) => {
                        //     e.stopPropagation();
                        //     if(e.toElement.innerText == '视频'){
                        //     }else if(e.toElement.innerText == '定位'){
                        //     }
                        //     console.log(e.toElement.innerText);
                        // })
                        // $('#test').on('click', 'div[lay-id="test"] .layui-table-body tr', function () {
                        //     var obj = table.cache.conManager[parseInt($(this).attr('data-index'))];
                        //     console.log(obj)
                        // })
                    }
                    if (data2 != 1) {