bloom-player 2.21.0 → 2.21.1-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/shared.es.js
CHANGED
|
@@ -70,7 +70,7 @@ function fs(s) {
|
|
|
70
70
|
function ds() {
|
|
71
71
|
return wt;
|
|
72
72
|
}
|
|
73
|
-
let Mr, zi, Jt = "",
|
|
73
|
+
let Mr, zi, Jt = "", et = [], Nt = [];
|
|
74
74
|
const Ii = new mi(), Er = new mi(), Tn = new mi(), ca = new mi(), Hi = new mi();
|
|
75
75
|
let pi = 0, Hn = !0;
|
|
76
76
|
function ua(s) {
|
|
@@ -86,8 +86,8 @@ function hs(s, c) {
|
|
|
86
86
|
function gi(s, c) {
|
|
87
87
|
fs(c), zi = s;
|
|
88
88
|
const d = Pt();
|
|
89
|
-
d && (s.length == 0 && d.pause(), d.currentTime = 0), ++pi, ps(s),
|
|
90
|
-
const h =
|
|
89
|
+
d && (s.length == 0 && d.pause(), d.currentTime = 0), ++pi, ps(s), et = ls(s).reverse();
|
|
90
|
+
const h = et.length;
|
|
91
91
|
if (h === 0) {
|
|
92
92
|
Er && Er?.raise(c), Kt(
|
|
93
93
|
4
|
|
@@ -100,8 +100,8 @@ function gi(s, c) {
|
|
|
100
100
|
}, Di * 1e3));
|
|
101
101
|
return;
|
|
102
102
|
}
|
|
103
|
-
const T =
|
|
104
|
-
Yn(), h >= 2 && Xn(
|
|
103
|
+
const T = et[h - 1];
|
|
104
|
+
Yn(), h >= 2 && Xn(et[h - 2]), _n(T, !0), Kt(
|
|
105
105
|
4
|
|
106
106
|
/* AudioPlaying */
|
|
107
107
|
), Rn();
|
|
@@ -217,9 +217,9 @@ function Rn() {
|
|
|
217
217
|
), Cr = !1;
|
|
218
218
|
const T = s.play();
|
|
219
219
|
++pi, Oi = (/* @__PURE__ */ new Date()).getTime(), zr(pi);
|
|
220
|
-
const L =
|
|
220
|
+
const L = et.length - 2;
|
|
221
221
|
L >= 0 && Xn(
|
|
222
|
-
|
|
222
|
+
et[L]
|
|
223
223
|
), Wn(T);
|
|
224
224
|
}
|
|
225
225
|
}
|
|
@@ -434,17 +434,17 @@ function fa() {
|
|
|
434
434
|
ei === 4 && _i(!1);
|
|
435
435
|
}
|
|
436
436
|
function _i(s = !0) {
|
|
437
|
-
if (Hi && Hi?.raise(!1), Hr(),
|
|
438
|
-
const c =
|
|
437
|
+
if (Hi && Hi?.raise(!1), Hr(), et && et.length > 0) {
|
|
438
|
+
const c = et.pop(), d = et.length;
|
|
439
439
|
if (d > 0 && s) {
|
|
440
|
-
const h =
|
|
440
|
+
const h = et[d - 1];
|
|
441
441
|
_n(h, !0), Rn();
|
|
442
442
|
} else
|
|
443
443
|
Cs(), Ir(c), Pt().pause();
|
|
444
444
|
}
|
|
445
445
|
}
|
|
446
446
|
function Cs() {
|
|
447
|
-
|
|
447
|
+
et = [], Nt = [], Ir(), Ii?.raise(wt), Er?.raise();
|
|
448
448
|
}
|
|
449
449
|
function Hr() {
|
|
450
450
|
if (!Oi || !Tr)
|
|
@@ -500,7 +500,7 @@ function ha() {
|
|
|
500
500
|
4
|
|
501
501
|
/* AudioPlaying */
|
|
502
502
|
), zi.length && Pt())
|
|
503
|
-
if (
|
|
503
|
+
if (et.length) {
|
|
504
504
|
Wn(Pt().play()), Oi = (/* @__PURE__ */ new Date()).getTime(), zr(pi);
|
|
505
505
|
return;
|
|
506
506
|
} else {
|
|
@@ -667,18 +667,20 @@ function Hs(s) {
|
|
|
667
667
|
}
|
|
668
668
|
}
|
|
669
669
|
const ji = ".bloom-textOverPicture, .bloom-canvas-element";
|
|
670
|
-
let Ar = [], Wi = /* @__PURE__ */ new Map(),
|
|
670
|
+
let Ar = [], Wi = /* @__PURE__ */ new Map(), Qe, Zn, Fi = /* @__PURE__ */ new Map();
|
|
671
671
|
const Os = (s) => {
|
|
672
|
-
Fi =
|
|
673
|
-
Fi.
|
|
672
|
+
Fi = /* @__PURE__ */ new Map(), s.querySelectorAll("[data-draggable-id]").forEach((c) => {
|
|
673
|
+
Fi.set(c.getAttribute("data-draggable-id"), {
|
|
674
674
|
x: c.style.left,
|
|
675
|
-
y: c.style.top
|
|
676
|
-
elt: c
|
|
675
|
+
y: c.style.top
|
|
677
676
|
});
|
|
678
677
|
});
|
|
679
|
-
}, Wr = () => {
|
|
680
|
-
|
|
681
|
-
|
|
678
|
+
}, Wr = (s) => {
|
|
679
|
+
s.querySelectorAll("[data-draggable-id]").forEach((c) => {
|
|
680
|
+
const d = Fi.get(
|
|
681
|
+
c.getAttribute("data-draggable-id")
|
|
682
|
+
);
|
|
683
|
+
d && (c.style.left = d.x, c.style.top = d.y, c.classList.remove("bloom-draggedToTarget"));
|
|
682
684
|
});
|
|
683
685
|
};
|
|
684
686
|
function Bs(s) {
|
|
@@ -700,7 +702,7 @@ function Fr(s) {
|
|
|
700
702
|
return s.closest("#page-scaling-container") !== null;
|
|
701
703
|
}
|
|
702
704
|
function va(s, c) {
|
|
703
|
-
|
|
705
|
+
Qe = s, Bs(s), Zn = c, vo(
|
|
704
706
|
s.getAttribute("data-show-answers-in-targets") === "true" || s.getAttribute("data-show-target-as-shadow") === "true",
|
|
705
707
|
s
|
|
706
708
|
), Os(s), Array.from(
|
|
@@ -796,7 +798,7 @@ const qs = (s) => {
|
|
|
796
798
|
Rr(c), c.play();
|
|
797
799
|
};
|
|
798
800
|
function ya(s) {
|
|
799
|
-
qr(), Wr(),
|
|
801
|
+
s === Qe && qr(), Wr(s), s === Qe && Fi.clear(), Array.from(
|
|
800
802
|
s.getElementsByClassName(
|
|
801
803
|
"bloom-change-page-button"
|
|
802
804
|
)
|
|
@@ -942,10 +944,10 @@ function xa(s, c) {
|
|
|
942
944
|
return s.innerText.trim() === c.innerText.trim();
|
|
943
945
|
}
|
|
944
946
|
const no = (s) => {
|
|
945
|
-
if (!
|
|
947
|
+
if (!Qe)
|
|
946
948
|
return;
|
|
947
|
-
Wr(),
|
|
948
|
-
const h = d.getAttribute("data-draggable-id"), T =
|
|
949
|
+
Wr(Qe), Qe.querySelectorAll("[data-draggable-id]").forEach((d) => {
|
|
950
|
+
const h = d.getAttribute("data-draggable-id"), T = Qe?.querySelector(
|
|
949
951
|
`[data-target-of="${h}"]`
|
|
950
952
|
);
|
|
951
953
|
if (!T)
|
|
@@ -963,23 +965,23 @@ const no = (s) => {
|
|
|
963
965
|
const D = T.offsetLeft + (T.offsetWidth - L) / 2, k = T.offsetTop + (T.offsetHeight - z) / 2;
|
|
964
966
|
d.style.left = D + "px", d.style.top = k + "px";
|
|
965
967
|
}), Array.from(
|
|
966
|
-
|
|
968
|
+
Qe.getElementsByClassName(
|
|
967
969
|
"drag-item-random-sentence"
|
|
968
970
|
)
|
|
969
971
|
).forEach((d) => {
|
|
970
972
|
const h = d.getAttribute("data-answer")?.split(" ") ?? [], T = d.children[0];
|
|
971
973
|
d.innerHTML = "", to(
|
|
972
|
-
|
|
974
|
+
Qe,
|
|
973
975
|
h,
|
|
974
976
|
d,
|
|
975
977
|
T,
|
|
976
978
|
!1
|
|
977
979
|
);
|
|
978
|
-
}), jt(
|
|
980
|
+
}), jt(Qe, "drag-activity-wrong", !1), jt(Qe, "drag-activity-solution", !0);
|
|
979
981
|
const c = [];
|
|
980
|
-
|
|
982
|
+
Qe.querySelectorAll("[data-draggable-id]").forEach((d) => {
|
|
981
983
|
const h = d.getAttribute("data-draggable-id");
|
|
982
|
-
|
|
984
|
+
Qe?.querySelector(
|
|
983
985
|
`[data-target-of="${h}"]`
|
|
984
986
|
) && c.push(
|
|
985
987
|
...Array.from(d.getElementsByTagName("video"))
|
|
@@ -1037,7 +1039,7 @@ const Yi = (s) => s.getBoundingClientRect().width / s.offsetWidth, oo = (s) => {
|
|
|
1037
1039
|
return Vs(d, h), ro(1, h ? 1 : 0), h;
|
|
1038
1040
|
}, co = (s) => {
|
|
1039
1041
|
const d = s.currentTarget.closest(".bloom-page");
|
|
1040
|
-
jt(d, "drag-activity-correct", !1), jt(d, "drag-activity-wrong", !1), jt(d, "drag-activity-solution", !1), Wr(), qr();
|
|
1042
|
+
jt(d, "drag-activity-correct", !1), jt(d, "drag-activity-wrong", !1), jt(d, "drag-activity-solution", !1), Wr(d), qr();
|
|
1041
1043
|
}, jt = (s, c, d) => {
|
|
1042
1044
|
d ? s.parentElement?.classList.add(c) : s.parentElement?.classList.remove(c);
|
|
1043
1045
|
};
|
|
@@ -1443,7 +1445,7 @@ function yo() {
|
|
|
1443
1445
|
},
|
|
1444
1446
|
each: function(t, i) {
|
|
1445
1447
|
var r, n = 0;
|
|
1446
|
-
if (
|
|
1448
|
+
if (lt(t))
|
|
1447
1449
|
for (r = t.length; n < r && i.call(t[n], n, t[n]) !== !1; n++)
|
|
1448
1450
|
;
|
|
1449
1451
|
else
|
|
@@ -1463,7 +1465,7 @@ function yo() {
|
|
|
1463
1465
|
// results is for internal usage only
|
|
1464
1466
|
makeArray: function(t, i) {
|
|
1465
1467
|
var r = i || [];
|
|
1466
|
-
return t != null && (
|
|
1468
|
+
return t != null && (lt(Object(t)) ? o.merge(
|
|
1467
1469
|
r,
|
|
1468
1470
|
typeof t == "string" ? [t] : t
|
|
1469
1471
|
) : D.call(r, t)), r;
|
|
@@ -1490,7 +1492,7 @@ function yo() {
|
|
|
1490
1492
|
// arg is for internal usage only
|
|
1491
1493
|
map: function(t, i, r) {
|
|
1492
1494
|
var n, a, l = 0, u = [];
|
|
1493
|
-
if (
|
|
1495
|
+
if (lt(t))
|
|
1494
1496
|
for (n = t.length; l < n; l++)
|
|
1495
1497
|
a = i(t[l], l, r), a != null && u.push(a);
|
|
1496
1498
|
else
|
|
@@ -1509,7 +1511,7 @@ function yo() {
|
|
|
1509
1511
|
q["[object " + i + "]"] = i.toLowerCase();
|
|
1510
1512
|
}
|
|
1511
1513
|
);
|
|
1512
|
-
function
|
|
1514
|
+
function lt(t) {
|
|
1513
1515
|
var i = !!t && "length" in t && t.length, r = Ve(t);
|
|
1514
1516
|
return G(t) || Ee(t) ? !1 : r === "array" || i === 0 || typeof i == "number" && i > 0 && i - 1 in t;
|
|
1515
1517
|
}
|
|
@@ -1537,23 +1539,23 @@ function yo() {
|
|
|
1537
1539
|
(function() {
|
|
1538
1540
|
var t, i, r, n, a, l = De, u, y, m, w, P, O = o.expando, A = 0, R = 0, ie = xi(), de = xi(), ne = xi(), Oe = xi(), Pe = function(p, b) {
|
|
1539
1541
|
return p === b && (a = !0), 0;
|
|
1540
|
-
},
|
|
1542
|
+
}, ut = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", ft = "(?:\\\\[\\da-fA-F]{1,6}" + j + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", ce = "\\[" + j + "*(" + ft + ")(?:" + j + // Operator (capture 2)
|
|
1541
1543
|
"*([*^$|!~]?=)" + j + // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]"
|
|
1542
|
-
`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(` +
|
|
1543
|
-
ID: new RegExp("^#(" +
|
|
1544
|
-
CLASS: new RegExp("^\\.(" +
|
|
1545
|
-
TAG: new RegExp("^(" +
|
|
1544
|
+
`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(` + ft + "))|)" + j + "*\\]", qt = ":(" + ft + `)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|` + ce + ")*)|.*)\\)|)", he = new RegExp(j + "+", "g"), Se = new RegExp("^" + j + "*," + j + "*"), li = new RegExp("^" + j + "*([>+~]|" + j + ")" + j + "*"), fr = new RegExp(j + "|>"), dt = new RegExp(qt), ci = new RegExp("^" + ft + "$"), ht = {
|
|
1545
|
+
ID: new RegExp("^#(" + ft + ")"),
|
|
1546
|
+
CLASS: new RegExp("^\\.(" + ft + ")"),
|
|
1547
|
+
TAG: new RegExp("^(" + ft + "|[*])"),
|
|
1546
1548
|
ATTR: new RegExp("^" + ce),
|
|
1547
1549
|
PSEUDO: new RegExp("^" + qt),
|
|
1548
1550
|
CHILD: new RegExp(
|
|
1549
1551
|
"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + j + "*(even|odd|(([+-]|)(\\d*)n|)" + j + "*(?:([+-]|)" + j + "*(\\d+)|))" + j + "*\\)|)",
|
|
1550
1552
|
"i"
|
|
1551
1553
|
),
|
|
1552
|
-
bool: new RegExp("^(?:" +
|
|
1554
|
+
bool: new RegExp("^(?:" + ut + ")$", "i"),
|
|
1553
1555
|
// For use in libraries implementing .is()
|
|
1554
1556
|
// We use this for POS matching in `select`
|
|
1555
1557
|
needsContext: new RegExp("^" + j + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + j + "*((?:-\\d)?\\d*)" + j + "*\\)|)(?=[^-]|$)", "i")
|
|
1556
|
-
}, At = /^(?:input|select|textarea|button)$/i, kt = /^h\d$/i,
|
|
1558
|
+
}, At = /^(?:input|select|textarea|button)$/i, kt = /^h\d$/i, rt = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, dr = /[+~]/, yt = new RegExp("\\\\[\\da-fA-F]{1,6}" + j + "?|\\\\([^\\r\\n\\f])", "g"), bt = function(p, b) {
|
|
1557
1559
|
var E = "0x" + p.slice(1) - 65536;
|
|
1558
1560
|
return b || (E < 0 ? String.fromCharCode(E + 65536) : String.fromCharCode(E >> 10 | 55296, E & 1023 | 56320));
|
|
1559
1561
|
}, Qo = function() {
|
|
@@ -1590,7 +1592,7 @@ function yo() {
|
|
|
1590
1592
|
if (E = E || [], typeof p != "string" || !p || ae !== 1 && ae !== 9 && ae !== 11)
|
|
1591
1593
|
return E;
|
|
1592
1594
|
if (!N && (Lt(b), b = b || u, m)) {
|
|
1593
|
-
if (ae !== 11 && (X =
|
|
1595
|
+
if (ae !== 11 && (X = rt.exec(p)))
|
|
1594
1596
|
if (I = X[1]) {
|
|
1595
1597
|
if (ae === 9)
|
|
1596
1598
|
if ($ = b.getElementById(I)) {
|
|
@@ -1633,7 +1635,7 @@ function yo() {
|
|
|
1633
1635
|
}
|
|
1634
1636
|
return b;
|
|
1635
1637
|
}
|
|
1636
|
-
function
|
|
1638
|
+
function at(p) {
|
|
1637
1639
|
return p[O] = !0, p;
|
|
1638
1640
|
}
|
|
1639
1641
|
function Yt(p) {
|
|
@@ -1663,8 +1665,8 @@ function yo() {
|
|
|
1663
1665
|
};
|
|
1664
1666
|
}
|
|
1665
1667
|
function Rt(p) {
|
|
1666
|
-
return
|
|
1667
|
-
return b = +b,
|
|
1668
|
+
return at(function(b) {
|
|
1669
|
+
return b = +b, at(function(E, N) {
|
|
1668
1670
|
for (var I, F = p([], E.length, b), $ = F.length; $--; )
|
|
1669
1671
|
E[I = F[$]] && (E[I] = !(N[I] = E[I]));
|
|
1670
1672
|
});
|
|
@@ -1726,7 +1728,7 @@ function yo() {
|
|
|
1726
1728
|
return I.getElementsByClassName(N);
|
|
1727
1729
|
}, w = [], Yt(function(N) {
|
|
1728
1730
|
var I;
|
|
1729
|
-
y.appendChild(N).innerHTML = "<a id='" + O + "' href='' disabled='disabled'></a><select id='" + O + "-\r\\' disabled='disabled'><option selected=''></option></select>", N.querySelectorAll("[selected]").length || w.push("\\[" + j + "*(?:value|" +
|
|
1731
|
+
y.appendChild(N).innerHTML = "<a id='" + O + "' href='' disabled='disabled'></a><select id='" + O + "-\r\\' disabled='disabled'><option selected=''></option></select>", N.querySelectorAll("[selected]").length || w.push("\\[" + j + "*(?:value|" + ut + ")"), N.querySelectorAll("[id~=" + O + "-]").length || w.push("~="), N.querySelectorAll("a#" + O + "+*").length || w.push(".#.+[+~]"), N.querySelectorAll(":checked").length || w.push(":checked"), I = u.createElement("input"), I.setAttribute("type", "hidden"), N.appendChild(I).setAttribute("name", "D"), y.appendChild(N).disabled = !0, N.querySelectorAll(":disabled").length !== 2 && w.push(":enabled", ":disabled"), I = u.createElement("input"), I.setAttribute("name", ""), N.appendChild(I), N.querySelectorAll("[name='']").length || w.push("\\[" + j + "*name" + j + "*=" + j + `*(?:''|"")`);
|
|
1730
1732
|
}), V.cssHas || w.push(":has"), w = w.length && new RegExp(w.join("|")), Pe = function(N, I) {
|
|
1731
1733
|
if (N === I)
|
|
1732
1734
|
return a = !0, 0;
|
|
@@ -1773,8 +1775,8 @@ function yo() {
|
|
|
1773
1775
|
}, i = o.expr = {
|
|
1774
1776
|
// Can be adjusted by the user
|
|
1775
1777
|
cacheLength: 50,
|
|
1776
|
-
createPseudo:
|
|
1777
|
-
match:
|
|
1778
|
+
createPseudo: at,
|
|
1779
|
+
match: ht,
|
|
1778
1780
|
attrHandle: {},
|
|
1779
1781
|
find: {},
|
|
1780
1782
|
relative: {
|
|
@@ -1792,7 +1794,7 @@ function yo() {
|
|
|
1792
1794
|
},
|
|
1793
1795
|
PSEUDO: function(p) {
|
|
1794
1796
|
var b, E = !p[6] && p[2];
|
|
1795
|
-
return
|
|
1797
|
+
return ht.CHILD.test(p[0]) ? null : (p[3] ? p[2] = p[4] || p[5] || "" : E && dt.test(E) && // Get excess from tokenize (recursively)
|
|
1796
1798
|
(b = ui(E, !0)) && // advance to the next closing parenthesis
|
|
1797
1799
|
(b = E.indexOf(")", E.length - b) - E.length) && (p[0] = p[0].slice(0, b), p[2] = E.slice(0, b)), p.slice(0, 3));
|
|
1798
1800
|
}
|
|
@@ -1828,26 +1830,26 @@ function yo() {
|
|
|
1828
1830
|
return !!X.parentNode;
|
|
1829
1831
|
}
|
|
1830
1832
|
) : function(X, se, te) {
|
|
1831
|
-
var re, ae, J, xe, Ue, Be = F !== $ ? "nextSibling" : "previousSibling",
|
|
1832
|
-
if (
|
|
1833
|
+
var re, ae, J, xe, Ue, Be = F !== $ ? "nextSibling" : "previousSibling", nt = X.parentNode, pt = Y && X.nodeName.toLowerCase(), Ut = !te && !Y, We = !1;
|
|
1834
|
+
if (nt) {
|
|
1833
1835
|
if (F) {
|
|
1834
1836
|
for (; Be; ) {
|
|
1835
1837
|
for (J = X; J = J[Be]; )
|
|
1836
|
-
if (Y ? me(J,
|
|
1838
|
+
if (Y ? me(J, pt) : J.nodeType === 1)
|
|
1837
1839
|
return !1;
|
|
1838
1840
|
Ue = Be = p === "only" && !Ue && "nextSibling";
|
|
1839
1841
|
}
|
|
1840
1842
|
return !0;
|
|
1841
1843
|
}
|
|
1842
|
-
if (Ue = [$ ?
|
|
1843
|
-
for (ae =
|
|
1844
|
+
if (Ue = [$ ? nt.firstChild : nt.lastChild], $ && Ut) {
|
|
1845
|
+
for (ae = nt[O] || (nt[O] = {}), re = ae[p] || [], xe = re[0] === A && re[1], We = xe && re[2], J = xe && nt.childNodes[xe]; J = ++xe && J && J[Be] || // Fallback to seeking `elem` from the start
|
|
1844
1846
|
(We = xe = 0) || Ue.pop(); )
|
|
1845
1847
|
if (J.nodeType === 1 && ++We && J === X) {
|
|
1846
1848
|
ae[p] = [A, xe, We];
|
|
1847
1849
|
break;
|
|
1848
1850
|
}
|
|
1849
1851
|
} else if (Ut && (ae = X[O] || (X[O] = {}), re = ae[p] || [], xe = re[0] === A && re[1], We = xe), We === !1)
|
|
1850
|
-
for (; (J = ++xe && J && J[Be] || (We = xe = 0) || Ue.pop()) && !((Y ? me(J,
|
|
1852
|
+
for (; (J = ++xe && J && J[Be] || (We = xe = 0) || Ue.pop()) && !((Y ? me(J, pt) : J.nodeType === 1) && ++We && (Ut && (ae = J[O] || (J[O] = {}), ae[p] = [A, We]), J === X)); )
|
|
1851
1853
|
;
|
|
1852
1854
|
return We -= I, We === N || We % N === 0 && We / N >= 0;
|
|
1853
1855
|
}
|
|
@@ -1855,7 +1857,7 @@ function yo() {
|
|
|
1855
1857
|
},
|
|
1856
1858
|
PSEUDO: function(p, b) {
|
|
1857
1859
|
var E, N = i.pseudos[p] || i.setFilters[p.toLowerCase()] || be.error("unsupported pseudo: " + p);
|
|
1858
|
-
return N[O] ? N(b) : N.length > 1 ? (E = [p, p, "", b], i.setFilters.hasOwnProperty(p.toLowerCase()) ?
|
|
1860
|
+
return N[O] ? N(b) : N.length > 1 ? (E = [p, p, "", b], i.setFilters.hasOwnProperty(p.toLowerCase()) ? at(function(I, F) {
|
|
1859
1861
|
for (var $, Y = N(I, b), X = Y.length; X--; )
|
|
1860
1862
|
$ = k.call(I, Y[X]), I[$] = !(F[$] = Y[X]);
|
|
1861
1863
|
}) : function(I) {
|
|
@@ -1865,21 +1867,21 @@ function yo() {
|
|
|
1865
1867
|
},
|
|
1866
1868
|
pseudos: {
|
|
1867
1869
|
// Potentially complex pseudos
|
|
1868
|
-
not:
|
|
1870
|
+
not: at(function(p) {
|
|
1869
1871
|
var b = [], E = [], N = vr(p.replace(C, "$1"));
|
|
1870
|
-
return N[O] ?
|
|
1872
|
+
return N[O] ? at(function(I, F, $, Y) {
|
|
1871
1873
|
for (var X, se = N(I, null, Y, []), te = I.length; te--; )
|
|
1872
1874
|
(X = se[te]) && (I[te] = !(F[te] = X));
|
|
1873
1875
|
}) : function(I, F, $) {
|
|
1874
1876
|
return b[0] = I, N(b, null, $, E), b[0] = null, !E.pop();
|
|
1875
1877
|
};
|
|
1876
1878
|
}),
|
|
1877
|
-
has:
|
|
1879
|
+
has: at(function(p) {
|
|
1878
1880
|
return function(b) {
|
|
1879
1881
|
return be(p, b).length > 0;
|
|
1880
1882
|
};
|
|
1881
1883
|
}),
|
|
1882
|
-
contains:
|
|
1884
|
+
contains: at(function(p) {
|
|
1883
1885
|
return p = p.replace(yt, bt), function(b) {
|
|
1884
1886
|
return (b.textContent || o.text(b)).indexOf(p) > -1;
|
|
1885
1887
|
};
|
|
@@ -1891,7 +1893,7 @@ function yo() {
|
|
|
1891
1893
|
// The matching of C against the element's language value is performed case-insensitively.
|
|
1892
1894
|
// The identifier C does not have to be a valid language name."
|
|
1893
1895
|
// https://www.w3.org/TR/selectors/#lang-pseudo
|
|
1894
|
-
lang:
|
|
1896
|
+
lang: at(function(p) {
|
|
1895
1897
|
return ci.test(p || "") || be.error("unsupported lang: " + p), p = p.replace(yt, bt).toLowerCase(), function(b) {
|
|
1896
1898
|
var E;
|
|
1897
1899
|
do
|
|
@@ -1999,7 +2001,7 @@ function yo() {
|
|
|
1999
2001
|
type: N[0].replace(C, " ")
|
|
2000
2002
|
}), $ = $.slice(E.length));
|
|
2001
2003
|
for (F in i.filter)
|
|
2002
|
-
(N =
|
|
2004
|
+
(N = ht[F].exec($)) && (!X[F] || (N = X[F](N))) && (E = N.shift(), I.push({
|
|
2003
2005
|
value: E,
|
|
2004
2006
|
type: F,
|
|
2005
2007
|
matches: N
|
|
@@ -2069,26 +2071,26 @@ function yo() {
|
|
|
2069
2071
|
return $;
|
|
2070
2072
|
}
|
|
2071
2073
|
function gr(p, b, E, N, I, F) {
|
|
2072
|
-
return N && !N[O] && (N = gr(N)), I && !I[O] && (I = gr(I, F)),
|
|
2073
|
-
var te, re, ae, J, xe = [], Ue = [], Be = Y.length,
|
|
2074
|
+
return N && !N[O] && (N = gr(N)), I && !I[O] && (I = gr(I, F)), at(function($, Y, X, se) {
|
|
2075
|
+
var te, re, ae, J, xe = [], Ue = [], Be = Y.length, nt = $ || ns(
|
|
2074
2076
|
b || "*",
|
|
2075
2077
|
X.nodeType ? [X] : X,
|
|
2076
2078
|
[]
|
|
2077
|
-
),
|
|
2079
|
+
), pt = p && ($ || !b) ? Ei(nt, xe, p, X, se) : nt;
|
|
2078
2080
|
if (E ? (J = I || ($ ? p : Be || N) ? (
|
|
2079
2081
|
// ...intermediate processing is necessary
|
|
2080
2082
|
[]
|
|
2081
2083
|
) : (
|
|
2082
2084
|
// ...otherwise use results directly
|
|
2083
2085
|
Y
|
|
2084
|
-
), E(
|
|
2086
|
+
), E(pt, J, X, se)) : J = pt, N)
|
|
2085
2087
|
for (te = Ei(J, Ue), N(te, [], X, se), re = te.length; re--; )
|
|
2086
|
-
(ae = te[re]) && (J[Ue[re]] = !(
|
|
2088
|
+
(ae = te[re]) && (J[Ue[re]] = !(pt[Ue[re]] = ae));
|
|
2087
2089
|
if ($) {
|
|
2088
2090
|
if (I || p) {
|
|
2089
2091
|
if (I) {
|
|
2090
2092
|
for (te = [], re = J.length; re--; )
|
|
2091
|
-
(ae = J[re]) && te.push(
|
|
2093
|
+
(ae = J[re]) && te.push(pt[re] = ae);
|
|
2092
2094
|
I(null, J = [], te, se);
|
|
2093
2095
|
}
|
|
2094
2096
|
for (re = J.length; re--; )
|
|
@@ -2133,8 +2135,8 @@ function yo() {
|
|
|
2133
2135
|
}
|
|
2134
2136
|
function os(p, b) {
|
|
2135
2137
|
var E = b.length > 0, N = p.length > 0, I = function(F, $, Y, X, se) {
|
|
2136
|
-
var te, re, ae, J = 0, xe = "0", Ue = F && [], Be = [],
|
|
2137
|
-
for (se && (r = $ == u || $ || se); xe !== We && (te =
|
|
2138
|
+
var te, re, ae, J = 0, xe = "0", Ue = F && [], Be = [], nt = r, pt = F || N && i.find.TAG("*", se), Ut = A += nt == null ? 1 : Math.random() || 0.1, We = pt.length;
|
|
2139
|
+
for (se && (r = $ == u || $ || se); xe !== We && (te = pt[xe]) != null; xe++) {
|
|
2138
2140
|
if (N && te) {
|
|
2139
2141
|
for (re = 0, !$ && te.ownerDocument != u && (Lt(te), Y = !m); ae = p[re++]; )
|
|
2140
2142
|
if (ae(te, $ || u, Y)) {
|
|
@@ -2156,9 +2158,9 @@ function yo() {
|
|
|
2156
2158
|
}
|
|
2157
2159
|
l.apply(X, Be), se && !F && Be.length > 0 && J + b.length > 1 && o.uniqueSort(X);
|
|
2158
2160
|
}
|
|
2159
|
-
return se && (A = Ut, r =
|
|
2161
|
+
return se && (A = Ut, r = nt), Ue;
|
|
2160
2162
|
};
|
|
2161
|
-
return E ?
|
|
2163
|
+
return E ? at(I) : I;
|
|
2162
2164
|
}
|
|
2163
2165
|
function vr(p, b) {
|
|
2164
2166
|
var E, N = [], I = [], F = ne[p + " "];
|
|
@@ -2184,7 +2186,7 @@ function yo() {
|
|
|
2184
2186
|
else return E;
|
|
2185
2187
|
p = p.slice(F.shift().value.length);
|
|
2186
2188
|
}
|
|
2187
|
-
for (I =
|
|
2189
|
+
for (I = ht.needsContext.test(p) ? 0 : F.length; I-- && ($ = F[I], !i.relative[Y = $.type]); )
|
|
2188
2190
|
if ((X = i.find[Y]) && (N = X(
|
|
2189
2191
|
$.matches[0].replace(yt, bt),
|
|
2190
2192
|
dr.test(F[0].type) && hr(b.parentNode) || b
|
|
@@ -2540,18 +2542,18 @@ function yo() {
|
|
|
2540
2542
|
function w(P, O, A, R) {
|
|
2541
2543
|
return function() {
|
|
2542
2544
|
var ie = this, de = arguments, ne = function() {
|
|
2543
|
-
var Pe,
|
|
2545
|
+
var Pe, ut;
|
|
2544
2546
|
if (!(P < m)) {
|
|
2545
2547
|
if (Pe = A.apply(ie, de), Pe === O.promise())
|
|
2546
2548
|
throw new TypeError("Thenable self-resolution");
|
|
2547
|
-
|
|
2549
|
+
ut = Pe && // Support: Promises/A+ section 2.3.4
|
|
2548
2550
|
// https://promisesaplus.com/#point-64
|
|
2549
2551
|
// Only check objects and functions for thenability
|
|
2550
|
-
(typeof Pe == "object" || typeof Pe == "function") && Pe.then, G(
|
|
2552
|
+
(typeof Pe == "object" || typeof Pe == "function") && Pe.then, G(ut) ? R ? ut.call(
|
|
2551
2553
|
Pe,
|
|
2552
2554
|
w(m, O, mt, R),
|
|
2553
2555
|
w(m, O, Mt, R)
|
|
2554
|
-
) : (m++,
|
|
2556
|
+
) : (m++, ut.call(
|
|
2555
2557
|
Pe,
|
|
2556
2558
|
w(m, O, mt, R),
|
|
2557
2559
|
w(m, O, Mt, R),
|
|
@@ -2677,12 +2679,12 @@ function yo() {
|
|
|
2677
2679
|
U.removeEventListener("DOMContentLoaded", Et), c.removeEventListener("load", Et), o.ready();
|
|
2678
2680
|
}
|
|
2679
2681
|
U.readyState === "complete" || U.readyState !== "loading" && !U.documentElement.doScroll ? c.setTimeout(o.ready) : (U.addEventListener("DOMContentLoaded", Et), c.addEventListener("load", Et));
|
|
2680
|
-
var
|
|
2682
|
+
var tt = function(t, i, r, n, a, l, u) {
|
|
2681
2683
|
var y = 0, m = t.length, w = r == null;
|
|
2682
2684
|
if (Ve(r) === "object") {
|
|
2683
2685
|
a = !0;
|
|
2684
2686
|
for (y in r)
|
|
2685
|
-
|
|
2687
|
+
tt(t, i, y, r[y], !0, l, u);
|
|
2686
2688
|
} else if (n !== void 0 && (a = !0, G(n) || (u = !0), w && (u ? (i.call(t, n), i = null) : (w = i, i = function(P, O, A) {
|
|
2687
2689
|
return w.call(o(P), A);
|
|
2688
2690
|
})), i))
|
|
@@ -2794,7 +2796,7 @@ function yo() {
|
|
|
2794
2796
|
}
|
|
2795
2797
|
return typeof t == "object" ? this.each(function() {
|
|
2796
2798
|
ee.set(this, t);
|
|
2797
|
-
}) :
|
|
2799
|
+
}) : tt(this, function(y) {
|
|
2798
2800
|
var m;
|
|
2799
2801
|
if (l && y === void 0)
|
|
2800
2802
|
return m = ee.get(l, t), m !== void 0 || (m = Re(l, t), m !== void 0) ? m : void 0;
|
|
@@ -2857,13 +2859,13 @@ function yo() {
|
|
|
2857
2859
|
return y(), a.promise(i);
|
|
2858
2860
|
}
|
|
2859
2861
|
});
|
|
2860
|
-
var Vt = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, Ht = new RegExp("^(?:([+-])=|)(" + Vt + ")([a-z%]*)$", "i"), Xe = ["Top", "Right", "Bottom", "Left"],
|
|
2862
|
+
var Vt = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, Ht = new RegExp("^(?:([+-])=|)(" + Vt + ")([a-z%]*)$", "i"), Xe = ["Top", "Right", "Bottom", "Left"], ct = U.documentElement, Ct = function(t) {
|
|
2861
2863
|
return o.contains(t.ownerDocument, t);
|
|
2862
2864
|
}, Ki = { composed: !0 };
|
|
2863
|
-
|
|
2865
|
+
ct.getRootNode && (Ct = function(t) {
|
|
2864
2866
|
return o.contains(t.ownerDocument, t) || t.getRootNode(Ki) === t.ownerDocument;
|
|
2865
2867
|
});
|
|
2866
|
-
var
|
|
2868
|
+
var it = function(t, i) {
|
|
2867
2869
|
return t = i || t, t.style.display === "none" || t.style.display === "" && // Otherwise, check computed style
|
|
2868
2870
|
// Support: Firefox <=43 - 45
|
|
2869
2871
|
// Disconnected elements can have computed display: none, so first confirm that elem is
|
|
@@ -2890,7 +2892,7 @@ function yo() {
|
|
|
2890
2892
|
}
|
|
2891
2893
|
function ue(t, i) {
|
|
2892
2894
|
for (var r, n, a = [], l = 0, u = t.length; l < u; l++)
|
|
2893
|
-
n = t[l], n.style && (r = n.style.display, i ? (r === "none" && (a[l] = M.get(n, "display") || null, a[l] || (n.style.display = "")), n.style.display === "" &&
|
|
2895
|
+
n = t[l], n.style && (r = n.style.display, i ? (r === "none" && (a[l] = M.get(n, "display") || null, a[l] || (n.style.display = "")), n.style.display === "" && it(n) && (a[l] = K(n))) : r !== "none" && (a[l] = "none", M.set(n, "display", r)));
|
|
2894
2896
|
for (l = 0; l < u; l++)
|
|
2895
2897
|
a[l] != null && (t[l].style.display = a[l]);
|
|
2896
2898
|
return t;
|
|
@@ -2904,7 +2906,7 @@ function yo() {
|
|
|
2904
2906
|
},
|
|
2905
2907
|
toggle: function(t) {
|
|
2906
2908
|
return typeof t == "boolean" ? t ? this.show() : this.hide() : this.each(function() {
|
|
2907
|
-
|
|
2909
|
+
it(this) ? o(this).show() : o(this).hide();
|
|
2908
2910
|
});
|
|
2909
2911
|
}
|
|
2910
2912
|
});
|
|
@@ -2960,7 +2962,7 @@ function yo() {
|
|
|
2960
2962
|
}
|
|
2961
2963
|
return O;
|
|
2962
2964
|
}
|
|
2963
|
-
var
|
|
2965
|
+
var ot = /^([^.]*)(?:\.(.+)|)/;
|
|
2964
2966
|
function Je() {
|
|
2965
2967
|
return !0;
|
|
2966
2968
|
}
|
|
@@ -2990,10 +2992,10 @@ function yo() {
|
|
|
2990
2992
|
add: function(t, i, r, n, a) {
|
|
2991
2993
|
var l, u, y, m, w, P, O, A, R, ie, de, ne = M.get(t);
|
|
2992
2994
|
if (H(t))
|
|
2993
|
-
for (r.handler && (l = r, r = l.handler, a = l.selector), a && o.find.matchesSelector(
|
|
2995
|
+
for (r.handler && (l = r, r = l.handler, a = l.selector), a && o.find.matchesSelector(ct, a), r.guid || (r.guid = o.guid++), (m = ne.events) || (m = ne.events = /* @__PURE__ */ Object.create(null)), (u = ne.handle) || (u = ne.handle = function(Oe) {
|
|
2994
2996
|
return typeof o < "u" && o.event.triggered !== Oe.type ? o.event.dispatch.apply(t, arguments) : void 0;
|
|
2995
2997
|
}), i = (i || "").match(He) || [""], w = i.length; w--; )
|
|
2996
|
-
y =
|
|
2998
|
+
y = ot.exec(i[w]) || [], R = de = y[1], ie = (y[2] || "").split(".").sort(), R && (O = o.event.special[R] || {}, R = (a ? O.delegateType : O.bindType) || R, O = o.event.special[R] || {}, P = o.extend({
|
|
2997
2999
|
type: R,
|
|
2998
3000
|
origType: de,
|
|
2999
3001
|
data: n,
|
|
@@ -3009,7 +3011,7 @@ function yo() {
|
|
|
3009
3011
|
var l, u, y, m, w, P, O, A, R, ie, de, ne = M.hasData(t) && M.get(t);
|
|
3010
3012
|
if (!(!ne || !(m = ne.events))) {
|
|
3011
3013
|
for (i = (i || "").match(He) || [""], w = i.length; w--; ) {
|
|
3012
|
-
if (y =
|
|
3014
|
+
if (y = ot.exec(i[w]) || [], R = de = y[1], ie = (y[2] || "").split(".").sort(), !R) {
|
|
3013
3015
|
for (R in m)
|
|
3014
3016
|
o.event.remove(t, R + i[w], r, n, !0);
|
|
3015
3017
|
continue;
|
|
@@ -3356,7 +3358,7 @@ function yo() {
|
|
|
3356
3358
|
return Kr(this, t);
|
|
3357
3359
|
},
|
|
3358
3360
|
text: function(t) {
|
|
3359
|
-
return
|
|
3361
|
+
return tt(this, function(i) {
|
|
3360
3362
|
return i === void 0 ? o.text(this) : this.empty().each(function() {
|
|
3361
3363
|
(this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) && (this.textContent = i);
|
|
3362
3364
|
});
|
|
@@ -3399,7 +3401,7 @@ function yo() {
|
|
|
3399
3401
|
});
|
|
3400
3402
|
},
|
|
3401
3403
|
html: function(t) {
|
|
3402
|
-
return
|
|
3404
|
+
return tt(this, function(i) {
|
|
3403
3405
|
var r = this[0] || {}, n = 0, a = this.length;
|
|
3404
3406
|
if (i === void 0 && r.nodeType === 1)
|
|
3405
3407
|
return r.innerHTML;
|
|
@@ -3450,9 +3452,9 @@ function yo() {
|
|
|
3450
3452
|
(function() {
|
|
3451
3453
|
function t() {
|
|
3452
3454
|
if (w) {
|
|
3453
|
-
m.style.cssText = "position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0", w.style.cssText = "position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",
|
|
3455
|
+
m.style.cssText = "position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0", w.style.cssText = "position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%", ct.appendChild(m).appendChild(w);
|
|
3454
3456
|
var P = c.getComputedStyle(w);
|
|
3455
|
-
r = P.top !== "1%", y = i(P.marginLeft) === 12, w.style.right = "60%", l = i(P.right) === 36, n = i(P.width) === 36, w.style.position = "absolute", a = i(w.offsetWidth / 3) === 12,
|
|
3457
|
+
r = P.top !== "1%", y = i(P.marginLeft) === 12, w.style.right = "60%", l = i(P.right) === 36, n = i(P.width) === 36, w.style.position = "absolute", a = i(w.offsetWidth / 3) === 12, ct.removeChild(m), w = null;
|
|
3456
3458
|
}
|
|
3457
3459
|
}
|
|
3458
3460
|
function i(P) {
|
|
@@ -3486,7 +3488,7 @@ function yo() {
|
|
|
3486
3488
|
// in computed dimensions. (gh-4529)
|
|
3487
3489
|
reliableTrDimensions: function() {
|
|
3488
3490
|
var P, O, A, R;
|
|
3489
|
-
return u == null && (P = U.createElement("table"), O = U.createElement("tr"), A = U.createElement("div"), P.style.cssText = "position:absolute;left:-11111px;border-collapse:separate", O.style.cssText = "box-sizing:content-box;border:1px solid", O.style.height = "1px", A.style.height = "9px", A.style.display = "block",
|
|
3491
|
+
return u == null && (P = U.createElement("table"), O = U.createElement("tr"), A = U.createElement("div"), P.style.cssText = "position:absolute;left:-11111px;border-collapse:separate", O.style.cssText = "box-sizing:content-box;border:1px solid", O.style.height = "1px", A.style.height = "9px", A.style.display = "block", ct.appendChild(P).appendChild(O).appendChild(A), R = c.getComputedStyle(O), u = parseInt(R.height, 10) + parseInt(R.borderTopWidth, 10) + parseInt(R.borderBottomWidth, 10) === O.offsetHeight, ct.removeChild(P)), u;
|
|
3490
3492
|
}
|
|
3491
3493
|
}));
|
|
3492
3494
|
})();
|
|
@@ -3680,7 +3682,7 @@ function yo() {
|
|
|
3680
3682
|
}, t !== "margin" && (o.cssHooks[t + i].set = on);
|
|
3681
3683
|
}), o.fn.extend({
|
|
3682
3684
|
css: function(t, i) {
|
|
3683
|
-
return
|
|
3685
|
+
return tt(this, function(r, n, a) {
|
|
3684
3686
|
var l, u, y = {}, m = 0;
|
|
3685
3687
|
if (Array.isArray(n)) {
|
|
3686
3688
|
for (l = yi(r), u = n.length; m < u; m++)
|
|
@@ -3752,12 +3754,12 @@ function yo() {
|
|
|
3752
3754
|
return i && (a.opacity = a.width = t), a;
|
|
3753
3755
|
}
|
|
3754
3756
|
function ln(t, i, r) {
|
|
3755
|
-
for (var n, a = (
|
|
3757
|
+
for (var n, a = (st.tweeners[i] || []).concat(st.tweeners["*"]), l = 0, u = a.length; l < u; l++)
|
|
3756
3758
|
if (n = a[l].call(r, i, t))
|
|
3757
3759
|
return n;
|
|
3758
3760
|
}
|
|
3759
3761
|
function Mo(t, i, r) {
|
|
3760
|
-
var n, a, l, u, y, m, w, P, O = "width" in i || "height" in i, A = this, R = {}, ie = t.style, de = t.nodeType &&
|
|
3762
|
+
var n, a, l, u, y, m, w, P, O = "width" in i || "height" in i, A = this, R = {}, ie = t.style, de = t.nodeType && it(t), ne = M.get(t, "fxshow");
|
|
3761
3763
|
r.queue || (u = o._queueHooks(t, "fx"), u.unqueued == null && (u.unqueued = 0, y = u.empty.fire, u.empty.fire = function() {
|
|
3762
3764
|
u.unqueued || y();
|
|
3763
3765
|
}), u.unqueued++, A.always(function() {
|
|
@@ -3798,8 +3800,8 @@ function yo() {
|
|
|
3798
3800
|
} else
|
|
3799
3801
|
i[n] = a;
|
|
3800
3802
|
}
|
|
3801
|
-
function
|
|
3802
|
-
var n, a, l = 0, u =
|
|
3803
|
+
function st(t, i, r) {
|
|
3804
|
+
var n, a, l = 0, u = st.prefilters.length, y = o.Deferred().always(function() {
|
|
3803
3805
|
delete m.elem;
|
|
3804
3806
|
}), m = function() {
|
|
3805
3807
|
if (a)
|
|
@@ -3839,7 +3841,7 @@ function yo() {
|
|
|
3839
3841
|
}
|
|
3840
3842
|
}), P = w.props;
|
|
3841
3843
|
for (zo(P, w.opts.specialEasing); l < u; l++)
|
|
3842
|
-
if (n =
|
|
3844
|
+
if (n = st.prefilters[l].call(w, t, P, w.opts), n)
|
|
3843
3845
|
return G(n.stop) && (o._queueHooks(w.elem, w.opts.queue).stop = n.stop.bind(n)), n;
|
|
3844
3846
|
return o.map(P, ln, w), G(w.opts.start) && w.opts.start.call(t, w), w.progress(w.opts.progress).done(w.opts.done, w.opts.complete).fail(w.opts.fail).always(w.opts.always), o.fx.timer(
|
|
3845
3847
|
o.extend(m, {
|
|
@@ -3849,7 +3851,7 @@ function yo() {
|
|
|
3849
3851
|
})
|
|
3850
3852
|
), w;
|
|
3851
3853
|
}
|
|
3852
|
-
o.Animation = o.extend(
|
|
3854
|
+
o.Animation = o.extend(st, {
|
|
3853
3855
|
tweeners: {
|
|
3854
3856
|
"*": [function(t, i) {
|
|
3855
3857
|
var r = this.createTween(t, i);
|
|
@@ -3859,11 +3861,11 @@ function yo() {
|
|
|
3859
3861
|
tweener: function(t, i) {
|
|
3860
3862
|
G(t) ? (i = t, t = ["*"]) : t = t.match(He);
|
|
3861
3863
|
for (var r, n = 0, a = t.length; n < a; n++)
|
|
3862
|
-
r = t[n],
|
|
3864
|
+
r = t[n], st.tweeners[r] = st.tweeners[r] || [], st.tweeners[r].unshift(i);
|
|
3863
3865
|
},
|
|
3864
3866
|
prefilters: [Mo],
|
|
3865
3867
|
prefilter: function(t, i) {
|
|
3866
|
-
i ?
|
|
3868
|
+
i ? st.prefilters.unshift(t) : st.prefilters.push(t);
|
|
3867
3869
|
}
|
|
3868
3870
|
}), o.speed = function(t, i, r) {
|
|
3869
3871
|
var n = t && typeof t == "object" ? o.extend({}, t) : {
|
|
@@ -3876,11 +3878,11 @@ function yo() {
|
|
|
3876
3878
|
}, n;
|
|
3877
3879
|
}, o.fn.extend({
|
|
3878
3880
|
fadeTo: function(t, i, r, n) {
|
|
3879
|
-
return this.filter(
|
|
3881
|
+
return this.filter(it).css("opacity", 0).show().end().animate({ opacity: i }, t, r, n);
|
|
3880
3882
|
},
|
|
3881
3883
|
animate: function(t, i, r, n) {
|
|
3882
3884
|
var a = o.isEmptyObject(t), l = o.speed(i, r, n), u = function() {
|
|
3883
|
-
var y =
|
|
3885
|
+
var y = st(this, o.extend({}, t), l);
|
|
3884
3886
|
(a || M.get(this, "finish")) && y.stop(!0);
|
|
3885
3887
|
};
|
|
3886
3888
|
return u.finish = u, a || l.queue === !1 ? this.each(u) : this.queue(l.queue, u);
|
|
@@ -3958,7 +3960,7 @@ function yo() {
|
|
|
3958
3960
|
var cn, oi = o.expr.attrHandle;
|
|
3959
3961
|
o.fn.extend({
|
|
3960
3962
|
attr: function(t, i) {
|
|
3961
|
-
return
|
|
3963
|
+
return tt(this, o.attr, t, i, arguments.length > 1);
|
|
3962
3964
|
},
|
|
3963
3965
|
removeAttr: function(t) {
|
|
3964
3966
|
return this.each(function() {
|
|
@@ -4011,7 +4013,7 @@ function yo() {
|
|
|
4011
4013
|
var Io = /^(?:input|select|textarea|button)$/i, Ho = /^(?:a|area)$/i;
|
|
4012
4014
|
o.fn.extend({
|
|
4013
4015
|
prop: function(t, i) {
|
|
4014
|
-
return
|
|
4016
|
+
return tt(this, o.prop, t, i, arguments.length > 1);
|
|
4015
4017
|
},
|
|
4016
4018
|
removeProp: function(t) {
|
|
4017
4019
|
return this.each(function() {
|
|
@@ -4451,7 +4453,7 @@ function yo() {
|
|
|
4451
4453
|
// Main method
|
|
4452
4454
|
ajax: function(t, i) {
|
|
4453
4455
|
typeof t == "object" && (i = t, t = void 0), i = i || {};
|
|
4454
|
-
var r, n, a, l, u, y, m, w, P, O, A = o.ajaxSetup({}, i), R = A.context || A, ie = A.context && (R.nodeType || R.jquery) ? o(R) : o.event, de = o.Deferred(), ne = o.Callbacks("once memory"), Oe = A.statusCode || {}, Pe = {},
|
|
4456
|
+
var r, n, a, l, u, y, m, w, P, O, A = o.ajaxSetup({}, i), R = A.context || A, ie = A.context && (R.nodeType || R.jquery) ? o(R) : o.event, de = o.Deferred(), ne = o.Callbacks("once memory"), Oe = A.statusCode || {}, Pe = {}, ut = {}, ft = "canceled", ce = {
|
|
4455
4457
|
readyState: 0,
|
|
4456
4458
|
// Builds headers hashtable if needed
|
|
4457
4459
|
getResponseHeader: function(he) {
|
|
@@ -4470,7 +4472,7 @@ function yo() {
|
|
|
4470
4472
|
},
|
|
4471
4473
|
// Caches the header
|
|
4472
4474
|
setRequestHeader: function(he, Se) {
|
|
4473
|
-
return m == null && (he =
|
|
4475
|
+
return m == null && (he = ut[he.toLowerCase()] = ut[he.toLowerCase()] || he, Pe[he] = Se), this;
|
|
4474
4476
|
},
|
|
4475
4477
|
// Overrides response content-type header
|
|
4476
4478
|
overrideMimeType: function(he) {
|
|
@@ -4489,7 +4491,7 @@ function yo() {
|
|
|
4489
4491
|
},
|
|
4490
4492
|
// Cancel the request
|
|
4491
4493
|
abort: function(he) {
|
|
4492
|
-
var Se = he ||
|
|
4494
|
+
var Se = he || ft;
|
|
4493
4495
|
return r && r.abort(Se), qt(0, Se), this;
|
|
4494
4496
|
}
|
|
4495
4497
|
};
|
|
@@ -4511,7 +4513,7 @@ function yo() {
|
|
|
4511
4513
|
ce.setRequestHeader(P, A.headers[P]);
|
|
4512
4514
|
if (A.beforeSend && (A.beforeSend.call(R, ce, A) === !1 || m))
|
|
4513
4515
|
return ce.abort();
|
|
4514
|
-
if (
|
|
4516
|
+
if (ft = "abort", ne.add(A.complete), ce.done(A.success), ce.fail(A.error), r = vn(ar, A, i, ce), !r)
|
|
4515
4517
|
qt(-1, "No Transport");
|
|
4516
4518
|
else {
|
|
4517
4519
|
if (ce.readyState = 1, w && ie.trigger("ajaxSend", [ce, A]), m)
|
|
@@ -4528,12 +4530,12 @@ function yo() {
|
|
|
4528
4530
|
}
|
|
4529
4531
|
}
|
|
4530
4532
|
function qt(he, Se, li, fr) {
|
|
4531
|
-
var
|
|
4532
|
-
m || (m = !0, u && c.clearTimeout(u), r = void 0, a = fr || "", ce.readyState = he > 0 ? 4 : 0,
|
|
4533
|
-
}), At = Uo(A, At, ce,
|
|
4534
|
-
|
|
4535
|
-
[ce, A,
|
|
4536
|
-
), ne.fireWith(R, [ce,
|
|
4533
|
+
var dt, ci, ht, At, kt, rt = Se;
|
|
4534
|
+
m || (m = !0, u && c.clearTimeout(u), r = void 0, a = fr || "", ce.readyState = he > 0 ? 4 : 0, dt = he >= 200 && he < 300 || he === 304, li && (At = Yo(A, ce, li)), !dt && o.inArray("script", A.dataTypes) > -1 && o.inArray("json", A.dataTypes) < 0 && (A.converters["text script"] = function() {
|
|
4535
|
+
}), At = Uo(A, At, ce, dt), dt ? (A.ifModified && (kt = ce.getResponseHeader("Last-Modified"), kt && (o.lastModified[n] = kt), kt = ce.getResponseHeader("etag"), kt && (o.etag[n] = kt)), he === 204 || A.type === "HEAD" ? rt = "nocontent" : he === 304 ? rt = "notmodified" : (rt = At.state, ci = At.data, ht = At.error, dt = !ht)) : (ht = rt, (he || !rt) && (rt = "error", he < 0 && (he = 0))), ce.status = he, ce.statusText = (Se || rt) + "", dt ? de.resolveWith(R, [ci, rt, ce]) : de.rejectWith(R, [ce, rt, ht]), ce.statusCode(Oe), Oe = void 0, w && ie.trigger(
|
|
4536
|
+
dt ? "ajaxSuccess" : "ajaxError",
|
|
4537
|
+
[ce, A, dt ? ci : ht]
|
|
4538
|
+
), ne.fireWith(R, [ce, rt]), w && (ie.trigger("ajaxComplete", [ce, A]), --o.active || o.event.trigger("ajaxStop")));
|
|
4537
4539
|
}
|
|
4538
4540
|
return ce;
|
|
4539
4541
|
},
|
|
@@ -4808,13 +4810,13 @@ function yo() {
|
|
|
4808
4810
|
return this.map(function() {
|
|
4809
4811
|
for (var t = this.offsetParent; t && o.css(t, "position") === "static"; )
|
|
4810
4812
|
t = t.offsetParent;
|
|
4811
|
-
return t ||
|
|
4813
|
+
return t || ct;
|
|
4812
4814
|
});
|
|
4813
4815
|
}
|
|
4814
4816
|
}), o.each({ scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function(t, i) {
|
|
4815
4817
|
var r = i === "pageYOffset";
|
|
4816
4818
|
o.fn[t] = function(n) {
|
|
4817
|
-
return
|
|
4819
|
+
return tt(this, function(a, l, u) {
|
|
4818
4820
|
var y;
|
|
4819
4821
|
if (Ee(a) ? y = a : a.nodeType === 9 && (y = a.defaultView), u === void 0)
|
|
4820
4822
|
return y ? y[i] : a[l];
|
|
@@ -4840,7 +4842,7 @@ function yo() {
|
|
|
4840
4842
|
}, function(r, n) {
|
|
4841
4843
|
o.fn[n] = function(a, l) {
|
|
4842
4844
|
var u = arguments.length && (r || typeof a != "boolean"), y = r || (a === !0 || l === !0 ? "margin" : "border");
|
|
4843
|
-
return
|
|
4845
|
+
return tt(this, function(m, w, P) {
|
|
4844
4846
|
var O;
|
|
4845
4847
|
return Ee(m) ? n.indexOf("outer") === 0 ? m["inner" + t] : m.document.documentElement["client" + t] : m.nodeType === 9 ? (O = m.documentElement, Math.max(
|
|
4846
4848
|
m.body["scroll" + t],
|
|
@@ -5417,9 +5419,9 @@ function Qs() {
|
|
|
5417
5419
|
if (e.hasmoving = !1, e.lastmouseup = !1, e.scrollmom.reset(x.clientX, x.clientY), K && ke) {
|
|
5418
5420
|
var Ne = /INPUT|SELECT|BUTTON|TEXTAREA/i.test(K.nodeName);
|
|
5419
5421
|
if (!Ne)
|
|
5420
|
-
return B.hasmousecapture && K.setCapture(), g.emulatetouch ? (K.onclick && !K._onclick && (K._onclick = K.onclick, K.onclick = function(
|
|
5422
|
+
return B.hasmousecapture && K.setCapture(), g.emulatetouch ? (K.onclick && !K._onclick && (K._onclick = K.onclick, K.onclick = function(ot) {
|
|
5421
5423
|
if (e.hasmoving) return !1;
|
|
5422
|
-
K._onclick.call(this,
|
|
5424
|
+
K._onclick.call(this, ot);
|
|
5423
5425
|
}), e.cancelEvent(x)) : e.stopPropagation(x);
|
|
5424
5426
|
/SUBMIT|CANCEL|BUTTON/i.test(k(K).attr("type")) && (e.preventclick = {
|
|
5425
5427
|
tg: K,
|
|
@@ -5456,8 +5458,8 @@ function Qs() {
|
|
|
5456
5458
|
var Ne = e.getScrollLeft();
|
|
5457
5459
|
if (e.railh && e.railh.scrollable && (Ne = e.isrtlmode ? vt - e.rail.drag.sl : e.rail.drag.sl - vt, e.ishwscroll && g.bouncescroll ? Ne < 0 ? Ne = Math.round(Ne / 2) : Ne > e.page.maxw && (Ne = e.page.maxw + Math.round((Ne - e.page.maxw) / 2)) : (Ne < 0 && (Ne = 0, Ce = 0), Ne > e.page.maxw && (Ne = e.page.maxw, Ce = 0))), !e.hasmoving) {
|
|
5458
5460
|
if (e.rail.drag.y === x.clientY && e.rail.drag.x === x.clientX) return e.cancelEvent(x);
|
|
5459
|
-
var
|
|
5460
|
-
if (e.rail.drag.ck ? e.rail.drag.ck == "v" ? Je > je &&
|
|
5461
|
+
var ot = Math.abs(ve), Je = Math.abs(vt), je = g.directionlockdeadzone;
|
|
5462
|
+
if (e.rail.drag.ck ? e.rail.drag.ck == "v" ? Je > je && ot <= Xe ? e.rail.drag = !1 : ot > je && (e.rail.drag.dl = "v") : e.rail.drag.ck == "h" && (ot > je && Je <= Xe ? e.rail.drag = !1 : Je > je && (e.rail.drag.dl = "h")) : ot > je && Je > je ? e.rail.drag.dl = "f" : ot > je ? e.rail.drag.dl = Je > Xe ? "f" : "v" : Je > je && (e.rail.drag.dl = ot > Xe ? "f" : "h"), !e.rail.drag.dl) return e.cancelEvent(x);
|
|
5461
5463
|
e.triggerScrollStart(x.clientX, x.clientY, 0, 0, 0), e.hasmoving = !0;
|
|
5462
5464
|
}
|
|
5463
5465
|
return e.preventclick && !e.preventclick.click && (e.preventclick.click = e.preventclick.tg.onclick || !1, e.preventclick.tg.onclick = e.onpreventclick), e.rail.drag.dl && (e.rail.drag.dl == "v" ? Ne = e.rail.drag.sl : e.rail.drag.dl == "h" && (Le = e.rail.drag.st)), e.synched("touchmove", function() {
|
|
@@ -5549,7 +5551,7 @@ function Qs() {
|
|
|
5549
5551
|
cursor: B.cursorgrabvalue
|
|
5550
5552
|
}));
|
|
5551
5553
|
else {
|
|
5552
|
-
var
|
|
5554
|
+
var ct = function(x) {
|
|
5553
5555
|
if (e.selectiondrag) {
|
|
5554
5556
|
if (x) {
|
|
5555
5557
|
var K = e.win.outerHeight(), ue = x.pageY - e.selectiondrag.top;
|
|
@@ -5558,7 +5560,7 @@ function Qs() {
|
|
|
5558
5560
|
if (e.selectiondrag.df !== 0) {
|
|
5559
5561
|
var ke = -(e.selectiondrag.df * 2 / 6) | 0;
|
|
5560
5562
|
e.doScrollBy(ke), e.debounced("doselectionscroll", function() {
|
|
5561
|
-
|
|
5563
|
+
ct();
|
|
5562
5564
|
}, 50);
|
|
5563
5565
|
}
|
|
5564
5566
|
}
|
|
@@ -5575,7 +5577,7 @@ function Qs() {
|
|
|
5575
5577
|
e.selectiondrag = !1;
|
|
5576
5578
|
}, e.onselectiondrag = function(x) {
|
|
5577
5579
|
e.selectiondrag && e.hasTextSelected() && e.debounced("selectionscroll", function() {
|
|
5578
|
-
|
|
5580
|
+
ct(x);
|
|
5579
5581
|
}, 250);
|
|
5580
5582
|
};
|
|
5581
5583
|
}
|
|
@@ -5728,10 +5730,10 @@ function Qs() {
|
|
|
5728
5730
|
attributes: !0,
|
|
5729
5731
|
attributeFilter: ["class"]
|
|
5730
5732
|
})), !e.ispage && !e.haswrapper)) {
|
|
5731
|
-
var
|
|
5733
|
+
var it = e.win[0];
|
|
5732
5734
|
U !== !1 ? (e.observer = new U(function(x) {
|
|
5733
5735
|
x.forEach(e.onAttributeChange);
|
|
5734
|
-
}), e.observer.observe(
|
|
5736
|
+
}), e.observer.observe(it, {
|
|
5735
5737
|
childList: !0,
|
|
5736
5738
|
characterData: !1,
|
|
5737
5739
|
attributes: !0,
|
|
@@ -5740,16 +5742,16 @@ function Qs() {
|
|
|
5740
5742
|
x.forEach(function(K) {
|
|
5741
5743
|
if (K.removedNodes.length > 0) {
|
|
5742
5744
|
for (var ue in K.removedNodes)
|
|
5743
|
-
if (e && K.removedNodes[ue] ===
|
|
5745
|
+
if (e && K.removedNodes[ue] === it) return e.remove();
|
|
5744
5746
|
}
|
|
5745
5747
|
});
|
|
5746
|
-
}), e.observerremover.observe(
|
|
5748
|
+
}), e.observerremover.observe(it.parentNode, {
|
|
5747
5749
|
childList: !0,
|
|
5748
5750
|
characterData: !1,
|
|
5749
5751
|
attributes: !1,
|
|
5750
5752
|
subtree: !1
|
|
5751
|
-
})) : (e.bind(
|
|
5752
|
-
x.target ===
|
|
5753
|
+
})) : (e.bind(it, B.isie && !B.isie9 ? "propertychange" : "DOMAttrModified", e.onAttributeChange), B.isie9 && it.attachEvent("onpropertychange", e.onAttributeChange), e.bind(it, "DOMNodeRemoved", function(x) {
|
|
5754
|
+
x.target === it && e.remove();
|
|
5753
5755
|
}));
|
|
5754
5756
|
}
|
|
5755
5757
|
!e.ispage && g.boxzoom && e.bind(_, "resize", e.resizeZoom), e.istextarea && (e.bind(e.win, "keydown", e.lazyResize), e.bind(e.win, "mouseup", e.lazyResize)), e.lazyResize(30);
|
|
@@ -6108,7 +6110,7 @@ function Qs() {
|
|
|
6108
6110
|
});
|
|
6109
6111
|
}
|
|
6110
6112
|
var Et = !1;
|
|
6111
|
-
function
|
|
6113
|
+
function tt(f, v, S) {
|
|
6112
6114
|
var H, W;
|
|
6113
6115
|
if (!S && Et) return !0;
|
|
6114
6116
|
if (f.deltaMode === 0 ? (H = -(f.deltaX * (g.mousescrollstep / 54)) | 0, W = -(f.deltaY * (g.mousescrollstep / 54)) | 0) : f.deltaMode === 1 && (H = -(f.deltaX * g.mousescrollstep * 50 / 80) | 0, W = -(f.deltaY * g.mousescrollstep * 50 / 80) | 0), v && g.oneaxismousemode && H === 0 && W && (H = W, W = 0, S)) {
|
|
@@ -6131,14 +6133,14 @@ function Qs() {
|
|
|
6131
6133
|
return e.railh && e.railh.scrollable ? e.onmousewheelhr(f) : !0;
|
|
6132
6134
|
var v = pe(), S = !1;
|
|
6133
6135
|
if (g.preservenativescrolling && e.checkarea + 600 < v && (e.nativescrollingarea = e.isScrollable(f), S = !0), e.checkarea = v, e.nativescrollingarea) return !0;
|
|
6134
|
-
var H =
|
|
6136
|
+
var H = tt(f, !1, S);
|
|
6135
6137
|
return H && (e.checkarea = 0), H;
|
|
6136
6138
|
}, this.onmousewheelhr = function(f) {
|
|
6137
6139
|
if (!e.wheelprevented) {
|
|
6138
6140
|
if (e.railslocked || !e.railh.scrollable) return !0;
|
|
6139
6141
|
if (e.rail.drag) return e.cancelEvent(f);
|
|
6140
6142
|
var v = pe(), S = !1;
|
|
6141
|
-
return g.preservenativescrolling && e.checkarea + 600 < v && (e.nativescrollingarea = e.isScrollable(f), S = !0), e.checkarea = v, e.nativescrollingarea ? !0 : e.railslocked ? e.cancelEvent(f) :
|
|
6143
|
+
return g.preservenativescrolling && e.checkarea + 600 < v && (e.nativescrollingarea = e.isScrollable(f), S = !0), e.checkarea = v, e.nativescrollingarea ? !0 : e.railslocked ? e.cancelEvent(f) : tt(f, !0, S);
|
|
6142
6144
|
}
|
|
6143
6145
|
}, this.stop = function() {
|
|
6144
6146
|
return e.cancelScroll(), e.scrollmon && e.scrollmon.stop(), e.cursorfreezed = !1, e.scroll.y = Math.round(e.getScrollTop() * (1 / e.scrollratio.y)), e.noticeCursor(), e;
|
|
@@ -6330,24 +6332,24 @@ function Qs() {
|
|
|
6330
6332
|
} else
|
|
6331
6333
|
C.doSnapy(C.nc.getScrollLeft(), C.nc.getScrollTop());
|
|
6332
6334
|
};
|
|
6333
|
-
},
|
|
6335
|
+
}, lt = d.fn.scrollTop;
|
|
6334
6336
|
d.cssHooks.pageYOffset = {
|
|
6335
6337
|
get: function(j, C, e) {
|
|
6336
6338
|
var Z = k.data(j, "__nicescroll") || !1;
|
|
6337
|
-
return Z && Z.ishwscroll ? Z.getScrollTop() :
|
|
6339
|
+
return Z && Z.ishwscroll ? Z.getScrollTop() : lt.call(j);
|
|
6338
6340
|
},
|
|
6339
6341
|
set: function(j, C) {
|
|
6340
6342
|
var e = k.data(j, "__nicescroll") || !1;
|
|
6341
|
-
return e && e.ishwscroll ? e.setScrollTop(parseInt(C)) :
|
|
6343
|
+
return e && e.ishwscroll ? e.setScrollTop(parseInt(C)) : lt.call(j, C), this;
|
|
6342
6344
|
}
|
|
6343
6345
|
}, d.fn.scrollTop = function(j) {
|
|
6344
6346
|
if (j === void 0) {
|
|
6345
6347
|
var C = this[0] && k.data(this[0], "__nicescroll") || !1;
|
|
6346
|
-
return C && C.ishwscroll ? C.getScrollTop() :
|
|
6348
|
+
return C && C.ishwscroll ? C.getScrollTop() : lt.call(this);
|
|
6347
6349
|
} else
|
|
6348
6350
|
return this.each(function() {
|
|
6349
6351
|
var e = k.data(this, "__nicescroll") || !1;
|
|
6350
|
-
e && e.ishwscroll ? e.setScrollTop(parseInt(j)) :
|
|
6352
|
+
e && e.ishwscroll ? e.setScrollTop(parseInt(j)) : lt.call(k(this), j);
|
|
6351
6353
|
});
|
|
6352
6354
|
};
|
|
6353
6355
|
var me = d.fn.scrollLeft;
|
|
@@ -6473,14 +6475,14 @@ function Ca(s, c) {
|
|
|
6473
6475
|
(pe.target != pe.target.parentElement?.firstElementChild || pe.target != pe.target.parentElement.lastElementChild) && ($e /= 2);
|
|
6474
6476
|
const ti = (1 - pe.intersectionRatio) * pe.target.clientHeight, o = window.getComputedStyle(
|
|
6475
6477
|
pe.target
|
|
6476
|
-
).lineHeight,
|
|
6478
|
+
).lineHeight, lt = parseFloat(
|
|
6477
6479
|
// remove the trailing "px"
|
|
6478
6480
|
o.substring(
|
|
6479
6481
|
0,
|
|
6480
6482
|
o.length - 2
|
|
6481
6483
|
)
|
|
6482
6484
|
);
|
|
6483
|
-
Ve = ti >
|
|
6485
|
+
Ve = ti > lt * $e;
|
|
6484
6486
|
}
|
|
6485
6487
|
if (Ve && h.indexOf(
|
|
6486
6488
|
pe.target.parentElement
|