bloom-player 2.19.6 → 2.19.7-alpha.2
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
|
@@ -157,22 +157,22 @@ function ps(a, c) {
|
|
|
157
157
|
T.push(wr(a.nodeValue));
|
|
158
158
|
else {
|
|
159
159
|
let O = 0;
|
|
160
|
-
for (let
|
|
161
|
-
const
|
|
160
|
+
for (let M = 0; M < h.length; ++M) {
|
|
161
|
+
const N = h[M], B = a.nodeValue.slice(
|
|
162
162
|
O,
|
|
163
|
-
|
|
163
|
+
N.startIndex
|
|
164
164
|
);
|
|
165
|
-
if (O =
|
|
166
|
-
const
|
|
167
|
-
|
|
165
|
+
if (O = N.endIndex, B && T.push(wr(B)), T.push(document.createTextNode(N.text)), M === h.length - 1) {
|
|
166
|
+
const $ = a.nodeValue.slice(N.endIndex);
|
|
167
|
+
$ && T.push(wr($));
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
const k = a;
|
|
172
172
|
if (k.parentNode && T && T.length > 0) {
|
|
173
173
|
for (let O = 0; O < T.length; ++O) {
|
|
174
|
-
const
|
|
175
|
-
k.parentNode.insertBefore(
|
|
174
|
+
const M = T[O];
|
|
175
|
+
k.parentNode.insertBefore(M, k);
|
|
176
176
|
}
|
|
177
177
|
k.parentNode.removeChild(k), c.classList.add(Nr);
|
|
178
178
|
}
|
|
@@ -199,14 +199,14 @@ function Bn() {
|
|
|
199
199
|
if (h) {
|
|
200
200
|
const k = c.querySelectorAll(
|
|
201
201
|
`span.${cs}`
|
|
202
|
-
), O = h.split(" "),
|
|
202
|
+
), O = h.split(" "), M = Math.min(
|
|
203
203
|
O.length,
|
|
204
204
|
k.length
|
|
205
205
|
);
|
|
206
|
-
for (let
|
|
207
|
-
const B = Number(O[
|
|
206
|
+
for (let N = M - 1; N >= 0; --N) {
|
|
207
|
+
const B = Number(O[N]);
|
|
208
208
|
isNaN(B) || It.push([
|
|
209
|
-
k.item(
|
|
209
|
+
k.item(N),
|
|
210
210
|
B
|
|
211
211
|
]);
|
|
212
212
|
}
|
|
@@ -242,14 +242,14 @@ function Pr(a, c = 0) {
|
|
|
242
242
|
shouldScrollToElement: !0,
|
|
243
243
|
disableHighlightIfNoAudio: !1
|
|
244
244
|
});
|
|
245
|
-
let
|
|
245
|
+
let M = document.getElementById(
|
|
246
246
|
"bloom-audio-player"
|
|
247
247
|
).currentTime;
|
|
248
|
-
|
|
249
|
-
const
|
|
248
|
+
M <= 0 && (M = c);
|
|
249
|
+
const N = Math.max(k - M, 0.1);
|
|
250
250
|
setTimeout(() => {
|
|
251
251
|
Rn(a);
|
|
252
|
-
},
|
|
252
|
+
}, N * 1e3);
|
|
253
253
|
}
|
|
254
254
|
function Rn(a) {
|
|
255
255
|
if (a !== yi || ni === 5)
|
|
@@ -299,8 +299,8 @@ function Wn({
|
|
|
299
299
|
if (c)
|
|
300
300
|
try {
|
|
301
301
|
gs(a);
|
|
302
|
-
} catch (
|
|
303
|
-
console.error(
|
|
302
|
+
} catch (M) {
|
|
303
|
+
console.error(M);
|
|
304
304
|
}
|
|
305
305
|
if (p === a)
|
|
306
306
|
return;
|
|
@@ -313,10 +313,10 @@ function Wn({
|
|
|
313
313
|
}))), k || a.classList.add("ui-audioCurrent");
|
|
314
314
|
const O = a.closest(".bloom-translationGroup");
|
|
315
315
|
if (O && O.classList.contains(Pn)) {
|
|
316
|
-
const
|
|
316
|
+
const M = O.closest(
|
|
317
317
|
".bloom-imageContainer, .bloom-canvas"
|
|
318
318
|
);
|
|
319
|
-
|
|
319
|
+
M && M.classList.add("ui-audioCurrentImg");
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
322
|
function gs(a) {
|
|
@@ -330,7 +330,7 @@ function gs(a) {
|
|
|
330
330
|
if (window.getComputedStyle(a.parentElement).position !== "static") {
|
|
331
331
|
const T = a;
|
|
332
332
|
c = document.createElement("div"), c.style.position = "absolute", c.style.top = T.offsetTop + "px";
|
|
333
|
-
const k = T.getBoundingClientRect(), O = T.parentElement,
|
|
333
|
+
const k = T.getBoundingClientRect(), O = T.parentElement, M = O == null ? void 0 : O.getBoundingClientRect(), N = M.width / O.offsetWidth, B = (k.left - M.left) / N;
|
|
334
334
|
c.style.left = B + T.offsetWidth / 2 + "px", c.style.height = T.offsetHeight + "px", c.style.width = "0", (h = a.parentElement) == null || h.insertBefore(c, a);
|
|
335
335
|
}
|
|
336
336
|
c.scrollIntoView({
|
|
@@ -508,8 +508,15 @@ function Ps(a, c = () => !0) {
|
|
|
508
508
|
if (h || !a.paused)
|
|
509
509
|
return;
|
|
510
510
|
const T = () => {
|
|
511
|
-
window.clearTimeout(k), c()
|
|
511
|
+
if (window.clearTimeout(k), !c())
|
|
512
|
+
return;
|
|
513
|
+
const M = () => {
|
|
512
514
|
c() && a.pause();
|
|
515
|
+
}, N = a.requestVideoFrameCallback;
|
|
516
|
+
N ? N.call(a, () => {
|
|
517
|
+
M();
|
|
518
|
+
}) : setTimeout(() => {
|
|
519
|
+
M();
|
|
513
520
|
}, 4);
|
|
514
521
|
};
|
|
515
522
|
a.addEventListener("playing", T, { once: !0 });
|
|
@@ -578,18 +585,18 @@ function Ms(a) {
|
|
|
578
585
|
for (; h.length > 0; ) c.removeChild(h[0]);
|
|
579
586
|
}
|
|
580
587
|
}
|
|
581
|
-
const
|
|
582
|
-
let Cr = [],
|
|
588
|
+
const Vi = ".bloom-textOverPicture, .bloom-canvas-element";
|
|
589
|
+
let Cr = [], $i = /* @__PURE__ */ new Map(), it, qi, Xi = [];
|
|
583
590
|
const Is = (a) => {
|
|
584
|
-
|
|
585
|
-
|
|
591
|
+
Xi = [], a.querySelectorAll("[data-draggable-id]").forEach((c) => {
|
|
592
|
+
Xi.push({
|
|
586
593
|
x: c.style.left,
|
|
587
594
|
y: c.style.top,
|
|
588
595
|
elt: c
|
|
589
596
|
});
|
|
590
597
|
});
|
|
591
598
|
}, qr = () => {
|
|
592
|
-
|
|
599
|
+
Xi.forEach((a) => {
|
|
593
600
|
a.elt.style.left = a.x, a.elt.style.top = a.y, a.elt.classList.remove("bloom-draggedToTarget");
|
|
594
601
|
});
|
|
595
602
|
};
|
|
@@ -628,7 +635,7 @@ function ua(a, c) {
|
|
|
628
635
|
}
|
|
629
636
|
), Array.from(a.getElementsByTagName("img")).forEach((oe) => {
|
|
630
637
|
oe.setAttribute("draggable", "false");
|
|
631
|
-
}), Cr = [],
|
|
638
|
+
}), Cr = [], $i = /* @__PURE__ */ new Map();
|
|
632
639
|
const p = Array.from(a.querySelectorAll("[data-draggable-id]")), T = [];
|
|
633
640
|
p.forEach((oe) => {
|
|
634
641
|
const je = oe.getAttribute("data-draggable-id"), ne = a.querySelector(
|
|
@@ -643,67 +650,67 @@ function ua(a, c) {
|
|
|
643
650
|
height: ne.offsetHeight
|
|
644
651
|
}), T.push(ne);
|
|
645
652
|
}
|
|
646
|
-
|
|
653
|
+
$i.set(oe, { x: oe.offsetLeft, y: oe.offsetTop }), oe.style.touchAction = "none", oe.addEventListener("pointerdown", Kn, { capture: !0 });
|
|
647
654
|
}), Array.from(a.getElementsByTagName("video")).forEach((oe) => {
|
|
648
655
|
var je;
|
|
649
|
-
(je = oe.closest(
|
|
656
|
+
(je = oe.closest(Vi)) != null && je.hasAttribute("data-draggable-id") && (oe.classList.add("bloom-ui-no-controls"), oe.addEventListener("pointerdown", _n), Ps(oe));
|
|
650
657
|
});
|
|
651
658
|
const O = p.concat(T);
|
|
652
659
|
Array.from(
|
|
653
660
|
a.getElementsByClassName("bloom-visibility-code-on")
|
|
654
661
|
).filter((oe) => {
|
|
655
|
-
var je = oe.closest(
|
|
662
|
+
var je = oe.closest(Vi);
|
|
656
663
|
return je ? O.indexOf(je) < 0 : !0;
|
|
657
664
|
}).forEach((oe) => {
|
|
658
|
-
oe.addEventListener("pointerdown",
|
|
665
|
+
oe.addEventListener("pointerdown", $n);
|
|
659
666
|
});
|
|
660
|
-
const
|
|
667
|
+
const N = Array.from(
|
|
661
668
|
a.getElementsByClassName("check-button")
|
|
662
669
|
), B = Array.from(
|
|
663
670
|
a.getElementsByClassName("try-again-button")
|
|
664
|
-
),
|
|
671
|
+
), $ = Array.from(
|
|
665
672
|
a.getElementsByClassName("show-correct-button")
|
|
666
673
|
);
|
|
667
|
-
|
|
674
|
+
N.forEach((oe) => {
|
|
668
675
|
oe.addEventListener("click", eo);
|
|
669
676
|
}), B.forEach((oe) => {
|
|
670
677
|
oe.addEventListener("click", to);
|
|
671
|
-
}),
|
|
678
|
+
}), $.forEach((oe) => {
|
|
672
679
|
oe.addEventListener("click", Zn);
|
|
673
680
|
}), Array.from(a.querySelectorAll("[data-sound]")).forEach((oe) => {
|
|
674
|
-
oe.addEventListener("click",
|
|
681
|
+
oe.addEventListener("click", Vn);
|
|
675
682
|
}), Bs(a);
|
|
676
683
|
}
|
|
677
684
|
const Bs = (a) => {
|
|
678
685
|
Array.from(a.getElementsByClassName("drag-item-order-sentence")).forEach(
|
|
679
686
|
(c) => {
|
|
680
|
-
var
|
|
687
|
+
var M, N;
|
|
681
688
|
const h = c.getElementsByClassName(
|
|
682
689
|
"bloom-content1 bloom-visibility-code-on"
|
|
683
|
-
)[0], p = (
|
|
690
|
+
)[0], p = (M = h == null ? void 0 : h.textContent) == null ? void 0 : M.trim();
|
|
684
691
|
if (!p) return;
|
|
685
692
|
const T = p.split(" "), k = qs(T), O = a.ownerDocument.createElement("div");
|
|
686
|
-
O.classList.add("drag-item-random-sentence"), O.setAttribute("data-answer", p), Yn(a, k, O, h, !0), O.style.left = c.style.left, O.style.top = c.style.top, O.style.width = c.style.width, (
|
|
693
|
+
O.classList.add("drag-item-random-sentence"), O.setAttribute("data-answer", p), Yn(a, k, O, h, !0), O.style.left = c.style.left, O.style.top = c.style.top, O.style.width = c.style.width, (N = c.parentElement) == null || N.insertBefore(O, c);
|
|
687
694
|
}
|
|
688
695
|
);
|
|
689
696
|
}, _n = (a) => {
|
|
690
697
|
a.currentTarget.play();
|
|
691
698
|
};
|
|
692
699
|
function fa(a) {
|
|
693
|
-
Br(), qr(),
|
|
700
|
+
Br(), qr(), Xi = [], Array.from(
|
|
694
701
|
a.getElementsByClassName("bloom-change-page-button")
|
|
695
702
|
).forEach(
|
|
696
|
-
(
|
|
703
|
+
(N) => N.removeEventListener("click", Un)
|
|
697
704
|
), Array.from(a.getElementsByClassName("bloom-visibility-code-on")).forEach(
|
|
698
|
-
(
|
|
699
|
-
|
|
705
|
+
(N) => {
|
|
706
|
+
N.removeEventListener("pointerdown", $n);
|
|
700
707
|
}
|
|
701
|
-
), a.querySelectorAll("[data-draggable-id]").forEach((
|
|
702
|
-
|
|
703
|
-
}), Array.from(a.getElementsByTagName("img")).forEach((
|
|
704
|
-
|
|
705
|
-
}), Array.from(a.getElementsByTagName("video")).forEach((
|
|
706
|
-
|
|
708
|
+
), a.querySelectorAll("[data-draggable-id]").forEach((N) => {
|
|
709
|
+
N.removeEventListener("pointerdown", Kn, { capture: !0 });
|
|
710
|
+
}), Array.from(a.getElementsByTagName("img")).forEach((N) => {
|
|
711
|
+
N.removeAttribute("draggable");
|
|
712
|
+
}), Array.from(a.getElementsByTagName("video")).forEach((N) => {
|
|
713
|
+
N.removeEventListener("pointerdown", _n), N.classList.remove("bloom-ui-no-controls");
|
|
707
714
|
});
|
|
708
715
|
const p = Array.from(
|
|
709
716
|
a.getElementsByClassName("check-button")
|
|
@@ -712,30 +719,30 @@ function fa(a) {
|
|
|
712
719
|
), k = Array.from(
|
|
713
720
|
a.getElementsByClassName("show-correct-button")
|
|
714
721
|
);
|
|
715
|
-
p.forEach((
|
|
716
|
-
|
|
717
|
-
}), k.forEach((
|
|
718
|
-
|
|
719
|
-
}), T.forEach((
|
|
720
|
-
|
|
721
|
-
}), Array.from(a.querySelectorAll("[data-sound]")).forEach((
|
|
722
|
-
|
|
722
|
+
p.forEach((N) => {
|
|
723
|
+
N.removeEventListener("click", eo);
|
|
724
|
+
}), k.forEach((N) => {
|
|
725
|
+
N.removeEventListener("click", Zn);
|
|
726
|
+
}), T.forEach((N) => {
|
|
727
|
+
N.removeEventListener("click", to);
|
|
728
|
+
}), Array.from(a.querySelectorAll("[data-sound]")).forEach((N) => {
|
|
729
|
+
N.removeEventListener("click", Vn);
|
|
723
730
|
}), Array.from(
|
|
724
731
|
a.getElementsByClassName("drag-item-random-sentence")
|
|
725
|
-
).forEach((
|
|
732
|
+
).forEach((N) => {
|
|
726
733
|
var B;
|
|
727
|
-
(B =
|
|
734
|
+
(B = N.parentElement) == null || B.removeChild(N);
|
|
728
735
|
});
|
|
729
|
-
const
|
|
730
|
-
uo(!
|
|
736
|
+
const M = a.closest(".swiper-slide") !== null;
|
|
737
|
+
uo(!M, a);
|
|
731
738
|
}
|
|
732
|
-
const
|
|
739
|
+
const Vn = (a) => {
|
|
733
740
|
const c = a.currentTarget, h = c.getAttribute("data-sound");
|
|
734
741
|
h && no(c, h), a.preventDefault(), a.stopPropagation();
|
|
735
|
-
},
|
|
742
|
+
}, $n = (a) => {
|
|
736
743
|
const c = a.currentTarget;
|
|
737
|
-
|
|
738
|
-
},
|
|
744
|
+
Xn(c);
|
|
745
|
+
}, Xn = (a) => {
|
|
739
746
|
const c = Os(a);
|
|
740
747
|
bi(c, a.closest(".bloom-page"));
|
|
741
748
|
};
|
|
@@ -744,11 +751,11 @@ function Os(a) {
|
|
|
744
751
|
return Rr(c);
|
|
745
752
|
}
|
|
746
753
|
function Yn(a, c, h, p, T) {
|
|
747
|
-
var
|
|
748
|
-
const k = ((
|
|
749
|
-
c.forEach((
|
|
754
|
+
var M;
|
|
755
|
+
const k = ((M = Array.from(p == null ? void 0 : p.classList)) == null ? void 0 : M.find((N) => N.endsWith("-style"))) ?? "Normal-style", O = p == null ? void 0 : p.getAttribute("lang");
|
|
756
|
+
c.forEach((N) => {
|
|
750
757
|
const B = a.ownerDocument.createElement("div");
|
|
751
|
-
B.classList.add("drag-item-order-word"), B.textContent =
|
|
758
|
+
B.classList.add("drag-item-order-word"), B.textContent = N, h.appendChild(B), B.classList.add(k), O && B.setAttribute("lang", O), T && B.addEventListener("pointerdown", Ws);
|
|
752
759
|
});
|
|
753
760
|
}
|
|
754
761
|
function Un(a) {
|
|
@@ -759,7 +766,7 @@ function Un(a) {
|
|
|
759
766
|
}
|
|
760
767
|
function da(a, c) {
|
|
761
768
|
const h = (k) => {
|
|
762
|
-
const O = k.closest(
|
|
769
|
+
const O = k.closest(Vi);
|
|
763
770
|
return !(!O || O.classList.contains("draggable-text") || O.hasAttribute("data-draggable-id") || O.classList.contains("drag-item-order-sentence") || O.classList.contains("bloom-wordChoice") || O.classList.contains("drag-item-correct") || O.classList.contains("drag-item-wrong"));
|
|
764
771
|
}, p = Gi(a).filter(h), T = Rr(p);
|
|
765
772
|
if (c) {
|
|
@@ -794,10 +801,10 @@ function Gi(a) {
|
|
|
794
801
|
return a.classList.contains("bloom-editable") && window.getComputedStyle(a).display !== "none" && c.push(a), c;
|
|
795
802
|
}
|
|
796
803
|
function qs(a, c) {
|
|
797
|
-
c || (c = (
|
|
804
|
+
c || (c = (M, N) => M === N);
|
|
798
805
|
let h = !0;
|
|
799
|
-
for (let
|
|
800
|
-
if (!c(a[0], a[
|
|
806
|
+
for (let M = 1; M < a.length; ++M)
|
|
807
|
+
if (!c(a[0], a[M])) {
|
|
801
808
|
h = !1;
|
|
802
809
|
break;
|
|
803
810
|
}
|
|
@@ -805,19 +812,19 @@ function qs(a, c) {
|
|
|
805
812
|
const p = a.slice();
|
|
806
813
|
let T = 0, k = p, O = 0;
|
|
807
814
|
for (; O++ < 10; ) {
|
|
808
|
-
let
|
|
809
|
-
for (;
|
|
810
|
-
|
|
811
|
-
a[
|
|
812
|
-
a[
|
|
815
|
+
let M = a.length, N;
|
|
816
|
+
for (; M !== 0; )
|
|
817
|
+
N = Math.floor(Math.random() * M), M--, [a[M], a[N]] = [
|
|
818
|
+
a[N],
|
|
819
|
+
a[M]
|
|
813
820
|
];
|
|
814
821
|
let B = 0;
|
|
815
|
-
for (let
|
|
816
|
-
c(a[
|
|
822
|
+
for (let $ = 0; $ < a.length; ++$)
|
|
823
|
+
c(a[$], p[$]) || ++B;
|
|
817
824
|
if (B === a.length) return a;
|
|
818
825
|
B > T && (T = B, k = a.slice());
|
|
819
826
|
}
|
|
820
|
-
for (let
|
|
827
|
+
for (let M = 0; M < a.length; ++M) a[M] = k[M];
|
|
821
828
|
return a;
|
|
822
829
|
}
|
|
823
830
|
function pa(a, c) {
|
|
@@ -842,8 +849,8 @@ const Zn = (a) => {
|
|
|
842
849
|
const B = h.style.height.replace("px", "");
|
|
843
850
|
O = Number.parseInt(B, 10);
|
|
844
851
|
}
|
|
845
|
-
const
|
|
846
|
-
h.style.left =
|
|
852
|
+
const M = T.offsetLeft + (T.offsetWidth - k) / 2, N = T.offsetTop + (T.offsetHeight - O) / 2;
|
|
853
|
+
h.style.left = M + "px", h.style.top = N + "px";
|
|
847
854
|
}), Array.from(
|
|
848
855
|
it.getElementsByClassName("drag-item-random-sentence")
|
|
849
856
|
).forEach((h) => {
|
|
@@ -875,30 +882,30 @@ const Ji = (a) => a.getBoundingClientRect().width / a.offsetWidth, Kn = (a) => {
|
|
|
875
882
|
const c = a.currentTarget;
|
|
876
883
|
qe = c;
|
|
877
884
|
const h = c.closest(".bloom-page"), p = Ji(h);
|
|
878
|
-
Zi = a.clientX / p - c.offsetLeft, Ki = a.clientY / p - c.offsetTop, c.setPointerCapture(a.pointerId), c.addEventListener("pointerup", Qn), c.addEventListener("pointermove", Jn),
|
|
885
|
+
Zi = a.clientX / p - c.offsetLeft, Ki = a.clientY / p - c.offsetTop, c.setPointerCapture(a.pointerId), c.addEventListener("pointerup", Qn), c.addEventListener("pointermove", Jn), Xn(c), c.classList.add("bloom-ui-dragging"), qe.classList.remove("bloom-draggedToTarget");
|
|
879
886
|
}, Jn = (a) => {
|
|
880
887
|
const c = qe.closest(".bloom-page"), h = Ji(c);
|
|
881
888
|
a.preventDefault();
|
|
882
889
|
let p = a.clientX / h - Zi, T = a.clientY / h - Ki, k = Number.MAX_VALUE;
|
|
883
890
|
Ar = !1;
|
|
884
|
-
let O = p,
|
|
885
|
-
for (const
|
|
886
|
-
const B = (
|
|
887
|
-
je < k && (k = je, O =
|
|
891
|
+
let O = p, M = T;
|
|
892
|
+
for (const N of Cr) {
|
|
893
|
+
const B = (N.width - qe.offsetWidth) / 2, $ = (N.height - qe.offsetHeight) / 2, ke = N.x + B - p, oe = N.y + $ - T, je = Math.sqrt(ke * ke + oe * oe);
|
|
894
|
+
je < k && (k = je, O = N.x + B, M = N.y + $);
|
|
888
895
|
}
|
|
889
|
-
k < 50 && (p = O, T =
|
|
896
|
+
k < 50 && (p = O, T = M, Ar = !0), qe.style.top = T + "px", qe.style.left = p + "px";
|
|
890
897
|
}, Qn = (a) => {
|
|
891
898
|
if (Ar)
|
|
892
899
|
qe.classList.add("bloom-draggedToTarget");
|
|
893
900
|
else {
|
|
894
|
-
const p =
|
|
901
|
+
const p = $i.get(qe);
|
|
895
902
|
qe.style.top = (p == null ? void 0 : p.y) + "px", qe.style.left = (p == null ? void 0 : p.x) + "px", qe.classList.remove("bloom-draggedToTarget");
|
|
896
903
|
}
|
|
897
904
|
qe.classList.remove("bloom-ui-dragging"), qe.removeEventListener("pointerup", Qn), qe.removeEventListener("pointermove", Jn);
|
|
898
905
|
const c = qe.closest(".bloom-page");
|
|
899
906
|
Array.from(c.querySelectorAll("[data-draggable-id]")).forEach((p) => {
|
|
900
907
|
if (p !== qe && Lr(p, qe)) {
|
|
901
|
-
const T =
|
|
908
|
+
const T = $i.get(p);
|
|
902
909
|
T && (p.style.left = T.x + "px", p.style.top = T.y + "px", p.classList.remove("bloom-draggedToTarget"));
|
|
903
910
|
}
|
|
904
911
|
});
|
|
@@ -935,12 +942,12 @@ function Rs(a, c) {
|
|
|
935
942
|
a.getElementsByClassName(
|
|
936
943
|
c ? "drag-item-correct" : "drag-item-wrong"
|
|
937
944
|
)
|
|
938
|
-
), O = [],
|
|
945
|
+
), O = [], M = [];
|
|
939
946
|
k.forEach((B) => {
|
|
940
|
-
O.push(...Gi(B)),
|
|
947
|
+
O.push(...Gi(B)), M.push(...Array.from(B.getElementsByTagName("video")));
|
|
941
948
|
});
|
|
942
|
-
const
|
|
943
|
-
Or(
|
|
949
|
+
const N = Rr(O);
|
|
950
|
+
Or(M, () => bi(N, a));
|
|
944
951
|
}, T = h !== null;
|
|
945
952
|
h === null ? h = c ? io : ro : h === "none" && (h = void 0), h ? no(a, h, T, p) : p();
|
|
946
953
|
}
|
|
@@ -953,8 +960,8 @@ function no(a, c, h = !0, p) {
|
|
|
953
960
|
k || (k = !0, p == null || p());
|
|
954
961
|
};
|
|
955
962
|
Fn(a) && T.classList.add("bloom-ui"), T.style.visibility = "hidden", a.append(T);
|
|
956
|
-
const
|
|
957
|
-
|
|
963
|
+
const M = T.play();
|
|
964
|
+
M == null || M.catch(() => {
|
|
958
965
|
O();
|
|
959
966
|
}), T.addEventListener(
|
|
960
967
|
"ended",
|
|
@@ -979,17 +986,17 @@ function js(a) {
|
|
|
979
986
|
);
|
|
980
987
|
if (k && !Lr(p, k)) {
|
|
981
988
|
if (!Array.from(p.children).some(
|
|
982
|
-
(
|
|
989
|
+
(M) => M.classList.contains("bloom-translationGroup")
|
|
983
990
|
)) {
|
|
984
991
|
c = !1;
|
|
985
992
|
return;
|
|
986
993
|
}
|
|
987
994
|
const O = Sn(p);
|
|
988
|
-
h.some((
|
|
995
|
+
h.some((M) => M === p || Sn(M) !== O ? !1 : Lr(M, k)) || (c = !1);
|
|
989
996
|
}
|
|
990
997
|
}), c;
|
|
991
998
|
}
|
|
992
|
-
let
|
|
999
|
+
let Ve, kr = 0;
|
|
993
1000
|
const oo = 5;
|
|
994
1001
|
function Ws(a) {
|
|
995
1002
|
var p, T;
|
|
@@ -1001,8 +1008,8 @@ function Ws(a) {
|
|
|
1001
1008
|
), Ge.textContent = de.textContent, Ge.style.position = "absolute", Ge.style.left = de.offsetLeft + "px", Ge.style.top = de.offsetTop + "px", Ge.setAttribute(
|
|
1002
1009
|
"lang",
|
|
1003
1010
|
de.getAttribute("lang")
|
|
1004
|
-
),
|
|
1005
|
-
|
|
1011
|
+
), Ve = co(de), Ve.style.width = kr + oo + "px", (p = de.parentElement) == null || p.insertBefore(
|
|
1012
|
+
Ve,
|
|
1006
1013
|
de
|
|
1007
1014
|
), de.style.display = "none", de.setPointerCapture(a.pointerId), de.addEventListener("pointerup", lo), de.addEventListener("pointermove", ao), de.addEventListener("touchstart", so), (T = de.parentElement) == null || T.appendChild(Ge);
|
|
1008
1015
|
}
|
|
@@ -1016,30 +1023,30 @@ const ao = (a) => {
|
|
|
1016
1023
|
const p = a.clientX / h - Zi, T = a.clientY / h - Ki;
|
|
1017
1024
|
if (Ge.style.top = T + "px", Ge.style.left = p + "px", Ri)
|
|
1018
1025
|
return;
|
|
1019
|
-
const k = de.parentElement, O = Array.from(k.children).find((
|
|
1020
|
-
const
|
|
1021
|
-
return
|
|
1026
|
+
const k = de.parentElement, O = Array.from(k.children).find((M) => {
|
|
1027
|
+
const N = M.getBoundingClientRect();
|
|
1028
|
+
return M !== de && M !== Ve && M !== Ge && a.clientX > N.left && a.clientX < N.right && a.clientY > N.top && a.clientY < N.bottom;
|
|
1022
1029
|
});
|
|
1023
1030
|
if (O && O !== En) {
|
|
1024
|
-
const
|
|
1025
|
-
|
|
1031
|
+
const M = Array.from(k.children);
|
|
1032
|
+
M.indexOf(O) > M.indexOf(Ve) ? xr(() => {
|
|
1026
1033
|
k.insertBefore(
|
|
1027
|
-
|
|
1034
|
+
Ve,
|
|
1028
1035
|
O.nextSibling
|
|
1029
1036
|
);
|
|
1030
1037
|
}) : xr(() => {
|
|
1031
|
-
k.insertBefore(
|
|
1038
|
+
k.insertBefore(Ve, O);
|
|
1032
1039
|
});
|
|
1033
1040
|
} else {
|
|
1034
|
-
const
|
|
1041
|
+
const M = Array.from(
|
|
1035
1042
|
de.parentElement.getElementsByClassName(
|
|
1036
1043
|
"drag-item-order-word"
|
|
1037
1044
|
)
|
|
1038
1045
|
).filter(
|
|
1039
|
-
(
|
|
1040
|
-
), B =
|
|
1046
|
+
($) => $ !== de && $ !== Ve && $ !== Ge
|
|
1047
|
+
), B = M[M.length - 1].getBoundingClientRect();
|
|
1041
1048
|
(a.clientY > B.bottom || a.clientX > B.right && a.clientY > B.top) && xr(() => {
|
|
1042
|
-
k.appendChild(
|
|
1049
|
+
k.appendChild(Ve);
|
|
1043
1050
|
});
|
|
1044
1051
|
}
|
|
1045
1052
|
En = O;
|
|
@@ -1057,8 +1064,8 @@ const ao = (a) => {
|
|
|
1057
1064
|
), (c = Ge.parentElement) == null || c.removeChild(Ge), (h = de.parentElement) == null || h.insertBefore(
|
|
1058
1065
|
de,
|
|
1059
1066
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
1060
|
-
|
|
1061
|
-
), (p = de.parentElement) == null || p.removeChild(
|
|
1067
|
+
Ve
|
|
1068
|
+
), (p = de.parentElement) == null || p.removeChild(Ve), Ve = void 0, de.style.display = "";
|
|
1062
1069
|
};
|
|
1063
1070
|
function co(a) {
|
|
1064
1071
|
const c = a.cloneNode(!0);
|
|
@@ -1068,14 +1075,14 @@ let Ri = !1;
|
|
|
1068
1075
|
function xr(a) {
|
|
1069
1076
|
Ri = !0;
|
|
1070
1077
|
const c = 200, h = de.parentElement, p = co(de);
|
|
1071
|
-
h.insertBefore(p,
|
|
1078
|
+
h.insertBefore(p, Ve), a();
|
|
1072
1079
|
const T = Date.now(), k = () => {
|
|
1073
|
-
const O = Date.now() - T,
|
|
1074
|
-
if (
|
|
1080
|
+
const O = Date.now() - T, M = Math.min(O / c, 1), N = kr + oo;
|
|
1081
|
+
if (!Ve) {
|
|
1075
1082
|
h.removeChild(p), Ri = !1;
|
|
1076
1083
|
return;
|
|
1077
1084
|
}
|
|
1078
|
-
|
|
1085
|
+
Ve.style.width = N * M + "px", p.style.width = N * (1 - M) + "px", M < 1 ? requestAnimationFrame(k) : (h.removeChild(p), Ve.style.width = N + "px", Ri = !1);
|
|
1079
1086
|
};
|
|
1080
1087
|
requestAnimationFrame(k);
|
|
1081
1088
|
}
|
|
@@ -1094,7 +1101,7 @@ const uo = (a, c) => {
|
|
|
1094
1101
|
a ? h.forEach((p) => {
|
|
1095
1102
|
_s(p);
|
|
1096
1103
|
}) : h.forEach((p) => {
|
|
1097
|
-
|
|
1104
|
+
Vs(p);
|
|
1098
1105
|
});
|
|
1099
1106
|
};
|
|
1100
1107
|
function _s(a) {
|
|
@@ -1141,15 +1148,15 @@ const jr = (a) => {
|
|
|
1141
1148
|
if (c)
|
|
1142
1149
|
return a.closest(".bloom-page").querySelector(`[data-target-of="${c}"]`);
|
|
1143
1150
|
};
|
|
1144
|
-
function
|
|
1151
|
+
function Vs(a) {
|
|
1145
1152
|
const c = jr(a);
|
|
1146
1153
|
c && (c.innerHTML = "");
|
|
1147
1154
|
}
|
|
1148
1155
|
let ma = !1;
|
|
1149
1156
|
function va(a) {
|
|
1150
1157
|
}
|
|
1151
|
-
var
|
|
1152
|
-
function
|
|
1158
|
+
var $s = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1159
|
+
function Xs(a) {
|
|
1153
1160
|
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
|
|
1154
1161
|
}
|
|
1155
1162
|
var fo = { exports: {} };
|
|
@@ -1173,12 +1180,12 @@ var fo = { exports: {} };
|
|
|
1173
1180
|
throw new Error("jQuery requires a window with a document");
|
|
1174
1181
|
return h(p);
|
|
1175
1182
|
};
|
|
1176
|
-
})(typeof window < "u" ? window :
|
|
1183
|
+
})(typeof window < "u" ? window : $s, function(c, h) {
|
|
1177
1184
|
var p = [], T = Object.getPrototypeOf, k = p.slice, O = p.flat ? function(t) {
|
|
1178
1185
|
return p.flat.call(t);
|
|
1179
1186
|
} : function(t) {
|
|
1180
1187
|
return p.concat.apply([], t);
|
|
1181
|
-
},
|
|
1188
|
+
}, M = p.push, N = p.indexOf, B = {}, $ = B.toString, ke = B.hasOwnProperty, oe = ke.toString, je = oe.call(Object), ne = {}, Q = function(i) {
|
|
1182
1189
|
return typeof i == "function" && typeof i.nodeType != "number";
|
|
1183
1190
|
}, Me = function(i) {
|
|
1184
1191
|
return i != null && i === i.window;
|
|
@@ -1197,7 +1204,7 @@ var fo = { exports: {} };
|
|
|
1197
1204
|
r.head.appendChild(l).parentNode.removeChild(l);
|
|
1198
1205
|
}
|
|
1199
1206
|
function Ze(t) {
|
|
1200
|
-
return t == null ? t + "" : typeof t == "object" || typeof t == "function" ? B[
|
|
1207
|
+
return t == null ? t + "" : typeof t == "object" || typeof t == "function" ? B[$.call(t)] || "object" : typeof t;
|
|
1201
1208
|
}
|
|
1202
1209
|
var Ot = "3.5.1", o = function(t, i) {
|
|
1203
1210
|
return new o.fn.init(t, i);
|
|
@@ -1259,7 +1266,7 @@ var fo = { exports: {} };
|
|
|
1259
1266
|
},
|
|
1260
1267
|
// For internal use only.
|
|
1261
1268
|
// Behaves like an Array's method, not like a jQuery method.
|
|
1262
|
-
push:
|
|
1269
|
+
push: M,
|
|
1263
1270
|
sort: p.sort,
|
|
1264
1271
|
splice: p.splice
|
|
1265
1272
|
}, o.extend = o.fn.extend = function() {
|
|
@@ -1281,7 +1288,7 @@ var fo = { exports: {} };
|
|
|
1281
1288
|
},
|
|
1282
1289
|
isPlainObject: function(t) {
|
|
1283
1290
|
var i, r;
|
|
1284
|
-
return !t ||
|
|
1291
|
+
return !t || $.call(t) !== "[object Object]" ? !1 : (i = T(t), i ? (r = ke.call(i, "constructor") && i.constructor, typeof r == "function" && oe.call(r) === je) : !0);
|
|
1285
1292
|
},
|
|
1286
1293
|
isEmptyObject: function(t) {
|
|
1287
1294
|
var i;
|
|
@@ -1311,10 +1318,10 @@ var fo = { exports: {} };
|
|
|
1311
1318
|
return t != null && (qt(Object(t)) ? o.merge(
|
|
1312
1319
|
r,
|
|
1313
1320
|
typeof t == "string" ? [t] : t
|
|
1314
|
-
) :
|
|
1321
|
+
) : M.call(r, t)), r;
|
|
1315
1322
|
},
|
|
1316
1323
|
inArray: function(t, i, r) {
|
|
1317
|
-
return i == null ? -1 :
|
|
1324
|
+
return i == null ? -1 : N.call(i, t, r);
|
|
1318
1325
|
},
|
|
1319
1326
|
// Support: Android <=4.0 only, PhantomJS 1 only
|
|
1320
1327
|
// push.apply(_, arraylike) throws on ancient WebKit
|
|
@@ -1354,7 +1361,7 @@ var fo = { exports: {} };
|
|
|
1354
1361
|
var i = !!t && "length" in t && t.length, r = Ze(t);
|
|
1355
1362
|
return Q(t) || Me(t) ? !1 : r === "array" || i === 0 || typeof i == "number" && i > 0 && i - 1 in t;
|
|
1356
1363
|
}
|
|
1357
|
-
var
|
|
1364
|
+
var $e = (
|
|
1358
1365
|
/*!
|
|
1359
1366
|
* Sizzle CSS Selector Engine v2.3.5
|
|
1360
1367
|
* https://sizzlejs.com/
|
|
@@ -1366,20 +1373,20 @@ var fo = { exports: {} };
|
|
|
1366
1373
|
* Date: 2020-03-14
|
|
1367
1374
|
*/
|
|
1368
1375
|
function(t) {
|
|
1369
|
-
var i, r, n, s, l, u, y, b, S,
|
|
1376
|
+
var i, r, n, s, l, u, y, b, S, D, j, A, z, Y, ae, U, He, ze, st, ve = "sizzle" + 1 * /* @__PURE__ */ new Date(), se = t.document, et = 0, he = 0, Ce = Di(), di = Di(), Li = Di(), at = Di(), _t = function(d, v) {
|
|
1370
1377
|
return d === v && (j = !0), 0;
|
|
1371
|
-
},
|
|
1372
|
-
for (var w = 0,
|
|
1378
|
+
}, Vt = {}.hasOwnProperty, tt = [], Pt = tt.pop, ut = tt.push, zt = tt.push, hn = tt.slice, $t = function(d, v) {
|
|
1379
|
+
for (var w = 0, I = d.length; w < I; w++)
|
|
1373
1380
|
if (d[w] === v)
|
|
1374
1381
|
return w;
|
|
1375
1382
|
return -1;
|
|
1376
|
-
}, fr = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", me = "[\\x20\\t\\r\\n\\f]",
|
|
1383
|
+
}, fr = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", me = "[\\x20\\t\\r\\n\\f]", Xt = "(?:\\\\[\\da-fA-F]{1,6}" + me + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", pn = "\\[" + me + "*(" + Xt + ")(?:" + me + // Operator (capture 2)
|
|
1377
1384
|
"*([*^$|!~]?=)" + me + // "Attribute values must be CSS identifiers [capture 5]
|
|
1378
1385
|
// or strings [capture 3 or capture 4]"
|
|
1379
|
-
`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(` +
|
|
1380
|
-
ID: new RegExp("^#(" +
|
|
1381
|
-
CLASS: new RegExp("^\\.(" +
|
|
1382
|
-
TAG: new RegExp("^(" +
|
|
1386
|
+
`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(` + Xt + "))|)" + me + "*\\]", dr = ":(" + Xt + `)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|` + pn + ")*)|.*)\\)|)", $o = new RegExp(me + "+", "g"), ki = new RegExp("^" + me + "+|((?:^|[^\\\\])(?:\\\\.)*)" + me + "+$", "g"), Xo = new RegExp("^" + me + "*," + me + "*"), gn = new RegExp("^" + me + "*([>+~]|" + me + ")" + me + "*"), Yo = new RegExp(me + "|>"), Uo = new RegExp(dr), Go = new RegExp("^" + Xt + "$"), Ni = {
|
|
1387
|
+
ID: new RegExp("^#(" + Xt + ")"),
|
|
1388
|
+
CLASS: new RegExp("^\\.(" + Xt + ")"),
|
|
1389
|
+
TAG: new RegExp("^(" + Xt + "|[*])"),
|
|
1383
1390
|
ATTR: new RegExp("^" + pn),
|
|
1384
1391
|
PSEUDO: new RegExp("^" + dr),
|
|
1385
1392
|
CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + me + "*(even|odd|(([+-]|)(\\d*)n|)" + me + "*(?:([+-]|)" + me + "*(\\d+)|))" + me + "*\\)|)", "i"),
|
|
@@ -1420,20 +1427,20 @@ var fo = { exports: {} };
|
|
|
1420
1427
|
// Support: IE<9
|
|
1421
1428
|
// Otherwise append directly
|
|
1422
1429
|
function(v, w) {
|
|
1423
|
-
for (var
|
|
1430
|
+
for (var I = v.length, E = 0; v[I++] = w[E++]; )
|
|
1424
1431
|
;
|
|
1425
|
-
v.length =
|
|
1432
|
+
v.length = I - 1;
|
|
1426
1433
|
}
|
|
1427
1434
|
)
|
|
1428
1435
|
};
|
|
1429
1436
|
}
|
|
1430
|
-
function we(d, v, w,
|
|
1431
|
-
var E, q, R, F,
|
|
1437
|
+
function we(d, v, w, I) {
|
|
1438
|
+
var E, q, R, F, V, te, K, re = v && v.ownerDocument, ue = v ? v.nodeType : 9;
|
|
1432
1439
|
if (w = w || [], typeof d != "string" || !d || ue !== 1 && ue !== 9 && ue !== 11)
|
|
1433
1440
|
return w;
|
|
1434
|
-
if (!
|
|
1435
|
-
if (ue !== 11 && (
|
|
1436
|
-
if (E =
|
|
1441
|
+
if (!I && (A(v), v = v || z, ae)) {
|
|
1442
|
+
if (ue !== 11 && (V = Qo.exec(d)))
|
|
1443
|
+
if (E = V[1]) {
|
|
1437
1444
|
if (ue === 9)
|
|
1438
1445
|
if (R = v.getElementById(E)) {
|
|
1439
1446
|
if (R.id === E)
|
|
@@ -1443,9 +1450,9 @@ var fo = { exports: {} };
|
|
|
1443
1450
|
else if (re && (R = re.getElementById(E)) && st(v, R) && R.id === E)
|
|
1444
1451
|
return w.push(R), w;
|
|
1445
1452
|
} else {
|
|
1446
|
-
if (
|
|
1453
|
+
if (V[2])
|
|
1447
1454
|
return zt.apply(w, v.getElementsByTagName(d)), w;
|
|
1448
|
-
if ((E =
|
|
1455
|
+
if ((E = V[3]) && r.getElementsByClassName && v.getElementsByClassName)
|
|
1449
1456
|
return zt.apply(w, v.getElementsByClassName(E)), w;
|
|
1450
1457
|
}
|
|
1451
1458
|
if (r.qsa && !at[d + " "] && (!U || !U.test(d)) && // Support: IE 8 only
|
|
@@ -1468,12 +1475,12 @@ var fo = { exports: {} };
|
|
|
1468
1475
|
}
|
|
1469
1476
|
}
|
|
1470
1477
|
}
|
|
1471
|
-
return b(d.replace(ki, "$1"), v, w,
|
|
1478
|
+
return b(d.replace(ki, "$1"), v, w, I);
|
|
1472
1479
|
}
|
|
1473
1480
|
function Di() {
|
|
1474
1481
|
var d = [];
|
|
1475
|
-
function v(w,
|
|
1476
|
-
return d.push(w + " ") > n.cacheLength && delete v[d.shift()], v[w + " "] =
|
|
1482
|
+
function v(w, I) {
|
|
1483
|
+
return d.push(w + " ") > n.cacheLength && delete v[d.shift()], v[w + " "] = I;
|
|
1477
1484
|
}
|
|
1478
1485
|
return v;
|
|
1479
1486
|
}
|
|
@@ -1491,13 +1498,13 @@ var fo = { exports: {} };
|
|
|
1491
1498
|
}
|
|
1492
1499
|
}
|
|
1493
1500
|
function pr(d, v) {
|
|
1494
|
-
for (var w = d.split("|"),
|
|
1495
|
-
n.attrHandle[w[
|
|
1501
|
+
for (var w = d.split("|"), I = w.length; I--; )
|
|
1502
|
+
n.attrHandle[w[I]] = v;
|
|
1496
1503
|
}
|
|
1497
1504
|
function bn(d, v) {
|
|
1498
|
-
var w = v && d,
|
|
1499
|
-
if (
|
|
1500
|
-
return
|
|
1505
|
+
var w = v && d, I = w && d.nodeType === 1 && v.nodeType === 1 && d.sourceIndex - v.sourceIndex;
|
|
1506
|
+
if (I)
|
|
1507
|
+
return I;
|
|
1501
1508
|
if (w) {
|
|
1502
1509
|
for (; w = w.nextSibling; )
|
|
1503
1510
|
if (w === v)
|
|
@@ -1526,9 +1533,9 @@ var fo = { exports: {} };
|
|
|
1526
1533
|
}
|
|
1527
1534
|
function Yt(d) {
|
|
1528
1535
|
return ht(function(v) {
|
|
1529
|
-
return v = +v, ht(function(w,
|
|
1536
|
+
return v = +v, ht(function(w, I) {
|
|
1530
1537
|
for (var E, q = d([], w.length, v), R = q.length; R--; )
|
|
1531
|
-
w[E = q[R]] && (w[E] = !(
|
|
1538
|
+
w[E = q[R]] && (w[E] = !(I[E] = w[E]));
|
|
1532
1539
|
});
|
|
1533
1540
|
});
|
|
1534
1541
|
}
|
|
@@ -1539,8 +1546,8 @@ var fo = { exports: {} };
|
|
|
1539
1546
|
var v = d.namespaceURI, w = (d.ownerDocument || d).documentElement;
|
|
1540
1547
|
return !Zo.test(v || w && w.nodeName || "HTML");
|
|
1541
1548
|
}, A = we.setDocument = function(d) {
|
|
1542
|
-
var v, w,
|
|
1543
|
-
return
|
|
1549
|
+
var v, w, I = d ? d.ownerDocument || d : se;
|
|
1550
|
+
return I == z || I.nodeType !== 9 || !I.documentElement || (z = I, Y = z.documentElement, ae = !l(z), se != z && (w = z.defaultView) && w.top !== w && (w.addEventListener ? w.addEventListener("unload", yn, !1) : w.attachEvent && w.attachEvent("onunload", yn)), r.scope = pt(function(E) {
|
|
1544
1551
|
return Y.appendChild(E).appendChild(z.createElement("div")), typeof E.querySelectorAll < "u" && !E.querySelectorAll(":scope fieldset div").length;
|
|
1545
1552
|
}), r.attributes = pt(function(E) {
|
|
1546
1553
|
return E.className = "i", !E.getAttribute("className");
|
|
@@ -1566,11 +1573,11 @@ var fo = { exports: {} };
|
|
|
1566
1573
|
};
|
|
1567
1574
|
}, n.find.ID = function(E, q) {
|
|
1568
1575
|
if (typeof q.getElementById < "u" && ae) {
|
|
1569
|
-
var R, F,
|
|
1576
|
+
var R, F, V, te = q.getElementById(E);
|
|
1570
1577
|
if (te) {
|
|
1571
1578
|
if (R = te.getAttributeNode("id"), R && R.value === E)
|
|
1572
1579
|
return [te];
|
|
1573
|
-
for (
|
|
1580
|
+
for (V = q.getElementsByName(E), F = 0; te = V[F++]; )
|
|
1574
1581
|
if (R = te.getAttributeNode("id"), R && R.value === E)
|
|
1575
1582
|
return [te];
|
|
1576
1583
|
}
|
|
@@ -1582,9 +1589,9 @@ var fo = { exports: {} };
|
|
|
1582
1589
|
if (r.qsa)
|
|
1583
1590
|
return q.querySelectorAll(E);
|
|
1584
1591
|
} : function(E, q) {
|
|
1585
|
-
var R, F = [],
|
|
1592
|
+
var R, F = [], V = 0, te = q.getElementsByTagName(E);
|
|
1586
1593
|
if (E === "*") {
|
|
1587
|
-
for (; R = te[
|
|
1594
|
+
for (; R = te[V++]; )
|
|
1588
1595
|
R.nodeType === 1 && F.push(R);
|
|
1589
1596
|
return F;
|
|
1590
1597
|
}
|
|
@@ -1618,17 +1625,17 @@ var fo = { exports: {} };
|
|
|
1618
1625
|
return R || (R = (E.ownerDocument || E) == (q.ownerDocument || q) ? E.compareDocumentPosition(q) : (
|
|
1619
1626
|
// Otherwise we know they are disconnected
|
|
1620
1627
|
1
|
|
1621
|
-
), R & 1 || !r.sortDetached && q.compareDocumentPosition(E) === R ? E == z || E.ownerDocument == se && st(se, E) ? -1 : q == z || q.ownerDocument == se && st(se, q) ? 1 :
|
|
1628
|
+
), R & 1 || !r.sortDetached && q.compareDocumentPosition(E) === R ? E == z || E.ownerDocument == se && st(se, E) ? -1 : q == z || q.ownerDocument == se && st(se, q) ? 1 : D ? $t(D, E) - $t(D, q) : 0 : R & 4 ? -1 : 1);
|
|
1622
1629
|
} : function(E, q) {
|
|
1623
1630
|
if (E === q)
|
|
1624
1631
|
return j = !0, 0;
|
|
1625
|
-
var R, F = 0,
|
|
1626
|
-
if (
|
|
1632
|
+
var R, F = 0, V = E.parentNode, te = q.parentNode, K = [E], re = [q];
|
|
1633
|
+
if (!V || !te)
|
|
1627
1634
|
return E == z ? -1 : q == z ? 1 : (
|
|
1628
1635
|
/* eslint-enable eqeqeq */
|
|
1629
|
-
|
|
1636
|
+
V ? -1 : te ? 1 : D ? $t(D, E) - $t(D, q) : 0
|
|
1630
1637
|
);
|
|
1631
|
-
if (
|
|
1638
|
+
if (V === te)
|
|
1632
1639
|
return bn(E, q);
|
|
1633
1640
|
for (R = E; R = R.parentNode; )
|
|
1634
1641
|
K.unshift(R);
|
|
@@ -1669,23 +1676,23 @@ var fo = { exports: {} };
|
|
|
1669
1676
|
return (d.ownerDocument || d) != z && A(d), st(d, v);
|
|
1670
1677
|
}, we.attr = function(d, v) {
|
|
1671
1678
|
(d.ownerDocument || d) != z && A(d);
|
|
1672
|
-
var w = n.attrHandle[v.toLowerCase()],
|
|
1673
|
-
return
|
|
1679
|
+
var w = n.attrHandle[v.toLowerCase()], I = w && Vt.call(n.attrHandle, v.toLowerCase()) ? w(d, v, !ae) : void 0;
|
|
1680
|
+
return I !== void 0 ? I : r.attributes || !ae ? d.getAttribute(v) : (I = d.getAttributeNode(v)) && I.specified ? I.value : null;
|
|
1674
1681
|
}, we.escape = function(d) {
|
|
1675
1682
|
return (d + "").replace(mn, vn);
|
|
1676
1683
|
}, we.error = function(d) {
|
|
1677
1684
|
throw new Error("Syntax error, unrecognized expression: " + d);
|
|
1678
1685
|
}, we.uniqueSort = function(d) {
|
|
1679
|
-
var v, w = [],
|
|
1680
|
-
if (j = !r.detectDuplicates,
|
|
1686
|
+
var v, w = [], I = 0, E = 0;
|
|
1687
|
+
if (j = !r.detectDuplicates, D = !r.sortStable && d.slice(0), d.sort(_t), j) {
|
|
1681
1688
|
for (; v = d[E++]; )
|
|
1682
|
-
v === d[E] && (
|
|
1683
|
-
for (;
|
|
1684
|
-
d.splice(w[
|
|
1689
|
+
v === d[E] && (I = w.push(E));
|
|
1690
|
+
for (; I--; )
|
|
1691
|
+
d.splice(w[I], 1);
|
|
1685
1692
|
}
|
|
1686
|
-
return
|
|
1693
|
+
return D = null, d;
|
|
1687
1694
|
}, s = we.getText = function(d) {
|
|
1688
|
-
var v, w = "",
|
|
1695
|
+
var v, w = "", I = 0, E = d.nodeType;
|
|
1689
1696
|
if (E) {
|
|
1690
1697
|
if (E === 1 || E === 9 || E === 11) {
|
|
1691
1698
|
if (typeof d.textContent == "string")
|
|
@@ -1694,7 +1701,7 @@ var fo = { exports: {} };
|
|
|
1694
1701
|
w += s(d);
|
|
1695
1702
|
} else if (E === 3 || E === 4)
|
|
1696
1703
|
return d.nodeValue;
|
|
1697
|
-
} else for (; v = d[
|
|
1704
|
+
} else for (; v = d[I++]; )
|
|
1698
1705
|
w += s(v);
|
|
1699
1706
|
return w;
|
|
1700
1707
|
}, n = we.selectors = {
|
|
@@ -1745,24 +1752,24 @@ var fo = { exports: {} };
|
|
|
1745
1752
|
);
|
|
1746
1753
|
},
|
|
1747
1754
|
ATTR: function(d, v, w) {
|
|
1748
|
-
return function(
|
|
1749
|
-
var E = we.attr(
|
|
1750
|
-
return E == null ? v === "!=" : v ? (E += "", v === "=" ? E === w : v === "!=" ? E !== w : v === "^=" ? w && E.indexOf(w) === 0 : v === "*=" ? w && E.indexOf(w) > -1 : v === "$=" ? w && E.slice(-w.length) === w : v === "~=" ? (" " + E.replace(
|
|
1755
|
+
return function(I) {
|
|
1756
|
+
var E = we.attr(I, d);
|
|
1757
|
+
return E == null ? v === "!=" : v ? (E += "", v === "=" ? E === w : v === "!=" ? E !== w : v === "^=" ? w && E.indexOf(w) === 0 : v === "*=" ? w && E.indexOf(w) > -1 : v === "$=" ? w && E.slice(-w.length) === w : v === "~=" ? (" " + E.replace($o, " ") + " ").indexOf(w) > -1 : v === "|=" ? E === w || E.slice(0, w.length + 1) === w + "-" : !1) : !0;
|
|
1751
1758
|
};
|
|
1752
1759
|
},
|
|
1753
|
-
CHILD: function(d, v, w,
|
|
1760
|
+
CHILD: function(d, v, w, I, E) {
|
|
1754
1761
|
var q = d.slice(0, 3) !== "nth", R = d.slice(-4) !== "last", F = v === "of-type";
|
|
1755
|
-
return
|
|
1762
|
+
return I === 1 && E === 0 ? (
|
|
1756
1763
|
// Shortcut for :nth-*(n)
|
|
1757
|
-
function(
|
|
1758
|
-
return
|
|
1764
|
+
function(V) {
|
|
1765
|
+
return !!V.parentNode;
|
|
1759
1766
|
}
|
|
1760
|
-
) : function(
|
|
1761
|
-
var re, ue, xe, ie, Be, _e, lt = q !== R ? "nextSibling" : "previousSibling", Se =
|
|
1767
|
+
) : function(V, te, K) {
|
|
1768
|
+
var re, ue, xe, ie, Be, _e, lt = q !== R ? "nextSibling" : "previousSibling", Se = V.parentNode, pi = F && V.nodeName.toLowerCase(), gi = !K && !F, ct = !1;
|
|
1762
1769
|
if (Se) {
|
|
1763
1770
|
if (q) {
|
|
1764
1771
|
for (; lt; ) {
|
|
1765
|
-
for (ie =
|
|
1772
|
+
for (ie = V; ie = ie[lt]; )
|
|
1766
1773
|
if (F ? ie.nodeName.toLowerCase() === pi : ie.nodeType === 1)
|
|
1767
1774
|
return !1;
|
|
1768
1775
|
_e = lt = d === "only" && !_e && "nextSibling";
|
|
@@ -1772,36 +1779,36 @@ var fo = { exports: {} };
|
|
|
1772
1779
|
if (_e = [R ? Se.firstChild : Se.lastChild], R && gi) {
|
|
1773
1780
|
for (ie = Se, xe = ie[ve] || (ie[ve] = {}), ue = xe[ie.uniqueID] || (xe[ie.uniqueID] = {}), re = ue[d] || [], Be = re[0] === et && re[1], ct = Be && re[2], ie = Be && Se.childNodes[Be]; ie = ++Be && ie && ie[lt] || // Fallback to seeking `elem` from the start
|
|
1774
1781
|
(ct = Be = 0) || _e.pop(); )
|
|
1775
|
-
if (ie.nodeType === 1 && ++ct && ie ===
|
|
1782
|
+
if (ie.nodeType === 1 && ++ct && ie === V) {
|
|
1776
1783
|
ue[d] = [et, Be, ct];
|
|
1777
1784
|
break;
|
|
1778
1785
|
}
|
|
1779
|
-
} else if (gi && (ie =
|
|
1780
|
-
for (; (ie = ++Be && ie && ie[lt] || (ct = Be = 0) || _e.pop()) && !((F ? ie.nodeName.toLowerCase() === pi : ie.nodeType === 1) && ++ct && (gi && (xe = ie[ve] || (ie[ve] = {}), ue = xe[ie.uniqueID] || (xe[ie.uniqueID] = {}), ue[d] = [et, ct]), ie ===
|
|
1786
|
+
} else if (gi && (ie = V, xe = ie[ve] || (ie[ve] = {}), ue = xe[ie.uniqueID] || (xe[ie.uniqueID] = {}), re = ue[d] || [], Be = re[0] === et && re[1], ct = Be), ct === !1)
|
|
1787
|
+
for (; (ie = ++Be && ie && ie[lt] || (ct = Be = 0) || _e.pop()) && !((F ? ie.nodeName.toLowerCase() === pi : ie.nodeType === 1) && ++ct && (gi && (xe = ie[ve] || (ie[ve] = {}), ue = xe[ie.uniqueID] || (xe[ie.uniqueID] = {}), ue[d] = [et, ct]), ie === V)); )
|
|
1781
1788
|
;
|
|
1782
|
-
return ct -= E, ct ===
|
|
1789
|
+
return ct -= E, ct === I || ct % I === 0 && ct / I >= 0;
|
|
1783
1790
|
}
|
|
1784
1791
|
};
|
|
1785
1792
|
},
|
|
1786
1793
|
PSEUDO: function(d, v) {
|
|
1787
|
-
var w,
|
|
1788
|
-
return
|
|
1789
|
-
for (var R, F =
|
|
1790
|
-
R =
|
|
1794
|
+
var w, I = n.pseudos[d] || n.setFilters[d.toLowerCase()] || we.error("unsupported pseudo: " + d);
|
|
1795
|
+
return I[ve] ? I(v) : I.length > 1 ? (w = [d, d, "", v], n.setFilters.hasOwnProperty(d.toLowerCase()) ? ht(function(E, q) {
|
|
1796
|
+
for (var R, F = I(E, v), V = F.length; V--; )
|
|
1797
|
+
R = $t(E, F[V]), E[R] = !(q[R] = F[V]);
|
|
1791
1798
|
}) : function(E) {
|
|
1792
|
-
return
|
|
1793
|
-
}) :
|
|
1799
|
+
return I(E, 0, w);
|
|
1800
|
+
}) : I;
|
|
1794
1801
|
}
|
|
1795
1802
|
},
|
|
1796
1803
|
pseudos: {
|
|
1797
1804
|
// Potentially complex pseudos
|
|
1798
1805
|
not: ht(function(d) {
|
|
1799
|
-
var v = [], w = [],
|
|
1800
|
-
return
|
|
1801
|
-
for (var
|
|
1802
|
-
(
|
|
1806
|
+
var v = [], w = [], I = y(d.replace(ki, "$1"));
|
|
1807
|
+
return I[ve] ? ht(function(E, q, R, F) {
|
|
1808
|
+
for (var V, te = I(E, null, F, []), K = E.length; K--; )
|
|
1809
|
+
(V = te[K]) && (E[K] = !(q[K] = V));
|
|
1803
1810
|
}) : function(E, q, R) {
|
|
1804
|
-
return v[0] = E,
|
|
1811
|
+
return v[0] = E, I(v, null, R, w), v[0] = null, !w.pop();
|
|
1805
1812
|
};
|
|
1806
1813
|
}),
|
|
1807
1814
|
has: ht(function(d) {
|
|
@@ -1900,13 +1907,13 @@ var fo = { exports: {} };
|
|
|
1900
1907
|
return d;
|
|
1901
1908
|
}),
|
|
1902
1909
|
lt: Yt(function(d, v, w) {
|
|
1903
|
-
for (var
|
|
1904
|
-
d.push(
|
|
1910
|
+
for (var I = w < 0 ? w + v : w > v ? v : w; --I >= 0; )
|
|
1911
|
+
d.push(I);
|
|
1905
1912
|
return d;
|
|
1906
1913
|
}),
|
|
1907
1914
|
gt: Yt(function(d, v, w) {
|
|
1908
|
-
for (var
|
|
1909
|
-
d.push(
|
|
1915
|
+
for (var I = w < 0 ? w + v : w; ++I < v; )
|
|
1916
|
+
d.push(I);
|
|
1910
1917
|
return d;
|
|
1911
1918
|
})
|
|
1912
1919
|
}
|
|
@@ -1918,20 +1925,20 @@ var fo = { exports: {} };
|
|
|
1918
1925
|
function xn() {
|
|
1919
1926
|
}
|
|
1920
1927
|
xn.prototype = n.filters = n.pseudos, n.setFilters = new xn(), u = we.tokenize = function(d, v) {
|
|
1921
|
-
var w,
|
|
1928
|
+
var w, I, E, q, R, F, V, te = di[d + " "];
|
|
1922
1929
|
if (te)
|
|
1923
1930
|
return v ? 0 : te.slice(0);
|
|
1924
|
-
for (R = d, F = [],
|
|
1925
|
-
(!w || (
|
|
1931
|
+
for (R = d, F = [], V = n.preFilter; R; ) {
|
|
1932
|
+
(!w || (I = Xo.exec(R))) && (I && (R = R.slice(I[0].length) || R), F.push(E = [])), w = !1, (I = gn.exec(R)) && (w = I.shift(), E.push({
|
|
1926
1933
|
value: w,
|
|
1927
1934
|
// Cast descendant combinators to space
|
|
1928
|
-
type:
|
|
1935
|
+
type: I[0].replace(ki, " ")
|
|
1929
1936
|
}), R = R.slice(w.length));
|
|
1930
1937
|
for (q in n.filter)
|
|
1931
|
-
(
|
|
1938
|
+
(I = Ni[q].exec(R)) && (!V[q] || (I = V[q](I))) && (w = I.shift(), E.push({
|
|
1932
1939
|
value: w,
|
|
1933
1940
|
type: q,
|
|
1934
|
-
matches:
|
|
1941
|
+
matches: I
|
|
1935
1942
|
}), R = R.slice(w.length));
|
|
1936
1943
|
if (!w)
|
|
1937
1944
|
break;
|
|
@@ -1942,37 +1949,37 @@ var fo = { exports: {} };
|
|
|
1942
1949
|
);
|
|
1943
1950
|
};
|
|
1944
1951
|
function Pi(d) {
|
|
1945
|
-
for (var v = 0, w = d.length,
|
|
1946
|
-
|
|
1947
|
-
return
|
|
1952
|
+
for (var v = 0, w = d.length, I = ""; v < w; v++)
|
|
1953
|
+
I += d[v].value;
|
|
1954
|
+
return I;
|
|
1948
1955
|
}
|
|
1949
1956
|
function zi(d, v, w) {
|
|
1950
|
-
var
|
|
1957
|
+
var I = v.dir, E = v.next, q = E || I, R = w && q === "parentNode", F = he++;
|
|
1951
1958
|
return v.first ? (
|
|
1952
1959
|
// Check against closest ancestor/preceding element
|
|
1953
|
-
function(
|
|
1954
|
-
for (;
|
|
1955
|
-
if (
|
|
1956
|
-
return d(
|
|
1960
|
+
function(V, te, K) {
|
|
1961
|
+
for (; V = V[I]; )
|
|
1962
|
+
if (V.nodeType === 1 || R)
|
|
1963
|
+
return d(V, te, K);
|
|
1957
1964
|
return !1;
|
|
1958
1965
|
}
|
|
1959
1966
|
) : (
|
|
1960
1967
|
// Check against all ancestor/preceding elements
|
|
1961
|
-
function(
|
|
1968
|
+
function(V, te, K) {
|
|
1962
1969
|
var re, ue, xe, ie = [et, F];
|
|
1963
1970
|
if (K) {
|
|
1964
|
-
for (;
|
|
1965
|
-
if ((
|
|
1971
|
+
for (; V = V[I]; )
|
|
1972
|
+
if ((V.nodeType === 1 || R) && d(V, te, K))
|
|
1966
1973
|
return !0;
|
|
1967
1974
|
} else
|
|
1968
|
-
for (;
|
|
1969
|
-
if (
|
|
1970
|
-
if (xe =
|
|
1971
|
-
|
|
1975
|
+
for (; V = V[I]; )
|
|
1976
|
+
if (V.nodeType === 1 || R)
|
|
1977
|
+
if (xe = V[ve] || (V[ve] = {}), ue = xe[V.uniqueID] || (xe[V.uniqueID] = {}), E && E === V.nodeName.toLowerCase())
|
|
1978
|
+
V = V[I] || V;
|
|
1972
1979
|
else {
|
|
1973
1980
|
if ((re = ue[q]) && re[0] === et && re[1] === F)
|
|
1974
1981
|
return ie[2] = re[2];
|
|
1975
|
-
if (ue[q] = ie, ie[2] = d(
|
|
1982
|
+
if (ue[q] = ie, ie[2] = d(V, te, K))
|
|
1976
1983
|
return !0;
|
|
1977
1984
|
}
|
|
1978
1985
|
return !1;
|
|
@@ -1980,32 +1987,32 @@ var fo = { exports: {} };
|
|
|
1980
1987
|
);
|
|
1981
1988
|
}
|
|
1982
1989
|
function mr(d) {
|
|
1983
|
-
return d.length > 1 ? function(v, w,
|
|
1990
|
+
return d.length > 1 ? function(v, w, I) {
|
|
1984
1991
|
for (var E = d.length; E--; )
|
|
1985
|
-
if (!d[E](v, w,
|
|
1992
|
+
if (!d[E](v, w, I))
|
|
1986
1993
|
return !1;
|
|
1987
1994
|
return !0;
|
|
1988
1995
|
} : d[0];
|
|
1989
1996
|
}
|
|
1990
1997
|
function rs(d, v, w) {
|
|
1991
|
-
for (var
|
|
1992
|
-
we(d, v[
|
|
1998
|
+
for (var I = 0, E = v.length; I < E; I++)
|
|
1999
|
+
we(d, v[I], w);
|
|
1993
2000
|
return w;
|
|
1994
2001
|
}
|
|
1995
|
-
function Mi(d, v, w,
|
|
1996
|
-
for (var q, R = [], F = 0,
|
|
1997
|
-
(q = d[F]) && (!w || w(q,
|
|
2002
|
+
function Mi(d, v, w, I, E) {
|
|
2003
|
+
for (var q, R = [], F = 0, V = d.length, te = v != null; F < V; F++)
|
|
2004
|
+
(q = d[F]) && (!w || w(q, I, E)) && (R.push(q), te && v.push(F));
|
|
1998
2005
|
return R;
|
|
1999
2006
|
}
|
|
2000
|
-
function vr(d, v, w,
|
|
2001
|
-
return
|
|
2007
|
+
function vr(d, v, w, I, E, q) {
|
|
2008
|
+
return I && !I[ve] && (I = vr(I)), E && !E[ve] && (E = vr(E, q)), ht(function(R, F, V, te) {
|
|
2002
2009
|
var K, re, ue, xe = [], ie = [], Be = F.length, _e = R || rs(
|
|
2003
2010
|
v || "*",
|
|
2004
|
-
|
|
2011
|
+
V.nodeType ? [V] : V,
|
|
2005
2012
|
[]
|
|
2006
|
-
), lt = d && (R || !v) ? Mi(_e, xe, d,
|
|
2013
|
+
), lt = d && (R || !v) ? Mi(_e, xe, d, V, te) : _e, Se = w ? (
|
|
2007
2014
|
// If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results,
|
|
2008
|
-
E || (R ? d : Be ||
|
|
2015
|
+
E || (R ? d : Be || I) ? (
|
|
2009
2016
|
// ...intermediate processing is necessary
|
|
2010
2017
|
[]
|
|
2011
2018
|
) : (
|
|
@@ -2013,8 +2020,8 @@ var fo = { exports: {} };
|
|
|
2013
2020
|
F
|
|
2014
2021
|
)
|
|
2015
2022
|
) : lt;
|
|
2016
|
-
if (w && w(lt, Se,
|
|
2017
|
-
for (K = Mi(Se, ie),
|
|
2023
|
+
if (w && w(lt, Se, V, te), I)
|
|
2024
|
+
for (K = Mi(Se, ie), I(K, [], V, te), re = K.length; re--; )
|
|
2018
2025
|
(ue = K[re]) && (Se[ie[re]] = !(lt[ie[re]] = ue));
|
|
2019
2026
|
if (R) {
|
|
2020
2027
|
if (E || d) {
|
|
@@ -2024,7 +2031,7 @@ var fo = { exports: {} };
|
|
|
2024
2031
|
E(null, Se = [], K, te);
|
|
2025
2032
|
}
|
|
2026
2033
|
for (re = Se.length; re--; )
|
|
2027
|
-
(ue = Se[re]) && (K = E ?
|
|
2034
|
+
(ue = Se[re]) && (K = E ? $t(R, ue) : xe[re]) > -1 && (R[K] = !(F[K] = ue));
|
|
2028
2035
|
}
|
|
2029
2036
|
} else
|
|
2030
2037
|
Se = Mi(
|
|
@@ -2033,19 +2040,19 @@ var fo = { exports: {} };
|
|
|
2033
2040
|
});
|
|
2034
2041
|
}
|
|
2035
2042
|
function yr(d) {
|
|
2036
|
-
for (var v, w,
|
|
2043
|
+
for (var v, w, I, E = d.length, q = n.relative[d[0].type], R = q || n.relative[" "], F = q ? 1 : 0, V = zi(function(re) {
|
|
2037
2044
|
return re === v;
|
|
2038
2045
|
}, R, !0), te = zi(function(re) {
|
|
2039
|
-
return
|
|
2046
|
+
return $t(v, re) > -1;
|
|
2040
2047
|
}, R, !0), K = [function(re, ue, xe) {
|
|
2041
|
-
var ie = !q && (xe || ue !== S) || ((v = ue).nodeType ?
|
|
2048
|
+
var ie = !q && (xe || ue !== S) || ((v = ue).nodeType ? V(re, ue, xe) : te(re, ue, xe));
|
|
2042
2049
|
return v = null, ie;
|
|
2043
2050
|
}]; F < E; F++)
|
|
2044
2051
|
if (w = n.relative[d[F].type])
|
|
2045
2052
|
K = [zi(mr(K), w)];
|
|
2046
2053
|
else {
|
|
2047
2054
|
if (w = n.filter[d[F].type].apply(null, d[F].matches), w[ve]) {
|
|
2048
|
-
for (
|
|
2055
|
+
for (I = ++F; I < E && !n.relative[d[I].type]; I++)
|
|
2049
2056
|
;
|
|
2050
2057
|
return vr(
|
|
2051
2058
|
F > 1 && mr(K),
|
|
@@ -2054,9 +2061,9 @@ var fo = { exports: {} };
|
|
|
2054
2061
|
d.slice(0, F - 1).concat({ value: d[F - 2].type === " " ? "*" : "" })
|
|
2055
2062
|
).replace(ki, "$1"),
|
|
2056
2063
|
w,
|
|
2057
|
-
F <
|
|
2058
|
-
|
|
2059
|
-
|
|
2064
|
+
F < I && yr(d.slice(F, I)),
|
|
2065
|
+
I < E && yr(d = d.slice(I)),
|
|
2066
|
+
I < E && Pi(d)
|
|
2060
2067
|
);
|
|
2061
2068
|
}
|
|
2062
2069
|
K.push(w);
|
|
@@ -2064,13 +2071,13 @@ var fo = { exports: {} };
|
|
|
2064
2071
|
return mr(K);
|
|
2065
2072
|
}
|
|
2066
2073
|
function ns(d, v) {
|
|
2067
|
-
var w = v.length > 0,
|
|
2068
|
-
var K, re, ue, xe = 0, ie = "0", Be = q && [], _e = [], lt = S, Se = q ||
|
|
2074
|
+
var w = v.length > 0, I = d.length > 0, E = function(q, R, F, V, te) {
|
|
2075
|
+
var K, re, ue, xe = 0, ie = "0", Be = q && [], _e = [], lt = S, Se = q || I && n.find.TAG("*", te), pi = et += lt == null ? 1 : Math.random() || 0.1, gi = Se.length;
|
|
2069
2076
|
for (te && (S = R == z || R || te); ie !== gi && (K = Se[ie]) != null; ie++) {
|
|
2070
|
-
if (
|
|
2077
|
+
if (I && K) {
|
|
2071
2078
|
for (re = 0, !R && K.ownerDocument != z && (A(K), F = !ae); ue = d[re++]; )
|
|
2072
2079
|
if (ue(K, R || z, F)) {
|
|
2073
|
-
|
|
2080
|
+
V.push(K);
|
|
2074
2081
|
break;
|
|
2075
2082
|
}
|
|
2076
2083
|
te && (et = pi);
|
|
@@ -2083,28 +2090,28 @@ var fo = { exports: {} };
|
|
|
2083
2090
|
if (q) {
|
|
2084
2091
|
if (xe > 0)
|
|
2085
2092
|
for (; ie--; )
|
|
2086
|
-
Be[ie] || _e[ie] || (_e[ie] = Pt.call(
|
|
2093
|
+
Be[ie] || _e[ie] || (_e[ie] = Pt.call(V));
|
|
2087
2094
|
_e = Mi(_e);
|
|
2088
2095
|
}
|
|
2089
|
-
zt.apply(
|
|
2096
|
+
zt.apply(V, _e), te && !q && _e.length > 0 && xe + v.length > 1 && we.uniqueSort(V);
|
|
2090
2097
|
}
|
|
2091
2098
|
return te && (et = pi, S = lt), Be;
|
|
2092
2099
|
};
|
|
2093
2100
|
return w ? ht(E) : E;
|
|
2094
2101
|
}
|
|
2095
2102
|
return y = we.compile = function(d, v) {
|
|
2096
|
-
var w,
|
|
2103
|
+
var w, I = [], E = [], q = Li[d + " "];
|
|
2097
2104
|
if (!q) {
|
|
2098
2105
|
for (v || (v = u(d)), w = v.length; w--; )
|
|
2099
|
-
q = yr(v[w]), q[ve] ?
|
|
2106
|
+
q = yr(v[w]), q[ve] ? I.push(q) : E.push(q);
|
|
2100
2107
|
q = Li(
|
|
2101
2108
|
d,
|
|
2102
|
-
ns(E,
|
|
2109
|
+
ns(E, I)
|
|
2103
2110
|
), q.selector = d;
|
|
2104
2111
|
}
|
|
2105
2112
|
return q;
|
|
2106
|
-
}, b = we.select = function(d, v, w,
|
|
2107
|
-
var E, q, R, F,
|
|
2113
|
+
}, b = we.select = function(d, v, w, I) {
|
|
2114
|
+
var E, q, R, F, V, te = typeof d == "function" && d, K = !I && u(d = te.selector || d);
|
|
2108
2115
|
if (w = w || [], K.length === 1) {
|
|
2109
2116
|
if (q = K[0] = K[0].slice(0), q.length > 2 && (R = q[0]).type === "ID" && v.nodeType === 9 && ae && n.relative[q[1].type]) {
|
|
2110
2117
|
if (v = (n.find.ID(R.matches[0].replace(Et, Ct), v) || [])[0], v)
|
|
@@ -2113,17 +2120,17 @@ var fo = { exports: {} };
|
|
|
2113
2120
|
d = d.slice(q.shift().value.length);
|
|
2114
2121
|
}
|
|
2115
2122
|
for (E = Ni.needsContext.test(d) ? 0 : q.length; E-- && (R = q[E], !n.relative[F = R.type]); )
|
|
2116
|
-
if ((
|
|
2123
|
+
if ((V = n.find[F]) && (I = V(
|
|
2117
2124
|
R.matches[0].replace(Et, Ct),
|
|
2118
2125
|
hr.test(q[0].type) && gr(v.parentNode) || v
|
|
2119
2126
|
))) {
|
|
2120
|
-
if (q.splice(E, 1), d =
|
|
2121
|
-
return zt.apply(w,
|
|
2127
|
+
if (q.splice(E, 1), d = I.length && Pi(q), !d)
|
|
2128
|
+
return zt.apply(w, I), w;
|
|
2122
2129
|
break;
|
|
2123
2130
|
}
|
|
2124
2131
|
}
|
|
2125
2132
|
return (te || y(d, K))(
|
|
2126
|
-
|
|
2133
|
+
I,
|
|
2127
2134
|
v,
|
|
2128
2135
|
!ae,
|
|
2129
2136
|
w,
|
|
@@ -2144,13 +2151,13 @@ var fo = { exports: {} };
|
|
|
2144
2151
|
}), pt(function(d) {
|
|
2145
2152
|
return d.getAttribute("disabled") == null;
|
|
2146
2153
|
}) || pr(fr, function(d, v, w) {
|
|
2147
|
-
var
|
|
2154
|
+
var I;
|
|
2148
2155
|
if (!w)
|
|
2149
|
-
return d[v] === !0 ? v.toLowerCase() : (
|
|
2156
|
+
return d[v] === !0 ? v.toLowerCase() : (I = d.getAttributeNode(v)) && I.specified ? I.value : null;
|
|
2150
2157
|
}), we;
|
|
2151
2158
|
}(c)
|
|
2152
2159
|
);
|
|
2153
|
-
o.find =
|
|
2160
|
+
o.find = $e, o.expr = $e.selectors, o.expr[":"] = o.expr.pseudos, o.uniqueSort = o.unique = $e.uniqueSort, o.text = $e.getText, o.isXMLDoc = $e.isXML, o.contains = $e.contains, o.escapeSelector = $e.escape;
|
|
2154
2161
|
var rt = function(t, i, r) {
|
|
2155
2162
|
for (var n = [], s = r !== void 0; (t = t[i]) && t.nodeType !== 9; )
|
|
2156
2163
|
if (t.nodeType === 1) {
|
|
@@ -2167,14 +2174,14 @@ var fo = { exports: {} };
|
|
|
2167
2174
|
function Ke(t, i) {
|
|
2168
2175
|
return t.nodeName && t.nodeName.toLowerCase() === i.toLowerCase();
|
|
2169
2176
|
}
|
|
2170
|
-
var
|
|
2177
|
+
var X = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;
|
|
2171
2178
|
function C(t, i, r) {
|
|
2172
2179
|
return Q(i) ? o.grep(t, function(n, s) {
|
|
2173
2180
|
return !!i.call(n, s, n) !== r;
|
|
2174
2181
|
}) : i.nodeType ? o.grep(t, function(n) {
|
|
2175
2182
|
return n === i !== r;
|
|
2176
2183
|
}) : typeof i != "string" ? o.grep(t, function(n) {
|
|
2177
|
-
return
|
|
2184
|
+
return N.call(i, n) > -1 !== r;
|
|
2178
2185
|
}) : o.filter(i, t, r);
|
|
2179
2186
|
}
|
|
2180
2187
|
o.filter = function(t, i, r) {
|
|
@@ -2222,7 +2229,7 @@ var fo = { exports: {} };
|
|
|
2222
2229
|
n[1],
|
|
2223
2230
|
i && i.nodeType ? i.ownerDocument || i : ee,
|
|
2224
2231
|
!0
|
|
2225
|
-
)),
|
|
2232
|
+
)), X.test(n[1]) && o.isPlainObject(i))
|
|
2226
2233
|
for (n in i)
|
|
2227
2234
|
Q(this[n]) ? this[n](i[n]) : this.attr(n, i[n]);
|
|
2228
2235
|
return this;
|
|
@@ -2273,7 +2280,7 @@ var fo = { exports: {} };
|
|
|
2273
2280
|
},
|
|
2274
2281
|
// Determine the position of an element within the set
|
|
2275
2282
|
index: function(t) {
|
|
2276
|
-
return t ? typeof t == "string" ?
|
|
2283
|
+
return t ? typeof t == "string" ? N.call(o(t), this[0]) : N.call(
|
|
2277
2284
|
this,
|
|
2278
2285
|
// If it receives a jQuery object, the first element is used
|
|
2279
2286
|
t.jquery ? t[0] : t
|
|
@@ -2361,23 +2368,23 @@ var fo = { exports: {} };
|
|
|
2361
2368
|
}, S = {
|
|
2362
2369
|
// Add a callback or a collection of callbacks to the list
|
|
2363
2370
|
add: function() {
|
|
2364
|
-
return l && (r && !i && (y = l.length - 1, u.push(r)), function
|
|
2371
|
+
return l && (r && !i && (y = l.length - 1, u.push(r)), function D(j) {
|
|
2365
2372
|
o.each(j, function(A, z) {
|
|
2366
|
-
Q(z) ? (!t.unique || !S.has(z)) && l.push(z) : z && z.length && Ze(z) !== "string" &&
|
|
2373
|
+
Q(z) ? (!t.unique || !S.has(z)) && l.push(z) : z && z.length && Ze(z) !== "string" && D(z);
|
|
2367
2374
|
});
|
|
2368
2375
|
}(arguments), r && !i && b()), this;
|
|
2369
2376
|
},
|
|
2370
2377
|
// Remove a callback from the list
|
|
2371
2378
|
remove: function() {
|
|
2372
|
-
return o.each(arguments, function(
|
|
2379
|
+
return o.each(arguments, function(D, j) {
|
|
2373
2380
|
for (var A; (A = o.inArray(j, l, A)) > -1; )
|
|
2374
2381
|
l.splice(A, 1), A <= y && y--;
|
|
2375
2382
|
}), this;
|
|
2376
2383
|
},
|
|
2377
2384
|
// Check if a given callback is in the list.
|
|
2378
2385
|
// If no argument is given, return whether or not list has callbacks attached.
|
|
2379
|
-
has: function(
|
|
2380
|
-
return
|
|
2386
|
+
has: function(D) {
|
|
2387
|
+
return D ? o.inArray(D, l) > -1 : l.length > 0;
|
|
2381
2388
|
},
|
|
2382
2389
|
// Remove all callbacks from the list
|
|
2383
2390
|
empty: function() {
|
|
@@ -2402,8 +2409,8 @@ var fo = { exports: {} };
|
|
|
2402
2409
|
return !!s;
|
|
2403
2410
|
},
|
|
2404
2411
|
// Call all callbacks with the given context and arguments
|
|
2405
|
-
fireWith: function(
|
|
2406
|
-
return s || (j = j || [], j = [
|
|
2412
|
+
fireWith: function(D, j) {
|
|
2413
|
+
return s || (j = j || [], j = [D, j.slice ? j.slice() : j], u.push(j), i || b()), this;
|
|
2407
2414
|
},
|
|
2408
2415
|
// Call all the callbacks with the given arguments
|
|
2409
2416
|
fire: function() {
|
|
@@ -2475,10 +2482,10 @@ var fo = { exports: {} };
|
|
|
2475
2482
|
o.each(i, function(y, b) {
|
|
2476
2483
|
var S = Q(l[b[4]]) && l[b[4]];
|
|
2477
2484
|
s[b[1]](function() {
|
|
2478
|
-
var
|
|
2479
|
-
|
|
2485
|
+
var D = S && S.apply(this, arguments);
|
|
2486
|
+
D && Q(D.promise) ? D.promise().progress(u.notify).done(u.resolve).fail(u.reject) : u[b[0] + "With"](
|
|
2480
2487
|
this,
|
|
2481
|
-
S ? [
|
|
2488
|
+
S ? [D] : arguments
|
|
2482
2489
|
);
|
|
2483
2490
|
});
|
|
2484
2491
|
}), l = null;
|
|
@@ -2486,11 +2493,11 @@ var fo = { exports: {} };
|
|
|
2486
2493
|
},
|
|
2487
2494
|
then: function(l, u, y) {
|
|
2488
2495
|
var b = 0;
|
|
2489
|
-
function S(
|
|
2496
|
+
function S(D, j, A, z) {
|
|
2490
2497
|
return function() {
|
|
2491
2498
|
var Y = this, ae = arguments, U = function() {
|
|
2492
2499
|
var ze, st;
|
|
2493
|
-
if (!(
|
|
2500
|
+
if (!(D < b)) {
|
|
2494
2501
|
if (ze = A.apply(Y, ae), ze === j.promise())
|
|
2495
2502
|
throw new TypeError("Thenable self-resolution");
|
|
2496
2503
|
st = ze && // Support: Promises/A+ section 2.3.4
|
|
@@ -2519,30 +2526,30 @@ var fo = { exports: {} };
|
|
|
2519
2526
|
o.Deferred.exceptionHook && o.Deferred.exceptionHook(
|
|
2520
2527
|
ze,
|
|
2521
2528
|
He.stackTrace
|
|
2522
|
-
),
|
|
2529
|
+
), D + 1 >= b && (A !== xt && (Y = void 0, ae = [ze]), j.rejectWith(Y, ae));
|
|
2523
2530
|
}
|
|
2524
2531
|
};
|
|
2525
|
-
|
|
2532
|
+
D ? He() : (o.Deferred.getStackHook && (He.stackTrace = o.Deferred.getStackHook()), c.setTimeout(He));
|
|
2526
2533
|
};
|
|
2527
2534
|
}
|
|
2528
|
-
return o.Deferred(function(
|
|
2535
|
+
return o.Deferred(function(D) {
|
|
2529
2536
|
i[0][3].add(
|
|
2530
2537
|
S(
|
|
2531
2538
|
0,
|
|
2532
|
-
|
|
2539
|
+
D,
|
|
2533
2540
|
Q(y) ? y : Fe,
|
|
2534
|
-
|
|
2541
|
+
D.notifyWith
|
|
2535
2542
|
)
|
|
2536
2543
|
), i[1][3].add(
|
|
2537
2544
|
S(
|
|
2538
2545
|
0,
|
|
2539
|
-
|
|
2546
|
+
D,
|
|
2540
2547
|
Q(l) ? l : Fe
|
|
2541
2548
|
)
|
|
2542
2549
|
), i[2][3].add(
|
|
2543
2550
|
S(
|
|
2544
2551
|
0,
|
|
2545
|
-
|
|
2552
|
+
D,
|
|
2546
2553
|
Q(u) ? u : xt
|
|
2547
2554
|
)
|
|
2548
2555
|
);
|
|
@@ -2622,14 +2629,14 @@ var fo = { exports: {} };
|
|
|
2622
2629
|
ee.removeEventListener("DOMContentLoaded", Pe), c.removeEventListener("load", Pe), o.ready();
|
|
2623
2630
|
}
|
|
2624
2631
|
ee.readyState === "complete" || ee.readyState !== "loading" && !ee.documentElement.doScroll ? c.setTimeout(o.ready) : (ee.addEventListener("DOMContentLoaded", Pe), c.addEventListener("load", Pe));
|
|
2625
|
-
var
|
|
2632
|
+
var Xe = function(t, i, r, n, s, l, u) {
|
|
2626
2633
|
var y = 0, b = t.length, S = r == null;
|
|
2627
2634
|
if (Ze(r) === "object") {
|
|
2628
2635
|
s = !0;
|
|
2629
2636
|
for (y in r)
|
|
2630
|
-
|
|
2631
|
-
} else if (n !== void 0 && (s = !0, Q(n) || (u = !0), S && (u ? (i.call(t, n), i = null) : (S = i, i = function(
|
|
2632
|
-
return S.call(o(
|
|
2637
|
+
Xe(t, i, y, r[y], !0, l, u);
|
|
2638
|
+
} else if (n !== void 0 && (s = !0, Q(n) || (u = !0), S && (u ? (i.call(t, n), i = null) : (S = i, i = function(D, j, A) {
|
|
2639
|
+
return S.call(o(D), A);
|
|
2633
2640
|
})), i))
|
|
2634
2641
|
for (; y < b; y++)
|
|
2635
2642
|
i(
|
|
@@ -2739,7 +2746,7 @@ var fo = { exports: {} };
|
|
|
2739
2746
|
}
|
|
2740
2747
|
return typeof t == "object" ? this.each(function() {
|
|
2741
2748
|
Oe.set(this, t);
|
|
2742
|
-
}) :
|
|
2749
|
+
}) : Xe(this, function(y) {
|
|
2743
2750
|
var b;
|
|
2744
2751
|
if (l && y === void 0)
|
|
2745
2752
|
return b = Oe.get(l, t), b !== void 0 || (b = m(l, t), b !== void 0) ? b : void 0;
|
|
@@ -2820,13 +2827,13 @@ var fo = { exports: {} };
|
|
|
2820
2827
|
return n.cur();
|
|
2821
2828
|
} : function() {
|
|
2822
2829
|
return o.css(t, i, "");
|
|
2823
|
-
}, b = y(), S = r && r[3] || (o.cssNumber[i] ? "" : "px"),
|
|
2824
|
-
if (
|
|
2825
|
-
for (b = b / 2, S = S ||
|
|
2826
|
-
o.style(t, i,
|
|
2827
|
-
|
|
2830
|
+
}, b = y(), S = r && r[3] || (o.cssNumber[i] ? "" : "px"), D = t.nodeType && (o.cssNumber[i] || S !== "px" && +b) && H.exec(o.css(t, i));
|
|
2831
|
+
if (D && D[3] !== S) {
|
|
2832
|
+
for (b = b / 2, S = S || D[3], D = +b || 1; u--; )
|
|
2833
|
+
o.style(t, i, D + S), (1 - l) * (1 - (l = y() / b || 0.5)) <= 0 && (u = 0), D = D / l;
|
|
2834
|
+
D = D * 2, o.style(t, i, D + S), r = r || [];
|
|
2828
2835
|
}
|
|
2829
|
-
return r && (
|
|
2836
|
+
return r && (D = +D || +b || 0, s = r[1] ? D + (r[1] + 1) * r[2] : +r[2], n && (n.unit = S, n.start = D, n.end = s)), s;
|
|
2830
2837
|
}
|
|
2831
2838
|
var Ye = {};
|
|
2832
2839
|
function si(t) {
|
|
@@ -2883,14 +2890,14 @@ var fo = { exports: {} };
|
|
|
2883
2890
|
}
|
|
2884
2891
|
var x = /<|&#?\w+;/;
|
|
2885
2892
|
function Z(t, i, r, n, s) {
|
|
2886
|
-
for (var l, u, y, b, S,
|
|
2893
|
+
for (var l, u, y, b, S, D, j = i.createDocumentFragment(), A = [], z = 0, Y = t.length; z < Y; z++)
|
|
2887
2894
|
if (l = t[z], l || l === 0)
|
|
2888
2895
|
if (Ze(l) === "object")
|
|
2889
2896
|
o.merge(A, l.nodeType ? [l] : l);
|
|
2890
2897
|
else if (!x.test(l))
|
|
2891
2898
|
A.push(i.createTextNode(l));
|
|
2892
2899
|
else {
|
|
2893
|
-
for (u = u || j.appendChild(i.createElement("div")), y = (ai.exec(l) || ["", ""])[1].toLowerCase(), b = Je[y] || Je._default, u.innerHTML = b[1] + o.htmlPrefilter(l) + b[2],
|
|
2900
|
+
for (u = u || j.appendChild(i.createElement("div")), y = (ai.exec(l) || ["", ""])[1].toLowerCase(), b = Je[y] || Je._default, u.innerHTML = b[1] + o.htmlPrefilter(l) + b[2], D = b[0]; D--; )
|
|
2894
2901
|
u = u.lastChild;
|
|
2895
2902
|
o.merge(A, u.childNodes), u = j.firstChild, u.textContent = "";
|
|
2896
2903
|
}
|
|
@@ -2900,7 +2907,7 @@ var fo = { exports: {} };
|
|
|
2900
2907
|
continue;
|
|
2901
2908
|
}
|
|
2902
2909
|
if (S = le(l), u = Le(j.appendChild(l), "script"), S && Kt(u), r)
|
|
2903
|
-
for (
|
|
2910
|
+
for (D = 0; l = u[D++]; )
|
|
2904
2911
|
Si.test(l.type || "") && r.push(l);
|
|
2905
2912
|
}
|
|
2906
2913
|
return j;
|
|
@@ -2942,12 +2949,12 @@ var fo = { exports: {} };
|
|
|
2942
2949
|
o.event = {
|
|
2943
2950
|
global: {},
|
|
2944
2951
|
add: function(t, i, r, n, s) {
|
|
2945
|
-
var l, u, y, b, S,
|
|
2952
|
+
var l, u, y, b, S, D, j, A, z, Y, ae, U = G.get(t);
|
|
2946
2953
|
if (St(t))
|
|
2947
2954
|
for (r.handler && (l = r, r = l.handler, s = l.selector), s && o.find.matchesSelector(_, s), r.guid || (r.guid = o.guid++), (b = U.events) || (b = U.events = /* @__PURE__ */ Object.create(null)), (u = U.handle) || (u = U.handle = function(He) {
|
|
2948
2955
|
return typeof o < "u" && o.event.triggered !== He.type ? o.event.dispatch.apply(t, arguments) : void 0;
|
|
2949
2956
|
}), i = (i || "").match(P) || [""], S = i.length; S--; )
|
|
2950
|
-
y = ot.exec(i[S]) || [], z = ae = y[1], Y = (y[2] || "").split(".").sort(), z && (j = o.event.special[z] || {}, z = (s ? j.delegateType : j.bindType) || z, j = o.event.special[z] || {},
|
|
2957
|
+
y = ot.exec(i[S]) || [], z = ae = y[1], Y = (y[2] || "").split(".").sort(), z && (j = o.event.special[z] || {}, z = (s ? j.delegateType : j.bindType) || z, j = o.event.special[z] || {}, D = o.extend({
|
|
2951
2958
|
type: z,
|
|
2952
2959
|
origType: ae,
|
|
2953
2960
|
data: n,
|
|
@@ -2956,11 +2963,11 @@ var fo = { exports: {} };
|
|
|
2956
2963
|
selector: s,
|
|
2957
2964
|
needsContext: s && o.expr.match.needsContext.test(s),
|
|
2958
2965
|
namespace: Y.join(".")
|
|
2959
|
-
}, l), (A = b[z]) || (A = b[z] = [], A.delegateCount = 0, (!j.setup || j.setup.call(t, n, Y, u) === !1) && t.addEventListener && t.addEventListener(z, u)), j.add && (j.add.call(t,
|
|
2966
|
+
}, l), (A = b[z]) || (A = b[z] = [], A.delegateCount = 0, (!j.setup || j.setup.call(t, n, Y, u) === !1) && t.addEventListener && t.addEventListener(z, u)), j.add && (j.add.call(t, D), D.handler.guid || (D.handler.guid = r.guid)), s ? A.splice(A.delegateCount++, 0, D) : A.push(D), o.event.global[z] = !0);
|
|
2960
2967
|
},
|
|
2961
2968
|
// Detach an event or set of events from an element
|
|
2962
2969
|
remove: function(t, i, r, n, s) {
|
|
2963
|
-
var l, u, y, b, S,
|
|
2970
|
+
var l, u, y, b, S, D, j, A, z, Y, ae, U = G.hasData(t) && G.get(t);
|
|
2964
2971
|
if (!(!U || !(b = U.events))) {
|
|
2965
2972
|
for (i = (i || "").match(P) || [""], S = i.length; S--; ) {
|
|
2966
2973
|
if (y = ot.exec(i[S]) || [], z = ae = y[1], Y = (y[2] || "").split(".").sort(), !z) {
|
|
@@ -2969,21 +2976,21 @@ var fo = { exports: {} };
|
|
|
2969
2976
|
continue;
|
|
2970
2977
|
}
|
|
2971
2978
|
for (j = o.event.special[z] || {}, z = (n ? j.delegateType : j.bindType) || z, A = b[z] || [], y = y[2] && new RegExp("(^|\\.)" + Y.join("\\.(?:.*\\.|)") + "(\\.|$)"), u = l = A.length; l--; )
|
|
2972
|
-
|
|
2979
|
+
D = A[l], (s || ae === D.origType) && (!r || r.guid === D.guid) && (!y || y.test(D.namespace)) && (!n || n === D.selector || n === "**" && D.selector) && (A.splice(l, 1), D.selector && A.delegateCount--, j.remove && j.remove.call(t, D));
|
|
2973
2980
|
u && !A.length && ((!j.teardown || j.teardown.call(t, Y, U.handle) === !1) && o.removeEvent(t, z, U.handle), delete b[z]);
|
|
2974
2981
|
}
|
|
2975
2982
|
o.isEmptyObject(b) && G.remove(t, "handle events");
|
|
2976
2983
|
}
|
|
2977
2984
|
},
|
|
2978
2985
|
dispatch: function(t) {
|
|
2979
|
-
var i, r, n, s, l, u, y = new Array(arguments.length), b = o.event.fix(t), S = (G.get(this, "events") || /* @__PURE__ */ Object.create(null))[b.type] || [],
|
|
2986
|
+
var i, r, n, s, l, u, y = new Array(arguments.length), b = o.event.fix(t), S = (G.get(this, "events") || /* @__PURE__ */ Object.create(null))[b.type] || [], D = o.event.special[b.type] || {};
|
|
2980
2987
|
for (y[0] = b, i = 1; i < arguments.length; i++)
|
|
2981
2988
|
y[i] = arguments[i];
|
|
2982
|
-
if (b.delegateTarget = this, !(
|
|
2989
|
+
if (b.delegateTarget = this, !(D.preDispatch && D.preDispatch.call(this, b) === !1)) {
|
|
2983
2990
|
for (u = o.event.handlers.call(this, b, S), i = 0; (s = u[i++]) && !b.isPropagationStopped(); )
|
|
2984
2991
|
for (b.currentTarget = s.elem, r = 0; (l = s.handlers[r++]) && !b.isImmediatePropagationStopped(); )
|
|
2985
2992
|
(!b.rnamespace || l.namespace === !1 || b.rnamespace.test(l.namespace)) && (b.handleObj = l, b.data = l.data, n = ((o.event.special[l.origType] || {}).handle || l.handler).apply(s.elem, y), n !== void 0 && (b.result = n) === !1 && (b.preventDefault(), b.stopPropagation()));
|
|
2986
|
-
return
|
|
2993
|
+
return D.postDispatch && D.postDispatch.call(this, b), b.result;
|
|
2987
2994
|
}
|
|
2988
2995
|
},
|
|
2989
2996
|
handlers: function(t, i) {
|
|
@@ -3222,24 +3229,24 @@ var fo = { exports: {} };
|
|
|
3222
3229
|
}
|
|
3223
3230
|
function Jt(t, i, r, n) {
|
|
3224
3231
|
i = O(i);
|
|
3225
|
-
var s, l, u, y, b, S,
|
|
3232
|
+
var s, l, u, y, b, S, D = 0, j = t.length, A = j - 1, z = i[0], Y = Q(z);
|
|
3226
3233
|
if (Y || j > 1 && typeof z == "string" && !ne.checkClone && Dt.test(z))
|
|
3227
3234
|
return t.each(function(ae) {
|
|
3228
3235
|
var U = t.eq(ae);
|
|
3229
3236
|
Y && (i[0] = z.call(this, ae, U.html())), Jt(U, i, r, n);
|
|
3230
3237
|
});
|
|
3231
3238
|
if (j && (s = Z(i, t[0].ownerDocument, !1, t, n), l = s.firstChild, s.childNodes.length === 1 && (s = l), l || n)) {
|
|
3232
|
-
for (u = o.map(Le(s, "script"), go), y = u.length;
|
|
3233
|
-
b = s,
|
|
3239
|
+
for (u = o.map(Le(s, "script"), go), y = u.length; D < j; D++)
|
|
3240
|
+
b = s, D !== A && (b = o.clone(b, !0, !0), y && o.merge(u, Le(b, "script"))), r.call(t[D], b, D);
|
|
3234
3241
|
if (y)
|
|
3235
|
-
for (S = u[u.length - 1].ownerDocument, o.map(u, mo),
|
|
3236
|
-
b = u[
|
|
3242
|
+
for (S = u[u.length - 1].ownerDocument, o.map(u, mo), D = 0; D < y; D++)
|
|
3243
|
+
b = u[D], Si.test(b.type || "") && !G.access(b, "globalEval") && o.contains(S, b) && (b.src && (b.type || "").toLowerCase() !== "module" ? o._evalUrl && !b.noModule && o._evalUrl(b.src, {
|
|
3237
3244
|
nonce: b.nonce || b.getAttribute("nonce")
|
|
3238
3245
|
}, S) : At(b.textContent.replace(vt, ""), b, S));
|
|
3239
3246
|
}
|
|
3240
3247
|
return t;
|
|
3241
3248
|
}
|
|
3242
|
-
function
|
|
3249
|
+
function Vr(t, i, r) {
|
|
3243
3250
|
for (var n, s = i ? o.filter(i, t) : t, l = 0; (n = s[l]) != null; l++)
|
|
3244
3251
|
!r && n.nodeType === 1 && o.cleanData(Le(n)), n.parentNode && (r && le(n) && Kt(Le(n, "script")), n.parentNode.removeChild(n));
|
|
3245
3252
|
return t;
|
|
@@ -3275,13 +3282,13 @@ var fo = { exports: {} };
|
|
|
3275
3282
|
}
|
|
3276
3283
|
}), o.fn.extend({
|
|
3277
3284
|
detach: function(t) {
|
|
3278
|
-
return
|
|
3285
|
+
return Vr(this, t, !0);
|
|
3279
3286
|
},
|
|
3280
3287
|
remove: function(t) {
|
|
3281
|
-
return
|
|
3288
|
+
return Vr(this, t);
|
|
3282
3289
|
},
|
|
3283
3290
|
text: function(t) {
|
|
3284
|
-
return
|
|
3291
|
+
return Xe(this, function(i) {
|
|
3285
3292
|
return i === void 0 ? o.text(this) : this.empty().each(function() {
|
|
3286
3293
|
(this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) && (this.textContent = i);
|
|
3287
3294
|
});
|
|
@@ -3324,7 +3331,7 @@ var fo = { exports: {} };
|
|
|
3324
3331
|
});
|
|
3325
3332
|
},
|
|
3326
3333
|
html: function(t) {
|
|
3327
|
-
return
|
|
3334
|
+
return Xe(this, function(i) {
|
|
3328
3335
|
var r = this[0] || {}, n = 0, s = this.length;
|
|
3329
3336
|
if (i === void 0 && r.nodeType === 1)
|
|
3330
3337
|
return r.innerHTML;
|
|
@@ -3356,14 +3363,14 @@ var fo = { exports: {} };
|
|
|
3356
3363
|
}, function(t, i) {
|
|
3357
3364
|
o.fn[t] = function(r) {
|
|
3358
3365
|
for (var n, s = [], l = o(r), u = l.length - 1, y = 0; y <= u; y++)
|
|
3359
|
-
n = y === u ? this : this.clone(!0), o(l[y])[i](n),
|
|
3366
|
+
n = y === u ? this : this.clone(!0), o(l[y])[i](n), M.apply(s, n.get());
|
|
3360
3367
|
return this.pushStack(s);
|
|
3361
3368
|
};
|
|
3362
3369
|
});
|
|
3363
3370
|
var er = new RegExp("^(" + L + ")(?!px)[a-z%]+$", "i"), Ei = function(t) {
|
|
3364
3371
|
var i = t.ownerDocument.defaultView;
|
|
3365
3372
|
return (!i || !i.opener) && (i = c), i.getComputedStyle(t);
|
|
3366
|
-
},
|
|
3373
|
+
}, $r = function(t, i, r) {
|
|
3367
3374
|
var n, s, l = {};
|
|
3368
3375
|
for (s in i)
|
|
3369
3376
|
l[s] = t.style[s], t.style[s] = i[s];
|
|
@@ -3376,12 +3383,12 @@ var fo = { exports: {} };
|
|
|
3376
3383
|
function t() {
|
|
3377
3384
|
if (S) {
|
|
3378
3385
|
b.style.cssText = "position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0", S.style.cssText = "position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%", _.appendChild(b).appendChild(S);
|
|
3379
|
-
var
|
|
3380
|
-
r =
|
|
3386
|
+
var D = c.getComputedStyle(S);
|
|
3387
|
+
r = D.top !== "1%", y = i(D.marginLeft) === 12, S.style.right = "60%", l = i(D.right) === 36, n = i(D.width) === 36, S.style.position = "absolute", s = i(S.offsetWidth / 3) === 12, _.removeChild(b), S = null;
|
|
3381
3388
|
}
|
|
3382
3389
|
}
|
|
3383
|
-
function i(
|
|
3384
|
-
return Math.round(parseFloat(
|
|
3390
|
+
function i(D) {
|
|
3391
|
+
return Math.round(parseFloat(D));
|
|
3385
3392
|
}
|
|
3386
3393
|
var r, n, s, l, u, y, b = ee.createElement("div"), S = ee.createElement("div");
|
|
3387
3394
|
S.style && (S.style.backgroundClip = "content-box", S.cloneNode(!0).style.backgroundClip = "", ne.clearCloneStyle = S.style.backgroundClip === "content-box", o.extend(ne, {
|
|
@@ -3406,8 +3413,8 @@ var fo = { exports: {} };
|
|
|
3406
3413
|
// Behavior in IE 9 is more subtle than in newer versions & it passes
|
|
3407
3414
|
// some versions of this test; make sure not to make it pass there!
|
|
3408
3415
|
reliableTrDimensions: function() {
|
|
3409
|
-
var
|
|
3410
|
-
return u == null && (
|
|
3416
|
+
var D, j, A, z;
|
|
3417
|
+
return u == null && (D = ee.createElement("table"), j = ee.createElement("tr"), A = ee.createElement("div"), D.style.cssText = "position:absolute;left:-11111px", j.style.height = "1px", A.style.height = "9px", _.appendChild(D).appendChild(j).appendChild(A), z = c.getComputedStyle(j), u = parseInt(z.height) > 3, _.removeChild(D)), u;
|
|
3411
3418
|
}
|
|
3412
3419
|
}));
|
|
3413
3420
|
})();
|
|
@@ -3419,7 +3426,7 @@ var fo = { exports: {} };
|
|
|
3419
3426
|
u + ""
|
|
3420
3427
|
) : u;
|
|
3421
3428
|
}
|
|
3422
|
-
function
|
|
3429
|
+
function Xr(t, i) {
|
|
3423
3430
|
return {
|
|
3424
3431
|
get: function() {
|
|
3425
3432
|
if (t()) {
|
|
@@ -3554,28 +3561,28 @@ var fo = { exports: {} };
|
|
|
3554
3561
|
// Support: IE <=11 only
|
|
3555
3562
|
// Running getBoundingClientRect on a disconnected node
|
|
3556
3563
|
// in IE throws an error.
|
|
3557
|
-
(!r.getClientRects().length || !r.getBoundingClientRect().width) ?
|
|
3564
|
+
(!r.getClientRects().length || !r.getBoundingClientRect().width) ? $r(r, xo, function() {
|
|
3558
3565
|
return Qr(r, i, s);
|
|
3559
3566
|
}) : Qr(r, i, s);
|
|
3560
3567
|
},
|
|
3561
3568
|
set: function(r, n, s) {
|
|
3562
|
-
var l, u = Ei(r), y = !ne.scrollboxSize() && u.position === "absolute", b = y || s, S = b && o.css(r, "boxSizing", !1, u) === "border-box",
|
|
3569
|
+
var l, u = Ei(r), y = !ne.scrollboxSize() && u.position === "absolute", b = y || s, S = b && o.css(r, "boxSizing", !1, u) === "border-box", D = s ? ir(
|
|
3563
3570
|
r,
|
|
3564
3571
|
i,
|
|
3565
3572
|
s,
|
|
3566
3573
|
S,
|
|
3567
3574
|
u
|
|
3568
3575
|
) : 0;
|
|
3569
|
-
return S && y && (
|
|
3576
|
+
return S && y && (D -= Math.ceil(
|
|
3570
3577
|
r["offset" + i[0].toUpperCase() + i.slice(1)] - parseFloat(u[i]) - ir(r, i, "border", !1, u) - 0.5
|
|
3571
|
-
)),
|
|
3578
|
+
)), D && (l = H.exec(n)) && (l[3] || "px") !== "px" && (r.style[i] = n, n = o.css(r, i)), Jr(r, n, D);
|
|
3572
3579
|
}
|
|
3573
3580
|
};
|
|
3574
|
-
}), o.cssHooks.marginLeft =
|
|
3581
|
+
}), o.cssHooks.marginLeft = Xr(
|
|
3575
3582
|
ne.reliableMarginLeft,
|
|
3576
3583
|
function(t, i) {
|
|
3577
3584
|
if (i)
|
|
3578
|
-
return (parseFloat(li(t, "marginLeft")) || t.getBoundingClientRect().left -
|
|
3585
|
+
return (parseFloat(li(t, "marginLeft")) || t.getBoundingClientRect().left - $r(t, { marginLeft: 0 }, function() {
|
|
3579
3586
|
return t.getBoundingClientRect().left;
|
|
3580
3587
|
})) + "px";
|
|
3581
3588
|
}
|
|
@@ -3593,7 +3600,7 @@ var fo = { exports: {} };
|
|
|
3593
3600
|
}, t !== "margin" && (o.cssHooks[t + i].set = Jr);
|
|
3594
3601
|
}), o.fn.extend({
|
|
3595
3602
|
css: function(t, i) {
|
|
3596
|
-
return
|
|
3603
|
+
return Xe(this, function(r, n, s) {
|
|
3597
3604
|
var l, u, y = {}, b = 0;
|
|
3598
3605
|
if (Array.isArray(n)) {
|
|
3599
3606
|
for (l = Ei(r), u = n.length; b < u; b++)
|
|
@@ -3670,7 +3677,7 @@ var fo = { exports: {} };
|
|
|
3670
3677
|
return n;
|
|
3671
3678
|
}
|
|
3672
3679
|
function Eo(t, i, r) {
|
|
3673
|
-
var n, s, l, u, y, b, S,
|
|
3680
|
+
var n, s, l, u, y, b, S, D, j = "width" in i || "height" in i, A = this, z = {}, Y = t.style, ae = t.nodeType && Ae(t), U = G.get(t, "fxshow");
|
|
3674
3681
|
r.queue || (u = o._queueHooks(t, "fx"), u.unqueued == null && (u.unqueued = 0, y = u.empty.fire, u.empty.fire = function() {
|
|
3675
3682
|
u.unqueued || y();
|
|
3676
3683
|
}), u.unqueued++, A.always(function() {
|
|
@@ -3688,9 +3695,9 @@ var fo = { exports: {} };
|
|
|
3688
3695
|
z[n] = U && U[n] || o.style(t, n);
|
|
3689
3696
|
}
|
|
3690
3697
|
if (b = !o.isEmptyObject(i), !(!b && o.isEmptyObject(z))) {
|
|
3691
|
-
j && t.nodeType === 1 && (r.overflow = [Y.overflow, Y.overflowX, Y.overflowY], S = U && U.display, S == null && (S = G.get(t, "display")),
|
|
3698
|
+
j && t.nodeType === 1 && (r.overflow = [Y.overflow, Y.overflowX, Y.overflowY], S = U && U.display, S == null && (S = G.get(t, "display")), D = o.css(t, "display"), D === "none" && (S ? D = S : (kt([t], !0), S = t.style.display || S, D = o.css(t, "display"), kt([t]))), (D === "inline" || D === "inline-block" && S != null) && o.css(t, "float") === "none" && (b || (A.done(function() {
|
|
3692
3699
|
Y.display = S;
|
|
3693
|
-
}), S == null && (
|
|
3700
|
+
}), S == null && (D = Y.display, S = D === "none" ? "" : D)), Y.display = "inline-block")), r.overflow && (Y.overflow = "hidden", A.always(function() {
|
|
3694
3701
|
Y.overflow = r.overflow[0], Y.overflowX = r.overflow[1], Y.overflowY = r.overflow[2];
|
|
3695
3702
|
})), b = !1;
|
|
3696
3703
|
for (n in z)
|
|
@@ -3750,11 +3757,11 @@ var fo = { exports: {} };
|
|
|
3750
3757
|
S.tweens[A].run(1);
|
|
3751
3758
|
return j ? (y.notifyWith(t, [S, 1, 0]), y.resolveWith(t, [S, j])) : y.rejectWith(t, [S, j]), this;
|
|
3752
3759
|
}
|
|
3753
|
-
}),
|
|
3754
|
-
for (Co(
|
|
3755
|
-
if (n = dt.prefilters[l].call(S, t,
|
|
3760
|
+
}), D = S.props;
|
|
3761
|
+
for (Co(D, S.opts.specialEasing); l < u; l++)
|
|
3762
|
+
if (n = dt.prefilters[l].call(S, t, D, S.opts), n)
|
|
3756
3763
|
return Q(n.stop) && (o._queueHooks(S.elem, S.opts.queue).stop = n.stop.bind(n)), n;
|
|
3757
|
-
return o.map(
|
|
3764
|
+
return o.map(D, tn, S), Q(S.opts.start) && S.opts.start.call(t, S), S.progress(S.opts.progress).done(S.opts.done, S.opts.complete).fail(S.opts.fail).always(S.opts.always), o.fx.timer(
|
|
3758
3765
|
o.extend(b, {
|
|
3759
3766
|
elem: t,
|
|
3760
3767
|
anim: S,
|
|
@@ -3871,7 +3878,7 @@ var fo = { exports: {} };
|
|
|
3871
3878
|
var rn, ci = o.expr.attrHandle;
|
|
3872
3879
|
o.fn.extend({
|
|
3873
3880
|
attr: function(t, i) {
|
|
3874
|
-
return
|
|
3881
|
+
return Xe(this, o.attr, t, i, arguments.length > 1);
|
|
3875
3882
|
},
|
|
3876
3883
|
removeAttr: function(t) {
|
|
3877
3884
|
return this.each(function() {
|
|
@@ -3924,7 +3931,7 @@ var fo = { exports: {} };
|
|
|
3924
3931
|
var Ao = /^(?:input|select|textarea|button)$/i, Lo = /^(?:a|area)$/i;
|
|
3925
3932
|
o.fn.extend({
|
|
3926
3933
|
prop: function(t, i) {
|
|
3927
|
-
return
|
|
3934
|
+
return Xe(this, o.prop, t, i, arguments.length > 1);
|
|
3928
3935
|
},
|
|
3929
3936
|
removeProp: function(t) {
|
|
3930
3937
|
return this.each(function() {
|
|
@@ -4101,16 +4108,16 @@ var fo = { exports: {} };
|
|
|
4101
4108
|
};
|
|
4102
4109
|
o.extend(o.event, {
|
|
4103
4110
|
trigger: function(t, i, r, n) {
|
|
4104
|
-
var s, l, u, y, b, S,
|
|
4105
|
-
if (l = j = u = r = r || ee, !(r.nodeType === 3 || r.nodeType === 8) && !nn.test(z + o.event.triggered) && (z.indexOf(".") > -1 && (Y = z.split("."), z = Y.shift(), Y.sort()), b = z.indexOf(":") < 0 && "on" + z, t = t[o.expando] ? t : new o.Event(z, typeof t == "object" && t), t.isTrigger = n ? 2 : 3, t.namespace = Y.join("."), t.rnamespace = t.namespace ? new RegExp("(^|\\.)" + Y.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, t.result = void 0, t.target || (t.target = r), i = i == null ? [t] : o.makeArray(i, [t]),
|
|
4106
|
-
if (!n && !
|
|
4107
|
-
for (y =
|
|
4111
|
+
var s, l, u, y, b, S, D, j, A = [r || ee], z = ke.call(t, "type") ? t.type : t, Y = ke.call(t, "namespace") ? t.namespace.split(".") : [];
|
|
4112
|
+
if (l = j = u = r = r || ee, !(r.nodeType === 3 || r.nodeType === 8) && !nn.test(z + o.event.triggered) && (z.indexOf(".") > -1 && (Y = z.split("."), z = Y.shift(), Y.sort()), b = z.indexOf(":") < 0 && "on" + z, t = t[o.expando] ? t : new o.Event(z, typeof t == "object" && t), t.isTrigger = n ? 2 : 3, t.namespace = Y.join("."), t.rnamespace = t.namespace ? new RegExp("(^|\\.)" + Y.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, t.result = void 0, t.target || (t.target = r), i = i == null ? [t] : o.makeArray(i, [t]), D = o.event.special[z] || {}, !(!n && D.trigger && D.trigger.apply(r, i) === !1))) {
|
|
4113
|
+
if (!n && !D.noBubble && !Me(r)) {
|
|
4114
|
+
for (y = D.delegateType || z, nn.test(y + z) || (l = l.parentNode); l; l = l.parentNode)
|
|
4108
4115
|
A.push(l), u = l;
|
|
4109
4116
|
u === (r.ownerDocument || ee) && A.push(u.defaultView || u.parentWindow || c);
|
|
4110
4117
|
}
|
|
4111
4118
|
for (s = 0; (l = A[s++]) && !t.isPropagationStopped(); )
|
|
4112
|
-
j = l, t.type = s > 1 ? y :
|
|
4113
|
-
return t.type = z, !n && !t.isDefaultPrevented() && (!
|
|
4119
|
+
j = l, t.type = s > 1 ? y : D.bindType || z, S = (G.get(l, "events") || /* @__PURE__ */ Object.create(null))[t.type] && G.get(l, "handle"), S && S.apply(l, i), S = b && l[b], S && S.apply && St(l) && (t.result = S.apply(l, i), t.result === !1 && t.preventDefault());
|
|
4120
|
+
return t.type = z, !n && !t.isDefaultPrevented() && (!D._default || D._default.apply(A.pop(), i) === !1) && St(r) && b && Q(r[z]) && !Me(r) && (u = r[b], u && (r[b] = null), o.event.triggered = z, t.isPropagationStopped() && j.addEventListener(z, on), r[z](), t.isPropagationStopped() && j.removeEventListener(z, on), o.event.triggered = void 0, u && (r[b] = u)), t.result;
|
|
4114
4121
|
}
|
|
4115
4122
|
},
|
|
4116
4123
|
// Piggyback on a donor event to simulate a different one
|
|
@@ -4233,8 +4240,8 @@ var fo = { exports: {} };
|
|
|
4233
4240
|
var s = {}, l = t === ar;
|
|
4234
4241
|
function u(y) {
|
|
4235
4242
|
var b;
|
|
4236
|
-
return s[y] = !0, o.each(t[y] || [], function(S,
|
|
4237
|
-
var j =
|
|
4243
|
+
return s[y] = !0, o.each(t[y] || [], function(S, D) {
|
|
4244
|
+
var j = D(i, r, n);
|
|
4238
4245
|
if (typeof j == "string" && !l && !s[j])
|
|
4239
4246
|
return i.dataTypes.unshift(j), u(j), !1;
|
|
4240
4247
|
if (l)
|
|
@@ -4275,19 +4282,19 @@ var fo = { exports: {} };
|
|
|
4275
4282
|
return l !== b[0] && b.unshift(l), r[l];
|
|
4276
4283
|
}
|
|
4277
4284
|
function jo(t, i, r, n) {
|
|
4278
|
-
var s, l, u, y, b, S = {},
|
|
4279
|
-
if (
|
|
4285
|
+
var s, l, u, y, b, S = {}, D = t.dataTypes.slice();
|
|
4286
|
+
if (D[1])
|
|
4280
4287
|
for (u in t.converters)
|
|
4281
4288
|
S[u.toLowerCase()] = t.converters[u];
|
|
4282
|
-
for (l =
|
|
4283
|
-
if (t.responseFields[l] && (r[t.responseFields[l]] = i), !b && n && t.dataFilter && (i = t.dataFilter(i, t.dataType)), b = l, l =
|
|
4289
|
+
for (l = D.shift(); l; )
|
|
4290
|
+
if (t.responseFields[l] && (r[t.responseFields[l]] = i), !b && n && t.dataFilter && (i = t.dataFilter(i, t.dataType)), b = l, l = D.shift(), l) {
|
|
4284
4291
|
if (l === "*")
|
|
4285
4292
|
l = b;
|
|
4286
4293
|
else if (b !== "*" && b !== l) {
|
|
4287
4294
|
if (u = S[b + " " + l] || S["* " + l], !u) {
|
|
4288
4295
|
for (s in S)
|
|
4289
4296
|
if (y = s.split(" "), y[1] === l && (u = S[b + " " + y[0]] || S["* " + y[0]], u)) {
|
|
4290
|
-
u === !0 ? u = S[s] : S[s] !== !0 && (l = y[0],
|
|
4297
|
+
u === !0 ? u = S[s] : S[s] !== !0 && (l = y[0], D.unshift(y[1]));
|
|
4291
4298
|
break;
|
|
4292
4299
|
}
|
|
4293
4300
|
}
|
|
@@ -4387,7 +4394,7 @@ var fo = { exports: {} };
|
|
|
4387
4394
|
// Main method
|
|
4388
4395
|
ajax: function(t, i) {
|
|
4389
4396
|
typeof t == "object" && (i = t, t = void 0), i = i || {};
|
|
4390
|
-
var r, n, s, l, u, y, b, S,
|
|
4397
|
+
var r, n, s, l, u, y, b, S, D, j, A = o.ajaxSetup({}, i), z = A.context || A, Y = A.context && (z.nodeType || z.jquery) ? o(z) : o.event, ae = o.Deferred(), U = o.Callbacks("once memory"), He = A.statusCode || {}, ze = {}, st = {}, ve = "canceled", se = {
|
|
4391
4398
|
readyState: 0,
|
|
4392
4399
|
// Builds headers hashtable if needed
|
|
4393
4400
|
getResponseHeader: function(he) {
|
|
@@ -4443,8 +4450,8 @@ var fo = { exports: {} };
|
|
|
4443
4450
|
"Accept",
|
|
4444
4451
|
A.dataTypes[0] && A.accepts[A.dataTypes[0]] ? A.accepts[A.dataTypes[0]] + (A.dataTypes[0] !== "*" ? ", " + cn + "; q=0.01" : "") : A.accepts["*"]
|
|
4445
4452
|
);
|
|
4446
|
-
for (
|
|
4447
|
-
se.setRequestHeader(
|
|
4453
|
+
for (D in A.headers)
|
|
4454
|
+
se.setRequestHeader(D, A.headers[D]);
|
|
4448
4455
|
if (A.beforeSend && (A.beforeSend.call(z, se, A) === !1 || b))
|
|
4449
4456
|
return se.abort();
|
|
4450
4457
|
if (ve = "abort", U.add(A.complete), se.done(A.success), se.fail(A.error), r = fn(ar, A, i, se), !r)
|
|
@@ -4464,11 +4471,11 @@ var fo = { exports: {} };
|
|
|
4464
4471
|
}
|
|
4465
4472
|
}
|
|
4466
4473
|
function et(he, Ce, di, Li) {
|
|
4467
|
-
var at, _t,
|
|
4474
|
+
var at, _t, Vt, tt, Pt, ut = Ce;
|
|
4468
4475
|
b || (b = !0, u && c.clearTimeout(u), r = void 0, s = Li || "", se.readyState = he > 0 ? 4 : 0, at = he >= 200 && he < 300 || he === 304, di && (tt = Ro(A, se, di)), !at && o.inArray("script", A.dataTypes) > -1 && (A.converters["text script"] = function() {
|
|
4469
|
-
}), tt = jo(A, tt, se, at), at ? (A.ifModified && (Pt = se.getResponseHeader("Last-Modified"), Pt && (o.lastModified[n] = Pt), Pt = se.getResponseHeader("etag"), Pt && (o.etag[n] = Pt)), he === 204 || A.type === "HEAD" ? ut = "nocontent" : he === 304 ? ut = "notmodified" : (ut = tt.state, _t = tt.data,
|
|
4476
|
+
}), tt = jo(A, tt, se, at), at ? (A.ifModified && (Pt = se.getResponseHeader("Last-Modified"), Pt && (o.lastModified[n] = Pt), Pt = se.getResponseHeader("etag"), Pt && (o.etag[n] = Pt)), he === 204 || A.type === "HEAD" ? ut = "nocontent" : he === 304 ? ut = "notmodified" : (ut = tt.state, _t = tt.data, Vt = tt.error, at = !Vt)) : (Vt = ut, (he || !ut) && (ut = "error", he < 0 && (he = 0))), se.status = he, se.statusText = (Ce || ut) + "", at ? ae.resolveWith(z, [_t, ut, se]) : ae.rejectWith(z, [se, ut, Vt]), se.statusCode(He), He = void 0, S && Y.trigger(
|
|
4470
4477
|
at ? "ajaxSuccess" : "ajaxError",
|
|
4471
|
-
[se, A, at ? _t :
|
|
4478
|
+
[se, A, at ? _t : Vt]
|
|
4472
4479
|
), U.fireWith(z, [se, ut]), S && (Y.trigger("ajaxComplete", [se, A]), --o.active || o.event.trigger("ajaxStop")));
|
|
4473
4480
|
}
|
|
4474
4481
|
return se;
|
|
@@ -4664,7 +4671,7 @@ var fo = { exports: {} };
|
|
|
4664
4671
|
return [];
|
|
4665
4672
|
typeof i == "boolean" && (r = i, i = !1);
|
|
4666
4673
|
var n, s, l;
|
|
4667
|
-
return i || (ne.createHTMLDocument ? (i = ee.implementation.createHTMLDocument(""), n = i.createElement("base"), n.href = ee.location.href, i.head.appendChild(n)) : i = ee), s =
|
|
4674
|
+
return i || (ne.createHTMLDocument ? (i = ee.implementation.createHTMLDocument(""), n = i.createElement("base"), n.href = ee.location.href, i.head.appendChild(n)) : i = ee), s = X.exec(t), l = !r && [], s ? [i.createElement(s[1])] : (s = Z([t], i, l), l && l.length && o(l).remove(), o.merge([], s.childNodes));
|
|
4668
4675
|
}, o.fn.load = function(t, i, r) {
|
|
4669
4676
|
var n, s, l, u = this, y = t.indexOf(" ");
|
|
4670
4677
|
return y > -1 && (n = Wt(t.slice(y)), t = t.slice(0, y)), Q(i) ? (r = i, i = void 0) : i && typeof i == "object" && (s = "POST"), u.length > 0 && o.ajax({
|
|
@@ -4695,8 +4702,8 @@ var fo = { exports: {} };
|
|
|
4695
4702
|
}).length;
|
|
4696
4703
|
}, o.offset = {
|
|
4697
4704
|
setOffset: function(t, i, r) {
|
|
4698
|
-
var n, s, l, u, y, b, S,
|
|
4699
|
-
|
|
4705
|
+
var n, s, l, u, y, b, S, D = o.css(t, "position"), j = o(t), A = {};
|
|
4706
|
+
D === "static" && (t.style.position = "relative"), y = j.offset(), l = o.css(t, "top"), b = o.css(t, "left"), S = (D === "absolute" || D === "fixed") && (l + b).indexOf("auto") > -1, S ? (n = j.position(), u = n.top, s = n.left) : (u = parseFloat(l) || 0, s = parseFloat(b) || 0), Q(i) && (i = i.call(t, r, o.extend({}, y))), i.top != null && (A.top = i.top - y.top + u), i.left != null && (A.left = i.left - y.left + s), "using" in i ? i.using.call(t, A) : (typeof A.top == "number" && (A.top += "px"), typeof A.left == "number" && (A.left += "px"), j.css(A));
|
|
4700
4707
|
}
|
|
4701
4708
|
}, o.fn.extend({
|
|
4702
4709
|
// offset() relates an element's border box to the document origin
|
|
@@ -4750,7 +4757,7 @@ var fo = { exports: {} };
|
|
|
4750
4757
|
}), o.each({ scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function(t, i) {
|
|
4751
4758
|
var r = i === "pageYOffset";
|
|
4752
4759
|
o.fn[t] = function(n) {
|
|
4753
|
-
return
|
|
4760
|
+
return Xe(this, function(s, l, u) {
|
|
4754
4761
|
var y;
|
|
4755
4762
|
if (Me(s) ? y = s : s.nodeType === 9 && (y = s.defaultView), u === void 0)
|
|
4756
4763
|
return y ? y[i] : s[l];
|
|
@@ -4761,7 +4768,7 @@ var fo = { exports: {} };
|
|
|
4761
4768
|
}, t, n, arguments.length);
|
|
4762
4769
|
};
|
|
4763
4770
|
}), o.each(["top", "left"], function(t, i) {
|
|
4764
|
-
o.cssHooks[i] =
|
|
4771
|
+
o.cssHooks[i] = Xr(
|
|
4765
4772
|
ne.pixelPosition,
|
|
4766
4773
|
function(r, n) {
|
|
4767
4774
|
if (n)
|
|
@@ -4774,7 +4781,7 @@ var fo = { exports: {} };
|
|
|
4774
4781
|
function(r, n) {
|
|
4775
4782
|
o.fn[n] = function(s, l) {
|
|
4776
4783
|
var u = arguments.length && (r || typeof s != "boolean"), y = r || (s === !0 || l === !0 ? "margin" : "border");
|
|
4777
|
-
return
|
|
4784
|
+
return Xe(this, function(b, S, D) {
|
|
4778
4785
|
var j;
|
|
4779
4786
|
return Me(b) ? n.indexOf("outer") === 0 ? b["inner" + t] : b.document.documentElement["client" + t] : b.nodeType === 9 ? (j = b.documentElement, Math.max(
|
|
4780
4787
|
b.body["scroll" + t],
|
|
@@ -4782,12 +4789,12 @@ var fo = { exports: {} };
|
|
|
4782
4789
|
b.body["offset" + t],
|
|
4783
4790
|
j["offset" + t],
|
|
4784
4791
|
j["client" + t]
|
|
4785
|
-
)) :
|
|
4792
|
+
)) : D === void 0 ? (
|
|
4786
4793
|
// Get width or height on the element, requesting but not forcing parseFloat
|
|
4787
4794
|
o.css(b, S, y)
|
|
4788
4795
|
) : (
|
|
4789
4796
|
// Set width or height on the element
|
|
4790
|
-
o.style(b, S,
|
|
4797
|
+
o.style(b, S, D, y)
|
|
4791
4798
|
);
|
|
4792
4799
|
}, i, u ? s : void 0, u);
|
|
4793
4800
|
};
|
|
@@ -4846,46 +4853,46 @@ var fo = { exports: {} };
|
|
|
4846
4853
|
}, o.trim = function(t) {
|
|
4847
4854
|
return t == null ? "" : (t + "").replace(Fo, "");
|
|
4848
4855
|
};
|
|
4849
|
-
var _o = c.jQuery,
|
|
4856
|
+
var _o = c.jQuery, Vo = c.$;
|
|
4850
4857
|
return o.noConflict = function(t) {
|
|
4851
|
-
return c.$ === o && (c.$ =
|
|
4858
|
+
return c.$ === o && (c.$ = Vo), t && c.jQuery === o && (c.jQuery = _o), o;
|
|
4852
4859
|
}, typeof h > "u" && (c.jQuery = c.$ = o), o;
|
|
4853
4860
|
});
|
|
4854
4861
|
})(fo);
|
|
4855
4862
|
var ho = fo.exports;
|
|
4856
|
-
const ri = /* @__PURE__ */
|
|
4863
|
+
const ri = /* @__PURE__ */ Xs(ho);
|
|
4857
4864
|
var Ys = { exports: {} };
|
|
4858
4865
|
(function(a, c) {
|
|
4859
4866
|
(function(h) {
|
|
4860
4867
|
a.exports = h(ho);
|
|
4861
4868
|
})(function(h) {
|
|
4862
|
-
var p = !1, T = !1, k = 0, O = 2e3,
|
|
4869
|
+
var p = !1, T = !1, k = 0, O = 2e3, M = 0, N = h, B = document, $ = window, ke = N($), oe = [];
|
|
4863
4870
|
function je() {
|
|
4864
|
-
var
|
|
4871
|
+
var X = B.currentScript || function() {
|
|
4865
4872
|
var e = B.getElementsByTagName("script");
|
|
4866
4873
|
return e.length ? e[e.length - 1] : !1;
|
|
4867
|
-
}(), C =
|
|
4874
|
+
}(), C = X ? X.src.split("?")[0] : "";
|
|
4868
4875
|
return C.split("/").length > 0 ? C.split("/").slice(0, -1).join("/") + "/" : "";
|
|
4869
4876
|
}
|
|
4870
|
-
var ne =
|
|
4877
|
+
var ne = $.requestAnimationFrame || $.webkitRequestAnimationFrame || $.mozRequestAnimationFrame || !1, Q = $.cancelAnimationFrame || $.webkitCancelAnimationFrame || $.mozCancelAnimationFrame || !1;
|
|
4871
4878
|
if (ne)
|
|
4872
|
-
|
|
4879
|
+
$.cancelAnimationFrame || (Q = function(X) {
|
|
4873
4880
|
});
|
|
4874
4881
|
else {
|
|
4875
4882
|
var Me = 0;
|
|
4876
|
-
ne = function(
|
|
4877
|
-
var e = (/* @__PURE__ */ new Date()).getTime(), J = Math.max(0, 16 - (e - Me)), g =
|
|
4883
|
+
ne = function(X, C) {
|
|
4884
|
+
var e = (/* @__PURE__ */ new Date()).getTime(), J = Math.max(0, 16 - (e - Me)), g = $.setTimeout(
|
|
4878
4885
|
function() {
|
|
4879
|
-
|
|
4886
|
+
X(e + J);
|
|
4880
4887
|
},
|
|
4881
4888
|
J
|
|
4882
4889
|
);
|
|
4883
4890
|
return Me = e + J, g;
|
|
4884
|
-
}, Q = function(
|
|
4885
|
-
|
|
4891
|
+
}, Q = function(X) {
|
|
4892
|
+
$.clearTimeout(X);
|
|
4886
4893
|
};
|
|
4887
4894
|
}
|
|
4888
|
-
var ee =
|
|
4895
|
+
var ee = $.MutationObserver || $.WebKitMutationObserver || !1, pe = Date.now || function() {
|
|
4889
4896
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
4890
4897
|
}, At = {
|
|
4891
4898
|
zindex: "auto",
|
|
@@ -4951,8 +4958,8 @@ var Ys = { exports: {} };
|
|
|
4951
4958
|
scrollbarid: !1
|
|
4952
4959
|
}, Ze = !1, Ot = function() {
|
|
4953
4960
|
if (Ze) return Ze;
|
|
4954
|
-
var
|
|
4955
|
-
g.haspointerlock = "pointerLockElement" in B || "webkitPointerLockElement" in B || "mozPointerLockElement" in B, g.isopera = "opera" in
|
|
4961
|
+
var X = B.createElement("DIV"), C = X.style, e = navigator.userAgent, J = navigator.platform, g = {};
|
|
4962
|
+
g.haspointerlock = "pointerLockElement" in B || "webkitPointerLockElement" in B || "mozPointerLockElement" in B, g.isopera = "opera" in $, g.isopera12 = g.isopera && "getUserMedia" in navigator, g.isoperamini = Object.prototype.toString.call($.operamini) === "[object OperaMini]", g.isie = "all" in B && "attachEvent" in X && !g.isopera, g.isieold = g.isie && !("msInterpolationMode" in C), g.isie7 = g.isie && !g.isieold && (!("documentMode" in B) || B.documentMode === 7), g.isie8 = g.isie && "documentMode" in B && B.documentMode === 8, g.isie9 = g.isie && "performance" in $ && B.documentMode === 9, g.isie10 = g.isie && "performance" in $ && B.documentMode === 10, g.isie11 = "msRequestFullscreen" in X && B.documentMode >= 11, g.ismsedge = "msCredentials" in $, g.ismozilla = "MozAppearance" in C, g.iswebkit = !g.ismsedge && "WebkitAppearance" in C, g.ischrome = g.iswebkit && "chrome" in $, g.ischrome38 = g.ischrome && "touchAction" in C, g.ischrome22 = !g.ischrome38 && g.ischrome && g.haspointerlock, g.ischrome26 = !g.ischrome38 && g.ischrome && "transition" in C, g.cantouch = "ontouchstart" in B.documentElement || "ontouchstart" in $, g.hasw3ctouch = ($.PointerEvent || !1) && (navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0), g.hasmstouch = !g.hasw3ctouch && ($.MSPointerEvent || !1), g.ismac = /^mac$/i.test(J), g.isios = g.cantouch && /iphone|ipad|ipod/i.test(J), g.isios4 = g.isios && !("seal" in Object), g.isios7 = g.isios && "webkitHidden" in B, g.isios8 = g.isios && "hidden" in B, g.isios10 = g.isios && $.Proxy, g.isandroid = /android/i.test(e), g.haseventlistener = "addEventListener" in X, g.trstyle = !1, g.hastransform = !1, g.hastranslate3d = !1, g.transitionstyle = !1, g.hastransition = !1, g.transitionend = !1, g.trstyle = "transform", g.hastransform = "transform" in C || function() {
|
|
4956
4963
|
for (var ye = ["msTransform", "webkitTransform", "MozTransform", "OTransform"], fe = 0, P = ye.length; fe < P; fe++)
|
|
4957
4964
|
if (C[ye[fe]] !== void 0) {
|
|
4958
4965
|
g.trstyle = ye[fe];
|
|
@@ -4977,17 +4984,17 @@ var Ys = { exports: {} };
|
|
|
4977
4984
|
}
|
|
4978
4985
|
return "url(https://cdnjs.cloudflare.com/ajax/libs/slider-pro/1.3.0/css/images/openhand.cur),n-resize";
|
|
4979
4986
|
}
|
|
4980
|
-
return g.cursorgrabvalue = We(), g.hasmousecapture = "setCapture" in
|
|
4981
|
-
}, o = function(
|
|
4987
|
+
return g.cursorgrabvalue = We(), g.hasmousecapture = "setCapture" in X, g.hasMutationObserver = ee !== !1, X = null, Ze = g, g;
|
|
4988
|
+
}, o = function(X, C) {
|
|
4982
4989
|
var e = this;
|
|
4983
4990
|
this.version = "3.7.6", this.name = "nicescroll", this.me = C;
|
|
4984
|
-
var J =
|
|
4991
|
+
var J = N("body"), g = this.opt = {
|
|
4985
4992
|
doc: J,
|
|
4986
4993
|
win: !1
|
|
4987
4994
|
};
|
|
4988
|
-
if (
|
|
4995
|
+
if (N.extend(g, At), g.snapbackspeed = 80, X)
|
|
4989
4996
|
for (var We in g)
|
|
4990
|
-
|
|
4997
|
+
X[We] !== void 0 && (g[We] = X[We]);
|
|
4991
4998
|
if (g.disablemutationobserver && (ee = !1), this.doc = g.doc, this.iddoc = this.doc && this.doc[0] && this.doc[0].id || "", this.ispage = /^BODY|HTML/.test(g.win ? g.win[0].nodeName : this.doc[0].nodeName), this.haswrapper = g.win !== !1, this.win = g.win || (this.ispage ? ke : this.doc), this.docscroll = this.ispage && !this.haswrapper ? ke : this.win, this.body = J, this.viewport = !1, this.isfixed = !1, this.iframe = !1, this.isiframe = this.doc[0].nodeName == "IFRAME" && this.win[0].nodeName == "IFRAME", this.istextarea = this.win[0].nodeName == "TEXTAREA", this.forcescreen = !1, this.canshowonmouseevent = g.autohidemode != "scroll", this.onmousedown = !1, this.onmouseup = !1, this.onmousemove = !1, this.onmousewheel = !1, this.onkeypress = !1, this.ongesturezoom = !1, this.onclick = !1, this.onscrollstart = !1, this.onscrollend = !1, this.onscrollcancel = !1, this.onzoomin = !1, this.onzoomout = !1, this.view = !1, this.page = !1, this.scroll = {
|
|
4992
4999
|
x: 0,
|
|
4993
5000
|
y: 0
|
|
@@ -4995,7 +5002,7 @@ var Ys = { exports: {} };
|
|
|
4995
5002
|
x: 0,
|
|
4996
5003
|
y: 0
|
|
4997
5004
|
}, this.cursorheight = 20, this.scrollvaluemax = 0, g.rtlmode == "auto") {
|
|
4998
|
-
var ye = this.win[0] ==
|
|
5005
|
+
var ye = this.win[0] == $ ? this.body : this.win, fe = ye.css("writing-mode") || ye.css("-webkit-writing-mode") || ye.css("-ms-writing-mode") || ye.css("-moz-writing-mode");
|
|
4999
5006
|
fe == "horizontal-tb" || fe == "lr-tb" || fe === "" ? (this.isrtlmode = ye.css("direction") == "rtl", this.isvertical = !1) : (this.isrtlmode = fe == "vertical-rl" || fe == "tb" || fe == "tb-rl" || fe == "rl-tb", this.isvertical = fe == "vertical-rl" || fe == "tb" || fe == "tb-rl");
|
|
5000
5007
|
} else
|
|
5001
5008
|
this.isrtlmode = g.rtlmode === !0, this.isvertical = !1;
|
|
@@ -5006,7 +5013,7 @@ var Ys = { exports: {} };
|
|
|
5006
5013
|
this.id = "ascrail" + O++;
|
|
5007
5014
|
while (B.getElementById(this.id));
|
|
5008
5015
|
this.rail = !1, this.cursor = !1, this.cursorfreezed = !1, this.selectiondrag = !1, this.zoom = !1, this.zoomactive = !1, this.hasfocus = !1, this.hasmousefocus = !1, this.railslocked = !1, this.locked = !1, this.hidden = !1, this.cursoractive = !0, this.wheelprevented = !1, this.overflowx = g.overflowx, this.overflowy = g.overflowy, this.nativescrollingarea = !1, this.checkarea = 0, this.events = [], this.saved = {}, this.delaylist = {}, this.synclist = {}, this.lastdeltax = 0, this.lastdeltay = 0, this.detected = Ot();
|
|
5009
|
-
var P =
|
|
5016
|
+
var P = N.extend({}, this.detected);
|
|
5010
5017
|
this.canhwscroll = P.hastransform && g.hwacceleration, this.ishwscroll = this.canhwscroll && e.haswrapper, this.isrtlmode ? this.isvertical ? this.hasreversehr = !(P.iswebkit || P.isie || P.isie11) : this.hasreversehr = !(P.iswebkit || P.isie && !P.isie10 && !P.isie11) : this.hasreversehr = !1, this.istouchcapable = !1, !P.cantouch && (P.hasw3ctouch || P.hasmstouch) ? this.istouchcapable = !0 : P.cantouch && !P.isios && !P.isandroid && (P.iswebkit || P.ismozilla) && (this.istouchcapable = !0), g.enablemouselockapi || (P.hasmousecapture = !1, P.haspointerlock = !1), this.debounced = function(f, m, L) {
|
|
5011
5018
|
if (e) {
|
|
5012
5019
|
var H = e.delaylist[f] || !1;
|
|
@@ -5080,7 +5087,7 @@ var Ys = { exports: {} };
|
|
|
5080
5087
|
return e.doc.translate.x;
|
|
5081
5088
|
}, this.notifyScrollEvent = function(f) {
|
|
5082
5089
|
var m = B.createEvent("UIEvents");
|
|
5083
|
-
m.initUIEvent("scroll", !1, !1,
|
|
5090
|
+
m.initUIEvent("scroll", !1, !1, $, 1), m.niceevent = !0, f.dispatchEvent(m);
|
|
5084
5091
|
};
|
|
5085
5092
|
var xt = this.isrtlmode ? 1 : -1;
|
|
5086
5093
|
P.hastranslate3d && g.enabletranslate3d ? (this.setScrollTop = function(f, m) {
|
|
@@ -5141,8 +5148,8 @@ var Ys = { exports: {} };
|
|
|
5141
5148
|
}
|
|
5142
5149
|
this.getDocumentScrollOffset = function() {
|
|
5143
5150
|
return {
|
|
5144
|
-
top:
|
|
5145
|
-
left:
|
|
5151
|
+
top: $.pageYOffset || B.documentElement.scrollTop,
|
|
5152
|
+
left: $.pageXOffset || B.documentElement.scrollLeft
|
|
5146
5153
|
};
|
|
5147
5154
|
}, this.getOffset = function() {
|
|
5148
5155
|
if (e.isfixed) {
|
|
@@ -5192,16 +5199,16 @@ var Ys = { exports: {} };
|
|
|
5192
5199
|
}, this.doRailClick = function(f, m, L) {
|
|
5193
5200
|
var H, W, _, le;
|
|
5194
5201
|
e.railslocked || (e.cancelEvent(f), "pageY" in f || (f.pageX = f.clientX + B.documentElement.scrollLeft, f.pageY = f.clientY + B.documentElement.scrollTop), m ? (H = L ? e.doScrollLeft : e.doScrollTop, _ = L ? (f.pageX - e.railh.offset().left - e.cursorwidth / 2) * e.scrollratio.x : (f.pageY - e.rail.offset().top - e.cursorheight / 2) * e.scrollratio.y, e.unsynched("relativexy"), H(_ | 0)) : (H = L ? e.doScrollLeftBy : e.doScrollBy, _ = L ? e.scroll.x : e.scroll.y, le = L ? f.pageX - e.railh.offset().left : f.pageY - e.rail.offset().top, W = L ? e.view.w : e.view.h, H(_ >= le ? W : -W)));
|
|
5195
|
-
}, e.newscrolly = e.newscrollx = 0, e.hasanimationframe = "requestAnimationFrame" in
|
|
5202
|
+
}, e.newscrolly = e.newscrollx = 0, e.hasanimationframe = "requestAnimationFrame" in $, e.hascancelanimationframe = "cancelAnimationFrame" in $, e.hasborderbox = !1, this.init = function() {
|
|
5196
5203
|
if (e.saved.css = [], P.isoperamini || P.isandroid && !("hidden" in B)) return !0;
|
|
5197
|
-
g.emulatetouch = g.emulatetouch || g.touchbehavior, e.hasborderbox =
|
|
5204
|
+
g.emulatetouch = g.emulatetouch || g.touchbehavior, e.hasborderbox = $.getComputedStyle && $.getComputedStyle(B.body)["box-sizing"] === "border-box";
|
|
5198
5205
|
var f = { "overflow-y": "hidden" };
|
|
5199
|
-
if ((P.isie11 || P.isie10) && (f["-ms-overflow-style"] = "none"), e.ishwscroll && (this.doc.css(P.transitionstyle, P.prefixstyle + "transform 0ms ease-out"), P.transitionend && e.bind(e.doc, P.transitionend, e.onScrollTransitionEnd, !1)), e.zindex = "auto", !e.ispage && g.zindex == "auto" ? e.zindex = Tt() || "auto" : e.zindex = g.zindex, !e.ispage && e.zindex != "auto" && e.zindex >
|
|
5206
|
+
if ((P.isie11 || P.isie10) && (f["-ms-overflow-style"] = "none"), e.ishwscroll && (this.doc.css(P.transitionstyle, P.prefixstyle + "transform 0ms ease-out"), P.transitionend && e.bind(e.doc, P.transitionend, e.onScrollTransitionEnd, !1)), e.zindex = "auto", !e.ispage && g.zindex == "auto" ? e.zindex = Tt() || "auto" : e.zindex = g.zindex, !e.ispage && e.zindex != "auto" && e.zindex > M && (M = e.zindex), e.isie && e.zindex === 0 && g.zindex == "auto" && (e.zindex = "auto"), !e.ispage || !P.isieold) {
|
|
5200
5207
|
var m = e.docscroll;
|
|
5201
|
-
e.ispage && (m = e.haswrapper ? e.win : e.doc), e.css(m, f), e.ispage && (P.isie11 || P.isie) && e.css(
|
|
5208
|
+
e.ispage && (m = e.haswrapper ? e.win : e.doc), e.css(m, f), e.ispage && (P.isie11 || P.isie) && e.css(N("html"), f), P.isios && !e.ispage && !e.haswrapper && e.css(J, {
|
|
5202
5209
|
"-webkit-overflow-scrolling": "touch"
|
|
5203
5210
|
});
|
|
5204
|
-
var L =
|
|
5211
|
+
var L = N(B.createElement("div"));
|
|
5205
5212
|
L.css({
|
|
5206
5213
|
position: "relative",
|
|
5207
5214
|
top: 0,
|
|
@@ -5215,7 +5222,7 @@ var Ys = { exports: {} };
|
|
|
5215
5222
|
"-moz-border-radius": g.cursorborderradius,
|
|
5216
5223
|
"border-radius": g.cursorborderradius
|
|
5217
5224
|
}), L.addClass("nicescroll-cursors"), e.cursor = L;
|
|
5218
|
-
var H =
|
|
5225
|
+
var H = N(B.createElement("div"));
|
|
5219
5226
|
H.attr("id", e.id), H.addClass("nicescroll-rails nicescroll-rails-vr");
|
|
5220
5227
|
var W, _, le = ["left", "right", "top", "bottom"];
|
|
5221
5228
|
for (var be in le)
|
|
@@ -5231,7 +5238,7 @@ var Ys = { exports: {} };
|
|
|
5231
5238
|
e.zoom.css("opacity", g.cursoropacitymax);
|
|
5232
5239
|
}), e.bind(Ae, "mouseleave", function() {
|
|
5233
5240
|
e.zoom.css("opacity", g.cursoropacitymin);
|
|
5234
|
-
}), e.zoom =
|
|
5241
|
+
}), e.zoom = N(Ae), e.zoom.css({
|
|
5235
5242
|
cursor: "pointer",
|
|
5236
5243
|
zIndex: e.zindex,
|
|
5237
5244
|
backgroundImage: "url(" + g.scriptpath + "zoomico.png)",
|
|
@@ -5244,7 +5251,7 @@ var Ys = { exports: {} };
|
|
|
5244
5251
|
var ce;
|
|
5245
5252
|
if (g.horizrailenabled && (e.css(m, {
|
|
5246
5253
|
overflowX: "hidden"
|
|
5247
|
-
}), L =
|
|
5254
|
+
}), L = N(B.createElement("div")), L.css({
|
|
5248
5255
|
position: "absolute",
|
|
5249
5256
|
top: 0,
|
|
5250
5257
|
height: g.cursorwidth,
|
|
@@ -5255,7 +5262,7 @@ var Ys = { exports: {} };
|
|
|
5255
5262
|
"-webkit-border-radius": g.cursorborderradius,
|
|
5256
5263
|
"-moz-border-radius": g.cursorborderradius,
|
|
5257
5264
|
"border-radius": g.cursorborderradius
|
|
5258
|
-
}), P.isieold && L.css("overflow", "hidden"), L.addClass("nicescroll-cursors"), e.cursorh = L, ce =
|
|
5265
|
+
}), P.isieold && L.css("overflow", "hidden"), L.addClass("nicescroll-cursors"), e.cursorh = L, ce = N(B.createElement("div")), ce.attr("id", e.id + "-hr"), ce.addClass("nicescroll-rails nicescroll-rails-hr"), ce.height = Math.max(parseFloat(g.cursorwidth), L.outerHeight()), ce.css({
|
|
5259
5266
|
height: ce.height + "px",
|
|
5260
5267
|
zIndex: e.zindex,
|
|
5261
5268
|
background: g.background
|
|
@@ -5273,7 +5280,7 @@ var Ys = { exports: {} };
|
|
|
5273
5280
|
if (e.ishwscroll) {
|
|
5274
5281
|
e.win.css("position") == "static" && e.css(e.win, { position: "relative" });
|
|
5275
5282
|
var Ye = e.win[0].nodeName == "HTML" ? e.body : e.win;
|
|
5276
|
-
|
|
5283
|
+
N(Ye).scrollTop(0).scrollLeft(0), e.zoom && (e.zoom.css({
|
|
5277
5284
|
position: "absolute",
|
|
5278
5285
|
top: 1,
|
|
5279
5286
|
right: 0,
|
|
@@ -5308,7 +5315,7 @@ var Ys = { exports: {} };
|
|
|
5308
5315
|
opacity: g.cursoropacitymax
|
|
5309
5316
|
}), e.railh && e.railh.css({
|
|
5310
5317
|
opacity: g.cursoropacitymax
|
|
5311
|
-
})) : g.autohidemode === !0 || g.autohidemode === "leave" ? (e.autohidedom =
|
|
5318
|
+
})) : g.autohidemode === !0 || g.autohidemode === "leave" ? (e.autohidedom = N().add(e.rail), P.isie8 && (e.autohidedom = e.autohidedom.add(e.cursor)), e.railh && (e.autohidedom = e.autohidedom.add(e.railh)), e.railh && P.isie8 && (e.autohidedom = e.autohidedom.add(e.cursorh))) : g.autohidemode == "scroll" ? (e.autohidedom = N().add(e.rail), e.railh && (e.autohidedom = e.autohidedom.add(e.railh))) : g.autohidemode == "cursor" ? (e.autohidedom = N().add(e.cursor), e.railh && (e.autohidedom = e.autohidedom.add(e.cursorh))) : g.autohidemode == "hidden" && (e.autohidedom = !1, e.hide(), e.railslocked = !1), P.cantouch || e.istouchcapable || g.emulatetouch || P.hasmstouch) {
|
|
5312
5319
|
e.scrollmom = new qt(e), e.ontouchstart = function(x) {
|
|
5313
5320
|
if (e.locked || x.pointerType && (x.pointerType === "mouse" || x.pointerType === x.MSPOINTER_TYPE_MOUSE)) return !1;
|
|
5314
5321
|
if (e.hasmoving = !1, e.scrollmom.timer && (e.triggerScrollEnd(), e.scrollmom.stop()), !e.railslocked) {
|
|
@@ -5354,7 +5361,7 @@ var Ys = { exports: {} };
|
|
|
5354
5361
|
if (e.hasmoving) return !1;
|
|
5355
5362
|
Z._onclick.call(this, mt);
|
|
5356
5363
|
}), e.cancelEvent(x)) : e.stopPropagation(x);
|
|
5357
|
-
/SUBMIT|CANCEL|BUTTON/i.test(
|
|
5364
|
+
/SUBMIT|CANCEL|BUTTON/i.test(N(Z).attr("type")) && (e.preventclick = {
|
|
5358
5365
|
tg: Z,
|
|
5359
5366
|
click: !1
|
|
5360
5367
|
});
|
|
@@ -5512,11 +5519,11 @@ var Ys = { exports: {} };
|
|
|
5512
5519
|
}, 250);
|
|
5513
5520
|
};
|
|
5514
5521
|
}
|
|
5515
|
-
if (P.hasw3ctouch ? (e.css(e.ispage ?
|
|
5522
|
+
if (P.hasw3ctouch ? (e.css(e.ispage ? N("html") : e.win, { "touch-action": "none" }), e.css(e.rail, {
|
|
5516
5523
|
"touch-action": "none"
|
|
5517
5524
|
}), e.css(e.cursor, {
|
|
5518
5525
|
"touch-action": "none"
|
|
5519
|
-
}), e.bind(e.win, "pointerdown", e.ontouchstart), e.bind(B, "pointerup", e.ontouchend), e.delegate(B, "pointermove", e.ontouchmove)) : P.hasmstouch ? (e.css(e.ispage ?
|
|
5526
|
+
}), e.bind(e.win, "pointerdown", e.ontouchstart), e.bind(B, "pointerup", e.ontouchend), e.delegate(B, "pointermove", e.ontouchmove)) : P.hasmstouch ? (e.css(e.ispage ? N("html") : e.win, { "-ms-touch-action": "none" }), e.css(e.rail, {
|
|
5520
5527
|
"-ms-touch-action": "none"
|
|
5521
5528
|
}), e.css(e.cursor, {
|
|
5522
5529
|
"-ms-touch-action": "none"
|
|
@@ -5580,13 +5587,13 @@ var Ys = { exports: {} };
|
|
|
5580
5587
|
T = !1, e.hasmousefocus = !1, e.rail.drag || e.hideCursor();
|
|
5581
5588
|
})), e.onkeypress = function(x) {
|
|
5582
5589
|
if (e.railslocked && e.page.maxh === 0) return !0;
|
|
5583
|
-
x = x ||
|
|
5590
|
+
x = x || $.event;
|
|
5584
5591
|
var Z = e.getTarget(x);
|
|
5585
5592
|
if (Z && /INPUT|TEXTAREA|SELECT|OPTION/.test(Z.nodeName)) {
|
|
5586
5593
|
var ge = Z.getAttribute("type") || Z.type || !1;
|
|
5587
5594
|
if (!ge || !/submit|button|cancel/i.tp) return !0;
|
|
5588
5595
|
}
|
|
5589
|
-
if (
|
|
5596
|
+
if (N(Z).attr("contenteditable")) return !0;
|
|
5590
5597
|
if (e.hasfocus || e.hasmousefocus && !p || e.ispage && !p && !T) {
|
|
5591
5598
|
var Ue = x.keyCode;
|
|
5592
5599
|
if (e.railslocked && Ue != 27) return e.cancelEvent(x);
|
|
@@ -5639,9 +5646,9 @@ var Ys = { exports: {} };
|
|
|
5639
5646
|
}), e.bind(B, "keyup", function(x) {
|
|
5640
5647
|
var Z = x.ctrlKey || !1;
|
|
5641
5648
|
Z || (e.wheelprevented = !1);
|
|
5642
|
-
}), e.bind(
|
|
5649
|
+
}), e.bind($, "blur", function(x) {
|
|
5643
5650
|
e.wheelprevented = !1;
|
|
5644
|
-
}), e.bind(
|
|
5651
|
+
}), e.bind($, "resize", e.onscreenresize), e.bind($, "orientationchange", e.onscreenresize), e.bind($, "load", e.lazyResize), P.ischrome && !e.ispage && !e.haswrapper) {
|
|
5645
5652
|
var Si = e.win.attr("style"), Je = parseFloat(e.win.css("width")) + 1;
|
|
5646
5653
|
e.win.css("width", Je), e.synched("chromefix", function() {
|
|
5647
5654
|
e.win.attr("style", Si);
|
|
@@ -5652,7 +5659,7 @@ var Ys = { exports: {} };
|
|
|
5652
5659
|
}, g.enableobserver && (!e.isie11 && ee !== !1 && (e.observerbody = new ee(function(x) {
|
|
5653
5660
|
if (x.forEach(function(Z) {
|
|
5654
5661
|
if (Z.type == "attributes")
|
|
5655
|
-
return J.hasClass("modal-open") && J.hasClass("modal-dialog") && !
|
|
5662
|
+
return J.hasClass("modal-open") && J.hasClass("modal-dialog") && !N.contains(N(".modal-dialog")[0], e.doc[0]) ? e.hide() : e.show();
|
|
5656
5663
|
}), e.me.clientWidth != e.page.width || e.me.clientHeight != e.page.height) return e.lazyResize(30);
|
|
5657
5664
|
}), e.observerbody.observe(B.body, {
|
|
5658
5665
|
childList: !0,
|
|
@@ -5685,7 +5692,7 @@ var Ys = { exports: {} };
|
|
|
5685
5692
|
x.target === Le && e.remove();
|
|
5686
5693
|
}));
|
|
5687
5694
|
}
|
|
5688
|
-
!e.ispage && g.boxzoom && e.bind(
|
|
5695
|
+
!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);
|
|
5689
5696
|
}
|
|
5690
5697
|
if (this.doc[0].nodeName == "IFRAME") {
|
|
5691
5698
|
var Kt = function() {
|
|
@@ -5698,9 +5705,9 @@ var Ys = { exports: {} };
|
|
|
5698
5705
|
e.iframexd = !0, x = !1;
|
|
5699
5706
|
}
|
|
5700
5707
|
if (e.iframexd)
|
|
5701
|
-
return "console" in
|
|
5708
|
+
return "console" in $ && console.log("NiceScroll error: policy restriced iframe"), !0;
|
|
5702
5709
|
if (e.forcescreen = !0, e.isiframe && (e.iframe = {
|
|
5703
|
-
doc:
|
|
5710
|
+
doc: N(x),
|
|
5704
5711
|
html: e.doc.contents().find("html")[0],
|
|
5705
5712
|
body: e.doc.contents().find("body")[0]
|
|
5706
5713
|
}, e.getContentSize = function() {
|
|
@@ -5708,16 +5715,16 @@ var Ys = { exports: {} };
|
|
|
5708
5715
|
w: Math.max(e.iframe.html.scrollWidth, e.iframe.body.scrollWidth),
|
|
5709
5716
|
h: Math.max(e.iframe.html.scrollHeight, e.iframe.body.scrollHeight)
|
|
5710
5717
|
};
|
|
5711
|
-
}, e.docscroll =
|
|
5718
|
+
}, e.docscroll = N(e.iframe.body)), !P.isios && g.iframeautoresize && !e.isiframe) {
|
|
5712
5719
|
e.win.scrollTop(0), e.doc.height("");
|
|
5713
5720
|
var ge = Math.max(x.getElementsByTagName("html")[0].scrollHeight, x.body.scrollHeight);
|
|
5714
5721
|
e.doc.height(ge);
|
|
5715
5722
|
}
|
|
5716
|
-
e.lazyResize(30), e.css(
|
|
5723
|
+
e.lazyResize(30), e.css(N(e.iframe.body), f), P.isios && e.haswrapper && e.css(N(x.body), {
|
|
5717
5724
|
"-webkit-transform": "translate3d(0,0,0)"
|
|
5718
5725
|
}), "contentWindow" in this ? e.bind(this.contentWindow, "scroll", e.onscroll) : e.bind(x, "scroll", e.onscroll), g.enablemousewheel && e.mousewheel(x, e.onmousewheel), g.enablekeyboard && e.bind(x, P.isopera ? "keypress" : "keydown", e.onkeypress), P.cantouch ? (e.bind(x, "touchstart", e.ontouchstart), e.bind(x, "touchmove", e.ontouchmove)) : g.emulatetouch && (e.bind(x, "mousedown", e.ontouchstart), e.bind(x, "mousemove", function(Ue) {
|
|
5719
5726
|
return e.ontouchmove(Ue, !0);
|
|
5720
|
-
}), g.grabcursorenabled && P.cursorgrabvalue && e.css(
|
|
5727
|
+
}), g.grabcursorenabled && P.cursorgrabvalue && e.css(N(x.body), {
|
|
5721
5728
|
cursor: P.cursorgrabvalue
|
|
5722
5729
|
})), e.bind(x, "mouseup", e.ontouchend), e.zoom && (g.dblclickzoom && e.bind(x, "dblclick", e.doZoom), e.ongesturezoom && e.bind(x, "gestureend", e.ongesturezoom));
|
|
5723
5730
|
};
|
|
@@ -5805,9 +5812,9 @@ var Ys = { exports: {} };
|
|
|
5805
5812
|
e && e.resize(), Pe = 0;
|
|
5806
5813
|
}, f), e;
|
|
5807
5814
|
};
|
|
5808
|
-
function
|
|
5815
|
+
function Xe(f, m, L, H) {
|
|
5809
5816
|
e._bind(f, m, function(W) {
|
|
5810
|
-
W = W ||
|
|
5817
|
+
W = W || $.event;
|
|
5811
5818
|
var _ = {
|
|
5812
5819
|
original: W,
|
|
5813
5820
|
target: W.target || W.srcElement,
|
|
@@ -5831,14 +5838,14 @@ var Ys = { exports: {} };
|
|
|
5831
5838
|
n: m,
|
|
5832
5839
|
f: L,
|
|
5833
5840
|
q: !0
|
|
5834
|
-
}),
|
|
5841
|
+
}), N(f).on(m, L);
|
|
5835
5842
|
}, this.mousewheel = function(f, m, L) {
|
|
5836
5843
|
var H = "jquery" in f ? f[0] : f;
|
|
5837
5844
|
if ("onwheel" in B.createElement("div"))
|
|
5838
5845
|
e._bind(H, "wheel", m, L || !1);
|
|
5839
5846
|
else {
|
|
5840
5847
|
var W = B.onmousewheel !== void 0 ? "mousewheel" : "DOMMouseScroll";
|
|
5841
|
-
|
|
5848
|
+
Xe(H, W, m, L || !1), W == "DOMMouseScroll" && Xe(H, "MozMousePixelScroll", m, L || !1);
|
|
5842
5849
|
}
|
|
5843
5850
|
};
|
|
5844
5851
|
var Lt = !1;
|
|
@@ -5847,7 +5854,7 @@ var Ys = { exports: {} };
|
|
|
5847
5854
|
var Qi = Object.defineProperty({}, "passive", { get: function() {
|
|
5848
5855
|
Lt = !0;
|
|
5849
5856
|
} });
|
|
5850
|
-
|
|
5857
|
+
$.addEventListener("test", null, Qi);
|
|
5851
5858
|
} catch {
|
|
5852
5859
|
}
|
|
5853
5860
|
this.stopPropagation = function(f) {
|
|
@@ -5860,14 +5867,14 @@ var Ys = { exports: {} };
|
|
|
5860
5867
|
this.returnValue = !1;
|
|
5861
5868
|
}, Event.prototype.stopPropagation = function() {
|
|
5862
5869
|
this.cancelBubble = !0;
|
|
5863
|
-
},
|
|
5870
|
+
}, $.constructor.prototype.addEventListener = B.constructor.prototype.addEventListener = Element.prototype.addEventListener = function(f, m, L) {
|
|
5864
5871
|
this.attachEvent("on" + f, m);
|
|
5865
|
-
},
|
|
5872
|
+
}, $.constructor.prototype.removeEventListener = B.constructor.prototype.removeEventListener = Element.prototype.removeEventListener = function(f, m, L) {
|
|
5866
5873
|
this.detachEvent("on" + f, m);
|
|
5867
5874
|
}, this.cancelEvent = function(f) {
|
|
5868
|
-
return f = f ||
|
|
5875
|
+
return f = f || $.event, f && (f.cancelBubble = !0, f.cancel = !0, f.returnValue = !1), !1;
|
|
5869
5876
|
}, this.stopPropagation = function(f) {
|
|
5870
|
-
return f = f ||
|
|
5877
|
+
return f = f || $.event, f && (f.cancelBubble = !0), !1;
|
|
5871
5878
|
};
|
|
5872
5879
|
this.delegate = function(f, m, L, H, W) {
|
|
5873
5880
|
var _ = oe[m] || !1;
|
|
@@ -5930,7 +5937,7 @@ var Ys = { exports: {} };
|
|
|
5930
5937
|
L[0].css(L[1], L[2] === void 0 ? "" : L[2]);
|
|
5931
5938
|
}
|
|
5932
5939
|
e.saved = !1, e.me.data("__nicescroll", "");
|
|
5933
|
-
var H =
|
|
5940
|
+
var H = N.nicescroll;
|
|
5934
5941
|
H.each(function(_) {
|
|
5935
5942
|
if (this && this.id === e.id) {
|
|
5936
5943
|
delete H[_];
|
|
@@ -5955,14 +5962,14 @@ var Ys = { exports: {} };
|
|
|
5955
5962
|
var m = f.target ? f.target : f;
|
|
5956
5963
|
if (m.nodeName == "OPTION") return !0;
|
|
5957
5964
|
for (; m && m.nodeType == 1 && m !== this.me[0] && !/^BODY|HTML/.test(m.nodeName); ) {
|
|
5958
|
-
var L =
|
|
5965
|
+
var L = N(m), H = L.css("overflowY") || L.css("overflowX") || L.css("overflow") || "";
|
|
5959
5966
|
if (/scroll|auto/.test(H)) return m.clientHeight != m.scrollHeight;
|
|
5960
5967
|
m = m.parentNode ? m.parentNode : !1;
|
|
5961
5968
|
}
|
|
5962
5969
|
return !1;
|
|
5963
5970
|
}, this.getViewport = function(f) {
|
|
5964
5971
|
for (var m = f && f.parentNode ? f.parentNode : !1; m && m.nodeType == 1 && !/^BODY|HTML/.test(m.nodeName); ) {
|
|
5965
|
-
var L =
|
|
5972
|
+
var L = N(m);
|
|
5966
5973
|
if (/fixed|absolute/.test(L.css("position"))) return L;
|
|
5967
5974
|
var H = L.css("overflowY") || L.css("overflowX") || L.css("overflow") || "";
|
|
5968
5975
|
if (/scroll|auto/.test(H) && m.clientHeight != m.scrollHeight || L.getNiceScroll().length > 0) return L;
|
|
@@ -6198,14 +6205,14 @@ var Ys = { exports: {} };
|
|
|
6198
6205
|
position: P.isios4 ? "absolute" : "fixed",
|
|
6199
6206
|
top: 0,
|
|
6200
6207
|
left: 0,
|
|
6201
|
-
zIndex:
|
|
6208
|
+
zIndex: M + 100,
|
|
6202
6209
|
margin: 0
|
|
6203
6210
|
});
|
|
6204
6211
|
var _ = e.win.css("backgroundColor");
|
|
6205
6212
|
return (_ === "" || /transparent|rgba\(0, 0, 0, 0\)|rgba\(0,0,0,0\)/.test(_)) && e.win.css("backgroundColor", "#fff"), e.rail.css({
|
|
6206
|
-
zIndex:
|
|
6213
|
+
zIndex: M + 101
|
|
6207
6214
|
}), e.zoom.css({
|
|
6208
|
-
zIndex:
|
|
6215
|
+
zIndex: M + 102
|
|
6209
6216
|
}), e.zoom.css("backgroundPosition", "0 -18px"), e.resizeZoom(), e.onzoomin && e.onzoomin.call(e), e.cancelEvent(f);
|
|
6210
6217
|
}
|
|
6211
6218
|
}, this.doZoomOut = function(f) {
|
|
@@ -6225,10 +6232,10 @@ var Ys = { exports: {} };
|
|
|
6225
6232
|
height: ke.height() - e.zoomrestore.padding.h + "px"
|
|
6226
6233
|
}), e.onResize(), e.setScrollTop(Math.min(e.page.maxh, f));
|
|
6227
6234
|
}
|
|
6228
|
-
}, this.init(),
|
|
6229
|
-
}, qt = function(
|
|
6235
|
+
}, this.init(), N.nicescroll.push(this);
|
|
6236
|
+
}, qt = function(X) {
|
|
6230
6237
|
var C = this;
|
|
6231
|
-
this.nc =
|
|
6238
|
+
this.nc = X, this.lastx = 0, this.lasty = 0, this.speedx = 0, this.speedy = 0, this.lasttime = 0, this.steptime = 0, this.snapx = !1, this.snapy = !1, this.demulx = 0, this.demuly = 0, this.lastscrollx = -1, this.lastscrolly = -1, this.chkx = 0, this.chky = 0, this.timer = 0, this.reset = function(e, J) {
|
|
6232
6239
|
C.stop(), C.steptime = 0, C.lasttime = pe(), C.speedx = 0, C.speedy = 0, C.lastx = e, C.lasty = J, C.lastscrollx = -1, C.lastscrolly = -1;
|
|
6233
6240
|
}, this.update = function(e, J) {
|
|
6234
6241
|
var g = pe();
|
|
@@ -6253,110 +6260,110 @@ var Ys = { exports: {} };
|
|
|
6253
6260
|
C.speedx *= Zt, C.speedy *= Zt, Tt = 50;
|
|
6254
6261
|
}
|
|
6255
6262
|
C.demulxy = 0, C.lastscrollx = C.nc.getScrollLeft(), C.chkx = C.lastscrollx, C.lastscrolly = C.nc.getScrollTop(), C.chky = C.lastscrolly;
|
|
6256
|
-
var Ie = C.lastscrollx, Pe = C.lastscrolly,
|
|
6263
|
+
var Ie = C.lastscrollx, Pe = C.lastscrolly, Xe = function() {
|
|
6257
6264
|
var Lt = pe() - J > 600 ? 0.04 : 0.02;
|
|
6258
6265
|
C.speedx && (Ie = Math.floor(C.lastscrollx - C.speedx * (1 - C.demulxy)), C.lastscrollx = Ie, (Ie < 0 || Ie > P) && (Lt = 0.1)), C.speedy && (Pe = Math.floor(C.lastscrolly - C.speedy * (1 - C.demulxy)), C.lastscrolly = Pe, (Pe < 0 || Pe > fe) && (Lt = 0.1)), C.demulxy = Math.min(1, C.demulxy + Lt), C.nc.synched("domomentum2d", function() {
|
|
6259
6266
|
C.speedx && (C.nc.getScrollLeft(), C.chkx = Ie, C.nc.setScrollLeft(Ie)), C.speedy && (C.nc.getScrollTop(), C.chky = Pe, C.nc.setScrollTop(Pe)), C.timer || (C.nc.hideCursor(), C.doSnapy(Ie, Pe));
|
|
6260
|
-
}), C.demulxy < 1 ? C.timer = setTimeout(
|
|
6267
|
+
}), C.demulxy < 1 ? C.timer = setTimeout(Xe, Tt) : (C.stop(), C.nc.hideCursor(), C.doSnapy(Ie, Pe));
|
|
6261
6268
|
};
|
|
6262
|
-
|
|
6269
|
+
Xe();
|
|
6263
6270
|
} else
|
|
6264
6271
|
C.doSnapy(C.nc.getScrollLeft(), C.nc.getScrollTop());
|
|
6265
6272
|
};
|
|
6266
|
-
},
|
|
6273
|
+
}, $e = h.fn.scrollTop;
|
|
6267
6274
|
h.cssHooks.pageYOffset = {
|
|
6268
|
-
get: function(
|
|
6269
|
-
var J =
|
|
6270
|
-
return J && J.ishwscroll ? J.getScrollTop() :
|
|
6275
|
+
get: function(X, C, e) {
|
|
6276
|
+
var J = N.data(X, "__nicescroll") || !1;
|
|
6277
|
+
return J && J.ishwscroll ? J.getScrollTop() : $e.call(X);
|
|
6271
6278
|
},
|
|
6272
|
-
set: function(
|
|
6273
|
-
var e =
|
|
6274
|
-
return e && e.ishwscroll ? e.setScrollTop(parseInt(C)) :
|
|
6279
|
+
set: function(X, C) {
|
|
6280
|
+
var e = N.data(X, "__nicescroll") || !1;
|
|
6281
|
+
return e && e.ishwscroll ? e.setScrollTop(parseInt(C)) : $e.call(X, C), this;
|
|
6275
6282
|
}
|
|
6276
|
-
}, h.fn.scrollTop = function(
|
|
6277
|
-
if (
|
|
6278
|
-
var C = this[0] &&
|
|
6279
|
-
return C && C.ishwscroll ? C.getScrollTop() :
|
|
6283
|
+
}, h.fn.scrollTop = function(X) {
|
|
6284
|
+
if (X === void 0) {
|
|
6285
|
+
var C = this[0] && N.data(this[0], "__nicescroll") || !1;
|
|
6286
|
+
return C && C.ishwscroll ? C.getScrollTop() : $e.call(this);
|
|
6280
6287
|
} else
|
|
6281
6288
|
return this.each(function() {
|
|
6282
|
-
var e =
|
|
6283
|
-
e && e.ishwscroll ? e.setScrollTop(parseInt(
|
|
6289
|
+
var e = N.data(this, "__nicescroll") || !1;
|
|
6290
|
+
e && e.ishwscroll ? e.setScrollTop(parseInt(X)) : $e.call(N(this), X);
|
|
6284
6291
|
});
|
|
6285
6292
|
};
|
|
6286
6293
|
var rt = h.fn.scrollLeft;
|
|
6287
|
-
|
|
6288
|
-
get: function(
|
|
6289
|
-
var J =
|
|
6290
|
-
return J && J.ishwscroll ? J.getScrollLeft() : rt.call(
|
|
6294
|
+
N.cssHooks.pageXOffset = {
|
|
6295
|
+
get: function(X, C, e) {
|
|
6296
|
+
var J = N.data(X, "__nicescroll") || !1;
|
|
6297
|
+
return J && J.ishwscroll ? J.getScrollLeft() : rt.call(X);
|
|
6291
6298
|
},
|
|
6292
|
-
set: function(
|
|
6293
|
-
var e =
|
|
6294
|
-
return e && e.ishwscroll ? e.setScrollLeft(parseInt(C)) : rt.call(
|
|
6299
|
+
set: function(X, C) {
|
|
6300
|
+
var e = N.data(X, "__nicescroll") || !1;
|
|
6301
|
+
return e && e.ishwscroll ? e.setScrollLeft(parseInt(C)) : rt.call(X, C), this;
|
|
6295
6302
|
}
|
|
6296
|
-
}, h.fn.scrollLeft = function(
|
|
6297
|
-
if (
|
|
6298
|
-
var C = this[0] &&
|
|
6303
|
+
}, h.fn.scrollLeft = function(X) {
|
|
6304
|
+
if (X === void 0) {
|
|
6305
|
+
var C = this[0] && N.data(this[0], "__nicescroll") || !1;
|
|
6299
6306
|
return C && C.ishwscroll ? C.getScrollLeft() : rt.call(this);
|
|
6300
6307
|
} else
|
|
6301
6308
|
return this.each(function() {
|
|
6302
|
-
var e =
|
|
6303
|
-
e && e.ishwscroll ? e.setScrollLeft(parseInt(
|
|
6309
|
+
var e = N.data(this, "__nicescroll") || !1;
|
|
6310
|
+
e && e.ishwscroll ? e.setScrollLeft(parseInt(X)) : rt.call(N(this), X);
|
|
6304
6311
|
});
|
|
6305
6312
|
};
|
|
6306
|
-
var Rt = function(
|
|
6313
|
+
var Rt = function(X) {
|
|
6307
6314
|
var C = this;
|
|
6308
6315
|
if (this.length = 0, this.name = "nicescrollarray", this.each = function(g) {
|
|
6309
|
-
return
|
|
6316
|
+
return N.each(C, g), C;
|
|
6310
6317
|
}, this.push = function(g) {
|
|
6311
6318
|
C[C.length] = g, C.length++;
|
|
6312
6319
|
}, this.eq = function(g) {
|
|
6313
6320
|
return C[g];
|
|
6314
|
-
},
|
|
6315
|
-
for (var e = 0; e <
|
|
6316
|
-
var J =
|
|
6321
|
+
}, X)
|
|
6322
|
+
for (var e = 0; e < X.length; e++) {
|
|
6323
|
+
var J = N.data(X[e], "__nicescroll") || !1;
|
|
6317
6324
|
J && (this[this.length] = J, this.length++);
|
|
6318
6325
|
}
|
|
6319
6326
|
return this;
|
|
6320
6327
|
};
|
|
6321
|
-
function wi(
|
|
6322
|
-
for (var J = 0, g = C.length; J < g; J++) e(
|
|
6328
|
+
function wi(X, C, e) {
|
|
6329
|
+
for (var J = 0, g = C.length; J < g; J++) e(X, C[J]);
|
|
6323
6330
|
}
|
|
6324
6331
|
wi(
|
|
6325
6332
|
Rt.prototype,
|
|
6326
6333
|
["show", "hide", "toggle", "onResize", "resize", "remove", "stop", "doScrollPos"],
|
|
6327
|
-
function(
|
|
6328
|
-
|
|
6334
|
+
function(X, C) {
|
|
6335
|
+
X[C] = function() {
|
|
6329
6336
|
var e = arguments;
|
|
6330
6337
|
return this.each(function() {
|
|
6331
6338
|
this[C].apply(this, e);
|
|
6332
6339
|
});
|
|
6333
6340
|
};
|
|
6334
6341
|
}
|
|
6335
|
-
), h.fn.getNiceScroll = function(
|
|
6336
|
-
return
|
|
6342
|
+
), h.fn.getNiceScroll = function(X) {
|
|
6343
|
+
return X === void 0 ? new Rt(this) : this[X] && N.data(this[X], "__nicescroll") || !1;
|
|
6337
6344
|
};
|
|
6338
6345
|
var Ke = h.expr.pseudos || h.expr[":"];
|
|
6339
|
-
Ke.nicescroll = function(
|
|
6340
|
-
return
|
|
6341
|
-
},
|
|
6342
|
-
C === void 0 && typeof
|
|
6346
|
+
Ke.nicescroll = function(X) {
|
|
6347
|
+
return N.data(X, "__nicescroll") !== void 0;
|
|
6348
|
+
}, N.fn.niceScroll = function(X, C) {
|
|
6349
|
+
C === void 0 && typeof X == "object" && !("jquery" in X) && (C = X, X = !1);
|
|
6343
6350
|
var e = new Rt();
|
|
6344
6351
|
return this.each(function() {
|
|
6345
|
-
var J =
|
|
6346
|
-
if (
|
|
6347
|
-
var We =
|
|
6348
|
-
g.doc = We.length > 1 ?
|
|
6352
|
+
var J = N(this), g = N.extend({}, C);
|
|
6353
|
+
if (X) {
|
|
6354
|
+
var We = N(X);
|
|
6355
|
+
g.doc = We.length > 1 ? N(X, J) : We, g.win = J;
|
|
6349
6356
|
}
|
|
6350
6357
|
var ye = !("doc" in g);
|
|
6351
6358
|
!ye && !("win" in g) && (g.win = J);
|
|
6352
6359
|
var fe = J.data("__nicescroll") || !1;
|
|
6353
6360
|
fe || (g.doc = g.doc || J, fe = new o(g, J), J.data("__nicescroll", fe)), e.push(fe);
|
|
6354
6361
|
}), e.length === 1 ? e[0] : e;
|
|
6355
|
-
},
|
|
6362
|
+
}, $.NiceScroll = {
|
|
6356
6363
|
getjQuery: function() {
|
|
6357
6364
|
return h;
|
|
6358
6365
|
}
|
|
6359
|
-
},
|
|
6366
|
+
}, N.nicescroll || (N.nicescroll = new Rt(), N.nicescroll.options = At);
|
|
6360
6367
|
});
|
|
6361
6368
|
})(Ys);
|
|
6362
6369
|
const Wr = ".bloom-translationGroup:not(.bloom-imageDescription) .bloom-editable.bloom-visibility-code-on, .scrollable";
|
|
@@ -6366,11 +6373,11 @@ function ya(a, c) {
|
|
|
6366
6373
|
const h = Fn(a);
|
|
6367
6374
|
if ("IntersectionObserver" in window) {
|
|
6368
6375
|
let p = [], T = 0, k = 0;
|
|
6369
|
-
ri(a).find(Wr).each((O,
|
|
6370
|
-
const
|
|
6371
|
-
if (!
|
|
6376
|
+
ri(a).find(Wr).each((O, M) => {
|
|
6377
|
+
const N = M.firstElementChild, B = M.lastElementChild;
|
|
6378
|
+
if (!N || !B)
|
|
6372
6379
|
return;
|
|
6373
|
-
let
|
|
6380
|
+
let $ = 1;
|
|
6374
6381
|
const ke = document.querySelector(
|
|
6375
6382
|
"style#scale-style-sheet"
|
|
6376
6383
|
);
|
|
@@ -6378,38 +6385,38 @@ function ya(a, c) {
|
|
|
6378
6385
|
const Me = ke.innerHTML.match(
|
|
6379
6386
|
/transform:[a-z0-9, ()]* scale\((\d+(\.\d+)?)\)/
|
|
6380
6387
|
);
|
|
6381
|
-
Me && (
|
|
6388
|
+
Me && ($ = parseFloat(Me[1]));
|
|
6382
6389
|
} else {
|
|
6383
|
-
const Me =
|
|
6390
|
+
const Me = M.closest(
|
|
6384
6391
|
"#page-scaling-container"
|
|
6385
6392
|
);
|
|
6386
6393
|
if (Me) {
|
|
6387
6394
|
const ee = Me.style.transform;
|
|
6388
|
-
ee && ee.startsWith("scale(") && (
|
|
6395
|
+
ee && ee.startsWith("scale(") && ($ = parseFloat(
|
|
6389
6396
|
ee.substring(6, ee.length - 1)
|
|
6390
6397
|
));
|
|
6391
6398
|
}
|
|
6392
6399
|
}
|
|
6393
|
-
const { topAdjust: oe, leftAdjust: je, thumbWidth: ne } = po(
|
|
6400
|
+
const { topAdjust: oe, leftAdjust: je, thumbWidth: ne } = po($, M), Q = new IntersectionObserver(
|
|
6394
6401
|
(Me, ee) => {
|
|
6395
6402
|
Me.forEach((pe) => {
|
|
6396
6403
|
var Ot;
|
|
6397
6404
|
if (k++, ee.unobserve(pe.target), !pe.target.parentElement)
|
|
6398
6405
|
return;
|
|
6399
6406
|
const At = !!pe.target.closest(
|
|
6400
|
-
|
|
6407
|
+
Vi
|
|
6401
6408
|
);
|
|
6402
6409
|
let Ze = pe.intersectionRatio < 0.999;
|
|
6403
6410
|
if (Ze && At) {
|
|
6404
6411
|
let o = 0.6;
|
|
6405
6412
|
(pe.target != ((Ot = pe.target.parentElement) == null ? void 0 : Ot.firstElementChild) || pe.target != pe.target.parentElement.lastElementChild) && (o /= 2);
|
|
6406
|
-
const qt = (1 - pe.intersectionRatio) * pe.target.clientHeight,
|
|
6413
|
+
const qt = (1 - pe.intersectionRatio) * pe.target.clientHeight, $e = window.getComputedStyle(
|
|
6407
6414
|
pe.target
|
|
6408
6415
|
).lineHeight, rt = parseFloat(
|
|
6409
6416
|
// remove the trailing "px"
|
|
6410
|
-
|
|
6417
|
+
$e.substring(
|
|
6411
6418
|
0,
|
|
6412
|
-
|
|
6419
|
+
$e.length - 2
|
|
6413
6420
|
)
|
|
6414
6421
|
);
|
|
6415
6422
|
Ze = qt > rt * o;
|
|
@@ -6452,9 +6459,9 @@ function ya(a, c) {
|
|
|
6452
6459
|
), p = []);
|
|
6453
6460
|
});
|
|
6454
6461
|
},
|
|
6455
|
-
{ root:
|
|
6462
|
+
{ root: M }
|
|
6456
6463
|
);
|
|
6457
|
-
T++, Q.observe(
|
|
6464
|
+
T++, Q.observe(N), N !== B && (T++, Q.observe(B));
|
|
6458
6465
|
});
|
|
6459
6466
|
}
|
|
6460
6467
|
}
|
|
@@ -6475,15 +6482,15 @@ function po(a, c) {
|
|
|
6475
6482
|
if (!k || !k.classList.contains("bloom-translationGroup"))
|
|
6476
6483
|
return { topAdjust: h, leftAdjust: p, thumbWidth: T };
|
|
6477
6484
|
if (Us(c)) {
|
|
6478
|
-
const
|
|
6479
|
-
h = parseFloat(
|
|
6485
|
+
const M = window.getComputedStyle(k), N = M.getPropertyValue("padding-top") || "0", B = M.getPropertyValue("padding-left") || "0";
|
|
6486
|
+
h = parseFloat(N) * (a - 1), p = parseFloat(B) * (a - 1);
|
|
6480
6487
|
} else {
|
|
6481
|
-
const
|
|
6482
|
-
if (!
|
|
6488
|
+
const M = k.parentElement;
|
|
6489
|
+
if (!M)
|
|
6483
6490
|
return { topAdjust: h, leftAdjust: p, thumbWidth: T };
|
|
6484
6491
|
T = `${12 * a}px`;
|
|
6485
|
-
const
|
|
6486
|
-
h = -(
|
|
6492
|
+
const N = M == null ? void 0 : M.offsetTop, B = M.offsetLeft + M.offsetWidth;
|
|
6493
|
+
h = -(N * (a - 1)), p = -(B * (a - 1));
|
|
6487
6494
|
}
|
|
6488
6495
|
}
|
|
6489
6496
|
return { topAdjust: h, leftAdjust: p, thumbWidth: T };
|
|
@@ -6608,16 +6615,16 @@ const yt = class yt {
|
|
|
6608
6615
|
let p = c.firstElementChild, T = null;
|
|
6609
6616
|
if (!p || !p.classList.contains("bloom-animationBackground")) {
|
|
6610
6617
|
p = document.createElement("div");
|
|
6611
|
-
for (let
|
|
6618
|
+
for (let M = 0; M < this.animatableCanvas.classList.length; M++)
|
|
6612
6619
|
p.classList.add(
|
|
6613
|
-
this.animatableCanvas.classList[
|
|
6620
|
+
this.animatableCanvas.classList[M]
|
|
6614
6621
|
);
|
|
6615
6622
|
p.classList.add("bloom-animationBackground");
|
|
6616
6623
|
const k = this.animatableCanvas.cloneNode(
|
|
6617
6624
|
!0
|
|
6618
6625
|
), O = () => {
|
|
6619
|
-
const
|
|
6620
|
-
|
|
6626
|
+
const M = this.animatableCanvas.style.backgroundImage;
|
|
6627
|
+
M ? k.style.backgroundImage = M : requestAnimationFrame(O);
|
|
6621
6628
|
};
|
|
6622
6629
|
k.hasAttribute("data-imgsizebasedon") || requestAnimationFrame(O), T = document.createElement("div"), T.classList.add(yt.wrapperClassName), T.appendChild(k), T.style.visibility = "hidden", p.appendChild(T), c.insertBefore(p, c.firstChild), this.applyCanvasAspectRatioToAnimationWrapper(
|
|
6623
6630
|
c,
|
|
@@ -6681,11 +6688,11 @@ const yt = class yt {
|
|
|
6681
6688
|
c.getAttribute("data-aspectRatio")
|
|
6682
6689
|
), p = c.parentElement, T = p.clientWidth, k = p.clientHeight, O = T / k;
|
|
6683
6690
|
if (h < O) {
|
|
6684
|
-
const
|
|
6685
|
-
c.style.height = "100%", c.style.width = `${
|
|
6691
|
+
const M = k * h;
|
|
6692
|
+
c.style.height = "100%", c.style.width = `${M}px`, c.style.left = `${(T - M) / 2}px`;
|
|
6686
6693
|
} else {
|
|
6687
|
-
const
|
|
6688
|
-
c.style.width = "100%", c.style.height = `${
|
|
6694
|
+
const M = T / h;
|
|
6695
|
+
c.style.width = "100%", c.style.height = `${M}px`, c.style.top = `${(k - M) / 2}px`;
|
|
6689
6696
|
}
|
|
6690
6697
|
c.style.overflow = "hidden", c.style.visibility = "visible", this.placeCanvasByScale(
|
|
6691
6698
|
c,
|
|
@@ -6834,7 +6841,7 @@ export {
|
|
|
6834
6841
|
pa as isTheTextInDraggablesTheSame,
|
|
6835
6842
|
Wi as kAudioSentence,
|
|
6836
6843
|
cs as kHighlightSegmentClass,
|
|
6837
|
-
|
|
6844
|
+
Vi as kLegacyCanvasElementSelector,
|
|
6838
6845
|
Wr as kSelectorForPotentialNiceScrollElements,
|
|
6839
6846
|
Js as listenForPlayDuration,
|
|
6840
6847
|
Ln as logNarration,
|
|
@@ -6847,7 +6854,7 @@ export {
|
|
|
6847
6854
|
Or as playAllVideo,
|
|
6848
6855
|
da as playInitialElements,
|
|
6849
6856
|
sa as playNarration,
|
|
6850
|
-
|
|
6857
|
+
Vn as playSoundOf,
|
|
6851
6858
|
ua as prepareActivity,
|
|
6852
6859
|
us as setCurrentPage,
|
|
6853
6860
|
ii as setCurrentPlaybackMode,
|