@opendesign-plus-test/components 0.0.1-rc.141 → 0.0.1-rc.142
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/components/header-search/OHeaderSearch.vue.d.ts +2 -2
- package/dist/components/meeting/OMeetingSigCalendar.vue.d.ts +2 -1
- package/dist/components/meeting/components/OMeetingCalendarSelector.vue.d.ts +2 -2
- package/dist/components/meeting/index.d.ts +6 -3
- package/dist/components.cjs.js +15 -15
- package/dist/components.es.js +593 -585
- package/dist/treeshaking/components/header-search/OHeaderSearch.vue.d.ts +2 -2
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.d.ts +2 -1
- package/dist/treeshaking/components/meeting/OMeetingSigCalendar.vue.mjs +13 -1
- package/dist/treeshaking/components/meeting/components/OMeetingCalendarSelector.vue.d.ts +2 -2
- package/dist/treeshaking/components/meeting/index.d.ts +6 -3
- package/package.json +1 -1
package/dist/components.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as y, createElementBlock as w, createElementVNode as _, computed as Ae, defineComponent as nt, ref as
|
|
1
|
+
import { openBlock as y, createElementBlock as w, createElementVNode as _, computed as Ae, defineComponent as nt, ref as ae, watch as vt, createVNode as P, unref as c, withCtx as x, Fragment as we, renderList as Ne, createBlock as he, createTextVNode as De, toDisplayString as R, createCommentVNode as le, resolveComponent as h2, renderSlot as Qe, withDirectives as Oi, normalizeClass as Oe, normalizeStyle as ct, nextTick as _t, h as bf, useSlots as Af, onMounted as $t, onUnmounted as Rs, resolveDynamicComponent as vi, withModifiers as Zt, onBeforeUnmount as fr, watchEffect as Tf, createSlots as Xs, withKeys as Bd, reactive as ec, inject as Ss, provide as en, Teleport as f2, mergeProps as p2, useModel as Qt, mergeModels as Pn, resolveDirective as Ho, readonly as Rd, createStaticVNode as g2, toRef as an, normalizeProps as Wt, guardReactiveProps as Kt, Transition as tc, vShow as Vd } from "vue";
|
|
2
2
|
import { useMessage as Ln, OForm as zo, OFormItem as yt, OInput as gs, OSelect as ms, OOption as vs, OTextarea as ir, OButton as Dt, OPopover as Gi, OScroller as is, OCheckboxGroup as _f, OCheckbox as Cf, ODivider as yi, OLink as At, OIcon as Re, ODropdown as jo, ODropdownItem as oa, isClient as Os, OCollapse as ya, OCollapseItem as ba, OTag as ci, OIconChevronLeft as la, OIconChevronRight as $i, OTab as ua, OTabPane as ca, OResult as ic, OFigure as Gs, ORadioGroup as ln, ORadio as ws, OIconTime as m2, OSwitch as mo, ORow as xf, OCol as Ef, OIconChevronDown as v2, OIconArrowLeft as Xo, OIconArrowRight as sc, ODialog as cn, OPagination as sr, isBoolean as qd, isString as Nd, isUndefined as y2, OCarousel as Fd, OCarouselItem as Ud, OConfigProvider as b2, OIconClose as A2, OToggle as nc, OIconSearch as Sf, OCard as yu, ORate as T2, OPopup as _2, OIconMoon as Hd, OIconSun as zd, OBadge as jd, isArray as C2, ODataTable as wf, ODateRangePicker as x2, OProgress as E2 } from "@opensig/opendesign";
|
|
3
3
|
import { useScreen as Ht, useLocale as S2 } from "@opendesign-plus/composables";
|
|
4
4
|
import { dayjs as zn, ElDatePicker as ea, ElCalendar as rc, ElSelect as ac, ElOption as oc, ElInputNumber as w2, ElTimeSelect as Xd, ElCheckbox as Gd, ElTable as k2, ElTableColumn as qn } from "element-plus";
|
|
@@ -215,7 +215,7 @@ const Pf = { name: "meeting-icon-summit", render: U2 }, Il = {
|
|
|
215
215
|
},
|
|
216
216
|
emits: ["confirm", "close"],
|
|
217
217
|
setup(i, { expose: e, emit: t }) {
|
|
218
|
-
const s = t, n = Ln(null), { lePadV: r } = Ht(), { t: a } = Ot(), o = a, { activityTypeMap: u } = Qo(), d = i, g = Ae(() => !!d.data), m =
|
|
218
|
+
const s = t, n = Ln(null), { lePadV: r } = Ht(), { t: a } = Ot(), o = a, { activityTypeMap: u } = Qo(), d = i, g = Ae(() => !!d.data), m = ae({
|
|
219
219
|
title: "",
|
|
220
220
|
organizer: "",
|
|
221
221
|
start_date: "",
|
|
@@ -231,7 +231,7 @@ const Pf = { name: "meeting-icon-summit", render: U2 }, Il = {
|
|
|
231
231
|
is_publish: "true",
|
|
232
232
|
email_list: "",
|
|
233
233
|
approver: ""
|
|
234
|
-
}), S =
|
|
234
|
+
}), S = ae(), T = ae(!1), O = ae({
|
|
235
235
|
title: [
|
|
236
236
|
{ required: !0, message: a("meeting.enterActivityName") },
|
|
237
237
|
{
|
|
@@ -362,7 +362,7 @@ const Pf = { name: "meeting-icon-summit", render: U2 }, Il = {
|
|
|
362
362
|
triggers: ["blur", "change"]
|
|
363
363
|
}],
|
|
364
364
|
approver: [{ required: !0, message: a("meeting.selectActivityApprover") }]
|
|
365
|
-
}), v = Ae(() => d.admins || []), b =
|
|
365
|
+
}), v = Ae(() => d.admins || []), b = ae(""), E = ae([]);
|
|
366
366
|
u.value.forEach((N) => {
|
|
367
367
|
E.value.push(N);
|
|
368
368
|
});
|
|
@@ -387,7 +387,7 @@ const Pf = { name: "meeting-icon-summit", render: U2 }, Il = {
|
|
|
387
387
|
start: ie,
|
|
388
388
|
end: Y,
|
|
389
389
|
is_publish: oe,
|
|
390
|
-
approver:
|
|
390
|
+
approver: se,
|
|
391
391
|
update_activity_id: J,
|
|
392
392
|
synopsis: G,
|
|
393
393
|
email_list: K,
|
|
@@ -405,7 +405,7 @@ const Pf = { name: "meeting-icon-summit", render: U2 }, Il = {
|
|
|
405
405
|
start: ie,
|
|
406
406
|
end: Y,
|
|
407
407
|
is_publish: oe,
|
|
408
|
-
approver:
|
|
408
|
+
approver: se,
|
|
409
409
|
update_activity_id: J,
|
|
410
410
|
synopsis: G,
|
|
411
411
|
email_list: K,
|
|
@@ -927,7 +927,7 @@ function Lf() {
|
|
|
927
927
|
}
|
|
928
928
|
var U = {};
|
|
929
929
|
e.isSupported = typeof I == "function" && D && D.createHTMLDocument !== void 0 && Z !== 9;
|
|
930
|
-
var W = cv, j = dv, ie = hv, Y = fv, oe = pv,
|
|
930
|
+
var W = cv, j = dv, ie = hv, Y = fv, oe = pv, se = mv, J = vv, G = bv, K = gv, ue = null, xe = gt({}, [].concat(ps($d), ps(Ml), ps(Ll), ps(Bl), ps(e0))), te = null, ye = gt({}, [].concat(ps(t0), ps(Rl), ps(i0), ps(Wa))), me = Object.seal(Object.create(null, {
|
|
931
931
|
tagNameCheck: {
|
|
932
932
|
writable: !0,
|
|
933
933
|
configurable: !1,
|
|
@@ -946,10 +946,10 @@ function Lf() {
|
|
|
946
946
|
enumerable: !0,
|
|
947
947
|
value: !1
|
|
948
948
|
}
|
|
949
|
-
})), Ve = null, _e = null, qe = !0, it = !0, ve = !1, Le = !0, je = !1, ht = !0, $e = !1, wt = !1, Ye = !1, Pe = !1, Te = !1, be = !1, tt = !0, ke = !1, Me = "user-content-", Fe = !0, Se = !1, pe = {}, Be = null, st = gt({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]), Ge = null, Bt = gt({}, ["audio", "video", "img", "source", "image", "track"]), rt = null, ni = gt({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Nt = "http://www.w3.org/1998/Math/MathML", ri = "http://www.w3.org/2000/svg", ei = "http://www.w3.org/1999/xhtml", hi = ei, Li = !1, fi = null, Wi = gt({}, [Nt, ri, ei], Pl), ai, Ki = ["application/xhtml+xml", "text/html"], L = "text/html", q,
|
|
949
|
+
})), Ve = null, _e = null, qe = !0, it = !0, ve = !1, Le = !0, je = !1, ht = !0, $e = !1, wt = !1, Ye = !1, Pe = !1, Te = !1, be = !1, tt = !0, ke = !1, Me = "user-content-", Fe = !0, Se = !1, pe = {}, Be = null, st = gt({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]), Ge = null, Bt = gt({}, ["audio", "video", "img", "source", "image", "track"]), rt = null, ni = gt({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Nt = "http://www.w3.org/1998/Math/MathML", ri = "http://www.w3.org/2000/svg", ei = "http://www.w3.org/1999/xhtml", hi = ei, Li = !1, fi = null, Wi = gt({}, [Nt, ri, ei], Pl), ai, Ki = ["application/xhtml+xml", "text/html"], L = "text/html", q, re = null, ge = s.createElement("form"), Xe = function(ce) {
|
|
950
950
|
return ce instanceof RegExp || ce instanceof Function;
|
|
951
951
|
}, ot = function(ce) {
|
|
952
|
-
|
|
952
|
+
re && re === ce || ((!ce || rn(ce) !== "object") && (ce = {}), ce = yn(ce), ai = // eslint-disable-next-line unicorn/prefer-includes
|
|
953
953
|
Ki.indexOf(ce.PARSER_MEDIA_TYPE) === -1 ? ai = L : ai = ce.PARSER_MEDIA_TYPE, q = ai === "application/xhtml+xml" ? Pl : uo, ue = "ALLOWED_TAGS" in ce ? gt({}, ce.ALLOWED_TAGS, q) : xe, te = "ALLOWED_ATTR" in ce ? gt({}, ce.ALLOWED_ATTR, q) : ye, fi = "ALLOWED_NAMESPACES" in ce ? gt({}, ce.ALLOWED_NAMESPACES, Pl) : Wi, rt = "ADD_URI_SAFE_ATTR" in ce ? gt(
|
|
954
954
|
yn(ni),
|
|
955
955
|
// eslint-disable-line indent
|
|
@@ -964,7 +964,7 @@ function Lf() {
|
|
|
964
964
|
// eslint-disable-line indent
|
|
965
965
|
q
|
|
966
966
|
// eslint-disable-line indent
|
|
967
|
-
) : Bt, Be = "FORBID_CONTENTS" in ce ? gt({}, ce.FORBID_CONTENTS, q) : st, Ve = "FORBID_TAGS" in ce ? gt({}, ce.FORBID_TAGS, q) : {}, _e = "FORBID_ATTR" in ce ? gt({}, ce.FORBID_ATTR, q) : {}, pe = "USE_PROFILES" in ce ? ce.USE_PROFILES : !1, qe = ce.ALLOW_ARIA_ATTR !== !1, it = ce.ALLOW_DATA_ATTR !== !1, ve = ce.ALLOW_UNKNOWN_PROTOCOLS || !1, Le = ce.ALLOW_SELF_CLOSE_IN_ATTR !== !1, je = ce.SAFE_FOR_TEMPLATES || !1, ht = ce.SAFE_FOR_XML !== !1, $e = ce.WHOLE_DOCUMENT || !1, Pe = ce.RETURN_DOM || !1, Te = ce.RETURN_DOM_FRAGMENT || !1, be = ce.RETURN_TRUSTED_TYPE || !1, Ye = ce.FORCE_BODY || !1, tt = ce.SANITIZE_DOM !== !1, ke = ce.SANITIZE_NAMED_PROPS || !1, Fe = ce.KEEP_CONTENT !== !1, Se = ce.IN_PLACE || !1, K = ce.ALLOWED_URI_REGEXP || K, hi = ce.NAMESPACE || ei, me = ce.CUSTOM_ELEMENT_HANDLING || {}, ce.CUSTOM_ELEMENT_HANDLING && Xe(ce.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (me.tagNameCheck = ce.CUSTOM_ELEMENT_HANDLING.tagNameCheck), ce.CUSTOM_ELEMENT_HANDLING && Xe(ce.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (me.attributeNameCheck = ce.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), ce.CUSTOM_ELEMENT_HANDLING && typeof ce.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (me.allowCustomizedBuiltInElements = ce.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), je && (it = !1), Te && (Pe = !0), pe && (ue = gt({}, ps(e0)), te = [], pe.html === !0 && (gt(ue, $d), gt(te, t0)), pe.svg === !0 && (gt(ue, Ml), gt(te, Rl), gt(te, Wa)), pe.svgFilters === !0 && (gt(ue, Ll), gt(te, Rl), gt(te, Wa)), pe.mathMl === !0 && (gt(ue, Bl), gt(te, i0), gt(te, Wa))), ce.ADD_TAGS && (ue === xe && (ue = yn(ue)), gt(ue, ce.ADD_TAGS, q)), ce.ADD_ATTR && (te === ye && (te = yn(te)), gt(te, ce.ADD_ATTR, q)), ce.ADD_URI_SAFE_ATTR && gt(rt, ce.ADD_URI_SAFE_ATTR, q), ce.FORBID_CONTENTS && (Be === st && (Be = yn(Be)), gt(Be, ce.FORBID_CONTENTS, q)), Fe && (ue["#text"] = !0), $e && gt(ue, ["html", "head", "body"]), ue.table && (gt(ue, ["tbody"]), delete Ve.tbody), Mi && Mi(ce),
|
|
967
|
+
) : Bt, Be = "FORBID_CONTENTS" in ce ? gt({}, ce.FORBID_CONTENTS, q) : st, Ve = "FORBID_TAGS" in ce ? gt({}, ce.FORBID_TAGS, q) : {}, _e = "FORBID_ATTR" in ce ? gt({}, ce.FORBID_ATTR, q) : {}, pe = "USE_PROFILES" in ce ? ce.USE_PROFILES : !1, qe = ce.ALLOW_ARIA_ATTR !== !1, it = ce.ALLOW_DATA_ATTR !== !1, ve = ce.ALLOW_UNKNOWN_PROTOCOLS || !1, Le = ce.ALLOW_SELF_CLOSE_IN_ATTR !== !1, je = ce.SAFE_FOR_TEMPLATES || !1, ht = ce.SAFE_FOR_XML !== !1, $e = ce.WHOLE_DOCUMENT || !1, Pe = ce.RETURN_DOM || !1, Te = ce.RETURN_DOM_FRAGMENT || !1, be = ce.RETURN_TRUSTED_TYPE || !1, Ye = ce.FORCE_BODY || !1, tt = ce.SANITIZE_DOM !== !1, ke = ce.SANITIZE_NAMED_PROPS || !1, Fe = ce.KEEP_CONTENT !== !1, Se = ce.IN_PLACE || !1, K = ce.ALLOWED_URI_REGEXP || K, hi = ce.NAMESPACE || ei, me = ce.CUSTOM_ELEMENT_HANDLING || {}, ce.CUSTOM_ELEMENT_HANDLING && Xe(ce.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (me.tagNameCheck = ce.CUSTOM_ELEMENT_HANDLING.tagNameCheck), ce.CUSTOM_ELEMENT_HANDLING && Xe(ce.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (me.attributeNameCheck = ce.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), ce.CUSTOM_ELEMENT_HANDLING && typeof ce.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (me.allowCustomizedBuiltInElements = ce.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), je && (it = !1), Te && (Pe = !0), pe && (ue = gt({}, ps(e0)), te = [], pe.html === !0 && (gt(ue, $d), gt(te, t0)), pe.svg === !0 && (gt(ue, Ml), gt(te, Rl), gt(te, Wa)), pe.svgFilters === !0 && (gt(ue, Ll), gt(te, Rl), gt(te, Wa)), pe.mathMl === !0 && (gt(ue, Bl), gt(te, i0), gt(te, Wa))), ce.ADD_TAGS && (ue === xe && (ue = yn(ue)), gt(ue, ce.ADD_TAGS, q)), ce.ADD_ATTR && (te === ye && (te = yn(te)), gt(te, ce.ADD_ATTR, q)), ce.ADD_URI_SAFE_ATTR && gt(rt, ce.ADD_URI_SAFE_ATTR, q), ce.FORBID_CONTENTS && (Be === st && (Be = yn(Be)), gt(Be, ce.FORBID_CONTENTS, q)), Fe && (ue["#text"] = !0), $e && gt(ue, ["html", "head", "body"]), ue.table && (gt(ue, ["tbody"]), delete Ve.tbody), Mi && Mi(ce), re = ce);
|
|
968
968
|
}, Ct = gt({}, ["mi", "mo", "mn", "ms", "mtext"]), ti = gt({}, ["annotation-xml"]), xi = gt({}, ["title", "style", "font", "a", "script"]), bi = gt({}, Ml);
|
|
969
969
|
gt(bi, Ll), gt(bi, lv);
|
|
970
970
|
var pi = gt({}, Bl);
|
|
@@ -1052,7 +1052,7 @@ function Lf() {
|
|
|
1052
1052
|
return rn(a) === "object" ? ce instanceof a : ce && rn(ce) === "object" && typeof ce.nodeType == "number" && typeof ce.nodeName == "string";
|
|
1053
1053
|
}, pt = function(ce, Ue, Je) {
|
|
1054
1054
|
U[ce] && nv(U[ce], function(Tt) {
|
|
1055
|
-
Tt.call(e, Ue, Je,
|
|
1055
|
+
Tt.call(e, Ue, Je, re);
|
|
1056
1056
|
});
|
|
1057
1057
|
}, ls = function(ce) {
|
|
1058
1058
|
var Ue;
|
|
@@ -1097,7 +1097,7 @@ function Lf() {
|
|
|
1097
1097
|
} else if (!rt[Ue]) {
|
|
1098
1098
|
if (!gi(K, fs(Je, J, ""))) {
|
|
1099
1099
|
if (!((Ue === "src" || Ue === "xlink:href" || Ue === "href") && ce !== "script" && rv(Je, "data:") === 0 && Ge[ce])) {
|
|
1100
|
-
if (!(ve && !gi(
|
|
1100
|
+
if (!(ve && !gi(se, fs(Je, J, "")))) {
|
|
1101
1101
|
if (Je)
|
|
1102
1102
|
return !1;
|
|
1103
1103
|
}
|
|
@@ -1212,9 +1212,9 @@ function Lf() {
|
|
|
1212
1212
|
}, e.setConfig = function(We) {
|
|
1213
1213
|
ot(We), wt = !0;
|
|
1214
1214
|
}, e.clearConfig = function() {
|
|
1215
|
-
|
|
1215
|
+
re = null, wt = !1;
|
|
1216
1216
|
}, e.isValidAttribute = function(We, ce, Ue) {
|
|
1217
|
-
|
|
1217
|
+
re || ot({});
|
|
1218
1218
|
var Je = q(We), Tt = q(ce);
|
|
1219
1219
|
return Ts(Je, Tt, Ue);
|
|
1220
1220
|
}, e.addHook = function(We, ce) {
|
|
@@ -1294,16 +1294,16 @@ const Ev = {
|
|
|
1294
1294
|
value: F.value,
|
|
1295
1295
|
children: a.value ? z : void 0
|
|
1296
1296
|
};
|
|
1297
|
-
})), u =
|
|
1297
|
+
})), u = ae(!1);
|
|
1298
1298
|
vt(
|
|
1299
1299
|
() => n.modelValue,
|
|
1300
1300
|
(F) => {
|
|
1301
1301
|
n.multiple ? d.value = F : S.value = F;
|
|
1302
1302
|
}
|
|
1303
1303
|
);
|
|
1304
|
-
const d =
|
|
1304
|
+
const d = ae([]), g = (F) => {
|
|
1305
1305
|
d.value = F;
|
|
1306
|
-
}, m =
|
|
1306
|
+
}, m = ae([]), S = ae(null), T = (F) => {
|
|
1307
1307
|
S.value === F ? S.value = null : S.value = F, v();
|
|
1308
1308
|
}, O = () => {
|
|
1309
1309
|
d.value = [], m.value = [], S.value = null, v();
|
|
@@ -1312,7 +1312,7 @@ const Ev = {
|
|
|
1312
1312
|
n.multiple ? a.value ? F = m.value : F = d.value : F = S.value, r("update:model-value", F), u.value = !0, _t(() => {
|
|
1313
1313
|
r("confirm"), u.value = !1;
|
|
1314
1314
|
});
|
|
1315
|
-
}, b = Ae(() => d.value.length || m.value.length || S.value || n.modelValue), E =
|
|
1315
|
+
}, b = Ae(() => d.value.length || m.value.length || S.value || n.modelValue), E = ae(null), I = async (F) => {
|
|
1316
1316
|
var D, H;
|
|
1317
1317
|
const z = F.target.parentElement.parentElement;
|
|
1318
1318
|
await _t();
|
|
@@ -1509,8 +1509,8 @@ function Iv() {
|
|
|
1509
1509
|
return (j <= 0 ? "+" : "-") + M(Y, 2, "0") + ":" + M(oe, 2, "0");
|
|
1510
1510
|
}, m: function W(j, ie) {
|
|
1511
1511
|
if (j.date() < ie.date()) return -W(ie, j);
|
|
1512
|
-
var Y = 12 * (ie.year() - j.year()) + (ie.month() - j.month()), oe = j.clone().add(Y, m),
|
|
1513
|
-
return +(-(Y + (ie - oe) / (
|
|
1512
|
+
var Y = 12 * (ie.year() - j.year()) + (ie.month() - j.month()), oe = j.clone().add(Y, m), se = ie - oe < 0, J = j.clone().add(Y + (se ? -1 : 1), m);
|
|
1513
|
+
return +(-(Y + (ie - oe) / (se ? oe - J : J - oe)) || 0);
|
|
1514
1514
|
}, a: function(W) {
|
|
1515
1515
|
return W < 0 ? Math.ceil(W) || 0 : Math.floor(W);
|
|
1516
1516
|
}, p: function(W) {
|
|
@@ -1525,8 +1525,8 @@ function Iv() {
|
|
|
1525
1525
|
var oe;
|
|
1526
1526
|
if (!j) return z;
|
|
1527
1527
|
if (typeof j == "string") {
|
|
1528
|
-
var
|
|
1529
|
-
N[
|
|
1528
|
+
var se = j.toLowerCase();
|
|
1529
|
+
N[se] && (oe = se), ie && (N[se] = ie, oe = se);
|
|
1530
1530
|
var J = j.split("-");
|
|
1531
1531
|
if (!oe && J.length > 1) return W(J[0]);
|
|
1532
1532
|
} else {
|
|
@@ -1549,7 +1549,7 @@ function Iv() {
|
|
|
1549
1549
|
var j = W.prototype;
|
|
1550
1550
|
return j.parse = function(ie) {
|
|
1551
1551
|
this.$d = (function(Y) {
|
|
1552
|
-
var oe = Y.date,
|
|
1552
|
+
var oe = Y.date, se = Y.utc;
|
|
1553
1553
|
if (oe === null) return /* @__PURE__ */ new Date(NaN);
|
|
1554
1554
|
if (V.u(oe)) return /* @__PURE__ */ new Date();
|
|
1555
1555
|
if (oe instanceof Date) return new Date(oe);
|
|
@@ -1557,7 +1557,7 @@ function Iv() {
|
|
|
1557
1557
|
var J = oe.match(b);
|
|
1558
1558
|
if (J) {
|
|
1559
1559
|
var G = J[2] - 1 || 0, K = (J[7] || "0").substring(0, 3);
|
|
1560
|
-
return
|
|
1560
|
+
return se ? new Date(Date.UTC(J[1], G, J[3] || 1, J[4] || 0, J[5] || 0, J[6] || 0, K)) : new Date(J[1], G, J[3] || 1, J[4] || 0, J[5] || 0, J[6] || 0, K);
|
|
1561
1561
|
}
|
|
1562
1562
|
}
|
|
1563
1563
|
return new Date(oe);
|
|
@@ -1583,20 +1583,20 @@ function Iv() {
|
|
|
1583
1583
|
}, j.valueOf = function() {
|
|
1584
1584
|
return this.$d.getTime();
|
|
1585
1585
|
}, j.startOf = function(ie, Y) {
|
|
1586
|
-
var oe = this,
|
|
1586
|
+
var oe = this, se = !!V.u(Y) || Y, J = V.p(ie), G = function(_e, qe) {
|
|
1587
1587
|
var it = V.w(oe.$u ? Date.UTC(oe.$y, qe, _e) : new Date(oe.$y, qe, _e), oe);
|
|
1588
|
-
return
|
|
1588
|
+
return se ? it : it.endOf(d);
|
|
1589
1589
|
}, K = function(_e, qe) {
|
|
1590
|
-
return V.w(oe.toDate()[_e].apply(oe.toDate("s"), (
|
|
1590
|
+
return V.w(oe.toDate()[_e].apply(oe.toDate("s"), (se ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(qe)), oe);
|
|
1591
1591
|
}, ue = this.$W, xe = this.$M, te = this.$D, ye = "set" + (this.$u ? "UTC" : "");
|
|
1592
1592
|
switch (J) {
|
|
1593
1593
|
case T:
|
|
1594
|
-
return
|
|
1594
|
+
return se ? G(1, 0) : G(31, 11);
|
|
1595
1595
|
case m:
|
|
1596
|
-
return
|
|
1596
|
+
return se ? G(1, xe) : G(0, xe + 1);
|
|
1597
1597
|
case g:
|
|
1598
1598
|
var me = this.$locale().weekStart || 0, Ve = (ue < me ? ue + 7 : ue) - me;
|
|
1599
|
-
return G(
|
|
1599
|
+
return G(se ? te - Ve : te + (6 - Ve), xe);
|
|
1600
1600
|
case d:
|
|
1601
1601
|
case O:
|
|
1602
1602
|
return K(ye + "Hours", 0);
|
|
@@ -1612,8 +1612,8 @@ function Iv() {
|
|
|
1612
1612
|
}, j.endOf = function(ie) {
|
|
1613
1613
|
return this.startOf(ie, !1);
|
|
1614
1614
|
}, j.$set = function(ie, Y) {
|
|
1615
|
-
var oe,
|
|
1616
|
-
if (
|
|
1615
|
+
var oe, se = V.p(ie), J = "set" + (this.$u ? "UTC" : ""), G = (oe = {}, oe[d] = J + "Date", oe[O] = J + "Date", oe[m] = J + "Month", oe[T] = J + "FullYear", oe[u] = J + "Hours", oe[o] = J + "Minutes", oe[a] = J + "Seconds", oe[r] = J + "Milliseconds", oe)[se], K = se === d ? this.$D + (Y - this.$W) : Y;
|
|
1616
|
+
if (se === m || se === T) {
|
|
1617
1617
|
var ue = this.clone().set(O, 1);
|
|
1618
1618
|
ue.$d[G](K), ue.init(), this.$d = ue.set(O, Math.min(this.$D, ue.daysInMonth())).$d;
|
|
1619
1619
|
} else G && this.$d[G](K);
|
|
@@ -1623,11 +1623,11 @@ function Iv() {
|
|
|
1623
1623
|
}, j.get = function(ie) {
|
|
1624
1624
|
return this[V.p(ie)]();
|
|
1625
1625
|
}, j.add = function(ie, Y) {
|
|
1626
|
-
var oe,
|
|
1626
|
+
var oe, se = this;
|
|
1627
1627
|
ie = Number(ie);
|
|
1628
1628
|
var J = V.p(Y), G = function(xe) {
|
|
1629
|
-
var te = B(
|
|
1630
|
-
return V.w(te.date(te.date() + Math.round(xe * ie)),
|
|
1629
|
+
var te = B(se);
|
|
1630
|
+
return V.w(te.date(te.date() + Math.round(xe * ie)), se);
|
|
1631
1631
|
};
|
|
1632
1632
|
if (J === m) return this.set(m, this.$M + ie);
|
|
1633
1633
|
if (J === T) return this.set(T, this.$y + ie);
|
|
@@ -1640,15 +1640,15 @@ function Iv() {
|
|
|
1640
1640
|
}, j.format = function(ie) {
|
|
1641
1641
|
var Y = this, oe = this.$locale();
|
|
1642
1642
|
if (!this.isValid()) return oe.invalidDate || v;
|
|
1643
|
-
var
|
|
1644
|
-
return qe && (qe[it] || qe(Y,
|
|
1643
|
+
var se = ie || "YYYY-MM-DDTHH:mm:ssZ", J = V.z(this), G = this.$H, K = this.$m, ue = this.$M, xe = oe.weekdays, te = oe.months, ye = oe.meridiem, me = function(qe, it, ve, Le) {
|
|
1644
|
+
return qe && (qe[it] || qe(Y, se)) || ve[it].slice(0, Le);
|
|
1645
1645
|
}, Ve = function(qe) {
|
|
1646
1646
|
return V.s(G % 12 || 12, qe, "0");
|
|
1647
1647
|
}, _e = ye || function(qe, it, ve) {
|
|
1648
1648
|
var Le = qe < 12 ? "AM" : "PM";
|
|
1649
1649
|
return ve ? Le.toLowerCase() : Le;
|
|
1650
1650
|
};
|
|
1651
|
-
return
|
|
1651
|
+
return se.replace(E, (function(qe, it) {
|
|
1652
1652
|
return it || (function(ve) {
|
|
1653
1653
|
switch (ve) {
|
|
1654
1654
|
case "YY":
|
|
@@ -1706,46 +1706,46 @@ function Iv() {
|
|
|
1706
1706
|
}, j.utcOffset = function() {
|
|
1707
1707
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1708
1708
|
}, j.diff = function(ie, Y, oe) {
|
|
1709
|
-
var
|
|
1709
|
+
var se, J = this, G = V.p(Y), K = B(ie), ue = (K.utcOffset() - this.utcOffset()) * s, xe = this - K, te = function() {
|
|
1710
1710
|
return V.m(J, K);
|
|
1711
1711
|
};
|
|
1712
1712
|
switch (G) {
|
|
1713
1713
|
case T:
|
|
1714
|
-
|
|
1714
|
+
se = te() / 12;
|
|
1715
1715
|
break;
|
|
1716
1716
|
case m:
|
|
1717
|
-
|
|
1717
|
+
se = te();
|
|
1718
1718
|
break;
|
|
1719
1719
|
case S:
|
|
1720
|
-
|
|
1720
|
+
se = te() / 3;
|
|
1721
1721
|
break;
|
|
1722
1722
|
case g:
|
|
1723
|
-
|
|
1723
|
+
se = (xe - ue) / 6048e5;
|
|
1724
1724
|
break;
|
|
1725
1725
|
case d:
|
|
1726
|
-
|
|
1726
|
+
se = (xe - ue) / 864e5;
|
|
1727
1727
|
break;
|
|
1728
1728
|
case u:
|
|
1729
|
-
|
|
1729
|
+
se = xe / n;
|
|
1730
1730
|
break;
|
|
1731
1731
|
case o:
|
|
1732
|
-
|
|
1732
|
+
se = xe / s;
|
|
1733
1733
|
break;
|
|
1734
1734
|
case a:
|
|
1735
|
-
|
|
1735
|
+
se = xe / t;
|
|
1736
1736
|
break;
|
|
1737
1737
|
default:
|
|
1738
|
-
|
|
1738
|
+
se = xe;
|
|
1739
1739
|
}
|
|
1740
|
-
return oe ?
|
|
1740
|
+
return oe ? se : V.a(se);
|
|
1741
1741
|
}, j.daysInMonth = function() {
|
|
1742
1742
|
return this.endOf(m).$D;
|
|
1743
1743
|
}, j.$locale = function() {
|
|
1744
1744
|
return N[this.$L];
|
|
1745
1745
|
}, j.locale = function(ie, Y) {
|
|
1746
1746
|
if (!ie) return this.$L;
|
|
1747
|
-
var oe = this.clone(),
|
|
1748
|
-
return
|
|
1747
|
+
var oe = this.clone(), se = k(ie, Y, !0);
|
|
1748
|
+
return se && (oe.$L = se), oe;
|
|
1749
1749
|
}, j.clone = function() {
|
|
1750
1750
|
return V.w(this.$d, this);
|
|
1751
1751
|
}, j.toDate = function() {
|
|
@@ -1873,7 +1873,7 @@ const He = /* @__PURE__ */ pr(Pv), It = (i = /* @__PURE__ */ new Date(), e = "YY
|
|
|
1873
1873
|
size: { default: 14 }
|
|
1874
1874
|
},
|
|
1875
1875
|
setup(i) {
|
|
1876
|
-
const e =
|
|
1876
|
+
const e = ae(null), t = ae(!0), s = i, n = Af();
|
|
1877
1877
|
let r = null, a = null;
|
|
1878
1878
|
const o = () => {
|
|
1879
1879
|
if (!Os) return;
|
|
@@ -1992,7 +1992,7 @@ const He = /* @__PURE__ */ pr(Pv), It = (i = /* @__PURE__ */ new Date(), e = "YY
|
|
|
1992
1992
|
}), g = (v) => {
|
|
1993
1993
|
const b = t.data[v];
|
|
1994
1994
|
return v === "register_end_date" && b ? It(b, "YYYY/MM/DD HH:mm") : v === "date" && b ? t.data.is_cycle ? "" : It(b) : b;
|
|
1995
|
-
}, m = Ae(() => t.data.type === et.EVENTS ? t.page === et.APPROVAL ? d.value : u.value : t.data.type === et.SUMMIT ? u.value : o.value), S =
|
|
1995
|
+
}, m = Ae(() => t.data.type === et.EVENTS ? t.page === et.APPROVAL ? d.value : u.value : t.data.type === et.SUMMIT ? u.value : o.value), S = ae([]), T = ae({
|
|
1996
1996
|
[et.ALL]: s("meeting.meetingTopic"),
|
|
1997
1997
|
[et.MEETING]: s("meeting.meetingTopic"),
|
|
1998
1998
|
[et.EVENTS]: s("meeting.eventsTitle"),
|
|
@@ -2110,11 +2110,11 @@ const Wr = { name: "components-icon-chevron-right", render: Xv }, Gv = { class:
|
|
|
2110
2110
|
replayPath: {}
|
|
2111
2111
|
},
|
|
2112
2112
|
setup(i) {
|
|
2113
|
-
const { activityTypeMap: e } = Qo(), t = i, { t: s, locale: n, getConfig: r, getPointStr: a } = fn(), o =
|
|
2113
|
+
const { activityTypeMap: e } = Qo(), t = i, { t: s, locale: n, getConfig: r, getPointStr: a } = fn(), o = ae([]), u = Ln(null), d = async (v) => {
|
|
2114
2114
|
await o.value[v].copyInfo(), u.success({
|
|
2115
2115
|
content: s("common.copySuccess")
|
|
2116
2116
|
});
|
|
2117
|
-
}, g =
|
|
2117
|
+
}, g = ae([]), m = Ae(() => ({
|
|
2118
2118
|
SIG_GROUP: `${t.groupType === es.GROUP ? s("meeting.groups") : s("meeting.sigs")}: `,
|
|
2119
2119
|
NEW_DATE: s("meeting.latestMeeting"),
|
|
2120
2120
|
EMPTY_TEXT: s("meeting.meetingEmptyText"),
|
|
@@ -2122,7 +2122,7 @@ const Wr = { name: "components-icon-chevron-right", render: Xv }, Gv = { class:
|
|
|
2122
2122
|
JOIN_MEETING: s("meeting.joinMeeting"),
|
|
2123
2123
|
SIGN: s("meeting.sign"),
|
|
2124
2124
|
DETAILS: s("meeting.detail")
|
|
2125
|
-
})), S =
|
|
2125
|
+
})), S = ae();
|
|
2126
2126
|
let T = null;
|
|
2127
2127
|
vt(
|
|
2128
2128
|
[() => t.list, () => Os],
|
|
@@ -2175,7 +2175,7 @@ const Wr = { name: "components-icon-chevron-right", render: Xv }, Gv = { class:
|
|
|
2175
2175
|
let ie = "";
|
|
2176
2176
|
D && H ? ie = `${D} - ${H}` : (D && (ie = D), H && (ie = H));
|
|
2177
2177
|
let Y = null, oe = !1;
|
|
2178
|
-
const
|
|
2178
|
+
const se = ((G = v.obs_data) == null ? void 0 : G.filter((K) => K.text_video_url)) || [];
|
|
2179
2179
|
if (z) {
|
|
2180
2180
|
let K = "";
|
|
2181
2181
|
U === on && (K = s("meeting.cycleDay")), U === un && (W > 1 ? K = s("meeting.cycleWeek.other", [a(U, j), W]) : K = s("meeting.cycleWeek.one", [a(U, j)])), U === zs && (K = s("meeting.cycleMonth", [a(U, j)])), ie = s("meeting.cycleMeetingText2", {
|
|
@@ -2184,12 +2184,12 @@ const Wr = { name: "components-icon-chevron-right", render: Xv }, Gv = { class:
|
|
|
2184
2184
|
startTime: V,
|
|
2185
2185
|
endTime: Z,
|
|
2186
2186
|
cycleType: K
|
|
2187
|
-
}), oe =
|
|
2187
|
+
}), oe = se.some((ue) => {
|
|
2188
2188
|
var xe;
|
|
2189
2189
|
return ue.sub_id === ((xe = v.cycle_sub.find((te) => te.date === N)) == null ? void 0 : xe.sub_id);
|
|
2190
2190
|
});
|
|
2191
2191
|
} else
|
|
2192
|
-
oe =
|
|
2192
|
+
oe = se.length > 0;
|
|
2193
2193
|
return oe && t.replayPath !== null && (Y = `${location.origin}/${n.value}/${t.replayPath}/${v.group_name}/${v.mid}/${N}`), {
|
|
2194
2194
|
...v,
|
|
2195
2195
|
dateRange: E,
|
|
@@ -2406,7 +2406,7 @@ const Wr = { name: "components-icon-chevron-right", render: Xv }, Gv = { class:
|
|
|
2406
2406
|
},
|
|
2407
2407
|
emits: ["create"],
|
|
2408
2408
|
setup(i, { expose: e, emit: t }) {
|
|
2409
|
-
const s = i, { t: n, locale: r, meetingTabs: a, getConfig: o } = fn(), u = Ae(() => r.value === Go.EN), d =
|
|
2409
|
+
const s = i, { t: n, locale: r, meetingTabs: a, getConfig: o } = fn(), u = Ae(() => r.value === Go.EN), d = ae([]), g = ae([]), m = ae([]), S = ae([]), T = ae([]), O = ae([]), v = ae(et.ALL), b = Ae(() => {
|
|
2410
2410
|
let ve = a.value;
|
|
2411
2411
|
return s.hiddenEvents && (ve = ve.filter((Le) => Le.value !== et.EVENTS)), s.hiddenSummit && (ve = ve.filter((Le) => Le.value !== et.SUMMIT)), ve.filter((Le) => Le.value !== et.ALL).length === 1 ? [] : ve;
|
|
2412
2412
|
});
|
|
@@ -2414,7 +2414,7 @@ const Wr = { name: "components-icon-chevron-right", render: Xv }, Gv = { class:
|
|
|
2414
2414
|
var ve;
|
|
2415
2415
|
v.value = ((ve = b.value[0]) == null ? void 0 : ve.value) ?? et.MEETING;
|
|
2416
2416
|
});
|
|
2417
|
-
const E =
|
|
2417
|
+
const E = ae(), I = ae("407px"), M = ae(!1), F = ae(""), z = ae(!1), N = ae(""), D = async (ve) => {
|
|
2418
2418
|
if (s.getSummitListRequest) {
|
|
2419
2419
|
g.value = [];
|
|
2420
2420
|
const Le = await s.getSummitListRequest(ve);
|
|
@@ -2434,7 +2434,7 @@ const Wr = { name: "components-icon-chevron-right", render: Xv }, Gv = { class:
|
|
|
2434
2434
|
}));
|
|
2435
2435
|
} else
|
|
2436
2436
|
S.value = [];
|
|
2437
|
-
}, k =
|
|
2437
|
+
}, k = ae([!1, !1, !1]), B = Ae(() => k.value.every((ve) => !!ve)), V = async (ve) => {
|
|
2438
2438
|
s.getDateListRequest && s.getDateListRequest(ve, N.value || "").then((Le) => {
|
|
2439
2439
|
d.value = Le;
|
|
2440
2440
|
}).finally(() => {
|
|
@@ -2476,7 +2476,7 @@ const Wr = { name: "components-icon-chevron-right", render: Xv }, Gv = { class:
|
|
|
2476
2476
|
date: Le,
|
|
2477
2477
|
type: v.value
|
|
2478
2478
|
});
|
|
2479
|
-
}, j = Ae(() => B.value ? [.../* @__PURE__ */ new Set([...d.value, ...m.value, ...T.value])].flat().sort((ve, Le) => He(ve).isAfter(He(Le)) ? 1 : -1) : []), ie =
|
|
2479
|
+
}, j = Ae(() => B.value ? [.../* @__PURE__ */ new Set([...d.value, ...m.value, ...T.value])].flat().sort((ve, Le) => He(ve).isAfter(He(Le)) ? 1 : -1) : []), ie = ae(""), Y = Ae(() => {
|
|
2480
2480
|
if (ie.value)
|
|
2481
2481
|
return ie.value;
|
|
2482
2482
|
const ve = j.value;
|
|
@@ -2509,7 +2509,7 @@ const Wr = { name: "components-icon-chevron-right", render: Xv }, Gv = { class:
|
|
|
2509
2509
|
immediate: !0
|
|
2510
2510
|
}
|
|
2511
2511
|
);
|
|
2512
|
-
const
|
|
2512
|
+
const se = (ve, Le) => {
|
|
2513
2513
|
if (It(Le) === It(fy) && ve === "prev-month") {
|
|
2514
2514
|
M.value = !0;
|
|
2515
2515
|
return;
|
|
@@ -2534,7 +2534,7 @@ const Wr = { name: "components-icon-chevron-right", render: Xv }, Gv = { class:
|
|
|
2534
2534
|
}, ue = async () => {
|
|
2535
2535
|
const ve = document.querySelector(".calendar-body .el-calendar__body");
|
|
2536
2536
|
ve && (K(ve), I.value = `${ve.offsetHeight - 2}px`);
|
|
2537
|
-
}, xe =
|
|
2537
|
+
}, xe = ae(null);
|
|
2538
2538
|
let te = null;
|
|
2539
2539
|
const ye = Hi(() => {
|
|
2540
2540
|
const ve = xe.value;
|
|
@@ -2599,7 +2599,7 @@ const Wr = { name: "components-icon-chevron-right", render: Xv }, Gv = { class:
|
|
|
2599
2599
|
_("div", iy, [
|
|
2600
2600
|
_("div", sy, [
|
|
2601
2601
|
P(c(Re), {
|
|
2602
|
-
onClick: ($e) =>
|
|
2602
|
+
onClick: ($e) => se("prev-month", je)
|
|
2603
2603
|
}, {
|
|
2604
2604
|
default: x(() => [
|
|
2605
2605
|
P(c(la), {
|
|
@@ -2610,7 +2610,7 @@ const Wr = { name: "components-icon-chevron-right", render: Xv }, Gv = { class:
|
|
|
2610
2610
|
}, 8, ["onClick"]),
|
|
2611
2611
|
_("span", ny, R(Ve(je)), 1),
|
|
2612
2612
|
P(c(Re), {
|
|
2613
|
-
onClick: ($e) =>
|
|
2613
|
+
onClick: ($e) => se("next-month", je)
|
|
2614
2614
|
}, {
|
|
2615
2615
|
default: x(() => [
|
|
2616
2616
|
P(c($i))
|
|
@@ -2842,7 +2842,7 @@ const u0 = { name: "meeting-icon-tip", render: vy }, yy = /* @__PURE__ */ nt({
|
|
|
2842
2842
|
for (let b = 1; b <= 31; b++)
|
|
2843
2843
|
v.push(b);
|
|
2844
2844
|
return v;
|
|
2845
|
-
}, a = Ae(() => r()), o =
|
|
2845
|
+
}, a = Ae(() => r()), o = ae([]), u = ae([]), d = ae(null), g = () => {
|
|
2846
2846
|
o.value = [...s.modelValue], u.value = [...s.modelValue];
|
|
2847
2847
|
};
|
|
2848
2848
|
Tf(() => {
|
|
@@ -2968,7 +2968,7 @@ const u0 = { name: "meeting-icon-tip", render: vy }, yy = /* @__PURE__ */ nt({
|
|
|
2968
2968
|
cycle_type: on,
|
|
2969
2969
|
cycle_point: [],
|
|
2970
2970
|
is_private: !1
|
|
2971
|
-
}, b =
|
|
2971
|
+
}, b = ae(Object.assign({}, v)), E = ae(null), I = ae(!1), M = ae(!1), F = Ae(() => ({
|
|
2972
2972
|
topic: [
|
|
2973
2973
|
{ required: !0, message: s("meeting.enterMeetingName") },
|
|
2974
2974
|
{
|
|
@@ -3110,12 +3110,12 @@ const u0 = { name: "meeting-icon-tip", render: vy }, yy = /* @__PURE__ */ nt({
|
|
|
3110
3110
|
triggers: ["blur", "change"]
|
|
3111
3111
|
}
|
|
3112
3112
|
]
|
|
3113
|
-
})), z =
|
|
3113
|
+
})), z = ae([]), N = async () => {
|
|
3114
3114
|
if (!u.getGroupsRequest)
|
|
3115
3115
|
return;
|
|
3116
3116
|
const J = await u.getGroupsRequest();
|
|
3117
3117
|
z.value = J.map((G) => ({ ...G, label: G.group_name, value: G.group_name })), u.data && Y(b.value.group_name);
|
|
3118
|
-
}, D =
|
|
3118
|
+
}, D = ae([]), H = async () => {
|
|
3119
3119
|
if (!u.getPlatformsRequest)
|
|
3120
3120
|
return;
|
|
3121
3121
|
const J = await u.getPlatformsRequest();
|
|
@@ -3303,7 +3303,7 @@ const u0 = { name: "meeting-icon-tip", render: vy }, yy = /* @__PURE__ */ nt({
|
|
|
3303
3303
|
const Y = (J) => {
|
|
3304
3304
|
const G = z.value.find((K) => K.value === J);
|
|
3305
3305
|
I.value = u.enablePrivate && ((G == null ? void 0 : G.private_enable) ?? !1), S.value || (b.value.etherpad = (G == null ? void 0 : G.etherpad) || "", b.value.email_list = (G == null ? void 0 : G.email_list) || "");
|
|
3306
|
-
}, oe = (J) => J.getTime() < Date.now() - 1440 * 60 * 1e3,
|
|
3306
|
+
}, oe = (J) => J.getTime() < Date.now() - 1440 * 60 * 1e3, se = () => {
|
|
3307
3307
|
b.value.start && b.value.end ? b.value.time = `${b.value.start}-${b.value.end}` : b.value.time = "";
|
|
3308
3308
|
};
|
|
3309
3309
|
return e({
|
|
@@ -3621,7 +3621,7 @@ const u0 = { name: "meeting-icon-tip", render: vy }, yy = /* @__PURE__ */ nt({
|
|
|
3621
3621
|
"onUpdate:modelValue": G[11] || (G[11] = (ve) => b.value.start = ve),
|
|
3622
3622
|
size: "large",
|
|
3623
3623
|
clearable: !1,
|
|
3624
|
-
onChange:
|
|
3624
|
+
onChange: se
|
|
3625
3625
|
}, null, 8, ["placeholder", "modelValue"])
|
|
3626
3626
|
]),
|
|
3627
3627
|
_: 1
|
|
@@ -3639,7 +3639,7 @@ const u0 = { name: "meeting-icon-tip", render: vy }, yy = /* @__PURE__ */ nt({
|
|
|
3639
3639
|
"onUpdate:modelValue": G[12] || (G[12] = (ve) => b.value.end = ve),
|
|
3640
3640
|
size: "large",
|
|
3641
3641
|
clearable: !1,
|
|
3642
|
-
onChange:
|
|
3642
|
+
onChange: se
|
|
3643
3643
|
}, null, 8, ["placeholder", "modelValue"])
|
|
3644
3644
|
]),
|
|
3645
3645
|
_: 1
|
|
@@ -3939,7 +3939,7 @@ const Jy = { name: "meeting-icon-speaker", render: Ky }, Zy = { class: "o-meetin
|
|
|
3939
3939
|
trackIdx: {}
|
|
3940
3940
|
},
|
|
3941
3941
|
setup(i) {
|
|
3942
|
-
const e = Aa(), t = i, { t: s } = Ot(), n = Ae(() => t.trackIdx), r =
|
|
3942
|
+
const e = Aa(), t = i, { t: s } = Ot(), n = Ae(() => t.trackIdx), r = ae(), a = ae(!1), o = () => {
|
|
3943
3943
|
a.value = !0;
|
|
3944
3944
|
}, u = Hi(() => {
|
|
3945
3945
|
a.value = !1;
|
|
@@ -3950,7 +3950,7 @@ const Jy = { name: "meeting-icon-speaker", render: Ky }, Zy = { class: "o-meetin
|
|
|
3950
3950
|
U && u();
|
|
3951
3951
|
}
|
|
3952
3952
|
);
|
|
3953
|
-
const d =
|
|
3953
|
+
const d = ae([]);
|
|
3954
3954
|
vt(
|
|
3955
3955
|
() => t.captions,
|
|
3956
3956
|
() => {
|
|
@@ -3981,14 +3981,14 @@ const Jy = { name: "meeting-icon-speaker", render: Ky }, Zy = { class: "o-meetin
|
|
|
3981
3981
|
r.value = document.querySelector("#captionsScrollDom > .o-scroller-container"), (U = r.value) == null || U.addEventListener("wheel", o);
|
|
3982
3982
|
}
|
|
3983
3983
|
);
|
|
3984
|
-
const S =
|
|
3984
|
+
const S = ae(0), T = () => {
|
|
3985
3985
|
}, O = (U) => {
|
|
3986
3986
|
const W = t.instance;
|
|
3987
3987
|
if (!W)
|
|
3988
3988
|
return;
|
|
3989
3989
|
const j = m(U);
|
|
3990
3990
|
W.currentTime(j);
|
|
3991
|
-
}, v =
|
|
3991
|
+
}, v = ae(""), b = ae(0), E = ae(0), I = ae([]), M = s("common.all"), F = Ae(() => [
|
|
3992
3992
|
...new Set(
|
|
3993
3993
|
t.captions.map((U) => U.speakerLabel).sort().reverse()
|
|
3994
3994
|
)
|
|
@@ -4009,10 +4009,10 @@ const Jy = { name: "meeting-icon-speaker", render: Ky }, Zy = { class: "o-meetin
|
|
|
4009
4009
|
r.value && r.value.removeEventListener("wheel", o);
|
|
4010
4010
|
});
|
|
4011
4011
|
const z = (U, W) => {
|
|
4012
|
-
var
|
|
4012
|
+
var se, J, G, K, ue, xe;
|
|
4013
4013
|
const j = document.getElementsByClassName("light-keyword")[U - 1], ie = document.getElementsByClassName("light-keyword")[U - W];
|
|
4014
4014
|
ie == null || ie.classList.remove("light-keyword-active"), j == null || j.classList.add("light-keyword-active");
|
|
4015
|
-
const Y = j.offsetTop + j.offsetHeight < ((
|
|
4015
|
+
const Y = j.offsetTop + j.offsetHeight < ((se = r.value) == null ? void 0 : se.scrollTop), oe = j.offsetTop > ((J = r.value) == null ? void 0 : J.offsetHeight) + ((G = r.value) == null ? void 0 : G.scrollTop);
|
|
4016
4016
|
(Y || oe) && ((xe = r.value) == null || xe.scrollTo({
|
|
4017
4017
|
top: (ue = (K = j.parentElement) == null ? void 0 : K.parentElement) == null ? void 0 : ue.offsetTop,
|
|
4018
4018
|
behavior: "smooth"
|
|
@@ -4046,7 +4046,7 @@ const Jy = { name: "meeting-icon-speaker", render: Ky }, Zy = { class: "o-meetin
|
|
|
4046
4046
|
},
|
|
4047
4047
|
{ immediate: !0 }
|
|
4048
4048
|
);
|
|
4049
|
-
const B =
|
|
4049
|
+
const B = ae(!1), V = ae(!1), Z = (U) => {
|
|
4050
4050
|
V.value = !1, U ? I.value = F.value : I.value = [];
|
|
4051
4051
|
};
|
|
4052
4052
|
return vt(
|
|
@@ -4517,8 +4517,8 @@ function A3() {
|
|
|
4517
4517
|
}, v = d.requestInterceptorsStorage.execute(T.requestType, O);
|
|
4518
4518
|
T.uri = v.uri, T.headers = v.headers, T.body = v.body, T.metadata = v.metadata, T.retry = v.retry, T.timeout = v.timeout;
|
|
4519
4519
|
}
|
|
4520
|
-
var b = !1, E = function(oe,
|
|
4521
|
-
b || (b = !0, T.callback(oe,
|
|
4520
|
+
var b = !1, E = function(oe, se, J) {
|
|
4521
|
+
b || (b = !0, T.callback(oe, se, J));
|
|
4522
4522
|
};
|
|
4523
4523
|
function I() {
|
|
4524
4524
|
N.readyState === 4 && !d.responseInterceptorsStorage.getIsEnabled() && setTimeout(z, 0);
|
|
@@ -4545,8 +4545,8 @@ function A3() {
|
|
|
4545
4545
|
body: ie.body,
|
|
4546
4546
|
responseUrl: N.responseURL,
|
|
4547
4547
|
responseType: N.responseType
|
|
4548
|
-
},
|
|
4549
|
-
ie.body =
|
|
4548
|
+
}, se = d.responseInterceptorsStorage.execute(T.requestType, oe);
|
|
4549
|
+
ie.body = se.body, ie.headers = se.headers;
|
|
4550
4550
|
}
|
|
4551
4551
|
return E(Y, ie);
|
|
4552
4552
|
}
|
|
@@ -4554,7 +4554,7 @@ function A3() {
|
|
|
4554
4554
|
if (!H) {
|
|
4555
4555
|
var Y;
|
|
4556
4556
|
clearTimeout(j), clearTimeout(T.retryTimeout), T.useXDR && N.status === void 0 ? Y = 200 : Y = N.status === 1223 ? 204 : N.status;
|
|
4557
|
-
var oe = ie,
|
|
4557
|
+
var oe = ie, se = null;
|
|
4558
4558
|
if (Y !== 0 ? (oe = {
|
|
4559
4559
|
body: M(),
|
|
4560
4560
|
statusCode: Y,
|
|
@@ -4562,7 +4562,7 @@ function A3() {
|
|
|
4562
4562
|
headers: {},
|
|
4563
4563
|
url: k,
|
|
4564
4564
|
rawRequest: N
|
|
4565
|
-
}, N.getAllResponseHeaders && (oe.headers = r(N.getAllResponseHeaders()))) :
|
|
4565
|
+
}, N.getAllResponseHeaders && (oe.headers = r(N.getAllResponseHeaders()))) : se = new Error("Internal XMLHttpRequest Error"), T.requestType && d.responseInterceptorsStorage.getIsEnabled()) {
|
|
4566
4566
|
var J = {
|
|
4567
4567
|
headers: oe.headers || {},
|
|
4568
4568
|
body: oe.body,
|
|
@@ -4571,7 +4571,7 @@ function A3() {
|
|
|
4571
4571
|
}, G = d.responseInterceptorsStorage.execute(T.requestType, J);
|
|
4572
4572
|
oe.body = G.body, oe.headers = G.headers;
|
|
4573
4573
|
}
|
|
4574
|
-
return E(
|
|
4574
|
+
return E(se, oe, oe.body);
|
|
4575
4575
|
}
|
|
4576
4576
|
}
|
|
4577
4577
|
var N = T.xhr || null;
|
|
@@ -4711,30 +4711,30 @@ function _3() {
|
|
|
4711
4711
|
}
|
|
4712
4712
|
function W(ie, Y) {
|
|
4713
4713
|
var oe = new n();
|
|
4714
|
-
r(ie, function(
|
|
4715
|
-
switch (
|
|
4714
|
+
r(ie, function(se, J) {
|
|
4715
|
+
switch (se) {
|
|
4716
4716
|
case "region":
|
|
4717
4717
|
for (var G = V.length - 1; G >= 0; G--)
|
|
4718
4718
|
if (V[G].id === J) {
|
|
4719
|
-
oe.set(
|
|
4719
|
+
oe.set(se, V[G].region);
|
|
4720
4720
|
break;
|
|
4721
4721
|
}
|
|
4722
4722
|
break;
|
|
4723
4723
|
case "vertical":
|
|
4724
|
-
oe.alt(
|
|
4724
|
+
oe.alt(se, J, ["rl", "lr"]);
|
|
4725
4725
|
break;
|
|
4726
4726
|
case "line":
|
|
4727
4727
|
var K = J.split(","), ue = K[0];
|
|
4728
|
-
oe.integer(
|
|
4728
|
+
oe.integer(se, ue), oe.percent(se, ue) && oe.set("snapToLines", !1), oe.alt(se, ue, ["auto"]), K.length === 2 && oe.alt("lineAlign", K[1], ["start", "center", "end"]);
|
|
4729
4729
|
break;
|
|
4730
4730
|
case "position":
|
|
4731
|
-
K = J.split(","), oe.percent(
|
|
4731
|
+
K = J.split(","), oe.percent(se, K[0]), K.length === 2 && oe.alt("positionAlign", K[1], ["start", "center", "end"]);
|
|
4732
4732
|
break;
|
|
4733
4733
|
case "size":
|
|
4734
|
-
oe.percent(
|
|
4734
|
+
oe.percent(se, J);
|
|
4735
4735
|
break;
|
|
4736
4736
|
case "align":
|
|
4737
|
-
oe.alt(
|
|
4737
|
+
oe.alt(se, J, ["start", "center", "end", "left", "right"]);
|
|
4738
4738
|
break;
|
|
4739
4739
|
}
|
|
4740
4740
|
}, /:/, /\s/), Y.region = oe.get("region", null), Y.vertical = oe.get("vertical", "");
|
|
@@ -4832,9 +4832,9 @@ function _3() {
|
|
|
4832
4832
|
oe.length && oe[oe.length - 1] === Y.substr(2).replace(">", "") && (oe.pop(), ie = ie.parentNode);
|
|
4833
4833
|
continue;
|
|
4834
4834
|
}
|
|
4835
|
-
var
|
|
4836
|
-
if (
|
|
4837
|
-
J = k.document.createProcessingInstruction("timestamp",
|
|
4835
|
+
var se = s(Y.substr(1, Y.length - 2)), J;
|
|
4836
|
+
if (se) {
|
|
4837
|
+
J = k.document.createProcessingInstruction("timestamp", se), ie.appendChild(J);
|
|
4838
4838
|
continue;
|
|
4839
4839
|
}
|
|
4840
4840
|
var G = Y.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);
|
|
@@ -4985,8 +4985,8 @@ function _3() {
|
|
|
4985
4985
|
return null;
|
|
4986
4986
|
var Y = ie.pop(), oe = Y.textContent || Y.innerText;
|
|
4987
4987
|
if (oe) {
|
|
4988
|
-
var
|
|
4989
|
-
return
|
|
4988
|
+
var se = oe.match(/^.*(\n|\r)/);
|
|
4989
|
+
return se ? (ie.length = 0, se[0]) : oe;
|
|
4990
4990
|
}
|
|
4991
4991
|
if (Y.tagName === "ruby")
|
|
4992
4992
|
return W(ie);
|
|
@@ -5167,8 +5167,8 @@ function _3() {
|
|
|
5167
5167
|
Y = ["-x", "+x"], oe = "width";
|
|
5168
5168
|
break;
|
|
5169
5169
|
}
|
|
5170
|
-
var
|
|
5171
|
-
Math.abs(J) > G && (J = J < 0 ? -1 : 1, J *= Math.ceil(G /
|
|
5170
|
+
var se = W.lineHeight, J = se * Math.round(ie), G = V[oe] + se, K = Y[0];
|
|
5171
|
+
Math.abs(J) > G && (J = J < 0 ? -1 : 1, J *= Math.ceil(G / se) * se), ie < 0 && (J += j.vertical === "" ? V.height : V.width, Y = Y.reverse()), W.move(K, J);
|
|
5172
5172
|
} else {
|
|
5173
5173
|
var ue = W.lineHeight / V.height * 100;
|
|
5174
5174
|
switch (j.lineAlign) {
|
|
@@ -5224,9 +5224,9 @@ function _3() {
|
|
|
5224
5224
|
V.removeChild(V.firstChild);
|
|
5225
5225
|
var Z = k.document.createElement("div");
|
|
5226
5226
|
Z.style.position = "absolute", Z.style.left = "0", Z.style.right = "0", Z.style.top = "0", Z.style.bottom = "0", Z.style.margin = H, V.appendChild(Z);
|
|
5227
|
-
function U(
|
|
5228
|
-
for (var J = 0; J <
|
|
5229
|
-
if (
|
|
5227
|
+
function U(se) {
|
|
5228
|
+
for (var J = 0; J < se.length; J++)
|
|
5229
|
+
if (se[J].hasBeenReset || !se[J].displayState)
|
|
5230
5230
|
return !0;
|
|
5231
5231
|
return !1;
|
|
5232
5232
|
}
|
|
@@ -5239,8 +5239,8 @@ function _3() {
|
|
|
5239
5239
|
font: Y + "px " + D
|
|
5240
5240
|
};
|
|
5241
5241
|
(function() {
|
|
5242
|
-
for (var
|
|
5243
|
-
J = B[G],
|
|
5242
|
+
for (var se, J, G = 0; G < B.length; G++)
|
|
5243
|
+
J = B[G], se = new I(k, J, oe), Z.appendChild(se.div), F(k, se, ie, j), J.displayState = se.div, j.push(M.getSimpleBoxPosition(se));
|
|
5244
5244
|
})();
|
|
5245
5245
|
}, z.Parser = function(k, B, V) {
|
|
5246
5246
|
V || (V = B, B = {}), B || (B = {}), this.window = k, this.vttjs = B, this.state = "INITIAL", this.buffer = "", this.decoder = V || new TextDecoder("utf8"), this.regionList = [];
|
|
@@ -5257,16 +5257,16 @@ function _3() {
|
|
|
5257
5257
|
var B = this;
|
|
5258
5258
|
k && (B.buffer += B.decoder.decode(k, { stream: !0 }));
|
|
5259
5259
|
function V() {
|
|
5260
|
-
for (var
|
|
5260
|
+
for (var se = B.buffer, J = 0; J < se.length && se[J] !== "\r" && se[J] !== `
|
|
5261
5261
|
`; )
|
|
5262
5262
|
++J;
|
|
5263
|
-
var G =
|
|
5264
|
-
return
|
|
5265
|
-
` && ++J, B.buffer =
|
|
5263
|
+
var G = se.substr(0, J);
|
|
5264
|
+
return se[J] === "\r" && ++J, se[J] === `
|
|
5265
|
+
` && ++J, B.buffer = se.substr(J), G;
|
|
5266
5266
|
}
|
|
5267
|
-
function Z(
|
|
5267
|
+
function Z(se) {
|
|
5268
5268
|
var J = new n();
|
|
5269
|
-
if (r(
|
|
5269
|
+
if (r(se, function(K, ue) {
|
|
5270
5270
|
switch (K) {
|
|
5271
5271
|
case "id":
|
|
5272
5272
|
J.set(K, ue);
|
|
@@ -5299,9 +5299,9 @@ function _3() {
|
|
|
5299
5299
|
});
|
|
5300
5300
|
}
|
|
5301
5301
|
}
|
|
5302
|
-
function U(
|
|
5302
|
+
function U(se) {
|
|
5303
5303
|
var J = new n();
|
|
5304
|
-
r(
|
|
5304
|
+
r(se, function(G, K) {
|
|
5305
5305
|
switch (G) {
|
|
5306
5306
|
case "MPEGT":
|
|
5307
5307
|
J.integer(G + "S", K);
|
|
@@ -5315,14 +5315,14 @@ function _3() {
|
|
|
5315
5315
|
LOCAL: J.get("LOCAL")
|
|
5316
5316
|
});
|
|
5317
5317
|
}
|
|
5318
|
-
function W(
|
|
5319
|
-
|
|
5318
|
+
function W(se) {
|
|
5319
|
+
se.match(/X-TIMESTAMP-MAP/) ? r(se, function(J, G) {
|
|
5320
5320
|
switch (J) {
|
|
5321
5321
|
case "X-TIMESTAMP-MAP":
|
|
5322
5322
|
U(G);
|
|
5323
5323
|
break;
|
|
5324
5324
|
}
|
|
5325
|
-
}, /=/) : r(
|
|
5325
|
+
}, /=/) : r(se, function(J, G) {
|
|
5326
5326
|
switch (J) {
|
|
5327
5327
|
case "Region":
|
|
5328
5328
|
Z(G);
|
|
@@ -5373,8 +5373,8 @@ function _3() {
|
|
|
5373
5373
|
case "CUE":
|
|
5374
5374
|
try {
|
|
5375
5375
|
a(j, B.cue, B.regionList);
|
|
5376
|
-
} catch (
|
|
5377
|
-
B.reportOrThrowError(
|
|
5376
|
+
} catch (se) {
|
|
5377
|
+
B.reportOrThrowError(se), B.cue = null, B.state = "BADCUE";
|
|
5378
5378
|
continue;
|
|
5379
5379
|
}
|
|
5380
5380
|
B.state = "CUETEXT";
|
|
@@ -5395,8 +5395,8 @@ function _3() {
|
|
|
5395
5395
|
continue;
|
|
5396
5396
|
}
|
|
5397
5397
|
}
|
|
5398
|
-
} catch (
|
|
5399
|
-
B.reportOrThrowError(
|
|
5398
|
+
} catch (se) {
|
|
5399
|
+
B.reportOrThrowError(se), B.state === "CUETEXT" && B.cue && B.oncue && B.oncue(B.cue), B.cue = null, B.state = B.state === "INITIAL" ? "BADWEBVTT" : "BADCUE";
|
|
5400
5400
|
}
|
|
5401
5401
|
return this;
|
|
5402
5402
|
},
|
|
@@ -6921,17 +6921,17 @@ function Xf() {
|
|
|
6921
6921
|
};
|
|
6922
6922
|
}
|
|
6923
6923
|
function u(L, q) {
|
|
6924
|
-
for (var
|
|
6925
|
-
Object.prototype.hasOwnProperty.call(L,
|
|
6924
|
+
for (var re in L)
|
|
6925
|
+
Object.prototype.hasOwnProperty.call(L, re) && (q[re] = L[re]);
|
|
6926
6926
|
}
|
|
6927
6927
|
function d(L, q) {
|
|
6928
|
-
var
|
|
6929
|
-
if (!(
|
|
6928
|
+
var re = L.prototype;
|
|
6929
|
+
if (!(re instanceof q)) {
|
|
6930
6930
|
let ge = function() {
|
|
6931
6931
|
};
|
|
6932
|
-
ge.prototype = q.prototype, ge = new ge(), u(
|
|
6932
|
+
ge.prototype = q.prototype, ge = new ge(), u(re, ge), L.prototype = re = ge;
|
|
6933
6933
|
}
|
|
6934
|
-
|
|
6934
|
+
re.constructor != L && (typeof L != "function" && console.error("unknown Class:" + L), re.constructor = L);
|
|
6935
6935
|
}
|
|
6936
6936
|
var g = {}, m = g.ELEMENT_NODE = 1, S = g.ATTRIBUTE_NODE = 2, T = g.TEXT_NODE = 3, O = g.CDATA_SECTION_NODE = 4, v = g.ENTITY_REFERENCE_NODE = 5, b = g.ENTITY_NODE = 6, E = g.PROCESSING_INSTRUCTION_NODE = 7, I = g.COMMENT_NODE = 8, M = g.DOCUMENT_NODE = 9, F = g.DOCUMENT_TYPE_NODE = 10, z = g.DOCUMENT_FRAGMENT_NODE = 11, N = g.NOTATION_NODE = 12, D = {}, H = {};
|
|
6937
6937
|
D.INDEX_SIZE_ERR = (H[1] = "Index size error", 1), D.DOMSTRING_SIZE_ERR = (H[2] = "DOMString size error", 2);
|
|
@@ -6945,10 +6945,10 @@ function Xf() {
|
|
|
6945
6945
|
D.INVALID_STATE_ERR = (H[11] = "Invalid state", 11), D.SYNTAX_ERR = (H[12] = "Syntax error", 12), D.INVALID_MODIFICATION_ERR = (H[13] = "Invalid modification", 13), D.NAMESPACE_ERR = (H[14] = "Invalid namespace", 14), D.INVALID_ACCESS_ERR = (H[15] = "Invalid access", 15);
|
|
6946
6946
|
function U(L, q) {
|
|
6947
6947
|
if (q instanceof Error)
|
|
6948
|
-
var
|
|
6948
|
+
var re = q;
|
|
6949
6949
|
else
|
|
6950
|
-
|
|
6951
|
-
return
|
|
6950
|
+
re = this, Error.call(this, H[L]), this.message = H[L], Error.captureStackTrace && Error.captureStackTrace(this, U);
|
|
6951
|
+
return re.code = L, q && (this.message = this.message + ": " + q), re;
|
|
6952
6952
|
}
|
|
6953
6953
|
U.prototype = Error.prototype, u(D, U);
|
|
6954
6954
|
function W() {
|
|
@@ -6971,9 +6971,9 @@ function Xf() {
|
|
|
6971
6971
|
return L >= 0 && L < this.length ? this[L] : null;
|
|
6972
6972
|
},
|
|
6973
6973
|
toString: function(L, q) {
|
|
6974
|
-
for (var
|
|
6975
|
-
fi(this[ge],
|
|
6976
|
-
return
|
|
6974
|
+
for (var re = [], ge = 0; ge < this.length; ge++)
|
|
6975
|
+
fi(this[ge], re, L, q);
|
|
6976
|
+
return re.join("");
|
|
6977
6977
|
},
|
|
6978
6978
|
/**
|
|
6979
6979
|
* @private
|
|
@@ -6998,11 +6998,11 @@ function Xf() {
|
|
|
6998
6998
|
function ie(L) {
|
|
6999
6999
|
var q = L._node._inc || L._node.ownerDocument._inc;
|
|
7000
7000
|
if (L._inc !== q) {
|
|
7001
|
-
var
|
|
7002
|
-
if (Ki(L, "length",
|
|
7003
|
-
for (var ge =
|
|
7001
|
+
var re = L._refresh(L._node);
|
|
7002
|
+
if (Ki(L, "length", re.length), !L.$$length || re.length < L.$$length)
|
|
7003
|
+
for (var ge = re.length; ge in L; ge++)
|
|
7004
7004
|
Object.prototype.hasOwnProperty.call(L, ge) && delete L[ge];
|
|
7005
|
-
u(
|
|
7005
|
+
u(re, L), L._inc = q;
|
|
7006
7006
|
}
|
|
7007
7007
|
}
|
|
7008
7008
|
j.prototype.item = function(L) {
|
|
@@ -7011,52 +7011,52 @@ function Xf() {
|
|
|
7011
7011
|
function Y() {
|
|
7012
7012
|
}
|
|
7013
7013
|
function oe(L, q) {
|
|
7014
|
-
for (var
|
|
7015
|
-
if (L[
|
|
7016
|
-
return
|
|
7014
|
+
for (var re = L.length; re--; )
|
|
7015
|
+
if (L[re] === q)
|
|
7016
|
+
return re;
|
|
7017
7017
|
}
|
|
7018
|
-
function
|
|
7019
|
-
if (ge ? q[oe(q, ge)] =
|
|
7020
|
-
|
|
7018
|
+
function se(L, q, re, ge) {
|
|
7019
|
+
if (ge ? q[oe(q, ge)] = re : q[q.length++] = re, L) {
|
|
7020
|
+
re.ownerElement = L;
|
|
7021
7021
|
var Xe = L.ownerDocument;
|
|
7022
|
-
Xe && (ge && me(Xe, L, ge), ye(Xe, L,
|
|
7022
|
+
Xe && (ge && me(Xe, L, ge), ye(Xe, L, re));
|
|
7023
7023
|
}
|
|
7024
7024
|
}
|
|
7025
|
-
function J(L, q,
|
|
7026
|
-
var ge = oe(q,
|
|
7025
|
+
function J(L, q, re) {
|
|
7026
|
+
var ge = oe(q, re);
|
|
7027
7027
|
if (ge >= 0) {
|
|
7028
7028
|
for (var Xe = q.length - 1; ge < Xe; )
|
|
7029
7029
|
q[ge] = q[++ge];
|
|
7030
7030
|
if (q.length = Xe, L) {
|
|
7031
7031
|
var ot = L.ownerDocument;
|
|
7032
|
-
ot && (me(ot, L,
|
|
7032
|
+
ot && (me(ot, L, re), re.ownerElement = null);
|
|
7033
7033
|
}
|
|
7034
7034
|
} else
|
|
7035
|
-
throw new U(V, new Error(L.tagName + "@" +
|
|
7035
|
+
throw new U(V, new Error(L.tagName + "@" + re));
|
|
7036
7036
|
}
|
|
7037
7037
|
Y.prototype = {
|
|
7038
7038
|
length: 0,
|
|
7039
7039
|
item: W.prototype.item,
|
|
7040
7040
|
getNamedItem: function(L) {
|
|
7041
7041
|
for (var q = this.length; q--; ) {
|
|
7042
|
-
var
|
|
7043
|
-
if (
|
|
7044
|
-
return
|
|
7042
|
+
var re = this[q];
|
|
7043
|
+
if (re.nodeName == L)
|
|
7044
|
+
return re;
|
|
7045
7045
|
}
|
|
7046
7046
|
},
|
|
7047
7047
|
setNamedItem: function(L) {
|
|
7048
7048
|
var q = L.ownerElement;
|
|
7049
7049
|
if (q && q != this._ownerElement)
|
|
7050
7050
|
throw new U(Z);
|
|
7051
|
-
var
|
|
7052
|
-
return
|
|
7051
|
+
var re = this.getNamedItem(L.nodeName);
|
|
7052
|
+
return se(this._ownerElement, this, L, re), re;
|
|
7053
7053
|
},
|
|
7054
7054
|
/* returns Node */
|
|
7055
7055
|
setNamedItemNS: function(L) {
|
|
7056
|
-
var q = L.ownerElement,
|
|
7056
|
+
var q = L.ownerElement, re;
|
|
7057
7057
|
if (q && q != this._ownerElement)
|
|
7058
7058
|
throw new U(Z);
|
|
7059
|
-
return
|
|
7059
|
+
return re = this.getNamedItemNS(L.namespaceURI, L.localName), se(this._ownerElement, this, L, re), re;
|
|
7060
7060
|
},
|
|
7061
7061
|
/* returns Node */
|
|
7062
7062
|
removeNamedItem: function(L) {
|
|
@@ -7066,12 +7066,12 @@ function Xf() {
|
|
|
7066
7066
|
// raises: NOT_FOUND_ERR,NO_MODIFICATION_ALLOWED_ERR
|
|
7067
7067
|
//for level2
|
|
7068
7068
|
removeNamedItemNS: function(L, q) {
|
|
7069
|
-
var
|
|
7070
|
-
return J(this._ownerElement, this,
|
|
7069
|
+
var re = this.getNamedItemNS(L, q);
|
|
7070
|
+
return J(this._ownerElement, this, re), re;
|
|
7071
7071
|
},
|
|
7072
7072
|
getNamedItemNS: function(L, q) {
|
|
7073
|
-
for (var
|
|
7074
|
-
var ge = this[
|
|
7073
|
+
for (var re = this.length; re--; ) {
|
|
7074
|
+
var ge = this[re];
|
|
7075
7075
|
if (ge.localName == q && ge.namespaceURI == L)
|
|
7076
7076
|
return ge;
|
|
7077
7077
|
}
|
|
@@ -7121,9 +7121,9 @@ function Xf() {
|
|
|
7121
7121
|
* @see https://www.w3.org/TR/xml/#NT-NameStartChar XML Spec: Names
|
|
7122
7122
|
* @see https://www.w3.org/TR/xml-names/#ns-qualnames XML Namespaces: Qualified names
|
|
7123
7123
|
*/
|
|
7124
|
-
createDocument: function(L, q,
|
|
7124
|
+
createDocument: function(L, q, re) {
|
|
7125
7125
|
var ge = new te();
|
|
7126
|
-
if (ge.implementation = this, ge.childNodes = new W(), ge.doctype =
|
|
7126
|
+
if (ge.implementation = this, ge.childNodes = new W(), ge.doctype = re || null, re && ge.appendChild(re), q) {
|
|
7127
7127
|
var Xe = ge.createElementNS(L, q);
|
|
7128
7128
|
ge.appendChild(Xe);
|
|
7129
7129
|
}
|
|
@@ -7150,9 +7150,9 @@ function Xf() {
|
|
|
7150
7150
|
* @see https://www.w3.org/TR/xml/#NT-NameStartChar XML Spec: Names
|
|
7151
7151
|
* @see https://www.w3.org/TR/xml-names/#ns-qualnames XML Namespaces: Qualified names
|
|
7152
7152
|
*/
|
|
7153
|
-
createDocumentType: function(L, q,
|
|
7153
|
+
createDocumentType: function(L, q, re) {
|
|
7154
7154
|
var ge = new st();
|
|
7155
|
-
return ge.name = L, ge.nodeName = L, ge.publicId = q || "", ge.systemId =
|
|
7155
|
+
return ge.name = L, ge.nodeName = L, ge.publicId = q || "", ge.systemId = re || "", ge;
|
|
7156
7156
|
}
|
|
7157
7157
|
};
|
|
7158
7158
|
function K() {
|
|
@@ -7220,10 +7220,10 @@ function Xf() {
|
|
|
7220
7220
|
*/
|
|
7221
7221
|
lookupPrefix: function(L) {
|
|
7222
7222
|
for (var q = this; q; ) {
|
|
7223
|
-
var
|
|
7224
|
-
if (
|
|
7225
|
-
for (var ge in
|
|
7226
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
7223
|
+
var re = q._nsMap;
|
|
7224
|
+
if (re) {
|
|
7225
|
+
for (var ge in re)
|
|
7226
|
+
if (Object.prototype.hasOwnProperty.call(re, ge) && re[ge] === L)
|
|
7227
7227
|
return ge;
|
|
7228
7228
|
}
|
|
7229
7229
|
q = q.nodeType == S ? q.ownerDocument : q.parentNode;
|
|
@@ -7233,9 +7233,9 @@ function Xf() {
|
|
|
7233
7233
|
// Introduced in DOM Level 3:
|
|
7234
7234
|
lookupNamespaceURI: function(L) {
|
|
7235
7235
|
for (var q = this; q; ) {
|
|
7236
|
-
var
|
|
7237
|
-
if (
|
|
7238
|
-
return
|
|
7236
|
+
var re = q._nsMap;
|
|
7237
|
+
if (re && Object.prototype.hasOwnProperty.call(re, L))
|
|
7238
|
+
return re[L];
|
|
7239
7239
|
q = q.nodeType == S ? q.ownerDocument : q.parentNode;
|
|
7240
7240
|
}
|
|
7241
7241
|
return null;
|
|
@@ -7262,22 +7262,22 @@ function Xf() {
|
|
|
7262
7262
|
function te() {
|
|
7263
7263
|
this.ownerDocument = this;
|
|
7264
7264
|
}
|
|
7265
|
-
function ye(L, q,
|
|
7265
|
+
function ye(L, q, re) {
|
|
7266
7266
|
L && L._inc++;
|
|
7267
|
-
var ge =
|
|
7268
|
-
ge === t.XMLNS && (q._nsMap[
|
|
7267
|
+
var ge = re.namespaceURI;
|
|
7268
|
+
ge === t.XMLNS && (q._nsMap[re.prefix ? re.localName : ""] = re.value);
|
|
7269
7269
|
}
|
|
7270
|
-
function me(L, q,
|
|
7270
|
+
function me(L, q, re, ge) {
|
|
7271
7271
|
L && L._inc++;
|
|
7272
|
-
var Xe =
|
|
7273
|
-
Xe === t.XMLNS && delete q._nsMap[
|
|
7272
|
+
var Xe = re.namespaceURI;
|
|
7273
|
+
Xe === t.XMLNS && delete q._nsMap[re.prefix ? re.localName : ""];
|
|
7274
7274
|
}
|
|
7275
|
-
function Ve(L, q,
|
|
7275
|
+
function Ve(L, q, re) {
|
|
7276
7276
|
if (L && L._inc) {
|
|
7277
7277
|
L._inc++;
|
|
7278
7278
|
var ge = q.childNodes;
|
|
7279
|
-
if (
|
|
7280
|
-
ge[ge.length++] =
|
|
7279
|
+
if (re)
|
|
7280
|
+
ge[ge.length++] = re;
|
|
7281
7281
|
else {
|
|
7282
7282
|
for (var Xe = q.firstChild, ot = 0; Xe; )
|
|
7283
7283
|
ge[ot++] = Xe, Xe = Xe.nextSibling;
|
|
@@ -7286,8 +7286,8 @@ function Xf() {
|
|
|
7286
7286
|
}
|
|
7287
7287
|
}
|
|
7288
7288
|
function _e(L, q) {
|
|
7289
|
-
var
|
|
7290
|
-
return
|
|
7289
|
+
var re = q.previousSibling, ge = q.nextSibling;
|
|
7290
|
+
return re ? re.nextSibling = ge : L.firstChild = ge, ge ? ge.previousSibling = re : L.lastChild = re, q.parentNode = null, q.previousSibling = null, q.nextSibling = null, Ve(L.ownerDocument, L), q;
|
|
7291
7291
|
}
|
|
7292
7292
|
function qe(L) {
|
|
7293
7293
|
return L && (L.nodeType === K.DOCUMENT_NODE || L.nodeType === K.DOCUMENT_FRAGMENT_NODE || L.nodeType === K.ELEMENT_NODE);
|
|
@@ -7305,26 +7305,26 @@ function Xf() {
|
|
|
7305
7305
|
return L && L.nodeType === K.TEXT_NODE;
|
|
7306
7306
|
}
|
|
7307
7307
|
function ht(L, q) {
|
|
7308
|
-
var
|
|
7309
|
-
if (e(
|
|
7308
|
+
var re = L.childNodes || [];
|
|
7309
|
+
if (e(re, Le) || ve(q))
|
|
7310
7310
|
return !1;
|
|
7311
|
-
var ge = e(
|
|
7312
|
-
return !(q && ge &&
|
|
7311
|
+
var ge = e(re, ve);
|
|
7312
|
+
return !(q && ge && re.indexOf(ge) > re.indexOf(q));
|
|
7313
7313
|
}
|
|
7314
7314
|
function $e(L, q) {
|
|
7315
|
-
var
|
|
7315
|
+
var re = L.childNodes || [];
|
|
7316
7316
|
function ge(ot) {
|
|
7317
7317
|
return Le(ot) && ot !== q;
|
|
7318
7318
|
}
|
|
7319
|
-
if (e(
|
|
7319
|
+
if (e(re, ge))
|
|
7320
7320
|
return !1;
|
|
7321
|
-
var Xe = e(
|
|
7322
|
-
return !(q && Xe &&
|
|
7321
|
+
var Xe = e(re, ve);
|
|
7322
|
+
return !(q && Xe && re.indexOf(Xe) > re.indexOf(q));
|
|
7323
7323
|
}
|
|
7324
|
-
function wt(L, q,
|
|
7324
|
+
function wt(L, q, re) {
|
|
7325
7325
|
if (!qe(L))
|
|
7326
7326
|
throw new U(k, "Unexpected parent node type " + L.nodeType);
|
|
7327
|
-
if (
|
|
7327
|
+
if (re && re.parentNode !== L)
|
|
7328
7328
|
throw new U(V, "child not in parent");
|
|
7329
7329
|
if (
|
|
7330
7330
|
// 4. If `node` is not a DocumentFragment, DocumentType, Element, or CharacterData node, then throw a "HierarchyRequestError" DOMException.
|
|
@@ -7339,50 +7339,50 @@ function Xf() {
|
|
|
7339
7339
|
"Unexpected node type " + q.nodeType + " for parent node type " + L.nodeType
|
|
7340
7340
|
);
|
|
7341
7341
|
}
|
|
7342
|
-
function Ye(L, q,
|
|
7342
|
+
function Ye(L, q, re) {
|
|
7343
7343
|
var ge = L.childNodes || [], Xe = q.childNodes || [];
|
|
7344
7344
|
if (q.nodeType === K.DOCUMENT_FRAGMENT_NODE) {
|
|
7345
7345
|
var ot = Xe.filter(Le);
|
|
7346
7346
|
if (ot.length > 1 || e(Xe, je))
|
|
7347
7347
|
throw new U(k, "More than one element or text in fragment");
|
|
7348
|
-
if (ot.length === 1 && !ht(L,
|
|
7348
|
+
if (ot.length === 1 && !ht(L, re))
|
|
7349
7349
|
throw new U(k, "Element in fragment can not be inserted before doctype");
|
|
7350
7350
|
}
|
|
7351
|
-
if (Le(q) && !ht(L,
|
|
7351
|
+
if (Le(q) && !ht(L, re))
|
|
7352
7352
|
throw new U(k, "Only one element can be added and only after doctype");
|
|
7353
7353
|
if (ve(q)) {
|
|
7354
7354
|
if (e(ge, ve))
|
|
7355
7355
|
throw new U(k, "Only one doctype is allowed");
|
|
7356
7356
|
var Ct = e(ge, Le);
|
|
7357
|
-
if (
|
|
7357
|
+
if (re && ge.indexOf(Ct) < ge.indexOf(re))
|
|
7358
7358
|
throw new U(k, "Doctype can only be inserted before an element");
|
|
7359
|
-
if (!
|
|
7359
|
+
if (!re && Ct)
|
|
7360
7360
|
throw new U(k, "Doctype can not be appended since element is present");
|
|
7361
7361
|
}
|
|
7362
7362
|
}
|
|
7363
|
-
function Pe(L, q,
|
|
7363
|
+
function Pe(L, q, re) {
|
|
7364
7364
|
var ge = L.childNodes || [], Xe = q.childNodes || [];
|
|
7365
7365
|
if (q.nodeType === K.DOCUMENT_FRAGMENT_NODE) {
|
|
7366
7366
|
var ot = Xe.filter(Le);
|
|
7367
7367
|
if (ot.length > 1 || e(Xe, je))
|
|
7368
7368
|
throw new U(k, "More than one element or text in fragment");
|
|
7369
|
-
if (ot.length === 1 && !$e(L,
|
|
7369
|
+
if (ot.length === 1 && !$e(L, re))
|
|
7370
7370
|
throw new U(k, "Element in fragment can not be inserted before doctype");
|
|
7371
7371
|
}
|
|
7372
|
-
if (Le(q) && !$e(L,
|
|
7372
|
+
if (Le(q) && !$e(L, re))
|
|
7373
7373
|
throw new U(k, "Only one element can be added and only after doctype");
|
|
7374
7374
|
if (ve(q)) {
|
|
7375
7375
|
if (e(ge, function(xi) {
|
|
7376
|
-
return ve(xi) && xi !==
|
|
7376
|
+
return ve(xi) && xi !== re;
|
|
7377
7377
|
}))
|
|
7378
7378
|
throw new U(k, "Only one doctype is allowed");
|
|
7379
7379
|
var Ct = e(ge, Le);
|
|
7380
|
-
if (
|
|
7380
|
+
if (re && ge.indexOf(Ct) < ge.indexOf(re))
|
|
7381
7381
|
throw new U(k, "Doctype can only be inserted before an element");
|
|
7382
7382
|
}
|
|
7383
7383
|
}
|
|
7384
|
-
function Te(L, q,
|
|
7385
|
-
wt(L, q,
|
|
7384
|
+
function Te(L, q, re, ge) {
|
|
7385
|
+
wt(L, q, re), L.nodeType === K.DOCUMENT_NODE && (ge || Ye)(L, q, re);
|
|
7386
7386
|
var Xe = q.parentNode;
|
|
7387
7387
|
if (Xe && Xe.removeChild(q), q.nodeType === z) {
|
|
7388
7388
|
var ot = q.firstChild;
|
|
@@ -7391,8 +7391,8 @@ function Xf() {
|
|
|
7391
7391
|
var Ct = q.lastChild;
|
|
7392
7392
|
} else
|
|
7393
7393
|
ot = Ct = q;
|
|
7394
|
-
var ti =
|
|
7395
|
-
ot.previousSibling = ti, Ct.nextSibling =
|
|
7394
|
+
var ti = re ? re.previousSibling : L.lastChild;
|
|
7395
|
+
ot.previousSibling = ti, Ct.nextSibling = re, ti ? ti.nextSibling = ot : L.firstChild = ot, re == null ? L.lastChild = Ct : re.previousSibling = Ct;
|
|
7396
7396
|
do {
|
|
7397
7397
|
ot.parentNode = L;
|
|
7398
7398
|
var xi = L.ownerDocument || L;
|
|
@@ -7403,8 +7403,8 @@ function Xf() {
|
|
|
7403
7403
|
function be(L, q) {
|
|
7404
7404
|
if (L.ownerDocument !== q) {
|
|
7405
7405
|
if (L.ownerDocument = q, L.nodeType === m && L.attributes)
|
|
7406
|
-
for (var
|
|
7407
|
-
var ge = L.attributes.item(
|
|
7406
|
+
for (var re = 0; re < L.attributes.length; re++) {
|
|
7407
|
+
var ge = L.attributes.item(re);
|
|
7408
7408
|
ge && (ge.ownerDocument = q);
|
|
7409
7409
|
}
|
|
7410
7410
|
for (var Xe = L.firstChild; Xe; )
|
|
@@ -7413,8 +7413,8 @@ function Xf() {
|
|
|
7413
7413
|
}
|
|
7414
7414
|
function tt(L, q) {
|
|
7415
7415
|
q.parentNode && q.parentNode.removeChild(q), q.parentNode = L, q.previousSibling = L.lastChild, q.nextSibling = null, q.previousSibling ? q.previousSibling.nextSibling = q : L.firstChild = q, L.lastChild = q, Ve(L.ownerDocument, L, q);
|
|
7416
|
-
var
|
|
7417
|
-
return be(q,
|
|
7416
|
+
var re = L.ownerDocument || L;
|
|
7417
|
+
return be(q, re), q;
|
|
7418
7418
|
}
|
|
7419
7419
|
te.prototype = {
|
|
7420
7420
|
//implementation : null,
|
|
@@ -7431,9 +7431,9 @@ function Xf() {
|
|
|
7431
7431
|
_inc: 1,
|
|
7432
7432
|
insertBefore: function(L, q) {
|
|
7433
7433
|
if (L.nodeType == z) {
|
|
7434
|
-
for (var
|
|
7435
|
-
var ge =
|
|
7436
|
-
this.insertBefore(
|
|
7434
|
+
for (var re = L.firstChild; re; ) {
|
|
7435
|
+
var ge = re.nextSibling;
|
|
7436
|
+
this.insertBefore(re, q), re = ge;
|
|
7437
7437
|
}
|
|
7438
7438
|
return L;
|
|
7439
7439
|
}
|
|
@@ -7452,9 +7452,9 @@ function Xf() {
|
|
|
7452
7452
|
// Introduced in DOM Level 2:
|
|
7453
7453
|
getElementById: function(L) {
|
|
7454
7454
|
var q = null;
|
|
7455
|
-
return xe(this.documentElement, function(
|
|
7456
|
-
if (
|
|
7457
|
-
return q =
|
|
7455
|
+
return xe(this.documentElement, function(re) {
|
|
7456
|
+
if (re.nodeType == m && re.getAttribute("id") == L)
|
|
7457
|
+
return q = re, !0;
|
|
7458
7458
|
}), q;
|
|
7459
7459
|
},
|
|
7460
7460
|
/**
|
|
@@ -7476,10 +7476,10 @@ function Xf() {
|
|
|
7476
7476
|
*/
|
|
7477
7477
|
getElementsByClassName: function(L) {
|
|
7478
7478
|
var q = a(L);
|
|
7479
|
-
return new j(this, function(
|
|
7479
|
+
return new j(this, function(re) {
|
|
7480
7480
|
var ge = [];
|
|
7481
|
-
return q.length > 0 && xe(
|
|
7482
|
-
if (Xe !==
|
|
7481
|
+
return q.length > 0 && xe(re.documentElement, function(Xe) {
|
|
7482
|
+
if (Xe !== re && Xe.nodeType === m) {
|
|
7483
7483
|
var ot = Xe.getAttribute("class");
|
|
7484
7484
|
if (ot) {
|
|
7485
7485
|
var Ct = L === ot;
|
|
@@ -7497,8 +7497,8 @@ function Xf() {
|
|
|
7497
7497
|
createElement: function(L) {
|
|
7498
7498
|
var q = new ke();
|
|
7499
7499
|
q.ownerDocument = this, q.nodeName = L, q.tagName = L, q.localName = L, q.childNodes = new W();
|
|
7500
|
-
var
|
|
7501
|
-
return
|
|
7500
|
+
var re = q.attributes = new Y();
|
|
7501
|
+
return re._ownerElement = q, q;
|
|
7502
7502
|
},
|
|
7503
7503
|
createDocumentFragment: function() {
|
|
7504
7504
|
var L = new ni();
|
|
@@ -7531,8 +7531,8 @@ function Xf() {
|
|
|
7531
7531
|
return q.ownerDocument = this, q.appendData(L), q;
|
|
7532
7532
|
},
|
|
7533
7533
|
createProcessingInstruction: function(L, q) {
|
|
7534
|
-
var
|
|
7535
|
-
return
|
|
7534
|
+
var re = new Nt();
|
|
7535
|
+
return re.ownerDocument = this, re.tagName = re.nodeName = re.target = L, re.nodeValue = re.data = q, re;
|
|
7536
7536
|
},
|
|
7537
7537
|
createAttribute: function(L) {
|
|
7538
7538
|
var q = new Me();
|
|
@@ -7544,13 +7544,13 @@ function Xf() {
|
|
|
7544
7544
|
},
|
|
7545
7545
|
// Introduced in DOM Level 2:
|
|
7546
7546
|
createElementNS: function(L, q) {
|
|
7547
|
-
var
|
|
7548
|
-
return
|
|
7547
|
+
var re = new ke(), ge = q.split(":"), Xe = re.attributes = new Y();
|
|
7548
|
+
return re.childNodes = new W(), re.ownerDocument = this, re.nodeName = q, re.tagName = q, re.namespaceURI = L, ge.length == 2 ? (re.prefix = ge[0], re.localName = ge[1]) : re.localName = q, Xe._ownerElement = re, re;
|
|
7549
7549
|
},
|
|
7550
7550
|
// Introduced in DOM Level 2:
|
|
7551
7551
|
createAttributeNS: function(L, q) {
|
|
7552
|
-
var
|
|
7553
|
-
return
|
|
7552
|
+
var re = new Me(), ge = q.split(":");
|
|
7553
|
+
return re.ownerDocument = this, re.nodeName = q, re.name = q, re.namespaceURI = L, re.specified = !0, ge.length == 2 ? (re.prefix = ge[0], re.localName = ge[1]) : re.localName = q, re;
|
|
7554
7554
|
}
|
|
7555
7555
|
}, d(te, K);
|
|
7556
7556
|
function ke() {
|
|
@@ -7569,8 +7569,8 @@ function Xf() {
|
|
|
7569
7569
|
return this.attributes.getNamedItem(L);
|
|
7570
7570
|
},
|
|
7571
7571
|
setAttribute: function(L, q) {
|
|
7572
|
-
var
|
|
7573
|
-
|
|
7572
|
+
var re = this.ownerDocument.createAttribute(L);
|
|
7573
|
+
re.value = re.nodeValue = "" + q, this.setAttributeNode(re);
|
|
7574
7574
|
},
|
|
7575
7575
|
removeAttribute: function(L) {
|
|
7576
7576
|
var q = this.getAttributeNode(L);
|
|
@@ -7591,36 +7591,36 @@ function Xf() {
|
|
|
7591
7591
|
},
|
|
7592
7592
|
//get real attribute name,and remove it by removeAttributeNode
|
|
7593
7593
|
removeAttributeNS: function(L, q) {
|
|
7594
|
-
var
|
|
7595
|
-
|
|
7594
|
+
var re = this.getAttributeNodeNS(L, q);
|
|
7595
|
+
re && this.removeAttributeNode(re);
|
|
7596
7596
|
},
|
|
7597
7597
|
hasAttributeNS: function(L, q) {
|
|
7598
7598
|
return this.getAttributeNodeNS(L, q) != null;
|
|
7599
7599
|
},
|
|
7600
7600
|
getAttributeNS: function(L, q) {
|
|
7601
|
-
var
|
|
7602
|
-
return
|
|
7601
|
+
var re = this.getAttributeNodeNS(L, q);
|
|
7602
|
+
return re && re.value || "";
|
|
7603
7603
|
},
|
|
7604
|
-
setAttributeNS: function(L, q,
|
|
7604
|
+
setAttributeNS: function(L, q, re) {
|
|
7605
7605
|
var ge = this.ownerDocument.createAttributeNS(L, q);
|
|
7606
|
-
ge.value = ge.nodeValue = "" +
|
|
7606
|
+
ge.value = ge.nodeValue = "" + re, this.setAttributeNode(ge);
|
|
7607
7607
|
},
|
|
7608
7608
|
getAttributeNodeNS: function(L, q) {
|
|
7609
7609
|
return this.attributes.getNamedItemNS(L, q);
|
|
7610
7610
|
},
|
|
7611
7611
|
getElementsByTagName: function(L) {
|
|
7612
7612
|
return new j(this, function(q) {
|
|
7613
|
-
var
|
|
7613
|
+
var re = [];
|
|
7614
7614
|
return xe(q, function(ge) {
|
|
7615
|
-
ge !== q && ge.nodeType == m && (L === "*" || ge.tagName == L) &&
|
|
7616
|
-
}),
|
|
7615
|
+
ge !== q && ge.nodeType == m && (L === "*" || ge.tagName == L) && re.push(ge);
|
|
7616
|
+
}), re;
|
|
7617
7617
|
});
|
|
7618
7618
|
},
|
|
7619
7619
|
getElementsByTagNameNS: function(L, q) {
|
|
7620
|
-
return new j(this, function(
|
|
7620
|
+
return new j(this, function(re) {
|
|
7621
7621
|
var ge = [];
|
|
7622
|
-
return xe(
|
|
7623
|
-
Xe !==
|
|
7622
|
+
return xe(re, function(Xe) {
|
|
7623
|
+
Xe !== re && Xe.nodeType === m && (L === "*" || Xe.namespaceURI === L) && (q === "*" || Xe.localName == q) && ge.push(Xe);
|
|
7624
7624
|
}), ge;
|
|
7625
7625
|
});
|
|
7626
7626
|
}
|
|
@@ -7647,9 +7647,9 @@ function Xf() {
|
|
|
7647
7647
|
deleteData: function(L, q) {
|
|
7648
7648
|
this.replaceData(L, q, "");
|
|
7649
7649
|
},
|
|
7650
|
-
replaceData: function(L, q,
|
|
7650
|
+
replaceData: function(L, q, re) {
|
|
7651
7651
|
var ge = this.data.substring(0, L), Xe = this.data.substring(L + q);
|
|
7652
|
-
|
|
7652
|
+
re = ge + re + Xe, this.nodeValue = this.data = re, this.length = re.length;
|
|
7653
7653
|
}
|
|
7654
7654
|
}, d(Fe, K);
|
|
7655
7655
|
function Se() {
|
|
@@ -7658,9 +7658,9 @@ function Xf() {
|
|
|
7658
7658
|
nodeName: "#text",
|
|
7659
7659
|
nodeType: T,
|
|
7660
7660
|
splitText: function(L) {
|
|
7661
|
-
var q = this.data,
|
|
7661
|
+
var q = this.data, re = q.substring(L);
|
|
7662
7662
|
q = q.substring(0, L), this.data = this.nodeValue = q, this.length = q.length;
|
|
7663
|
-
var ge = this.ownerDocument.createTextNode(
|
|
7663
|
+
var ge = this.ownerDocument.createTextNode(re);
|
|
7664
7664
|
return this.parentNode && this.parentNode.insertBefore(ge, this.nextSibling), ge;
|
|
7665
7665
|
}
|
|
7666
7666
|
}, d(Se, Fe);
|
|
@@ -7696,11 +7696,11 @@ function Xf() {
|
|
|
7696
7696
|
Nt.prototype.nodeType = E, d(Nt, K);
|
|
7697
7697
|
function ri() {
|
|
7698
7698
|
}
|
|
7699
|
-
ri.prototype.serializeToString = function(L, q,
|
|
7700
|
-
return ei.call(L, q,
|
|
7699
|
+
ri.prototype.serializeToString = function(L, q, re) {
|
|
7700
|
+
return ei.call(L, q, re);
|
|
7701
7701
|
}, K.prototype.toString = ei;
|
|
7702
7702
|
function ei(L, q) {
|
|
7703
|
-
var
|
|
7703
|
+
var re = [], ge = this.nodeType == 9 && this.documentElement || this, Xe = ge.prefix, ot = ge.namespaceURI;
|
|
7704
7704
|
if (ot && Xe == null) {
|
|
7705
7705
|
var Xe = ge.lookupPrefix(ot);
|
|
7706
7706
|
if (Xe == null)
|
|
@@ -7709,23 +7709,23 @@ function Xf() {
|
|
|
7709
7709
|
//{namespace:uri,prefix:''}
|
|
7710
7710
|
];
|
|
7711
7711
|
}
|
|
7712
|
-
return fi(this,
|
|
7712
|
+
return fi(this, re, L, q, Ct), re.join("");
|
|
7713
7713
|
}
|
|
7714
|
-
function hi(L, q,
|
|
7714
|
+
function hi(L, q, re) {
|
|
7715
7715
|
var ge = L.prefix || "", Xe = L.namespaceURI;
|
|
7716
7716
|
if (!Xe || ge === "xml" && Xe === t.XML || Xe === t.XMLNS)
|
|
7717
7717
|
return !1;
|
|
7718
|
-
for (var ot =
|
|
7719
|
-
var Ct =
|
|
7718
|
+
for (var ot = re.length; ot--; ) {
|
|
7719
|
+
var Ct = re[ot];
|
|
7720
7720
|
if (Ct.prefix === ge)
|
|
7721
7721
|
return Ct.namespace !== Xe;
|
|
7722
7722
|
}
|
|
7723
7723
|
return !0;
|
|
7724
7724
|
}
|
|
7725
|
-
function Li(L, q,
|
|
7726
|
-
L.push(" ", q, '="',
|
|
7725
|
+
function Li(L, q, re) {
|
|
7726
|
+
L.push(" ", q, '="', re.replace(/[<>&"\t\n\r]/g, ue), '"');
|
|
7727
7727
|
}
|
|
7728
|
-
function fi(L, q,
|
|
7728
|
+
function fi(L, q, re, ge, Xe) {
|
|
7729
7729
|
if (Xe || (Xe = []), ge)
|
|
7730
7730
|
if (L = ge(L), L) {
|
|
7731
7731
|
if (typeof L == "string") {
|
|
@@ -7737,9 +7737,9 @@ function Xf() {
|
|
|
7737
7737
|
switch (L.nodeType) {
|
|
7738
7738
|
case m:
|
|
7739
7739
|
var ot = L.attributes, Ct = ot.length, Mt = L.firstChild, ti = L.tagName;
|
|
7740
|
-
|
|
7740
|
+
re = t.isHTML(L.namespaceURI) || re;
|
|
7741
7741
|
var xi = ti;
|
|
7742
|
-
if (!
|
|
7742
|
+
if (!re && !L.prefix && L.namespaceURI) {
|
|
7743
7743
|
for (var bi, pi = 0; pi < ot.length; pi++)
|
|
7744
7744
|
if (ot.item(pi).name === "xmlns") {
|
|
7745
7745
|
bi = ot.item(pi).value;
|
|
@@ -7769,23 +7769,23 @@ function Xf() {
|
|
|
7769
7769
|
}
|
|
7770
7770
|
for (var Ri = 0; Ri < Ct; Ri++) {
|
|
7771
7771
|
var Ei = ot.item(Ri);
|
|
7772
|
-
if (hi(Ei,
|
|
7772
|
+
if (hi(Ei, re, Xe)) {
|
|
7773
7773
|
var Si = Ei.prefix || "", ii = Ei.namespaceURI;
|
|
7774
7774
|
Li(q, Si ? "xmlns:" + Si : "xmlns", ii), Xe.push({ prefix: Si, namespace: ii });
|
|
7775
7775
|
}
|
|
7776
|
-
fi(Ei, q,
|
|
7776
|
+
fi(Ei, q, re, ge, Xe);
|
|
7777
7777
|
}
|
|
7778
|
-
if (ti === xi && hi(L,
|
|
7778
|
+
if (ti === xi && hi(L, re, Xe)) {
|
|
7779
7779
|
var Si = L.prefix || "", ii = L.namespaceURI;
|
|
7780
7780
|
Li(q, Si ? "xmlns:" + Si : "xmlns", ii), Xe.push({ prefix: Si, namespace: ii });
|
|
7781
7781
|
}
|
|
7782
|
-
if (Mt ||
|
|
7783
|
-
if (q.push(">"),
|
|
7782
|
+
if (Mt || re && !/^(?:meta|link|img|br|hr|input)$/i.test(ti)) {
|
|
7783
|
+
if (q.push(">"), re && /^script$/i.test(ti))
|
|
7784
7784
|
for (; Mt; )
|
|
7785
|
-
Mt.data ? q.push(Mt.data) : fi(Mt, q,
|
|
7785
|
+
Mt.data ? q.push(Mt.data) : fi(Mt, q, re, ge, Xe.slice()), Mt = Mt.nextSibling;
|
|
7786
7786
|
else
|
|
7787
7787
|
for (; Mt; )
|
|
7788
|
-
fi(Mt, q,
|
|
7788
|
+
fi(Mt, q, re, ge, Xe.slice()), Mt = Mt.nextSibling;
|
|
7789
7789
|
q.push("</", xi, ">");
|
|
7790
7790
|
} else
|
|
7791
7791
|
q.push("/>");
|
|
@@ -7793,7 +7793,7 @@ function Xf() {
|
|
|
7793
7793
|
case M:
|
|
7794
7794
|
case z:
|
|
7795
7795
|
for (var Mt = L.firstChild; Mt; )
|
|
7796
|
-
fi(Mt, q,
|
|
7796
|
+
fi(Mt, q, re, ge, Xe.slice()), Mt = Mt.nextSibling;
|
|
7797
7797
|
return;
|
|
7798
7798
|
case S:
|
|
7799
7799
|
return Li(q, L.name, L.value);
|
|
@@ -7826,7 +7826,7 @@ function Xf() {
|
|
|
7826
7826
|
q.push("??", L.nodeName);
|
|
7827
7827
|
}
|
|
7828
7828
|
}
|
|
7829
|
-
function Wi(L, q,
|
|
7829
|
+
function Wi(L, q, re) {
|
|
7830
7830
|
var ge;
|
|
7831
7831
|
switch (q.nodeType) {
|
|
7832
7832
|
case m:
|
|
@@ -7839,15 +7839,15 @@ function Xf() {
|
|
|
7839
7839
|
case z:
|
|
7840
7840
|
break;
|
|
7841
7841
|
case S:
|
|
7842
|
-
|
|
7842
|
+
re = !0;
|
|
7843
7843
|
break;
|
|
7844
7844
|
}
|
|
7845
|
-
if (ge || (ge = q.cloneNode(!1)), ge.ownerDocument = L, ge.parentNode = null,
|
|
7845
|
+
if (ge || (ge = q.cloneNode(!1)), ge.ownerDocument = L, ge.parentNode = null, re)
|
|
7846
7846
|
for (var Xe = q.firstChild; Xe; )
|
|
7847
|
-
ge.appendChild(Wi(L, Xe,
|
|
7847
|
+
ge.appendChild(Wi(L, Xe, re)), Xe = Xe.nextSibling;
|
|
7848
7848
|
return ge;
|
|
7849
7849
|
}
|
|
7850
|
-
function ai(L, q,
|
|
7850
|
+
function ai(L, q, re) {
|
|
7851
7851
|
var ge = new q.constructor();
|
|
7852
7852
|
for (var Xe in q)
|
|
7853
7853
|
if (Object.prototype.hasOwnProperty.call(q, Xe)) {
|
|
@@ -7862,15 +7862,15 @@ function Xf() {
|
|
|
7862
7862
|
ge.setAttributeNode(ai(L, Ct.item(bi), !0));
|
|
7863
7863
|
break;
|
|
7864
7864
|
case S:
|
|
7865
|
-
|
|
7865
|
+
re = !0;
|
|
7866
7866
|
}
|
|
7867
|
-
if (
|
|
7867
|
+
if (re)
|
|
7868
7868
|
for (var pi = q.firstChild; pi; )
|
|
7869
|
-
ge.appendChild(ai(L, pi,
|
|
7869
|
+
ge.appendChild(ai(L, pi, re)), pi = pi.nextSibling;
|
|
7870
7870
|
return ge;
|
|
7871
7871
|
}
|
|
7872
|
-
function Ki(L, q,
|
|
7873
|
-
L[q] =
|
|
7872
|
+
function Ki(L, q, re) {
|
|
7873
|
+
L[q] = re;
|
|
7874
7874
|
}
|
|
7875
7875
|
try {
|
|
7876
7876
|
if (Object.defineProperty) {
|
|
@@ -7878,10 +7878,10 @@ function Xf() {
|
|
|
7878
7878
|
switch (q.nodeType) {
|
|
7879
7879
|
case m:
|
|
7880
7880
|
case z:
|
|
7881
|
-
var
|
|
7881
|
+
var re = [];
|
|
7882
7882
|
for (q = q.firstChild; q; )
|
|
7883
|
-
q.nodeType !== 7 && q.nodeType !== 8 &&
|
|
7884
|
-
return
|
|
7883
|
+
q.nodeType !== 7 && q.nodeType !== 8 && re.push(L(q)), q = q.nextSibling;
|
|
7884
|
+
return re.join("");
|
|
7885
7885
|
default:
|
|
7886
7886
|
return q.nodeValue;
|
|
7887
7887
|
}
|
|
@@ -7906,8 +7906,8 @@ function Xf() {
|
|
|
7906
7906
|
this.data = q, this.value = q, this.nodeValue = q;
|
|
7907
7907
|
}
|
|
7908
7908
|
}
|
|
7909
|
-
}), Ki = function(q,
|
|
7910
|
-
q["$$" +
|
|
7909
|
+
}), Ki = function(q, re, ge) {
|
|
7910
|
+
q["$$" + re] = ge;
|
|
7911
7911
|
};
|
|
7912
7912
|
}
|
|
7913
7913
|
} catch {
|
|
@@ -10097,11 +10097,11 @@ function Y3() {
|
|
|
10097
10097
|
}
|
|
10098
10098
|
}
|
|
10099
10099
|
function Y(be, tt) {
|
|
10100
|
-
for (; be >=
|
|
10101
|
-
oe = tt.index,
|
|
10100
|
+
for (; be >= se && (tt = J.exec(k)); )
|
|
10101
|
+
oe = tt.index, se = oe + tt[0].length, G.lineNumber++;
|
|
10102
10102
|
G.columnNumber = be - oe + 1;
|
|
10103
10103
|
}
|
|
10104
|
-
for (var oe = 0,
|
|
10104
|
+
for (var oe = 0, se = 0, J = /.*(?:\r\n?|\n)|.*$/g, G = Z.locator, K = [{ currentNSMap: B }], ue = {}, xe = 0; ; ) {
|
|
10105
10105
|
try {
|
|
10106
10106
|
var te = k.indexOf("<", xe);
|
|
10107
10107
|
if (te < 0) {
|
|
@@ -10168,37 +10168,37 @@ function Y3() {
|
|
|
10168
10168
|
ue
|
|
10169
10169
|
);
|
|
10170
10170
|
}
|
|
10171
|
-
for (var ie, Y, oe = ++B,
|
|
10171
|
+
for (var ie, Y, oe = ++B, se = n; ; ) {
|
|
10172
10172
|
var J = k.charAt(oe);
|
|
10173
10173
|
switch (J) {
|
|
10174
10174
|
case "=":
|
|
10175
|
-
if (
|
|
10176
|
-
ie = k.slice(B, oe),
|
|
10177
|
-
else if (
|
|
10178
|
-
|
|
10175
|
+
if (se === r)
|
|
10176
|
+
ie = k.slice(B, oe), se = o;
|
|
10177
|
+
else if (se === a)
|
|
10178
|
+
se = o;
|
|
10179
10179
|
else
|
|
10180
10180
|
throw new Error("attribute equal must after attrName");
|
|
10181
10181
|
break;
|
|
10182
10182
|
case "'":
|
|
10183
10183
|
case '"':
|
|
10184
|
-
if (
|
|
10185
|
-
if (
|
|
10186
|
-
Y = k.slice(B, oe), j(ie, Y, B - 1),
|
|
10184
|
+
if (se === o || se === r)
|
|
10185
|
+
if (se === r && (W.warning('attribute value must after "="'), ie = k.slice(B, oe)), B = oe + 1, oe = k.indexOf(J, B), oe > 0)
|
|
10186
|
+
Y = k.slice(B, oe), j(ie, Y, B - 1), se = d;
|
|
10187
10187
|
else
|
|
10188
10188
|
throw new Error("attribute value no end '" + J + "' match");
|
|
10189
|
-
else if (
|
|
10190
|
-
Y = k.slice(B, oe), j(ie, Y, B), W.warning('attribute "' + ie + '" missed start quot(' + J + ")!!"), B = oe + 1,
|
|
10189
|
+
else if (se == u)
|
|
10190
|
+
Y = k.slice(B, oe), j(ie, Y, B), W.warning('attribute "' + ie + '" missed start quot(' + J + ")!!"), B = oe + 1, se = d;
|
|
10191
10191
|
else
|
|
10192
10192
|
throw new Error('attribute value must after "="');
|
|
10193
10193
|
break;
|
|
10194
10194
|
case "/":
|
|
10195
|
-
switch (
|
|
10195
|
+
switch (se) {
|
|
10196
10196
|
case n:
|
|
10197
10197
|
V.setTagName(k.slice(B, oe));
|
|
10198
10198
|
case d:
|
|
10199
10199
|
case g:
|
|
10200
10200
|
case m:
|
|
10201
|
-
|
|
10201
|
+
se = m, V.closed = !0;
|
|
10202
10202
|
case u:
|
|
10203
10203
|
case r:
|
|
10204
10204
|
break;
|
|
@@ -10211,9 +10211,9 @@ function Y3() {
|
|
|
10211
10211
|
}
|
|
10212
10212
|
break;
|
|
10213
10213
|
case "":
|
|
10214
|
-
return W.error("unexpected end of input"),
|
|
10214
|
+
return W.error("unexpected end of input"), se == n && V.setTagName(k.slice(B, oe)), oe;
|
|
10215
10215
|
case ">":
|
|
10216
|
-
switch (
|
|
10216
|
+
switch (se) {
|
|
10217
10217
|
case n:
|
|
10218
10218
|
V.setTagName(k.slice(B, oe));
|
|
10219
10219
|
case d:
|
|
@@ -10226,7 +10226,7 @@ function Y3() {
|
|
|
10226
10226
|
case r:
|
|
10227
10227
|
Y = k.slice(B, oe), Y.slice(-1) === "/" && (V.closed = !0, Y = Y.slice(0, -1));
|
|
10228
10228
|
case a:
|
|
10229
|
-
|
|
10229
|
+
se === a && (Y = ie), se == u ? (W.warning('attribute "' + Y + '" missed quot(")!'), j(ie, Y, B)) : ((!i.isHTML(Z[""]) || !Y.match(/^(?:disabled|checked|selected)$/i)) && W.warning('attribute "' + Y + '" missed value!! "' + Y + '" instead!!'), j(Y, Y, B));
|
|
10230
10230
|
break;
|
|
10231
10231
|
case o:
|
|
10232
10232
|
throw new Error("attribute value missed!!");
|
|
@@ -10237,35 +10237,35 @@ function Y3() {
|
|
|
10237
10237
|
J = " ";
|
|
10238
10238
|
default:
|
|
10239
10239
|
if (J <= " ")
|
|
10240
|
-
switch (
|
|
10240
|
+
switch (se) {
|
|
10241
10241
|
case n:
|
|
10242
|
-
V.setTagName(k.slice(B, oe)),
|
|
10242
|
+
V.setTagName(k.slice(B, oe)), se = g;
|
|
10243
10243
|
break;
|
|
10244
10244
|
case r:
|
|
10245
|
-
ie = k.slice(B, oe),
|
|
10245
|
+
ie = k.slice(B, oe), se = a;
|
|
10246
10246
|
break;
|
|
10247
10247
|
case u:
|
|
10248
10248
|
var Y = k.slice(B, oe);
|
|
10249
10249
|
W.warning('attribute "' + Y + '" missed quot(")!!'), j(ie, Y, B);
|
|
10250
10250
|
case d:
|
|
10251
|
-
|
|
10251
|
+
se = g;
|
|
10252
10252
|
break;
|
|
10253
10253
|
}
|
|
10254
10254
|
else
|
|
10255
|
-
switch (
|
|
10255
|
+
switch (se) {
|
|
10256
10256
|
//case S_TAG:void();break;
|
|
10257
10257
|
//case S_ATTR:void();break;
|
|
10258
10258
|
//case S_ATTR_NOQUOT_VALUE:void();break;
|
|
10259
10259
|
case a:
|
|
10260
|
-
V.tagName, (!i.isHTML(Z[""]) || !ie.match(/^(?:disabled|checked|selected)$/i)) && W.warning('attribute "' + ie + '" missed value!! "' + ie + '" instead2!!'), j(ie, ie, B), B = oe,
|
|
10260
|
+
V.tagName, (!i.isHTML(Z[""]) || !ie.match(/^(?:disabled|checked|selected)$/i)) && W.warning('attribute "' + ie + '" missed value!! "' + ie + '" instead2!!'), j(ie, ie, B), B = oe, se = r;
|
|
10261
10261
|
break;
|
|
10262
10262
|
case d:
|
|
10263
10263
|
W.warning('attribute space is required"' + ie + '"!!');
|
|
10264
10264
|
case g:
|
|
10265
|
-
|
|
10265
|
+
se = r, B = oe;
|
|
10266
10266
|
break;
|
|
10267
10267
|
case o:
|
|
10268
|
-
|
|
10268
|
+
se = u, B = oe;
|
|
10269
10269
|
break;
|
|
10270
10270
|
case m:
|
|
10271
10271
|
throw new Error("elements closed character '/' and '>' must be connected to");
|
|
@@ -10278,10 +10278,10 @@ function Y3() {
|
|
|
10278
10278
|
for (var Z = k.tagName, U = null, J = k.length; J--; ) {
|
|
10279
10279
|
var W = k[J], j = W.qName, ie = W.value, G = j.indexOf(":");
|
|
10280
10280
|
if (G > 0)
|
|
10281
|
-
var Y = W.prefix = j.slice(0, G), oe = j.slice(G + 1),
|
|
10281
|
+
var Y = W.prefix = j.slice(0, G), oe = j.slice(G + 1), se = Y === "xmlns" && oe;
|
|
10282
10282
|
else
|
|
10283
|
-
oe = j, Y = null,
|
|
10284
|
-
W.localName = oe,
|
|
10283
|
+
oe = j, Y = null, se = j === "xmlns" && "";
|
|
10284
|
+
W.localName = oe, se !== !1 && (U == null && (U = {}, F(V, V = {})), V[se] = U[se] = ie, W.uri = i.XMLNS, B.startPrefixMapping(se, ie));
|
|
10285
10285
|
}
|
|
10286
10286
|
for (var J = k.length; J--; ) {
|
|
10287
10287
|
W = k[J];
|
|
@@ -10330,10 +10330,10 @@ function Y3() {
|
|
|
10330
10330
|
}
|
|
10331
10331
|
var j = H(k, B), ie = j.length;
|
|
10332
10332
|
if (ie > 1 && /!doctype/i.test(j[0][0])) {
|
|
10333
|
-
var Y = j[1][0], oe = !1,
|
|
10334
|
-
ie > 3 && (/^public$/i.test(j[2][0]) ? (oe = j[3][0],
|
|
10333
|
+
var Y = j[1][0], oe = !1, se = !1;
|
|
10334
|
+
ie > 3 && (/^public$/i.test(j[2][0]) ? (oe = j[3][0], se = ie > 4 && j[4][0]) : /^system$/i.test(j[2][0]) && (se = j[3][0]));
|
|
10335
10335
|
var J = j[ie - 1];
|
|
10336
|
-
return V.startDTD(Y, oe,
|
|
10336
|
+
return V.startDTD(Y, oe, se), V.endDTD(), J.index + J[0].length;
|
|
10337
10337
|
}
|
|
10338
10338
|
}
|
|
10339
10339
|
return -1;
|
|
@@ -28895,7 +28895,7 @@ browserWorkerPolyFill(self);
|
|
|
28895
28895
|
}, r = {
|
|
28896
28896
|
getUint64: n,
|
|
28897
28897
|
MAX_UINT32: s
|
|
28898
|
-
}, a = r.MAX_UINT32, o, u, d, g, m, S, T, O, v, b, E, I, M, F, z, N, D, H, k, B, V, Z, U, W, j, ie, Y, oe,
|
|
28898
|
+
}, a = r.MAX_UINT32, o, u, d, g, m, S, T, O, v, b, E, I, M, F, z, N, D, H, k, B, V, Z, U, W, j, ie, Y, oe, se, J, G, K, ue, xe, te, ye;
|
|
28899
28899
|
(function() {
|
|
28900
28900
|
var l;
|
|
28901
28901
|
if (U = {
|
|
@@ -29032,7 +29032,7 @@ browserWorkerPolyFill(self);
|
|
|
29032
29032
|
114,
|
|
29033
29033
|
0
|
|
29034
29034
|
// name: 'SoundHandler'
|
|
29035
|
-
]),
|
|
29035
|
+
]), se = {
|
|
29036
29036
|
video: Y,
|
|
29037
29037
|
audio: oe
|
|
29038
29038
|
}, K = new Uint8Array([
|
|
@@ -29193,7 +29193,7 @@ browserWorkerPolyFill(self);
|
|
|
29193
29193
|
}, g = function() {
|
|
29194
29194
|
return o(U.ftyp, W, j, W, ie);
|
|
29195
29195
|
}, N = function(l) {
|
|
29196
|
-
return o(U.hdlr,
|
|
29196
|
+
return o(U.hdlr, se[l]);
|
|
29197
29197
|
}, m = function(l) {
|
|
29198
29198
|
return o(U.mdat, l);
|
|
29199
29199
|
}, z = function(l) {
|
|
@@ -29536,8 +29536,8 @@ browserWorkerPolyFill(self);
|
|
|
29536
29536
|
192
|
|
29537
29537
|
// avgBitrate
|
|
29538
29538
|
]))], p.sarRatio) {
|
|
29539
|
-
var
|
|
29540
|
-
$.push(o(U.pasp, new Uint8Array([(
|
|
29539
|
+
var ne = p.sarRatio[0], de = p.sarRatio[1];
|
|
29540
|
+
$.push(o(U.pasp, new Uint8Array([(ne & 4278190080) >> 24, (ne & 16711680) >> 16, (ne & 65280) >> 8, ne & 255, (de & 4278190080) >> 24, (de & 16711680) >> 16, (de & 65280) >> 8, de & 255])));
|
|
29541
29541
|
}
|
|
29542
29542
|
return o.apply(null, $);
|
|
29543
29543
|
}, h = function(p) {
|
|
@@ -29798,14 +29798,14 @@ browserWorkerPolyFill(self);
|
|
|
29798
29798
|
// data_offset
|
|
29799
29799
|
];
|
|
29800
29800
|
}, h = function(f, A) {
|
|
29801
|
-
var C, X, Q, $,
|
|
29801
|
+
var C, X, Q, $, ne, de;
|
|
29802
29802
|
for ($ = f.samples || [], A += 20 + 16 * $.length, Q = p($, A), X = new Uint8Array(Q.length + $.length * 16), X.set(Q), C = Q.length, de = 0; de < $.length; de++)
|
|
29803
|
-
|
|
29803
|
+
ne = $[de], X[C++] = (ne.duration & 4278190080) >>> 24, X[C++] = (ne.duration & 16711680) >>> 16, X[C++] = (ne.duration & 65280) >>> 8, X[C++] = ne.duration & 255, X[C++] = (ne.size & 4278190080) >>> 24, X[C++] = (ne.size & 16711680) >>> 16, X[C++] = (ne.size & 65280) >>> 8, X[C++] = ne.size & 255, X[C++] = ne.flags.isLeading << 2 | ne.flags.dependsOn, X[C++] = ne.flags.isDependedOn << 6 | ne.flags.hasRedundancy << 4 | ne.flags.paddingValue << 1 | ne.flags.isNonSyncSample, X[C++] = ne.flags.degradationPriority & 61440, X[C++] = ne.flags.degradationPriority & 15, X[C++] = (ne.compositionTimeOffset & 4278190080) >>> 24, X[C++] = (ne.compositionTimeOffset & 16711680) >>> 16, X[C++] = (ne.compositionTimeOffset & 65280) >>> 8, X[C++] = ne.compositionTimeOffset & 255;
|
|
29804
29804
|
return o(U.trun, X);
|
|
29805
29805
|
}, l = function(f, A) {
|
|
29806
|
-
var C, X, Q, $,
|
|
29806
|
+
var C, X, Q, $, ne, de;
|
|
29807
29807
|
for ($ = f.samples || [], A += 20 + 8 * $.length, Q = p($, A), C = new Uint8Array(Q.length + $.length * 8), C.set(Q), X = Q.length, de = 0; de < $.length; de++)
|
|
29808
|
-
|
|
29808
|
+
ne = $[de], C[X++] = (ne.duration & 4278190080) >>> 24, C[X++] = (ne.duration & 16711680) >>> 16, C[X++] = (ne.duration & 65280) >>> 8, C[X++] = ne.duration & 255, C[X++] = (ne.size & 4278190080) >>> 24, C[X++] = (ne.size & 16711680) >>> 16, C[X++] = (ne.size & 65280) >>> 8, C[X++] = ne.size & 255;
|
|
29809
29809
|
return o(U.trun, C);
|
|
29810
29810
|
}, Z = function(f, A) {
|
|
29811
29811
|
return f.type === "audio" ? l(f, A) : h(f, A);
|
|
@@ -29855,7 +29855,7 @@ browserWorkerPolyFill(self);
|
|
|
29855
29855
|
X = C[f], A = ve(X, Q), Q += A.size, $.push(A);
|
|
29856
29856
|
return $;
|
|
29857
29857
|
}, je = function(l) {
|
|
29858
|
-
var h, p, f, A, C, X, Q = 0, $ = l.byteLength,
|
|
29858
|
+
var h, p, f, A, C, X, Q = 0, $ = l.byteLength, ne = l.nalCount, de = $ + 4 * ne, Ce = new Uint8Array(de), Ke = new DataView(Ce.buffer);
|
|
29859
29859
|
for (h = 0; h < l.length; h++)
|
|
29860
29860
|
for (A = l[h], p = 0; p < A.length; p++)
|
|
29861
29861
|
for (C = A[p], f = 0; f < C.length; f++)
|
|
@@ -29936,11 +29936,11 @@ browserWorkerPolyFill(self);
|
|
|
29936
29936
|
p = l[h], f += p.data.byteLength;
|
|
29937
29937
|
return f;
|
|
29938
29938
|
}, ei = function(l, h, p, f) {
|
|
29939
|
-
var A, C = 0, X = 0, Q = 0, $ = 0,
|
|
29939
|
+
var A, C = 0, X = 0, Q = 0, $ = 0, ne, de, Ce;
|
|
29940
29940
|
if (h.length && (A = Nt.audioTsToVideoTs(l.baseMediaDecodeTime, l.samplerate), C = Math.ceil(Nt.ONE_SECOND_IN_TS / (l.samplerate / 1024)), p && f && (X = A - Math.max(p, f), Q = Math.floor(X / C), $ = Q * C), !(Q < 1 || $ > Nt.ONE_SECOND_IN_TS / 2))) {
|
|
29941
|
-
for (
|
|
29941
|
+
for (ne = ni()[l.samplerate], ne || (ne = h[0].data), de = 0; de < Q; de++)
|
|
29942
29942
|
Ce = h[0], h.splice(0, 0, {
|
|
29943
|
-
data:
|
|
29943
|
+
data: ne,
|
|
29944
29944
|
dts: Ce.dts - C,
|
|
29945
29945
|
pts: Ce.pts - C
|
|
29946
29946
|
});
|
|
@@ -29976,7 +29976,7 @@ browserWorkerPolyFill(self);
|
|
|
29976
29976
|
}, q = function(l, h) {
|
|
29977
29977
|
var p, f, A = l.minSegmentDts;
|
|
29978
29978
|
return h || (A -= l.timelineStartInfo.dts), p = l.timelineStartInfo.baseMediaDecodeTime, p += A, p = Math.max(0, p), l.type === "audio" && (f = l.samplerate / ai, p *= f, p = Math.floor(p)), p;
|
|
29979
|
-
},
|
|
29979
|
+
}, re = {
|
|
29980
29980
|
clearDtsInfo: L,
|
|
29981
29981
|
calculateTrackBaseMediaDecodeTime: q,
|
|
29982
29982
|
collectDtsInfo: Ki
|
|
@@ -30239,7 +30239,7 @@ browserWorkerPolyFill(self);
|
|
|
30239
30239
|
p.flushDisplayed(C, p.services[l]);
|
|
30240
30240
|
}), this.services[l];
|
|
30241
30241
|
}, pt.prototype.handleText = function(l, h, p) {
|
|
30242
|
-
var f = p && p.isExtended, A = p && p.isMultiByte, C = this.current708Packet.data, X = f ? 4096 : 0, Q = C[l], $ = C[l + 1],
|
|
30242
|
+
var f = p && p.isExtended, A = p && p.isMultiByte, C = this.current708Packet.data, X = f ? 4096 : 0, Q = C[l], $ = C[l + 1], ne = h.currentWindow, de, Ce;
|
|
30243
30243
|
function Ke(Ie) {
|
|
30244
30244
|
return Ie.map((at) => ("0" + (at & 255).toString(16)).slice(-2)).join("");
|
|
30245
30245
|
}
|
|
@@ -30250,7 +30250,7 @@ browserWorkerPolyFill(self);
|
|
|
30250
30250
|
de = String.fromCharCode(parseInt(Ie, 16));
|
|
30251
30251
|
} else
|
|
30252
30252
|
de = Ei(X | Q);
|
|
30253
|
-
return
|
|
30253
|
+
return ne.pendingNewLine && !ne.isEmpty() && ne.newLine(this.getPts(l)), ne.pendingNewLine = !1, ne.addText(de), l;
|
|
30254
30254
|
}, pt.prototype.multiByteCharacter = function(l, h) {
|
|
30255
30255
|
var p = this.current708Packet.data, f = p[l + 1], A = p[l + 2];
|
|
30256
30256
|
return Si(f) && Si(A) && (l = this.handleText(++l, h, {
|
|
@@ -30549,13 +30549,13 @@ browserWorkerPolyFill(self);
|
|
|
30549
30549
|
else if (this.isMidRowCode(C, X))
|
|
30550
30550
|
this.clearFormatting(p.pts), this[this.mode_](p.pts, " "), this.column_++, (X & 14) === 14 && this.addFormatting(p.pts, ["i"]), (X & 1) === 1 && this.addFormatting(p.pts, ["u"]);
|
|
30551
30551
|
else if (this.isOffsetControlCode(C, X)) {
|
|
30552
|
-
const
|
|
30553
|
-
this.nonDisplayed_[this.row_].offset =
|
|
30552
|
+
const ne = X & 3;
|
|
30553
|
+
this.nonDisplayed_[this.row_].offset = ne, this.column_ += ne;
|
|
30554
30554
|
} else if (this.isPAC(C, X)) {
|
|
30555
30555
|
var $ = wa.indexOf(f & 7968);
|
|
30556
30556
|
if (this.mode_ === "rollUp" && ($ - this.rollUpRows_ + 1 < 0 && ($ = this.rollUpRows_ - 1), this.setRollUp(p.pts, $)), $ !== this.row_ && $ >= 0 && $ <= 14 && (this.clearFormatting(p.pts), this.row_ = $), X & 1 && this.formatting_.indexOf("u") === -1 && this.addFormatting(p.pts, ["u"]), (f & 16) === 16) {
|
|
30557
|
-
const
|
|
30558
|
-
this.column_ =
|
|
30557
|
+
const ne = (f & 14) >> 1;
|
|
30558
|
+
this.column_ = ne * 4, this.nonDisplayed_[this.row_].indent += ne;
|
|
30559
30559
|
}
|
|
30560
30560
|
this.isColorPAC(X) && (X & 14) === 14 && this.addFormatting(p.pts, ["i"]);
|
|
30561
30561
|
} else this.isNormalChar(C) && (X === 0 && (X = null), Q = Ts(C), Q += Ts(X), this[this.mode_](p.pts, Q), this.column_ += Q.length);
|
|
@@ -30784,7 +30784,7 @@ browserWorkerPolyFill(self);
|
|
|
30784
30784
|
for (C = 0; C < h.descriptor.length; C++)
|
|
30785
30785
|
this.dispatchType += ("00" + h.descriptor[C].toString(16)).slice(-2);
|
|
30786
30786
|
this.push = function(X) {
|
|
30787
|
-
var Q, $,
|
|
30787
|
+
var Q, $, ne, de, Ce, Ke;
|
|
30788
30788
|
if (X.type === "timed-metadata") {
|
|
30789
30789
|
if (X.dataAlignmentIndicator && (A = 0, f.length = 0), f.length === 0 && (X.data.length < 10 || X.data[0] !== 73 || X.data[1] !== 68 || X.data[2] !== 51)) {
|
|
30790
30790
|
this.trigger("log", {
|
|
@@ -30803,7 +30803,7 @@ browserWorkerPolyFill(self);
|
|
|
30803
30803
|
Q.data.set(f[0].data.subarray(0, p - Ce), Ce), Ce += f[0].data.byteLength, A -= f[0].data.byteLength, f.shift();
|
|
30804
30804
|
$ = 10, Q.data[5] & 64 && ($ += 4, $ += Ys.parseSyncSafeInteger(Q.data.subarray(10, 14)), p -= Ys.parseSyncSafeInteger(Q.data.subarray(16, 20)));
|
|
30805
30805
|
do {
|
|
30806
|
-
if (
|
|
30806
|
+
if (ne = Ys.parseSyncSafeInteger(Q.data.subarray($ + 4, $ + 8)), ne < 1) {
|
|
30807
30807
|
this.trigger("log", {
|
|
30808
30808
|
level: "warn",
|
|
30809
30809
|
message: "Malformed ID3 frame encountered. Skipping remaining metadata parsing."
|
|
@@ -30812,12 +30812,12 @@ browserWorkerPolyFill(self);
|
|
|
30812
30812
|
}
|
|
30813
30813
|
if (Ke = String.fromCharCode(Q.data[$], Q.data[$ + 1], Q.data[$ + 2], Q.data[$ + 3]), de = {
|
|
30814
30814
|
id: Ke,
|
|
30815
|
-
data: Q.data.subarray($ + 10, $ +
|
|
30815
|
+
data: Q.data.subarray($ + 10, $ + ne + 10)
|
|
30816
30816
|
}, de.key = de.id, Ys.frameParsers[de.id] ? Ys.frameParsers[de.id](de) : de.id[0] === "T" ? Ys.frameParsers["T*"](de) : de.id[0] === "W" && Ys.frameParsers["W*"](de), de.owner === "com.apple.streaming.transportStreamTimestamp") {
|
|
30817
30817
|
var Ie = de.data, at = (Ie[3] & 1) << 30 | Ie[4] << 22 | Ie[5] << 14 | Ie[6] << 6 | Ie[7] >>> 2;
|
|
30818
30818
|
at *= 4, at += Ie[7] & 3, de.timeStamp = at, Q.pts === void 0 && Q.dts === void 0 && (Q.pts = de.timeStamp, Q.dts = de.timeStamp), this.trigger("timestamp", de);
|
|
30819
30819
|
}
|
|
30820
|
-
Q.frames.push(de), $ += 10, $ +=
|
|
30820
|
+
Q.frames.push(de), $ += 10, $ += ne;
|
|
30821
30821
|
} while ($ < p);
|
|
30822
30822
|
this.trigger("data", Q);
|
|
30823
30823
|
}
|
|
@@ -30852,15 +30852,15 @@ browserWorkerPolyFill(self);
|
|
|
30852
30852
|
}, h = function(A, C) {
|
|
30853
30853
|
C.section_number = A[7], C.last_section_number = A[8], f.pmtPid = (A[10] & 31) << 8 | A[11], C.pmtPid = f.pmtPid;
|
|
30854
30854
|
}, p = function(A, C) {
|
|
30855
|
-
var X, Q, $,
|
|
30855
|
+
var X, Q, $, ne;
|
|
30856
30856
|
if (A[5] & 1) {
|
|
30857
30857
|
for (f.programMapTable = {
|
|
30858
30858
|
video: null,
|
|
30859
30859
|
audio: null,
|
|
30860
30860
|
"timed-metadata": {}
|
|
30861
|
-
}, X = (A[1] & 15) << 8 | A[2], Q = 3 + X - 4, $ = (A[10] & 15) << 8 | A[11],
|
|
30862
|
-
var de = A[
|
|
30863
|
-
de === cs.H264_STREAM_TYPE && f.programMapTable.video === null ? f.programMapTable.video = Ce : de === cs.ADTS_STREAM_TYPE && f.programMapTable.audio === null ? f.programMapTable.audio = Ce : de === cs.METADATA_STREAM_TYPE && (f.programMapTable["timed-metadata"][Ce] = de),
|
|
30861
|
+
}, X = (A[1] & 15) << 8 | A[2], Q = 3 + X - 4, $ = (A[10] & 15) << 8 | A[11], ne = 12 + $; ne < Q; ) {
|
|
30862
|
+
var de = A[ne], Ce = (A[ne + 1] & 31) << 8 | A[ne + 2];
|
|
30863
|
+
de === cs.H264_STREAM_TYPE && f.programMapTable.video === null ? f.programMapTable.video = Ce : de === cs.ADTS_STREAM_TYPE && f.programMapTable.audio === null ? f.programMapTable.audio = Ce : de === cs.METADATA_STREAM_TYPE && (f.programMapTable["timed-metadata"][Ce] = de), ne += ((A[ne + 3] & 15) << 8 | A[ne + 4]) + 5;
|
|
30864
30864
|
}
|
|
30865
30865
|
C.programMapTable = f.programMapTable;
|
|
30866
30866
|
}
|
|
@@ -30888,18 +30888,18 @@ browserWorkerPolyFill(self);
|
|
|
30888
30888
|
}, A = {
|
|
30889
30889
|
data: [],
|
|
30890
30890
|
size: 0
|
|
30891
|
-
}, C, X = function($,
|
|
30891
|
+
}, C, X = function($, ne) {
|
|
30892
30892
|
var de;
|
|
30893
30893
|
const Ce = $[0] << 16 | $[1] << 8 | $[2];
|
|
30894
|
-
|
|
30895
|
-
}, Q = function($,
|
|
30894
|
+
ne.data = new Uint8Array(), Ce === 1 && (ne.packetLength = 6 + ($[4] << 8 | $[5]), ne.dataAlignmentIndicator = ($[6] & 4) !== 0, de = $[7], de & 192 && (ne.pts = ($[9] & 14) << 27 | ($[10] & 255) << 20 | ($[11] & 254) << 12 | ($[12] & 255) << 5 | ($[13] & 254) >>> 3, ne.pts *= 4, ne.pts += ($[13] & 6) >>> 1, ne.dts = ne.pts, de & 64 && (ne.dts = ($[14] & 14) << 27 | ($[15] & 255) << 20 | ($[16] & 254) << 12 | ($[17] & 255) << 5 | ($[18] & 254) >>> 3, ne.dts *= 4, ne.dts += ($[18] & 6) >>> 1)), ne.data = $.subarray(9 + $[8]));
|
|
30895
|
+
}, Q = function($, ne, de) {
|
|
30896
30896
|
var Ce = new Uint8Array($.size), Ke = {
|
|
30897
|
-
type:
|
|
30897
|
+
type: ne
|
|
30898
30898
|
}, Ie = 0, at = 0, ft = !1, oi;
|
|
30899
30899
|
if (!(!$.data.length || $.size < 9)) {
|
|
30900
30900
|
for (Ke.trackId = $.data[0].pid, Ie = 0; Ie < $.data.length; Ie++)
|
|
30901
30901
|
oi = $.data[Ie], Ce.set(oi.data, at), at += oi.data.byteLength;
|
|
30902
|
-
X(Ce, Ke), ft =
|
|
30902
|
+
X(Ce, Ke), ft = ne === "video" || Ke.packetLength <= $.size, (de || ft) && ($.size = 0, $.data.length = 0), ft && l.trigger("data", Ke);
|
|
30903
30903
|
}
|
|
30904
30904
|
};
|
|
30905
30905
|
Oa.prototype.init.call(this), this.push = function($) {
|
|
@@ -30907,42 +30907,42 @@ browserWorkerPolyFill(self);
|
|
|
30907
30907
|
pat: function() {
|
|
30908
30908
|
},
|
|
30909
30909
|
pes: function() {
|
|
30910
|
-
var
|
|
30910
|
+
var ne, de;
|
|
30911
30911
|
switch ($.streamType) {
|
|
30912
30912
|
case cs.H264_STREAM_TYPE:
|
|
30913
|
-
|
|
30913
|
+
ne = p, de = "video";
|
|
30914
30914
|
break;
|
|
30915
30915
|
case cs.ADTS_STREAM_TYPE:
|
|
30916
|
-
|
|
30916
|
+
ne = f, de = "audio";
|
|
30917
30917
|
break;
|
|
30918
30918
|
case cs.METADATA_STREAM_TYPE:
|
|
30919
|
-
|
|
30919
|
+
ne = A, de = "timed-metadata";
|
|
30920
30920
|
break;
|
|
30921
30921
|
default:
|
|
30922
30922
|
return;
|
|
30923
30923
|
}
|
|
30924
|
-
$.payloadUnitStartIndicator && Q(
|
|
30924
|
+
$.payloadUnitStartIndicator && Q(ne, de, !0), ne.data.push($), ne.size += $.data.byteLength;
|
|
30925
30925
|
},
|
|
30926
30926
|
pmt: function() {
|
|
30927
|
-
var
|
|
30927
|
+
var ne = {
|
|
30928
30928
|
type: "metadata",
|
|
30929
30929
|
tracks: []
|
|
30930
30930
|
};
|
|
30931
|
-
C = $.programMapTable, C.video !== null &&
|
|
30931
|
+
C = $.programMapTable, C.video !== null && ne.tracks.push({
|
|
30932
30932
|
timelineStartInfo: {
|
|
30933
30933
|
baseMediaDecodeTime: 0
|
|
30934
30934
|
},
|
|
30935
30935
|
id: +C.video,
|
|
30936
30936
|
codec: "avc",
|
|
30937
30937
|
type: "video"
|
|
30938
|
-
}), C.audio !== null &&
|
|
30938
|
+
}), C.audio !== null && ne.tracks.push({
|
|
30939
30939
|
timelineStartInfo: {
|
|
30940
30940
|
baseMediaDecodeTime: 0
|
|
30941
30941
|
},
|
|
30942
30942
|
id: +C.audio,
|
|
30943
30943
|
codec: "adts",
|
|
30944
30944
|
type: "audio"
|
|
30945
|
-
}), h = !0, l.trigger("data",
|
|
30945
|
+
}), h = !0, l.trigger("data", ne);
|
|
30946
30946
|
}
|
|
30947
30947
|
})[$.type]();
|
|
30948
30948
|
}, this.reset = function() {
|
|
@@ -30997,7 +30997,7 @@ browserWorkerPolyFill(self);
|
|
|
30997
30997
|
message: `adts skiping bytes ${f} to ${A} in frame ${p} outside syncword`
|
|
30998
30998
|
});
|
|
30999
30999
|
}, this.push = function(f) {
|
|
31000
|
-
var A = 0, C, X, Q, $,
|
|
31000
|
+
var A = 0, C, X, Q, $, ne;
|
|
31001
31001
|
if (l || (p = 0), f.type === "audio") {
|
|
31002
31002
|
h && h.length ? (Q = h, h = new Uint8Array(Q.byteLength + f.data.byteLength), h.set(Q), h.set(f.data, Q.byteLength)) : h = f.data;
|
|
31003
31003
|
for (var de; A + 7 < h.length; ) {
|
|
@@ -31005,11 +31005,11 @@ browserWorkerPolyFill(self);
|
|
|
31005
31005
|
typeof de != "number" && (de = A), A++;
|
|
31006
31006
|
continue;
|
|
31007
31007
|
}
|
|
31008
|
-
if (typeof de == "number" && (this.skipWarn_(de, A), de = null), X = (~h[A + 1] & 1) * 2, C = (h[A + 3] & 3) << 11 | h[A + 4] << 3 | (h[A + 5] & 224) >> 5, $ = ((h[A + 6] & 3) + 1) * 1024,
|
|
31008
|
+
if (typeof de == "number" && (this.skipWarn_(de, A), de = null), X = (~h[A + 1] & 1) * 2, C = (h[A + 3] & 3) << 11 | h[A + 4] << 3 | (h[A + 5] & 224) >> 5, $ = ((h[A + 6] & 3) + 1) * 1024, ne = $ * Vg / Zc[(h[A + 2] & 60) >>> 2], h.byteLength - A < C)
|
|
31009
31009
|
break;
|
|
31010
31010
|
this.trigger("data", {
|
|
31011
|
-
pts: f.pts + p *
|
|
31012
|
-
dts: f.dts + p *
|
|
31011
|
+
pts: f.pts + p * ne,
|
|
31012
|
+
dts: f.dts + p * ne,
|
|
31013
31013
|
sampleCount: $,
|
|
31014
31014
|
audioobjecttype: (h[A + 2] >>> 6 & 3) + 1,
|
|
31015
31015
|
channelcount: (h[A + 2] & 1) << 2 | (h[A + 3] & 192) >>> 6,
|
|
@@ -31137,31 +31137,31 @@ browserWorkerPolyFill(self);
|
|
|
31137
31137
|
La.prototype.init.call(this), h = this, this.push = function($) {
|
|
31138
31138
|
$.type === "video" && (p = $.trackId, f = $.pts, A = $.dts, l.push($));
|
|
31139
31139
|
}, l.on("data", function($) {
|
|
31140
|
-
var
|
|
31140
|
+
var ne = {
|
|
31141
31141
|
trackId: p,
|
|
31142
31142
|
pts: f,
|
|
31143
31143
|
dts: A,
|
|
31144
31144
|
data: $,
|
|
31145
31145
|
nalUnitTypeCode: $[0] & 31
|
|
31146
31146
|
};
|
|
31147
|
-
switch (
|
|
31147
|
+
switch (ne.nalUnitTypeCode) {
|
|
31148
31148
|
case 5:
|
|
31149
|
-
|
|
31149
|
+
ne.nalUnitType = "slice_layer_without_partitioning_rbsp_idr";
|
|
31150
31150
|
break;
|
|
31151
31151
|
case 6:
|
|
31152
|
-
|
|
31152
|
+
ne.nalUnitType = "sei_rbsp", ne.escapedRBSP = C($.subarray(1));
|
|
31153
31153
|
break;
|
|
31154
31154
|
case 7:
|
|
31155
|
-
|
|
31155
|
+
ne.nalUnitType = "seq_parameter_set_rbsp", ne.escapedRBSP = C($.subarray(1)), ne.config = X(ne.escapedRBSP);
|
|
31156
31156
|
break;
|
|
31157
31157
|
case 8:
|
|
31158
|
-
|
|
31158
|
+
ne.nalUnitType = "pic_parameter_set_rbsp";
|
|
31159
31159
|
break;
|
|
31160
31160
|
case 9:
|
|
31161
|
-
|
|
31161
|
+
ne.nalUnitType = "access_unit_delimiter_rbsp";
|
|
31162
31162
|
break;
|
|
31163
31163
|
}
|
|
31164
|
-
h.trigger("data",
|
|
31164
|
+
h.trigger("data", ne);
|
|
31165
31165
|
}), l.on("done", function() {
|
|
31166
31166
|
h.trigger("done");
|
|
31167
31167
|
}), l.on("partialdone", function() {
|
|
@@ -31178,22 +31178,22 @@ browserWorkerPolyFill(self);
|
|
|
31178
31178
|
l.reset();
|
|
31179
31179
|
}, this.endTimeline = function() {
|
|
31180
31180
|
l.endTimeline();
|
|
31181
|
-
}, Q = function($,
|
|
31181
|
+
}, Q = function($, ne) {
|
|
31182
31182
|
var de = 8, Ce = 8, Ke, Ie;
|
|
31183
31183
|
for (Ke = 0; Ke < $; Ke++)
|
|
31184
|
-
Ce !== 0 && (Ie =
|
|
31184
|
+
Ce !== 0 && (Ie = ne.readExpGolomb(), Ce = (de + Ie + 256) % 256), de = Ce === 0 ? de : Ce;
|
|
31185
31185
|
}, C = function($) {
|
|
31186
|
-
for (var
|
|
31186
|
+
for (var ne = $.byteLength, de = [], Ce = 1, Ke, Ie; Ce < ne - 2; )
|
|
31187
31187
|
$[Ce] === 0 && $[Ce + 1] === 0 && $[Ce + 2] === 3 ? (de.push(Ce + 2), Ce += 2) : Ce++;
|
|
31188
31188
|
if (de.length === 0)
|
|
31189
31189
|
return $;
|
|
31190
|
-
Ke =
|
|
31190
|
+
Ke = ne - de.length, Ie = new Uint8Array(Ke);
|
|
31191
31191
|
var at = 0;
|
|
31192
31192
|
for (Ce = 0; Ce < Ke; at++, Ce++)
|
|
31193
31193
|
at === de[0] && (at++, de.shift()), Ie[Ce] = $[at];
|
|
31194
31194
|
return Ie;
|
|
31195
31195
|
}, X = function($) {
|
|
31196
|
-
var
|
|
31196
|
+
var ne = 0, de = 0, Ce = 0, Ke = 0, Ie, at, ft, oi, zi, Ks, Vr, qr, Nr, Fr, Qa, Rt = [1, 1], Ur, hs;
|
|
31197
31197
|
if (Ie = new Fg($), at = Ie.readUnsignedByte(), oi = Ie.readUnsignedByte(), ft = Ie.readUnsignedByte(), Ie.skipUnsignedExpGolomb(), td[at] && (zi = Ie.readUnsignedExpGolomb(), zi === 3 && Ie.skipBits(1), Ie.skipUnsignedExpGolomb(), Ie.skipUnsignedExpGolomb(), Ie.skipBits(1), Ie.readBoolean()))
|
|
31198
31198
|
for (Qa = zi !== 3 ? 8 : 12, hs = 0; hs < Qa; hs++)
|
|
31199
31199
|
Ie.readBoolean() && (hs < 6 ? Q(16, Ie) : Q(64, Ie));
|
|
@@ -31202,7 +31202,7 @@ browserWorkerPolyFill(self);
|
|
|
31202
31202
|
else if (Ks === 1)
|
|
31203
31203
|
for (Ie.skipBits(1), Ie.skipExpGolomb(), Ie.skipExpGolomb(), Vr = Ie.readUnsignedExpGolomb(), hs = 0; hs < Vr; hs++)
|
|
31204
31204
|
Ie.skipExpGolomb();
|
|
31205
|
-
if (Ie.skipUnsignedExpGolomb(), Ie.skipBits(1), qr = Ie.readUnsignedExpGolomb(), Nr = Ie.readUnsignedExpGolomb(), Fr = Ie.readBits(1), Fr === 0 && Ie.skipBits(1), Ie.skipBits(1), Ie.readBoolean() && (
|
|
31205
|
+
if (Ie.skipUnsignedExpGolomb(), Ie.skipBits(1), qr = Ie.readUnsignedExpGolomb(), Nr = Ie.readUnsignedExpGolomb(), Fr = Ie.readBits(1), Fr === 0 && Ie.skipBits(1), Ie.skipBits(1), Ie.readBoolean() && (ne = Ie.readUnsignedExpGolomb(), de = Ie.readUnsignedExpGolomb(), Ce = Ie.readUnsignedExpGolomb(), Ke = Ie.readUnsignedExpGolomb()), Ie.readBoolean() && Ie.readBoolean()) {
|
|
31206
31206
|
switch (Ur = Ie.readUnsignedByte(), Ur) {
|
|
31207
31207
|
case 1:
|
|
31208
31208
|
Rt = [1, 1];
|
|
@@ -31263,7 +31263,7 @@ browserWorkerPolyFill(self);
|
|
|
31263
31263
|
profileIdc: at,
|
|
31264
31264
|
levelIdc: ft,
|
|
31265
31265
|
profileCompatibility: oi,
|
|
31266
|
-
width: (qr + 1) * 16 -
|
|
31266
|
+
width: (qr + 1) * 16 - ne * 2 - de * 2,
|
|
31267
31267
|
height: (2 - Fr) * (Nr + 1) * 16 - Ce * 2 - Ke * 2,
|
|
31268
31268
|
// sar is sample aspect ratio
|
|
31269
31269
|
sarRatio: Rt
|
|
@@ -31369,7 +31369,7 @@ browserWorkerPolyFill(self);
|
|
|
31369
31369
|
l = new Uint8Array(), this.trigger("endedtimeline");
|
|
31370
31370
|
};
|
|
31371
31371
|
}, Ra.prototype = new Kg();
|
|
31372
|
-
var Jg = Ra, Zg = ["audioobjecttype", "channelcount", "samplerate", "samplingfrequencyindex", "samplesize"], $g = Zg, em = ["width", "height", "profileIdc", "levelIdc", "profileCompatibility", "sarRatio"], tm = em, Va = t, Pr = me, Or = wt, qa = Wi, ds =
|
|
31372
|
+
var Jg = Ra, Zg = ["audioobjecttype", "channelcount", "samplerate", "samplingfrequencyindex", "samplesize"], $g = Zg, em = ["width", "height", "profileIdc", "levelIdc", "profileCompatibility", "sarRatio"], tm = em, Va = t, Pr = me, Or = wt, qa = Wi, ds = re, qs = Bg, Na = rt, ad = qg, im = Ug.H264Stream, sm = Jg, nm = Tl.isLikelyAacData, rm = rt.ONE_SECOND_IN_TS, od = $g, ld = tm, Fa, Mr, Ua, mn, am = function(l, h) {
|
|
31373
31373
|
h.stream = l, this.trigger("log", h);
|
|
31374
31374
|
}, ud = function(l, h) {
|
|
31375
31375
|
for (var p = Object.keys(h), f = 0; f < p.length; f++) {
|
|
@@ -31412,12 +31412,12 @@ browserWorkerPolyFill(self);
|
|
|
31412
31412
|
}, this.setAudioAppendStart = function(Q) {
|
|
31413
31413
|
C = Q;
|
|
31414
31414
|
}, this.flush = function() {
|
|
31415
|
-
var Q, $,
|
|
31415
|
+
var Q, $, ne, de, Ce, Ke, Ie;
|
|
31416
31416
|
if (p.length === 0) {
|
|
31417
31417
|
this.trigger("done", "AudioSegmentStream");
|
|
31418
31418
|
return;
|
|
31419
31419
|
}
|
|
31420
|
-
Q = qa.trimAdtsFramesByEarliestDts(p, l, A), l.baseMediaDecodeTime = ds.calculateTrackBaseMediaDecodeTime(l, h.keepOriginalTimestamps), Ie = qa.prefixWithSilence(l, Q, C, X), l.samples = qa.generateSampleTable(Q),
|
|
31420
|
+
Q = qa.trimAdtsFramesByEarliestDts(p, l, A), l.baseMediaDecodeTime = ds.calculateTrackBaseMediaDecodeTime(l, h.keepOriginalTimestamps), Ie = qa.prefixWithSilence(l, Q, C, X), l.samples = qa.generateSampleTable(Q), ne = Pr.mdat(qa.concatenateFrameData(Q)), p = [], $ = Pr.moof(f, [l]), de = new Uint8Array($.byteLength + ne.byteLength), f++, de.set($), de.set(ne, $.byteLength), ds.clearDtsInfo(l), Ce = Math.ceil(rm * 1024 / l.samplerate), Q.length && (Ke = Q.length * Ce, this.trigger("segmentTimingInfo", dd(
|
|
31421
31421
|
// The audio track's baseMediaDecodeTime is in audio clock cycles, but the
|
|
31422
31422
|
// frame info is in video clock cycles. Convert to match expectation of
|
|
31423
31423
|
// listeners (that all timestamps will be based on video clock cycles).
|
|
@@ -31445,35 +31445,35 @@ browserWorkerPolyFill(self);
|
|
|
31445
31445
|
l[$] = C[$];
|
|
31446
31446
|
}, this)), Q.nalUnitType === "pic_parameter_set_rbsp" && !X && (X = Q.data, l.pps = [Q.data]), f.push(Q);
|
|
31447
31447
|
}, this.flush = function() {
|
|
31448
|
-
for (var Q, $,
|
|
31448
|
+
for (var Q, $, ne, de, Ce, Ke, Ie = 0, at, ft; f.length && f[0].nalUnitType !== "access_unit_delimiter_rbsp"; )
|
|
31449
31449
|
f.shift();
|
|
31450
31450
|
if (f.length === 0) {
|
|
31451
31451
|
this.resetStream_(), this.trigger("done", "VideoSegmentStream");
|
|
31452
31452
|
return;
|
|
31453
31453
|
}
|
|
31454
|
-
if (Q = Or.groupNalsIntoFrames(f),
|
|
31454
|
+
if (Q = Or.groupNalsIntoFrames(f), ne = Or.groupFramesIntoGops(Q), ne[0][0].keyFrame || ($ = this.getGopForFusion_(f[0], l), $ ? (Ie = $.duration, ne.unshift($), ne.byteLength += $.byteLength, ne.nalCount += $.nalCount, ne.pts = $.pts, ne.dts = $.dts, ne.duration += $.duration) : ne = Or.extendFirstKeyFrame(ne)), A.length) {
|
|
31455
31455
|
var oi;
|
|
31456
|
-
if (h.alignGopsAtEnd ? oi = this.alignGopsAtEnd_(
|
|
31456
|
+
if (h.alignGopsAtEnd ? oi = this.alignGopsAtEnd_(ne) : oi = this.alignGopsAtStart_(ne), !oi) {
|
|
31457
31457
|
this.gopCache_.unshift({
|
|
31458
|
-
gop:
|
|
31458
|
+
gop: ne.pop(),
|
|
31459
31459
|
pps: l.pps,
|
|
31460
31460
|
sps: l.sps
|
|
31461
31461
|
}), this.gopCache_.length = Math.min(6, this.gopCache_.length), f = [], this.resetStream_(), this.trigger("done", "VideoSegmentStream");
|
|
31462
31462
|
return;
|
|
31463
31463
|
}
|
|
31464
|
-
ds.clearDtsInfo(l),
|
|
31464
|
+
ds.clearDtsInfo(l), ne = oi;
|
|
31465
31465
|
}
|
|
31466
|
-
ds.collectDtsInfo(l,
|
|
31466
|
+
ds.collectDtsInfo(l, ne), l.samples = Or.generateSampleTable(ne), Ce = Pr.mdat(Or.concatenateNalData(ne)), l.baseMediaDecodeTime = ds.calculateTrackBaseMediaDecodeTime(l, h.keepOriginalTimestamps), this.trigger("processedGopsInfo", ne.map(function(zi) {
|
|
31467
31467
|
return {
|
|
31468
31468
|
pts: zi.pts,
|
|
31469
31469
|
dts: zi.dts,
|
|
31470
31470
|
byteLength: zi.byteLength
|
|
31471
31471
|
};
|
|
31472
|
-
})), at =
|
|
31473
|
-
start:
|
|
31474
|
-
end:
|
|
31472
|
+
})), at = ne[0], ft = ne[ne.length - 1], this.trigger("segmentTimingInfo", dd(l.baseMediaDecodeTime, at.dts, at.pts, ft.dts + ft.duration, ft.pts + ft.duration, Ie)), this.trigger("timingInfo", {
|
|
31473
|
+
start: ne[0].pts,
|
|
31474
|
+
end: ne[ne.length - 1].pts + ne[ne.length - 1].duration
|
|
31475
31475
|
}), this.gopCache_.unshift({
|
|
31476
|
-
gop:
|
|
31476
|
+
gop: ne.pop(),
|
|
31477
31477
|
pps: l.pps,
|
|
31478
31478
|
sps: l.sps
|
|
31479
31479
|
}), this.gopCache_.length = Math.min(6, this.gopCache_.length), f = [], this.trigger("baseMediaDecodeTime", l.baseMediaDecodeTime), this.trigger("timelineStartInfo", l.timelineStartInfo), de = Pr.moof(p, [l]), Ke = new Uint8Array(de.byteLength + Ce.byteLength), p++, Ke.set(de), Ke.set(Ce, de.byteLength), this.trigger("data", {
|
|
@@ -31485,24 +31485,24 @@ browserWorkerPolyFill(self);
|
|
|
31485
31485
|
}, this.resetStream_ = function() {
|
|
31486
31486
|
ds.clearDtsInfo(l), C = void 0, X = void 0;
|
|
31487
31487
|
}, this.getGopForFusion_ = function(Q) {
|
|
31488
|
-
var $ = 45e3,
|
|
31488
|
+
var $ = 45e3, ne = 1 / 0, de, Ce, Ke, Ie, at;
|
|
31489
31489
|
for (at = 0; at < this.gopCache_.length; at++)
|
|
31490
|
-
Ie = this.gopCache_[at], Ke = Ie.gop, !(!(l.pps && cd(l.pps[0], Ie.pps[0])) || !(l.sps && cd(l.sps[0], Ie.sps[0]))) && (Ke.dts < l.timelineStartInfo.dts || (de = Q.dts - Ke.dts - Ke.duration, de >= -1e4 && de <= $ && (!Ce ||
|
|
31490
|
+
Ie = this.gopCache_[at], Ke = Ie.gop, !(!(l.pps && cd(l.pps[0], Ie.pps[0])) || !(l.sps && cd(l.sps[0], Ie.sps[0]))) && (Ke.dts < l.timelineStartInfo.dts || (de = Q.dts - Ke.dts - Ke.duration, de >= -1e4 && de <= $ && (!Ce || ne > de) && (Ce = Ie, ne = de)));
|
|
31491
31491
|
return Ce ? Ce.gop : null;
|
|
31492
31492
|
}, this.alignGopsAtStart_ = function(Q) {
|
|
31493
|
-
var $,
|
|
31494
|
-
for (Ke = Q.byteLength, Ie = Q.nalCount, at = Q.duration, $ =
|
|
31493
|
+
var $, ne, de, Ce, Ke, Ie, at, ft;
|
|
31494
|
+
for (Ke = Q.byteLength, Ie = Q.nalCount, at = Q.duration, $ = ne = 0; $ < A.length && ne < Q.length && (de = A[$], Ce = Q[ne], de.pts !== Ce.pts); ) {
|
|
31495
31495
|
if (Ce.pts > de.pts) {
|
|
31496
31496
|
$++;
|
|
31497
31497
|
continue;
|
|
31498
31498
|
}
|
|
31499
|
-
|
|
31499
|
+
ne++, Ke -= Ce.byteLength, Ie -= Ce.nalCount, at -= Ce.duration;
|
|
31500
31500
|
}
|
|
31501
|
-
return
|
|
31501
|
+
return ne === 0 ? Q : ne === Q.length ? null : (ft = Q.slice(ne), ft.byteLength = Ke, ft.duration = at, ft.nalCount = Ie, ft.pts = ft[0].pts, ft.dts = ft[0].dts, ft);
|
|
31502
31502
|
}, this.alignGopsAtEnd_ = function(Q) {
|
|
31503
|
-
var $,
|
|
31504
|
-
for ($ = A.length - 1,
|
|
31505
|
-
if (de = A[$], Ce = Q[
|
|
31503
|
+
var $, ne, de, Ce, Ke, Ie;
|
|
31504
|
+
for ($ = A.length - 1, ne = Q.length - 1, Ke = null, Ie = !1; $ >= 0 && ne >= 0; ) {
|
|
31505
|
+
if (de = A[$], Ce = Q[ne], de.pts === Ce.pts) {
|
|
31506
31506
|
Ie = !0;
|
|
31507
31507
|
break;
|
|
31508
31508
|
}
|
|
@@ -31510,12 +31510,12 @@ browserWorkerPolyFill(self);
|
|
|
31510
31510
|
$--;
|
|
31511
31511
|
continue;
|
|
31512
31512
|
}
|
|
31513
|
-
$ === A.length - 1 && (Ke =
|
|
31513
|
+
$ === A.length - 1 && (Ke = ne), ne--;
|
|
31514
31514
|
}
|
|
31515
31515
|
if (!Ie && Ke === null)
|
|
31516
31516
|
return null;
|
|
31517
31517
|
var at;
|
|
31518
|
-
if (Ie ? at =
|
|
31518
|
+
if (Ie ? at = ne : at = Ke, at === 0)
|
|
31519
31519
|
return Q;
|
|
31520
31520
|
var ft = Q.slice(at), oi = ft.reduce(function(zi, Ks) {
|
|
31521
31521
|
return zi.byteLength += Ks.byteLength, zi.duration += Ks.duration, zi.nalCount += Ks.nalCount, zi;
|
|
@@ -31670,8 +31670,8 @@ browserWorkerPolyFill(self);
|
|
|
31670
31670
|
version: l[0],
|
|
31671
31671
|
flags: new Uint8Array(l.subarray(1, 4)),
|
|
31672
31672
|
trackId: h.getUint32(4)
|
|
31673
|
-
}, f = p.flags[2] & 1, A = p.flags[2] & 2, C = p.flags[2] & 8, X = p.flags[2] & 16, Q = p.flags[2] & 32, $ = p.flags[0] & 65536,
|
|
31674
|
-
return de = 8, f && (de += 4, p.baseDataOffset = h.getUint32(12), de += 4), A && (p.sampleDescriptionIndex = h.getUint32(de), de += 4), C && (p.defaultSampleDuration = h.getUint32(de), de += 4), X && (p.defaultSampleSize = h.getUint32(de), de += 4), Q && (p.defaultSampleFlags = h.getUint32(de)), $ && (p.durationIsEmpty = !0), !f &&
|
|
31673
|
+
}, f = p.flags[2] & 1, A = p.flags[2] & 2, C = p.flags[2] & 8, X = p.flags[2] & 16, Q = p.flags[2] & 32, $ = p.flags[0] & 65536, ne = p.flags[0] & 131072, de;
|
|
31674
|
+
return de = 8, f && (de += 4, p.baseDataOffset = h.getUint32(12), de += 4), A && (p.sampleDescriptionIndex = h.getUint32(de), de += 4), C && (p.defaultSampleDuration = h.getUint32(de), de += 4), X && (p.defaultSampleSize = h.getUint32(de), de += 4), Q && (p.defaultSampleFlags = h.getUint32(de)), $ && (p.durationIsEmpty = !0), !f && ne && (p.baseDataOffsetIsMoof = !0), p;
|
|
31675
31675
|
}, pd = mm, vm = function(l) {
|
|
31676
31676
|
return {
|
|
31677
31677
|
isLeading: (l[0] & 12) >>> 2,
|
|
@@ -31687,10 +31687,10 @@ browserWorkerPolyFill(self);
|
|
|
31687
31687
|
version: l[0],
|
|
31688
31688
|
flags: new Uint8Array(l.subarray(1, 4)),
|
|
31689
31689
|
samples: []
|
|
31690
|
-
}, p = new DataView(l.buffer, l.byteOffset, l.byteLength), f = h.flags[2] & 1, A = h.flags[2] & 4, C = h.flags[1] & 1, X = h.flags[1] & 2, Q = h.flags[1] & 4, $ = h.flags[1] & 8,
|
|
31691
|
-
for (f && (h.dataOffset = p.getInt32(de), de += 4), A &&
|
|
31690
|
+
}, p = new DataView(l.buffer, l.byteOffset, l.byteLength), f = h.flags[2] & 1, A = h.flags[2] & 4, C = h.flags[1] & 1, X = h.flags[1] & 2, Q = h.flags[1] & 4, $ = h.flags[1] & 8, ne = p.getUint32(4), de = 8, Ce;
|
|
31691
|
+
for (f && (h.dataOffset = p.getInt32(de), de += 4), A && ne && (Ce = {
|
|
31692
31692
|
flags: gd(l.subarray(de, de + 4))
|
|
31693
|
-
}, de += 4, C && (Ce.duration = p.getUint32(de), de += 4), X && (Ce.size = p.getUint32(de), de += 4), $ && (h.version === 1 ? Ce.compositionTimeOffset = p.getInt32(de) : Ce.compositionTimeOffset = p.getUint32(de), de += 4), h.samples.push(Ce),
|
|
31693
|
+
}, de += 4, C && (Ce.duration = p.getUint32(de), de += 4), X && (Ce.size = p.getUint32(de), de += 4), $ && (h.version === 1 ? Ce.compositionTimeOffset = p.getInt32(de) : Ce.compositionTimeOffset = p.getUint32(de), de += 4), h.samples.push(Ce), ne--); ne--; )
|
|
31694
31694
|
Ce = {}, C && (Ce.duration = p.getUint32(de), de += 4), X && (Ce.size = p.getUint32(de), de += 4), Q && (Ce.flags = gd(l.subarray(de, de + 4)), de += 4), $ && (h.version === 1 ? Ce.compositionTimeOffset = p.getInt32(de) : Ce.compositionTimeOffset = p.getUint32(de), de += 4), h.samples.push(Ce);
|
|
31695
31695
|
return h;
|
|
31696
31696
|
}, md = bm, vd = {
|
|
@@ -31706,14 +31706,14 @@ browserWorkerPolyFill(self);
|
|
|
31706
31706
|
}, Tm = {
|
|
31707
31707
|
uint8ToCString: Am
|
|
31708
31708
|
}, za = Tm.uint8ToCString, _m = r.getUint64, Cm = function(l) {
|
|
31709
|
-
var h = 4, p = l[0], f, A, C, X, Q, $,
|
|
31709
|
+
var h = 4, p = l[0], f, A, C, X, Q, $, ne, de;
|
|
31710
31710
|
if (p === 0) {
|
|
31711
31711
|
f = za(l.subarray(h)), h += f.length, A = za(l.subarray(h)), h += A.length;
|
|
31712
31712
|
var Ce = new DataView(l.buffer);
|
|
31713
|
-
C = Ce.getUint32(h), h += 4, Q = Ce.getUint32(h), h += 4, $ = Ce.getUint32(h), h += 4,
|
|
31713
|
+
C = Ce.getUint32(h), h += 4, Q = Ce.getUint32(h), h += 4, $ = Ce.getUint32(h), h += 4, ne = Ce.getUint32(h), h += 4;
|
|
31714
31714
|
} else if (p === 1) {
|
|
31715
31715
|
var Ce = new DataView(l.buffer);
|
|
31716
|
-
C = Ce.getUint32(h), h += 4, X = _m(l.subarray(h)), h += 8, $ = Ce.getUint32(h), h += 4,
|
|
31716
|
+
C = Ce.getUint32(h), h += 4, X = _m(l.subarray(h)), h += 8, $ = Ce.getUint32(h), h += 4, ne = Ce.getUint32(h), h += 4, f = za(l.subarray(h)), h += f.length, A = za(l.subarray(h)), h += A.length;
|
|
31717
31717
|
}
|
|
31718
31718
|
de = new Uint8Array(l.subarray(h, l.byteLength));
|
|
31719
31719
|
var Ke = {
|
|
@@ -31724,7 +31724,7 @@ browserWorkerPolyFill(self);
|
|
|
31724
31724
|
presentation_time: X,
|
|
31725
31725
|
presentation_time_delta: Q,
|
|
31726
31726
|
event_duration: $,
|
|
31727
|
-
id:
|
|
31727
|
+
id: ne,
|
|
31728
31728
|
message_data: de
|
|
31729
31729
|
};
|
|
31730
31730
|
return Em(p, Ke) ? Ke : void 0;
|
|
@@ -31744,15 +31744,15 @@ browserWorkerPolyFill(self);
|
|
|
31744
31744
|
Td = function(l) {
|
|
31745
31745
|
var h = {}, p = Gt(l, ["moov", "trak"]);
|
|
31746
31746
|
return p.reduce(function(f, A) {
|
|
31747
|
-
var C, X, Q, $,
|
|
31748
|
-
return C = Gt(A, ["tkhd"])[0], !C || (X = C[0], Q = X === 0 ? 12 : 20, $ = ja(C[Q] << 24 | C[Q + 1] << 16 | C[Q + 2] << 8 | C[Q + 3]),
|
|
31747
|
+
var C, X, Q, $, ne;
|
|
31748
|
+
return C = Gt(A, ["tkhd"])[0], !C || (X = C[0], Q = X === 0 ? 12 : 20, $ = ja(C[Q] << 24 | C[Q + 1] << 16 | C[Q + 2] << 8 | C[Q + 3]), ne = Gt(A, ["mdia", "mdhd"])[0], !ne) ? null : (X = ne[0], Q = X === 0 ? 12 : 20, f[$] = ja(ne[Q] << 24 | ne[Q + 1] << 16 | ne[Q + 2] << 8 | ne[Q + 3]), f);
|
|
31749
31749
|
}, h);
|
|
31750
31750
|
}, _d = function(l, h) {
|
|
31751
31751
|
var p;
|
|
31752
31752
|
p = Gt(h, ["moof", "traf"]);
|
|
31753
31753
|
var f = p.reduce(function(A, C) {
|
|
31754
|
-
var X = Gt(C, ["tfhd"])[0], Q = ja(X[4] << 24 | X[5] << 16 | X[6] << 8 | X[7]), $ = l[Q] || 9e4,
|
|
31755
|
-
|
|
31754
|
+
var X = Gt(C, ["tfhd"])[0], Q = ja(X[4] << 24 | X[5] << 16 | X[6] << 8 | X[7]), $ = l[Q] || 9e4, ne = Gt(C, ["tfdt"])[0], de = new DataView(ne.buffer, ne.byteOffset, ne.byteLength), Ce;
|
|
31755
|
+
ne[0] === 1 ? Ce = Im(ne.subarray(4, 12)) : Ce = de.getUint32(4);
|
|
31756
31756
|
let Ke;
|
|
31757
31757
|
return typeof Ce == "bigint" ? Ke = Ce / Sl.BigInt($) : typeof Ce == "number" && !isNaN(Ce) && (Ke = Ce / $), Ke < Number.MAX_SAFE_INTEGER && (Ke = Number(Ke)), Ke < A && (A = Ke), A;
|
|
31758
31758
|
}, 1 / 0);
|
|
@@ -31762,8 +31762,8 @@ browserWorkerPolyFill(self);
|
|
|
31762
31762
|
if (p && p.length) {
|
|
31763
31763
|
var X = Gt(p[0], ["tfhd"])[0], Q = Gt(p[0], ["trun"])[0], $ = Gt(p[0], ["tfdt"])[0];
|
|
31764
31764
|
if (X) {
|
|
31765
|
-
var
|
|
31766
|
-
C =
|
|
31765
|
+
var ne = wm(X);
|
|
31766
|
+
C = ne.trackId;
|
|
31767
31767
|
}
|
|
31768
31768
|
if ($) {
|
|
31769
31769
|
var de = Dm($);
|
|
@@ -31783,8 +31783,8 @@ browserWorkerPolyFill(self);
|
|
|
31783
31783
|
return h.forEach(function(f) {
|
|
31784
31784
|
var A = Gt(f, ["mdia", "hdlr"]), C = Gt(f, ["tkhd"]);
|
|
31785
31785
|
A.forEach(function(X, Q) {
|
|
31786
|
-
var $ = Rn(X.subarray(8, 12)),
|
|
31787
|
-
$ === "vide" && (de = new DataView(
|
|
31786
|
+
var $ = Rn(X.subarray(8, 12)), ne = C[Q], de, Ce, Ke;
|
|
31787
|
+
$ === "vide" && (de = new DataView(ne.buffer, ne.byteOffset, ne.byteLength), Ce = de.getUint8(0), Ke = Ce === 0 ? de.getUint32(12) : de.getUint32(20), p.push(Ke));
|
|
31788
31788
|
});
|
|
31789
31789
|
}), p;
|
|
31790
31790
|
}, El = function(l) {
|
|
@@ -31797,8 +31797,8 @@ browserWorkerPolyFill(self);
|
|
|
31797
31797
|
C && (X = new DataView(C.buffer, C.byteOffset, C.byteLength), Q = X.getUint8(0), A.id = Q === 0 ? X.getUint32(12) : X.getUint32(20));
|
|
31798
31798
|
var $ = Gt(f, ["mdia", "hdlr"])[0];
|
|
31799
31799
|
if ($) {
|
|
31800
|
-
var
|
|
31801
|
-
|
|
31800
|
+
var ne = Rn($.subarray(8, 12));
|
|
31801
|
+
ne === "vide" ? A.type = "video" : ne === "soun" ? A.type = "audio" : A.type = ne;
|
|
31802
31802
|
}
|
|
31803
31803
|
var de = Gt(f, ["mdia", "minf", "stbl", "stsd"])[0];
|
|
31804
31804
|
if (de) {
|
|
@@ -31850,7 +31850,7 @@ browserWorkerPolyFill(self);
|
|
|
31850
31850
|
}, Lm = function(l, h, p) {
|
|
31851
31851
|
var f = h, A = p.defaultSampleDuration || 0, C = p.defaultSampleSize || 0, X = p.trackId, Q = [];
|
|
31852
31852
|
return l.forEach(function($) {
|
|
31853
|
-
var
|
|
31853
|
+
var ne = Om($), de = ne.samples;
|
|
31854
31854
|
de.forEach(function(Ce) {
|
|
31855
31855
|
Ce.duration === void 0 && (Ce.duration = A), Ce.size === void 0 && (Ce.size = C), Ce.trackId = X, Ce.dts = f, Ce.compositionTimeOffset === void 0 && (Ce.compositionTimeOffset = 0), typeof f == "bigint" ? (Ce.pts = f + kd.BigInt(Ce.compositionTimeOffset), f += kd.BigInt(Ce.duration)) : (Ce.pts = f + Ce.compositionTimeOffset, f += Ce.duration);
|
|
31856
31856
|
}), Q = Q.concat(de);
|
|
@@ -31878,12 +31878,12 @@ browserWorkerPolyFill(self);
|
|
|
31878
31878
|
if (Q = f.getUint32(X), X += 4, !(Q <= 0))
|
|
31879
31879
|
switch (l[X] & 31) {
|
|
31880
31880
|
case 6:
|
|
31881
|
-
var
|
|
31881
|
+
var ne = l.subarray(X + 1, X + 1 + Q), de = Um(X, h);
|
|
31882
31882
|
if (C = {
|
|
31883
31883
|
nalUnitType: "sei_rbsp",
|
|
31884
31884
|
size: Q,
|
|
31885
|
-
data:
|
|
31886
|
-
escapedRBSP: Bm(
|
|
31885
|
+
data: ne,
|
|
31886
|
+
escapedRBSP: Bm(ne),
|
|
31887
31887
|
trackId: p
|
|
31888
31888
|
}, de)
|
|
31889
31889
|
C.pts = de.pts, C.dts = de.dts, $ = de;
|
|
@@ -31903,11 +31903,11 @@ browserWorkerPolyFill(self);
|
|
|
31903
31903
|
}, zm = function(l, h) {
|
|
31904
31904
|
var p = {}, f = Nm(l);
|
|
31905
31905
|
return f.forEach(function(A) {
|
|
31906
|
-
var C = A.mdat, X = A.traf, Q = wl(X, ["tfhd"]), $ = qm(Q[0]),
|
|
31907
|
-
h ===
|
|
31906
|
+
var C = A.mdat, X = A.traf, Q = wl(X, ["tfhd"]), $ = qm(Q[0]), ne = $.trackId, de = wl(X, ["tfdt"]), Ce = de.length > 0 ? Vm(de[0]).baseMediaDecodeTime : 0, Ke = wl(X, ["trun"]), Ie, at;
|
|
31907
|
+
h === ne && Ke.length > 0 && (Ie = Fm(Ke, Ce, $), at = Hm(C, Ie, ne), p[ne] || (p[ne] = {
|
|
31908
31908
|
seiNals: [],
|
|
31909
31909
|
logs: []
|
|
31910
|
-
}), p[
|
|
31910
|
+
}), p[ne].seiNals = p[ne].seiNals.concat(at.seiNals), p[ne].logs = p[ne].logs.concat(at.logs));
|
|
31911
31911
|
}), p;
|
|
31912
31912
|
}, jm = function(l, h, p) {
|
|
31913
31913
|
var f;
|
|
@@ -31932,19 +31932,19 @@ browserWorkerPolyFill(self);
|
|
|
31932
31932
|
});
|
|
31933
31933
|
}, this.isNewInit = function(Q, $) {
|
|
31934
31934
|
return Q && Q.length === 0 || $ && typeof $ == "object" && Object.keys($).length === 0 ? !1 : f !== Q[0] || A !== $[f];
|
|
31935
|
-
}, this.parse = function(Q, $,
|
|
31935
|
+
}, this.parse = function(Q, $, ne) {
|
|
31936
31936
|
var de;
|
|
31937
31937
|
if (this.isInitialized()) {
|
|
31938
|
-
if (!$ || !
|
|
31938
|
+
if (!$ || !ne)
|
|
31939
31939
|
return null;
|
|
31940
|
-
if (this.isNewInit($,
|
|
31941
|
-
f = $[0], A =
|
|
31940
|
+
if (this.isNewInit($, ne))
|
|
31941
|
+
f = $[0], A = ne[f];
|
|
31942
31942
|
else if (f === null || !A)
|
|
31943
31943
|
return p.push(Q), null;
|
|
31944
31944
|
} else return null;
|
|
31945
31945
|
for (; p.length > 0; ) {
|
|
31946
31946
|
var Ce = p.shift();
|
|
31947
|
-
this.parse(Ce, $,
|
|
31947
|
+
this.parse(Ce, $, ne);
|
|
31948
31948
|
}
|
|
31949
31949
|
return de = jm(Q, f, A), de && de.logs && (C.logs = C.logs.concat(de.logs)), de === null || !de.seiNals ? C.logs.length ? {
|
|
31950
31950
|
logs: C.logs,
|
|
@@ -31995,9 +31995,9 @@ browserWorkerPolyFill(self);
|
|
|
31995
31995
|
const p = [], f = Km(h);
|
|
31996
31996
|
let A = 0;
|
|
31997
31997
|
return f.forEach(function(C) {
|
|
31998
|
-
const X = C.mdat, Q = C.traf, $ = Ws(Q, ["tfdt"])[0],
|
|
31999
|
-
if ($ && (A = Qm($).baseMediaDecodeTime), de.length &&
|
|
32000
|
-
const Ce = Wm(de, A,
|
|
31998
|
+
const X = C.mdat, Q = C.traf, $ = Ws(Q, ["tfdt"])[0], ne = Ws(Q, ["tfhd"])[0], de = Ws(Q, ["trun"]);
|
|
31999
|
+
if ($ && (A = Qm($).baseMediaDecodeTime), de.length && ne) {
|
|
32000
|
+
const Ce = Wm(de, A, ne);
|
|
32001
32001
|
let Ke = 0;
|
|
32002
32002
|
Ce.forEach(function(Ie) {
|
|
32003
32003
|
const at = "utf-8", ft = new TextDecoder(at), oi = X.slice(Ke, Ke + Ie.size);
|
|
@@ -32156,11 +32156,11 @@ browserWorkerPolyFill(self);
|
|
|
32156
32156
|
p++, f++;
|
|
32157
32157
|
}
|
|
32158
32158
|
}, Md = function(l, h, p) {
|
|
32159
|
-
for (var f = 0, A = wi, C, X, Q, $,
|
|
32159
|
+
for (var f = 0, A = wi, C, X, Q, $, ne, de = !1; A <= l.byteLength; ) {
|
|
32160
32160
|
if (l[f] === _s && (l[A] === _s || A === l.byteLength)) {
|
|
32161
32161
|
switch (C = l.subarray(f, A), X = kt.ts.parseType(C, h.pid), X) {
|
|
32162
32162
|
case "pes":
|
|
32163
|
-
Q = kt.ts.parsePesType(C, h.table), $ = kt.ts.parsePayloadUnitStartIndicator(C), Q === "audio" && $ && (
|
|
32163
|
+
Q = kt.ts.parsePesType(C, h.table), $ = kt.ts.parsePayloadUnitStartIndicator(C), Q === "audio" && $ && (ne = kt.ts.parsePesTime(C), ne && (ne.type = "audio", p.audio.push(ne), de = !0));
|
|
32164
32164
|
break;
|
|
32165
32165
|
}
|
|
32166
32166
|
if (de)
|
|
@@ -32174,7 +32174,7 @@ browserWorkerPolyFill(self);
|
|
|
32174
32174
|
if (l[f] === _s && (l[A] === _s || A === l.byteLength)) {
|
|
32175
32175
|
switch (C = l.subarray(f, A), X = kt.ts.parseType(C, h.pid), X) {
|
|
32176
32176
|
case "pes":
|
|
32177
|
-
Q = kt.ts.parsePesType(C, h.table), $ = kt.ts.parsePayloadUnitStartIndicator(C), Q === "audio" && $ && (
|
|
32177
|
+
Q = kt.ts.parsePesType(C, h.table), $ = kt.ts.parsePayloadUnitStartIndicator(C), Q === "audio" && $ && (ne = kt.ts.parsePesTime(C), ne && (ne.type = "audio", p.audio.push(ne), de = !0));
|
|
32178
32178
|
break;
|
|
32179
32179
|
}
|
|
32180
32180
|
if (de)
|
|
@@ -32185,14 +32185,14 @@ browserWorkerPolyFill(self);
|
|
|
32185
32185
|
f--, A--;
|
|
32186
32186
|
}
|
|
32187
32187
|
}, r2 = function(l, h, p) {
|
|
32188
|
-
for (var f = 0, A = wi, C, X, Q, $,
|
|
32188
|
+
for (var f = 0, A = wi, C, X, Q, $, ne, de, Ce, Ke, Ie = !1, at = {
|
|
32189
32189
|
data: [],
|
|
32190
32190
|
size: 0
|
|
32191
32191
|
}; A < l.byteLength; ) {
|
|
32192
32192
|
if (l[f] === _s && l[A] === _s) {
|
|
32193
32193
|
switch (C = l.subarray(f, A), X = kt.ts.parseType(C, h.pid), X) {
|
|
32194
32194
|
case "pes":
|
|
32195
|
-
if (Q = kt.ts.parsePesType(C, h.table), $ = kt.ts.parsePayloadUnitStartIndicator(C), Q === "video" && ($ && !Ie && (
|
|
32195
|
+
if (Q = kt.ts.parsePesType(C, h.table), $ = kt.ts.parsePayloadUnitStartIndicator(C), Q === "video" && ($ && !Ie && (ne = kt.ts.parsePesTime(C), ne && (ne.type = "video", p.video.push(ne), Ie = !0)), !p.firstKeyFrame)) {
|
|
32196
32196
|
if ($ && at.size !== 0) {
|
|
32197
32197
|
for (de = new Uint8Array(at.size), Ce = 0; at.data.length; )
|
|
32198
32198
|
Ke = at.data.shift(), de.set(Ke, Ce), Ce += Ke.byteLength;
|
|
@@ -32217,7 +32217,7 @@ browserWorkerPolyFill(self);
|
|
|
32217
32217
|
if (l[f] === _s && l[A] === _s) {
|
|
32218
32218
|
switch (C = l.subarray(f, A), X = kt.ts.parseType(C, h.pid), X) {
|
|
32219
32219
|
case "pes":
|
|
32220
|
-
Q = kt.ts.parsePesType(C, h.table), $ = kt.ts.parsePayloadUnitStartIndicator(C), Q === "video" && $ && (
|
|
32220
|
+
Q = kt.ts.parsePesType(C, h.table), $ = kt.ts.parsePayloadUnitStartIndicator(C), Q === "video" && $ && (ne = kt.ts.parsePesTime(C), ne && (ne.type = "video", p.video.push(ne), Ie = !0));
|
|
32221
32221
|
break;
|
|
32222
32222
|
}
|
|
32223
32223
|
if (Ie)
|
|
@@ -32278,15 +32278,15 @@ browserWorkerPolyFill(self);
|
|
|
32278
32278
|
}
|
|
32279
32279
|
if (f === null || A === null)
|
|
32280
32280
|
return null;
|
|
32281
|
-
var
|
|
32281
|
+
var ne = vn / f, de = {
|
|
32282
32282
|
audio: [{
|
|
32283
32283
|
type: "audio",
|
|
32284
32284
|
dts: A,
|
|
32285
32285
|
pts: A
|
|
32286
32286
|
}, {
|
|
32287
32287
|
type: "audio",
|
|
32288
|
-
dts: A + p * 1024 *
|
|
32289
|
-
pts: A + p * 1024 *
|
|
32288
|
+
dts: A + p * 1024 * ne,
|
|
32289
|
+
pts: A + p * 1024 * ne
|
|
32290
32290
|
}]
|
|
32291
32291
|
};
|
|
32292
32292
|
return de;
|
|
@@ -36790,9 +36790,9 @@ const P5 = Y1(W1(function() {
|
|
|
36790
36790
|
let D = b ^ N[0], H = M ^ N[1], k = I ^ N[2], B = E ^ N[3], V, Z, U;
|
|
36791
36791
|
const W = N.length / 4 - 2;
|
|
36792
36792
|
let j, ie = 4;
|
|
36793
|
-
const Y = this._tables[1], oe = Y[0],
|
|
36793
|
+
const Y = this._tables[1], oe = Y[0], se = Y[1], J = Y[2], G = Y[3], K = Y[4];
|
|
36794
36794
|
for (j = 0; j < W; j++)
|
|
36795
|
-
V = oe[D >>> 24] ^
|
|
36795
|
+
V = oe[D >>> 24] ^ se[H >> 16 & 255] ^ J[k >> 8 & 255] ^ G[B & 255] ^ N[ie], Z = oe[H >>> 24] ^ se[k >> 16 & 255] ^ J[B >> 8 & 255] ^ G[D & 255] ^ N[ie + 1], U = oe[k >>> 24] ^ se[B >> 16 & 255] ^ J[D >> 8 & 255] ^ G[H & 255] ^ N[ie + 2], B = oe[B >>> 24] ^ se[D >> 16 & 255] ^ J[H >> 8 & 255] ^ G[k & 255] ^ N[ie + 3], ie += 4, D = V, H = Z, k = U;
|
|
36796
36796
|
for (j = 0; j < 4; j++)
|
|
36797
36797
|
F[(3 & -j) + z] = K[D >>> 24] << 24 ^ K[H >> 16 & 255] << 16 ^ K[k >> 8 & 255] << 8 ^ K[B & 255] ^ N[ie++], V = D, D = H, H = k, k = B, B = V;
|
|
36798
36798
|
}
|
|
@@ -39803,7 +39803,7 @@ const g6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4AQMAAADSHVMAAA
|
|
|
39803
39803
|
},
|
|
39804
39804
|
emits: ["getDuration", "getInstance", "setTrackIdx"],
|
|
39805
39805
|
setup(i, { expose: e, emit: t }) {
|
|
39806
|
-
const s = i, n =
|
|
39806
|
+
const s = i, n = ae(), r = ae(), a = ae(), o = t, u = ae(!1), d = () => {
|
|
39807
39807
|
u.value = !1;
|
|
39808
39808
|
}, g = (v, b = !1) => {
|
|
39809
39809
|
var M, F;
|
|
@@ -39829,7 +39829,7 @@ const g6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4AQMAAADSHVMAAA
|
|
|
39829
39829
|
};
|
|
39830
39830
|
V();
|
|
39831
39831
|
}
|
|
39832
|
-
}, m =
|
|
39832
|
+
}, m = ae([]);
|
|
39833
39833
|
vt(
|
|
39834
39834
|
() => m.value,
|
|
39835
39835
|
(v) => {
|
|
@@ -39844,7 +39844,7 @@ const g6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4AQMAAADSHVMAAA
|
|
|
39844
39844
|
deep: !0
|
|
39845
39845
|
}
|
|
39846
39846
|
);
|
|
39847
|
-
const S =
|
|
39847
|
+
const S = ae(!1), T = ae("init"), O = async () => {
|
|
39848
39848
|
if (!s.src) return;
|
|
39849
39849
|
const v = fe("playerId", {
|
|
39850
39850
|
controls: !0,
|
|
@@ -39965,11 +39965,11 @@ const g6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4AQMAAADSHVMAAA
|
|
|
39965
39965
|
},
|
|
39966
39966
|
emits: ["change-date"],
|
|
39967
39967
|
setup(i, { emit: e }) {
|
|
39968
|
-
const t = i, s = e, { t: n } = Ot(), r =
|
|
39968
|
+
const t = i, s = e, { t: n } = Ot(), r = ae(null), a = (ye) => {
|
|
39969
39969
|
r.value = ye;
|
|
39970
|
-
}, o =
|
|
39970
|
+
}, o = ae(0), u = (ye) => {
|
|
39971
39971
|
o.value = ye;
|
|
39972
|
-
}, d =
|
|
39972
|
+
}, d = ae([]), g = async (ye) => {
|
|
39973
39973
|
const Ve = await (await fetch(ye)).json();
|
|
39974
39974
|
d.value = (Ve.segments || []).map((_e) => {
|
|
39975
39975
|
const qe = Mv(_e.speaker);
|
|
@@ -39980,9 +39980,9 @@ const g6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4AQMAAADSHVMAAA
|
|
|
39980
39980
|
speakerLabel: `${n("meeting.speaker")}${qe}`
|
|
39981
39981
|
};
|
|
39982
39982
|
});
|
|
39983
|
-
}, m =
|
|
39983
|
+
}, m = ae([]), S = (ye) => H2[ye % 6], T = ae(0), O = (ye) => {
|
|
39984
39984
|
T.value = ye;
|
|
39985
|
-
}, v =
|
|
39985
|
+
}, v = ae(), b = ae(""), E = ae([0, 0]);
|
|
39986
39986
|
function I(ye, me) {
|
|
39987
39987
|
const Ve = me.getBoundingClientRect(), qe = (ye.clientX - Ve.left) / Ve.width;
|
|
39988
39988
|
return E.value[1] = `${me.offsetTop + me.parentElement.offsetTop}px`, E.value[0] = `${qe * 100}%`, qe * T.value;
|
|
@@ -40012,7 +40012,7 @@ const g6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4AQMAAADSHVMAAA
|
|
|
40012
40012
|
startTimeNumber: Yr(_e.startTime),
|
|
40013
40013
|
endTimeNumber: Yr(_e.endTime)
|
|
40014
40014
|
}));
|
|
40015
|
-
}, H =
|
|
40015
|
+
}, H = ae("info"), k = Ae(() => {
|
|
40016
40016
|
const ye = [
|
|
40017
40017
|
{
|
|
40018
40018
|
label: n("meeting.baseInfo"),
|
|
@@ -40031,15 +40031,15 @@ const g6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4AQMAAADSHVMAAA
|
|
|
40031
40031
|
});
|
|
40032
40032
|
const V = (ye) => {
|
|
40033
40033
|
s("change-date", ye);
|
|
40034
|
-
}, Z =
|
|
40034
|
+
}, Z = ae(null), U = ae("auto");
|
|
40035
40035
|
let W = null, j = null;
|
|
40036
40036
|
const ie = () => {
|
|
40037
40037
|
Z.value && (U.value = `${Z.value.offsetHeight}px`);
|
|
40038
40038
|
}, Y = () => {
|
|
40039
40039
|
cancelAnimationFrame(j), j = requestAnimationFrame(ie);
|
|
40040
|
-
}, oe =
|
|
40040
|
+
}, oe = ae(null), se = ae(!1), J = () => {
|
|
40041
40041
|
const ye = oe.value;
|
|
40042
|
-
ye && (
|
|
40042
|
+
ye && (se.value = ye.offsetHeight > M6);
|
|
40043
40043
|
};
|
|
40044
40044
|
let G = null, K = null;
|
|
40045
40045
|
const ue = () => {
|
|
@@ -40052,7 +40052,7 @@ const g6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4AQMAAADSHVMAAA
|
|
|
40052
40052
|
}), Rs(() => {
|
|
40053
40053
|
cancelAnimationFrame(j), W == null || W.disconnect(), cancelAnimationFrame(G), K == null || K.disconnect();
|
|
40054
40054
|
});
|
|
40055
|
-
const xe =
|
|
40055
|
+
const xe = ae(!1), te = () => {
|
|
40056
40056
|
xe.value = !xe.value;
|
|
40057
40057
|
};
|
|
40058
40058
|
return (ye, me) => {
|
|
@@ -40125,7 +40125,7 @@ const g6 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4AQMAAADSHVMAAA
|
|
|
40125
40125
|
_: 1
|
|
40126
40126
|
}, 8, ["modelValue"]),
|
|
40127
40127
|
P(c(is), {
|
|
40128
|
-
class: Oe(["tab-content", `tab-content-${H.value}`, xe.value ? "is-expanded" : "",
|
|
40128
|
+
class: Oe(["tab-content", `tab-content-${H.value}`, xe.value ? "is-expanded" : "", se.value ? "is-collapsible" : ""]),
|
|
40129
40129
|
"show-type": "hover"
|
|
40130
40130
|
}, {
|
|
40131
40131
|
default: x(() => {
|
|
@@ -40252,7 +40252,7 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
40252
40252
|
n("click-date", m);
|
|
40253
40253
|
}, a = (m) => {
|
|
40254
40254
|
s.current + m >= s.total || s.current + m < 0 || n("change-month", m);
|
|
40255
|
-
}, o =
|
|
40255
|
+
}, o = ae(null), u = () => {
|
|
40256
40256
|
var v, b;
|
|
40257
40257
|
const m = ((b = (v = o.value) == null ? void 0 : v.getContainerEl) == null ? void 0 : b.call(v)) ?? null;
|
|
40258
40258
|
if (!m) return !1;
|
|
@@ -40362,6 +40362,7 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
40362
40362
|
props: {
|
|
40363
40363
|
sigName: {},
|
|
40364
40364
|
getMeetingListRequest: {},
|
|
40365
|
+
streamDateList: { type: Boolean },
|
|
40365
40366
|
getDateListRequest: {},
|
|
40366
40367
|
getEventsListRequest: {},
|
|
40367
40368
|
emptyImg: {},
|
|
@@ -40370,14 +40371,14 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
40370
40371
|
},
|
|
40371
40372
|
emits: ["change-date"],
|
|
40372
40373
|
setup(i, { emit: e }) {
|
|
40373
|
-
const t = i, { t: s, locale: n, meetingTabs: r } = fn(), a = Ae(() => n.value === Go.EN), { lePadV: o } = Ht(), u =
|
|
40374
|
-
F(
|
|
40375
|
-
}, M = (
|
|
40376
|
-
F(
|
|
40377
|
-
}, F = async (
|
|
40378
|
-
if (d("change-date",
|
|
40374
|
+
const t = i, { t: s, locale: n, meetingTabs: r } = fn(), a = Ae(() => n.value === Go.EN), { lePadV: o } = Ht(), u = ae(""), d = e, g = ae(!1), m = ae([]), S = Ae(() => o.value ? 100 : 5), T = ae(""), O = ae([]), v = ae([]), b = ae([]), E = ae(-1), I = (se) => {
|
|
40375
|
+
F(se);
|
|
40376
|
+
}, M = (se) => {
|
|
40377
|
+
F(se);
|
|
40378
|
+
}, F = async (se) => {
|
|
40379
|
+
if (d("change-date", se), !!t.getMeetingListRequest)
|
|
40379
40380
|
try {
|
|
40380
|
-
g.value = !0, u.value = He(
|
|
40381
|
+
g.value = !0, u.value = He(se).format("YYYY-MM-DD");
|
|
40381
40382
|
const J = await t.getMeetingListRequest(u.value, t.sigName);
|
|
40382
40383
|
m.value = J.map((G) => ({
|
|
40383
40384
|
...G,
|
|
@@ -40389,51 +40390,58 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
40389
40390
|
g.value = !1;
|
|
40390
40391
|
}
|
|
40391
40392
|
}, z = async () => {
|
|
40392
|
-
|
|
40393
|
-
|
|
40393
|
+
if (t.getDateListRequest)
|
|
40394
|
+
if (t.streamDateList) {
|
|
40395
|
+
O.value = [];
|
|
40396
|
+
for await (const se of t.getDateListRequest())
|
|
40397
|
+
Array.isArray(se) ? O.value.push(...se) : typeof se == "string" && O.value.push(se);
|
|
40398
|
+
} else
|
|
40399
|
+
O.value = await t.getDateListRequest();
|
|
40400
|
+
t.getEventsListRequest && (b.value = (await t.getEventsListRequest(u.value, t.sigName)).map((se) => ({
|
|
40401
|
+
...se,
|
|
40394
40402
|
type: et.EVENTS
|
|
40395
|
-
})), v.value = (b.value || []).map((
|
|
40396
|
-
}, N =
|
|
40403
|
+
})), v.value = (b.value || []).map((se) => se.dates || []).flat());
|
|
40404
|
+
}, N = ae(et.ALL), D = () => {
|
|
40397
40405
|
z();
|
|
40398
|
-
}, H = (
|
|
40399
|
-
const J = He(
|
|
40406
|
+
}, H = (se) => {
|
|
40407
|
+
const J = He(se).format("YYYY-MM-DD");
|
|
40400
40408
|
return [J.slice(0, 7), J.slice(8, 10)];
|
|
40401
40409
|
}, k = Ae(() => {
|
|
40402
|
-
let
|
|
40403
|
-
return N.value === et.ALL ?
|
|
40410
|
+
let se;
|
|
40411
|
+
return N.value === et.ALL ? se = [...O.value || [], ...v.value] : N.value === et.MEETING ? se = O.value || [] : N.value === et.EVENTS ? se = v.value || [] : se = [], [...new Set(se)].sort((J, G) => He(J).isAfter(He(G)) ? 1 : -1).map((J) => He(J).format("YYYY-MM-DD"));
|
|
40404
40412
|
}), B = () => {
|
|
40405
|
-
let
|
|
40406
|
-
|
|
40407
|
-
[...k.value].reverse().find((J) => !He(J).isAfter(He()))), T.value =
|
|
40413
|
+
let se = k.value.find((J) => J === He().format("YYYY-MM-DD"));
|
|
40414
|
+
se || (se = k.value.find((J) => !He().isAfter(He(J))) || // 未来日期最近日期
|
|
40415
|
+
[...k.value].reverse().find((J) => !He(J).isAfter(He()))), T.value = se;
|
|
40408
40416
|
};
|
|
40409
|
-
vt(() => k.value, (
|
|
40410
|
-
|
|
40417
|
+
vt(() => k.value, (se) => {
|
|
40418
|
+
se.length && (B(), _t(() => {
|
|
40411
40419
|
F(T.value);
|
|
40412
40420
|
}));
|
|
40413
40421
|
});
|
|
40414
40422
|
const V = Ae(() => {
|
|
40415
|
-
const
|
|
40423
|
+
const se = k.value.reduce((J, G) => {
|
|
40416
40424
|
var xe;
|
|
40417
40425
|
const [K, ue] = H(G);
|
|
40418
40426
|
return J[K] = {
|
|
40419
40427
|
days: [...((xe = J[K]) == null ? void 0 : xe.days) || [], ue]
|
|
40420
40428
|
}, J;
|
|
40421
40429
|
}, {});
|
|
40422
|
-
return Object.keys(
|
|
40430
|
+
return Object.keys(se).map((J) => {
|
|
40423
40431
|
var K, ue;
|
|
40424
40432
|
let G = [];
|
|
40425
|
-
return (ue = (K =
|
|
40433
|
+
return (ue = (K = se[J]) == null ? void 0 : K.days) == null || ue.map((xe) => {
|
|
40426
40434
|
G.push({ month: J, day: xe });
|
|
40427
40435
|
}), G;
|
|
40428
40436
|
});
|
|
40429
|
-
}), Z = Ae(() => V.value.map((
|
|
40430
|
-
const J =
|
|
40437
|
+
}), Z = Ae(() => V.value.map((se) => {
|
|
40438
|
+
const J = se.reduce((G, K) => (G[K.month] = G[K.month] || [], G[K.month].push(K.day), G), {});
|
|
40431
40439
|
return Object.keys(J).map((G) => ({
|
|
40432
40440
|
month: G,
|
|
40433
40441
|
days: J[G] || []
|
|
40434
40442
|
}));
|
|
40435
40443
|
})), U = () => {
|
|
40436
|
-
V.value.length ? (E.value = V.value.findIndex((
|
|
40444
|
+
V.value.length ? (E.value = V.value.findIndex((se) => se.some((J) => T.value === `${J.month}-${J.day}`)), E.value === -1 && (E.value = V.value.findIndex((se) => se.some((J) => T.value.includes(J.month))))) : E.value = -1;
|
|
40437
40445
|
};
|
|
40438
40446
|
vt(
|
|
40439
40447
|
[() => V.value, () => T.value],
|
|
@@ -40442,14 +40450,14 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
40442
40450
|
},
|
|
40443
40451
|
{ deep: !0 }
|
|
40444
40452
|
);
|
|
40445
|
-
const W = (
|
|
40446
|
-
E.value +=
|
|
40447
|
-
}, j =
|
|
40453
|
+
const W = (se) => {
|
|
40454
|
+
E.value += se;
|
|
40455
|
+
}, j = ae(null);
|
|
40448
40456
|
let ie = null;
|
|
40449
40457
|
const Y = Hi(() => {
|
|
40450
|
-
const
|
|
40451
|
-
if (!
|
|
40452
|
-
const J =
|
|
40458
|
+
const se = j.value;
|
|
40459
|
+
if (!se || !Os) return;
|
|
40460
|
+
const J = se.querySelector(".meeting-card-header .o-tab");
|
|
40453
40461
|
if (!J) return;
|
|
40454
40462
|
const G = J.querySelector(".o-tab-navs-container");
|
|
40455
40463
|
if (!G) return;
|
|
@@ -40464,10 +40472,10 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
40464
40472
|
ie == null || ie.disconnect(), ie = null;
|
|
40465
40473
|
}), vt(() => r.value, () => _t(Y));
|
|
40466
40474
|
const oe = Ae(() => {
|
|
40467
|
-
let
|
|
40468
|
-
return N.value === et.ALL ?
|
|
40475
|
+
let se;
|
|
40476
|
+
return N.value === et.ALL ? se = [...m.value || [], ...b.value] : N.value === et.MEETING ? se = m.value || [] : N.value === et.EVENTS ? se = b.value || [] : se = [], se;
|
|
40469
40477
|
});
|
|
40470
|
-
return (
|
|
40478
|
+
return (se, J) => (y(), w("div", {
|
|
40471
40479
|
ref_key: "rootRef",
|
|
40472
40480
|
ref: j,
|
|
40473
40481
|
class: "o-sig-meeting-calendar",
|
|
@@ -40587,7 +40595,7 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
40587
40595
|
rows: S.value
|
|
40588
40596
|
}, {
|
|
40589
40597
|
empty: x(() => [
|
|
40590
|
-
Qe(
|
|
40598
|
+
Qe(se.$slots, "empty", {}, () => [
|
|
40591
40599
|
P(c(ic), { class: "empty-result" }, {
|
|
40592
40600
|
image: x(() => [
|
|
40593
40601
|
P(c(Gs), {
|
|
@@ -40635,7 +40643,7 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
40635
40643
|
},
|
|
40636
40644
|
emits: ["edit"],
|
|
40637
40645
|
setup(i, { emit: e }) {
|
|
40638
|
-
const t = Ln(null), s =
|
|
40646
|
+
const t = Ln(null), s = ae(!1), n = ae(1), r = ae(50), a = ae(null), o = ae([]), u = ae([]), d = Ae(() => a.value === null || u.value.length < a.value), g = ae(!1), { t: m, locale: S, getPointStr: T, getConfig: O, getWeekFromDate: v } = fn(), b = Ae(() => S.value === Go.EN), E = i, I = ae(!1), { isPhone: M } = Ht(), F = ae([]), z = e, N = ae(!1), D = ae(!1), H = async () => {
|
|
40639
40647
|
if (E.getMeetingListRequest && !N.value)
|
|
40640
40648
|
try {
|
|
40641
40649
|
if (a.value !== null && a.value > 0 && (n.value - 1) * r.value > a.value)
|
|
@@ -40677,14 +40685,14 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
40677
40685
|
cycleType: Ki
|
|
40678
40686
|
});
|
|
40679
40687
|
const L = ((Li = Fe.obs_data) == null ? void 0 : Li.filter((q) => q.text_video_url)) || [];
|
|
40680
|
-
return Ge.filter((q) => He(q.date).isBefore(He(Le.value).add(1, "month").format("YYYY-MM-01")) && !He(q.date).isBefore(He(Le.value).format("YYYY-MM-01"))).map(({ id: q, ...
|
|
40688
|
+
return Ge.filter((q) => He(q.date).isBefore(He(Le.value).add(1, "month").format("YYYY-MM-01")) && !He(q.date).isBefore(He(Le.value).format("YYYY-MM-01"))).map(({ id: q, ...re }) => ({
|
|
40681
40689
|
...Fe,
|
|
40682
|
-
...
|
|
40690
|
+
...re,
|
|
40683
40691
|
timeRange: ai,
|
|
40684
|
-
dateRange: `${
|
|
40685
|
-
hasObsData: L.find((ge) => ge.sub_id ===
|
|
40686
|
-
time: `${
|
|
40687
|
-
isExpired: He(`${
|
|
40692
|
+
dateRange: `${re.start}-${re.end}`,
|
|
40693
|
+
hasObsData: L.find((ge) => ge.sub_id === re.sub_id),
|
|
40694
|
+
time: `${re.start}-${re.end}`,
|
|
40695
|
+
isExpired: He(`${re.date} ${re.start}`).isBefore(He())
|
|
40688
40696
|
}));
|
|
40689
40697
|
}
|
|
40690
40698
|
return [
|
|
@@ -40720,13 +40728,13 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
40720
40728
|
Fe + pe >= Se && k();
|
|
40721
40729
|
}, U = () => {
|
|
40722
40730
|
Ye.value.getContainerEl().addEventListener("scroll", Z);
|
|
40723
|
-
}, W =
|
|
40731
|
+
}, W = ae({}), j = (ke, Me) => {
|
|
40724
40732
|
ke && Me && (W.value[Me] = ke);
|
|
40725
40733
|
}, ie = async (ke) => {
|
|
40726
40734
|
await W.value[ke].copyInfo(), t.success({
|
|
40727
40735
|
content: m("common.copySuccess")
|
|
40728
40736
|
});
|
|
40729
|
-
}, Y =
|
|
40737
|
+
}, Y = ae(!1), oe = ae(null), se = (ke) => {
|
|
40730
40738
|
z("edit", ke, "whole");
|
|
40731
40739
|
}, J = (ke) => {
|
|
40732
40740
|
oe.value = ke, Y.value = !0;
|
|
@@ -40743,7 +40751,7 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
40743
40751
|
} finally {
|
|
40744
40752
|
I.value = !1;
|
|
40745
40753
|
}
|
|
40746
|
-
}, K =
|
|
40754
|
+
}, K = ae(!1), ue = ae(""), xe = ae(null), te = [
|
|
40747
40755
|
{
|
|
40748
40756
|
label: m("meeting.meetingSingle"),
|
|
40749
40757
|
value: "single"
|
|
@@ -40752,8 +40760,8 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
40752
40760
|
label: m("meeting.meetingCycle"),
|
|
40753
40761
|
value: "whole"
|
|
40754
40762
|
}
|
|
40755
|
-
], ye =
|
|
40756
|
-
ke.is_cycle ? (xe.value = ke, ue.value = Me, K.value = !0) : Me === "cancel" ? J(ke) :
|
|
40763
|
+
], ye = ae("single"), me = (ke, Me) => {
|
|
40764
|
+
ke.is_cycle ? (xe.value = ke, ue.value = Me, K.value = !0) : Me === "cancel" ? J(ke) : se(ke);
|
|
40757
40765
|
}, Ve = () => {
|
|
40758
40766
|
K.value = !1, xe.value = null, ue.value = "", ye.value = "single";
|
|
40759
40767
|
}, _e = async () => {
|
|
@@ -40781,9 +40789,9 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
40781
40789
|
}
|
|
40782
40790
|
else
|
|
40783
40791
|
z("edit", ke, ye.value), Ve();
|
|
40784
|
-
}, qe =
|
|
40792
|
+
}, qe = ae(), it = Ae(() => [...new Set(o.value.map((ke) => ke.date))].sort((ke, Me) => He(ke).isBefore(He(Me)) ? -1 : 1)), ve = Ae(
|
|
40785
40793
|
() => [...new Set(o.value.filter((ke) => !ke.isExpired && !ke.is_delete).map((ke) => ke.date))].sort((ke, Me) => He(ke).isBefore(He(Me)) ? -1 : 1)
|
|
40786
|
-
), Le =
|
|
40794
|
+
), Le = ae(), je = () => {
|
|
40787
40795
|
var Fe;
|
|
40788
40796
|
const ke = ve.value.find((Se) => !He(Se).isBefore(He(/* @__PURE__ */ new Date()).format("YYYY-MM-DD")));
|
|
40789
40797
|
ke ? Le.value = ke : Le.value || (Le.value = He().format("YYYY-MM-DD")), (Fe = qe.value) == null || Fe.pickDay(He(Le.value)), Le.value = He(Le.value).format("YYYY-MM-DD");
|
|
@@ -40813,7 +40821,7 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
40813
40821
|
list: [Me]
|
|
40814
40822
|
}
|
|
40815
40823
|
];
|
|
40816
|
-
}, [])), Ye =
|
|
40824
|
+
}, [])), Ye = ae();
|
|
40817
40825
|
vt(
|
|
40818
40826
|
() => Le.value,
|
|
40819
40827
|
() => {
|
|
@@ -41324,18 +41332,18 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
41324
41332
|
search: "",
|
|
41325
41333
|
sponsor: "",
|
|
41326
41334
|
order_by: ""
|
|
41327
|
-
}), S =
|
|
41335
|
+
}), S = ae([]), T = Ae(() => g.applicantList.map((Pe) => ({ value: Pe, label: Pe }))), O = () => {
|
|
41328
41336
|
m.sponsor = S.value.join(",");
|
|
41329
|
-
}, v =
|
|
41337
|
+
}, v = ae("desc"), b = () => {
|
|
41330
41338
|
v.value = v.value === "asc" ? "desc" : "asc", m.order_by = v.value;
|
|
41331
|
-
}, E =
|
|
41339
|
+
}, E = ae(), I = Ae(() => {
|
|
41332
41340
|
const Pe = [];
|
|
41333
41341
|
return n.value.forEach((Te) => {
|
|
41334
41342
|
Pe.push(Te);
|
|
41335
41343
|
}), Pe.slice(1);
|
|
41336
41344
|
}), M = () => {
|
|
41337
41345
|
m.status = E.value, E.value === "cancel" ? m.is_delete = 1 : m.is_delete = 0;
|
|
41338
|
-
}, F =
|
|
41346
|
+
}, F = ae([]), z = ae(0), N = [10, 20, 30, 40], D = async () => {
|
|
41339
41347
|
const { page: Pe, size: Te, status: be, sponsor: tt, order_by: ke, search: Me, is_delete: Fe } = m;
|
|
41340
41348
|
let Se = { page: Pe, size: Te, sponsor: tt, order_by: ke, search: Me };
|
|
41341
41349
|
if (be !== "all" && be !== "" && (Se.is_delete = Fe), be === "cancel" ? Se.status = "" : Se.status = be, !g.getTableDataRequest)
|
|
@@ -41358,9 +41366,9 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
41358
41366
|
}).flat(), z.value = pe.total;
|
|
41359
41367
|
}, H = (Pe) => {
|
|
41360
41368
|
Pe.pageSize !== m.size ? m.page = 1 : m.page = Pe.page, m.size = Pe.pageSize, D();
|
|
41361
|
-
}, k =
|
|
41369
|
+
}, k = ae({
|
|
41362
41370
|
reason: ""
|
|
41363
|
-
}), B =
|
|
41371
|
+
}), B = ae(), V = ae(!1), Z = ae(null), U = ae(""), W = ae(0), j = ae(!1), ie = ae({
|
|
41364
41372
|
reason: [{ required: !0, message: e("meeting.enterReviewNotes") }]
|
|
41365
41373
|
}), Y = async () => {
|
|
41366
41374
|
var Pe, Te, be, tt;
|
|
@@ -41380,7 +41388,7 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
41380
41388
|
}
|
|
41381
41389
|
}, oe = () => {
|
|
41382
41390
|
j.value = !1, J.value = !1, V.value = !1, k.value.reason = "";
|
|
41383
|
-
},
|
|
41391
|
+
}, se = async () => {
|
|
41384
41392
|
var Pe;
|
|
41385
41393
|
if (g.deleteActivityRequest && g.cancelActivityRequest)
|
|
41386
41394
|
try {
|
|
@@ -41390,7 +41398,7 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
41390
41398
|
} finally {
|
|
41391
41399
|
V.value = !1, J.value = !1;
|
|
41392
41400
|
}
|
|
41393
|
-
}, J =
|
|
41401
|
+
}, J = ae(!1), G = ae(""), K = ae(""), ue = ae(0), xe = (Pe) => {
|
|
41394
41402
|
G.value = e("meeting.deleteActivity"), K.value = e("meeting.deleteActivity").toLowerCase(), Z.value = Pe, ue.value = 0, J.value = !0;
|
|
41395
41403
|
}, te = (Pe) => {
|
|
41396
41404
|
G.value = e("meeting.cancelActivity"), K.value = e("common.cancel").toLowerCase(), Z.value = Pe, ue.value = 1, J.value = !0;
|
|
@@ -41398,7 +41406,7 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
41398
41406
|
Z.value = Pe, U.value = e("meeting.approveReview"), W.value = 1, j.value = !0;
|
|
41399
41407
|
}, me = (Pe) => {
|
|
41400
41408
|
Z.value = Pe, U.value = e("meeting.rejectReview"), W.value = 0, j.value = !0;
|
|
41401
|
-
}, Ve =
|
|
41409
|
+
}, Ve = ae([]), _e = ae([]), qe = (Pe) => {
|
|
41402
41410
|
const Te = Pe.toString();
|
|
41403
41411
|
if (!g.getActivityDetailRequest)
|
|
41404
41412
|
return;
|
|
@@ -41412,11 +41420,11 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
41412
41420
|
_e.value.includes(Te) ? _e.value.splice(be, 1) : _e.value.push(Te);
|
|
41413
41421
|
}, it = (Pe) => {
|
|
41414
41422
|
qe(Pe.id);
|
|
41415
|
-
}, ve = (Pe) => Pe.id.toString(), Le =
|
|
41423
|
+
}, ve = (Pe) => Pe.id.toString(), Le = ae([]), je = (Pe) => {
|
|
41416
41424
|
Pe.length && Pe.forEach((Te) => {
|
|
41417
41425
|
qe(Te);
|
|
41418
41426
|
});
|
|
41419
|
-
}, ht =
|
|
41427
|
+
}, ht = ae({}), $e = (Pe, Te) => {
|
|
41420
41428
|
Pe && Te && (ht.value[Te] = Pe);
|
|
41421
41429
|
};
|
|
41422
41430
|
$t(() => {
|
|
@@ -41437,7 +41445,7 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
41437
41445
|
size: "large",
|
|
41438
41446
|
label: e("meeting.confirmBtn"),
|
|
41439
41447
|
onClick: () => {
|
|
41440
|
-
|
|
41448
|
+
se();
|
|
41441
41449
|
}
|
|
41442
41450
|
}, {
|
|
41443
41451
|
id: "cancel",
|
|
@@ -41871,7 +41879,7 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
41871
41879
|
const { t, locale: s } = Ot(), n = Ae(() => s.value === Go.ZH), { statusMap: r, activityTypeMap: a } = Qo(), { getConfig: o } = fn(), u = (Se) => {
|
|
41872
41880
|
const pe = He(Se || /* @__PURE__ */ new Date());
|
|
41873
41881
|
return n.value ? pe.format("YYYY MM月") : pe.format("MMMM YYYY");
|
|
41874
|
-
}, d = Ln(null), { isPhone: g } = Ht(), m = i, S = e, T =
|
|
41882
|
+
}, d = Ln(null), { isPhone: g } = Ht(), m = i, S = e, T = ae([]), O = ae([]), v = ae(1), b = ae(50), E = ae(null), I = ae(!1), M = ae([]), F = ae(!1), z = ae(!1), N = Ae(() => E.value === null || O.value.length < E.value), D = async () => {
|
|
41875
41883
|
if (m.getListRequest && !F.value)
|
|
41876
41884
|
try {
|
|
41877
41885
|
if (E.value !== null && E.value > 0 && (v.value - 1) * b.value > E.value)
|
|
@@ -41905,7 +41913,7 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
41905
41913
|
} finally {
|
|
41906
41914
|
F.value = !1, z.value = !1, I.value = !1;
|
|
41907
41915
|
}
|
|
41908
|
-
}, H =
|
|
41916
|
+
}, H = ae([]), k = (Se) => {
|
|
41909
41917
|
m.getActivityDetailRequest && (H.value.includes(Se) || (H.value.push(Se), m.getActivityDetailRequest(Se).then((pe) => {
|
|
41910
41918
|
var Be;
|
|
41911
41919
|
(Be = T.value) == null || Be.forEach((st) => {
|
|
@@ -41926,7 +41934,7 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
41926
41934
|
Be + Ge >= st && me();
|
|
41927
41935
|
}, U = () => {
|
|
41928
41936
|
te.value.getContainerEl().addEventListener("scroll", Z);
|
|
41929
|
-
}, W =
|
|
41937
|
+
}, W = ae(), j = ae(He().format("YYYY-MM-DD")), ie = Ae(() => [...new Set(T.value.map((Se) => Se.start_date))].sort((Se, pe) => He(Se).isBefore(He(pe)) ? -1 : 1)), Y = Ae(
|
|
41930
41938
|
() => [...new Set(T.value.filter((Se) => !Se.isExpired && !Se.is_delete).map((Se) => Se.start_date))].sort((Se, pe) => He(Se).isBefore(He(pe)) ? -1 : 1)
|
|
41931
41939
|
), oe = () => {
|
|
41932
41940
|
var Be;
|
|
@@ -41934,7 +41942,7 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
41934
41942
|
Se ? j.value = Se : j.value || (j.value = He().format("YYYY-MM-DD")), (Be = W.value) == null || Be.pickDay(He(j.value)), j.value = He(j.value).format("YYYY-MM-DD");
|
|
41935
41943
|
const pe = T.value.find((st) => st.start_date === j.value && !st.isExpired && !st.is_delete);
|
|
41936
41944
|
pe && (k(pe.id), M.value = [pe.id]);
|
|
41937
|
-
},
|
|
41945
|
+
}, se = (Se, pe) => {
|
|
41938
41946
|
var Be;
|
|
41939
41947
|
(!pe || !((Be = Se.target) != null && Be.className.includes("date-cell-text"))) && (Se.stopPropagation(), Se.preventDefault());
|
|
41940
41948
|
}, J = (Se) => {
|
|
@@ -41958,13 +41966,13 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
41958
41966
|
list: [pe]
|
|
41959
41967
|
}
|
|
41960
41968
|
];
|
|
41961
|
-
}, [])), K =
|
|
41969
|
+
}, [])), K = ae({}), ue = (Se, pe) => {
|
|
41962
41970
|
Se && pe && (K.value[pe] = Se);
|
|
41963
41971
|
}, xe = async (Se) => {
|
|
41964
41972
|
await K.value[Se].copyInfo(), d.success({
|
|
41965
41973
|
content: t("common.copySuccess")
|
|
41966
41974
|
});
|
|
41967
|
-
}, te =
|
|
41975
|
+
}, te = ae(), ye = (Se) => {
|
|
41968
41976
|
var st, Ge, Bt;
|
|
41969
41977
|
const pe = He(Se).format("YYYY-MM-DD"), Be = document.querySelector(`#group-title-${pe}`);
|
|
41970
41978
|
Be && (g.value ? window.scrollTo({
|
|
@@ -41983,7 +41991,7 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
41983
41991
|
);
|
|
41984
41992
|
const me = Hi(() => {
|
|
41985
41993
|
N.value && (g.value || (z.value = !0, v.value++, D()));
|
|
41986
|
-
}, 200), Ve =
|
|
41994
|
+
}, 200), Ve = ae(!1), _e = ae(null), qe = ae(!1), it = (Se) => {
|
|
41987
41995
|
_e.value = Se, qe.value = !0;
|
|
41988
41996
|
}, ve = () => {
|
|
41989
41997
|
var Se;
|
|
@@ -42036,7 +42044,7 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
42036
42044
|
content: t("meeting.submitReviewSuccess", [Se.title])
|
|
42037
42045
|
}), I.value = !0, D());
|
|
42038
42046
|
});
|
|
42039
|
-
}, $e =
|
|
42047
|
+
}, $e = ae(!1), wt = (Se) => {
|
|
42040
42048
|
_e.value = Se, $e.value = !0;
|
|
42041
42049
|
}, Ye = () => {
|
|
42042
42050
|
var Se;
|
|
@@ -42050,7 +42058,7 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
42050
42058
|
}));
|
|
42051
42059
|
}, Pe = () => {
|
|
42052
42060
|
$e.value = !1;
|
|
42053
|
-
}, Te =
|
|
42061
|
+
}, Te = ae(), be = ae(0), tt = () => {
|
|
42054
42062
|
var Se;
|
|
42055
42063
|
be.value = ((Se = Te.value) == null ? void 0 : Se.clientHeight) || 0;
|
|
42056
42064
|
}, ke = Hi(() => {
|
|
@@ -42163,7 +42171,7 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
42163
42171
|
]),
|
|
42164
42172
|
"date-cell": x(({ data: Be }) => [
|
|
42165
42173
|
_("div", {
|
|
42166
|
-
onClick: (st) =>
|
|
42174
|
+
onClick: (st) => se(st, ie.value.includes(Be.day)),
|
|
42167
42175
|
class: Oe({
|
|
42168
42176
|
"date-cell": !0,
|
|
42169
42177
|
"is-selected": Be.isSelected,
|
|
@@ -42933,7 +42941,7 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
42933
42941
|
},
|
|
42934
42942
|
emits: ["update:visible"],
|
|
42935
42943
|
setup(i, { expose: e, emit: t }) {
|
|
42936
|
-
const s = i, n = t, { lePadV: r, leLaptop: a, isPhone: o } = Ht(), { locale: u, t: d } = Ot(), g = Ae(() => u.value === "zh"), m =
|
|
42944
|
+
const s = i, n = t, { lePadV: r, leLaptop: a, isPhone: o } = Ht(), { locale: u, t: d } = Ot(), g = Ae(() => u.value === "zh"), m = ae(), S = Ae(() => m.value ? !!getComputedStyle(m.value).getPropertyValue("--grid-content-width") : !1), T = Ae(() => g.value ? UT : HT), O = ae(!1), v = I2(s, "visible", n, { defaultValue: !1 }), b = (Z) => {
|
|
42937
42945
|
const U = document.cookie.split(";").find((W) => W.split("=")[0].trim() === encodeURIComponent(Z));
|
|
42938
42946
|
return U ? decodeURIComponent(U.split("=")[1]) : null;
|
|
42939
42947
|
}, E = (Z, U, W, j) => {
|
|
@@ -42945,7 +42953,7 @@ const R6 = { name: "components-icon-tips", render: B6 }, V6 = { class: "o-sig-me
|
|
|
42945
42953
|
typeof Z == "boolean" ? v.value = Z : v.value = !v.value, _t(() => {
|
|
42946
42954
|
!v.value && g.value && b(T.value) !== no && E(T.value, no, 180, s.cookieDomain ?? location.hostname);
|
|
42947
42955
|
});
|
|
42948
|
-
}, F =
|
|
42956
|
+
}, F = ae(!1), z = (Z) => {
|
|
42949
42957
|
typeof Z == "boolean" ? F.value = Z : F.value = !F.value;
|
|
42950
42958
|
}, N = () => g.value ? b(T.value) !== no : (b(T.value) ?? "0") === NT, D = () => g.value ? b(T.value) === no : b(T.value) === Gh;
|
|
42951
42959
|
$t(() => {
|
|
@@ -43332,7 +43340,7 @@ const r9 = { name: "events-icon-release", render: n9 }, a9 = {
|
|
|
43332
43340
|
data: { default: () => [] }
|
|
43333
43341
|
},
|
|
43334
43342
|
setup(i) {
|
|
43335
|
-
const e = Aa(), { lePadV: t } = Ht(), s = i, n = ["JAN", "FEB", "MAR", "Apr", "May", "JUN", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], r =
|
|
43343
|
+
const e = Aa(), { lePadV: t } = Ht(), s = i, n = ["JAN", "FEB", "MAR", "Apr", "May", "JUN", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], r = ae([]);
|
|
43336
43344
|
vt(
|
|
43337
43345
|
[() => s.data, () => t.value],
|
|
43338
43346
|
() => {
|
|
@@ -43555,7 +43563,7 @@ const ao = (i, e) => new Date(i).getTime() > new Date(e).getTime(), k9 = { class
|
|
|
43555
43563
|
label: t("events.statusFinish"),
|
|
43556
43564
|
value: tn.FINISH
|
|
43557
43565
|
}
|
|
43558
|
-
], a = e, o =
|
|
43566
|
+
], a = e, o = ae(tn.ALL), u = ae(""), d = ae(""), g = (O = {}) => {
|
|
43559
43567
|
a(
|
|
43560
43568
|
"search",
|
|
43561
43569
|
Object.assign(
|
|
@@ -43889,7 +43897,7 @@ const F9 = { name: "events-icon-checked", render: N9 }, U9 = { class: "o-events-
|
|
|
43889
43897
|
S("close"), T.forEach((z) => {
|
|
43890
43898
|
z.value = 0, z.isChange = !1;
|
|
43891
43899
|
});
|
|
43892
|
-
}, M =
|
|
43900
|
+
}, M = ae(!1), F = async (z) => {
|
|
43893
43901
|
if (M.value)
|
|
43894
43902
|
return;
|
|
43895
43903
|
M.value = !0;
|
|
@@ -44253,7 +44261,7 @@ const c_ = { name: "components-icon-smile", render: u_ }, d_ = /* @__PURE__ */ n
|
|
|
44253
44261
|
}),
|
|
44254
44262
|
emits: ["update:efficiency", "update:accuracy", "update:completeness", "update:usability", "update:feedback"],
|
|
44255
44263
|
setup(i) {
|
|
44256
|
-
const e = Qt(i, "efficiency"), t = Qt(i, "accuracy"), s = Qt(i, "completeness"), n = Qt(i, "usability"), r = Qt(i, "feedback"), { lePadV: a } = Ht(), o =
|
|
44264
|
+
const e = Qt(i, "efficiency"), t = Qt(i, "accuracy"), s = Qt(i, "completeness"), n = Qt(i, "usability"), r = Qt(i, "feedback"), { lePadV: a } = Ht(), o = ae(), u = ae(!1), d = ae(!1), g = ae(!0);
|
|
44257
44265
|
let m;
|
|
44258
44266
|
const S = () => {
|
|
44259
44267
|
a.value || (clearTimeout(m), d.value = !0);
|
|
@@ -44524,7 +44532,7 @@ const c_ = { name: "components-icon-smile", render: u_ }, d_ = /* @__PURE__ */ n
|
|
|
44524
44532
|
footerBgImg: {}
|
|
44525
44533
|
},
|
|
44526
44534
|
setup(i) {
|
|
44527
|
-
const { isPhone: e } = Ht(), t =
|
|
44535
|
+
const { isPhone: e } = Ht(), t = ae(), s = ae(!1);
|
|
44528
44536
|
let n = null;
|
|
44529
44537
|
const r = () => {
|
|
44530
44538
|
const o = t.value;
|
|
@@ -44716,7 +44724,7 @@ const Cg = { name: "components-icon-caret-right", render: oC }, lC = { class: "h
|
|
|
44716
44724
|
},
|
|
44717
44725
|
emits: ["handle-mouseenter", "handle-mouseleave", "handle-click", "nav-layout"],
|
|
44718
44726
|
setup(i, { emit: e }) {
|
|
44719
|
-
const t = e, s = i, n =
|
|
44727
|
+
const t = e, s = i, n = ae(), r = ae(), a = ae(), o = ae(!1), u = ae(!1), d = ae(), g = Hi((D, H) => {
|
|
44720
44728
|
d.value = D == null ? void 0 : D.id, H === "mouseenter" && t("handle-mouseenter", D), H === "mouseleave" && (d.value = "", t("handle-mouseleave", D));
|
|
44721
44729
|
}, 100), m = (D) => {
|
|
44722
44730
|
t("handle-click", D);
|
|
@@ -44867,17 +44875,17 @@ const Cg = { name: "components-icon-caret-right", render: oC }, lC = { class: "h
|
|
|
44867
44875
|
},
|
|
44868
44876
|
emits: ["handle-mouseenter-sub", "handle-mouseleave-sub"],
|
|
44869
44877
|
setup(i, { emit: e }) {
|
|
44870
|
-
const t = e, s = i, { locale: n, t: r } = Ot(), { theme: a, isDark: o } = Cr(), u =
|
|
44878
|
+
const t = e, s = i, { locale: n, t: r } = Ot(), { theme: a, isDark: o } = Cr(), u = ae(!1), d = () => {
|
|
44871
44879
|
var D;
|
|
44872
44880
|
t("handle-mouseenter-sub", (D = s.itemData) == null ? void 0 : D.id), u.value = !0;
|
|
44873
44881
|
}, g = () => {
|
|
44874
44882
|
t("handle-mouseleave-sub", ""), u.value = !1;
|
|
44875
|
-
}, m =
|
|
44883
|
+
}, m = ae(!1), S = (D) => {
|
|
44876
44884
|
if (!D || !D.target)
|
|
44877
44885
|
return;
|
|
44878
44886
|
const H = D.target;
|
|
44879
44887
|
m.value = H.clientHeight < H.scrollHeight;
|
|
44880
|
-
}, T =
|
|
44888
|
+
}, T = ae(!1), O = (D) => {
|
|
44881
44889
|
if (!D || !D.target)
|
|
44882
44890
|
return;
|
|
44883
44891
|
const H = D.target;
|
|
@@ -44934,7 +44942,7 @@ const Cg = { name: "components-icon-caret-right", render: oC }, lC = { class: "h
|
|
|
44934
44942
|
"disabled-y": ""
|
|
44935
44943
|
}, {
|
|
44936
44944
|
default: x(() => {
|
|
44937
|
-
var U, W, j, ie, Y, oe,
|
|
44945
|
+
var U, W, j, ie, Y, oe, se, J;
|
|
44938
44946
|
return [
|
|
44939
44947
|
_("div", bC, [
|
|
44940
44948
|
_("div", AC, [
|
|
@@ -45091,7 +45099,7 @@ const Cg = { name: "components-icon-caret-right", render: oC }, lC = { class: "h
|
|
|
45091
45099
|
])
|
|
45092
45100
|
], 8, OC)), [
|
|
45093
45101
|
[k, () => z(G)]
|
|
45094
|
-
])), 128)) : (y(!0), w(we, { key: 0 }, Ne((
|
|
45102
|
+
])), 128)) : (y(!0), w(we, { key: 0 }, Ne((se = s.itemData) == null ? void 0 : se.shortcut, (G) => (y(), w("div", {
|
|
45095
45103
|
key: G.label,
|
|
45096
45104
|
class: "shortcut"
|
|
45097
45105
|
}, [
|
|
@@ -45164,11 +45172,11 @@ const Cg = { name: "components-icon-caret-right", render: oC }, lC = { class: "h
|
|
|
45164
45172
|
},
|
|
45165
45173
|
emits: ["handle-mouseenter", "handle-mouseleave", "handle-click"],
|
|
45166
45174
|
setup(i, { emit: e }) {
|
|
45167
|
-
const t = e, s = i, n =
|
|
45175
|
+
const t = e, s = i, n = ae(), r = Hi((F, z) => {
|
|
45168
45176
|
n.value = F == null ? void 0 : F.id, z === "mouseenter" && t("handle-mouseenter", F), z === "mouseleave" && (n.value = "", t("handle-mouseleave", F));
|
|
45169
45177
|
}, 100), a = (F) => {
|
|
45170
45178
|
t("handle-click", F);
|
|
45171
|
-
}, o =
|
|
45179
|
+
}, o = ae(), u = ae(), d = ae(), g = ae(!1), m = ae(!1), S = () => {
|
|
45172
45180
|
m.value = !0, _t(() => {
|
|
45173
45181
|
o.value.scrollTo({
|
|
45174
45182
|
left: o.value.clientWidth,
|
|
@@ -45393,19 +45401,19 @@ const Cg = { name: "components-icon-caret-right", render: oC }, lC = { class: "h
|
|
|
45393
45401
|
},
|
|
45394
45402
|
emits: ["go-home", "handle-click", "nav-layout"],
|
|
45395
45403
|
setup(i, { emit: e }) {
|
|
45396
|
-
const t = e, s = i, n =
|
|
45404
|
+
const t = e, s = i, n = ae(), r = ae(), a = ae(), o = ae(!1), u = Ae(() => {
|
|
45397
45405
|
var V;
|
|
45398
45406
|
return (V = a.value) == null ? void 0 : V.label;
|
|
45399
45407
|
});
|
|
45400
45408
|
en("hoveringNavLiName", u);
|
|
45401
|
-
const d =
|
|
45409
|
+
const d = ae(null), g = ae(), m = ae({ x: 0, y: 0 });
|
|
45402
45410
|
let S = null;
|
|
45403
45411
|
const T = () => {
|
|
45404
45412
|
d.value !== null && (clearTimeout(d.value), d.value = null), O();
|
|
45405
45413
|
}, O = () => {
|
|
45406
45414
|
S && (document.removeEventListener("mousemove", S), S = null);
|
|
45407
45415
|
}, v = (V, Z, U, W, j, ie, Y, oe) => {
|
|
45408
|
-
const
|
|
45416
|
+
const se = (V - j) * (W - ie) - (U - j) * (Z - ie), J = (V - Y) * (ie - oe) - (j - Y) * (Z - oe), G = (V - U) * (oe - W) - (Y - U) * (Z - W), K = se < 0 || J < 0 || G < 0, ue = se > 0 || J > 0 || G > 0;
|
|
45409
45417
|
return !(K && ue);
|
|
45410
45418
|
}, b = (V = !0) => {
|
|
45411
45419
|
T();
|
|
@@ -45443,7 +45451,7 @@ const Cg = { name: "components-icon-caret-right", render: oC }, lC = { class: "h
|
|
|
45443
45451
|
T(), r.value = V;
|
|
45444
45452
|
}, H = (V) => {
|
|
45445
45453
|
r.value = V, b(!1);
|
|
45446
|
-
}, k =
|
|
45454
|
+
}, k = ae(0), B = ae(0);
|
|
45447
45455
|
return en("navStepCount", Rd(B)), en("navFirstHoverTime", Rd(k)), en("increNavStepCount", () => {
|
|
45448
45456
|
B.value++;
|
|
45449
45457
|
}), en("updateNavFirstHoverTime", () => {
|
|
@@ -45550,7 +45558,7 @@ const lx = { class: "o-nav" }, ux = { class: "o-nav-list" }, cx = ["onClick"], d
|
|
|
45550
45558
|
},
|
|
45551
45559
|
emits: ["on-click", "lang-click", "handle-click"],
|
|
45552
45560
|
setup(i, { emit: e }) {
|
|
45553
|
-
const t = e, s = i, n =
|
|
45561
|
+
const t = e, s = i, n = ae(""), r = ae(), a = (d, g) => {
|
|
45554
45562
|
var m;
|
|
45555
45563
|
g === Hn.NAV ? (m = d == null ? void 0 : d.children) != null && m.length ? (n.value = d.id, r.value = d) : t("handle-click", d) : g === Hn.CODE ? (n.value = g, r.value = s.codeData) : g === Hn.LANG && (n.value = g, r.value = s.langData);
|
|
45556
45564
|
}, o = (d, g) => {
|
|
@@ -45762,7 +45770,7 @@ const Dx = { name: "components-icon-header-menu", render: kx }, Ix = { class: "h
|
|
|
45762
45770
|
t("go-back");
|
|
45763
45771
|
}, r = () => {
|
|
45764
45772
|
t("go-home");
|
|
45765
|
-
}, a =
|
|
45773
|
+
}, a = ae(!1), o = () => {
|
|
45766
45774
|
setTimeout(() => {
|
|
45767
45775
|
a.value = !a.value;
|
|
45768
45776
|
}, 200);
|
|
@@ -45972,7 +45980,7 @@ const zx = { name: "components-icon-locale", render: Hx }, jx = { class: "info-w
|
|
|
45972
45980
|
}
|
|
45973
45981
|
});
|
|
45974
45982
|
function Qx(i) {
|
|
45975
|
-
const e =
|
|
45983
|
+
const e = ae(""), t = ae(null), s = ae(""), n = ae(!1);
|
|
45976
45984
|
let r = null;
|
|
45977
45985
|
const a = (b) => {
|
|
45978
45986
|
var M, F, z, N;
|
|
@@ -46156,7 +46164,7 @@ const sf = { name: "components-icon-image-zoomin", render: iE }, sE = { class: "
|
|
|
46156
46164
|
},
|
|
46157
46165
|
onUploadError: (V, Z) => n("image-upload-error", V, Z),
|
|
46158
46166
|
onValidationError: (V, Z) => n("image-validate-error", V, Z)
|
|
46159
|
-
}), m =
|
|
46167
|
+
}), m = ae(), S = ae(), T = ae(null), O = Ae({
|
|
46160
46168
|
get: () => s.modelValue,
|
|
46161
46169
|
set: (V) => n("update:modelValue", V)
|
|
46162
46170
|
});
|
|
@@ -46612,7 +46620,7 @@ const yE = { class: "o-search-highlight-text" }, bE = /* @__PURE__ */ nt({
|
|
|
46612
46620
|
}
|
|
46613
46621
|
}), Sg = /* @__PURE__ */ St(YE, [["__scopeId", "data-v-872f0035"]]);
|
|
46614
46622
|
function wg(i) {
|
|
46615
|
-
const { initial: e, storageKey: t, storeHistory: s, maxHistoryCount: n, onChange: r } = i, a =
|
|
46623
|
+
const { initial: e, storageKey: t, storeHistory: s, maxHistoryCount: n, onChange: r } = i, a = ae([...e.value]), o = () => {
|
|
46616
46624
|
if (!(!s.value || typeof localStorage > "u"))
|
|
46617
46625
|
try {
|
|
46618
46626
|
a.value.length ? localStorage.setItem(t.value, JSON.stringify(a.value)) : localStorage.removeItem(t.value);
|
|
@@ -46704,7 +46712,7 @@ const JE = { name: "components-icon-header-back", render: KE }, ZE = {
|
|
|
46704
46712
|
},
|
|
46705
46713
|
emits: ["update:modelValue", "update:historyItems", "update:imageUrl", "focus", "blur", "input", "clear", "search", "recommend-click", "onestep-click", "history-click", "hot-click", "hot-refresh", "delete-history", "delete-history-item", "image-upload-start", "image-upload-success", "image-upload-error", "image-validate-error"],
|
|
46706
46714
|
setup(i, { expose: e, emit: t }) {
|
|
46707
|
-
const s = i, n = t, { lePadV: r } = Ht(), { t: a } = Ot(), o = Ae(() => s.mobile === !0 || r.value), u =
|
|
46715
|
+
const s = i, n = t, { lePadV: r } = Ht(), { t: a } = Ot(), o = Ae(() => s.mobile === !0 || r.value), u = ae(null), d = ae(), g = ae(!1), m = ae(!1), S = ae(""), T = Ae(() => !!s.imageUrl || m.value), O = ae(!1), v = Ae({
|
|
46708
46716
|
get: () => s.modelValue,
|
|
46709
46717
|
set: (te) => n("update:modelValue", te)
|
|
46710
46718
|
}), b = an(s, "historyItems"), E = an(s, "storageKey"), I = an(s, "storeHistory"), M = an(s, "maxHistoryCount"), F = wg({
|
|
@@ -46757,7 +46765,7 @@ const JE = { name: "components-icon-header-back", render: KE }, ZE = {
|
|
|
46757
46765
|
n("hot-click", te), V(te);
|
|
46758
46766
|
}, oe = (te) => {
|
|
46759
46767
|
F.remove(te), n("delete-history-item", te);
|
|
46760
|
-
},
|
|
46768
|
+
}, se = () => {
|
|
46761
46769
|
const te = [...F.items.value];
|
|
46762
46770
|
F.clearAll(), n("delete-history", te);
|
|
46763
46771
|
}, J = () => {
|
|
@@ -46892,7 +46900,7 @@ const JE = { name: "components-icon-header-back", render: KE }, ZE = {
|
|
|
46892
46900
|
onRecommendClick: W,
|
|
46893
46901
|
onHistoryClick: ie,
|
|
46894
46902
|
onHistoryRemove: oe,
|
|
46895
|
-
onHistoryClear:
|
|
46903
|
+
onHistoryClear: se,
|
|
46896
46904
|
onHotClick: Y,
|
|
46897
46905
|
onHotRefresh: ye[6] || (ye[6] = (me) => n("hot-refresh"))
|
|
46898
46906
|
}, Xs({ _: 2 }, [
|
|
@@ -47003,7 +47011,7 @@ const JE = { name: "components-icon-header-back", render: KE }, ZE = {
|
|
|
47003
47011
|
setup(i) {
|
|
47004
47012
|
const e = (n) => {
|
|
47005
47013
|
window.open(n.href, n.target ? n.target : "_blank");
|
|
47006
|
-
}, t =
|
|
47014
|
+
}, t = ae(!1), s = (n) => {
|
|
47007
47015
|
t.value = n;
|
|
47008
47016
|
};
|
|
47009
47017
|
return (n, r) => (y(), w("div", tS, [
|
|
@@ -47386,7 +47394,7 @@ const uf = /* @__PURE__ */ St(wS, [["render", DS], ["__scopeId", "data-v-ab4e814
|
|
|
47386
47394
|
"--logo-swiper-duration": `${t.duration}s`
|
|
47387
47395
|
};
|
|
47388
47396
|
return t.radius !== "" && (b["--o-logo-swiper-item-radius"] = typeof t.radius == "number" ? `${t.radius}px` : t.radius), b;
|
|
47389
|
-
}), o =
|
|
47397
|
+
}), o = ae(null), u = ae(!1), d = ae(2);
|
|
47390
47398
|
let g = null, m = null;
|
|
47391
47399
|
const S = () => {
|
|
47392
47400
|
const b = o.value;
|
|
@@ -47525,10 +47533,10 @@ const uf = /* @__PURE__ */ St(wS, [["render", DS], ["__scopeId", "data-v-ab4e814
|
|
|
47525
47533
|
ye.index > te && ue.push({ text: K.slice(te, ye.index), em: !1 }), ue.push({ text: ye[1], em: !0 }), te = ye.index + ye[0].length;
|
|
47526
47534
|
return te < K.length && ue.push({ text: K.slice(te), em: !1 }), ue;
|
|
47527
47535
|
}
|
|
47528
|
-
const o =
|
|
47536
|
+
const o = ae(), u = ae(null), d = Ae({
|
|
47529
47537
|
get: () => s.modelValue,
|
|
47530
47538
|
set: (K) => n("update:modelValue", K)
|
|
47531
|
-
}), g =
|
|
47539
|
+
}), g = ae(!1), m = ae(!1), S = ae(!1), T = ae(!1), O = Ae(() => {
|
|
47532
47540
|
if (!g.value || s.imageUrl || T.value) return !1;
|
|
47533
47541
|
const K = !!d.value && (s.suggestItems.length > 0 || s.onestepItems.length > 0 || s.showSuggestEmpty), ue = s.enableHistory && M.items.value.length > 0 && !d.value, xe = s.hotItems.length > 0 && !d.value;
|
|
47534
47542
|
return !!(K || s.openOnFocus && (ue || xe));
|
|
@@ -47588,7 +47596,7 @@ const uf = /* @__PURE__ */ St(wS, [["render", DS], ["__scopeId", "data-v-ab4e814
|
|
|
47588
47596
|
}, 100));
|
|
47589
47597
|
}, oe = Ae(
|
|
47590
47598
|
() => !!s.imageUrl && (s.alwaysInlineThumbnail || !g.value)
|
|
47591
|
-
),
|
|
47599
|
+
), se = (K) => {
|
|
47592
47600
|
T.value = !0, n("image-upload-start", K);
|
|
47593
47601
|
}, J = (K, ue) => {
|
|
47594
47602
|
T.value = !1, n("image-upload-success", K, ue);
|
|
@@ -47638,7 +47646,7 @@ const uf = /* @__PURE__ */ St(wS, [["render", DS], ["__scopeId", "data-v-ab4e814
|
|
|
47638
47646
|
onEnter: H,
|
|
47639
47647
|
onClear: k,
|
|
47640
47648
|
onImageClear: G,
|
|
47641
|
-
onImageUploadStart:
|
|
47649
|
+
onImageUploadStart: se,
|
|
47642
47650
|
onImageUploadSuccess: J,
|
|
47643
47651
|
onImageUploadError: ue[2] || (ue[2] = (te, ye) => n("image-upload-error", te, ye)),
|
|
47644
47652
|
onImageValidateError: ue[3] || (ue[3] = (te, ye) => n("image-validate-error", te, ye)),
|
|
@@ -48142,9 +48150,9 @@ const Aw = { name: "sig-icon-search", render: bw }, Tw = { class: "o-sig-list" }
|
|
|
48142
48150
|
},
|
|
48143
48151
|
emits: ["to-sig-detail"],
|
|
48144
48152
|
setup(i, { emit: e }) {
|
|
48145
|
-
const t = Aa(), { locale: s, t: n } = Ot(), r = Ae(() => s.value), { isLaptop: a, isPadH: o, lePadV: u, isPhone: d } = Ht(), g = [10, 20, 30], m = i, S = e, T =
|
|
48153
|
+
const t = Aa(), { locale: s, t: n } = Ot(), r = Ae(() => s.value), { isLaptop: a, isPadH: o, lePadV: u, isPhone: d } = Ht(), g = [10, 20, 30], m = i, S = e, T = ae({ pageSize: ff, page: 1 }), O = () => {
|
|
48146
48154
|
T.value.page = 1, T.value.pageSize = ff;
|
|
48147
|
-
}, v =
|
|
48155
|
+
}, v = ae([]), b = ae([]), E = ae([]), I = ae([]), M = () => {
|
|
48148
48156
|
if (!m.sigLandscape.length) {
|
|
48149
48157
|
E.value = [];
|
|
48150
48158
|
return;
|
|
@@ -48173,7 +48181,7 @@ const Aw = { name: "sig-icon-search", render: bw }, Tw = { class: "o-sig-list" }
|
|
|
48173
48181
|
},
|
|
48174
48182
|
{ immediate: !0 }
|
|
48175
48183
|
);
|
|
48176
|
-
const N =
|
|
48184
|
+
const N = ae("all"), D = ae(n("sig.searchSig")), H = [
|
|
48177
48185
|
{ label: n("sig.all"), value: "all", placeholder: n("sig.searchSig") },
|
|
48178
48186
|
{ label: n("sig.sigGroup"), value: "sig", placeholder: n("sig.searchSigName") },
|
|
48179
48187
|
{ label: n("sig.repo"), value: "repos", placeholder: n("sig.searchSigRepo") },
|
|
@@ -48181,12 +48189,12 @@ const Aw = { name: "sig-icon-search", render: bw }, Tw = { class: "o-sig-list" }
|
|
|
48181
48189
|
], k = (Ye) => {
|
|
48182
48190
|
var Te;
|
|
48183
48191
|
const Pe = String(Ye);
|
|
48184
|
-
D.value = ((Te = H.find((be) => be.value === Pe)) == null ? void 0 : Te.placeholder) ?? "",
|
|
48192
|
+
D.value = ((Te = H.find((be) => be.value === Pe)) == null ? void 0 : Te.placeholder) ?? "", se.value = Pe, j();
|
|
48185
48193
|
}, B = (Ye) => {
|
|
48186
48194
|
if (!Ye) return [];
|
|
48187
48195
|
const Pe = /* @__PURE__ */ new Set();
|
|
48188
48196
|
return Ye.filter((Te) => Pe.has(Te.name) ? !1 : (Pe.add(Te.name), !0));
|
|
48189
|
-
}, V =
|
|
48197
|
+
}, V = ae(""), Z = ae(!1), U = ae([]), W = (Ye, Pe) => {
|
|
48190
48198
|
const Te = (tt) => B(tt).sort((ke, Me) => Me.socre - ke.socre).slice(0, 3), be = [
|
|
48191
48199
|
{ id: "sig", label: n("sig.sigGroup"), list: Te(Ye["name.keyword"]) },
|
|
48192
48200
|
{ id: "repos", label: n("sig.repo"), list: Te(Ye.repos) },
|
|
@@ -48221,13 +48229,13 @@ const Aw = { name: "sig-icon-search", render: bw }, Tw = { class: "o-sig-list" }
|
|
|
48221
48229
|
}, 300), oe = Ae({
|
|
48222
48230
|
get: () => V.value.trim(),
|
|
48223
48231
|
set: (Ye) => Y(Ye)
|
|
48224
|
-
}),
|
|
48225
|
-
V.value && (Z.value = !1,
|
|
48232
|
+
}), se = ae("all"), J = ae(""), G = () => {
|
|
48233
|
+
V.value && (Z.value = !1, se.value = N.value, J.value = V.value);
|
|
48226
48234
|
}, K = (Ye) => (Ye == null ? void 0 : Ye.replace(/<[^>]+>/g, "")) ?? "", ue = (Ye) => {
|
|
48227
|
-
V.value = K(Ye), Z.value = !1,
|
|
48235
|
+
V.value = K(Ye), Z.value = !1, se.value = N.value, J.value = V.value;
|
|
48228
48236
|
}, xe = () => {
|
|
48229
48237
|
V.value = "", J.value = "";
|
|
48230
|
-
}, te =
|
|
48238
|
+
}, te = ae();
|
|
48231
48239
|
lc(te, () => {
|
|
48232
48240
|
Z.value = !1;
|
|
48233
48241
|
});
|
|
@@ -48238,11 +48246,11 @@ const Aw = { name: "sig-icon-search", render: bw }, Tw = { class: "o-sig-list" }
|
|
|
48238
48246
|
Z.value = !!Ye, Ye || (J.value = Ye);
|
|
48239
48247
|
}
|
|
48240
48248
|
);
|
|
48241
|
-
const me =
|
|
48249
|
+
const me = ae([]), Ve = ae([]), _e = ae([]), qe = ae("all"), it = (Ye, Pe) => !!Ye && Ye.toLowerCase().includes(Pe);
|
|
48242
48250
|
vt(
|
|
48243
48251
|
() => [
|
|
48244
48252
|
qe.value,
|
|
48245
|
-
|
|
48253
|
+
se.value,
|
|
48246
48254
|
J.value,
|
|
48247
48255
|
T.value.page,
|
|
48248
48256
|
T.value.pageSize,
|
|
@@ -48273,7 +48281,7 @@ const Aw = { name: "sig-icon-search", render: bw }, Tw = { class: "o-sig-list" }
|
|
|
48273
48281
|
0,
|
|
48274
48282
|
T.value.page * T.value.pageSize
|
|
48275
48283
|
), T.value.page++;
|
|
48276
|
-
}, ht =
|
|
48284
|
+
}, ht = ae(null), wt = P2(() => {
|
|
48277
48285
|
u.value && _t(() => {
|
|
48278
48286
|
var tt;
|
|
48279
48287
|
const Ye = document.documentElement.scrollTop || document.body.scrollTop, Pe = document.body.scrollHeight, Te = document.documentElement.clientHeight || document.body.clientHeight, be = ((tt = ht.value) == null ? void 0 : tt.clientHeight) ?? 0;
|
|
@@ -48487,7 +48495,7 @@ const go = { name: "components-icon-outlink", render: Fw }, Uw = { class: "o-sig
|
|
|
48487
48495
|
setup(i) {
|
|
48488
48496
|
const e = i, { t } = Ot(), s = Ae(() => e.bg ? {
|
|
48489
48497
|
backgroundImage: `url(${e.bg})`
|
|
48490
|
-
} : {}), n =
|
|
48498
|
+
} : {}), n = ae(), r = ae(!1);
|
|
48491
48499
|
let a;
|
|
48492
48500
|
const o = () => {
|
|
48493
48501
|
const u = n.value;
|
|
@@ -48636,7 +48644,7 @@ const vf = { name: "sig-icon-mail", render: Yw }, Ww = { class: "o-sig-detail-me
|
|
|
48636
48644
|
e.committerList.length,
|
|
48637
48645
|
Math.max(0, u.value - z)
|
|
48638
48646
|
);
|
|
48639
|
-
}), S =
|
|
48647
|
+
}), S = ae(!1), T = () => {
|
|
48640
48648
|
S.value = !S.value;
|
|
48641
48649
|
}, O = Ae(
|
|
48642
48650
|
() => S.value ? e.maintainerList : e.maintainerList.slice(0, g.value)
|
|
@@ -48645,7 +48653,7 @@ const vf = { name: "sig-icon-mail", render: Yw }, Ww = { class: "o-sig-detail-me
|
|
|
48645
48653
|
if (F <= 1) return 0;
|
|
48646
48654
|
const z = O.value.length % F;
|
|
48647
48655
|
return z === 0 ? 0 : F - z;
|
|
48648
|
-
}), b =
|
|
48656
|
+
}), b = ae(!1), E = () => {
|
|
48649
48657
|
b.value = !b.value;
|
|
48650
48658
|
}, I = Ae(
|
|
48651
48659
|
() => b.value ? e.committerList : e.committerList.slice(0, m.value)
|
|
@@ -48820,7 +48828,7 @@ const vf = { name: "sig-icon-mail", render: Yw }, Ww = { class: "o-sig-detail-me
|
|
|
48820
48828
|
gitBase: { default: "https://atomgit.com/" }
|
|
48821
48829
|
},
|
|
48822
48830
|
setup(i) {
|
|
48823
|
-
const e = i, { t, locale: s } = Ot(), { lePadV: n } = Ht(), r =
|
|
48831
|
+
const e = i, { t, locale: s } = Ot(), { lePadV: n } = Ht(), r = ae(1), a = ae(10), o = ae({}), u = Ae(() => e.repositories.filter((T) => {
|
|
48824
48832
|
var O, v, b, E, I;
|
|
48825
48833
|
return !((O = o.value.repo) != null && O.length && !o.value.repo.includes(T.repo) || (v = o.value.maintainers) != null && v.length && !((b = T.maintainers) != null && b.some((M) => o.value.maintainers.includes(Ni(M)))) || (E = o.value.committers) != null && E.length && !((I = T.committers) != null && I.some((M) => o.value.committers.includes(Ni(M)))));
|
|
48826
48834
|
})), d = Ae(() => n.value ? u.value.slice(0, r.value * a.value) : u.value.length > a.value ? u.value.slice(
|
|
@@ -48994,20 +49002,20 @@ const kk = { name: "components-icon-forum", render: wk }, Dk = { class: "o-sig-d
|
|
|
48994
49002
|
setup(i) {
|
|
48995
49003
|
const e = i, { t, locale: s } = Ot(), n = Ae(() => s.value === "en"), { isPhone: r, lePadV: a } = Ht(), o = (j, ie, Y) => {
|
|
48996
49004
|
var oe;
|
|
48997
|
-
return (oe = ie.find((
|
|
49005
|
+
return (oe = ie.find((se) => se.value === j)) == null ? void 0 : oe[Y];
|
|
48998
49006
|
}, u = [
|
|
48999
49007
|
{ label: "Maintainer", value: "maintainer", color: "rgb(0, 98, 220)" },
|
|
49000
49008
|
{ label: "Committer", value: "committer", color: "rgb(240, 188, 0)" },
|
|
49001
49009
|
{ label: "Contributor", value: "contributor", color: "rgb(0, 167, 179)" }
|
|
49002
|
-
], d =
|
|
49010
|
+
], d = ae(u.map((j) => j.value)), g = (j) => o(j, u, "color"), m = ae("pr"), S = [
|
|
49003
49011
|
{ label: t("sig.PRS"), value: "pr", alias: "PR" },
|
|
49004
49012
|
{ label: t("sig.ISSUES"), value: "issue", alias: "Issue" },
|
|
49005
49013
|
{ label: t("sig.COMMENTS"), value: "comment", alias: "Comment" }
|
|
49006
|
-
], T =
|
|
49014
|
+
], T = ae(""), O = [
|
|
49007
49015
|
{ label: t("sig.ALL"), value: "" },
|
|
49008
49016
|
{ label: t("sig.commentNormal"), value: "normal" },
|
|
49009
49017
|
{ label: t("sig.commentCommand"), value: "command" }
|
|
49010
|
-
], v = Ae(() => o(m.value, S, "alias")), b =
|
|
49018
|
+
], v = Ae(() => o(m.value, S, "alias")), b = ae((/* @__PURE__ */ new Date("2024-11-01")).getTime()), E = ae(Date.now()), I = ae([]), M = () => {
|
|
49011
49019
|
T.value = "", F();
|
|
49012
49020
|
}, F = async () => {
|
|
49013
49021
|
if (!e.getDataRequest) return;
|
|
@@ -49026,7 +49034,7 @@ const kk = { name: "components-icon-forum", render: wk }, Dk = { class: "o-sig-d
|
|
|
49026
49034
|
{ key: "idx", label: t("sig.NUMBER") },
|
|
49027
49035
|
{ key: "user_login", label: "GitCode ID" },
|
|
49028
49036
|
{ key: "contribute", label: v.value }
|
|
49029
|
-
]), D =
|
|
49037
|
+
]), D = ae(1), H = ae(10), k = [10, 15, 30, 50], B = ae(""), V = O2(B, 400), Z = () => {
|
|
49030
49038
|
D.value = 1;
|
|
49031
49039
|
}, U = Ae(() => {
|
|
49032
49040
|
let j = I.value;
|