Free javascript Hosting


soft98-antiadb.js

Uploaded on Jan 09 2022 21:58 by mysignup27

!function (e, t) {
"object" == typeof exports && "undefined" != typeof module ? t(exports) : "function" == typeof define && define.amd ? define(["exports"], t) : t((e = e || self).app =
{
}
)
}
(this, function (e) {
"use strict";
var t, n = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self :
{
}
, i = (function (e) {
var t, i;
t = "undefined" != typeof window ? window : n, i = function (e, t) {
function n(e) {
return null != e && e === e.window
}
var i = [], o = e.document, r = Object.getPrototypeOf, a = i.slice, s = i.concat, l = i.push, c = i.indexOf, u =
{
}
, d = u.toString, f = u.hasOwnProperty, h = f.toString, p = h.call(Object), m =
{
}
, g = function (e) {
return "function" == typeof e && "number" != typeof e.nodeType
}
, v =
{
type: !0, src: !0, nonce: !0, noModule: !0
};
function y(e, t, n) {
var i, r, a = (n = n || o).createElement("script");
if (a.text = e, t) for (i in v) (r = t[i] || t.getAttribute && t.getAttribute(i)) && a.setAttribute(i, r);
n.head.appendChild(a).parentNode.removeChild(a)
}
function b(e) {
return null == e ? e + "" : "object" == typeof e || "function" == typeof e ? u[d.call(e)] || "object" : typeof e
}
var _ = "3.4.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseXML,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-event/ajax,-effects,-effects/Tween,-effects/animatedSelector", w = function (e, t) {
return new w.fn.init(e, t)
}
, C = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
function x(e) {
var t = !!e && "length" in e && e.length, i = b(e);
return !g(e) && !n(e) && ("array" === i || 0 === t || "number" == typeof t && 0 < t && t - 1 in e)
}
w.fn = w.prototype =
{
jquery: _, constructor: w, length: 0, toArray: function () {
return a.call(this)
}
, get: function (e) {
return null == e ? a.call(this) : e < 0 ? this[e + this.length] : this[e]
}
, pushStack: function (e) {
return (e = w.merge(this.constructor(), e)).prevObject = this, e
}
, each: function (e) {
return w.each(this, e)
}
, map: function (e) {
return this.pushStack(w.map(this, function (t, n) {
return e.call(t, n, t)
}
))
}
, slice: function () {
return this.pushStack(a.apply(this, arguments))
}
, first: function () {
return this.eq(0)
}
, last: function () {
return this.eq(-1)
}
, eq: function (e) {
var t = this.length;
e = +e + (e < 0 ? t : 0);
return this.pushStack(0 <= e && e < t ? [this[e]] : [])
}
, end: function () {
return this.prevObject || this.constructor()
}
, push: l, sort: i.sort, splice: i.splice
}
, w.extend = w.fn.extend = function () {
var e, t, n, i, o, r = arguments[0] ||
{
}
, a = 1, s = arguments.length, l = !1;
for ("boolean" == typeof r && (l = r, r = arguments[a] ||
{
}
, a++), "object" == typeof r || g(r) || (r =
{
}
), a === s && (r = this, a--);
a < s;
a++)if (null != (e = arguments[a])) for (t in e) n = e[t], "__proto__" !== t && r !== n && (l && n && (w.isPlainObject(n) || (i = Array.isArray(n))) ? (o = r[t], o = i && !Array.isArray(o) ? [] : i || w.isPlainObject(o) ? o :
{
}
, i = !1, r[t] = w.extend(l, o, n)) : void 0 !== n && (r[t] = n));
return r
}
, w.extend(
{
expando: "jQuery" + (_ + Math.random()).replace(/\D/g, ""), isReady: !0, error: function (e) {
throw new Error(e)
}
, noop: function () {
}
, isPlainObject: function (e) {
return !(!e || "[object Object]" !== d.call(e) || (e = r(e)) && ("function" != typeof (e = f.call(e, "constructor") && e.constructor) || h.call(e) !== p))
}
, isEmptyObject: function (e) {
for (var t in e) return !1;
return !0
}
, globalEval: function (e, t) {
y(e,
{
nonce: t && t.nonce
}
)
}
, each: function (e, t) {
var n, i = 0;
if (x(e)) for (n = e.length;
i < n && !1 !== t.call(e[i], i, e[i]);
i++);
else for (i in e) if (!1 === t.call(e[i], i, e[i])) break;
return e
}
, trim: function (e) {
return null == e ? "" : (e + "").replace(C, "")
}
, makeArray: function (e, t) {
return t = t || [], null != e && (x(Object(e)) ? w.merge(t, "string" == typeof e ? [e] : e) : l.call(t, e)), t
}
, inArray: function (e, t, n) {
return null == t ? -1 : c.call(t, e, n)
}
, merge: function (e, t) {
for (var n = +t.length, i = 0, o = e.length;
i < n;
i++)e[o++] = t[i];
return e.length = o, e
}
, grep: function (e, t, n) {
for (var i = [], o = 0, r = e.length, a = !n;
o < r;
o++)!t(e[o], o) != a && i.push(e[o]);
return i
}
, map: function (e, t, n) {
var i, o, r = 0, a = [];
if (x(e)) for (i = e.length;
r < i;
r++)null != (o = t(e[r], r, n)) && a.push(o);
else for (r in e) null != (o = t(e[r], r, n)) && a.push(o);
return s.apply([], a)
}
, guid: 1, support: m
}
), "function" == typeof Symbol && (w.fn[Symbol.iterator] = i[Symbol.iterator]), w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), function (e, t) {
u["[object " + t + "]"] = t.toLowerCase()
}
);
var E = function (e) {
function t(e, t, n) {
var i = "0x" + t - 65536;
return i != i || n ? t : i < 0 ? String.fromCharCode(65536 + i) : String.fromCharCode(i >> 10 | 55296, 1023 & i | 56320)
}
function n() {
p()
}
var i, o, r, a, s, l, c, u, d, f, h, p, m, g, v, y, b, _, w, C = "sizzle" + +new Date, x = e.document, E = 0, T = 0, D = bb(), S = bb(), k = bb(), N = bb(), A = function (e, t) {
return e === t && (h = !0), 0
}
, O =
{
}
.hasOwnProperty, I = [], L = I.pop, P = I.push, j = I.push, R = I.slice, H = function (e, t) {
for (var n = 0, i = e.length;
n < i;
n++)if (e[n] === t) return n;
return -1
}
, M = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", F = "[\\x20\\t\\r\\n\\f]", B = "(?:\\\\.|[\\w-]|[^\0-\\xa0])+", q = "\\[" + F + "*(" + B + ")(?:" + F + "*([*^$|!~]?=)" + F + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + B + "))|)" + F + "*\\]", W = ":(" + B + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + q + ")*)|.*)\\)|)", U = new RegExp(F + "+", "g"), K = new RegExp("^" + F + "+|((?:^|[^\\\\])(?:\\\\.)*)" + F + "+$", "g"), V = new RegExp("^" + F + "*," + F + "*"), z = new RegExp("^" + F + "*([>+~]|" + F + ")" + F + "*"), $ = new RegExp(F + "|>"), Y = new RegExp(W), Q = new RegExp("^" + B + "$"), G =
{
ID: new RegExp("^#(" + B + ")"), CLASS: new RegExp("^\\.(" + B + ")"), TAG: new RegExp("^(" + B + "|[*])"), ATTR: new RegExp("^" + q), PSEUDO: new RegExp("^" + W), CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + F + "*(even|odd|(([+-]|)(\\d*)n|)" + F + "*(?:([+-]|)" + F + "*(\\d+)|))" + F + "*\\)|)", "i"), bool: new RegExp("^(?:" + M + ")$", "i"), needsContext: new RegExp("^" + F + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + F + "*((?:-\\d)?\\d*)" + F + "*\\)|)(?=[^-]|$)", "i")
}
, X = /HTML$/i, Z = /^(?:input|select|textarea|button)$/i, J = /^h\d$/i, ee = /^[^
{
]+\
{
\s *\[native \w /, ba = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, ne = /[+~]/, br = new RegExp("\\\\([\\da-f]
{
1, 6
}
"+F+" ?| ("+F+") |.)","ig"),oe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,re=function(e,t)
{
return t ? "\0" === e ? "�" : e.slice(0, -1) + "\\" + e.charCodeAt(e.length - 1).toString(16) + " " : "\\" + e
}
, bs = bf(function (e) {
return !0 === e.disabled && "fieldset" === e.nodeName.toLowerCase()
}
,
{
dir: "parentNode", next: "legend"
}
);
try {
j.apply(I = R.call(x.childNodes), x.childNodes), I[x.childNodes.length].nodeType
}
catch (i) {
j =
{
apply: I.length ? function (e, t) {
P.apply(e, R.call(t))
}
: function (e, t) {
for (var n = e.length, i = 0;
e[n++] = t[i++];
);
e.length = n - 1
}
}
}
function se(e, t, n, i) {
var r, a, s, c, d, f, h, g = t && t.ownerDocument, b = t ? t.nodeType : 9;
if (n = n || [], "string" != typeof e || !e || 1 !== b && 9 !== b && 11 !== b) return n;
if (!i && ((t ? t.ownerDocument || t : x) !== m && p(t), t = t || m, v)) {
if (11 !== b && (d = ba.exec(e))) if (r = d[1]) {
if (9 === b) {
if (!(s = t.getElementById(r))) return n;
if (s.id === r) return n.push(s), n
}
else if (g && (s = g.getElementById(r)) && w(t, s) && s.id === r) return n.push(s), n
}
else {
if (d[2]) return j.apply(n, t.getElementsByTagName(e)), n;
if ((r = d[3]) && o.getElementsByClassName && t.getElementsByClassName) return j.apply(n, t.getElementsByClassName(r)), n
}
if (o.qsa && !N[e + " "] && (!y || !y.test(e)) && (1 !== b || "object" !== t.nodeName.toLowerCase())) {
if (h = e, g = t, 1 === b && $.test(e)) {
for ((c = t.getAttribute("id")) ? c = c.replace(oe, re) : t.setAttribute("id", c = C), a = (f = l(e)).length;
a--;
)f[a] = "#" + c + " " + ve(f[a]);
h = f.join(","), g = ne.test(e) && bu(t.parentNode) || t
}
try {
return j.apply(n, g.querySelectorAll(h)), n
}
catch (t) {
N(e, !0)
}
finally {
c === C && t.removeAttribute("id")
}
}
}
return u(e.replace(K, "$1"), t, n, i)
}
function bb() {
var e = [];
return function t(n, i) {
return e.push(n + " ") > r.cacheLength && delete t[e.shift()], t[n + " "] = i
}
}
function ce(e) {
return e[C] = !0, e
}
function bc(e) {
var t = m.createElement("fieldset");
try {
return !!e(t)
}
catch (e) {
return !1
}
finally {
t.parentNode && t.parentNode.removeChild(t), t = null
}
}
function de(e, t) {
for (var n = e.split("|"), i = n.length;
i--;
)r.attrHandle[n[i]] = t
}
function fe(e, t) {
var n = t && e, i = n && 1 === e.nodeType && 1 === t.nodeType && e.sourceIndex - t.sourceIndex;
if (i) return i;
if (n) for (;
n = n.nextSibling;
)if (n === t) return -1;
return e ? 1 : -1
}
function he(e) {
return function (t) {
return "form" in t ? t.parentNode && !1 === t.disabled ? "label" in t ? "label" in t.parentNode ? t.parentNode.disabled === e : t.disabled === e : t.isDisabled === e || t.isDisabled !== !e && bs(t) === e : t.disabled === e : "label" in t && t.disabled === e
}
}
function pe(e) {
return ce(function (t) {
return t = +t, ce(function (n, i) {
for (var o, r = e([], n.length, t), a = r.length;
a--;
)n[o = r[a]] && (n[o] = !(i[o] = n[o]))
}
)
}
)
}
function bu(e) {
return e && void 0 !== e.getElementsByTagName && e
}
for (i in o = se.support =
{
}
, s = se.isXML = function (e) {
var t = e.namespaceURI;
e = (e.ownerDocument || e).documentElement;
return !X.test(t || e && e.nodeName || "HTML")
}
, p = se.setDocument = function (e) {
var i;
return (e = e ? e.ownerDocument || e : x) !== m && 9 === e.nodeType && e.documentElement && (g = (m = e).documentElement, v = !s(m), x !== m && (i = m.defaultView) && i.top !== i && (i.addEventListener ? i.addEventListener("unload", n, !1) : i.attachEvent && i.attachEvent("onunload", n)), o.attributes = bc(function (e) {
return e.className = "i", !e.getAttribute("className")
}
), o.getElementsByTagName = bc(function (e) {
return e.appendChild(m.createComment("")), !e.getElementsByTagName("*").length
}
), o.getElementsByClassName = ee.test(m.getElementsByClassName), o.getById = bc(function (e) {
return g.appendChild(e).id = C, !m.getElementsByName || !m.getElementsByName(C).length
}
), o.getById ? (r.filter.ID = function (e) {
var n = e.replace(br, t);
return function (e) {
return e.getAttribute("id") === n
}
}
, r.find.ID = function (e, t) {
if (void 0 !== t.getElementById && v) return (e = t.getElementById(e)) ? [e] : []
}
) : (r.filter.ID = function (e) {
var n = e.replace(br, t);
return function (e) {
return (e = void 0 !== e.getAttributeNode && e.getAttributeNode("id")) && e.value === n
}
}
, r.find.ID = function (e, t) {
if (void 0 !== t.getElementById && v) {
var n, i, o, r = t.getElementById(e);
if (r) {
if ((n = r.getAttributeNode("id")) && n.value === e) return [r];
for (o = t.getElementsByName(e), i = 0;
r = o[i++];
)if ((n = r.getAttributeNode("id")) && n.value === e) return [r]
}
return []
}
}
), r.find.TAG = o.getElementsByTagName ? function (e, t) {
return void 0 !== t.getElementsByTagName ? t.getElementsByTagName(e) : o.qsa ? t.querySelectorAll(e) : void 0
}
: function (e, t) {
var n, i = [], o = 0, r = t.getElementsByTagName(e);
if ("*" !== e) return r;
for (;
n = r[o++];
)1 === n.nodeType && i.push(n);
return i
}
, r.find.CLASS = o.getElementsByClassName && function (e, t) {
if (void 0 !== t.getElementsByClassName && v) return t.getElementsByClassName(e)
}
, b = [], y = [], (o.qsa = ee.test(m.querySelectorAll)) && (bc(function (e) {
g.appendChild(e).innerHTML = "<a id='" + C + "'></a><select id='" + C + "-\r\\' msallowcapture=''><option selected=''></option></select>", e.querySelectorAll("[msallowcapture^='']").length && y.push("[*^$]=" + F + "*(?:''|\"\")"), e.querySelectorAll("[selected]").length || y.push("\\[" + F + "*(?:value|" + M + ")"), e.querySelectorAll("[id~=" + C + "-]").length || y.push("~="), e.querySelectorAll(":checked").length || y.push(":checked"), e.querySelectorAll("a#" + C + "+*").length || y.push(".#.+[+~]")
}
), bc(function (e) {
e.innerHTML = "<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";
var t = m.createElement("input");
t.setAttribute("type", "hidden"), e.appendChild(t).setAttribute("name", "D"), e.querySelectorAll("[name=d]").length && y.push("name" + F + "*[*^$|!~]?="), 2 !== e.querySelectorAll(":enabled").length && y.push(":enabled", ":disabled"), g.appendChild(e).disabled = !0, 2 !== e.querySelectorAll(":disabled").length && y.push(":enabled", ":disabled"), e.querySelectorAll("*,:x"), y.push(",.*:")
}
)), (o.matchesSelector = ee.test(_ = g.matches || g.webkitMatchesSelector || g.mozMatchesSelector || g.oMatchesSelector || g.msMatchesSelector)) && bc(function (e) {
o.disconnectedMatch = _.call(e, "*"), _.call(e, "[s!='']:x"), b.push("!=", W)
}
), y = y.length && new RegExp(y.join("|")), b = b.length && new RegExp(b.join("|")), i = ee.test(g.compareDocumentPosition), w = i || ee.test(g.contains) ? function (e, t) {
var n = 9 === e.nodeType ? e.documentElement : e;
return e === (t = t && t.parentNode) || !(!t || 1 !== t.nodeType || !(n.contains ? n.contains(t) : e.compareDocumentPosition && 16 & e.compareDocumentPosition(t)))
}
: function (e, t) {
if (t) for (;
t = t.parentNode;
)if (t === e) return !0;
return !1
}
, A = i ? function (e, t) {
if (e === t) return h = !0, 0;
var n = !e.compareDocumentPosition - !t.compareDocumentPosition;
return n || (1 & (n = (e.ownerDocument || e) === (t.ownerDocument || t) ? e.compareDocumentPosition(t) : 1) || !o.sortDetached && t.compareDocumentPosition(e) === n ? e === m || e.ownerDocument === x && w(x, e) ? -1 : t === m || t.ownerDocument === x && w(x, t) ? 1 : f ? H(f, e) - H(f, t) : 0 : 4 & n ? -1 : 1)
}
: function (e, t) {
if (e === t) return h = !0, 0;
var n, i = 0, o = e.parentNode, r = t.parentNode, a = [e], s = [t];
if (!o || !r) return e === m ? -1 : t === m ? 1 : o ? -1 : r ? 1 : f ? H(f, e) - H(f, t) : 0;
if (o === r) return fe(e, t);
for (n = e;
n = n.parentNode;
)a.unshift(n);
for (n = t;
n = n.parentNode;
)s.unshift(n);
for (;
a[i] === s[i];
)i++;
return i ? fe(a[i], s[i]) : a[i] === x ? -1 : s[i] === x ? 1 : 0
}
), m
}
, se.matches = function (e, t) {
return se(e, null, null, t)
}
, se.matchesSelector = function (e, t) {
if ((e.ownerDocument || e) !== m && p(e), o.matchesSelector && v && !N[t + " "] && (!b || !b.test(t)) && (!y || !y.test(t))) try {
var n = _.call(e, t);
if (n || o.disconnectedMatch || e.document && 11 !== e.document.nodeType) return n
}
catch (e) {
N(t, !0)
}
return 0 < se(t, m, null, [e]).length
}
, se.contains = function (e, t) {
return (e.ownerDocument || e) !== m && p(e), w(e, t)
}
, se.attr = function (e, t) {
var n;
return (e.ownerDocument || e) !== m && p(e), void 0 !== (n = (n = r.attrHandle[t.toLowerCase()]) && O.call(r.attrHandle, t.toLowerCase()) ? n(e, t, !v) : void 0) ? n : o.attributes || !v ? e.getAttribute(t) : (n = e.getAttributeNode(t)) && n.specified ? n.value : null
}
, se.escape = function (e) {
return (e + "").replace(oe, re)
}
, se.error = function (e) {
throw new Error("Syntax error, unrecognized expression: " + e)
}
, se.uniqueSort = function (e) {
var t, n = [], i = 0, r = 0;
if (h = !o.detectDuplicates, f = !o.sortStable && e.slice(0), e.sort(A), h) {
for (;
t = e[r++];
)t === e[r] && (i = n.push(r));
for (;
i--;
)e.splice(n[i], 1)
}
return f = null, e
}
, a = se.getText = function (e) {
var t, n = "", i = 0, o = e.nodeType;
if (o) {
if (1 === o || 9 === o || 11 === o) {
if ("string" == typeof e.textContent) return e.textContent;
for (e = e.firstChild;
e;
e = e.nextSibling)n += a(e)
}
else if (3 === o || 4 === o) return e.nodeValue
}
else for (;
t = e[i++];
)n += a(t);
return n
}
, (r = se.selectors =
{
cacheLength: 50, createPseudo: ce, match: G, attrHandle:
{
}
, find:
{
}
, relative:
{
">":
{
dir: "parentNode", first: !0
}
, " ":
{
dir: "parentNode"
}
, "+":
{
dir: "previousSibling", first: !0
}
, "~":
{
dir: "previousSibling"
}
}
, preFilter:
{
ATTR: function (e) {
return e[1] = e[1].replace(br, t), e[3] = (e[3] || e[4] || e[5] || "").replace(br, t), "~=" === e[2] && (e[3] = " " + e[3] + " "), e.slice(0, 4)
}
, CHILD: function (e) {
return e[1] = e[1].toLowerCase(), "nth" === e[1].slice(0, 3) ? (e[3] || se.error(e[0]), e[4] = +(e[4] ? e[5] + (e[6] || 1) : 2 * ("even" === e[3] || "odd" === e[3])), e[5] = +(e[7] + e[8] || "odd" === e[3])) : e[3] && se.error(e[0]), e
}
, PSEUDO: function (e) {
var t, n = !e[6] && e[2];
return G.CHILD.test(e[0]) ? null : (e[3] ? e[2] = e[4] || e[5] || "" : n && Y.test(n) && (t = l(n, !0)) && (t = n.indexOf(")", n.length - t) - n.length) && (e[0] = e[0].slice(0, t), e[2] = n.slice(0, t)), e.slice(0, 3))
}
}
, filter:
{
TAG: function (e) {
var n = e.replace(br, t).toLowerCase();
return "*" === e ? function () {
return !0
}
: function (e) {
return e.nodeName && e.nodeName.toLowerCase() === n
}
}
, CLASS: function (e) {
var t = D[e + " "];
return t || (t = new RegExp("(^|" + F + ")" + e + "(" + F + "|$)")) && D(e, function (e) {
return t.test("string" == typeof e.className && e.className || void 0 !== e.getAttribute && e.getAttribute("class") || "")
}
)
}
, ATTR: function (e, t, n) {
return function (i) {
return null == (i = se.attr(i, e)) ? "!=" === t : !t || (i += "", "=" === t ? i === n : "!=" === t ? i !== n : "^=" === t ? n && 0 === i.indexOf(n) : "*=" === t ? n && -1 < i.indexOf(n) : "$=" === t ? n && i.slice(-n.length) === n : "~=" === t ? -1 < (" " + i.replace(U, " ") + " ").indexOf(n) : "|=" === t && (i === n || i.slice(0, n.length + 1) === n + "-"))
}
}
, CHILD: function (e, t, n, i, o) {
var r = "nth" !== e.slice(0, 3), a = "last" !== e.slice(-4), s = "of-type" === t;
return 1 === i && 0 === o ? function (e) {
return !!e.parentNode
}
: function (t, n, l) {
var c, u, d, f, h, p, m = r != a ? "nextSibling" : "previousSibling", g = t.parentNode, v = s && t.nodeName.toLowerCase(), y = !l && !s, b = !1;
if (g) {
if (r) {
for (;
m;
) {
for (f = t;
f = f[m];
)if (s ? f.nodeName.toLowerCase() === v : 1 === f.nodeType) return !1;
p = m = "only" === e && !p && "nextSibling"
}
return !0
}
if (p = [a ? g.firstChild : g.lastChild], a && y) {
for (b = (h = (c = (u = (d = (f = g)[C] || (f[C] =
{
}
))[f.uniqueID] || (d[f.uniqueID] =
{
}
))[e] || [])[0] === E && c[1]) && c[2], f = h && g.childNodes[h];
f = ++h && f && f[m] || (b = h = 0) || p.pop();
)if (1 === f.nodeType && ++b && f === t) {
u[e] = [E, h, b];
break
}
}
else if (y && (b = h = (c = (u = (d = (f = t)[C] || (f[C] =
{
}
))[f.uniqueID] || (d[f.uniqueID] =
{
}
))[e] || [])[0] === E && c[1]), !1 === b) for (;
(f = ++h && f && f[m] || (b = h = 0) || p.pop()) && ((s ? f.nodeName.toLowerCase() !== v : 1 !== f.nodeType) || !++b || (y && ((u = (d = f[C] || (f[C] =
{
}
))[f.uniqueID] || (d[f.uniqueID] =
{
}
))[e] = [E, b]), f !== t));
);
return (b -= o) === i || b % i == 0 && 0 <= b / i
}
}
}
, PSEUDO: function (e, t) {
var n, i = r.pseudos[e] || r.setFilters[e.toLowerCase()] || se.error("unsupported pseudo: " + e);
return i[C] ? i(t) : 1 < i.length ? (n = [e, e, "", t], r.setFilters.hasOwnProperty(e.toLowerCase()) ? ce(function (e, n) {
for (var o, r = i(e, t), a = r.length;
a--;
)e[o = H(e, r[a])] = !(n[o] = r[a])
}
) : function (e) {
return i(e, 0, n)
}
) : i
}
}
, pseudos:
{
not: ce(function (e) {
var t = [], n = [], i = c(e.replace(K, "$1"));
return i[C] ? ce(function (e, t, n, o) {
for (var r, a = i(e, null, o, []), s = e.length;
s--;
)(r = a[s]) && (e[s] = !(t[s] = r))
}
) : function (e, o, r) {
return t[0] = e, i(t, null, r, n), t[0] = null, !n.pop()
}
}
), has: ce(function (e) {
return function (t) {
return 0 < se(e, t).length
}
}
), contains: ce(function (e) {
return e = e.replace(br, t), function (t) {
return -1 < (t.textContent || a(t)).indexOf(e)
}
}
), lang: ce(function (e) {
return Q.test(e || "") || se.error("unsupported lang: " + e), e = e.replace(br, t).toLowerCase(), function (t) {
var n;
do {
if (n = v ? t.lang : t.getAttribute("xml:lang") || t.getAttribute("lang")) return (n = n.toLowerCase()) === e || 0 === n.indexOf(e + "-")
}
while ((t = t.parentNode) && 1 === t.nodeType);
return !1
}
}
), target: function (t) {
var n = e.location && e.location.hash;
return n && n.slice(1) === t.id
}
, root: function (e) {
return e === g
}
, focus: function (e) {
return e === m.activeElement && (!m.hasFocus || m.hasFocus()) && !!(e.type || e.href || ~e.tabIndex)
}
, enabled: he(!1), disabled: he(!0), checked: function (e) {
var t = e.nodeName.toLowerCase();
return "input" === t && !!e.checked || "option" === t && !!e.selected
}
, selected: function (e) {
return e.parentNode && e.parentNode.selectedIndex, !0 === e.selected
}
, empty: function (e) {
for (e = e.firstChild;
e;
e = e.nextSibling)if (e.nodeType < 6) return !1;
return !0
}
, parent: function (e) {
return !r.pseudos.empty(e)
}
, header: function (e) {
return J.test(e.nodeName)
}
, input: function (e) {
return Z.test(e.nodeName)
}
, button: function (e) {
var t = e.nodeName.toLowerCase();
return "input" === t && "button" === e.type || "button" === t
}
, text: function (e) {
return "input" === e.nodeName.toLowerCase() && "text" === e.type && (null == (e = e.getAttribute("type")) || "text" === e.toLowerCase())
}
, first: pe(function () {
return [0]
}
), last: pe(function (e, t) {
return [t - 1]
}
), eq: pe(function (e, t, n) {
return [n < 0 ? n + t : n]
}
), even: pe(function (e, t) {
for (var n = 0;
n < t;
n += 2)e.push(n);
return e
}
), odd: pe(function (e, t) {
for (var n = 1;
n < t;
n += 2)e.push(n);
return e
}
), lt: pe(function (e, t, n) {
for (var i = n < 0 ? n + t : t < n ? t : n;
0 <= --i;
)e.push(i);
return e
}
), gt: pe(function (e, t, n) {
for (var i = n < 0 ? n + t : n;
++i < t;
)e.push(i);
return e
}
)
}
}
).pseudos.nth = r.pseudos.eq,
{
radio: !0, checkbox: !0, file: !0, password: !0, image: !0
}
) r.pseudos[i] = function (e) {
return function (t) {
return "input" === t.nodeName.toLowerCase() && t.type === e
}
}
(i);
for (i in
{
submit: !0, reset: !0
}
) r.pseudos[i] = function (e) {
return function (t) {
var n = t.nodeName.toLowerCase();
return ("input" === n || "button" === n) && t.type === e
}
}
(i);
function bd() {
}
function ve(e) {
for (var t = 0, n = e.length, i = "";
t < n;
t++)i += e[t].value;
return i
}
function bf(e, t, n) {
var i = t.dir, o = t.next, r = o || i, a = n && "parentNode" === r, s = T++;
return t.first ? function (t, n, o) {
for (;
t = t[i];
)if (1 === t.nodeType || a) return e(t, n, o);
return !1
}
: function (t, n, l) {
var c, u, d = [E, s];
if (l) {
for (;
t = t[i];
)if ((1 === t.nodeType || a) && e(t, n, l)) return !0
}
else for (;
t = t[i];
)if (1 === t.nodeType || a) if (c = (u = t[C] || (t[C] =
{
}
))[t.uniqueID] || (u[t.uniqueID] =
{
}
), o && o === t.nodeName.toLowerCase()) t = t[i] || t;
else {
if ((u = c[r]) && u[0] === E && u[1] === s) return d[2] = u[2];
if ((c[r] = d)[2] = e(t, n, l)) return !0
}
return !1
}
}
function be(e) {
return 1 < e.length ? function (t, n, i) {
for (var o = e.length;
o--;
)if (!e[o](t, n, i)) return !1;
return !0
}
: e[0]
}
function _e(e, t, n, i, o) {
for (var r, a = [], s = 0, l = e.length, c = null != t;
s < l;
s++)(r = e[s]) && (n && !n(r, i, o) || (a.push(r), c && t.push(s)));
return a
}
function we(e, t, n, i, o, r) {
return i && !i[C] && (i = we(i)), o && !o[C] && (o = we(o, r)), ce(function (r, a, s, l) {
var c, u, d, f = [], h = [], p = a.length, m = r || function (e, t, n) {
for (var i = 0, o = t.length;
i < o;
i++)se(e, t[i], n);
return n
}
(t || "*", s.nodeType ? [s] : s, []), g = !e || !r && t ? m : _e(m, f, e, s, l), v = n ? o || (r ? e : p || i) ? [] : a : g;
if (n && n(g, v, s, l), i) for (c = _e(v, h), i(c, [], s, l), u = c.length;
u--;
)(d = c[u]) && (v[h[u]] = !(g[h[u]] = d));
if (r) {
if (o || e) {
if (o) {
for (c = [], u = v.length;
u--;
)(d = v[u]) && c.push(g[u] = d);
o(null, v = [], c, l)
}
for (u = v.length;
u--;
)(d = v[u]) && -1 < (c = o ? H(r, d) : f[u]) && (r[c] = !(a[c] = d))
}
}
else v = _e(v === a ? v.splice(p, v.length) : v), o ? o(null, a, v, l) : j.apply(a, v)
}
)
}
return bd.prototype = r.filters = r.pseudos, r.setFilters = new bd, l = se.tokenize = function (e, t) {
var n, i, o, a, s, l, c, u = S[e + " "];
if (u) return t ? 0 : u.slice(0);
for (s = e, l = [], c = r.preFilter;
s;
) {
for (a in n && !(i = V.exec(s)) || (i && (s = s.slice(i[0].length) || s), l.push(o = [])), n = !1, (i = z.exec(s)) && (n = i.shift(), o.push(
{
value: n, type: i[0].replace(K, " ")
}
), s = s.slice(n.length)), r.filter) !(i = G[a].exec(s)) || c[a] && !(i = c[a](i)) || (n = i.shift(), o.push(
{
value: n, type: a, matches: i
}
), s = s.slice(n.length));
if (!n) break
}
return t ? s.length : s ? se.error(e) : S(e, l).slice(0)
}
, c = se.compile = function (e, t) {
var n, i = [], o = [], a = k[e + " "];
if (!a) {
for (n = (t = t || l(e)).length;
n--;
)((a = function e(t) {
for (var n, i, o, a = t.length, s = r.relative[t[0].type], l = s || r.relative[" "], c = s ? 1 : 0, u = bf(function (e) {
return e === n
}
, l, !0), f = bf(function (e) {
return -1 < H(n, e)
}
, l, !0), h = [function (e, t, i) {
return i = !s && (i || t !== d) || ((n = t).nodeType ? u : f)(e, t, i), n = null, i
}
];
c < a;
c++)if (i = r.relative[t[c].type]) h = [bf(be(h), i)];
else {
if ((i = r.filter[t[c].type].apply(null, t[c].matches))[C]) {
for (o = ++c;
o < a && !r.relative[t[o].type];
o++);
return we(1 < c && be(h), 1 < c && ve(t.slice(0, c - 1).concat(
{
value: " " === t[c - 2].type ? "*" : ""
}
)).replace(K, "$1"), i, c < o && e(t.slice(c, o)), o < a && e(t = t.slice(o)), o < a && ve(t))
}
h.push(i)
}
return be(h)
}
(t[n]))[C] ? i : o).push(a);
(a = k(e, function (e, t) {
function n(n, a, s, l, c) {
var u, f, h, g = 0, y = "0", b = n && [], _ = [], w = d, C = n || o && r.find.TAG("*", c), x = E += null == w ? 1 : Math.random() || .1, T = C.length;
for (c && (d = a === m || a || c);
y !== T && null != (u = C[y]);
y++) {
if (o && u) {
for (f = 0, a || u.ownerDocument === m || (p(u), s = !v);
h = e[f++];
)if (h(u, a || m, s)) {
l.push(u);
break
}
c && (E = x)
}
i && ((u = !h && u) && g--, n && b.push(u))
}
if (g += y, i && y !== g) {
for (f = 0;
h = t[f++];
)h(b, _, a, s);
if (n) {
if (0 < g) for (;
y--;
)b[y] || _[y] || (_[y] = L.call(l));
_ = _e(_)
}
j.apply(l, _), c && !n && 0 < _.length && 1 < g + t.length && se.uniqueSort(l)
}
return c && (E = x, d = w), b
}
var i = 0 < t.length, o = 0 < e.length;
return i ? ce(n) : n
}
(o, i))).selector = e
}
return a
}
, u = se.select = function (e, n, i, o) {
var a, s, u, d, f, h = "function" == typeof e && e, p = !o && l(e = h.selector || e);
if (i = i || [], 1 === p.length) {
if (2 < (s = p[0] = p[0].slice(0)).length && "ID" === (u = s[0]).type && 9 === n.nodeType && v && r.relative[s[1].type]) {
if (!(n = (r.find.ID(u.matches[0].replace(br, t), n) || [])[0])) return i;
h && (n = n.parentNode), e = e.slice(s.shift().value.length)
}
for (a = G.needsContext.test(e) ? 0 : s.length;
a-- && (u = s[a], !r.relative[d = u.type]);
)if ((f = r.find[d]) && (o = f(u.matches[0].replace(br, t), ne.test(s[0].type) && bu(n.parentNode) || n))) {
if (s.splice(a, 1), !(e = o.length && ve(s))) return j.apply(i, o), i;
break
}
}
return (h || c(e, p))(o, n, !v, i, !n || ne.test(e) && bu(n.parentNode) || n), i
}
, o.sortStable = C.split("").sort(A).join("") === C, o.detectDuplicates = !!h, p(), o.sortDetached = bc(function (e) {
return 1 & e.compareDocumentPosition(m.createElement("fieldset"))
}
), bc(function (e) {
return e.innerHTML = "<a href='#'></a>", "#" === e.firstChild.getAttribute("href")
}
) || de("type|href|height|width", function (e, t, n) {
if (!n) return e.getAttribute(t, "type" === t.toLowerCase() ? 1 : 2)
}
), o.attributes && bc(function (e) {
return e.innerHTML = "<input/>", e.firstChild.setAttribute("value", ""), "" === e.firstChild.getAttribute("value")
}
) || de("value", function (e, t, n) {
if (!n && "input" === e.nodeName.toLowerCase()) return e.defaultValue
}
), bc(function (e) {
return null == e.getAttribute("disabled")
}
) || de(M, function (e, t, n) {
if (!n) return !0 === e[t] ? t.toLowerCase() : (t = e.getAttributeNode(t)) && t.specified ? t.value : null
}
), se
}
(e);
function T(e, t, n) {
for (var i = [], o = void 0 !== n;
(e = e[t]) && 9 !== e.nodeType;
)if (1 === e.nodeType) {
if (o && w(e).is(n)) break;
i.push(e)
}
return i
}
function D(e, t) {
for (var n = [];
e;
e = e.nextSibling)1 === e.nodeType && e !== t && n.push(e);
return n
}
w.find = E, w.expr = E.selectors, w.expr[":"] = w.expr.pseudos, w.uniqueSort = w.unique = E.uniqueSort, w.text = E.getText, w.isXMLDoc = E.isXML, w.contains = E.contains, w.escapeSelector = E.escape;
var S = w.expr.match.needsContext;
function k(e, t) {
return e.nodeName && e.nodeName.toLowerCase() === t.toLowerCase()
}
var N = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;
function A(e, t, n) {
return g(t) ? w.grep(e, function (e, i) {
return !!t.call(e, i, e) !== n
}
) : t.nodeType ? w.grep(e, function (e) {
return e === t !== n
}
) : "string" != typeof t ? w.grep(e, function (e) {
return -1 < c.call(t, e) !== n
}
) : w.filter(t, e, n)
}
w.filter = function (e, t, n) {
var i = t[0];
return n && (e = ":not(" + e + ")"), 1 === t.length && 1 === i.nodeType ? w.find.matchesSelector(i, e) ? [i] : [] : w.find.matches(e, w.grep(t, function (e) {
return 1 === e.nodeType
}
))
}
, w.fn.extend(
{
find: function (e) {
var t, n, i = this.length, o = this;
if ("string" != typeof e) return this.pushStack(w(e).filter(function () {
for (t = 0;
t < i;
t++)if (w.contains(o[t], this)) return !0
}
));
for (n = this.pushStack([]), t = 0;
t < i;
t++)w.find(e, o[t], n);
return 1 < i ? w.uniqueSort(n) : n
}
, filter: function (e) {
return this.pushStack(A(this, e || [], !1))
}
, not: function (e) {
return this.pushStack(A(this, e || [], !0))
}
, is: function (e) {
return !!A(this, "string" == typeof e && S.test(e) ? w(e) : e || [], !1).length
}
}
);
var O, I = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;
(w.fn.init = function (e, t, n) {
if (!e) return this;
if (n = n || O, "string" != typeof e) return e.nodeType ? (this[0] = e, this.length = 1, this) : g(e) ? void 0 !== n.ready ? n.ready(e) : e(w) : w.makeArray(e, this);
if (!(i = "<" === e[0] && ">" === e[e.length - 1] && 3 <= e.length ? [null, e, null] : I.exec(e)) || !i[1] && t) return (!t || t.jquery ? t || n : this.constructor(t)).find(e);
if (i[1]) {
if (t = t instanceof w ? t[0] : t, w.merge(this, w.parseHTML(i[1], t && t.nodeType ? t.ownerDocument || t : o, !0)), N.test(i[1]) && w.isPlainObject(t)) for (var i in t) g(this[i]) ? this[i](t[i]) : this.attr(i, t[i]);
return this
}
return (e = o.getElementById(i[2])) && (this[0] = e, this.length = 1), this
}
).prototype = w.fn, O = w(o);
var L = /^(?:parents|prev(?:Until|All))/, P =
{
children: !0, contents: !0, next: !0, prev: !0
};
function j(e, t) {
for (;
(e = e[t]) && 1 !== e.nodeType;
);
return e
}
w.fn.extend(
{
has: function (e) {
var t = w(e, this), n = t.length;
return this.filter(function () {
for (var e = 0;
e < n;
e++)if (w.contains(this, t[e])) return !0
}
)
}
, closest: function (e, t) {
var n, i = 0, o = this.length, r = [], a = "string" != typeof e && w(e);
if (!S.test(e)) for (;
i < o;
i++)for (n = this[i];
n && n !== t;
n = n.parentNode)if (n.nodeType < 11 && (a ? -1 < a.index(n) : 1 === n.nodeType && w.find.matchesSelector(n, e))) {
r.push(n);
break
}
return this.pushStack(1 < r.length ? w.uniqueSort(r) : r)
}
, index: function (e) {
return e ? "string" == typeof e ? c.call(w(e), this[0]) : c.call(this, e.jquery ? e[0] : e) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1
}
, add: function (e, t) {
return this.pushStack(w.uniqueSort(w.merge(this.get(), w(e, t))))
}
, addBack: function (e) {
return this.add(null == e ? this.prevObject : this.prevObject.filter(e))
}
}
), w.each(
{
parent: function (e) {
return (e = e.parentNode) && 11 !== e.nodeType ? e : null
}
, parents: function (e) {
return T(e, "parentNode")
}
, parentsUntil: function (e, t, n) {
return T(e, "parentNode", n)
}
, next: function (e) {
return j(e, "nextSibling")
}
, prev: function (e) {
return j(e, "previousSibling")
}
, nextAll: function (e) {
return T(e, "nextSibling")
}
, prevAll: function (e) {
return T(e, "previousSibling")
}
, nextUntil: function (e, t, n) {
return T(e, "nextSibling", n)
}
, prevUntil: function (e, t, n) {
return T(e, "previousSibling", n)
}
, siblings: function (e) {
return D((e.parentNode ||
{
}
).firstChild, e)
}
, children: function (e) {
return D(e.firstChild)
}
, contents: function (e) {
return void 0 !== e.contentDocument ? e.contentDocument : (k(e, "template") && (e = e.content || e), w.merge([], e.childNodes))
}
}
, function (e, t) {
w.fn[e] = function (n, i) {
var o = w.map(this, t, n);
return "Until" !== e.slice(-5) && (i = n), i && "string" == typeof i && (o = w.filter(i, o)), 1 < this.length && (P[e] || w.uniqueSort(o), L.test(e) && o.reverse()), this.pushStack(o)
}
}
);
var R = /[^\x20\t\r\n\f]+/g;
function H(e) {
return e
}
function M(e) {
throw e
}
function F(e, t, n, i) {
var o;
try {
e && g(o = e.promise) ? o.call(e).done(t).fail(n) : e && g(o = e.then) ? o.call(e, t, n) : t.apply(void 0, [e].slice(i))
}
catch (e) {
n.apply(void 0, [e])
}
}
w.Callbacks = function (e) {
var t, n;
function i() {
for (s = s || e.once, a = o = !0;
c.length;
u = -1)for (r = c.shift();
++u < l.length;
)!1 === l[u].apply(r[0], r[1]) && e.stopOnFalse && (u = l.length, r = !1);
e.memory || (r = !1), o = !1, s && (l = r ? [] : "")
}
e = "string" == typeof e ? (t = e, n =
{
}
, w.each(t.match(R) || [], function (e, t) {
n[t] = !0
}
), n) : w.extend(
{
}
, e);
var o, r, a, s, l = [], c = [], u = -1, d =
{
add: function () {
return l && (r && !o && (u = l.length - 1, c.push(r)), function t(n) {
w.each(n, function (n, i) {
g(i) ? e.unique && d.has(i) || l.push(i) : i && i.length && "string" !== b(i) && t(i)
}
)
}
(arguments), r && !o && i()), this
}
, remove: function () {
return w.each(arguments, function (e, t) {
for (var n;
-1 < (n = w.inArray(t, l, n));
)l.splice(n, 1), n <= u && u--
}
), this
}
, has: function (e) {
return e ? -1 < w.inArray(e, l) : 0 < l.length
}
, empty: function () {
return l = l && [], this
}
, disable: function () {
return s = c = [], l = r = "", this
}
, disabled: function () {
return !l
}
, lock: function () {
return s = c = [], r || o || (l = r = ""), this
}
, locked: function () {
return !!s
}
, fireWith: function (e, t) {
return s || (t = [e, (t = t || []).slice ? t.slice() : t], c.push(t), o || i()), this
}
, fire: function () {
return d.fireWith(this, arguments), this
}
, fired: function () {
return !!a
}
};
return d
}
, w.extend(
{
Deferred: function (t) {
var n = [["notify", "progress", w.Callbacks("memory"), w.Callbacks("memory"), 2], ["resolve", "done", w.Callbacks("once memory"), w.Callbacks("once memory"), 0, "resolved"], ["reject", "fail", w.Callbacks("once memory"), w.Callbacks("once memory"), 1, "rejected"]], i = "pending", o =
{
state: function () {
return i
}
, always: function () {
return r.done(arguments).fail(arguments), this
}
, catch: function (e) {
return o.then(null, e)
}
, pipe: function () {
var e = arguments;
return w.Deferred(function (t) {
w.each(n, function (n, i) {
var o = g(e[i[4]]) && e[i[4]];
r[i[1]](function () {
var e = o && o.apply(this, arguments);
e && g(e.promise) ? e.promise().progress(t.notify).done(t.resolve).fail(t.reject) : t[i[0] + "With"](this, o ? [e] : arguments)
}
)
}
), e = null
}
).promise()
}
, then: function (t, i, o) {
var r = 0;
function a(t, n, i, o) {
return function () {
function s() {
var e, s;
if (!(t < r)) {
if ((e = i.apply(l, c)) === n.promise()) throw new TypeError("Thenable self-resolution");
s = e && ("object" == typeof e || "function" == typeof e) && e.then, g(s) ? o ? s.call(e, a(r, n, H, o), a(r, n, M, o)) : (r++, s.call(e, a(r, n, H, o), a(r, n, M, o), a(r, n, H, n.notifyWith))) : (i !== H && (l = void 0, c = [e]), (o || n.resolveWith)(l, c))
}
}
var l = this, c = arguments, u = o ? s : function () {
try {
s()
}
catch (e) {
w.Deferred.exceptionHook && w.Deferred.exceptionHook(e, u.stackTrace), r <= t + 1 && (i !== M && (l = void 0, c = [e]), n.rejectWith(l, c))
}
};
t ? u() : (w.Deferred.getStackHook && (u.stackTrace = w.Deferred.getStackHook()), e.setTimeout(u))
}
}
return w.Deferred(function (e) {
n[0][3].add(a(0, e, g(o) ? o : H, e.notifyWith)), n[1][3].add(a(0, e, g(t) ? t : H)), n[2][3].add(a(0, e, g(i) ? i : M))
}
).promise()
}
, promise: function (e) {
return null != e ? w.extend(e, o) : o
}
}
, r =
{
};
return w.each(n, function (e, t) {
var a = t[2], s = t[5];
o[t[1]] = a.add, s && a.add(function () {
i = s
}
, n[3 - e][2].disable, n[3 - e][3].disable, n[0][2].lock, n[0][3].lock), a.add(t[3].fire), r[t[0]] = function () {
return r[t[0] + "With"](this === r ? void 0 : this, arguments), this
}
, r[t[0] + "With"] = a.fireWith
}
), o.promise(r), t && t.call(r, r), r
}
, when: function (e) {
function t(e) {
return function (t) {
o[e] = this, r[e] = 1 < arguments.length ? a.call(arguments) : t, --n || s.resolveWith(o, r)
}
}
var n = arguments.length, i = n, o = Array(i), r = a.call(arguments), s = w.Deferred();
if (n <= 1 && (F(e, s.done(t(i)).resolve, s.reject, !n), "pending" === s.state() || g(r[i] && r[i].then))) return s.then();
for (;
i--;
)F(r[i], t(i), s.reject);
return s.promise()
}
}
);
var B = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;
w.Deferred.exceptionHook = function (t, n) {
e.console && e.console.warn && t && B.test(t.name) && e.console.warn("jQuery.Deferred exception: " + t.message, t.stack, n)
}
, w.readyException = function (t) {
e.setTimeout(function () {
throw t
}
)
};
var q = w.Deferred();
function W() {
o.removeEventListener("DOMContentLoaded", W), e.removeEventListener("load", W), w.ready()
}
w.fn.ready = function (e) {
return q.then(e).catch(function (e) {
w.readyException(e)
}
), this
}
, w.extend(
{
isReady: !1, readyWait: 1, ready: function (e) {
(!0 === e ? --w.readyWait : w.isReady) || (w.isReady = !0) !== e && 0 < --w.readyWait || q.resolveWith(o, [w])
}
}
), w.ready.then = q.then, "complete" === o.readyState || "loading" !== o.readyState && !o.documentElement.doScroll ? e.setTimeout(w.ready) : (o.addEventListener("DOMContentLoaded", W), e.addEventListener("load", W));
var U = function (e, t, n, i, o, r, a) {
var s = 0, l = e.length, c = null == n;
if ("object" === b(n)) for (s in o = !0, n) U(e, t, s, n[s], !0, r, a);
else if (void 0 !== i && (o = !0, g(i) || (a = !0), c && (t = a ? (t.call(e, i), null) : (c = t, function (e, t, n) {
return c.call(w(e), n)
}
)), t)) for (;
s < l;
s++)t(e[s], n, a ? i : i.call(e[s], s, t(e[s], n)));
return o ? e : c ? t.call(e) : l ? t(e[0], n) : r
}
, K = /^-ms-/, V = /-([a-z])/g;
function z(e, t) {
return t.toUpperCase()
}
function $(e) {
return e.replace(K, "ms-").replace(V, z)
}
function Y(e) {
return 1 === e.nodeType || 9 === e.nodeType || !+e.nodeType
}
function Q() {
this.expando = w.expando + Q.uid++
}
Q.uid = 1, Q.prototype =
{
cache: function (e) {
var t = e[this.expando];
return t || (t =
{
}
, Y(e) && (e.nodeType ? e[this.expando] = t : Object.defineProperty(e, this.expando,
{
value: t, configurable: !0
}
))), t
}
, set: function (e, t, n) {
var i, o = this.cache(e);
if ("string" == typeof t) o[$(t)] = n;
else for (i in t) o[$(i)] = t[i];
return o
}
, get: function (e, t) {
return void 0 === t ? this.cache(e) : e[this.expando] && e[this.expando][$(t)]
}
, access: function (e, t, n) {
return void 0 === t || t && "string" == typeof t && void 0 === n ? this.get(e, t) : (this.set(e, t, n), void 0 !== n ? n : t)
}
, remove: function (e, t) {
var n, i = e[this.expando];
if (void 0 !== i) {
if (void 0 !== t) {
n = (t = Array.isArray(t) ? t.map($) : (t = $(t)) in i ? [t] : t.match(R) || []).length;
for (;
n--;
)delete i[t[n]]
}
void 0 !== t && !w.isEmptyObject(i) || (e.nodeType ? e[this.expando] = void 0 : delete e[this.expando])
}
}
, hasData: function (e) {
return void 0 !== (e = e[this.expando]) && !w.isEmptyObject(e)
}
};
var G = new Q, X = new Q, Z = /^(?:\
{
[\w\W] *\
}
|\[[\w\W] *\])$ /, J = /[A-Z]/g;
function ee(e, t, n) {
var i, o;
if (void 0 === n && 1 === e.nodeType) if (i = "data-" + t.replace(J, "-$&").toLowerCase(), "string" == typeof (n = e.getAttribute(i))) {
try {
n = "true" === (o = n) || "false" !== o && ("null" === o ? null : o === +o + "" ? +o : Z.test(o) ? JSON.parse(o) : o)
}
catch (e) {
}
X.set(e, t, n)
}
else n = void 0;
return n
}
w.extend(
{
hasData: function (e) {
return X.hasData(e) || G.hasData(e)
}
, data: function (e, t, n) {
return X.access(e, t, n)
}
, removeData: function (e, t) {
X.remove(e, t)
}
, _data: function (e, t, n) {
return G.access(e, t, n)
}
, _removeData: function (e, t) {
G.remove(e, t)
}
}
), w.fn.extend(
{
data: function (e, t) {
var n, i, o, r = this[0], a = r && r.attributes;
if (void 0 !== e) return "object" == typeof e ? this.each(function () {
X.set(this, e)
}
) : U(this, function (t) {
var n;
return r && void 0 === t ? void 0 !== (n = X.get(r, e)) || void 0 !== (n = ee(r, e)) ? n : void 0 : void this.each(function () {
X.set(this, e, t)
}
)
}
, null, t, 1 < arguments.length, null, !0);
if (this.length && (o = X.get(r), 1 === r.nodeType && !G.get(r, "hasDataAttrs"))) {
for (n = a.length;
n--;
)a[n] && 0 === (i = a[n].name).indexOf("data-") && (i = $(i.slice(5)), ee(r, i, o[i]));
G.set(r, "hasDataAttrs", !0)
}
return o
}
, removeData: function (e) {
return this.each(function () {
X.remove(this, e)
}
)
}
}
), w.extend(
{
queue: function (e, t, n) {
var i;
if (e) return t = (t || "fx") + "queue", i = G.get(e, t), n && (!i || Array.isArray(n) ? i = G.access(e, t, w.makeArray(n)) : i.push(n)), i || []
}
, dequeue: function (e, t) {
t = t || "fx";
var n = w.queue(e, t), i = n.length, o = n.shift(), r = w._queueHooks(e, t);
"inprogress" === o && (o = n.shift(), i--), o && ("fx" === t && n.unshift("inprogress"), delete r.stop, o.call(e, function () {
w.dequeue(e, t)
}
, r)), !i && r && r.empty.fire()
}
, _queueHooks: function (e, t) {
var n = t + "queueHooks";
return G.get(e, n) || G.access(e, n,
{
empty: w.Callbacks("once memory").add(function () {
G.remove(e, [t + "queue", n])
}
)
}
)
}
}
), w.fn.extend(
{
queue: function (e, t) {
var n = 2;
return "string" != typeof e && (t = e, e = "fx", n--), arguments.length < n ? w.queue(this[0], e) : void 0 === t ? this : this.each(function () {
var n = w.queue(this, e, t);
w._queueHooks(this, e), "fx" === e && "inprogress" !== n[0] && w.dequeue(this, e)
}
)
}
, dequeue: function (e) {
return this.each(function () {
w.dequeue(this, e)
}
)
}
, clearQueue: function (e) {
return this.queue(e || "fx", [])
}
, promise: function (e, t) {
function n() {
--o || r.resolveWith(a, [a])
}
var i, o = 1, r = w.Deferred(), a = this, s = this.length;
for ("string" != typeof e && (t = e, e = void 0), e = e || "fx";
s--;
)(i = G.get(a[s], e + "queueHooks")) && i.empty && (o++, i.empty.add(n));
return n(), r.promise(t)
}
}
);
_ = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source;
var ba = new RegExp("^(?:([+-])=|)(" + _ + ")([a-z%]*)$", "i"), ne = ["Top", "Right", "Bottom", "Left"], br = o.documentElement, oe = function (e) {
return w.contains(e.ownerDocument, e)
}
, re =
{
composed: !0
};
function bs(e, t) {
return "none" === (e = t || e).style.display || "" === e.style.display && oe(e) && "none" === w.css(e, "display")
}
function se(e, t, n, i) {
var o, r =
{
};
for (o in t) r[o] = e.style[o], e.style[o] = t[o];
for (o in i = n.apply(e, i || []), t) e.style[o] = r[o];
return i
}
br.getRootNode && (oe = function (e) {
return w.contains(e.ownerDocument, e) || e.getRootNode(re) === e.ownerDocument
}
);
var bb =
{
};
function ce(e, t) {
for (var n, i, o, r, a, s = [], l = 0, c = e.length;
l < c;
l++)(i = e[l]).style && (n = i.style.display, t ? ("none" === n && (s[l] = G.get(i, "display") || null, s[l] || (i.style.display = "")), "" === i.style.display && bs(i) && (s[l] = (r = void 0, r = (o = i).ownerDocument, a = o.nodeName, (o = bb[a]) || (r = r.body.appendChild(r.createElement(a)), o = w.css(r, "display"), r.parentNode.removeChild(r), "none" === o && (o = "block"), bb[a] = o)))) : "none" !== n && (s[l] = "none", G.set(i, "display", n)));
for (l = 0;
l < c;
l++)null != s[l] && (e[l].style.display = s[l]);
return e
}
w.fn.extend(
{
show: function () {
return ce(this, !0)
}
, hide: function () {
return ce(this)
}
, toggle: function (e) {
return "boolean" == typeof e ? e ? this.show() : this.hide() : this.each(function () {
bs(this) ? w(this).show() : w(this).hide()
}
)
}
}
);
var bc = /^(?:checkbox|radio)$/i, de = /<([a-z][^\/\0>\x20\t\r\n\f]*)/i, fe = /^$|^module$|\/(?:java|ecma)script/i, he =
{
option: [1, "<select multiple='multiple'>", "</select>"], thead: [1, "<table>", "</table>"], col: [2, "<table><colgroup>", "</colgroup></table>"], tr: [2, "<table><tbody>", "</tbody></table>"], td: [3, "<table><tbody><tr>", "</tr></tbody></table>"], _default: [0, "", ""]
};
function pe(e, t) {
var n = void 0 !== e.getElementsByTagName ? e.getElementsByTagName(t || "*") : void 0 !== e.querySelectorAll ? e.querySelectorAll(t || "*") : [];
return void 0 === t || t && k(e, t) ? w.merge([e], n) : n
}
function bu(e, t) {
for (var n = 0, i = e.length;
n < i;
n++)G.set(e[n], "globalEval", !t || G.get(t[n], "globalEval"))
}
he.optgroup = he.option, he.tbody = he.tfoot = he.colgroup = he.caption = he.thead, he.th = he.td;
var bd = /<|&#?\w+;
/;
function ve(e, t, n, i, o) {
for (var r, a, s, l, c, u = t.createDocumentFragment(), d = [], f = 0, h = e.length;
f < h;
f++)if ((r = e[f]) || 0 === r) if ("object" === b(r)) w.merge(d, r.nodeType ? [r] : r);
else if (bd.test(r)) {
for (a = a || u.appendChild(t.createElement("div")), s = (de.exec(r) || ["", ""])[1].toLowerCase(), s = he[s] || he._default, a.innerHTML = s[1] + w.htmlPrefilter(r) + s[2], c = s[0];
c--;
)a = a.lastChild;
w.merge(d, a.childNodes), (a = u.firstChild).textContent = ""
}
else d.push(t.createTextNode(r));
for (u.textContent = "", f = 0;
r = d[f++];
)if (i && -1 < w.inArray(r, i)) o && o.push(r);
else if (l = oe(r), a = pe(u.appendChild(r), "script"), l && bu(a), n) for (c = 0;
r = a[c++];
)fe.test(r.type || "") && n.push(r);
return u
}
i = o.createDocumentFragment().appendChild(o.createElement("div")), (E = o.createElement("input")).setAttribute("type", "radio"), E.setAttribute("checked", "checked"), E.setAttribute("name", "t"), i.appendChild(E), m.checkClone = i.cloneNode(!0).cloneNode(!0).lastChild.checked, i.innerHTML = "<textarea>x</textarea>", m.noCloneChecked = !!i.cloneNode(!0).lastChild.defaultValue;
var bf = /^key/, be = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, _e = /^([^.]*)(?:\.(.+)|)/;
function we() {
return !0
}
function Ce() {
return !1
}
function xe(e, t) {
return e === function () {
try {
return o.activeElement
}
catch (e) {
}
}
() == ("focus" === t)
}
function Ee(e, t, n, i, o, r) {
var a, s;
if ("object" == typeof t) {
for (s in "string" != typeof n && (i = i || n, n = void 0), t) Ee(e, s, n, i, t[s], r);
return e
}
if (null == i && null == o ? (o = n, i = n = void 0) : null == o && ("string" == typeof n ? (o = i, i = void 0) : (o = i, i = n, n = void 0)), !1 === o) o = Ce;
else if (!o) return e;
return 1 === r && (a = o, (o = function (e) {
return w().off(e), a.apply(this, arguments)
}
).guid = a.guid || (a.guid = w.guid++)), e.each(function () {
w.event.add(this, t, o, i, n)
}
)
}
function bv(e, t, n) {
n ? (G.set(e, t, !1), w.event.add(e, t,
{
namespace: !1, handler: function (e) {
var i, o, r = G.get(this, t);
if (1 & e.isTrigger && this[t]) {
if (r.length) (w.event.special[t] ||
{
}
).delegateType && e.stopPropagation();
else if (r = a.call(arguments), G.set(this, t, r), i = n(this, t), this[t](), r !== (o = G.get(this, t)) || i ? G.set(this, t, !1) : o =
{
}
, r !== o) return e.stopImmediatePropagation(), e.preventDefault(), o.value
}
else r.length && (G.set(this, t,
{
value: w.event.trigger(w.extend(r[0], w.Event.prototype), r.slice(1), this)
}
), e.stopImmediatePropagation())
}
}
)) : void 0 === G.get(e, t) && w.event.add(e, t, we)
}
w.event =
{
global:
{
}
, add: function (e, t, n, i, o) {
var r, a, s, l, c, u, d, f, h, p = G.get(e);
if (p) for (n.handler && (n = (r = n).handler, o = r.selector), o && w.find.matchesSelector(br, o), n.guid || (n.guid = w.guid++), (s = p.events) || (s = p.events =
{
}
), (a = p.handle) || (a = p.handle = function (t) {
return void 0 !== w && w.event.triggered !== t.type ? w.event.dispatch.apply(e, arguments) : void 0
}
), l = (t = (t || "").match(R) || [""]).length;
l--;
)d = h = (c = _e.exec(t[l]) || [])[1], f = (c[2] || "").split(".").sort(), d && (u = w.event.special[d] ||
{
}
, d = (o ? u.delegateType : u.bindType) || d, u = w.event.special[d] ||
{
}
, c = w.extend(
{
type: d, origType: h, data: i, handler: n, guid: n.guid, selector: o, needsContext: o && w.expr.match.needsContext.test(o), namespace: f.join(".")
}
, r), (h = s[d]) || ((h = s[d] = []).delegateCount = 0, u.setup && !1 !== u.setup.call(e, i, f, a) || e.addEventListener && e.addEventListener(d, a)), u.add && (u.add.call(e, c), c.handler.guid || (c.handler.guid = n.guid)), o ? h.splice(h.delegateCount++, 0, c) : h.push(c), w.event.global[d] = !0)
}
, remove: function (e, t, n, i, o) {
var r, a, s, l, c, u, d, f, h, p, m, g = G.hasData(e) && G.get(e);
if (g && (l = g.events)) {
for (c = (t = (t || "").match(R) || [""]).length;
c--;
)if (h = m = (s = _e.exec(t[c]) || [])[1], p = (s[2] || "").split(".").sort(), h) {
for (d = w.event.special[h] ||
{
}
, f = l[h = (i ? d.delegateType : d.bindType) || h] || [], s = s[2] && new RegExp("(^|\\.)" + p.join("\\.(?:.*\\.|)") + "(\\.|$)"), a = r = f.length;
r--;
)u = f[r], !o && m !== u.origType || n && n.guid !== u.guid || s && !s.test(u.namespace) || i && i !== u.selector && ("**" !== i || !u.selector) || (f.splice(r, 1), u.selector && f.delegateCount--, d.remove && d.remove.call(e, u));
a && !f.length && (d.teardown && !1 !== d.teardown.call(e, p, g.handle) || w.removeEvent(e, h, g.handle), delete l[h])
}
else for (h in l) w.event.remove(e, h + t[c], n, i, !0);
w.isEmptyObject(l) && G.remove(e, "handle events")
}
}
, dispatch: function (e) {
var t, n, i, o, r, a = w.event.fix(e), s = new Array(arguments.length), l = (G.get(this, "events") ||
{
}
)[a.type] || [];
e = w.event.special[a.type] ||
{
};
for (s[0] = a, t = 1;
t < arguments.length;
t++)s[t] = arguments[t];
if (a.delegateTarget = this, !e.preDispatch || !1 !== e.preDispatch.call(this, a)) {
for (r = w.event.handlers.call(this, a, l), t = 0;
(i = r[t++]) && !a.isPropagationStopped();
)for (a.currentTarget = i.elem, n = 0;
(o = i.handlers[n++]) && !a.isImmediatePropagationStopped();
)a.rnamespace && !1 !== o.namespace && !a.rnamespace.test(o.namespace) || (a.handleObj = o, a.data = o.data, void 0 !== (o = ((w.event.special[o.origType] ||
{
}
).handle || o.handler).apply(i.elem, s)) && !1 === (a.result = o) && (a.preventDefault(), a.stopPropagation()));
return e.postDispatch && e.postDispatch.call(this, a), a.result
}
}
, handlers: function (e, t) {
var n, i, o, r, a, s = [], l = t.delegateCount, c = e.target;
if (l && c.nodeType && !("click" === e.type && 1 <= e.button)) for (;
c !== this;
c = c.parentNode || this)if (1 === c.nodeType && ("click" !== e.type || !0 !== c.disabled)) {
for (r = [], a =
{
}
, n = 0;
n < l;
n++)void 0 === a[o = (i = t[n]).selector + " "] && (a[o] = i.needsContext ? -1 < w(o, this).index(c) : w.find(o, this, null, [c]).length), a[o] && r.push(i);
r.length && s.push(
{
elem: c, handlers: r
}
)
}
return c = this, l < t.length && s.push(
{
elem: c, handlers: t.slice(l)
}
), s
}
, addProp: function (e, t) {
Object.defineProperty(w.Event.prototype, e,
{
enumerable: !0, configurable: !0, get: g(t) ? function () {
if (this.originalEvent) return t(this.originalEvent)
}
: function () {
if (this.originalEvent) return this.originalEvent[e]
}
, set: function (t) {
Object.defineProperty(this, e,
{
enumerable: !0, configurable: !0, writable: !0, value: t
}
)
}
}
)
}
, fix: function (e) {
return e[w.expando] ? e : new w.Event(e)
}
, special:
{
load:
{
noBubble: !0
}
, click:
{
setup: function (e) {
return e = this || e, bc.test(e.type) && e.click && k(e, "input") && bv(e, "click", we), !1
}
, trigger: function (e) {
return e = this || e, bc.test(e.type) && e.click && k(e, "input") && bv(e, "click"), !0
}
, _default: function (e) {
return e = e.target, bc.test(e.type) && e.click && k(e, "input") && G.get(e, "click") || k(e, "a")
}
}
, beforeunload:
{
postDispatch: function (e) {
void 0 !== e.result && e.originalEvent && (e.originalEvent.returnValue = e.result)
}
}
}
}
, w.removeEvent = function (e, t, n) {
e.removeEventListener && e.removeEventListener(t, n)
}
, w.Event = function (e, t) {
if (!(this instanceof w.Event)) return new w.Event(e, t);
e && e.type ? (this.originalEvent = e, this.type = e.type, this.isDefaultPrevented = e.defaultPrevented || void 0 === e.defaultPrevented && !1 === e.returnValue ? we : Ce, this.target = e.target && 3 === e.target.nodeType ? e.target.parentNode : e.target, this.currentTarget = e.currentTarget, this.relatedTarget = e.relatedTarget) : this.type = e, t && w.extend(this, t), this.timeStamp = e && e.timeStamp || Date.now(), this[w.expando] = !0
}
, w.Event.prototype =
{
constructor: w.Event, isDefaultPrevented: Ce, isPropagationStopped: Ce, isImmediatePropagationStopped: Ce, isSimulated: !1, preventDefault: function () {
var e = this.originalEvent;
this.isDefaultPrevented = we, e && !this.isSimulated && e.preventDefault()
}
, stopPropagation: function () {
var e = this.originalEvent;
this.isPropagationStopped = we, e && !this.isSimulated && e.stopPropagation()
}
, stopImmediatePropagation: function () {
var e = this.originalEvent;
this.isImmediatePropagationStopped = we, e && !this.isSimulated && e.stopImmediatePropagation(), this.stopPropagation()
}
}
, w.each(
{
altKey: !0, bubbles: !0, cancelable: !0, changedTouches: !0, ctrlKey: !0, detail: !0, eventPhase: !0, metaKey: !0, pageX: !0, pageY: !0, shiftKey: !0, view: !0, char: !0, code: !0, charCode: !0, key: !0, keyCode: !0, button: !0, buttons: !0, clientX: !0, clientY: !0, offsetX: !0, offsetY: !0, pointerId: !0, pointerType: !0, screenX: !0, screenY: !0, targetTouches: !0, toElement: !0, touches: !0, which: function (e) {
var t = e.button;
return null == e.which && bf.test(e.type) ? null != e.charCode ? e.charCode : e.keyCode : !e.which && void 0 !== t && be.test(e.type) ? 1 & t ? 1 : 2 & t ? 3 : 4 & t ? 2 : 0 : e.which
}
}
, w.event.addProp), w.each(
{
focus: "focusin", blur: "focusout"
}
, function (e, t) {
w.event.special[e] =
{
setup: function () {
return bv(this, e, xe), !1
}
, trigger: function () {
return bv(this, e), !0
}
, delegateType: t
}
}
), w.each(
{
mouseenter: "mouseover", mouseleave: "mouseout", pointerenter: "pointerover", pointerleave: "pointerout"
}
, function (e, t) {
w.event.special[e] =
{
delegateType: t, bindType: t, handle: function (e) {
var n, i = e.relatedTarget, o = e.handleObj;
return i && (i === this || w.contains(this, i)) || (e.type = o.origType, n = o.handler.apply(this, arguments), e.type = t), n
}
}
}
), w.fn.extend(
{
on: function (e, t, n, i) {
return Ee(this, e, t, n, i)
}
, one: function (e, t, n, i) {
return Ee(this, e, t, n, i, 1)
}
, off: function (e, t, n) {
var i, o;
if (e && e.preventDefault && e.handleObj) return i = e.handleObj, w(e.delegateTarget).off(i.namespace ? i.origType + "." + i.namespace : i.origType, i.selector, i.handler), this;
if ("object" != typeof e) return !1 !== t && "function" != typeof t || (n = t, t = void 0), !1 === n && (n = Ce), this.each(function () {
w.event.remove(this, e, n, t)
}
);
for (o in e) this.off(o, t, e[o]);
return this
}
}
);
var bg = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi, Se = /<script|<style|<link/i, ke = /checked\s*(?:[^=]|=\s*.checked.)/i, Ne = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;
function bx(e, t) {
return k(e, "table") && k(11 !== t.nodeType ? t : t.firstChild, "tr") && w(e).children("tbody")[0] || e
}
function Oe(e) {
return e.type = (null !== e.getAttribute("type")) + "/" + e.type, e
}
function Ie(e) {
return "true/" === (e.type || "").slice(0, 5) ? e.type = e.type.slice(5) : e.removeAttribute("type"), e
}
function Le(e, t) {
var n, i, o, r, a, s;
if (1 === t.nodeType) {
if (G.hasData(e) && (r = G.access(e), a = G.set(t, r), s = r.events)) for (o in delete a.handle, a.events =
{
}
, s) for (n = 0, i = s[o].length;
n < i;
n++)w.event.add(t, o, s[o][n]);
X.hasData(e) && (e = X.access(e), e = w.extend(
{
}
, e), X.set(t, e))
}
}
function by(e, t, n, i) {
t = s.apply([], t);
var o, r, a, l, c, u, d = 0, f = e.length, h = f - 1, p = t[0], v = g(p);
if (v || 1 < f && "string" == typeof p && !m.checkClone && ke.test(p)) return e.each(function (o) {
var r = e.eq(o);
v && (t[0] = p.call(this, o, r.html())), by(r, t, n, i)
}
);
if (f && (r = (o = ve(t, e[0].ownerDocument, !1, e, i)).firstChild, 1 === o.childNodes.length && (o = r), r || i)) {
for (l = (a = w.map(pe(o, "script"), Oe)).length;
d < f;
d++)c = o, d !== h && (c = w.clone(c, !0, !0), l && w.merge(a, pe(c, "script"))), n.call(e[d], c, d);
if (l) for (u = a[a.length - 1].ownerDocument, w.map(a, Ie), d = 0;
d < l;
d++)c = a[d], fe.test(c.type || "") && !G.access(c, "globalEval") && w.contains(u, c) && (c.src && "module" !== (c.type || "").toLowerCase() ? w._evalUrl && !c.noModule && w._evalUrl(c.src,
{
nonce: c.nonce || c.getAttribute("nonce")
}
) : y(c.textContent.replace(Ne, ""), c, u))
}
return e
}
function je(e, t, n) {
for (var i, o = t ? w.filter(t, e) : e, r = 0;
null != (i = o[r]);
r++)n || 1 !== i.nodeType || w.cleanData(pe(i)), i.parentNode && (n && oe(i) && bu(pe(i, "script")), i.parentNode.removeChild(i));
return e
}
w.extend(
{
htmlPrefilter: function (e) {
return e.replace(bg, "<$1></$2>")
}
, clone: function (e, t, n) {
var i, o, r, a, s, l, c, u = e.cloneNode(!0), d = oe(e);
if (!(m.noCloneChecked || 1 !== e.nodeType && 11 !== e.nodeType || w.isXMLDoc(e))) for (a = pe(u), i = 0, o = (r = pe(e)).length;
i < o;
i++)s = r[i], void 0, "input" === (c = (l = a[i]).nodeName.toLowerCase()) && bc.test(s.type) ? l.checked = s.checked : "input" !== c && "textarea" !== c || (l.defaultValue = s.defaultValue);
if (t) if (n) for (r = r || pe(e), a = a || pe(u), i = 0, o = r.length;
i < o;
i++)Le(r[i], a[i]);
else Le(e, u);
return 0 < (a = pe(u, "script")).length && bu(a, !d && pe(e, "script")), u
}
, cleanData: function (e) {
for (var t, n, i, o = w.event.special, r = 0;
void 0 !== (n = e[r]);
r++)if (Y(n)) {
if (t = n[G.expando]) {
if (t.events) for (i in t.events) o[i] ? w.event.remove(n, i) : w.removeEvent(n, i, t.handle);
n[G.expando] = void 0
}
n[X.expando] && (n[X.expando] = void 0)
}
}
}
), w.fn.extend(
{
detach: function (e) {
return je(this, e, !0)
}
, remove: function (e) {
return je(this, e)
}
, text: function (e) {
return U(this, function (e) {
return void 0 === e ? w.text(this) : this.empty().each(function () {
1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType || (this.textContent = e)
}
)
}
, null, e, arguments.length)
}
, append: function () {
return by(this, arguments, function (e) {
1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType || bx(this, e).appendChild(e)
}
)
}
, prepend: function () {
return by(this, arguments, function (e) {
var t;
1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType || (t = bx(this, e)).insertBefore(e, t.firstChild)
}
)
}
, before: function () {
return by(this, arguments, function (e) {
this.parentNode && this.parentNode.insertBefore(e, this)
}
)
}
, after: function () {
return by(this, arguments, function (e) {
this.parentNode && this.parentNode.insertBefore(e, this.nextSibling)
}
)
}
, empty: function () {
for (var e, t = 0;
null != (e = this[t]);
t++)1 === e.nodeType && (w.cleanData(pe(e, !1)), e.textContent = "");
return this
}
, clone: function (e, t) {
return e = null != e && e, t = null == t ? e : t, this.map(function () {
return w.clone(this, e, t)
}
)
}
, html: function (e) {
return U(this, function (e) {
var t = this[0] ||
{
}
, n = 0, i = this.length;
if (void 0 === e && 1 === t.nodeType) return t.innerHTML;
if ("string" == typeof e && !Se.test(e) && !he[(de.exec(e) || ["", ""])[1].toLowerCase()]) {
e = w.htmlPrefilter(e);
try {
for (;
n < i;
n++)1 === (t = this[n] ||
{
}
).nodeType && (w.cleanData(pe(t, !1)), t.innerHTML = e);
t = 0
}
catch (e) {
}
}
t && this.empty().append(e)
}
, null, e, arguments.length)
}
, replaceWith: function () {
var e = [];
return by(this, arguments, function (t) {
var n = this.parentNode;
w.inArray(this, e) < 0 && (w.cleanData(pe(this)), n && n.replaceChild(t, this))
}
, e)
}
}
), w.each(
{
appendTo: "append", prependTo: "prepend", insertBefore: "before", insertAfter: "after", replaceAll: "replaceWith"
}
, function (e, t) {
w.fn[e] = function (e) {
for (var n, i = [], o = w(e), r = o.length - 1, a = 0;
a <= r;
a++)n = a === r ? this : this.clone(!0), w(o[a])[t](n), l.apply(i, n.get());
return this.pushStack(i)
}
}
);
var bh, He, Me, Fe, Be, qe, bz, Ue = new RegExp("^(" + _ + ")(?!px)[a-z%]+$", "i"), Ke = function (t) {
var n = t.ownerDocument.defaultView;
return n && n.opener || (n = e), n.getComputedStyle(t)
}
, Ve = new RegExp(ne.join("|"), "i");
function ze() {
var t;
bz && (qe.style.cssText = "position:absolute;
left: -11111px;
width: 60px;
margin - top: 1px;
padding: 0;
border: 0",bz.style.cssText="position: relative;
display: block;
box - sizing: border - box;
overflow: scroll;
margin: auto;
border: 1px;
padding: 1px;
width: 60 %;
top: 1 % ",br.appendChild(qe).appendChild(bz),t=e.getComputedStyle(bz),bh="1 % "!==t.top,Be=12===$e(t.marginLeft),bz.style.right="60 % ",Fe=36===$e(t.right),He=36===$e(t.width),bz.style.position="absolute",Me=12===$e(bz.offsetWidth/3),br.removeChild(qe),bz=null)
}
function $e(e) {
return Math.round(parseFloat(e))
}
function Ye(e, t, n) {
var i, o, r = e.style;
return (n = n || Ke(e)) && ("" !== (o = n.getPropertyValue(t) || n[t]) || oe(e) || (o = w.style(e, t)), !m.pixelBoxStyles() && Ue.test(o) && Ve.test(t) && (i = r.width, e = r.minWidth, t = r.maxWidth, r.minWidth = r.maxWidth = r.width = o, o = n.width, r.width = i, r.minWidth = e, r.maxWidth = t)), void 0 !== o ? o + "" : o
}
function Qe(e, t) {
return
{
get: function() {
if (!e()) return (this.get = t).apply(this, arguments);
delete this.get
}
}
}
qe = o.createElement("div"), (bz = o.createElement("div")).style && (bz.style.backgroundClip = "content-box", bz.cloneNode(!0).style.backgroundClip = "", m.clearCloneStyle = "content-box" === bz.style.backgroundClip, w.extend(m,
{
boxSizingReliable: function () {
return ze(), He
}
, pixelBoxStyles: function () {
return ze(), Fe
}
, pixelPosition: function () {
return ze(), bh
}
, reliableMarginLeft: function () {
return ze(), Be
}
, scrollboxSize: function () {
return ze(), Me
}
}
));
var bi = ["Webkit", "Moz", "ms"], Xe = o.createElement("div").style, bA =
{
};
function Je(e) {
return w.cssProps[e] || bA[e] || (e in Xe ? e : bA[e] = function (e) {
for (var t = e[0].toUpperCase() + e.slice(1), n = bi.length;
n--;
)if ((e = bi[n] + t) in Xe) return e
}
(e) || e)
}
var bj = /^(none|table(?!-c[ea]).+)/, bB = /^--/, nt =
{
position: "absolute", visibility: "hidden", display: "block"
}
, it =
{
letterSpacing: "0", fontWeight: "400"
};
function ot(e, t, n) {
var i = ba.exec(t);
return i ? Math.max(0, i[2] - (n || 0)) + (i[3] || "px") : t
}
function rt(e, t, n, i, o, r) {
var a = "width" === t ? 1 : 0, s = 0, l = 0;
if (n === (i ? "border" : "content")) return 0;
for (;
a < 4;
a += 2)"margin" === n && (l += w.css(e, n + ne[a], !0, o)), i ? ("content" === n && (l -= w.css(e, "padding" + ne[a], !0, o)), "margin" !== n && (l -= w.css(e, "border" + ne[a] + "Width", !0, o))) : (l += w.css(e, "padding" + ne[a], !0, o), "padding" !== n ? l += w.css(e, "border" + ne[a] + "Width", !0, o) : s += w.css(e, "border" + ne[a] + "Width", !0, o));
return !i && 0 <= r && (l += Math.max(0, Math.ceil(e["offset" + t[0].toUpperCase() + t.slice(1)] - r - l - s - .5)) || 0), l
}
function at(e, t, n) {
var i = Ke(e), o = (!m.boxSizingReliable() || n) && "border-box" === w.css(e, "boxSizing", !1, i), r = o, a = Ye(e, t, i), s = "offset" + t[0].toUpperCase() + t.slice(1);
if (Ue.test(a)) {
if (!n) return a;
a = "auto"
}
return (!m.boxSizingReliable() && o || "auto" === a || !parseFloat(a) && "inline" === w.css(e, "display", !1, i)) && e.getClientRects().length && (o = "border-box" === w.css(e, "boxSizing", !1, i), (r = s in e) && (a = e[s])), (a = parseFloat(a) || 0) + rt(e, t, n || (o ? "border" : "content"), r, i, a) + "px"
}
w.extend(
{
cssHooks:
{
opacity:
{
get: function (e, t) {
if (t) return "" === (e = Ye(e, "opacity")) ? "1" : e
}
}
}
, cssNumber:
{
animationIterationCount: !0, columnCount: !0, fillOpacity: !0, flexGrow: !0, flexShrink: !0, fontWeight: !0, gridArea: !0, gridColumn: !0, gridColumnEnd: !0, gridColumnStart: !0, gridRow: !0, gridRowEnd: !0, gridRowStart: !0, lineHeight: !0, opacity: !0, order: !0, orphans: !0, widows: !0, zIndex: !0, zoom: !0
}
, cssProps:
{
}
, style: function (e, t, n, i) {
if (e && 3 !== e.nodeType && 8 !== e.nodeType && e.style) {
var o, r, a, s = $(t), l = bB.test(t), c = e.style;
if (l || (t = Je(s)), a = w.cssHooks[t] || w.cssHooks[s], void 0 === n) return a && "get" in a && void 0 !== (o = a.get(e, !1, i)) ? o : c[t];
"string" == (r = typeof n) && (o = ba.exec(n)) && o[1] && (n = function (e, t, n, i) {
var o, r, a = 20, s = function () {
return w.css(e, t, "")
}
, l = s(), c = n && n[3] || (w.cssNumber[t] ? "" : "px"), u = e.nodeType && (w.cssNumber[t] || "px" !== c && +l) && ba.exec(w.css(e, t));
if (u && u[3] !== c) {
for (l /= 2, c = c || u[3], u = +l || 1;
a--;
)w.style(e, t, u + c), (1 - r) * (1 - (r = s() / l || .5)) <= 0 && (a = 0), u /= r;
u *= 2, w.style(e, t, u + c), n = n || []
}
return n && (u = +u || +l || 0, o = n[1] ? u + (n[1] + 1) * n[2] : +n[2]), o
}
(e, t, o), r = "number"), null != n && n == n && ("number" !== r || l || (n += o && o[3] || (w.cssNumber[s] ? "" : "px")), m.clearCloneStyle || "" !== n || 0 !== t.indexOf("background") || (c[t] = "inherit"), a && "set" in a && void 0 === (n = a.set(e, n, i)) || (l ? c.setProperty(t, n) : c[t] = n))
}
}
, css: function (e, t, n, i) {
var o, r = $(t);
return bB.test(t) || (t = Je(r)), (r = w.cssHooks[t] || w.cssHooks[r]) && "get" in r && (o = r.get(e, !0, n)), void 0 === o && (o = Ye(e, t, i)), "normal" === o && t in it && (o = it[t]), "" === n || n ? (t = parseFloat(o), !0 === n || isFinite(t) ? t || 0 : o) : o
}
}
), w.each(["height", "width"], function (e, t) {
w.cssHooks[t] =
{
get: function (e, n, i) {
if (n) return !bj.test(w.css(e, "display")) || e.getClientRects().length && e.getBoundingClientRect().width ? at(e, t, i) : se(e, nt, function () {
return at(e, t, i)
}
)
}
, set: function (e, n, i) {
var o, r = Ke(e), a = !m.scrollboxSize() && "absolute" === r.position, s = (a || i) && "border-box" === w.css(e, "boxSizing", !1, r);
i = i ? rt(e, t, i, s, r) : 0;
return s && a && (i -= Math.ceil(e["offset" + t[0].toUpperCase() + t.slice(1)] - parseFloat(r[t]) - rt(e, t, "border", !1, r) - .5)), i && (o = ba.exec(n)) && "px" !== (o[3] || "px") && (e.style[t] = n, n = w.css(e, t)), ot(0, n, i)
}
}
}
), w.cssHooks.marginLeft = Qe(m.reliableMarginLeft, function (e, t) {
if (t) return (parseFloat(Ye(e, "marginLeft")) || e.getBoundingClientRect().left - se(e,
{
marginLeft: 0
}
, function () {
return e.getBoundingClientRect().left
}
)) + "px"
}
), w.each(
{
margin: "", padding: "", border: "Width"
}
, function (e, t) {
w.cssHooks[e + t] =
{
expand: function (n) {
for (var i = 0, o =
{
}
, r = "string" == typeof n ? n.split(" ") : [n];
i < 4;
i++)o[e + ne[i] + t] = r[i] || r[i - 2] || r[0];
return o
}
}
, "margin" !== e && (w.cssHooks[e + t].set = ot)
}
), w.fn.extend(
{
css: function (e, t) {
return U(this, function (e, t, n) {
var i, o, r =
{
}
, a = 0;
if (Array.isArray(t)) {
for (i = Ke(e), o = t.length;
a < o;
a++)r[t[a]] = w.css(e, t[a], !1, i);
return r
}
return void 0 !== n ? w.style(e, t, n) : w.css(e, t)
}
, e, t, 1 < arguments.length)
}
}
), w.fn.delay = function (t, n) {
return t = w.fx && w.fx.speeds[t] || t, n = n || "fx", this.queue(n, function (n, i) {
var o = e.setTimeout(n, t);
i.stop = function () {
e.clearTimeout(o)
}
}
)
}
, i = o.createElement("input"), _ = o.createElement("select").appendChild(o.createElement("option")), i.type = "checkbox", m.checkOn = "" !== i.value, m.optSelected = _.selected, (i = o.createElement("input")).value = "t", i.type = "radio", m.radioValue = "t" === i.value;
var bk, lt = w.expr.attrHandle;
w.fn.extend(
{
attr: function (e, t) {
return U(this, w.attr, e, t, 1 < arguments.length)
}
, removeAttr: function (e) {
return this.each(function () {
w.removeAttr(this, e)
}
)
}
}
), w.extend(
{
attr: function (e, t, n) {
var i, o, r = e.nodeType;
if (3 !== r && 8 !== r && 2 !== r) return void 0 === e.getAttribute ? w.prop(e, t, n) : (1 === r && w.isXMLDoc(e) || (o = w.attrHooks[t.toLowerCase()] || (w.expr.match.bool.test(t) ? bk : void 0)), void 0 !== n ? null === n ? void w.removeAttr(e, t) : o && "set" in o && void 0 !== (i = o.set(e, n, t)) ? i : (e.setAttribute(t, n + ""), n) : o && "get" in o && null !== (i = o.get(e, t)) || null != (i = w.find.attr(e, t)) ? i : void 0)
}
, attrHooks:
{
type:
{
set: function (e, t) {
if (!m.radioValue && "radio" === t && k(e, "input")) {
var n = e.value;
return e.setAttribute("type", t), n && (e.value = n), t
}
}
}
}
, removeAttr: function (e, t) {
var n, i = 0, o = t && t.match(R);
if (o && 1 === e.nodeType) for (;
n = o[i++];
)e.removeAttribute(n)
}
}
), bk =
{
set: function (e, t, n) {
return !1 === t ? w.removeAttr(e, n) : e.setAttribute(n, n), n
}
}
, w.each(w.expr.match.bool.source.match(/\w+/g), function (e, t) {
var n = lt[t] || w.find.attr;
lt[t] = function (e, t, i) {
var o, r, a = t.toLowerCase();
return i || (r = lt[a], lt[a] = o, o = null != n(e, t, i) ? a : null, lt[a] = r), o
}
}
);
var bl = /^(?:input|select|textarea|button)$/i, ut = /^(?:a|area)$/i;
function dt(e) {
return (e.match(R) || []).join(" ")
}
function ft(e) {
return e.getAttribute && e.getAttribute("class") || ""
}
function ht(e) {
return Array.isArray(e) ? e : "string" == typeof e && e.match(R) || []
}
w.fn.extend(
{
prop: function (e, t) {
return U(this, w.prop, e, t, 1 < arguments.length)
}
, removeProp: function (e) {
return this.each(function () {
delete this[w.propFix[e] || e]
}
)
}
}
), w.extend(
{
prop: function (e, t, n) {
var i, o, r = e.nodeType;
if (3 !== r && 8 !== r && 2 !== r) return 1 === r && w.isXMLDoc(e) || (t = w.propFix[t] || t, o = w.propHooks[t]), void 0 !== n ? o && "set" in o && void 0 !== (i = o.set(e, n, t)) ? i : e[t] = n : o && "get" in o && null !== (i = o.get(e, t)) ? i : e[t]
}
, propHooks:
{
tabIndex:
{
get: function (e) {
var t = w.find.attr(e, "tabindex");
return t ? parseInt(t, 10) : bl.test(e.nodeName) || ut.test(e.nodeName) && e.href ? 0 : -1
}
}
}
, propFix:
{
for: "htmlFor", class: "className"
}
}
), m.optSelected || (w.propHooks.selected =
{
get: function (e) {
return (e = e.parentNode) && e.parentNode && e.parentNode.selectedIndex, null
}
, set: function (e) {
(e = e.parentNode) && (e.selectedIndex, e.parentNode && e.parentNode.selectedIndex)
}
}
), w.each(["tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable"], function () {
w.propFix[this.toLowerCase()] = this
}
), w.fn.extend(
{
addClass: function (e) {
var t, n, i, o, r, a, s = 0;
if (g(e)) return this.each(function (t) {
w(this).addClass(e.call(this, t, ft(this)))
}
);
if ((t = ht(e)).length) for (;
n = this[s++];
)if (a = ft(n), i = 1 === n.nodeType && " " + dt(a) + " ") {
for (r = 0;
o = t[r++];
)i.indexOf(" " + o + " ") < 0 && (i += o + " ");
a !== (a = dt(i)) && n.setAttribute("class", a)
}
return this
}
, removeClass: function (e) {
var t, n, i, o, r, a, s = 0;
if (g(e)) return this.each(function (t) {
w(this).removeClass(e.call(this, t, ft(this)))
}
);
if (!arguments.length) return this.attr("class", "");
if ((t = ht(e)).length) for (;
n = this[s++];
)if (a = ft(n), i = 1 === n.nodeType && " " + dt(a) + " ") {
for (r = 0;
o = t[r++];
)for (;
-1 < i.indexOf(" " + o + " ");
)i = i.replace(" " + o + " ", " ");
a !== (a = dt(i)) && n.setAttribute("class", a)
}
return this
}
, toggleClass: function (e, t) {
var n = typeof e, i = "string" == n || Array.isArray(e);
return "boolean" == typeof t && i ? t ? this.addClass(e) : this.removeClass(e) : g(e) ? this.each(function (n) {
w(this).toggleClass(e.call(this, n, ft(this), t), t)
}
) : this.each(function () {
var t, o, r, a;
if (i) for (o = 0, r = w(this), a = ht(e);
t = a[o++];
)r.hasClass(t) ? r.removeClass(t) : r.addClass(t);
else void 0 !== e && "boolean" != n || ((t = ft(this)) && G.set(this, "__className__", t), this.setAttribute && this.setAttribute("class", !t && !1 !== e && G.get(this, "__className__") || ""))
}
)
}
, hasClass: function (e) {
for (var t, n = 0, i = " " + e + " ";
t = this[n++];
)if (1 === t.nodeType && -1 < (" " + dt(ft(t)) + " ").indexOf(i)) return !0;
return !1
}
}
);
var bm = /\r/g;
function mt(e) {
e.stopPropagation()
}
w.fn.extend(
{
val: function (e) {
var t, n, i, o = this[0];
return arguments.length ? (i = g(e), this.each(function (n) {
1 === this.nodeType && (null == (n = i ? e.call(this, n, w(this).val()) : e) ? n = "" : "number" == typeof n ? n += "" : Array.isArray(n) && (n = w.map(n, function (e) {
return null == e ? "" : e + ""
}
)), (t = w.valHooks[this.type] || w.valHooks[this.nodeName.toLowerCase()]) && "set" in t && void 0 !== t.set(this, n, "value") || (this.value = n))
}
)) : o ? (t = w.valHooks[o.type] || w.valHooks[o.nodeName.toLowerCase()]) && "get" in t && void 0 !== (n = t.get(o, "value")) ? n : "string" == typeof (n = o.value) ? n.replace(bm, "") : null == n ? "" : n : void 0
}
}
), w.extend(
{
valHooks:
{
option:
{
get: function (e) {
var t = w.find.attr(e, "value");
return null != t ? t : dt(w.text(e))
}
}
, select:
{
get: function (e) {
for (var t, n = e.options, i = e.selectedIndex, o = "select-one" === e.type, r = o ? null : [], a = o ? i + 1 : n.length, s = i < 0 ? a : o ? i : 0;
s < a;
s++)if (((t = n[s]).selected || s === i) && !t.disabled && (!t.parentNode.disabled || !k(t.parentNode, "optgroup"))) {
if (t = w(t).val(), o) return t;
r.push(t)
}
return r
}
, set: function (e, t) {
for (var n, i, o = e.options, r = w.makeArray(t), a = o.length;
a--;
)((i = o[a]).selected = -1 < w.inArray(w.valHooks.option.get(i), r)) && (n = !0);
return n || (e.selectedIndex = -1), r
}
}
}
}
), w.each(["radio", "checkbox"], function () {
w.valHooks[this] =
{
set: function (e, t) {
if (Array.isArray(t)) return e.checked = -1 < w.inArray(w(e).val(), t)
}
}
, m.checkOn || (w.valHooks[this].get = function (e) {
return null === e.getAttribute("value") ? "on" : e.value
}
)
}
), m.focusin = "onfocusin" in e;
var bo = /^(?:focusinfocus|focusoutblur)$/;
w.extend(w.event,
{
trigger: function (t, i, r, a) {
var s, l, c, u, d, h, p, m = [r || o], v = f.call(t, "type") ? t.type : t, y = f.call(t, "namespace") ? t.namespace.split(".") : [], b = p = l = r = r || o;
if (3 !== r.nodeType && 8 !== r.nodeType && !bo.test(v + w.event.triggered) && (-1 < v.indexOf(".") && (v = (y = v.split(".")).shift(), y.sort()), u = v.indexOf(":") < 0 && "on" + v, (t = t[w.expando] ? t : new w.Event(v, "object" == typeof t && t)).isTrigger = a ? 2 : 3, t.namespace = y.join("."), t.rnamespace = t.namespace ? new RegExp("(^|\\.)" + y.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, t.result = void 0, t.target || (t.target = r), i = null == i ? [t] : w.makeArray(i, [t]), h = w.event.special[v] ||
{
}
, a || !h.trigger || !1 !== h.trigger.apply(r, i))) {
if (!a && !h.noBubble && !n(r)) {
for (c = h.delegateType || v, bo.test(c + v) || (b = b.parentNode);
b;
b = b.parentNode)m.push(b), l = b;
l === (r.ownerDocument || o) && m.push(l.defaultView || l.parentWindow || e)
}
for (s = 0;
(b = m[s++]) && !t.isPropagationStopped();
)p = b, t.type = 1 < s ? c : h.bindType || v, (d = (G.get(b, "events") ||
{
}
)[t.type] && G.get(b, "handle")) && d.apply(b, i), (d = u && b[u]) && d.apply && Y(b) && (t.result = d.apply(b, i), !1 === t.result && t.preventDefault());
return t.type = v, a || t.isDefaultPrevented() || h._default && !1 !== h._default.apply(m.pop(), i) || !Y(r) || u && g(r[v]) && !n(r) && ((l = r[u]) && (r[u] = null), w.event.triggered = v, t.isPropagationStopped() && p.addEventListener(v, mt), r[v](), t.isPropagationStopped() && p.removeEventListener(v, mt), w.event.triggered = void 0, l && (r[u] = l)), t.result
}
}
, simulate: function (e, t, n) {
e = w.extend(new w.Event, n,
{
type: e, isSimulated: !0
}
), w.event.trigger(e, null, t)
}
}
), w.fn.extend(
{
trigger: function (e, t) {
return this.each(function () {
w.event.trigger(e, t, this)
}
)
}
, triggerHandler: function (e, t) {
var n = this[0];
if (n) return w.event.trigger(e, t, n, !0)
}
}
), m.focusin || w.each(
{
focus: "focusin", blur: "focusout"
}
, function (e, t) {
function n(e) {
w.event.simulate(t, e.target, w.event.fix(e))
}
w.event.special[t] =
{
setup: function () {
var i = this.ownerDocument || this, o = G.access(i, t);
o || i.addEventListener(e, n, !0), G.access(i, t, (o || 0) + 1)
}
, teardown: function () {
var i = this.ownerDocument || this, o = G.access(i, t) - 1;
o ? G.access(i, t, o) : (i.removeEventListener(e, n, !0), G.remove(i, t))
}
}
}
);
var bp = /\[\]$/, yt = /\r?\n/g, bC = /^(?:submit|button|image|reset|file)$/i, _t = /^(?:input|select|textarea|keygen)/i;
w.param = function (e, t) {
function n(e, t) {
t = g(t) ? t() : t, o[o.length] = encodeURIComponent(e) + "=" + encodeURIComponent(null == t ? "" : t)
}
var i, o = [];
if (null == e) return "";
if (Array.isArray(e) || e.jquery && !w.isPlainObject(e)) w.each(e, function () {
n(this.name, this.value)
}
);
else for (i in e) !function e(t, n, i, o) {
if (Array.isArray(n)) w.each(n, function (n, r) {
i || bp.test(t) ? o(t, r) : e(t + "[" + ("object" == typeof r && null != r ? n : "") + "]", r, i, o)
}
);
else if (i || "object" !== b(n)) o(t, n);
else for (var r in n) e(t + "[" + r + "]", n[r], i, o)
}
(i, e[i], t, n);
return o.join("&")
}
, w.fn.extend(
{
serialize: function () {
return w.param(this.serializeArray())
}
, serializeArray: function () {
return this.map(function () {
var e = w.prop(this, "elements");
return e ? w.makeArray(e) : this
}
).filter(function () {
var e = this.type;
return this.name && !w(this).is(":disabled") && _t.test(this.nodeName) && !bC.test(e) && (this.checked || !bc.test(e))
}
).map(function (e, t) {
var n = w(this).val();
return null == n ? null : Array.isArray(n) ? w.map(n, function (e) {
return
{
name: t.name, value: e.replace(yt, "\r\n")
}
}
) :
{
name: t.name, value: n.replace(yt, "\r\n")
}
}
).get()
}
}
), w.fn.extend(
{
wrapAll: function (e) {
return this[0] && (g(e) && (e = e.call(this[0])), e = w(e, this[0].ownerDocument).eq(0).clone(!0), this[0].parentNode && e.insertBefore(this[0]), e.map(function () {
for (var e = this;
e.firstElementChild;
)e = e.firstElementChild;
return e
}
).append(this)), this
}
, wrapInner: function (e) {
return g(e) ? this.each(function (t) {
w(this).wrapInner(e.call(this, t))
}
) : this.each(function () {
var t = w(this), n = t.contents();
n.length ? n.wrapAll(e) : t.append(e)
}
)
}
, wrap: function (e) {
var t = g(e);
return this.each(function (n) {
w(this).wrapAll(t ? e.call(this, n) : e)
}
)
}
, unwrap: function (e) {
return this.parent(e).not("body").each(function () {
w(this).replaceWith(this.childNodes)
}
), this
}
}
), w.expr.pseudos.hidden = function (e) {
return !w.expr.pseudos.visible(e)
}
, w.expr.pseudos.visible = function (e) {
return !!(e.offsetWidth || e.offsetHeight || e.getClientRects().length)
}
, m.createHTMLDocument = ((i = o.implementation.createHTMLDocument("").body).innerHTML = "<form></form><form></form>", 2 === i.childNodes.length), w.parseHTML = function (e, t, n) {
return "string" != typeof e ? [] : ("boolean" == typeof t && (n = t, t = !1), t || (m.createHTMLDocument ? ((i = (t = o.implementation.createHTMLDocument("")).createElement("base")).href = o.location.href, t.head.appendChild(i)) : t = o), i = !n && [], (n = N.exec(e)) ? [t.createElement(n[1])] : (n = ve([e], t, i), i && i.length && w(i).remove(), w.merge([], n.childNodes)));
var i
}
, w.offset =
{
setOffset: function (e, t, n) {
var i, o, r, a, s = w.css(e, "position"), l = w(e), c =
{
};
"static" === s && (e.style.position = "relative"), r = l.offset(), i = w.css(e, "top"), a = w.css(e, "left"), a = ("absolute" === s || "fixed" === s) && -1 < (i + a).indexOf("auto") ? (o = (s = l.position()).top, s.left) : (o = parseFloat(i) || 0, parseFloat(a) || 0), g(t) && (t = t.call(e, n, w.extend(
{
}
, r))), null != t.top && (c.top = t.top - r.top + o), null != t.left && (c.left = t.left - r.left + a), "using" in t ? t.using.call(e, c) : l.css(c)
}
}
, w.fn.extend(
{
offset: function (e) {
if (arguments.length) return void 0 === e ? this : this.each(function (t) {
w.offset.setOffset(this, e, t)
}
);
var t, n = this[0];
return n ? n.getClientRects().length ? (t = n.getBoundingClientRect(), n = n.ownerDocument.defaultView,
{
top: t.top + n.pageYOffset, left: t.left + n.pageXOffset
}
) :
{
top: 0, left: 0
}
: void 0
}
, position: function () {
if (this[0]) {
var e, t, n, i = this[0], o =
{
top: 0, left: 0
};
if ("fixed" === w.css(i, "position")) t = i.getBoundingClientRect();
else {
for (t = this.offset(), n = i.ownerDocument, e = i.offsetParent || n.documentElement;
e && (e === n.body || e === n.documentElement) && "static" === w.css(e, "position");
)e = e.parentNode;
e && e !== i && 1 === e.nodeType && ((o = w(e).offset()).top += w.css(e, "borderTopWidth", !0), o.left += w.css(e, "borderLeftWidth", !0))
}
return
{
top: t.top - o.top - w.css(i, "marginTop", !0), left: t.left - o.left - w.css(i, "marginLeft", !0)
}
}
}
, offsetParent: function () {
return this.map(function () {
for (var e = this.offsetParent;
e && "static" === w.css(e, "position");
)e = e.offsetParent;
return e || br
}
)
}
}
), w.each(
{
scrollLeft: "pageXOffset", scrollTop: "pageYOffset"
}
, function (e, t) {
var i = "pageYOffset" === t;
w.fn[e] = function (o) {
return U(this, function (e, o, r) {
var a;
return n(e) ? a = e : 9 === e.nodeType && (a = e.defaultView), void 0 === r ? a ? a[t] : e[o] : void (a ? a.scrollTo(i ? a.pageXOffset : r, i ? r : a.pageYOffset) : e[o] = r)
}
, e, o, arguments.length)
}
}
), w.each(["top", "left"], function (e, t) {
w.cssHooks[t] = Qe(m.pixelPosition, function (e, n) {
if (n) return n = Ye(e, t), Ue.test(n) ? w(e).position()[t] + "px" : n
}
)
}
), w.each(
{
Height: "height", Width: "width"
}
, function (e, t) {
w.each(
{
padding: "inner" + e, content: t, "": "outer" + e
}
, function (i, o) {
w.fn[o] = function (r, a) {
var s = arguments.length && (i || "boolean" != typeof r), l = i || (!0 === r || !0 === a ? "margin" : "border");
return U(this, function (t, i, r) {
var a;
return n(t) ? 0 === o.indexOf("outer") ? t["inner" + e] : t.document.documentElement["client" + e] : 9 === t.nodeType ? (a = t.documentElement, Math.max(t.body["scroll" + e], a["scroll" + e], t.body["offset" + e], a["offset" + e], a["client" + e])) : void 0 === r ? w.css(t, i, l) : w.style(t, i, r, l)
}
, t, s ? r : void 0, s)
}
}
)
}
), w.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "), function (e, t) {
w.fn[t] = function (e, n) {
return 0 < arguments.length ? this.on(t, null, e, n) : this.trigger(t)
}
}
), w.fn.extend(
{
hover: function (e, t) {
return this.mouseenter(e).mouseleave(t || e)
}
}
), w.fn.extend(
{
bind: function (e, t, n) {
return this.on(e, null, t, n)
}
, unbind: function (e, t) {
return this.off(e, null, t)
}
, delegate: function (e, t, n, i) {
return this.on(t, e, n, i)
}
, undelegate: function (e, t, n) {
return 1 === arguments.length ? this.off(e, "**") : this.off(t, e || "**", n)
}
}
), w.proxy = function (e, t) {
var n, i;
if ("string" == typeof t && (i = e[t], t = e, e = i), g(e)) return n = a.call(arguments, 2), (i = function () {
return e.apply(t || this, n.concat(a.call(arguments)))
}
).guid = e.guid = e.guid || w.guid++, i
}
, w.holdReady = function (e) {
e ? w.readyWait++ : w.ready(!0)
}
, w.isArray = Array.isArray, w.parseJSON = JSON.parse, w.nodeName = k, w.isFunction = g, w.isWindow = n, w.camelCase = $, w.type = b, w.now = Date.now, w.isNumeric = function (e) {
var t = w.type(e);
return ("number" === t || "string" === t) && !isNaN(e - parseFloat(e))
};
var bq = e.jQuery, Ct = e.$;
return w.noConflict = function (t) {
return e.$ === w && (e.$ = Ct), t && e.jQuery === w && (e.jQuery = bq), w
}
, t || (e.jQuery = e.$ = w), w
}
, e.exports = t.document ? i(t, !0) : function (e) {
if (!e.document) throw new Error("jQuery requires a window with a document");
return i(e)
}
}
(t =
{
exports:
{
}
}
), t.exports), o = "transitionend";
var r =
{
TRANSITION_END: "bsTransitionEnd", getUID: function (e) {
for (;
e += ~~(1e6 * Math.random()), document.getElementById(e);
);
return e
}
, getSelectorFromElement: function (e) {
var t = e.getAttribute("data-target");
t && "#" !== t || (t = (e = e.getAttribute("href")) && "#" !== e ? e.trim() : "");
try {
return document.querySelector(t) ? t : null
}
catch (e) {
return null
}
}
, getTransitionDurationFromElement: function (e) {
if (!e) return 0;
var t = i(e).css("transition-duration"), n = i(e).css("transition-delay"), o = parseFloat(t);
e = parseFloat(n);
return o || e ? (t = t.split(",")[0], n = n.split(",")[0], 1e3 * (parseFloat(t) + parseFloat(n))) : 0
}
, reflow: function (e) {
return e.offsetHeight
}
, triggerTransitionEnd: function (e) {
i(e).trigger(o)
}
, supportsTransitionEnd: function () {
return Boolean(o)
}
, isElement: function (e) {
return (e[0] || e).nodeType
}
, typeCheckConfig: function (e, t, n) {
for (var i in n) if (Object.prototype.hasOwnProperty.call(n, i)) {
var o = n[i], a = t[i], s = a && r.isElement(a) ? "element" : (s = a,
{
}
.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase());
if (!new RegExp(o).test(s)) throw new Error(e.toUpperCase() + ': Option "' + i + '" provided type "' + s + '" but expected type "' + o + '".')
}
}
, findShadowRoot: function (e) {
return document.documentElement.attachShadow ? "function" != typeof e.getRootNode ? e instanceof ShadowRoot ? e : e.parentNode ? r.findShadowRoot(e.parentNode) : null : (e = e.getRootNode()) instanceof ShadowRoot ? e : null : null
}
, jQueryDetection: function () {
if (void 0 === i) throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");
var e = i.fn.jquery.split(" ")[0].split(".");
if (e[0] < 2 && e[1] < 9 || 1 === e[0] && 9 === e[1] && e[2] < 1 || 4 <= e[0]) throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")
}
};
r.jQueryDetection(), i.fn.emulateTransitionEnd = function (e) {
var t = this, n = !1;
return i(this).one(r.TRANSITION_END, function () {
n = !0
}
), setTimeout(function () {
n || r.triggerTransitionEnd(t)
}
, e), this
}
, i.event.special[r.TRANSITION_END] =
{
bindType: o, delegateType: o, handle: function (e) {
if (i(e.target).is(this)) return e.handleObj.handler.apply(this, arguments)
}
}
, Array.prototype.fill || (Array.prototype.fill = function (e) {
if (null === this) throw new TypeError("this is null or not defined");
for (var t, n = Object(this), i = n.length >>> 0, o = (t = arguments[1] >> 0) < 0 ? Math.max(i + t, 0) : Math.min(t, i), r = (t = void 0 === (t = arguments[2]) ? i : t >> 0) < 0 ? Math.max(i + t, 0) : Math.min(t, i);
o < r;
)n[o] = e, o++;
return n
}
);
var a =
{
farsi_regex: /[\u0622\u0626-\u0628\u062A-\u063A\u0641-\u064A\u0660-\u0669\u067e\u0686\u0691\u0698\u06a9\u06cc\u06af\u06f0-\u06f9]+[\u0622\u0626-\u0628\u062A-\u063A\u0641-\u064A\u0660-\u0669\u067e\u0686\u0691\u0698\u06a9\u06cc\u06af\u06f0-\u06f9\s]*/, setInputDirectionClass: function (e) {
var t = i(e);
e = "";
t.val().trim() ? e = t.val() : t.attr("placeholder") && (e = t.attr("placeholder")), a.setDirectionClass(t, e)
}
, getTime: function () {
return (new Date).getTime()
}
, random: function () {
return a.getTime().toString().substr(0, 10)
}
, isRtl: function (e) {
return a.farsi_regex.test(e)
}
, setDirectionClass: function (e, t) {
a.isRtl(t) ? e.removeClass("ltr").addClass("rtl") : e.removeClass("rtl").addClass("ltr")
}
, dataGet: function (e, t, n) {
for (t = i.isArray(t) ? t : t.split(".");
!i.isEmptyObject(o = t.shift());
) {
var o = e[o];
if ("undefined" !== i.type(o)) return t.length ? this.dataGet(o, t, n) : o
}
return n
}
, jDate: function (e, t) {
return void 0 === t && (t =
{
year: "numeric", month: "long", day: "numeric"
}
), new Date(e).toLocaleDateString("fa-IR", t)
}
, farsiNumber: function (e) {
isNaN(e) || (e = (new Intl.NumberFormat).format(e));
var t = "Û°Û±Û²Û³Û´ÛµÛ¶Û·Û¸Û¹".split("");
return e.replace(/[0-9]/g, function (e) {
return t[Number(e)]
}
)
}
, updateFarsiNumber: function (e) {
i(e).find('[data-toggle="farsi-number"]').each(function () {
var e = i(this);
e.text(a.farsiNumber(e.text()))
}
)
}
, range: function (e, t) {
return Array(t - e + 1).fill(e).map(function (e, t) {
return e + t
}
)
}
, selectInputText: function (e, t, n) {
var i, o;
navigator.userAgent.match(/ipad|ipod|iphone/i) ? (i = document.createRange(), (o = getSelection()).removeAllRanges(), o.addRange(i)) : e.focus(), e.setSelectionRange(t, n)
}
, completeInput: function (e, t) {
var n, i = e.data("value");
t && (n = 0 === t.toLowerCase().indexOf(i.toLowerCase()) ? i.length : 0, i = t.length, e.val(t), a.selectInputText(e[0], n, i))
}
, getClass: function (e) {
e = String(e).toLowerCase().replace(/Ù€/g, "");
var t, n =
{
windows: /windows|ویندوز/, mac: /mac|مکینتاش| مک/, linux: /linux|لینوکس/, android: /android|اندروید/, mobile: /mobile|موبایل/, apple: /apple|ios|اپل/, office: /office|آفیس/, update: /آپدیت|update/, help: /راهنما|help/, web: /web/, cpu: /arm|cpu|x64|64 بیت|x86|32 بیت/, tools: /tools/, skin: /skin/
};
for (t in n) if (-1 !== e.search(n[t])) return t;
return null
}
};
function s(e, t) {
var n = [];
return i.each(e, function (o, r) {
e.hasOwnProperty(o) && (e instanceof i ? (o = i(r).attr("name"), r = i(r).val()) : t && (o = t + "[" + o + "]"), r = null !== r && "object" === i.type(r) ? s(r, o) : encodeURIComponent(o) + "=" + encodeURIComponent(r), n.push(r))
}
), n.join("&")
}
var l = function () {
function e() {
}
return e.request = function (e) {
var t = new XMLHttpRequest;
t.open(e.type, e.url, !0), t.onreadystatechange = function () {
if (1 === this.readyState && i.isFunction(e.beforeSend) && e.beforeSend(), 4 === this.readyState) {
var t;
try {
t = JSON.parse(this.responseText)
}
catch (e) {
t = this.responseText
}
i.isFunction(e.complete) && e.complete(t), 200 === this.status && i.isFunction(e.success) && e.success(t)
}
}
, t.setRequestHeader("X-Requested-With", "XMLHttpRequest");
var n = e.data instanceof FormData ? e.data : (t.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"), s(e.data));
return t.send(n), t
}
, e.get = function (e, t, n) {
return e =
{
url: e, type: "get", data:
{
}
}
, i.isFunction(t) ? e.success = t : (e.url += "&" + s(t), e.success = n), e.url += (-1 === e.url.search(/\?/) ? "?" : "&") + "_=" + a.random(), this.request(e)
}
, e.post = function (e, t, n) {
this.request(
{
url: e, type: "post", data: t, success: n
}
)
}
, e
}
(), c =
{
CLICK: "click.app.captcha.data-api"
}
, u = function () {
function e() {
}
return e.reload = function (e) {
var t = i(e).find("img");
e = t.attr("src").replace(/\?.+$/, "") + "?_=" + a.random();
t.addClass("img-thumbnail").attr("src", e)
}
, e
}
();
i(document).on(c.CLICK, '[data-toggle="captcha"]', function (e) {
e.preventDefault(), u.reload(this)
}
);
var d = function () {
function e() {
}
return e.get = function (e, t) {
return void 0 === t && (t = void 0), a.dataGet(window, e, t)
}
, e.set = function (e, t) {
window[e] = t
}
, e
}
(), f =
{
animation_duration: 200, collapse_duration: 350, wysiwyg: -1
}
, h = function () {
function e() {
}
return e.get = function (e, t) {
return void 0 === t && (t = void 0), a.dataGet(f, e, t)
}
, e
}
(), p = function () {
function e() {
}
return e.set = function (e, t, n) {
void 0 === n && (n = null);
var o, r = "";
n && ((o = new Date).setTime(o.getTime() + 24 * n * 60 * 60 * 1e3), r = " expires=" + o.toGMTString() + ";
"),"object"===i.type(t)&&(t=JSON.stringify(t)),document.cookie=e+" = "+t+";
"+r+" path = /"
}
, e.all = function () {
return document.cookie.split(";
").reduce(function(e,t)
{
var n = t.match(/([^=\s]+)=(.*)/);
if(n)try
{
e[n[1].trim()]= JSON.parse(n[2])
}
catch(t) {
e[n[1].trim()] = n[2]
}
return e
}
, [])
}
, e.get = function (e, t) {
return a.dataGet(this.all(), e, t)
}
, e.forget = function (e) {
this.set(e, "", -1)
}
, e
}
();
function m(e, t) {
for (var n = 0;
n < t.length;
n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
function g(e, t, n) {
return t && m(e.prototype, t), n && m(e, n), e
}
function v(e, t, n) {
return t in e ? Object.defineProperty(e, t,
{
value: n, enumerable: !0, configurable: !0, writable: !0
}
) : e[t] = n, e
}
function y(e, t) {
var n, i = Object.keys(e);
return Object.getOwnPropertySymbols && (n = Object.getOwnPropertySymbols(e), t && (n = n.filter(function (t) {
return Object.getOwnPropertyDescriptor(e, t).enumerable
}
)), i.push.apply(i, n)), i
}
function b(e) {
for (var t = 1;
t < arguments.length;
t++) {
var n = null != arguments[t] ? arguments[t] :
{
};
t % 2 ? y(Object(n), !0).forEach(function (t) {
v(e, t, n[t])
}
) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y(Object(n)).forEach(function (t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t))
}
)
}
return e
}
var _ = "t2oast", w = function () {
function e() {
this._element = i('<div class="' + _ + ' fade"></div>')
}
e.makeText = function (t, n, i) {
return void 0 === n && (n = this.lengths.short), void 0 === i && (i = "sm"), (new e).setText(t).setDuration(n).setSize(i)
};
var t = e.prototype;
return t.setText = function (e) {
return this._element.html(e), this
}
, t.setDuration = function (e) {
return this._timeout = e, this
}
, t.setSize = function (e) {
return this._element.addClass("t2oast-" + e), this
}
, t.show = function () {
var e = this;
return this._element.appendTo(document.body), setTimeout(function () {
e._element.addClass("show")
}
, 1), setTimeout(function () {
e.hide()
}
, this._timeout), this
}
, t.hide = function () {
var e = this;
return this._element.removeClass("show"), setTimeout(function () {
e._element.detach()
}
, h.get("animation_duration")), this
}
, e
}
();
v(w, "lengths",
{
short: 4e3, medium: 8e3, long: 12e3
}
);
var C = i('meta[name="viewport"]'), x = C.attr("content"), E = function () {
function e() {
}
return e.off = function () {
C.attr("content", "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no")
}
, e.on = function () {
C.attr("content", x)
}
, e
}
(), T = function () {
function e() {
}
return e.is = function (e) {
var t = this.getPosition(this.getName(i(window).width())), n = new RegExp("(<|>|<=|>=|==|===)\\s*(" + Object.keys(this.breakpoints).join("|") + ")");
return (n = e.match(n)) ? new Function("return " + t + " " + e.replace(n[2], this.getPosition(n[2])))() : t === this.getPosition(e)
}
, e.getName = function (e) {
var t = null;
return i.each(this.breakpoints, function (n, i) {
i <= e && (t = n)
}
), t
}
, e.getPosition = function (e) {
return Object.keys(this.breakpoints).indexOf(e)
}
, e
}
();
v(T, "breakpoints",
{
xs: 0, sm: 576, md: 768, lg: 992, xl: 1200
}
), T.Zoom = E;
var D =
{
text_loading: "لطفاً چند لحظه منتظر بمانید...", text_no: "خیر", text_telegram: 'در صورت عدم دانلود فایل با IP ایران ، جهت رفع مشکل در <a class="text-danger font-weight-bold" href=":url" target="_blank">تلگرام</a> پیام دهید', text_yes: "بله", text_install_path: "مسیری که نرم افزار نصب شده است", text_add_firewall: "فایروال آنتی ویروس یا ویندوز", text_host: "تـوضیـح", button_close: "بستن", error_b7d9x: "جهت مشاهده لینک، افزونه حذف تبلیغات را در مرورگر غیرفعال و دکمه F5 را بزنید", error_notification_denied: "برای دریافت بروزرسانی باید دسترسی نوتیفیکشن مرورگر فعال باشد", error_notification_support: "مرورگر شما از سرویس ارسال نوتیفیکشن پشیبانی نمی‌کند", error_required: "برای ارسال، باید فیلد اجباری را پر کنید"
}
, S = function () {
function e() {
}
return e.get = function (e, t) {
if (void 0 === t && (t =
{
}
), D[e]) {
var n, i, o = D[e];
for (n in t) Object.prototype.hasOwnProperty.call(t, n) && (i = new RegExp(":" + n, "g"), o = o.replace(i, t[n]));
return o
}
return d.get("dle_" + e)
}
, e
}
(), k = "app.loading", N = "loading", A = "loading__inner", O = "loader", I = "circular", L = "path";
function P(e) {
return i(document.createElementNS("http://www.w3.org/2000/svg", e))
}
var j = function () {
function e() {
this._element = i("<div>").addClass(N), this._inner = i("<div>").addClass(A).appendTo(this._element)
}
e.make = function (t) {
return (new e).setText(t)
};
var t = e.prototype;
return t.setText = function (e) {
return this._inner.html(e), this
}
, t.show = function () {
var e = this;
return this._element.appendTo(document.body), setTimeout(function () {
e._element.addClass("show")
}
, 1), this
}
, t.hide = function () {
var e = this;
return this._element.removeClass("show"), setTimeout(function () {
e._element.detach()
}
, h.get("animation_duration")), this
}
, e.show = function (e) {
return void 0 === e && (e = S.get("text_loading")), this.loading = this.make(e).show(), this.loading
}
, e.hide = function () {
return this.loading.hide()
}
, e
}
();
v(j, "loading", void 0);
var R = function () {
function e() {
this._element = i("<div>").addClass(O).addClass("collapse");
var e = P("svg").attr(
{
class: I, viewBox: "25 25 50 50"
}
).appendTo(this._element);
P("circle").attr(
{
class: L, cx: 50, cy: 50, r: 20, fill: "none", "stroke-width": 4, "stroke-miterlimit": 10
}
).appendTo(e)
}
e.make = function () {
return new e
}
, e.prependTo = function (e) {
var t = i(e).data(k);
return t || (t = this.make(), i(e).data(k, t)), t._element.prependTo(e), t
};
var t = e.prototype;
return t.htmlTo = function (e) {
return i(e).html(this._element), this
}
, t.show = function () {
return this._element.collapse("show"), this
}
, t.hide = function () {
return this._element.collapse("hide"), this
}
, e
}
(), H =
{
CLICK: "click.app.drawer.data-api"
}
, M = "navbar-drawer-open", F = function () {
function e() {
}
return e.toggle = function (t) {
var n, o = i("#navbar-drawer");
o.hasClass("show") ? e.hide(t) : (o.addClass("show"), n = i('<div class="navbar-drawer-backdrop fade"></div>').appendTo(document.body).click(function () {
e.hide(t)
}
), setTimeout(function () {
n.addClass("show")
}
, 1), i(document.body).addClass(M), t.attr("aria-expanded", "true").addClass("active"))
}
, e.hide = function (e) {
i("#navbar-drawer").removeClass("show");
var t = i(".navbar-drawer-backdrop").removeClass("show");
setTimeout(function () {
t.detach()
}
, 2 * h.get("animation_duration")), i(document.body).removeClass(M), e.attr("aria-expanded", "false").removeClass("active")
}
, e
}
();
i(document).on(H.CLICK, '[data-toggle="navbar-drawer"]', function () {
F.toggle(i(this))
}
);
var B = "modal", q = "bs.modal", W = "." + q, U = i.fn[B], K =
{
backdrop: !0, keyboard: !0, focus: !0, show: !0
}
, V =
{
backdrop: "(boolean|string)", keyboard: "boolean", focus: "boolean", show: "boolean"
}
, z =
{
HIDE: "hide" + W, HIDE_PREVENTED: "hidePrevented" + W, HIDDEN: "hidden" + W, SHOW: "show" + W, SHOWN: "shown" + W, FOCUSIN: "focusin" + W, RESIZE: "resize" + W, CLICK_DISMISS: "click.dismiss" + W, KEYDOWN_DISMISS: "keydown.dismiss" + W, MOUSEUP_DISMISS: "mouseup.dismiss" + W, MOUSEDOWN_DISMISS: "mousedown.dismiss" + W, CLICK_DATA_API: "click" + W + ".data-api"
}
, Y = "modal-open", Q = "fade", G = "show", X = "modal-static", Z = ".modal-dialog", J = '[data-toggle="modal"]', ee = ".fixed-top, .fixed-bottom, .is-fixed, .sticky-top", te = ".sticky-top", ne = function () {
function e(e, t) {
this._config = this._getConfig(t), this._element = e, this._dialog = e.querySelector(Z), this._backdrop = null, this._isShown = !1, this._isBodyOverflowing = !1, this._ignoreBackdropClick = !1, this._isTransitioning = !1, this._scrollbarWidth = 0
}
var t = e.prototype;
return t.toggle = function (e) {
return this._isShown ? this.hide() : this.show(e)
}
, t.show = function (e) {
var t, n = this;
this._isShown || this._isTransitioning || (i(this._element).hasClass(Q) && (this._isTransitioning = !0), t = i.Event(z.SHOW,
{
relatedTarget: e
}
), i(this._element).trigger(t), this._isShown || t.isDefaultPrevented() || (this._isShown = !0, this._checkScrollbar(), this._setScrollbar(), this._adjustDialog(), this._setEscapeEvent(), this._setResizeEvent(), i(this._element).on(z.CLICK_DISMISS, '[data-dismiss="modal"]', function (e) {
return n.hide(e)
}
), i(this._dialog).on(z.MOUSEDOWN_DISMISS, function () {
i(n._element).one(z.MOUSEUP_DISMISS, function (e) {
i(e.target).is(n._element) && (n._ignoreBackdropClick = !0)
}
)
}
), this._showBackdrop(function () {
return n._showElement(e)
}
)))
}
, t.hide = function (e) {
var t = this;
e && e.preventDefault(), this._isShown && !this._isTransitioning && (e = i.Event(z.HIDE), i(this._element).trigger(e), this._isShown && !e.isDefaultPrevented() && (this._isShown = !1, (e = i(this._element).hasClass(Q)) && (this._isTransitioning = !0), this._setEscapeEvent(), this._setResizeEvent(), i(document).off(z.FOCUSIN), i(this._element).removeClass(G), i(this._element).off(z.CLICK_DISMISS), i(this._dialog).off(z.MOUSEDOWN_DISMISS), e ? (e = r.getTransitionDurationFromElement(this._element), i(this._element).one(r.TRANSITION_END, function (e) {
return t._hideModal(e)
}
).emulateTransitionEnd(e)) : this._hideModal()))
}
, t.dispose = function () {
[window, this._element, this._dialog].forEach(function (e) {
return i(e).off(W)
}
), i(document).off(z.FOCUSIN), i.removeData(this._element, q), this._config = null, this._element = null, this._dialog = null, this._backdrop = null, this._isShown = null, this._isBodyOverflowing = null, this._ignoreBackdropClick = null, this._isTransitioning = null, this._scrollbarWidth = null
}
, t.handleUpdate = function () {
this._adjustDialog()
}
, t._getConfig = function (e) {
return e = b(
{
}
, K,
{
}
, e), r.typeCheckConfig(B, e, V), e
}
, t._triggerBackdropTransition = function () {
var e, t = this;
"static" === this._config.backdrop ? (e = i.Event(z.HIDE_PREVENTED), i(this._element).trigger(e), e.defaultPrevented || (this._element.classList.add(X), e = r.getTransitionDurationFromElement(this._element), i(this._element).one(r.TRANSITION_END, function () {
t._element.classList.remove(X)
}
).emulateTransitionEnd(e), this._element.focus())) : this.hide()
}
, t._showElement = function (e) {
var t = this, n = i(this._element).hasClass(Q), o = this._dialog ? this._dialog.querySelector(".modal-body") : null;
this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE || document.body.appendChild(this._element), this._element.style.display = "block", this._element.removeAttribute("aria-hidden"), this._element.setAttribute("aria-modal", !0), i(this._dialog).hasClass("modal-dialog-scrollable") && o ? o.scrollTop = 0 : this._element.scrollTop = 0, n && r.reflow(this._element), i(this._element).addClass(G), this._config.focus && this._enforceFocus();
var a = i.Event(z.SHOWN,
{
relatedTarget: e
}
);
e = function () {
t._config.focus && t._element.focus(), t._isTransitioning = !1, i(t._element).trigger(a)
};
n ? (n = r.getTransitionDurationFromElement(this._dialog), i(this._dialog).one(r.TRANSITION_END, e).emulateTransitionEnd(n)) : e()
}
, t._enforceFocus = function () {
var e = this;
i(document).off(z.FOCUSIN).on(z.FOCUSIN, function (t) {
document !== t.target && e._element !== t.target && 0 === i(e._element).has(t.target).length && e._element.focus()
}
)
}
, t._setEscapeEvent = function () {
var e = this;
this._isShown && this._config.keyboard ? i(this._element).on(z.KEYDOWN_DISMISS, function (t) {
27 === t.which && e._triggerBackdropTransition()
}
) : this._isShown || i(this._element).off(z.KEYDOWN_DISMISS)
}
, t._setResizeEvent = function () {
var e = this;
this._isShown ? i(window).on(z.RESIZE, function (t) {
return e.handleUpdate(t)
}
) : i(window).off(z.RESIZE)
}
, t._hideModal = function () {
var e = this;
this._element.style.display = "none", this._element.setAttribute("aria-hidden", !0), this._element.removeAttribute("aria-modal"), this._isTransitioning = !1, this._showBackdrop(function () {
i(document.body).removeClass(Y), e._resetAdjustments(), e._resetScrollbar(), i(e._element).trigger(z.HIDDEN)
}
)
}
, t._removeBackdrop = function () {
this._backdrop && (i(this._backdrop).remove(), this._backdrop = null)
}
, t._showBackdrop = function (e) {
var t, n = this, o = i(this._element).hasClass(Q) ? Q : "";
this._isShown && this._config.backdrop ? (this._backdrop = document.createElement("div"), this._backdrop.className = "modal-backdrop", o && this._backdrop.classList.add(o), i(this._backdrop).appendTo(document.body), i(this._element).on(z.CLICK_DISMISS, function (e) {
n._ignoreBackdropClick ? n._ignoreBackdropClick = !1 : e.target === e.currentTarget && n._triggerBackdropTransition()
}
), o && r.reflow(this._backdrop), i(this._backdrop).addClass(G), e && (o ? (t = r.getTransitionDurationFromElement(this._backdrop), i(this._backdrop).one(r.TRANSITION_END, e).emulateTransitionEnd(t)) : e())) : !this._isShown && this._backdrop ? (i(this._backdrop).removeClass(G), o = function () {
n._removeBackdrop(), e && e()
}
, i(this._element).hasClass(Q) ? (t = r.getTransitionDurationFromElement(this._backdrop), i(this._backdrop).one(r.TRANSITION_END, o).emulateTransitionEnd(t)) : o()) : e && e()
}
, t._adjustDialog = function () {
var e = this._element.scrollHeight > document.documentElement.clientHeight;
!this._isBodyOverflowing && e && (this._element.style.paddingLeft = this._scrollbarWidth + "px"), this._isBodyOverflowing && !e && (this._element.style.paddingRight = this._scrollbarWidth + "px")
}
, t._resetAdjustments = function () {
this._element.style.paddingLeft = "", this._element.style.paddingRight = ""
}
, t._checkScrollbar = function () {
var e = document.body.getBoundingClientRect();
this._isBodyOverflowing = e.left + e.right < window.innerWidth, this._scrollbarWidth = this._getScrollbarWidth()
}
, t._setScrollbar = function () {
var e, t, n = this;
this._isBodyOverflowing && (e = [].slice.call(document.querySelectorAll(ee)), t = [].slice.call(document.querySelectorAll(te)), i(e).each(function (e, t) {
var o = t.style.paddingRight, r = i(t).css("padding-right");
i(t).data("padding-right", o).css("padding-right", parseFloat(r) + n._scrollbarWidth + "px")
}
), i(t).each(function (e, t) {
var o = t.style.marginRight, r = i(t).css("margin-right");
i(t).data("margin-right", o).css("margin-right", parseFloat(r) - n._scrollbarWidth + "px")
}
), e = document.body.style.paddingRight, t = i(document.body).css("padding-right"), i(document.body).data("padding-right", e).css("padding-right", parseFloat(t) + this._scrollbarWidth + "px")), i(document.body).addClass(Y)
}
, t._resetScrollbar = function () {
var e = [].slice.call(document.querySelectorAll(ee));
i(e).each(function (e, t) {
var n = i(t).data("padding-right");
i(t).removeData("padding-right"), t.style.paddingRight = n || ""
}
), e = [].slice.call(document.querySelectorAll("" + te)), i(e).each(function (e, t) {
var n = i(t).data("margin-right");
void 0 !== n && i(t).css("margin-right", n).removeData("margin-right")
}
), e = i(document.body).data("padding-right"), i(document.body).removeData("padding-right"), document.body.style.paddingRight = e || ""
}
, t._getScrollbarWidth = function () {
var e = document.createElement("div");
e.className = "modal-scrollbar-measure", document.body.appendChild(e);
var t = e.getBoundingClientRect().width - e.clientWidth;
return document.body.removeChild(e), t
}
, e._jQueryInterface = function (t, n) {
return this.each(function () {
var o = i(this).data(q), r = b(
{
}
, K,
{
}
, i(this).data(),
{
}
, "object" == typeof t && t ? t :
{
}
);
if (o || (o = new e(this, r), i(this).data(q, o)), "string" == typeof t) {
if (void 0 === o[t]) throw new TypeError('No method named "' + t + '"');
o[t](n)
}
else r.show && o.show(n)
}
)
}
, g(e, null, [
{
key: "VERSION", get: function () {
return "4.4.1"
}
}
,
{
key: "Default", get: function () {
return K
}
}
]), e
}
();
i(document).on(z.CLICK_DATA_API, J, function (e) {
var t, n = this, o = r.getSelectorFromElement(this);
o && (t = document.querySelector(o)), o = i(t).data(q) ? "toggle" : b(
{
}
, i(t).data(),
{
}
, i(this).data()), "A" !== this.tagName && "AREA" !== this.tagName || e.preventDefault();
var a = i(t).one(z.SHOW, function (e) {
e.isDefaultPrevented() || a.one(z.HIDDEN, function () {
i(n).is(":visible") && n.focus()
}
)
}
);
ne._jQueryInterface.call(i(t), o, this)
}
), i.fn[B] = ne._jQueryInterface, i.fn[B].Constructor = ne, i.fn[B].noConflict = function () {
return i.fn[B] = U, ne._jQueryInterface
};
var br = "#nav-btn-notification", oe = "has-new", re = function () {
function e() {
}
return e.setTooltip = function () {
var e, t, n = i(br);
T.is(">= md") && ((e = n.data("date")) > p.get("notification", "1") ? (n.addClass(oe).tooltip("show"), t = this, i("#modal-notification").on("click", ".btn-secondary[data-dismiss]", function (n) {
p.set("notification", e, 90), t.autoHideTooltip()
}
)) : n.removeAttr("title"))
}
, e.autoHideTooltip = function () {
i(br).removeClass(oe).tooltip("hide").tooltip("disable")
}
, e
}
();
addEventListener("load", function () {
re.setTooltip()
}
);
var bs = ".search-autocomplete-post", se = ".search-autocomplete", le = ".search-autocomplete-item-focusable", ce = "has-category", ue = "has-post", de = "has-search-action", fe = "has-search-history", he = "show", pe = function () {
function e() {
}
return e.show = function (e) {
this.updateList(e), i(i(e).data("autocomplete")).addClass(he)
}
, e.hide = function (e, t) {
void 0 === t && (t = !1);
var n = i(e), o = i(n.data("autocomplete"));
t ? o.removeClass(he) : setTimeout(function () {
o.is("hover") || n.is("focus") || o.removeClass(he)
}
, h.get("animation_duration"))
}
, e.add = function (e) {
var t = this.format(e.title).trim();
-1 === (e = this.index(t)) ? t && this._storage.search_histories.unshift(
{
title: t, count: 1
}
) : this.update(e,
{
count: this._storage.search_histories[e].count + 1
}
), this.updateStorage()
}
, e.addPost = function (e, t) {
void 0 === t && (t = !0);
var n = this.format(e.title).trim(), i = this.indexPost(e.url);
-1 === i ? n && this._storage.post_histories.unshift(
{
title: n, url: e.url, image: e.image, os: e.os, count: 1
}
) : t && this.updatePost(i,
{
count: this._storage.post_histories[i].count + 1
}
), this.updateStorage()
}
, e.clear = function () {
this._storage =
{
search_histories: [], post_histories: []
}
, this.updateStorage()
}
, e.update = function (e, t) {
void 0 === t && (t =
{
}
);
var n = this._storage.search_histories.splice(e, 1)[0];
i.each(t, function (e, t) {
n[e] = t
}
), this._storage.search_histories.unshift(n)
}
, e.updatePost = function (e, t) {
var n = this._storage.post_histories.splice(e, 1)[0];
i.each(t, function (e, t) {
n[e] = t
}
), this._storage.post_histories.unshift(n)
}
, e.updateList = function (t) {
var n = this, o = i(t), r = this.format(o.val()).toLowerCase(), s = r.trim(), c = i(o.data("autocomplete")).data("url"), u =
{
};
o.data("value", r);
var d = [];
i.each(this._storage.search_histories, function (e, t) {
var i = t.title;
n.inString(r, i) && d.push(t)
}
), d.sort(function (e, t) {
return n.sort(e, t, r, "title")
}
), u.search_histories = d.slice(0, 5);
var f = [];
u.searchedposts = [], i.each(this._storage.post_histories, function (e, t) {
var i, o, s = t.title;
f.push(t), "" !== r && n.inString(r, s) && (o = (i = t.title).match(/[a-z]+\s*[a-z0-9.\-+\s]*/i), s = i.match(a.farsi_regex), o ? i = o[0] : s && (i = s[0]), u.searchedposts.push(
{
url: t.url, title: i, image: t.image, os: t.os
}
))
}
), f.sort(function (e, t) {
return n.sort(e, t, r, "title")
}
), u.posts = f.slice(0, 8), u.search_actions = [];
var h, p, m = [];
clearTimeout(this.timeout), "object" === i.type(this.xhr) && this.xhr.abort(), s.length && (h = u.posts.reduce(function (e, t) {
return e.concat(bK.getId(t.url))
}
, []), -1 === (p = u.search_histories.reduce(function (e, t) {
return e.concat(t.title.toLowerCase().trim())
}
, [])).indexOf(s) && (u.search_actions.push(s), p.push(s)), this.timeout = setTimeout(function () {
n.xhr = l.get(c.replace("
{
query
}
",r),function(e)
{
i.each(e, function (e, t) {
var n = t.title;
t.image && -1 === h.indexOf(t.post_id) && (u.searchedposts.push(
{
url: bK.getUrl(t.post_id, n), title: n, image: t.image, os: t.os || []
}
), h.push(t.post_id)), -1 === p.indexOf(n.toLowerCase().trim()) && (u.search_actions.push(n), p.push(n))
}
), n.updateElements(u, t)
}
)
}
, 500), i('[data-role="category"]').each(function () {
var t = i(this), n = (o = t.data("title")) || t.attr("title"), o = t.text() + " " + n + " " + this.pathname;
e.inString(r, o) && m.push(
{
title: n, url: t.attr("href")
}
)
}
), m.sort(function (e, t) {
return n.sort(e, t, r, "title")
}
)), u.categories = m.slice(0, 5), this.updateElements(u, t)
}
, e.updateElements = function (e, t) {
var n = this, o = i(t), r = this.format(o.val()).toLowerCase().trim(), s = "#" + o.attr("id"), l = (t = i(o.data("autocomplete"))).find(se), c = t.find(bs);
l.html(""), c.html(""), e.search_histories.length ? (o.addClass(fe), i.each(e.search_histories, function (e, t) {
var i = t.title;
t = '<div class="search-autocomplete-item search-autocomplete-item-focusable search-autocomplete-item-search-history">';
t += '<button class="btn search-autocomplete-btn ' + (a.isRtl(i) ? "rtl" : "ltr") + '" type="button" data-toggle="search-action" data-target="' + s + '" data-value="' + i + '">', t += n.formatTitle(r, i), t += "</button>", t += '<button class="btn search-autocomplete-btn" type="button" data-toggle="search-update" data-target="' + s + '" data-value="' + i + ' "></button>', t += '<button class="btn search-autocomplete-btn" type="button" data-toggle="search-history-remove" data-target="' + s + '" data-title="' + i + '"></button>', t += "</div>", l.append(t)
}
)) : o.removeClass(fe), e.posts.length ? (o.addClass(ue), i.each(e.posts, function (e, t) {
var n = t.title, i = n.match(/[a-z]+\s*[a-z0-9.\-+\s]*/i), o = n.match(a.farsi_regex), r = "";
i ? (n = i[0], r = "ltr") : o && (n = o[0], r = "rtl"), r = '<div class="search-autocomplete-item search-autocomplete-item-post ' + r + '">', r += '<a class="search-autocomplete-link" href="' + t.url + '" title="' + t.title + '">', r += '<img class="search-autocomplete-post-image" src="' + t.image + '" alt="' + t.title + '">', r += '<span class="search-autocomplete-post-text">' + (n.length < 20 ? n : n.substr(0, 9) + "..." + n.substr(-3)) + "</span>", r += "</a>", r += "</div>", c.append(r)
}
), this.updatePostWidth()) : o.removeClass(ue), e.searchedposts.length ? (o.addClass(de), i.each(e.searchedposts, function (e, t) {
var n = '<div class="search-autocomplete-item search-autocomplete-item-focusable hdl-search-left">';
n += '<a class="search-autocomplete-link" href="' + t.url + '">' + t.title, t.os.length && i.each(t.os.slice(0, 5), function (e, t) {
n += '<span class="hdl-search-icon hdl-search-icon-' + t + '"></span>'
}
), n += "</a>", n += '<img class="hdl-search-img" src="' + t.image + '" alt="' + t.title + '">', n += "</div>", l.append(n)
}
), this.updatePostWidth()) : o.removeClass(de), e.categories.length ? (o.addClass(ce), i.each(e.categories, function (e, t) {
var i = t.title, o = '<div class="search-autocomplete-item search-autocomplete-item-focusable search-autocomplete-item-category search-autocomplete-item-' + a.getClass(i) + '">';
o += '<a class="search-autocomplete-link" href="' + t.url + '">', o += n.formatTitle(r, i.replace(/ \([^(\)]+\)$/, "")), o += "</a>", o += '<button class="btn search-autocomplete-btn" type="button" data-toggle="search-update" data-target="' + s + '" data-value="' + i + ' "></button>', o += "</div>", l.append(o)
}
)) : o.removeClass(ce)
}
, e.formatTitle = function (e, t) {
return e.length && 0 === t.toLowerCase().indexOf(e) ? "" + "
{
filter
}
<b>
{
title
}
</b>".replace("
{
filter
}
",t.substr(0,e.length)).replace("
{
title
}
",t.substr(e.length)):t
}
, e.sort = function (e, t, n, i) {
var o = n.trim(), r = i ? e[i] : e, a = r.trim(), s = 0 === r.indexOf(n);
e = 0 === a.indexOf(o), t = (i = i ? t[i] : t).trim(), i = 0 === i.indexOf(n), n = 0 === t.indexOf(o);
return r === o || s && !i ? -1 : i ? (a.length, t.length, 0) : e && !n ? -1 : n ? 0 : 1
}
, e.inString = function (e, t) {
e = e.trim().split(" "), t = this.format(t).toLowerCase().trim();
var n = !0;
return i.each(e, function (e, i) {
-1 !== t.indexOf(i) ? (i = new RegExp(i, "g"), t = t.replace(i, "")) : n = !1
}
), n
}
, e.index = function (e) {
var t = -1;
return i.each(this._storage.search_histories, function (n, i) {
i.title === e && (t = n)
}
), t
}
, e.indexPost = function (e) {
var t = -1;
return i.each(this._storage.post_histories, function (n, i) {
i.url === e && (t = n)
}
), t
}
, e.remove = function (e) {
this._storage.search_histories.splice(this.index(e), 1), this.updateStorage()
}
, e.updateStorage = function () {
this._storage.search_histories.slice(0, 20), this._storage.post_histories.slice(0, 20), p.set("search_autocomplete", this._storage, 365)
}
, e.updatePostWidth = function () {
var e = i(bs), t = i(se).width();
e.each(function () {
var e = i(this), n = e.find(".search-autocomplete-item-post");
n = Math.max(n.first().outerWidth() * n.length, t);
e.css("width", n)
}
)
}
, e.focus = function (e, t) {
void 0 === t && (t = "down");
var n, o, r = i(e), s = (o = i(r.data("autocomplete")).find(le)).filter(".focus");
s.length || (s = o.filter(function () {
return i(this).is(":hover")
}
)), e = o.index(s), s.removeClass("focus"), "down" === t ? n = e + 1 < o.length ? e + 1 : 0 : "up" === t && (n = Math.max(e - 1, -1)), (o = o.eq(n)).length && (n = o.find('[data-toggle="search-update"]').data("value"), a.completeInput(r, n ? n.trim() : r.data("value")), o.addClass("focus"), o[0].scrollIntoView(
{
block: "center"
}
))
}
, e.beforeSubmitEvent = function (e, t) {
var n = i(e.data("autocomplete")).find(le).filter(".focus");
n.length && (e = n.find(".search-autocomplete-link"), n = n.find(".search-autocomplete-btn").first().not('[data-toggle="search-action"]'), e.length ? (t.preventDefault(), e[0].click()) : n.length && (t.preventDefault(), n.click()))
}
, e.format = function (e) {
var t = this;
i.each(this.search_letters, function (n, i) {
i = new RegExp(i, "g"), e = e.replace(i, t.replace_letters[n])
}
);
var n = new RegExp(a.farsi_regex.source.replace(/\[/g, "[^A-Za-z0-9."), "g");
return e = (e = e.replace(n, " ")).replace(/[\s]
{
2,
}
/ g, " ")
}
, e.checkPostHistory = function (t) {
i(t).find('[data-toggle="post-history"]').each(function () {
var t = i(this), n = t.data(), o = n.title, r = n.url, a = n.os;
e.addPost(
{
title: o || t.attr("title"), image: n.image, url: r || t.attr("href"), os: a ? a.split(",") : []
}
, !1 !== n.update)
}
)
}
, e
}
();
v(pe, "_storage",
{
post_histories: [], search_histories: []
}
), v(pe, "_temp",
{
}
), v(pe, "search_letters", ["أ", "إ", "ك", "ؤ", "ة", "ۀ", "ي", "ئ", "ء", "ـ", "۱", "۲", "۳", "۴", "٤", "۵", "۶", "٦", "۷", "۸", "۹", "۰"]), v(pe, "replace_letters", ["ا", "ا", "ک", "و", "ه", "ه", "ی", "ی", "", "", "1", "2", "3", "4", "4", "5", "6", "6", "7", "8", "9", "0"]), v(pe, "timeout", void 0);
var bu = function () {
function e() {
}
var t = e.prototype;
return t.createElement = function () {
var e = i("<div>").attr(
{
class: "modal fade expand", tabindex: "-1", role: "dialog", "aria-labelledby": "application-modal-label", "aria-hidden": !0
}
), t = '<div class="modal-dialog modal-primary modal-dialog-scrollable" role="document">';
return t += '<div class="modal-content">', t += '<div class="modal-header">', t += '<h5 class="modal-title" id="application-modal-label"></h5>', t += '<button type="button" class="close" data-dismiss="modal" aria-label="' + S.get("button_close") + '">', t += '<span aria-hidden="true">&times;
</span > ',t+="</button>",t+="</div>",t+=' < div class="modal-body" ></div > ',t+="</div>",t+="</div>",e.html(t),e.on("show.bs.modal",function()
{
i(this).appendTo(document.body)
}
).on("hidden.bs.modal", function () {
i(this).detach()
}
), this.setElement(e), this
}
, t.setElement = function (e) {
return this._element = e, this
}
, e.make = function (t, n, i) {
return (new e).createElement().setTitle(t).setBody(n).setOptions(i)
}
, t.setTitle = function (e) {
return this._element.find(".modal-title").html(e), this
}
, t.setBody = function (e) {
return this._element.find(".modal-body").html(e), this
}
, t.setOptions = function (e) {
return this._options = e, "object" === i.type(e) && (this.addClass(e.class), i.isArray(e.buttons) && this.setButtons(e.buttons)), this
}
, t.addClass = function (e) {
var t = this._element.find(".modal-dialog");
return t.data("class") || t.data("class", t.attr("class")), t.addClass(e), this
}
, t.setButtons = function (e) {
var t = i('<div class="modal-footer">');
return i.each(e, function (e, n) {
i('<button type="button" class="btn">').addClass(n.class).html(n.text).click(n.click).attr(n.attr ||
{
}
).appendTo(t)
}
), this._element.find(".modal-content").append(t), this
}
, t.show = function () {
return this._element.modal(this._options), this
}
, t.reset = function () {
var e = this._element.find(".modal-dialog");
return e.attr("class", e.data("class")), this._element.find(".modal-footer").detach(), this
}
, t.hide = function () {
return this._element.modal("hide"), this
}
, e.confirm = function (t, n, o) {
var r =
{
class: "modal-confirm modal-danger", buttons: [
{
text: S.get("text_no"), class: "btn-outline-secondary", click: function () {
a.hide()
}
}
,
{
text: S.get("text_yes"), class: "btn-danger", click: function () {
a.hide(), i.isFunction(o) && o()
}
}
]
}
, a = e.make(t, n, r).show();
return a
}
, e.alert = function (t, n) {
var i =
{
buttons: [
{
text: S.get("button_close"), class: "btn-secondary", click: function () {
o.hide()
}
}
]
}
, o = e.make(n, t, i).show();
return o
}
, e
}
(), ge = ".app.navbar.search", ve = [0, 8, 32, 37, 39, 46].concat(a.range(48, 90), a.range(96, 111), a.range(186, 192), a.range(219, 222), a.range(229, 231)), ye = '[data-toggle="search-action"]', be = "#search form", _e = '[data-toggle="search"]', we = '[name="story"]', Ce = (c = ".search-autocomplete__wrap", E = '[data-toggle="search-history-clear"]', H = '[data-toggle="search-history-remove"]', J = '[data-toggle="search-update"]',
{
BLUR: "blur" + ge, CHANGE: "change" + ge, CLICK: "click" + ge + ".data-api", FOCUS: "focus" + ge, HOVER: "hover" + ge, KEYPRESS: "keypress" + ge, KEYUP: "keyup" + ge, MOUSELEAVE: "mouseleave" + ge, SUBMIT: "submit" + ge, RESIZE: "resize" + ge, KEYDOWN: "keydown" + ge
}
), xe = "show", Ee = function () {
function e() {
}
return e.show = function (e, t) {
void 0 === t && (t = !0), i(e).addClass("active");
var n = i(i(e).data("target"));
n.addClass(xe), t && setTimeout(function () {
n.find(we).focus()
}
, h.get("animation_duration"))
}
, e.hide = function (e) {
i(e).removeClass("active"), e = i(e).data("target"), i(e).removeClass(xe)
}
, e.toggle = function (e) {
var t = i(e).data("target");
i(t).hasClass(xe) ? this.hide(e) : this.show(e)
}
, e.update = function (e, t) {
i(e).val(t).focus(), a.setInputDirectionClass(e)
}
, e.clear = function (e) {
e = i(e).find(we), this.update(e, "")
}
, e
}
();
i(document).on(Ce.CLICK, _e, function (e) {
e.preventDefault(), Ee.toggle(this)
}
).on(Ce.CLICK, '[data-toggle="search-clear"]', function (e) {
e.preventDefault(), Ee.clear(i(this).data("target"))
}
).on(Ce.CLICK, J, function () {
var e = i(this).data(), t = e.target;
Ee.update(t, e.value), pe.updateList(t)
}
).on(Ce.CLICK, ye, function () {
var e = i(this).data(), t = e.target;
Ee.update(t, e.value), i(t).closest("form").submit()
}
).on(Ce.FOCUS, we, function () {
pe.show(this), T.Zoom.off()
}
).on(Ce.BLUR, we, function () {
pe.hide(this), T.Zoom.on()
}
).on(Ce.MOUSELEAVE, c, function () {
pe.hide(this)
}
).on(Ce.KEYDOWN, we, function (e) {
38 === e.which ? (e.preventDefault(), pe.focus(this, "up")) : 40 === e.which && (e.preventDefault(), pe.focus(this, "down"))
}
).on(Ce.KEYUP, we, function (e) {
var t = i(this);
-1 !== ve.indexOf(e.which) ? pe.updateList(this) : 27 === e.which && t.trigger(Ce.BLUR)
}
).on(Ce.SUBMIT, be, function (e) {
var t = i(this).find(we);
t.val(pe.format(t.val())), pe.beforeSubmitEvent(t, e)
}
).on(Ce.CLICK, E, function () {
var e = i(this).data();
bu.confirm(e.text_title, e.text_question, function () {
pe.clear()
}
)
}
).on(Ce.CLICK, H, function () {
var e = i(this).data();
pe.remove(e.title), i(e.target).focus()
}
).on(Ce.HOVER, ye, function () {
var e = i(i(this).data("target"));
e.is(":focus") || e.focus()
}
), i(window).on(Ce.RESIZE, function () {
pe.updatePostWidth()
}
), i(function () {
var e, t = i('[data-toggle="search-history"]');
t.length && (t.each(function () {
var e = i(this), t = e.data("value");
pe.add(
{
title: t || e.val()
}
)
}
), (e = pe.format(t.val())) ? (Ee.show(_e, !1), t = i(we).val(e), a.setDirectionClass(t, e)) : Ee.show(_e)), pe.checkPostHistory(document.body)
}
);
be = '[data-toggle="login-favorite"]', E = "#form-login", H =
{
SUBMIT: "submit" + (J = ".app.login") + (c = ".data-api"), CLICK: "click" + J + c
};
var bv = function () {
function e() {
}
return e.send = function (e, t, n, i) {
l.post(e, t, function (e) {
e.error && i(e.error), e.success && n()
}
)
}
, e.getFavorite = function (e, t) {
l.get(e, t)
}
, e
}
();
i(document).on(H.CLICK, be, function (e) {
e.preventDefault();
var t = i("<div>"), n = i(this), o = n.data(), r = (e =
{
class: "modal-lg modal-light modal-dialog-scrollable", buttons: [
{
text: o.button_close, class: "btn-outline-secondary", click: function () {
r.hide()
}
}
,
{
text: o.button_more, class: "btn-secondary", click: function () {
r.hide(), d.set("location", n.attr("href"))
}
}
]
}
, bu.make(o.text_title, t, e).show()), s = setTimeout(function () {
R.make().htmlTo(t).show()
}
, h.get("animation_duration"));
bv.getFavorite(o.url, function (e) {
clearTimeout(s), "error" === e.status && (setTimeout(function () {
r.hide()
}
, 4 * h.get("animation_duration")), w.makeText(e.text).show()), "ok" === e.status && (t.html(e.text), a.updateFarsiNumber(t), pe.checkPostHistory(t)), n.find(".favorite-count").text(a.farsiNumber(e.count))
}
)
}
).on(H.SUBMIT, E, function (e) {
var t, n = i(this), o = n.find('[type="submit"]'), r = n.find(".alert");
e.preventDefault(), this.checkValidity() && (r.removeClass("show"), setTimeout(function () {
r.remove()
}
, h.get("animation_duration")), t = R.prependTo(n).show(), o.prop("disabled", !0), bv.send(n.data("url"), n.find(":input"), function () {
location.reload()
}
, function (e) {
t.hide(), o.prop("disabled", !1).text(o.data("text"));
var r = i('<div class="alert alert-danger collapse fade expand text-center">');
r.text(e).prependTo(n), setTimeout(function () {
r.collapse("show")
}
, 1)
}
))
}
).on(H.CLICK, '[data-toggle="tooltip"][data-target="#login-required"]', function (e) {
e.preventDefault()
}
);
var bw =
{
APPEND_TO_BODY: ".append-to-body", DROPDOWN: ".dropdown", DROPDOWN_MENU: ".dropdown-menu", DROPDOWN_SHOW: ".dropdown.show", NAVBAR: ".navbar", NAVBAR_ICON_LINK: ".navbar-icon-link", NAVBAR_ICONS: "#navbar-icons", NAVBAR_WRAP: "#navbar__wrap", LOGO: "#logo__wrap"
}
, Se = "dropdown-open", ke = "navbar-brand-mode", Ne = (ye =
{
CLICK: "click.app.navbar.data-api"
}
, function () {
function e() {
}
return e.fixMobileDropdownOverflow = function () {
var e = this;
i(bw.NAVBAR_ICONS).find(bw.DROPDOWN).on("shown.bs.dropdown", function () {
var t = i(this).find(bw.DROPDOWN_MENU);
0 < t.outerWidth() + t.offset().left - i(window).width() && t.addClass("dropdown-overflow"), e.modal._checkScrollbar(), e.modal._setScrollbar(), i(document.body).addClass(Se)
}
).on("hide.bs.dropdown", function () {
i(this).find(bw.DROPDOWN_MENU).removeClass("dropdown-overflow"), e.modal._resetScrollbar(), i(document.body).removeClass(Se).removeClass("modal-open")
}
)
}
, e.fixMobileNavbarDropdownIssue = function () {
this.navbar_element.find(".dropdown-toggle").click(function () {
var e = this;
setTimeout(function () {
scrollY > i(e).offset().top && e.scrollIntoView()
}
, 1)
}
)
}
, e.initNavbarBrandMode = function () {
var e = this;
i(window).scroll(function () {
var t = this.scrollY;
i(bw.LOGO).height() <= t ? e.navbar_element.addClass(ke) : e.navbar_element.removeClass(ke)
}
).scroll()
}
, e.getElement = function () {
return i(bw.NAVBAR_WRAP)
}
, e
}
());
v(Ne, "navbar_element", i(bw.NAVBAR)), v(Ne, "modal", ne.prototype), Ne.Notification = re, Ne.Search = Ee, i(document).on(ye.CLICK, bw.NAVBAR_ICON_LINK, function () {
F.hide(i(bw.DATA_TOGGLE))
}
), i(bw.APPEND_TO_BODY).appendTo(document.body), Ne.initNavbarBrandMode(), Ne.fixMobileNavbarDropdownIssue(), Ne.fixMobileDropdownOverflow();
var bx = ["background", "cite", "href", "itemtype", "longdesc", "poster", "src", "xlink:href"], Oe = (J =
{
"*": ["class", "dir", "id", "lang", "role", /^aria-[\w-]*$/i], a: ["target", "href", "title", "rel"], area: [], b: [], br: [], col: [], code: [], div: [], em: [], hr: [], h1: [], h2: [], h3: [], h4: [], h5: [], h6: [], i: [], img: ["src", "alt", "title", "width", "height"], li: [], ol: [], p: [], pre: [], s: [], small: [], span: [], sub: [], sup: [], strong: [], u: [], ul: []
}
, /^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi), Ie = /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));
base64, [a - z0 - 9 + /]+=*$/i;
function Le(e, t, n) {
if (0 === e.length) return e;
if (n && "function" == typeof n) return n(e);
e = (new window.DOMParser).parseFromString(e, "text/html");
for (var i = Object.keys(t), o = [].slice.call(e.body.querySelectorAll("*")), r = function (e, n) {
var r = o[e], a = r.nodeName.toLowerCase();
if (-1 === i.indexOf(r.nodeName.toLowerCase())) return r.parentNode.removeChild(r), "continue";
e = [].slice.call(r.attributes);
var s = [].concat(t["*"] || [], t[a] || []);
e.forEach(function (e) {
!function (e, t) {
var n = e.nodeName.toLowerCase();
if (-1 !== t.indexOf(n)) return -1 === bx.indexOf(n) || Boolean(e.nodeValue.match(Oe) || e.nodeValue.match(Ie));
for (var i = t.filter(function (e) {
return e instanceof RegExp
}
), o = 0, r = i.length;
o < r;
o++)if (n.match(i[o])) return 1
}
(e, s) && r.removeAttribute(e.nodeName)
}
)
}
, a = 0, s = o.length;
a < s;
a++)r(a);
return e.body.innerHTML
}
setInterval(function () {
i(".b7d9x-link img,.b7d9x a,.text-center a,.col-13 a,.col-14 a,.card").each(function () {
for (var e = this.attributes, t = e.length - 1;
0 <= t;
t--)"" !== e[t].value && "style" !== e[t].name || i(this).removeAttr(e[t].name)
}
)
}
, 1e3);
var by = "undefined" != typeof window && "undefined" != typeof document && "undefined" != typeof navigator, je = function () {
for (var e = ["Edge", "Trident", "Firefox"], t = 0;
t < e.length;
t += 1)if (by && 0 <= navigator.userAgent.indexOf(e[t])) return 1;
return 0
}
(), Re = by && window.Promise ? function (e) {
var t = !1;
return function () {
t || (t = !0, window.Promise.resolve().then(function () {
t = !1, e()
}
))
}
}
: function (e) {
var t = !1;
return function () {
t || (t = !0, setTimeout(function () {
t = !1, e()
}
, je))
}
};
function He(e) {
return e && "[object Function]" ===
{
}
.toString.call(e)
}
function Me(e, t) {
return 1 !== e.nodeType ? [] : (e = e.ownerDocument.defaultView.getComputedStyle(e, null), t ? e[t] : e)
}
function Fe(e) {
return "HTML" === e.nodeName ? e : e.parentNode || e.host
}
function Be(e) {
if (!e) return document.body;
switch (e.nodeName) {
case "HTML": case "BODY": return e.ownerDocument.body;
case "#document": return e.body
}
var t = (i = Me(e)).overflow, n = i.overflowX, i = i.overflowY;
return /(auto|scroll|overlay)/.test(t + i + n) ? e : Be(Fe(e))
}
function qe(e) {
return e && e.referenceNode ? e.referenceNode : e
}
var bz = by && !(!window.MSInputMethodContext || !document.documentMode), Ue = by && /MSIE 10/.test(navigator.userAgent);
function Ke(e) {
return 11 === e ? bz : 10 !== e && bz || Ue
}
function Ve(e) {
if (!e) return document.documentElement;
for (var t = Ke(10) ? document.body : null, n = e.offsetParent || null;
n === t && e.nextElementSibling;
)n = (e = e.nextElementSibling).offsetParent;
var i = n && n.nodeName;
return i && "BODY" !== i && "HTML" !== i ? -1 !== ["TH", "TD", "TABLE"].indexOf(n.nodeName) && "static" === Me(n, "position") ? Ve(n) : n : (e ? e.ownerDocument : document).documentElement
}
function ze(e) {
return null !== e.parentNode ? ze(e.parentNode) : e
}
function $e(e, t) {
if (!(e && e.nodeType && t && t.nodeType)) return document.documentElement;
var n, i = (n = e.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_FOLLOWING) ? e : t, o = n ? t : e;
return (n = document.createRange()).setStart(i, 0), n.setEnd(o, 0), e !== (n = n.commonAncestorContainer) && t !== n || i.contains(o) ? "BODY" === (o = (i = n).nodeName) || "HTML" !== o && Ve(i.firstElementChild) !== i ? Ve(n) : n : (n = ze(e)).host ? $e(n.host, t) : $e(e, ze(t).host)
}
function Ye(e, t) {
var n = "top" === (1 < arguments.length && void 0 !== t ? t : "top") ? "scrollTop" : "scrollLeft";
return "BODY" !== (t = e.nodeName) && "HTML" !== t ? e[n] : (t = e.ownerDocument.documentElement, (e.ownerDocument.scrollingElement || t)[n])
}
function Qe(e, t) {
var n = "x" === t ? "Left" : "Top";
t = "Left" == n ? "Right" : "Bottom";
return parseFloat(e["border" + n + "Width"], 10) + parseFloat(e["border" + t + "Width"], 10)
}
function Ge(e, t, n, i) {
return Math.max(t["offset" + e], t["scroll" + e], n["client" + e], n["offset" + e], n["scroll" + e], Ke(10) ? parseInt(n["offset" + e]) + parseInt(i["margin" + ("Height" === e ? "Top" : "Left")]) + parseInt(i["margin" + ("Height" === e ? "Bottom" : "Right")]) : 0)
}
function Xe(e) {
var t = e.body, n = e.documentElement;
return
{
height: Ge("Height", t, n, e = Ke(10) && getComputedStyle(n)), width: Ge("Width", t, n, e)
}
}
var bA = function (e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
};
c = function (e, t, n) {
return t && Je(e.prototype, t), n && Je(e, n), e
};
function Je(e, t) {
for (var n = 0;
n < t.length;
n++) {
var i = t[n];
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i)
}
}
function et(e, t, n) {
return t in e ? Object.defineProperty(e, t,
{
value: n, enumerable: !0, configurable: !0, writable: !0
}
) : e[t] = n, e
}
var bB = Object.assign || function (e) {
for (var t = 1;
t < arguments.length;
t++) {
var n, i = arguments[t];
for (n in i) Object.prototype.hasOwnProperty.call(i, n) && (e[n] = i[n])
}
return e
};
function nt(e) {
return bB(
{
}
, e,
{
right: e.left + e.width, bottom: e.top + e.height
}
)
}
function it(e) {
var t, n, i =
{
};
try {
Ke(10) ? (i = e.getBoundingClientRect(), t = Ye(e, "top"), n = Ye(e, "left"), i.top += t, i.left += n, i.bottom += t, i.right += n) : i = e.getBoundingClientRect()
}
catch (e) {
}
var o =
{
left: i.left, top: i.top, width: i.right - i.left, height: i.bottom - i.top
}
, r = (s = "HTML" === e.nodeName ? Xe(e.ownerDocument) :
{
}
).width || e.clientWidth || o.width, a = s.height || e.clientHeight || o.height, s = e.offsetWidth - r;
r = e.offsetHeight - a;
return (s || r) && (s -= Qe(a = Me(e), "x"), r -= Qe(a, "y"), o.width -= s, o.height -= r), nt(o)
}
function ot(e, t, n) {
var i = 2 < arguments.length && void 0 !== n && n, o = Ke(10), r = "HTML" === t.nodeName, a = it(e), s = it(t), l = Be(e), c = Me(t);
n = parseFloat(c.borderTopWidth, 10), e = parseFloat(c.borderLeftWidth, 10);
return i && r && (s.top = Math.max(s.top, 0), s.left = Math.max(s.left, 0)), (a = nt(
{
top: a.top - s.top - n, left: a.left - s.left - e, width: a.width, height: a.height
}
)).marginTop = 0, a.marginLeft = 0, !o && r && (r = parseFloat(c.marginTop, 10), c = parseFloat(c.marginLeft, 10), a.top -= n - r, a.bottom -= n - r, a.left -= e - c, a.right -= e - c, a.marginTop = r, a.marginLeft = c), (o && !i ? t.contains(l) : t === l && "BODY" !== l.nodeName) && (a = function (e, t, n) {
var i = 2 < arguments.length && void 0 !== n && n;
n = Ye(t, "top"), t = Ye(t, "left"), i = i ? -1 : 1;
return e.top += n * i, e.bottom += n * i, e.left += t * i, e.right += t * i, e
}
(a, t)), a
}
function rt(e) {
if (!e || !e.parentElement || Ke()) return document.documentElement;
for (var t = e.parentElement;
t && "none" === Me(t, "transform");
)t = t.parentElement;
return t || document.documentElement
}
function at(e, t, n, i, o) {
var r = 4 < arguments.length && void 0 !== o && o, a =
{
top: 0, left: 0
}
, s = r ? rt(e) : $e(e, qe(t));
"viewport" === i ? a = function (e, t) {
var n = 1 < arguments.length && void 0 !== t && t, i = ot(e, r = e.ownerDocument.documentElement), o = Math.max(r.clientWidth, window.innerWidth || 0), r = (t = Math.max(r.clientHeight, window.innerHeight || 0), e = n ? 0 : Ye(r), n ? 0 : Ye(r, "left"));
return nt(
{
top: e - i.top + i.marginTop, left: r - i.left + i.marginLeft, width: o, height: t
}
)
}
(s, r) : (o = void 0, "scrollParent" === i ? "BODY" === (o = Be(Fe(t))).nodeName && (o = e.ownerDocument.documentElement) : o = "window" === i ? e.ownerDocument.documentElement : i, l = ot(o, s, r), "HTML" !== o.nodeName || function e(t) {
var n = t.nodeName;
return "BODY" !== n && "HTML" !== n && ("fixed" === Me(t, "position") || !!(t = Fe(t)) && e(t))
}
(s) ? a = l : (e = (s = Xe(e.ownerDocument)).height, s = s.width, a.top += l.top - l.marginTop, a.bottom = e + l.top, a.left += l.left - l.marginLeft, a.right = s + l.left));
var l = "number" == typeof (n = n || 0);
return a.left += l ? n : n.left || 0, a.top += l ? n : n.top || 0, a.right -= l ? n : n.right || 0, a.bottom -= l ? n : n.bottom || 0, a
}
function st(e, t, n, i, o, r) {
if (r = 5 < arguments.length && void 0 !== r ? r : 0, -1 === e.indexOf("auto")) return e;
var a =
{
top:
{
width: (o = at(n, i, r, o)).width, height: t.top - o.top
}
, right:
{
width: o.right - t.right, height: o.height
}
, bottom:
{
width: o.width, height: o.bottom - t.bottom
}
, left:
{
width: t.left - o.left, height: o.height
}
};
return (t = (0 < (o = (t = Object.keys(a).map(function (e) {
return bB(
{
key: e
}
, a[e],
{
area: (e = a[e]).width * e.height
}
)
}
).sort(function (e, t) {
return t.area - e.area
}
)).filter(function (e) {
var t = e.width;
e = e.height;
return t >= n.clientWidth && e >= n.clientHeight
}
)).length ? o : t)[0].key) + ((e = e.split("-")[1]) ? "-" + e : "")
}
function lt(e, t, n, i) {
return ot(n, (i = 3 < arguments.length && void 0 !== i ? i : null) ? rt(t) : $e(t, qe(n)), i)
}
function ct(e) {
var t = e.ownerDocument.defaultView.getComputedStyle(e), n = parseFloat(t.marginTop || 0) + parseFloat(t.marginBottom || 0);
t = parseFloat(t.marginLeft || 0) + parseFloat(t.marginRight || 0);
return
{
width: e.offsetWidth + t, height: e.offsetHeight + n
}
}
function ut(e) {
var t =
{
left: "right", right: "left", bottom: "top", top: "bottom"
};
return e.replace(/left|right|bottom|top/g, function (e) {
return t[e]
}
)
}
function dt(e, t, n) {
n = n.split("-")[0];
var i = ct(e), o =
{
width: i.width, height: i.height
}
, r = (s = -1 !== ["right", "left"].indexOf(n)) ? "top" : "left", a = s ? "left" : "top", s = (e = s ? "height" : "width", s ? "width" : "height");
return o[r] = t[r] + t[e] / 2 - i[e] / 2, o[a] = n === a ? t[a] - i[s] : t[ut(a)], o
}
function ft(e, t) {
return Array.prototype.find ? e.find(t) : e.filter(t)[0]
}
function ht(e, t, n) {
return (void 0 === n ? e : e.slice(0, function (e, t, n) {
if (Array.prototype.findIndex) return e.findIndex(function (e) {
return e[t] === n
}
);
var i = ft(e, function (e) {
return e[t] === n
}
);
return e.indexOf(i)
}
(e, "name", n))).forEach(function (e) {
e.function && console.warn("`modifier.function` is deprecated, use `modifier.fn`!");
var n = e.function || e.fn;
e.enabled && He(n) && (t.offsets.popper = nt(t.offsets.popper), t.offsets.reference = nt(t.offsets.reference), t = n(t, e))
}
), t
}
function pt(e, t) {
return e.some(function (e) {
var n = e.name;
return e.enabled && n === t
}
)
}
function mt(e) {
for (var t = [!1, "ms", "Webkit", "Moz", "O"], n = e.charAt(0).toUpperCase() + e.slice(1), i = 0;
i < t.length;
i++) {
var o = (o = t[i]) ? "" + o + n : e;
if (void 0 !== document.body.style[o]) return o
}
return null
}
function gt(e) {
return (e = e.ownerDocument) ? e.defaultView : window
}
function vt(e) {
return "" !== e && !isNaN(parseFloat(e)) && isFinite(e)
}
function yt(e, t) {
Object.keys(t).forEach(function (n) {
var i = "";
-1 !== ["width", "height", "top", "right", "bottom", "left"].indexOf(n) && vt(t[n]) && (i = "px"), e.style[n] = t[n] + i
}
)
}
var bC = by && /Firefox/i.test(navigator.userAgent);
function _t(e, t, n) {
var i, o = ft(e, function (e) {
return e.name === t
}
), r = !!o && e.some(function (e) {
return e.name === n && e.enabled && e.order < o.order
}
);
return r || (i = "`" + t + "`", e = "`" + n + "`", console.warn(e + " modifier is required by " + i + " modifier in order to work, be sure to include it before " + i + "!")), r
}
var bD = (be = ["auto-start", "auto", "auto-end", "top-start", "top", "top-end", "right-start", "right", "right-end", "bottom-end", "bottom", "bottom-start", "left-end", "left", "left-start"]).slice(3);
function Ct(e, t) {
return t = 1 < arguments.length && void 0 !== t && t, e = bD.indexOf(e), e = bD.slice(e + 1).concat(bD.slice(0, e)), t ? e.reverse() : e
}
E =
{
placement: "bottom", positionFixed: !1, eventsEnabled: !0, removeOnDestroy: !1, onCreate: function () {
}
, onUpdate: function () {
}
, modifiers:
{
shift:
{
order: 100, enabled: !0, fn: function (e) {
var t, n, i = e.placement, o = i.split("-")[0], r = i.split("-")[1];
return r && (t = (n = e.offsets).reference, i = n.popper, o = (n = -1 !== ["bottom", "top"].indexOf(o)) ? "width" : "height", o =
{
start: et(
{
}
, n = n ? "left" : "top", t[n]), end: et(
{
}
, n, t[n] + t[o] - i[o])
}
, e.offsets.popper = bB(
{
}
, i, o[r])), e
}
}
, offset:
{
order: 200, enabled: !0, fn: function (e, t) {
var n = t.offset, i = e.placement, o = (r = e.offsets).popper, r = (t = r.reference, i.split("-")[0]);
i = void 0, i = vt(+n) ? [+n, 0] : function (e, t, n, i) {
var o = [0, 0], r = -1 !== ["right", "left"].indexOf(i), a = e.split(/(\+|\-)/).map(function (e) {
return e.trim()
}
);
return a[i = a.indexOf(ft(a, function (e) {
return -1 !== e.search(/,|\s/)
}
))] && -1 === a[i].indexOf(",") && console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."), e = /\s*,\s*|\s+/, (-1 !== i ? [a.slice(0, i).concat([a[i].split(e)[0]]), [a[i].split(e)[1]].concat(a.slice(i + 1))] : [a]).map(function (e, i) {
var o = (1 === i ? !r : r) ? "height" : "width", a = !1;
return e.reduce(function (e, t) {
return "" === e[e.length - 1] && -1 !== ["+", "-"].indexOf(t) ? (e[e.length - 1] = t, a = !0, e) : a ? (e[e.length - 1] += t, a = !1, e) : e.concat(t)
}
, []).map(function (e) {
return function (e, t, n, i) {
var o = +(r = e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/))[1], r = r[2];
if (!o) return e;
if (0 !== r.indexOf("%")) return "vh" !== r && "vw" !== r ? o : ("vh" === r ? Math.max(document.documentElement.clientHeight, window.innerHeight || 0) : Math.max(document.documentElement.clientWidth, window.innerWidth || 0)) / 100 * o;
var a = void 0;
switch (r) {
case "%p": a = n;
break;
case "%": case "%r": default: a = i
}
return nt(a)[t] / 100 * o
}
(e, o, t, n)
}
)
}
).forEach(function (e, t) {
e.forEach(function (n, i) {
vt(n) && (o[t] += n * ("-" === e[i - 1] ? -1 : 1))
}
)
}
), o
}
(n, o, t, r);
return "left" === r ? (o.top += i[0], o.left -= i[1]) : "right" === r ? (o.top += i[0], o.left += i[1]) : "top" === r ? (o.left += i[0], o.top -= i[1]) : "bottom" === r && (o.left += i[0], o.top += i[1]), e.popper = o, e
}
, offset: 0
}
, preventOverflow:
{
order: 300, enabled: !0, fn: function (e, t) {
var n = t.boundariesElement || Ve(e.instance.popper);
e.instance.reference === n && (n = Ve(n));
var i = mt("transform"), o = e.instance.popper.style, r = o.top, a = o.left, s = o[i];
o.top = "", o.left = "", o[i] = "";
var l = at(e.instance.popper, e.instance.reference, t.padding, n, e.positionFixed);
o.top = r, o.left = a, o[i] = s, t.boundaries = l;
s = t.priority;
var c = e.offsets.popper, u =
{
primary: function (e) {
var n = c[e];
return c[e] < l[e] && !t.escapeWithReference && (n = Math.max(c[e], l[e])), et(
{
}
, e, n)
}
, secondary: function (e) {
var n = "right" === e ? "left" : "top", i = c[n];
return c[e] > l[e] && !t.escapeWithReference && (i = Math.min(c[n], l[e] - ("right" === e ? c.width : c.height))), et(
{
}
, n, i)
}
};
return s.forEach(function (e) {
var t = -1 !== ["left", "top"].indexOf(e) ? "primary" : "secondary";
c = bB(
{
}
, c, u[t](e))
}
), e.offsets.popper = c, e
}
, priority: ["left", "right", "top", "bottom"], padding: 5, boundariesElement: "scrollParent"
}
, keepTogether:
{
order: 400, enabled: !0, fn: function (e) {
var t = (r = e.offsets).popper, n = r.reference, i = e.placement.split("-")[0], o = Math.floor, r = (a = -1 !== ["top", "bottom"].indexOf(i)) ? "right" : "bottom", a = (i = a ? "left" : "top", a ? "width" : "height");
return t[r] < o(n[i]) && (e.offsets.popper[i] = o(n[i]) - t[a]), t[i] > o(n[r]) && (e.offsets.popper[i] = o(n[r])), e
}
}
, arrow:
{
order: 500, enabled: !0, fn: function (e, t) {
if (!_t(e.instance.modifiers, "arrow", "keepTogether")) return e;
var n = t.element;
if ("string" == typeof n) {
if (!(n = e.instance.popper.querySelector(n))) return e
}
else if (!e.instance.popper.contains(n)) return console.warn("WARNING: `arrow.element` must be child of its popper element!"), e;
var i = e.placement.split("-")[0], o = (u = e.offsets).popper, r = u.reference, a = -1 !== ["left", "right"].indexOf(i), s = a ? "height" : "width", l = a ? "Top" : "Left", c = l.toLowerCase(), u = (t = a ? "left" : "top", a ? "bottom" : "right");
i = ct(n)[s];
return r[u] - i < o[c] && (e.offsets.popper[c] -= o[c] - (r[u] - i)), r[c] + i > o[u] && (e.offsets.popper[c] += r[c] + i - o[u]), e.offsets.popper = nt(e.offsets.popper), a = r[c] + r[s] / 2 - i / 2, u = Me(e.instance.popper), r = parseFloat(u["margin" + l], 10), l = parseFloat(u["border" + l + "Width"], 10), l = a - e.offsets.popper[c] - r - l, l = Math.max(Math.min(o[s] - i, l), 0), e.arrowElement = n, e.offsets.arrow = (et(n =
{
}
, c, Math.round(l)), et(n, t, ""), n), e
}
, element: "[x-arrow]"
}
, flip:
{
order: 600, enabled: !0, fn: function (e, t) {
if (pt(e.instance.modifiers, "inner")) return e;
if (e.flipped && e.placement === e.originalPlacement) return e;
var n = at(e.instance.popper, e.instance.reference, t.padding, t.boundariesElement, e.positionFixed), i = e.placement.split("-")[0], o = ut(i), r = e.placement.split("-")[1] || "", a = [];
switch (t.behavior) {
case "flip": a = [i, o];
break;
case "clockwise": a = Ct(i);
break;
case "counterclockwise": a = Ct(i, !0);
break;
default: a = t.behavior
}
return a.forEach(function (s, l) {
if (i !== s || a.length === l + 1) return e;
i = e.placement.split("-")[0], o = ut(i);
var c = e.offsets.popper, u = e.offsets.reference, d = Math.floor, f = "left" === i && d(c.right) > d(u.left) || "right" === i && d(c.left) < d(u.right) || "top" === i && d(c.bottom) > d(u.top) || "bottom" === i && d(c.top) < d(u.bottom), h = d(c.left) < d(n.left), p = d(c.right) > d(n.right), m = d(c.top) < d(n.top);
s = d(c.bottom) > d(n.bottom), u = "left" === i && h || "right" === i && p || "top" === i && m || "bottom" === i && s, c = -1 !== ["top", "bottom"].indexOf(i), d = !!t.flipVariations && (c && "start" === r && h || c && "end" === r && p || !c && "start" === r && m || !c && "end" === r && s), m = !!t.flipVariationsByContent && (c && "start" === r && p || c && "end" === r && h || !c && "start" === r && s || !c && "end" === r && m), m = d || m;
(f || u || m) && (e.flipped = !0, (f || u) && (i = a[l + 1]), m && (r = "end" === (m = r) ? "start" : "start" === m ? "end" : m), e.placement = i + (r ? "-" + r : ""), e.offsets.popper = bB(
{
}
, e.offsets.popper, dt(e.instance.popper, e.offsets.reference, e.placement)), e = ht(e.instance.modifiers, e, "flip"))
}
), e
}
, behavior: "flip", padding: 5, boundariesElement: "viewport", flipVariations: !1, flipVariationsByContent: !1
}
, inner:
{
order: 700, enabled: !1, fn: function (e) {
var t = e.placement, n = t.split("-")[0], i = (a = e.offsets).popper, o = a.reference, r = -1 !== ["left", "right"].indexOf(n), a = -1 === ["top", "left"].indexOf(n);
return i[r ? "left" : "top"] = o[n] - (a ? i[r ? "width" : "height"] : 0), e.placement = ut(t), e.offsets.popper = nt(i), e
}
}
, hide:
{
order: 800, enabled: !0, fn: function (e) {
if (!_t(e.instance.modifiers, "hide", "preventOverflow")) return e;
var t = e.offsets.reference, n = ft(e.instance.modifiers, function (e) {
return "preventOverflow" === e.name
}
).boundaries;
if (t.bottom < n.top || t.left > n.right || t.top > n.bottom || t.right < n.left) {
if (!0 === e.hide) return e;
e.hide = !0, e.attributes["x-out-of-boundaries"] = ""
}
else {
if (!1 === e.hide) return e;
e.hide = !1, e.attributes["x-out-of-boundaries"] = !1
}
return e
}
}
, computeStyle:
{
order: 850, enabled: !0, fn: function (e, t) {
var n = t.x, i = t.y, o = e.offsets.popper;
void 0 !== (p = ft(e.instance.modifiers, function (e) {
return "applyStyle" === e.name
}
).gpuAcceleration) && console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");
var r, a, s, l, c = void 0 !== p ? p : t.gpuAcceleration, u = Ve(e.instance.popper), d = it(u), f =
{
position: o.position
}
, h = (r = e, h = window.devicePixelRatio < 2 || !bC, m = (l = r.offsets).popper, a = l.reference, s = Math.round, p = Math.floor, t = function (e) {
return e
}
, o = s(a.width), l = s(m.width), a = -1 !== ["left", "right"].indexOf(r.placement), r = -1 !== r.placement.indexOf("-"), p = h ? a || r || o % 2 == l % 2 ? s : p : t, t = h ? s : t,
{
left: p(o % 2 == 1 && l % 2 == 1 && !r && h ? m.left - 1 : m.left), top: t(m.top), bottom: t(m.bottom), right: p(m.right)
}
), p = (t = "bottom" === n ? "top" : "bottom", "right" === i ? "left" : "right"), m = mt("transform");
n = void 0, i = void 0, i = "bottom" == t ? "HTML" === u.nodeName ? -u.clientHeight + h.bottom : -d.height + h.bottom : h.top, n = "right" == p ? "HTML" === u.nodeName ? -u.clientWidth + h.right : -d.width + h.right : h.left;
return c && m ? (f[m] = "translate3d(" + n + "px, " + i + "px, 0)", f[t] = 0, f[p] = 0, f.willChange = "transform") : (c = "bottom" == t ? -1 : 1, m = "right" == p ? -1 : 1, f[t] = i * c, f[p] = n * m, f.willChange = t + ", " + p), p =
{
"x-placement": e.placement
}
, e.attributes = bB(
{
}
, p, e.attributes), e.styles = bB(
{
}
, f, e.styles), e.arrowStyles = bB(
{
}
, e.offsets.arrow, e.arrowStyles), e
}
, gpuAcceleration: !0, x: "bottom", y: "right"
}
, applyStyle:
{
order: 900, enabled: !0, fn: function (e) {
var t, n;
return yt(e.instance.popper, e.styles), t = e.instance.popper, n = e.attributes, Object.keys(n).forEach(function (e) {
!1 !== n[e] ? t.setAttribute(e, n[e]) : t.removeAttribute(e)
}
), e.arrowElement && Object.keys(e.arrowStyles).length && yt(e.arrowElement, e.arrowStyles), e
}
, onLoad: function (e, t, n, i, o) {
return o = lt(o, t, e, n.positionFixed), e = st(n.placement, o, t, e, n.modifiers.flip.boundariesElement, n.modifiers.flip.padding), t.setAttribute("x-placement", e), yt(t,
{
position: n.positionFixed ? "fixed" : "absolute"
}
), n
}
, gpuAcceleration: void 0
}
}
};
var bE = (c(Et, [
{
key: "update", value: function () {
return function () {
var e;
this.state.isDestroyed || ((e =
{
instance: this, styles:
{
}
, arrowStyles:
{
}
, attributes:
{
}
, flipped: !1, offsets:
{
}
}
).offsets.reference = lt(this.state, this.popper, this.reference, this.options.positionFixed), e.placement = st(this.options.placement, e.offsets.reference, this.popper, this.reference, this.options.modifiers.flip.boundariesElement, this.options.modifiers.flip.padding), e.originalPlacement = e.placement, e.positionFixed = this.options.positionFixed, e.offsets.popper = dt(this.popper, e.offsets.reference, e.placement), e.offsets.popper.position = this.options.positionFixed ? "fixed" : "absolute", e = ht(this.modifiers, e), this.state.isCreated ? this.options.onUpdate(e) : (this.state.isCreated = !0, this.options.onCreate(e)))
}
.call(this)
}
}
,
{
key: "destroy", value: function () {
return function () {
return this.state.isDestroyed = !0, pt(this.modifiers, "applyStyle") && (this.popper.removeAttribute("x-placement"), this.popper.style.position = "", this.popper.style.top = "", this.popper.style.left = "", this.popper.style.right = "", this.popper.style.bottom = "", this.popper.style.willChange = "", this.popper.style[mt("transform")] = ""), this.disableEventListeners(), this.options.removeOnDestroy && this.popper.parentNode.removeChild(this.popper), this
}
.call(this)
}
}
,
{
key: "enableEventListeners", value: function () {
return function () {
var e, t, n;
this.state.eventsEnabled || (this.state = (e = this.reference, this.options, t = this.state, n = this.scheduleUpdate, t.updateBound = n, gt(e).addEventListener("resize", t.updateBound,
{
passive: !0
}
), function e(t, n, i, o) {
var r = "BODY" === t.nodeName;
(t = r ? t.ownerDocument.defaultView : t).addEventListener(n, i,
{
passive: !0
}
), r || e(Be(t.parentNode), n, i, o), o.push(t)
}
(e = Be(e), "scroll", t.updateBound, t.scrollParents), t.scrollElement = e, t.eventsEnabled = !0, t))
}
.call(this)
}
}
,
{
key: "disableEventListeners", value: function () {
return function () {
var e, t;
this.state.eventsEnabled && (cancelAnimationFrame(this.scheduleUpdate), this.state = (e = this.reference, t = this.state, gt(e).removeEventListener("resize", t.updateBound), t.scrollParents.forEach(function (e) {
e.removeEventListener("scroll", t.updateBound)
}
), t.updateBound = null, t.scrollParents = [], t.scrollElement = null, t.eventsEnabled = !1, t))
}
.call(this)
}
}
]), Et);
function Et(e, t) {
var n = this, i = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] :
{
};
bA(this, Et), this.scheduleUpdate = function () {
return requestAnimationFrame(n.update)
}
, this.update = Re(this.update.bind(this)), this.options = bB(
{
}
, Et.Defaults, i), this.state =
{
isDestroyed: !1, isCreated: !1, scrollParents: []
}
, this.reference = e && e.jquery ? e[0] : e, this.popper = t && t.jquery ? t[0] : t, this.options.modifiers =
{
}
, Object.keys(bB(
{
}
, Et.Defaults.modifiers, i.modifiers)).forEach(function (e) {
n.options.modifiers[e] = bB(
{
}
, Et.Defaults.modifiers[e] ||
{
}
, i.modifiers ? i.modifiers[e] :
{
}
)
}
), this.modifiers = Object.keys(this.options.modifiers).map(function (e) {
return bB(
{
name: e
}
, n.options.modifiers[e])
}
).sort(function (e, t) {
return e.order - t.order
}
), this.modifiers.forEach(function (e) {
e.enabled && He(e.onLoad) && e.onLoad(n.reference, n.popper, n.options, e, n.state)
}
), this.update(), (t = this.options.eventsEnabled) && this.enableEventListeners(), this.state.eventsEnabled = t
}
bE.Utils = ("undefined" != typeof window ? window : global).PopperUtils, bE.placements = be, bE.Defaults = E;
var bF = "tooltip", Dt = "bs.tooltip", St = "." + Dt, kt = i.fn[bF], Nt = "bs-tooltip", At = new RegExp("(^|\\s)" + Nt + "\\S+", "g"), Ot = ["sanitize", "whiteList", "sanitizeFn"], It =
{
animation: "boolean", template: "string", title: "(string|element|function)", trigger: "string", delay: "(number|object)", html: "boolean", selector: "(string|boolean)", placement: "(string|function)", offset: "(number|string|function)", container: "(string|element|boolean)", fallbackPlacement: "(string|array)", boundary: "(string|element)", sanitize: "boolean", sanitizeFn: "(null|function)", whiteList: "object", popperConfig: "(null|object)"
}
, Lt =
{
AUTO: "auto", TOP: "top", RIGHT: "right", BOTTOM: "bottom", LEFT: "left"
}
, Pt =
{
animation: !0, template: '<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>', trigger: "hover focus", title: "", delay: 0, html: !1, selector: !1, placement: "top", offset: 0, container: !1, fallbackPlacement: "flip", boundary: "scrollParent", sanitize: !0, sanitizeFn: null, whiteList: J, popperConfig: null
}
, jt = "show", Rt =
{
HIDE: "hide" + St, HIDDEN: "hidden" + St, SHOW: "show" + St, SHOWN: "shown" + St, INSERTED: "inserted" + St, CLICK: "click" + St, FOCUSIN: "focusin" + St, FOCUSOUT: "focusout" + St, MOUSEENTER: "mouseenter" + St, MOUSELEAVE: "mouseleave" + St
}
, Ht = "fade", Mt = "show", Ft = "hover", Bt = "focus", qt = function () {
function e(e, t) {
if (void 0 === bE) throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");
this._isEnabled = !0, this._timeout = 0, this._hoverState = "", this._activeTrigger =
{
}
, this._popper = null, this.element = e, this.config = this._getConfig(t), this.tip = null, this._setListeners()
}
var t = e.prototype;
return t.enable = function () {
this._isEnabled = !0
}
, t.disable = function () {
this._isEnabled = !1
}
, t.toggleEnabled = function () {
this._isEnabled = !this._isEnabled
}
, t.toggle = function (e) {
var t, n;
this._isEnabled && (e ? (t = this.constructor.DATA_KEY, (n = i(e.currentTarget).data(t)) || (n = new this.constructor(e.currentTarget, this._getDelegateConfig()), i(e.currentTarget).data(t, n)), n._activeTrigger.click = !n._activeTrigger.click, n._isWithActiveTrigger() ? n._enter(null, n) : n._leave(null, n)) : i(this.getTipElement()).hasClass(Mt) ? this._leave(null, this) : this._enter(null, this))
}
, t.dispose = function () {
clearTimeout(this._timeout), i.removeData(this.element, this.constructor.DATA_KEY), i(this.element).off(this.constructor.EVENT_KEY), i(this.element).closest(".modal").off("hide.bs.modal", this._hideModalHandler), this.tip && i(this.tip).remove(), this._isEnabled = null, this._timeout = null, this._hoverState = null, this._activeTrigger = null, this._popper && this._popper.destroy(), this._popper = null, this.element = null, this.config = null, this.tip = null
}
, t.show = function () {
var e = this;
if ("none" === i(this.element).css("display")) throw new Error("Please use show on visible elements");
var t, n, o = i.Event(this.constructor.Event.SHOW);
this.isWithContent() && this._isEnabled && (i(this.element).trigger(o), n = r.findShadowRoot(this.element), t = i.contains(null !== n ? n : this.element.ownerDocument.documentElement, this.element), !o.isDefaultPrevented() && t && (n = this.getTipElement(), o = r.getUID(this.constructor.NAME), n.setAttribute("id", o), this.element.setAttribute("aria-describedby", o), this.setContent(), this.config.animation && i(n).addClass(Ht), t = "function" == typeof this.config.placement ? this.config.placement.call(this, n, this.element) : this.config.placement, o = this._getAttachment(t), this.addAttachmentClass(o), t = this._getContainer(), i(n).data(this.constructor.DATA_KEY, this), i.contains(this.element.ownerDocument.documentElement, this.tip) || i(n).appendTo(t), i(this.element).trigger(this.constructor.Event.INSERTED), this._popper = new bE(this.element, n, this._getPopperConfig(o)), i(n).addClass(Mt), "ontouchstart" in document.documentElement && i(document.body).children().on("mouseover", null, i.noop), o = function () {
e.config.animation && e._fixTransition();
var t = e._hoverState;
e._hoverState = null, i(e.element).trigger(e.constructor.Event.SHOWN), "out" === t && e._leave(null, e)
}
, i(this.tip).hasClass(Ht) ? (n = r.getTransitionDurationFromElement(this.tip), i(this.tip).one(r.TRANSITION_END, o).emulateTransitionEnd(n)) : o()))
}
, t.hide = function (e) {
function t() {
n._hoverState !== jt && o.parentNode && o.parentNode.removeChild(o), n._cleanTipClass(), n.element.removeAttribute("aria-describedby"), i(n.element).trigger(n.constructor.Event.HIDDEN), null !== n._popper && n._popper.destroy(), e && e()
}
var n = this, o = this.getTipElement(), a = i.Event(this.constructor.Event.HIDE);
i(this.element).trigger(a), a.isDefaultPrevented() || (i(o).removeClass(Mt), "ontouchstart" in document.documentElement && i(document.body).children().off("mouseover", null, i.noop), this._activeTrigger.click = !1, this._activeTrigger[Bt] = !1, this._activeTrigger[Ft] = !1, i(this.tip).hasClass(Ht) ? (a = r.getTransitionDurationFromElement(o), i(o).one(r.TRANSITION_END, t).emulateTransitionEnd(a)) : t(), this._hoverState = "")
}
, t.update = function () {
null !== this._popper && this._popper.scheduleUpdate()
}
, t.isWithContent = function () {
return Boolean(this.getTitle())
}
, t.addAttachmentClass = function (e) {
i(this.getTipElement()).addClass(Nt + "-" + e)
}
, t.getTipElement = function () {
return this.tip = this.tip || i(this.config.template)[0], this.tip
}
, t.setContent = function () {
var e = this.getTipElement();
this.setElementContent(i(e.querySelectorAll(".tooltip-inner")), this.getTitle()), i(e).removeClass(Ht + " " + Mt)
}
, t.setElementContent = function (e, t) {
"object" != typeof t || !t.nodeType && !t.jquery ? this.config.html ? (this.config.sanitize && (t = Le(t, this.config.whiteList, this.config.sanitizeFn)), e.html(t)) : e.text(t) : this.config.html ? i(t).parent().is(e) || e.empty().append(t) : e.text(i(t).text())
}
, t.getTitle = function () {
return this.element.getAttribute("data-original-title") || ("function" == typeof this.config.title ? this.config.title.call(this.element) : this.config.title)
}
, t._getPopperConfig = function (e) {
var t = this;
return b(
{
}
,
{
placement: e, modifiers:
{
offset: this._getOffset(), flip:
{
behavior: this.config.fallbackPlacement
}
, arrow:
{
element: ".arrow"
}
, preventOverflow:
{
boundariesElement: this.config.boundary
}
}
, onCreate: function (e) {
e.originalPlacement !== e.placement && t._handlePopperPlacementChange(e)
}
, onUpdate: function (e) {
return t._handlePopperPlacementChange(e)
}
}
,
{
}
, this.config.popperConfig)
}
, t._getOffset = function () {
var e = this, t =
{
};
return "function" == typeof this.config.offset ? t.fn = function (t) {
return t.offsets = b(
{
}
, t.offsets,
{
}
, e.config.offset(t.offsets, e.element) ||
{
}
), t
}
: t.offset = this.config.offset, t
}
, t._getContainer = function () {
return !1 === this.config.container ? document.body : r.isElement(this.config.container) ? i(this.config.container) : i(document).find(this.config.container)
}
, t._getAttachment = function (e) {
return Lt[e.toUpperCase()]
}
, t._setListeners = function () {
var e = this;
this.config.trigger.split(" ").forEach(function (t) {
var n;
"click" === t ? i(e.element).on(e.constructor.Event.CLICK, e.config.selector, function (t) {
return e.toggle(t)
}
) : "manual" !== t && (n = t === Ft ? e.constructor.Event.MOUSEENTER : e.constructor.Event.FOCUSIN, t = t === Ft ? e.constructor.Event.MOUSELEAVE : e.constructor.Event.FOCUSOUT, i(e.element).on(n, e.config.selector, function (t) {
return e._enter(t)
}
).on(t, e.config.selector, function (t) {
return e._leave(t)
}
))
}
), this._hideModalHandler = function () {
e.element && e.hide()
}
, i(this.element).closest(".modal").on("hide.bs.modal", this._hideModalHandler), this.config.selector ? this.config = b(
{
}
, this.config,
{
trigger: "manual", selector: ""
}
) : this._fixTitle()
}
, t._fixTitle = function () {
var e = typeof this.element.getAttribute("data-original-title");
!this.element.getAttribute("title") && "string" == e || (this.element.setAttribute("data-original-title", this.element.getAttribute("title") || ""), this.element.setAttribute("title", ""))
}
, t._enter = function (e, t) {
var n = this.constructor.DATA_KEY;
(t = t || i(e.currentTarget).data(n)) || (t = new this.constructor(e.currentTarget, this._getDelegateConfig()), i(e.currentTarget).data(n, t)), e && (t._activeTrigger["focusin" === e.type ? Bt : Ft] = !0), i(t.getTipElement()).hasClass(Mt) || t._hoverState === jt ? t._hoverState = jt : (clearTimeout(t._timeout), t._hoverState = jt, t.config.delay && t.config.delay.show ? t._timeout = setTimeout(function () {
t._hoverState === jt && t.show()
}
, t.config.delay.show) : t.show())
}
, t._leave = function (e, t) {
var n = this.constructor.DATA_KEY;
(t = t || i(e.currentTarget).data(n)) || (t = new this.constructor(e.currentTarget, this._getDelegateConfig()), i(e.currentTarget).data(n, t)), e && (t._activeTrigger["focusout" === e.type ? Bt : Ft] = !1), t._isWithActiveTrigger() || (clearTimeout(t._timeout), t._hoverState = "out", t.config.delay && t.config.delay.hide ? t._timeout = setTimeout(function () {
"out" === t._hoverState && t.hide()
}
, t.config.delay.hide) : t.hide())
}
, t._isWithActiveTrigger = function () {
for (var e in this._activeTrigger) if (this._activeTrigger[e]) return !0;
return !1
}
, t._getConfig = function (e) {
var t = i(this.element).data();
return Object.keys(t).forEach(function (e) {
-1 !== Ot.indexOf(e) && delete t[e]
}
), "number" == typeof (e = b(
{
}
, this.constructor.Default,
{
}
, t,
{
}
, "object" == typeof e && e ? e :
{
}
)).delay && (e.delay =
{
show: e.delay, hide: e.delay
}
), "number" == typeof e.title && (e.title = e.title.toString()), "number" == typeof e.content && (e.content = e.content.toString()), r.typeCheckConfig(bF, e, this.constructor.DefaultType), e.sanitize && (e.template = Le(e.template, e.whiteList, e.sanitizeFn)), e
}
, t._getDelegateConfig = function () {
var e =
{
};
if (this.config) for (var t in this.config) this.constructor.Default[t] !== this.config[t] && (e[t] = this.config[t]);
return e
}
, t._cleanTipClass = function () {
var e = i(this.getTipElement()), t = e.attr("class").match(At);
null !== t && t.length && e.removeClass(t.join(""))
}
, t._handlePopperPlacementChange = function (e) {
var t = e.instance;
this.tip = t.popper, this._cleanTipClass(), this.addAttachmentClass(this._getAttachment(e.placement))
}
, t._fixTransition = function () {
var e = this.getTipElement(), t = this.config.animation;
null === e.getAttribute("x-placement") && (i(e).removeClass(Ht), this.config.animation = !1, this.hide(), this.show(), this.config.animation = t)
}
, e._jQueryInterface = function (t) {
return this.each(function () {
var n = i(this).data(Dt), o = "object" == typeof t && t;
if ((n || !/dispose|hide/.test(t)) && (n || (n = new e(this, o), i(this).data(Dt, n)), "string" == typeof t)) {
if (void 0 === n[t]) throw new TypeError('No method named "' + t + '"');
n[t]()
}
}
)
}
, g(e, null, [
{
key: "VERSION", get: function () {
return "4.4.1"
}
}
,
{
key: "Default", get: function () {
return Pt
}
}
,
{
key: "NAME", get: function () {
return bF
}
}
,
{
key: "DATA_KEY", get: function () {
return Dt
}
}
,
{
key: "Event", get: function () {
return Rt
}
}
,
{
key: "EVENT_KEY", get: function () {
return St
}
}
,
{
key: "DefaultType", get: function () {
return It
}
}
]), e
}
();
function Wt(e) {
e.each(function () {
var e =
{
template: '<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>'
}
, t = i(this), n = (o = t.data()).target, o = o.size;
n && (e.title = i(n), e.html = !0), "string" === i.type(o) && (e.template = i("<div>").html(i(e.template).addClass("tooltip-" + o)).html()), t.tooltip(e)
}
).filter('[data-trigger="click"]').click(function () {
e.not(this).tooltip("hide")
}
)
}
i.fn[bF] = qt._jQueryInterface, i.fn[bF].Constructor = qt, i.fn[bF].noConflict = function () {
return i.fn[bF] = kt, qt._jQueryInterface
};
H =
{
CLICK: "click.app.tooltip.data-api"
}
, ye = ".tooltip";
var bG = '[data-toggle="tooltip"]';
i(document).on(H.CLICK, ye, function () {
i(this).tooltip("hide")
}
), Wt(i(bG).not("[data-target]")), addEventListener("load", function () {
Wt(i(bG).filter("[data-target]"))
}
);
var bH =
{
CLICK: "click" + (c = ".app.complaint") + (be = ".data-api"), SUBMIT: "submit" + c + be
}
, Vt = function () {
function e(e, t, n, o, r, a, s, l, c, u, d) {
this.setId(t), this.setElement(i(n)), this.appendForm(e, o, r, a, s, l, c, u, d)
}
var t = e.prototype;
return t.appendForm = function (e, t, n, o, r, a, s, l, c) {
var u = this;
this._form = i("<form novalidate>");
var d = i('<input class="form-control" placeholder="' + o + '" id="email" name="email" type="email" required>'), f = i('<textarea class="form-control" placeholder="' + r + '" id="text" name="text" rows="2" required></textarea>');
(r = i('<div class="form-group position-relative">')).append('<label for="email">' + a + "</label>"), r.append(d), r.append('<div class="invalid-tooltip">' + l + "</div>"), r.appendTo(u._form), (r = i('<div class="form-group position-relative">')).append('<label for="text">' + s + "</label>"), r.append(f), r.append('<div class="invalid-tooltip">' + c + "</div>"), r.appendTo(u._form), u._form.on(bH.SUBMIT, function (i) {
i.preventDefault(), !1 !== this.checkValidity() && (u.send(e, d.val(), f.val(), t, n), u.modal.hide())
}
), u._element.find(".modal-body").append(u._form)
}
, t.reset = function () {
return this._form.detach(), this
}
, e.make = function (t, n, i, o, r, a, s, l, c, u, d) {
return new e(t, n, i, o, r, a, s, l, c, u, d)
}
, t.setId = function (e) {
return this._id = e, this
}
, t.setElement = function (e) {
return this._element = e, this
}
, t.show = function (e, t) {
var n = this;
e =
{
buttons: [
{
text: t, class: "btn-outline-secondary", click: function () {
n.modal.hide()
}
}
,
{
text: e, class: "btn-secondary", click: function () {
n._form.trigger("submit")
}
}
]
};
return this.modal = (new bu).setElement(this._element).setOptions(e).show(), this._element.on("hidden.bs.modal", function () {
n.reset(), n.modal.reset()
}
), this
}
, t.send = function (e, t, n, i, o) {
return l.post(e,
{
id: this._id, mail: t, text: n, action: "news", user_hash: i
}
, function (e) {
e = "ok" === e ? o : e, w.makeText(e).show()
}
), this
}
, e
}
();
i(document).on(bH.CLICK, '[data-toggle="complaint"]', function (e) {
e.preventDefault(), e = i(this).data(), Vt.make(e.url, e.id, e.target, e.user_hash, e.text_success, e.text_email, e.text_text, e.entry_email, e.entry_text, e.error_email, e.error_text).show(e.button_send, e.button_cancel)
}
);
E = '[data-toggle="favorite"]', J =
{
CLICK: "click.app.post.favorite.data-api"
};
var bI = "favoriting", $t = function () {
function e() {
}
return e.send = function (e, t, n) {
l.get(e, t, function (e) {
e.error && w.makeText(e.error).show(), e.success && n(e)
}
)
}
, e
}
();
i(document).on(J.CLICK, E, function (e) {
e.preventDefault();
var t = i(this).addClass(bI).tooltip("hide"), n = (e = t.data()).action;
setTimeout(function () {
t.attr("data-action", "add" !== n ? "add" : "remove").removeClass(bI)
}
, h.get("animation_duration")), $t.send(e.url,
{
id: e.id, action: n, user_hash: e.user_hash
}
, function (e) {
t.data("action", e.action).attr("data-original-title", e.title).tooltip("update").tooltip("show")
}
)
}
), Wt(i(E));
H = ".download-list-link", ye = '[data-toggle="password-copy"]', c =
{
CLICK: "click.app.post.data-api"
};
var bJ = "sticky-enabled";
function Qt(e, t) {
return e.find(".tab-content").offset().top - Ne.getElement().outerHeight() - t.outerHeight()
}
function Gt(e, t) {
return i(document).scrollTop() > Qt(e, t)
}
var bK = function () {
function e() {
}
return e.addTimestamp = function (e) {
var t = ["zip", "rar", "exe", "apk", "dmg", "iso", "rpm", "msi", "7z", "tar.gz", "tar.bz2"].map(function (e) {
return '[href$=".' + e + '"]'
}
).join(",");
i(e).each(function () {
var e = i(this);
a.isRtl(e.text()) || e.wrapInner('<span class="ltr">')
}
).filter(t).each(function () {
var e = i(this), t = e.attr("href");
-1 !== t.search(location.host) && e.attr("href", t + "?" + a.random())
}
)
}
, e.doCopy = function (e) {
T.Zoom.off(), a.selectInputText(e[0], 0, e.val().length), document.execCommand("copy"), setTimeout(function () {
T.Zoom.on(), e.blur()
}
, h.get("animation_duration"))
}
, e.scrollToTabContent = function () {
var e = i("#main"), t = e.find(".card-header-tabs__wrap");
t.is(":visible") && (i(window).scroll(function () {
Gt(e, t) ? t.addClass(bJ) : t.removeClass(bJ)
}
), t.find(".nav-link").click(function () {
Gt(e, t) && d.get("scroll")(0, Qt(e, t))
}
))
}
, e.disable6Download6Link = function (e) {
Wt(e = i(".download-list-link, .card-title-link, .card-footer .btn-success").attr("href", d.get("location.href")).click(function (e) {
e.preventDefault()
}
).attr(
{
title: e, "data-toggle": "tooltip", "data-size": "lg", "data-trigger": "click", "data-html": !0, "data-placement": "left"
}
))
}
, e.getUrl = function (e, t) {
return t ? "/" + e + "-" + t.trim().replace(/\s+/g, "-") + ".html" : "/?newsid=" + e
}
, e.getId = function (e) {
return (e = e.match(/\/([0-9]+)-.+\.html$/)) ? e[1] : null
}
, e
}
();
i(document).on(c.CLICK, ye, function () {
var e = i(this).data();
bK.doCopy(i(e.target)), w.makeText(e.text_success).show()
}
), bK.scrollToTabContent(), bK.addTimestamp(H), i(function () {
var e = new RegExp(S.get("text_install_path"), "g");
i(".tab-pane").each(function () {
var t = i(this), n = t.html().replace(e, '<a class="text-danger font-weight-bold" href="#modal-hcrack" data-toggle="modal" data-target="#modal-hcrack">' + S.get("text_install_path") + "</a>");
t.html(n)
}
), e = new RegExp(S.get("text_add_firewall"), "g"), i(".quote,.text_spoiler").each(function () {
var t = i(this), n = t.html().replace(e, '<a class="text-danger font-weight-bold" target="_blank" href="https://soft98.ir/security/firewall/14349-windows-firewall-control.html">' + S.get("text_add_firewall") + "</a>");
t.html(n)
}
), e = new RegExp(S.get("text_host"), "g"), i(".tab-pane").each(function () {
var t = i(this), n = t.html().replace(e, '<a class="text-danger font-weight-bold" href="#modal-host" data-toggle="modal" data-target="#modal-host">' + S.get("text_host") + "</a>");
t.html(n)
}
), i(".quote, .language-markup, .text_spoiler").each(function () {
var e = i(this);
a.setDirectionClass(e, e.text())
}
), i('[data-toggle="jdate"]').each(function () {
var e = i(this);
e.text(a.jDate(e.text()))
}
), i('[data-toggle="auto-icon"]').each(function () {
var e = i(this), t = e.data(), n = t.text;
(n = a.getClass(n || e.text())) && e.addClass("" + t.prefix + n)
}
)
}
);
var bL = ".b7d9x, .b7d9x *", Jt = "js-enable-", en = S.get("error_b7d9x",
{
onclick: "location.reload();
return false;
"
}
);
function tn(e) {
e.each(function () {
var e = i(this), t = e.is("img"), n = i(window).width(), o = e.offset().left;
if (e.is(":hidden")) throw en;
if (o < 0 || n < o) throw en;
if (-1 !== e.css("visibility").search(/hidden|collapse/)) throw en;
if (-1 === e.css("transform").search(/none/)) throw en;
if (e.css("opacity") < 1) throw en;
if (e.width() < 15) throw en;
if (e.height() < 15) throw en;
if (t && !e.attr("src")) throw en;
if (e.is("a") && !e.attr("href")) throw en;
if (-1 !== (String(e.css("content")) + e.attr("style")).search(/adguard/)) throw en;
if (!t && !e.is("iframe") && !i.trim(e.html())) throw en
}
)
}
function nn(e) {
e.removeAttr("rel target").attr("href", d.get("location.href"))
}
i(bL).on("contextmenu mousedown", function (e) {
e.preventDefault()
}
), i(bL).filter("a").each(function () {
var e = i(this), t = e.attr("href"), n = e.attr("target"), o = e.attr("rel");
nn(e), e.on(
{
mousedown: function () {
e.attr(
{
href: t, target: n, rel: o
}
)
}
, mouseup: function () {
setTimeout(function () {
nn(e)
}
, 10)
}
}
)
}
), function e() {
i(i("html")[0].shadowRoot).find("style").remove(), i("style:contains(important)").remove(), i("script:contains(AG_)").remove(), i('[class*="' + Jt + '"]').each(function () {
var e = i(this), t = new RegExp(Jt, "g");
e.attr("class", e.attr("class").replace(t, ""))
}
);
try {
if (T.is(">= md") && (tn(i(bL).filter(":not(img, br, script)")), i(bL).filter("img").each(function () {
var e = i(this);
this.complete ? tn(e) : e.on("load", function () {
tn(e)
}
)
}
)), "object" === i.type(d.get("unblocker"))) throw en;
setTimeout(function () {
e()
}
, 3e3)
}
catch (e) {
w.makeText(e, w.lengths.long, "lg").show(), bK.disable6Download6Link(e)
}
}
();
var bM = "collapse", rn = "bs.collapse", an = (be = "." + rn, i.fn[bM]), sn =
{
toggle: !0, parent: ""
}
, ln =
{
toggle: "boolean", parent: "(string|element)"
}
, cn =
{
SHOW: "show" + be, SHOWN: "shown" + be, HIDE: "hide" + be, HIDDEN: "hidden" + be, CLICK_DATA_API: "click" + be + ".data-api"
}
, un = "show", dn = "collapse", fn = "collapsing", hn = "collapsed", pn = '[data-toggle="collapse"]', mn = function () {
function e(e, t) {
this._isTransitioning = !1, this._element = e, this._config = this._getConfig(t), this._triggerArray = [].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#' + e.id + '"],[data-toggle="collapse"][data-target="#' + e.id + '"]'));
for (var n = [].slice.call(document.querySelectorAll(pn)), i = 0, o = n.length;
i < o;
i++) {
var a = n[i], s = r.getSelectorFromElement(a), l = [].slice.call(document.querySelectorAll(s)).filter(function (t) {
return t === e
}
);
null !== s && 0 < l.length && (this._selector = s, this._triggerArray.push(a))
}
this._parent = this._config.parent ? this._getParent() : null, this._config.parent || this._addAriaAndCollapsedClass(this._element, this._triggerArray), this._config.toggle && this.toggle()
}
var t = e.prototype;
return t.toggle = function () {
i(this._element).hasClass(un) ? this.hide() : this.show()
}
, t.show = function () {
var t, n, o, a, s = this;
this._isTransitioning || i(this._element).hasClass(un) || (this._parent && 0 === (a = [].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter(function (e) {
return "string" == typeof s._config.parent ? e.getAttribute("data-parent") === s._config.parent : e.classList.contains(dn)
}
)).length && (a = null), a && (o = i(a).not(this._selector).data(rn)) && o._isTransitioning || (t = i.Event(cn.SHOW), i(this._element).trigger(t), t.isDefaultPrevented() || (a && (e._jQueryInterface.call(i(a).not(this._selector), "hide"), o || i(a).data(rn, null)), n = this._getDimension(), i(this._element).removeClass(dn).addClass(fn), this._element.style[n] = 0, this._triggerArray.length && i(this._triggerArray).removeClass(hn).attr("aria-expanded", !0), this.setTransitioning(!0), o = "scroll" + (n[0].toUpperCase() + n.slice(1)), a = r.getTransitionDurationFromElement(this._element), i(this._element).one(r.TRANSITION_END, function () {
i(s._element).removeClass(fn).addClass(dn).addClass(un), s._element.style[n] = "", s.setTransitioning(!1), i(s._element).trigger(cn.SHOWN)
}
).emulateTransitionEnd(a), this._element.style[n] = this._element[o] + "px")))
}
, t.hide = function () {
var e = this;
if (!this._isTransitioning && i(this._element).hasClass(un)) {
var t = i.Event(cn.HIDE);
if (i(this._element).trigger(t), !t.isDefaultPrevented()) {
t = this._getDimension(), this._element.style[t] = this._element.getBoundingClientRect()[t] + "px", r.reflow(this._element), i(this._element).addClass(fn).removeClass(dn).removeClass(un);
var n = this._triggerArray.length;
if (0 < n) for (var o = 0;
o < n;
o++) {
var a = this._triggerArray[o], s = r.getSelectorFromElement(a);
null !== s && (i([].slice.call(document.querySelectorAll(s))).hasClass(un) || i(a).addClass(hn).attr("aria-expanded", !1))
}
this.setTransitioning(!0), this._element.style[t] = "", t = r.getTransitionDurationFromElement(this._element), i(this._element).one(r.TRANSITION_END, function () {
e.setTransitioning(!1), i(e._element).removeClass(fn).addClass(dn).trigger(cn.HIDDEN)
}
).emulateTransitionEnd(t)
}
}
}
, t.setTransitioning = function (e) {
this._isTransitioning = e
}
, t.dispose = function () {
i.removeData(this._element, rn), this._config = null, this._parent = null, this._element = null, this._triggerArray = null, this._isTransitioning = null
}
, t._getConfig = function (e) {
return (e = b(
{
}
, sn,
{
}
, e)).toggle = Boolean(e.toggle), r.typeCheckConfig(bM, e, ln), e
}
, t._getDimension = function () {
return i(this._element).hasClass("width") ? "width" : "height"
}
, t._getParent = function () {
var t, n = this;
r.isElement(this._config.parent) ? (t = this._config.parent, void 0 !== this._config.parent.jquery && (t = this._config.parent[0])) : t = document.querySelector(this._config.parent);
var o = '[data-toggle="collapse"][data-parent="' + this._config.parent + '"]';
o = [].slice.call(t.querySelectorAll(o));
return i(o).each(function (t, i) {
n._addAriaAndCollapsedClass(e._getTargetFromElement(i), [i])
}
), t
}
, t._addAriaAndCollapsedClass = function (e, t) {
e = i(e).hasClass(un), t.length && i(t).toggleClass(hn, !e).attr("aria-expanded", e)
}
, e._getTargetFromElement = function (e) {
return (e = r.getSelectorFromElement(e)) ? document.querySelector(e) : null
}
, e._jQueryInterface = function (t) {
return this.each(function () {
var n = i(this), o = n.data(rn), r = b(
{
}
, sn,
{
}
, n.data(),
{
}
, "object" == typeof t && t ? t :
{
}
);
if (!o && r.toggle && /show|hide/.test(t) && (r.toggle = !1), o || (o = new e(this, r), n.data(rn, o)), "string" == typeof t) {
if (void 0 === o[t]) throw new TypeError('No method named "' + t + '"');
o[t]()
}
}
)
}
, g(e, null, [
{
key: "VERSION", get: function () {
return "4.4.1"
}
}
,
{
key: "Default", get: function () {
return sn
}
}
]), e
}
();
i(document).on(cn.CLICK_DATA_API, pn, function (e) {
"A" === e.currentTarget.tagName && e.preventDefault();
var t = i(this);
e = r.getSelectorFromElement(this), e = [].slice.call(document.querySelectorAll(e));
i(e).each(function () {
var e = i(this), n = e.data(rn) ? "toggle" : t.data();
mn._jQueryInterface.call(e, n)
}
)
}
), i.fn[bM] = mn._jQueryInterface, i.fn[bM].Constructor = mn, i.fn[bM].noConflict = function () {
return i.fn[bM] = an, mn._jQueryInterface
};
var bN = ".collapse", vn = function () {
function e() {
}
return e.toggle = function (e) {
(e = i(e)).filter(":not(" + bN + ")").addClass("collapse").css("display", ""), e.hasClass("show") ? e.collapse("hide") : (i(bN + ".show").collapse("hide"), e.collapse("show"))
}
, e
}
(), yn = '[name="sec_code"]', bn = function () {
function e() {
}
return e.save = function (e, t, n) {
var o = i('[name="comment-add-form"]'), r =
{
post_id: o.find('[name="post_id"]').val(), name: o.find('[name="name"]').val().trim(), comments: o.find('[name="comments"]').val().trim(), editor_mode: "", question_answer: o.find('[name="question_answer"]').val(), sec_code: o.find(yn).val(), g_recaptcha_response: "", allow_subscribe: o.find('[name="allow_subscribe"]').filter(":checked").length, mail: o.find('[name="mail"]').val(), user_hash: t
};
"1" !== h.get("wysiwyg") && "2" !== h.get("wysiwyg") || ("2" === h.get("wysiwyg") && d.get("tinyMCE").triggerSave(), r.editor_mode = "wysiwyg"), "undefined" !== i.type(d.get("grecaptcha")) && (r.g_recaptcha_response = d.get("grecaptcha").getResponse());
try {
this.validate(r);
var a = i("#dle-ajax-comments");
R.prependTo(a), a[0].scrollIntoView(
{
behavior: "smooth"
}
), this.send(e, r, function (e) {
a.html(e), setTimeout(function () {
i("#blind-animation").addClass("collapse").css("display", "").collapse("show")
}
, h.get("collapse_duration")), (e = o.find(yn)).length && (e.val(null), u.reload("#dle-captcha")), "undefined" !== i.type(d.get("grecaptcha")) && d.get("grecaptcha").reset()
}
, function () {
throw a.html(""), new Error(n)
}
)
}
catch (e) {
w.makeText(e).show()
}
}
, e.validate = function (e) {
if ("" === e.comments) throw new Error(S.get("error_required"));
if ("" === e.name) throw new Error(S.get("error_required"))
}
, e.send = function (e, t, n, i) {
l.post(e, t, function (e) {
"error" === e ? i() : n(e)
}
)
}
, e
}
(), _n = function () {
function e() {
}
return e.action = function (e, t, n, i, o, r, a) {
var s = this, l = (o =
{
class: "modal-sm modal-danger modal-confirm", buttons: [
{
text: r, class: "btn-secondary", click: function () {
l.hide()
}
}
,
{
text: o, class: "btn-danger", click: function () {
l.hide(), s.do(e, t, a)
}
}
]
}
, bu.make(n, i, o).show());
return l
}
, e.do = function (e, t, n) {
var o = i(t);
return o.addClass("collapse show").collapse("hide"), o[0].scrollIntoView(
{
behavior: "smooth"
}
), this.send(e, function () {
w.makeText(n).show(), setTimeout(function () {
o.collapse("show")
}
, h.get("collapse_duration"))
}
), this
}
, e.send = function (e, t) {
return l.get(e, function (e) {
e = parseInt(e, 10), isNaN(e) && i.isFunction(t) && t()
}
), this
}
, e
}
(), wn = function () {
function e() {
}
return e.show = function (t, n, o, r, a, s) {
var c = i('<div id="comments-edit-fast">'), u = (a =
{
class: "modal-md modal-secondary", buttons: [
{
text: s, class: "btn-outline-secondary", click: function () {
u.hide(), e.hide(n)
}
}
,
{
text: a, class: "btn-secondary", click: function () {
u.hide(), e.save(t, n, o)
}
}
]
}
, bu.make(r, c, a).show());
R.make().htmlTo(c).show(), l.get(t,
{
area: "ajax", action: "edit"
}
, function (e) {
c.html(e), setTimeout(function () {
c.find(".form-control:first").focus()
}
, 2 * h.get("animation_duration"))
}
)
}
, e.hide = function (e) {
var t = i("#comm-id-" + e);
t.data("content") && (t.collapse("hide"), setTimeout(function () {
t.html(t.data("content")).collapse("show").removeData("content"), t[0].scrollIntoView(
{
block: "center", behavior: "smooth"
}
)
}
, h.get("collapse_duration") + 100))
}
, e.save = function (e, t, n) {
var o = i('[name="edit-comment-text"][data-id="' + t + '"]').val(), r = i("#comm-id-" + t).html(o.replace(/\n/g, "<br>"));
R.prependTo(r).show(), this.send(e, t, o, n, function (e) {
r.html(e).removeData("content"), r[0].scrollIntoView(
{
behavior: "smooth"
}
)
}
)
}
, e.send = function (e, t, n, i, o) {
l.post(e,
{
id: t, comm_txt: n, area: "ajax", action: "save", user_hash: i
}
, o)
}
, e
}
(), Cn = function () {
function e() {
}
return e.show = function (t, n, o, r, a, s, l, c, u) {
var d = this, f = i("<div>" + i("#comm-id-" + o).html() + "</div>");
this._element.appendTo(f);
l =
{
class: "modal-md modal-primary", buttons: [
{
text: c, class: "btn-outline-secondary", click: function () {
p.hide(), e.hide(o)
}
}
,
{
text: l, class: "btn-primary", click: function () {
p.hide(), e.save(n, o, r, a, u)
}
}
]
};
var p = bu.make(s, f, l).show();
R.make().htmlTo(this._element).show(), this.get(t, o, r, a, function (e) {
d._element.html(e), setTimeout(function () {
d._element.find(".form-control:first").focus()
}
, 2 * h.get("animation_duration"))
}
)
}
, e.get = function (e, t, n, i, o) {
l.get(e,
{
id: t, indent: n, user_hash: i
}
, o)
}
, e.hide = function (e, t) {
void 0 === t && (t = "smooth"), e = i("#comment-id-" + e), "instant" === t ? this._element.removeClass("show") : (this._element.collapse("hide"), e[0].scrollIntoView(
{
block: "center", behavior: t
}
))
}
, e.fast = function (e) {
var t = i("#comments");
t.length && (t.val(t.val() + e + ",\n")[0].scrollIntoView(
{
block: "center", behavior: "smooth"
}
), setTimeout(function () {
t.focus()
}
, h.get("collapse_duration")))
}
, e.save = function (e, t, n, o, r) {
var a = this, s =
{
parent: t, indent: n, comments: i("#comments" + t).val().trim(), name: i("#name" + t).val().trim(), question_answer: i("#question_answer" + t).val(), sec_code: i("#sec_code" + t).val(), g_recaptcha: i("#recaptcha" + t).val(), allow_subscribe: i("#subscribe" + t + ":checked").length, post_id: i("#postid" + t).val(), mail: "", editor_mode: null, user_hash: o
}
, l = (o = i("#comment-id-" + t), i("<div>").appendTo(o));
try {
bn.validate(s), s.g_recaptcha ? s.g_recaptcha_response = d.get("grecaptcha").getResponse(d.get("recaptcha_widget")) : s.g_recaptcha_response = null, R.prependTo(l), this._element[0].scrollIntoView(
{
block: "center", behavior: "smooth"
}
), bn.send(e, s, function (e) {
a.hide(t), l.html(e), i("#blind-animation" + t).addClass("collapse").css("display", "").collapse("show")
}
, function () {
l.html(""), w.makeText(r).show()
}
)
}
catch (e) {
w.makeText(e).show()
}
}
, e
}
();
v(Cn, "_element", i('<div id="comments-reply-fast">'));
J = '[data-toggle="comment-edit"]', E = '[data-toggle="comment-delete"]', c = '[data-toggle="comment-page"]', ye = '[data-toggle="comment-reply"]', H = '[name="comment-add-form"]', be =
{
CLICK: "click.app.comment.data-api"
};
var bO = function () {
function e() {
}
return e.page = function (t, n, o, r) {
var a = i("#dle-comments-list"), s = i(".dle-comments-navigation");
R.make().htmlTo(s).show(), l.get(t,
{
cstart: n, news_id: o
}
, function (l) {
var c = i("#dle-comm-link");
(isNaN(n) || isNaN(o)) && c.off("click").on("click", function (i) {
i.preventDefault(), e.page(t, n, o, r)
}
), a.html(l.comments), a[0].scrollIntoView(
{
block: "start", behavior: "smooth"
}
), s.html(l.navigation), i.isFunction(r) && r()
}
)
}
, e
}
();
i(document).on("submit", H, function (e) {
e.preventDefault(), e = i(this).data(), bn.save(e.url, e.user_hash, e.error_save)
}
).on(be.CLICK, ye, function (e) {
e.preventDefault(), e = i(this).data(), Cn.show(e.url, e.add, e.id, e.indent, e.user_hash, e.text_title, e.button_reply, e.button_cancel)
}
).on(be.CLICK, J, function (e) {
e.preventDefault(), e = i(this).data(), wn.show(e.url, e.id, e.user_hash, e.text_title, e.button_save, e.button_cancel)
}
).on("click", E, function (e) {
e.preventDefault(), e = i(this).data(), _n.action(e.url, e.target, e.text_title, e.text_confirm, e.button_delete, e.button_cancel, e.error_delete)
}
).on("click", c, function (e) {
e.preventDefault();
var t = i(this);
e = t.data();
bO.page(e.url, e.cstart, e.news_id, function () {
d.get("history").pushState(null, null, t.attr("href").replace(/^\/+/, ""))
}
)
}
), addEventListener("load", function () {
"#comment" === location.hash && (i("#tab-comment").tab("show"), setTimeout(function () {
var e = i('[name="comment"]');
e.length && e[0].scrollIntoView(
{
block: "start"
}
)
}
, 2 * h.get("animation_duration")))
}
);
d.set("dropdownmenu", function () {
return !1
}
), d.set("reload", function () {
u.reload("#dle-captcha")
}
), d.set("ShowOrHide", function (e) {
var t = "#" + e;
setTimeout(function () {
$(t).is(":visible") && (document.getElementById(e).scrollIntoView(), window.scrollBy(0, -150))
}
, 2 * h.get("animation_duration")), vn.toggle(t)
}
), d.set("DLEalert", function (e, t) {
t ? bu.alert(e, t) : w.makeText(e).show()
}
), d.set("DLEconfirm", function (e, t, n) {
bu.confirm(t, e, n)
}
), d.set("HideLoading", function () {
j.hide()
}
), d.set("ShowLoading", function () {
j.show()
}
), d.set("dle_captcha_type", 0);
var bP = "dropdown", Tn = "bs.dropdown", Dn = "." + Tn, Sn = (be = ".data-api", i.fn[bP]), kn = new RegExp("38|40|27"), Nn =
{
HIDE: "hide" + Dn, HIDDEN: "hidden" + Dn, SHOW: "show" + Dn, SHOWN: "shown" + Dn, CLICK: "click" + Dn, CLICK_DATA_API: "click" + Dn + be, KEYDOWN_DATA_API: "keydown" + Dn + be, KEYUP_DATA_API: "keyup" + Dn + be
}
, An = "disabled", On = "show", In = "dropdown-menu-right", Ln = '[data-toggle="dropdown"]', Pn = (J = ".dropdown form", ".dropdown-menu"), jn =
{
offset: 0, flip: !0, boundary: "scrollParent", reference: "toggle", display: "dynamic", popperConfig: null
}
, Rn =
{
offset: "(number|string|function)", flip: "boolean", boundary: "(string|element)", reference: "(string|element)", display: "string", popperConfig: "(null|object)"
}
, Hn = function () {
function e(e, t) {
this._element = e, this._popper = null, this._config = this._getConfig(t), this._menu = this._getMenuElement(), this._inNavbar = this._detectNavbar(), this._addEventListeners()
}
var t = e.prototype;
return t.toggle = function () {
var t;
this._element.disabled || i(this._element).hasClass(An) || (t = i(this._menu).hasClass(On), e._clearMenus(), t || this.show(!0))
}
, t.show = function (t) {
if (void 0 === t && (t = !1), !(this._element.disabled || i(this._element).hasClass(An) || i(this._menu).hasClass(On))) {
var n =
{
relatedTarget: this._element
}
, o = i.Event(Nn.SHOW, n), a = e._getParentFromElement(this._element);
if (i(a).trigger(o), !o.isDefaultPrevented()) {
if (!this._inNavbar && t) {
if (void 0 === bE) throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");
t = this._element, "parent" === this._config.reference ? t = a : r.isElement(this._config.reference) && (t = this._config.reference, void 0 !== this._config.reference.jquery && (t = this._config.reference[0])), "scrollParent" !== this._config.boundary && i(a).addClass("position-static"), this._popper = new bE(t, this._menu, this._getPopperConfig())
}
"ontouchstart" in document.documentElement && 0 === i(a).closest(".navbar-nav").length && i(document.body).children().on("mouseover", null, i.noop), this._element.focus(), this._element.setAttribute("aria-expanded", !0), i(this._menu).toggleClass(On), i(a).toggleClass(On).trigger(i.Event(Nn.SHOWN, n))
}
}
}
, t.hide = function () {
var t, n, o;
this._element.disabled || i(this._element).hasClass(An) || !i(this._menu).hasClass(On) || (t =
{
relatedTarget: this._element
}
, n = i.Event(Nn.HIDE, t), o = e._getParentFromElement(this._element), i(o).trigger(n), n.isDefaultPrevented() || (this._popper && this._popper.destroy(), i(this._menu).toggleClass(On), i(o).toggleClass(On).trigger(i.Event(Nn.HIDDEN, t))))
}
, t.dispose = function () {
i.removeData(this._element, Tn), i(this._element).off(Dn), this._element = null, (this._menu = null) !== this._popper && (this._popper.destroy(), this._popper = null)
}
, t.update = function () {
this._inNavbar = this._detectNavbar(), null !== this._popper && this._popper.scheduleUpdate()
}
, t._addEventListeners = function () {
var e = this;
i(this._element).on(Nn.CLICK, function (t) {
t.preventDefault(), t.stopPropagation(), e.toggle()
}
)
}
, t._getConfig = function (e) {
return e = b(
{
}
, this.constructor.Default,
{
}
, i(this._element).data(),
{
}
, e), r.typeCheckConfig(bP, e, this.constructor.DefaultType), e
}
, t._getMenuElement = function () {
var t;
return this._menu || (t = e._getParentFromElement(this._element)) && (this._menu = t.querySelector(Pn)), this._menu
}
, t._getPlacement = function () {
var e = i(this._element.parentNode), t = "bottom-start";
return e.hasClass("dropup") ? (t = "top-start", i(this._menu).hasClass(In) && (t = "top-end")) : e.hasClass("dropright") ? t = "right-start" : e.hasClass("dropleft") ? t = "left-start" : i(this._menu).hasClass(In) && (t = "bottom-end"), t
}
, t._detectNavbar = function () {
return 0 < i(this._element).closest(".navbar").length
}
, t._getOffset = function () {
var e = this, t =
{
};
return "function" == typeof this._config.offset ? t.fn = function (t) {
return t.offsets = b(
{
}
, t.offsets,
{
}
, e._config.offset(t.offsets, e._element) ||
{
}
), t
}
: t.offset = this._config.offset, t
}
, t._getPopperConfig = function () {
var e =
{
placement: this._getPlacement(), modifiers:
{
offset: this._getOffset(), flip:
{
enabled: this._config.flip
}
, preventOverflow:
{
boundariesElement: this._config.boundary
}
}
};
return "static" === this._config.display && (e.modifiers.applyStyle =
{
enabled: !1
}
), b(
{
}
, e,
{
}
, this._config.popperConfig)
}
, e._jQueryInterface = function (t) {
return this.each(function () {
var n = i(this).data(Tn);
if (n || (n = new e(this, "object" == typeof t ? t : null), i(this).data(Tn, n)), "string" == typeof t) {
if (void 0 === n[t]) throw new TypeError('No method named "' + t + '"');
n[t]()
}
}
)
}
, e._clearMenus = function (t) {
if (!t || 3 !== t.which && ("keyup" !== t.type || 9 === t.which)) for (var n = [].slice.call(document.querySelectorAll(Ln)), o = 0, r = n.length;
o < r;
o++) {
var a, s, l = e._getParentFromElement(n[o]), c = i(n[o]).data(Tn), u =
{
relatedTarget: n[o]
};
t && "click" === t.type && (u.clickEvent = t), c && (a = c._menu, i(l).hasClass(On) && (t && ("click" === t.type && /input|textarea/i.test(t.target.tagName) || "keyup" === t.type && 9 === t.which) && i.contains(l, t.target) || (s = i.Event(Nn.HIDE, u), i(l).trigger(s), s.isDefaultPrevented() || ("ontouchstart" in document.documentElement && i(document.body).children().off("mouseover", null, i.noop), n[o].setAttribute("aria-expanded", "false"), c._popper && c._popper.destroy(), i(a).removeClass(On), i(l).removeClass(On).trigger(i.Event(Nn.HIDDEN, u))))))
}
}
, e._getParentFromElement = function (e) {
var t, n = r.getSelectorFromElement(e);
return n && (t = document.querySelector(n)), t || e.parentNode
}
, e._dataApiKeydownHandler = function (t) {
if ((/input|textarea/i.test(t.target.tagName) ? !(32 === t.which || 27 !== t.which && (40 !== t.which && 38 !== t.which || i(t.target).closest(Pn).length)) : kn.test(t.which)) && (t.preventDefault(), t.stopPropagation(), !this.disabled && !i(this).hasClass(An))) {
var n = e._getParentFromElement(this), o = i(n).hasClass(On);
if (o || 27 !== t.which) {
if (!o || o && (27 === t.which || 32 === t.which)) return 27 === t.which && (r = n.querySelector(Ln), i(r).trigger("focus")), void i(this).trigger("click");
var r = [].slice.call(n.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter(function (e) {
return i(e).is(":visible")
}
);
0 !== r.length && (n = r.indexOf(t.target), 38 === t.which && 0 < n && n--, 40 === t.which && n < r.length - 1 && n++, n < 0 && (n = 0), r[n].focus())
}
}
}
, g(e, null, [
{
key: "VERSION", get: function () {
return "4.4.1"
}
}
,
{
key: "Default", get: function () {
return jn
}
}
,
{
key: "DefaultType", get: function () {
return Rn
}
}
]), e
}
();
i(document).on(Nn.KEYDOWN_DATA_API, Ln, Hn._dataApiKeydownHandler).on(Nn.KEYDOWN_DATA_API, Pn, Hn._dataApiKeydownHandler).on(Nn.CLICK_DATA_API + " " + Nn.KEYUP_DATA_API, Hn._clearMenus).on(Nn.CLICK_DATA_API, Ln, function (e) {
e.preventDefault(), e.stopPropagation(), Hn._jQueryInterface.call(i(this), "toggle")
}
).on(Nn.CLICK_DATA_API, J, function (e) {
e.stopPropagation()
}
), i.fn[bP] = Hn._jQueryInterface, i.fn[bP].Constructor = Hn, i.fn[bP].noConflict = function () {
return i.fn[bP] = Sn, Hn._jQueryInterface
};
E =
{
MOUSELEAVE: "mouseleave.app.dropdown.data-api"
};
var bQ = function () {
function e() {
}
return e.autoHide = function (e) {
setTimeout(function () {
e.is(":hover") || e.dropdown("hide")
}
, 1e3)
}
, e
}
();
i(document).on(E.MOUSELEAVE, ".dropdown.show", function () {
bQ.autoHide(i(this))
}
);
var bR = "night-mode", Bn = function () {
function e() {
}
return e.enable = function () {
i(document.body).addClass(bR)
}
, e.disable = function () {
i(document.body).removeClass(bR)
}
, e.toggle = function () {
i(document.body).toggleClass(bR)
}
, e.status = function () {
return i(document.body).hasClass(bR)
}
, e
}
();
i(document).on("click", '[data-toggle="night-mode"]', function (e) {
e.preventDefault(), Bn.toggle(), Bn.status() ? p.set("night_mode", 1, 365) : p.set("night_mode", "", 365)
}
);
var bS;
c = function () {
function e() {
this.getElement().data("open", this.getElement().html().trim())
}
var t = e.prototype;
return t.getElement = function () {
return i('[data-toggle="collapse"][data-target="#top-list-more"]')
}
, t.toggle = function () {
var e = this.getElement();
setTimeout(function () {
var t = e.data();
i("#top-list-more").hasClass("show") ? e.html(t.close) : e.html(t.open)
}
, h.get("collapse_duration") + 100)
}
, e
}
(), be = '[data-toggle="collapse"][data-target="#top-list-more"]', J =
{
CLICK: "click.app.sidebar.data-api"
};
!function () {
function e() {
}
return e.getElement = function () {
return i("#sidebar")
}
, e
}
().getElement().is(":visible") || (bS = new c, i(document).on(J.CLICK, be, function () {
bS.toggle()
}
));
var bT = "bs.tab", Un = (E = "." + bT, i.fn.tab), Kn =
{
HIDE: "hide" + E, HIDDEN: "hidden" + E, SHOW: "show" + E, SHOWN: "shown" + E, CLICK_DATA_API: "click" + E + ".data-api"
}
, Vn = "active", zn = ".active", $n = "> li > .active", Yn = (c = '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]', function () {
function e(e) {
this._element = e
}
var t = e.prototype;
return t.show = function () {
var e, t, n, o, a, s, l = this;
this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && i(this._element).hasClass(Vn) || i(this._element).hasClass("disabled") || (s = i(this._element).closest(".nav, .list-group")[0], t = r.getSelectorFromElement(this._element), s && (a = "UL" === s.nodeName || "OL" === s.nodeName ? $n : zn, n = (n = i.makeArray(i(s).find(a)))[n.length - 1]), o = i.Event(Kn.HIDE,
{
relatedTarget: this._element
}
), a = i.Event(Kn.SHOW,
{
relatedTarget: n
}
), n && i(n).trigger(o), i(this._element).trigger(a), a.isDefaultPrevented() || o.isDefaultPrevented() || (t && (e = document.querySelector(t)), this._activate(this._element, s), s = function () {
var e = i.Event(Kn.HIDDEN,
{
relatedTarget: l._element
}
), t = i.Event(Kn.SHOWN,
{
relatedTarget: n
}
);
i(n).trigger(e), i(l._element).trigger(t)
}
, e ? this._activate(e, e.parentNode, s) : s()))
}
, t.dispose = function () {
i.removeData(this._element, bT), this._element = null
}
, t._activate = function (e, t, n) {
var o = this, a = (!t || "UL" !== t.nodeName && "OL" !== t.nodeName ? i(t).children(zn) : i(t).find($n))[0], s = n && a && i(a).hasClass("fade");
t = function () {
return o._transitionComplete(e, a, n)
};
a && s ? (s = r.getTransitionDurationFromElement(a), i(a).removeClass("show").one(r.TRANSITION_END, t).emulateTransitionEnd(s)) : t()
}
, t._transitionComplete = function (e, t, n) {
var o;
t && (i(t).removeClass(Vn), (o = i(t.parentNode).find("> .dropdown-menu .active")[0]) && i(o).removeClass(Vn), "tab" === t.getAttribute("role") && t.setAttribute("aria-selected", !1)), i(e).addClass(Vn), "tab" === e.getAttribute("role") && e.setAttribute("aria-selected", !0), r.reflow(e), e.classList.contains("fade") && e.classList.add("show"), e.parentNode && i(e.parentNode).hasClass("dropdown-menu") && ((t = i(e).closest(".dropdown")[0]) && (t = [].slice.call(t.querySelectorAll(".dropdown-toggle")), i(t).addClass(Vn)), e.setAttribute("aria-expanded", !0)), n && n()
}
, e._jQueryInterface = function (t) {
return this.each(function () {
var n = i(this), o = n.data(bT);
if (o || (o = new e(this), n.data(bT, o)), "string" == typeof t) {
if (void 0 === o[t]) throw new TypeError('No method named "' + t + '"');
o[t]()
}
}
)
}
, g(e, null, [
{
key: "VERSION", get: function () {
return "4.4.1"
}
}
]), e
}
());
i(document).on(Kn.CLICK_DATA_API, c, function (e) {
e.preventDefault(), Yn._jQueryInterface.call(i(this), "show")
}
), i.fn.tab = Yn._jQueryInterface, i.fn.tab.Constructor = Yn, i.fn.tab.noConflict = function () {
return i.fn.tab = Un, Yn._jQueryInterface
};
E = "form[novalidate]", c = 'input[type="text"], input[type="email"], input[type="search"], textarea.form-control', be =
{
SUBMIT: "submit" + (J = ".app.captcha") + (be = ".data-api"), CHANGE: "change" + J + be + " keypress" + J + be + " keyup" + J + be
};
var bU = "was-validated";
i(document).on(be.CHANGE, c, function () {
a.setInputDirectionClass(this)
}
), i(c).each(function () {
a.setInputDirectionClass(this)
}
), i(function () {
a.updateFarsiNumber(document.body)
}
), i(document).on(be.SUBMIT, E, function (e) {
var t = i(this);
!1 === this.checkValidity() && (e.preventDefault(), e.stopPropagation(), t.addClass(bU), setTimeout(function () {
t.removeClass(bU)
}
, 1e4))
}
), d.set("$", i), d.set("jQuery", i), e.Ajax = l, e.Captcha = u, e.Config = h, e.Cookie = p, e.Loading = j, e.t2oast = w, e.Viewport = T, Object.defineProperty(e, "__esModule",
{
value: !0
}
)
}
);

Back to list