@apolitical/component-library 9.0.2 → 9.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +38 -38
- package/index.mjs +718 -713
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -10,9 +10,9 @@ import { QueryClient as C3, QueryClientProvider as x3, useMutation as Zt, useQue
|
|
|
10
10
|
import { ReactQueryDevtools as A3 } from "@tanstack/react-query-devtools";
|
|
11
11
|
import xo from "posthog-js";
|
|
12
12
|
import { CookiesProvider as k3, useCookies as i4 } from "react-cookie";
|
|
13
|
-
import { DEFAULT_LOCALE as
|
|
13
|
+
import { DEFAULT_LOCALE as Kc, ALL_LOCALES as S3, ALL_LOCALES_WITH_LABELS as D3, EResultsVisibility as O3 } from "@apolitical/contracts";
|
|
14
14
|
import kl from "truncate";
|
|
15
|
-
import
|
|
15
|
+
import Gc from "lodash.isequal";
|
|
16
16
|
import a4 from "lodash.get";
|
|
17
17
|
import { ErrorBoundary as N3 } from "react-error-boundary";
|
|
18
18
|
import { ReactMultiEmail as I3 } from "react-multi-email";
|
|
@@ -808,14 +808,14 @@ function l4(e, t, n) {
|
|
|
808
808
|
var r = n === void 0 ? {} : n, i = r.leading, a = r.trailing;
|
|
809
809
|
return Dl(e, t, { maxWait: t, leading: i === void 0 || i, trailing: a === void 0 || a });
|
|
810
810
|
}
|
|
811
|
-
let
|
|
811
|
+
let ud;
|
|
812
812
|
const Ga = (e = !0, t = !1, n = "window") => {
|
|
813
813
|
if (!e)
|
|
814
814
|
return;
|
|
815
815
|
const [r, i] = M.useState(0) || [!1, () => {
|
|
816
816
|
}];
|
|
817
817
|
me(() => (s(), window.addEventListener("resize", u), window.addEventListener("hashchange", u), window.addEventListener("hiddenSectionVisible", l), () => {
|
|
818
|
-
clearTimeout(
|
|
818
|
+
clearTimeout(ud), u.flush(), window.removeEventListener("resize", u), window.removeEventListener("hashchange", u), window.removeEventListener("hiddenSectionVisible", l);
|
|
819
819
|
}), n === "window" ? [] : [n]);
|
|
820
820
|
const o = () => {
|
|
821
821
|
if (n)
|
|
@@ -827,7 +827,7 @@ const Ga = (e = !0, t = !1, n = "window") => {
|
|
|
827
827
|
n === "window" || !n.closest(`#${d}`) || o() === r || s();
|
|
828
828
|
}, u = l4(
|
|
829
829
|
() => {
|
|
830
|
-
o() !== r && (t && (clearTimeout(
|
|
830
|
+
o() !== r && (t && (clearTimeout(ud), document.body.classList.add("is-resizing"), ud = setTimeout(() => {
|
|
831
831
|
document.body.classList.remove("is-resizing");
|
|
832
832
|
}, 550)), s());
|
|
833
833
|
},
|
|
@@ -868,7 +868,7 @@ const Ga = (e = !0, t = !1, n = "window") => {
|
|
|
868
868
|
ARTICLE: "microcourseArticle",
|
|
869
869
|
DISCUSSION: "microcourseDiscussion",
|
|
870
870
|
QUIZ: "assessmentQuiz"
|
|
871
|
-
}, $0 = "SU:",
|
|
871
|
+
}, $0 = "SU:", Yc = "DELETED", W3 = "Invalid token error: Logging user out...", uae = "250,000+", cae = "160+", Wo = /@{{([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})}}/g, V3 = new RegExp("(?<=^|\\s)@([A-Za-z]+(?:[- ]?[A-Za-z]*)*)$"), f4 = {
|
|
872
872
|
LOCAL_STORAGE: {},
|
|
873
873
|
SESSION_STORAGE: {
|
|
874
874
|
EMAIL: "email"
|
|
@@ -897,7 +897,7 @@ const Ra = {
|
|
|
897
897
|
year: "numeric"
|
|
898
898
|
}), xh = (e) => {
|
|
899
899
|
let t;
|
|
900
|
-
const n =
|
|
900
|
+
const n = Zc(), r = Zc(new Date(e));
|
|
901
901
|
try {
|
|
902
902
|
t = n.getTime() - r.getTime();
|
|
903
903
|
} catch {
|
|
@@ -910,12 +910,12 @@ const Ra = {
|
|
|
910
910
|
return { path: "days", number: a };
|
|
911
911
|
const o = Math.floor(a / 7);
|
|
912
912
|
return o <= Ra.year.weeks ? { path: "weeks", number: o } : { path: "years", number: Math.floor(a / Ra.year.days) };
|
|
913
|
-
},
|
|
913
|
+
}, Zc = (e) => {
|
|
914
914
|
const n = (e || /* @__PURE__ */ new Date()).toUTCString();
|
|
915
915
|
return new Date(n);
|
|
916
916
|
}, G3 = (e, t, n) => {
|
|
917
917
|
let r;
|
|
918
|
-
const i =
|
|
918
|
+
const i = Zc(), a = Zc(new Date(e));
|
|
919
919
|
try {
|
|
920
920
|
r = i.getTime() - a.getTime();
|
|
921
921
|
} catch {
|
|
@@ -1731,7 +1731,7 @@ Thank you for helping to protect the Apolitical community from abusive content.`
|
|
|
1731
1731
|
}
|
|
1732
1732
|
}
|
|
1733
1733
|
return r;
|
|
1734
|
-
},
|
|
1734
|
+
}, xc = (e, t) => M.Children.map(e, (n) => Object.is(n, null) ? n : M.cloneElement(n, {
|
|
1735
1735
|
...t
|
|
1736
1736
|
})), hx = (e = 0) => {
|
|
1737
1737
|
setTimeout(() => {
|
|
@@ -1750,7 +1750,7 @@ Thank you for helping to protect the Apolitical community from abusive content.`
|
|
|
1750
1750
|
return l != null && l !== "";
|
|
1751
1751
|
}), r = ((a = e.image) == null ? void 0 : a.thumbnail) !== void 0, i = ((o = e.location) == null ? void 0 : o.en) !== void 0;
|
|
1752
1752
|
return n && r && i;
|
|
1753
|
-
}, mx = (e, t, n) => !t.id || !t.name ? "" : t.error ? n.replace(/{{name}}/g,
|
|
1753
|
+
}, mx = (e, t, n) => !t.id || !t.name ? "" : t.error ? n.replace(/{{name}}/g, Yc).replace(/{{id}}/g, Yc) : n.replace(/{{name}}/g, t.name).replace(/{{id}}/g, t.id), m4 = async ({
|
|
1754
1754
|
text: e,
|
|
1755
1755
|
template: t,
|
|
1756
1756
|
mentions: n,
|
|
@@ -1812,9 +1812,9 @@ function ua(e) {
|
|
|
1812
1812
|
const as = () => {
|
|
1813
1813
|
const { id: e } = Ze(Qt);
|
|
1814
1814
|
if (!e)
|
|
1815
|
-
return
|
|
1815
|
+
return Kc;
|
|
1816
1816
|
const t = p4(d4);
|
|
1817
|
-
return t ||
|
|
1817
|
+
return t || Kc;
|
|
1818
1818
|
}, Rp = () => {
|
|
1819
1819
|
const { id: e } = Ze(Qt), [t, n] = ue(void 0);
|
|
1820
1820
|
return me(() => {
|
|
@@ -1827,7 +1827,7 @@ const as = () => {
|
|
|
1827
1827
|
n(`/${r}`);
|
|
1828
1828
|
return;
|
|
1829
1829
|
}
|
|
1830
|
-
n(`/${
|
|
1830
|
+
n(`/${Kc}`);
|
|
1831
1831
|
}, [e]), t;
|
|
1832
1832
|
}, gx = ({
|
|
1833
1833
|
scrollPosition: e = 0,
|
|
@@ -2164,7 +2164,7 @@ const ni = ({ className: e = "", maxWidth: t = !1 }) => {
|
|
|
2164
2164
|
}, Ex = ({ format: e, height: t, query: n, width: r }) => {
|
|
2165
2165
|
let i = `w=${r}&h=${t}`;
|
|
2166
2166
|
return i = e ? `${i}&fm=${e}` : i, i = n ? `${i}&${n}` : i, i;
|
|
2167
|
-
},
|
|
2167
|
+
}, cd = ({ format: e, range: t, url: n, query: r }) => t.map(({ height: i, width: a }) => `${n}?${Ex({
|
|
2168
2168
|
format: e,
|
|
2169
2169
|
height: i,
|
|
2170
2170
|
query: r,
|
|
@@ -2182,7 +2182,7 @@ const Ya = ({ image: e, className: t, testId: n }) => {
|
|
|
2182
2182
|
loading: c,
|
|
2183
2183
|
decoding: d,
|
|
2184
2184
|
fetchPriority: f
|
|
2185
|
-
} = e, { range: p, sizes: g } = yx(e), m =
|
|
2185
|
+
} = e, { range: p, sizes: g } = yx(e), m = cd({ format: "avif", query: s, range: p, url: l }), y = cd({ format: "webp", query: s, range: p, url: l }), v = cd({ format: "", query: s, range: p, url: l });
|
|
2186
2186
|
let E = {};
|
|
2187
2187
|
return o && (E = { "--color": o }), a && a.includes("svg") ? /* @__PURE__ */ h.jsx("picture", { className: t, style: E, children: /* @__PURE__ */ h.jsx(
|
|
2188
2188
|
"img",
|
|
@@ -2758,7 +2758,7 @@ function Lx(e, t) {
|
|
|
2758
2758
|
}
|
|
2759
2759
|
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
2760
2760
|
}
|
|
2761
|
-
var
|
|
2761
|
+
var dd = function(e) {
|
|
2762
2762
|
return typeof e == "function";
|
|
2763
2763
|
}, Mx = {
|
|
2764
2764
|
componentStack: null,
|
|
@@ -2775,7 +2775,7 @@ var cd = function(e) {
|
|
|
2775
2775
|
}
|
|
2776
2776
|
return t.prototype.componentDidCatch = function(n, r) {
|
|
2777
2777
|
var i = this.props.additionalProperties, a;
|
|
2778
|
-
|
|
2778
|
+
dd(i) ? a = i(n) : typeof i == "object" && (a = i);
|
|
2779
2779
|
var o = this.context.client, s = o.captureException(n, a), l = r.componentStack;
|
|
2780
2780
|
this.setState({
|
|
2781
2781
|
error: n,
|
|
@@ -2785,8 +2785,8 @@ var cd = function(e) {
|
|
|
2785
2785
|
}, t.prototype.render = function() {
|
|
2786
2786
|
var n = this.props, r = n.children, i = n.fallback, a = this.state;
|
|
2787
2787
|
if (a.componentStack == null)
|
|
2788
|
-
return
|
|
2789
|
-
var o =
|
|
2788
|
+
return dd(r) ? r() : r;
|
|
2789
|
+
var o = dd(i) ? M.createElement(i, {
|
|
2790
2790
|
error: a.error,
|
|
2791
2791
|
componentStack: a.componentStack,
|
|
2792
2792
|
exceptionEvent: a.exceptionEvent
|
|
@@ -2843,7 +2843,7 @@ const Ux = {
|
|
|
2843
2843
|
ja: ix,
|
|
2844
2844
|
ar: rx
|
|
2845
2845
|
}, zx = ({ children: e, locale: t, messages: n }) => {
|
|
2846
|
-
const r = t ||
|
|
2846
|
+
const r = t || Kc, i = {
|
|
2847
2847
|
...Ux[r],
|
|
2848
2848
|
...n || {}
|
|
2849
2849
|
};
|
|
@@ -2942,7 +2942,7 @@ const qx = ({ children: e, user: t, updateDetails: n }) => /* @__PURE__ */ h.jsx
|
|
|
2942
2942
|
else
|
|
2943
2943
|
break;
|
|
2944
2944
|
}
|
|
2945
|
-
const o = `@${
|
|
2945
|
+
const o = `@${Yc}`;
|
|
2946
2946
|
return i === o || Array.isArray(i) && i[0] === o ? (delete r.href, delete r.target, /* @__PURE__ */ h.jsxs("span", { ...r, className: "mention deleted-user", children: [
|
|
2947
2947
|
"@",
|
|
2948
2948
|
n.formatMessage({ id: "member_deleted" })
|
|
@@ -3126,7 +3126,7 @@ const e7 = ({ userBadges: e, badgeOptions: { scopes: t } }) => {
|
|
|
3126
3126
|
return /* @__PURE__ */ h.jsx("ul", { className: "badges-list", children: n.map((r, i) => /* @__PURE__ */ h.jsx(Jx, { slug: r }, `${i}-${r}`)) });
|
|
3127
3127
|
};
|
|
3128
3128
|
var x4 = /* @__PURE__ */ ((e) => (e.Accepted = "accepted", e.Cancelled = "cancelled", e.Declined = "declined", e.Pending = "pending", e.Removed = "removed", e))(x4 || {}), w4 = /* @__PURE__ */ ((e) => (e.In = "in", e.Out = "out", e))(w4 || {});
|
|
3129
|
-
const { In: t7, Out: Z0 } = w4, { Pending:
|
|
3129
|
+
const { In: t7, Out: Z0 } = w4, { Pending: fd, Accepted: Q0, Cancelled: n7, Removed: r7 } = x4, i7 = ({
|
|
3130
3130
|
functions: e,
|
|
3131
3131
|
connection: t = {
|
|
3132
3132
|
status: null,
|
|
@@ -3147,7 +3147,7 @@ const { In: t7, Out: Z0 } = w4, { Pending: dd, Accepted: Q0, Cancelled: n7, Remo
|
|
|
3147
3147
|
p(!1);
|
|
3148
3148
|
}
|
|
3149
3149
|
};
|
|
3150
|
-
return g ===
|
|
3150
|
+
return g === fd && y === Z0 ? /* @__PURE__ */ h.jsx(
|
|
3151
3151
|
je,
|
|
3152
3152
|
{
|
|
3153
3153
|
onClick: async () => {
|
|
@@ -3162,7 +3162,7 @@ const { In: t7, Out: Z0 } = w4, { Pending: dd, Accepted: Q0, Cancelled: n7, Remo
|
|
|
3162
3162
|
...i,
|
|
3163
3163
|
children: a({ id: "member_connection_accept" })
|
|
3164
3164
|
}
|
|
3165
|
-
) : g ===
|
|
3165
|
+
) : g === fd && y === t7 ? /* @__PURE__ */ h.jsxs("div", { className: "connection-cta-wrapper", children: [
|
|
3166
3166
|
/* @__PURE__ */ h.jsx(
|
|
3167
3167
|
"span",
|
|
3168
3168
|
{
|
|
@@ -3210,7 +3210,7 @@ const { In: t7, Out: Z0 } = w4, { Pending: dd, Accepted: Q0, Cancelled: n7, Remo
|
|
|
3210
3210
|
je,
|
|
3211
3211
|
{
|
|
3212
3212
|
onClick: async () => {
|
|
3213
|
-
await E(d, { status:
|
|
3213
|
+
await E(d, { status: fd, direction: Z0 });
|
|
3214
3214
|
},
|
|
3215
3215
|
variant: r ? "primary" : "secondary",
|
|
3216
3216
|
size: "small",
|
|
@@ -3250,16 +3250,16 @@ const a7 = ({
|
|
|
3250
3250
|
}
|
|
3251
3251
|
);
|
|
3252
3252
|
}, A4 = Tr(a7);
|
|
3253
|
-
const
|
|
3253
|
+
const hd = "loadingBlock_", o7 = ({
|
|
3254
3254
|
progress: e = 0,
|
|
3255
3255
|
steps: t = !1,
|
|
3256
3256
|
className: n = ""
|
|
3257
3257
|
}) => {
|
|
3258
3258
|
const r = ge();
|
|
3259
3259
|
t || (t = {
|
|
3260
|
-
0: { text: r.formatMessage({ id: `${
|
|
3261
|
-
75: { text: r.formatMessage({ id: `${
|
|
3262
|
-
100: { text: r.formatMessage({ id: `${
|
|
3260
|
+
0: { text: r.formatMessage({ id: `${hd}loading` }) },
|
|
3261
|
+
75: { text: r.formatMessage({ id: `${hd}almostDone` }) },
|
|
3262
|
+
100: { text: r.formatMessage({ id: `${hd}complete` }) }
|
|
3263
3263
|
});
|
|
3264
3264
|
let i = null;
|
|
3265
3265
|
const a = Object.keys(t);
|
|
@@ -3860,10 +3860,10 @@ object-assign
|
|
|
3860
3860
|
(c) Sindre Sorhus
|
|
3861
3861
|
@license MIT
|
|
3862
3862
|
*/
|
|
3863
|
-
var
|
|
3863
|
+
var pd, rg;
|
|
3864
3864
|
function m7() {
|
|
3865
3865
|
if (rg)
|
|
3866
|
-
return
|
|
3866
|
+
return pd;
|
|
3867
3867
|
rg = 1;
|
|
3868
3868
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
|
|
3869
3869
|
function r(a) {
|
|
@@ -3893,7 +3893,7 @@ function m7() {
|
|
|
3893
3893
|
return !1;
|
|
3894
3894
|
}
|
|
3895
3895
|
}
|
|
3896
|
-
return
|
|
3896
|
+
return pd = i() ? Object.assign : function(a, o) {
|
|
3897
3897
|
for (var s, l = r(a), u, c = 1; c < arguments.length; c++) {
|
|
3898
3898
|
s = Object(arguments[c]);
|
|
3899
3899
|
for (var d in s)
|
|
@@ -3905,24 +3905,24 @@ function m7() {
|
|
|
3905
3905
|
}
|
|
3906
3906
|
}
|
|
3907
3907
|
return l;
|
|
3908
|
-
},
|
|
3908
|
+
}, pd;
|
|
3909
3909
|
}
|
|
3910
|
-
var
|
|
3910
|
+
var md, ig;
|
|
3911
3911
|
function Hp() {
|
|
3912
3912
|
if (ig)
|
|
3913
|
-
return
|
|
3913
|
+
return md;
|
|
3914
3914
|
ig = 1;
|
|
3915
3915
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
3916
|
-
return
|
|
3916
|
+
return md = e, md;
|
|
3917
3917
|
}
|
|
3918
|
-
var
|
|
3918
|
+
var gd, ag;
|
|
3919
3919
|
function N4() {
|
|
3920
|
-
return ag || (ag = 1,
|
|
3920
|
+
return ag || (ag = 1, gd = Function.call.bind(Object.prototype.hasOwnProperty)), gd;
|
|
3921
3921
|
}
|
|
3922
|
-
var
|
|
3922
|
+
var vd, og;
|
|
3923
3923
|
function g7() {
|
|
3924
3924
|
if (og)
|
|
3925
|
-
return
|
|
3925
|
+
return vd;
|
|
3926
3926
|
og = 1;
|
|
3927
3927
|
var e = function() {
|
|
3928
3928
|
};
|
|
@@ -3967,12 +3967,12 @@ function g7() {
|
|
|
3967
3967
|
}
|
|
3968
3968
|
return i.resetWarningCache = function() {
|
|
3969
3969
|
process.env.NODE_ENV !== "production" && (n = {});
|
|
3970
|
-
},
|
|
3970
|
+
}, vd = i, vd;
|
|
3971
3971
|
}
|
|
3972
|
-
var
|
|
3972
|
+
var yd, sg;
|
|
3973
3973
|
function v7() {
|
|
3974
3974
|
if (sg)
|
|
3975
|
-
return
|
|
3975
|
+
return yd;
|
|
3976
3976
|
sg = 1;
|
|
3977
3977
|
var e = jp(), t = m7(), n = Hp(), r = N4(), i = g7(), a = function() {
|
|
3978
3978
|
};
|
|
@@ -3987,7 +3987,7 @@ function v7() {
|
|
|
3987
3987
|
function o() {
|
|
3988
3988
|
return null;
|
|
3989
3989
|
}
|
|
3990
|
-
return
|
|
3990
|
+
return yd = function(s, l) {
|
|
3991
3991
|
var u = typeof Symbol == "function" && Symbol.iterator, c = "@@iterator";
|
|
3992
3992
|
function d(S) {
|
|
3993
3993
|
var _ = S && (u && S[u] || S[c]);
|
|
@@ -4289,19 +4289,19 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " ")
|
|
|
4289
4289
|
return !S.constructor || !S.constructor.name ? f : S.constructor.name;
|
|
4290
4290
|
}
|
|
4291
4291
|
return p.checkPropTypes = i, p.resetWarningCache = i.resetWarningCache, p.PropTypes = p, p;
|
|
4292
|
-
},
|
|
4292
|
+
}, yd;
|
|
4293
4293
|
}
|
|
4294
|
-
var
|
|
4294
|
+
var Ed, lg;
|
|
4295
4295
|
function y7() {
|
|
4296
4296
|
if (lg)
|
|
4297
|
-
return
|
|
4297
|
+
return Ed;
|
|
4298
4298
|
lg = 1;
|
|
4299
4299
|
var e = Hp();
|
|
4300
4300
|
function t() {
|
|
4301
4301
|
}
|
|
4302
4302
|
function n() {
|
|
4303
4303
|
}
|
|
4304
|
-
return n.resetWarningCache = t,
|
|
4304
|
+
return n.resetWarningCache = t, Ed = function() {
|
|
4305
4305
|
function r(o, s, l, u, c, d) {
|
|
4306
4306
|
if (d !== e) {
|
|
4307
4307
|
var f = new Error(
|
|
@@ -4338,7 +4338,7 @@ function y7() {
|
|
|
4338
4338
|
resetWarningCache: t
|
|
4339
4339
|
};
|
|
4340
4340
|
return a.PropTypes = a, a;
|
|
4341
|
-
},
|
|
4341
|
+
}, Ed;
|
|
4342
4342
|
}
|
|
4343
4343
|
if (process.env.NODE_ENV !== "production") {
|
|
4344
4344
|
var E7 = jp(), b7 = !0;
|
|
@@ -4350,13 +4350,13 @@ var I4 = Sh.exports;
|
|
|
4350
4350
|
* tabbable 6.2.0
|
|
4351
4351
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
4352
4352
|
*/
|
|
4353
|
-
var P4 = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"],
|
|
4354
|
-
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector,
|
|
4353
|
+
var P4 = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], Qc = /* @__PURE__ */ P4.join(","), R4 = typeof Element > "u", Ua = R4 ? function() {
|
|
4354
|
+
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, Xc = !R4 && Element.prototype.getRootNode ? function(e) {
|
|
4355
4355
|
var t;
|
|
4356
4356
|
return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);
|
|
4357
4357
|
} : function(e) {
|
|
4358
4358
|
return e == null ? void 0 : e.ownerDocument;
|
|
4359
|
-
},
|
|
4359
|
+
}, Jc = function e(t, n) {
|
|
4360
4360
|
var r;
|
|
4361
4361
|
n === void 0 && (n = !0);
|
|
4362
4362
|
var i = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "inert"), a = i === "" || i === "true", o = a || n && t && e(t.parentNode);
|
|
@@ -4365,14 +4365,14 @@ var P4 = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4365
4365
|
var n, r = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "contenteditable");
|
|
4366
4366
|
return r === "" || r === "true";
|
|
4367
4367
|
}, F4 = function(t, n, r) {
|
|
4368
|
-
if (
|
|
4368
|
+
if (Jc(t))
|
|
4369
4369
|
return [];
|
|
4370
|
-
var i = Array.prototype.slice.apply(t.querySelectorAll(
|
|
4371
|
-
return n && Ua.call(t,
|
|
4370
|
+
var i = Array.prototype.slice.apply(t.querySelectorAll(Qc));
|
|
4371
|
+
return n && Ua.call(t, Qc) && i.unshift(t), i = i.filter(r), i;
|
|
4372
4372
|
}, B4 = function e(t, n, r) {
|
|
4373
4373
|
for (var i = [], a = Array.from(t); a.length; ) {
|
|
4374
4374
|
var o = a.shift();
|
|
4375
|
-
if (!
|
|
4375
|
+
if (!Jc(o, !1))
|
|
4376
4376
|
if (o.tagName === "SLOT") {
|
|
4377
4377
|
var s = o.assignedElements(), l = s.length ? s : o.children, u = e(l, !0, r);
|
|
4378
4378
|
r.flatten ? i.push.apply(i, u) : i.push({
|
|
@@ -4380,10 +4380,10 @@ var P4 = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4380
4380
|
candidates: u
|
|
4381
4381
|
});
|
|
4382
4382
|
} else {
|
|
4383
|
-
var c = Ua.call(o,
|
|
4383
|
+
var c = Ua.call(o, Qc);
|
|
4384
4384
|
c && r.filter(o) && (n || !t.includes(o)) && i.push(o);
|
|
4385
4385
|
var d = o.shadowRoot || // check for an undisclosed shadow
|
|
4386
|
-
typeof r.getShadowRoot == "function" && r.getShadowRoot(o), f = !
|
|
4386
|
+
typeof r.getShadowRoot == "function" && r.getShadowRoot(o), f = !Jc(d, !1) && (!r.shadowRootFilter || r.shadowRootFilter(o));
|
|
4387
4387
|
if (d && f) {
|
|
4388
4388
|
var p = e(d === !0 ? o.children : d.children, !0, r);
|
|
4389
4389
|
r.flatten ? i.push.apply(i, p) : i.push({
|
|
@@ -4422,7 +4422,7 @@ var P4 = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4422
4422
|
}, k7 = function(t) {
|
|
4423
4423
|
if (!t.name)
|
|
4424
4424
|
return !0;
|
|
4425
|
-
var n = t.form ||
|
|
4425
|
+
var n = t.form || Xc(t), r = function(s) {
|
|
4426
4426
|
return n.querySelectorAll('input[type="radio"][name="' + s + '"]');
|
|
4427
4427
|
}, i;
|
|
4428
4428
|
if (typeof window < "u" && typeof window.CSS < "u" && typeof window.CSS.escape == "function")
|
|
@@ -4440,12 +4440,12 @@ var P4 = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4440
4440
|
}, D7 = function(t) {
|
|
4441
4441
|
return S7(t) && !k7(t);
|
|
4442
4442
|
}, O7 = function(t) {
|
|
4443
|
-
var n, r = t &&
|
|
4443
|
+
var n, r = t && Xc(t), i = (n = r) === null || n === void 0 ? void 0 : n.host, a = !1;
|
|
4444
4444
|
if (r && r !== t) {
|
|
4445
4445
|
var o, s, l;
|
|
4446
4446
|
for (a = !!((o = i) !== null && o !== void 0 && (s = o.ownerDocument) !== null && s !== void 0 && s.contains(i) || t != null && (l = t.ownerDocument) !== null && l !== void 0 && l.contains(t)); !a && i; ) {
|
|
4447
4447
|
var u, c, d;
|
|
4448
|
-
r =
|
|
4448
|
+
r = Xc(i), i = (u = r) === null || u === void 0 ? void 0 : u.host, a = !!((c = i) !== null && c !== void 0 && (d = c.ownerDocument) !== null && d !== void 0 && d.contains(i));
|
|
4449
4449
|
}
|
|
4450
4450
|
}
|
|
4451
4451
|
return a;
|
|
@@ -4462,7 +4462,7 @@ var P4 = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4462
4462
|
if (!r || r === "full" || r === "legacy-full") {
|
|
4463
4463
|
if (typeof i == "function") {
|
|
4464
4464
|
for (var s = t; t; ) {
|
|
4465
|
-
var l = t.parentElement, u =
|
|
4465
|
+
var l = t.parentElement, u = Xc(t);
|
|
4466
4466
|
if (l && !l.shadowRoot && i(l) === !0)
|
|
4467
4467
|
return ug(t);
|
|
4468
4468
|
t.assignedSlot ? t = t.assignedSlot : !l && u !== t.ownerDocument ? t = u.host : t = l;
|
|
@@ -4490,14 +4490,14 @@ var P4 = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4490
4490
|
n = n.parentElement;
|
|
4491
4491
|
}
|
|
4492
4492
|
return !1;
|
|
4493
|
-
},
|
|
4493
|
+
}, e1 = function(t, n) {
|
|
4494
4494
|
return !(n.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
|
|
4495
4495
|
// because we're limited in the type of selectors we can use in JSDom (see related
|
|
4496
4496
|
// note related to `candidateSelectors`)
|
|
4497
|
-
|
|
4497
|
+
Jc(n) || x7(n) || N7(n, t) || // For a details element with a summary, the summary element gets the focus
|
|
4498
4498
|
w7(n) || I7(n));
|
|
4499
4499
|
}, Dh = function(t, n) {
|
|
4500
|
-
return !(D7(n) || ea(n) < 0 || !
|
|
4500
|
+
return !(D7(n) || ea(n) < 0 || !e1(t, n));
|
|
4501
4501
|
}, P7 = function(t) {
|
|
4502
4502
|
var n = parseInt(t.getAttribute("tabindex"), 10);
|
|
4503
4503
|
return !!(isNaN(n) || n >= 0);
|
|
@@ -4528,24 +4528,24 @@ var P4 = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4528
4528
|
n = n || {};
|
|
4529
4529
|
var r;
|
|
4530
4530
|
return n.getShadowRoot ? r = B4([t], n.includeContainer, {
|
|
4531
|
-
filter:
|
|
4531
|
+
filter: e1.bind(null, n),
|
|
4532
4532
|
flatten: !0,
|
|
4533
4533
|
getShadowRoot: n.getShadowRoot
|
|
4534
|
-
}) : r = F4(t, n.includeContainer,
|
|
4534
|
+
}) : r = F4(t, n.includeContainer, e1.bind(null, n)), r;
|
|
4535
4535
|
}, Oa = function(t, n) {
|
|
4536
4536
|
if (n = n || {}, !t)
|
|
4537
4537
|
throw new Error("No node provided");
|
|
4538
|
-
return Ua.call(t,
|
|
4539
|
-
}, F7 = /* @__PURE__ */ P4.concat("iframe").join(","),
|
|
4538
|
+
return Ua.call(t, Qc) === !1 ? !1 : Dh(n, t);
|
|
4539
|
+
}, F7 = /* @__PURE__ */ P4.concat("iframe").join(","), wc = function(t, n) {
|
|
4540
4540
|
if (n = n || {}, !t)
|
|
4541
4541
|
throw new Error("No node provided");
|
|
4542
|
-
return Ua.call(t, F7) === !1 ? !1 :
|
|
4542
|
+
return Ua.call(t, F7) === !1 ? !1 : e1(n, t);
|
|
4543
4543
|
};
|
|
4544
4544
|
const B7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4545
4545
|
__proto__: null,
|
|
4546
4546
|
focusable: j4,
|
|
4547
4547
|
getTabIndex: ea,
|
|
4548
|
-
isFocusable:
|
|
4548
|
+
isFocusable: wc,
|
|
4549
4549
|
isTabbable: Oa,
|
|
4550
4550
|
tabbable: $4
|
|
4551
4551
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -4711,7 +4711,7 @@ var fg = {
|
|
|
4711
4711
|
var D = c("initialFocus");
|
|
4712
4712
|
if (D === !1)
|
|
4713
4713
|
return !1;
|
|
4714
|
-
if (D === void 0 || !
|
|
4714
|
+
if (D === void 0 || !wc(D, a.tabbableOptions))
|
|
4715
4715
|
if (u(r.activeElement) >= 0)
|
|
4716
4716
|
D = r.activeElement;
|
|
4717
4717
|
else {
|
|
@@ -4806,7 +4806,7 @@ var fg = {
|
|
|
4806
4806
|
var Z = U.firstTabbableNode;
|
|
4807
4807
|
return A === Z;
|
|
4808
4808
|
});
|
|
4809
|
-
if (S < 0 && (ee.container === A ||
|
|
4809
|
+
if (S < 0 && (ee.container === A || wc(A, a.tabbableOptions) && !Oa(A, a.tabbableOptions) && !ee.nextTabbableNode(A, !1)) && (S = te), S >= 0) {
|
|
4810
4810
|
var _ = S === 0 ? o.tabbableGroups.length - 1 : S - 1, V = o.tabbableGroups[_];
|
|
4811
4811
|
N = ea(A) >= 0 ? V.lastTabbableNode : V.lastDomTabbableNode;
|
|
4812
4812
|
} else
|
|
@@ -4816,7 +4816,7 @@ var fg = {
|
|
|
4816
4816
|
var Z = U.lastTabbableNode;
|
|
4817
4817
|
return A === Z;
|
|
4818
4818
|
});
|
|
4819
|
-
if (L < 0 && (ee.container === A ||
|
|
4819
|
+
if (L < 0 && (ee.container === A || wc(A, a.tabbableOptions) && !Oa(A, a.tabbableOptions) && !ee.nextTabbableNode(A)) && (L = te), L >= 0) {
|
|
4820
4820
|
var H = L === o.tabbableGroups.length - 1 ? 0 : L + 1, j = o.tabbableGroups[H];
|
|
4821
4821
|
N = ea(A) >= 0 ? j.firstTabbableNode : j.firstDomTabbableNode;
|
|
4822
4822
|
} else
|
|
@@ -5020,9 +5020,9 @@ function Oh(e, t) {
|
|
|
5020
5020
|
function X7(e) {
|
|
5021
5021
|
var t = e6();
|
|
5022
5022
|
return function() {
|
|
5023
|
-
var r =
|
|
5023
|
+
var r = t1(e), i;
|
|
5024
5024
|
if (t) {
|
|
5025
|
-
var a =
|
|
5025
|
+
var a = t1(this).constructor;
|
|
5026
5026
|
i = Reflect.construct(r, arguments, a);
|
|
5027
5027
|
} else
|
|
5028
5028
|
i = r.apply(this, arguments);
|
|
@@ -5053,10 +5053,10 @@ function e6() {
|
|
|
5053
5053
|
return !1;
|
|
5054
5054
|
}
|
|
5055
5055
|
}
|
|
5056
|
-
function
|
|
5057
|
-
return
|
|
5056
|
+
function t1(e) {
|
|
5057
|
+
return t1 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(n) {
|
|
5058
5058
|
return n.__proto__ || Object.getPrototypeOf(n);
|
|
5059
|
-
},
|
|
5059
|
+
}, t1(e);
|
|
5060
5060
|
}
|
|
5061
5061
|
function t6(e, t, n) {
|
|
5062
5062
|
return t = H4(t), t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
@@ -5521,7 +5521,7 @@ const Ui = "joinCommunityButton", U4 = ({
|
|
|
5521
5521
|
) }) }) : null
|
|
5522
5522
|
] });
|
|
5523
5523
|
};
|
|
5524
|
-
const
|
|
5524
|
+
const bd = "communityDetails_", yae = ({
|
|
5525
5525
|
className: e = "",
|
|
5526
5526
|
isMember: t = !1,
|
|
5527
5527
|
isOpen: n = !1,
|
|
@@ -5534,10 +5534,10 @@ const Ed = "communityDetails_", yae = ({
|
|
|
5534
5534
|
m ? /* @__PURE__ */ h.jsxs("div", { className: "member-details", children: [
|
|
5535
5535
|
/* @__PURE__ */ h.jsxs("div", { className: "top", children: [
|
|
5536
5536
|
/* @__PURE__ */ h.jsxs("h4", { children: [
|
|
5537
|
-
l.formatMessage({ id: `${
|
|
5537
|
+
l.formatMessage({ id: `${bd}members` }),
|
|
5538
5538
|
/* @__PURE__ */ h.jsx("span", { className: "count", children: f })
|
|
5539
5539
|
] }),
|
|
5540
|
-
g ? /* @__PURE__ */ h.jsx(h.Fragment, {}) : /* @__PURE__ */ h.jsx("p", { className: "text-small", children: /* @__PURE__ */ h.jsx("a", { href: `/communities/${r}/members`, children: l.formatMessage({ id: `${
|
|
5540
|
+
g ? /* @__PURE__ */ h.jsx(h.Fragment, {}) : /* @__PURE__ */ h.jsx("p", { className: "text-small", children: /* @__PURE__ */ h.jsx("a", { href: `/communities/${r}/members`, children: l.formatMessage({ id: `${bd}viewAll` }) }) })
|
|
5541
5541
|
] }),
|
|
5542
5542
|
c && /* @__PURE__ */ h.jsx(
|
|
5543
5543
|
D4,
|
|
@@ -5572,7 +5572,7 @@ const Ed = "communityDetails_", yae = ({
|
|
|
5572
5572
|
onClick: o,
|
|
5573
5573
|
icon: { icon: "plus" },
|
|
5574
5574
|
styling: { fullWidth: !0 },
|
|
5575
|
-
children: l.formatMessage({ id: `${
|
|
5575
|
+
children: l.formatMessage({ id: `${bd}invite` })
|
|
5576
5576
|
}
|
|
5577
5577
|
)
|
|
5578
5578
|
] }) : /* @__PURE__ */ h.jsx(h.Fragment, {})
|
|
@@ -5598,7 +5598,7 @@ const il = ({
|
|
|
5598
5598
|
children: /* @__PURE__ */ h.jsx("span", { className: "inner-text", children: n })
|
|
5599
5599
|
}
|
|
5600
5600
|
);
|
|
5601
|
-
}, c6 = "reply", oa = "00000000-0000-0000-0000-000000000000",
|
|
5601
|
+
}, c6 = "reply", oa = "00000000-0000-0000-0000-000000000000", Ac = "en";
|
|
5602
5602
|
function zp({ queryClient: e, queryKey: t }) {
|
|
5603
5603
|
function n(r, i, a) {
|
|
5604
5604
|
e.setQueryData(t, a);
|
|
@@ -5779,7 +5779,7 @@ function Wp(e) {
|
|
|
5779
5779
|
const gg = (e) => {
|
|
5780
5780
|
const t = {};
|
|
5781
5781
|
return Object.keys(e).forEach((n) => n.includes("Id") ? t[n] = e[n] : t[`${n}Slug`] = e[n]), t;
|
|
5782
|
-
},
|
|
5782
|
+
}, C1 = (e, t) => {
|
|
5783
5783
|
var n, r, i, a, o, s;
|
|
5784
5784
|
return t ? "anonymous" : e && !e.error ? {
|
|
5785
5785
|
id: e == null ? void 0 : e.id,
|
|
@@ -5869,7 +5869,7 @@ function Eg({ activity: e, options: t, user: n }) {
|
|
|
5869
5869
|
...m6(t, n)
|
|
5870
5870
|
};
|
|
5871
5871
|
}
|
|
5872
|
-
function
|
|
5872
|
+
function n1({
|
|
5873
5873
|
activity: e,
|
|
5874
5874
|
reaction: t
|
|
5875
5875
|
}) {
|
|
@@ -5902,7 +5902,7 @@ function V4({ activity: e, user: t }) {
|
|
|
5902
5902
|
)
|
|
5903
5903
|
});
|
|
5904
5904
|
}
|
|
5905
|
-
function
|
|
5905
|
+
function r1({
|
|
5906
5906
|
activity: e,
|
|
5907
5907
|
reaction: t
|
|
5908
5908
|
}) {
|
|
@@ -5959,7 +5959,7 @@ const G4 = (e, t, n) => {
|
|
|
5959
5959
|
id: o,
|
|
5960
5960
|
title: R,
|
|
5961
5961
|
body: B,
|
|
5962
|
-
author:
|
|
5962
|
+
author: C1(r, m),
|
|
5963
5963
|
deanonymisedAuthorId: y,
|
|
5964
5964
|
type: i,
|
|
5965
5965
|
// getstream returns UTC but doesn't include the Z needed to parse it correctly
|
|
@@ -6127,7 +6127,7 @@ const Kp = (e, t) => {
|
|
|
6127
6127
|
var r, i, a, o, s;
|
|
6128
6128
|
return ((i = (r = e == null ? void 0 : e.translations) == null ? void 0 : r[t]) == null ? void 0 : i.body) || ((o = (a = e == null ? void 0 : e.translations) == null ? void 0 : a[n]) == null ? void 0 : o.body) || ((s = e == null ? void 0 : e.original) == null ? void 0 : s.body) || "";
|
|
6129
6129
|
};
|
|
6130
|
-
let _g,
|
|
6130
|
+
let _g, Td = 0;
|
|
6131
6131
|
const Z4 = () => {
|
|
6132
6132
|
me(() => (document.addEventListener(
|
|
6133
6133
|
cn.DISCUSSION_POST_ADDED,
|
|
@@ -6145,10 +6145,10 @@ const Z4 = () => {
|
|
|
6145
6145
|
clearTimeout(_g);
|
|
6146
6146
|
const i = document.getElementById(n);
|
|
6147
6147
|
if (i) {
|
|
6148
|
-
i.scrollIntoView({ behavior: "smooth", block: "start" }),
|
|
6148
|
+
i.scrollIntoView({ behavior: "smooth", block: "start" }), Td = 0;
|
|
6149
6149
|
return;
|
|
6150
6150
|
}
|
|
6151
|
-
|
|
6151
|
+
Td++, !(Td > 10) && (_g = setTimeout(() => {
|
|
6152
6152
|
e(t);
|
|
6153
6153
|
}, 50));
|
|
6154
6154
|
};
|
|
@@ -6366,10 +6366,10 @@ function D6(e) {
|
|
|
6366
6366
|
}
|
|
6367
6367
|
const O6 = is(() => Promise.resolve().then(() => aF));
|
|
6368
6368
|
let al = !1;
|
|
6369
|
-
const
|
|
6369
|
+
const _d = () => {
|
|
6370
6370
|
al !== !1 && (clearTimeout(al), al = !1);
|
|
6371
6371
|
}, N6 = 5;
|
|
6372
|
-
let
|
|
6372
|
+
let Cd = null;
|
|
6373
6373
|
const I6 = ({
|
|
6374
6374
|
element: e = "div",
|
|
6375
6375
|
likes: t = 0,
|
|
@@ -6412,12 +6412,12 @@ const I6 = ({
|
|
|
6412
6412
|
[n]
|
|
6413
6413
|
), R = (A) => {
|
|
6414
6414
|
if (A.preventDefault(), A.stopPropagation(), y([{ type: "showLikers", value: !1 }]), al)
|
|
6415
|
-
return
|
|
6416
|
-
if (
|
|
6415
|
+
return _d(), !1;
|
|
6416
|
+
if (_d(), b || !o)
|
|
6417
6417
|
return !1;
|
|
6418
6418
|
al = setTimeout(B, 350);
|
|
6419
6419
|
}, B = async () => {
|
|
6420
|
-
if (
|
|
6420
|
+
if (_d(), b || !o)
|
|
6421
6421
|
return !1;
|
|
6422
6422
|
let A = E ? v - 1 : v + 1;
|
|
6423
6423
|
A < 0 && (A = 0), y([
|
|
@@ -6442,11 +6442,11 @@ const I6 = ({
|
|
|
6442
6442
|
y([{ type: "ignoreInteractions", value: !1 }]);
|
|
6443
6443
|
}
|
|
6444
6444
|
}, P = () => {
|
|
6445
|
-
|
|
6445
|
+
Cd = setTimeout(() => {
|
|
6446
6446
|
y([{ type: "showLikers", value: !1 }]);
|
|
6447
6447
|
}, 500);
|
|
6448
6448
|
}, D = () => {
|
|
6449
|
-
|
|
6449
|
+
Cd && clearTimeout(Cd);
|
|
6450
6450
|
};
|
|
6451
6451
|
return M.createElement(
|
|
6452
6452
|
e,
|
|
@@ -6739,56 +6739,61 @@ function L6({
|
|
|
6739
6739
|
createVote: u,
|
|
6740
6740
|
createPoll: c,
|
|
6741
6741
|
removeVote: d,
|
|
6742
|
-
removePoll: f
|
|
6742
|
+
removePoll: f,
|
|
6743
|
+
adminRemovePoll: p
|
|
6743
6744
|
},
|
|
6744
|
-
queryKey:
|
|
6745
|
-
filterOption:
|
|
6745
|
+
queryKey: g,
|
|
6746
|
+
filterOption: m
|
|
6746
6747
|
}) {
|
|
6747
|
-
const
|
|
6748
|
+
const y = Dp(), v = Lp(), E = { queryClient: y, queryKey: g }, b = {
|
|
6748
6749
|
mutationHandlers: {
|
|
6749
|
-
error: zp(
|
|
6750
|
-
mutate: qp(
|
|
6750
|
+
error: zp(E),
|
|
6751
|
+
mutate: qp(E)
|
|
6751
6752
|
},
|
|
6752
|
-
user:
|
|
6753
|
-
...
|
|
6754
|
-
},
|
|
6755
|
-
...
|
|
6753
|
+
user: v,
|
|
6754
|
+
...E
|
|
6755
|
+
}, T = P6({ ...b, mutationFn: e }), C = B6({ ...b, mutationFn: t }), w = M6({ ...b, mutationFn: n }), k = _u({ ...b, mutationFn: i }), I = _u({
|
|
6756
|
+
...b,
|
|
6756
6757
|
mutationFn: a ?? (() => Promise.resolve())
|
|
6757
|
-
}),
|
|
6758
|
-
...
|
|
6758
|
+
}), R = a ? I : void 0, B = U6({ ...b, mutationFn: o }), P = j6({ ...b, mutationFn: s }), D = z6({ ...b, mutationFn: l }), A = F6({
|
|
6759
|
+
...b,
|
|
6759
6760
|
mutationFn: u
|
|
6760
|
-
}),
|
|
6761
|
-
...
|
|
6761
|
+
}), F = R6({
|
|
6762
|
+
...b,
|
|
6762
6763
|
mutationFn: c
|
|
6763
|
-
}),
|
|
6764
|
-
...
|
|
6764
|
+
}), $ = H6({
|
|
6765
|
+
...b,
|
|
6765
6766
|
mutationFn: d
|
|
6766
|
-
}),
|
|
6767
|
-
...
|
|
6767
|
+
}), z = _u({
|
|
6768
|
+
...b,
|
|
6768
6769
|
mutationFn: f
|
|
6769
|
-
}),
|
|
6770
|
-
|
|
6770
|
+
}), N = _u({
|
|
6771
|
+
...b,
|
|
6772
|
+
mutationFn: p ?? (() => Promise.resolve())
|
|
6773
|
+
}), te = p ? N : void 0, { activities: ee, ...S } = $6({
|
|
6774
|
+
queryKey: g,
|
|
6771
6775
|
queryFn: r,
|
|
6772
|
-
filterOption:
|
|
6776
|
+
filterOption: m
|
|
6773
6777
|
});
|
|
6774
6778
|
return {
|
|
6775
|
-
activities:
|
|
6779
|
+
activities: ee,
|
|
6776
6780
|
mutations: {
|
|
6777
|
-
create:
|
|
6778
|
-
edit:
|
|
6779
|
-
remove:
|
|
6780
|
-
adminRemove:
|
|
6781
|
-
like:
|
|
6782
|
-
unlike:
|
|
6783
|
-
pin:
|
|
6784
|
-
unpin:
|
|
6785
|
-
createVote:
|
|
6786
|
-
createPoll:
|
|
6787
|
-
removeVote:
|
|
6788
|
-
removePoll:
|
|
6789
|
-
|
|
6790
|
-
|
|
6791
|
-
|
|
6781
|
+
create: T,
|
|
6782
|
+
edit: C,
|
|
6783
|
+
remove: k,
|
|
6784
|
+
adminRemove: R,
|
|
6785
|
+
like: w,
|
|
6786
|
+
unlike: B,
|
|
6787
|
+
pin: P,
|
|
6788
|
+
unpin: D,
|
|
6789
|
+
createVote: A,
|
|
6790
|
+
createPoll: F,
|
|
6791
|
+
removeVote: $,
|
|
6792
|
+
removePoll: z,
|
|
6793
|
+
adminRemovePoll: te
|
|
6794
|
+
},
|
|
6795
|
+
user: v,
|
|
6796
|
+
...S
|
|
6792
6797
|
};
|
|
6793
6798
|
}
|
|
6794
6799
|
function M6({
|
|
@@ -6801,12 +6806,12 @@ function M6({
|
|
|
6801
6806
|
mutationFn: e,
|
|
6802
6807
|
onMutate: ({ activityId: o }) => t((s) => {
|
|
6803
6808
|
const l = zn(o, s);
|
|
6804
|
-
return l &&
|
|
6809
|
+
return l && n1({ activity: l }), s;
|
|
6805
6810
|
}),
|
|
6806
6811
|
onError: n,
|
|
6807
6812
|
onSuccess: (o, { activityId: s }, l) => {
|
|
6808
6813
|
const u = zn(s, l);
|
|
6809
|
-
u &&
|
|
6814
|
+
u && n1({ activity: u, reaction: o }), r.setQueryData(i, l);
|
|
6810
6815
|
}
|
|
6811
6816
|
});
|
|
6812
6817
|
return a;
|
|
@@ -6840,17 +6845,17 @@ function j6({
|
|
|
6840
6845
|
mutationFn: e,
|
|
6841
6846
|
onMutate: ({ activityId: o }) => t((s) => {
|
|
6842
6847
|
const l = zn(o, s);
|
|
6843
|
-
return l &&
|
|
6848
|
+
return l && r1({ activity: l }), s;
|
|
6844
6849
|
}),
|
|
6845
6850
|
onError: n,
|
|
6846
6851
|
onSuccess: (o, { activityId: s }, l) => {
|
|
6847
6852
|
const u = zn(s, l);
|
|
6848
|
-
u &&
|
|
6853
|
+
u && r1({ activity: u, reaction: o }), r.setQueryData(i, l);
|
|
6849
6854
|
}
|
|
6850
6855
|
});
|
|
6851
6856
|
return a;
|
|
6852
6857
|
}
|
|
6853
|
-
function
|
|
6858
|
+
function _u({
|
|
6854
6859
|
mutationFn: e,
|
|
6855
6860
|
mutationHandlers: { mutate: t, error: n }
|
|
6856
6861
|
}) {
|
|
@@ -7063,7 +7068,7 @@ const q6 = [
|
|
|
7063
7068
|
var G;
|
|
7064
7069
|
const { id: j, own_reactions: U, latest_reactions: Z } = L, Q = (((G = U == null ? void 0 : U.like) == null ? void 0 : G.length) || 0) > 0 ? U == null ? void 0 : U.like[0].id : "";
|
|
7065
7070
|
return /* @__PURE__ */ h.jsx(wl, { children: /* @__PURE__ */ h.jsx(
|
|
7066
|
-
|
|
7071
|
+
ld,
|
|
7067
7072
|
{
|
|
7068
7073
|
content: {
|
|
7069
7074
|
...G4(L, i, g),
|
|
@@ -7131,7 +7136,7 @@ const q6 = [
|
|
|
7131
7136
|
) }, j);
|
|
7132
7137
|
}),
|
|
7133
7138
|
!I && /* @__PURE__ */ h.jsx(
|
|
7134
|
-
|
|
7139
|
+
N1,
|
|
7135
7140
|
{
|
|
7136
7141
|
hasNextPage: k,
|
|
7137
7142
|
loadNextPage: V,
|
|
@@ -8321,7 +8326,7 @@ const Q4 = ({
|
|
|
8321
8326
|
}
|
|
8322
8327
|
}), n;
|
|
8323
8328
|
};
|
|
8324
|
-
const
|
|
8329
|
+
const Cu = "emailHelperTextBox_", V6 = ({
|
|
8325
8330
|
id: e = "email-helper-textbox",
|
|
8326
8331
|
type: t,
|
|
8327
8332
|
email: n,
|
|
@@ -8329,7 +8334,7 @@ const _u = "emailHelperTextBox_", V6 = ({
|
|
|
8329
8334
|
resendVerificationCode: i
|
|
8330
8335
|
}) => {
|
|
8331
8336
|
const a = ge(), [o, s] = ue({
|
|
8332
|
-
path: `${
|
|
8337
|
+
path: `${Cu}default`,
|
|
8333
8338
|
type: "default",
|
|
8334
8339
|
link: {},
|
|
8335
8340
|
mail: {},
|
|
@@ -8339,7 +8344,7 @@ const _u = "emailHelperTextBox_", V6 = ({
|
|
|
8339
8344
|
g.preventDefault(), g.stopPropagation();
|
|
8340
8345
|
const m = (y) => {
|
|
8341
8346
|
s({
|
|
8342
|
-
path: `${
|
|
8347
|
+
path: `${Cu}error_verificationFailedToSend`,
|
|
8343
8348
|
type: "error",
|
|
8344
8349
|
link: {
|
|
8345
8350
|
"data-gtm-event-context": "VerifyEmailBox",
|
|
@@ -8359,7 +8364,7 @@ const _u = "emailHelperTextBox_", V6 = ({
|
|
|
8359
8364
|
});
|
|
8360
8365
|
};
|
|
8361
8366
|
if (typeof i != "function") {
|
|
8362
|
-
m(a.formatMessage({ id: `${
|
|
8367
|
+
m(a.formatMessage({ id: `${Cu}error_noFunction` }));
|
|
8363
8368
|
return;
|
|
8364
8369
|
}
|
|
8365
8370
|
u(!0), i(n).then(() => {
|
|
@@ -8375,7 +8380,7 @@ const _u = "emailHelperTextBox_", V6 = ({
|
|
|
8375
8380
|
);
|
|
8376
8381
|
me(
|
|
8377
8382
|
() => {
|
|
8378
|
-
let g =
|
|
8383
|
+
let g = Cu, m = "default", y = {}, v = {};
|
|
8379
8384
|
switch (t) {
|
|
8380
8385
|
case "gov":
|
|
8381
8386
|
g += "autoApproved", m = "success";
|
|
@@ -9702,7 +9707,7 @@ const si = ({
|
|
|
9702
9707
|
I && S && /* @__PURE__ */ h.jsx(Nl, { className: "success", children: typeof I == "string" ? I : F.formatMessage({ id: "form_success" }) })
|
|
9703
9708
|
] });
|
|
9704
9709
|
};
|
|
9705
|
-
const
|
|
9710
|
+
const xu = "passwordRules_", eb = "isMoreThanEightCharacters", tb = "includesNumberAndSymbol", nb = "includesLowerAndUppercase", ew = {
|
|
9706
9711
|
[eb]: "8Characters",
|
|
9707
9712
|
[tb]: "numberSymbol",
|
|
9708
9713
|
[nb]: "lowercaseUppercase"
|
|
@@ -9716,7 +9721,7 @@ const Cu = "passwordRules_", eb = "isMoreThanEightCharacters", tb = "includesNum
|
|
|
9716
9721
|
}) => {
|
|
9717
9722
|
const n = ge();
|
|
9718
9723
|
return /* @__PURE__ */ h.jsxs("aside", { className: ne("password-rules", t), children: [
|
|
9719
|
-
/* @__PURE__ */ h.jsx("small", { children: n.formatMessage({ id: `${
|
|
9724
|
+
/* @__PURE__ */ h.jsx("small", { children: n.formatMessage({ id: `${xu}intro` }) }),
|
|
9720
9725
|
/* @__PURE__ */ h.jsx("ul", { children: [eb, tb, nb].map(
|
|
9721
9726
|
(r) => /* @__PURE__ */ h.jsxs(
|
|
9722
9727
|
"li",
|
|
@@ -9724,13 +9729,13 @@ const Cu = "passwordRules_", eb = "isMoreThanEightCharacters", tb = "includesNum
|
|
|
9724
9729
|
className: ne({ matches: e[r] }),
|
|
9725
9730
|
children: [
|
|
9726
9731
|
/* @__PURE__ */ h.jsxs(bt, { children: [
|
|
9727
|
-
n.formatMessage({ id: `${
|
|
9732
|
+
n.formatMessage({ id: `${xu}rule_label` }),
|
|
9728
9733
|
" "
|
|
9729
9734
|
] }),
|
|
9730
|
-
/* @__PURE__ */ h.jsx("span", { children: n.formatMessage({ id: `${
|
|
9735
|
+
/* @__PURE__ */ h.jsx("span", { children: n.formatMessage({ id: `${xu}rule_${ew[r]}` }) }),
|
|
9731
9736
|
!e[r] && /* @__PURE__ */ h.jsxs(bt, { element: "strong", children: [
|
|
9732
9737
|
" ",
|
|
9733
|
-
n.formatMessage({ id: `${
|
|
9738
|
+
n.formatMessage({ id: `${xu}notMet` })
|
|
9734
9739
|
] })
|
|
9735
9740
|
]
|
|
9736
9741
|
},
|
|
@@ -9868,7 +9873,7 @@ const aw = ({
|
|
|
9868
9873
|
return /* @__PURE__ */ h.jsx("li", { ...e, children: t });
|
|
9869
9874
|
case re.mention:
|
|
9870
9875
|
const i = r;
|
|
9871
|
-
return i != null && i.name && i.name ===
|
|
9876
|
+
return i != null && i.name && i.name === Yc ? /* @__PURE__ */ h.jsxs("span", { ...e, className: "mention deleted-user", children: [
|
|
9872
9877
|
"@",
|
|
9873
9878
|
/* @__PURE__ */ h.jsx(Mt, { id: "member_deleted" }),
|
|
9874
9879
|
t
|
|
@@ -10037,7 +10042,7 @@ const mA = /* @__PURE__ */ Br(pA), Og = (e) => typeof e == "object" && e != null
|
|
|
10037
10042
|
})(e);
|
|
10038
10043
|
}
|
|
10039
10044
|
return !1;
|
|
10040
|
-
},
|
|
10045
|
+
}, wu = (e, t, n, r, i, a, o, s) => a < e && o > t || a > e && o < t ? 0 : a <= e && s <= n || o >= t && s >= n ? a - e - r : o > t && s < n || a < e && s > n ? o - t + i : 0, gA = (e) => {
|
|
10041
10046
|
const t = e.parentElement;
|
|
10042
10047
|
return t ?? (e.getRootNode().host || null);
|
|
10043
10048
|
}, Ig = (e, t) => {
|
|
@@ -10070,9 +10075,9 @@ const mA = /* @__PURE__ */ Br(pA), Og = (e) => typeof e == "object" && e != null
|
|
|
10070
10075
|
let Q = 0, G = 0;
|
|
10071
10076
|
const oe = "offsetWidth" in N ? N.offsetWidth - N.clientWidth - j - Z : 0, ie = "offsetHeight" in N ? N.offsetHeight - N.clientHeight - U - se : 0, xe = "offsetWidth" in N ? N.offsetWidth === 0 ? 0 : ee / N.offsetWidth : 0, ke = "offsetHeight" in N ? N.offsetHeight === 0 ? 0 : te / N.offsetHeight : 0;
|
|
10072
10077
|
if (f === N)
|
|
10073
|
-
Q = s === "start" ? A : s === "end" ? A - y : s === "nearest" ?
|
|
10078
|
+
Q = s === "start" ? A : s === "end" ? A - y : s === "nearest" ? wu(E, E + y, y, U, se, E + A, E + A + b, b) : A - y / 2, G = l === "start" ? F : l === "center" ? F - m / 2 : l === "end" ? F - m : wu(v, v + m, m, j, Z, v + F, v + F + T, T), Q = Math.max(0, Q + E), G = Math.max(0, G + v);
|
|
10074
10079
|
else {
|
|
10075
|
-
Q = s === "start" ? A - S - U : s === "end" ? A - V + se + ie : s === "nearest" ?
|
|
10080
|
+
Q = s === "start" ? A - S - U : s === "end" ? A - V + se + ie : s === "nearest" ? wu(S, V, te, U, se + ie, A, A + b, b) : A - (S + te / 2) + ie / 2, G = l === "start" ? F - L - j : l === "center" ? F - (L + ee / 2) + oe / 2 : l === "end" ? F - _ + Z + oe : wu(L, _, ee, j, Z + oe, F, F + T, T);
|
|
10076
10081
|
const { scrollLeft: Be, scrollTop: qe } = N;
|
|
10077
10082
|
Q = ke === 0 ? 0 : Math.max(0, Math.min(qe + Q / ke, N.scrollHeight - te / ke + ie)), G = xe === 0 ? 0 : Math.max(0, Math.min(Be + G / xe, N.scrollWidth - ee / xe + oe)), A += qe - Q, F += Be - G;
|
|
10078
10083
|
}
|
|
@@ -10162,7 +10167,7 @@ function za(e) {
|
|
|
10162
10167
|
}
|
|
10163
10168
|
function qa(e) {
|
|
10164
10169
|
var t;
|
|
10165
|
-
return e ? db(e) || Array.isArray(e) || !!e[Rg] || !!((t = e.constructor) != null && t[Rg]) ||
|
|
10170
|
+
return e ? db(e) || Array.isArray(e) || !!e[Rg] || !!((t = e.constructor) != null && t[Rg]) || w1(e) || A1(e) : !1;
|
|
10166
10171
|
}
|
|
10167
10172
|
var bA = Object.prototype.constructor.toString();
|
|
10168
10173
|
function db(e) {
|
|
@@ -10174,38 +10179,38 @@ function db(e) {
|
|
|
10174
10179
|
const n = Object.hasOwnProperty.call(t, "constructor") && t.constructor;
|
|
10175
10180
|
return n === Object ? !0 : typeof n == "function" && Function.toString.call(n) === bA;
|
|
10176
10181
|
}
|
|
10177
|
-
function
|
|
10178
|
-
|
|
10182
|
+
function i1(e, t) {
|
|
10183
|
+
x1(e) === 0 ? Reflect.ownKeys(e).forEach((n) => {
|
|
10179
10184
|
t(n, e[n], e);
|
|
10180
10185
|
}) : e.forEach((n, r) => t(r, n, e));
|
|
10181
10186
|
}
|
|
10182
|
-
function
|
|
10187
|
+
function x1(e) {
|
|
10183
10188
|
const t = e[er];
|
|
10184
|
-
return t ? t.type_ : Array.isArray(e) ? 1 :
|
|
10189
|
+
return t ? t.type_ : Array.isArray(e) ? 1 : w1(e) ? 2 : A1(e) ? 3 : 0;
|
|
10185
10190
|
}
|
|
10186
10191
|
function Nh(e, t) {
|
|
10187
|
-
return
|
|
10192
|
+
return x1(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
|
|
10188
10193
|
}
|
|
10189
10194
|
function fb(e, t, n) {
|
|
10190
|
-
const r =
|
|
10195
|
+
const r = x1(e);
|
|
10191
10196
|
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
|
|
10192
10197
|
}
|
|
10193
10198
|
function TA(e, t) {
|
|
10194
10199
|
return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t;
|
|
10195
10200
|
}
|
|
10196
|
-
function
|
|
10201
|
+
function w1(e) {
|
|
10197
10202
|
return e instanceof Map;
|
|
10198
10203
|
}
|
|
10199
|
-
function
|
|
10204
|
+
function A1(e) {
|
|
10200
10205
|
return e instanceof Set;
|
|
10201
10206
|
}
|
|
10202
10207
|
function Na(e) {
|
|
10203
10208
|
return e.copy_ || e.base_;
|
|
10204
10209
|
}
|
|
10205
10210
|
function Ih(e, t) {
|
|
10206
|
-
if (x1(e))
|
|
10207
|
-
return new Map(e);
|
|
10208
10211
|
if (w1(e))
|
|
10212
|
+
return new Map(e);
|
|
10213
|
+
if (A1(e))
|
|
10209
10214
|
return new Set(e);
|
|
10210
10215
|
if (Array.isArray(e))
|
|
10211
10216
|
return Array.prototype.slice.call(e);
|
|
@@ -10234,12 +10239,12 @@ function Ih(e, t) {
|
|
|
10234
10239
|
}
|
|
10235
10240
|
}
|
|
10236
10241
|
function Qp(e, t = !1) {
|
|
10237
|
-
return
|
|
10242
|
+
return k1(e) || za(e) || !qa(e) || (x1(e) > 1 && (e.set = e.add = e.clear = e.delete = _A), Object.freeze(e), t && Object.entries(e).forEach(([n, r]) => Qp(r, !0))), e;
|
|
10238
10243
|
}
|
|
10239
10244
|
function _A() {
|
|
10240
10245
|
Mn(2);
|
|
10241
10246
|
}
|
|
10242
|
-
function
|
|
10247
|
+
function k1(e) {
|
|
10243
10248
|
return Object.isFrozen(e);
|
|
10244
10249
|
}
|
|
10245
10250
|
var CA = {};
|
|
@@ -10281,34 +10286,34 @@ function wA(e) {
|
|
|
10281
10286
|
function Lg(e, t) {
|
|
10282
10287
|
t.unfinalizedDrafts_ = t.drafts_.length;
|
|
10283
10288
|
const n = t.drafts_[0];
|
|
10284
|
-
return e !== void 0 && e !== n ? (n[er].modified_ && (Ph(t), Mn(4)), qa(e) && (e =
|
|
10289
|
+
return e !== void 0 && e !== n ? (n[er].modified_ && (Ph(t), Mn(4)), qa(e) && (e = a1(t, e), t.parent_ || o1(t, e)), t.patches_ && Wa("Patches").generateReplacementPatches_(
|
|
10285
10290
|
n[er].base_,
|
|
10286
10291
|
e,
|
|
10287
10292
|
t.patches_,
|
|
10288
10293
|
t.inversePatches_
|
|
10289
|
-
)) : e =
|
|
10294
|
+
)) : e = a1(t, n, []), Ph(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e !== cb ? e : void 0;
|
|
10290
10295
|
}
|
|
10291
|
-
function
|
|
10292
|
-
if (
|
|
10296
|
+
function a1(e, t, n) {
|
|
10297
|
+
if (k1(t))
|
|
10293
10298
|
return t;
|
|
10294
10299
|
const r = t[er];
|
|
10295
10300
|
if (!r)
|
|
10296
|
-
return
|
|
10301
|
+
return i1(
|
|
10297
10302
|
t,
|
|
10298
10303
|
(i, a) => Mg(e, r, t, i, a, n)
|
|
10299
10304
|
), t;
|
|
10300
10305
|
if (r.scope_ !== e)
|
|
10301
10306
|
return t;
|
|
10302
10307
|
if (!r.modified_)
|
|
10303
|
-
return
|
|
10308
|
+
return o1(e, r.base_, !0), r.base_;
|
|
10304
10309
|
if (!r.finalized_) {
|
|
10305
10310
|
r.finalized_ = !0, r.scope_.unfinalizedDrafts_--;
|
|
10306
10311
|
const i = r.copy_;
|
|
10307
10312
|
let a = i, o = !1;
|
|
10308
|
-
r.type_ === 3 && (a = new Set(i), i.clear(), o = !0),
|
|
10313
|
+
r.type_ === 3 && (a = new Set(i), i.clear(), o = !0), i1(
|
|
10309
10314
|
a,
|
|
10310
10315
|
(s, l) => Mg(e, r, i, s, l, n, o)
|
|
10311
|
-
),
|
|
10316
|
+
), o1(e, i, !1), n && e.patches_ && Wa("Patches").generatePatches_(
|
|
10312
10317
|
r,
|
|
10313
10318
|
n,
|
|
10314
10319
|
e.patches_,
|
|
@@ -10320,20 +10325,20 @@ function i1(e, t, n) {
|
|
|
10320
10325
|
function Mg(e, t, n, r, i, a, o) {
|
|
10321
10326
|
if (process.env.NODE_ENV !== "production" && i === n && Mn(5), za(i)) {
|
|
10322
10327
|
const s = a && t && t.type_ !== 3 && // Set objects are atomic since they have no keys.
|
|
10323
|
-
!Nh(t.assigned_, r) ? a.concat(r) : void 0, l =
|
|
10328
|
+
!Nh(t.assigned_, r) ? a.concat(r) : void 0, l = a1(e, i, s);
|
|
10324
10329
|
if (fb(n, r, l), za(l))
|
|
10325
10330
|
e.canAutoFreeze_ = !1;
|
|
10326
10331
|
else
|
|
10327
10332
|
return;
|
|
10328
10333
|
} else
|
|
10329
10334
|
o && n.add(i);
|
|
10330
|
-
if (qa(i) && !
|
|
10335
|
+
if (qa(i) && !k1(i)) {
|
|
10331
10336
|
if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1)
|
|
10332
10337
|
return;
|
|
10333
|
-
|
|
10338
|
+
a1(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && Object.prototype.propertyIsEnumerable.call(n, r) && o1(e, i);
|
|
10334
10339
|
}
|
|
10335
10340
|
}
|
|
10336
|
-
function
|
|
10341
|
+
function o1(e, t, n = !1) {
|
|
10337
10342
|
!e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && Qp(t, n);
|
|
10338
10343
|
}
|
|
10339
10344
|
function AA(e, t) {
|
|
@@ -10421,7 +10426,7 @@ var Xp = {
|
|
|
10421
10426
|
Mn(12);
|
|
10422
10427
|
}
|
|
10423
10428
|
}, Pl = {};
|
|
10424
|
-
|
|
10429
|
+
i1(Xp, (e, t) => {
|
|
10425
10430
|
Pl[e] = function() {
|
|
10426
10431
|
return arguments[0] = arguments[0][0], t.apply(this, arguments);
|
|
10427
10432
|
};
|
|
@@ -10549,14 +10554,14 @@ var SA = class {
|
|
|
10549
10554
|
}
|
|
10550
10555
|
};
|
|
10551
10556
|
function Bh(e, t) {
|
|
10552
|
-
const n =
|
|
10557
|
+
const n = w1(e) ? Wa("MapSet").proxyMap_(e, t) : A1(e) ? Wa("MapSet").proxySet_(e, t) : AA(e, t);
|
|
10553
10558
|
return (t ? t.scope_ : hb()).drafts_.push(n), n;
|
|
10554
10559
|
}
|
|
10555
10560
|
function DA(e) {
|
|
10556
10561
|
return za(e) || Mn(10, e), mb(e);
|
|
10557
10562
|
}
|
|
10558
10563
|
function mb(e) {
|
|
10559
|
-
if (!qa(e) ||
|
|
10564
|
+
if (!qa(e) || k1(e))
|
|
10560
10565
|
return e;
|
|
10561
10566
|
const t = e[er];
|
|
10562
10567
|
let n;
|
|
@@ -10566,7 +10571,7 @@ function mb(e) {
|
|
|
10566
10571
|
t.finalized_ = !0, n = Ih(e, t.scope_.immer_.useStrictShallowCopy_);
|
|
10567
10572
|
} else
|
|
10568
10573
|
n = Ih(e, !0);
|
|
10569
|
-
return
|
|
10574
|
+
return i1(n, (r, i) => {
|
|
10570
10575
|
fb(n, r, mb(i));
|
|
10571
10576
|
}), t && (t.finalized_ = !1), n;
|
|
10572
10577
|
}
|
|
@@ -10616,7 +10621,7 @@ var $g = tr.createDraft.bind(tr), jg = tr.finishDraft.bind(tr), OA = {
|
|
|
10616
10621
|
e.current = i, i == null && e.unref();
|
|
10617
10622
|
}
|
|
10618
10623
|
}
|
|
10619
|
-
},
|
|
10624
|
+
}, s1 = /* @__PURE__ */ new WeakMap(), l1 = /* @__PURE__ */ new WeakMap(), ol = /* @__PURE__ */ new WeakMap(), gb = /* @__PURE__ */ new WeakMap(), Hg = /* @__PURE__ */ new WeakMap(), Ug = /* @__PURE__ */ new WeakMap(), zg = /* @__PURE__ */ new WeakMap(), K = {
|
|
10620
10625
|
ancestors(e) {
|
|
10621
10626
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, {
|
|
10622
10627
|
reverse: n = !1
|
|
@@ -12128,7 +12133,7 @@ function tv(e, t) {
|
|
|
12128
12133
|
}
|
|
12129
12134
|
return n;
|
|
12130
12135
|
}
|
|
12131
|
-
function
|
|
12136
|
+
function Au(e) {
|
|
12132
12137
|
for (var t = 1; t < arguments.length; t++) {
|
|
12133
12138
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
12134
12139
|
t % 2 ? tv(Object(n), !0).forEach(function(r) {
|
|
@@ -12139,17 +12144,17 @@ function wu(e) {
|
|
|
12139
12144
|
}
|
|
12140
12145
|
return e;
|
|
12141
12146
|
}
|
|
12142
|
-
var le =
|
|
12143
|
-
var r =
|
|
12144
|
-
|
|
12147
|
+
var le = Au(Au(Au(Au({}, BA), LA), MA), vk), kc = /* @__PURE__ */ new WeakMap(), yk = (e) => kc.get(e) || !1, Ek = (e, t, n) => {
|
|
12148
|
+
var r = kc.get(e) || !1;
|
|
12149
|
+
kc.set(e, !0);
|
|
12145
12150
|
try {
|
|
12146
12151
|
t(), n();
|
|
12147
12152
|
} finally {
|
|
12148
|
-
|
|
12153
|
+
kc.set(e, r);
|
|
12149
12154
|
}
|
|
12150
12155
|
};
|
|
12151
12156
|
function yb(e, t, n) {
|
|
12152
|
-
var r =
|
|
12157
|
+
var r = s1.get(e) || [], i = l1.get(e) || /* @__PURE__ */ new Set(), a, o, s = (d) => {
|
|
12153
12158
|
if (d) {
|
|
12154
12159
|
var f = d.join(",");
|
|
12155
12160
|
o.has(f) || (o.add(f), a.push(d));
|
|
@@ -12165,7 +12170,7 @@ function yb(e, t, n) {
|
|
|
12165
12170
|
a = r, o = i;
|
|
12166
12171
|
for (var c of t)
|
|
12167
12172
|
s(c);
|
|
12168
|
-
|
|
12173
|
+
s1.set(e, a), l1.set(e, o);
|
|
12169
12174
|
}
|
|
12170
12175
|
var bk = (e, t) => {
|
|
12171
12176
|
for (var n of O.pathRefs(e))
|
|
@@ -12803,7 +12808,7 @@ var lS = function(t) {
|
|
|
12803
12808
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, {
|
|
12804
12809
|
force: r = !1,
|
|
12805
12810
|
operation: i
|
|
12806
|
-
} = n, a = (c) =>
|
|
12811
|
+
} = n, a = (c) => s1.get(c) || [], o = (c) => l1.get(c) || /* @__PURE__ */ new Set(), s = (c) => {
|
|
12807
12812
|
var d = a(c).pop(), f = d.join(",");
|
|
12808
12813
|
return o(c).delete(f), d;
|
|
12809
12814
|
};
|
|
@@ -12813,7 +12818,7 @@ var lS = function(t) {
|
|
|
12813
12818
|
var [, d] = c;
|
|
12814
12819
|
return d;
|
|
12815
12820
|
}), u = new Set(l.map((c) => c.join(",")));
|
|
12816
|
-
|
|
12821
|
+
s1.set(t, l), l1.set(t, u);
|
|
12817
12822
|
}
|
|
12818
12823
|
a(t).length !== 0 && O.withoutNormalizing(t, () => {
|
|
12819
12824
|
for (var c of a(t))
|
|
@@ -14579,7 +14584,7 @@ var $a = function(e) {
|
|
|
14579
14584
|
return !0;
|
|
14580
14585
|
}
|
|
14581
14586
|
return !1;
|
|
14582
|
-
}, sl = typeof window < "u" ? window : {},
|
|
14587
|
+
}, sl = typeof window < "u" ? window : {}, ku = /* @__PURE__ */ new WeakMap(), bv = /auto|scroll/, tD = /^tb|vertical/, nD = /msie|trident/i.test(sl.navigator && sl.navigator.userAgent), Hr = function(e) {
|
|
14583
14588
|
return parseFloat(e || "0");
|
|
14584
14589
|
}, Mo = function(e, t, n) {
|
|
14585
14590
|
return e === void 0 && (e = 0), t === void 0 && (t = 0), n === void 0 && (n = !1), new JS((n ? t : e) || 0, (n ? e : t) || 0);
|
|
@@ -14589,17 +14594,17 @@ var $a = function(e) {
|
|
|
14589
14594
|
contentBoxSize: Mo(),
|
|
14590
14595
|
contentRect: new bb(0, 0, 0, 0)
|
|
14591
14596
|
}), _b = function(e, t) {
|
|
14592
|
-
if (t === void 0 && (t = !1),
|
|
14593
|
-
return
|
|
14597
|
+
if (t === void 0 && (t = !1), ku.has(e) && !t)
|
|
14598
|
+
return ku.get(e);
|
|
14594
14599
|
if (Tb(e))
|
|
14595
|
-
return
|
|
14600
|
+
return ku.set(e, Tv), Tv;
|
|
14596
14601
|
var n = getComputedStyle(e), r = rm(e) && e.ownerSVGElement && e.getBBox(), i = !nD && n.boxSizing === "border-box", a = tD.test(n.writingMode || ""), o = !r && bv.test(n.overflowY || ""), s = !r && bv.test(n.overflowX || ""), l = r ? 0 : Hr(n.paddingTop), u = r ? 0 : Hr(n.paddingRight), c = r ? 0 : Hr(n.paddingBottom), d = r ? 0 : Hr(n.paddingLeft), f = r ? 0 : Hr(n.borderTopWidth), p = r ? 0 : Hr(n.borderRightWidth), g = r ? 0 : Hr(n.borderBottomWidth), m = r ? 0 : Hr(n.borderLeftWidth), y = d + u, v = l + c, E = m + p, b = f + g, T = s ? e.offsetHeight - b - e.clientHeight : 0, C = o ? e.offsetWidth - E - e.clientWidth : 0, w = i ? y + E : 0, k = i ? v + b : 0, I = r ? r.width : Hr(n.width) - w - C, R = r ? r.height : Hr(n.height) - k - T, B = I + y + C + E, P = R + v + T + b, D = $a({
|
|
14597
14602
|
devicePixelContentBoxSize: Mo(Math.round(I * devicePixelRatio), Math.round(R * devicePixelRatio), a),
|
|
14598
14603
|
borderBoxSize: Mo(B, P, a),
|
|
14599
14604
|
contentBoxSize: Mo(I, R, a),
|
|
14600
14605
|
contentRect: new bb(d, l, I, R)
|
|
14601
14606
|
});
|
|
14602
|
-
return
|
|
14607
|
+
return ku.set(e, D), D;
|
|
14603
14608
|
}, Cb = function(e, t, n) {
|
|
14604
14609
|
var r = _b(e, n), i = r.borderBoxSize, a = r.contentBoxSize, o = r.devicePixelContentBoxSize;
|
|
14605
14610
|
switch (t) {
|
|
@@ -14669,8 +14674,8 @@ var $a = function(e) {
|
|
|
14669
14674
|
sD(function() {
|
|
14670
14675
|
requestAnimationFrame(e);
|
|
14671
14676
|
});
|
|
14672
|
-
},
|
|
14673
|
-
return !!
|
|
14677
|
+
}, Sc = 0, uD = function() {
|
|
14678
|
+
return !!Sc;
|
|
14674
14679
|
}, cD = 250, dD = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, Cv = [
|
|
14675
14680
|
"resize",
|
|
14676
14681
|
"load",
|
|
@@ -14730,7 +14735,7 @@ var $a = function(e) {
|
|
|
14730
14735
|
}), this.stopped = !0);
|
|
14731
14736
|
}, e;
|
|
14732
14737
|
}(), Lh = new fD(), wv = function(e) {
|
|
14733
|
-
!
|
|
14738
|
+
!Sc && e > 0 && Lh.start(), Sc += e, !Sc && Lh.stop();
|
|
14734
14739
|
}, hD = function(e) {
|
|
14735
14740
|
return !rm(e) && !eD(e) && getComputedStyle(e).display === "inline";
|
|
14736
14741
|
}, pD = function() {
|
|
@@ -14749,25 +14754,25 @@ var $a = function(e) {
|
|
|
14749
14754
|
this.activeTargets = [], this.skippedTargets = [], this.observationTargets = [], this.observer = t, this.callback = n;
|
|
14750
14755
|
}
|
|
14751
14756
|
return e;
|
|
14752
|
-
}(),
|
|
14757
|
+
}(), Su = /* @__PURE__ */ new WeakMap(), Av = function(e, t) {
|
|
14753
14758
|
for (var n = 0; n < e.length; n += 1)
|
|
14754
14759
|
if (e[n].target === t)
|
|
14755
14760
|
return n;
|
|
14756
14761
|
return -1;
|
|
14757
|
-
},
|
|
14762
|
+
}, Du = function() {
|
|
14758
14763
|
function e() {
|
|
14759
14764
|
}
|
|
14760
14765
|
return e.connect = function(t, n) {
|
|
14761
14766
|
var r = new mD(t, n);
|
|
14762
|
-
|
|
14767
|
+
Su.set(t, r);
|
|
14763
14768
|
}, e.observe = function(t, n, r) {
|
|
14764
|
-
var i =
|
|
14769
|
+
var i = Su.get(t), a = i.observationTargets.length === 0;
|
|
14765
14770
|
Av(i.observationTargets, n) < 0 && (a && Ma.push(i), i.observationTargets.push(new pD(n, r && r.box)), wv(1), Lh.schedule());
|
|
14766
14771
|
}, e.unobserve = function(t, n) {
|
|
14767
|
-
var r =
|
|
14772
|
+
var r = Su.get(t), i = Av(r.observationTargets, n), a = r.observationTargets.length === 1;
|
|
14768
14773
|
i >= 0 && (a && Ma.splice(Ma.indexOf(r), 1), r.observationTargets.splice(i, 1), wv(-1));
|
|
14769
14774
|
}, e.disconnect = function(t) {
|
|
14770
|
-
var n = this, r =
|
|
14775
|
+
var n = this, r = Su.get(t);
|
|
14771
14776
|
r.observationTargets.slice().forEach(function(i) {
|
|
14772
14777
|
return n.unobserve(t, i.target);
|
|
14773
14778
|
}), r.activeTargets.splice(0, r.activeTargets.length);
|
|
@@ -14778,22 +14783,22 @@ var $a = function(e) {
|
|
|
14778
14783
|
throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");
|
|
14779
14784
|
if (typeof t != "function")
|
|
14780
14785
|
throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");
|
|
14781
|
-
|
|
14786
|
+
Du.connect(this, t);
|
|
14782
14787
|
}
|
|
14783
14788
|
return e.prototype.observe = function(t, n) {
|
|
14784
14789
|
if (arguments.length === 0)
|
|
14785
14790
|
throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");
|
|
14786
14791
|
if (!Ev(t))
|
|
14787
14792
|
throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");
|
|
14788
|
-
|
|
14793
|
+
Du.observe(this, t, n);
|
|
14789
14794
|
}, e.prototype.unobserve = function(t) {
|
|
14790
14795
|
if (arguments.length === 0)
|
|
14791
14796
|
throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");
|
|
14792
14797
|
if (!Ev(t))
|
|
14793
14798
|
throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");
|
|
14794
|
-
|
|
14799
|
+
Du.unobserve(this, t);
|
|
14795
14800
|
}, e.prototype.disconnect = function() {
|
|
14796
|
-
|
|
14801
|
+
Du.disconnect(this);
|
|
14797
14802
|
}, e.toString = function() {
|
|
14798
14803
|
return "function ResizeObserver () { [polyfill code] }";
|
|
14799
14804
|
}, e;
|
|
@@ -14864,9 +14869,9 @@ var vD = typeof window < "u" && /Mac|iPod|iPhone|iPad/.test(window.navigator.pla
|
|
|
14864
14869
|
"]": 221,
|
|
14865
14870
|
"'": 222
|
|
14866
14871
|
};
|
|
14867
|
-
for (var
|
|
14868
|
-
im["f" +
|
|
14869
|
-
function
|
|
14872
|
+
for (var Ou = 1; Ou < 20; Ou++)
|
|
14873
|
+
im["f" + Ou] = 111 + Ou;
|
|
14874
|
+
function S1(e, t, n) {
|
|
14870
14875
|
t && !("byKey" in t) && (n = t, t = null), Array.isArray(e) || (e = [e]);
|
|
14871
14876
|
var r = e.map(function(o) {
|
|
14872
14877
|
return kb(o, t);
|
|
@@ -14878,10 +14883,10 @@ function k1(e, t, n) {
|
|
|
14878
14883
|
return a;
|
|
14879
14884
|
}
|
|
14880
14885
|
function yD(e, t) {
|
|
14881
|
-
return
|
|
14886
|
+
return S1(e, t);
|
|
14882
14887
|
}
|
|
14883
14888
|
function ED(e, t) {
|
|
14884
|
-
return
|
|
14889
|
+
return S1(e, { byKey: !0 }, t);
|
|
14885
14890
|
}
|
|
14886
14891
|
function kb(e, t) {
|
|
14887
14892
|
var n = t && t.byKey, r = {};
|
|
@@ -14927,7 +14932,7 @@ function Db(e) {
|
|
|
14927
14932
|
function am(e) {
|
|
14928
14933
|
return e = e.toLowerCase(), e = Ab[e] || e, e;
|
|
14929
14934
|
}
|
|
14930
|
-
var bD = Fi.default =
|
|
14935
|
+
var bD = Fi.default = S1, Pd = Fi.isHotkey = S1;
|
|
14931
14936
|
Fi.isCodeHotkey = yD;
|
|
14932
14937
|
Fi.isKeyHotkey = ED;
|
|
14933
14938
|
Fi.parseHotkey = kb;
|
|
@@ -14990,9 +14995,9 @@ var om = /* @__PURE__ */ fn(null), ha = () => {
|
|
|
14990
14995
|
if (!e)
|
|
14991
14996
|
throw new Error("The `useSlateStatic` hook must be used inside the <Slate> component's context.");
|
|
14992
14997
|
return e;
|
|
14993
|
-
}, Ob = parseInt(M.version.split(".")[0], 10), xD = typeof navigator < "u" && typeof window < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream, kv = typeof navigator < "u" && /Mac OS X/.test(navigator.userAgent), Sn = typeof navigator < "u" && /Android/.test(navigator.userAgent), Io = typeof navigator < "u" && /^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent), Qs = typeof navigator < "u" && /AppleWebKit(?!.*Chrome)/i.test(navigator.userAgent), wD = typeof navigator < "u" && /Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent), Nb = typeof navigator < "u" && /Chrome/i.test(navigator.userAgent), AD = typeof navigator < "u" && /Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent), kD = Sn && typeof navigator < "u" && /Chrome?\/(?:[0-5]?\d)(?:\.)/i.test(navigator.userAgent), SD = typeof navigator < "u" && /^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent), DD = typeof navigator < "u" && /.*UCBrowser/.test(navigator.userAgent), OD = typeof navigator < "u" && /.*Wechat/.test(navigator.userAgent) && !/.*MacWechat/.test(navigator.userAgent),
|
|
14998
|
+
}, Ob = parseInt(M.version.split(".")[0], 10), xD = typeof navigator < "u" && typeof window < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream, kv = typeof navigator < "u" && /Mac OS X/.test(navigator.userAgent), Sn = typeof navigator < "u" && /Android/.test(navigator.userAgent), Io = typeof navigator < "u" && /^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent), Qs = typeof navigator < "u" && /AppleWebKit(?!.*Chrome)/i.test(navigator.userAgent), wD = typeof navigator < "u" && /Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent), Nb = typeof navigator < "u" && /Chrome/i.test(navigator.userAgent), AD = typeof navigator < "u" && /Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent), kD = Sn && typeof navigator < "u" && /Chrome?\/(?:[0-5]?\d)(?:\.)/i.test(navigator.userAgent), SD = typeof navigator < "u" && /^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent), DD = typeof navigator < "u" && /.*UCBrowser/.test(navigator.userAgent), OD = typeof navigator < "u" && /.*Wechat/.test(navigator.userAgent) && !/.*MacWechat/.test(navigator.userAgent), Dc = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", zi = (!AD || !kD) && !wD && // globalThis is undefined in older browsers
|
|
14994
14999
|
typeof globalThis < "u" && globalThis.InputEvent && // @ts-ignore The `getTargetRanges` property isn't recognized.
|
|
14995
|
-
typeof globalThis.InputEvent.prototype.getTargetRanges == "function", sm = /* @__PURE__ */ new WeakMap(), lm = /* @__PURE__ */ new WeakMap(), Ib = /* @__PURE__ */ new WeakMap(),
|
|
15000
|
+
typeof globalThis.InputEvent.prototype.getTargetRanges == "function", sm = /* @__PURE__ */ new WeakMap(), lm = /* @__PURE__ */ new WeakMap(), Ib = /* @__PURE__ */ new WeakMap(), Oc = /* @__PURE__ */ new WeakMap(), Mh = /* @__PURE__ */ new WeakMap(), Ll = /* @__PURE__ */ new WeakMap(), ja = /* @__PURE__ */ new WeakMap(), u1 = /* @__PURE__ */ new WeakMap(), D1 = /* @__PURE__ */ new WeakMap(), $h = /* @__PURE__ */ new WeakMap(), na = /* @__PURE__ */ new WeakMap(), Fa = /* @__PURE__ */ new WeakMap(), ll = /* @__PURE__ */ new WeakMap(), jh = /* @__PURE__ */ new WeakMap(), um = /* @__PURE__ */ new WeakMap(), Ir = /* @__PURE__ */ new WeakMap(), Ai = /* @__PURE__ */ new WeakMap(), Ln = /* @__PURE__ */ new WeakMap(), Qi = /* @__PURE__ */ new WeakMap(), Xi = /* @__PURE__ */ new WeakMap(), Pb = /* @__PURE__ */ new WeakMap(), Xo = Symbol("placeholder"), Rb = Symbol("mark-placeholder"), ND = globalThis.Text, cm = (e) => e && e.ownerDocument && e.ownerDocument.defaultView || null, ID = (e) => sa(e) && e.nodeType === 8, pr = (e) => sa(e) && e.nodeType === 1, sa = (e) => {
|
|
14996
15001
|
var t = cm(e);
|
|
14997
15002
|
return !!t && e instanceof t.Node;
|
|
14998
15003
|
}, Hh = (e) => {
|
|
@@ -15138,8 +15143,8 @@ var ce = {
|
|
|
15138
15143
|
return m;
|
|
15139
15144
|
},
|
|
15140
15145
|
findKey: (e, t) => {
|
|
15141
|
-
var n =
|
|
15142
|
-
return n || (n = new jD(),
|
|
15146
|
+
var n = u1.get(t);
|
|
15147
|
+
return n || (n = new jD(), u1.set(t, n)), n;
|
|
15143
15148
|
},
|
|
15144
15149
|
findPath: (e, t) => {
|
|
15145
15150
|
for (var n = [], r = t; ; ) {
|
|
@@ -15231,7 +15236,7 @@ var ce = {
|
|
|
15231
15236
|
},
|
|
15232
15237
|
setFragmentData: (e, t, n) => e.setFragmentData(t, n),
|
|
15233
15238
|
toDOMNode: (e, t) => {
|
|
15234
|
-
var n =
|
|
15239
|
+
var n = D1.get(e), r = O.isEditor(t) ? Oc.get(e) : n == null ? void 0 : n.get(ce.findKey(e, t));
|
|
15235
15240
|
if (!r)
|
|
15236
15241
|
throw new Error("Cannot resolve a DOM node from Slate node: ".concat(un.stringify(t)));
|
|
15237
15242
|
return r;
|
|
@@ -15686,7 +15691,7 @@ function Ov(e, t) {
|
|
|
15686
15691
|
}
|
|
15687
15692
|
return n;
|
|
15688
15693
|
}
|
|
15689
|
-
function
|
|
15694
|
+
function Nu(e) {
|
|
15690
15695
|
for (var t = 1; t < arguments.length; t++) {
|
|
15691
15696
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
15692
15697
|
t % 2 ? Ov(Object(n), !0).forEach(function(r) {
|
|
@@ -15786,7 +15791,7 @@ function QD(e) {
|
|
|
15786
15791
|
$.splice(N, 1), m();
|
|
15787
15792
|
return;
|
|
15788
15793
|
}
|
|
15789
|
-
$[N] =
|
|
15794
|
+
$[N] = Nu(Nu({}, $[N]), {}, {
|
|
15790
15795
|
diff: ee
|
|
15791
15796
|
});
|
|
15792
15797
|
}, v = function(A) {
|
|
@@ -15978,7 +15983,7 @@ function QD(e) {
|
|
|
15978
15983
|
var pe = u.start + u.text.search(/\S|$/), De = J.start + J.text.search(/\S|$/);
|
|
15979
15984
|
De === pe + 1 && J.end === u.start + u.text.length ? (J.start -= 1, u = null, B()) : u = !1;
|
|
15980
15985
|
} else
|
|
15981
|
-
F === "insertText" ? u === null ? u = J : u && ae.isCollapsed($) && u.end + u.text.length === fe.offset ? u =
|
|
15986
|
+
F === "insertText" ? u === null ? u = J : u && ae.isCollapsed($) && u.end + u.text.length === fe.offset ? u = Nu(Nu({}, u), {}, {
|
|
15982
15987
|
text: u.text + ve
|
|
15983
15988
|
}) : u = !1 : u = !1;
|
|
15984
15989
|
if (S) {
|
|
@@ -16038,7 +16043,7 @@ function XD() {
|
|
|
16038
16043
|
e.current = !1;
|
|
16039
16044
|
}), []), e.current;
|
|
16040
16045
|
}
|
|
16041
|
-
var Ml =
|
|
16046
|
+
var Ml = Dc ? t4 : me;
|
|
16042
16047
|
function JD(e, t, n) {
|
|
16043
16048
|
var [r] = ue(() => new MutationObserver(t));
|
|
16044
16049
|
Ml(() => {
|
|
@@ -16293,7 +16298,7 @@ var pO = (e) => {
|
|
|
16293
16298
|
}));
|
|
16294
16299
|
}
|
|
16295
16300
|
var g = gt((m) => {
|
|
16296
|
-
var y =
|
|
16301
|
+
var y = D1.get(s);
|
|
16297
16302
|
m ? (y == null || y.set(c, m), ja.set(o, m), Ll.set(m, o)) : (y == null || y.delete(c), ja.delete(o), l.current && Ll.delete(l.current)), l.current = m;
|
|
16298
16303
|
}, [l, s, c, o]);
|
|
16299
16304
|
return /* @__PURE__ */ M.createElement("span", {
|
|
@@ -16331,7 +16336,7 @@ var yO = (e) => {
|
|
|
16331
16336
|
renderLeaf: a,
|
|
16332
16337
|
selection: o
|
|
16333
16338
|
} = e, s = ha(), l = CO(), u = s.isInline(n), c = ce.findKey(s, n), d = gt((E) => {
|
|
16334
|
-
var b =
|
|
16339
|
+
var b = D1.get(s);
|
|
16335
16340
|
E ? (b == null || b.set(c, E), ja.set(n, E), Ll.set(E, n)) : (b == null || b.delete(c), ja.delete(n));
|
|
16336
16341
|
}, [s, c, n]), f = qb({
|
|
16337
16342
|
decorations: t,
|
|
@@ -16656,7 +16661,7 @@ var RO = (e) => /* @__PURE__ */ M.createElement(M.Fragment, null, qb(e)), FO = (
|
|
|
16656
16661
|
scheduleOnDOMSelectionChange: D
|
|
16657
16662
|
}), Ml(() => {
|
|
16658
16663
|
var H, j, U;
|
|
16659
|
-
E.current && (U = cm(E.current)) ? (Ib.set(m, U),
|
|
16664
|
+
E.current && (U = cm(E.current)) ? (Ib.set(m, U), Oc.set(m, E.current), ja.set(m, E.current), Ll.set(E.current, m)) : ja.delete(m);
|
|
16660
16665
|
var {
|
|
16661
16666
|
selection: Z
|
|
16662
16667
|
} = m, se = ce.findDocumentOrShadowRoot(m), Q = se.getSelection();
|
|
@@ -16670,7 +16675,7 @@ var RO = (e) => /* @__PURE__ */ M.createElement(M.Fragment, null, qb(e)), FO = (
|
|
|
16670
16675
|
ze.startContainer === qe ? He = et.endContainer : He = ze.startContainer;
|
|
16671
16676
|
} else
|
|
16672
16677
|
He = Q.anchorNode;
|
|
16673
|
-
var ut =
|
|
16678
|
+
var ut = Oc.get(m), at = !1;
|
|
16674
16679
|
if (ut.contains(He) && ut.contains(qe) && (at = !0), Be && at && Z && !ke) {
|
|
16675
16680
|
var ve = ce.toSlateRange(m, Q, {
|
|
16676
16681
|
exactMatch: !0,
|
|
@@ -16865,7 +16870,7 @@ var RO = (e) => /* @__PURE__ */ M.createElement(M.Fragment, null, qb(e)), FO = (
|
|
|
16865
16870
|
ll.delete(m), J && (!m.selection || !ae.equals(m.selection, J)) && le.select(m, J);
|
|
16866
16871
|
}
|
|
16867
16872
|
}, [m, P, w, i, o, D]), F = gt((H) => {
|
|
16868
|
-
H == null ? (P.cancel(), D.cancel(),
|
|
16873
|
+
H == null ? (P.cancel(), D.cancel(), Oc.delete(m), ja.delete(m), E.current && zi && E.current.removeEventListener("beforeinput", A)) : zi && H.addEventListener("beforeinput", A), E.current = H;
|
|
16869
16874
|
}, [P, D, m, A]);
|
|
16870
16875
|
Ml(() => {
|
|
16871
16876
|
var H = ce.getWindow(m);
|
|
@@ -16944,9 +16949,9 @@ var RO = (e) => /* @__PURE__ */ M.createElement(M.Fragment, null, qb(e)), FO = (
|
|
|
16944
16949
|
// For SSR situations HAS_BEFORE_INPUT_SUPPORT is false and results in prop
|
|
16945
16950
|
// mismatch warning app moves to browser. Pass-through consumer props when
|
|
16946
16951
|
// not CAN_USE_DOM (SSR) and default to falsy value
|
|
16947
|
-
spellCheck: zi || !
|
|
16948
|
-
autoCorrect: zi || !
|
|
16949
|
-
autoCapitalize: zi || !
|
|
16952
|
+
spellCheck: zi || !Dc ? g.spellCheck : !1,
|
|
16953
|
+
autoCorrect: zi || !Dc ? g.autoCorrect : "false",
|
|
16954
|
+
autoCapitalize: zi || !Dc ? g.autoCapitalize : "false",
|
|
16950
16955
|
"data-slate-editor": !0,
|
|
16951
16956
|
"data-slate-node": "value",
|
|
16952
16957
|
// explicitly set this
|
|
@@ -17448,7 +17453,7 @@ var VO = function(t) {
|
|
|
17448
17453
|
addMark: s,
|
|
17449
17454
|
removeMark: l
|
|
17450
17455
|
} = r;
|
|
17451
|
-
return
|
|
17456
|
+
return D1.set(r, /* @__PURE__ */ new WeakMap()), r.addMark = (u, c) => {
|
|
17452
17457
|
var d, f;
|
|
17453
17458
|
(d = um.get(r)) === null || d === void 0 || d(), !Ir.get(r) && (f = Ln.get(r)) !== null && f !== void 0 && f.length && Ir.set(r, null), Ai.delete(r), s(u, c);
|
|
17454
17459
|
}, r.removeMark = (u) => {
|
|
@@ -17520,12 +17525,12 @@ var VO = function(t) {
|
|
|
17520
17525
|
i(u);
|
|
17521
17526
|
for (var [I, R] of c) {
|
|
17522
17527
|
var [B] = O.node(r, I);
|
|
17523
|
-
|
|
17528
|
+
u1.set(B, R);
|
|
17524
17529
|
}
|
|
17525
17530
|
for (var [P, D] of d)
|
|
17526
17531
|
if (P.current) {
|
|
17527
17532
|
var [A] = O.node(r, P.current);
|
|
17528
|
-
|
|
17533
|
+
u1.set(A, D);
|
|
17529
17534
|
}
|
|
17530
17535
|
}, r.setFragmentData = (u) => {
|
|
17531
17536
|
var {
|
|
@@ -17689,18 +17694,18 @@ function qv(e) {
|
|
|
17689
17694
|
if (e)
|
|
17690
17695
|
throw e;
|
|
17691
17696
|
}
|
|
17692
|
-
var
|
|
17697
|
+
var Nc = Object.prototype.hasOwnProperty, Zb = Object.prototype.toString, Wv = Object.defineProperty, Vv = Object.getOwnPropertyDescriptor, Kv = function(t) {
|
|
17693
17698
|
return typeof Array.isArray == "function" ? Array.isArray(t) : Zb.call(t) === "[object Array]";
|
|
17694
17699
|
}, Gv = function(t) {
|
|
17695
17700
|
if (!t || Zb.call(t) !== "[object Object]")
|
|
17696
17701
|
return !1;
|
|
17697
|
-
var n =
|
|
17702
|
+
var n = Nc.call(t, "constructor"), r = t.constructor && t.constructor.prototype && Nc.call(t.constructor.prototype, "isPrototypeOf");
|
|
17698
17703
|
if (t.constructor && !n && !r)
|
|
17699
17704
|
return !1;
|
|
17700
17705
|
var i;
|
|
17701
17706
|
for (i in t)
|
|
17702
17707
|
;
|
|
17703
|
-
return typeof i > "u" ||
|
|
17708
|
+
return typeof i > "u" || Nc.call(t, i);
|
|
17704
17709
|
}, Yv = function(t, n) {
|
|
17705
17710
|
Wv && n.name === "__proto__" ? Wv(t, n.name, {
|
|
17706
17711
|
enumerable: !0,
|
|
@@ -17710,7 +17715,7 @@ var Oc = Object.prototype.hasOwnProperty, Zb = Object.prototype.toString, Wv = O
|
|
|
17710
17715
|
}) : t[n.name] = n.newValue;
|
|
17711
17716
|
}, Zv = function(t, n) {
|
|
17712
17717
|
if (n === "__proto__")
|
|
17713
|
-
if (
|
|
17718
|
+
if (Nc.call(t, n)) {
|
|
17714
17719
|
if (Vv)
|
|
17715
17720
|
return Vv(t, n).value;
|
|
17716
17721
|
} else
|
|
@@ -18612,7 +18617,7 @@ class fm extends lN {
|
|
|
18612
18617
|
*/
|
|
18613
18618
|
parse(t) {
|
|
18614
18619
|
this.freeze();
|
|
18615
|
-
const n =
|
|
18620
|
+
const n = Iu(t), r = this.parser || this.Parser;
|
|
18616
18621
|
return jd("parse", r), r(String(n), n);
|
|
18617
18622
|
}
|
|
18618
18623
|
/**
|
|
@@ -18661,7 +18666,7 @@ class fm extends lN {
|
|
|
18661
18666
|
const r = this;
|
|
18662
18667
|
return this.freeze(), jd("process", this.parser || this.Parser), Hd("process", this.compiler || this.Compiler), n ? i(void 0, n) : new Promise(i);
|
|
18663
18668
|
function i(a, o) {
|
|
18664
|
-
const s =
|
|
18669
|
+
const s = Iu(t), l = (
|
|
18665
18670
|
/** @type {HeadTree extends undefined ? Node : HeadTree} */
|
|
18666
18671
|
/** @type {unknown} */
|
|
18667
18672
|
r.parse(s)
|
|
@@ -18766,7 +18771,7 @@ class fm extends lN {
|
|
|
18766
18771
|
const i = this.transformers;
|
|
18767
18772
|
return !r && typeof n == "function" && (r = n, n = void 0), r ? a(void 0, r) : new Promise(a);
|
|
18768
18773
|
function a(o, s) {
|
|
18769
|
-
const l =
|
|
18774
|
+
const l = Iu(n);
|
|
18770
18775
|
i.run(t, l, u);
|
|
18771
18776
|
function u(c, d, f) {
|
|
18772
18777
|
const p = (
|
|
@@ -18832,7 +18837,7 @@ class fm extends lN {
|
|
|
18832
18837
|
*/
|
|
18833
18838
|
stringify(t, n) {
|
|
18834
18839
|
this.freeze();
|
|
18835
|
-
const r =
|
|
18840
|
+
const r = Iu(n), i = this.compiler || this.Compiler;
|
|
18836
18841
|
return Hd("stringify", i), e9(t), i(t, r);
|
|
18837
18842
|
}
|
|
18838
18843
|
/**
|
|
@@ -18977,7 +18982,7 @@ function t9(e, t, n) {
|
|
|
18977
18982
|
"`" + e + "` finished async. Use `" + t + "` instead"
|
|
18978
18983
|
);
|
|
18979
18984
|
}
|
|
18980
|
-
function
|
|
18985
|
+
function Iu(e) {
|
|
18981
18986
|
return dN(e) ? e : new oN(e);
|
|
18982
18987
|
}
|
|
18983
18988
|
function dN(e) {
|
|
@@ -19408,7 +19413,7 @@ function PN(e, t, n) {
|
|
|
19408
19413
|
return n(p);
|
|
19409
19414
|
}
|
|
19410
19415
|
}
|
|
19411
|
-
const
|
|
19416
|
+
const O1 = {
|
|
19412
19417
|
tokenize: RN,
|
|
19413
19418
|
partial: !0
|
|
19414
19419
|
};
|
|
@@ -20326,7 +20331,7 @@ function vI(e, t, n) {
|
|
|
20326
20331
|
function yI(e, t, n) {
|
|
20327
20332
|
return r;
|
|
20328
20333
|
function r(i) {
|
|
20329
|
-
return e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), e.attempt(
|
|
20334
|
+
return e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), e.attempt(O1, t, n);
|
|
20330
20335
|
}
|
|
20331
20336
|
}
|
|
20332
20337
|
const EI = {
|
|
@@ -20595,7 +20600,7 @@ function RI(e, t) {
|
|
|
20595
20600
|
return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), $t(e, t, "linePrefix");
|
|
20596
20601
|
}
|
|
20597
20602
|
}
|
|
20598
|
-
const
|
|
20603
|
+
const Ic = {
|
|
20599
20604
|
name: "thematicBreak",
|
|
20600
20605
|
tokenize: FI
|
|
20601
20606
|
};
|
|
@@ -20639,7 +20644,7 @@ function MI(e, t, n) {
|
|
|
20639
20644
|
if (r.containerState.type || (r.containerState.type = g, e.enter(g, {
|
|
20640
20645
|
_container: !0
|
|
20641
20646
|
})), g === "listUnordered")
|
|
20642
|
-
return e.enter("listItemPrefix"), p === 42 || p === 45 ? e.check(
|
|
20647
|
+
return e.enter("listItemPrefix"), p === 42 || p === 45 ? e.check(Ic, n, u)(p) : u(p);
|
|
20643
20648
|
if (!r.interrupt || p === 49)
|
|
20644
20649
|
return e.enter("listItemPrefix"), e.enter("listItemValue"), l(p);
|
|
20645
20650
|
}
|
|
@@ -20650,7 +20655,7 @@ function MI(e, t, n) {
|
|
|
20650
20655
|
}
|
|
20651
20656
|
function u(p) {
|
|
20652
20657
|
return e.enter("listItemMarker"), e.consume(p), e.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || p, e.check(
|
|
20653
|
-
|
|
20658
|
+
O1,
|
|
20654
20659
|
// Can’t be empty when interrupting.
|
|
20655
20660
|
r.interrupt ? n : c,
|
|
20656
20661
|
e.attempt(BI, f, d)
|
|
@@ -20668,7 +20673,7 @@ function MI(e, t, n) {
|
|
|
20668
20673
|
}
|
|
20669
20674
|
function $I(e, t, n) {
|
|
20670
20675
|
const r = this;
|
|
20671
|
-
return r.containerState._closeFlow = void 0, e.check(
|
|
20676
|
+
return r.containerState._closeFlow = void 0, e.check(O1, i, a);
|
|
20672
20677
|
function i(s) {
|
|
20673
20678
|
return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, $t(e, t, "listItemIndent", r.containerState.size + 1)(s);
|
|
20674
20679
|
}
|
|
@@ -20750,7 +20755,7 @@ const WI = {
|
|
|
20750
20755
|
function VI(e) {
|
|
20751
20756
|
const t = this, n = e.attempt(
|
|
20752
20757
|
// Try to parse a blank line.
|
|
20753
|
-
|
|
20758
|
+
O1,
|
|
20754
20759
|
r,
|
|
20755
20760
|
// Try to parse initial flow (essentially, only code).
|
|
20756
20761
|
e.attempt(
|
|
@@ -21113,11 +21118,11 @@ const eP = {
|
|
|
21113
21118
|
32: zd
|
|
21114
21119
|
}, rP = {
|
|
21115
21120
|
35: lI,
|
|
21116
|
-
42:
|
|
21117
|
-
45: [d9,
|
|
21121
|
+
42: Ic,
|
|
21122
|
+
45: [d9, Ic],
|
|
21118
21123
|
60: fI,
|
|
21119
21124
|
61: d9,
|
|
21120
|
-
95:
|
|
21125
|
+
95: Ic,
|
|
21121
21126
|
96: u9,
|
|
21122
21127
|
126: u9
|
|
21123
21128
|
}, iP = {
|
|
@@ -21913,25 +21918,25 @@ function dT(e, t) {
|
|
|
21913
21918
|
return {
|
|
21914
21919
|
[n[wi.emphasis]]: !0,
|
|
21915
21920
|
...Wd(o),
|
|
21916
|
-
...
|
|
21921
|
+
...Pu(o)
|
|
21917
21922
|
};
|
|
21918
21923
|
case An.strong:
|
|
21919
21924
|
return {
|
|
21920
21925
|
[n[wi.strong]]: !0,
|
|
21921
21926
|
...Wd(o),
|
|
21922
|
-
...
|
|
21927
|
+
...Pu(o)
|
|
21923
21928
|
};
|
|
21924
21929
|
case An.delete:
|
|
21925
21930
|
return {
|
|
21926
21931
|
[n[wi.delete]]: !0,
|
|
21927
21932
|
...Wd(o),
|
|
21928
|
-
...
|
|
21933
|
+
...Pu(o)
|
|
21929
21934
|
};
|
|
21930
21935
|
case An.inlineCode:
|
|
21931
21936
|
return {
|
|
21932
21937
|
[n[wi.code]]: !0,
|
|
21933
21938
|
text: e.value,
|
|
21934
|
-
...
|
|
21939
|
+
...Pu(o)
|
|
21935
21940
|
};
|
|
21936
21941
|
case An.thematicBreak:
|
|
21937
21942
|
return {
|
|
@@ -21946,7 +21951,7 @@ function dT(e, t) {
|
|
|
21946
21951
|
const Wd = (e) => ({
|
|
21947
21952
|
text: e.map((t) => t == null ? void 0 : t.text).join("")
|
|
21948
21953
|
});
|
|
21949
|
-
function
|
|
21954
|
+
function Pu(e) {
|
|
21950
21955
|
return e.reduce((t, n) => (Object.keys(n).forEach(function(r) {
|
|
21951
21956
|
r === "children" || r === "type" || r === "text" || (t[r] = n[r]);
|
|
21952
21957
|
}), t), {});
|
|
@@ -22726,7 +22731,7 @@ const PP = () => {
|
|
|
22726
22731
|
}
|
|
22727
22732
|
}
|
|
22728
22733
|
);
|
|
22729
|
-
},
|
|
22734
|
+
}, Ru = [
|
|
22730
22735
|
re.bold,
|
|
22731
22736
|
re.italic,
|
|
22732
22737
|
re.strikethrough
|
|
@@ -22740,17 +22745,17 @@ const MP = ({
|
|
|
22740
22745
|
...t
|
|
22741
22746
|
}) => {
|
|
22742
22747
|
const n = ge(), { id: r } = Ze(Ri), i = {
|
|
22743
|
-
tabbableOption:
|
|
22748
|
+
tabbableOption: Ru[0],
|
|
22744
22749
|
openTooltip: null
|
|
22745
22750
|
}, [a, o] = la(Gl, i), s = (l) => {
|
|
22746
|
-
l && o([{ type: "tabbableOption", value: l ||
|
|
22751
|
+
l && o([{ type: "tabbableOption", value: l || Ru[0] }]);
|
|
22747
22752
|
};
|
|
22748
22753
|
return /* @__PURE__ */ h.jsxs(Xl.Provider, { value: { ...a, setFocus: s, dispatch: o }, children: [
|
|
22749
22754
|
/* @__PURE__ */ h.jsxs("fieldset", { id: `toolbar-${r}`, className: "toolbar", ...t, children: [
|
|
22750
22755
|
/* @__PURE__ */ h.jsx(bt, { element: "legend", showOnFocus: !1, children: n.formatMessage({ id: "richTextEditor_toolbar" }) }),
|
|
22751
22756
|
/* @__PURE__ */ h.jsxs("ul", { children: [
|
|
22752
22757
|
(e == null ? void 0 : e.showHeadingOption) && /* @__PURE__ */ h.jsx(y9, { format: re.h3, hasDivider: !0 }, re.h3),
|
|
22753
|
-
|
|
22758
|
+
Ru.map((l, u) => /* @__PURE__ */ h.jsx(BP, { format: l, hasDivider: u === Ru.length - 1 }, l)),
|
|
22754
22759
|
/* @__PURE__ */ h.jsx(RP, {}),
|
|
22755
22760
|
LP.map((l, u) => /* @__PURE__ */ h.jsx(y9, { format: l, hasDivider: u === 1 }, l))
|
|
22756
22761
|
] })
|
|
@@ -23003,7 +23008,7 @@ _n.inlineLink = {
|
|
|
23003
23008
|
return t.linkStyle === "inlined" && e.nodeName === "A" && e.getAttribute("href");
|
|
23004
23009
|
},
|
|
23005
23010
|
replacement: function(e, t) {
|
|
23006
|
-
var n = t.getAttribute("href"), r =
|
|
23011
|
+
var n = t.getAttribute("href"), r = c1(t.getAttribute("title"));
|
|
23007
23012
|
return r && (r = ' "' + r + '"'), "[" + e + "](" + n + r + ")";
|
|
23008
23013
|
}
|
|
23009
23014
|
};
|
|
@@ -23012,7 +23017,7 @@ _n.referenceLink = {
|
|
|
23012
23017
|
return t.linkStyle === "referenced" && e.nodeName === "A" && e.getAttribute("href");
|
|
23013
23018
|
},
|
|
23014
23019
|
replacement: function(e, t, n) {
|
|
23015
|
-
var r = t.getAttribute("href"), i =
|
|
23020
|
+
var r = t.getAttribute("href"), i = c1(t.getAttribute("title"));
|
|
23016
23021
|
i && (i = ' "' + i + '"');
|
|
23017
23022
|
var a, o;
|
|
23018
23023
|
switch (n.linkReferenceStyle) {
|
|
@@ -23068,11 +23073,11 @@ _n.code = {
|
|
|
23068
23073
|
_n.image = {
|
|
23069
23074
|
filter: "img",
|
|
23070
23075
|
replacement: function(e, t) {
|
|
23071
|
-
var n =
|
|
23076
|
+
var n = c1(t.getAttribute("alt")), r = t.getAttribute("src") || "", i = c1(t.getAttribute("title")), a = i ? ' "' + i + '"' : "";
|
|
23072
23077
|
return r ? "" : "";
|
|
23073
23078
|
}
|
|
23074
23079
|
};
|
|
23075
|
-
function
|
|
23080
|
+
function c1(e) {
|
|
23076
23081
|
return e ? e.replace(/(\n+\s*)+/g, `
|
|
23077
23082
|
`) : "";
|
|
23078
23083
|
}
|
|
@@ -23751,7 +23756,7 @@ const kT = ({
|
|
|
23751
23756
|
const j = t.match(Wo);
|
|
23752
23757
|
j && j.length === 1 && j[0].length === t.length && !F && k([{ type: "originalValue", value: t }]);
|
|
23753
23758
|
}
|
|
23754
|
-
t !== "" || !V ||
|
|
23759
|
+
t !== "" || !V || Gc(R, t) && !F || (O.withoutNormalizing(V, () => {
|
|
23755
23760
|
le.delete(V, {
|
|
23756
23761
|
at: {
|
|
23757
23762
|
anchor: O.start(V, []),
|
|
@@ -24563,7 +24568,7 @@ const Xt = "publishArticleForm_", T9 = {}, _9 = 10, wae = ({
|
|
|
24563
24568
|
}, onFailure: f = () => {
|
|
24564
24569
|
} } = r || {}, { isInOverlay: p = !1 } = i || {}, [g, m] = ue(!1), [y, v] = ue(t.body || ""), [E, b] = ue(!1), [T, C] = ue("");
|
|
24565
24570
|
me(() => {
|
|
24566
|
-
|
|
24571
|
+
Gc(t, T9) || Ol(t.body) && t.body !== y && t.body !== void 0 && v(t.body);
|
|
24567
24572
|
}, [t.body]);
|
|
24568
24573
|
const w = () => {
|
|
24569
24574
|
!l || !l.id ? b(s.formatMessage({ id: `${Xt}error_loggedOut` })) : E && b(!1);
|
|
@@ -24880,7 +24885,7 @@ const BR = ({
|
|
|
24880
24885
|
role: "search",
|
|
24881
24886
|
"data-gtm-event-context": i,
|
|
24882
24887
|
"data-gtm-event-type": a,
|
|
24883
|
-
children: /* @__PURE__ */ h.jsx("fieldset", { id: `${e}-form`, hidden: n ? !o : !1, children: /* @__PURE__ */ h.jsxs("p", { children: [
|
|
24888
|
+
children: /* @__PURE__ */ h.jsx("fieldset", { id: `${e}-form`, hidden: n && !s ? !o : !1, children: /* @__PURE__ */ h.jsxs("p", { children: [
|
|
24884
24889
|
/* @__PURE__ */ h.jsx(
|
|
24885
24890
|
bt,
|
|
24886
24891
|
{
|
|
@@ -25375,7 +25380,7 @@ function zR({
|
|
|
25375
25380
|
n(r), t();
|
|
25376
25381
|
};
|
|
25377
25382
|
return /* @__PURE__ */ h.jsx(
|
|
25378
|
-
|
|
25383
|
+
N1,
|
|
25379
25384
|
{
|
|
25380
25385
|
hasNextPage: e,
|
|
25381
25386
|
loadNextPage: a,
|
|
@@ -25673,7 +25678,7 @@ const XR = ({
|
|
|
25673
25678
|
user: F,
|
|
25674
25679
|
likeId: $
|
|
25675
25680
|
}) => /* @__PURE__ */ h.jsx(
|
|
25676
|
-
|
|
25681
|
+
ld,
|
|
25677
25682
|
{
|
|
25678
25683
|
isCommunity: !0,
|
|
25679
25684
|
content: {
|
|
@@ -25689,7 +25694,7 @@ const XR = ({
|
|
|
25689
25694
|
reply: A
|
|
25690
25695
|
},
|
|
25691
25696
|
slug: "",
|
|
25692
|
-
author:
|
|
25697
|
+
author: C1(F),
|
|
25693
25698
|
userLiked: P,
|
|
25694
25699
|
likes: k,
|
|
25695
25700
|
peopleWhoLiked: l === Jt.Courses ? !1 : D,
|
|
@@ -25759,7 +25764,7 @@ function JR({
|
|
|
25759
25764
|
userLiked: y
|
|
25760
25765
|
} = o, { edit: v, like: E, remove: b, unlike: T } = e.mutations;
|
|
25761
25766
|
return /* @__PURE__ */ h.jsx(nie, { children: /* @__PURE__ */ h.jsx(
|
|
25762
|
-
|
|
25767
|
+
ld,
|
|
25763
25768
|
{
|
|
25764
25769
|
isCommunity: !0,
|
|
25765
25770
|
content: {
|
|
@@ -25773,7 +25778,7 @@ function JR({
|
|
|
25773
25778
|
reply: p
|
|
25774
25779
|
},
|
|
25775
25780
|
slug: p,
|
|
25776
|
-
author:
|
|
25781
|
+
author: C1(m),
|
|
25777
25782
|
userLiked: y,
|
|
25778
25783
|
likes: d,
|
|
25779
25784
|
peopleWhoLiked: s === Jt.Courses ? !1 : f,
|
|
@@ -25834,7 +25839,7 @@ function JR({
|
|
|
25834
25839
|
p
|
|
25835
25840
|
) }, p);
|
|
25836
25841
|
}
|
|
25837
|
-
const
|
|
25842
|
+
const Fu = "ALL", eF = ({
|
|
25838
25843
|
activityId: e,
|
|
25839
25844
|
basePath: t,
|
|
25840
25845
|
parentId: n,
|
|
@@ -25857,12 +25862,12 @@ const Ru = "ALL", eF = ({
|
|
|
25857
25862
|
queryFns: u,
|
|
25858
25863
|
type: f
|
|
25859
25864
|
}), [R, B] = ue(
|
|
25860
|
-
f === Jt.Courses && m ||
|
|
25865
|
+
f === Jt.Courses && m || Fu
|
|
25861
25866
|
), [P, D] = ue([]), A = Xn(() => b, [JSON.stringify(b)]);
|
|
25862
25867
|
me(() => {
|
|
25863
25868
|
if (!A)
|
|
25864
25869
|
return;
|
|
25865
|
-
const N = !R || R ===
|
|
25870
|
+
const N = !R || R === Fu || f !== Jt.Courses ? A : A.filter((te) => te.locale === R);
|
|
25866
25871
|
D(N);
|
|
25867
25872
|
}, [A, R]);
|
|
25868
25873
|
const [F, $] = ue(null);
|
|
@@ -25913,7 +25918,7 @@ const Ru = "ALL", eF = ({
|
|
|
25913
25918
|
initialValue: R,
|
|
25914
25919
|
options: [
|
|
25915
25920
|
{
|
|
25916
|
-
id:
|
|
25921
|
+
id: Fu,
|
|
25917
25922
|
label: g.formatMessage({
|
|
25918
25923
|
id: "activitySection_language_switcher_all_languages_option"
|
|
25919
25924
|
})
|
|
@@ -26019,7 +26024,7 @@ function rF({
|
|
|
26019
26024
|
me(() => {
|
|
26020
26025
|
l();
|
|
26021
26026
|
}, [l]);
|
|
26022
|
-
const u = a.map(({ user: c }) => c).map((c) => c ?
|
|
26027
|
+
const u = a.map(({ user: c }) => c).map((c) => c ? C1(c) : void 0).filter((c) => c && typeof c != "string");
|
|
26023
26028
|
return /* @__PURE__ */ h.jsx("section", { className: "likes-feed", children: /* @__PURE__ */ h.jsx(
|
|
26024
26029
|
Vre,
|
|
26025
26030
|
{
|
|
@@ -26466,7 +26471,7 @@ const uF = ({
|
|
|
26466
26471
|
urlForRouter: `/${i.split("/").slice(2).join("/")}`
|
|
26467
26472
|
} : i;
|
|
26468
26473
|
};
|
|
26469
|
-
const
|
|
26474
|
+
const Bu = "languageSwitcher_", Dae = ({
|
|
26470
26475
|
currentLanguage: e,
|
|
26471
26476
|
isOriginalLanguage: t = !1,
|
|
26472
26477
|
isHumanTranslation: n = !1,
|
|
@@ -26488,7 +26493,7 @@ const Fu = "languageSwitcher_", Dae = ({
|
|
|
26488
26493
|
const g = Object.keys(r), m = d !== e;
|
|
26489
26494
|
return /* @__PURE__ */ h.jsxs("div", { className: ne("language-switcher text-small", o, l), children: [
|
|
26490
26495
|
/* @__PURE__ */ h.jsxs("nav", { children: [
|
|
26491
|
-
o !== "short" && /* @__PURE__ */ h.jsx("p", { children: s || u.formatMessage({ id: `${
|
|
26496
|
+
o !== "short" && /* @__PURE__ */ h.jsx("p", { children: s || u.formatMessage({ id: `${Bu}label` }) }),
|
|
26492
26497
|
/* @__PURE__ */ h.jsx("ul", { children: g.map((y) => {
|
|
26493
26498
|
var T;
|
|
26494
26499
|
if (!S3.includes(y))
|
|
@@ -26497,7 +26502,7 @@ const Fu = "languageSwitcher_", Dae = ({
|
|
|
26497
26502
|
let b = { className: y };
|
|
26498
26503
|
if (d === y)
|
|
26499
26504
|
b["aria-label"] = u.formatMessage(
|
|
26500
|
-
{ id: `${
|
|
26505
|
+
{ id: `${Bu}selected` },
|
|
26501
26506
|
{ language: E }
|
|
26502
26507
|
);
|
|
26503
26508
|
else {
|
|
@@ -26516,7 +26521,7 @@ const Fu = "languageSwitcher_", Dae = ({
|
|
|
26516
26521
|
return /* @__PURE__ */ h.jsx("li", { children: /* @__PURE__ */ h.jsx(Za, { ...b, fallbackElement: "span", children: E }) }, y);
|
|
26517
26522
|
}) }),
|
|
26518
26523
|
o !== "short" && !m && /* @__PURE__ */ h.jsx("p", { children: u.formatMessage({
|
|
26519
|
-
id: `${
|
|
26524
|
+
id: `${Bu}translation_${t ? "original" : n ? "human" : "machine"}`
|
|
26520
26525
|
}) })
|
|
26521
26526
|
] }),
|
|
26522
26527
|
o !== "short" && !m && !t && !n && /* @__PURE__ */ h.jsx("small", {
|
|
@@ -26524,7 +26529,7 @@ const Fu = "languageSwitcher_", Dae = ({
|
|
|
26524
26529
|
// @ts-ignore
|
|
26525
26530
|
// `values` are throwing a type error: https://github.com/formatjs/formatjs/issues/3633
|
|
26526
26531
|
children: u.formatMessage(
|
|
26527
|
-
{ id: `${
|
|
26532
|
+
{ id: `${Bu}disclaimer` },
|
|
26528
26533
|
{
|
|
26529
26534
|
email: Gs.support,
|
|
26530
26535
|
link: (y) => {
|
|
@@ -26536,7 +26541,7 @@ const Fu = "languageSwitcher_", Dae = ({
|
|
|
26536
26541
|
})
|
|
26537
26542
|
] });
|
|
26538
26543
|
};
|
|
26539
|
-
const tf = E3({ locale: "en", messages: hn }),
|
|
26544
|
+
const tf = E3({ locale: "en", messages: hn }), N1 = ({
|
|
26540
26545
|
hasNextPage: e = !0,
|
|
26541
26546
|
loadNextPage: t = () => {
|
|
26542
26547
|
},
|
|
@@ -26595,7 +26600,7 @@ const NT = ({
|
|
|
26595
26600
|
}
|
|
26596
26601
|
) });
|
|
26597
26602
|
};
|
|
26598
|
-
let
|
|
26603
|
+
let Lu = !1;
|
|
26599
26604
|
const ep = ({
|
|
26600
26605
|
element: e = "div",
|
|
26601
26606
|
id: t = "more-menu",
|
|
@@ -26635,10 +26640,10 @@ const ep = ({
|
|
|
26635
26640
|
s(!1), typeof c == "function" && c(y);
|
|
26636
26641
|
},
|
|
26637
26642
|
onFocus: () => {
|
|
26638
|
-
|
|
26643
|
+
Lu && (clearTimeout(Lu), Lu = !1);
|
|
26639
26644
|
},
|
|
26640
26645
|
onBlur: () => {
|
|
26641
|
-
|
|
26646
|
+
Lu = setTimeout(() => {
|
|
26642
26647
|
s(!1);
|
|
26643
26648
|
}, 100);
|
|
26644
26649
|
}
|
|
@@ -27344,7 +27349,7 @@ const af = "cookieBanner_", of = [
|
|
|
27344
27349
|
facebook: { href: "https://www.facebook.com/apoliticalco" }
|
|
27345
27350
|
}
|
|
27346
27351
|
};
|
|
27347
|
-
const Fo = "footer_",
|
|
27352
|
+
const Fo = "footer_", d1 = "SiteFooter", A9 = ({ group: e }) => {
|
|
27348
27353
|
const t = xi[e].order || [];
|
|
27349
27354
|
let n = !1;
|
|
27350
27355
|
return "text" in xi[e] && (n = xi[e].text), /* @__PURE__ */ h.jsxs(wl, { children: [
|
|
@@ -27358,7 +27363,7 @@ const Fo = "footer_", c1 = "SiteFooter", A9 = ({ group: e }) => {
|
|
|
27358
27363
|
{
|
|
27359
27364
|
href: i,
|
|
27360
27365
|
className: "gtm-trackable",
|
|
27361
|
-
"data-gtm-event-context":
|
|
27366
|
+
"data-gtm-event-context": d1,
|
|
27362
27367
|
"data-gtm-event-type": a,
|
|
27363
27368
|
...o,
|
|
27364
27369
|
children: /* @__PURE__ */ h.jsx(Mt, { id: `${Fo}${e}_${r}` })
|
|
@@ -27380,7 +27385,7 @@ const Fo = "footer_", c1 = "SiteFooter", A9 = ({ group: e }) => {
|
|
|
27380
27385
|
{
|
|
27381
27386
|
href: `mailto:${n[r].email}`,
|
|
27382
27387
|
className: "gtm-trackable",
|
|
27383
|
-
"data-gtm-event-context":
|
|
27388
|
+
"data-gtm-event-context": d1,
|
|
27384
27389
|
"data-gtm-event-type": n[r].gtmType,
|
|
27385
27390
|
children: n[r].email
|
|
27386
27391
|
}
|
|
@@ -27396,7 +27401,7 @@ const Fo = "footer_", c1 = "SiteFooter", A9 = ({ group: e }) => {
|
|
|
27396
27401
|
variant: "inverted",
|
|
27397
27402
|
version: "full",
|
|
27398
27403
|
className: "gtm-trackable",
|
|
27399
|
-
"data-gtm-event-context":
|
|
27404
|
+
"data-gtm-event-context": d1,
|
|
27400
27405
|
"data-gtm-event-type": "logo-homepage-link"
|
|
27401
27406
|
}
|
|
27402
27407
|
),
|
|
@@ -27415,7 +27420,7 @@ const Fo = "footer_", c1 = "SiteFooter", A9 = ({ group: e }) => {
|
|
|
27415
27420
|
target: "_blank",
|
|
27416
27421
|
rel: "noopener noreferrer",
|
|
27417
27422
|
className: "gtm-trackable",
|
|
27418
|
-
"data-gtm-event-context":
|
|
27423
|
+
"data-gtm-event-context": d1,
|
|
27419
27424
|
"data-gtm-event-type": "social-click",
|
|
27420
27425
|
children: /* @__PURE__ */ h.jsx("span", { className: "hidden", children: /* @__PURE__ */ h.jsx(Mt, { id: `${Fo}social_${e}` }) })
|
|
27421
27426
|
}
|
|
@@ -27437,9 +27442,9 @@ ii.pong = "3";
|
|
|
27437
27442
|
ii.message = "4";
|
|
27438
27443
|
ii.upgrade = "5";
|
|
27439
27444
|
ii.noop = "6";
|
|
27440
|
-
const
|
|
27445
|
+
const Pc = /* @__PURE__ */ Object.create(null);
|
|
27441
27446
|
Object.keys(ii).forEach((e) => {
|
|
27442
|
-
|
|
27447
|
+
Pc[ii[e]] = e;
|
|
27443
27448
|
});
|
|
27444
27449
|
const np = { type: "error", data: "parser error" }, RT = typeof Blob == "function" || typeof Blob < "u" && Object.prototype.toString.call(Blob) === "[object BlobConstructor]", FT = typeof ArrayBuffer == "function", BT = (e) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(e) : e && e.buffer instanceof ArrayBuffer, _m = ({ type: e, data: t }, n, r) => RT && t instanceof Blob ? n ? r(t) : k9(t, r) : FT && (t instanceof ArrayBuffer || BT(t)) ? n ? r(t) : k9(new Blob([t]), r) : r(ii[e] + (t || "")), k9 = (e, t) => {
|
|
27445
27450
|
const n = new FileReader();
|
|
@@ -27481,11 +27486,11 @@ const TF = (e) => {
|
|
|
27481
27486
|
return n === "b" ? {
|
|
27482
27487
|
type: "message",
|
|
27483
27488
|
data: CF(e.substring(1), t)
|
|
27484
|
-
} :
|
|
27485
|
-
type:
|
|
27489
|
+
} : Pc[n] ? e.length > 1 ? {
|
|
27490
|
+
type: Pc[n],
|
|
27486
27491
|
data: e.substring(1)
|
|
27487
27492
|
} : {
|
|
27488
|
-
type:
|
|
27493
|
+
type: Pc[n]
|
|
27489
27494
|
} : np;
|
|
27490
27495
|
}, CF = (e, t) => {
|
|
27491
27496
|
if (_F) {
|
|
@@ -27541,10 +27546,10 @@ function AF() {
|
|
|
27541
27546
|
});
|
|
27542
27547
|
}
|
|
27543
27548
|
let uf;
|
|
27544
|
-
function
|
|
27549
|
+
function Mu(e) {
|
|
27545
27550
|
return e.reduce((t, n) => t + n.length, 0);
|
|
27546
27551
|
}
|
|
27547
|
-
function
|
|
27552
|
+
function $u(e, t) {
|
|
27548
27553
|
if (e[0].length === t)
|
|
27549
27554
|
return e.shift();
|
|
27550
27555
|
const n = new Uint8Array(t);
|
|
@@ -27561,28 +27566,28 @@ function kF(e, t) {
|
|
|
27561
27566
|
transform(o, s) {
|
|
27562
27567
|
for (n.push(o); ; ) {
|
|
27563
27568
|
if (r === 0) {
|
|
27564
|
-
if (
|
|
27569
|
+
if (Mu(n) < 1)
|
|
27565
27570
|
break;
|
|
27566
|
-
const l =
|
|
27571
|
+
const l = $u(n, 1);
|
|
27567
27572
|
a = (l[0] & 128) === 128, i = l[0] & 127, i < 126 ? r = 3 : i === 126 ? r = 1 : r = 2;
|
|
27568
27573
|
} else if (r === 1) {
|
|
27569
|
-
if (
|
|
27574
|
+
if (Mu(n) < 2)
|
|
27570
27575
|
break;
|
|
27571
|
-
const l =
|
|
27576
|
+
const l = $u(n, 2);
|
|
27572
27577
|
i = new DataView(l.buffer, l.byteOffset, l.length).getUint16(0), r = 3;
|
|
27573
27578
|
} else if (r === 2) {
|
|
27574
|
-
if (
|
|
27579
|
+
if (Mu(n) < 8)
|
|
27575
27580
|
break;
|
|
27576
|
-
const l =
|
|
27581
|
+
const l = $u(n, 8), u = new DataView(l.buffer, l.byteOffset, l.length), c = u.getUint32(0);
|
|
27577
27582
|
if (c > Math.pow(2, 53 - 32) - 1) {
|
|
27578
27583
|
s.enqueue(np);
|
|
27579
27584
|
break;
|
|
27580
27585
|
}
|
|
27581
27586
|
i = c * Math.pow(2, 32) + u.getUint32(4), r = 3;
|
|
27582
27587
|
} else {
|
|
27583
|
-
if (
|
|
27588
|
+
if (Mu(n) < i)
|
|
27584
27589
|
break;
|
|
27585
|
-
const l =
|
|
27590
|
+
const l = $u(n, i);
|
|
27586
27591
|
s.enqueue(Cm(a ? l : uf.decode(l), t)), r = 0;
|
|
27587
27592
|
}
|
|
27588
27593
|
if (i === 0 || i > e) {
|
|
@@ -27645,12 +27650,12 @@ nn.prototype.listeners = function(e) {
|
|
|
27645
27650
|
nn.prototype.hasListeners = function(e) {
|
|
27646
27651
|
return !!this.listeners(e).length;
|
|
27647
27652
|
};
|
|
27648
|
-
const
|
|
27653
|
+
const I1 = (() => typeof Promise == "function" && typeof Promise.resolve == "function" ? (t) => Promise.resolve().then(t) : (t, n) => n(t, 0))(), fr = (() => typeof self < "u" ? self : typeof window < "u" ? window : Function("return this")())(), DF = "arraybuffer";
|
|
27649
27654
|
function jT(e, ...t) {
|
|
27650
27655
|
return t.reduce((n, r) => (e.hasOwnProperty(r) && (n[r] = e[r]), n), {});
|
|
27651
27656
|
}
|
|
27652
27657
|
const OF = fr.setTimeout, NF = fr.clearTimeout;
|
|
27653
|
-
function
|
|
27658
|
+
function P1(e, t) {
|
|
27654
27659
|
t.useNativeTimers ? (e.setTimeoutFn = OF.bind(fr), e.clearTimeoutFn = NF.bind(fr)) : (e.setTimeoutFn = fr.setTimeout.bind(fr), e.clearTimeoutFn = fr.clearTimeout.bind(fr));
|
|
27655
27660
|
}
|
|
27656
27661
|
const IF = 1.33;
|
|
@@ -27693,7 +27698,7 @@ class xm extends nn {
|
|
|
27693
27698
|
* @protected
|
|
27694
27699
|
*/
|
|
27695
27700
|
constructor(t) {
|
|
27696
|
-
super(), this.writable = !1,
|
|
27701
|
+
super(), this.writable = !1, P1(this, t), this.opts = t, this.query = t.query, this.socket = t.socket, this.supportsBinary = !t.forceBase64;
|
|
27697
27702
|
}
|
|
27698
27703
|
/**
|
|
27699
27704
|
* Emits an error.
|
|
@@ -27933,7 +27938,7 @@ class Xr extends nn {
|
|
|
27933
27938
|
* @package
|
|
27934
27939
|
*/
|
|
27935
27940
|
constructor(t, n, r) {
|
|
27936
|
-
super(), this.createRequest = t,
|
|
27941
|
+
super(), this.createRequest = t, P1(this, r), this._opts = r, this._method = r.method || "GET", this._uri = n, this._data = r.data !== void 0 ? r.data : null, this._create();
|
|
27937
27942
|
}
|
|
27938
27943
|
/**
|
|
27939
27944
|
* Creates the XHR object and sends the request.
|
|
@@ -28102,7 +28107,7 @@ class qF extends xm {
|
|
|
28102
28107
|
this.doWrite(r, a);
|
|
28103
28108
|
} catch {
|
|
28104
28109
|
}
|
|
28105
|
-
i &&
|
|
28110
|
+
i && I1(() => {
|
|
28106
28111
|
this.writable = !0, this.emitReserved("drain");
|
|
28107
28112
|
}, this.setTimeoutFn);
|
|
28108
28113
|
});
|
|
@@ -28166,7 +28171,7 @@ class VF extends xm {
|
|
|
28166
28171
|
for (let n = 0; n < t.length; n++) {
|
|
28167
28172
|
const r = t[n], i = n === t.length - 1;
|
|
28168
28173
|
this._writer.write(r).then(() => {
|
|
28169
|
-
i &&
|
|
28174
|
+
i && I1(() => {
|
|
28170
28175
|
this.writable = !0, this.emitReserved("drain");
|
|
28171
28176
|
}, this.setTimeoutFn);
|
|
28172
28177
|
});
|
|
@@ -28217,9 +28222,9 @@ function QF(e, t) {
|
|
|
28217
28222
|
i && (n[i] = a);
|
|
28218
28223
|
}), n;
|
|
28219
28224
|
}
|
|
28220
|
-
const ip = typeof addEventListener == "function" && typeof removeEventListener == "function",
|
|
28225
|
+
const ip = typeof addEventListener == "function" && typeof removeEventListener == "function", Rc = [];
|
|
28221
28226
|
ip && addEventListener("offline", () => {
|
|
28222
|
-
|
|
28227
|
+
Rc.forEach((e) => e());
|
|
28223
28228
|
}, !1);
|
|
28224
28229
|
class ia extends nn {
|
|
28225
28230
|
/**
|
|
@@ -28234,7 +28239,7 @@ class ia extends nn {
|
|
|
28234
28239
|
n.hostname = r.host, n.secure = r.protocol === "https" || r.protocol === "wss", n.port = r.port, r.query && (n.query = r.query);
|
|
28235
28240
|
} else
|
|
28236
28241
|
n.host && (n.hostname = rp(n.host).host);
|
|
28237
|
-
|
|
28242
|
+
P1(this, n), this.secure = n.secure != null ? n.secure : typeof location < "u" && location.protocol === "https:", n.hostname && !n.port && (n.port = this.secure ? "443" : "80"), this.hostname = n.hostname || (typeof location < "u" ? location.hostname : "localhost"), this.port = n.port || (typeof location < "u" && location.port ? location.port : this.secure ? "443" : "80"), this.transports = [], this._transportsByName = {}, n.transports.forEach((r) => {
|
|
28238
28243
|
const i = r.prototype.name;
|
|
28239
28244
|
this.transports.push(i), this._transportsByName[i] = r;
|
|
28240
28245
|
}), this.opts = Object.assign({
|
|
@@ -28257,7 +28262,7 @@ class ia extends nn {
|
|
|
28257
28262
|
this._onClose("transport close", {
|
|
28258
28263
|
description: "network connection lost"
|
|
28259
28264
|
});
|
|
28260
|
-
},
|
|
28265
|
+
}, Rc.push(this._offlineEventListener))), this.opts.withCredentials && (this._cookieJar = void 0), this._open();
|
|
28261
28266
|
}
|
|
28262
28267
|
/**
|
|
28263
28268
|
* Creates transport of the given type.
|
|
@@ -28406,7 +28411,7 @@ class ia extends nn {
|
|
|
28406
28411
|
if (!this._pingTimeoutTime)
|
|
28407
28412
|
return !0;
|
|
28408
28413
|
const t = Date.now() > this._pingTimeoutTime;
|
|
28409
|
-
return t && (this._pingTimeoutTime = 0,
|
|
28414
|
+
return t && (this._pingTimeoutTime = 0, I1(() => {
|
|
28410
28415
|
this._onClose("ping timeout");
|
|
28411
28416
|
}, this.setTimeoutFn)), t;
|
|
28412
28417
|
}
|
|
@@ -28485,8 +28490,8 @@ class ia extends nn {
|
|
|
28485
28490
|
_onClose(t, n) {
|
|
28486
28491
|
if (this.readyState === "opening" || this.readyState === "open" || this.readyState === "closing") {
|
|
28487
28492
|
if (this.clearTimeoutFn(this._pingTimeoutTimer), this.transport.removeAllListeners("close"), this.transport.close(), this.transport.removeAllListeners(), ip && (this._beforeunloadEventListener && removeEventListener("beforeunload", this._beforeunloadEventListener, !1), this._offlineEventListener)) {
|
|
28488
|
-
const r =
|
|
28489
|
-
r !== -1 &&
|
|
28493
|
+
const r = Rc.indexOf(this._offlineEventListener);
|
|
28494
|
+
r !== -1 && Rc.splice(r, 1);
|
|
28490
28495
|
}
|
|
28491
28496
|
this.readyState = "closed", this.id = null, this.emitReserved("close", t, n), this.writeBuffer = [], this._prevBufferLen = 0;
|
|
28492
28497
|
}
|
|
@@ -28581,21 +28586,21 @@ const tB = typeof ArrayBuffer == "function", nB = (e) => typeof ArrayBuffer.isVi
|
|
|
28581
28586
|
function wm(e) {
|
|
28582
28587
|
return tB && (e instanceof ArrayBuffer || nB(e)) || rB && e instanceof Blob || iB && e instanceof File;
|
|
28583
28588
|
}
|
|
28584
|
-
function
|
|
28589
|
+
function Fc(e, t) {
|
|
28585
28590
|
if (!e || typeof e != "object")
|
|
28586
28591
|
return !1;
|
|
28587
28592
|
if (Array.isArray(e)) {
|
|
28588
28593
|
for (let n = 0, r = e.length; n < r; n++)
|
|
28589
|
-
if (
|
|
28594
|
+
if (Fc(e[n]))
|
|
28590
28595
|
return !0;
|
|
28591
28596
|
return !1;
|
|
28592
28597
|
}
|
|
28593
28598
|
if (wm(e))
|
|
28594
28599
|
return !0;
|
|
28595
28600
|
if (e.toJSON && typeof e.toJSON == "function" && arguments.length === 1)
|
|
28596
|
-
return
|
|
28601
|
+
return Fc(e.toJSON(), !0);
|
|
28597
28602
|
for (const n in e)
|
|
28598
|
-
if (Object.prototype.hasOwnProperty.call(e, n) &&
|
|
28603
|
+
if (Object.prototype.hasOwnProperty.call(e, n) && Fc(e[n]))
|
|
28599
28604
|
return !0;
|
|
28600
28605
|
return !1;
|
|
28601
28606
|
}
|
|
@@ -28669,7 +28674,7 @@ class uB {
|
|
|
28669
28674
|
* @param {Object} obj - packet object
|
|
28670
28675
|
*/
|
|
28671
28676
|
encode(t) {
|
|
28672
|
-
return (t.type === yt.EVENT || t.type === yt.ACK) &&
|
|
28677
|
+
return (t.type === yt.EVENT || t.type === yt.ACK) && Fc(t) ? this.encodeAsBinary({
|
|
28673
28678
|
type: t.type === yt.EVENT ? yt.BINARY_EVENT : yt.BINARY_ACK,
|
|
28674
28679
|
nsp: t.nsp,
|
|
28675
28680
|
data: t.data,
|
|
@@ -29475,7 +29480,7 @@ ss.prototype.setJitter = function(e) {
|
|
|
29475
29480
|
class sp extends nn {
|
|
29476
29481
|
constructor(t, n) {
|
|
29477
29482
|
var r;
|
|
29478
|
-
super(), this.nsps = {}, this.subs = [], t && typeof t == "object" && (n = t, t = void 0), n = n || {}, n.path = n.path || "/socket.io", this.opts = n,
|
|
29483
|
+
super(), this.nsps = {}, this.subs = [], t && typeof t == "object" && (n = t, t = void 0), n = n || {}, n.path = n.path || "/socket.io", this.opts = n, P1(this, n), this.reconnection(n.reconnection !== !1), this.reconnectionAttempts(n.reconnectionAttempts || 1 / 0), this.reconnectionDelay(n.reconnectionDelay || 1e3), this.reconnectionDelayMax(n.reconnectionDelayMax || 5e3), this.randomizationFactor((r = n.randomizationFactor) !== null && r !== void 0 ? r : 0.5), this.backoff = new ss({
|
|
29479
29484
|
min: this.reconnectionDelay(),
|
|
29480
29485
|
max: this.reconnectionDelayMax(),
|
|
29481
29486
|
jitter: this.randomizationFactor()
|
|
@@ -29593,7 +29598,7 @@ class sp extends nn {
|
|
|
29593
29598
|
* @private
|
|
29594
29599
|
*/
|
|
29595
29600
|
ondecoded(t) {
|
|
29596
|
-
|
|
29601
|
+
I1(() => {
|
|
29597
29602
|
this.emitReserved("packet", t);
|
|
29598
29603
|
}, this.setTimeoutFn);
|
|
29599
29604
|
}
|
|
@@ -29711,17 +29716,17 @@ class sp extends nn {
|
|
|
29711
29716
|
}
|
|
29712
29717
|
}
|
|
29713
29718
|
const Os = {};
|
|
29714
|
-
function
|
|
29719
|
+
function Bc(e, t) {
|
|
29715
29720
|
typeof e == "object" && (t = e, e = void 0), t = t || {};
|
|
29716
29721
|
const n = eB(e, t.path || "/socket.io"), r = n.source, i = n.id, a = n.path, o = Os[i] && a in Os[i].nsps, s = t.forceNew || t["force new connection"] || t.multiplex === !1 || o;
|
|
29717
29722
|
let l;
|
|
29718
29723
|
return s ? l = new sp(r, t) : (Os[i] || (Os[i] = new sp(r, t)), l = Os[i]), n.query && !t.query && (t.query = n.queryKey), l.socket(n.path, t);
|
|
29719
29724
|
}
|
|
29720
|
-
Object.assign(
|
|
29725
|
+
Object.assign(Bc, {
|
|
29721
29726
|
Manager: sp,
|
|
29722
29727
|
Socket: VT,
|
|
29723
|
-
io:
|
|
29724
|
-
connect:
|
|
29728
|
+
io: Bc,
|
|
29729
|
+
connect: Bc
|
|
29725
29730
|
});
|
|
29726
29731
|
const I9 = (e) => {
|
|
29727
29732
|
let t;
|
|
@@ -29796,7 +29801,7 @@ class gB {
|
|
|
29796
29801
|
constructor(t) {
|
|
29797
29802
|
this.socket = void 0, this.config = void 0, this.config = t;
|
|
29798
29803
|
const n = kn.getState();
|
|
29799
|
-
this.socket =
|
|
29804
|
+
this.socket = Bc(n.socketUrl, {
|
|
29800
29805
|
transports: ["websocket"],
|
|
29801
29806
|
auth: {
|
|
29802
29807
|
subscriber_id: this.config.subscriberId,
|
|
@@ -30500,7 +30505,7 @@ const IB = {
|
|
|
30500
30505
|
function Jr(e) {
|
|
30501
30506
|
return e.split("-")[0];
|
|
30502
30507
|
}
|
|
30503
|
-
var Ha = Math.max,
|
|
30508
|
+
var Ha = Math.max, f1 = Math.min, es = Math.round;
|
|
30504
30509
|
function lp() {
|
|
30505
30510
|
var e = navigator.userAgentData;
|
|
30506
30511
|
return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
|
|
@@ -30561,7 +30566,7 @@ function ma(e) {
|
|
|
30561
30566
|
e.document
|
|
30562
30567
|
)) || window.document).documentElement;
|
|
30563
30568
|
}
|
|
30564
|
-
function
|
|
30569
|
+
function R1(e) {
|
|
30565
30570
|
return ai(e) === "html" ? e : (
|
|
30566
30571
|
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
30567
30572
|
// $FlowFixMe[incompatible-return]
|
|
@@ -30584,7 +30589,7 @@ function RB(e) {
|
|
|
30584
30589
|
if (r.position === "fixed")
|
|
30585
30590
|
return null;
|
|
30586
30591
|
}
|
|
30587
|
-
var i =
|
|
30592
|
+
var i = R1(e);
|
|
30588
30593
|
for (Sm(i) && (i = i.host); vr(i) && ["html", "body"].indexOf(ai(i)) < 0; ) {
|
|
30589
30594
|
var a = Ni(i);
|
|
30590
30595
|
if (a.transform !== "none" || a.perspective !== "none" || a.contain === "paint" || ["transform", "perspective"].indexOf(a.willChange) !== -1 || t && a.willChange === "filter" || t && a.filter && a.filter !== "none")
|
|
@@ -30602,7 +30607,7 @@ function Om(e) {
|
|
|
30602
30607
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
30603
30608
|
}
|
|
30604
30609
|
function fl(e, t, n) {
|
|
30605
|
-
return Ha(e,
|
|
30610
|
+
return Ha(e, f1(t, n));
|
|
30606
30611
|
}
|
|
30607
30612
|
function FB(e, t, n) {
|
|
30608
30613
|
var r = fl(e, t, n);
|
|
@@ -30739,17 +30744,17 @@ const zB = {
|
|
|
30739
30744
|
fn: UB,
|
|
30740
30745
|
data: {}
|
|
30741
30746
|
};
|
|
30742
|
-
var
|
|
30747
|
+
var ju = {
|
|
30743
30748
|
passive: !0
|
|
30744
30749
|
};
|
|
30745
30750
|
function qB(e) {
|
|
30746
30751
|
var t = e.state, n = e.instance, r = e.options, i = r.scroll, a = i === void 0 ? !0 : i, o = r.resize, s = o === void 0 ? !0 : o, l = nr(t.elements.popper), u = [].concat(t.scrollParents.reference, t.scrollParents.popper);
|
|
30747
30752
|
return a && u.forEach(function(c) {
|
|
30748
|
-
c.addEventListener("scroll", n.update,
|
|
30749
|
-
}), s && l.addEventListener("resize", n.update,
|
|
30753
|
+
c.addEventListener("scroll", n.update, ju);
|
|
30754
|
+
}), s && l.addEventListener("resize", n.update, ju), function() {
|
|
30750
30755
|
a && u.forEach(function(c) {
|
|
30751
|
-
c.removeEventListener("scroll", n.update,
|
|
30752
|
-
}), s && l.removeEventListener("resize", n.update,
|
|
30756
|
+
c.removeEventListener("scroll", n.update, ju);
|
|
30757
|
+
}), s && l.removeEventListener("resize", n.update, ju);
|
|
30753
30758
|
};
|
|
30754
30759
|
}
|
|
30755
30760
|
const WB = {
|
|
@@ -30767,7 +30772,7 @@ var VB = {
|
|
|
30767
30772
|
bottom: "top",
|
|
30768
30773
|
top: "bottom"
|
|
30769
30774
|
};
|
|
30770
|
-
function
|
|
30775
|
+
function Lc(e) {
|
|
30771
30776
|
return e.replace(/left|right|bottom|top/g, function(t) {
|
|
30772
30777
|
return VB[t];
|
|
30773
30778
|
});
|
|
@@ -30819,7 +30824,7 @@ function Pm(e) {
|
|
|
30819
30824
|
return /auto|scroll|overlay|hidden/.test(n + i + r);
|
|
30820
30825
|
}
|
|
30821
30826
|
function t_(e) {
|
|
30822
|
-
return ["html", "body", "#document"].indexOf(ai(e)) >= 0 ? e.ownerDocument.body : vr(e) && Pm(e) ? e : t_(
|
|
30827
|
+
return ["html", "body", "#document"].indexOf(ai(e)) >= 0 ? e.ownerDocument.body : vr(e) && Pm(e) ? e : t_(R1(e));
|
|
30823
30828
|
}
|
|
30824
30829
|
function hl(e, t) {
|
|
30825
30830
|
var n;
|
|
@@ -30827,7 +30832,7 @@ function hl(e, t) {
|
|
|
30827
30832
|
var r = t_(e), i = r === ((n = e.ownerDocument) == null ? void 0 : n.body), a = nr(r), o = i ? [a].concat(a.visualViewport || [], Pm(r) ? r : []) : r, s = t.concat(o);
|
|
30828
30833
|
return i ? s : (
|
|
30829
30834
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
30830
|
-
s.concat(hl(
|
|
30835
|
+
s.concat(hl(R1(o)))
|
|
30831
30836
|
);
|
|
30832
30837
|
}
|
|
30833
30838
|
function up(e) {
|
|
@@ -30846,7 +30851,7 @@ function j9(e, t, n) {
|
|
|
30846
30851
|
return t === GT ? up(GB(e, n)) : Va(t) ? ZB(t, n) : up(YB(ma(e)));
|
|
30847
30852
|
}
|
|
30848
30853
|
function QB(e) {
|
|
30849
|
-
var t = hl(
|
|
30854
|
+
var t = hl(R1(e)), n = ["absolute", "fixed"].indexOf(Ni(e).position) >= 0, r = n && vr(e) ? tu(e) : e;
|
|
30850
30855
|
return Va(r) ? t.filter(function(i) {
|
|
30851
30856
|
return Va(i) && QT(i, r) && ai(i) !== "body";
|
|
30852
30857
|
}) : [];
|
|
@@ -30854,7 +30859,7 @@ function QB(e) {
|
|
|
30854
30859
|
function XB(e, t, n, r) {
|
|
30855
30860
|
var i = t === "clippingParents" ? QB(e) : [].concat(t), a = [].concat(i, [n]), o = a[0], s = a.reduce(function(l, u) {
|
|
30856
30861
|
var c = j9(e, u, r);
|
|
30857
|
-
return l.top = Ha(c.top, l.top), l.right =
|
|
30862
|
+
return l.top = Ha(c.top, l.top), l.right = f1(c.right, l.right), l.bottom = f1(c.bottom, l.bottom), l.left = Ha(c.left, l.left), l;
|
|
30858
30863
|
}, j9(e, o, r));
|
|
30859
30864
|
return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s;
|
|
30860
30865
|
}
|
|
@@ -30950,13 +30955,13 @@ function JB(e, t) {
|
|
|
30950
30955
|
function eL(e) {
|
|
30951
30956
|
if (Jr(e) === km)
|
|
30952
30957
|
return [];
|
|
30953
|
-
var t =
|
|
30958
|
+
var t = Lc(e);
|
|
30954
30959
|
return [$9(e), t, $9(t)];
|
|
30955
30960
|
}
|
|
30956
30961
|
function tL(e) {
|
|
30957
30962
|
var t = e.state, n = e.options, r = e.name;
|
|
30958
30963
|
if (!t.modifiersData[r]._skip) {
|
|
30959
|
-
for (var i = n.mainAxis, a = i === void 0 ? !0 : i, o = n.altAxis, s = o === void 0 ? !0 : o, l = n.fallbackPlacements, u = n.padding, c = n.boundary, d = n.rootBoundary, f = n.altBoundary, p = n.flipVariations, g = p === void 0 ? !0 : p, m = n.allowedAutoPlacements, y = t.options.placement, v = Jr(y), E = v === y, b = l || (E || !g ? [
|
|
30964
|
+
for (var i = n.mainAxis, a = i === void 0 ? !0 : i, o = n.altAxis, s = o === void 0 ? !0 : o, l = n.fallbackPlacements, u = n.padding, c = n.boundary, d = n.rootBoundary, f = n.altBoundary, p = n.flipVariations, g = p === void 0 ? !0 : p, m = n.allowedAutoPlacements, y = t.options.placement, v = Jr(y), E = v === y, b = l || (E || !g ? [Lc(y)] : eL(y)), T = [y].concat(b).reduce(function(H, j) {
|
|
30960
30965
|
return H.concat(Jr(j) === km ? JB(t, {
|
|
30961
30966
|
placement: j,
|
|
30962
30967
|
boundary: c,
|
|
@@ -30973,8 +30978,8 @@ function tL(e) {
|
|
|
30973
30978
|
altBoundary: f,
|
|
30974
30979
|
padding: u
|
|
30975
30980
|
}), N = F ? A ? br : Un : A ? Er : Hn;
|
|
30976
|
-
C[$] > w[$] && (N =
|
|
30977
|
-
var te =
|
|
30981
|
+
C[$] > w[$] && (N = Lc(N));
|
|
30982
|
+
var te = Lc(N), ee = [];
|
|
30978
30983
|
if (a && ee.push(z[D] <= 0), s && ee.push(z[N] <= 0, z[te] <= 0), ee.every(function(H) {
|
|
30979
30984
|
return H;
|
|
30980
30985
|
})) {
|
|
@@ -31118,7 +31123,7 @@ function dL(e) {
|
|
|
31118
31123
|
var A, F = T === "y" ? Hn : Un, $ = T === "y" ? Er : br, z = T === "y" ? "height" : "width", N = w[T], te = N + y[F], ee = N - y[$], S = p ? -I[z] / 2 : 0, _ = E === Jo ? k[z] : I[z], V = E === Jo ? -I[z] : -k[z], L = t.elements.arrow, H = p && L ? Dm(L) : {
|
|
31119
31124
|
width: 0,
|
|
31120
31125
|
height: 0
|
|
31121
|
-
}, j = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : XT(), U = j[F], Z = j[$], se = fl(0, k[z], H[z]), Q = b ? k[z] / 2 - S - se - U - B.mainAxis : _ - se - U - B.mainAxis, G = b ? -k[z] / 2 + S + se + Z + B.mainAxis : V + se + Z + B.mainAxis, oe = t.elements.arrow && tu(t.elements.arrow), ie = oe ? T === "y" ? oe.clientTop || 0 : oe.clientLeft || 0 : 0, xe = (A = P == null ? void 0 : P[T]) != null ? A : 0, ke = N + Q - xe - ie, Be = N + G - xe, qe = fl(p ?
|
|
31126
|
+
}, j = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : XT(), U = j[F], Z = j[$], se = fl(0, k[z], H[z]), Q = b ? k[z] / 2 - S - se - U - B.mainAxis : _ - se - U - B.mainAxis, G = b ? -k[z] / 2 + S + se + Z + B.mainAxis : V + se + Z + B.mainAxis, oe = t.elements.arrow && tu(t.elements.arrow), ie = oe ? T === "y" ? oe.clientTop || 0 : oe.clientLeft || 0 : 0, xe = (A = P == null ? void 0 : P[T]) != null ? A : 0, ke = N + Q - xe - ie, Be = N + G - xe, qe = fl(p ? f1(te, ke) : te, N, p ? Ha(ee, Be) : ee);
|
|
31122
31127
|
w[T] = qe, D[T] = qe - N;
|
|
31123
31128
|
}
|
|
31124
31129
|
if (s) {
|
|
@@ -31328,7 +31333,7 @@ function TL(e) {
|
|
|
31328
31333
|
var _L = [WB, uL, zB, IB, sL, nL, fL, $B, iL], CL = /* @__PURE__ */ TL({
|
|
31329
31334
|
defaultModifiers: _L
|
|
31330
31335
|
}), xL = typeof Element < "u", wL = typeof Map == "function", AL = typeof Set == "function", kL = typeof ArrayBuffer == "function" && !!ArrayBuffer.isView;
|
|
31331
|
-
function
|
|
31336
|
+
function Mc(e, t) {
|
|
31332
31337
|
if (e === t)
|
|
31333
31338
|
return !0;
|
|
31334
31339
|
if (e && t && typeof e == "object" && typeof t == "object") {
|
|
@@ -31339,7 +31344,7 @@ function Lc(e, t) {
|
|
|
31339
31344
|
if (n = e.length, n != t.length)
|
|
31340
31345
|
return !1;
|
|
31341
31346
|
for (r = n; r-- !== 0; )
|
|
31342
|
-
if (!
|
|
31347
|
+
if (!Mc(e[r], t[r]))
|
|
31343
31348
|
return !1;
|
|
31344
31349
|
return !0;
|
|
31345
31350
|
}
|
|
@@ -31351,7 +31356,7 @@ function Lc(e, t) {
|
|
|
31351
31356
|
if (!t.has(r.value[0]))
|
|
31352
31357
|
return !1;
|
|
31353
31358
|
for (a = e.entries(); !(r = a.next()).done; )
|
|
31354
|
-
if (!
|
|
31359
|
+
if (!Mc(r.value[1], t.get(r.value[0])))
|
|
31355
31360
|
return !1;
|
|
31356
31361
|
return !0;
|
|
31357
31362
|
}
|
|
@@ -31385,7 +31390,7 @@ function Lc(e, t) {
|
|
|
31385
31390
|
if (xL && e instanceof Element)
|
|
31386
31391
|
return !1;
|
|
31387
31392
|
for (r = n; r-- !== 0; )
|
|
31388
|
-
if (!((i[r] === "_owner" || i[r] === "__v" || i[r] === "__o") && e.$$typeof) && !
|
|
31393
|
+
if (!((i[r] === "_owner" || i[r] === "__v" || i[r] === "__o") && e.$$typeof) && !Mc(e[i[r]], t[i[r]]))
|
|
31389
31394
|
return !1;
|
|
31390
31395
|
return !0;
|
|
31391
31396
|
}
|
|
@@ -31393,7 +31398,7 @@ function Lc(e, t) {
|
|
|
31393
31398
|
}
|
|
31394
31399
|
var SL = function(t, n) {
|
|
31395
31400
|
try {
|
|
31396
|
-
return
|
|
31401
|
+
return Mc(t, n);
|
|
31397
31402
|
} catch (r) {
|
|
31398
31403
|
if ((r.message || "").match(/stack|recursion/i))
|
|
31399
31404
|
return console.warn("react-fast-compare cannot handle circular refs"), !1;
|
|
@@ -31531,7 +31536,7 @@ var LL = /* @__PURE__ */ function() {
|
|
|
31531
31536
|
return (i = r.parentNode) == null ? void 0 : i.removeChild(r);
|
|
31532
31537
|
}), this.tags = [], this.ctr = 0;
|
|
31533
31538
|
}, e;
|
|
31534
|
-
}(), bn = "-ms-",
|
|
31539
|
+
}(), bn = "-ms-", h1 = "-moz-", Ct = "-webkit-", i_ = "comm", Rm = "rule", Fm = "decl", ML = "@import", a_ = "@keyframes", $L = "@layer", jL = Math.abs, F1 = String.fromCharCode, HL = Object.assign;
|
|
31535
31540
|
function UL(e, t) {
|
|
31536
31541
|
return vn(e, 0) ^ 45 ? (((t << 2 ^ vn(e, 0)) << 2 ^ vn(e, 1)) << 2 ^ vn(e, 2)) << 2 ^ vn(e, 3) : 0;
|
|
31537
31542
|
}
|
|
@@ -31559,32 +31564,32 @@ function Kr(e) {
|
|
|
31559
31564
|
function Bm(e) {
|
|
31560
31565
|
return e.length;
|
|
31561
31566
|
}
|
|
31562
|
-
function
|
|
31567
|
+
function Hu(e, t) {
|
|
31563
31568
|
return t.push(e), e;
|
|
31564
31569
|
}
|
|
31565
31570
|
function qL(e, t) {
|
|
31566
31571
|
return e.map(t).join("");
|
|
31567
31572
|
}
|
|
31568
|
-
var
|
|
31569
|
-
function
|
|
31570
|
-
return { value: e, root: t, parent: n, type: r, props: i, children: a, line:
|
|
31573
|
+
var B1 = 1, rs = 1, s_ = 0, qn = 0, tn = 0, ls = "";
|
|
31574
|
+
function L1(e, t, n, r, i, a, o) {
|
|
31575
|
+
return { value: e, root: t, parent: n, type: r, props: i, children: a, line: B1, column: rs, length: o, return: "" };
|
|
31571
31576
|
}
|
|
31572
31577
|
function Is(e, t) {
|
|
31573
|
-
return HL(
|
|
31578
|
+
return HL(L1("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
31574
31579
|
}
|
|
31575
31580
|
function WL() {
|
|
31576
31581
|
return tn;
|
|
31577
31582
|
}
|
|
31578
31583
|
function VL() {
|
|
31579
|
-
return tn = qn > 0 ? vn(ls, --qn) : 0, rs--, tn === 10 && (rs = 1,
|
|
31584
|
+
return tn = qn > 0 ? vn(ls, --qn) : 0, rs--, tn === 10 && (rs = 1, B1--), tn;
|
|
31580
31585
|
}
|
|
31581
31586
|
function Jn() {
|
|
31582
|
-
return tn = qn < s_ ? vn(ls, qn++) : 0, rs++, tn === 10 && (rs = 1,
|
|
31587
|
+
return tn = qn < s_ ? vn(ls, qn++) : 0, rs++, tn === 10 && (rs = 1, B1++), tn;
|
|
31583
31588
|
}
|
|
31584
31589
|
function ei() {
|
|
31585
31590
|
return vn(ls, qn);
|
|
31586
31591
|
}
|
|
31587
|
-
function
|
|
31592
|
+
function $c() {
|
|
31588
31593
|
return qn;
|
|
31589
31594
|
}
|
|
31590
31595
|
function nu(e, t) {
|
|
@@ -31623,12 +31628,12 @@ function zl(e) {
|
|
|
31623
31628
|
return 0;
|
|
31624
31629
|
}
|
|
31625
31630
|
function l_(e) {
|
|
31626
|
-
return
|
|
31631
|
+
return B1 = rs = 1, s_ = Kr(ls = e), qn = 0, [];
|
|
31627
31632
|
}
|
|
31628
31633
|
function u_(e) {
|
|
31629
31634
|
return ls = "", e;
|
|
31630
31635
|
}
|
|
31631
|
-
function
|
|
31636
|
+
function jc(e) {
|
|
31632
31637
|
return o_(nu(qn - 1, fp(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
31633
31638
|
}
|
|
31634
31639
|
function KL(e) {
|
|
@@ -31639,7 +31644,7 @@ function KL(e) {
|
|
|
31639
31644
|
function GL(e, t) {
|
|
31640
31645
|
for (; --t && Jn() && !(tn < 48 || tn > 102 || tn > 57 && tn < 65 || tn > 70 && tn < 97); )
|
|
31641
31646
|
;
|
|
31642
|
-
return nu(e,
|
|
31647
|
+
return nu(e, $c() + (t < 6 && ei() == 32 && Jn() == 32));
|
|
31643
31648
|
}
|
|
31644
31649
|
function fp(e) {
|
|
31645
31650
|
for (; Jn(); )
|
|
@@ -31663,7 +31668,7 @@ function YL(e, t) {
|
|
|
31663
31668
|
for (; Jn() && e + tn !== 47 + 10; )
|
|
31664
31669
|
if (e + tn === 42 + 42 && ei() === 47)
|
|
31665
31670
|
break;
|
|
31666
|
-
return "/*" + nu(t, qn - 1) + "*" +
|
|
31671
|
+
return "/*" + nu(t, qn - 1) + "*" + F1(e === 47 ? e : Jn());
|
|
31667
31672
|
}
|
|
31668
31673
|
function ZL(e) {
|
|
31669
31674
|
for (; !zl(ei()); )
|
|
@@ -31671,20 +31676,20 @@ function ZL(e) {
|
|
|
31671
31676
|
return nu(e, qn);
|
|
31672
31677
|
}
|
|
31673
31678
|
function QL(e) {
|
|
31674
|
-
return u_(
|
|
31679
|
+
return u_(Hc("", null, null, null, [""], e = l_(e), 0, [0], e));
|
|
31675
31680
|
}
|
|
31676
|
-
function
|
|
31681
|
+
function Hc(e, t, n, r, i, a, o, s, l) {
|
|
31677
31682
|
for (var u = 0, c = 0, d = o, f = 0, p = 0, g = 0, m = 1, y = 1, v = 1, E = 0, b = "", T = i, C = a, w = r, k = b; y; )
|
|
31678
31683
|
switch (g = E, E = Jn()) {
|
|
31679
31684
|
case 40:
|
|
31680
31685
|
if (g != 108 && vn(k, d - 1) == 58) {
|
|
31681
|
-
dp(k += xt(
|
|
31686
|
+
dp(k += xt(jc(E), "&", "&\f"), "&\f") != -1 && (v = -1);
|
|
31682
31687
|
break;
|
|
31683
31688
|
}
|
|
31684
31689
|
case 34:
|
|
31685
31690
|
case 39:
|
|
31686
31691
|
case 91:
|
|
31687
|
-
k +=
|
|
31692
|
+
k += jc(E);
|
|
31688
31693
|
break;
|
|
31689
31694
|
case 9:
|
|
31690
31695
|
case 10:
|
|
@@ -31693,13 +31698,13 @@ function jc(e, t, n, r, i, a, o, s, l) {
|
|
|
31693
31698
|
k += KL(g);
|
|
31694
31699
|
break;
|
|
31695
31700
|
case 92:
|
|
31696
|
-
k += GL(
|
|
31701
|
+
k += GL($c() - 1, 7);
|
|
31697
31702
|
continue;
|
|
31698
31703
|
case 47:
|
|
31699
31704
|
switch (ei()) {
|
|
31700
31705
|
case 42:
|
|
31701
31706
|
case 47:
|
|
31702
|
-
|
|
31707
|
+
Hu(XL(YL(Jn(), $c()), t, n), l);
|
|
31703
31708
|
break;
|
|
31704
31709
|
default:
|
|
31705
31710
|
k += "/";
|
|
@@ -31715,24 +31720,24 @@ function jc(e, t, n, r, i, a, o, s, l) {
|
|
|
31715
31720
|
case 125:
|
|
31716
31721
|
y = 0;
|
|
31717
31722
|
case 59 + c:
|
|
31718
|
-
v == -1 && (k = xt(k, /\f/g, "")), p > 0 && Kr(k) - d &&
|
|
31723
|
+
v == -1 && (k = xt(k, /\f/g, "")), p > 0 && Kr(k) - d && Hu(p > 32 ? V9(k + ";", r, n, d - 1) : V9(xt(k, " ", "") + ";", r, n, d - 2), l);
|
|
31719
31724
|
break;
|
|
31720
31725
|
case 59:
|
|
31721
31726
|
k += ";";
|
|
31722
31727
|
default:
|
|
31723
|
-
if (
|
|
31728
|
+
if (Hu(w = W9(k, t, n, u, c, i, s, b, T = [], C = [], d), a), E === 123)
|
|
31724
31729
|
if (c === 0)
|
|
31725
|
-
|
|
31730
|
+
Hc(k, t, w, w, T, a, d, s, C);
|
|
31726
31731
|
else
|
|
31727
31732
|
switch (f === 99 && vn(k, 3) === 110 ? 100 : f) {
|
|
31728
31733
|
case 100:
|
|
31729
31734
|
case 108:
|
|
31730
31735
|
case 109:
|
|
31731
31736
|
case 115:
|
|
31732
|
-
|
|
31737
|
+
Hc(e, w, w, r && Hu(W9(e, w, w, 0, 0, i, s, b, i, T = [], d), C), i, C, d, s, r ? T : C);
|
|
31733
31738
|
break;
|
|
31734
31739
|
default:
|
|
31735
|
-
|
|
31740
|
+
Hc(k, w, w, w, [""], C, 0, s, C);
|
|
31736
31741
|
}
|
|
31737
31742
|
}
|
|
31738
31743
|
u = c = p = 0, m = v = 1, b = k = "", d = o;
|
|
@@ -31746,7 +31751,7 @@ function jc(e, t, n, r, i, a, o, s, l) {
|
|
|
31746
31751
|
else if (E == 125 && m++ == 0 && VL() == 125)
|
|
31747
31752
|
continue;
|
|
31748
31753
|
}
|
|
31749
|
-
switch (k +=
|
|
31754
|
+
switch (k += F1(E), E * m) {
|
|
31750
31755
|
case 38:
|
|
31751
31756
|
v = c > 0 ? 1 : (k += "\f", -1);
|
|
31752
31757
|
break;
|
|
@@ -31754,7 +31759,7 @@ function jc(e, t, n, r, i, a, o, s, l) {
|
|
|
31754
31759
|
s[u++] = (Kr(k) - 1) * v, v = 1;
|
|
31755
31760
|
break;
|
|
31756
31761
|
case 64:
|
|
31757
|
-
ei() === 45 && (k +=
|
|
31762
|
+
ei() === 45 && (k += jc(Jn())), f = ei(), c = d = Kr(b = k += ZL($c())), E++;
|
|
31758
31763
|
break;
|
|
31759
31764
|
case 45:
|
|
31760
31765
|
g === 45 && Kr(k) == 2 && (m = 0);
|
|
@@ -31766,13 +31771,13 @@ function W9(e, t, n, r, i, a, o, s, l, u, c) {
|
|
|
31766
31771
|
for (var d = i - 1, f = i === 0 ? a : [""], p = Bm(f), g = 0, m = 0, y = 0; g < r; ++g)
|
|
31767
31772
|
for (var v = 0, E = Ul(e, d + 1, d = jL(m = o[g])), b = e; v < p; ++v)
|
|
31768
31773
|
(b = o_(m > 0 ? f[v] + " " + E : xt(E, /&\f/g, f[v]))) && (l[y++] = b);
|
|
31769
|
-
return
|
|
31774
|
+
return L1(e, t, n, i === 0 ? Rm : s, l, u, c);
|
|
31770
31775
|
}
|
|
31771
31776
|
function XL(e, t, n) {
|
|
31772
|
-
return
|
|
31777
|
+
return L1(e, t, n, i_, F1(WL()), Ul(e, 2, -2), 0);
|
|
31773
31778
|
}
|
|
31774
31779
|
function V9(e, t, n, r) {
|
|
31775
|
-
return
|
|
31780
|
+
return L1(e, t, n, Fm, Ul(e, 0, r), Ul(e, r + 1, -1), r);
|
|
31776
31781
|
}
|
|
31777
31782
|
function jo(e, t) {
|
|
31778
31783
|
for (var n = "", r = Bm(e), i = 0; i < r; i++)
|
|
@@ -31821,7 +31826,7 @@ var nM = function(t, n, r) {
|
|
|
31821
31826
|
i === 38 && ei() === 12 && (n[r] = 1), t[r] += nM(qn - 1, n, r);
|
|
31822
31827
|
break;
|
|
31823
31828
|
case 2:
|
|
31824
|
-
t[r] +=
|
|
31829
|
+
t[r] += jc(i);
|
|
31825
31830
|
break;
|
|
31826
31831
|
case 4:
|
|
31827
31832
|
if (i === 44) {
|
|
@@ -31829,7 +31834,7 @@ var nM = function(t, n, r) {
|
|
|
31829
31834
|
break;
|
|
31830
31835
|
}
|
|
31831
31836
|
default:
|
|
31832
|
-
t[r] +=
|
|
31837
|
+
t[r] += F1(i);
|
|
31833
31838
|
}
|
|
31834
31839
|
while (i = Jn());
|
|
31835
31840
|
return t;
|
|
@@ -31892,7 +31897,7 @@ function c_(e, t) {
|
|
|
31892
31897
|
case 4810:
|
|
31893
31898
|
case 6968:
|
|
31894
31899
|
case 2756:
|
|
31895
|
-
return Ct + e +
|
|
31900
|
+
return Ct + e + h1 + e + bn + e + e;
|
|
31896
31901
|
case 6828:
|
|
31897
31902
|
case 4268:
|
|
31898
31903
|
return Ct + e + bn + e + e;
|
|
@@ -31942,7 +31947,7 @@ function c_(e, t) {
|
|
|
31942
31947
|
if (vn(e, t + 4) !== 45)
|
|
31943
31948
|
break;
|
|
31944
31949
|
case 102:
|
|
31945
|
-
return xt(e, /(.+:)(.+)-([^]+)/, "$1" + Ct + "$2-$3$1" +
|
|
31950
|
+
return xt(e, /(.+:)(.+)-([^]+)/, "$1" + Ct + "$2-$3$1" + h1 + (vn(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
31946
31951
|
case 115:
|
|
31947
31952
|
return ~dp(e, "stretch") ? c_(xt(e, "stretch", "fill-available"), t) + e : e;
|
|
31948
31953
|
}
|
|
@@ -31988,13 +31993,13 @@ var sM = function(t, n, r, i) {
|
|
|
31988
31993
|
case ":read-only":
|
|
31989
31994
|
case ":read-write":
|
|
31990
31995
|
return jo([Is(t, {
|
|
31991
|
-
props: [xt(a, /:(read-\w+)/, ":" +
|
|
31996
|
+
props: [xt(a, /:(read-\w+)/, ":" + h1 + "$1")]
|
|
31992
31997
|
})], i);
|
|
31993
31998
|
case "::placeholder":
|
|
31994
31999
|
return jo([Is(t, {
|
|
31995
32000
|
props: [xt(a, /:(plac\w+)/, ":" + Ct + "input-$1")]
|
|
31996
32001
|
}), Is(t, {
|
|
31997
|
-
props: [xt(a, /:(plac\w+)/, ":" +
|
|
32002
|
+
props: [xt(a, /:(plac\w+)/, ":" + h1 + "$1")]
|
|
31998
32003
|
}), Is(t, {
|
|
31999
32004
|
props: [xt(a, /:(plac\w+)/, bn + "input-$1")]
|
|
32000
32005
|
})], i);
|
|
@@ -32774,10 +32779,10 @@ function T_(e, t) {
|
|
|
32774
32779
|
if (!e)
|
|
32775
32780
|
throw new Error("Setting `" + t + "` requires `path` to be set too");
|
|
32776
32781
|
}
|
|
32777
|
-
var s$ = LM,
|
|
32778
|
-
|
|
32779
|
-
|
|
32780
|
-
|
|
32782
|
+
var s$ = LM, M1 = GM, l$ = M1;
|
|
32783
|
+
M1.prototype.message = u$;
|
|
32784
|
+
M1.prototype.info = d$;
|
|
32785
|
+
M1.prototype.fail = c$;
|
|
32781
32786
|
function u$(e, t, n) {
|
|
32782
32787
|
var r = new s$(e, t, n);
|
|
32783
32788
|
return this.path && (r.name = this.path + ":" + r.name, r.file = this.path), r.fatal = !1, this.messages.push(r), r;
|
|
@@ -32851,7 +32856,7 @@ function x_() {
|
|
|
32851
32856
|
return e.push(i), t;
|
|
32852
32857
|
}
|
|
32853
32858
|
}
|
|
32854
|
-
var n5 = f$, E$ = b_,
|
|
32859
|
+
var n5 = f$, E$ = b_, Uu = Qb, r5 = p$, w_ = y$, Ps = __, b$ = A_().freeze(), T$ = [].slice, _$ = {}.hasOwnProperty, C$ = w_().use(x$).use(w$).use(A$);
|
|
32855
32860
|
function x$(e, t) {
|
|
32856
32861
|
t.tree = e.parse(t.file);
|
|
32857
32862
|
}
|
|
@@ -32871,7 +32876,7 @@ function A_() {
|
|
|
32871
32876
|
function a() {
|
|
32872
32877
|
for (var y = A_(), v = -1; ++v < e.length; )
|
|
32873
32878
|
y.use.apply(null, e[v]);
|
|
32874
|
-
return y.data(
|
|
32879
|
+
return y.data(Uu(!0, {}, n)), y;
|
|
32875
32880
|
}
|
|
32876
32881
|
function o() {
|
|
32877
32882
|
var y, v;
|
|
@@ -32893,9 +32898,9 @@ function A_() {
|
|
|
32893
32898
|
"length" in y ? T(y) : E(y);
|
|
32894
32899
|
else
|
|
32895
32900
|
throw new Error("Expected usable value, not `" + y + "`");
|
|
32896
|
-
return v && (n.settings =
|
|
32901
|
+
return v && (n.settings = Uu(n.settings || {}, v)), a;
|
|
32897
32902
|
function E(w) {
|
|
32898
|
-
T(w.plugins), w.settings && (v =
|
|
32903
|
+
T(w.plugins), w.settings && (v = Uu(v || {}, w.settings));
|
|
32899
32904
|
}
|
|
32900
32905
|
function b(w) {
|
|
32901
32906
|
if (typeof w == "function")
|
|
@@ -32916,7 +32921,7 @@ function A_() {
|
|
|
32916
32921
|
}
|
|
32917
32922
|
function C(w, k) {
|
|
32918
32923
|
var I = u(w);
|
|
32919
|
-
I ? (r5(I[1]) && r5(k) && (k =
|
|
32924
|
+
I ? (r5(I[1]) && r5(k) && (k = Uu(!0, I[1], k)), I[1] = k) : e.push(T$.call(arguments));
|
|
32920
32925
|
}
|
|
32921
32926
|
}
|
|
32922
32927
|
function u(y) {
|
|
@@ -33019,7 +33024,7 @@ var D$ = Object.assign, iu = D$, O$ = {}.hasOwnProperty, S_ = O$;
|
|
|
33019
33024
|
function N$(e) {
|
|
33020
33025
|
return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
33021
33026
|
}
|
|
33022
|
-
var jm = N$, I$ = String.fromCharCode,
|
|
33027
|
+
var jm = N$, I$ = String.fromCharCode, $1 = I$, P$ = $1;
|
|
33023
33028
|
function R$(e, t) {
|
|
33024
33029
|
var n = parseInt(e, t);
|
|
33025
33030
|
return (
|
|
@@ -33096,9 +33101,9 @@ function V$(e, t, n) {
|
|
|
33096
33101
|
return i === null || z$(i) ? t(i) : n(i);
|
|
33097
33102
|
}
|
|
33098
33103
|
}
|
|
33099
|
-
var
|
|
33104
|
+
var j1 = W$;
|
|
33100
33105
|
Object.defineProperty(Um, "__esModule", { value: !0 });
|
|
33101
|
-
var K$ = rn, D_ = sn, G$ =
|
|
33106
|
+
var K$ = rn, D_ = sn, G$ = j1, Y$ = Q$, gf = {
|
|
33102
33107
|
tokenize: X$
|
|
33103
33108
|
}, Z$ = {
|
|
33104
33109
|
tokenize: J$
|
|
@@ -33325,7 +33330,7 @@ function Ej(e, t, n) {
|
|
|
33325
33330
|
}
|
|
33326
33331
|
var bj = mj;
|
|
33327
33332
|
Object.defineProperty(zm, "__esModule", { value: !0 });
|
|
33328
|
-
var Tj = bj, _j = sn, Cj =
|
|
33333
|
+
var Tj = bj, _j = sn, Cj = j1, xj = wj;
|
|
33329
33334
|
function wj(e) {
|
|
33330
33335
|
var t = this, n = e.attempt(
|
|
33331
33336
|
// Try to parse a blank line.
|
|
@@ -33484,7 +33489,7 @@ function $j(e, t, n) {
|
|
|
33484
33489
|
a = e[i].resolveAll, a && r.indexOf(a) < 0 && (t = a(t, n), r.push(a));
|
|
33485
33490
|
return t;
|
|
33486
33491
|
}
|
|
33487
|
-
var
|
|
33492
|
+
var H1 = $j, jj = $1;
|
|
33488
33493
|
function Hj(e) {
|
|
33489
33494
|
for (var t = -1, n = [], r, i, a; ++t < e.length; ) {
|
|
33490
33495
|
if (r = e[t], typeof r == "string")
|
|
@@ -33514,7 +33519,7 @@ function zj(e, t) {
|
|
|
33514
33519
|
var n = t.start._index, r = t.start._bufferIndex, i = t.end._index, a = t.end._bufferIndex, o;
|
|
33515
33520
|
return n === i ? o = [e[n].slice(r, a)] : (o = e.slice(n, i), r > -1 && (o[0] = o[0].slice(r)), a > 0 && o.push(e[i].slice(0, a))), o;
|
|
33516
33521
|
}
|
|
33517
|
-
var qj = zj, Wj = iu, Vj = rn, Kj = Wm, Gj = Li, yf = qm, Yj =
|
|
33522
|
+
var qj = zj, Wj = iu, Vj = rn, Kj = Wm, Gj = Li, yf = qm, Yj = H1, Zj = Uj, d5 = Ja, Qj = qj;
|
|
33518
33523
|
function Xj(e, t, n) {
|
|
33519
33524
|
var r = n ? d5(n) : {
|
|
33520
33525
|
line: 1,
|
|
@@ -33647,7 +33652,7 @@ var Jj = Xj, li = {};
|
|
|
33647
33652
|
function eH(e) {
|
|
33648
33653
|
return e < 0 || e === 32;
|
|
33649
33654
|
}
|
|
33650
|
-
var Mi = eH, tH = /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, nH = tH, rH =
|
|
33655
|
+
var Mi = eH, tH = /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, nH = tH, rH = $1;
|
|
33651
33656
|
function iH(e) {
|
|
33652
33657
|
return t;
|
|
33653
33658
|
function t(n) {
|
|
@@ -33665,7 +33670,7 @@ var L_ = hH;
|
|
|
33665
33670
|
function pH(e, t) {
|
|
33666
33671
|
return e.column += t, e.offset += t, e._bufferIndex += t, e;
|
|
33667
33672
|
}
|
|
33668
|
-
var mH = pH, Rs = Wm, gH = Li, f5 = L_, h5 = mH, vH =
|
|
33673
|
+
var mH = pH, Rs = Wm, gH = Li, f5 = L_, h5 = mH, vH = H1, Ur = Ja, yH = {
|
|
33669
33674
|
name: "attention",
|
|
33670
33675
|
tokenize: bH,
|
|
33671
33676
|
resolveAll: EH
|
|
@@ -33736,7 +33741,7 @@ function bH(e, t) {
|
|
|
33736
33741
|
return o === r ? (e.consume(o), a) : (s = e.exit("attentionSequence"), l = f5(o), u = !l || l === 2 && n, c = !n || n === 2 && l, s._open = r === 42 ? u : u && (n || !c), s._close = r === 42 ? c : c && (l || !u), t(o));
|
|
33737
33742
|
}
|
|
33738
33743
|
}
|
|
33739
|
-
var TH = yH, _H = va, CH = _H(/[A-Za-z]/),
|
|
33744
|
+
var TH = yH, _H = va, CH = _H(/[A-Za-z]/), U1 = CH, xH = va, wH = xH(/[\dA-Za-z]/), ou = wH, AH = va, kH = AH(/[#-'*+\--9=?A-Z^-~]/), SH = kH;
|
|
33740
33745
|
function DH(e) {
|
|
33741
33746
|
return (
|
|
33742
33747
|
// Special whitespace codes (which have negative values), C0 and Control
|
|
@@ -33744,7 +33749,7 @@ function DH(e) {
|
|
|
33744
33749
|
e < 32 || e === 127
|
|
33745
33750
|
);
|
|
33746
33751
|
}
|
|
33747
|
-
var Gm = DH, OH =
|
|
33752
|
+
var Gm = DH, OH = U1, zu = ou, p5 = SH, NH = Gm, IH = {
|
|
33748
33753
|
name: "autolink",
|
|
33749
33754
|
tokenize: PH
|
|
33750
33755
|
};
|
|
@@ -33758,10 +33763,10 @@ function PH(e, t, n) {
|
|
|
33758
33763
|
return OH(g) ? (e.consume(g), o) : p5(g) ? u(g) : n(g);
|
|
33759
33764
|
}
|
|
33760
33765
|
function o(g) {
|
|
33761
|
-
return g === 43 || g === 45 || g === 46 ||
|
|
33766
|
+
return g === 43 || g === 45 || g === 46 || zu(g) ? s(g) : u(g);
|
|
33762
33767
|
}
|
|
33763
33768
|
function s(g) {
|
|
33764
|
-
return g === 58 ? (e.consume(g), l) : (g === 43 || g === 45 || g === 46 ||
|
|
33769
|
+
return g === 58 ? (e.consume(g), l) : (g === 43 || g === 45 || g === 46 || zu(g)) && r++ < 32 ? (e.consume(g), s) : u(g);
|
|
33765
33770
|
}
|
|
33766
33771
|
function l(g) {
|
|
33767
33772
|
return g === 62 ? (e.exit("autolinkProtocol"), p(g)) : g === 32 || g === 60 || NH(g) ? n(g) : (e.consume(g), l);
|
|
@@ -33770,13 +33775,13 @@ function PH(e, t, n) {
|
|
|
33770
33775
|
return g === 64 ? (e.consume(g), r = 0, c) : p5(g) ? (e.consume(g), u) : n(g);
|
|
33771
33776
|
}
|
|
33772
33777
|
function c(g) {
|
|
33773
|
-
return
|
|
33778
|
+
return zu(g) ? d(g) : n(g);
|
|
33774
33779
|
}
|
|
33775
33780
|
function d(g) {
|
|
33776
33781
|
return g === 46 ? (e.consume(g), r = 0, c) : g === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", p(g)) : f(g);
|
|
33777
33782
|
}
|
|
33778
33783
|
function f(g) {
|
|
33779
|
-
return (g === 45 ||
|
|
33784
|
+
return (g === 45 || zu(g)) && r++ < 63 ? (e.consume(g), g === 45 ? f : d) : n(g);
|
|
33780
33785
|
}
|
|
33781
33786
|
function p(g) {
|
|
33782
33787
|
return e.enter("autolinkMarker"), e.consume(g), e.exit("autolinkMarker"), e.exit("autolink"), t;
|
|
@@ -33826,10 +33831,10 @@ function VH(e, t, n) {
|
|
|
33826
33831
|
return qH(a) ? (e.enter("characterEscapeValue"), e.consume(a), e.exit("characterEscapeValue"), e.exit("characterEscape"), t) : n(a);
|
|
33827
33832
|
}
|
|
33828
33833
|
}
|
|
33829
|
-
var KH = WH,
|
|
33834
|
+
var KH = WH, qu, GH = 59, $_ = YH;
|
|
33830
33835
|
function YH(e) {
|
|
33831
33836
|
var t = "&" + e + ";", n;
|
|
33832
|
-
return
|
|
33837
|
+
return qu = qu || document.createElement("i"), qu.innerHTML = t, n = qu.textContent, n.charCodeAt(n.length - 1) === GH && e !== "semi" || n === t ? !1 : n;
|
|
33833
33838
|
}
|
|
33834
33839
|
var ZH = va, QH = ZH(/\d/), j_ = QH, XH = va, JH = XH(/[\dA-Fa-f]/), eU = JH, tU = $_, m5 = ou, nU = j_, rU = eU;
|
|
33835
33840
|
function iU(e) {
|
|
@@ -34263,7 +34268,7 @@ var rz = ez, iz = [
|
|
|
34263
34268
|
"tr",
|
|
34264
34269
|
"track",
|
|
34265
34270
|
"ul"
|
|
34266
|
-
], az = iz, oz = ["pre", "script", "style", "textarea"], sz = oz, Bs =
|
|
34271
|
+
], az = iz, oz = ["pre", "script", "style", "textarea"], sz = oz, Bs = U1, x5 = ou, go = rn, w5 = Mi, vo = Bi, Wu = $1, lz = az, A5 = sz, uz = j1, cz = {
|
|
34267
34272
|
name: "htmlFlow",
|
|
34268
34273
|
tokenize: hz,
|
|
34269
34274
|
resolveTo: fz,
|
|
@@ -34284,7 +34289,7 @@ function hz(e, t, n) {
|
|
|
34284
34289
|
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(_), c;
|
|
34285
34290
|
}
|
|
34286
34291
|
function c(_) {
|
|
34287
|
-
return _ === 33 ? (e.consume(_), d) : _ === 47 ? (e.consume(_), g) : _ === 63 ? (e.consume(_), i = 3, r.interrupt ? t : te) : Bs(_) ? (e.consume(_), o =
|
|
34292
|
+
return _ === 33 ? (e.consume(_), d) : _ === 47 ? (e.consume(_), g) : _ === 63 ? (e.consume(_), i = 3, r.interrupt ? t : te) : Bs(_) ? (e.consume(_), o = Wu(_), a = !0, m) : n(_);
|
|
34288
34293
|
}
|
|
34289
34294
|
function d(_) {
|
|
34290
34295
|
return _ === 45 ? (e.consume(_), i = 2, f) : _ === 91 ? (e.consume(_), i = 5, o = "CDATA[", s = 0, p) : Bs(_) ? (e.consume(_), i = 4, r.interrupt ? t : te) : n(_);
|
|
@@ -34296,10 +34301,10 @@ function hz(e, t, n) {
|
|
|
34296
34301
|
return _ === o.charCodeAt(s++) ? (e.consume(_), s === o.length ? r.interrupt ? t : P : p) : n(_);
|
|
34297
34302
|
}
|
|
34298
34303
|
function g(_) {
|
|
34299
|
-
return Bs(_) ? (e.consume(_), o =
|
|
34304
|
+
return Bs(_) ? (e.consume(_), o = Wu(_), m) : n(_);
|
|
34300
34305
|
}
|
|
34301
34306
|
function m(_) {
|
|
34302
|
-
return _ === null || _ === 47 || _ === 62 || w5(_) ? _ !== 47 && a && A5.indexOf(o.toLowerCase()) > -1 ? (i = 1, r.interrupt ? t(_) : P(_)) : lz.indexOf(o.toLowerCase()) > -1 ? (i = 6, _ === 47 ? (e.consume(_), y) : r.interrupt ? t(_) : P(_)) : (i = 7, r.interrupt ? n(_) : a ? E(_) : v(_)) : _ === 45 || x5(_) ? (e.consume(_), o +=
|
|
34307
|
+
return _ === null || _ === 47 || _ === 62 || w5(_) ? _ !== 47 && a && A5.indexOf(o.toLowerCase()) > -1 ? (i = 1, r.interrupt ? t(_) : P(_)) : lz.indexOf(o.toLowerCase()) > -1 ? (i = 6, _ === 47 ? (e.consume(_), y) : r.interrupt ? t(_) : P(_)) : (i = 7, r.interrupt ? n(_) : a ? E(_) : v(_)) : _ === 45 || x5(_) ? (e.consume(_), o += Wu(_), m) : n(_);
|
|
34303
34308
|
}
|
|
34304
34309
|
function y(_) {
|
|
34305
34310
|
return _ === 62 ? (e.consume(_), r.interrupt ? t : P) : n(_);
|
|
@@ -34354,7 +34359,7 @@ function hz(e, t, n) {
|
|
|
34354
34359
|
return _ === 47 ? (e.consume(_), o = "", z) : P(_);
|
|
34355
34360
|
}
|
|
34356
34361
|
function z(_) {
|
|
34357
|
-
return _ === 62 && A5.indexOf(o.toLowerCase()) > -1 ? (e.consume(_), ee) : Bs(_) && o.length < 8 ? (e.consume(_), o +=
|
|
34362
|
+
return _ === 62 && A5.indexOf(o.toLowerCase()) > -1 ? (e.consume(_), ee) : Bs(_) && o.length < 8 ? (e.consume(_), o += Wu(_), z) : P(_);
|
|
34358
34363
|
}
|
|
34359
34364
|
function N(_) {
|
|
34360
34365
|
return _ === 93 ? (e.consume(_), te) : P(_);
|
|
@@ -34375,7 +34380,7 @@ function pz(e, t, n) {
|
|
|
34375
34380
|
return e.exit("htmlFlowData"), e.enter("lineEndingBlank"), e.consume(i), e.exit("lineEndingBlank"), e.attempt(uz, t, n);
|
|
34376
34381
|
}
|
|
34377
34382
|
}
|
|
34378
|
-
var mz = cz,
|
|
34383
|
+
var mz = cz, Vu = U1, Ef = ou, fi = rn, bf = Mi, Ku = Bi, gz = sn, vz = {
|
|
34379
34384
|
name: "htmlText",
|
|
34380
34385
|
tokenize: yz
|
|
34381
34386
|
};
|
|
@@ -34386,10 +34391,10 @@ function yz(e, t, n) {
|
|
|
34386
34391
|
return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(_), u;
|
|
34387
34392
|
}
|
|
34388
34393
|
function u(_) {
|
|
34389
|
-
return _ === 33 ? (e.consume(_), c) : _ === 47 ? (e.consume(_), k) : _ === 63 ? (e.consume(_), C) :
|
|
34394
|
+
return _ === 33 ? (e.consume(_), c) : _ === 47 ? (e.consume(_), k) : _ === 63 ? (e.consume(_), C) : Vu(_) ? (e.consume(_), B) : n(_);
|
|
34390
34395
|
}
|
|
34391
34396
|
function c(_) {
|
|
34392
|
-
return _ === 45 ? (e.consume(_), d) : _ === 91 ? (e.consume(_), a = "CDATA[", o = 0, y) :
|
|
34397
|
+
return _ === 45 ? (e.consume(_), d) : _ === 91 ? (e.consume(_), a = "CDATA[", o = 0, y) : Vu(_) ? (e.consume(_), T) : n(_);
|
|
34393
34398
|
}
|
|
34394
34399
|
function d(_) {
|
|
34395
34400
|
return _ === 45 ? (e.consume(_), f) : n(_);
|
|
@@ -34428,28 +34433,28 @@ function yz(e, t, n) {
|
|
|
34428
34433
|
return _ === 62 ? S(_) : C(_);
|
|
34429
34434
|
}
|
|
34430
34435
|
function k(_) {
|
|
34431
|
-
return
|
|
34436
|
+
return Vu(_) ? (e.consume(_), I) : n(_);
|
|
34432
34437
|
}
|
|
34433
34438
|
function I(_) {
|
|
34434
34439
|
return _ === 45 || Ef(_) ? (e.consume(_), I) : R(_);
|
|
34435
34440
|
}
|
|
34436
34441
|
function R(_) {
|
|
34437
|
-
return fi(_) ? (s = R, te(_)) :
|
|
34442
|
+
return fi(_) ? (s = R, te(_)) : Ku(_) ? (e.consume(_), R) : S(_);
|
|
34438
34443
|
}
|
|
34439
34444
|
function B(_) {
|
|
34440
34445
|
return _ === 45 || Ef(_) ? (e.consume(_), B) : _ === 47 || _ === 62 || bf(_) ? P(_) : n(_);
|
|
34441
34446
|
}
|
|
34442
34447
|
function P(_) {
|
|
34443
|
-
return _ === 47 ? (e.consume(_), S) : _ === 58 || _ === 95 ||
|
|
34448
|
+
return _ === 47 ? (e.consume(_), S) : _ === 58 || _ === 95 || Vu(_) ? (e.consume(_), D) : fi(_) ? (s = P, te(_)) : Ku(_) ? (e.consume(_), P) : S(_);
|
|
34444
34449
|
}
|
|
34445
34450
|
function D(_) {
|
|
34446
34451
|
return _ === 45 || _ === 46 || _ === 58 || _ === 95 || Ef(_) ? (e.consume(_), D) : A(_);
|
|
34447
34452
|
}
|
|
34448
34453
|
function A(_) {
|
|
34449
|
-
return _ === 61 ? (e.consume(_), F) : fi(_) ? (s = A, te(_)) :
|
|
34454
|
+
return _ === 61 ? (e.consume(_), F) : fi(_) ? (s = A, te(_)) : Ku(_) ? (e.consume(_), A) : P(_);
|
|
34450
34455
|
}
|
|
34451
34456
|
function F(_) {
|
|
34452
|
-
return _ === null || _ === 60 || _ === 61 || _ === 62 || _ === 96 ? n(_) : _ === 34 || _ === 39 ? (e.consume(_), i = _, $) : fi(_) ? (s = F, te(_)) :
|
|
34457
|
+
return _ === null || _ === 60 || _ === 61 || _ === 62 || _ === 96 ? n(_) : _ === 34 || _ === 39 ? (e.consume(_), i = _, $) : fi(_) ? (s = F, te(_)) : Ku(_) ? (e.consume(_), F) : (e.consume(_), i = void 0, N);
|
|
34453
34458
|
}
|
|
34454
34459
|
function $(_) {
|
|
34455
34460
|
return _ === i ? (e.consume(_), z) : _ === null ? n(_) : fi(_) ? (s = $, te(_)) : (e.consume(_), $);
|
|
@@ -34475,7 +34480,7 @@ function yz(e, t, n) {
|
|
|
34475
34480
|
return _ === 62 ? (e.consume(_), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(_);
|
|
34476
34481
|
}
|
|
34477
34482
|
}
|
|
34478
|
-
var Ez = vz, bz = Mi, yo = Wm, Tz = Li, K_ = jm, _z =
|
|
34483
|
+
var Ez = vz, bz = Mi, yo = Wm, Tz = Li, K_ = jm, _z = H1, Eo = Ja, Cz = H_, xz = U_, wz = q_, Tf = z_, Az = {
|
|
34479
34484
|
name: "labelEnd",
|
|
34480
34485
|
tokenize: Iz,
|
|
34481
34486
|
resolveTo: Nz,
|
|
@@ -34700,7 +34705,7 @@ function Xz(e, t, n) {
|
|
|
34700
34705
|
return l === i ? (e.consume(l), r++, s) : (e.exit("thematicBreakSequence"), o(l));
|
|
34701
34706
|
}
|
|
34702
34707
|
}
|
|
34703
|
-
var G_ = Qz, k5 = j_, Zm = Bi, Qm = au, Jz = O_,
|
|
34708
|
+
var G_ = Qz, k5 = j_, Zm = Bi, Qm = au, Jz = O_, p1 = sn, Y_ = j1, eq = G_, Z_ = {
|
|
34704
34709
|
name: "list",
|
|
34705
34710
|
tokenize: rq,
|
|
34706
34711
|
continuation: {
|
|
@@ -34758,7 +34763,7 @@ function iq(e, t, n) {
|
|
|
34758
34763
|
var r = this;
|
|
34759
34764
|
return r.containerState._closeFlow = void 0, e.check(Y_, i, a);
|
|
34760
34765
|
function i(s) {
|
|
34761
|
-
return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine,
|
|
34766
|
+
return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, p1(
|
|
34762
34767
|
e,
|
|
34763
34768
|
t,
|
|
34764
34769
|
"listItemIndent",
|
|
@@ -34769,7 +34774,7 @@ function iq(e, t, n) {
|
|
|
34769
34774
|
return r.containerState.furtherBlankLines || !Zm(s) ? (r.containerState.furtherBlankLines = r.containerState.initialBlankLine = void 0, o(s)) : (r.containerState.furtherBlankLines = r.containerState.initialBlankLine = void 0, e.attempt(nq, t, o)(s));
|
|
34770
34775
|
}
|
|
34771
34776
|
function o(s) {
|
|
34772
|
-
return r.containerState._closeFlow = !0, r.interrupt = void 0,
|
|
34777
|
+
return r.containerState._closeFlow = !0, r.interrupt = void 0, p1(
|
|
34773
34778
|
e,
|
|
34774
34779
|
e.attempt(Z_, t, n),
|
|
34775
34780
|
"linePrefix",
|
|
@@ -34779,7 +34784,7 @@ function iq(e, t, n) {
|
|
|
34779
34784
|
}
|
|
34780
34785
|
function aq(e, t, n) {
|
|
34781
34786
|
var r = this;
|
|
34782
|
-
return
|
|
34787
|
+
return p1(
|
|
34783
34788
|
e,
|
|
34784
34789
|
i,
|
|
34785
34790
|
"listItemIndent",
|
|
@@ -34794,7 +34799,7 @@ function oq(e) {
|
|
|
34794
34799
|
}
|
|
34795
34800
|
function sq(e, t, n) {
|
|
34796
34801
|
var r = this;
|
|
34797
|
-
return
|
|
34802
|
+
return p1(
|
|
34798
34803
|
e,
|
|
34799
34804
|
i,
|
|
34800
34805
|
"listItemPrefixWhitespace",
|
|
@@ -34995,7 +35000,7 @@ function Kq(e) {
|
|
|
34995
35000
|
;
|
|
34996
35001
|
return e;
|
|
34997
35002
|
}
|
|
34998
|
-
var Gq = Kq, Yq = rW, Zq = S$, Qq = iu, J_ = S_, Af = jm, Xq = F$, Jq = zq, eW = Wq, tW = Gq, nW = $_,
|
|
35003
|
+
var Gq = Kq, Yq = rW, Zq = S$, Qq = iu, J_ = S_, Af = jm, Xq = F$, Jq = zq, eW = Wq, tW = Gq, nW = $_, Gu = v_;
|
|
34999
35004
|
function rW(e, t, n) {
|
|
35000
35005
|
return typeof t != "string" && (n = t, t = void 0), iW(n)(
|
|
35001
35006
|
tW(
|
|
@@ -35131,7 +35136,7 @@ function iW(e) {
|
|
|
35131
35136
|
);
|
|
35132
35137
|
if (Qe.length)
|
|
35133
35138
|
throw new Error(
|
|
35134
|
-
"Cannot close document, a token (`" + Qe[Qe.length - 1].type + "`, " +
|
|
35139
|
+
"Cannot close document, a token (`" + Qe[Qe.length - 1].type + "`, " + Gu({
|
|
35135
35140
|
start: Qe[Qe.length - 1].start,
|
|
35136
35141
|
end: Qe[Qe.length - 1].end
|
|
35137
35142
|
}) + ") is still open"
|
|
@@ -35202,11 +35207,11 @@ function iW(e) {
|
|
|
35202
35207
|
if (Pe) {
|
|
35203
35208
|
if (Pe.type !== X.type)
|
|
35204
35209
|
throw new Error(
|
|
35205
|
-
"Cannot close `" + X.type + "` (" +
|
|
35210
|
+
"Cannot close `" + X.type + "` (" + Gu({ start: X.start, end: X.end }) + "): a different token (`" + Pe.type + "`, " + Gu({ start: Pe.start, end: Pe.end }) + ") is open"
|
|
35206
35211
|
);
|
|
35207
35212
|
} else
|
|
35208
35213
|
throw new Error(
|
|
35209
|
-
"Cannot close `" + X.type + "` (" +
|
|
35214
|
+
"Cannot close `" + X.type + "` (" + Gu({ start: X.start, end: X.end }) + "): it’s not open"
|
|
35210
35215
|
);
|
|
35211
35216
|
return Ee.position.end = l(X.end), Ee;
|
|
35212
35217
|
}
|
|
@@ -35502,11 +35507,11 @@ var gW = vW;
|
|
|
35502
35507
|
function vW(e) {
|
|
35503
35508
|
return e;
|
|
35504
35509
|
}
|
|
35505
|
-
var n8 =
|
|
35506
|
-
|
|
35507
|
-
|
|
35508
|
-
|
|
35509
|
-
function
|
|
35510
|
+
var n8 = z1, yW = e8, EW = gW, r8 = !0, i8 = "skip", vp = !1;
|
|
35511
|
+
z1.CONTINUE = r8;
|
|
35512
|
+
z1.SKIP = i8;
|
|
35513
|
+
z1.EXIT = vp;
|
|
35514
|
+
function z1(e, t, n, r) {
|
|
35510
35515
|
var i, a;
|
|
35511
35516
|
typeof t == "function" && typeof n != "function" && (r = n, n = t, t = null), a = yW(t), i = r ? -1 : 1, o(e, null, [])();
|
|
35512
35517
|
function o(s, l, u) {
|
|
@@ -35529,12 +35534,12 @@ function U1(e, t, n, r) {
|
|
|
35529
35534
|
function bW(e) {
|
|
35530
35535
|
return e !== null && typeof e == "object" && "length" in e ? e : typeof e == "number" ? [r8, e] : [e];
|
|
35531
35536
|
}
|
|
35532
|
-
var Xm =
|
|
35533
|
-
|
|
35534
|
-
|
|
35535
|
-
|
|
35536
|
-
function
|
|
35537
|
-
typeof t == "function" && typeof n != "function" && (r = n, n = t, t = null),
|
|
35537
|
+
var Xm = W1, q1 = n8, TW = q1.CONTINUE, _W = q1.SKIP, CW = q1.EXIT;
|
|
35538
|
+
W1.CONTINUE = TW;
|
|
35539
|
+
W1.SKIP = _W;
|
|
35540
|
+
W1.EXIT = CW;
|
|
35541
|
+
function W1(e, t, n, r) {
|
|
35542
|
+
typeof t == "function" && typeof n != "function" && (r = n, n = t, t = null), q1(e, t, i, r);
|
|
35538
35543
|
function i(a, o) {
|
|
35539
35544
|
var s = o[o.length - 1], l = s ? s.children.indexOf(a) : null;
|
|
35540
35545
|
return n(a, l, s);
|
|
@@ -35740,9 +35745,9 @@ function pV(e) {
|
|
|
35740
35745
|
r[e.charCodeAt(t)] = e[t];
|
|
35741
35746
|
return r;
|
|
35742
35747
|
}
|
|
35743
|
-
function
|
|
35748
|
+
function V1(e, t, n) {
|
|
35744
35749
|
var r, i, a, o, s, l = "";
|
|
35745
|
-
for (typeof t != "string" && (n = t, t =
|
|
35750
|
+
for (typeof t != "string" && (n = t, t = V1.defaultChars), typeof n > "u" && (n = !0), s = pV(t), r = 0, i = e.length; r < i; r++) {
|
|
35746
35751
|
if (a = e.charCodeAt(r), n && a === 37 && r + 2 < i && /^[0-9a-f]{2}$/i.test(e.slice(r + 1, r + 3))) {
|
|
35747
35752
|
l += e.slice(r, r + 3), r += 2;
|
|
35748
35753
|
continue;
|
|
@@ -35763,19 +35768,19 @@ function W1(e, t, n) {
|
|
|
35763
35768
|
}
|
|
35764
35769
|
return l;
|
|
35765
35770
|
}
|
|
35766
|
-
|
|
35767
|
-
|
|
35768
|
-
var
|
|
35771
|
+
V1.defaultChars = ";/?:@&=+$,-_.!~*'()#";
|
|
35772
|
+
V1.componentChars = "-_.!~*'()";
|
|
35773
|
+
var K1 = V1, m8 = gV, Of = _r, mV = Vn();
|
|
35769
35774
|
function gV(e, t) {
|
|
35770
35775
|
var n = t.referenceType, r = "]", i, a, o;
|
|
35771
35776
|
return n === "collapsed" ? r += "[]" : n === "full" && (r += "[" + (t.label || t.identifier) + "]"), t.type === "imageReference" ? Of("text", "![" + t.alt + r) : (i = mV(e, t), a = i[0], a && a.type === "text" ? a.value = "[" + a.value : i.unshift(Of("text", "[")), o = i[i.length - 1], o && o.type === "text" ? o.value += r : i.push(Of("text", r)), i);
|
|
35772
35777
|
}
|
|
35773
|
-
var vV = bV, yV =
|
|
35778
|
+
var vV = bV, yV = K1, EV = m8;
|
|
35774
35779
|
function bV(e, t) {
|
|
35775
35780
|
var n = e.definition(t.identifier), r;
|
|
35776
35781
|
return n ? (r = { src: yV(n.url || ""), alt: t.alt }, n.title !== null && n.title !== void 0 && (r.title = n.title), e(t, "img", r)) : EV(e, t);
|
|
35777
35782
|
}
|
|
35778
|
-
var TV =
|
|
35783
|
+
var TV = K1, _V = CV;
|
|
35779
35784
|
function CV(e, t) {
|
|
35780
35785
|
var n = { src: TV(t.url), alt: t.alt };
|
|
35781
35786
|
return t.title !== null && t.title !== void 0 && (n.title = t.title), e(t, "img", n);
|
|
@@ -35785,12 +35790,12 @@ function AV(e, t) {
|
|
|
35785
35790
|
var n = t.value.replace(/\r?\n|\r/g, " ");
|
|
35786
35791
|
return e(t, "code", [wV("text", n)]);
|
|
35787
35792
|
}
|
|
35788
|
-
var kV = NV, SV =
|
|
35793
|
+
var kV = NV, SV = K1, DV = m8, OV = Vn();
|
|
35789
35794
|
function NV(e, t) {
|
|
35790
35795
|
var n = e.definition(t.identifier), r;
|
|
35791
35796
|
return n ? (r = { href: SV(n.url || "") }, n.title !== null && n.title !== void 0 && (r.title = n.title), e(t, "a", r, OV(e, t))) : DV(e, t);
|
|
35792
35797
|
}
|
|
35793
|
-
var IV =
|
|
35798
|
+
var IV = K1, PV = Vn(), RV = FV;
|
|
35794
35799
|
function FV(e, t) {
|
|
35795
35800
|
var n = { href: IV(t.url) };
|
|
35796
35801
|
return t.title !== null && t.title !== void 0 && (n.title = t.title), e(t, "a", n, PV(e, t));
|
|
@@ -35831,25 +35836,25 @@ var GV = ZV, YV = Vn();
|
|
|
35831
35836
|
function ZV(e, t) {
|
|
35832
35837
|
return e(t, "strong", YV(e, t));
|
|
35833
35838
|
}
|
|
35834
|
-
var QV = JV, F5 = s8,
|
|
35839
|
+
var QV = JV, F5 = s8, Yu = su, XV = Vn();
|
|
35835
35840
|
function JV(e, t) {
|
|
35836
35841
|
for (var n = t.children, r = n.length, i = t.align || [], a = i.length, o = [], s, l, u, c, d; r--; ) {
|
|
35837
35842
|
for (l = n[r].children, c = r === 0 ? "th" : "td", s = a || l.length, u = []; s--; )
|
|
35838
35843
|
d = l[s], u[s] = e(d, c, { align: i[s] }, d ? XV(e, d) : []);
|
|
35839
|
-
o[r] = e(n[r], "tr",
|
|
35844
|
+
o[r] = e(n[r], "tr", Yu(u, !0));
|
|
35840
35845
|
}
|
|
35841
35846
|
return e(
|
|
35842
35847
|
t,
|
|
35843
35848
|
"table",
|
|
35844
|
-
|
|
35845
|
-
[e(o[0].position, "thead",
|
|
35849
|
+
Yu(
|
|
35850
|
+
[e(o[0].position, "thead", Yu([o[0]], !0))].concat(
|
|
35846
35851
|
o[1] ? e(
|
|
35847
35852
|
{
|
|
35848
35853
|
start: F5.start(o[1]),
|
|
35849
35854
|
end: F5.end(o[o.length - 1])
|
|
35850
35855
|
},
|
|
35851
35856
|
"tbody",
|
|
35852
|
-
|
|
35857
|
+
Yu(o.slice(1), !0)
|
|
35853
35858
|
) : []
|
|
35854
35859
|
),
|
|
35855
35860
|
!0
|
|
@@ -35886,12 +35891,12 @@ var rK = {
|
|
|
35886
35891
|
table: QV,
|
|
35887
35892
|
text: eK,
|
|
35888
35893
|
thematicBreak: f8,
|
|
35889
|
-
toml:
|
|
35890
|
-
yaml:
|
|
35891
|
-
definition:
|
|
35892
|
-
footnoteDefinition:
|
|
35894
|
+
toml: Zu,
|
|
35895
|
+
yaml: Zu,
|
|
35896
|
+
definition: Zu,
|
|
35897
|
+
footnoteDefinition: Zu
|
|
35893
35898
|
};
|
|
35894
|
-
function
|
|
35899
|
+
function Zu() {
|
|
35895
35900
|
return null;
|
|
35896
35901
|
}
|
|
35897
35902
|
var iK = pK, aK = _r, oK = Xm, B5 = s8, sK = xW, lK = kW, uK = d8(), cK = BW, dK = rK, fK = {}.hasOwnProperty, L5 = !1;
|
|
@@ -36143,7 +36148,7 @@ var MK = ds, $K = O8, N8 = MK({
|
|
|
36143
36148
|
function HK(e, t) {
|
|
36144
36149
|
return t === "role" ? t : "aria-" + t.slice(4).toLowerCase();
|
|
36145
36150
|
}
|
|
36146
|
-
var fs = Lr, UK = ds, zK = O8, dt = fs.boolean, qK = fs.overloadedBoolean, Ls = fs.booleanish, Ht = fs.number, wn = fs.spaceSeparated,
|
|
36151
|
+
var fs = Lr, UK = ds, zK = O8, dt = fs.boolean, qK = fs.overloadedBoolean, Ls = fs.booleanish, Ht = fs.number, wn = fs.spaceSeparated, Qu = fs.commaSeparated, WK = UK({
|
|
36147
36152
|
space: "html",
|
|
36148
36153
|
attributes: {
|
|
36149
36154
|
acceptcharset: "accept-charset",
|
|
@@ -36156,7 +36161,7 @@ var fs = Lr, UK = ds, zK = O8, dt = fs.boolean, qK = fs.overloadedBoolean, Ls =
|
|
|
36156
36161
|
properties: {
|
|
36157
36162
|
// Standard Properties.
|
|
36158
36163
|
abbr: null,
|
|
36159
|
-
accept:
|
|
36164
|
+
accept: Qu,
|
|
36160
36165
|
acceptCharset: wn,
|
|
36161
36166
|
accessKey: wn,
|
|
36162
36167
|
action: null,
|
|
@@ -36182,7 +36187,7 @@ var fs = Lr, UK = ds, zK = O8, dt = fs.boolean, qK = fs.overloadedBoolean, Ls =
|
|
|
36182
36187
|
contentEditable: Ls,
|
|
36183
36188
|
controls: dt,
|
|
36184
36189
|
controlsList: wn,
|
|
36185
|
-
coords: Ht |
|
|
36190
|
+
coords: Ht | Qu,
|
|
36186
36191
|
crossOrigin: null,
|
|
36187
36192
|
data: null,
|
|
36188
36193
|
dateTime: null,
|
|
@@ -36212,7 +36217,7 @@ var fs = Lr, UK = ds, zK = O8, dt = fs.boolean, qK = fs.overloadedBoolean, Ls =
|
|
|
36212
36217
|
httpEquiv: wn,
|
|
36213
36218
|
id: null,
|
|
36214
36219
|
imageSizes: null,
|
|
36215
|
-
imageSrcSet:
|
|
36220
|
+
imageSrcSet: Qu,
|
|
36216
36221
|
inputMode: null,
|
|
36217
36222
|
integrity: null,
|
|
36218
36223
|
is: null,
|
|
@@ -36355,7 +36360,7 @@ var fs = Lr, UK = ds, zK = O8, dt = fs.boolean, qK = fs.overloadedBoolean, Ls =
|
|
|
36355
36360
|
src: null,
|
|
36356
36361
|
srcDoc: null,
|
|
36357
36362
|
srcLang: null,
|
|
36358
|
-
srcSet:
|
|
36363
|
+
srcSet: Qu,
|
|
36359
36364
|
start: Ht,
|
|
36360
36365
|
step: null,
|
|
36361
36366
|
style: null,
|
|
@@ -37526,8 +37531,8 @@ function xY(e) {
|
|
|
37526
37531
|
].map((t) => String(t)).join("");
|
|
37527
37532
|
}
|
|
37528
37533
|
const Ff = M, J5 = __, wY = b$, AY = lW, kY = gK, pt = I4, SY = XK, DY = eG, B8 = nG, OY = r0.hastChildrenToReact;
|
|
37529
|
-
var NY =
|
|
37530
|
-
const ey = {}.hasOwnProperty, IY = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md",
|
|
37534
|
+
var NY = G1;
|
|
37535
|
+
const ey = {}.hasOwnProperty, IY = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", Xu = {
|
|
37531
37536
|
renderers: { to: "components", id: "change-renderers-to-components" },
|
|
37532
37537
|
astPlugins: { id: "remove-buggy-html-in-markdown-parser" },
|
|
37533
37538
|
allowDangerousHtml: { id: "remove-buggy-html-in-markdown-parser" },
|
|
@@ -37550,13 +37555,13 @@ const ey = {}.hasOwnProperty, IY = "https://github.com/remarkjs/react-markdown/b
|
|
|
37550
37555
|
id: "change-includenodeindex-to-includeelementindex"
|
|
37551
37556
|
}
|
|
37552
37557
|
};
|
|
37553
|
-
function
|
|
37554
|
-
for (const a in
|
|
37555
|
-
if (ey.call(
|
|
37556
|
-
const o =
|
|
37558
|
+
function G1(e) {
|
|
37559
|
+
for (const a in Xu)
|
|
37560
|
+
if (ey.call(Xu, a) && ey.call(e, a)) {
|
|
37561
|
+
const o = Xu[a];
|
|
37557
37562
|
console.warn(
|
|
37558
37563
|
`[react-markdown] Warning: please ${o.to ? `use \`${o.to}\` instead of` : "remove"} \`${a}\` (see <${IY}#${o.id}> for more info)`
|
|
37559
|
-
), delete
|
|
37564
|
+
), delete Xu[a];
|
|
37560
37565
|
}
|
|
37561
37566
|
const t = wY().use(AY).use(e.remarkPlugins || e.plugins || []).use(kY, { allowDangerousHtml: !0 }).use(e.rehypePlugins || []).use(DY, e);
|
|
37562
37567
|
let n;
|
|
@@ -37573,8 +37578,8 @@ function K1(e) {
|
|
|
37573
37578
|
);
|
|
37574
37579
|
return e.className && (i = Ff.createElement("div", { className: e.className }, i)), i;
|
|
37575
37580
|
}
|
|
37576
|
-
|
|
37577
|
-
|
|
37581
|
+
G1.defaultProps = { transformLinkUri: B8 };
|
|
37582
|
+
G1.propTypes = {
|
|
37578
37583
|
// Core options:
|
|
37579
37584
|
children: pt.string,
|
|
37580
37585
|
// Layout options:
|
|
@@ -37611,9 +37616,9 @@ K1.propTypes = {
|
|
|
37611
37616
|
transformImageUri: pt.func,
|
|
37612
37617
|
components: pt.object
|
|
37613
37618
|
};
|
|
37614
|
-
|
|
37619
|
+
G1.uriTransformer = B8;
|
|
37615
37620
|
const L8 = /* @__PURE__ */ Br(NY);
|
|
37616
|
-
var M8 = {}, $8 =
|
|
37621
|
+
var M8 = {}, $8 = U1, j8 = ou, H8 = Gm, PY = rn, U8 = Vm, z8 = Km, RY = { tokenize: MY, partial: !0 }, q8 = { tokenize: $Y, partial: !0 }, W8 = { tokenize: jY, partial: !0 }, Ho = { tokenize: UY, partial: !0 }, V8 = {
|
|
37617
37622
|
tokenize: HY,
|
|
37618
37623
|
partial: !0
|
|
37619
37624
|
}, K8 = { tokenize: BY, previous: Z8 }, G8 = { tokenize: LY, previous: l0 }, $i = { tokenize: FY, previous: Q8 }, ui = {};
|
|
@@ -37827,7 +37832,7 @@ function u0(e) {
|
|
|
37827
37832
|
if ((e[t][1].type === "labelLink" || e[t][1].type === "labelImage") && !e[t][1]._balanced)
|
|
37828
37833
|
return !0;
|
|
37829
37834
|
}
|
|
37830
|
-
var zY = M8, qY = VY, ny = L_, Bf = Li, WY =
|
|
37835
|
+
var zY = M8, qY = VY, ny = L_, Bf = Li, WY = H1, Ju = Ja;
|
|
37831
37836
|
function VY(e) {
|
|
37832
37837
|
var t = e || {}, n = t.singleTilde, r = {
|
|
37833
37838
|
tokenize: o,
|
|
@@ -37842,12 +37847,12 @@ function VY(e) {
|
|
|
37842
37847
|
s[u][1].end.offset - s[u][1].start.offset === s[f][1].end.offset - s[f][1].start.offset) {
|
|
37843
37848
|
s[u][1].type = "strikethroughSequence", s[f][1].type = "strikethroughSequence", c = {
|
|
37844
37849
|
type: "strikethrough",
|
|
37845
|
-
start:
|
|
37846
|
-
end:
|
|
37850
|
+
start: Ju(s[f][1].start),
|
|
37851
|
+
end: Ju(s[u][1].end)
|
|
37847
37852
|
}, d = {
|
|
37848
37853
|
type: "strikethroughText",
|
|
37849
|
-
start:
|
|
37850
|
-
end:
|
|
37854
|
+
start: Ju(s[f][1].end),
|
|
37855
|
+
end: Ju(s[u][1].start)
|
|
37851
37856
|
}, p = [
|
|
37852
37857
|
["enter", c, l],
|
|
37853
37858
|
["enter", s[f][1], l],
|
|
@@ -38070,7 +38075,7 @@ var aZ = J8, oZ = B_, sZ = zY, lZ = qY, uZ = XY, cZ = aZ, dZ = fZ;
|
|
|
38070
38075
|
function fZ(e) {
|
|
38071
38076
|
return oZ([sZ, lZ(e), uZ, cZ]);
|
|
38072
38077
|
}
|
|
38073
|
-
var hZ = dZ,
|
|
38078
|
+
var hZ = dZ, Y1 = {}, pZ = mZ;
|
|
38074
38079
|
function mZ(e, t) {
|
|
38075
38080
|
var n = String(e), r = 0, i;
|
|
38076
38081
|
if (typeof t != "string")
|
|
@@ -38145,14 +38150,14 @@ function oy(e) {
|
|
|
38145
38150
|
}
|
|
38146
38151
|
}
|
|
38147
38152
|
var sy = pZ, xZ = vZ, wZ = Vm, AZ = Km;
|
|
38148
|
-
|
|
38149
|
-
|
|
38153
|
+
Y1.transforms = [IZ];
|
|
38154
|
+
Y1.enter = {
|
|
38150
38155
|
literalAutolink: kZ,
|
|
38151
38156
|
literalAutolinkEmail: Mf,
|
|
38152
38157
|
literalAutolinkHttp: Mf,
|
|
38153
38158
|
literalAutolinkWww: Mf
|
|
38154
38159
|
};
|
|
38155
|
-
|
|
38160
|
+
Y1.exit = {
|
|
38156
38161
|
literalAutolink: NZ,
|
|
38157
38162
|
literalAutolinkEmail: OZ,
|
|
38158
38163
|
literalAutolinkHttp: SZ,
|
|
@@ -38218,10 +38223,10 @@ function eC(e, t) {
|
|
|
38218
38223
|
var n = e.input.charCodeAt(e.index - 1);
|
|
38219
38224
|
return (n !== n || AZ(n) || wZ(n)) && (!t || n !== 47);
|
|
38220
38225
|
}
|
|
38221
|
-
var
|
|
38222
|
-
|
|
38223
|
-
|
|
38224
|
-
|
|
38226
|
+
var Z1 = {};
|
|
38227
|
+
Z1.canContainEols = ["delete"];
|
|
38228
|
+
Z1.enter = { strikethrough: LZ };
|
|
38229
|
+
Z1.exit = { strikethrough: MZ };
|
|
38225
38230
|
function LZ(e) {
|
|
38226
38231
|
this.enter({ type: "delete", children: [] }, e);
|
|
38227
38232
|
}
|
|
@@ -38285,7 +38290,7 @@ function qZ(e) {
|
|
|
38285
38290
|
}
|
|
38286
38291
|
this.exit(e);
|
|
38287
38292
|
}
|
|
38288
|
-
var WZ =
|
|
38293
|
+
var WZ = Y1, VZ = Z1, KZ = c0, GZ = tC, YZ = {}.hasOwnProperty, ZZ = QZ([
|
|
38289
38294
|
WZ,
|
|
38290
38295
|
VZ,
|
|
38291
38296
|
KZ,
|
|
@@ -38401,7 +38406,7 @@ function sQ(e, t) {
|
|
|
38401
38406
|
return hi += e, hi = hi.substr(0, n), hi;
|
|
38402
38407
|
}
|
|
38403
38408
|
var bo = f0, lQ = mQ, uQ = / +$/, xa = " ", cQ = `
|
|
38404
|
-
`, dQ = "-",
|
|
38409
|
+
`, dQ = "-", ec = ":", cy = "|", dy = 0, fQ = 67, hQ = 76, pQ = 82, m1 = 99, Tp = 108, g1 = 114;
|
|
38405
38410
|
function mQ(e, t) {
|
|
38406
38411
|
for (var n = t || {}, r = n.padding !== !1, i = n.delimiterStart !== !1, a = n.delimiterEnd !== !1, o = (n.align || []).concat(), s = n.alignDelimiters !== !1, l = [], u = n.stringLength || vQ, c = -1, d = e.length, f = [], p = [], g = [], m = [], y = [], v = 0, E, b, T, C, w, k, I, R, B, P, D; ++c < d; ) {
|
|
38407
38412
|
for (E = e[c], b = -1, T = E.length, g = [], m = [], T > v && (v = T); ++b < T; )
|
|
@@ -38415,13 +38420,13 @@ function mQ(e, t) {
|
|
|
38415
38420
|
for (D = fy(o); ++b < T; )
|
|
38416
38421
|
l[b] = D;
|
|
38417
38422
|
for (b = -1, T = v, g = [], m = []; ++b < T; )
|
|
38418
|
-
D = l[b], B = "", P = "", D === Tp ? B =
|
|
38423
|
+
D = l[b], B = "", P = "", D === Tp ? B = ec : D === g1 ? P = ec : D === m1 && (B = ec, P = ec), w = s ? Math.max(
|
|
38419
38424
|
1,
|
|
38420
38425
|
y[b] - B.length - P.length
|
|
38421
38426
|
) : 1, k = B + bo(dQ, w) + P, s === !0 && (w = B.length + w + P.length, w > y[b] && (y[b] = w), m[b] = w), g[b] = k;
|
|
38422
38427
|
for (f.splice(1, 0, g), p.splice(1, 0, m), c = -1, d = f.length, I = []; ++c < d; ) {
|
|
38423
38428
|
for (g = f[c], m = p[c], b = -1, T = v, R = []; ++b < T; )
|
|
38424
|
-
k = g[b] || "", B = "", P = "", s === !0 && (w = y[b] - (m[b] || 0), D = l[b], D ===
|
|
38429
|
+
k = g[b] || "", B = "", P = "", s === !0 && (w = y[b] - (m[b] || 0), D = l[b], D === g1 ? B = bo(xa, w) : D === m1 ? w % 2 === 0 ? (B = bo(xa, w / 2), P = B) : (B = bo(xa, w / 2 + 0.5), P = bo(xa, w / 2 - 0.5)) : P = bo(xa, w)), i === !0 && b === 0 && R.push(cy), r === !0 && // Don’t add the opening space if we’re not aligning and the cell is
|
|
38425
38430
|
// empty: there will be a closing space.
|
|
38426
38431
|
!(s === !1 && k === "") && (i === !0 || b !== 0) && R.push(xa), s === !0 && R.push(B), R.push(k), s === !0 && R.push(P), r === !0 && R.push(xa), (a === !0 || b !== T - 1) && R.push(cy);
|
|
38427
38432
|
R = R.join(""), a === !1 && (R = R.replace(uQ, "")), I.push(R);
|
|
@@ -38436,7 +38441,7 @@ function vQ(e) {
|
|
|
38436
38441
|
}
|
|
38437
38442
|
function fy(e) {
|
|
38438
38443
|
var t = typeof e == "string" ? e.charCodeAt(0) : dy;
|
|
38439
|
-
return t === hQ || t === Tp ? Tp : t === pQ || t ===
|
|
38444
|
+
return t === hQ || t === Tp ? Tp : t === pQ || t === g1 ? g1 : t === fQ || t === m1 ? m1 : dy;
|
|
38440
38445
|
}
|
|
38441
38446
|
var yQ = rC, EQ = iQ, bQ = lQ, TQ = _Q;
|
|
38442
38447
|
function _Q(e) {
|
|
@@ -38846,7 +38851,7 @@ const aX = rX, Pt = Mr, La = iX, de = p0, W = Pt.CODE_POINTS, Aa = Pt.CODE_POINT
|
|
|
38846
38851
|
156: 339,
|
|
38847
38852
|
158: 382,
|
|
38848
38853
|
159: 376
|
|
38849
|
-
}, lC = 1, uC = 2, cC = 4, sX = lC | uC | cC, ht = "DATA_STATE", Ao = "RCDATA_STATE", el = "RAWTEXT_STATE", _i = "SCRIPT_DATA_STATE", dC = "PLAINTEXT_STATE", my = "TAG_OPEN_STATE", gy = "END_TAG_OPEN_STATE", qf = "TAG_NAME_STATE", vy = "RCDATA_LESS_THAN_SIGN_STATE", yy = "RCDATA_END_TAG_OPEN_STATE", Ey = "RCDATA_END_TAG_NAME_STATE", by = "RAWTEXT_LESS_THAN_SIGN_STATE", Ty = "RAWTEXT_END_TAG_OPEN_STATE", _y = "RAWTEXT_END_TAG_NAME_STATE", Cy = "SCRIPT_DATA_LESS_THAN_SIGN_STATE", xy = "SCRIPT_DATA_END_TAG_OPEN_STATE", wy = "SCRIPT_DATA_END_TAG_NAME_STATE", Ay = "SCRIPT_DATA_ESCAPE_START_STATE", ky = "SCRIPT_DATA_ESCAPE_START_DASH_STATE", kr = "SCRIPT_DATA_ESCAPED_STATE", Sy = "SCRIPT_DATA_ESCAPED_DASH_STATE", Wf = "SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",
|
|
38854
|
+
}, lC = 1, uC = 2, cC = 4, sX = lC | uC | cC, ht = "DATA_STATE", Ao = "RCDATA_STATE", el = "RAWTEXT_STATE", _i = "SCRIPT_DATA_STATE", dC = "PLAINTEXT_STATE", my = "TAG_OPEN_STATE", gy = "END_TAG_OPEN_STATE", qf = "TAG_NAME_STATE", vy = "RCDATA_LESS_THAN_SIGN_STATE", yy = "RCDATA_END_TAG_OPEN_STATE", Ey = "RCDATA_END_TAG_NAME_STATE", by = "RAWTEXT_LESS_THAN_SIGN_STATE", Ty = "RAWTEXT_END_TAG_OPEN_STATE", _y = "RAWTEXT_END_TAG_NAME_STATE", Cy = "SCRIPT_DATA_LESS_THAN_SIGN_STATE", xy = "SCRIPT_DATA_END_TAG_OPEN_STATE", wy = "SCRIPT_DATA_END_TAG_NAME_STATE", Ay = "SCRIPT_DATA_ESCAPE_START_STATE", ky = "SCRIPT_DATA_ESCAPE_START_DASH_STATE", kr = "SCRIPT_DATA_ESCAPED_STATE", Sy = "SCRIPT_DATA_ESCAPED_DASH_STATE", Wf = "SCRIPT_DATA_ESCAPED_DASH_DASH_STATE", tc = "SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE", Dy = "SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE", Oy = "SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE", Ny = "SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE", pi = "SCRIPT_DATA_DOUBLE_ESCAPED_STATE", Iy = "SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE", Py = "SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE", nc = "SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE", Ry = "SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE", zr = "BEFORE_ATTRIBUTE_NAME_STATE", rc = "ATTRIBUTE_NAME_STATE", Vf = "AFTER_ATTRIBUTE_NAME_STATE", Kf = "BEFORE_ATTRIBUTE_VALUE_STATE", ic = "ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE", ac = "ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE", oc = "ATTRIBUTE_VALUE_UNQUOTED_STATE", Gf = "AFTER_ATTRIBUTE_VALUE_QUOTED_STATE", Wi = "SELF_CLOSING_START_TAG_STATE", Ms = "BOGUS_COMMENT_STATE", Fy = "MARKUP_DECLARATION_OPEN_STATE", By = "COMMENT_START_STATE", Ly = "COMMENT_START_DASH_STATE", Vi = "COMMENT_STATE", My = "COMMENT_LESS_THAN_SIGN_STATE", $y = "COMMENT_LESS_THAN_SIGN_BANG_STATE", jy = "COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE", Hy = "COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE", sc = "COMMENT_END_DASH_STATE", lc = "COMMENT_END_STATE", Uy = "COMMENT_END_BANG_STATE", zy = "DOCTYPE_STATE", uc = "BEFORE_DOCTYPE_NAME_STATE", cc = "DOCTYPE_NAME_STATE", qy = "AFTER_DOCTYPE_NAME_STATE", Wy = "AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE", Vy = "BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE", Yf = "DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE", Zf = "DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE", Qf = "AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE", Ky = "BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE", Gy = "AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE", Yy = "BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE", $s = "DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE", js = "DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE", Xf = "AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE", mi = "BOGUS_DOCTYPE_STATE", dc = "CDATA_SECTION_STATE", Zy = "CDATA_SECTION_BRACKET_STATE", Qy = "CDATA_SECTION_END_STATE", To = "CHARACTER_REFERENCE_STATE", Xy = "NAMED_CHARACTER_REFERENCE_STATE", Jy = "AMBIGUOS_AMPERSAND_STATE", e2 = "NUMERIC_CHARACTER_REFERENCE_STATE", t2 = "HEXADEMICAL_CHARACTER_REFERENCE_START_STATE", n2 = "DECIMAL_CHARACTER_REFERENCE_START_STATE", r2 = "HEXADEMICAL_CHARACTER_REFERENCE_STATE", i2 = "DECIMAL_CHARACTER_REFERENCE_STATE", Hs = "NUMERIC_CHARACTER_REFERENCE_END_STATE";
|
|
38850
38855
|
function Ut(e) {
|
|
38851
38856
|
return e === W.SPACE || e === W.LINE_FEED || e === W.TABULATION || e === W.FORM_FEED;
|
|
38852
38857
|
}
|
|
@@ -38874,14 +38879,14 @@ function hC(e) {
|
|
|
38874
38879
|
function lX(e) {
|
|
38875
38880
|
return pl(e) || fC(e) || hC(e);
|
|
38876
38881
|
}
|
|
38877
|
-
function
|
|
38882
|
+
function Uc(e) {
|
|
38878
38883
|
return e + 32;
|
|
38879
38884
|
}
|
|
38880
38885
|
function Yt(e) {
|
|
38881
38886
|
return e <= 65535 ? String.fromCharCode(e) : (e -= 65536, String.fromCharCode(e >>> 10 & 1023 | 55296) + String.fromCharCode(56320 | e & 1023));
|
|
38882
38887
|
}
|
|
38883
38888
|
function Ki(e) {
|
|
38884
|
-
return String.fromCharCode(
|
|
38889
|
+
return String.fromCharCode(Uc(e));
|
|
38885
38890
|
}
|
|
38886
38891
|
function a2(e, t) {
|
|
38887
38892
|
const n = La[++e];
|
|
@@ -38950,7 +38955,7 @@ let xr = class Rn {
|
|
|
38950
38955
|
a = !1;
|
|
38951
38956
|
break;
|
|
38952
38957
|
}
|
|
38953
|
-
if (u = t[s], l !== u && (r || l !==
|
|
38958
|
+
if (u = t[s], l !== u && (r || l !== Uc(u))) {
|
|
38954
38959
|
a = !1;
|
|
38955
38960
|
break;
|
|
38956
38961
|
}
|
|
@@ -39077,7 +39082,7 @@ let xr = class Rn {
|
|
|
39077
39082
|
return n;
|
|
39078
39083
|
}
|
|
39079
39084
|
_isCharacterReferenceInAttribute() {
|
|
39080
|
-
return this.returnState ===
|
|
39085
|
+
return this.returnState === ic || this.returnState === ac || this.returnState === oc;
|
|
39081
39086
|
}
|
|
39082
39087
|
_isCharacterReferenceAttributeQuirk(t) {
|
|
39083
39088
|
if (!t && this._isCharacterReferenceInAttribute()) {
|
|
@@ -39251,21 +39256,21 @@ let xr = class Rn {
|
|
|
39251
39256
|
// Script data escaped state
|
|
39252
39257
|
//------------------------------------------------------------------
|
|
39253
39258
|
[kr](t) {
|
|
39254
|
-
t === W.HYPHEN_MINUS ? (this.state = Sy, this._emitChars("-")) : t === W.LESS_THAN_SIGN ? this.state =
|
|
39259
|
+
t === W.HYPHEN_MINUS ? (this.state = Sy, this._emitChars("-")) : t === W.LESS_THAN_SIGN ? this.state = tc : t === W.NULL ? (this._err(de.unexpectedNullCharacter), this._emitChars(Pt.REPLACEMENT_CHARACTER)) : t === W.EOF ? (this._err(de.eofInScriptHtmlCommentLikeText), this._emitEOFToken()) : this._emitCodePoint(t);
|
|
39255
39260
|
}
|
|
39256
39261
|
// Script data escaped dash state
|
|
39257
39262
|
//------------------------------------------------------------------
|
|
39258
39263
|
[Sy](t) {
|
|
39259
|
-
t === W.HYPHEN_MINUS ? (this.state = Wf, this._emitChars("-")) : t === W.LESS_THAN_SIGN ? this.state =
|
|
39264
|
+
t === W.HYPHEN_MINUS ? (this.state = Wf, this._emitChars("-")) : t === W.LESS_THAN_SIGN ? this.state = tc : t === W.NULL ? (this._err(de.unexpectedNullCharacter), this.state = kr, this._emitChars(Pt.REPLACEMENT_CHARACTER)) : t === W.EOF ? (this._err(de.eofInScriptHtmlCommentLikeText), this._emitEOFToken()) : (this.state = kr, this._emitCodePoint(t));
|
|
39260
39265
|
}
|
|
39261
39266
|
// Script data escaped dash dash state
|
|
39262
39267
|
//------------------------------------------------------------------
|
|
39263
39268
|
[Wf](t) {
|
|
39264
|
-
t === W.HYPHEN_MINUS ? this._emitChars("-") : t === W.LESS_THAN_SIGN ? this.state =
|
|
39269
|
+
t === W.HYPHEN_MINUS ? this._emitChars("-") : t === W.LESS_THAN_SIGN ? this.state = tc : t === W.GREATER_THAN_SIGN ? (this.state = _i, this._emitChars(">")) : t === W.NULL ? (this._err(de.unexpectedNullCharacter), this.state = kr, this._emitChars(Pt.REPLACEMENT_CHARACTER)) : t === W.EOF ? (this._err(de.eofInScriptHtmlCommentLikeText), this._emitEOFToken()) : (this.state = kr, this._emitCodePoint(t));
|
|
39265
39270
|
}
|
|
39266
39271
|
// Script data escaped less-than sign state
|
|
39267
39272
|
//------------------------------------------------------------------
|
|
39268
|
-
[
|
|
39273
|
+
[tc](t) {
|
|
39269
39274
|
t === W.SOLIDUS ? (this.tempBuff = [], this.state = Dy) : Yi(t) ? (this.tempBuff = [], this._emitChars("<"), this._reconsumeInState(Ny)) : (this._emitChars("<"), this._reconsumeInState(kr));
|
|
39270
39275
|
}
|
|
39271
39276
|
// Script data escaped end tag open state
|
|
@@ -39301,67 +39306,67 @@ let xr = class Rn {
|
|
|
39301
39306
|
// Script data double escape start state
|
|
39302
39307
|
//------------------------------------------------------------------
|
|
39303
39308
|
[Ny](t) {
|
|
39304
|
-
Ut(t) || t === W.SOLIDUS || t === W.GREATER_THAN_SIGN ? (this.state = this._isTempBufferEqualToScriptString() ? pi : kr, this._emitCodePoint(t)) : Dr(t) ? (this.tempBuff.push(
|
|
39309
|
+
Ut(t) || t === W.SOLIDUS || t === W.GREATER_THAN_SIGN ? (this.state = this._isTempBufferEqualToScriptString() ? pi : kr, this._emitCodePoint(t)) : Dr(t) ? (this.tempBuff.push(Uc(t)), this._emitCodePoint(t)) : Ia(t) ? (this.tempBuff.push(t), this._emitCodePoint(t)) : this._reconsumeInState(kr);
|
|
39305
39310
|
}
|
|
39306
39311
|
// Script data double escaped state
|
|
39307
39312
|
//------------------------------------------------------------------
|
|
39308
39313
|
[pi](t) {
|
|
39309
|
-
t === W.HYPHEN_MINUS ? (this.state = Iy, this._emitChars("-")) : t === W.LESS_THAN_SIGN ? (this.state =
|
|
39314
|
+
t === W.HYPHEN_MINUS ? (this.state = Iy, this._emitChars("-")) : t === W.LESS_THAN_SIGN ? (this.state = nc, this._emitChars("<")) : t === W.NULL ? (this._err(de.unexpectedNullCharacter), this._emitChars(Pt.REPLACEMENT_CHARACTER)) : t === W.EOF ? (this._err(de.eofInScriptHtmlCommentLikeText), this._emitEOFToken()) : this._emitCodePoint(t);
|
|
39310
39315
|
}
|
|
39311
39316
|
// Script data double escaped dash state
|
|
39312
39317
|
//------------------------------------------------------------------
|
|
39313
39318
|
[Iy](t) {
|
|
39314
|
-
t === W.HYPHEN_MINUS ? (this.state = Py, this._emitChars("-")) : t === W.LESS_THAN_SIGN ? (this.state =
|
|
39319
|
+
t === W.HYPHEN_MINUS ? (this.state = Py, this._emitChars("-")) : t === W.LESS_THAN_SIGN ? (this.state = nc, this._emitChars("<")) : t === W.NULL ? (this._err(de.unexpectedNullCharacter), this.state = pi, this._emitChars(Pt.REPLACEMENT_CHARACTER)) : t === W.EOF ? (this._err(de.eofInScriptHtmlCommentLikeText), this._emitEOFToken()) : (this.state = pi, this._emitCodePoint(t));
|
|
39315
39320
|
}
|
|
39316
39321
|
// Script data double escaped dash dash state
|
|
39317
39322
|
//------------------------------------------------------------------
|
|
39318
39323
|
[Py](t) {
|
|
39319
|
-
t === W.HYPHEN_MINUS ? this._emitChars("-") : t === W.LESS_THAN_SIGN ? (this.state =
|
|
39324
|
+
t === W.HYPHEN_MINUS ? this._emitChars("-") : t === W.LESS_THAN_SIGN ? (this.state = nc, this._emitChars("<")) : t === W.GREATER_THAN_SIGN ? (this.state = _i, this._emitChars(">")) : t === W.NULL ? (this._err(de.unexpectedNullCharacter), this.state = pi, this._emitChars(Pt.REPLACEMENT_CHARACTER)) : t === W.EOF ? (this._err(de.eofInScriptHtmlCommentLikeText), this._emitEOFToken()) : (this.state = pi, this._emitCodePoint(t));
|
|
39320
39325
|
}
|
|
39321
39326
|
// Script data double escaped less-than sign state
|
|
39322
39327
|
//------------------------------------------------------------------
|
|
39323
|
-
[
|
|
39328
|
+
[nc](t) {
|
|
39324
39329
|
t === W.SOLIDUS ? (this.tempBuff = [], this.state = Ry, this._emitChars("/")) : this._reconsumeInState(pi);
|
|
39325
39330
|
}
|
|
39326
39331
|
// Script data double escape end state
|
|
39327
39332
|
//------------------------------------------------------------------
|
|
39328
39333
|
[Ry](t) {
|
|
39329
|
-
Ut(t) || t === W.SOLIDUS || t === W.GREATER_THAN_SIGN ? (this.state = this._isTempBufferEqualToScriptString() ? kr : pi, this._emitCodePoint(t)) : Dr(t) ? (this.tempBuff.push(
|
|
39334
|
+
Ut(t) || t === W.SOLIDUS || t === W.GREATER_THAN_SIGN ? (this.state = this._isTempBufferEqualToScriptString() ? kr : pi, this._emitCodePoint(t)) : Dr(t) ? (this.tempBuff.push(Uc(t)), this._emitCodePoint(t)) : Ia(t) ? (this.tempBuff.push(t), this._emitCodePoint(t)) : this._reconsumeInState(pi);
|
|
39330
39335
|
}
|
|
39331
39336
|
// Before attribute name state
|
|
39332
39337
|
//------------------------------------------------------------------
|
|
39333
39338
|
[zr](t) {
|
|
39334
|
-
Ut(t) || (t === W.SOLIDUS || t === W.GREATER_THAN_SIGN || t === W.EOF ? this._reconsumeInState(Vf) : t === W.EQUALS_SIGN ? (this._err(de.unexpectedEqualsSignBeforeAttributeName), this._createAttr("="), this.state =
|
|
39339
|
+
Ut(t) || (t === W.SOLIDUS || t === W.GREATER_THAN_SIGN || t === W.EOF ? this._reconsumeInState(Vf) : t === W.EQUALS_SIGN ? (this._err(de.unexpectedEqualsSignBeforeAttributeName), this._createAttr("="), this.state = rc) : (this._createAttr(""), this._reconsumeInState(rc)));
|
|
39335
39340
|
}
|
|
39336
39341
|
// Attribute name state
|
|
39337
39342
|
//------------------------------------------------------------------
|
|
39338
|
-
[
|
|
39343
|
+
[rc](t) {
|
|
39339
39344
|
Ut(t) || t === W.SOLIDUS || t === W.GREATER_THAN_SIGN || t === W.EOF ? (this._leaveAttrName(Vf), this._unconsume()) : t === W.EQUALS_SIGN ? this._leaveAttrName(Kf) : Dr(t) ? this.currentAttr.name += Ki(t) : t === W.QUOTATION_MARK || t === W.APOSTROPHE || t === W.LESS_THAN_SIGN ? (this._err(de.unexpectedCharacterInAttributeName), this.currentAttr.name += Yt(t)) : t === W.NULL ? (this._err(de.unexpectedNullCharacter), this.currentAttr.name += Pt.REPLACEMENT_CHARACTER) : this.currentAttr.name += Yt(t);
|
|
39340
39345
|
}
|
|
39341
39346
|
// After attribute name state
|
|
39342
39347
|
//------------------------------------------------------------------
|
|
39343
39348
|
[Vf](t) {
|
|
39344
|
-
Ut(t) || (t === W.SOLIDUS ? this.state = Wi : t === W.EQUALS_SIGN ? this.state = Kf : t === W.GREATER_THAN_SIGN ? (this.state = ht, this._emitCurrentToken()) : t === W.EOF ? (this._err(de.eofInTag), this._emitEOFToken()) : (this._createAttr(""), this._reconsumeInState(
|
|
39349
|
+
Ut(t) || (t === W.SOLIDUS ? this.state = Wi : t === W.EQUALS_SIGN ? this.state = Kf : t === W.GREATER_THAN_SIGN ? (this.state = ht, this._emitCurrentToken()) : t === W.EOF ? (this._err(de.eofInTag), this._emitEOFToken()) : (this._createAttr(""), this._reconsumeInState(rc)));
|
|
39345
39350
|
}
|
|
39346
39351
|
// Before attribute value state
|
|
39347
39352
|
//------------------------------------------------------------------
|
|
39348
39353
|
[Kf](t) {
|
|
39349
|
-
Ut(t) || (t === W.QUOTATION_MARK ? this.state =
|
|
39354
|
+
Ut(t) || (t === W.QUOTATION_MARK ? this.state = ic : t === W.APOSTROPHE ? this.state = ac : t === W.GREATER_THAN_SIGN ? (this._err(de.missingAttributeValue), this.state = ht, this._emitCurrentToken()) : this._reconsumeInState(oc));
|
|
39350
39355
|
}
|
|
39351
39356
|
// Attribute value (double-quoted) state
|
|
39352
39357
|
//------------------------------------------------------------------
|
|
39353
|
-
[
|
|
39354
|
-
t === W.QUOTATION_MARK ? this.state = Gf : t === W.AMPERSAND ? (this.returnState =
|
|
39358
|
+
[ic](t) {
|
|
39359
|
+
t === W.QUOTATION_MARK ? this.state = Gf : t === W.AMPERSAND ? (this.returnState = ic, this.state = To) : t === W.NULL ? (this._err(de.unexpectedNullCharacter), this.currentAttr.value += Pt.REPLACEMENT_CHARACTER) : t === W.EOF ? (this._err(de.eofInTag), this._emitEOFToken()) : this.currentAttr.value += Yt(t);
|
|
39355
39360
|
}
|
|
39356
39361
|
// Attribute value (single-quoted) state
|
|
39357
39362
|
//------------------------------------------------------------------
|
|
39358
|
-
[
|
|
39359
|
-
t === W.APOSTROPHE ? this.state = Gf : t === W.AMPERSAND ? (this.returnState =
|
|
39363
|
+
[ac](t) {
|
|
39364
|
+
t === W.APOSTROPHE ? this.state = Gf : t === W.AMPERSAND ? (this.returnState = ac, this.state = To) : t === W.NULL ? (this._err(de.unexpectedNullCharacter), this.currentAttr.value += Pt.REPLACEMENT_CHARACTER) : t === W.EOF ? (this._err(de.eofInTag), this._emitEOFToken()) : this.currentAttr.value += Yt(t);
|
|
39360
39365
|
}
|
|
39361
39366
|
// Attribute value (unquoted) state
|
|
39362
39367
|
//------------------------------------------------------------------
|
|
39363
|
-
[
|
|
39364
|
-
Ut(t) ? this._leaveAttrValue(zr) : t === W.AMPERSAND ? (this.returnState =
|
|
39368
|
+
[oc](t) {
|
|
39369
|
+
Ut(t) ? this._leaveAttrValue(zr) : t === W.AMPERSAND ? (this.returnState = oc, this.state = To) : t === W.GREATER_THAN_SIGN ? (this._leaveAttrValue(ht), this._emitCurrentToken()) : t === W.NULL ? (this._err(de.unexpectedNullCharacter), this.currentAttr.value += Pt.REPLACEMENT_CHARACTER) : t === W.QUOTATION_MARK || t === W.APOSTROPHE || t === W.LESS_THAN_SIGN || t === W.EQUALS_SIGN || t === W.GRAVE_ACCENT ? (this._err(de.unexpectedCharacterInUnquotedAttributeValue), this.currentAttr.value += Yt(t)) : t === W.EOF ? (this._err(de.eofInTag), this._emitEOFToken()) : this.currentAttr.value += Yt(t);
|
|
39365
39370
|
}
|
|
39366
39371
|
// After attribute value (quoted) state
|
|
39367
39372
|
//------------------------------------------------------------------
|
|
@@ -39381,7 +39386,7 @@ let xr = class Rn {
|
|
|
39381
39386
|
// Markup declaration open state
|
|
39382
39387
|
//------------------------------------------------------------------
|
|
39383
39388
|
[Fy](t) {
|
|
39384
|
-
this._consumeSequenceIfMatch(Aa.DASH_DASH_STRING, t, !0) ? (this._createCommentToken(), this.state = By) : this._consumeSequenceIfMatch(Aa.DOCTYPE_STRING, t, !1) ? this.state = zy : this._consumeSequenceIfMatch(Aa.CDATA_START_STRING, t, !0) ? this.allowCDATA ? this.state =
|
|
39389
|
+
this._consumeSequenceIfMatch(Aa.DASH_DASH_STRING, t, !0) ? (this._createCommentToken(), this.state = By) : this._consumeSequenceIfMatch(Aa.DOCTYPE_STRING, t, !1) ? this.state = zy : this._consumeSequenceIfMatch(Aa.CDATA_START_STRING, t, !0) ? this.allowCDATA ? this.state = dc : (this._err(de.cdataInHtmlContent), this._createCommentToken(), this.currentToken.data = "[CDATA[", this.state = Ms) : this._ensureHibernation() || (this._err(de.incorrectlyOpenedComment), this._createCommentToken(), this._reconsumeInState(Ms));
|
|
39385
39390
|
}
|
|
39386
39391
|
// Comment start state
|
|
39387
39392
|
//------------------------------------------------------------------
|
|
@@ -39391,12 +39396,12 @@ let xr = class Rn {
|
|
|
39391
39396
|
// Comment start dash state
|
|
39392
39397
|
//------------------------------------------------------------------
|
|
39393
39398
|
[Ly](t) {
|
|
39394
|
-
t === W.HYPHEN_MINUS ? this.state =
|
|
39399
|
+
t === W.HYPHEN_MINUS ? this.state = lc : t === W.GREATER_THAN_SIGN ? (this._err(de.abruptClosingOfEmptyComment), this.state = ht, this._emitCurrentToken()) : t === W.EOF ? (this._err(de.eofInComment), this._emitCurrentToken(), this._emitEOFToken()) : (this.currentToken.data += "-", this._reconsumeInState(Vi));
|
|
39395
39400
|
}
|
|
39396
39401
|
// Comment state
|
|
39397
39402
|
//------------------------------------------------------------------
|
|
39398
39403
|
[Vi](t) {
|
|
39399
|
-
t === W.HYPHEN_MINUS ? this.state =
|
|
39404
|
+
t === W.HYPHEN_MINUS ? this.state = sc : t === W.LESS_THAN_SIGN ? (this.currentToken.data += "<", this.state = My) : t === W.NULL ? (this._err(de.unexpectedNullCharacter), this.currentToken.data += Pt.REPLACEMENT_CHARACTER) : t === W.EOF ? (this._err(de.eofInComment), this._emitCurrentToken(), this._emitEOFToken()) : this.currentToken.data += Yt(t);
|
|
39400
39405
|
}
|
|
39401
39406
|
// Comment less-than sign state
|
|
39402
39407
|
//------------------------------------------------------------------
|
|
@@ -39411,41 +39416,41 @@ let xr = class Rn {
|
|
|
39411
39416
|
// Comment less-than sign bang dash state
|
|
39412
39417
|
//------------------------------------------------------------------
|
|
39413
39418
|
[jy](t) {
|
|
39414
|
-
t === W.HYPHEN_MINUS ? this.state = Hy : this._reconsumeInState(
|
|
39419
|
+
t === W.HYPHEN_MINUS ? this.state = Hy : this._reconsumeInState(sc);
|
|
39415
39420
|
}
|
|
39416
39421
|
// Comment less-than sign bang dash dash state
|
|
39417
39422
|
//------------------------------------------------------------------
|
|
39418
39423
|
[Hy](t) {
|
|
39419
|
-
t !== W.GREATER_THAN_SIGN && t !== W.EOF && this._err(de.nestedComment), this._reconsumeInState(
|
|
39424
|
+
t !== W.GREATER_THAN_SIGN && t !== W.EOF && this._err(de.nestedComment), this._reconsumeInState(lc);
|
|
39420
39425
|
}
|
|
39421
39426
|
// Comment end dash state
|
|
39422
39427
|
//------------------------------------------------------------------
|
|
39423
|
-
[
|
|
39424
|
-
t === W.HYPHEN_MINUS ? this.state =
|
|
39428
|
+
[sc](t) {
|
|
39429
|
+
t === W.HYPHEN_MINUS ? this.state = lc : t === W.EOF ? (this._err(de.eofInComment), this._emitCurrentToken(), this._emitEOFToken()) : (this.currentToken.data += "-", this._reconsumeInState(Vi));
|
|
39425
39430
|
}
|
|
39426
39431
|
// Comment end state
|
|
39427
39432
|
//------------------------------------------------------------------
|
|
39428
|
-
[
|
|
39433
|
+
[lc](t) {
|
|
39429
39434
|
t === W.GREATER_THAN_SIGN ? (this.state = ht, this._emitCurrentToken()) : t === W.EXCLAMATION_MARK ? this.state = Uy : t === W.HYPHEN_MINUS ? this.currentToken.data += "-" : t === W.EOF ? (this._err(de.eofInComment), this._emitCurrentToken(), this._emitEOFToken()) : (this.currentToken.data += "--", this._reconsumeInState(Vi));
|
|
39430
39435
|
}
|
|
39431
39436
|
// Comment end bang state
|
|
39432
39437
|
//------------------------------------------------------------------
|
|
39433
39438
|
[Uy](t) {
|
|
39434
|
-
t === W.HYPHEN_MINUS ? (this.currentToken.data += "--!", this.state =
|
|
39439
|
+
t === W.HYPHEN_MINUS ? (this.currentToken.data += "--!", this.state = sc) : t === W.GREATER_THAN_SIGN ? (this._err(de.incorrectlyClosedComment), this.state = ht, this._emitCurrentToken()) : t === W.EOF ? (this._err(de.eofInComment), this._emitCurrentToken(), this._emitEOFToken()) : (this.currentToken.data += "--!", this._reconsumeInState(Vi));
|
|
39435
39440
|
}
|
|
39436
39441
|
// DOCTYPE state
|
|
39437
39442
|
//------------------------------------------------------------------
|
|
39438
39443
|
[zy](t) {
|
|
39439
|
-
Ut(t) ? this.state =
|
|
39444
|
+
Ut(t) ? this.state = uc : t === W.GREATER_THAN_SIGN ? this._reconsumeInState(uc) : t === W.EOF ? (this._err(de.eofInDoctype), this._createDoctypeToken(null), this.currentToken.forceQuirks = !0, this._emitCurrentToken(), this._emitEOFToken()) : (this._err(de.missingWhitespaceBeforeDoctypeName), this._reconsumeInState(uc));
|
|
39440
39445
|
}
|
|
39441
39446
|
// Before DOCTYPE name state
|
|
39442
39447
|
//------------------------------------------------------------------
|
|
39443
|
-
[
|
|
39444
|
-
Ut(t) || (Dr(t) ? (this._createDoctypeToken(Ki(t)), this.state =
|
|
39448
|
+
[uc](t) {
|
|
39449
|
+
Ut(t) || (Dr(t) ? (this._createDoctypeToken(Ki(t)), this.state = cc) : t === W.NULL ? (this._err(de.unexpectedNullCharacter), this._createDoctypeToken(Pt.REPLACEMENT_CHARACTER), this.state = cc) : t === W.GREATER_THAN_SIGN ? (this._err(de.missingDoctypeName), this._createDoctypeToken(null), this.currentToken.forceQuirks = !0, this._emitCurrentToken(), this.state = ht) : t === W.EOF ? (this._err(de.eofInDoctype), this._createDoctypeToken(null), this.currentToken.forceQuirks = !0, this._emitCurrentToken(), this._emitEOFToken()) : (this._createDoctypeToken(Yt(t)), this.state = cc));
|
|
39445
39450
|
}
|
|
39446
39451
|
// DOCTYPE name state
|
|
39447
39452
|
//------------------------------------------------------------------
|
|
39448
|
-
[
|
|
39453
|
+
[cc](t) {
|
|
39449
39454
|
Ut(t) ? this.state = qy : t === W.GREATER_THAN_SIGN ? (this.state = ht, this._emitCurrentToken()) : Dr(t) ? this.currentToken.name += Ki(t) : t === W.NULL ? (this._err(de.unexpectedNullCharacter), this.currentToken.name += Pt.REPLACEMENT_CHARACTER) : t === W.EOF ? (this._err(de.eofInDoctype), this.currentToken.forceQuirks = !0, this._emitCurrentToken(), this._emitEOFToken()) : this.currentToken.name += Yt(t);
|
|
39450
39455
|
}
|
|
39451
39456
|
// After DOCTYPE name state
|
|
@@ -39515,18 +39520,18 @@ let xr = class Rn {
|
|
|
39515
39520
|
}
|
|
39516
39521
|
// CDATA section state
|
|
39517
39522
|
//------------------------------------------------------------------
|
|
39518
|
-
[
|
|
39523
|
+
[dc](t) {
|
|
39519
39524
|
t === W.RIGHT_SQUARE_BRACKET ? this.state = Zy : t === W.EOF ? (this._err(de.eofInCdata), this._emitEOFToken()) : this._emitCodePoint(t);
|
|
39520
39525
|
}
|
|
39521
39526
|
// CDATA section bracket state
|
|
39522
39527
|
//------------------------------------------------------------------
|
|
39523
39528
|
[Zy](t) {
|
|
39524
|
-
t === W.RIGHT_SQUARE_BRACKET ? this.state = Qy : (this._emitChars("]"), this._reconsumeInState(
|
|
39529
|
+
t === W.RIGHT_SQUARE_BRACKET ? this.state = Qy : (this._emitChars("]"), this._reconsumeInState(dc));
|
|
39525
39530
|
}
|
|
39526
39531
|
// CDATA section end state
|
|
39527
39532
|
//------------------------------------------------------------------
|
|
39528
39533
|
[Qy](t) {
|
|
39529
|
-
t === W.GREATER_THAN_SIGN ? this.state = ht : t === W.RIGHT_SQUARE_BRACKET ? this._emitChars("]") : (this._emitChars("]]"), this._reconsumeInState(
|
|
39534
|
+
t === W.GREATER_THAN_SIGN ? this.state = ht : t === W.RIGHT_SQUARE_BRACKET ? this._emitChars("]") : (this._emitChars("]]"), this._reconsumeInState(dc));
|
|
39530
39535
|
}
|
|
39531
39536
|
// Character reference state
|
|
39532
39537
|
//------------------------------------------------------------------
|
|
@@ -39616,7 +39621,7 @@ xr.getTokenAttr = function(e, t) {
|
|
|
39616
39621
|
return e.attrs[n].value;
|
|
39617
39622
|
return null;
|
|
39618
39623
|
};
|
|
39619
|
-
var
|
|
39624
|
+
var Q1 = xr, $r = {};
|
|
39620
39625
|
const eh = $r.NAMESPACES = {
|
|
39621
39626
|
HTML: "http://www.w3.org/1999/xhtml",
|
|
39622
39627
|
MATHML: "http://www.w3.org/1998/Math/MathML",
|
|
@@ -39897,7 +39902,7 @@ function uX(e) {
|
|
|
39897
39902
|
}
|
|
39898
39903
|
return !1;
|
|
39899
39904
|
}
|
|
39900
|
-
function
|
|
39905
|
+
function fc(e, t) {
|
|
39901
39906
|
switch (e.length) {
|
|
39902
39907
|
case 2:
|
|
39903
39908
|
if (e === _e.TD || e === _e.TH)
|
|
@@ -40039,7 +40044,7 @@ let cX = class {
|
|
|
40039
40044
|
const r = this.treeAdapter.getTagName(this.items[n]), i = this.treeAdapter.getNamespaceURI(this.items[n]);
|
|
40040
40045
|
if (r === t && i === Rt.HTML)
|
|
40041
40046
|
return !0;
|
|
40042
|
-
if (
|
|
40047
|
+
if (fc(r, i))
|
|
40043
40048
|
return !1;
|
|
40044
40049
|
}
|
|
40045
40050
|
return !0;
|
|
@@ -40049,7 +40054,7 @@ let cX = class {
|
|
|
40049
40054
|
const n = this.treeAdapter.getTagName(this.items[t]), r = this.treeAdapter.getNamespaceURI(this.items[t]);
|
|
40050
40055
|
if ((n === _e.H1 || n === _e.H2 || n === _e.H3 || n === _e.H4 || n === _e.H5 || n === _e.H6) && r === Rt.HTML)
|
|
40051
40056
|
return !0;
|
|
40052
|
-
if (
|
|
40057
|
+
if (fc(n, r))
|
|
40053
40058
|
return !1;
|
|
40054
40059
|
}
|
|
40055
40060
|
return !0;
|
|
@@ -40059,7 +40064,7 @@ let cX = class {
|
|
|
40059
40064
|
const r = this.treeAdapter.getTagName(this.items[n]), i = this.treeAdapter.getNamespaceURI(this.items[n]);
|
|
40060
40065
|
if (r === t && i === Rt.HTML)
|
|
40061
40066
|
return !0;
|
|
40062
|
-
if ((r === _e.UL || r === _e.OL) && i === Rt.HTML ||
|
|
40067
|
+
if ((r === _e.UL || r === _e.OL) && i === Rt.HTML || fc(r, i))
|
|
40063
40068
|
return !1;
|
|
40064
40069
|
}
|
|
40065
40070
|
return !0;
|
|
@@ -40069,7 +40074,7 @@ let cX = class {
|
|
|
40069
40074
|
const r = this.treeAdapter.getTagName(this.items[n]), i = this.treeAdapter.getNamespaceURI(this.items[n]);
|
|
40070
40075
|
if (r === t && i === Rt.HTML)
|
|
40071
40076
|
return !0;
|
|
40072
|
-
if (r === _e.BUTTON && i === Rt.HTML ||
|
|
40077
|
+
if (r === _e.BUTTON && i === Rt.HTML || fc(r, i))
|
|
40073
40078
|
return !1;
|
|
40074
40079
|
}
|
|
40075
40080
|
return !0;
|
|
@@ -40125,7 +40130,7 @@ let cX = class {
|
|
|
40125
40130
|
}
|
|
40126
40131
|
};
|
|
40127
40132
|
var dX = cX;
|
|
40128
|
-
const
|
|
40133
|
+
const hc = 3;
|
|
40129
40134
|
let m0 = class Zi {
|
|
40130
40135
|
constructor(t) {
|
|
40131
40136
|
this.length = 0, this.entries = [], this.treeAdapter = t, this.bookmark = null;
|
|
@@ -40135,7 +40140,7 @@ let m0 = class Zi {
|
|
|
40135
40140
|
//lightweight heuristics without thorough attributes check.
|
|
40136
40141
|
_getNoahArkConditionCandidates(t) {
|
|
40137
40142
|
const n = [];
|
|
40138
|
-
if (this.length >=
|
|
40143
|
+
if (this.length >= hc) {
|
|
40139
40144
|
const r = this.treeAdapter.getAttrList(t).length, i = this.treeAdapter.getTagName(t), a = this.treeAdapter.getNamespaceURI(t);
|
|
40140
40145
|
for (let o = this.length - 1; o >= 0; o--) {
|
|
40141
40146
|
const s = this.entries[o];
|
|
@@ -40145,7 +40150,7 @@ let m0 = class Zi {
|
|
|
40145
40150
|
this.treeAdapter.getTagName(l) === i && this.treeAdapter.getNamespaceURI(l) === a && u.length === r && n.push({ idx: o, attrs: u });
|
|
40146
40151
|
}
|
|
40147
40152
|
}
|
|
40148
|
-
return n.length <
|
|
40153
|
+
return n.length < hc ? [] : n;
|
|
40149
40154
|
}
|
|
40150
40155
|
_ensureNoahArkCondition(t) {
|
|
40151
40156
|
const n = this._getNoahArkConditionCandidates(t);
|
|
@@ -40159,10 +40164,10 @@ let m0 = class Zi {
|
|
|
40159
40164
|
for (let s = 0; s < a; s++)
|
|
40160
40165
|
for (let l = 0; l < r; l++) {
|
|
40161
40166
|
const u = n[l].attrs[s];
|
|
40162
|
-
if (o[u.name] !== u.value && (n.splice(l, 1), r--), n.length <
|
|
40167
|
+
if (o[u.name] !== u.value && (n.splice(l, 1), r--), n.length < hc)
|
|
40163
40168
|
return;
|
|
40164
40169
|
}
|
|
40165
|
-
for (let s = r - 1; s >=
|
|
40170
|
+
for (let s = r - 1; s >= hc - 1; s--)
|
|
40166
40171
|
this.entries.splice(n[s].idx, 1), this.length--;
|
|
40167
40172
|
}
|
|
40168
40173
|
}
|
|
@@ -40269,7 +40274,7 @@ let pX = class extends hX {
|
|
|
40269
40274
|
}
|
|
40270
40275
|
};
|
|
40271
40276
|
var gC = pX;
|
|
40272
|
-
const s2 = ji, th =
|
|
40277
|
+
const s2 = ji, th = Q1, mX = gC;
|
|
40273
40278
|
let gX = class extends s2 {
|
|
40274
40279
|
constructor(t) {
|
|
40275
40280
|
super(t), this.tokenizer = t, this.posTracker = s2.install(t.preprocessor, mX), this.currentAttrLocation = null, this.ctLoc = null;
|
|
@@ -40358,7 +40363,7 @@ let yX = class extends vX {
|
|
|
40358
40363
|
}
|
|
40359
40364
|
};
|
|
40360
40365
|
var EX = yX;
|
|
40361
|
-
const nh = ji, l2 =
|
|
40366
|
+
const nh = ji, l2 = Q1, bX = vC, TX = EX, _X = $r, rh = _X.TAG_NAMES;
|
|
40362
40367
|
let CX = class extends nh {
|
|
40363
40368
|
constructor(t) {
|
|
40364
40369
|
super(t), this.parser = t, this.treeAdapter = this.parser.treeAdapter, this.posTracker = null, this.lastStartTagToken = null, this.lastFosterParentingLocation = null, this.currentToken = null;
|
|
@@ -40681,7 +40686,7 @@ var qX = function(t, n) {
|
|
|
40681
40686
|
return n = n || /* @__PURE__ */ Object.create(null), [t, n].reduce((r, i) => (Object.keys(i).forEach((a) => {
|
|
40682
40687
|
r[a] = i[a];
|
|
40683
40688
|
}), r), /* @__PURE__ */ Object.create(null));
|
|
40684
|
-
},
|
|
40689
|
+
}, X1 = {};
|
|
40685
40690
|
const { DOCUMENT_MODE: _o } = $r, bC = "html", WX = "about:legacy-compat", VX = "http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd", TC = [
|
|
40686
40691
|
"+//silmaril//dtd html pro v0r11 19970101//",
|
|
40687
40692
|
"-//as//dtd html 3.0 aswedit + extensions//",
|
|
@@ -40755,10 +40760,10 @@ function d2(e, t) {
|
|
|
40755
40760
|
return !0;
|
|
40756
40761
|
return !1;
|
|
40757
40762
|
}
|
|
40758
|
-
|
|
40763
|
+
X1.isConforming = function(e) {
|
|
40759
40764
|
return e.name === bC && e.publicId === null && (e.systemId === null || e.systemId === WX);
|
|
40760
40765
|
};
|
|
40761
|
-
|
|
40766
|
+
X1.getDocumentMode = function(e) {
|
|
40762
40767
|
if (e.name !== bC)
|
|
40763
40768
|
return _o.QUIRKS;
|
|
40764
40769
|
const t = e.systemId;
|
|
@@ -40776,12 +40781,12 @@ Q1.getDocumentMode = function(e) {
|
|
|
40776
40781
|
}
|
|
40777
40782
|
return _o.NO_QUIRKS;
|
|
40778
40783
|
};
|
|
40779
|
-
|
|
40784
|
+
X1.serializeContent = function(e, t, n) {
|
|
40780
40785
|
let r = "!DOCTYPE ";
|
|
40781
40786
|
return e && (r += e), t ? r += " PUBLIC " + c2(t) : n && (r += " SYSTEM"), n !== null && (r += " " + c2(n)), r;
|
|
40782
40787
|
};
|
|
40783
40788
|
var ya = {};
|
|
40784
|
-
const ih =
|
|
40789
|
+
const ih = Q1, v0 = $r, Le = v0.TAG_NAMES, mn = v0.NAMESPACES, zc = v0.ATTRS, f2 = {
|
|
40785
40790
|
TEXT_HTML: "text/html",
|
|
40786
40791
|
APPLICATION_XML: "application/xhtml+xml"
|
|
40787
40792
|
}, ZX = "definitionurl", QX = "definitionURL", XX = {
|
|
@@ -40941,7 +40946,7 @@ const ih = Z1, v0 = $r, Le = v0.TAG_NAMES, mn = v0.NAMESPACES, Uc = v0.ATTRS, f2
|
|
|
40941
40946
|
};
|
|
40942
40947
|
ya.causesExit = function(e) {
|
|
40943
40948
|
const t = e.tagName;
|
|
40944
|
-
return t === Le.FONT && (ih.getTokenAttr(e,
|
|
40949
|
+
return t === Le.FONT && (ih.getTokenAttr(e, zc.COLOR) !== null || ih.getTokenAttr(e, zc.SIZE) !== null || ih.getTokenAttr(e, zc.FACE) !== null) ? !0 : tJ[t];
|
|
40945
40950
|
};
|
|
40946
40951
|
ya.adjustTokenMathMLAttrs = function(e) {
|
|
40947
40952
|
for (let t = 0; t < e.attrs.length; t++)
|
|
@@ -40972,7 +40977,7 @@ function nJ(e, t) {
|
|
|
40972
40977
|
function rJ(e, t, n) {
|
|
40973
40978
|
if (t === mn.MATHML && e === Le.ANNOTATION_XML) {
|
|
40974
40979
|
for (let r = 0; r < n.length; r++)
|
|
40975
|
-
if (n[r].name ===
|
|
40980
|
+
if (n[r].name === zc.ENCODING) {
|
|
40976
40981
|
const i = n[r].value.toLowerCase();
|
|
40977
40982
|
return i === f2.TEXT_HTML || i === f2.APPLICATION_XML;
|
|
40978
40983
|
}
|
|
@@ -40982,21 +40987,21 @@ function rJ(e, t, n) {
|
|
|
40982
40987
|
ya.isIntegrationPoint = function(e, t, n, r) {
|
|
40983
40988
|
return !!((!r || r === mn.HTML) && rJ(e, t, n) || (!r || r === mn.MATHML) && nJ(e, t));
|
|
40984
40989
|
};
|
|
40985
|
-
const Y =
|
|
40990
|
+
const Y = Q1, iJ = dX, h2 = fX, aJ = xX, oJ = HX, p2 = ji, sJ = Tt, lJ = qX, m2 = X1, Zr = ya, En = p0, uJ = Mr, to = $r, x = to.TAG_NAMES, Ne = to.NAMESPACES, CC = to.ATTRS, cJ = {
|
|
40986
40991
|
scriptingEnabled: !0,
|
|
40987
40992
|
sourceCodeLocationInfo: !1,
|
|
40988
40993
|
onParseError: null,
|
|
40989
40994
|
treeAdapter: sJ
|
|
40990
|
-
}, xC = "hidden", dJ = 8, fJ = 3, wC = "INITIAL_MODE", y0 = "BEFORE_HTML_MODE",
|
|
40995
|
+
}, xC = "hidden", dJ = 8, fJ = 3, wC = "INITIAL_MODE", y0 = "BEFORE_HTML_MODE", J1 = "BEFORE_HEAD_MODE", hs = "IN_HEAD_MODE", AC = "IN_HEAD_NO_SCRIPT_MODE", ed = "AFTER_HEAD_MODE", ti = "IN_BODY_MODE", v1 = "TEXT_MODE", Tn = "IN_TABLE_MODE", kC = "IN_TABLE_TEXT_MODE", td = "IN_CAPTION_MODE", uu = "IN_COLUMN_GROUP_MODE", yr = "IN_TABLE_BODY_MODE", Pi = "IN_ROW_MODE", nd = "IN_CELL_MODE", E0 = "IN_SELECT_MODE", b0 = "IN_SELECT_IN_TABLE_MODE", y1 = "IN_TEMPLATE_MODE", T0 = "AFTER_BODY_MODE", rd = "IN_FRAMESET_MODE", SC = "AFTER_FRAMESET_MODE", DC = "AFTER_AFTER_BODY_MODE", OC = "AFTER_AFTER_FRAMESET_MODE", hJ = {
|
|
40991
40996
|
[x.TR]: Pi,
|
|
40992
40997
|
[x.TBODY]: yr,
|
|
40993
40998
|
[x.THEAD]: yr,
|
|
40994
40999
|
[x.TFOOT]: yr,
|
|
40995
|
-
[x.CAPTION]:
|
|
41000
|
+
[x.CAPTION]: td,
|
|
40996
41001
|
[x.COLGROUP]: uu,
|
|
40997
41002
|
[x.TABLE]: Tn,
|
|
40998
41003
|
[x.BODY]: ti,
|
|
40999
|
-
[x.FRAMESET]:
|
|
41004
|
+
[x.FRAMESET]: rd
|
|
41000
41005
|
}, pJ = {
|
|
41001
41006
|
[x.CAPTION]: Tn,
|
|
41002
41007
|
[x.COLGROUP]: Tn,
|
|
@@ -41028,12 +41033,12 @@ const Y = Z1, iJ = dX, h2 = fX, aJ = xX, oJ = HX, p2 = ji, sJ = Tt, lJ = qX, m2
|
|
|
41028
41033
|
[Y.END_TAG_TOKEN]: AJ,
|
|
41029
41034
|
[Y.EOF_TOKEN]: ml
|
|
41030
41035
|
},
|
|
41031
|
-
[
|
|
41036
|
+
[J1]: {
|
|
41032
41037
|
[Y.CHARACTER_TOKEN]: gl,
|
|
41033
41038
|
[Y.NULL_CHARACTER_TOKEN]: gl,
|
|
41034
41039
|
[Y.WHITESPACE_CHARACTER_TOKEN]: mt,
|
|
41035
41040
|
[Y.COMMENT_TOKEN]: on,
|
|
41036
|
-
[Y.DOCTYPE_TOKEN]:
|
|
41041
|
+
[Y.DOCTYPE_TOKEN]: pc,
|
|
41037
41042
|
[Y.START_TAG_TOKEN]: kJ,
|
|
41038
41043
|
[Y.END_TAG_TOKEN]: SJ,
|
|
41039
41044
|
[Y.EOF_TOKEN]: gl
|
|
@@ -41043,7 +41048,7 @@ const Y = Z1, iJ = dX, h2 = fX, aJ = xX, oJ = HX, p2 = ji, sJ = Tt, lJ = qX, m2
|
|
|
41043
41048
|
[Y.NULL_CHARACTER_TOKEN]: vl,
|
|
41044
41049
|
[Y.WHITESPACE_CHARACTER_TOKEN]: Fn,
|
|
41045
41050
|
[Y.COMMENT_TOKEN]: on,
|
|
41046
|
-
[Y.DOCTYPE_TOKEN]:
|
|
41051
|
+
[Y.DOCTYPE_TOKEN]: pc,
|
|
41047
41052
|
[Y.START_TAG_TOKEN]: dn,
|
|
41048
41053
|
[Y.END_TAG_TOKEN]: no,
|
|
41049
41054
|
[Y.EOF_TOKEN]: vl
|
|
@@ -41053,23 +41058,23 @@ const Y = Z1, iJ = dX, h2 = fX, aJ = xX, oJ = HX, p2 = ji, sJ = Tt, lJ = qX, m2
|
|
|
41053
41058
|
[Y.NULL_CHARACTER_TOKEN]: yl,
|
|
41054
41059
|
[Y.WHITESPACE_CHARACTER_TOKEN]: Fn,
|
|
41055
41060
|
[Y.COMMENT_TOKEN]: on,
|
|
41056
|
-
[Y.DOCTYPE_TOKEN]:
|
|
41061
|
+
[Y.DOCTYPE_TOKEN]: pc,
|
|
41057
41062
|
[Y.START_TAG_TOKEN]: DJ,
|
|
41058
41063
|
[Y.END_TAG_TOKEN]: OJ,
|
|
41059
41064
|
[Y.EOF_TOKEN]: yl
|
|
41060
41065
|
},
|
|
41061
|
-
[
|
|
41066
|
+
[ed]: {
|
|
41062
41067
|
[Y.CHARACTER_TOKEN]: El,
|
|
41063
41068
|
[Y.NULL_CHARACTER_TOKEN]: El,
|
|
41064
41069
|
[Y.WHITESPACE_CHARACTER_TOKEN]: Fn,
|
|
41065
41070
|
[Y.COMMENT_TOKEN]: on,
|
|
41066
|
-
[Y.DOCTYPE_TOKEN]:
|
|
41071
|
+
[Y.DOCTYPE_TOKEN]: pc,
|
|
41067
41072
|
[Y.START_TAG_TOKEN]: NJ,
|
|
41068
41073
|
[Y.END_TAG_TOKEN]: IJ,
|
|
41069
41074
|
[Y.EOF_TOKEN]: El
|
|
41070
41075
|
},
|
|
41071
41076
|
[ti]: {
|
|
41072
|
-
[Y.CHARACTER_TOKEN]:
|
|
41077
|
+
[Y.CHARACTER_TOKEN]: mc,
|
|
41073
41078
|
[Y.NULL_CHARACTER_TOKEN]: mt,
|
|
41074
41079
|
[Y.WHITESPACE_CHARACTER_TOKEN]: ka,
|
|
41075
41080
|
[Y.COMMENT_TOKEN]: on,
|
|
@@ -41078,7 +41083,7 @@ const Y = Z1, iJ = dX, h2 = fX, aJ = xX, oJ = HX, p2 = ji, sJ = Tt, lJ = qX, m2
|
|
|
41078
41083
|
[Y.END_TAG_TOKEN]: _0,
|
|
41079
41084
|
[Y.EOF_TOKEN]: vi
|
|
41080
41085
|
},
|
|
41081
|
-
[
|
|
41086
|
+
[v1]: {
|
|
41082
41087
|
[Y.CHARACTER_TOKEN]: Fn,
|
|
41083
41088
|
[Y.NULL_CHARACTER_TOKEN]: Fn,
|
|
41084
41089
|
[Y.WHITESPACE_CHARACTER_TOKEN]: Fn,
|
|
@@ -41108,8 +41113,8 @@ const Y = Z1, iJ = dX, h2 = fX, aJ = xX, oJ = HX, p2 = ji, sJ = Tt, lJ = qX, m2
|
|
|
41108
41113
|
[Y.END_TAG_TOKEN]: qs,
|
|
41109
41114
|
[Y.EOF_TOKEN]: qs
|
|
41110
41115
|
},
|
|
41111
|
-
[
|
|
41112
|
-
[Y.CHARACTER_TOKEN]:
|
|
41116
|
+
[td]: {
|
|
41117
|
+
[Y.CHARACTER_TOKEN]: mc,
|
|
41113
41118
|
[Y.NULL_CHARACTER_TOKEN]: mt,
|
|
41114
41119
|
[Y.WHITESPACE_CHARACTER_TOKEN]: ka,
|
|
41115
41120
|
[Y.COMMENT_TOKEN]: on,
|
|
@@ -41119,8 +41124,8 @@ const Y = Z1, iJ = dX, h2 = fX, aJ = xX, oJ = HX, p2 = ji, sJ = Tt, lJ = qX, m2
|
|
|
41119
41124
|
[Y.EOF_TOKEN]: vi
|
|
41120
41125
|
},
|
|
41121
41126
|
[uu]: {
|
|
41122
|
-
[Y.CHARACTER_TOKEN]:
|
|
41123
|
-
[Y.NULL_CHARACTER_TOKEN]:
|
|
41127
|
+
[Y.CHARACTER_TOKEN]: E1,
|
|
41128
|
+
[Y.NULL_CHARACTER_TOKEN]: E1,
|
|
41124
41129
|
[Y.WHITESPACE_CHARACTER_TOKEN]: Fn,
|
|
41125
41130
|
[Y.COMMENT_TOKEN]: on,
|
|
41126
41131
|
[Y.DOCTYPE_TOKEN]: mt,
|
|
@@ -41148,8 +41153,8 @@ const Y = Z1, iJ = dX, h2 = fX, aJ = xX, oJ = HX, p2 = ji, sJ = Tt, lJ = qX, m2
|
|
|
41148
41153
|
[Y.END_TAG_TOKEN]: See,
|
|
41149
41154
|
[Y.EOF_TOKEN]: vi
|
|
41150
41155
|
},
|
|
41151
|
-
[
|
|
41152
|
-
[Y.CHARACTER_TOKEN]:
|
|
41156
|
+
[nd]: {
|
|
41157
|
+
[Y.CHARACTER_TOKEN]: mc,
|
|
41153
41158
|
[Y.NULL_CHARACTER_TOKEN]: mt,
|
|
41154
41159
|
[Y.WHITESPACE_CHARACTER_TOKEN]: ka,
|
|
41155
41160
|
[Y.COMMENT_TOKEN]: on,
|
|
@@ -41178,8 +41183,8 @@ const Y = Z1, iJ = dX, h2 = fX, aJ = xX, oJ = HX, p2 = ji, sJ = Tt, lJ = qX, m2
|
|
|
41178
41183
|
[Y.END_TAG_TOKEN]: Iee,
|
|
41179
41184
|
[Y.EOF_TOKEN]: vi
|
|
41180
41185
|
},
|
|
41181
|
-
[
|
|
41182
|
-
[Y.CHARACTER_TOKEN]:
|
|
41186
|
+
[y1]: {
|
|
41187
|
+
[Y.CHARACTER_TOKEN]: mc,
|
|
41183
41188
|
[Y.NULL_CHARACTER_TOKEN]: mt,
|
|
41184
41189
|
[Y.WHITESPACE_CHARACTER_TOKEN]: ka,
|
|
41185
41190
|
[Y.COMMENT_TOKEN]: on,
|
|
@@ -41189,8 +41194,8 @@ const Y = Z1, iJ = dX, h2 = fX, aJ = xX, oJ = HX, p2 = ji, sJ = Tt, lJ = qX, m2
|
|
|
41189
41194
|
[Y.EOF_TOKEN]: PC
|
|
41190
41195
|
},
|
|
41191
41196
|
[T0]: {
|
|
41192
|
-
[Y.CHARACTER_TOKEN]:
|
|
41193
|
-
[Y.NULL_CHARACTER_TOKEN]:
|
|
41197
|
+
[Y.CHARACTER_TOKEN]: b1,
|
|
41198
|
+
[Y.NULL_CHARACTER_TOKEN]: b1,
|
|
41194
41199
|
[Y.WHITESPACE_CHARACTER_TOKEN]: ka,
|
|
41195
41200
|
[Y.COMMENT_TOKEN]: CJ,
|
|
41196
41201
|
[Y.DOCTYPE_TOKEN]: mt,
|
|
@@ -41198,7 +41203,7 @@ const Y = Z1, iJ = dX, h2 = fX, aJ = xX, oJ = HX, p2 = ji, sJ = Tt, lJ = qX, m2
|
|
|
41198
41203
|
[Y.END_TAG_TOKEN]: Bee,
|
|
41199
41204
|
[Y.EOF_TOKEN]: Us
|
|
41200
41205
|
},
|
|
41201
|
-
[
|
|
41206
|
+
[rd]: {
|
|
41202
41207
|
[Y.CHARACTER_TOKEN]: mt,
|
|
41203
41208
|
[Y.NULL_CHARACTER_TOKEN]: mt,
|
|
41204
41209
|
[Y.WHITESPACE_CHARACTER_TOKEN]: Fn,
|
|
@@ -41219,13 +41224,13 @@ const Y = Z1, iJ = dX, h2 = fX, aJ = xX, oJ = HX, p2 = ji, sJ = Tt, lJ = qX, m2
|
|
|
41219
41224
|
[Y.EOF_TOKEN]: Us
|
|
41220
41225
|
},
|
|
41221
41226
|
[DC]: {
|
|
41222
|
-
[Y.CHARACTER_TOKEN]:
|
|
41223
|
-
[Y.NULL_CHARACTER_TOKEN]:
|
|
41227
|
+
[Y.CHARACTER_TOKEN]: qc,
|
|
41228
|
+
[Y.NULL_CHARACTER_TOKEN]: qc,
|
|
41224
41229
|
[Y.WHITESPACE_CHARACTER_TOKEN]: ka,
|
|
41225
41230
|
[Y.COMMENT_TOKEN]: v2,
|
|
41226
41231
|
[Y.DOCTYPE_TOKEN]: mt,
|
|
41227
41232
|
[Y.START_TAG_TOKEN]: Hee,
|
|
41228
|
-
[Y.END_TAG_TOKEN]:
|
|
41233
|
+
[Y.END_TAG_TOKEN]: qc,
|
|
41229
41234
|
[Y.EOF_TOKEN]: Us
|
|
41230
41235
|
},
|
|
41231
41236
|
[OC]: {
|
|
@@ -41251,7 +41256,7 @@ class mJ {
|
|
|
41251
41256
|
parseFragment(t, n) {
|
|
41252
41257
|
n || (n = this.treeAdapter.createElement(x.TEMPLATE, Ne.HTML, []));
|
|
41253
41258
|
const r = this.treeAdapter.createElement("documentmock", Ne.HTML, []);
|
|
41254
|
-
this._bootstrap(r, n), this.treeAdapter.getTagName(n) === x.TEMPLATE && this._pushTmplInsertionMode(
|
|
41259
|
+
this._bootstrap(r, n), this.treeAdapter.getTagName(n) === x.TEMPLATE && this._pushTmplInsertionMode(y1), this._initTokenizerForFragmentParsing(), this._insertFakeRootElement(), this._resetInsertionMode(), this._findFormInFragmentContext(), this.tokenizer.write(t, !0), this._runParsingLoop(null);
|
|
41255
41260
|
const i = this.treeAdapter.getFirstChild(r), a = this.treeAdapter.createDocumentFragment();
|
|
41256
41261
|
return this._adoptNodes(i, a), a;
|
|
41257
41262
|
}
|
|
@@ -41293,10 +41298,10 @@ class mJ {
|
|
|
41293
41298
|
this.tokenizer.allowCDATA = t && t !== this.document && this.treeAdapter.getNamespaceURI(t) !== Ne.HTML && !this._isIntegrationPoint(t);
|
|
41294
41299
|
}
|
|
41295
41300
|
_switchToTextParsing(t, n) {
|
|
41296
|
-
this._insertElement(t, Ne.HTML), this.tokenizer.state = n, this.originalInsertionMode = this.insertionMode, this.insertionMode =
|
|
41301
|
+
this._insertElement(t, Ne.HTML), this.tokenizer.state = n, this.originalInsertionMode = this.insertionMode, this.insertionMode = v1;
|
|
41297
41302
|
}
|
|
41298
41303
|
switchToPlaintextParsing() {
|
|
41299
|
-
this.insertionMode =
|
|
41304
|
+
this.insertionMode = v1, this.originalInsertionMode = ti, this.tokenizer.state = Y.MODE.PLAINTEXT;
|
|
41300
41305
|
}
|
|
41301
41306
|
//Fragment parsing
|
|
41302
41307
|
_getAdjustedCurrentElement() {
|
|
@@ -41427,7 +41432,7 @@ class mJ {
|
|
|
41427
41432
|
this.insertionMode = a;
|
|
41428
41433
|
break;
|
|
41429
41434
|
} else if (!n && (i === x.TD || i === x.TH)) {
|
|
41430
|
-
this.insertionMode =
|
|
41435
|
+
this.insertionMode = nd;
|
|
41431
41436
|
break;
|
|
41432
41437
|
} else if (!n && i === x.HEAD) {
|
|
41433
41438
|
this.insertionMode = hs;
|
|
@@ -41439,7 +41444,7 @@ class mJ {
|
|
|
41439
41444
|
this.insertionMode = this.currentTmplInsertionMode;
|
|
41440
41445
|
break;
|
|
41441
41446
|
} else if (i === x.HTML) {
|
|
41442
|
-
this.insertionMode = this.headElement ?
|
|
41447
|
+
this.insertionMode = this.headElement ? ed : J1;
|
|
41443
41448
|
break;
|
|
41444
41449
|
} else if (n) {
|
|
41445
41450
|
this.insertionMode = ti;
|
|
@@ -41558,7 +41563,7 @@ function Ji(e, t) {
|
|
|
41558
41563
|
}
|
|
41559
41564
|
function mt() {
|
|
41560
41565
|
}
|
|
41561
|
-
function
|
|
41566
|
+
function pc(e) {
|
|
41562
41567
|
e._err(En.misplacedDoctype);
|
|
41563
41568
|
}
|
|
41564
41569
|
function on(e, t) {
|
|
@@ -41585,14 +41590,14 @@ function zs(e, t) {
|
|
|
41585
41590
|
e._err(En.missingDoctype, { beforeToken: !0 }), e.treeAdapter.setDocumentMode(e.document, to.DOCUMENT_MODE.QUIRKS), e.insertionMode = y0, e._processToken(t);
|
|
41586
41591
|
}
|
|
41587
41592
|
function wJ(e, t) {
|
|
41588
|
-
t.tagName === x.HTML ? (e._insertElement(t, Ne.HTML), e.insertionMode =
|
|
41593
|
+
t.tagName === x.HTML ? (e._insertElement(t, Ne.HTML), e.insertionMode = J1) : ml(e, t);
|
|
41589
41594
|
}
|
|
41590
41595
|
function AJ(e, t) {
|
|
41591
41596
|
const n = t.tagName;
|
|
41592
41597
|
(n === x.HTML || n === x.HEAD || n === x.BODY || n === x.BR) && ml(e, t);
|
|
41593
41598
|
}
|
|
41594
41599
|
function ml(e, t) {
|
|
41595
|
-
e._insertFakeRootElement(), e.insertionMode =
|
|
41600
|
+
e._insertFakeRootElement(), e.insertionMode = J1, e._processToken(t);
|
|
41596
41601
|
}
|
|
41597
41602
|
function kJ(e, t) {
|
|
41598
41603
|
const n = t.tagName;
|
|
@@ -41607,14 +41612,14 @@ function gl(e, t) {
|
|
|
41607
41612
|
}
|
|
41608
41613
|
function dn(e, t) {
|
|
41609
41614
|
const n = t.tagName;
|
|
41610
|
-
n === x.HTML ? Kn(e, t) : n === x.BASE || n === x.BASEFONT || n === x.BGSOUND || n === x.LINK || n === x.META ? (e._appendElement(t, Ne.HTML), t.ackSelfClosing = !0) : n === x.TITLE ? e._switchToTextParsing(t, Y.MODE.RCDATA) : n === x.NOSCRIPT ? e.options.scriptingEnabled ? e._switchToTextParsing(t, Y.MODE.RAWTEXT) : (e._insertElement(t, Ne.HTML), e.insertionMode = AC) : n === x.NOFRAMES || n === x.STYLE ? e._switchToTextParsing(t, Y.MODE.RAWTEXT) : n === x.SCRIPT ? e._switchToTextParsing(t, Y.MODE.SCRIPT_DATA) : n === x.TEMPLATE ? (e._insertTemplate(t, Ne.HTML), e.activeFormattingElements.insertMarker(), e.framesetOk = !1, e.insertionMode =
|
|
41615
|
+
n === x.HTML ? Kn(e, t) : n === x.BASE || n === x.BASEFONT || n === x.BGSOUND || n === x.LINK || n === x.META ? (e._appendElement(t, Ne.HTML), t.ackSelfClosing = !0) : n === x.TITLE ? e._switchToTextParsing(t, Y.MODE.RCDATA) : n === x.NOSCRIPT ? e.options.scriptingEnabled ? e._switchToTextParsing(t, Y.MODE.RAWTEXT) : (e._insertElement(t, Ne.HTML), e.insertionMode = AC) : n === x.NOFRAMES || n === x.STYLE ? e._switchToTextParsing(t, Y.MODE.RAWTEXT) : n === x.SCRIPT ? e._switchToTextParsing(t, Y.MODE.SCRIPT_DATA) : n === x.TEMPLATE ? (e._insertTemplate(t, Ne.HTML), e.activeFormattingElements.insertMarker(), e.framesetOk = !1, e.insertionMode = y1, e._pushTmplInsertionMode(y1)) : n === x.HEAD ? e._err(En.misplacedStartTagForHeadElement) : vl(e, t);
|
|
41611
41616
|
}
|
|
41612
41617
|
function no(e, t) {
|
|
41613
41618
|
const n = t.tagName;
|
|
41614
|
-
n === x.HEAD ? (e.openElements.pop(), e.insertionMode =
|
|
41619
|
+
n === x.HEAD ? (e.openElements.pop(), e.insertionMode = ed) : n === x.BODY || n === x.BR || n === x.HTML ? vl(e, t) : n === x.TEMPLATE && e.openElements.tmplCount > 0 ? (e.openElements.generateImpliedEndTagsThoroughly(), e.openElements.currentTagName !== x.TEMPLATE && e._err(En.closingOfElementWithOpenChildElements), e.openElements.popUntilTagNamePopped(x.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e._popTmplInsertionMode(), e._resetInsertionMode()) : e._err(En.endTagWithoutMatchingOpenElement);
|
|
41615
41620
|
}
|
|
41616
41621
|
function vl(e, t) {
|
|
41617
|
-
e.openElements.pop(), e.insertionMode =
|
|
41622
|
+
e.openElements.pop(), e.insertionMode = ed, e._processToken(t);
|
|
41618
41623
|
}
|
|
41619
41624
|
function DJ(e, t) {
|
|
41620
41625
|
const n = t.tagName;
|
|
@@ -41630,7 +41635,7 @@ function yl(e, t) {
|
|
|
41630
41635
|
}
|
|
41631
41636
|
function NJ(e, t) {
|
|
41632
41637
|
const n = t.tagName;
|
|
41633
|
-
n === x.HTML ? Kn(e, t) : n === x.BODY ? (e._insertElement(t, Ne.HTML), e.framesetOk = !1, e.insertionMode = ti) : n === x.FRAMESET ? (e._insertElement(t, Ne.HTML), e.insertionMode =
|
|
41638
|
+
n === x.HTML ? Kn(e, t) : n === x.BODY ? (e._insertElement(t, Ne.HTML), e.framesetOk = !1, e.insertionMode = ti) : n === x.FRAMESET ? (e._insertElement(t, Ne.HTML), e.insertionMode = rd) : n === x.BASE || n === x.BASEFONT || n === x.BGSOUND || n === x.LINK || n === x.META || n === x.NOFRAMES || n === x.SCRIPT || n === x.STYLE || n === x.TEMPLATE || n === x.TITLE ? (e._err(En.abandonedHeadElementChild), e.openElements.push(e.headElement), dn(e, t), e.openElements.remove(e.headElement)) : n === x.HEAD ? e._err(En.misplacedStartTagForHeadElement) : El(e, t);
|
|
41634
41639
|
}
|
|
41635
41640
|
function IJ(e, t) {
|
|
41636
41641
|
const n = t.tagName;
|
|
@@ -41642,7 +41647,7 @@ function El(e, t) {
|
|
|
41642
41647
|
function ka(e, t) {
|
|
41643
41648
|
e._reconstructActiveFormattingElements(), e._insertCharacters(t);
|
|
41644
41649
|
}
|
|
41645
|
-
function
|
|
41650
|
+
function mc(e, t) {
|
|
41646
41651
|
e._reconstructActiveFormattingElements(), e._insertCharacters(t), e.framesetOk = !1;
|
|
41647
41652
|
}
|
|
41648
41653
|
function PJ(e, t) {
|
|
@@ -41654,7 +41659,7 @@ function RJ(e, t) {
|
|
|
41654
41659
|
}
|
|
41655
41660
|
function FJ(e, t) {
|
|
41656
41661
|
const n = e.openElements.tryPeekProperlyNestedBodyElement();
|
|
41657
|
-
e.framesetOk && n && (e.treeAdapter.detachNode(n), e.openElements.popAllUpToHtmlElement(), e._insertElement(t, Ne.HTML), e.insertionMode =
|
|
41662
|
+
e.framesetOk && n && (e.treeAdapter.detachNode(n), e.openElements.popAllUpToHtmlElement(), e._insertElement(t, Ne.HTML), e.insertionMode = rd);
|
|
41658
41663
|
}
|
|
41659
41664
|
function gi(e, t) {
|
|
41660
41665
|
e.openElements.hasInButtonScope(x.P) && e._closePElement(), e._insertElement(t, Ne.HTML);
|
|
@@ -41726,7 +41731,7 @@ function VJ(e, t) {
|
|
|
41726
41731
|
t.tagName = x.IMG, ko(e, t);
|
|
41727
41732
|
}
|
|
41728
41733
|
function KJ(e, t) {
|
|
41729
|
-
e._insertElement(t, Ne.HTML), e.skipNextNewLine = !0, e.tokenizer.state = Y.MODE.RCDATA, e.originalInsertionMode = e.insertionMode, e.framesetOk = !1, e.insertionMode =
|
|
41734
|
+
e._insertElement(t, Ne.HTML), e.skipNextNewLine = !0, e.tokenizer.state = Y.MODE.RCDATA, e.originalInsertionMode = e.insertionMode, e.framesetOk = !1, e.insertionMode = v1;
|
|
41730
41735
|
}
|
|
41731
41736
|
function GJ(e, t) {
|
|
41732
41737
|
e.openElements.hasInButtonScope(x.P) && e._closePElement(), e._reconstructActiveFormattingElements(), e.framesetOk = !1, e._switchToTextParsing(t, Y.MODE.RAWTEXT);
|
|
@@ -41738,7 +41743,7 @@ function T2(e, t) {
|
|
|
41738
41743
|
e._switchToTextParsing(t, Y.MODE.RAWTEXT);
|
|
41739
41744
|
}
|
|
41740
41745
|
function ZJ(e, t) {
|
|
41741
|
-
e._reconstructActiveFormattingElements(), e._insertElement(t, Ne.HTML), e.framesetOk = !1, e.insertionMode === Tn || e.insertionMode ===
|
|
41746
|
+
e._reconstructActiveFormattingElements(), e._insertElement(t, Ne.HTML), e.framesetOk = !1, e.insertionMode === Tn || e.insertionMode === td || e.insertionMode === yr || e.insertionMode === Pi || e.insertionMode === nd ? e.insertionMode = b0 : e.insertionMode = E0;
|
|
41742
41747
|
}
|
|
41743
41748
|
function _2(e, t) {
|
|
41744
41749
|
e.openElements.currentTagName === x.OPTION && e.openElements.pop(), e._reconstructActiveFormattingElements(), e._insertElement(t, Ne.HTML);
|
|
@@ -41892,7 +41897,7 @@ function yi(e, t) {
|
|
|
41892
41897
|
n === x.TABLE || n === x.TBODY || n === x.TFOOT || n === x.THEAD || n === x.TR ? (e.pendingCharacterTokens = [], e.hasNonWhitespacePendingCharacterToken = !1, e.originalInsertionMode = e.insertionMode, e.insertionMode = kC, e._processToken(t)) : ur(e, t);
|
|
41893
41898
|
}
|
|
41894
41899
|
function dee(e, t) {
|
|
41895
|
-
e.openElements.clearBackToTableContext(), e.activeFormattingElements.insertMarker(), e._insertElement(t, Ne.HTML), e.insertionMode =
|
|
41900
|
+
e.openElements.clearBackToTableContext(), e.activeFormattingElements.insertMarker(), e._insertElement(t, Ne.HTML), e.insertionMode = td;
|
|
41896
41901
|
}
|
|
41897
41902
|
function fee(e, t) {
|
|
41898
41903
|
e.openElements.clearBackToTableContext(), e._insertElement(t, Ne.HTML), e.insertionMode = uu;
|
|
@@ -41978,13 +41983,13 @@ function _ee(e, t) {
|
|
|
41978
41983
|
}
|
|
41979
41984
|
function Cee(e, t) {
|
|
41980
41985
|
const n = t.tagName;
|
|
41981
|
-
n === x.HTML ? Kn(e, t) : n === x.COL ? (e._appendElement(t, Ne.HTML), t.ackSelfClosing = !0) : n === x.TEMPLATE ? dn(e, t) :
|
|
41986
|
+
n === x.HTML ? Kn(e, t) : n === x.COL ? (e._appendElement(t, Ne.HTML), t.ackSelfClosing = !0) : n === x.TEMPLATE ? dn(e, t) : E1(e, t);
|
|
41982
41987
|
}
|
|
41983
41988
|
function xee(e, t) {
|
|
41984
41989
|
const n = t.tagName;
|
|
41985
|
-
n === x.COLGROUP ? e.openElements.currentTagName === x.COLGROUP && (e.openElements.pop(), e.insertionMode = Tn) : n === x.TEMPLATE ? no(e, t) : n !== x.COL &&
|
|
41990
|
+
n === x.COLGROUP ? e.openElements.currentTagName === x.COLGROUP && (e.openElements.pop(), e.insertionMode = Tn) : n === x.TEMPLATE ? no(e, t) : n !== x.COL && E1(e, t);
|
|
41986
41991
|
}
|
|
41987
|
-
function
|
|
41992
|
+
function E1(e, t) {
|
|
41988
41993
|
e.openElements.currentTagName === x.COLGROUP && (e.openElements.pop(), e.insertionMode = Tn, e._processToken(t));
|
|
41989
41994
|
}
|
|
41990
41995
|
function wee(e, t) {
|
|
@@ -41997,7 +42002,7 @@ function Aee(e, t) {
|
|
|
41997
42002
|
}
|
|
41998
42003
|
function kee(e, t) {
|
|
41999
42004
|
const n = t.tagName;
|
|
42000
|
-
n === x.TH || n === x.TD ? (e.openElements.clearBackToTableRowContext(), e._insertElement(t, Ne.HTML), e.insertionMode =
|
|
42005
|
+
n === x.TH || n === x.TD ? (e.openElements.clearBackToTableRowContext(), e._insertElement(t, Ne.HTML), e.insertionMode = nd, e.activeFormattingElements.insertMarker()) : n === x.CAPTION || n === x.COL || n === x.COLGROUP || n === x.TBODY || n === x.TFOOT || n === x.THEAD || n === x.TR ? e.openElements.hasInTableScope(x.TR) && (e.openElements.clearBackToTableRowContext(), e.openElements.pop(), e.insertionMode = yr, e._processToken(t)) : C0(e, t);
|
|
42001
42006
|
}
|
|
42002
42007
|
function See(e, t) {
|
|
42003
42008
|
const n = t.tagName;
|
|
@@ -42047,12 +42052,12 @@ function PC(e, t) {
|
|
|
42047
42052
|
e.openElements.tmplCount > 0 ? (e.openElements.popUntilTagNamePopped(x.TEMPLATE), e.activeFormattingElements.clearToLastMarker(), e._popTmplInsertionMode(), e._resetInsertionMode(), e._processToken(t)) : e.stopped = !0;
|
|
42048
42053
|
}
|
|
42049
42054
|
function Fee(e, t) {
|
|
42050
|
-
t.tagName === x.HTML ? Kn(e, t) :
|
|
42055
|
+
t.tagName === x.HTML ? Kn(e, t) : b1(e, t);
|
|
42051
42056
|
}
|
|
42052
42057
|
function Bee(e, t) {
|
|
42053
|
-
t.tagName === x.HTML ? e.fragmentContext || (e.insertionMode = DC) :
|
|
42058
|
+
t.tagName === x.HTML ? e.fragmentContext || (e.insertionMode = DC) : b1(e, t);
|
|
42054
42059
|
}
|
|
42055
|
-
function
|
|
42060
|
+
function b1(e, t) {
|
|
42056
42061
|
e.insertionMode = ti, e._processToken(t);
|
|
42057
42062
|
}
|
|
42058
42063
|
function Lee(e, t) {
|
|
@@ -42070,9 +42075,9 @@ function jee(e, t) {
|
|
|
42070
42075
|
t.tagName === x.HTML && (e.insertionMode = OC);
|
|
42071
42076
|
}
|
|
42072
42077
|
function Hee(e, t) {
|
|
42073
|
-
t.tagName === x.HTML ? Kn(e, t) :
|
|
42078
|
+
t.tagName === x.HTML ? Kn(e, t) : qc(e, t);
|
|
42074
42079
|
}
|
|
42075
|
-
function
|
|
42080
|
+
function qc(e, t) {
|
|
42076
42081
|
e.insertionMode = ti, e._processToken(t);
|
|
42077
42082
|
}
|
|
42078
42083
|
function Uee(e, t) {
|
|
@@ -42142,7 +42147,7 @@ const BC = (
|
|
|
42142
42147
|
if (typeof e == "object")
|
|
42143
42148
|
return Array.isArray(e) ? Yee(e) : Zee(e);
|
|
42144
42149
|
if (typeof e == "function")
|
|
42145
|
-
return
|
|
42150
|
+
return id(e);
|
|
42146
42151
|
throw new Error("Expected function, string, or object as test");
|
|
42147
42152
|
}
|
|
42148
42153
|
);
|
|
@@ -42151,7 +42156,7 @@ function Yee(e) {
|
|
|
42151
42156
|
let n = -1;
|
|
42152
42157
|
for (; ++n < e.length; )
|
|
42153
42158
|
t[n] = BC(e[n]);
|
|
42154
|
-
return
|
|
42159
|
+
return id(r);
|
|
42155
42160
|
function r(...i) {
|
|
42156
42161
|
let a = -1;
|
|
42157
42162
|
for (; ++a < t.length; )
|
|
@@ -42161,7 +42166,7 @@ function Yee(e) {
|
|
|
42161
42166
|
}
|
|
42162
42167
|
}
|
|
42163
42168
|
function Zee(e) {
|
|
42164
|
-
return
|
|
42169
|
+
return id(t);
|
|
42165
42170
|
function t(n) {
|
|
42166
42171
|
let r;
|
|
42167
42172
|
for (r in e)
|
|
@@ -42171,12 +42176,12 @@ function Zee(e) {
|
|
|
42171
42176
|
}
|
|
42172
42177
|
}
|
|
42173
42178
|
function Qee(e) {
|
|
42174
|
-
return
|
|
42179
|
+
return id(t);
|
|
42175
42180
|
function t(n) {
|
|
42176
42181
|
return n && n.type === e;
|
|
42177
42182
|
}
|
|
42178
42183
|
}
|
|
42179
|
-
function
|
|
42184
|
+
function id(e) {
|
|
42180
42185
|
return t;
|
|
42181
42186
|
function t(n, ...r) {
|
|
42182
42187
|
return !!(n && typeof n == "object" && "type" in n && e.call(this, n, ...r));
|
|
@@ -43392,7 +43397,7 @@ function cte(e) {
|
|
|
43392
43397
|
function dte(e) {
|
|
43393
43398
|
return e.charAt(1).toUpperCase();
|
|
43394
43399
|
}
|
|
43395
|
-
const
|
|
43400
|
+
const ad = LC([jC, $C, zC, qC, ote], "html"), du = LC([jC, $C, zC, qC, ste], "svg"), S2 = /[#.]/g;
|
|
43396
43401
|
function fte(e, t) {
|
|
43397
43402
|
const n = e || "", r = {};
|
|
43398
43403
|
let i = 0, a, o;
|
|
@@ -43526,7 +43531,7 @@ function Ete(e) {
|
|
|
43526
43531
|
t[e[n].toLowerCase()] = e[n];
|
|
43527
43532
|
return t;
|
|
43528
43533
|
}
|
|
43529
|
-
const bte = WC(
|
|
43534
|
+
const bte = WC(ad, "div"), Tte = [
|
|
43530
43535
|
"altGlyph",
|
|
43531
43536
|
"altGlyphDef",
|
|
43532
43537
|
"altGlyphItem",
|
|
@@ -43608,7 +43613,7 @@ function wte(e, t) {
|
|
|
43608
43613
|
let r, i;
|
|
43609
43614
|
return Ste(n) ? (i = n, r = {}) : (i = n.file || void 0, r = n), k0(
|
|
43610
43615
|
{
|
|
43611
|
-
schema: r.space === "svg" ? du :
|
|
43616
|
+
schema: r.space === "svg" ? du : ad,
|
|
43612
43617
|
file: i,
|
|
43613
43618
|
verbose: r.verbose,
|
|
43614
43619
|
location: !1
|
|
@@ -43624,7 +43629,7 @@ function k0(e, t) {
|
|
|
43624
43629
|
/** @type {P5Comment} */
|
|
43625
43630
|
t
|
|
43626
43631
|
);
|
|
43627
|
-
return n = { type: "comment", value: r.data },
|
|
43632
|
+
return n = { type: "comment", value: r.data }, Wc(e, r, n), n;
|
|
43628
43633
|
}
|
|
43629
43634
|
case "#document":
|
|
43630
43635
|
case "#document-fragment": {
|
|
@@ -43647,14 +43652,14 @@ function k0(e, t) {
|
|
|
43647
43652
|
/** @type {P5DocumentType} */
|
|
43648
43653
|
t
|
|
43649
43654
|
);
|
|
43650
|
-
return n = { type: "doctype" },
|
|
43655
|
+
return n = { type: "doctype" }, Wc(e, r, n), n;
|
|
43651
43656
|
}
|
|
43652
43657
|
case "#text": {
|
|
43653
43658
|
const r = (
|
|
43654
43659
|
/** @type {P5Text} */
|
|
43655
43660
|
t
|
|
43656
43661
|
);
|
|
43657
|
-
return n = { type: "text", value: r.value },
|
|
43662
|
+
return n = { type: "text", value: r.value }, Wc(e, r, n), n;
|
|
43658
43663
|
}
|
|
43659
43664
|
default:
|
|
43660
43665
|
return n = Ate(
|
|
@@ -43673,7 +43678,7 @@ function KC(e, t) {
|
|
|
43673
43678
|
}
|
|
43674
43679
|
function Ate(e, t) {
|
|
43675
43680
|
const n = e.schema;
|
|
43676
|
-
e.schema = t.namespaceURI === Vl.svg ? du :
|
|
43681
|
+
e.schema = t.namespaceURI === Vl.svg ? du : ad;
|
|
43677
43682
|
let r = -1;
|
|
43678
43683
|
const i = {};
|
|
43679
43684
|
for (; ++r < t.attrs.length; ) {
|
|
@@ -43681,7 +43686,7 @@ function Ate(e, t) {
|
|
|
43681
43686
|
VC.call(xte, l) || (i[l] = s.value);
|
|
43682
43687
|
}
|
|
43683
43688
|
const o = (e.schema.space === "svg" ? _te : bte)(t.tagName, i, KC(e, t.childNodes));
|
|
43684
|
-
if (
|
|
43689
|
+
if (Wc(e, t, o), o.tagName === "template") {
|
|
43685
43690
|
const s = (
|
|
43686
43691
|
/** @type {P5Template} */
|
|
43687
43692
|
t
|
|
@@ -43690,7 +43695,7 @@ function Ate(e, t) {
|
|
|
43690
43695
|
}
|
|
43691
43696
|
return e.schema = n, o;
|
|
43692
43697
|
}
|
|
43693
|
-
function
|
|
43698
|
+
function Wc(e, t, n) {
|
|
43694
43699
|
if ("sourceCodeLocation" in t && t.sourceCodeLocation && e.file) {
|
|
43695
43700
|
const r = kte(e, n, t.sourceCodeLocation);
|
|
43696
43701
|
r && (e.location = !0, n.position = r);
|
|
@@ -43756,7 +43761,7 @@ function GC(e, t) {
|
|
|
43756
43761
|
const Dte = {}.hasOwnProperty, YC = GC("type", { handlers: { root: Nte, element: Bte, text: Rte, comment: Fte, doctype: Pte } });
|
|
43757
43762
|
function Ote(e, t) {
|
|
43758
43763
|
const n = t && typeof t == "object" ? t.space : t;
|
|
43759
|
-
return YC(e, n === "svg" ? du :
|
|
43764
|
+
return YC(e, n === "svg" ? du : ad);
|
|
43760
43765
|
}
|
|
43761
43766
|
function Nte(e, t) {
|
|
43762
43767
|
const n = {
|
|
@@ -44079,7 +44084,7 @@ function QC(e = {}) {
|
|
|
44079
44084
|
ZC(t, n, e)
|
|
44080
44085
|
);
|
|
44081
44086
|
}
|
|
44082
|
-
function
|
|
44087
|
+
function gc(e) {
|
|
44083
44088
|
const t = new Date(e);
|
|
44084
44089
|
if (!Number.isNaN(t.valueOf()))
|
|
44085
44090
|
return t;
|
|
@@ -44105,14 +44110,14 @@ function wp() {
|
|
|
44105
44110
|
return e;
|
|
44106
44111
|
}, wp.apply(this, arguments);
|
|
44107
44112
|
}
|
|
44108
|
-
const tl = 60, nl = tl * 60, zo = nl * 24,
|
|
44113
|
+
const tl = 60, nl = tl * 60, zo = nl * 24, vc = zo * 7, F2 = zo * 30, B2 = zo * 365, Jte = () => Date.now();
|
|
44109
44114
|
function XC({
|
|
44110
44115
|
date: e,
|
|
44111
44116
|
formatter: t = R2,
|
|
44112
44117
|
component: n = "time",
|
|
44113
44118
|
live: r = !0,
|
|
44114
44119
|
minPeriod: i = 0,
|
|
44115
|
-
maxPeriod: a =
|
|
44120
|
+
maxPeriod: a = vc,
|
|
44116
44121
|
title: o,
|
|
44117
44122
|
now: s = Jte,
|
|
44118
44123
|
...l
|
|
@@ -44122,10 +44127,10 @@ function XC({
|
|
|
44122
44127
|
if (!r)
|
|
44123
44128
|
return;
|
|
44124
44129
|
const C = (() => {
|
|
44125
|
-
const w =
|
|
44130
|
+
const w = gc(e).valueOf();
|
|
44126
44131
|
if (!w)
|
|
44127
44132
|
return console.warn("[react-timeago] Invalid Date provided"), 0;
|
|
44128
|
-
const k = Math.round(Math.abs(u - w) / 1e3), I = k < tl ? 1e3 : k < nl ? 1e3 * tl : k < zo ? 1e3 * nl : 1e3 *
|
|
44133
|
+
const k = Math.round(Math.abs(u - w) / 1e3), I = k < tl ? 1e3 : k < nl ? 1e3 * tl : k < zo ? 1e3 * nl : 1e3 * vc, R = Math.min(Math.max(I, i * 1e3), a * 1e3);
|
|
44129
44134
|
return R ? setTimeout(() => {
|
|
44130
44135
|
c(s());
|
|
44131
44136
|
}, R) : 0;
|
|
@@ -44134,12 +44139,12 @@ function XC({
|
|
|
44134
44139
|
C && clearTimeout(C);
|
|
44135
44140
|
};
|
|
44136
44141
|
}, [e, r, a, i, s, u]);
|
|
44137
|
-
const d = n, f =
|
|
44142
|
+
const d = n, f = gc(e).valueOf();
|
|
44138
44143
|
if (!f)
|
|
44139
44144
|
return null;
|
|
44140
|
-
const p = Math.round(Math.abs(u - f) / 1e3), g = f < u ? "ago" : "from now", [m, y] = p < tl ? [Math.round(p), "second"] : p < nl ? [Math.round(p / tl), "minute"] : p < zo ? [Math.round(p / nl), "hour"] : p <
|
|
44145
|
+
const p = Math.round(Math.abs(u - f) / 1e3), g = f < u ? "ago" : "from now", [m, y] = p < tl ? [Math.round(p), "second"] : p < nl ? [Math.round(p / tl), "minute"] : p < zo ? [Math.round(p / nl), "hour"] : p < vc ? [Math.round(p / zo), "day"] : p < F2 ? [Math.round(p / vc), "week"] : p < B2 ? [Math.round(p / F2), "month"] : [Math.round(p / B2), "year"], v = typeof o > "u" ? typeof e == "string" ? e : gc(e).toISOString().substr(0, 16).replace("T", " ") : o, E = d === "time" ? {
|
|
44141
44146
|
...l,
|
|
44142
|
-
dateTime:
|
|
44147
|
+
dateTime: gc(e).toISOString()
|
|
44143
44148
|
} : l, b = R2.bind(null, m, y, g);
|
|
44144
44149
|
return /* @__PURE__ */ yn.createElement(d, wp({}, E, {
|
|
44145
44150
|
title: v
|
|
@@ -44349,7 +44354,7 @@ function Ka(e) {
|
|
|
44349
44354
|
function $n(e) {
|
|
44350
44355
|
return typeof e == "function";
|
|
44351
44356
|
}
|
|
44352
|
-
function
|
|
44357
|
+
function Vc(e) {
|
|
44353
44358
|
return Ka(e) || $n(e) ? e : null;
|
|
44354
44359
|
}
|
|
44355
44360
|
function oh(e) {
|
|
@@ -44418,17 +44423,17 @@ const cr = { list: /* @__PURE__ */ new Map(), emitQueue: /* @__PURE__ */ new Map
|
|
|
44418
44423
|
}, 0);
|
|
44419
44424
|
this.emitQueue.has(e) || this.emitQueue.set(e, []), this.emitQueue.get(e).push(n);
|
|
44420
44425
|
});
|
|
44421
|
-
} },
|
|
44426
|
+
} }, yc = (e) => {
|
|
44422
44427
|
let { theme: t, type: n, ...r } = e;
|
|
44423
44428
|
return M.createElement("svg", { viewBox: "0 0 24 24", width: "100%", height: "100%", fill: t === "colored" ? "currentColor" : "var(--toastify-icon-color-" + n + ")", ...r });
|
|
44424
44429
|
}, lh = { info: function(e) {
|
|
44425
|
-
return M.createElement(
|
|
44430
|
+
return M.createElement(yc, { ...e }, M.createElement("path", { d: "M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z" }));
|
|
44426
44431
|
}, warning: function(e) {
|
|
44427
|
-
return M.createElement(
|
|
44432
|
+
return M.createElement(yc, { ...e }, M.createElement("path", { d: "M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z" }));
|
|
44428
44433
|
}, success: function(e) {
|
|
44429
|
-
return M.createElement(
|
|
44434
|
+
return M.createElement(yc, { ...e }, M.createElement("path", { d: "M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z" }));
|
|
44430
44435
|
}, error: function(e) {
|
|
44431
|
-
return M.createElement(
|
|
44436
|
+
return M.createElement(yc, { ...e }, M.createElement("path", { d: "M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z" }));
|
|
44432
44437
|
}, spinner: function() {
|
|
44433
44438
|
return M.createElement("div", { className: "Toastify__spinner" });
|
|
44434
44439
|
} };
|
|
@@ -44454,7 +44459,7 @@ function ane(e) {
|
|
|
44454
44459
|
return;
|
|
44455
44460
|
const { toastId: E, updateId: b, data: T } = v, { props: C } = s, w = () => u(E), k = b == null;
|
|
44456
44461
|
k && s.count++;
|
|
44457
|
-
const I = { toastId: E, updateId: b, data: T, containerId: v.containerId, isLoading: v.isLoading, theme: v.theme || C.theme, icon: v.icon != null ? v.icon : C.icon, isIn: !1, key: v.key || s.toastKey++, type: v.type, closeToast: w, closeButton: v.closeButton, rtl: C.rtl, position: v.position || C.position, transition: v.transition || C.transition, className:
|
|
44462
|
+
const I = { toastId: E, updateId: b, data: T, containerId: v.containerId, isLoading: v.isLoading, theme: v.theme || C.theme, icon: v.icon != null ? v.icon : C.icon, isIn: !1, key: v.key || s.toastKey++, type: v.type, closeToast: w, closeButton: v.closeButton, rtl: C.rtl, position: v.position || C.position, transition: v.transition || C.transition, className: Vc(v.className || C.toastClassName), bodyClassName: Vc(v.bodyClassName || C.bodyClassName), style: v.style || C.toastStyle, bodyStyle: v.bodyStyle || C.bodyStyle, onClick: v.onClick || C.onClick, pauseOnHover: Ws(v.pauseOnHover) ? v.pauseOnHover : C.pauseOnHover, pauseOnFocusLoss: Ws(v.pauseOnFocusLoss) ? v.pauseOnFocusLoss : C.pauseOnFocusLoss, draggable: Ws(v.draggable) ? v.draggable : C.draggable, draggablePercent: v.draggablePercent || C.draggablePercent, draggableDirection: v.draggableDirection || C.draggableDirection, closeOnClick: Ws(v.closeOnClick) ? v.closeOnClick : C.closeOnClick, progressClassName: Vc(v.progressClassName || C.progressClassName), progressStyle: v.progressStyle || C.progressStyle, autoClose: !v.isLoading && (R = v.autoClose, B = C.autoClose, R === !1 || Tl(R) && R > 0 ? R : B), hideProgressBar: Ws(v.hideProgressBar) ? v.hideProgressBar : C.hideProgressBar, progress: v.progress, role: v.role || C.role, deleteToast() {
|
|
44458
44463
|
const D = $2(a.get(E), "removed");
|
|
44459
44464
|
a.delete(E), cr.emit(4, D);
|
|
44460
44465
|
const A = s.queue.length;
|
|
@@ -44575,7 +44580,7 @@ const sne = (e) => {
|
|
|
44575
44580
|
const { getToastToRender: n, containerRef: r, isToastActive: i } = ane(e), { className: a, style: o, rtl: s, containerId: l } = e;
|
|
44576
44581
|
function u(c) {
|
|
44577
44582
|
const d = ra("Toastify__toast-container", "Toastify__toast-container--" + c, { "Toastify__toast-container--rtl": s });
|
|
44578
|
-
return $n(a) ? a({ position: c, rtl: s, defaultClassName: d }) : ra(d,
|
|
44583
|
+
return $n(a) ? a({ position: c, rtl: s, defaultClassName: d }) : ra(d, Vc(a));
|
|
44579
44584
|
}
|
|
44580
44585
|
return me(() => {
|
|
44581
44586
|
t && (t.current = r.current);
|
|
@@ -44598,16 +44603,16 @@ function une(e) {
|
|
|
44598
44603
|
function _l(e, t) {
|
|
44599
44604
|
return So.size > 0 ? cr.emit(0, e, t) : Sp.push({ content: e, options: t }), t.toastId;
|
|
44600
44605
|
}
|
|
44601
|
-
function
|
|
44606
|
+
function T1(e, t) {
|
|
44602
44607
|
return { ...t, type: t && t.type || e, toastId: une(t) };
|
|
44603
44608
|
}
|
|
44604
|
-
function
|
|
44605
|
-
return (t, n) => _l(t,
|
|
44609
|
+
function Ec(e) {
|
|
44610
|
+
return (t, n) => _l(t, T1(e, n));
|
|
44606
44611
|
}
|
|
44607
44612
|
function zt(e, t) {
|
|
44608
|
-
return _l(e,
|
|
44613
|
+
return _l(e, T1(Ci.DEFAULT, t));
|
|
44609
44614
|
}
|
|
44610
|
-
zt.loading = (e, t) => _l(e,
|
|
44615
|
+
zt.loading = (e, t) => _l(e, T1(Ci.DEFAULT, { isLoading: !0, autoClose: !1, closeOnClick: !1, closeButton: !1, draggable: !1, ...t })), zt.promise = function(e, t, n) {
|
|
44611
44616
|
let r, { pending: i, error: a, success: o } = t;
|
|
44612
44617
|
i && (r = Ka(i) ? zt.loading(i, n) : zt.loading(i.render, { ...n, ...i }));
|
|
44613
44618
|
const s = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null, delay: 100 }, l = (c, d, f) => {
|
|
@@ -44617,7 +44622,7 @@ zt.loading = (e, t) => _l(e, b1(Ci.DEFAULT, { isLoading: !0, autoClose: !1, clos
|
|
|
44617
44622
|
return r ? zt.update(r, { ...p, ...g }) : zt(g.render, { ...p, ...g }), f;
|
|
44618
44623
|
}, u = $n(e) ? e() : e;
|
|
44619
44624
|
return u.then((c) => l("success", o, c)).catch((c) => l("error", a, c)), u;
|
|
44620
|
-
}, zt.success =
|
|
44625
|
+
}, zt.success = Ec(Ci.SUCCESS), zt.info = Ec(Ci.INFO), zt.error = Ec(Ci.ERROR), zt.warning = Ec(Ci.WARNING), zt.warn = zt.warning, zt.dark = (e, t) => _l(e, T1(Ci.DEFAULT, { theme: "dark", ...t })), zt.dismiss = (e) => cr.emit(1, e), zt.clearWaitingQueue = function(e) {
|
|
44621
44626
|
return e === void 0 && (e = {}), cr.emit(5, e);
|
|
44622
44627
|
}, zt.isActive = (e) => {
|
|
44623
44628
|
let t = !1;
|
|
@@ -44684,7 +44689,7 @@ var U2, z2, q2, nt = {
|
|
|
44684
44689
|
line-height: 20px;
|
|
44685
44690
|
color: `, `;
|
|
44686
44691
|
margin: 0px;
|
|
44687
|
-
`])), nt.primaryText),
|
|
44692
|
+
`])), nt.primaryText), od = Re(Hi)(z2 || (z2 = Fe([`
|
|
44688
44693
|
font-size: 12px;
|
|
44689
44694
|
color: `, `;
|
|
44690
44695
|
`])), nt.secondaryText), D0 = Re(Hi)(q2 || (q2 = Fe([`
|
|
@@ -45497,7 +45502,7 @@ var Ane = Re.div(V2 || (V2 = Fe([`
|
|
|
45497
45502
|
gap: 4px;
|
|
45498
45503
|
`])), function(e) {
|
|
45499
45504
|
return e.hideAvatar ? "0px" : "52px";
|
|
45500
|
-
}), Sne = Re(
|
|
45505
|
+
}), Sne = Re(od)(G2 || (G2 = Fe([""]))), Dne = Re(od)(Y2 || (Y2 = Fe([`
|
|
45501
45506
|
color: #64748b;
|
|
45502
45507
|
`]))), One = Re.div(Z2 || (Z2 = Fe([`
|
|
45503
45508
|
text-decoration: none;
|
|
@@ -45509,7 +45514,7 @@ var Ane = Re.div(V2 || (V2 = Fe([`
|
|
|
45509
45514
|
}
|
|
45510
45515
|
`])), function(e) {
|
|
45511
45516
|
return e.link ? "underline" : "none";
|
|
45512
|
-
}, nt.secondaryText), Nne = Re(
|
|
45517
|
+
}, nt.secondaryText), Nne = Re(od)(Q2 || (Q2 = Fe([`
|
|
45513
45518
|
margin-top: 8px;
|
|
45514
45519
|
display: inline-block;
|
|
45515
45520
|
padding: 1px 6px;
|
|
@@ -45540,7 +45545,7 @@ var Ane = Re.div(V2 || (V2 = Fe([`
|
|
|
45540
45545
|
visibility: `, `;
|
|
45541
45546
|
`])), nt.primary, function(e) {
|
|
45542
45547
|
return e.show ? "visible" : "hidden";
|
|
45543
|
-
}), Bne = Re(
|
|
45548
|
+
}), Bne = Re(od)(nE || (nE = Fe([""]))), Lne = Re.div(rE || (rE = Fe([`
|
|
45544
45549
|
display: flex;
|
|
45545
45550
|
flex-direction: row;
|
|
45546
45551
|
gap: 10px;
|
|
@@ -46620,7 +46625,7 @@ const Ot = {
|
|
|
46620
46625
|
props: { variant: "primary" }
|
|
46621
46626
|
}
|
|
46622
46627
|
}
|
|
46623
|
-
},
|
|
46628
|
+
}, _1 = ({
|
|
46624
46629
|
id: e,
|
|
46625
46630
|
isLoggedIn: t = !1,
|
|
46626
46631
|
isDesktopVersion: n = !1,
|
|
@@ -46723,7 +46728,7 @@ const Ot = {
|
|
|
46723
46728
|
children: [
|
|
46724
46729
|
s.formatMessage({ id: `${f}_${T}` }),
|
|
46725
46730
|
/* @__PURE__ */ h.jsx("ul", { children: l[T].order.map((w) => /* @__PURE__ */ h.jsx(
|
|
46726
|
-
|
|
46731
|
+
_1,
|
|
46727
46732
|
{
|
|
46728
46733
|
id: `${e}.${T}.${w}`,
|
|
46729
46734
|
...C
|
|
@@ -46734,7 +46739,7 @@ const Ot = {
|
|
|
46734
46739
|
},
|
|
46735
46740
|
T
|
|
46736
46741
|
) : /* @__PURE__ */ h.jsx(
|
|
46737
|
-
|
|
46742
|
+
_1,
|
|
46738
46743
|
{
|
|
46739
46744
|
id: `${e}.${T}`,
|
|
46740
46745
|
...C
|
|
@@ -46813,7 +46818,7 @@ const Fre = ({ headerIsVisible: e, locale: t }) => {
|
|
|
46813
46818
|
colors: { primary: Ks, primaryHover: Lre, error: VE, text: Ei, background: bi, border: gh, icon: Mre },
|
|
46814
46819
|
typography: { fontSizes: Ti, fontWeights: Sa },
|
|
46815
46820
|
spacing: Da,
|
|
46816
|
-
borderRadius:
|
|
46821
|
+
borderRadius: bc,
|
|
46817
46822
|
shadows: KE,
|
|
46818
46823
|
circleSizes: GE
|
|
46819
46824
|
} = Bre, $re = {
|
|
@@ -46842,7 +46847,7 @@ const Fre = ({ headerIsVisible: e, locale: t }) => {
|
|
|
46842
46847
|
},
|
|
46843
46848
|
notificationsContainer: {
|
|
46844
46849
|
container: {
|
|
46845
|
-
borderRadius:
|
|
46850
|
+
borderRadius: bc.md,
|
|
46846
46851
|
overflow: "auto",
|
|
46847
46852
|
backgroundColor: bi.primary,
|
|
46848
46853
|
boxShadow: KE.sm,
|
|
@@ -46892,7 +46897,7 @@ const Fre = ({ headerIsVisible: e, locale: t }) => {
|
|
|
46892
46897
|
container: {
|
|
46893
46898
|
backgroundColor: Ks,
|
|
46894
46899
|
color: bi.primary,
|
|
46895
|
-
borderRadius:
|
|
46900
|
+
borderRadius: bc.full,
|
|
46896
46901
|
padding: `${Da.xs} ${Da.md}`,
|
|
46897
46902
|
fontSize: Ti.sm,
|
|
46898
46903
|
fontWeight: Sa.medium,
|
|
@@ -46904,7 +46909,7 @@ const Fre = ({ headerIsVisible: e, locale: t }) => {
|
|
|
46904
46909
|
borderColor: Ks,
|
|
46905
46910
|
color: Ei.secondary,
|
|
46906
46911
|
backgroundColor: bi.primary,
|
|
46907
|
-
borderRadius:
|
|
46912
|
+
borderRadius: bc.full,
|
|
46908
46913
|
padding: `${Da.xs} ${Da.md}`,
|
|
46909
46914
|
fontSize: Ti.sm,
|
|
46910
46915
|
fontWeight: Sa.medium
|
|
@@ -46918,7 +46923,7 @@ const Fre = ({ headerIsVisible: e, locale: t }) => {
|
|
|
46918
46923
|
toast: {
|
|
46919
46924
|
container: {
|
|
46920
46925
|
backgroundColor: bi.primary,
|
|
46921
|
-
borderRadius:
|
|
46926
|
+
borderRadius: bc.sm,
|
|
46922
46927
|
boxShadow: KE.sm,
|
|
46923
46928
|
border: `1px solid ${gh}`
|
|
46924
46929
|
},
|
|
@@ -46970,7 +46975,7 @@ const c3 = ({
|
|
|
46970
46975
|
} catch {
|
|
46971
46976
|
V = null;
|
|
46972
46977
|
}
|
|
46973
|
-
T(V), t && y && (V !== null && V !==
|
|
46978
|
+
T(V), t && y && (V !== null && V !== Ac) && E(!0);
|
|
46974
46979
|
}, [t, y, l, a]);
|
|
46975
46980
|
const [C, w] = la(Gl, {
|
|
46976
46981
|
headerIsVisible: !0,
|
|
@@ -47111,7 +47116,7 @@ const c3 = ({
|
|
|
47111
47116
|
distinctId: (l == null ? void 0 : l.id) ?? "",
|
|
47112
47117
|
subscriberId: g,
|
|
47113
47118
|
theme: $re,
|
|
47114
|
-
language: b ||
|
|
47119
|
+
language: b || Ac,
|
|
47115
47120
|
translations: o || jre,
|
|
47116
47121
|
bellComponent: () => /* @__PURE__ */ h.jsx(
|
|
47117
47122
|
"button",
|
|
@@ -47168,7 +47173,7 @@ const c3 = ({
|
|
|
47168
47173
|
/* ACCOUNT */
|
|
47169
47174
|
] ? "account" : "default",
|
|
47170
47175
|
children: Cl.order.map((V) => /* @__PURE__ */ h.jsx(
|
|
47171
|
-
|
|
47176
|
+
_1,
|
|
47172
47177
|
{
|
|
47173
47178
|
id: V,
|
|
47174
47179
|
isLoggedIn: d,
|
|
@@ -47284,7 +47289,7 @@ const c3 = ({
|
|
|
47284
47289
|
]
|
|
47285
47290
|
}
|
|
47286
47291
|
) : /* @__PURE__ */ h.jsx("ul", { className: "sign-in-buttons", children: Cl.buttons.order.map((V) => /* @__PURE__ */ h.jsx(
|
|
47287
|
-
|
|
47292
|
+
_1,
|
|
47288
47293
|
{
|
|
47289
47294
|
id: `buttons.${V}`,
|
|
47290
47295
|
getHref: V === "signup" && te ? ee : void 0
|
|
@@ -47299,7 +47304,7 @@ const c3 = ({
|
|
|
47299
47304
|
Fre,
|
|
47300
47305
|
{
|
|
47301
47306
|
headerIsVisible: k,
|
|
47302
|
-
locale: (l == null ? void 0 : l.locale) ||
|
|
47307
|
+
locale: (l == null ? void 0 : l.locale) || Ac
|
|
47303
47308
|
}
|
|
47304
47309
|
),
|
|
47305
47310
|
/* @__PURE__ */ h.jsx("hr", { id: "content-of-page" }),
|
|
@@ -47356,9 +47361,9 @@ const Hre = () => {
|
|
|
47356
47361
|
me(() => (window.scrollTo(0, 0), document.addEventListener("ariaLive", b), () => {
|
|
47357
47362
|
document.removeEventListener("ariaLive", b);
|
|
47358
47363
|
}), [y]);
|
|
47359
|
-
const T =
|
|
47364
|
+
const T = xc(e, { locale: s }), C = xc(t, {
|
|
47360
47365
|
locale: s
|
|
47361
|
-
}), w =
|
|
47366
|
+
}), w = xc(n, {
|
|
47362
47367
|
locale: s
|
|
47363
47368
|
}), k = {};
|
|
47364
47369
|
return f !== "default" && (k[f] = !0), p !== "default" && (k[p] = !0), g !== "default" && (k[g] = !0), /* @__PURE__ */ h.jsx(N3, { onError: r, fallback: /* @__PURE__ */ h.jsx(Hre, {}), children: /* @__PURE__ */ h.jsxs(e4, { fallback: null, children: [
|
|
@@ -47592,7 +47597,7 @@ const qre = 25, Wre = ({
|
|
|
47592
47597
|
c && e.length === 0 && t > 0 ? [...new Array(Math.min(t, qre))].map((E, b) => /* @__PURE__ */ h.jsx("li", { children: /* @__PURE__ */ h.jsx(Mp, { layout: "member" }) }, b)) : /* @__PURE__ */ h.jsx(h.Fragment, {})
|
|
47593
47598
|
] }),
|
|
47594
47599
|
i && /* @__PURE__ */ h.jsx(
|
|
47595
|
-
|
|
47600
|
+
N1,
|
|
47596
47601
|
{
|
|
47597
47602
|
hasNextPage: i,
|
|
47598
47603
|
loadNextPage: a,
|
|
@@ -47670,7 +47675,7 @@ const qre = 25, Wre = ({
|
|
|
47670
47675
|
}
|
|
47671
47676
|
};
|
|
47672
47677
|
};
|
|
47673
|
-
const Ft = "discussion_form_",
|
|
47678
|
+
const Ft = "discussion_form_", sd = ({
|
|
47674
47679
|
id: e,
|
|
47675
47680
|
parentId: t,
|
|
47676
47681
|
content: n = { type: tt.Response, slugs: {} },
|
|
@@ -48134,7 +48139,7 @@ const Ft = "discussion_form_", od = ({
|
|
|
48134
48139
|
] });
|
|
48135
48140
|
}, Zre = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
48136
48141
|
__proto__: null,
|
|
48137
|
-
default:
|
|
48142
|
+
default: sd
|
|
48138
48143
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
48139
48144
|
function d3(e, t) {
|
|
48140
48145
|
let n = t;
|
|
@@ -48497,8 +48502,8 @@ function cie({
|
|
|
48497
48502
|
] });
|
|
48498
48503
|
}
|
|
48499
48504
|
const Sr = "discussion_", die = 195;
|
|
48500
|
-
let
|
|
48501
|
-
const
|
|
48505
|
+
let Tc = null;
|
|
48506
|
+
const ld = ({
|
|
48502
48507
|
element: e = "div",
|
|
48503
48508
|
content: t,
|
|
48504
48509
|
userHasPermissions: n = !0,
|
|
@@ -48624,7 +48629,7 @@ const sd = ({
|
|
|
48624
48629
|
}) => {
|
|
48625
48630
|
Je || (Je = ""), ct || (ct = ""), Ke("");
|
|
48626
48631
|
try {
|
|
48627
|
-
if (!
|
|
48632
|
+
if (!Gc(Je, Ee.title) || !Gc(ct, Ee.body)) {
|
|
48628
48633
|
const an = t.type === tt.Question ? { title: ct } : { title: Je, body: ct, data: Bt };
|
|
48629
48634
|
await se(gg(t.slugs), an);
|
|
48630
48635
|
}
|
|
@@ -48744,11 +48749,11 @@ const sd = ({
|
|
|
48744
48749
|
onClick: (Je) => {
|
|
48745
48750
|
if (!l.post || Ee.isEditing || t.type === tt.Poll && Jre(Je, ["poll-options", "poll-info"], "discussion-post"))
|
|
48746
48751
|
return;
|
|
48747
|
-
Je.preventDefault(), Je.stopPropagation(),
|
|
48752
|
+
Je.preventDefault(), Je.stopPropagation(), Tc && clearTimeout(Tc), Tc = setTimeout(() => {
|
|
48748
48753
|
b ? b(l.post) : window.location.href = l.post;
|
|
48749
48754
|
}, 150);
|
|
48750
48755
|
const ct = new CustomEvent(cn.DISCUSSION_POST_CLICKED, {
|
|
48751
|
-
detail: { link: l.post, timeout:
|
|
48756
|
+
detail: { link: l.post, timeout: Tc }
|
|
48752
48757
|
});
|
|
48753
48758
|
document.dispatchEvent(ct);
|
|
48754
48759
|
},
|
|
@@ -48775,7 +48780,7 @@ const sd = ({
|
|
|
48775
48780
|
}
|
|
48776
48781
|
),
|
|
48777
48782
|
Ee.isEditing ? /* @__PURE__ */ h.jsx(
|
|
48778
|
-
|
|
48783
|
+
sd,
|
|
48779
48784
|
{
|
|
48780
48785
|
id: `editing-${t.slug}`,
|
|
48781
48786
|
content: {
|
|
@@ -49227,7 +49232,7 @@ const fie = is(
|
|
|
49227
49232
|
categories: r,
|
|
49228
49233
|
isHidden: i = !1,
|
|
49229
49234
|
membershipRequiredToPost: { isMember: a, required: o, join: s, leave: l, notMemberStateText: u },
|
|
49230
|
-
locale: c =
|
|
49235
|
+
locale: c = Ac
|
|
49231
49236
|
}) => {
|
|
49232
49237
|
const d = ge();
|
|
49233
49238
|
if (i)
|
|
@@ -49322,7 +49327,7 @@ const vie = ({
|
|
|
49322
49327
|
form: r,
|
|
49323
49328
|
children: i
|
|
49324
49329
|
}) => {
|
|
49325
|
-
const a = ge(), o = Ze(I0), s =
|
|
49330
|
+
const a = ge(), o = Ze(I0), s = xc(i, {
|
|
49326
49331
|
element: "li"
|
|
49327
49332
|
});
|
|
49328
49333
|
if (o.prepopulateForm && (r != null && r.meta) && (r.meta.isPrepopulated = { text: o.prepopulateForm }, o.mentionData)) {
|
|
@@ -49345,7 +49350,7 @@ const vie = ({
|
|
|
49345
49350
|
children: [
|
|
49346
49351
|
!Object.is(s, null) && /* @__PURE__ */ h.jsx("ul", { className: "thread", children: s }),
|
|
49347
49352
|
!e && /* @__PURE__ */ h.jsx(
|
|
49348
|
-
|
|
49353
|
+
N1,
|
|
49349
49354
|
{
|
|
49350
49355
|
hasNextPage: t,
|
|
49351
49356
|
loadNextPage: n,
|
|
@@ -49358,7 +49363,7 @@ const vie = ({
|
|
|
49358
49363
|
}
|
|
49359
49364
|
}
|
|
49360
49365
|
),
|
|
49361
|
-
r && o.showForm && /* @__PURE__ */ h.jsx(
|
|
49366
|
+
r && o.showForm && /* @__PURE__ */ h.jsx(sd, { ...r })
|
|
49362
49367
|
]
|
|
49363
49368
|
}
|
|
49364
49369
|
);
|
|
@@ -49413,10 +49418,10 @@ function Tie({
|
|
|
49413
49418
|
}) {
|
|
49414
49419
|
const { mutate: a } = Zt({
|
|
49415
49420
|
mutationFn: e,
|
|
49416
|
-
onMutate: (o) => t((s) => (s &&
|
|
49421
|
+
onMutate: (o) => t((s) => (s && n1({ activity: s }), s)),
|
|
49417
49422
|
onError: n,
|
|
49418
49423
|
onSuccess: (o, s, l) => {
|
|
49419
|
-
l &&
|
|
49424
|
+
l && n1({ activity: l, reaction: o }), r.setQueryData(i, l);
|
|
49420
49425
|
}
|
|
49421
49426
|
});
|
|
49422
49427
|
return a;
|
|
@@ -49429,10 +49434,10 @@ function _ie({
|
|
|
49429
49434
|
}) {
|
|
49430
49435
|
const { mutate: a } = Zt({
|
|
49431
49436
|
mutationFn: e,
|
|
49432
|
-
onMutate: (o) => t((s) => (s &&
|
|
49437
|
+
onMutate: (o) => t((s) => (s && r1({ activity: s }), s)),
|
|
49433
49438
|
onError: n,
|
|
49434
49439
|
onSuccess: (o, s, l) => {
|
|
49435
|
-
l &&
|
|
49440
|
+
l && r1({ activity: l, reaction: o }), r.setQueryData(i, l);
|
|
49436
49441
|
}
|
|
49437
49442
|
});
|
|
49438
49443
|
return a;
|
|
@@ -49576,7 +49581,7 @@ const Qae = ({
|
|
|
49576
49581
|
})) ? z == null ? void 0 : z.like[0].id : "", _ = w == null ? void 0 : w.actor, V = G4(w, g, b);
|
|
49577
49582
|
return /* @__PURE__ */ h.jsxs("section", { className: "activity-section", children: [
|
|
49578
49583
|
/* @__PURE__ */ h.jsx(
|
|
49579
|
-
|
|
49584
|
+
ld,
|
|
49580
49585
|
{
|
|
49581
49586
|
className: "highlighted-text-box subtle",
|
|
49582
49587
|
isCommunity: !0,
|
|
@@ -49694,7 +49699,7 @@ const Sie = ({
|
|
|
49694
49699
|
className: ne("discussion-form-modal", i),
|
|
49695
49700
|
withFocusTrap: n.withFocusTrap,
|
|
49696
49701
|
children: /* @__PURE__ */ h.jsx(
|
|
49697
|
-
|
|
49702
|
+
sd,
|
|
49698
49703
|
{
|
|
49699
49704
|
...n,
|
|
49700
49705
|
data: { ...u, mentions: g || (u == null ? void 0 : u.mentions) },
|
|
@@ -50756,7 +50761,7 @@ const bh = {
|
|
|
50756
50761
|
threeCards: 769,
|
|
50757
50762
|
twoCards: 480
|
|
50758
50763
|
};
|
|
50759
|
-
let
|
|
50764
|
+
let _c = null, Th = null;
|
|
50760
50765
|
const zie = ({
|
|
50761
50766
|
id: e,
|
|
50762
50767
|
cards: t,
|
|
@@ -50823,12 +50828,12 @@ const zie = ({
|
|
|
50823
50828
|
);
|
|
50824
50829
|
}, 500);
|
|
50825
50830
|
}, R = (A) => {
|
|
50826
|
-
|
|
50831
|
+
_c = A.touches[0].clientX;
|
|
50827
50832
|
}, B = (A) => {
|
|
50828
|
-
if (
|
|
50833
|
+
if (_c === null)
|
|
50829
50834
|
return;
|
|
50830
|
-
const F = A.touches[0].clientX, $ =
|
|
50831
|
-
$ > 5 ? I("next") : $ < -5 && I("previous"),
|
|
50835
|
+
const F = A.touches[0].clientX, $ = _c - F;
|
|
50836
|
+
$ > 5 ? I("next") : $ < -5 && I("previous"), _c = null;
|
|
50832
50837
|
}, P = {
|
|
50833
50838
|
"--width": `${k || 0}px`,
|
|
50834
50839
|
"--total-cards": T,
|
|
@@ -51281,10 +51286,10 @@ const foe = ({
|
|
|
51281
51286
|
contributors: ["community"]
|
|
51282
51287
|
}
|
|
51283
51288
|
];
|
|
51284
|
-
const
|
|
51289
|
+
const Cc = "notFoundError_", poe = () => {
|
|
51285
51290
|
const e = ge(), t = [];
|
|
51286
51291
|
return JE.forEach((n, r) => {
|
|
51287
|
-
n.title = e.formatMessage({ id: `${
|
|
51292
|
+
n.title = e.formatMessage({ id: `${Cc}post_${r + 1}` }), t.push("solutionArticle");
|
|
51288
51293
|
}), /* @__PURE__ */ h.jsxs(
|
|
51289
51294
|
Ure,
|
|
51290
51295
|
{
|
|
@@ -51301,15 +51306,15 @@ const _c = "notFoundError_", poe = () => {
|
|
|
51301
51306
|
})
|
|
51302
51307
|
}
|
|
51303
51308
|
),
|
|
51304
|
-
/* @__PURE__ */ h.jsx(je, { href: "/solution-articles/", children: e.formatMessage({ id: `${
|
|
51309
|
+
/* @__PURE__ */ h.jsx(je, { href: "/solution-articles/", children: e.formatMessage({ id: `${Cc}cta` }) })
|
|
51305
51310
|
] })
|
|
51306
51311
|
},
|
|
51307
51312
|
reportError: () => {
|
|
51308
51313
|
},
|
|
51309
51314
|
className: "not-found-error",
|
|
51310
51315
|
children: [
|
|
51311
|
-
/* @__PURE__ */ h.jsx("h1", { children: e.formatMessage({ id: `${
|
|
51312
|
-
/* @__PURE__ */ h.jsx("p", { children: e.formatMessage({ id: `${
|
|
51316
|
+
/* @__PURE__ */ h.jsx("h1", { children: e.formatMessage({ id: `${Cc}title` }) }),
|
|
51317
|
+
/* @__PURE__ */ h.jsx("p", { children: e.formatMessage({ id: `${Cc}text` }) })
|
|
51313
51318
|
]
|
|
51314
51319
|
}
|
|
51315
51320
|
);
|
|
@@ -51357,14 +51362,14 @@ export {
|
|
|
51357
51362
|
doe as CourseStructure,
|
|
51358
51363
|
aoe as CustomContentBanner,
|
|
51359
51364
|
cn as CustomEvents,
|
|
51360
|
-
|
|
51365
|
+
Yc as DELETED_USER_ID,
|
|
51361
51366
|
Jae as Directory,
|
|
51362
51367
|
tt as DiscussionContentType,
|
|
51363
51368
|
nie as DiscussionConversation,
|
|
51364
|
-
|
|
51369
|
+
sd as DiscussionForm,
|
|
51365
51370
|
pie as DiscussionFormCard,
|
|
51366
51371
|
Sie as DiscussionFormModal,
|
|
51367
|
-
|
|
51372
|
+
ld as DiscussionPost,
|
|
51368
51373
|
vie as DiscussionThread,
|
|
51369
51374
|
Jt as DiscussionType,
|
|
51370
51375
|
ni as Divider,
|
|
@@ -51406,7 +51411,7 @@ export {
|
|
|
51406
51411
|
rF as LikesFeed,
|
|
51407
51412
|
iF as LikesModal,
|
|
51408
51413
|
Za as Link,
|
|
51409
|
-
|
|
51414
|
+
N1 as LoadMore,
|
|
51410
51415
|
s7 as LoadingBlock,
|
|
51411
51416
|
Fr as LoadingPlaceholder,
|
|
51412
51417
|
Mp as LoadingState,
|
|
@@ -51484,7 +51489,7 @@ export {
|
|
|
51484
51489
|
Jd as generateConditions,
|
|
51485
51490
|
dae as generateCssIcon,
|
|
51486
51491
|
d6 as getActivityPollOptions,
|
|
51487
|
-
|
|
51492
|
+
C1 as getAuthorData,
|
|
51488
51493
|
W6 as getCharacterLimitProps,
|
|
51489
51494
|
_6 as getLocalisedActivityContent,
|
|
51490
51495
|
C6 as getLocalisedReactionContent,
|