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