officialblock 2.3.13 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index-CJzyefBk.mjs → index-BfSPFI87.mjs} +435 -430
- package/dist/index-BtAEY96c.mjs +4 -0
- package/dist/{index-DyuWTFEJ.mjs → index-C-0R8wn6.mjs} +1 -1
- package/dist/{index-Dj5P-ntl.js → index-C5iksA_c.js} +1 -1
- package/dist/{index-BYB3seou.js → index-MiUsIx72.js} +19 -19
- package/dist/{index-DxTURMhA.js → index-efva_vkg.js} +1 -1
- package/dist/official-block.cjs.js +1 -1
- package/dist/official-block.es.js +1 -1
- package/dist/official-block.umd.js +13 -13
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index-c_v1_-uP.mjs +0 -4
|
@@ -482,7 +482,7 @@ const _b = { class: "button-text" }, bb = { class: "link-text" }, wb = /* @__PUR
|
|
|
482
482
|
},
|
|
483
483
|
emits: ["update:show"],
|
|
484
484
|
setup(t, { emit: e }) {
|
|
485
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
485
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C-0R8wn6.mjs")), i = U(!1), a = q(() => ({
|
|
486
486
|
animation: 200,
|
|
487
487
|
group: "item",
|
|
488
488
|
disabled: !1,
|
|
@@ -3098,7 +3098,7 @@ const _b = { class: "button-text" }, bb = { class: "link-text" }, wb = /* @__PUR
|
|
|
3098
3098
|
},
|
|
3099
3099
|
emits: ["update:show"],
|
|
3100
3100
|
setup(t, { emit: e }) {
|
|
3101
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
3101
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C-0R8wn6.mjs")), i = U(!1), a = q(() => ({
|
|
3102
3102
|
animation: 200,
|
|
3103
3103
|
group: "gallerys",
|
|
3104
3104
|
// 链接专用分组
|
|
@@ -3351,12 +3351,12 @@ var _n, Kr, ms, Gi, Xi, ll, w0, da, Vo, x0, vi, Os, C0, T0 = function() {
|
|
|
3351
3351
|
return ~ti.indexOf(e) && ti[ti.indexOf(e) + 1][n];
|
|
3352
3352
|
}, Po = function(e) {
|
|
3353
3353
|
return !!~x0.indexOf(e);
|
|
3354
|
-
},
|
|
3354
|
+
}, In = function(e, n, s, i, a) {
|
|
3355
3355
|
return e.addEventListener(n, s, {
|
|
3356
3356
|
passive: i !== !1,
|
|
3357
3357
|
capture: !!a
|
|
3358
3358
|
});
|
|
3359
|
-
},
|
|
3359
|
+
}, Dn = function(e, n, s, i) {
|
|
3360
3360
|
return e.removeEventListener(n, s, !!i);
|
|
3361
3361
|
}, Pr = "scrollLeft", $r = "scrollTop", dc = function() {
|
|
3362
3362
|
return vi && vi.isPressed || yt.cache++;
|
|
@@ -3370,7 +3370,7 @@ var _n, Kr, ms, Gi, Xi, ll, w0, da, Vo, x0, vi, Os, C0, T0 = function() {
|
|
|
3370
3370
|
return i.v + i.offset;
|
|
3371
3371
|
};
|
|
3372
3372
|
return s.offset = 0, e && s;
|
|
3373
|
-
},
|
|
3373
|
+
}, Rn = {
|
|
3374
3374
|
s: Pr,
|
|
3375
3375
|
p: "left",
|
|
3376
3376
|
p2: "Left",
|
|
@@ -3391,9 +3391,9 @@ var _n, Kr, ms, Gi, Xi, ll, w0, da, Vo, x0, vi, Os, C0, T0 = function() {
|
|
|
3391
3391
|
d: "height",
|
|
3392
3392
|
d2: "Height",
|
|
3393
3393
|
a: "y",
|
|
3394
|
-
op:
|
|
3394
|
+
op: Rn,
|
|
3395
3395
|
sc: od(function(t) {
|
|
3396
|
-
return arguments.length ? ms.scrollTo(
|
|
3396
|
+
return arguments.length ? ms.scrollTo(Rn.sc(), t) : ms.pageYOffset || Gi[$r] || Xi[$r] || ll[$r] || 0;
|
|
3397
3397
|
})
|
|
3398
3398
|
}, zn = function(e, n) {
|
|
3399
3399
|
return (n && n._ctx && n._ctx.selector || _n.utils.toArray)(e)[0] || (typeof e == "string" && _n.config().nullTargetWarn !== !1 ? console.warn("Element not found:", e) : null);
|
|
@@ -3406,7 +3406,7 @@ var _n, Kr, ms, Gi, Xi, ll, w0, da, Vo, x0, vi, Os, C0, T0 = function() {
|
|
|
3406
3406
|
var s = n.s, i = n.sc;
|
|
3407
3407
|
Po(e) && (e = Gi.scrollingElement || Xi);
|
|
3408
3408
|
var a = yt.indexOf(e), l = i === on.sc ? 1 : 2;
|
|
3409
|
-
!~a && (a = yt.push(e) - 1), yt[a + l] ||
|
|
3409
|
+
!~a && (a = yt.push(e) - 1), yt[a + l] || In(e, "scroll", dc);
|
|
3410
3410
|
var r = yt[a + l], u = r || (yt[a + l] = od(Ki(e, s), !0) || (Po(e) ? i : od(function(c) {
|
|
3411
3411
|
return arguments.length ? e[s] = c : e[s];
|
|
3412
3412
|
})));
|
|
@@ -3439,7 +3439,7 @@ var _n, Kr, ms, Gi, Xi, ll, w0, da, Vo, x0, vi, Os, C0, T0 = function() {
|
|
|
3439
3439
|
return k0 = 0;
|
|
3440
3440
|
}, 500), S0(), Kr = 1), Kr;
|
|
3441
3441
|
};
|
|
3442
|
-
|
|
3442
|
+
Rn.op = on;
|
|
3443
3443
|
yt.cache = 0;
|
|
3444
3444
|
var en = /* @__PURE__ */ function() {
|
|
3445
3445
|
function t(n) {
|
|
@@ -3450,19 +3450,19 @@ var en = /* @__PURE__ */ function() {
|
|
|
3450
3450
|
Kr || V0(_n) || console.warn("Please gsap.registerPlugin(Observer)"), Vo || S0();
|
|
3451
3451
|
var i = s.tolerance, a = s.dragMinimum, l = s.type, r = s.target, u = s.lineHeight, c = s.debounce, v = s.preventDefault, h = s.onStop, d = s.onStopDelay, m = s.ignore, g = s.wheelSpeed, p = s.event, C = s.onDragStart, w = s.onDragEnd, k = s.onDrag, y = s.onPress, x = s.onRelease, T = s.onRight, E = s.onLeft, V = s.onUp, D = s.onDown, O = s.onChangeX, I = s.onChangeY, R = s.onChange, M = s.onToggleX, H = s.onToggleY, Y = s.onHover, oe = s.onHoverEnd, ie = s.onMove, te = s.ignoreCheck, G = s.isNormalizer, Q = s.onGestureStart, X = s.onGestureEnd, z = s.onWheel, se = s.onEnable, ce = s.onDisable, ye = s.onClick, Le = s.scrollSpeed, tt = s.capture, ve = s.allowClicks, Ae = s.lockAxis, it = s.onLockAxis;
|
|
3452
3452
|
this.target = r = zn(r) || Xi, this.vars = s, m && (m = _n.utils.toArray(m)), i = i || 1e-9, a = a || 0, g = g || 1, Le = Le || 1, l = l || "wheel,touch,pointer", c = c !== !1, u || (u = parseFloat(ms.getComputedStyle(ll).lineHeight) || 22);
|
|
3453
|
-
var Ie, _e, Ee,
|
|
3453
|
+
var Ie, _e, Ee, xe, Pe, Ge, Ze, fe = this, ke = 0, Ve = 0, Me = s.passive || !v && s.passive !== !1, He = Qi(r, Rn), xt = Qi(r, on), rn = He(), es = xt(), Nt = ~l.indexOf("touch") && !~l.indexOf("pointer") && Os[0] === "pointerdown", En = Po(r), Pt = r.ownerDocument || Gi, Ft = [0, 0, 0], Pn = [0, 0, 0], ys = 0, $i = function() {
|
|
3454
3454
|
return ys = Eo();
|
|
3455
3455
|
}, lt = function(nt, Ct) {
|
|
3456
3456
|
return (fe.event = nt) && m && j3(nt.target, m) || Ct && Nt && nt.pointerType !== "touch" || te && te(nt, Ct);
|
|
3457
3457
|
}, Oa = function() {
|
|
3458
3458
|
fe._vx.reset(), fe._vy.reset(), _e.pause(), h && h(fe);
|
|
3459
3459
|
}, Hn = function() {
|
|
3460
|
-
var nt = fe.deltaX = uf(Ft), Ct = fe.deltaY = uf(
|
|
3461
|
-
R && (Fe || ot) && R(fe, nt, Ct, Ft,
|
|
3460
|
+
var nt = fe.deltaX = uf(Ft), Ct = fe.deltaY = uf(Pn), Fe = Math.abs(nt) >= i, ot = Math.abs(Ct) >= i;
|
|
3461
|
+
R && (Fe || ot) && R(fe, nt, Ct, Ft, Pn), Fe && (T && fe.deltaX > 0 && T(fe), E && fe.deltaX < 0 && E(fe), O && O(fe), M && fe.deltaX < 0 != ke < 0 && M(fe), ke = fe.deltaX, Ft[0] = Ft[1] = Ft[2] = 0), ot && (D && fe.deltaY > 0 && D(fe), V && fe.deltaY < 0 && V(fe), I && I(fe), H && fe.deltaY < 0 != Ve < 0 && H(fe), Ve = fe.deltaY, Pn[0] = Pn[1] = Pn[2] = 0), (xe || Ee) && (ie && ie(fe), Ee && (C && Ee === 1 && C(fe), k && k(fe), Ee = 0), xe = !1), Ge && !(Ge = !1) && it && it(fe), Pe && (z(fe), Pe = !1), Ie = 0;
|
|
3462
3462
|
}, Di = function(nt, Ct, Fe) {
|
|
3463
|
-
Ft[Fe] += nt,
|
|
3463
|
+
Ft[Fe] += nt, Pn[Fe] += Ct, fe._vx.update(nt), fe._vy.update(Ct), c ? Ie || (Ie = requestAnimationFrame(Hn)) : Hn();
|
|
3464
3464
|
}, Li = function(nt, Ct) {
|
|
3465
|
-
Ae && !Ze && (fe.axis = Ze = Math.abs(nt) > Math.abs(Ct) ? "x" : "y", Ge = !0), Ze !== "y" && (Ft[2] += nt, fe._vx.update(nt, !0)), Ze !== "x" && (
|
|
3465
|
+
Ae && !Ze && (fe.axis = Ze = Math.abs(nt) > Math.abs(Ct) ? "x" : "y", Ge = !0), Ze !== "y" && (Ft[2] += nt, fe._vx.update(nt, !0)), Ze !== "x" && (Pn[2] += Ct, fe._vy.update(Ct, !0)), c ? Ie || (Ie = requestAnimationFrame(Hn)) : Hn();
|
|
3466
3466
|
}, Fs = function(nt) {
|
|
3467
3467
|
if (!lt(nt, 1)) {
|
|
3468
3468
|
nt = lo(nt, v);
|
|
@@ -3470,10 +3470,10 @@ var en = /* @__PURE__ */ function() {
|
|
|
3470
3470
|
fe.x = Ct, fe.y = Fe, (at || (ot || Ke) && (Math.abs(fe.startX - Ct) >= a || Math.abs(fe.startY - Fe) >= a)) && (Ee = at ? 2 : 1, at || (fe.isDragging = !0), Li(ot, Ke));
|
|
3471
3471
|
}
|
|
3472
3472
|
}, di = fe.onPress = function(dt) {
|
|
3473
|
-
lt(dt, 1) || dt && dt.button || (fe.axis = Ze = null, _e.pause(), fe.isPressed = !0, dt = lo(dt), ke = Ve = 0, fe.startX = fe.x = dt.clientX, fe.startY = fe.y = dt.clientY, fe._vx.reset(), fe._vy.reset(),
|
|
3473
|
+
lt(dt, 1) || dt && dt.button || (fe.axis = Ze = null, _e.pause(), fe.isPressed = !0, dt = lo(dt), ke = Ve = 0, fe.startX = fe.x = dt.clientX, fe.startY = fe.y = dt.clientY, fe._vx.reset(), fe._vy.reset(), In(G ? r : Pt, Os[1], Fs, Me, !0), fe.deltaX = fe.deltaY = 0, y && y(fe));
|
|
3474
3474
|
}, pt = fe.onRelease = function(dt) {
|
|
3475
3475
|
if (!lt(dt, 1)) {
|
|
3476
|
-
|
|
3476
|
+
Dn(G ? r : Pt, Os[1], Fs, !0);
|
|
3477
3477
|
var nt = !isNaN(fe.y - fe.startY), Ct = fe.isDragging, Fe = Ct && (Math.abs(fe.x - fe.startX) > 3 || Math.abs(fe.y - fe.startY) > 3), ot = lo(dt);
|
|
3478
3478
|
!Fe && nt && (fe._vx.reset(), fe._vy.reset(), v && ve && _n.delayedCall(0.08, function() {
|
|
3479
3479
|
if (Eo() - ys > 300 && !dt.defaultPrevented) {
|
|
@@ -3504,7 +3504,7 @@ var en = /* @__PURE__ */ function() {
|
|
|
3504
3504
|
}, ci = function(nt) {
|
|
3505
3505
|
if (!lt(nt)) {
|
|
3506
3506
|
var Ct = nt.clientX, Fe = nt.clientY, ot = Ct - fe.x, Ke = Fe - fe.y;
|
|
3507
|
-
fe.x = Ct, fe.y = Fe,
|
|
3507
|
+
fe.x = Ct, fe.y = Fe, xe = !0, h && _e.restart(!0), (ot || Ke) && Li(ot, Ke);
|
|
3508
3508
|
}
|
|
3509
3509
|
}, Ai = function(nt) {
|
|
3510
3510
|
fe.event = nt, Y(fe);
|
|
@@ -3514,11 +3514,11 @@ var en = /* @__PURE__ */ function() {
|
|
|
3514
3514
|
return lt(nt) || lo(nt, v) && ye(fe);
|
|
3515
3515
|
};
|
|
3516
3516
|
_e = fe._dc = _n.delayedCall(d || 0.25, Oa).pause(), fe.deltaX = fe.deltaY = 0, fe._vx = uc(0, 50, !0), fe._vy = uc(0, 50, !0), fe.scrollX = He, fe.scrollY = xt, fe.isDragging = fe.isGesturing = fe.isPressed = !1, C0(this), fe.enable = function(dt) {
|
|
3517
|
-
return fe.isEnabled || (
|
|
3517
|
+
return fe.isEnabled || (In(En ? Pt : r, "scroll", dc), l.indexOf("scroll") >= 0 && In(En ? Pt : r, "scroll", ns, Me, tt), l.indexOf("wheel") >= 0 && In(r, "wheel", ss, Me, tt), (l.indexOf("touch") >= 0 && w0 || l.indexOf("pointer") >= 0) && (In(r, Os[0], di, Me, tt), In(Pt, Os[2], pt), In(Pt, Os[3], pt), ve && In(r, "click", $i, !0, !0), ye && In(r, "click", sa), Q && In(Pt, "gesturestart", ui), X && In(Pt, "gestureend", ts), Y && In(r, da + "enter", Ai), oe && In(r, da + "leave", _s), ie && In(r, da + "move", ci)), fe.isEnabled = !0, fe.isDragging = fe.isGesturing = fe.isPressed = xe = Ee = !1, fe._vx.reset(), fe._vy.reset(), rn = He(), es = xt(), dt && dt.type && di(dt), se && se(fe)), fe;
|
|
3518
3518
|
}, fe.disable = function() {
|
|
3519
3519
|
fe.isEnabled && (el.filter(function(dt) {
|
|
3520
3520
|
return dt !== fe && Po(dt.target);
|
|
3521
|
-
}).length ||
|
|
3521
|
+
}).length || Dn(En ? Pt : r, "scroll", dc), fe.isPressed && (fe._vx.reset(), fe._vy.reset(), Dn(G ? r : Pt, Os[1], Fs, !0)), Dn(En ? Pt : r, "scroll", ns, tt), Dn(r, "wheel", ss, tt), Dn(r, Os[0], di, tt), Dn(Pt, Os[2], pt), Dn(Pt, Os[3], pt), Dn(r, "click", $i, !0), Dn(r, "click", sa), Dn(Pt, "gesturestart", ui), Dn(Pt, "gestureend", ts), Dn(r, da + "enter", Ai), Dn(r, da + "leave", _s), Dn(r, da + "move", ci), fe.isEnabled = fe.isPressed = fe.isDragging = !1, ce && ce(fe));
|
|
3522
3522
|
}, fe.kill = fe.revert = function() {
|
|
3523
3523
|
fe.disable();
|
|
3524
3524
|
var dt = el.indexOf(fe);
|
|
@@ -3558,7 +3558,7 @@ T0() && _n.registerPlugin(en);
|
|
|
3558
3558
|
* Subject to the terms at https://gsap.com/standard-license
|
|
3559
3559
|
* @author: Jack Doyle, jack@greensock.com
|
|
3560
3560
|
*/
|
|
3561
|
-
var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc,
|
|
3561
|
+
var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, Mn, cf, hf, Ja, E0, $u, P0, On, hc, $0, D0, ji, mc, oh, ol, rh, dd, pc, Du, Lr = 1, wn = Date.now, Lu = wn(), Ss = 0, vo = 0, mf = function(e, n, s) {
|
|
3562
3562
|
var i = cs(e) && (e.substr(0, 6) === "clamp(" || e.indexOf("max") > -1);
|
|
3563
3563
|
return s["_" + n + "Clamp"] = i, i ? e.substr(6, e.length - 7) : e;
|
|
3564
3564
|
}, pf = function(e, n) {
|
|
@@ -3729,7 +3729,7 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, On, cf, hf, Ja,
|
|
|
3729
3729
|
}, ft = [], fc = {}, qo, _f = function() {
|
|
3730
3730
|
return wn() - Ss > 34 && (qo || (qo = requestAnimationFrame(bi)));
|
|
3731
3731
|
}, Ha = function() {
|
|
3732
|
-
(!
|
|
3732
|
+
(!On || !On.isPressed || On.startX > St.clientWidth) && (yt.cache++, On ? qo || (qo = requestAnimationFrame(bi)) : bi(), Ss || Va("scrollStart"), Ss = wn());
|
|
3733
3733
|
}, Iu = function() {
|
|
3734
3734
|
D0 = vt.innerWidth, $0 = vt.innerHeight;
|
|
3735
3735
|
}, bo = function(e) {
|
|
@@ -3745,14 +3745,14 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, On, cf, hf, Ja,
|
|
|
3745
3745
|
(!e || us[n + 4] && us[n + 4].query === e) && (us[n].style.cssText = us[n + 1], us[n].getBBox && us[n].setAttribute("transform", us[n + 2] || ""), us[n + 3].uncache = 1);
|
|
3746
3746
|
}, mh = function(e, n) {
|
|
3747
3747
|
var s;
|
|
3748
|
-
for (
|
|
3749
|
-
s = ft[
|
|
3748
|
+
for (Mn = 0; Mn < ft.length; Mn++)
|
|
3749
|
+
s = ft[Mn], s && (!n || s._ctx === n) && (e ? s.kill(1) : s.revert(!0, !0));
|
|
3750
3750
|
dd = !0, n && N0(n), n || Va("revert");
|
|
3751
3751
|
}, F0 = function(e, n) {
|
|
3752
|
-
yt.cache++, (n || !
|
|
3752
|
+
yt.cache++, (n || !Un) && yt.forEach(function(s) {
|
|
3753
3753
|
return xn(s) && s.cacheID++ && (s.rec = 0);
|
|
3754
3754
|
}), cs(e) && (vt.history.scrollRestoration = oh = e);
|
|
3755
|
-
},
|
|
3755
|
+
}, Un, _a = 0, bf, Q3 = function() {
|
|
3756
3756
|
if (bf !== _a) {
|
|
3757
3757
|
var e = bf = _a;
|
|
3758
3758
|
requestAnimationFrame(function() {
|
|
@@ -3760,7 +3760,7 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, On, cf, hf, Ja,
|
|
|
3760
3760
|
});
|
|
3761
3761
|
}
|
|
3762
3762
|
}, H0 = function() {
|
|
3763
|
-
St.appendChild(ol), rh = !
|
|
3763
|
+
St.appendChild(ol), rh = !On && ol.offsetHeight || vt.innerHeight, St.removeChild(ol);
|
|
3764
3764
|
}, wf = function(e) {
|
|
3765
3765
|
return jo(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(n) {
|
|
3766
3766
|
return n.style.display = e ? "none" : "block";
|
|
@@ -3770,7 +3770,7 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, On, cf, hf, Ja,
|
|
|
3770
3770
|
mn(bt, "scrollEnd", R0);
|
|
3771
3771
|
return;
|
|
3772
3772
|
}
|
|
3773
|
-
H0(),
|
|
3773
|
+
H0(), Un = bt.isRefreshing = !0, yt.forEach(function(i) {
|
|
3774
3774
|
return xn(i) && ++i.cacheID && (i.rec = i());
|
|
3775
3775
|
});
|
|
3776
3776
|
var s = Va("refreshInit");
|
|
@@ -3792,20 +3792,20 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, On, cf, hf, Ja,
|
|
|
3792
3792
|
xn(i) && (i.smooth && requestAnimationFrame(function() {
|
|
3793
3793
|
return i.target.style.scrollBehavior = "smooth";
|
|
3794
3794
|
}), i.rec && i(i.rec));
|
|
3795
|
-
}), F0(oh, 1), rd.pause(), _a++,
|
|
3795
|
+
}), F0(oh, 1), rd.pause(), _a++, Un = 2, bi(2), ft.forEach(function(i) {
|
|
3796
3796
|
return xn(i.vars.onRefresh) && i.vars.onRefresh(i);
|
|
3797
|
-
}),
|
|
3797
|
+
}), Un = bt.isRefreshing = !1, Va("refresh");
|
|
3798
3798
|
}, gc = 0, Jr = 1, Oo, bi = function(e) {
|
|
3799
|
-
if (e === 2 || !
|
|
3799
|
+
if (e === 2 || !Un && !dd) {
|
|
3800
3800
|
bt.isUpdating = !0, Oo && Oo.update(0);
|
|
3801
3801
|
var n = ft.length, s = wn(), i = s - Lu >= 50, a = n && ft[0].scroll();
|
|
3802
|
-
if (Jr = gc > a ? -1 : 1,
|
|
3803
|
-
for (
|
|
3804
|
-
ft[
|
|
3802
|
+
if (Jr = gc > a ? -1 : 1, Un || (gc = a), i && (Ss && !Nd && s - Ss > 200 && (Ss = 0, Va("scrollEnd")), go = Lu, Lu = s), Jr < 0) {
|
|
3803
|
+
for (Mn = n; Mn-- > 0; )
|
|
3804
|
+
ft[Mn] && ft[Mn].update(0, i);
|
|
3805
3805
|
Jr = 1;
|
|
3806
3806
|
} else
|
|
3807
|
-
for (
|
|
3808
|
-
ft[
|
|
3807
|
+
for (Mn = 0; Mn < n; Mn++)
|
|
3808
|
+
ft[Mn] && ft[Mn].update(0, i);
|
|
3809
3809
|
bt.isUpdating = !1;
|
|
3810
3810
|
}
|
|
3811
3811
|
qo = 0;
|
|
@@ -3823,7 +3823,7 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, On, cf, hf, Ja,
|
|
|
3823
3823
|
if (!e._gsap.swappedIn) {
|
|
3824
3824
|
for (var a = vc.length, l = n.style, r = e.style, u; a--; )
|
|
3825
3825
|
u = vc[a], l[u] = s[u];
|
|
3826
|
-
l.position = s.position === "absolute" ? "absolute" : "relative", s.display === "inline" && (l.display = "inline-block"), r[uh] = r[dh] = "auto", l.flexBasis = s.flexBasis || "auto", l.overflow = "visible", l.boxSizing = "border-box", l[va] = ud(e,
|
|
3826
|
+
l.position = s.position === "absolute" ? "absolute" : "relative", s.display === "inline" && (l.display = "inline-block"), r[uh] = r[dh] = "auto", l.flexBasis = s.flexBasis || "auto", l.overflow = "visible", l.boxSizing = "border-box", l[va] = ud(e, Rn) + ln, l[ya] = ud(e, on) + ln, l[nn] = r[Ts] = r[U0] = r[M0] = "0", rl(i), r[va] = r["max" + bl] = s[va], r[ya] = r["max" + ch] = s[ya], r[nn] = s[nn], e.parentNode !== n && (e.parentNode.insertBefore(n, e), n.appendChild(e)), e._gsap.swappedIn = !0;
|
|
3827
3827
|
}
|
|
3828
3828
|
}, J3 = /([A-Z])/g, rl = function(e) {
|
|
3829
3829
|
if (e) {
|
|
@@ -3909,12 +3909,12 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, On, cf, hf, Ja,
|
|
|
3909
3909
|
s = vf(cs(s) || _o(s) || s.nodeType ? {
|
|
3910
3910
|
trigger: s
|
|
3911
3911
|
} : s, Mr);
|
|
3912
|
-
var a = s, l = a.onUpdate, r = a.toggleClass, u = a.id, c = a.onToggle, v = a.onRefresh, h = a.scrub, d = a.trigger, m = a.pin, g = a.pinSpacing, p = a.invalidateOnRefresh, C = a.anticipatePin, w = a.onScrubComplete, k = a.onSnapComplete, y = a.once, x = a.snap, T = a.pinReparent, E = a.pinSpacer, V = a.containerAnimation, D = a.fastScrollEnd, O = a.preventOverlaps, I = s.horizontal || s.containerAnimation && s.horizontal !== !1 ?
|
|
3912
|
+
var a = s, l = a.onUpdate, r = a.toggleClass, u = a.id, c = a.onToggle, v = a.onRefresh, h = a.scrub, d = a.trigger, m = a.pin, g = a.pinSpacing, p = a.invalidateOnRefresh, C = a.anticipatePin, w = a.onScrubComplete, k = a.onSnapComplete, y = a.once, x = a.snap, T = a.pinReparent, E = a.pinSpacer, V = a.containerAnimation, D = a.fastScrollEnd, O = a.preventOverlaps, I = s.horizontal || s.containerAnimation && s.horizontal !== !1 ? Rn : on, R = !h && h !== 0, M = zn(s.scroller || vt), H = Xe.core.getCache(M), Y = ka(M), oe = ("pinType" in s ? s.pinType : Ki(M, "pinType") || Y && "fixed") === "fixed", ie = [s.onEnter, s.onLeave, s.onEnterBack, s.onLeaveBack], te = R && s.toggleActions.split(" "), G = "markers" in s ? s.markers : Mr.markers, Q = Y ? 0 : parseFloat(ks(M)["border" + I.p2 + bl]) || 0, X = this, z = s.onRefreshInit && function() {
|
|
3913
3913
|
return s.onRefreshInit(X);
|
|
3914
|
-
}, se = z3(M, Y, I), ce = W3(M, Y), ye = 0, Le = 0, tt = 0, ve = Qi(M, I), Ae, it, Ie, _e, Ee,
|
|
3914
|
+
}, se = z3(M, Y, I), ce = W3(M, Y), ye = 0, Le = 0, tt = 0, ve = Qi(M, I), Ae, it, Ie, _e, Ee, xe, Pe, Ge, Ze, fe, ke, Ve, Me, He, xt, rn, es, Nt, En, Pt, Ft, Pn, ys, $i, lt, Oa, Hn, Di, Li, Fs, di, pt, ui, ts, ns, ss, ci, Ai, _s;
|
|
3915
3915
|
if (X._startClamp = X._endClamp = !1, X._dir = I, C *= 45, X.scroller = M, X.scroll = V ? V.time.bind(V) : ve, _e = ve(), X.vars = s, i = i || s.animation, "refreshPriority" in s && (E0 = 1, s.refreshPriority === -9999 && (Oo = X)), H.tweenScroll = H.tweenScroll || {
|
|
3916
3916
|
top: Tf(M, on),
|
|
3917
|
-
left: Tf(M,
|
|
3917
|
+
left: Tf(M, Rn)
|
|
3918
3918
|
}, X.tweenTo = Ae = H.tweenScroll[I.p], X.scrubDuration = function(Fe) {
|
|
3919
3919
|
ui = _o(Fe) && Fe, ui ? pt ? pt.duration(Fe) : pt = Xe.to(i, {
|
|
3920
3920
|
ease: "expo",
|
|
@@ -3940,8 +3940,8 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, On, cf, hf, Ja,
|
|
|
3940
3940
|
}, ts = ua(ts) ? $o(ts.min, ts.max) : $o(ts, ts), ns = Xe.delayedCall(x.delay || ui / 2 || 0.1, function() {
|
|
3941
3941
|
var Fe = ve(), ot = wn() - Le < 500, Ke = Ae.tween;
|
|
3942
3942
|
if ((ot || Math.abs(X.getVelocity()) < 10) && !Ke && !Nd && ye !== Fe) {
|
|
3943
|
-
var at = (Fe -
|
|
3944
|
-
if (kt = Ie(Yt, X), _o(kt) || (kt = Yt), $t = Math.max(0, Math.round(
|
|
3943
|
+
var at = (Fe - xe) / He, Tt = i && !R ? i.totalProgress() : at, wt = ot ? 0 : (Tt - di) / (wn() - go) * 1e3 || 0, qt = Xe.utils.clamp(-at, 1 - at, Fa(wt / 2) * wt / 0.185), Yt = at + (x.inertia === !1 ? 0 : qt), kt, $t, Qe = x, is = Qe.onStart, At = Qe.onInterrupt, dn = Qe.onComplete;
|
|
3944
|
+
if (kt = Ie(Yt, X), _o(kt) || (kt = Yt), $t = Math.max(0, Math.round(xe + kt * He)), Fe <= Pe && Fe >= xe && $t !== Fe) {
|
|
3945
3945
|
if (Ke && !Ke._initted && Ke.data <= Fa($t - Fe))
|
|
3946
3946
|
return;
|
|
3947
3947
|
x.inertia === !1 && (qt = kt - at), Ae($t, {
|
|
@@ -3964,9 +3964,9 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, On, cf, hf, Ja,
|
|
|
3964
3964
|
}), m && (g === !1 || g === Ts || (g = !g && m.parentNode && m.parentNode.style && ks(m.parentNode).display === "flex" ? !1 : nn), X.pin = m, it = Xe.core.getCache(m), it.spacer ? xt = it.pinState : (E && (E = zn(E), E && !E.nodeType && (E = E.current || E.nativeElement), it.spacerIsNative = !!E, E && (it.spacerState = Br(E))), it.spacer = Nt = E || Mt.createElement("div"), Nt.classList.add("pin-spacer"), u && Nt.classList.add("pin-spacer-" + u), it.pinState = xt = Br(m)), s.force3D !== !1 && Xe.set(m, {
|
|
3965
3965
|
force3D: !0
|
|
3966
3966
|
}), X.spacer = Nt = it.spacer, Li = ks(m), $i = Li[g + I.os2], Pt = Xe.getProperty(m), Ft = Xe.quickSetter(m, I.a, ln), Ou(m, Nt, Li), es = Br(m)), G) {
|
|
3967
|
-
Ve = ua(G) ? vf(G, yf) : yf, fe = Ur("scroller-start", u, M, I, Ve, 0), ke = Ur("scroller-end", u, M, I, Ve, 0, fe),
|
|
3967
|
+
Ve = ua(G) ? vf(G, yf) : yf, fe = Ur("scroller-start", u, M, I, Ve, 0), ke = Ur("scroller-end", u, M, I, Ve, 0, fe), En = fe["offset" + I.op.d2];
|
|
3968
3968
|
var sa = zn(Ki(M, "content") || M);
|
|
3969
|
-
Ge = this.markerStart = Ur("start", u, sa, I, Ve,
|
|
3969
|
+
Ge = this.markerStart = Ur("start", u, sa, I, Ve, En, 0, V), Ze = this.markerEnd = Ur("end", u, sa, I, Ve, En, 0, V), V && (Ai = Xe.quickSetter([Ge, Ze], I.a, ln)), !oe && !(ti.length && Ki(M, "fixedMarkers") === !0) && (G3(Y ? St : M), Xe.set([fe, ke], {
|
|
3970
3970
|
force3D: !0
|
|
3971
3971
|
}), Oa = Xe.quickSetter(fe, I.a, ln), Di = Xe.quickSetter(ke, I.a, ln));
|
|
3972
3972
|
}
|
|
@@ -3993,7 +3993,7 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, On, cf, hf, Ja,
|
|
|
3993
3993
|
mn(t, "scrollEnd", R0);
|
|
3994
3994
|
return;
|
|
3995
3995
|
}
|
|
3996
|
-
!
|
|
3996
|
+
!Un && z && z(X), bn = X, Ae.tween && !Ke && (Ae.tween.kill(), Ae.tween = 0), pt && pt.pause(), p && i && (i.revert({
|
|
3997
3997
|
kill: !1
|
|
3998
3998
|
}).invalidate(), i.getChildren && i.getChildren(!0, !0, !1).forEach(function(ls) {
|
|
3999
3999
|
return ls.vars.immediateRender && ls.render(0, !0, !0);
|
|
@@ -4001,57 +4001,57 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, On, cf, hf, Ja,
|
|
|
4001
4001
|
var Tt = se(), wt = ce(), qt = V ? V.duration() : Ks(M, I), Yt = He <= 0.01 || !He, kt = 0, $t = at || 0, Qe = ua(Ke) ? Ke.end : s.end, is = s.endTrigger || d, At = ua(Ke) ? Ke.start : s.start || (s.start === 0 || !d ? 0 : m ? "0 0" : "0 100%"), dn = X.pinnedContainer = s.pinnedContainer && zn(s.pinnedContainer, X), bs = d && Math.max(0, ft.indexOf(X)) || 0, Bt = bs, ct, an, ws, Ma, un, Kt, as, ia, Ua, Ii, xs, aa, hi;
|
|
4002
4002
|
for (G && ua(Ke) && (aa = Xe.getProperty(fe, I.p), hi = Xe.getProperty(ke, I.p)); Bt-- > 0; )
|
|
4003
4003
|
Kt = ft[Bt], Kt.end || Kt.refresh(0, 1) || (bn = X), as = Kt.pin, as && (as === d || as === m || as === dn) && !Kt.isReverted && (Ii || (Ii = []), Ii.unshift(Kt), Kt.revert(!0, !0)), Kt !== ft[Bt] && (bs--, Bt--);
|
|
4004
|
-
for (xn(At) && (At = At(X)), At = mf(At, "start", X),
|
|
4005
|
-
Kt = ft[Bt], as = Kt.pin, as && Kt.start - Kt._pinPush <=
|
|
4006
|
-
if (
|
|
4007
|
-
ct = ks(m), Ma = I === on, ws = ve(),
|
|
4004
|
+
for (xn(At) && (At = At(X)), At = mf(At, "start", X), xe = xf(At, d, Tt, I, ve(), Ge, fe, X, wt, Q, oe, qt, V, X._startClamp && "_startClamp") || (m ? -1e-3 : 0), xn(Qe) && (Qe = Qe(X)), cs(Qe) && !Qe.indexOf("+=") && (~Qe.indexOf(" ") ? Qe = (cs(At) ? At.split(" ")[0] : "") + Qe : (kt = Qr(Qe.substr(2), Tt), Qe = cs(At) ? At : (V ? Xe.utils.mapRange(0, V.duration(), V.scrollTrigger.start, V.scrollTrigger.end, xe) : xe) + kt, is = d)), Qe = mf(Qe, "end", X), Pe = Math.max(xe, xf(Qe || (is ? "100% 0" : qt), is, Tt, I, ve() + kt, Ze, ke, X, wt, Q, oe, qt, V, X._endClamp && "_endClamp")) || -1e-3, kt = 0, Bt = bs; Bt--; )
|
|
4005
|
+
Kt = ft[Bt], as = Kt.pin, as && Kt.start - Kt._pinPush <= xe && !V && Kt.end > 0 && (ct = Kt.end - (X._startClamp ? Math.max(0, Kt.start) : Kt.start), (as === d && Kt.start - Kt._pinPush < xe || as === dn) && isNaN(At) && (kt += ct * (1 - Kt.progress)), as === m && ($t += ct));
|
|
4006
|
+
if (xe += kt, Pe += kt, X._startClamp && (X._startClamp += kt), X._endClamp && !Un && (X._endClamp = Pe || -1e-3, Pe = Math.min(Pe, Ks(M, I))), He = Pe - xe || (xe -= 0.01) && 1e-3, Yt && (tt = Xe.utils.clamp(0, 1, Xe.utils.normalize(xe, Pe, ss))), X._pinPush = $t, Ge && kt && (ct = {}, ct[I.a] = "+=" + kt, dn && (ct[I.p] = "-=" + ve()), Xe.set([Ge, Ze], ct)), m && !(pc && X.end >= Ks(M, I)))
|
|
4007
|
+
ct = ks(m), Ma = I === on, ws = ve(), Pn = parseFloat(Pt(I.a)) + $t, !qt && Pe > 1 && (xs = (Y ? Mt.scrollingElement || hs : M).style, xs = {
|
|
4008
4008
|
style: xs,
|
|
4009
4009
|
value: xs["overflow" + I.a.toUpperCase()]
|
|
4010
|
-
}, Y && ks(St)["overflow" + I.a.toUpperCase()] !== "scroll" && (xs.style["overflow" + I.a.toUpperCase()] = "scroll")), Ou(m, Nt, ct), es = Br(m), an = pi(m, !0), ia = oe && Qi(M, Ma ?
|
|
4010
|
+
}, Y && ks(St)["overflow" + I.a.toUpperCase()] !== "scroll" && (xs.style["overflow" + I.a.toUpperCase()] = "scroll")), Ou(m, Nt, ct), es = Br(m), an = pi(m, !0), ia = oe && Qi(M, Ma ? Rn : on)(), g ? (lt = [g + I.os2, He + $t + ln], lt.t = Nt, Bt = g === nn ? ud(m, I) + He + $t : 0, Bt && (lt.push(I.d, Bt + ln), Nt.style.flexBasis !== "auto" && (Nt.style.flexBasis = Bt + ln)), rl(lt), dn && ft.forEach(function(ls) {
|
|
4011
4011
|
ls.pin === dn && ls.vars.pinSpacing !== !1 && (ls._subPinOffset = !0);
|
|
4012
4012
|
}), oe && ve(ss)) : (Bt = ud(m, I), Bt && Nt.style.flexBasis !== "auto" && (Nt.style.flexBasis = Bt + ln)), oe && (un = {
|
|
4013
|
-
top: an.top + (Ma ? ws -
|
|
4014
|
-
left: an.left + (Ma ? ia : ws -
|
|
4013
|
+
top: an.top + (Ma ? ws - xe : ia) + ln,
|
|
4014
|
+
left: an.left + (Ma ? ia : ws - xe) + ln,
|
|
4015
4015
|
boxSizing: "border-box",
|
|
4016
4016
|
position: "fixed"
|
|
4017
|
-
}, un[va] = un["max" + bl] = Math.ceil(an.width) + ln, un[ya] = un["max" + ch] = Math.ceil(an.height) + ln, un[Ts] = un[Ts + Ao] = un[Ts + Do] = un[Ts + Io] = un[Ts + Lo] = "0", un[nn] = ct[nn], un[nn + Ao] = ct[nn + Ao], un[nn + Do] = ct[nn + Do], un[nn + Io] = ct[nn + Io], un[nn + Lo] = ct[nn + Lo], rn = ex(xt, un, T),
|
|
4017
|
+
}, un[va] = un["max" + bl] = Math.ceil(an.width) + ln, un[ya] = un["max" + ch] = Math.ceil(an.height) + ln, un[Ts] = un[Ts + Ao] = un[Ts + Do] = un[Ts + Io] = un[Ts + Lo] = "0", un[nn] = ct[nn], un[nn + Ao] = ct[nn + Ao], un[nn + Do] = ct[nn + Do], un[nn + Io] = ct[nn + Io], un[nn + Lo] = ct[nn + Lo], rn = ex(xt, un, T), Un && ve(0)), i ? (Ua = i._initted, $u(1), i.render(i.duration(), !0, !0), ys = Pt(I.a) - Pn + He + $t, Hn = Math.abs(He - ys) > 1, oe && Hn && rn.splice(rn.length - 2, 2), i.render(0, !0, !0), Ua || i.invalidate(!0), i.parent || i.totalTime(i.totalTime()), $u(0)) : ys = He, xs && (xs.value ? xs.style["overflow" + I.a.toUpperCase()] = xs.value : xs.style.removeProperty("overflow-" + I.a));
|
|
4018
4018
|
else if (d && ve() && !V)
|
|
4019
4019
|
for (an = d.parentNode; an && an !== St; )
|
|
4020
|
-
an._pinOffset && (
|
|
4020
|
+
an._pinOffset && (xe -= an._pinOffset, Pe -= an._pinOffset), an = an.parentNode;
|
|
4021
4021
|
Ii && Ii.forEach(function(ls) {
|
|
4022
4022
|
return ls.revert(!1, !0);
|
|
4023
|
-
}), X.start =
|
|
4023
|
+
}), X.start = xe, X.end = Pe, _e = Ee = Un ? ss : ve(), !V && !Un && (_e < ss && ve(ss), X.scroll.rec = 0), X.revert(!1, !0), Le = wn(), ns && (ye = -1, ns.restart(!0)), bn = 0, i && R && (i._initted || ci) && i.progress() !== ci && i.progress(ci || 0, !0).render(i.time(), !0, !0), (Yt || tt !== X.progress || V || p || i && !i._initted) && (i && !R && (i._initted || tt || i.vars.immediateRender !== !1) && i.totalProgress(V && xe < -1e-3 && !tt ? Xe.utils.normalize(xe, Pe, 0) : tt, !0), X.progress = Yt || (_e - xe) / He === tt ? 0 : tt), m && g && (Nt._pinOffset = Math.round(X.progress * ys)), pt && pt.invalidate(), isNaN(aa) || (aa -= Xe.getProperty(fe, I.p), hi -= Xe.getProperty(ke, I.p), Rr(fe, I, aa), Rr(Ge, I, aa - (at || 0)), Rr(ke, I, hi), Rr(Ze, I, hi - (at || 0))), Yt && !Un && X.update(), v && !Un && !Me && (Me = !0, v(X), Me = !1);
|
|
4024
4024
|
}
|
|
4025
4025
|
}, X.getVelocity = function() {
|
|
4026
4026
|
return (ve() - Ee) / (wn() - go) * 1e3 || 0;
|
|
4027
4027
|
}, X.endAnimation = function() {
|
|
4028
4028
|
oo(X.callbackAnimation), i && (pt ? pt.progress(1) : i.paused() ? R || oo(i, X.direction < 0, 1) : oo(i, i.reversed()));
|
|
4029
4029
|
}, X.labelToScroll = function(Fe) {
|
|
4030
|
-
return i && i.labels && (
|
|
4030
|
+
return i && i.labels && (xe || X.refresh() || xe) + i.labels[Fe] / i.duration() * He || 0;
|
|
4031
4031
|
}, X.getTrailing = function(Fe) {
|
|
4032
4032
|
var ot = ft.indexOf(X), Ke = X.direction > 0 ? ft.slice(0, ot).reverse() : ft.slice(ot + 1);
|
|
4033
4033
|
return (cs(Fe) ? Ke.filter(function(at) {
|
|
4034
4034
|
return at.vars.preventOverlaps === Fe;
|
|
4035
4035
|
}) : Ke).filter(function(at) {
|
|
4036
|
-
return X.direction > 0 ? at.end <=
|
|
4036
|
+
return X.direction > 0 ? at.end <= xe : at.start >= Pe;
|
|
4037
4037
|
});
|
|
4038
4038
|
}, X.update = function(Fe, ot, Ke) {
|
|
4039
4039
|
if (!(V && !Ke && !Fe)) {
|
|
4040
|
-
var at =
|
|
4041
|
-
if (ot && (Ee = _e, _e = V ? ve() : at, x && (di = Fs, Fs = i && !R ? i.totalProgress() : wt)), C && m && !bn && !Lr && Ss && (!wt &&
|
|
4040
|
+
var at = Un === !0 ? ss : X.scroll(), Tt = Fe ? 0 : (at - xe) / He, wt = Tt < 0 ? 0 : Tt > 1 ? 1 : Tt || 0, qt = X.progress, Yt, kt, $t, Qe, is, At, dn, bs;
|
|
4041
|
+
if (ot && (Ee = _e, _e = V ? ve() : at, x && (di = Fs, Fs = i && !R ? i.totalProgress() : wt)), C && m && !bn && !Lr && Ss && (!wt && xe < at + (at - Ee) / (wn() - go) * C ? wt = 1e-4 : wt === 1 && Pe > at + (at - Ee) / (wn() - go) * C && (wt = 0.9999)), wt !== qt && X.enabled) {
|
|
4042
4042
|
if (Yt = X.isActive = !!wt && wt < 1, kt = !!qt && qt < 1, At = Yt !== kt, is = At || !!wt != !!qt, X.direction = wt > qt ? 1 : -1, X.progress = wt, is && !bn && ($t = wt && !qt ? 0 : wt === 1 ? 1 : qt === 1 ? 2 : 3, R && (Qe = !At && te[$t + 1] !== "none" && te[$t + 1] || te[$t], bs = i && (Qe === "complete" || Qe === "reset" || Qe in i))), O && (At || bs) && (bs || h || !i) && (xn(O) ? O(X) : X.getTrailing(O).forEach(function(ws) {
|
|
4043
4043
|
return ws.endAnimation();
|
|
4044
4044
|
})), R || (pt && !bn && !Lr ? (pt._dp._time - pt._start !== pt._time && pt.render(pt._dp._time - pt._start), pt.resetTo ? pt.resetTo("totalProgress", wt, i._tTime / i._tDur) : (pt.vars.totalProgress = wt, pt.invalidate().restart())) : i && i.totalProgress(wt, !!(bn && (Le || Fe)))), m) {
|
|
4045
4045
|
if (Fe && g && (Nt.style[g + I.os2] = $i), !oe)
|
|
4046
|
-
Ft(yo(
|
|
4046
|
+
Ft(yo(Pn + ys * wt));
|
|
4047
4047
|
else if (is) {
|
|
4048
4048
|
if (dn = !Fe && wt > qt && Pe + 1 > at && at + 1 >= Ks(M, I), T)
|
|
4049
4049
|
if (!Fe && (Yt || dn)) {
|
|
4050
|
-
var Bt = pi(m, !0), ct = at -
|
|
4050
|
+
var Bt = pi(m, !0), ct = at - xe;
|
|
4051
4051
|
Cf(m, St, Bt.top + (I === on ? ct : 0) + ln, Bt.left + (I === on ? 0 : ct) + ln);
|
|
4052
4052
|
} else
|
|
4053
4053
|
Cf(m, Nt);
|
|
4054
|
-
rl(Yt || dn ? rn : es), Hn && wt < 1 && Yt || Ft(
|
|
4054
|
+
rl(Yt || dn ? rn : es), Hn && wt < 1 && Yt || Ft(Pn + (wt === 1 && !dn ? ys : 0));
|
|
4055
4055
|
}
|
|
4056
4056
|
}
|
|
4057
4057
|
x && !Ae.tween && !bn && !Lr && ns.restart(!0), r && (At || y && wt && (wt < 1 || !Du)) && jo(r.targets).forEach(function(ws) {
|
|
@@ -4092,9 +4092,9 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, On, cf, hf, Ja,
|
|
|
4092
4092
|
}, X.kill = function(Fe, ot) {
|
|
4093
4093
|
X.disable(Fe, ot), pt && !ot && pt.kill(), u && delete fc[u];
|
|
4094
4094
|
var Ke = ft.indexOf(X);
|
|
4095
|
-
Ke >= 0 && ft.splice(Ke, 1), Ke ===
|
|
4095
|
+
Ke >= 0 && ft.splice(Ke, 1), Ke === Mn && Jr > 0 && Mn--, Ke = 0, ft.forEach(function(at) {
|
|
4096
4096
|
return at.scroller === X.scroller && (Ke = 1);
|
|
4097
|
-
}), Ke ||
|
|
4097
|
+
}), Ke || Un || (X.scroll.rec = 0), i && (i.scrollTrigger = null, Fe && i.revert({
|
|
4098
4098
|
kill: !1
|
|
4099
4099
|
}), ot || i.kill()), Ge && [Ge, Ze, fe, ke].forEach(function(at) {
|
|
4100
4100
|
return at.parentNode && at.parentNode.removeChild(at);
|
|
@@ -4104,8 +4104,8 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, On, cf, hf, Ja,
|
|
|
4104
4104
|
}, ft.push(X), X.enable(!1, !1), _s && _s(X), i && i.add && !He) {
|
|
4105
4105
|
var Ct = X.update;
|
|
4106
4106
|
X.update = function() {
|
|
4107
|
-
X.update = Ct, yt.cache++,
|
|
4108
|
-
}, Xe.delayedCall(0.01, X.update), He = 0.01,
|
|
4107
|
+
X.update = Ct, yt.cache++, xe || Pe || X.refresh();
|
|
4108
|
+
}, Xe.delayedCall(0.01, X.update), He = 0.01, xe = Pe = 0;
|
|
4109
4109
|
} else
|
|
4110
4110
|
X.refresh();
|
|
4111
4111
|
m && Q3();
|
|
@@ -4143,7 +4143,7 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, On, cf, hf, Ja,
|
|
|
4143
4143
|
value: function() {
|
|
4144
4144
|
return this.time(-0.01, !0);
|
|
4145
4145
|
}
|
|
4146
|
-
}), i.borderTopStyle = "solid", r = pi(St), on.m = Math.round(r.top + on.sc()) || 0,
|
|
4146
|
+
}), i.borderTopStyle = "solid", r = pi(St), on.m = Math.round(r.top + on.sc()) || 0, Rn.m = Math.round(r.left + Rn.sc()) || 0, a ? i.borderTopStyle = a : i.removeProperty("border-top-style"), s || (St.setAttribute("style", ""), St.removeAttribute("style")), Dr = setInterval(_f, 250), Xe.delayedCall(0.5, function() {
|
|
4147
4147
|
return Lr = 0;
|
|
4148
4148
|
}), mn(Mt, "touchcancel", zs), mn(St, "touchstart", zs), Ir(mn, Mt, "pointerdown,touchstart,mousedown", ff), Ir(mn, Mt, "pointerup,touchend,mouseup", gf), cc = Xe.utils.checkPrefix("transform"), ed.push(cc), Za = wn(), rd = Xe.delayedCall(0.2, ma).pause(), Ja = [Mt, "visibilitychange", function() {
|
|
4149
4149
|
var c = vt.innerWidth, v = vt.innerHeight;
|
|
@@ -4205,10 +4205,10 @@ bt.update = function(t) {
|
|
|
4205
4205
|
};
|
|
4206
4206
|
bt.clearScrollMemory = F0;
|
|
4207
4207
|
bt.maxScroll = function(t, e) {
|
|
4208
|
-
return Ks(t, e ?
|
|
4208
|
+
return Ks(t, e ? Rn : on);
|
|
4209
4209
|
};
|
|
4210
4210
|
bt.getScrollFunc = function(t, e) {
|
|
4211
|
-
return Qi(zn(t), e ?
|
|
4211
|
+
return Qi(zn(t), e ? Rn : on);
|
|
4212
4212
|
};
|
|
4213
4213
|
bt.getById = function(t) {
|
|
4214
4214
|
return fc[t];
|
|
@@ -4288,14 +4288,14 @@ var kf = function(e, n, s, i) {
|
|
|
4288
4288
|
(n || Sf) && (e._gsapAllow = !0, Sf = n);
|
|
4289
4289
|
}, ix = function(e) {
|
|
4290
4290
|
ua(e) || (e = {}), e.preventDefault = e.isNormalizer = e.allowClicks = !0, e.type || (e.type = "wheel,touch"), e.debounce = !!e.debounce, e.id = e.id || "normalizer";
|
|
4291
|
-
var n = e, s = n.normalizeScrollX, i = n.momentum, a = n.allowNestedScroll, l = n.onRelease, r, u, c = zn(e.target) || hs, v = Xe.core.globals().ScrollSmoother, h = v && v.get(), d = ji && (e.content && zn(e.content) || h && e.content !== !1 && !h.smooth() && h.content()), m = Qi(c, on), g = Qi(c,
|
|
4291
|
+
var n = e, s = n.normalizeScrollX, i = n.momentum, a = n.allowNestedScroll, l = n.onRelease, r, u, c = zn(e.target) || hs, v = Xe.core.globals().ScrollSmoother, h = v && v.get(), d = ji && (e.content && zn(e.content) || h && e.content !== !1 && !h.smooth() && h.content()), m = Qi(c, on), g = Qi(c, Rn), p = 1, C = (en.isTouch && vt.visualViewport ? vt.visualViewport.scale * vt.visualViewport.width : vt.outerWidth) / vt.innerWidth, w = 0, k = xn(i) ? function() {
|
|
4292
4292
|
return i(r);
|
|
4293
4293
|
} : function() {
|
|
4294
4294
|
return i || 2.8;
|
|
4295
4295
|
}, y, x, T = q0(c, e.type, !0, a), E = function() {
|
|
4296
4296
|
return x = !1;
|
|
4297
4297
|
}, V = zs, D = zs, O = function() {
|
|
4298
|
-
u = Ks(c, on), D = $o(ji ? 1 : 0, u), s && (V = $o(0, Ks(c,
|
|
4298
|
+
u = Ks(c, on), D = $o(ji ? 1 : 0, u), s && (V = $o(0, Ks(c, Rn))), y = _a;
|
|
4299
4299
|
}, I = function() {
|
|
4300
4300
|
d._gsap.y = yo(parseFloat(d._gsap.y) + m.offset) + "px", d.style.transform = "matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, " + parseFloat(d._gsap.y) + ", 0, 1)", m.offset = m.cacheID = 0;
|
|
4301
4301
|
}, R = function() {
|
|
@@ -4327,7 +4327,7 @@ var kf = function(e, n, s, i) {
|
|
|
4327
4327
|
else {
|
|
4328
4328
|
yt.cache++;
|
|
4329
4329
|
var Q = k(), X, z;
|
|
4330
|
-
s && (X = g(), z = X + Q * 0.05 * -te.velocityX / 0.227, Q *= kf(g, X, z, Ks(c,
|
|
4330
|
+
s && (X = g(), z = X + Q * 0.05 * -te.velocityX / 0.227, Q *= kf(g, X, z, Ks(c, Rn)), M.vars.scrollX = V(z)), X = m(), z = X + Q * 0.05 * -te.velocityY / 0.227, Q *= kf(m, X, z, Ks(c, on)), M.vars.scrollY = D(z), M.invalidate().duration(Q).play(0.01), (ji && M.vars.scrollY >= u || X >= u - 1) && Xe.to({}, {
|
|
4331
4331
|
onUpdate: ie,
|
|
4332
4332
|
duration: Q
|
|
4333
4333
|
});
|
|
@@ -4376,15 +4376,15 @@ bt.observe = function(t) {
|
|
|
4376
4376
|
};
|
|
4377
4377
|
bt.normalizeScroll = function(t) {
|
|
4378
4378
|
if (typeof t > "u")
|
|
4379
|
-
return
|
|
4380
|
-
if (t === !0 &&
|
|
4381
|
-
return
|
|
4379
|
+
return On;
|
|
4380
|
+
if (t === !0 && On)
|
|
4381
|
+
return On.enable();
|
|
4382
4382
|
if (t === !1) {
|
|
4383
|
-
|
|
4383
|
+
On && On.kill(), On = t;
|
|
4384
4384
|
return;
|
|
4385
4385
|
}
|
|
4386
4386
|
var e = t instanceof en ? t : ix(t);
|
|
4387
|
-
return
|
|
4387
|
+
return On && On.target === e.target && On.kill(), ka(e.target) && (On = e), e;
|
|
4388
4388
|
};
|
|
4389
4389
|
bt.core = {
|
|
4390
4390
|
// smaller file size way to leverage in ScrollSmoother and Observer
|
|
@@ -4686,7 +4686,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
4686
4686
|
},
|
|
4687
4687
|
emits: ["update:show"],
|
|
4688
4688
|
setup(t, { emit: e }) {
|
|
4689
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
4689
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C-0R8wn6.mjs")), i = U(!1), a = q(() => ({
|
|
4690
4690
|
animation: 200,
|
|
4691
4691
|
group: "gallerys",
|
|
4692
4692
|
// 链接专用分组
|
|
@@ -5576,7 +5576,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
5576
5576
|
},
|
|
5577
5577
|
emits: ["update:show"],
|
|
5578
5578
|
setup(t, { emit: e }) {
|
|
5579
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
5579
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C-0R8wn6.mjs")), i = U(!1), a = q(() => ({
|
|
5580
5580
|
animation: 200,
|
|
5581
5581
|
group: "btns",
|
|
5582
5582
|
// 链接专用分组
|
|
@@ -6344,7 +6344,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
6344
6344
|
}
|
|
6345
6345
|
},
|
|
6346
6346
|
setup(t) {
|
|
6347
|
-
const e = qe(() => import("vuedraggable")), n = qe(() => import("./index-
|
|
6347
|
+
const e = qe(() => import("vuedraggable")), n = qe(() => import("./index-C-0R8wn6.mjs")), s = U(!1), i = q(() => ({
|
|
6348
6348
|
animation: 200,
|
|
6349
6349
|
group: "buttons",
|
|
6350
6350
|
// 按钮专用分组
|
|
@@ -8317,7 +8317,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
8317
8317
|
},
|
|
8318
8318
|
emits: ["update:show"],
|
|
8319
8319
|
setup(t, { emit: e }) {
|
|
8320
|
-
const n = qe(() => import("./index-
|
|
8320
|
+
const n = qe(() => import("./index-C-0R8wn6.mjs")), s = e, i = () => {
|
|
8321
8321
|
s("update:show", !1);
|
|
8322
8322
|
};
|
|
8323
8323
|
return (a, l) => {
|
|
@@ -9734,7 +9734,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
9734
9734
|
},
|
|
9735
9735
|
emits: ["update:show"],
|
|
9736
9736
|
setup(t, { emit: e }) {
|
|
9737
|
-
const n = qe(() => import("./index-
|
|
9737
|
+
const n = qe(() => import("./index-C-0R8wn6.mjs")), s = e, i = () => {
|
|
9738
9738
|
s("update:show", !1);
|
|
9739
9739
|
};
|
|
9740
9740
|
return (a, l) => {
|
|
@@ -9916,7 +9916,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
9916
9916
|
},
|
|
9917
9917
|
emits: ["update:show"],
|
|
9918
9918
|
setup(t, { emit: e }) {
|
|
9919
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
9919
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C-0R8wn6.mjs")), i = U(!1), a = q(() => ({
|
|
9920
9920
|
animation: 200,
|
|
9921
9921
|
group: "links",
|
|
9922
9922
|
// 链接专用分组
|
|
@@ -10256,7 +10256,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
10256
10256
|
},
|
|
10257
10257
|
emits: ["update:show"],
|
|
10258
10258
|
setup(t, { emit: e }) {
|
|
10259
|
-
const n = qe(() => import("./index-
|
|
10259
|
+
const n = qe(() => import("./index-C-0R8wn6.mjs")), s = e, i = () => {
|
|
10260
10260
|
s("update:show", !1);
|
|
10261
10261
|
};
|
|
10262
10262
|
return (a, l) => {
|
|
@@ -10737,7 +10737,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
10737
10737
|
},
|
|
10738
10738
|
emits: ["update:show"],
|
|
10739
10739
|
setup(t, { emit: e }) {
|
|
10740
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
10740
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C-0R8wn6.mjs")), i = U(!1), a = q(() => ({
|
|
10741
10741
|
animation: 200,
|
|
10742
10742
|
group: "gallerys",
|
|
10743
10743
|
// 链接专用分组
|
|
@@ -10945,7 +10945,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
10945
10945
|
const n = t, s = e, i = () => {
|
|
10946
10946
|
var Pe;
|
|
10947
10947
|
if (n.modelValue && n.modelValue.data) return;
|
|
10948
|
-
const
|
|
10948
|
+
const xe = {
|
|
10949
10949
|
id: ((Pe = n.modelValue) == null ? void 0 : Pe.id) || K(),
|
|
10950
10950
|
type: "TimelineStory",
|
|
10951
10951
|
onlyShowPc: !1,
|
|
@@ -10978,35 +10978,35 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
10978
10978
|
}
|
|
10979
10979
|
]
|
|
10980
10980
|
};
|
|
10981
|
-
s("update:modelValue",
|
|
10981
|
+
s("update:modelValue", xe);
|
|
10982
10982
|
}, a = q(() => {
|
|
10983
|
-
var
|
|
10984
|
-
return n.isPreview ? !((
|
|
10983
|
+
var xe;
|
|
10984
|
+
return n.isPreview ? !((xe = n.modelValue) != null && xe.onlyShowPc) || !Ye() : !0;
|
|
10985
10985
|
}), l = U(!1), r = U(!1), u = () => {
|
|
10986
10986
|
s("handleDelete", n.modelValue.id);
|
|
10987
10987
|
}, c = () => {
|
|
10988
10988
|
s("handleCopy", n.modelValue);
|
|
10989
|
-
}, v = (
|
|
10990
|
-
s("handlePaste",
|
|
10989
|
+
}, v = (xe) => {
|
|
10990
|
+
s("handlePaste", xe);
|
|
10991
10991
|
};
|
|
10992
10992
|
i();
|
|
10993
10993
|
const h = U(0), d = U(0), m = U(0), g = U(0), p = U(""), C = U(""), w = U(!1), k = U(typeof window > "u" ? 1024 : window.innerWidth), y = U(typeof window > "u" ? 0 : window.scrollY), x = U(!1), T = U(null), E = U(null), V = U(null), D = U(null), O = U(null), I = U(null), R = U(null), M = U([]), H = U([]), Y = q(() => k.value > 1023.98 ? 100 : 66), oe = q(() => x.value);
|
|
10994
10994
|
Ue(k, () => {
|
|
10995
10995
|
_e();
|
|
10996
10996
|
});
|
|
10997
|
-
const ie = (
|
|
10998
|
-
if (!
|
|
10997
|
+
const ie = (xe) => {
|
|
10998
|
+
if (!xe) return 0;
|
|
10999
10999
|
const Pe = typeof window > "u" ? 0 : window.scrollY;
|
|
11000
|
-
return
|
|
11001
|
-
}, te = (
|
|
11002
|
-
if (!
|
|
11003
|
-
const Pe =
|
|
11000
|
+
return xe.getBoundingClientRect().top + Pe;
|
|
11001
|
+
}, te = (xe) => {
|
|
11002
|
+
if (!xe) return { x: 0, y: 0 };
|
|
11003
|
+
const Pe = xe.getBoundingClientRect(), Ge = typeof window > "u" ? 0 : window.scrollX, Ze = typeof window > "u" ? 0 : window.scrollY;
|
|
11004
11004
|
return {
|
|
11005
11005
|
x: Pe.left + Ge,
|
|
11006
11006
|
y: Pe.top + Ze
|
|
11007
11007
|
};
|
|
11008
|
-
}, G = (
|
|
11009
|
-
typeof document > "u" || (
|
|
11008
|
+
}, G = (xe) => {
|
|
11009
|
+
typeof document > "u" || (xe ? document.body.style.overflow = "hidden" : document.body.style.overflow = "");
|
|
11010
11010
|
}, Q = () => {
|
|
11011
11011
|
typeof window > "u" || (window.addEventListener("scroll", se), window.addEventListener("resize", z), z());
|
|
11012
11012
|
}, X = () => {
|
|
@@ -11016,36 +11016,36 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
11016
11016
|
}, se = () => {
|
|
11017
11017
|
var Ze;
|
|
11018
11018
|
typeof window < "u" && (y.value = window.scrollY);
|
|
11019
|
-
const
|
|
11020
|
-
|
|
11019
|
+
const xe = y.value + Y.value + 64, Pe = ie(D.value), Ge = Pe + (((Ze = D.value) == null ? void 0 : Ze.clientHeight) || 0);
|
|
11020
|
+
xe < Pe ? h.value = 0 : xe > Ge && (h.value = 999), ce(), ye(), Le(), tt(), ve(), it();
|
|
11021
11021
|
}, ce = () => {
|
|
11022
11022
|
var ke;
|
|
11023
|
-
const
|
|
11023
|
+
const xe = y.value + Y.value + 64, Pe = ie(D.value), Ge = Pe + (((ke = D.value) == null ? void 0 : ke.clientHeight) || 0), Ze = {
|
|
11024
11024
|
top: Pe + 15,
|
|
11025
11025
|
bottom: Ge - 378
|
|
11026
11026
|
}, fe = [O.value, I.value];
|
|
11027
|
-
!O.value || !I.value || (
|
|
11027
|
+
!O.value || !I.value || (xe < Ze.top ? fe.forEach((Ve) => {
|
|
11028
11028
|
Ve == null || Ve.classList.add("is-top"), Ve == null || Ve.classList.remove("is-fixed"), Ve == null || Ve.classList.remove("is-bottom");
|
|
11029
|
-
}) :
|
|
11029
|
+
}) : xe > Ze.bottom ? fe.forEach((Ve) => {
|
|
11030
11030
|
Ve == null || Ve.classList.add("is-bottom"), Ve == null || Ve.classList.remove("is-fixed"), Ve == null || Ve.classList.remove("is-top");
|
|
11031
11031
|
}) : fe.forEach((Ve) => {
|
|
11032
11032
|
Ve == null || Ve.classList.add("is-fixed"), Ve == null || Ve.classList.remove("is-top"), Ve == null || Ve.classList.remove("is-bottom");
|
|
11033
11033
|
}));
|
|
11034
11034
|
}, ye = () => {
|
|
11035
11035
|
var ke;
|
|
11036
|
-
const
|
|
11036
|
+
const xe = y.value + Y.value + 64, Pe = R.value, Ge = ie(D.value), Ze = Ge + (((ke = D.value) == null ? void 0 : ke.clientHeight) || 0), fe = {
|
|
11037
11037
|
top: Ge - 80,
|
|
11038
11038
|
bottom: Ze - 181
|
|
11039
11039
|
};
|
|
11040
|
-
Pe && (
|
|
11040
|
+
Pe && (xe < fe.top ? (Pe.classList.add("is-top"), Pe.classList.remove("is-fixed"), Pe.classList.remove("is-bottom")) : xe > fe.bottom ? (Pe.classList.add("is-bottom"), Pe.classList.remove("is-fixed"), Pe.classList.remove("is-top")) : (Pe.classList.add("is-fixed"), Pe.classList.remove("is-top"), Pe.classList.remove("is-bottom")));
|
|
11041
11041
|
}, Le = () => {
|
|
11042
11042
|
var Ze;
|
|
11043
|
-
const
|
|
11043
|
+
const xe = ie(D.value), Pe = ie(R.value);
|
|
11044
11044
|
d.value = ((Ze = D.value) == null ? void 0 : Ze.clientHeight) || 0, g.value = 41 / d.value;
|
|
11045
|
-
const Ge = Pe <
|
|
11045
|
+
const Ge = Pe < xe ? y.value + Pe - xe : Pe - xe;
|
|
11046
11046
|
m.value = (Ge + 12) / d.value;
|
|
11047
11047
|
}, tt = () => {
|
|
11048
|
-
const
|
|
11048
|
+
const xe = y.value + Y.value + 64, Pe = M.value.length;
|
|
11049
11049
|
for (let Ge = 0; Ge < Pe; Ge++) {
|
|
11050
11050
|
const Ze = M.value[Ge], fe = ie(Ze), ke = Ze.clientHeight, Ve = ie(Ze) + ke, Me = H.value[Ge], He = Me.clientHeight, xt = oe.value ? {
|
|
11051
11051
|
top: fe + 31,
|
|
@@ -11058,37 +11058,37 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
11058
11058
|
Me.classList.add("is-top"), Me.classList.remove("is-fixed"), Me.classList.remove("is-bottom");
|
|
11059
11059
|
continue;
|
|
11060
11060
|
}
|
|
11061
|
-
|
|
11061
|
+
xe < xt.top ? (Me.classList.add("is-top"), Me.classList.remove("is-fixed"), Me.classList.remove("is-bottom")) : xe > xt.bottom ? (Me.classList.add("is-bottom"), Me.classList.remove("is-fixed"), Me.classList.remove("is-top")) : (Me.classList.add("is-fixed"), Me.classList.remove("is-top"), Me.classList.remove("is-bottom"));
|
|
11062
11062
|
}
|
|
11063
11063
|
}, ve = () => {
|
|
11064
|
-
const
|
|
11064
|
+
const xe = y.value + Y.value + 64, Pe = M.value.length;
|
|
11065
11065
|
let Ge = !1;
|
|
11066
11066
|
for (let Ze = 0; Ze < Pe; Ze++) {
|
|
11067
11067
|
const fe = M.value[Ze], ke = ie(fe), Ve = ie(fe) + fe.clientHeight, He = H.value[Ze].clientHeight, xt = {
|
|
11068
11068
|
top: ke - 300,
|
|
11069
11069
|
bottom: Ve - He
|
|
11070
11070
|
};
|
|
11071
|
-
if (
|
|
11071
|
+
if (xe > xt.top && xe < xt.bottom) {
|
|
11072
11072
|
h.value = Ze, Ge = !0;
|
|
11073
11073
|
break;
|
|
11074
11074
|
}
|
|
11075
11075
|
}
|
|
11076
11076
|
if (!Ge && Pe > 0) {
|
|
11077
11077
|
const Ze = M.value[0], fe = ie(Ze);
|
|
11078
|
-
|
|
11078
|
+
xe < fe - 300 && (h.value = 0);
|
|
11079
11079
|
}
|
|
11080
|
-
}, Ae = (
|
|
11081
|
-
const Pe = k.value < 768 ? 120 : 150, Ge = te(M.value[
|
|
11080
|
+
}, Ae = (xe) => {
|
|
11081
|
+
const Pe = k.value < 768 ? 120 : 150, Ge = te(M.value[xe]).y - Pe;
|
|
11082
11082
|
typeof window < "u" && window.scroll({ top: Ge, left: 0, behavior: "smooth" });
|
|
11083
11083
|
}, it = () => {
|
|
11084
|
-
const
|
|
11085
|
-
if (!
|
|
11086
|
-
const Pe =
|
|
11084
|
+
const xe = T.value;
|
|
11085
|
+
if (!xe) return;
|
|
11086
|
+
const Pe = xe.getBoundingClientRect().top, Ge = xe.getBoundingClientRect().bottom, Ze = typeof window > "u" || typeof document > "u" ? k.value < 768 ? 66 : 100 : Number(
|
|
11087
11087
|
window.getComputedStyle(document.body).getPropertyValue("--header-height-calc").split("px")[0]
|
|
11088
11088
|
), fe = V.value;
|
|
11089
11089
|
fe && (Pe - 80 > Ze || Ge < Ze ? (fe.classList.remove("is-fixed"), fe.classList.add("d-none")) : (fe.classList.add("is-fixed"), fe.classList.remove("d-none")));
|
|
11090
|
-
}, Ie = (
|
|
11091
|
-
p.value =
|
|
11090
|
+
}, Ie = (xe) => {
|
|
11091
|
+
p.value = xe.text, C.value = xe.image, G(!0), w.value = !0;
|
|
11092
11092
|
}, _e = () => {
|
|
11093
11093
|
G(!1), w.value = !1;
|
|
11094
11094
|
}, Ee = () => {
|
|
@@ -11104,7 +11104,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
11104
11104
|
});
|
|
11105
11105
|
}), Qn(() => {
|
|
11106
11106
|
X();
|
|
11107
|
-
}), (
|
|
11107
|
+
}), (xe, Pe) => {
|
|
11108
11108
|
var Ge, Ze, fe;
|
|
11109
11109
|
return _(), S(ue, null, [
|
|
11110
11110
|
a.value ? (_(), S("div", {
|
|
@@ -11324,7 +11324,7 @@ function W0() {
|
|
|
11324
11324
|
}
|
|
11325
11325
|
return qa;
|
|
11326
11326
|
}
|
|
11327
|
-
const
|
|
11327
|
+
const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS = /* @__PURE__ */ pe({
|
|
11328
11328
|
name: "ListSort",
|
|
11329
11329
|
__name: "ListSort",
|
|
11330
11330
|
props: {
|
|
@@ -12017,13 +12017,13 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12017
12017
|
},
|
|
12018
12018
|
host: {
|
|
12019
12019
|
type: String,
|
|
12020
|
-
default: "
|
|
12021
|
-
|
|
12020
|
+
// default: "cms-web.ycismelody.cn",
|
|
12021
|
+
default: ""
|
|
12022
12022
|
},
|
|
12023
12023
|
locale: {
|
|
12024
12024
|
type: String,
|
|
12025
|
-
default: "sc"
|
|
12026
|
-
|
|
12025
|
+
// default: "sc",
|
|
12026
|
+
default: ""
|
|
12027
12027
|
}
|
|
12028
12028
|
},
|
|
12029
12029
|
emits: [
|
|
@@ -12035,23 +12035,28 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12035
12035
|
],
|
|
12036
12036
|
setup(t, { emit: e }) {
|
|
12037
12037
|
const n = t, s = e, i = {
|
|
12038
|
+
articleCategoryGroups: "/article/category/group/listForWeb",
|
|
12038
12039
|
articleYears: "/article/years"
|
|
12039
12040
|
}, a = U([]), l = U([]), r = () => {
|
|
12040
|
-
|
|
12041
|
-
|
|
12042
|
-
|
|
12043
|
-
|
|
12044
|
-
|
|
12045
|
-
|
|
12041
|
+
Promise.all([
|
|
12042
|
+
Cn.get(i.articleCategoryGroups, {
|
|
12043
|
+
params: { langCode: n.locale, host: n.host }
|
|
12044
|
+
}),
|
|
12045
|
+
Cn.get(i.articleYears, {
|
|
12046
|
+
params: { langCode: n.locale, host: n.host }
|
|
12047
|
+
})
|
|
12048
|
+
]).then(([_e, Ee]) => {
|
|
12049
|
+
var xe;
|
|
12050
|
+
a.value = _e.data.data, l.value = Ee.data.data, n.modelValue.article_category_group_id = ((xe = a.value[0]) == null ? void 0 : xe.groupId) || void 0, w.value = !0;
|
|
12046
12051
|
});
|
|
12047
12052
|
}, u = () => {
|
|
12048
|
-
var Ee,
|
|
12053
|
+
var Ee, xe;
|
|
12049
12054
|
if (n.modelValue && n.modelValue.data) return;
|
|
12050
12055
|
const _e = {
|
|
12051
12056
|
id: ((Ee = n.modelValue) == null ? void 0 : Ee.id) || K(),
|
|
12052
12057
|
type: "NewsList",
|
|
12053
12058
|
onlyShowPc: !1,
|
|
12054
|
-
api: ((
|
|
12059
|
+
api: ((xe = n.modelValue) == null ? void 0 : xe.api) || "/article/newsList",
|
|
12055
12060
|
sort: [
|
|
12056
12061
|
{
|
|
12057
12062
|
key: "most-recent",
|
|
@@ -12089,9 +12094,9 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12089
12094
|
const C = U(null), w = U(!1), k = U(0), y = U(null), x = U(null), T = U("所有年份"), E = U(10), V = U(1), D = U(12), O = U([]), I = U({}), R = U(""), M = U(typeof window > "u" ? 1024 : window.innerWidth), H = () => {
|
|
12090
12095
|
M.value = typeof window > "u" ? 1024 : window.innerWidth;
|
|
12091
12096
|
}, Y = q(() => {
|
|
12092
|
-
var
|
|
12097
|
+
var xe, Pe;
|
|
12093
12098
|
if (!w.value)
|
|
12094
|
-
return Object.freeze(((
|
|
12099
|
+
return Object.freeze(((xe = n.modelValue) == null ? void 0 : xe.list) ?? []);
|
|
12095
12100
|
const _e = JSON.parse(
|
|
12096
12101
|
JSON.stringify(a.value)
|
|
12097
12102
|
);
|
|
@@ -12117,14 +12122,14 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12117
12122
|
name: "全部",
|
|
12118
12123
|
list: []
|
|
12119
12124
|
}
|
|
12120
|
-
],
|
|
12125
|
+
], xe = Y.value.map(function(Pe) {
|
|
12121
12126
|
return {
|
|
12122
12127
|
key: Pe.key,
|
|
12123
12128
|
name: Pe.name,
|
|
12124
12129
|
list: []
|
|
12125
12130
|
};
|
|
12126
12131
|
});
|
|
12127
|
-
return Object.freeze(Ee.concat(
|
|
12132
|
+
return Object.freeze(Ee.concat(xe));
|
|
12128
12133
|
}
|
|
12129
12134
|
return ((_e = n.modelValue) == null ? void 0 : _e.list) ?? void 0;
|
|
12130
12135
|
}), te = q(() => {
|
|
@@ -12143,17 +12148,17 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12143
12148
|
var _e;
|
|
12144
12149
|
return !x.value || !x.value.length ? X.value : ((_e = X.value) == null ? void 0 : _e.filter((Ee) => {
|
|
12145
12150
|
var Pe;
|
|
12146
|
-
let
|
|
12151
|
+
let xe = !1;
|
|
12147
12152
|
return (Pe = x.value) == null || Pe.forEach((Ge) => {
|
|
12148
|
-
|
|
12149
|
-
}),
|
|
12153
|
+
xe = Ee && Ee.keywords && Ee.keywords.includes(Ge) ? !0 : xe;
|
|
12154
|
+
}), xe;
|
|
12150
12155
|
})) ?? [];
|
|
12151
12156
|
}), se = q(() => {
|
|
12152
12157
|
if (!y.value || y.value === "most-recent")
|
|
12153
12158
|
return [...z.value].sort(
|
|
12154
12159
|
(ke, Ve) => new Date(Ve.date).getTime() - new Date(ke.date).getTime()
|
|
12155
12160
|
);
|
|
12156
|
-
const _e = /* @__PURE__ */ new Date(), Ee = _e.getFullYear(),
|
|
12161
|
+
const _e = /* @__PURE__ */ new Date(), Ee = _e.getFullYear(), xe = _e.getMonth(), Pe = _e.getDate(), Ge = new Date(Ee, xe - 1 < 0 ? 11 : xe - 1, Pe), Ze = new Date(Ee - 1, xe, Pe), fe = y.value === "past-month" ? Ge : Ze;
|
|
12157
12162
|
return z.value.filter(
|
|
12158
12163
|
(ke) => new Date(ke.date) > fe && new Date(ke.date) < _e
|
|
12159
12164
|
);
|
|
@@ -12161,14 +12166,14 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12161
12166
|
var _e;
|
|
12162
12167
|
return ((_e = n.modelValue) == null ? void 0 : _e.displayYearList) ?? !0 ? l.value : [];
|
|
12163
12168
|
}), ye = q(() => {
|
|
12164
|
-
var _e, Ee,
|
|
12165
|
-
return w.value || (_e = n.modelValue) != null && _e.list && ((
|
|
12169
|
+
var _e, Ee, xe;
|
|
12170
|
+
return w.value || (_e = n.modelValue) != null && _e.list && ((xe = (Ee = n.modelValue.list[0]) == null ? void 0 : Ee.list) == null ? void 0 : xe.length) === 0 ? O.value : se.value.slice(
|
|
12166
12171
|
(V.value - 1) * D.value,
|
|
12167
12172
|
V.value * D.value
|
|
12168
12173
|
);
|
|
12169
12174
|
}), Le = (_e) => {
|
|
12170
12175
|
if (!_e) return;
|
|
12171
|
-
const Ee = 100,
|
|
12176
|
+
const Ee = 100, xe = typeof window > "u" ? 0 : window.scrollY, Ge = _e.getBoundingClientRect().top + xe - Ee;
|
|
12172
12177
|
typeof window < "u" && window.scrollTo({
|
|
12173
12178
|
top: Ge,
|
|
12174
12179
|
behavior: "smooth"
|
|
@@ -12191,8 +12196,8 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12191
12196
|
const tt = () => {
|
|
12192
12197
|
O.value = [], E.value = 0;
|
|
12193
12198
|
}, ve = async () => {
|
|
12194
|
-
var _e, Ee,
|
|
12195
|
-
if (w.value || (_e = n.modelValue) != null && _e.list && ((
|
|
12199
|
+
var _e, Ee, xe, Pe;
|
|
12200
|
+
if (w.value || (_e = n.modelValue) != null && _e.list && ((xe = (Ee = n.modelValue.list[0]) == null ? void 0 : Ee.list) == null ? void 0 : xe.length) === 0) {
|
|
12196
12201
|
let Ge = (Pe = n.modelValue) == null ? void 0 : Pe.api;
|
|
12197
12202
|
if (oe.value.length === 0)
|
|
12198
12203
|
return;
|
|
@@ -12209,15 +12214,15 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12209
12214
|
}
|
|
12210
12215
|
};
|
|
12211
12216
|
try {
|
|
12212
|
-
const ke = await
|
|
12217
|
+
const ke = await Cn.get(Ge, fe);
|
|
12213
12218
|
O.value = ke.data.data.data, I.value = ke.data.data.meta, E.value = I.value.last_page;
|
|
12214
12219
|
} catch (ke) {
|
|
12215
12220
|
console.error("Error fetching articles:", ke);
|
|
12216
12221
|
}
|
|
12217
12222
|
}
|
|
12218
12223
|
}, Ae = () => {
|
|
12219
|
-
var _e, Ee,
|
|
12220
|
-
V.value = 1, D.value = M.value >= 768 ? M.value >= 1024 ? 12 : 9 : 10, (w.value || (_e = n.modelValue) != null && _e.list && ((
|
|
12224
|
+
var _e, Ee, xe;
|
|
12225
|
+
V.value = 1, D.value = M.value >= 768 ? M.value >= 1024 ? 12 : 9 : 10, (w.value || (_e = n.modelValue) != null && _e.list && ((xe = (Ee = n.modelValue.list[0]) == null ? void 0 : Ee.list) == null ? void 0 : xe.length) > 0) && (E.value = Math.ceil(se.value.length / D.value));
|
|
12221
12226
|
}, it = () => {
|
|
12222
12227
|
let _e = 0;
|
|
12223
12228
|
R.value && ie.value && (_e = ie.value.findIndex((Ee) => Ee.key == R.value)), k.value = _e > -1 ? _e : 0;
|
|
@@ -12235,8 +12240,8 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12235
12240
|
class: "news-list tab-default",
|
|
12236
12241
|
ref_key: "parent",
|
|
12237
12242
|
ref: C,
|
|
12238
|
-
onMouseenter: Ee[6] || (Ee[6] = (
|
|
12239
|
-
onMouseleave: Ee[7] || (Ee[7] = (
|
|
12243
|
+
onMouseenter: Ee[6] || (Ee[6] = (xe) => v.value = !0),
|
|
12244
|
+
onMouseleave: Ee[7] || (Ee[7] = (xe) => v.value = !1)
|
|
12240
12245
|
}, [
|
|
12241
12246
|
t.host ? (_(), S(ue, { key: 1 }, [
|
|
12242
12247
|
o("div", g9, [
|
|
@@ -12249,14 +12254,14 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12249
12254
|
yearList: l.value,
|
|
12250
12255
|
articleTabList: ie.value ? [...ie.value] : void 0,
|
|
12251
12256
|
onUpdateIdx: Ie,
|
|
12252
|
-
onUpdateSort: Ee[0] || (Ee[0] = (
|
|
12253
|
-
onUpdateFilter: Ee[1] || (Ee[1] = (
|
|
12254
|
-
onUpdateYear: Ee[2] || (Ee[2] = (
|
|
12257
|
+
onUpdateSort: Ee[0] || (Ee[0] = (xe) => y.value = typeof xe == "string" ? xe : null),
|
|
12258
|
+
onUpdateFilter: Ee[1] || (Ee[1] = (xe) => x.value = xe),
|
|
12259
|
+
onUpdateYear: Ee[2] || (Ee[2] = (xe) => T.value = String(xe))
|
|
12255
12260
|
}, null, 8, ["componentProps", "currentIdx", "keySort", "keyFilter", "keyYear", "yearList", "articleTabList"])
|
|
12256
12261
|
]),
|
|
12257
12262
|
o("div", v9, [
|
|
12258
|
-
(_(!0), S(ue, null, we(ie.value, (
|
|
12259
|
-
key:
|
|
12263
|
+
(_(!0), S(ue, null, we(ie.value, (xe, Pe) => (_(), S(ue, {
|
|
12264
|
+
key: xe.key
|
|
12260
12265
|
}, [
|
|
12261
12266
|
Pe == k.value ? (_(), S("div", y9, [
|
|
12262
12267
|
o("div", {
|
|
@@ -12293,8 +12298,8 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12293
12298
|
t.isPreview ? j("", !0) : (_(), ne(We, {
|
|
12294
12299
|
key: 2,
|
|
12295
12300
|
show: v.value,
|
|
12296
|
-
"onUpdate:show": Ee[4] || (Ee[4] = (
|
|
12297
|
-
onHandleEdit: Ee[5] || (Ee[5] = (
|
|
12301
|
+
"onUpdate:show": Ee[4] || (Ee[4] = (xe) => v.value = xe),
|
|
12302
|
+
onHandleEdit: Ee[5] || (Ee[5] = (xe) => h.value = !0),
|
|
12298
12303
|
onHandleDelete: d,
|
|
12299
12304
|
onHandleCopy: m,
|
|
12300
12305
|
onHandlePaste: g
|
|
@@ -12303,14 +12308,14 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12303
12308
|
t.isPreview ? j("", !0) : (_(), ne(p9, {
|
|
12304
12309
|
key: 1,
|
|
12305
12310
|
show: h.value,
|
|
12306
|
-
"onUpdate:show": Ee[8] || (Ee[8] = (
|
|
12311
|
+
"onUpdate:show": Ee[8] || (Ee[8] = (xe) => h.value = xe),
|
|
12307
12312
|
data: t.modelValue,
|
|
12308
12313
|
articleCategoryGroups: a.value,
|
|
12309
12314
|
onHandleChange: tt
|
|
12310
12315
|
}, null, 8, ["show", "data", "articleCategoryGroups"]))
|
|
12311
12316
|
], 64));
|
|
12312
12317
|
}
|
|
12313
|
-
}), Ph = /* @__PURE__ */ he(b9, [["__scopeId", "data-v-
|
|
12318
|
+
}), Ph = /* @__PURE__ */ he(b9, [["__scopeId", "data-v-0c4e7ec9"]]), w9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: Ph }, Symbol.toStringTag, { value: "Module" })), x9 = { class: "setting-content" }, C9 = { class: "setting-header flex items-center" }, T9 = { class: "setting-header flex items-center" }, k9 = { class: "setting-header flex items-center" }, S9 = {
|
|
12314
12319
|
key: 1,
|
|
12315
12320
|
class: "btn-setting"
|
|
12316
12321
|
}, V9 = { class: "btn-group" }, E9 = { class: "item-action flex items-center" }, P9 = { class: "setting-body" }, $9 = { class: "btn-group" }, D9 = {
|
|
@@ -12334,7 +12339,7 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12334
12339
|
},
|
|
12335
12340
|
emits: ["update:show"],
|
|
12336
12341
|
setup(t, { emit: e }) {
|
|
12337
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
12342
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C-0R8wn6.mjs")), i = U(!1), a = q(() => ({
|
|
12338
12343
|
animation: 200,
|
|
12339
12344
|
group: "gallerys",
|
|
12340
12345
|
// 链接专用分组
|
|
@@ -13515,7 +13520,7 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
13515
13520
|
emits: ["update:show"],
|
|
13516
13521
|
setup(t, { emit: e }) {
|
|
13517
13522
|
const n = qe(
|
|
13518
|
-
() => import("./index-
|
|
13523
|
+
() => import("./index-C-0R8wn6.mjs")
|
|
13519
13524
|
), s = e, i = () => {
|
|
13520
13525
|
s("update:show", !1);
|
|
13521
13526
|
};
|
|
@@ -14936,7 +14941,7 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
14936
14941
|
setup(t, { emit: e }) {
|
|
14937
14942
|
var T;
|
|
14938
14943
|
const n = qe(() => import("vuedraggable")), s = qe(
|
|
14939
|
-
() => import("./index-
|
|
14944
|
+
() => import("./index-C-0R8wn6.mjs")
|
|
14940
14945
|
), i = q(() => ({
|
|
14941
14946
|
animation: 200,
|
|
14942
14947
|
group: "links",
|
|
@@ -17045,7 +17050,7 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17045
17050
|
emits: ["update:show"],
|
|
17046
17051
|
setup(t, { emit: e }) {
|
|
17047
17052
|
const n = qe(
|
|
17048
|
-
() => import("./index-
|
|
17053
|
+
() => import("./index-C-0R8wn6.mjs")
|
|
17049
17054
|
), s = qe(() => import("vuedraggable")), i = t, a = U(!1), l = U(/* @__PURE__ */ new Set()), r = U(/* @__PURE__ */ new Set());
|
|
17050
17055
|
Ue(
|
|
17051
17056
|
() => {
|
|
@@ -17814,11 +17819,11 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17814
17819
|
let Me = ke, He = Ve;
|
|
17815
17820
|
const xt = Y.value, rn = H.value;
|
|
17816
17821
|
if (!xt || !rn) return;
|
|
17817
|
-
const es = xt.getBoundingClientRect().width, Nt = xt.getBoundingClientRect().height,
|
|
17822
|
+
const es = xt.getBoundingClientRect().width, Nt = xt.getBoundingClientRect().height, En = rn.getBoundingClientRect().height, Pt = typeof window < "u" ? window.innerWidth : 1024, Ft = {
|
|
17818
17823
|
right: -es + Pt / 2,
|
|
17819
17824
|
left: -1 * Pt / 2,
|
|
17820
|
-
top: -Nt +
|
|
17821
|
-
bottom: -1 *
|
|
17825
|
+
top: -Nt + En / 2,
|
|
17826
|
+
bottom: -1 * En / 2
|
|
17822
17827
|
};
|
|
17823
17828
|
Me < Ft.right ? Me = Ft.right : Me > Ft.left && (Me = Ft.left), He < Ft.top ? He = Ft.top : He > Ft.bottom && (He = Ft.bottom), x.value = Me, T.value = He;
|
|
17824
17829
|
}, Ee = (ke) => {
|
|
@@ -17827,7 +17832,7 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17827
17832
|
const Ve = x.value - ke.deltaX;
|
|
17828
17833
|
_e(Ve, T.value);
|
|
17829
17834
|
}
|
|
17830
|
-
},
|
|
17835
|
+
}, xe = () => {
|
|
17831
17836
|
const ke = Y.value, Ve = H.value;
|
|
17832
17837
|
if (ke && Ve && ke.clientWidth) {
|
|
17833
17838
|
const Me = Ve.clientWidth, He = Ve.clientHeight, xt = ke.clientWidth, rn = ke.clientHeight;
|
|
@@ -17839,7 +17844,7 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17839
17844
|
}, Ge = (ke) => {
|
|
17840
17845
|
ke === m.value && (m.value = NaN);
|
|
17841
17846
|
}, Ze = () => {
|
|
17842
|
-
|
|
17847
|
+
xe(), Re(() => {
|
|
17843
17848
|
typeof window < "u" && window.innerWidth <= 768 && setTimeout(() => E.value = !0, 1300);
|
|
17844
17849
|
});
|
|
17845
17850
|
}, fe = (ke) => {
|
|
@@ -17860,7 +17865,7 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17860
17865
|
}), Ue(
|
|
17861
17866
|
() => typeof window < "u" ? window.innerWidth : 1024,
|
|
17862
17867
|
() => {
|
|
17863
|
-
|
|
17868
|
+
xe();
|
|
17864
17869
|
}
|
|
17865
17870
|
), Ue(p, () => {
|
|
17866
17871
|
E.value = !0;
|
|
@@ -17892,7 +17897,7 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17892
17897
|
// 如果需要立即执行一次
|
|
17893
17898
|
}
|
|
17894
17899
|
), rt(() => {
|
|
17895
|
-
|
|
17900
|
+
xe();
|
|
17896
17901
|
}), (ke, Ve) => {
|
|
17897
17902
|
var Me;
|
|
17898
17903
|
return _(), S(ue, null, [
|
|
@@ -20654,7 +20659,7 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
20654
20659
|
},
|
|
20655
20660
|
emits: ["update:show"],
|
|
20656
20661
|
setup(t, { emit: e }) {
|
|
20657
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
20662
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C-0R8wn6.mjs")), i = U(!1), a = q(() => ({
|
|
20658
20663
|
animation: 200,
|
|
20659
20664
|
group: "data",
|
|
20660
20665
|
// 专用分组
|
|
@@ -20943,7 +20948,7 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
20943
20948
|
},
|
|
20944
20949
|
emits: ["update:show"],
|
|
20945
20950
|
setup(t, { emit: e }) {
|
|
20946
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
20951
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C-0R8wn6.mjs")), i = U(!1), a = q(() => ({
|
|
20947
20952
|
animation: 200,
|
|
20948
20953
|
group: "data",
|
|
20949
20954
|
// 专用分组
|
|
@@ -22637,7 +22642,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
22637
22642
|
sign: te
|
|
22638
22643
|
});
|
|
22639
22644
|
try {
|
|
22640
|
-
const { data: X } = await
|
|
22645
|
+
const { data: X } = await Cn.post((Q = n.modelValue) == null ? void 0 : Q.api, G), z = X.data.ref_no;
|
|
22641
22646
|
Y(), s("handleClick", `/thank-you?ref=${z}`);
|
|
22642
22647
|
} catch (X) {
|
|
22643
22648
|
console.log(X), oe();
|
|
@@ -24308,12 +24313,12 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
24308
24313
|
key: Ee
|
|
24309
24314
|
}, {
|
|
24310
24315
|
default: $(() => [
|
|
24311
|
-
(_(!0), S(ue, null, we(I(_e), (
|
|
24312
|
-
key:
|
|
24316
|
+
(_(!0), S(ue, null, we(I(_e), (xe) => (_(), S("div", {
|
|
24317
|
+
key: xe,
|
|
24313
24318
|
class: re(["row", [`row-cols-${D.value}`]]),
|
|
24314
24319
|
style: je({ "--cc-cols": D.value })
|
|
24315
24320
|
}, [
|
|
24316
|
-
(_(!0), S(ue, null, we(R(_e,
|
|
24321
|
+
(_(!0), S(ue, null, we(R(_e, xe), (Pe) => (_(), S("div", {
|
|
24317
24322
|
class: "slide-content col",
|
|
24318
24323
|
key: Pe.key || Pe.slug
|
|
24319
24324
|
}, [
|
|
@@ -24378,7 +24383,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
24378
24383
|
emits: ["update:show"],
|
|
24379
24384
|
setup(t, { emit: e }) {
|
|
24380
24385
|
const n = qe(
|
|
24381
|
-
() => import("./index-
|
|
24386
|
+
() => import("./index-C-0R8wn6.mjs")
|
|
24382
24387
|
), s = e, i = () => {
|
|
24383
24388
|
s("update:show", !1);
|
|
24384
24389
|
};
|
|
@@ -24594,7 +24599,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
24594
24599
|
emits: ["update:show"],
|
|
24595
24600
|
setup(t, { emit: e }) {
|
|
24596
24601
|
const n = qe(
|
|
24597
|
-
() => import("./index-
|
|
24602
|
+
() => import("./index-C-0R8wn6.mjs")
|
|
24598
24603
|
), s = e, i = () => {
|
|
24599
24604
|
s("update:show", !1);
|
|
24600
24605
|
};
|
|
@@ -24810,7 +24815,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
24810
24815
|
emits: ["update:show"],
|
|
24811
24816
|
setup(t, { emit: e }) {
|
|
24812
24817
|
qe(
|
|
24813
|
-
() => import("./index-
|
|
24818
|
+
() => import("./index-C-0R8wn6.mjs")
|
|
24814
24819
|
);
|
|
24815
24820
|
const n = e, s = () => {
|
|
24816
24821
|
n("update:show", !1);
|
|
@@ -25407,7 +25412,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
25407
25412
|
page: 1,
|
|
25408
25413
|
category: (x = n.modelValue) == null ? void 0 : x.category
|
|
25409
25414
|
}
|
|
25410
|
-
}, y = await
|
|
25415
|
+
}, y = await Cn.get((T = n.modelValue) == null ? void 0 : T.api, k);
|
|
25411
25416
|
m.value = y.data.data.data;
|
|
25412
25417
|
};
|
|
25413
25418
|
return rt(() => {
|
|
@@ -25835,7 +25840,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
25835
25840
|
}
|
|
25836
25841
|
}, D = `${(O = n.modelValue) == null ? void 0 : O.api}?per_page=${m.value}&page=${d.value}`;
|
|
25837
25842
|
try {
|
|
25838
|
-
const { data: I } = await
|
|
25843
|
+
const { data: I } = await Cn.get(D, V);
|
|
25839
25844
|
g.value = I.meta.last_page, p.value = I.data;
|
|
25840
25845
|
} catch {
|
|
25841
25846
|
g.value = 1, p.value = [];
|
|
@@ -26110,7 +26115,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
26110
26115
|
}
|
|
26111
26116
|
}, G = `${(Q = n.modelValue) == null ? void 0 : Q.api}`;
|
|
26112
26117
|
try {
|
|
26113
|
-
const { data: X } = await
|
|
26118
|
+
const { data: X } = await Cn.get(G, te);
|
|
26114
26119
|
h.value = X.data;
|
|
26115
26120
|
} catch {
|
|
26116
26121
|
h.value = [];
|
|
@@ -26419,7 +26424,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
26419
26424
|
let C = null, w = null;
|
|
26420
26425
|
const k = async () => {
|
|
26421
26426
|
var M;
|
|
26422
|
-
|
|
26427
|
+
Cn.get("/article/category/listForWeb", {
|
|
26423
26428
|
params: { langCode: n.locale, host: n.host }
|
|
26424
26429
|
}).then((H) => {
|
|
26425
26430
|
i.value = H.data.data;
|
|
@@ -26433,7 +26438,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
26433
26438
|
page: 1
|
|
26434
26439
|
}
|
|
26435
26440
|
};
|
|
26436
|
-
let R = await
|
|
26441
|
+
let R = await Cn.get(n.modelValue.api, I);
|
|
26437
26442
|
g.value = R.data.data.data;
|
|
26438
26443
|
}, y = (I) => {
|
|
26439
26444
|
w = I, D();
|
|
@@ -26865,7 +26870,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
26865
26870
|
host: n.host,
|
|
26866
26871
|
langCode: n.locale
|
|
26867
26872
|
}
|
|
26868
|
-
}, C = `${(k = n.modelValue) == null ? void 0 : k.api}?count=${(y = n.modelValue) == null ? void 0 : y.count}`, { data: w } = await
|
|
26873
|
+
}, C = `${(k = n.modelValue) == null ? void 0 : k.api}?count=${(y = n.modelValue) == null ? void 0 : y.count}`, { data: w } = await Cn.get(C, p);
|
|
26869
26874
|
d.value = w.data;
|
|
26870
26875
|
};
|
|
26871
26876
|
return rt(() => {
|
|
@@ -27240,7 +27245,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
27240
27245
|
host: e.host,
|
|
27241
27246
|
langCode: e.locale
|
|
27242
27247
|
}
|
|
27243
|
-
}, x = "/school/listForComponent", { data: T } = await
|
|
27248
|
+
}, x = "/school/listForComponent", { data: T } = await Cn.get(x, y);
|
|
27244
27249
|
i.value = T.data;
|
|
27245
27250
|
} catch (y) {
|
|
27246
27251
|
console.error("Error fetching school list:", y);
|
|
@@ -27256,7 +27261,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
27256
27261
|
langCode: e.locale,
|
|
27257
27262
|
locationId: y
|
|
27258
27263
|
}
|
|
27259
|
-
}, T = "/school/location", { data: E } = await
|
|
27264
|
+
}, T = "/school/location", { data: E } = await Cn.get(T, x);
|
|
27260
27265
|
i.value = E.data;
|
|
27261
27266
|
} catch (x) {
|
|
27262
27267
|
console.error("Error fetching location list:", x);
|
|
@@ -27540,10 +27545,10 @@ const IH = { key: 0 }, OH = {
|
|
|
27540
27545
|
schoolLocations: "/location/listForWeb"
|
|
27541
27546
|
}, a = U([]), l = U([]), r = () => {
|
|
27542
27547
|
Promise.all([
|
|
27543
|
-
|
|
27548
|
+
Cn.get(i.schoolCategories, {
|
|
27544
27549
|
params: { langCode: n.locale, host: n.host }
|
|
27545
27550
|
}),
|
|
27546
|
-
|
|
27551
|
+
Cn.get(i.schoolLocations)
|
|
27547
27552
|
]).then(([E, V]) => {
|
|
27548
27553
|
a.value = E.data.data, l.value = V.data.data, AH.nextTick(() => {
|
|
27549
27554
|
console.log("slugId", x.value), isNaN(x.value) || T();
|
|
@@ -27597,7 +27602,7 @@ const IH = { key: 0 }, OH = {
|
|
|
27597
27602
|
langCode: n.locale,
|
|
27598
27603
|
categoryId: x.value
|
|
27599
27604
|
}
|
|
27600
|
-
}, { data: V } = await
|
|
27605
|
+
}, { data: V } = await Cn.get(n.modelValue.api, E);
|
|
27601
27606
|
w.value = V.data.schools;
|
|
27602
27607
|
const D = V.data.logo_url;
|
|
27603
27608
|
D && (p.value = Array.isArray(D) ? D.map((Y) => ({ id: K(), url: Y.url })) : [{ id: K(), imgSrc: D }], k.value.data = p.value, console.log("logo_list", p.value));
|
|
@@ -27877,7 +27882,7 @@ const IH = { key: 0 }, OH = {
|
|
|
27877
27882
|
host: n.host,
|
|
27878
27883
|
langCode: n.locale
|
|
27879
27884
|
}
|
|
27880
|
-
}, { data: ye } = await
|
|
27885
|
+
}, { data: ye } = await Cn.get(se, ce);
|
|
27881
27886
|
k.value = ye.data;
|
|
27882
27887
|
}
|
|
27883
27888
|
O();
|
|
@@ -28406,7 +28411,7 @@ const IH = { key: 0 }, OH = {
|
|
|
28406
28411
|
},
|
|
28407
28412
|
emits: ["handleDelete", "handleCopy", "handlePaste", "handleClick"],
|
|
28408
28413
|
setup(t, { emit: e }) {
|
|
28409
|
-
const n = /* @__PURE__ */ Object.assign({ "/src/components/AccordionText/index.vue": () => Promise.resolve().then(() => uie), "/src/components/AlummiCommunityList/index.vue": () => Promise.resolve().then(() => sN), "/src/components/ArticleItem/index.vue": () => Promise.resolve().then(() => bk), "/src/components/ArticleList/index.vue": () => Promise.resolve().then(() => Nw), "/src/components/ArticleListPureText/index.vue": () => Promise.resolve().then(() => YR), "/src/components/BackgroundWrapper/index.vue": () => Promise.resolve().then(() => Rte), "/src/components/BannerImage/index.vue": () => Promise.resolve().then(() => n8), "/src/components/BannerImageWithLink/index.vue": () => Promise.resolve().then(() => OE), "/src/components/BannerPage/index.vue": () => Promise.resolve().then(() => p8), "/src/components/BannerQuote/index.vue": () => Promise.resolve().then(() => sk), "/src/components/BasicCollapse/index.vue": () => Promise.resolve().then(() => KO), "/src/components/BlessingMessage/index.vue": () => Promise.resolve().then(() => zN), "/src/components/BlessingSlider/index.vue": () => Promise.resolve().then(() => oF), "/src/components/BtnList/index.vue": () => Promise.resolve().then(() => A8), "/src/components/CardCarousel/index.vue": () => Promise.resolve().then(() => _T), "/src/components/CardCarouselArticles/index.vue": () => Promise.resolve().then(() => jB), "/src/components/CardCarouselMultiRow/index.vue": () => Promise.resolve().then(() => FT), "/src/components/CardCarouselMultiRowArticles/index.vue": () => Promise.resolve().then(() => nR), "/src/components/CardCarouselMultiRowPublications/index.vue": () => Promise.resolve().then(() => YH), "/src/components/CardListCircle/index.vue": () => Promise.resolve().then(() => Nq), "/src/components/CardListProgramme/index.vue": () => Promise.resolve().then(() => fz), "/src/components/CardListSchool/index.vue": () => Promise.resolve().then(() => Wz), "/src/components/CardShowcase/index.vue": () => Promise.resolve().then(() => BF), "/src/components/CardShowcaseProfile/index.vue": () => Promise.resolve().then(() => eV), "/src/components/CarouselLogo/index.vue": () => Promise.resolve().then(() => UL), "/src/components/CollapseCustom/index.vue": () => Promise.resolve().then(() => bne), "/src/components/ContactUsInfo/index.vue": () => Promise.resolve().then(() => w$), "/src/components/ContactUsList/index.vue": () => Promise.resolve().then(() => KV), "/src/components/CountDown/index.vue": () => Promise.resolve().then(() => yV), "/src/components/CustomIframe/index.vue": () => Promise.resolve().then(() => PV), "/src/components/CustomSpace/index.vue": () => Promise.resolve().then(() => vC), "/src/components/CustomText/index.vue": () => Promise.resolve().then(() => cR), "/src/components/DetailLink/index.vue": () => Promise.resolve().then(() => tW), "/src/components/Disc/index.vue": () => Promise.resolve().then(() => OO), "/src/components/DonorLinks/index.vue": () => Promise.resolve().then(() => N6), "/src/components/ExploreLinks/index.vue": () => Promise.resolve().then(() => XF), "/src/components/GalleryBlock/index.vue": () => Promise.resolve().then(() => TB), "/src/components/GalleryCaptionRound/index.vue": () => Promise.resolve().then(() => V3), "/src/components/GalleryDefault/index.vue": () => Promise.resolve().then(() => t3), "/src/components/GalleryList/index.vue": () => Promise.resolve().then(() => b5), "/src/components/GalleryTimeline/index.vue": () => Promise.resolve().then(() => wx), "/src/components/GalleryTimelineCol/index.vue": () => Promise.resolve().then(() => i4), "/src/components/GridLinks/index.vue": () => Promise.resolve().then(() => Hse), "/src/components/HeroSlide/index.vue": () => Promise.resolve().then(() => e6), "/src/components/InformationLink/index.vue": () => Promise.resolve().then(() => _ee), "/src/components/LinkLIst/index.vue": () => Promise.resolve().then(() => m6), "/src/components/MapStatic/index.vue": () => Promise.resolve().then(() => dL), "/src/components/MediaImageFull/index.vue": () => Promise.resolve().then(() => TR), "/src/components/MediaImageStatic/index.vue": () => Promise.resolve().then(() => MR), "/src/components/MediaLogo/index.vue": () => Promise.resolve().then(() => WM), "/src/components/MediaVideo/index.vue": () => Promise.resolve().then(() => ree), "/src/components/NewsList/index.vue": () => Promise.resolve().then(() => w9), "/src/components/Process/index.vue": () => Promise.resolve().then(() => uC), "/src/components/Publications/index.vue": () => Promise.resolve().then(() => _D), "/src/components/QuoteText/index.vue": () => import("./index-
|
|
28414
|
+
const n = /* @__PURE__ */ Object.assign({ "/src/components/AccordionText/index.vue": () => Promise.resolve().then(() => uie), "/src/components/AlummiCommunityList/index.vue": () => Promise.resolve().then(() => sN), "/src/components/ArticleItem/index.vue": () => Promise.resolve().then(() => bk), "/src/components/ArticleList/index.vue": () => Promise.resolve().then(() => Nw), "/src/components/ArticleListPureText/index.vue": () => Promise.resolve().then(() => YR), "/src/components/BackgroundWrapper/index.vue": () => Promise.resolve().then(() => Rte), "/src/components/BannerImage/index.vue": () => Promise.resolve().then(() => n8), "/src/components/BannerImageWithLink/index.vue": () => Promise.resolve().then(() => OE), "/src/components/BannerPage/index.vue": () => Promise.resolve().then(() => p8), "/src/components/BannerQuote/index.vue": () => Promise.resolve().then(() => sk), "/src/components/BasicCollapse/index.vue": () => Promise.resolve().then(() => KO), "/src/components/BlessingMessage/index.vue": () => Promise.resolve().then(() => zN), "/src/components/BlessingSlider/index.vue": () => Promise.resolve().then(() => oF), "/src/components/BtnList/index.vue": () => Promise.resolve().then(() => A8), "/src/components/CardCarousel/index.vue": () => Promise.resolve().then(() => _T), "/src/components/CardCarouselArticles/index.vue": () => Promise.resolve().then(() => jB), "/src/components/CardCarouselMultiRow/index.vue": () => Promise.resolve().then(() => FT), "/src/components/CardCarouselMultiRowArticles/index.vue": () => Promise.resolve().then(() => nR), "/src/components/CardCarouselMultiRowPublications/index.vue": () => Promise.resolve().then(() => YH), "/src/components/CardListCircle/index.vue": () => Promise.resolve().then(() => Nq), "/src/components/CardListProgramme/index.vue": () => Promise.resolve().then(() => fz), "/src/components/CardListSchool/index.vue": () => Promise.resolve().then(() => Wz), "/src/components/CardShowcase/index.vue": () => Promise.resolve().then(() => BF), "/src/components/CardShowcaseProfile/index.vue": () => Promise.resolve().then(() => eV), "/src/components/CarouselLogo/index.vue": () => Promise.resolve().then(() => UL), "/src/components/CollapseCustom/index.vue": () => Promise.resolve().then(() => bne), "/src/components/ContactUsInfo/index.vue": () => Promise.resolve().then(() => w$), "/src/components/ContactUsList/index.vue": () => Promise.resolve().then(() => KV), "/src/components/CountDown/index.vue": () => Promise.resolve().then(() => yV), "/src/components/CustomIframe/index.vue": () => Promise.resolve().then(() => PV), "/src/components/CustomSpace/index.vue": () => Promise.resolve().then(() => vC), "/src/components/CustomText/index.vue": () => Promise.resolve().then(() => cR), "/src/components/DetailLink/index.vue": () => Promise.resolve().then(() => tW), "/src/components/Disc/index.vue": () => Promise.resolve().then(() => OO), "/src/components/DonorLinks/index.vue": () => Promise.resolve().then(() => N6), "/src/components/ExploreLinks/index.vue": () => Promise.resolve().then(() => XF), "/src/components/GalleryBlock/index.vue": () => Promise.resolve().then(() => TB), "/src/components/GalleryCaptionRound/index.vue": () => Promise.resolve().then(() => V3), "/src/components/GalleryDefault/index.vue": () => Promise.resolve().then(() => t3), "/src/components/GalleryList/index.vue": () => Promise.resolve().then(() => b5), "/src/components/GalleryTimeline/index.vue": () => Promise.resolve().then(() => wx), "/src/components/GalleryTimelineCol/index.vue": () => Promise.resolve().then(() => i4), "/src/components/GridLinks/index.vue": () => Promise.resolve().then(() => Hse), "/src/components/HeroSlide/index.vue": () => Promise.resolve().then(() => e6), "/src/components/InformationLink/index.vue": () => Promise.resolve().then(() => _ee), "/src/components/LinkLIst/index.vue": () => Promise.resolve().then(() => m6), "/src/components/MapStatic/index.vue": () => Promise.resolve().then(() => dL), "/src/components/MediaImageFull/index.vue": () => Promise.resolve().then(() => TR), "/src/components/MediaImageStatic/index.vue": () => Promise.resolve().then(() => MR), "/src/components/MediaLogo/index.vue": () => Promise.resolve().then(() => WM), "/src/components/MediaVideo/index.vue": () => Promise.resolve().then(() => ree), "/src/components/NewsList/index.vue": () => Promise.resolve().then(() => w9), "/src/components/Process/index.vue": () => Promise.resolve().then(() => uC), "/src/components/Publications/index.vue": () => Promise.resolve().then(() => _D), "/src/components/QuoteText/index.vue": () => import("./index-BtAEY96c.mjs"), "/src/components/RegisterForm/index.vue": () => Promise.resolve().then(() => sB), "/src/components/Resources/index.vue": () => Promise.resolve().then(() => NI), "/src/components/ResourcesTwo/index.vue": () => Promise.resolve().then(() => iO), "/src/components/RibbonBlock/index.vue": () => Promise.resolve().then(() => Dk), "/src/components/SchoolLayout/index.vue": () => Promise.resolve().then(() => BH), "/src/components/ScrollKeyInfo/index.vue": () => Promise.resolve().then(() => $P), "/src/components/TabDefault/index.vue": () => Promise.resolve().then(() => Mj), "/src/components/TabLogo/index.vue": () => Promise.resolve().then(() => wte), "/src/components/TabPage/index.vue": () => Promise.resolve().then(() => Qee), "/src/components/TabTimeLine/index.vue": () => Promise.resolve().then(() => fq), "/src/components/TableCollapse/index.vue": () => Promise.resolve().then(() => SM), "/src/components/TableTwo/index.vue": () => Promise.resolve().then(() => _E), "/src/components/TheHistoryCarousel/index.vue": () => Promise.resolve().then(() => w7), "/src/components/TimelineStory/index.vue": () => Promise.resolve().then(() => wS), "/src/components/VrTour/index.vue": () => Promise.resolve().then(() => Cse) }), s = {};
|
|
28410
28415
|
for (const v in n)
|
|
28411
28416
|
try {
|
|
28412
28417
|
const h = v.split("/"), d = h[h.length - 2];
|
|
@@ -30107,7 +30112,7 @@ const IH = { key: 0 }, OH = {
|
|
|
30107
30112
|
},
|
|
30108
30113
|
emits: ["update:show"],
|
|
30109
30114
|
setup(t, { emit: e }) {
|
|
30110
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
30115
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C-0R8wn6.mjs")), i = U(!1), a = q(() => ({
|
|
30111
30116
|
animation: 200,
|
|
30112
30117
|
group: "programmes",
|
|
30113
30118
|
// 链接专用分组
|
|
@@ -31127,7 +31132,7 @@ const IH = { key: 0 }, OH = {
|
|
|
31127
31132
|
emits: ["update:show"],
|
|
31128
31133
|
setup(t, { emit: e }) {
|
|
31129
31134
|
qe(
|
|
31130
|
-
() => import("./index-
|
|
31135
|
+
() => import("./index-C-0R8wn6.mjs")
|
|
31131
31136
|
);
|
|
31132
31137
|
const n = e, s = () => {
|
|
31133
31138
|
n("update:show", !1);
|
|
@@ -31337,7 +31342,7 @@ const IH = { key: 0 }, OH = {
|
|
|
31337
31342
|
emits: ["update:show"],
|
|
31338
31343
|
setup(t, { emit: e }) {
|
|
31339
31344
|
qe(
|
|
31340
|
-
() => import("./index-
|
|
31345
|
+
() => import("./index-C-0R8wn6.mjs")
|
|
31341
31346
|
);
|
|
31342
31347
|
const n = e, s = () => {
|
|
31343
31348
|
n("update:show", !1);
|
|
@@ -32242,7 +32247,7 @@ function hd(t, e, n) {
|
|
|
32242
32247
|
}
|
|
32243
32248
|
hd.prototype = gm(zd.prototype);
|
|
32244
32249
|
hd.prototype.constructor = hd;
|
|
32245
|
-
function
|
|
32250
|
+
function Nn(t) {
|
|
32246
32251
|
var e, n, s, i;
|
|
32247
32252
|
if (t.div) {
|
|
32248
32253
|
n = t.div.offsetHeight, s = t.div.offsetWidth, i = t.div.offsetTop;
|
|
@@ -32251,7 +32256,7 @@ function Rn(t) {
|
|
|
32251
32256
|
}
|
|
32252
32257
|
this.left = t.left, this.right = t.right, this.top = t.top || i, this.height = t.height || n, this.bottom = t.bottom || i + (t.height || n), this.width = t.width || s, this.lineHeight = e !== void 0 ? e : t.lineHeight;
|
|
32253
32258
|
}
|
|
32254
|
-
|
|
32259
|
+
Nn.prototype.move = function(t, e) {
|
|
32255
32260
|
switch (e = e !== void 0 ? e : this.lineHeight, t) {
|
|
32256
32261
|
case "+x":
|
|
32257
32262
|
this.left += e, this.right += e;
|
|
@@ -32267,19 +32272,19 @@ Rn.prototype.move = function(t, e) {
|
|
|
32267
32272
|
break;
|
|
32268
32273
|
}
|
|
32269
32274
|
};
|
|
32270
|
-
|
|
32275
|
+
Nn.prototype.overlaps = function(t) {
|
|
32271
32276
|
return this.left < t.right && this.right > t.left && this.top < t.bottom && this.bottom > t.top;
|
|
32272
32277
|
};
|
|
32273
|
-
|
|
32278
|
+
Nn.prototype.overlapsAny = function(t) {
|
|
32274
32279
|
for (var e = 0; e < t.length; e++)
|
|
32275
32280
|
if (this.overlaps(t[e]))
|
|
32276
32281
|
return !0;
|
|
32277
32282
|
return !1;
|
|
32278
32283
|
};
|
|
32279
|
-
|
|
32284
|
+
Nn.prototype.within = function(t) {
|
|
32280
32285
|
return this.top >= t.top && this.bottom <= t.bottom && this.left >= t.left && this.right <= t.right;
|
|
32281
32286
|
};
|
|
32282
|
-
|
|
32287
|
+
Nn.prototype.overlapsOppositeAxis = function(t, e) {
|
|
32283
32288
|
switch (e) {
|
|
32284
32289
|
case "+x":
|
|
32285
32290
|
return this.left < t.left;
|
|
@@ -32291,11 +32296,11 @@ Rn.prototype.overlapsOppositeAxis = function(t, e) {
|
|
|
32291
32296
|
return this.bottom > t.bottom;
|
|
32292
32297
|
}
|
|
32293
32298
|
};
|
|
32294
|
-
|
|
32299
|
+
Nn.prototype.intersectPercentage = function(t) {
|
|
32295
32300
|
var e = Math.max(0, Math.min(this.right, t.right) - Math.max(this.left, t.left)), n = Math.max(0, Math.min(this.bottom, t.bottom) - Math.max(this.top, t.top)), s = e * n;
|
|
32296
32301
|
return s / (this.height * this.width);
|
|
32297
32302
|
};
|
|
32298
|
-
|
|
32303
|
+
Nn.prototype.toCSSCompatValues = function(t) {
|
|
32299
32304
|
return {
|
|
32300
32305
|
top: this.top - t.top,
|
|
32301
32306
|
bottom: t.bottom - this.bottom,
|
|
@@ -32305,7 +32310,7 @@ Rn.prototype.toCSSCompatValues = function(t) {
|
|
|
32305
32310
|
width: this.width
|
|
32306
32311
|
};
|
|
32307
32312
|
};
|
|
32308
|
-
|
|
32313
|
+
Nn.getSimpleBoxPosition = function(t) {
|
|
32309
32314
|
var e = t.div ? t.div.offsetHeight : t.tagName ? t.offsetHeight : 0, n = t.div ? t.div.offsetWidth : t.tagName ? t.offsetWidth : 0, s = t.div ? t.div.offsetTop : t.tagName ? t.offsetTop : 0;
|
|
32310
32315
|
t = t.div ? t.div.getBoundingClientRect() : t.tagName ? t.getBoundingClientRect() : t;
|
|
32311
32316
|
var i = {
|
|
@@ -32320,17 +32325,17 @@ Rn.getSimpleBoxPosition = function(t) {
|
|
|
32320
32325
|
};
|
|
32321
32326
|
function zW(t, e, n, s) {
|
|
32322
32327
|
function i(C, w) {
|
|
32323
|
-
for (var k, y = new
|
|
32328
|
+
for (var k, y = new Nn(C), x = 1, T = 0; T < w.length; T++) {
|
|
32324
32329
|
for (; C.overlapsOppositeAxis(n, w[T]) || C.within(n) && C.overlapsAny(s); )
|
|
32325
32330
|
C.move(w[T]);
|
|
32326
32331
|
if (C.within(n))
|
|
32327
32332
|
return C;
|
|
32328
32333
|
var E = C.intersectPercentage(n);
|
|
32329
|
-
x > E && (k = new
|
|
32334
|
+
x > E && (k = new Nn(C), x = E), C = new Nn(y);
|
|
32330
32335
|
}
|
|
32331
32336
|
return k || y;
|
|
32332
32337
|
}
|
|
32333
|
-
var a = new
|
|
32338
|
+
var a = new Nn(e), l = e.cue, r = qW(l), u = [];
|
|
32334
32339
|
if (l.snapToLines) {
|
|
32335
32340
|
var c;
|
|
32336
32341
|
switch (l.vertical) {
|
|
@@ -32373,7 +32378,7 @@ function zW(t, e, n, s) {
|
|
|
32373
32378
|
});
|
|
32374
32379
|
break;
|
|
32375
32380
|
}
|
|
32376
|
-
u = ["+y", "-x", "+x", "-y"], a = new
|
|
32381
|
+
u = ["+y", "-x", "+x", "-y"], a = new Nn(e);
|
|
32377
32382
|
}
|
|
32378
32383
|
var p = i(a, u);
|
|
32379
32384
|
e.move(p.toCSSCompatValues(n));
|
|
@@ -32413,12 +32418,12 @@ Ml.processCues = function(t, e, n) {
|
|
|
32413
32418
|
s.appendChild(e[a].displayState);
|
|
32414
32419
|
return;
|
|
32415
32420
|
}
|
|
32416
|
-
var l = [], r =
|
|
32421
|
+
var l = [], r = Nn.getSimpleBoxPosition(s), u = Math.round(r.height * WW * 100) / 100, c = {
|
|
32417
32422
|
font: u + "px " + GW
|
|
32418
32423
|
};
|
|
32419
32424
|
(function() {
|
|
32420
32425
|
for (var v, h, d = 0; d < e.length; d++)
|
|
32421
|
-
h = e[d], v = new hd(t, h, c), s.appendChild(v.div), zW(t, v, r, l), h.displayState = v.div, l.push(
|
|
32426
|
+
h = e[d], v = new hd(t, h, c), s.appendChild(v.div), zW(t, v, r, l), h.displayState = v.div, l.push(Nn.getSimpleBoxPosition(v));
|
|
32422
32427
|
})();
|
|
32423
32428
|
};
|
|
32424
32429
|
Ml.Parser = function(t, e, n) {
|
|
@@ -32949,7 +32954,7 @@ const hG = " ", Nu = function(t) {
|
|
|
32949
32954
|
}, mG = function() {
|
|
32950
32955
|
const n = "(?:" + "[^=]*" + ")=(?:" + '"[^"]*"|[^,]*' + ")";
|
|
32951
32956
|
return new RegExp("(?:^|,)(" + n + ")");
|
|
32952
|
-
},
|
|
32957
|
+
}, Ln = function(t) {
|
|
32953
32958
|
const e = {};
|
|
32954
32959
|
if (!t)
|
|
32955
32960
|
return e;
|
|
@@ -33064,7 +33069,7 @@ class pG extends ym {
|
|
|
33064
33069
|
type: "tag",
|
|
33065
33070
|
tagType: "map"
|
|
33066
33071
|
}, n[1]) {
|
|
33067
|
-
const l =
|
|
33072
|
+
const l = Ln(n[1]);
|
|
33068
33073
|
l.URI && (s.uri = l.URI), l.BYTERANGE && (s.byterange = Nu(l.BYTERANGE));
|
|
33069
33074
|
}
|
|
33070
33075
|
this.trigger("data", s);
|
|
@@ -33074,14 +33079,14 @@ class pG extends ym {
|
|
|
33074
33079
|
s = {
|
|
33075
33080
|
type: "tag",
|
|
33076
33081
|
tagType: "stream-inf"
|
|
33077
|
-
}, n[1] && (s.attributes =
|
|
33082
|
+
}, n[1] && (s.attributes = Ln(n[1]), s.attributes.RESOLUTION && (s.attributes.RESOLUTION = Wf(s.attributes.RESOLUTION)), s.attributes.BANDWIDTH && (s.attributes.BANDWIDTH = parseInt(s.attributes.BANDWIDTH, 10)), s.attributes["FRAME-RATE"] && (s.attributes["FRAME-RATE"] = parseFloat(s.attributes["FRAME-RATE"])), s.attributes["PROGRAM-ID"] && (s.attributes["PROGRAM-ID"] = parseInt(s.attributes["PROGRAM-ID"], 10))), this.trigger("data", s);
|
|
33078
33083
|
return;
|
|
33079
33084
|
}
|
|
33080
33085
|
if (n = /^#EXT-X-MEDIA:(.*)$/.exec(a), n) {
|
|
33081
33086
|
s = {
|
|
33082
33087
|
type: "tag",
|
|
33083
33088
|
tagType: "media"
|
|
33084
|
-
}, n[1] && (s.attributes =
|
|
33089
|
+
}, n[1] && (s.attributes = Ln(n[1])), this.trigger("data", s);
|
|
33085
33090
|
return;
|
|
33086
33091
|
}
|
|
33087
33092
|
if (n = /^#EXT-X-ENDLIST/.exec(a), n) {
|
|
@@ -33109,14 +33114,14 @@ class pG extends ym {
|
|
|
33109
33114
|
s = {
|
|
33110
33115
|
type: "tag",
|
|
33111
33116
|
tagType: "key"
|
|
33112
|
-
}, n[1] && (s.attributes =
|
|
33117
|
+
}, n[1] && (s.attributes = Ln(n[1]), s.attributes.IV && (s.attributes.IV.substring(0, 2).toLowerCase() === "0x" && (s.attributes.IV = s.attributes.IV.substring(2)), s.attributes.IV = s.attributes.IV.match(/.{8}/g), s.attributes.IV[0] = parseInt(s.attributes.IV[0], 16), s.attributes.IV[1] = parseInt(s.attributes.IV[1], 16), s.attributes.IV[2] = parseInt(s.attributes.IV[2], 16), s.attributes.IV[3] = parseInt(s.attributes.IV[3], 16), s.attributes.IV = new Uint32Array(s.attributes.IV))), this.trigger("data", s);
|
|
33113
33118
|
return;
|
|
33114
33119
|
}
|
|
33115
33120
|
if (n = /^#EXT-X-START:(.*)$/.exec(a), n) {
|
|
33116
33121
|
s = {
|
|
33117
33122
|
type: "tag",
|
|
33118
33123
|
tagType: "start"
|
|
33119
|
-
}, n[1] && (s.attributes =
|
|
33124
|
+
}, n[1] && (s.attributes = Ln(n[1]), s.attributes["TIME-OFFSET"] = parseFloat(s.attributes["TIME-OFFSET"]), s.attributes.PRECISE = /YES/.test(s.attributes.PRECISE)), this.trigger("data", s);
|
|
33120
33125
|
return;
|
|
33121
33126
|
}
|
|
33122
33127
|
if (n = /^#EXT-X-CUE-OUT-CONT:(.*)?$/.exec(a), n) {
|
|
@@ -33144,14 +33149,14 @@ class pG extends ym {
|
|
|
33144
33149
|
s = {
|
|
33145
33150
|
type: "tag",
|
|
33146
33151
|
tagType: "skip"
|
|
33147
|
-
}, s.attributes =
|
|
33152
|
+
}, s.attributes = Ln(n[1]), s.attributes.hasOwnProperty("SKIPPED-SEGMENTS") && (s.attributes["SKIPPED-SEGMENTS"] = parseInt(s.attributes["SKIPPED-SEGMENTS"], 10)), s.attributes.hasOwnProperty("RECENTLY-REMOVED-DATERANGES") && (s.attributes["RECENTLY-REMOVED-DATERANGES"] = s.attributes["RECENTLY-REMOVED-DATERANGES"].split(hG)), this.trigger("data", s);
|
|
33148
33153
|
return;
|
|
33149
33154
|
}
|
|
33150
33155
|
if (n = /^#EXT-X-PART:(.*)$/.exec(a), n && n[1]) {
|
|
33151
33156
|
s = {
|
|
33152
33157
|
type: "tag",
|
|
33153
33158
|
tagType: "part"
|
|
33154
|
-
}, s.attributes =
|
|
33159
|
+
}, s.attributes = Ln(n[1]), ["DURATION"].forEach(function(l) {
|
|
33155
33160
|
s.attributes.hasOwnProperty(l) && (s.attributes[l] = parseFloat(s.attributes[l]));
|
|
33156
33161
|
}), ["INDEPENDENT", "GAP"].forEach(function(l) {
|
|
33157
33162
|
s.attributes.hasOwnProperty(l) && (s.attributes[l] = /YES/.test(s.attributes[l]));
|
|
@@ -33162,7 +33167,7 @@ class pG extends ym {
|
|
|
33162
33167
|
s = {
|
|
33163
33168
|
type: "tag",
|
|
33164
33169
|
tagType: "server-control"
|
|
33165
|
-
}, s.attributes =
|
|
33170
|
+
}, s.attributes = Ln(n[1]), ["CAN-SKIP-UNTIL", "PART-HOLD-BACK", "HOLD-BACK"].forEach(function(l) {
|
|
33166
33171
|
s.attributes.hasOwnProperty(l) && (s.attributes[l] = parseFloat(s.attributes[l]));
|
|
33167
33172
|
}), ["CAN-SKIP-DATERANGES", "CAN-BLOCK-RELOAD"].forEach(function(l) {
|
|
33168
33173
|
s.attributes.hasOwnProperty(l) && (s.attributes[l] = /YES/.test(s.attributes[l]));
|
|
@@ -33173,7 +33178,7 @@ class pG extends ym {
|
|
|
33173
33178
|
s = {
|
|
33174
33179
|
type: "tag",
|
|
33175
33180
|
tagType: "part-inf"
|
|
33176
|
-
}, s.attributes =
|
|
33181
|
+
}, s.attributes = Ln(n[1]), ["PART-TARGET"].forEach(function(l) {
|
|
33177
33182
|
s.attributes.hasOwnProperty(l) && (s.attributes[l] = parseFloat(s.attributes[l]));
|
|
33178
33183
|
}), this.trigger("data", s);
|
|
33179
33184
|
return;
|
|
@@ -33182,7 +33187,7 @@ class pG extends ym {
|
|
|
33182
33187
|
s = {
|
|
33183
33188
|
type: "tag",
|
|
33184
33189
|
tagType: "preload-hint"
|
|
33185
|
-
}, s.attributes =
|
|
33190
|
+
}, s.attributes = Ln(n[1]), ["BYTERANGE-START", "BYTERANGE-LENGTH"].forEach(function(l) {
|
|
33186
33191
|
if (s.attributes.hasOwnProperty(l)) {
|
|
33187
33192
|
s.attributes[l] = parseInt(s.attributes[l], 10);
|
|
33188
33193
|
const r = l === "BYTERANGE-LENGTH" ? "length" : "offset";
|
|
@@ -33195,7 +33200,7 @@ class pG extends ym {
|
|
|
33195
33200
|
s = {
|
|
33196
33201
|
type: "tag",
|
|
33197
33202
|
tagType: "rendition-report"
|
|
33198
|
-
}, s.attributes =
|
|
33203
|
+
}, s.attributes = Ln(n[1]), ["LAST-MSN", "LAST-PART"].forEach(function(l) {
|
|
33199
33204
|
s.attributes.hasOwnProperty(l) && (s.attributes[l] = parseInt(s.attributes[l], 10));
|
|
33200
33205
|
}), this.trigger("data", s);
|
|
33201
33206
|
return;
|
|
@@ -33204,7 +33209,7 @@ class pG extends ym {
|
|
|
33204
33209
|
s = {
|
|
33205
33210
|
type: "tag",
|
|
33206
33211
|
tagType: "daterange"
|
|
33207
|
-
}, s.attributes =
|
|
33212
|
+
}, s.attributes = Ln(n[1]), ["ID", "CLASS"].forEach(function(r) {
|
|
33208
33213
|
s.attributes.hasOwnProperty(r) && (s.attributes[r] = String(s.attributes[r]));
|
|
33209
33214
|
}), ["START-DATE", "END-DATE"].forEach(function(r) {
|
|
33210
33215
|
s.attributes.hasOwnProperty(r) && (s.attributes[r] = new Date(s.attributes[r]));
|
|
@@ -33243,21 +33248,21 @@ class pG extends ym {
|
|
|
33243
33248
|
s = {
|
|
33244
33249
|
type: "tag",
|
|
33245
33250
|
tagType: "content-steering"
|
|
33246
|
-
}, s.attributes =
|
|
33251
|
+
}, s.attributes = Ln(n[1]), this.trigger("data", s);
|
|
33247
33252
|
return;
|
|
33248
33253
|
}
|
|
33249
33254
|
if (n = /^#EXT-X-I-FRAME-STREAM-INF:(.*)$/.exec(a), n) {
|
|
33250
33255
|
s = {
|
|
33251
33256
|
type: "tag",
|
|
33252
33257
|
tagType: "i-frame-playlist"
|
|
33253
|
-
}, s.attributes =
|
|
33258
|
+
}, s.attributes = Ln(n[1]), s.attributes.URI && (s.uri = s.attributes.URI), s.attributes.BANDWIDTH && (s.attributes.BANDWIDTH = parseInt(s.attributes.BANDWIDTH, 10)), s.attributes.RESOLUTION && (s.attributes.RESOLUTION = Wf(s.attributes.RESOLUTION)), s.attributes["AVERAGE-BANDWIDTH"] && (s.attributes["AVERAGE-BANDWIDTH"] = parseInt(s.attributes["AVERAGE-BANDWIDTH"], 10)), s.attributes["FRAME-RATE"] && (s.attributes["FRAME-RATE"] = parseFloat(s.attributes["FRAME-RATE"])), this.trigger("data", s);
|
|
33254
33259
|
return;
|
|
33255
33260
|
}
|
|
33256
33261
|
if (n = /^#EXT-X-DEFINE:(.*)$/.exec(a), n) {
|
|
33257
33262
|
s = {
|
|
33258
33263
|
type: "tag",
|
|
33259
33264
|
tagType: "define"
|
|
33260
|
-
}, s.attributes =
|
|
33265
|
+
}, s.attributes = Ln(n[1]), this.trigger("data", s);
|
|
33261
33266
|
return;
|
|
33262
33267
|
}
|
|
33263
33268
|
this.trigger("data", {
|
|
@@ -34084,22 +34089,22 @@ function Zn(t, e) {
|
|
|
34084
34089
|
}
|
|
34085
34090
|
n.constructor != t && (typeof t != "function" && console.error("unknown Class:" + t), n.constructor = t);
|
|
34086
34091
|
}
|
|
34087
|
-
var Jn = {}, Vs = Jn.ELEMENT_NODE = 1, xl = Jn.ATTRIBUTE_NODE = 2, md = Jn.TEXT_NODE = 3, wg = Jn.CDATA_SECTION_NODE = 4, xg = Jn.ENTITY_REFERENCE_NODE = 5, MG = Jn.ENTITY_NODE = 6, Cg = Jn.PROCESSING_INSTRUCTION_NODE = 7, Tg = Jn.COMMENT_NODE = 8, kg = Jn.DOCUMENT_NODE = 9, Sg = Jn.DOCUMENT_TYPE_NODE = 10, Ti = Jn.DOCUMENT_FRAGMENT_NODE = 11, UG = Jn.NOTATION_NODE = 12,
|
|
34088
|
-
|
|
34089
|
-
|
|
34090
|
-
var Gn =
|
|
34091
|
-
|
|
34092
|
-
|
|
34093
|
-
|
|
34094
|
-
|
|
34095
|
-
var Vg =
|
|
34096
|
-
|
|
34097
|
-
var Kf =
|
|
34098
|
-
|
|
34099
|
-
|
|
34100
|
-
|
|
34101
|
-
|
|
34102
|
-
|
|
34092
|
+
var Jn = {}, Vs = Jn.ELEMENT_NODE = 1, xl = Jn.ATTRIBUTE_NODE = 2, md = Jn.TEXT_NODE = 3, wg = Jn.CDATA_SECTION_NODE = 4, xg = Jn.ENTITY_REFERENCE_NODE = 5, MG = Jn.ENTITY_NODE = 6, Cg = Jn.PROCESSING_INSTRUCTION_NODE = 7, Tg = Jn.COMMENT_NODE = 8, kg = Jn.DOCUMENT_NODE = 9, Sg = Jn.DOCUMENT_TYPE_NODE = 10, Ti = Jn.DOCUMENT_FRAGMENT_NODE = 11, UG = Jn.NOTATION_NODE = 12, Vn = {}, vn = {};
|
|
34093
|
+
Vn.INDEX_SIZE_ERR = (vn[1] = "Index size error", 1);
|
|
34094
|
+
Vn.DOMSTRING_SIZE_ERR = (vn[2] = "DOMString size error", 2);
|
|
34095
|
+
var Gn = Vn.HIERARCHY_REQUEST_ERR = (vn[3] = "Hierarchy request error", 3);
|
|
34096
|
+
Vn.WRONG_DOCUMENT_ERR = (vn[4] = "Wrong document", 4);
|
|
34097
|
+
Vn.INVALID_CHARACTER_ERR = (vn[5] = "Invalid character", 5);
|
|
34098
|
+
Vn.NO_DATA_ALLOWED_ERR = (vn[6] = "No data allowed", 6);
|
|
34099
|
+
Vn.NO_MODIFICATION_ALLOWED_ERR = (vn[7] = "No modification allowed", 7);
|
|
34100
|
+
var Vg = Vn.NOT_FOUND_ERR = (vn[8] = "Not found", 8);
|
|
34101
|
+
Vn.NOT_SUPPORTED_ERR = (vn[9] = "Not supported", 9);
|
|
34102
|
+
var Kf = Vn.INUSE_ATTRIBUTE_ERR = (vn[10] = "Attribute in use", 10);
|
|
34103
|
+
Vn.INVALID_STATE_ERR = (vn[11] = "Invalid state", 11);
|
|
34104
|
+
Vn.SYNTAX_ERR = (vn[12] = "Syntax error", 12);
|
|
34105
|
+
Vn.INVALID_MODIFICATION_ERR = (vn[13] = "Invalid modification", 13);
|
|
34106
|
+
Vn.NAMESPACE_ERR = (vn[14] = "Invalid namespace", 14);
|
|
34107
|
+
Vn.INVALID_ACCESS_ERR = (vn[15] = "Invalid access", 15);
|
|
34103
34108
|
function Jt(t, e) {
|
|
34104
34109
|
if (e instanceof Error)
|
|
34105
34110
|
var n = e;
|
|
@@ -34108,7 +34113,7 @@ function Jt(t, e) {
|
|
|
34108
34113
|
return n.code = t, e && (this.message = this.message + ": " + e), n;
|
|
34109
34114
|
}
|
|
34110
34115
|
Jt.prototype = Error.prototype;
|
|
34111
|
-
tr(
|
|
34116
|
+
tr(Vn, Jt);
|
|
34112
34117
|
function wi() {
|
|
34113
34118
|
}
|
|
34114
34119
|
wi.prototype = {
|
|
@@ -38925,7 +38930,7 @@ var sY = et([73, 68, 51]), iY = function(e, n) {
|
|
|
38925
38930
|
return Jg(e, "h264", n, s);
|
|
38926
38931
|
}, fY = function(e, n, s) {
|
|
38927
38932
|
return Jg(e, "h265", n, s);
|
|
38928
|
-
},
|
|
38933
|
+
}, An = {
|
|
38929
38934
|
// "webm" string literal in hex
|
|
38930
38935
|
webm: et([119, 101, 98, 109]),
|
|
38931
38936
|
// "matroska" string literal in hex
|
|
@@ -38972,39 +38977,39 @@ var sY = et([73, 68, 51]), iY = function(e, n) {
|
|
|
38972
38977
|
},
|
|
38973
38978
|
webm: function(e) {
|
|
38974
38979
|
var n = _1(e, [jr.EBML, jr.DocType])[0];
|
|
38975
|
-
return Ht(n,
|
|
38980
|
+
return Ht(n, An.webm);
|
|
38976
38981
|
},
|
|
38977
38982
|
mkv: function(e) {
|
|
38978
38983
|
var n = _1(e, [jr.EBML, jr.DocType])[0];
|
|
38979
|
-
return Ht(n,
|
|
38984
|
+
return Ht(n, An.matroska);
|
|
38980
38985
|
},
|
|
38981
38986
|
mp4: function(e) {
|
|
38982
38987
|
if (Vl["3gp"](e) || Vl.mov(e))
|
|
38983
38988
|
return !1;
|
|
38984
|
-
if (Ht(e,
|
|
38989
|
+
if (Ht(e, An.mp4, {
|
|
38985
38990
|
offset: 4
|
|
38986
|
-
}) || Ht(e,
|
|
38991
|
+
}) || Ht(e, An.fmp4, {
|
|
38987
38992
|
offset: 4
|
|
38988
|
-
}) || Ht(e,
|
|
38993
|
+
}) || Ht(e, An.moof, {
|
|
38989
38994
|
offset: 4
|
|
38990
|
-
}) || Ht(e,
|
|
38995
|
+
}) || Ht(e, An.moov, {
|
|
38991
38996
|
offset: 4
|
|
38992
38997
|
}))
|
|
38993
38998
|
return !0;
|
|
38994
38999
|
},
|
|
38995
39000
|
mov: function(e) {
|
|
38996
|
-
return Ht(e,
|
|
39001
|
+
return Ht(e, An.mov, {
|
|
38997
39002
|
offset: 4
|
|
38998
39003
|
});
|
|
38999
39004
|
},
|
|
39000
39005
|
"3gp": function(e) {
|
|
39001
|
-
return Ht(e,
|
|
39006
|
+
return Ht(e, An["3gp"], {
|
|
39002
39007
|
offset: 4
|
|
39003
39008
|
});
|
|
39004
39009
|
},
|
|
39005
39010
|
ac3: function(e) {
|
|
39006
39011
|
var n = To(e);
|
|
39007
|
-
return Ht(e,
|
|
39012
|
+
return Ht(e, An.ac3, {
|
|
39008
39013
|
offset: n
|
|
39009
39014
|
});
|
|
39010
39015
|
},
|
|
@@ -39020,20 +39025,20 @@ var sY = et([73, 68, 51]), iY = function(e, n) {
|
|
|
39020
39025
|
},
|
|
39021
39026
|
flac: function(e) {
|
|
39022
39027
|
var n = To(e);
|
|
39023
|
-
return Ht(e,
|
|
39028
|
+
return Ht(e, An.flac, {
|
|
39024
39029
|
offset: n
|
|
39025
39030
|
});
|
|
39026
39031
|
},
|
|
39027
39032
|
ogg: function(e) {
|
|
39028
|
-
return Ht(e,
|
|
39033
|
+
return Ht(e, An.ogg);
|
|
39029
39034
|
},
|
|
39030
39035
|
avi: function(e) {
|
|
39031
|
-
return Ht(e,
|
|
39036
|
+
return Ht(e, An.riff) && Ht(e, An.avi, {
|
|
39032
39037
|
offset: 8
|
|
39033
39038
|
});
|
|
39034
39039
|
},
|
|
39035
39040
|
wav: function(e) {
|
|
39036
|
-
return Ht(e,
|
|
39041
|
+
return Ht(e, An.riff) && Ht(e, An.wav, {
|
|
39037
39042
|
offset: 8
|
|
39038
39043
|
});
|
|
39039
39044
|
},
|
|
@@ -39236,7 +39241,7 @@ if (!hl) {
|
|
|
39236
39241
|
return !n && /Trident\/7.0/i.test(t) && /rv:11.0/.test(t) && (n = 11), n;
|
|
39237
39242
|
}(), wd = /Tizen/i.test(t), xd = /Web0S/i.test(t), Cd = wd || xd, _d = /Safari/i.test(t) && !li && !Rs && !cl && !Cd, eu = /Windows/i.test(t), bd = /iPad/i.test(t) || _d && Qo && !/iPhone/i.test(t), tu = /iPhone/i.test(t) && !bd;
|
|
39238
39243
|
}
|
|
39239
|
-
const
|
|
39244
|
+
const Tn = tu || bd || Im, nu = (_d || Tn) && !li;
|
|
39240
39245
|
var d2 = /* @__PURE__ */ Object.freeze({
|
|
39241
39246
|
__proto__: null,
|
|
39242
39247
|
get IS_IPOD() {
|
|
@@ -39295,7 +39300,7 @@ var d2 = /* @__PURE__ */ Object.freeze({
|
|
|
39295
39300
|
return Cd;
|
|
39296
39301
|
},
|
|
39297
39302
|
TOUCH_ENABLED: Qo,
|
|
39298
|
-
IS_IOS:
|
|
39303
|
+
IS_IOS: Tn,
|
|
39299
39304
|
IS_ANY_SAFARI: nu
|
|
39300
39305
|
});
|
|
39301
39306
|
function w1(t) {
|
|
@@ -39423,7 +39428,7 @@ function au(t, e) {
|
|
|
39423
39428
|
x: 0,
|
|
39424
39429
|
y: 0
|
|
39425
39430
|
};
|
|
39426
|
-
if (
|
|
39431
|
+
if (Tn) {
|
|
39427
39432
|
let v = t;
|
|
39428
39433
|
for (; v && v.nodeName.toLowerCase() !== "html"; ) {
|
|
39429
39434
|
const h = Dl(v, "transform");
|
|
@@ -39443,7 +39448,7 @@ function au(t, e) {
|
|
|
39443
39448
|
}
|
|
39444
39449
|
const s = {}, i = Zo(e.target), a = Zo(t), l = a.width, r = a.height;
|
|
39445
39450
|
let u = e.offsetY - (a.top - i.top), c = e.offsetX - (a.left - i.left);
|
|
39446
|
-
return e.changedTouches && (c = e.changedTouches[0].pageX - a.left, u = e.changedTouches[0].pageY + a.top,
|
|
39451
|
+
return e.changedTouches && (c = e.changedTouches[0].pageX - a.left, u = e.changedTouches[0].pageY + a.top, Tn && (c -= n.x, u -= n.y)), s.y = 1 - Math.max(0, Math.min(1, u / r)), s.x = Math.max(0, Math.min(1, c / l)), s;
|
|
39447
39452
|
}
|
|
39448
39453
|
function v2(t) {
|
|
39449
39454
|
return ai(t) && t.nodeType === 3;
|
|
@@ -39559,17 +39564,17 @@ const T2 = function(t) {
|
|
|
39559
39564
|
}, k2 = function(t, e) {
|
|
39560
39565
|
t.styleSheet ? t.styleSheet.cssText = e : t.textContent = e;
|
|
39561
39566
|
};
|
|
39562
|
-
var
|
|
39567
|
+
var Fn = /* @__PURE__ */ new WeakMap();
|
|
39563
39568
|
const SY = 3;
|
|
39564
39569
|
let VY = SY;
|
|
39565
39570
|
function Ps() {
|
|
39566
39571
|
return VY++;
|
|
39567
39572
|
}
|
|
39568
39573
|
function x1(t, e) {
|
|
39569
|
-
if (!
|
|
39574
|
+
if (!Fn.has(t))
|
|
39570
39575
|
return;
|
|
39571
|
-
const n =
|
|
39572
|
-
n.handlers[e].length === 0 && (delete n.handlers[e], t.removeEventListener ? t.removeEventListener(e, n.dispatcher, !1) : t.detachEvent && t.detachEvent("on" + e, n.dispatcher)), Object.getOwnPropertyNames(n.handlers).length <= 0 && (delete n.handlers, delete n.dispatcher, delete n.disabled), Object.getOwnPropertyNames(n).length === 0 &&
|
|
39576
|
+
const n = Fn.get(t);
|
|
39577
|
+
n.handlers[e].length === 0 && (delete n.handlers[e], t.removeEventListener ? t.removeEventListener(e, n.dispatcher, !1) : t.detachEvent && t.detachEvent("on" + e, n.dispatcher)), Object.getOwnPropertyNames(n.handlers).length <= 0 && (delete n.handlers, delete n.dispatcher, delete n.disabled), Object.getOwnPropertyNames(n).length === 0 && Fn.delete(t);
|
|
39573
39578
|
}
|
|
39574
39579
|
function Um(t, e, n, s) {
|
|
39575
39580
|
n.forEach(function(i) {
|
|
@@ -39624,8 +39629,8 @@ const EY = function() {
|
|
|
39624
39629
|
function fs(t, e, n) {
|
|
39625
39630
|
if (Array.isArray(e))
|
|
39626
39631
|
return Um(fs, t, e, n);
|
|
39627
|
-
|
|
39628
|
-
const s =
|
|
39632
|
+
Fn.has(t) || Fn.set(t, {});
|
|
39633
|
+
const s = Fn.get(t);
|
|
39629
39634
|
if (s.handlers || (s.handlers = {}), s.handlers[e] || (s.handlers[e] = []), n.guid || (n.guid = Ps()), s.handlers[e].push(n), s.dispatcher || (s.disabled = !1, s.dispatcher = function(i, a) {
|
|
39630
39635
|
if (s.disabled)
|
|
39631
39636
|
return;
|
|
@@ -39648,14 +39653,14 @@ function fs(t, e, n) {
|
|
|
39648
39653
|
}), t.addEventListener(e, s.dispatcher, i);
|
|
39649
39654
|
} else t.attachEvent && t.attachEvent("on" + e, s.dispatcher);
|
|
39650
39655
|
}
|
|
39651
|
-
function
|
|
39652
|
-
if (!
|
|
39656
|
+
function kn(t, e, n) {
|
|
39657
|
+
if (!Fn.has(t))
|
|
39653
39658
|
return;
|
|
39654
|
-
const s =
|
|
39659
|
+
const s = Fn.get(t);
|
|
39655
39660
|
if (!s.handlers)
|
|
39656
39661
|
return;
|
|
39657
39662
|
if (Array.isArray(e))
|
|
39658
|
-
return Um(
|
|
39663
|
+
return Um(kn, t, e, n);
|
|
39659
39664
|
const i = function(l, r) {
|
|
39660
39665
|
s.handlers[r] = [], x1(l, r);
|
|
39661
39666
|
};
|
|
@@ -39677,15 +39682,15 @@ function Tn(t, e, n) {
|
|
|
39677
39682
|
}
|
|
39678
39683
|
}
|
|
39679
39684
|
function Rl(t, e, n) {
|
|
39680
|
-
const s =
|
|
39685
|
+
const s = Fn.has(t) ? Fn.get(t) : {}, i = t.parentNode || t.ownerDocument;
|
|
39681
39686
|
if (typeof e == "string" ? e = {
|
|
39682
39687
|
type: e,
|
|
39683
39688
|
target: t
|
|
39684
39689
|
} : e.target || (e.target = t), e = ou(e), s.dispatcher && s.dispatcher.call(t, e, n), i && !e.isPropagationStopped() && e.bubbles === !0)
|
|
39685
39690
|
Rl.call(null, i, e, n);
|
|
39686
39691
|
else if (!i && !e.defaultPrevented && e.target && e.target[e.type]) {
|
|
39687
|
-
|
|
39688
|
-
const a =
|
|
39692
|
+
Fn.has(e.target) || Fn.set(e.target, {});
|
|
39693
|
+
const a = Fn.get(e.target);
|
|
39689
39694
|
e.target[e.type] && (a.disabled = !0, typeof e.target[e.type] == "function" && e.target[e.type](), a.disabled = !1);
|
|
39690
39695
|
}
|
|
39691
39696
|
return !e.defaultPrevented;
|
|
@@ -39694,13 +39699,13 @@ function ru(t, e, n) {
|
|
|
39694
39699
|
if (Array.isArray(e))
|
|
39695
39700
|
return Um(ru, t, e, n);
|
|
39696
39701
|
const s = function() {
|
|
39697
|
-
|
|
39702
|
+
kn(t, e, s), n.apply(this, arguments);
|
|
39698
39703
|
};
|
|
39699
39704
|
s.guid = n.guid = n.guid || Ps(), fs(t, e, s);
|
|
39700
39705
|
}
|
|
39701
39706
|
function Bm(t, e, n) {
|
|
39702
39707
|
const s = function() {
|
|
39703
|
-
|
|
39708
|
+
kn(t, e, s), n.apply(this, arguments);
|
|
39704
39709
|
};
|
|
39705
39710
|
s.guid = n.guid = n.guid || Ps(), fs(t, e, s);
|
|
39706
39711
|
}
|
|
@@ -39708,7 +39713,7 @@ var $Y = /* @__PURE__ */ Object.freeze({
|
|
|
39708
39713
|
__proto__: null,
|
|
39709
39714
|
fixEvent: ou,
|
|
39710
39715
|
on: fs,
|
|
39711
|
-
off:
|
|
39716
|
+
off: kn,
|
|
39712
39717
|
trigger: Rl,
|
|
39713
39718
|
one: ru,
|
|
39714
39719
|
any: Bm
|
|
@@ -39772,7 +39777,7 @@ class gs {
|
|
|
39772
39777
|
* The function to remove.
|
|
39773
39778
|
*/
|
|
39774
39779
|
off(e, n) {
|
|
39775
|
-
|
|
39780
|
+
kn(this, e, n);
|
|
39776
39781
|
}
|
|
39777
39782
|
/**
|
|
39778
39783
|
* This function will add an `event listener` that gets triggered only once. After the
|
|
@@ -40010,10 +40015,10 @@ const du = (t) => typeof t.name == "function" ? t.name() : typeof t.name == "str
|
|
|
40010
40015
|
*/
|
|
40011
40016
|
off(t, e, n) {
|
|
40012
40017
|
if (!t || Ic(t))
|
|
40013
|
-
|
|
40018
|
+
kn(this.eventBusEl_, t, e);
|
|
40014
40019
|
else {
|
|
40015
40020
|
const s = t, i = e;
|
|
40016
|
-
Td(s, this, "off"), V2(i, this, "off"), E2(n, this, "off"), n = Ut(this, n), this.off("dispose", n), s.nodeName ? (
|
|
40021
|
+
Td(s, this, "off"), V2(i, this, "off"), E2(n, this, "off"), n = Ut(this, n), this.off("dispose", n), s.nodeName ? (kn(s, i, n), kn(s, "dispose", n)) : xi(s) && (s.off(i, n), s.off("dispose", n));
|
|
40017
40022
|
}
|
|
40018
40023
|
},
|
|
40019
40024
|
/**
|
|
@@ -40052,7 +40057,7 @@ function Rm(t, e = {}) {
|
|
|
40052
40057
|
s();
|
|
40053
40058
|
}), t.on("dispose", () => {
|
|
40054
40059
|
t.off(), [t, t.el_, t.eventBusEl_].forEach(function(s) {
|
|
40055
|
-
s &&
|
|
40060
|
+
s && Fn.has(s) && Fn.delete(s);
|
|
40056
40061
|
}), le.setTimeout(() => {
|
|
40057
40062
|
t.eventBusEl_ = null;
|
|
40058
40063
|
}, 0);
|
|
@@ -42582,14 +42587,14 @@ const Ll = {
|
|
|
42582
42587
|
getterName: "remoteTextTrackEls",
|
|
42583
42588
|
privateName: "remoteTextTrackEls_"
|
|
42584
42589
|
}
|
|
42585
|
-
},
|
|
42590
|
+
}, Bn = Object.assign({}, Es, Ll);
|
|
42586
42591
|
Ll.names = Object.keys(Ll);
|
|
42587
42592
|
Es.names = Object.keys(Es);
|
|
42588
|
-
|
|
42593
|
+
Bn.names = [].concat(Ll.names).concat(Es.names);
|
|
42589
42594
|
function zY(t, e, n, s, i = {}) {
|
|
42590
42595
|
const a = t.textTracks();
|
|
42591
42596
|
i.kind = e, n && (i.label = n), s && (i.language = s), i.tech = t;
|
|
42592
|
-
const l = new
|
|
42597
|
+
const l = new Bn.text.TrackClass(i);
|
|
42593
42598
|
return a.addTrack(l), l;
|
|
42594
42599
|
}
|
|
42595
42600
|
class ut extends Te {
|
|
@@ -42608,12 +42613,12 @@ class ut extends Te {
|
|
|
42608
42613
|
this.hasStarted_ = !0;
|
|
42609
42614
|
}), this.on("loadstart", function() {
|
|
42610
42615
|
this.hasStarted_ = !1;
|
|
42611
|
-
}),
|
|
42612
|
-
const i =
|
|
42616
|
+
}), Bn.names.forEach((s) => {
|
|
42617
|
+
const i = Bn[s];
|
|
42613
42618
|
e && e[i.getterName] && (this[i.privateName] = e[i.getterName]);
|
|
42614
42619
|
}), this.featuresProgressEvents || this.manualProgressOn(), this.featuresTimeupdateEvents || this.manualTimeUpdatesOn(), ["Text", "Audio", "Video"].forEach((s) => {
|
|
42615
42620
|
e[`native${s}Tracks`] === !1 && (this[`featuresNative${s}Tracks`] = !1);
|
|
42616
|
-
}), e.nativeCaptions === !1 || e.nativeTextTracks === !1 ? this.featuresNativeTextTracks = !1 : (e.nativeCaptions === !0 || e.nativeTextTracks === !0) && (this.featuresNativeTextTracks = !0), this.featuresNativeTextTracks || this.emulateTextTracks(), this.preloadTextTracks = e.preloadTextTracks !== !1, this.autoRemoteTextTracks_ = new
|
|
42621
|
+
}), e.nativeCaptions === !1 || e.nativeTextTracks === !1 ? this.featuresNativeTextTracks = !1 : (e.nativeCaptions === !0 || e.nativeTextTracks === !0) && (this.featuresNativeTextTracks = !0), this.featuresNativeTextTracks || this.emulateTextTracks(), this.preloadTextTracks = e.preloadTextTracks !== !1, this.autoRemoteTextTracks_ = new Bn.text.ListClass(), this.initTrackListeners(), e.nativeControlsForTouch || this.emitTapEvents(), this.constructor && (this.name_ = this.constructor.name || "Unknown Tech");
|
|
42617
42622
|
}
|
|
42618
42623
|
/**
|
|
42619
42624
|
* A special function to trigger source set in a way that will allow player
|
|
@@ -43231,8 +43236,8 @@ class ut extends Te {
|
|
|
43231
43236
|
}
|
|
43232
43237
|
}
|
|
43233
43238
|
}
|
|
43234
|
-
|
|
43235
|
-
const e =
|
|
43239
|
+
Bn.names.forEach(function(t) {
|
|
43240
|
+
const e = Bn[t];
|
|
43236
43241
|
ut.prototype[e.getterName] = function() {
|
|
43237
43242
|
return this[e.privateName] = this[e.privateName] || new e.ListClass(), this[e.privateName];
|
|
43238
43243
|
};
|
|
@@ -44498,7 +44503,7 @@ class dK extends Te {
|
|
|
44498
44503
|
}
|
|
44499
44504
|
}
|
|
44500
44505
|
Te.registerComponent("LoadingSpinner", dK);
|
|
44501
|
-
class
|
|
44506
|
+
class Sn extends cu {
|
|
44502
44507
|
/**
|
|
44503
44508
|
* Create the `Button`s DOM element.
|
|
44504
44509
|
*
|
|
@@ -44580,8 +44585,8 @@ class kn extends cu {
|
|
|
44580
44585
|
super.handleKeyDown(e);
|
|
44581
44586
|
}
|
|
44582
44587
|
}
|
|
44583
|
-
Te.registerComponent("Button",
|
|
44584
|
-
class F2 extends
|
|
44588
|
+
Te.registerComponent("Button", Sn);
|
|
44589
|
+
class F2 extends Sn {
|
|
44585
44590
|
constructor(e, n) {
|
|
44586
44591
|
super(e, n), this.mouseused_ = !1, this.setIcon("play"), this.on("mousedown", (s) => this.handleMouseDown(s));
|
|
44587
44592
|
}
|
|
@@ -44646,7 +44651,7 @@ class F2 extends kn {
|
|
|
44646
44651
|
}
|
|
44647
44652
|
F2.prototype.controlText_ = "Play Video";
|
|
44648
44653
|
Te.registerComponent("BigPlayButton", F2);
|
|
44649
|
-
class uK extends
|
|
44654
|
+
class uK extends Sn {
|
|
44650
44655
|
/**
|
|
44651
44656
|
* Creates an instance of the this class.
|
|
44652
44657
|
*
|
|
@@ -44703,7 +44708,7 @@ class uK extends kn {
|
|
|
44703
44708
|
}
|
|
44704
44709
|
}
|
|
44705
44710
|
Te.registerComponent("CloseButton", uK);
|
|
44706
|
-
class H2 extends
|
|
44711
|
+
class H2 extends Sn {
|
|
44707
44712
|
/**
|
|
44708
44713
|
* Creates an instance of this class.
|
|
44709
44714
|
*
|
|
@@ -45060,7 +45065,7 @@ class hK extends Te {
|
|
|
45060
45065
|
}
|
|
45061
45066
|
}
|
|
45062
45067
|
Te.registerComponent("LiveDisplay", hK);
|
|
45063
|
-
class j2 extends
|
|
45068
|
+
class j2 extends Sn {
|
|
45064
45069
|
/**
|
|
45065
45070
|
* Creates an instance of this class.
|
|
45066
45071
|
*
|
|
@@ -45506,7 +45511,7 @@ class Km extends Te {
|
|
|
45506
45511
|
Km.prototype.options_ = {
|
|
45507
45512
|
children: []
|
|
45508
45513
|
};
|
|
45509
|
-
!
|
|
45514
|
+
!Tn && !Rs && Km.prototype.options_.children.push("timeTooltip");
|
|
45510
45515
|
Te.registerComponent("PlayProgressBar", Km);
|
|
45511
45516
|
class q2 extends Te {
|
|
45512
45517
|
/**
|
|
@@ -45570,8 +45575,8 @@ class hu extends Ym {
|
|
|
45570
45575
|
*/
|
|
45571
45576
|
constructor(e, n) {
|
|
45572
45577
|
n = It(hu.prototype.options_, n), n.children = [...n.children];
|
|
45573
|
-
const s = e.options_.disableSeekWhileScrubbingOnMobile && (
|
|
45574
|
-
(!
|
|
45578
|
+
const s = e.options_.disableSeekWhileScrubbingOnMobile && (Tn || Rs) || e.options_.disableSeekWhileScrubbingOnSTV;
|
|
45579
|
+
(!Tn && !Rs || s) && n.children.splice(1, 0, "mouseTimeDisplay"), super(e, n), this.shouldDisableSeekWhileScrubbing_ = s, this.pendingSeekTime_ = null, this.setEventHandlers_();
|
|
45575
45580
|
}
|
|
45576
45581
|
/**
|
|
45577
45582
|
* Sets the event handlers
|
|
@@ -45948,7 +45953,7 @@ z2.prototype.options_ = {
|
|
|
45948
45953
|
children: ["seekBar"]
|
|
45949
45954
|
};
|
|
45950
45955
|
Te.registerComponent("ProgressControl", z2);
|
|
45951
|
-
class W2 extends
|
|
45956
|
+
class W2 extends Sn {
|
|
45952
45957
|
/**
|
|
45953
45958
|
* Creates an instance of this class.
|
|
45954
45959
|
*
|
|
@@ -46033,7 +46038,7 @@ class W2 extends kn {
|
|
|
46033
46038
|
}
|
|
46034
46039
|
W2.prototype.controlText_ = "Picture-in-Picture";
|
|
46035
46040
|
Te.registerComponent("PictureInPictureToggle", W2);
|
|
46036
|
-
class G2 extends
|
|
46041
|
+
class G2 extends Sn {
|
|
46037
46042
|
/**
|
|
46038
46043
|
* Creates an instance of this class.
|
|
46039
46044
|
*
|
|
@@ -46368,7 +46373,7 @@ mu.prototype.options_ = {
|
|
|
46368
46373
|
children: ["volumeLevel"],
|
|
46369
46374
|
barName: "volumeLevel"
|
|
46370
46375
|
};
|
|
46371
|
-
!
|
|
46376
|
+
!Tn && !Rs && mu.prototype.options_.children.splice(0, 0, "mouseVolumeLevelDisplay");
|
|
46372
46377
|
mu.prototype.playerEvent = "volumechange";
|
|
46373
46378
|
Te.registerComponent("VolumeBar", mu);
|
|
46374
46379
|
class Y2 extends Te {
|
|
@@ -46448,7 +46453,7 @@ const _K = function(t, e) {
|
|
|
46448
46453
|
e.tech_.featuresMuteControl ? t.removeClass("vjs-hidden") : t.addClass("vjs-hidden");
|
|
46449
46454
|
});
|
|
46450
46455
|
};
|
|
46451
|
-
class K2 extends
|
|
46456
|
+
class K2 extends Sn {
|
|
46452
46457
|
/**
|
|
46453
46458
|
* Creates an instance of this class.
|
|
46454
46459
|
*
|
|
@@ -46517,7 +46522,7 @@ class K2 extends kn {
|
|
|
46517
46522
|
updateIcon_() {
|
|
46518
46523
|
const e = this.player_.volume();
|
|
46519
46524
|
let n = 3;
|
|
46520
|
-
this.setIcon("volume-high"),
|
|
46525
|
+
this.setIcon("volume-high"), Tn && this.player_.tech_ && this.player_.tech_.el_ && this.player_.muted(this.player_.tech_.el_.muted), e === 0 || this.player_.muted() ? (this.setIcon("volume-mute"), n = 0) : e < 0.33 ? (this.setIcon("volume-low"), n = 1) : e < 0.67 && (this.setIcon("volume-medium"), n = 2), su(this.el_, [0, 1, 2, 3].reduce((s, i) => s + `${i ? " " : ""}vjs-vol-${i}`, "")), wa(this.el_, `vjs-vol-${n}`);
|
|
46521
46526
|
}
|
|
46522
46527
|
/**
|
|
46523
46528
|
* If `muted` has changed on the player, update the control text
|
|
@@ -46628,7 +46633,7 @@ class Q2 extends Te {
|
|
|
46628
46633
|
* @listens mouseout
|
|
46629
46634
|
*/
|
|
46630
46635
|
handleMouseOut(e) {
|
|
46631
|
-
this.removeClass("vjs-hover"),
|
|
46636
|
+
this.removeClass("vjs-hover"), kn(De, "keyup", this.handleKeyPressHandler_);
|
|
46632
46637
|
}
|
|
46633
46638
|
/**
|
|
46634
46639
|
* Handles `keyup` event on the document or `keydown` event on the `VolumePanel`,
|
|
@@ -46647,7 +46652,7 @@ Q2.prototype.options_ = {
|
|
|
46647
46652
|
children: ["muteToggle", "volumeControl"]
|
|
46648
46653
|
};
|
|
46649
46654
|
Te.registerComponent("VolumePanel", Q2);
|
|
46650
|
-
class Z2 extends
|
|
46655
|
+
class Z2 extends Sn {
|
|
46651
46656
|
constructor(e, n) {
|
|
46652
46657
|
super(e, n), this.validOptions = [5, 10, 30], this.skipTime = this.getSkipForwardTime(), this.skipTime && this.validOptions.includes(this.skipTime) ? (this.setIcon(`forward-${this.skipTime}`), this.controlText(this.localize("Skip forward {1} seconds", [this.skipTime.toLocaleString(e.language())])), this.show()) : this.hide();
|
|
46653
46658
|
}
|
|
@@ -46685,7 +46690,7 @@ class Z2 extends kn {
|
|
|
46685
46690
|
}
|
|
46686
46691
|
Z2.prototype.controlText_ = "Skip Forward";
|
|
46687
46692
|
Te.registerComponent("SkipForward", Z2);
|
|
46688
|
-
class J2 extends
|
|
46693
|
+
class J2 extends Sn {
|
|
46689
46694
|
constructor(e, n) {
|
|
46690
46695
|
super(e, n), this.validOptions = [5, 10, 30], this.skipTime = this.getSkipBackwardTime(), this.skipTime && this.validOptions.includes(this.skipTime) ? (this.setIcon(`replay-${this.skipTime}`), this.controlText(this.localize("Skip backward {1} seconds", [this.skipTime.toLocaleString(e.language())])), this.show()) : this.hide();
|
|
46691
46696
|
}
|
|
@@ -46883,8 +46888,8 @@ class Qm extends Te {
|
|
|
46883
46888
|
* The key/value store of player options.
|
|
46884
46889
|
*/
|
|
46885
46890
|
constructor(e, n = {}) {
|
|
46886
|
-
super(e, n), this.menuButton_ = new
|
|
46887
|
-
const s =
|
|
46891
|
+
super(e, n), this.menuButton_ = new Sn(e, n), this.menuButton_.controlText(this.controlText_), this.menuButton_.el_.setAttribute("aria-haspopup", "true");
|
|
46892
|
+
const s = Sn.prototype.buildCSSClass();
|
|
46888
46893
|
this.menuButton_.el_.className = this.buildCSSClass() + " " + s, this.menuButton_.removeClass("vjs-control"), this.addChild(this.menuButton_), this.update(), this.enabled_ = !0;
|
|
46889
46894
|
const i = (a) => this.handleClick(a);
|
|
46890
46895
|
this.handleMenuKeyUp_ = (a) => this.handleMenuKeyUp(a), this.on(this.menuButton_, "tap", i), this.on(this.menuButton_, "click", i), this.on(this.menuButton_, "keydown", (a) => this.handleKeyDown(a)), this.on(this.menuButton_, "mouseenter", () => {
|
|
@@ -46960,7 +46965,7 @@ class Qm extends Te {
|
|
|
46960
46965
|
buildWrapperCSSClass() {
|
|
46961
46966
|
let e = "vjs-menu-button";
|
|
46962
46967
|
this.options_.inline === !0 ? e += "-inline" : e += "-popup";
|
|
46963
|
-
const n =
|
|
46968
|
+
const n = Sn.prototype.buildCSSClass();
|
|
46964
46969
|
return `vjs-menu-button ${e} ${n} ${super.buildCSSClass()}`;
|
|
46965
46970
|
}
|
|
46966
46971
|
/**
|
|
@@ -47019,7 +47024,7 @@ class Qm extends Te {
|
|
|
47019
47024
|
* @listens mouseleave
|
|
47020
47025
|
*/
|
|
47021
47026
|
handleMouseLeave(e) {
|
|
47022
|
-
this.removeClass("vjs-hover"),
|
|
47027
|
+
this.removeClass("vjs-hover"), kn(De, "keyup", this.handleMenuKeyUp_);
|
|
47023
47028
|
}
|
|
47024
47029
|
/**
|
|
47025
47030
|
* Set the focus to the actual button, not to this element
|
|
@@ -47085,7 +47090,7 @@ class Qm extends Te {
|
|
|
47085
47090
|
*/
|
|
47086
47091
|
pressButton() {
|
|
47087
47092
|
if (this.enabled_) {
|
|
47088
|
-
if (this.buttonPressed_ = !0, this.menu.show(), this.menu.lockShowing(), this.menuButton_.el_.setAttribute("aria-expanded", "true"),
|
|
47093
|
+
if (this.buttonPressed_ = !0, this.menu.show(), this.menu.lockShowing(), this.menuButton_.el_.setAttribute("aria-expanded", "true"), Tn && u2())
|
|
47089
47094
|
return;
|
|
47090
47095
|
this.menu.focus();
|
|
47091
47096
|
}
|
|
@@ -48440,12 +48445,12 @@ Te.registerComponent("TextTrackSettingsFont", hv);
|
|
|
48440
48445
|
class mv extends Te {
|
|
48441
48446
|
constructor(e, n = {}) {
|
|
48442
48447
|
super(e, n);
|
|
48443
|
-
const s = new
|
|
48448
|
+
const s = new Sn(e, {
|
|
48444
48449
|
controlText: this.localize("restore all settings to the default values"),
|
|
48445
48450
|
className: "vjs-default-button"
|
|
48446
48451
|
});
|
|
48447
48452
|
s.el().classList.remove("vjs-control", "vjs-button"), s.el().textContent = this.localize("Reset"), this.addChild(s);
|
|
48448
|
-
const i = this.localize("Done"), a = new
|
|
48453
|
+
const i = this.localize("Done"), a = new Sn(e, {
|
|
48449
48454
|
controlText: i,
|
|
48450
48455
|
className: "vjs-done-button"
|
|
48451
48456
|
});
|
|
@@ -48700,7 +48705,7 @@ class TK extends Te {
|
|
|
48700
48705
|
return;
|
|
48701
48706
|
const a = this.debouncedHandler_;
|
|
48702
48707
|
let l = this.unloadListener_ = function() {
|
|
48703
|
-
|
|
48708
|
+
kn(this, "resize", a), kn(this, "unload", l), l = null;
|
|
48704
48709
|
};
|
|
48705
48710
|
fs(this.el_.contentWindow, "unload", l), fs(this.el_.contentWindow, "resize", a);
|
|
48706
48711
|
}, this.one("load", this.loadListener_));
|
|
@@ -49027,7 +49032,7 @@ const EK = {
|
|
|
49027
49032
|
position: [],
|
|
49028
49033
|
takeFocus: !1
|
|
49029
49034
|
};
|
|
49030
|
-
class PK extends
|
|
49035
|
+
class PK extends Sn {
|
|
49031
49036
|
/**
|
|
49032
49037
|
* TransientButton constructor
|
|
49033
49038
|
*
|
|
@@ -49773,7 +49778,7 @@ ze.canControlVolume = function() {
|
|
|
49773
49778
|
const t = ze.TEST_VID.volume;
|
|
49774
49779
|
ze.TEST_VID.volume = t / 2 + 0.1;
|
|
49775
49780
|
const e = t !== ze.TEST_VID.volume;
|
|
49776
|
-
return e &&
|
|
49781
|
+
return e && Tn ? (le.setTimeout(() => {
|
|
49777
49782
|
ze && ze.prototype && (ze.prototype.featuresVolumeControl = t !== ze.TEST_VID.volume);
|
|
49778
49783
|
}), !1) : e;
|
|
49779
49784
|
} catch {
|
|
@@ -49821,7 +49826,7 @@ ze.canOverrideAttributes = function() {
|
|
|
49821
49826
|
return !0;
|
|
49822
49827
|
};
|
|
49823
49828
|
ze.supportsNativeTextTracks = function() {
|
|
49824
|
-
return nu ||
|
|
49829
|
+
return nu || Tn && li;
|
|
49825
49830
|
};
|
|
49826
49831
|
ze.supportsNativeVideoTracks = function() {
|
|
49827
49832
|
return !!(ze.TEST_VID && ze.TEST_VID.videoTracks);
|
|
@@ -49834,7 +49839,7 @@ ze.Events = ["loadstart", "suspend", "abort", "error", "emptied", "stalled", "lo
|
|
|
49834
49839
|
Zd(ze.prototype, t, () => ze[e](), !0);
|
|
49835
49840
|
});
|
|
49836
49841
|
ze.prototype.featuresVolumeControl = ze.canControlVolume();
|
|
49837
|
-
ze.prototype.movingMediaElementInDOM = !
|
|
49842
|
+
ze.prototype.movingMediaElementInDOM = !Tn;
|
|
49838
49843
|
ze.prototype.featuresFullscreenResize = !0;
|
|
49839
49844
|
ze.prototype.featuresProgressEvents = !0;
|
|
49840
49845
|
ze.prototype.featuresTimeupdateEvents = !0;
|
|
@@ -50687,7 +50692,7 @@ class Vt extends Te {
|
|
|
50687
50692
|
c.style.display = "none", this.el_.appendChild(c), this.addClass("vjs-svg-icons-enabled");
|
|
50688
50693
|
}
|
|
50689
50694
|
}
|
|
50690
|
-
this.initChildren(), this.isAudio(e.nodeName.toLowerCase() === "audio"), this.controls() ? this.addClass("vjs-controls-enabled") : this.addClass("vjs-controls-disabled"), this.el_.setAttribute("role", "region"), this.isAudio() ? this.el_.setAttribute("aria-label", this.localize("Audio Player")) : this.el_.setAttribute("aria-label", this.localize("Video Player")), this.isAudio() && this.addClass("vjs-audio"), n.spatialNavigation && n.spatialNavigation.enabled && (this.spatialNavigation = new aK(this), this.addClass("vjs-spatial-navigation-enabled")), Qo && this.addClass("vjs-touch-enabled"),
|
|
50695
|
+
this.initChildren(), this.isAudio(e.nodeName.toLowerCase() === "audio"), this.controls() ? this.addClass("vjs-controls-enabled") : this.addClass("vjs-controls-disabled"), this.el_.setAttribute("role", "region"), this.isAudio() ? this.el_.setAttribute("aria-label", this.localize("Audio Player")) : this.el_.setAttribute("aria-label", this.localize("Video Player")), this.isAudio() && this.addClass("vjs-audio"), n.spatialNavigation && n.spatialNavigation.enabled && (this.spatialNavigation = new aK(this), this.addClass("vjs-spatial-navigation-enabled")), Qo && this.addClass("vjs-touch-enabled"), Tn || this.addClass("vjs-workinghover"), Vt.players[this.id_] = this;
|
|
50691
50696
|
const a = Ec.split(".")[0];
|
|
50692
50697
|
this.addClass(`vjs-v${a}`), this.userActive(!0), this.reportUserActivity(), this.one("play", (l) => this.listenForUserActivity_(l)), this.on("keydown", (l) => this.handleKeyDown(l)), this.on("languagechange", (l) => this.handleLanguagechange(l)), this.breakpoints(this.options_.breakpoints), this.responsive(this.options_.responsive), this.on("ready", () => {
|
|
50693
50698
|
this.audioPosterMode(this.options_.audioPosterMode), this.audioOnlyMode(this.options_.audioOnlyMode);
|
|
@@ -50702,8 +50707,8 @@ class Vt extends Te {
|
|
|
50702
50707
|
* @fires Player#dispose
|
|
50703
50708
|
*/
|
|
50704
50709
|
dispose() {
|
|
50705
|
-
this.trigger("dispose"), this.off("dispose"),
|
|
50706
|
-
const n =
|
|
50710
|
+
this.trigger("dispose"), this.off("dispose"), kn(De, this.fsApi_.fullscreenchange, this.boundDocumentFullscreenChange_), kn(De, "keydown", this.boundFullWindowOnEscKey_), this.styleEl_ && this.styleEl_.parentNode && (this.styleEl_.parentNode.removeChild(this.styleEl_), this.styleEl_ = null), Vt.players[this.id_] = null, this.tag && this.tag.player && (this.tag.player = null), this.el_ && this.el_.player && (this.el_.player = null), this.tech_ && (this.tech_.dispose(), this.isPosterFromTech_ = !1, this.poster_ = ""), this.playerElIngest_ && (this.playerElIngest_ = null), this.tag && (this.tag = null), eK(this), Bn.names.forEach((e) => {
|
|
50711
|
+
const n = Bn[e], s = this[n.getterName]();
|
|
50707
50712
|
s && s.off && s.off();
|
|
50708
50713
|
}), super.dispose({
|
|
50709
50714
|
restoreEl: this.options_.restoreEl
|
|
@@ -50956,8 +50961,8 @@ class Vt extends Te {
|
|
|
50956
50961
|
canOverridePoster: !!this.options_.techCanOverridePoster,
|
|
50957
50962
|
enableSourceset: this.options_.enableSourceset
|
|
50958
50963
|
};
|
|
50959
|
-
|
|
50960
|
-
const c =
|
|
50964
|
+
Bn.names.forEach((u) => {
|
|
50965
|
+
const c = Bn[u];
|
|
50961
50966
|
l[c.getterName] = this[c.privateName];
|
|
50962
50967
|
}), Object.assign(l, this.options_[s]), Object.assign(l, this.options_[i]), Object.assign(l, this.options_[e.toLowerCase()]), this.tag && (l.tag = this.tag), n && n.src === this.cache_.src && this.cache_.currentTime > 0 && (l.startTime = this.cache_.currentTime);
|
|
50963
50968
|
const r = ut.getTech(e);
|
|
@@ -50984,8 +50989,8 @@ class Vt extends Te {
|
|
|
50984
50989
|
* @private
|
|
50985
50990
|
*/
|
|
50986
50991
|
unloadTech_() {
|
|
50987
|
-
|
|
50988
|
-
const n =
|
|
50992
|
+
Bn.names.forEach((e) => {
|
|
50993
|
+
const n = Bn[e];
|
|
50989
50994
|
this[n.privateName] = this[n.getterName]();
|
|
50990
50995
|
}), this.textTracksJson_ = Mc.textTracksToJson(this.tech_), this.isReady_ = !1, this.tech_.dispose(), this.tech_ = !1, this.isPosterFromTech_ && (this.poster_ = "", this.trigger("posterchange")), this.isPosterFromTech_ = !1;
|
|
50991
50996
|
}
|
|
@@ -51594,7 +51599,7 @@ See https://github.com/videojs/video.js/issues/2617 for more info.
|
|
|
51594
51599
|
*/
|
|
51595
51600
|
play_(e = Qs) {
|
|
51596
51601
|
this.playCallbacks_.push(e);
|
|
51597
|
-
const n = !!(!this.changingSrc_ && (this.src() || this.currentSrc())), s = !!(nu ||
|
|
51602
|
+
const n = !!(!this.changingSrc_ && (this.src() || this.currentSrc())), s = !!(nu || Tn);
|
|
51598
51603
|
if (this.waitToPlay_ && (this.off(["ready", "loadstart"], this.waitToPlay_), this.waitToPlay_ = null), !this.isReady_ || !n) {
|
|
51599
51604
|
this.waitToPlay_ = (l) => {
|
|
51600
51605
|
this.play_();
|
|
@@ -52074,7 +52079,7 @@ See https://github.com/videojs/video.js/issues/2617 for more info.
|
|
|
52074
52079
|
* @fires Player#exitFullWindow
|
|
52075
52080
|
*/
|
|
52076
52081
|
exitFullWindow() {
|
|
52077
|
-
this.isFullscreen(!1), this.isFullWindow = !1,
|
|
52082
|
+
this.isFullscreen(!1), this.isFullWindow = !1, kn(De, "keydown", this.boundFullWindowOnEscKey_), De.documentElement.style.overflow = this.docOrigOverflow, su(De.body, "vjs-full-window"), this.trigger("exitFullWindow");
|
|
52078
52083
|
}
|
|
52079
52084
|
/**
|
|
52080
52085
|
* Get or set disable Picture-in-Picture mode.
|
|
@@ -52728,7 +52733,7 @@ See https://github.com/videojs/video.js/issues/2617 for more info.
|
|
|
52728
52733
|
};
|
|
52729
52734
|
this.on("mousedown", l), this.on("mousemove", a), this.on("mouseup", r), this.on("mouseleave", r);
|
|
52730
52735
|
const u = this.getChild("controlBar");
|
|
52731
|
-
u && !
|
|
52736
|
+
u && !Tn && !Rs && (u.on("mouseenter", function(h) {
|
|
52732
52737
|
this.player().options_.inactivityTimeout !== 0 && (this.player().cache_.inactivityTimeout = this.player().options_.inactivityTimeout), this.player().options_.inactivityTimeout = 0;
|
|
52733
52738
|
}), u.on("mouseleave", function(h) {
|
|
52734
52739
|
this.player().options_.inactivityTimeout = this.player().cache_.inactivityTimeout;
|
|
@@ -53337,8 +53342,8 @@ Vt.prototype.remoteTextTracks = () => {
|
|
|
53337
53342
|
};
|
|
53338
53343
|
Vt.prototype.remoteTextTrackEls = () => {
|
|
53339
53344
|
};
|
|
53340
|
-
|
|
53341
|
-
const e =
|
|
53345
|
+
Bn.names.forEach(function(t) {
|
|
53346
|
+
const e = Bn[t];
|
|
53342
53347
|
Vt.prototype[e.getterName] = function() {
|
|
53343
53348
|
return this.tech_ ? this.tech_[e.getterName]() : (this[e.privateName] = this[e.privateName] || new e.ListClass(), this[e.privateName]);
|
|
53344
53349
|
};
|
|
@@ -53740,7 +53745,7 @@ ge.EventTarget = gs;
|
|
|
53740
53745
|
ge.any = Bm;
|
|
53741
53746
|
ge.on = fs;
|
|
53742
53747
|
ge.one = ru;
|
|
53743
|
-
ge.off =
|
|
53748
|
+
ge.off = kn;
|
|
53744
53749
|
ge.trigger = Rl;
|
|
53745
53750
|
ge.xhr = rg;
|
|
53746
53751
|
ge.TrackList = Da;
|
|
@@ -56934,19 +56939,19 @@ browserWorkerPolyFill(self);
|
|
|
56934
56939
|
}, Ee = function(b, P) {
|
|
56935
56940
|
var A = _e();
|
|
56936
56941
|
return A.dataOffset = P, A.compositionTimeOffset = b.pts - b.dts, A.duration = b.duration, A.size = 4 * b.length, A.size += b.byteLength, b.keyFrame && (A.flags.dependsOn = 2, A.flags.isNonSyncSample = 0), A;
|
|
56937
|
-
},
|
|
56942
|
+
}, xe = function(b, P) {
|
|
56938
56943
|
var A, L, B, F, J, ee = P || 0, ae = [];
|
|
56939
56944
|
for (A = 0; A < b.length; A++)
|
|
56940
56945
|
for (F = b[A], L = 0; L < F.length; L++)
|
|
56941
56946
|
J = F[L], B = Ee(J, ee), ee += B.size, ae.push(B);
|
|
56942
56947
|
return ae;
|
|
56943
56948
|
}, Pe = function(b) {
|
|
56944
|
-
var P, A, L, B, F, J, ee = 0, ae = b.byteLength, de = b.nalCount, me = ae + 4 * de,
|
|
56949
|
+
var P, A, L, B, F, J, ee = 0, ae = b.byteLength, de = b.nalCount, me = ae + 4 * de, Ce = new Uint8Array(me), Be = new DataView(Ce.buffer);
|
|
56945
56950
|
for (P = 0; P < b.length; P++)
|
|
56946
56951
|
for (B = b[P], A = 0; A < B.length; A++)
|
|
56947
56952
|
for (F = B[A], L = 0; L < F.length; L++)
|
|
56948
|
-
J = F[L], Be.setUint32(ee, J.data.byteLength), ee += 4,
|
|
56949
|
-
return
|
|
56953
|
+
J = F[L], Be.setUint32(ee, J.data.byteLength), ee += 4, Ce.set(J.data, ee), ee += J.data.byteLength;
|
|
56954
|
+
return Ce;
|
|
56950
56955
|
}, Ge = function(b, P) {
|
|
56951
56956
|
var A, L = P || 0, B = [];
|
|
56952
56957
|
return A = Ee(b, L), B.push(A), B;
|
|
@@ -56959,7 +56964,7 @@ browserWorkerPolyFill(self);
|
|
|
56959
56964
|
groupNalsIntoFrames: Ae,
|
|
56960
56965
|
groupFramesIntoGops: it,
|
|
56961
56966
|
extendFirstKeyFrame: Ie,
|
|
56962
|
-
generateSampleTable:
|
|
56967
|
+
generateSampleTable: xe,
|
|
56963
56968
|
concatenateNalData: Pe,
|
|
56964
56969
|
generateSampleTableForFrame: Ge,
|
|
56965
56970
|
concatenateNalDataForFrame: Ze
|
|
@@ -56991,29 +56996,29 @@ browserWorkerPolyFill(self);
|
|
|
56991
56996
|
xt = He(b);
|
|
56992
56997
|
}
|
|
56993
56998
|
return xt;
|
|
56994
|
-
}, es = 9e4, Nt,
|
|
56999
|
+
}, es = 9e4, Nt, En, Pt, Ft, Pn, ys, $i;
|
|
56995
57000
|
Nt = function(b) {
|
|
56996
57001
|
return b * es;
|
|
56997
|
-
},
|
|
57002
|
+
}, En = function(b, P) {
|
|
56998
57003
|
return b * P;
|
|
56999
57004
|
}, Pt = function(b) {
|
|
57000
57005
|
return b / es;
|
|
57001
57006
|
}, Ft = function(b, P) {
|
|
57002
57007
|
return b / P;
|
|
57003
|
-
},
|
|
57008
|
+
}, Pn = function(b, P) {
|
|
57004
57009
|
return Nt(Ft(b, P));
|
|
57005
57010
|
}, ys = function(b, P) {
|
|
57006
|
-
return
|
|
57011
|
+
return En(Pt(b), P);
|
|
57007
57012
|
}, $i = function(b, P, A) {
|
|
57008
57013
|
return Pt(A ? b : b - P);
|
|
57009
57014
|
};
|
|
57010
57015
|
var lt = {
|
|
57011
57016
|
ONE_SECOND_IN_TS: es,
|
|
57012
57017
|
secondsToVideoTs: Nt,
|
|
57013
|
-
secondsToAudioTs:
|
|
57018
|
+
secondsToAudioTs: En,
|
|
57014
57019
|
videoTsToSeconds: Pt,
|
|
57015
57020
|
audioTsToSeconds: Ft,
|
|
57016
|
-
audioTsToVideoTs:
|
|
57021
|
+
audioTsToVideoTs: Pn,
|
|
57017
57022
|
videoTsToAudioTs: ys,
|
|
57018
57023
|
metadataTsToSeconds: $i
|
|
57019
57024
|
}, Oa = rn, Hn = lt, Di = function(b) {
|
|
@@ -57022,13 +57027,13 @@ browserWorkerPolyFill(self);
|
|
|
57022
57027
|
A = b[P], L += A.data.byteLength;
|
|
57023
57028
|
return L;
|
|
57024
57029
|
}, Li = function(b, P, A, L) {
|
|
57025
|
-
var B, F = 0, J = 0, ee = 0, ae = 0, de, me,
|
|
57030
|
+
var B, F = 0, J = 0, ee = 0, ae = 0, de, me, Ce;
|
|
57026
57031
|
if (P.length && (B = Hn.audioTsToVideoTs(b.baseMediaDecodeTime, b.samplerate), F = Math.ceil(Hn.ONE_SECOND_IN_TS / (b.samplerate / 1024)), A && L && (J = B - Math.max(A, L), ee = Math.floor(J / F), ae = ee * F), !(ee < 1 || ae > Hn.ONE_SECOND_IN_TS / 2))) {
|
|
57027
57032
|
for (de = Oa()[b.samplerate], de || (de = P[0].data), me = 0; me < ee; me++)
|
|
57028
|
-
|
|
57033
|
+
Ce = P[0], P.splice(0, 0, {
|
|
57029
57034
|
data: de,
|
|
57030
|
-
dts:
|
|
57031
|
-
pts:
|
|
57035
|
+
dts: Ce.dts - F,
|
|
57036
|
+
pts: Ce.pts - F
|
|
57032
57037
|
});
|
|
57033
57038
|
return b.baseMediaDecodeTime -= Math.floor(Hn.videoTsToAudioTs(ae, b.samplerate)), ae;
|
|
57034
57039
|
}
|
|
@@ -57325,14 +57330,14 @@ browserWorkerPolyFill(self);
|
|
|
57325
57330
|
A.flushDisplayed(F, A.services[b]);
|
|
57326
57331
|
}), this.services[b];
|
|
57327
57332
|
}, Qe.prototype.handleText = function(b, P, A) {
|
|
57328
|
-
var L = A && A.isExtended, B = A && A.isMultiByte, F = this.current708Packet.data, J = L ? 4096 : 0, ee = F[b], ae = F[b + 1], de = P.currentWindow, me,
|
|
57333
|
+
var L = A && A.isExtended, B = A && A.isMultiByte, F = this.current708Packet.data, J = L ? 4096 : 0, ee = F[b], ae = F[b + 1], de = P.currentWindow, me, Ce;
|
|
57329
57334
|
function Be(Se) {
|
|
57330
57335
|
return Se.map((Je) => ("0" + (Je & 255).toString(16)).slice(-2)).join("");
|
|
57331
57336
|
}
|
|
57332
|
-
if (B ? (
|
|
57333
|
-
me = P.textDecoder_.decode(new Uint8Array(
|
|
57337
|
+
if (B ? (Ce = [ee, ae], b++) : Ce = [ee], P.textDecoder_ && !L)
|
|
57338
|
+
me = P.textDecoder_.decode(new Uint8Array(Ce));
|
|
57334
57339
|
else if (B) {
|
|
57335
|
-
const Se = Be(
|
|
57340
|
+
const Se = Be(Ce);
|
|
57336
57341
|
me = String.fromCharCode(parseInt(Se, 16));
|
|
57337
57342
|
} else
|
|
57338
57343
|
me = qt(J | ee);
|
|
@@ -57870,7 +57875,7 @@ browserWorkerPolyFill(self);
|
|
|
57870
57875
|
for (F = 0; F < P.descriptor.length; F++)
|
|
57871
57876
|
this.dispatchType += ("00" + P.descriptor[F].toString(16)).slice(-2);
|
|
57872
57877
|
this.push = function(J) {
|
|
57873
|
-
var ee, ae, de, me,
|
|
57878
|
+
var ee, ae, de, me, Ce, Be;
|
|
57874
57879
|
if (J.type === "timed-metadata") {
|
|
57875
57880
|
if (J.dataAlignmentIndicator && (B = 0, L.length = 0), L.length === 0 && (J.data.length < 10 || J.data[0] !== 73 || J.data[1] !== 68 || J.data[2] !== 51)) {
|
|
57876
57881
|
this.trigger("log", {
|
|
@@ -57885,8 +57890,8 @@ browserWorkerPolyFill(self);
|
|
|
57885
57890
|
frames: [],
|
|
57886
57891
|
pts: L[0].pts,
|
|
57887
57892
|
dts: L[0].dts
|
|
57888
|
-
},
|
|
57889
|
-
ee.data.set(L[0].data.subarray(0, A -
|
|
57893
|
+
}, Ce = 0; Ce < A; )
|
|
57894
|
+
ee.data.set(L[0].data.subarray(0, A - Ce), Ce), Ce += L[0].data.byteLength, B -= L[0].data.byteLength, L.shift();
|
|
57890
57895
|
ae = 10, ee.data[5] & 64 && (ae += 4, ae += Oi.parseSyncSafeInteger(ee.data.subarray(10, 14)), A -= Oi.parseSyncSafeInteger(ee.data.subarray(16, 20)));
|
|
57891
57896
|
do {
|
|
57892
57897
|
if (de = Oi.parseSyncSafeInteger(ee.data.subarray(ae + 4, ae + 8)), de < 1) {
|
|
@@ -57945,8 +57950,8 @@ browserWorkerPolyFill(self);
|
|
|
57945
57950
|
audio: null,
|
|
57946
57951
|
"timed-metadata": {}
|
|
57947
57952
|
}, J = (B[1] & 15) << 8 | B[2], ee = 3 + J - 4, ae = (B[10] & 15) << 8 | B[11], de = 12 + ae; de < ee; ) {
|
|
57948
|
-
var me = B[de],
|
|
57949
|
-
me === Ls.H264_STREAM_TYPE && L.programMapTable.video === null ? L.programMapTable.video =
|
|
57953
|
+
var me = B[de], Ce = (B[de + 1] & 31) << 8 | B[de + 2];
|
|
57954
|
+
me === Ls.H264_STREAM_TYPE && L.programMapTable.video === null ? L.programMapTable.video = Ce : me === Ls.ADTS_STREAM_TYPE && L.programMapTable.audio === null ? L.programMapTable.audio = Ce : me === Ls.METADATA_STREAM_TYPE && (L.programMapTable["timed-metadata"][Ce] = me), de += ((B[de + 3] & 15) << 8 | B[de + 4]) + 5;
|
|
57950
57955
|
}
|
|
57951
57956
|
F.programMapTable = L.programMapTable;
|
|
57952
57957
|
}
|
|
@@ -57976,16 +57981,16 @@ browserWorkerPolyFill(self);
|
|
|
57976
57981
|
size: 0
|
|
57977
57982
|
}, F, J = function(ae, de) {
|
|
57978
57983
|
var me;
|
|
57979
|
-
const
|
|
57980
|
-
de.data = new Uint8Array(),
|
|
57984
|
+
const Ce = ae[0] << 16 | ae[1] << 8 | ae[2];
|
|
57985
|
+
de.data = new Uint8Array(), Ce === 1 && (de.packetLength = 6 + (ae[4] << 8 | ae[5]), de.dataAlignmentIndicator = (ae[6] & 4) !== 0, me = ae[7], me & 192 && (de.pts = (ae[9] & 14) << 27 | (ae[10] & 255) << 20 | (ae[11] & 254) << 12 | (ae[12] & 255) << 5 | (ae[13] & 254) >>> 3, de.pts *= 4, de.pts += (ae[13] & 6) >>> 1, de.dts = de.pts, me & 64 && (de.dts = (ae[14] & 14) << 27 | (ae[15] & 255) << 20 | (ae[16] & 254) << 12 | (ae[17] & 255) << 5 | (ae[18] & 254) >>> 3, de.dts *= 4, de.dts += (ae[18] & 6) >>> 1)), de.data = ae.subarray(9 + ae[8]));
|
|
57981
57986
|
}, ee = function(ae, de, me) {
|
|
57982
|
-
var
|
|
57987
|
+
var Ce = new Uint8Array(ae.size), Be = {
|
|
57983
57988
|
type: de
|
|
57984
57989
|
}, Se = 0, Je = 0, ht = !1, cn;
|
|
57985
57990
|
if (!(!ae.data.length || ae.size < 9)) {
|
|
57986
57991
|
for (Be.trackId = ae.data[0].pid, Se = 0; Se < ae.data.length; Se++)
|
|
57987
|
-
cn = ae.data[Se],
|
|
57988
|
-
J(
|
|
57992
|
+
cn = ae.data[Se], Ce.set(cn.data, Je), Je += cn.data.byteLength;
|
|
57993
|
+
J(Ce, Be), ht = de === "video" || Be.packetLength <= ae.size, (me || ht) && (ae.size = 0, ae.data.length = 0), ht && b.trigger("data", Be);
|
|
57989
57994
|
}
|
|
57990
57995
|
};
|
|
57991
57996
|
mr.prototype.init.call(this), this.push = function(ae) {
|
|
@@ -58265,21 +58270,21 @@ browserWorkerPolyFill(self);
|
|
|
58265
58270
|
}, this.endTimeline = function() {
|
|
58266
58271
|
b.endTimeline();
|
|
58267
58272
|
}, ee = function(ae, de) {
|
|
58268
|
-
var me = 8,
|
|
58273
|
+
var me = 8, Ce = 8, Be, Se;
|
|
58269
58274
|
for (Be = 0; Be < ae; Be++)
|
|
58270
|
-
|
|
58275
|
+
Ce !== 0 && (Se = de.readExpGolomb(), Ce = (me + Se + 256) % 256), me = Ce === 0 ? me : Ce;
|
|
58271
58276
|
}, F = function(ae) {
|
|
58272
|
-
for (var de = ae.byteLength, me = [],
|
|
58273
|
-
ae[
|
|
58277
|
+
for (var de = ae.byteLength, me = [], Ce = 1, Be, Se; Ce < de - 2; )
|
|
58278
|
+
ae[Ce] === 0 && ae[Ce + 1] === 0 && ae[Ce + 2] === 3 ? (me.push(Ce + 2), Ce += 2) : Ce++;
|
|
58274
58279
|
if (me.length === 0)
|
|
58275
58280
|
return ae;
|
|
58276
58281
|
Be = de - me.length, Se = new Uint8Array(Be);
|
|
58277
58282
|
var Je = 0;
|
|
58278
|
-
for (
|
|
58279
|
-
Je === me[0] && (Je++, me.shift()), Se[
|
|
58283
|
+
for (Ce = 0; Ce < Be; Je++, Ce++)
|
|
58284
|
+
Je === me[0] && (Je++, me.shift()), Se[Ce] = ae[Je];
|
|
58280
58285
|
return Se;
|
|
58281
58286
|
}, J = function(ae) {
|
|
58282
|
-
var de = 0, me = 0,
|
|
58287
|
+
var de = 0, me = 0, Ce = 0, Be = 0, Se, Je, ht, cn, os, Ui, to, no, so, io, Er, Rt = [1, 1], ao, Is;
|
|
58283
58288
|
if (Se = new Oy(ae), Je = Se.readUnsignedByte(), cn = Se.readUnsignedByte(), ht = Se.readUnsignedByte(), Se.skipUnsignedExpGolomb(), Sp[Je] && (os = Se.readUnsignedExpGolomb(), os === 3 && Se.skipBits(1), Se.skipUnsignedExpGolomb(), Se.skipUnsignedExpGolomb(), Se.skipBits(1), Se.readBoolean()))
|
|
58284
58289
|
for (Er = os !== 3 ? 8 : 12, Is = 0; Is < Er; Is++)
|
|
58285
58290
|
Se.readBoolean() && (Is < 6 ? ee(16, Se) : ee(64, Se));
|
|
@@ -58288,7 +58293,7 @@ browserWorkerPolyFill(self);
|
|
|
58288
58293
|
else if (Ui === 1)
|
|
58289
58294
|
for (Se.skipBits(1), Se.skipExpGolomb(), Se.skipExpGolomb(), to = Se.readUnsignedExpGolomb(), Is = 0; Is < to; Is++)
|
|
58290
58295
|
Se.skipExpGolomb();
|
|
58291
|
-
if (Se.skipUnsignedExpGolomb(), Se.skipBits(1), no = Se.readUnsignedExpGolomb(), so = Se.readUnsignedExpGolomb(), io = Se.readBits(1), io === 0 && Se.skipBits(1), Se.skipBits(1), Se.readBoolean() && (de = Se.readUnsignedExpGolomb(), me = Se.readUnsignedExpGolomb(),
|
|
58296
|
+
if (Se.skipUnsignedExpGolomb(), Se.skipBits(1), no = Se.readUnsignedExpGolomb(), so = Se.readUnsignedExpGolomb(), io = Se.readBits(1), io === 0 && Se.skipBits(1), Se.skipBits(1), Se.readBoolean() && (de = Se.readUnsignedExpGolomb(), me = Se.readUnsignedExpGolomb(), Ce = Se.readUnsignedExpGolomb(), Be = Se.readUnsignedExpGolomb()), Se.readBoolean() && Se.readBoolean()) {
|
|
58292
58297
|
switch (ao = Se.readUnsignedByte(), ao) {
|
|
58293
58298
|
case 1:
|
|
58294
58299
|
Rt = [1, 1];
|
|
@@ -58350,7 +58355,7 @@ browserWorkerPolyFill(self);
|
|
|
58350
58355
|
levelIdc: ht,
|
|
58351
58356
|
profileCompatibility: cn,
|
|
58352
58357
|
width: (no + 1) * 16 - de * 2 - me * 2,
|
|
58353
|
-
height: (2 - io) * (so + 1) * 16 -
|
|
58358
|
+
height: (2 - io) * (so + 1) * 16 - Ce * 2 - Be * 2,
|
|
58354
58359
|
// sar is sample aspect ratio
|
|
58355
58360
|
sarRatio: Rt
|
|
58356
58361
|
};
|
|
@@ -58498,12 +58503,12 @@ browserWorkerPolyFill(self);
|
|
|
58498
58503
|
}, this.setAudioAppendStart = function(ee) {
|
|
58499
58504
|
F = ee;
|
|
58500
58505
|
}, this.flush = function() {
|
|
58501
|
-
var ee, ae, de, me,
|
|
58506
|
+
var ee, ae, de, me, Ce, Be, Se;
|
|
58502
58507
|
if (A.length === 0) {
|
|
58503
58508
|
this.trigger("done", "AudioSegmentStream");
|
|
58504
58509
|
return;
|
|
58505
58510
|
}
|
|
58506
|
-
ee = _r.trimAdtsFramesByEarliestDts(A, b, B), b.baseMediaDecodeTime = As.calculateTrackBaseMediaDecodeTime(b, P.keepOriginalTimestamps), Se = _r.prefixWithSilence(b, ee, F, J), b.samples = _r.generateSampleTable(ee), de = Yl.mdat(_r.concatenateFrameData(ee)), A = [], ae = Yl.moof(L, [b]), me = new Uint8Array(ae.byteLength + de.byteLength), L++, me.set(ae), me.set(de, ae.byteLength), As.clearDtsInfo(b),
|
|
58511
|
+
ee = _r.trimAdtsFramesByEarliestDts(A, b, B), b.baseMediaDecodeTime = As.calculateTrackBaseMediaDecodeTime(b, P.keepOriginalTimestamps), Se = _r.prefixWithSilence(b, ee, F, J), b.samples = _r.generateSampleTable(ee), de = Yl.mdat(_r.concatenateFrameData(ee)), A = [], ae = Yl.moof(L, [b]), me = new Uint8Array(ae.byteLength + de.byteLength), L++, me.set(ae), me.set(de, ae.byteLength), As.clearDtsInfo(b), Ce = Math.ceil(e_ * 1024 / b.samplerate), ee.length && (Be = ee.length * Ce, this.trigger("segmentTimingInfo", Mp(
|
|
58507
58512
|
// The audio track's baseMediaDecodeTime is in audio clock cycles, but the
|
|
58508
58513
|
// frame info is in video clock cycles. Convert to match expectation of
|
|
58509
58514
|
// listeners (that all timestamps will be based on video clock cycles).
|
|
@@ -58531,7 +58536,7 @@ browserWorkerPolyFill(self);
|
|
|
58531
58536
|
b[ae] = F[ae];
|
|
58532
58537
|
}, this)), ee.nalUnitType === "pic_parameter_set_rbsp" && !J && (J = ee.data, b.pps = [ee.data]), L.push(ee);
|
|
58533
58538
|
}, this.flush = function() {
|
|
58534
|
-
for (var ee, ae, de, me,
|
|
58539
|
+
for (var ee, ae, de, me, Ce, Be, Se = 0, Je, ht; L.length && L[0].nalUnitType !== "access_unit_delimiter_rbsp"; )
|
|
58535
58540
|
L.shift();
|
|
58536
58541
|
if (L.length === 0) {
|
|
58537
58542
|
this.resetStream_(), this.trigger("done", "VideoSegmentStream");
|
|
@@ -58549,7 +58554,7 @@ browserWorkerPolyFill(self);
|
|
|
58549
58554
|
}
|
|
58550
58555
|
As.clearDtsInfo(b), de = cn;
|
|
58551
58556
|
}
|
|
58552
|
-
As.collectDtsInfo(b, de), b.samples = Kl.generateSampleTable(de),
|
|
58557
|
+
As.collectDtsInfo(b, de), b.samples = Kl.generateSampleTable(de), Ce = Yl.mdat(Kl.concatenateNalData(de)), b.baseMediaDecodeTime = As.calculateTrackBaseMediaDecodeTime(b, P.keepOriginalTimestamps), this.trigger("processedGopsInfo", de.map(function(os) {
|
|
58553
58558
|
return {
|
|
58554
58559
|
pts: os.pts,
|
|
58555
58560
|
dts: os.dts,
|
|
@@ -58562,7 +58567,7 @@ browserWorkerPolyFill(self);
|
|
|
58562
58567
|
gop: de.pop(),
|
|
58563
58568
|
pps: b.pps,
|
|
58564
58569
|
sps: b.sps
|
|
58565
|
-
}), this.gopCache_.length = Math.min(6, this.gopCache_.length), L = [], this.trigger("baseMediaDecodeTime", b.baseMediaDecodeTime), this.trigger("timelineStartInfo", b.timelineStartInfo), me = Yl.moof(A, [b]), Be = new Uint8Array(me.byteLength +
|
|
58570
|
+
}), this.gopCache_.length = Math.min(6, this.gopCache_.length), L = [], this.trigger("baseMediaDecodeTime", b.baseMediaDecodeTime), this.trigger("timelineStartInfo", b.timelineStartInfo), me = Yl.moof(A, [b]), Be = new Uint8Array(me.byteLength + Ce.byteLength), A++, Be.set(me), Be.set(Ce, me.byteLength), this.trigger("data", {
|
|
58566
58571
|
track: b,
|
|
58567
58572
|
boxes: Be
|
|
58568
58573
|
}), this.resetStream_(), this.trigger("done", "VideoSegmentStream");
|
|
@@ -58571,28 +58576,28 @@ browserWorkerPolyFill(self);
|
|
|
58571
58576
|
}, this.resetStream_ = function() {
|
|
58572
58577
|
As.clearDtsInfo(b), F = void 0, J = void 0;
|
|
58573
58578
|
}, this.getGopForFusion_ = function(ee) {
|
|
58574
|
-
var ae = 45e3, de = 1 / 0, me,
|
|
58579
|
+
var ae = 45e3, de = 1 / 0, me, Ce, Be, Se, Je;
|
|
58575
58580
|
for (Je = 0; Je < this.gopCache_.length; Je++)
|
|
58576
|
-
Se = this.gopCache_[Je], Be = Se.gop, !(!(b.pps && Op(b.pps[0], Se.pps[0])) || !(b.sps && Op(b.sps[0], Se.sps[0]))) && (Be.dts < b.timelineStartInfo.dts || (me = ee.dts - Be.dts - Be.duration, me >= -1e4 && me <= ae && (!
|
|
58577
|
-
return
|
|
58581
|
+
Se = this.gopCache_[Je], Be = Se.gop, !(!(b.pps && Op(b.pps[0], Se.pps[0])) || !(b.sps && Op(b.sps[0], Se.sps[0]))) && (Be.dts < b.timelineStartInfo.dts || (me = ee.dts - Be.dts - Be.duration, me >= -1e4 && me <= ae && (!Ce || de > me) && (Ce = Se, de = me)));
|
|
58582
|
+
return Ce ? Ce.gop : null;
|
|
58578
58583
|
}, this.alignGopsAtStart_ = function(ee) {
|
|
58579
|
-
var ae, de, me,
|
|
58580
|
-
for (Be = ee.byteLength, Se = ee.nalCount, Je = ee.duration, ae = de = 0; ae < B.length && de < ee.length && (me = B[ae],
|
|
58581
|
-
if (
|
|
58584
|
+
var ae, de, me, Ce, Be, Se, Je, ht;
|
|
58585
|
+
for (Be = ee.byteLength, Se = ee.nalCount, Je = ee.duration, ae = de = 0; ae < B.length && de < ee.length && (me = B[ae], Ce = ee[de], me.pts !== Ce.pts); ) {
|
|
58586
|
+
if (Ce.pts > me.pts) {
|
|
58582
58587
|
ae++;
|
|
58583
58588
|
continue;
|
|
58584
58589
|
}
|
|
58585
|
-
de++, Be -=
|
|
58590
|
+
de++, Be -= Ce.byteLength, Se -= Ce.nalCount, Je -= Ce.duration;
|
|
58586
58591
|
}
|
|
58587
58592
|
return de === 0 ? ee : de === ee.length ? null : (ht = ee.slice(de), ht.byteLength = Be, ht.duration = Je, ht.nalCount = Se, ht.pts = ht[0].pts, ht.dts = ht[0].dts, ht);
|
|
58588
58593
|
}, this.alignGopsAtEnd_ = function(ee) {
|
|
58589
|
-
var ae, de, me,
|
|
58594
|
+
var ae, de, me, Ce, Be, Se;
|
|
58590
58595
|
for (ae = B.length - 1, de = ee.length - 1, Be = null, Se = !1; ae >= 0 && de >= 0; ) {
|
|
58591
|
-
if (me = B[ae],
|
|
58596
|
+
if (me = B[ae], Ce = ee[de], me.pts === Ce.pts) {
|
|
58592
58597
|
Se = !0;
|
|
58593
58598
|
break;
|
|
58594
58599
|
}
|
|
58595
|
-
if (me.pts >
|
|
58600
|
+
if (me.pts > Ce.pts) {
|
|
58596
58601
|
ae--;
|
|
58597
58602
|
continue;
|
|
58598
58603
|
}
|
|
@@ -58773,11 +58778,11 @@ browserWorkerPolyFill(self);
|
|
|
58773
58778
|
version: b[0],
|
|
58774
58779
|
flags: new Uint8Array(b.subarray(1, 4)),
|
|
58775
58780
|
samples: []
|
|
58776
|
-
}, A = new DataView(b.buffer, b.byteOffset, b.byteLength), L = P.flags[2] & 1, B = P.flags[2] & 4, F = P.flags[1] & 1, J = P.flags[1] & 2, ee = P.flags[1] & 4, ae = P.flags[1] & 8, de = A.getUint32(4), me = 8,
|
|
58777
|
-
for (L && (P.dataOffset = A.getInt32(me), me += 4), B && de && (
|
|
58781
|
+
}, A = new DataView(b.buffer, b.byteOffset, b.byteLength), L = P.flags[2] & 1, B = P.flags[2] & 4, F = P.flags[1] & 1, J = P.flags[1] & 2, ee = P.flags[1] & 4, ae = P.flags[1] & 8, de = A.getUint32(4), me = 8, Ce;
|
|
58782
|
+
for (L && (P.dataOffset = A.getInt32(me), me += 4), B && de && (Ce = {
|
|
58778
58783
|
flags: Np(b.subarray(me, me + 4))
|
|
58779
|
-
}, me += 4, F && (
|
|
58780
|
-
|
|
58784
|
+
}, me += 4, F && (Ce.duration = A.getUint32(me), me += 4), J && (Ce.size = A.getUint32(me), me += 4), ae && (P.version === 1 ? Ce.compositionTimeOffset = A.getInt32(me) : Ce.compositionTimeOffset = A.getUint32(me), me += 4), P.samples.push(Ce), de--); de--; )
|
|
58785
|
+
Ce = {}, F && (Ce.duration = A.getUint32(me), me += 4), J && (Ce.size = A.getUint32(me), me += 4), ee && (Ce.flags = Np(b.subarray(me, me + 4)), me += 4), ae && (P.version === 1 ? Ce.compositionTimeOffset = A.getInt32(me) : Ce.compositionTimeOffset = A.getUint32(me), me += 4), P.samples.push(Ce);
|
|
58781
58786
|
return P;
|
|
58782
58787
|
}, Fp = p_, Hp = {
|
|
58783
58788
|
tfdt: wu,
|
|
@@ -58795,11 +58800,11 @@ browserWorkerPolyFill(self);
|
|
|
58795
58800
|
var P = 4, A = b[0], L, B, F, J, ee, ae, de, me;
|
|
58796
58801
|
if (A === 0) {
|
|
58797
58802
|
L = Tr(b.subarray(P)), P += L.length, B = Tr(b.subarray(P)), P += B.length;
|
|
58798
|
-
var
|
|
58799
|
-
F =
|
|
58803
|
+
var Ce = new DataView(b.buffer);
|
|
58804
|
+
F = Ce.getUint32(P), P += 4, ee = Ce.getUint32(P), P += 4, ae = Ce.getUint32(P), P += 4, de = Ce.getUint32(P), P += 4;
|
|
58800
58805
|
} else if (A === 1) {
|
|
58801
|
-
var
|
|
58802
|
-
F =
|
|
58806
|
+
var Ce = new DataView(b.buffer);
|
|
58807
|
+
F = Ce.getUint32(P), P += 4, J = v_(b.subarray(P)), P += 8, ae = Ce.getUint32(P), P += 4, de = Ce.getUint32(P), P += 4, L = Tr(b.subarray(P)), P += L.length, B = Tr(b.subarray(P)), P += B.length;
|
|
58803
58808
|
}
|
|
58804
58809
|
me = new Uint8Array(b.subarray(P, b.byteLength));
|
|
58805
58810
|
var Be = {
|
|
@@ -58837,10 +58842,10 @@ browserWorkerPolyFill(self);
|
|
|
58837
58842
|
var A;
|
|
58838
58843
|
A = Qt(P, ["moof", "traf"]);
|
|
58839
58844
|
var L = A.reduce(function(B, F) {
|
|
58840
|
-
var J = Qt(F, ["tfhd"])[0], ee = kr(J[4] << 24 | J[5] << 16 | J[6] << 8 | J[7]), ae = b[ee] || 9e4, de = Qt(F, ["tfdt"])[0], me = new DataView(de.buffer, de.byteOffset, de.byteLength),
|
|
58841
|
-
de[0] === 1 ?
|
|
58845
|
+
var J = Qt(F, ["tfhd"])[0], ee = kr(J[4] << 24 | J[5] << 16 | J[6] << 8 | J[7]), ae = b[ee] || 9e4, de = Qt(F, ["tfdt"])[0], me = new DataView(de.buffer, de.byteOffset, de.byteLength), Ce;
|
|
58846
|
+
de[0] === 1 ? Ce = k_(de.subarray(4, 12)) : Ce = me.getUint32(4);
|
|
58842
58847
|
let Be;
|
|
58843
|
-
return typeof
|
|
58848
|
+
return typeof Ce == "bigint" ? Be = Ce / Tu.BigInt(ae) : typeof Ce == "number" && !isNaN(Ce) && (Be = Ce / ae), Be < Number.MAX_SAFE_INTEGER && (Be = Number(Be)), Be < B && (B = Be), B;
|
|
58844
58849
|
}, 1 / 0);
|
|
58845
58850
|
return typeof L == "bigint" || isFinite(L) ? L : 0;
|
|
58846
58851
|
}, Xp = function(b, P) {
|
|
@@ -58856,8 +58861,8 @@ browserWorkerPolyFill(self);
|
|
|
58856
58861
|
L = me.baseMediaDecodeTime;
|
|
58857
58862
|
}
|
|
58858
58863
|
if (ee) {
|
|
58859
|
-
var
|
|
58860
|
-
|
|
58864
|
+
var Ce = C_(ee);
|
|
58865
|
+
Ce.samples && Ce.samples.length && (B = Ce.samples[0].compositionTimeOffset || 0);
|
|
58861
58866
|
}
|
|
58862
58867
|
}
|
|
58863
58868
|
var Be = b[F] || 9e4;
|
|
@@ -58869,8 +58874,8 @@ browserWorkerPolyFill(self);
|
|
|
58869
58874
|
return P.forEach(function(L) {
|
|
58870
58875
|
var B = Qt(L, ["mdia", "hdlr"]), F = Qt(L, ["tkhd"]);
|
|
58871
58876
|
B.forEach(function(J, ee) {
|
|
58872
|
-
var ae = Ra(J.subarray(8, 12)), de = F[ee], me,
|
|
58873
|
-
ae === "vide" && (me = new DataView(de.buffer, de.byteOffset, de.byteLength),
|
|
58877
|
+
var ae = Ra(J.subarray(8, 12)), de = F[ee], me, Ce, Be;
|
|
58878
|
+
ae === "vide" && (me = new DataView(de.buffer, de.byteOffset, de.byteLength), Ce = me.getUint8(0), Be = Ce === 0 ? me.getUint32(12) : me.getUint32(20), A.push(Be));
|
|
58874
58879
|
});
|
|
58875
58880
|
}), A;
|
|
58876
58881
|
}, Cu = function(b) {
|
|
@@ -58888,9 +58893,9 @@ browserWorkerPolyFill(self);
|
|
|
58888
58893
|
}
|
|
58889
58894
|
var me = Qt(L, ["mdia", "minf", "stbl", "stsd"])[0];
|
|
58890
58895
|
if (me) {
|
|
58891
|
-
var
|
|
58892
|
-
B.codec = Ra(
|
|
58893
|
-
var Be = Qt(
|
|
58896
|
+
var Ce = me.subarray(8);
|
|
58897
|
+
B.codec = Ra(Ce.subarray(4, 8));
|
|
58898
|
+
var Be = Qt(Ce, [B.codec])[0], Se, Je;
|
|
58894
58899
|
Be && (/^[asm]vc[1-9]$/i.test(B.codec) ? (Se = Be.subarray(78), Je = Ra(Se.subarray(4, 8)), Je === "avcC" && Se.length > 11 ? (B.codec += ".", B.codec += Jl(Se[9]), B.codec += Jl(Se[10]), B.codec += Jl(Se[11])) : B.codec = "avc1.4d400d") : /^mp4[a,v]$/i.test(B.codec) ? (Se = Be.subarray(28), Je = Ra(Se.subarray(4, 8)), Je === "esds" && Se.length > 20 && Se[19] !== 0 ? (B.codec += "." + Jl(Se[19]), B.codec += "." + Jl(Se[20] >>> 2 & 63).replace(/^0/, "")) : B.codec = "mp4a.40.2") : B.codec = B.codec.toLowerCase());
|
|
58895
58900
|
}
|
|
58896
58901
|
var ht = Qt(L, ["mdia", "mdhd"])[0];
|
|
@@ -58937,8 +58942,8 @@ browserWorkerPolyFill(self);
|
|
|
58937
58942
|
var L = P, B = A.defaultSampleDuration || 0, F = A.defaultSampleSize || 0, J = A.trackId, ee = [];
|
|
58938
58943
|
return b.forEach(function(ae) {
|
|
58939
58944
|
var de = V_(ae), me = de.samples;
|
|
58940
|
-
me.forEach(function(
|
|
58941
|
-
|
|
58945
|
+
me.forEach(function(Ce) {
|
|
58946
|
+
Ce.duration === void 0 && (Ce.duration = B), Ce.size === void 0 && (Ce.size = F), Ce.trackId = J, Ce.dts = L, Ce.compositionTimeOffset === void 0 && (Ce.compositionTimeOffset = 0), typeof L == "bigint" ? (Ce.pts = L + Jp.BigInt(Ce.compositionTimeOffset), L += Jp.BigInt(Ce.duration)) : (Ce.pts = L + Ce.compositionTimeOffset, L += Ce.duration);
|
|
58942
58947
|
}), ee = ee.concat(me);
|
|
58943
58948
|
}), ee;
|
|
58944
58949
|
}, ef = {
|
|
@@ -58989,8 +58994,8 @@ browserWorkerPolyFill(self);
|
|
|
58989
58994
|
}, B_ = function(b, P) {
|
|
58990
58995
|
var A = {}, L = I_(b);
|
|
58991
58996
|
return L.forEach(function(B) {
|
|
58992
|
-
var F = B.mdat, J = B.traf, ee = ku(J, ["tfhd"]), ae = A_(ee[0]), de = ae.trackId, me = ku(J, ["tfdt"]),
|
|
58993
|
-
P === de && Be.length > 0 && (Se = O_(Be,
|
|
58997
|
+
var F = B.mdat, J = B.traf, ee = ku(J, ["tfhd"]), ae = A_(ee[0]), de = ae.trackId, me = ku(J, ["tfdt"]), Ce = me.length > 0 ? L_(me[0]).baseMediaDecodeTime : 0, Be = ku(J, ["trun"]), Se, Je;
|
|
58998
|
+
P === de && Be.length > 0 && (Se = O_(Be, Ce, ae), Je = U_(F, Se, de), A[de] || (A[de] = {
|
|
58994
58999
|
seiNals: [],
|
|
58995
59000
|
logs: []
|
|
58996
59001
|
}), A[de].seiNals = A[de].seiNals.concat(Je.seiNals), A[de].logs = A[de].logs.concat(Je.logs));
|
|
@@ -59029,8 +59034,8 @@ browserWorkerPolyFill(self);
|
|
|
59029
59034
|
return A.push(ee), null;
|
|
59030
59035
|
} else return null;
|
|
59031
59036
|
for (; A.length > 0; ) {
|
|
59032
|
-
var
|
|
59033
|
-
this.parse(
|
|
59037
|
+
var Ce = A.shift();
|
|
59038
|
+
this.parse(Ce, ae, de);
|
|
59034
59039
|
}
|
|
59035
59040
|
return me = R_(ee, L, B), me && me.logs && (F.logs = F.logs.concat(me.logs)), me === null || !me.seiNals ? F.logs.length ? {
|
|
59036
59041
|
logs: F.logs,
|
|
@@ -59083,9 +59088,9 @@ browserWorkerPolyFill(self);
|
|
|
59083
59088
|
return L.forEach(function(F) {
|
|
59084
59089
|
const J = F.mdat, ee = F.traf, ae = Mi(ee, ["tfdt"])[0], de = Mi(ee, ["tfhd"])[0], me = Mi(ee, ["trun"]);
|
|
59085
59090
|
if (ae && (B = H_(ae).baseMediaDecodeTime), me.length && de) {
|
|
59086
|
-
const
|
|
59091
|
+
const Ce = q_(me, B, de);
|
|
59087
59092
|
let Be = 0;
|
|
59088
|
-
|
|
59093
|
+
Ce.forEach(function(Se) {
|
|
59089
59094
|
const Je = "utf-8", ht = new TextDecoder(Je), cn = J.slice(Be, Be + Se.size);
|
|
59090
59095
|
if (Mi(cn, ["vtte"])[0]) {
|
|
59091
59096
|
Be += Se.size;
|
|
@@ -59222,8 +59227,8 @@ browserWorkerPolyFill(self);
|
|
|
59222
59227
|
videoPacketContainsKeyFrame: Q_
|
|
59223
59228
|
}, sf = ws, Na = Ii.handleRollover, Dt = {};
|
|
59224
59229
|
Dt.ts = Z_, Dt.aac = _u;
|
|
59225
|
-
var oa = lt.ONE_SECOND_IN_TS,
|
|
59226
|
-
for (var A = 0, L =
|
|
59230
|
+
var oa = lt.ONE_SECOND_IN_TS, $n = 188, Hs = 71, J_ = function(b, P) {
|
|
59231
|
+
for (var A = 0, L = $n, B, F; L < b.byteLength; ) {
|
|
59227
59232
|
if (b[A] === Hs && b[L] === Hs) {
|
|
59228
59233
|
switch (B = b.subarray(A, L), F = Dt.ts.parseType(B, P.pid), F) {
|
|
59229
59234
|
case "pat":
|
|
@@ -59236,13 +59241,13 @@ browserWorkerPolyFill(self);
|
|
|
59236
59241
|
});
|
|
59237
59242
|
break;
|
|
59238
59243
|
}
|
|
59239
|
-
A +=
|
|
59244
|
+
A += $n, L += $n;
|
|
59240
59245
|
continue;
|
|
59241
59246
|
}
|
|
59242
59247
|
A++, L++;
|
|
59243
59248
|
}
|
|
59244
59249
|
}, af = function(b, P, A) {
|
|
59245
|
-
for (var L = 0, B =
|
|
59250
|
+
for (var L = 0, B = $n, F, J, ee, ae, de, me = !1; B <= b.byteLength; ) {
|
|
59246
59251
|
if (b[L] === Hs && (b[B] === Hs || B === b.byteLength)) {
|
|
59247
59252
|
switch (F = b.subarray(L, B), J = Dt.ts.parseType(F, P.pid), J) {
|
|
59248
59253
|
case "pes":
|
|
@@ -59251,12 +59256,12 @@ browserWorkerPolyFill(self);
|
|
|
59251
59256
|
}
|
|
59252
59257
|
if (me)
|
|
59253
59258
|
break;
|
|
59254
|
-
L +=
|
|
59259
|
+
L += $n, B += $n;
|
|
59255
59260
|
continue;
|
|
59256
59261
|
}
|
|
59257
59262
|
L++, B++;
|
|
59258
59263
|
}
|
|
59259
|
-
for (B = b.byteLength, L = B -
|
|
59264
|
+
for (B = b.byteLength, L = B - $n, me = !1; L >= 0; ) {
|
|
59260
59265
|
if (b[L] === Hs && (b[B] === Hs || B === b.byteLength)) {
|
|
59261
59266
|
switch (F = b.subarray(L, B), J = Dt.ts.parseType(F, P.pid), J) {
|
|
59262
59267
|
case "pes":
|
|
@@ -59265,13 +59270,13 @@ browserWorkerPolyFill(self);
|
|
|
59265
59270
|
}
|
|
59266
59271
|
if (me)
|
|
59267
59272
|
break;
|
|
59268
|
-
L -=
|
|
59273
|
+
L -= $n, B -= $n;
|
|
59269
59274
|
continue;
|
|
59270
59275
|
}
|
|
59271
59276
|
L--, B--;
|
|
59272
59277
|
}
|
|
59273
59278
|
}, eb = function(b, P, A) {
|
|
59274
|
-
for (var L = 0, B =
|
|
59279
|
+
for (var L = 0, B = $n, F, J, ee, ae, de, me, Ce, Be, Se = !1, Je = {
|
|
59275
59280
|
data: [],
|
|
59276
59281
|
size: 0
|
|
59277
59282
|
}; B < b.byteLength; ) {
|
|
@@ -59280,8 +59285,8 @@ browserWorkerPolyFill(self);
|
|
|
59280
59285
|
case "pes":
|
|
59281
59286
|
if (ee = Dt.ts.parsePesType(F, P.table), ae = Dt.ts.parsePayloadUnitStartIndicator(F), ee === "video" && (ae && !Se && (de = Dt.ts.parsePesTime(F), de && (de.type = "video", A.video.push(de), Se = !0)), !A.firstKeyFrame)) {
|
|
59282
59287
|
if (ae && Je.size !== 0) {
|
|
59283
|
-
for (me = new Uint8Array(Je.size),
|
|
59284
|
-
Be = Je.data.shift(), me.set(Be,
|
|
59288
|
+
for (me = new Uint8Array(Je.size), Ce = 0; Je.data.length; )
|
|
59289
|
+
Be = Je.data.shift(), me.set(Be, Ce), Ce += Be.byteLength;
|
|
59285
59290
|
if (Dt.ts.videoPacketContainsKeyFrame(me)) {
|
|
59286
59291
|
var ht = Dt.ts.parsePesTime(me);
|
|
59287
59292
|
ht ? (A.firstKeyFrame = ht, A.firstKeyFrame.type = "video") : console.warn("Failed to extract PTS/DTS from PES at first keyframe. This could be an unusual TS segment, or else mux.js did not parse your TS segment correctly. If you know your TS segments do contain PTS/DTS on keyframes please file a bug report! You can try ffprobe to double check for yourself.");
|
|
@@ -59294,12 +59299,12 @@ browserWorkerPolyFill(self);
|
|
|
59294
59299
|
}
|
|
59295
59300
|
if (Se && A.firstKeyFrame)
|
|
59296
59301
|
break;
|
|
59297
|
-
L +=
|
|
59302
|
+
L += $n, B += $n;
|
|
59298
59303
|
continue;
|
|
59299
59304
|
}
|
|
59300
59305
|
L++, B++;
|
|
59301
59306
|
}
|
|
59302
|
-
for (B = b.byteLength, L = B -
|
|
59307
|
+
for (B = b.byteLength, L = B - $n, Se = !1; L >= 0; ) {
|
|
59303
59308
|
if (b[L] === Hs && b[B] === Hs) {
|
|
59304
59309
|
switch (F = b.subarray(L, B), J = Dt.ts.parseType(F, P.pid), J) {
|
|
59305
59310
|
case "pes":
|
|
@@ -59308,7 +59313,7 @@ browserWorkerPolyFill(self);
|
|
|
59308
59313
|
}
|
|
59309
59314
|
if (Se)
|
|
59310
59315
|
break;
|
|
59311
|
-
L -=
|
|
59316
|
+
L -= $n, B -= $n;
|
|
59312
59317
|
continue;
|
|
59313
59318
|
}
|
|
59314
59319
|
L--, B--;
|
|
@@ -67401,7 +67406,7 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
67401
67406
|
emits: ["update:show"],
|
|
67402
67407
|
setup(t, { emit: e }) {
|
|
67403
67408
|
qe(
|
|
67404
|
-
() => import("./index-
|
|
67409
|
+
() => import("./index-C-0R8wn6.mjs")
|
|
67405
67410
|
);
|
|
67406
67411
|
const n = e, s = () => {
|
|
67407
67412
|
n("update:show", !1);
|
|
@@ -67724,8 +67729,8 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
67724
67729
|
}, null, 512), [
|
|
67725
67730
|
[Oe, H.value]
|
|
67726
67731
|
]),
|
|
67727
|
-
(_(!0), S(ue, null, we(t.tabList, (Ee,
|
|
67728
|
-
key:
|
|
67732
|
+
(_(!0), S(ue, null, we(t.tabList, (Ee, xe) => (_(), S("li", {
|
|
67733
|
+
key: xe,
|
|
67729
67734
|
class: re(["tab-primary__item", [{ "is-img": !!Ee.img }]])
|
|
67730
67735
|
}, [
|
|
67731
67736
|
o("div", {
|
|
@@ -67741,10 +67746,10 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
67741
67746
|
target: it(Ee.link),
|
|
67742
67747
|
class: re(["tab-primary__btn", [
|
|
67743
67748
|
{
|
|
67744
|
-
"is-active": t.currentIdx ==
|
|
67749
|
+
"is-active": t.currentIdx == xe
|
|
67745
67750
|
}
|
|
67746
67751
|
]]),
|
|
67747
|
-
onClick: (Pe) => Le(Ee.link,
|
|
67752
|
+
onClick: (Pe) => Le(Ee.link, xe)
|
|
67748
67753
|
}, {
|
|
67749
67754
|
default: $(() => [
|
|
67750
67755
|
Ee.img ? (_(), S("div", bee, [
|
|
@@ -71070,7 +71075,7 @@ const ine = /* @__PURE__ */ Aa(sne), ane = { class: "setting-content" }, lne = {
|
|
|
71070
71075
|
},
|
|
71071
71076
|
emits: ["update:show"],
|
|
71072
71077
|
setup(t, { emit: e }) {
|
|
71073
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
71078
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C-0R8wn6.mjs")), i = U(!1), a = q(() => ({
|
|
71074
71079
|
animation: 200,
|
|
71075
71080
|
group: "gallerys",
|
|
71076
71081
|
disabled: !1,
|