QQ空间password加密

在这里插入图片描述
![在这里插入图片描述](https://img-blog.csdnimg.cn/ba5766c2b5d749b19b391e90aaab5871.png?x-oss-process=image/watermark,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBAbGluZ3l1bmNlbGlh,size_20,color_FFFFFF,t_70,g_se,x_16#pic_center
在这里插入图片描述
在这里插入图片描述
代码还没抠成功

var password;
// var window=global;
!function (n) {
    var i = {};
    function o(t) {
        if (i[t])
            return i[t].exports;
        var e = i[t] = {
            "i": t,
            "l": !1,
            "exports": {}
        };
        return n[t].call(e.exports, e, e.exports, o),
            e.l = !0,
            e.exports
    }
    o.m = n,
        o.c = i,
        o.d = function (t, e, n) {
            o.o(t, e) || Object.defineProperty(t, e, {
                "enumerable": !0,
                "get": n
            })
        }
        ,
        o.r = function (t) {
            "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, {
                "value": "Module"
            }),
                Object.defineProperty(t, "__esModule", {
                    "value": !0
                })
        }
        ,
        o.t = function (e, t) {
            if (1 & t && (e = o(e)),
                8 & t)
                return e;
            if (4 & t && "object" == typeof e && e && e.__esModule)
                return e;
            var n = Object.create(null);
            if (o.r(n),
                Object.defineProperty(n, "default", {
                    "enumerable": !0,
                    "value": e
                }),
                2 & t && "string" != typeof e)
                for (var i in e)
                    o.d(n, i, function (t) {
                        return e[t]
                    }
                        .bind(null, i));
            return n
        }
        ,
        o.n = function (t) {
            var e = t && t.__esModule ? function () {
                return t["default"]
            }
                : function () {
                    return t
                }
                ;
            return o.d(e, "a", e),
                e
        }
        ,
        o.o = function (t, e) {
            return Object.prototype.hasOwnProperty.call(t, e)
        }
        ,
        o.p = "",
        o(o.s = 39)
}([function (module, exports, __webpack_require__) {
    "use strict";
    Object.defineProperty(exports, "__esModule", {
        "value": !0
    }),
        exports["default"] = void 0,
        window.console || (window.console = {
            "log": function () { },
            "warn": function () { },
            "error": function () { }
        });
    var $ = function $(t) {
        return "string" == typeof t ? document.getElementById(t) : t
    }, Fb, Db, Eb, Ac;
    function Hb() {
        if (void 0 === Fb)
            if (window.localStorage)
                Fb = localStorage;
            else
                try {
                    (t = document.createElement("link")).style.display = "none",
                        t.id = Db,
                        document.getElementsByTagName("head")[0].appendChild(t),
                        t.addBehavior("#default#userdata"),
                        (Fb = t).load(Db)
                } catch (e) {
                    return void (Fb = !1)
                }
        var t;
        return 1
    }
    function Ib(t) {
        return "string" == typeof t && Eb.test(t)
    }
    function pluginBegin() {
        if (!$.sso_loadComplete)
            try {
                $.checkNPPlugin()
            } catch (t) { }
        $.sso_loadComplete = !0,
            $.report.setSpeedPoint($.plugin_isd_flag, 1, (new Date).getTime()),
            window.setTimeout(function (t) {
                $.report.isdSpeed($.plugin_isd_flag, .05)
            }, 2e3)
    }
    $.cookie = {
        "get": function (t) {
            var o = function o(t) {
                if (!t)
                    return t;
                for (; t != unescape(t);)
                    t = unescape(t);
                for (var e = ["<", ">", "'", '"', "%3c", "%3e", "%27", "%22", "%253c", "%253e", "%2527", "%2522"], n = ["&#x3c;", "&#x3e;", "&#x27;", "&#x22;", "%26%23x3c%3B", "%26%23x3e%3B", "%26%23x27%3B", "%26%23x22%3B", "%2526%2523x3c%253B", "%2526%2523x3e%253B", "%2526%2523x27%253B", "%2526%2523x22%253B"], i = 0; i < e.length; i++)
                    t = t.replace(new RegExp(e[i], "gi"), n[i]);
                return t
            };
            return o((t = document.cookie.match(RegExp("(^|;\\s*)" + t + "=([^;]*)(;|$)"))) ? unescape(t[2]) : "")
        },
        "set": function (t, e, n, i, o) {
            var r = new Date;
            o ? (r.setTime(r.getTime() + 36e5 * o),
                document.cookie = t + "=" + e + "; expires=" + r.toGMTString() + "; path=" + (i || "/") + "; " + (n ? "domain=" + n + ";" : "")) : document.cookie = t + "=" + e + "; path=" + (i || "/") + "; " + (n ? "domain=" + n + ";" : "")
        },
        "del": function (t, e, n) {
            document.cookie = t + "=; expires=Mon, 26 Jul 1997 05:00:00 GMT; path=" + (n || "/") + "; " + (e ? "domain=" + e + ";" : "")
        },
        "uin": function () {
            var t = $.cookie.get("uin");
            return t ? parseInt(t.substring(1, t.length), 10) : null
        }
    },
        $.iframe = function () {
            return new function () {
                this.id = "",
                    this.parent = null,
                    this.parentID = "",
                    this.init = function (t) {
                        var e, n, i, t = t || {};
                        (this.opt = t).initTime = +new Date,
                            t.heartBeatTime = t.heartBeatTime || 1e4,
                            t.heartBeat = t.heartBeat || "heartBeat",
                            this.__hasinit || (this.__hasinit = !0,
                                e = document.createElement("iframe"),
                                console.log("createElement iFrame opt:", t),
                                console.trace(),
                                e.name = t.name || "iframe",
                                this.id = e.id = t.id || "iframeid",
                                this.parentID = t.parentID,
                                e.style.cssText = t.iframeStyle || "z-index:999;height:100%;width:100%;position:fixed;left:0;top:0;right:0;bottom:0",
                                e.src = t.url,
                                e.scrolling = "no",
                                i = null,
                                this.parentID ? (i = document.createElement("div"),
                                    t.parentStyle && i.setAttribute("style", t.parentStyle),
                                    i.setAttribute("id", t.parentID),
                                    t.bgFilter && ((n = document.createElement("div")).setAttribute("style", "width:100%;height:100%;position: absolute;left:0;top:0;background: inherit;filter: blur(15px);"),
                                        i.appendChild(n)),
                                    i.appendChild(e),
                                    document.body.appendChild(i)) : document.body.appendChild(e),
                                this.receiveMessageFromIframePage = function (t) {
                                    switch (console.log("receiveMessageFromIframePage", t),
                                    t && t.data && t.data.msg || "") {
                                        case "exit":
                                            this.opt.onClose && this.opt.onClose(t),
                                                this.reset(t);
                                            break;
                                        case "success":
                                            this.opt.success && this.opt.success(t);
                                            break;
                                        case this.opt.heartBeat:
                                            this.opt.onload && this.opt.onload(t),
                                                this._hasHeartBeat = !0;
                                            break;
                                        case "pt_smsSubmit":
                                            this.opt.smsSubmitEvent && this.opt.smsSubmitEvent()
                                    }
                                }
                                    .bind(this),
                                this.heartBeat(t),
                                this.addListener(t))
                    }
                    ,
                    this.__hasinit = !1,
                    this._hasHeartBeat = !1,
                    this.addListener = function (t) {
                        window.addEventListener("message", this.receiveMessageFromIframePage, !1)
                    }
                    ,
                    this.postMessage = function (t) {
                        document.getElementById(this.id).contentWindow.postMessage(t, "https://ui.ptlogin2.qq.com")
                    }
                    ,
                    this.heartBeat = function (t) {
                        var e = this
                            , n = t.heartBeatTime || 1e4;
                        setTimeout(function () {
                            e._hasHeartBeat ? console.log("子页面调起成功") : (console.log("子页面调起失败"),
                                t.fail && t.fail({
                                    "msg": "子页面调起失败,timeout"
                                }))
                        }, n)
                    }
                    ,
                    this.reset = function () {
                        this.__hasinit = !1;
                        var t = document.getElementById(this.id)
                            , e = document.getElementById(this.parentID);
                        e ? document.body.removeChild(e) : t && document.body.removeChild(t),
                            window.removeEventListener("message", this.receiveMessageFromIframePage, !1)
                    }
            }
        }
        ,
        $.url = {
            "getParam": function (t, e) {
                e = e || window.location.href;
                t = new RegExp("(\\?|#|&)" + t + "=(.*?)(&|#|$)"),
                    t = e.match(t);
                return t ? decodeURIComponent(t[2]) : ""
            }
        },
        $.http = {
            "getXHR": function () {
                return window.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest
            },
            "ajax": function ajax(url, para, cb, method, type) {
                var xhr = $.http.getXHR();
                return xhr.open(method, url),
                    xhr.onreadystatechange = function () {
                        4 == xhr.readyState && (200 <= xhr.status && xhr.status < 300 || 304 === xhr.status || 1223 === xhr.status || 0 === xhr.status ? void 0 === type && xhr.responseText ? cb(eval("(" + xhr.responseText + ")")) : (cb(xhr.responseText),
                            !xhr.responseText && $.badjs._smid && $.badjs("HTTP Empty[xhr.status]:" + xhr.status, url, 0, $.badjs._smid)) : $.badjs._smid && $.badjs("HTTP Error[xhr.status]:" + xhr.status, url, 0, $.badjs._smid),
                            xhr = null)
                    }
                    ,
                    xhr.send(para),
                    xhr
            },
            "post": function (t, e, n, i) {
                var o, r = "";
                for (o in e)
                    r += "&" + o + "=" + e[o];
                return $.http.ajax(t, r, n, "POST", i)
            },
            "get": function (t, e, n, i) {
                var o, r = [];
                for (o in e)
                    r.push(o + "=" + e[o]);
                return -1 == t.indexOf("?") && (t += "?"),
                    t += r.join("&"),
                    $.http.ajax(t, null, n, "GET", i)
            },
            "jsonp": function (t) {
                var e = document.createElement("script");
                e.src = t,
                    document.getElementsByTagName("head")[0].appendChild(e)
            },
            "loadScript": function (t, e, n) {
                var i = document.createElement("script");
                i.onload = i.onreadystatechange = function () {
                    this.readyState && "loaded" !== this.readyState && "complete" !== this.readyState || ("function" == typeof e && e(),
                        i.onload = i.onreadystatechange = null,
                        i.parentNode && i.parentNode.removeChild(i))
                }
                    ,
                    i.src = t,
                    document.getElementsByTagName("head")[0].appendChild(i)
            },
            "preload": function (t) {
                document.createElement("img").src = t
            }
        },
        $.get = $.http.get,
        $.post = $.http.post,
        $.jsonp = $.http.jsonp,
        $.browser = function (t) {
            var e, n;
            return "undefined" == typeof $.browser.info && (e = {
                "type": ""
            },
                n = navigator.userAgent.toLowerCase(),
                /webkit/.test(n) ? e = {
                    "type": "webkit",
                    "version": /webkit[\/ ]([\w.]+)/
                } : /opera/.test(n) ? e = {
                    "type": "opera",
                    "version": /version/.test(n) ? /version[\/ ]([\w.]+)/ : /opera[\/ ]([\w.]+)/
                } : /msie/.test(n) ? e = {
                    "type": "msie",
                    "version": /msie ([\w.]+)/
                } : /mozilla/.test(n) && !/compatible/.test(n) && (e = {
                    "type": "ff",
                    "version": /rv:([\w.]+)/
                }),
                e.version = (e.version && e.version.exec(n) || [0, "0"])[1],
                $.browser.info = e),
                $.browser.info[t]
        }
        ,
        $.e = {
            "_counter": 0,
            "_uid": function () {
                return "h" + $.e._counter++
            },
            "add": function (e, t, n) {
                var i, o, r;
                "object" != typeof e && (e = $(e)),
                    document.addEventListener ? e.addEventListener(t, n, !1) : document.attachEvent && -1 == $.e._find(e, t, n) && (i = function i(t) {
                        t = {
                            "_event": t = t || window.event,
                            "type": t.type,
                            "target": t.srcElement,
                            "currentTarget": e,
                            "relatedTarget": t.fromElement || t.toElement,
                            "eventPhase": t.srcElement == e ? 2 : 3,
                            "clientX": t.clientX,
                            "clientY": t.clientY,
                            "screenX": t.screenX,
                            "screenY": t.screenY,
                            "altKey": t.altKey,
                            "ctrlKey": t.ctrlKey,
                            "shiftKey": t.shiftKey,
                            "keyCode": t.keyCode,
                            "data": t.data,
                            "origin": t.origin,
                            "stopPropagation": function () {
                                this._event.cancelBubble = !0
                            },
                            "preventDefault": function () {
                                this._event.returnValue = !1
                            }
                        };
                        Function.prototype.call ? n.call(e, t) : (e._currentHandler = n,
                            e._currentHandler(t),
                            e._currentHandler = null)
                    }
                        ,
                        e.attachEvent("on" + t, i),
                        o = {
                            "element": e,
                            "eventType": t,
                            "handler": n,
                            "wrappedHandler": i
                        },
                        r = (e.document || e).parentWindow,
                        t = $.e._uid(),
                        r._allHandlers || (r._allHandlers = {}),
                        r._allHandlers[t] = o,
                        e._handlers || (e._handlers = []),
                        e._handlers.push(t),
                        r._onunloadHandlerRegistered || (r._onunloadHandlerRegistered = !0,
                            r.attachEvent("onunload", $.e._removeAllHandlers)))
            },
            "remove": function (t, e, n) {
                var i, o, r;
                document.addEventListener ? t.removeEventListener(e, n, !1) : !document.attachEvent || -1 != (i = $.e._find(t, e, n)) && (o = (t.document || t).parentWindow,
                    r = t._handlers[i],
                    n = o._allHandlers[r],
                    t.detachEvent("on" + e, n.wrappedHandler),
                    t._handlers.splice(i, 1),
                    delete o._allHandlers[r])
            },
            "_find": function (t, e, n) {
                var i = t._handlers;
                if (!i)
                    return -1;
                for (var o = (t.document || t).parentWindow, r = i.length - 1; 0 <= r; r--) {
                    var a = i[r]
                        , a = o._allHandlers[a];
                    if (a.eventType == e && a.handler == n)
                        return r
                }
                return -1
            },
            "_removeAllHandlers": function () {
                for (id in this._allHandlers) {
                    var t = this._allHandlers[id];
                    t.element.detachEvent("on" + t.eventType, t.wrappedHandler),
                        delete this._allHandlers[id]
                }
            },
            "src": function (t) {
                return t ? t.target : event.srcElement
            },
            "stopPropagation": function (t) {
                t ? t.stopPropagation() : event.cancelBubble = !0
            },
            "trigger": function (t, e) {
                var n = {
                    "HTMLEvents": "abort,blur,change,error,focus,load,reset,resize,scroll,select,submit,unload",
                    "UIEevents": "keydown,keypress,keyup",
                    "MouseEvents": "click,mousedown,mousemove,mouseout,mouseover,mouseup"
                };
                if (document.createEvent) {
                    var i, o = "";
                    for (i in "mouseleave" == e && (e = "mouseout"),
                        "mouseenter" == e && (e = "mouseover"),
                        n)
                        if (n[i].indexOf(e)) {
                            o = i;
                            break
                        }
                    var r = document.createEvent(o);
                    r.initEvent(e, !0, !1),
                        t.dispatchEvent(r)
                } else
                    document.createEventObject && t.fireEvent("on" + e)
            }
        },
        $.bom = {
            "query": function (t) {
                t = window.location.search.match(new RegExp("(\\?|&)" + t + "=([^&]*)(&|$)"));
                return t ? decodeURIComponent(t[2]) : ""
            },
            "getHash": function (t) {
                t = window.location.hash.match(new RegExp("(#|&)" + t + "=([^&]*)(&|$)"));
                return t ? decodeURIComponent(t[2]) : ""
            }
        },
        $.winName = {
            "set": function (t, e) {
                var n = window.name || "";
                n.match(new RegExp(";" + t + "=([^;]*)(;|$)")) ? window.name = n.replace(new RegExp(";" + t + "=([^;]*)"), ";" + t + "=" + e) : window.name = n + ";" + t + "=" + e
            },
            "get": function (t) {
                t = (window.name || "").match(new RegExp(";" + t + "=([^;]*)(;|$)"));
                return t ? t[1] : ""
            },
            "clear": function (t) {
                var e = window.name || "";
                window.name = e.replace(new RegExp(";" + t + "=([^;]*)"), "")
            }
        },
        $.localData = (Db = "ptlogin2.qq.com",
            Eb = /^[0-9A-Za-z_-]*$/,
        {
            "set": function (t, e) {
                var n = !1;
                if (Ib(t) && Hb())
                    try {
                        e += "",
                            n = window.localStorage ? (Fb.setItem(t, e),
                                !0) : (Fb.setAttribute(t, e),
                                    Fb.save(Db),
                                    Fb.getAttribute(t) === e)
                    } catch (i) { }
                return n
            },
            "get": function (t) {
                if (Ib(t) && Hb())
                    try {
                        return window.localStorage ? Fb.getItem(t) : Fb.getAttribute(t)
                    } catch (e) { }
                return null
            },
            "remove": function (t) {
                if (Ib(t) && Hb())
                    try {
                        return window.localStorage ? Fb.removeItem(t) : Fb.removeAttribute(t),
                            !0
                    } catch (e) { }
                return !1
            }
        }),
        $.str = function () {
            var htmlDecodeDict = {
                "quot": '"',
                "lt": "<",
                "gt": ">",
                "amp": "&",
                "nbsp": " ",
                "#34": '"',
                "#60": "<",
                "#62": ">",
                "#38": "&",
                "#160": " "
            }
                , htmlEncodeDict = {
                    '"': "#34",
                    "<": "#60",
                    ">": "#62",
                    "&": "#38",
                    " ": "#160"
                };
            return {
                "decodeHtml": function (t) {
                    return (t += "").replace(/&(quot|lt|gt|amp|nbsp);/gi, function (t, e) {
                        return htmlDecodeDict[e]
                    }).replace(/&#u([a-f\d]{4});/gi, function (t, e) {
                        return String.fromCharCode(parseInt("0x" + e))
                    }).replace(/&#(\d+);/gi, function (t, e) {
                        return String.fromCharCode(+e)
                    })
                },
                "encodeHtml": function (t) {
                    return (t += "").replace(/["<>& ]/g, function (t) {
                        return "&" + htmlEncodeDict[t] + ";"
                    })
                },
                "trim": function (t) {
                    for (var e = /\s/, n = (t = (t += "").replace(/^\s+/, "")).length; e.test(t.charAt(--n));)
                        ;
                    return t.slice(0, n + 1)
                },
                "uin2hex": function uin2hex(str) {
                    var maxLength = 16;
                    str = parseInt(str);
                    for (var hex = str.toString(16), len = hex.length, i = len; i < maxLength; i++)
                        hex = "0" + hex;
                    for (var arr = [], j = 0; j < maxLength; j += 2)
                        arr.push("\\x" + hex.substr(j, 2));
                    var result = arr.join("");
                    return eval('result="' + result + '"'),
                        result
                },
                "bin2String": function (t) {
                    for (var e = [], n = 0, i = t.length; n < i; n++) {
                        var o = t.charCodeAt(n).toString(16);
                        1 == o.length && (o = "0" + o),
                            e.push(o)
                    }
                    return e = "0x" + e.join(""),
                        e = parseInt(e, 16)
                },
                "str2bin": function str2bin(str) {
                    for (var arr = [], i = 0; i < str.length; i += 2)
                        arr.push(eval("'\\x" + str.charAt(i) + str.charAt(i + 1) + "'"));
                    return arr.join("")
                },
                "utf8ToUincode": function (t) {
                    var e = "";
                    try {
                        var n = t.length
                            , o = [];
                        for (i = 0; i < n; i += 2)
                            o.push("%" + t.substr(i, 2));
                        e = decodeURIComponent(o.join("")),
                            e = $.str.decodeHtml(e)
                    } catch (r) {
                        e = ""
                    }
                    return e
                },
                "json2str": function (t) {
                    var e = "";
                    if ("undefined" != typeof JSON)
                        e = JSON.stringify(t);
                    else {
                        var n, i = [];
                        for (n in t)
                            i.push('"' + n + '":"' + t[n] + '"');
                        e = "{" + i.join(",") + "}"
                    }
                    return e
                },
                "time33": function (t) {
                    for (var e = 0, n = 0, i = t.length; n < i; n++)
                        e = (33 * e + t.charCodeAt(n)) % 4294967296;
                    return e
                },
                "hash33": function (t) {
                    for (var e = 0, n = 0, i = t.length; n < i; ++n)
                        e += (e << 5) + t.charCodeAt(n);
                    return 2147483647 & e
                }
            }
        }(),
        $.css = (Ac = document.documentElement,
        {
            "getComputedStyle": function (t) {
                return window.getComputedStyle ? window.getComputedStyle(t) : t.currentStyle
            },
            "getCurrentPixelStyle": function (t, e) {
                if (window.getComputedStyle)
                    var n = parseInt(window.getComputedStyle(t)[e]);
                else {
                    if ("auto" === (n = t.currentStyle[e] || 0))
                        switch (e || "") {
                            case "width":
                            case "height":
                                return t.offsetHeight
                        }
                    var i = t.style.left
                        , o = t.runtimeStyle.left;
                    t.runtimeStyle.left = t.currentStyle.left,
                        t.style.left = "fontSize" === e ? "1em" : n,
                        n = t.style.pixelLeft + "px",
                        t.style.left = i,
                        t.runtimeStyle.left = o
                }
                return parseInt(n)
            },
            "getPageScrollTop": function () {
                return window.pageYOffset || Ac.scrollTop || document.body.scrollTop || 0
            },
            "getPageScrollLeft": function () {
                return window.pageXOffset || Ac.scrollLeft || document.body.scrollLeft || 0
            },
            "getOffsetPosition": function (t) {
                t = $(t);
                var e = 0
                    , n = 0;
                if (Ac.getBoundingClientRect && t.getBoundingClientRect)
                    var i = t.getBoundingClientRect()
                        , o = Ac.clientTop || document.body.clientTop || 0
                        , r = Ac.clientLeft || document.body.clientLeft || 0
                        , e = i.top + this.getPageScrollTop() - o
                        , n = i.left + this.getPageScrollLeft() - r;
                else
                    for (; e += t.offsetTop || 0,
                        n += t.offsetLeft || 0,
                        t = t.offsetParent,
                        t;)
                        ;
                return {
                    "left": n,
                    "top": e
                }
            },
            "getWidth": function (t) {
                return $(t).offsetWidth
            },
            "getHeight": function (t) {
                return $(t).offsetHeight
            },
            "show": function (t) {
                t.style.display = "block"
            },
            "hide": function (t) {
                t.style.display = "none"
            },
            "hasClass": function (t, e) {
                if (!t.className)
                    return !1;
                for (var n = t.className.split(" "), i = 0, o = n.length; i < o; i++)
                    if (e == n[i])
                        return !0;
                return !1
            },
            "addClass": function (t, e) {
                $.css.updateClass(t, e, !1)
            },
            "removeClass": function (t, e) {
                $.css.updateClass(t, !1, e)
            },
            "updateClass": function (t, e, n) {
                for (var i = t.className.split(" "), o = {}, r = 0, a = i.length; r < a; r++)
                    i[r] && (o[i[r]] = !0);
                if (e)
                    for (var l = e.split(" "), r = 0, a = l.length; r < a; r++)
                        l[r] && (o[l[r]] = !0);
                if (n) {
                    var s = n.split(" ");
                    for (r = 0,
                        a = s.length; r < a; r++)
                        s[r] && delete o[s[r]]
                }
                var u, c = [];
                for (u in o)
                    c.push(u);
                t.className = c.join(" ")
            },
            "setClass": function (t, e) {
                t.className = e
            }
        }),
        $.animate = {
            "fade": function (t, e, n, i, o) {
                var r, a, l, s, u, c, d;
                (t = $(t)) && (t.effect || (t.effect = {}),
                    r = Object.prototype.toString.call(e),
                    a = 100,
                    isNaN(e) ? "[object Object]" == r && e && e.to && (isNaN(e.to) || (a = e.to),
                        isNaN(e.from) || (t.style.opacity = e.from / 100,
                            t.style.filter = "alpha(opacity=" + e.from + ")")) : a = e,
                    "undefined" == typeof t.effect.fade && (t.effect.fade = 0),
                    window.clearInterval(t.effect.fade),
                    n = n || 1,
                    i = i || 20,
                    l = window.navigator.userAgent.toLowerCase(),
                    s = function s(t) {
                        var e;
                        return t = -1 != l.indexOf("msie") ? 0 <= (e = (t.currentStyle || {}).filter || "").indexOf("opacity") ? parseFloat(e.match(/opacity=([^)]*)/)[1]) + "" : "100" : 100 * ((e = (e = t.ownerDocument.defaultView) && e.getComputedStyle) && e(t, null)["opacity"] || 1),
                            parseFloat(t)
                    }
                    ,
                    u = s(t),
                    c = u < a ? 1 : -1,
                    -1 != l.indexOf("msie") && i < 15 && (n = Math.floor(15 * n / i),
                        i = 15),
                    d = function d() {
                        u += n * c,
                            0 <= (Math.round(u) - a) * c ? (t.style.opacity = a / 100,
                                t.style.filter = "alpha(opacity=" + a + ")",
                                window.clearInterval(t.effect.fade),
                                "function" == typeof o && o(t)) : (t.style.opacity = u / 100,
                                    t.style.filter = "alpha(opacity=" + u + ")")
                    }
                    ,
                    t.effect.fade = window.setInterval(d, i))
            },
            "animate": function (n, i, o, t, r) {
                if (n = $(n)) {
                    for (var e in n.effect || (n.effect = {}),
                        "undefined" == typeof n.effect.animate && (n.effect.animate = 0),
                        i)
                        i[e] = parseInt(i[e]) || 0;
                    window.clearInterval(n.effect.animate);
                    var o = o || 10
                        , t = t || 20
                        , a = function a(t) {
                            return {
                                "left": t.offsetLeft,
                                "top": t.offsetTop
                            }
                        }
                        , l = a(n)
                        , s = {
                            "width": n.clientWidth,
                            "height": n.clientHeight,
                            "left": l.left,
                            "top": l.top
                        }
                        , u = [];
                    -1 != window.navigator.userAgent.toLowerCase().indexOf("msie") && "BackCompat" == document.compatMode || (d = document.defaultView ? document.defaultView.getComputedStyle(n, null) : n.currentStyle,
                        l = i.width || 0 == i.width ? parseInt(i.width) : null,
                        c = i.height || 0 == i.height ? parseInt(i.height) : null,
                        "number" == typeof l && (u.push("width"),
                            i.width = l - d.paddingLeft.replace(/\D/g, "") - d.paddingRight.replace(/\D/g, "")),
                        "number" == typeof c && (u.push("height"),
                            i.height = c - d.paddingTop.replace(/\D/g, "") - d.paddingBottom.replace(/\D/g, "")),
                        t < 15 && (o = Math.floor(15 * o / t),
                            t = 15));
                    var c = i.left || 0 == i.left ? parseInt(i.left) : null
                        , d = i.top || 0 == i.top ? parseInt(i.top) : null;
                    "number" == typeof c && (u.push("left"),
                        n.style.position = "absolute"),
                        "number" == typeof d && (u.push("top"),
                            n.style.position = "absolute");
                    for (var f = [], p = u.length, e = 0; e < p; e++)
                        f[u[e]] = s[u[e]] < i[u[e]] ? 1 : -1;
                    var h = n.style
                        , g = function g() {
                            for (var t = !0, e = 0; e < p; e++)
                                s[u[e]] = s[u[e]] + f[u[e]] * Math.abs(i[u[e]] - s[u[e]]) * o / 100,
                                    0 <= (Math.round(s[u[e]]) - i[u[e]]) * f[u[e]] ? (t = t && !0,
                                        h[u[e]] = i[u[e]] + "px") : (t = t && !1,
                                            h[u[e]] = s[u[e]] + "px");
                            t && (window.clearInterval(n.effect.animate),
                                "function" == typeof r && r(n))
                        };
                    n.effect.animate = window.setInterval(g, t)
                }
            },
            "animate2": function (t, e, n, i, o) {
                var r, n = n || 1, i = i || 20, a = $(t), l = $.css.getComputedStyle(a), s = {}, u = {};
                for (r in e)
                    s[r] = l[r].replace(/[-\d\s]/g, "") || e[r].replace(/[-\d\s]/g, "") || "",
                        e[r] = parseFloat(e[r]),
                        u[r] = parseFloat(l[r]);
                var c = 100 / n
                    , d = 0
                    , f = setInterval(function () {
                        if (d++ >= c)
                            clearInterval(f);
                        else
                            for (var t in e)
                                a.style[t] = (e[t] - u[t]) * d / c + u[t] + s[t]
                    }, i)
            }
        },
        $.check = {
            "isHttps": function () {
                return "https:" == document.location.protocol
            },
            "isSsl": function () {
                var t = document.location.host;
                return /^ssl./i.test(t)
            },
            "isIpad": function () {
                var t = navigator.userAgent.toLowerCase();
                return /ipad/i.test(t)
            },
            "isQQ": function (t) {
                return /^[1-9]{1}\d{4,9}$/.test(t)
            },
            "isQQMail": function (t) {
                return /^[1-9]{1}\d{4,9}@qq\.com$/.test(t)
            },
            "isNullQQ": function (t) {
                return /^\d{1,4}$/.test(t)
            },
            "isNick": function (t) {
                return /^[a-zA-Z]{1}([a-zA-Z0-9]|[-_]){0,19}$/.test(t)
            },
            "isName": function (t) {
                return "<请输入帐号>" != t && /[\u4E00-\u9FA5]{1,8}/.test(t)
            },
            "isPhone": function (t) {
                return /^(?:86|886|)1\d{10}\s*$/.test(t)
            },
            "isSeaPhone": function (t) {
                return /^(00)?(?:852|853|886(0)?\d{1})\d{8}$/.test(t)
            },
            "isMail": function (t) {
                return /^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(t)
            },
            "isQiyeQQ800": function (t) {
                return /^(800)\d{7}$/.test(t)
            },
            "isPassword": function (t) {
                return t && 16 <= t.length
            },
            "isForeignPhone": function (t) {
                return /^00\d{7,}/.test(t)
            },
            "needVip": function (t) {
                for (var e = ["21001601", "21000110", "21000121", "46000101", "716027609", "716027610", "549000912", "637009801"], n = !0, i = 0, o = e.length; i < o; i++)
                    if (e[i] == t) {
                        n = !1;
                        break
                    }
                return n
            },
            "isPaipai": function () {
                return /paipai.com$/.test(window.location.hostname)
            },
            "is_weibo_appid": function (t) {
                return 46000101 == t || 607000101 == t || 558032501 == t || 682023901 == t
            }
        },
        $.report = {
            "monitor": function (t, e) {
                if (!(Math.random() > (e || 1)))
                    try {
                        var n = location.protocol + "//ui.ptlogin2.qq.com/cgi-bin/report?id=" + t;
                        $.http.preload(n)
                    } catch (i) { }
            },
            "nlog": function (t, e, n, i) {
                if (!(Math.random() >= (n || 1)))
                    try {
                        var o = "//ui.ptlogin2.qq.com/cgi-bin/report?"
                            , r = encodeURIComponent(t + "|_|" + location.href + "|_|" + window.navigator.userAgent);
                        i && (o += "u=" + i + "&"),
                            o += "id=" + (e = e || 0) + "&msg=" + r + "&v=" + Math.random(),
                            $.http.preload(o)
                    } catch (a) { }
            },
            "simpleIsdSpeed": function (t, e) {
                Math.random() < (e || 1) && (e = "http://isdspeed.qq.com/cgi-bin/r.cgi?",
                    $.check.isHttps() && (e = "https://huatuospeed.weiyun.com/cgi-bin/r.cgi?"),
                    e += t,
                    $.http.preload(e))
            },
            "isdSpeed": function (t, e) {
                var n = !1
                    , i = "http://isdspeed.qq.com/cgi-bin/r.cgi?";
                if ($.check.isHttps() && (i = "https://huatuospeed.weiyun.com/cgi-bin/r.cgi?"),
                    i += t,
                    Math.random() < (e || 1)) {
                    var o, r = $.report.getSpeedPoints(t);
                    for (o in r)
                        r[o] && r[o] < 3e4 && (i += "&" + o + "=" + r[o],
                            n = !0);
                    i += "&v=" + Math.random(),
                        n && $.http.preload(i)
                }
                $.report.setSpeedPoint(t)
            },
            "speedPoints": {},
            "basePoint": {},
            "setBasePoint": function (t, e) {
                $.report.basePoint[t] = e
            },
            "setSpeedPoint": function (t, e, n) {
                e ? ($.report.speedPoints[t] || ($.report.speedPoints[t] = {}),
                    $.report.speedPoints[t][e] = n - $.report.basePoint[t]) : $.report.speedPoints[t] = {}
            },
            "setSpeedPoints": function (t, e) {
                $.report.speedPoints[t] = e
            },
            "getSpeedPoints": function (t) {
                return $.report.speedPoints[t]
            }
        },
        $.sso_ver = 0,
        $.sso_state = 0,
        $.plugin_isd_flag = "",
        $.nptxsso = null,
        $.activetxsso = null,
        $.sso_loadComplete = !0,
        $.np_clock = 0,
        $.loginQQnum = 0,
        $.suportActive = function () {
            var t = !0;
            try {
                window.ActiveXObject || window.ActiveXObject.prototype ? (t = !0,
                    window.ActiveXObject.prototype && !window.ActiveXObject && $.report.nlog("activeobject 判断有问题")) : t = !1
            } catch (e) {
                t = !1
            }
            return t
        }
        ,
        $.getLoginQQNum = function () {
            try {
                var t = 0;
                if ($.suportActive()) {
                    $.plugin_isd_flag = "flag1=7808&flag2=1&flag3=20",
                        $.report.setBasePoint($.plugin_isd_flag, new Date);
                    var e = new ActiveXObject("SSOAxCtrlForPTLogin.SSOForPTLogin2")
                        , n = ($.activetxsso = e).CreateTXSSOData();
                    e.InitSSOFPTCtrl(0, n);
                    t = e.DoOperation(2, n).GetArray("PTALIST").GetSize();
                    try {
                        var i = e.QuerySSOInfo(1);
                        $.sso_ver = i.GetInt("nSSOVersion")
                    } catch (a) {
                        $.sso_ver = 0
                    }
                } else if (navigator.mimeTypes["application/nptxsso"])
                    if ($.plugin_isd_flag = "flag1=7808&flag2=1&flag3=21",
                        $.report.setBasePoint($.plugin_isd_flag, (new Date).getTime()),
                        $.nptxsso || ($.nptxsso = document.createElement("embed"),
                            $.nptxsso.type = "application/nptxsso",
                            $.nptxsso.style.width = "0px",
                            $.nptxsso.style.height = "0px",
                            document.body.appendChild($.nptxsso)),
                        "function" != typeof $.nptxsso.InitPVANoST)
                        $.sso_loadComplete = !1,
                            $.report.nlog("没有找到插件的InitPVANoST方法", 269929);
                    else {
                        $.nptxsso.InitPVANoST() && (t = $.nptxsso.GetPVACount(),
                            $.sso_loadComplete = !0);
                        try {
                            $.sso_ver = $.nptxsso.GetSSOVersion()
                        } catch (a) {
                            $.sso_ver = 0
                        }
                    }
                else
                    $.report.nlog("插件没有注册成功", 263744),
                        $.sso_state = 2
            } catch (a) {
                var o = null;
                try {
                    o = $.http.getXHR()
                } catch (a) {
                    return 0
                }
                var r = a.message || a;
                return /^pt_windows_sso/.test(r) ? (/^pt_windows_sso_\d+_3/.test(r) ? $.report.nlog("QQ插件不支持该url" + a.message, 326044) : $.report.nlog("QQ插件抛出内部错误" + a.message, 325361),
                    $.sso_state = 1) : o && "msie" == $.browser("type") ? "Win64" != window.navigator.platform ? ($.report.nlog("可能没有安装QQ" + a.message, 322340),
                        $.sso_state = 2) : $.report.nlog("使用64位IE" + a.message, 343958) : ($.report.nlog("获取登录QQ号码出错" + a.message, 263745),
                            window.ActiveXObject && "Win32" == window.navigator.platform && ($.sso_state = 1)),
                    0
            }
            return $.loginQQnum = t
        }
        ,
        $.checkNPPlugin = function () {
            var t = 10;
            window.clearInterval($.np_clock),
                $.np_clock = window.setInterval(function () {
                    "function" == typeof $.nptxsso.InitPVANoST || 0 == t ? (window.clearInterval($.np_clock),
                        "function" == typeof $.nptxsso.InitPVANoST && pt.plogin.auth()) : t--
                }, 200)
        }
        ,
        $.guanjiaPlugin = null,
        $.initGuanjiaPlugin = function () {
            try {
                window.ActiveXObject ? $.guanjiaPlugin = new ActiveXObject("npQMExtensionsIE.Basic") : navigator.mimeTypes["application/qqpcmgr-extensions-mozilla"] && ($.guanjiaPlugin = document.createElement("embed"),
                    $.guanjiaPlugin.type = "application/qqpcmgr-extensions-mozilla",
                    $.guanjiaPlugin.style.width = "0px",
                    $.guanjiaPlugin.style.height = "0px",
                    document.body.appendChild($.guanjiaPlugin));
                var t = $.guanjiaPlugin.QMGetVersion().split(".");
                4 == t.length && 9319 <= t[2] || ($.guanjiaPlugin = null)
            } catch (e) {
                $.guanjiaPlugin = null
            }
        }
        ,
        "" != $.cookie.get("nohost_guid") && $.http.loadScript("/nohost_htdocs/js/SwitchHost.js", function () {
            var t = window["SwitchHost"] && window["SwitchHost"].init;
            t && t()
        }),
        document.getElementsByClassName || (document.getElementsByClassName = function (t) {
            for (var e = [], n = new RegExp("(^| )" + t + "( |$)"), i = document.getElementsByTagName("*"), o = 0, r = i.length; o < r; o++)
                n.test(i[o].className) && e.push(i[o]);
            return e
        }
        );
    var _default = $;
    exports["default"] = _default
}
    , function (t, e) {
        var n = function () {
            return this
        }();
        try {
            n = n || new Function("return this")()
        } catch (i) {
            "object" == typeof window && (n = window)
        }
        t.exports = n
    }
    , function (t, e, n) {
        "use strict";
        Object.defineProperty(e, "__esModule", {
            "value": !0
        }),
            e.getCallerName = e.logger = void 0;
        var l = (new Date).getTime()
            , s = function s(t, e, n) {
                return String.prototype.padStart ? String.prototype.padStart.call(t, e, n) : t
            }
            , i = 1
            , o = 10
            , r = 100
            , a = o
            , u = function u(t) {
                return ""
            };
        e.getCallerName = u;
        var c = function c() {
            var t = new Date
                , e = s(String(t.getMonth() + 1), 2, "0")
                , n = s(String(t.getDate()), 2, "0")
                , i = s(String(t.getHours()), 2, "0")
                , o = s(String(t.getMinutes()), 2, "0")
                , r = s(String(t.getSeconds()), 2, "0")
                , a = s(String(t.getUTCMilliseconds()), 3, "0");
            return "".concat(t.getFullYear(), "-").concat(e, "-").concat(n, " ").concat(i, ":").concat(o, ":").concat(r, " ").concat(a)
        }
            , d = function d(t, e) {
                for (var n, i = arguments.length, o = new Array(2 < i ? i - 2 : 0), r = 2; r < i; r++)
                    o[r - 2] = arguments[r];
                try {
                    if (!window.console || !window.console.log || "function" != typeof window.console.log)
                        return;
                    if ((n = console).log.apply(n, ["".concat(c(), " [").concat(l, "][").concat(t.toUpperCase(), "]").concat(e ? "[".concat(e, "]") : "")].concat(o)),
                        !window.g_aegis || !window.g_aegis.info)
                        return void console.log("aegis instance is null, do not report");
                    if (!o || !o.join)
                        return void console.log("illegal args:", o);
                    (n = window.g_aegis).info.apply(n, ["".concat(c(), " [").concat(t.toUpperCase(), "][").concat(l, "]").concat(e ? "[".concat(e, "]") : "")].concat(o))
                } catch (a) {
                    console.log("[ERROR] error occured when print log", a)
                }
            }
            , f = {
                "log": function () {
                    if (!(i < a)) {
                        for (var t = arguments.length, e = new Array(t), n = 0; n < t; n++)
                            e[n] = arguments[n];
                        d.apply(void 0, [" log  ", "".concat(u(3))].concat(e))
                    }
                },
                "info": function () {
                    if (!(o < a)) {
                        for (var t = arguments.length, e = new Array(t), n = 0; n < t; n++)
                            e[n] = arguments[n];
                        d.apply(void 0, [" info ", "".concat(u(3))].concat(e))
                    }
                },
                "warn": function () {
                    if (!(r < a)) {
                        for (var t = arguments.length, e = new Array(t), n = 0; n < t; n++)
                            e[n] = arguments[n];
                        d.apply(void 0, [" warn ", "".concat(u(3))].concat(e))
                    }
                },
                "error": function () {
                    for (var t = arguments.length, e = new Array(t), n = 0; n < t; n++)
                        e[n] = arguments[n];
                    d.apply(void 0, [" error", "".concat(u(3))].concat(e))
                }
            };
        e.logger = f
    }
    , function (t, e, n) {
        "use strict";
        e["a"] = function (e) {
            var n = this.constructor;
            return this.then(function (t) {
                return n.resolve(e()).then(function () {
                    return t
                })
            }, function (t) {
                return n.resolve(e()).then(function () {
                    return n.reject(t)
                })
            })
        }
    }
    , function (t, e, n) {
        "use strict";
        e["a"] = function (n) {
            return new this(function (i, t) {
                if (!n || "undefined" == typeof n.length)
                    return t(new TypeError(typeof n + " " + n + " is not iterable(cannot read property Symbol(Symbol.iterator))"));
                var o = Array.prototype.slice.call(n);
                if (0 === o.length)
                    return i([]);
                var r = o.length;
                for (var e = 0; e < o.length; e++)
                    !function a(e, t) {
                        if (t && ("object" == typeof t || "function" == typeof t)) {
                            var n = t.then;
                            if ("function" == typeof n)
                                return void n.call(t, function (t) {
                                    a(e, t)
                                }, function (t) {
                                    o[e] = {
                                        "status": "rejected",
                                        "reason": t
                                    },
                                        0 == --r && i(o)
                                })
                        }
                        o[e] = {
                            "status": "fulfilled",
                            "value": t
                        },
                            0 == --r && i(o)
                    }(e, o[e])
            }
            )
        }
    }
    , function (t, e, n) {
        "use strict";
        Object.defineProperty(e, "__esModule", {
            "value": !0
        }),
            e["default"] = void 0;
        var s = {
            "PADCHAR": "=",
            "ALPHA": "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
            "getbyte": function (t, e) {
                e = t.charCodeAt(e);
                if (255 < e)
                    throw "INVALID_CHARACTER_ERR: DOM Exception 5";
                return e
            },
            "encode": function (t) {
                if (1 != arguments.length)
                    throw "SyntaxError: Not enough arguments";
                var e, n, i = s.PADCHAR, o = s.ALPHA, r = s.getbyte, a = [], l = (t = "" + t).length - t.length % 3;
                if (0 == t.length)
                    return t;
                for (e = 0; e < l; e += 3)
                    n = r(t, e) << 16 | r(t, e + 1) << 8 | r(t, e + 2),
                        a.push(o.charAt(n >> 18)),
                        a.push(o.charAt(n >> 12 & 63)),
                        a.push(o.charAt(n >> 6 & 63)),
                        a.push(o.charAt(63 & n));
                switch (t.length - l) {
                    case 1:
                        n = r(t, e) << 16,
                            a.push(o.charAt(n >> 18) + o.charAt(n >> 12 & 63) + i + i);
                        break;
                    case 2:
                        n = r(t, e) << 16 | r(t, e + 1) << 8,
                            a.push(o.charAt(n >> 18) + o.charAt(n >> 12 & 63) + o.charAt(n >> 6 & 63) + i)
                }
                return a.join("")
            }
        };
        e["default"] = s
    }
    , function (t, e) {
        var i = Object.defineProperty;
        i && function () {
            var t = {};
            try {
                for (var e in i(t, "x", {
                    "enumerable": !1,
                    "value": t
                }),
                    t)
                    return !1;
                return t.x === t
            } catch (n) {
                return !1
            }
        }() || (Object.defineProperty = function (t, e, n) {
            if (i && 1 == t.nodeType)
                return i(t, e, n);
            t[e] = n.value || n.get && n.get()
        }
            )
    }
    , function (t, e, n) {
        "use strict";
        Function.prototype.bind || (Function.prototype.bind = function (t) {
            if ("function" != typeof this)
                throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");
            var e = Array.prototype.slice.call(arguments, 1)
                , n = this
                , i = function i() { }
                , o = function o() {
                    return n.apply(this instanceof i && t ? this : t, e.concat(Array.prototype.slice.call(arguments)))
                };
            return i.prototype = this.prototype,
                o.prototype = new i,
                o
        }
        )
    }
    , function (t, e, n) {
        "use strict";
        Object.defineProperty(e, "__esModule", {
            "value": !0
        }),
            e.HTTP_CODE = e.RET_CODE = e.TYPE = e.report007 = void 0;
        var i = function () {
            return (i = Object.assign || function (t) {
                for (var e, n = 1, i = arguments.length; n < i; n++)
                    for (var o in e = arguments[n])
                        Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
                return t
            }
            ).apply(this, arguments)
        }
            , o = {
                "SUCCESS": 0,
                "FAILED": 1
            };
        e.TYPE = o;
        var r = {
            "OK": 200,
            "SERVER_INTERNAL_ERROR": 500,
            "TIMEOUT": 504
        };
        e.HTTP_CODE = r;
        var a = {
            "OK": 0,
            "UNKNOW": 9998,
            "MEANINGLESS": 9999,
            "JSON_PARSE_ERROR": 9997,
            "EMPTY_RESPONSE_BODY": 9996
        };
        e.RET_CODE = a;
        var l = function l(t) {
            var e;
            t.cgi ? (e = i({
                "app": "ptlogin",
                "type": o.FAILED,
                "retcode": a.UNKNOW,
                "cost": 10086
            }, t),
                t.httpcode !== r.OK && (e.retcode = a.MEANINGLESS),
                e = "https://report.qqweb.qq.com/report/007?app=" + encodeURIComponent(e.app) + "&url=" + encodeURIComponent(e.cgi) + "&type=" + e.type + "&httpcode=" + e.httpcode + "&retcode=" + e.retcode + "&cost=" + e.cost,
                (new Image).src = e) : console.log("cgi 为空,忽略上报")
        };
        e.report007 = l
    }
    , function (t, e, n) {
        "use strict";
        Object.defineProperty(e, "__esModule", {
            "value": !0
        }),
            e["default"] = void 0;
        var a = i(n(10))
            , l = i(n(11))
            , s = i(n(5));
        function i(t) {
            return t && t.__esModule ? t : {
                "default": t
            }
        }
        var o, r, d, n = (o = 1,
            r = 8,
            d = 32,
        {
            "getEncryption": function (t, e, n, i) {
                n = n || "",
                    t = t || "";
                for (var i = i ? t : u(t), t = u(w(i) + e), n = l["default"].strToBytes(n.toUpperCase(), !0), o = Number(n.length / 2).toString(16); o.length < 4;)
                    o = "0" + o;
                l["default"].initkey(t),
                    n = l["default"].encrypt(i + l["default"].strToBytes(e) + o + n),
                    l["default"].initkey("");
                for (var r = Number(n.length / 2).toString(16); r.length < 4;)
                    r = "0" + r;
                return n = a["default"].rsa_encrypt(w(r + n)),
                    setTimeout(function () {
                        !function (t, e) {
                            if (!(Math.random() > (e || 1)))
                                try {
                                    var n = location.protocol + "//ui.ptlogin2.qq.com/cgi-bin/report?id=" + t;
                                    document.createElement("img").src = n
                                } catch (i) { }
                        }(488358, 1)
                    }, 0),
                    s["default"].encode(w(n)).replace(/[\/\+=]/g, function (t) {
                        return {
                            "/": "-",
                            "+": "*",
                            "=": "_"
                        }[t]
                    })
            },
            "getRSAEncryption": function (t, e, n) {
                return e = (n ? t : u(t)) + e.toUpperCase(),
                    a["default"].rsa_encrypt(e)
            },
            "md5": u
        });
        function u(t) {
            return v(c(y(t = t), t.length * r))
        }
        function c(t, e) {
            t[e >> 5] |= 128 << e % 32,
                t[14 + (e + 64 >>> 9 << 4)] = e;
            for (var n = 1732584193, i = -271733879, o = -1732584194, r = 271733878, a = 0; a < t.length; a += 16) {
                var l = n
                    , s = i
                    , u = o
                    , c = r
                    , n = p(n, i, o, r, t[a + 0], 7, -680876936)
                    , r = p(r, n, i, o, t[a + 1], 12, -389564586)
                    , o = p(o, r, n, i, t[a + 2], 17, 606105819)
                    , i = p(i, o, r, n, t[a + 3], 22, -1044525330);
                n = p(n, i, o, r, t[a + 4], 7, -176418897),
                    r = p(r, n, i, o, t[a + 5], 12, 1200080426),
                    o = p(o, r, n, i, t[a + 6], 17, -1473231341),
                    i = p(i, o, r, n, t[a + 7], 22, -45705983),
                    n = p(n, i, o, r, t[a + 8], 7, 1770035416),
                    r = p(r, n, i, o, t[a + 9], 12, -1958414417),
                    o = p(o, r, n, i, t[a + 10], 17, -42063),
                    i = p(i, o, r, n, t[a + 11], 22, -1990404162),
                    n = p(n, i, o, r, t[a + 12], 7, 1804603682),
                    r = p(r, n, i, o, t[a + 13], 12, -40341101),
                    o = p(o, r, n, i, t[a + 14], 17, -1502002290),
                    n = h(n, i = p(i, o, r, n, t[a + 15], 22, 1236535329), o, r, t[a + 1], 5, -165796510),
                    r = h(r, n, i, o, t[a + 6], 9, -1069501632),
                    o = h(o, r, n, i, t[a + 11], 14, 643717713),
                    i = h(i, o, r, n, t[a + 0], 20, -373897302),
                    n = h(n, i, o, r, t[a + 5], 5, -701558691),
                    r = h(r, n, i, o, t[a + 10], 9, 38016083),
                    o = h(o, r, n, i, t[a + 15], 14, -660478335),
                    i = h(i, o, r, n, t[a + 4], 20, -405537848),
                    n = h(n, i, o, r, t[a + 9], 5, 568446438),
                    r = h(r, n, i, o, t[a + 14], 9, -1019803690),
                    o = h(o, r, n, i, t[a + 3], 14, -187363961),
                    i = h(i, o, r, n, t[a + 8], 20, 1163531501),
                    n = h(n, i, o, r, t[a + 13], 5, -1444681467),
                    r = h(r, n, i, o, t[a + 2], 9, -51403784),
                    o = h(o, r, n, i, t[a + 7], 14, 1735328473),
                    n = g(n, i = h(i, o, r, n, t[a + 12], 20, -1926607734), o, r, t[a + 5], 4, -378558),
                    r = g(r, n, i, o, t[a + 8], 11, -2022574463),
                    o = g(o, r, n, i, t[a + 11], 16, 1839030562),
                    i = g(i, o, r, n, t[a + 14], 23, -35309556),
                    n = g(n, i, o, r, t[a + 1], 4, -1530992060),
                    r = g(r, n, i, o, t[a + 4], 11, 1272893353),
                    o = g(o, r, n, i, t[a + 7], 16, -155497632),
                    i = g(i, o, r, n, t[a + 10], 23, -1094730640),
                    n = g(n, i, o, r, t[a + 13], 4, 681279174),
                    r = g(r, n, i, o, t[a + 0], 11, -358537222),
                    o = g(o, r, n, i, t[a + 3], 16, -722521979),
                    i = g(i, o, r, n, t[a + 6], 23, 76029189),
                    n = g(n, i, o, r, t[a + 9], 4, -640364487),
                    r = g(r, n, i, o, t[a + 12], 11, -421815835),
                    o = g(o, r, n, i, t[a + 15], 16, 530742520),
                    n = m(n, i = g(i, o, r, n, t[a + 2], 23, -995338651), o, r, t[a + 0], 6, -198630844),
                    r = m(r, n, i, o, t[a + 7], 10, 1126891415),
                    o = m(o, r, n, i, t[a + 14], 15, -1416354905),
                    i = m(i, o, r, n, t[a + 5], 21, -57434055),
                    n = m(n, i, o, r, t[a + 12], 6, 1700485571),
                    r = m(r, n, i, o, t[a + 3], 10, -1894986606),
                    o = m(o, r, n, i, t[a + 10], 15, -1051523),
                    i = m(i, o, r, n, t[a + 1], 21, -2054922799),
                    n = m(n, i, o, r, t[a + 8], 6, 1873313359),
                    r = m(r, n, i, o, t[a + 15], 10, -30611744),
                    o = m(o, r, n, i, t[a + 6], 15, -1560198380),
                    i = m(i, o, r, n, t[a + 13], 21, 1309151649),
                    n = m(n, i, o, r, t[a + 4], 6, -145523070),
                    r = m(r, n, i, o, t[a + 11], 10, -1120210379),
                    o = m(o, r, n, i, t[a + 2], 15, 718787259),
                    i = m(i, o, r, n, t[a + 9], 21, -343485551),
                    n = _(n, l),
                    i = _(i, s),
                    o = _(o, u),
                    r = _(r, c)
            }
            return 16 == d ? Array(i, o) : Array(n, i, o, r)
        }
        function f(t, e, n, i, o, r) {
            return _((r = _(_(e, t), _(i, r))) << (o = o) | r >>> 32 - o, n)
        }
        function p(t, e, n, i, o, r, a) {
            return f(e & n | ~e & i, t, e, o, r, a)
        }
        function h(t, e, n, i, o, r, a) {
            return f(e & i | n & ~i, t, e, o, r, a)
        }
        function g(t, e, n, i, o, r, a) {
            return f(e ^ n ^ i, t, e, o, r, a)
        }
        function m(t, e, n, i, o, r, a) {
            return f(n ^ (e | ~i), t, e, o, r, a)
        }
        function _(t, e) {
            var n = (65535 & t) + (65535 & e);
            return (t >> 16) + (e >> 16) + (n >> 16) << 16 | 65535 & n
        }
        function y(t) {
            for (var e = Array(), n = (1 << r) - 1, i = 0; i < t.length * r; i += r)
                e[i >> 5] |= (t.charCodeAt(i / r) & n) << i % 32;
            return e
        }
        function v(t) {
            for (var e = o ? "0123456789ABCDEF" : "0123456789abcdef", n = "", i = 0; i < 4 * t.length; i++)
                n += e.charAt(t[i >> 2] >> i % 4 * 8 + 4 & 15) + e.charAt(t[i >> 2] >> i % 4 * 8 & 15);
            return n
        }
        function w(t) {
            for (var e = [], n = 0; n < t.length; n += 2)
                e.push(String.fromCharCode(parseInt(t.substr(n, 2), 16)));
            return e.join("")
        }
        e["default"] = n
    }
    , function (t, e, n) {
        "use strict";
        Object.defineProperty(e, "__esModule", {
            "value": !0
        }),
            e["default"] = void 0;
        var i = function () {
            function o() {
                this.n = null,
                    this.e = 0,
                    this.d = null,
                    this.p = null,
                    this.q = null,
                    this.dmp1 = null,
                    this.dmq1 = null,
                    this.coeff = null
            }
            var t;
            o.prototype.doPublic = function (t) {
                return t.modPowInt(this.e, this.n)
            }
                ,
                o.prototype.setPublic = function (t, e) {
                    null != t && null != e && 0 < t.length && 0 < e.length ? (this.n = new _(t, 16),
                        this.e = parseInt(e, 16)) : uv_alert("Invalid RSA public key")
                }
                ,
                o.prototype.encrypt = function (t) {
                    return null == (t = function (t, e) {
                        if (e < t.length + 11)
                            return uv_alert("Message too long for RSA"),
                                null;
                        for (var n = new Array, i = t.length - 1; 0 <= i && 0 < e;) {
                            var o = t.charCodeAt(i--);
                            n[--e] = o
                        }
                        n[--e] = 0;
                        for (var r = new w, a = new Array; 2 < e;) {
                            for (a[0] = 0; 0 == a[0];)
                                r.nextBytes(a);
                            n[--e] = a[0]
                        }
                        return n[--e] = 2,
                            n[--e] = 0,
                            new _(n)
                    }(t, this.n.bitLength() + 7 >> 3)) || null == (t = this.doPublic(t)) ? null : 0 == (1 & (t = t.toString(16)).length) ? t : "0" + t
                }
                ;
            function _(t, e, n) {
                null != t && ("number" == typeof t ? this.fromNumber(t, e, n) : null == e && "string" != typeof t ? this.fromString(t, 256) : this.fromString(t, e))
            }
            function y() {
                return new _(null)
            }
            t = "Microsoft Internet Explorer" == navigator.appName ? (_.prototype.am = function (t, e, n, i, o, r) {
                for (var a = 32767 & e, l = e >> 15; 0 <= --r;) {
                    var s = 32767 & this[t]
                        , u = this[t++] >> 15
                        , c = l * s + u * a;
                    o = ((s = a * s + ((32767 & c) << 15) + n[i] + (1073741823 & o)) >>> 30) + (c >>> 15) + l * u + (o >>> 30),
                        n[i++] = 1073741823 & s
                }
                return o
            }
                ,
                30) : "Netscape" != navigator.appName ? (_.prototype.am = function (t, e, n, i, o, r) {
                    for (; 0 <= --r;) {
                        var a = e * this[t++] + n[i] + o;
                        o = Math.floor(a / 67108864),
                            n[i++] = 67108863 & a
                    }
                    return o
                }
                    ,
                    26) : (_.prototype.am = function (t, e, n, i, o, r) {
                        for (var a = 16383 & e, l = e >> 14; 0 <= --r;) {
                            var s = 16383 & this[t]
                                , u = this[t++] >> 14
                                , c = l * s + u * a;
                            o = ((s = a * s + ((16383 & c) << 14) + n[i] + o) >> 28) + (c >> 14) + l * u,
                                n[i++] = 268435455 & s
                        }
                        return o
                    }
                        ,
                        28),
                _.prototype.DB = t,
                _.prototype.DM = (1 << t) - 1,
                _.prototype.DV = 1 << t;
            _.prototype.FV = Math.pow(2, 52),
                _.prototype.F1 = 52 - t,
                _.prototype.F2 = 2 * t - 52;
            for (var e, n = "0123456789abcdefghijklmnopqrstuvwxyz", l = new Array, i = "0".charCodeAt(0), r = 0; r <= 9; ++r)
                l[i++] = r;
            for (i = "a".charCodeAt(0),
                r = 10; r < 36; ++r)
                l[i++] = r;
            for (i = "A".charCodeAt(0),
                r = 10; r < 36; ++r)
                l[i++] = r;
            function s(t) {
                return n.charAt(t)
            }
            function a(t) {
                var e = y();
                return e.fromInt(t),
                    e
            }
            function v(t) {
                var e, n = 1;
                return 0 != (e = t >>> 16) && (t = e,
                    n += 16),
                    0 != (e = t >> 8) && (t = e,
                        n += 8),
                    0 != (e = t >> 4) && (t = e,
                        n += 4),
                    0 != (e = t >> 2) && (t = e,
                        n += 2),
                    0 != (e = t >> 1) && (t = e,
                        n += 1),
                    n
            }
            function u(t) {
                this.m = t
            }
            function c(t) {
                this.m = t,
                    this.mp = t.invDigit(),
                    this.mpl = 32767 & this.mp,
                    this.mph = this.mp >> 15,
                    this.um = (1 << t.DB - 15) - 1,
                    this.mt2 = 2 * t.t
            }
            function d() {
                var t;
                t = (new Date).getTime(),
                    f[p++] ^= 255 & t,
                    f[p++] ^= t >> 8 & 255,
                    f[p++] ^= t >> 16 & 255,
                    f[p++] ^= t >> 24 & 255,
                    k <= p && (p -= k)
            }
            if (u.prototype.convert = function (t) {
                return t.s < 0 || 0 <= t.compareTo(this.m) ? t.mod(this.m) : t
            }
                ,
                u.prototype.revert = function (t) {
                    return t
                }
                ,
                u.prototype.reduce = function (t) {
                    t.divRemTo(this.m, null, t)
                }
                ,
                u.prototype.mulTo = function (t, e, n) {
                    t.multiplyTo(e, n),
                        this.reduce(n)
                }
                ,
                u.prototype.sqrTo = function (t, e) {
                    t.squareTo(e),
                        this.reduce(e)
                }
                ,
                c.prototype.convert = function (t) {
                    var e = y();
                    return t.abs().dlShiftTo(this.m.t, e),
                        e.divRemTo(this.m, null, e),
                        t.s < 0 && 0 < e.compareTo(_.ZERO) && this.m.subTo(e, e),
                        e
                }
                ,
                c.prototype.revert = function (t) {
                    var e = y();
                    return t.copyTo(e),
                        this.reduce(e),
                        e
                }
                ,
                c.prototype.reduce = function (t) {
                    for (; t.t <= this.mt2;)
                        t[t.t++] = 0;
                    for (var e = 0; e < this.m.t; ++e) {
                        var n = 32767 & t[e]
                            , i = n * this.mpl + ((n * this.mph + (t[e] >> 15) * this.mpl & this.um) << 15) & t.DM;
                        for (t[n = e + this.m.t] += this.m.am(0, i, t, e, 0, this.m.t); t[n] >= t.DV;)
                            t[n] -= t.DV,
                                t[++n]++
                    }
                    t.clamp(),
                        t.drShiftTo(this.m.t, t),
                        0 <= t.compareTo(this.m) && t.subTo(this.m, t)
                }
                ,
                c.prototype.mulTo = function (t, e, n) {
                    t.multiplyTo(e, n),
                        this.reduce(n)
                }
                ,
                c.prototype.sqrTo = function (t, e) {
                    t.squareTo(e),
                        this.reduce(e)
                }
                ,
                _.prototype.copyTo = function (t) {
                    for (var e = this.t - 1; 0 <= e; --e)
                        t[e] = this[e];
                    t.t = this.t,
                        t.s = this.s
                }
                ,
                _.prototype.fromInt = function (t) {
                    this.t = 1,
                        this.s = t < 0 ? -1 : 0,
                        0 < t ? this[0] = t : t < -1 ? this[0] = t + DV : this.t = 0
                }
                ,
                _.prototype.fromString = function (t, e) {
                    var n;
                    if (16 == e)
                        n = 4;
                    else if (8 == e)
                        n = 3;
                    else if (256 == e)
                        n = 8;
                    else if (2 == e)
                        n = 1;
                    else if (32 == e)
                        n = 5;
                    else {
                        if (4 != e)
                            return void this.fromRadix(t, e);
                        n = 2
                    }
                    this.t = 0,
                        this.s = 0;
                    for (var i = t.length, o = !1, r = 0; 0 <= --i;) {
                        var a = 8 == n ? 255 & t[i] : (a = i,
                            null == (a = l[t.charCodeAt(a)]) ? -1 : a);
                        a < 0 ? "-" == t.charAt(i) && (o = !0) : (o = !1,
                            0 == r ? this[this.t++] = a : r + n > this.DB ? (this[this.t - 1] |= (a & (1 << this.DB - r) - 1) << r,
                                this[this.t++] = a >> this.DB - r) : this[this.t - 1] |= a << r,
                            (r += n) >= this.DB && (r -= this.DB))
                    }
                    8 == n && 0 != (128 & t[0]) && (this.s = -1,
                        0 < r && (this[this.t - 1] |= (1 << this.DB - r) - 1 << r)),
                        this.clamp(),
                        o && _.ZERO.subTo(this, this)
                }
                ,
                _.prototype.clamp = function () {
                    for (var t = this.s & this.DM; 0 < this.t && this[this.t - 1] == t;)
                        --this.t
                }
                ,
                _.prototype.dlShiftTo = function (t, e) {
                    for (var n = this.t - 1; 0 <= n; --n)
                        e[n + t] = this[n];
                    for (n = t - 1; 0 <= n; --n)
                        e[n] = 0;
                    e.t = this.t + t,
                        e.s = this.s
                }
                ,
                _.prototype.drShiftTo = function (t, e) {
                    for (var n = t; n < this.t; ++n)
                        e[n - t] = this[n];
                    e.t = Math.max(this.t - t, 0),
                        e.s = this.s
                }
                ,
                _.prototype.lShiftTo = function (t, e) {
                    for (var n = t % this.DB, i = this.DB - n, o = (1 << i) - 1, r = Math.floor(t / this.DB), a = this.s << n & this.DM, l = this.t - 1; 0 <= l; --l)
                        e[l + r + 1] = this[l] >> i | a,
                            a = (this[l] & o) << n;
                    for (l = r - 1; 0 <= l; --l)
                        e[l] = 0;
                    e[r] = a,
                        e.t = this.t + r + 1,
                        e.s = this.s,
                        e.clamp()
                }
                ,
                _.prototype.rShiftTo = function (t, e) {
                    e.s = this.s;
                    var n = Math.floor(t / this.DB);
                    if (n >= this.t)
                        e.t = 0;
                    else {
                        var i = t % this.DB
                            , o = this.DB - i
                            , r = (1 << i) - 1;
                        e[0] = this[n] >> i;
                        for (var a = n + 1; a < this.t; ++a)
                            e[a - n - 1] |= (this[a] & r) << o,
                                e[a - n] = this[a] >> i;
                        0 < i && (e[this.t - n - 1] |= (this.s & r) << o),
                            e.t = this.t - n,
                            e.clamp()
                    }
                }
                ,
                _.prototype.subTo = function (t, e) {
                    for (var n = 0, i = 0, o = Math.min(t.t, this.t); n < o;)
                        i += this[n] - t[n],
                            e[n++] = i & this.DM,
                            i >>= this.DB;
                    if (t.t < this.t) {
                        for (i -= t.s; n < this.t;)
                            i += this[n],
                                e[n++] = i & this.DM,
                                i >>= this.DB;
                        i += this.s
                    } else {
                        for (i += this.s; n < t.t;)
                            i -= t[n],
                                e[n++] = i & this.DM,
                                i >>= this.DB;
                        i -= t.s
                    }
                    e.s = i < 0 ? -1 : 0,
                        i < -1 ? e[n++] = this.DV + i : 0 < i && (e[n++] = i),
                        e.t = n,
                        e.clamp()
                }
                ,
                _.prototype.multiplyTo = function (t, e) {
                    var n = this.abs()
                        , i = t.abs()
                        , o = n.t;
                    for (e.t = o + i.t; 0 <= --o;)
                        e[o] = 0;
                    for (o = 0; o < i.t; ++o)
                        e[o + n.t] = n.am(0, i[o], e, o, 0, n.t);
                    e.s = 0,
                        e.clamp(),
                        this.s != t.s && _.ZERO.subTo(e, e)
                }
                ,
                _.prototype.squareTo = function (t) {
                    for (var e = this.abs(), n = t.t = 2 * e.t; 0 <= --n;)
                        t[n] = 0;
                    for (n = 0; n < e.t - 1; ++n) {
                        var i = e.am(n, e[n], t, 2 * n, 0, 1);
                        (t[n + e.t] += e.am(n + 1, 2 * e[n], t, 2 * n + 1, i, e.t - n - 1)) >= e.DV && (t[n + e.t] -= e.DV,
                            t[n + e.t + 1] = 1)
                    }
                    0 < t.t && (t[t.t - 1] += e.am(n, e[n], t, 2 * n, 0, 1)),
                        t.s = 0,
                        t.clamp()
                }
                ,
                _.prototype.divRemTo = function (t, e, n) {
                    var i = t.abs();
                    if (!(i.t <= 0)) {
                        var o = this.abs();
                        if (o.t < i.t)
                            return null != e && e.fromInt(0),
                                void (null != n && this.copyTo(n));
                        null == n && (n = y());
                        var r = y()
                            , a = this.s
                            , l = t.s
                            , t = this.DB - v(i[i.t - 1]);
                        0 < t ? (i.lShiftTo(t, r),
                            o.lShiftTo(t, n)) : (i.copyTo(r),
                                o.copyTo(n));
                        var s = r.t
                            , u = r[s - 1];
                        if (0 != u) {
                            var o = u * (1 << this.F1) + (1 < s ? r[s - 2] >> this.F2 : 0)
                                , c = this.FV / o
                                , d = (1 << this.F1) / o
                                , f = 1 << this.F2
                                , p = n.t
                                , h = p - s
                                , g = null == e ? y() : e;
                            for (r.dlShiftTo(h, g),
                                0 <= n.compareTo(g) && (n[n.t++] = 1,
                                    n.subTo(g, n)),
                                _.ONE.dlShiftTo(s, g),
                                g.subTo(r, r); r.t < s;)
                                r[r.t++] = 0;
                            for (; 0 <= --h;) {
                                var m = n[--p] == u ? this.DM : Math.floor(n[p] * c + (n[p - 1] + f) * d);
                                if ((n[p] += r.am(0, m, n, h, 0, s)) < m)
                                    for (r.dlShiftTo(h, g),
                                        n.subTo(g, n); n[p] < --m;)
                                        n.subTo(g, n)
                            }
                            null != e && (n.drShiftTo(s, e),
                                a != l && _.ZERO.subTo(e, e)),
                                n.t = s,
                                n.clamp(),
                                0 < t && n.rShiftTo(t, n),
                                a < 0 && _.ZERO.subTo(n, n)
                        }
                    }
                }
                ,
                _.prototype.invDigit = function () {
                    if (this.t < 1)
                        return 0;
                    var t = this[0];
                    if (0 == (1 & t))
                        return 0;
                    var e = 3 & t;
                    return 0 < (e = (e = (e = (e = e * (2 - (15 & t) * e) & 15) * (2 - (255 & t) * e) & 255) * (2 - ((65535 & t) * e & 65535)) & 65535) * (2 - t * e % this.DV) % this.DV) ? this.DV - e : -e
                }
                ,
                _.prototype.isEven = function () {
                    return 0 == (0 < this.t ? 1 & this[0] : this.s)
                }
                ,
                _.prototype.exp = function (t, e) {
                    if (4294967295 < t || t < 1)
                        return _.ONE;
                    var n, i = y(), o = y(), r = e.convert(this), a = v(t) - 1;
                    for (r.copyTo(i); 0 <= --a;)
                        e.sqrTo(i, o),
                            0 < (t & 1 << a) ? e.mulTo(o, r, i) : (n = i,
                                i = o,
                                o = n);
                    return e.revert(i)
                }
                ,
                _.prototype.toString = function (t) {
                    if (this.s < 0)
                        return "-" + this.negate().toString(t);
                    var e;
                    if (16 == t)
                        e = 4;
                    else if (8 == t)
                        e = 3;
                    else if (2 == t)
                        e = 1;
                    else if (32 == t)
                        e = 5;
                    else {
                        if (4 != t)
                            return this.toRadix(t);
                        e = 2
                    }
                    var n, i = (1 << e) - 1, o = !1, r = "", a = this.t, l = this.DB - a * this.DB % e;
                    if (0 < a--)
                        for (l < this.DB && 0 < (n = this[a] >> l) && (o = !0,
                            r = s(n)); 0 <= a;)
                            l < e ? (n = (this[a] & (1 << l) - 1) << e - l,
                                n |= this[--a] >> (l += this.DB - e)) : (n = this[a] >> (l -= e) & i,
                                    l <= 0 && (l += this.DB,
                                        --a)),
                                0 < n && (o = !0),
                                o && (r += s(n));
                    return o ? r : "0"
                }
                ,
                _.prototype.negate = function () {
                    var t = y();
                    return _.ZERO.subTo(this, t),
                        t
                }
                ,
                _.prototype.abs = function () {
                    return this.s < 0 ? this.negate() : this
                }
                ,
                _.prototype.compareTo = function (t) {
                    var e = this.s - t.s;
                    if (0 != e)
                        return e;
                    var n = this.t;
                    if (0 != (e = n - t.t))
                        return e;
                    for (; 0 <= --n;)
                        if (0 != (e = this[n] - t[n]))
                            return e;
                    return 0
                }
                ,
                _.prototype.bitLength = function () {
                    return this.t <= 0 ? 0 : this.DB * (this.t - 1) + v(this[this.t - 1] ^ this.s & this.DM)
                }
                ,
                _.prototype.mod = function (t) {
                    var e = y();
                    return this.abs().divRemTo(t, null, e),
                        this.s < 0 && 0 < e.compareTo(_.ZERO) && t.subTo(e, e),
                        e
                }
                ,
                _.prototype.modPowInt = function (t, e) {
                    return e = new (t < 256 || e.isEven() ? u : c)(e),
                        this.exp(t, e)
                }
                ,
                _.ZERO = a(0),
                _.ONE = a(1),
                null == f) {
                var f = new Array
                    , p = 0;
                if ("Netscape" == navigator.appName && navigator.appVersion < "5" && window.crypto && window.crypto.random)
                    for (var h = window.crypto.random(32), g = 0; g < h.length; ++g)
                        f[p++] = 255 & h.charCodeAt(g);
                for (; p < k;)
                    g = Math.floor(65536 * Math.random()),
                        f[p++] = g >>> 8,
                        f[p++] = 255 & g;
                p = 0,
                    d()
            }
            function m() {
                if (null == e) {
                    for (d(),
                        (e = new b).init(f),
                        p = 0; p < f.length; ++p)
                        f[p] = 0;
                    p = 0
                }
                return e.next()
            }
            function w() { }
            function b() {
                this.i = 0,
                    this.j = 0,
                    this.S = new Array
            }
            w.prototype.nextBytes = function (t) {
                for (var e = 0; e < t.length; ++e)
                    t[e] = m()
            }
                ,
                b.prototype.init = function (t) {
                    for (var e, n, i = 0; i < 256; ++i)
                        this.S[i] = i;
                    for (i = e = 0; i < 256; ++i)
                        e = e + this.S[i] + t[i % t.length] & 255,
                            n = this.S[i],
                            this.S[i] = this.S[e],
                            this.S[e] = n;
                    this.i = 0,
                        this.j = 0
                }
                ,
                b.prototype.next = function () {
                    var t;
                    return this.i = this.i + 1 & 255,
                        this.j = this.j + this.S[this.i] & 255,
                        t = this.S[this.i],
                        this.S[this.i] = this.S[this.j],
                        this.S[this.j] = t,
                        this.S[t + this.S[this.i] & 255]
                }
                ;
            var k = 256;
            return {
                "rsa_encrypt": function (t, e, n) {
                    var i = new o;
                    return i.setPublic("e9a815ab9d6e86abbf33a4ac64e9196d5be44a09bd0ed6ae052914e1a865ac8331fed863de8ea697e9a7f63329e5e23cda09c72570f46775b7e39ea9670086f847d3c9c51963b131409b1e04265d9747419c635404ca651bbcbc87f99b8008f7f5824653e3658be4ba73e4480156b390bb73bc1f8b33578e7a4e12440e9396f2552c1aff1c92e797ebacdc37c109ab7bce2367a19c56a033ee04534723cc2558cb27368f5b9d32c04d12dbd86bbd68b1d99b7c349a8453ea75d1b2e94491ab30acf6c46a36a75b721b312bedf4e7aad21e54e9bcbcf8144c79b6e3c05eb4a1547750d224c0085d80e6da3907c3d945051c13c7c1dcefd6520ee8379c4f5231ed", "10001"),
                        i.encrypt(t)
                }
            }
        }();
        e["default"] = i
    }
    , function (t, e, n) {
        "use strict";
        Object.defineProperty(e, "__esModule", {
            "value": !0
        }),
            e["default"] = void 0;
        var i, r = (i = n(5)) && i.__esModule ? i : {
            "default": i
        };
        var u = ""
            , a = 0
            , o = []
            , l = []
            , s = 0
            , c = 0
            , d = []
            , f = []
            , p = !0;
        function h() {
            return Math.round(4294967295 * Math.random())
        }
        function g(t, e, n) {
            (!n || 4 < n) && (n = 4);
            for (var i = 0, o = e; o < e + n; o++)
                i <<= 8,
                    i |= t[o];
            return (4294967295 & i) >>> 0
        }
        function m(t, e, n) {
            t[e + 3] = n >> 0 & 255,
                t[e + 2] = n >> 8 & 255,
                t[e + 1] = n >> 16 & 255,
                t[e + 0] = n >> 24 & 255
        }
        function _(t) {
            if (!t)
                return "";
            for (var e = "", n = 0; n < t.length; n++) {
                var i = Number(t[n]).toString(16);
                1 == i.length && (i = "0" + i),
                    e += i
            }
            return e
        }
        function y(t) {
            o = new Array(8),
                l = new Array(8),
                s = c = 0,
                p = !0,
                a = 0;
            var e = t.length
                , n = 0;
            0 != (a = (e + 10) % 8) && (a = 8 - a),
                d = new Array(e + a + 10),
                o[0] = 255 & (248 & h() | a);
            for (var i = 1; i <= a; i++)
                o[i] = 255 & h();
            a++;
            for (i = 0; i < 8; i++)
                l[i] = 0;
            for (n = 1; n <= 2;)
                a < 8 && (o[a++] = 255 & h(),
                    n++),
                    8 == a && v();
            for (i = 0; 0 < e;)
                a < 8 && (o[a++] = t[i++],
                    e--),
                    8 == a && v();
            for (n = 1; n <= 7;)
                a < 8 && (o[a++] = 0,
                    n++),
                    8 == a && v();
            return d
        }
        function v() {
            for (var t = 0; t < 8; t++)
                o[t] ^= p ? l[t] : d[c + t];
            for (var e = function (t) {
                var e = 16
                    , n = g(t, 0, 4)
                    , i = g(t, 4, 4)
                    , o = g(u, 0, 4)
                    , r = g(u, 4, 4)
                    , a = g(u, 8, 4)
                    , l = g(u, 12, 4)
                    , s = 0;
                for (; 0 < e--;)
                    i = (4294967295 & (i += ((n = (4294967295 & (n += (i << 4) + o ^ i + (s = (4294967295 & (s += 2654435769)) >>> 0) ^ (i >>> 5) + r)) >>> 0) << 4) + a ^ n + s ^ (n >>> 5) + l)) >>> 0;
                t = new Array(8);
                return m(t, 0, n),
                    m(t, 4, i),
                    t
            }(o), t = 0; t < 8; t++)
                d[s + t] = e[t] ^ l[t],
                    l[t] = o[t];
            c = s,
                s += 8,
                a = 0,
                p = !1
        }
        function w(t) {
            for (var e = 16, n = g(t, 0, 4), i = g(t, 4, 4), o = g(u, 0, 4), r = g(u, 4, 4), a = g(u, 8, 4), l = g(u, 12, 4), s = 3816266640; 0 < e--;)
                n = (4294967295 & (n -= ((i = (4294967295 & (i -= (n << 4) + a ^ n + s ^ (n >>> 5) + l)) >>> 0) << 4) + o ^ i + s ^ (i >>> 5) + r)) >>> 0,
                    s = (4294967295 & (s -= 2654435769)) >>> 0;
            t = new Array(8);
            return m(t, 0, n),
                m(t, 4, i),
                t
        }
        function b() {
            f.length;
            for (var t = 0; t < 8; t++)
                l[t] ^= f[s + t];
            return l = w(l),
                s += 8,
                a = 0,
                1
        }
        function k(t, e) {
            var n = [];
            if (e)
                for (var i = 0; i < t.length; i++)
                    n[i] = 255 & t.charCodeAt(i);
            else
                for (var o = 0, i = 0; i < t.length; i += 2)
                    n[o++] = parseInt(t.substr(i, 2), 16);
            return n
        }
        var S = {
            "encrypt": function (t, e) {
                return _(y(k(t, e)))
            },
            "enAsBase64": function (t, e) {
                for (var n = y(k(t, e)), i = "", o = 0; o < n.length; o++)
                    i += String.fromCharCode(n[o]);
                return r["default"].encode(i)
            },
            "decrypt": function (t) {
                return _(function (t) {
                    var e = 0
                        , n = new Array(8)
                        , i = t.length;
                    if (f = t,
                        i % 8 != 0 || i < 16)
                        return null;
                    if (l = w(t),
                        (e = i - (a = 7 & l[0]) - 10) < 0)
                        return null;
                    for (var o = 0; o < n.length; o++)
                        n[o] = 0;
                    d = new Array(e),
                        c = 0,
                        s = 8,
                        a++;
                    for (var r = 1; r <= 2;)
                        if (a < 8 && (a++,
                            r++),
                            8 == a && (n = t,
                                !b()))
                            return null;
                    for (o = 0; 0 != e;)
                        if (a < 8 && (d[o] = 255 & (n[c + a] ^ l[a]),
                            o++,
                            e--,
                            a++),
                            8 == a && (n = t,
                                c = s - 8,
                                !b()))
                            return null;
                    for (r = 1; r < 8; r++) {
                        if (a < 8) {
                            if (0 != (n[c + a] ^ l[a]))
                                return null;
                            a++
                        }
                        if (8 == a && (n = t,
                            c = s,
                            !b()))
                            return null
                    }
                    return d
                }(k(t, !1)))
            },
            "initkey": function (t, e) {
                u = k(t, e)
            },
            "bytesToStr": function (t) {
                for (var e = "", n = 0; n < t.length; n += 2)
                    e += String.fromCharCode(parseInt(t.substr(n, 2), 16));
                return e
            },
            "strToBytes": function (t, e) {
                if (!t)
                    return "";
                e && (t = function (t) {
                    var e, n, i = [], o = t.length;
                    for (e = 0; e < o; e++)
                        0 < (n = t.charCodeAt(e)) && n <= 127 ? i.push(t.charAt(e)) : 128 <= n && n <= 2047 ? i.push(String.fromCharCode(192 | n >> 6 & 31), String.fromCharCode(128 | 63 & n)) : 2048 <= n && n <= 65535 && i.push(String.fromCharCode(224 | n >> 12 & 15), String.fromCharCode(128 | n >> 6 & 63), String.fromCharCode(128 | 63 & n));
                    return i.join("")
                }(t));
                for (var n = [], i = 0; i < t.length; i++)
                    n[i] = t.charCodeAt(i);
                return _(n)
            },
            "bytesInStr": _,
            "dataFromStr": k
        };
        e["default"] = S
    }
    , function (t, e, n) {
        "use strict";
        Object.defineProperty(e, "__esModule", {
            "value": !0
        }),
            e["default"] = void 0;
        var i = f(n(15))
            , k = f(n(0))
            , r = f(n(9))
            , o = n(44)
            , S = n(2)
            , a = function (t) {
                if (t && t.__esModule)
                    return t;
                if (null === t || "object" != typeof t && "function" != typeof t)
                    return {
                        "default": t
                    };
                var e = d();
                if (e && e.has(t))
                    return e.get(t);
                var n, i = {}, o = Object.defineProperty && Object.getOwnPropertyDescriptor;
                for (n in t) {
                    var r;
                    Object.prototype.hasOwnProperty.call(t, n) && ((r = o ? Object.getOwnPropertyDescriptor(t, n) : null) && (r.get || r.set) ? Object.defineProperty(i, n, r) : i[n] = t[n])
                }
                i["default"] = t,
                    e && e.set(t, i);
                return i
            }(n(45))
            , l = f(n(17))
            , q = n(18)
            , s = n(16)
            , u = n(29)
            , c = n(49);
        function d() {
            if ("function" != typeof WeakMap)
                return null;
            var t = new WeakMap;
            return d = function d() {
                return t
            }
                ,
                t
        }
        function f(t) {
            return t && t.__esModule ? t : {
                "default": t
            }
        }
        var p = "newVcodeIframe"
            , h = "newVcodeArea"
            , C = window.pt
            , T = {
                "toggleManager": null,
                "smsCheck": "",
                "needSms": !1,
                "hasVCSuccess": !1,
                "account": "",
                "at_account": "",
                "uin": "",
                "salt": "",
                "checkState": !1,
                "lastCheckAccount": "",
                "needVc": !1,
                "vcFlag": !1,
                "ckNum": {},
                "action": [0, 0],
                "passwordErrorNum": 1,
                "isIpad": !1,
                "seller_id": 703010802,
                "checkUrl": "",
                "loginUrl": "",
                "verifycodeUrl": "",
                "huatuosdk": "https://i.gtimg.cn/huatuo/sdk/huatuoping-sdk.min-0.1.js",
                "needShowNewVc": !1,
                "pt_verifysession": "",
                "checkClock": 0,
                "isCheckTimeout": !1,
                "cntCheckTimeout": 0,
                "qrloginGetTime": 0,
                "qrloginRefreshInterval": 2e3,
                "checkTime": 0,
                "submitTime": 0,
                "defaultTimeoutTime": 5e3,
                "errclock": 0,
                "loginClock": 0,
                "login_param": C.ptui.href.substring(C.ptui.href.indexOf("?") + 1),
                "err_m": (0,
                    k["default"])("err_m"),
                "low_login_enable": !0,
                "low_login_hour": 720,
                "low_login_isshow": !1,
                "list_index": [-1, 2],
                "keyCode": {
                    "UP": 38,
                    "DOWN": 40,
                    "LEFT": 37,
                    "RIGHT": 39,
                    "ENTER": 13,
                    "TAB": 9,
                    "BACK": 8,
                    "DEL": 46,
                    "F5": 116
                },
                "knownEmail": 25 == C.ptui.style ? ["qq.com", "vip.qq.com", "foxmail.com"] : ["qq.com", "foxmail.com", "gmail.com", "hotmail.com", "yahoo.com", "sina.com", "163.com", "126.com", "vip.qq.com", "vip.sina.com", "sina.cn", "sohu.com", "yahoo.cn", "yahoo.com.cn", "139.com", "wo.com.cn", "189.cn", "live.com", "msn.com", "live.hk", "live.cn", "hotmail.com.cn", "hinet.net", "msa.hinet.net", "cm1.hinet.net", "umail.hinet.net", "xuite.net", "yam.com", "pchome.com.tw", "netvigator.com", "seed.net.tw", "anet.net.tw"],
                "qrlogin_clock": 0,
                "qrlogin_timeout": 0,
                "qrlogin_timeout_time": 6e5,
                "qrlogin_invalid": !1,
                "isQrLogin": !1,
                "qr_uin": "",
                "qr_nick": "",
                "onekey_verify_timeout": 36e5,
                "onekeyVerifyClock": 0,
                "dftImg": "",
                "need_hide_operate_tips": !0,
                "js_type": 1,
                "xuiState": 1,
                "delayTime": 5e3,
                "delayMonitorId": "294059",
                "hasSubmit": !1,
                "isdTime": {},
                "authUin": "",
                "authSubmitUrl": "",
                "loginState": q.LoginState.PLogin,
                "aqScanLink": function () {
                    var t;
                    switch (C.ptui.lang) {
                        case "2052":
                            t = "立刻扫描";
                            break;
                        case "1028":
                            t = "立即掃描";
                            break;
                        case "1033":
                            t = "Scan now"
                    }
                    return "<a href='javascript:void(0)'; οnclick='pt.plogin.switch_qrlogin()'>".concat(t, "</a>")
                }(),
                "isNewQr": !1,
                "hasNoQlogin": !1,
                "checkRet": -1,
                "cap_cd": 0,
                "authTimes": 0,
                "checkErr": {
                    "2052": "网络繁忙,请稍后重试。",
                    "1028": "網絡繁忙,請稍後重試。",
                    "1033": "The network is busy, please try again later."
                },
                "isTenpay": 34 == C.ptui.style,
                "isMailLogin": 25 == C.ptui.style || 30 == C.ptui.style,
                "captcha": null,
                "isPwdFirst": function () {
                    if (C.ptui.lockuin)
                        return !0;
                    if ("0" == k["default"].bom.query("pt_pwd"))
                        return !1;
                    var t = [/\bqcloud\.com$/, /\bcloud\.tencent\.com$/, /\b110\.qq\.com$/, /\baq\.qq\.com$/, /\breg\.t\.qq\.com$/, /\bb\.qq\.com$/, /\bmail\.qq\.com$/, /\bqmail\.com$/]
                        , e = (0,
                            i["default"])(document.referrer);
                    for (n in t)
                        if (t[n] && t[n].test && t[n].test(e.hostname))
                            return !0;
                    if ("1" == k["default"].bom.query("pt_pwd"))
                        for (var n in t = [/\bjiazhang.qq.com$/, /\bqidian.qq.com$/])
                            if (t[n] && t[n].test && t[n].test(e.hostname))
                                return !0;
                    return !1
                },
                "isQcloud": function () {
                    return !!(0,
                        i["default"])(document.referrer).hostname.match(/\b(qcloud\.com|cloud\.tencent\.com)$/)
                },
                "isNewStyle": 40 <= C.ptui.style,
                "isTim": 41 == C.ptui.style,
                "switchpageCount": 0,
                "isUIStyle": C.ptui.fromStyle,
                "domFocus": function (t) {
                    try {
                        window.setTimeout(function () {
                            t.focus()
                        }, 0)
                    } catch (e) { }
                },
                "formFocus": function () {
                    var t = document.loginform;
                    try {
                        var e = t.u
                            , n = t.p
                            , i = t.verifycode;
                        if ("" == e.value)
                            return void e.focus();
                        if ("" == n.value)
                            return void n.focus();
                        "" == i.value && i.focus()
                    } catch (o) { }
                },
                "getAuthUrl": function () {
                    var t = (C.ptui.isHttps ? "https://ssl." : "http://") + "ptlogin2." + C.ptui.domain + "/pt4_auth?daid=" + C.ptui.daid + "&appid=" + C.ptui.appid + "&auth_token=" + k["default"].str.time33(k["default"].cookie.get("supertoken"))
                        , e = C.ptui.s_url;
                    return /^https/.test(e) && (t += "&pt4_shttps=1"),
                        "1" == C.ptui.pt_qzone_sig && (t += "&pt_qzone_sig=1"),
                        t
                },
                "auth": function () {
                    T.authTimes = T.authTimes + 1,
                        C.ptui.isHttps = k["default"].check.isHttps();
                    var t = T.getAuthUrl()
                        , e = k["default"].cookie.get("superuin");
                    C.ptui.daid && "1" != C.ptui.noAuth && !T.isTim && "" != e && "" == C.ptui.regmaster && "0" == C.ptui.pt_3rd_aid && k["default"].http.loadScript(t)
                },
                "initAuthInfo": function (t) {
                    var e = k["default"].cookie.get("uin").replace(/^o0*/, "")
                        , n = k["default"].str.utf8ToUincode(k["default"].cookie.get("ptnick_" + e)) || e;
                    (0,
                        k["default"])("auth_uin").innerHTML = k["default"].str.encodeHtml(e),
                        (0,
                            k["default"])("auth_nick").innerHTML = k["default"].str.encodeHtml(n),
                        (0,
                            k["default"])("auth_area").setAttribute("authUrl", k["default"].str.encodeHtml(t)),
                        k["default"].http.loadScript((C.ptui.isHttps ? "https://ssl.ptlogin2." : "http://ptlogin2.") + C.ptui.domain + "/getface?appid=" + C.ptui.appid + "&imgtype=3&encrytype=0&devtype=0&keytpye=0&uin=" + e + "&r=" + Math.random())
                },
                "showAuth": function (t, e) {
                    2 == t && k["default"].css.hide((0,
                        k["default"])("cancleAuthOuter")),
                        T.initAuthInfo(e);
                    e = C.ptui.style;
                    22 != e && 23 != e || (k["default"].css.hide((0,
                        k["default"])("header")),
                        k["default"].css.hide((0,
                            k["default"])("authHeader"))),
                        (0,
                            k["default"])("authLogin").style.height = (0,
                                k["default"])("login").offsetHeight - (11 == e ? 2 : 4) + "px",
                        k["default"].css.show((0,
                            k["default"])("authLogin")),
                        T.ptui_notifySize("login")
                },
                "cancleAuth": function () {
                    var t = C.ptui.style;
                    22 != t && 23 != t || (k["default"].css.show((0,
                        k["default"])("header")),
                        k["default"].css.show((0,
                            k["default"])("authHeader"))),
                        k["default"].css.hide((0,
                            k["default"])("authLogin")),
                        T.ptui_notifySize("login")
                },
                "authLogin": function () {
                    l["default"].authLoginSubmit()
                },
                "authMouseDowm": function () {
                    var t = (0,
                        k["default"])("auth_mengban");
                    t && (t.className = "face_mengban")
                },
                "authMouseUp": function () {
                    var t = (0,
                        k["default"])("auth_mengban");
                    t && (t.className = "")
                },
                "onQloginSwitch": function (t) {
                    t.preventDefault(),
                        T.switchpage(q.LoginState.QLogin),
                        k["default"].report.monitor("331284", .05)
                },
                "switchpage": function (t, e) {
                    switch (S.logger.info("plogin.switchpage()", "flag=".concat(t, " force=").concat(e)),
                    T.switchpageCount = T.switchpageCount + 1,
                    T.loginState = t,
                    e || T.hide_err(),
                    t) {
                        case 1:
                            T.hideQrTips(),
                                k["default"].css.hide((0,
                                    k["default"])("bottom_qlogin")),
                                k["default"].css.hide((0,
                                    k["default"])("qlogin")),
                                k["default"].css.show((0,
                                    k["default"])("web_qr_login")),
                                (0,
                                    k["default"])("qrswitch") && k["default"].css.show((0,
                                        k["default"])("qrswitch")),
                                T.isNewStyle || ((0,
                                    k["default"])("switcher_plogin").className = "switch_btn_focus",
                                    (0,
                                        k["default"])("switcher_qlogin").className = "switch_btn"),
                                "ff" != k["default"].browser("type") && window.setTimeout(function () {
                                    T.formFocus()
                                }, 0),
                                T.isNewQr && T.cancle_qrlogin(),
                                T.armSafeEdit && T.armSafeEdit.everSafe && (T.armSafeEdit.lockToggle(),
                                    T.armSafeEdit.everSafe = !1),
                                0 != T.onekeyVerifyClock && T.onekeyVerify("normal"),
                                T.hasCheck(!1);
                            break;
                        case 2:
                            k["default"].css.hide((0,
                                k["default"])("web_qr_login")),
                                k["default"].css.show((0,
                                    k["default"])("qlogin")),
                                T.isNewStyle || ((0,
                                    k["default"])("switcher_plogin").className = "switch_btn",
                                    (0,
                                        k["default"])("switcher_qlogin").className = "switch_btn_focus"),
                                (0,
                                    k["default"])("qrswitch") && k["default"].css.hide((0,
                                        k["default"])("qrswitch")),
                                k["default"].css.show((0,
                                    k["default"])("bottom_qlogin")),
                                l["default"].focusHeader(),
                                T.armSafeEdit.isSafe && (T.armSafeEdit.lockToggle(),
                                    T.armSafeEdit.everSafe = !0),
                                l["default"].buildQloginDom()
                    }
                    T.ptui_notifySize("login")
                },
                "detectCapsLock": function (t) {
                    var e = t.keyCode || t.which
                        , t = t.shiftKey || 16 == e || !1;
                    return !!(65 <= e && e <= 90 && !t || 97 <= e && e <= 122 && t)
                },
                "generateEmailTips": function (t) {
                    for (var e = t.indexOf("@"), n = "", n = -1 == e ? t : t.substring(0, e), i = [], o = 0, r = T.knownEmail.length; o < r; o++)
                        i.push(n + "@" + T.knownEmail[o]);
                    for (var a = [], l = 0, r = i.length; l < r; l++)
                        -1 < i[l].indexOf(t) && a.push(k["default"].str.encodeHtml(i[l]));
                    return 19 == C.ptui.style && (a = []),
                        a
                },
                "createEmailTips": function (t) {
                    var e, n = T.generateEmailTips(t), i = n.length, o = [];
                    if (0 == (i = Math.min(i, 4)))
                        return T.list_index[0] = -1,
                            void T.hideEmailTips();
                    for (var r = 0; r < i; r++) {
                        if (t == n[r])
                            return void T.hideEmailTips();
                        e = "emailTips_" + r,
                            0 == r ? o.push("<li id=" + e + " class='hover' >" + n[r] + "</li>") : o.push("<li id=" + e + ">" + n[r] + "</li>")
                    }
                    (0,
                        k["default"])("email_list").innerHTML = o.join(" "),
                        T.list_index[0] = 0
                },
                "showEmailTips": function () {
                    k["default"].css.show((0,
                        k["default"])("email_list")),
                        T.__isShowEmailTips = !0
                },
                "hideEmailTips": function () {
                    k["default"].css.hide((0,
                        k["default"])("email_list")),
                        T.__isShowEmailTips = !1
                },
                "setUrl": function () {
                    var t = C.ptui.domain
                        , e = k["default"].check.isHttps() && k["default"].check.isSsl();
                    T.checkUrl = (C.ptui.isHttps ? "https://ssl." : "http://check.") + "ptlogin2." + t + "/check",
                        T.loginUrl = (C.ptui.isHttps ? "https://ssl." : "http://") + "ptlogin2." + t + "/",
                        T.verifycodeUrl = (C.ptui.isHttps ? "https://ssl." : "http://") + "captcha." + t + "/getimage",
                        e && "qq.com" != t && "tenpay.com" != t && (T.verifycodeUrl = "https://ssl.ptlogin2." + t + "/ptgetimage"),
                        T.dftImg = C.ptui.isHttps ? "https://ui.ptlogin2.qq.com/style/0/images/1.gif" : "http://imgcache.qq.com/ptlogin/v4/style/0/images/1.gif"
                },
                "VCCallback": function (t) {
                    setTimeout(function () {
                        0 == t.ret ? T.vcodeMessage(t) : T.hideVC()
                    }, 0)
                },
                "init": function () {
                    T.toggleManager = new c.ToggleManager(window.g_aegisUid, window.navigator.userAgent),
                        C.ptui.login_sig = C.ptui.login_sig || k["default"].cookie.get("pt_login_sig"),
                        T.setLowloginCheckbox(),
                        T.isNewQr = !(25 != C.ptui.style && 32 != C.ptui.style && 33 != C.ptui.style && !T.isNewStyle && !T.isTenpay),
                        C.ptui.isHttps = k["default"].check.isHttps(),
                        T.setUrl(),
                        T.bindEvent(),
                        (0,
                            k["default"])("login_button") && ((0,
                                k["default"])("login_button").disabled = !1),
                        T.set_default_uin(C.ptui.defaultUin),
                        T.isTenpay && C.ptui.defaultUin && (C.ptui.lockuin = 1),
                        k["default"].check.is_weibo_appid(C.ptui.appid) && (0,
                            k["default"])("u") && ((0,
                                k["default"])("u").style.imeMode = "auto"),
                        C.ptui.isHttps && (T.delayTime = 7e3,
                            T.delayMonitorId = "294060"),
                        T.hideVipLink(),
                        "0" != C.ptui.pt_3rd_aid && l["default"].detectPCMgr(),
                        C.ptui.lockuin ? T.doLockuin() : (l["default"].fetchOnekeyList(),
                            l["default"].fetchQloginList()),
                        !(T.isTenpay && 1093 <= k["default"].sso_ver) || T.isWin8() && k["default"].suportActive() || T.armSafeEdit(),
                        l["default"].buildUnifiedQloginList(),
                        window.setTimeout(function () {
                            T.domLoad(),
                                S.logger.info("plogin.init()", "domLoaded, pt.ptui=".concat(k["default"].str.json2str(C.ptui, null, 4)))
                        }, 100)
                },
                "isWin8": function () {
                    var t = navigator.userAgent.toLowerCase();
                    return -1 < t.indexOf("windows nt 6.2") || -1 < t.indexOf("windows nt 6.3")
                },
                "aq_patch": function () {
                    Math.random() < .05 && !C.ptui.isHttps && k["default"].http.loadScript("http://mat1.gtimg.com/www/js/common_v2.js", function () {
                        if ("function" == typeof checkNonTxDomain)
                            try {
                                checkNonTxDomain(1, 5)
                            } catch (t) { }
                    })
                },
                "hideVipLink": function () {
                    var t = (0,
                        k["default"])("vip_link2")
                        , e = (0,
                            k["default"])("vip_dot");
                    !t || !e || k["default"].check.needVip(C.ptui.appid) && "2052" == C.ptui.lang || (k["default"].css.addClass(t, "hide"),
                        k["default"].css.addClass(e, "hide"))
                },
                "set_default_uin": function (t) {
                    "0" != t && (t || (t = k["default"].cookie.get("ptui_loginuin"),
                        k["default"].check.is_weibo_appid(C.ptui.appid) || !k["default"].check.isNick(t) && !k["default"].check.isName(t) || (t = 0 == (t = +k["default"].cookie.get("pt2gguin").replace(/^o/, "")) ? "" : t)),
                        ((0,
                            k["default"])("u").value = t) && (k["default"].css.hide((0,
                                k["default"])("uin_tips")),
                                (0,
                                    k["default"])("uin_del") && k["default"].css.show((0,
                                        k["default"])("uin_del")),
                                T.set_account()))
                },
                "doLockuin": function () {
                    T.switchpage(q.LoginState.PLogin, !0),
                        (0,
                            k["default"])("u").readOnly = !0,
                        (0,
                            k["default"])("qlogin_entry") && ((0,
                                k["default"])("qlogin_entry").style.display = "none");
                    var t = (0,
                        k["default"])("uinArea");
                    k["default"].css.hasClass(t, "default") || k["default"].css.addClass(t, "default");
                    t = (0,
                        k["default"])("uin_del");
                    t && t.parentNode.removeChild(t),
                        k["default"].e.remove((0,
                            k["default"])("switcher_qlogin"), "click", T.onQloginSwitch),
                        (0,
                            k["default"])("switcher_qlogin").className = "switch_btn_disabled",
                        (0,
                            k["default"])("p").focus()
                },
                "set_account": function () {
                    var t = k["default"].str.trim((0,
                        k["default"])("u").value)
                        , e = C.ptui.appid;
                    if (T.account = t,
                        T.at_account = t,
                        k["default"].check.isQiyeQQ800(t))
                        return T.at_account = "@" + t,
                            !0;
                    if (k["default"].check.is_weibo_appid(e)) {
                        if (k["default"].check.isQQ(t) || k["default"].check.isMail(t))
                            return !0;
                        if (k["default"].check.isNick(t) || k["default"].check.isName(t))
                            return T.at_account = "@" + t,
                                !0;
                        if (k["default"].check.isPhone(t))
                            return T.at_account = "@" + t.replace(/^(86|886)/, ""),
                                !0;
                        if (k["default"].check.isSeaPhone(t))
                            return T.at_account = "@00" + t.replace(/^(00)/, ""),
                                /^(@0088609)/.test(T.at_account) && (T.at_account = T.at_account.replace(/^(@0088609)/, "@008869")),
                                !0
                    } else {
                        if (k["default"].check.isQQ(t) || k["default"].check.isMail(t))
                            return !0;
                        if (k["default"].check.isPhone(t))
                            return T.at_account = "@" + t.replace(/^(86|886)/, ""),
                                !0;
                        if (k["default"].check.isNick(t))
                            return (0,
                                k["default"])("u").value = t + "@qq.com",
                                T.account = t + "@qq.com",
                                T.at_account = t + "@qq.com",
                                !0
                    }
                    return k["default"].check.isForeignPhone(t) && (T.at_account = "@" + t),
                        !0
                },
                "adjustErrTips": function () {
                    var t, e, n;
                    T.isNewStyle && (t = (0,
                        k["default"])("error_tips"),
                        e = (0,
                            k["default"])("loading_tips"),
                        "block" == k["default"].css.getComputedStyle((0,
                            k["default"])("qlogin_tips_0")).display && "block" == k["default"].css.getComputedStyle((0,
                                k["default"])("qlogin")).display && (n = (0,
                                    k["default"])("qlogin_tips_0")),
                        "block" == k["default"].css.getComputedStyle((0,
                            k["default"])("qlogin_tips_1")).display && "block" == k["default"].css.getComputedStyle((0,
                                k["default"])("qlogin")).display && (n = (0,
                                    k["default"])("qlogin_tips_1")),
                        "block" == k["default"].css.getComputedStyle((0,
                            k["default"])("qlogin_tips_2")).display && "block" == k["default"].css.getComputedStyle((0,
                                k["default"])("qlogin")).display && (n = (0,
                                    k["default"])("qlogin_tips_2")),
                        "block" == k["default"].css.getComputedStyle((0,
                            k["default"])("qlogin_tips_3")).display && "block" == k["default"].css.getComputedStyle((0,
                                k["default"])("qlogin")).display && (n = (0,
                                    k["default"])("qlogin_tips_3")),
                        (0,
                            k["default"])("qlogin_tips_4") && "block" == k["default"].css.getComputedStyle((0,
                                k["default"])("qlogin_tips_4")).display && "block" == k["default"].css.getComputedStyle((0,
                                    k["default"])("qlogin")).display && (n = (0,
                                        k["default"])("qlogin_tips_4")),
                        "block" == k["default"].css.getComputedStyle((0,
                            k["default"])("tips")).display && "block" == k["default"].css.getComputedStyle((0,
                                k["default"])("web_qr_login")).display && (n = (0,
                                    k["default"])("tips")),
                        t.style.top = k["default"].css.getOffsetPosition(n).top + parseInt(k["default"].css.getCurrentPixelStyle(n, "height"), 10) + "px",
                        e.style.top = k["default"].css.getOffsetPosition(n).top + parseInt(k["default"].css.getCurrentPixelStyle(n, "height"), 10) + "px")
                },
                "show_err": function (t, e) {
                    var n;
                    T.smsCheck || ((n = (0,
                        k["default"])("onekey_step2")) && "block" == k["default"].css.getComputedStyle(n).display ? (0,
                            k["default"])("onekey_tips").innerHTML = t : (T.hideLoading(),
                                T.adjustErrTips(),
                                k["default"].css.show((0,
                                    k["default"])("error_tips")),
                                T.err_m.innerHTML = t),
                        clearTimeout(T.errclock),
                        e || (T.errclock = setTimeout("pt.plogin.hide_err()", 5e3)))
                },
                "hide_err": function () {
                    var t = (0,
                        k["default"])("onekey_step2");
                    t && "block" == k["default"].css.getComputedStyle(t).display ? (0,
                        k["default"])("onekey_tips").innerHTML = "" : (k["default"].css.hide((0,
                            k["default"])("error_tips")),
                            T.err_m.innerHTML = "")
                },
                "showAssistant": function (t) {
                    if ("2052" == C.ptui.lang) {
                        T.hideLoading(),
                            T.adjustErrTips(),
                            k["default"].css.show((0,
                                k["default"])("error_tips"));
                        var e = "";
                        switch (t) {
                            case 0:
                                e = "快速登录异常,试试 {/assistant/troubleshooter.html,登录助手,} 修复",
                                    k["default"].report.monitor("315785");
                                break;
                            case 1:
                                e = "快速登录异常,试试 {/assistant/troubleshooter.html,登录助手,} 修复",
                                    k["default"].report.monitor("315786");
                                break;
                            case 2:
                                e = "登录异常,试试 {/assistant/troubleshooter.html,登录助手,} 修复",
                                    k["default"].report.monitor("315787");
                                break;
                            case 3:
                                e = "快速登录异常,试试 {http://im.qq.com/qq/2013/,升级QQ,οnclick='$.report.monitor(326049);'} 修复",
                                    k["default"].report.monitor("326046");
                                break;
                            case 4:
                                e = "快速登录异常,试试 {http://im.qq.com/macqq/index.shtml#im.qqformac.plusdown,安装插件,} 并重启浏览器"
                        }
                        T.err_m.innerHTML = e.replace(/{([^,]+?),([^,]+?),(.*?)}/, "<a class='tips_link' style='color: #29B1F1' href='$1' target='_blank' $3>$2</a>")
                    }
                },
                "showGuanjiaTips": function () {
                    k["default"].initGuanjiaPlugin(),
                        k["default"].guanjiaPlugin ? (k["default"].guanjiaPlugin.QMStartUp(16, '/traytip=3 /tipProblemid=1401 /tipSource=18 /tipType=0 /tipIdParam=0 /tipIconUrl="http://dldir2.qq.com/invc/xfspeed/qqpcmgr/clinic/image/tipsicon_qq.png" /tipTitle="QQ快速登录异常?" /tipDesc="不能用已登录的QQ号快速登录,只能手动输入账号密码,建议用电脑诊所一键修复。"'),
                            k["default"].report.monitor("316548")) : k["default"].report.monitor("316549")
                },
                "showLoading": function (t) {
                    T.isNewStyle ? T.adjustErrTips() : (t = T.loginState == q.LoginState.QLogin ? 10 : 20,
                        (0,
                            k["default"])("loading_tips").style.top = t + "px"),
                        T.hide_err(),
                        k["default"].css.show((0,
                            k["default"])("loading_tips"))
                },
                "hideLoading": function () {
                    k["default"].css.hide((0,
                        k["default"])("loading_tips"))
                },
                "showLowList": function () {
                    var t = (0,
                        k["default"])("combox_list");
                    t && (k["default"].css.show(t),
                        T.low_login_isshow = !0)
                },
                "hideLowList": function () {
                    var t = (0,
                        k["default"])("combox_list");
                    t && (k["default"].css.hide(t),
                        T.low_login_isshow = !1)
                },
                "u_focus": function () {
                    "" == (0,
                        k["default"])("u").value && (k["default"].css.show((0,
                            k["default"])("uin_tips")),
                            (0,
                                k["default"])("uin_tips").className = "input_tips_focus"),
                        (0,
                            k["default"])("u").parentNode.className = "inputOuter_focus"
                },
                "u_blur": function () {
                    var t, e;
                    T.__isShowEmailTips || (/^\+/.test(this.value) && (this.value = this.value.replace(/^\+/, ""),
                        /^00/.test(this.value) || (this.value = "00" + this.value)),
                        "" == (t = (0,
                            k["default"])("u")).value ? (e = (0,
                                k["default"])("uin_tips"),
                                k["default"].css.show(e),
                                e.className = "input_tips") : (T.set_account(),
                                    T.check()),
                        t.parentNode.className = "inputOuter")
                },
                "u_mouseover": function () {
                    "inputOuter_focus" == (0,
                        k["default"])("u").parentNode.className || ((0,
                            k["default"])("u").parentNode.className = "inputOuter_hover")
                },
                "u_mouseout": function () {
                    "inputOuter_focus" == (0,
                        k["default"])("u").parentNode.className || ((0,
                            k["default"])("u").parentNode.className = "inputOuter")
                },
                "window_blur": function () {
                    T.lastCheckAccount = ""
                },
                "u_refresh_dom": function () {
                    "" == (0,
                        k["default"])("u").value ? (k["default"].css.show((0,
                            k["default"])("uin_tips")),
                            (0,
                                k["default"])("uin_tips").className = "input_tips_focus",
                            (0,
                                k["default"])("uin_del") && k["default"].css.hide((0,
                                    k["default"])("uin_del"))) : (k["default"].css.hide((0,
                                        k["default"])("uin_tips")),
                                        (0,
                                            k["default"])("uin_del") && k["default"].css.show((0,
                                                k["default"])("uin_del")))
                },
                "u_change": function () {
                    T.set_account(),
                        T.passwordErrorNum = 1,
                        T.hasCheck(!1),
                        T.hasSubmit = !1
                },
                "list_keydown": function (t, e) {
                    var n = (0,
                        k["default"])("email_list")
                        , i = (0,
                            k["default"])("u");
                    1 == e && (n = (0,
                        k["default"])("combox_list"));
                    var o = n.getElementsByTagName("li")
                        , r = o.length;
                    switch (t.keyCode) {
                        case T.keyCode.UP:
                            o[T.list_index[e]].className = "",
                                T.list_index[e] = (T.list_index[e] - 1 + r) % r,
                                o[T.list_index[e]].className = "hover";
                            break;
                        case T.keyCode.DOWN:
                            o[T.list_index[e]].className = "",
                                T.list_index[e] = (T.list_index[e] + 1) % r,
                                o[T.list_index[e]].className = "hover";
                            break;
                        case T.keyCode.ENTER:
                            var a = o[T.list_index[e]].innerHTML;
                            0 == e && (i.value = k["default"].str.decodeHtml(a)),
                                T.hideEmailTips(),
                                T.hideLowList(),
                                t.preventDefault();
                            break;
                        case T.keyCode.TAB:
                            T.hideEmailTips(),
                                T.hideLowList()
                    }
                    1 == e && ((0,
                        k["default"])("combox_box").innerHTML = o[T.list_index[e]].innerHTML,
                        (0,
                            k["default"])("low_login_hour").value = o[T.list_index[e]].getAttribute("value"))
                },
                "u_keydown": function (t) {
                    k["default"].css.hide((0,
                        k["default"])("uin_tips")),
                        -1 != T.list_index[0] && T.list_keydown(t, 0)
                },
                "u_keyup": function (t) {
                    "" == this.value ? (k["default"].css.show((0,
                        k["default"])("uin_tips")),
                        (0,
                            k["default"])("uin_tips").className = "input_tips_focus",
                        (0,
                            k["default"])("uin_del") && k["default"].css.hide((0,
                                k["default"])("uin_del"))) : (0,
                                    k["default"])("uin_del") && k["default"].css.show((0,
                                        k["default"])("uin_del"));
                    t = t.keyCode;
                    t != T.keyCode.UP && t != T.keyCode.DOWN && t != T.keyCode.ENTER && t != T.keyCode.TAB && t != T.keyCode.F5 && (-1 < (0,
                        k["default"])("u").value.indexOf("@") ? (T.showEmailTips(),
                            T.createEmailTips((0,
                                k["default"])("u").value)) : T.hideEmailTips())
                },
                "email_mousemove": function (t) {
                    var e, n = t.target;
                    "li" == n.tagName.toLowerCase() && ((e = (0,
                        k["default"])("emailTips_" + T.list_index[0])) && (e.className = ""),
                        n.className = "hover",
                        T.list_index[0] = parseInt(n.getAttribute("id").substring(10), 10),
                        t.stopPropagation())
                },
                "email_click": function (t) {
                    var e;
                    "li" == t.target.tagName.toLowerCase() && ((e = (0,
                        k["default"])("emailTips_" + T.list_index[0])) && ((0,
                            k["default"])("u").value = k["default"].str.decodeHtml(e.innerHTML),
                            T.set_account(),
                            T.check()),
                        T.hideEmailTips(),
                        t.stopPropagation())
                },
                "p_focus": function () {
                    "" == this.value && (k["default"].css.show((0,
                        k["default"])("pwd_tips")),
                        (0,
                            k["default"])("pwd_tips").className = "input_tips_focus"),
                        this.parentNode.className = "inputOuter_focus",
                        T.check()
                },
                "p_blur": function () {
                    "" == this.value && (k["default"].css.show((0,
                        k["default"])("pwd_tips")),
                        (0,
                            k["default"])("pwd_tips").className = "input_tips"),
                        k["default"].css.hide((0,
                            k["default"])("caps_lock_tips")),
                        this.parentNode.className = "inputOuter"
                },
                "p_mouseover": function () {
                    "inputOuter_focus" == (0,
                        k["default"])("p").parentNode.className || ((0,
                            k["default"])("p").parentNode.className = "inputOuter_hover")
                },
                "p_mouseout": function () {
                    "inputOuter_focus" == (0,
                        k["default"])("p").parentNode.className || ((0,
                            k["default"])("p").parentNode.className = "inputOuter")
                },
                "p_keydown": function () {
                    k["default"].css.hide((0,
                        k["default"])("pwd_tips"))
                },
                "p_keyup": function () {
                    "" == this.value && k["default"].css.show((0,
                        k["default"])("pwd_tips"))
                },
                "p_keypress": function (t) {
                    T.detectCapsLock(t) ? k["default"].css.show((0,
                        k["default"])("caps_lock_tips")) : k["default"].css.hide((0,
                            k["default"])("caps_lock_tips"))
                },
                "p_refresh_dom": function () {
                    "" == (0,
                        k["default"])("p").value ? (k["default"].css.show((0,
                            k["default"])("pwd_tips")),
                            (0,
                                k["default"])("pwd_tips").className = "input_tips_focus") : k["default"].css.hide((0,
                                    k["default"])("pwd_tips"))
                },
                "vc_focus": function () {
                    "" == this.value && (k["default"].css.show((0,
                        k["default"])("vc_tips")),
                        (0,
                            k["default"])("vc_tips").className = "input_tips_focus"),
                        this.parentNode.className = "inputOuter_focus"
                },
                "vc_blur": function () {
                    "" == this.value && (k["default"].css.show((0,
                        k["default"])("vc_tips")),
                        (0,
                            k["default"])("vc_tips").className = "input_tips"),
                        this.parentNode.className = "inputOuter"
                },
                "vc_keydown": function () {
                    k["default"].css.hide((0,
                        k["default"])("vc_tips"))
                },
                "vc_keyup": function () {
                    "" == this.value && k["default"].css.show((0,
                        k["default"])("vc_tips"))
                },
                "document_click": function () {
                    T.action[0] = T.action[0] + 1,
                        T.hideEmailTips(),
                        T.hideLowList()
                },
                "document_keydown": function () {
                    T.action[1] = T.action[1] + 1
                },
                "setLowloginCheckbox": function () {
                    T.isMailLogin && (T.low_login_enable = !1),
                        1 == C.ptui.low_login && (T.low_login_enable ? ((0,
                            k["default"])("q_low_login_enable").className = "checked",
                            (0,
                                k["default"])("p_low_login_enable").className = "checked",
                            (0,
                                k["default"])("auth_low_login_enable").className = "checked") : ((0,
                                    k["default"])("q_low_login_enable").className = "uncheck",
                                    (0,
                                        k["default"])("p_low_login_enable").className = "uncheck",
                                    (0,
                                        k["default"])("auth_low_login_enable").className = "uncheck"))
                },
                "checkbox_click": function () {
                    T.low_login_enable ? ((0,
                        k["default"])("q_low_login_enable").className = "uncheck",
                        (0,
                            k["default"])("p_low_login_enable").className = "uncheck",
                        (0,
                            k["default"])("auth_low_login_enable").className = "uncheck") : ((0,
                                k["default"])("q_low_login_enable").className = "checked",
                                (0,
                                    k["default"])("p_low_login_enable").className = "checked",
                                (0,
                                    k["default"])("auth_low_login_enable").className = "checked"),
                        T.low_login_enable = !T.low_login_enable
                },
                "feedback": function () {
                    window.open("https://support.qq.com/products/14800")
                },
                "bind_account": function () {
                    k["default"].css.hide((0,
                        k["default"])("operate_tips")),
                        T.need_hide_operate_tips = !0,
                        window.open("https://id.qq.com/index.html#account"),
                        k["default"].report.monitor("234964")
                },
                "combox_click": function (t) {
                    T.low_login_isshow ? T.hideLowList() : T.showLowList(),
                        t.stopPropagation()
                },
                "delUin": function (t) {
                    t && k["default"].css.hide(t.target),
                        (0,
                            k["default"])("u").value = "",
                        T.domFocus((0,
                            k["default"])("u")),
                        T.hasCheck(!1)
                },
                "check_cdn_img": function () {
                    var e;
                    window.g_cdn_js_fail && !C.ptui.isHttps && ((e = new Image).onload = function () {
                        e.onload = null,
                            e.onerror = null
                    }
                        ,
                        e.onerror = function () {
                            e.onload = null;
                            var t = (t = (e.onerror = null,
                                k["default"])("main_css").innerHTML).replace(new RegExp("https://imgcache.qq.com/ptlogin/v4/style/", "g"), "https://ui.ptlogin2.qq.com/style/");
                            T.insertInlineCss(t),
                                k["default"].report.monitor(312520)
                        }
                        ,
                        e.src = "https://imgcache.qq.com/ptlogin/v4/style/20/images/c_icon_1.png")
                },
                "insertInlineCss": function (t) {
                    var e;
                    document.createStyleSheet ? document.createStyleSheet("").cssText = t : ((e = document.createElement("style")).type = "text/css",
                        e.textContent = t,
                        document.getElementsByTagName("head")[0].appendChild(e))
                },
                "createLink": function (t) {
                    var e = document.createElement("link");
                    e.setAttribute("type", "text/css"),
                        e.setAttribute("rel", "stylesheet"),
                        e.setAttribute("href", t),
                        document.getElementsByTagName("head")[0].appendChild(e)
                },
                "checkInputLable": function () {
                    try {
                        (0,
                            k["default"])("u").value && k["default"].css.hide((0,
                                k["default"])("uin_tips")),
                            window.setTimeout(function () {
                                (0,
                                    k["default"])("p").value && k["default"].css.hide((0,
                                        k["default"])("pwd_tips"))
                            }, 1e3)
                    } catch (t) { }
                },
                "domLoad": function () {
                    if (!T.hasDomLoad) {
                        var t, e;
                        T.hasDomLoad = !0,
                            T.isPwdFirst() || T.switchpage(q.LoginState.QLogin),
                            "1" == k["default"].bom.query("pt_disable_pwd") && (T.switchpage(q.LoginState.QLogin),
                                t = (0,
                                    k["default"])("switcher_plogin"),
                                e = (0,
                                    k["default"])("docs_dotted"),
                                t && k["default"].css.hide(t),
                                e && k["default"].css.hide(e)),
                            "1" == k["default"].bom.query("pt_isdocs") && (i = (0,
                                k["default"])("login"),
                                k["default"].css.addClass(i, "docsqq")),
                            T.checkInputLable(),
                            T.checkNPLoad(),
                            T.loadQrTipsPic();
                        var n, i = (0,
                            k["default"])("loading_img");
                        i && i.setAttribute("src", i.getAttribute("place_src")),
                            T.check_cdn_img(),
                            T.ptui_notifySize("login"),
                            k["default"].report.monitor("373507&union=256042", .05),
                            navigator.cookieEnabled || (k["default"].report.monitor(408084),
                                k["default"].cookie.get("ptcz") && k["default"].report.monitor(408085)),
                            T.isTenpay && (1093 <= k["default"].sso_ver ? k["default"].report.monitor("451205") : k["default"].report.monitor("451206")),
                            T.dottedShow(),
                            T.webLoginReport(),
                            T.monitorQQNum(),
                            T.aq_patch(),
                            T.gzipReport(),
                            setTimeout(function () {
                                T.isNewStyle && l["default"].hasNoQlogin() && !T.isPwdFirst() && T.showQrTips()
                            }, 1e3),
                            T.isNewStyle && setTimeout("window.scrollTo(0, 0)", 100),
                            !T.isTim || (n = (0,
                                k["default"])("bottom_qlogin")) && k["default"].css.hide(n),
                            !C.plogin.isOnlyQQLogin() || (n = (0,
                                k["default"])("uin_tips")) && (n.innerHTML = k["default"].str.encodeHtml(n.getAttribute("data-onlyqq")));
                        var o = (0,
                            k["default"])("qr_tips_pic");
                        if (o)
                            switch (parseInt(C.ptui.lang, 10)) {
                                case 1033:
                                    o.style.background = "url(//imgcache.qq.com/ptlogin/v4/style/40/images/scanQRcode.png)";
                                    break;
                                case 1028:
                                    o.style.background = "url(//imgcache.qq.com/ptlogin/v4/style/40/images/scanQRcode_cht.png)"
                            }
                        T.isTim || k["default"].http.loadScript("https://ssl.captcha.qq.com/TCaptcha.js", function () {
                            T.initNewVerifyCodeUI(),
                                T.formFocus()
                        })
                    }
                },
                "dottedShow": function () {
                    try {
                        var t = (0,
                            k["default"])("bottom_qlogin");
                        if (!t)
                            return;
                        t = t.getElementsByTagName("span");
                        if (!t || 0 == t.length)
                            return;
                        for (var t = t[t.length - 1], e = t, n = !1; e;) {
                            if ("a" == (e.tagName && e.tagName.toLowerCase())) {
                                n = !0;
                                break
                            }
                            e = e.nextSibling
                        }
                        n || (t.style.display = "none")
                    } catch (i) {
                        k["default"].report.nlog("dotted show " + i.message)
                    }
                },
                "isOnlyQQLogin": function () {
                    return C.plogin.isQcloud() || 527 == C.ptui.daid || "358" === C.ptui.daid
                },
                "checkNPLoad": function () {
                    navigator.mimeTypes["application/nptxsso"] && !k["default"].sso_loadComplete && k["default"].checkNPPlugin()
                },
                "gzipReport": function () {
                    var n, t;
                    "1" == C.ptui.gzipEnable || C.ptui.isHttps || T.isUIStyle || (k["default"].report.monitor("455847"),
                        (n = k["default"].http.getXHR()) && (t = "/cgi-bin/xver?t=" + Math.random(),
                            n.open("get", t),
                            n.onreadystatechange = function () {
                                if (4 == n.readyState)
                                    if (200 <= n.status && n.status < 300 || 304 === n.status || 1223 === n.status || 0 === n.status) {
                                        try {
                                            var t = document.createElement("script");
                                            t.innerHTML = n.responseText,
                                                document.getElementsByTagName("head")[0].appendChild(t)
                                        } catch (e) { }
                                        window._gz || k["default"].report.nlog("gzip探测异常,返回内容:" + n.responseText + "返回码:" + n.status + "uin=" + k["default"].cookie.get("pt2gguin"), "462348")
                                    } else
                                        k["default"].report.nlog("gzip探测异常,返回内容:" + n.responseText + "返回码:" + n.status + "uin=" + k["default"].cookie.get("pt2gguin"), "462348")
                            }
                            ,
                            n.send()))
                },
                "monitorQQNum": function () {
                    switch (k["default"].loginQQnum) {
                        case 0:
                            k["default"].report.monitor("330314", .05);
                            break;
                        case 1:
                            k["default"].report.monitor("330315", .05);
                            break;
                        case 2:
                            k["default"].report.monitor("330316", .05);
                            break;
                        case 3:
                            k["default"].report.monitor("330317", .05);
                            break;
                        case 4:
                            k["default"].report.monitor("330318", .05);
                            break;
                        default:
                            k["default"].report.monitor("330319", .05)
                    }
                },
                "noscript_err": function () {
                    k["default"].report.nlog("noscript_err", 316648),
                        (0,
                            k["default"])("noscript_area").style.display = "none"
                },
                "bindEvent": function () {
                    var t = (0,
                        k["default"])("u")
                        , e = (0,
                            k["default"])("p")
                        , n = (0,
                            k["default"])("verifycode")
                        , i = (0,
                            k["default"])("verifyimgArea")
                        , o = (0,
                            k["default"])("login_button")
                        , r = (0,
                            k["default"])("p_low_login_box")
                        , a = (0,
                            k["default"])("q_low_login_box")
                        , l = (0,
                            k["default"])("auth_low_login_box")
                        , s = (0,
                            k["default"])("email_list")
                        , u = (0,
                            k["default"])("close")
                        , c = (0,
                            k["default"])("switcher_qlogin")
                        , d = (0,
                            k["default"])("switcher_plogin")
                        , f = (0,
                            k["default"])("uin_del")
                        , p = (0,
                            k["default"])("bind_account")
                        , h = (0,
                            k["default"])("cancleAuth")
                        , g = (0,
                            k["default"])("authClose")
                        , m = (0,
                            k["default"])("auth_area")
                        , _ = ((0,
                            k["default"])("qr_invalid"),
                            (0,
                                k["default"])("goBack"))
                        , y = (0,
                            k["default"])("qr_img_box")
                        , v = (0,
                            k["default"])("qrlogin_img")
                        , w = (0,
                            k["default"])("qr_info_link")
                        , b = (0,
                            k["default"])("qrswitch_logo");
                    b && k["default"].e.add(b, "click", T.switch_qrlogin),
                        w && k["default"].e.add(v, "click", function () {
                            k["default"].report.monitor("331287", .05)
                        }),
                        y && (k["default"].e.add(y, "mouseover", T.showQrTips),
                            k["default"].e.add(y, "mouseout", T.hideQrTips)),
                        _ && k["default"].e.add(_, "click", function (t) {
                            t.preventDefault(),
                                T.go_qrlogin_step(1),
                                k["default"].report.monitor("331288", .05)
                        }),
                        m && (k["default"].e.add(m, "click", T.authLogin),
                            k["default"].e.add(m, "mousedown", T.authMouseDowm),
                            k["default"].e.add(m, "mouseup", T.authMouseUp)),
                        h && k["default"].e.add(h, "click", T.cancleAuth),
                        g && k["default"].e.add(g, "click", T.ptui_notifyClose),
                        c && k["default"].e.add(c, "click", T.onQloginSwitch),
                        d && k["default"].e.add(d, "click", function (t) {
                            t.preventDefault(),
                                T.switchpage(q.LoginState.PLogin),
                                k["default"].report.monitor("331285", .05)
                        }),
                        p && (k["default"].e.add(p, "click", T.bind_account),
                            k["default"].e.add(p, "mouseover", function () {
                                T.need_hide_operate_tips = !1
                            }),
                            k["default"].e.add(p, "mouseout", function () {
                                T.need_hide_operate_tips = !0
                            })),
                        u && k["default"].e.add(u, "click", T.ptui_notifyClose),
                        1 == C.ptui.low_login && r && a && (k["default"].e.add(r, "click", T.checkbox_click),
                            k["default"].e.add(a, "click", T.checkbox_click)),
                        1 == C.ptui.low_login && l && k["default"].e.add(l, "click", T.checkbox_click),
                        k["default"].e.add(t, "focus", T.u_focus),
                        k["default"].e.add(t, "blur", T.u_blur),
                        k["default"].e.add(t, "change", T.u_change),
                        k["default"].e.add(t, "keydown", T.u_keydown),
                        k["default"].e.add(t, "paste", function () {
                            setTimeout(T.u_refresh_dom, 0)
                        }),
                        k["default"].e.add(t, "keyup", T.u_keyup),
                        k["default"].e.add(f, "click", T.delUin),
                        k["default"].e.add(e, "focus", T.p_focus),
                        k["default"].e.add(e, "blur", T.p_blur),
                        k["default"].e.add(e, "keydown", T.p_keydown),
                        k["default"].e.add(e, "keyup", T.p_keyup),
                        k["default"].e.add(e, "keypress", T.p_keypress),
                        k["default"].e.add(e, "paste", function () {
                            setTimeout(T.p_refresh_dom, 0)
                        }),
                        k["default"].e.add(o, "click", function (t) {
                            var e;
                            S.logger.log("$login_btn.onClick()"),
                                t && t.preventDefault(),
                                1 != T.needShowNewVc || T.hasVCSuccess ? 1 == T.needShowNewVc && T.hasVCSuccess ? (e = T.checkUrl.replace(/^https?:\/\//gi, "").split("/")[0],
                                    T.show_err('网络遇到点问题,请稍后刷新页面重试。<a target="_blank" href="https://ping.huatuo.qq.com/' + e + '">点击排查。</a>', !0),
                                    S.logger.info("$login_btn.onClick()", "plogin.cntCheckTimeout=".concat(T.cntCheckTimeout))) : T.submit(t) : (T.showVC(),
                                        S.logger.info("$login_btn.onClick()", "showVC"))
                        }),
                        k["default"].e.add(i, "click", T.changeVC),
                        k["default"].e.add(s, "mousemove", T.email_mousemove),
                        k["default"].e.add(s, "click", T.email_click),
                        k["default"].e.add(document, "click", T.document_click),
                        k["default"].e.add(document, "keydown", T.document_keydown),
                        k["default"].e.add(n, "focus", T.vc_focus),
                        k["default"].e.add(n, "blur", T.vc_blur),
                        k["default"].e.add(n, "keydown", T.vc_keydown),
                        k["default"].e.add(n, "keyup", T.vc_keyup),
                        k["default"].e.add(window, "load", T.domLoad);
                    n = (0,
                        k["default"])("noscript_img");
                    n && (k["default"].e.add(n, "load", T.noscript_err),
                        k["default"].e.add(n, "error", T.noscript_err));
                    n = (0,
                        k["default"])("vip_link2");
                    n && k["default"].e.add(n, "click", function (t) {
                        window.open("https://pay.qq.com/qqvip/index.shtml?aid=vip.gongneng.other.red.dengluweb_wording2_open"),
                            t.preventDefault(),
                            k["default"].report.monitor("263482")
                    }),
                        T.isNewQr && k["default"].e.add(document, "visibilitychange", function () {
                            var t = (0,
                                k["default"])("onekey_step2");
                            if (!t || "block" != k["default"].css.getComputedStyle(t).display)
                                switch (document.visibilityState) {
                                    case "hidden":
                                        T.cancle_qrlogin();
                                        break;
                                    case "visible":
                                        T.loginState == q.LoginState.QLogin && T.qrlogin_invalid && T.begin_qrlogin()
                                }
                        })
                },
                "vcodeMessage": function (t) {
                    t.randstr && t.ticket || k["default"].report.nlog("vcode postMessage error:" + t),
                        (0,
                            k["default"])("verifycode").value = t.randstr,
                        S.logger.info("vcodeMessage set verifycode to", t.randstr),
                        T.pt_verifysession = t.ticket,
                        T.hasVCSuccess = !0,
                        T.hideVC(),
                        T.submit()
                },
                "onSmsSubmit": function () {
                    S.logger.info("plogin.onSmsSubmit()");
                    var t = T.smsLoginUrl;
                    t && (k["default"].cookie.get("pt_sms") && (t += "&pt_sms_code=" + k["default"].cookie.get("pt_sms")),
                        k["default"].http.loadScript(t),
                        S.logger.info("plogin.onSmsSubmit", "url: ".concat(t, ", pt_sms=").concat(k["default"].cookie.get("pt_sms"))))
                },
                "newVCFirst": !0,
                "showNewVC": function () {
                    var t = (0,
                        k["default"])(h);
                    t.style.cssText = "background: none #FFFFFF; position: absolute; top: 0; width: 100%; z-index:9999;",
                        t.style.height = (0,
                            k["default"])("login").offsetHeight - (21 == C.ptui.style ? 2 : 4) + "px",
                        k["default"].css.show(t),
                        T.captcha = new TencentCaptcha(document.getElementById(p), C.ptui.appid, T.VCCallback, {
                            "sid": T.sessionID,
                            "type": "embed"
                        }),
                        T.captcha.show()
                },
                "hideNewVC": function () {
                    (0,
                        k["default"])(h) && k["default"].css.hide((0,
                            k["default"])(h)),
                        window.TencentCaptcha && T.captcha instanceof TencentCaptcha && T.captcha.destroy(),
                        T.captcha = null
                },
                "changeNewVC": function () {
                    T.showNewVC()
                },
                "initNewVerifyCodeUI": function () {
                    var t = (0,
                        k["default"])(h)
                        , e = document.createElement("div")
                        , n = document.createElement("div");
                    n.id = p,
                        T.isQcloud() ? (e.innerHTML = '<div style=" width: 300px; left:50%; margin-left:-150px; position: relative"><div style="position: relative; margin-left: 10px"><a href="javascript:pt.plogin.hideVC();" style="color: #007aff; text-decoration: none;">返回</a></div></div>',
                            n.style.cssText = "background: none #FFFFFF; position: relative; width: 300px; left:50%; margin-left:-150px; z-index:9999;",
                            t.appendChild(n),
                            t.appendChild(e)) : (e.innerHTML = '<div style="border-bottom: 1px solid #d7d7d7;"><div style="position: absolute; margin-left: 10px"><a href="javascript:pt.plogin.hideVC();" style="color: #007aff; text-decoration: none;">返回</a></div><div style="width: 100%; text-align: center; font-size: 16px; font-weight: bold">安全验证</div></div>',
                                n.style.cssText = "background: none #FFFFFF; position: absolute; width: 300px; left:50%; margin-left:-150px; z-index:9999;",
                                t.appendChild(e),
                                t.appendChild(n)),
                        e.style.cssText = "margin: 0px; padding: 0px; line-height: 40px"
                },
                "showVC": function () {
                    T.vcFlag = !0,
                        "1" == C.ptui.pt_vcode_v1 ? T.showNewVC() : (k["default"].css.show((0,
                            k["default"])("verifyArea")),
                            ((0,
                                k["default"])("verifycode").value = "",
                                k["default"])("verifyimg").src = T.getVCUrl(),
                            console.log("showVC set verifycode to empty")),
                        T.ptui_notifySize("login")
                },
                "hideVC": function () {
                    T.vcFlag = !1,
                        "1" == C.ptui.pt_vcode_v1 ? T.hideNewVC() : k["default"].css.hide((0,
                            k["default"])("verifyArea")),
                        T.ptui_notifySize("login")
                },
                "changeVC": function (t) {
                    t && t.preventDefault(),
                        "1" == C.ptui.pt_vcode_v1 ? T.changeNewVC() : (0,
                            k["default"])("verifyimg").src = T.getVCUrl(),
                        t && k["default"].report.monitor("330322", .05)
                },
                "getVCUrl": function () {
                    var t = T.at_account
                        , e = C.ptui.appid
                        , n = T.sessionID || "";
                    return T.verifycodeUrl + "?uin=" + t + "&aid=" + e + "&cap_cd=" + T.cap_cd + (n ? "&sessionID=" + n : "") + "&" + Math.random()
                },
                "checkValidate": function (t) {
                    try {
                        var e = t.u
                            , n = t.p
                            , i = t.verifycode
                            , o = (0,
                                k["default"])("safe_edit");
                        if ("" == k["default"].str.trim(e.value))
                            return T.show_err(C.str.no_uin),
                                T.domFocus(e),
                                !1;
                        if (k["default"].check.isNullQQ(e.value))
                            return T.show_err(C.str.inv_uin),
                                T.domFocus(e),
                                !1;
                        e = n.value;
                        if (T.armSafeEdit.isSafe && o && ("D41D8CD98F00B204E9800998ECF8427E" == (e = o.GetPwdHash()) && (e = ""),
                            T.armSafeEdit.safepwd = e),
                            !e)
                            return T.show_err(C.str.no_pwd),
                                T.domFocus(n),
                                !1;
                        if ("" == i.value)
                            return T.needVc || T.vcFlag ? (T.show_err(C.str.no_vcode),
                                T.domFocus(i)) : (T.checkResultReport(14),
                                    clearTimeout(T.checkClock),
                                    T.showVC()),
                                !1;
                        if (i.value.length < 4)
                            return T.show_err(C.str.inv_vcode),
                                T.domFocus(i),
                                i.select(),
                                !1
                    } catch (r) { }
                    return !0
                },
                "checkTimeout": function () {
                    var t = k["default"].str.trim((0,
                        k["default"])("u").value);
                    (k["default"].check.isQQ(t) || k["default"].check.isQQMail(t)) && (T.cap_cd = 0,
                        T.salt = k["default"].str.uin2hex(t.replace("@qq.com", "")),
                        T.needVc = !0,
                        "1" == C.ptui.pt_vcode_v1 ? T.needShowNewVc = !0 : T.showVC(),
                        T.isCheckTimeout = !0,
                        T.checkRet = 1,
                        T.cntCheckTimeout = T.cntCheckTimeout + 1),
                        k["default"].report.monitor(216082),
                        S.logger.info("plogin.checkTimeout()", "uin=".concat(t))
                },
                "loginTimeout": function () {
                    T.showAssistant(2),
                        console.warn("login Timeout")
                },
                "hasCheck": function (t) {
                    if (void 0 === t)
                        return T.checkState;
                    T.checkState = t
                },
                "check": function (t) {
                    var e;
                    {
                        if (S.logger.log("check start, caller=".concat((0,
                            S.getCallerName)(3))),
                            !T.smsCheck)
                            return 0 === T.checkState ? (S.logger.info("checking, holding"),
                                T.check.cb = t) : (T.account || T.set_account(),
                                    k["default"].check.isNullQQ(T.account) ? (T.show_err(C.str.inv_uin),
                                        !1) : void (T.account != T.lastCheckAccount && "" != T.account ? (T.hasCheck(0),
                                            e = C.ptui.appid,
                                            e = T.getCheckUrl(T.at_account, e),
                                            T.isCheckTimeout = !1,
                                            clearTimeout(T.checkClock),
                                            T.checkClock = setTimeout("pt.plogin.checkTimeout();", 5e3),
                                            k["default"].http.loadScript(e),
                                            T.check.cb = t,
                                            S.logger.info("start to req check api")) : S.logger.info("need not to check, plogin.account=".concat(T.account, " plogin.lastCheckAccount=").concat(T.lastCheckAccount))));
                        S.logger.info("sms need not to check")
                    }
                },
                "getCheckUrl": function (t, e) {
                    var n = T.checkUrl + "?regmaster=" + C.ptui.regmaster + "&pt_tea=2&pt_vcode=" + C.ptui.pt_vcode_v1 + "&";
                    return n += "uin=" + t + "&appid=" + e + "&js_ver=" + C.ptui.ptui_version + "&js_type=" + T.js_type + "&login_sig=" + C.ptui.login_sig + "&u1=" + encodeURIComponent(C.ptui.s_url) + "&r=" + Math.random() + "&pt_uistyle=" + C.ptui.style,
                        window.TDC && window.TDC.getInfo && window.TDC.getInfo().tokenid && (n += "&pt_jstoken=" + window.TDC.getInfo().tokenid),
                        n
                },
                "getSubmitUrl": function (t) {
                    var e, n, i = T.loginUrl + t + "?", o = {};
                    if ("pt_susp_repush" == t)
                        return i + ("appid=" + C.ptui.appid + "&daid=" + C.ptui.daid);
                    for (n in "login" == t && (o.u = "418224472",
                        o.verifycode = (0,
                            k["default"])("verifycode").value,
                        S.logger.info("getSubmitUrl setParams verifycode", (0,
                            k["default"])("verifycode").value),
                        T.needShowNewVc ? o.pt_vcode_v1 = 1 : o.pt_vcode_v1 = 0,
                        o.pt_verifysession_v1 = T.pt_verifysession || k["default"].cookie.get("verifysession"),
                        e = (0,
                            k["default"])("p").value,
                        T.armSafeEdit.isSafe && (e = T.armSafeEdit.safepwd),
                        o.p = r["default"].getEncryption(e, T.salt, o.verifycode, T.armSafeEdit.isSafe),
                        o.pt_randsalt = T.isRandSalt || 0,
                        window.TDC && window.TDC.getInfo && window.TDC.getInfo().tokenid && (o.pt_jstoken = window.TDC.getInfo().tokenid),
                        S.logger.log("getSubmitUrl loginName == login branch finished")),
                        o.u1 = "login" == t ? encodeURIComponent(l["default"].getSurl((0,
                            k["default"])("u").value)) : encodeURIComponent(l["default"].getSurl()),
                        "ptqrlogin" == t && (o.ptqrtoken = k["default"].str.hash33(k["default"].cookie.get("qrsig"))),
                        "pt_susp_poll" == t && (o.pt_susp_poll_token = k["default"].str.hash33(k["default"].cookie.get("pt_susp_sig"))),
                        o.ptredirect = C.ptui.target,
                        o.h = 1,
                        o.t = 1,
                        o.g = 1,
                        o.from_ui = 1,
                        o.ptlang = C.ptui.lang,
                        o.action = T.action.join("-") + "-" + +new Date,
                        o.js_ver = C.ptui.ptui_version,
                        o.js_type = T.js_type,
                        o.login_sig = C.ptui.login_sig,
                        o.pt_uistyle = C.ptui.style,
                        1 == C.ptui.low_login && T.low_login_enable && !T.isMailLogin && (o.low_login_enable = 1,
                            o.low_login_hour = T.low_login_hour),
                        "0" != C.ptui.csimc && (o.csimc = C.ptui.csimc,
                            o.csnum = C.ptui.csnum,
                            o.authid = C.ptui.authid),
                        o.aid = C.ptui.appid,
                        C.ptui.daid && (o.daid = C.ptui.daid),
                        "0" != C.ptui.pt_3rd_aid && (o.pt_3rd_aid = C.ptui.pt_3rd_aid),
                        C.ptui.regmaster && (o.regmaster = C.ptui.regmaster),
                        C.ptui.mibao_css && (o.mibao_css = C.ptui.mibao_css),
                        "1" == C.ptui.pt_qzone_sig && (o.pt_qzone_sig = 1),
                        "1" == C.ptui.pt_light && (o.pt_light = 1),
                        T.ptdrvs && (o.ptdrvs = T.ptdrvs),
                        T.sessionID && (o.sid = T.sessionID),
                        o)
                        i += n + "=" + o[n] + "&";
                    console.log(o.p)
                },
                "qrlogin_submit": function () {
                    S.logger.log("qr_loginsubmit caller=".concat((0,
                        S.getCallerName)(3)));
                    var t = T.getSubmitUrl("ptqrlogin");
                    k["default"].winName.set("login_href", encodeURIComponent(C.ptui.href)),
                        "qq.com" === C.ptui.domain && T.toggleManager.featureEnable(T.toggleManager.FEATURE_KEYS.QR_LOGIN_XHR) ? a.get((0,
                            s.getProxyUrl)(t)).then(function (t) {
                                var e;
                                try {
                                    e = JSON.parse(t.data.replace(/'/g, '"').replace("ptuiCB(", "[").replace(/\)$/, "]"))
                                } catch (n) {
                                    throw S.logger.warn("error occured when parse ptuiCB params", n),
                                    n
                                }
                                u.ptuiCB.apply(window, e)
                            })["catch"](function (t) {
                                S.logger.warn("error occured when request qrlogin:", t)
                            }) : k["default"].http.loadScript(t)
                },
                "armSafeEdit": function () {
                    var n = (0,
                        k["default"])("pwdArea")
                        , i = (0,
                            k["default"])("p")
                        , o = n.style.height;
                    i.style.width = "208px";
                    var r = document.createElement("a");
                    r.tabIndex = 1,
                        r.id = "safe_lock",
                        r.title = "安全控件登录开关";
                    var t = {
                        "background": "url(https://ui.ptlogin2.qq.com/style/34/images/icon_5.png) no-repeat -130px -130px",
                        "width": "13px",
                        "height": "20px",
                        "display": "block",
                        "margin": "-29px 20px 0 0",
                        "cursor": "pointer",
                        "webkitUserSelect": "none",
                        "outline": "none",
                        "marginLeft": "220px"
                    };
                    for (e in "6.0" == k["default"].browser("version") && (t.background = t.background.replace("icon_5.png", "icon_5_8.png")),
                        t)
                        r.style[e] = t[e];
                    r.style.style = "right",
                        T.armSafeEdit.isSafe = !1,
                        n.appendChild(r);
                    var e, a = document.createElement("div");
                    for (e in t = {
                        "position": "absolute",
                        "top": "2px",
                        "left": "1px"
                    })
                        a.style[e] = t[e];
                    function l() {
                        if (T.armSafeEdit.isSafe)
                            i.style.display = "block",
                                i.value = "",
                                setTimeout(function () {
                                    try {
                                        i.focus()
                                    } catch (t) { }
                                }, 0),
                                n.removeChild(a),
                                r.style.backgroundPosition = "-130px -130px",
                                T.armSafeEdit.isSafe = !1;
                        else {
                            var t = (0,
                                k["default"])("safe_edit");
                            t ? a.style.display = "block" : (a.innerHTML = (k["default"].suportActive() ? '<object id="safe_edit" classid="CLSID:EAAED308-7322-4b9b-965E-171933ADD473" width="208" height="38">                    <param name="bkColor" value="16777215"/>                    <param name="fontColor" value="0"/>                    <param name="fontHeight" value="0.25" />                    <param name="caretHeight" value="0.2" />                    <param name="borderType" value="2" />                    <param name="borderColor" value="16777215" />                </object>' : '<embed id="safe_edit" type="application/nptxsso"     width="208" height="38" bkcolor="16777215" fontcolor="0"     fontheight="0.25" caretheight="0.8" bordertype="2" bordercolor="16777215" />') + '<div class="safe-edit-tips"     style="color: #2C9E62; height: 28px; line-height: 34px; width: 208px;">    当前为安全登录模式,使用密码控件</div>',
                                n.appendChild(a),
                                t = (0,
                                    k["default"])("safe_edit"),
                                k["default"].e.add(t, "focus", T.check));
                            try {
                                t.CreateSafeEdit(),
                                    t.ClearAllInput(),
                                    setTimeout(function () {
                                        t.focus()
                                    }, 200),
                                    i.style.display = "none",
                                    r.style.backgroundPosition = "-117px -130px",
                                    T.armSafeEdit.isSafe = !0
                            } catch (e) {
                                T.show_err("安全控件加载失败"),
                                    i.focus(),
                                    T.armSafeEdit.isSafe = !1,
                                    a.style.display = "none",
                                    n.removeChild(a),
                                    k["default"].report.monitor("456099")
                            }
                            k["default"].report.monitor("456098")
                        }
                        return T.armSafeEdit.isSafe ? n.style.height = "74px" : n.style.height = o,
                            T.ptui_notifySize("login"),
                            !1
                    }
                    k["default"].e.add(r, "click", l),
                        T.armSafeEdit.lockToggle = l
                },
            };
        e["default"] = T
        password=T
    }
    , function (t, p, h) {
        "use strict";
        (function (e) {
            var t = h(3)
                , n = h(4)
                , i = setTimeout;
            function u(t) {
                return Boolean(t && "undefined" != typeof t.length)
            }
            function o() { }
            function a(t) {
                if (!(this instanceof a))
                    throw new TypeError("Promises must be constructed via new");
                if ("function" != typeof t)
                    throw new TypeError("not a function");
                this._state = 0,
                    this._handled = !1,
                    this._value = undefined,
                    this._deferreds = [],
                    f(t, this)
            }
            function r(i, o) {
                for (; 3 === i._state;)
                    i = i._value;
                0 !== i._state ? (i._handled = !0,
                    a._immediateFn(function () {
                        var t, e = 1 === i._state ? o.onFulfilled : o.onRejected;
                        if (null !== e) {
                            try {
                                t = e(i._value)
                            } catch (n) {
                                return void s(o.promise, n)
                            }
                            l(o.promise, t)
                        } else
                            (1 === i._state ? l : s)(o.promise, i._value)
                    })) : i._deferreds.push(o)
            }
            function l(t, e) {
                try {
                    if (e === t)
                        throw new TypeError("A promise cannot be resolved with itself.");
                    if (e && ("object" == typeof e || "function" == typeof e)) {
                        var n = e.then;
                        if (e instanceof a)
                            return t._state = 3,
                                t._value = e,
                                void c(t);
                        if ("function" == typeof n)
                            return void f((i = n,
                                o = e,
                                function () {
                                    i.apply(o, arguments)
                                }
                            ), t)
                    }
                    t._state = 1,
                        t._value = e,
                        c(t)
                } catch (r) {
                    s(t, r)
                }
                var i, o
            }
            function s(t, e) {
                t._state = 2,
                    t._value = e,
                    c(t)
            }
            function c(t) {
                2 === t._state && 0 === t._deferreds.length && a._immediateFn(function () {
                    t._handled || a._unhandledRejectionFn(t._value)
                });
                for (var e = 0, n = t._deferreds.length; e < n; e++)
                    r(t, t._deferreds[e]);
                t._deferreds = null
            }
            function d(t, e, n) {
                this.onFulfilled = "function" == typeof t ? t : null,
                    this.onRejected = "function" == typeof e ? e : null,
                    this.promise = n
            }
            function f(t, e) {
                var n = !1;
                try {
                    t(function (t) {
                        n || (n = !0,
                            l(e, t))
                    }, function (t) {
                        n || (n = !0,
                            s(e, t))
                    })
                } catch (i) {
                    if (n)
                        return;
                    n = !0,
                        s(e, i)
                }
            }
            a.prototype["catch"] = function (t) {
                return this.then(null, t)
            }
                ,
                a.prototype.then = function (t, e) {
                    var n = new this.constructor(o);
                    return r(this, new d(t, e, n)),
                        n
                }
                ,
                a.prototype["finally"] = t["a"],
                a.all = function (e) {
                    return new a(function (o, r) {
                        if (!u(e))
                            return r(new TypeError("Promise.all accepts an array"));
                        var a = Array.prototype.slice.call(e);
                        if (0 === a.length)
                            return o([]);
                        var l = a.length;
                        for (var t = 0; t < a.length; t++)
                            !function s(e, t) {
                                try {
                                    if (t && ("object" == typeof t || "function" == typeof t)) {
                                        var n = t.then;
                                        if ("function" == typeof n)
                                            return void n.call(t, function (t) {
                                                s(e, t)
                                            }, r)
                                    }
                                    a[e] = t,
                                        0 == --l && o(a)
                                } catch (i) {
                                    r(i)
                                }
                            }(t, a[t])
                    }
                    )
                }
                ,
                a.allSettled = n["a"],
                a.resolve = function (e) {
                    return e && "object" == typeof e && e.constructor === a ? e : new a(function (t) {
                        t(e)
                    }
                    )
                }
                ,
                a.reject = function (n) {
                    return new a(function (t, e) {
                        e(n)
                    }
                    )
                }
                ,
                a.race = function (o) {
                    return new a(function (t, e) {
                        if (!u(o))
                            return e(new TypeError("Promise.race accepts an array"));
                        for (var n = 0, i = o.length; n < i; n++)
                            a.resolve(o[n]).then(t, e)
                    }
                    )
                }
                ,
                a._immediateFn = "function" == typeof e ? function (t) {
                    e(t)
                }
                    : function (t) {
                        i(t, 0)
                    }
                ,
                a._unhandledRejectionFn = function (t) {
                    "undefined" != typeof console && console && console.warn("Possible Unhandled Promise Rejection:", t)
                }
                ,
                p["a"] = a
        }
        ).call(this, h(21).setImmediate)
    }
    , , function (t, e, i) {
        "use strict";
        (function (o) {
            var f = i(24)
                , p = i(25)
                , r = /^[A-Za-z][A-Za-z0-9+-.]*:[\\/]+/
                , e = /^([a-z][a-z0-9.+-]*:)?([\\/]{1,})?([\S\s]*)/i
                , n = new RegExp("^[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]+");
            function h(t) {
                return (t || "").toString().replace(n, "")
            }
            var g = [["#", "hash"], ["?", "query"], function (t) {
                return t.replace("\\", "/")
            }
                , ["/", "pathname"], ["@", "auth", 1], [NaN, "host", undefined, 1, 1], [/:(\d+)$/, "port", undefined, 1], [NaN, "hostname", undefined, 1, 1]]
                , a = {
                    "hash": 1,
                    "query": 1
                };
            function m(t) {
                var e, n = "undefined" != typeof window ? window : void 0 !== o ? o : "undefined" != typeof self ? self : {}, n = n.location || {}, i = {}, n = typeof (t = t || n);
                if ("blob:" === t.protocol)
                    i = new y(unescape(t.pathname), {});
                else if ("string" == n)
                    for (e in i = new y(t, {}),
                        a)
                        delete i[e];
                else if ("object" == n) {
                    for (e in t)
                        e in a || (i[e] = t[e]);
                    i.slashes === undefined && (i.slashes = r.test(t.href))
                }
                return i
            }
            function _(t) {
                t = h(t);
                t = e.exec(t);
                return {
                    "protocol": t[1] ? t[1].toLowerCase() : "",
                    "slashes": !!(t[2] && 2 <= t[2].length),
                    "rest": t[2] && 1 === t[2].length ? "/" + t[3] : t[3]
                }
            }
            function y(t, e, n) {
                if (t = h(t),
                    !(this instanceof y))
                    return new y(t, e, n);
                var i, o, r, a, l, s = g.slice(), u = typeof e, c = this, d = 0;
                for ("object" != u && "string" != u && (n = e,
                    e = null),
                    n && "function" != typeof n && (n = p.parse),
                    e = m(e),
                    i = !(u = _(t || "")).protocol && !u.slashes,
                    c.slashes = u.slashes || i && e.slashes,
                    c.protocol = u.protocol || e.protocol || "",
                    t = u.rest,
                    u.slashes || (s[3] = [/(.*)/, "pathname"]); d < s.length; d++)
                    "function" != typeof (r = s[d]) ? (o = r[0],
                        l = r[1],
                        o != o ? c[l] = t : "string" == typeof o ? ~(a = t.indexOf(o)) && (t = "number" == typeof r[2] ? (c[l] = t.slice(0, a),
                            t.slice(a + r[2])) : (c[l] = t.slice(a),
                                t.slice(0, a))) : (a = o.exec(t)) && (c[l] = a[1],
                                    t = t.slice(0, a.index)),
                        c[l] = c[l] || i && r[3] && e[l] || "",
                        r[4] && (c[l] = c[l].toLowerCase())) : t = r(t);
                n && (c.query = n(c.query)),
                    i && e.slashes && "/" !== c.pathname.charAt(0) && ("" !== c.pathname || "" !== e.pathname) && (c.pathname = function (t, e) {
                        if ("" === t)
                            return e;
                        for (var n = (e || "/").split("/").slice(0, -1).concat(t.split("/")), i = n.length, t = n[i - 1], o = !1, r = 0; i--;)
                            "." === n[i] ? n.splice(i, 1) : ".." === n[i] ? (n.splice(i, 1),
                                r++) : r && (0 === i && (o = !0),
                                    n.splice(i, 1),
                                    r--);
                        return o && n.unshift(""),
                            "." !== t && ".." !== t || n.push(""),
                            n.join("/")
                    }(c.pathname, e.pathname)),
                    "/" !== c.pathname.charAt(0) && c.hostname && (c.pathname = "/" + c.pathname),
                    f(c.port, c.protocol) || (c.host = c.hostname,
                        c.port = ""),
                    c.username = c.password = "",
                    c.auth && (r = c.auth.split(":"),
                        c.username = r[0] || "",
                        c.password = r[1] || ""),
                    c.origin = c.protocol && c.host && "file:" !== c.protocol ? c.protocol + "//" + c.host : "null",
                    c.href = c.toString()
            }
            y.prototype = {
                "set": function (t, e, n) {
                    var i, o = this;
                    switch (t) {
                        case "query":
                            "string" == typeof e && e.length && (e = (n || p.parse)(e)),
                                o[t] = e;
                            break;
                        case "port":
                            o[t] = e,
                                f(e, o.protocol) ? e && (o.host = o.hostname + ":" + e) : (o.host = o.hostname,
                                    o[t] = "");
                            break;
                        case "hostname":
                            o[t] = e,
                                o.port && (e += ":" + o.port),
                                o.host = e;
                            break;
                        case "host":
                            o[t] = e,
                                /:\d+$/.test(e) ? (e = e.split(":"),
                                    o.port = e.pop(),
                                    o.hostname = e.join(":")) : (o.hostname = e,
                                        o.port = "");
                            break;
                        case "protocol":
                            o.protocol = e.toLowerCase(),
                                o.slashes = !n;
                            break;
                        case "pathname":
                        case "hash":
                            e ? (i = "pathname" === t ? "/" : "#",
                                o[t] = e.charAt(0) !== i ? i + e : e) : o[t] = e;
                            break;
                        default:
                            o[t] = e
                    }
                    for (var r = 0; r < g.length; r++) {
                        var a = g[r];
                        a[4] && (o[a[1]] = o[a[1]].toLowerCase())
                    }
                    return o.origin = o.protocol && o.host && "file:" !== o.protocol ? o.protocol + "//" + o.host : "null",
                        o.href = o.toString(),
                        o
                },
                "toString": function (t) {
                    t && "function" == typeof t || (t = p.stringify);
                    var e = this
                        , n = e.protocol;
                    return n && ":" !== n.charAt(n.length - 1) && (n += ":"),
                        n += e.slashes ? "//" : "",
                        e.username && (n += e.username,
                            e.password && (n += ":" + e.password),
                            n += "@"),
                        n += e.host + e.pathname,
                        (t = "object" == typeof e.query ? t(e.query) : e.query) && (n += "?" !== t.charAt(0) ? "?" + t : t),
                        e.hash && (n += e.hash),
                        n
                }
            },
                y.extractProtocol = _,
                y.location = m,
                y.trimLeft = h,
                y.qs = p,
                t.exports = y
        }
        ).call(this, i(1))
    }
    , function (t, e, n) {
        "use strict";
        Object.defineProperty(e, "__esModule", {
            "value": !0
        }),
            e.getProxyUrl = e.shouldProxy = void 0;
        var i = function i(t) {
            return t && "string" == typeof t && 0 === t.indexOf("https://ssl.ptlogin2.qq.com/")
        };
        e.shouldProxy = i;
        var o = function o(t) {
            return i(t) ? t.replace("https://ssl.ptlogin2.qq.com/", "https://" + location.hostname + "/ssl/") : t
        };
        e.getProxyUrl = o
    }
    , function (t, e, n) {
        "use strict";
        Object.defineProperty(e, "__esModule", {
            "value": !0
        }),
            e["default"] = void 0;
        var k = r(n(0))
            , S = r(n(12))
            , i = function (t) {
                if (t && t.__esModule)
                    return t;
                if (null === t || "object" != typeof t && "function" != typeof t)
                    return {
                        "default": t
                    };
                var e = a();
                if (e && e.has(t))
                    return e.get(t);
                var n, i = {}, o = Object.defineProperty && Object.getOwnPropertyDescriptor;
                for (n in t) {
                    var r;
                    Object.prototype.hasOwnProperty.call(t, n) && ((r = o ? Object.getOwnPropertyDescriptor(t, n) : null) && (r.get || r.set) ? Object.defineProperty(i, n, r) : i[n] = t[n])
                }
                i["default"] = t,
                    e && e.set(t, i);
                return i
            }(n(30))
            , q = n(18)
            , c = n(2)
            , u = n(50)
            , o = n(31);
        function a() {
            if ("function" != typeof WeakMap)
                return null;
            var t = new WeakMap;
            return a = function a() {
                return t
            }
                ,
                t
        }
        function r(t) {
            return t && t.__esModule ? t : {
                "default": t
            }
        }
        function l(t, e, n, i, o, r, a) {
            try {
                var l = t[r](a)
                    , s = l.value
            } catch (u) {
                return void n(u)
            }
            l.done ? e(s) : Promise.resolve(s).then(i, o)
        }
        var g, s, C, d, f, p, T, m, h, _, y, v, w, b, x, N, E, P, L, O, I, A, j, M, D, Q, $, U, B, R, F, H, V, G, z, X, K, W, J, Y, Z, tt, et, nt, it, ot, rt, at, lt, st, ut, ct, dt, ft = window.pt, pt = (g = 5,
            s = [],
            C = [],
            d = [],
            f = [],
            p = 0,
            T = 9,
            m = '<a hidefocus=true draggable=false href="javascript:void(0);" tabindex="#tabindex#" uin="#uin#" type="#type#" οnclick="pt.qlogin.imgClick(this);return false;" οnfοcus="pt.qlogin.imgFocus(this);" οnblur="pt.qlogin.imgBlur(this);" οnmοuseοver="pt.qlogin.imgMouseover(this);" οnmοusedοwn="pt.qlogin.imgMouseDowm(this)" οnmοuseup="pt.qlogin.imgMouseUp(this)" οnmοuseοut="pt.qlogin.imgMouseUp(this)" class="face"  >          <img  id="img_#uin#" uin="#uin#" type="#type#" src="#src#"    οnerrοr="pt.qlogin.imgErr(this);" />           <span id="mengban_#uin#"></span>          <span class="uin_menban"></span>          <span class="uin">#uin#</span>          <span id="img_out_#uin#" uin="#uin#" type="#type#"  class="img_out"  ></span>          <span id="nick_#uin#" class="#nick_class#">#nick#</span>          <span class="#vip_logo#"></span>          <span class="#onekey_logo#"></span>      </a><a  class="#return#" οnclick="pt.qlogin.buildUnifiedQloginList();pt.plogin.hide_err();return false;">#return_text#</a>',
            h = 1,
            _ = {
                "17": 2,
                "19": 3,
                "20": 2,
                "21": 3,
                "22": 3,
                "23": 3,
                "25": 3,
                "32": 3,
                "33": 3,
                "34": 3,
                "40": 2
            }[ft.ptui.style],
            y = {
                "17": 240,
                "19": 300,
                "20": 240,
                "21": 360,
                "22": 360,
                "23": 300,
                "25": 300,
                "32": 360,
                "33": 300,
                "34": 300,
                "40": 240
            }[ft.ptui.style],
            v = 1,
            w = null,
            b = [4300, 4302, 4304, 4306, 4308],
            x = [4301, 4303, 4305, 4307, 4309],
            N = function N(t) {
                var e, n, i, o;
                1 == t && v <= 1 || 2 == t && h <= v || (n = (e = 0,
                    k["default"])("qlogin_show").offsetWidth || y,
                    i = Math.ceil(n / 10),
                    o = 0,
                    1 == t ? --v <= 1 ? (k["default"].css.hide((0,
                        k["default"])("prePage")),
                        k["default"].css.show((0,
                            k["default"])("nextPage"))) : (k["default"].css.show((0,
                                k["default"])("nextPage")),
                                k["default"].css.show((0,
                                    k["default"])("prePage"))) : (h <= (v += 1) ? k["default"].css.hide((0,
                                        k["default"])("nextPage")) : k["default"].css.show((0,
                                            k["default"])("nextPage")),
                                        k["default"].css.show((0,
                                            k["default"])("prePage"))),
                    e = window.setInterval(function () {
                        (0,
                            k["default"])("qlogin_list").style.left = 1 == t ? 10 * o - v * n + "px" : (2 - v) * n - 10 * o + "px",
                            i < (o += 1) && window.clearInterval(e)
                    }, 1))
            }
            ,
            E = function E() {
                if (C.length = 0,
                    !S["default"].isTim) {
                    if (k["default"].suportActive())
                        try {
                            var t = k["default"].activetxsso
                                , e = t.CreateTXSSOData();
                            t.InitSSOFPTCtrl(0, e);
                            e = t.DoOperation(1, e);
                            if (null == e)
                                return;
                            for (var n = e.GetArray("PTALIST"), i = n.GetSize(), o = 0; o < i; o++) {
                                var r = n.GetData(o)
                                    , a = r.GetDWord("dwSSO_Account_dwAccountUin")
                                    , l = r.GetDWord("dwSSO_Account_dwAccountUin")
                                    , s = r.GetByte("cSSO_Account_cAccountType")
                                    , u = a;
                                if (1 == s)
                                    try {
                                        u = r.GetArray("SSO_Account_AccountValueList").GetStr(0)
                                    } catch (b) { }
                                var c = 0;
                                try {
                                    c = r.GetWord("wSSO_Account_wFaceIndex")
                                } catch (b) {
                                    c = 0
                                }
                                var d = "";
                                try {
                                    d = r.GetStr("strSSO_Account_strNickName")
                                } catch (b) {
                                    d = ""
                                }
                                for (var f = r.GetBuf("bufST_PTLOGIN"), p = "", h = f.GetSize(), g = 0; g < h; g++) {
                                    var m = f.GetAt(g).toString("16");
                                    1 == m.length && (m = "0" + m),
                                        p += m
                                }
                                var _ = {
                                    "uin": a,
                                    "name": u,
                                    "uinString": l,
                                    "type": s,
                                    "face": c,
                                    "nick": d,
                                    "flag": r.GetDWord("dwSSO_Account_dwUinFlag"),
                                    "key": p,
                                    "loginType": 2
                                };
                                C.push(_)
                            }
                            0 == i && (O(),
                                k["default"].report.monitor(2129652, 1))
                        } catch (b) {
                            O(),
                                k["default"].report.nlog("IE获取快速登录信息失败:" + b.message, "391626", .05)
                        }
                    else
                        try {
                            var y = k["default"].nptxsso
                                , v = y.InitPVA()
                                , w = 0;
                            if (0 != v) {
                                w = y.GetPVACount();
                                for (g = 0; g < w; g++) {
                                    _ = {
                                        "uin": y.GetUin(g),
                                        "name": y.GetAccountName(g),
                                        "uinString": y.GetUinString(g),
                                        "type": 0,
                                        "face": y.GetFaceIndex(g),
                                        "nick": y.GetNickname(g) || y.GetUinString(g),
                                        "flag": y.GetUinFlag(g),
                                        "key": y.GetST(g),
                                        "loginType": 2
                                    };
                                    C.push(_)
                                }
                                "function" == typeof y.GetKeyIndex && (T = y.GetKeyIndex())
                            }
                            v && 0 != w || (O(),
                                k["default"].report.monitor(2129654, 1))
                        } catch (b) {
                            O(),
                                k["default"].report.nlog("非IE获取快速登录信息失败:" + (b.message || b), "391627", .05)
                        }
                    C.length && S["default"].isMailLogin && S["default"].switchpage(q.LoginState.QLogin)
                }
            }
            ,
            P = function P(t) {
                for (var e = 0, n = C.length; e < n; e++) {
                    var i = C[e];
                    if (i.uinString == t)
                        return i
                }
                return null
            }
            ,
            L = function L(t, e, n, i, o) {
                var r;
                /linux/i.test(navigator.userAgent) && -1 == navigator.userAgent.indexOf("virtual machine 2 ") ? c.logger.info("need not to onekey login") : k["default"].cookie.get("pt_local_token") || (k["default"].cookie.set("pt_local_token", Math.random(), "ptlogin2." + ft.ptui.domain),
                    k["default"].cookie.get("pt_local_token")) ? (r = ft.ptui.isHttps ? x : b,
                        t = "https://localhost.ptlogin2." + ft.ptui.domain + ":[port]/" + t + "&r=" + Math.random() + "&pt_local_tk=" + k["default"].cookie.get("pt_local_token"),
                        dt(t, r, e, window[n], i, o)) : c.logger.warn("无法设置cookie,无法使用快速登录")
            }
            ,
            O = function O() {
                0 != ft.ptui.enable_qlogin ? L("pt_get_uins?callback=ptui_getuins_CB", 300, "ptui_getuins_CB") : c.logger.info("need not to onekey login,enable_qlogin=".concat(ft.ptui.enable_qlogin))
            }
            ,
            I = function I() {
                var t;
                /windows/i.test(navigator.userAgent) && (t = "pc_querystatus?callback=ptui_pc_querystatus_CB&appid=ptlogin&subappid=" + ft.ptui.pt_3rd_aid,
                    L(t, 100, "ptui_pc_querystatus_CB", null, function () {
                        pt.callQQProtect({
                            "service": 104,
                            "action": 3,
                            "wparam": k["default"].str.json2str({
                                "appid": "ptlogin",
                                "subappid": ft.ptui.pt_3rd_aid,
                                "qqnum": "123456",
                                "msgid": 1
                            }),
                            "callbackName": "ptui_qqprotect_querystatus_CB"
                        })
                    }))
            }
            ,
            A = "0",
            j = function j(t, e, n, i) {
                var o = t;
                if (/windows/i.test(navigator.userAgent)) {
                    switch (parseInt(n, 10)) {
                        case 0:
                        case 1:
                            o = A;
                            break;
                        default:
                            A = o
                    }
                    if (pt.PCMgrSession) {
                        var r = "pc_action?callback=ptui_action_result_CB&appid=ptlogin&subappid=" + ft.ptui.pt_3rd_aid + "&operator=" + pt.PCMgrChecked + "&actionstring=" + encodeURIComponent(pt.PCMgrSession) + "&qqnum=" + encodeURIComponent(o) + "&loginType=" + e;
                        switch (parseInt(n, 10)) {
                            case 0:
                                r += "&errcode=0";
                                break;
                            case 1:
                                r += "&errcode=1"
                        }
                        L(r, 100, "ptui_action_result_CB", i, i)
                    } else if (pt.PCMgrSession2) {
                        var a = {
                            "appid": "ptlogin",
                            "subappid": ft.ptui.pt_3rd_aid,
                            "qqnum": o,
                            "ActionString": pt.PCMgrSession2
                        };
                        switch (pt.PCMgrChecked) {
                            case 1:
                            case 3:
                                a.check = 1;
                                break;
                            default:
                                a.check = 0
                        }
                        switch (parseInt(n, 10)) {
                            case 0:
                                a.msgid = 3,
                                    a.result = 1;
                                break;
                            case 1:
                                a.msgid = 3,
                                    a.result = 0;
                                break;
                            default:
                                a.msgid = 2
                        }
                        pt.callQQProtect({
                            "service": 104,
                            "action": 1,
                            "callbackName": "ptui_qqprotect_result_CB",
                            "wparam": k["default"].str.json2str(a),
                            "callback": i,
                            "timeoutCallback": i
                        })
                    } else
                        "function" == typeof i && i()
                } else
                    "function" == typeof i && i()
            }
            ,
            M = function M(t) {
                t && (S["default"].showLoading(),
                    L("pt_get_st?clientuin=" + t, 8e3, "ptui_getst_CB", function (t) {
                        c.logger.info("pt_get_st data", t),
                            i.ptui_getst_CB(t)
                    }, function () {
                        S["default"].hideLoading(),
                            i.ptui_qlogin_CB("-1234", "", "快速登录失败,请检查QQ客户端是否打开。")
                    }),
                    i.ptui_getst_CB.submitUrl = B({
                        "uin": t,
                        "pt_local_tk": "{{hash_clientkey}}"
                    }))
            }
            ,
            D = function D(t, e) {
                if (S["default"].isNewStyle) {
                    if (1 == e)
                        switch (t) {
                            case 1:
                                k["default"].css.hide((0,
                                    k["default"])("qlogin_tips_0")),
                                    k["default"].css.hide((0,
                                        k["default"])("qlogin_tips_1")),
                                    k["default"].css.show((0,
                                        k["default"])("qlogin_tips_2")),
                                    k["default"].css.hide((0,
                                        k["default"])("qlogin_tips_3")),
                                    (0,
                                        k["default"])("qlogin_tips_4") && k["default"].css.hide((0,
                                            k["default"])("qlogin_tips_4"));
                                break;
                            case 2:
                                k["default"].css.hide((0,
                                    k["default"])("qlogin_tips_0")),
                                    k["default"].css.hide((0,
                                        k["default"])("qlogin_tips_1")),
                                    k["default"].css.hide((0,
                                        k["default"])("qlogin_tips_2")),
                                    k["default"].css.show((0,
                                        k["default"])("qlogin_tips_3")),
                                    (0,
                                        k["default"])("qlogin_tips_4") && k["default"].css.hide((0,
                                            k["default"])("qlogin_tips_4"));
                                break;
                            case 3:
                                k["default"].css.hide((0,
                                    k["default"])("qlogin_tips_0")),
                                    k["default"].css.hide((0,
                                        k["default"])("qlogin_tips_1")),
                                    k["default"].css.hide((0,
                                        k["default"])("qlogin_tips_2")),
                                    k["default"].css.hide((0,
                                        k["default"])("qlogin_tips_3")),
                                    (0,
                                        k["default"])("qlogin_tips_4") && k["default"].css.show((0,
                                            k["default"])("qlogin_tips_4"));
                                break;
                            default:
                                k["default"].css.show((0,
                                    k["default"])("qlogin_tips_0")),
                                    k["default"].css.hide((0,
                                        k["default"])("qlogin_tips_1")),
                                    k["default"].css.hide((0,
                                        k["default"])("qlogin_tips_2")),
                                    k["default"].css.hide((0,
                                        k["default"])("qlogin_tips_3")),
                                    (0,
                                        k["default"])("qlogin_tips_4") && k["default"].css.hide((0,
                                            k["default"])("qlogin_tips_4"))
                        }
                    else
                        k["default"].css.hide((0,
                            k["default"])("qlogin_tips_0")),
                            k["default"].css.show((0,
                                k["default"])("qlogin_tips_1")),
                            k["default"].css.hide((0,
                                k["default"])("qlogin_tips_2")),
                            k["default"].css.hide((0,
                                k["default"])("qlogin_tips_3")),
                            (0,
                                k["default"])("qlogin_tips_4") && k["default"].css.hide((0,
                                    k["default"])("qlogin_tips_4"));
                    t ? (k["default"].css.show((0,
                        k["default"])("title_1")),
                        k["default"].css.hide((0,
                            k["default"])("title_0"))) : (k["default"].css.hide((0,
                                k["default"])("title_1")),
                                k["default"].css.show((0,
                                    k["default"])("title_0")))
                }
            }
            ,
            Q = function Q(t) {
                var e;
                t ? (E(),
                    null == (e = P(t)) ? (c.logger.info("qloginObj is null, show error, uin=".concat(t)),
                        S["default"].show_err(ft.str.qlogin_expire),
                        k["default"].report.monitor(231544, 1)) : (c.logger.info("qloginObj exists, start submit, uin=".concat(t, " jump200=").concat(!0)),
                            e = B(e),
                            j(t, 2),
                            k["default"].http.loadScript(e),
                            S["default"].showLoading(),
                            window.clearTimeout(pt.__getstClock),
                            pt.__getstClock = window.setTimeout("pt.plogin.hideLoading();pt.plogin.showAssistant(0);", 1e4))) : c.logger.warn("uin is empty")
            }
            ,
            $ = function $(t, e, n) {
                var i = t.split("#")
                    , t = 0 < i[0].indexOf("?") ? "&" : "?";
                return "?" == i[0].substr(i[0].length - 1, 1) && (t = ""),
                    i[1] ? i[1] = "#" + i[1] : i[1] = "",
                    i[0] + t + e + "=" + n + i[1]
            }
            ,
            U = function U(t) {
                var e = ft.ptui.s_url;
                return 1 == ft.ptui.low_login && S["default"].low_login_enable && S["default"].isMailLogin && (e = $(e, "ss", 1)),
                    S["default"].isMailLogin && t && (e = $(e, "account", encodeURIComponent(t))),
                    e
            }
            ,
            B = function B(t) {
                var e = (ft.ptui.isHttps ? "https://ssl.ptlogin2." : "http://ptlogin2.") + ft.ptui.domain + "/" + (ft.ptui.jumpname || "jump") + "?";
                switch (ft.ptui.domain) {
                    case "tencent.com":
                    case "bkcloud.cc":
                    case "bkclouds.cc":
                        e = ft.ptui.isHttps ? "https" : "http://ptlogin2." + ft.ptui.domain + "/jump?"
                }
                return e += "clientuin=" + t.uin + "&keyindex=" + T + "&pt_aid=" + ft.ptui.appid + (ft.ptui.daid ? "&daid=" + ft.ptui.daid : "") + "&u1=" + encodeURIComponent(U()),
                    "undefined" != typeof t.key ? e += "&clientkey=" + t.key : e += "&pt_local_tk=" + t.pt_local_tk,
                    1 == ft.ptui.low_login && S["default"].low_login_enable && !S["default"].isMailLogin && (e += "&low_login_enable=1&low_login_hour=" + S["default"].low_login_hour),
                    "0" != ft.ptui.csimc && ft.ptui.csimc && (e += "&csimc=" + ft.ptui.csimc + "&csnum=" + ft.ptui.csnum + "&authid=" + ft.ptui.authid),
                    "1" == ft.ptui.pt_qzone_sig && (e += "&pt_qzone_sig=1"),
                    "1" == ft.ptui.pt_light && (e += "&pt_light=1"),
                    ft.ptui.pt_3rd_aid && (e += "&pt_3rd_aid=" + ft.ptui.pt_3rd_aid),
                    e += "&ptopt=1",
                    e += "&style=" + ft.ptui.style,
                    pt.hasOneKeyList() && (e += "&has_onekey=1"),
                    ft.ptui.regmaster && (e += "&regmaster=" + ft.ptui.regmaster),
                    pt.QQProtectGUID && (e += "&pt_guid_sig=" + pt.QQProtectGUID),
                    e
            }
            ,
            R = function R() {
                var t = F();
                S["default"].redirect(ft.ptui.target, t),
                    S["default"].showLoading(),
                    c.logger.info("authLoginSubmit finished")
            }
            ,
            F = function F() {
                var t = S["default"].authSubmitUrl;
                return t += "&regmaster=" + ft.ptui.regmaster + "&aid=" + ft.ptui.appid + "&s_url=" + encodeURIComponent(U()),
                    1 == ft.ptui.low_login && S["default"].low_login_enable && (t += "&low_login_enable=1&low_login_hour=" + S["default"].low_login_hour),
                    "1" == ft.ptui.pt_light && (t += "&pt_light=1"),
                    pt.hasOneKeyList() && (t += "&has_onekey=1"),
                    pt.QQProtectGUID && (t += "&pt_guid_sig=" + pt.QQProtectGUID),
                    t
            }
            ,
            H = function H(t, e) {
                var n = "https://ssl.ptlogin2." + ft.ptui.domain + "/ptqrshow?qr_push_uin=" + t + "&type=1&qr_push=1&appid=" + ft.ptui.appid + "&t=" + Math.random() + "&ptlang=" + ft.ptui.lang;
                ft.ptui.daid && (n += "&daid=" + ft.ptui.daid),
                    ft.ptui.pt_3rd_aid && (n += "&pt_3rd_aid=" + ft.ptui.pt_3rd_aid),
                    pt.__onekeyClock = setTimeout(function () {
                        S["default"].hideLoading(),
                            S["default"].showAssistant(0)
                    }, 5e3),
                    S["default"].showLoading(),
                    k["default"].http.loadScript(n),
                    c.logger.info("推送手机授权到服务端 uin=".concat(t, " appid=").concat(ft.ptui.appid, " daid=").concat(ft.ptui.daid, " pt_3rd_aid=").concat(ft.ptui.pt_3rd_aid)),
                    pt.__onekeyUin = t,
                    pt.__onekeyFirst = !!e
            }
            ,
            V = function V(t) {
                return t.onerror = null,
                    t.src != S["default"].dftImg && (t.src = S["default"].dftImg),
                    !1
            }
            ,
            G = function G(t) {
                var e = parseInt(t.getAttribute("type"), 10)
                    , n = t.getAttribute("uin");
                switch (c.logger.info("点击快速登录头像 uin=".concat(n, " type=").concat(e)),
                e) {
                    case 1:
                        pt.reportPath(n, 2),
                            R();
                        break;
                    case 2:
                        Q(n),
                            pt.reportPath(n, 1);
                        break;
                    case 4:
                        M(n),
                            pt.reportPath(n, 1);
                        break;
                    case g:
                        H(n, !0),
                            pt.reportPath(n, 4)
                }
            }
            ,
            z = function z(t) {
                !t || (t = t.getAttribute("uin")) && ((0,
                    k["default"])("img_out_" + t).className = "img_out_focus")
            }
            ,
            X = function X(t) {
                !t || (t = t.getAttribute("uin")) && ((0,
                    k["default"])("img_out_" + t).className = "img_out")
            }
            ,
            K = function K(t) {
                t && (w != t && (X(w),
                    w = t),
                    z(t))
            }
            ,
            W = function W(t) {
                t && (t = t.getAttribute("uin"),
                    (t = (0,
                        k["default"])("mengban_" + t)) && (t.className = "face_mengban"))
            }
            ,
            J = function J(t) {
                t && (t = t.getAttribute("uin"),
                    (t = (0,
                        k["default"])("mengban_" + t)) && (t.className = ""))
            }
            ,
            Y = function Y() {
                var t = (0,
                    k["default"])("qlogin_list").getElementsByTagName("a");
                0 < t.length && (w = t[0])
            }
            ,
            Z = function Z() {
                try {
                    w.focus()
                } catch (t) { }
            }
            ,
            tt = function tt() {
                var t = (0,
                    k["default"])("prePage")
                    , e = (0,
                        k["default"])("nextPage");
                t && k["default"].e.add(t, "click", function () {
                    N(1)
                }),
                    e && k["default"].e.add(e, "click", function () {
                        N(2)
                    });
                for (var n = document.getElementsByClassName("guanjia_checkbox"), i = 0; i < n.length; ++i)
                    k["default"].e.add(n[i], "change", function (t) {
                        pt.PCMgrChecked = t.target.checked;
                        for (var e = 0; e < n.length; ++e)
                            n[e].checked = pt.PCMgrChecked
                    })
            }
            ,
            et = function et() {
                for (var t = f.length, e = 0; e < t; e++)
                    f[e].uinString && (f[e].uinString in o.headerCache ? o.headerCache.update(f[e].uinString) : k["default"].http.loadScript((ft.ptui.isHttps ? "https://ssl.ptlogin2." : "http://ptlogin2.") + ft.ptui.domain + "/getface?appid=" + ft.ptui.appid + "&imgtype=3&encrytype=0&devtype=0&keytpye=0&uin=" + f[e].uinString + "&r=" + Math.random()))
            }
            ,
            nt = function nt() {
                tt(),
                    c.logger.info("qloginInited"),
                    setTimeout(function () {
                        k["default"].report.monitor(492804, .05)
                    }, 0)
            }
            ,
            it = function it() {
                c.logger.log("removeAllChildrenExceptQRCode child length is=", (0,
                    k["default"])("qlogin_list").childNodes.length);
                for (var t = (0,
                    k["default"])("qlogin_list").childNodes, e = 0; e < t.length; e++) {
                    var n = t[e];
                    "qr_area" !== n.id && (n.parentNode.removeChild(n),
                        --e)
                }
                c.logger.log("after remove, child length is =", (0,
                    k["default"])("qlogin_list").childNodes.length)
            }
            ,
            at = function at(t, e) {
                for (var n, i = 0; i < e; i++)
                    3 == t[i].loginType && (n = (0,
                        k["default"])("qr_area"),
                        1 == e ? (n && ((0,
                            k["default"])("qr_area").className = "qr_0"),
                            "1033" == ft.ptui.lang && ((0,
                                k["default"])("qlogin_show").style.height = (0,
                                    k["default"])("qlogin_show").offsetHeight + 10 + "px")) : n && ((0,
                                        k["default"])("qr_area").className = "qr_1"))
            }
            ,
            lt = function lt(t, e, n) {
                for (var i = document.createDocumentFragment(), o = (0,
                    k["default"])("qlogin_list"), r = 0; r < e; r++) {
                    var a = t[r]
                        , l = function (t) {
                            var e = k["default"].str.encodeHtml(t.uinString + "")
                                , n = k["default"].str.encodeHtml(t.nick);
                            "" == k["default"].str.trim(t.nick) && (n = e);
                            var i = t.flag;
                            return {
                                "uin": e,
                                "nick": n,
                                "flag": i,
                                "vipFlag": 4 == (4 & i),
                                "onekeyFlag": t.loginType == g,
                                "userAvatar": S["default"].dftImg,
                                "loginType": t.loginType
                            }
                        }(a)
                        , s = l.uin
                        , u = l.nick
                        , c = l.vipFlag
                        , d = l.onekeyFlag
                        , f = l.userAvatar;
                    if (3 != l.loginType) {
                        f = m.replace(/#uin#/g, s).replace(/#nick#/g, k["default"].str.trim(u) || s).replace(/#nick_class#/, c ? "nick red" : "nick").replace(/#vip_logo#/, c ? "vip_logo" : "").replace(/#onekey_logo#/, d ? "onekey_logo" : "").replace(/#type#/g, a.loginType).replace(/#src#/g, f).replace(/#tabindex#/, r + 1).replace(/#class#/g, 1 == a.loginType ? "auth" : "hide").replace(/#return#/g, 3 == n ? "return" : "hide").replace(/#return_text#/g, ft.str.onekey_return),
                            a = document.createElement("div");
                        a.innerHTML = f;
                        for (var p = a.childNodes, h = 0; h < p.length; h++)
                            i.appendChild(p[h])
                    }
                }
                o.appendChild(i)
            }
            ,
            st = function st(o) {
                c.logger.log("buildQloginDom,caller=".concat((0,
                    c.getCallerName)(3)));
                var r = p
                    , a = f;
                if (c.logger.log("buildQloginDom type=".concat(r, " list=").concat(a)),
                    S["default"].loginState == q.LoginState.QLogin) {
                    var l = (0,
                        k["default"])("qlogin_list")
                        , t = (0,
                            k["default"])("qr_area");
                    it(),
                        e = t,
                        3 == r ? k["default"].css.hide(e) : e.style.display = "";
                    var e, s = (t = a,
                        e = 5,
                        !S["default"].isNewStyle && t.length > e ? e : t.length);
                    if (0 == s)
                        return c.logger.info("没有获取到快速登录的账号,切回普通登录"),
                            void S["default"].switchpage(q.LoginState.PLogin, !0);
                    for (var n = 0; n < (r ? 1 : a.length); n++)
                        4 != a[n].loginType && 2 != a[n].loginType || (pt.hasBuildQlogin = !0);
                    S["default"].isNewStyle ? D(r, s) : S["default"].isNewQr && (1 == s ? ((0,
                        k["default"])("qlogin_tips") && k["default"].css.hide((0,
                            k["default"])("qlogin_tips")),
                        (0,
                            k["default"])("qlogin_show").style.top = "25px") : ((0,
                                k["default"])("qlogin_tips") && k["default"].css.show((0,
                                    k["default"])("qlogin_tips")),
                                (0,
                                    k["default"])("qlogin_show").style.top = "")),
                        at(a, s),
                        lt(a, s, r),
                        setTimeout(function () {
                            var t, e = (0,
                                k["default"])("qlogin_show").offsetWidth || y, n = S["default"].isMailLogin ? 93 : 100;
                            S["default"].isNewStyle && (_ = 3 != r && 1 == s ? 3 : Math.floor(e / n)),
                                h = Math.ceil(s / _),
                                S["default"].isNewStyle && (t = (0,
                                    k["default"])("qlogin_show"),
                                    e = 3 != r && 1 == s ? 3 * n : _ * n,
                                    t.style.width = e + "px",
                                    t.style.left = "50%",
                                    t.style.marginLeft = -50 * _ + "px"),
                                2 <= h ? k["default"].css.show((0,
                                    k["default"])("nextPage")) : (k["default"].css.hide((0,
                                        k["default"])("prePage")),
                                        k["default"].css.hide((0,
                                            k["default"])("nextPage"))),
                                v = 1,
                                (0,
                                    k["default"])("qlogin_list").style.left = "",
                                n = S["default"].isNewStyle ? 1 == h ? e : e / _ * s : 1 == h ? e : s * n,
                                l.style.width = n + "px",
                                S["default"].isMailLogin && (l.style.width = n + 14 + "px");
                            for (var i = 0; i < s; i++)
                                if (3 == a[i].loginType) {
                                    c.logger.info("start qrlogin, uIndex==".concat(i)),
                                        S["default"].begin_qrlogin();
                                    break
                                }
                            setTimeout(function () {
                                "function" == typeof o && o()
                            }, 0)
                        }, 0),
                        Y(),
                        Z(),
                        et(),
                        S["default"].resetQrTips()
                } else
                    c.logger.log("plogin.loginState != LoginState.QLogin, exit")
            }
            ,
            ut = function ut(t, e, n, i, o, r) {
                var a = 0
                    , l = function l() {
                        clearInterval(u),
                            "function" == typeof o && o()
                    }
                    , s = function s() {
                        if (a >= e.length)
                            return clearInterval(u),
                                i.called || "function" != typeof r || r(),
                                void c.logger.info("尝试完所有端口,都失败了 url=".concat(t, " ports="), e);
                        k["default"].http.loadScript(t.replace("[port]", e[a]), l),
                            a += 1
                    };
                i.called = !1;
                var u = setInterval(s, n);
                s()
            }
            ,
            ot = regeneratorRuntime.mark(function ht(e, n, i, o, r) {
                var a, l, s;
                return regeneratorRuntime.wrap(function (t) {
                    for (; ;)
                        switch (t.prev = t.next) {
                            case 0:
                                c.logger.info("loadLocalAsync Started"),
                                    a = 0;
                            case 2:
                                if (a < n.length)
                                    return l = (0,
                                        u.jsonp)(e.replace("[port]", n[a]).replace(/&callback=[_\w]+&/gi, "&"), {
                                            "timeout": i
                                        }),
                                        t.next = 6,
                                        l.promise["catch"](function (t) {
                                            return {
                                                "err": t
                                            }
                                        });
                                t.next = 30;
                                break;
                            case 6:
                                if (!(s = t.sent).err) {
                                    t.next = 20;
                                    break
                                }
                                if ("Error" === s.err.message)
                                    return c.logger.info("port=".concat(n[a], " onError try next")),
                                        t.abrupt("continue", 27);
                                t.next = 13;
                                break;
                            case 13:
                                if ("Timeout" === s.err.message)
                                    return c.logger.info("timeout stop trying"),
                                        r && r(),
                                        t.abrupt("break", 30);
                                t.next = 19;
                                break;
                            case 19:
                                throw s.err;
                            case 20:
                                if (c.logger.info("responseData:", s),
                                    "array" == typeof s || "object" == typeof s)
                                    return o && o(s),
                                        t.abrupt("break", 30);
                                t.next = 26;
                                break;
                            case 26:
                                throw new Error("unknown response data type");
                            case 27:
                                a++,
                                    t.next = 2;
                                break;
                            case 30:
                                c.logger.info("loadLocalAsync Ended");
                            case 31:
                            case "end":
                                return t.stop()
                        }
                }, ht)
            }),
            rt = function () {
                var t = this
                    , a = arguments;
                return new Promise(function (e, n) {
                    var i = ot.apply(t, a);
                    function o(t) {
                        l(i, e, n, o, r, "next", t)
                    }
                    function r(t) {
                        l(i, e, n, o, r, "throw", t)
                    }
                    o(undefined)
                }
                )
            }
            ,
            ct = function ct(t, e, n, i, o) {
                return rt.apply(this, arguments)
            }
            ,
            dt = function dt(t, e, n, i, o, r) {
                -1 < t.indexOf("/pt_get_st?") ? ct(t, e, n, o, r) : ut(t, e, n, i, o, r)
            }
            ,
            nt(),
        {
            "hasBuildQlogin": !1,
            "imgClick": G,
            "imgFocus": z,
            "imgBlur": X,
            "imgMouseover": K,
            "imgMouseDowm": W,
            "imgMouseUp": J,
            "imgErr": V,
            "focusHeader": Z,
            "authLoginSubmit": R,
            "__getstClock": 0,
            "__onekeyClock": 0,
            "__onekeyUin": 0,
            "__onekeyFirst": !0,
            "getSurl": U,
            "pcsvrQloginSubmit": M,
            "PCSvrQlogin": 4,
            "OneKeyPush": g,
            "onekeyPush": H,
            "setPCSvrQloginList": function (t) {
                C = t
            },
            "setOneKeyList": function (t) {
                d = t
            },
            "hasOneKeyList": function () {
                return !!d.length
            },
            "buildUnifiedQloginList": function (t, e) {
                c.logger.log("start buildUnifiedQloginList,caller=".concat((0,
                    c.getCallerName)(3))),
                    p = void 0 === t ? 0 : t;
                var n, i = [], o = {};
                if (s.length = 0,
                    c.logger.log("buildUnifiedQloginList init status type=".concat(t, " uin=").concat(e, " list.length=").concat(i.length, " plogin.isNewQr=").concat(S["default"].isNewQr, " clientUinList=").concat(k["default"].str.json2str(C), " onekeyUinList=").concat(k["default"].str.json2str(d))),
                    S["default"].isNewQr && i.push({
                        "loginType": 3
                    }),
                    1 == t || 2 == t)
                    return c.logger.info("type=".concat(t, ",清空qloginBuildList")),
                        f = i,
                        void st();
                if (S["default"].authUin && "0" == ft.ptui.auth_mode && "" == ft.ptui.regmaster && "1" != ft.ptui.noAuth && !S["default"].isTim && (c.logger.info("authUin=".concat(S["default"].authUin, " auth_mode=").concat(ft.ptui.auth_mode, " regmaster=").concat(ft.ptui.regmaster, " noAuth=").concat(ft.ptui.noAuth, " plogin.isTim=").concat(S["default"].isTim)),
                    n = {
                        "name": S["default"].authUin,
                        "uinString": S["default"].authUin,
                        "nick": k["default"].str.utf8ToUincode(k["default"].cookie.get("ptnick_" + S["default"].authUin)) || S["default"].authUin,
                        "loginType": 1
                    },
                    i.push(n),
                    o[n.name] = n,
                    s.push(n)),
                    "1" == ft.ptui.enable_qlogin && !S["default"].isTim)
                    for (var r in C)
                        !Object.prototype.hasOwnProperty.call(C, r) || o[C[r].name] || o[C[r].uinString] || (i.push(C[r]),
                            o[C[r].uinString] = C[r],
                            s.push(C[r]));
                if ("1" == ft.ptui.enable_qlogin && !S["default"].isTim)
                    for (var r in d)
                        !Object.prototype.hasOwnProperty.call(d, r) || o[d[r].name] || o[d[r].uinString] || (i.push(d[r]),
                            o[d[r].uinString] = d[r],
                            s.push(d[r]));
                3 == t && o[e] && (i.length = 0,
                    i.push(o[e])),
                    c.logger.info("before buildQloginDom, list=".concat(k["default"].str.json2str(i))),
                    f = i,
                    st()
            },
            "buildQloginDom": st,
            "fetchQloginList": E,
            "QQProtectSession": "",
            "QQProtectPortList": [9410, 16873],
            "QQProtectGUID": "",
            "callQQProtect": function (t) {
                if (/windows/i.test(navigator.userAgent)) {
                    var e = k["default"].cookie.get("_qpsvr_localtk");
                    if (e || k["default"].cookie.set("_qpsvr_localtk", Math.random(), "qq.com"),
                        e = k["default"].cookie.get("_qpsvr_localtk")) {
                        var n = t.timeout || 200
                            , i = t.wparam || ""
                            , o = t.lparam || "";
                        switch (parseInt(t.service, 10)) {
                            case 103:
                                var r = 1
                                    , a = pt.QQProtectSession;
                                break;
                            case 104:
                            default:
                                r = 0,
                                    a = ""
                        }
                        o = "https://localhost.sec.qq.com:[port]/?cmd=101&service=" + encodeURIComponent(t.service) + "&action=" + encodeURIComponent(t.action) + "&timeout=5000&_tk=" + encodeURIComponent(e) + "&encrypt=" + r + "&_ts=" + (new Date).getTime() + "&callback=" + encodeURIComponent(t.callbackName) + "&wparam=" + encodeURIComponent(i) + "&lparam=" + encodeURIComponent(o) + "&session=" + encodeURIComponent(a);
                        dt(o, [9410, 16873], n, window[t.callbackName], t.callback, t.timeoutCallback)
                    }
                }
            },
            "fetchOnekeyListByGUID": function (t) {
                if (t)
                    var e = "https://ssl.ptlogin2." + ft.ptui.domain + "/pt_fetch_dev_uin?r=" + Math.random() + "&pt_guid_sig=" + t;
                else {
                    t = k["default"].cookie.get("pt_guid_sig");
                    if (!t)
                        return;
                    e = "https://ssl.ptlogin2." + ft.ptui.domain + "/pt_fetch_dev_uin?r=" + Math.random() + "&pt_guid_token=" + k["default"].str.hash33(t)
                }
                k["default"].http.loadScript(e)
            },
            "fetchOnekeyList": function () {
                if (S["default"].isNewStyle && !S["default"].isTim && "0" != ft.ptui.enable_qlogin)
                    return navigator.userAgent.match(/Windows/) ? void pt.callQQProtect({
                        "service": 1,
                        "callbackName": "pt_qqprotect_version",
                        "timeoutCallback": function () {
                            pt.fetchOnekeyListByGUID(),
                                k["default"].report.monitor(2732844)
                        }
                    }) : (c.logger.info("非windows没有Q盾,直接从GUID获取快速登录"),
                        pt.fetchOnekeyListByGUID())
            },
            "hasNoQlogin": function () {
                return 0 == s.length
            },
            "detectPCMgr": I,
            "reportPCMgr": j,
            "PCMgrSession": "",
            "PCMgrSession2": "",
            "PCMgrChecked": 3,
            "processPCMgrStatus": function (t, e, n) {
                for (var i = document.getElementsByClassName("guanjia"), o = 0; o < i.length; ++o)
                    k["default"].css.show(i[o]);
                for (var r = document.getElementsByClassName("guanjia_tips"), o = 0; o < r.length; ++o)
                    r[o].innerHTML = k["default"].str.encodeHtml(e);
                switch (parseInt(t, 10)) {
                    case 0:
                        return;
                    case 1:
                        for (var a = document.getElementsByClassName("guanjia_logo"), o = 0; o < a.length; ++o)
                            a[o].style.display = "inline";
                        for (o = 0; o < i.length; ++o) {
                            i[o].style.opacity = 0,
                                i[o].style.filter = "alpha(opacity=0)";
                            var l = k["default"].css.getCurrentPixelStyle(i[o], "top");
                            i[o].style.top = l + 10 + "px",
                                k["default"].animate.animate2(i[o], {
                                    "top": l + "px"
                                }, 5),
                                k["default"].animate.fade(i[o], 100, 5)
                        }
                        break;
                    case 2:
                        for (var s = document.getElementsByClassName("guanjia_checkbox"), o = 0; o < s.length; ++o) {
                            s[o].style.display = "inline";
                            var u = "true" == n.toString().toLowerCase() || "1" == n;
                            s[o].checked = u,
                                pt.PCMgrChecked = u ? 1 : 2
                        }
                }
                for (var c = document.getElementsByClassName("bottom"), o = 0; o < c.length; ++o)
                    k["default"].css.addClass(c[o], "center")
            },
            "reportPath": function (t, e) {
                for (var n = 0, i = 0, o = 0, r = 0, a = 0, l = 0; l < f.length; ++l) {
                    switch (f[l].loginType) {
                        case 1:
                            i += 1;
                            break;
                        case g:
                            r += 1;
                            break;
                        case 2:
                        case 4:
                            o += 1
                    }
                    if (f[l].uinString == t)
                        switch (l < _ && (a = 1),
                        f[l].loginType) {
                            case 1:
                                n = 2;
                                break;
                            case g:
                                n = 4;
                                break;
                            case 2:
                            case 4:
                                n = 1
                        }
                }
                k["default"].http.loadScript("//ui.ptlogin2.qq.com/cgi-bin/report?ct=2&path=" + e + "-" + n + "-" + a + "-" + i + "-" + o + "-" + r)
            }
        });
        e["default"] = pt
    }
    , function (t, e, n) {
        "use strict";
        Object.defineProperty(e, "__esModule", {
            "value": !0
        }),
            e.LoginState = void 0;
        e.LoginState = {
            "PLogin": 1,
            "QLogin": 2,
            "OneKeyLogin": 3
        }
    }
    , function (t, e, n) {
        var i = function (a) {
            "use strict";
            var u, t = Object.prototype, s = t.hasOwnProperty, e = "function" == typeof Symbol ? Symbol : {}, o = e.iterator || "@@iterator", n = e.asyncIterator || "@@asyncIterator", i = e.toStringTag || "@@toStringTag";
            function r(t, e, n) {
                return Object.defineProperty(t, e, {
                    "value": n,
                    "enumerable": !0,
                    "configurable": !0,
                    "writable": !0
                }),
                    t[e]
            }
            try {
                r({}, "")
            } catch (N) {
                r = function (t, e, n) {
                    return t[e] = n
                }
            }
            function l(t, e, n, i) {
                var r, a, l, s, e = e && e.prototype instanceof m ? e : m, e = Object.create(e.prototype), i = new C(i || []);
                return e._invoke = (r = t,
                    a = n,
                    l = i,
                    s = d,
                    function (t, e) {
                        if (s === p)
                            throw new Error("Generator is already running");
                        if (s === h) {
                            if ("throw" === t)
                                throw e;
                            return x()
                        }
                        for (l.method = t,
                            l.arg = e; ;) {
                            var n = l.delegate;
                            if (n) {
                                var i = function o(t, e) {
                                    var n = t.iterator[e.method];
                                   
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
对其功能的要求也越来越高 —— 这类软件密码管理功能大同小异,至于各类加密算法更不是我等菜鸟能明白的,只要不是低级到用明文保存,我想一般人也就够用了。因此其附加功能就成了选择使用的亮点。今天大眼仔向大家介绍的这款密码管理新秀 —— KeePass 密码保险箱,就是凭其独特的功能让我“一旦拥有、别无所求”的,相信经过我的介绍,你也会喜欢上它的。 KeePass Password Safe 绿色中文版 对于 KeePass 相对其它同类工具出类拔萃的优势,我也会结合用过的其它密码工具来介绍,这就是今天的两个配角:KeyPass 和 Password Agent ,后者是老牌的密码箱了,前者算得上独特的自动登录功能也曾让我心仪,但当后来发现了 KeyPass 一个致命的本地安全隐患后,我一直在寻找它的替代品,直到 KeePass 的出现,我才发现 KeyPass 的自动登录实在是不太方便。 KeePass Password Safe 就是专门为了解决人类记不得众多密码的问题所产生的,它包含了一个强大的密码产生引擎与加密储存机能,能够提供一个安全的密码储存空间。当你开始使用 KeePass Password Safe 时,要先决定一个起始密码。此密码用来辨识你的身分,决定你是否可以使用 KeePass Password Safe 软件,因此千万不要忘了。启动后你就可以开始储存密码,在 KeePass Password Safe 软件中已经有一些预设的密码分类,你可以自己再根据需要建立自己喜欢的密码储存分类。 办公室电脑密码、笔记本密码、家里电脑密码、上网帐号密码、手机服务密码、邮箱密码、QQ 密码、银行卡查询密码、银行卡交易密码、银行卡网上支付密码……现在的我们需要记太多太多的密码。纵然我们可以使一些密码一致,但无法让所有的密码都一样,到头来,我们仍要记不少的密码,尤其是对于掌握信息系统的人来说,密码更多了。 实际上把密码记下来,也不代表不安全,完全留在脑中,反而容易忘记。所以有了 KeePass。 KeePass(KeePass Password Safe)密码管理系统是一款轻量级的,强大易用的开源密码管理系统,使用该系统,你可以方便的对各种文件加密,你的密码或者key文件存在数据库中。 Password Safe 主要有两部分作用: 1、生成不易于免费的随机密码:它自带了一个密码生成器,可以按照指定的字符类(大小写、数字、特殊符号)生成指定位数的密码。 2、分类管理密码:使用一个kdb扩展名的文件作为数据库,你可以指定数据库的加密算法和加密次数;密码你可以分类别进行管理,并且双击时可以自动打开URL字段的网址,自动复制用户名和密码字段的数据;复制到剪贴板的数据可以定时清除或者只允许粘贴一次。 Password Safe 优势 安全:截至此时应该没有泄露的风险,就算数据库丢了没访问密码问题也不严重(它还可以使用一个文件作为加密密码,太BT我没有尝试); 方便:注册网站时首先创建一个新条目,随机生成密码后再填入注册网站,方便且密码多变。登录各个网站时,可以直接双击需要复制的字段,再去登陆框粘贴即可; 简单:没有大多数密码管理软件的繁琐,使用熟练后会非常舒心,数据库也仅一个kdb文件,压缩加密后放到邮箱就完成了备份; 多样:软件是开源的,数据库除了在Windows可以使用,在Linux、MacOS X、PocketPC、Symbian、BlackBerry、PalmOS等都可以使用。
粑粑留言本是由粑粑工作室龚礼仪个人开发所得。最终解释权归龚礼仪个人所有。 本留言本系统采用asp+access数据结构,使用方便,无需安装,放到服务器空间即可使用。 独立皮肤文件,皮肤文件放到skin文件夹中。 拥有50多个超级漂亮的头像可供选择。本留言本程序简单,操作简单方便,适合二次修改开发。 管理员可以后台设置留言本,配置留言本名称,留言本标题,以及更换留言本皮肤功能,以及更换管理员密码。 修正留言本分页存在的问题,增加css,是分页看起来更加美观。 增加留言本数据初始化功能,方便管理员一次清除所有留言。 默认管理员账号:admin管理员密码:admin888请登陆后及时修改密码。 拥有良好的安全性。采用数据防注入。过滤特殊代码。 粑粑留言本2.0版介绍 1.重新构架留言本系统,在粑粑留言本1.2版基础上,精炼程序,使程序运行更加快速。 2.重新设计网页框架,网页全部采用css+div布局,符合web标准。 3.删除普通游客回复功能,及引用功能。是系统更加简洁实用。 4.采用高效的分页代码,分页功能更加优化。支持后台控制留言本每页显示留言条数。 5.内容显示优化,支持ubb.支持后台控制留言本留言字数。 6.留言本名称显示修改功能。 7.留言本标题显示修改功能。 8.留言本地址显示修改功能。 9.留言本皮肤修改功能。(博客皮肤地址,如:'default'或'blue') 10.悄悄话功能:当选中时,此留言只有管理员可见 11.网站验证功能:当选中时,网站验证功能打开 12.网站打开关闭:当选中时,网站打开关闭功能打开 13.头像功能:当选中时,留言本头像功能打开 14.QQ功能:当选中时,留言本QQ功能功能打开 15.email功能:当选中时,留言本email功能功能打开 16.个人网站功能:当选中时,留言本个人网站功能打开 17.网站公告功能:当选中时,留言本公告功能打开 18.网站名称功能:当选中时,留言本网站名称功能打开 19.网站标题功能:当选中时,留言本网站标题功能打开 20.首页留言功能:当选中时,留言本首页添加留言功能打开 21.公告管理,添加公告,修改公告,删除公告等。 22.数据库初始化功能。 23.管理员密码修改设置功能。 2009.4.5安全更新版本更新至2.1版 1.数据库增加防下载代码。即使找到数据库路径也不能下载数据库。 2.增加MD5文件,管理员密码用md5加密。保障密码安全性。 3.修复管理员无法修改密码的问题。 4.修改数据库连接文件,防止暴库。 5.更改数据库名字,数据库名称变复杂。 6.修复删除公告之后无法添加公告问题。 更新文件 include/增加md5.asp include/修改conn.asp data/更改数据库名字。数据库里面添加放下载代码 admin_password.asp修改管理员密码修改问题。 admin_gonggao.asp管理公告。 gonggao.asp公告。
KeePass Password Safe 就是专门为了解决人类记不得众多密码的问题所产生的,它包含了一个强大的密码产生引擎与加密储存机能,能够提供一个安全的密码储存空间。当你开始使用 KeePass Password Safe 时,要先决定一个起始密码。此密码用来辨识你的身分,决定你是否可以使用 KeePass Password Safe 软件,因此千万不要忘了。启动后你就可以开始储存密码,在 KeePass Password Safe 软件中已经有一些预设的密码分类,你可以自己再根据需要建立自己喜欢的密码储存分类。 中文名 keepass 外文名 KeePass Password Safe 软件版本 2.35 软件大小 3.42 MB 软件语言 英文软件 办公室电脑密码、笔记本密码、家里电脑密码、上网帐号密码、手机服务密码、邮箱密码、QQ 密码、银行卡查询密码、银行卡交易密码、银行卡网上支付密码……现在的我们需要记太多太多的密码。纵然我们可以使一些密码一致,但无法让所有的密码都一样,到头来,我们仍要记不少的密码,尤其是对于掌握信息系统的人来说,密码更多了。 实际上把密码记下来,也不代表不安全,完全留在脑中,反而容易忘记。所以有了 KeePass。 KeePass(KeePass Password Safe)密码管理系统是一款轻量级的,强大易用的开源密码管理系统,使用该系统,你可以方便的对各种文件加密,你的密码或者key文件存在数据库中。 软件分类:国外软件 运行环境:Windows 98 / 98SE / ME / 2000 / XP / 2003 / Vista / 7 / 8, each 32-bit and 64-bit, Mono (Linux, Mac OS X, BSD, ...). 原理编辑 KeePass 是一款管理密码的开源的免费软件,KeePass 将密码存储为一个数据库,而这个数据库由一个主密码或密码文件锁住,也就是说我们只需要记住一个主密码,或使用一个密码文件,就可以解开这个数据库,就可以获得其他的密码内容。不用担心安全,这个数据库采用当今非常安全的密码算法AES 和 Twofish。 功能编辑 用过不少的密码管理软件了,对其功能的要求也越来越高 —— 这类软件密码管理功能大同小异,至于各类加密算法更不是我等菜鸟能明白的,只要不是低级到用明文保存,我想一般人也就够用了。因此其附加功能就成了选择使用的亮点。今天向大家介绍的这款密码管理新秀 —— KeePass 密码保险箱,就是凭其独特的功能让我“一旦拥有、别无所求”的,相信经过我的介绍,你也会喜欢上它的。 对于 KeePass 相对其它同类工具出类拔萃的优势,我也会结合用过的其它密码工具来介绍,这就是今天的两个配角:KeyPass 和 Password Agent ,后者是老牌的密码箱了,前者算得上独特的自动登录功能也曾让我心仪,但当后来发现了 KeyPass 一个致命的本地安全隐患后,我一直在寻找它的替代品,直到 KeePass 的出现,我才发现 KeyPass 的自动登录实在是不太方便。由此引出今天讨论的第一个功能 —— 自动登录 1、先说 KeyPass,它要实现自动登录,在设置好登录脚本后,在所要登录的网页按“Ctrl+右键”、然后还要用鼠标选择密码项目。即使是从历史记录里选择使用过的项目,也是比较麻烦的。 2、Password Agent 的自动登录就更逊一筹了,打开需要自动登录的网页后——切换到 Password Agent ——选择要登录的项目——再转到网页——按快捷键。 3、再来看看我们的主角 KeePass,它的优势在于可以自动识别所要登录的环境,这时只需按快捷键,根本不必切换、不必选择!想知道怎么实现的?不要着急,下面我会专门论述。 支持附件功能 如果说自动登录功能两个配角还能有点戏份,到这里,就是 KeePass 独步舞台了!说起附件功能,是我很早就想要的,有不少共享软件的 Key 文件,分散保存很不方便,而且不安全,万一泄漏出去被列入黑名单,想哭都晚了,毕竟以我们的收入买个软件不容易。把它们保存到 KeePass 这个保险柜里,安全系数大大提高,也不用担心因为 Key 多了自己都不知道放在那里了(就像在我乱七八糟的办公桌上找昨天还再用的一个文件)。当然了,附件不止是可以保存 Key 文件,有什么绝密的文件尽管放进保险柜。 支持语言编辑 KeePass 支持中文,请根据下面链接中下载中文语言包,解压然后将 .LNGX文件拷贝到 KeePass 安装目录,然后启动 KeePass,在“View”菜单中选择“Change Language”项,再选择Chinese_Simplified(中文简体)。 软件应用编辑 KeePass主要有两部分作用: 1、生成不易于破解的随机密码:它自带了一个密码生成器,可以按照指定的字符类(大小写、数字、特殊符号)生成指定位数的密码。 2、分类管理密码:使用一个kdb扩展名的文件作为数据库,你可以指定数据库的加密算法和加密次数;密码你可以分类别进行管理,并且双击时可以自动打开URL字段的网址,自动复制用户名和密码字段的数据;复制到剪贴板的数据可以定时清除或者只允许粘贴一次。 软件优势编辑 安全:截至此时应该没有泄露的风险,就算数据库丢了没访问密码问题也不严重(它还可以使用一个文件作为加密密码,太BT我没有尝试); 方便:注册网站时首先创建一个新条目,随机生成密码后再填入注册网站,方便且密码多变。登录各个网站时,可以直接双击需要复制的字段,再去登陆框粘贴即可; 简单:没有大多数密码管理软件的繁琐,使用熟练后会非常舒心,数据库也仅一个kdb文件,压缩加密后放到邮箱就完成了备份; 多样:软件是开源的,数据库除了在Windows可以使用,在Linux、MacOS X、PocketPC、Symbian、BlackBerry、PalmOS等都可以使用。
MyICQ 0.8 alpha1测试版 ==================================================== --------------- 1. MyICQ是什么? --------------- MyICQ是一套公开源代码的即时通讯软件,包括服务器端和客户端,可以用于互联网或局域网中。可以运行在Windows或Linux(KDE/Qt)操作系统上,这是Windows版。目前客户端程序的界面完全模仿腾讯的QQ(如果Tencent告我的话,我会马上改的:-)。 总之,如果你崇尚自由,对QQ的越来越多的广告骚扰感到深恶痛绝的话,MyICQ绝对是你很好的选择。 -------- 2. 版本 -------- 这是MyICQ 0.8版本的alpha1 测试版,基本上还没有经过什么严格测试。 -------- 3. 版权 -------- 完全遵循GPL协议2.0或以后协议版本。 --------------- 4. 基本功能特点 --------------- 1) 收发(离线)消息(如果客户端之间能直接通讯,则通过UDP协议发送,否则通过服务器中转) 2) 添加/删除好友(可以设置身份验证) 3) 服务器端存储好友列表 4) 在客户端存储好友资料和聊天记录 5) 客户端与服务器端用DES的密钥加密方式通讯 6) 支持代理服务器(SOCKS5/HTTP) 7) 向在线的一组好友发送消息 8) 系统管理员(MyICQ号 < 1000)可以发送系统广播消息 9) 皮肤系统 10)完全基于插件,使扩展更容易。目前提供的插件有: a. 收发文件 b. 二人世界(可以实时语音聊天) c. 闹钟提醒 ------------------ 5. 分发包里有什么? ------------------ 分发包里有三个目录: myicq/ 客户端程序 myicqd/ 服务器端程序 myicqhttp/ HTTP的转换程序。MyICQ支持HTTP代理,但需要在MyICQ的服务器端运行myicqhttp程序 -------- 6. 安装 -------- 客户端程序不写Windows注册表,无需安装。双击MyICQ.exe运行。 服务器端由于内部采用MySQL数据库,所以安装稍微麻烦一些: 1) 到http://www.mysql.com下载MySQL 2) 打开一个DOS命令窗口,在MySQL中建立一个数据库,并添加一个用户: C:\mysql\bin> mysql -uroot -p ******** (输入root密码,如果还没有设置,直接输入回车即可) mysql> GRANT ALL ON myicq.* TO myicq@localhost IDENTIFIED BY 'myicq'; mysql> CREATE DATABASE myicq; mysql> quit 3) 创建表格: C:\mysql\bin> mysql -umyicq -Dmyicq -p < [myicqd目录]\myicq.sql password: myicq 注意: [myicqd目录]代表myicqd所在的目录 4) 运行myicqd: 双击myicqd.exe即可运行。如果没有错误,应该显示"MyICQ server is now started". 接下来就可以从客户端注册新用户了。 5) 你可能想要添加一个系统用户,以发送系统广播消息: C:\mysql\bin> mysql -umyicq -Dmyicq -p password: myicq mysql> INSERT INTO basic_tbl (uin, passwd) VALUES(100, password('yourpassword')); mysql> INSERT INTO ext_tbl (uin) VALUES(100); 注意: yourpassword代表系统用户的密码 然后选择客户端程序的注册向导,取回100这个号码。完成后,你会发现在主菜单中多了"广播消息"一项。此后,你可以选择个人设定来设定你的个人信息(比如,不允许任何人加我为好友) ------------- 7. 编译源代码 ------------- 如果你是一个程序员,那么一定要编译MyICQ的源代码:-) 1) 到http://www.mysql.com下载MySQL 2) 由于MyICQ在存储好友资料和聊天记录时,使用Berkeley DB库,所以先到 http://www.sleepycat.com下载 3) 编译Berkeley DB 4) 在VC的Tools->Options->Directories中设置好MySQL和BerkeleyDB的include和library路径 5) 在VC中打开myicq-win32/src/win32/myicq.dsw项目文件 6) 编译 --------- 8. TODO --------- 1) POP3邮件自动监测(插件) 2) 文件共享(插件) 3) 一些小游戏(插件,如俄罗斯方块) 4) 发送好友/URL消息 5) 更完善的皮肤系统 6) 服务器端改为Windows服务程序 7) 服务器端的性能和稳定性 ----------- 9. 共同开发 ----------- MyICQ是我利用上学和上班的空闲时间编写的,发展到现在已经是一个比较大的工程了,以我一个人的力量继续编写下去将非常困难。希望广大的程序员高手能够参与到这个项目中来,为自由软件贡献一份力量。 我在sourceforge.net上申请了CVS服务空间,项目名是myicq-free。有意加入者请与我联系。 ----------- 10. 联系方式 ----------- 如果你在使用MyICQ的过程中,遇到了什么BUG,或是有什么新的想法和建议,或是喜欢这个程序,我将非常高兴收到你的来信。 Email: [email protected] 张勇 Linux用户请不要着急,等在Windows下测试稳定后,马上就会出Linux版的! 天才的人是流星,注定要燃烧自己以照亮他们的世纪 ----- 拿破仑波拿巴 一辆法拉利小车只是物质享受,做人最重要的是真诚 ----- John Carmack 什么叫专业,这就... ----- 张勇:-)

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值