bi-components-library 1.3.2-next.0 → 1.3.2-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +423 -408
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as G, jsxs as
|
|
1
|
+
import { jsx as G, jsxs as fe, Fragment as ol } from "react/jsx-runtime";
|
|
2
2
|
import Oe, { useState as re, useRef as ee, useMemo as Ot, useCallback as oe, useEffect as ne, useLayoutEffect as Ke, forwardRef as Ks, createContext as Xs } from "react";
|
|
3
3
|
import { Button as ea, Card as gr, Modal as Uc, Table as Er, Flex as mi, Spin as Qs, Empty as qc, Select as cl, Form as Tl, Input as yr, Space as zc, Cascader as Vc, Popover as Gc, Tooltip as Yc, Image as jn, DatePicker as Wc, message as jc, Dropdown as Kc, Progress as Xc, Pagination as Qc, theme as Jc } from "antd";
|
|
4
4
|
import { createFromIconfontCN as Zc, LeftOutlined as ed, SearchOutlined as td, ReloadOutlined as ad, CloseCircleFilled as ld, InfoCircleOutlined as nd, SendOutlined as rd, PauseCircleOutlined as id, PlayCircleOutlined as sd } from "@ant-design/icons";
|
|
@@ -150,7 +150,7 @@ const dd = ({
|
|
|
150
150
|
showDefaultFooter: e = !0,
|
|
151
151
|
...t
|
|
152
152
|
}) => {
|
|
153
|
-
const a = t.footer !== void 0 ? t.footer : e ? (l, { OkBtn: n, CancelBtn: r }) => /* @__PURE__ */
|
|
153
|
+
const a = t.footer !== void 0 ? t.footer : e ? (l, { OkBtn: n, CancelBtn: r }) => /* @__PURE__ */ fe(ol, { children: [
|
|
154
154
|
/* @__PURE__ */ G(n, {}),
|
|
155
155
|
/* @__PURE__ */ G(r, {})
|
|
156
156
|
] }) : null;
|
|
@@ -361,7 +361,7 @@ const bd = ({
|
|
|
361
361
|
emptyChildren: l,
|
|
362
362
|
loadingText: n,
|
|
363
363
|
emptyImage: r
|
|
364
|
-
}) => e ? /* @__PURE__ */
|
|
364
|
+
}) => e ? /* @__PURE__ */ fe(
|
|
365
365
|
mi,
|
|
366
366
|
{
|
|
367
367
|
className: `pt-10 w-full ${a || ""}`,
|
|
@@ -612,8 +612,8 @@ const { Option: gd } = cl, Ed = ({
|
|
|
612
612
|
return ne(() => {
|
|
613
613
|
const N = Object.keys(u).length > 0;
|
|
614
614
|
(s && !k.current || N) && (A(), k.current = !0);
|
|
615
|
-
}, [s, u, A]), /* @__PURE__ */
|
|
616
|
-
l && a.length > 0 && /* @__PURE__ */ G(gr, { size: "small", style: { marginBottom: 16 }, children: /* @__PURE__ */
|
|
615
|
+
}, [s, u, A]), /* @__PURE__ */ fe("div", { children: [
|
|
616
|
+
l && a.length > 0 && /* @__PURE__ */ G(gr, { size: "small", style: { marginBottom: 16 }, children: /* @__PURE__ */ fe(
|
|
617
617
|
Tl,
|
|
618
618
|
{
|
|
619
619
|
form: T,
|
|
@@ -636,7 +636,7 @@ const { Option: gd } = cl, Ed = ({
|
|
|
636
636
|
children: N.options?.map((x) => /* @__PURE__ */ G(gd, { value: x.value, children: x.label }, x.value))
|
|
637
637
|
}
|
|
638
638
|
) }, N.key)),
|
|
639
|
-
/* @__PURE__ */ G(Tl.Item, { children: /* @__PURE__ */
|
|
639
|
+
/* @__PURE__ */ G(Tl.Item, { children: /* @__PURE__ */ fe(zc, { children: [
|
|
640
640
|
/* @__PURE__ */ G(ea, { type: "primary", htmlType: "submit", icon: /* @__PURE__ */ G(td, {}), children: "查询" }),
|
|
641
641
|
/* @__PURE__ */ G(ea, { onClick: O, children: "重置" }),
|
|
642
642
|
n && /* @__PURE__ */ G(ea, { icon: /* @__PURE__ */ G(ad, {}), onClick: R, children: "刷新" })
|
|
@@ -925,8 +925,8 @@ const Qe = (e) => e === "multi-variable" || e === "multi-variable-select", yd =
|
|
|
925
925
|
const ye = window.getComputedStyle(Z);
|
|
926
926
|
ye.display !== "none" && ye.visibility !== "hidden" && (ue = Math.ceil(Z.getBoundingClientRect().width));
|
|
927
927
|
}
|
|
928
|
-
const
|
|
929
|
-
E((ye) => ye ===
|
|
928
|
+
const he = Math.min(240, Math.max(80, F + j + Y + ue + 4));
|
|
929
|
+
E((ye) => ye === he ? ye : he);
|
|
930
930
|
}, [k]);
|
|
931
931
|
return Ke(() => {
|
|
932
932
|
const A = window.requestAnimationFrame(() => {
|
|
@@ -1277,7 +1277,7 @@ const Nd = ({ host: e, onChange: t }) => {
|
|
|
1277
1277
|
S.key === "Enter" && !i && S.preventDefault();
|
|
1278
1278
|
};
|
|
1279
1279
|
return At(
|
|
1280
|
-
/* @__PURE__ */
|
|
1280
|
+
/* @__PURE__ */ fe(
|
|
1281
1281
|
"div",
|
|
1282
1282
|
{
|
|
1283
1283
|
className: `rte-variable-v2-wrapper ${v ? "rte-variable-v2-with-icon" : ""}`,
|
|
@@ -1803,7 +1803,7 @@ ${(e || "").replace(/\r\n/g, `
|
|
|
1803
1803
|
overflow: { adjustX: !1, adjustY: !1 }
|
|
1804
1804
|
}),
|
|
1805
1805
|
[m, v]
|
|
1806
|
-
), L = /* @__PURE__ */ G("div", { className: "rte-report-dropdown-panel", onMouseDown: (F) => F.preventDefault(), children: c ? /* @__PURE__ */ G("div", { className: "rte-report-dropdown-loading", children: /* @__PURE__ */ G(Qs, { size: "small" }) }) : h ? /* @__PURE__ */
|
|
1806
|
+
), L = /* @__PURE__ */ G("div", { className: "rte-report-dropdown-panel", onMouseDown: (F) => F.preventDefault(), children: c ? /* @__PURE__ */ G("div", { className: "rte-report-dropdown-loading", children: /* @__PURE__ */ G(Qs, { size: "small" }) }) : h ? /* @__PURE__ */ fe(ol, { children: [
|
|
1807
1807
|
h.tabs.length > 1 && /* @__PURE__ */ G("div", { className: "rte-report-dropdown-tab-outer", children: /* @__PURE__ */ G("div", { className: "rte-report-dropdown-tab-inner", children: h.tabs.map((F) => /* @__PURE__ */ G(
|
|
1808
1808
|
"div",
|
|
1809
1809
|
{
|
|
@@ -1813,9 +1813,9 @@ ${(e || "").replace(/\r\n/g, `
|
|
|
1813
1813
|
},
|
|
1814
1814
|
F.key
|
|
1815
1815
|
)) }) }),
|
|
1816
|
-
/* @__PURE__ */ G("div", { className: "rte-report-dropdown-list", onScroll: z, children: !H || q.length === 0 ? /* @__PURE__ */
|
|
1816
|
+
/* @__PURE__ */ G("div", { className: "rte-report-dropdown-list", onScroll: z, children: !H || q.length === 0 ? /* @__PURE__ */ fe("div", { className: "rte-report-dropdown-empty", children: [
|
|
1817
1817
|
/* @__PURE__ */ G("img", { className: "rte-report-dropdown-empty-img", src: Bd, alt: "" }),
|
|
1818
|
-
/* @__PURE__ */
|
|
1818
|
+
/* @__PURE__ */ fe("div", { className: "rte-report-dropdown-empty-text", children: [
|
|
1819
1819
|
/* @__PURE__ */ G("span", { className: "rte-report-dropdown-empty-label", children: O ? "未找到匹配的报告" : "暂无生成的报告" }),
|
|
1820
1820
|
H?.agentType != null && l && /* @__PURE__ */ G(
|
|
1821
1821
|
"span",
|
|
@@ -1828,7 +1828,7 @@ ${(e || "").replace(/\r\n/g, `
|
|
|
1828
1828
|
}
|
|
1829
1829
|
)
|
|
1830
1830
|
] })
|
|
1831
|
-
] }) : q.map((F, j) => /* @__PURE__ */
|
|
1831
|
+
] }) : q.map((F, j) => /* @__PURE__ */ fe(
|
|
1832
1832
|
"div",
|
|
1833
1833
|
{
|
|
1834
1834
|
className: "rte-report-dropdown-item",
|
|
@@ -1842,7 +1842,7 @@ ${(e || "").replace(/\r\n/g, `
|
|
|
1842
1842
|
children: F.name
|
|
1843
1843
|
}
|
|
1844
1844
|
),
|
|
1845
|
-
/* @__PURE__ */
|
|
1845
|
+
/* @__PURE__ */ fe(
|
|
1846
1846
|
"span",
|
|
1847
1847
|
{
|
|
1848
1848
|
className: "rte-report-dropdown-item-action",
|
|
@@ -2065,7 +2065,7 @@ function Kn(e) {
|
|
|
2065
2065
|
t.dataset.key = a, l && (t.dataset.nodeType = l), n && (t.dataset.multiKey = n), e.appendChild(t);
|
|
2066
2066
|
}
|
|
2067
2067
|
const Xn = "rte-resolve-tokens-invalidate";
|
|
2068
|
-
function
|
|
2068
|
+
function Va(e) {
|
|
2069
2069
|
document.dispatchEvent(
|
|
2070
2070
|
new CustomEvent(Xn, { detail: e })
|
|
2071
2071
|
);
|
|
@@ -2510,7 +2510,7 @@ const af = ({
|
|
|
2510
2510
|
}
|
|
2511
2511
|
if (w && y.current[w]) {
|
|
2512
2512
|
const A = y.current[w];
|
|
2513
|
-
S.current = A, l(A.files), r(A.multiVariableCounts), s(A.reportAnalyzeState), o(A.markdownAnalyzeState), d(A.markdownNameAnalyzeState), f && (f.current = { ...A.resolvedReportNames }),
|
|
2513
|
+
S.current = A, l(A.files), r(A.multiVariableCounts), s(A.reportAnalyzeState), o(A.markdownAnalyzeState), d(A.markdownNameAnalyzeState), f && (f.current = { ...A.resolvedReportNames }), Va({ clearAll: !0 });
|
|
2514
2514
|
} else if (w) {
|
|
2515
2515
|
S.current = null;
|
|
2516
2516
|
const A = {};
|
|
@@ -2519,9 +2519,9 @@ const af = ({
|
|
|
2519
2519
|
const O = h?.[I.key], R = Array.isArray(O) ? O.filter((P) => String(P ?? "").trim().length > 0) : O;
|
|
2520
2520
|
Array.isArray(R) && R.length > 0 ? A[I.key] = Math.min(R.length + 1, I.maxCount ?? 9) : A[I.key] = 1;
|
|
2521
2521
|
}
|
|
2522
|
-
}), r(A), l({}), s({}), o({}), d({}), f && (f.current = {}),
|
|
2522
|
+
}), r(A), l({}), s({}), o({}), d({}), f && (f.current = {}), Va({ clearAll: !0 });
|
|
2523
2523
|
} else
|
|
2524
|
-
S.current = null, r({}), l({}), s({}), o({}), d({}), f && (f.current = {}),
|
|
2524
|
+
S.current = null, r({}), l({}), s({}), o({}), d({}), f && (f.current = {}), Va({ clearAll: !0 });
|
|
2525
2525
|
C.current = e;
|
|
2526
2526
|
}, [e, t, T, l, r, s, o, d, f]), Ke(() => {
|
|
2527
2527
|
S.current && t.current && (t.current.__tempVariableValues = S.current.variableValues, setTimeout(() => {
|
|
@@ -3140,7 +3140,7 @@ const af = ({
|
|
|
3140
3140
|
}
|
|
3141
3141
|
return n;
|
|
3142
3142
|
}, [e, a, l, t]);
|
|
3143
|
-
function
|
|
3143
|
+
function el(e, t, a, l) {
|
|
3144
3144
|
if (!e.current) return;
|
|
3145
3145
|
const n = (E) => {
|
|
3146
3146
|
E.classList.contains("rte-richtext-host-expanded") && (E.style.setProperty("display", "flex", "important"), E.style.setProperty("flex-direction", "column", "important"), E.style.setProperty("flex", "1 1 auto", "important"), E.style.setProperty("min-height", "0", "important"), E.style.setProperty("width", "100%", "important"), E.style.setProperty("align-self", "stretch", "important"));
|
|
@@ -3864,7 +3864,7 @@ const of = ({
|
|
|
3864
3864
|
n(m.length > 0);
|
|
3865
3865
|
return;
|
|
3866
3866
|
}
|
|
3867
|
-
ma(l),
|
|
3867
|
+
ma(l), el(l, t, a, s), Tr(l, t, a, n, s, {
|
|
3868
3868
|
reportAnalyzeState: u,
|
|
3869
3869
|
requireReportUrlAnalyze: o
|
|
3870
3870
|
});
|
|
@@ -4164,13 +4164,13 @@ const of = ({
|
|
|
4164
4164
|
c((K) => {
|
|
4165
4165
|
const Y = { ...K }, Z = [];
|
|
4166
4166
|
for (let ue = 0; ue < j; ue++) {
|
|
4167
|
-
const
|
|
4168
|
-
ye != null &&
|
|
4167
|
+
const he = `${L}-${ue}`, ye = Y[he];
|
|
4168
|
+
ye != null && he !== V && Z.push(ye);
|
|
4169
4169
|
}
|
|
4170
4170
|
for (let ue = 0; ue < j; ue++)
|
|
4171
4171
|
delete Y[`${L}-${ue}`];
|
|
4172
|
-
return Z.forEach((ue,
|
|
4173
|
-
Y[`${L}-${
|
|
4172
|
+
return Z.forEach((ue, he) => {
|
|
4173
|
+
Y[`${L}-${he}`] = ue;
|
|
4174
4174
|
}), Y;
|
|
4175
4175
|
});
|
|
4176
4176
|
} else
|
|
@@ -4194,7 +4194,7 @@ const of = ({
|
|
|
4194
4194
|
if (s.current && (K?.accept ? s.current.accept = K.accept : K?.acceptType === "image" ? s.current.accept = "image/*" : K?.acceptType === "file" ? s.current.accept = ".csv,.xlsx,.xls,.txt,.pdf,.doc,.docx,.json" : s.current.accept = ""), V) {
|
|
4195
4195
|
const Y = l.find((Z) => Z.type === "upload" && Z.key === V);
|
|
4196
4196
|
if (Y && typeof Y.maxCount == "number" && typeof Y.minCount == "number") {
|
|
4197
|
-
const Z = Y.maxCount, ue = o[z] != null,
|
|
4197
|
+
const Z = Y.maxCount, ue = o[z] != null, he = L != null ? Number.parseInt(L, 10) : NaN;
|
|
4198
4198
|
if (ue) {
|
|
4199
4199
|
s.current && (s.current.multiple = !1), h(null), f(null), y(z), u?.(), s.current?.click();
|
|
4200
4200
|
return;
|
|
@@ -4202,7 +4202,7 @@ const of = ({
|
|
|
4202
4202
|
let ye = 0;
|
|
4203
4203
|
for (let Be = 0; Be < Z; Be++)
|
|
4204
4204
|
o[`${V}-${Be}`] != null && (ye += 1);
|
|
4205
|
-
ye < Z && s.current ? (s.current.multiple = !0, h(V), f(Number.isFinite(
|
|
4205
|
+
ye < Z && s.current ? (s.current.multiple = !0, h(V), f(Number.isFinite(he) ? he : null), y(null), u?.(), s.current.click()) : (s.current && (s.current.multiple = !1), h(null), f(null), y(z), u?.(), s.current?.click());
|
|
4206
4206
|
} else
|
|
4207
4207
|
s.current && (s.current.multiple = !1), h(null), f(null), y(z), u?.(), s.current?.click();
|
|
4208
4208
|
} else
|
|
@@ -4361,7 +4361,7 @@ const of = ({
|
|
|
4361
4361
|
}
|
|
4362
4362
|
}), s || window.requestAnimationFrame(() => {
|
|
4363
4363
|
u();
|
|
4364
|
-
}),
|
|
4364
|
+
}), el(t, o, c, y), Tr(t, o, c, l, y, {
|
|
4365
4365
|
reportAnalyzeState: v,
|
|
4366
4366
|
requireReportUrlAnalyze: g
|
|
4367
4367
|
}), !t.current) return;
|
|
@@ -4436,7 +4436,7 @@ const of = ({
|
|
|
4436
4436
|
const H = [];
|
|
4437
4437
|
for (let q = I; q < C; q++)
|
|
4438
4438
|
H.push(`${b.key}_${q}`);
|
|
4439
|
-
|
|
4439
|
+
Va({ keys: H }), document.dispatchEvent(new CustomEvent("rte-report-dropdown-force-close")), h((q) => ({
|
|
4440
4440
|
...q,
|
|
4441
4441
|
[b.key]: D
|
|
4442
4442
|
}));
|
|
@@ -4973,11 +4973,11 @@ const of = ({
|
|
|
4973
4973
|
}));
|
|
4974
4974
|
const L = [];
|
|
4975
4975
|
for (let Z = 0; Z < z; Z++) {
|
|
4976
|
-
const ue = `${N}_${Z}`,
|
|
4976
|
+
const ue = `${N}_${Z}`, he = n.current.querySelector(
|
|
4977
4977
|
`[data-type="variable"][data-key="${ue}"][data-multi-key="${N}"]`
|
|
4978
4978
|
);
|
|
4979
|
-
if (
|
|
4980
|
-
const ye =
|
|
4979
|
+
if (he) {
|
|
4980
|
+
const ye = he.innerText.replace(/[\u200B\n]/g, "").trim();
|
|
4981
4981
|
L.push(ye);
|
|
4982
4982
|
}
|
|
4983
4983
|
}
|
|
@@ -4994,8 +4994,8 @@ const of = ({
|
|
|
4994
4994
|
}), n.current.querySelectorAll(
|
|
4995
4995
|
'[data-type="variable"]'
|
|
4996
4996
|
).forEach((Z) => {
|
|
4997
|
-
const ue = Z.dataset.key,
|
|
4998
|
-
if (ue &&
|
|
4997
|
+
const ue = Z.dataset.key, he = Z.dataset.multiKey;
|
|
4998
|
+
if (ue && he !== N) {
|
|
4999
4999
|
const ye = Z.innerText.replace(/[\u200B\n]/g, "").trim();
|
|
5000
5000
|
ye && (K[ue] = ye);
|
|
5001
5001
|
}
|
|
@@ -5615,7 +5615,7 @@ function Qn(e, t, a) {
|
|
|
5615
5615
|
function We(e) {
|
|
5616
5616
|
return (Array.isArray(e) ? e : [e]).filter((t) => !!t);
|
|
5617
5617
|
}
|
|
5618
|
-
function
|
|
5618
|
+
function tl(e, t = "") {
|
|
5619
5619
|
typeof trustedTypes < "u" ? e.innerHTML = trustedTypes.createPolicy("html", {
|
|
5620
5620
|
createHTML: (a) => a
|
|
5621
5621
|
}).createHTML(t) : e.innerHTML = t;
|
|
@@ -7819,7 +7819,7 @@ function Rp({
|
|
|
7819
7819
|
const A = a[w];
|
|
7820
7820
|
(A === !0 || A === !1) && (w === "navigation" || w === "pagination" || w === "scrollbar") ? A === !1 && k(w) : o[w] = a[w];
|
|
7821
7821
|
}
|
|
7822
|
-
}), u.includes("controller") && !v && e.controller && e.controller.control && o.controller && o.controller.control && (e.controller.control = o.controller.control), l.includes("children") && t && f && o.virtual.enabled ? (f.slides = t, f.update(!0)) : l.includes("virtual") && f && o.virtual.enabled && (t && (f.slides = t), f.update(!0)), l.includes("children") && t && o.loop && (S = !0), E && y.init() && y.update(!0), v && (e.controller.control = o.controller.control), g && (e.isElement && (!s || typeof s == "string") && (s = document.createElement("div"), s.classList.add("swiper-pagination"), s.part.add("pagination"), e.el.appendChild(s)), s && (o.pagination.el = s), c.init(), c.render(), c.update()), m && (e.isElement && (!i || typeof i == "string") && (i = document.createElement("div"), i.classList.add("swiper-scrollbar"), i.part.add("scrollbar"), e.el.appendChild(i)), i && (o.scrollbar.el = i), h.init(), h.updateSize(), h.setTranslate()), b && (e.isElement && ((!n || typeof n == "string") && (n = document.createElement("div"), n.classList.add("swiper-button-next"),
|
|
7822
|
+
}), u.includes("controller") && !v && e.controller && e.controller.control && o.controller && o.controller.control && (e.controller.control = o.controller.control), l.includes("children") && t && f && o.virtual.enabled ? (f.slides = t, f.update(!0)) : l.includes("virtual") && f && o.virtual.enabled && (t && (f.slides = t), f.update(!0)), l.includes("children") && t && o.loop && (S = !0), E && y.init() && y.update(!0), v && (e.controller.control = o.controller.control), g && (e.isElement && (!s || typeof s == "string") && (s = document.createElement("div"), s.classList.add("swiper-pagination"), s.part.add("pagination"), e.el.appendChild(s)), s && (o.pagination.el = s), c.init(), c.render(), c.update()), m && (e.isElement && (!i || typeof i == "string") && (i = document.createElement("div"), i.classList.add("swiper-scrollbar"), i.part.add("scrollbar"), e.el.appendChild(i)), i && (o.scrollbar.el = i), h.init(), h.updateSize(), h.setTranslate()), b && (e.isElement && ((!n || typeof n == "string") && (n = document.createElement("div"), n.classList.add("swiper-button-next"), tl(n, e.navigation.arrowSvg), n.part.add("button-next"), e.el.appendChild(n)), (!r || typeof r == "string") && (r = document.createElement("div"), r.classList.add("swiper-button-prev"), tl(r, e.navigation.arrowSvg), r.part.add("button-prev"), e.el.appendChild(r))), n && (o.navigation.nextEl = n), r && (o.navigation.prevEl = r), d.init(), d.update()), l.includes("allowSlideNext") && (e.allowSlideNext = a.allowSlideNext), l.includes("allowSlidePrev") && (e.allowSlidePrev = a.allowSlidePrev), l.includes("direction") && e.changeDirection(a.direction, !1), (T || S) && e.loopDestroy(), (C || S) && e.loopCreate(), e.update();
|
|
7823
7823
|
}
|
|
7824
7824
|
function Bp(e = {}, t = !0) {
|
|
7825
7825
|
const a = {
|
|
@@ -7935,7 +7935,7 @@ function qp(e, t, a) {
|
|
|
7935
7935
|
key: c.props.virtualIndex || c.key || `slide-${d}`
|
|
7936
7936
|
}));
|
|
7937
7937
|
}
|
|
7938
|
-
function
|
|
7938
|
+
function Ga(e, t) {
|
|
7939
7939
|
return typeof window > "u" ? ne(e, t) : Ke(e, t);
|
|
7940
7940
|
}
|
|
7941
7941
|
const wi = /* @__PURE__ */ Xs(null), zp = /* @__PURE__ */ Xs(null), vu = /* @__PURE__ */ Ks(({
|
|
@@ -7993,7 +7993,7 @@ const wi = /* @__PURE__ */ Xs(null), zp = /* @__PURE__ */ Xs(null), vu = /* @__P
|
|
|
7993
7993
|
v.current && v.current.off("_beforeBreakpoint", P);
|
|
7994
7994
|
}), ne(() => {
|
|
7995
7995
|
!y.current && v.current && (v.current.emitSlidesClasses(), y.current = !0);
|
|
7996
|
-
}),
|
|
7996
|
+
}), Ga(() => {
|
|
7997
7997
|
if (i && (i.current = E.current), !!E.current)
|
|
7998
7998
|
return v.current.destroyed && N(), Fp({
|
|
7999
7999
|
el: E.current,
|
|
@@ -8005,7 +8005,7 @@ const wi = /* @__PURE__ */ Xs(null), zp = /* @__PURE__ */ Xs(null), vu = /* @__P
|
|
|
8005
8005
|
}, k), n && !v.current.destroyed && n(v.current), () => {
|
|
8006
8006
|
v.current && !v.current.destroyed && v.current.destroy(!0, !1);
|
|
8007
8007
|
};
|
|
8008
|
-
}, []),
|
|
8008
|
+
}, []), Ga(() => {
|
|
8009
8009
|
x();
|
|
8010
8010
|
const H = Hp(w, g.current, O, m.current, (q) => q.key);
|
|
8011
8011
|
return g.current = w, m.current = O, H.length && v.current && !v.current.destroyed && Rp({
|
|
@@ -8020,7 +8020,7 @@ const wi = /* @__PURE__ */ Xs(null), zp = /* @__PURE__ */ Xs(null), vu = /* @__P
|
|
|
8020
8020
|
}), () => {
|
|
8021
8021
|
D();
|
|
8022
8022
|
};
|
|
8023
|
-
}),
|
|
8023
|
+
}), Ga(() => {
|
|
8024
8024
|
$p(v.current);
|
|
8025
8025
|
}, [c]);
|
|
8026
8026
|
function U() {
|
|
@@ -8066,7 +8066,7 @@ const gu = /* @__PURE__ */ Ks(({
|
|
|
8066
8066
|
function E(b, T, C) {
|
|
8067
8067
|
T === c.current && h(C);
|
|
8068
8068
|
}
|
|
8069
|
-
|
|
8069
|
+
Ga(() => {
|
|
8070
8070
|
if (typeof s < "u" && (c.current.swiperSlideIndex = s), o && (o.current = c.current), !(!c.current || !l)) {
|
|
8071
8071
|
if (l.destroyed) {
|
|
8072
8072
|
d !== "swiper-slide" && h("swiper-slide");
|
|
@@ -8076,7 +8076,7 @@ const gu = /* @__PURE__ */ Ks(({
|
|
|
8076
8076
|
l && l.off("_slideClass", E);
|
|
8077
8077
|
};
|
|
8078
8078
|
}
|
|
8079
|
-
}),
|
|
8079
|
+
}), Ga(() => {
|
|
8080
8080
|
l && c.current && !l.destroyed && h(l.getSlideClasses(c.current));
|
|
8081
8081
|
}, [l]);
|
|
8082
8082
|
const v = {
|
|
@@ -8185,7 +8185,7 @@ function Vp({
|
|
|
8185
8185
|
if (g) {
|
|
8186
8186
|
if (f.addIcons && g.matches(".swiper-button-next,.swiper-button-prev") && !g.querySelector("svg")) {
|
|
8187
8187
|
const b = document.createElement("div");
|
|
8188
|
-
|
|
8188
|
+
tl(b, _i), g.appendChild(b.querySelector("svg")), b.remove();
|
|
8189
8189
|
}
|
|
8190
8190
|
g.addEventListener("click", m === "next" ? u : s);
|
|
8191
8191
|
}
|
|
@@ -8251,7 +8251,7 @@ function Vp({
|
|
|
8251
8251
|
destroy: c
|
|
8252
8252
|
});
|
|
8253
8253
|
}
|
|
8254
|
-
function
|
|
8254
|
+
function Ma(e = "") {
|
|
8255
8255
|
return `.${e.trim().replace(/([\.:!+\/()[\]#>~*^$|=,'"@{}\\])/g, "\\$1").replace(/ /g, ".")}`;
|
|
8256
8256
|
}
|
|
8257
8257
|
function Gp({
|
|
@@ -8313,7 +8313,7 @@ function Gp({
|
|
|
8313
8313
|
return "previous";
|
|
8314
8314
|
}
|
|
8315
8315
|
function c(g) {
|
|
8316
|
-
const m = g.target.closest(
|
|
8316
|
+
const m = g.target.closest(Ma(e.params.pagination.bulletClass));
|
|
8317
8317
|
if (!m)
|
|
8318
8318
|
return;
|
|
8319
8319
|
g.preventDefault();
|
|
@@ -8364,20 +8364,20 @@ function Gp({
|
|
|
8364
8364
|
}
|
|
8365
8365
|
}
|
|
8366
8366
|
b.forEach((w, A) => {
|
|
8367
|
-
if (m.type === "fraction" && (w.querySelectorAll(
|
|
8367
|
+
if (m.type === "fraction" && (w.querySelectorAll(Ma(m.currentClass)).forEach((I) => {
|
|
8368
8368
|
I.textContent = m.formatFractionCurrent(T + 1);
|
|
8369
|
-
}), w.querySelectorAll(
|
|
8369
|
+
}), w.querySelectorAll(Ma(m.totalClass)).forEach((I) => {
|
|
8370
8370
|
I.textContent = m.formatFractionTotal(k);
|
|
8371
8371
|
})), m.type === "progressbar") {
|
|
8372
8372
|
let I;
|
|
8373
8373
|
m.progressbarOpposite ? I = e.isHorizontal() ? "vertical" : "horizontal" : I = e.isHorizontal() ? "horizontal" : "vertical";
|
|
8374
8374
|
const O = (T + 1) / k;
|
|
8375
8375
|
let R = 1, P = 1;
|
|
8376
|
-
I === "horizontal" ? R = O : P = O, w.querySelectorAll(
|
|
8376
|
+
I === "horizontal" ? R = O : P = O, w.querySelectorAll(Ma(m.progressbarFillClass)).forEach((N) => {
|
|
8377
8377
|
N.style.transform = `translate3d(0,0,0) scaleX(${R}) scaleY(${P})`, N.style.transitionDuration = `${e.params.speed}ms`;
|
|
8378
8378
|
});
|
|
8379
8379
|
}
|
|
8380
|
-
m.type === "custom" && m.renderCustom ? (
|
|
8380
|
+
m.type === "custom" && m.renderCustom ? (tl(w, m.renderCustom(e, T + 1, k)), A === 0 && l("paginationRender", w)) : (A === 0 && l("paginationRender", w), l("paginationUpdate", w)), e.params.watchOverflow && e.enabled && w.classList[e.isLocked ? "add" : "remove"](m.lockClass);
|
|
8381
8381
|
});
|
|
8382
8382
|
}
|
|
8383
8383
|
function h() {
|
|
@@ -8394,7 +8394,7 @@ function Gp({
|
|
|
8394
8394
|
g.renderBullet ? T += g.renderBullet.call(e, S, g.bulletClass) : T += `<${g.bulletElement} ${e.isElement ? 'part="bullet"' : ""} class="${g.bulletClass}"></${g.bulletElement}>`;
|
|
8395
8395
|
}
|
|
8396
8396
|
g.type === "fraction" && (g.renderFraction ? T = g.renderFraction.call(e, g.currentClass, g.totalClass) : T = `<span class="${g.currentClass}"></span> / <span class="${g.totalClass}"></span>`), g.type === "progressbar" && (g.renderProgressbar ? T = g.renderProgressbar.call(e, g.progressbarFillClass) : T = `<span class="${g.progressbarFillClass}"></span>`), e.pagination.bullets = [], b.forEach((C) => {
|
|
8397
|
-
g.type !== "custom" &&
|
|
8397
|
+
g.type !== "custom" && tl(C, T || ""), g.type === "bullets" && e.pagination.bullets.push(...C.querySelectorAll(Ma(g.bulletClass)));
|
|
8398
8398
|
}), g.type !== "custom" && l("paginationRender", b[0]);
|
|
8399
8399
|
}
|
|
8400
8400
|
function f() {
|
|
@@ -8525,7 +8525,7 @@ function Tu(e, t) {
|
|
|
8525
8525
|
Object.assign(a, n.property), Object.assign(l, n.normal);
|
|
8526
8526
|
return new dl(a, l, t);
|
|
8527
8527
|
}
|
|
8528
|
-
function
|
|
8528
|
+
function al(e) {
|
|
8529
8529
|
return e.toLowerCase();
|
|
8530
8530
|
}
|
|
8531
8531
|
class st {
|
|
@@ -8598,7 +8598,7 @@ Ar.prototype.defined = !0;
|
|
|
8598
8598
|
function Li(e, t, a) {
|
|
8599
8599
|
a && (e[t] = a);
|
|
8600
8600
|
}
|
|
8601
|
-
function
|
|
8601
|
+
function ga(e) {
|
|
8602
8602
|
const t = {}, a = {};
|
|
8603
8603
|
for (const [l, n] of Object.entries(e.properties)) {
|
|
8604
8604
|
const r = new Ar(
|
|
@@ -8607,11 +8607,11 @@ function Ea(e) {
|
|
|
8607
8607
|
n,
|
|
8608
8608
|
e.space
|
|
8609
8609
|
);
|
|
8610
|
-
e.mustUseProperty && e.mustUseProperty.includes(l) && (r.mustUseProperty = !0), t[l] = r, a[
|
|
8610
|
+
e.mustUseProperty && e.mustUseProperty.includes(l) && (r.mustUseProperty = !0), t[l] = r, a[al(l)] = l, a[al(r.attribute)] = l;
|
|
8611
8611
|
}
|
|
8612
8612
|
return new dl(t, a, e.space);
|
|
8613
8613
|
}
|
|
8614
|
-
const xu =
|
|
8614
|
+
const xu = ga({
|
|
8615
8615
|
properties: {
|
|
8616
8616
|
ariaActiveDescendant: null,
|
|
8617
8617
|
ariaAtomic: ze,
|
|
@@ -8673,7 +8673,7 @@ function Cu(e, t) {
|
|
|
8673
8673
|
function Au(e, t) {
|
|
8674
8674
|
return Cu(e, t.toLowerCase());
|
|
8675
8675
|
}
|
|
8676
|
-
const Jp =
|
|
8676
|
+
const Jp = ga({
|
|
8677
8677
|
attributes: {
|
|
8678
8678
|
acceptcharset: "accept-charset",
|
|
8679
8679
|
classname: "class",
|
|
@@ -9034,7 +9034,7 @@ const Jp = Ea({
|
|
|
9034
9034
|
},
|
|
9035
9035
|
space: "html",
|
|
9036
9036
|
transform: Au
|
|
9037
|
-
}), Zp =
|
|
9037
|
+
}), Zp = ga({
|
|
9038
9038
|
attributes: {
|
|
9039
9039
|
accentHeight: "accent-height",
|
|
9040
9040
|
alignmentBaseline: "alignment-baseline",
|
|
@@ -9593,7 +9593,7 @@ const Jp = Ea({
|
|
|
9593
9593
|
},
|
|
9594
9594
|
space: "svg",
|
|
9595
9595
|
transform: Cu
|
|
9596
|
-
}), Su =
|
|
9596
|
+
}), Su = ga({
|
|
9597
9597
|
properties: {
|
|
9598
9598
|
xLinkActuate: null,
|
|
9599
9599
|
xLinkArcRole: null,
|
|
@@ -9607,12 +9607,12 @@ const Jp = Ea({
|
|
|
9607
9607
|
transform(e, t) {
|
|
9608
9608
|
return "xlink:" + t.slice(5).toLowerCase();
|
|
9609
9609
|
}
|
|
9610
|
-
}), wu =
|
|
9610
|
+
}), wu = ga({
|
|
9611
9611
|
attributes: { xmlnsxlink: "xmlns:xlink" },
|
|
9612
9612
|
properties: { xmlnsXLink: null, xmlns: null },
|
|
9613
9613
|
space: "xmlns",
|
|
9614
9614
|
transform: Au
|
|
9615
|
-
}), _u =
|
|
9615
|
+
}), _u = ga({
|
|
9616
9616
|
properties: { xmlBase: null, xmlLang: null, xmlSpace: null },
|
|
9617
9617
|
space: "xml",
|
|
9618
9618
|
transform(e, t) {
|
|
@@ -9638,7 +9638,7 @@ const Jp = Ea({
|
|
|
9638
9638
|
xmlnsXLink: "xmlnsXlink"
|
|
9639
9639
|
}, th = /[A-Z]/g, Oi = /-[a-z]/g, ah = /^data[-\w.:]+$/i;
|
|
9640
9640
|
function Wl(e, t) {
|
|
9641
|
-
const a =
|
|
9641
|
+
const a = al(t);
|
|
9642
9642
|
let l = t, n = st;
|
|
9643
9643
|
if (a in e.normal)
|
|
9644
9644
|
return e.property[e.normal[a]];
|
|
@@ -9787,10 +9787,10 @@ function ih() {
|
|
|
9787
9787
|
}
|
|
9788
9788
|
return oa;
|
|
9789
9789
|
}
|
|
9790
|
-
var
|
|
9790
|
+
var Ra = {}, Ri;
|
|
9791
9791
|
function sh() {
|
|
9792
|
-
if (Ri) return
|
|
9793
|
-
Ri = 1, Object.defineProperty(
|
|
9792
|
+
if (Ri) return Ra;
|
|
9793
|
+
Ri = 1, Object.defineProperty(Ra, "__esModule", { value: !0 }), Ra.camelCase = void 0;
|
|
9794
9794
|
var e = /^--[a-zA-Z0-9_-]+$/, t = /-([a-z])/g, a = /^[^-]+$/, l = /^-(webkit|moz|ms|o|khtml)-/, n = /^-(ms)-/, r = function(o) {
|
|
9795
9795
|
return !o || a.test(o) || e.test(o);
|
|
9796
9796
|
}, i = function(o, c) {
|
|
@@ -9800,13 +9800,13 @@ function sh() {
|
|
|
9800
9800
|
}, u = function(o, c) {
|
|
9801
9801
|
return c === void 0 && (c = {}), r(o) ? o : (o = o.toLowerCase(), c.reactCompat ? o = o.replace(n, s) : o = o.replace(l, s), o.replace(t, i));
|
|
9802
9802
|
};
|
|
9803
|
-
return
|
|
9803
|
+
return Ra.camelCase = u, Ra;
|
|
9804
9804
|
}
|
|
9805
|
-
var
|
|
9805
|
+
var Ba, Bi;
|
|
9806
9806
|
function uh() {
|
|
9807
|
-
if (Bi) return
|
|
9807
|
+
if (Bi) return Ba;
|
|
9808
9808
|
Bi = 1;
|
|
9809
|
-
var e =
|
|
9809
|
+
var e = Ba && Ba.__importDefault || function(n) {
|
|
9810
9810
|
return n && n.__esModule ? n : { default: n };
|
|
9811
9811
|
}, t = e(ih()), a = sh();
|
|
9812
9812
|
function l(n, r) {
|
|
@@ -9815,7 +9815,7 @@ function uh() {
|
|
|
9815
9815
|
s && u && (i[(0, a.camelCase)(s, r)] = u);
|
|
9816
9816
|
}), i;
|
|
9817
9817
|
}
|
|
9818
|
-
return l.default = l,
|
|
9818
|
+
return l.default = l, Ba = l, Ba;
|
|
9819
9819
|
}
|
|
9820
9820
|
var oh = uh();
|
|
9821
9821
|
const ch = /* @__PURE__ */ Sr(oh), jl = Nu("end"), wt = Nu("start");
|
|
@@ -9836,7 +9836,7 @@ function Iu(e) {
|
|
|
9836
9836
|
if (t && a)
|
|
9837
9837
|
return { start: t, end: a };
|
|
9838
9838
|
}
|
|
9839
|
-
function
|
|
9839
|
+
function Ya(e) {
|
|
9840
9840
|
return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? Fi(e.position) : "start" in e || "end" in e ? Fi(e) : "line" in e || "column" in e ? ar(e) : "";
|
|
9841
9841
|
}
|
|
9842
9842
|
function ar(e) {
|
|
@@ -9919,7 +9919,7 @@ class Je extends Error {
|
|
|
9919
9919
|
u && (r.place = u.position);
|
|
9920
9920
|
}
|
|
9921
9921
|
const s = r.place && "start" in r.place ? r.place.start : r.place;
|
|
9922
|
-
this.ancestors = r.ancestors || void 0, this.cause = r.cause || void 0, this.column = s ? s.column : void 0, this.fatal = void 0, this.file = "", this.message = n, this.line = s ? s.line : void 0, this.name =
|
|
9922
|
+
this.ancestors = r.ancestors || void 0, this.cause = r.cause || void 0, this.column = s ? s.column : void 0, this.fatal = void 0, this.file = "", this.message = n, this.line = s ? s.line : void 0, this.name = Ya(r.place) || "1:1", this.place = r.place || void 0, this.reason = this.message, this.ruleId = r.ruleId || void 0, this.source = r.source || void 0, this.stack = i && r.cause && typeof r.cause.stack == "string" ? r.cause.stack : "", this.actual = void 0, this.expected = void 0, this.note = void 0, this.url = void 0;
|
|
9923
9923
|
}
|
|
9924
9924
|
}
|
|
9925
9925
|
Je.prototype.file = "";
|
|
@@ -10006,7 +10006,7 @@ function vh(e, t) {
|
|
|
10006
10006
|
return l.type, /** @type {Child | undefined} */
|
|
10007
10007
|
e.evaluater.evaluateExpression(l.expression);
|
|
10008
10008
|
}
|
|
10009
|
-
|
|
10009
|
+
ll(e, t.position);
|
|
10010
10010
|
}
|
|
10011
10011
|
function gh(e, t) {
|
|
10012
10012
|
if (t.data && t.data.estree && e.evaluater)
|
|
@@ -10014,7 +10014,7 @@ function gh(e, t) {
|
|
|
10014
10014
|
/** @type {Child | undefined} */
|
|
10015
10015
|
e.evaluater.evaluateProgram(t.data.estree)
|
|
10016
10016
|
);
|
|
10017
|
-
|
|
10017
|
+
ll(e, t.position);
|
|
10018
10018
|
}
|
|
10019
10019
|
function Eh(e, t, a) {
|
|
10020
10020
|
const l = e.schema;
|
|
@@ -10099,7 +10099,7 @@ function Sh(e, t) {
|
|
|
10099
10099
|
e.evaluater.evaluateExpression(s.argument)
|
|
10100
10100
|
);
|
|
10101
10101
|
} else
|
|
10102
|
-
|
|
10102
|
+
ll(e, t.position);
|
|
10103
10103
|
else {
|
|
10104
10104
|
const n = l.name;
|
|
10105
10105
|
let r;
|
|
@@ -10108,7 +10108,7 @@ function Sh(e, t) {
|
|
|
10108
10108
|
const s = l.value.data.estree.body[0];
|
|
10109
10109
|
s.type, r = e.evaluater.evaluateExpression(s.expression);
|
|
10110
10110
|
} else
|
|
10111
|
-
|
|
10111
|
+
ll(e, t.position);
|
|
10112
10112
|
else
|
|
10113
10113
|
r = l.value === null ? !0 : l.value;
|
|
10114
10114
|
a[n] = /** @type {Props[keyof Props]} */
|
|
@@ -10195,9 +10195,9 @@ function Pu(e, t, a) {
|
|
|
10195
10195
|
}
|
|
10196
10196
|
if (e.evaluater)
|
|
10197
10197
|
return e.evaluater.evaluateExpression(l);
|
|
10198
|
-
|
|
10198
|
+
ll(e);
|
|
10199
10199
|
}
|
|
10200
|
-
function
|
|
10200
|
+
function ll(e, t) {
|
|
10201
10201
|
const a = new Je(
|
|
10202
10202
|
"Cannot handle MDX estrees without `createEvaluater`",
|
|
10203
10203
|
{
|
|
@@ -10272,7 +10272,7 @@ function Dh(e) {
|
|
|
10272
10272
|
return !!(e && typeof e == "object");
|
|
10273
10273
|
}
|
|
10274
10274
|
const Ui = document.createElement("i");
|
|
10275
|
-
function
|
|
10275
|
+
function nl(e) {
|
|
10276
10276
|
const t = "&" + e + ";";
|
|
10277
10277
|
Ui.innerHTML = t;
|
|
10278
10278
|
const a = Ui.textContent;
|
|
@@ -10347,7 +10347,7 @@ function lr(e) {
|
|
|
10347
10347
|
);
|
|
10348
10348
|
}
|
|
10349
10349
|
const nr = Vt(/\d/), Fh = Vt(/[\dA-Fa-f]/), Hh = Vt(/[!-/:-@[-`{-~]/);
|
|
10350
|
-
function
|
|
10350
|
+
function pe(e) {
|
|
10351
10351
|
return e !== null && e < -2;
|
|
10352
10352
|
}
|
|
10353
10353
|
function Ue(e) {
|
|
@@ -10356,14 +10356,14 @@ function Ue(e) {
|
|
|
10356
10356
|
function _e(e) {
|
|
10357
10357
|
return e === -2 || e === -1 || e === 32;
|
|
10358
10358
|
}
|
|
10359
|
-
const
|
|
10359
|
+
const rl = Vt(new RegExp("\\p{P}|\\p{S}", "u")), il = Vt(/\s/);
|
|
10360
10360
|
function Vt(e) {
|
|
10361
10361
|
return t;
|
|
10362
10362
|
function t(a) {
|
|
10363
10363
|
return a !== null && a > -1 && e.test(String.fromCharCode(a));
|
|
10364
10364
|
}
|
|
10365
10365
|
}
|
|
10366
|
-
function
|
|
10366
|
+
function Ea(e) {
|
|
10367
10367
|
const t = [];
|
|
10368
10368
|
let a = -1, l = 0, n = 0;
|
|
10369
10369
|
for (; ++a < e.length; ) {
|
|
@@ -10422,7 +10422,7 @@ function Uh(e) {
|
|
|
10422
10422
|
e.exit("chunkText"), e.exit("paragraph"), e.consume(s);
|
|
10423
10423
|
return;
|
|
10424
10424
|
}
|
|
10425
|
-
return
|
|
10425
|
+
return pe(s) ? (e.consume(s), e.exit("chunkText"), r) : (e.consume(s), i);
|
|
10426
10426
|
}
|
|
10427
10427
|
}
|
|
10428
10428
|
const qh = {
|
|
@@ -10499,7 +10499,7 @@ function zh(e) {
|
|
|
10499
10499
|
v(e.exit("chunkFlow"), !0), g(0), e.consume(b);
|
|
10500
10500
|
return;
|
|
10501
10501
|
}
|
|
10502
|
-
return
|
|
10502
|
+
return pe(b) ? (e.consume(b), v(e.exit("chunkFlow")), l = 0, t.interrupt = void 0, s) : (e.consume(b), E);
|
|
10503
10503
|
}
|
|
10504
10504
|
function v(b, T) {
|
|
10505
10505
|
const C = t.sliceStream(b);
|
|
@@ -10546,9 +10546,9 @@ function Vh(e, t, a) {
|
|
|
10546
10546
|
return ke(e, e.attempt(this.parser.constructs.document, t, a), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
10547
10547
|
}
|
|
10548
10548
|
function Vi(e) {
|
|
10549
|
-
if (e === null || Ue(e) ||
|
|
10549
|
+
if (e === null || Ue(e) || il(e))
|
|
10550
10550
|
return 1;
|
|
10551
|
-
if (
|
|
10551
|
+
if (rl(e))
|
|
10552
10552
|
return 2;
|
|
10553
10553
|
}
|
|
10554
10554
|
function Nr(e, t, a) {
|
|
@@ -10686,7 +10686,7 @@ function Kh(e, t, a) {
|
|
|
10686
10686
|
return _e(r) ? ke(e, n, "linePrefix")(r) : n(r);
|
|
10687
10687
|
}
|
|
10688
10688
|
function n(r) {
|
|
10689
|
-
return r === null ||
|
|
10689
|
+
return r === null || pe(r) ? t(r) : a(r);
|
|
10690
10690
|
}
|
|
10691
10691
|
}
|
|
10692
10692
|
const Bu = {
|
|
@@ -10759,7 +10759,7 @@ function eb(e, t, a) {
|
|
|
10759
10759
|
function c(d) {
|
|
10760
10760
|
if (d === 59 && n) {
|
|
10761
10761
|
const h = e.exit("characterReferenceValue");
|
|
10762
|
-
return i === ct && !
|
|
10762
|
+
return i === ct && !nl(l.sliceSerialize(h)) ? a(d) : (e.enter("characterReferenceMarker"), e.consume(d), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
|
|
10763
10763
|
}
|
|
10764
10764
|
return i(d) && n++ < r ? (e.consume(d), c) : a(d);
|
|
10765
10765
|
}
|
|
@@ -10790,20 +10790,20 @@ function tb(e, t, a) {
|
|
|
10790
10790
|
return S === s ? (i++, e.consume(S), c) : i < 3 ? a(S) : (e.exit("codeFencedFenceSequence"), _e(S) ? ke(e, d, "whitespace")(S) : d(S));
|
|
10791
10791
|
}
|
|
10792
10792
|
function d(S) {
|
|
10793
|
-
return S === null ||
|
|
10793
|
+
return S === null || pe(S) ? (e.exit("codeFencedFence"), l.interrupt ? t(S) : e.check(Yi, E, T)(S)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
|
|
10794
10794
|
contentType: "string"
|
|
10795
10795
|
}), h(S));
|
|
10796
10796
|
}
|
|
10797
10797
|
function h(S) {
|
|
10798
|
-
return S === null ||
|
|
10798
|
+
return S === null || pe(S) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), d(S)) : _e(S) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), ke(e, f, "whitespace")(S)) : S === 96 && S === s ? a(S) : (e.consume(S), h);
|
|
10799
10799
|
}
|
|
10800
10800
|
function f(S) {
|
|
10801
|
-
return S === null ||
|
|
10801
|
+
return S === null || pe(S) ? d(S) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
|
|
10802
10802
|
contentType: "string"
|
|
10803
10803
|
}), y(S));
|
|
10804
10804
|
}
|
|
10805
10805
|
function y(S) {
|
|
10806
|
-
return S === null ||
|
|
10806
|
+
return S === null || pe(S) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), d(S)) : S === 96 && S === s ? a(S) : (e.consume(S), y);
|
|
10807
10807
|
}
|
|
10808
10808
|
function E(S) {
|
|
10809
10809
|
return e.attempt(n, T, v)(S);
|
|
@@ -10815,10 +10815,10 @@ function tb(e, t, a) {
|
|
|
10815
10815
|
return r > 0 && _e(S) ? ke(e, m, "linePrefix", r + 1)(S) : m(S);
|
|
10816
10816
|
}
|
|
10817
10817
|
function m(S) {
|
|
10818
|
-
return S === null ||
|
|
10818
|
+
return S === null || pe(S) ? e.check(Yi, E, T)(S) : (e.enter("codeFlowValue"), b(S));
|
|
10819
10819
|
}
|
|
10820
10820
|
function b(S) {
|
|
10821
|
-
return S === null ||
|
|
10821
|
+
return S === null || pe(S) ? (e.exit("codeFlowValue"), m(S)) : (e.consume(S), b);
|
|
10822
10822
|
}
|
|
10823
10823
|
function T(S) {
|
|
10824
10824
|
return e.exit("codeFenced"), t(S);
|
|
@@ -10839,7 +10839,7 @@ function tb(e, t, a) {
|
|
|
10839
10839
|
return x === s ? (A++, S.consume(x), P) : A >= i ? (S.exit("codeFencedFenceSequence"), _e(x) ? ke(S, N, "whitespace")(x) : N(x)) : w(x);
|
|
10840
10840
|
}
|
|
10841
10841
|
function N(x) {
|
|
10842
|
-
return x === null ||
|
|
10842
|
+
return x === null || pe(x) ? (S.exit("codeFencedFence"), k(x)) : w(x);
|
|
10843
10843
|
}
|
|
10844
10844
|
}
|
|
10845
10845
|
}
|
|
@@ -10871,10 +10871,10 @@ function nb(e, t, a) {
|
|
|
10871
10871
|
return c && c[1].type === "linePrefix" && c[2].sliceSerialize(c[1], !0).length >= 4 ? i(o) : a(o);
|
|
10872
10872
|
}
|
|
10873
10873
|
function i(o) {
|
|
10874
|
-
return o === null ? u(o) :
|
|
10874
|
+
return o === null ? u(o) : pe(o) ? e.attempt(lb, i, u)(o) : (e.enter("codeFlowValue"), s(o));
|
|
10875
10875
|
}
|
|
10876
10876
|
function s(o) {
|
|
10877
|
-
return o === null ||
|
|
10877
|
+
return o === null || pe(o) ? (e.exit("codeFlowValue"), i(o)) : (e.consume(o), s);
|
|
10878
10878
|
}
|
|
10879
10879
|
function u(o) {
|
|
10880
10880
|
return e.exit("codeIndented"), t(o);
|
|
@@ -10884,11 +10884,11 @@ function rb(e, t, a) {
|
|
|
10884
10884
|
const l = this;
|
|
10885
10885
|
return n;
|
|
10886
10886
|
function n(i) {
|
|
10887
|
-
return l.parser.lazy[l.now().line] ? a(i) :
|
|
10887
|
+
return l.parser.lazy[l.now().line] ? a(i) : pe(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), n) : ke(e, r, "linePrefix", 5)(i);
|
|
10888
10888
|
}
|
|
10889
10889
|
function r(i) {
|
|
10890
10890
|
const s = l.events[l.events.length - 1];
|
|
10891
|
-
return s && s[1].type === "linePrefix" && s[2].sliceSerialize(s[1], !0).length >= 4 ? t(i) :
|
|
10891
|
+
return s && s[1].type === "linePrefix" && s[2].sliceSerialize(s[1], !0).length >= 4 ? t(i) : pe(i) ? n(i) : a(i);
|
|
10892
10892
|
}
|
|
10893
10893
|
}
|
|
10894
10894
|
const ib = {
|
|
@@ -10923,10 +10923,10 @@ function ob(e, t, a) {
|
|
|
10923
10923
|
return d === 96 ? (e.consume(d), l++, s) : (e.exit("codeTextSequence"), u(d));
|
|
10924
10924
|
}
|
|
10925
10925
|
function u(d) {
|
|
10926
|
-
return d === null ? a(d) : d === 32 ? (e.enter("space"), e.consume(d), e.exit("space"), u) : d === 96 ? (r = e.enter("codeTextSequence"), n = 0, c(d)) :
|
|
10926
|
+
return d === null ? a(d) : d === 32 ? (e.enter("space"), e.consume(d), e.exit("space"), u) : d === 96 ? (r = e.enter("codeTextSequence"), n = 0, c(d)) : pe(d) ? (e.enter("lineEnding"), e.consume(d), e.exit("lineEnding"), u) : (e.enter("codeTextData"), o(d));
|
|
10927
10927
|
}
|
|
10928
10928
|
function o(d) {
|
|
10929
|
-
return d === null || d === 32 || d === 96 ||
|
|
10929
|
+
return d === null || d === 32 || d === 96 || pe(d) ? (e.exit("codeTextData"), u(d)) : (e.consume(d), o);
|
|
10930
10930
|
}
|
|
10931
10931
|
function c(d) {
|
|
10932
10932
|
return d === 96 ? (e.consume(d), n++, c) : n === l ? (e.exit("codeTextSequence"), e.exit("codeText"), t(d)) : (r.type = "codeTextData", o(d));
|
|
@@ -11012,7 +11012,7 @@ class cb {
|
|
|
11012
11012
|
const n = a || 0;
|
|
11013
11013
|
this.setCursor(Math.trunc(t));
|
|
11014
11014
|
const r = this.right.splice(this.right.length - n, Number.POSITIVE_INFINITY);
|
|
11015
|
-
return l &&
|
|
11015
|
+
return l && Fa(this.left, l), r.reverse();
|
|
11016
11016
|
}
|
|
11017
11017
|
/**
|
|
11018
11018
|
* Remove and return the highest-numbered item in the array, so
|
|
@@ -11047,7 +11047,7 @@ class cb {
|
|
|
11047
11047
|
* Nothing.
|
|
11048
11048
|
*/
|
|
11049
11049
|
pushMany(t) {
|
|
11050
|
-
this.setCursor(Number.POSITIVE_INFINITY),
|
|
11050
|
+
this.setCursor(Number.POSITIVE_INFINITY), Fa(this.left, t);
|
|
11051
11051
|
}
|
|
11052
11052
|
/**
|
|
11053
11053
|
* Inserts a single item to the low-numbered side of the array;
|
|
@@ -11071,7 +11071,7 @@ class cb {
|
|
|
11071
11071
|
* Nothing.
|
|
11072
11072
|
*/
|
|
11073
11073
|
unshiftMany(t) {
|
|
11074
|
-
this.setCursor(0),
|
|
11074
|
+
this.setCursor(0), Fa(this.right, t.reverse());
|
|
11075
11075
|
}
|
|
11076
11076
|
/**
|
|
11077
11077
|
* Move the cursor to a specific position in the array. Requires
|
|
@@ -11089,14 +11089,14 @@ class cb {
|
|
|
11089
11089
|
if (!(t === this.left.length || t > this.left.length && this.right.length === 0 || t < 0 && this.left.length === 0))
|
|
11090
11090
|
if (t < this.left.length) {
|
|
11091
11091
|
const a = this.left.splice(t, Number.POSITIVE_INFINITY);
|
|
11092
|
-
|
|
11092
|
+
Fa(this.right, a.reverse());
|
|
11093
11093
|
} else {
|
|
11094
11094
|
const a = this.right.splice(this.left.length + this.right.length - t, Number.POSITIVE_INFINITY);
|
|
11095
|
-
|
|
11095
|
+
Fa(this.left, a.reverse());
|
|
11096
11096
|
}
|
|
11097
11097
|
}
|
|
11098
11098
|
}
|
|
11099
|
-
function
|
|
11099
|
+
function Fa(e, t) {
|
|
11100
11100
|
let a = 0;
|
|
11101
11101
|
if (t.length < 1e4)
|
|
11102
11102
|
e.push(...t);
|
|
@@ -11172,7 +11172,7 @@ function bb(e, t) {
|
|
|
11172
11172
|
}), n(s);
|
|
11173
11173
|
}
|
|
11174
11174
|
function n(s) {
|
|
11175
|
-
return s === null ? r(s) :
|
|
11175
|
+
return s === null ? r(s) : pe(s) ? e.check(pb, i, r)(s) : (e.consume(s), n);
|
|
11176
11176
|
}
|
|
11177
11177
|
function r(s) {
|
|
11178
11178
|
return e.exit("chunkContent"), e.exit("content"), t(s);
|
|
@@ -11191,7 +11191,7 @@ function mb(e, t, a) {
|
|
|
11191
11191
|
return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), ke(e, r, "linePrefix");
|
|
11192
11192
|
}
|
|
11193
11193
|
function r(i) {
|
|
11194
|
-
if (i === null ||
|
|
11194
|
+
if (i === null || pe(i))
|
|
11195
11195
|
return a(i);
|
|
11196
11196
|
const s = l.events[l.events.length - 1];
|
|
11197
11197
|
return !l.parser.constructs.disable.null.includes("codeIndented") && s && s[1].type === "linePrefix" && s[2].sliceSerialize(s[1], !0).length >= 4 ? t(i) : e.interrupt(l.parser.constructs.flow, a, t)(i);
|
|
@@ -11212,7 +11212,7 @@ function Uu(e, t, a, l, n, r, i, s, u) {
|
|
|
11212
11212
|
}), f(g));
|
|
11213
11213
|
}
|
|
11214
11214
|
function f(g) {
|
|
11215
|
-
return g === 62 ? (e.exit("chunkString"), e.exit(s), h(g)) : g === null || g === 60 ||
|
|
11215
|
+
return g === 62 ? (e.exit("chunkString"), e.exit(s), h(g)) : g === null || g === 60 || pe(g) ? a(g) : (e.consume(g), g === 92 ? y : f);
|
|
11216
11216
|
}
|
|
11217
11217
|
function y(g) {
|
|
11218
11218
|
return g === 60 || g === 62 || g === 92 ? (e.consume(g), f) : f(g);
|
|
@@ -11237,12 +11237,12 @@ function qu(e, t, a, l, n, r) {
|
|
|
11237
11237
|
// which doesn’t need this.
|
|
11238
11238
|
// Hidden footnotes hook.
|
|
11239
11239
|
/* c8 ignore next 3 */
|
|
11240
|
-
f === 94 && !s && "_hiddenFootnoteSupport" in i.parser.constructs ? a(f) : f === 93 ? (e.exit(r), e.enter(n), e.consume(f), e.exit(n), e.exit(l), t) :
|
|
11240
|
+
f === 94 && !s && "_hiddenFootnoteSupport" in i.parser.constructs ? a(f) : f === 93 ? (e.exit(r), e.enter(n), e.consume(f), e.exit(n), e.exit(l), t) : pe(f) ? (e.enter("lineEnding"), e.consume(f), e.exit("lineEnding"), c) : (e.enter("chunkString", {
|
|
11241
11241
|
contentType: "string"
|
|
11242
11242
|
}), d(f));
|
|
11243
11243
|
}
|
|
11244
11244
|
function d(f) {
|
|
11245
|
-
return f === null || f === 91 || f === 93 ||
|
|
11245
|
+
return f === null || f === 91 || f === 93 || pe(f) || s++ > 999 ? (e.exit("chunkString"), c(f)) : (e.consume(f), u || (u = !_e(f)), f === 92 ? h : d);
|
|
11246
11246
|
}
|
|
11247
11247
|
function h(f) {
|
|
11248
11248
|
return f === 91 || f === 92 || f === 93 ? (e.consume(f), s++, d) : d(f);
|
|
@@ -11258,12 +11258,12 @@ function zu(e, t, a, l, n, r) {
|
|
|
11258
11258
|
return h === i ? (e.enter(n), e.consume(h), e.exit(n), e.exit(l), t) : (e.enter(r), o(h));
|
|
11259
11259
|
}
|
|
11260
11260
|
function o(h) {
|
|
11261
|
-
return h === i ? (e.exit(r), u(i)) : h === null ? a(h) :
|
|
11261
|
+
return h === i ? (e.exit(r), u(i)) : h === null ? a(h) : pe(h) ? (e.enter("lineEnding"), e.consume(h), e.exit("lineEnding"), ke(e, o, "linePrefix")) : (e.enter("chunkString", {
|
|
11262
11262
|
contentType: "string"
|
|
11263
11263
|
}), c(h));
|
|
11264
11264
|
}
|
|
11265
11265
|
function c(h) {
|
|
11266
|
-
return h === i || h === null ||
|
|
11266
|
+
return h === i || h === null || pe(h) ? (e.exit("chunkString"), o(h)) : (e.consume(h), h === 92 ? d : c);
|
|
11267
11267
|
}
|
|
11268
11268
|
function d(h) {
|
|
11269
11269
|
return h === i || h === 92 ? (e.consume(h), c) : c(h);
|
|
@@ -11273,7 +11273,7 @@ function Lt(e, t) {
|
|
|
11273
11273
|
let a;
|
|
11274
11274
|
return l;
|
|
11275
11275
|
function l(n) {
|
|
11276
|
-
return
|
|
11276
|
+
return pe(n) ? (e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"), a = !0, l) : _e(n) ? ke(e, l, a ? "linePrefix" : "lineSuffix")(n) : t(n);
|
|
11277
11277
|
}
|
|
11278
11278
|
}
|
|
11279
11279
|
const vb = {
|
|
@@ -11328,7 +11328,7 @@ function Eb(e, t, a) {
|
|
|
11328
11328
|
return _e(f) ? ke(e, h, "whitespace")(f) : h(f);
|
|
11329
11329
|
}
|
|
11330
11330
|
function h(f) {
|
|
11331
|
-
return f === null ||
|
|
11331
|
+
return f === null || pe(f) ? (e.exit("definition"), l.parser.defined.push(n), t(f)) : a(f);
|
|
11332
11332
|
}
|
|
11333
11333
|
}
|
|
11334
11334
|
function yb(e, t, a) {
|
|
@@ -11343,7 +11343,7 @@ function yb(e, t, a) {
|
|
|
11343
11343
|
return _e(s) ? ke(e, i, "whitespace")(s) : i(s);
|
|
11344
11344
|
}
|
|
11345
11345
|
function i(s) {
|
|
11346
|
-
return s === null ||
|
|
11346
|
+
return s === null || pe(s) ? t(s) : a(s);
|
|
11347
11347
|
}
|
|
11348
11348
|
}
|
|
11349
11349
|
const Tb = {
|
|
@@ -11356,7 +11356,7 @@ function xb(e, t, a) {
|
|
|
11356
11356
|
return e.enter("hardBreakEscape"), e.consume(r), n;
|
|
11357
11357
|
}
|
|
11358
11358
|
function n(r) {
|
|
11359
|
-
return
|
|
11359
|
+
return pe(r) ? (e.exit("hardBreakEscape"), t(r)) : a(r);
|
|
11360
11360
|
}
|
|
11361
11361
|
}
|
|
11362
11362
|
const Cb = {
|
|
@@ -11390,7 +11390,7 @@ function Sb(e, t, a) {
|
|
|
11390
11390
|
return c === 35 && l++ < 6 ? (e.consume(c), i) : c === null || Ue(c) ? (e.exit("atxHeadingSequence"), s(c)) : a(c);
|
|
11391
11391
|
}
|
|
11392
11392
|
function s(c) {
|
|
11393
|
-
return c === 35 ? (e.enter("atxHeadingSequence"), u(c)) : c === null ||
|
|
11393
|
+
return c === 35 ? (e.enter("atxHeadingSequence"), u(c)) : c === null || pe(c) ? (e.exit("atxHeading"), t(c)) : _e(c) ? ke(e, s, "whitespace")(c) : (e.enter("atxHeadingText"), o(c));
|
|
11394
11394
|
}
|
|
11395
11395
|
function u(c) {
|
|
11396
11396
|
return c === 35 ? (e.consume(c), u) : (e.exit("atxHeadingSequence"), s(c));
|
|
@@ -11532,7 +11532,7 @@ function Lb(e, t, a) {
|
|
|
11532
11532
|
return L === null || L === 60 || L === 61 || L === 62 || L === 96 ? a(L) : L === 34 || L === 39 ? (e.consume(L), u = L, k) : _e(L) ? (e.consume(L), S) : w(L);
|
|
11533
11533
|
}
|
|
11534
11534
|
function k(L) {
|
|
11535
|
-
return L === u ? (e.consume(L), u = null, A) : L === null ||
|
|
11535
|
+
return L === u ? (e.consume(L), u = null, A) : L === null || pe(L) ? a(L) : (e.consume(L), k);
|
|
11536
11536
|
}
|
|
11537
11537
|
function w(L) {
|
|
11538
11538
|
return L === null || L === 34 || L === 39 || L === 47 || L === 60 || L === 61 || L === 62 || L === 96 || Ue(L) ? C(L) : (e.consume(L), w);
|
|
@@ -11544,10 +11544,10 @@ function Lb(e, t, a) {
|
|
|
11544
11544
|
return L === 62 ? (e.consume(L), O) : a(L);
|
|
11545
11545
|
}
|
|
11546
11546
|
function O(L) {
|
|
11547
|
-
return L === null ||
|
|
11547
|
+
return L === null || pe(L) ? R(L) : _e(L) ? (e.consume(L), O) : a(L);
|
|
11548
11548
|
}
|
|
11549
11549
|
function R(L) {
|
|
11550
|
-
return L === 45 && n === 2 ? (e.consume(L), D) : L === 60 && n === 1 ? (e.consume(L), U) : L === 62 && n === 4 ? (e.consume(L), z) : L === 63 && n === 3 ? (e.consume(L), _) : L === 93 && n === 5 ? (e.consume(L), q) :
|
|
11550
|
+
return L === 45 && n === 2 ? (e.consume(L), D) : L === 60 && n === 1 ? (e.consume(L), U) : L === 62 && n === 4 ? (e.consume(L), z) : L === 63 && n === 3 ? (e.consume(L), _) : L === 93 && n === 5 ? (e.consume(L), q) : pe(L) && (n === 6 || n === 7) ? (e.exit("htmlFlowData"), e.check(kb, V, P)(L)) : L === null || pe(L) ? (e.exit("htmlFlowData"), P(L)) : (e.consume(L), R);
|
|
11551
11551
|
}
|
|
11552
11552
|
function P(L) {
|
|
11553
11553
|
return e.check(Nb, N, V)(L);
|
|
@@ -11556,7 +11556,7 @@ function Lb(e, t, a) {
|
|
|
11556
11556
|
return e.enter("lineEnding"), e.consume(L), e.exit("lineEnding"), x;
|
|
11557
11557
|
}
|
|
11558
11558
|
function x(L) {
|
|
11559
|
-
return L === null ||
|
|
11559
|
+
return L === null || pe(L) ? P(L) : (e.enter("htmlFlowData"), R(L));
|
|
11560
11560
|
}
|
|
11561
11561
|
function D(L) {
|
|
11562
11562
|
return L === 45 ? (e.consume(L), _) : R(L);
|
|
@@ -11578,7 +11578,7 @@ function Lb(e, t, a) {
|
|
|
11578
11578
|
return L === 62 ? (e.consume(L), z) : L === 45 && n === 2 ? (e.consume(L), _) : R(L);
|
|
11579
11579
|
}
|
|
11580
11580
|
function z(L) {
|
|
11581
|
-
return L === null ||
|
|
11581
|
+
return L === null || pe(L) ? (e.exit("htmlFlowData"), V(L)) : (e.consume(L), z);
|
|
11582
11582
|
}
|
|
11583
11583
|
function V(L) {
|
|
11584
11584
|
return e.exit("htmlFlow"), t(L);
|
|
@@ -11588,7 +11588,7 @@ function Ob(e, t, a) {
|
|
|
11588
11588
|
const l = this;
|
|
11589
11589
|
return n;
|
|
11590
11590
|
function n(i) {
|
|
11591
|
-
return
|
|
11591
|
+
return pe(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), r) : a(i);
|
|
11592
11592
|
}
|
|
11593
11593
|
function r(i) {
|
|
11594
11594
|
return l.parser.lazy[l.now().line] ? a(i) : t(i);
|
|
@@ -11621,7 +11621,7 @@ function Mb(e, t, a) {
|
|
|
11621
11621
|
return _ === 45 ? (e.consume(_), f) : a(_);
|
|
11622
11622
|
}
|
|
11623
11623
|
function d(_) {
|
|
11624
|
-
return _ === null ? a(_) : _ === 45 ? (e.consume(_), h) :
|
|
11624
|
+
return _ === null ? a(_) : _ === 45 ? (e.consume(_), h) : pe(_) ? (i = d, U(_)) : (e.consume(_), d);
|
|
11625
11625
|
}
|
|
11626
11626
|
function h(_) {
|
|
11627
11627
|
return _ === 45 ? (e.consume(_), f) : d(_);
|
|
@@ -11634,7 +11634,7 @@ function Mb(e, t, a) {
|
|
|
11634
11634
|
return _ === z.charCodeAt(r++) ? (e.consume(_), r === z.length ? E : y) : a(_);
|
|
11635
11635
|
}
|
|
11636
11636
|
function E(_) {
|
|
11637
|
-
return _ === null ? a(_) : _ === 93 ? (e.consume(_), v) :
|
|
11637
|
+
return _ === null ? a(_) : _ === 93 ? (e.consume(_), v) : pe(_) ? (i = E, U(_)) : (e.consume(_), E);
|
|
11638
11638
|
}
|
|
11639
11639
|
function v(_) {
|
|
11640
11640
|
return _ === 93 ? (e.consume(_), g) : E(_);
|
|
@@ -11643,10 +11643,10 @@ function Mb(e, t, a) {
|
|
|
11643
11643
|
return _ === 62 ? D(_) : _ === 93 ? (e.consume(_), g) : E(_);
|
|
11644
11644
|
}
|
|
11645
11645
|
function m(_) {
|
|
11646
|
-
return _ === null || _ === 62 ? D(_) :
|
|
11646
|
+
return _ === null || _ === 62 ? D(_) : pe(_) ? (i = m, U(_)) : (e.consume(_), m);
|
|
11647
11647
|
}
|
|
11648
11648
|
function b(_) {
|
|
11649
|
-
return _ === null ? a(_) : _ === 63 ? (e.consume(_), T) :
|
|
11649
|
+
return _ === null ? a(_) : _ === 63 ? (e.consume(_), T) : pe(_) ? (i = b, U(_)) : (e.consume(_), b);
|
|
11650
11650
|
}
|
|
11651
11651
|
function T(_) {
|
|
11652
11652
|
return _ === 62 ? D(_) : b(_);
|
|
@@ -11658,25 +11658,25 @@ function Mb(e, t, a) {
|
|
|
11658
11658
|
return _ === 45 || ct(_) ? (e.consume(_), S) : k(_);
|
|
11659
11659
|
}
|
|
11660
11660
|
function k(_) {
|
|
11661
|
-
return
|
|
11661
|
+
return pe(_) ? (i = k, U(_)) : _e(_) ? (e.consume(_), k) : D(_);
|
|
11662
11662
|
}
|
|
11663
11663
|
function w(_) {
|
|
11664
11664
|
return _ === 45 || ct(_) ? (e.consume(_), w) : _ === 47 || _ === 62 || Ue(_) ? A(_) : a(_);
|
|
11665
11665
|
}
|
|
11666
11666
|
function A(_) {
|
|
11667
|
-
return _ === 47 ? (e.consume(_), D) : _ === 58 || _ === 95 || xt(_) ? (e.consume(_), I) :
|
|
11667
|
+
return _ === 47 ? (e.consume(_), D) : _ === 58 || _ === 95 || xt(_) ? (e.consume(_), I) : pe(_) ? (i = A, U(_)) : _e(_) ? (e.consume(_), A) : D(_);
|
|
11668
11668
|
}
|
|
11669
11669
|
function I(_) {
|
|
11670
11670
|
return _ === 45 || _ === 46 || _ === 58 || _ === 95 || ct(_) ? (e.consume(_), I) : O(_);
|
|
11671
11671
|
}
|
|
11672
11672
|
function O(_) {
|
|
11673
|
-
return _ === 61 ? (e.consume(_), R) :
|
|
11673
|
+
return _ === 61 ? (e.consume(_), R) : pe(_) ? (i = O, U(_)) : _e(_) ? (e.consume(_), O) : A(_);
|
|
11674
11674
|
}
|
|
11675
11675
|
function R(_) {
|
|
11676
|
-
return _ === null || _ === 60 || _ === 61 || _ === 62 || _ === 96 ? a(_) : _ === 34 || _ === 39 ? (e.consume(_), n = _, P) :
|
|
11676
|
+
return _ === null || _ === 60 || _ === 61 || _ === 62 || _ === 96 ? a(_) : _ === 34 || _ === 39 ? (e.consume(_), n = _, P) : pe(_) ? (i = R, U(_)) : _e(_) ? (e.consume(_), R) : (e.consume(_), N);
|
|
11677
11677
|
}
|
|
11678
11678
|
function P(_) {
|
|
11679
|
-
return _ === n ? (e.consume(_), n = void 0, x) : _ === null ? a(_) :
|
|
11679
|
+
return _ === n ? (e.consume(_), n = void 0, x) : _ === null ? a(_) : pe(_) ? (i = P, U(_)) : (e.consume(_), P);
|
|
11680
11680
|
}
|
|
11681
11681
|
function N(_) {
|
|
11682
11682
|
return _ === null || _ === 34 || _ === 39 || _ === 60 || _ === 61 || _ === 96 ? a(_) : _ === 47 || _ === 62 || Ue(_) ? A(_) : (e.consume(_), N);
|
|
@@ -11895,7 +11895,7 @@ function Xb(e, t, a) {
|
|
|
11895
11895
|
return n = o, s(o);
|
|
11896
11896
|
}
|
|
11897
11897
|
function s(o) {
|
|
11898
|
-
return o === n ? (e.enter("thematicBreakSequence"), u(o)) : l >= 3 && (o === null ||
|
|
11898
|
+
return o === n ? (e.enter("thematicBreakSequence"), u(o)) : l >= 3 && (o === null || pe(o)) ? (e.exit("thematicBreak"), t(o)) : a(o);
|
|
11899
11899
|
}
|
|
11900
11900
|
function u(o) {
|
|
11901
11901
|
return o === n ? (e.consume(o), l++, u) : (e.exit("thematicBreakSequence"), _e(o) ? ke(e, s, "whitespace")(o) : s(o));
|
|
@@ -12033,7 +12033,7 @@ function rm(e, t, a) {
|
|
|
12033
12033
|
return o === n ? (e.consume(o), s) : (e.exit("setextHeadingLineSequence"), _e(o) ? ke(e, u, "lineSuffix")(o) : u(o));
|
|
12034
12034
|
}
|
|
12035
12035
|
function u(o) {
|
|
12036
|
-
return o === null ||
|
|
12036
|
+
return o === null || pe(o) ? (e.exit("setextHeadingLine"), t(o)) : a(o);
|
|
12037
12037
|
}
|
|
12038
12038
|
}
|
|
12039
12039
|
const im = {
|
|
@@ -12293,7 +12293,7 @@ function xm(e, t, a) {
|
|
|
12293
12293
|
c = c(O);
|
|
12294
12294
|
}
|
|
12295
12295
|
function m(O) {
|
|
12296
|
-
|
|
12296
|
+
pe(O) ? (l.line++, l.column = 1, l.offset += O === -3 ? 2 : 1, I()) : O !== -1 && (l.column++, l.offset++), l._bufferIndex < 0 ? l._index++ : (l._bufferIndex++, l._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
|
|
12297
12297
|
// strings.
|
|
12298
12298
|
/** @type {string} */
|
|
12299
12299
|
i[l._index].length && (l._bufferIndex = -1, l._index++)), o.previous = O;
|
|
@@ -12329,11 +12329,11 @@ function xm(e, t, a) {
|
|
|
12329
12329
|
function z(K) {
|
|
12330
12330
|
return Y;
|
|
12331
12331
|
function Y(Z) {
|
|
12332
|
-
const ue = Z !== null && K[Z],
|
|
12332
|
+
const ue = Z !== null && K[Z], he = Z !== null && K.null, ye = [
|
|
12333
12333
|
// To do: add more extension tests.
|
|
12334
12334
|
/* c8 ignore next 2 */
|
|
12335
12335
|
...Array.isArray(ue) ? ue : ue ? [ue] : [],
|
|
12336
|
-
...Array.isArray(
|
|
12336
|
+
...Array.isArray(he) ? he : he ? [he] : []
|
|
12337
12337
|
];
|
|
12338
12338
|
return V(ye)(Z);
|
|
12339
12339
|
}
|
|
@@ -12508,7 +12508,7 @@ function Im(e, t, a) {
|
|
|
12508
12508
|
const n = a.charCodeAt(1), r = n === 120 || n === 88;
|
|
12509
12509
|
return Ru(a.slice(r ? 2 : 1), r ? 16 : 10);
|
|
12510
12510
|
}
|
|
12511
|
-
return
|
|
12511
|
+
return nl(a) || e;
|
|
12512
12512
|
}
|
|
12513
12513
|
const Yu = {}.hasOwnProperty;
|
|
12514
12514
|
function Lm(e, t, a) {
|
|
@@ -12523,7 +12523,7 @@ function Om(e) {
|
|
|
12523
12523
|
autolinkProtocol: A,
|
|
12524
12524
|
autolinkEmail: A,
|
|
12525
12525
|
atxHeading: r(Ve),
|
|
12526
|
-
blockQuote: r(
|
|
12526
|
+
blockQuote: r(he),
|
|
12527
12527
|
characterEscape: A,
|
|
12528
12528
|
characterReference: A,
|
|
12529
12529
|
codeFenced: r(ye),
|
|
@@ -12552,14 +12552,14 @@ function Om(e) {
|
|
|
12552
12552
|
listItemValue: h,
|
|
12553
12553
|
listOrdered: r(_t, d),
|
|
12554
12554
|
listUnordered: r(_t),
|
|
12555
|
-
paragraph: r(
|
|
12555
|
+
paragraph: r(Ca),
|
|
12556
12556
|
reference: L,
|
|
12557
12557
|
referenceString: i,
|
|
12558
12558
|
resourceDestinationString: i,
|
|
12559
12559
|
resourceTitleString: i,
|
|
12560
12560
|
setextHeading: r(Ve),
|
|
12561
12561
|
strong: r(Ne),
|
|
12562
|
-
thematicBreak: r(
|
|
12562
|
+
thematicBreak: r(Aa)
|
|
12563
12563
|
},
|
|
12564
12564
|
exit: {
|
|
12565
12565
|
atxHeading: u(),
|
|
@@ -12744,7 +12744,7 @@ function Om(e) {
|
|
|
12744
12744
|
const xe = this.stack.pop(), Ae = this.tokenStack.pop();
|
|
12745
12745
|
if (Ae)
|
|
12746
12746
|
Ae[0].type !== J.type && (ie ? ie.call(this, J, Ae[0]) : (Ae[1] || Qi).call(this, J, Ae[0]));
|
|
12747
|
-
else throw new Error("Cannot close `" + J.type + "` (" +
|
|
12747
|
+
else throw new Error("Cannot close `" + J.type + "` (" + Ya({
|
|
12748
12748
|
start: J.start,
|
|
12749
12749
|
end: J.end
|
|
12750
12750
|
}) + "): it’s not open");
|
|
@@ -12901,7 +12901,7 @@ function Om(e) {
|
|
|
12901
12901
|
function K(J) {
|
|
12902
12902
|
const ie = this.sliceSerialize(J), xe = this.data.characterReferenceType;
|
|
12903
12903
|
let Ae;
|
|
12904
|
-
xe ? (Ae = Ru(ie, xe === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : Ae =
|
|
12904
|
+
xe ? (Ae = Ru(ie, xe === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : Ae = nl(ie);
|
|
12905
12905
|
const Ie = this.stack[this.stack.length - 1];
|
|
12906
12906
|
Ie.value += Ae;
|
|
12907
12907
|
}
|
|
@@ -12919,7 +12919,7 @@ function Om(e) {
|
|
|
12919
12919
|
const ie = this.stack[this.stack.length - 1];
|
|
12920
12920
|
ie.url = "mailto:" + this.sliceSerialize(J);
|
|
12921
12921
|
}
|
|
12922
|
-
function
|
|
12922
|
+
function he() {
|
|
12923
12923
|
return {
|
|
12924
12924
|
type: "blockquote",
|
|
12925
12925
|
children: []
|
|
@@ -13006,7 +13006,7 @@ function Om(e) {
|
|
|
13006
13006
|
children: []
|
|
13007
13007
|
};
|
|
13008
13008
|
}
|
|
13009
|
-
function
|
|
13009
|
+
function Ca() {
|
|
13010
13010
|
return {
|
|
13011
13011
|
type: "paragraph",
|
|
13012
13012
|
children: []
|
|
@@ -13024,7 +13024,7 @@ function Om(e) {
|
|
|
13024
13024
|
value: ""
|
|
13025
13025
|
};
|
|
13026
13026
|
}
|
|
13027
|
-
function
|
|
13027
|
+
function Aa() {
|
|
13028
13028
|
return {
|
|
13029
13029
|
type: "thematicBreak"
|
|
13030
13030
|
};
|
|
@@ -13068,13 +13068,13 @@ function Dm(e, t) {
|
|
|
13068
13068
|
}
|
|
13069
13069
|
}
|
|
13070
13070
|
function Qi(e, t) {
|
|
13071
|
-
throw e ? new Error("Cannot close `" + e.type + "` (" +
|
|
13071
|
+
throw e ? new Error("Cannot close `" + e.type + "` (" + Ya({
|
|
13072
13072
|
start: e.start,
|
|
13073
13073
|
end: e.end
|
|
13074
|
-
}) + "): a different token (`" + t.type + "`, " +
|
|
13074
|
+
}) + "): a different token (`" + t.type + "`, " + Ya({
|
|
13075
13075
|
start: t.start,
|
|
13076
13076
|
end: t.end
|
|
13077
|
-
}) + ") is open") : new Error("Cannot close document, a token (`" + t.type + "`, " +
|
|
13077
|
+
}) + ") is open") : new Error("Cannot close document, a token (`" + t.type + "`, " + Ya({
|
|
13078
13078
|
start: t.start,
|
|
13079
13079
|
end: t.end
|
|
13080
13080
|
}) + ") is still open");
|
|
@@ -13139,7 +13139,7 @@ function Hm(e, t) {
|
|
|
13139
13139
|
return e.patch(t, a), e.applyData(t, a);
|
|
13140
13140
|
}
|
|
13141
13141
|
function $m(e, t) {
|
|
13142
|
-
const a = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", l = String(t.identifier).toUpperCase(), n =
|
|
13142
|
+
const a = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", l = String(t.identifier).toUpperCase(), n = Ea(l.toLowerCase()), r = e.footnoteOrder.indexOf(l);
|
|
13143
13143
|
let i, s = e.footnoteCounts.get(l);
|
|
13144
13144
|
s === void 0 ? (s = 0, e.footnoteOrder.push(l), i = e.footnoteOrder.length) : i = r + 1, s += 1, e.footnoteCounts.set(l, s);
|
|
13145
13145
|
const u = {
|
|
@@ -13191,13 +13191,13 @@ function zm(e, t) {
|
|
|
13191
13191
|
const a = String(t.identifier).toUpperCase(), l = e.definitionById.get(a);
|
|
13192
13192
|
if (!l)
|
|
13193
13193
|
return ju(e, t);
|
|
13194
|
-
const n = { src:
|
|
13194
|
+
const n = { src: Ea(l.url || ""), alt: t.alt };
|
|
13195
13195
|
l.title !== null && l.title !== void 0 && (n.title = l.title);
|
|
13196
13196
|
const r = { type: "element", tagName: "img", properties: n, children: [] };
|
|
13197
13197
|
return e.patch(t, r), e.applyData(t, r);
|
|
13198
13198
|
}
|
|
13199
13199
|
function Vm(e, t) {
|
|
13200
|
-
const a = { src:
|
|
13200
|
+
const a = { src: Ea(t.url) };
|
|
13201
13201
|
t.alt !== null && t.alt !== void 0 && (a.alt = t.alt), t.title !== null && t.title !== void 0 && (a.title = t.title);
|
|
13202
13202
|
const l = { type: "element", tagName: "img", properties: a, children: [] };
|
|
13203
13203
|
return e.patch(t, l), e.applyData(t, l);
|
|
@@ -13217,7 +13217,7 @@ function Ym(e, t) {
|
|
|
13217
13217
|
const a = String(t.identifier).toUpperCase(), l = e.definitionById.get(a);
|
|
13218
13218
|
if (!l)
|
|
13219
13219
|
return ju(e, t);
|
|
13220
|
-
const n = { href:
|
|
13220
|
+
const n = { href: Ea(l.url || "") };
|
|
13221
13221
|
l.title !== null && l.title !== void 0 && (n.title = l.title);
|
|
13222
13222
|
const r = {
|
|
13223
13223
|
type: "element",
|
|
@@ -13228,7 +13228,7 @@ function Ym(e, t) {
|
|
|
13228
13228
|
return e.patch(t, r), e.applyData(t, r);
|
|
13229
13229
|
}
|
|
13230
13230
|
function Wm(e, t) {
|
|
13231
|
-
const a = { href:
|
|
13231
|
+
const a = { href: Ea(t.url) };
|
|
13232
13232
|
t.title !== null && t.title !== void 0 && (a.title = t.title);
|
|
13233
13233
|
const l = {
|
|
13234
13234
|
type: "element",
|
|
@@ -13444,7 +13444,7 @@ const i0 = {
|
|
|
13444
13444
|
};
|
|
13445
13445
|
function Cl() {
|
|
13446
13446
|
}
|
|
13447
|
-
const Xu = -1, Xl = 0,
|
|
13447
|
+
const Xu = -1, Xl = 0, Wa = 1, zl = 2, Lr = 3, Or = 4, Dr = 5, Pr = 6, Qu = 7, Ju = 8, ts = typeof self == "object" ? self : globalThis, s0 = (e, t) => {
|
|
13448
13448
|
const a = (n, r) => (e.set(r, n), n), l = (n) => {
|
|
13449
13449
|
if (e.has(n))
|
|
13450
13450
|
return e.get(n);
|
|
@@ -13453,7 +13453,7 @@ const Xu = -1, Xl = 0, ja = 1, zl = 2, Lr = 3, Or = 4, Dr = 5, Pr = 6, Qu = 7, J
|
|
|
13453
13453
|
case Xl:
|
|
13454
13454
|
case Xu:
|
|
13455
13455
|
return a(i, n);
|
|
13456
|
-
case
|
|
13456
|
+
case Wa: {
|
|
13457
13457
|
const s = a([], n);
|
|
13458
13458
|
for (const u of i)
|
|
13459
13459
|
s.push(l(u));
|
|
@@ -13501,14 +13501,14 @@ const Xu = -1, Xl = 0, ja = 1, zl = 2, Lr = 3, Or = 4, Dr = 5, Pr = 6, Qu = 7, J
|
|
|
13501
13501
|
return a(new ts[r](i), n);
|
|
13502
13502
|
};
|
|
13503
13503
|
return l;
|
|
13504
|
-
}, as = (e) => s0(/* @__PURE__ */ new Map(), e)(0), ca = "", { toString: u0 } = {}, { keys: o0 } = Object,
|
|
13504
|
+
}, as = (e) => s0(/* @__PURE__ */ new Map(), e)(0), ca = "", { toString: u0 } = {}, { keys: o0 } = Object, Ha = (e) => {
|
|
13505
13505
|
const t = typeof e;
|
|
13506
13506
|
if (t !== "object" || !e)
|
|
13507
13507
|
return [Xl, t];
|
|
13508
13508
|
const a = u0.call(e).slice(8, -1);
|
|
13509
13509
|
switch (a) {
|
|
13510
13510
|
case "Array":
|
|
13511
|
-
return [
|
|
13511
|
+
return [Wa, ca];
|
|
13512
13512
|
case "Object":
|
|
13513
13513
|
return [zl, ca];
|
|
13514
13514
|
case "Date":
|
|
@@ -13520,9 +13520,9 @@ const Xu = -1, Xl = 0, ja = 1, zl = 2, Lr = 3, Or = 4, Dr = 5, Pr = 6, Qu = 7, J
|
|
|
13520
13520
|
case "Set":
|
|
13521
13521
|
return [Pr, ca];
|
|
13522
13522
|
case "DataView":
|
|
13523
|
-
return [
|
|
13523
|
+
return [Wa, a];
|
|
13524
13524
|
}
|
|
13525
|
-
return a.includes("Array") ? [
|
|
13525
|
+
return a.includes("Array") ? [Wa, a] : a.includes("Error") ? [Qu, a] : [zl, a];
|
|
13526
13526
|
}, Al = ([e, t]) => e === Xl && (t === "function" || t === "symbol"), c0 = (e, t, a, l) => {
|
|
13527
13527
|
const n = (i, s) => {
|
|
13528
13528
|
const u = l.push(i) - 1;
|
|
@@ -13530,7 +13530,7 @@ const Xu = -1, Xl = 0, ja = 1, zl = 2, Lr = 3, Or = 4, Dr = 5, Pr = 6, Qu = 7, J
|
|
|
13530
13530
|
}, r = (i) => {
|
|
13531
13531
|
if (a.has(i))
|
|
13532
13532
|
return a.get(i);
|
|
13533
|
-
let [s, u] =
|
|
13533
|
+
let [s, u] = Ha(i);
|
|
13534
13534
|
switch (s) {
|
|
13535
13535
|
case Xl: {
|
|
13536
13536
|
let c = i;
|
|
@@ -13549,7 +13549,7 @@ const Xu = -1, Xl = 0, ja = 1, zl = 2, Lr = 3, Or = 4, Dr = 5, Pr = 6, Qu = 7, J
|
|
|
13549
13549
|
}
|
|
13550
13550
|
return n([s, c], i);
|
|
13551
13551
|
}
|
|
13552
|
-
case
|
|
13552
|
+
case Wa: {
|
|
13553
13553
|
if (u) {
|
|
13554
13554
|
let h = i;
|
|
13555
13555
|
return u === "DataView" ? h = new Uint8Array(i.buffer) : u === "ArrayBuffer" && (h = new Uint8Array(i)), n([u, [...h]], i);
|
|
@@ -13573,7 +13573,7 @@ const Xu = -1, Xl = 0, ja = 1, zl = 2, Lr = 3, Or = 4, Dr = 5, Pr = 6, Qu = 7, J
|
|
|
13573
13573
|
return r(i.toJSON());
|
|
13574
13574
|
const c = [], d = n([s, c], i);
|
|
13575
13575
|
for (const h of o0(i))
|
|
13576
|
-
(e || !Al(
|
|
13576
|
+
(e || !Al(Ha(i[h]))) && c.push([r(h), r(i[h])]);
|
|
13577
13577
|
return d;
|
|
13578
13578
|
}
|
|
13579
13579
|
case Lr:
|
|
@@ -13585,13 +13585,13 @@ const Xu = -1, Xl = 0, ja = 1, zl = 2, Lr = 3, Or = 4, Dr = 5, Pr = 6, Qu = 7, J
|
|
|
13585
13585
|
case Dr: {
|
|
13586
13586
|
const c = [], d = n([s, c], i);
|
|
13587
13587
|
for (const [h, f] of i)
|
|
13588
|
-
(e || !(Al(
|
|
13588
|
+
(e || !(Al(Ha(h)) || Al(Ha(f)))) && c.push([r(h), r(f)]);
|
|
13589
13589
|
return d;
|
|
13590
13590
|
}
|
|
13591
13591
|
case Pr: {
|
|
13592
13592
|
const c = [], d = n([s, c], i);
|
|
13593
13593
|
for (const h of i)
|
|
13594
|
-
(e || !Al(
|
|
13594
|
+
(e || !Al(Ha(h))) && c.push(r(h));
|
|
13595
13595
|
return d;
|
|
13596
13596
|
}
|
|
13597
13597
|
}
|
|
@@ -13629,7 +13629,7 @@ function p0(e) {
|
|
|
13629
13629
|
);
|
|
13630
13630
|
if (!o)
|
|
13631
13631
|
continue;
|
|
13632
|
-
const c = e.all(o), d = String(o.identifier).toUpperCase(), h =
|
|
13632
|
+
const c = e.all(o), d = String(o.identifier).toUpperCase(), h = Ea(d.toLowerCase());
|
|
13633
13633
|
let f = 0;
|
|
13634
13634
|
const y = [], E = e.footnoteCounts.get(d);
|
|
13635
13635
|
for (; E !== void 0 && ++f <= E; ) {
|
|
@@ -15198,11 +15198,11 @@ function av(e, t) {
|
|
|
15198
15198
|
for (const c of J0)
|
|
15199
15199
|
Object.hasOwn(t, c.from) && ("" + c.from + (c.to ? "use `" + c.to + "` instead" : "remove it") + X0 + c.id, void 0);
|
|
15200
15200
|
return Jl(e, o), bh(e, {
|
|
15201
|
-
Fragment:
|
|
15201
|
+
Fragment: ol,
|
|
15202
15202
|
components: n,
|
|
15203
15203
|
ignoreInvalidStyle: !0,
|
|
15204
15204
|
jsx: G,
|
|
15205
|
-
jsxs:
|
|
15205
|
+
jsxs: fe,
|
|
15206
15206
|
passKeys: !0,
|
|
15207
15207
|
passNode: !0
|
|
15208
15208
|
});
|
|
@@ -15337,7 +15337,7 @@ function bs(e, t, a) {
|
|
|
15337
15337
|
if (typeof a == "string") {
|
|
15338
15338
|
if (e.number && a && !Number.isNaN(Number(a)))
|
|
15339
15339
|
return Number(a);
|
|
15340
|
-
if ((e.boolean || e.overloadedBoolean) && (a === "" ||
|
|
15340
|
+
if ((e.boolean || e.overloadedBoolean) && (a === "" || al(a) === al(t)))
|
|
15341
15341
|
return !0;
|
|
15342
15342
|
}
|
|
15343
15343
|
return a;
|
|
@@ -15604,11 +15604,11 @@ function yv(e, t) {
|
|
|
15604
15604
|
mode: (e.data || {}).quirksMode ? "quirks" : "no-quirks",
|
|
15605
15605
|
childNodes: []
|
|
15606
15606
|
};
|
|
15607
|
-
return a.childNodes = Br(e.children, a, t),
|
|
15607
|
+
return a.childNodes = Br(e.children, a, t), ya(e, a), a;
|
|
15608
15608
|
}
|
|
15609
15609
|
function Tv(e, t) {
|
|
15610
15610
|
const a = { nodeName: "#document-fragment", childNodes: [] };
|
|
15611
|
-
return a.childNodes = Br(e.children, a, t),
|
|
15611
|
+
return a.childNodes = Br(e.children, a, t), ya(e, a), a;
|
|
15612
15612
|
}
|
|
15613
15613
|
function xv(e) {
|
|
15614
15614
|
const t = {
|
|
@@ -15618,7 +15618,7 @@ function xv(e) {
|
|
|
15618
15618
|
systemId: "",
|
|
15619
15619
|
parentNode: null
|
|
15620
15620
|
};
|
|
15621
|
-
return
|
|
15621
|
+
return ya(e, t), t;
|
|
15622
15622
|
}
|
|
15623
15623
|
function Cv(e) {
|
|
15624
15624
|
const t = {
|
|
@@ -15626,7 +15626,7 @@ function Cv(e) {
|
|
|
15626
15626
|
value: e.value,
|
|
15627
15627
|
parentNode: null
|
|
15628
15628
|
};
|
|
15629
|
-
return
|
|
15629
|
+
return ya(e, t), t;
|
|
15630
15630
|
}
|
|
15631
15631
|
function Av(e) {
|
|
15632
15632
|
const t = {
|
|
@@ -15634,7 +15634,7 @@ function Av(e) {
|
|
|
15634
15634
|
data: e.value,
|
|
15635
15635
|
parentNode: null
|
|
15636
15636
|
};
|
|
15637
|
-
return
|
|
15637
|
+
return ya(e, t), t;
|
|
15638
15638
|
}
|
|
15639
15639
|
function Sv(e, t) {
|
|
15640
15640
|
const a = t;
|
|
@@ -15662,7 +15662,7 @@ function Sv(e, t) {
|
|
|
15662
15662
|
childNodes: [],
|
|
15663
15663
|
parentNode: null
|
|
15664
15664
|
};
|
|
15665
|
-
return s.childNodes = Br(e.children, s, l),
|
|
15665
|
+
return s.childNodes = Br(e.children, s, l), ya(e, s), e.tagName === "template" && e.content && (s.content = Tv(e.content, l)), s;
|
|
15666
15666
|
}
|
|
15667
15667
|
function wv(e, t, a) {
|
|
15668
15668
|
const l = Wl(e, t);
|
|
@@ -15689,7 +15689,7 @@ function Br(e, t, a) {
|
|
|
15689
15689
|
}
|
|
15690
15690
|
return n;
|
|
15691
15691
|
}
|
|
15692
|
-
function
|
|
15692
|
+
function ya(e, t) {
|
|
15693
15693
|
const a = e.position;
|
|
15694
15694
|
a && a.start && a.end && (a.start.offset, a.end.offset, t.sourceCodeLocation = {
|
|
15695
15695
|
startLine: a.start.line,
|
|
@@ -16301,7 +16301,7 @@ const qv = /* @__PURE__ */ new Map([
|
|
|
16301
16301
|
[W.WBR, p.WBR],
|
|
16302
16302
|
[W.XMP, p.XMP]
|
|
16303
16303
|
]);
|
|
16304
|
-
function
|
|
16304
|
+
function Ta(e) {
|
|
16305
16305
|
var t;
|
|
16306
16306
|
return (t = qv.get(e)) !== null && t !== void 0 ? t : p.UNKNOWN;
|
|
16307
16307
|
}
|
|
@@ -16411,14 +16411,14 @@ const qe = {
|
|
|
16411
16411
|
function Vv(e) {
|
|
16412
16412
|
return e >= M.DIGIT_0 && e <= M.DIGIT_9;
|
|
16413
16413
|
}
|
|
16414
|
-
function
|
|
16414
|
+
function qa(e) {
|
|
16415
16415
|
return e >= M.LATIN_CAPITAL_A && e <= M.LATIN_CAPITAL_Z;
|
|
16416
16416
|
}
|
|
16417
16417
|
function Gv(e) {
|
|
16418
16418
|
return e >= M.LATIN_SMALL_A && e <= M.LATIN_SMALL_Z;
|
|
16419
16419
|
}
|
|
16420
16420
|
function Ft(e) {
|
|
16421
|
-
return Gv(e) ||
|
|
16421
|
+
return Gv(e) || qa(e);
|
|
16422
16422
|
}
|
|
16423
16423
|
function Es(e) {
|
|
16424
16424
|
return Ft(e) || Vv(e);
|
|
@@ -16583,7 +16583,7 @@ class Wv {
|
|
|
16583
16583
|
}
|
|
16584
16584
|
emitCurrentTagToken() {
|
|
16585
16585
|
const t = this.currentToken;
|
|
16586
|
-
this.prepareToken(t), t.tagID =
|
|
16586
|
+
this.prepareToken(t), t.tagID = Ta(t.tagName), t.type === Se.START_TAG ? (this.lastStartTagName = t.tagName, this.handler.onStartTag(t)) : (t.attrs.length > 0 && this._err(Q.endTagWithAttributes), t.selfClosing && this._err(Q.endTagWithTrailingSolidus), this.handler.onEndTag(t)), this.preprocessor.dropParsedChunk();
|
|
16587
16587
|
}
|
|
16588
16588
|
emitCurrentComment(t) {
|
|
16589
16589
|
this.prepareToken(t), this.handler.onComment(t), this.preprocessor.dropParsedChunk();
|
|
@@ -17130,7 +17130,7 @@ class Wv {
|
|
|
17130
17130
|
break;
|
|
17131
17131
|
}
|
|
17132
17132
|
default:
|
|
17133
|
-
a.tagName += String.fromCodePoint(
|
|
17133
|
+
a.tagName += String.fromCodePoint(qa(t) ? wl(t) : t);
|
|
17134
17134
|
}
|
|
17135
17135
|
}
|
|
17136
17136
|
// RCDATA less-than sign state
|
|
@@ -17462,7 +17462,7 @@ class Wv {
|
|
|
17462
17462
|
break;
|
|
17463
17463
|
}
|
|
17464
17464
|
default:
|
|
17465
|
-
this.currentAttr.name += String.fromCodePoint(
|
|
17465
|
+
this.currentAttr.name += String.fromCodePoint(qa(t) ? wl(t) : t);
|
|
17466
17466
|
}
|
|
17467
17467
|
}
|
|
17468
17468
|
// After attribute name state
|
|
@@ -17863,7 +17863,7 @@ class Wv {
|
|
|
17863
17863
|
// Before DOCTYPE name state
|
|
17864
17864
|
//------------------------------------------------------------------
|
|
17865
17865
|
_stateBeforeDoctypeName(t) {
|
|
17866
|
-
if (
|
|
17866
|
+
if (qa(t))
|
|
17867
17867
|
this._createDoctypeToken(String.fromCharCode(wl(t))), this.state = B.DOCTYPE_NAME;
|
|
17868
17868
|
else
|
|
17869
17869
|
switch (t) {
|
|
@@ -17917,7 +17917,7 @@ class Wv {
|
|
|
17917
17917
|
break;
|
|
17918
17918
|
}
|
|
17919
17919
|
default:
|
|
17920
|
-
a.name += String.fromCodePoint(
|
|
17920
|
+
a.name += String.fromCodePoint(qa(t) ? wl(t) : t);
|
|
17921
17921
|
}
|
|
17922
17922
|
}
|
|
17923
17923
|
// After DOCTYPE name state
|
|
@@ -19074,7 +19074,7 @@ function Fr(e) {
|
|
|
19074
19074
|
}
|
|
19075
19075
|
function mg(e) {
|
|
19076
19076
|
const t = pg.get(e.tagName);
|
|
19077
|
-
t != null && (e.tagName = t, e.tagID =
|
|
19077
|
+
t != null && (e.tagName = t, e.tagID = Ta(e.tagName));
|
|
19078
19078
|
}
|
|
19079
19079
|
function vg(e, t) {
|
|
19080
19080
|
return t === te.MATHML && (e === p.MI || e === p.MO || e === p.MN || e === p.MS || e === p.MTEXT);
|
|
@@ -19115,7 +19115,7 @@ class ks {
|
|
|
19115
19115
|
this.fragmentContext = l, this.scriptHandler = n, this.currentToken = null, this.stopped = !1, this.insertionMode = $.INITIAL, this.originalInsertionMode = $.INITIAL, this.headElement = null, this.formElement = null, this.currentNotInHTML = !1, this.tmplInsertionModeStack = [], this.pendingCharacterTokens = [], this.hasNonWhitespacePendingCharacterToken = !1, this.framesetOk = !0, this.skipNextNewLine = !1, this.fosterParentingEnabled = !1, this.options = {
|
|
19116
19116
|
..._s,
|
|
19117
19117
|
...t
|
|
19118
|
-
}, this.treeAdapter = this.options.treeAdapter, this.onParseError = this.options.onParseError, this.onParseError && (this.options.sourceCodeLocationInfo = !0), this.document = a ?? this.treeAdapter.createDocument(), this.tokenizer = new Wv(this.options, this), this.activeFormattingElements = new tg(this.treeAdapter), this.fragmentContextID = l ?
|
|
19118
|
+
}, this.treeAdapter = this.options.treeAdapter, this.onParseError = this.options.onParseError, this.onParseError && (this.options.sourceCodeLocationInfo = !0), this.document = a ?? this.treeAdapter.createDocument(), this.tokenizer = new Wv(this.options, this), this.activeFormattingElements = new tg(this.treeAdapter), this.fragmentContextID = l ? Ta(this.treeAdapter.getTagName(l)) : p.UNKNOWN, this._setContextModes(l ?? this.document, this.fragmentContextID), this.openElements = new eg(this.document, this.treeAdapter, this);
|
|
19119
19119
|
}
|
|
19120
19120
|
// API
|
|
19121
19121
|
static parse(t, a) {
|
|
@@ -19516,27 +19516,27 @@ class ks {
|
|
|
19516
19516
|
}
|
|
19517
19517
|
switch (this.insertionMode) {
|
|
19518
19518
|
case $.INITIAL: {
|
|
19519
|
-
|
|
19519
|
+
$a(this, t);
|
|
19520
19520
|
break;
|
|
19521
19521
|
}
|
|
19522
19522
|
case $.BEFORE_HTML: {
|
|
19523
|
-
|
|
19523
|
+
ja(this, t);
|
|
19524
19524
|
break;
|
|
19525
19525
|
}
|
|
19526
19526
|
case $.BEFORE_HEAD: {
|
|
19527
|
-
|
|
19527
|
+
Ka(this, t);
|
|
19528
19528
|
break;
|
|
19529
19529
|
}
|
|
19530
19530
|
case $.IN_HEAD: {
|
|
19531
|
-
|
|
19531
|
+
Xa(this, t);
|
|
19532
19532
|
break;
|
|
19533
19533
|
}
|
|
19534
19534
|
case $.IN_HEAD_NO_SCRIPT: {
|
|
19535
|
-
|
|
19535
|
+
Qa(this, t);
|
|
19536
19536
|
break;
|
|
19537
19537
|
}
|
|
19538
19538
|
case $.AFTER_HEAD: {
|
|
19539
|
-
|
|
19539
|
+
Ja(this, t);
|
|
19540
19540
|
break;
|
|
19541
19541
|
}
|
|
19542
19542
|
case $.IN_BODY:
|
|
@@ -19584,27 +19584,27 @@ class ks {
|
|
|
19584
19584
|
}
|
|
19585
19585
|
switch (this.insertionMode) {
|
|
19586
19586
|
case $.INITIAL: {
|
|
19587
|
-
|
|
19587
|
+
$a(this, t);
|
|
19588
19588
|
break;
|
|
19589
19589
|
}
|
|
19590
19590
|
case $.BEFORE_HTML: {
|
|
19591
|
-
|
|
19591
|
+
ja(this, t);
|
|
19592
19592
|
break;
|
|
19593
19593
|
}
|
|
19594
19594
|
case $.BEFORE_HEAD: {
|
|
19595
|
-
|
|
19595
|
+
Ka(this, t);
|
|
19596
19596
|
break;
|
|
19597
19597
|
}
|
|
19598
19598
|
case $.IN_HEAD: {
|
|
19599
|
-
|
|
19599
|
+
Xa(this, t);
|
|
19600
19600
|
break;
|
|
19601
19601
|
}
|
|
19602
19602
|
case $.IN_HEAD_NO_SCRIPT: {
|
|
19603
|
-
|
|
19603
|
+
Qa(this, t);
|
|
19604
19604
|
break;
|
|
19605
19605
|
}
|
|
19606
19606
|
case $.AFTER_HEAD: {
|
|
19607
|
-
|
|
19607
|
+
Ja(this, t);
|
|
19608
19608
|
break;
|
|
19609
19609
|
}
|
|
19610
19610
|
case $.TEXT: {
|
|
@@ -19660,7 +19660,7 @@ class ks {
|
|
|
19660
19660
|
break;
|
|
19661
19661
|
}
|
|
19662
19662
|
case $.IN_TABLE_TEXT: {
|
|
19663
|
-
|
|
19663
|
+
Ua(this, t);
|
|
19664
19664
|
break;
|
|
19665
19665
|
}
|
|
19666
19666
|
case $.AFTER_BODY: {
|
|
@@ -19689,7 +19689,7 @@ class ks {
|
|
|
19689
19689
|
break;
|
|
19690
19690
|
}
|
|
19691
19691
|
case $.IN_TABLE_TEXT: {
|
|
19692
|
-
|
|
19692
|
+
Ua(this, t);
|
|
19693
19693
|
break;
|
|
19694
19694
|
}
|
|
19695
19695
|
}
|
|
@@ -19716,7 +19716,7 @@ class ks {
|
|
|
19716
19716
|
_startTagOutsideForeignContent(t) {
|
|
19717
19717
|
switch (this.insertionMode) {
|
|
19718
19718
|
case $.INITIAL: {
|
|
19719
|
-
|
|
19719
|
+
$a(this, t);
|
|
19720
19720
|
break;
|
|
19721
19721
|
}
|
|
19722
19722
|
case $.BEFORE_HTML: {
|
|
@@ -19748,7 +19748,7 @@ class ks {
|
|
|
19748
19748
|
break;
|
|
19749
19749
|
}
|
|
19750
19750
|
case $.IN_TABLE_TEXT: {
|
|
19751
|
-
|
|
19751
|
+
Ua(this, t);
|
|
19752
19752
|
break;
|
|
19753
19753
|
}
|
|
19754
19754
|
case $.IN_CAPTION: {
|
|
@@ -19813,7 +19813,7 @@ class ks {
|
|
|
19813
19813
|
_endTagOutsideForeignContent(t) {
|
|
19814
19814
|
switch (this.insertionMode) {
|
|
19815
19815
|
case $.INITIAL: {
|
|
19816
|
-
|
|
19816
|
+
$a(this, t);
|
|
19817
19817
|
break;
|
|
19818
19818
|
}
|
|
19819
19819
|
case $.BEFORE_HTML: {
|
|
@@ -19845,11 +19845,11 @@ class ks {
|
|
|
19845
19845
|
break;
|
|
19846
19846
|
}
|
|
19847
19847
|
case $.IN_TABLE: {
|
|
19848
|
-
|
|
19848
|
+
sl(this, t);
|
|
19849
19849
|
break;
|
|
19850
19850
|
}
|
|
19851
19851
|
case $.IN_TABLE_TEXT: {
|
|
19852
|
-
|
|
19852
|
+
Ua(this, t);
|
|
19853
19853
|
break;
|
|
19854
19854
|
}
|
|
19855
19855
|
case $.IN_CAPTION: {
|
|
@@ -19906,27 +19906,27 @@ class ks {
|
|
|
19906
19906
|
onEof(t) {
|
|
19907
19907
|
switch (this.insertionMode) {
|
|
19908
19908
|
case $.INITIAL: {
|
|
19909
|
-
|
|
19909
|
+
$a(this, t);
|
|
19910
19910
|
break;
|
|
19911
19911
|
}
|
|
19912
19912
|
case $.BEFORE_HTML: {
|
|
19913
|
-
|
|
19913
|
+
ja(this, t);
|
|
19914
19914
|
break;
|
|
19915
19915
|
}
|
|
19916
19916
|
case $.BEFORE_HEAD: {
|
|
19917
|
-
|
|
19917
|
+
Ka(this, t);
|
|
19918
19918
|
break;
|
|
19919
19919
|
}
|
|
19920
19920
|
case $.IN_HEAD: {
|
|
19921
|
-
|
|
19921
|
+
Xa(this, t);
|
|
19922
19922
|
break;
|
|
19923
19923
|
}
|
|
19924
19924
|
case $.IN_HEAD_NO_SCRIPT: {
|
|
19925
|
-
|
|
19925
|
+
Qa(this, t);
|
|
19926
19926
|
break;
|
|
19927
19927
|
}
|
|
19928
19928
|
case $.AFTER_HEAD: {
|
|
19929
|
-
|
|
19929
|
+
Ja(this, t);
|
|
19930
19930
|
break;
|
|
19931
19931
|
}
|
|
19932
19932
|
case $.IN_BODY:
|
|
@@ -19946,7 +19946,7 @@ class ks {
|
|
|
19946
19946
|
break;
|
|
19947
19947
|
}
|
|
19948
19948
|
case $.IN_TABLE_TEXT: {
|
|
19949
|
-
|
|
19949
|
+
Ua(this, t);
|
|
19950
19950
|
break;
|
|
19951
19951
|
}
|
|
19952
19952
|
case $.IN_TEMPLATE: {
|
|
@@ -20038,7 +20038,7 @@ function _g(e, t) {
|
|
|
20038
20038
|
return e.openElements.replace(t.element, l), t.element = l, l;
|
|
20039
20039
|
}
|
|
20040
20040
|
function kg(e, t, a) {
|
|
20041
|
-
const l = e.treeAdapter.getTagName(t), n =
|
|
20041
|
+
const l = e.treeAdapter.getTagName(t), n = Ta(l);
|
|
20042
20042
|
if (e._isElementCausesFosterParenting(n))
|
|
20043
20043
|
e._fosterParentElement(a);
|
|
20044
20044
|
else {
|
|
@@ -20091,17 +20091,17 @@ function Og(e, t) {
|
|
|
20091
20091
|
const a = t.forceQuirks ? pt.QUIRKS : ug(t);
|
|
20092
20092
|
sg(t) || e._err(t, Q.nonConformingDoctype), e.treeAdapter.setDocumentMode(e.document, a), e.insertionMode = $.BEFORE_HTML;
|
|
20093
20093
|
}
|
|
20094
|
-
function
|
|
20094
|
+
function $a(e, t) {
|
|
20095
20095
|
e._err(t, Q.missingDoctype, !0), e.treeAdapter.setDocumentMode(e.document, pt.QUIRKS), e.insertionMode = $.BEFORE_HTML, e._processToken(t);
|
|
20096
20096
|
}
|
|
20097
20097
|
function Dg(e, t) {
|
|
20098
|
-
t.tagID === p.HTML ? (e._insertElement(t, te.HTML), e.insertionMode = $.BEFORE_HEAD) :
|
|
20098
|
+
t.tagID === p.HTML ? (e._insertElement(t, te.HTML), e.insertionMode = $.BEFORE_HEAD) : ja(e, t);
|
|
20099
20099
|
}
|
|
20100
20100
|
function Pg(e, t) {
|
|
20101
20101
|
const a = t.tagID;
|
|
20102
|
-
(a === p.HTML || a === p.HEAD || a === p.BODY || a === p.BR) &&
|
|
20102
|
+
(a === p.HTML || a === p.HEAD || a === p.BODY || a === p.BR) && ja(e, t);
|
|
20103
20103
|
}
|
|
20104
|
-
function
|
|
20104
|
+
function ja(e, t) {
|
|
20105
20105
|
e._insertFakeRootElement(), e.insertionMode = $.BEFORE_HEAD, e._processToken(t);
|
|
20106
20106
|
}
|
|
20107
20107
|
function Mg(e, t) {
|
|
@@ -20115,14 +20115,14 @@ function Mg(e, t) {
|
|
|
20115
20115
|
break;
|
|
20116
20116
|
}
|
|
20117
20117
|
default:
|
|
20118
|
-
|
|
20118
|
+
Ka(e, t);
|
|
20119
20119
|
}
|
|
20120
20120
|
}
|
|
20121
20121
|
function Rg(e, t) {
|
|
20122
20122
|
const a = t.tagID;
|
|
20123
|
-
a === p.HEAD || a === p.BODY || a === p.HTML || a === p.BR ?
|
|
20123
|
+
a === p.HEAD || a === p.BODY || a === p.HTML || a === p.BR ? Ka(e, t) : e._err(t, Q.endTagWithoutMatchingOpenElement);
|
|
20124
20124
|
}
|
|
20125
|
-
function
|
|
20125
|
+
function Ka(e, t) {
|
|
20126
20126
|
e._insertFakeElement(W.HEAD, p.HEAD), e.headElement = e.openElements.current, e.insertionMode = $.IN_HEAD, e._processToken(t);
|
|
20127
20127
|
}
|
|
20128
20128
|
function mt(e, t) {
|
|
@@ -20165,7 +20165,7 @@ function mt(e, t) {
|
|
|
20165
20165
|
break;
|
|
20166
20166
|
}
|
|
20167
20167
|
default:
|
|
20168
|
-
|
|
20168
|
+
Xa(e, t);
|
|
20169
20169
|
}
|
|
20170
20170
|
}
|
|
20171
20171
|
function Bg(e, t) {
|
|
@@ -20177,7 +20177,7 @@ function Bg(e, t) {
|
|
|
20177
20177
|
case p.BODY:
|
|
20178
20178
|
case p.BR:
|
|
20179
20179
|
case p.HTML: {
|
|
20180
|
-
|
|
20180
|
+
Xa(e, t);
|
|
20181
20181
|
break;
|
|
20182
20182
|
}
|
|
20183
20183
|
case p.TEMPLATE: {
|
|
@@ -20191,7 +20191,7 @@ function Bg(e, t) {
|
|
|
20191
20191
|
function ia(e, t) {
|
|
20192
20192
|
e.openElements.tmplCount > 0 ? (e.openElements.generateImpliedEndTagsThoroughly(), e.openElements.currentTagId !== p.TEMPLATE && e._err(t, Q.closingOfElementWithOpenChildElements), e.openElements.popUntilTagNamePopped(p.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e.tmplInsertionModeStack.shift(), e._resetInsertionMode()) : e._err(t, Q.endTagWithoutMatchingOpenElement);
|
|
20193
20193
|
}
|
|
20194
|
-
function
|
|
20194
|
+
function Xa(e, t) {
|
|
20195
20195
|
e.openElements.pop(), e.insertionMode = $.AFTER_HEAD, e._processToken(t);
|
|
20196
20196
|
}
|
|
20197
20197
|
function Fg(e, t) {
|
|
@@ -20215,7 +20215,7 @@ function Fg(e, t) {
|
|
|
20215
20215
|
break;
|
|
20216
20216
|
}
|
|
20217
20217
|
default:
|
|
20218
|
-
|
|
20218
|
+
Qa(e, t);
|
|
20219
20219
|
}
|
|
20220
20220
|
}
|
|
20221
20221
|
function Hg(e, t) {
|
|
@@ -20225,14 +20225,14 @@ function Hg(e, t) {
|
|
|
20225
20225
|
break;
|
|
20226
20226
|
}
|
|
20227
20227
|
case p.BR: {
|
|
20228
|
-
|
|
20228
|
+
Qa(e, t);
|
|
20229
20229
|
break;
|
|
20230
20230
|
}
|
|
20231
20231
|
default:
|
|
20232
20232
|
e._err(t, Q.endTagWithoutMatchingOpenElement);
|
|
20233
20233
|
}
|
|
20234
20234
|
}
|
|
20235
|
-
function
|
|
20235
|
+
function Qa(e, t) {
|
|
20236
20236
|
const a = t.type === Se.EOF ? Q.openElementsLeftAfterEof : Q.disallowedContentInNoscriptInHead;
|
|
20237
20237
|
e._err(t, a), e.openElements.pop(), e.insertionMode = $.IN_HEAD, e._processToken(t);
|
|
20238
20238
|
}
|
|
@@ -20268,7 +20268,7 @@ function $g(e, t) {
|
|
|
20268
20268
|
break;
|
|
20269
20269
|
}
|
|
20270
20270
|
default:
|
|
20271
|
-
|
|
20271
|
+
Ja(e, t);
|
|
20272
20272
|
}
|
|
20273
20273
|
}
|
|
20274
20274
|
function Ug(e, t) {
|
|
@@ -20276,7 +20276,7 @@ function Ug(e, t) {
|
|
|
20276
20276
|
case p.BODY:
|
|
20277
20277
|
case p.HTML:
|
|
20278
20278
|
case p.BR: {
|
|
20279
|
-
|
|
20279
|
+
Ja(e, t);
|
|
20280
20280
|
break;
|
|
20281
20281
|
}
|
|
20282
20282
|
case p.TEMPLATE: {
|
|
@@ -20287,7 +20287,7 @@ function Ug(e, t) {
|
|
|
20287
20287
|
e._err(t, Q.endTagWithoutMatchingOpenElement);
|
|
20288
20288
|
}
|
|
20289
20289
|
}
|
|
20290
|
-
function
|
|
20290
|
+
function Ja(e, t) {
|
|
20291
20291
|
e._insertFakeElement(W.BODY, p.BODY), e.insertionMode = $.IN_BODY, Zl(e, t);
|
|
20292
20292
|
}
|
|
20293
20293
|
function Zl(e, t) {
|
|
@@ -20893,7 +20893,7 @@ function va(e, t) {
|
|
|
20893
20893
|
hl(e, t);
|
|
20894
20894
|
}
|
|
20895
20895
|
}
|
|
20896
|
-
function
|
|
20896
|
+
function sl(e, t) {
|
|
20897
20897
|
switch (t.tagID) {
|
|
20898
20898
|
case p.TABLE: {
|
|
20899
20899
|
e.openElements.hasInTableScope(p.TABLE) && (e.openElements.popUntilTagNamePopped(p.TABLE), e._resetInsertionMode());
|
|
@@ -20929,7 +20929,7 @@ function _o(e, t) {
|
|
|
20929
20929
|
function ko(e, t) {
|
|
20930
20930
|
e.pendingCharacterTokens.push(t), e.hasNonWhitespacePendingCharacterToken = !0;
|
|
20931
20931
|
}
|
|
20932
|
-
function
|
|
20932
|
+
function Ua(e, t) {
|
|
20933
20933
|
let a = 0;
|
|
20934
20934
|
if (e.hasNonWhitespacePendingCharacterToken)
|
|
20935
20935
|
for (; a < e.pendingCharacterTokens.length; a++)
|
|
@@ -20949,7 +20949,7 @@ function BE(e, t) {
|
|
|
20949
20949
|
switch (a) {
|
|
20950
20950
|
case p.CAPTION:
|
|
20951
20951
|
case p.TABLE: {
|
|
20952
|
-
e.openElements.hasInTableScope(p.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(p.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = $.IN_TABLE, a === p.TABLE &&
|
|
20952
|
+
e.openElements.hasInTableScope(p.CAPTION) && (e.openElements.generateImpliedEndTags(), e.openElements.popUntilTagNamePopped(p.CAPTION), e.activeFormattingElements.clearToLastMarker(), e.insertionMode = $.IN_TABLE, a === p.TABLE && sl(e, t));
|
|
20953
20953
|
break;
|
|
20954
20954
|
}
|
|
20955
20955
|
case p.BODY:
|
|
@@ -21038,7 +21038,7 @@ function pr(e, t) {
|
|
|
21038
21038
|
break;
|
|
21039
21039
|
}
|
|
21040
21040
|
case p.TABLE: {
|
|
21041
|
-
e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = $.IN_TABLE,
|
|
21041
|
+
e.openElements.hasTableBodyContextInTableScope() && (e.openElements.clearBackToTableBodyContext(), e.openElements.pop(), e.insertionMode = $.IN_TABLE, sl(e, t));
|
|
21042
21042
|
break;
|
|
21043
21043
|
}
|
|
21044
21044
|
case p.BODY:
|
|
@@ -21051,7 +21051,7 @@ function pr(e, t) {
|
|
|
21051
21051
|
case p.TR:
|
|
21052
21052
|
break;
|
|
21053
21053
|
default:
|
|
21054
|
-
|
|
21054
|
+
sl(e, t);
|
|
21055
21055
|
}
|
|
21056
21056
|
}
|
|
21057
21057
|
function an(e, t) {
|
|
@@ -21100,7 +21100,7 @@ function Io(e, t) {
|
|
|
21100
21100
|
case p.TH:
|
|
21101
21101
|
break;
|
|
21102
21102
|
default:
|
|
21103
|
-
|
|
21103
|
+
sl(e, t);
|
|
21104
21104
|
}
|
|
21105
21105
|
}
|
|
21106
21106
|
function HE(e, t) {
|
|
@@ -21370,7 +21370,7 @@ function Ro(e, t) {
|
|
|
21370
21370
|
stitches: !1,
|
|
21371
21371
|
options: t || {}
|
|
21372
21372
|
};
|
|
21373
|
-
l(e, n),
|
|
21373
|
+
l(e, n), xa(n, wt());
|
|
21374
21374
|
const r = a ? n.parser.document : n.parser.getFragment(), i = hv(r, {
|
|
21375
21375
|
// To do: support `space`?
|
|
21376
21376
|
file: n.options.file
|
|
@@ -21406,7 +21406,7 @@ function i1(e, t) {
|
|
|
21406
21406
|
chars: e.value,
|
|
21407
21407
|
location: bl(e)
|
|
21408
21408
|
};
|
|
21409
|
-
|
|
21409
|
+
xa(t, wt(e)), t.parser.currentToken = a, t.parser._processToken(t.parser.currentToken);
|
|
21410
21410
|
}
|
|
21411
21411
|
function s1(e, t) {
|
|
21412
21412
|
const a = {
|
|
@@ -21417,7 +21417,7 @@ function s1(e, t) {
|
|
|
21417
21417
|
systemId: "",
|
|
21418
21418
|
location: bl(e)
|
|
21419
21419
|
};
|
|
21420
|
-
|
|
21420
|
+
xa(t, wt(e)), t.parser.currentToken = a, t.parser._processToken(t.parser.currentToken);
|
|
21421
21421
|
}
|
|
21422
21422
|
function u1(e, t) {
|
|
21423
21423
|
t.stitches = !0;
|
|
@@ -21437,7 +21437,7 @@ function Fo(e, t) {
|
|
|
21437
21437
|
data: a,
|
|
21438
21438
|
location: bl(e)
|
|
21439
21439
|
};
|
|
21440
|
-
|
|
21440
|
+
xa(t, wt(e)), t.parser.currentToken = l, t.parser._processToken(t.parser.currentToken);
|
|
21441
21441
|
}
|
|
21442
21442
|
function o1(e, t) {
|
|
21443
21443
|
if (t.parser.tokenizer.preprocessor.html = "", t.parser.tokenizer.preprocessor.pos = -1, t.parser.tokenizer.preprocessor.lastGapPos = -2, t.parser.tokenizer.preprocessor.gapStack = [], t.parser.tokenizer.preprocessor.skipNextNewLine = !1, t.parser.tokenizer.preprocessor.lastChunkWritten = !1, t.parser.tokenizer.preprocessor.endOfChunkHit = !1, t.parser.tokenizer.preprocessor.isEol = !1, Ho(t, wt(e)), t.parser.tokenizer.write(
|
|
@@ -21462,7 +21462,7 @@ function c1(e, t) {
|
|
|
21462
21462
|
throw l1.has(a.type) && (l = ". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"), new Error("Cannot compile `" + a.type + "` node" + l);
|
|
21463
21463
|
}
|
|
21464
21464
|
}
|
|
21465
|
-
function
|
|
21465
|
+
function xa(e, t) {
|
|
21466
21466
|
Ho(e, t);
|
|
21467
21467
|
const a = e.parser.tokenizer.currentCharacterToken;
|
|
21468
21468
|
a && a.location && (a.location.endLine = e.parser.tokenizer.preprocessor.line, a.location.endCol = e.parser.tokenizer.preprocessor.col + 1, a.location.endOffset = e.parser.tokenizer.preprocessor.offset + 1, e.parser.currentToken = a, e.parser._processToken(e.parser.currentToken)), e.parser.tokenizer.paused = !1, e.parser.tokenizer.inLoop = !1, e.parser.tokenizer.active = !1, e.parser.tokenizer.returnState = qe.DATA, e.parser.tokenizer.charRefCode = -1, e.parser.tokenizer.consumedAfterSnapshot = -1, e.parser.tokenizer.currentLocation = null, e.parser.tokenizer.currentCharacterToken = null, e.parser.tokenizer.currentToken = null, e.parser.tokenizer.currentAttr = { name: "", value: "" };
|
|
@@ -21483,7 +21483,7 @@ function Ho(e, t) {
|
|
|
21483
21483
|
function d1(e, t) {
|
|
21484
21484
|
const a = e.tagName.toLowerCase();
|
|
21485
21485
|
if (t.parser.tokenizer.state === qe.PLAINTEXT) return;
|
|
21486
|
-
|
|
21486
|
+
xa(t, wt(e));
|
|
21487
21487
|
const l = t.parser.openElements.current;
|
|
21488
21488
|
let n = "namespaceURI" in l ? l.namespaceURI : Zt.html;
|
|
21489
21489
|
n === Zt.html && a === "svg" && (n = Zt.svg);
|
|
@@ -21494,7 +21494,7 @@ function d1(e, t) {
|
|
|
21494
21494
|
), i = {
|
|
21495
21495
|
type: Se.START_TAG,
|
|
21496
21496
|
tagName: a,
|
|
21497
|
-
tagID:
|
|
21497
|
+
tagID: Ta(a),
|
|
21498
21498
|
// We always send start and end tags.
|
|
21499
21499
|
selfClosing: !1,
|
|
21500
21500
|
ackSelfClosing: !1,
|
|
@@ -21508,11 +21508,11 @@ function d1(e, t) {
|
|
|
21508
21508
|
function f1(e, t) {
|
|
21509
21509
|
const a = e.tagName.toLowerCase();
|
|
21510
21510
|
if (!t.parser.tokenizer.inForeignNode && _v.includes(a) || t.parser.tokenizer.state === qe.PLAINTEXT) return;
|
|
21511
|
-
|
|
21511
|
+
xa(t, jl(e));
|
|
21512
21512
|
const l = {
|
|
21513
21513
|
type: Se.END_TAG,
|
|
21514
21514
|
tagName: a,
|
|
21515
|
-
tagID:
|
|
21515
|
+
tagID: Ta(a),
|
|
21516
21516
|
selfClosing: !1,
|
|
21517
21517
|
ackSelfClosing: !1,
|
|
21518
21518
|
attrs: [],
|
|
@@ -22148,12 +22148,12 @@ function qr(e, t) {
|
|
|
22148
22148
|
const P = e.charCodeAt(T);
|
|
22149
22149
|
if (!A(P))
|
|
22150
22150
|
break;
|
|
22151
|
-
w += String.fromCharCode(P), C === "named" && w1.includes(w) && (S = w, k =
|
|
22151
|
+
w += String.fromCharCode(P), C === "named" && w1.includes(w) && (S = w, k = nl(w));
|
|
22152
22152
|
}
|
|
22153
22153
|
let I = e.charCodeAt(T) === 59;
|
|
22154
22154
|
if (I) {
|
|
22155
22155
|
T++;
|
|
22156
|
-
const P = C === "named" ?
|
|
22156
|
+
const P = C === "named" ? nl(w) : !1;
|
|
22157
22157
|
P && (S = w, k = P);
|
|
22158
22158
|
}
|
|
22159
22159
|
let O = 1 + T - m, R = "";
|
|
@@ -22486,7 +22486,7 @@ function Vr(e, t, a, l, n, r, i, s, u, o, c, d, h, f, y) {
|
|
|
22486
22486
|
return e.enter(l), e.enter(n), e.consume(x), e.exit(n), m;
|
|
22487
22487
|
}
|
|
22488
22488
|
function m(x) {
|
|
22489
|
-
return x === 35 ? (E = i, b(x)) : x === 46 ? (E = s, b(x)) : y && _e(x) ? ke(e, m, "whitespace")(x) : !y && Ue(x) ? Lt(e, m)(x) : x === null ||
|
|
22489
|
+
return x === 35 ? (E = i, b(x)) : x === 46 ? (E = s, b(x)) : y && _e(x) ? ke(e, m, "whitespace")(x) : !y && Ue(x) ? Lt(e, m)(x) : x === null || pe(x) || il(x) || rl(x) && x !== 45 && x !== 95 ? N(x) : (e.enter(r), e.enter(u), e.consume(x), S);
|
|
22490
22490
|
}
|
|
22491
22491
|
function b(x) {
|
|
22492
22492
|
const D = (
|
|
@@ -22517,13 +22517,13 @@ function Vr(e, t, a, l, n, r, i, s, u, o, c, d, h, f, y) {
|
|
|
22517
22517
|
return e.consume(x), C;
|
|
22518
22518
|
}
|
|
22519
22519
|
function S(x) {
|
|
22520
|
-
return x === null ||
|
|
22520
|
+
return x === null || pe(x) || il(x) || rl(x) && x !== 45 && x !== 46 && x !== 58 && x !== 95 ? (e.exit(u), y && _e(x) ? ke(e, k, "whitespace")(x) : !y && Ue(x) ? Lt(e, k)(x) : k(x)) : (e.consume(x), S);
|
|
22521
22521
|
}
|
|
22522
22522
|
function k(x) {
|
|
22523
22523
|
return x === 61 ? (e.enter(o), e.consume(x), e.exit(o), w) : (e.exit(r), m(x));
|
|
22524
22524
|
}
|
|
22525
22525
|
function w(x) {
|
|
22526
|
-
return x === null || x === 60 || x === 61 || x === 62 || x === 96 || x === 125 || y &&
|
|
22526
|
+
return x === null || x === 60 || x === 61 || x === 62 || x === 96 || x === 125 || y && pe(x) ? a(x) : x === 34 || x === 39 ? (e.enter(c), e.enter(h), e.consume(x), e.exit(h), v = x, I) : y && _e(x) ? ke(e, w, "whitespace")(x) : !y && Ue(x) ? Lt(e, w)(x) : (e.enter(d), e.enter(f), e.consume(x), v = void 0, A);
|
|
22527
22527
|
}
|
|
22528
22528
|
function A(x) {
|
|
22529
22529
|
return x === null || x === 34 || x === 39 || x === 60 || x === 61 || x === 62 || x === 96 ? a(x) : x === 125 || Ue(x) ? (e.exit(f), e.exit(d), e.exit(r), m(x)) : (e.consume(x), A);
|
|
@@ -22532,10 +22532,10 @@ function Vr(e, t, a, l, n, r, i, s, u, o, c, d, h, f, y) {
|
|
|
22532
22532
|
return x === v ? (e.enter(h), e.consume(x), e.exit(h), e.exit(c), e.exit(r), P) : (e.enter(d), O(x));
|
|
22533
22533
|
}
|
|
22534
22534
|
function O(x) {
|
|
22535
|
-
return x === v ? (e.exit(d), I(x)) : x === null ? a(x) :
|
|
22535
|
+
return x === v ? (e.exit(d), I(x)) : x === null ? a(x) : pe(x) ? y ? a(x) : Lt(e, O)(x) : (e.enter(f), e.consume(x), R);
|
|
22536
22536
|
}
|
|
22537
22537
|
function R(x) {
|
|
22538
|
-
return x === v || x === null ||
|
|
22538
|
+
return x === v || x === null || pe(x) ? (e.exit(f), O(x)) : (e.consume(x), R);
|
|
22539
22539
|
}
|
|
22540
22540
|
function P(x) {
|
|
22541
22541
|
return x === 125 || Ue(x) ? m(x) : N(x);
|
|
@@ -22564,7 +22564,7 @@ function Gr(e, t, a, l, n, r, i) {
|
|
|
22564
22564
|
return o && (o.next = g), o = g, f(v);
|
|
22565
22565
|
}
|
|
22566
22566
|
function f(v) {
|
|
22567
|
-
return v === null || s > 999 || v === 91 && ++u > 32 ? a(v) : v === 93 && !u-- ? (e.exit("chunkText"), E(v)) :
|
|
22567
|
+
return v === null || s > 999 || v === 91 && ++u > 32 ? a(v) : v === 93 && !u-- ? (e.exit("chunkText"), E(v)) : pe(v) ? i ? a(v) : (e.consume(v), e.exit("chunkText"), h) : (e.consume(v), v === 92 ? y : f);
|
|
22568
22568
|
}
|
|
22569
22569
|
function y(v) {
|
|
22570
22570
|
return v === 91 || v === 92 || v === 93 ? (e.consume(v), s++, f) : f(v);
|
|
@@ -22577,10 +22577,10 @@ function Yr(e, t, a, l) {
|
|
|
22577
22577
|
const n = this;
|
|
22578
22578
|
return r;
|
|
22579
22579
|
function r(s) {
|
|
22580
|
-
return s === null ||
|
|
22580
|
+
return s === null || pe(s) || rl(s) || il(s) ? a(s) : (e.enter(l), e.consume(s), i);
|
|
22581
22581
|
}
|
|
22582
22582
|
function i(s) {
|
|
22583
|
-
return s === null ||
|
|
22583
|
+
return s === null || pe(s) || il(s) || rl(s) && s !== 45 && s !== 95 ? (e.exit(l), n.previous === 45 || n.previous === 95 ? a(s) : t(s)) : (e.consume(s), i);
|
|
22584
22584
|
}
|
|
22585
22585
|
}
|
|
22586
22586
|
const Z1 = {
|
|
@@ -22616,10 +22616,10 @@ function ay(e, t, a) {
|
|
|
22616
22616
|
return ke(e, f, "whitespace")(A);
|
|
22617
22617
|
}
|
|
22618
22618
|
function f(A) {
|
|
22619
|
-
return e.exit("directiveContainerFence"), A === null ? k(A) :
|
|
22619
|
+
return e.exit("directiveContainerFence"), A === null ? k(A) : pe(A) ? l.interrupt ? t(A) : e.attempt(_l, y, k)(A) : a(A);
|
|
22620
22620
|
}
|
|
22621
22621
|
function y(A) {
|
|
22622
|
-
return A === null ? k(A) :
|
|
22622
|
+
return A === null ? k(A) : pe(A) ? e.check(_l, b, k)(A) : (e.enter("directiveContainerContent"), E(A));
|
|
22623
22623
|
}
|
|
22624
22624
|
function E(A) {
|
|
22625
22625
|
return e.attempt({
|
|
@@ -22628,14 +22628,14 @@ function ay(e, t, a) {
|
|
|
22628
22628
|
}, S, r ? ke(e, v, "linePrefix", r + 1) : v)(A);
|
|
22629
22629
|
}
|
|
22630
22630
|
function v(A) {
|
|
22631
|
-
return A === null ? S(A) :
|
|
22631
|
+
return A === null ? S(A) : pe(A) ? e.check(_l, m, S)(A) : m(A);
|
|
22632
22632
|
}
|
|
22633
22633
|
function g(A) {
|
|
22634
22634
|
if (A === null) {
|
|
22635
22635
|
const I = e.exit("chunkDocument");
|
|
22636
22636
|
return l.parser.lazy[I.start.line] = !1, S(A);
|
|
22637
22637
|
}
|
|
22638
|
-
return
|
|
22638
|
+
return pe(A) ? e.check(_l, T, C)(A) : (e.consume(A), g);
|
|
22639
22639
|
}
|
|
22640
22640
|
function m(A) {
|
|
22641
22641
|
const I = e.enter("chunkDocument", {
|
|
@@ -22672,7 +22672,7 @@ function ay(e, t, a) {
|
|
|
22672
22672
|
return D === 58 ? (A.consume(D), R++, N) : R < i ? O(D) : (A.exit("directiveContainerSequence"), ke(A, x, "whitespace")(D));
|
|
22673
22673
|
}
|
|
22674
22674
|
function x(D) {
|
|
22675
|
-
return D === null ||
|
|
22675
|
+
return D === null || pe(D) ? (A.exit("directiveContainerFence"), I(D)) : O(D);
|
|
22676
22676
|
}
|
|
22677
22677
|
}
|
|
22678
22678
|
}
|
|
@@ -22720,7 +22720,7 @@ function oy(e, t, a) {
|
|
|
22720
22720
|
return ke(e, o, "whitespace")(c);
|
|
22721
22721
|
}
|
|
22722
22722
|
function o(c) {
|
|
22723
|
-
return c === null ||
|
|
22723
|
+
return c === null || pe(c) ? (e.exit("directiveLeaf"), t(c)) : a(c);
|
|
22724
22724
|
}
|
|
22725
22725
|
}
|
|
22726
22726
|
function cy(e, t, a) {
|
|
@@ -22803,8 +22803,23 @@ const Ty = {
|
|
|
22803
22803
|
}, Cy = (e) => e.replace(/\*\*([^*\n]+?)\*\*/g, "<strong>$1</strong>"), Ay = ({
|
|
22804
22804
|
children: e
|
|
22805
22805
|
}) => /* @__PURE__ */ G("p", { style: { margin: 0 }, children: e }), Sy = ({
|
|
22806
|
-
|
|
22807
|
-
|
|
22806
|
+
href: e,
|
|
22807
|
+
children: t
|
|
22808
|
+
}) => /* @__PURE__ */ fe(
|
|
22809
|
+
"a",
|
|
22810
|
+
{
|
|
22811
|
+
className: "rte-steps-tooltip-link",
|
|
22812
|
+
href: e,
|
|
22813
|
+
target: "_blank",
|
|
22814
|
+
rel: "noopener noreferrer",
|
|
22815
|
+
onMouseDown: (a) => a.stopPropagation(),
|
|
22816
|
+
onClick: (a) => a.stopPropagation(),
|
|
22817
|
+
children: [
|
|
22818
|
+
/* @__PURE__ */ G("span", { className: "rte-steps-tooltip-link-text", children: t }),
|
|
22819
|
+
/* @__PURE__ */ G("i", { className: "iconfont icon-tiaozhuan2 rte-steps-tooltip-link-icon", "aria-hidden": "true" })
|
|
22820
|
+
]
|
|
22821
|
+
}
|
|
22822
|
+
), wy = {
|
|
22808
22823
|
p: Ay,
|
|
22809
22824
|
a: Sy
|
|
22810
22825
|
}, _y = [yy, xy], ky = [
|
|
@@ -22863,13 +22878,13 @@ const Ty = {
|
|
|
22863
22878
|
onClick: (m) => {
|
|
22864
22879
|
m.target === m.currentTarget && i();
|
|
22865
22880
|
},
|
|
22866
|
-
children: /* @__PURE__ */
|
|
22881
|
+
children: /* @__PURE__ */ fe(
|
|
22867
22882
|
"div",
|
|
22868
22883
|
{
|
|
22869
22884
|
className: "rte-steps-preview-stage",
|
|
22870
22885
|
onClick: (m) => m.stopPropagation(),
|
|
22871
22886
|
children: [
|
|
22872
|
-
/* @__PURE__ */
|
|
22887
|
+
/* @__PURE__ */ fe("div", { className: "rte-steps-preview-header", children: [
|
|
22873
22888
|
/* @__PURE__ */ G("span", { className: "rte-steps-preview-title", children: e }),
|
|
22874
22889
|
/* @__PURE__ */ G(
|
|
22875
22890
|
"button",
|
|
@@ -22882,8 +22897,8 @@ const Ty = {
|
|
|
22882
22897
|
}
|
|
22883
22898
|
)
|
|
22884
22899
|
] }),
|
|
22885
|
-
/* @__PURE__ */
|
|
22886
|
-
g || t ? /* @__PURE__ */
|
|
22900
|
+
/* @__PURE__ */ fe("div", { className: "rte-steps-preview-body", children: [
|
|
22901
|
+
g || t ? /* @__PURE__ */ fe(
|
|
22887
22902
|
"div",
|
|
22888
22903
|
{
|
|
22889
22904
|
className: "rte-steps-preview-top-row" + (!g && t ? " is-description-only" : ""),
|
|
@@ -22904,7 +22919,7 @@ const Ty = {
|
|
|
22904
22919
|
]
|
|
22905
22920
|
}
|
|
22906
22921
|
) : null,
|
|
22907
|
-
/* @__PURE__ */
|
|
22922
|
+
/* @__PURE__ */ fe("div", { className: "rte-steps-preview-image-wrap", children: [
|
|
22908
22923
|
E ? /* @__PURE__ */ G(
|
|
22909
22924
|
"img",
|
|
22910
22925
|
{
|
|
@@ -22913,9 +22928,9 @@ const Ty = {
|
|
|
22913
22928
|
alt: `step-${y + 1}`
|
|
22914
22929
|
}
|
|
22915
22930
|
) : null,
|
|
22916
|
-
f > 0 ? /* @__PURE__ */
|
|
22931
|
+
f > 0 ? /* @__PURE__ */ fe("div", { className: "rte-steps-preview-step-badge", children: [
|
|
22917
22932
|
/* @__PURE__ */ G("span", { children: "步骤" }),
|
|
22918
|
-
/* @__PURE__ */
|
|
22933
|
+
/* @__PURE__ */ fe("span", { children: [
|
|
22919
22934
|
y + 1,
|
|
22920
22935
|
"/",
|
|
22921
22936
|
f
|
|
@@ -22950,7 +22965,7 @@ const Ty = {
|
|
|
22950
22965
|
)) }) : null
|
|
22951
22966
|
] }),
|
|
22952
22967
|
v ? /* @__PURE__ */ G("div", { className: "rte-steps-preview-step-text", children: o(v) }) : null,
|
|
22953
|
-
a ? /* @__PURE__ */
|
|
22968
|
+
a ? /* @__PURE__ */ fe("div", { className: "rte-steps-preview-warning", children: [
|
|
22954
22969
|
/* @__PURE__ */ G("i", { className: "iconfont icon-jinggao1 rte-steps-preview-warning-icon", "aria-hidden": "true" }),
|
|
22955
22970
|
/* @__PURE__ */ G("span", { children: a })
|
|
22956
22971
|
] }) : null
|
|
@@ -23044,8 +23059,8 @@ const Ty = {
|
|
|
23044
23059
|
const Y = K.platforms;
|
|
23045
23060
|
Array.isArray(Y) && Y.forEach((Z) => {
|
|
23046
23061
|
const ue = Z?.images;
|
|
23047
|
-
Array.isArray(ue) && ue.forEach((
|
|
23048
|
-
typeof
|
|
23062
|
+
Array.isArray(ue) && ue.forEach((he) => {
|
|
23063
|
+
typeof he == "string" && V(he);
|
|
23049
23064
|
});
|
|
23050
23065
|
});
|
|
23051
23066
|
});
|
|
@@ -23062,7 +23077,7 @@ const Ty = {
|
|
|
23062
23077
|
".rte-steps-tooltip-platform-tabs"
|
|
23063
23078
|
);
|
|
23064
23079
|
if (!z || !V || !L) return;
|
|
23065
|
-
const j = window.getComputedStyle(z), K = Number.parseFloat(j.paddingLeft) || 0, Y = Number.parseFloat(j.paddingRight) || 0, Z = Math.ceil(V.getBoundingClientRect().width || 0), ue = Math.ceil(L.getBoundingClientRect().width || 0),
|
|
23080
|
+
const j = window.getComputedStyle(z), K = Number.parseFloat(j.paddingLeft) || 0, Y = Number.parseFloat(j.paddingRight) || 0, Z = Math.ceil(V.getBoundingClientRect().width || 0), ue = Math.ceil(L.getBoundingClientRect().width || 0), he = F ? Math.ceil(F.getBoundingClientRect().width || 0) : 0, ye = 16, Be = he > 0 ? 3 : 2, Le = Z + he + ue + ye * Be + Math.ceil(K + Y), dt = 357, Ve = Math.max(240, Math.floor(window.innerWidth - 32));
|
|
23066
23081
|
N(Math.min(Math.max(Le, dt), Ve));
|
|
23067
23082
|
const Ge = n?.anchorEl;
|
|
23068
23083
|
if (Ge) {
|
|
@@ -23103,16 +23118,16 @@ const Ty = {
|
|
|
23103
23118
|
if (!Z) return null;
|
|
23104
23119
|
if (Z.kind === "text")
|
|
23105
23120
|
return { node: Z.text, steps: !1 };
|
|
23106
|
-
const ue = Z.data,
|
|
23121
|
+
const ue = Z.data, he = Array.isArray(ue.platforms) ? ue.platforms : [], ye = he.length;
|
|
23107
23122
|
if (ye === 0)
|
|
23108
23123
|
return { node: ue.title, steps: !1 };
|
|
23109
|
-
const Be = Math.min(Math.max(I, 0), ye - 1), Le =
|
|
23124
|
+
const Be = Math.min(Math.max(I, 0), ye - 1), Le = he[Be], dt = Array.isArray(Le?.images) ? Le.images : [], Ve = Array.isArray(Le?.stepDescriptions) ? Le.stepDescriptions : [], Ge = Math.min(dt.length, Ve.length);
|
|
23110
23125
|
if (Ge <= 0)
|
|
23111
23126
|
return { node: ue.title, steps: !1 };
|
|
23112
23127
|
const et = Math.min(Math.max(b, 0), Ge - 1), Gt = Ve[et] || "", vt = (ue.disclaimer || "").trim(), _t = ye > 1, Dt = (Ne) => {
|
|
23113
23128
|
Ne !== Be && (O(Ne), T(0), C.current?.slideTo(0));
|
|
23114
23129
|
};
|
|
23115
|
-
return { node: /* @__PURE__ */
|
|
23130
|
+
return { node: /* @__PURE__ */ fe(
|
|
23116
23131
|
"div",
|
|
23117
23132
|
{
|
|
23118
23133
|
className: "rte-steps-tooltip",
|
|
@@ -23125,9 +23140,9 @@ const Ty = {
|
|
|
23125
23140
|
Ne.preventDefault(), Ne.stopPropagation();
|
|
23126
23141
|
},
|
|
23127
23142
|
children: [
|
|
23128
|
-
/* @__PURE__ */
|
|
23143
|
+
/* @__PURE__ */ fe("div", { className: "rte-steps-tooltip-header", children: [
|
|
23129
23144
|
/* @__PURE__ */ G("div", { className: "rte-steps-tooltip-title", children: ue.title }),
|
|
23130
|
-
_t ? /* @__PURE__ */ G("div", { className: "rte-steps-tooltip-platform-tabs", role: "tablist", children:
|
|
23145
|
+
_t ? /* @__PURE__ */ G("div", { className: "rte-steps-tooltip-platform-tabs", role: "tablist", children: he.map((Ne, Fe) => /* @__PURE__ */ G(
|
|
23131
23146
|
"button",
|
|
23132
23147
|
{
|
|
23133
23148
|
type: "button",
|
|
@@ -23141,8 +23156,8 @@ const Ty = {
|
|
|
23141
23156
|
)) }) : null
|
|
23142
23157
|
] }),
|
|
23143
23158
|
ue.description ? /* @__PURE__ */ G("div", { className: "rte-steps-tooltip-desc", children: L(ue.description) }) : null,
|
|
23144
|
-
/* @__PURE__ */
|
|
23145
|
-
/* @__PURE__ */
|
|
23159
|
+
/* @__PURE__ */ fe("div", { className: "rte-steps-tooltip-media-wrapper", children: [
|
|
23160
|
+
/* @__PURE__ */ fe("div", { className: "rte-steps-tooltip-media", children: [
|
|
23146
23161
|
/* @__PURE__ */ G(
|
|
23147
23162
|
jn.PreviewGroup,
|
|
23148
23163
|
{
|
|
@@ -23189,16 +23204,16 @@ const Ty = {
|
|
|
23189
23204
|
)
|
|
23190
23205
|
}
|
|
23191
23206
|
),
|
|
23192
|
-
/* @__PURE__ */
|
|
23207
|
+
/* @__PURE__ */ fe("div", { className: "rte-steps-tooltip-step-badge", children: [
|
|
23193
23208
|
/* @__PURE__ */ G("span", { className: "rte-steps-tooltip-step-badge-label", children: "步骤" }),
|
|
23194
|
-
/* @__PURE__ */
|
|
23209
|
+
/* @__PURE__ */ fe("span", { className: "rte-steps-tooltip-step-badge-value", children: [
|
|
23195
23210
|
et + 1,
|
|
23196
23211
|
"/",
|
|
23197
23212
|
Ge
|
|
23198
23213
|
] })
|
|
23199
23214
|
] })
|
|
23200
23215
|
] }),
|
|
23201
|
-
Ge > 1 ? /* @__PURE__ */
|
|
23216
|
+
Ge > 1 ? /* @__PURE__ */ fe(ol, { children: [
|
|
23202
23217
|
/* @__PURE__ */ G(
|
|
23203
23218
|
"button",
|
|
23204
23219
|
{
|
|
@@ -23240,7 +23255,7 @@ const Ty = {
|
|
|
23240
23255
|
] }) : null
|
|
23241
23256
|
] }),
|
|
23242
23257
|
/* @__PURE__ */ G("div", { className: "rte-steps-tooltip-step-text", children: L(Gt) }),
|
|
23243
|
-
vt ? /* @__PURE__ */
|
|
23258
|
+
vt ? /* @__PURE__ */ fe("div", { className: "rte-steps-tooltip-disclaimer", children: [
|
|
23244
23259
|
/* @__PURE__ */ G("span", { className: "rte-steps-tooltip-disclaimer-icon", "aria-hidden": "true", children: "⚠" }),
|
|
23245
23260
|
/* @__PURE__ */ G("div", { className: "rte-steps-tooltip-disclaimer-text", children: L(vt) })
|
|
23246
23261
|
] }) : null,
|
|
@@ -23251,7 +23266,7 @@ const Ty = {
|
|
|
23251
23266
|
title: ue.title,
|
|
23252
23267
|
description: ue.description,
|
|
23253
23268
|
disclaimer: ue.disclaimer,
|
|
23254
|
-
platforms:
|
|
23269
|
+
platforms: he,
|
|
23255
23270
|
platformIndex: Be,
|
|
23256
23271
|
stepIndex: et,
|
|
23257
23272
|
onClose: () => {
|
|
@@ -23279,10 +23294,10 @@ const Ty = {
|
|
|
23279
23294
|
else {
|
|
23280
23295
|
const ue = e.find(
|
|
23281
23296
|
(ye) => ye.type === "upload" && ye.key === n.key
|
|
23282
|
-
),
|
|
23297
|
+
), he = F(
|
|
23283
23298
|
typeof ue?.tooltip == "string" ? ue?.tooltip : ue?.tooltip ? JSON.stringify(ue.tooltip) : ""
|
|
23284
23299
|
);
|
|
23285
|
-
_ =
|
|
23300
|
+
_ = he?.node || "", V = he?.steps || !1;
|
|
23286
23301
|
}
|
|
23287
23302
|
} else if (n.type === "tag") {
|
|
23288
23303
|
const Y = n.anchorEl.dataset.tooltip, Z = F(Y);
|
|
@@ -23510,8 +23525,8 @@ const By = (e, t, a, l) => {
|
|
|
23510
23525
|
let P = "";
|
|
23511
23526
|
const N = By(t, e.key, A, O);
|
|
23512
23527
|
for (const D of N) {
|
|
23513
|
-
const U = `${e.key}-${D}`, { hasFile: H, fileName: q, uploadIcon: _ } = mr(t[U], e.text), z = H ? "" : "hidden", V = S && !H ? "" : "hidden", L = H ? "has-file" : "", F = (H ? q : e.text || e.placeholder) || "", j = F ? ` data-file-name="${F.replace(/"/g, """)}"` : "", K = ` data-batch-key="${e.key}"`, Y = ` data-batch-index="${D}"`, Z = R ? br(U, S, H) : "", ue = S && !R ? `<i contenteditable="false" style="font-weight: 100;" class="iconfont icon-tishi upload-info-icon ${V}" data-upload-key="${U}" data-tooltip="${me(S)}" ></i>` : "",
|
|
23514
|
-
P +=
|
|
23528
|
+
const U = `${e.key}-${D}`, { hasFile: H, fileName: q, uploadIcon: _ } = mr(t[U], e.text), z = H ? "" : "hidden", V = S && !H ? "" : "hidden", L = H ? "has-file" : "", F = (H ? q : e.text || e.placeholder) || "", j = F ? ` data-file-name="${F.replace(/"/g, """)}"` : "", K = ` data-batch-key="${e.key}"`, Y = ` data-batch-index="${D}"`, Z = R ? br(U, S, H) : "", ue = S && !R ? `<i contenteditable="false" style="font-weight: 100;" class="iconfont icon-tishi upload-info-icon ${V}" data-upload-key="${U}" data-tooltip="${me(S)}" ></i>` : "", he = `<span contenteditable="false" data-type="upload" data-key="${U}"${K}${Y}${k} class="upload-chip upload-chip-batch"><span class="upload-inner-wrapper ${L}"><span class="upload-icon">${_}</span><span class="upload-label"${j}>${q || e.text}</span>${ue}<span class="file-remove-btn ${z}" title="移除文件">×</span></span></span>`;
|
|
23529
|
+
P += he + Z;
|
|
23515
23530
|
}
|
|
23516
23531
|
return e.required ? `<span ${e.exclusionGroup ? `data-group="${e.exclusionGroup}"` : ""} class="exclusion-wrapper required-upload-group rte-required-upload-batch">${zs}<span class="rte-upload-batch-chips">${P}${a}</span></span>` : `<span ${e.exclusionGroup ? `data-group="${e.exclusionGroup}"` : ""} class="exclusion-wrapper rte-upload-batch-chips">${P}${a}</span>`;
|
|
23517
23532
|
}
|
|
@@ -29669,7 +29684,7 @@ function mT(e, t, a, l, n = {}, r, i, s, u, o, c, d, h) {
|
|
|
29669
29684
|
});
|
|
29670
29685
|
if (!!!e.current.__tempVariableValues && v.current === b && e.current.childNodes.length > 0) {
|
|
29671
29686
|
bT(e.current, t, a, c), setTimeout(() => {
|
|
29672
|
-
ma(e),
|
|
29687
|
+
ma(e), el(e, t, a, c);
|
|
29673
29688
|
}, 0);
|
|
29674
29689
|
return;
|
|
29675
29690
|
}
|
|
@@ -29867,7 +29882,7 @@ function mT(e, t, a, l, n = {}, r, i, s, u, o, c, d, h) {
|
|
|
29867
29882
|
const H = [document.createTextNode(x.name)];
|
|
29868
29883
|
U && H.push(U), D.classList.remove("show-placeholder", "rte-variable-with-icon"), D.classList.add("rte-report-name-chip"), D.setAttribute("data-report-url", x.url), D.setAttribute("data-report-name", x.name), D.contentEditable = "false", D.replaceChildren(...H), Kn(D);
|
|
29869
29884
|
}
|
|
29870
|
-
|
|
29885
|
+
el(e, t, a, c);
|
|
29871
29886
|
}, 0), r?.current) {
|
|
29872
29887
|
const { key: N, offset: x } = r.current;
|
|
29873
29888
|
setTimeout(() => {
|
|
@@ -30074,7 +30089,7 @@ function yT(e, t, a, l, n) {
|
|
|
30074
30089
|
function TT(e, t, a, l, n, r, i, s) {
|
|
30075
30090
|
ne(() => {
|
|
30076
30091
|
const u = setTimeout(() => {
|
|
30077
|
-
|
|
30092
|
+
el(e, t, a, n), Tr(e, t, a, l, n, {
|
|
30078
30093
|
reportAnalyzeState: i,
|
|
30079
30094
|
requireReportUrlAnalyze: s
|
|
30080
30095
|
});
|
|
@@ -30243,11 +30258,11 @@ function Jo() {
|
|
|
30243
30258
|
}, x.valueOf = function() {
|
|
30244
30259
|
return this.$d.getTime();
|
|
30245
30260
|
}, x.startOf = function(D, U) {
|
|
30246
|
-
var H = this, q = !!O.u(U) || U, _ = O.p(D), z = function(ue,
|
|
30247
|
-
var ye = O.w(H.$u ? Date.UTC(H.$y,
|
|
30261
|
+
var H = this, q = !!O.u(U) || U, _ = O.p(D), z = function(ue, he) {
|
|
30262
|
+
var ye = O.w(H.$u ? Date.UTC(H.$y, he, ue) : new Date(H.$y, he, ue), H);
|
|
30248
30263
|
return q ? ye : ye.endOf(o);
|
|
30249
|
-
}, V = function(ue,
|
|
30250
|
-
return O.w(H.toDate()[ue].apply(H.toDate("s"), (q ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(
|
|
30264
|
+
}, V = function(ue, he) {
|
|
30265
|
+
return O.w(H.toDate()[ue].apply(H.toDate("s"), (q ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(he)), H);
|
|
30251
30266
|
}, L = this.$W, F = this.$M, j = this.$D, K = "set" + (this.$u ? "UTC" : "");
|
|
30252
30267
|
switch (_) {
|
|
30253
30268
|
case f:
|
|
@@ -30300,15 +30315,15 @@ function Jo() {
|
|
|
30300
30315
|
}, x.format = function(D) {
|
|
30301
30316
|
var U = this, H = this.$locale();
|
|
30302
30317
|
if (!this.isValid()) return H.invalidDate || E;
|
|
30303
|
-
var q = D || "YYYY-MM-DDTHH:mm:ssZ", _ = O.z(this), z = this.$H, V = this.$m, L = this.$M, F = H.weekdays, j = H.months, K = H.meridiem, Y = function(
|
|
30304
|
-
return
|
|
30305
|
-
}, Z = function(
|
|
30306
|
-
return O.s(z % 12 || 12,
|
|
30307
|
-
}, ue = K || function(
|
|
30308
|
-
var Le =
|
|
30318
|
+
var q = D || "YYYY-MM-DDTHH:mm:ssZ", _ = O.z(this), z = this.$H, V = this.$m, L = this.$M, F = H.weekdays, j = H.months, K = H.meridiem, Y = function(he, ye, Be, Le) {
|
|
30319
|
+
return he && (he[ye] || he(U, q)) || Be[ye].slice(0, Le);
|
|
30320
|
+
}, Z = function(he) {
|
|
30321
|
+
return O.s(z % 12 || 12, he, "0");
|
|
30322
|
+
}, ue = K || function(he, ye, Be) {
|
|
30323
|
+
var Le = he < 12 ? "AM" : "PM";
|
|
30309
30324
|
return Be ? Le.toLowerCase() : Le;
|
|
30310
30325
|
};
|
|
30311
|
-
return q.replace(g, function(
|
|
30326
|
+
return q.replace(g, function(he, ye) {
|
|
30312
30327
|
return ye || function(Be) {
|
|
30313
30328
|
switch (Be) {
|
|
30314
30329
|
case "YY":
|
|
@@ -30361,7 +30376,7 @@ function Jo() {
|
|
|
30361
30376
|
return _;
|
|
30362
30377
|
}
|
|
30363
30378
|
return null;
|
|
30364
|
-
}(
|
|
30379
|
+
}(he) || _.replace(":", "");
|
|
30365
30380
|
});
|
|
30366
30381
|
}, x.utcOffset = function() {
|
|
30367
30382
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
@@ -30452,27 +30467,27 @@ function wT() {
|
|
|
30452
30467
|
}(Ml)), Ml.exports;
|
|
30453
30468
|
}
|
|
30454
30469
|
wT();
|
|
30455
|
-
function
|
|
30470
|
+
function ul(e) {
|
|
30456
30471
|
"@babel/helpers - typeof";
|
|
30457
|
-
return
|
|
30472
|
+
return ul = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
30458
30473
|
return typeof t;
|
|
30459
30474
|
} : function(t) {
|
|
30460
30475
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
30461
|
-
},
|
|
30476
|
+
}, ul(e);
|
|
30462
30477
|
}
|
|
30463
30478
|
function _T(e, t) {
|
|
30464
|
-
if (
|
|
30479
|
+
if (ul(e) != "object" || !e) return e;
|
|
30465
30480
|
var a = e[Symbol.toPrimitive];
|
|
30466
30481
|
if (a !== void 0) {
|
|
30467
30482
|
var l = a.call(e, t);
|
|
30468
|
-
if (
|
|
30483
|
+
if (ul(l) != "object") return l;
|
|
30469
30484
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
30470
30485
|
}
|
|
30471
30486
|
return (t === "string" ? String : Number)(e);
|
|
30472
30487
|
}
|
|
30473
30488
|
function kT(e) {
|
|
30474
30489
|
var t = _T(e, "string");
|
|
30475
|
-
return
|
|
30490
|
+
return ul(t) == "symbol" ? t : t + "";
|
|
30476
30491
|
}
|
|
30477
30492
|
function NT(e, t, a) {
|
|
30478
30493
|
return (t = kT(t)) in e ? Object.defineProperty(e, t, {
|
|
@@ -30700,7 +30715,7 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
30700
30715
|
hideCurrentSessionReport: _,
|
|
30701
30716
|
reportNameResolve: z
|
|
30702
30717
|
}) => {
|
|
30703
|
-
const [V, L] = jc.useMessage(), F = ee(null), j = ee(null), K = ee(null), Y = ee(null), Z = ee(null), ue = ee(null), [
|
|
30718
|
+
const [V, L] = jc.useMessage(), F = ee(null), j = ee(null), K = ee(null), Y = ee(null), Z = ee(null), ue = ee(null), [he, ye] = re(!1), Be = ee("");
|
|
30704
30719
|
if (!Be.current) {
|
|
30705
30720
|
const X = Math.random().toString(36).slice(2, 8);
|
|
30706
30721
|
Be.current = `rte_${X}`;
|
|
@@ -30733,7 +30748,7 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
30733
30748
|
}
|
|
30734
30749
|
R?.(Ve);
|
|
30735
30750
|
}, [Ve, R]);
|
|
30736
|
-
const [Gt, vt] = re(null), [_t, Dt] = re(null), [
|
|
30751
|
+
const [Gt, vt] = re(null), [_t, Dt] = re(null), [Ca, Ne] = re(null), [Fe, Aa] = re({}), [J, ie] = re(""), [xe, Ae] = re(!1), Ie = ee(null), tt = ee(null), { tooltipPortal: kt, setPopoverVisible: Xe, openStepsPreview: Pt, stepsPreviewPortal: Yt } = Ny({
|
|
30737
30752
|
config: e,
|
|
30738
30753
|
files: Le,
|
|
30739
30754
|
debugTooltipSticky: A,
|
|
@@ -30743,12 +30758,12 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
30743
30758
|
messageApi: V,
|
|
30744
30759
|
activeBatchKey: _t,
|
|
30745
30760
|
activeFileKey: Gt,
|
|
30746
|
-
activeBatchStartIndex:
|
|
30761
|
+
activeBatchStartIndex: Ca,
|
|
30747
30762
|
setActiveFileKey: vt,
|
|
30748
30763
|
setActiveBatchKey: Dt,
|
|
30749
30764
|
setActiveBatchStartIndex: Ne,
|
|
30750
30765
|
setFiles: dt
|
|
30751
|
-
}), nt = ee(null), [Wr, tc] = re({ showLeft: !1, showRight: !1 }),
|
|
30766
|
+
}), nt = ee(null), [Wr, tc] = re({ showLeft: !1, showRight: !1 }), Sa = oe(() => {
|
|
30752
30767
|
const X = nt.current;
|
|
30753
30768
|
X && tc({
|
|
30754
30769
|
showLeft: X.scrollLeft > 0,
|
|
@@ -30768,10 +30783,10 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
30768
30783
|
be.push(Te), ve += Te.size;
|
|
30769
30784
|
}
|
|
30770
30785
|
return be.length > 0 ? [...de, ...be] : de;
|
|
30771
|
-
}), X.target.value = "", setTimeout(
|
|
30772
|
-
}, [V,
|
|
30773
|
-
Ge((ce) => ce.filter((se, ge) => ge !== X)), setTimeout(
|
|
30774
|
-
}, [
|
|
30786
|
+
}), X.target.value = "", setTimeout(Sa, 0);
|
|
30787
|
+
}, [V, Sa]), lc = oe((X) => {
|
|
30788
|
+
Ge((ce) => ce.filter((se, ge) => ge !== X)), setTimeout(Sa, 0);
|
|
30789
|
+
}, [Sa]), nc = oe(() => {
|
|
30775
30790
|
const X = nt.current;
|
|
30776
30791
|
X && X.scrollBy({ left: 200, behavior: "smooth" });
|
|
30777
30792
|
}, []), rc = oe(() => {
|
|
@@ -30821,8 +30836,8 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
30821
30836
|
setPopoverVisible: Xe,
|
|
30822
30837
|
isDraggingRef: ln,
|
|
30823
30838
|
mouseDownPosRef: ic
|
|
30824
|
-
}), [Kr, vl] = re(!1), nn = ee(null), [Xr, Qr] = re(!0), dc = ee(0), [Jr, fc] = re(58), [pc, hc] = re(58), [rn, bc] = re(!1), [mc, vc] = re(!1), [
|
|
30825
|
-
}), Wt = ee({}), un = ee(!1), gl = ee(null),
|
|
30839
|
+
}), [Kr, vl] = re(!1), nn = ee(null), [Xr, Qr] = re(!0), dc = ee(0), [Jr, fc] = re(58), [pc, hc] = re(58), [rn, bc] = re(!1), [mc, vc] = re(!1), [wa, sn] = re(null), _a = ee(!1), ka = ee(!1), gt = ee(null), [sa, Na] = re({}), Rt = ee(() => {
|
|
30840
|
+
}), Wt = ee({}), un = ee(!1), gl = ee(null), Ia = oe(() => {
|
|
30826
30841
|
un.current = !0, gl.current !== null && window.clearTimeout(gl.current), gl.current = window.setTimeout(() => {
|
|
30827
30842
|
un.current = !1, gl.current = null;
|
|
30828
30843
|
}, 50);
|
|
@@ -30836,7 +30851,7 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
30836
30851
|
ne(() => {
|
|
30837
30852
|
ti.current = Kt;
|
|
30838
30853
|
}, [Kt]);
|
|
30839
|
-
const [Et,
|
|
30854
|
+
const [Et, La] = re(() => {
|
|
30840
30855
|
const X = {};
|
|
30841
30856
|
return e.forEach((ce) => {
|
|
30842
30857
|
Qe(ce.type) && ce.key && (X[ce.key] = 1);
|
|
@@ -30848,9 +30863,9 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
30848
30863
|
files: Le,
|
|
30849
30864
|
setFiles: dt,
|
|
30850
30865
|
multiVariableCounts: Et,
|
|
30851
|
-
setMultiVariableCounts:
|
|
30866
|
+
setMultiVariableCounts: La,
|
|
30852
30867
|
reportAnalyzeState: sa,
|
|
30853
|
-
setReportAnalyzeState:
|
|
30868
|
+
setReportAnalyzeState: Na,
|
|
30854
30869
|
markdownAnalyzeState: jt,
|
|
30855
30870
|
setMarkdownAnalyzeState: El,
|
|
30856
30871
|
markdownNameAnalyzeState: Kt,
|
|
@@ -30870,7 +30885,7 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
30870
30885
|
Et[se.key] !== Pe && (X[se.key] = Pe, ce = !0);
|
|
30871
30886
|
}
|
|
30872
30887
|
}
|
|
30873
|
-
}), ce && (
|
|
30888
|
+
}), ce && (Ia(), La((se) => ({ ...se, ...X })));
|
|
30874
30889
|
}
|
|
30875
30890
|
const Me = uf({
|
|
30876
30891
|
config: e,
|
|
@@ -30883,7 +30898,7 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
30883
30898
|
markdownAnalyze: C,
|
|
30884
30899
|
markdownNameAnalyze: S,
|
|
30885
30900
|
reportAnalyzeState: sa,
|
|
30886
|
-
setReportAnalyzeState:
|
|
30901
|
+
setReportAnalyzeState: Na,
|
|
30887
30902
|
markdownAnalyzeState: jt,
|
|
30888
30903
|
setMarkdownAnalyzeState: El,
|
|
30889
30904
|
markdownNameAnalyzeState: Kt,
|
|
@@ -31092,8 +31107,8 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
31092
31107
|
Pe = !0;
|
|
31093
31108
|
};
|
|
31094
31109
|
}, [I, Me]);
|
|
31095
|
-
const
|
|
31096
|
-
ii.current !== si && (ii.current = si,
|
|
31110
|
+
const Oa = ee(/* @__PURE__ */ new Map()), ii = ee(""), si = ((e || []).find((X) => X.type === "tag")?.text || "") + "||" + (e || []).filter((X) => X.key && X.type !== "report-module" && X.type !== "markdown-module").map((X) => `${X.type}:${X.key}`).join("|");
|
|
31111
|
+
ii.current !== si && (ii.current = si, Oa.current = /* @__PURE__ */ new Map()), ne(() => {
|
|
31097
31112
|
if (!I || !e || e.length === 0) return;
|
|
31098
31113
|
const X = e.filter((se) => se.type === "report-url" && se.key), ce = e.filter((se) => se.type === "multi-variable-select" && se.key);
|
|
31099
31114
|
if (!(X.length === 0 && ce.length === 0)) {
|
|
@@ -31101,7 +31116,7 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
31101
31116
|
const ge = se.key, Ee = I[ge] ?? I[`${ge}__url`];
|
|
31102
31117
|
if (!Ee || typeof Ee == "string" && !Ee.trim()) continue;
|
|
31103
31118
|
const de = Array.isArray(Ee) ? String(Ee[0] ?? "") : String(Ee);
|
|
31104
|
-
de &&
|
|
31119
|
+
de && Oa.current.get(ge) !== de && (Oa.current.set(ge, de), setTimeout(() => {
|
|
31105
31120
|
Rt.current(ge, de);
|
|
31106
31121
|
}, 100));
|
|
31107
31122
|
}
|
|
@@ -31111,7 +31126,7 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
31111
31126
|
const be = typeof de == "string" ? de.trim() : "";
|
|
31112
31127
|
if (!be) return;
|
|
31113
31128
|
const ve = `${ge}_${Pe}`;
|
|
31114
|
-
|
|
31129
|
+
Oa.current.get(ve) !== be && (Oa.current.set(ve, be), setTimeout(() => {
|
|
31115
31130
|
Rt.current(ve, be);
|
|
31116
31131
|
}, 100));
|
|
31117
31132
|
});
|
|
@@ -31128,8 +31143,8 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
31128
31143
|
I,
|
|
31129
31144
|
sa,
|
|
31130
31145
|
fn
|
|
31131
|
-
), Zd(Y, x, Fe,
|
|
31132
|
-
const Sc = ef(D,
|
|
31146
|
+
), Zd(Y, x, Fe, Aa, [Me]);
|
|
31147
|
+
const Sc = ef(D, Aa, Y);
|
|
31133
31148
|
tf(Y, Fe, Xe, A), xT(Y, ln);
|
|
31134
31149
|
const ui = Td(Y), wc = Cd(Y), _c = Sd(Y), oi = Id(Y);
|
|
31135
31150
|
ne(() => {
|
|
@@ -31139,7 +31154,7 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
31139
31154
|
ce.innerHTML = se ? '<i class="iconfont icon-shouqi1"></i><span class="rte-richtext-toggle-label">收起</span>' : '<i class="iconfont icon-zhankai2"></i><span class="rte-richtext-toggle-label">展开</span>';
|
|
31140
31155
|
});
|
|
31141
31156
|
}, [Me, Y]);
|
|
31142
|
-
const ci = MT(Y), { measureExpandedContentHeight:
|
|
31157
|
+
const ci = MT(Y), { measureExpandedContentHeight: Da } = rf({
|
|
31143
31158
|
collapsed: b,
|
|
31144
31159
|
collapseTransitionMs: w,
|
|
31145
31160
|
contentRef: j,
|
|
@@ -31160,22 +31175,22 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
31160
31175
|
const X = K.current;
|
|
31161
31176
|
if (!X) return;
|
|
31162
31177
|
const ce = Math.ceil(X.getBoundingClientRect().height || 0);
|
|
31163
|
-
ce > 0 && sn(ce),
|
|
31178
|
+
ce > 0 && sn(ce), _a.current = !0, ka.current = !1, gt.current && (window.clearTimeout(gt.current), gt.current = null);
|
|
31164
31179
|
};
|
|
31165
31180
|
ne(() => {
|
|
31166
31181
|
const X = () => {
|
|
31167
|
-
|
|
31168
|
-
gt.current = null,
|
|
31182
|
+
_a.current && (ka.current = !0, gt.current && window.clearTimeout(gt.current), gt.current = window.setTimeout(() => {
|
|
31183
|
+
gt.current = null, _a.current = !1, ka.current = !1, sn(null), window.requestAnimationFrame(() => Da());
|
|
31169
31184
|
}, 450));
|
|
31170
31185
|
};
|
|
31171
31186
|
return window.addEventListener("focus", X), () => window.removeEventListener("focus", X);
|
|
31172
|
-
}, [
|
|
31173
|
-
!
|
|
31187
|
+
}, [Da]), ne(() => {
|
|
31188
|
+
!_a.current || !ka.current || (gt.current && (window.clearTimeout(gt.current), gt.current = null), window.requestAnimationFrame(() => {
|
|
31174
31189
|
window.requestAnimationFrame(() => {
|
|
31175
|
-
sn(null),
|
|
31190
|
+
sn(null), Da(), _a.current = !1, ka.current = !1;
|
|
31176
31191
|
});
|
|
31177
31192
|
}));
|
|
31178
|
-
}, [Le,
|
|
31193
|
+
}, [Le, Da]), sf({
|
|
31179
31194
|
config: e,
|
|
31180
31195
|
editorRef: Y,
|
|
31181
31196
|
setIsEmpty: Qr,
|
|
@@ -31200,40 +31215,40 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
31200
31215
|
isDraggingRef: ln,
|
|
31201
31216
|
richtextPrevScrollTopRef: dc,
|
|
31202
31217
|
videoState: Fe,
|
|
31203
|
-
setVideoState:
|
|
31218
|
+
setVideoState: Aa,
|
|
31204
31219
|
videoFileInputRef: Ie,
|
|
31205
31220
|
activeVideoKeyRef: tt,
|
|
31206
31221
|
onImagePreview: (X) => {
|
|
31207
31222
|
ie(X), Ae(!0);
|
|
31208
31223
|
}
|
|
31209
|
-
}),
|
|
31224
|
+
}), Pa = df({
|
|
31210
31225
|
config: e,
|
|
31211
31226
|
editorRef: Y,
|
|
31212
31227
|
setIsEmpty: Qr,
|
|
31213
31228
|
setIsFormValid: vl,
|
|
31214
|
-
setReportAnalyzeState:
|
|
31229
|
+
setReportAnalyzeState: Na,
|
|
31215
31230
|
setMarkdownAnalyzeState: El,
|
|
31216
31231
|
setMarkdownNameAnalyzeState: cn,
|
|
31217
31232
|
collapsed: b,
|
|
31218
|
-
measureExpandedContentHeight:
|
|
31233
|
+
measureExpandedContentHeight: Da,
|
|
31219
31234
|
effectiveConfig: Me,
|
|
31220
31235
|
files: Le,
|
|
31221
31236
|
multiVariableCounts: Et,
|
|
31222
|
-
setMultiVariableCounts:
|
|
31237
|
+
setMultiVariableCounts: La,
|
|
31223
31238
|
savedCursorRef: nn,
|
|
31224
31239
|
videoState: Fe,
|
|
31225
31240
|
resolvedReportNamesRef: Wt,
|
|
31226
31241
|
reportAnalyzeState: sa,
|
|
31227
31242
|
requireReportUrlAnalyze: fn
|
|
31228
|
-
}), pn = ee(
|
|
31229
|
-
pn.current =
|
|
31243
|
+
}), pn = ee(Pa);
|
|
31244
|
+
pn.current = Pa;
|
|
31230
31245
|
const Ic = hf({
|
|
31231
31246
|
disabled: l,
|
|
31232
31247
|
config: e,
|
|
31233
31248
|
multiVariableCounts: Et,
|
|
31234
|
-
setMultiVariableCounts:
|
|
31249
|
+
setMultiVariableCounts: La,
|
|
31235
31250
|
editorRef: Y,
|
|
31236
|
-
handleInput:
|
|
31251
|
+
handleInput: Pa,
|
|
31237
31252
|
markdownAnalyzeRef: Zr,
|
|
31238
31253
|
reportAnalyzeRef: Rt,
|
|
31239
31254
|
markdownNameAnalyzeRef: ei,
|
|
@@ -31252,23 +31267,23 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
31252
31267
|
editorRef: Y,
|
|
31253
31268
|
setIsFormValid: vl,
|
|
31254
31269
|
multiVariableCounts: Et,
|
|
31255
|
-
setMultiVariableCounts:
|
|
31270
|
+
setMultiVariableCounts: La,
|
|
31256
31271
|
videoState: Fe,
|
|
31257
31272
|
reportAnalyzeState: sa,
|
|
31258
31273
|
requireReportUrlAnalyze: fn
|
|
31259
31274
|
});
|
|
31260
31275
|
const hn = oe((X, ce) => {
|
|
31261
|
-
delete Wt.current[X],
|
|
31276
|
+
delete Wt.current[X], Va({ keys: [X] }), ce === "report-url" && Na((se) => ({
|
|
31262
31277
|
...se,
|
|
31263
31278
|
[X]: { status: "idle", modules: [], lastParsedUrl: void 0, error: void 0 }
|
|
31264
31279
|
}));
|
|
31265
|
-
}, [
|
|
31280
|
+
}, [Na]), Lc = oe(
|
|
31266
31281
|
(X) => {
|
|
31267
|
-
|
|
31282
|
+
Ia();
|
|
31268
31283
|
const { nodeKey: ce, nodeType: se } = qd(X);
|
|
31269
31284
|
hn(ce, se), X.focus(), pn.current();
|
|
31270
31285
|
},
|
|
31271
|
-
[hn,
|
|
31286
|
+
[hn, Ia]
|
|
31272
31287
|
), Oc = Ud(
|
|
31273
31288
|
Y,
|
|
31274
31289
|
Lc,
|
|
@@ -31292,7 +31307,7 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
31292
31307
|
lockStructure: r,
|
|
31293
31308
|
config: e,
|
|
31294
31309
|
editorRef: Y,
|
|
31295
|
-
handleInput:
|
|
31310
|
+
handleInput: Pa,
|
|
31296
31311
|
onEnterSend: di,
|
|
31297
31312
|
onReportChipDeleted: hn
|
|
31298
31313
|
}), Pc = {
|
|
@@ -31312,9 +31327,9 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
31312
31327
|
...m ? { "--rte-footer-padding": m } : {}
|
|
31313
31328
|
}, Mc = typeof w == "number" && Number.isFinite(w) && w >= 0 ? w : 260, Rc = {
|
|
31314
31329
|
overflow: "hidden"
|
|
31315
|
-
}, fi =
|
|
31330
|
+
}, fi = wa != null ? `${wa}px` : b ? `${Jr}px` : `${Math.max(pc, Jr)}px`, Bc = e.length === 0 && Xr && !b, Fc = wa != null || b || rn || Bc ? "hidden" : mc ? "auto" : "hidden", pi = ee(b), hi = pi.current !== b;
|
|
31316
31331
|
hi && (pi.current = b);
|
|
31317
|
-
const Hc =
|
|
31332
|
+
const Hc = wa != null ? "none" : hi || rn ? `max-height ${Mc}ms cubic-bezier(0.4, 0, 0.2, 1)` : "none";
|
|
31318
31333
|
Ke(() => {
|
|
31319
31334
|
const X = K.current;
|
|
31320
31335
|
if (!X) return;
|
|
@@ -31324,7 +31339,7 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
31324
31339
|
fi,
|
|
31325
31340
|
b,
|
|
31326
31341
|
rn,
|
|
31327
|
-
|
|
31342
|
+
wa,
|
|
31328
31343
|
Me,
|
|
31329
31344
|
Le,
|
|
31330
31345
|
Et,
|
|
@@ -31335,14 +31350,14 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
31335
31350
|
// 折叠时覆盖 CSS 的 min-height:58px,否则 min-height > max-height 时 min-height 优先,导致露出第二行
|
|
31336
31351
|
minHeight: b ? 0 : void 0,
|
|
31337
31352
|
overflow: Fc,
|
|
31338
|
-
overscrollBehavior:
|
|
31353
|
+
overscrollBehavior: he ? "contain" : "auto",
|
|
31339
31354
|
transition: Hc,
|
|
31340
31355
|
willChange: "max-height"
|
|
31341
31356
|
}, bi = e.find((X) => X.type === "tag"), Xt = bi?.text ? i.find((X) => X.label === bi.text) : void 0;
|
|
31342
|
-
return /* @__PURE__ */
|
|
31357
|
+
return /* @__PURE__ */ fe(
|
|
31343
31358
|
"div",
|
|
31344
31359
|
{
|
|
31345
|
-
className: `rich-text-editor ${
|
|
31360
|
+
className: `rich-text-editor ${he ? "rte-editor-selected" : ""}`,
|
|
31346
31361
|
style: Pc,
|
|
31347
31362
|
"data-disabled": l,
|
|
31348
31363
|
ref: F,
|
|
@@ -31350,7 +31365,7 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
31350
31365
|
onFocusCapture: jr,
|
|
31351
31366
|
children: [
|
|
31352
31367
|
L,
|
|
31353
|
-
/* @__PURE__ */
|
|
31368
|
+
/* @__PURE__ */ fe(
|
|
31354
31369
|
"div",
|
|
31355
31370
|
{
|
|
31356
31371
|
className: "rich-text-editor-content",
|
|
@@ -31377,17 +31392,17 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
31377
31392
|
}
|
|
31378
31393
|
},
|
|
31379
31394
|
children: [
|
|
31380
|
-
Ve.length > 0 && /* @__PURE__ */
|
|
31395
|
+
Ve.length > 0 && /* @__PURE__ */ fe("div", { className: "rte-footer-files-wrapper", children: [
|
|
31381
31396
|
Wr.showLeft && /* @__PURE__ */ G("div", { className: "rte-footer-files-mask rte-footer-files-mask-left", children: /* @__PURE__ */ G("span", { className: "rte-footer-files-arrow rte-footer-files-arrow-left", onClick: rc, children: /* @__PURE__ */ G("svg", { style: { width: "16px", height: "16px", transform: "rotate(180deg)" }, "aria-hidden": "true", children: /* @__PURE__ */ G("use", { xlinkHref: "#icon-fanhuijiantou" }) }) }) }),
|
|
31382
31397
|
/* @__PURE__ */ G(
|
|
31383
31398
|
"div",
|
|
31384
31399
|
{
|
|
31385
31400
|
className: "rte-footer-files-list",
|
|
31386
31401
|
ref: nt,
|
|
31387
|
-
onScroll:
|
|
31402
|
+
onScroll: Sa,
|
|
31388
31403
|
children: Ve.map((X, ce) => {
|
|
31389
31404
|
const se = X.type?.startsWith("image/") || /\.(png|jpe?g|gif|webp|bmp|svg)$/i.test(X.name || ""), ge = X.size < 1024 ? `${X.size}B` : X.size < 1024 * 1024 ? `${Math.round(X.size / 1024)}KB` : `${(X.size / (1024 * 1024)).toFixed(1)}MB`, Ee = se ? URL.createObjectURL(X) : "";
|
|
31390
|
-
return /* @__PURE__ */
|
|
31405
|
+
return /* @__PURE__ */ fe(
|
|
31391
31406
|
"div",
|
|
31392
31407
|
{
|
|
31393
31408
|
className: "rte-footer-file-chip",
|
|
@@ -31416,7 +31431,7 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
31416
31431
|
const de = (X.name || "").split(".").pop()?.toLowerCase() || "";
|
|
31417
31432
|
return ["xls", "xla", "xlb", "xlc", "xlm", "xlsx", "xlt", "xlw", "csv", "tsv", "iif"].includes(de) ? "icon-a-xlsxcsv" : ["doc", "docx", "dot", "odt", "rtf", "wiz"].includes(de) ? "icon-docx" : ["ppt", "pptx", "pot", "ppa", "pps", "pwz"].includes(de) ? "icon-ppt" : ["txt", "asm", "bat", "c", "cc", "conf", "cpp", "css", "cxx", "def", "dic", "eml", "h", "hh", "in", "js", "ksh", "php", "pkl", "rb", "tar", "tex", "ts", "xml"].includes(de) ? "icon-txt" : de === "pdf" ? "icon-pdf" : ["html", "htm", "json", "ics", "ifb"].includes(de) ? "icon-a-htmljson" : de === "md" ? "icon-md" : "icon-lianjie";
|
|
31418
31433
|
})()}` }) }) }),
|
|
31419
|
-
/* @__PURE__ */
|
|
31434
|
+
/* @__PURE__ */ fe("div", { className: "rte-footer-file-info", children: [
|
|
31420
31435
|
/* @__PURE__ */ G("span", { className: "rte-footer-file-name", title: X.name, children: X.name }),
|
|
31421
31436
|
/* @__PURE__ */ G("span", { className: "rte-footer-file-size", children: ge })
|
|
31422
31437
|
] }),
|
|
@@ -31451,7 +31466,7 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
31451
31466
|
),
|
|
31452
31467
|
Wr.showRight && /* @__PURE__ */ G("div", { className: "rte-footer-files-mask rte-footer-files-mask-right", children: /* @__PURE__ */ G("span", { className: "rte-footer-files-arrow rte-footer-files-arrow-right", onClick: nc, children: /* @__PURE__ */ G("svg", { style: { width: "16px", height: "16px" }, "aria-hidden": "true", children: /* @__PURE__ */ G("use", { xlinkHref: "#icon-fanhuijiantou" }) }) }) })
|
|
31453
31468
|
] }),
|
|
31454
|
-
/* @__PURE__ */
|
|
31469
|
+
/* @__PURE__ */ fe(
|
|
31455
31470
|
"div",
|
|
31456
31471
|
{
|
|
31457
31472
|
ref: K,
|
|
@@ -31472,11 +31487,11 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
31472
31487
|
onClick: Nc,
|
|
31473
31488
|
onDoubleClick: cc,
|
|
31474
31489
|
onInput: () => {
|
|
31475
|
-
|
|
31490
|
+
Ia(), Pa();
|
|
31476
31491
|
},
|
|
31477
31492
|
onKeyDown: Dc,
|
|
31478
31493
|
onPaste: (X) => {
|
|
31479
|
-
|
|
31494
|
+
Ia(), Ic(X);
|
|
31480
31495
|
}
|
|
31481
31496
|
}
|
|
31482
31497
|
),
|
|
@@ -31509,8 +31524,8 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
31509
31524
|
]
|
|
31510
31525
|
}
|
|
31511
31526
|
),
|
|
31512
|
-
/* @__PURE__ */
|
|
31513
|
-
/* @__PURE__ */
|
|
31527
|
+
/* @__PURE__ */ fe("div", { className: "rich-text-editor-footer", children: [
|
|
31528
|
+
/* @__PURE__ */ fe("div", { className: "rich-text-editor-footer-left", children: [
|
|
31514
31529
|
/* @__PURE__ */ G("div", { className: "rich-text-editor-brand", children: f !== "hideAgent" && /* @__PURE__ */ G(
|
|
31515
31530
|
Kc,
|
|
31516
31531
|
{
|
|
@@ -31519,7 +31534,7 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
31519
31534
|
selectedKeys: Xt ? [String(Xt.key)] : [],
|
|
31520
31535
|
items: i.filter((X) => X.isShowNew !== 1).map((X) => ({
|
|
31521
31536
|
key: X.key,
|
|
31522
|
-
label: /* @__PURE__ */
|
|
31537
|
+
label: /* @__PURE__ */ fe("div", { style: { display: "flex", alignItems: "center", gap: "4px" }, children: [
|
|
31523
31538
|
X.icon && /* @__PURE__ */ G("i", { className: X.icon }),
|
|
31524
31539
|
/* @__PURE__ */ G("span", { children: X.label })
|
|
31525
31540
|
] }),
|
|
@@ -31531,13 +31546,13 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
31531
31546
|
trigger: ["click"],
|
|
31532
31547
|
disabled: l || a,
|
|
31533
31548
|
overlayClassName: "rte-agent-dropdown",
|
|
31534
|
-
children: /* @__PURE__ */
|
|
31549
|
+
children: /* @__PURE__ */ fe("div", { className: "rte-agent-badge", style: { cursor: i.length > 0 ? "pointer" : "default" }, children: [
|
|
31535
31550
|
/* @__PURE__ */ G("i", { className: "iconfont icon-zhinengti", style: { fontSize: "16px" } }),
|
|
31536
|
-
/* @__PURE__ */ G("span", { className: "rte-agent-text", children: "智能体" })
|
|
31551
|
+
/* @__PURE__ */ G("span", { className: "rte-agent-text", children: "智能体asfsafsafsafasf" })
|
|
31537
31552
|
] })
|
|
31538
31553
|
}
|
|
31539
31554
|
) }),
|
|
31540
|
-
!e.find((X) => X.type === "tag") && /* @__PURE__ */
|
|
31555
|
+
!e.find((X) => X.type === "tag") && /* @__PURE__ */ fe(ol, { children: [
|
|
31541
31556
|
/* @__PURE__ */ G(
|
|
31542
31557
|
"div",
|
|
31543
31558
|
{
|
|
@@ -31560,14 +31575,14 @@ const { RangePicker: DT } = Wc, PT = ({ host: e, onChange: t }) => {
|
|
|
31560
31575
|
)
|
|
31561
31576
|
] })
|
|
31562
31577
|
] }),
|
|
31563
|
-
/* @__PURE__ */
|
|
31564
|
-
/* @__PURE__ */
|
|
31578
|
+
/* @__PURE__ */ fe("div", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: [
|
|
31579
|
+
/* @__PURE__ */ fe("div", { className: "rte-brand-badge", children: [
|
|
31565
31580
|
/* @__PURE__ */ G("div", { className: "rte-brand-badge", children: /* @__PURE__ */ G("img", { src: "https://oospublic.sealseek.cn/file/website/ball.png", alt: "" }) }),
|
|
31566
31581
|
/* @__PURE__ */ G("span", { className: "rte-brand-text", style: { marginLeft: "4px" }, children: "SealSeek 2.0" })
|
|
31567
31582
|
] }),
|
|
31568
|
-
!Xt || Xt.points === void 0 || Xt.points === null ? null : /* @__PURE__ */
|
|
31583
|
+
!Xt || Xt.points === void 0 || Xt.points === null ? null : /* @__PURE__ */ fe("div", { className: "rte-points-badge", style: { position: "relative" }, children: [
|
|
31569
31584
|
/* @__PURE__ */ G("i", { className: "iconfont icon-jifen", style: { marginRight: "4px", fontSize: "16px" } }),
|
|
31570
|
-
/* @__PURE__ */
|
|
31585
|
+
/* @__PURE__ */ fe("span", { style: { fontSize: "16px", lineHeight: "22px" }, children: [
|
|
31571
31586
|
"-",
|
|
31572
31587
|
String(Xt.points)
|
|
31573
31588
|
] }),
|
|
@@ -31651,9 +31666,9 @@ const js = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAA
|
|
|
31651
31666
|
onLoadNextPage: r,
|
|
31652
31667
|
onStartAutoLoad: i,
|
|
31653
31668
|
onStopLoad: s
|
|
31654
|
-
}) => e && a ? /* @__PURE__ */
|
|
31669
|
+
}) => e && a ? /* @__PURE__ */ fe("div", { className: "auto_load_progress", children: [
|
|
31655
31670
|
l || /* @__PURE__ */ G("img", { src: js, alt: "自动加载", width: 14, height: 14 }),
|
|
31656
|
-
/* @__PURE__ */
|
|
31671
|
+
/* @__PURE__ */ fe("span", { children: [
|
|
31657
31672
|
"正在加载第",
|
|
31658
31673
|
a.currentPage,
|
|
31659
31674
|
"/",
|
|
@@ -31669,7 +31684,7 @@ const js = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAA
|
|
|
31669
31684
|
}
|
|
31670
31685
|
),
|
|
31671
31686
|
/* @__PURE__ */ G("span", { onClick: s, className: "auto_load_stop_btn", children: "停止加载" })
|
|
31672
|
-
] }) : /* @__PURE__ */
|
|
31687
|
+
] }) : /* @__PURE__ */ fe("div", { className: "auto_load_container", children: [
|
|
31673
31688
|
/* @__PURE__ */ G(
|
|
31674
31689
|
"div",
|
|
31675
31690
|
{
|
|
@@ -31681,7 +31696,7 @@ const js = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAA
|
|
|
31681
31696
|
children: "加载下一页"
|
|
31682
31697
|
}
|
|
31683
31698
|
),
|
|
31684
|
-
/* @__PURE__ */
|
|
31699
|
+
/* @__PURE__ */ fe(
|
|
31685
31700
|
"div",
|
|
31686
31701
|
{
|
|
31687
31702
|
className: "right_control_wrap",
|
|
@@ -31689,7 +31704,7 @@ const js = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAA
|
|
|
31689
31704
|
backgroundColor: e ? "#f5f5f5" : "#2563eb"
|
|
31690
31705
|
},
|
|
31691
31706
|
children: [
|
|
31692
|
-
/* @__PURE__ */
|
|
31707
|
+
/* @__PURE__ */ fe(
|
|
31693
31708
|
"div",
|
|
31694
31709
|
{
|
|
31695
31710
|
className: "auto_load_btn",
|
|
@@ -31733,9 +31748,9 @@ const js = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAA
|
|
|
31733
31748
|
{ length: y },
|
|
31734
31749
|
(b, T) => T + 1
|
|
31735
31750
|
).filter((b) => !n.includes(b)).slice(0, h);
|
|
31736
|
-
return /* @__PURE__ */
|
|
31737
|
-
/* @__PURE__ */
|
|
31738
|
-
/* @__PURE__ */
|
|
31751
|
+
return /* @__PURE__ */ fe("div", { className: "pagination_footer", children: [
|
|
31752
|
+
/* @__PURE__ */ fe("div", { className: "pagination_leftWrap", children: [
|
|
31753
|
+
/* @__PURE__ */ fe("span", { className: "pagination_total", children: [
|
|
31739
31754
|
/* @__PURE__ */ G(
|
|
31740
31755
|
nd,
|
|
31741
31756
|
{
|
|
@@ -31778,7 +31793,7 @@ const js = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAA
|
|
|
31778
31793
|
showTotal: () => "",
|
|
31779
31794
|
itemRender: (m, b, T) => {
|
|
31780
31795
|
const C = n.includes(m);
|
|
31781
|
-
return b === "prev" || b === "next" || b === "jump-prev" || b === "jump-next" ? /* @__PURE__ */ G("div", { className: "pageBox", children: T }) : /* @__PURE__ */
|
|
31796
|
+
return b === "prev" || b === "next" || b === "jump-prev" || b === "jump-next" ? /* @__PURE__ */ G("div", { className: "pageBox", children: T }) : /* @__PURE__ */ fe(
|
|
31782
31797
|
"div",
|
|
31783
31798
|
{
|
|
31784
31799
|
className: "pageBox",
|
|
@@ -31820,7 +31835,7 @@ const js = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAA
|
|
|
31820
31835
|
},
|
|
31821
31836
|
[o, c, u]
|
|
31822
31837
|
);
|
|
31823
|
-
return /* @__PURE__ */
|
|
31838
|
+
return /* @__PURE__ */ fe("div", { className: "flex flex-col", children: [
|
|
31824
31839
|
/* @__PURE__ */ G(
|
|
31825
31840
|
Er,
|
|
31826
31841
|
{
|
|
@@ -32004,7 +32019,7 @@ const UT = ({
|
|
|
32004
32019
|
g.current && window.clearTimeout(g.current), m.current && window.clearTimeout(m.current);
|
|
32005
32020
|
}), [o, f, l, e.length, A]), ne(() => {
|
|
32006
32021
|
!d && l && e.length > 0 && !f && A();
|
|
32007
|
-
}, [o, d, l, e.length, f, A]), /* @__PURE__ */
|
|
32022
|
+
}, [o, d, l, e.length, f, A]), /* @__PURE__ */ fe("div", { style: { position: "relative" }, children: [
|
|
32008
32023
|
/* @__PURE__ */ G(
|
|
32009
32024
|
yr,
|
|
32010
32025
|
{
|
|
@@ -32028,7 +32043,7 @@ const UT = ({
|
|
|
32028
32043
|
}
|
|
32029
32044
|
}
|
|
32030
32045
|
),
|
|
32031
|
-
!f && !n && s && /* @__PURE__ */
|
|
32046
|
+
!f && !n && s && /* @__PURE__ */ fe(
|
|
32032
32047
|
"div",
|
|
32033
32048
|
{
|
|
32034
32049
|
style: {
|
|
@@ -32155,10 +32170,10 @@ const qT = ({
|
|
|
32155
32170
|
const U = oe((Y, Z) => {
|
|
32156
32171
|
let ue = 0;
|
|
32157
32172
|
k(!0);
|
|
32158
|
-
const
|
|
32159
|
-
ue < Y.length ? (E(Y.slice(0, ue + 1)), ue++, O.current = window.setTimeout(
|
|
32173
|
+
const he = () => {
|
|
32174
|
+
ue < Y.length ? (E(Y.slice(0, ue + 1)), ue++, O.current = window.setTimeout(he, a)) : (k(!1), Z?.());
|
|
32160
32175
|
};
|
|
32161
|
-
|
|
32176
|
+
he();
|
|
32162
32177
|
}, [a]), H = oe((Y) => {
|
|
32163
32178
|
let Z = x.current.length;
|
|
32164
32179
|
const ue = () => {
|
|
@@ -32199,8 +32214,8 @@ const qT = ({
|
|
|
32199
32214
|
}, F = (Y) => {
|
|
32200
32215
|
(Y.ctrlKey || Y.metaKey) && Y.key === "Enter" && (Y.preventDefault(), L()), f.onKeyDown?.(Y);
|
|
32201
32216
|
}, j = r ? n : w, K = c || !j.trim() || (s ? j.length > s : !1);
|
|
32202
|
-
return /* @__PURE__ */
|
|
32203
|
-
/* @__PURE__ */
|
|
32217
|
+
return /* @__PURE__ */ fe("div", { style: { position: "relative", ...h }, children: [
|
|
32218
|
+
/* @__PURE__ */ fe("div", { style: { position: "relative" }, children: [
|
|
32204
32219
|
/* @__PURE__ */ G(
|
|
32205
32220
|
"textarea",
|
|
32206
32221
|
{
|
|
@@ -32238,7 +32253,7 @@ const qT = ({
|
|
|
32238
32253
|
...f
|
|
32239
32254
|
}
|
|
32240
32255
|
),
|
|
32241
|
-
!T && !j && y && /* @__PURE__ */
|
|
32256
|
+
!T && !j && y && /* @__PURE__ */ fe(
|
|
32242
32257
|
"div",
|
|
32243
32258
|
{
|
|
32244
32259
|
style: {
|
|
@@ -32308,7 +32323,7 @@ const qT = ({
|
|
|
32308
32323
|
}
|
|
32309
32324
|
)
|
|
32310
32325
|
] }),
|
|
32311
|
-
u && /* @__PURE__ */
|
|
32326
|
+
u && /* @__PURE__ */ fe(
|
|
32312
32327
|
"div",
|
|
32313
32328
|
{
|
|
32314
32329
|
style: {
|
|
@@ -32478,7 +32493,7 @@ const ec = ({
|
|
|
32478
32493
|
onMouseEnter: I,
|
|
32479
32494
|
onMouseLeave: O,
|
|
32480
32495
|
onClick: D,
|
|
32481
|
-
children: /* @__PURE__ */
|
|
32496
|
+
children: /* @__PURE__ */ fe("div", { className: "video-card-container", children: [
|
|
32482
32497
|
/* @__PURE__ */ G(
|
|
32483
32498
|
"video",
|
|
32484
32499
|
{
|
|
@@ -32778,7 +32793,7 @@ GT.__docgenInfo = {
|
|
|
32778
32793
|
}
|
|
32779
32794
|
}
|
|
32780
32795
|
};
|
|
32781
|
-
const kl = (e) => e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'"),
|
|
32796
|
+
const kl = (e) => e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'"), Za = {
|
|
32782
32797
|
日期: "date",
|
|
32783
32798
|
展现量: "impressions",
|
|
32784
32799
|
点击量: "clicks",
|
|
@@ -32900,25 +32915,25 @@ const kl = (e) => e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, "
|
|
|
32900
32915
|
"成交新客占比",
|
|
32901
32916
|
"自然流量转化金额",
|
|
32902
32917
|
"自然流量曝光量"
|
|
32903
|
-
],
|
|
32918
|
+
], za = (e) => Za[e] ?? e, WT = (e) => e ? !!(Za[e] !== void 0 || e.length <= 20 && /[\u4e00-\u9fff]/.test(e)) : !1, jT = (e) => {
|
|
32904
32919
|
const t = e.trim();
|
|
32905
32920
|
if (!t) return [];
|
|
32906
32921
|
const a = t.split(/[\r\n]+/).map((i) => i.trim()).filter(Boolean);
|
|
32907
32922
|
if (a.length === 0) return [];
|
|
32908
32923
|
const l = a[0];
|
|
32909
32924
|
if (l.includes(" ")) {
|
|
32910
|
-
const i = l.split(/\t/).map((u) => u.trim()).filter(Boolean), s = i.some((u) =>
|
|
32925
|
+
const i = l.split(/\t/).map((u) => u.trim()).filter(Boolean), s = i.some((u) => Za[u] !== void 0);
|
|
32911
32926
|
if (i.length >= 2 && s)
|
|
32912
32927
|
return i;
|
|
32913
32928
|
}
|
|
32914
32929
|
if (a.length === 1) {
|
|
32915
32930
|
let i = l.split(/\s{2,}/).map((u) => u.trim()).filter(Boolean);
|
|
32916
32931
|
i.length <= 1 && (i = l.split(/\s+/).filter(Boolean));
|
|
32917
|
-
const s = i.some((u) =>
|
|
32932
|
+
const s = i.some((u) => Za[u] !== void 0);
|
|
32918
32933
|
return i.length >= 2 && s ? i : [];
|
|
32919
32934
|
}
|
|
32920
32935
|
const n = a.filter(WT);
|
|
32921
|
-
return n.some((i) =>
|
|
32936
|
+
return n.some((i) => Za[i] !== void 0) && n.length >= 2 && n.length / a.length >= 0.5 ? n : [];
|
|
32922
32937
|
}, KT = (e) => {
|
|
32923
32938
|
if (!e || e.trim() === "") return "";
|
|
32924
32939
|
const t = e.trim();
|
|
@@ -32937,19 +32952,19 @@ const kl = (e) => e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, "
|
|
|
32937
32952
|
let C = T.split(/[\r\n]+/).map((w) => w.trim()).filter((w) => w !== "");
|
|
32938
32953
|
C.length < c && (C = XT(T));
|
|
32939
32954
|
const S = (w) => C.length === c * 2 ? C[w * 2] ?? "" : C[w] ?? "", k = {};
|
|
32940
|
-
k[
|
|
32941
|
-
const I = S(A), O = KT(I), R =
|
|
32955
|
+
k[za("日期")] = g, o.forEach((w, A) => {
|
|
32956
|
+
const I = S(A), O = KT(I), R = za(w);
|
|
32942
32957
|
k[R] = O;
|
|
32943
32958
|
}), d.push(k);
|
|
32944
32959
|
});
|
|
32945
32960
|
const h = s.filter((g) => {
|
|
32946
|
-
const m =
|
|
32961
|
+
const m = za(g);
|
|
32947
32962
|
return d.some((b) => {
|
|
32948
32963
|
const T = b[m];
|
|
32949
32964
|
return T !== void 0 && String(T).trim() !== "";
|
|
32950
32965
|
});
|
|
32951
32966
|
}), f = `| ${h.join(" | ")} |`, y = `| ${h.map(() => "---").join(" | ")} |`, E = d.map((g) => `| ${h.map((b) => {
|
|
32952
|
-
const T =
|
|
32967
|
+
const T = za(b);
|
|
32953
32968
|
return g[T] ?? "-";
|
|
32954
32969
|
}).join(" | ")} |`);
|
|
32955
32970
|
return {
|
|
@@ -32988,7 +33003,7 @@ const kl = (e) => e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, "
|
|
|
32988
33003
|
r.querySelectorAll("td").forEach((u, o) => {
|
|
32989
33004
|
const c = l[o];
|
|
32990
33005
|
if (c == null) return;
|
|
32991
|
-
const d =
|
|
33006
|
+
const d = za(c), h = u.textContent?.trim() || "";
|
|
32992
33007
|
i[d] = h === "-" ? "" : h;
|
|
32993
33008
|
}), Object.keys(i).length > 0 && t.push(i);
|
|
32994
33009
|
}), t;
|
|
@@ -33090,7 +33105,7 @@ export {
|
|
|
33090
33105
|
UT as DynamicInput,
|
|
33091
33106
|
qT as DynamicTextArea,
|
|
33092
33107
|
bd as EmptyAndSpin,
|
|
33093
|
-
|
|
33108
|
+
Za as HEADER_TO_FIELD,
|
|
33094
33109
|
vd as LinkButton,
|
|
33095
33110
|
fd as PageTable,
|
|
33096
33111
|
RT as RichTextEditor,
|