officialblock 2.9.3 → 2.9.4
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-BychpUhe.js → index-CGENdEQB.js} +1 -1
- package/dist/{index-BkWFc4Fm.js → index-CJeJRarf.js} +9 -9
- package/dist/{index-DhFzQ0t1.mjs → index-CSHgTkqs.mjs} +378 -381
- package/dist/{index-C_t98Qs8.js → index-CcFbOvbf.js} +1 -1
- package/dist/index-D3Q2Z4dr.mjs +4 -0
- package/dist/{index-DTPI6Vha.mjs → index-DFZmkHxJ.mjs} +1 -1
- package/dist/official-block.cjs.js +1 -1
- package/dist/official-block.es.js +1 -1
- package/dist/official-block.umd.js +9 -9
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index-CvtfCAGc.mjs +0 -4
|
@@ -2507,7 +2507,7 @@ const Ty = ["innerHTML"], Iy = ["innerHTML"], Sy = /* @__PURE__ */ we({
|
|
|
2507
2507
|
},
|
|
2508
2508
|
emits: ["update:show"],
|
|
2509
2509
|
setup(t, { emit: e }) {
|
|
2510
|
-
const n = Ze(() => import("vuedraggable")), a = Ze(() => import("./index-
|
|
2510
|
+
const n = Ze(() => import("vuedraggable")), a = Ze(() => import("./index-DFZmkHxJ.mjs")), i = U(!1), o = W(() => ({
|
|
2511
2511
|
animation: 200,
|
|
2512
2512
|
group: "item",
|
|
2513
2513
|
disabled: !1,
|
|
@@ -2643,8 +2643,8 @@ const Ty = ["innerHTML"], Iy = ["innerHTML"], Sy = /* @__PURE__ */ we({
|
|
|
2643
2643
|
);
|
|
2644
2644
|
};
|
|
2645
2645
|
return (F, L) => {
|
|
2646
|
-
const H = z("a-switch"), j = z("a-option"), N = z("a-select"), K = z("icon-plus"), _ = z("a-button"), $ = z("a-button-group"), ae = z("icon-drag-arrow"), fe = z("icon-delete"), X = z("a-input"), J = z("a-checkbox"),
|
|
2647
|
-
return w(), se(
|
|
2646
|
+
const H = z("a-switch"), j = z("a-option"), N = z("a-select"), K = z("icon-plus"), _ = z("a-button"), $ = z("a-button-group"), ae = z("icon-drag-arrow"), fe = z("icon-delete"), X = z("a-input"), J = z("a-checkbox"), ge = z("a-drawer");
|
|
2647
|
+
return w(), se(ge, {
|
|
2648
2648
|
width: 500,
|
|
2649
2649
|
visible: t.show,
|
|
2650
2650
|
footer: !1,
|
|
@@ -5219,7 +5219,7 @@ const Ty = ["innerHTML"], Iy = ["innerHTML"], Sy = /* @__PURE__ */ we({
|
|
|
5219
5219
|
},
|
|
5220
5220
|
emits: ["update:show"],
|
|
5221
5221
|
setup(t, { emit: e }) {
|
|
5222
|
-
const n = Ze(() => import("vuedraggable")), a = Ze(() => import("./index-
|
|
5222
|
+
const n = Ze(() => import("vuedraggable")), a = Ze(() => import("./index-DFZmkHxJ.mjs")), i = U(!1), o = W(() => ({
|
|
5223
5223
|
animation: 200,
|
|
5224
5224
|
group: "gallerys",
|
|
5225
5225
|
// 链接专用分组
|
|
@@ -5576,7 +5576,7 @@ var an = /* @__PURE__ */ function() {
|
|
|
5576
5576
|
var e = t.prototype;
|
|
5577
5577
|
return e.init = function(a) {
|
|
5578
5578
|
Zr || Sp(xn) || console.warn("Please gsap.registerPlugin(Observer)"), Pl || Ip();
|
|
5579
|
-
var i = a.tolerance, o = a.dragMinimum, r = a.type, s = a.target, d = a.lineHeight, c = a.debounce, f = a.preventDefault, y = a.onStop, p = a.onStopDelay, u = a.ignore, A = a.wheelSpeed, m = a.event, x = a.onDragStart, E = a.onDragEnd, T = a.onDrag, D = a.onPress, b = a.onRelease, S = a.onRight, k = a.onLeft, B = a.onUp, V = a.onDown, F = a.onChangeX, L = a.onChangeY, H = a.onChange, j = a.onToggleX, N = a.onToggleY, K = a.onHover, _ = a.onHoverEnd, $ = a.onMove, ae = a.ignoreCheck, fe = a.isNormalizer, X = a.onGestureStart, J = a.onGestureEnd,
|
|
5579
|
+
var i = a.tolerance, o = a.dragMinimum, r = a.type, s = a.target, d = a.lineHeight, c = a.debounce, f = a.preventDefault, y = a.onStop, p = a.onStopDelay, u = a.ignore, A = a.wheelSpeed, m = a.event, x = a.onDragStart, E = a.onDragEnd, T = a.onDrag, D = a.onPress, b = a.onRelease, S = a.onRight, k = a.onLeft, B = a.onUp, V = a.onDown, F = a.onChangeX, L = a.onChangeY, H = a.onChange, j = a.onToggleX, N = a.onToggleY, K = a.onHover, _ = a.onHoverEnd, $ = a.onMove, ae = a.ignoreCheck, fe = a.isNormalizer, X = a.onGestureStart, J = a.onGestureEnd, ge = a.onWheel, Z = a.onEnable, ee = a.onDisable, oe = a.onClick, Te = a.scrollSpeed, Ve = a.capture, Le = a.allowClicks, Xe = a.lockAxis, Je = a.onLockAxis;
|
|
5580
5580
|
this.target = s = Xn(s) || Ji, this.vars = a, u && (u = xn.utils.toArray(u)), i = i || 1e-9, o = o || 0, A = A || 1, Te = Te || 1, r = r || "wheel,touch,pointer", c = c !== !1, d || (d = parseFloat(Aa.getComputedStyle(ro).lineHeight) || 22);
|
|
5581
5581
|
var Ce, Se, De, re, Ae, Me, Re, ve = this, ot = 0, je = 0, be = a.passive || !f && a.passive !== !1, Qe = $i(s, zn), et = $i(s, un), $e = Qe(), gt = et(), Et = ~r.indexOf("touch") && !~r.indexOf("pointer") && Ua[0] === "pointerdown", Gn = Il(s), Ot = s.ownerDocument || Xi, cn = [0, 0, 0], hn = [0, 0, 0], Zt = 0, Vi = function() {
|
|
5582
5582
|
return Zt = Tl();
|
|
@@ -5586,7 +5586,7 @@ var an = /* @__PURE__ */ function() {
|
|
|
5586
5586
|
ve._vx.reset(), ve._vy.reset(), Se.pause(), y && y(ve);
|
|
5587
5587
|
}, qn = function() {
|
|
5588
5588
|
var lt = ve.deltaX = fm(cn), kt = ve.deltaY = fm(hn), qe = Math.abs(lt) >= i, ct = Math.abs(kt) >= i;
|
|
5589
|
-
H && (qe || ct) && H(ve, lt, kt, cn, hn), qe && (S && ve.deltaX > 0 && S(ve), k && ve.deltaX < 0 && k(ve), F && F(ve), j && ve.deltaX < 0 != ot < 0 && j(ve), ot = ve.deltaX, cn[0] = cn[1] = cn[2] = 0), ct && (V && ve.deltaY > 0 && V(ve), B && ve.deltaY < 0 && B(ve), L && L(ve), N && ve.deltaY < 0 != je < 0 && N(ve), je = ve.deltaY, hn[0] = hn[1] = hn[2] = 0), (re || De) && ($ && $(ve), De && (x && De === 1 && x(ve), T && T(ve), De = 0), re = !1), Me && !(Me = !1) && Je && Je(ve), Ae && (
|
|
5589
|
+
H && (qe || ct) && H(ve, lt, kt, cn, hn), qe && (S && ve.deltaX > 0 && S(ve), k && ve.deltaX < 0 && k(ve), F && F(ve), j && ve.deltaX < 0 != ot < 0 && j(ve), ot = ve.deltaX, cn[0] = cn[1] = cn[2] = 0), ct && (V && ve.deltaY > 0 && V(ve), B && ve.deltaY < 0 && B(ve), L && L(ve), N && ve.deltaY < 0 != je < 0 && N(ve), je = ve.deltaY, hn[0] = hn[1] = hn[2] = 0), (re || De) && ($ && $(ve), De && (x && De === 1 && x(ve), T && T(ve), De = 0), re = !1), Me && !(Me = !1) && Je && Je(ve), Ae && (ge(ve), Ae = !1), Ce = 0;
|
|
5590
5590
|
}, Li = function(lt, kt, qe) {
|
|
5591
5591
|
cn[qe] += lt, hn[qe] += kt, ve._vx.update(lt), ve._vy.update(kt), c ? Ce || (Ce = requestAnimationFrame(qn)) : qn();
|
|
5592
5592
|
}, Qi = function(lt, kt) {
|
|
@@ -5625,7 +5625,7 @@ var an = /* @__PURE__ */ function() {
|
|
|
5625
5625
|
}
|
|
5626
5626
|
}, oa = function(lt) {
|
|
5627
5627
|
if (!ut(lt)) {
|
|
5628
|
-
lt = rl(lt, f),
|
|
5628
|
+
lt = rl(lt, f), ge && (Ae = !0);
|
|
5629
5629
|
var kt = (lt.deltaMode === 1 ? d : lt.deltaMode === 2 ? Aa.innerHeight : 1) * A;
|
|
5630
5630
|
Li(lt.deltaX * kt, lt.deltaY * kt, 0), y && !fe && Se.restart(!0);
|
|
5631
5631
|
}
|
|
@@ -6037,7 +6037,7 @@ var _e, eo, bt, Rt, ma, It, rh, dd, Yl, Sl, pl, Mr, Dn, Nd, hc, Hn, mm, Am, to,
|
|
|
6037
6037
|
a = bm(fa(a) || yl(a) || a.nodeType ? {
|
|
6038
6038
|
trigger: a
|
|
6039
6039
|
} : a, Ur);
|
|
6040
|
-
var o = a, r = o.onUpdate, s = o.toggleClass, d = o.id, c = o.onToggle, f = o.onRefresh, y = o.scrub, p = o.trigger, u = o.pin, A = o.pinSpacing, m = o.invalidateOnRefresh, x = o.anticipatePin, E = o.onScrubComplete, T = o.onSnapComplete, D = o.once, b = o.snap, S = o.pinReparent, k = o.pinSpacer, B = o.containerAnimation, V = o.fastScrollEnd, F = o.preventOverlaps, L = a.horizontal || a.containerAnimation && a.horizontal !== !1 ? zn : un, H = !y && y !== 0, j = Xn(a.scroller || bt), N = _e.core.getCache(j), K = Es(j), _ = ("pinType" in a ? a.pinType : _i(j, "pinType") || K && "fixed") === "fixed", $ = [a.onEnter, a.onLeave, a.onEnterBack, a.onLeaveBack], ae = H && a.toggleActions.split(" "), fe = "markers" in a ? a.markers : Ur.markers, X = K ? 0 : parseFloat(ka(j)["border" + L.p2 + xo]) || 0, J = this,
|
|
6040
|
+
var o = a, r = o.onUpdate, s = o.toggleClass, d = o.id, c = o.onToggle, f = o.onRefresh, y = o.scrub, p = o.trigger, u = o.pin, A = o.pinSpacing, m = o.invalidateOnRefresh, x = o.anticipatePin, E = o.onScrubComplete, T = o.onSnapComplete, D = o.once, b = o.snap, S = o.pinReparent, k = o.pinSpacer, B = o.containerAnimation, V = o.fastScrollEnd, F = o.preventOverlaps, L = a.horizontal || a.containerAnimation && a.horizontal !== !1 ? zn : un, H = !y && y !== 0, j = Xn(a.scroller || bt), N = _e.core.getCache(j), K = Es(j), _ = ("pinType" in a ? a.pinType : _i(j, "pinType") || K && "fixed") === "fixed", $ = [a.onEnter, a.onLeave, a.onEnterBack, a.onLeaveBack], ae = H && a.toggleActions.split(" "), fe = "markers" in a ? a.markers : Ur.markers, X = K ? 0 : parseFloat(ka(j)["border" + L.p2 + xo]) || 0, J = this, ge = a.onRefreshInit && function() {
|
|
6041
6041
|
return a.onRefreshInit(J);
|
|
6042
6042
|
}, Z = wx(j, K, L), ee = yx(j, K), oe = 0, Te = 0, Ve = 0, Le = $i(j, L), Xe, Je, Ce, Se, De, re, Ae, Me, Re, ve, ot, je, be, Qe, et, $e, gt, Et, Gn, Ot, cn, hn, Zt, Vi, ut, Us, qn, Li, Qi, ja, ci, vt, hi, ia, sa, oa, gi, Oi, ba;
|
|
6043
6043
|
if (J._startClamp = J._endClamp = !1, J._dir = L, x *= 45, J.scroller = j, J.scroll = B ? B.time.bind(B) : Le, Se = Le(), J.vars = a, i = i || a.animation, "refreshPriority" in a && (Mp = 1, a.refreshPriority === -9999 && (Ol = J)), N.tweenScroll = N.tweenScroll || {
|
|
@@ -6121,7 +6121,7 @@ var _e, eo, bt, Rt, ma, It, rh, dd, Yl, Sl, pl, Mr, Dn, Nd, hc, Hn, mm, Am, to,
|
|
|
6121
6121
|
pn(t, "scrollEnd", jp);
|
|
6122
6122
|
return;
|
|
6123
6123
|
}
|
|
6124
|
-
!Rn &&
|
|
6124
|
+
!Rn && ge && ge(J), Dn = J, Xe.tween && !tt && (Xe.tween.kill(), Xe.tween = 0), vt && vt.pause(), m && i && (i.revert({
|
|
6125
6125
|
kill: !1
|
|
6126
6126
|
}).invalidate(), i.getChildren && i.getChildren(!0, !0, !1).forEach(function(da) {
|
|
6127
6127
|
return da.vars.immediateRender && da.render(0, !0, !0);
|
|
@@ -6193,7 +6193,7 @@ var _e, eo, bt, Rt, ma, It, rh, dd, Yl, Sl, pl, Mr, Dn, Nd, hc, Hn, mm, Am, to,
|
|
|
6193
6193
|
Oi && Oi(-dt / B.duration() * (B._caScrollDist || 0));
|
|
6194
6194
|
}
|
|
6195
6195
|
}, J.enable = function(qe, ct) {
|
|
6196
|
-
J.enabled || (J.enabled = !0, pn(j, "resize", bl), K || pn(j, "scroll", Ys),
|
|
6196
|
+
J.enabled || (J.enabled = !0, pn(j, "resize", bl), K || pn(j, "scroll", Ys), ge && pn(t, "refreshInit", ge), qe !== !1 && (J.progress = Ve = 0, Se = De = oe = Le()), ct !== !1 && J.refresh());
|
|
6197
6197
|
}, J.getTween = function(qe) {
|
|
6198
6198
|
return qe && Xe ? Xe.tween : vt;
|
|
6199
6199
|
}, J.setPositions = function(qe, ct, tt, dt) {
|
|
@@ -6211,7 +6211,7 @@ var _e, eo, bt, Rt, ma, It, rh, dd, Yl, Sl, pl, Mr, Dn, Nd, hc, Hn, mm, Am, to,
|
|
|
6211
6211
|
ut[ct] = parseFloat(ut[ct]) + qe + dn, ut[1] = parseFloat(ut[1]) + qe + dn, co(ut);
|
|
6212
6212
|
}
|
|
6213
6213
|
}, J.disable = function(qe, ct) {
|
|
6214
|
-
if (J.enabled && (qe !== !1 && J.revert(!0, !0), J.enabled = J.isActive = !1, ct || vt && vt.pause(), oa = 0, Je && (Je.uncache = 1),
|
|
6214
|
+
if (J.enabled && (qe !== !1 && J.revert(!0, !0), J.enabled = J.isActive = !1, ct || vt && vt.pause(), oa = 0, Je && (Je.uncache = 1), ge && An(t, "refreshInit", ge), sa && (sa.pause(), Xe.tween && Xe.tween.kill() && (Xe.tween = 0)), !K)) {
|
|
6215
6215
|
for (var tt = wt.length; tt--; )
|
|
6216
6216
|
if (wt[tt].scroller === j && wt[tt] !== J)
|
|
6217
6217
|
return;
|
|
@@ -6454,8 +6454,8 @@ var Tm = function(e, n, a, i) {
|
|
|
6454
6454
|
_.restart(!0);
|
|
6455
6455
|
else {
|
|
6456
6456
|
Ct.cache++;
|
|
6457
|
-
var X = T(), J,
|
|
6458
|
-
a && (J = A(),
|
|
6457
|
+
var X = T(), J, ge;
|
|
6458
|
+
a && (J = A(), ge = J + X * 0.05 * -ae.velocityX / 0.227, X *= Tm(A, J, ge, _a(c, zn)), j.vars.scrollX = B(ge)), J = u(), ge = J + X * 0.05 * -ae.velocityY / 0.227, X *= Tm(u, J, ge, _a(c, un)), j.vars.scrollY = V(ge), j.invalidate().duration(X).play(0.01), (qi && j.vars.scrollY >= d || J >= d - 1) && _e.to({}, {
|
|
6459
6459
|
onUpdate: $,
|
|
6460
6460
|
duration: X
|
|
6461
6461
|
});
|
|
@@ -6463,10 +6463,10 @@ var Tm = function(e, n, a, i) {
|
|
|
6463
6463
|
r && r(ae);
|
|
6464
6464
|
}, e.onWheel = function() {
|
|
6465
6465
|
j._ts && j.pause(), En() - E > 1e3 && (D = 0, E = En());
|
|
6466
|
-
}, e.onChange = function(ae, fe, X, J,
|
|
6466
|
+
}, e.onChange = function(ae, fe, X, J, ge) {
|
|
6467
6467
|
if (ys !== D && F(), fe && a && A(B(J[2] === fe ? N + (ae.startX - ae.x) : A() + fe - J[1])), X) {
|
|
6468
6468
|
u.offset && L();
|
|
6469
|
-
var Z =
|
|
6469
|
+
var Z = ge[2] === X, ee = Z ? K + ae.startY - ae.y : u() + X - ge[1], oe = V(ee);
|
|
6470
6470
|
Z && ee !== oe && (K += oe - ee), u(oe);
|
|
6471
6471
|
}
|
|
6472
6472
|
(X || fe) && xi();
|
|
@@ -6829,7 +6829,7 @@ const Vx = { class: "gallery-container gallery-timeline container-content" }, Lx
|
|
|
6829
6829
|
},
|
|
6830
6830
|
emits: ["update:show"],
|
|
6831
6831
|
setup(t, { emit: e }) {
|
|
6832
|
-
const n = Ze(() => import("vuedraggable")), a = Ze(() => import("./index-
|
|
6832
|
+
const n = Ze(() => import("vuedraggable")), a = Ze(() => import("./index-DFZmkHxJ.mjs")), i = U(!1), o = W(() => ({
|
|
6833
6833
|
animation: 200,
|
|
6834
6834
|
group: "gallerys",
|
|
6835
6835
|
// 链接专用分组
|
|
@@ -8209,7 +8209,7 @@ const Vx = { class: "gallery-container gallery-timeline container-content" }, Lx
|
|
|
8209
8209
|
},
|
|
8210
8210
|
emits: ["update:show"],
|
|
8211
8211
|
setup(t, { emit: e }) {
|
|
8212
|
-
const n = Ze(() => import("vuedraggable")), a = Ze(() => import("./index-
|
|
8212
|
+
const n = Ze(() => import("vuedraggable")), a = Ze(() => import("./index-DFZmkHxJ.mjs")), i = U(!1), o = W(() => ({
|
|
8213
8213
|
animation: 200,
|
|
8214
8214
|
group: "btns",
|
|
8215
8215
|
// 链接专用分组
|
|
@@ -9026,7 +9026,7 @@ const Vx = { class: "gallery-container gallery-timeline container-content" }, Lx
|
|
|
9026
9026
|
}
|
|
9027
9027
|
},
|
|
9028
9028
|
setup(t) {
|
|
9029
|
-
const e = Ze(() => import("vuedraggable")), n = Ze(() => import("./index-
|
|
9029
|
+
const e = Ze(() => import("vuedraggable")), n = Ze(() => import("./index-DFZmkHxJ.mjs")), a = U(!1), i = W(() => ({
|
|
9030
9030
|
animation: 200,
|
|
9031
9031
|
group: "buttons",
|
|
9032
9032
|
// 按钮专用分组
|
|
@@ -10348,61 +10348,58 @@ const Vx = { class: "gallery-container gallery-timeline container-content" }, Lx
|
|
|
10348
10348
|
ref: r
|
|
10349
10349
|
}, [
|
|
10350
10350
|
l("div", D7, [
|
|
10351
|
-
(w(!0), P(ce, null, xe(t.data, (fe, X) => {
|
|
10352
|
-
|
|
10353
|
-
|
|
10354
|
-
|
|
10355
|
-
|
|
10351
|
+
(w(!0), P(ce, null, xe(t.data, (fe, X) => (w(), P("div", {
|
|
10352
|
+
class: "swiper-slide",
|
|
10353
|
+
key: fe.id
|
|
10354
|
+
}, [
|
|
10355
|
+
l("div", {
|
|
10356
|
+
class: "swiper-slide__media",
|
|
10357
|
+
style: Oe({ cursor: fe.link ? "pointer" : "default" }),
|
|
10358
|
+
onClick: (J) => K(fe.link || "")
|
|
10356
10359
|
}, [
|
|
10357
|
-
|
|
10358
|
-
class: "swiper-slide__media",
|
|
10359
|
-
style: Oe({ cursor: fe.link ? "pointer" : "default" }),
|
|
10360
|
-
onClick: (he) => K(fe.link || "")
|
|
10361
|
-
}, [
|
|
10362
|
-
fe.type === "Image" ? (w(), P("img", {
|
|
10363
|
-
key: 0,
|
|
10364
|
-
class: "swiper-slide__media-img",
|
|
10365
|
-
src: fe.imgSrc,
|
|
10366
|
-
alt: fe.alt
|
|
10367
|
-
}, null, 8, k7)) : fe.type === "Video" ? (w(), P("div", P7, [
|
|
10368
|
-
l("video", {
|
|
10369
|
-
ref_for: !0,
|
|
10370
|
-
ref: (he) => S(he, X),
|
|
10371
|
-
playsinline: "",
|
|
10372
|
-
poster: fe.imgSrc,
|
|
10373
|
-
onEnded: D
|
|
10374
|
-
}, [
|
|
10375
|
-
l("source", {
|
|
10376
|
-
src: fe.videoSrc,
|
|
10377
|
-
type: "video/mp4"
|
|
10378
|
-
}, null, 8, I7)
|
|
10379
|
-
], 40, T7)
|
|
10380
|
-
])) : G("", !0)
|
|
10381
|
-
], 12, E7),
|
|
10382
|
-
t.isPreview && fe.link && fe.link.includes("http") ? (w(), P("a", {
|
|
10360
|
+
fe.type === "Image" ? (w(), P("img", {
|
|
10383
10361
|
key: 0,
|
|
10384
|
-
|
|
10385
|
-
|
|
10386
|
-
|
|
10387
|
-
}, null, 8,
|
|
10388
|
-
|
|
10389
|
-
|
|
10390
|
-
|
|
10391
|
-
|
|
10392
|
-
|
|
10393
|
-
|
|
10394
|
-
|
|
10395
|
-
|
|
10396
|
-
|
|
10397
|
-
|
|
10398
|
-
|
|
10399
|
-
|
|
10400
|
-
|
|
10401
|
-
|
|
10402
|
-
|
|
10403
|
-
|
|
10404
|
-
|
|
10405
|
-
|
|
10362
|
+
class: "swiper-slide__media-img",
|
|
10363
|
+
src: fe.imgSrc,
|
|
10364
|
+
alt: fe.alt
|
|
10365
|
+
}, null, 8, k7)) : fe.type === "Video" ? (w(), P("div", P7, [
|
|
10366
|
+
l("video", {
|
|
10367
|
+
ref_for: !0,
|
|
10368
|
+
ref: (J) => S(J, X),
|
|
10369
|
+
playsinline: "",
|
|
10370
|
+
poster: fe.imgSrc,
|
|
10371
|
+
onEnded: D
|
|
10372
|
+
}, [
|
|
10373
|
+
l("source", {
|
|
10374
|
+
src: fe.videoSrc,
|
|
10375
|
+
type: "video/mp4"
|
|
10376
|
+
}, null, 8, I7)
|
|
10377
|
+
], 40, T7)
|
|
10378
|
+
])) : G("", !0)
|
|
10379
|
+
], 12, E7),
|
|
10380
|
+
t.isPreview && fe.link && fe.link.includes("http") ? (w(), P("a", {
|
|
10381
|
+
key: 0,
|
|
10382
|
+
href: fe.link,
|
|
10383
|
+
target: "_blank",
|
|
10384
|
+
class: "swiper-slide__link"
|
|
10385
|
+
}, null, 8, S7)) : G("", !0),
|
|
10386
|
+
l("div", M7, [
|
|
10387
|
+
l("div", V7, v(fe.title), 1),
|
|
10388
|
+
fe.type === "Video" ? (w(), P(ce, { key: 0 }, [
|
|
10389
|
+
k.value ? G("", !0) : (w(), P("button", {
|
|
10390
|
+
key: 0,
|
|
10391
|
+
type: "button",
|
|
10392
|
+
class: "swiper-slide__body__play",
|
|
10393
|
+
onClick: Dt(B, ["stop"])
|
|
10394
|
+
})),
|
|
10395
|
+
l("button", {
|
|
10396
|
+
type: "button",
|
|
10397
|
+
class: "swiper-slide__body__link",
|
|
10398
|
+
onClick: Dt(j, ["stop"])
|
|
10399
|
+
}, v(h(i)("btn.watch_full_video")), 1)
|
|
10400
|
+
], 64)) : G("", !0)
|
|
10401
|
+
])
|
|
10402
|
+
]))), 128))
|
|
10406
10403
|
]),
|
|
10407
10404
|
$[1] || ($[1] = l("div", { class: "swiper-nav-container" }, [
|
|
10408
10405
|
l("div", { class: "swiper-button-prev" }),
|
|
@@ -10442,7 +10439,7 @@ const Vx = { class: "gallery-container gallery-timeline container-content" }, Lx
|
|
|
10442
10439
|
], 64);
|
|
10443
10440
|
};
|
|
10444
10441
|
}
|
|
10445
|
-
}), U7 = /* @__PURE__ */ me(O7, [["__scopeId", "data-v-
|
|
10442
|
+
}), U7 = /* @__PURE__ */ me(O7, [["__scopeId", "data-v-a8ec5f5d"]]), F7 = /* @__PURE__ */ we({
|
|
10446
10443
|
name: "HeroSlide",
|
|
10447
10444
|
__name: "index",
|
|
10448
10445
|
props: {
|
|
@@ -11055,7 +11052,7 @@ const Vx = { class: "gallery-container gallery-timeline container-content" }, Lx
|
|
|
11055
11052
|
},
|
|
11056
11053
|
emits: ["update:show"],
|
|
11057
11054
|
setup(t, { emit: e }) {
|
|
11058
|
-
const n = Ze(() => import("./index-
|
|
11055
|
+
const n = Ze(() => import("./index-DFZmkHxJ.mjs")), a = t, { t: i } = Be(a.locale), o = e, r = () => {
|
|
11059
11056
|
o("update:show", !1);
|
|
11060
11057
|
};
|
|
11061
11058
|
return (s, d) => {
|
|
@@ -12034,7 +12031,7 @@ const Vx = { class: "gallery-container gallery-timeline container-content" }, Lx
|
|
|
12034
12031
|
return at(() => {
|
|
12035
12032
|
x();
|
|
12036
12033
|
}), S(), (_, $) => {
|
|
12037
|
-
var fe, X, J,
|
|
12034
|
+
var fe, X, J, ge;
|
|
12038
12035
|
const ae = z("client-only");
|
|
12039
12036
|
return w(), P(ce, null, [
|
|
12040
12037
|
k.value ? (w(), P("div", {
|
|
@@ -12116,7 +12113,7 @@ const Vx = { class: "gallery-container gallery-timeline container-content" }, Lx
|
|
|
12116
12113
|
_: 1
|
|
12117
12114
|
})) : (w(), P("div", Ek, [
|
|
12118
12115
|
l("div", kk, [
|
|
12119
|
-
(w(!0), P(ce, null, xe((
|
|
12116
|
+
(w(!0), P(ce, null, xe((ge = t.modelValue) == null ? void 0 : ge.data, (Z) => (w(), P("div", {
|
|
12120
12117
|
class: "card-content",
|
|
12121
12118
|
key: Z.id,
|
|
12122
12119
|
onClick: (ee) => K(Z)
|
|
@@ -12629,7 +12626,7 @@ const Vx = { class: "gallery-container gallery-timeline container-content" }, Lx
|
|
|
12629
12626
|
},
|
|
12630
12627
|
emits: ["update:show"],
|
|
12631
12628
|
setup(t, { emit: e }) {
|
|
12632
|
-
const n = Ze(() => import("./index-
|
|
12629
|
+
const n = Ze(() => import("./index-DFZmkHxJ.mjs")), a = t, { t: i } = Be(a.locale), o = e, r = () => {
|
|
12633
12630
|
o("update:show", !1);
|
|
12634
12631
|
};
|
|
12635
12632
|
return (s, d) => {
|
|
@@ -12830,7 +12827,7 @@ const Vx = { class: "gallery-container gallery-timeline container-content" }, Lx
|
|
|
12830
12827
|
},
|
|
12831
12828
|
emits: ["update:show"],
|
|
12832
12829
|
setup(t, { emit: e }) {
|
|
12833
|
-
const n = Ze(() => import("vuedraggable")), a = Ze(() => import("./index-
|
|
12830
|
+
const n = Ze(() => import("vuedraggable")), a = Ze(() => import("./index-DFZmkHxJ.mjs")), i = U(!1), o = W(() => ({
|
|
12834
12831
|
animation: 200,
|
|
12835
12832
|
group: "links",
|
|
12836
12833
|
// 链接专用分组
|
|
@@ -13216,7 +13213,7 @@ const Vx = { class: "gallery-container gallery-timeline container-content" }, Lx
|
|
|
13216
13213
|
},
|
|
13217
13214
|
emits: ["update:show"],
|
|
13218
13215
|
setup(t, { emit: e }) {
|
|
13219
|
-
const n = Ze(() => import("./index-
|
|
13216
|
+
const n = Ze(() => import("./index-DFZmkHxJ.mjs")), a = t, { t: i } = Be(a.locale), o = e, r = () => {
|
|
13220
13217
|
o("update:show", !1);
|
|
13221
13218
|
};
|
|
13222
13219
|
return (s, d) => {
|
|
@@ -13742,7 +13739,7 @@ const Vx = { class: "gallery-container gallery-timeline container-content" }, Lx
|
|
|
13742
13739
|
},
|
|
13743
13740
|
emits: ["update:show"],
|
|
13744
13741
|
setup(t, { emit: e }) {
|
|
13745
|
-
const n = Ze(() => import("vuedraggable")), a = Ze(() => import("./index-
|
|
13742
|
+
const n = Ze(() => import("vuedraggable")), a = Ze(() => import("./index-DFZmkHxJ.mjs")), i = U(!1), o = W(() => ({
|
|
13746
13743
|
animation: 200,
|
|
13747
13744
|
group: "gallerys",
|
|
13748
13745
|
// 链接专用分组
|
|
@@ -14055,10 +14052,10 @@ const Vx = { class: "gallery-container gallery-timeline container-content" }, Lx
|
|
|
14055
14052
|
}, fe = (re) => {
|
|
14056
14053
|
typeof document > "u" || (re ? document.body.style.overflow = "hidden" : document.body.style.overflow = "");
|
|
14057
14054
|
}, X = () => {
|
|
14058
|
-
typeof window > "u" || (window.addEventListener("scroll", Z), window.addEventListener("resize",
|
|
14055
|
+
typeof window > "u" || (window.addEventListener("scroll", Z), window.addEventListener("resize", ge), ge());
|
|
14059
14056
|
}, J = () => {
|
|
14060
|
-
typeof window > "u" || (window.removeEventListener("scroll", Z), window.removeEventListener("resize",
|
|
14061
|
-
},
|
|
14057
|
+
typeof window > "u" || (window.removeEventListener("scroll", Z), window.removeEventListener("resize", ge));
|
|
14058
|
+
}, ge = () => {
|
|
14062
14059
|
typeof window > "u" || (D.value = window.innerWidth, b.value = window.scrollY);
|
|
14063
14060
|
}, Z = () => {
|
|
14064
14061
|
var Re;
|
|
@@ -14567,7 +14564,7 @@ const Bn = Jp(), VT = Jp(), LT = ["onClick"], QT = /* @__PURE__ */ we({
|
|
|
14567
14564
|
return n.currentIdx ?? 0;
|
|
14568
14565
|
},
|
|
14569
14566
|
set(Z) {
|
|
14570
|
-
i("updateIdx", Z), Ue(() =>
|
|
14567
|
+
i("updateIdx", Z), Ue(() => ge());
|
|
14571
14568
|
}
|
|
14572
14569
|
}), F = W(() => c.value - f.value), L = W(() => typeof window > "u" ? !1 : p.value - window.innerWidth > 20), H = U(typeof window < "u" ? window.innerWidth : 0);
|
|
14573
14570
|
Ne(() => n.currentIdx, (Z, ee) => {
|
|
@@ -14603,7 +14600,7 @@ const Bn = Jp(), VT = Jp(), LT = ["onClick"], QT = /* @__PURE__ */ we({
|
|
|
14603
14600
|
}, J = () => {
|
|
14604
14601
|
const Z = r.value;
|
|
14605
14602
|
Z && (m.value = Z.clientWidth);
|
|
14606
|
-
},
|
|
14603
|
+
}, ge = () => {
|
|
14607
14604
|
if (typeof window > "u") return;
|
|
14608
14605
|
const Z = d.value[V.value];
|
|
14609
14606
|
if (!Z) return;
|
|
@@ -15261,11 +15258,11 @@ const Bn = Jp(), VT = Jp(), LT = ["onClick"], QT = /* @__PURE__ */ we({
|
|
|
15261
15258
|
}), J = W(() => {
|
|
15262
15259
|
var De;
|
|
15263
15260
|
return ((De = n.modelValue) == null ? void 0 : De.colMobile) ?? 1;
|
|
15264
|
-
}),
|
|
15261
|
+
}), ge = W(() => {
|
|
15265
15262
|
var re, Ae;
|
|
15266
15263
|
const De = (Ae = (re = ae.value) == null ? void 0 : re[D.value]) == null ? void 0 : Ae.list;
|
|
15267
15264
|
return Array.isArray(De) ? De : [];
|
|
15268
|
-
}), Z = W(() => !S.value || !S.value.length ?
|
|
15265
|
+
}), Z = W(() => !S.value || !S.value.length ? ge.value : ge.value.filter((De) => {
|
|
15269
15266
|
var Ae;
|
|
15270
15267
|
let re = !1;
|
|
15271
15268
|
return (Ae = S.value) == null || Ae.forEach((Me) => {
|
|
@@ -15475,7 +15472,7 @@ const Bn = Jp(), VT = Jp(), LT = ["onClick"], QT = /* @__PURE__ */ we({
|
|
|
15475
15472
|
},
|
|
15476
15473
|
emits: ["update:show"],
|
|
15477
15474
|
setup(t, { emit: e }) {
|
|
15478
|
-
const n = Ze(() => import("vuedraggable")), a = Ze(() => import("./index-
|
|
15475
|
+
const n = Ze(() => import("vuedraggable")), a = Ze(() => import("./index-DFZmkHxJ.mjs")), i = U(!1), o = W(() => ({
|
|
15479
15476
|
animation: 200,
|
|
15480
15477
|
group: "gallerys",
|
|
15481
15478
|
// 链接专用分组
|
|
@@ -16037,7 +16034,7 @@ const Bn = Jp(), VT = Jp(), LT = ["onClick"], QT = /* @__PURE__ */ we({
|
|
|
16037
16034
|
u.value = N, B.value && B.value.slideTo(N);
|
|
16038
16035
|
};
|
|
16039
16036
|
return (N, K) => {
|
|
16040
|
-
var _, $, ae, fe, X, J,
|
|
16037
|
+
var _, $, ae, fe, X, J, ge, Z, ee, oe;
|
|
16041
16038
|
return w(), P(ce, null, [
|
|
16042
16039
|
r.value ? (w(), P("div", {
|
|
16043
16040
|
key: 0,
|
|
@@ -16183,7 +16180,7 @@ const Bn = Jp(), VT = Jp(), LT = ["onClick"], QT = /* @__PURE__ */ we({
|
|
|
16183
16180
|
l("div", XS, v((J = t.modelValue) == null ? void 0 : J.btnText), 1),
|
|
16184
16181
|
K[8] || (K[8] = l("span", { class: "btn-primary__icon" }, null, -1))
|
|
16185
16182
|
], 8, WS)) : (w(), P("button", JS, [
|
|
16186
|
-
l("div", ZS, v((
|
|
16183
|
+
l("div", ZS, v((ge = t.modelValue) == null ? void 0 : ge.btnText), 1),
|
|
16187
16184
|
K[9] || (K[9] = l("span", { class: "btn-primary__icon" }, null, -1))
|
|
16188
16185
|
]))
|
|
16189
16186
|
], 64)) : (w(), P("div", _S, [
|
|
@@ -16718,7 +16715,7 @@ const Bn = Jp(), VT = Jp(), LT = ["onClick"], QT = /* @__PURE__ */ we({
|
|
|
16718
16715
|
emits: ["update:show"],
|
|
16719
16716
|
setup(t, { emit: e }) {
|
|
16720
16717
|
const n = Ze(
|
|
16721
|
-
() => import("./index-
|
|
16718
|
+
() => import("./index-DFZmkHxJ.mjs")
|
|
16722
16719
|
), a = t, { t: i } = Be(a.locale), o = e, r = () => {
|
|
16723
16720
|
o("update:show", !1);
|
|
16724
16721
|
};
|
|
@@ -18233,7 +18230,7 @@ const Bn = Jp(), VT = Jp(), LT = ["onClick"], QT = /* @__PURE__ */ we({
|
|
|
18233
18230
|
setup(t, { emit: e }) {
|
|
18234
18231
|
var k;
|
|
18235
18232
|
const n = Ze(() => import("vuedraggable")), a = Ze(
|
|
18236
|
-
() => import("./index-
|
|
18233
|
+
() => import("./index-DFZmkHxJ.mjs")
|
|
18237
18234
|
), i = W(() => ({
|
|
18238
18235
|
animation: 200,
|
|
18239
18236
|
group: "linkList",
|
|
@@ -18444,7 +18441,7 @@ const Bn = Jp(), VT = Jp(), LT = ["onClick"], QT = /* @__PURE__ */ we({
|
|
|
18444
18441
|
onEnd: V[3] || (V[3] = (J) => s.value = !1),
|
|
18445
18442
|
"item-key": "id"
|
|
18446
18443
|
}), {
|
|
18447
|
-
item: I(({ element: J, index:
|
|
18444
|
+
item: I(({ element: J, index: ge }) => [
|
|
18448
18445
|
l("div", IQ, [
|
|
18449
18446
|
l("div", SQ, [
|
|
18450
18447
|
l("div", {
|
|
@@ -18683,7 +18680,7 @@ const Bn = Jp(), VT = Jp(), LT = ["onClick"], QT = /* @__PURE__ */ we({
|
|
|
18683
18680
|
mode: "out-in"
|
|
18684
18681
|
}, {
|
|
18685
18682
|
default: I(() => {
|
|
18686
|
-
var V, F, L, H, j, N, K, _, $, ae, fe, X, J,
|
|
18683
|
+
var V, F, L, H, j, N, K, _, $, ae, fe, X, J, ge, Z, ee, oe, Te, Ve;
|
|
18687
18684
|
return [
|
|
18688
18685
|
(w(), P("div", {
|
|
18689
18686
|
class: "pc_wrap",
|
|
@@ -18710,7 +18707,7 @@ const Bn = Jp(), VT = Jp(), LT = ["onClick"], QT = /* @__PURE__ */ we({
|
|
|
18710
18707
|
innerHTML: (X = (fe = (ae = t.modelValue) == null ? void 0 : ae.list) == null ? void 0 : fe[s.value]) == null ? void 0 : X.content
|
|
18711
18708
|
}, null, 8, KQ)
|
|
18712
18709
|
]),
|
|
18713
|
-
(ee = (Z = (
|
|
18710
|
+
(ee = (Z = (ge = (J = t.modelValue) == null ? void 0 : J.list) == null ? void 0 : ge[s.value]) == null ? void 0 : Z.linkList) != null && ee.length ? (w(), P("div", WQ, [
|
|
18714
18711
|
(w(!0), P(ce, null, xe(((Ve = (Te = (oe = t.modelValue) == null ? void 0 : oe.list) == null ? void 0 : Te[s.value]) == null ? void 0 : Ve.linkList) || [], (Le) => (w(), P("div", {
|
|
18715
18712
|
class: "bottom_item",
|
|
18716
18713
|
key: Le
|
|
@@ -18832,13 +18829,13 @@ const Bn = Jp(), VT = Jp(), LT = ["onClick"], QT = /* @__PURE__ */ we({
|
|
|
18832
18829
|
(w(!0), P(ce, null, xe(((X = (fe = (ae = t.modelValue) == null ? void 0 : ae.list) == null ? void 0 : fe[s.value]) == null ? void 0 : X.linkList) || [], (J) => (w(), P("div", { key: J }, [
|
|
18833
18830
|
J.url && J.url.includes("http") ? (w(), P("a", {
|
|
18834
18831
|
key: 0,
|
|
18835
|
-
onClick: (
|
|
18832
|
+
onClick: (ge) => A(J.url),
|
|
18836
18833
|
class: "nuxt-link-active"
|
|
18837
18834
|
}, [
|
|
18838
18835
|
l("div", null, v(J.text), 1),
|
|
18839
18836
|
b[9] || (b[9] = l("span", { class: "circle-link__icon" }, null, -1))
|
|
18840
18837
|
], 8, hO)) : (w(), P("button", {
|
|
18841
|
-
onClick: (
|
|
18838
|
+
onClick: (ge) => A(J.url),
|
|
18842
18839
|
class: "nuxt-link-active",
|
|
18843
18840
|
key: J
|
|
18844
18841
|
}, [
|
|
@@ -19267,7 +19264,7 @@ const Bn = Jp(), VT = Jp(), LT = ["onClick"], QT = /* @__PURE__ */ we({
|
|
|
19267
19264
|
// 立即执行一次回调
|
|
19268
19265
|
}
|
|
19269
19266
|
), x(), (T, D) => {
|
|
19270
|
-
var b, S, k, B, V, F, L, H, j, N, K, _, $, ae, fe, X, J,
|
|
19267
|
+
var b, S, k, B, V, F, L, H, j, N, K, _, $, ae, fe, X, J, ge, Z;
|
|
19271
19268
|
return w(), P(ce, null, [
|
|
19272
19269
|
E.value ? (w(), P("div", {
|
|
19273
19270
|
key: 0,
|
|
@@ -19459,7 +19456,7 @@ const Bn = Jp(), VT = Jp(), LT = ["onClick"], QT = /* @__PURE__ */ we({
|
|
|
19459
19456
|
return m((oe = r.value) == null ? void 0 : oe.url, r.value);
|
|
19460
19457
|
}),
|
|
19461
19458
|
class: de([r.value.linkType === "textOnly" ? "item_text" : "contact_us_content_item_text"])
|
|
19462
|
-
}, v((
|
|
19459
|
+
}, v((ge = r.value) == null ? void 0 : ge.text), 3)
|
|
19463
19460
|
])) : G("", !0),
|
|
19464
19461
|
s.value.text ? (w(), P("div", dU, [
|
|
19465
19462
|
l("img", {
|
|
@@ -20399,7 +20396,7 @@ const Bn = Jp(), VT = Jp(), LT = ["onClick"], QT = /* @__PURE__ */ we({
|
|
|
20399
20396
|
emits: ["update:show"],
|
|
20400
20397
|
setup(t, { emit: e }) {
|
|
20401
20398
|
const n = Ze(
|
|
20402
|
-
() => import("./index-
|
|
20399
|
+
() => import("./index-DFZmkHxJ.mjs")
|
|
20403
20400
|
), a = Ze(() => import("vuedraggable")), i = t, { t: o } = Be(i.locale), r = U(!1), s = U(/* @__PURE__ */ new Set()), d = U(/* @__PURE__ */ new Set());
|
|
20404
20401
|
Ne(
|
|
20405
20402
|
() => {
|
|
@@ -20499,8 +20496,8 @@ const Bn = Jp(), VT = Jp(), LT = ["onClick"], QT = /* @__PURE__ */ we({
|
|
|
20499
20496
|
j && j.list && (j.list = j.list.filter((N) => N.id !== L));
|
|
20500
20497
|
};
|
|
20501
20498
|
return (L, H) => {
|
|
20502
|
-
const j = z("a-switch"), N = z("a-input"), K = z("icon-drag-dot"), _ = z("icon-drag-arrow"), $ = z("icon-delete"), ae = z("a-option"), fe = z("a-select"), X = z("icon-plus"), J = z("a-button"),
|
|
20503
|
-
return w(), se(
|
|
20499
|
+
const j = z("a-switch"), N = z("a-input"), K = z("icon-drag-dot"), _ = z("icon-drag-arrow"), $ = z("icon-delete"), ae = z("a-option"), fe = z("a-select"), X = z("icon-plus"), J = z("a-button"), ge = z("a-drawer");
|
|
20500
|
+
return w(), se(ge, {
|
|
20504
20501
|
width: 500,
|
|
20505
20502
|
visible: t.show,
|
|
20506
20503
|
footer: !1,
|
|
@@ -20997,7 +20994,7 @@ const Bn = Jp(), VT = Jp(), LT = ["onClick"], QT = /* @__PURE__ */ we({
|
|
|
20997
20994
|
zoom_desktop: 1.75,
|
|
20998
20995
|
zoom_mobile: 2.25
|
|
20999
20996
|
}), A = U(NaN), m = U(NaN), x = U(!1), E = U(!1), T = U(null), D = U(null), b = U(null), S = U(null), k = U(0), B = U(0), V = U(!1), F = U(0), L = U(0), H = U(!0), j = U(!0), N = U(!0), K = U(!0), _ = U(), $ = U(), ae = W(() => ({
|
|
21000
|
-
transformOrigin: `${
|
|
20997
|
+
transformOrigin: `${ge.value}% 50%`,
|
|
21001
20998
|
transform: `translate(${k.value}px, ${B.value}px)`,
|
|
21002
20999
|
height: `${Te.value * 100}%`
|
|
21003
21000
|
})), fe = W(
|
|
@@ -21008,7 +21005,7 @@ const Bn = Jp(), VT = Jp(), LT = ["onClick"], QT = /* @__PURE__ */ we({
|
|
|
21008
21005
|
}), J = W(() => {
|
|
21009
21006
|
var be;
|
|
21010
21007
|
return ((be = n.modelValue) == null ? void 0 : be.map) ?? u.value.map;
|
|
21011
|
-
}),
|
|
21008
|
+
}), ge = W(
|
|
21012
21009
|
() => {
|
|
21013
21010
|
var be;
|
|
21014
21011
|
return ((be = n.modelValue) == null ? void 0 : be.x_coordinates) ?? u.value.x_coordinates;
|
|
@@ -21083,7 +21080,7 @@ const Bn = Jp(), VT = Jp(), LT = ["onClick"], QT = /* @__PURE__ */ we({
|
|
|
21083
21080
|
const be = $.value, Qe = _.value;
|
|
21084
21081
|
if (be && Qe && be.clientWidth) {
|
|
21085
21082
|
const et = Qe.clientWidth, $e = Qe.clientHeight, gt = be.clientWidth, Et = be.clientHeight;
|
|
21086
|
-
k.value = -(gt *
|
|
21083
|
+
k.value = -(gt * ge.value / 100 - et / 2), B.value = -(Et * Z.value / 100 - $e / 2);
|
|
21087
21084
|
}
|
|
21088
21085
|
re(k.value, B.value);
|
|
21089
21086
|
}, Re = (be) => {
|
|
@@ -21690,7 +21687,7 @@ const Bn = Jp(), VT = Jp(), LT = ["onClick"], QT = /* @__PURE__ */ we({
|
|
|
21690
21687
|
}, [
|
|
21691
21688
|
(ae = t.modelValue) != null && ae.isNoSlide ? (w(), P("div", hR, [
|
|
21692
21689
|
(w(!0), P(ce, null, xe((fe = t.modelValue) == null ? void 0 : fe.data, (X, J) => {
|
|
21693
|
-
var
|
|
21690
|
+
var ge, Z, ee, oe;
|
|
21694
21691
|
return w(), P("div", {
|
|
21695
21692
|
class: "logo-card col flex-center flex-column",
|
|
21696
21693
|
key: `logo-${J}`
|
|
@@ -21699,7 +21696,7 @@ const Bn = Jp(), VT = Jp(), LT = ["onClick"], QT = /* @__PURE__ */ we({
|
|
|
21699
21696
|
key: 0,
|
|
21700
21697
|
href: X.link,
|
|
21701
21698
|
target: "_blank",
|
|
21702
|
-
class: de(["logo-card__img", { "logo-card__img--no-clip": (
|
|
21699
|
+
class: de(["logo-card__img", { "logo-card__img--no-clip": (ge = t.modelValue) == null ? void 0 : ge.isNoClip }])
|
|
21703
21700
|
}, [
|
|
21704
21701
|
l("img", {
|
|
21705
21702
|
src: X.imgSrc,
|
|
@@ -21747,11 +21744,11 @@ const Bn = Jp(), VT = Jp(), LT = ["onClick"], QT = /* @__PURE__ */ we({
|
|
|
21747
21744
|
key: J
|
|
21748
21745
|
}, {
|
|
21749
21746
|
default: I(() => [
|
|
21750
|
-
(w(!0), P(ce, null, xe(X, (
|
|
21747
|
+
(w(!0), P(ce, null, xe(X, (ge, Z) => (w(), P("div", {
|
|
21751
21748
|
class: de(["slide-content row", `row-cols-${x.value}`]),
|
|
21752
21749
|
key: `logo-${Z}`
|
|
21753
21750
|
}, [
|
|
21754
|
-
(w(!0), P(ce, null, xe(
|
|
21751
|
+
(w(!0), P(ce, null, xe(ge, (ee, oe) => {
|
|
21755
21752
|
var Te, Ve, Le, Xe;
|
|
21756
21753
|
return w(), P("div", {
|
|
21757
21754
|
class: "logo-card col flex-center flex-column",
|
|
@@ -22384,7 +22381,7 @@ const Bn = Jp(), VT = Jp(), LT = ["onClick"], QT = /* @__PURE__ */ we({
|
|
|
22384
22381
|
i("handleClick", L);
|
|
22385
22382
|
};
|
|
22386
22383
|
return (L, H) => {
|
|
22387
|
-
var j, N, K, _, $, ae, fe, X, J,
|
|
22384
|
+
var j, N, K, _, $, ae, fe, X, J, ge, Z, ee;
|
|
22388
22385
|
return w(), P(ce, null, [
|
|
22389
22386
|
r.value ? (w(), P("div", {
|
|
22390
22387
|
key: 0,
|
|
@@ -22493,7 +22490,7 @@ const Bn = Jp(), VT = Jp(), LT = ["onClick"], QT = /* @__PURE__ */ we({
|
|
|
22493
22490
|
])
|
|
22494
22491
|
]),
|
|
22495
22492
|
(J = (X = p.value) == null ? void 0 : X.links) != null && J.length ? (w(), P("ul", pN, [
|
|
22496
|
-
(w(!0), P(ce, null, xe(((
|
|
22493
|
+
(w(!0), P(ce, null, xe(((ge = p.value) == null ? void 0 : ge.links) || [], (oe, Te) => (w(), P("li", { key: Te }, [
|
|
22497
22494
|
(w(), se(Ai, {
|
|
22498
22495
|
key: `link-${Te}`,
|
|
22499
22496
|
linkType: oe.linkType,
|
|
@@ -23487,7 +23484,7 @@ const Bn = Jp(), VT = Jp(), LT = ["onClick"], QT = /* @__PURE__ */ we({
|
|
|
23487
23484
|
},
|
|
23488
23485
|
emits: ["update:show"],
|
|
23489
23486
|
setup(t, { emit: e }) {
|
|
23490
|
-
const n = Ze(() => import("vuedraggable")), a = Ze(() => import("./index-
|
|
23487
|
+
const n = Ze(() => import("vuedraggable")), a = Ze(() => import("./index-DFZmkHxJ.mjs")), i = U(!1), o = W(() => ({
|
|
23491
23488
|
animation: 200,
|
|
23492
23489
|
group: "data",
|
|
23493
23490
|
// 专用分组
|
|
@@ -23798,7 +23795,7 @@ const Bn = Jp(), VT = Jp(), LT = ["onClick"], QT = /* @__PURE__ */ we({
|
|
|
23798
23795
|
},
|
|
23799
23796
|
emits: ["update:show"],
|
|
23800
23797
|
setup(t, { emit: e }) {
|
|
23801
|
-
const n = Ze(() => import("vuedraggable")), a = Ze(() => import("./index-
|
|
23798
|
+
const n = Ze(() => import("vuedraggable")), a = Ze(() => import("./index-DFZmkHxJ.mjs")), i = U(!1), o = W(() => ({
|
|
23802
23799
|
animation: 200,
|
|
23803
23800
|
group: "data",
|
|
23804
23801
|
// 专用分组
|
|
@@ -25516,12 +25513,12 @@ const VY = /* @__PURE__ */ Qs(MY), LY = { class: "setting-content" }, QY = { cla
|
|
|
25516
25513
|
}
|
|
25517
25514
|
];
|
|
25518
25515
|
}), F = W(() => {
|
|
25519
|
-
var X, J,
|
|
25516
|
+
var X, J, ge, Z, ee;
|
|
25520
25517
|
const fe = {
|
|
25521
25518
|
host: n.host,
|
|
25522
25519
|
langCode: n.locale,
|
|
25523
25520
|
eventCode: (J = (X = n.modelValue) == null ? void 0 : X.data) == null ? void 0 : J.event_name,
|
|
25524
|
-
name: (
|
|
25521
|
+
name: (ge = p.value.name) == null ? void 0 : ge.join(" "),
|
|
25525
25522
|
personType: (Z = V.value.find(
|
|
25526
25523
|
(oe) => oe.value === p.value.youare
|
|
25527
25524
|
)) == null ? void 0 : Z.key,
|
|
@@ -25570,8 +25567,8 @@ const VY = /* @__PURE__ */ Qs(MY), LY = { class: "setting-content" }, QY = { cla
|
|
|
25570
25567
|
sign: fe
|
|
25571
25568
|
});
|
|
25572
25569
|
try {
|
|
25573
|
-
const { data: J } = await Bn.post("/event-registration/submit", X),
|
|
25574
|
-
_(), i("handleClick", `/thank-you?ref=${
|
|
25570
|
+
const { data: J } = await Bn.post("/event-registration/submit", X), ge = J.data.ref_no;
|
|
25571
|
+
_(), i("handleClick", `/thank-you?ref=${ge}`);
|
|
25575
25572
|
} catch (J) {
|
|
25576
25573
|
console.log(J), $();
|
|
25577
25574
|
} finally {
|
|
@@ -25599,7 +25596,7 @@ const VY = /* @__PURE__ */ Qs(MY), LY = { class: "setting-content" }, QY = { cla
|
|
|
25599
25596
|
});
|
|
25600
25597
|
};
|
|
25601
25598
|
return (fe, X) => {
|
|
25602
|
-
var J,
|
|
25599
|
+
var J, ge, Z, ee, oe, Te, Ve, Le, Xe;
|
|
25603
25600
|
return w(), P(ce, null, [
|
|
25604
25601
|
r.value ? (w(), P("div", {
|
|
25605
25602
|
key: 0,
|
|
@@ -25610,7 +25607,7 @@ const VY = /* @__PURE__ */ Qs(MY), LY = { class: "setting-content" }, QY = { cla
|
|
|
25610
25607
|
}, [
|
|
25611
25608
|
t.host ? (w(), P("div", QG, [
|
|
25612
25609
|
A.value ? (w(), P("div", OG, [
|
|
25613
|
-
l("div", UG, v((Z = (
|
|
25610
|
+
l("div", UG, v((Z = (ge = t.modelValue) == null ? void 0 : ge.data) == null ? void 0 : Z.title), 1),
|
|
25614
25611
|
l("div", FG, [
|
|
25615
25612
|
l("div", HG, [
|
|
25616
25613
|
g(Nm, {
|
|
@@ -26400,7 +26397,7 @@ const VY = /* @__PURE__ */ Qs(MY), LY = { class: "setting-content" }, QY = { cla
|
|
|
26400
26397
|
}, J = () => {
|
|
26401
26398
|
var ee;
|
|
26402
26399
|
(ee = S.value) == null || ee.slideNext(600);
|
|
26403
|
-
},
|
|
26400
|
+
}, ge = (ee, oe) => {
|
|
26404
26401
|
L.value == "profile" && E.value[oe].openLightbox();
|
|
26405
26402
|
}, Z = () => {
|
|
26406
26403
|
b.value = !1, Ue(() => {
|
|
@@ -26437,7 +26434,7 @@ const VY = /* @__PURE__ */ Qs(MY), LY = { class: "setting-content" }, QY = { cla
|
|
|
26437
26434
|
breakpoints: V.value.breakpoints,
|
|
26438
26435
|
class: "swiper card-carousel__swiper",
|
|
26439
26436
|
onSlideChange: $,
|
|
26440
|
-
onClickSlide:
|
|
26437
|
+
onClickSlide: ge,
|
|
26441
26438
|
onSwiper: ae
|
|
26442
26439
|
}, {
|
|
26443
26440
|
default: I(() => [
|
|
@@ -26967,7 +26964,7 @@ const VY = /* @__PURE__ */ Qs(MY), LY = { class: "setting-content" }, QY = { cla
|
|
|
26967
26964
|
}, J = (Ce) => {
|
|
26968
26965
|
var Se;
|
|
26969
26966
|
T.value = (Ce == null ? void 0 : Ce.realIndex) ?? ((Se = x.value) == null ? void 0 : Se.realIndex) ?? 0, Je(), Xe();
|
|
26970
|
-
},
|
|
26967
|
+
}, ge = (Ce) => {
|
|
26971
26968
|
var Se, De;
|
|
26972
26969
|
(De = (Se = x.value) == null ? void 0 : Se.slideToLoop) == null || De.call(Se, Ce, 600);
|
|
26973
26970
|
}, Z = () => {
|
|
@@ -27094,7 +27091,7 @@ const VY = /* @__PURE__ */ Qs(MY), LY = { class: "setting-content" }, QY = { cla
|
|
|
27094
27091
|
Fe(l("div", mK, [
|
|
27095
27092
|
g(Uo, {
|
|
27096
27093
|
currentIndex: T.value,
|
|
27097
|
-
onUpdatePage:
|
|
27094
|
+
onUpdatePage: ge,
|
|
27098
27095
|
count: D.value.length,
|
|
27099
27096
|
onSlidePrev: Z,
|
|
27100
27097
|
onSlideNext: ee,
|
|
@@ -27146,7 +27143,7 @@ const VY = /* @__PURE__ */ Qs(MY), LY = { class: "setting-content" }, QY = { cla
|
|
|
27146
27143
|
emits: ["update:show"],
|
|
27147
27144
|
setup(t, { emit: e }) {
|
|
27148
27145
|
const n = Ze(
|
|
27149
|
-
() => import("./index-
|
|
27146
|
+
() => import("./index-DFZmkHxJ.mjs")
|
|
27150
27147
|
), a = t, { t: i } = Be(a.locale), o = e, r = () => {
|
|
27151
27148
|
o("update:show", !1);
|
|
27152
27149
|
};
|
|
@@ -27382,7 +27379,7 @@ const VY = /* @__PURE__ */ Qs(MY), LY = { class: "setting-content" }, QY = { cla
|
|
|
27382
27379
|
emits: ["update:show"],
|
|
27383
27380
|
setup(t, { emit: e }) {
|
|
27384
27381
|
const n = Ze(
|
|
27385
|
-
() => import("./index-
|
|
27382
|
+
() => import("./index-DFZmkHxJ.mjs")
|
|
27386
27383
|
), a = t, { t: i } = Be(a.locale), o = e, r = () => {
|
|
27387
27384
|
o("update:show", !1);
|
|
27388
27385
|
};
|
|
@@ -29038,14 +29035,14 @@ const VY = /* @__PURE__ */ Qs(MY), LY = { class: "setting-content" }, QY = { cla
|
|
|
29038
29035
|
const n = t, a = e, i = (fe) => {
|
|
29039
29036
|
a("handleClick", fe);
|
|
29040
29037
|
}, o = () => {
|
|
29041
|
-
var X, J,
|
|
29038
|
+
var X, J, ge;
|
|
29042
29039
|
const fe = {
|
|
29043
29040
|
id: ((X = n.modelValue) == null ? void 0 : X.id) || te(),
|
|
29044
29041
|
type: "BlessingSlider",
|
|
29045
29042
|
onlyShowPc: !1,
|
|
29046
29043
|
onlyShowMobile: !1,
|
|
29047
29044
|
bgColor: ((J = n.modelValue) == null ? void 0 : J.bgColor) || "",
|
|
29048
|
-
api: ((
|
|
29045
|
+
api: ((ge = n.modelValue) == null ? void 0 : ge.api) || "/blessing-board/blessing-messages/featured?count=6"
|
|
29049
29046
|
};
|
|
29050
29047
|
a("update:modelValue", fe);
|
|
29051
29048
|
}, r = W(() => {
|
|
@@ -29104,9 +29101,9 @@ const VY = /* @__PURE__ */ Qs(MY), LY = { class: "setting-content" }, QY = { cla
|
|
|
29104
29101
|
}
|
|
29105
29102
|
]), L = W(() => {
|
|
29106
29103
|
var fe, X, J;
|
|
29107
|
-
return b.value ? b.value.person_type === "others" ? (fe = b.value) == null ? void 0 : fe.label : ((X = F.value.find((
|
|
29104
|
+
return b.value ? b.value.person_type === "others" ? (fe = b.value) == null ? void 0 : fe.label : ((X = F.value.find((ge) => {
|
|
29108
29105
|
var Z;
|
|
29109
|
-
return
|
|
29106
|
+
return ge.key === ((Z = b.value) == null ? void 0 : Z.person_type);
|
|
29110
29107
|
})) == null ? void 0 : X.name) ?? ((J = b.value) == null ? void 0 : J.label) : null;
|
|
29111
29108
|
}), H = (fe) => {
|
|
29112
29109
|
A.value = fe > u.value ? 1 : -1, u.value = (fe + D.value) % D.value;
|
|
@@ -29140,8 +29137,8 @@ const VY = /* @__PURE__ */ Qs(MY), LY = { class: "setting-content" }, QY = { cla
|
|
|
29140
29137
|
key: 0,
|
|
29141
29138
|
class: "blessing-slider",
|
|
29142
29139
|
style: Oe({ backgroundColor: ((J = t.modelValue) == null ? void 0 : J.bgColor) || "transparent" }),
|
|
29143
|
-
onMouseenter: X[13] || (X[13] = (
|
|
29144
|
-
onMouseleave: X[14] || (X[14] = (
|
|
29140
|
+
onMouseenter: X[13] || (X[13] = (ge) => s.value = !0),
|
|
29141
|
+
onMouseleave: X[14] || (X[14] = (ge) => s.value = !1)
|
|
29145
29142
|
}, [
|
|
29146
29143
|
l("div", $X, [
|
|
29147
29144
|
l("div", eJ, [
|
|
@@ -29153,17 +29150,17 @@ const VY = /* @__PURE__ */ Qs(MY), LY = { class: "setting-content" }, QY = { cla
|
|
|
29153
29150
|
onTouchend: K
|
|
29154
29151
|
}, {
|
|
29155
29152
|
default: I(() => [
|
|
29156
|
-
(w(!0), P(ce, null, xe(p.value, (
|
|
29153
|
+
(w(!0), P(ce, null, xe(p.value, (ge, Z) => Fe((w(), P("div", {
|
|
29157
29154
|
class: "slide-block__image",
|
|
29158
|
-
key: `${
|
|
29155
|
+
key: `${ge.name}-${ge.label}-${ge.image_url}-${Z}`,
|
|
29159
29156
|
ref_for: !0,
|
|
29160
29157
|
ref: "image",
|
|
29161
29158
|
onTransitionstart: X[0] || (X[0] = (ee) => T.value = !0),
|
|
29162
29159
|
onTransitionend: X[1] || (X[1] = (ee) => T.value = !1)
|
|
29163
29160
|
}, [
|
|
29164
29161
|
l("img", {
|
|
29165
|
-
src:
|
|
29166
|
-
alt:
|
|
29162
|
+
src: ge.image_url,
|
|
29163
|
+
alt: ge.name
|
|
29167
29164
|
}, null, 8, tJ)
|
|
29168
29165
|
], 32)), [
|
|
29169
29166
|
[ze, Z === u.value]
|
|
@@ -29171,12 +29168,12 @@ const VY = /* @__PURE__ */ Qs(MY), LY = { class: "setting-content" }, QY = { cla
|
|
|
29171
29168
|
l("div", {
|
|
29172
29169
|
class: "i page-arrow__left",
|
|
29173
29170
|
key: "arrow__left",
|
|
29174
|
-
onClick: X[2] || (X[2] = (
|
|
29171
|
+
onClick: X[2] || (X[2] = (ge) => H(u.value - 1))
|
|
29175
29172
|
}),
|
|
29176
29173
|
l("div", {
|
|
29177
29174
|
class: "i page-arrow__right",
|
|
29178
29175
|
key: "arrow__right",
|
|
29179
|
-
onClick: X[3] || (X[3] = (
|
|
29176
|
+
onClick: X[3] || (X[3] = (ge) => H(u.value + 1))
|
|
29180
29177
|
})
|
|
29181
29178
|
]),
|
|
29182
29179
|
_: 1
|
|
@@ -29187,7 +29184,7 @@ const VY = /* @__PURE__ */ Qs(MY), LY = { class: "setting-content" }, QY = { cla
|
|
|
29187
29184
|
style: Oe(V.value),
|
|
29188
29185
|
onTouchstart: N,
|
|
29189
29186
|
onTouchend: K,
|
|
29190
|
-
onClick: X[4] || (X[4] = (
|
|
29187
|
+
onClick: X[4] || (X[4] = (ge) => $(b.value))
|
|
29191
29188
|
}, [
|
|
29192
29189
|
l("div", nJ, [
|
|
29193
29190
|
l("div", aJ, [
|
|
@@ -29212,17 +29209,17 @@ const VY = /* @__PURE__ */ Qs(MY), LY = { class: "setting-content" }, QY = { cla
|
|
|
29212
29209
|
class: "slide-block slide-block__prev"
|
|
29213
29210
|
}, {
|
|
29214
29211
|
default: I(() => [
|
|
29215
|
-
(w(!0), P(ce, null, xe(p.value, (
|
|
29212
|
+
(w(!0), P(ce, null, xe(p.value, (ge, Z) => Fe((w(), P("div", {
|
|
29216
29213
|
class: "slide-block__image",
|
|
29217
|
-
key: `${
|
|
29214
|
+
key: `${ge.name}-${ge.label}-${ge.image_url}-${Z}`,
|
|
29218
29215
|
ref_for: !0,
|
|
29219
29216
|
ref: "image",
|
|
29220
29217
|
onTransitionstart: X[5] || (X[5] = (ee) => T.value = !0),
|
|
29221
29218
|
onTransitionend: X[6] || (X[6] = (ee) => T.value = !1)
|
|
29222
29219
|
}, [
|
|
29223
29220
|
l("img", {
|
|
29224
|
-
src:
|
|
29225
|
-
alt:
|
|
29221
|
+
src: ge.image_url,
|
|
29222
|
+
alt: ge.name
|
|
29226
29223
|
}, null, 8, lJ)
|
|
29227
29224
|
], 32)), [
|
|
29228
29225
|
[ze, Z === S.value]
|
|
@@ -29236,17 +29233,17 @@ const VY = /* @__PURE__ */ Qs(MY), LY = { class: "setting-content" }, QY = { cla
|
|
|
29236
29233
|
class: "slide-block slide-block__next"
|
|
29237
29234
|
}, {
|
|
29238
29235
|
default: I(() => [
|
|
29239
|
-
(w(!0), P(ce, null, xe(p.value, (
|
|
29236
|
+
(w(!0), P(ce, null, xe(p.value, (ge, Z) => Fe((w(), P("div", {
|
|
29240
29237
|
class: "slide-block__image",
|
|
29241
|
-
key: `${
|
|
29238
|
+
key: `${ge.name}-${ge.label}-${ge.image_url}-${Z}`,
|
|
29242
29239
|
ref_for: !0,
|
|
29243
29240
|
ref: "image",
|
|
29244
29241
|
onTransitionstart: X[7] || (X[7] = (ee) => T.value = !0),
|
|
29245
29242
|
onTransitionend: X[8] || (X[8] = (ee) => T.value = !1)
|
|
29246
29243
|
}, [
|
|
29247
29244
|
l("img", {
|
|
29248
|
-
src:
|
|
29249
|
-
alt:
|
|
29245
|
+
src: ge.image_url,
|
|
29246
|
+
alt: ge.name
|
|
29250
29247
|
}, null, 8, rJ)
|
|
29251
29248
|
], 32)), [
|
|
29252
29249
|
[ze, Z === k.value]
|
|
@@ -29257,7 +29254,7 @@ const VY = /* @__PURE__ */ Qs(MY), LY = { class: "setting-content" }, QY = { cla
|
|
|
29257
29254
|
Fe(l("button", {
|
|
29258
29255
|
type: "button",
|
|
29259
29256
|
class: "blessing-btn blessing-btn--prev",
|
|
29260
|
-
onClick: X[9] || (X[9] = (
|
|
29257
|
+
onClick: X[9] || (X[9] = (ge) => H(u.value - 1))
|
|
29261
29258
|
}, [...X[16] || (X[16] = [
|
|
29262
29259
|
l("div", { class: "i" }, null, -1)
|
|
29263
29260
|
])], 512), [
|
|
@@ -29266,7 +29263,7 @@ const VY = /* @__PURE__ */ Qs(MY), LY = { class: "setting-content" }, QY = { cla
|
|
|
29266
29263
|
Fe(l("button", {
|
|
29267
29264
|
type: "button",
|
|
29268
29265
|
class: "blessing-btn blessing-btn--next",
|
|
29269
|
-
onClick: X[10] || (X[10] = (
|
|
29266
|
+
onClick: X[10] || (X[10] = (ge) => H(u.value + 1))
|
|
29270
29267
|
}, [...X[17] || (X[17] = [
|
|
29271
29268
|
l("div", { class: "i" }, null, -1)
|
|
29272
29269
|
])], 512), [
|
|
@@ -29276,7 +29273,7 @@ const VY = /* @__PURE__ */ Qs(MY), LY = { class: "setting-content" }, QY = { cla
|
|
|
29276
29273
|
]),
|
|
29277
29274
|
g(n1, {
|
|
29278
29275
|
visible: _.value,
|
|
29279
|
-
"onUpdate:visible": X[11] || (X[11] = (
|
|
29276
|
+
"onUpdate:visible": X[11] || (X[11] = (ge) => _.value = ge),
|
|
29280
29277
|
locale: t.locale,
|
|
29281
29278
|
componentProps: E.value,
|
|
29282
29279
|
onHandleClick: i
|
|
@@ -29284,7 +29281,7 @@ const VY = /* @__PURE__ */ Qs(MY), LY = { class: "setting-content" }, QY = { cla
|
|
|
29284
29281
|
t.isPreview ? G("", !0) : (w(), se(We, {
|
|
29285
29282
|
key: 0,
|
|
29286
29283
|
locale: t.locale,
|
|
29287
|
-
onHandleEdit: X[12] || (X[12] = (
|
|
29284
|
+
onHandleEdit: X[12] || (X[12] = (ge) => d.value = !0),
|
|
29288
29285
|
onHandleDelete: c,
|
|
29289
29286
|
onHandleCopy: f,
|
|
29290
29287
|
onHandlePaste: y
|
|
@@ -29293,7 +29290,7 @@ const VY = /* @__PURE__ */ Qs(MY), LY = { class: "setting-content" }, QY = { cla
|
|
|
29293
29290
|
t.isPreview ? G("", !0) : (w(), se(_X, {
|
|
29294
29291
|
key: 1,
|
|
29295
29292
|
show: d.value,
|
|
29296
|
-
"onUpdate:show": X[15] || (X[15] = (
|
|
29293
|
+
"onUpdate:show": X[15] || (X[15] = (ge) => d.value = ge),
|
|
29297
29294
|
data: t.modelValue,
|
|
29298
29295
|
locale: t.locale
|
|
29299
29296
|
}, null, 8, ["show", "data", "locale"]))
|
|
@@ -30987,9 +30984,9 @@ const e_ = { key: 0 }, t_ = {
|
|
|
30987
30984
|
],
|
|
30988
30985
|
setup(t, { emit: e }) {
|
|
30989
30986
|
const n = t, a = e, i = () => {
|
|
30990
|
-
var
|
|
30987
|
+
var ge, Z, ee, oe, Te, Ve;
|
|
30991
30988
|
const J = {
|
|
30992
|
-
id: ((
|
|
30989
|
+
id: ((ge = n.modelValue) == null ? void 0 : ge.id) || te(),
|
|
30993
30990
|
type: "CardCarouselMultiRowPublications",
|
|
30994
30991
|
onlyShowPc: !1,
|
|
30995
30992
|
onlyShowMobile: !1,
|
|
@@ -31001,8 +30998,8 @@ const e_ = { key: 0 }, t_ = {
|
|
|
31001
30998
|
};
|
|
31002
30999
|
a("update:modelValue", J);
|
|
31003
31000
|
}, o = W(() => {
|
|
31004
|
-
var J,
|
|
31005
|
-
return n.isPreview ? !0 : (J = n.modelValue) != null && J.onlyShowPc ? !Ee() : (
|
|
31001
|
+
var J, ge;
|
|
31002
|
+
return n.isPreview ? !0 : (J = n.modelValue) != null && J.onlyShowPc ? !Ee() : (ge = n.modelValue) != null && ge.onlyShowMobile ? Ee() : !0;
|
|
31006
31003
|
}), r = U(!1), s = U(!1), d = () => {
|
|
31007
31004
|
a("handleDelete", n.modelValue.id);
|
|
31008
31005
|
}, c = () => {
|
|
@@ -31037,24 +31034,24 @@ const e_ = { key: 0 }, t_ = {
|
|
|
31037
31034
|
}, V = async () => {
|
|
31038
31035
|
var J;
|
|
31039
31036
|
if ((J = n.modelValue) != null && J.api) {
|
|
31040
|
-
const
|
|
31037
|
+
const ge = {
|
|
31041
31038
|
params: {
|
|
31042
31039
|
host: n.host,
|
|
31043
31040
|
langCode: n.locale
|
|
31044
31041
|
}
|
|
31045
|
-
}, { data: Z } = await Bn.get("/publication/listForComponent",
|
|
31042
|
+
}, { data: Z } = await Bn.get("/publication/listForComponent", ge);
|
|
31046
31043
|
T.value = Array.isArray(Z == null ? void 0 : Z.data) ? Z.data : [];
|
|
31047
31044
|
}
|
|
31048
31045
|
F();
|
|
31049
31046
|
}, F = () => {
|
|
31050
|
-
const
|
|
31047
|
+
const ge = (Array.isArray(T.value) ? T.value : []).reduce(
|
|
31051
31048
|
(Z, ee, oe) => {
|
|
31052
31049
|
const Te = Math.floor(oe / b.value);
|
|
31053
31050
|
return Z[Te] || (Z[Te] = []), Z[Te].push(ee), Z;
|
|
31054
31051
|
},
|
|
31055
31052
|
[]
|
|
31056
31053
|
);
|
|
31057
|
-
E.value =
|
|
31054
|
+
E.value = ge;
|
|
31058
31055
|
}, L = (J) => {
|
|
31059
31056
|
m.value = J;
|
|
31060
31057
|
}, H = () => {
|
|
@@ -31063,33 +31060,33 @@ const e_ = { key: 0 }, t_ = {
|
|
|
31063
31060
|
m.value && m.value.slideToLoop(J, 600);
|
|
31064
31061
|
}, N = (J) => {
|
|
31065
31062
|
if (J.video_type === "outer") return;
|
|
31066
|
-
const
|
|
31063
|
+
const ge = T.value.filter(
|
|
31067
31064
|
(ee) => ee.video_type !== "outer" && ee.type !== "photo"
|
|
31068
|
-
), Z =
|
|
31065
|
+
), Z = ge.findIndex((ee) => ee.slug === J.slug);
|
|
31069
31066
|
a("showLightboxVideo", {
|
|
31070
31067
|
idx: Z,
|
|
31071
|
-
list:
|
|
31068
|
+
list: ge
|
|
31072
31069
|
});
|
|
31073
31070
|
}, K = (J) => {
|
|
31074
|
-
const
|
|
31071
|
+
const ge = T.value.filter((ee) => ee.type === "photo"), Z = ge.findIndex((ee) => ee.slug === J.slug);
|
|
31075
31072
|
a("showLightboxImage", {
|
|
31076
31073
|
idx: Z,
|
|
31077
31074
|
url: J.url,
|
|
31078
31075
|
text: J.text || J.title,
|
|
31079
|
-
list:
|
|
31076
|
+
list: ge
|
|
31080
31077
|
});
|
|
31081
31078
|
}, _ = (J) => {
|
|
31082
|
-
const
|
|
31079
|
+
const ge = J.getBoundingClientRect();
|
|
31083
31080
|
return {
|
|
31084
|
-
x:
|
|
31085
|
-
y:
|
|
31081
|
+
x: ge.left + window.pageXOffset,
|
|
31082
|
+
y: ge.top + window.pageYOffset
|
|
31086
31083
|
};
|
|
31087
31084
|
}, $ = (J) => {
|
|
31088
31085
|
if (!J || typeof window > "u") return;
|
|
31089
|
-
const
|
|
31086
|
+
const ge = D.value >= 1024 ? 170 : 150, Z = _(J).y - ge;
|
|
31090
31087
|
window.scroll({ top: Z, left: 0, behavior: "smooth" });
|
|
31091
31088
|
}, ae = (J) => {
|
|
31092
|
-
const
|
|
31089
|
+
const ge = J.currentTarget, Z = ge.dataset.slug, ee = ge.dataset.type, oe = T.value.find((Te) => Te.key == Z || Te.slug == Z);
|
|
31093
31090
|
oe && (ee === "photo" ? K(oe) : N(oe));
|
|
31094
31091
|
}, fe = () => {
|
|
31095
31092
|
typeof document > "u" || (Object.values(document.getElementsByClassName("card-asset")).forEach(
|
|
@@ -31116,15 +31113,15 @@ const e_ = { key: 0 }, t_ = {
|
|
|
31116
31113
|
B(), typeof window < "u" && window.addEventListener("resize", B), V();
|
|
31117
31114
|
}), di(() => {
|
|
31118
31115
|
typeof window < "u" && window.removeEventListener("resize", B), X();
|
|
31119
|
-
}), (J,
|
|
31116
|
+
}), (J, ge) => {
|
|
31120
31117
|
var Z, ee, oe;
|
|
31121
31118
|
return w(), P(ce, null, [
|
|
31122
31119
|
o.value ? (w(), P("div", {
|
|
31123
31120
|
key: 0,
|
|
31124
31121
|
class: "card-carousel-multi-row",
|
|
31125
31122
|
style: Oe({ backgroundColor: ((Z = t.modelValue) == null ? void 0 : Z.bgColor) || "transparent" }),
|
|
31126
|
-
onMouseenter:
|
|
31127
|
-
onMouseleave:
|
|
31123
|
+
onMouseenter: ge[2] || (ge[2] = (Te) => r.value = !0),
|
|
31124
|
+
onMouseleave: ge[3] || (ge[3] = (Te) => r.value = !1),
|
|
31128
31125
|
ref_key: "parent",
|
|
31129
31126
|
ref: A
|
|
31130
31127
|
}, [
|
|
@@ -31191,9 +31188,9 @@ const e_ = { key: 0 }, t_ = {
|
|
|
31191
31188
|
t.isPreview ? G("", !0) : (w(), se(We, {
|
|
31192
31189
|
key: 2,
|
|
31193
31190
|
show: r.value,
|
|
31194
|
-
"onUpdate:show":
|
|
31191
|
+
"onUpdate:show": ge[0] || (ge[0] = (Te) => r.value = Te),
|
|
31195
31192
|
locale: t.locale,
|
|
31196
|
-
onHandleEdit:
|
|
31193
|
+
onHandleEdit: ge[1] || (ge[1] = (Te) => s.value = !0),
|
|
31197
31194
|
onHandleDelete: d,
|
|
31198
31195
|
onHandleCopy: c,
|
|
31199
31196
|
onHandlePaste: f
|
|
@@ -31202,7 +31199,7 @@ const e_ = { key: 0 }, t_ = {
|
|
|
31202
31199
|
t.isPreview ? G("", !0) : (w(), se(w_, {
|
|
31203
31200
|
key: 1,
|
|
31204
31201
|
show: s.value,
|
|
31205
|
-
"onUpdate:show":
|
|
31202
|
+
"onUpdate:show": ge[4] || (ge[4] = (Te) => s.value = Te),
|
|
31206
31203
|
data: t.modelValue,
|
|
31207
31204
|
locale: t.locale
|
|
31208
31205
|
}, null, 8, ["show", "data", "locale"]))
|
|
@@ -31481,7 +31478,7 @@ const e_ = { key: 0 }, t_ = {
|
|
|
31481
31478
|
},
|
|
31482
31479
|
emits: ["handleDelete", "handleCopy", "handlePaste", "handleClick"],
|
|
31483
31480
|
setup(t, { emit: e }) {
|
|
31484
|
-
const n = /* @__PURE__ */ Object.assign({ "/src/components/AccordionText/index.vue": () => Promise.resolve().then(() => Bpe), "/src/components/AlummiCommunityList/index.vue": () => Promise.resolve().then(() => XW), "/src/components/ArticleItem/index.vue": () => Promise.resolve().then(() => cP), "/src/components/ArticleList/index.vue": () => Promise.resolve().then(() => pC), "/src/components/ArticleListPureText/index.vue": () => Promise.resolve().then(() => UW), "/src/components/BackgroundWrapper/index.vue": () => Promise.resolve().then(() => bfe), "/src/components/BannerImage/index.vue": () => Promise.resolve().then(() => NC), "/src/components/BannerImageWithLink/index.vue": () => Promise.resolve().then(() => dQ), "/src/components/BannerPage/index.vue": () => Promise.resolve().then(() => i8), "/src/components/BannerQuote/index.vue": () => Promise.resolve().then(() => U5), "/src/components/BasicCollapse/index.vue": () => Promise.resolve().then(() => rj), "/src/components/BlessingMessage/index.vue": () => Promise.resolve().then(() => jX), "/src/components/BlessingSlider/index.vue": () => Promise.resolve().then(() => uJ), "/src/components/BtnList/index.vue": () => Promise.resolve().then(() => S8), "/src/components/CardCarousel/index.vue": () => Promise.resolve().then(() => Hk), "/src/components/CardCarouselArticles/index.vue": () => Promise.resolve().then(() => jq), "/src/components/CardCarouselMultiRow/index.vue": () => Promise.resolve().then(() => A5), "/src/components/CardCarouselMultiRowArticles/index.vue": () => Promise.resolve().then(() => pK), "/src/components/CardCarouselMultiRowPublications/index.vue": () => Promise.resolve().then(() => x_), "/src/components/CardListCircle/index.vue": () => Promise.resolve().then(() => one), "/src/components/CardListProgramme/index.vue": () => Promise.resolve().then(() => Jne), "/src/components/CardListSchool/index.vue": () => Promise.resolve().then(() => Nae), "/src/components/CardShowcase/index.vue": () => Promise.resolve().then(() => GJ), "/src/components/CardShowcaseProfile/index.vue": () => Promise.resolve().then(() => qM), "/src/components/CarouselLogo/index.vue": () => Promise.resolve().then(() => wR), "/src/components/CollapseCustom/index.vue": () => Promise.resolve().then(() => ume), "/src/components/ContactUsInfo/index.vue": () => Promise.resolve().then(() => hU), "/src/components/ContactUsList/index.vue": () => Promise.resolve().then(() => cL), "/src/components/CountDown/index.vue": () => Promise.resolve().then(() => bV), "/src/components/CustomIframe/index.vue": () => Promise.resolve().then(() => RV), "/src/components/CustomSpace/index.vue": () => Promise.resolve().then(() => QD), "/src/components/CustomText/index.vue": () => Promise.resolve().then(() => VK), "/src/components/DetailLink/index.vue": () => Promise.resolve().then(() => iie), "/src/components/Disc/index.vue": () => Promise.resolve().then(() => Hz), "/src/components/DonorLinks/index.vue": () => Promise.resolve().then(() => X6), "/src/components/ExploreLinks/index.vue": () => Promise.resolve().then(() => lZ), "/src/components/GalleryBlock/index.vue": () => Promise.resolve().then(() => kq), "/src/components/GalleryCaptionRound/index.vue": () => Promise.resolve().then(() => q4), "/src/components/GalleryDefault/index.vue": () => Promise.resolve().then(() => d4), "/src/components/GalleryList/index.vue": () => Promise.resolve().then(() => t7), "/src/components/GalleryTimeline/index.vue": () => Promise.resolve().then(() => Xx), "/src/components/GalleryTimelineCol/index.vue": () => Promise.resolve().then(() => K3), "/src/components/GridLinks/index.vue": () => Promise.resolve().then(() => XAe), "/src/components/HeroSlide/index.vue": () => Promise.resolve().then(() => H7), "/src/components/Html/index.vue": () => Promise.resolve().then(() => Rpe), "/src/components/InformationLink/index.vue": () => Promise.resolve().then(() => Lhe), "/src/components/LinkList/index.vue": () => Promise.resolve().then(() => o6), "/src/components/MapStatic/index.vue": () => Promise.resolve().then(() => QH), "/src/components/MediaImageFull/index.vue": () => Promise.resolve().then(() => $K), "/src/components/MediaImageStatic/index.vue": () => Promise.resolve().then(() => AW), "/src/components/MediaLogo/index.vue": () => Promise.resolve().then(() => PY), "/src/components/MediaVideo/index.vue": () => Promise.resolve().then(() => mhe), "/src/components/NewsList/index.vue": () => Promise.resolve().then(() => YI), "/src/components/Process/index.vue": () => Promise.resolve().then(() => yD), "/src/components/Publications/index.vue": () => Promise.resolve().then(() => BF), "/src/components/QuoteText/index.vue": () => import("./index-
|
|
31481
|
+
const n = /* @__PURE__ */ Object.assign({ "/src/components/AccordionText/index.vue": () => Promise.resolve().then(() => Bpe), "/src/components/AlummiCommunityList/index.vue": () => Promise.resolve().then(() => XW), "/src/components/ArticleItem/index.vue": () => Promise.resolve().then(() => cP), "/src/components/ArticleList/index.vue": () => Promise.resolve().then(() => pC), "/src/components/ArticleListPureText/index.vue": () => Promise.resolve().then(() => UW), "/src/components/BackgroundWrapper/index.vue": () => Promise.resolve().then(() => bfe), "/src/components/BannerImage/index.vue": () => Promise.resolve().then(() => NC), "/src/components/BannerImageWithLink/index.vue": () => Promise.resolve().then(() => dQ), "/src/components/BannerPage/index.vue": () => Promise.resolve().then(() => i8), "/src/components/BannerQuote/index.vue": () => Promise.resolve().then(() => U5), "/src/components/BasicCollapse/index.vue": () => Promise.resolve().then(() => rj), "/src/components/BlessingMessage/index.vue": () => Promise.resolve().then(() => jX), "/src/components/BlessingSlider/index.vue": () => Promise.resolve().then(() => uJ), "/src/components/BtnList/index.vue": () => Promise.resolve().then(() => S8), "/src/components/CardCarousel/index.vue": () => Promise.resolve().then(() => Hk), "/src/components/CardCarouselArticles/index.vue": () => Promise.resolve().then(() => jq), "/src/components/CardCarouselMultiRow/index.vue": () => Promise.resolve().then(() => A5), "/src/components/CardCarouselMultiRowArticles/index.vue": () => Promise.resolve().then(() => pK), "/src/components/CardCarouselMultiRowPublications/index.vue": () => Promise.resolve().then(() => x_), "/src/components/CardListCircle/index.vue": () => Promise.resolve().then(() => one), "/src/components/CardListProgramme/index.vue": () => Promise.resolve().then(() => Jne), "/src/components/CardListSchool/index.vue": () => Promise.resolve().then(() => Nae), "/src/components/CardShowcase/index.vue": () => Promise.resolve().then(() => GJ), "/src/components/CardShowcaseProfile/index.vue": () => Promise.resolve().then(() => qM), "/src/components/CarouselLogo/index.vue": () => Promise.resolve().then(() => wR), "/src/components/CollapseCustom/index.vue": () => Promise.resolve().then(() => ume), "/src/components/ContactUsInfo/index.vue": () => Promise.resolve().then(() => hU), "/src/components/ContactUsList/index.vue": () => Promise.resolve().then(() => cL), "/src/components/CountDown/index.vue": () => Promise.resolve().then(() => bV), "/src/components/CustomIframe/index.vue": () => Promise.resolve().then(() => RV), "/src/components/CustomSpace/index.vue": () => Promise.resolve().then(() => QD), "/src/components/CustomText/index.vue": () => Promise.resolve().then(() => VK), "/src/components/DetailLink/index.vue": () => Promise.resolve().then(() => iie), "/src/components/Disc/index.vue": () => Promise.resolve().then(() => Hz), "/src/components/DonorLinks/index.vue": () => Promise.resolve().then(() => X6), "/src/components/ExploreLinks/index.vue": () => Promise.resolve().then(() => lZ), "/src/components/GalleryBlock/index.vue": () => Promise.resolve().then(() => kq), "/src/components/GalleryCaptionRound/index.vue": () => Promise.resolve().then(() => q4), "/src/components/GalleryDefault/index.vue": () => Promise.resolve().then(() => d4), "/src/components/GalleryList/index.vue": () => Promise.resolve().then(() => t7), "/src/components/GalleryTimeline/index.vue": () => Promise.resolve().then(() => Xx), "/src/components/GalleryTimelineCol/index.vue": () => Promise.resolve().then(() => K3), "/src/components/GridLinks/index.vue": () => Promise.resolve().then(() => XAe), "/src/components/HeroSlide/index.vue": () => Promise.resolve().then(() => H7), "/src/components/Html/index.vue": () => Promise.resolve().then(() => Rpe), "/src/components/InformationLink/index.vue": () => Promise.resolve().then(() => Lhe), "/src/components/LinkList/index.vue": () => Promise.resolve().then(() => o6), "/src/components/MapStatic/index.vue": () => Promise.resolve().then(() => QH), "/src/components/MediaImageFull/index.vue": () => Promise.resolve().then(() => $K), "/src/components/MediaImageStatic/index.vue": () => Promise.resolve().then(() => AW), "/src/components/MediaLogo/index.vue": () => Promise.resolve().then(() => PY), "/src/components/MediaVideo/index.vue": () => Promise.resolve().then(() => mhe), "/src/components/NewsList/index.vue": () => Promise.resolve().then(() => YI), "/src/components/Process/index.vue": () => Promise.resolve().then(() => yD), "/src/components/Publications/index.vue": () => Promise.resolve().then(() => BF), "/src/components/QuoteText/index.vue": () => import("./index-D3Q2Z4dr.mjs"), "/src/components/RegisterForm/index.vue": () => Promise.resolve().then(() => JG), "/src/components/Resources/index.vue": () => Promise.resolve().then(() => CN), "/src/components/ResourcesTwo/index.vue": () => Promise.resolve().then(() => XN), "/src/components/RibbonBlock/index.vue": () => Promise.resolve().then(() => IP), "/src/components/SchoolLayout/index.vue": () => Promise.resolve().then(() => i_), "/src/components/ScrollKeyInfo/index.vue": () => Promise.resolve().then(() => mO), "/src/components/TabDefault/index.vue": () => Promise.resolve().then(() => Vee), "/src/components/TabLogo/index.vue": () => Promise.resolve().then(() => Zge), "/src/components/TabPage/index.vue": () => Promise.resolve().then(() => bge), "/src/components/TabTimeLine/index.vue": () => Promise.resolve().then(() => bte), "/src/components/TableCollapse/index.vue": () => Promise.resolve().then(() => eY), "/src/components/TableTwo/index.vue": () => Promise.resolve().then(() => HL), "/src/components/TheHistoryCarousel/index.vue": () => Promise.resolve().then(() => iM), "/src/components/TimelineStory/index.vue": () => Promise.resolve().then(() => MT), "/src/components/VrTour/index.vue": () => Promise.resolve().then(() => wAe) }), a = {};
|
|
31485
31482
|
for (const f in n)
|
|
31486
31483
|
try {
|
|
31487
31484
|
const y = f.split("/"), p = y[y.length - 2];
|
|
@@ -31970,7 +31967,7 @@ const e_ = { key: 0 }, t_ = {
|
|
|
31970
31967
|
k.value = re.getBoundingClientRect().right - Ae;
|
|
31971
31968
|
const Re = D.value;
|
|
31972
31969
|
Re && (Re.scrollLeft -= Me - k.value);
|
|
31973
|
-
},
|
|
31970
|
+
}, ge = U(!1), Z = U(!1), ee = W(() => {
|
|
31974
31971
|
var Ae;
|
|
31975
31972
|
if (!((Ae = a.modelValue) != null && Ae.data) || !Array.isArray(a.modelValue.data))
|
|
31976
31973
|
return [];
|
|
@@ -32206,7 +32203,7 @@ const e_ = { key: 0 }, t_ = {
|
|
|
32206
32203
|
show: Z.value,
|
|
32207
32204
|
"onUpdate:show": Ae[6] || (Ae[6] = (be) => Z.value = be),
|
|
32208
32205
|
locale: t.locale,
|
|
32209
|
-
onHandleEdit: Ae[7] || (Ae[7] = (be) =>
|
|
32206
|
+
onHandleEdit: Ae[7] || (Ae[7] = (be) => ge.value = !0),
|
|
32210
32207
|
onHandleDelete: Xe,
|
|
32211
32208
|
onHandleCopy: Je,
|
|
32212
32209
|
onHandlePaste: Ce
|
|
@@ -32214,8 +32211,8 @@ const e_ = { key: 0 }, t_ = {
|
|
|
32214
32211
|
], 2),
|
|
32215
32212
|
t.isPreview ? G("", !0) : (w(), se(Cee, {
|
|
32216
32213
|
key: 0,
|
|
32217
|
-
show:
|
|
32218
|
-
"onUpdate:show": Ae[8] || (Ae[8] = (be) =>
|
|
32214
|
+
show: ge.value,
|
|
32215
|
+
"onUpdate:show": Ae[8] || (Ae[8] = (be) => ge.value = be),
|
|
32219
32216
|
data: t.modelValue,
|
|
32220
32217
|
locale: t.locale
|
|
32221
32218
|
}, null, 8, ["show", "data", "locale"]))
|
|
@@ -32935,7 +32932,7 @@ const e_ = { key: 0 }, t_ = {
|
|
|
32935
32932
|
], 2),
|
|
32936
32933
|
l("div", fte, [
|
|
32937
32934
|
l("div", mte, [
|
|
32938
|
-
(w(!0), P(ce, null, xe(D.value, (J,
|
|
32935
|
+
(w(!0), P(ce, null, xe(D.value, (J, ge) => (w(), P(ce, {
|
|
32939
32936
|
key: J.id
|
|
32940
32937
|
}, [
|
|
32941
32938
|
J.type === "SharedComponent" ? (w(!0), P(ce, { key: 0 }, xe(J.template, (Z, ee) => (w(), P("div", {
|
|
@@ -33448,7 +33445,7 @@ const e_ = { key: 0 }, t_ = {
|
|
|
33448
33445
|
},
|
|
33449
33446
|
emits: ["update:show"],
|
|
33450
33447
|
setup(t, { emit: e }) {
|
|
33451
|
-
const n = Ze(() => import("vuedraggable")), a = Ze(() => import("./index-
|
|
33448
|
+
const n = Ze(() => import("vuedraggable")), a = Ze(() => import("./index-DFZmkHxJ.mjs")), i = U(!1), o = W(() => ({
|
|
33452
33449
|
animation: 200,
|
|
33453
33450
|
group: "programmes",
|
|
33454
33451
|
// 链接专用分组
|
|
@@ -59438,7 +59435,7 @@ browserWorkerPolyFill(self);
|
|
|
59438
59435
|
}, o = {
|
|
59439
59436
|
getUint64: i,
|
|
59440
59437
|
MAX_UINT32: a
|
|
59441
|
-
}, r = o.MAX_UINT32, s, d, c, f, y, p, u, A, m, x, E, T, D, b, S, k, B, V, F, L, H, j, N, K, _, $, ae, fe, X, J,
|
|
59438
|
+
}, r = o.MAX_UINT32, s, d, c, f, y, p, u, A, m, x, E, T, D, b, S, k, B, V, F, L, H, j, N, K, _, $, ae, fe, X, J, ge, Z, ee, oe, Te, Ve;
|
|
59442
59439
|
(function() {
|
|
59443
59440
|
var C;
|
|
59444
59441
|
if (N = {
|
|
@@ -59606,7 +59603,7 @@ browserWorkerPolyFill(self);
|
|
|
59606
59603
|
0,
|
|
59607
59604
|
1
|
|
59608
59605
|
// entry_flags
|
|
59609
|
-
]),
|
|
59606
|
+
]), ge = new Uint8Array([
|
|
59610
59607
|
0,
|
|
59611
59608
|
// version
|
|
59612
59609
|
0,
|
|
@@ -59790,7 +59787,7 @@ browserWorkerPolyFill(self);
|
|
|
59790
59787
|
// sequence_number
|
|
59791
59788
|
]));
|
|
59792
59789
|
}, u = function(C) {
|
|
59793
|
-
return s(N.minf, C.type === "video" ? s(N.vmhd, J) : s(N.smhd,
|
|
59790
|
+
return s(N.minf, C.type === "video" ? s(N.vmhd, J) : s(N.smhd, ge), d(), V(C));
|
|
59794
59791
|
}, A = function(C, M) {
|
|
59795
59792
|
for (var O = [], Q = M.length; Q--; )
|
|
59796
59793
|
O[Q] = L(M[Q]);
|
|
@@ -60079,8 +60076,8 @@ browserWorkerPolyFill(self);
|
|
|
60079
60076
|
192
|
|
60080
60077
|
// avgBitrate
|
|
60081
60078
|
]))], O.sarRatio) {
|
|
60082
|
-
var
|
|
60083
|
-
le.push(s(N.pasp, new Uint8Array([(
|
|
60079
|
+
var he = O.sarRatio[0], pe = O.sarRatio[1];
|
|
60080
|
+
le.push(s(N.pasp, new Uint8Array([(he & 4278190080) >> 24, (he & 16711680) >> 16, (he & 65280) >> 8, he & 255, (pe & 4278190080) >> 24, (pe & 16711680) >> 16, (pe & 65280) >> 8, pe & 255])));
|
|
60084
60081
|
}
|
|
60085
60082
|
return s.apply(null, le);
|
|
60086
60083
|
}, M = function(O) {
|
|
@@ -60341,14 +60338,14 @@ browserWorkerPolyFill(self);
|
|
|
60341
60338
|
// data_offset
|
|
60342
60339
|
];
|
|
60343
60340
|
}, M = function(Q, R) {
|
|
60344
|
-
var Y, ne, ie, le,
|
|
60341
|
+
var Y, ne, ie, le, he, pe;
|
|
60345
60342
|
for (le = Q.samples || [], R += 20 + 16 * le.length, ie = O(le, R), ne = new Uint8Array(ie.length + le.length * 16), ne.set(ie), Y = ie.length, pe = 0; pe < le.length; pe++)
|
|
60346
|
-
|
|
60343
|
+
he = le[pe], ne[Y++] = (he.duration & 4278190080) >>> 24, ne[Y++] = (he.duration & 16711680) >>> 16, ne[Y++] = (he.duration & 65280) >>> 8, ne[Y++] = he.duration & 255, ne[Y++] = (he.size & 4278190080) >>> 24, ne[Y++] = (he.size & 16711680) >>> 16, ne[Y++] = (he.size & 65280) >>> 8, ne[Y++] = he.size & 255, ne[Y++] = he.flags.isLeading << 2 | he.flags.dependsOn, ne[Y++] = he.flags.isDependedOn << 6 | he.flags.hasRedundancy << 4 | he.flags.paddingValue << 1 | he.flags.isNonSyncSample, ne[Y++] = he.flags.degradationPriority & 61440, ne[Y++] = he.flags.degradationPriority & 15, ne[Y++] = (he.compositionTimeOffset & 4278190080) >>> 24, ne[Y++] = (he.compositionTimeOffset & 16711680) >>> 16, ne[Y++] = (he.compositionTimeOffset & 65280) >>> 8, ne[Y++] = he.compositionTimeOffset & 255;
|
|
60347
60344
|
return s(N.trun, ne);
|
|
60348
60345
|
}, C = function(Q, R) {
|
|
60349
|
-
var Y, ne, ie, le,
|
|
60346
|
+
var Y, ne, ie, le, he, pe;
|
|
60350
60347
|
for (le = Q.samples || [], R += 20 + 8 * le.length, ie = O(le, R), Y = new Uint8Array(ie.length + le.length * 8), Y.set(ie), ne = ie.length, pe = 0; pe < le.length; pe++)
|
|
60351
|
-
|
|
60348
|
+
he = le[pe], Y[ne++] = (he.duration & 4278190080) >>> 24, Y[ne++] = (he.duration & 16711680) >>> 16, Y[ne++] = (he.duration & 65280) >>> 8, Y[ne++] = he.duration & 255, Y[ne++] = (he.size & 4278190080) >>> 24, Y[ne++] = (he.size & 16711680) >>> 16, Y[ne++] = (he.size & 65280) >>> 8, Y[ne++] = he.size & 255;
|
|
60352
60349
|
return s(N.trun, Y);
|
|
60353
60350
|
}, j = function(Q, R) {
|
|
60354
60351
|
return Q.type === "audio" ? C(Q, R) : M(Q, R);
|
|
@@ -60398,7 +60395,7 @@ browserWorkerPolyFill(self);
|
|
|
60398
60395
|
ne = Y[Q], R = De(ne, ie), ie += R.size, le.push(R);
|
|
60399
60396
|
return le;
|
|
60400
60397
|
}, Ae = function(C) {
|
|
60401
|
-
var M, O, Q, R, Y, ne, ie = 0, le = C.byteLength,
|
|
60398
|
+
var M, O, Q, R, Y, ne, ie = 0, le = C.byteLength, he = C.nalCount, pe = le + 4 * he, ke = new Uint8Array(pe), Ye = new DataView(ke.buffer);
|
|
60402
60399
|
for (M = 0; M < C.length; M++)
|
|
60403
60400
|
for (R = C[M], O = 0; O < R.length; O++)
|
|
60404
60401
|
for (Y = R[O], Q = 0; Q < Y.length; Q++)
|
|
@@ -60479,11 +60476,11 @@ browserWorkerPolyFill(self);
|
|
|
60479
60476
|
O = C[M], Q += O.data.byteLength;
|
|
60480
60477
|
return Q;
|
|
60481
60478
|
}, Qi = function(C, M, O, Q) {
|
|
60482
|
-
var R, Y = 0, ne = 0, ie = 0, le = 0,
|
|
60479
|
+
var R, Y = 0, ne = 0, ie = 0, le = 0, he, pe, ke;
|
|
60483
60480
|
if (M.length && (R = qn.audioTsToVideoTs(C.baseMediaDecodeTime, C.samplerate), Y = Math.ceil(qn.ONE_SECOND_IN_TS / (C.samplerate / 1024)), O && Q && (ne = R - Math.max(O, Q), ie = Math.floor(ne / Y), le = ie * Y), !(ie < 1 || le > qn.ONE_SECOND_IN_TS / 2))) {
|
|
60484
|
-
for (
|
|
60481
|
+
for (he = Us()[C.samplerate], he || (he = M[0].data), pe = 0; pe < ie; pe++)
|
|
60485
60482
|
ke = M[0], M.splice(0, 0, {
|
|
60486
|
-
data:
|
|
60483
|
+
data: he,
|
|
60487
60484
|
dts: ke.dts - Y,
|
|
60488
60485
|
pts: ke.pts - Y
|
|
60489
60486
|
});
|
|
@@ -60782,7 +60779,7 @@ browserWorkerPolyFill(self);
|
|
|
60782
60779
|
O.flushDisplayed(Y, O.services[C]);
|
|
60783
60780
|
}), this.services[C];
|
|
60784
60781
|
}, nt.prototype.handleText = function(C, M, O) {
|
|
60785
|
-
var Q = O && O.isExtended, R = O && O.isMultiByte, Y = this.current708Packet.data, ne = Q ? 4096 : 0, ie = Y[C], le = Y[C + 1],
|
|
60782
|
+
var Q = O && O.isExtended, R = O && O.isMultiByte, Y = this.current708Packet.data, ne = Q ? 4096 : 0, ie = Y[C], le = Y[C + 1], he = M.currentWindow, pe, ke;
|
|
60786
60783
|
function Ye(Ie) {
|
|
60787
60784
|
return Ie.map((it) => ("0" + (it & 255).toString(16)).slice(-2)).join("");
|
|
60788
60785
|
}
|
|
@@ -60793,7 +60790,7 @@ browserWorkerPolyFill(self);
|
|
|
60793
60790
|
pe = String.fromCharCode(parseInt(Ie, 16));
|
|
60794
60791
|
} else
|
|
60795
60792
|
pe = qt(ne | ie);
|
|
60796
|
-
return
|
|
60793
|
+
return he.pendingNewLine && !he.isEmpty() && he.newLine(this.getPts(C)), he.pendingNewLine = !1, he.addText(pe), C;
|
|
60797
60794
|
}, nt.prototype.multiByteCharacter = function(C, M) {
|
|
60798
60795
|
var O = this.current708Packet.data, Q = O[C + 1], R = O[C + 2];
|
|
60799
60796
|
return _t(Q) && _t(R) && (C = this.handleText(++C, M, {
|
|
@@ -61092,13 +61089,13 @@ browserWorkerPolyFill(self);
|
|
|
61092
61089
|
else if (this.isMidRowCode(Y, ne))
|
|
61093
61090
|
this.clearFormatting(O.pts), this[this.mode_](O.pts, " "), this.column_++, (ne & 14) === 14 && this.addFormatting(O.pts, ["i"]), (ne & 1) === 1 && this.addFormatting(O.pts, ["u"]);
|
|
61094
61091
|
else if (this.isOffsetControlCode(Y, ne)) {
|
|
61095
|
-
const
|
|
61096
|
-
this.nonDisplayed_[this.row_].offset =
|
|
61092
|
+
const he = ne & 3;
|
|
61093
|
+
this.nonDisplayed_[this.row_].offset = he, this.column_ += he;
|
|
61097
61094
|
} else if (this.isPAC(Y, ne)) {
|
|
61098
61095
|
var le = Ca.indexOf(Q & 7968);
|
|
61099
61096
|
if (this.mode_ === "rollUp" && (le - this.rollUpRows_ + 1 < 0 && (le = this.rollUpRows_ - 1), this.setRollUp(O.pts, le)), le !== this.row_ && le >= 0 && le <= 14 && (this.clearFormatting(O.pts), this.row_ = le), ne & 1 && this.formatting_.indexOf("u") === -1 && this.addFormatting(O.pts, ["u"]), (Q & 16) === 16) {
|
|
61100
|
-
const
|
|
61101
|
-
this.column_ =
|
|
61097
|
+
const he = (Q & 14) >> 1;
|
|
61098
|
+
this.column_ = he * 4, this.nonDisplayed_[this.row_].indent += he;
|
|
61102
61099
|
}
|
|
61103
61100
|
this.isColorPAC(ne) && (ne & 14) === 14 && this.addFormatting(O.pts, ["i"]);
|
|
61104
61101
|
} else this.isNormalChar(Y) && (ne === 0 && (ne = null), ie = Ut(Y), ie += Ut(ne), this[this.mode_](O.pts, ie), this.column_ += ie.length);
|
|
@@ -61327,7 +61324,7 @@ browserWorkerPolyFill(self);
|
|
|
61327
61324
|
for (Y = 0; Y < M.descriptor.length; Y++)
|
|
61328
61325
|
this.dispatchType += ("00" + M.descriptor[Y].toString(16)).slice(-2);
|
|
61329
61326
|
this.push = function(ne) {
|
|
61330
|
-
var ie, le,
|
|
61327
|
+
var ie, le, he, pe, ke, Ye;
|
|
61331
61328
|
if (ne.type === "timed-metadata") {
|
|
61332
61329
|
if (ne.dataAlignmentIndicator && (R = 0, Q.length = 0), Q.length === 0 && (ne.data.length < 10 || ne.data[0] !== 73 || ne.data[1] !== 68 || ne.data[2] !== 51)) {
|
|
61333
61330
|
this.trigger("log", {
|
|
@@ -61346,7 +61343,7 @@ browserWorkerPolyFill(self);
|
|
|
61346
61343
|
ie.data.set(Q[0].data.subarray(0, O - ke), ke), ke += Q[0].data.byteLength, R -= Q[0].data.byteLength, Q.shift();
|
|
61347
61344
|
le = 10, ie.data[5] & 64 && (le += 4, le += Fi.parseSyncSafeInteger(ie.data.subarray(10, 14)), O -= Fi.parseSyncSafeInteger(ie.data.subarray(16, 20)));
|
|
61348
61345
|
do {
|
|
61349
|
-
if (
|
|
61346
|
+
if (he = Fi.parseSyncSafeInteger(ie.data.subarray(le + 4, le + 8)), he < 1) {
|
|
61350
61347
|
this.trigger("log", {
|
|
61351
61348
|
level: "warn",
|
|
61352
61349
|
message: "Malformed ID3 frame encountered. Skipping remaining metadata parsing."
|
|
@@ -61355,12 +61352,12 @@ browserWorkerPolyFill(self);
|
|
|
61355
61352
|
}
|
|
61356
61353
|
if (Ye = String.fromCharCode(ie.data[le], ie.data[le + 1], ie.data[le + 2], ie.data[le + 3]), pe = {
|
|
61357
61354
|
id: Ye,
|
|
61358
|
-
data: ie.data.subarray(le + 10, le +
|
|
61355
|
+
data: ie.data.subarray(le + 10, le + he + 10)
|
|
61359
61356
|
}, pe.key = pe.id, Fi.frameParsers[pe.id] ? Fi.frameParsers[pe.id](pe) : pe.id[0] === "T" ? Fi.frameParsers["T*"](pe) : pe.id[0] === "W" && Fi.frameParsers["W*"](pe), pe.owner === "com.apple.streaming.transportStreamTimestamp") {
|
|
61360
61357
|
var Ie = pe.data, it = (Ie[3] & 1) << 30 | Ie[4] << 22 | Ie[5] << 14 | Ie[6] << 6 | Ie[7] >>> 2;
|
|
61361
61358
|
it *= 4, it += Ie[7] & 3, pe.timeStamp = it, ie.pts === void 0 && ie.dts === void 0 && (ie.pts = pe.timeStamp, ie.dts = pe.timeStamp), this.trigger("timestamp", pe);
|
|
61362
61359
|
}
|
|
61363
|
-
ie.frames.push(pe), le += 10, le +=
|
|
61360
|
+
ie.frames.push(pe), le += 10, le += he;
|
|
61364
61361
|
} while (le < O);
|
|
61365
61362
|
this.trigger("data", ie);
|
|
61366
61363
|
}
|
|
@@ -61395,15 +61392,15 @@ browserWorkerPolyFill(self);
|
|
|
61395
61392
|
}, M = function(R, Y) {
|
|
61396
61393
|
Y.section_number = R[7], Y.last_section_number = R[8], Q.pmtPid = (R[10] & 31) << 8 | R[11], Y.pmtPid = Q.pmtPid;
|
|
61397
61394
|
}, O = function(R, Y) {
|
|
61398
|
-
var ne, ie, le,
|
|
61395
|
+
var ne, ie, le, he;
|
|
61399
61396
|
if (R[5] & 1) {
|
|
61400
61397
|
for (Q.programMapTable = {
|
|
61401
61398
|
video: null,
|
|
61402
61399
|
audio: null,
|
|
61403
61400
|
"timed-metadata": {}
|
|
61404
|
-
}, ne = (R[1] & 15) << 8 | R[2], ie = 3 + ne - 4, le = (R[10] & 15) << 8 | R[11],
|
|
61405
|
-
var pe = R[
|
|
61406
|
-
pe === La.H264_STREAM_TYPE && Q.programMapTable.video === null ? Q.programMapTable.video = ke : pe === La.ADTS_STREAM_TYPE && Q.programMapTable.audio === null ? Q.programMapTable.audio = ke : pe === La.METADATA_STREAM_TYPE && (Q.programMapTable["timed-metadata"][ke] = pe),
|
|
61401
|
+
}, ne = (R[1] & 15) << 8 | R[2], ie = 3 + ne - 4, le = (R[10] & 15) << 8 | R[11], he = 12 + le; he < ie; ) {
|
|
61402
|
+
var pe = R[he], ke = (R[he + 1] & 31) << 8 | R[he + 2];
|
|
61403
|
+
pe === La.H264_STREAM_TYPE && Q.programMapTable.video === null ? Q.programMapTable.video = ke : pe === La.ADTS_STREAM_TYPE && Q.programMapTable.audio === null ? Q.programMapTable.audio = ke : pe === La.METADATA_STREAM_TYPE && (Q.programMapTable["timed-metadata"][ke] = pe), he += ((R[he + 3] & 15) << 8 | R[he + 4]) + 5;
|
|
61407
61404
|
}
|
|
61408
61405
|
Y.programMapTable = Q.programMapTable;
|
|
61409
61406
|
}
|
|
@@ -61431,18 +61428,18 @@ browserWorkerPolyFill(self);
|
|
|
61431
61428
|
}, R = {
|
|
61432
61429
|
data: [],
|
|
61433
61430
|
size: 0
|
|
61434
|
-
}, Y, ne = function(le,
|
|
61431
|
+
}, Y, ne = function(le, he) {
|
|
61435
61432
|
var pe;
|
|
61436
61433
|
const ke = le[0] << 16 | le[1] << 8 | le[2];
|
|
61437
|
-
|
|
61438
|
-
}, ie = function(le,
|
|
61434
|
+
he.data = new Uint8Array(), ke === 1 && (he.packetLength = 6 + (le[4] << 8 | le[5]), he.dataAlignmentIndicator = (le[6] & 4) !== 0, pe = le[7], pe & 192 && (he.pts = (le[9] & 14) << 27 | (le[10] & 255) << 20 | (le[11] & 254) << 12 | (le[12] & 255) << 5 | (le[13] & 254) >>> 3, he.pts *= 4, he.pts += (le[13] & 6) >>> 1, he.dts = he.pts, pe & 64 && (he.dts = (le[14] & 14) << 27 | (le[15] & 255) << 20 | (le[16] & 254) << 12 | (le[17] & 255) << 5 | (le[18] & 254) >>> 3, he.dts *= 4, he.dts += (le[18] & 6) >>> 1)), he.data = le.subarray(9 + le[8]));
|
|
61435
|
+
}, ie = function(le, he, pe) {
|
|
61439
61436
|
var ke = new Uint8Array(le.size), Ye = {
|
|
61440
|
-
type:
|
|
61437
|
+
type: he
|
|
61441
61438
|
}, Ie = 0, it = 0, At = !1, mn;
|
|
61442
61439
|
if (!(!le.data.length || le.size < 9)) {
|
|
61443
61440
|
for (Ye.trackId = le.data[0].pid, Ie = 0; Ie < le.data.length; Ie++)
|
|
61444
61441
|
mn = le.data[Ie], ke.set(mn.data, it), it += mn.data.byteLength;
|
|
61445
|
-
ne(ke, Ye), At =
|
|
61442
|
+
ne(ke, Ye), At = he === "video" || Ye.packetLength <= le.size, (pe || At) && (le.size = 0, le.data.length = 0), At && C.trigger("data", Ye);
|
|
61446
61443
|
}
|
|
61447
61444
|
};
|
|
61448
61445
|
fr.prototype.init.call(this), this.push = function(le) {
|
|
@@ -61450,42 +61447,42 @@ browserWorkerPolyFill(self);
|
|
|
61450
61447
|
pat: function() {
|
|
61451
61448
|
},
|
|
61452
61449
|
pes: function() {
|
|
61453
|
-
var
|
|
61450
|
+
var he, pe;
|
|
61454
61451
|
switch (le.streamType) {
|
|
61455
61452
|
case La.H264_STREAM_TYPE:
|
|
61456
|
-
|
|
61453
|
+
he = O, pe = "video";
|
|
61457
61454
|
break;
|
|
61458
61455
|
case La.ADTS_STREAM_TYPE:
|
|
61459
|
-
|
|
61456
|
+
he = Q, pe = "audio";
|
|
61460
61457
|
break;
|
|
61461
61458
|
case La.METADATA_STREAM_TYPE:
|
|
61462
|
-
|
|
61459
|
+
he = R, pe = "timed-metadata";
|
|
61463
61460
|
break;
|
|
61464
61461
|
default:
|
|
61465
61462
|
return;
|
|
61466
61463
|
}
|
|
61467
|
-
le.payloadUnitStartIndicator && ie(
|
|
61464
|
+
le.payloadUnitStartIndicator && ie(he, pe, !0), he.data.push(le), he.size += le.data.byteLength;
|
|
61468
61465
|
},
|
|
61469
61466
|
pmt: function() {
|
|
61470
|
-
var
|
|
61467
|
+
var he = {
|
|
61471
61468
|
type: "metadata",
|
|
61472
61469
|
tracks: []
|
|
61473
61470
|
};
|
|
61474
|
-
Y = le.programMapTable, Y.video !== null &&
|
|
61471
|
+
Y = le.programMapTable, Y.video !== null && he.tracks.push({
|
|
61475
61472
|
timelineStartInfo: {
|
|
61476
61473
|
baseMediaDecodeTime: 0
|
|
61477
61474
|
},
|
|
61478
61475
|
id: +Y.video,
|
|
61479
61476
|
codec: "avc",
|
|
61480
61477
|
type: "video"
|
|
61481
|
-
}), Y.audio !== null &&
|
|
61478
|
+
}), Y.audio !== null && he.tracks.push({
|
|
61482
61479
|
timelineStartInfo: {
|
|
61483
61480
|
baseMediaDecodeTime: 0
|
|
61484
61481
|
},
|
|
61485
61482
|
id: +Y.audio,
|
|
61486
61483
|
codec: "adts",
|
|
61487
61484
|
type: "audio"
|
|
61488
|
-
}), M = !0, C.trigger("data",
|
|
61485
|
+
}), M = !0, C.trigger("data", he);
|
|
61489
61486
|
}
|
|
61490
61487
|
})[le.type]();
|
|
61491
61488
|
}, this.reset = function() {
|
|
@@ -61540,7 +61537,7 @@ browserWorkerPolyFill(self);
|
|
|
61540
61537
|
message: `adts skiping bytes ${Q} to ${R} in frame ${O} outside syncword`
|
|
61541
61538
|
});
|
|
61542
61539
|
}, this.push = function(Q) {
|
|
61543
|
-
var R = 0, Y, ne, ie, le,
|
|
61540
|
+
var R = 0, Y, ne, ie, le, he;
|
|
61544
61541
|
if (C || (O = 0), Q.type === "audio") {
|
|
61545
61542
|
M && M.length ? (ie = M, M = new Uint8Array(ie.byteLength + Q.data.byteLength), M.set(ie), M.set(Q.data, ie.byteLength)) : M = Q.data;
|
|
61546
61543
|
for (var pe; R + 7 < M.length; ) {
|
|
@@ -61548,11 +61545,11 @@ browserWorkerPolyFill(self);
|
|
|
61548
61545
|
typeof pe != "number" && (pe = R), R++;
|
|
61549
61546
|
continue;
|
|
61550
61547
|
}
|
|
61551
|
-
if (typeof pe == "number" && (this.skipWarn_(pe, R), pe = null), ne = (~M[R + 1] & 1) * 2, Y = (M[R + 3] & 3) << 11 | M[R + 4] << 3 | (M[R + 5] & 224) >> 5, le = ((M[R + 6] & 3) + 1) * 1024,
|
|
61548
|
+
if (typeof pe == "number" && (this.skipWarn_(pe, R), pe = null), ne = (~M[R + 1] & 1) * 2, Y = (M[R + 3] & 3) << 11 | M[R + 4] << 3 | (M[R + 5] & 224) >> 5, le = ((M[R + 6] & 3) + 1) * 1024, he = le * O2 / kf[(M[R + 2] & 60) >>> 2], M.byteLength - R < Y)
|
|
61552
61549
|
break;
|
|
61553
61550
|
this.trigger("data", {
|
|
61554
|
-
pts: Q.pts + O *
|
|
61555
|
-
dts: Q.dts + O *
|
|
61551
|
+
pts: Q.pts + O * he,
|
|
61552
|
+
dts: Q.dts + O * he,
|
|
61556
61553
|
sampleCount: le,
|
|
61557
61554
|
audioobjecttype: (M[R + 2] >>> 6 & 3) + 1,
|
|
61558
61555
|
channelcount: (M[R + 2] & 1) << 2 | (M[R + 3] & 192) >>> 6,
|
|
@@ -61680,31 +61677,31 @@ browserWorkerPolyFill(self);
|
|
|
61680
61677
|
Ar.prototype.init.call(this), M = this, this.push = function(le) {
|
|
61681
61678
|
le.type === "video" && (O = le.trackId, Q = le.pts, R = le.dts, C.push(le));
|
|
61682
61679
|
}, C.on("data", function(le) {
|
|
61683
|
-
var
|
|
61680
|
+
var he = {
|
|
61684
61681
|
trackId: O,
|
|
61685
61682
|
pts: Q,
|
|
61686
61683
|
dts: R,
|
|
61687
61684
|
data: le,
|
|
61688
61685
|
nalUnitTypeCode: le[0] & 31
|
|
61689
61686
|
};
|
|
61690
|
-
switch (
|
|
61687
|
+
switch (he.nalUnitTypeCode) {
|
|
61691
61688
|
case 5:
|
|
61692
|
-
|
|
61689
|
+
he.nalUnitType = "slice_layer_without_partitioning_rbsp_idr";
|
|
61693
61690
|
break;
|
|
61694
61691
|
case 6:
|
|
61695
|
-
|
|
61692
|
+
he.nalUnitType = "sei_rbsp", he.escapedRBSP = Y(le.subarray(1));
|
|
61696
61693
|
break;
|
|
61697
61694
|
case 7:
|
|
61698
|
-
|
|
61695
|
+
he.nalUnitType = "seq_parameter_set_rbsp", he.escapedRBSP = Y(le.subarray(1)), he.config = ne(he.escapedRBSP);
|
|
61699
61696
|
break;
|
|
61700
61697
|
case 8:
|
|
61701
|
-
|
|
61698
|
+
he.nalUnitType = "pic_parameter_set_rbsp";
|
|
61702
61699
|
break;
|
|
61703
61700
|
case 9:
|
|
61704
|
-
|
|
61701
|
+
he.nalUnitType = "access_unit_delimiter_rbsp";
|
|
61705
61702
|
break;
|
|
61706
61703
|
}
|
|
61707
|
-
M.trigger("data",
|
|
61704
|
+
M.trigger("data", he);
|
|
61708
61705
|
}), C.on("done", function() {
|
|
61709
61706
|
M.trigger("done");
|
|
61710
61707
|
}), C.on("partialdone", function() {
|
|
@@ -61721,22 +61718,22 @@ browserWorkerPolyFill(self);
|
|
|
61721
61718
|
C.reset();
|
|
61722
61719
|
}, this.endTimeline = function() {
|
|
61723
61720
|
C.endTimeline();
|
|
61724
|
-
}, ie = function(le,
|
|
61721
|
+
}, ie = function(le, he) {
|
|
61725
61722
|
var pe = 8, ke = 8, Ye, Ie;
|
|
61726
61723
|
for (Ye = 0; Ye < le; Ye++)
|
|
61727
|
-
ke !== 0 && (Ie =
|
|
61724
|
+
ke !== 0 && (Ie = he.readExpGolomb(), ke = (pe + Ie + 256) % 256), pe = ke === 0 ? pe : ke;
|
|
61728
61725
|
}, Y = function(le) {
|
|
61729
|
-
for (var
|
|
61726
|
+
for (var he = le.byteLength, pe = [], ke = 1, Ye, Ie; ke < he - 2; )
|
|
61730
61727
|
le[ke] === 0 && le[ke + 1] === 0 && le[ke + 2] === 3 ? (pe.push(ke + 2), ke += 2) : ke++;
|
|
61731
61728
|
if (pe.length === 0)
|
|
61732
61729
|
return le;
|
|
61733
|
-
Ye =
|
|
61730
|
+
Ye = he - pe.length, Ie = new Uint8Array(Ye);
|
|
61734
61731
|
var it = 0;
|
|
61735
61732
|
for (ke = 0; ke < Ye; it++, ke++)
|
|
61736
61733
|
it === pe[0] && (it++, pe.shift()), Ie[ke] = le[it];
|
|
61737
61734
|
return Ie;
|
|
61738
61735
|
}, ne = function(le) {
|
|
61739
|
-
var
|
|
61736
|
+
var he = 0, pe = 0, ke = 0, Ye = 0, Ie, it, At, mn, ua, Ri, al, il, sl, ol, Tr, jt = [1, 1], ll, Oa;
|
|
61740
61737
|
if (Ie = new H2(le), it = Ie.readUnsignedByte(), mn = Ie.readUnsignedByte(), At = Ie.readUnsignedByte(), Ie.skipUnsignedExpGolomb(), If[it] && (ua = Ie.readUnsignedExpGolomb(), ua === 3 && Ie.skipBits(1), Ie.skipUnsignedExpGolomb(), Ie.skipUnsignedExpGolomb(), Ie.skipBits(1), Ie.readBoolean()))
|
|
61741
61738
|
for (Tr = ua !== 3 ? 8 : 12, Oa = 0; Oa < Tr; Oa++)
|
|
61742
61739
|
Ie.readBoolean() && (Oa < 6 ? ie(16, Ie) : ie(64, Ie));
|
|
@@ -61745,7 +61742,7 @@ browserWorkerPolyFill(self);
|
|
|
61745
61742
|
else if (Ri === 1)
|
|
61746
61743
|
for (Ie.skipBits(1), Ie.skipExpGolomb(), Ie.skipExpGolomb(), al = Ie.readUnsignedExpGolomb(), Oa = 0; Oa < al; Oa++)
|
|
61747
61744
|
Ie.skipExpGolomb();
|
|
61748
|
-
if (Ie.skipUnsignedExpGolomb(), Ie.skipBits(1), il = Ie.readUnsignedExpGolomb(), sl = Ie.readUnsignedExpGolomb(), ol = Ie.readBits(1), ol === 0 && Ie.skipBits(1), Ie.skipBits(1), Ie.readBoolean() && (
|
|
61745
|
+
if (Ie.skipUnsignedExpGolomb(), Ie.skipBits(1), il = Ie.readUnsignedExpGolomb(), sl = Ie.readUnsignedExpGolomb(), ol = Ie.readBits(1), ol === 0 && Ie.skipBits(1), Ie.skipBits(1), Ie.readBoolean() && (he = Ie.readUnsignedExpGolomb(), pe = Ie.readUnsignedExpGolomb(), ke = Ie.readUnsignedExpGolomb(), Ye = Ie.readUnsignedExpGolomb()), Ie.readBoolean() && Ie.readBoolean()) {
|
|
61749
61746
|
switch (ll = Ie.readUnsignedByte(), ll) {
|
|
61750
61747
|
case 1:
|
|
61751
61748
|
jt = [1, 1];
|
|
@@ -61806,7 +61803,7 @@ browserWorkerPolyFill(self);
|
|
|
61806
61803
|
profileIdc: it,
|
|
61807
61804
|
levelIdc: At,
|
|
61808
61805
|
profileCompatibility: mn,
|
|
61809
|
-
width: (il + 1) * 16 -
|
|
61806
|
+
width: (il + 1) * 16 - he * 2 - pe * 2,
|
|
61810
61807
|
height: (2 - ol) * (sl + 1) * 16 - ke * 2 - Ye * 2,
|
|
61811
61808
|
// sar is sample aspect ratio
|
|
61812
61809
|
sarRatio: jt
|
|
@@ -61955,12 +61952,12 @@ browserWorkerPolyFill(self);
|
|
|
61955
61952
|
}, this.setAudioAppendStart = function(ie) {
|
|
61956
61953
|
Y = ie;
|
|
61957
61954
|
}, this.flush = function() {
|
|
61958
|
-
var ie, le,
|
|
61955
|
+
var ie, le, he, pe, ke, Ye, Ie;
|
|
61959
61956
|
if (O.length === 0) {
|
|
61960
61957
|
this.trigger("done", "AudioSegmentStream");
|
|
61961
61958
|
return;
|
|
61962
61959
|
}
|
|
61963
|
-
ie = yr.trimAdtsFramesByEarliestDts(O, C, R), C.baseMediaDecodeTime = Qa.calculateTrackBaseMediaDecodeTime(C, M.keepOriginalTimestamps), Ie = yr.prefixWithSilence(C, ie, Y, ne), C.samples = yr.generateSampleTable(ie),
|
|
61960
|
+
ie = yr.trimAdtsFramesByEarliestDts(O, C, R), C.baseMediaDecodeTime = Qa.calculateTrackBaseMediaDecodeTime(C, M.keepOriginalTimestamps), Ie = yr.prefixWithSilence(C, ie, Y, ne), C.samples = yr.generateSampleTable(ie), he = Zo.mdat(yr.concatenateFrameData(ie)), O = [], le = Zo.moof(Q, [C]), pe = new Uint8Array(le.byteLength + he.byteLength), Q++, pe.set(le), pe.set(he, le.byteLength), Qa.clearDtsInfo(C), ke = Math.ceil(iw * 1024 / C.samplerate), ie.length && (Ye = ie.length * ke, this.trigger("segmentTimingInfo", Rf(
|
|
61964
61961
|
// The audio track's baseMediaDecodeTime is in audio clock cycles, but the
|
|
61965
61962
|
// frame info is in video clock cycles. Convert to match expectation of
|
|
61966
61963
|
// listeners (that all timestamps will be based on video clock cycles).
|
|
@@ -61988,35 +61985,35 @@ browserWorkerPolyFill(self);
|
|
|
61988
61985
|
C[le] = Y[le];
|
|
61989
61986
|
}, this)), ie.nalUnitType === "pic_parameter_set_rbsp" && !ne && (ne = ie.data, C.pps = [ie.data]), Q.push(ie);
|
|
61990
61987
|
}, this.flush = function() {
|
|
61991
|
-
for (var ie, le,
|
|
61988
|
+
for (var ie, le, he, pe, ke, Ye, Ie = 0, it, At; Q.length && Q[0].nalUnitType !== "access_unit_delimiter_rbsp"; )
|
|
61992
61989
|
Q.shift();
|
|
61993
61990
|
if (Q.length === 0) {
|
|
61994
61991
|
this.resetStream_(), this.trigger("done", "VideoSegmentStream");
|
|
61995
61992
|
return;
|
|
61996
61993
|
}
|
|
61997
|
-
if (ie = _o.groupNalsIntoFrames(Q),
|
|
61994
|
+
if (ie = _o.groupNalsIntoFrames(Q), he = _o.groupFramesIntoGops(ie), he[0][0].keyFrame || (le = this.getGopForFusion_(Q[0], C), le ? (Ie = le.duration, he.unshift(le), he.byteLength += le.byteLength, he.nalCount += le.nalCount, he.pts = le.pts, he.dts = le.dts, he.duration += le.duration) : he = _o.extendFirstKeyFrame(he)), R.length) {
|
|
61998
61995
|
var mn;
|
|
61999
|
-
if (M.alignGopsAtEnd ? mn = this.alignGopsAtEnd_(
|
|
61996
|
+
if (M.alignGopsAtEnd ? mn = this.alignGopsAtEnd_(he) : mn = this.alignGopsAtStart_(he), !mn) {
|
|
62000
61997
|
this.gopCache_.unshift({
|
|
62001
|
-
gop:
|
|
61998
|
+
gop: he.pop(),
|
|
62002
61999
|
pps: C.pps,
|
|
62003
62000
|
sps: C.sps
|
|
62004
62001
|
}), this.gopCache_.length = Math.min(6, this.gopCache_.length), Q = [], this.resetStream_(), this.trigger("done", "VideoSegmentStream");
|
|
62005
62002
|
return;
|
|
62006
62003
|
}
|
|
62007
|
-
Qa.clearDtsInfo(C),
|
|
62004
|
+
Qa.clearDtsInfo(C), he = mn;
|
|
62008
62005
|
}
|
|
62009
|
-
Qa.collectDtsInfo(C,
|
|
62006
|
+
Qa.collectDtsInfo(C, he), C.samples = _o.generateSampleTable(he), ke = Zo.mdat(_o.concatenateNalData(he)), C.baseMediaDecodeTime = Qa.calculateTrackBaseMediaDecodeTime(C, M.keepOriginalTimestamps), this.trigger("processedGopsInfo", he.map(function(ua) {
|
|
62010
62007
|
return {
|
|
62011
62008
|
pts: ua.pts,
|
|
62012
62009
|
dts: ua.dts,
|
|
62013
62010
|
byteLength: ua.byteLength
|
|
62014
62011
|
};
|
|
62015
|
-
})), it =
|
|
62016
|
-
start:
|
|
62017
|
-
end:
|
|
62012
|
+
})), it = he[0], At = he[he.length - 1], this.trigger("segmentTimingInfo", Rf(C.baseMediaDecodeTime, it.dts, it.pts, At.dts + At.duration, At.pts + At.duration, Ie)), this.trigger("timingInfo", {
|
|
62013
|
+
start: he[0].pts,
|
|
62014
|
+
end: he[he.length - 1].pts + he[he.length - 1].duration
|
|
62018
62015
|
}), this.gopCache_.unshift({
|
|
62019
|
-
gop:
|
|
62016
|
+
gop: he.pop(),
|
|
62020
62017
|
pps: C.pps,
|
|
62021
62018
|
sps: C.sps
|
|
62022
62019
|
}), this.gopCache_.length = Math.min(6, this.gopCache_.length), Q = [], this.trigger("baseMediaDecodeTime", C.baseMediaDecodeTime), this.trigger("timelineStartInfo", C.timelineStartInfo), pe = Zo.moof(O, [C]), Ye = new Uint8Array(pe.byteLength + ke.byteLength), O++, Ye.set(pe), Ye.set(ke, pe.byteLength), this.trigger("data", {
|
|
@@ -62028,24 +62025,24 @@ browserWorkerPolyFill(self);
|
|
|
62028
62025
|
}, this.resetStream_ = function() {
|
|
62029
62026
|
Qa.clearDtsInfo(C), Y = void 0, ne = void 0;
|
|
62030
62027
|
}, this.getGopForFusion_ = function(ie) {
|
|
62031
|
-
var le = 45e3,
|
|
62028
|
+
var le = 45e3, he = 1 / 0, pe, ke, Ye, Ie, it;
|
|
62032
62029
|
for (it = 0; it < this.gopCache_.length; it++)
|
|
62033
|
-
Ie = this.gopCache_[it], Ye = Ie.gop, !(!(C.pps && Hf(C.pps[0], Ie.pps[0])) || !(C.sps && Hf(C.sps[0], Ie.sps[0]))) && (Ye.dts < C.timelineStartInfo.dts || (pe = ie.dts - Ye.dts - Ye.duration, pe >= -1e4 && pe <= le && (!ke ||
|
|
62030
|
+
Ie = this.gopCache_[it], Ye = Ie.gop, !(!(C.pps && Hf(C.pps[0], Ie.pps[0])) || !(C.sps && Hf(C.sps[0], Ie.sps[0]))) && (Ye.dts < C.timelineStartInfo.dts || (pe = ie.dts - Ye.dts - Ye.duration, pe >= -1e4 && pe <= le && (!ke || he > pe) && (ke = Ie, he = pe)));
|
|
62034
62031
|
return ke ? ke.gop : null;
|
|
62035
62032
|
}, this.alignGopsAtStart_ = function(ie) {
|
|
62036
|
-
var le,
|
|
62037
|
-
for (Ye = ie.byteLength, Ie = ie.nalCount, it = ie.duration, le =
|
|
62033
|
+
var le, he, pe, ke, Ye, Ie, it, At;
|
|
62034
|
+
for (Ye = ie.byteLength, Ie = ie.nalCount, it = ie.duration, le = he = 0; le < R.length && he < ie.length && (pe = R[le], ke = ie[he], pe.pts !== ke.pts); ) {
|
|
62038
62035
|
if (ke.pts > pe.pts) {
|
|
62039
62036
|
le++;
|
|
62040
62037
|
continue;
|
|
62041
62038
|
}
|
|
62042
|
-
|
|
62039
|
+
he++, Ye -= ke.byteLength, Ie -= ke.nalCount, it -= ke.duration;
|
|
62043
62040
|
}
|
|
62044
|
-
return
|
|
62041
|
+
return he === 0 ? ie : he === ie.length ? null : (At = ie.slice(he), At.byteLength = Ye, At.duration = it, At.nalCount = Ie, At.pts = At[0].pts, At.dts = At[0].dts, At);
|
|
62045
62042
|
}, this.alignGopsAtEnd_ = function(ie) {
|
|
62046
|
-
var le,
|
|
62047
|
-
for (le = R.length - 1,
|
|
62048
|
-
if (pe = R[le], ke = ie[
|
|
62043
|
+
var le, he, pe, ke, Ye, Ie;
|
|
62044
|
+
for (le = R.length - 1, he = ie.length - 1, Ye = null, Ie = !1; le >= 0 && he >= 0; ) {
|
|
62045
|
+
if (pe = R[le], ke = ie[he], pe.pts === ke.pts) {
|
|
62049
62046
|
Ie = !0;
|
|
62050
62047
|
break;
|
|
62051
62048
|
}
|
|
@@ -62053,12 +62050,12 @@ browserWorkerPolyFill(self);
|
|
|
62053
62050
|
le--;
|
|
62054
62051
|
continue;
|
|
62055
62052
|
}
|
|
62056
|
-
le === R.length - 1 && (Ye =
|
|
62053
|
+
le === R.length - 1 && (Ye = he), he--;
|
|
62057
62054
|
}
|
|
62058
62055
|
if (!Ie && Ye === null)
|
|
62059
62056
|
return null;
|
|
62060
62057
|
var it;
|
|
62061
|
-
if (Ie ? it =
|
|
62058
|
+
if (Ie ? it = he : it = Ye, it === 0)
|
|
62062
62059
|
return ie;
|
|
62063
62060
|
var At = ie.slice(it), mn = At.reduce(function(ua, Ri) {
|
|
62064
62061
|
return ua.byteLength += Ri.byteLength, ua.duration += Ri.duration, ua.nalCount += Ri.nalCount, ua;
|
|
@@ -62213,8 +62210,8 @@ browserWorkerPolyFill(self);
|
|
|
62213
62210
|
version: C[0],
|
|
62214
62211
|
flags: new Uint8Array(C.subarray(1, 4)),
|
|
62215
62212
|
trackId: M.getUint32(4)
|
|
62216
|
-
}, Q = O.flags[2] & 1, R = O.flags[2] & 2, Y = O.flags[2] & 8, ne = O.flags[2] & 16, ie = O.flags[2] & 32, le = O.flags[0] & 65536,
|
|
62217
|
-
return pe = 8, Q && (pe += 4, O.baseDataOffset = M.getUint32(12), pe += 4), R && (O.sampleDescriptionIndex = M.getUint32(pe), pe += 4), Y && (O.defaultSampleDuration = M.getUint32(pe), pe += 4), ne && (O.defaultSampleSize = M.getUint32(pe), pe += 4), ie && (O.defaultSampleFlags = M.getUint32(pe)), le && (O.durationIsEmpty = !0), !Q &&
|
|
62213
|
+
}, Q = O.flags[2] & 1, R = O.flags[2] & 2, Y = O.flags[2] & 8, ne = O.flags[2] & 16, ie = O.flags[2] & 32, le = O.flags[0] & 65536, he = O.flags[0] & 131072, pe;
|
|
62214
|
+
return pe = 8, Q && (pe += 4, O.baseDataOffset = M.getUint32(12), pe += 4), R && (O.sampleDescriptionIndex = M.getUint32(pe), pe += 4), Y && (O.defaultSampleDuration = M.getUint32(pe), pe += 4), ne && (O.defaultSampleSize = M.getUint32(pe), pe += 4), ie && (O.defaultSampleFlags = M.getUint32(pe)), le && (O.durationIsEmpty = !0), !Q && he && (O.baseDataOffsetIsMoof = !0), O;
|
|
62218
62215
|
}, jf = mw, Aw = function(C) {
|
|
62219
62216
|
return {
|
|
62220
62217
|
isLeading: (C[0] & 12) >>> 2,
|
|
@@ -62230,10 +62227,10 @@ browserWorkerPolyFill(self);
|
|
|
62230
62227
|
version: C[0],
|
|
62231
62228
|
flags: new Uint8Array(C.subarray(1, 4)),
|
|
62232
62229
|
samples: []
|
|
62233
|
-
}, O = new DataView(C.buffer, C.byteOffset, C.byteLength), Q = M.flags[2] & 1, R = M.flags[2] & 4, Y = M.flags[1] & 1, ne = M.flags[1] & 2, ie = M.flags[1] & 4, le = M.flags[1] & 8,
|
|
62234
|
-
for (Q && (M.dataOffset = O.getInt32(pe), pe += 4), R &&
|
|
62230
|
+
}, O = new DataView(C.buffer, C.byteOffset, C.byteLength), Q = M.flags[2] & 1, R = M.flags[2] & 4, Y = M.flags[1] & 1, ne = M.flags[1] & 2, ie = M.flags[1] & 4, le = M.flags[1] & 8, he = O.getUint32(4), pe = 8, ke;
|
|
62231
|
+
for (Q && (M.dataOffset = O.getInt32(pe), pe += 4), R && he && (ke = {
|
|
62235
62232
|
flags: Yf(C.subarray(pe, pe + 4))
|
|
62236
|
-
}, pe += 4, Y && (ke.duration = O.getUint32(pe), pe += 4), ne && (ke.size = O.getUint32(pe), pe += 4), le && (M.version === 1 ? ke.compositionTimeOffset = O.getInt32(pe) : ke.compositionTimeOffset = O.getUint32(pe), pe += 4), M.samples.push(ke),
|
|
62233
|
+
}, pe += 4, Y && (ke.duration = O.getUint32(pe), pe += 4), ne && (ke.size = O.getUint32(pe), pe += 4), le && (M.version === 1 ? ke.compositionTimeOffset = O.getInt32(pe) : ke.compositionTimeOffset = O.getUint32(pe), pe += 4), M.samples.push(ke), he--); he--; )
|
|
62237
62234
|
ke = {}, Y && (ke.duration = O.getUint32(pe), pe += 4), ne && (ke.size = O.getUint32(pe), pe += 4), ie && (ke.flags = Yf(C.subarray(pe, pe + 4)), pe += 4), le && (M.version === 1 ? ke.compositionTimeOffset = O.getInt32(pe) : ke.compositionTimeOffset = O.getUint32(pe), pe += 4), M.samples.push(ke);
|
|
62238
62235
|
return M;
|
|
62239
62236
|
}, Gf = vw, qf = {
|
|
@@ -62249,14 +62246,14 @@ browserWorkerPolyFill(self);
|
|
|
62249
62246
|
}, yw = {
|
|
62250
62247
|
uint8ToCString: ww
|
|
62251
62248
|
}, Dr = yw.uint8ToCString, bw = o.getUint64, Cw = function(C) {
|
|
62252
|
-
var M = 4, O = C[0], Q, R, Y, ne, ie, le,
|
|
62249
|
+
var M = 4, O = C[0], Q, R, Y, ne, ie, le, he, pe;
|
|
62253
62250
|
if (O === 0) {
|
|
62254
62251
|
Q = Dr(C.subarray(M)), M += Q.length, R = Dr(C.subarray(M)), M += R.length;
|
|
62255
62252
|
var ke = new DataView(C.buffer);
|
|
62256
|
-
Y = ke.getUint32(M), M += 4, ie = ke.getUint32(M), M += 4, le = ke.getUint32(M), M += 4,
|
|
62253
|
+
Y = ke.getUint32(M), M += 4, ie = ke.getUint32(M), M += 4, le = ke.getUint32(M), M += 4, he = ke.getUint32(M), M += 4;
|
|
62257
62254
|
} else if (O === 1) {
|
|
62258
62255
|
var ke = new DataView(C.buffer);
|
|
62259
|
-
Y = ke.getUint32(M), M += 4, ne = bw(C.subarray(M)), M += 8, le = ke.getUint32(M), M += 4,
|
|
62256
|
+
Y = ke.getUint32(M), M += 4, ne = bw(C.subarray(M)), M += 8, le = ke.getUint32(M), M += 4, he = ke.getUint32(M), M += 4, Q = Dr(C.subarray(M)), M += Q.length, R = Dr(C.subarray(M)), M += R.length;
|
|
62260
62257
|
}
|
|
62261
62258
|
pe = new Uint8Array(C.subarray(M, C.byteLength));
|
|
62262
62259
|
var Ye = {
|
|
@@ -62267,7 +62264,7 @@ browserWorkerPolyFill(self);
|
|
|
62267
62264
|
presentation_time: ne,
|
|
62268
62265
|
presentation_time_delta: ie,
|
|
62269
62266
|
event_duration: le,
|
|
62270
|
-
id:
|
|
62267
|
+
id: he,
|
|
62271
62268
|
message_data: pe
|
|
62272
62269
|
};
|
|
62273
62270
|
return Bw(O, Ye) ? Ye : void 0;
|
|
@@ -62287,15 +62284,15 @@ browserWorkerPolyFill(self);
|
|
|
62287
62284
|
Jf = function(C) {
|
|
62288
62285
|
var M = {}, O = en(C, ["moov", "trak"]);
|
|
62289
62286
|
return O.reduce(function(Q, R) {
|
|
62290
|
-
var Y, ne, ie, le,
|
|
62291
|
-
return Y = en(R, ["tkhd"])[0], !Y || (ne = Y[0], ie = ne === 0 ? 12 : 20, le = Er(Y[ie] << 24 | Y[ie + 1] << 16 | Y[ie + 2] << 8 | Y[ie + 3]),
|
|
62287
|
+
var Y, ne, ie, le, he;
|
|
62288
|
+
return Y = en(R, ["tkhd"])[0], !Y || (ne = Y[0], ie = ne === 0 ? 12 : 20, le = Er(Y[ie] << 24 | Y[ie + 1] << 16 | Y[ie + 2] << 8 | Y[ie + 3]), he = en(R, ["mdia", "mdhd"])[0], !he) ? null : (ne = he[0], ie = ne === 0 ? 12 : 20, Q[le] = Er(he[ie] << 24 | he[ie + 1] << 16 | he[ie + 2] << 8 | he[ie + 3]), Q);
|
|
62292
62289
|
}, M);
|
|
62293
62290
|
}, Zf = function(C, M) {
|
|
62294
62291
|
var O;
|
|
62295
62292
|
O = en(M, ["moof", "traf"]);
|
|
62296
62293
|
var Q = O.reduce(function(R, Y) {
|
|
62297
|
-
var ne = en(Y, ["tfhd"])[0], ie = Er(ne[4] << 24 | ne[5] << 16 | ne[6] << 8 | ne[7]), le = C[ie] || 9e4,
|
|
62298
|
-
|
|
62294
|
+
var ne = en(Y, ["tfhd"])[0], ie = Er(ne[4] << 24 | ne[5] << 16 | ne[6] << 8 | ne[7]), le = C[ie] || 9e4, he = en(Y, ["tfdt"])[0], pe = new DataView(he.buffer, he.byteOffset, he.byteLength), ke;
|
|
62295
|
+
he[0] === 1 ? ke = Tw(he.subarray(4, 12)) : ke = pe.getUint32(4);
|
|
62299
62296
|
let Ye;
|
|
62300
62297
|
return typeof ke == "bigint" ? Ye = ke / Du.BigInt(le) : typeof ke == "number" && !isNaN(ke) && (Ye = ke / le), Ye < Number.MAX_SAFE_INTEGER && (Ye = Number(Ye)), Ye < R && (R = Ye), R;
|
|
62301
62298
|
}, 1 / 0);
|
|
@@ -62305,8 +62302,8 @@ browserWorkerPolyFill(self);
|
|
|
62305
62302
|
if (O && O.length) {
|
|
62306
62303
|
var ne = en(O[0], ["tfhd"])[0], ie = en(O[0], ["trun"])[0], le = en(O[0], ["tfdt"])[0];
|
|
62307
62304
|
if (ne) {
|
|
62308
|
-
var
|
|
62309
|
-
Y =
|
|
62305
|
+
var he = Ew(ne);
|
|
62306
|
+
Y = he.trackId;
|
|
62310
62307
|
}
|
|
62311
62308
|
if (le) {
|
|
62312
62309
|
var pe = Pw(le);
|
|
@@ -62326,8 +62323,8 @@ browserWorkerPolyFill(self);
|
|
|
62326
62323
|
return M.forEach(function(Q) {
|
|
62327
62324
|
var R = en(Q, ["mdia", "hdlr"]), Y = en(Q, ["tkhd"]);
|
|
62328
62325
|
R.forEach(function(ne, ie) {
|
|
62329
|
-
var le = Ns(ne.subarray(8, 12)),
|
|
62330
|
-
le === "vide" && (pe = new DataView(
|
|
62326
|
+
var le = Ns(ne.subarray(8, 12)), he = Y[ie], pe, ke, Ye;
|
|
62327
|
+
le === "vide" && (pe = new DataView(he.buffer, he.byteOffset, he.byteLength), ke = pe.getUint8(0), Ye = ke === 0 ? pe.getUint32(12) : pe.getUint32(20), O.push(Ye));
|
|
62331
62328
|
});
|
|
62332
62329
|
}), O;
|
|
62333
62330
|
}, Bu = function(C) {
|
|
@@ -62340,8 +62337,8 @@ browserWorkerPolyFill(self);
|
|
|
62340
62337
|
Y && (ne = new DataView(Y.buffer, Y.byteOffset, Y.byteLength), ie = ne.getUint8(0), R.id = ie === 0 ? ne.getUint32(12) : ne.getUint32(20));
|
|
62341
62338
|
var le = en(Q, ["mdia", "hdlr"])[0];
|
|
62342
62339
|
if (le) {
|
|
62343
|
-
var
|
|
62344
|
-
|
|
62340
|
+
var he = Ns(le.subarray(8, 12));
|
|
62341
|
+
he === "vide" ? R.type = "video" : he === "soun" ? R.type = "audio" : R.type = he;
|
|
62345
62342
|
}
|
|
62346
62343
|
var pe = en(Q, ["mdia", "minf", "stbl", "stsd"])[0];
|
|
62347
62344
|
if (pe) {
|
|
@@ -62393,7 +62390,7 @@ browserWorkerPolyFill(self);
|
|
|
62393
62390
|
}, Vw = function(C, M, O) {
|
|
62394
62391
|
var Q = M, R = O.defaultSampleDuration || 0, Y = O.defaultSampleSize || 0, ne = O.trackId, ie = [];
|
|
62395
62392
|
return C.forEach(function(le) {
|
|
62396
|
-
var
|
|
62393
|
+
var he = Sw(le), pe = he.samples;
|
|
62397
62394
|
pe.forEach(function(ke) {
|
|
62398
62395
|
ke.duration === void 0 && (ke.duration = R), ke.size === void 0 && (ke.size = Y), ke.trackId = ne, ke.dts = Q, ke.compositionTimeOffset === void 0 && (ke.compositionTimeOffset = 0), typeof Q == "bigint" ? (ke.pts = Q + am.BigInt(ke.compositionTimeOffset), Q += am.BigInt(ke.duration)) : (ke.pts = Q + ke.compositionTimeOffset, Q += ke.duration);
|
|
62399
62396
|
}), ie = ie.concat(pe);
|
|
@@ -62421,12 +62418,12 @@ browserWorkerPolyFill(self);
|
|
|
62421
62418
|
if (ie = Q.getUint32(ne), ne += 4, !(ie <= 0))
|
|
62422
62419
|
switch (C[ne] & 31) {
|
|
62423
62420
|
case 6:
|
|
62424
|
-
var
|
|
62421
|
+
var he = C.subarray(ne + 1, ne + 1 + ie), pe = Rw(ne, M);
|
|
62425
62422
|
if (Y = {
|
|
62426
62423
|
nalUnitType: "sei_rbsp",
|
|
62427
62424
|
size: ie,
|
|
62428
|
-
data:
|
|
62429
|
-
escapedRBSP: Lw(
|
|
62425
|
+
data: he,
|
|
62426
|
+
escapedRBSP: Lw(he),
|
|
62430
62427
|
trackId: O
|
|
62431
62428
|
}, pe)
|
|
62432
62429
|
Y.pts = pe.pts, Y.dts = pe.dts, le = pe;
|
|
@@ -62446,11 +62443,11 @@ browserWorkerPolyFill(self);
|
|
|
62446
62443
|
}, zw = function(C, M) {
|
|
62447
62444
|
var O = {}, Q = Fw(C);
|
|
62448
62445
|
return Q.forEach(function(R) {
|
|
62449
|
-
var Y = R.mdat, ne = R.traf, ie = Eu(ne, ["tfhd"]), le = Uw(ie[0]),
|
|
62450
|
-
M ===
|
|
62446
|
+
var Y = R.mdat, ne = R.traf, ie = Eu(ne, ["tfhd"]), le = Uw(ie[0]), he = le.trackId, pe = Eu(ne, ["tfdt"]), ke = pe.length > 0 ? Ow(pe[0]).baseMediaDecodeTime : 0, Ye = Eu(ne, ["trun"]), Ie, it;
|
|
62447
|
+
M === he && Ye.length > 0 && (Ie = Hw(Ye, ke, le), it = Nw(Y, Ie, he), O[he] || (O[he] = {
|
|
62451
62448
|
seiNals: [],
|
|
62452
62449
|
logs: []
|
|
62453
|
-
}), O[
|
|
62450
|
+
}), O[he].seiNals = O[he].seiNals.concat(it.seiNals), O[he].logs = O[he].logs.concat(it.logs));
|
|
62454
62451
|
}), O;
|
|
62455
62452
|
}, jw = function(C, M, O) {
|
|
62456
62453
|
var Q;
|
|
@@ -62475,19 +62472,19 @@ browserWorkerPolyFill(self);
|
|
|
62475
62472
|
});
|
|
62476
62473
|
}, this.isNewInit = function(ie, le) {
|
|
62477
62474
|
return ie && ie.length === 0 || le && typeof le == "object" && Object.keys(le).length === 0 ? !1 : Q !== ie[0] || R !== le[Q];
|
|
62478
|
-
}, this.parse = function(ie, le,
|
|
62475
|
+
}, this.parse = function(ie, le, he) {
|
|
62479
62476
|
var pe;
|
|
62480
62477
|
if (this.isInitialized()) {
|
|
62481
|
-
if (!le || !
|
|
62478
|
+
if (!le || !he)
|
|
62482
62479
|
return null;
|
|
62483
|
-
if (this.isNewInit(le,
|
|
62484
|
-
Q = le[0], R =
|
|
62480
|
+
if (this.isNewInit(le, he))
|
|
62481
|
+
Q = le[0], R = he[Q];
|
|
62485
62482
|
else if (Q === null || !R)
|
|
62486
62483
|
return O.push(ie), null;
|
|
62487
62484
|
} else return null;
|
|
62488
62485
|
for (; O.length > 0; ) {
|
|
62489
62486
|
var ke = O.shift();
|
|
62490
|
-
this.parse(ke, le,
|
|
62487
|
+
this.parse(ke, le, he);
|
|
62491
62488
|
}
|
|
62492
62489
|
return pe = jw(ie, Q, R), pe && pe.logs && (Y.logs = Y.logs.concat(pe.logs)), pe === null || !pe.seiNals ? Y.logs.length ? {
|
|
62493
62490
|
logs: Y.logs,
|
|
@@ -62538,9 +62535,9 @@ browserWorkerPolyFill(self);
|
|
|
62538
62535
|
const O = [], Q = Xw(M);
|
|
62539
62536
|
let R = 0;
|
|
62540
62537
|
return Q.forEach(function(Y) {
|
|
62541
|
-
const ne = Y.mdat, ie = Y.traf, le = Hi(ie, ["tfdt"])[0],
|
|
62542
|
-
if (le && (R = qw(le).baseMediaDecodeTime), pe.length &&
|
|
62543
|
-
const ke = Ww(pe, R,
|
|
62538
|
+
const ne = Y.mdat, ie = Y.traf, le = Hi(ie, ["tfdt"])[0], he = Hi(ie, ["tfhd"])[0], pe = Hi(ie, ["trun"]);
|
|
62539
|
+
if (le && (R = qw(le).baseMediaDecodeTime), pe.length && he) {
|
|
62540
|
+
const ke = Ww(pe, R, he);
|
|
62544
62541
|
let Ye = 0;
|
|
62545
62542
|
ke.forEach(function(Ie) {
|
|
62546
62543
|
const it = "utf-8", At = new TextDecoder(it), mn = ne.slice(Ye, Ye + Ie.size);
|
|
@@ -62699,11 +62696,11 @@ browserWorkerPolyFill(self);
|
|
|
62699
62696
|
O++, Q++;
|
|
62700
62697
|
}
|
|
62701
62698
|
}, rm = function(C, M, O) {
|
|
62702
|
-
for (var Q = 0, R = Vn, Y, ne, ie, le,
|
|
62699
|
+
for (var Q = 0, R = Vn, Y, ne, ie, le, he, pe = !1; R <= C.byteLength; ) {
|
|
62703
62700
|
if (C[Q] === Ya && (C[R] === Ya || R === C.byteLength)) {
|
|
62704
62701
|
switch (Y = C.subarray(Q, R), ne = Lt.ts.parseType(Y, M.pid), ne) {
|
|
62705
62702
|
case "pes":
|
|
62706
|
-
ie = Lt.ts.parsePesType(Y, M.table), le = Lt.ts.parsePayloadUnitStartIndicator(Y), ie === "audio" && le && (
|
|
62703
|
+
ie = Lt.ts.parsePesType(Y, M.table), le = Lt.ts.parsePayloadUnitStartIndicator(Y), ie === "audio" && le && (he = Lt.ts.parsePesTime(Y), he && (he.type = "audio", O.audio.push(he), pe = !0));
|
|
62707
62704
|
break;
|
|
62708
62705
|
}
|
|
62709
62706
|
if (pe)
|
|
@@ -62717,7 +62714,7 @@ browserWorkerPolyFill(self);
|
|
|
62717
62714
|
if (C[Q] === Ya && (C[R] === Ya || R === C.byteLength)) {
|
|
62718
62715
|
switch (Y = C.subarray(Q, R), ne = Lt.ts.parseType(Y, M.pid), ne) {
|
|
62719
62716
|
case "pes":
|
|
62720
|
-
ie = Lt.ts.parsePesType(Y, M.table), le = Lt.ts.parsePayloadUnitStartIndicator(Y), ie === "audio" && le && (
|
|
62717
|
+
ie = Lt.ts.parsePesType(Y, M.table), le = Lt.ts.parsePayloadUnitStartIndicator(Y), ie === "audio" && le && (he = Lt.ts.parsePesTime(Y), he && (he.type = "audio", O.audio.push(he), pe = !0));
|
|
62721
62718
|
break;
|
|
62722
62719
|
}
|
|
62723
62720
|
if (pe)
|
|
@@ -62728,14 +62725,14 @@ browserWorkerPolyFill(self);
|
|
|
62728
62725
|
Q--, R--;
|
|
62729
62726
|
}
|
|
62730
62727
|
}, iy = function(C, M, O) {
|
|
62731
|
-
for (var Q = 0, R = Vn, Y, ne, ie, le,
|
|
62728
|
+
for (var Q = 0, R = Vn, Y, ne, ie, le, he, pe, ke, Ye, Ie = !1, it = {
|
|
62732
62729
|
data: [],
|
|
62733
62730
|
size: 0
|
|
62734
62731
|
}; R < C.byteLength; ) {
|
|
62735
62732
|
if (C[Q] === Ya && C[R] === Ya) {
|
|
62736
62733
|
switch (Y = C.subarray(Q, R), ne = Lt.ts.parseType(Y, M.pid), ne) {
|
|
62737
62734
|
case "pes":
|
|
62738
|
-
if (ie = Lt.ts.parsePesType(Y, M.table), le = Lt.ts.parsePayloadUnitStartIndicator(Y), ie === "video" && (le && !Ie && (
|
|
62735
|
+
if (ie = Lt.ts.parsePesType(Y, M.table), le = Lt.ts.parsePayloadUnitStartIndicator(Y), ie === "video" && (le && !Ie && (he = Lt.ts.parsePesTime(Y), he && (he.type = "video", O.video.push(he), Ie = !0)), !O.firstKeyFrame)) {
|
|
62739
62736
|
if (le && it.size !== 0) {
|
|
62740
62737
|
for (pe = new Uint8Array(it.size), ke = 0; it.data.length; )
|
|
62741
62738
|
Ye = it.data.shift(), pe.set(Ye, ke), ke += Ye.byteLength;
|
|
@@ -62760,7 +62757,7 @@ browserWorkerPolyFill(self);
|
|
|
62760
62757
|
if (C[Q] === Ya && C[R] === Ya) {
|
|
62761
62758
|
switch (Y = C.subarray(Q, R), ne = Lt.ts.parseType(Y, M.pid), ne) {
|
|
62762
62759
|
case "pes":
|
|
62763
|
-
ie = Lt.ts.parsePesType(Y, M.table), le = Lt.ts.parsePayloadUnitStartIndicator(Y), ie === "video" && le && (
|
|
62760
|
+
ie = Lt.ts.parsePesType(Y, M.table), le = Lt.ts.parsePayloadUnitStartIndicator(Y), ie === "video" && le && (he = Lt.ts.parsePesTime(Y), he && (he.type = "video", O.video.push(he), Ie = !0));
|
|
62764
62761
|
break;
|
|
62765
62762
|
}
|
|
62766
62763
|
if (Ie)
|
|
@@ -62821,15 +62818,15 @@ browserWorkerPolyFill(self);
|
|
|
62821
62818
|
}
|
|
62822
62819
|
if (Q === null || R === null)
|
|
62823
62820
|
return null;
|
|
62824
|
-
var
|
|
62821
|
+
var he = rs / Q, pe = {
|
|
62825
62822
|
audio: [{
|
|
62826
62823
|
type: "audio",
|
|
62827
62824
|
dts: R,
|
|
62828
62825
|
pts: R
|
|
62829
62826
|
}, {
|
|
62830
62827
|
type: "audio",
|
|
62831
|
-
dts: R + O * 1024 *
|
|
62832
|
-
pts: R + O * 1024 *
|
|
62828
|
+
dts: R + O * 1024 * he,
|
|
62829
|
+
pts: R + O * 1024 * he
|
|
62833
62830
|
}]
|
|
62834
62831
|
};
|
|
62835
62832
|
return pe;
|
|
@@ -67333,9 +67330,9 @@ const Gue = $v(e2(function() {
|
|
|
67333
67330
|
let B = x ^ k[0], V = D ^ k[1], F = T ^ k[2], L = E ^ k[3], H, j, N;
|
|
67334
67331
|
const K = k.length / 4 - 2;
|
|
67335
67332
|
let _, $ = 4;
|
|
67336
|
-
const ae = this._tables[1], fe = ae[0], X = ae[1], J = ae[2],
|
|
67333
|
+
const ae = this._tables[1], fe = ae[0], X = ae[1], J = ae[2], ge = ae[3], Z = ae[4];
|
|
67337
67334
|
for (_ = 0; _ < K; _++)
|
|
67338
|
-
H = fe[B >>> 24] ^ X[V >> 16 & 255] ^ J[F >> 8 & 255] ^
|
|
67335
|
+
H = fe[B >>> 24] ^ X[V >> 16 & 255] ^ J[F >> 8 & 255] ^ ge[L & 255] ^ k[$], j = fe[V >>> 24] ^ X[F >> 16 & 255] ^ J[L >> 8 & 255] ^ ge[B & 255] ^ k[$ + 1], N = fe[F >>> 24] ^ X[L >> 16 & 255] ^ J[B >> 8 & 255] ^ ge[V & 255] ^ k[$ + 2], L = fe[L >>> 24] ^ X[B >> 16 & 255] ^ J[V >> 8 & 255] ^ ge[F & 255] ^ k[$ + 3], $ += 4, B = H, V = j, F = N;
|
|
67339
67336
|
for (_ = 0; _ < 4; _++)
|
|
67340
67337
|
b[(3 & -_) + S] = Z[B >>> 24] << 24 ^ Z[V >> 16 & 255] << 16 ^ Z[F >> 8 & 255] << 8 ^ Z[L & 255] ^ k[$++], H = B, B = V, V = F, F = L, L = H;
|
|
67341
67338
|
}
|
|
@@ -71152,7 +71149,7 @@ const she = /* @__PURE__ */ me(the, [["render", ihe], ["__scopeId", "data-v-c5a2
|
|
|
71152
71149
|
return Ce ? window.getComputedStyle(Ce, null).getPropertyValue("padding-right").split("px")[0] * 2 : 24;
|
|
71153
71150
|
}), $ = W(() => !1);
|
|
71154
71151
|
Ne(a, () => {
|
|
71155
|
-
J(),
|
|
71152
|
+
J(), ge();
|
|
71156
71153
|
}), Ne(
|
|
71157
71154
|
() => s.currentIdx,
|
|
71158
71155
|
(Ce, Se) => {
|
|
@@ -71161,7 +71158,7 @@ const she = /* @__PURE__ */ me(the, [["render", ihe], ["__scopeId", "data-v-c5a2
|
|
|
71161
71158
|
), Ne(
|
|
71162
71159
|
() => s.tabList,
|
|
71163
71160
|
(Ce, Se) => {
|
|
71164
|
-
|
|
71161
|
+
ge(), Ue(() => {
|
|
71165
71162
|
ae(0);
|
|
71166
71163
|
});
|
|
71167
71164
|
},
|
|
@@ -71169,7 +71166,7 @@ const she = /* @__PURE__ */ me(the, [["render", ihe], ["__scopeId", "data-v-c5a2
|
|
|
71169
71166
|
), Ne(
|
|
71170
71167
|
() => s.isFixed,
|
|
71171
71168
|
() => {
|
|
71172
|
-
a.value > 1200 && J(), Ue(
|
|
71169
|
+
a.value > 1200 && J(), Ue(ge);
|
|
71173
71170
|
}
|
|
71174
71171
|
);
|
|
71175
71172
|
const ae = (Ce) => {
|
|
@@ -71187,7 +71184,7 @@ const she = /* @__PURE__ */ me(the, [["render", ihe], ["__scopeId", "data-v-c5a2
|
|
|
71187
71184
|
Ce && Ce[s.currentIdx] && (Se = Ce[s.currentIdx]), Se && Se.getBoundingClientRect && (u.value = Se.getBoundingClientRect().left);
|
|
71188
71185
|
}, J = () => {
|
|
71189
71186
|
x.value = !1, Ue(() => ae(0)), Ue(Z);
|
|
71190
|
-
},
|
|
71187
|
+
}, ge = () => {
|
|
71191
71188
|
const Ce = c.value;
|
|
71192
71189
|
if (Ce) {
|
|
71193
71190
|
let Se = Ce.getBoundingClientRect().left;
|
|
@@ -71212,7 +71209,7 @@ const she = /* @__PURE__ */ me(the, [["render", ihe], ["__scopeId", "data-v-c5a2
|
|
|
71212
71209
|
}, Ve = (Ce) => Ce && s.isPreview ? Ce.includes("http") ? "a" : "RouterLink" : "button", Le = (Ce) => Ce && !Ce.includes("http") ? Ce : null, Xe = (Ce) => Ce && Ce.includes("http") ? Ce : null, Je = (Ce) => Ce && Ce.includes("http") ? "_blank" : null;
|
|
71213
71210
|
return at(() => {
|
|
71214
71211
|
T.value = !0, Ue(() => {
|
|
71215
|
-
ae(0), k.value = setTimeout(J, 300),
|
|
71212
|
+
ae(0), k.value = setTimeout(J, 300), ge(), Ue(() => {
|
|
71216
71213
|
B.value = setTimeout(oe, 300);
|
|
71217
71214
|
});
|
|
71218
71215
|
});
|
|
@@ -71656,57 +71653,57 @@ const she = /* @__PURE__ */ me(the, [["render", ihe], ["__scopeId", "data-v-c5a2
|
|
|
71656
71653
|
emits: ["update:modelValue", "handleDelete", "handleCopy", "handlePaste", "handleClick"],
|
|
71657
71654
|
setup(t, { emit: e }) {
|
|
71658
71655
|
const n = e, a = W(() => {
|
|
71659
|
-
var
|
|
71660
|
-
return c.isPreview ? !0 : (
|
|
71656
|
+
var ge, Z;
|
|
71657
|
+
return c.isPreview ? !0 : (ge = c.modelValue) != null && ge.onlyShowPc ? !Ee() : (Z = c.modelValue) != null && Z.onlyShowMobile ? Ee() : !0;
|
|
71661
71658
|
}), { proxy: i } = ya(), { $_vsWidth: o, $_vsScrollY: r, $vsScreenAddListener: s, $vsScreenDestroyListener: d } = i, c = t;
|
|
71662
71659
|
Be(c.locale);
|
|
71663
|
-
const f = U(0), y = U(!1), p = U(!0), u = U(null), A = U(null), m = U(!1), x = U(!1), E = (
|
|
71664
|
-
if (!
|
|
71665
|
-
const Z =
|
|
71660
|
+
const f = U(0), y = U(!1), p = U(!0), u = U(null), A = U(null), m = U(!1), x = U(!1), E = (ge) => {
|
|
71661
|
+
if (!ge) return { top: 0, left: 0 };
|
|
71662
|
+
const Z = ge.getBoundingClientRect(), ee = window.pageYOffset || document.documentElement.scrollTop, oe = window.pageXOffset || document.documentElement.scrollLeft;
|
|
71666
71663
|
return {
|
|
71667
71664
|
top: Z.top + ee,
|
|
71668
71665
|
left: Z.left + oe
|
|
71669
71666
|
};
|
|
71670
71667
|
}, T = W(() => {
|
|
71671
|
-
var
|
|
71672
|
-
return ((
|
|
71668
|
+
var ge;
|
|
71669
|
+
return ((ge = c.modelValue) == null ? void 0 : ge.classes) ?? null;
|
|
71673
71670
|
});
|
|
71674
71671
|
W(() => {
|
|
71675
|
-
var
|
|
71676
|
-
return ((
|
|
71672
|
+
var ge;
|
|
71673
|
+
return ((ge = c.modelValue) == null ? void 0 : ge.style) ?? null;
|
|
71677
71674
|
}), W(() => {
|
|
71678
|
-
var
|
|
71679
|
-
return ((
|
|
71675
|
+
var ge;
|
|
71676
|
+
return ((ge = c.modelValue) == null ? void 0 : ge.type) ?? "TabPrimary";
|
|
71680
71677
|
});
|
|
71681
71678
|
const D = W(() => {
|
|
71682
|
-
var
|
|
71683
|
-
return ((
|
|
71679
|
+
var ge;
|
|
71680
|
+
return ((ge = c.modelValue) == null ? void 0 : ge.listAbove) ?? [];
|
|
71684
71681
|
}), b = W(() => {
|
|
71685
|
-
var
|
|
71686
|
-
return ((
|
|
71682
|
+
var ge;
|
|
71683
|
+
return ((ge = c.modelValue) == null ? void 0 : ge.data) ?? [];
|
|
71687
71684
|
}), S = W(() => {
|
|
71688
|
-
var
|
|
71689
|
-
return ((
|
|
71685
|
+
var ge;
|
|
71686
|
+
return ((ge = c.modelValue) == null ? void 0 : ge.fixed) ?? !0;
|
|
71690
71687
|
}), k = W(() => {
|
|
71691
|
-
var
|
|
71692
|
-
return ((
|
|
71688
|
+
var ge;
|
|
71689
|
+
return ((ge = c.modelValue) == null ? void 0 : ge.resetToTop) ?? !0;
|
|
71693
71690
|
}), B = W(() => {
|
|
71694
|
-
var
|
|
71695
|
-
return ((
|
|
71691
|
+
var ge;
|
|
71692
|
+
return ((ge = c.modelValue) == null ? void 0 : ge.scrollToTop) ?? !0;
|
|
71696
71693
|
}), V = W(() => {
|
|
71697
|
-
var
|
|
71698
|
-
return ((
|
|
71694
|
+
var ge;
|
|
71695
|
+
return ((ge = c.modelValue) == null ? void 0 : ge.fullWidth) ?? !1;
|
|
71699
71696
|
});
|
|
71700
71697
|
W(() => 0), W(() => !1);
|
|
71701
|
-
const F = W(() => b.value.some((
|
|
71702
|
-
var
|
|
71703
|
-
return ((
|
|
71698
|
+
const F = W(() => b.value.some((ge) => ge.img)), L = W(() => {
|
|
71699
|
+
var ge;
|
|
71700
|
+
return ((ge = b.value[f.value]) == null ? void 0 : ge.key) ?? null;
|
|
71704
71701
|
}), H = W(() => {
|
|
71705
71702
|
var Z;
|
|
71706
71703
|
if (!((Z = c.modelValue) != null && Z.data) || !Array.isArray(c.modelValue.data))
|
|
71707
71704
|
return [];
|
|
71708
|
-
const
|
|
71709
|
-
return
|
|
71705
|
+
const ge = c.modelValue.data[f.value];
|
|
71706
|
+
return ge ? ge.componentsDataJson || [] : [];
|
|
71710
71707
|
}), j = U(""), N = () => {
|
|
71711
71708
|
var Z;
|
|
71712
71709
|
if (c.modelValue && c.modelValue.data) {
|
|
@@ -71718,7 +71715,7 @@ const she = /* @__PURE__ */ me(the, [["render", ihe], ["__scopeId", "data-v-c5a2
|
|
|
71718
71715
|
f.value = b.value.findIndex((Te) => Te.key === oe) || 0;
|
|
71719
71716
|
return;
|
|
71720
71717
|
}
|
|
71721
|
-
const
|
|
71718
|
+
const ge = {
|
|
71722
71719
|
id: ((Z = c.modelValue) == null ? void 0 : Z.id) || te(),
|
|
71723
71720
|
//componentKey
|
|
71724
71721
|
type: "TabPage",
|
|
@@ -71747,12 +71744,12 @@ const she = /* @__PURE__ */ me(the, [["render", ihe], ["__scopeId", "data-v-c5a2
|
|
|
71747
71744
|
}
|
|
71748
71745
|
]
|
|
71749
71746
|
};
|
|
71750
|
-
n("update:modelValue",
|
|
71747
|
+
n("update:modelValue", ge), f.value = 0;
|
|
71751
71748
|
}, K = () => {
|
|
71752
71749
|
var Ve, Le;
|
|
71753
|
-
const
|
|
71754
|
-
if (!
|
|
71755
|
-
const Z =
|
|
71750
|
+
const ge = A.value;
|
|
71751
|
+
if (!ge) return;
|
|
71752
|
+
const Z = ge.getBoundingClientRect().top, ee = u.value;
|
|
71756
71753
|
if (!ee) return;
|
|
71757
71754
|
const oe = ee.getBoundingClientRect().top, Te = +((Le = (Ve = window.getComputedStyle(document.body)) == null ? void 0 : Ve.getPropertyValue("--header-height-calc")) == null ? void 0 : Le.split("px")[0]) || 0;
|
|
71758
71755
|
if (oe > Te) {
|
|
@@ -71762,21 +71759,21 @@ const she = /* @__PURE__ */ me(the, [["render", ihe], ["__scopeId", "data-v-c5a2
|
|
|
71762
71759
|
Z <= Te && (y.value = !0);
|
|
71763
71760
|
}, _ = () => {
|
|
71764
71761
|
if (!B.value) return;
|
|
71765
|
-
let
|
|
71766
|
-
k.value || (
|
|
71767
|
-
}, $ = (
|
|
71768
|
-
sessionStorage.setItem(wge,
|
|
71769
|
-
}, ae = (
|
|
71762
|
+
let ge = 0;
|
|
71763
|
+
k.value || (ge = E(u.value).top - 170), window.scroll({ top: ge, left: 0, behavior: "smooth" });
|
|
71764
|
+
}, $ = (ge) => {
|
|
71765
|
+
sessionStorage.setItem(wge, ge);
|
|
71766
|
+
}, ae = (ge, Z) => {
|
|
71770
71767
|
debugger;
|
|
71771
|
-
n("handleDelete",
|
|
71772
|
-
}, fe = (
|
|
71768
|
+
n("handleDelete", ge || c.modelValue.id, Z);
|
|
71769
|
+
}, fe = (ge) => {
|
|
71773
71770
|
debugger;
|
|
71774
|
-
n("handleCopy",
|
|
71775
|
-
}, X = (
|
|
71771
|
+
n("handleCopy", ge || c.modelValue);
|
|
71772
|
+
}, X = (ge, Z, ee) => {
|
|
71776
71773
|
debugger;
|
|
71777
|
-
n("handlePaste",
|
|
71778
|
-
}, J = (
|
|
71779
|
-
n("handleClick",
|
|
71774
|
+
n("handlePaste", ge, Z, ee);
|
|
71775
|
+
}, J = (ge) => {
|
|
71776
|
+
n("handleClick", ge);
|
|
71780
71777
|
};
|
|
71781
71778
|
return Ne(
|
|
71782
71779
|
() => r.value,
|
|
@@ -71785,14 +71782,14 @@ const she = /* @__PURE__ */ me(the, [["render", ihe], ["__scopeId", "data-v-c5a2
|
|
|
71785
71782
|
}
|
|
71786
71783
|
), Ne(f, () => {
|
|
71787
71784
|
$(L.value), p.value && _(), p.value = !0;
|
|
71788
|
-
}), Ne(L, (
|
|
71789
|
-
|
|
71785
|
+
}), Ne(L, (ge) => {
|
|
71786
|
+
ge || (f.value = 0);
|
|
71790
71787
|
}), at(() => {
|
|
71791
71788
|
N(), Ue(K), setTimeout(() => {
|
|
71792
71789
|
Ue(K);
|
|
71793
71790
|
}, 200), setTimeout(() => {
|
|
71794
71791
|
}, 1e3);
|
|
71795
|
-
}), (
|
|
71792
|
+
}), (ge, Z) => {
|
|
71796
71793
|
var ee;
|
|
71797
71794
|
return a.value ? (w(), P("div", {
|
|
71798
71795
|
key: 0,
|
|
@@ -71998,7 +71995,7 @@ const she = /* @__PURE__ */ me(the, [["render", ihe], ["__scopeId", "data-v-c5a2
|
|
|
71998
71995
|
if (!Z) return;
|
|
71999
71996
|
const ee = Z.clientWidth / 2, oe = a.value / 2;
|
|
72000
71997
|
A.value = Z.getBoundingClientRect().right - ee, b.value && (b.value.scrollLeft -= oe - A.value);
|
|
72001
|
-
},
|
|
71998
|
+
}, ge = (Z) => {
|
|
72002
71999
|
d("updateCurrentIdx", Z);
|
|
72003
72000
|
};
|
|
72004
72001
|
return at(() => {
|
|
@@ -72038,7 +72035,7 @@ const she = /* @__PURE__ */ me(the, [["render", ihe], ["__scopeId", "data-v-c5a2
|
|
|
72038
72035
|
type: oe.link ? null : "button",
|
|
72039
72036
|
to: k(oe.link),
|
|
72040
72037
|
class: de(["tab-logo__btn", [{ "is-active": t.currentIdx == Te }]]),
|
|
72041
|
-
onClick: (Ve) =>
|
|
72038
|
+
onClick: (Ve) => ge(Te)
|
|
72042
72039
|
}, {
|
|
72043
72040
|
default: I(() => [
|
|
72044
72041
|
l("div", Cge, [
|
|
@@ -72335,9 +72332,9 @@ const she = /* @__PURE__ */ me(the, [["render", ihe], ["__scopeId", "data-v-c5a2
|
|
|
72335
72332
|
return c.isPreview ? !0 : (X = c.modelValue) != null && X.onlyShowPc ? !Ee() : (J = c.modelValue) != null && J.onlyShowMobile ? Ee() : !0;
|
|
72336
72333
|
}), { proxy: i } = ya(), { $_vsWidth: o, $_vsScrollY: r, $vsScreenAddListener: s, $vsScreenDestroyListener: d } = i, c = t, f = U(0), y = U(!1), p = U(!0), u = U(null), A = U(null), m = U(!1), x = U(!1), E = (X) => {
|
|
72337
72334
|
if (!X) return { top: 0, left: 0 };
|
|
72338
|
-
const J = X.getBoundingClientRect(),
|
|
72335
|
+
const J = X.getBoundingClientRect(), ge = window.pageYOffset || document.documentElement.scrollTop, Z = window.pageXOffset || document.documentElement.scrollLeft;
|
|
72339
72336
|
return {
|
|
72340
|
-
top: J.top +
|
|
72337
|
+
top: J.top + ge,
|
|
72341
72338
|
left: J.left + Z
|
|
72342
72339
|
};
|
|
72343
72340
|
}, T = W(() => {
|
|
@@ -72421,9 +72418,9 @@ const she = /* @__PURE__ */ me(the, [["render", ihe], ["__scopeId", "data-v-c5a2
|
|
|
72421
72418
|
var oe, Te;
|
|
72422
72419
|
const X = A.value;
|
|
72423
72420
|
if (!X) return;
|
|
72424
|
-
const J = X.getBoundingClientRect().top,
|
|
72425
|
-
if (!
|
|
72426
|
-
const Z =
|
|
72421
|
+
const J = X.getBoundingClientRect().top, ge = u.value;
|
|
72422
|
+
if (!ge) return;
|
|
72423
|
+
const Z = ge.getBoundingClientRect().top, ee = +((Te = (oe = window.getComputedStyle(document.body)) == null ? void 0 : oe.getPropertyValue("--header-height-calc")) == null ? void 0 : Te.split("px")[0]) || 0;
|
|
72427
72424
|
if (Z > ee) {
|
|
72428
72425
|
y.value = !1;
|
|
72429
72426
|
return;
|
|
@@ -72441,9 +72438,9 @@ const she = /* @__PURE__ */ me(the, [["render", ihe], ["__scopeId", "data-v-c5a2
|
|
|
72441
72438
|
}, $ = (X) => {
|
|
72442
72439
|
debugger;
|
|
72443
72440
|
n("handleCopy", X || c.modelValue);
|
|
72444
|
-
}, ae = (X, J,
|
|
72441
|
+
}, ae = (X, J, ge) => {
|
|
72445
72442
|
debugger;
|
|
72446
|
-
n("handlePaste", X, J,
|
|
72443
|
+
n("handlePaste", X, J, ge);
|
|
72447
72444
|
}, fe = (X) => {
|
|
72448
72445
|
n("handleClick", X);
|
|
72449
72446
|
};
|
|
@@ -72462,11 +72459,11 @@ const she = /* @__PURE__ */ me(the, [["render", ihe], ["__scopeId", "data-v-c5a2
|
|
|
72462
72459
|
}, 200), setTimeout(() => {
|
|
72463
72460
|
}, 1e3);
|
|
72464
72461
|
}), (X, J) => {
|
|
72465
|
-
var
|
|
72462
|
+
var ge;
|
|
72466
72463
|
return a.value ? (w(), P("div", {
|
|
72467
72464
|
key: 0,
|
|
72468
72465
|
class: de(["tab-page", T.value]),
|
|
72469
|
-
style: Oe({ backgroundColor: ((
|
|
72466
|
+
style: Oe({ backgroundColor: ((ge = t.modelValue) == null ? void 0 : ge.bgColor) || "transparent" }),
|
|
72470
72467
|
onMouseover: J[8] || (J[8] = (Z) => x.value = !0),
|
|
72471
72468
|
onMouseout: J[9] || (J[9] = (Z) => x.value = !1)
|
|
72472
72469
|
}, [
|
|
@@ -74531,7 +74528,7 @@ const Rfe = /* @__PURE__ */ Qs(Hfe), Nfe = { class: "setting-content" }, zfe = {
|
|
|
74531
74528
|
l("div", FAe, [
|
|
74532
74529
|
l("div", {
|
|
74533
74530
|
class: "drag-handle",
|
|
74534
|
-
onClick: (
|
|
74531
|
+
onClick: (ge) => E(J)
|
|
74535
74532
|
}, [
|
|
74536
74533
|
g(j, { style: { "margin-right": "10px" } }),
|
|
74537
74534
|
q(v(h(d)("setting.link")), 1)
|
|
@@ -74540,7 +74537,7 @@ const Rfe = /* @__PURE__ */ Qs(Hfe), Nfe = { class: "setting-content" }, zfe = {
|
|
|
74540
74537
|
g(N, { class: "icon_drag" }),
|
|
74541
74538
|
g(K, {
|
|
74542
74539
|
class: "btn-delete",
|
|
74543
|
-
onClick: Dt((
|
|
74540
|
+
onClick: Dt((ge) => b(X.id, J.id), ["stop"])
|
|
74544
74541
|
}, null, 8, ["onClick"])
|
|
74545
74542
|
])
|
|
74546
74543
|
]),
|
|
@@ -74550,14 +74547,14 @@ const Rfe = /* @__PURE__ */ Qs(Hfe), Nfe = { class: "setting-content" }, zfe = {
|
|
|
74550
74547
|
l("p", RAe, v(h(d)("setting.name")), 1),
|
|
74551
74548
|
g(_, {
|
|
74552
74549
|
modelValue: J.name,
|
|
74553
|
-
"onUpdate:modelValue": (
|
|
74550
|
+
"onUpdate:modelValue": (ge) => J.name = ge,
|
|
74554
74551
|
placeholder: h(d)("setting.input_name"),
|
|
74555
74552
|
"allow-clear": ""
|
|
74556
74553
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"]),
|
|
74557
74554
|
l("p", NAe, v(h(d)("setting.link_url")), 1),
|
|
74558
74555
|
g(_, {
|
|
74559
74556
|
modelValue: J.link,
|
|
74560
|
-
"onUpdate:modelValue": (
|
|
74557
|
+
"onUpdate:modelValue": (ge) => J.link = ge,
|
|
74561
74558
|
placeholder: h(d)("setting.input_link_url"),
|
|
74562
74559
|
"allow-clear": ""
|
|
74563
74560
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])
|
|
@@ -74858,7 +74855,7 @@ const Rfe = /* @__PURE__ */ Qs(Hfe), Nfe = { class: "setting-content" }, zfe = {
|
|
|
74858
74855
|
},
|
|
74859
74856
|
emits: ["update:show"],
|
|
74860
74857
|
setup(t, { emit: e }) {
|
|
74861
|
-
const n = Ze(() => import("vuedraggable")), a = Ze(() => import("./index-
|
|
74858
|
+
const n = Ze(() => import("vuedraggable")), a = Ze(() => import("./index-DFZmkHxJ.mjs")), i = U(!1), o = W(() => ({
|
|
74862
74859
|
animation: 200,
|
|
74863
74860
|
group: "gallerys",
|
|
74864
74861
|
disabled: !1,
|
|
@@ -75135,8 +75132,8 @@ const Rfe = /* @__PURE__ */ Qs(Hfe), Nfe = { class: "setting-content" }, zfe = {
|
|
|
75135
75132
|
x.value.forEach((ae) => {
|
|
75136
75133
|
ae && ae.querySelectorAll("a").forEach((X) => {
|
|
75137
75134
|
X.addEventListener("click", (J) => {
|
|
75138
|
-
const
|
|
75139
|
-
|
|
75135
|
+
const ge = J.target.getAttribute("href");
|
|
75136
|
+
ge && !ge.startsWith("http") && (J.preventDefault(), c("handleClick", ge));
|
|
75140
75137
|
});
|
|
75141
75138
|
});
|
|
75142
75139
|
});
|
|
@@ -75154,7 +75151,7 @@ const Rfe = /* @__PURE__ */ Qs(Hfe), Nfe = { class: "setting-content" }, zfe = {
|
|
|
75154
75151
|
l("div", {
|
|
75155
75152
|
class: de(["accordion-text__container", [(fe = t.modelValue) != null && fe.width ? `container-content-${(X = t.modelValue) == null ? void 0 : X.width}` : "container-content"]])
|
|
75156
75153
|
}, [
|
|
75157
|
-
(w(!0), P(ce, null, xe(B.value, (J,
|
|
75154
|
+
(w(!0), P(ce, null, xe(B.value, (J, ge) => (w(), P("div", {
|
|
75158
75155
|
key: J.key,
|
|
75159
75156
|
class: "accordion-item",
|
|
75160
75157
|
ref_for: !0,
|