officialblock 2.3.13 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index-BA0cP57j.mjs +4 -0
- package/dist/{index-DxTURMhA.js → index-BQ0UJWYJ.js} +1 -1
- package/dist/{index-Dj5P-ntl.js → index-B_aedaI9.js} +1 -1
- package/dist/{index-CJzyefBk.mjs → index-CelCN0Ev.mjs} +451 -440
- package/dist/{index-BYB3seou.js → index-D2ZhiI73.js} +19 -19
- package/dist/{index-DyuWTFEJ.mjs → index-DJG5an4T.mjs} +1 -1
- package/dist/official-block.cjs.js +1 -1
- package/dist/official-block.es.js +1 -1
- package/dist/official-block.umd.js +17 -17
- 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-DJG5an4T.mjs")), i = U(!1), a = q(() => ({
|
|
486
486
|
animation: 200,
|
|
487
487
|
group: "item",
|
|
488
488
|
disabled: !1,
|
|
@@ -2304,7 +2304,7 @@ const _b = { class: "button-text" }, bb = { class: "link-text" }, wb = /* @__PUR
|
|
|
2304
2304
|
]))), 128))
|
|
2305
2305
|
]));
|
|
2306
2306
|
}
|
|
2307
|
-
}), sh = /* @__PURE__ */ he(D8, [["__scopeId", "data-v-
|
|
2307
|
+
}), sh = /* @__PURE__ */ he(D8, [["__scopeId", "data-v-d2365405"]]), L8 = /* @__PURE__ */ pe({
|
|
2308
2308
|
name: "BtnList",
|
|
2309
2309
|
__name: "index",
|
|
2310
2310
|
props: {
|
|
@@ -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-DJG5an4T.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-DJG5an4T.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-DJG5an4T.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-DJG5an4T.mjs")), s = U(!1), i = q(() => ({
|
|
6348
6348
|
animation: 200,
|
|
6349
6349
|
group: "buttons",
|
|
6350
6350
|
// 按钮专用分组
|
|
@@ -7586,8 +7586,12 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
7586
7586
|
},
|
|
7587
7587
|
navigation: {
|
|
7588
7588
|
nextEl: ".swiper-button-next",
|
|
7589
|
-
prevEl: ".swiper-button-prev"
|
|
7589
|
+
prevEl: ".swiper-button-prev",
|
|
7590
|
+
disabledClass: "swiper-button-disabled"
|
|
7590
7591
|
},
|
|
7592
|
+
watchSlidesProgress: !0,
|
|
7593
|
+
// 只有一张幻灯片时隐藏导航按钮
|
|
7594
|
+
watchOverflow: !0,
|
|
7591
7595
|
pagination: {
|
|
7592
7596
|
el: ".swiper-pagination",
|
|
7593
7597
|
clickable: !0
|
|
@@ -7708,9 +7712,11 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
7708
7712
|
])
|
|
7709
7713
|
]))), 128))
|
|
7710
7714
|
]),
|
|
7711
|
-
M[1] || (M[1] = o("div", { class: "swiper-
|
|
7712
|
-
|
|
7713
|
-
|
|
7715
|
+
M[1] || (M[1] = o("div", { class: "swiper-nav-container" }, [
|
|
7716
|
+
o("div", { class: "swiper-button-prev" }),
|
|
7717
|
+
o("div", { class: "swiper-pagination" }),
|
|
7718
|
+
o("div", { class: "swiper-button-next" })
|
|
7719
|
+
], -1))
|
|
7714
7720
|
], 512),
|
|
7715
7721
|
f(H, {
|
|
7716
7722
|
visible: E.value,
|
|
@@ -7719,7 +7725,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
7719
7725
|
width: "1200px",
|
|
7720
7726
|
onCancel: I
|
|
7721
7727
|
}, {
|
|
7722
|
-
title: $(() => [...M[
|
|
7728
|
+
title: $(() => [...M[2] || (M[2] = [
|
|
7723
7729
|
W(" 观看完整视频 ", -1)
|
|
7724
7730
|
])]),
|
|
7725
7731
|
default: $(() => [
|
|
@@ -7736,7 +7742,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
7736
7742
|
src: D.value,
|
|
7737
7743
|
type: "video/mp4"
|
|
7738
7744
|
}, null, 8, K5),
|
|
7739
|
-
M[
|
|
7745
|
+
M[3] || (M[3] = W(" 您的浏览器不支持 video 标签。 ", -1))
|
|
7740
7746
|
], 512)) : j("", !0)
|
|
7741
7747
|
])
|
|
7742
7748
|
]),
|
|
@@ -7745,7 +7751,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
7745
7751
|
], 64);
|
|
7746
7752
|
};
|
|
7747
7753
|
}
|
|
7748
|
-
}), Z5 = /* @__PURE__ */ he(Q5, [["__scopeId", "data-v-
|
|
7754
|
+
}), Z5 = /* @__PURE__ */ he(Q5, [["__scopeId", "data-v-3e4b99eb"]]), J5 = /* @__PURE__ */ pe({
|
|
7749
7755
|
name: "HeroSlide",
|
|
7750
7756
|
__name: "index",
|
|
7751
7757
|
props: {
|
|
@@ -8317,7 +8323,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
8317
8323
|
},
|
|
8318
8324
|
emits: ["update:show"],
|
|
8319
8325
|
setup(t, { emit: e }) {
|
|
8320
|
-
const n = qe(() => import("./index-
|
|
8326
|
+
const n = qe(() => import("./index-DJG5an4T.mjs")), s = e, i = () => {
|
|
8321
8327
|
s("update:show", !1);
|
|
8322
8328
|
};
|
|
8323
8329
|
return (a, l) => {
|
|
@@ -9734,7 +9740,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
9734
9740
|
},
|
|
9735
9741
|
emits: ["update:show"],
|
|
9736
9742
|
setup(t, { emit: e }) {
|
|
9737
|
-
const n = qe(() => import("./index-
|
|
9743
|
+
const n = qe(() => import("./index-DJG5an4T.mjs")), s = e, i = () => {
|
|
9738
9744
|
s("update:show", !1);
|
|
9739
9745
|
};
|
|
9740
9746
|
return (a, l) => {
|
|
@@ -9916,7 +9922,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
9916
9922
|
},
|
|
9917
9923
|
emits: ["update:show"],
|
|
9918
9924
|
setup(t, { emit: e }) {
|
|
9919
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
9925
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-DJG5an4T.mjs")), i = U(!1), a = q(() => ({
|
|
9920
9926
|
animation: 200,
|
|
9921
9927
|
group: "links",
|
|
9922
9928
|
// 链接专用分组
|
|
@@ -10256,7 +10262,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
10256
10262
|
},
|
|
10257
10263
|
emits: ["update:show"],
|
|
10258
10264
|
setup(t, { emit: e }) {
|
|
10259
|
-
const n = qe(() => import("./index-
|
|
10265
|
+
const n = qe(() => import("./index-DJG5an4T.mjs")), s = e, i = () => {
|
|
10260
10266
|
s("update:show", !1);
|
|
10261
10267
|
};
|
|
10262
10268
|
return (a, l) => {
|
|
@@ -10737,7 +10743,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
10737
10743
|
},
|
|
10738
10744
|
emits: ["update:show"],
|
|
10739
10745
|
setup(t, { emit: e }) {
|
|
10740
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
10746
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-DJG5an4T.mjs")), i = U(!1), a = q(() => ({
|
|
10741
10747
|
animation: 200,
|
|
10742
10748
|
group: "gallerys",
|
|
10743
10749
|
// 链接专用分组
|
|
@@ -10945,7 +10951,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
10945
10951
|
const n = t, s = e, i = () => {
|
|
10946
10952
|
var Pe;
|
|
10947
10953
|
if (n.modelValue && n.modelValue.data) return;
|
|
10948
|
-
const
|
|
10954
|
+
const xe = {
|
|
10949
10955
|
id: ((Pe = n.modelValue) == null ? void 0 : Pe.id) || K(),
|
|
10950
10956
|
type: "TimelineStory",
|
|
10951
10957
|
onlyShowPc: !1,
|
|
@@ -10978,35 +10984,35 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
10978
10984
|
}
|
|
10979
10985
|
]
|
|
10980
10986
|
};
|
|
10981
|
-
s("update:modelValue",
|
|
10987
|
+
s("update:modelValue", xe);
|
|
10982
10988
|
}, a = q(() => {
|
|
10983
|
-
var
|
|
10984
|
-
return n.isPreview ? !((
|
|
10989
|
+
var xe;
|
|
10990
|
+
return n.isPreview ? !((xe = n.modelValue) != null && xe.onlyShowPc) || !Ye() : !0;
|
|
10985
10991
|
}), l = U(!1), r = U(!1), u = () => {
|
|
10986
10992
|
s("handleDelete", n.modelValue.id);
|
|
10987
10993
|
}, c = () => {
|
|
10988
10994
|
s("handleCopy", n.modelValue);
|
|
10989
|
-
}, v = (
|
|
10990
|
-
s("handlePaste",
|
|
10995
|
+
}, v = (xe) => {
|
|
10996
|
+
s("handlePaste", xe);
|
|
10991
10997
|
};
|
|
10992
10998
|
i();
|
|
10993
10999
|
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
11000
|
Ue(k, () => {
|
|
10995
11001
|
_e();
|
|
10996
11002
|
});
|
|
10997
|
-
const ie = (
|
|
10998
|
-
if (!
|
|
11003
|
+
const ie = (xe) => {
|
|
11004
|
+
if (!xe) return 0;
|
|
10999
11005
|
const Pe = typeof window > "u" ? 0 : window.scrollY;
|
|
11000
|
-
return
|
|
11001
|
-
}, te = (
|
|
11002
|
-
if (!
|
|
11003
|
-
const Pe =
|
|
11006
|
+
return xe.getBoundingClientRect().top + Pe;
|
|
11007
|
+
}, te = (xe) => {
|
|
11008
|
+
if (!xe) return { x: 0, y: 0 };
|
|
11009
|
+
const Pe = xe.getBoundingClientRect(), Ge = typeof window > "u" ? 0 : window.scrollX, Ze = typeof window > "u" ? 0 : window.scrollY;
|
|
11004
11010
|
return {
|
|
11005
11011
|
x: Pe.left + Ge,
|
|
11006
11012
|
y: Pe.top + Ze
|
|
11007
11013
|
};
|
|
11008
|
-
}, G = (
|
|
11009
|
-
typeof document > "u" || (
|
|
11014
|
+
}, G = (xe) => {
|
|
11015
|
+
typeof document > "u" || (xe ? document.body.style.overflow = "hidden" : document.body.style.overflow = "");
|
|
11010
11016
|
}, Q = () => {
|
|
11011
11017
|
typeof window > "u" || (window.addEventListener("scroll", se), window.addEventListener("resize", z), z());
|
|
11012
11018
|
}, X = () => {
|
|
@@ -11016,36 +11022,36 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
11016
11022
|
}, se = () => {
|
|
11017
11023
|
var Ze;
|
|
11018
11024
|
typeof window < "u" && (y.value = window.scrollY);
|
|
11019
|
-
const
|
|
11020
|
-
|
|
11025
|
+
const xe = y.value + Y.value + 64, Pe = ie(D.value), Ge = Pe + (((Ze = D.value) == null ? void 0 : Ze.clientHeight) || 0);
|
|
11026
|
+
xe < Pe ? h.value = 0 : xe > Ge && (h.value = 999), ce(), ye(), Le(), tt(), ve(), it();
|
|
11021
11027
|
}, ce = () => {
|
|
11022
11028
|
var ke;
|
|
11023
|
-
const
|
|
11029
|
+
const xe = y.value + Y.value + 64, Pe = ie(D.value), Ge = Pe + (((ke = D.value) == null ? void 0 : ke.clientHeight) || 0), Ze = {
|
|
11024
11030
|
top: Pe + 15,
|
|
11025
11031
|
bottom: Ge - 378
|
|
11026
11032
|
}, fe = [O.value, I.value];
|
|
11027
|
-
!O.value || !I.value || (
|
|
11033
|
+
!O.value || !I.value || (xe < Ze.top ? fe.forEach((Ve) => {
|
|
11028
11034
|
Ve == null || Ve.classList.add("is-top"), Ve == null || Ve.classList.remove("is-fixed"), Ve == null || Ve.classList.remove("is-bottom");
|
|
11029
|
-
}) :
|
|
11035
|
+
}) : xe > Ze.bottom ? fe.forEach((Ve) => {
|
|
11030
11036
|
Ve == null || Ve.classList.add("is-bottom"), Ve == null || Ve.classList.remove("is-fixed"), Ve == null || Ve.classList.remove("is-top");
|
|
11031
11037
|
}) : fe.forEach((Ve) => {
|
|
11032
11038
|
Ve == null || Ve.classList.add("is-fixed"), Ve == null || Ve.classList.remove("is-top"), Ve == null || Ve.classList.remove("is-bottom");
|
|
11033
11039
|
}));
|
|
11034
11040
|
}, ye = () => {
|
|
11035
11041
|
var ke;
|
|
11036
|
-
const
|
|
11042
|
+
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
11043
|
top: Ge - 80,
|
|
11038
11044
|
bottom: Ze - 181
|
|
11039
11045
|
};
|
|
11040
|
-
Pe && (
|
|
11046
|
+
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
11047
|
}, Le = () => {
|
|
11042
11048
|
var Ze;
|
|
11043
|
-
const
|
|
11049
|
+
const xe = ie(D.value), Pe = ie(R.value);
|
|
11044
11050
|
d.value = ((Ze = D.value) == null ? void 0 : Ze.clientHeight) || 0, g.value = 41 / d.value;
|
|
11045
|
-
const Ge = Pe <
|
|
11051
|
+
const Ge = Pe < xe ? y.value + Pe - xe : Pe - xe;
|
|
11046
11052
|
m.value = (Ge + 12) / d.value;
|
|
11047
11053
|
}, tt = () => {
|
|
11048
|
-
const
|
|
11054
|
+
const xe = y.value + Y.value + 64, Pe = M.value.length;
|
|
11049
11055
|
for (let Ge = 0; Ge < Pe; Ge++) {
|
|
11050
11056
|
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
11057
|
top: fe + 31,
|
|
@@ -11058,37 +11064,37 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
11058
11064
|
Me.classList.add("is-top"), Me.classList.remove("is-fixed"), Me.classList.remove("is-bottom");
|
|
11059
11065
|
continue;
|
|
11060
11066
|
}
|
|
11061
|
-
|
|
11067
|
+
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
11068
|
}
|
|
11063
11069
|
}, ve = () => {
|
|
11064
|
-
const
|
|
11070
|
+
const xe = y.value + Y.value + 64, Pe = M.value.length;
|
|
11065
11071
|
let Ge = !1;
|
|
11066
11072
|
for (let Ze = 0; Ze < Pe; Ze++) {
|
|
11067
11073
|
const fe = M.value[Ze], ke = ie(fe), Ve = ie(fe) + fe.clientHeight, He = H.value[Ze].clientHeight, xt = {
|
|
11068
11074
|
top: ke - 300,
|
|
11069
11075
|
bottom: Ve - He
|
|
11070
11076
|
};
|
|
11071
|
-
if (
|
|
11077
|
+
if (xe > xt.top && xe < xt.bottom) {
|
|
11072
11078
|
h.value = Ze, Ge = !0;
|
|
11073
11079
|
break;
|
|
11074
11080
|
}
|
|
11075
11081
|
}
|
|
11076
11082
|
if (!Ge && Pe > 0) {
|
|
11077
11083
|
const Ze = M.value[0], fe = ie(Ze);
|
|
11078
|
-
|
|
11084
|
+
xe < fe - 300 && (h.value = 0);
|
|
11079
11085
|
}
|
|
11080
|
-
}, Ae = (
|
|
11081
|
-
const Pe = k.value < 768 ? 120 : 150, Ge = te(M.value[
|
|
11086
|
+
}, Ae = (xe) => {
|
|
11087
|
+
const Pe = k.value < 768 ? 120 : 150, Ge = te(M.value[xe]).y - Pe;
|
|
11082
11088
|
typeof window < "u" && window.scroll({ top: Ge, left: 0, behavior: "smooth" });
|
|
11083
11089
|
}, it = () => {
|
|
11084
|
-
const
|
|
11085
|
-
if (!
|
|
11086
|
-
const Pe =
|
|
11090
|
+
const xe = T.value;
|
|
11091
|
+
if (!xe) return;
|
|
11092
|
+
const Pe = xe.getBoundingClientRect().top, Ge = xe.getBoundingClientRect().bottom, Ze = typeof window > "u" || typeof document > "u" ? k.value < 768 ? 66 : 100 : Number(
|
|
11087
11093
|
window.getComputedStyle(document.body).getPropertyValue("--header-height-calc").split("px")[0]
|
|
11088
11094
|
), fe = V.value;
|
|
11089
11095
|
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 =
|
|
11096
|
+
}, Ie = (xe) => {
|
|
11097
|
+
p.value = xe.text, C.value = xe.image, G(!0), w.value = !0;
|
|
11092
11098
|
}, _e = () => {
|
|
11093
11099
|
G(!1), w.value = !1;
|
|
11094
11100
|
}, Ee = () => {
|
|
@@ -11104,7 +11110,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
11104
11110
|
});
|
|
11105
11111
|
}), Qn(() => {
|
|
11106
11112
|
X();
|
|
11107
|
-
}), (
|
|
11113
|
+
}), (xe, Pe) => {
|
|
11108
11114
|
var Ge, Ze, fe;
|
|
11109
11115
|
return _(), S(ue, null, [
|
|
11110
11116
|
a.value ? (_(), S("div", {
|
|
@@ -11324,7 +11330,7 @@ function W0() {
|
|
|
11324
11330
|
}
|
|
11325
11331
|
return qa;
|
|
11326
11332
|
}
|
|
11327
|
-
const
|
|
11333
|
+
const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS = /* @__PURE__ */ pe({
|
|
11328
11334
|
name: "ListSort",
|
|
11329
11335
|
__name: "ListSort",
|
|
11330
11336
|
props: {
|
|
@@ -12017,13 +12023,13 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12017
12023
|
},
|
|
12018
12024
|
host: {
|
|
12019
12025
|
type: String,
|
|
12020
|
-
default: "
|
|
12021
|
-
|
|
12026
|
+
// default: "cms-web.ycismelody.cn",
|
|
12027
|
+
default: ""
|
|
12022
12028
|
},
|
|
12023
12029
|
locale: {
|
|
12024
12030
|
type: String,
|
|
12025
|
-
default: "sc"
|
|
12026
|
-
|
|
12031
|
+
// default: "sc",
|
|
12032
|
+
default: ""
|
|
12027
12033
|
}
|
|
12028
12034
|
},
|
|
12029
12035
|
emits: [
|
|
@@ -12035,23 +12041,28 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12035
12041
|
],
|
|
12036
12042
|
setup(t, { emit: e }) {
|
|
12037
12043
|
const n = t, s = e, i = {
|
|
12044
|
+
articleCategoryGroups: "/article/category/group/listForWeb",
|
|
12038
12045
|
articleYears: "/article/years"
|
|
12039
12046
|
}, a = U([]), l = U([]), r = () => {
|
|
12040
|
-
|
|
12041
|
-
|
|
12042
|
-
|
|
12043
|
-
|
|
12044
|
-
|
|
12045
|
-
|
|
12047
|
+
Promise.all([
|
|
12048
|
+
Cn.get(i.articleCategoryGroups, {
|
|
12049
|
+
params: { langCode: n.locale, host: n.host }
|
|
12050
|
+
}),
|
|
12051
|
+
Cn.get(i.articleYears, {
|
|
12052
|
+
params: { langCode: n.locale, host: n.host }
|
|
12053
|
+
})
|
|
12054
|
+
]).then(([_e, Ee]) => {
|
|
12055
|
+
var xe;
|
|
12056
|
+
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
12057
|
});
|
|
12047
12058
|
}, u = () => {
|
|
12048
|
-
var Ee,
|
|
12059
|
+
var Ee, xe;
|
|
12049
12060
|
if (n.modelValue && n.modelValue.data) return;
|
|
12050
12061
|
const _e = {
|
|
12051
12062
|
id: ((Ee = n.modelValue) == null ? void 0 : Ee.id) || K(),
|
|
12052
12063
|
type: "NewsList",
|
|
12053
12064
|
onlyShowPc: !1,
|
|
12054
|
-
api: ((
|
|
12065
|
+
api: ((xe = n.modelValue) == null ? void 0 : xe.api) || "/article/newsList",
|
|
12055
12066
|
sort: [
|
|
12056
12067
|
{
|
|
12057
12068
|
key: "most-recent",
|
|
@@ -12089,9 +12100,9 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12089
12100
|
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
12101
|
M.value = typeof window > "u" ? 1024 : window.innerWidth;
|
|
12091
12102
|
}, Y = q(() => {
|
|
12092
|
-
var
|
|
12103
|
+
var xe, Pe;
|
|
12093
12104
|
if (!w.value)
|
|
12094
|
-
return Object.freeze(((
|
|
12105
|
+
return Object.freeze(((xe = n.modelValue) == null ? void 0 : xe.list) ?? []);
|
|
12095
12106
|
const _e = JSON.parse(
|
|
12096
12107
|
JSON.stringify(a.value)
|
|
12097
12108
|
);
|
|
@@ -12117,14 +12128,14 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12117
12128
|
name: "全部",
|
|
12118
12129
|
list: []
|
|
12119
12130
|
}
|
|
12120
|
-
],
|
|
12131
|
+
], xe = Y.value.map(function(Pe) {
|
|
12121
12132
|
return {
|
|
12122
12133
|
key: Pe.key,
|
|
12123
12134
|
name: Pe.name,
|
|
12124
12135
|
list: []
|
|
12125
12136
|
};
|
|
12126
12137
|
});
|
|
12127
|
-
return Object.freeze(Ee.concat(
|
|
12138
|
+
return Object.freeze(Ee.concat(xe));
|
|
12128
12139
|
}
|
|
12129
12140
|
return ((_e = n.modelValue) == null ? void 0 : _e.list) ?? void 0;
|
|
12130
12141
|
}), te = q(() => {
|
|
@@ -12143,17 +12154,17 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12143
12154
|
var _e;
|
|
12144
12155
|
return !x.value || !x.value.length ? X.value : ((_e = X.value) == null ? void 0 : _e.filter((Ee) => {
|
|
12145
12156
|
var Pe;
|
|
12146
|
-
let
|
|
12157
|
+
let xe = !1;
|
|
12147
12158
|
return (Pe = x.value) == null || Pe.forEach((Ge) => {
|
|
12148
|
-
|
|
12149
|
-
}),
|
|
12159
|
+
xe = Ee && Ee.keywords && Ee.keywords.includes(Ge) ? !0 : xe;
|
|
12160
|
+
}), xe;
|
|
12150
12161
|
})) ?? [];
|
|
12151
12162
|
}), se = q(() => {
|
|
12152
12163
|
if (!y.value || y.value === "most-recent")
|
|
12153
12164
|
return [...z.value].sort(
|
|
12154
12165
|
(ke, Ve) => new Date(Ve.date).getTime() - new Date(ke.date).getTime()
|
|
12155
12166
|
);
|
|
12156
|
-
const _e = /* @__PURE__ */ new Date(), Ee = _e.getFullYear(),
|
|
12167
|
+
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
12168
|
return z.value.filter(
|
|
12158
12169
|
(ke) => new Date(ke.date) > fe && new Date(ke.date) < _e
|
|
12159
12170
|
);
|
|
@@ -12161,14 +12172,14 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12161
12172
|
var _e;
|
|
12162
12173
|
return ((_e = n.modelValue) == null ? void 0 : _e.displayYearList) ?? !0 ? l.value : [];
|
|
12163
12174
|
}), ye = q(() => {
|
|
12164
|
-
var _e, Ee,
|
|
12165
|
-
return w.value || (_e = n.modelValue) != null && _e.list && ((
|
|
12175
|
+
var _e, Ee, xe;
|
|
12176
|
+
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
12177
|
(V.value - 1) * D.value,
|
|
12167
12178
|
V.value * D.value
|
|
12168
12179
|
);
|
|
12169
12180
|
}), Le = (_e) => {
|
|
12170
12181
|
if (!_e) return;
|
|
12171
|
-
const Ee = 100,
|
|
12182
|
+
const Ee = 100, xe = typeof window > "u" ? 0 : window.scrollY, Ge = _e.getBoundingClientRect().top + xe - Ee;
|
|
12172
12183
|
typeof window < "u" && window.scrollTo({
|
|
12173
12184
|
top: Ge,
|
|
12174
12185
|
behavior: "smooth"
|
|
@@ -12191,8 +12202,8 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12191
12202
|
const tt = () => {
|
|
12192
12203
|
O.value = [], E.value = 0;
|
|
12193
12204
|
}, ve = async () => {
|
|
12194
|
-
var _e, Ee,
|
|
12195
|
-
if (w.value || (_e = n.modelValue) != null && _e.list && ((
|
|
12205
|
+
var _e, Ee, xe, Pe;
|
|
12206
|
+
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
12207
|
let Ge = (Pe = n.modelValue) == null ? void 0 : Pe.api;
|
|
12197
12208
|
if (oe.value.length === 0)
|
|
12198
12209
|
return;
|
|
@@ -12209,15 +12220,15 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12209
12220
|
}
|
|
12210
12221
|
};
|
|
12211
12222
|
try {
|
|
12212
|
-
const ke = await
|
|
12223
|
+
const ke = await Cn.get(Ge, fe);
|
|
12213
12224
|
O.value = ke.data.data.data, I.value = ke.data.data.meta, E.value = I.value.last_page;
|
|
12214
12225
|
} catch (ke) {
|
|
12215
12226
|
console.error("Error fetching articles:", ke);
|
|
12216
12227
|
}
|
|
12217
12228
|
}
|
|
12218
12229
|
}, 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 && ((
|
|
12230
|
+
var _e, Ee, xe;
|
|
12231
|
+
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
12232
|
}, it = () => {
|
|
12222
12233
|
let _e = 0;
|
|
12223
12234
|
R.value && ie.value && (_e = ie.value.findIndex((Ee) => Ee.key == R.value)), k.value = _e > -1 ? _e : 0;
|
|
@@ -12235,8 +12246,8 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12235
12246
|
class: "news-list tab-default",
|
|
12236
12247
|
ref_key: "parent",
|
|
12237
12248
|
ref: C,
|
|
12238
|
-
onMouseenter: Ee[6] || (Ee[6] = (
|
|
12239
|
-
onMouseleave: Ee[7] || (Ee[7] = (
|
|
12249
|
+
onMouseenter: Ee[6] || (Ee[6] = (xe) => v.value = !0),
|
|
12250
|
+
onMouseleave: Ee[7] || (Ee[7] = (xe) => v.value = !1)
|
|
12240
12251
|
}, [
|
|
12241
12252
|
t.host ? (_(), S(ue, { key: 1 }, [
|
|
12242
12253
|
o("div", g9, [
|
|
@@ -12249,14 +12260,14 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12249
12260
|
yearList: l.value,
|
|
12250
12261
|
articleTabList: ie.value ? [...ie.value] : void 0,
|
|
12251
12262
|
onUpdateIdx: Ie,
|
|
12252
|
-
onUpdateSort: Ee[0] || (Ee[0] = (
|
|
12253
|
-
onUpdateFilter: Ee[1] || (Ee[1] = (
|
|
12254
|
-
onUpdateYear: Ee[2] || (Ee[2] = (
|
|
12263
|
+
onUpdateSort: Ee[0] || (Ee[0] = (xe) => y.value = typeof xe == "string" ? xe : null),
|
|
12264
|
+
onUpdateFilter: Ee[1] || (Ee[1] = (xe) => x.value = xe),
|
|
12265
|
+
onUpdateYear: Ee[2] || (Ee[2] = (xe) => T.value = String(xe))
|
|
12255
12266
|
}, null, 8, ["componentProps", "currentIdx", "keySort", "keyFilter", "keyYear", "yearList", "articleTabList"])
|
|
12256
12267
|
]),
|
|
12257
12268
|
o("div", v9, [
|
|
12258
|
-
(_(!0), S(ue, null, we(ie.value, (
|
|
12259
|
-
key:
|
|
12269
|
+
(_(!0), S(ue, null, we(ie.value, (xe, Pe) => (_(), S(ue, {
|
|
12270
|
+
key: xe.key
|
|
12260
12271
|
}, [
|
|
12261
12272
|
Pe == k.value ? (_(), S("div", y9, [
|
|
12262
12273
|
o("div", {
|
|
@@ -12293,8 +12304,8 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12293
12304
|
t.isPreview ? j("", !0) : (_(), ne(We, {
|
|
12294
12305
|
key: 2,
|
|
12295
12306
|
show: v.value,
|
|
12296
|
-
"onUpdate:show": Ee[4] || (Ee[4] = (
|
|
12297
|
-
onHandleEdit: Ee[5] || (Ee[5] = (
|
|
12307
|
+
"onUpdate:show": Ee[4] || (Ee[4] = (xe) => v.value = xe),
|
|
12308
|
+
onHandleEdit: Ee[5] || (Ee[5] = (xe) => h.value = !0),
|
|
12298
12309
|
onHandleDelete: d,
|
|
12299
12310
|
onHandleCopy: m,
|
|
12300
12311
|
onHandlePaste: g
|
|
@@ -12303,14 +12314,14 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12303
12314
|
t.isPreview ? j("", !0) : (_(), ne(p9, {
|
|
12304
12315
|
key: 1,
|
|
12305
12316
|
show: h.value,
|
|
12306
|
-
"onUpdate:show": Ee[8] || (Ee[8] = (
|
|
12317
|
+
"onUpdate:show": Ee[8] || (Ee[8] = (xe) => h.value = xe),
|
|
12307
12318
|
data: t.modelValue,
|
|
12308
12319
|
articleCategoryGroups: a.value,
|
|
12309
12320
|
onHandleChange: tt
|
|
12310
12321
|
}, null, 8, ["show", "data", "articleCategoryGroups"]))
|
|
12311
12322
|
], 64));
|
|
12312
12323
|
}
|
|
12313
|
-
}), Ph = /* @__PURE__ */ he(b9, [["__scopeId", "data-v-
|
|
12324
|
+
}), 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
12325
|
key: 1,
|
|
12315
12326
|
class: "btn-setting"
|
|
12316
12327
|
}, V9 = { class: "btn-group" }, E9 = { class: "item-action flex items-center" }, P9 = { class: "setting-body" }, $9 = { class: "btn-group" }, D9 = {
|
|
@@ -12334,7 +12345,7 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12334
12345
|
},
|
|
12335
12346
|
emits: ["update:show"],
|
|
12336
12347
|
setup(t, { emit: e }) {
|
|
12337
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
12348
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-DJG5an4T.mjs")), i = U(!1), a = q(() => ({
|
|
12338
12349
|
animation: 200,
|
|
12339
12350
|
group: "gallerys",
|
|
12340
12351
|
// 链接专用分组
|
|
@@ -13515,7 +13526,7 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
13515
13526
|
emits: ["update:show"],
|
|
13516
13527
|
setup(t, { emit: e }) {
|
|
13517
13528
|
const n = qe(
|
|
13518
|
-
() => import("./index-
|
|
13529
|
+
() => import("./index-DJG5an4T.mjs")
|
|
13519
13530
|
), s = e, i = () => {
|
|
13520
13531
|
s("update:show", !1);
|
|
13521
13532
|
};
|
|
@@ -14936,7 +14947,7 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
14936
14947
|
setup(t, { emit: e }) {
|
|
14937
14948
|
var T;
|
|
14938
14949
|
const n = qe(() => import("vuedraggable")), s = qe(
|
|
14939
|
-
() => import("./index-
|
|
14950
|
+
() => import("./index-DJG5an4T.mjs")
|
|
14940
14951
|
), i = q(() => ({
|
|
14941
14952
|
animation: 200,
|
|
14942
14953
|
group: "links",
|
|
@@ -17045,7 +17056,7 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17045
17056
|
emits: ["update:show"],
|
|
17046
17057
|
setup(t, { emit: e }) {
|
|
17047
17058
|
const n = qe(
|
|
17048
|
-
() => import("./index-
|
|
17059
|
+
() => import("./index-DJG5an4T.mjs")
|
|
17049
17060
|
), s = qe(() => import("vuedraggable")), i = t, a = U(!1), l = U(/* @__PURE__ */ new Set()), r = U(/* @__PURE__ */ new Set());
|
|
17050
17061
|
Ue(
|
|
17051
17062
|
() => {
|
|
@@ -17814,11 +17825,11 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17814
17825
|
let Me = ke, He = Ve;
|
|
17815
17826
|
const xt = Y.value, rn = H.value;
|
|
17816
17827
|
if (!xt || !rn) return;
|
|
17817
|
-
const es = xt.getBoundingClientRect().width, Nt = xt.getBoundingClientRect().height,
|
|
17828
|
+
const es = xt.getBoundingClientRect().width, Nt = xt.getBoundingClientRect().height, En = rn.getBoundingClientRect().height, Pt = typeof window < "u" ? window.innerWidth : 1024, Ft = {
|
|
17818
17829
|
right: -es + Pt / 2,
|
|
17819
17830
|
left: -1 * Pt / 2,
|
|
17820
|
-
top: -Nt +
|
|
17821
|
-
bottom: -1 *
|
|
17831
|
+
top: -Nt + En / 2,
|
|
17832
|
+
bottom: -1 * En / 2
|
|
17822
17833
|
};
|
|
17823
17834
|
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
17835
|
}, Ee = (ke) => {
|
|
@@ -17827,7 +17838,7 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17827
17838
|
const Ve = x.value - ke.deltaX;
|
|
17828
17839
|
_e(Ve, T.value);
|
|
17829
17840
|
}
|
|
17830
|
-
},
|
|
17841
|
+
}, xe = () => {
|
|
17831
17842
|
const ke = Y.value, Ve = H.value;
|
|
17832
17843
|
if (ke && Ve && ke.clientWidth) {
|
|
17833
17844
|
const Me = Ve.clientWidth, He = Ve.clientHeight, xt = ke.clientWidth, rn = ke.clientHeight;
|
|
@@ -17839,7 +17850,7 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17839
17850
|
}, Ge = (ke) => {
|
|
17840
17851
|
ke === m.value && (m.value = NaN);
|
|
17841
17852
|
}, Ze = () => {
|
|
17842
|
-
|
|
17853
|
+
xe(), Re(() => {
|
|
17843
17854
|
typeof window < "u" && window.innerWidth <= 768 && setTimeout(() => E.value = !0, 1300);
|
|
17844
17855
|
});
|
|
17845
17856
|
}, fe = (ke) => {
|
|
@@ -17860,7 +17871,7 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17860
17871
|
}), Ue(
|
|
17861
17872
|
() => typeof window < "u" ? window.innerWidth : 1024,
|
|
17862
17873
|
() => {
|
|
17863
|
-
|
|
17874
|
+
xe();
|
|
17864
17875
|
}
|
|
17865
17876
|
), Ue(p, () => {
|
|
17866
17877
|
E.value = !0;
|
|
@@ -17892,7 +17903,7 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17892
17903
|
// 如果需要立即执行一次
|
|
17893
17904
|
}
|
|
17894
17905
|
), rt(() => {
|
|
17895
|
-
|
|
17906
|
+
xe();
|
|
17896
17907
|
}), (ke, Ve) => {
|
|
17897
17908
|
var Me;
|
|
17898
17909
|
return _(), S(ue, null, [
|
|
@@ -18345,7 +18356,7 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
18345
18356
|
});
|
|
18346
18357
|
const p = q(() => {
|
|
18347
18358
|
const I = m.value;
|
|
18348
|
-
return I >=
|
|
18359
|
+
return I >= 768 ? 6 : I >= 575 ? 4 : 3;
|
|
18349
18360
|
}), C = q(() => m.value >= 768 ? 2 : 3), w = q(() => {
|
|
18350
18361
|
var H;
|
|
18351
18362
|
return (((H = n.modelValue) == null ? void 0 : H.data) || []).reduce((Y, oe, ie) => {
|
|
@@ -18528,7 +18539,7 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
18528
18539
|
], 64);
|
|
18529
18540
|
};
|
|
18530
18541
|
}
|
|
18531
|
-
}), Fh = /* @__PURE__ */ he(ML, [["__scopeId", "data-v-
|
|
18542
|
+
}), Fh = /* @__PURE__ */ he(ML, [["__scopeId", "data-v-5a9764d8"]]), UL = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: Fh }, Symbol.toStringTag, { value: "Module" })), BL = { class: "setting-content" }, RL = { class: "setting-header flex items-center" }, NL = { class: "setting-header flex items-center" }, FL = { class: "setting-body" }, HL = { class: "setting-item" }, jL = { class: "btn-group" }, qL = {
|
|
18532
18543
|
key: 0,
|
|
18533
18544
|
class: "drag-handle"
|
|
18534
18545
|
}, zL = ["src"], WL = { class: "item-uplaod flex items-center" }, GL = { class: "setting-item" }, XL = { class: "btn-group" }, YL = {
|
|
@@ -20654,7 +20665,7 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
20654
20665
|
},
|
|
20655
20666
|
emits: ["update:show"],
|
|
20656
20667
|
setup(t, { emit: e }) {
|
|
20657
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
20668
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-DJG5an4T.mjs")), i = U(!1), a = q(() => ({
|
|
20658
20669
|
animation: 200,
|
|
20659
20670
|
group: "data",
|
|
20660
20671
|
// 专用分组
|
|
@@ -20943,7 +20954,7 @@ const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
20943
20954
|
},
|
|
20944
20955
|
emits: ["update:show"],
|
|
20945
20956
|
setup(t, { emit: e }) {
|
|
20946
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
20957
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-DJG5an4T.mjs")), i = U(!1), a = q(() => ({
|
|
20947
20958
|
animation: 200,
|
|
20948
20959
|
group: "data",
|
|
20949
20960
|
// 专用分组
|
|
@@ -22637,7 +22648,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
22637
22648
|
sign: te
|
|
22638
22649
|
});
|
|
22639
22650
|
try {
|
|
22640
|
-
const { data: X } = await
|
|
22651
|
+
const { data: X } = await Cn.post((Q = n.modelValue) == null ? void 0 : Q.api, G), z = X.data.ref_no;
|
|
22641
22652
|
Y(), s("handleClick", `/thank-you?ref=${z}`);
|
|
22642
22653
|
} catch (X) {
|
|
22643
22654
|
console.log(X), oe();
|
|
@@ -24308,12 +24319,12 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
24308
24319
|
key: Ee
|
|
24309
24320
|
}, {
|
|
24310
24321
|
default: $(() => [
|
|
24311
|
-
(_(!0), S(ue, null, we(I(_e), (
|
|
24312
|
-
key:
|
|
24322
|
+
(_(!0), S(ue, null, we(I(_e), (xe) => (_(), S("div", {
|
|
24323
|
+
key: xe,
|
|
24313
24324
|
class: re(["row", [`row-cols-${D.value}`]]),
|
|
24314
24325
|
style: je({ "--cc-cols": D.value })
|
|
24315
24326
|
}, [
|
|
24316
|
-
(_(!0), S(ue, null, we(R(_e,
|
|
24327
|
+
(_(!0), S(ue, null, we(R(_e, xe), (Pe) => (_(), S("div", {
|
|
24317
24328
|
class: "slide-content col",
|
|
24318
24329
|
key: Pe.key || Pe.slug
|
|
24319
24330
|
}, [
|
|
@@ -24378,7 +24389,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
24378
24389
|
emits: ["update:show"],
|
|
24379
24390
|
setup(t, { emit: e }) {
|
|
24380
24391
|
const n = qe(
|
|
24381
|
-
() => import("./index-
|
|
24392
|
+
() => import("./index-DJG5an4T.mjs")
|
|
24382
24393
|
), s = e, i = () => {
|
|
24383
24394
|
s("update:show", !1);
|
|
24384
24395
|
};
|
|
@@ -24594,7 +24605,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
24594
24605
|
emits: ["update:show"],
|
|
24595
24606
|
setup(t, { emit: e }) {
|
|
24596
24607
|
const n = qe(
|
|
24597
|
-
() => import("./index-
|
|
24608
|
+
() => import("./index-DJG5an4T.mjs")
|
|
24598
24609
|
), s = e, i = () => {
|
|
24599
24610
|
s("update:show", !1);
|
|
24600
24611
|
};
|
|
@@ -24810,7 +24821,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
24810
24821
|
emits: ["update:show"],
|
|
24811
24822
|
setup(t, { emit: e }) {
|
|
24812
24823
|
qe(
|
|
24813
|
-
() => import("./index-
|
|
24824
|
+
() => import("./index-DJG5an4T.mjs")
|
|
24814
24825
|
);
|
|
24815
24826
|
const n = e, s = () => {
|
|
24816
24827
|
n("update:show", !1);
|
|
@@ -25407,7 +25418,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
25407
25418
|
page: 1,
|
|
25408
25419
|
category: (x = n.modelValue) == null ? void 0 : x.category
|
|
25409
25420
|
}
|
|
25410
|
-
}, y = await
|
|
25421
|
+
}, y = await Cn.get((T = n.modelValue) == null ? void 0 : T.api, k);
|
|
25411
25422
|
m.value = y.data.data.data;
|
|
25412
25423
|
};
|
|
25413
25424
|
return rt(() => {
|
|
@@ -25835,7 +25846,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
25835
25846
|
}
|
|
25836
25847
|
}, D = `${(O = n.modelValue) == null ? void 0 : O.api}?per_page=${m.value}&page=${d.value}`;
|
|
25837
25848
|
try {
|
|
25838
|
-
const { data: I } = await
|
|
25849
|
+
const { data: I } = await Cn.get(D, V);
|
|
25839
25850
|
g.value = I.meta.last_page, p.value = I.data;
|
|
25840
25851
|
} catch {
|
|
25841
25852
|
g.value = 1, p.value = [];
|
|
@@ -26110,7 +26121,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
26110
26121
|
}
|
|
26111
26122
|
}, G = `${(Q = n.modelValue) == null ? void 0 : Q.api}`;
|
|
26112
26123
|
try {
|
|
26113
|
-
const { data: X } = await
|
|
26124
|
+
const { data: X } = await Cn.get(G, te);
|
|
26114
26125
|
h.value = X.data;
|
|
26115
26126
|
} catch {
|
|
26116
26127
|
h.value = [];
|
|
@@ -26419,7 +26430,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
26419
26430
|
let C = null, w = null;
|
|
26420
26431
|
const k = async () => {
|
|
26421
26432
|
var M;
|
|
26422
|
-
|
|
26433
|
+
Cn.get("/article/category/listForWeb", {
|
|
26423
26434
|
params: { langCode: n.locale, host: n.host }
|
|
26424
26435
|
}).then((H) => {
|
|
26425
26436
|
i.value = H.data.data;
|
|
@@ -26433,7 +26444,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
26433
26444
|
page: 1
|
|
26434
26445
|
}
|
|
26435
26446
|
};
|
|
26436
|
-
let R = await
|
|
26447
|
+
let R = await Cn.get(n.modelValue.api, I);
|
|
26437
26448
|
g.value = R.data.data.data;
|
|
26438
26449
|
}, y = (I) => {
|
|
26439
26450
|
w = I, D();
|
|
@@ -26865,7 +26876,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
26865
26876
|
host: n.host,
|
|
26866
26877
|
langCode: n.locale
|
|
26867
26878
|
}
|
|
26868
|
-
}, C = `${(k = n.modelValue) == null ? void 0 : k.api}?count=${(y = n.modelValue) == null ? void 0 : y.count}`, { data: w } = await
|
|
26879
|
+
}, 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
26880
|
d.value = w.data;
|
|
26870
26881
|
};
|
|
26871
26882
|
return rt(() => {
|
|
@@ -27240,7 +27251,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
27240
27251
|
host: e.host,
|
|
27241
27252
|
langCode: e.locale
|
|
27242
27253
|
}
|
|
27243
|
-
}, x = "/school/listForComponent", { data: T } = await
|
|
27254
|
+
}, x = "/school/listForComponent", { data: T } = await Cn.get(x, y);
|
|
27244
27255
|
i.value = T.data;
|
|
27245
27256
|
} catch (y) {
|
|
27246
27257
|
console.error("Error fetching school list:", y);
|
|
@@ -27256,7 +27267,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
27256
27267
|
langCode: e.locale,
|
|
27257
27268
|
locationId: y
|
|
27258
27269
|
}
|
|
27259
|
-
}, T = "/school/location", { data: E } = await
|
|
27270
|
+
}, T = "/school/location", { data: E } = await Cn.get(T, x);
|
|
27260
27271
|
i.value = E.data;
|
|
27261
27272
|
} catch (x) {
|
|
27262
27273
|
console.error("Error fetching location list:", x);
|
|
@@ -27540,10 +27551,10 @@ const IH = { key: 0 }, OH = {
|
|
|
27540
27551
|
schoolLocations: "/location/listForWeb"
|
|
27541
27552
|
}, a = U([]), l = U([]), r = () => {
|
|
27542
27553
|
Promise.all([
|
|
27543
|
-
|
|
27554
|
+
Cn.get(i.schoolCategories, {
|
|
27544
27555
|
params: { langCode: n.locale, host: n.host }
|
|
27545
27556
|
}),
|
|
27546
|
-
|
|
27557
|
+
Cn.get(i.schoolLocations)
|
|
27547
27558
|
]).then(([E, V]) => {
|
|
27548
27559
|
a.value = E.data.data, l.value = V.data.data, AH.nextTick(() => {
|
|
27549
27560
|
console.log("slugId", x.value), isNaN(x.value) || T();
|
|
@@ -27597,7 +27608,7 @@ const IH = { key: 0 }, OH = {
|
|
|
27597
27608
|
langCode: n.locale,
|
|
27598
27609
|
categoryId: x.value
|
|
27599
27610
|
}
|
|
27600
|
-
}, { data: V } = await
|
|
27611
|
+
}, { data: V } = await Cn.get(n.modelValue.api, E);
|
|
27601
27612
|
w.value = V.data.schools;
|
|
27602
27613
|
const D = V.data.logo_url;
|
|
27603
27614
|
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 +27888,7 @@ const IH = { key: 0 }, OH = {
|
|
|
27877
27888
|
host: n.host,
|
|
27878
27889
|
langCode: n.locale
|
|
27879
27890
|
}
|
|
27880
|
-
}, { data: ye } = await
|
|
27891
|
+
}, { data: ye } = await Cn.get(se, ce);
|
|
27881
27892
|
k.value = ye.data;
|
|
27882
27893
|
}
|
|
27883
27894
|
O();
|
|
@@ -28406,7 +28417,7 @@ const IH = { key: 0 }, OH = {
|
|
|
28406
28417
|
},
|
|
28407
28418
|
emits: ["handleDelete", "handleCopy", "handlePaste", "handleClick"],
|
|
28408
28419
|
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-
|
|
28420
|
+
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-BA0cP57j.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
28421
|
for (const v in n)
|
|
28411
28422
|
try {
|
|
28412
28423
|
const h = v.split("/"), d = h[h.length - 2];
|
|
@@ -30107,7 +30118,7 @@ const IH = { key: 0 }, OH = {
|
|
|
30107
30118
|
},
|
|
30108
30119
|
emits: ["update:show"],
|
|
30109
30120
|
setup(t, { emit: e }) {
|
|
30110
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
30121
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-DJG5an4T.mjs")), i = U(!1), a = q(() => ({
|
|
30111
30122
|
animation: 200,
|
|
30112
30123
|
group: "programmes",
|
|
30113
30124
|
// 链接专用分组
|
|
@@ -31127,7 +31138,7 @@ const IH = { key: 0 }, OH = {
|
|
|
31127
31138
|
emits: ["update:show"],
|
|
31128
31139
|
setup(t, { emit: e }) {
|
|
31129
31140
|
qe(
|
|
31130
|
-
() => import("./index-
|
|
31141
|
+
() => import("./index-DJG5an4T.mjs")
|
|
31131
31142
|
);
|
|
31132
31143
|
const n = e, s = () => {
|
|
31133
31144
|
n("update:show", !1);
|
|
@@ -31337,7 +31348,7 @@ const IH = { key: 0 }, OH = {
|
|
|
31337
31348
|
emits: ["update:show"],
|
|
31338
31349
|
setup(t, { emit: e }) {
|
|
31339
31350
|
qe(
|
|
31340
|
-
() => import("./index-
|
|
31351
|
+
() => import("./index-DJG5an4T.mjs")
|
|
31341
31352
|
);
|
|
31342
31353
|
const n = e, s = () => {
|
|
31343
31354
|
n("update:show", !1);
|
|
@@ -32242,7 +32253,7 @@ function hd(t, e, n) {
|
|
|
32242
32253
|
}
|
|
32243
32254
|
hd.prototype = gm(zd.prototype);
|
|
32244
32255
|
hd.prototype.constructor = hd;
|
|
32245
|
-
function
|
|
32256
|
+
function Nn(t) {
|
|
32246
32257
|
var e, n, s, i;
|
|
32247
32258
|
if (t.div) {
|
|
32248
32259
|
n = t.div.offsetHeight, s = t.div.offsetWidth, i = t.div.offsetTop;
|
|
@@ -32251,7 +32262,7 @@ function Rn(t) {
|
|
|
32251
32262
|
}
|
|
32252
32263
|
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
32264
|
}
|
|
32254
|
-
|
|
32265
|
+
Nn.prototype.move = function(t, e) {
|
|
32255
32266
|
switch (e = e !== void 0 ? e : this.lineHeight, t) {
|
|
32256
32267
|
case "+x":
|
|
32257
32268
|
this.left += e, this.right += e;
|
|
@@ -32267,19 +32278,19 @@ Rn.prototype.move = function(t, e) {
|
|
|
32267
32278
|
break;
|
|
32268
32279
|
}
|
|
32269
32280
|
};
|
|
32270
|
-
|
|
32281
|
+
Nn.prototype.overlaps = function(t) {
|
|
32271
32282
|
return this.left < t.right && this.right > t.left && this.top < t.bottom && this.bottom > t.top;
|
|
32272
32283
|
};
|
|
32273
|
-
|
|
32284
|
+
Nn.prototype.overlapsAny = function(t) {
|
|
32274
32285
|
for (var e = 0; e < t.length; e++)
|
|
32275
32286
|
if (this.overlaps(t[e]))
|
|
32276
32287
|
return !0;
|
|
32277
32288
|
return !1;
|
|
32278
32289
|
};
|
|
32279
|
-
|
|
32290
|
+
Nn.prototype.within = function(t) {
|
|
32280
32291
|
return this.top >= t.top && this.bottom <= t.bottom && this.left >= t.left && this.right <= t.right;
|
|
32281
32292
|
};
|
|
32282
|
-
|
|
32293
|
+
Nn.prototype.overlapsOppositeAxis = function(t, e) {
|
|
32283
32294
|
switch (e) {
|
|
32284
32295
|
case "+x":
|
|
32285
32296
|
return this.left < t.left;
|
|
@@ -32291,11 +32302,11 @@ Rn.prototype.overlapsOppositeAxis = function(t, e) {
|
|
|
32291
32302
|
return this.bottom > t.bottom;
|
|
32292
32303
|
}
|
|
32293
32304
|
};
|
|
32294
|
-
|
|
32305
|
+
Nn.prototype.intersectPercentage = function(t) {
|
|
32295
32306
|
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
32307
|
return s / (this.height * this.width);
|
|
32297
32308
|
};
|
|
32298
|
-
|
|
32309
|
+
Nn.prototype.toCSSCompatValues = function(t) {
|
|
32299
32310
|
return {
|
|
32300
32311
|
top: this.top - t.top,
|
|
32301
32312
|
bottom: t.bottom - this.bottom,
|
|
@@ -32305,7 +32316,7 @@ Rn.prototype.toCSSCompatValues = function(t) {
|
|
|
32305
32316
|
width: this.width
|
|
32306
32317
|
};
|
|
32307
32318
|
};
|
|
32308
|
-
|
|
32319
|
+
Nn.getSimpleBoxPosition = function(t) {
|
|
32309
32320
|
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
32321
|
t = t.div ? t.div.getBoundingClientRect() : t.tagName ? t.getBoundingClientRect() : t;
|
|
32311
32322
|
var i = {
|
|
@@ -32320,17 +32331,17 @@ Rn.getSimpleBoxPosition = function(t) {
|
|
|
32320
32331
|
};
|
|
32321
32332
|
function zW(t, e, n, s) {
|
|
32322
32333
|
function i(C, w) {
|
|
32323
|
-
for (var k, y = new
|
|
32334
|
+
for (var k, y = new Nn(C), x = 1, T = 0; T < w.length; T++) {
|
|
32324
32335
|
for (; C.overlapsOppositeAxis(n, w[T]) || C.within(n) && C.overlapsAny(s); )
|
|
32325
32336
|
C.move(w[T]);
|
|
32326
32337
|
if (C.within(n))
|
|
32327
32338
|
return C;
|
|
32328
32339
|
var E = C.intersectPercentage(n);
|
|
32329
|
-
x > E && (k = new
|
|
32340
|
+
x > E && (k = new Nn(C), x = E), C = new Nn(y);
|
|
32330
32341
|
}
|
|
32331
32342
|
return k || y;
|
|
32332
32343
|
}
|
|
32333
|
-
var a = new
|
|
32344
|
+
var a = new Nn(e), l = e.cue, r = qW(l), u = [];
|
|
32334
32345
|
if (l.snapToLines) {
|
|
32335
32346
|
var c;
|
|
32336
32347
|
switch (l.vertical) {
|
|
@@ -32373,7 +32384,7 @@ function zW(t, e, n, s) {
|
|
|
32373
32384
|
});
|
|
32374
32385
|
break;
|
|
32375
32386
|
}
|
|
32376
|
-
u = ["+y", "-x", "+x", "-y"], a = new
|
|
32387
|
+
u = ["+y", "-x", "+x", "-y"], a = new Nn(e);
|
|
32377
32388
|
}
|
|
32378
32389
|
var p = i(a, u);
|
|
32379
32390
|
e.move(p.toCSSCompatValues(n));
|
|
@@ -32413,12 +32424,12 @@ Ml.processCues = function(t, e, n) {
|
|
|
32413
32424
|
s.appendChild(e[a].displayState);
|
|
32414
32425
|
return;
|
|
32415
32426
|
}
|
|
32416
|
-
var l = [], r =
|
|
32427
|
+
var l = [], r = Nn.getSimpleBoxPosition(s), u = Math.round(r.height * WW * 100) / 100, c = {
|
|
32417
32428
|
font: u + "px " + GW
|
|
32418
32429
|
};
|
|
32419
32430
|
(function() {
|
|
32420
32431
|
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(
|
|
32432
|
+
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
32433
|
})();
|
|
32423
32434
|
};
|
|
32424
32435
|
Ml.Parser = function(t, e, n) {
|
|
@@ -32949,7 +32960,7 @@ const hG = " ", Nu = function(t) {
|
|
|
32949
32960
|
}, mG = function() {
|
|
32950
32961
|
const n = "(?:" + "[^=]*" + ")=(?:" + '"[^"]*"|[^,]*' + ")";
|
|
32951
32962
|
return new RegExp("(?:^|,)(" + n + ")");
|
|
32952
|
-
},
|
|
32963
|
+
}, Ln = function(t) {
|
|
32953
32964
|
const e = {};
|
|
32954
32965
|
if (!t)
|
|
32955
32966
|
return e;
|
|
@@ -33064,7 +33075,7 @@ class pG extends ym {
|
|
|
33064
33075
|
type: "tag",
|
|
33065
33076
|
tagType: "map"
|
|
33066
33077
|
}, n[1]) {
|
|
33067
|
-
const l =
|
|
33078
|
+
const l = Ln(n[1]);
|
|
33068
33079
|
l.URI && (s.uri = l.URI), l.BYTERANGE && (s.byterange = Nu(l.BYTERANGE));
|
|
33069
33080
|
}
|
|
33070
33081
|
this.trigger("data", s);
|
|
@@ -33074,14 +33085,14 @@ class pG extends ym {
|
|
|
33074
33085
|
s = {
|
|
33075
33086
|
type: "tag",
|
|
33076
33087
|
tagType: "stream-inf"
|
|
33077
|
-
}, n[1] && (s.attributes =
|
|
33088
|
+
}, 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
33089
|
return;
|
|
33079
33090
|
}
|
|
33080
33091
|
if (n = /^#EXT-X-MEDIA:(.*)$/.exec(a), n) {
|
|
33081
33092
|
s = {
|
|
33082
33093
|
type: "tag",
|
|
33083
33094
|
tagType: "media"
|
|
33084
|
-
}, n[1] && (s.attributes =
|
|
33095
|
+
}, n[1] && (s.attributes = Ln(n[1])), this.trigger("data", s);
|
|
33085
33096
|
return;
|
|
33086
33097
|
}
|
|
33087
33098
|
if (n = /^#EXT-X-ENDLIST/.exec(a), n) {
|
|
@@ -33109,14 +33120,14 @@ class pG extends ym {
|
|
|
33109
33120
|
s = {
|
|
33110
33121
|
type: "tag",
|
|
33111
33122
|
tagType: "key"
|
|
33112
|
-
}, n[1] && (s.attributes =
|
|
33123
|
+
}, 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
33124
|
return;
|
|
33114
33125
|
}
|
|
33115
33126
|
if (n = /^#EXT-X-START:(.*)$/.exec(a), n) {
|
|
33116
33127
|
s = {
|
|
33117
33128
|
type: "tag",
|
|
33118
33129
|
tagType: "start"
|
|
33119
|
-
}, n[1] && (s.attributes =
|
|
33130
|
+
}, 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
33131
|
return;
|
|
33121
33132
|
}
|
|
33122
33133
|
if (n = /^#EXT-X-CUE-OUT-CONT:(.*)?$/.exec(a), n) {
|
|
@@ -33144,14 +33155,14 @@ class pG extends ym {
|
|
|
33144
33155
|
s = {
|
|
33145
33156
|
type: "tag",
|
|
33146
33157
|
tagType: "skip"
|
|
33147
|
-
}, s.attributes =
|
|
33158
|
+
}, 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
33159
|
return;
|
|
33149
33160
|
}
|
|
33150
33161
|
if (n = /^#EXT-X-PART:(.*)$/.exec(a), n && n[1]) {
|
|
33151
33162
|
s = {
|
|
33152
33163
|
type: "tag",
|
|
33153
33164
|
tagType: "part"
|
|
33154
|
-
}, s.attributes =
|
|
33165
|
+
}, s.attributes = Ln(n[1]), ["DURATION"].forEach(function(l) {
|
|
33155
33166
|
s.attributes.hasOwnProperty(l) && (s.attributes[l] = parseFloat(s.attributes[l]));
|
|
33156
33167
|
}), ["INDEPENDENT", "GAP"].forEach(function(l) {
|
|
33157
33168
|
s.attributes.hasOwnProperty(l) && (s.attributes[l] = /YES/.test(s.attributes[l]));
|
|
@@ -33162,7 +33173,7 @@ class pG extends ym {
|
|
|
33162
33173
|
s = {
|
|
33163
33174
|
type: "tag",
|
|
33164
33175
|
tagType: "server-control"
|
|
33165
|
-
}, s.attributes =
|
|
33176
|
+
}, s.attributes = Ln(n[1]), ["CAN-SKIP-UNTIL", "PART-HOLD-BACK", "HOLD-BACK"].forEach(function(l) {
|
|
33166
33177
|
s.attributes.hasOwnProperty(l) && (s.attributes[l] = parseFloat(s.attributes[l]));
|
|
33167
33178
|
}), ["CAN-SKIP-DATERANGES", "CAN-BLOCK-RELOAD"].forEach(function(l) {
|
|
33168
33179
|
s.attributes.hasOwnProperty(l) && (s.attributes[l] = /YES/.test(s.attributes[l]));
|
|
@@ -33173,7 +33184,7 @@ class pG extends ym {
|
|
|
33173
33184
|
s = {
|
|
33174
33185
|
type: "tag",
|
|
33175
33186
|
tagType: "part-inf"
|
|
33176
|
-
}, s.attributes =
|
|
33187
|
+
}, s.attributes = Ln(n[1]), ["PART-TARGET"].forEach(function(l) {
|
|
33177
33188
|
s.attributes.hasOwnProperty(l) && (s.attributes[l] = parseFloat(s.attributes[l]));
|
|
33178
33189
|
}), this.trigger("data", s);
|
|
33179
33190
|
return;
|
|
@@ -33182,7 +33193,7 @@ class pG extends ym {
|
|
|
33182
33193
|
s = {
|
|
33183
33194
|
type: "tag",
|
|
33184
33195
|
tagType: "preload-hint"
|
|
33185
|
-
}, s.attributes =
|
|
33196
|
+
}, s.attributes = Ln(n[1]), ["BYTERANGE-START", "BYTERANGE-LENGTH"].forEach(function(l) {
|
|
33186
33197
|
if (s.attributes.hasOwnProperty(l)) {
|
|
33187
33198
|
s.attributes[l] = parseInt(s.attributes[l], 10);
|
|
33188
33199
|
const r = l === "BYTERANGE-LENGTH" ? "length" : "offset";
|
|
@@ -33195,7 +33206,7 @@ class pG extends ym {
|
|
|
33195
33206
|
s = {
|
|
33196
33207
|
type: "tag",
|
|
33197
33208
|
tagType: "rendition-report"
|
|
33198
|
-
}, s.attributes =
|
|
33209
|
+
}, s.attributes = Ln(n[1]), ["LAST-MSN", "LAST-PART"].forEach(function(l) {
|
|
33199
33210
|
s.attributes.hasOwnProperty(l) && (s.attributes[l] = parseInt(s.attributes[l], 10));
|
|
33200
33211
|
}), this.trigger("data", s);
|
|
33201
33212
|
return;
|
|
@@ -33204,7 +33215,7 @@ class pG extends ym {
|
|
|
33204
33215
|
s = {
|
|
33205
33216
|
type: "tag",
|
|
33206
33217
|
tagType: "daterange"
|
|
33207
|
-
}, s.attributes =
|
|
33218
|
+
}, s.attributes = Ln(n[1]), ["ID", "CLASS"].forEach(function(r) {
|
|
33208
33219
|
s.attributes.hasOwnProperty(r) && (s.attributes[r] = String(s.attributes[r]));
|
|
33209
33220
|
}), ["START-DATE", "END-DATE"].forEach(function(r) {
|
|
33210
33221
|
s.attributes.hasOwnProperty(r) && (s.attributes[r] = new Date(s.attributes[r]));
|
|
@@ -33243,21 +33254,21 @@ class pG extends ym {
|
|
|
33243
33254
|
s = {
|
|
33244
33255
|
type: "tag",
|
|
33245
33256
|
tagType: "content-steering"
|
|
33246
|
-
}, s.attributes =
|
|
33257
|
+
}, s.attributes = Ln(n[1]), this.trigger("data", s);
|
|
33247
33258
|
return;
|
|
33248
33259
|
}
|
|
33249
33260
|
if (n = /^#EXT-X-I-FRAME-STREAM-INF:(.*)$/.exec(a), n) {
|
|
33250
33261
|
s = {
|
|
33251
33262
|
type: "tag",
|
|
33252
33263
|
tagType: "i-frame-playlist"
|
|
33253
|
-
}, s.attributes =
|
|
33264
|
+
}, 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
33265
|
return;
|
|
33255
33266
|
}
|
|
33256
33267
|
if (n = /^#EXT-X-DEFINE:(.*)$/.exec(a), n) {
|
|
33257
33268
|
s = {
|
|
33258
33269
|
type: "tag",
|
|
33259
33270
|
tagType: "define"
|
|
33260
|
-
}, s.attributes =
|
|
33271
|
+
}, s.attributes = Ln(n[1]), this.trigger("data", s);
|
|
33261
33272
|
return;
|
|
33262
33273
|
}
|
|
33263
33274
|
this.trigger("data", {
|
|
@@ -34084,22 +34095,22 @@ function Zn(t, e) {
|
|
|
34084
34095
|
}
|
|
34085
34096
|
n.constructor != t && (typeof t != "function" && console.error("unknown Class:" + t), n.constructor = t);
|
|
34086
34097
|
}
|
|
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
|
-
|
|
34098
|
+
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 = {};
|
|
34099
|
+
Vn.INDEX_SIZE_ERR = (vn[1] = "Index size error", 1);
|
|
34100
|
+
Vn.DOMSTRING_SIZE_ERR = (vn[2] = "DOMString size error", 2);
|
|
34101
|
+
var Gn = Vn.HIERARCHY_REQUEST_ERR = (vn[3] = "Hierarchy request error", 3);
|
|
34102
|
+
Vn.WRONG_DOCUMENT_ERR = (vn[4] = "Wrong document", 4);
|
|
34103
|
+
Vn.INVALID_CHARACTER_ERR = (vn[5] = "Invalid character", 5);
|
|
34104
|
+
Vn.NO_DATA_ALLOWED_ERR = (vn[6] = "No data allowed", 6);
|
|
34105
|
+
Vn.NO_MODIFICATION_ALLOWED_ERR = (vn[7] = "No modification allowed", 7);
|
|
34106
|
+
var Vg = Vn.NOT_FOUND_ERR = (vn[8] = "Not found", 8);
|
|
34107
|
+
Vn.NOT_SUPPORTED_ERR = (vn[9] = "Not supported", 9);
|
|
34108
|
+
var Kf = Vn.INUSE_ATTRIBUTE_ERR = (vn[10] = "Attribute in use", 10);
|
|
34109
|
+
Vn.INVALID_STATE_ERR = (vn[11] = "Invalid state", 11);
|
|
34110
|
+
Vn.SYNTAX_ERR = (vn[12] = "Syntax error", 12);
|
|
34111
|
+
Vn.INVALID_MODIFICATION_ERR = (vn[13] = "Invalid modification", 13);
|
|
34112
|
+
Vn.NAMESPACE_ERR = (vn[14] = "Invalid namespace", 14);
|
|
34113
|
+
Vn.INVALID_ACCESS_ERR = (vn[15] = "Invalid access", 15);
|
|
34103
34114
|
function Jt(t, e) {
|
|
34104
34115
|
if (e instanceof Error)
|
|
34105
34116
|
var n = e;
|
|
@@ -34108,7 +34119,7 @@ function Jt(t, e) {
|
|
|
34108
34119
|
return n.code = t, e && (this.message = this.message + ": " + e), n;
|
|
34109
34120
|
}
|
|
34110
34121
|
Jt.prototype = Error.prototype;
|
|
34111
|
-
tr(
|
|
34122
|
+
tr(Vn, Jt);
|
|
34112
34123
|
function wi() {
|
|
34113
34124
|
}
|
|
34114
34125
|
wi.prototype = {
|
|
@@ -38925,7 +38936,7 @@ var sY = et([73, 68, 51]), iY = function(e, n) {
|
|
|
38925
38936
|
return Jg(e, "h264", n, s);
|
|
38926
38937
|
}, fY = function(e, n, s) {
|
|
38927
38938
|
return Jg(e, "h265", n, s);
|
|
38928
|
-
},
|
|
38939
|
+
}, An = {
|
|
38929
38940
|
// "webm" string literal in hex
|
|
38930
38941
|
webm: et([119, 101, 98, 109]),
|
|
38931
38942
|
// "matroska" string literal in hex
|
|
@@ -38972,39 +38983,39 @@ var sY = et([73, 68, 51]), iY = function(e, n) {
|
|
|
38972
38983
|
},
|
|
38973
38984
|
webm: function(e) {
|
|
38974
38985
|
var n = _1(e, [jr.EBML, jr.DocType])[0];
|
|
38975
|
-
return Ht(n,
|
|
38986
|
+
return Ht(n, An.webm);
|
|
38976
38987
|
},
|
|
38977
38988
|
mkv: function(e) {
|
|
38978
38989
|
var n = _1(e, [jr.EBML, jr.DocType])[0];
|
|
38979
|
-
return Ht(n,
|
|
38990
|
+
return Ht(n, An.matroska);
|
|
38980
38991
|
},
|
|
38981
38992
|
mp4: function(e) {
|
|
38982
38993
|
if (Vl["3gp"](e) || Vl.mov(e))
|
|
38983
38994
|
return !1;
|
|
38984
|
-
if (Ht(e,
|
|
38995
|
+
if (Ht(e, An.mp4, {
|
|
38985
38996
|
offset: 4
|
|
38986
|
-
}) || Ht(e,
|
|
38997
|
+
}) || Ht(e, An.fmp4, {
|
|
38987
38998
|
offset: 4
|
|
38988
|
-
}) || Ht(e,
|
|
38999
|
+
}) || Ht(e, An.moof, {
|
|
38989
39000
|
offset: 4
|
|
38990
|
-
}) || Ht(e,
|
|
39001
|
+
}) || Ht(e, An.moov, {
|
|
38991
39002
|
offset: 4
|
|
38992
39003
|
}))
|
|
38993
39004
|
return !0;
|
|
38994
39005
|
},
|
|
38995
39006
|
mov: function(e) {
|
|
38996
|
-
return Ht(e,
|
|
39007
|
+
return Ht(e, An.mov, {
|
|
38997
39008
|
offset: 4
|
|
38998
39009
|
});
|
|
38999
39010
|
},
|
|
39000
39011
|
"3gp": function(e) {
|
|
39001
|
-
return Ht(e,
|
|
39012
|
+
return Ht(e, An["3gp"], {
|
|
39002
39013
|
offset: 4
|
|
39003
39014
|
});
|
|
39004
39015
|
},
|
|
39005
39016
|
ac3: function(e) {
|
|
39006
39017
|
var n = To(e);
|
|
39007
|
-
return Ht(e,
|
|
39018
|
+
return Ht(e, An.ac3, {
|
|
39008
39019
|
offset: n
|
|
39009
39020
|
});
|
|
39010
39021
|
},
|
|
@@ -39020,20 +39031,20 @@ var sY = et([73, 68, 51]), iY = function(e, n) {
|
|
|
39020
39031
|
},
|
|
39021
39032
|
flac: function(e) {
|
|
39022
39033
|
var n = To(e);
|
|
39023
|
-
return Ht(e,
|
|
39034
|
+
return Ht(e, An.flac, {
|
|
39024
39035
|
offset: n
|
|
39025
39036
|
});
|
|
39026
39037
|
},
|
|
39027
39038
|
ogg: function(e) {
|
|
39028
|
-
return Ht(e,
|
|
39039
|
+
return Ht(e, An.ogg);
|
|
39029
39040
|
},
|
|
39030
39041
|
avi: function(e) {
|
|
39031
|
-
return Ht(e,
|
|
39042
|
+
return Ht(e, An.riff) && Ht(e, An.avi, {
|
|
39032
39043
|
offset: 8
|
|
39033
39044
|
});
|
|
39034
39045
|
},
|
|
39035
39046
|
wav: function(e) {
|
|
39036
|
-
return Ht(e,
|
|
39047
|
+
return Ht(e, An.riff) && Ht(e, An.wav, {
|
|
39037
39048
|
offset: 8
|
|
39038
39049
|
});
|
|
39039
39050
|
},
|
|
@@ -39236,7 +39247,7 @@ if (!hl) {
|
|
|
39236
39247
|
return !n && /Trident\/7.0/i.test(t) && /rv:11.0/.test(t) && (n = 11), n;
|
|
39237
39248
|
}(), 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
39249
|
}
|
|
39239
|
-
const
|
|
39250
|
+
const Tn = tu || bd || Im, nu = (_d || Tn) && !li;
|
|
39240
39251
|
var d2 = /* @__PURE__ */ Object.freeze({
|
|
39241
39252
|
__proto__: null,
|
|
39242
39253
|
get IS_IPOD() {
|
|
@@ -39295,7 +39306,7 @@ var d2 = /* @__PURE__ */ Object.freeze({
|
|
|
39295
39306
|
return Cd;
|
|
39296
39307
|
},
|
|
39297
39308
|
TOUCH_ENABLED: Qo,
|
|
39298
|
-
IS_IOS:
|
|
39309
|
+
IS_IOS: Tn,
|
|
39299
39310
|
IS_ANY_SAFARI: nu
|
|
39300
39311
|
});
|
|
39301
39312
|
function w1(t) {
|
|
@@ -39423,7 +39434,7 @@ function au(t, e) {
|
|
|
39423
39434
|
x: 0,
|
|
39424
39435
|
y: 0
|
|
39425
39436
|
};
|
|
39426
|
-
if (
|
|
39437
|
+
if (Tn) {
|
|
39427
39438
|
let v = t;
|
|
39428
39439
|
for (; v && v.nodeName.toLowerCase() !== "html"; ) {
|
|
39429
39440
|
const h = Dl(v, "transform");
|
|
@@ -39443,7 +39454,7 @@ function au(t, e) {
|
|
|
39443
39454
|
}
|
|
39444
39455
|
const s = {}, i = Zo(e.target), a = Zo(t), l = a.width, r = a.height;
|
|
39445
39456
|
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,
|
|
39457
|
+
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
39458
|
}
|
|
39448
39459
|
function v2(t) {
|
|
39449
39460
|
return ai(t) && t.nodeType === 3;
|
|
@@ -39559,17 +39570,17 @@ const T2 = function(t) {
|
|
|
39559
39570
|
}, k2 = function(t, e) {
|
|
39560
39571
|
t.styleSheet ? t.styleSheet.cssText = e : t.textContent = e;
|
|
39561
39572
|
};
|
|
39562
|
-
var
|
|
39573
|
+
var Fn = /* @__PURE__ */ new WeakMap();
|
|
39563
39574
|
const SY = 3;
|
|
39564
39575
|
let VY = SY;
|
|
39565
39576
|
function Ps() {
|
|
39566
39577
|
return VY++;
|
|
39567
39578
|
}
|
|
39568
39579
|
function x1(t, e) {
|
|
39569
|
-
if (!
|
|
39580
|
+
if (!Fn.has(t))
|
|
39570
39581
|
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 &&
|
|
39582
|
+
const n = Fn.get(t);
|
|
39583
|
+
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
39584
|
}
|
|
39574
39585
|
function Um(t, e, n, s) {
|
|
39575
39586
|
n.forEach(function(i) {
|
|
@@ -39624,8 +39635,8 @@ const EY = function() {
|
|
|
39624
39635
|
function fs(t, e, n) {
|
|
39625
39636
|
if (Array.isArray(e))
|
|
39626
39637
|
return Um(fs, t, e, n);
|
|
39627
|
-
|
|
39628
|
-
const s =
|
|
39638
|
+
Fn.has(t) || Fn.set(t, {});
|
|
39639
|
+
const s = Fn.get(t);
|
|
39629
39640
|
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
39641
|
if (s.disabled)
|
|
39631
39642
|
return;
|
|
@@ -39648,14 +39659,14 @@ function fs(t, e, n) {
|
|
|
39648
39659
|
}), t.addEventListener(e, s.dispatcher, i);
|
|
39649
39660
|
} else t.attachEvent && t.attachEvent("on" + e, s.dispatcher);
|
|
39650
39661
|
}
|
|
39651
|
-
function
|
|
39652
|
-
if (!
|
|
39662
|
+
function kn(t, e, n) {
|
|
39663
|
+
if (!Fn.has(t))
|
|
39653
39664
|
return;
|
|
39654
|
-
const s =
|
|
39665
|
+
const s = Fn.get(t);
|
|
39655
39666
|
if (!s.handlers)
|
|
39656
39667
|
return;
|
|
39657
39668
|
if (Array.isArray(e))
|
|
39658
|
-
return Um(
|
|
39669
|
+
return Um(kn, t, e, n);
|
|
39659
39670
|
const i = function(l, r) {
|
|
39660
39671
|
s.handlers[r] = [], x1(l, r);
|
|
39661
39672
|
};
|
|
@@ -39677,15 +39688,15 @@ function Tn(t, e, n) {
|
|
|
39677
39688
|
}
|
|
39678
39689
|
}
|
|
39679
39690
|
function Rl(t, e, n) {
|
|
39680
|
-
const s =
|
|
39691
|
+
const s = Fn.has(t) ? Fn.get(t) : {}, i = t.parentNode || t.ownerDocument;
|
|
39681
39692
|
if (typeof e == "string" ? e = {
|
|
39682
39693
|
type: e,
|
|
39683
39694
|
target: t
|
|
39684
39695
|
} : e.target || (e.target = t), e = ou(e), s.dispatcher && s.dispatcher.call(t, e, n), i && !e.isPropagationStopped() && e.bubbles === !0)
|
|
39685
39696
|
Rl.call(null, i, e, n);
|
|
39686
39697
|
else if (!i && !e.defaultPrevented && e.target && e.target[e.type]) {
|
|
39687
|
-
|
|
39688
|
-
const a =
|
|
39698
|
+
Fn.has(e.target) || Fn.set(e.target, {});
|
|
39699
|
+
const a = Fn.get(e.target);
|
|
39689
39700
|
e.target[e.type] && (a.disabled = !0, typeof e.target[e.type] == "function" && e.target[e.type](), a.disabled = !1);
|
|
39690
39701
|
}
|
|
39691
39702
|
return !e.defaultPrevented;
|
|
@@ -39694,13 +39705,13 @@ function ru(t, e, n) {
|
|
|
39694
39705
|
if (Array.isArray(e))
|
|
39695
39706
|
return Um(ru, t, e, n);
|
|
39696
39707
|
const s = function() {
|
|
39697
|
-
|
|
39708
|
+
kn(t, e, s), n.apply(this, arguments);
|
|
39698
39709
|
};
|
|
39699
39710
|
s.guid = n.guid = n.guid || Ps(), fs(t, e, s);
|
|
39700
39711
|
}
|
|
39701
39712
|
function Bm(t, e, n) {
|
|
39702
39713
|
const s = function() {
|
|
39703
|
-
|
|
39714
|
+
kn(t, e, s), n.apply(this, arguments);
|
|
39704
39715
|
};
|
|
39705
39716
|
s.guid = n.guid = n.guid || Ps(), fs(t, e, s);
|
|
39706
39717
|
}
|
|
@@ -39708,7 +39719,7 @@ var $Y = /* @__PURE__ */ Object.freeze({
|
|
|
39708
39719
|
__proto__: null,
|
|
39709
39720
|
fixEvent: ou,
|
|
39710
39721
|
on: fs,
|
|
39711
|
-
off:
|
|
39722
|
+
off: kn,
|
|
39712
39723
|
trigger: Rl,
|
|
39713
39724
|
one: ru,
|
|
39714
39725
|
any: Bm
|
|
@@ -39772,7 +39783,7 @@ class gs {
|
|
|
39772
39783
|
* The function to remove.
|
|
39773
39784
|
*/
|
|
39774
39785
|
off(e, n) {
|
|
39775
|
-
|
|
39786
|
+
kn(this, e, n);
|
|
39776
39787
|
}
|
|
39777
39788
|
/**
|
|
39778
39789
|
* This function will add an `event listener` that gets triggered only once. After the
|
|
@@ -40010,10 +40021,10 @@ const du = (t) => typeof t.name == "function" ? t.name() : typeof t.name == "str
|
|
|
40010
40021
|
*/
|
|
40011
40022
|
off(t, e, n) {
|
|
40012
40023
|
if (!t || Ic(t))
|
|
40013
|
-
|
|
40024
|
+
kn(this.eventBusEl_, t, e);
|
|
40014
40025
|
else {
|
|
40015
40026
|
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 ? (
|
|
40027
|
+
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
40028
|
}
|
|
40018
40029
|
},
|
|
40019
40030
|
/**
|
|
@@ -40052,7 +40063,7 @@ function Rm(t, e = {}) {
|
|
|
40052
40063
|
s();
|
|
40053
40064
|
}), t.on("dispose", () => {
|
|
40054
40065
|
t.off(), [t, t.el_, t.eventBusEl_].forEach(function(s) {
|
|
40055
|
-
s &&
|
|
40066
|
+
s && Fn.has(s) && Fn.delete(s);
|
|
40056
40067
|
}), le.setTimeout(() => {
|
|
40057
40068
|
t.eventBusEl_ = null;
|
|
40058
40069
|
}, 0);
|
|
@@ -42582,14 +42593,14 @@ const Ll = {
|
|
|
42582
42593
|
getterName: "remoteTextTrackEls",
|
|
42583
42594
|
privateName: "remoteTextTrackEls_"
|
|
42584
42595
|
}
|
|
42585
|
-
},
|
|
42596
|
+
}, Bn = Object.assign({}, Es, Ll);
|
|
42586
42597
|
Ll.names = Object.keys(Ll);
|
|
42587
42598
|
Es.names = Object.keys(Es);
|
|
42588
|
-
|
|
42599
|
+
Bn.names = [].concat(Ll.names).concat(Es.names);
|
|
42589
42600
|
function zY(t, e, n, s, i = {}) {
|
|
42590
42601
|
const a = t.textTracks();
|
|
42591
42602
|
i.kind = e, n && (i.label = n), s && (i.language = s), i.tech = t;
|
|
42592
|
-
const l = new
|
|
42603
|
+
const l = new Bn.text.TrackClass(i);
|
|
42593
42604
|
return a.addTrack(l), l;
|
|
42594
42605
|
}
|
|
42595
42606
|
class ut extends Te {
|
|
@@ -42608,12 +42619,12 @@ class ut extends Te {
|
|
|
42608
42619
|
this.hasStarted_ = !0;
|
|
42609
42620
|
}), this.on("loadstart", function() {
|
|
42610
42621
|
this.hasStarted_ = !1;
|
|
42611
|
-
}),
|
|
42612
|
-
const i =
|
|
42622
|
+
}), Bn.names.forEach((s) => {
|
|
42623
|
+
const i = Bn[s];
|
|
42613
42624
|
e && e[i.getterName] && (this[i.privateName] = e[i.getterName]);
|
|
42614
42625
|
}), this.featuresProgressEvents || this.manualProgressOn(), this.featuresTimeupdateEvents || this.manualTimeUpdatesOn(), ["Text", "Audio", "Video"].forEach((s) => {
|
|
42615
42626
|
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
|
|
42627
|
+
}), 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
42628
|
}
|
|
42618
42629
|
/**
|
|
42619
42630
|
* A special function to trigger source set in a way that will allow player
|
|
@@ -43231,8 +43242,8 @@ class ut extends Te {
|
|
|
43231
43242
|
}
|
|
43232
43243
|
}
|
|
43233
43244
|
}
|
|
43234
|
-
|
|
43235
|
-
const e =
|
|
43245
|
+
Bn.names.forEach(function(t) {
|
|
43246
|
+
const e = Bn[t];
|
|
43236
43247
|
ut.prototype[e.getterName] = function() {
|
|
43237
43248
|
return this[e.privateName] = this[e.privateName] || new e.ListClass(), this[e.privateName];
|
|
43238
43249
|
};
|
|
@@ -44498,7 +44509,7 @@ class dK extends Te {
|
|
|
44498
44509
|
}
|
|
44499
44510
|
}
|
|
44500
44511
|
Te.registerComponent("LoadingSpinner", dK);
|
|
44501
|
-
class
|
|
44512
|
+
class Sn extends cu {
|
|
44502
44513
|
/**
|
|
44503
44514
|
* Create the `Button`s DOM element.
|
|
44504
44515
|
*
|
|
@@ -44580,8 +44591,8 @@ class kn extends cu {
|
|
|
44580
44591
|
super.handleKeyDown(e);
|
|
44581
44592
|
}
|
|
44582
44593
|
}
|
|
44583
|
-
Te.registerComponent("Button",
|
|
44584
|
-
class F2 extends
|
|
44594
|
+
Te.registerComponent("Button", Sn);
|
|
44595
|
+
class F2 extends Sn {
|
|
44585
44596
|
constructor(e, n) {
|
|
44586
44597
|
super(e, n), this.mouseused_ = !1, this.setIcon("play"), this.on("mousedown", (s) => this.handleMouseDown(s));
|
|
44587
44598
|
}
|
|
@@ -44646,7 +44657,7 @@ class F2 extends kn {
|
|
|
44646
44657
|
}
|
|
44647
44658
|
F2.prototype.controlText_ = "Play Video";
|
|
44648
44659
|
Te.registerComponent("BigPlayButton", F2);
|
|
44649
|
-
class uK extends
|
|
44660
|
+
class uK extends Sn {
|
|
44650
44661
|
/**
|
|
44651
44662
|
* Creates an instance of the this class.
|
|
44652
44663
|
*
|
|
@@ -44703,7 +44714,7 @@ class uK extends kn {
|
|
|
44703
44714
|
}
|
|
44704
44715
|
}
|
|
44705
44716
|
Te.registerComponent("CloseButton", uK);
|
|
44706
|
-
class H2 extends
|
|
44717
|
+
class H2 extends Sn {
|
|
44707
44718
|
/**
|
|
44708
44719
|
* Creates an instance of this class.
|
|
44709
44720
|
*
|
|
@@ -45060,7 +45071,7 @@ class hK extends Te {
|
|
|
45060
45071
|
}
|
|
45061
45072
|
}
|
|
45062
45073
|
Te.registerComponent("LiveDisplay", hK);
|
|
45063
|
-
class j2 extends
|
|
45074
|
+
class j2 extends Sn {
|
|
45064
45075
|
/**
|
|
45065
45076
|
* Creates an instance of this class.
|
|
45066
45077
|
*
|
|
@@ -45506,7 +45517,7 @@ class Km extends Te {
|
|
|
45506
45517
|
Km.prototype.options_ = {
|
|
45507
45518
|
children: []
|
|
45508
45519
|
};
|
|
45509
|
-
!
|
|
45520
|
+
!Tn && !Rs && Km.prototype.options_.children.push("timeTooltip");
|
|
45510
45521
|
Te.registerComponent("PlayProgressBar", Km);
|
|
45511
45522
|
class q2 extends Te {
|
|
45512
45523
|
/**
|
|
@@ -45570,8 +45581,8 @@ class hu extends Ym {
|
|
|
45570
45581
|
*/
|
|
45571
45582
|
constructor(e, n) {
|
|
45572
45583
|
n = It(hu.prototype.options_, n), n.children = [...n.children];
|
|
45573
|
-
const s = e.options_.disableSeekWhileScrubbingOnMobile && (
|
|
45574
|
-
(!
|
|
45584
|
+
const s = e.options_.disableSeekWhileScrubbingOnMobile && (Tn || Rs) || e.options_.disableSeekWhileScrubbingOnSTV;
|
|
45585
|
+
(!Tn && !Rs || s) && n.children.splice(1, 0, "mouseTimeDisplay"), super(e, n), this.shouldDisableSeekWhileScrubbing_ = s, this.pendingSeekTime_ = null, this.setEventHandlers_();
|
|
45575
45586
|
}
|
|
45576
45587
|
/**
|
|
45577
45588
|
* Sets the event handlers
|
|
@@ -45948,7 +45959,7 @@ z2.prototype.options_ = {
|
|
|
45948
45959
|
children: ["seekBar"]
|
|
45949
45960
|
};
|
|
45950
45961
|
Te.registerComponent("ProgressControl", z2);
|
|
45951
|
-
class W2 extends
|
|
45962
|
+
class W2 extends Sn {
|
|
45952
45963
|
/**
|
|
45953
45964
|
* Creates an instance of this class.
|
|
45954
45965
|
*
|
|
@@ -46033,7 +46044,7 @@ class W2 extends kn {
|
|
|
46033
46044
|
}
|
|
46034
46045
|
W2.prototype.controlText_ = "Picture-in-Picture";
|
|
46035
46046
|
Te.registerComponent("PictureInPictureToggle", W2);
|
|
46036
|
-
class G2 extends
|
|
46047
|
+
class G2 extends Sn {
|
|
46037
46048
|
/**
|
|
46038
46049
|
* Creates an instance of this class.
|
|
46039
46050
|
*
|
|
@@ -46368,7 +46379,7 @@ mu.prototype.options_ = {
|
|
|
46368
46379
|
children: ["volumeLevel"],
|
|
46369
46380
|
barName: "volumeLevel"
|
|
46370
46381
|
};
|
|
46371
|
-
!
|
|
46382
|
+
!Tn && !Rs && mu.prototype.options_.children.splice(0, 0, "mouseVolumeLevelDisplay");
|
|
46372
46383
|
mu.prototype.playerEvent = "volumechange";
|
|
46373
46384
|
Te.registerComponent("VolumeBar", mu);
|
|
46374
46385
|
class Y2 extends Te {
|
|
@@ -46448,7 +46459,7 @@ const _K = function(t, e) {
|
|
|
46448
46459
|
e.tech_.featuresMuteControl ? t.removeClass("vjs-hidden") : t.addClass("vjs-hidden");
|
|
46449
46460
|
});
|
|
46450
46461
|
};
|
|
46451
|
-
class K2 extends
|
|
46462
|
+
class K2 extends Sn {
|
|
46452
46463
|
/**
|
|
46453
46464
|
* Creates an instance of this class.
|
|
46454
46465
|
*
|
|
@@ -46517,7 +46528,7 @@ class K2 extends kn {
|
|
|
46517
46528
|
updateIcon_() {
|
|
46518
46529
|
const e = this.player_.volume();
|
|
46519
46530
|
let n = 3;
|
|
46520
|
-
this.setIcon("volume-high"),
|
|
46531
|
+
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
46532
|
}
|
|
46522
46533
|
/**
|
|
46523
46534
|
* If `muted` has changed on the player, update the control text
|
|
@@ -46628,7 +46639,7 @@ class Q2 extends Te {
|
|
|
46628
46639
|
* @listens mouseout
|
|
46629
46640
|
*/
|
|
46630
46641
|
handleMouseOut(e) {
|
|
46631
|
-
this.removeClass("vjs-hover"),
|
|
46642
|
+
this.removeClass("vjs-hover"), kn(De, "keyup", this.handleKeyPressHandler_);
|
|
46632
46643
|
}
|
|
46633
46644
|
/**
|
|
46634
46645
|
* Handles `keyup` event on the document or `keydown` event on the `VolumePanel`,
|
|
@@ -46647,7 +46658,7 @@ Q2.prototype.options_ = {
|
|
|
46647
46658
|
children: ["muteToggle", "volumeControl"]
|
|
46648
46659
|
};
|
|
46649
46660
|
Te.registerComponent("VolumePanel", Q2);
|
|
46650
|
-
class Z2 extends
|
|
46661
|
+
class Z2 extends Sn {
|
|
46651
46662
|
constructor(e, n) {
|
|
46652
46663
|
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
46664
|
}
|
|
@@ -46685,7 +46696,7 @@ class Z2 extends kn {
|
|
|
46685
46696
|
}
|
|
46686
46697
|
Z2.prototype.controlText_ = "Skip Forward";
|
|
46687
46698
|
Te.registerComponent("SkipForward", Z2);
|
|
46688
|
-
class J2 extends
|
|
46699
|
+
class J2 extends Sn {
|
|
46689
46700
|
constructor(e, n) {
|
|
46690
46701
|
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
46702
|
}
|
|
@@ -46883,8 +46894,8 @@ class Qm extends Te {
|
|
|
46883
46894
|
* The key/value store of player options.
|
|
46884
46895
|
*/
|
|
46885
46896
|
constructor(e, n = {}) {
|
|
46886
|
-
super(e, n), this.menuButton_ = new
|
|
46887
|
-
const s =
|
|
46897
|
+
super(e, n), this.menuButton_ = new Sn(e, n), this.menuButton_.controlText(this.controlText_), this.menuButton_.el_.setAttribute("aria-haspopup", "true");
|
|
46898
|
+
const s = Sn.prototype.buildCSSClass();
|
|
46888
46899
|
this.menuButton_.el_.className = this.buildCSSClass() + " " + s, this.menuButton_.removeClass("vjs-control"), this.addChild(this.menuButton_), this.update(), this.enabled_ = !0;
|
|
46889
46900
|
const i = (a) => this.handleClick(a);
|
|
46890
46901
|
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 +46971,7 @@ class Qm extends Te {
|
|
|
46960
46971
|
buildWrapperCSSClass() {
|
|
46961
46972
|
let e = "vjs-menu-button";
|
|
46962
46973
|
this.options_.inline === !0 ? e += "-inline" : e += "-popup";
|
|
46963
|
-
const n =
|
|
46974
|
+
const n = Sn.prototype.buildCSSClass();
|
|
46964
46975
|
return `vjs-menu-button ${e} ${n} ${super.buildCSSClass()}`;
|
|
46965
46976
|
}
|
|
46966
46977
|
/**
|
|
@@ -47019,7 +47030,7 @@ class Qm extends Te {
|
|
|
47019
47030
|
* @listens mouseleave
|
|
47020
47031
|
*/
|
|
47021
47032
|
handleMouseLeave(e) {
|
|
47022
|
-
this.removeClass("vjs-hover"),
|
|
47033
|
+
this.removeClass("vjs-hover"), kn(De, "keyup", this.handleMenuKeyUp_);
|
|
47023
47034
|
}
|
|
47024
47035
|
/**
|
|
47025
47036
|
* Set the focus to the actual button, not to this element
|
|
@@ -47085,7 +47096,7 @@ class Qm extends Te {
|
|
|
47085
47096
|
*/
|
|
47086
47097
|
pressButton() {
|
|
47087
47098
|
if (this.enabled_) {
|
|
47088
|
-
if (this.buttonPressed_ = !0, this.menu.show(), this.menu.lockShowing(), this.menuButton_.el_.setAttribute("aria-expanded", "true"),
|
|
47099
|
+
if (this.buttonPressed_ = !0, this.menu.show(), this.menu.lockShowing(), this.menuButton_.el_.setAttribute("aria-expanded", "true"), Tn && u2())
|
|
47089
47100
|
return;
|
|
47090
47101
|
this.menu.focus();
|
|
47091
47102
|
}
|
|
@@ -48440,12 +48451,12 @@ Te.registerComponent("TextTrackSettingsFont", hv);
|
|
|
48440
48451
|
class mv extends Te {
|
|
48441
48452
|
constructor(e, n = {}) {
|
|
48442
48453
|
super(e, n);
|
|
48443
|
-
const s = new
|
|
48454
|
+
const s = new Sn(e, {
|
|
48444
48455
|
controlText: this.localize("restore all settings to the default values"),
|
|
48445
48456
|
className: "vjs-default-button"
|
|
48446
48457
|
});
|
|
48447
48458
|
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
|
|
48459
|
+
const i = this.localize("Done"), a = new Sn(e, {
|
|
48449
48460
|
controlText: i,
|
|
48450
48461
|
className: "vjs-done-button"
|
|
48451
48462
|
});
|
|
@@ -48700,7 +48711,7 @@ class TK extends Te {
|
|
|
48700
48711
|
return;
|
|
48701
48712
|
const a = this.debouncedHandler_;
|
|
48702
48713
|
let l = this.unloadListener_ = function() {
|
|
48703
|
-
|
|
48714
|
+
kn(this, "resize", a), kn(this, "unload", l), l = null;
|
|
48704
48715
|
};
|
|
48705
48716
|
fs(this.el_.contentWindow, "unload", l), fs(this.el_.contentWindow, "resize", a);
|
|
48706
48717
|
}, this.one("load", this.loadListener_));
|
|
@@ -49027,7 +49038,7 @@ const EK = {
|
|
|
49027
49038
|
position: [],
|
|
49028
49039
|
takeFocus: !1
|
|
49029
49040
|
};
|
|
49030
|
-
class PK extends
|
|
49041
|
+
class PK extends Sn {
|
|
49031
49042
|
/**
|
|
49032
49043
|
* TransientButton constructor
|
|
49033
49044
|
*
|
|
@@ -49773,7 +49784,7 @@ ze.canControlVolume = function() {
|
|
|
49773
49784
|
const t = ze.TEST_VID.volume;
|
|
49774
49785
|
ze.TEST_VID.volume = t / 2 + 0.1;
|
|
49775
49786
|
const e = t !== ze.TEST_VID.volume;
|
|
49776
|
-
return e &&
|
|
49787
|
+
return e && Tn ? (le.setTimeout(() => {
|
|
49777
49788
|
ze && ze.prototype && (ze.prototype.featuresVolumeControl = t !== ze.TEST_VID.volume);
|
|
49778
49789
|
}), !1) : e;
|
|
49779
49790
|
} catch {
|
|
@@ -49821,7 +49832,7 @@ ze.canOverrideAttributes = function() {
|
|
|
49821
49832
|
return !0;
|
|
49822
49833
|
};
|
|
49823
49834
|
ze.supportsNativeTextTracks = function() {
|
|
49824
|
-
return nu ||
|
|
49835
|
+
return nu || Tn && li;
|
|
49825
49836
|
};
|
|
49826
49837
|
ze.supportsNativeVideoTracks = function() {
|
|
49827
49838
|
return !!(ze.TEST_VID && ze.TEST_VID.videoTracks);
|
|
@@ -49834,7 +49845,7 @@ ze.Events = ["loadstart", "suspend", "abort", "error", "emptied", "stalled", "lo
|
|
|
49834
49845
|
Zd(ze.prototype, t, () => ze[e](), !0);
|
|
49835
49846
|
});
|
|
49836
49847
|
ze.prototype.featuresVolumeControl = ze.canControlVolume();
|
|
49837
|
-
ze.prototype.movingMediaElementInDOM = !
|
|
49848
|
+
ze.prototype.movingMediaElementInDOM = !Tn;
|
|
49838
49849
|
ze.prototype.featuresFullscreenResize = !0;
|
|
49839
49850
|
ze.prototype.featuresProgressEvents = !0;
|
|
49840
49851
|
ze.prototype.featuresTimeupdateEvents = !0;
|
|
@@ -50687,7 +50698,7 @@ class Vt extends Te {
|
|
|
50687
50698
|
c.style.display = "none", this.el_.appendChild(c), this.addClass("vjs-svg-icons-enabled");
|
|
50688
50699
|
}
|
|
50689
50700
|
}
|
|
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"),
|
|
50701
|
+
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
50702
|
const a = Ec.split(".")[0];
|
|
50692
50703
|
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
50704
|
this.audioPosterMode(this.options_.audioPosterMode), this.audioOnlyMode(this.options_.audioOnlyMode);
|
|
@@ -50702,8 +50713,8 @@ class Vt extends Te {
|
|
|
50702
50713
|
* @fires Player#dispose
|
|
50703
50714
|
*/
|
|
50704
50715
|
dispose() {
|
|
50705
|
-
this.trigger("dispose"), this.off("dispose"),
|
|
50706
|
-
const n =
|
|
50716
|
+
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) => {
|
|
50717
|
+
const n = Bn[e], s = this[n.getterName]();
|
|
50707
50718
|
s && s.off && s.off();
|
|
50708
50719
|
}), super.dispose({
|
|
50709
50720
|
restoreEl: this.options_.restoreEl
|
|
@@ -50956,8 +50967,8 @@ class Vt extends Te {
|
|
|
50956
50967
|
canOverridePoster: !!this.options_.techCanOverridePoster,
|
|
50957
50968
|
enableSourceset: this.options_.enableSourceset
|
|
50958
50969
|
};
|
|
50959
|
-
|
|
50960
|
-
const c =
|
|
50970
|
+
Bn.names.forEach((u) => {
|
|
50971
|
+
const c = Bn[u];
|
|
50961
50972
|
l[c.getterName] = this[c.privateName];
|
|
50962
50973
|
}), 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
50974
|
const r = ut.getTech(e);
|
|
@@ -50984,8 +50995,8 @@ class Vt extends Te {
|
|
|
50984
50995
|
* @private
|
|
50985
50996
|
*/
|
|
50986
50997
|
unloadTech_() {
|
|
50987
|
-
|
|
50988
|
-
const n =
|
|
50998
|
+
Bn.names.forEach((e) => {
|
|
50999
|
+
const n = Bn[e];
|
|
50989
51000
|
this[n.privateName] = this[n.getterName]();
|
|
50990
51001
|
}), 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
51002
|
}
|
|
@@ -51594,7 +51605,7 @@ See https://github.com/videojs/video.js/issues/2617 for more info.
|
|
|
51594
51605
|
*/
|
|
51595
51606
|
play_(e = Qs) {
|
|
51596
51607
|
this.playCallbacks_.push(e);
|
|
51597
|
-
const n = !!(!this.changingSrc_ && (this.src() || this.currentSrc())), s = !!(nu ||
|
|
51608
|
+
const n = !!(!this.changingSrc_ && (this.src() || this.currentSrc())), s = !!(nu || Tn);
|
|
51598
51609
|
if (this.waitToPlay_ && (this.off(["ready", "loadstart"], this.waitToPlay_), this.waitToPlay_ = null), !this.isReady_ || !n) {
|
|
51599
51610
|
this.waitToPlay_ = (l) => {
|
|
51600
51611
|
this.play_();
|
|
@@ -52074,7 +52085,7 @@ See https://github.com/videojs/video.js/issues/2617 for more info.
|
|
|
52074
52085
|
* @fires Player#exitFullWindow
|
|
52075
52086
|
*/
|
|
52076
52087
|
exitFullWindow() {
|
|
52077
|
-
this.isFullscreen(!1), this.isFullWindow = !1,
|
|
52088
|
+
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
52089
|
}
|
|
52079
52090
|
/**
|
|
52080
52091
|
* Get or set disable Picture-in-Picture mode.
|
|
@@ -52728,7 +52739,7 @@ See https://github.com/videojs/video.js/issues/2617 for more info.
|
|
|
52728
52739
|
};
|
|
52729
52740
|
this.on("mousedown", l), this.on("mousemove", a), this.on("mouseup", r), this.on("mouseleave", r);
|
|
52730
52741
|
const u = this.getChild("controlBar");
|
|
52731
|
-
u && !
|
|
52742
|
+
u && !Tn && !Rs && (u.on("mouseenter", function(h) {
|
|
52732
52743
|
this.player().options_.inactivityTimeout !== 0 && (this.player().cache_.inactivityTimeout = this.player().options_.inactivityTimeout), this.player().options_.inactivityTimeout = 0;
|
|
52733
52744
|
}), u.on("mouseleave", function(h) {
|
|
52734
52745
|
this.player().options_.inactivityTimeout = this.player().cache_.inactivityTimeout;
|
|
@@ -53337,8 +53348,8 @@ Vt.prototype.remoteTextTracks = () => {
|
|
|
53337
53348
|
};
|
|
53338
53349
|
Vt.prototype.remoteTextTrackEls = () => {
|
|
53339
53350
|
};
|
|
53340
|
-
|
|
53341
|
-
const e =
|
|
53351
|
+
Bn.names.forEach(function(t) {
|
|
53352
|
+
const e = Bn[t];
|
|
53342
53353
|
Vt.prototype[e.getterName] = function() {
|
|
53343
53354
|
return this.tech_ ? this.tech_[e.getterName]() : (this[e.privateName] = this[e.privateName] || new e.ListClass(), this[e.privateName]);
|
|
53344
53355
|
};
|
|
@@ -53740,7 +53751,7 @@ ge.EventTarget = gs;
|
|
|
53740
53751
|
ge.any = Bm;
|
|
53741
53752
|
ge.on = fs;
|
|
53742
53753
|
ge.one = ru;
|
|
53743
|
-
ge.off =
|
|
53754
|
+
ge.off = kn;
|
|
53744
53755
|
ge.trigger = Rl;
|
|
53745
53756
|
ge.xhr = rg;
|
|
53746
53757
|
ge.TrackList = Da;
|
|
@@ -56934,19 +56945,19 @@ browserWorkerPolyFill(self);
|
|
|
56934
56945
|
}, Ee = function(b, P) {
|
|
56935
56946
|
var A = _e();
|
|
56936
56947
|
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
|
-
},
|
|
56948
|
+
}, xe = function(b, P) {
|
|
56938
56949
|
var A, L, B, F, J, ee = P || 0, ae = [];
|
|
56939
56950
|
for (A = 0; A < b.length; A++)
|
|
56940
56951
|
for (F = b[A], L = 0; L < F.length; L++)
|
|
56941
56952
|
J = F[L], B = Ee(J, ee), ee += B.size, ae.push(B);
|
|
56942
56953
|
return ae;
|
|
56943
56954
|
}, Pe = function(b) {
|
|
56944
|
-
var P, A, L, B, F, J, ee = 0, ae = b.byteLength, de = b.nalCount, me = ae + 4 * de,
|
|
56955
|
+
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
56956
|
for (P = 0; P < b.length; P++)
|
|
56946
56957
|
for (B = b[P], A = 0; A < B.length; A++)
|
|
56947
56958
|
for (F = B[A], L = 0; L < F.length; L++)
|
|
56948
|
-
J = F[L], Be.setUint32(ee, J.data.byteLength), ee += 4,
|
|
56949
|
-
return
|
|
56959
|
+
J = F[L], Be.setUint32(ee, J.data.byteLength), ee += 4, Ce.set(J.data, ee), ee += J.data.byteLength;
|
|
56960
|
+
return Ce;
|
|
56950
56961
|
}, Ge = function(b, P) {
|
|
56951
56962
|
var A, L = P || 0, B = [];
|
|
56952
56963
|
return A = Ee(b, L), B.push(A), B;
|
|
@@ -56959,7 +56970,7 @@ browserWorkerPolyFill(self);
|
|
|
56959
56970
|
groupNalsIntoFrames: Ae,
|
|
56960
56971
|
groupFramesIntoGops: it,
|
|
56961
56972
|
extendFirstKeyFrame: Ie,
|
|
56962
|
-
generateSampleTable:
|
|
56973
|
+
generateSampleTable: xe,
|
|
56963
56974
|
concatenateNalData: Pe,
|
|
56964
56975
|
generateSampleTableForFrame: Ge,
|
|
56965
56976
|
concatenateNalDataForFrame: Ze
|
|
@@ -56991,29 +57002,29 @@ browserWorkerPolyFill(self);
|
|
|
56991
57002
|
xt = He(b);
|
|
56992
57003
|
}
|
|
56993
57004
|
return xt;
|
|
56994
|
-
}, es = 9e4, Nt,
|
|
57005
|
+
}, es = 9e4, Nt, En, Pt, Ft, Pn, ys, $i;
|
|
56995
57006
|
Nt = function(b) {
|
|
56996
57007
|
return b * es;
|
|
56997
|
-
},
|
|
57008
|
+
}, En = function(b, P) {
|
|
56998
57009
|
return b * P;
|
|
56999
57010
|
}, Pt = function(b) {
|
|
57000
57011
|
return b / es;
|
|
57001
57012
|
}, Ft = function(b, P) {
|
|
57002
57013
|
return b / P;
|
|
57003
|
-
},
|
|
57014
|
+
}, Pn = function(b, P) {
|
|
57004
57015
|
return Nt(Ft(b, P));
|
|
57005
57016
|
}, ys = function(b, P) {
|
|
57006
|
-
return
|
|
57017
|
+
return En(Pt(b), P);
|
|
57007
57018
|
}, $i = function(b, P, A) {
|
|
57008
57019
|
return Pt(A ? b : b - P);
|
|
57009
57020
|
};
|
|
57010
57021
|
var lt = {
|
|
57011
57022
|
ONE_SECOND_IN_TS: es,
|
|
57012
57023
|
secondsToVideoTs: Nt,
|
|
57013
|
-
secondsToAudioTs:
|
|
57024
|
+
secondsToAudioTs: En,
|
|
57014
57025
|
videoTsToSeconds: Pt,
|
|
57015
57026
|
audioTsToSeconds: Ft,
|
|
57016
|
-
audioTsToVideoTs:
|
|
57027
|
+
audioTsToVideoTs: Pn,
|
|
57017
57028
|
videoTsToAudioTs: ys,
|
|
57018
57029
|
metadataTsToSeconds: $i
|
|
57019
57030
|
}, Oa = rn, Hn = lt, Di = function(b) {
|
|
@@ -57022,13 +57033,13 @@ browserWorkerPolyFill(self);
|
|
|
57022
57033
|
A = b[P], L += A.data.byteLength;
|
|
57023
57034
|
return L;
|
|
57024
57035
|
}, Li = function(b, P, A, L) {
|
|
57025
|
-
var B, F = 0, J = 0, ee = 0, ae = 0, de, me,
|
|
57036
|
+
var B, F = 0, J = 0, ee = 0, ae = 0, de, me, Ce;
|
|
57026
57037
|
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
57038
|
for (de = Oa()[b.samplerate], de || (de = P[0].data), me = 0; me < ee; me++)
|
|
57028
|
-
|
|
57039
|
+
Ce = P[0], P.splice(0, 0, {
|
|
57029
57040
|
data: de,
|
|
57030
|
-
dts:
|
|
57031
|
-
pts:
|
|
57041
|
+
dts: Ce.dts - F,
|
|
57042
|
+
pts: Ce.pts - F
|
|
57032
57043
|
});
|
|
57033
57044
|
return b.baseMediaDecodeTime -= Math.floor(Hn.videoTsToAudioTs(ae, b.samplerate)), ae;
|
|
57034
57045
|
}
|
|
@@ -57325,14 +57336,14 @@ browserWorkerPolyFill(self);
|
|
|
57325
57336
|
A.flushDisplayed(F, A.services[b]);
|
|
57326
57337
|
}), this.services[b];
|
|
57327
57338
|
}, 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,
|
|
57339
|
+
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
57340
|
function Be(Se) {
|
|
57330
57341
|
return Se.map((Je) => ("0" + (Je & 255).toString(16)).slice(-2)).join("");
|
|
57331
57342
|
}
|
|
57332
|
-
if (B ? (
|
|
57333
|
-
me = P.textDecoder_.decode(new Uint8Array(
|
|
57343
|
+
if (B ? (Ce = [ee, ae], b++) : Ce = [ee], P.textDecoder_ && !L)
|
|
57344
|
+
me = P.textDecoder_.decode(new Uint8Array(Ce));
|
|
57334
57345
|
else if (B) {
|
|
57335
|
-
const Se = Be(
|
|
57346
|
+
const Se = Be(Ce);
|
|
57336
57347
|
me = String.fromCharCode(parseInt(Se, 16));
|
|
57337
57348
|
} else
|
|
57338
57349
|
me = qt(J | ee);
|
|
@@ -57870,7 +57881,7 @@ browserWorkerPolyFill(self);
|
|
|
57870
57881
|
for (F = 0; F < P.descriptor.length; F++)
|
|
57871
57882
|
this.dispatchType += ("00" + P.descriptor[F].toString(16)).slice(-2);
|
|
57872
57883
|
this.push = function(J) {
|
|
57873
|
-
var ee, ae, de, me,
|
|
57884
|
+
var ee, ae, de, me, Ce, Be;
|
|
57874
57885
|
if (J.type === "timed-metadata") {
|
|
57875
57886
|
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
57887
|
this.trigger("log", {
|
|
@@ -57885,8 +57896,8 @@ browserWorkerPolyFill(self);
|
|
|
57885
57896
|
frames: [],
|
|
57886
57897
|
pts: L[0].pts,
|
|
57887
57898
|
dts: L[0].dts
|
|
57888
|
-
},
|
|
57889
|
-
ee.data.set(L[0].data.subarray(0, A -
|
|
57899
|
+
}, Ce = 0; Ce < A; )
|
|
57900
|
+
ee.data.set(L[0].data.subarray(0, A - Ce), Ce), Ce += L[0].data.byteLength, B -= L[0].data.byteLength, L.shift();
|
|
57890
57901
|
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
57902
|
do {
|
|
57892
57903
|
if (de = Oi.parseSyncSafeInteger(ee.data.subarray(ae + 4, ae + 8)), de < 1) {
|
|
@@ -57945,8 +57956,8 @@ browserWorkerPolyFill(self);
|
|
|
57945
57956
|
audio: null,
|
|
57946
57957
|
"timed-metadata": {}
|
|
57947
57958
|
}, 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 =
|
|
57959
|
+
var me = B[de], Ce = (B[de + 1] & 31) << 8 | B[de + 2];
|
|
57960
|
+
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
57961
|
}
|
|
57951
57962
|
F.programMapTable = L.programMapTable;
|
|
57952
57963
|
}
|
|
@@ -57976,16 +57987,16 @@ browserWorkerPolyFill(self);
|
|
|
57976
57987
|
size: 0
|
|
57977
57988
|
}, F, J = function(ae, de) {
|
|
57978
57989
|
var me;
|
|
57979
|
-
const
|
|
57980
|
-
de.data = new Uint8Array(),
|
|
57990
|
+
const Ce = ae[0] << 16 | ae[1] << 8 | ae[2];
|
|
57991
|
+
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
57992
|
}, ee = function(ae, de, me) {
|
|
57982
|
-
var
|
|
57993
|
+
var Ce = new Uint8Array(ae.size), Be = {
|
|
57983
57994
|
type: de
|
|
57984
57995
|
}, Se = 0, Je = 0, ht = !1, cn;
|
|
57985
57996
|
if (!(!ae.data.length || ae.size < 9)) {
|
|
57986
57997
|
for (Be.trackId = ae.data[0].pid, Se = 0; Se < ae.data.length; Se++)
|
|
57987
|
-
cn = ae.data[Se],
|
|
57988
|
-
J(
|
|
57998
|
+
cn = ae.data[Se], Ce.set(cn.data, Je), Je += cn.data.byteLength;
|
|
57999
|
+
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
58000
|
}
|
|
57990
58001
|
};
|
|
57991
58002
|
mr.prototype.init.call(this), this.push = function(ae) {
|
|
@@ -58265,21 +58276,21 @@ browserWorkerPolyFill(self);
|
|
|
58265
58276
|
}, this.endTimeline = function() {
|
|
58266
58277
|
b.endTimeline();
|
|
58267
58278
|
}, ee = function(ae, de) {
|
|
58268
|
-
var me = 8,
|
|
58279
|
+
var me = 8, Ce = 8, Be, Se;
|
|
58269
58280
|
for (Be = 0; Be < ae; Be++)
|
|
58270
|
-
|
|
58281
|
+
Ce !== 0 && (Se = de.readExpGolomb(), Ce = (me + Se + 256) % 256), me = Ce === 0 ? me : Ce;
|
|
58271
58282
|
}, F = function(ae) {
|
|
58272
|
-
for (var de = ae.byteLength, me = [],
|
|
58273
|
-
ae[
|
|
58283
|
+
for (var de = ae.byteLength, me = [], Ce = 1, Be, Se; Ce < de - 2; )
|
|
58284
|
+
ae[Ce] === 0 && ae[Ce + 1] === 0 && ae[Ce + 2] === 3 ? (me.push(Ce + 2), Ce += 2) : Ce++;
|
|
58274
58285
|
if (me.length === 0)
|
|
58275
58286
|
return ae;
|
|
58276
58287
|
Be = de - me.length, Se = new Uint8Array(Be);
|
|
58277
58288
|
var Je = 0;
|
|
58278
|
-
for (
|
|
58279
|
-
Je === me[0] && (Je++, me.shift()), Se[
|
|
58289
|
+
for (Ce = 0; Ce < Be; Je++, Ce++)
|
|
58290
|
+
Je === me[0] && (Je++, me.shift()), Se[Ce] = ae[Je];
|
|
58280
58291
|
return Se;
|
|
58281
58292
|
}, J = function(ae) {
|
|
58282
|
-
var de = 0, me = 0,
|
|
58293
|
+
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
58294
|
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
58295
|
for (Er = os !== 3 ? 8 : 12, Is = 0; Is < Er; Is++)
|
|
58285
58296
|
Se.readBoolean() && (Is < 6 ? ee(16, Se) : ee(64, Se));
|
|
@@ -58288,7 +58299,7 @@ browserWorkerPolyFill(self);
|
|
|
58288
58299
|
else if (Ui === 1)
|
|
58289
58300
|
for (Se.skipBits(1), Se.skipExpGolomb(), Se.skipExpGolomb(), to = Se.readUnsignedExpGolomb(), Is = 0; Is < to; Is++)
|
|
58290
58301
|
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(),
|
|
58302
|
+
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
58303
|
switch (ao = Se.readUnsignedByte(), ao) {
|
|
58293
58304
|
case 1:
|
|
58294
58305
|
Rt = [1, 1];
|
|
@@ -58350,7 +58361,7 @@ browserWorkerPolyFill(self);
|
|
|
58350
58361
|
levelIdc: ht,
|
|
58351
58362
|
profileCompatibility: cn,
|
|
58352
58363
|
width: (no + 1) * 16 - de * 2 - me * 2,
|
|
58353
|
-
height: (2 - io) * (so + 1) * 16 -
|
|
58364
|
+
height: (2 - io) * (so + 1) * 16 - Ce * 2 - Be * 2,
|
|
58354
58365
|
// sar is sample aspect ratio
|
|
58355
58366
|
sarRatio: Rt
|
|
58356
58367
|
};
|
|
@@ -58498,12 +58509,12 @@ browserWorkerPolyFill(self);
|
|
|
58498
58509
|
}, this.setAudioAppendStart = function(ee) {
|
|
58499
58510
|
F = ee;
|
|
58500
58511
|
}, this.flush = function() {
|
|
58501
|
-
var ee, ae, de, me,
|
|
58512
|
+
var ee, ae, de, me, Ce, Be, Se;
|
|
58502
58513
|
if (A.length === 0) {
|
|
58503
58514
|
this.trigger("done", "AudioSegmentStream");
|
|
58504
58515
|
return;
|
|
58505
58516
|
}
|
|
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),
|
|
58517
|
+
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
58518
|
// The audio track's baseMediaDecodeTime is in audio clock cycles, but the
|
|
58508
58519
|
// frame info is in video clock cycles. Convert to match expectation of
|
|
58509
58520
|
// listeners (that all timestamps will be based on video clock cycles).
|
|
@@ -58531,7 +58542,7 @@ browserWorkerPolyFill(self);
|
|
|
58531
58542
|
b[ae] = F[ae];
|
|
58532
58543
|
}, this)), ee.nalUnitType === "pic_parameter_set_rbsp" && !J && (J = ee.data, b.pps = [ee.data]), L.push(ee);
|
|
58533
58544
|
}, this.flush = function() {
|
|
58534
|
-
for (var ee, ae, de, me,
|
|
58545
|
+
for (var ee, ae, de, me, Ce, Be, Se = 0, Je, ht; L.length && L[0].nalUnitType !== "access_unit_delimiter_rbsp"; )
|
|
58535
58546
|
L.shift();
|
|
58536
58547
|
if (L.length === 0) {
|
|
58537
58548
|
this.resetStream_(), this.trigger("done", "VideoSegmentStream");
|
|
@@ -58549,7 +58560,7 @@ browserWorkerPolyFill(self);
|
|
|
58549
58560
|
}
|
|
58550
58561
|
As.clearDtsInfo(b), de = cn;
|
|
58551
58562
|
}
|
|
58552
|
-
As.collectDtsInfo(b, de), b.samples = Kl.generateSampleTable(de),
|
|
58563
|
+
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
58564
|
return {
|
|
58554
58565
|
pts: os.pts,
|
|
58555
58566
|
dts: os.dts,
|
|
@@ -58562,7 +58573,7 @@ browserWorkerPolyFill(self);
|
|
|
58562
58573
|
gop: de.pop(),
|
|
58563
58574
|
pps: b.pps,
|
|
58564
58575
|
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 +
|
|
58576
|
+
}), 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
58577
|
track: b,
|
|
58567
58578
|
boxes: Be
|
|
58568
58579
|
}), this.resetStream_(), this.trigger("done", "VideoSegmentStream");
|
|
@@ -58571,28 +58582,28 @@ browserWorkerPolyFill(self);
|
|
|
58571
58582
|
}, this.resetStream_ = function() {
|
|
58572
58583
|
As.clearDtsInfo(b), F = void 0, J = void 0;
|
|
58573
58584
|
}, this.getGopForFusion_ = function(ee) {
|
|
58574
|
-
var ae = 45e3, de = 1 / 0, me,
|
|
58585
|
+
var ae = 45e3, de = 1 / 0, me, Ce, Be, Se, Je;
|
|
58575
58586
|
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
|
|
58587
|
+
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)));
|
|
58588
|
+
return Ce ? Ce.gop : null;
|
|
58578
58589
|
}, 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 (
|
|
58590
|
+
var ae, de, me, Ce, Be, Se, Je, ht;
|
|
58591
|
+
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); ) {
|
|
58592
|
+
if (Ce.pts > me.pts) {
|
|
58582
58593
|
ae++;
|
|
58583
58594
|
continue;
|
|
58584
58595
|
}
|
|
58585
|
-
de++, Be -=
|
|
58596
|
+
de++, Be -= Ce.byteLength, Se -= Ce.nalCount, Je -= Ce.duration;
|
|
58586
58597
|
}
|
|
58587
58598
|
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
58599
|
}, this.alignGopsAtEnd_ = function(ee) {
|
|
58589
|
-
var ae, de, me,
|
|
58600
|
+
var ae, de, me, Ce, Be, Se;
|
|
58590
58601
|
for (ae = B.length - 1, de = ee.length - 1, Be = null, Se = !1; ae >= 0 && de >= 0; ) {
|
|
58591
|
-
if (me = B[ae],
|
|
58602
|
+
if (me = B[ae], Ce = ee[de], me.pts === Ce.pts) {
|
|
58592
58603
|
Se = !0;
|
|
58593
58604
|
break;
|
|
58594
58605
|
}
|
|
58595
|
-
if (me.pts >
|
|
58606
|
+
if (me.pts > Ce.pts) {
|
|
58596
58607
|
ae--;
|
|
58597
58608
|
continue;
|
|
58598
58609
|
}
|
|
@@ -58773,11 +58784,11 @@ browserWorkerPolyFill(self);
|
|
|
58773
58784
|
version: b[0],
|
|
58774
58785
|
flags: new Uint8Array(b.subarray(1, 4)),
|
|
58775
58786
|
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 && (
|
|
58787
|
+
}, 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;
|
|
58788
|
+
for (L && (P.dataOffset = A.getInt32(me), me += 4), B && de && (Ce = {
|
|
58778
58789
|
flags: Np(b.subarray(me, me + 4))
|
|
58779
|
-
}, me += 4, F && (
|
|
58780
|
-
|
|
58790
|
+
}, 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--; )
|
|
58791
|
+
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
58792
|
return P;
|
|
58782
58793
|
}, Fp = p_, Hp = {
|
|
58783
58794
|
tfdt: wu,
|
|
@@ -58795,11 +58806,11 @@ browserWorkerPolyFill(self);
|
|
|
58795
58806
|
var P = 4, A = b[0], L, B, F, J, ee, ae, de, me;
|
|
58796
58807
|
if (A === 0) {
|
|
58797
58808
|
L = Tr(b.subarray(P)), P += L.length, B = Tr(b.subarray(P)), P += B.length;
|
|
58798
|
-
var
|
|
58799
|
-
F =
|
|
58809
|
+
var Ce = new DataView(b.buffer);
|
|
58810
|
+
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
58811
|
} else if (A === 1) {
|
|
58801
|
-
var
|
|
58802
|
-
F =
|
|
58812
|
+
var Ce = new DataView(b.buffer);
|
|
58813
|
+
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
58814
|
}
|
|
58804
58815
|
me = new Uint8Array(b.subarray(P, b.byteLength));
|
|
58805
58816
|
var Be = {
|
|
@@ -58837,10 +58848,10 @@ browserWorkerPolyFill(self);
|
|
|
58837
58848
|
var A;
|
|
58838
58849
|
A = Qt(P, ["moof", "traf"]);
|
|
58839
58850
|
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 ?
|
|
58851
|
+
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;
|
|
58852
|
+
de[0] === 1 ? Ce = k_(de.subarray(4, 12)) : Ce = me.getUint32(4);
|
|
58842
58853
|
let Be;
|
|
58843
|
-
return typeof
|
|
58854
|
+
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
58855
|
}, 1 / 0);
|
|
58845
58856
|
return typeof L == "bigint" || isFinite(L) ? L : 0;
|
|
58846
58857
|
}, Xp = function(b, P) {
|
|
@@ -58856,8 +58867,8 @@ browserWorkerPolyFill(self);
|
|
|
58856
58867
|
L = me.baseMediaDecodeTime;
|
|
58857
58868
|
}
|
|
58858
58869
|
if (ee) {
|
|
58859
|
-
var
|
|
58860
|
-
|
|
58870
|
+
var Ce = C_(ee);
|
|
58871
|
+
Ce.samples && Ce.samples.length && (B = Ce.samples[0].compositionTimeOffset || 0);
|
|
58861
58872
|
}
|
|
58862
58873
|
}
|
|
58863
58874
|
var Be = b[F] || 9e4;
|
|
@@ -58869,8 +58880,8 @@ browserWorkerPolyFill(self);
|
|
|
58869
58880
|
return P.forEach(function(L) {
|
|
58870
58881
|
var B = Qt(L, ["mdia", "hdlr"]), F = Qt(L, ["tkhd"]);
|
|
58871
58882
|
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),
|
|
58883
|
+
var ae = Ra(J.subarray(8, 12)), de = F[ee], me, Ce, Be;
|
|
58884
|
+
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
58885
|
});
|
|
58875
58886
|
}), A;
|
|
58876
58887
|
}, Cu = function(b) {
|
|
@@ -58888,9 +58899,9 @@ browserWorkerPolyFill(self);
|
|
|
58888
58899
|
}
|
|
58889
58900
|
var me = Qt(L, ["mdia", "minf", "stbl", "stsd"])[0];
|
|
58890
58901
|
if (me) {
|
|
58891
|
-
var
|
|
58892
|
-
B.codec = Ra(
|
|
58893
|
-
var Be = Qt(
|
|
58902
|
+
var Ce = me.subarray(8);
|
|
58903
|
+
B.codec = Ra(Ce.subarray(4, 8));
|
|
58904
|
+
var Be = Qt(Ce, [B.codec])[0], Se, Je;
|
|
58894
58905
|
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
58906
|
}
|
|
58896
58907
|
var ht = Qt(L, ["mdia", "mdhd"])[0];
|
|
@@ -58937,8 +58948,8 @@ browserWorkerPolyFill(self);
|
|
|
58937
58948
|
var L = P, B = A.defaultSampleDuration || 0, F = A.defaultSampleSize || 0, J = A.trackId, ee = [];
|
|
58938
58949
|
return b.forEach(function(ae) {
|
|
58939
58950
|
var de = V_(ae), me = de.samples;
|
|
58940
|
-
me.forEach(function(
|
|
58941
|
-
|
|
58951
|
+
me.forEach(function(Ce) {
|
|
58952
|
+
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
58953
|
}), ee = ee.concat(me);
|
|
58943
58954
|
}), ee;
|
|
58944
58955
|
}, ef = {
|
|
@@ -58989,8 +59000,8 @@ browserWorkerPolyFill(self);
|
|
|
58989
59000
|
}, B_ = function(b, P) {
|
|
58990
59001
|
var A = {}, L = I_(b);
|
|
58991
59002
|
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,
|
|
59003
|
+
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;
|
|
59004
|
+
P === de && Be.length > 0 && (Se = O_(Be, Ce, ae), Je = U_(F, Se, de), A[de] || (A[de] = {
|
|
58994
59005
|
seiNals: [],
|
|
58995
59006
|
logs: []
|
|
58996
59007
|
}), A[de].seiNals = A[de].seiNals.concat(Je.seiNals), A[de].logs = A[de].logs.concat(Je.logs));
|
|
@@ -59029,8 +59040,8 @@ browserWorkerPolyFill(self);
|
|
|
59029
59040
|
return A.push(ee), null;
|
|
59030
59041
|
} else return null;
|
|
59031
59042
|
for (; A.length > 0; ) {
|
|
59032
|
-
var
|
|
59033
|
-
this.parse(
|
|
59043
|
+
var Ce = A.shift();
|
|
59044
|
+
this.parse(Ce, ae, de);
|
|
59034
59045
|
}
|
|
59035
59046
|
return me = R_(ee, L, B), me && me.logs && (F.logs = F.logs.concat(me.logs)), me === null || !me.seiNals ? F.logs.length ? {
|
|
59036
59047
|
logs: F.logs,
|
|
@@ -59083,9 +59094,9 @@ browserWorkerPolyFill(self);
|
|
|
59083
59094
|
return L.forEach(function(F) {
|
|
59084
59095
|
const J = F.mdat, ee = F.traf, ae = Mi(ee, ["tfdt"])[0], de = Mi(ee, ["tfhd"])[0], me = Mi(ee, ["trun"]);
|
|
59085
59096
|
if (ae && (B = H_(ae).baseMediaDecodeTime), me.length && de) {
|
|
59086
|
-
const
|
|
59097
|
+
const Ce = q_(me, B, de);
|
|
59087
59098
|
let Be = 0;
|
|
59088
|
-
|
|
59099
|
+
Ce.forEach(function(Se) {
|
|
59089
59100
|
const Je = "utf-8", ht = new TextDecoder(Je), cn = J.slice(Be, Be + Se.size);
|
|
59090
59101
|
if (Mi(cn, ["vtte"])[0]) {
|
|
59091
59102
|
Be += Se.size;
|
|
@@ -59222,8 +59233,8 @@ browserWorkerPolyFill(self);
|
|
|
59222
59233
|
videoPacketContainsKeyFrame: Q_
|
|
59223
59234
|
}, sf = ws, Na = Ii.handleRollover, Dt = {};
|
|
59224
59235
|
Dt.ts = Z_, Dt.aac = _u;
|
|
59225
|
-
var oa = lt.ONE_SECOND_IN_TS,
|
|
59226
|
-
for (var A = 0, L =
|
|
59236
|
+
var oa = lt.ONE_SECOND_IN_TS, $n = 188, Hs = 71, J_ = function(b, P) {
|
|
59237
|
+
for (var A = 0, L = $n, B, F; L < b.byteLength; ) {
|
|
59227
59238
|
if (b[A] === Hs && b[L] === Hs) {
|
|
59228
59239
|
switch (B = b.subarray(A, L), F = Dt.ts.parseType(B, P.pid), F) {
|
|
59229
59240
|
case "pat":
|
|
@@ -59236,13 +59247,13 @@ browserWorkerPolyFill(self);
|
|
|
59236
59247
|
});
|
|
59237
59248
|
break;
|
|
59238
59249
|
}
|
|
59239
|
-
A +=
|
|
59250
|
+
A += $n, L += $n;
|
|
59240
59251
|
continue;
|
|
59241
59252
|
}
|
|
59242
59253
|
A++, L++;
|
|
59243
59254
|
}
|
|
59244
59255
|
}, af = function(b, P, A) {
|
|
59245
|
-
for (var L = 0, B =
|
|
59256
|
+
for (var L = 0, B = $n, F, J, ee, ae, de, me = !1; B <= b.byteLength; ) {
|
|
59246
59257
|
if (b[L] === Hs && (b[B] === Hs || B === b.byteLength)) {
|
|
59247
59258
|
switch (F = b.subarray(L, B), J = Dt.ts.parseType(F, P.pid), J) {
|
|
59248
59259
|
case "pes":
|
|
@@ -59251,12 +59262,12 @@ browserWorkerPolyFill(self);
|
|
|
59251
59262
|
}
|
|
59252
59263
|
if (me)
|
|
59253
59264
|
break;
|
|
59254
|
-
L +=
|
|
59265
|
+
L += $n, B += $n;
|
|
59255
59266
|
continue;
|
|
59256
59267
|
}
|
|
59257
59268
|
L++, B++;
|
|
59258
59269
|
}
|
|
59259
|
-
for (B = b.byteLength, L = B -
|
|
59270
|
+
for (B = b.byteLength, L = B - $n, me = !1; L >= 0; ) {
|
|
59260
59271
|
if (b[L] === Hs && (b[B] === Hs || B === b.byteLength)) {
|
|
59261
59272
|
switch (F = b.subarray(L, B), J = Dt.ts.parseType(F, P.pid), J) {
|
|
59262
59273
|
case "pes":
|
|
@@ -59265,13 +59276,13 @@ browserWorkerPolyFill(self);
|
|
|
59265
59276
|
}
|
|
59266
59277
|
if (me)
|
|
59267
59278
|
break;
|
|
59268
|
-
L -=
|
|
59279
|
+
L -= $n, B -= $n;
|
|
59269
59280
|
continue;
|
|
59270
59281
|
}
|
|
59271
59282
|
L--, B--;
|
|
59272
59283
|
}
|
|
59273
59284
|
}, eb = function(b, P, A) {
|
|
59274
|
-
for (var L = 0, B =
|
|
59285
|
+
for (var L = 0, B = $n, F, J, ee, ae, de, me, Ce, Be, Se = !1, Je = {
|
|
59275
59286
|
data: [],
|
|
59276
59287
|
size: 0
|
|
59277
59288
|
}; B < b.byteLength; ) {
|
|
@@ -59280,8 +59291,8 @@ browserWorkerPolyFill(self);
|
|
|
59280
59291
|
case "pes":
|
|
59281
59292
|
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
59293
|
if (ae && Je.size !== 0) {
|
|
59283
|
-
for (me = new Uint8Array(Je.size),
|
|
59284
|
-
Be = Je.data.shift(), me.set(Be,
|
|
59294
|
+
for (me = new Uint8Array(Je.size), Ce = 0; Je.data.length; )
|
|
59295
|
+
Be = Je.data.shift(), me.set(Be, Ce), Ce += Be.byteLength;
|
|
59285
59296
|
if (Dt.ts.videoPacketContainsKeyFrame(me)) {
|
|
59286
59297
|
var ht = Dt.ts.parsePesTime(me);
|
|
59287
59298
|
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 +59305,12 @@ browserWorkerPolyFill(self);
|
|
|
59294
59305
|
}
|
|
59295
59306
|
if (Se && A.firstKeyFrame)
|
|
59296
59307
|
break;
|
|
59297
|
-
L +=
|
|
59308
|
+
L += $n, B += $n;
|
|
59298
59309
|
continue;
|
|
59299
59310
|
}
|
|
59300
59311
|
L++, B++;
|
|
59301
59312
|
}
|
|
59302
|
-
for (B = b.byteLength, L = B -
|
|
59313
|
+
for (B = b.byteLength, L = B - $n, Se = !1; L >= 0; ) {
|
|
59303
59314
|
if (b[L] === Hs && b[B] === Hs) {
|
|
59304
59315
|
switch (F = b.subarray(L, B), J = Dt.ts.parseType(F, P.pid), J) {
|
|
59305
59316
|
case "pes":
|
|
@@ -59308,7 +59319,7 @@ browserWorkerPolyFill(self);
|
|
|
59308
59319
|
}
|
|
59309
59320
|
if (Se)
|
|
59310
59321
|
break;
|
|
59311
|
-
L -=
|
|
59322
|
+
L -= $n, B -= $n;
|
|
59312
59323
|
continue;
|
|
59313
59324
|
}
|
|
59314
59325
|
L--, B--;
|
|
@@ -67401,7 +67412,7 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
67401
67412
|
emits: ["update:show"],
|
|
67402
67413
|
setup(t, { emit: e }) {
|
|
67403
67414
|
qe(
|
|
67404
|
-
() => import("./index-
|
|
67415
|
+
() => import("./index-DJG5an4T.mjs")
|
|
67405
67416
|
);
|
|
67406
67417
|
const n = e, s = () => {
|
|
67407
67418
|
n("update:show", !1);
|
|
@@ -67724,8 +67735,8 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
67724
67735
|
}, null, 512), [
|
|
67725
67736
|
[Oe, H.value]
|
|
67726
67737
|
]),
|
|
67727
|
-
(_(!0), S(ue, null, we(t.tabList, (Ee,
|
|
67728
|
-
key:
|
|
67738
|
+
(_(!0), S(ue, null, we(t.tabList, (Ee, xe) => (_(), S("li", {
|
|
67739
|
+
key: xe,
|
|
67729
67740
|
class: re(["tab-primary__item", [{ "is-img": !!Ee.img }]])
|
|
67730
67741
|
}, [
|
|
67731
67742
|
o("div", {
|
|
@@ -67741,10 +67752,10 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
67741
67752
|
target: it(Ee.link),
|
|
67742
67753
|
class: re(["tab-primary__btn", [
|
|
67743
67754
|
{
|
|
67744
|
-
"is-active": t.currentIdx ==
|
|
67755
|
+
"is-active": t.currentIdx == xe
|
|
67745
67756
|
}
|
|
67746
67757
|
]]),
|
|
67747
|
-
onClick: (Pe) => Le(Ee.link,
|
|
67758
|
+
onClick: (Pe) => Le(Ee.link, xe)
|
|
67748
67759
|
}, {
|
|
67749
67760
|
default: $(() => [
|
|
67750
67761
|
Ee.img ? (_(), S("div", bee, [
|
|
@@ -71070,7 +71081,7 @@ const ine = /* @__PURE__ */ Aa(sne), ane = { class: "setting-content" }, lne = {
|
|
|
71070
71081
|
},
|
|
71071
71082
|
emits: ["update:show"],
|
|
71072
71083
|
setup(t, { emit: e }) {
|
|
71073
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
71084
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-DJG5an4T.mjs")), i = U(!1), a = q(() => ({
|
|
71074
71085
|
animation: 200,
|
|
71075
71086
|
group: "gallerys",
|
|
71076
71087
|
disabled: !1,
|