bloom-player 2.20.2 → 2.20.3-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 Nt;
|
|
72
72
|
}
|
|
73
|
-
let Mr, zi, Jt = "",
|
|
73
|
+
let Mr, zi, Jt = "", et = [], Lt = [];
|
|
74
74
|
const Ii = new mi(), Er = new mi(), Tn = new mi(), la = new mi(), Hi = new mi();
|
|
75
75
|
let pi = 0, Hn = !0;
|
|
76
76
|
function ca(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
|
}
|
|
@@ -430,17 +430,17 @@ function ua() {
|
|
|
430
430
|
ei === 4 && _i(!1);
|
|
431
431
|
}
|
|
432
432
|
function _i(s = !0) {
|
|
433
|
-
if (Hi && Hi?.raise(!1), Hr(),
|
|
434
|
-
const c =
|
|
433
|
+
if (Hi && Hi?.raise(!1), Hr(), et && et.length > 0) {
|
|
434
|
+
const c = et.pop(), d = et.length;
|
|
435
435
|
if (d > 0 && s) {
|
|
436
|
-
const h =
|
|
436
|
+
const h = et[d - 1];
|
|
437
437
|
_n(h, !0), Rn();
|
|
438
438
|
} else
|
|
439
439
|
Es(), Ir(c), Pt().pause();
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
442
|
function Es() {
|
|
443
|
-
|
|
443
|
+
et = [], Lt = [], Ir(), Ii?.raise(Nt), Er?.raise();
|
|
444
444
|
}
|
|
445
445
|
function Hr() {
|
|
446
446
|
if (!Oi || !Tr)
|
|
@@ -496,7 +496,7 @@ function da() {
|
|
|
496
496
|
4
|
|
497
497
|
/* AudioPlaying */
|
|
498
498
|
), zi.length && Pt())
|
|
499
|
-
if (
|
|
499
|
+
if (et.length) {
|
|
500
500
|
Wn(Pt().play()), Oi = (/* @__PURE__ */ new Date()).getTime(), zr(pi);
|
|
501
501
|
return;
|
|
502
502
|
} else {
|
|
@@ -663,18 +663,20 @@ function Is(s) {
|
|
|
663
663
|
}
|
|
664
664
|
}
|
|
665
665
|
const ji = ".bloom-textOverPicture, .bloom-canvas-element";
|
|
666
|
-
let Ar = [], Wi = /* @__PURE__ */ new Map(),
|
|
666
|
+
let Ar = [], Wi = /* @__PURE__ */ new Map(), Qe, Zn, Fi = /* @__PURE__ */ new Map();
|
|
667
667
|
const Hs = (s) => {
|
|
668
|
-
Fi =
|
|
669
|
-
Fi.
|
|
668
|
+
Fi = /* @__PURE__ */ new Map(), s.querySelectorAll("[data-draggable-id]").forEach((c) => {
|
|
669
|
+
Fi.set(c.getAttribute("data-draggable-id"), {
|
|
670
670
|
x: c.style.left,
|
|
671
|
-
y: c.style.top
|
|
672
|
-
elt: c
|
|
671
|
+
y: c.style.top
|
|
673
672
|
});
|
|
674
673
|
});
|
|
675
|
-
}, Wr = () => {
|
|
676
|
-
|
|
677
|
-
|
|
674
|
+
}, Wr = (s) => {
|
|
675
|
+
s.querySelectorAll("[data-draggable-id]").forEach((c) => {
|
|
676
|
+
const d = Fi.get(
|
|
677
|
+
c.getAttribute("data-draggable-id")
|
|
678
|
+
);
|
|
679
|
+
d && (c.style.left = d.x, c.style.top = d.y, c.classList.remove("bloom-draggedToTarget"));
|
|
678
680
|
});
|
|
679
681
|
};
|
|
680
682
|
function Os(s) {
|
|
@@ -696,7 +698,7 @@ function Fr(s) {
|
|
|
696
698
|
return s.closest("#page-scaling-container") !== null;
|
|
697
699
|
}
|
|
698
700
|
function ma(s, c) {
|
|
699
|
-
|
|
701
|
+
Qe = s, Os(s), Zn = c, vo(
|
|
700
702
|
s.getAttribute("data-show-answers-in-targets") === "true" || s.getAttribute("data-show-target-as-shadow") === "true",
|
|
701
703
|
s
|
|
702
704
|
), Hs(s), Array.from(
|
|
@@ -792,7 +794,7 @@ const Bs = (s) => {
|
|
|
792
794
|
Rr(c), c.play();
|
|
793
795
|
};
|
|
794
796
|
function va(s) {
|
|
795
|
-
qr(), Wr(),
|
|
797
|
+
s === Qe && qr(), Wr(s), s === Qe && Fi.clear(), Array.from(
|
|
796
798
|
s.getElementsByClassName(
|
|
797
799
|
"bloom-change-page-button"
|
|
798
800
|
)
|
|
@@ -938,10 +940,10 @@ function wa(s, c) {
|
|
|
938
940
|
return s.innerText.trim() === c.innerText.trim();
|
|
939
941
|
}
|
|
940
942
|
const no = (s) => {
|
|
941
|
-
if (!
|
|
943
|
+
if (!Qe)
|
|
942
944
|
return;
|
|
943
|
-
Wr(),
|
|
944
|
-
const h = d.getAttribute("data-draggable-id"), T =
|
|
945
|
+
Wr(Qe), Qe.querySelectorAll("[data-draggable-id]").forEach((d) => {
|
|
946
|
+
const h = d.getAttribute("data-draggable-id"), T = Qe?.querySelector(
|
|
945
947
|
`[data-target-of="${h}"]`
|
|
946
948
|
);
|
|
947
949
|
if (!T)
|
|
@@ -959,23 +961,23 @@ const no = (s) => {
|
|
|
959
961
|
const D = T.offsetLeft + (T.offsetWidth - L) / 2, k = T.offsetTop + (T.offsetHeight - z) / 2;
|
|
960
962
|
d.style.left = D + "px", d.style.top = k + "px";
|
|
961
963
|
}), Array.from(
|
|
962
|
-
|
|
964
|
+
Qe.getElementsByClassName(
|
|
963
965
|
"drag-item-random-sentence"
|
|
964
966
|
)
|
|
965
967
|
).forEach((d) => {
|
|
966
968
|
const h = d.getAttribute("data-answer")?.split(" ") ?? [], T = d.children[0];
|
|
967
969
|
d.innerHTML = "", to(
|
|
968
|
-
|
|
970
|
+
Qe,
|
|
969
971
|
h,
|
|
970
972
|
d,
|
|
971
973
|
T,
|
|
972
974
|
!1
|
|
973
975
|
);
|
|
974
|
-
}), jt(
|
|
976
|
+
}), jt(Qe, "drag-activity-wrong", !1), jt(Qe, "drag-activity-solution", !0);
|
|
975
977
|
const c = [];
|
|
976
|
-
|
|
978
|
+
Qe.querySelectorAll("[data-draggable-id]").forEach((d) => {
|
|
977
979
|
const h = d.getAttribute("data-draggable-id");
|
|
978
|
-
|
|
980
|
+
Qe?.querySelector(
|
|
979
981
|
`[data-target-of="${h}"]`
|
|
980
982
|
) && c.push(
|
|
981
983
|
...Array.from(d.getElementsByTagName("video"))
|
|
@@ -1033,7 +1035,7 @@ const Yi = (s) => s.getBoundingClientRect().width / s.offsetWidth, oo = (s) => {
|
|
|
1033
1035
|
return _s(d, h), ro(1, h ? 1 : 0), h;
|
|
1034
1036
|
}, co = (s) => {
|
|
1035
1037
|
const d = s.currentTarget.closest(".bloom-page");
|
|
1036
|
-
jt(d, "drag-activity-correct", !1), jt(d, "drag-activity-wrong", !1), jt(d, "drag-activity-solution", !1), Wr(), qr();
|
|
1038
|
+
jt(d, "drag-activity-correct", !1), jt(d, "drag-activity-wrong", !1), jt(d, "drag-activity-solution", !1), Wr(d), qr();
|
|
1037
1039
|
}, jt = (s, c, d) => {
|
|
1038
1040
|
d ? s.parentElement?.classList.add(c) : s.parentElement?.classList.remove(c);
|
|
1039
1041
|
};
|
|
@@ -1439,7 +1441,7 @@ function yo() {
|
|
|
1439
1441
|
},
|
|
1440
1442
|
each: function(t, i) {
|
|
1441
1443
|
var r, n = 0;
|
|
1442
|
-
if (
|
|
1444
|
+
if (lt(t))
|
|
1443
1445
|
for (r = t.length; n < r && i.call(t[n], n, t[n]) !== !1; n++)
|
|
1444
1446
|
;
|
|
1445
1447
|
else
|
|
@@ -1459,7 +1461,7 @@ function yo() {
|
|
|
1459
1461
|
// results is for internal usage only
|
|
1460
1462
|
makeArray: function(t, i) {
|
|
1461
1463
|
var r = i || [];
|
|
1462
|
-
return t != null && (
|
|
1464
|
+
return t != null && (lt(Object(t)) ? o.merge(
|
|
1463
1465
|
r,
|
|
1464
1466
|
typeof t == "string" ? [t] : t
|
|
1465
1467
|
) : D.call(r, t)), r;
|
|
@@ -1486,7 +1488,7 @@ function yo() {
|
|
|
1486
1488
|
// arg is for internal usage only
|
|
1487
1489
|
map: function(t, i, r) {
|
|
1488
1490
|
var n, a, l = 0, u = [];
|
|
1489
|
-
if (
|
|
1491
|
+
if (lt(t))
|
|
1490
1492
|
for (n = t.length; l < n; l++)
|
|
1491
1493
|
a = i(t[l], l, r), a != null && u.push(a);
|
|
1492
1494
|
else
|
|
@@ -1505,7 +1507,7 @@ function yo() {
|
|
|
1505
1507
|
q["[object " + i + "]"] = i.toLowerCase();
|
|
1506
1508
|
}
|
|
1507
1509
|
);
|
|
1508
|
-
function
|
|
1510
|
+
function lt(t) {
|
|
1509
1511
|
var i = !!t && "length" in t && t.length, r = Ve(t);
|
|
1510
1512
|
return G(t) || Ee(t) ? !1 : r === "array" || i === 0 || typeof i == "number" && i > 0 && i - 1 in t;
|
|
1511
1513
|
}
|
|
@@ -1533,23 +1535,23 @@ function yo() {
|
|
|
1533
1535
|
(function() {
|
|
1534
1536
|
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) {
|
|
1535
1537
|
return p === b && (a = !0), 0;
|
|
1536
|
-
},
|
|
1538
|
+
}, 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)
|
|
1537
1539
|
"*([*^$|!~]?=)" + j + // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]"
|
|
1538
|
-
`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(` +
|
|
1539
|
-
ID: new RegExp("^#(" +
|
|
1540
|
-
CLASS: new RegExp("^\\.(" +
|
|
1541
|
-
TAG: new RegExp("^(" +
|
|
1540
|
+
`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(` + 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 = {
|
|
1541
|
+
ID: new RegExp("^#(" + ft + ")"),
|
|
1542
|
+
CLASS: new RegExp("^\\.(" + ft + ")"),
|
|
1543
|
+
TAG: new RegExp("^(" + ft + "|[*])"),
|
|
1542
1544
|
ATTR: new RegExp("^" + ce),
|
|
1543
1545
|
PSEUDO: new RegExp("^" + qt),
|
|
1544
1546
|
CHILD: new RegExp(
|
|
1545
1547
|
"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + j + "*(even|odd|(([+-]|)(\\d*)n|)" + j + "*(?:([+-]|)" + j + "*(\\d+)|))" + j + "*\\)|)",
|
|
1546
1548
|
"i"
|
|
1547
1549
|
),
|
|
1548
|
-
bool: new RegExp("^(?:" +
|
|
1550
|
+
bool: new RegExp("^(?:" + ut + ")$", "i"),
|
|
1549
1551
|
// For use in libraries implementing .is()
|
|
1550
1552
|
// We use this for POS matching in `select`
|
|
1551
1553
|
needsContext: new RegExp("^" + j + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + j + "*((?:-\\d)?\\d*)" + j + "*\\)|)(?=[^-]|$)", "i")
|
|
1552
|
-
}, Ct = /^(?:input|select|textarea|button)$/i, At = /^h\d$/i,
|
|
1554
|
+
}, Ct = /^(?:input|select|textarea|button)$/i, At = /^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) {
|
|
1553
1555
|
var E = "0x" + p.slice(1) - 65536;
|
|
1554
1556
|
return b || (E < 0 ? String.fromCharCode(E + 65536) : String.fromCharCode(E >> 10 | 55296, E & 1023 | 56320));
|
|
1555
1557
|
}, Qo = function() {
|
|
@@ -1586,7 +1588,7 @@ function yo() {
|
|
|
1586
1588
|
if (E = E || [], typeof p != "string" || !p || ae !== 1 && ae !== 9 && ae !== 11)
|
|
1587
1589
|
return E;
|
|
1588
1590
|
if (!N && (kt(b), b = b || u, m)) {
|
|
1589
|
-
if (ae !== 11 && (X =
|
|
1591
|
+
if (ae !== 11 && (X = rt.exec(p)))
|
|
1590
1592
|
if (I = X[1]) {
|
|
1591
1593
|
if (ae === 9)
|
|
1592
1594
|
if ($ = b.getElementById(I)) {
|
|
@@ -1629,7 +1631,7 @@ function yo() {
|
|
|
1629
1631
|
}
|
|
1630
1632
|
return b;
|
|
1631
1633
|
}
|
|
1632
|
-
function
|
|
1634
|
+
function at(p) {
|
|
1633
1635
|
return p[O] = !0, p;
|
|
1634
1636
|
}
|
|
1635
1637
|
function Yt(p) {
|
|
@@ -1659,8 +1661,8 @@ function yo() {
|
|
|
1659
1661
|
};
|
|
1660
1662
|
}
|
|
1661
1663
|
function Rt(p) {
|
|
1662
|
-
return
|
|
1663
|
-
return b = +b,
|
|
1664
|
+
return at(function(b) {
|
|
1665
|
+
return b = +b, at(function(E, N) {
|
|
1664
1666
|
for (var I, F = p([], E.length, b), $ = F.length; $--; )
|
|
1665
1667
|
E[I = F[$]] && (E[I] = !(N[I] = E[I]));
|
|
1666
1668
|
});
|
|
@@ -1722,7 +1724,7 @@ function yo() {
|
|
|
1722
1724
|
return I.getElementsByClassName(N);
|
|
1723
1725
|
}, w = [], Yt(function(N) {
|
|
1724
1726
|
var I;
|
|
1725
|
-
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|" +
|
|
1727
|
+
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 + `*(?:''|"")`);
|
|
1726
1728
|
}), V.cssHas || w.push(":has"), w = w.length && new RegExp(w.join("|")), Pe = function(N, I) {
|
|
1727
1729
|
if (N === I)
|
|
1728
1730
|
return a = !0, 0;
|
|
@@ -1769,8 +1771,8 @@ function yo() {
|
|
|
1769
1771
|
}, i = o.expr = {
|
|
1770
1772
|
// Can be adjusted by the user
|
|
1771
1773
|
cacheLength: 50,
|
|
1772
|
-
createPseudo:
|
|
1773
|
-
match:
|
|
1774
|
+
createPseudo: at,
|
|
1775
|
+
match: ht,
|
|
1774
1776
|
attrHandle: {},
|
|
1775
1777
|
find: {},
|
|
1776
1778
|
relative: {
|
|
@@ -1788,7 +1790,7 @@ function yo() {
|
|
|
1788
1790
|
},
|
|
1789
1791
|
PSEUDO: function(p) {
|
|
1790
1792
|
var b, E = !p[6] && p[2];
|
|
1791
|
-
return
|
|
1793
|
+
return ht.CHILD.test(p[0]) ? null : (p[3] ? p[2] = p[4] || p[5] || "" : E && dt.test(E) && // Get excess from tokenize (recursively)
|
|
1792
1794
|
(b = ui(E, !0)) && // advance to the next closing parenthesis
|
|
1793
1795
|
(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));
|
|
1794
1796
|
}
|
|
@@ -1824,26 +1826,26 @@ function yo() {
|
|
|
1824
1826
|
return !!X.parentNode;
|
|
1825
1827
|
}
|
|
1826
1828
|
) : function(X, se, te) {
|
|
1827
|
-
var re, ae, J, xe, Ue, Be = F !== $ ? "nextSibling" : "previousSibling",
|
|
1828
|
-
if (
|
|
1829
|
+
var re, ae, J, xe, Ue, Be = F !== $ ? "nextSibling" : "previousSibling", nt = X.parentNode, pt = Y && X.nodeName.toLowerCase(), Ut = !te && !Y, We = !1;
|
|
1830
|
+
if (nt) {
|
|
1829
1831
|
if (F) {
|
|
1830
1832
|
for (; Be; ) {
|
|
1831
1833
|
for (J = X; J = J[Be]; )
|
|
1832
|
-
if (Y ? me(J,
|
|
1834
|
+
if (Y ? me(J, pt) : J.nodeType === 1)
|
|
1833
1835
|
return !1;
|
|
1834
1836
|
Ue = Be = p === "only" && !Ue && "nextSibling";
|
|
1835
1837
|
}
|
|
1836
1838
|
return !0;
|
|
1837
1839
|
}
|
|
1838
|
-
if (Ue = [$ ?
|
|
1839
|
-
for (ae =
|
|
1840
|
+
if (Ue = [$ ? nt.firstChild : nt.lastChild], $ && Ut) {
|
|
1841
|
+
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
|
|
1840
1842
|
(We = xe = 0) || Ue.pop(); )
|
|
1841
1843
|
if (J.nodeType === 1 && ++We && J === X) {
|
|
1842
1844
|
ae[p] = [A, xe, We];
|
|
1843
1845
|
break;
|
|
1844
1846
|
}
|
|
1845
1847
|
} else if (Ut && (ae = X[O] || (X[O] = {}), re = ae[p] || [], xe = re[0] === A && re[1], We = xe), We === !1)
|
|
1846
|
-
for (; (J = ++xe && J && J[Be] || (We = xe = 0) || Ue.pop()) && !((Y ? me(J,
|
|
1848
|
+
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)); )
|
|
1847
1849
|
;
|
|
1848
1850
|
return We -= I, We === N || We % N === 0 && We / N >= 0;
|
|
1849
1851
|
}
|
|
@@ -1851,7 +1853,7 @@ function yo() {
|
|
|
1851
1853
|
},
|
|
1852
1854
|
PSEUDO: function(p, b) {
|
|
1853
1855
|
var E, N = i.pseudos[p] || i.setFilters[p.toLowerCase()] || be.error("unsupported pseudo: " + p);
|
|
1854
|
-
return N[O] ? N(b) : N.length > 1 ? (E = [p, p, "", b], i.setFilters.hasOwnProperty(p.toLowerCase()) ?
|
|
1856
|
+
return N[O] ? N(b) : N.length > 1 ? (E = [p, p, "", b], i.setFilters.hasOwnProperty(p.toLowerCase()) ? at(function(I, F) {
|
|
1855
1857
|
for (var $, Y = N(I, b), X = Y.length; X--; )
|
|
1856
1858
|
$ = k.call(I, Y[X]), I[$] = !(F[$] = Y[X]);
|
|
1857
1859
|
}) : function(I) {
|
|
@@ -1861,21 +1863,21 @@ function yo() {
|
|
|
1861
1863
|
},
|
|
1862
1864
|
pseudos: {
|
|
1863
1865
|
// Potentially complex pseudos
|
|
1864
|
-
not:
|
|
1866
|
+
not: at(function(p) {
|
|
1865
1867
|
var b = [], E = [], N = vr(p.replace(C, "$1"));
|
|
1866
|
-
return N[O] ?
|
|
1868
|
+
return N[O] ? at(function(I, F, $, Y) {
|
|
1867
1869
|
for (var X, se = N(I, null, Y, []), te = I.length; te--; )
|
|
1868
1870
|
(X = se[te]) && (I[te] = !(F[te] = X));
|
|
1869
1871
|
}) : function(I, F, $) {
|
|
1870
1872
|
return b[0] = I, N(b, null, $, E), b[0] = null, !E.pop();
|
|
1871
1873
|
};
|
|
1872
1874
|
}),
|
|
1873
|
-
has:
|
|
1875
|
+
has: at(function(p) {
|
|
1874
1876
|
return function(b) {
|
|
1875
1877
|
return be(p, b).length > 0;
|
|
1876
1878
|
};
|
|
1877
1879
|
}),
|
|
1878
|
-
contains:
|
|
1880
|
+
contains: at(function(p) {
|
|
1879
1881
|
return p = p.replace(yt, bt), function(b) {
|
|
1880
1882
|
return (b.textContent || o.text(b)).indexOf(p) > -1;
|
|
1881
1883
|
};
|
|
@@ -1887,7 +1889,7 @@ function yo() {
|
|
|
1887
1889
|
// The matching of C against the element's language value is performed case-insensitively.
|
|
1888
1890
|
// The identifier C does not have to be a valid language name."
|
|
1889
1891
|
// https://www.w3.org/TR/selectors/#lang-pseudo
|
|
1890
|
-
lang:
|
|
1892
|
+
lang: at(function(p) {
|
|
1891
1893
|
return ci.test(p || "") || be.error("unsupported lang: " + p), p = p.replace(yt, bt).toLowerCase(), function(b) {
|
|
1892
1894
|
var E;
|
|
1893
1895
|
do
|
|
@@ -1995,7 +1997,7 @@ function yo() {
|
|
|
1995
1997
|
type: N[0].replace(C, " ")
|
|
1996
1998
|
}), $ = $.slice(E.length));
|
|
1997
1999
|
for (F in i.filter)
|
|
1998
|
-
(N =
|
|
2000
|
+
(N = ht[F].exec($)) && (!X[F] || (N = X[F](N))) && (E = N.shift(), I.push({
|
|
1999
2001
|
value: E,
|
|
2000
2002
|
type: F,
|
|
2001
2003
|
matches: N
|
|
@@ -2065,26 +2067,26 @@ function yo() {
|
|
|
2065
2067
|
return $;
|
|
2066
2068
|
}
|
|
2067
2069
|
function gr(p, b, E, N, I, F) {
|
|
2068
|
-
return N && !N[O] && (N = gr(N)), I && !I[O] && (I = gr(I, F)),
|
|
2069
|
-
var te, re, ae, J, xe = [], Ue = [], Be = Y.length,
|
|
2070
|
+
return N && !N[O] && (N = gr(N)), I && !I[O] && (I = gr(I, F)), at(function($, Y, X, se) {
|
|
2071
|
+
var te, re, ae, J, xe = [], Ue = [], Be = Y.length, nt = $ || ns(
|
|
2070
2072
|
b || "*",
|
|
2071
2073
|
X.nodeType ? [X] : X,
|
|
2072
2074
|
[]
|
|
2073
|
-
),
|
|
2075
|
+
), pt = p && ($ || !b) ? Ei(nt, xe, p, X, se) : nt;
|
|
2074
2076
|
if (E ? (J = I || ($ ? p : Be || N) ? (
|
|
2075
2077
|
// ...intermediate processing is necessary
|
|
2076
2078
|
[]
|
|
2077
2079
|
) : (
|
|
2078
2080
|
// ...otherwise use results directly
|
|
2079
2081
|
Y
|
|
2080
|
-
), E(
|
|
2082
|
+
), E(pt, J, X, se)) : J = pt, N)
|
|
2081
2083
|
for (te = Ei(J, Ue), N(te, [], X, se), re = te.length; re--; )
|
|
2082
|
-
(ae = te[re]) && (J[Ue[re]] = !(
|
|
2084
|
+
(ae = te[re]) && (J[Ue[re]] = !(pt[Ue[re]] = ae));
|
|
2083
2085
|
if ($) {
|
|
2084
2086
|
if (I || p) {
|
|
2085
2087
|
if (I) {
|
|
2086
2088
|
for (te = [], re = J.length; re--; )
|
|
2087
|
-
(ae = J[re]) && te.push(
|
|
2089
|
+
(ae = J[re]) && te.push(pt[re] = ae);
|
|
2088
2090
|
I(null, J = [], te, se);
|
|
2089
2091
|
}
|
|
2090
2092
|
for (re = J.length; re--; )
|
|
@@ -2129,8 +2131,8 @@ function yo() {
|
|
|
2129
2131
|
}
|
|
2130
2132
|
function os(p, b) {
|
|
2131
2133
|
var E = b.length > 0, N = p.length > 0, I = function(F, $, Y, X, se) {
|
|
2132
|
-
var te, re, ae, J = 0, xe = "0", Ue = F && [], Be = [],
|
|
2133
|
-
for (se && (r = $ == u || $ || se); xe !== We && (te =
|
|
2134
|
+
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;
|
|
2135
|
+
for (se && (r = $ == u || $ || se); xe !== We && (te = pt[xe]) != null; xe++) {
|
|
2134
2136
|
if (N && te) {
|
|
2135
2137
|
for (re = 0, !$ && te.ownerDocument != u && (kt(te), Y = !m); ae = p[re++]; )
|
|
2136
2138
|
if (ae(te, $ || u, Y)) {
|
|
@@ -2152,9 +2154,9 @@ function yo() {
|
|
|
2152
2154
|
}
|
|
2153
2155
|
l.apply(X, Be), se && !F && Be.length > 0 && J + b.length > 1 && o.uniqueSort(X);
|
|
2154
2156
|
}
|
|
2155
|
-
return se && (A = Ut, r =
|
|
2157
|
+
return se && (A = Ut, r = nt), Ue;
|
|
2156
2158
|
};
|
|
2157
|
-
return E ?
|
|
2159
|
+
return E ? at(I) : I;
|
|
2158
2160
|
}
|
|
2159
2161
|
function vr(p, b) {
|
|
2160
2162
|
var E, N = [], I = [], F = ne[p + " "];
|
|
@@ -2180,7 +2182,7 @@ function yo() {
|
|
|
2180
2182
|
else return E;
|
|
2181
2183
|
p = p.slice(F.shift().value.length);
|
|
2182
2184
|
}
|
|
2183
|
-
for (I =
|
|
2185
|
+
for (I = ht.needsContext.test(p) ? 0 : F.length; I-- && ($ = F[I], !i.relative[Y = $.type]); )
|
|
2184
2186
|
if ((X = i.find[Y]) && (N = X(
|
|
2185
2187
|
$.matches[0].replace(yt, bt),
|
|
2186
2188
|
dr.test(F[0].type) && hr(b.parentNode) || b
|
|
@@ -2536,18 +2538,18 @@ function yo() {
|
|
|
2536
2538
|
function w(P, O, A, R) {
|
|
2537
2539
|
return function() {
|
|
2538
2540
|
var ie = this, de = arguments, ne = function() {
|
|
2539
|
-
var Pe,
|
|
2541
|
+
var Pe, ut;
|
|
2540
2542
|
if (!(P < m)) {
|
|
2541
2543
|
if (Pe = A.apply(ie, de), Pe === O.promise())
|
|
2542
2544
|
throw new TypeError("Thenable self-resolution");
|
|
2543
|
-
|
|
2545
|
+
ut = Pe && // Support: Promises/A+ section 2.3.4
|
|
2544
2546
|
// https://promisesaplus.com/#point-64
|
|
2545
2547
|
// Only check objects and functions for thenability
|
|
2546
|
-
(typeof Pe == "object" || typeof Pe == "function") && Pe.then, G(
|
|
2548
|
+
(typeof Pe == "object" || typeof Pe == "function") && Pe.then, G(ut) ? R ? ut.call(
|
|
2547
2549
|
Pe,
|
|
2548
2550
|
w(m, O, mt, R),
|
|
2549
2551
|
w(m, O, Mt, R)
|
|
2550
|
-
) : (m++,
|
|
2552
|
+
) : (m++, ut.call(
|
|
2551
2553
|
Pe,
|
|
2552
2554
|
w(m, O, mt, R),
|
|
2553
2555
|
w(m, O, Mt, R),
|
|
@@ -2673,12 +2675,12 @@ function yo() {
|
|
|
2673
2675
|
U.removeEventListener("DOMContentLoaded", St), c.removeEventListener("load", St), o.ready();
|
|
2674
2676
|
}
|
|
2675
2677
|
U.readyState === "complete" || U.readyState !== "loading" && !U.documentElement.doScroll ? c.setTimeout(o.ready) : (U.addEventListener("DOMContentLoaded", St), c.addEventListener("load", St));
|
|
2676
|
-
var
|
|
2678
|
+
var tt = function(t, i, r, n, a, l, u) {
|
|
2677
2679
|
var y = 0, m = t.length, w = r == null;
|
|
2678
2680
|
if (Ve(r) === "object") {
|
|
2679
2681
|
a = !0;
|
|
2680
2682
|
for (y in r)
|
|
2681
|
-
|
|
2683
|
+
tt(t, i, y, r[y], !0, l, u);
|
|
2682
2684
|
} 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) {
|
|
2683
2685
|
return w.call(o(P), A);
|
|
2684
2686
|
})), i))
|
|
@@ -2790,7 +2792,7 @@ function yo() {
|
|
|
2790
2792
|
}
|
|
2791
2793
|
return typeof t == "object" ? this.each(function() {
|
|
2792
2794
|
ee.set(this, t);
|
|
2793
|
-
}) :
|
|
2795
|
+
}) : tt(this, function(y) {
|
|
2794
2796
|
var m;
|
|
2795
2797
|
if (l && y === void 0)
|
|
2796
2798
|
return m = ee.get(l, t), m !== void 0 || (m = Re(l, t), m !== void 0) ? m : void 0;
|
|
@@ -2853,13 +2855,13 @@ function yo() {
|
|
|
2853
2855
|
return y(), a.promise(i);
|
|
2854
2856
|
}
|
|
2855
2857
|
});
|
|
2856
|
-
var Vt = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, Ht = new RegExp("^(?:([+-])=|)(" + Vt + ")([a-z%]*)$", "i"), Xe = ["Top", "Right", "Bottom", "Left"],
|
|
2858
|
+
var Vt = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source, Ht = new RegExp("^(?:([+-])=|)(" + Vt + ")([a-z%]*)$", "i"), Xe = ["Top", "Right", "Bottom", "Left"], ct = U.documentElement, Et = function(t) {
|
|
2857
2859
|
return o.contains(t.ownerDocument, t);
|
|
2858
2860
|
}, Ki = { composed: !0 };
|
|
2859
|
-
|
|
2861
|
+
ct.getRootNode && (Et = function(t) {
|
|
2860
2862
|
return o.contains(t.ownerDocument, t) || t.getRootNode(Ki) === t.ownerDocument;
|
|
2861
2863
|
});
|
|
2862
|
-
var
|
|
2864
|
+
var it = function(t, i) {
|
|
2863
2865
|
return t = i || t, t.style.display === "none" || t.style.display === "" && // Otherwise, check computed style
|
|
2864
2866
|
// Support: Firefox <=43 - 45
|
|
2865
2867
|
// Disconnected elements can have computed display: none, so first confirm that elem is
|
|
@@ -2886,7 +2888,7 @@ function yo() {
|
|
|
2886
2888
|
}
|
|
2887
2889
|
function ue(t, i) {
|
|
2888
2890
|
for (var r, n, a = [], l = 0, u = t.length; l < u; l++)
|
|
2889
|
-
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 === "" &&
|
|
2891
|
+
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)));
|
|
2890
2892
|
for (l = 0; l < u; l++)
|
|
2891
2893
|
a[l] != null && (t[l].style.display = a[l]);
|
|
2892
2894
|
return t;
|
|
@@ -2900,7 +2902,7 @@ function yo() {
|
|
|
2900
2902
|
},
|
|
2901
2903
|
toggle: function(t) {
|
|
2902
2904
|
return typeof t == "boolean" ? t ? this.show() : this.hide() : this.each(function() {
|
|
2903
|
-
|
|
2905
|
+
it(this) ? o(this).show() : o(this).hide();
|
|
2904
2906
|
});
|
|
2905
2907
|
}
|
|
2906
2908
|
});
|
|
@@ -2956,7 +2958,7 @@ function yo() {
|
|
|
2956
2958
|
}
|
|
2957
2959
|
return O;
|
|
2958
2960
|
}
|
|
2959
|
-
var
|
|
2961
|
+
var ot = /^([^.]*)(?:\.(.+)|)/;
|
|
2960
2962
|
function Je() {
|
|
2961
2963
|
return !0;
|
|
2962
2964
|
}
|
|
@@ -2986,10 +2988,10 @@ function yo() {
|
|
|
2986
2988
|
add: function(t, i, r, n, a) {
|
|
2987
2989
|
var l, u, y, m, w, P, O, A, R, ie, de, ne = M.get(t);
|
|
2988
2990
|
if (H(t))
|
|
2989
|
-
for (r.handler && (l = r, r = l.handler, a = l.selector), a && o.find.matchesSelector(
|
|
2991
|
+
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) {
|
|
2990
2992
|
return typeof o < "u" && o.event.triggered !== Oe.type ? o.event.dispatch.apply(t, arguments) : void 0;
|
|
2991
2993
|
}), i = (i || "").match(He) || [""], w = i.length; w--; )
|
|
2992
|
-
y =
|
|
2994
|
+
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({
|
|
2993
2995
|
type: R,
|
|
2994
2996
|
origType: de,
|
|
2995
2997
|
data: n,
|
|
@@ -3005,7 +3007,7 @@ function yo() {
|
|
|
3005
3007
|
var l, u, y, m, w, P, O, A, R, ie, de, ne = M.hasData(t) && M.get(t);
|
|
3006
3008
|
if (!(!ne || !(m = ne.events))) {
|
|
3007
3009
|
for (i = (i || "").match(He) || [""], w = i.length; w--; ) {
|
|
3008
|
-
if (y =
|
|
3010
|
+
if (y = ot.exec(i[w]) || [], R = de = y[1], ie = (y[2] || "").split(".").sort(), !R) {
|
|
3009
3011
|
for (R in m)
|
|
3010
3012
|
o.event.remove(t, R + i[w], r, n, !0);
|
|
3011
3013
|
continue;
|
|
@@ -3352,7 +3354,7 @@ function yo() {
|
|
|
3352
3354
|
return Kr(this, t);
|
|
3353
3355
|
},
|
|
3354
3356
|
text: function(t) {
|
|
3355
|
-
return
|
|
3357
|
+
return tt(this, function(i) {
|
|
3356
3358
|
return i === void 0 ? o.text(this) : this.empty().each(function() {
|
|
3357
3359
|
(this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) && (this.textContent = i);
|
|
3358
3360
|
});
|
|
@@ -3395,7 +3397,7 @@ function yo() {
|
|
|
3395
3397
|
});
|
|
3396
3398
|
},
|
|
3397
3399
|
html: function(t) {
|
|
3398
|
-
return
|
|
3400
|
+
return tt(this, function(i) {
|
|
3399
3401
|
var r = this[0] || {}, n = 0, a = this.length;
|
|
3400
3402
|
if (i === void 0 && r.nodeType === 1)
|
|
3401
3403
|
return r.innerHTML;
|
|
@@ -3446,9 +3448,9 @@ function yo() {
|
|
|
3446
3448
|
(function() {
|
|
3447
3449
|
function t() {
|
|
3448
3450
|
if (w) {
|
|
3449
|
-
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%",
|
|
3451
|
+
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);
|
|
3450
3452
|
var P = c.getComputedStyle(w);
|
|
3451
|
-
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,
|
|
3453
|
+
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;
|
|
3452
3454
|
}
|
|
3453
3455
|
}
|
|
3454
3456
|
function i(P) {
|
|
@@ -3482,7 +3484,7 @@ function yo() {
|
|
|
3482
3484
|
// in computed dimensions. (gh-4529)
|
|
3483
3485
|
reliableTrDimensions: function() {
|
|
3484
3486
|
var P, O, A, R;
|
|
3485
|
-
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",
|
|
3487
|
+
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;
|
|
3486
3488
|
}
|
|
3487
3489
|
}));
|
|
3488
3490
|
})();
|
|
@@ -3676,7 +3678,7 @@ function yo() {
|
|
|
3676
3678
|
}, t !== "margin" && (o.cssHooks[t + i].set = on);
|
|
3677
3679
|
}), o.fn.extend({
|
|
3678
3680
|
css: function(t, i) {
|
|
3679
|
-
return
|
|
3681
|
+
return tt(this, function(r, n, a) {
|
|
3680
3682
|
var l, u, y = {}, m = 0;
|
|
3681
3683
|
if (Array.isArray(n)) {
|
|
3682
3684
|
for (l = yi(r), u = n.length; m < u; m++)
|
|
@@ -3748,12 +3750,12 @@ function yo() {
|
|
|
3748
3750
|
return i && (a.opacity = a.width = t), a;
|
|
3749
3751
|
}
|
|
3750
3752
|
function ln(t, i, r) {
|
|
3751
|
-
for (var n, a = (
|
|
3753
|
+
for (var n, a = (st.tweeners[i] || []).concat(st.tweeners["*"]), l = 0, u = a.length; l < u; l++)
|
|
3752
3754
|
if (n = a[l].call(r, i, t))
|
|
3753
3755
|
return n;
|
|
3754
3756
|
}
|
|
3755
3757
|
function Mo(t, i, r) {
|
|
3756
|
-
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 &&
|
|
3758
|
+
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");
|
|
3757
3759
|
r.queue || (u = o._queueHooks(t, "fx"), u.unqueued == null && (u.unqueued = 0, y = u.empty.fire, u.empty.fire = function() {
|
|
3758
3760
|
u.unqueued || y();
|
|
3759
3761
|
}), u.unqueued++, A.always(function() {
|
|
@@ -3794,8 +3796,8 @@ function yo() {
|
|
|
3794
3796
|
} else
|
|
3795
3797
|
i[n] = a;
|
|
3796
3798
|
}
|
|
3797
|
-
function
|
|
3798
|
-
var n, a, l = 0, u =
|
|
3799
|
+
function st(t, i, r) {
|
|
3800
|
+
var n, a, l = 0, u = st.prefilters.length, y = o.Deferred().always(function() {
|
|
3799
3801
|
delete m.elem;
|
|
3800
3802
|
}), m = function() {
|
|
3801
3803
|
if (a)
|
|
@@ -3835,7 +3837,7 @@ function yo() {
|
|
|
3835
3837
|
}
|
|
3836
3838
|
}), P = w.props;
|
|
3837
3839
|
for (zo(P, w.opts.specialEasing); l < u; l++)
|
|
3838
|
-
if (n =
|
|
3840
|
+
if (n = st.prefilters[l].call(w, t, P, w.opts), n)
|
|
3839
3841
|
return G(n.stop) && (o._queueHooks(w.elem, w.opts.queue).stop = n.stop.bind(n)), n;
|
|
3840
3842
|
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(
|
|
3841
3843
|
o.extend(m, {
|
|
@@ -3845,7 +3847,7 @@ function yo() {
|
|
|
3845
3847
|
})
|
|
3846
3848
|
), w;
|
|
3847
3849
|
}
|
|
3848
|
-
o.Animation = o.extend(
|
|
3850
|
+
o.Animation = o.extend(st, {
|
|
3849
3851
|
tweeners: {
|
|
3850
3852
|
"*": [function(t, i) {
|
|
3851
3853
|
var r = this.createTween(t, i);
|
|
@@ -3855,11 +3857,11 @@ function yo() {
|
|
|
3855
3857
|
tweener: function(t, i) {
|
|
3856
3858
|
G(t) ? (i = t, t = ["*"]) : t = t.match(He);
|
|
3857
3859
|
for (var r, n = 0, a = t.length; n < a; n++)
|
|
3858
|
-
r = t[n],
|
|
3860
|
+
r = t[n], st.tweeners[r] = st.tweeners[r] || [], st.tweeners[r].unshift(i);
|
|
3859
3861
|
},
|
|
3860
3862
|
prefilters: [Mo],
|
|
3861
3863
|
prefilter: function(t, i) {
|
|
3862
|
-
i ?
|
|
3864
|
+
i ? st.prefilters.unshift(t) : st.prefilters.push(t);
|
|
3863
3865
|
}
|
|
3864
3866
|
}), o.speed = function(t, i, r) {
|
|
3865
3867
|
var n = t && typeof t == "object" ? o.extend({}, t) : {
|
|
@@ -3872,11 +3874,11 @@ function yo() {
|
|
|
3872
3874
|
}, n;
|
|
3873
3875
|
}, o.fn.extend({
|
|
3874
3876
|
fadeTo: function(t, i, r, n) {
|
|
3875
|
-
return this.filter(
|
|
3877
|
+
return this.filter(it).css("opacity", 0).show().end().animate({ opacity: i }, t, r, n);
|
|
3876
3878
|
},
|
|
3877
3879
|
animate: function(t, i, r, n) {
|
|
3878
3880
|
var a = o.isEmptyObject(t), l = o.speed(i, r, n), u = function() {
|
|
3879
|
-
var y =
|
|
3881
|
+
var y = st(this, o.extend({}, t), l);
|
|
3880
3882
|
(a || M.get(this, "finish")) && y.stop(!0);
|
|
3881
3883
|
};
|
|
3882
3884
|
return u.finish = u, a || l.queue === !1 ? this.each(u) : this.queue(l.queue, u);
|
|
@@ -3954,7 +3956,7 @@ function yo() {
|
|
|
3954
3956
|
var cn, oi = o.expr.attrHandle;
|
|
3955
3957
|
o.fn.extend({
|
|
3956
3958
|
attr: function(t, i) {
|
|
3957
|
-
return
|
|
3959
|
+
return tt(this, o.attr, t, i, arguments.length > 1);
|
|
3958
3960
|
},
|
|
3959
3961
|
removeAttr: function(t) {
|
|
3960
3962
|
return this.each(function() {
|
|
@@ -4007,7 +4009,7 @@ function yo() {
|
|
|
4007
4009
|
var Io = /^(?:input|select|textarea|button)$/i, Ho = /^(?:a|area)$/i;
|
|
4008
4010
|
o.fn.extend({
|
|
4009
4011
|
prop: function(t, i) {
|
|
4010
|
-
return
|
|
4012
|
+
return tt(this, o.prop, t, i, arguments.length > 1);
|
|
4011
4013
|
},
|
|
4012
4014
|
removeProp: function(t) {
|
|
4013
4015
|
return this.each(function() {
|
|
@@ -4447,7 +4449,7 @@ function yo() {
|
|
|
4447
4449
|
// Main method
|
|
4448
4450
|
ajax: function(t, i) {
|
|
4449
4451
|
typeof t == "object" && (i = t, t = void 0), i = i || {};
|
|
4450
|
-
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 = {},
|
|
4452
|
+
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 = {
|
|
4451
4453
|
readyState: 0,
|
|
4452
4454
|
// Builds headers hashtable if needed
|
|
4453
4455
|
getResponseHeader: function(he) {
|
|
@@ -4466,7 +4468,7 @@ function yo() {
|
|
|
4466
4468
|
},
|
|
4467
4469
|
// Caches the header
|
|
4468
4470
|
setRequestHeader: function(he, Se) {
|
|
4469
|
-
return m == null && (he =
|
|
4471
|
+
return m == null && (he = ut[he.toLowerCase()] = ut[he.toLowerCase()] || he, Pe[he] = Se), this;
|
|
4470
4472
|
},
|
|
4471
4473
|
// Overrides response content-type header
|
|
4472
4474
|
overrideMimeType: function(he) {
|
|
@@ -4485,7 +4487,7 @@ function yo() {
|
|
|
4485
4487
|
},
|
|
4486
4488
|
// Cancel the request
|
|
4487
4489
|
abort: function(he) {
|
|
4488
|
-
var Se = he ||
|
|
4490
|
+
var Se = he || ft;
|
|
4489
4491
|
return r && r.abort(Se), qt(0, Se), this;
|
|
4490
4492
|
}
|
|
4491
4493
|
};
|
|
@@ -4507,7 +4509,7 @@ function yo() {
|
|
|
4507
4509
|
ce.setRequestHeader(P, A.headers[P]);
|
|
4508
4510
|
if (A.beforeSend && (A.beforeSend.call(R, ce, A) === !1 || m))
|
|
4509
4511
|
return ce.abort();
|
|
4510
|
-
if (
|
|
4512
|
+
if (ft = "abort", ne.add(A.complete), ce.done(A.success), ce.fail(A.error), r = vn(ar, A, i, ce), !r)
|
|
4511
4513
|
qt(-1, "No Transport");
|
|
4512
4514
|
else {
|
|
4513
4515
|
if (ce.readyState = 1, w && ie.trigger("ajaxSend", [ce, A]), m)
|
|
@@ -4524,12 +4526,12 @@ function yo() {
|
|
|
4524
4526
|
}
|
|
4525
4527
|
}
|
|
4526
4528
|
function qt(he, Se, li, fr) {
|
|
4527
|
-
var
|
|
4528
|
-
m || (m = !0, u && c.clearTimeout(u), r = void 0, a = fr || "", ce.readyState = he > 0 ? 4 : 0,
|
|
4529
|
-
}), Ct = Uo(A, Ct, ce,
|
|
4530
|
-
|
|
4531
|
-
[ce, A,
|
|
4532
|
-
), ne.fireWith(R, [ce,
|
|
4529
|
+
var dt, ci, ht, Ct, At, rt = Se;
|
|
4530
|
+
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 && (Ct = Yo(A, ce, li)), !dt && o.inArray("script", A.dataTypes) > -1 && o.inArray("json", A.dataTypes) < 0 && (A.converters["text script"] = function() {
|
|
4531
|
+
}), Ct = Uo(A, Ct, ce, dt), dt ? (A.ifModified && (At = ce.getResponseHeader("Last-Modified"), At && (o.lastModified[n] = At), At = ce.getResponseHeader("etag"), At && (o.etag[n] = At)), he === 204 || A.type === "HEAD" ? rt = "nocontent" : he === 304 ? rt = "notmodified" : (rt = Ct.state, ci = Ct.data, ht = Ct.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(
|
|
4532
|
+
dt ? "ajaxSuccess" : "ajaxError",
|
|
4533
|
+
[ce, A, dt ? ci : ht]
|
|
4534
|
+
), ne.fireWith(R, [ce, rt]), w && (ie.trigger("ajaxComplete", [ce, A]), --o.active || o.event.trigger("ajaxStop")));
|
|
4533
4535
|
}
|
|
4534
4536
|
return ce;
|
|
4535
4537
|
},
|
|
@@ -4804,13 +4806,13 @@ function yo() {
|
|
|
4804
4806
|
return this.map(function() {
|
|
4805
4807
|
for (var t = this.offsetParent; t && o.css(t, "position") === "static"; )
|
|
4806
4808
|
t = t.offsetParent;
|
|
4807
|
-
return t ||
|
|
4809
|
+
return t || ct;
|
|
4808
4810
|
});
|
|
4809
4811
|
}
|
|
4810
4812
|
}), o.each({ scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function(t, i) {
|
|
4811
4813
|
var r = i === "pageYOffset";
|
|
4812
4814
|
o.fn[t] = function(n) {
|
|
4813
|
-
return
|
|
4815
|
+
return tt(this, function(a, l, u) {
|
|
4814
4816
|
var y;
|
|
4815
4817
|
if (Ee(a) ? y = a : a.nodeType === 9 && (y = a.defaultView), u === void 0)
|
|
4816
4818
|
return y ? y[i] : a[l];
|
|
@@ -4836,7 +4838,7 @@ function yo() {
|
|
|
4836
4838
|
}, function(r, n) {
|
|
4837
4839
|
o.fn[n] = function(a, l) {
|
|
4838
4840
|
var u = arguments.length && (r || typeof a != "boolean"), y = r || (a === !0 || l === !0 ? "margin" : "border");
|
|
4839
|
-
return
|
|
4841
|
+
return tt(this, function(m, w, P) {
|
|
4840
4842
|
var O;
|
|
4841
4843
|
return Ee(m) ? n.indexOf("outer") === 0 ? m["inner" + t] : m.document.documentElement["client" + t] : m.nodeType === 9 ? (O = m.documentElement, Math.max(
|
|
4842
4844
|
m.body["scroll" + t],
|
|
@@ -5413,9 +5415,9 @@ function Js() {
|
|
|
5413
5415
|
if (e.hasmoving = !1, e.lastmouseup = !1, e.scrollmom.reset(x.clientX, x.clientY), K && ke) {
|
|
5414
5416
|
var Ne = /INPUT|SELECT|BUTTON|TEXTAREA/i.test(K.nodeName);
|
|
5415
5417
|
if (!Ne)
|
|
5416
|
-
return B.hasmousecapture && K.setCapture(), g.emulatetouch ? (K.onclick && !K._onclick && (K._onclick = K.onclick, K.onclick = function(
|
|
5418
|
+
return B.hasmousecapture && K.setCapture(), g.emulatetouch ? (K.onclick && !K._onclick && (K._onclick = K.onclick, K.onclick = function(ot) {
|
|
5417
5419
|
if (e.hasmoving) return !1;
|
|
5418
|
-
K._onclick.call(this,
|
|
5420
|
+
K._onclick.call(this, ot);
|
|
5419
5421
|
}), e.cancelEvent(x)) : e.stopPropagation(x);
|
|
5420
5422
|
/SUBMIT|CANCEL|BUTTON/i.test(k(K).attr("type")) && (e.preventclick = {
|
|
5421
5423
|
tg: K,
|
|
@@ -5452,8 +5454,8 @@ function Js() {
|
|
|
5452
5454
|
var Ne = e.getScrollLeft();
|
|
5453
5455
|
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) {
|
|
5454
5456
|
if (e.rail.drag.y === x.clientY && e.rail.drag.x === x.clientX) return e.cancelEvent(x);
|
|
5455
|
-
var
|
|
5456
|
-
if (e.rail.drag.ck ? e.rail.drag.ck == "v" ? Je > je &&
|
|
5457
|
+
var ot = Math.abs(ve), Je = Math.abs(vt), je = g.directionlockdeadzone;
|
|
5458
|
+
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);
|
|
5457
5459
|
e.triggerScrollStart(x.clientX, x.clientY, 0, 0, 0), e.hasmoving = !0;
|
|
5458
5460
|
}
|
|
5459
5461
|
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() {
|
|
@@ -5545,7 +5547,7 @@ function Js() {
|
|
|
5545
5547
|
cursor: B.cursorgrabvalue
|
|
5546
5548
|
}));
|
|
5547
5549
|
else {
|
|
5548
|
-
var
|
|
5550
|
+
var ct = function(x) {
|
|
5549
5551
|
if (e.selectiondrag) {
|
|
5550
5552
|
if (x) {
|
|
5551
5553
|
var K = e.win.outerHeight(), ue = x.pageY - e.selectiondrag.top;
|
|
@@ -5554,7 +5556,7 @@ function Js() {
|
|
|
5554
5556
|
if (e.selectiondrag.df !== 0) {
|
|
5555
5557
|
var ke = -(e.selectiondrag.df * 2 / 6) | 0;
|
|
5556
5558
|
e.doScrollBy(ke), e.debounced("doselectionscroll", function() {
|
|
5557
|
-
|
|
5559
|
+
ct();
|
|
5558
5560
|
}, 50);
|
|
5559
5561
|
}
|
|
5560
5562
|
}
|
|
@@ -5571,7 +5573,7 @@ function Js() {
|
|
|
5571
5573
|
e.selectiondrag = !1;
|
|
5572
5574
|
}, e.onselectiondrag = function(x) {
|
|
5573
5575
|
e.selectiondrag && e.hasTextSelected() && e.debounced("selectionscroll", function() {
|
|
5574
|
-
|
|
5576
|
+
ct(x);
|
|
5575
5577
|
}, 250);
|
|
5576
5578
|
};
|
|
5577
5579
|
}
|
|
@@ -5724,10 +5726,10 @@ function Js() {
|
|
|
5724
5726
|
attributes: !0,
|
|
5725
5727
|
attributeFilter: ["class"]
|
|
5726
5728
|
})), !e.ispage && !e.haswrapper)) {
|
|
5727
|
-
var
|
|
5729
|
+
var it = e.win[0];
|
|
5728
5730
|
U !== !1 ? (e.observer = new U(function(x) {
|
|
5729
5731
|
x.forEach(e.onAttributeChange);
|
|
5730
|
-
}), e.observer.observe(
|
|
5732
|
+
}), e.observer.observe(it, {
|
|
5731
5733
|
childList: !0,
|
|
5732
5734
|
characterData: !1,
|
|
5733
5735
|
attributes: !0,
|
|
@@ -5736,16 +5738,16 @@ function Js() {
|
|
|
5736
5738
|
x.forEach(function(K) {
|
|
5737
5739
|
if (K.removedNodes.length > 0) {
|
|
5738
5740
|
for (var ue in K.removedNodes)
|
|
5739
|
-
if (e && K.removedNodes[ue] ===
|
|
5741
|
+
if (e && K.removedNodes[ue] === it) return e.remove();
|
|
5740
5742
|
}
|
|
5741
5743
|
});
|
|
5742
|
-
}), e.observerremover.observe(
|
|
5744
|
+
}), e.observerremover.observe(it.parentNode, {
|
|
5743
5745
|
childList: !0,
|
|
5744
5746
|
characterData: !1,
|
|
5745
5747
|
attributes: !1,
|
|
5746
5748
|
subtree: !1
|
|
5747
|
-
})) : (e.bind(
|
|
5748
|
-
x.target ===
|
|
5749
|
+
})) : (e.bind(it, B.isie && !B.isie9 ? "propertychange" : "DOMAttrModified", e.onAttributeChange), B.isie9 && it.attachEvent("onpropertychange", e.onAttributeChange), e.bind(it, "DOMNodeRemoved", function(x) {
|
|
5750
|
+
x.target === it && e.remove();
|
|
5749
5751
|
}));
|
|
5750
5752
|
}
|
|
5751
5753
|
!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);
|
|
@@ -6104,7 +6106,7 @@ function Js() {
|
|
|
6104
6106
|
});
|
|
6105
6107
|
}
|
|
6106
6108
|
var St = !1;
|
|
6107
|
-
function
|
|
6109
|
+
function tt(f, v, S) {
|
|
6108
6110
|
var H, W;
|
|
6109
6111
|
if (!S && St) return !0;
|
|
6110
6112
|
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)) {
|
|
@@ -6127,14 +6129,14 @@ function Js() {
|
|
|
6127
6129
|
return e.railh && e.railh.scrollable ? e.onmousewheelhr(f) : !0;
|
|
6128
6130
|
var v = pe(), S = !1;
|
|
6129
6131
|
if (g.preservenativescrolling && e.checkarea + 600 < v && (e.nativescrollingarea = e.isScrollable(f), S = !0), e.checkarea = v, e.nativescrollingarea) return !0;
|
|
6130
|
-
var H =
|
|
6132
|
+
var H = tt(f, !1, S);
|
|
6131
6133
|
return H && (e.checkarea = 0), H;
|
|
6132
6134
|
}, this.onmousewheelhr = function(f) {
|
|
6133
6135
|
if (!e.wheelprevented) {
|
|
6134
6136
|
if (e.railslocked || !e.railh.scrollable) return !0;
|
|
6135
6137
|
if (e.rail.drag) return e.cancelEvent(f);
|
|
6136
6138
|
var v = pe(), S = !1;
|
|
6137
|
-
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) :
|
|
6139
|
+
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);
|
|
6138
6140
|
}
|
|
6139
6141
|
}, this.stop = function() {
|
|
6140
6142
|
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;
|
|
@@ -6326,24 +6328,24 @@ function Js() {
|
|
|
6326
6328
|
} else
|
|
6327
6329
|
C.doSnapy(C.nc.getScrollLeft(), C.nc.getScrollTop());
|
|
6328
6330
|
};
|
|
6329
|
-
},
|
|
6331
|
+
}, lt = d.fn.scrollTop;
|
|
6330
6332
|
d.cssHooks.pageYOffset = {
|
|
6331
6333
|
get: function(j, C, e) {
|
|
6332
6334
|
var Z = k.data(j, "__nicescroll") || !1;
|
|
6333
|
-
return Z && Z.ishwscroll ? Z.getScrollTop() :
|
|
6335
|
+
return Z && Z.ishwscroll ? Z.getScrollTop() : lt.call(j);
|
|
6334
6336
|
},
|
|
6335
6337
|
set: function(j, C) {
|
|
6336
6338
|
var e = k.data(j, "__nicescroll") || !1;
|
|
6337
|
-
return e && e.ishwscroll ? e.setScrollTop(parseInt(C)) :
|
|
6339
|
+
return e && e.ishwscroll ? e.setScrollTop(parseInt(C)) : lt.call(j, C), this;
|
|
6338
6340
|
}
|
|
6339
6341
|
}, d.fn.scrollTop = function(j) {
|
|
6340
6342
|
if (j === void 0) {
|
|
6341
6343
|
var C = this[0] && k.data(this[0], "__nicescroll") || !1;
|
|
6342
|
-
return C && C.ishwscroll ? C.getScrollTop() :
|
|
6344
|
+
return C && C.ishwscroll ? C.getScrollTop() : lt.call(this);
|
|
6343
6345
|
} else
|
|
6344
6346
|
return this.each(function() {
|
|
6345
6347
|
var e = k.data(this, "__nicescroll") || !1;
|
|
6346
|
-
e && e.ishwscroll ? e.setScrollTop(parseInt(j)) :
|
|
6348
|
+
e && e.ishwscroll ? e.setScrollTop(parseInt(j)) : lt.call(k(this), j);
|
|
6347
6349
|
});
|
|
6348
6350
|
};
|
|
6349
6351
|
var me = d.fn.scrollLeft;
|
|
@@ -6469,14 +6471,14 @@ function Ea(s, c) {
|
|
|
6469
6471
|
(pe.target != pe.target.parentElement?.firstElementChild || pe.target != pe.target.parentElement.lastElementChild) && ($e /= 2);
|
|
6470
6472
|
const ti = (1 - pe.intersectionRatio) * pe.target.clientHeight, o = window.getComputedStyle(
|
|
6471
6473
|
pe.target
|
|
6472
|
-
).lineHeight,
|
|
6474
|
+
).lineHeight, lt = parseFloat(
|
|
6473
6475
|
// remove the trailing "px"
|
|
6474
6476
|
o.substring(
|
|
6475
6477
|
0,
|
|
6476
6478
|
o.length - 2
|
|
6477
6479
|
)
|
|
6478
6480
|
);
|
|
6479
|
-
Ve = ti >
|
|
6481
|
+
Ve = ti > lt * $e;
|
|
6480
6482
|
}
|
|
6481
6483
|
if (Ve && h.indexOf(
|
|
6482
6484
|
pe.target.parentElement
|