Guest User

Untitled

a guest
Feb 16th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* jQuery v2.1.3 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ ! function(d, c) {
  2.     "object" == typeof module && "object" == typeof module.exports ? module.exports = d.document ? c(d, !0) : function(b) {
  3.         if (!b.document) {
  4.             throw new Error("jQuery requires a window with a document")
  5.         }
  6.         return c(b)
  7.     } : c(d)
  8. }("undefined" != typeof window ? window : this, function(a, b) {
  9.     var c = [],
  10.         d = c.slice,
  11.         e = c.concat,
  12.         f = c.push,
  13.         g = c.indexOf,
  14.         h = {},
  15.         i = h.toString,
  16.         j = h.hasOwnProperty,
  17.         k = {},
  18.         l = a.document,
  19.         m = "2.1.3",
  20.         n = function(a, b) {
  21.             return new n.fn.init(a, b)
  22.         },
  23.         o = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
  24.         p = /^-ms-/,
  25.         q = /-([\da-z])/gi,
  26.         r = function(a, b) {
  27.             return b.toUpperCase()
  28.         };
  29.     n.fn = n.prototype = {
  30.         jquery: m,
  31.         constructor: n,
  32.         selector: "",
  33.         length: 0,
  34.         toArray: function() {
  35.             return d.call(this)
  36.         },
  37.         get: function(a) {
  38.             return null != a ? 0 > a ? this[a + this.length] : this[a] : d.call(this)
  39.         },
  40.         pushStack: function(a) {
  41.             var b = n.merge(this.constructor(), a);
  42.             return b.prevObject = this, b.context = this.context, b
  43.         },
  44.         each: function(a, b) {
  45.             return n.each(this, a, b)
  46.         },
  47.         map: function(a) {
  48.             return this.pushStack(n.map(this, function(b, c) {
  49.                 return a.call(b, c, b)
  50.             }))
  51.         },
  52.         slice: function() {
  53.             return this.pushStack(d.apply(this, arguments))
  54.         },
  55.         first: function() {
  56.             return this.eq(0)
  57.         },
  58.         last: function() {
  59.             return this.eq(-1)
  60.         },
  61.         eq: function(a) {
  62.             var b = this.length,
  63.                 c = +a + (0 > a ? b : 0);
  64.             return this.pushStack(c >= 0 && b > c ? [this[c]] : [])
  65.         },
  66.         end: function() {
  67.             return this.prevObject || this.constructor(null)
  68.         },
  69.         push: f,
  70.         sort: c.sort,
  71.         splice: c.splice
  72.     }, n.extend = n.fn.extend = function() {
  73.         var a, b, c, d, e, f, g = arguments[0] || {},
  74.             h = 1,
  75.             i = arguments.length,
  76.             j = !1;
  77.         for ("boolean" == typeof g && (j = g, g = arguments[h] || {}, h++), "object" == typeof g || n.isFunction(g) || (g = {}), h === i && (g = this, h--); i > h; h++) {
  78.             if (null != (a = arguments[h])) {
  79.                 for (b in a) {
  80.                     c = g[b], d = a[b], g !== d && (j && d && (n.isPlainObject(d) || (e = n.isArray(d))) ? (e ? (e = !1, f = c && n.isArray(c) ? c : []) : f = c && n.isPlainObject(c) ? c : {}, g[b] = n.extend(j, f, d)) : void 0 !== d && (g[b] = d))
  81.                 }
  82.             }
  83.         }
  84.         return g
  85.     }, n.extend({
  86.         expando: "jQuery" + (m + Math.random()).replace(/\D/g, ""),
  87.         isReady: !0,
  88.         error: function(a) {
  89.             throw new Error(a)
  90.         },
  91.         noop: function() {},
  92.         isFunction: function(a) {
  93.             return "function" === n.type(a)
  94.         },
  95.         isArray: Array.isArray,
  96.         isWindow: function(a) {
  97.             return null != a && a === a.window
  98.         },
  99.         isNumeric: function(a) {
  100.             return !n.isArray(a) && a - parseFloat(a) + 1 >= 0
  101.         },
  102.         isPlainObject: function(a) {
  103.             return "object" !== n.type(a) || a.nodeType || n.isWindow(a) ? !1 : a.constructor && !j.call(a.constructor.prototype, "isPrototypeOf") ? !1 : !0
  104.         },
  105.         isEmptyObject: function(a) {
  106.             var b;
  107.             for (b in a) {
  108.                 return !1
  109.             }
  110.             return !0
  111.         },
  112.         type: function(a) {
  113.             return null == a ? a + "" : "object" == typeof a || "function" == typeof a ? h[i.call(a)] || "object" : typeof a
  114.         },
  115.         globalEval: function(a) {
  116.             var b, c = eval;
  117.             a = n.trim(a), a && (1 === a.indexOf("use strict") ? (b = l.createElement("script"), b.text = a, l.head.appendChild(b).parentNode.removeChild(b)) : c(a))
  118.         },
  119.         camelCase: function(a) {
  120.             return a.replace(p, "ms-").replace(q, r)
  121.         },
  122.         nodeName: function(a, b) {
  123.             return a.nodeName && a.nodeName.toLowerCase() === b.toLowerCase()
  124.         },
  125.         each: function(a, b, c) {
  126.             var d, e = 0,
  127.                 f = a.length,
  128.                 g = s(a);
  129.             if (c) {
  130.                 if (g) {
  131.                     for (; f > e; e++) {
  132.                         if (d = b.apply(a[e], c), d === !1) {
  133.                             break
  134.                         }
  135.                     }
  136.                 } else {
  137.                     for (e in a) {
  138.                         if (d = b.apply(a[e], c), d === !1) {
  139.                             break
  140.                         }
  141.                     }
  142.                 }
  143.             } else {
  144.                 if (g) {
  145.                     for (; f > e; e++) {
  146.                         if (d = b.call(a[e], e, a[e]), d === !1) {
  147.                             break
  148.                         }
  149.                     }
  150.                 } else {
  151.                     for (e in a) {
  152.                         if (d = b.call(a[e], e, a[e]), d === !1) {
  153.                             break
  154.                         }
  155.                     }
  156.                 }
  157.             }
  158.             return a
  159.         },
  160.         trim: function(a) {
  161.             return null == a ? "" : (a + "").replace(o, "")
  162.         },
  163.         makeArray: function(a, b) {
  164.             var c = b || [];
  165.             return null != a && (s(Object(a)) ? n.merge(c, "string" == typeof a ? [a] : a) : f.call(c, a)), c
  166.         },
  167.         inArray: function(a, b, c) {
  168.             return null == b ? -1 : g.call(b, a, c)
  169.         },
  170.         merge: function(a, b) {
  171.             for (var c = +b.length, d = 0, e = a.length; c > d; d++) {
  172.                 a[e++] = b[d]
  173.             }
  174.             return a.length = e, a
  175.         },
  176.         grep: function(a, b, c) {
  177.             for (var d, e = [], f = 0, g = a.length, h = !c; g > f; f++) {
  178.                 d = !b(a[f], f), d !== h && e.push(a[f])
  179.             }
  180.             return e
  181.         },
  182.         map: function(a, b, c) {
  183.             var d, f = 0,
  184.                 g = a.length,
  185.                 h = s(a),
  186.                 i = [];
  187.             if (h) {
  188.                 for (; g > f; f++) {
  189.                     d = b(a[f], f, c), null != d && i.push(d)
  190.                 }
  191.             } else {
  192.                 for (f in a) {
  193.                     d = b(a[f], f, c), null != d && i.push(d)
  194.                 }
  195.             }
  196.             return e.apply([], i)
  197.         },
  198.         guid: 1,
  199.         proxy: function(a, b) {
  200.             var c, e, f;
  201.             return "string" == typeof b && (c = a[b], b = a, a = c), n.isFunction(a) ? (e = d.call(arguments, 2), f = function() {
  202.                 return a.apply(b || this, e.concat(d.call(arguments)))
  203.             }, f.guid = a.guid = a.guid || n.guid++, f) : void 0
  204.         },
  205.         now: Date.now,
  206.         support: k
  207.     }), n.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(a, b) {
  208.         h["[object " + b + "]"] = b.toLowerCase()
  209.     });
  210.  
  211.     function s(a) {
  212.         var b = a.length,
  213.             c = n.type(a);
  214.         return "function" === c || n.isWindow(a) ? !1 : 1 === a.nodeType && b ? !0 : "array" === c || 0 === b || "number" == typeof b && b > 0 && b - 1 in a
  215.     }
  216.     var t = function(a) {
  217.         var b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u = "sizzle" + 1 * new Date,
  218.             v = a.document,
  219.             w = 0,
  220.             x = 0,
  221.             y = hb(),
  222.             z = hb(),
  223.             A = hb(),
  224.             B = function(a, b) {
  225.                 return a === b && (l = !0), 0
  226.             },
  227.             C = 1 << 31,
  228.             D = {}.hasOwnProperty,
  229.             E = [],
  230.             F = E.pop,
  231.             G = E.push,
  232.             H = E.push,
  233.             I = E.slice,
  234.             J = function(a, b) {
  235.                 for (var c = 0, d = a.length; d > c; c++) {
  236.                     if (a[c] === b) {
  237.                         return c
  238.                     }
  239.                 }
  240.                 return -1
  241.             },
  242.             K = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
  243.             L = "[\\x20\\t\\r\\n\\f]",
  244.             M = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",
  245.             N = M.replace("w", "w#"),
  246.             O = "\\[" + L + "*(" + M + ")(?:" + L + "*([*^$|!~]?=)" + L + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + N + "))|)" + L + "*\\]",
  247.             P = ":(" + M + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + O + ")*)|.*)\\)|)",
  248.             Q = new RegExp(L + "+", "g"),
  249.             R = new RegExp("^" + L + "+|((?:^|[^\\\\])(?:\\\\.)*)" + L + "+$", "g"),
  250.             S = new RegExp("^" + L + "*," + L + "*"),
  251.             T = new RegExp("^" + L + "*([>+~]|" + L + ")" + L + "*"),
  252.             U = new RegExp("=" + L + "*([^\\]'\"]*?)" + L + "*\\]", "g"),
  253.             V = new RegExp(P),
  254.             W = new RegExp("^" + N + "$"),
  255.             X = {
  256.                 ID: new RegExp("^#(" + M + ")"),
  257.                 CLASS: new RegExp("^\\.(" + M + ")"),
  258.                 TAG: new RegExp("^(" + M.replace("w", "w*") + ")"),
  259.                 ATTR: new RegExp("^" + O),
  260.                 PSEUDO: new RegExp("^" + P),
  261.                 CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + L + "*(even|odd|(([+-]|)(\\d*)n|)" + L + "*(?:([+-]|)" + L + "*(\\d+)|))" + L + "*\\)|)", "i"),
  262.                 bool: new RegExp("^(?:" + K + ")$", "i"),
  263.                 needsContext: new RegExp("^" + L + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + L + "*((?:-\\d)?\\d*)" + L + "*\\)|)(?=[^-]|$)", "i")
  264.             },
  265.             Y = /^(?:input|select|textarea|button)$/i,
  266.             Z = /^h\d$/i,
  267.             $ = /^[^{]+\{\s*\[native \w/,
  268.             _ = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
  269.             ab = /[+~]/,
  270.             bb = /'|\\/g,
  271.             cb = new RegExp("\\\\([\\da-f]{1,6}" + L + "?|(" + L + ")|.)", "ig"),
  272.             db = function(a, b, c) {
  273.                 var d = "0x" + b - 65536;
  274.                 return d !== d || c ? b : 0 > d ? String.fromCharCode(d + 65536) : String.fromCharCode(d >> 10 | 55296, 1023 & d | 56320)
  275.             },
  276.             eb = function() {
  277.                 m()
  278.             };
  279.         try {
  280.             H.apply(E = I.call(v.childNodes), v.childNodes), E[v.childNodes.length].nodeType
  281.         } catch (fb) {
  282.             H = {
  283.                 apply: E.length ? function(a, b) {
  284.                     G.apply(a, I.call(b))
  285.                 } : function(a, b) {
  286.                     var c = a.length,
  287.                         d = 0;
  288.                     while (a[c++] = b[d++]) {}
  289.                     a.length = c - 1
  290.                 }
  291.             }
  292.         }
  293.  
  294.         function gb(a, b, d, e) {
  295.             var f, h, j, k, l, o, r, s, w, x;
  296.             if ((b ? b.ownerDocument || b : v) !== n && m(b), b = b || n, d = d || [], k = b.nodeType, "string" != typeof a || !a || 1 !== k && 9 !== k && 11 !== k) {
  297.                 return d
  298.             }
  299.             if (!e && p) {
  300.                 if (11 !== k && (f = _.exec(a))) {
  301.                     if (j = f[1]) {
  302.                         if (9 === k) {
  303.                             if (h = b.getElementById(j), !h || !h.parentNode) {
  304.                                 return d
  305.                             }
  306.                             if (h.id === j) {
  307.                                 return d.push(h), d
  308.                             }
  309.                         } else {
  310.                             if (b.ownerDocument && (h = b.ownerDocument.getElementById(j)) && t(b, h) && h.id === j) {
  311.                                 return d.push(h), d
  312.                             }
  313.                         }
  314.                     } else {
  315.                         if (f[2]) {
  316.                             return H.apply(d, b.getElementsByTagName(a)), d
  317.                         }
  318.                         if ((j = f[3]) && c.getElementsByClassName) {
  319.                             return H.apply(d, b.getElementsByClassName(j)), d
  320.                         }
  321.                     }
  322.                 }
  323.                 if (c.qsa && (!q || !q.test(a))) {
  324.                     if (s = r = u, w = b, x = 1 !== k && a, 1 === k && "object" !== b.nodeName.toLowerCase()) {
  325.                         o = g(a), (r = b.getAttribute("id")) ? s = r.replace(bb, "\\$&") : b.setAttribute("id", s), s = "[id='" + s + "'] ", l = o.length;
  326.                         while (l--) {
  327.                             o[l] = s + rb(o[l])
  328.                         }
  329.                         w = ab.test(a) && pb(b.parentNode) || b, x = o.join(",")
  330.                     }
  331.                     if (x) {
  332.                         try {
  333.                             return H.apply(d, w.querySelectorAll(x)), d
  334.                         } catch (y) {} finally {
  335.                             r || b.removeAttribute("id")
  336.                         }
  337.                     }
  338.                 }
  339.             }
  340.             return i(a.replace(R, "$1"), b, d, e)
  341.         }
  342.  
  343.         function hb() {
  344.             var a = [];
  345.  
  346.             function b(c, e) {
  347.                 return a.push(c + " ") > d.cacheLength && delete b[a.shift()], b[c + " "] = e
  348.             }
  349.             return b
  350.         }
  351.  
  352.         function ib(a) {
  353.             return a[u] = !0, a
  354.         }
  355.  
  356.         function jb(a) {
  357.             var b = n.createElement("div");
  358.             try {
  359.                 return !!a(b)
  360.             } catch (c) {
  361.                 return !1
  362.             } finally {
  363.                 b.parentNode && b.parentNode.removeChild(b), b = null
  364.             }
  365.         }
  366.  
  367.         function kb(a, b) {
  368.             var c = a.split("|"),
  369.                 e = a.length;
  370.             while (e--) {
  371.                 d.attrHandle[c[e]] = b
  372.             }
  373.         }
  374.  
  375.         function lb(a, b) {
  376.             var c = b && a,
  377.                 d = c && 1 === a.nodeType && 1 === b.nodeType && (~b.sourceIndex || C) - (~a.sourceIndex || C);
  378.             if (d) {
  379.                 return d
  380.             }
  381.             if (c) {
  382.                 while (c = c.nextSibling) {
  383.                     if (c === b) {
  384.                         return -1
  385.                     }
  386.                 }
  387.             }
  388.             return a ? 1 : -1
  389.         }
  390.  
  391.         function mb(a) {
  392.             return function(b) {
  393.                 var c = b.nodeName.toLowerCase();
  394.                 return "input" === c && b.type === a
  395.             }
  396.         }
  397.  
  398.         function nb(a) {
  399.             return function(b) {
  400.                 var c = b.nodeName.toLowerCase();
  401.                 return ("input" === c || "button" === c) && b.type === a
  402.             }
  403.         }
  404.  
  405.         function ob(a) {
  406.             return ib(function(b) {
  407.                 return b = +b, ib(function(c, d) {
  408.                     var e, f = a([], c.length, b),
  409.                         g = f.length;
  410.                     while (g--) {
  411.                         c[e = f[g]] && (c[e] = !(d[e] = c[e]))
  412.                     }
  413.                 })
  414.             })
  415.         }
  416.  
  417.         function pb(a) {
  418.             return a && "undefined" != typeof a.getElementsByTagName && a
  419.         }
  420.         c = gb.support = {}, f = gb.isXML = function(a) {
  421.             var b = a && (a.ownerDocument || a).documentElement;
  422.             return b ? "HTML" !== b.nodeName : !1
  423.         }, m = gb.setDocument = function(a) {
  424.             var b, e, g = a ? a.ownerDocument || a : v;
  425.             return g !== n && 9 === g.nodeType && g.documentElement ? (n = g, o = g.documentElement, e = g.defaultView, e && e !== e.top && (e.addEventListener ? e.addEventListener("unload", eb, !1) : e.attachEvent && e.attachEvent("onunload", eb)), p = !f(g), c.attributes = jb(function(a) {
  426.                 return a.className = "i", !a.getAttribute("className")
  427.             }), c.getElementsByTagName = jb(function(a) {
  428.                 return a.appendChild(g.createComment("")), !a.getElementsByTagName("*").length
  429.             }), c.getElementsByClassName = $.test(g.getElementsByClassName), c.getById = jb(function(a) {
  430.                 return o.appendChild(a).id = u, !g.getElementsByName || !g.getElementsByName(u).length
  431.             }), c.getById ? (d.find.ID = function(a, b) {
  432.                 if ("undefined" != typeof b.getElementById && p) {
  433.                     var c = b.getElementById(a);
  434.                     return c && c.parentNode ? [c] : []
  435.                 }
  436.             }, d.filter.ID = function(a) {
  437.                 var b = a.replace(cb, db);
  438.                 return function(a) {
  439.                     return a.getAttribute("id") === b
  440.                 }
  441.             }) : (delete d.find.ID, d.filter.ID = function(a) {
  442.                 var b = a.replace(cb, db);
  443.                 return function(a) {
  444.                     var c = "undefined" != typeof a.getAttributeNode && a.getAttributeNode("id");
  445.                     return c && c.value === b
  446.                 }
  447.             }), d.find.TAG = c.getElementsByTagName ? function(a, b) {
  448.                 return "undefined" != typeof b.getElementsByTagName ? b.getElementsByTagName(a) : c.qsa ? b.querySelectorAll(a) : void 0
  449.             } : function(a, b) {
  450.                 var c, d = [],
  451.                     e = 0,
  452.                     f = b.getElementsByTagName(a);
  453.                 if ("*" === a) {
  454.                     while (c = f[e++]) {
  455.                         1 === c.nodeType && d.push(c)
  456.                     }
  457.                     return d
  458.                 }
  459.                 return f
  460.             }, d.find.CLASS = c.getElementsByClassName && function(a, b) {
  461.                 return p ? b.getElementsByClassName(a) : void 0
  462.             }, r = [], q = [], (c.qsa = $.test(g.querySelectorAll)) && (jb(function(a) {
  463.                 o.appendChild(a).innerHTML = "<a id='" + u + "'></a><select id='" + u + "-\f]' msallowcapture=''><option selected=''></option></select>", a.querySelectorAll("[msallowcapture^='']").length && q.push("[*^$]=" + L + "*(?:''|\"\")"), a.querySelectorAll("[selected]").length || q.push("\\[" + L + "*(?:value|" + K + ")"), a.querySelectorAll("[id~=" + u + "-]").length || q.push("~="), a.querySelectorAll(":checked").length || q.push(":checked"), a.querySelectorAll("a#" + u + "+*").length || q.push(".#.+[+~]")
  464.             }), jb(function(a) {
  465.                 var b = g.createElement("input");
  466.                 b.setAttribute("type", "hidden"), a.appendChild(b).setAttribute("name", "D"), a.querySelectorAll("[name=d]").length && q.push("name" + L + "*[*^$|!~]?="), a.querySelectorAll(":enabled").length || q.push(":enabled", ":disabled"), a.querySelectorAll("*,:x"), q.push(",.*:")
  467.             })), (c.matchesSelector = $.test(s = o.matches || o.webkitMatchesSelector || o.mozMatchesSelector || o.oMatchesSelector || o.msMatchesSelector)) && jb(function(a) {
  468.                 c.disconnectedMatch = s.call(a, "div"), s.call(a, "[s!='']:x"), r.push("!=", P)
  469.             }), q = q.length && new RegExp(q.join("|")), r = r.length && new RegExp(r.join("|")), b = $.test(o.compareDocumentPosition), t = b || $.test(o.contains) ? function(a, b) {
  470.                 var c = 9 === a.nodeType ? a.documentElement : a,
  471.                     d = b && b.parentNode;
  472.                 return a === d || !(!d || 1 !== d.nodeType || !(c.contains ? c.contains(d) : a.compareDocumentPosition && 16 & a.compareDocumentPosition(d)))
  473.             } : function(a, b) {
  474.                 if (b) {
  475.                     while (b = b.parentNode) {
  476.                         if (b === a) {
  477.                             return !0
  478.                         }
  479.                     }
  480.                 }
  481.                 return !1
  482.             }, B = b ? function(a, b) {
  483.                 if (a === b) {
  484.                     return l = !0, 0
  485.                 }
  486.                 var d = !a.compareDocumentPosition - !b.compareDocumentPosition;
  487.                 return d ? d : (d = (a.ownerDocument || a) === (b.ownerDocument || b) ? a.compareDocumentPosition(b) : 1, 1 & d || !c.sortDetached && b.compareDocumentPosition(a) === d ? a === g || a.ownerDocument === v && t(v, a) ? -1 : b === g || b.ownerDocument === v && t(v, b) ? 1 : k ? J(k, a) - J(k, b) : 0 : 4 & d ? -1 : 1)
  488.             } : function(a, b) {
  489.                 if (a === b) {
  490.                     return l = !0, 0
  491.                 }
  492.                 var c, d = 0,
  493.                     e = a.parentNode,
  494.                     f = b.parentNode,
  495.                     h = [a],
  496.                     i = [b];
  497.                 if (!e || !f) {
  498.                     return a === g ? -1 : b === g ? 1 : e ? -1 : f ? 1 : k ? J(k, a) - J(k, b) : 0
  499.                 }
  500.                 if (e === f) {
  501.                     return lb(a, b)
  502.                 }
  503.                 c = a;
  504.                 while (c = c.parentNode) {
  505.                     h.unshift(c)
  506.                 }
  507.                 c = b;
  508.                 while (c = c.parentNode) {
  509.                     i.unshift(c)
  510.                 }
  511.                 while (h[d] === i[d]) {
  512.                     d++
  513.                 }
  514.                 return d ? lb(h[d], i[d]) : h[d] === v ? -1 : i[d] === v ? 1 : 0
  515.             }, g) : n
  516.         }, gb.matches = function(a, b) {
  517.             return gb(a, null, null, b)
  518.         }, gb.matchesSelector = function(a, b) {
  519.             if ((a.ownerDocument || a) !== n && m(a), b = b.replace(U, "='$1']"), !(!c.matchesSelector || !p || r && r.test(b) || q && q.test(b))) {
  520.                 try {
  521.                     var d = s.call(a, b);
  522.                     if (d || c.disconnectedMatch || a.document && 11 !== a.document.nodeType) {
  523.                         return d
  524.                     }
  525.                 } catch (e) {}
  526.             }
  527.             return gb(b, n, null, [a]).length > 0
  528.         }, gb.contains = function(a, b) {
  529.             return (a.ownerDocument || a) !== n && m(a), t(a, b)
  530.         }, gb.attr = function(a, b) {
  531.             (a.ownerDocument || a) !== n && m(a);
  532.             var e = d.attrHandle[b.toLowerCase()],
  533.                 f = e && D.call(d.attrHandle, b.toLowerCase()) ? e(a, b, !p) : void 0;
  534.             return void 0 !== f ? f : c.attributes || !p ? a.getAttribute(b) : (f = a.getAttributeNode(b)) && f.specified ? f.value : null
  535.         }, gb.error = function(a) {
  536.             throw new Error("Syntax error, unrecognized expression: " + a)
  537.         }, gb.uniqueSort = function(a) {
  538.             var b, d = [],
  539.                 e = 0,
  540.                 f = 0;
  541.             if (l = !c.detectDuplicates, k = !c.sortStable && a.slice(0), a.sort(B), l) {
  542.                 while (b = a[f++]) {
  543.                     b === a[f] && (e = d.push(f))
  544.                 }
  545.                 while (e--) {
  546.                     a.splice(d[e], 1)
  547.                 }
  548.             }
  549.             return k = null, a
  550.         }, e = gb.getText = function(a) {
  551.             var b, c = "",
  552.                 d = 0,
  553.                 f = a.nodeType;
  554.             if (f) {
  555.                 if (1 === f || 9 === f || 11 === f) {
  556.                     if ("string" == typeof a.textContent) {
  557.                         return a.textContent
  558.                     }
  559.                     for (a = a.firstChild; a; a = a.nextSibling) {
  560.                         c += e(a)
  561.                     }
  562.                 } else {
  563.                     if (3 === f || 4 === f) {
  564.                         return a.nodeValue
  565.                     }
  566.                 }
  567.             } else {
  568.                 while (b = a[d++]) {
  569.                     c += e(b)
  570.                 }
  571.             }
  572.             return c
  573.         }, d = gb.selectors = {
  574.             cacheLength: 50,
  575.             createPseudo: ib,
  576.             match: X,
  577.             attrHandle: {},
  578.             find: {},
  579.             relative: {
  580.                 ">": {
  581.                     dir: "parentNode",
  582.                     first: !0
  583.                 },
  584.                 " ": {
  585.                     dir: "parentNode"
  586.                 },
  587.                 "+": {
  588.                     dir: "previousSibling",
  589.                     first: !0
  590.                 },
  591.                 "~": {
  592.                     dir: "previousSibling"
  593.                 }
  594.             },
  595.             preFilter: {
  596.                 ATTR: function(a) {
  597.                     return a[1] = a[1].replace(cb, db), a[3] = (a[3] || a[4] || a[5] || "").replace(cb, db), "~=" === a[2] && (a[3] = " " + a[3] + " "), a.slice(0, 4)
  598.                 },
  599.                 CHILD: function(a) {
  600.                     return a[1] = a[1].toLowerCase(), "nth" === a[1].slice(0, 3) ? (a[3] || gb.error(a[0]), a[4] = +(a[4] ? a[5] + (a[6] || 1) : 2 * ("even" === a[3] || "odd" === a[3])), a[5] = +(a[7] + a[8] || "odd" === a[3])) : a[3] && gb.error(a[0]), a
  601.                 },
  602.                 PSEUDO: function(a) {
  603.                     var b, c = !a[6] && a[2];
  604.                     return X.CHILD.test(a[0]) ? null : (a[3] ? a[2] = a[4] || a[5] || "" : c && V.test(c) && (b = g(c, !0)) && (b = c.indexOf(")", c.length - b) - c.length) && (a[0] = a[0].slice(0, b), a[2] = c.slice(0, b)), a.slice(0, 3))
  605.                 }
  606.             },
  607.             filter: {
  608.                 TAG: function(a) {
  609.                     var b = a.replace(cb, db).toLowerCase();
  610.                     return "*" === a ? function() {
  611.                         return !0
  612.                     } : function(a) {
  613.                         return a.nodeName && a.nodeName.toLowerCase() === b
  614.                     }
  615.                 },
  616.                 CLASS: function(a) {
  617.                     var b = y[a + " "];
  618.                     return b || (b = new RegExp("(^|" + L + ")" + a + "(" + L + "|$)")) && y(a, function(a) {
  619.                         return b.test("string" == typeof a.className && a.className || "undefined" != typeof a.getAttribute && a.getAttribute("class") || "")
  620.                     })
  621.                 },
  622.                 ATTR: function(a, b, c) {
  623.                     return function(d) {
  624.                         var e = gb.attr(d, a);
  625.                         return null == e ? "!=" === b : b ? (e += "", "=" === b ? e === c : "!=" === b ? e !== c : "^=" === b ? c && 0 === e.indexOf(c) : "*=" === b ? c && e.indexOf(c) > -1 : "$=" === b ? c && e.slice(-c.length) === c : "~=" === b ? (" " + e.replace(Q, " ") + " ").indexOf(c) > -1 : "|=" === b ? e === c || e.slice(0, c.length + 1) === c + "-" : !1) : !0
  626.                     }
  627.                 },
  628.                 CHILD: function(a, b, c, d, e) {
  629.                     var f = "nth" !== a.slice(0, 3),
  630.                         g = "last" !== a.slice(-4),
  631.                         h = "of-type" === b;
  632.                     return 1 === d && 0 === e ? function(a) {
  633.                         return !!a.parentNode
  634.                     } : function(b, c, i) {
  635.                         var j, k, l, m, n, o, p = f !== g ? "nextSibling" : "previousSibling",
  636.                             q = b.parentNode,
  637.                             r = h && b.nodeName.toLowerCase(),
  638.                             s = !i && !h;
  639.                         if (q) {
  640.                             if (f) {
  641.                                 while (p) {
  642.                                     l = b;
  643.                                     while (l = l[p]) {
  644.                                         if (h ? l.nodeName.toLowerCase() === r : 1 === l.nodeType) {
  645.                                             return !1
  646.                                         }
  647.                                     }
  648.                                     o = p = "only" === a && !o && "nextSibling"
  649.                                 }
  650.                                 return !0
  651.                             }
  652.                             if (o = [g ? q.firstChild : q.lastChild], g && s) {
  653.                                 k = q[u] || (q[u] = {}), j = k[a] || [], n = j[0] === w && j[1], m = j[0] === w && j[2], l = n && q.childNodes[n];
  654.                                 while (l = ++n && l && l[p] || (m = n = 0) || o.pop()) {
  655.                                     if (1 === l.nodeType && ++m && l === b) {
  656.                                         k[a] = [w, n, m];
  657.                                         break
  658.                                     }
  659.                                 }
  660.                             } else {
  661.                                 if (s && (j = (b[u] || (b[u] = {}))[a]) && j[0] === w) {
  662.                                     m = j[1]
  663.                                 } else {
  664.                                     while (l = ++n && l && l[p] || (m = n = 0) || o.pop()) {
  665.                                         if ((h ? l.nodeName.toLowerCase() === r : 1 === l.nodeType) && ++m && (s && ((l[u] || (l[u] = {}))[a] = [w, m]), l === b)) {
  666.                                             break
  667.                                         }
  668.                                     }
  669.                                 }
  670.                             }
  671.                             return m -= e, m === d || m % d === 0 && m / d >= 0
  672.                         }
  673.                     }
  674.                 },
  675.                 PSEUDO: function(a, b) {
  676.                     var c, e = d.pseudos[a] || d.setFilters[a.toLowerCase()] || gb.error("unsupported pseudo: " + a);
  677.                     return e[u] ? e(b) : e.length > 1 ? (c = [a, a, "", b], d.setFilters.hasOwnProperty(a.toLowerCase()) ? ib(function(a, c) {
  678.                         var d, f = e(a, b),
  679.                             g = f.length;
  680.                         while (g--) {
  681.                             d = J(a, f[g]), a[d] = !(c[d] = f[g])
  682.                         }
  683.                     }) : function(a) {
  684.                         return e(a, 0, c)
  685.                     }) : e
  686.                 }
  687.             },
  688.             pseudos: {
  689.                 not: ib(function(a) {
  690.                     var b = [],
  691.                         c = [],
  692.                         d = h(a.replace(R, "$1"));
  693.                     return d[u] ? ib(function(a, b, c, e) {
  694.                         var f, g = d(a, null, e, []),
  695.                             h = a.length;
  696.                         while (h--) {
  697.                             (f = g[h]) && (a[h] = !(b[h] = f))
  698.                         }
  699.                     }) : function(a, e, f) {
  700.                         return b[0] = a, d(b, null, f, c), b[0] = null, !c.pop()
  701.                     }
  702.                 }),
  703.                 has: ib(function(a) {
  704.                     return function(b) {
  705.                         return gb(a, b).length > 0
  706.                     }
  707.                 }),
  708.                 contains: ib(function(a) {
  709.                     return a = a.replace(cb, db),
  710.                         function(b) {
  711.                             return (b.textContent || b.innerText || e(b)).indexOf(a) > -1
  712.                         }
  713.                 }),
  714.                 lang: ib(function(a) {
  715.                     return W.test(a || "") || gb.error("unsupported lang: " + a), a = a.replace(cb, db).toLowerCase(),
  716.                         function(b) {
  717.                             var c;
  718.                             do {
  719.                                 if (c = p ? b.lang : b.getAttribute("xml:lang") || b.getAttribute("lang")) {
  720.                                     return c = c.toLowerCase(), c === a || 0 === c.indexOf(a + "-")
  721.                                 }
  722.                             } while ((b = b.parentNode) && 1 === b.nodeType);
  723.                             return !1
  724.                         }
  725.                 }),
  726.                 target: function(b) {
  727.                     var c = a.location && a.location.hash;
  728.                     return c && c.slice(1) === b.id
  729.                 },
  730.                 root: function(a) {
  731.                     return a === o
  732.                 },
  733.                 focus: function(a) {
  734.                     return a === n.activeElement && (!n.hasFocus || n.hasFocus()) && !!(a.type || a.href || ~a.tabIndex)
  735.                 },
  736.                 enabled: function(a) {
  737.                     return a.disabled === !1
  738.                 },
  739.                 disabled: function(a) {
  740.                     return a.disabled === !0
  741.                 },
  742.                 checked: function(a) {
  743.                     var b = a.nodeName.toLowerCase();
  744.                     return "input" === b && !!a.checked || "option" === b && !!a.selected
  745.                 },
  746.                 selected: function(a) {
  747.                     return a.parentNode && a.parentNode.selectedIndex, a.selected === !0
  748.                 },
  749.                 empty: function(a) {
  750.                     for (a = a.firstChild; a; a = a.nextSibling) {
  751.                         if (a.nodeType < 6) {
  752.                             return !1
  753.                         }
  754.                     }
  755.                     return !0
  756.                 },
  757.                 parent: function(a) {
  758.                     return !d.pseudos.empty(a)
  759.                 },
  760.                 header: function(a) {
  761.                     return Z.test(a.nodeName)
  762.                 },
  763.                 input: function(a) {
  764.                     return Y.test(a.nodeName)
  765.                 },
  766.                 button: function(a) {
  767.                     var b = a.nodeName.toLowerCase();
  768.                     return "input" === b && "button" === a.type || "button" === b
  769.                 },
  770.                 text: function(a) {
  771.                     var b;
  772.                     return "input" === a.nodeName.toLowerCase() && "text" === a.type && (null == (b = a.getAttribute("type")) || "text" === b.toLowerCase())
  773.                 },
  774.                 first: ob(function() {
  775.                     return [0]
  776.                 }),
  777.                 last: ob(function(a, b) {
  778.                     return [b - 1]
  779.                 }),
  780.                 eq: ob(function(a, b, c) {
  781.                     return [0 > c ? c + b : c]
  782.                 }),
  783.                 even: ob(function(a, b) {
  784.                     for (var c = 0; b > c; c += 2) {
  785.                         a.push(c)
  786.                     }
  787.                     return a
  788.                 }),
  789.                 odd: ob(function(a, b) {
  790.                     for (var c = 1; b > c; c += 2) {
  791.                         a.push(c)
  792.                     }
  793.                     return a
  794.                 }),
  795.                 lt: ob(function(a, b, c) {
  796.                     for (var d = 0 > c ? c + b : c; --d >= 0;) {
  797.                         a.push(d)
  798.                     }
  799.                     return a
  800.                 }),
  801.                 gt: ob(function(a, b, c) {
  802.                     for (var d = 0 > c ? c + b : c; ++d < b;) {
  803.                         a.push(d)
  804.                     }
  805.                     return a
  806.                 })
  807.             }
  808.         }, d.pseudos.nth = d.pseudos.eq;
  809.         for (b in {
  810.                 radio: !0,
  811.                 checkbox: !0,
  812.                 file: !0,
  813.                 password: !0,
  814.                 image: !0
  815.             }) {
  816.             d.pseudos[b] = mb(b)
  817.         }
  818.         for (b in {
  819.                 submit: !0,
  820.                 reset: !0
  821.             }) {
  822.             d.pseudos[b] = nb(b)
  823.         }
  824.  
  825.         function qb() {}
  826.         qb.prototype = d.filters = d.pseudos, d.setFilters = new qb, g = gb.tokenize = function(a, b) {
  827.             var c, e, f, g, h, i, j, k = z[a + " "];
  828.             if (k) {
  829.                 return b ? 0 : k.slice(0)
  830.             }
  831.             h = a, i = [], j = d.preFilter;
  832.             while (h) {
  833.                 (!c || (e = S.exec(h))) && (e && (h = h.slice(e[0].length) || h), i.push(f = [])), c = !1, (e = T.exec(h)) && (c = e.shift(), f.push({
  834.                     value: c,
  835.                     type: e[0].replace(R, " ")
  836.                 }), h = h.slice(c.length));
  837.                 for (g in d.filter) {
  838.                     !(e = X[g].exec(h)) || j[g] && !(e = j[g](e)) || (c = e.shift(), f.push({
  839.                         value: c,
  840.                         type: g,
  841.                         matches: e
  842.                     }), h = h.slice(c.length))
  843.                 }
  844.                 if (!c) {
  845.                     break
  846.                 }
  847.             }
  848.             return b ? h.length : h ? gb.error(a) : z(a, i).slice(0)
  849.         };
  850.  
  851.         function rb(a) {
  852.             for (var b = 0, c = a.length, d = ""; c > b; b++) {
  853.                 d += a[b].value
  854.             }
  855.             return d
  856.         }
  857.  
  858.         function sb(a, b, c) {
  859.             var d = b.dir,
  860.                 e = c && "parentNode" === d,
  861.                 f = x++;
  862.             return b.first ? function(b, c, f) {
  863.                 while (b = b[d]) {
  864.                     if (1 === b.nodeType || e) {
  865.                         return a(b, c, f)
  866.                     }
  867.                 }
  868.             } : function(b, c, g) {
  869.                 var h, i, j = [w, f];
  870.                 if (g) {
  871.                     while (b = b[d]) {
  872.                         if ((1 === b.nodeType || e) && a(b, c, g)) {
  873.                             return !0
  874.                         }
  875.                     }
  876.                 } else {
  877.                     while (b = b[d]) {
  878.                         if (1 === b.nodeType || e) {
  879.                             if (i = b[u] || (b[u] = {}), (h = i[d]) && h[0] === w && h[1] === f) {
  880.                                 return j[2] = h[2]
  881.                             }
  882.                             if (i[d] = j, j[2] = a(b, c, g)) {
  883.                                 return !0
  884.                             }
  885.                         }
  886.                     }
  887.                 }
  888.             }
  889.         }
  890.  
  891.         function tb(a) {
  892.             return a.length > 1 ? function(b, c, d) {
  893.                 var e = a.length;
  894.                 while (e--) {
  895.                     if (!a[e](b, c, d)) {
  896.                         return !1
  897.                     }
  898.                 }
  899.                 return !0
  900.             } : a[0]
  901.         }
  902.  
  903.         function ub(a, b, c) {
  904.             for (var d = 0, e = b.length; e > d; d++) {
  905.                 gb(a, b[d], c)
  906.             }
  907.             return c
  908.         }
  909.  
  910.         function vb(a, b, c, d, e) {
  911.             for (var f, g = [], h = 0, i = a.length, j = null != b; i > h; h++) {
  912.                 (f = a[h]) && (!c || c(f, d, e)) && (g.push(f), j && b.push(h))
  913.             }
  914.             return g
  915.         }
  916.  
  917.         function wb(a, b, c, d, e, f) {
  918.             return d && !d[u] && (d = wb(d)), e && !e[u] && (e = wb(e, f)), ib(function(f, g, h, i) {
  919.                 var j, k, l, m = [],
  920.                     n = [],
  921.                     o = g.length,
  922.                     p = f || ub(b || "*", h.nodeType ? [h] : h, []),
  923.                     q = !a || !f && b ? p : vb(p, m, a, h, i),
  924.                     r = c ? e || (f ? a : o || d) ? [] : g : q;
  925.                 if (c && c(q, r, h, i), d) {
  926.                     j = vb(r, n), d(j, [], h, i), k = j.length;
  927.                     while (k--) {
  928.                         (l = j[k]) && (r[n[k]] = !(q[n[k]] = l))
  929.                     }
  930.                 }
  931.                 if (f) {
  932.                     if (e || a) {
  933.                         if (e) {
  934.                             j = [], k = r.length;
  935.                             while (k--) {
  936.                                 (l = r[k]) && j.push(q[k] = l)
  937.                             }
  938.                             e(null, r = [], j, i)
  939.                         }
  940.                         k = r.length;
  941.                         while (k--) {
  942.                             (l = r[k]) && (j = e ? J(f, l) : m[k]) > -1 && (f[j] = !(g[j] = l))
  943.                         }
  944.                     }
  945.                 } else {
  946.                     r = vb(r === g ? r.splice(o, r.length) : r), e ? e(null, g, r, i) : H.apply(g, r)
  947.                 }
  948.             })
  949.         }
  950.  
  951.         function xb(a) {
  952.             for (var b, c, e, f = a.length, g = d.relative[a[0].type], h = g || d.relative[" "], i = g ? 1 : 0, k = sb(function(a) {
  953.                     return a === b
  954.                 }, h, !0), l = sb(function(a) {
  955.                     return J(b, a) > -1
  956.                 }, h, !0), m = [function(a, c, d) {
  957.                     var e = !g && (d || c !== j) || ((b = c).nodeType ? k(a, c, d) : l(a, c, d));
  958.                     return b = null, e
  959.                 }]; f > i; i++) {
  960.                 if (c = d.relative[a[i].type]) {
  961.                     m = [sb(tb(m), c)]
  962.                 } else {
  963.                     if (c = d.filter[a[i].type].apply(null, a[i].matches), c[u]) {
  964.                         for (e = ++i; f > e; e++) {
  965.                             if (d.relative[a[e].type]) {
  966.                                 break
  967.                             }
  968.                         }
  969.                         return wb(i > 1 && tb(m), i > 1 && rb(a.slice(0, i - 1).concat({
  970.                             value: " " === a[i - 2].type ? "*" : ""
  971.                         })).replace(R, "$1"), c, e > i && xb(a.slice(i, e)), f > e && xb(a = a.slice(e)), f > e && rb(a))
  972.                     }
  973.                     m.push(c)
  974.                 }
  975.             }
  976.             return tb(m)
  977.         }
  978.  
  979.         function yb(a, b) {
  980.             var c = b.length > 0,
  981.                 e = a.length > 0,
  982.                 f = function(f, g, h, i, k) {
  983.                     var l, m, o, p = 0,
  984.                         q = "0",
  985.                         r = f && [],
  986.                         s = [],
  987.                         t = j,
  988.                         u = f || e && d.find.TAG("*", k),
  989.                         v = w += null == t ? 1 : Math.random() || 0.1,
  990.                         x = u.length;
  991.                     for (k && (j = g !== n && g); q !== x && null != (l = u[q]); q++) {
  992.                         if (e && l) {
  993.                             m = 0;
  994.                             while (o = a[m++]) {
  995.                                 if (o(l, g, h)) {
  996.                                     i.push(l);
  997.                                     break
  998.                                 }
  999.                             }
  1000.                             k && (w = v)
  1001.                         }
  1002.                         c && ((l = !o && l) && p--, f && r.push(l))
  1003.                     }
  1004.                     if (p += q, c && q !== p) {
  1005.                         m = 0;
  1006.                         while (o = b[m++]) {
  1007.                             o(r, s, g, h)
  1008.                         }
  1009.                         if (f) {
  1010.                             if (p > 0) {
  1011.                                 while (q--) {
  1012.                                     r[q] || s[q] || (s[q] = F.call(i))
  1013.                                 }
  1014.                             }
  1015.                             s = vb(s)
  1016.                         }
  1017.                         H.apply(i, s), k && !f && s.length > 0 && p + b.length > 1 && gb.uniqueSort(i)
  1018.                     }
  1019.                     return k && (w = v, j = t), r
  1020.                 };
  1021.             return c ? ib(f) : f
  1022.         }
  1023.         return h = gb.compile = function(a, b) {
  1024.             var c, d = [],
  1025.                 e = [],
  1026.                 f = A[a + " "];
  1027.             if (!f) {
  1028.                 b || (b = g(a)), c = b.length;
  1029.                 while (c--) {
  1030.                     f = xb(b[c]), f[u] ? d.push(f) : e.push(f)
  1031.                 }
  1032.                 f = A(a, yb(e, d)), f.selector = a
  1033.             }
  1034.             return f
  1035.         }, i = gb.select = function(a, b, e, f) {
  1036.             var i, j, k, l, m, n = "function" == typeof a && a,
  1037.                 o = !f && g(a = n.selector || a);
  1038.             if (e = e || [], 1 === o.length) {
  1039.                 if (j = o[0] = o[0].slice(0), j.length > 2 && "ID" === (k = j[0]).type && c.getById && 9 === b.nodeType && p && d.relative[j[1].type]) {
  1040.                     if (b = (d.find.ID(k.matches[0].replace(cb, db), b) || [])[0], !b) {
  1041.                         return e
  1042.                     }
  1043.                     n && (b = b.parentNode), a = a.slice(j.shift().value.length)
  1044.                 }
  1045.                 i = X.needsContext.test(a) ? 0 : j.length;
  1046.                 while (i--) {
  1047.                     if (k = j[i], d.relative[l = k.type]) {
  1048.                         break
  1049.                     }
  1050.                     if ((m = d.find[l]) && (f = m(k.matches[0].replace(cb, db), ab.test(j[0].type) && pb(b.parentNode) || b))) {
  1051.                         if (j.splice(i, 1), a = f.length && rb(j), !a) {
  1052.                             return H.apply(e, f), e
  1053.                         }
  1054.                         break
  1055.                     }
  1056.                 }
  1057.             }
  1058.             return (n || h(a, o))(f, b, !p, e, ab.test(a) && pb(b.parentNode) || b), e
  1059.         }, c.sortStable = u.split("").sort(B).join("") === u, c.detectDuplicates = !!l, m(), c.sortDetached = jb(function(a) {
  1060.             return 1 & a.compareDocumentPosition(n.createElement("div"))
  1061.         }), jb(function(a) {
  1062.             return a.innerHTML = "<a href='#'></a>", "#" === a.firstChild.getAttribute("href")
  1063.         }) || kb("type|href|height|width", function(a, b, c) {
  1064.             return c ? void 0 : a.getAttribute(b, "type" === b.toLowerCase() ? 1 : 2)
  1065.         }), c.attributes && jb(function(a) {
  1066.             return a.innerHTML = "<input/>", a.firstChild.setAttribute("value", ""), "" === a.firstChild.getAttribute("value")
  1067.         }) || kb("value", function(a, b, c) {
  1068.             return c || "input" !== a.nodeName.toLowerCase() ? void 0 : a.defaultValue
  1069.         }), jb(function(a) {
  1070.             return null == a.getAttribute("disabled")
  1071.         }) || kb(K, function(a, b, c) {
  1072.             var d;
  1073.             return c ? void 0 : a[b] === !0 ? b.toLowerCase() : (d = a.getAttributeNode(b)) && d.specified ? d.value : null
  1074.         }), gb
  1075.     }(a);
  1076.     n.find = t, n.expr = t.selectors, n.expr[":"] = n.expr.pseudos, n.unique = t.uniqueSort, n.text = t.getText, n.isXMLDoc = t.isXML, n.contains = t.contains;
  1077.     var u = n.expr.match.needsContext,
  1078.         v = /^<(\w+)\s*\/?>(?:<\/\1>|)$/,
  1079.         w = /^.[^:#\[\.,]*$/;
  1080.  
  1081.     function x(a, b, c) {
  1082.         if (n.isFunction(b)) {
  1083.             return n.grep(a, function(a, d) {
  1084.                 return !!b.call(a, d, a) !== c
  1085.             })
  1086.         }
  1087.         if (b.nodeType) {
  1088.             return n.grep(a, function(a) {
  1089.                 return a === b !== c
  1090.             })
  1091.         }
  1092.         if ("string" == typeof b) {
  1093.             if (w.test(b)) {
  1094.                 return n.filter(b, a, c)
  1095.             }
  1096.             b = n.filter(b, a)
  1097.         }
  1098.         return n.grep(a, function(a) {
  1099.             return g.call(b, a) >= 0 !== c
  1100.         })
  1101.     }
  1102.     n.filter = function(a, b, c) {
  1103.         var d = b[0];
  1104.         return c && (a = ":not(" + a + ")"), 1 === b.length && 1 === d.nodeType ? n.find.matchesSelector(d, a) ? [d] : [] : n.find.matches(a, n.grep(b, function(a) {
  1105.             return 1 === a.nodeType
  1106.         }))
  1107.     }, n.fn.extend({
  1108.         find: function(a) {
  1109.             var b, c = this.length,
  1110.                 d = [],
  1111.                 e = this;
  1112.             if ("string" != typeof a) {
  1113.                 return this.pushStack(n(a).filter(function() {
  1114.                     for (b = 0; c > b; b++) {
  1115.                         if (n.contains(e[b], this)) {
  1116.                             return !0
  1117.                         }
  1118.                     }
  1119.                 }))
  1120.             }
  1121.             for (b = 0; c > b; b++) {
  1122.                 n.find(a, e[b], d)
  1123.             }
  1124.             return d = this.pushStack(c > 1 ? n.unique(d) : d), d.selector = this.selector ? this.selector + " " + a : a, d
  1125.         },
  1126.         filter: function(a) {
  1127.             return this.pushStack(x(this, a || [], !1))
  1128.         },
  1129.         not: function(a) {
  1130.             return this.pushStack(x(this, a || [], !0))
  1131.         },
  1132.         is: function(a) {
  1133.             return !!x(this, "string" == typeof a && u.test(a) ? n(a) : a || [], !1).length
  1134.         }
  1135.     });
  1136.     var y, z = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,
  1137.         A = n.fn.init = function(a, b) {
  1138.             var c, d;
  1139.             if (!a) {
  1140.                 return this
  1141.             }
  1142.             if ("string" == typeof a) {
  1143.                 if (c = "<" === a[0] && ">" === a[a.length - 1] && a.length >= 3 ? [null, a, null] : z.exec(a), !c || !c[1] && b) {
  1144.                     return !b || b.jquery ? (b || y).find(a) : this.constructor(b).find(a)
  1145.                 }
  1146.                 if (c[1]) {
  1147.                     if (b = b instanceof n ? b[0] : b, n.merge(this, n.parseHTML(c[1], b && b.nodeType ? b.ownerDocument || b : l, !0)), v.test(c[1]) && n.isPlainObject(b)) {
  1148.                         for (c in b) {
  1149.                             n.isFunction(this[c]) ? this[c](b[c]) : this.attr(c, b[c])
  1150.                         }
  1151.                     }
  1152.                     return this
  1153.                 }
  1154.                 return d = l.getElementById(c[2]), d && d.parentNode && (this.length = 1, this[0] = d), this.context = l, this.selector = a, this
  1155.             }
  1156.             return a.nodeType ? (this.context = this[0] = a, this.length = 1, this) : n.isFunction(a) ? "undefined" != typeof y.ready ? y.ready(a) : a(n) : (void 0 !== a.selector && (this.selector = a.selector, this.context = a.context), n.makeArray(a, this))
  1157.         };
  1158.     A.prototype = n.fn, y = n(l);
  1159.     var B = /^(?:parents|prev(?:Until|All))/,
  1160.         C = {
  1161.             children: !0,
  1162.             contents: !0,
  1163.             next: !0,
  1164.             prev: !0
  1165.         };
  1166.     n.extend({
  1167.         dir: function(a, b, c) {
  1168.             var d = [],
  1169.                 e = void 0 !== c;
  1170.             while ((a = a[b]) && 9 !== a.nodeType) {
  1171.                 if (1 === a.nodeType) {
  1172.                     if (e && n(a).is(c)) {
  1173.                         break
  1174.                     }
  1175.                     d.push(a)
  1176.                 }
  1177.             }
  1178.             return d
  1179.         },
  1180.         sibling: function(a, b) {
  1181.             for (var c = []; a; a = a.nextSibling) {
  1182.                 1 === a.nodeType && a !== b && c.push(a)
  1183.             }
  1184.             return c
  1185.         }
  1186.     }), n.fn.extend({
  1187.         has: function(a) {
  1188.             var b = n(a, this),
  1189.                 c = b.length;
  1190.             return this.filter(function() {
  1191.                 for (var a = 0; c > a; a++) {
  1192.                     if (n.contains(this, b[a])) {
  1193.                         return !0
  1194.                     }
  1195.                 }
  1196.             })
  1197.         },
  1198.         closest: function(a, b) {
  1199.             for (var c, d = 0, e = this.length, f = [], g = u.test(a) || "string" != typeof a ? n(a, b || this.context) : 0; e > d; d++) {
  1200.                 for (c = this[d]; c && c !== b; c = c.parentNode) {
  1201.                     if (c.nodeType < 11 && (g ? g.index(c) > -1 : 1 === c.nodeType && n.find.matchesSelector(c, a))) {
  1202.                         f.push(c);
  1203.                         break
  1204.                     }
  1205.                 }
  1206.             }
  1207.             return this.pushStack(f.length > 1 ? n.unique(f) : f)
  1208.         },
  1209.         index: function(a) {
  1210.             return a ? "string" == typeof a ? g.call(n(a), this[0]) : g.call(this, a.jquery ? a[0] : a) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1
  1211.         },
  1212.         add: function(a, b) {
  1213.             return this.pushStack(n.unique(n.merge(this.get(), n(a, b))))
  1214.         },
  1215.         addBack: function(a) {
  1216.             return this.add(null == a ? this.prevObject : this.prevObject.filter(a))
  1217.         }
  1218.     });
  1219.  
  1220.     function D(a, b) {
  1221.         while ((a = a[b]) && 1 !== a.nodeType) {}
  1222.         return a
  1223.     }
  1224.     n.each({
  1225.         parent: function(a) {
  1226.             var b = a.parentNode;
  1227.             return b && 11 !== b.nodeType ? b : null
  1228.         },
  1229.         parents: function(a) {
  1230.             return n.dir(a, "parentNode")
  1231.         },
  1232.         parentsUntil: function(a, b, c) {
  1233.             return n.dir(a, "parentNode", c)
  1234.         },
  1235.         next: function(a) {
  1236.             return D(a, "nextSibling")
  1237.         },
  1238.         prev: function(a) {
  1239.             return D(a, "previousSibling")
  1240.         },
  1241.         nextAll: function(a) {
  1242.             return n.dir(a, "nextSibling")
  1243.         },
  1244.         prevAll: function(a) {
  1245.             return n.dir(a, "previousSibling")
  1246.         },
  1247.         nextUntil: function(a, b, c) {
  1248.             return n.dir(a, "nextSibling", c)
  1249.         },
  1250.         prevUntil: function(a, b, c) {
  1251.             return n.dir(a, "previousSibling", c)
  1252.         },
  1253.         siblings: function(a) {
  1254.             return n.sibling((a.parentNode || {}).firstChild, a)
  1255.         },
  1256.         children: function(a) {
  1257.             return n.sibling(a.firstChild)
  1258.         },
  1259.         contents: function(a) {
  1260.             return a.contentDocument || n.merge([], a.childNodes)
  1261.         }
  1262.     }, function(a, b) {
  1263.         n.fn[a] = function(c, d) {
  1264.             var e = n.map(this, b, c);
  1265.             return "Until" !== a.slice(-5) && (d = c), d && "string" == typeof d && (e = n.filter(d, e)), this.length > 1 && (C[a] || n.unique(e), B.test(a) && e.reverse()), this.pushStack(e)
  1266.         }
  1267.     });
  1268.     var E = /\S+/g,
  1269.         F = {};
  1270.  
  1271.     function G(a) {
  1272.         var b = F[a] = {};
  1273.         return n.each(a.match(E) || [], function(a, c) {
  1274.             b[c] = !0
  1275.         }), b
  1276.     }
  1277.     n.Callbacks = function(a) {
  1278.         a = "string" == typeof a ? F[a] || G(a) : n.extend({}, a);
  1279.         var b, c, d, e, f, g, h = [],
  1280.             i = !a.once && [],
  1281.             j = function(l) {
  1282.                 for (b = a.memory && l, c = !0, g = e || 0, e = 0, f = h.length, d = !0; h && f > g; g++) {
  1283.                     if (h[g].apply(l[0], l[1]) === !1 && a.stopOnFalse) {
  1284.                         b = !1;
  1285.                         break
  1286.                     }
  1287.                 }
  1288.                 d = !1, h && (i ? i.length && j(i.shift()) : b ? h = [] : k.disable())
  1289.             },
  1290.             k = {
  1291.                 add: function() {
  1292.                     if (h) {
  1293.                         var c = h.length;
  1294.                         ! function g(b) {
  1295.                             n.each(b, function(b, c) {
  1296.                                 var d = n.type(c);
  1297.                                 "function" === d ? a.unique && k.has(c) || h.push(c) : c && c.length && "string" !== d && g(c)
  1298.                             })
  1299.                         }(arguments), d ? f = h.length : b && (e = c, j(b))
  1300.                     }
  1301.                     return this
  1302.                 },
  1303.                 remove: function() {
  1304.                     return h && n.each(arguments, function(a, b) {
  1305.                         var c;
  1306.                         while ((c = n.inArray(b, h, c)) > -1) {
  1307.                             h.splice(c, 1), d && (f >= c && f--, g >= c && g--)
  1308.                         }
  1309.                     }), this
  1310.                 },
  1311.                 has: function(a) {
  1312.                     return a ? n.inArray(a, h) > -1 : !(!h || !h.length)
  1313.                 },
  1314.                 empty: function() {
  1315.                     return h = [], f = 0, this
  1316.                 },
  1317.                 disable: function() {
  1318.                     return h = i = b = void 0, this
  1319.                 },
  1320.                 disabled: function() {
  1321.                     return !h
  1322.                 },
  1323.                 lock: function() {
  1324.                     return i = void 0, b || k.disable(), this
  1325.                 },
  1326.                 locked: function() {
  1327.                     return !i
  1328.                 },
  1329.                 fireWith: function(a, b) {
  1330.                     return !h || c && !i || (b = b || [], b = [a, b.slice ? b.slice() : b], d ? i.push(b) : j(b)), this
  1331.                 },
  1332.                 fire: function() {
  1333.                     return k.fireWith(this, arguments), this
  1334.                 },
  1335.                 fired: function() {
  1336.                     return !!c
  1337.                 }
  1338.             };
  1339.         return k
  1340.     }, n.extend({
  1341.         Deferred: function(a) {
  1342.             var b = [
  1343.                     ["resolve", "done", n.Callbacks("once memory"), "resolved"],
  1344.                     ["reject", "fail", n.Callbacks("once memory"), "rejected"],
  1345.                     ["notify", "progress", n.Callbacks("memory")]
  1346.                 ],
  1347.                 c = "pending",
  1348.                 d = {
  1349.                     state: function() {
  1350.                         return c
  1351.                     },
  1352.                     always: function() {
  1353.                         return e.done(arguments).fail(arguments), this
  1354.                     },
  1355.                     then: function() {
  1356.                         var a = arguments;
  1357.                         return n.Deferred(function(c) {
  1358.                             n.each(b, function(b, f) {
  1359.                                 var g = n.isFunction(a[b]) && a[b];
  1360.                                 e[f[1]](function() {
  1361.                                     var a = g && g.apply(this, arguments);
  1362.                                     a && n.isFunction(a.promise) ? a.promise().done(c.resolve).fail(c.reject).progress(c.notify) : c[f[0] + "With"](this === d ? c.promise() : this, g ? [a] : arguments)
  1363.                                 })
  1364.                             }), a = null
  1365.                         }).promise()
  1366.                     },
  1367.                     promise: function(a) {
  1368.                         return null != a ? n.extend(a, d) : d
  1369.                     }
  1370.                 },
  1371.                 e = {};
  1372.             return d.pipe = d.then, n.each(b, function(a, f) {
  1373.                 var g = f[2],
  1374.                     h = f[3];
  1375.                 d[f[1]] = g.add, h && g.add(function() {
  1376.                     c = h
  1377.                 }, b[1 ^ a][2].disable, b[2][2].lock), e[f[0]] = function() {
  1378.                     return e[f[0] + "With"](this === e ? d : this, arguments), this
  1379.                 }, e[f[0] + "With"] = g.fireWith
  1380.             }), d.promise(e), a && a.call(e, e), e
  1381.         },
  1382.         when: function(a) {
  1383.             var b = 0,
  1384.                 c = d.call(arguments),
  1385.                 e = c.length,
  1386.                 f = 1 !== e || a && n.isFunction(a.promise) ? e : 0,
  1387.                 g = 1 === f ? a : n.Deferred(),
  1388.                 h = function(a, b, c) {
  1389.                     return function(e) {
  1390.                         b[a] = this, c[a] = arguments.length > 1 ? d.call(arguments) : e, c === i ? g.notifyWith(b, c) : --f || g.resolveWith(b, c)
  1391.                     }
  1392.                 },
  1393.                 i, j, k;
  1394.             if (e > 1) {
  1395.                 for (i = new Array(e), j = new Array(e), k = new Array(e); e > b; b++) {
  1396.                     c[b] && n.isFunction(c[b].promise) ? c[b].promise().done(h(b, k, c)).fail(g.reject).progress(h(b, j, i)) : --f
  1397.                 }
  1398.             }
  1399.             return f || g.resolveWith(k, c), g.promise()
  1400.         }
  1401.     });
  1402.     var H;
  1403.     n.fn.ready = function(a) {
  1404.         return n.ready.promise().done(a), this
  1405.     }, n.extend({
  1406.         isReady: !1,
  1407.         readyWait: 1,
  1408.         holdReady: function(a) {
  1409.             a ? n.readyWait++ : n.ready(!0)
  1410.         },
  1411.         ready: function(a) {
  1412.             (a === !0 ? --n.readyWait : n.isReady) || (n.isReady = !0, a !== !0 && --n.readyWait > 0 || (H.resolveWith(l, [n]), n.fn.triggerHandler && (n(l).triggerHandler("ready"), n(l).off("ready"))))
  1413.         }
  1414.     });
  1415.  
  1416.     function I() {
  1417.         l.removeEventListener("DOMContentLoaded", I, !1), a.removeEventListener("load", I, !1), n.ready()
  1418.     }
  1419.     n.ready.promise = function(b) {
  1420.         return H || (H = n.Deferred(), "complete" === l.readyState ? setTimeout(n.ready) : (l.addEventListener("DOMContentLoaded", I, !1), a.addEventListener("load", I, !1))), H.promise(b)
  1421.     }, n.ready.promise();
  1422.     var J = n.access = function(a, b, c, d, e, f, g) {
  1423.         var h = 0,
  1424.             i = a.length,
  1425.             j = null == c;
  1426.         if ("object" === n.type(c)) {
  1427.             e = !0;
  1428.             for (h in c) {
  1429.                 n.access(a, b, h, c[h], !0, f, g)
  1430.             }
  1431.         } else {
  1432.             if (void 0 !== d && (e = !0, n.isFunction(d) || (g = !0), j && (g ? (b.call(a, d), b = null) : (j = b, b = function(a, b, c) {
  1433.                     return j.call(n(a), c)
  1434.                 })), b)) {
  1435.                 for (; i > h; h++) {
  1436.                     b(a[h], c, g ? d : d.call(a[h], h, b(a[h], c)))
  1437.                 }
  1438.             }
  1439.         }
  1440.         return e ? a : j ? b.call(a) : i ? b(a[0], c) : f
  1441.     };
  1442.     n.acceptData = function(a) {
  1443.         return 1 === a.nodeType || 9 === a.nodeType || !+a.nodeType
  1444.     };
  1445.  
  1446.     function K() {
  1447.         Object.defineProperty(this.cache = {}, 0, {
  1448.             get: function() {
  1449.                 return {}
  1450.             }
  1451.         }), this.expando = n.expando + K.uid++
  1452.     }
  1453.     K.uid = 1, K.accepts = n.acceptData, K.prototype = {
  1454.         key: function(a) {
  1455.             if (!K.accepts(a)) {
  1456.                 return 0
  1457.             }
  1458.             var b = {},
  1459.                 c = a[this.expando];
  1460.             if (!c) {
  1461.                 c = K.uid++;
  1462.                 try {
  1463.                     b[this.expando] = {
  1464.                         value: c
  1465.                     }, Object.defineProperties(a, b)
  1466.                 } catch (d) {
  1467.                     b[this.expando] = c, n.extend(a, b)
  1468.                 }
  1469.             }
  1470.             return this.cache[c] || (this.cache[c] = {}), c
  1471.         },
  1472.         set: function(a, b, c) {
  1473.             var d, e = this.key(a),
  1474.                 f = this.cache[e];
  1475.             if ("string" == typeof b) {
  1476.                 f[b] = c
  1477.             } else {
  1478.                 if (n.isEmptyObject(f)) {
  1479.                     n.extend(this.cache[e], b)
  1480.                 } else {
  1481.                     for (d in b) {
  1482.                         f[d] = b[d]
  1483.                     }
  1484.                 }
  1485.             }
  1486.             return f
  1487.         },
  1488.         get: function(a, b) {
  1489.             var c = this.cache[this.key(a)];
  1490.             return void 0 === b ? c : c[b]
  1491.         },
  1492.         access: function(a, b, c) {
  1493.             var d;
  1494.             return void 0 === b || b && "string" == typeof b && void 0 === c ? (d = this.get(a, b), void 0 !== d ? d : this.get(a, n.camelCase(b))) : (this.set(a, b, c), void 0 !== c ? c : b)
  1495.         },
  1496.         remove: function(a, b) {
  1497.             var c, d, e, f = this.key(a),
  1498.                 g = this.cache[f];
  1499.             if (void 0 === b) {
  1500.                 this.cache[f] = {}
  1501.             } else {
  1502.                 n.isArray(b) ? d = b.concat(b.map(n.camelCase)) : (e = n.camelCase(b), b in g ? d = [b, e] : (d = e, d = d in g ? [d] : d.match(E) || [])), c = d.length;
  1503.                 while (c--) {
  1504.                     delete g[d[c]]
  1505.                 }
  1506.             }
  1507.         },
  1508.         hasData: function(a) {
  1509.             return !n.isEmptyObject(this.cache[a[this.expando]] || {})
  1510.         },
  1511.         discard: function(a) {
  1512.             a[this.expando] && delete this.cache[a[this.expando]]
  1513.         }
  1514.     };
  1515.     var L = new K,
  1516.         M = new K,
  1517.         N = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
  1518.         O = /([A-Z])/g;
  1519.  
  1520.     function P(a, b, c) {
  1521.         var d;
  1522.         if (void 0 === c && 1 === a.nodeType) {
  1523.             if (d = "data-" + b.replace(O, "-$1").toLowerCase(), c = a.getAttribute(d), "string" == typeof c) {
  1524.                 try {
  1525.                     c = "true" === c ? !0 : "false" === c ? !1 : "null" === c ? null : +c + "" === c ? +c : N.test(c) ? n.parseJSON(c) : c
  1526.                 } catch (e) {}
  1527.                 M.set(a, b, c)
  1528.             } else {
  1529.                 c = void 0
  1530.             }
  1531.         }
  1532.         return c
  1533.     }
  1534.     n.extend({
  1535.         hasData: function(a) {
  1536.             return M.hasData(a) || L.hasData(a)
  1537.         },
  1538.         data: function(a, b, c) {
  1539.             return M.access(a, b, c)
  1540.         },
  1541.         removeData: function(a, b) {
  1542.             M.remove(a, b)
  1543.         },
  1544.         _data: function(a, b, c) {
  1545.             return L.access(a, b, c)
  1546.         },
  1547.         _removeData: function(a, b) {
  1548.             L.remove(a, b)
  1549.         }
  1550.     }), n.fn.extend({
  1551.         data: function(a, b) {
  1552.             var c, d, e, f = this[0],
  1553.                 g = f && f.attributes;
  1554.             if (void 0 === a) {
  1555.                 if (this.length && (e = M.get(f), 1 === f.nodeType && !L.get(f, "hasDataAttrs"))) {
  1556.                     c = g.length;
  1557.                     while (c--) {
  1558.                         g[c] && (d = g[c].name, 0 === d.indexOf("data-") && (d = n.camelCase(d.slice(5)), P(f, d, e[d])))
  1559.                     }
  1560.                     L.set(f, "hasDataAttrs", !0)
  1561.                 }
  1562.                 return e
  1563.             }
  1564.             return "object" == typeof a ? this.each(function() {
  1565.                 M.set(this, a)
  1566.             }) : J(this, function(b) {
  1567.                 var c, d = n.camelCase(a);
  1568.                 if (f && void 0 === b) {
  1569.                     if (c = M.get(f, a), void 0 !== c) {
  1570.                         return c
  1571.                     }
  1572.                     if (c = M.get(f, d), void 0 !== c) {
  1573.                         return c
  1574.                     }
  1575.                     if (c = P(f, d, void 0), void 0 !== c) {
  1576.                         return c
  1577.                     }
  1578.                 } else {
  1579.                     this.each(function() {
  1580.                         var c = M.get(this, d);
  1581.                         M.set(this, d, b), -1 !== a.indexOf("-") && void 0 !== c && M.set(this, a, b)
  1582.                     })
  1583.                 }
  1584.             }, null, b, arguments.length > 1, null, !0)
  1585.         },
  1586.         removeData: function(a) {
  1587.             return this.each(function() {
  1588.                 M.remove(this, a)
  1589.             })
  1590.         }
  1591.     }), n.extend({
  1592.         queue: function(a, b, c) {
  1593.             var d;
  1594.             return a ? (b = (b || "fx") + "queue", d = L.get(a, b), c && (!d || n.isArray(c) ? d = L.access(a, b, n.makeArray(c)) : d.push(c)), d || []) : void 0
  1595.         },
  1596.         dequeue: function(a, b) {
  1597.             b = b || "fx";
  1598.             var c = n.queue(a, b),
  1599.                 d = c.length,
  1600.                 e = c.shift(),
  1601.                 f = n._queueHooks(a, b),
  1602.                 g = function() {
  1603.                     n.dequeue(a, b)
  1604.                 };
  1605.             "inprogress" === e && (e = c.shift(), d--), e && ("fx" === b && c.unshift("inprogress"), delete f.stop, e.call(a, g, f)), !d && f && f.empty.fire()
  1606.         },
  1607.         _queueHooks: function(a, b) {
  1608.             var c = b + "queueHooks";
  1609.             return L.get(a, c) || L.access(a, c, {
  1610.                 empty: n.Callbacks("once memory").add(function() {
  1611.                     L.remove(a, [b + "queue", c])
  1612.                 })
  1613.             })
  1614.         }
  1615.     }), n.fn.extend({
  1616.         queue: function(a, b) {
  1617.             var c = 2;
  1618.             return "string" != typeof a && (b = a, a = "fx", c--), arguments.length < c ? n.queue(this[0], a) : void 0 === b ? this : this.each(function() {
  1619.                 var c = n.queue(this, a, b);
  1620.                 n._queueHooks(this, a), "fx" === a && "inprogress" !== c[0] && n.dequeue(this, a)
  1621.             })
  1622.         },
  1623.         dequeue: function(a) {
  1624.             return this.each(function() {
  1625.                 n.dequeue(this, a)
  1626.             })
  1627.         },
  1628.         clearQueue: function(a) {
  1629.             return this.queue(a || "fx", [])
  1630.         },
  1631.         promise: function(a, b) {
  1632.             var c, d = 1,
  1633.                 e = n.Deferred(),
  1634.                 f = this,
  1635.                 g = this.length,
  1636.                 h = function() {
  1637.                     --d || e.resolveWith(f, [f])
  1638.                 };
  1639.             "string" != typeof a && (b = a, a = void 0), a = a || "fx";
  1640.             while (g--) {
  1641.                 c = L.get(f[g], a + "queueHooks"), c && c.empty && (d++, c.empty.add(h))
  1642.             }
  1643.             return h(), e.promise(b)
  1644.         }
  1645.     });
  1646.     var Q = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,
  1647.         R = ["Top", "Right", "Bottom", "Left"],
  1648.         S = function(a, b) {
  1649.             return a = b || a, "none" === n.css(a, "display") || !n.contains(a.ownerDocument, a)
  1650.         },
  1651.         T = /^(?:checkbox|radio)$/i;
  1652.     ! function() {
  1653.         var a = l.createDocumentFragment(),
  1654.             b = a.appendChild(l.createElement("div")),
  1655.             c = l.createElement("input");
  1656.         c.setAttribute("type", "radio"), c.setAttribute("checked", "checked"), c.setAttribute("name", "t"), b.appendChild(c), k.checkClone = b.cloneNode(!0).cloneNode(!0).lastChild.checked, b.innerHTML = "<textarea>x</textarea>", k.noCloneChecked = !!b.cloneNode(!0).lastChild.defaultValue
  1657.     }();
  1658.     var U = "undefined";
  1659.     k.focusinBubbles = "onfocusin" in a;
  1660.     var V = /^key/,
  1661.         W = /^(?:mouse|pointer|contextmenu)|click/,
  1662.         X = /^(?:focusinfocus|focusoutblur)$/,
  1663.         Y = /^([^.]*)(?:\.(.+)|)$/;
  1664.  
  1665.     function Z() {
  1666.         return !0
  1667.     }
  1668.  
  1669.     function $() {
  1670.         return !1
  1671.     }
  1672.  
  1673.     function _() {
  1674.         try {
  1675.             return l.activeElement
  1676.         } catch (a) {}
  1677.     }
  1678.     n.event = {
  1679.         global: {},
  1680.         add: function(a, b, c, d, e) {
  1681.             var f, g, h, i, j, k, l, m, o, p, q, r = L.get(a);
  1682.             if (r) {
  1683.                 c.handler && (f = c, c = f.handler, e = f.selector), c.guid || (c.guid = n.guid++), (i = r.events) || (i = r.events = {}), (g = r.handle) || (g = r.handle = function(b) {
  1684.                     return typeof n !== U && n.event.triggered !== b.type ? n.event.dispatch.apply(a, arguments) : void 0
  1685.                 }), b = (b || "").match(E) || [""], j = b.length;
  1686.                 while (j--) {
  1687.                     h = Y.exec(b[j]) || [], o = q = h[1], p = (h[2] || "").split(".").sort(), o && (l = n.event.special[o] || {}, o = (e ? l.delegateType : l.bindType) || o, l = n.event.special[o] || {}, k = n.extend({
  1688.                         type: o,
  1689.                         origType: q,
  1690.                         data: d,
  1691.                         handler: c,
  1692.                         guid: c.guid,
  1693.                         selector: e,
  1694.                         needsContext: e && n.expr.match.needsContext.test(e),
  1695.                         namespace: p.join(".")
  1696.                     }, f), (m = i[o]) || (m = i[o] = [], m.delegateCount = 0, l.setup && l.setup.call(a, d, p, g) !== !1 || a.addEventListener && a.addEventListener(o, g, !1)), l.add && (l.add.call(a, k), k.handler.guid || (k.handler.guid = c.guid)), e ? m.splice(m.delegateCount++, 0, k) : m.push(k), n.event.global[o] = !0)
  1697.                 }
  1698.             }
  1699.         },
  1700.         remove: function(a, b, c, d, e) {
  1701.             var f, g, h, i, j, k, l, m, o, p, q, r = L.hasData(a) && L.get(a);
  1702.             if (r && (i = r.events)) {
  1703.                 b = (b || "").match(E) || [""], j = b.length;
  1704.                 while (j--) {
  1705.                     if (h = Y.exec(b[j]) || [], o = q = h[1], p = (h[2] || "").split(".").sort(), o) {
  1706.                         l = n.event.special[o] || {}, o = (d ? l.delegateType : l.bindType) || o, m = i[o] || [], h = h[2] && new RegExp("(^|\\.)" + p.join("\\.(?:.*\\.|)") + "(\\.|$)"), g = f = m.length;
  1707.                         while (f--) {
  1708.                             k = m[f], !e && q !== k.origType || c && c.guid !== k.guid || h && !h.test(k.namespace) || d && d !== k.selector && ("**" !== d || !k.selector) || (m.splice(f, 1), k.selector && m.delegateCount--, l.remove && l.remove.call(a, k))
  1709.                         }
  1710.                         g && !m.length && (l.teardown && l.teardown.call(a, p, r.handle) !== !1 || n.removeEvent(a, o, r.handle), delete i[o])
  1711.                     } else {
  1712.                         for (o in i) {
  1713.                             n.event.remove(a, o + b[j], c, d, !0)
  1714.                         }
  1715.                     }
  1716.                 }
  1717.                 n.isEmptyObject(i) && (delete r.handle, L.remove(a, "events"))
  1718.             }
  1719.         },
  1720.         trigger: function(b, c, d, e) {
  1721.             var f, g, h, i, k, m, o, p = [d || l],
  1722.                 q = j.call(b, "type") ? b.type : b,
  1723.                 r = j.call(b, "namespace") ? b.namespace.split(".") : [];
  1724.             if (g = h = d = d || l, 3 !== d.nodeType && 8 !== d.nodeType && !X.test(q + n.event.triggered) && (q.indexOf(".") >= 0 && (r = q.split("."), q = r.shift(), r.sort()), k = q.indexOf(":") < 0 && "on" + q, b = b[n.expando] ? b : new n.Event(q, "object" == typeof b && b), b.isTrigger = e ? 2 : 3, b.namespace = r.join("."), b.namespace_re = b.namespace ? new RegExp("(^|\\.)" + r.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, b.result = void 0, b.target || (b.target = d), c = null == c ? [b] : n.makeArray(c, [b]), o = n.event.special[q] || {}, e || !o.trigger || o.trigger.apply(d, c) !== !1)) {
  1725.                 if (!e && !o.noBubble && !n.isWindow(d)) {
  1726.                     for (i = o.delegateType || q, X.test(i + q) || (g = g.parentNode); g; g = g.parentNode) {
  1727.                         p.push(g), h = g
  1728.                     }
  1729.                     h === (d.ownerDocument || l) && p.push(h.defaultView || h.parentWindow || a)
  1730.                 }
  1731.                 f = 0;
  1732.                 while ((g = p[f++]) && !b.isPropagationStopped()) {
  1733.                     b.type = f > 1 ? i : o.bindType || q, m = (L.get(g, "events") || {})[b.type] && L.get(g, "handle"), m && m.apply(g, c), m = k && g[k], m && m.apply && n.acceptData(g) && (b.result = m.apply(g, c), b.result === !1 && b.preventDefault())
  1734.                 }
  1735.                 return b.type = q, e || b.isDefaultPrevented() || o._default && o._default.apply(p.pop(), c) !== !1 || !n.acceptData(d) || k && n.isFunction(d[q]) && !n.isWindow(d) && (h = d[k], h && (d[k] = null), n.event.triggered = q, d[q](), n.event.triggered = void 0, h && (d[k] = h)), b.result
  1736.             }
  1737.         },
  1738.         dispatch: function(a) {
  1739.             a = n.event.fix(a);
  1740.             var b, c, e, f, g, h = [],
  1741.                 i = d.call(arguments),
  1742.                 j = (L.get(this, "events") || {})[a.type] || [],
  1743.                 k = n.event.special[a.type] || {};
  1744.             if (i[0] = a, a.delegateTarget = this, !k.preDispatch || k.preDispatch.call(this, a) !== !1) {
  1745.                 h = n.event.handlers.call(this, a, j), b = 0;
  1746.                 while ((f = h[b++]) && !a.isPropagationStopped()) {
  1747.                     a.currentTarget = f.elem, c = 0;
  1748.                     while ((g = f.handlers[c++]) && !a.isImmediatePropagationStopped()) {
  1749.                         (!a.namespace_re || a.namespace_re.test(g.namespace)) && (a.handleObj = g, a.data = g.data, e = ((n.event.special[g.origType] || {}).handle || g.handler).apply(f.elem, i), void 0 !== e && (a.result = e) === !1 && (a.preventDefault(), a.stopPropagation()))
  1750.                     }
  1751.                 }
  1752.                 return k.postDispatch && k.postDispatch.call(this, a), a.result
  1753.             }
  1754.         },
  1755.         handlers: function(a, b) {
  1756.             var c, d, e, f, g = [],
  1757.                 h = b.delegateCount,
  1758.                 i = a.target;
  1759.             if (h && i.nodeType && (!a.button || "click" !== a.type)) {
  1760.                 for (; i !== this; i = i.parentNode || this) {
  1761.                     if (i.disabled !== !0 || "click" !== a.type) {
  1762.                         for (d = [], c = 0; h > c; c++) {
  1763.                             f = b[c], e = f.selector + " ", void 0 === d[e] && (d[e] = f.needsContext ? n(e, this).index(i) >= 0 : n.find(e, this, null, [i]).length), d[e] && d.push(f)
  1764.                         }
  1765.                         d.length && g.push({
  1766.                             elem: i,
  1767.                             handlers: d
  1768.                         })
  1769.                     }
  1770.                 }
  1771.             }
  1772.             return h < b.length && g.push({
  1773.                 elem: this,
  1774.                 handlers: b.slice(h)
  1775.             }), g
  1776.         },
  1777.         props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
  1778.         fixHooks: {},
  1779.         keyHooks: {
  1780.             props: "char charCode key keyCode".split(" "),
  1781.             filter: function(a, b) {
  1782.                 return null == a.which && (a.which = null != b.charCode ? b.charCode : b.keyCode), a
  1783.             }
  1784.         },
  1785.         mouseHooks: {
  1786.             props: "button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
  1787.             filter: function(a, b) {
  1788.                 var c, d, e, f = b.button;
  1789.                 return null == a.pageX && null != b.clientX && (c = a.target.ownerDocument || l, d = c.documentElement, e = c.body, a.pageX = b.clientX + (d && d.scrollLeft || e && e.scrollLeft || 0) - (d && d.clientLeft || e && e.clientLeft || 0), a.pageY = b.clientY + (d && d.scrollTop || e && e.scrollTop || 0) - (d && d.clientTop || e && e.clientTop || 0)), a.which || void 0 === f || (a.which = 1 & f ? 1 : 2 & f ? 3 : 4 & f ? 2 : 0), a
  1790.             }
  1791.         },
  1792.         fix: function(a) {
  1793.             if (a[n.expando]) {
  1794.                 return a
  1795.             }
  1796.             var b, c, d, e = a.type,
  1797.                 f = a,
  1798.                 g = this.fixHooks[e];
  1799.             g || (this.fixHooks[e] = g = W.test(e) ? this.mouseHooks : V.test(e) ? this.keyHooks : {}), d = g.props ? this.props.concat(g.props) : this.props, a = new n.Event(f), b = d.length;
  1800.             while (b--) {
  1801.                 c = d[b], a[c] = f[c]
  1802.             }
  1803.             return a.target || (a.target = l), 3 === a.target.nodeType && (a.target = a.target.parentNode), g.filter ? g.filter(a, f) : a
  1804.         },
  1805.         special: {
  1806.             load: {
  1807.                 noBubble: !0
  1808.             },
  1809.             focus: {
  1810.                 trigger: function() {
  1811.                     return this !== _() && this.focus ? (this.focus(), !1) : void 0
  1812.                 },
  1813.                 delegateType: "focusin"
  1814.             },
  1815.             blur: {
  1816.                 trigger: function() {
  1817.                     return this === _() && this.blur ? (this.blur(), !1) : void 0
  1818.                 },
  1819.                 delegateType: "focusout"
  1820.             },
  1821.             click: {
  1822.                 trigger: function() {
  1823.                     return "checkbox" === this.type && this.click && n.nodeName(this, "input") ? (this.click(), !1) : void 0
  1824.                 },
  1825.                 _default: function(a) {
  1826.                     return n.nodeName(a.target, "a")
  1827.                 }
  1828.             },
  1829.             beforeunload: {
  1830.                 postDispatch: function(a) {
  1831.                     void 0 !== a.result && a.originalEvent && (a.originalEvent.returnValue = a.result)
  1832.                 }
  1833.             }
  1834.         },
  1835.         simulate: function(a, b, c, d) {
  1836.             var e = n.extend(new n.Event, c, {
  1837.                 type: a,
  1838.                 isSimulated: !0,
  1839.                 originalEvent: {}
  1840.             });
  1841.             d ? n.event.trigger(e, null, b) : n.event.dispatch.call(b, e), e.isDefaultPrevented() && c.preventDefault()
  1842.         }
  1843.     }, n.removeEvent = function(a, b, c) {
  1844.         a.removeEventListener && a.removeEventListener(b, c, !1)
  1845.     }, n.Event = function(a, b) {
  1846.         return this instanceof n.Event ? (a && a.type ? (this.originalEvent = a, this.type = a.type, this.isDefaultPrevented = a.defaultPrevented || void 0 === a.defaultPrevented && a.returnValue === !1 ? Z : $) : this.type = a, b && n.extend(this, b), this.timeStamp = a && a.timeStamp || n.now(), void(this[n.expando] = !0)) : new n.Event(a, b)
  1847.     }, n.Event.prototype = {
  1848.         isDefaultPrevented: $,
  1849.         isPropagationStopped: $,
  1850.         isImmediatePropagationStopped: $,
  1851.         preventDefault: function() {
  1852.             var a = this.originalEvent;
  1853.             this.isDefaultPrevented = Z, a && a.preventDefault && a.preventDefault()
  1854.         },
  1855.         stopPropagation: function() {
  1856.             var a = this.originalEvent;
  1857.             this.isPropagationStopped = Z, a && a.stopPropagation && a.stopPropagation()
  1858.         },
  1859.         stopImmediatePropagation: function() {
  1860.             var a = this.originalEvent;
  1861.             this.isImmediatePropagationStopped = Z, a && a.stopImmediatePropagation && a.stopImmediatePropagation(), this.stopPropagation()
  1862.         }
  1863.     }, n.each({
  1864.         mouseenter: "mouseover",
  1865.         mouseleave: "mouseout",
  1866.         pointerenter: "pointerover",
  1867.         pointerleave: "pointerout"
  1868.     }, function(a, b) {
  1869.         n.event.special[a] = {
  1870.             delegateType: b,
  1871.             bindType: b,
  1872.             handle: function(a) {
  1873.                 var c, d = this,
  1874.                     e = a.relatedTarget,
  1875.                     f = a.handleObj;
  1876.                 return (!e || e !== d && !n.contains(d, e)) && (a.type = f.origType, c = f.handler.apply(this, arguments), a.type = b), c
  1877.             }
  1878.         }
  1879.     }), k.focusinBubbles || n.each({
  1880.         focus: "focusin",
  1881.         blur: "focusout"
  1882.     }, function(a, b) {
  1883.         var c = function(a) {
  1884.             n.event.simulate(b, a.target, n.event.fix(a), !0)
  1885.         };
  1886.         n.event.special[b] = {
  1887.             setup: function() {
  1888.                 var d = this.ownerDocument || this,
  1889.                     e = L.access(d, b);
  1890.                 e || d.addEventListener(a, c, !0), L.access(d, b, (e || 0) + 1)
  1891.             },
  1892.             teardown: function() {
  1893.                 var d = this.ownerDocument || this,
  1894.                     e = L.access(d, b) - 1;
  1895.                 e ? L.access(d, b, e) : (d.removeEventListener(a, c, !0), L.remove(d, b))
  1896.             }
  1897.         }
  1898.     }), n.fn.extend({
  1899.         on: function(a, b, c, d, e) {
  1900.             var f, g;
  1901.             if ("object" == typeof a) {
  1902.                 "string" != typeof b && (c = c || b, b = void 0);
  1903.                 for (g in a) {
  1904.                     this.on(g, b, c, a[g], e)
  1905.                 }
  1906.                 return this
  1907.             }
  1908.             if (null == c && null == d ? (d = b, c = b = void 0) : null == d && ("string" == typeof b ? (d = c, c = void 0) : (d = c, c = b, b = void 0)), d === !1) {
  1909.                 d = $
  1910.             } else {
  1911.                 if (!d) {
  1912.                     return this
  1913.                 }
  1914.             }
  1915.             return 1 === e && (f = d, d = function(a) {
  1916.                 return n().off(a), f.apply(this, arguments)
  1917.             }, d.guid = f.guid || (f.guid = n.guid++)), this.each(function() {
  1918.                 n.event.add(this, a, d, c, b)
  1919.             })
  1920.         },
  1921.         one: function(a, b, c, d) {
  1922.             return this.on(a, b, c, d, 1)
  1923.         },
  1924.         off: function(a, b, c) {
  1925.             var d, e;
  1926.             if (a && a.preventDefault && a.handleObj) {
  1927.                 return d = a.handleObj, n(a.delegateTarget).off(d.namespace ? d.origType + "." + d.namespace : d.origType, d.selector, d.handler), this
  1928.             }
  1929.             if ("object" == typeof a) {
  1930.                 for (e in a) {
  1931.                     this.off(e, b, a[e])
  1932.                 }
  1933.                 return this
  1934.             }
  1935.             return (b === !1 || "function" == typeof b) && (c = b, b = void 0), c === !1 && (c = $), this.each(function() {
  1936.                 n.event.remove(this, a, c, b)
  1937.             })
  1938.         },
  1939.         trigger: function(a, b) {
  1940.             return this.each(function() {
  1941.                 n.event.trigger(a, b, this)
  1942.             })
  1943.         },
  1944.         triggerHandler: function(a, b) {
  1945.             var c = this[0];
  1946.             return c ? n.event.trigger(a, b, c, !0) : void 0
  1947.         }
  1948.     });
  1949.     var ab = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,
  1950.         bb = /<([\w:]+)/,
  1951.         cb = /<|&#?\w+;/,
  1952.         db = /<(?:script|style|link)/i,
  1953.         eb = /checked\s*(?:[^=]|=\s*.checked.)/i,
  1954.         fb = /^$|\/(?:java|ecma)script/i,
  1955.         gb = /^true\/(.*)/,
  1956.         hb = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,
  1957.         ib = {
  1958.             option: [1, "<select multiple='multiple'>", "</select>"],
  1959.             thead: [1, "<table>", "</table>"],
  1960.             col: [2, "<table><colgroup>", "</colgroup></table>"],
  1961.             tr: [2, "<table><tbody>", "</tbody></table>"],
  1962.             td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
  1963.             _default: [0, "", ""]
  1964.         };
  1965.     ib.optgroup = ib.option, ib.tbody = ib.tfoot = ib.colgroup = ib.caption = ib.thead, ib.th = ib.td;
  1966.  
  1967.     function jb(a, b) {
  1968.         return n.nodeName(a, "table") && n.nodeName(11 !== b.nodeType ? b : b.firstChild, "tr") ? a.getElementsByTagName("tbody")[0] || a.appendChild(a.ownerDocument.createElement("tbody")) : a
  1969.     }
  1970.  
  1971.     function kb(a) {
  1972.         return a.type = (null !== a.getAttribute("type")) + "/" + a.type, a
  1973.     }
  1974.  
  1975.     function lb(a) {
  1976.         var b = gb.exec(a.type);
  1977.         return b ? a.type = b[1] : a.removeAttribute("type"), a
  1978.     }
  1979.  
  1980.     function mb(a, b) {
  1981.         for (var c = 0, d = a.length; d > c; c++) {
  1982.             L.set(a[c], "globalEval", !b || L.get(b[c], "globalEval"))
  1983.         }
  1984.     }
  1985.  
  1986.     function nb(a, b) {
  1987.         var c, d, e, f, g, h, i, j;
  1988.         if (1 === b.nodeType) {
  1989.             if (L.hasData(a) && (f = L.access(a), g = L.set(b, f), j = f.events)) {
  1990.                 delete g.handle, g.events = {};
  1991.                 for (e in j) {
  1992.                     for (c = 0, d = j[e].length; d > c; c++) {
  1993.                         n.event.add(b, e, j[e][c])
  1994.                     }
  1995.                 }
  1996.             }
  1997.             M.hasData(a) && (h = M.access(a), i = n.extend({}, h), M.set(b, i))
  1998.         }
  1999.     }
  2000.  
  2001.     function ob(a, b) {
  2002.         var c = a.getElementsByTagName ? a.getElementsByTagName(b || "*") : a.querySelectorAll ? a.querySelectorAll(b || "*") : [];
  2003.         return void 0 === b || b && n.nodeName(a, b) ? n.merge([a], c) : c
  2004.     }
  2005.  
  2006.     function pb(a, b) {
  2007.         var c = b.nodeName.toLowerCase();
  2008.         "input" === c && T.test(a.type) ? b.checked = a.checked : ("input" === c || "textarea" === c) && (b.defaultValue = a.defaultValue)
  2009.     }
  2010.     n.extend({
  2011.         clone: function(a, b, c) {
  2012.             var d, e, f, g, h = a.cloneNode(!0),
  2013.                 i = n.contains(a.ownerDocument, a);
  2014.             if (!(k.noCloneChecked || 1 !== a.nodeType && 11 !== a.nodeType || n.isXMLDoc(a))) {
  2015.                 for (g = ob(h), f = ob(a), d = 0, e = f.length; e > d; d++) {
  2016.                     pb(f[d], g[d])
  2017.                 }
  2018.             }
  2019.             if (b) {
  2020.                 if (c) {
  2021.                     for (f = f || ob(a), g = g || ob(h), d = 0, e = f.length; e > d; d++) {
  2022.                         nb(f[d], g[d])
  2023.                     }
  2024.                 } else {
  2025.                     nb(a, h)
  2026.                 }
  2027.             }
  2028.             return g = ob(h, "script"), g.length > 0 && mb(g, !i && ob(a, "script")), h
  2029.         },
  2030.         buildFragment: function(a, b, c, d) {
  2031.             for (var e, f, g, h, i, j, k = b.createDocumentFragment(), l = [], m = 0, o = a.length; o > m; m++) {
  2032.                 if (e = a[m], e || 0 === e) {
  2033.                     if ("object" === n.type(e)) {
  2034.                         n.merge(l, e.nodeType ? [e] : e)
  2035.                     } else {
  2036.                         if (cb.test(e)) {
  2037.                             f = f || k.appendChild(b.createElement("div")), g = (bb.exec(e) || ["", ""])[1].toLowerCase(), h = ib[g] || ib._default, f.innerHTML = h[1] + e.replace(ab, "<$1></$2>") + h[2], j = h[0];
  2038.                             while (j--) {
  2039.                                 f = f.lastChild
  2040.                             }
  2041.                             n.merge(l, f.childNodes), f = k.firstChild, f.textContent = ""
  2042.                         } else {
  2043.                             l.push(b.createTextNode(e))
  2044.                         }
  2045.                     }
  2046.                 }
  2047.             }
  2048.             k.textContent = "", m = 0;
  2049.             while (e = l[m++]) {
  2050.                 if ((!d || -1 === n.inArray(e, d)) && (i = n.contains(e.ownerDocument, e), f = ob(k.appendChild(e), "script"), i && mb(f), c)) {
  2051.                     j = 0;
  2052.                     while (e = f[j++]) {
  2053.                         fb.test(e.type || "") && c.push(e)
  2054.                     }
  2055.                 }
  2056.             }
  2057.             return k
  2058.         },
  2059.         cleanData: function(a) {
  2060.             for (var b, c, d, e, f = n.event.special, g = 0; void 0 !== (c = a[g]); g++) {
  2061.                 if (n.acceptData(c) && (e = c[L.expando], e && (b = L.cache[e]))) {
  2062.                     if (b.events) {
  2063.                         for (d in b.events) {
  2064.                             f[d] ? n.event.remove(c, d) : n.removeEvent(c, d, b.handle)
  2065.                         }
  2066.                     }
  2067.                     L.cache[e] && delete L.cache[e]
  2068.                 }
  2069.                 delete M.cache[c[M.expando]]
  2070.             }
  2071.         }
  2072.     }), n.fn.extend({
  2073.         text: function(a) {
  2074.             return J(this, function(a) {
  2075.                 return void 0 === a ? n.text(this) : this.empty().each(function() {
  2076.                     (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) && (this.textContent = a)
  2077.                 })
  2078.             }, null, a, arguments.length)
  2079.         },
  2080.         append: function() {
  2081.             return this.domManip(arguments, function(a) {
  2082.                 if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
  2083.                     var b = jb(this, a);
  2084.                     b.appendChild(a)
  2085.                 }
  2086.             })
  2087.         },
  2088.         prepend: function() {
  2089.             return this.domManip(arguments, function(a) {
  2090.                 if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
  2091.                     var b = jb(this, a);
  2092.                     b.insertBefore(a, b.firstChild)
  2093.                 }
  2094.             })
  2095.         },
  2096.         before: function() {
  2097.             return this.domManip(arguments, function(a) {
  2098.                 this.parentNode && this.parentNode.insertBefore(a, this)
  2099.             })
  2100.         },
  2101.         after: function() {
  2102.             return this.domManip(arguments, function(a) {
  2103.                 this.parentNode && this.parentNode.insertBefore(a, this.nextSibling)
  2104.             })
  2105.         },
  2106.         remove: function(a, b) {
  2107.             for (var c, d = a ? n.filter(a, this) : this, e = 0; null != (c = d[e]); e++) {
  2108.                 b || 1 !== c.nodeType || n.cleanData(ob(c)), c.parentNode && (b && n.contains(c.ownerDocument, c) && mb(ob(c, "script")), c.parentNode.removeChild(c))
  2109.             }
  2110.             return this
  2111.         },
  2112.         empty: function() {
  2113.             for (var a, b = 0; null != (a = this[b]); b++) {
  2114.                 1 === a.nodeType && (n.cleanData(ob(a, !1)), a.textContent = "")
  2115.             }
  2116.             return this
  2117.         },
  2118.         clone: function(a, b) {
  2119.             return a = null == a ? !1 : a, b = null == b ? a : b, this.map(function() {
  2120.                 return n.clone(this, a, b)
  2121.             })
  2122.         },
  2123.         html: function(a) {
  2124.             return J(this, function(a) {
  2125.                 var b = this[0] || {},
  2126.                     c = 0,
  2127.                     d = this.length;
  2128.                 if (void 0 === a && 1 === b.nodeType) {
  2129.                     return b.innerHTML
  2130.                 }
  2131.                 if ("string" == typeof a && !db.test(a) && !ib[(bb.exec(a) || ["", ""])[1].toLowerCase()]) {
  2132.                     a = a.replace(ab, "<$1></$2>");
  2133.                     try {
  2134.                         for (; d > c; c++) {
  2135.                             b = this[c] || {}, 1 === b.nodeType && (n.cleanData(ob(b, !1)), b.innerHTML = a)
  2136.                         }
  2137.                         b = 0
  2138.                     } catch (e) {}
  2139.                 }
  2140.                 b && this.empty().append(a)
  2141.             }, null, a, arguments.length)
  2142.         },
  2143.         replaceWith: function() {
  2144.             var a = arguments[0];
  2145.             return this.domManip(arguments, function(b) {
  2146.                 a = this.parentNode, n.cleanData(ob(this)), a && a.replaceChild(b, this)
  2147.             }), a && (a.length || a.nodeType) ? this : this.remove()
  2148.         },
  2149.         detach: function(a) {
  2150.             return this.remove(a, !0)
  2151.         },
  2152.         domManip: function(a, b) {
  2153.             a = e.apply([], a);
  2154.             var c, d, f, g, h, i, j = 0,
  2155.                 l = this.length,
  2156.                 m = this,
  2157.                 o = l - 1,
  2158.                 p = a[0],
  2159.                 q = n.isFunction(p);
  2160.             if (q || l > 1 && "string" == typeof p && !k.checkClone && eb.test(p)) {
  2161.                 return this.each(function(c) {
  2162.                     var d = m.eq(c);
  2163.                     q && (a[0] = p.call(this, c, d.html())), d.domManip(a, b)
  2164.                 })
  2165.             }
  2166.             if (l && (c = n.buildFragment(a, this[0].ownerDocument, !1, this), d = c.firstChild, 1 === c.childNodes.length && (c = d), d)) {
  2167.                 for (f = n.map(ob(c, "script"), kb), g = f.length; l > j; j++) {
  2168.                     h = c, j !== o && (h = n.clone(h, !0, !0), g && n.merge(f, ob(h, "script"))), b.call(this[j], h, j)
  2169.                 }
  2170.                 if (g) {
  2171.                     for (i = f[f.length - 1].ownerDocument, n.map(f, lb), j = 0; g > j; j++) {
  2172.                         h = f[j], fb.test(h.type || "") && !L.access(h, "globalEval") && n.contains(i, h) && (h.src ? n._evalUrl && n._evalUrl(h.src) : n.globalEval(h.textContent.replace(hb, "")))
  2173.                     }
  2174.                 }
  2175.             }
  2176.             return this
  2177.         }
  2178.     }), n.each({
  2179.         appendTo: "append",
  2180.         prependTo: "prepend",
  2181.         insertBefore: "before",
  2182.         insertAfter: "after",
  2183.         replaceAll: "replaceWith"
  2184.     }, function(a, b) {
  2185.         n.fn[a] = function(a) {
  2186.             for (var c, d = [], e = n(a), g = e.length - 1, h = 0; g >= h; h++) {
  2187.                 c = h === g ? this : this.clone(!0), n(e[h])[b](c), f.apply(d, c.get())
  2188.             }
  2189.             return this.pushStack(d)
  2190.         }
  2191.     });
  2192.     var qb, rb = {};
  2193.  
  2194.     function sb(b, c) {
  2195.         var d, e = n(c.createElement(b)).appendTo(c.body),
  2196.             f = a.getDefaultComputedStyle && (d = a.getDefaultComputedStyle(e[0])) ? d.display : n.css(e[0], "display");
  2197.         return e.detach(), f
  2198.     }
  2199.  
  2200.     function tb(a) {
  2201.         var b = l,
  2202.             c = rb[a];
  2203.         return c || (c = sb(a, b), "none" !== c && c || (qb = (qb || n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement), b = qb[0].contentDocument, b.write(), b.close(), c = sb(a, b), qb.detach()), rb[a] = c), c
  2204.     }
  2205.     var ub = /^margin/,
  2206.         vb = new RegExp("^(" + Q + ")(?!px)[a-z%]+$", "i"),
  2207.         wb = function(b) {
  2208.             return b.ownerDocument.defaultView.opener ? b.ownerDocument.defaultView.getComputedStyle(b, null) : a.getComputedStyle(b, null)
  2209.         };
  2210.  
  2211.     function xb(a, b, c) {
  2212.         var d, e, f, g, h = a.style;
  2213.         return c = c || wb(a), c && (g = c.getPropertyValue(b) || c[b]), c && ("" !== g || n.contains(a.ownerDocument, a) || (g = n.style(a, b)), vb.test(g) && ub.test(b) && (d = h.width, e = h.minWidth, f = h.maxWidth, h.minWidth = h.maxWidth = h.width = g, g = c.width, h.width = d, h.minWidth = e, h.maxWidth = f)), void 0 !== g ? g + "" : g
  2214.     }
  2215.  
  2216.     function yb(a, b) {
  2217.         return {
  2218.             get: function() {
  2219.                 return a() ? void delete this.get : (this.get = b).apply(this, arguments)
  2220.             }
  2221.         }
  2222.     }! function() {
  2223.         var b, c, d = l.documentElement,
  2224.             e = l.createElement("div"),
  2225.             f = l.createElement("div");
  2226.         if (f.style) {
  2227.             f.style.backgroundClip = "content-box", f.cloneNode(!0).style.backgroundClip = "", k.clearCloneStyle = "content-box" === f.style.backgroundClip, e.style.cssText = "border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute", e.appendChild(f);
  2228.  
  2229.             function g() {
  2230.                 f.style.cssText = "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute", f.innerHTML = "", d.appendChild(e);
  2231.                 var g = a.getComputedStyle(f, null);
  2232.                 b = "1%" !== g.top, c = "4px" === g.width, d.removeChild(e)
  2233.             }
  2234.             a.getComputedStyle && n.extend(k, {
  2235.                 pixelPosition: function() {
  2236.                     return g(), b
  2237.                 },
  2238.                 boxSizingReliable: function() {
  2239.                     return null == c && g(), c
  2240.                 },
  2241.                 reliableMarginRight: function() {
  2242.                     var b, c = f.appendChild(l.createElement("div"));
  2243.                     return c.style.cssText = f.style.cssText = "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0", c.style.marginRight = c.style.width = "0", f.style.width = "1px", d.appendChild(e), b = !parseFloat(a.getComputedStyle(c, null).marginRight), d.removeChild(e), f.removeChild(c), b
  2244.                 }
  2245.             })
  2246.         }
  2247.     }(), n.swap = function(a, b, c, d) {
  2248.         var e, f, g = {};
  2249.         for (f in b) {
  2250.             g[f] = a.style[f], a.style[f] = b[f]
  2251.         }
  2252.         e = c.apply(a, d || []);
  2253.         for (f in b) {
  2254.             a.style[f] = g[f]
  2255.         }
  2256.         return e
  2257.     };
  2258.     var zb = /^(none|table(?!-c[ea]).+)/,
  2259.         Ab = new RegExp("^(" + Q + ")(.*)$", "i"),
  2260.         Bb = new RegExp("^([+-])=(" + Q + ")", "i"),
  2261.         Cb = {
  2262.             position: "absolute",
  2263.             visibility: "hidden",
  2264.             display: "block"
  2265.         },
  2266.         Db = {
  2267.             letterSpacing: "0",
  2268.             fontWeight: "400"
  2269.         },
  2270.         Eb = ["Webkit", "O", "Moz", "ms"];
  2271.  
  2272.     function Fb(a, b) {
  2273.         if (b in a) {
  2274.             return b
  2275.         }
  2276.         var c = b[0].toUpperCase() + b.slice(1),
  2277.             d = b,
  2278.             e = Eb.length;
  2279.         while (e--) {
  2280.             if (b = Eb[e] + c, b in a) {
  2281.                 return b
  2282.             }
  2283.         }
  2284.         return d
  2285.     }
  2286.  
  2287.     function Gb(a, b, c) {
  2288.         var d = Ab.exec(b);
  2289.         return d ? Math.max(0, d[1] - (c || 0)) + (d[2] || "px") : b
  2290.     }
  2291.  
  2292.     function Hb(a, b, c, d, e) {
  2293.         for (var f = c === (d ? "border" : "content") ? 4 : "width" === b ? 1 : 0, g = 0; 4 > f; f += 2) {
  2294.             "margin" === c && (g += n.css(a, c + R[f], !0, e)), d ? ("content" === c && (g -= n.css(a, "padding" + R[f], !0, e)), "margin" !== c && (g -= n.css(a, "border" + R[f] + "Width", !0, e))) : (g += n.css(a, "padding" + R[f], !0, e), "padding" !== c && (g += n.css(a, "border" + R[f] + "Width", !0, e)))
  2295.         }
  2296.         return g
  2297.     }
  2298.  
  2299.     function Ib(a, b, c) {
  2300.         var d = !0,
  2301.             e = "width" === b ? a.offsetWidth : a.offsetHeight,
  2302.             f = wb(a),
  2303.             g = "border-box" === n.css(a, "boxSizing", !1, f);
  2304.         if (0 >= e || null == e) {
  2305.             if (e = xb(a, b, f), (0 > e || null == e) && (e = a.style[b]), vb.test(e)) {
  2306.                 return e
  2307.             }
  2308.             d = g && (k.boxSizingReliable() || e === a.style[b]), e = parseFloat(e) || 0
  2309.         }
  2310.         return e + Hb(a, b, c || (g ? "border" : "content"), d, f) + "px"
  2311.     }
  2312.  
  2313.     function Jb(a, b) {
  2314.         for (var c, d, e, f = [], g = 0, h = a.length; h > g; g++) {
  2315.             d = a[g], d.style && (f[g] = L.get(d, "olddisplay"), c = d.style.display, b ? (f[g] || "none" !== c || (d.style.display = ""), "" === d.style.display && S(d) && (f[g] = L.access(d, "olddisplay", tb(d.nodeName)))) : (e = S(d), "none" === c && e || L.set(d, "olddisplay", e ? c : n.css(d, "display"))))
  2316.         }
  2317.         for (g = 0; h > g; g++) {
  2318.             d = a[g], d.style && (b && "none" !== d.style.display && "" !== d.style.display || (d.style.display = b ? f[g] || "" : "none"))
  2319.         }
  2320.         return a
  2321.     }
  2322.     n.extend({
  2323.         cssHooks: {
  2324.             opacity: {
  2325.                 get: function(a, b) {
  2326.                     if (b) {
  2327.                         var c = xb(a, "opacity");
  2328.                         return "" === c ? "1" : c
  2329.                     }
  2330.                 }
  2331.             }
  2332.         },
  2333.         cssNumber: {
  2334.             columnCount: !0,
  2335.             fillOpacity: !0,
  2336.             flexGrow: !0,
  2337.             flexShrink: !0,
  2338.             fontWeight: !0,
  2339.             lineHeight: !0,
  2340.             opacity: !0,
  2341.             order: !0,
  2342.             orphans: !0,
  2343.             widows: !0,
  2344.             zIndex: !0,
  2345.             zoom: !0
  2346.         },
  2347.         cssProps: {
  2348.             "float": "cssFloat"
  2349.         },
  2350.         style: function(a, b, c, d) {
  2351.             if (a && 3 !== a.nodeType && 8 !== a.nodeType && a.style) {
  2352.                 var e, f, g, h = n.camelCase(b),
  2353.                     i = a.style;
  2354.                 return b = n.cssProps[h] || (n.cssProps[h] = Fb(i, h)), g = n.cssHooks[b] || n.cssHooks[h], void 0 === c ? g && "get" in g && void 0 !== (e = g.get(a, !1, d)) ? e : i[b] : (f = typeof c, "string" === f && (e = Bb.exec(c)) && (c = (e[1] + 1) * e[2] + parseFloat(n.css(a, b)), f = "number"), null != c && c === c && ("number" !== f || n.cssNumber[h] || (c += "px"), k.clearCloneStyle || "" !== c || 0 !== b.indexOf("background") || (i[b] = "inherit"), g && "set" in g && void 0 === (c = g.set(a, c, d)) || (i[b] = c)), void 0)
  2355.             }
  2356.         },
  2357.         css: function(a, b, c, d) {
  2358.             var e, f, g, h = n.camelCase(b);
  2359.             return b = n.cssProps[h] || (n.cssProps[h] = Fb(a.style, h)), g = n.cssHooks[b] || n.cssHooks[h], g && "get" in g && (e = g.get(a, !0, c)), void 0 === e && (e = xb(a, b, d)), "normal" === e && b in Db && (e = Db[b]), "" === c || c ? (f = parseFloat(e), c === !0 || n.isNumeric(f) ? f || 0 : e) : e
  2360.         }
  2361.     }), n.each(["height", "width"], function(a, b) {
  2362.         n.cssHooks[b] = {
  2363.             get: function(a, c, d) {
  2364.                 return c ? zb.test(n.css(a, "display")) && 0 === a.offsetWidth ? n.swap(a, Cb, function() {
  2365.                     return Ib(a, b, d)
  2366.                 }) : Ib(a, b, d) : void 0
  2367.             },
  2368.             set: function(a, c, d) {
  2369.                 var e = d && wb(a);
  2370.                 return Gb(a, c, d ? Hb(a, b, d, "border-box" === n.css(a, "boxSizing", !1, e), e) : 0)
  2371.             }
  2372.         }
  2373.     }), n.cssHooks.marginRight = yb(k.reliableMarginRight, function(a, b) {
  2374.         return b ? n.swap(a, {
  2375.             display: "inline-block"
  2376.         }, xb, [a, "marginRight"]) : void 0
  2377.     }), n.each({
  2378.         margin: "",
  2379.         padding: "",
  2380.         border: "Width"
  2381.     }, function(a, b) {
  2382.         n.cssHooks[a + b] = {
  2383.             expand: function(c) {
  2384.                 for (var d = 0, e = {}, f = "string" == typeof c ? c.split(" ") : [c]; 4 > d; d++) {
  2385.                     e[a + R[d] + b] = f[d] || f[d - 2] || f[0]
  2386.                 }
  2387.                 return e
  2388.             }
  2389.         }, ub.test(a) || (n.cssHooks[a + b].set = Gb)
  2390.     }), n.fn.extend({
  2391.         css: function(a, b) {
  2392.             return J(this, function(a, b, c) {
  2393.                 var d, e, f = {},
  2394.                     g = 0;
  2395.                 if (n.isArray(b)) {
  2396.                     for (d = wb(a), e = b.length; e > g; g++) {
  2397.                         f[b[g]] = n.css(a, b[g], !1, d)
  2398.                     }
  2399.                     return f
  2400.                 }
  2401.                 return void 0 !== c ? n.style(a, b, c) : n.css(a, b)
  2402.             }, a, b, arguments.length > 1)
  2403.         },
  2404.         show: function() {
  2405.             return Jb(this, !0)
  2406.         },
  2407.         hide: function() {
  2408.             return Jb(this)
  2409.         },
  2410.         toggle: function(a) {
  2411.             return "boolean" == typeof a ? a ? this.show() : this.hide() : this.each(function() {
  2412.                 S(this) ? n(this).show() : n(this).hide()
  2413.             })
  2414.         }
  2415.     });
  2416.  
  2417.     function Kb(a, b, c, d, e) {
  2418.         return new Kb.prototype.init(a, b, c, d, e)
  2419.     }
  2420.     n.Tween = Kb, Kb.prototype = {
  2421.         constructor: Kb,
  2422.         init: function(a, b, c, d, e, f) {
  2423.             this.elem = a, this.prop = c, this.easing = e || "swing", this.options = b, this.start = this.now = this.cur(), this.end = d, this.unit = f || (n.cssNumber[c] ? "" : "px")
  2424.         },
  2425.         cur: function() {
  2426.             var a = Kb.propHooks[this.prop];
  2427.             return a && a.get ? a.get(this) : Kb.propHooks._default.get(this)
  2428.         },
  2429.         run: function(a) {
  2430.             var b, c = Kb.propHooks[this.prop];
  2431.             return this.pos = b = this.options.duration ? n.easing[this.easing](a, this.options.duration * a, 0, 1, this.options.duration) : a, this.now = (this.end - this.start) * b + this.start, this.options.step && this.options.step.call(this.elem, this.now, this), c && c.set ? c.set(this) : Kb.propHooks._default.set(this), this
  2432.         }
  2433.     }, Kb.prototype.init.prototype = Kb.prototype, Kb.propHooks = {
  2434.         _default: {
  2435.             get: function(a) {
  2436.                 var b;
  2437.                 return null == a.elem[a.prop] || a.elem.style && null != a.elem.style[a.prop] ? (b = n.css(a.elem, a.prop, ""), b && "auto" !== b ? b : 0) : a.elem[a.prop]
  2438.             },
  2439.             set: function(a) {
  2440.                 n.fx.step[a.prop] ? n.fx.step[a.prop](a) : a.elem.style && (null != a.elem.style[n.cssProps[a.prop]] || n.cssHooks[a.prop]) ? n.style(a.elem, a.prop, a.now + a.unit) : a.elem[a.prop] = a.now
  2441.             }
  2442.         }
  2443.     }, Kb.propHooks.scrollTop = Kb.propHooks.scrollLeft = {
  2444.         set: function(a) {
  2445.             a.elem.nodeType && a.elem.parentNode && (a.elem[a.prop] = a.now)
  2446.         }
  2447.     }, n.easing = {
  2448.         linear: function(a) {
  2449.             return a
  2450.         },
  2451.         swing: function(a) {
  2452.             return 0.5 - Math.cos(a * Math.PI) / 2
  2453.         }
  2454.     }, n.fx = Kb.prototype.init, n.fx.step = {};
  2455.     var Lb, Mb, Nb = /^(?:toggle|show|hide)$/,
  2456.         Ob = new RegExp("^(?:([+-])=|)(" + Q + ")([a-z%]*)$", "i"),
  2457.         Pb = /queueHooks$/,
  2458.         Qb = [Vb],
  2459.         Rb = {
  2460.             "*": [function(a, b) {
  2461.                 var c = this.createTween(a, b),
  2462.                     d = c.cur(),
  2463.                     e = Ob.exec(b),
  2464.                     f = e && e[3] || (n.cssNumber[a] ? "" : "px"),
  2465.                     g = (n.cssNumber[a] || "px" !== f && +d) && Ob.exec(n.css(c.elem, a)),
  2466.                     h = 1,
  2467.                     i = 20;
  2468.                 if (g && g[3] !== f) {
  2469.                     f = f || g[3], e = e || [], g = +d || 1;
  2470.                     do {
  2471.                         h = h || ".5", g /= h, n.style(c.elem, a, g + f)
  2472.                     } while (h !== (h = c.cur() / d) && 1 !== h && --i)
  2473.                 }
  2474.                 return e && (g = c.start = +g || +d || 0, c.unit = f, c.end = e[1] ? g + (e[1] + 1) * e[2] : +e[2]), c
  2475.             }]
  2476.         };
  2477.  
  2478.     function Sb() {
  2479.         return setTimeout(function() {
  2480.             Lb = void 0
  2481.         }), Lb = n.now()
  2482.     }
  2483.  
  2484.     function Tb(a, b) {
  2485.         var c, d = 0,
  2486.             e = {
  2487.                 height: a
  2488.             };
  2489.         for (b = b ? 1 : 0; 4 > d; d += 2 - b) {
  2490.             c = R[d], e["margin" + c] = e["padding" + c] = a
  2491.         }
  2492.         return b && (e.opacity = e.width = a), e
  2493.     }
  2494.  
  2495.     function Ub(a, b, c) {
  2496.         for (var d, e = (Rb[b] || []).concat(Rb["*"]), f = 0, g = e.length; g > f; f++) {
  2497.             if (d = e[f].call(c, b, a)) {
  2498.                 return d
  2499.             }
  2500.         }
  2501.     }
  2502.  
  2503.     function Vb(a, b, c) {
  2504.         var d, e, f, g, h, i, j, k, l = this,
  2505.             m = {},
  2506.             o = a.style,
  2507.             p = a.nodeType && S(a),
  2508.             q = L.get(a, "fxshow");
  2509.         c.queue || (h = n._queueHooks(a, "fx"), null == h.unqueued && (h.unqueued = 0, i = h.empty.fire, h.empty.fire = function() {
  2510.             h.unqueued || i()
  2511.         }), h.unqueued++, l.always(function() {
  2512.             l.always(function() {
  2513.                 h.unqueued--, n.queue(a, "fx").length || h.empty.fire()
  2514.             })
  2515.         })), 1 === a.nodeType && ("height" in b || "width" in b) && (c.overflow = [o.overflow, o.overflowX, o.overflowY], j = n.css(a, "display"), k = "none" === j ? L.get(a, "olddisplay") || tb(a.nodeName) : j, "inline" === k && "none" === n.css(a, "float") && (o.display = "inline-block")), c.overflow && (o.overflow = "hidden", l.always(function() {
  2516.             o.overflow = c.overflow[0], o.overflowX = c.overflow[1], o.overflowY = c.overflow[2]
  2517.         }));
  2518.         for (d in b) {
  2519.             if (e = b[d], Nb.exec(e)) {
  2520.                 if (delete b[d], f = f || "toggle" === e, e === (p ? "hide" : "show")) {
  2521.                     if ("show" !== e || !q || void 0 === q[d]) {
  2522.                         continue
  2523.                     }
  2524.                     p = !0
  2525.                 }
  2526.                 m[d] = q && q[d] || n.style(a, d)
  2527.             } else {
  2528.                 j = void 0
  2529.             }
  2530.         }
  2531.         if (n.isEmptyObject(m)) {
  2532.             "inline" === ("none" === j ? tb(a.nodeName) : j) && (o.display = j)
  2533.         } else {
  2534.             q ? "hidden" in q && (p = q.hidden) : q = L.access(a, "fxshow", {}), f && (q.hidden = !p), p ? n(a).show() : l.done(function() {
  2535.                 n(a).hide()
  2536.             }), l.done(function() {
  2537.                 var b;
  2538.                 L.remove(a, "fxshow");
  2539.                 for (b in m) {
  2540.                     n.style(a, b, m[b])
  2541.                 }
  2542.             });
  2543.             for (d in m) {
  2544.                 g = Ub(p ? q[d] : 0, d, l), d in q || (q[d] = g.start, p && (g.end = g.start, g.start = "width" === d || "height" === d ? 1 : 0))
  2545.             }
  2546.         }
  2547.     }
  2548.  
  2549.     function Wb(a, b) {
  2550.         var c, d, e, f, g;
  2551.         for (c in a) {
  2552.             if (d = n.camelCase(c), e = b[d], f = a[c], n.isArray(f) && (e = f[1], f = a[c] = f[0]), c !== d && (a[d] = f, delete a[c]), g = n.cssHooks[d], g && "expand" in g) {
  2553.                 f = g.expand(f), delete a[d];
  2554.                 for (c in f) {
  2555.                     c in a || (a[c] = f[c], b[c] = e)
  2556.                 }
  2557.             } else {
  2558.                 b[d] = e
  2559.             }
  2560.         }
  2561.     }
  2562.  
  2563.     function Xb(a, b, c) {
  2564.         var d, e, f = 0,
  2565.             g = Qb.length,
  2566.             h = n.Deferred().always(function() {
  2567.                 delete i.elem
  2568.             }),
  2569.             i = function() {
  2570.                 if (e) {
  2571.                     return !1
  2572.                 }
  2573.                 for (var b = Lb || Sb(), c = Math.max(0, j.startTime + j.duration - b), d = c / j.duration || 0, f = 1 - d, g = 0, i = j.tweens.length; i > g; g++) {
  2574.                     j.tweens[g].run(f)
  2575.                 }
  2576.                 return h.notifyWith(a, [j, f, c]), 1 > f && i ? c : (h.resolveWith(a, [j]), !1)
  2577.             },
  2578.             j = h.promise({
  2579.                 elem: a,
  2580.                 props: n.extend({}, b),
  2581.                 opts: n.extend(!0, {
  2582.                     specialEasing: {}
  2583.                 }, c),
  2584.                 originalProperties: b,
  2585.                 originalOptions: c,
  2586.                 startTime: Lb || Sb(),
  2587.                 duration: c.duration,
  2588.                 tweens: [],
  2589.                 createTween: function(b, c) {
  2590.                     var d = n.Tween(a, j.opts, b, c, j.opts.specialEasing[b] || j.opts.easing);
  2591.                     return j.tweens.push(d), d
  2592.                 },
  2593.                 stop: function(b) {
  2594.                     var c = 0,
  2595.                         d = b ? j.tweens.length : 0;
  2596.                     if (e) {
  2597.                         return this
  2598.                     }
  2599.                     for (e = !0; d > c; c++) {
  2600.                         j.tweens[c].run(1)
  2601.                     }
  2602.                     return b ? h.resolveWith(a, [j, b]) : h.rejectWith(a, [j, b]), this
  2603.                 }
  2604.             }),
  2605.             k = j.props;
  2606.         for (Wb(k, j.opts.specialEasing); g > f; f++) {
  2607.             if (d = Qb[f].call(j, a, k, j.opts)) {
  2608.                 return d
  2609.             }
  2610.         }
  2611.         return n.map(k, Ub, j), n.isFunction(j.opts.start) && j.opts.start.call(a, j), n.fx.timer(n.extend(i, {
  2612.             elem: a,
  2613.             anim: j,
  2614.             queue: j.opts.queue
  2615.         })), j.progress(j.opts.progress).done(j.opts.done, j.opts.complete).fail(j.opts.fail).always(j.opts.always)
  2616.     }
  2617.     n.Animation = n.extend(Xb, {
  2618.             tweener: function(a, b) {
  2619.                 n.isFunction(a) ? (b = a, a = ["*"]) : a = a.split(" ");
  2620.                 for (var c, d = 0, e = a.length; e > d; d++) {
  2621.                     c = a[d], Rb[c] = Rb[c] || [], Rb[c].unshift(b)
  2622.                 }
  2623.             },
  2624.             prefilter: function(a, b) {
  2625.                 b ? Qb.unshift(a) : Qb.push(a)
  2626.             }
  2627.         }), n.speed = function(a, b, c) {
  2628.             var d = a && "object" == typeof a ? n.extend({}, a) : {
  2629.                 complete: c || !c && b || n.isFunction(a) && a,
  2630.                 duration: a,
  2631.                 easing: c && b || b && !n.isFunction(b) && b
  2632.             };
  2633.             return d.duration = n.fx.off ? 0 : "number" == typeof d.duration ? d.duration : d.duration in n.fx.speeds ? n.fx.speeds[d.duration] : n.fx.speeds._default, (null == d.queue || d.queue === !0) && (d.queue = "fx"), d.old = d.complete, d.complete = function() {
  2634.                 n.isFunction(d.old) && d.old.call(this), d.queue && n.dequeue(this, d.queue)
  2635.             }, d
  2636.         }, n.fn.extend({
  2637.             fadeTo: function(a, b, c, d) {
  2638.                 return this.filter(S).css("opacity", 0).show().end().animate({
  2639.                     opacity: b
  2640.                 }, a, c, d)
  2641.             },
  2642.             animate: function(a, b, c, d) {
  2643.                 var e = n.isEmptyObject(a),
  2644.                     f = n.speed(b, c, d),
  2645.                     g = function() {
  2646.                         var b = Xb(this, n.extend({}, a), f);
  2647.                         (e || L.get(this, "finish")) && b.stop(!0)
  2648.                     };
  2649.                 return g.finish = g, e || f.queue === !1 ? this.each(g) : this.queue(f.queue, g)
  2650.             },
  2651.             stop: function(a, b, c) {
  2652.                 var d = function(a) {
  2653.                     var b = a.stop;
  2654.                     delete a.stop, b(c)
  2655.                 };
  2656.                 return "string" != typeof a && (c = b, b = a, a = void 0), b && a !== !1 && this.queue(a || "fx", []), this.each(function() {
  2657.                     var b = !0,
  2658.                         e = null != a && a + "queueHooks",
  2659.                         f = n.timers,
  2660.                         g = L.get(this);
  2661.                     if (e) {
  2662.                         g[e] && g[e].stop && d(g[e])
  2663.                     } else {
  2664.                         for (e in g) {
  2665.                             g[e] && g[e].stop && Pb.test(e) && d(g[e])
  2666.                         }
  2667.                     }
  2668.                     for (e = f.length; e--;) {
  2669.                         f[e].elem !== this || null != a && f[e].queue !== a || (f[e].anim.stop(c), b = !1, f.splice(e, 1))
  2670.                     }(b || !c) && n.dequeue(this, a)
  2671.                 })
  2672.             },
  2673.             finish: function(a) {
  2674.                 return a !== !1 && (a = a || "fx"), this.each(function() {
  2675.                     var b, c = L.get(this),
  2676.                         d = c[a + "queue"],
  2677.                         e = c[a + "queueHooks"],
  2678.                         f = n.timers,
  2679.                         g = d ? d.length : 0;
  2680.                     for (c.finish = !0, n.queue(this, a, []), e && e.stop && e.stop.call(this, !0), b = f.length; b--;) {
  2681.                         f[b].elem === this && f[b].queue === a && (f[b].anim.stop(!0), f.splice(b, 1))
  2682.                     }
  2683.                     for (b = 0; g > b; b++) {
  2684.                         d[b] && d[b].finish && d[b].finish.call(this)
  2685.                     }
  2686.                     delete c.finish
  2687.                 })
  2688.             }
  2689.         }), n.each(["toggle", "show", "hide"], function(a, b) {
  2690.             var c = n.fn[b];
  2691.             n.fn[b] = function(a, d, e) {
  2692.                 return null == a || "boolean" == typeof a ? c.apply(this, arguments) : this.animate(Tb(b, !0), a, d, e)
  2693.             }
  2694.         }), n.each({
  2695.             slideDown: Tb("show"),
  2696.             slideUp: Tb("hide"),
  2697.             slideToggle: Tb("toggle"),
  2698.             fadeIn: {
  2699.                 opacity: "show"
  2700.             },
  2701.             fadeOut: {
  2702.                 opacity: "hide"
  2703.             },
  2704.             fadeToggle: {
  2705.                 opacity: "toggle"
  2706.             }
  2707.         }, function(a, b) {
  2708.             n.fn[a] = function(a, c, d) {
  2709.                 return this.animate(b, a, c, d)
  2710.             }
  2711.         }), n.timers = [], n.fx.tick = function() {
  2712.             var a, b = 0,
  2713.                 c = n.timers;
  2714.             for (Lb = n.now(); b < c.length; b++) {
  2715.                 a = c[b], a() || c[b] !== a || c.splice(b--, 1)
  2716.             }
  2717.             c.length || n.fx.stop(), Lb = void 0
  2718.         }, n.fx.timer = function(a) {
  2719.             n.timers.push(a), a() ? n.fx.start() : n.timers.pop()
  2720.         }, n.fx.interval = 13, n.fx.start = function() {
  2721.             Mb || (Mb = setInterval(n.fx.tick, n.fx.interval))
  2722.         }, n.fx.stop = function() {
  2723.             clearInterval(Mb), Mb = null
  2724.         }, n.fx.speeds = {
  2725.             slow: 600,
  2726.             fast: 200,
  2727.             _default: 400
  2728.         }, n.fn.delay = function(a, b) {
  2729.             return a = n.fx ? n.fx.speeds[a] || a : a, b = b || "fx", this.queue(b, function(b, c) {
  2730.                 var d = setTimeout(b, a);
  2731.                 c.stop = function() {
  2732.                     clearTimeout(d)
  2733.                 }
  2734.             })
  2735.         },
  2736.         function() {
  2737.             var a = l.createElement("input"),
  2738.                 b = l.createElement("select"),
  2739.                 c = b.appendChild(l.createElement("option"));
  2740.             a.type = "checkbox", k.checkOn = "" !== a.value, k.optSelected = c.selected, b.disabled = !0, k.optDisabled = !c.disabled, a = l.createElement("input"), a.value = "t", a.type = "radio", k.radioValue = "t" === a.value
  2741.         }();
  2742.     var Yb, Zb, $b = n.expr.attrHandle;
  2743.     n.fn.extend({
  2744.         attr: function(a, b) {
  2745.             return J(this, n.attr, a, b, arguments.length > 1)
  2746.         },
  2747.         removeAttr: function(a) {
  2748.             return this.each(function() {
  2749.                 n.removeAttr(this, a)
  2750.             })
  2751.         }
  2752.     }), n.extend({
  2753.         attr: function(a, b, c) {
  2754.             var d, e, f = a.nodeType;
  2755.             if (a && 3 !== f && 8 !== f && 2 !== f) {
  2756.                 return typeof a.getAttribute === U ? n.prop(a, b, c) : (1 === f && n.isXMLDoc(a) || (b = b.toLowerCase(), d = n.attrHooks[b] || (n.expr.match.bool.test(b) ? Zb : Yb)), void 0 === c ? d && "get" in d && null !== (e = d.get(a, b)) ? e : (e = n.find.attr(a, b), null == e ? void 0 : e) : null !== c ? d && "set" in d && void 0 !== (e = d.set(a, c, b)) ? e : (a.setAttribute(b, c + ""), c) : void n.removeAttr(a, b))
  2757.             }
  2758.         },
  2759.         removeAttr: function(a, b) {
  2760.             var c, d, e = 0,
  2761.                 f = b && b.match(E);
  2762.             if (f && 1 === a.nodeType) {
  2763.                 while (c = f[e++]) {
  2764.                     d = n.propFix[c] || c, n.expr.match.bool.test(c) && (a[d] = !1), a.removeAttribute(c)
  2765.                 }
  2766.             }
  2767.         },
  2768.         attrHooks: {
  2769.             type: {
  2770.                 set: function(a, b) {
  2771.                     if (!k.radioValue && "radio" === b && n.nodeName(a, "input")) {
  2772.                         var c = a.value;
  2773.                         return a.setAttribute("type", b), c && (a.value = c), b
  2774.                     }
  2775.                 }
  2776.             }
  2777.         }
  2778.     }), Zb = {
  2779.         set: function(a, b, c) {
  2780.             return b === !1 ? n.removeAttr(a, c) : a.setAttribute(c, c), c
  2781.         }
  2782.     }, n.each(n.expr.match.bool.source.match(/\w+/g), function(a, b) {
  2783.         var c = $b[b] || n.find.attr;
  2784.         $b[b] = function(a, b, d) {
  2785.             var e, f;
  2786.             return d || (f = $b[b], $b[b] = e, e = null != c(a, b, d) ? b.toLowerCase() : null, $b[b] = f), e
  2787.         }
  2788.     });
  2789.     var _b = /^(?:input|select|textarea|button)$/i;
  2790.     n.fn.extend({
  2791.         prop: function(a, b) {
  2792.             return J(this, n.prop, a, b, arguments.length > 1)
  2793.         },
  2794.         removeProp: function(a) {
  2795.             return this.each(function() {
  2796.                 delete this[n.propFix[a] || a]
  2797.             })
  2798.         }
  2799.     }), n.extend({
  2800.         propFix: {
  2801.             "for": "htmlFor",
  2802.             "class": "className"
  2803.         },
  2804.         prop: function(a, b, c) {
  2805.             var d, e, f, g = a.nodeType;
  2806.             if (a && 3 !== g && 8 !== g && 2 !== g) {
  2807.                 return f = 1 !== g || !n.isXMLDoc(a), f && (b = n.propFix[b] || b, e = n.propHooks[b]), void 0 !== c ? e && "set" in e && void 0 !== (d = e.set(a, c, b)) ? d : a[b] = c : e && "get" in e && null !== (d = e.get(a, b)) ? d : a[b]
  2808.             }
  2809.         },
  2810.         propHooks: {
  2811.             tabIndex: {
  2812.                 get: function(a) {
  2813.                     return a.hasAttribute("tabindex") || _b.test(a.nodeName) || a.href ? a.tabIndex : -1
  2814.                 }
  2815.             }
  2816.         }
  2817.     }), k.optSelected || (n.propHooks.selected = {
  2818.         get: function(a) {
  2819.             var b = a.parentNode;
  2820.             return b && b.parentNode && b.parentNode.selectedIndex, null
  2821.         }
  2822.     }), n.each(["tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable"], function() {
  2823.         n.propFix[this.toLowerCase()] = this
  2824.     });
  2825.     var ac = /[\t\r\n\f]/g;
  2826.     n.fn.extend({
  2827.         addClass: function(a) {
  2828.             var b, c, d, e, f, g, h = "string" == typeof a && a,
  2829.                 i = 0,
  2830.                 j = this.length;
  2831.             if (n.isFunction(a)) {
  2832.                 return this.each(function(b) {
  2833.                     n(this).addClass(a.call(this, b, this.className))
  2834.                 })
  2835.             }
  2836.             if (h) {
  2837.                 for (b = (a || "").match(E) || []; j > i; i++) {
  2838.                     if (c = this[i], d = 1 === c.nodeType && (c.className ? (" " + c.className + " ").replace(ac, " ") : " ")) {
  2839.                         f = 0;
  2840.                         while (e = b[f++]) {
  2841.                             d.indexOf(" " + e + " ") < 0 && (d += e + " ")
  2842.                         }
  2843.                         g = n.trim(d), c.className !== g && (c.className = g)
  2844.                     }
  2845.                 }
  2846.             }
  2847.             return this
  2848.         },
  2849.         removeClass: function(a) {
  2850.             var b, c, d, e, f, g, h = 0 === arguments.length || "string" == typeof a && a,
  2851.                 i = 0,
  2852.                 j = this.length;
  2853.             if (n.isFunction(a)) {
  2854.                 return this.each(function(b) {
  2855.                     n(this).removeClass(a.call(this, b, this.className))
  2856.                 })
  2857.             }
  2858.             if (h) {
  2859.                 for (b = (a || "").match(E) || []; j > i; i++) {
  2860.                     if (c = this[i], d = 1 === c.nodeType && (c.className ? (" " + c.className + " ").replace(ac, " ") : "")) {
  2861.                         f = 0;
  2862.                         while (e = b[f++]) {
  2863.                             while (d.indexOf(" " + e + " ") >= 0) {
  2864.                                 d = d.replace(" " + e + " ", " ")
  2865.                             }
  2866.                         }
  2867.                         g = a ? n.trim(d) : "", c.className !== g && (c.className = g)
  2868.                     }
  2869.                 }
  2870.             }
  2871.             return this
  2872.         },
  2873.         toggleClass: function(a, b) {
  2874.             var c = typeof a;
  2875.             return "boolean" == typeof b && "string" === c ? b ? this.addClass(a) : this.removeClass(a) : this.each(n.isFunction(a) ? function(c) {
  2876.                 n(this).toggleClass(a.call(this, c, this.className, b), b)
  2877.             } : function() {
  2878.                 if ("string" === c) {
  2879.                     var b, d = 0,
  2880.                         e = n(this),
  2881.                         f = a.match(E) || [];
  2882.                     while (b = f[d++]) {
  2883.                         e.hasClass(b) ? e.removeClass(b) : e.addClass(b)
  2884.                     }
  2885.                 } else {
  2886.                     (c === U || "boolean" === c) && (this.className && L.set(this, "__className__", this.className), this.className = this.className || a === !1 ? "" : L.get(this, "__className__") || "")
  2887.                 }
  2888.             })
  2889.         },
  2890.         hasClass: function(a) {
  2891.             for (var b = " " + a + " ", c = 0, d = this.length; d > c; c++) {
  2892.                 if (1 === this[c].nodeType && (" " + this[c].className + " ").replace(ac, " ").indexOf(b) >= 0) {
  2893.                     return !0
  2894.                 }
  2895.             }
  2896.             return !1
  2897.         }
  2898.     });
  2899.     var bc = /\r/g;
  2900.     n.fn.extend({
  2901.         val: function(a) {
  2902.             var b, c, d, e = this[0];
  2903.             if (arguments.length) {
  2904.                 return d = n.isFunction(a), this.each(function(c) {
  2905.                     var e;
  2906.                     1 === this.nodeType && (e = d ? a.call(this, c, n(this).val()) : a, null == e ? e = "" : "number" == typeof e ? e += "" : n.isArray(e) && (e = n.map(e, function(a) {
  2907.                         return null == a ? "" : a + ""
  2908.                     })), b = n.valHooks[this.type] || n.valHooks[this.nodeName.toLowerCase()], b && "set" in b && void 0 !== b.set(this, e, "value") || (this.value = e))
  2909.                 })
  2910.             }
  2911.             if (e) {
  2912.                 return b = n.valHooks[e.type] || n.valHooks[e.nodeName.toLowerCase()], b && "get" in b && void 0 !== (c = b.get(e, "value")) ? c : (c = e.value, "string" == typeof c ? c.replace(bc, "") : null == c ? "" : c)
  2913.             }
  2914.         }
  2915.     }), n.extend({
  2916.         valHooks: {
  2917.             option: {
  2918.                 get: function(a) {
  2919.                     var b = n.find.attr(a, "value");
  2920.                     return null != b ? b : n.trim(n.text(a))
  2921.                 }
  2922.             },
  2923.             select: {
  2924.                 get: function(a) {
  2925.                     for (var b, c, d = a.options, e = a.selectedIndex, f = "select-one" === a.type || 0 > e, g = f ? null : [], h = f ? e + 1 : d.length, i = 0 > e ? h : f ? e : 0; h > i; i++) {
  2926.                         if (c = d[i], !(!c.selected && i !== e || (k.optDisabled ? c.disabled : null !== c.getAttribute("disabled")) || c.parentNode.disabled && n.nodeName(c.parentNode, "optgroup"))) {
  2927.                             if (b = n(c).val(), f) {
  2928.                                 return b
  2929.                             }
  2930.                             g.push(b)
  2931.                         }
  2932.                     }
  2933.                     return g
  2934.                 },
  2935.                 set: function(a, b) {
  2936.                     var c, d, e = a.options,
  2937.                         f = n.makeArray(b),
  2938.                         g = e.length;
  2939.                     while (g--) {
  2940.                         d = e[g], (d.selected = n.inArray(d.value, f) >= 0) && (c = !0)
  2941.                     }
  2942.                     return c || (a.selectedIndex = -1), f
  2943.                 }
  2944.             }
  2945.         }
  2946.     }), n.each(["radio", "checkbox"], function() {
  2947.         n.valHooks[this] = {
  2948.             set: function(a, b) {
  2949.                 return n.isArray(b) ? a.checked = n.inArray(n(a).val(), b) >= 0 : void 0
  2950.             }
  2951.         }, k.checkOn || (n.valHooks[this].get = function(a) {
  2952.             return null === a.getAttribute("value") ? "on" : a.value
  2953.         })
  2954.     }), n.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "), function(a, b) {
  2955.         n.fn[b] = function(a, c) {
  2956.             return arguments.length > 0 ? this.on(b, null, a, c) : this.trigger(b)
  2957.         }
  2958.     }), n.fn.extend({
  2959.         hover: function(a, b) {
  2960.             return this.mouseenter(a).mouseleave(b || a)
  2961.         },
  2962.         bind: function(a, b, c) {
  2963.             return this.on(a, null, b, c)
  2964.         },
  2965.         unbind: function(a, b) {
  2966.             return this.off(a, null, b)
  2967.         },
  2968.         delegate: function(a, b, c, d) {
  2969.             return this.on(b, a, c, d)
  2970.         },
  2971.         undelegate: function(a, b, c) {
  2972.             return 1 === arguments.length ? this.off(a, "**") : this.off(b, a || "**", c)
  2973.         }
  2974.     });
  2975.     var cc = n.now(),
  2976.         dc = /\?/;
  2977.     n.parseJSON = function(a) {
  2978.         return JSON.parse(a + "")
  2979.     }, n.parseXML = function(a) {
  2980.         var b, c;
  2981.         if (!a || "string" != typeof a) {
  2982.             return null
  2983.         }
  2984.         try {
  2985.             c = new DOMParser, b = c.parseFromString(a, "text/xml")
  2986.         } catch (d) {
  2987.             b = void 0
  2988.         }
  2989.         return (!b || b.getElementsByTagName("parsererror").length) && n.error("Invalid XML: " + a), b
  2990.     };
  2991.     var ec = /#.*$/,
  2992.         fc = /([?&])_=[^&]*/,
  2993.         gc = /^(.*?):[ \t]*([^\r\n]*)$/gm,
  2994.         hc = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,
  2995.         ic = /^(?:GET|HEAD)$/,
  2996.         jc = /^\/\//,
  2997.         kc = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,
  2998.         lc = {},
  2999.         mc = {},
  3000.         nc = "*/".concat("*"),
  3001.         oc = a.location.href,
  3002.         pc = kc.exec(oc.toLowerCase()) || [];
  3003.  
  3004.     function qc(a) {
  3005.         return function(b, c) {
  3006.             "string" != typeof b && (c = b, b = "*");
  3007.             var d, e = 0,
  3008.                 f = b.toLowerCase().match(E) || [];
  3009.             if (n.isFunction(c)) {
  3010.                 while (d = f[e++]) {
  3011.                     "+" === d[0] ? (d = d.slice(1) || "*", (a[d] = a[d] || []).unshift(c)) : (a[d] = a[d] || []).push(c)
  3012.                 }
  3013.             }
  3014.         }
  3015.     }
  3016.  
  3017.     function rc(a, b, c, d) {
  3018.         var e = {},
  3019.             f = a === mc;
  3020.  
  3021.         function g(h) {
  3022.             var i;
  3023.             return e[h] = !0, n.each(a[h] || [], function(a, h) {
  3024.                 var j = h(b, c, d);
  3025.                 return "string" != typeof j || f || e[j] ? f ? !(i = j) : void 0 : (b.dataTypes.unshift(j), g(j), !1)
  3026.             }), i
  3027.         }
  3028.         return g(b.dataTypes[0]) || !e["*"] && g("*")
  3029.     }
  3030.  
  3031.     function sc(a, b) {
  3032.         var c, d, e = n.ajaxSettings.flatOptions || {};
  3033.         for (c in b) {
  3034.             void 0 !== b[c] && ((e[c] ? a : d || (d = {}))[c] = b[c])
  3035.         }
  3036.         return d && n.extend(!0, a, d), a
  3037.     }
  3038.  
  3039.     function tc(a, b, c) {
  3040.         var d, e, f, g, h = a.contents,
  3041.             i = a.dataTypes;
  3042.         while ("*" === i[0]) {
  3043.             i.shift(), void 0 === d && (d = a.mimeType || b.getResponseHeader("Content-Type"))
  3044.         }
  3045.         if (d) {
  3046.             for (e in h) {
  3047.                 if (h[e] && h[e].test(d)) {
  3048.                     i.unshift(e);
  3049.                     break
  3050.                 }
  3051.             }
  3052.         }
  3053.         if (i[0] in c) {
  3054.             f = i[0]
  3055.         } else {
  3056.             for (e in c) {
  3057.                 if (!i[0] || a.converters[e + " " + i[0]]) {
  3058.                     f = e;
  3059.                     break
  3060.                 }
  3061.                 g || (g = e)
  3062.             }
  3063.             f = f || g
  3064.         }
  3065.         return f ? (f !== i[0] && i.unshift(f), c[f]) : void 0
  3066.     }
  3067.  
  3068.     function uc(a, b, c, d) {
  3069.         var e, f, g, h, i, j = {},
  3070.             k = a.dataTypes.slice();
  3071.         if (k[1]) {
  3072.             for (g in a.converters) {
  3073.                 j[g.toLowerCase()] = a.converters[g]
  3074.             }
  3075.         }
  3076.         f = k.shift();
  3077.         while (f) {
  3078.             if (a.responseFields[f] && (c[a.responseFields[f]] = b), !i && d && a.dataFilter && (b = a.dataFilter(b, a.dataType)), i = f, f = k.shift()) {
  3079.                 if ("*" === f) {
  3080.                     f = i
  3081.                 } else {
  3082.                     if ("*" !== i && i !== f) {
  3083.                         if (g = j[i + " " + f] || j["* " + f], !g) {
  3084.                             for (e in j) {
  3085.                                 if (h = e.split(" "), h[1] === f && (g = j[i + " " + h[0]] || j["* " + h[0]])) {
  3086.                                     g === !0 ? g = j[e] : j[e] !== !0 && (f = h[0], k.unshift(h[1]));
  3087.                                     break
  3088.                                 }
  3089.                             }
  3090.                         }
  3091.                         if (g !== !0) {
  3092.                             if (g && a["throws"]) {
  3093.                                 b = g(b)
  3094.                             } else {
  3095.                                 try {
  3096.                                     b = g(b)
  3097.                                 } catch (l) {
  3098.                                     return {
  3099.                                         state: "parsererror",
  3100.                                         error: g ? l : "No conversion from " + i + " to " + f
  3101.                                     }
  3102.                                 }
  3103.                             }
  3104.                         }
  3105.                     }
  3106.                 }
  3107.             }
  3108.         }
  3109.         return {
  3110.             state: "success",
  3111.             data: b
  3112.         }
  3113.     }
  3114.     n.extend({
  3115.         active: 0,
  3116.         lastModified: {},
  3117.         etag: {},
  3118.         ajaxSettings: {
  3119.             url: oc,
  3120.             type: "GET",
  3121.             isLocal: hc.test(pc[1]),
  3122.             global: !0,
  3123.             processData: !0,
  3124.             async: !0,
  3125.             contentType: "application/x-www-form-urlencoded; charset=UTF-8",
  3126.             accepts: {
  3127.                 "*": nc,
  3128.                 text: "text/plain",
  3129.                 html: "text/html",
  3130.                 xml: "application/xml, text/xml",
  3131.                 json: "application/json, text/javascript"
  3132.             },
  3133.             contents: {
  3134.                 xml: /xml/,
  3135.                 html: /html/,
  3136.                 json: /json/
  3137.             },
  3138.             responseFields: {
  3139.                 xml: "responseXML",
  3140.                 text: "responseText",
  3141.                 json: "responseJSON"
  3142.             },
  3143.             converters: {
  3144.                 "* text": String,
  3145.                 "text html": !0,
  3146.                 "text json": n.parseJSON,
  3147.                 "text xml": n.parseXML
  3148.             },
  3149.             flatOptions: {
  3150.                 url: !0,
  3151.                 context: !0
  3152.             }
  3153.         },
  3154.         ajaxSetup: function(a, b) {
  3155.             return b ? sc(sc(a, n.ajaxSettings), b) : sc(n.ajaxSettings, a)
  3156.         },
  3157.         ajaxPrefilter: qc(lc),
  3158.         ajaxTransport: qc(mc),
  3159.         ajax: function(a, b) {
  3160.             "object" == typeof a && (b = a, a = void 0), b = b || {};
  3161.             var c, d, e, f, g, h, i, j, k = n.ajaxSetup({}, b),
  3162.                 l = k.context || k,
  3163.                 m = k.context && (l.nodeType || l.jquery) ? n(l) : n.event,
  3164.                 o = n.Deferred(),
  3165.                 p = n.Callbacks("once memory"),
  3166.                 q = k.statusCode || {},
  3167.                 r = {},
  3168.                 s = {},
  3169.                 t = 0,
  3170.                 u = "canceled",
  3171.                 v = {
  3172.                     readyState: 0,
  3173.                     getResponseHeader: function(a) {
  3174.                         var b;
  3175.                         if (2 === t) {
  3176.                             if (!f) {
  3177.                                 f = {};
  3178.                                 while (b = gc.exec(e)) {
  3179.                                     f[b[1].toLowerCase()] = b[2]
  3180.                                 }
  3181.                             }
  3182.                             b = f[a.toLowerCase()]
  3183.                         }
  3184.                         return null == b ? null : b
  3185.                     },
  3186.                     getAllResponseHeaders: function() {
  3187.                         return 2 === t ? e : null
  3188.                     },
  3189.                     setRequestHeader: function(a, b) {
  3190.                         var c = a.toLowerCase();
  3191.                         return t || (a = s[c] = s[c] || a, r[a] = b), this
  3192.                     },
  3193.                     overrideMimeType: function(a) {
  3194.                         return t || (k.mimeType = a), this
  3195.                     },
  3196.                     statusCode: function(a) {
  3197.                         var b;
  3198.                         if (a) {
  3199.                             if (2 > t) {
  3200.                                 for (b in a) {
  3201.                                     q[b] = [q[b], a[b]]
  3202.                                 }
  3203.                             } else {
  3204.                                 v.always(a[v.status])
  3205.                             }
  3206.                         }
  3207.                         return this
  3208.                     },
  3209.                     abort: function(a) {
  3210.                         var b = a || u;
  3211.                         return c && c.abort(b), x(0, b), this
  3212.                     }
  3213.                 };
  3214.             if (o.promise(v).complete = p.add, v.success = v.done, v.error = v.fail, k.url = ((a || k.url || oc) + "").replace(ec, "").replace(jc, pc[1] + "//"), k.type = b.method || b.type || k.method || k.type, k.dataTypes = n.trim(k.dataType || "*").toLowerCase().match(E) || [""], null == k.crossDomain && (h = kc.exec(k.url.toLowerCase()), k.crossDomain = !(!h || h[1] === pc[1] && h[2] === pc[2] && (h[3] || ("http:" === h[1] ? "80" : "443")) === (pc[3] || ("http:" === pc[1] ? "80" : "443")))), k.data && k.processData && "string" != typeof k.data && (k.data = n.param(k.data, k.traditional)), rc(lc, k, b, v), 2 === t) {
  3215.                 return v
  3216.             }
  3217.             i = n.event && k.global, i && 0 === n.active++ && n.event.trigger("ajaxStart"), k.type = k.type.toUpperCase(), k.hasContent = !ic.test(k.type), d = k.url, k.hasContent || (k.data && (d = k.url += (dc.test(d) ? "&" : "?") + k.data, delete k.data), k.cache === !1 && (k.url = fc.test(d) ? d.replace(fc, "$1_=" + cc++) : d + (dc.test(d) ? "&" : "?") + "_=" + cc++)), k.ifModified && (n.lastModified[d] && v.setRequestHeader("If-Modified-Since", n.lastModified[d]), n.etag[d] && v.setRequestHeader("If-None-Match", n.etag[d])), (k.data && k.hasContent && k.contentType !== !1 || b.contentType) && v.setRequestHeader("Content-Type", k.contentType), v.setRequestHeader("Accept", k.dataTypes[0] && k.accepts[k.dataTypes[0]] ? k.accepts[k.dataTypes[0]] + ("*" !== k.dataTypes[0] ? ", " + nc + "; q=0.01" : "") : k.accepts["*"]);
  3218.             for (j in k.headers) {
  3219.                 v.setRequestHeader(j, k.headers[j])
  3220.             }
  3221.             if (k.beforeSend && (k.beforeSend.call(l, v, k) === !1 || 2 === t)) {
  3222.                 return v.abort()
  3223.             }
  3224.             u = "abort";
  3225.             for (j in {
  3226.                     success: 1,
  3227.                     error: 1,
  3228.                     complete: 1
  3229.                 }) {
  3230.                 v[j](k[j])
  3231.             }
  3232.             if (c = rc(mc, k, b, v)) {
  3233.                 v.readyState = 1, i && m.trigger("ajaxSend", [v, k]), k.async && k.timeout > 0 && (g = setTimeout(function() {
  3234.                     v.abort("timeout")
  3235.                 }, k.timeout));
  3236.                 try {
  3237.                     t = 1, c.send(r, x)
  3238.                 } catch (w) {
  3239.                     if (!(2 > t)) {
  3240.                         throw w
  3241.                     }
  3242.                     x(-1, w)
  3243.                 }
  3244.             } else {
  3245.                 x(-1, "No Transport")
  3246.             }
  3247.  
  3248.             function x(a, b, f, h) {
  3249.                 var j, r, s, u, w, x = b;
  3250.                 2 !== t && (t = 2, g && clearTimeout(g), c = void 0, e = h || "", v.readyState = a > 0 ? 4 : 0, j = a >= 200 && 300 > a || 304 === a, f && (u = tc(k, v, f)), u = uc(k, u, v, j), j ? (k.ifModified && (w = v.getResponseHeader("Last-Modified"), w && (n.lastModified[d] = w), w = v.getResponseHeader("etag"), w && (n.etag[d] = w)), 204 === a || "HEAD" === k.type ? x = "nocontent" : 304 === a ? x = "notmodified" : (x = u.state, r = u.data, s = u.error, j = !s)) : (s = x, (a || !x) && (x = "error", 0 > a && (a = 0))), v.status = a, v.statusText = (b || x) + "", j ? o.resolveWith(l, [r, x, v]) : o.rejectWith(l, [v, x, s]), v.statusCode(q), q = void 0, i && m.trigger(j ? "ajaxSuccess" : "ajaxError", [v, k, j ? r : s]), p.fireWith(l, [v, x]), i && (m.trigger("ajaxComplete", [v, k]), --n.active || n.event.trigger("ajaxStop")))
  3251.             }
  3252.             return v
  3253.         },
  3254.         getJSON: function(a, b, c) {
  3255.             return n.get(a, b, c, "json")
  3256.         },
  3257.         getScript: function(a, b) {
  3258.             return n.get(a, void 0, b, "script")
  3259.         }
  3260.     }), n.each(["get", "post"], function(a, b) {
  3261.         n[b] = function(a, c, d, e) {
  3262.             return n.isFunction(c) && (e = e || d, d = c, c = void 0), n.ajax({
  3263.                 url: a,
  3264.                 type: b,
  3265.                 dataType: e,
  3266.                 data: c,
  3267.                 success: d
  3268.             })
  3269.         }
  3270.     }), n._evalUrl = function(a) {
  3271.         return n.ajax({
  3272.             url: a,
  3273.             type: "GET",
  3274.             dataType: "script",
  3275.             async: !1,
  3276.             global: !1,
  3277.             "throws": !0
  3278.         })
  3279.     }, n.fn.extend({
  3280.         wrapAll: function(a) {
  3281.             var b;
  3282.             return n.isFunction(a) ? this.each(function(b) {
  3283.                 n(this).wrapAll(a.call(this, b))
  3284.             }) : (this[0] && (b = n(a, this[0].ownerDocument).eq(0).clone(!0), this[0].parentNode && b.insertBefore(this[0]), b.map(function() {
  3285.                 var a = this;
  3286.                 while (a.firstElementChild) {
  3287.                     a = a.firstElementChild
  3288.                 }
  3289.                 return a
  3290.             }).append(this)), this)
  3291.         },
  3292.         wrapInner: function(a) {
  3293.             return this.each(n.isFunction(a) ? function(b) {
  3294.                 n(this).wrapInner(a.call(this, b))
  3295.             } : function() {
  3296.                 var b = n(this),
  3297.                     c = b.contents();
  3298.                 c.length ? c.wrapAll(a) : b.append(a)
  3299.             })
  3300.         },
  3301.         wrap: function(a) {
  3302.             var b = n.isFunction(a);
  3303.             return this.each(function(c) {
  3304.                 n(this).wrapAll(b ? a.call(this, c) : a)
  3305.             })
  3306.         },
  3307.         unwrap: function() {
  3308.             return this.parent().each(function() {
  3309.                 n.nodeName(this, "body") || n(this).replaceWith(this.childNodes)
  3310.             }).end()
  3311.         }
  3312.     }), n.expr.filters.hidden = function(a) {
  3313.         return a.offsetWidth <= 0 && a.offsetHeight <= 0
  3314.     }, n.expr.filters.visible = function(a) {
  3315.         return !n.expr.filters.hidden(a)
  3316.     };
  3317.     var vc = /%20/g,
  3318.         wc = /\[\]$/,
  3319.         xc = /\r?\n/g,
  3320.         yc = /^(?:submit|button|image|reset|file)$/i,
  3321.         zc = /^(?:input|select|textarea|keygen)/i;
  3322.  
  3323.     function Ac(a, b, c, d) {
  3324.         var e;
  3325.         if (n.isArray(b)) {
  3326.             n.each(b, function(b, e) {
  3327.                 c || wc.test(a) ? d(a, e) : Ac(a + "[" + ("object" == typeof e ? b : "") + "]", e, c, d)
  3328.             })
  3329.         } else {
  3330.             if (c || "object" !== n.type(b)) {
  3331.                 d(a, b)
  3332.             } else {
  3333.                 for (e in b) {
  3334.                     Ac(a + "[" + e + "]", b[e], c, d)
  3335.                 }
  3336.             }
  3337.         }
  3338.     }
  3339.     n.param = function(a, b) {
  3340.         var c, d = [],
  3341.             e = function(a, b) {
  3342.                 b = n.isFunction(b) ? b() : null == b ? "" : b, d[d.length] = encodeURIComponent(a) + "=" + encodeURIComponent(b)
  3343.             };
  3344.         if (void 0 === b && (b = n.ajaxSettings && n.ajaxSettings.traditional), n.isArray(a) || a.jquery && !n.isPlainObject(a)) {
  3345.             n.each(a, function() {
  3346.                 e(this.name, this.value)
  3347.             })
  3348.         } else {
  3349.             for (c in a) {
  3350.                 Ac(c, a[c], b, e)
  3351.             }
  3352.         }
  3353.         return d.join("&").replace(vc, "+")
  3354.     }, n.fn.extend({
  3355.         serialize: function() {
  3356.             return n.param(this.serializeArray())
  3357.         },
  3358.         serializeArray: function() {
  3359.             return this.map(function() {
  3360.                 var a = n.prop(this, "elements");
  3361.                 return a ? n.makeArray(a) : this
  3362.             }).filter(function() {
  3363.                 var a = this.type;
  3364.                 return this.name && !n(this).is(":disabled") && zc.test(this.nodeName) && !yc.test(a) && (this.checked || !T.test(a))
  3365.             }).map(function(a, b) {
  3366.                 var c = n(this).val();
  3367.                 return null == c ? null : n.isArray(c) ? n.map(c, function(a) {
  3368.                     return {
  3369.                         name: b.name,
  3370.                         value: a.replace(xc, "\r\n")
  3371.                     }
  3372.                 }) : {
  3373.                     name: b.name,
  3374.                     value: c.replace(xc, "\r\n")
  3375.                 }
  3376.             }).get()
  3377.         }
  3378.     }), n.ajaxSettings.xhr = function() {
  3379.         try {
  3380.             return new XMLHttpRequest
  3381.         } catch (a) {}
  3382.     };
  3383.     var Bc = 0,
  3384.         Cc = {},
  3385.         Dc = {
  3386.             0: 200,
  3387.             1223: 204
  3388.         },
  3389.         Ec = n.ajaxSettings.xhr();
  3390.     a.attachEvent && a.attachEvent("onunload", function() {
  3391.         for (var a in Cc) {
  3392.             Cc[a]()
  3393.         }
  3394.     }), k.cors = !!Ec && "withCredentials" in Ec, k.ajax = Ec = !!Ec, n.ajaxTransport(function(a) {
  3395.         var b;
  3396.         return k.cors || Ec && !a.crossDomain ? {
  3397.             send: function(c, d) {
  3398.                 var e, f = a.xhr(),
  3399.                     g = ++Bc;
  3400.                 if (f.open(a.type, a.url, a.async, a.username, a.password), a.xhrFields) {
  3401.                     for (e in a.xhrFields) {
  3402.                         f[e] = a.xhrFields[e]
  3403.                     }
  3404.                 }
  3405.                 a.mimeType && f.overrideMimeType && f.overrideMimeType(a.mimeType), a.crossDomain || c["X-Requested-With"] || (c["X-Requested-With"] = "XMLHttpRequest");
  3406.                 for (e in c) {
  3407.                     f.setRequestHeader(e, c[e])
  3408.                 }
  3409.                 b = function(a) {
  3410.                     return function() {
  3411.                         b && (delete Cc[g], b = f.onload = f.onerror = null, "abort" === a ? f.abort() : "error" === a ? d(f.status, f.statusText) : d(Dc[f.status] || f.status, f.statusText, "string" == typeof f.responseText ? {
  3412.                             text: f.responseText
  3413.                         } : void 0, f.getAllResponseHeaders()))
  3414.                     }
  3415.                 }, f.onload = b(), f.onerror = b("error"), b = Cc[g] = b("abort");
  3416.                 try {
  3417.                     f.send(a.hasContent && a.data || null)
  3418.                 } catch (h) {
  3419.                     if (b) {
  3420.                         throw h
  3421.                     }
  3422.                 }
  3423.             },
  3424.             abort: function() {
  3425.                 b && b()
  3426.             }
  3427.         } : void 0
  3428.     }), n.ajaxSetup({
  3429.         accepts: {
  3430.             script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
  3431.         },
  3432.         contents: {
  3433.             script: /(?:java|ecma)script/
  3434.         },
  3435.         converters: {
  3436.             "text script": function(a) {
  3437.                 return n.globalEval(a), a
  3438.             }
  3439.         }
  3440.     }), n.ajaxPrefilter("script", function(a) {
  3441.         void 0 === a.cache && (a.cache = !1), a.crossDomain && (a.type = "GET")
  3442.     }), n.ajaxTransport("script", function(a) {
  3443.         if (a.crossDomain) {
  3444.             var b, c;
  3445.             return {
  3446.                 send: function(d, e) {
  3447.                     b = n("<script>").prop({
  3448.                         async: !0,
  3449.                         charset: a.scriptCharset,
  3450.                         src: a.url
  3451.                     }).on("load error", c = function(a) {
  3452.                         b.remove(), c = null, a && e("error" === a.type ? 404 : 200, a.type)
  3453.                     }), l.head.appendChild(b[0])
  3454.                 },
  3455.                 abort: function() {
  3456.                     c && c()
  3457.                 }
  3458.             }
  3459.         }
  3460.     });
  3461.     var Fc = [],
  3462.         Gc = /(=)\?(?=&|$)|\?\?/;
  3463.     n.ajaxSetup({
  3464.         jsonp: "callback",
  3465.         jsonpCallback: function() {
  3466.             var a = Fc.pop() || n.expando + "_" + cc++;
  3467.             return this[a] = !0, a
  3468.         }
  3469.     }), n.ajaxPrefilter("json jsonp", function(b, c, d) {
  3470.         var e, f, g, h = b.jsonp !== !1 && (Gc.test(b.url) ? "url" : "string" == typeof b.data && !(b.contentType || "").indexOf("application/x-www-form-urlencoded") && Gc.test(b.data) && "data");
  3471.         return h || "jsonp" === b.dataTypes[0] ? (e = b.jsonpCallback = n.isFunction(b.jsonpCallback) ? b.jsonpCallback() : b.jsonpCallback, h ? b[h] = b[h].replace(Gc, "$1" + e) : b.jsonp !== !1 && (b.url += (dc.test(b.url) ? "&" : "?") + b.jsonp + "=" + e), b.converters["script json"] = function() {
  3472.             return g || n.error(e + " was not called"), g[0]
  3473.         }, b.dataTypes[0] = "json", f = a[e], a[e] = function() {
  3474.             g = arguments
  3475.         }, d.always(function() {
  3476.             a[e] = f, b[e] && (b.jsonpCallback = c.jsonpCallback, Fc.push(e)), g && n.isFunction(f) && f(g[0]), g = f = void 0
  3477.         }), "script") : void 0
  3478.     }), n.parseHTML = function(a, b, c) {
  3479.         if (!a || "string" != typeof a) {
  3480.             return null
  3481.         }
  3482.         "boolean" == typeof b && (c = b, b = !1), b = b || l;
  3483.         var d = v.exec(a),
  3484.             e = !c && [];
  3485.         return d ? [b.createElement(d[1])] : (d = n.buildFragment([a], b, e), e && e.length && n(e).remove(), n.merge([], d.childNodes))
  3486.     };
  3487.     var Hc = n.fn.load;
  3488.     n.fn.load = function(a, b, c) {
  3489.         if ("string" != typeof a && Hc) {
  3490.             return Hc.apply(this, arguments)
  3491.         }
  3492.         var d, e, f, g = this,
  3493.             h = a.indexOf(" ");
  3494.         return h >= 0 && (d = n.trim(a.slice(h)), a = a.slice(0, h)), n.isFunction(b) ? (c = b, b = void 0) : b && "object" == typeof b && (e = "POST"), g.length > 0 && n.ajax({
  3495.             url: a,
  3496.             type: e,
  3497.             dataType: "html",
  3498.             data: b
  3499.         }).done(function(a) {
  3500.             f = arguments, g.html(d ? n("<div>").append(n.parseHTML(a)).find(d) : a)
  3501.         }).complete(c && function(a, b) {
  3502.             g.each(c, f || [a.responseText, b, a])
  3503.         }), this
  3504.     }, n.each(["ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend"], function(a, b) {
  3505.         n.fn[b] = function(a) {
  3506.             return this.on(b, a)
  3507.         }
  3508.     }), n.expr.filters.animated = function(a) {
  3509.         return n.grep(n.timers, function(b) {
  3510.             return a === b.elem
  3511.         }).length
  3512.     };
  3513.     var Ic = a.document.documentElement;
  3514.  
  3515.     function Jc(a) {
  3516.         return n.isWindow(a) ? a : 9 === a.nodeType && a.defaultView
  3517.     }
  3518.     n.offset = {
  3519.         setOffset: function(a, b, c) {
  3520.             var d, e, f, g, h, i, j, k = n.css(a, "position"),
  3521.                 l = n(a),
  3522.                 m = {};
  3523.             "static" === k && (a.style.position = "relative"), h = l.offset(), f = n.css(a, "top"), i = n.css(a, "left"), j = ("absolute" === k || "fixed" === k) && (f + i).indexOf("auto") > -1, j ? (d = l.position(), g = d.top, e = d.left) : (g = parseFloat(f) || 0, e = parseFloat(i) || 0), n.isFunction(b) && (b = b.call(a, c, h)), null != b.top && (m.top = b.top - h.top + g), null != b.left && (m.left = b.left - h.left + e), "using" in b ? b.using.call(a, m) : l.css(m)
  3524.         }
  3525.     }, n.fn.extend({
  3526.         offset: function(a) {
  3527.             if (arguments.length) {
  3528.                 return void 0 === a ? this : this.each(function(b) {
  3529.                     n.offset.setOffset(this, a, b)
  3530.                 })
  3531.             }
  3532.             var b, c, d = this[0],
  3533.                 e = {
  3534.                     top: 0,
  3535.                     left: 0
  3536.                 },
  3537.                 f = d && d.ownerDocument;
  3538.             if (f) {
  3539.                 return b = f.documentElement, n.contains(b, d) ? (typeof d.getBoundingClientRect !== U && (e = d.getBoundingClientRect()), c = Jc(f), {
  3540.                     top: e.top + c.pageYOffset - b.clientTop,
  3541.                     left: e.left + c.pageXOffset - b.clientLeft
  3542.                 }) : e
  3543.             }
  3544.         },
  3545.         position: function() {
  3546.             if (this[0]) {
  3547.                 var a, b, c = this[0],
  3548.                     d = {
  3549.                         top: 0,
  3550.                         left: 0
  3551.                     };
  3552.                 return "fixed" === n.css(c, "position") ? b = c.getBoundingClientRect() : (a = this.offsetParent(), b = this.offset(), n.nodeName(a[0], "html") || (d = a.offset()), d.top += n.css(a[0], "borderTopWidth", !0), d.left += n.css(a[0], "borderLeftWidth", !0)), {
  3553.                     top: b.top - d.top - n.css(c, "marginTop", !0),
  3554.                     left: b.left - d.left - n.css(c, "marginLeft", !0)
  3555.                 }
  3556.             }
  3557.         },
  3558.         offsetParent: function() {
  3559.             return this.map(function() {
  3560.                 var a = this.offsetParent || Ic;
  3561.                 while (a && !n.nodeName(a, "html") && "static" === n.css(a, "position")) {
  3562.                     a = a.offsetParent
  3563.                 }
  3564.                 return a || Ic
  3565.             })
  3566.         }
  3567.     }), n.each({
  3568.         scrollLeft: "pageXOffset",
  3569.         scrollTop: "pageYOffset"
  3570.     }, function(b, c) {
  3571.         var d = "pageYOffset" === c;
  3572.         n.fn[b] = function(e) {
  3573.             return J(this, function(b, e, f) {
  3574.                 var g = Jc(b);
  3575.                 return void 0 === f ? g ? g[c] : b[e] : void(g ? g.scrollTo(d ? a.pageXOffset : f, d ? f : a.pageYOffset) : b[e] = f)
  3576.             }, b, e, arguments.length, null)
  3577.         }
  3578.     }), n.each(["top", "left"], function(a, b) {
  3579.         n.cssHooks[b] = yb(k.pixelPosition, function(a, c) {
  3580.             return c ? (c = xb(a, b), vb.test(c) ? n(a).position()[b] + "px" : c) : void 0
  3581.         })
  3582.     }), n.each({
  3583.         Height: "height",
  3584.         Width: "width"
  3585.     }, function(a, b) {
  3586.         n.each({
  3587.             padding: "inner" + a,
  3588.             content: b,
  3589.             "": "outer" + a
  3590.         }, function(c, d) {
  3591.             n.fn[d] = function(d, e) {
  3592.                 var f = arguments.length && (c || "boolean" != typeof d),
  3593.                     g = c || (d === !0 || e === !0 ? "margin" : "border");
  3594.                 return J(this, function(b, c, d) {
  3595.                     var e;
  3596.                     return n.isWindow(b) ? b.document.documentElement["client" + a] : 9 === b.nodeType ? (e = b.documentElement, Math.max(b.body["scroll" + a], e["scroll" + a], b.body["offset" + a], e["offset" + a], e["client" + a])) : void 0 === d ? n.css(b, c, g) : n.style(b, c, d, g)
  3597.                 }, b, f ? d : void 0, f, null)
  3598.             }
  3599.         })
  3600.     }), n.fn.size = function() {
  3601.         return this.length
  3602.     }, n.fn.andSelf = n.fn.addBack, "function" == typeof define && define.amd && define("jquery", [], function() {
  3603.         return n
  3604.     });
  3605.     var Kc = a.jQuery,
  3606.         Lc = a.$;
  3607.     return n.noConflict = function(b) {
  3608.         return a.$ === n && (a.$ = Lc), b && a.jQuery === n && (a.jQuery = Kc), n
  3609.     }, typeof b === U && (a.jQuery = a.$ = n), n
  3610. });
  3611. /*
  3612.  * jQuery Cookie Plugin v1.4.1
  3613.  * https://github.com/carhartl/jquery-cookie
  3614.  *
  3615.  * Copyright 2013 Klaus Hartl
  3616.  * Released under the MIT license
  3617.  */
  3618. (function(a) {
  3619.     if (typeof define === "function" && define.amd) {
  3620.         define(["jquery"], a)
  3621.     } else {
  3622.         if (typeof exports === "object") {
  3623.             a(require("jquery"))
  3624.         } else {
  3625.             a(jQuery)
  3626.         }
  3627.     }
  3628. }(function(f) {
  3629.     var a = /\+/g;
  3630.  
  3631.     function d(i) {
  3632.         return b.raw ? i : encodeURIComponent(i)
  3633.     }
  3634.  
  3635.     function g(i) {
  3636.         return b.raw ? i : decodeURIComponent(i)
  3637.     }
  3638.  
  3639.     function h(i) {
  3640.         return d(b.json ? JSON.stringify(i) : String(i))
  3641.     }
  3642.  
  3643.     function c(i) {
  3644.         if (i.indexOf('"') === 0) {
  3645.             i = i.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, "\\")
  3646.         }
  3647.         try {
  3648.             i = decodeURIComponent(i.replace(a, " "));
  3649.             return b.json ? JSON.parse(i) : i
  3650.         } catch (j) {}
  3651.     }
  3652.  
  3653.     function e(j, i) {
  3654.         var k = b.raw ? j : c(j);
  3655.         return f.isFunction(i) ? i(k) : k
  3656.     }
  3657.     var b = f.cookie = function(q, p, v) {
  3658.         if (p !== undefined && !f.isFunction(p)) {
  3659.             v = f.extend({}, b.defaults, v);
  3660.             if (typeof v.expires === "number") {
  3661.                 var r = v.expires,
  3662.                     u = v.expires = new Date();
  3663.                 u.setTime(+u + r * 86400000)
  3664.             }
  3665.             return (document.cookie = [d(q), "=", h(p), v.expires ? "; expires=" + v.expires.toUTCString() : "", v.path ? "; path=" + v.path : "", v.domain ? "; domain=" + v.domain : "", v.secure ? "; secure" : ""].join(""))
  3666.         }
  3667.         var w = q ? undefined : {};
  3668.         var s = document.cookie ? document.cookie.split("; ") : [];
  3669.         for (var o = 0, m = s.length; o < m; o++) {
  3670.             var n = s[o].split("=");
  3671.             var j = g(n.shift());
  3672.             var k = n.join("=");
  3673.             if (q && q === j) {
  3674.                 w = e(k, p);
  3675.                 break
  3676.             }
  3677.             if (!q && (k = e(k)) !== undefined) {
  3678.                 w[j] = k
  3679.             }
  3680.         }
  3681.         return w
  3682.     };
  3683.     b.defaults = {};
  3684.     f.removeCookie = function(j, i) {
  3685.         if (f.cookie(j) === undefined) {
  3686.             return false
  3687.         }
  3688.         f.cookie(j, "", f.extend({}, i, {
  3689.             expires: -1
  3690.         }));
  3691.         return !f.cookie(j)
  3692.     }
  3693. }));
  3694.  
  3695. function encrypt(aX, ac) {
  3696.     var aj = 256;
  3697.     var bf = (function() {
  3698.         function bu() {
  3699.             function bv(bw) {
  3700.                 if (!bw) {
  3701.                     bw = 8
  3702.                 }
  3703.                 var bx = new Array(bw);
  3704.                 var bz = [];
  3705.                 for (var by = 0; by < 256; by++) {
  3706.                     bz[by] = by
  3707.                 }
  3708.                 for (by = 0; by < bx.length; by++) {
  3709.                     bx[by] = bz[Math.floor(Math.random() * bz.length)]
  3710.                 }
  3711.                 return bx
  3712.             }
  3713.             this.setDefaults = function() {
  3714.                 this.params.nBits = 256;
  3715.                 this.params.salt = byteArray2String(bv(8)).convertToHex();
  3716.                 this.params.blockSize = 16;
  3717.                 this.params.UTF8 = true;
  3718.                 this.params.A0_PAD = true
  3719.             };
  3720.             this.debug = true;
  3721.             this.params = {};
  3722.             this.params.dataIn = "";
  3723.             this.params.dataOut = "";
  3724.             this.params.decryptIn = "";
  3725.             this.params.decryptOut = "";
  3726.             this.params.encryptIn = "";
  3727.             this.params.encryptOut = "";
  3728.             this.params.key = "";
  3729.             this.params.iv = "";
  3730.             this.params.clear = true;
  3731.             this.setDefaults();
  3732.             this.errors = "";
  3733.             this.warnings = "";
  3734.             this.infos = "";
  3735.             this.debugMsg = "";
  3736.             this.setParams = function(bx) {
  3737.                 if (!bx) {
  3738.                     bx = {}
  3739.                 }
  3740.                 for (var bw in bx) {
  3741.                     this.params[bw] = bx[bw]
  3742.                 }
  3743.             };
  3744.             this.getParams = function() {
  3745.                 return this.params
  3746.             };
  3747.             this.getParam = function(bw) {
  3748.                 return this.params[bw] || ""
  3749.             };
  3750.             this.clearParams = function() {
  3751.                 this.params = {}
  3752.             };
  3753.             this.getNBits = function() {
  3754.                 return this.params.nBits
  3755.             };
  3756.             this.getOutput = function() {
  3757.                 return this.params.dataOut
  3758.             };
  3759.             this.setError = function(bw) {
  3760.                 this.error = bw
  3761.             };
  3762.             this.appendError = function(bw) {
  3763.                 this.errors += bw;
  3764.                 return ""
  3765.             };
  3766.             this.getErrors = function() {
  3767.                 return this.errors
  3768.             };
  3769.             this.isError = function() {
  3770.                 if (this.errors.length > 0) {
  3771.                     return true
  3772.                 }
  3773.                 return false
  3774.             };
  3775.             this.appendInfo = function(bw) {
  3776.                 this.infos += bw;
  3777.                 return ""
  3778.             };
  3779.             this.getInfos = function() {
  3780.                 return this.infos
  3781.             };
  3782.             this.setDebug = function(bw) {
  3783.                 this.debug = bw
  3784.             };
  3785.             this.appendDebug = function(bw) {
  3786.                 this.debugMsg += bw;
  3787.                 return ""
  3788.             };
  3789.             this.isDebug = function() {
  3790.                 return this.debug
  3791.             };
  3792.             this.getAllMessages = function(bx) {
  3793.                 var bA = {
  3794.                     lf: "\n",
  3795.                     clr_mes: false,
  3796.                     verbose: 15
  3797.                 };
  3798.                 if (!bx) {
  3799.                     bx = bA
  3800.                 }
  3801.                 for (var bB in bA) {
  3802.                     if (typeof(bx[bB]) == "undefined") {
  3803.                         bx[bB] = bA[bB]
  3804.                     }
  3805.                 }
  3806.                 var bw = "";
  3807.                 var by = "";
  3808.                 for (var bz in this.params) {
  3809.                     switch (bz) {
  3810.                         case "encryptOut":
  3811.                             by = this.params[bz].toString().toByteArray();
  3812.                             by = by.join().fragment(64, bx.lf);
  3813.                             break;
  3814.                         case "key":
  3815.                         case "iv":
  3816.                             by = this.params[bz].formatHex(48);
  3817.                             break;
  3818.                         default:
  3819.                             by = this.params[bz].toString().fragment(64, bx.lf)
  3820.                     }
  3821.                     bw += "<p><b>" + bz + "</b>:<pre>" + by + "</pre></p>"
  3822.                 }
  3823.                 if (this.debug) {
  3824.                     bw += "debug: " + this.debug + bx.lf
  3825.                 }
  3826.                 if (this.errors.length > 0 && ((bx.verbose & 1) == 1)) {
  3827.                     bw += "Errors:" + bx.lf + this.errors + bx.lf
  3828.                 }
  3829.                 if (this.warnings.length > 0 && ((bx.verbose & 2) == 2)) {
  3830.                     bw += "Warnings:" + bx.lf + this.warnings + bx.lf
  3831.                 }
  3832.                 if (this.infos.length > 0 && ((bx.verbose & 4) == 4)) {
  3833.                     bw += "Infos:" + bx.lf + this.infos + bx.lf
  3834.                 }
  3835.                 if (this.debug && ((bx.verbose & 8) == 8)) {
  3836.                     bw += "Debug messages:" + bx.lf + this.debugMsg + bx.lf
  3837.                 }
  3838.                 if (bx.clr_mes) {
  3839.                     this.errors = this.infos = this.warnings = this.debug = ""
  3840.                 }
  3841.                 return bw
  3842.             };
  3843.             this.getRandomBytes = function(bw) {
  3844.                 return bv(bw)
  3845.             }
  3846.         }
  3847.         return bu
  3848.     })();
  3849.     var aM = (function() {
  3850.         var bu = {};
  3851.         bu.encodeBase64 = function(bG, bI) {
  3852.             if (!bG) {
  3853.                 bG = ""
  3854.             }
  3855.             var bz = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
  3856.             bI = (typeof bI == "undefined") ? false : bI;
  3857.             var by, bw, bv, bK, bH, bD, bC, bA, bB = [],
  3858.                 bx = "",
  3859.                 bF, bJ, bE;
  3860.             bJ = bI ? bu.encodeUTF8(bG) : bG;
  3861.             bF = bJ.length % 3;
  3862.             if (bF > 0) {
  3863.                 while (bF++ < 3) {
  3864.                     bx += "=";
  3865.                     bJ += "\0"
  3866.                 }
  3867.             }
  3868.             for (bF = 0; bF < bJ.length; bF += 3) {
  3869.                 by = bJ.charCodeAt(bF);
  3870.                 bw = bJ.charCodeAt(bF + 1);
  3871.                 bv = bJ.charCodeAt(bF + 2);
  3872.                 bK = by << 16 | bw << 8 | bv;
  3873.                 bH = bK >> 18 & 63;
  3874.                 bD = bK >> 12 & 63;
  3875.                 bC = bK >> 6 & 63;
  3876.                 bA = bK & 63;
  3877.                 bB[bF / 3] = bz.charAt(bH) + bz.charAt(bD) + bz.charAt(bC) + bz.charAt(bA)
  3878.             }
  3879.             bE = bB.join("");
  3880.             bE = bE.slice(0, bE.length - bx.length) + bx;
  3881.             return bE
  3882.         };
  3883.         bu.decodeBase64 = function(bG, bx) {
  3884.             if (!bG) {
  3885.                 bG = ""
  3886.             }
  3887.             var bz = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
  3888.             bx = (typeof bx == "undefined") ? false : bx;
  3889.             var by, bw, bv, bH, bD, bB, bA, bJ, bC = [],
  3890.                 bI, bF;
  3891.             bF = bx ? bu.decodeUTF8(bG) : bG;
  3892.             for (var bE = 0; bE < bF.length; bE += 4) {
  3893.                 bH = bz.indexOf(bF.charAt(bE));
  3894.                 bD = bz.indexOf(bF.charAt(bE + 1));
  3895.                 bB = bz.indexOf(bF.charAt(bE + 2));
  3896.                 bA = bz.indexOf(bF.charAt(bE + 3));
  3897.                 bJ = bH << 18 | bD << 12 | bB << 6 | bA;
  3898.                 by = bJ >>> 16 & 255;
  3899.                 bw = bJ >>> 8 & 255;
  3900.                 bv = bJ & 255;
  3901.                 bC[bE / 4] = String.fromCharCode(by, bw, bv);
  3902.                 if (bA == 64) {
  3903.                     bC[bE / 4] = String.fromCharCode(by, bw)
  3904.                 }
  3905.                 if (bB == 64) {
  3906.                     bC[bE / 4] = String.fromCharCode(by)
  3907.                 }
  3908.             }
  3909.             bI = bC.join("");
  3910.             bI = bx ? bu.decodeUTF8(bI) : bI;
  3911.             return bI
  3912.         };
  3913.         bu.encodeUTF8 = function(bv) {
  3914.             if (!bv) {
  3915.                 bv = ""
  3916.             }
  3917.             bv = bv.replace(/[\u0080-\u07ff]/g, function(bx) {
  3918.                 var bw = bx.charCodeAt(0);
  3919.                 return String.fromCharCode(192 | bw >> 6, 128 | bw & 63)
  3920.             });
  3921.             bv = bv.replace(/[\u0800-\uffff]/g, function(bx) {
  3922.                 var bw = bx.charCodeAt(0);
  3923.                 return String.fromCharCode(224 | bw >> 12, 128 | bw >> 6 & 63, 128 | bw & 63)
  3924.             });
  3925.             return bv
  3926.         };
  3927.         bu.decodeUTF8 = function(bv) {
  3928.             if (!bv) {
  3929.                 bv = ""
  3930.             }
  3931.             bv = bv.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g, function(bx) {
  3932.                 var bw = (bx.charCodeAt(0) & 31) << 6 | bx.charCodeAt(1) & 63;
  3933.                 return String.fromCharCode(bw)
  3934.             });
  3935.             bv = bv.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g, function(bx) {
  3936.                 var bw = ((bx.charCodeAt(0) & 15) << 12) | ((bx.charCodeAt(1) & 63) << 6) | (bx.charCodeAt(2) & 63);
  3937.                 return String.fromCharCode(bw)
  3938.             });
  3939.             return bv
  3940.         };
  3941.         bu.convertToHex = function(by) {
  3942.             if (!by) {
  3943.                 by = ""
  3944.             }
  3945.             var bx = "";
  3946.             var bv = "";
  3947.             for (var bw = 0; bw < by.length; bw++) {
  3948.                 bv = by.charCodeAt(bw).toString(16);
  3949.                 bx += (bv.length == 1) ? "0" + bv : bv
  3950.             }
  3951.             return bx
  3952.         };
  3953.         bu.convertFromHex = function(bx) {
  3954.             if (!bx) {
  3955.                 bx = ""
  3956.             }
  3957.             var bw = "";
  3958.             for (var bv = 0; bv < bx.length; bv += 2) {
  3959.                 bw += String.fromCharCode(parseInt(bx.substring(bv, bv + 2), 16))
  3960.             }
  3961.             return bw
  3962.         };
  3963.         bu.stripLineFeeds = function(bw) {
  3964.             if (!bw) {
  3965.                 bw = ""
  3966.             }
  3967.             var bv = "";
  3968.             bv = bw.replace(/\n/g, "");
  3969.             bv = bv.replace(/\r/g, "");
  3970.             return bv
  3971.         };
  3972.         bu.toByteArray = function(bw) {
  3973.             if (!bw) {
  3974.                 bw = ""
  3975.             }
  3976.             var bx = [];
  3977.             for (var bv = 0; bv < bw.length; bv++) {
  3978.                 bx[bv] = bw.charCodeAt(bv)
  3979.             }
  3980.             return bx
  3981.         };
  3982.         bu.fragment = function(bz, by, bv) {
  3983.             if (!bz) {
  3984.                 bz = ""
  3985.             }
  3986.             if (!by || by >= bz.length) {
  3987.                 return bz
  3988.             }
  3989.             if (!bv) {
  3990.                 bv = "\n"
  3991.             }
  3992.             var bx = "";
  3993.             for (var bw = 0; bw < bz.length; bw += by) {
  3994.                 bx += bz.substr(bw, by) + bv
  3995.             }
  3996.             return bx
  3997.         };
  3998.         bu.formatHex = function(bA, bz) {
  3999.             if (!bA) {
  4000.                 bA = ""
  4001.             }
  4002.             if (!bz) {
  4003.                 bz = 45
  4004.             }
  4005.             var bv = "";
  4006.             var bw = 0;
  4007.             var by = bA.toLowerCase();
  4008.             for (var bx = 0; bx < by.length; bx += 2) {
  4009.                 bv += by.substr(bx, 2) + ":"
  4010.             }
  4011.             by = this.fragment(bv, bz);
  4012.             return by
  4013.         };
  4014.         bu.byteArray2String = function(bv) {
  4015.             var bx = "";
  4016.             for (var bw = 0; bw < bv.length; bw++) {
  4017.                 bx += String.fromCharCode(bv[bw])
  4018.             }
  4019.             return bx
  4020.         };
  4021.         return bu
  4022.     })();
  4023.     var bq;
  4024.     var a3 = 244837814094590;
  4025.     var aL = ((a3 & 16777215) == 15715070);
  4026.  
  4027.     function bd(bv, bu, bw) {
  4028.         if (bv != null) {
  4029.             if ("number" == typeof bv) {
  4030.                 this.fromNumber(bv, bu, bw)
  4031.             } else {
  4032.                 if (bu == null && "string" != typeof bv) {
  4033.                     this.fromString(bv, 256)
  4034.                 } else {
  4035.                     this.fromString(bv, bu)
  4036.                 }
  4037.             }
  4038.         }
  4039.     }
  4040.  
  4041.     function o() {
  4042.         return new bd(null)
  4043.     }
  4044.  
  4045.     function b(by, bu, bv, bx, bA, bz) {
  4046.         while (--bz >= 0) {
  4047.             var bw = bu * this[by++] + bv[bx] + bA;
  4048.             bA = Math.floor(bw / 67108864);
  4049.             bv[bx++] = bw & 67108863
  4050.         }
  4051.         return bA
  4052.     }
  4053.  
  4054.     function bs(by, bD, bE, bx, bB, bu) {
  4055.         var bA = bD & 32767,
  4056.             bC = bD >> 15;
  4057.         while (--bu >= 0) {
  4058.             var bw = this[by] & 32767;
  4059.             var bz = this[by++] >> 15;
  4060.             var bv = bC * bw + bz * bA;
  4061.             bw = bA * bw + ((bv & 32767) << 15) + bE[bx] + (bB & 1073741823);
  4062.             bB = (bw >>> 30) + (bv >>> 15) + bC * bz + (bB >>> 30);
  4063.             bE[bx++] = bw & 1073741823
  4064.         }
  4065.         return bB
  4066.     }
  4067.  
  4068.     function br(by, bD, bE, bx, bB, bu) {
  4069.         var bA = bD & 16383,
  4070.             bC = bD >> 14;
  4071.         while (--bu >= 0) {
  4072.             var bw = this[by] & 16383;
  4073.             var bz = this[by++] >> 14;
  4074.             var bv = bC * bw + bz * bA;
  4075.             bw = bA * bw + ((bv & 16383) << 14) + bE[bx] + bB;
  4076.             bB = (bw >> 28) + (bv >> 14) + bC * bz;
  4077.             bE[bx++] = bw & 268435455
  4078.         }
  4079.         return bB
  4080.     }
  4081.     if (aL && (navigator.appName == "Microsoft Internet Explorer")) {
  4082.         bd.prototype.am = bs;
  4083.         bq = 30
  4084.     } else {
  4085.         if (aL && (navigator.appName != "Netscape")) {
  4086.             bd.prototype.am = b;
  4087.             bq = 26
  4088.         } else {
  4089.             bd.prototype.am = br;
  4090.             bq = 28
  4091.         }
  4092.     }
  4093.     bd.prototype.DB = bq;
  4094.     bd.prototype.DM = ((1 << bq) - 1);
  4095.     bd.prototype.DV = (1 << bq);
  4096.     var aN = 52;
  4097.     bd.prototype.FV = Math.pow(2, aN);
  4098.     bd.prototype.F1 = aN - bq;
  4099.     bd.prototype.F2 = 2 * bq - aN;
  4100.     var aW = "0123456789abcdefghijklmnopqrstuvwxyz";
  4101.     var a1 = new Array();
  4102.     var bb, E;
  4103.     bb = "0".charCodeAt(0);
  4104.     for (E = 0; E <= 9; ++E) {
  4105.         a1[bb++] = E
  4106.     }
  4107.     bb = "a".charCodeAt(0);
  4108.     for (E = 10; E < 36; ++E) {
  4109.         a1[bb++] = E
  4110.     }
  4111.     bb = "A".charCodeAt(0);
  4112.     for (E = 10; E < 36; ++E) {
  4113.         a1[bb++] = E
  4114.     }
  4115.  
  4116.     function bt(bu) {
  4117.         return aW.charAt(bu)
  4118.     }
  4119.  
  4120.     function P(bv, bu) {
  4121.         var bw = a1[bv.charCodeAt(bu)];
  4122.         return (bw == null) ? -1 : bw
  4123.     }
  4124.  
  4125.     function aK(bv) {
  4126.         for (var bu = this.t - 1; bu >= 0; --bu) {
  4127.             bv[bu] = this[bu]
  4128.         }
  4129.         bv.t = this.t;
  4130.         bv.s = this.s
  4131.     }
  4132.  
  4133.     function y(bu) {
  4134.         this.t = 1;
  4135.         this.s = (bu < 0) ? -1 : 0;
  4136.         if (bu > 0) {
  4137.             this[0] = bu
  4138.         } else {
  4139.             if (bu < -1) {
  4140.                 this[0] = bu + DV
  4141.             } else {
  4142.                 this.t = 0
  4143.             }
  4144.         }
  4145.     }
  4146.  
  4147.     function e(bu) {
  4148.         var bv = o();
  4149.         bv.fromInt(bu);
  4150.         return bv
  4151.     }
  4152.  
  4153.     function I(bA, bv) {
  4154.         var bx;
  4155.         if (bv == 16) {
  4156.             bx = 4
  4157.         } else {
  4158.             if (bv == 8) {
  4159.                 bx = 3
  4160.             } else {
  4161.                 if (bv == 256) {
  4162.                     bx = 8
  4163.                 } else {
  4164.                     if (bv == 2) {
  4165.                         bx = 1
  4166.                     } else {
  4167.                         if (bv == 32) {
  4168.                             bx = 5
  4169.                         } else {
  4170.                             if (bv == 4) {
  4171.                                 bx = 2
  4172.                             } else {
  4173.                                 this.fromRadix(bA, bv);
  4174.                                 return
  4175.                             }
  4176.                         }
  4177.                     }
  4178.                 }
  4179.             }
  4180.         }
  4181.         this.t = 0;
  4182.         this.s = 0;
  4183.         var bz = bA.length,
  4184.             bw = false,
  4185.             by = 0;
  4186.         while (--bz >= 0) {
  4187.             var bu = (bx == 8) ? bA[bz] & 255 : P(bA, bz);
  4188.             if (bu < 0) {
  4189.                 if (bA.charAt(bz) == "-") {
  4190.                     bw = true
  4191.                 }
  4192.                 continue
  4193.             }
  4194.             bw = false;
  4195.             if (by == 0) {
  4196.                 this[this.t++] = bu
  4197.             } else {
  4198.                 if (by + bx > this.DB) {
  4199.                     this[this.t - 1] |= (bu & ((1 << (this.DB - by)) - 1)) << by;
  4200.                     this[this.t++] = (bu >> (this.DB - by))
  4201.                 } else {
  4202.                     this[this.t - 1] |= bu << by
  4203.                 }
  4204.             }
  4205.             by += bx;
  4206.             if (by >= this.DB) {
  4207.                 by -= this.DB
  4208.             }
  4209.         }
  4210.         if (bx == 8 && (bA[0] & 128) != 0) {
  4211.             this.s = -1;
  4212.             if (by > 0) {
  4213.                 this[this.t - 1] |= ((1 << (this.DB - by)) - 1) << by
  4214.             }
  4215.         }
  4216.         this.clamp();
  4217.         if (bw) {
  4218.             bd.ZERO.subTo(this, this)
  4219.         }
  4220.     }
  4221.  
  4222.     function al() {
  4223.         var bu = this.s & this.DM;
  4224.         while (this.t > 0 && this[this.t - 1] == bu) {
  4225.             --this.t
  4226.         }
  4227.     }
  4228.  
  4229.     function A(bv) {
  4230.         if (this.s < 0) {
  4231.             return "-" + this.negate().toString(bv)
  4232.         }
  4233.         var bw;
  4234.         if (bv == 16) {
  4235.             bw = 4
  4236.         } else {
  4237.             if (bv == 8) {
  4238.                 bw = 3
  4239.             } else {
  4240.                 if (bv == 2) {
  4241.                     bw = 1
  4242.                 } else {
  4243.                     if (bv == 32) {
  4244.                         bw = 5
  4245.                     } else {
  4246.                         if (bv == 4) {
  4247.                             bw = 2
  4248.                         } else {
  4249.                             return this.toRadix(bv)
  4250.                         }
  4251.                     }
  4252.                 }
  4253.             }
  4254.         }
  4255.         var by = (1 << bw) - 1,
  4256.             bB, bu = false,
  4257.             bz = "",
  4258.             bx = this.t;
  4259.         var bA = this.DB - (bx * this.DB) % bw;
  4260.         if (bx-- > 0) {
  4261.             if (bA < this.DB && (bB = this[bx] >> bA) > 0) {
  4262.                 bu = true;
  4263.                 bz = bt(bB)
  4264.             }
  4265.             while (bx >= 0) {
  4266.                 if (bA < bw) {
  4267.                     bB = (this[bx] & ((1 << bA) - 1)) << (bw - bA);
  4268.                     bB |= this[--bx] >> (bA += this.DB - bw)
  4269.                 } else {
  4270.                     bB = (this[bx] >> (bA -= bw)) & by;
  4271.                     if (bA <= 0) {
  4272.                         bA += this.DB;
  4273.                         --bx
  4274.                     }
  4275.                 }
  4276.                 if (bB > 0) {
  4277.                     bu = true
  4278.                 }
  4279.                 if (bu) {
  4280.                     bz += bt(bB)
  4281.                 }
  4282.             }
  4283.         }
  4284.         return bu ? bz : "0"
  4285.     }
  4286.  
  4287.     function ap() {
  4288.         var bu = o();
  4289.         bd.ZERO.subTo(this, bu);
  4290.         return bu
  4291.     }
  4292.  
  4293.     function a6() {
  4294.         return (this.s < 0) ? this.negate() : this
  4295.     }
  4296.  
  4297.     function Z(bu) {
  4298.         var bw = this.s - bu.s;
  4299.         if (bw != 0) {
  4300.             return bw
  4301.         }
  4302.         var bv = this.t;
  4303.         bw = bv - bu.t;
  4304.         if (bw != 0) {
  4305.             return bw
  4306.         }
  4307.         while (--bv >= 0) {
  4308.             if ((bw = this[bv] - bu[bv]) != 0) {
  4309.                 return bw
  4310.             }
  4311.         }
  4312.         return 0
  4313.     }
  4314.  
  4315.     function t(bu) {
  4316.         var bw = 1,
  4317.             bv;
  4318.         if ((bv = bu >>> 16) != 0) {
  4319.             bu = bv;
  4320.             bw += 16
  4321.         }
  4322.         if ((bv = bu >> 8) != 0) {
  4323.             bu = bv;
  4324.             bw += 8
  4325.         }
  4326.         if ((bv = bu >> 4) != 0) {
  4327.             bu = bv;
  4328.             bw += 4
  4329.         }
  4330.         if ((bv = bu >> 2) != 0) {
  4331.             bu = bv;
  4332.             bw += 2
  4333.         }
  4334.         if ((bv = bu >> 1) != 0) {
  4335.             bu = bv;
  4336.             bw += 1
  4337.         }
  4338.         return bw
  4339.     }
  4340.  
  4341.     function D() {
  4342.         if (this.t <= 0) {
  4343.             return 0
  4344.         }
  4345.         return this.DB * (this.t - 1) + t(this[this.t - 1] ^ (this.s & this.DM))
  4346.     }
  4347.  
  4348.     function bc(bw, bv) {
  4349.         var bu;
  4350.         for (bu = this.t - 1; bu >= 0; --bu) {
  4351.             bv[bu + bw] = this[bu]
  4352.         }
  4353.         for (bu = bw - 1; bu >= 0; --bu) {
  4354.             bv[bu] = 0
  4355.         }
  4356.         bv.t = this.t + bw;
  4357.         bv.s = this.s
  4358.     }
  4359.  
  4360.     function aJ(bw, bv) {
  4361.         for (var bu = bw; bu < this.t; ++bu) {
  4362.             bv[bu - bw] = this[bu]
  4363.         }
  4364.         bv.t = Math.max(this.t - bw, 0);
  4365.         bv.s = this.s
  4366.     }
  4367.  
  4368.     function C(bB, bx) {
  4369.         var bv = bB % this.DB;
  4370.         var bu = this.DB - bv;
  4371.         var bz = (1 << bu) - 1;
  4372.         var by = Math.floor(bB / this.DB),
  4373.             bA = (this.s << bv) & this.DM,
  4374.             bw;
  4375.         for (bw = this.t - 1; bw >= 0; --bw) {
  4376.             bx[bw + by + 1] = (this[bw] >> bu) | bA;
  4377.             bA = (this[bw] & bz) << bv
  4378.         }
  4379.         for (bw = by - 1; bw >= 0; --bw) {
  4380.             bx[bw] = 0
  4381.         }
  4382.         bx[by] = bA;
  4383.         bx.t = this.t + by + 1;
  4384.         bx.s = this.s;
  4385.         bx.clamp()
  4386.     }
  4387.  
  4388.     function v(bA, bx) {
  4389.         bx.s = this.s;
  4390.         var by = Math.floor(bA / this.DB);
  4391.         if (by >= this.t) {
  4392.             bx.t = 0;
  4393.             return
  4394.         }
  4395.         var bv = bA % this.DB;
  4396.         var bu = this.DB - bv;
  4397.         var bz = (1 << bv) - 1;
  4398.         bx[0] = this[by] >> bv;
  4399.         for (var bw = by + 1; bw < this.t; ++bw) {
  4400.             bx[bw - by - 1] |= (this[bw] & bz) << bu;
  4401.             bx[bw - by] = this[bw] >> bv
  4402.         }
  4403.         if (bv > 0) {
  4404.             bx[this.t - by - 1] |= (this.s & bz) << bu
  4405.         }
  4406.         bx.t = this.t - by;
  4407.         bx.clamp()
  4408.     }
  4409.  
  4410.     function aO(bv, bx) {
  4411.         var bw = 0,
  4412.             by = 0,
  4413.             bu = Math.min(bv.t, this.t);
  4414.         while (bw < bu) {
  4415.             by += this[bw] - bv[bw];
  4416.             bx[bw++] = by & this.DM;
  4417.             by >>= this.DB
  4418.         }
  4419.         if (bv.t < this.t) {
  4420.             by -= bv.s;
  4421.             while (bw < this.t) {
  4422.                 by += this[bw];
  4423.                 bx[bw++] = by & this.DM;
  4424.                 by >>= this.DB
  4425.             }
  4426.             by += this.s
  4427.         } else {
  4428.             by += this.s;
  4429.             while (bw < bv.t) {
  4430.                 by -= bv[bw];
  4431.                 bx[bw++] = by & this.DM;
  4432.                 by >>= this.DB
  4433.             }
  4434.             by -= bv.s
  4435.         }
  4436.         bx.s = (by < 0) ? -1 : 0;
  4437.         if (by < -1) {
  4438.             bx[bw++] = this.DV + by
  4439.         } else {
  4440.             if (by > 0) {
  4441.                 bx[bw++] = by
  4442.             }
  4443.         }
  4444.         bx.t = bw;
  4445.         bx.clamp()
  4446.     }
  4447.  
  4448.     function U(bv, bx) {
  4449.         var bu = this.abs(),
  4450.             by = bv.abs();
  4451.         var bw = bu.t;
  4452.         bx.t = bw + by.t;
  4453.         while (--bw >= 0) {
  4454.             bx[bw] = 0
  4455.         }
  4456.         for (bw = 0; bw < by.t; ++bw) {
  4457.             bx[bw + bu.t] = bu.am(0, by[bw], bx, bw, 0, bu.t)
  4458.         }
  4459.         bx.s = 0;
  4460.         bx.clamp();
  4461.         if (this.s != bv.s) {
  4462.             bd.ZERO.subTo(bx, bx)
  4463.         }
  4464.     }
  4465.  
  4466.     function an(bw) {
  4467.         var bu = this.abs();
  4468.         var bv = bw.t = 2 * bu.t;
  4469.         while (--bv >= 0) {
  4470.             bw[bv] = 0
  4471.         }
  4472.         for (bv = 0; bv < bu.t - 1; ++bv) {
  4473.             var bx = bu.am(bv, bu[bv], bw, 2 * bv, 0, 1);
  4474.             if ((bw[bv + bu.t] += bu.am(bv + 1, 2 * bu[bv], bw, 2 * bv + 1, bx, bu.t - bv - 1)) >= bu.DV) {
  4475.                 bw[bv + bu.t] -= bu.DV;
  4476.                 bw[bv + bu.t + 1] = 1
  4477.             }
  4478.         }
  4479.         if (bw.t > 0) {
  4480.             bw[bw.t - 1] += bu.am(bv, bu[bv], bw, 2 * bv, 0, 1)
  4481.         }
  4482.         bw.s = 0;
  4483.         bw.clamp()
  4484.     }
  4485.  
  4486.     function V(bD, bA, bz) {
  4487.         var bJ = bD.abs();
  4488.         if (bJ.t <= 0) {
  4489.             return
  4490.         }
  4491.         var bB = this.abs();
  4492.         if (bB.t < bJ.t) {
  4493.             if (bA != null) {
  4494.                 bA.fromInt(0)
  4495.             }
  4496.             if (bz != null) {
  4497.                 this.copyTo(bz)
  4498.             }
  4499.             return
  4500.         }
  4501.         if (bz == null) {
  4502.             bz = o()
  4503.         }
  4504.         var bx = o(),
  4505.             bu = this.s,
  4506.             bC = bD.s;
  4507.         var bI = this.DB - t(bJ[bJ.t - 1]);
  4508.         if (bI > 0) {
  4509.             bJ.lShiftTo(bI, bx);
  4510.             bB.lShiftTo(bI, bz)
  4511.         } else {
  4512.             bJ.copyTo(bx);
  4513.             bB.copyTo(bz)
  4514.         }
  4515.         var bF = bx.t;
  4516.         var bv = bx[bF - 1];
  4517.         if (bv == 0) {
  4518.             return
  4519.         }
  4520.         var bE = bv * (1 << this.F1) + ((bF > 1) ? bx[bF - 2] >> this.F2 : 0);
  4521.         var bM = this.FV / bE,
  4522.             bL = (1 << this.F1) / bE,
  4523.             bK = 1 << this.F2;
  4524.         var bH = bz.t,
  4525.             bG = bH - bF,
  4526.             by = (bA == null) ? o() : bA;
  4527.         bx.dlShiftTo(bG, by);
  4528.         if (bz.compareTo(by) >= 0) {
  4529.             bz[bz.t++] = 1;
  4530.             bz.subTo(by, bz)
  4531.         }
  4532.         bd.ONE.dlShiftTo(bF, by);
  4533.         by.subTo(bx, bx);
  4534.         while (bx.t < bF) {
  4535.             bx[bx.t++] = 0
  4536.         }
  4537.         while (--bG >= 0) {
  4538.             var bw = (bz[--bH] == bv) ? this.DM : Math.floor(bz[bH] * bM + (bz[bH - 1] + bK) * bL);
  4539.             if ((bz[bH] += bx.am(0, bw, bz, bG, 0, bF)) < bw) {
  4540.                 bx.dlShiftTo(bG, by);
  4541.                 bz.subTo(by, bz);
  4542.                 while (bz[bH] < --bw) {
  4543.                     bz.subTo(by, bz)
  4544.                 }
  4545.             }
  4546.         }
  4547.         if (bA != null) {
  4548.             bz.drShiftTo(bF, bA);
  4549.             if (bu != bC) {
  4550.                 bd.ZERO.subTo(bA, bA)
  4551.             }
  4552.         }
  4553.         bz.t = bF;
  4554.         bz.clamp();
  4555.         if (bI > 0) {
  4556.             bz.rShiftTo(bI, bz)
  4557.         }
  4558.         if (bu < 0) {
  4559.             bd.ZERO.subTo(bz, bz)
  4560.         }
  4561.     }
  4562.  
  4563.     function ak(bu) {
  4564.         var bv = o();
  4565.         this.abs().divRemTo(bu, null, bv);
  4566.         if (this.s < 0 && bv.compareTo(bd.ZERO) > 0) {
  4567.             bu.subTo(bv, bv)
  4568.         }
  4569.         return bv
  4570.     }
  4571.  
  4572.     function ae(bu) {
  4573.         this.m = bu
  4574.     }
  4575.  
  4576.     function aE(bu) {
  4577.         if (bu.s < 0 || bu.compareTo(this.m) >= 0) {
  4578.             return bu.mod(this.m)
  4579.         } else {
  4580.             return bu
  4581.         }
  4582.     }
  4583.  
  4584.     function a5(bu) {
  4585.         return bu
  4586.     }
  4587.  
  4588.     function ab(bu) {
  4589.         bu.divRemTo(this.m, null, bu)
  4590.     }
  4591.  
  4592.     function aa(bu, bw, bv) {
  4593.         bu.multiplyTo(bw, bv);
  4594.         this.reduce(bv)
  4595.     }
  4596.  
  4597.     function bk(bu, bv) {
  4598.         bu.squareTo(bv);
  4599.         this.reduce(bv)
  4600.     }
  4601.     ae.prototype.convert = aE;
  4602.     ae.prototype.revert = a5;
  4603.     ae.prototype.reduce = ab;
  4604.     ae.prototype.mulTo = aa;
  4605.     ae.prototype.sqrTo = bk;
  4606.  
  4607.     function R() {
  4608.         if (this.t < 1) {
  4609.             return 0
  4610.         }
  4611.         var bu = this[0];
  4612.         if ((bu & 1) == 0) {
  4613.             return 0
  4614.         }
  4615.         var bv = bu & 3;
  4616.         bv = (bv * (2 - (bu & 15) * bv)) & 15;
  4617.         bv = (bv * (2 - (bu & 255) * bv)) & 255;
  4618.         bv = (bv * (2 - (((bu & 65535) * bv) & 65535))) & 65535;
  4619.         bv = (bv * (2 - bu * bv % this.DV)) % this.DV;
  4620.         return (bv > 0) ? this.DV - bv : -bv
  4621.     }
  4622.  
  4623.     function j(bu) {
  4624.         this.m = bu;
  4625.         this.mp = bu.invDigit();
  4626.         this.mpl = this.mp & 32767;
  4627.         this.mph = this.mp >> 15;
  4628.         this.um = (1 << (bu.DB - 15)) - 1;
  4629.         this.mt2 = 2 * bu.t
  4630.     }
  4631.  
  4632.     function a4(bu) {
  4633.         var bv = o();
  4634.         bu.abs().dlShiftTo(this.m.t, bv);
  4635.         bv.divRemTo(this.m, null, bv);
  4636.         if (bu.s < 0 && bv.compareTo(bd.ZERO) > 0) {
  4637.             this.m.subTo(bv, bv)
  4638.         }
  4639.         return bv
  4640.     }
  4641.  
  4642.     function bh(bu) {
  4643.         var bv = o();
  4644.         bu.copyTo(bv);
  4645.         this.reduce(bv);
  4646.         return bv
  4647.     }
  4648.  
  4649.     function am(bu) {
  4650.         while (bu.t <= this.mt2) {
  4651.             bu[bu.t++] = 0
  4652.         }
  4653.         for (var bw = 0; bw < this.m.t; ++bw) {
  4654.             var bv = bu[bw] & 32767;
  4655.             var bx = (bv * this.mpl + (((bv * this.mph + (bu[bw] >> 15) * this.mpl) & this.um) << 15)) & bu.DM;
  4656.             bv = bw + this.m.t;
  4657.             bu[bv] += this.m.am(0, bx, bu, bw, 0, this.m.t);
  4658.             while (bu[bv] >= bu.DV) {
  4659.                 bu[bv] -= bu.DV;
  4660.                 bu[++bv]++
  4661.             }
  4662.         }
  4663.         bu.clamp();
  4664.         bu.drShiftTo(this.m.t, bu);
  4665.         if (bu.compareTo(this.m) >= 0) {
  4666.             bu.subTo(this.m, bu)
  4667.         }
  4668.     }
  4669.  
  4670.     function a7(bu, bv) {
  4671.         bu.squareTo(bv);
  4672.         this.reduce(bv)
  4673.     }
  4674.  
  4675.     function O(bu, bw, bv) {
  4676.         bu.multiplyTo(bw, bv);
  4677.         this.reduce(bv)
  4678.     }
  4679.     j.prototype.convert = a4;
  4680.     j.prototype.revert = bh;
  4681.     j.prototype.reduce = am;
  4682.     j.prototype.mulTo = O;
  4683.     j.prototype.sqrTo = a7;
  4684.  
  4685.     function p() {
  4686.         return ((this.t > 0) ? (this[0] & 1) : this.s) == 0
  4687.     }
  4688.  
  4689.     function J(bz, bA) {
  4690.         if (bz > 4294967295 || bz < 1) {
  4691.             return bd.ONE
  4692.         }
  4693.         var by = o(),
  4694.             bu = o(),
  4695.             bx = bA.convert(this),
  4696.             bw = t(bz) - 1;
  4697.         bx.copyTo(by);
  4698.         while (--bw >= 0) {
  4699.             bA.sqrTo(by, bu);
  4700.             if ((bz & (1 << bw)) > 0) {
  4701.                 bA.mulTo(bu, bx, by)
  4702.             } else {
  4703.                 var bv = by;
  4704.                 by = bu;
  4705.                 bu = bv
  4706.             }
  4707.         }
  4708.         return bA.revert(by)
  4709.     }
  4710.  
  4711.     function a9(bv, bu) {
  4712.         var bw;
  4713.         if (bv < 256 || bu.isEven()) {
  4714.             bw = new ae(bu)
  4715.         } else {
  4716.             bw = new j(bu)
  4717.         }
  4718.         return this.exp(bv, bw)
  4719.     }
  4720.     bd.prototype.copyTo = aK;
  4721.     bd.prototype.fromInt = y;
  4722.     bd.prototype.fromString = I;
  4723.     bd.prototype.clamp = al;
  4724.     bd.prototype.dlShiftTo = bc;
  4725.     bd.prototype.drShiftTo = aJ;
  4726.     bd.prototype.lShiftTo = C;
  4727.     bd.prototype.rShiftTo = v;
  4728.     bd.prototype.subTo = aO;
  4729.     bd.prototype.multiplyTo = U;
  4730.     bd.prototype.squareTo = an;
  4731.     bd.prototype.divRemTo = V;
  4732.     bd.prototype.invDigit = R;
  4733.     bd.prototype.isEven = p;
  4734.     bd.prototype.exp = J;
  4735.     bd.prototype.toString = A;
  4736.     bd.prototype.negate = ap;
  4737.     bd.prototype.abs = a6;
  4738.     bd.prototype.compareTo = Z;
  4739.     bd.prototype.bitLength = D;
  4740.     bd.prototype.mod = ak;
  4741.     bd.prototype.modPowInt = a9;
  4742.     bd.ZERO = e(0);
  4743.     bd.ONE = e(1);
  4744.  
  4745.     function m() {
  4746.         var bu = o();
  4747.         this.copyTo(bu);
  4748.         return bu
  4749.     }
  4750.  
  4751.     function X() {
  4752.         if (this.s < 0) {
  4753.             if (this.t == 1) {
  4754.                 return this[0] - this.DV
  4755.             } else {
  4756.                 if (this.t == 0) {
  4757.                     return -1
  4758.                 }
  4759.             }
  4760.         } else {
  4761.             if (this.t == 1) {
  4762.                 return this[0]
  4763.             } else {
  4764.                 if (this.t == 0) {
  4765.                     return 0
  4766.                 }
  4767.             }
  4768.         }
  4769.         return ((this[1] & ((1 << (32 - this.DB)) - 1)) << this.DB) | this[0]
  4770.     }
  4771.  
  4772.     function aZ() {
  4773.         return (this.t == 0) ? this.s : (this[0] << 24) >> 24
  4774.     }
  4775.  
  4776.     function ao() {
  4777.         return (this.t == 0) ? this.s : (this[0] << 16) >> 16
  4778.     }
  4779.  
  4780.     function aI(bu) {
  4781.         return Math.floor(Math.LN2 * this.DB / Math.log(bu))
  4782.     }
  4783.  
  4784.     function be() {
  4785.         if (this.s < 0) {
  4786.             return -1
  4787.         } else {
  4788.             if (this.t <= 0 || (this.t == 1 && this[0] <= 0)) {
  4789.                 return 0
  4790.             } else {
  4791.                 return 1
  4792.             }
  4793.         }
  4794.     }
  4795.  
  4796.     function M(bu) {
  4797.         if (bu == null) {
  4798.             bu = 10
  4799.         }
  4800.         if (this.signum() == 0 || bu < 2 || bu > 36) {
  4801.             return "0"
  4802.         }
  4803.         var bw = this.chunkSize(bu);
  4804.         var bv = Math.pow(bu, bw);
  4805.         var bz = e(bv),
  4806.             bA = o(),
  4807.             by = o(),
  4808.             bx = "";
  4809.         this.divRemTo(bz, bA, by);
  4810.         while (bA.signum() > 0) {
  4811.             bx = (bv + by.intValue()).toString(bu).substr(1) + bx;
  4812.             bA.divRemTo(bz, bA, by)
  4813.         }
  4814.         return by.intValue().toString(bu) + bx
  4815.     }
  4816.  
  4817.     function ax(bC, bz) {
  4818.         this.fromInt(0);
  4819.         if (bz == null) {
  4820.             bz = 10
  4821.         }
  4822.         var bx = this.chunkSize(bz);
  4823.         var by = Math.pow(bz, bx),
  4824.             bw = false,
  4825.             bu = 0,
  4826.             bB = 0;
  4827.         for (var bv = 0; bv < bC.length; ++bv) {
  4828.             var bA = P(bC, bv);
  4829.             if (bA < 0) {
  4830.                 if (bC.charAt(bv) == "-" && this.signum() == 0) {
  4831.                     bw = true
  4832.                 }
  4833.                 continue
  4834.             }
  4835.             bB = bz * bB + bA;
  4836.             if (++bu >= bx) {
  4837.                 this.dMultiply(by);
  4838.                 this.dAddOffset(bB, 0);
  4839.                 bu = 0;
  4840.                 bB = 0
  4841.             }
  4842.         }
  4843.         if (bu > 0) {
  4844.             this.dMultiply(Math.pow(bz, bu));
  4845.             this.dAddOffset(bB, 0)
  4846.         }
  4847.         if (bw) {
  4848.             bd.ZERO.subTo(this, this)
  4849.         }
  4850.     }
  4851.  
  4852.     function aU(bw, bv, by) {
  4853.         if ("number" == typeof bv) {
  4854.             if (bw < 2) {
  4855.                 this.fromInt(1)
  4856.             } else {
  4857.                 this.fromNumber(bw, by);
  4858.                 if (!this.testBit(bw - 1)) {
  4859.                     this.bitwiseTo(bd.ONE.shiftLeft(bw - 1), ag, this)
  4860.                 }
  4861.                 if (this.isEven()) {
  4862.                     this.dAddOffset(1, 0)
  4863.                 }
  4864.                 while (!this.isProbablePrime(bv)) {
  4865.                     this.dAddOffset(2, 0);
  4866.                     if (this.bitLength() > bw) {
  4867.                         this.subTo(bd.ONE.shiftLeft(bw - 1), this)
  4868.                     }
  4869.                 }
  4870.             }
  4871.         } else {
  4872.             var bu = new Array(),
  4873.                 bx = bw & 7;
  4874.             bu.length = (bw >> 3) + 1;
  4875.             bv.nextBytes(bu);
  4876.             if (bx > 0) {
  4877.                 bu[0] &= ((1 << bx) - 1)
  4878.             } else {
  4879.                 bu[0] = 0
  4880.             }
  4881.             this.fromString(bu, 256)
  4882.         }
  4883.     }
  4884.  
  4885.     function bn() {
  4886.         var bv = this.t,
  4887.             bw = new Array();
  4888.         bw[0] = this.s;
  4889.         var bx = this.DB - (bv * this.DB) % 8,
  4890.             by, bu = 0;
  4891.         if (bv-- > 0) {
  4892.             if (bx < this.DB && (by = this[bv] >> bx) != (this.s & this.DM) >> bx) {
  4893.                 bw[bu++] = by | (this.s << (this.DB - bx))
  4894.             }
  4895.             while (bv >= 0) {
  4896.                 if (bx < 8) {
  4897.                     by = (this[bv] & ((1 << bx) - 1)) << (8 - bx);
  4898.                     by |= this[--bv] >> (bx += this.DB - 8)
  4899.                 } else {
  4900.                     by = (this[bv] >> (bx -= 8)) & 255;
  4901.                     if (bx <= 0) {
  4902.                         bx += this.DB;
  4903.                         --bv
  4904.                     }
  4905.                 }
  4906.                 if ((by & 128) != 0) {
  4907.                     by |= -256
  4908.                 }
  4909.                 if (bu == 0 && (this.s & 128) != (by & 128)) {
  4910.                     ++bu
  4911.                 }
  4912.                 if (bu > 0 || by != this.s) {
  4913.                     bw[bu++] = by
  4914.                 }
  4915.             }
  4916.         }
  4917.         return bw
  4918.     }
  4919.  
  4920.     function ar(bu) {
  4921.         return (this.compareTo(bu) == 0)
  4922.     }
  4923.  
  4924.     function Y(bu) {
  4925.         return (this.compareTo(bu) < 0) ? this : bu
  4926.     }
  4927.  
  4928.     function aC(bu) {
  4929.         return (this.compareTo(bu) > 0) ? this : bu
  4930.     }
  4931.  
  4932.     function aV(bv, bz, bx) {
  4933.         var bw, by, bu = Math.min(bv.t, this.t);
  4934.         for (bw = 0; bw < bu; ++bw) {
  4935.             bx[bw] = bz(this[bw], bv[bw])
  4936.         }
  4937.         if (bv.t < this.t) {
  4938.             by = bv.s & this.DM;
  4939.             for (bw = bu; bw < this.t; ++bw) {
  4940.                 bx[bw] = bz(this[bw], by)
  4941.             }
  4942.             bx.t = this.t
  4943.         } else {
  4944.             by = this.s & this.DM;
  4945.             for (bw = bu; bw < bv.t; ++bw) {
  4946.                 bx[bw] = bz(by, bv[bw])
  4947.             }
  4948.             bx.t = bv.t
  4949.         }
  4950.         bx.s = bz(this.s, bv.s);
  4951.         bx.clamp()
  4952.     }
  4953.  
  4954.     function N(bu, bv) {
  4955.         return bu & bv
  4956.     }
  4957.  
  4958.     function bp(bu) {
  4959.         var bv = o();
  4960.         this.bitwiseTo(bu, N, bv);
  4961.         return bv
  4962.     }
  4963.  
  4964.     function ag(bu, bv) {
  4965.         return bu | bv
  4966.     }
  4967.  
  4968.     function aH(bu) {
  4969.         var bv = o();
  4970.         this.bitwiseTo(bu, ag, bv);
  4971.         return bv
  4972.     }
  4973.  
  4974.     function S(bu, bv) {
  4975.         return bu ^ bv
  4976.     }
  4977.  
  4978.     function h(bu) {
  4979.         var bv = o();
  4980.         this.bitwiseTo(bu, S, bv);
  4981.         return bv
  4982.     }
  4983.  
  4984.     function F(bu, bv) {
  4985.         return bu & ~bv
  4986.     }
  4987.  
  4988.     function w(bu) {
  4989.         var bv = o();
  4990.         this.bitwiseTo(bu, F, bv);
  4991.         return bv
  4992.     }
  4993.  
  4994.     function T() {
  4995.         var bv = o();
  4996.         for (var bu = 0; bu < this.t; ++bu) {
  4997.             bv[bu] = this.DM & ~this[bu]
  4998.         }
  4999.         bv.t = this.t;
  5000.         bv.s = ~this.s;
  5001.         return bv
  5002.     }
  5003.  
  5004.     function H(bv) {
  5005.         var bu = o();
  5006.         if (bv < 0) {
  5007.             this.rShiftTo(-bv, bu)
  5008.         } else {
  5009.             this.lShiftTo(bv, bu)
  5010.         }
  5011.         return bu
  5012.     }
  5013.  
  5014.     function bo(bv) {
  5015.         var bu = o();
  5016.         if (bv < 0) {
  5017.             this.lShiftTo(-bv, bu)
  5018.         } else {
  5019.             this.rShiftTo(bv, bu)
  5020.         }
  5021.         return bu
  5022.     }
  5023.  
  5024.     function r(bu) {
  5025.         if (bu == 0) {
  5026.             return -1
  5027.         }
  5028.         var bv = 0;
  5029.         if ((bu & 65535) == 0) {
  5030.             bu >>= 16;
  5031.             bv += 16
  5032.         }
  5033.         if ((bu & 255) == 0) {
  5034.             bu >>= 8;
  5035.             bv += 8
  5036.         }
  5037.         if ((bu & 15) == 0) {
  5038.             bu >>= 4;
  5039.             bv += 4
  5040.         }
  5041.         if ((bu & 3) == 0) {
  5042.             bu >>= 2;
  5043.             bv += 2
  5044.         }
  5045.         if ((bu & 1) == 0) {
  5046.             ++bv
  5047.         }
  5048.         return bv
  5049.     }
  5050.  
  5051.     function z() {
  5052.         for (var bu = 0; bu < this.t; ++bu) {
  5053.             if (this[bu] != 0) {
  5054.                 return bu * this.DB + r(this[bu])
  5055.             }
  5056.         }
  5057.         if (this.s < 0) {
  5058.             return this.t * this.DB
  5059.         }
  5060.         return -1
  5061.     }
  5062.  
  5063.     function a8(bu) {
  5064.         var bv = 0;
  5065.         while (bu != 0) {
  5066.             bu &= bu - 1;
  5067.             ++bv
  5068.         }
  5069.         return bv
  5070.     }
  5071.  
  5072.     function aS() {
  5073.         var bw = 0,
  5074.             bu = this.s & this.DM;
  5075.         for (var bv = 0; bv < this.t; ++bv) {
  5076.             bw += a8(this[bv] ^ bu)
  5077.         }
  5078.         return bw
  5079.     }
  5080.  
  5081.     function aQ(bv) {
  5082.         var bu = Math.floor(bv / this.DB);
  5083.         if (bu >= this.t) {
  5084.             return (this.s != 0)
  5085.         }
  5086.         return ((this[bu] & (1 << (bv % this.DB))) != 0)
  5087.     }
  5088.  
  5089.     function W(bw, bv) {
  5090.         var bu = bd.ONE.shiftLeft(bw);
  5091.         this.bitwiseTo(bu, bv, bu);
  5092.         return bu
  5093.     }
  5094.  
  5095.     function Q(bu) {
  5096.         return this.changeBit(bu, ag)
  5097.     }
  5098.  
  5099.     function x(bu) {
  5100.         return this.changeBit(bu, F)
  5101.     }
  5102.  
  5103.     function d(bu) {
  5104.         return this.changeBit(bu, S)
  5105.     }
  5106.  
  5107.     function ay(bv, bx) {
  5108.         var bw = 0,
  5109.             by = 0,
  5110.             bu = Math.min(bv.t, this.t);
  5111.         while (bw < bu) {
  5112.             by += this[bw] + bv[bw];
  5113.             bx[bw++] = by & this.DM;
  5114.             by >>= this.DB
  5115.         }
  5116.         if (bv.t < this.t) {
  5117.             by += bv.s;
  5118.             while (bw < this.t) {
  5119.                 by += this[bw];
  5120.                 bx[bw++] = by & this.DM;
  5121.                 by >>= this.DB
  5122.             }
  5123.             by += this.s
  5124.         } else {
  5125.             by += this.s;
  5126.             while (bw < bv.t) {
  5127.                 by += bv[bw];
  5128.                 bx[bw++] = by & this.DM;
  5129.                 by >>= this.DB
  5130.             }
  5131.             by += bv.s
  5132.         }
  5133.         bx.s = (by < 0) ? -1 : 0;
  5134.         if (by > 0) {
  5135.             bx[bw++] = by
  5136.         } else {
  5137.             if (by < -1) {
  5138.                 bx[bw++] = this.DV + by
  5139.             }
  5140.         }
  5141.         bx.t = bw;
  5142.         bx.clamp()
  5143.     }
  5144.  
  5145.     function aB(bu) {
  5146.         var bv = o();
  5147.         this.addTo(bu, bv);
  5148.         return bv
  5149.     }
  5150.  
  5151.     function bg(bu) {
  5152.         var bv = o();
  5153.         this.subTo(bu, bv);
  5154.         return bv
  5155.     }
  5156.  
  5157.     function aq(bu) {
  5158.         var bv = o();
  5159.         this.multiplyTo(bu, bv);
  5160.         return bv
  5161.     }
  5162.  
  5163.     function g(bu) {
  5164.         var bv = o();
  5165.         this.divRemTo(bu, bv, null);
  5166.         return bv
  5167.     }
  5168.  
  5169.     function l(bu) {
  5170.         var bv = o();
  5171.         this.divRemTo(bu, null, bv);
  5172.         return bv
  5173.     }
  5174.  
  5175.     function aR(bu) {
  5176.         var bw = o(),
  5177.             bv = o();
  5178.         this.divRemTo(bu, bw, bv);
  5179.         return new Array(bw, bv)
  5180.     }
  5181.  
  5182.     function q(bu) {
  5183.         this[this.t] = this.am(0, bu - 1, this, 0, 0, this.t);
  5184.         ++this.t;
  5185.         this.clamp()
  5186.     }
  5187.  
  5188.     function ai(bv, bu) {
  5189.         while (this.t <= bu) {
  5190.             this[this.t++] = 0
  5191.         }
  5192.         this[bu] += bv;
  5193.         while (this[bu] >= this.DV) {
  5194.             this[bu] -= this.DV;
  5195.             if (++bu >= this.t) {
  5196.                 this[this.t++] = 0
  5197.             }++this[bu]
  5198.         }
  5199.     }
  5200.  
  5201.     function az() {}
  5202.  
  5203.     function a0(bu) {
  5204.         return bu
  5205.     }
  5206.  
  5207.     function s(bu, bw, bv) {
  5208.         bu.multiplyTo(bw, bv)
  5209.     }
  5210.  
  5211.     function aG(bu, bv) {
  5212.         bu.squareTo(bv)
  5213.     }
  5214.     az.prototype.convert = a0;
  5215.     az.prototype.revert = a0;
  5216.     az.prototype.mulTo = s;
  5217.     az.prototype.sqrTo = aG;
  5218.  
  5219.     function K(bu) {
  5220.         return this.exp(bu, new az())
  5221.     }
  5222.  
  5223.     function n(bu, by, bx) {
  5224.         var bw = Math.min(this.t + bu.t, by);
  5225.         bx.s = 0;
  5226.         bx.t = bw;
  5227.         while (bw > 0) {
  5228.             bx[--bw] = 0
  5229.         }
  5230.         var bv;
  5231.         for (bv = bx.t - this.t; bw < bv; ++bw) {
  5232.             bx[bw + this.t] = this.am(0, bu[bw], bx, bw, 0, this.t)
  5233.         }
  5234.         for (bv = Math.min(bu.t, by); bw < bv; ++bw) {
  5235.             this.am(0, bu[bw], bx, bw, 0, by - bw)
  5236.         }
  5237.         bx.clamp()
  5238.     }
  5239.  
  5240.     function i(bu, bx, bw) {
  5241.         --bx;
  5242.         var bv = bw.t = this.t + bu.t - bx;
  5243.         bw.s = 0;
  5244.         while (--bv >= 0) {
  5245.             bw[bv] = 0
  5246.         }
  5247.         for (bv = Math.max(bx - this.t, 0); bv < bu.t; ++bv) {
  5248.             bw[this.t + bv - bx] = this.am(bx - bv, bu[bv], bw, 0, 0, this.t + bv - bx)
  5249.         }
  5250.         bw.clamp();
  5251.         bw.drShiftTo(1, bw)
  5252.     }
  5253.  
  5254.     function L(bu) {
  5255.         this.r2 = o();
  5256.         this.q3 = o();
  5257.         bd.ONE.dlShiftTo(2 * bu.t, this.r2);
  5258.         this.mu = this.r2.divide(bu);
  5259.         this.m = bu
  5260.     }
  5261.  
  5262.     function ad(bu) {
  5263.         if (bu.s < 0 || bu.t > 2 * this.m.t) {
  5264.             return bu.mod(this.m)
  5265.         } else {
  5266.             if (bu.compareTo(this.m) < 0) {
  5267.                 return bu
  5268.             } else {
  5269.                 var bv = o();
  5270.                 bu.copyTo(bv);
  5271.                 this.reduce(bv);
  5272.                 return bv
  5273.             }
  5274.         }
  5275.     }
  5276.  
  5277.     function ah(bu) {
  5278.         return bu
  5279.     }
  5280.  
  5281.     function bl(bu) {
  5282.         bu.drShiftTo(this.m.t - 1, this.r2);
  5283.         if (bu.t > this.m.t + 1) {
  5284.             bu.t = this.m.t + 1;
  5285.             bu.clamp()
  5286.         }
  5287.         this.mu.multiplyUpperTo(this.r2, this.m.t + 1, this.q3);
  5288.         this.m.multiplyLowerTo(this.q3, this.m.t + 1, this.r2);
  5289.         while (bu.compareTo(this.r2) < 0) {
  5290.             bu.dAddOffset(1, this.m.t + 1)
  5291.         }
  5292.         bu.subTo(this.r2, bu);
  5293.         while (bu.compareTo(this.m) >= 0) {
  5294.             bu.subTo(this.m, bu)
  5295.         }
  5296.     }
  5297.  
  5298.     function au(bu, bv) {
  5299.         bu.squareTo(bv);
  5300.         this.reduce(bv)
  5301.     }
  5302.  
  5303.     function bm(bu, bw, bv) {
  5304.         bu.multiplyTo(bw, bv);
  5305.         this.reduce(bv)
  5306.     }
  5307.     L.prototype.convert = ad;
  5308.     L.prototype.revert = ah;
  5309.     L.prototype.reduce = bl;
  5310.     L.prototype.mulTo = bm;
  5311.     L.prototype.sqrTo = au;
  5312.  
  5313.     function aD(bD, by) {
  5314.         var bB = bD.bitLength(),
  5315.             bz, bv = e(1),
  5316.             bG;
  5317.         if (bB <= 0) {
  5318.             return bv
  5319.         } else {
  5320.             if (bB < 18) {
  5321.                 bz = 1
  5322.             } else {
  5323.                 if (bB < 48) {
  5324.                     bz = 3
  5325.                 } else {
  5326.                     if (bB < 144) {
  5327.                         bz = 4
  5328.                     } else {
  5329.                         if (bB < 768) {
  5330.                             bz = 5
  5331.                         } else {
  5332.                             bz = 6
  5333.                         }
  5334.                     }
  5335.                 }
  5336.             }
  5337.         }
  5338.         if (bB < 8) {
  5339.             bG = new ae(by)
  5340.         } else {
  5341.             if (by.isEven()) {
  5342.                 bG = new L(by)
  5343.             } else {
  5344.                 bG = new j(by)
  5345.             }
  5346.         }
  5347.         var bC = new Array(),
  5348.             bx = 3,
  5349.             bE = bz - 1,
  5350.             bu = (1 << bz) - 1;
  5351.         bC[1] = bG.convert(this);
  5352.         if (bz > 1) {
  5353.             var bJ = o();
  5354.             bG.sqrTo(bC[1], bJ);
  5355.             while (bx <= bu) {
  5356.                 bC[bx] = o();
  5357.                 bG.mulTo(bJ, bC[bx - 2], bC[bx]);
  5358.                 bx += 2
  5359.             }
  5360.         }
  5361.         var bA = bD.t - 1,
  5362.             bH, bF = true,
  5363.             bw = o(),
  5364.             bI;
  5365.         bB = t(bD[bA]) - 1;
  5366.         while (bA >= 0) {
  5367.             if (bB >= bE) {
  5368.                 bH = (bD[bA] >> (bB - bE)) & bu
  5369.             } else {
  5370.                 bH = (bD[bA] & ((1 << (bB + 1)) - 1)) << (bE - bB);
  5371.                 if (bA > 0) {
  5372.                     bH |= bD[bA - 1] >> (this.DB + bB - bE)
  5373.                 }
  5374.             }
  5375.             bx = bz;
  5376.             while ((bH & 1) == 0) {
  5377.                 bH >>= 1;
  5378.                 --bx
  5379.             }
  5380.             if ((bB -= bx) < 0) {
  5381.                 bB += this.DB;
  5382.                 --bA
  5383.             }
  5384.             if (bF) {
  5385.                 bC[bH].copyTo(bv);
  5386.                 bF = false
  5387.             } else {
  5388.                 while (bx > 1) {
  5389.                     bG.sqrTo(bv, bw);
  5390.                     bG.sqrTo(bw, bv);
  5391.                     bx -= 2
  5392.                 }
  5393.                 if (bx > 0) {
  5394.                     bG.sqrTo(bv, bw)
  5395.                 } else {
  5396.                     bI = bv;
  5397.                     bv = bw;
  5398.                     bw = bI
  5399.                 }
  5400.                 bG.mulTo(bw, bC[bH], bv)
  5401.             }
  5402.             while (bA >= 0 && (bD[bA] & (1 << bB)) == 0) {
  5403.                 bG.sqrTo(bv, bw);
  5404.                 bI = bv;
  5405.                 bv = bw;
  5406.                 bw = bI;
  5407.                 if (--bB < 0) {
  5408.                     bB = this.DB - 1;
  5409.                     --bA
  5410.                 }
  5411.             }
  5412.         }
  5413.         return bG.revert(bv)
  5414.     }
  5415.  
  5416.     function bi(bv) {
  5417.         var bu = (this.s < 0) ? this.negate() : this.clone();
  5418.         var bz = (bv.s < 0) ? bv.negate() : bv.clone();
  5419.         if (bu.compareTo(bz) < 0) {
  5420.             var bx = bu;
  5421.             bu = bz;
  5422.             bz = bx
  5423.         }
  5424.         var bw = bu.getLowestSetBit(),
  5425.             by = bz.getLowestSetBit();
  5426.         if (by < 0) {
  5427.             return bu
  5428.         }
  5429.         if (bw < by) {
  5430.             by = bw
  5431.         }
  5432.         if (by > 0) {
  5433.             bu.rShiftTo(by, bu);
  5434.             bz.rShiftTo(by, bz)
  5435.         }
  5436.         while (bu.signum() > 0) {
  5437.             if ((bw = bu.getLowestSetBit()) > 0) {
  5438.                 bu.rShiftTo(bw, bu)
  5439.             }
  5440.             if ((bw = bz.getLowestSetBit()) > 0) {
  5441.                 bz.rShiftTo(bw, bz)
  5442.             }
  5443.             if (bu.compareTo(bz) >= 0) {
  5444.                 bu.subTo(bz, bu);
  5445.                 bu.rShiftTo(1, bu)
  5446.             } else {
  5447.                 bz.subTo(bu, bz);
  5448.                 bz.rShiftTo(1, bz)
  5449.             }
  5450.         }
  5451.         if (by > 0) {
  5452.             bz.lShiftTo(by, bz)
  5453.         }
  5454.         return bz
  5455.     }
  5456.  
  5457.     function B(bx) {
  5458.         if (bx <= 0) {
  5459.             return 0
  5460.         }
  5461.         var bw = this.DV % bx,
  5462.             bv = (this.s < 0) ? bx - 1 : 0;
  5463.         if (this.t > 0) {
  5464.             if (bw == 0) {
  5465.                 bv = this[0] % bx
  5466.             } else {
  5467.                 for (var bu = this.t - 1; bu >= 0; --bu) {
  5468.                     bv = (bw * bv + this[bu]) % bx
  5469.                 }
  5470.             }
  5471.         }
  5472.         return bv
  5473.     }
  5474.  
  5475.     function c(bv) {
  5476.         var bz = bv.isEven();
  5477.         if ((this.isEven() && bz) || bv.signum() == 0) {
  5478.             return bd.ZERO
  5479.         }
  5480.         var by = bv.clone(),
  5481.             bx = this.clone();
  5482.         var bw = e(1),
  5483.             bu = e(0),
  5484.             bB = e(0),
  5485.             bA = e(1);
  5486.         while (by.signum() != 0) {
  5487.             while (by.isEven()) {
  5488.                 by.rShiftTo(1, by);
  5489.                 if (bz) {
  5490.                     if (!bw.isEven() || !bu.isEven()) {
  5491.                         bw.addTo(this, bw);
  5492.                         bu.subTo(bv, bu)
  5493.                     }
  5494.                     bw.rShiftTo(1, bw)
  5495.                 } else {
  5496.                     if (!bu.isEven()) {
  5497.                         bu.subTo(bv, bu)
  5498.                     }
  5499.                 }
  5500.                 bu.rShiftTo(1, bu)
  5501.             }
  5502.             while (bx.isEven()) {
  5503.                 bx.rShiftTo(1, bx);
  5504.                 if (bz) {
  5505.                     if (!bB.isEven() || !bA.isEven()) {
  5506.                         bB.addTo(this, bB);
  5507.                         bA.subTo(bv, bA)
  5508.                     }
  5509.                     bB.rShiftTo(1, bB)
  5510.                 } else {
  5511.                     if (!bA.isEven()) {
  5512.                         bA.subTo(bv, bA)
  5513.                     }
  5514.                 }
  5515.                 bA.rShiftTo(1, bA)
  5516.             }
  5517.             if (by.compareTo(bx) >= 0) {
  5518.                 by.subTo(bx, by);
  5519.                 if (bz) {
  5520.                     bw.subTo(bB, bw)
  5521.                 }
  5522.                 bu.subTo(bA, bu)
  5523.             } else {
  5524.                 bx.subTo(by, bx);
  5525.                 if (bz) {
  5526.                     bB.subTo(bw, bB)
  5527.                 }
  5528.                 bA.subTo(bu, bA)
  5529.             }
  5530.         }
  5531.         if (bx.compareTo(bd.ONE) != 0) {
  5532.             return bd.ZERO
  5533.         }
  5534.         if (bA.compareTo(bv) >= 0) {
  5535.             return bA.subtract(bv)
  5536.         }
  5537.         if (bA.signum() < 0) {
  5538.             bA.addTo(bv, bA)
  5539.         } else {
  5540.             return bA
  5541.         }
  5542.         if (bA.signum() < 0) {
  5543.             return bA.add(bv)
  5544.         } else {
  5545.             return bA
  5546.         }
  5547.     }
  5548.     var av = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509];
  5549.     var aw = (1 << 26) / av[av.length - 1];
  5550.  
  5551.     function af(by) {
  5552.         var bx, bv = this.abs();
  5553.         if (bv.t == 1 && bv[0] <= av[av.length - 1]) {
  5554.             for (bx = 0; bx < av.length; ++bx) {
  5555.                 if (bv[0] == av[bx]) {
  5556.                     return true
  5557.                 }
  5558.             }
  5559.             return false
  5560.         }
  5561.         if (bv.isEven()) {
  5562.             return false
  5563.         }
  5564.         bx = 1;
  5565.         while (bx < av.length) {
  5566.             var bu = av[bx],
  5567.                 bw = bx + 1;
  5568.             while (bw < av.length && bu < aw) {
  5569.                 bu *= av[bw++]
  5570.             }
  5571.             bu = bv.modInt(bu);
  5572.             while (bx < bw) {
  5573.                 if (bu % av[bx++] == 0) {
  5574.                     return false
  5575.                 }
  5576.             }
  5577.         }
  5578.         return bv.millerRabin(by)
  5579.     }
  5580.  
  5581.     function k(by) {
  5582.         var bz = this.subtract(bd.ONE);
  5583.         var bv = bz.getLowestSetBit();
  5584.         if (bv <= 0) {
  5585.             return false
  5586.         }
  5587.         var bA = bz.shiftRight(bv);
  5588.         by = (by + 1) >> 1;
  5589.         if (by > av.length) {
  5590.             by = av.length
  5591.         }
  5592.         var bu = o();
  5593.         for (var bx = 0; bx < by; ++bx) {
  5594.             bu.fromInt(av[bx]);
  5595.             var bB = bu.modPow(bA, this);
  5596.             if (bB.compareTo(bd.ONE) != 0 && bB.compareTo(bz) != 0) {
  5597.                 var bw = 1;
  5598.                 while (bw++ < bv && bB.compareTo(bz) != 0) {
  5599.                     bB = bB.modPowInt(2, this);
  5600.                     if (bB.compareTo(bd.ONE) == 0) {
  5601.                         return false
  5602.                     }
  5603.                 }
  5604.                 if (bB.compareTo(bz) != 0) {
  5605.                     return false
  5606.                 }
  5607.             }
  5608.         }
  5609.         return true
  5610.     }
  5611.     bd.prototype.chunkSize = aI;
  5612.     bd.prototype.toRadix = M;
  5613.     bd.prototype.fromRadix = ax;
  5614.     bd.prototype.fromNumber = aU;
  5615.     bd.prototype.bitwiseTo = aV;
  5616.     bd.prototype.changeBit = W;
  5617.     bd.prototype.addTo = ay;
  5618.     bd.prototype.dMultiply = q;
  5619.     bd.prototype.dAddOffset = ai;
  5620.     bd.prototype.multiplyLowerTo = n;
  5621.     bd.prototype.multiplyUpperTo = i;
  5622.     bd.prototype.modInt = B;
  5623.     bd.prototype.millerRabin = k;
  5624.     bd.prototype.clone = m;
  5625.     bd.prototype.intValue = X;
  5626.     bd.prototype.byteValue = aZ;
  5627.     bd.prototype.shortValue = ao;
  5628.     bd.prototype.signum = be;
  5629.     bd.prototype.toByteArray = bn;
  5630.     bd.prototype.equals = ar;
  5631.     bd.prototype.min = Y;
  5632.     bd.prototype.max = aC;
  5633.     bd.prototype.and = bp;
  5634.     bd.prototype.or = aH;
  5635.     bd.prototype.xor = h;
  5636.     bd.prototype.andNot = w;
  5637.     bd.prototype.not = T;
  5638.     bd.prototype.shiftLeft = H;
  5639.     bd.prototype.shiftRight = bo;
  5640.     bd.prototype.getLowestSetBit = z;
  5641.     bd.prototype.bitCount = aS;
  5642.     bd.prototype.testBit = aQ;
  5643.     bd.prototype.setBit = Q;
  5644.     bd.prototype.clearBit = x;
  5645.     bd.prototype.flipBit = d;
  5646.     bd.prototype.add = aB;
  5647.     bd.prototype.subtract = bg;
  5648.     bd.prototype.multiply = aq;
  5649.     bd.prototype.divide = g;
  5650.     bd.prototype.remainder = l;
  5651.     bd.prototype.divideAndRemainder = aR;
  5652.     bd.prototype.modPow = aD;
  5653.     bd.prototype.modInverse = c;
  5654.     bd.prototype.pow = K;
  5655.     bd.prototype.gcd = bi;
  5656.     bd.prototype.isProbablePrime = af;
  5657.  
  5658.     function aT() {
  5659.         this.rng_state;
  5660.         this.rng_pool;
  5661.         this.rng_pptr;
  5662.         this.rng_seed_int = function(bw) {
  5663.             this.rng_pool[this.rng_pptr++] ^= bw & 255;
  5664.             this.rng_pool[this.rng_pptr++] ^= (bw >> 8) & 255;
  5665.             this.rng_pool[this.rng_pptr++] ^= (bw >> 16) & 255;
  5666.             this.rng_pool[this.rng_pptr++] ^= (bw >> 24) & 255;
  5667.             if (this.rng_pptr >= aj) {
  5668.                 this.rng_pptr -= aj
  5669.             }
  5670.         };
  5671.         this.rng_seed_time = function() {
  5672.             this.rng_seed_int(new Date().getTime())
  5673.         };
  5674.         if (this.rng_pool == null) {
  5675.             this.rng_pool = new Array();
  5676.             this.rng_pptr = 0;
  5677.             var bu;
  5678.             if (navigator.appName == "Netscape" && navigator.appVersion < "5" && window.crypto) {
  5679.                 var bv = window.crypto.random(32);
  5680.                 for (bu = 0; bu < bv.length; ++bu) {
  5681.                     this.rng_pool[this.rng_pptr++] = bv.charCodeAt(bu) & 255
  5682.                 }
  5683.             }
  5684.             while (this.rng_pptr < aj) {
  5685.                 bu = Math.floor(65536 * Math.random());
  5686.                 this.rng_pool[this.rng_pptr++] = bu >>> 8;
  5687.                 this.rng_pool[this.rng_pptr++] = bu & 255
  5688.             }
  5689.             this.rng_pptr = 0;
  5690.             this.rng_seed_time()
  5691.         }
  5692.         this.rng_get_byte = function() {
  5693.             if (this.rng_state == null) {
  5694.                 this.rng_seed_time();
  5695.                 this.rng_state = ba();
  5696.                 this.rng_state.init(this.rng_pool);
  5697.                 for (this.rng_pptr = 0; this.rng_pptr < this.rng_pool.length; ++this.rng_pptr) {
  5698.                     this.rng_pool[this.rng_pptr] = 0
  5699.                 }
  5700.                 this.rng_pptr = 0
  5701.             }
  5702.             return this.rng_state.next()
  5703.         };
  5704.         this.nextBytes = function(bx) {
  5705.             var bw;
  5706.             for (bw = 0; bw < bx.length; ++bw) {
  5707.                 bx[bw] = this.rng_get_byte()
  5708.             }
  5709.         }
  5710.     }
  5711.  
  5712.     function u() {
  5713.         this.i = 0;
  5714.         this.j = 0;
  5715.         this.S = new Array()
  5716.     }
  5717.  
  5718.     function f(bx) {
  5719.         var bw, bu, bv;
  5720.         for (bw = 0; bw < 256; ++bw) {
  5721.             this.S[bw] = bw
  5722.         }
  5723.         bu = 0;
  5724.         for (bw = 0; bw < 256; ++bw) {
  5725.             bu = (bu + this.S[bw] + bx[bw % bx.length]) & 255;
  5726.             bv = this.S[bw];
  5727.             this.S[bw] = this.S[bu];
  5728.             this.S[bu] = bv
  5729.         }
  5730.         this.i = 0;
  5731.         this.j = 0
  5732.     }
  5733.  
  5734.     function a() {
  5735.         var bu;
  5736.         this.i = (this.i + 1) & 255;
  5737.         this.j = (this.j + this.S[this.i]) & 255;
  5738.         bu = this.S[this.i];
  5739.         this.S[this.i] = this.S[this.j];
  5740.         this.S[this.j] = bu;
  5741.         return this.S[(bu + this.S[this.i]) & 255]
  5742.     }
  5743.     u.prototype.init = f;
  5744.     u.prototype.next = a;
  5745.  
  5746.     function ba() {
  5747.         return new u()
  5748.     }(function() {
  5749.         function bw(bA, bz) {
  5750.             return new bd(bA, bz)
  5751.         }
  5752.  
  5753.         function bx(bB, bC) {
  5754.             var bz = "";
  5755.             var bA = 0;
  5756.             while (bA + bC < bB.length) {
  5757.                 bz += bB.substring(bA, bA + bC) + "\n";
  5758.                 bA += bC
  5759.             }
  5760.             return bz + bB.substring(bA, bB.length)
  5761.         }
  5762.  
  5763.         function bv(bz) {
  5764.             if (bz < 16) {
  5765.                 return "0" + bz.toString(16)
  5766.             } else {
  5767.                 return bz.toString(16)
  5768.             }
  5769.         }
  5770.  
  5771.         function by(bC, bD) {
  5772.             var bz = bC.toByteArray();
  5773.             var bB = 0;
  5774.             while (bB < bz.length && bz[bB] == 0) {
  5775.                 ++bB
  5776.             }
  5777.             if (bz.length - bB != bD - 1 || bz[bB] != 2) {
  5778.                 return null
  5779.             }++bB;
  5780.             while (bz[bB] != 0) {
  5781.                 if (++bB >= bz.length) {
  5782.                     return null
  5783.                 }
  5784.             }
  5785.             var bA = "";
  5786.             while (++bB < bz.length) {
  5787.                 bA += String.fromCharCode(bz[bB])
  5788.             }
  5789.             return bA
  5790.         }
  5791.  
  5792.         function bu(bC, bE) {
  5793.             if (bE < bC.length + 11) {
  5794.                 alert("Message too long for RSA");
  5795.                 return null
  5796.             }
  5797.             var bD = new Array();
  5798.             var bB = bC.length - 1;
  5799.             while (bB >= 0 && bE > 0) {
  5800.                 bD[--bE] = bC.charCodeAt(bB--)
  5801.             }
  5802.             bD[--bE] = 0;
  5803.             var bA = new aT();
  5804.             var bz = new Array();
  5805.             while (bE > 2) {
  5806.                 bz[0] = 0;
  5807.                 while (bz[0] == 0) {
  5808.                     bA.nextBytes(bz)
  5809.                 }
  5810.                 bD[--bE] = bz[0]
  5811.             }
  5812.             bD[--bE] = 2;
  5813.             bD[--bE] = 0;
  5814.             return new bd(bD)
  5815.         }
  5816.         bf.RSA = function() {
  5817.             this.n = null;
  5818.             this.e = 0;
  5819.             this.d = null;
  5820.             this.p = null;
  5821.             this.q = null;
  5822.             this.dmp1 = null;
  5823.             this.dmq1 = null;
  5824.             this.coeff = null
  5825.         };
  5826.         bf.RSA.prototype.doPrivate = function(bz) {
  5827.             if (this.p == null || this.q == null) {
  5828.                 return bz.modPow(this.d, this.n)
  5829.             }
  5830.             var bB = bz.mod(this.p).modPow(this.dmp1, this.p);
  5831.             var bA = bz.mod(this.q).modPow(this.dmq1, this.q);
  5832.             while (bB.compareTo(bA) < 0) {
  5833.                 bB = bB.add(this.p)
  5834.             }
  5835.             return bB.subtract(bA).multiply(this.coeff).mod(this.p).multiply(this.q).add(bA)
  5836.         };
  5837.         bf.RSA.prototype.setPublic = function(bB, bA, bz) {
  5838.             if (typeof(bz) == "undefined") {
  5839.                 bz = 16
  5840.             }
  5841.             if (bB != null && bA != null && bB.length > 0 && bA.length > 0) {
  5842.                 this.n = bw(bB, bz);
  5843.                 this.e = parseInt(bA, bz)
  5844.             } else {
  5845.                 alert("Invalid RSA public key")
  5846.             }
  5847.         };
  5848.         bf.RSA.prototype.doPublic = function(bz) {
  5849.             return bz.modPowInt(this.e, this.n)
  5850.         };
  5851.         bf.RSA.prototype.encryptRaw = function(bB) {
  5852.             var bz = bu(bB, (this.n.bitLength() + 7) >> 3);
  5853.             if (bz == null) {
  5854.                 return null
  5855.             }
  5856.             var bC = this.doPublic(bz);
  5857.             if (bC == null) {
  5858.                 return null
  5859.             }
  5860.             var bA = bC.toString(16);
  5861.             if ((bA.length & 1) == 0) {
  5862.                 return bA
  5863.             } else {
  5864.                 return "0" + bA
  5865.             }
  5866.         };
  5867.         bf.RSA.prototype.encrypt = function(bz) {
  5868.             bz = aM.encodeBase64(bz);
  5869.             return this.encryptRaw(bz)
  5870.         };
  5871.         bf.RSA.prototype.decryptRaw = function(bA) {
  5872.             var bB = bw(bA, 16);
  5873.             var bz = this.doPrivate(bB);
  5874.             if (bz == null) {
  5875.                 return null
  5876.             }
  5877.             return by(bz, (this.n.bitLength() + 7) >> 3)
  5878.         };
  5879.         bf.RSA.prototype.decrypt = function(bA) {
  5880.             var bz = this.decryptRaw(bA);
  5881.             bz = (bz) ? aM.decodeBase64(bz) : "";
  5882.             return bz
  5883.         };
  5884.         bf.RSA.prototype.setPrivate = function(bC, bA, bB, bz) {
  5885.             if (typeof(bz) == "undefined") {
  5886.                 bz = 16
  5887.             }
  5888.             if (bC != null && bA != null && bC.length > 0 && bA.length > 0) {
  5889.                 this.n = bw(bC, bz);
  5890.                 this.e = parseInt(bA, bz);
  5891.                 this.d = bw(bB, bz)
  5892.             } else {
  5893.                 alert("Invalid RSA private key")
  5894.             }
  5895.         };
  5896.         bf.RSA.prototype.setPrivateEx = function(bD, bH, bz, bC, bB, bG, bF, bA, bE) {
  5897.             if (typeof(bE) == "undefined") {
  5898.                 bE = 16
  5899.             }
  5900.             if (bD != null && bH != null && bD.length > 0 && bH.length > 0) {
  5901.                 this.n = bw(bD, bE);
  5902.                 this.e = parseInt(bH, bE);
  5903.                 this.d = bw(bz, bE);
  5904.                 this.p = bw(bC, bE);
  5905.                 this.q = bw(bB, bE);
  5906.                 this.dmp1 = bw(bG, bE);
  5907.                 this.dmq1 = bw(bF, bE);
  5908.                 this.coeff = bw(bA, bE)
  5909.             } else {
  5910.                 alert("Invalid RSA private key")
  5911.             }
  5912.         };
  5913.         bf.RSA.prototype.generate = function(bA, bH) {
  5914.             var bz = new aT();
  5915.             var bE = bA >> 1;
  5916.             this.e = parseInt(bH, 16);
  5917.             var bB = new bd(bH, 16);
  5918.             for (;;) {
  5919.                 for (;;) {
  5920.                     this.p = new bd(bA - bE, 1, bz);
  5921.                     if (this.p.subtract(bd.ONE).gcd(bB).compareTo(bd.ONE) == 0 && this.p.isProbablePrime(10)) {
  5922.                         break
  5923.                     }
  5924.                 }
  5925.                 for (;;) {
  5926.                     this.q = new bd(bE, 1, bz);
  5927.                     if (this.q.subtract(bd.ONE).gcd(bB).compareTo(bd.ONE) == 0 && this.q.isProbablePrime(10)) {
  5928.                         break
  5929.                     }
  5930.                 }
  5931.                 if (this.p.compareTo(this.q) <= 0) {
  5932.                     var bG = this.p;
  5933.                     this.p = this.q;
  5934.                     this.q = bG
  5935.                 }
  5936.                 var bF = this.p.subtract(bd.ONE);
  5937.                 var bC = this.q.subtract(bd.ONE);
  5938.                 var bD = bF.multiply(bC);
  5939.                 if (bD.gcd(bB).compareTo(bd.ONE) == 0) {
  5940.                     this.n = this.p.multiply(this.q);
  5941.                     this.d = bB.modInverse(bD);
  5942.                     this.dmp1 = this.d.mod(bF);
  5943.                     this.dmq1 = this.d.mod(bC);
  5944.                     this.coeff = this.q.modInverse(this.p);
  5945.                     break
  5946.                 }
  5947.             }
  5948.         };
  5949.         bf.RSA.prototype.getASNData = function(bz) {
  5950.             var bD = {};
  5951.             var bB = [];
  5952.             var bC = 0;
  5953.             if (bz.value && bz.type == "INTEGER") {
  5954.                 bB[bC++] = bz.value
  5955.             }
  5956.             if (bz.sub) {
  5957.                 for (var bA = 0; bA < bz.sub.length; bA++) {
  5958.                     bB = bB.concat(this.getASNData(bz.sub[bA]))
  5959.                 }
  5960.             }
  5961.             return bB
  5962.         };
  5963.         bf.RSA.prototype.setKeyFromASN = function(bB, bD) {
  5964.             var bC = ["N", "E", "D", "P", "Q", "DP", "DQ", "C"];
  5965.             var bE = {};
  5966.             var bz = this.getASNData(bD);
  5967.             switch (bB) {
  5968.                 case "Public":
  5969.                 case "public":
  5970.                     for (var bA = 0; bA < bz.length; bA++) {
  5971.                         bE[bC[bA]] = bz[bA].toLowerCase()
  5972.                     }
  5973.                     this.setPublic(bE.N, bE.E, 16);
  5974.                     break;
  5975.                 case "Private":
  5976.                 case "private":
  5977.                     for (var bA = 1; bA < bz.length; bA++) {
  5978.                         bE[bC[bA - 1]] = bz[bA].toLowerCase()
  5979.                     }
  5980.                     this.setPrivateEx(bE.N, bE.E, bE.D, bE.P, bE.Q, bE.DP, bE.DQ, bE.C, 16);
  5981.                     break
  5982.             }
  5983.         };
  5984.         bf.RSA.prototype.setPublicKeyFromASN = function(bz) {
  5985.             this.setKeyFromASN("public", bz)
  5986.         };
  5987.         bf.RSA.prototype.setPrivateKeyFromASN = function(bz) {
  5988.             this.setKeyFromASN("private", bz)
  5989.         };
  5990.         bf.RSA.prototype.getParameters = function() {
  5991.             var bz = {};
  5992.             if (this.n != null) {
  5993.                 bz.n = this.n
  5994.             }
  5995.             bz.e = this.e;
  5996.             if (this.d != null) {
  5997.                 bz.d = this.d
  5998.             }
  5999.             if (this.p != null) {
  6000.                 bz.p = this.p
  6001.             }
  6002.             if (this.q != null) {
  6003.                 bz.q = this.q
  6004.             }
  6005.             if (this.dmp1 != null) {
  6006.                 bz.dmp1 = this.dmp1
  6007.             }
  6008.             if (this.dmq1 != null) {
  6009.                 bz.dmq1 = this.dmq1
  6010.             }
  6011.             if (this.coeff != null) {
  6012.                 bz.c = this.coeff
  6013.             }
  6014.             return bz
  6015.         }
  6016.     })();
  6017.     (function() {
  6018.         function bu(bv, bw) {
  6019.             if (bv instanceof bu) {
  6020.                 this.enc = bv.enc;
  6021.                 this.pos = bv.pos
  6022.             } else {
  6023.                 this.enc = bv;
  6024.                 this.pos = bw
  6025.             }
  6026.         }
  6027.         bu.prototype.parseStringHex = function(bz, bv) {
  6028.             if (typeof(bv) == "undefined") {
  6029.                 bv = this.enc.length
  6030.             }
  6031.             var by = "";
  6032.             for (var bw = bz; bw < bv; ++bw) {
  6033.                 var bx = this.get(bw);
  6034.                 by += this.hexDigits.charAt(bx >> 4) + this.hexDigits.charAt(bx & 15)
  6035.             }
  6036.             return by
  6037.         };
  6038.         bu.prototype.get = function(bv) {
  6039.             if (bv == undefined) {
  6040.                 bv = this.pos++
  6041.             }
  6042.             if (bv >= this.enc.length) {
  6043.                 throw "Requesting byte offset " + bv + " on a stream of length " + this.enc.length
  6044.             }
  6045.             return this.enc[bv]
  6046.         };
  6047.         bu.prototype.hexDigits = "0123456789ABCDEF";
  6048.         bu.prototype.hexDump = function(bz, bv) {
  6049.             var by = "";
  6050.             for (var bw = bz; bw < bv; ++bw) {
  6051.                 var bx = this.get(bw);
  6052.                 by += this.hexDigits.charAt(bx >> 4) + this.hexDigits.charAt(bx & 15);
  6053.                 if ((bw & 15) == 7) {
  6054.                     by += " "
  6055.                 }
  6056.                 by += ((bw & 15) == 15) ? "\n" : " "
  6057.             }
  6058.             return by
  6059.         };
  6060.         bu.prototype.parseStringISO = function(by, bv) {
  6061.             var bx = "";
  6062.             for (var bw = by; bw < bv; ++bw) {
  6063.                 bx += String.fromCharCode(this.get(bw))
  6064.             }
  6065.             return bx
  6066.         };
  6067.         bu.prototype.parseStringUTF = function(bz, bv) {
  6068.             var bx = "",
  6069.                 by = 0;
  6070.             for (var bw = bz; bw < bv;) {
  6071.                 var by = this.get(bw++);
  6072.                 if (by < 128) {
  6073.                     bx += String.fromCharCode(by)
  6074.                 } else {
  6075.                     if ((by > 191) && (by < 224)) {
  6076.                         bx += String.fromCharCode(((by & 31) << 6) | (this.get(bw++) & 63))
  6077.                     } else {
  6078.                         bx += String.fromCharCode(((by & 15) << 12) | ((this.get(bw++) & 63) << 6) | (this.get(bw++) & 63))
  6079.                     }
  6080.                 }
  6081.             }
  6082.             return bx
  6083.         };
  6084.         bu.prototype.reTime = /^((?:1[89]|2\d)?\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;
  6085.         bu.prototype.parseTime = function(by, bw) {
  6086.             var bx = this.parseStringISO(by, bw);
  6087.             var bv = this.reTime.exec(bx);
  6088.             if (!bv) {
  6089.                 return "Unrecognized time: " + bx
  6090.             }
  6091.             bx = bv[1] + "-" + bv[2] + "-" + bv[3] + " " + bv[4];
  6092.             if (bv[5]) {
  6093.                 bx += ":" + bv[5];
  6094.                 if (bv[6]) {
  6095.                     bx += ":" + bv[6];
  6096.                     if (bv[7]) {
  6097.                         bx += "." + bv[7]
  6098.                     }
  6099.                 }
  6100.             }
  6101.             if (bv[8]) {
  6102.                 bx += " UTC";
  6103.                 if (bv[8] != "Z") {
  6104.                     bx += bv[8];
  6105.                     if (bv[9]) {
  6106.                         bx += ":" + bv[9]
  6107.                     }
  6108.                 }
  6109.             }
  6110.             return bx
  6111.         };
  6112.         bu.prototype.parseInteger = function(by, bv) {
  6113.             if ((bv - by) > 4) {
  6114.                 return undefined
  6115.             }
  6116.             var bx = 0;
  6117.             for (var bw = by; bw < bv; ++bw) {
  6118.                 bx = (bx << 8) | this.get(bw)
  6119.             }
  6120.             return bx
  6121.         };
  6122.         bu.prototype.parseOID = function(bB, bv) {
  6123.             var by, bA = 0,
  6124.                 bz = 0;
  6125.             for (var bx = bB; bx < bv; ++bx) {
  6126.                 var bw = this.get(bx);
  6127.                 bA = (bA << 7) | (bw & 127);
  6128.                 bz += 7;
  6129.                 if (!(bw & 128)) {
  6130.                     if (by == undefined) {
  6131.                         by = parseInt(bA / 40) + "." + (bA % 40)
  6132.                     } else {
  6133.                         by += "." + ((bz >= 31) ? "big" : bA)
  6134.                     }
  6135.                     bA = bz = 0
  6136.                 }
  6137.                 by += String.fromCharCode()
  6138.             }
  6139.             return by
  6140.         };
  6141.         if (typeof(bf) != "undefined") {
  6142.             bf.ASN1 = function(by, bz, bx, bv, bw) {
  6143.                 this.stream = by;
  6144.                 this.header = bz;
  6145.                 this.length = bx;
  6146.                 this.tag = bv;
  6147.                 this.sub = bw
  6148.             };
  6149.             bf.ASN1.prototype.toHexTree = function() {
  6150.                 var bx = {};
  6151.                 bx.type = this.typeName();
  6152.                 if (bx.type != "SEQUENCE") {
  6153.                     bx.value = this.stream.parseStringHex(this.posContent(), this.posEnd())
  6154.                 }
  6155.                 if (this.sub != null) {
  6156.                     bx.sub = [];
  6157.                     for (var bw = 0, bv = this.sub.length; bw < bv; ++bw) {
  6158.                         bx.sub[bw] = this.sub[bw].toHexTree()
  6159.                     }
  6160.                 }
  6161.                 return bx
  6162.             };
  6163.             bf.ASN1.prototype.typeName = function() {
  6164.                 if (this.tag == undefined) {
  6165.                     return "unknown"
  6166.                 }
  6167.                 var bx = this.tag >> 6;
  6168.                 var bv = (this.tag >> 5) & 1;
  6169.                 var bw = this.tag & 31;
  6170.                 switch (bx) {
  6171.                     case 0:
  6172.                         switch (bw) {
  6173.                             case 0:
  6174.                                 return "EOC";
  6175.                             case 1:
  6176.                                 return "BOOLEAN";
  6177.                             case 2:
  6178.                                 return "INTEGER";
  6179.                             case 3:
  6180.                                 return "BIT_STRING";
  6181.                             case 4:
  6182.                                 return "OCTET_STRING";
  6183.                             case 5:
  6184.                                 return "NULL";
  6185.                             case 6:
  6186.                                 return "OBJECT_IDENTIFIER";
  6187.                             case 7:
  6188.                                 return "ObjectDescriptor";
  6189.                             case 8:
  6190.                                 return "EXTERNAL";
  6191.                             case 9:
  6192.                                 return "REAL";
  6193.                             case 10:
  6194.                                 return "ENUMERATED";
  6195.                             case 11:
  6196.                                 return "EMBEDDED_PDV";
  6197.                             case 12:
  6198.                                 return "UTF8String";
  6199.                             case 16:
  6200.                                 return "SEQUENCE";
  6201.                             case 17:
  6202.                                 return "SET";
  6203.                             case 18:
  6204.                                 return "NumericString";
  6205.                             case 19:
  6206.                                 return "PrintableString";
  6207.                             case 20:
  6208.                                 return "TeletexString";
  6209.                             case 21:
  6210.                                 return "VideotexString";
  6211.                             case 22:
  6212.                                 return "IA5String";
  6213.                             case 23:
  6214.                                 return "UTCTime";
  6215.                             case 24:
  6216.                                 return "GeneralizedTime";
  6217.                             case 25:
  6218.                                 return "GraphicString";
  6219.                             case 26:
  6220.                                 return "VisibleString";
  6221.                             case 27:
  6222.                                 return "GeneralString";
  6223.                             case 28:
  6224.                                 return "UniversalString";
  6225.                             case 30:
  6226.                                 return "BMPString";
  6227.                             default:
  6228.                                 return "Universal_" + bw.toString(16)
  6229.                         }
  6230.                     case 1:
  6231.                         return "Application_" + bw.toString(16);
  6232.                     case 2:
  6233.                         return "[" + bw + "]";
  6234.                     case 3:
  6235.                         return "Private_" + bw.toString(16)
  6236.                 }
  6237.             };
  6238.             bf.ASN1.prototype.content = function() {
  6239.                 if (this.tag == undefined) {
  6240.                     return null
  6241.                 }
  6242.                 var by = this.tag >> 6;
  6243.                 if (by != 0) {
  6244.                     return null
  6245.                 }
  6246.                 var bw = this.tag & 31;
  6247.                 var bx = this.posContent();
  6248.                 var bv = Math.abs(this.length);
  6249.                 switch (bw) {
  6250.                     case 1:
  6251.                         return (this.stream.get(bx) == 0) ? "false" : "true";
  6252.                     case 2:
  6253.                         return this.stream.parseInteger(bx, bx + bv);
  6254.                     case 6:
  6255.                         return this.stream.parseOID(bx, bx + bv);
  6256.                     case 12:
  6257.                         return this.stream.parseStringUTF(bx, bx + bv);
  6258.                     case 18:
  6259.                     case 19:
  6260.                     case 20:
  6261.                     case 21:
  6262.                     case 22:
  6263.                     case 26:
  6264.                         return this.stream.parseStringISO(bx, bx + bv);
  6265.                     case 23:
  6266.                     case 24:
  6267.                         return this.stream.parseTime(bx, bx + bv)
  6268.                 }
  6269.                 return null
  6270.             };
  6271.             bf.ASN1.prototype.toString = function() {
  6272.                 return this.typeName() + "@" + this.stream.pos + "[header:" + this.header + ",length:" + this.length + ",sub:" + ((this.sub == null) ? "null" : this.sub.length) + "]"
  6273.             };
  6274.             bf.ASN1.prototype.print = function(bw) {
  6275.                 if (bw == undefined) {
  6276.                     bw = ""
  6277.                 }
  6278.                 document.writeln(bw + this);
  6279.                 if (this.sub != null) {
  6280.                     bw += "  ";
  6281.                     for (var bx = 0, bv = this.sub.length; bx < bv; ++bx) {
  6282.                         this.sub[bx].print(bw)
  6283.                     }
  6284.                 }
  6285.             };
  6286.             bf.ASN1.prototype.toPrettyString = function(bw) {
  6287.                 if (bw == undefined) {
  6288.                     bw = ""
  6289.                 }
  6290.                 var by = bw + this.typeName() + " @" + this.stream.pos;
  6291.                 if (this.length >= 0) {
  6292.                     by += "+"
  6293.                 }
  6294.                 by += this.length;
  6295.                 if (this.tag & 32) {
  6296.                     by += " (constructed)"
  6297.                 } else {
  6298.                     if (((this.tag == 3) || (this.tag == 4)) && (this.sub != null)) {
  6299.                         by += " (encapsulates)"
  6300.                     }
  6301.                 }
  6302.                 by += "\n";
  6303.                 if (this.sub != null) {
  6304.                     bw += "  ";
  6305.                     for (var bx = 0, bv = this.sub.length; bx < bv; ++bx) {
  6306.                         by += this.sub[bx].toPrettyString(bw)
  6307.                     }
  6308.                 }
  6309.                 return by
  6310.             };
  6311.             bf.ASN1.prototype.toDOM = function() {
  6312.                 var bw = document.createElement("div");
  6313.                 bw.className = "node";
  6314.                 bw.asn1 = this;
  6315.                 var bB = document.createElement("div");
  6316.                 bB.className = "head";
  6317.                 var bD = this.typeName();
  6318.                 bB.innerHTML = bD;
  6319.                 bw.appendChild(bB);
  6320.                 this.head = bB;
  6321.                 var bC = document.createElement("div");
  6322.                 bC.className = "value";
  6323.                 bD = "Offset: " + this.stream.pos + "<br/>";
  6324.                 bD += "Length: " + this.header + "+";
  6325.                 if (this.length >= 0) {
  6326.                     bD += this.length
  6327.                 } else {
  6328.                     bD += (-this.length) + " (undefined)"
  6329.                 }
  6330.                 if (this.tag & 32) {
  6331.                     bD += "<br/>(constructed)"
  6332.                 } else {
  6333.                     if (((this.tag == 3) || (this.tag == 4)) && (this.sub != null)) {
  6334.                         bD += "<br/>(encapsulates)"
  6335.                     }
  6336.                 }
  6337.                 var bz = this.content();
  6338.                 if (bz != null) {
  6339.                     bD += "<br/>Value:<br/><b>" + bz + "</b>";
  6340.                     if ((typeof(oids) == "object") && (this.tag == 6)) {
  6341.                         var bx = oids[bz];
  6342.                         if (bx) {
  6343.                             if (bx.d) {
  6344.                                 bD += "<br/>" + bx.d
  6345.                             }
  6346.                             if (bx.c) {
  6347.                                 bD += "<br/>" + bx.c
  6348.                             }
  6349.                             if (bx.w) {
  6350.                                 bD += "<br/>(warning!)"
  6351.                             }
  6352.                         }
  6353.                     }
  6354.                 }
  6355.                 bC.innerHTML = bD;
  6356.                 bw.appendChild(bC);
  6357.                 var bv = document.createElement("div");
  6358.                 bv.className = "sub";
  6359.                 if (this.sub != null) {
  6360.                     for (var by = 0, bA = this.sub.length; by < bA; ++by) {
  6361.                         bv.appendChild(this.sub[by].toDOM())
  6362.                     }
  6363.                 }
  6364.                 bw.appendChild(bv);
  6365.                 bB.switchNode = bw;
  6366.                 bB.onclick = function() {
  6367.                     var bE = this.switchNode;
  6368.                     bE.className = (bE.className == "node collapsed") ? "node" : "node collapsed"
  6369.                 };
  6370.                 return bw
  6371.             };
  6372.             bf.ASN1.prototype.posStart = function() {
  6373.                 return this.stream.pos
  6374.             };
  6375.             bf.ASN1.prototype.posContent = function() {
  6376.                 return this.stream.pos + this.header
  6377.             };
  6378.             bf.ASN1.prototype.posEnd = function() {
  6379.                 return this.stream.pos + this.header + Math.abs(this.length)
  6380.             };
  6381.             bf.ASN1.prototype.toHexDOM_sub = function(by, bx, bz, bA, bv) {
  6382.                 if (bA >= bv) {
  6383.                     return
  6384.                 }
  6385.                 var bw = document.createElement("span");
  6386.                 bw.className = bx;
  6387.                 bw.appendChild(document.createTextNode(bz.hexDump(bA, bv)));
  6388.                 by.appendChild(bw)
  6389.             };
  6390.             bf.ASN1.prototype.toHexDOM = function() {
  6391.                 var by = document.createElement("span");
  6392.                 by.className = "hex";
  6393.                 this.head.hexNode = by;
  6394.                 this.head.onmouseover = function() {
  6395.                     this.hexNode.className = "hexCurrent"
  6396.                 };
  6397.                 this.head.onmouseout = function() {
  6398.                     this.hexNode.className = "hex"
  6399.                 };
  6400.                 this.toHexDOM_sub(by, "tag", this.stream, this.posStart(), this.posStart() + 1);
  6401.                 this.toHexDOM_sub(by, (this.length >= 0) ? "dlen" : "ulen", this.stream, this.posStart() + 1, this.posContent());
  6402.                 if (this.sub == null) {
  6403.                     by.appendChild(document.createTextNode(this.stream.hexDump(this.posContent(), this.posEnd())))
  6404.                 } else {
  6405.                     if (this.sub.length > 0) {
  6406.                         var bz = this.sub[0];
  6407.                         var bx = this.sub[this.sub.length - 1];
  6408.                         this.toHexDOM_sub(by, "intro", this.stream, this.posContent(), bz.posStart());
  6409.                         for (var bw = 0, bv = this.sub.length; bw < bv; ++bw) {
  6410.                             by.appendChild(this.sub[bw].toHexDOM())
  6411.                         }
  6412.                         this.toHexDOM_sub(by, "outro", this.stream, bx.posEnd(), this.posEnd())
  6413.                     }
  6414.                 }
  6415.                 return by
  6416.             };
  6417.             bf.ASN1.decodeLength = function(by) {
  6418.                 var bw = by.get();
  6419.                 var bv = bw & 127;
  6420.                 if (bv == bw) {
  6421.                     return bv
  6422.                 }
  6423.                 if (bv > 3) {
  6424.                     throw "Length over 24 bits not supported at position " + (by.pos - 1)
  6425.                 }
  6426.                 if (bv == 0) {
  6427.                     return -1
  6428.                 }
  6429.                 bw = 0;
  6430.                 for (var bx = 0; bx < bv; ++bx) {
  6431.                     bw = (bw << 8) | by.get()
  6432.                 }
  6433.                 return bw
  6434.             };
  6435.             bf.ASN1.hasContent = function(bw, bv, bB) {
  6436.                 if (bw & 32) {
  6437.                     return true
  6438.                 }
  6439.                 if ((bw < 3) || (bw > 4)) {
  6440.                     return false
  6441.                 }
  6442.                 var bA = new bu(bB);
  6443.                 if (bw == 3) {
  6444.                     bA.get()
  6445.                 }
  6446.                 var bz = bA.get();
  6447.                 if ((bz >> 6) & 1) {
  6448.                     return false
  6449.                 }
  6450.                 try {
  6451.                     var by = bf.ASN1.decodeLength(bA);
  6452.                     return ((bA.pos - bB.pos) + by == bv)
  6453.                 } catch (bx) {
  6454.                     return false
  6455.                 }
  6456.             };
  6457.             bf.ASN1.decode = function(bC) {
  6458.                 if (!(bC instanceof bu)) {
  6459.                     bC = new bu(bC, 0)
  6460.                 }
  6461.                 var bB = new bu(bC);
  6462.                 var bE = bC.get();
  6463.                 var bz = bf.ASN1.decodeLength(bC);
  6464.                 var by = bC.pos - bB.pos;
  6465.                 var bv = null;
  6466.                 if (bf.ASN1.hasContent(bE, bz, bC)) {
  6467.                     var bw = bC.pos;
  6468.                     if (bE == 3) {
  6469.                         bC.get()
  6470.                     }
  6471.                     bv = [];
  6472.                     if (bz >= 0) {
  6473.                         var bx = bw + bz;
  6474.                         while (bC.pos < bx) {
  6475.                             bv[bv.length] = bf.ASN1.decode(bC)
  6476.                         }
  6477.                         if (bC.pos != bx) {
  6478.                             throw "Content size is not correct for container starting at offset " + bw
  6479.                         }
  6480.                     } else {
  6481.                         try {
  6482.                             for (;;) {
  6483.                                 var bD = bf.ASN1.decode(bC);
  6484.                                 if (bD.tag == 0) {
  6485.                                     break
  6486.                                 }
  6487.                                 bv[bv.length] = bD
  6488.                             }
  6489.                             bz = bw - bC.pos
  6490.                         } catch (bA) {
  6491.                             throw "Exception while decoding undefined length content: " + bA
  6492.                         }
  6493.                     }
  6494.                 } else {
  6495.                     bC.pos += bz
  6496.                 }
  6497.                 return new bf.ASN1(bB, by, bz, bE, bv)
  6498.             };
  6499.             bf.ASN1.test = function() {
  6500.                 var bA = [{
  6501.                     value: [39],
  6502.                     expected: 39
  6503.                 }, {
  6504.                     value: [129, 201],
  6505.                     expected: 201
  6506.                 }, {
  6507.                     value: [131, 254, 220, 186],
  6508.                     expected: 16702650
  6509.                 }, ];
  6510.                 for (var bx = 0, bv = bA.length; bx < bv; ++bx) {
  6511.                     var bz = 0;
  6512.                     var by = new bu(bA[bx].value, 0);
  6513.                     var bw = bf.ASN1.decodeLength(by);
  6514.                     if (bw != bA[bx].expected) {
  6515.                         document.write("In test[" + bx + "] expected " + bA[bx].expected + " got " + bw + "\n")
  6516.                     }
  6517.                 }
  6518.             }
  6519.         }
  6520.     })();
  6521.  
  6522.     function aY(bz) {
  6523.         var bE = bz.split("\n");
  6524.         var bu = false;
  6525.         var bv = false;
  6526.         var bw = false;
  6527.         var bB = "";
  6528.         var bx = {};
  6529.         bx.info = "";
  6530.         bx.salt = "";
  6531.         bx.iv;
  6532.         bx.b64 = "";
  6533.         bx.aes = false;
  6534.         bx.mode = "";
  6535.         bx.bits = 0;
  6536.         for (var bA = 0; bA < bE.length; bA++) {
  6537.             bB = bE[bA].substr(0, 9);
  6538.             if (bA == 1 && bB != "Proc-Type" && bB.indexOf("M") == 0) {
  6539.                 bv = true
  6540.             }
  6541.             switch (bB) {
  6542.                 case "-----BEGI":
  6543.                     bu = true;
  6544.                     break;
  6545.                 case "Proc-Type":
  6546.                     if (bu) {
  6547.                         bx.info = bE[bA]
  6548.                     }
  6549.                     break;
  6550.                 case "DEK-Info:":
  6551.                     if (bu) {
  6552.                         var by = bE[bA].split(",");
  6553.                         var bD = by[0].split(": ");
  6554.                         var bC = bD[1].split("-");
  6555.                         bx.aes = (bC[0] == "AES") ? true : false;
  6556.                         bx.mode = bC[2];
  6557.                         bx.bits = parseInt(bC[1]);
  6558.                         bx.salt = by[1].substr(0, 16);
  6559.                         bx.iv = by[1]
  6560.                     }
  6561.                     break;
  6562.                 case "":
  6563.                     if (bu) {
  6564.                         bv = true
  6565.                     }
  6566.                     break;
  6567.                 case "-----END ":
  6568.                     if (bu) {
  6569.                         bv = false;
  6570.                         bu = false
  6571.                     }
  6572.                     break;
  6573.                 default:
  6574.                     if (bu && bv) {
  6575.                         bx.b64 += aM.stripLineFeeds(bE[bA])
  6576.                     }
  6577.             }
  6578.         }
  6579.         return bx
  6580.     }
  6581.     var a2 = aY(ac);
  6582.     if (!a2.b64) {
  6583.         return null
  6584.     }
  6585.     var aA = aM.decodeBase64(a2.b64);
  6586.     var G = new bf.RSA();
  6587.     var aP = bf.ASN1.decode(aM.toByteArray(aA));
  6588.     var at = aP.toHexTree();
  6589.     G.setPublicKeyFromASN(at);
  6590.     var aF = G.encrypt(aX);
  6591.     var bj = aM.fragment(aM.encodeBase64(aM.convertFromHex(aF)), 64);
  6592.     return bj
  6593. }
  6594. $(function() {
  6595.     $.removeCookie("PHPSESSID");
  6596.  
  6597.     function e(q, r, o, k, m, s) {
  6598.         function t() {
  6599.             if (window.tid === undefined) {
  6600.                 window.tid = 0
  6601.             }
  6602.             window.tid++;
  6603.             return window.tid
  6604.         }
  6605.         var l, n;
  6606.         l = window.location.protocol + "//" + window.location.host + "/webservice/" + q + "/" + r;
  6607.         var p = {
  6608.             action: o,
  6609.             data: m,
  6610.             type: "rpc",
  6611.             method: k,
  6612.             tid: t()
  6613.         };
  6614.         n = {
  6615.             contentType: "application/json",
  6616.             crossDomain: true,
  6617.             data: JSON.stringify(p),
  6618.             dataType: "json",
  6619.             method: "POST",
  6620.             success: s
  6621.         };
  6622.         $.ajax(l, n)
  6623.     }
  6624.     window.callApi = e;
  6625.  
  6626.     function g() {
  6627.         e("CCORE", "system", "SecurityManager", "getLoginFormCaptcha", {}, function(k) {
  6628.             if (!k.type) {
  6629.                 return
  6630.             }
  6631.             if (k.type != "rpc") {
  6632.                 return
  6633.             }
  6634.             if (!k.result) {
  6635.                 return
  6636.             }
  6637.             $("#captcha-box").show();
  6638.             $(".captcha-image-input img").attr("src", "data:image/jpg;base64," + k.result)
  6639.         })
  6640.     }
  6641.  
  6642.     function i() {
  6643.         initI18N();
  6644.         $("#login-window").show();
  6645.         h();
  6646.         g();
  6647.         d()
  6648.     }
  6649.     e("CCORE", "system", "SecurityManager", "getUserInfo", {}, function(k) {
  6650.         if (k && k.url) {
  6651.             window.location.replace(k.url)
  6652.         } else {
  6653.             i()
  6654.         }
  6655.     });
  6656.     var c = $("#login-window");
  6657.     var f = $("#recover-password-window");
  6658.     $("#login-window form").submit(function() {
  6659.         var m = $("[name=email]", this).val();
  6660.         var l = $("[name=password]", this).val();
  6661.         var k = $("[name=captcha]", this).val();
  6662.         var o = $("#login-window .loading-mask");
  6663.         var n = $("[name=login]", this);
  6664.         if (n.hasClass("disabled")) {
  6665.             return false
  6666.         }
  6667.         var p = {
  6668.             isPasswordHashed: false,
  6669.             captchaAnswer: k,
  6670.             password: l,
  6671.             regenerateSession: true,
  6672.             userName: m
  6673.         };
  6674.         o.show();
  6675.         e("CCORE", "system", "SecurityManager", "getAuthenticationKey", {}, function(r, q, s) {
  6676.             var t = r.result;
  6677.             p.password = encrypt(p.password, t);
  6678.             p.isPasswordEncrypted = true;
  6679.             p.userName = encrypt(p.userName, t);
  6680.             p.isUsernameEncrypted = true;
  6681.             e("CCORE", "system", "SecurityManager", "authenticate", p, function(v, u, z) {
  6682.                 switch (v.type) {
  6683.                     case "exception":
  6684.                         o.hide();
  6685.                         $("#login-window .error").hide();
  6686.                         var x = v.exceptionType.replace(/Exceptions\\/, "");
  6687.                         var y = ["AuthenticationFailed", "InvalidCaptcha", "CompanyIsMigrating", "AuthenticationSuspendedUser"];
  6688.                         if (!$.inArray(x, y)) {
  6689.                             x = "AuthenticationFailed"
  6690.                         }
  6691.                         $("#login-window .error." + x).show();
  6692.                         g();
  6693.                         break;
  6694.                     case "rpc":
  6695.                         if (v.url) {
  6696.                             var w = v.url;
  6697.                             if (window.location.hash) {
  6698.                                 w += window.location.hash
  6699.                             }
  6700.                             $.removeCookie("shouldRefreshAllPortlets", {
  6701.                                 domain: "." + window.location.host,
  6702.                                 expires: 365
  6703.                             });
  6704.                             $.cookie("shouldRefreshAllPortlets", 1, {
  6705.                                 domain: "." + window.location.host,
  6706.                                 expires: 365
  6707.                             });
  6708.                             window.location.replace(w);
  6709.                             return
  6710.                         }
  6711.                         break
  6712.                 }
  6713.                 $("#login-window form")[0].reset();
  6714.                 h()
  6715.             })
  6716.         });
  6717.         return false
  6718.     });
  6719.     $("#recover-password-link").click(function() {
  6720.         c.hide();
  6721.         f.show();
  6722.         $("#recover-password-window form")[0].reset();
  6723.         $("#recover-password-window [name=submit]").addClass("disabled");
  6724.         $("#recover-password-window form").show();
  6725.         $("#recover-password-window .message").hide();
  6726.         $("#recover-password-window .error-message").hide();
  6727.         $("#recover-password-window .success-message").hide();
  6728.         $("#recover-password-window .icon-error").hide();
  6729.         $("#recover-password-window .icon-ok").hide();
  6730.         return false
  6731.     });
  6732.     $("#recover-password-window .button[name=cancel]").click(function() {
  6733.         c.show();
  6734.         f.hide();
  6735.         return false
  6736.     });
  6737.     $("#recover-password-window form").submit(function() {
  6738.         var k = $("[name=email]", this).val();
  6739.         var m = $("#recover-password-window .loading-mask");
  6740.         var n = {
  6741.             email: k
  6742.         };
  6743.         var l = $("[name=submit]", this);
  6744.         if (l.hasClass("disabled")) {
  6745.             return false
  6746.         }
  6747.         m.show();
  6748.         e("CCORE", "system", "SecurityManager", "getAuthenticationKey", {}, function(p, o, q) {
  6749.             var r = p.result;
  6750.             n.email = encrypt(n.email, r);
  6751.             n.isEmailEncrypted = true;
  6752.             e("CCORE", "model", "Users", "requestPasswordRecovery", n, function(s) {
  6753.                 m.hide();
  6754.                 $("#recover-password-window form").hide();
  6755.                 $("#recover-password-window .message").show();
  6756.                 switch (s.type) {
  6757.                     case "exception":
  6758.                         var t = s.exceptionType.replace(/Exceptions\\/, "");
  6759.                         var u = ["NoUsersFoundException", "UsersPasswordRecoveryTimeout", "CompanyIsMigrating"];
  6760.                         if (!$.inArray(t, u)) {
  6761.                             t = "NoUsersFoundException"
  6762.                         }
  6763.                         $("#recover-password-window .error-message." + t).show();
  6764.                         $("#recover-password-window .icon-error").show();
  6765.                         break;
  6766.                     case "rpc":
  6767.                         if (s.result.success) {
  6768.                             $("#recover-password-window .success-message").show();
  6769.                             $("#recover-password-window .icon-ok").show()
  6770.                         }
  6771.                         break
  6772.                 }
  6773.             })
  6774.         });
  6775.         return false
  6776.     });
  6777.     $("#refresh-captcha-link").click(function() {
  6778.         g();
  6779.         return false
  6780.     });
  6781.  
  6782.     function b() {
  6783.         var q = $("#login-window form");
  6784.         var o = $("[name=email]", q);
  6785.         var l = $("[name=login]", q);
  6786.         var r = $("[name=password]", q);
  6787.         var p = $("[name=captcha]", q);
  6788.         var s = $("#captcha-box");
  6789.         var n = [o, r];
  6790.         var k = true;
  6791.         if (s.is(":visible")) {
  6792.             n.push(p)
  6793.         }
  6794.         for (var m = 0; m < n.length; m++) {
  6795.             if (!n[m].data("isValid")) {
  6796.                 k = false;
  6797.                 break
  6798.             }
  6799.         }
  6800.         if (k) {
  6801.             l.removeClass("disabled")
  6802.         } else {
  6803.             l.addClass("disabled")
  6804.         }
  6805.     }
  6806.  
  6807.     function h() {
  6808.         var q = $("#login-window form");
  6809.         var n = $("[name=email]", q);
  6810.         var m = $("[name=password]", q);
  6811.         var l = $("[name=captcha]", q);
  6812.         var k = [n, m];
  6813.         var p = $("#captcha-box");
  6814.         if (p.is(":visible")) {
  6815.             k.push(l)
  6816.         }
  6817.         for (var o = 0; o < k.length; o++) {
  6818.             a({
  6819.                 target: k[o][0]
  6820.             })
  6821.         }
  6822.     }
  6823.  
  6824.     function a(k) {
  6825.         var l = k.target;
  6826.         if (l.value.length > 0) {
  6827.             $(l).data("isValid", true)
  6828.         } else {
  6829.             $(l).data("isValid", false)
  6830.         }
  6831.         b()
  6832.     }
  6833.  
  6834.     function j(l) {
  6835.         var m = l.target;
  6836.         var n = /^(?!(?:(?:\x22?\x5C[\x00-\x7E]\x22?)|(?:\x22?[^\x5C\x22]\x22?)){255,})(?!(?:(?:\x22?\x5C[\x00-\x7E]\x22?)|(?:\x22?[^\x5C\x22]\x22?)){65,}@)(?:(?:[\x21\x23-\x27\x2A\x2B\x2D\x2F-\x39\x3D\x3F\x5E-\x7E]+)|(?:\x22(?:[\x01-\x08\x0B\x0C\x0E-\x1F\x21\x23-\x5B\x5D-\x7F]|(?:\x5C[\x00-\x7F]))*\x22))(?:\.(?:(?:[\x21\x23-\x27\x2A\x2B\x2D\x2F-\x39\x3D\x3F\x5E-\x7E]+)|(?:\x22(?:[\x01-\x08\x0B\x0C\x0E-\x1F\x21\x23-\x5B\x5D-\x7F]|(?:\x5C[\x00-\x7F]))*\x22)))*@(?:(?:(?!.*[^.]{64,})(?:(?:(?:xn--)?[a-z0-9]+(?:-[a-z0-9]+)*\.){1,126}){1,}(?:(?:[a-z][a-z0-9]*)|(?:(?:xn--)[a-z0-9]+))(?:-[a-z0-9]+)*)|(?:\[(?:(?:IPv6:(?:(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){7})|(?:(?!(?:.*[a-f0-9][:\]]){7,})(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,5})?::(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,5})?)))|(?:(?:IPv6:(?:(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){5}:)|(?:(?!(?:.*[a-f0-9]:){5,})(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,3})?::(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,3}:)?)))?(?:(?:25[0-5])|(?:2[0-4][0-9])|(?:1[0-9]{2})|(?:[1-9]?[0-9]))(?:\.(?:(?:25[0-5])|(?:2[0-4][0-9])|(?:1[0-9]{2})|(?:[1-9]?[0-9]))){3}))\]))$/i;
  6837.         var k = $("#recover-password-window [name=submit]");
  6838.         if (n.test(m.value)) {
  6839.             k.removeClass("disabled")
  6840.         } else {
  6841.             k.addClass("disabled")
  6842.         }
  6843.     }
  6844.  
  6845.     function d() {
  6846.         var l = "application-load-complete";
  6847.         var k = document.getElementsByTagName("body")[0];
  6848.         var m = document.getElementById(l);
  6849.         if (m) {
  6850.             return
  6851.         }
  6852.         m = document.createElement("div");
  6853.         m.id = l;
  6854.         k.appendChild(m)
  6855.     }
  6856.     $("#login-window form [name=email]").on("input", a);
  6857.     $("#login-window form [name=password]").on("input", a);
  6858.     $("#login-window form [name=captcha]").on("input", a);
  6859.     $("#recover-password-window form [name=email]").on("input", j);
  6860.     $(document).ready(function() {
  6861.         setInterval(h, 1000)
  6862.     })
  6863. });
  6864.  
  6865. function pretifySelect() {
  6866.     $("select").each(function() {
  6867.         var f = $(this),
  6868.             a = $(this).children("option").length;
  6869.         f.addClass("s-hidden");
  6870.         f.wrap('<div class="select"></div>');
  6871.         f.after('<div class="styledSelect" language="' + $.cookie("lang") + '"></div>');
  6872.         var e = f.next("div.styledSelect");
  6873.         var g = document.getElementById("language-selector");
  6874.         e.text(f.children("option").eq(g.selectedIndex).text());
  6875.         var b = $("<ul />", {
  6876.             "class": "options"
  6877.         }).insertAfter(e);
  6878.         for (var d = 0; d < a; d++) {
  6879.             $("<li />", {
  6880.                 text: f.children("option").eq(d).text(),
  6881.                 rel: f.children("option").eq(d).val()
  6882.             }).appendTo(b)
  6883.         }
  6884.         var c = b.children("li");
  6885.         e.click(function(h) {
  6886.             h.stopPropagation();
  6887.             $("div.styledSelect.active").each(function() {
  6888.                 $(this).removeClass("active").next("ul.options").hide()
  6889.             });
  6890.             $(this).toggleClass("active").next("ul.options").toggle()
  6891.         });
  6892.         c.click(function(j) {
  6893.             j.stopPropagation();
  6894.             e.text($(this).text()).removeClass("active");
  6895.             e.attr("language", this.getAttribute("rel"));
  6896.             f.val($(this).attr("rel"));
  6897.             var h = document.getElementById("language-selector");
  6898.             for (var i = 0; i < h.children.length; i++) {
  6899.                 h.children[i].removeAttribute("selected");
  6900.                 if (h.children[i].getAttribute("value") == this.getAttribute("rel")) {
  6901.                     h.options[i].setAttribute("selected", "selected");
  6902.                     fireEvent(h, "change")
  6903.                 }
  6904.             }
  6905.             b.hide()
  6906.         });
  6907.         $(document).click(function() {
  6908.             e.removeClass("active");
  6909.             b.hide()
  6910.         })
  6911.     })
  6912. }
  6913.  
  6914. function fireEvent(b, c) {
  6915.     if (document.createEventObject) {
  6916.         var a = document.createEventObject();
  6917.         return b.fireEvent("on" + c, a)
  6918.     } else {
  6919.         var a = document.createEvent("HTMLEvents");
  6920.         a.initEvent(c, true, true);
  6921.         return !b.dispatchEvent(a)
  6922.     }
  6923. }
  6924. var languages = [{
  6925.     id: "en_US",
  6926.     title: "English",
  6927.     "default": true
  6928. }, {
  6929.     id: "es_ES",
  6930.     title: "Espa\u00f1ol",
  6931.     "default": false
  6932. }, {
  6933.     id: "de_DE",
  6934.     title: "Deutsch",
  6935.     "default": false
  6936. }, {
  6937.     id: "fr_FR",
  6938.     title: "Fran\u00e7ais",
  6939.     "default": false
  6940. }, {
  6941.     id: "ro_RO",
  6942.     title: "Rom\u00e2n\u0103",
  6943.     "default": false
  6944. }, {
  6945.     id: "pl_PL",
  6946.     title: "Polski",
  6947.     "default": false
  6948. }, {
  6949.     id: "pt_BR",
  6950.     title: "Portugu\u00eas",
  6951.     "default": false
  6952. }, {
  6953.     id: "it_IT",
  6954.     title: "Italiano",
  6955.     "default": false
  6956. }, {
  6957.     id: "ru_RU",
  6958.     title: "\u0420\u0443\u0441\u0441\u043A\u0438\u0439",
  6959.     "default": false
  6960. }];
  6961.  
  6962. function __(d, c) {
  6963.     if (typeof d != "string" || (typeof c != "undefined" && typeof c != "object")) {
  6964.         return ""
  6965.     }
  6966.     if (typeof window._consoleDictionary != "undefined" && typeof window._consoleDictionary[d] == "string") {
  6967.         d = window._consoleDictionary[d]
  6968.     }
  6969.     if (typeof c == "undefined" || c.length == 0) {
  6970.         return d
  6971.     }
  6972.     var e = d.match(/:[a-z0-9_-]+/ig);
  6973.     if (e != null && e.length) {
  6974.         for (var b = 0; b < e.length; b++) {
  6975.             var a = e[b].substr(1);
  6976.             if (typeof c[a] != "undefined") {
  6977.                 d = d.replace(":" + a, c[a])
  6978.             }
  6979.         }
  6980.     }
  6981.     return d
  6982. }
  6983.  
  6984. function translate() {
  6985.     $("span.translate").each(function(a, b) {
  6986.         b = $(b);
  6987.         if (!b.children().length) {
  6988.             var c = b.data("text");
  6989.             if (c) {
  6990.                 b.text(__(c))
  6991.             }
  6992.         }
  6993.     });
  6994.     $("input[placeholder]").each(function(b, a) {
  6995.         a = $(a);
  6996.         var c = a.data("text");
  6997.         if (c) {
  6998.             a.attr("placeholder", __(c))
  6999.         }
  7000.     });
  7001.     $("input[value]").each(function(b, a) {
  7002.         a = $(a);
  7003.         var c = a.data("text");
  7004.         if (c) {
  7005.             a.val(__(c))
  7006.         }
  7007.     })
  7008. }
  7009.  
  7010. function initI18N() {
  7011.     if (languages && languages.length) {
  7012.         var e = $("#language-selector");
  7013.         var a = $.cookie("lang");
  7014.         for (var c = 0; c < languages.length; c++) {
  7015.             var d = '<option value="' + languages[c].id + '" ' + (a ? (a == languages[c].id ? "selected" : "") : (languages[c]["default"] ? "selected" : "")) + ">" + languages[c].title + "</option>";
  7016.             e.append($(d))
  7017.         }
  7018.  
  7019.         function b(h) {
  7020.             var g = $("option:selected", e).val();
  7021.             var f = window.location.protocol + "//" + window.location.host + "/js/dictionaries/" + g + ".json";
  7022.             $.get(f, {}, function(i) {
  7023.                 window._consoleDictionary = i;
  7024.                 translate()
  7025.             }, "json");
  7026.             $.removeCookie("lang");
  7027.             $.cookie("lang", g, {
  7028.                 domain: "." + window.location.host,
  7029.                 expires: 365
  7030.             });
  7031.             if (h) {
  7032.                 window.location.hash = "lang=" + g
  7033.             }
  7034.         }
  7035.         e.change(function() {
  7036.             b(true)
  7037.         });
  7038.         b(false);
  7039.         pretifySelect()
  7040.     }
  7041. };
Add Comment
Please, Sign In to add comment