officialblock 2.3.12 → 2.3.13
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-Bj3EfBo-.js → index-BYB3seou.js} +18 -18
- package/dist/{index-uyJaoRtB.mjs → index-CJzyefBk.mjs} +473 -481
- package/dist/{index-DWhtiR9t.js → index-Dj5P-ntl.js} +1 -1
- package/dist/{index-eh7UVez1.js → index-DxTURMhA.js} +1 -1
- package/dist/{index-BpsjRSas.mjs → index-DyuWTFEJ.mjs} +1 -1
- package/dist/index-c_v1_-uP.mjs +4 -0
- package/dist/official-block.cjs.js +1 -1
- package/dist/official-block.es.js +1 -1
- package/dist/official-block.umd.js +11 -11
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index-Bf7VhUqx.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-DyuWTFEJ.mjs")), i = U(!1), a = q(() => ({
|
|
486
486
|
animation: 200,
|
|
487
487
|
group: "item",
|
|
488
488
|
disabled: !1,
|
|
@@ -3098,7 +3098,7 @@ const _b = { class: "button-text" }, bb = { class: "link-text" }, wb = /* @__PUR
|
|
|
3098
3098
|
},
|
|
3099
3099
|
emits: ["update:show"],
|
|
3100
3100
|
setup(t, { emit: e }) {
|
|
3101
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
3101
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-DyuWTFEJ.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
|
+
}, An = 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
|
+
}, $n = 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
|
+
}, Bn = {
|
|
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: Bn,
|
|
3395
3395
|
sc: od(function(t) {
|
|
3396
|
-
return arguments.length ? ms.scrollTo(
|
|
3396
|
+
return arguments.length ? ms.scrollTo(Bn.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] || An(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
|
+
Bn.op = on;
|
|
3443
3443
|
yt.cache = 0;
|
|
3444
3444
|
var en = /* @__PURE__ */ function() {
|
|
3445
3445
|
function t(n) {
|
|
@@ -3448,21 +3448,21 @@ var en = /* @__PURE__ */ function() {
|
|
|
3448
3448
|
var e = t.prototype;
|
|
3449
3449
|
return e.init = function(s) {
|
|
3450
3450
|
Kr || V0(_n) || console.warn("Please gsap.registerPlugin(Observer)"), Vo || S0();
|
|
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,
|
|
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,
|
|
3453
|
+
var Ie, _e, Ee, Ce, Pe, Ge, Ze, fe = this, ke = 0, Ve = 0, Me = s.passive || !v && s.passive !== !1, He = Qi(r, Bn), xt = Qi(r, on), rn = He(), es = xt(), Nt = ~l.indexOf("touch") && !~l.indexOf("pointer") && Os[0] === "pointerdown", Vn = Po(r), Pt = r.ownerDocument || Gi, Ft = [0, 0, 0], En = [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
|
-
fe._vx.reset(), fe._vy.reset(),
|
|
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(En), Fe = Math.abs(nt) >= i, ot = Math.abs(Ct) >= i;
|
|
3461
|
+
R && (Fe || ot) && R(fe, nt, Ct, Ft, En), 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, En[0] = En[1] = En[2] = 0), (Ce || Ee) && (ie && ie(fe), Ee && (C && Ee === 1 && C(fe), k && k(fe), Ee = 0), Ce = !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, En[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" && (En[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,
|
|
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(), An(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
|
+
$n(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) {
|
|
@@ -3484,7 +3484,7 @@ var en = /* @__PURE__ */ function() {
|
|
|
3484
3484
|
Ke.initMouseEvent("click", !0, !0, ms, 1, ot.screenX, ot.screenY, ot.clientX, ot.clientY, !1, !1, !1, !1, 0, null), dt.target.dispatchEvent(Ke);
|
|
3485
3485
|
}
|
|
3486
3486
|
}
|
|
3487
|
-
})), fe.isDragging = fe.isGesturing = fe.isPressed = !1, h && Ct && !G &&
|
|
3487
|
+
})), fe.isDragging = fe.isGesturing = fe.isPressed = !1, h && Ct && !G && _e.restart(!0), Ee && Hn(), w && Ct && w(fe), x && x(fe, Fe);
|
|
3488
3488
|
}
|
|
3489
3489
|
}, ui = function(nt) {
|
|
3490
3490
|
return nt.touches && nt.touches.length > 1 && (fe.isGesturing = !0) && Q(nt, fe.isDragging);
|
|
@@ -3493,32 +3493,32 @@ var en = /* @__PURE__ */ function() {
|
|
|
3493
3493
|
}, ns = function(nt) {
|
|
3494
3494
|
if (!lt(nt)) {
|
|
3495
3495
|
var Ct = He(), Fe = xt();
|
|
3496
|
-
Di((Ct - rn) * Le, (Fe - es) * Le, 1), rn = Ct, es = Fe, h &&
|
|
3496
|
+
Di((Ct - rn) * Le, (Fe - es) * Le, 1), rn = Ct, es = Fe, h && _e.restart(!0);
|
|
3497
3497
|
}
|
|
3498
3498
|
}, ss = function(nt) {
|
|
3499
3499
|
if (!lt(nt)) {
|
|
3500
3500
|
nt = lo(nt, v), z && (Pe = !0);
|
|
3501
3501
|
var Ct = (nt.deltaMode === 1 ? u : nt.deltaMode === 2 ? ms.innerHeight : 1) * g;
|
|
3502
|
-
Di(nt.deltaX * Ct, nt.deltaY * Ct, 0), h && !G &&
|
|
3502
|
+
Di(nt.deltaX * Ct, nt.deltaY * Ct, 0), h && !G && _e.restart(!0);
|
|
3503
3503
|
}
|
|
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, Ce = !0, h &&
|
|
3507
|
+
fe.x = Ct, fe.y = Fe, Ce = !0, h && _e.restart(!0), (ot || Ke) && Li(ot, Ke);
|
|
3508
3508
|
}
|
|
3509
3509
|
}, Ai = function(nt) {
|
|
3510
3510
|
fe.event = nt, Y(fe);
|
|
3511
3511
|
}, _s = function(nt) {
|
|
3512
3512
|
fe.event = nt, oe(fe);
|
|
3513
3513
|
}, sa = function(nt) {
|
|
3514
|
-
return lt(nt) || lo(nt, v) &&
|
|
3514
|
+
return lt(nt) || lo(nt, v) && ye(fe);
|
|
3515
3515
|
};
|
|
3516
|
-
|
|
3517
|
-
return fe.isEnabled || (
|
|
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 || (An(Vn ? Pt : r, "scroll", dc), l.indexOf("scroll") >= 0 && An(Vn ? Pt : r, "scroll", ns, Me, tt), l.indexOf("wheel") >= 0 && An(r, "wheel", ss, Me, tt), (l.indexOf("touch") >= 0 && w0 || l.indexOf("pointer") >= 0) && (An(r, Os[0], di, Me, tt), An(Pt, Os[2], pt), An(Pt, Os[3], pt), ve && An(r, "click", $i, !0, !0), ye && An(r, "click", sa), Q && An(Pt, "gesturestart", ui), X && An(Pt, "gestureend", ts), Y && An(r, da + "enter", Ai), oe && An(r, da + "leave", _s), ie && An(r, da + "move", ci)), fe.isEnabled = !0, fe.isDragging = fe.isGesturing = fe.isPressed = Ce = 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 || $n(Vn ? Pt : r, "scroll", dc), fe.isPressed && (fe._vx.reset(), fe._vy.reset(), $n(G ? r : Pt, Os[1], Fs, !0)), $n(Vn ? Pt : r, "scroll", ns, tt), $n(r, "wheel", ss, tt), $n(r, Os[0], di, tt), $n(Pt, Os[2], pt), $n(Pt, Os[3], pt), $n(r, "click", $i, !0), $n(r, "click", sa), $n(Pt, "gesturestart", ui), $n(Pt, "gestureend", ts), $n(r, da + "enter", Ai), $n(r, da + "leave", _s), $n(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, On, cf, hf, Ja, E0, $u, P0, In, 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, Mn, 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
|
+
(!In || !In.isPressed || In.startX > St.clientWidth) && (yt.cache++, In ? 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, Mn, 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 (On = 0; On < ft.length; On++)
|
|
3749
|
+
s = ft[On], 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 || !Mn) && 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
|
+
}, Mn, _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, Mn, cf, hf, Ja,
|
|
|
3760
3760
|
});
|
|
3761
3761
|
}
|
|
3762
3762
|
}, H0 = function() {
|
|
3763
|
-
St.appendChild(ol), rh = !
|
|
3763
|
+
St.appendChild(ol), rh = !In && 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, Mn, cf, hf, Ja,
|
|
|
3770
3770
|
mn(bt, "scrollEnd", R0);
|
|
3771
3771
|
return;
|
|
3772
3772
|
}
|
|
3773
|
-
H0(),
|
|
3773
|
+
H0(), Mn = 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, Mn, 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++, Mn = 2, bi(2), ft.forEach(function(i) {
|
|
3796
3796
|
return xn(i.vars.onRefresh) && i.vars.onRefresh(i);
|
|
3797
|
-
}),
|
|
3797
|
+
}), Mn = bt.isRefreshing = !1, Va("refresh");
|
|
3798
3798
|
}, gc = 0, Jr = 1, Oo, bi = function(e) {
|
|
3799
|
-
if (e === 2 || !
|
|
3799
|
+
if (e === 2 || !Mn && !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, Mn || (gc = a), i && (Ss && !Nd && s - Ss > 200 && (Ss = 0, Va("scrollEnd")), go = Lu, Lu = s), Jr < 0) {
|
|
3803
|
+
for (On = n; On-- > 0; )
|
|
3804
|
+
ft[On] && ft[On].update(0, i);
|
|
3805
3805
|
Jr = 1;
|
|
3806
3806
|
} else
|
|
3807
|
-
for (
|
|
3808
|
-
ft[
|
|
3807
|
+
for (On = 0; On < n; On++)
|
|
3808
|
+
ft[On] && ft[On].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, Mn, 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, Bn) + 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, Mn, 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 ? Bn : 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),
|
|
3915
|
-
if (X._startClamp = X._endClamp = !1, X._dir = I, C *= 45, X.scroller = M, X.scroll = V ? V.time.bind(V) : ve,
|
|
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, Ce, Pe, Ge, Ze, fe, ke, Ve, Me, He, xt, rn, es, Nt, Vn, Pt, Ft, En, ys, $i, lt, Oa, Hn, Di, Li, Fs, di, pt, ui, ts, ns, ss, ci, Ai, _s;
|
|
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, Bn)
|
|
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",
|
|
@@ -3939,7 +3939,7 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, Mn, cf, hf, Ja,
|
|
|
3939
3939
|
max: 2
|
|
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
|
-
if ((ot || Math.abs(X.getVelocity()) < 10) && !Ke && !Nd &&
|
|
3942
|
+
if ((ot || Math.abs(X.getVelocity()) < 10) && !Ke && !Nd && ye !== Fe) {
|
|
3943
3943
|
var at = (Fe - Ce) / 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
3944
|
if (kt = Ie(Yt, X), _o(kt) || (kt = Yt), $t = Math.max(0, Math.round(Ce + kt * He)), Fe <= Pe && Fe >= Ce && $t !== Fe) {
|
|
3945
3945
|
if (Ke && !Ke._initted && Ke.data <= Fa($t - Fe))
|
|
@@ -3953,20 +3953,20 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, Mn, cf, hf, Ja,
|
|
|
3953
3953
|
return ns.restart(!0) && At && At(X);
|
|
3954
3954
|
},
|
|
3955
3955
|
onComplete: function() {
|
|
3956
|
-
X.update(),
|
|
3956
|
+
X.update(), ye = ve(), i && !R && (pt ? pt.resetTo("totalProgress", kt, i._tTime / i._tDur) : i.progress(kt)), Fs = di = i && !R ? i.totalProgress() : X.progress, k && k(X), dn && dn(X);
|
|
3957
3957
|
}
|
|
3958
3958
|
}, Fe, qt * He, $t - Fe - qt * He), is && is(X, Ae.tween);
|
|
3959
3959
|
}
|
|
3960
|
-
} else X.isActive &&
|
|
3960
|
+
} else X.isActive && ye !== Fe && ns.restart(!0);
|
|
3961
3961
|
}).pause()), u && (fc[u] = X), d = X.trigger = zn(d || m !== !0 && m), _s = d && d._gsap && d._gsap.stRevert, _s && (_s = _s(X)), m = m === !0 ? d : zn(m), cs(r) && (r = {
|
|
3962
3962
|
targets: d,
|
|
3963
3963
|
className: r
|
|
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), Vn = 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, Vn, 0, V), Ze = this.markerEnd = Ur("end", u, sa, I, Ve, Vn, 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, Mn, cf, hf, Ja,
|
|
|
3993
3993
|
mn(t, "scrollEnd", R0);
|
|
3994
3994
|
return;
|
|
3995
3995
|
}
|
|
3996
|
-
!
|
|
3996
|
+
!Mn && 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);
|
|
@@ -4003,24 +4003,24 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, Mn, cf, hf, Ja,
|
|
|
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
4004
|
for (xn(At) && (At = At(X)), At = mf(At, "start", X), Ce = 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, Ce) : Ce) + kt, is = d)), Qe = mf(Qe, "end", X), Pe = Math.max(Ce, 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
4005
|
Kt = ft[Bt], as = Kt.pin, as && Kt.start - Kt._pinPush <= Ce && !V && Kt.end > 0 && (ct = Kt.end - (X._startClamp ? Math.max(0, Kt.start) : Kt.start), (as === d && Kt.start - Kt._pinPush < Ce || as === dn) && isNaN(At) && (kt += ct * (1 - Kt.progress)), as === m && ($t += ct));
|
|
4006
|
-
if (Ce += kt, Pe += kt, X._startClamp && (X._startClamp += kt), X._endClamp && !
|
|
4007
|
-
ct = ks(m), Ma = I === on, ws = ve(),
|
|
4006
|
+
if (Ce += kt, Pe += kt, X._startClamp && (X._startClamp += kt), X._endClamp && !Mn && (X._endClamp = Pe || -1e-3, Pe = Math.min(Pe, Ks(M, I))), He = Pe - Ce || (Ce -= 0.01) && 1e-3, Yt && (tt = Xe.utils.clamp(0, 1, Xe.utils.normalize(Ce, 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(), En = 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 ? Bn : 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
4013
|
top: an.top + (Ma ? ws - Ce : ia) + ln,
|
|
4014
4014
|
left: an.left + (Ma ? ia : ws - Ce) + 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), Mn && ve(0)), i ? (Ua = i._initted, $u(1), i.render(i.duration(), !0, !0), ys = Pt(I.a) - En + 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
4020
|
an._pinOffset && (Ce -= 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 = Ce, X.end = Pe,
|
|
4023
|
+
}), X.start = Ce, X.end = Pe, _e = Ee = Mn ? ss : ve(), !V && !Mn && (_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 && Ce < -1e-3 && !tt ? Xe.utils.normalize(Ce, Pe, 0) : tt, !0), X.progress = Yt || (_e - Ce) / 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 && !Mn && X.update(), v && !Mn && !Me && (Me = !0, v(X), Me = !1);
|
|
4024
4024
|
}
|
|
4025
4025
|
}, X.getVelocity = function() {
|
|
4026
4026
|
return (ve() - Ee) / (wn() - go) * 1e3 || 0;
|
|
@@ -4037,13 +4037,13 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, Mn, cf, hf, Ja,
|
|
|
4037
4037
|
});
|
|
4038
4038
|
}, X.update = function(Fe, ot, Ke) {
|
|
4039
4039
|
if (!(V && !Ke && !Fe)) {
|
|
4040
|
-
var at =
|
|
4041
|
-
if (ot && (Ee =
|
|
4040
|
+
var at = Mn === !0 ? ss : X.scroll(), Tt = Fe ? 0 : (at - Ce) / 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 && Ce < 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(En + 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)) {
|
|
@@ -4051,7 +4051,7 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, Mn, cf, hf, Ja,
|
|
|
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(En + (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) {
|
|
@@ -4065,7 +4065,7 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, Mn, cf, hf, Ja,
|
|
|
4065
4065
|
Ai && Ai(-at / V.duration() * (V._caScrollDist || 0));
|
|
4066
4066
|
}
|
|
4067
4067
|
}, X.enable = function(Fe, ot) {
|
|
4068
|
-
X.enabled || (X.enabled = !0, mn(M, "resize", bo), Y || mn(M, "scroll", Ha), z && mn(t, "refreshInit", z), Fe !== !1 && (X.progress = tt = 0,
|
|
4068
|
+
X.enabled || (X.enabled = !0, mn(M, "resize", bo), Y || mn(M, "scroll", Ha), z && mn(t, "refreshInit", z), Fe !== !1 && (X.progress = tt = 0, _e = Ee = ye = ve()), ot !== !1 && X.refresh());
|
|
4069
4069
|
}, X.getTween = function(Fe) {
|
|
4070
4070
|
return Fe && Ae ? Ae.tween : pt;
|
|
4071
4071
|
}, X.setPositions = function(Fe, ot, Ke, at) {
|
|
@@ -4092,9 +4092,9 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, Mn, 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 === On && Jr > 0 && On--, Ke = 0, ft.forEach(function(at) {
|
|
4096
4096
|
return at.scroller === X.scroller && (Ke = 1);
|
|
4097
|
-
}), Ke ||
|
|
4097
|
+
}), Ke || Mn || (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);
|
|
@@ -4143,7 +4143,7 @@ var Xe, Za, vt, Mt, hs, St, lh, rd, jo, $o, go, Dr, bn, Nd, cc, Mn, 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, Bn.m = Math.round(r.left + Bn.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 ? Bn : on);
|
|
4209
4209
|
};
|
|
4210
4210
|
bt.getScrollFunc = function(t, e) {
|
|
4211
|
-
return Qi(zn(t), e ?
|
|
4211
|
+
return Qi(zn(t), e ? Bn : 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, Bn), 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, Bn))), 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, Bn)), 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
|
});
|
|
@@ -4338,8 +4338,8 @@ var kf = function(e, n, s, i) {
|
|
|
4338
4338
|
}, e.onChange = function(te, G, Q, X, z) {
|
|
4339
4339
|
if (_a !== y && O(), G && s && g(V(X[2] === G ? H + (te.startX - te.x) : g() + G - X[1])), Q) {
|
|
4340
4340
|
m.offset && I();
|
|
4341
|
-
var se = z[2] === Q, ce = se ? Y + te.startY - te.y : m() + Q - z[1],
|
|
4342
|
-
se && ce !==
|
|
4341
|
+
var se = z[2] === Q, ce = se ? Y + te.startY - te.y : m() + Q - z[1], ye = D(ce);
|
|
4342
|
+
se && ce !== ye && (Y += ye - ce), m(ye);
|
|
4343
4343
|
}
|
|
4344
4344
|
(Q || G) && bi();
|
|
4345
4345
|
}, e.onEnable = function() {
|
|
@@ -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 In;
|
|
4380
|
+
if (t === !0 && In)
|
|
4381
|
+
return In.enable();
|
|
4382
4382
|
if (t === !1) {
|
|
4383
|
-
|
|
4383
|
+
In && In.kill(), In = t;
|
|
4384
4384
|
return;
|
|
4385
4385
|
}
|
|
4386
4386
|
var e = t instanceof en ? t : ix(t);
|
|
4387
|
-
return
|
|
4387
|
+
return In && In.target === e.target && In.kill(), ka(e.target) && (In = 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-DyuWTFEJ.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-DyuWTFEJ.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-DyuWTFEJ.mjs")), s = U(!1), i = q(() => ({
|
|
6348
6348
|
animation: 200,
|
|
6349
6349
|
group: "buttons",
|
|
6350
6350
|
// 按钮专用分组
|
|
@@ -8317,7 +8317,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
8317
8317
|
},
|
|
8318
8318
|
emits: ["update:show"],
|
|
8319
8319
|
setup(t, { emit: e }) {
|
|
8320
|
-
const n = qe(() => import("./index-
|
|
8320
|
+
const n = qe(() => import("./index-DyuWTFEJ.mjs")), s = e, i = () => {
|
|
8321
8321
|
s("update:show", !1);
|
|
8322
8322
|
};
|
|
8323
8323
|
return (a, l) => {
|
|
@@ -9734,7 +9734,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
9734
9734
|
},
|
|
9735
9735
|
emits: ["update:show"],
|
|
9736
9736
|
setup(t, { emit: e }) {
|
|
9737
|
-
const n = qe(() => import("./index-
|
|
9737
|
+
const n = qe(() => import("./index-DyuWTFEJ.mjs")), s = e, i = () => {
|
|
9738
9738
|
s("update:show", !1);
|
|
9739
9739
|
};
|
|
9740
9740
|
return (a, l) => {
|
|
@@ -9916,7 +9916,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
9916
9916
|
},
|
|
9917
9917
|
emits: ["update:show"],
|
|
9918
9918
|
setup(t, { emit: e }) {
|
|
9919
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
9919
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-DyuWTFEJ.mjs")), i = U(!1), a = q(() => ({
|
|
9920
9920
|
animation: 200,
|
|
9921
9921
|
group: "links",
|
|
9922
9922
|
// 链接专用分组
|
|
@@ -10256,7 +10256,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
10256
10256
|
},
|
|
10257
10257
|
emits: ["update:show"],
|
|
10258
10258
|
setup(t, { emit: e }) {
|
|
10259
|
-
const n = qe(() => import("./index-
|
|
10259
|
+
const n = qe(() => import("./index-DyuWTFEJ.mjs")), s = e, i = () => {
|
|
10260
10260
|
s("update:show", !1);
|
|
10261
10261
|
};
|
|
10262
10262
|
return (a, l) => {
|
|
@@ -10737,7 +10737,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
10737
10737
|
},
|
|
10738
10738
|
emits: ["update:show"],
|
|
10739
10739
|
setup(t, { emit: e }) {
|
|
10740
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
10740
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-DyuWTFEJ.mjs")), i = U(!1), a = q(() => ({
|
|
10741
10741
|
animation: 200,
|
|
10742
10742
|
group: "gallerys",
|
|
10743
10743
|
// 链接专用分组
|
|
@@ -10992,7 +10992,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
10992
10992
|
i();
|
|
10993
10993
|
const h = U(0), d = U(0), m = U(0), g = U(0), p = U(""), C = U(""), w = U(!1), k = U(typeof window > "u" ? 1024 : window.innerWidth), y = U(typeof window > "u" ? 0 : window.scrollY), x = U(!1), T = U(null), E = U(null), V = U(null), D = U(null), O = U(null), I = U(null), R = U(null), M = U([]), H = U([]), Y = q(() => k.value > 1023.98 ? 100 : 66), oe = q(() => x.value);
|
|
10994
10994
|
Ue(k, () => {
|
|
10995
|
-
|
|
10995
|
+
_e();
|
|
10996
10996
|
});
|
|
10997
10997
|
const ie = (Ce) => {
|
|
10998
10998
|
if (!Ce) return 0;
|
|
@@ -11017,7 +11017,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
11017
11017
|
var Ze;
|
|
11018
11018
|
typeof window < "u" && (y.value = window.scrollY);
|
|
11019
11019
|
const Ce = y.value + Y.value + 64, Pe = ie(D.value), Ge = Pe + (((Ze = D.value) == null ? void 0 : Ze.clientHeight) || 0);
|
|
11020
|
-
Ce < Pe ? h.value = 0 : Ce > Ge && (h.value = 999), ce(),
|
|
11020
|
+
Ce < Pe ? h.value = 0 : Ce > Ge && (h.value = 999), ce(), ye(), Le(), tt(), ve(), it();
|
|
11021
11021
|
}, ce = () => {
|
|
11022
11022
|
var ke;
|
|
11023
11023
|
const Ce = y.value + Y.value + 64, Pe = ie(D.value), Ge = Pe + (((ke = D.value) == null ? void 0 : ke.clientHeight) || 0), Ze = {
|
|
@@ -11031,7 +11031,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
11031
11031
|
}) : fe.forEach((Ve) => {
|
|
11032
11032
|
Ve == null || Ve.classList.add("is-fixed"), Ve == null || Ve.classList.remove("is-top"), Ve == null || Ve.classList.remove("is-bottom");
|
|
11033
11033
|
}));
|
|
11034
|
-
},
|
|
11034
|
+
}, ye = () => {
|
|
11035
11035
|
var ke;
|
|
11036
11036
|
const Ce = y.value + Y.value + 64, Pe = R.value, Ge = ie(D.value), Ze = Ge + (((ke = D.value) == null ? void 0 : ke.clientHeight) || 0), fe = {
|
|
11037
11037
|
top: Ge - 80,
|
|
@@ -11089,7 +11089,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
11089
11089
|
fe && (Pe - 80 > Ze || Ge < Ze ? (fe.classList.remove("is-fixed"), fe.classList.add("d-none")) : (fe.classList.add("is-fixed"), fe.classList.remove("d-none")));
|
|
11090
11090
|
}, Ie = (Ce) => {
|
|
11091
11091
|
p.value = Ce.text, C.value = Ce.image, G(!0), w.value = !0;
|
|
11092
|
-
},
|
|
11092
|
+
}, _e = () => {
|
|
11093
11093
|
G(!1), w.value = !1;
|
|
11094
11094
|
}, Ee = () => {
|
|
11095
11095
|
const Pe = M.value.length;
|
|
@@ -11211,7 +11211,7 @@ const ax = { class: "gallery-container gallery-timeline container-content" }, lx
|
|
|
11211
11211
|
$e(f(Kk, {
|
|
11212
11212
|
text: p.value,
|
|
11213
11213
|
image: C.value,
|
|
11214
|
-
onCloseCaption:
|
|
11214
|
+
onCloseCaption: _e
|
|
11215
11215
|
}, null, 8, ["text", "image"]), [
|
|
11216
11216
|
[Oe, w.value]
|
|
11217
11217
|
])
|
|
@@ -11324,7 +11324,7 @@ function W0() {
|
|
|
11324
11324
|
}
|
|
11325
11325
|
return qa;
|
|
11326
11326
|
}
|
|
11327
|
-
const
|
|
11327
|
+
const Fn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS = /* @__PURE__ */ pe({
|
|
11328
11328
|
name: "ListSort",
|
|
11329
11329
|
__name: "ListSort",
|
|
11330
11330
|
props: {
|
|
@@ -11537,8 +11537,8 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
11537
11537
|
if (!z) return;
|
|
11538
11538
|
const se = z.clientWidth / 2, ce = window.innerWidth / 2;
|
|
11539
11539
|
p.value = z.getBoundingClientRect().right - se;
|
|
11540
|
-
const
|
|
11541
|
-
|
|
11540
|
+
const ye = a.value;
|
|
11541
|
+
ye && (ye.scrollLeft -= ce - p.value);
|
|
11542
11542
|
};
|
|
11543
11543
|
return rt(() => {
|
|
11544
11544
|
if (Re(() => {
|
|
@@ -11570,18 +11570,18 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
11570
11570
|
ref: a,
|
|
11571
11571
|
onScroll: te
|
|
11572
11572
|
}, [
|
|
11573
|
-
(_(!0), S(ue, null, we(C.value, (ce,
|
|
11573
|
+
(_(!0), S(ue, null, we(C.value, (ce, ye) => (_(), S("li", {
|
|
11574
11574
|
key: ce.key,
|
|
11575
11575
|
class: "tab-blue__list__item",
|
|
11576
11576
|
ref_for: !0,
|
|
11577
|
-
ref: (Le) => l.value[
|
|
11577
|
+
ref: (Le) => l.value[ye] = Le
|
|
11578
11578
|
}, [
|
|
11579
11579
|
o("button", {
|
|
11580
11580
|
type: "button",
|
|
11581
|
-
class: re(["tab-blue__btn", { "tab-blue__btn--active": V.value ==
|
|
11581
|
+
class: re(["tab-blue__btn", { "tab-blue__btn--active": V.value == ye }]),
|
|
11582
11582
|
ref_for: !0,
|
|
11583
|
-
ref: (Le) => r.value[
|
|
11584
|
-
onClick: (Le) => V.value =
|
|
11583
|
+
ref: (Le) => r.value[ye] = Le,
|
|
11584
|
+
onClick: (Le) => V.value = ye
|
|
11585
11585
|
}, Z(ce.name), 11, IS)
|
|
11586
11586
|
]))), 128)),
|
|
11587
11587
|
o("span", {
|
|
@@ -12035,27 +12035,19 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12035
12035
|
],
|
|
12036
12036
|
setup(t, { emit: e }) {
|
|
12037
12037
|
const n = t, s = e, i = {
|
|
12038
|
-
articleCategoryGroups: "/article/category/group/listForWeb",
|
|
12039
12038
|
articleYears: "/article/years"
|
|
12040
12039
|
}, a = U([]), l = U([]), r = () => {
|
|
12041
|
-
|
|
12042
|
-
params: { langCode: n.locale, host: n.host }
|
|
12043
|
-
}).then((ye) => {
|
|
12044
|
-
l.value = ye.data.data;
|
|
12045
|
-
}).catch((ye) => {
|
|
12046
|
-
console.error("articleYears error:", ye);
|
|
12047
|
-
}), Cn.get(i.articleCategoryGroups, {
|
|
12040
|
+
Fn.get(i.articleYears, {
|
|
12048
12041
|
params: { langCode: n.locale, host: n.host }
|
|
12049
|
-
}).then((
|
|
12050
|
-
|
|
12051
|
-
|
|
12052
|
-
|
|
12053
|
-
console.error("articleCategoryGroups error:", ye);
|
|
12042
|
+
}).then((_e) => {
|
|
12043
|
+
l.value = _e.data.data;
|
|
12044
|
+
}).catch((_e) => {
|
|
12045
|
+
console.error("articleYears error:", _e);
|
|
12054
12046
|
});
|
|
12055
12047
|
}, u = () => {
|
|
12056
12048
|
var Ee, Ce;
|
|
12057
12049
|
if (n.modelValue && n.modelValue.data) return;
|
|
12058
|
-
const
|
|
12050
|
+
const _e = {
|
|
12059
12051
|
id: ((Ee = n.modelValue) == null ? void 0 : Ee.id) || K(),
|
|
12060
12052
|
type: "NewsList",
|
|
12061
12053
|
onlyShowPc: !1,
|
|
@@ -12080,18 +12072,18 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12080
12072
|
getIsPreviewMode: !1,
|
|
12081
12073
|
getIsReviewMode: !1
|
|
12082
12074
|
};
|
|
12083
|
-
s("update:modelValue",
|
|
12075
|
+
s("update:modelValue", _e);
|
|
12084
12076
|
}, c = q(() => {
|
|
12085
|
-
var
|
|
12086
|
-
return n.isPreview ? !((
|
|
12077
|
+
var _e;
|
|
12078
|
+
return n.isPreview ? !((_e = n.modelValue) != null && _e.onlyShowPc) || !Ye() : !0;
|
|
12087
12079
|
}), v = U(!1), h = U(!1), d = () => {
|
|
12088
12080
|
s("handleDelete", n.modelValue.id);
|
|
12089
12081
|
}, m = () => {
|
|
12090
12082
|
s("handleCopy", n.modelValue);
|
|
12091
|
-
}, g = (
|
|
12092
|
-
s("handlePaste",
|
|
12093
|
-
}, p = (
|
|
12094
|
-
s("handleClick",
|
|
12083
|
+
}, g = (_e) => {
|
|
12084
|
+
s("handlePaste", _e);
|
|
12085
|
+
}, p = (_e) => {
|
|
12086
|
+
s("handleClick", _e);
|
|
12095
12087
|
};
|
|
12096
12088
|
u();
|
|
12097
12089
|
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 = () => {
|
|
@@ -12100,24 +12092,24 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12100
12092
|
var Ce, Pe;
|
|
12101
12093
|
if (!w.value)
|
|
12102
12094
|
return Object.freeze(((Ce = n.modelValue) == null ? void 0 : Ce.list) ?? []);
|
|
12103
|
-
const
|
|
12095
|
+
const _e = JSON.parse(
|
|
12104
12096
|
JSON.stringify(a.value)
|
|
12105
12097
|
);
|
|
12106
|
-
if (!
|
|
12098
|
+
if (!_e || !n.modelValue.article_category_group_id || !_e.find((Ge) => Ge.groupId === n.modelValue.article_category_group_id))
|
|
12107
12099
|
return Object.freeze([]);
|
|
12108
|
-
let Ee = (Pe =
|
|
12100
|
+
let Ee = (Pe = _e.find(
|
|
12109
12101
|
(Ge) => Ge.groupId === n.modelValue.article_category_group_id
|
|
12110
12102
|
)) == null ? void 0 : Pe.categoryList;
|
|
12111
12103
|
return Ee = Ee.filter(function(Ge) {
|
|
12112
12104
|
return Ge.hasOwnProperty("hasArticles") && Ge.hasArticles;
|
|
12113
12105
|
}), Object.freeze(Ee);
|
|
12114
12106
|
}), oe = q(() => {
|
|
12115
|
-
let
|
|
12107
|
+
let _e = [];
|
|
12116
12108
|
for (const Ee of Y.value)
|
|
12117
|
-
Ee.key !== "all" &&
|
|
12118
|
-
return Object.freeze(
|
|
12109
|
+
Ee.key !== "all" && _e.push(Ee.key);
|
|
12110
|
+
return Object.freeze(_e);
|
|
12119
12111
|
}), ie = q(() => {
|
|
12120
|
-
var
|
|
12112
|
+
var _e;
|
|
12121
12113
|
if (w.value) {
|
|
12122
12114
|
let Ee = [
|
|
12123
12115
|
{
|
|
@@ -12134,22 +12126,22 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12134
12126
|
});
|
|
12135
12127
|
return Object.freeze(Ee.concat(Ce));
|
|
12136
12128
|
}
|
|
12137
|
-
return ((
|
|
12129
|
+
return ((_e = n.modelValue) == null ? void 0 : _e.list) ?? void 0;
|
|
12138
12130
|
}), te = q(() => {
|
|
12139
|
-
var
|
|
12140
|
-
return ((
|
|
12131
|
+
var _e;
|
|
12132
|
+
return ((_e = n.modelValue) == null ? void 0 : _e.colDesktop) ?? 4;
|
|
12141
12133
|
}), G = q(() => {
|
|
12142
|
-
var
|
|
12143
|
-
return ((
|
|
12134
|
+
var _e;
|
|
12135
|
+
return ((_e = n.modelValue) == null ? void 0 : _e.colTablet) ?? 3;
|
|
12144
12136
|
}), Q = q(() => {
|
|
12145
|
-
var
|
|
12146
|
-
return ((
|
|
12137
|
+
var _e;
|
|
12138
|
+
return ((_e = n.modelValue) == null ? void 0 : _e.colMobile) ?? 1;
|
|
12147
12139
|
}), X = q(() => {
|
|
12148
|
-
var
|
|
12149
|
-
return ((Ee = (
|
|
12140
|
+
var _e, Ee;
|
|
12141
|
+
return ((Ee = (_e = ie.value) == null ? void 0 : _e[k.value]) == null ? void 0 : Ee.list) ?? null;
|
|
12150
12142
|
}), z = q(() => {
|
|
12151
|
-
var
|
|
12152
|
-
return !x.value || !x.value.length ? X.value : ((
|
|
12143
|
+
var _e;
|
|
12144
|
+
return !x.value || !x.value.length ? X.value : ((_e = X.value) == null ? void 0 : _e.filter((Ee) => {
|
|
12153
12145
|
var Pe;
|
|
12154
12146
|
let Ce = !1;
|
|
12155
12147
|
return (Pe = x.value) == null || Pe.forEach((Ge) => {
|
|
@@ -12161,22 +12153,22 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12161
12153
|
return [...z.value].sort(
|
|
12162
12154
|
(ke, Ve) => new Date(Ve.date).getTime() - new Date(ke.date).getTime()
|
|
12163
12155
|
);
|
|
12164
|
-
const
|
|
12156
|
+
const _e = /* @__PURE__ */ new Date(), Ee = _e.getFullYear(), Ce = _e.getMonth(), Pe = _e.getDate(), Ge = new Date(Ee, Ce - 1 < 0 ? 11 : Ce - 1, Pe), Ze = new Date(Ee - 1, Ce, Pe), fe = y.value === "past-month" ? Ge : Ze;
|
|
12165
12157
|
return z.value.filter(
|
|
12166
|
-
(ke) => new Date(ke.date) > fe && new Date(ke.date) <
|
|
12158
|
+
(ke) => new Date(ke.date) > fe && new Date(ke.date) < _e
|
|
12167
12159
|
);
|
|
12168
12160
|
}), ce = q(() => {
|
|
12169
|
-
var
|
|
12170
|
-
return ((
|
|
12171
|
-
}),
|
|
12172
|
-
var
|
|
12173
|
-
return w.value || (
|
|
12161
|
+
var _e;
|
|
12162
|
+
return ((_e = n.modelValue) == null ? void 0 : _e.displayYearList) ?? !0 ? l.value : [];
|
|
12163
|
+
}), ye = q(() => {
|
|
12164
|
+
var _e, Ee, Ce;
|
|
12165
|
+
return w.value || (_e = n.modelValue) != null && _e.list && ((Ce = (Ee = n.modelValue.list[0]) == null ? void 0 : Ee.list) == null ? void 0 : Ce.length) === 0 ? O.value : se.value.slice(
|
|
12174
12166
|
(V.value - 1) * D.value,
|
|
12175
12167
|
V.value * D.value
|
|
12176
12168
|
);
|
|
12177
|
-
}), Le = (
|
|
12178
|
-
if (!
|
|
12179
|
-
const Ee = 100, Ce = typeof window > "u" ? 0 : window.scrollY, Ge =
|
|
12169
|
+
}), Le = (_e) => {
|
|
12170
|
+
if (!_e) return;
|
|
12171
|
+
const Ee = 100, Ce = typeof window > "u" ? 0 : window.scrollY, Ge = _e.getBoundingClientRect().top + Ce - Ee;
|
|
12180
12172
|
typeof window < "u" && window.scrollTo({
|
|
12181
12173
|
top: Ge,
|
|
12182
12174
|
behavior: "smooth"
|
|
@@ -12189,18 +12181,18 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12189
12181
|
}), Ue(T, () => {
|
|
12190
12182
|
ve(), Ae();
|
|
12191
12183
|
}), Ue(V, () => {
|
|
12192
|
-
const
|
|
12193
|
-
Le(
|
|
12194
|
-
}), Ue(k, (
|
|
12195
|
-
Ae(), ie.value && ie.value[
|
|
12196
|
-
}), Ue(oe, (
|
|
12197
|
-
Ee.length === 0 &&
|
|
12184
|
+
const _e = C.value;
|
|
12185
|
+
Le(_e), ve();
|
|
12186
|
+
}), Ue(k, (_e) => {
|
|
12187
|
+
Ae(), ie.value && ie.value[_e] && (R.value = ie.value[_e].key, V.value = 1, ve());
|
|
12188
|
+
}), Ue(oe, (_e, Ee) => {
|
|
12189
|
+
Ee.length === 0 && _e.length > 0 && (it(), ve());
|
|
12198
12190
|
});
|
|
12199
12191
|
const tt = () => {
|
|
12200
12192
|
O.value = [], E.value = 0;
|
|
12201
12193
|
}, ve = async () => {
|
|
12202
|
-
var
|
|
12203
|
-
if (w.value || (
|
|
12194
|
+
var _e, Ee, Ce, Pe;
|
|
12195
|
+
if (w.value || (_e = n.modelValue) != null && _e.list && ((Ce = (Ee = n.modelValue.list[0]) == null ? void 0 : Ee.list) == null ? void 0 : Ce.length) === 0) {
|
|
12204
12196
|
let Ge = (Pe = n.modelValue) == null ? void 0 : Pe.api;
|
|
12205
12197
|
if (oe.value.length === 0)
|
|
12206
12198
|
return;
|
|
@@ -12217,27 +12209,27 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12217
12209
|
}
|
|
12218
12210
|
};
|
|
12219
12211
|
try {
|
|
12220
|
-
const ke = await
|
|
12212
|
+
const ke = await Fn.get(Ge, fe);
|
|
12221
12213
|
O.value = ke.data.data.data, I.value = ke.data.data.meta, E.value = I.value.last_page;
|
|
12222
12214
|
} catch (ke) {
|
|
12223
12215
|
console.error("Error fetching articles:", ke);
|
|
12224
12216
|
}
|
|
12225
12217
|
}
|
|
12226
12218
|
}, Ae = () => {
|
|
12227
|
-
var
|
|
12228
|
-
V.value = 1, D.value = M.value >= 768 ? M.value >= 1024 ? 12 : 9 : 10, (w.value || (
|
|
12219
|
+
var _e, Ee, Ce;
|
|
12220
|
+
V.value = 1, D.value = M.value >= 768 ? M.value >= 1024 ? 12 : 9 : 10, (w.value || (_e = n.modelValue) != null && _e.list && ((Ce = (Ee = n.modelValue.list[0]) == null ? void 0 : Ee.list) == null ? void 0 : Ce.length) > 0) && (E.value = Math.ceil(se.value.length / D.value));
|
|
12229
12221
|
}, it = () => {
|
|
12230
|
-
let
|
|
12231
|
-
R.value && ie.value && (
|
|
12232
|
-
}, Ie = (
|
|
12233
|
-
k.value =
|
|
12222
|
+
let _e = 0;
|
|
12223
|
+
R.value && ie.value && (_e = ie.value.findIndex((Ee) => Ee.key == R.value)), k.value = _e > -1 ? _e : 0;
|
|
12224
|
+
}, Ie = (_e) => {
|
|
12225
|
+
k.value = _e, R.value = ie.value[_e].key, V.value = 1, ve();
|
|
12234
12226
|
};
|
|
12235
12227
|
return rt(() => {
|
|
12236
12228
|
var Ee;
|
|
12237
12229
|
(((Ee = n.modelValue) == null ? void 0 : Ee.article_category_group_id) ?? null) && (w.value = !0), typeof window < "u" && window.addEventListener("resize", H), H(), Ae(), it(), r();
|
|
12238
12230
|
}), Qn(() => {
|
|
12239
12231
|
typeof window < "u" && window.removeEventListener("resize", H);
|
|
12240
|
-
}), (
|
|
12232
|
+
}), (_e, Ee) => (_(), S(ue, null, [
|
|
12241
12233
|
c.value ? (_(), S("div", {
|
|
12242
12234
|
key: 0,
|
|
12243
12235
|
class: "news-list tab-default",
|
|
@@ -12274,7 +12266,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12274
12266
|
`row-cols-lg-${te.value}`
|
|
12275
12267
|
]])
|
|
12276
12268
|
}, [
|
|
12277
|
-
(_(!0), S(ue, null, we(
|
|
12269
|
+
(_(!0), S(ue, null, we(ye.value, (Ge) => (_(), S("div", {
|
|
12278
12270
|
class: "card-item col",
|
|
12279
12271
|
key: Ge.id
|
|
12280
12272
|
}, [
|
|
@@ -12318,7 +12310,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12318
12310
|
}, null, 8, ["show", "data", "articleCategoryGroups"]))
|
|
12319
12311
|
], 64));
|
|
12320
12312
|
}
|
|
12321
|
-
}), Ph = /* @__PURE__ */ he(b9, [["__scopeId", "data-v-
|
|
12313
|
+
}), Ph = /* @__PURE__ */ he(b9, [["__scopeId", "data-v-a9a798ac"]]), 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 = {
|
|
12322
12314
|
key: 1,
|
|
12323
12315
|
class: "btn-setting"
|
|
12324
12316
|
}, V9 = { class: "btn-group" }, E9 = { class: "item-action flex items-center" }, P9 = { class: "setting-body" }, $9 = { class: "btn-group" }, D9 = {
|
|
@@ -12342,7 +12334,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12342
12334
|
},
|
|
12343
12335
|
emits: ["update:show"],
|
|
12344
12336
|
setup(t, { emit: e }) {
|
|
12345
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
12337
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-DyuWTFEJ.mjs")), i = U(!1), a = q(() => ({
|
|
12346
12338
|
animation: 200,
|
|
12347
12339
|
group: "gallerys",
|
|
12348
12340
|
// 链接专用分组
|
|
@@ -12912,15 +12904,15 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12912
12904
|
key: se.id
|
|
12913
12905
|
}, {
|
|
12914
12906
|
default: $(() => [
|
|
12915
|
-
(_(!0), S(ue, null, we(se.timeSection, (ce,
|
|
12907
|
+
(_(!0), S(ue, null, we(se.timeSection, (ce, ye) => (_(), S("div", {
|
|
12916
12908
|
class: "inside-wrap leftSide",
|
|
12917
12909
|
key: ce.id
|
|
12918
12910
|
}, [
|
|
12919
12911
|
o("div", {
|
|
12920
|
-
style: je({ zIndex:
|
|
12912
|
+
style: je({ zIndex: ye ? 1 : 50 }),
|
|
12921
12913
|
class: "period",
|
|
12922
|
-
"data-swiper-parallax":
|
|
12923
|
-
"data-swiper-parallax-opacity":
|
|
12914
|
+
"data-swiper-parallax": ye ? -300 : 0,
|
|
12915
|
+
"data-swiper-parallax-opacity": ye ? 0.2 : 0.5
|
|
12924
12916
|
}, [
|
|
12925
12917
|
o("p", null, Z(ce.year), 1),
|
|
12926
12918
|
o("div", {
|
|
@@ -12929,22 +12921,22 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12929
12921
|
}, [
|
|
12930
12922
|
o("img", {
|
|
12931
12923
|
ref_for: !0,
|
|
12932
|
-
ref: ce.year +
|
|
12924
|
+
ref: ce.year + ye ? "right" : "left",
|
|
12933
12925
|
src: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik05Ljk3OTIyIDE5Ljk1OEMxNS40OTA2IDE5Ljk1OCAxOS45NTg0IDE1LjQ5MDEgMTkuOTU4NCA5Ljk3ODczQzE5Ljk1ODQgNC40NjczNiAxNS40OTA2IC0wLjAwMDQ4ODI4MSA5Ljk3OTIyIC0wLjAwMDQ4ODI4MUM0LjQ2Nzg1IC0wLjAwMDQ4ODI4MSAwIDQuNDY3MzYgMCA5Ljk3ODczQzAgMTUuNDkwMSA0LjQ2Nzg1IDE5Ljk1OCA5Ljk3OTIyIDE5Ljk1OFpNMTQuMTczMiAxMS4wNDU0TDExLjA0NTMgMTEuMDQ1NFYxNC4xNzMzQzExLjA0NTMgMTQuNzQ5MSAxMC41Nzg0IDE1LjIxNiAxMC4wMDI2IDE1LjIxNkM5LjQyNjc3IDE1LjIxNiA4Ljk1OTk3IDE0Ljc0OTEgOC45NTk5NyAxNC4xNzMzVjExLjA0NTRMNS44MzIwMyAxMS4wNDU0QzUuMjU2MiAxMS4wNDU0IDQuNzg5MzkgMTAuNTc4NiA0Ljc4OTM5IDEwLjAwMjdDNC43ODkzOSA5LjQyNjg5IDUuMjU2MiA4Ljk2MDA4IDUuODMyMDMgOC45NjAwOEw4Ljk1OTk3IDguOTYwMDhWNS44MzIxNUM4Ljk1OTk3IDUuMjU2MzEgOS40MjY3NyA0Ljc4OTUgMTAuMDAyNiA0Ljc4OTVDMTAuNTc4NCA0Ljc4OTUgMTEuMDQ1MyA1LjI1NjMxIDExLjA0NTMgNS44MzIxNVY4Ljk2MDA4TDE0LjE3MzIgOC45NjAwOEMxNC43NDkgOC45NjAwOCAxNS4yMTU4IDkuNDI2ODkgMTUuMjE1OCAxMC4wMDI3QzE1LjIxNTggMTAuNTc4NiAxNC43NDkgMTEuMDQ1NCAxNC4xNzMyIDExLjA0NTRaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K",
|
|
12934
12926
|
alt: "了解更多"
|
|
12935
12927
|
}, null, 512)
|
|
12936
12928
|
], 8, Z9),
|
|
12937
12929
|
o("div", J9, [
|
|
12938
12930
|
o("div", {
|
|
12939
|
-
id: "period__effect__circle" +
|
|
12931
|
+
id: "period__effect__circle" + ye,
|
|
12940
12932
|
class: "period__effect__circle"
|
|
12941
12933
|
}, null, 8, e7)
|
|
12942
12934
|
])
|
|
12943
12935
|
], 12, Q9),
|
|
12944
12936
|
o("div", {
|
|
12945
12937
|
class: "image",
|
|
12946
|
-
"data-swiper-parallax":
|
|
12947
|
-
"data-swiper-parallax-opacity":
|
|
12938
|
+
"data-swiper-parallax": ye ? 600 : -400,
|
|
12939
|
+
"data-swiper-parallax-opacity": ye ? 0 : 0.2
|
|
12948
12940
|
}, [
|
|
12949
12941
|
o("img", {
|
|
12950
12942
|
src: ce.imgSrc,
|
|
@@ -12985,13 +12977,13 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
12985
12977
|
ref: C
|
|
12986
12978
|
}, [
|
|
12987
12979
|
(_(!0), S(ue, null, we(E.value, (se, ce) => {
|
|
12988
|
-
var
|
|
12980
|
+
var ye, Le, tt, ve;
|
|
12989
12981
|
return _(), S("div", {
|
|
12990
12982
|
ref_for: !0,
|
|
12991
12983
|
ref_key: "yearBlock",
|
|
12992
12984
|
ref: w,
|
|
12993
12985
|
class: "year-pagination__box",
|
|
12994
|
-
key: ((Le = (
|
|
12986
|
+
key: ((Le = (ye = se.timeSection) == null ? void 0 : ye[0]) == null ? void 0 : Le.year) + ce
|
|
12995
12987
|
}, [
|
|
12996
12988
|
o("h5", {
|
|
12997
12989
|
onClick: (Ae) => I(ce),
|
|
@@ -13523,7 +13515,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
13523
13515
|
emits: ["update:show"],
|
|
13524
13516
|
setup(t, { emit: e }) {
|
|
13525
13517
|
const n = qe(
|
|
13526
|
-
() => import("./index-
|
|
13518
|
+
() => import("./index-DyuWTFEJ.mjs")
|
|
13527
13519
|
), s = e, i = () => {
|
|
13528
13520
|
s("update:show", !1);
|
|
13529
13521
|
};
|
|
@@ -14944,7 +14936,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
14944
14936
|
setup(t, { emit: e }) {
|
|
14945
14937
|
var T;
|
|
14946
14938
|
const n = qe(() => import("vuedraggable")), s = qe(
|
|
14947
|
-
() => import("./index-
|
|
14939
|
+
() => import("./index-DyuWTFEJ.mjs")
|
|
14948
14940
|
), i = q(() => ({
|
|
14949
14941
|
animation: 200,
|
|
14950
14942
|
group: "links",
|
|
@@ -15414,7 +15406,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
15414
15406
|
mode: "out-in"
|
|
15415
15407
|
}, {
|
|
15416
15408
|
default: $(() => {
|
|
15417
|
-
var V, D, O, I, R, M, H, Y, oe, ie, te, G, Q, X, z, se, ce,
|
|
15409
|
+
var V, D, O, I, R, M, H, Y, oe, ie, te, G, Q, X, z, se, ce, ye, Le;
|
|
15418
15410
|
return [
|
|
15419
15411
|
(_(), S("div", {
|
|
15420
15412
|
class: "pc_wrap",
|
|
@@ -15442,7 +15434,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
15442
15434
|
}, null, 8, rP)
|
|
15443
15435
|
]),
|
|
15444
15436
|
(se = (z = (X = (Q = t.modelValue) == null ? void 0 : Q.list) == null ? void 0 : X[l.value]) == null ? void 0 : z.links) != null && se.length ? (_(), S("div", dP, [
|
|
15445
|
-
(_(!0), S(ue, null, we(((Le = (
|
|
15437
|
+
(_(!0), S(ue, null, we(((Le = (ye = (ce = t.modelValue) == null ? void 0 : ce.list) == null ? void 0 : ye[l.value]) == null ? void 0 : Le.links) || [], (tt) => (_(), S("div", {
|
|
15446
15438
|
class: "bottom_item",
|
|
15447
15439
|
key: tt
|
|
15448
15440
|
}, [
|
|
@@ -16012,8 +16004,8 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
16012
16004
|
}, null, 8, zP),
|
|
16013
16005
|
o("span", {
|
|
16014
16006
|
onClick: y[0] || (y[0] = (ce) => {
|
|
16015
|
-
var
|
|
16016
|
-
return p((
|
|
16007
|
+
var ye;
|
|
16008
|
+
return p((ye = n.value) == null ? void 0 : ye.url, n.value);
|
|
16017
16009
|
}),
|
|
16018
16010
|
class: re([n.value.linkType === "textOnly" ? "item_text" : "contact_us_content_item_text"])
|
|
16019
16011
|
}, Z((D = n.value) == null ? void 0 : D.text), 3)
|
|
@@ -16027,8 +16019,8 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
16027
16019
|
}, null, 8, XP),
|
|
16028
16020
|
o("span", {
|
|
16029
16021
|
onClick: y[1] || (y[1] = (ce) => {
|
|
16030
|
-
var
|
|
16031
|
-
return p((
|
|
16022
|
+
var ye;
|
|
16023
|
+
return p((ye = s.value) == null ? void 0 : ye.url, s.value);
|
|
16032
16024
|
}),
|
|
16033
16025
|
class: re([s.value.linkType === "textOnly" ? "item_text" : "contact_us_content_item_text"])
|
|
16034
16026
|
}, Z((O = s.value) == null ? void 0 : O.text), 3)
|
|
@@ -16041,8 +16033,8 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
16041
16033
|
}, null, 8, KP),
|
|
16042
16034
|
o("span", {
|
|
16043
16035
|
onClick: y[2] || (y[2] = (ce) => {
|
|
16044
|
-
var
|
|
16045
|
-
return p((
|
|
16036
|
+
var ye;
|
|
16037
|
+
return p((ye = i.value) == null ? void 0 : ye.url, i.value);
|
|
16046
16038
|
}),
|
|
16047
16039
|
class: re([i.value.linkType === "textOnly" ? "item_text" : "contact_us_content_item_text"])
|
|
16048
16040
|
}, Z((I = i.value) == null ? void 0 : I.text), 3)
|
|
@@ -16058,8 +16050,8 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
16058
16050
|
}, null, 8, JP),
|
|
16059
16051
|
o("span", {
|
|
16060
16052
|
onClick: y[3] || (y[3] = (ce) => {
|
|
16061
|
-
var
|
|
16062
|
-
return p((
|
|
16053
|
+
var ye;
|
|
16054
|
+
return p((ye = a.value) == null ? void 0 : ye.url, a.value);
|
|
16063
16055
|
}),
|
|
16064
16056
|
class: re([a.value.linkType === "textOnly" ? "item_text" : "contact_us_content_item_text"])
|
|
16065
16057
|
}, Z((R = a.value) == null ? void 0 : R.text), 3)
|
|
@@ -16072,8 +16064,8 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
16072
16064
|
}, null, 8, t$),
|
|
16073
16065
|
o("span", {
|
|
16074
16066
|
onClick: y[4] || (y[4] = (ce) => {
|
|
16075
|
-
var
|
|
16076
|
-
return p((
|
|
16067
|
+
var ye;
|
|
16068
|
+
return p((ye = l.value) == null ? void 0 : ye.url, l.value);
|
|
16077
16069
|
}),
|
|
16078
16070
|
class: re([l.value.linkType === "textOnly" ? "item_text" : "contact_us_content_item_text"])
|
|
16079
16071
|
}, Z((M = l.value) == null ? void 0 : M.text), 3)
|
|
@@ -16087,8 +16079,8 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
16087
16079
|
}, null, 8, s$),
|
|
16088
16080
|
o("span", {
|
|
16089
16081
|
onClick: y[5] || (y[5] = (ce) => {
|
|
16090
|
-
var
|
|
16091
|
-
return p((
|
|
16082
|
+
var ye;
|
|
16083
|
+
return p((ye = r.value) == null ? void 0 : ye.url, r.value);
|
|
16092
16084
|
}),
|
|
16093
16085
|
class: re([r.value.linkType === "textOnly" ? "item_text" : "contact_us_content_item_text"])
|
|
16094
16086
|
}, Z((H = r.value) == null ? void 0 : H.text), 3)
|
|
@@ -16113,8 +16105,8 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
16113
16105
|
}, null, 8, d$),
|
|
16114
16106
|
o("span", {
|
|
16115
16107
|
onClick: y[6] || (y[6] = (ce) => {
|
|
16116
|
-
var
|
|
16117
|
-
return p((
|
|
16108
|
+
var ye;
|
|
16109
|
+
return p((ye = n.value) == null ? void 0 : ye.url, n.value);
|
|
16118
16110
|
}),
|
|
16119
16111
|
class: re([n.value.linkType === "textOnly" ? "item_text" : "contact_us_content_item_text"])
|
|
16120
16112
|
}, Z((te = n.value) == null ? void 0 : te.text), 3)
|
|
@@ -16127,8 +16119,8 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
16127
16119
|
}, null, 8, c$),
|
|
16128
16120
|
o("span", {
|
|
16129
16121
|
onClick: y[7] || (y[7] = (ce) => {
|
|
16130
|
-
var
|
|
16131
|
-
return p((
|
|
16122
|
+
var ye;
|
|
16123
|
+
return p((ye = s.value) == null ? void 0 : ye.url, s.value);
|
|
16132
16124
|
}),
|
|
16133
16125
|
class: re([s.value.linkType === "textOnly" ? "item_text" : "contact_us_content_item_text"])
|
|
16134
16126
|
}, Z((G = s.value) == null ? void 0 : G.text), 3)
|
|
@@ -16141,8 +16133,8 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
16141
16133
|
}, null, 8, m$),
|
|
16142
16134
|
o("span", {
|
|
16143
16135
|
onClick: y[8] || (y[8] = (ce) => {
|
|
16144
|
-
var
|
|
16145
|
-
return p((
|
|
16136
|
+
var ye;
|
|
16137
|
+
return p((ye = i.value) == null ? void 0 : ye.url, i.value);
|
|
16146
16138
|
}),
|
|
16147
16139
|
class: re([i.value.linkType === "textOnly" ? "item_text" : "contact_us_content_item_text"])
|
|
16148
16140
|
}, Z((Q = i.value) == null ? void 0 : Q.text), 3)
|
|
@@ -16155,8 +16147,8 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
16155
16147
|
}, null, 8, f$),
|
|
16156
16148
|
o("span", {
|
|
16157
16149
|
onClick: y[9] || (y[9] = (ce) => {
|
|
16158
|
-
var
|
|
16159
|
-
return p((
|
|
16150
|
+
var ye;
|
|
16151
|
+
return p((ye = a.value) == null ? void 0 : ye.url, a.value);
|
|
16160
16152
|
}),
|
|
16161
16153
|
class: re([a.value.linkType === "textOnly" ? "item_text" : "contact_us_content_item_text"])
|
|
16162
16154
|
}, Z((X = a.value) == null ? void 0 : X.text), 3)
|
|
@@ -16169,8 +16161,8 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
16169
16161
|
}, null, 8, v$),
|
|
16170
16162
|
o("span", {
|
|
16171
16163
|
onClick: y[10] || (y[10] = (ce) => {
|
|
16172
|
-
var
|
|
16173
|
-
return p((
|
|
16164
|
+
var ye;
|
|
16165
|
+
return p((ye = l.value) == null ? void 0 : ye.url, l.value);
|
|
16174
16166
|
}),
|
|
16175
16167
|
class: re([l.value.linkType === "textOnly" ? "item_text" : "contact_us_content_item_text"])
|
|
16176
16168
|
}, Z((z = l.value) == null ? void 0 : z.text), 3)
|
|
@@ -16183,8 +16175,8 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
16183
16175
|
}, null, 8, _$),
|
|
16184
16176
|
o("span", {
|
|
16185
16177
|
onClick: y[11] || (y[11] = (ce) => {
|
|
16186
|
-
var
|
|
16187
|
-
return p((
|
|
16178
|
+
var ye;
|
|
16179
|
+
return p((ye = r.value) == null ? void 0 : ye.url, r.value);
|
|
16188
16180
|
}),
|
|
16189
16181
|
class: re([r.value.linkType === "textOnly" ? "item_text" : "contact_us_content_item_text"])
|
|
16190
16182
|
}, Z((se = r.value) == null ? void 0 : se.text), 3)
|
|
@@ -17053,7 +17045,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17053
17045
|
emits: ["update:show"],
|
|
17054
17046
|
setup(t, { emit: e }) {
|
|
17055
17047
|
const n = qe(
|
|
17056
|
-
() => import("./index-
|
|
17048
|
+
() => import("./index-DyuWTFEJ.mjs")
|
|
17057
17049
|
), s = qe(() => import("vuedraggable")), i = t, a = U(!1), l = U(/* @__PURE__ */ new Set()), r = U(/* @__PURE__ */ new Set());
|
|
17058
17050
|
Ue(
|
|
17059
17051
|
() => {
|
|
@@ -17322,7 +17314,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17322
17314
|
onEnd: I[9] || (I[9] = (ce) => d.value = !1),
|
|
17323
17315
|
"item-key": "id"
|
|
17324
17316
|
}), {
|
|
17325
|
-
item: $(({ element: ce, index:
|
|
17317
|
+
item: $(({ element: ce, index: ye }) => [
|
|
17326
17318
|
o("div", ED, [
|
|
17327
17319
|
o("div", {
|
|
17328
17320
|
class: "drag_top_box",
|
|
@@ -17359,7 +17351,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17359
17351
|
f(be(n), {
|
|
17360
17352
|
modelValue: ce.desc,
|
|
17361
17353
|
"onUpdate:modelValue": (Le) => ce.desc = Le,
|
|
17362
|
-
name: `MapStatic_editor_${se}_${
|
|
17354
|
+
name: `MapStatic_editor_${se}_${ye}`
|
|
17363
17355
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "name"]),
|
|
17364
17356
|
I[18] || (I[18] = o("p", {
|
|
17365
17357
|
class: "item-title",
|
|
@@ -17380,7 +17372,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17380
17372
|
f(mt, {
|
|
17381
17373
|
modelValue: ce.image,
|
|
17382
17374
|
"onUpdate:modelValue": (Le) => ce.image = Le,
|
|
17383
|
-
name: `MapStatic_${se}_${
|
|
17375
|
+
name: `MapStatic_${se}_${ye}`,
|
|
17384
17376
|
"button-class": "fit-content"
|
|
17385
17377
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "name"])
|
|
17386
17378
|
]),
|
|
@@ -17784,7 +17776,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17784
17776
|
var ke;
|
|
17785
17777
|
return ((ke = n.modelValue) == null ? void 0 : ke.zoom_mobile) ?? h.value.zoom_mobile;
|
|
17786
17778
|
}
|
|
17787
|
-
), ce = q(() => (typeof window < "u" ? window.innerWidth : 1024) > 768 ? z.value : se.value),
|
|
17779
|
+
), ce = q(() => (typeof window < "u" ? window.innerWidth : 1024) > 768 ? z.value : se.value), ye = q(
|
|
17788
17780
|
() => typeof window < "u" ? window.innerWidth < 1024 : !1
|
|
17789
17781
|
), Le = (ke, Ve) => ({
|
|
17790
17782
|
left: `${ke}%`,
|
|
@@ -17816,24 +17808,24 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17816
17808
|
const Ve = ke;
|
|
17817
17809
|
C.value = Ve.clientX - (k.value || 0), w.value = Ve.clientY - (y.value || 0);
|
|
17818
17810
|
}
|
|
17819
|
-
|
|
17811
|
+
_e(C.value, w.value);
|
|
17820
17812
|
}
|
|
17821
|
-
},
|
|
17813
|
+
}, _e = (ke, Ve) => {
|
|
17822
17814
|
let Me = ke, He = Ve;
|
|
17823
17815
|
const xt = Y.value, rn = H.value;
|
|
17824
17816
|
if (!xt || !rn) return;
|
|
17825
|
-
const es = xt.getBoundingClientRect().width, Nt = xt.getBoundingClientRect().height,
|
|
17817
|
+
const es = xt.getBoundingClientRect().width, Nt = xt.getBoundingClientRect().height, Vn = rn.getBoundingClientRect().height, Pt = typeof window < "u" ? window.innerWidth : 1024, Ft = {
|
|
17826
17818
|
right: -es + Pt / 2,
|
|
17827
17819
|
left: -1 * Pt / 2,
|
|
17828
|
-
top: -Nt +
|
|
17829
|
-
bottom: -1 *
|
|
17820
|
+
top: -Nt + Vn / 2,
|
|
17821
|
+
bottom: -1 * Vn / 2
|
|
17830
17822
|
};
|
|
17831
17823
|
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;
|
|
17832
17824
|
}, Ee = (ke) => {
|
|
17833
17825
|
if (Math.abs(ke.deltaX) > Math.abs(ke.deltaY)) {
|
|
17834
17826
|
ke.preventDefault();
|
|
17835
17827
|
const Ve = x.value - ke.deltaX;
|
|
17836
|
-
|
|
17828
|
+
_e(Ve, T.value);
|
|
17837
17829
|
}
|
|
17838
17830
|
}, Ce = () => {
|
|
17839
17831
|
const ke = Y.value, Ve = H.value;
|
|
@@ -17841,7 +17833,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17841
17833
|
const Me = Ve.clientWidth, He = Ve.clientHeight, xt = ke.clientWidth, rn = ke.clientHeight;
|
|
17842
17834
|
x.value = -(xt * Q.value / 100 - Me / 2), T.value = -(rn * X.value / 100 - He / 2);
|
|
17843
17835
|
}
|
|
17844
|
-
|
|
17836
|
+
_e(x.value, T.value);
|
|
17845
17837
|
}, Pe = (ke) => {
|
|
17846
17838
|
m.value = ke;
|
|
17847
17839
|
}, Ge = (ke) => {
|
|
@@ -17987,7 +17979,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
17987
17979
|
f(Ot, { name: "fade" }, {
|
|
17988
17980
|
default: $(() => [
|
|
17989
17981
|
E.value ? j("", !0) : (_(), S("div", lL, [
|
|
17990
|
-
|
|
17982
|
+
ye.value ? (_(), S("div", oL, [...Ve[10] || (Ve[10] = [
|
|
17991
17983
|
o("div", { class: "map-hint-fullscreen__hint" }, "拖动以查看更多学校", -1)
|
|
17992
17984
|
])])) : (_(), S("div", {
|
|
17993
17985
|
key: 0,
|
|
@@ -18460,7 +18452,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
18460
18452
|
key: `logo-${X}`
|
|
18461
18453
|
}, [
|
|
18462
18454
|
(_(!0), S(ue, null, we(Q, (z, se) => {
|
|
18463
|
-
var ce,
|
|
18455
|
+
var ce, ye, Le, tt;
|
|
18464
18456
|
return _(), S("div", {
|
|
18465
18457
|
class: "logo-card col flex-center flex-column",
|
|
18466
18458
|
key: `logo-${se}`
|
|
@@ -18475,7 +18467,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
18475
18467
|
src: z.imgSrc,
|
|
18476
18468
|
alt: z.alt || z.name
|
|
18477
18469
|
}, null, 8, kL)
|
|
18478
|
-
], 10, TL)) : (
|
|
18470
|
+
], 10, TL)) : (ye = t.modelValue) != null && ye.isPureLogo ? (_(), S("div", {
|
|
18479
18471
|
key: 1,
|
|
18480
18472
|
class: re(["logo-card__img logo-card__img--is-pure-logo", { "logo-card__img--no-clip": (Le = t.modelValue) == null ? void 0 : Le.isNoClip }])
|
|
18481
18473
|
}, [
|
|
@@ -20662,7 +20654,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
20662
20654
|
},
|
|
20663
20655
|
emits: ["update:show"],
|
|
20664
20656
|
setup(t, { emit: e }) {
|
|
20665
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
20657
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-DyuWTFEJ.mjs")), i = U(!1), a = q(() => ({
|
|
20666
20658
|
animation: 200,
|
|
20667
20659
|
group: "data",
|
|
20668
20660
|
// 专用分组
|
|
@@ -20951,7 +20943,7 @@ const Cn = W0(), xS = W0(), CS = { class: "list-sort" }, TS = ["onClick"], kS =
|
|
|
20951
20943
|
},
|
|
20952
20944
|
emits: ["update:show"],
|
|
20953
20945
|
setup(t, { emit: e }) {
|
|
20954
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
20946
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-DyuWTFEJ.mjs")), i = U(!1), a = q(() => ({
|
|
20955
20947
|
animation: 200,
|
|
20956
20948
|
group: "data",
|
|
20957
20949
|
// 专用分组
|
|
@@ -22645,7 +22637,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
22645
22637
|
sign: te
|
|
22646
22638
|
});
|
|
22647
22639
|
try {
|
|
22648
|
-
const { data: X } = await
|
|
22640
|
+
const { data: X } = await Fn.post((Q = n.modelValue) == null ? void 0 : Q.api, G), z = X.data.ref_no;
|
|
22649
22641
|
Y(), s("handleClick", `/thank-you?ref=${z}`);
|
|
22650
22642
|
} catch (X) {
|
|
22651
22643
|
console.log(X), oe();
|
|
@@ -22674,7 +22666,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
22674
22666
|
});
|
|
22675
22667
|
};
|
|
22676
22668
|
return (te, G) => {
|
|
22677
|
-
var Q, X, z, se, ce,
|
|
22669
|
+
var Q, X, z, se, ce, ye, Le, tt;
|
|
22678
22670
|
return _(), S(ue, null, [
|
|
22679
22671
|
a.value ? (_(), S("div", {
|
|
22680
22672
|
key: 0,
|
|
@@ -22794,7 +22786,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
22794
22786
|
innerHTML: (se = (z = t.modelValue) == null ? void 0 : z.data) == null ? void 0 : se.checkText
|
|
22795
22787
|
}, null, 8, tB)
|
|
22796
22788
|
]),
|
|
22797
|
-
$e(o("div", { class: "register-form-notice mt-3" }, Z((
|
|
22789
|
+
$e(o("div", { class: "register-form-notice mt-3" }, Z((ye = (ce = t.modelValue) == null ? void 0 : ce.data) == null ? void 0 : ye.notice), 513), [
|
|
22798
22790
|
[Oe, (tt = (Le = t.modelValue) == null ? void 0 : Le.data) == null ? void 0 : tt.notice]
|
|
22799
22791
|
])
|
|
22800
22792
|
])) : j("", !0)
|
|
@@ -23424,14 +23416,14 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
23424
23416
|
}, u = (z) => {
|
|
23425
23417
|
s("handlePaste", z);
|
|
23426
23418
|
}, c = () => {
|
|
23427
|
-
var se, ce,
|
|
23419
|
+
var se, ce, ye, Le;
|
|
23428
23420
|
const z = {
|
|
23429
23421
|
id: ((se = n.modelValue) == null ? void 0 : se.id) || K(),
|
|
23430
23422
|
type: "CardCarouselArticles",
|
|
23431
23423
|
// 修正组件类型type == 'article'
|
|
23432
23424
|
onlyShowPc: !1,
|
|
23433
23425
|
bgColor: ((ce = n.modelValue) == null ? void 0 : ce.bgColor) || "#f8f9fa",
|
|
23434
|
-
width: ((
|
|
23426
|
+
width: ((ye = n.modelValue) == null ? void 0 : ye.width) || "container-content-952",
|
|
23435
23427
|
// 使用CSS类名而不是数字
|
|
23436
23428
|
isLoop: ((Le = n.modelValue) == null ? void 0 : Le.isLoop) ?? !0,
|
|
23437
23429
|
getDataType: !1,
|
|
@@ -23632,7 +23624,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
23632
23624
|
var z;
|
|
23633
23625
|
(z = n.modelValue) != null && z.autoFetch && await H();
|
|
23634
23626
|
}), c(), (z, se) => {
|
|
23635
|
-
var ce,
|
|
23627
|
+
var ce, ye;
|
|
23636
23628
|
return _(), S(ue, null, [
|
|
23637
23629
|
v.value ? (_(), S("div", {
|
|
23638
23630
|
key: 0,
|
|
@@ -23642,7 +23634,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
23642
23634
|
onMouseleave: se[3] || (se[3] = (Le) => i.value = !1)
|
|
23643
23635
|
}, [
|
|
23644
23636
|
o("div", {
|
|
23645
|
-
class: re(["card-carousel__wrapper", [((
|
|
23637
|
+
class: re(["card-carousel__wrapper", [((ye = t.modelValue) == null ? void 0 : ye.width) || "container-content-952"]])
|
|
23646
23638
|
}, [
|
|
23647
23639
|
M.value && C.value ? (_(), S("div", UB, [
|
|
23648
23640
|
f(be(Us), {
|
|
@@ -24211,8 +24203,8 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
24211
24203
|
}), ie = () => {
|
|
24212
24204
|
const ve = M.value, Ae = [];
|
|
24213
24205
|
ve.forEach((it, Ie) => {
|
|
24214
|
-
const
|
|
24215
|
-
Ae[
|
|
24206
|
+
const _e = Math.floor(Ie / O.value);
|
|
24207
|
+
Ae[_e] || (Ae[_e] = []), Ae[_e].push(it);
|
|
24216
24208
|
}), w.value = Ae;
|
|
24217
24209
|
}, te = (ve) => {
|
|
24218
24210
|
var Ae;
|
|
@@ -24251,20 +24243,20 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
24251
24243
|
left: 0,
|
|
24252
24244
|
behavior: "smooth"
|
|
24253
24245
|
});
|
|
24254
|
-
},
|
|
24255
|
-
const Ae = ve.currentTarget, it = Ae == null ? void 0 : Ae.dataset.slug, Ie = Ae == null ? void 0 : Ae.dataset.type,
|
|
24256
|
-
|
|
24246
|
+
}, ye = (ve) => {
|
|
24247
|
+
const Ae = ve.currentTarget, it = Ae == null ? void 0 : Ae.dataset.slug, Ie = Ae == null ? void 0 : Ae.dataset.type, _e = M.value.find((Ee) => Ee.key == it || Ee.slug == it);
|
|
24248
|
+
_e && (Ie === "photo" ? se(_e) : z(_e));
|
|
24257
24249
|
}, Le = () => {
|
|
24258
24250
|
h.value && (Array.from(document.getElementsByClassName("card-asset")).forEach((ve) => {
|
|
24259
|
-
ve.addEventListener("click",
|
|
24251
|
+
ve.addEventListener("click", ye);
|
|
24260
24252
|
}), Array.from(document.getElementsByClassName("card-video")).forEach((ve) => {
|
|
24261
|
-
ve.addEventListener("click",
|
|
24253
|
+
ve.addEventListener("click", ye);
|
|
24262
24254
|
}));
|
|
24263
24255
|
}, tt = () => {
|
|
24264
24256
|
h.value && (Array.from(document.getElementsByClassName("card-asset")).forEach((ve) => {
|
|
24265
|
-
ve.removeEventListener("click",
|
|
24257
|
+
ve.removeEventListener("click", ye);
|
|
24266
24258
|
}), Array.from(document.getElementsByClassName("card-video")).forEach((ve) => {
|
|
24267
|
-
ve.removeEventListener("click",
|
|
24259
|
+
ve.removeEventListener("click", ye);
|
|
24268
24260
|
}));
|
|
24269
24261
|
};
|
|
24270
24262
|
return rt(() => {
|
|
@@ -24282,8 +24274,8 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
24282
24274
|
ref_key: "parent",
|
|
24283
24275
|
ref: d,
|
|
24284
24276
|
style: je({ backgroundColor: ((Ie = t.modelValue) == null ? void 0 : Ie.bgColor) || "transparent" }),
|
|
24285
|
-
onMouseenter: Ae[2] || (Ae[2] = (
|
|
24286
|
-
onMouseleave: Ae[3] || (Ae[3] = (
|
|
24277
|
+
onMouseenter: Ae[2] || (Ae[2] = (_e) => a.value = !0),
|
|
24278
|
+
onMouseleave: Ae[3] || (Ae[3] = (_e) => a.value = !1)
|
|
24287
24279
|
}, [
|
|
24288
24280
|
o("div", {
|
|
24289
24281
|
style: {
|
|
@@ -24311,17 +24303,17 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
24311
24303
|
onSlideChange: te
|
|
24312
24304
|
}, {
|
|
24313
24305
|
default: $(() => [
|
|
24314
|
-
(_(!0), S(ue, null, we(w.value, (
|
|
24306
|
+
(_(!0), S(ue, null, we(w.value, (_e, Ee) => (_(), ne(be(Bs), {
|
|
24315
24307
|
class: "swiper-slide",
|
|
24316
24308
|
key: Ee
|
|
24317
24309
|
}, {
|
|
24318
24310
|
default: $(() => [
|
|
24319
|
-
(_(!0), S(ue, null, we(I(
|
|
24311
|
+
(_(!0), S(ue, null, we(I(_e), (Ce) => (_(), S("div", {
|
|
24320
24312
|
key: Ce,
|
|
24321
24313
|
class: re(["row", [`row-cols-${D.value}`]]),
|
|
24322
24314
|
style: je({ "--cc-cols": D.value })
|
|
24323
24315
|
}, [
|
|
24324
|
-
(_(!0), S(ue, null, we(R(
|
|
24316
|
+
(_(!0), S(ue, null, we(R(_e, Ce), (Pe) => (_(), S("div", {
|
|
24325
24317
|
class: "slide-content col",
|
|
24326
24318
|
key: Pe.key || Pe.slug
|
|
24327
24319
|
}, [
|
|
@@ -24354,8 +24346,8 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
24354
24346
|
t.isPreview ? j("", !0) : (_(), ne(We, {
|
|
24355
24347
|
key: 0,
|
|
24356
24348
|
show: a.value,
|
|
24357
|
-
"onUpdate:show": Ae[0] || (Ae[0] = (
|
|
24358
|
-
onHandleEdit: Ae[1] || (Ae[1] = (
|
|
24349
|
+
"onUpdate:show": Ae[0] || (Ae[0] = (_e) => a.value = _e),
|
|
24350
|
+
onHandleEdit: Ae[1] || (Ae[1] = (_e) => l.value = !0),
|
|
24359
24351
|
onHandleDelete: r,
|
|
24360
24352
|
onHandleCopy: u,
|
|
24361
24353
|
onHandlePaste: c
|
|
@@ -24364,7 +24356,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
24364
24356
|
t.isPreview ? j("", !0) : (_(), ne(JB, {
|
|
24365
24357
|
key: 0,
|
|
24366
24358
|
show: l.value,
|
|
24367
|
-
"onUpdate:show": Ae[4] || (Ae[4] = (
|
|
24359
|
+
"onUpdate:show": Ae[4] || (Ae[4] = (_e) => l.value = _e),
|
|
24368
24360
|
data: t.modelValue
|
|
24369
24361
|
}, null, 8, ["show", "data"]))
|
|
24370
24362
|
], 64);
|
|
@@ -24386,7 +24378,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
24386
24378
|
emits: ["update:show"],
|
|
24387
24379
|
setup(t, { emit: e }) {
|
|
24388
24380
|
const n = qe(
|
|
24389
|
-
() => import("./index-
|
|
24381
|
+
() => import("./index-DyuWTFEJ.mjs")
|
|
24390
24382
|
), s = e, i = () => {
|
|
24391
24383
|
s("update:show", !1);
|
|
24392
24384
|
};
|
|
@@ -24602,7 +24594,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
24602
24594
|
emits: ["update:show"],
|
|
24603
24595
|
setup(t, { emit: e }) {
|
|
24604
24596
|
const n = qe(
|
|
24605
|
-
() => import("./index-
|
|
24597
|
+
() => import("./index-DyuWTFEJ.mjs")
|
|
24606
24598
|
), s = e, i = () => {
|
|
24607
24599
|
s("update:show", !1);
|
|
24608
24600
|
};
|
|
@@ -24818,7 +24810,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
24818
24810
|
emits: ["update:show"],
|
|
24819
24811
|
setup(t, { emit: e }) {
|
|
24820
24812
|
qe(
|
|
24821
|
-
() => import("./index-
|
|
24813
|
+
() => import("./index-DyuWTFEJ.mjs")
|
|
24822
24814
|
);
|
|
24823
24815
|
const n = e, s = () => {
|
|
24824
24816
|
n("update:show", !1);
|
|
@@ -25415,7 +25407,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
25415
25407
|
page: 1,
|
|
25416
25408
|
category: (x = n.modelValue) == null ? void 0 : x.category
|
|
25417
25409
|
}
|
|
25418
|
-
}, y = await
|
|
25410
|
+
}, y = await Fn.get((T = n.modelValue) == null ? void 0 : T.api, k);
|
|
25419
25411
|
m.value = y.data.data.data;
|
|
25420
25412
|
};
|
|
25421
25413
|
return rt(() => {
|
|
@@ -25843,7 +25835,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
25843
25835
|
}
|
|
25844
25836
|
}, D = `${(O = n.modelValue) == null ? void 0 : O.api}?per_page=${m.value}&page=${d.value}`;
|
|
25845
25837
|
try {
|
|
25846
|
-
const { data: I } = await
|
|
25838
|
+
const { data: I } = await Fn.get(D, V);
|
|
25847
25839
|
g.value = I.meta.last_page, p.value = I.data;
|
|
25848
25840
|
} catch {
|
|
25849
25841
|
g.value = 1, p.value = [];
|
|
@@ -26118,7 +26110,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
26118
26110
|
}
|
|
26119
26111
|
}, G = `${(Q = n.modelValue) == null ? void 0 : Q.api}`;
|
|
26120
26112
|
try {
|
|
26121
|
-
const { data: X } = await
|
|
26113
|
+
const { data: X } = await Fn.get(G, te);
|
|
26122
26114
|
h.value = X.data;
|
|
26123
26115
|
} catch {
|
|
26124
26116
|
h.value = [];
|
|
@@ -26427,7 +26419,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
26427
26419
|
let C = null, w = null;
|
|
26428
26420
|
const k = async () => {
|
|
26429
26421
|
var M;
|
|
26430
|
-
|
|
26422
|
+
Fn.get("/article/category/listForWeb", {
|
|
26431
26423
|
params: { langCode: n.locale, host: n.host }
|
|
26432
26424
|
}).then((H) => {
|
|
26433
26425
|
i.value = H.data.data;
|
|
@@ -26441,7 +26433,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
26441
26433
|
page: 1
|
|
26442
26434
|
}
|
|
26443
26435
|
};
|
|
26444
|
-
let R = await
|
|
26436
|
+
let R = await Fn.get(n.modelValue.api, I);
|
|
26445
26437
|
g.value = R.data.data.data;
|
|
26446
26438
|
}, y = (I) => {
|
|
26447
26439
|
w = I, D();
|
|
@@ -26873,7 +26865,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
26873
26865
|
host: n.host,
|
|
26874
26866
|
langCode: n.locale
|
|
26875
26867
|
}
|
|
26876
|
-
}, C = `${(k = n.modelValue) == null ? void 0 : k.api}?count=${(y = n.modelValue) == null ? void 0 : y.count}`, { data: w } = await
|
|
26868
|
+
}, C = `${(k = n.modelValue) == null ? void 0 : k.api}?count=${(y = n.modelValue) == null ? void 0 : y.count}`, { data: w } = await Fn.get(C, p);
|
|
26877
26869
|
d.value = w.data;
|
|
26878
26870
|
};
|
|
26879
26871
|
return rt(() => {
|
|
@@ -27248,7 +27240,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
27248
27240
|
host: e.host,
|
|
27249
27241
|
langCode: e.locale
|
|
27250
27242
|
}
|
|
27251
|
-
}, x = "/school/listForComponent", { data: T } = await
|
|
27243
|
+
}, x = "/school/listForComponent", { data: T } = await Fn.get(x, y);
|
|
27252
27244
|
i.value = T.data;
|
|
27253
27245
|
} catch (y) {
|
|
27254
27246
|
console.error("Error fetching school list:", y);
|
|
@@ -27264,7 +27256,7 @@ const QM = /* @__PURE__ */ Aa(KM), ZM = { class: "setting-content" }, JM = { cla
|
|
|
27264
27256
|
langCode: e.locale,
|
|
27265
27257
|
locationId: y
|
|
27266
27258
|
}
|
|
27267
|
-
}, T = "/school/location", { data: E } = await
|
|
27259
|
+
}, T = "/school/location", { data: E } = await Fn.get(T, x);
|
|
27268
27260
|
i.value = E.data;
|
|
27269
27261
|
} catch (x) {
|
|
27270
27262
|
console.error("Error fetching location list:", x);
|
|
@@ -27548,10 +27540,10 @@ const IH = { key: 0 }, OH = {
|
|
|
27548
27540
|
schoolLocations: "/location/listForWeb"
|
|
27549
27541
|
}, a = U([]), l = U([]), r = () => {
|
|
27550
27542
|
Promise.all([
|
|
27551
|
-
|
|
27543
|
+
Fn.get(i.schoolCategories, {
|
|
27552
27544
|
params: { langCode: n.locale, host: n.host }
|
|
27553
27545
|
}),
|
|
27554
|
-
|
|
27546
|
+
Fn.get(i.schoolLocations)
|
|
27555
27547
|
]).then(([E, V]) => {
|
|
27556
27548
|
a.value = E.data.data, l.value = V.data.data, AH.nextTick(() => {
|
|
27557
27549
|
console.log("slugId", x.value), isNaN(x.value) || T();
|
|
@@ -27605,7 +27597,7 @@ const IH = { key: 0 }, OH = {
|
|
|
27605
27597
|
langCode: n.locale,
|
|
27606
27598
|
categoryId: x.value
|
|
27607
27599
|
}
|
|
27608
|
-
}, { data: V } = await
|
|
27600
|
+
}, { data: V } = await Fn.get(n.modelValue.api, E);
|
|
27609
27601
|
w.value = V.data.schools;
|
|
27610
27602
|
const D = V.data.logo_url;
|
|
27611
27603
|
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));
|
|
@@ -27885,15 +27877,15 @@ const IH = { key: 0 }, OH = {
|
|
|
27885
27877
|
host: n.host,
|
|
27886
27878
|
langCode: n.locale
|
|
27887
27879
|
}
|
|
27888
|
-
}, { data:
|
|
27889
|
-
k.value =
|
|
27880
|
+
}, { data: ye } = await Fn.get(se, ce);
|
|
27881
|
+
k.value = ye.data;
|
|
27890
27882
|
}
|
|
27891
27883
|
O();
|
|
27892
27884
|
}, O = () => {
|
|
27893
27885
|
const X = k.value.reduce(
|
|
27894
27886
|
(z, se, ce) => {
|
|
27895
|
-
const
|
|
27896
|
-
return z[
|
|
27887
|
+
const ye = Math.floor(ce / x.value);
|
|
27888
|
+
return z[ye] || (z[ye] = []), z[ye].push(se), z;
|
|
27897
27889
|
},
|
|
27898
27890
|
[]
|
|
27899
27891
|
);
|
|
@@ -27932,8 +27924,8 @@ const IH = { key: 0 }, OH = {
|
|
|
27932
27924
|
const z = y.value >= 1024 ? 170 : 150, se = oe(X).y - z;
|
|
27933
27925
|
window.scroll({ top: se, left: 0, behavior: "smooth" });
|
|
27934
27926
|
}, te = (X) => {
|
|
27935
|
-
const z = X.currentTarget, se = z.dataset.slug, ce = z.dataset.type,
|
|
27936
|
-
|
|
27927
|
+
const z = X.currentTarget, se = z.dataset.slug, ce = z.dataset.type, ye = k.value.find((Le) => Le.key == se || Le.slug == se);
|
|
27928
|
+
ye && (ce === "photo" ? Y(ye) : H(ye));
|
|
27937
27929
|
}, G = () => {
|
|
27938
27930
|
typeof document > "u" || (Object.values(document.getElementsByClassName("card-asset")).forEach(
|
|
27939
27931
|
(X) => {
|
|
@@ -27965,8 +27957,8 @@ const IH = { key: 0 }, OH = {
|
|
|
27965
27957
|
a.value ? (_(), S("div", {
|
|
27966
27958
|
key: 0,
|
|
27967
27959
|
class: "card-carousel-multi-row",
|
|
27968
|
-
onMouseenter: z[2] || (z[2] = (
|
|
27969
|
-
onMouseleave: z[3] || (z[3] = (
|
|
27960
|
+
onMouseenter: z[2] || (z[2] = (ye) => l.value = !0),
|
|
27961
|
+
onMouseleave: z[3] || (z[3] = (ye) => l.value = !1),
|
|
27970
27962
|
ref_key: "parent",
|
|
27971
27963
|
ref: g
|
|
27972
27964
|
}, [
|
|
@@ -27993,7 +27985,7 @@ const IH = { key: 0 }, OH = {
|
|
|
27993
27985
|
onSwiper: I
|
|
27994
27986
|
}, {
|
|
27995
27987
|
default: $(() => [
|
|
27996
|
-
(_(!0), S(ue, null, we(w.value, (
|
|
27988
|
+
(_(!0), S(ue, null, we(w.value, (ye, Le) => (_(), ne(be(Bs), {
|
|
27997
27989
|
class: "swiper-slide",
|
|
27998
27990
|
key: Le
|
|
27999
27991
|
}, {
|
|
@@ -28001,7 +27993,7 @@ const IH = { key: 0 }, OH = {
|
|
|
28001
27993
|
o("div", {
|
|
28002
27994
|
class: re(["row", [`row-cols-${T.value}`]])
|
|
28003
27995
|
}, [
|
|
28004
|
-
(_(!0), S(ue, null, we(
|
|
27996
|
+
(_(!0), S(ue, null, we(ye, (tt) => (_(), S("div", {
|
|
28005
27997
|
class: "slide-content col",
|
|
28006
27998
|
key: tt.key || tt.slug
|
|
28007
27999
|
}, [
|
|
@@ -28032,8 +28024,8 @@ const IH = { key: 0 }, OH = {
|
|
|
28032
28024
|
t.isPreview ? j("", !0) : (_(), ne(We, {
|
|
28033
28025
|
key: 2,
|
|
28034
28026
|
show: l.value,
|
|
28035
|
-
"onUpdate:show": z[0] || (z[0] = (
|
|
28036
|
-
onHandleEdit: z[1] || (z[1] = (
|
|
28027
|
+
"onUpdate:show": z[0] || (z[0] = (ye) => l.value = ye),
|
|
28028
|
+
onHandleEdit: z[1] || (z[1] = (ye) => r.value = !0),
|
|
28037
28029
|
onHandleDelete: u,
|
|
28038
28030
|
onHandleCopy: c,
|
|
28039
28031
|
onHandlePaste: v
|
|
@@ -28042,7 +28034,7 @@ const IH = { key: 0 }, OH = {
|
|
|
28042
28034
|
t.isPreview ? j("", !0) : (_(), ne(zH, {
|
|
28043
28035
|
key: 1,
|
|
28044
28036
|
show: r.value,
|
|
28045
|
-
"onUpdate:show": z[4] || (z[4] = (
|
|
28037
|
+
"onUpdate:show": z[4] || (z[4] = (ye) => r.value = ye),
|
|
28046
28038
|
data: t.modelValue
|
|
28047
28039
|
}, null, 8, ["show", "data"]))
|
|
28048
28040
|
], 64);
|
|
@@ -28414,7 +28406,7 @@ const IH = { key: 0 }, OH = {
|
|
|
28414
28406
|
},
|
|
28415
28407
|
emits: ["handleDelete", "handleCopy", "handlePaste", "handleClick"],
|
|
28416
28408
|
setup(t, { emit: e }) {
|
|
28417
|
-
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-
|
|
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-c_v1_-uP.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 = {};
|
|
28418
28410
|
for (const v in n)
|
|
28419
28411
|
try {
|
|
28420
28412
|
const h = v.split("/"), d = h[h.length - 2];
|
|
@@ -30115,7 +30107,7 @@ const IH = { key: 0 }, OH = {
|
|
|
30115
30107
|
},
|
|
30116
30108
|
emits: ["update:show"],
|
|
30117
30109
|
setup(t, { emit: e }) {
|
|
30118
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
30110
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-DyuWTFEJ.mjs")), i = U(!1), a = q(() => ({
|
|
30119
30111
|
animation: 200,
|
|
30120
30112
|
group: "programmes",
|
|
30121
30113
|
// 链接专用分组
|
|
@@ -31135,7 +31127,7 @@ const IH = { key: 0 }, OH = {
|
|
|
31135
31127
|
emits: ["update:show"],
|
|
31136
31128
|
setup(t, { emit: e }) {
|
|
31137
31129
|
qe(
|
|
31138
|
-
() => import("./index-
|
|
31130
|
+
() => import("./index-DyuWTFEJ.mjs")
|
|
31139
31131
|
);
|
|
31140
31132
|
const n = e, s = () => {
|
|
31141
31133
|
n("update:show", !1);
|
|
@@ -31345,7 +31337,7 @@ const IH = { key: 0 }, OH = {
|
|
|
31345
31337
|
emits: ["update:show"],
|
|
31346
31338
|
setup(t, { emit: e }) {
|
|
31347
31339
|
qe(
|
|
31348
|
-
() => import("./index-
|
|
31340
|
+
() => import("./index-DyuWTFEJ.mjs")
|
|
31349
31341
|
);
|
|
31350
31342
|
const n = e, s = () => {
|
|
31351
31343
|
n("update:show", !1);
|
|
@@ -32250,7 +32242,7 @@ function hd(t, e, n) {
|
|
|
32250
32242
|
}
|
|
32251
32243
|
hd.prototype = gm(zd.prototype);
|
|
32252
32244
|
hd.prototype.constructor = hd;
|
|
32253
|
-
function
|
|
32245
|
+
function Rn(t) {
|
|
32254
32246
|
var e, n, s, i;
|
|
32255
32247
|
if (t.div) {
|
|
32256
32248
|
n = t.div.offsetHeight, s = t.div.offsetWidth, i = t.div.offsetTop;
|
|
@@ -32259,7 +32251,7 @@ function Nn(t) {
|
|
|
32259
32251
|
}
|
|
32260
32252
|
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;
|
|
32261
32253
|
}
|
|
32262
|
-
|
|
32254
|
+
Rn.prototype.move = function(t, e) {
|
|
32263
32255
|
switch (e = e !== void 0 ? e : this.lineHeight, t) {
|
|
32264
32256
|
case "+x":
|
|
32265
32257
|
this.left += e, this.right += e;
|
|
@@ -32275,19 +32267,19 @@ Nn.prototype.move = function(t, e) {
|
|
|
32275
32267
|
break;
|
|
32276
32268
|
}
|
|
32277
32269
|
};
|
|
32278
|
-
|
|
32270
|
+
Rn.prototype.overlaps = function(t) {
|
|
32279
32271
|
return this.left < t.right && this.right > t.left && this.top < t.bottom && this.bottom > t.top;
|
|
32280
32272
|
};
|
|
32281
|
-
|
|
32273
|
+
Rn.prototype.overlapsAny = function(t) {
|
|
32282
32274
|
for (var e = 0; e < t.length; e++)
|
|
32283
32275
|
if (this.overlaps(t[e]))
|
|
32284
32276
|
return !0;
|
|
32285
32277
|
return !1;
|
|
32286
32278
|
};
|
|
32287
|
-
|
|
32279
|
+
Rn.prototype.within = function(t) {
|
|
32288
32280
|
return this.top >= t.top && this.bottom <= t.bottom && this.left >= t.left && this.right <= t.right;
|
|
32289
32281
|
};
|
|
32290
|
-
|
|
32282
|
+
Rn.prototype.overlapsOppositeAxis = function(t, e) {
|
|
32291
32283
|
switch (e) {
|
|
32292
32284
|
case "+x":
|
|
32293
32285
|
return this.left < t.left;
|
|
@@ -32299,11 +32291,11 @@ Nn.prototype.overlapsOppositeAxis = function(t, e) {
|
|
|
32299
32291
|
return this.bottom > t.bottom;
|
|
32300
32292
|
}
|
|
32301
32293
|
};
|
|
32302
|
-
|
|
32294
|
+
Rn.prototype.intersectPercentage = function(t) {
|
|
32303
32295
|
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;
|
|
32304
32296
|
return s / (this.height * this.width);
|
|
32305
32297
|
};
|
|
32306
|
-
|
|
32298
|
+
Rn.prototype.toCSSCompatValues = function(t) {
|
|
32307
32299
|
return {
|
|
32308
32300
|
top: this.top - t.top,
|
|
32309
32301
|
bottom: t.bottom - this.bottom,
|
|
@@ -32313,7 +32305,7 @@ Nn.prototype.toCSSCompatValues = function(t) {
|
|
|
32313
32305
|
width: this.width
|
|
32314
32306
|
};
|
|
32315
32307
|
};
|
|
32316
|
-
|
|
32308
|
+
Rn.getSimpleBoxPosition = function(t) {
|
|
32317
32309
|
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;
|
|
32318
32310
|
t = t.div ? t.div.getBoundingClientRect() : t.tagName ? t.getBoundingClientRect() : t;
|
|
32319
32311
|
var i = {
|
|
@@ -32328,17 +32320,17 @@ Nn.getSimpleBoxPosition = function(t) {
|
|
|
32328
32320
|
};
|
|
32329
32321
|
function zW(t, e, n, s) {
|
|
32330
32322
|
function i(C, w) {
|
|
32331
|
-
for (var k, y = new
|
|
32323
|
+
for (var k, y = new Rn(C), x = 1, T = 0; T < w.length; T++) {
|
|
32332
32324
|
for (; C.overlapsOppositeAxis(n, w[T]) || C.within(n) && C.overlapsAny(s); )
|
|
32333
32325
|
C.move(w[T]);
|
|
32334
32326
|
if (C.within(n))
|
|
32335
32327
|
return C;
|
|
32336
32328
|
var E = C.intersectPercentage(n);
|
|
32337
|
-
x > E && (k = new
|
|
32329
|
+
x > E && (k = new Rn(C), x = E), C = new Rn(y);
|
|
32338
32330
|
}
|
|
32339
32331
|
return k || y;
|
|
32340
32332
|
}
|
|
32341
|
-
var a = new
|
|
32333
|
+
var a = new Rn(e), l = e.cue, r = qW(l), u = [];
|
|
32342
32334
|
if (l.snapToLines) {
|
|
32343
32335
|
var c;
|
|
32344
32336
|
switch (l.vertical) {
|
|
@@ -32381,7 +32373,7 @@ function zW(t, e, n, s) {
|
|
|
32381
32373
|
});
|
|
32382
32374
|
break;
|
|
32383
32375
|
}
|
|
32384
|
-
u = ["+y", "-x", "+x", "-y"], a = new
|
|
32376
|
+
u = ["+y", "-x", "+x", "-y"], a = new Rn(e);
|
|
32385
32377
|
}
|
|
32386
32378
|
var p = i(a, u);
|
|
32387
32379
|
e.move(p.toCSSCompatValues(n));
|
|
@@ -32421,12 +32413,12 @@ Ml.processCues = function(t, e, n) {
|
|
|
32421
32413
|
s.appendChild(e[a].displayState);
|
|
32422
32414
|
return;
|
|
32423
32415
|
}
|
|
32424
|
-
var l = [], r =
|
|
32416
|
+
var l = [], r = Rn.getSimpleBoxPosition(s), u = Math.round(r.height * WW * 100) / 100, c = {
|
|
32425
32417
|
font: u + "px " + GW
|
|
32426
32418
|
};
|
|
32427
32419
|
(function() {
|
|
32428
32420
|
for (var v, h, d = 0; d < e.length; d++)
|
|
32429
|
-
h = e[d], v = new hd(t, h, c), s.appendChild(v.div), zW(t, v, r, l), h.displayState = v.div, l.push(
|
|
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(Rn.getSimpleBoxPosition(v));
|
|
32430
32422
|
})();
|
|
32431
32423
|
};
|
|
32432
32424
|
Ml.Parser = function(t, e, n) {
|
|
@@ -32957,7 +32949,7 @@ const hG = " ", Nu = function(t) {
|
|
|
32957
32949
|
}, mG = function() {
|
|
32958
32950
|
const n = "(?:" + "[^=]*" + ")=(?:" + '"[^"]*"|[^,]*' + ")";
|
|
32959
32951
|
return new RegExp("(?:^|,)(" + n + ")");
|
|
32960
|
-
},
|
|
32952
|
+
}, Dn = function(t) {
|
|
32961
32953
|
const e = {};
|
|
32962
32954
|
if (!t)
|
|
32963
32955
|
return e;
|
|
@@ -33072,7 +33064,7 @@ class pG extends ym {
|
|
|
33072
33064
|
type: "tag",
|
|
33073
33065
|
tagType: "map"
|
|
33074
33066
|
}, n[1]) {
|
|
33075
|
-
const l =
|
|
33067
|
+
const l = Dn(n[1]);
|
|
33076
33068
|
l.URI && (s.uri = l.URI), l.BYTERANGE && (s.byterange = Nu(l.BYTERANGE));
|
|
33077
33069
|
}
|
|
33078
33070
|
this.trigger("data", s);
|
|
@@ -33082,14 +33074,14 @@ class pG extends ym {
|
|
|
33082
33074
|
s = {
|
|
33083
33075
|
type: "tag",
|
|
33084
33076
|
tagType: "stream-inf"
|
|
33085
|
-
}, n[1] && (s.attributes =
|
|
33077
|
+
}, n[1] && (s.attributes = Dn(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);
|
|
33086
33078
|
return;
|
|
33087
33079
|
}
|
|
33088
33080
|
if (n = /^#EXT-X-MEDIA:(.*)$/.exec(a), n) {
|
|
33089
33081
|
s = {
|
|
33090
33082
|
type: "tag",
|
|
33091
33083
|
tagType: "media"
|
|
33092
|
-
}, n[1] && (s.attributes =
|
|
33084
|
+
}, n[1] && (s.attributes = Dn(n[1])), this.trigger("data", s);
|
|
33093
33085
|
return;
|
|
33094
33086
|
}
|
|
33095
33087
|
if (n = /^#EXT-X-ENDLIST/.exec(a), n) {
|
|
@@ -33117,14 +33109,14 @@ class pG extends ym {
|
|
|
33117
33109
|
s = {
|
|
33118
33110
|
type: "tag",
|
|
33119
33111
|
tagType: "key"
|
|
33120
|
-
}, n[1] && (s.attributes =
|
|
33112
|
+
}, n[1] && (s.attributes = Dn(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);
|
|
33121
33113
|
return;
|
|
33122
33114
|
}
|
|
33123
33115
|
if (n = /^#EXT-X-START:(.*)$/.exec(a), n) {
|
|
33124
33116
|
s = {
|
|
33125
33117
|
type: "tag",
|
|
33126
33118
|
tagType: "start"
|
|
33127
|
-
}, n[1] && (s.attributes =
|
|
33119
|
+
}, n[1] && (s.attributes = Dn(n[1]), s.attributes["TIME-OFFSET"] = parseFloat(s.attributes["TIME-OFFSET"]), s.attributes.PRECISE = /YES/.test(s.attributes.PRECISE)), this.trigger("data", s);
|
|
33128
33120
|
return;
|
|
33129
33121
|
}
|
|
33130
33122
|
if (n = /^#EXT-X-CUE-OUT-CONT:(.*)?$/.exec(a), n) {
|
|
@@ -33152,14 +33144,14 @@ class pG extends ym {
|
|
|
33152
33144
|
s = {
|
|
33153
33145
|
type: "tag",
|
|
33154
33146
|
tagType: "skip"
|
|
33155
|
-
}, s.attributes =
|
|
33147
|
+
}, s.attributes = Dn(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);
|
|
33156
33148
|
return;
|
|
33157
33149
|
}
|
|
33158
33150
|
if (n = /^#EXT-X-PART:(.*)$/.exec(a), n && n[1]) {
|
|
33159
33151
|
s = {
|
|
33160
33152
|
type: "tag",
|
|
33161
33153
|
tagType: "part"
|
|
33162
|
-
}, s.attributes =
|
|
33154
|
+
}, s.attributes = Dn(n[1]), ["DURATION"].forEach(function(l) {
|
|
33163
33155
|
s.attributes.hasOwnProperty(l) && (s.attributes[l] = parseFloat(s.attributes[l]));
|
|
33164
33156
|
}), ["INDEPENDENT", "GAP"].forEach(function(l) {
|
|
33165
33157
|
s.attributes.hasOwnProperty(l) && (s.attributes[l] = /YES/.test(s.attributes[l]));
|
|
@@ -33170,7 +33162,7 @@ class pG extends ym {
|
|
|
33170
33162
|
s = {
|
|
33171
33163
|
type: "tag",
|
|
33172
33164
|
tagType: "server-control"
|
|
33173
|
-
}, s.attributes =
|
|
33165
|
+
}, s.attributes = Dn(n[1]), ["CAN-SKIP-UNTIL", "PART-HOLD-BACK", "HOLD-BACK"].forEach(function(l) {
|
|
33174
33166
|
s.attributes.hasOwnProperty(l) && (s.attributes[l] = parseFloat(s.attributes[l]));
|
|
33175
33167
|
}), ["CAN-SKIP-DATERANGES", "CAN-BLOCK-RELOAD"].forEach(function(l) {
|
|
33176
33168
|
s.attributes.hasOwnProperty(l) && (s.attributes[l] = /YES/.test(s.attributes[l]));
|
|
@@ -33181,7 +33173,7 @@ class pG extends ym {
|
|
|
33181
33173
|
s = {
|
|
33182
33174
|
type: "tag",
|
|
33183
33175
|
tagType: "part-inf"
|
|
33184
|
-
}, s.attributes =
|
|
33176
|
+
}, s.attributes = Dn(n[1]), ["PART-TARGET"].forEach(function(l) {
|
|
33185
33177
|
s.attributes.hasOwnProperty(l) && (s.attributes[l] = parseFloat(s.attributes[l]));
|
|
33186
33178
|
}), this.trigger("data", s);
|
|
33187
33179
|
return;
|
|
@@ -33190,7 +33182,7 @@ class pG extends ym {
|
|
|
33190
33182
|
s = {
|
|
33191
33183
|
type: "tag",
|
|
33192
33184
|
tagType: "preload-hint"
|
|
33193
|
-
}, s.attributes =
|
|
33185
|
+
}, s.attributes = Dn(n[1]), ["BYTERANGE-START", "BYTERANGE-LENGTH"].forEach(function(l) {
|
|
33194
33186
|
if (s.attributes.hasOwnProperty(l)) {
|
|
33195
33187
|
s.attributes[l] = parseInt(s.attributes[l], 10);
|
|
33196
33188
|
const r = l === "BYTERANGE-LENGTH" ? "length" : "offset";
|
|
@@ -33203,7 +33195,7 @@ class pG extends ym {
|
|
|
33203
33195
|
s = {
|
|
33204
33196
|
type: "tag",
|
|
33205
33197
|
tagType: "rendition-report"
|
|
33206
|
-
}, s.attributes =
|
|
33198
|
+
}, s.attributes = Dn(n[1]), ["LAST-MSN", "LAST-PART"].forEach(function(l) {
|
|
33207
33199
|
s.attributes.hasOwnProperty(l) && (s.attributes[l] = parseInt(s.attributes[l], 10));
|
|
33208
33200
|
}), this.trigger("data", s);
|
|
33209
33201
|
return;
|
|
@@ -33212,7 +33204,7 @@ class pG extends ym {
|
|
|
33212
33204
|
s = {
|
|
33213
33205
|
type: "tag",
|
|
33214
33206
|
tagType: "daterange"
|
|
33215
|
-
}, s.attributes =
|
|
33207
|
+
}, s.attributes = Dn(n[1]), ["ID", "CLASS"].forEach(function(r) {
|
|
33216
33208
|
s.attributes.hasOwnProperty(r) && (s.attributes[r] = String(s.attributes[r]));
|
|
33217
33209
|
}), ["START-DATE", "END-DATE"].forEach(function(r) {
|
|
33218
33210
|
s.attributes.hasOwnProperty(r) && (s.attributes[r] = new Date(s.attributes[r]));
|
|
@@ -33251,21 +33243,21 @@ class pG extends ym {
|
|
|
33251
33243
|
s = {
|
|
33252
33244
|
type: "tag",
|
|
33253
33245
|
tagType: "content-steering"
|
|
33254
|
-
}, s.attributes =
|
|
33246
|
+
}, s.attributes = Dn(n[1]), this.trigger("data", s);
|
|
33255
33247
|
return;
|
|
33256
33248
|
}
|
|
33257
33249
|
if (n = /^#EXT-X-I-FRAME-STREAM-INF:(.*)$/.exec(a), n) {
|
|
33258
33250
|
s = {
|
|
33259
33251
|
type: "tag",
|
|
33260
33252
|
tagType: "i-frame-playlist"
|
|
33261
|
-
}, s.attributes =
|
|
33253
|
+
}, s.attributes = Dn(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);
|
|
33262
33254
|
return;
|
|
33263
33255
|
}
|
|
33264
33256
|
if (n = /^#EXT-X-DEFINE:(.*)$/.exec(a), n) {
|
|
33265
33257
|
s = {
|
|
33266
33258
|
type: "tag",
|
|
33267
33259
|
tagType: "define"
|
|
33268
|
-
}, s.attributes =
|
|
33260
|
+
}, s.attributes = Dn(n[1]), this.trigger("data", s);
|
|
33269
33261
|
return;
|
|
33270
33262
|
}
|
|
33271
33263
|
this.trigger("data", {
|
|
@@ -34092,22 +34084,22 @@ function Zn(t, e) {
|
|
|
34092
34084
|
}
|
|
34093
34085
|
n.constructor != t && (typeof t != "function" && console.error("unknown Class:" + t), n.constructor = t);
|
|
34094
34086
|
}
|
|
34095
|
-
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,
|
|
34096
|
-
|
|
34097
|
-
|
|
34098
|
-
var Gn =
|
|
34099
|
-
|
|
34100
|
-
|
|
34101
|
-
|
|
34102
|
-
|
|
34103
|
-
var Vg =
|
|
34104
|
-
|
|
34105
|
-
var Kf =
|
|
34106
|
-
|
|
34107
|
-
|
|
34108
|
-
|
|
34109
|
-
|
|
34110
|
-
|
|
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, Sn = {}, vn = {};
|
|
34088
|
+
Sn.INDEX_SIZE_ERR = (vn[1] = "Index size error", 1);
|
|
34089
|
+
Sn.DOMSTRING_SIZE_ERR = (vn[2] = "DOMString size error", 2);
|
|
34090
|
+
var Gn = Sn.HIERARCHY_REQUEST_ERR = (vn[3] = "Hierarchy request error", 3);
|
|
34091
|
+
Sn.WRONG_DOCUMENT_ERR = (vn[4] = "Wrong document", 4);
|
|
34092
|
+
Sn.INVALID_CHARACTER_ERR = (vn[5] = "Invalid character", 5);
|
|
34093
|
+
Sn.NO_DATA_ALLOWED_ERR = (vn[6] = "No data allowed", 6);
|
|
34094
|
+
Sn.NO_MODIFICATION_ALLOWED_ERR = (vn[7] = "No modification allowed", 7);
|
|
34095
|
+
var Vg = Sn.NOT_FOUND_ERR = (vn[8] = "Not found", 8);
|
|
34096
|
+
Sn.NOT_SUPPORTED_ERR = (vn[9] = "Not supported", 9);
|
|
34097
|
+
var Kf = Sn.INUSE_ATTRIBUTE_ERR = (vn[10] = "Attribute in use", 10);
|
|
34098
|
+
Sn.INVALID_STATE_ERR = (vn[11] = "Invalid state", 11);
|
|
34099
|
+
Sn.SYNTAX_ERR = (vn[12] = "Syntax error", 12);
|
|
34100
|
+
Sn.INVALID_MODIFICATION_ERR = (vn[13] = "Invalid modification", 13);
|
|
34101
|
+
Sn.NAMESPACE_ERR = (vn[14] = "Invalid namespace", 14);
|
|
34102
|
+
Sn.INVALID_ACCESS_ERR = (vn[15] = "Invalid access", 15);
|
|
34111
34103
|
function Jt(t, e) {
|
|
34112
34104
|
if (e instanceof Error)
|
|
34113
34105
|
var n = e;
|
|
@@ -34116,7 +34108,7 @@ function Jt(t, e) {
|
|
|
34116
34108
|
return n.code = t, e && (this.message = this.message + ": " + e), n;
|
|
34117
34109
|
}
|
|
34118
34110
|
Jt.prototype = Error.prototype;
|
|
34119
|
-
tr(
|
|
34111
|
+
tr(Sn, Jt);
|
|
34120
34112
|
function wi() {
|
|
34121
34113
|
}
|
|
34122
34114
|
wi.prototype = {
|
|
@@ -38933,7 +38925,7 @@ var sY = et([73, 68, 51]), iY = function(e, n) {
|
|
|
38933
38925
|
return Jg(e, "h264", n, s);
|
|
38934
38926
|
}, fY = function(e, n, s) {
|
|
38935
38927
|
return Jg(e, "h265", n, s);
|
|
38936
|
-
},
|
|
38928
|
+
}, Ln = {
|
|
38937
38929
|
// "webm" string literal in hex
|
|
38938
38930
|
webm: et([119, 101, 98, 109]),
|
|
38939
38931
|
// "matroska" string literal in hex
|
|
@@ -38980,39 +38972,39 @@ var sY = et([73, 68, 51]), iY = function(e, n) {
|
|
|
38980
38972
|
},
|
|
38981
38973
|
webm: function(e) {
|
|
38982
38974
|
var n = _1(e, [jr.EBML, jr.DocType])[0];
|
|
38983
|
-
return Ht(n,
|
|
38975
|
+
return Ht(n, Ln.webm);
|
|
38984
38976
|
},
|
|
38985
38977
|
mkv: function(e) {
|
|
38986
38978
|
var n = _1(e, [jr.EBML, jr.DocType])[0];
|
|
38987
|
-
return Ht(n,
|
|
38979
|
+
return Ht(n, Ln.matroska);
|
|
38988
38980
|
},
|
|
38989
38981
|
mp4: function(e) {
|
|
38990
38982
|
if (Vl["3gp"](e) || Vl.mov(e))
|
|
38991
38983
|
return !1;
|
|
38992
|
-
if (Ht(e,
|
|
38984
|
+
if (Ht(e, Ln.mp4, {
|
|
38993
38985
|
offset: 4
|
|
38994
|
-
}) || Ht(e,
|
|
38986
|
+
}) || Ht(e, Ln.fmp4, {
|
|
38995
38987
|
offset: 4
|
|
38996
|
-
}) || Ht(e,
|
|
38988
|
+
}) || Ht(e, Ln.moof, {
|
|
38997
38989
|
offset: 4
|
|
38998
|
-
}) || Ht(e,
|
|
38990
|
+
}) || Ht(e, Ln.moov, {
|
|
38999
38991
|
offset: 4
|
|
39000
38992
|
}))
|
|
39001
38993
|
return !0;
|
|
39002
38994
|
},
|
|
39003
38995
|
mov: function(e) {
|
|
39004
|
-
return Ht(e,
|
|
38996
|
+
return Ht(e, Ln.mov, {
|
|
39005
38997
|
offset: 4
|
|
39006
38998
|
});
|
|
39007
38999
|
},
|
|
39008
39000
|
"3gp": function(e) {
|
|
39009
|
-
return Ht(e,
|
|
39001
|
+
return Ht(e, Ln["3gp"], {
|
|
39010
39002
|
offset: 4
|
|
39011
39003
|
});
|
|
39012
39004
|
},
|
|
39013
39005
|
ac3: function(e) {
|
|
39014
39006
|
var n = To(e);
|
|
39015
|
-
return Ht(e,
|
|
39007
|
+
return Ht(e, Ln.ac3, {
|
|
39016
39008
|
offset: n
|
|
39017
39009
|
});
|
|
39018
39010
|
},
|
|
@@ -39028,20 +39020,20 @@ var sY = et([73, 68, 51]), iY = function(e, n) {
|
|
|
39028
39020
|
},
|
|
39029
39021
|
flac: function(e) {
|
|
39030
39022
|
var n = To(e);
|
|
39031
|
-
return Ht(e,
|
|
39023
|
+
return Ht(e, Ln.flac, {
|
|
39032
39024
|
offset: n
|
|
39033
39025
|
});
|
|
39034
39026
|
},
|
|
39035
39027
|
ogg: function(e) {
|
|
39036
|
-
return Ht(e,
|
|
39028
|
+
return Ht(e, Ln.ogg);
|
|
39037
39029
|
},
|
|
39038
39030
|
avi: function(e) {
|
|
39039
|
-
return Ht(e,
|
|
39031
|
+
return Ht(e, Ln.riff) && Ht(e, Ln.avi, {
|
|
39040
39032
|
offset: 8
|
|
39041
39033
|
});
|
|
39042
39034
|
},
|
|
39043
39035
|
wav: function(e) {
|
|
39044
|
-
return Ht(e,
|
|
39036
|
+
return Ht(e, Ln.riff) && Ht(e, Ln.wav, {
|
|
39045
39037
|
offset: 8
|
|
39046
39038
|
});
|
|
39047
39039
|
},
|
|
@@ -39244,7 +39236,7 @@ if (!hl) {
|
|
|
39244
39236
|
return !n && /Trident\/7.0/i.test(t) && /rv:11.0/.test(t) && (n = 11), n;
|
|
39245
39237
|
}(), 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;
|
|
39246
39238
|
}
|
|
39247
|
-
const
|
|
39239
|
+
const Cn = tu || bd || Im, nu = (_d || Cn) && !li;
|
|
39248
39240
|
var d2 = /* @__PURE__ */ Object.freeze({
|
|
39249
39241
|
__proto__: null,
|
|
39250
39242
|
get IS_IPOD() {
|
|
@@ -39303,7 +39295,7 @@ var d2 = /* @__PURE__ */ Object.freeze({
|
|
|
39303
39295
|
return Cd;
|
|
39304
39296
|
},
|
|
39305
39297
|
TOUCH_ENABLED: Qo,
|
|
39306
|
-
IS_IOS:
|
|
39298
|
+
IS_IOS: Cn,
|
|
39307
39299
|
IS_ANY_SAFARI: nu
|
|
39308
39300
|
});
|
|
39309
39301
|
function w1(t) {
|
|
@@ -39431,7 +39423,7 @@ function au(t, e) {
|
|
|
39431
39423
|
x: 0,
|
|
39432
39424
|
y: 0
|
|
39433
39425
|
};
|
|
39434
|
-
if (
|
|
39426
|
+
if (Cn) {
|
|
39435
39427
|
let v = t;
|
|
39436
39428
|
for (; v && v.nodeName.toLowerCase() !== "html"; ) {
|
|
39437
39429
|
const h = Dl(v, "transform");
|
|
@@ -39451,7 +39443,7 @@ function au(t, e) {
|
|
|
39451
39443
|
}
|
|
39452
39444
|
const s = {}, i = Zo(e.target), a = Zo(t), l = a.width, r = a.height;
|
|
39453
39445
|
let u = e.offsetY - (a.top - i.top), c = e.offsetX - (a.left - i.left);
|
|
39454
|
-
return e.changedTouches && (c = e.changedTouches[0].pageX - a.left, u = e.changedTouches[0].pageY + a.top,
|
|
39446
|
+
return e.changedTouches && (c = e.changedTouches[0].pageX - a.left, u = e.changedTouches[0].pageY + a.top, Cn && (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;
|
|
39455
39447
|
}
|
|
39456
39448
|
function v2(t) {
|
|
39457
39449
|
return ai(t) && t.nodeType === 3;
|
|
@@ -39567,17 +39559,17 @@ const T2 = function(t) {
|
|
|
39567
39559
|
}, k2 = function(t, e) {
|
|
39568
39560
|
t.styleSheet ? t.styleSheet.cssText = e : t.textContent = e;
|
|
39569
39561
|
};
|
|
39570
|
-
var
|
|
39562
|
+
var Nn = /* @__PURE__ */ new WeakMap();
|
|
39571
39563
|
const SY = 3;
|
|
39572
39564
|
let VY = SY;
|
|
39573
39565
|
function Ps() {
|
|
39574
39566
|
return VY++;
|
|
39575
39567
|
}
|
|
39576
39568
|
function x1(t, e) {
|
|
39577
|
-
if (!
|
|
39569
|
+
if (!Nn.has(t))
|
|
39578
39570
|
return;
|
|
39579
|
-
const n =
|
|
39580
|
-
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 &&
|
|
39571
|
+
const n = Nn.get(t);
|
|
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 && Nn.delete(t);
|
|
39581
39573
|
}
|
|
39582
39574
|
function Um(t, e, n, s) {
|
|
39583
39575
|
n.forEach(function(i) {
|
|
@@ -39632,8 +39624,8 @@ const EY = function() {
|
|
|
39632
39624
|
function fs(t, e, n) {
|
|
39633
39625
|
if (Array.isArray(e))
|
|
39634
39626
|
return Um(fs, t, e, n);
|
|
39635
|
-
|
|
39636
|
-
const s =
|
|
39627
|
+
Nn.has(t) || Nn.set(t, {});
|
|
39628
|
+
const s = Nn.get(t);
|
|
39637
39629
|
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) {
|
|
39638
39630
|
if (s.disabled)
|
|
39639
39631
|
return;
|
|
@@ -39656,14 +39648,14 @@ function fs(t, e, n) {
|
|
|
39656
39648
|
}), t.addEventListener(e, s.dispatcher, i);
|
|
39657
39649
|
} else t.attachEvent && t.attachEvent("on" + e, s.dispatcher);
|
|
39658
39650
|
}
|
|
39659
|
-
function
|
|
39660
|
-
if (!
|
|
39651
|
+
function Tn(t, e, n) {
|
|
39652
|
+
if (!Nn.has(t))
|
|
39661
39653
|
return;
|
|
39662
|
-
const s =
|
|
39654
|
+
const s = Nn.get(t);
|
|
39663
39655
|
if (!s.handlers)
|
|
39664
39656
|
return;
|
|
39665
39657
|
if (Array.isArray(e))
|
|
39666
|
-
return Um(
|
|
39658
|
+
return Um(Tn, t, e, n);
|
|
39667
39659
|
const i = function(l, r) {
|
|
39668
39660
|
s.handlers[r] = [], x1(l, r);
|
|
39669
39661
|
};
|
|
@@ -39685,15 +39677,15 @@ function kn(t, e, n) {
|
|
|
39685
39677
|
}
|
|
39686
39678
|
}
|
|
39687
39679
|
function Rl(t, e, n) {
|
|
39688
|
-
const s =
|
|
39680
|
+
const s = Nn.has(t) ? Nn.get(t) : {}, i = t.parentNode || t.ownerDocument;
|
|
39689
39681
|
if (typeof e == "string" ? e = {
|
|
39690
39682
|
type: e,
|
|
39691
39683
|
target: t
|
|
39692
39684
|
} : e.target || (e.target = t), e = ou(e), s.dispatcher && s.dispatcher.call(t, e, n), i && !e.isPropagationStopped() && e.bubbles === !0)
|
|
39693
39685
|
Rl.call(null, i, e, n);
|
|
39694
39686
|
else if (!i && !e.defaultPrevented && e.target && e.target[e.type]) {
|
|
39695
|
-
|
|
39696
|
-
const a =
|
|
39687
|
+
Nn.has(e.target) || Nn.set(e.target, {});
|
|
39688
|
+
const a = Nn.get(e.target);
|
|
39697
39689
|
e.target[e.type] && (a.disabled = !0, typeof e.target[e.type] == "function" && e.target[e.type](), a.disabled = !1);
|
|
39698
39690
|
}
|
|
39699
39691
|
return !e.defaultPrevented;
|
|
@@ -39702,13 +39694,13 @@ function ru(t, e, n) {
|
|
|
39702
39694
|
if (Array.isArray(e))
|
|
39703
39695
|
return Um(ru, t, e, n);
|
|
39704
39696
|
const s = function() {
|
|
39705
|
-
|
|
39697
|
+
Tn(t, e, s), n.apply(this, arguments);
|
|
39706
39698
|
};
|
|
39707
39699
|
s.guid = n.guid = n.guid || Ps(), fs(t, e, s);
|
|
39708
39700
|
}
|
|
39709
39701
|
function Bm(t, e, n) {
|
|
39710
39702
|
const s = function() {
|
|
39711
|
-
|
|
39703
|
+
Tn(t, e, s), n.apply(this, arguments);
|
|
39712
39704
|
};
|
|
39713
39705
|
s.guid = n.guid = n.guid || Ps(), fs(t, e, s);
|
|
39714
39706
|
}
|
|
@@ -39716,7 +39708,7 @@ var $Y = /* @__PURE__ */ Object.freeze({
|
|
|
39716
39708
|
__proto__: null,
|
|
39717
39709
|
fixEvent: ou,
|
|
39718
39710
|
on: fs,
|
|
39719
|
-
off:
|
|
39711
|
+
off: Tn,
|
|
39720
39712
|
trigger: Rl,
|
|
39721
39713
|
one: ru,
|
|
39722
39714
|
any: Bm
|
|
@@ -39780,7 +39772,7 @@ class gs {
|
|
|
39780
39772
|
* The function to remove.
|
|
39781
39773
|
*/
|
|
39782
39774
|
off(e, n) {
|
|
39783
|
-
|
|
39775
|
+
Tn(this, e, n);
|
|
39784
39776
|
}
|
|
39785
39777
|
/**
|
|
39786
39778
|
* This function will add an `event listener` that gets triggered only once. After the
|
|
@@ -40018,10 +40010,10 @@ const du = (t) => typeof t.name == "function" ? t.name() : typeof t.name == "str
|
|
|
40018
40010
|
*/
|
|
40019
40011
|
off(t, e, n) {
|
|
40020
40012
|
if (!t || Ic(t))
|
|
40021
|
-
|
|
40013
|
+
Tn(this.eventBusEl_, t, e);
|
|
40022
40014
|
else {
|
|
40023
40015
|
const s = t, i = e;
|
|
40024
|
-
Td(s, this, "off"), V2(i, this, "off"), E2(n, this, "off"), n = Ut(this, n), this.off("dispose", n), s.nodeName ? (
|
|
40016
|
+
Td(s, this, "off"), V2(i, this, "off"), E2(n, this, "off"), n = Ut(this, n), this.off("dispose", n), s.nodeName ? (Tn(s, i, n), Tn(s, "dispose", n)) : xi(s) && (s.off(i, n), s.off("dispose", n));
|
|
40025
40017
|
}
|
|
40026
40018
|
},
|
|
40027
40019
|
/**
|
|
@@ -40060,7 +40052,7 @@ function Rm(t, e = {}) {
|
|
|
40060
40052
|
s();
|
|
40061
40053
|
}), t.on("dispose", () => {
|
|
40062
40054
|
t.off(), [t, t.el_, t.eventBusEl_].forEach(function(s) {
|
|
40063
|
-
s &&
|
|
40055
|
+
s && Nn.has(s) && Nn.delete(s);
|
|
40064
40056
|
}), le.setTimeout(() => {
|
|
40065
40057
|
t.eventBusEl_ = null;
|
|
40066
40058
|
}, 0);
|
|
@@ -42590,14 +42582,14 @@ const Ll = {
|
|
|
42590
42582
|
getterName: "remoteTextTrackEls",
|
|
42591
42583
|
privateName: "remoteTextTrackEls_"
|
|
42592
42584
|
}
|
|
42593
|
-
},
|
|
42585
|
+
}, Un = Object.assign({}, Es, Ll);
|
|
42594
42586
|
Ll.names = Object.keys(Ll);
|
|
42595
42587
|
Es.names = Object.keys(Es);
|
|
42596
|
-
|
|
42588
|
+
Un.names = [].concat(Ll.names).concat(Es.names);
|
|
42597
42589
|
function zY(t, e, n, s, i = {}) {
|
|
42598
42590
|
const a = t.textTracks();
|
|
42599
42591
|
i.kind = e, n && (i.label = n), s && (i.language = s), i.tech = t;
|
|
42600
|
-
const l = new
|
|
42592
|
+
const l = new Un.text.TrackClass(i);
|
|
42601
42593
|
return a.addTrack(l), l;
|
|
42602
42594
|
}
|
|
42603
42595
|
class ut extends Te {
|
|
@@ -42616,12 +42608,12 @@ class ut extends Te {
|
|
|
42616
42608
|
this.hasStarted_ = !0;
|
|
42617
42609
|
}), this.on("loadstart", function() {
|
|
42618
42610
|
this.hasStarted_ = !1;
|
|
42619
|
-
}),
|
|
42620
|
-
const i =
|
|
42611
|
+
}), Un.names.forEach((s) => {
|
|
42612
|
+
const i = Un[s];
|
|
42621
42613
|
e && e[i.getterName] && (this[i.privateName] = e[i.getterName]);
|
|
42622
42614
|
}), this.featuresProgressEvents || this.manualProgressOn(), this.featuresTimeupdateEvents || this.manualTimeUpdatesOn(), ["Text", "Audio", "Video"].forEach((s) => {
|
|
42623
42615
|
e[`native${s}Tracks`] === !1 && (this[`featuresNative${s}Tracks`] = !1);
|
|
42624
|
-
}), 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
|
|
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 Un.text.ListClass(), this.initTrackListeners(), e.nativeControlsForTouch || this.emitTapEvents(), this.constructor && (this.name_ = this.constructor.name || "Unknown Tech");
|
|
42625
42617
|
}
|
|
42626
42618
|
/**
|
|
42627
42619
|
* A special function to trigger source set in a way that will allow player
|
|
@@ -43239,8 +43231,8 @@ class ut extends Te {
|
|
|
43239
43231
|
}
|
|
43240
43232
|
}
|
|
43241
43233
|
}
|
|
43242
|
-
|
|
43243
|
-
const e =
|
|
43234
|
+
Un.names.forEach(function(t) {
|
|
43235
|
+
const e = Un[t];
|
|
43244
43236
|
ut.prototype[e.getterName] = function() {
|
|
43245
43237
|
return this[e.privateName] = this[e.privateName] || new e.ListClass(), this[e.privateName];
|
|
43246
43238
|
};
|
|
@@ -44506,7 +44498,7 @@ class dK extends Te {
|
|
|
44506
44498
|
}
|
|
44507
44499
|
}
|
|
44508
44500
|
Te.registerComponent("LoadingSpinner", dK);
|
|
44509
|
-
class
|
|
44501
|
+
class kn extends cu {
|
|
44510
44502
|
/**
|
|
44511
44503
|
* Create the `Button`s DOM element.
|
|
44512
44504
|
*
|
|
@@ -44588,8 +44580,8 @@ class Sn extends cu {
|
|
|
44588
44580
|
super.handleKeyDown(e);
|
|
44589
44581
|
}
|
|
44590
44582
|
}
|
|
44591
|
-
Te.registerComponent("Button",
|
|
44592
|
-
class F2 extends
|
|
44583
|
+
Te.registerComponent("Button", kn);
|
|
44584
|
+
class F2 extends kn {
|
|
44593
44585
|
constructor(e, n) {
|
|
44594
44586
|
super(e, n), this.mouseused_ = !1, this.setIcon("play"), this.on("mousedown", (s) => this.handleMouseDown(s));
|
|
44595
44587
|
}
|
|
@@ -44654,7 +44646,7 @@ class F2 extends Sn {
|
|
|
44654
44646
|
}
|
|
44655
44647
|
F2.prototype.controlText_ = "Play Video";
|
|
44656
44648
|
Te.registerComponent("BigPlayButton", F2);
|
|
44657
|
-
class uK extends
|
|
44649
|
+
class uK extends kn {
|
|
44658
44650
|
/**
|
|
44659
44651
|
* Creates an instance of the this class.
|
|
44660
44652
|
*
|
|
@@ -44711,7 +44703,7 @@ class uK extends Sn {
|
|
|
44711
44703
|
}
|
|
44712
44704
|
}
|
|
44713
44705
|
Te.registerComponent("CloseButton", uK);
|
|
44714
|
-
class H2 extends
|
|
44706
|
+
class H2 extends kn {
|
|
44715
44707
|
/**
|
|
44716
44708
|
* Creates an instance of this class.
|
|
44717
44709
|
*
|
|
@@ -45068,7 +45060,7 @@ class hK extends Te {
|
|
|
45068
45060
|
}
|
|
45069
45061
|
}
|
|
45070
45062
|
Te.registerComponent("LiveDisplay", hK);
|
|
45071
|
-
class j2 extends
|
|
45063
|
+
class j2 extends kn {
|
|
45072
45064
|
/**
|
|
45073
45065
|
* Creates an instance of this class.
|
|
45074
45066
|
*
|
|
@@ -45514,7 +45506,7 @@ class Km extends Te {
|
|
|
45514
45506
|
Km.prototype.options_ = {
|
|
45515
45507
|
children: []
|
|
45516
45508
|
};
|
|
45517
|
-
!
|
|
45509
|
+
!Cn && !Rs && Km.prototype.options_.children.push("timeTooltip");
|
|
45518
45510
|
Te.registerComponent("PlayProgressBar", Km);
|
|
45519
45511
|
class q2 extends Te {
|
|
45520
45512
|
/**
|
|
@@ -45578,8 +45570,8 @@ class hu extends Ym {
|
|
|
45578
45570
|
*/
|
|
45579
45571
|
constructor(e, n) {
|
|
45580
45572
|
n = It(hu.prototype.options_, n), n.children = [...n.children];
|
|
45581
|
-
const s = e.options_.disableSeekWhileScrubbingOnMobile && (
|
|
45582
|
-
(!
|
|
45573
|
+
const s = e.options_.disableSeekWhileScrubbingOnMobile && (Cn || Rs) || e.options_.disableSeekWhileScrubbingOnSTV;
|
|
45574
|
+
(!Cn && !Rs || s) && n.children.splice(1, 0, "mouseTimeDisplay"), super(e, n), this.shouldDisableSeekWhileScrubbing_ = s, this.pendingSeekTime_ = null, this.setEventHandlers_();
|
|
45583
45575
|
}
|
|
45584
45576
|
/**
|
|
45585
45577
|
* Sets the event handlers
|
|
@@ -45956,7 +45948,7 @@ z2.prototype.options_ = {
|
|
|
45956
45948
|
children: ["seekBar"]
|
|
45957
45949
|
};
|
|
45958
45950
|
Te.registerComponent("ProgressControl", z2);
|
|
45959
|
-
class W2 extends
|
|
45951
|
+
class W2 extends kn {
|
|
45960
45952
|
/**
|
|
45961
45953
|
* Creates an instance of this class.
|
|
45962
45954
|
*
|
|
@@ -46041,7 +46033,7 @@ class W2 extends Sn {
|
|
|
46041
46033
|
}
|
|
46042
46034
|
W2.prototype.controlText_ = "Picture-in-Picture";
|
|
46043
46035
|
Te.registerComponent("PictureInPictureToggle", W2);
|
|
46044
|
-
class G2 extends
|
|
46036
|
+
class G2 extends kn {
|
|
46045
46037
|
/**
|
|
46046
46038
|
* Creates an instance of this class.
|
|
46047
46039
|
*
|
|
@@ -46376,7 +46368,7 @@ mu.prototype.options_ = {
|
|
|
46376
46368
|
children: ["volumeLevel"],
|
|
46377
46369
|
barName: "volumeLevel"
|
|
46378
46370
|
};
|
|
46379
|
-
!
|
|
46371
|
+
!Cn && !Rs && mu.prototype.options_.children.splice(0, 0, "mouseVolumeLevelDisplay");
|
|
46380
46372
|
mu.prototype.playerEvent = "volumechange";
|
|
46381
46373
|
Te.registerComponent("VolumeBar", mu);
|
|
46382
46374
|
class Y2 extends Te {
|
|
@@ -46456,7 +46448,7 @@ const _K = function(t, e) {
|
|
|
46456
46448
|
e.tech_.featuresMuteControl ? t.removeClass("vjs-hidden") : t.addClass("vjs-hidden");
|
|
46457
46449
|
});
|
|
46458
46450
|
};
|
|
46459
|
-
class K2 extends
|
|
46451
|
+
class K2 extends kn {
|
|
46460
46452
|
/**
|
|
46461
46453
|
* Creates an instance of this class.
|
|
46462
46454
|
*
|
|
@@ -46525,7 +46517,7 @@ class K2 extends Sn {
|
|
|
46525
46517
|
updateIcon_() {
|
|
46526
46518
|
const e = this.player_.volume();
|
|
46527
46519
|
let n = 3;
|
|
46528
|
-
this.setIcon("volume-high"),
|
|
46520
|
+
this.setIcon("volume-high"), Cn && 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}`);
|
|
46529
46521
|
}
|
|
46530
46522
|
/**
|
|
46531
46523
|
* If `muted` has changed on the player, update the control text
|
|
@@ -46636,7 +46628,7 @@ class Q2 extends Te {
|
|
|
46636
46628
|
* @listens mouseout
|
|
46637
46629
|
*/
|
|
46638
46630
|
handleMouseOut(e) {
|
|
46639
|
-
this.removeClass("vjs-hover"),
|
|
46631
|
+
this.removeClass("vjs-hover"), Tn(De, "keyup", this.handleKeyPressHandler_);
|
|
46640
46632
|
}
|
|
46641
46633
|
/**
|
|
46642
46634
|
* Handles `keyup` event on the document or `keydown` event on the `VolumePanel`,
|
|
@@ -46655,7 +46647,7 @@ Q2.prototype.options_ = {
|
|
|
46655
46647
|
children: ["muteToggle", "volumeControl"]
|
|
46656
46648
|
};
|
|
46657
46649
|
Te.registerComponent("VolumePanel", Q2);
|
|
46658
|
-
class Z2 extends
|
|
46650
|
+
class Z2 extends kn {
|
|
46659
46651
|
constructor(e, n) {
|
|
46660
46652
|
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();
|
|
46661
46653
|
}
|
|
@@ -46693,7 +46685,7 @@ class Z2 extends Sn {
|
|
|
46693
46685
|
}
|
|
46694
46686
|
Z2.prototype.controlText_ = "Skip Forward";
|
|
46695
46687
|
Te.registerComponent("SkipForward", Z2);
|
|
46696
|
-
class J2 extends
|
|
46688
|
+
class J2 extends kn {
|
|
46697
46689
|
constructor(e, n) {
|
|
46698
46690
|
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();
|
|
46699
46691
|
}
|
|
@@ -46891,8 +46883,8 @@ class Qm extends Te {
|
|
|
46891
46883
|
* The key/value store of player options.
|
|
46892
46884
|
*/
|
|
46893
46885
|
constructor(e, n = {}) {
|
|
46894
|
-
super(e, n), this.menuButton_ = new
|
|
46895
|
-
const s =
|
|
46886
|
+
super(e, n), this.menuButton_ = new kn(e, n), this.menuButton_.controlText(this.controlText_), this.menuButton_.el_.setAttribute("aria-haspopup", "true");
|
|
46887
|
+
const s = kn.prototype.buildCSSClass();
|
|
46896
46888
|
this.menuButton_.el_.className = this.buildCSSClass() + " " + s, this.menuButton_.removeClass("vjs-control"), this.addChild(this.menuButton_), this.update(), this.enabled_ = !0;
|
|
46897
46889
|
const i = (a) => this.handleClick(a);
|
|
46898
46890
|
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", () => {
|
|
@@ -46968,7 +46960,7 @@ class Qm extends Te {
|
|
|
46968
46960
|
buildWrapperCSSClass() {
|
|
46969
46961
|
let e = "vjs-menu-button";
|
|
46970
46962
|
this.options_.inline === !0 ? e += "-inline" : e += "-popup";
|
|
46971
|
-
const n =
|
|
46963
|
+
const n = kn.prototype.buildCSSClass();
|
|
46972
46964
|
return `vjs-menu-button ${e} ${n} ${super.buildCSSClass()}`;
|
|
46973
46965
|
}
|
|
46974
46966
|
/**
|
|
@@ -47027,7 +47019,7 @@ class Qm extends Te {
|
|
|
47027
47019
|
* @listens mouseleave
|
|
47028
47020
|
*/
|
|
47029
47021
|
handleMouseLeave(e) {
|
|
47030
|
-
this.removeClass("vjs-hover"),
|
|
47022
|
+
this.removeClass("vjs-hover"), Tn(De, "keyup", this.handleMenuKeyUp_);
|
|
47031
47023
|
}
|
|
47032
47024
|
/**
|
|
47033
47025
|
* Set the focus to the actual button, not to this element
|
|
@@ -47093,7 +47085,7 @@ class Qm extends Te {
|
|
|
47093
47085
|
*/
|
|
47094
47086
|
pressButton() {
|
|
47095
47087
|
if (this.enabled_) {
|
|
47096
|
-
if (this.buttonPressed_ = !0, this.menu.show(), this.menu.lockShowing(), this.menuButton_.el_.setAttribute("aria-expanded", "true"),
|
|
47088
|
+
if (this.buttonPressed_ = !0, this.menu.show(), this.menu.lockShowing(), this.menuButton_.el_.setAttribute("aria-expanded", "true"), Cn && u2())
|
|
47097
47089
|
return;
|
|
47098
47090
|
this.menu.focus();
|
|
47099
47091
|
}
|
|
@@ -48448,12 +48440,12 @@ Te.registerComponent("TextTrackSettingsFont", hv);
|
|
|
48448
48440
|
class mv extends Te {
|
|
48449
48441
|
constructor(e, n = {}) {
|
|
48450
48442
|
super(e, n);
|
|
48451
|
-
const s = new
|
|
48443
|
+
const s = new kn(e, {
|
|
48452
48444
|
controlText: this.localize("restore all settings to the default values"),
|
|
48453
48445
|
className: "vjs-default-button"
|
|
48454
48446
|
});
|
|
48455
48447
|
s.el().classList.remove("vjs-control", "vjs-button"), s.el().textContent = this.localize("Reset"), this.addChild(s);
|
|
48456
|
-
const i = this.localize("Done"), a = new
|
|
48448
|
+
const i = this.localize("Done"), a = new kn(e, {
|
|
48457
48449
|
controlText: i,
|
|
48458
48450
|
className: "vjs-done-button"
|
|
48459
48451
|
});
|
|
@@ -48708,7 +48700,7 @@ class TK extends Te {
|
|
|
48708
48700
|
return;
|
|
48709
48701
|
const a = this.debouncedHandler_;
|
|
48710
48702
|
let l = this.unloadListener_ = function() {
|
|
48711
|
-
|
|
48703
|
+
Tn(this, "resize", a), Tn(this, "unload", l), l = null;
|
|
48712
48704
|
};
|
|
48713
48705
|
fs(this.el_.contentWindow, "unload", l), fs(this.el_.contentWindow, "resize", a);
|
|
48714
48706
|
}, this.one("load", this.loadListener_));
|
|
@@ -49035,7 +49027,7 @@ const EK = {
|
|
|
49035
49027
|
position: [],
|
|
49036
49028
|
takeFocus: !1
|
|
49037
49029
|
};
|
|
49038
|
-
class PK extends
|
|
49030
|
+
class PK extends kn {
|
|
49039
49031
|
/**
|
|
49040
49032
|
* TransientButton constructor
|
|
49041
49033
|
*
|
|
@@ -49781,7 +49773,7 @@ ze.canControlVolume = function() {
|
|
|
49781
49773
|
const t = ze.TEST_VID.volume;
|
|
49782
49774
|
ze.TEST_VID.volume = t / 2 + 0.1;
|
|
49783
49775
|
const e = t !== ze.TEST_VID.volume;
|
|
49784
|
-
return e &&
|
|
49776
|
+
return e && Cn ? (le.setTimeout(() => {
|
|
49785
49777
|
ze && ze.prototype && (ze.prototype.featuresVolumeControl = t !== ze.TEST_VID.volume);
|
|
49786
49778
|
}), !1) : e;
|
|
49787
49779
|
} catch {
|
|
@@ -49829,7 +49821,7 @@ ze.canOverrideAttributes = function() {
|
|
|
49829
49821
|
return !0;
|
|
49830
49822
|
};
|
|
49831
49823
|
ze.supportsNativeTextTracks = function() {
|
|
49832
|
-
return nu ||
|
|
49824
|
+
return nu || Cn && li;
|
|
49833
49825
|
};
|
|
49834
49826
|
ze.supportsNativeVideoTracks = function() {
|
|
49835
49827
|
return !!(ze.TEST_VID && ze.TEST_VID.videoTracks);
|
|
@@ -49842,7 +49834,7 @@ ze.Events = ["loadstart", "suspend", "abort", "error", "emptied", "stalled", "lo
|
|
|
49842
49834
|
Zd(ze.prototype, t, () => ze[e](), !0);
|
|
49843
49835
|
});
|
|
49844
49836
|
ze.prototype.featuresVolumeControl = ze.canControlVolume();
|
|
49845
|
-
ze.prototype.movingMediaElementInDOM = !
|
|
49837
|
+
ze.prototype.movingMediaElementInDOM = !Cn;
|
|
49846
49838
|
ze.prototype.featuresFullscreenResize = !0;
|
|
49847
49839
|
ze.prototype.featuresProgressEvents = !0;
|
|
49848
49840
|
ze.prototype.featuresTimeupdateEvents = !0;
|
|
@@ -50695,7 +50687,7 @@ class Vt extends Te {
|
|
|
50695
50687
|
c.style.display = "none", this.el_.appendChild(c), this.addClass("vjs-svg-icons-enabled");
|
|
50696
50688
|
}
|
|
50697
50689
|
}
|
|
50698
|
-
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"),
|
|
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"), Cn || this.addClass("vjs-workinghover"), Vt.players[this.id_] = this;
|
|
50699
50691
|
const a = Ec.split(".")[0];
|
|
50700
50692
|
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", () => {
|
|
50701
50693
|
this.audioPosterMode(this.options_.audioPosterMode), this.audioOnlyMode(this.options_.audioOnlyMode);
|
|
@@ -50710,8 +50702,8 @@ class Vt extends Te {
|
|
|
50710
50702
|
* @fires Player#dispose
|
|
50711
50703
|
*/
|
|
50712
50704
|
dispose() {
|
|
50713
|
-
this.trigger("dispose"), this.off("dispose"),
|
|
50714
|
-
const n =
|
|
50705
|
+
this.trigger("dispose"), this.off("dispose"), Tn(De, this.fsApi_.fullscreenchange, this.boundDocumentFullscreenChange_), Tn(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), Un.names.forEach((e) => {
|
|
50706
|
+
const n = Un[e], s = this[n.getterName]();
|
|
50715
50707
|
s && s.off && s.off();
|
|
50716
50708
|
}), super.dispose({
|
|
50717
50709
|
restoreEl: this.options_.restoreEl
|
|
@@ -50964,8 +50956,8 @@ class Vt extends Te {
|
|
|
50964
50956
|
canOverridePoster: !!this.options_.techCanOverridePoster,
|
|
50965
50957
|
enableSourceset: this.options_.enableSourceset
|
|
50966
50958
|
};
|
|
50967
|
-
|
|
50968
|
-
const c =
|
|
50959
|
+
Un.names.forEach((u) => {
|
|
50960
|
+
const c = Un[u];
|
|
50969
50961
|
l[c.getterName] = this[c.privateName];
|
|
50970
50962
|
}), 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);
|
|
50971
50963
|
const r = ut.getTech(e);
|
|
@@ -50992,8 +50984,8 @@ class Vt extends Te {
|
|
|
50992
50984
|
* @private
|
|
50993
50985
|
*/
|
|
50994
50986
|
unloadTech_() {
|
|
50995
|
-
|
|
50996
|
-
const n =
|
|
50987
|
+
Un.names.forEach((e) => {
|
|
50988
|
+
const n = Un[e];
|
|
50997
50989
|
this[n.privateName] = this[n.getterName]();
|
|
50998
50990
|
}), 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;
|
|
50999
50991
|
}
|
|
@@ -51602,7 +51594,7 @@ See https://github.com/videojs/video.js/issues/2617 for more info.
|
|
|
51602
51594
|
*/
|
|
51603
51595
|
play_(e = Qs) {
|
|
51604
51596
|
this.playCallbacks_.push(e);
|
|
51605
|
-
const n = !!(!this.changingSrc_ && (this.src() || this.currentSrc())), s = !!(nu ||
|
|
51597
|
+
const n = !!(!this.changingSrc_ && (this.src() || this.currentSrc())), s = !!(nu || Cn);
|
|
51606
51598
|
if (this.waitToPlay_ && (this.off(["ready", "loadstart"], this.waitToPlay_), this.waitToPlay_ = null), !this.isReady_ || !n) {
|
|
51607
51599
|
this.waitToPlay_ = (l) => {
|
|
51608
51600
|
this.play_();
|
|
@@ -52082,7 +52074,7 @@ See https://github.com/videojs/video.js/issues/2617 for more info.
|
|
|
52082
52074
|
* @fires Player#exitFullWindow
|
|
52083
52075
|
*/
|
|
52084
52076
|
exitFullWindow() {
|
|
52085
|
-
this.isFullscreen(!1), this.isFullWindow = !1,
|
|
52077
|
+
this.isFullscreen(!1), this.isFullWindow = !1, Tn(De, "keydown", this.boundFullWindowOnEscKey_), De.documentElement.style.overflow = this.docOrigOverflow, su(De.body, "vjs-full-window"), this.trigger("exitFullWindow");
|
|
52086
52078
|
}
|
|
52087
52079
|
/**
|
|
52088
52080
|
* Get or set disable Picture-in-Picture mode.
|
|
@@ -52736,7 +52728,7 @@ See https://github.com/videojs/video.js/issues/2617 for more info.
|
|
|
52736
52728
|
};
|
|
52737
52729
|
this.on("mousedown", l), this.on("mousemove", a), this.on("mouseup", r), this.on("mouseleave", r);
|
|
52738
52730
|
const u = this.getChild("controlBar");
|
|
52739
|
-
u && !
|
|
52731
|
+
u && !Cn && !Rs && (u.on("mouseenter", function(h) {
|
|
52740
52732
|
this.player().options_.inactivityTimeout !== 0 && (this.player().cache_.inactivityTimeout = this.player().options_.inactivityTimeout), this.player().options_.inactivityTimeout = 0;
|
|
52741
52733
|
}), u.on("mouseleave", function(h) {
|
|
52742
52734
|
this.player().options_.inactivityTimeout = this.player().cache_.inactivityTimeout;
|
|
@@ -53345,8 +53337,8 @@ Vt.prototype.remoteTextTracks = () => {
|
|
|
53345
53337
|
};
|
|
53346
53338
|
Vt.prototype.remoteTextTrackEls = () => {
|
|
53347
53339
|
};
|
|
53348
|
-
|
|
53349
|
-
const e =
|
|
53340
|
+
Un.names.forEach(function(t) {
|
|
53341
|
+
const e = Un[t];
|
|
53350
53342
|
Vt.prototype[e.getterName] = function() {
|
|
53351
53343
|
return this.tech_ ? this.tech_[e.getterName]() : (this[e.privateName] = this[e.privateName] || new e.ListClass(), this[e.privateName]);
|
|
53352
53344
|
};
|
|
@@ -53748,7 +53740,7 @@ ge.EventTarget = gs;
|
|
|
53748
53740
|
ge.any = Bm;
|
|
53749
53741
|
ge.on = fs;
|
|
53750
53742
|
ge.one = ru;
|
|
53751
|
-
ge.off =
|
|
53743
|
+
ge.off = Tn;
|
|
53752
53744
|
ge.trigger = Rl;
|
|
53753
53745
|
ge.xhr = rg;
|
|
53754
53746
|
ge.TrackList = Da;
|
|
@@ -55989,7 +55981,7 @@ browserWorkerPolyFill(self);
|
|
|
55989
55981
|
}, a = {
|
|
55990
55982
|
getUint64: i,
|
|
55991
55983
|
MAX_UINT32: s
|
|
55992
|
-
}, l = a.MAX_UINT32, r, u, c, v, h, d, m, g, p, C, w, k, y, x, T, E, V, D, O, I, R, M, H, Y, oe, ie, te, G, Q, X, z, se, ce,
|
|
55984
|
+
}, l = a.MAX_UINT32, r, u, c, v, h, d, m, g, p, C, w, k, y, x, T, E, V, D, O, I, R, M, H, Y, oe, ie, te, G, Q, X, z, se, ce, ye, Le, tt;
|
|
55993
55985
|
(function() {
|
|
55994
55986
|
var b;
|
|
55995
55987
|
if (H = {
|
|
@@ -56182,7 +56174,7 @@ browserWorkerPolyFill(self);
|
|
|
56182
56174
|
0,
|
|
56183
56175
|
0
|
|
56184
56176
|
// entry_count
|
|
56185
|
-
]),
|
|
56177
|
+
]), ye = ce, Le = new Uint8Array([
|
|
56186
56178
|
0,
|
|
56187
56179
|
// version
|
|
56188
56180
|
0,
|
|
@@ -56478,7 +56470,7 @@ browserWorkerPolyFill(self);
|
|
|
56478
56470
|
L = P[B].flags, A[B + 4] = L.dependsOn << 4 | L.isDependedOn << 2 | L.hasRedundancy;
|
|
56479
56471
|
return r(H.sdtp, A);
|
|
56480
56472
|
}, D = function(b) {
|
|
56481
|
-
return r(H.stbl, O(b), r(H.stts, tt), r(H.stsc,
|
|
56473
|
+
return r(H.stbl, O(b), r(H.stts, tt), r(H.stsc, ye), r(H.stsz, Le), r(H.stco, ce));
|
|
56482
56474
|
}, function() {
|
|
56483
56475
|
var b, P;
|
|
56484
56476
|
O = function(A) {
|
|
@@ -56927,7 +56919,7 @@ browserWorkerPolyFill(self);
|
|
|
56927
56919
|
}, Ie = function(b) {
|
|
56928
56920
|
var P;
|
|
56929
56921
|
return !b[0][0].keyFrame && b.length > 1 && (P = b.shift(), b.byteLength -= P.byteLength, b.nalCount -= P.nalCount, b[0][0].dts = P.dts, b[0][0].pts = P.pts, b[0][0].duration += P.duration), b;
|
|
56930
|
-
},
|
|
56922
|
+
}, _e = function() {
|
|
56931
56923
|
return {
|
|
56932
56924
|
size: 0,
|
|
56933
56925
|
flags: {
|
|
@@ -56940,7 +56932,7 @@ browserWorkerPolyFill(self);
|
|
|
56940
56932
|
}
|
|
56941
56933
|
};
|
|
56942
56934
|
}, Ee = function(b, P) {
|
|
56943
|
-
var A =
|
|
56935
|
+
var A = _e();
|
|
56944
56936
|
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;
|
|
56945
56937
|
}, Ce = function(b, P) {
|
|
56946
56938
|
var A, L, B, F, J, ee = P || 0, ae = [];
|
|
@@ -56999,29 +56991,29 @@ browserWorkerPolyFill(self);
|
|
|
56999
56991
|
xt = He(b);
|
|
57000
56992
|
}
|
|
57001
56993
|
return xt;
|
|
57002
|
-
}, es = 9e4, Nt,
|
|
56994
|
+
}, es = 9e4, Nt, Vn, Pt, Ft, En, ys, $i;
|
|
57003
56995
|
Nt = function(b) {
|
|
57004
56996
|
return b * es;
|
|
57005
|
-
},
|
|
56997
|
+
}, Vn = function(b, P) {
|
|
57006
56998
|
return b * P;
|
|
57007
56999
|
}, Pt = function(b) {
|
|
57008
57000
|
return b / es;
|
|
57009
57001
|
}, Ft = function(b, P) {
|
|
57010
57002
|
return b / P;
|
|
57011
|
-
},
|
|
57003
|
+
}, En = function(b, P) {
|
|
57012
57004
|
return Nt(Ft(b, P));
|
|
57013
57005
|
}, ys = function(b, P) {
|
|
57014
|
-
return
|
|
57006
|
+
return Vn(Pt(b), P);
|
|
57015
57007
|
}, $i = function(b, P, A) {
|
|
57016
57008
|
return Pt(A ? b : b - P);
|
|
57017
57009
|
};
|
|
57018
57010
|
var lt = {
|
|
57019
57011
|
ONE_SECOND_IN_TS: es,
|
|
57020
57012
|
secondsToVideoTs: Nt,
|
|
57021
|
-
secondsToAudioTs:
|
|
57013
|
+
secondsToAudioTs: Vn,
|
|
57022
57014
|
videoTsToSeconds: Pt,
|
|
57023
57015
|
audioTsToSeconds: Ft,
|
|
57024
|
-
audioTsToVideoTs:
|
|
57016
|
+
audioTsToVideoTs: En,
|
|
57025
57017
|
videoTsToAudioTs: ys,
|
|
57026
57018
|
metadataTsToSeconds: $i
|
|
57027
57019
|
}, Oa = rn, Hn = lt, Di = function(b) {
|
|
@@ -59230,8 +59222,8 @@ browserWorkerPolyFill(self);
|
|
|
59230
59222
|
videoPacketContainsKeyFrame: Q_
|
|
59231
59223
|
}, sf = ws, Na = Ii.handleRollover, Dt = {};
|
|
59232
59224
|
Dt.ts = Z_, Dt.aac = _u;
|
|
59233
|
-
var oa = lt.ONE_SECOND_IN_TS,
|
|
59234
|
-
for (var A = 0, L =
|
|
59225
|
+
var oa = lt.ONE_SECOND_IN_TS, Pn = 188, Hs = 71, J_ = function(b, P) {
|
|
59226
|
+
for (var A = 0, L = Pn, B, F; L < b.byteLength; ) {
|
|
59235
59227
|
if (b[A] === Hs && b[L] === Hs) {
|
|
59236
59228
|
switch (B = b.subarray(A, L), F = Dt.ts.parseType(B, P.pid), F) {
|
|
59237
59229
|
case "pat":
|
|
@@ -59244,13 +59236,13 @@ browserWorkerPolyFill(self);
|
|
|
59244
59236
|
});
|
|
59245
59237
|
break;
|
|
59246
59238
|
}
|
|
59247
|
-
A +=
|
|
59239
|
+
A += Pn, L += Pn;
|
|
59248
59240
|
continue;
|
|
59249
59241
|
}
|
|
59250
59242
|
A++, L++;
|
|
59251
59243
|
}
|
|
59252
59244
|
}, af = function(b, P, A) {
|
|
59253
|
-
for (var L = 0, B =
|
|
59245
|
+
for (var L = 0, B = Pn, F, J, ee, ae, de, me = !1; B <= b.byteLength; ) {
|
|
59254
59246
|
if (b[L] === Hs && (b[B] === Hs || B === b.byteLength)) {
|
|
59255
59247
|
switch (F = b.subarray(L, B), J = Dt.ts.parseType(F, P.pid), J) {
|
|
59256
59248
|
case "pes":
|
|
@@ -59259,12 +59251,12 @@ browserWorkerPolyFill(self);
|
|
|
59259
59251
|
}
|
|
59260
59252
|
if (me)
|
|
59261
59253
|
break;
|
|
59262
|
-
L +=
|
|
59254
|
+
L += Pn, B += Pn;
|
|
59263
59255
|
continue;
|
|
59264
59256
|
}
|
|
59265
59257
|
L++, B++;
|
|
59266
59258
|
}
|
|
59267
|
-
for (B = b.byteLength, L = B -
|
|
59259
|
+
for (B = b.byteLength, L = B - Pn, me = !1; L >= 0; ) {
|
|
59268
59260
|
if (b[L] === Hs && (b[B] === Hs || B === b.byteLength)) {
|
|
59269
59261
|
switch (F = b.subarray(L, B), J = Dt.ts.parseType(F, P.pid), J) {
|
|
59270
59262
|
case "pes":
|
|
@@ -59273,13 +59265,13 @@ browserWorkerPolyFill(self);
|
|
|
59273
59265
|
}
|
|
59274
59266
|
if (me)
|
|
59275
59267
|
break;
|
|
59276
|
-
L -=
|
|
59268
|
+
L -= Pn, B -= Pn;
|
|
59277
59269
|
continue;
|
|
59278
59270
|
}
|
|
59279
59271
|
L--, B--;
|
|
59280
59272
|
}
|
|
59281
59273
|
}, eb = function(b, P, A) {
|
|
59282
|
-
for (var L = 0, B =
|
|
59274
|
+
for (var L = 0, B = Pn, F, J, ee, ae, de, me, xe, Be, Se = !1, Je = {
|
|
59283
59275
|
data: [],
|
|
59284
59276
|
size: 0
|
|
59285
59277
|
}; B < b.byteLength; ) {
|
|
@@ -59302,12 +59294,12 @@ browserWorkerPolyFill(self);
|
|
|
59302
59294
|
}
|
|
59303
59295
|
if (Se && A.firstKeyFrame)
|
|
59304
59296
|
break;
|
|
59305
|
-
L +=
|
|
59297
|
+
L += Pn, B += Pn;
|
|
59306
59298
|
continue;
|
|
59307
59299
|
}
|
|
59308
59300
|
L++, B++;
|
|
59309
59301
|
}
|
|
59310
|
-
for (B = b.byteLength, L = B -
|
|
59302
|
+
for (B = b.byteLength, L = B - Pn, Se = !1; L >= 0; ) {
|
|
59311
59303
|
if (b[L] === Hs && b[B] === Hs) {
|
|
59312
59304
|
switch (F = b.subarray(L, B), J = Dt.ts.parseType(F, P.pid), J) {
|
|
59313
59305
|
case "pes":
|
|
@@ -59316,7 +59308,7 @@ browserWorkerPolyFill(self);
|
|
|
59316
59308
|
}
|
|
59317
59309
|
if (Se)
|
|
59318
59310
|
break;
|
|
59319
|
-
L -=
|
|
59311
|
+
L -= Pn, B -= Pn;
|
|
59320
59312
|
continue;
|
|
59321
59313
|
}
|
|
59322
59314
|
L--, B--;
|
|
@@ -67409,7 +67401,7 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
67409
67401
|
emits: ["update:show"],
|
|
67410
67402
|
setup(t, { emit: e }) {
|
|
67411
67403
|
qe(
|
|
67412
|
-
() => import("./index-
|
|
67404
|
+
() => import("./index-DyuWTFEJ.mjs")
|
|
67413
67405
|
);
|
|
67414
67406
|
const n = e, s = () => {
|
|
67415
67407
|
n("update:show", !1);
|
|
@@ -67651,12 +67643,12 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
67651
67643
|
X(), z();
|
|
67652
67644
|
}), Ue(
|
|
67653
67645
|
() => r.currentIdx,
|
|
67654
|
-
(Ie,
|
|
67655
|
-
p.value = Ie >
|
|
67646
|
+
(Ie, _e) => {
|
|
67647
|
+
p.value = Ie > _e, Re(te), Re(ye);
|
|
67656
67648
|
}
|
|
67657
67649
|
), Ue(
|
|
67658
67650
|
() => r.tabList,
|
|
67659
|
-
(Ie,
|
|
67651
|
+
(Ie, _e) => {
|
|
67660
67652
|
z(), Re(() => {
|
|
67661
67653
|
te(0);
|
|
67662
67654
|
});
|
|
@@ -67669,53 +67661,53 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
67669
67661
|
}
|
|
67670
67662
|
);
|
|
67671
67663
|
const te = (Ie) => {
|
|
67672
|
-
const
|
|
67673
|
-
p.value ? (G(), O.value = setTimeout(Q,
|
|
67664
|
+
const _e = Ie ?? 250;
|
|
67665
|
+
p.value ? (G(), O.value = setTimeout(Q, _e)) : (Q(), O.value = setTimeout(G, _e)), I.value = setTimeout(() => {
|
|
67674
67666
|
C.value = !0;
|
|
67675
|
-
},
|
|
67667
|
+
}, _e);
|
|
67676
67668
|
}, G = () => {
|
|
67677
67669
|
const Ie = h.value;
|
|
67678
|
-
let
|
|
67679
|
-
Ie && Ie[r.currentIdx] && (
|
|
67670
|
+
let _e = null;
|
|
67671
|
+
Ie && Ie[r.currentIdx] && (_e = Ie[r.currentIdx]), _e && _e.getBoundingClientRect && (d.value = _e.getBoundingClientRect().right);
|
|
67680
67672
|
}, Q = () => {
|
|
67681
67673
|
const Ie = h.value;
|
|
67682
|
-
let
|
|
67683
|
-
Ie && Ie[r.currentIdx] && (
|
|
67674
|
+
let _e = null;
|
|
67675
|
+
Ie && Ie[r.currentIdx] && (_e = Ie[r.currentIdx]), _e && _e.getBoundingClientRect && (m.value = _e.getBoundingClientRect().left);
|
|
67684
67676
|
}, X = () => {
|
|
67685
67677
|
C.value = !1, Re(() => te(0)), Re(se);
|
|
67686
67678
|
}, z = () => {
|
|
67687
67679
|
const Ie = c.value;
|
|
67688
67680
|
if (Ie) {
|
|
67689
|
-
let
|
|
67690
|
-
g.value = (Ie.offsetWidth - Ie.getBoundingClientRect().width) / 2 +
|
|
67681
|
+
let _e = Ie.getBoundingClientRect().left;
|
|
67682
|
+
g.value = (Ie.offsetWidth - Ie.getBoundingClientRect().width) / 2 + _e;
|
|
67691
67683
|
}
|
|
67692
67684
|
}, se = () => {
|
|
67693
67685
|
if (r.tabList.length <= 0) return;
|
|
67694
67686
|
const Ie = v.value;
|
|
67695
67687
|
Ie && (y.value = Ie.scrollLeft, x.value = Ie.scrollWidth);
|
|
67696
|
-
const
|
|
67697
|
-
|
|
67688
|
+
const _e = c.value;
|
|
67689
|
+
_e && (T.value = _e.getBoundingClientRect().width);
|
|
67698
67690
|
}, ce = (Ie) => {
|
|
67699
67691
|
v.value && (Ie == "next" ? v.value.scrollLeft += 9999 : v.value.scrollLeft -= 9999);
|
|
67700
|
-
},
|
|
67692
|
+
}, ye = () => {
|
|
67701
67693
|
const Ie = h.value[r.currentIdx];
|
|
67702
67694
|
if (!Ie) return;
|
|
67703
|
-
const
|
|
67704
|
-
w.value = Ie.getBoundingClientRect().right -
|
|
67705
|
-
}, Le = (Ie,
|
|
67706
|
-
Ie || u("updateCurrentIdx",
|
|
67695
|
+
const _e = Ie.clientWidth / 2, Ee = s.value / 2;
|
|
67696
|
+
w.value = Ie.getBoundingClientRect().right - _e, v.value && (v.value.scrollLeft -= Ee - w.value);
|
|
67697
|
+
}, Le = (Ie, _e) => {
|
|
67698
|
+
Ie || u("updateCurrentIdx", _e);
|
|
67707
67699
|
}, tt = (Ie) => Ie ? Ie.includes("http") ? "a" : "RouterLink" : "button", ve = (Ie) => Ie && !Ie.includes("http") ? Ie : null, Ae = (Ie) => Ie && Ie.includes("http") ? Ie : null, it = (Ie) => Ie && Ie.includes("http") ? "_blank" : null;
|
|
67708
67700
|
return rt(() => {
|
|
67709
67701
|
k.value = !0, Re(() => {
|
|
67710
67702
|
te(0), E.value = setTimeout(X, 300), z(), Re(() => {
|
|
67711
|
-
V.value = setTimeout(
|
|
67703
|
+
V.value = setTimeout(ye, 300);
|
|
67712
67704
|
});
|
|
67713
67705
|
});
|
|
67714
67706
|
}), Qn(() => {
|
|
67715
67707
|
clearTimeout(E.value), clearTimeout(V.value), clearTimeout(D.value), clearTimeout(O.value), clearTimeout(I.value), window.removeEventListener("resize", () => {
|
|
67716
67708
|
s.value = window.innerWidth;
|
|
67717
67709
|
});
|
|
67718
|
-
}), (Ie,
|
|
67710
|
+
}), (Ie, _e) => (_(), S("div", {
|
|
67719
67711
|
class: re(["tab-primary", [{ "is-fixed": t.isFixed }, { "is-campus": !ie.value }, { "is-full-width": t.fullWidth }]]),
|
|
67720
67712
|
ref_key: "wrapper",
|
|
67721
67713
|
ref: c
|
|
@@ -67728,7 +67720,7 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
67728
67720
|
}, [
|
|
67729
67721
|
$e(o("div", {
|
|
67730
67722
|
class: "tab-primary__nav__prev",
|
|
67731
|
-
onClick:
|
|
67723
|
+
onClick: _e[0] || (_e[0] = (Ee) => ce("prev"))
|
|
67732
67724
|
}, null, 512), [
|
|
67733
67725
|
[Oe, H.value]
|
|
67734
67726
|
]),
|
|
@@ -67768,7 +67760,7 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
67768
67760
|
], 2))), 128)),
|
|
67769
67761
|
$e(o("div", {
|
|
67770
67762
|
class: "tab-primary__nav__next",
|
|
67771
|
-
onClick:
|
|
67763
|
+
onClick: _e[1] || (_e[1] = (Ee) => ce("next"))
|
|
67772
67764
|
}, null, 512), [
|
|
67773
67765
|
[Oe, Y.value]
|
|
67774
67766
|
])
|
|
@@ -68285,12 +68277,12 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
68285
68277
|
};
|
|
68286
68278
|
n("update:modelValue", Q), c.value = 0;
|
|
68287
68279
|
}, H = () => {
|
|
68288
|
-
var
|
|
68280
|
+
var ye, Le;
|
|
68289
68281
|
const Q = m.value;
|
|
68290
68282
|
if (!Q) return;
|
|
68291
68283
|
const X = Q.getBoundingClientRect().top, z = d.value;
|
|
68292
68284
|
if (!z) return;
|
|
68293
|
-
const se = z.getBoundingClientRect().top, ce = +((Le = (
|
|
68285
|
+
const se = z.getBoundingClientRect().top, ce = +((Le = (ye = window.getComputedStyle(document.body)) == null ? void 0 : ye.getPropertyValue("--header-height-calc")) == null ? void 0 : Le.split("px")[0]) || 0;
|
|
68294
68286
|
if (se > ce) {
|
|
68295
68287
|
v.value = !1;
|
|
68296
68288
|
return;
|
|
@@ -68345,9 +68337,9 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
68345
68337
|
key: se.id,
|
|
68346
68338
|
type: se.type,
|
|
68347
68339
|
"props-data": { modelValue: se, isPreview: t.isPreview },
|
|
68348
|
-
onHandleDelete: X[0] || (X[0] = (
|
|
68349
|
-
onHandleCopy: X[1] || (X[1] = (
|
|
68350
|
-
onHandlePaste: (
|
|
68340
|
+
onHandleDelete: X[0] || (X[0] = (ye) => ie(ye, R.value)),
|
|
68341
|
+
onHandleCopy: X[1] || (X[1] = (ye) => te(ye)),
|
|
68342
|
+
onHandlePaste: (ye) => G(ye, R.value, ce)
|
|
68351
68343
|
}, null, 8, ["type", "props-data", "onHandlePaste"]))), 128))
|
|
68352
68344
|
])) : j("", !0)
|
|
68353
68345
|
], 64))), 256))
|
|
@@ -68388,9 +68380,9 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
68388
68380
|
key: se.id,
|
|
68389
68381
|
type: se.type,
|
|
68390
68382
|
"props-data": { modelValue: se, isPreview: t.isPreview },
|
|
68391
|
-
onHandleDelete: X[3] || (X[3] = (
|
|
68392
|
-
onHandleCopy: X[4] || (X[4] = (
|
|
68393
|
-
onHandlePaste: (
|
|
68383
|
+
onHandleDelete: X[3] || (X[3] = (ye) => ie(ye, R.value)),
|
|
68384
|
+
onHandleCopy: X[4] || (X[4] = (ye) => te(ye)),
|
|
68385
|
+
onHandlePaste: (ye) => G(ye, R.value, ce)
|
|
68394
68386
|
}, null, 8, ["type", "props-data", "onHandlePaste"]))), 128))
|
|
68395
68387
|
])) : j("", !0)
|
|
68396
68388
|
], 64))), 256))
|
|
@@ -68500,8 +68492,8 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
68500
68492
|
}, X = () => {
|
|
68501
68493
|
const se = T.value[r.currentIdx];
|
|
68502
68494
|
if (!se) return;
|
|
68503
|
-
const ce = se.clientWidth / 2,
|
|
68504
|
-
g.value = se.getBoundingClientRect().right - ce, x.value && (x.value.scrollLeft -=
|
|
68495
|
+
const ce = se.clientWidth / 2, ye = s.value / 2;
|
|
68496
|
+
g.value = se.getBoundingClientRect().right - ce, x.value && (x.value.scrollLeft -= ye - g.value);
|
|
68505
68497
|
}, z = (se) => {
|
|
68506
68498
|
u("updateCurrentIdx", se);
|
|
68507
68499
|
};
|
|
@@ -68524,13 +68516,13 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
68524
68516
|
}, [
|
|
68525
68517
|
$e(o("div", {
|
|
68526
68518
|
class: "tab-logo__nav__prev",
|
|
68527
|
-
onClick: ce[0] || (ce[0] = (
|
|
68519
|
+
onClick: ce[0] || (ce[0] = (ye) => Q("prev"))
|
|
68528
68520
|
}, null, 512), [
|
|
68529
68521
|
[Oe, O.value]
|
|
68530
68522
|
]),
|
|
68531
|
-
(_(!0), S(ue, null, we(t.tabList, (
|
|
68523
|
+
(_(!0), S(ue, null, we(t.tabList, (ye, Le) => (_(), S("li", {
|
|
68532
68524
|
key: Le,
|
|
68533
|
-
class: re(["tab-logo__item", [{ "tab-logo__item--img": !!
|
|
68525
|
+
class: re(["tab-logo__item", [{ "tab-logo__item--img": !!ye.img }]])
|
|
68534
68526
|
}, [
|
|
68535
68527
|
o("div", {
|
|
68536
68528
|
ref_for: !0,
|
|
@@ -68538,17 +68530,17 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
68538
68530
|
ref: T,
|
|
68539
68531
|
class: "flex-center"
|
|
68540
68532
|
}, [
|
|
68541
|
-
(_(), ne(La(
|
|
68542
|
-
type:
|
|
68543
|
-
to: E(
|
|
68533
|
+
(_(), ne(La(ye.link ? "nuxt-link" : "button"), {
|
|
68534
|
+
type: ye.link ? null : "button",
|
|
68535
|
+
to: E(ye.link),
|
|
68544
68536
|
class: re(["tab-logo__btn", [{ "is-active": t.currentIdx == Le }]]),
|
|
68545
68537
|
onClick: (tt) => z(Le)
|
|
68546
68538
|
}, {
|
|
68547
68539
|
default: $(() => [
|
|
68548
68540
|
o("div", Zee, [
|
|
68549
68541
|
o("img", {
|
|
68550
|
-
src:
|
|
68551
|
-
alt:
|
|
68542
|
+
src: ye.img,
|
|
68543
|
+
alt: ye.alt
|
|
68552
68544
|
}, null, 8, Jee)
|
|
68553
68545
|
])
|
|
68554
68546
|
]),
|
|
@@ -68558,7 +68550,7 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
68558
68550
|
], 2))), 128)),
|
|
68559
68551
|
$e(o("div", {
|
|
68560
68552
|
class: "tab-logo__nav__next",
|
|
68561
|
-
onClick: ce[1] || (ce[1] = (
|
|
68553
|
+
onClick: ce[1] || (ce[1] = (ye) => Q("next"))
|
|
68562
68554
|
}, null, 512), [
|
|
68563
68555
|
[Oe, I.value]
|
|
68564
68556
|
])
|
|
@@ -68865,12 +68857,12 @@ const ZJ = /* @__PURE__ */ he(XJ, [["render", QJ], ["__scopeId", "data-v-c5a2a3e
|
|
|
68865
68857
|
};
|
|
68866
68858
|
n("update:modelValue", G), c.value = 0;
|
|
68867
68859
|
}, M = () => {
|
|
68868
|
-
var ce,
|
|
68860
|
+
var ce, ye;
|
|
68869
68861
|
const G = m.value;
|
|
68870
68862
|
if (!G) return;
|
|
68871
68863
|
const Q = G.getBoundingClientRect().top, X = d.value;
|
|
68872
68864
|
if (!X) return;
|
|
68873
|
-
const z = X.getBoundingClientRect().top, se = +((
|
|
68865
|
+
const z = X.getBoundingClientRect().top, se = +((ye = (ce = window.getComputedStyle(document.body)) == null ? void 0 : ce.getPropertyValue("--header-height-calc")) == null ? void 0 : ye.split("px")[0]) || 0;
|
|
68874
68866
|
if (z > se) {
|
|
68875
68867
|
v.value = !1;
|
|
68876
68868
|
return;
|
|
@@ -71078,7 +71070,7 @@ const ine = /* @__PURE__ */ Aa(sne), ane = { class: "setting-content" }, lne = {
|
|
|
71078
71070
|
},
|
|
71079
71071
|
emits: ["update:show"],
|
|
71080
71072
|
setup(t, { emit: e }) {
|
|
71081
|
-
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-
|
|
71073
|
+
const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-DyuWTFEJ.mjs")), i = U(!1), a = q(() => ({
|
|
71082
71074
|
animation: 200,
|
|
71083
71075
|
group: "gallerys",
|
|
71084
71076
|
disabled: !1,
|