@sakura-ui/markdown 0.0.3 → 0.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/dist/index.cjs.js +35 -35
- package/dist/index.es.js +487 -483
- package/dist/types/components/Markdown.d.ts +2 -1
- package/dist/types/components/Markdown.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import mt, { forwardRef as oc, Children as lc } from "react";
|
|
2
2
|
function cc(e, t) {
|
|
3
3
|
for (var n = 0; n < t.length; n++) {
|
|
4
4
|
const r = t[n];
|
|
@@ -34,7 +34,7 @@ function fc() {
|
|
|
34
34
|
if (aa)
|
|
35
35
|
return $n;
|
|
36
36
|
aa = 1;
|
|
37
|
-
var e =
|
|
37
|
+
var e = mt, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, u = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
38
38
|
function a(o, l, c) {
|
|
39
39
|
var f, d = {}, g = null, m = null;
|
|
40
40
|
c !== void 0 && (g = "" + c), l.key !== void 0 && (g = "" + l.key), l.ref !== void 0 && (m = l.ref);
|
|
@@ -60,14 +60,14 @@ var Wn = {};
|
|
|
60
60
|
var sa;
|
|
61
61
|
function hc() {
|
|
62
62
|
return sa || (sa = 1, process.env.NODE_ENV !== "production" && function() {
|
|
63
|
-
var e =
|
|
63
|
+
var e = mt, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), o = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), T = Symbol.iterator, R = "@@iterator";
|
|
64
64
|
function S(h) {
|
|
65
65
|
if (h === null || typeof h != "object")
|
|
66
66
|
return null;
|
|
67
|
-
var y = T && h[T] || h[
|
|
67
|
+
var y = T && h[T] || h[R];
|
|
68
68
|
return typeof y == "function" ? y : null;
|
|
69
69
|
}
|
|
70
|
-
var
|
|
70
|
+
var L = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
71
71
|
function v(h) {
|
|
72
72
|
{
|
|
73
73
|
for (var y = arguments.length, k = new Array(y > 1 ? y - 1 : 0), V = 1; V < y; V++)
|
|
@@ -77,7 +77,7 @@ function hc() {
|
|
|
77
77
|
}
|
|
78
78
|
function j(h, y, k) {
|
|
79
79
|
{
|
|
80
|
-
var V =
|
|
80
|
+
var V = L.ReactDebugCurrentFrame, ne = V.getStackAddendum();
|
|
81
81
|
ne !== "" && (y += "%s", k = k.concat([ne]));
|
|
82
82
|
var ae = k.map(function(Z) {
|
|
83
83
|
return String(Z);
|
|
@@ -87,7 +87,7 @@ function hc() {
|
|
|
87
87
|
}
|
|
88
88
|
var ee = !1, K = !1, P = !1, H = !1, se = !1, oe;
|
|
89
89
|
oe = Symbol.for("react.module.reference");
|
|
90
|
-
function
|
|
90
|
+
function O(h) {
|
|
91
91
|
return !!(typeof h == "string" || typeof h == "function" || h === r || h === i || se || h === u || h === c || h === f || H || h === m || ee || K || P || typeof h == "object" && h !== null && (h.$$typeof === g || h.$$typeof === d || h.$$typeof === a || h.$$typeof === o || h.$$typeof === l || // This needs to include all possible module reference object
|
|
92
92
|
// types supported by any Flight configuration anywhere since
|
|
93
93
|
// we don't know which Flight build this will end up being used
|
|
@@ -211,7 +211,7 @@ function hc() {
|
|
|
211
211
|
x < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
var fe =
|
|
214
|
+
var fe = L.ReactCurrentDispatcher, Se;
|
|
215
215
|
function Te(h, y, k) {
|
|
216
216
|
{
|
|
217
217
|
if (Se === void 0)
|
|
@@ -337,7 +337,7 @@ function hc() {
|
|
|
337
337
|
}
|
|
338
338
|
return "";
|
|
339
339
|
}
|
|
340
|
-
var Ze = Object.prototype.hasOwnProperty,
|
|
340
|
+
var Ze = Object.prototype.hasOwnProperty, bt = {}, Yt = L.ReactDebugCurrentFrame;
|
|
341
341
|
function st(h) {
|
|
342
342
|
if (h) {
|
|
343
343
|
var y = h._owner, k = ht(h.type, h._source, y ? y.type : null);
|
|
@@ -360,13 +360,13 @@ function hc() {
|
|
|
360
360
|
} catch (pe) {
|
|
361
361
|
X = pe;
|
|
362
362
|
}
|
|
363
|
-
X && !(X instanceof Error) && (st(ne), v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", V || "React class", k, Z, typeof X), st(null)), X instanceof Error && !(X.message in
|
|
363
|
+
X && !(X instanceof Error) && (st(ne), v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", V || "React class", k, Z, typeof X), st(null)), X instanceof Error && !(X.message in bt) && (bt[X.message] = !0, st(ne), v("Failed %s type: %s", k, X.message), st(null));
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
var
|
|
368
|
-
function
|
|
369
|
-
return
|
|
367
|
+
var It = Array.isArray;
|
|
368
|
+
function _t(h) {
|
|
369
|
+
return It(h);
|
|
370
370
|
}
|
|
371
371
|
function Jt(h) {
|
|
372
372
|
{
|
|
@@ -376,26 +376,26 @@ function hc() {
|
|
|
376
376
|
}
|
|
377
377
|
function Zt(h) {
|
|
378
378
|
try {
|
|
379
|
-
return
|
|
379
|
+
return St(h), !1;
|
|
380
380
|
} catch {
|
|
381
381
|
return !0;
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
|
-
function
|
|
384
|
+
function St(h) {
|
|
385
385
|
return "" + h;
|
|
386
386
|
}
|
|
387
387
|
function M(h) {
|
|
388
388
|
if (Zt(h))
|
|
389
|
-
return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Jt(h)),
|
|
389
|
+
return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Jt(h)), St(h);
|
|
390
390
|
}
|
|
391
|
-
var $ =
|
|
391
|
+
var $ = L.ReactCurrentOwner, ce = {
|
|
392
392
|
key: !0,
|
|
393
393
|
ref: !0,
|
|
394
394
|
__self: !0,
|
|
395
395
|
__source: !0
|
|
396
396
|
}, me, ke, Ye;
|
|
397
397
|
Ye = {};
|
|
398
|
-
function
|
|
398
|
+
function gt(h) {
|
|
399
399
|
if (Ze.call(h, "ref")) {
|
|
400
400
|
var y = Object.getOwnPropertyDescriptor(h, "ref").get;
|
|
401
401
|
if (y && y.isReactWarning)
|
|
@@ -411,7 +411,7 @@ function hc() {
|
|
|
411
411
|
}
|
|
412
412
|
return h.key !== void 0;
|
|
413
413
|
}
|
|
414
|
-
function
|
|
414
|
+
function kt(h, y) {
|
|
415
415
|
if (typeof h.ref == "string" && $.current && y && $.current.stateNode !== y) {
|
|
416
416
|
var k = te($.current.type);
|
|
417
417
|
Ye[k] || (v('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', te($.current.type), h.ref), Ye[k] = !0);
|
|
@@ -439,7 +439,7 @@ function hc() {
|
|
|
439
439
|
});
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
|
-
var
|
|
442
|
+
var Ct = function(h, y, k, V, ne, ae, Z) {
|
|
443
443
|
var X = {
|
|
444
444
|
// This tag allows us to uniquely identify this as a React Element
|
|
445
445
|
$$typeof: t,
|
|
@@ -471,7 +471,7 @@ function hc() {
|
|
|
471
471
|
function ct(h, y, k, V, ne) {
|
|
472
472
|
{
|
|
473
473
|
var ae, Z = {}, X = null, Fe = null;
|
|
474
|
-
k !== void 0 && (M(k), X = "" + k), lt(y) && (M(y.key), X = "" + y.key),
|
|
474
|
+
k !== void 0 && (M(k), X = "" + k), lt(y) && (M(y.key), X = "" + y.key), gt(y) && (Fe = y.ref, kt(y, ne));
|
|
475
475
|
for (ae in y)
|
|
476
476
|
Ze.call(y, ae) && !ce.hasOwnProperty(ae) && (Z[ae] = y[ae]);
|
|
477
477
|
if (h && h.defaultProps) {
|
|
@@ -483,10 +483,10 @@ function hc() {
|
|
|
483
483
|
var Ee = typeof h == "function" ? h.displayName || h.name || "Unknown" : h;
|
|
484
484
|
X && rt(Z, Ee), Fe && We(Z, Ee);
|
|
485
485
|
}
|
|
486
|
-
return
|
|
486
|
+
return Ct(h, X, Fe, ne, V, $.current, Z);
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
|
-
var vt =
|
|
489
|
+
var vt = L.ReactCurrentOwner, on = L.ReactDebugCurrentFrame;
|
|
490
490
|
function ut(h) {
|
|
491
491
|
if (h) {
|
|
492
492
|
var y = h._owner, k = ht(h.type, h._source, y ? y.type : null);
|
|
@@ -494,9 +494,9 @@ function hc() {
|
|
|
494
494
|
} else
|
|
495
495
|
on.setExtraStackFrame(null);
|
|
496
496
|
}
|
|
497
|
-
var
|
|
498
|
-
|
|
499
|
-
function
|
|
497
|
+
var Rt;
|
|
498
|
+
Rt = !1;
|
|
499
|
+
function Dt(h) {
|
|
500
500
|
return typeof h == "object" && h !== null && h.$$typeof === t;
|
|
501
501
|
}
|
|
502
502
|
function Bt() {
|
|
@@ -544,18 +544,18 @@ Check the top-level render call using <` + k + ">.");
|
|
|
544
544
|
{
|
|
545
545
|
if (typeof h != "object")
|
|
546
546
|
return;
|
|
547
|
-
if (
|
|
547
|
+
if (_t(h))
|
|
548
548
|
for (var k = 0; k < h.length; k++) {
|
|
549
549
|
var V = h[k];
|
|
550
|
-
|
|
550
|
+
Dt(V) && cn(V, y);
|
|
551
551
|
}
|
|
552
|
-
else if (
|
|
552
|
+
else if (Dt(h))
|
|
553
553
|
h._store && (h._store.validated = !0);
|
|
554
554
|
else if (h) {
|
|
555
555
|
var ne = S(h);
|
|
556
556
|
if (typeof ne == "function" && ne !== h.entries)
|
|
557
557
|
for (var ae = ne.call(h), Z; !(Z = ae.next()).done; )
|
|
558
|
-
|
|
558
|
+
Dt(Z.value) && cn(Z.value, y);
|
|
559
559
|
}
|
|
560
560
|
}
|
|
561
561
|
}
|
|
@@ -576,8 +576,8 @@ Check the top-level render call using <` + k + ">.");
|
|
|
576
576
|
if (k) {
|
|
577
577
|
var V = te(y);
|
|
578
578
|
ot(k, h.props, "prop", V, h);
|
|
579
|
-
} else if (y.PropTypes !== void 0 && !
|
|
580
|
-
|
|
579
|
+
} else if (y.PropTypes !== void 0 && !Rt) {
|
|
580
|
+
Rt = !0;
|
|
581
581
|
var ne = te(y);
|
|
582
582
|
v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ne || "Unknown");
|
|
583
583
|
}
|
|
@@ -599,14 +599,14 @@ Check the top-level render call using <` + k + ">.");
|
|
|
599
599
|
var en = {};
|
|
600
600
|
function dn(h, y, k, V, ne, ae) {
|
|
601
601
|
{
|
|
602
|
-
var Z =
|
|
602
|
+
var Z = O(h);
|
|
603
603
|
if (!Z) {
|
|
604
604
|
var X = "";
|
|
605
605
|
(h === void 0 || typeof h == "object" && h !== null && Object.keys(h).length === 0) && (X += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
606
606
|
var Fe = Mn();
|
|
607
607
|
Fe ? X += Fe : X += Bt();
|
|
608
608
|
var pe;
|
|
609
|
-
h === null ? pe = "null" :
|
|
609
|
+
h === null ? pe = "null" : _t(h) ? pe = "array" : h !== void 0 && h.$$typeof === t ? (pe = "<" + (te(h.type) || "Unknown") + " />", X = " Did you accidentally export a JSX literal instead of a component?") : pe = typeof h, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", pe, X);
|
|
610
610
|
}
|
|
611
611
|
var Ee = ct(h, y, k, ne, ae);
|
|
612
612
|
if (Ee == null)
|
|
@@ -615,7 +615,7 @@ Check the top-level render call using <` + k + ">.");
|
|
|
615
615
|
var ve = y.children;
|
|
616
616
|
if (ve !== void 0)
|
|
617
617
|
if (V)
|
|
618
|
-
if (
|
|
618
|
+
if (_t(ve)) {
|
|
619
619
|
for (var ft = 0; ft < ve.length; ft++)
|
|
620
620
|
fn(ve[ft], h);
|
|
621
621
|
Object.freeze && Object.freeze(ve);
|
|
@@ -681,9 +681,9 @@ function mc() {
|
|
|
681
681
|
}, enqueueForceUpdate: function() {
|
|
682
682
|
}, enqueueReplaceState: function() {
|
|
683
683
|
}, enqueueSetState: function() {
|
|
684
|
-
} }, T = Object.assign,
|
|
684
|
+
} }, T = Object.assign, R = {};
|
|
685
685
|
function S(N, z, A) {
|
|
686
|
-
this.props = N, this.context = z, this.refs =
|
|
686
|
+
this.props = N, this.context = z, this.refs = R, this.updater = A || m;
|
|
687
687
|
}
|
|
688
688
|
S.prototype.isReactComponent = {}, S.prototype.setState = function(N, z) {
|
|
689
689
|
if (typeof N != "object" && typeof N != "function" && N != null)
|
|
@@ -692,13 +692,13 @@ function mc() {
|
|
|
692
692
|
}, S.prototype.forceUpdate = function(N) {
|
|
693
693
|
this.updater.enqueueForceUpdate(this, N, "forceUpdate");
|
|
694
694
|
};
|
|
695
|
-
function
|
|
695
|
+
function L() {
|
|
696
696
|
}
|
|
697
|
-
|
|
697
|
+
L.prototype = S.prototype;
|
|
698
698
|
function v(N, z, A) {
|
|
699
|
-
this.props = N, this.context = z, this.refs =
|
|
699
|
+
this.props = N, this.context = z, this.refs = R, this.updater = A || m;
|
|
700
700
|
}
|
|
701
|
-
var j = v.prototype = new
|
|
701
|
+
var j = v.prototype = new L();
|
|
702
702
|
j.constructor = v, T(j, S.prototype), j.isPureReactComponent = !0;
|
|
703
703
|
var ee = Array.isArray, K = Object.prototype.hasOwnProperty, P = { current: null }, H = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
704
704
|
function se(N, z, A) {
|
|
@@ -722,7 +722,7 @@ function mc() {
|
|
|
722
722
|
function oe(N, z) {
|
|
723
723
|
return { $$typeof: e, type: N.type, key: z, ref: N.ref, props: N.props, _owner: N._owner };
|
|
724
724
|
}
|
|
725
|
-
function
|
|
725
|
+
function O(N) {
|
|
726
726
|
return typeof N == "object" && N !== null && N.$$typeof === e;
|
|
727
727
|
}
|
|
728
728
|
function G(N) {
|
|
@@ -757,7 +757,7 @@ function mc() {
|
|
|
757
757
|
if (Se)
|
|
758
758
|
return Se = N, ge = ge(Se), N = le === "" ? "." + te(Se, 0) : le, ee(ge) ? (A = "", N != null && (A = N.replace(Y, "$&/") + "/"), re(ge, z, A, "", function(Pe) {
|
|
759
759
|
return Pe;
|
|
760
|
-
})) : ge != null && (
|
|
760
|
+
})) : ge != null && (O(ge) && (ge = oe(ge, A + (!ge.key || Se && Se.key === ge.key ? "" : ("" + ge.key).replace(Y, "$&/") + "/") + N)), z.push(ge)), 1;
|
|
761
761
|
if (Se = 0, le = le === "" ? "." : le + ":", ee(N))
|
|
762
762
|
for (var Te = 0; Te < N.length; Te++) {
|
|
763
763
|
fe = N[Te];
|
|
@@ -810,7 +810,7 @@ function mc() {
|
|
|
810
810
|
return z;
|
|
811
811
|
}) || [];
|
|
812
812
|
}, only: function(N) {
|
|
813
|
-
if (!
|
|
813
|
+
if (!O(N))
|
|
814
814
|
throw Error("React.Children.only expected to receive a single React element child.");
|
|
815
815
|
return N;
|
|
816
816
|
} }, Ie.Component = S, Ie.Fragment = n, Ie.Profiler = u, Ie.PureComponent = v, Ie.StrictMode = r, Ie.Suspense = l, Ie.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = $e, Ie.act = D, Ie.cloneElement = function(N, z, A) {
|
|
@@ -842,7 +842,7 @@ function mc() {
|
|
|
842
842
|
return { current: null };
|
|
843
843
|
}, Ie.forwardRef = function(N) {
|
|
844
844
|
return { $$typeof: o, render: N };
|
|
845
|
-
}, Ie.isValidElement =
|
|
845
|
+
}, Ie.isValidElement = O, Ie.lazy = function(N) {
|
|
846
846
|
return { $$typeof: f, _payload: { _status: -1, _result: N }, _init: Ne };
|
|
847
847
|
}, Ie.memo = function(N, z) {
|
|
848
848
|
return { $$typeof: c, type: N, compare: z === void 0 ? null : z };
|
|
@@ -901,11 +901,11 @@ function Ec() {
|
|
|
901
901
|
return la || (la = 1, function(e, t) {
|
|
902
902
|
process.env.NODE_ENV !== "production" && function() {
|
|
903
903
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
904
|
-
var n = "18.3.1", r = Symbol.for("react.element"), u = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), c = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), T = Symbol.for("react.lazy"),
|
|
904
|
+
var n = "18.3.1", r = Symbol.for("react.element"), u = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), c = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), R = Symbol.for("react.offscreen"), S = Symbol.iterator, L = "@@iterator";
|
|
905
905
|
function v(p) {
|
|
906
906
|
if (p === null || typeof p != "object")
|
|
907
907
|
return null;
|
|
908
|
-
var C = S && p[S] || p[
|
|
908
|
+
var C = S && p[S] || p[L];
|
|
909
909
|
return typeof C == "function" ? C : null;
|
|
910
910
|
}
|
|
911
911
|
var j = {
|
|
@@ -939,7 +939,7 @@ function Ec() {
|
|
|
939
939
|
var C = H.getCurrentStack;
|
|
940
940
|
return C && (p += C() || ""), p;
|
|
941
941
|
};
|
|
942
|
-
var
|
|
942
|
+
var O = !1, G = !1, Y = !1, te = !1, re = !1, x = {
|
|
943
943
|
ReactCurrentDispatcher: j,
|
|
944
944
|
ReactCurrentBatchConfig: ee,
|
|
945
945
|
ReactCurrentOwner: P
|
|
@@ -1098,7 +1098,7 @@ function Ec() {
|
|
|
1098
1098
|
function Ze(p) {
|
|
1099
1099
|
return "" + p;
|
|
1100
1100
|
}
|
|
1101
|
-
function
|
|
1101
|
+
function bt(p) {
|
|
1102
1102
|
if (ht(p))
|
|
1103
1103
|
return J("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", sn(p)), Ze(p);
|
|
1104
1104
|
}
|
|
@@ -1157,15 +1157,15 @@ function Ec() {
|
|
|
1157
1157
|
}
|
|
1158
1158
|
return null;
|
|
1159
1159
|
}
|
|
1160
|
-
var
|
|
1160
|
+
var It = Object.prototype.hasOwnProperty, _t = {
|
|
1161
1161
|
key: !0,
|
|
1162
1162
|
ref: !0,
|
|
1163
1163
|
__self: !0,
|
|
1164
1164
|
__source: !0
|
|
1165
|
-
}, Jt, Zt,
|
|
1166
|
-
|
|
1165
|
+
}, Jt, Zt, St;
|
|
1166
|
+
St = {};
|
|
1167
1167
|
function M(p) {
|
|
1168
|
-
if (
|
|
1168
|
+
if (It.call(p, "ref")) {
|
|
1169
1169
|
var C = Object.getOwnPropertyDescriptor(p, "ref").get;
|
|
1170
1170
|
if (C && C.isReactWarning)
|
|
1171
1171
|
return !1;
|
|
@@ -1173,7 +1173,7 @@ function Ec() {
|
|
|
1173
1173
|
return p.ref !== void 0;
|
|
1174
1174
|
}
|
|
1175
1175
|
function $(p) {
|
|
1176
|
-
if (
|
|
1176
|
+
if (It.call(p, "key")) {
|
|
1177
1177
|
var C = Object.getOwnPropertyDescriptor(p, "key").get;
|
|
1178
1178
|
if (C && C.isReactWarning)
|
|
1179
1179
|
return !1;
|
|
@@ -1201,7 +1201,7 @@ function Ec() {
|
|
|
1201
1201
|
function ke(p) {
|
|
1202
1202
|
if (typeof p.ref == "string" && P.current && p.__self && P.current.stateNode !== p.__self) {
|
|
1203
1203
|
var C = ot(P.current.type);
|
|
1204
|
-
|
|
1204
|
+
St[C] || (J('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', C, p.ref), St[C] = !0);
|
|
1205
1205
|
}
|
|
1206
1206
|
}
|
|
1207
1207
|
var Ye = function(p, C, F, B, Q, he, ue) {
|
|
@@ -1233,12 +1233,12 @@ function Ec() {
|
|
|
1233
1233
|
value: Q
|
|
1234
1234
|
}), Object.freeze && (Object.freeze(be.props), Object.freeze(be)), be;
|
|
1235
1235
|
};
|
|
1236
|
-
function
|
|
1236
|
+
function gt(p, C, F) {
|
|
1237
1237
|
var B, Q = {}, he = null, ue = null, be = null, Le = null;
|
|
1238
1238
|
if (C != null) {
|
|
1239
|
-
M(C) && (ue = C.ref, ke(C)), $(C) && (
|
|
1239
|
+
M(C) && (ue = C.ref, ke(C)), $(C) && (bt(C.key), he = "" + C.key), be = C.__self === void 0 ? null : C.__self, Le = C.__source === void 0 ? null : C.__source;
|
|
1240
1240
|
for (B in C)
|
|
1241
|
-
|
|
1241
|
+
It.call(C, B) && !_t.hasOwnProperty(B) && (Q[B] = C[B]);
|
|
1242
1242
|
}
|
|
1243
1243
|
var Be = arguments.length - 2;
|
|
1244
1244
|
if (Be === 1)
|
|
@@ -1263,16 +1263,16 @@ function Ec() {
|
|
|
1263
1263
|
var F = Ye(p.type, C, p.ref, p._self, p._source, p._owner, p.props);
|
|
1264
1264
|
return F;
|
|
1265
1265
|
}
|
|
1266
|
-
function
|
|
1266
|
+
function kt(p, C, F) {
|
|
1267
1267
|
if (p == null)
|
|
1268
1268
|
throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + p + ".");
|
|
1269
1269
|
var B, Q = z({}, p.props), he = p.key, ue = p.ref, be = p._self, Le = p._source, Be = p._owner;
|
|
1270
1270
|
if (C != null) {
|
|
1271
|
-
M(C) && (ue = C.ref, Be = P.current), $(C) && (
|
|
1271
|
+
M(C) && (ue = C.ref, Be = P.current), $(C) && (bt(C.key), he = "" + C.key);
|
|
1272
1272
|
var Ue;
|
|
1273
1273
|
p.type && p.type.defaultProps && (Ue = p.type.defaultProps);
|
|
1274
1274
|
for (B in C)
|
|
1275
|
-
|
|
1275
|
+
It.call(C, B) && !_t.hasOwnProperty(B) && (C[B] === void 0 && Ue !== void 0 ? Q[B] = Ue[B] : Q[B] = C[B]);
|
|
1276
1276
|
}
|
|
1277
1277
|
var je = arguments.length - 2;
|
|
1278
1278
|
if (je === 1)
|
|
@@ -1287,7 +1287,7 @@ function Ec() {
|
|
|
1287
1287
|
function rt(p) {
|
|
1288
1288
|
return typeof p == "object" && p !== null && p.$$typeof === r;
|
|
1289
1289
|
}
|
|
1290
|
-
var We = ".",
|
|
1290
|
+
var We = ".", Ct = ":";
|
|
1291
1291
|
function ct(p) {
|
|
1292
1292
|
var C = /[=:]/g, F = {
|
|
1293
1293
|
"=": "=0",
|
|
@@ -1301,10 +1301,10 @@ function Ec() {
|
|
|
1301
1301
|
function ut(p) {
|
|
1302
1302
|
return p.replace(on, "$&/");
|
|
1303
1303
|
}
|
|
1304
|
-
function
|
|
1305
|
-
return typeof p == "object" && p !== null && p.key != null ? (
|
|
1304
|
+
function Rt(p, C) {
|
|
1305
|
+
return typeof p == "object" && p !== null && p.key != null ? (bt(p.key), ct("" + p.key)) : C.toString(36);
|
|
1306
1306
|
}
|
|
1307
|
-
function
|
|
1307
|
+
function Dt(p, C, F, B, Q) {
|
|
1308
1308
|
var he = typeof p;
|
|
1309
1309
|
(he === "undefined" || he === "boolean") && (p = null);
|
|
1310
1310
|
var ue = !1;
|
|
@@ -1324,14 +1324,14 @@ function Ec() {
|
|
|
1324
1324
|
}
|
|
1325
1325
|
}
|
|
1326
1326
|
if (ue) {
|
|
1327
|
-
var be = p, Le = Q(be), Be = B === "" ? We +
|
|
1327
|
+
var be = p, Le = Q(be), Be = B === "" ? We + Rt(be, 0) : B;
|
|
1328
1328
|
if (wt(Le)) {
|
|
1329
1329
|
var Ue = "";
|
|
1330
|
-
Be != null && (Ue = ut(Be) + "/"),
|
|
1330
|
+
Be != null && (Ue = ut(Be) + "/"), Dt(Le, C, Ue, "", function(sc) {
|
|
1331
1331
|
return sc;
|
|
1332
1332
|
});
|
|
1333
1333
|
} else
|
|
1334
|
-
Le != null && (rt(Le) && (Le.key && (!be || be.key !== Le.key) &&
|
|
1334
|
+
Le != null && (rt(Le) && (Le.key && (!be || be.key !== Le.key) && bt(Le.key), Le = lt(
|
|
1335
1335
|
Le,
|
|
1336
1336
|
// Keep both the (mapped) and old keys if they differ, just as
|
|
1337
1337
|
// traverseAllChildren used to do for objects as children
|
|
@@ -1344,17 +1344,17 @@ function Ec() {
|
|
|
1344
1344
|
)), C.push(Le));
|
|
1345
1345
|
return 1;
|
|
1346
1346
|
}
|
|
1347
|
-
var je, qe, Qe = 0, tt = B === "" ? We : B +
|
|
1347
|
+
var je, qe, Qe = 0, tt = B === "" ? We : B + Ct;
|
|
1348
1348
|
if (wt(p))
|
|
1349
1349
|
for (var xr = 0; xr < p.length; xr++)
|
|
1350
|
-
je = p[xr], qe = tt +
|
|
1350
|
+
je = p[xr], qe = tt + Rt(je, xr), Qe += Dt(je, C, F, qe, Q);
|
|
1351
1351
|
else {
|
|
1352
1352
|
var cu = v(p);
|
|
1353
1353
|
if (typeof cu == "function") {
|
|
1354
1354
|
var na = p;
|
|
1355
1355
|
cu === na.entries && (vt || Ne("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), vt = !0);
|
|
1356
1356
|
for (var ic = cu.call(na), ra, ac = 0; !(ra = ic.next()).done; )
|
|
1357
|
-
je = ra.value, qe = tt +
|
|
1357
|
+
je = ra.value, qe = tt + Rt(je, ac++), Qe += Dt(je, C, F, qe, Q);
|
|
1358
1358
|
} else if (he === "object") {
|
|
1359
1359
|
var ua = String(p);
|
|
1360
1360
|
throw new Error("Objects are not valid as a React child (found: " + (ua === "[object Object]" ? "object with keys {" + Object.keys(p).join(", ") + "}" : ua) + "). If you meant to render a collection of children, use an array instead.");
|
|
@@ -1366,7 +1366,7 @@ function Ec() {
|
|
|
1366
1366
|
if (p == null)
|
|
1367
1367
|
return p;
|
|
1368
1368
|
var B = [], Q = 0;
|
|
1369
|
-
return
|
|
1369
|
+
return Dt(p, B, "", "", function(he) {
|
|
1370
1370
|
return C.call(F, he, Q++);
|
|
1371
1371
|
}), B;
|
|
1372
1372
|
}
|
|
@@ -1567,7 +1567,7 @@ Your code should look like:
|
|
|
1567
1567
|
var Cn;
|
|
1568
1568
|
Cn = Symbol.for("react.module.reference");
|
|
1569
1569
|
function h(p) {
|
|
1570
|
-
return !!(typeof p == "string" || typeof p == "function" || p === i || p === o || re || p === a || p === d || p === g || te || p ===
|
|
1570
|
+
return !!(typeof p == "string" || typeof p == "function" || p === i || p === o || re || p === a || p === d || p === g || te || p === R || O || G || Y || typeof p == "object" && p !== null && (p.$$typeof === T || p.$$typeof === m || p.$$typeof === l || p.$$typeof === c || p.$$typeof === f || // This needs to include all possible module reference object
|
|
1571
1571
|
// types supported by any Flight configuration anywhere since
|
|
1572
1572
|
// we don't know which Flight build this will end up being used
|
|
1573
1573
|
// with.
|
|
@@ -1867,7 +1867,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1867
1867
|
}
|
|
1868
1868
|
function $l(p, C, F, B, Q) {
|
|
1869
1869
|
{
|
|
1870
|
-
var he = Function.call.bind(
|
|
1870
|
+
var he = Function.call.bind(It);
|
|
1871
1871
|
for (var ue in p)
|
|
1872
1872
|
if (he(p, ue)) {
|
|
1873
1873
|
var be = void 0;
|
|
@@ -2001,7 +2001,7 @@ Check the top-level render call using <` + F + ">.");
|
|
|
2001
2001
|
var ue;
|
|
2002
2002
|
p === null ? ue = "null" : wt(p) ? ue = "array" : p !== void 0 && p.$$typeof === r ? (ue = "<" + (ot(p.type) || "Unknown") + " />", Q = " Did you accidentally export a JSX literal instead of a component?") : ue = typeof p, J("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ue, Q);
|
|
2003
2003
|
}
|
|
2004
|
-
var be =
|
|
2004
|
+
var be = gt.apply(this, arguments);
|
|
2005
2005
|
if (be == null)
|
|
2006
2006
|
return be;
|
|
2007
2007
|
if (B)
|
|
@@ -2022,7 +2022,7 @@ Check the top-level render call using <` + F + ">.");
|
|
|
2022
2022
|
}), C;
|
|
2023
2023
|
}
|
|
2024
2024
|
function Jl(p, C, F) {
|
|
2025
|
-
for (var B =
|
|
2025
|
+
for (var B = kt.apply(this, arguments), Q = 2; Q < arguments.length; Q++)
|
|
2026
2026
|
Gi(arguments[Q], B.type);
|
|
2027
2027
|
return Xi(B), B;
|
|
2028
2028
|
}
|
|
@@ -3426,8 +3426,8 @@ class ri extends Fc {
|
|
|
3426
3426
|
r.push([c, ...f]);
|
|
3427
3427
|
else if (f.length > 0) {
|
|
3428
3428
|
let [m, ...T] = f;
|
|
3429
|
-
const
|
|
3430
|
-
Bu(
|
|
3429
|
+
const R = r[g][1];
|
|
3430
|
+
Bu(R) && Bu(m) && (m = fu(!0, R, m)), r[g] = [c, m, ...T];
|
|
3431
3431
|
}
|
|
3432
3432
|
}
|
|
3433
3433
|
}
|
|
@@ -3502,7 +3502,7 @@ function lr(e) {
|
|
|
3502
3502
|
const n = ya.textContent;
|
|
3503
3503
|
return n.charCodeAt(n.length - 1) === 59 && e !== "semi" || n === t ? !1 : n;
|
|
3504
3504
|
}
|
|
3505
|
-
function
|
|
3505
|
+
function xt(e, t, n, r) {
|
|
3506
3506
|
const u = e.length;
|
|
3507
3507
|
let i = 0, a;
|
|
3508
3508
|
if (t < 0 ? t = -t > u ? 0 : u + t : t = t > u ? u : t, n = n > 0 ? n : 0, r.length < 1e4)
|
|
@@ -3511,8 +3511,8 @@ function yt(e, t, n, r) {
|
|
|
3511
3511
|
for (n && e.splice(t, n); i < r.length; )
|
|
3512
3512
|
a = r.slice(i, i + 1e4), a.unshift(t, 0), e.splice(...a), i += 1e4, t += 1e4;
|
|
3513
3513
|
}
|
|
3514
|
-
function
|
|
3515
|
-
return e.length > 0 ? (
|
|
3514
|
+
function yt(e, t) {
|
|
3515
|
+
return e.length > 0 ? (xt(e, e.length, 0, t), e) : t;
|
|
3516
3516
|
}
|
|
3517
3517
|
const xa = {}.hasOwnProperty;
|
|
3518
3518
|
function Ps(e) {
|
|
@@ -3544,7 +3544,7 @@ function jc(e, t) {
|
|
|
3544
3544
|
const r = [];
|
|
3545
3545
|
for (; ++n < t.length; )
|
|
3546
3546
|
(t[n].add === "after" ? e : r).push(t[n]);
|
|
3547
|
-
|
|
3547
|
+
xt(e, 0, 0, r);
|
|
3548
3548
|
}
|
|
3549
3549
|
function ws(e, t) {
|
|
3550
3550
|
const n = Number.parseInt(e, t);
|
|
@@ -3559,7 +3559,7 @@ function ws(e, t) {
|
|
|
3559
3559
|
n > 1114111 ? "�" : String.fromCodePoint(n)
|
|
3560
3560
|
);
|
|
3561
3561
|
}
|
|
3562
|
-
function
|
|
3562
|
+
function Ot(e) {
|
|
3563
3563
|
return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
3564
3564
|
}
|
|
3565
3565
|
const nt = an(/[A-Za-z]/), Je = an(/[\dA-Za-z]/), zc = an(/[#-'*+\--9=?A-Z^-~]/);
|
|
@@ -3683,11 +3683,11 @@ function Qc(e) {
|
|
|
3683
3683
|
P = t.events[K][1].end;
|
|
3684
3684
|
break;
|
|
3685
3685
|
}
|
|
3686
|
-
|
|
3686
|
+
L(r);
|
|
3687
3687
|
let H = ee;
|
|
3688
3688
|
for (; H < t.events.length; )
|
|
3689
3689
|
t.events[H][1].end = Object.assign({}, P), H++;
|
|
3690
|
-
return
|
|
3690
|
+
return xt(
|
|
3691
3691
|
t.events,
|
|
3692
3692
|
K + 1,
|
|
3693
3693
|
0,
|
|
@@ -3711,7 +3711,7 @@ function Qc(e) {
|
|
|
3711
3711
|
)(j);
|
|
3712
3712
|
}
|
|
3713
3713
|
function f(j) {
|
|
3714
|
-
return u && v(),
|
|
3714
|
+
return u && v(), L(r), g(j);
|
|
3715
3715
|
}
|
|
3716
3716
|
function d(j) {
|
|
3717
3717
|
return t.parser.lazy[t.now().line] = r !== n.length, a = t.now().offset, T(j);
|
|
@@ -3728,21 +3728,21 @@ function Qc(e) {
|
|
|
3728
3728
|
}
|
|
3729
3729
|
function T(j) {
|
|
3730
3730
|
if (j === null) {
|
|
3731
|
-
u && v(),
|
|
3731
|
+
u && v(), L(0), e.consume(j);
|
|
3732
3732
|
return;
|
|
3733
3733
|
}
|
|
3734
3734
|
return u = u || t.parser.flow(t.now()), e.enter("chunkFlow", {
|
|
3735
3735
|
contentType: "flow",
|
|
3736
3736
|
previous: i,
|
|
3737
3737
|
_tokenizer: u
|
|
3738
|
-
}),
|
|
3738
|
+
}), R(j);
|
|
3739
3739
|
}
|
|
3740
|
-
function
|
|
3740
|
+
function R(j) {
|
|
3741
3741
|
if (j === null) {
|
|
3742
|
-
S(e.exit("chunkFlow"), !0),
|
|
3742
|
+
S(e.exit("chunkFlow"), !0), L(0), e.consume(j);
|
|
3743
3743
|
return;
|
|
3744
3744
|
}
|
|
3745
|
-
return ie(j) ? (e.consume(j), S(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, o) : (e.consume(j),
|
|
3745
|
+
return ie(j) ? (e.consume(j), S(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, o) : (e.consume(j), R);
|
|
3746
3746
|
}
|
|
3747
3747
|
function S(j, ee) {
|
|
3748
3748
|
const K = t.sliceStream(j);
|
|
@@ -3757,18 +3757,18 @@ function Qc(e) {
|
|
|
3757
3757
|
)
|
|
3758
3758
|
return;
|
|
3759
3759
|
const H = t.events.length;
|
|
3760
|
-
let se = H, oe,
|
|
3760
|
+
let se = H, oe, O;
|
|
3761
3761
|
for (; se--; )
|
|
3762
3762
|
if (t.events[se][0] === "exit" && t.events[se][1].type === "chunkFlow") {
|
|
3763
3763
|
if (oe) {
|
|
3764
|
-
|
|
3764
|
+
O = t.events[se][1].end;
|
|
3765
3765
|
break;
|
|
3766
3766
|
}
|
|
3767
3767
|
oe = !0;
|
|
3768
3768
|
}
|
|
3769
|
-
for (
|
|
3770
|
-
t.events[P][1].end = Object.assign({},
|
|
3771
|
-
|
|
3769
|
+
for (L(r), P = H; P < t.events.length; )
|
|
3770
|
+
t.events[P][1].end = Object.assign({}, O), P++;
|
|
3771
|
+
xt(
|
|
3772
3772
|
t.events,
|
|
3773
3773
|
se + 1,
|
|
3774
3774
|
0,
|
|
@@ -3776,7 +3776,7 @@ function Qc(e) {
|
|
|
3776
3776
|
), t.events.length = P;
|
|
3777
3777
|
}
|
|
3778
3778
|
}
|
|
3779
|
-
function
|
|
3779
|
+
function L(j) {
|
|
3780
3780
|
let ee = n.length;
|
|
3781
3781
|
for (; ee-- > j; ) {
|
|
3782
3782
|
const K = n[ee];
|
|
@@ -3843,7 +3843,7 @@ function Xc(e, t) {
|
|
|
3843
3843
|
type: l > 1 ? "strong" : "emphasis",
|
|
3844
3844
|
start: Object.assign({}, a.start),
|
|
3845
3845
|
end: Object.assign({}, o.end)
|
|
3846
|
-
}, e[r][1].end = Object.assign({}, a.start), e[n][1].start = Object.assign({}, o.end), c = [], e[r][1].end.offset - e[r][1].start.offset && (c =
|
|
3846
|
+
}, e[r][1].end = Object.assign({}, a.start), e[n][1].start = Object.assign({}, o.end), c = [], e[r][1].end.offset - e[r][1].start.offset && (c = yt(c, [["enter", e[r][1], t], ["exit", e[r][1], t]])), c = yt(c, [["enter", u, t], ["enter", a, t], ["exit", a, t], ["enter", i, t]]), c = yt(c, Wr(t.parser.constructs.insideSpan.null, e.slice(r + 1, n), t)), c = yt(c, [["exit", i, t], ["enter", o, t], ["exit", o, t], ["exit", u, t]]), e[n][1].end.offset - e[n][1].start.offset ? (f = 2, c = yt(c, [["enter", e[n][1], t], ["exit", e[n][1], t]])) : f = 0, xt(e, r - 1, n - r + 3, c), n = r + c.length - f - 2;
|
|
3847
3847
|
break;
|
|
3848
3848
|
}
|
|
3849
3849
|
}
|
|
@@ -4021,7 +4021,7 @@ function sf(e, t, n) {
|
|
|
4021
4021
|
return P === o ? (a++, e.consume(P), f) : a < 3 ? n(P) : (e.exit("codeFencedFenceSequence"), De(P) ? _e(e, d, "whitespace")(P) : d(P));
|
|
4022
4022
|
}
|
|
4023
4023
|
function d(P) {
|
|
4024
|
-
return P === null || ie(P) ? (e.exit("codeFencedFence"), r.interrupt ? t(P) : e.check(Sa,
|
|
4024
|
+
return P === null || ie(P) ? (e.exit("codeFencedFence"), r.interrupt ? t(P) : e.check(Sa, R, ee)(P)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
|
|
4025
4025
|
contentType: "string"
|
|
4026
4026
|
}), g(P));
|
|
4027
4027
|
}
|
|
@@ -4036,17 +4036,17 @@ function sf(e, t, n) {
|
|
|
4036
4036
|
function T(P) {
|
|
4037
4037
|
return P === null || ie(P) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), d(P)) : P === 96 && P === o ? n(P) : (e.consume(P), T);
|
|
4038
4038
|
}
|
|
4039
|
-
function
|
|
4039
|
+
function R(P) {
|
|
4040
4040
|
return e.attempt(u, ee, S)(P);
|
|
4041
4041
|
}
|
|
4042
4042
|
function S(P) {
|
|
4043
|
-
return e.enter("lineEnding"), e.consume(P), e.exit("lineEnding"),
|
|
4043
|
+
return e.enter("lineEnding"), e.consume(P), e.exit("lineEnding"), L;
|
|
4044
4044
|
}
|
|
4045
|
-
function
|
|
4045
|
+
function L(P) {
|
|
4046
4046
|
return i > 0 && De(P) ? _e(e, v, "linePrefix", i + 1)(P) : v(P);
|
|
4047
4047
|
}
|
|
4048
4048
|
function v(P) {
|
|
4049
|
-
return P === null || ie(P) ? e.check(Sa,
|
|
4049
|
+
return P === null || ie(P) ? e.check(Sa, R, ee)(P) : (e.enter("codeFlowValue"), j(P));
|
|
4050
4050
|
}
|
|
4051
4051
|
function j(P) {
|
|
4052
4052
|
return P === null || ie(P) ? (e.exit("codeFlowValue"), v(P)) : (e.consume(P), j);
|
|
@@ -4056,8 +4056,8 @@ function sf(e, t, n) {
|
|
|
4056
4056
|
}
|
|
4057
4057
|
function K(P, H, se) {
|
|
4058
4058
|
let oe = 0;
|
|
4059
|
-
return
|
|
4060
|
-
function
|
|
4059
|
+
return O;
|
|
4060
|
+
function O(x) {
|
|
4061
4061
|
return P.enter("lineEnding"), P.consume(x), P.exit("lineEnding"), G;
|
|
4062
4062
|
}
|
|
4063
4063
|
function G(x) {
|
|
@@ -4353,14 +4353,14 @@ function Hs(e) {
|
|
|
4353
4353
|
u && (r[1].end = Object.assign({}, f.get(u)[1].start), o = f.slice(u, n), o.unshift(r), f.splice(u, n - u + 1, o));
|
|
4354
4354
|
}
|
|
4355
4355
|
}
|
|
4356
|
-
return
|
|
4356
|
+
return xt(e, 0, Number.POSITIVE_INFINITY, f.slice(0)), !c;
|
|
4357
4357
|
}
|
|
4358
4358
|
function bf(e, t) {
|
|
4359
4359
|
const n = e.get(t)[1], r = e.get(t)[2];
|
|
4360
4360
|
let u = t - 1;
|
|
4361
4361
|
const i = [], a = n._tokenizer || r.parser[n.contentType](n.start), o = a.events, l = [], c = {};
|
|
4362
|
-
let f, d, g = -1, m = n, T = 0,
|
|
4363
|
-
const S = [
|
|
4362
|
+
let f, d, g = -1, m = n, T = 0, R = 0;
|
|
4363
|
+
const S = [R];
|
|
4364
4364
|
for (; m; ) {
|
|
4365
4365
|
for (; e.get(++u)[1] !== m; )
|
|
4366
4366
|
;
|
|
@@ -4368,10 +4368,10 @@ function bf(e, t) {
|
|
|
4368
4368
|
}
|
|
4369
4369
|
for (m = n; ++g < o.length; )
|
|
4370
4370
|
// Find a void token that includes a break.
|
|
4371
|
-
o[g][0] === "exit" && o[g - 1][0] === "enter" && o[g][1].type === o[g - 1][1].type && o[g][1].start.line !== o[g][1].end.line && (
|
|
4371
|
+
o[g][0] === "exit" && o[g - 1][0] === "enter" && o[g][1].type === o[g - 1][1].type && o[g][1].start.line !== o[g][1].end.line && (R = g + 1, S.push(R), m._tokenizer = void 0, m.previous = void 0, m = m.next);
|
|
4372
4372
|
for (a.events = [], m ? (m._tokenizer = void 0, m.previous = void 0) : S.pop(), g = S.length; g--; ) {
|
|
4373
|
-
const
|
|
4374
|
-
l.push([v, v +
|
|
4373
|
+
const L = o.slice(S[g], S[g + 1]), v = i.pop();
|
|
4374
|
+
l.push([v, v + L.length - 1]), e.splice(v, 2, L);
|
|
4375
4375
|
}
|
|
4376
4376
|
for (l.reverse(), g = -1; ++g < l.length; )
|
|
4377
4377
|
c[T + l[g][0]] = T + l[g][1], T += l[g][1] - l[g][0] - 1;
|
|
@@ -4425,27 +4425,27 @@ function Us(e, t, n, r, u, i, a, o, l) {
|
|
|
4425
4425
|
const c = l || Number.POSITIVE_INFINITY;
|
|
4426
4426
|
let f = 0;
|
|
4427
4427
|
return d;
|
|
4428
|
-
function d(
|
|
4429
|
-
return
|
|
4428
|
+
function d(L) {
|
|
4429
|
+
return L === 60 ? (e.enter(r), e.enter(u), e.enter(i), e.consume(L), e.exit(i), g) : L === null || L === 32 || L === 41 || Hr(L) ? n(L) : (e.enter(r), e.enter(a), e.enter(o), e.enter("chunkString", {
|
|
4430
4430
|
contentType: "string"
|
|
4431
|
-
}),
|
|
4431
|
+
}), R(L));
|
|
4432
4432
|
}
|
|
4433
|
-
function g(
|
|
4434
|
-
return
|
|
4433
|
+
function g(L) {
|
|
4434
|
+
return L === 62 ? (e.enter(i), e.consume(L), e.exit(i), e.exit(u), e.exit(r), t) : (e.enter(o), e.enter("chunkString", {
|
|
4435
4435
|
contentType: "string"
|
|
4436
|
-
}), m(
|
|
4436
|
+
}), m(L));
|
|
4437
4437
|
}
|
|
4438
|
-
function m(
|
|
4439
|
-
return
|
|
4438
|
+
function m(L) {
|
|
4439
|
+
return L === 62 ? (e.exit("chunkString"), e.exit(o), g(L)) : L === null || L === 60 || ie(L) ? n(L) : (e.consume(L), L === 92 ? T : m);
|
|
4440
4440
|
}
|
|
4441
|
-
function T(
|
|
4442
|
-
return
|
|
4441
|
+
function T(L) {
|
|
4442
|
+
return L === 60 || L === 62 || L === 92 ? (e.consume(L), m) : m(L);
|
|
4443
4443
|
}
|
|
4444
|
-
function
|
|
4445
|
-
return !f && (
|
|
4444
|
+
function R(L) {
|
|
4445
|
+
return !f && (L === null || L === 41 || Oe(L)) ? (e.exit("chunkString"), e.exit(o), e.exit(a), e.exit(r), t(L)) : f < c && L === 40 ? (e.consume(L), f++, R) : L === 41 ? (e.consume(L), f--, R) : L === null || L === 32 || L === 40 || Hr(L) ? n(L) : (e.consume(L), L === 92 ? S : R);
|
|
4446
4446
|
}
|
|
4447
|
-
function S(
|
|
4448
|
-
return
|
|
4447
|
+
function S(L) {
|
|
4448
|
+
return L === 40 || L === 41 || L === 92 ? (e.consume(L), R) : R(L);
|
|
4449
4449
|
}
|
|
4450
4450
|
}
|
|
4451
4451
|
function js(e, t, n, r, u, i) {
|
|
@@ -4531,7 +4531,7 @@ function xf(e, t, n) {
|
|
|
4531
4531
|
)(m);
|
|
4532
4532
|
}
|
|
4533
4533
|
function o(m) {
|
|
4534
|
-
return u =
|
|
4534
|
+
return u = Ot(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)), m === 58 ? (e.enter("definitionMarker"), e.consume(m), e.exit("definitionMarker"), l) : n(m);
|
|
4535
4535
|
}
|
|
4536
4536
|
function l(m) {
|
|
4537
4537
|
return Oe(m) ? $t(e, c)(m) : c(m);
|
|
@@ -4603,7 +4603,7 @@ function Rf(e, t) {
|
|
|
4603
4603
|
start: e[r][1].start,
|
|
4604
4604
|
end: e[n][1].end,
|
|
4605
4605
|
contentType: "text"
|
|
4606
|
-
},
|
|
4606
|
+
}, xt(e, r, n - r + 1, [["enter", u, t], ["enter", i, t], ["exit", i, t], ["exit", u, t]])), e;
|
|
4607
4607
|
}
|
|
4608
4608
|
function Lf(e, t, n) {
|
|
4609
4609
|
let r = 0;
|
|
@@ -4719,7 +4719,7 @@ function Bf(e, t, n) {
|
|
|
4719
4719
|
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(A), d;
|
|
4720
4720
|
}
|
|
4721
4721
|
function d(A) {
|
|
4722
|
-
return A === 33 ? (e.consume(A), g) : A === 47 ? (e.consume(A), i = !0,
|
|
4722
|
+
return A === 33 ? (e.consume(A), g) : A === 47 ? (e.consume(A), i = !0, R) : A === 63 ? (e.consume(A), u = 3, r.interrupt ? t : D) : nt(A) ? (e.consume(A), a = String.fromCharCode(A), S) : n(A);
|
|
4723
4723
|
}
|
|
4724
4724
|
function g(A) {
|
|
4725
4725
|
return A === 45 ? (e.consume(A), u = 2, m) : A === 91 ? (e.consume(A), u = 5, o = 0, T) : nt(A) ? (e.consume(A), u = 4, r.interrupt ? t : D) : n(A);
|
|
@@ -4731,24 +4731,24 @@ function Bf(e, t, n) {
|
|
|
4731
4731
|
const le = "CDATA[";
|
|
4732
4732
|
return A === le.charCodeAt(o++) ? (e.consume(A), o === le.length ? r.interrupt ? t : Y : T) : n(A);
|
|
4733
4733
|
}
|
|
4734
|
-
function
|
|
4734
|
+
function R(A) {
|
|
4735
4735
|
return nt(A) ? (e.consume(A), a = String.fromCharCode(A), S) : n(A);
|
|
4736
4736
|
}
|
|
4737
4737
|
function S(A) {
|
|
4738
4738
|
if (A === null || A === 47 || A === 62 || Oe(A)) {
|
|
4739
4739
|
const le = A === 47, ge = a.toLowerCase();
|
|
4740
|
-
return !le && !i && Ra.includes(ge) ? (u = 1, r.interrupt ? t(A) : Y(A)) : Of.includes(a.toLowerCase()) ? (u = 6, le ? (e.consume(A),
|
|
4740
|
+
return !le && !i && Ra.includes(ge) ? (u = 1, r.interrupt ? t(A) : Y(A)) : Of.includes(a.toLowerCase()) ? (u = 6, le ? (e.consume(A), L) : r.interrupt ? t(A) : Y(A)) : (u = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(A) : i ? v(A) : j(A));
|
|
4741
4741
|
}
|
|
4742
4742
|
return A === 45 || Je(A) ? (e.consume(A), a += String.fromCharCode(A), S) : n(A);
|
|
4743
4743
|
}
|
|
4744
|
-
function
|
|
4744
|
+
function L(A) {
|
|
4745
4745
|
return A === 62 ? (e.consume(A), r.interrupt ? t : Y) : n(A);
|
|
4746
4746
|
}
|
|
4747
4747
|
function v(A) {
|
|
4748
|
-
return De(A) ? (e.consume(A), v) :
|
|
4748
|
+
return De(A) ? (e.consume(A), v) : O(A);
|
|
4749
4749
|
}
|
|
4750
4750
|
function j(A) {
|
|
4751
|
-
return A === 47 ? (e.consume(A),
|
|
4751
|
+
return A === 47 ? (e.consume(A), O) : A === 58 || A === 95 || nt(A) ? (e.consume(A), ee) : De(A) ? (e.consume(A), j) : O(A);
|
|
4752
4752
|
}
|
|
4753
4753
|
function ee(A) {
|
|
4754
4754
|
return A === 45 || A === 46 || A === 58 || A === 95 || Je(A) ? (e.consume(A), ee) : K(A);
|
|
@@ -4768,7 +4768,7 @@ function Bf(e, t, n) {
|
|
|
4768
4768
|
function oe(A) {
|
|
4769
4769
|
return A === 47 || A === 62 || De(A) ? j(A) : n(A);
|
|
4770
4770
|
}
|
|
4771
|
-
function
|
|
4771
|
+
function O(A) {
|
|
4772
4772
|
return A === 62 ? (e.consume(A), G) : n(A);
|
|
4773
4773
|
}
|
|
4774
4774
|
function G(A) {
|
|
@@ -4859,16 +4859,16 @@ function jf(e, t, n) {
|
|
|
4859
4859
|
}
|
|
4860
4860
|
function T(D) {
|
|
4861
4861
|
const N = "CDATA[";
|
|
4862
|
-
return D === N.charCodeAt(i++) ? (e.consume(D), i === N.length ?
|
|
4862
|
+
return D === N.charCodeAt(i++) ? (e.consume(D), i === N.length ? R : T) : n(D);
|
|
4863
4863
|
}
|
|
4864
|
-
function
|
|
4865
|
-
return D === null ? n(D) : D === 93 ? (e.consume(D), S) : ie(D) ? (a =
|
|
4864
|
+
function R(D) {
|
|
4865
|
+
return D === null ? n(D) : D === 93 ? (e.consume(D), S) : ie(D) ? (a = R, J(D)) : (e.consume(D), R);
|
|
4866
4866
|
}
|
|
4867
4867
|
function S(D) {
|
|
4868
|
-
return D === 93 ? (e.consume(D),
|
|
4868
|
+
return D === 93 ? (e.consume(D), L) : R(D);
|
|
4869
4869
|
}
|
|
4870
|
-
function
|
|
4871
|
-
return D === 62 ? Ne(D) : D === 93 ? (e.consume(D),
|
|
4870
|
+
function L(D) {
|
|
4871
|
+
return D === 62 ? Ne(D) : D === 93 ? (e.consume(D), L) : R(D);
|
|
4872
4872
|
}
|
|
4873
4873
|
function v(D) {
|
|
4874
4874
|
return D === null || D === 62 ? Ne(D) : ie(D) ? (a = v, J(D)) : (e.consume(D), v);
|
|
@@ -4892,10 +4892,10 @@ function jf(e, t, n) {
|
|
|
4892
4892
|
return D === 45 || Je(D) ? (e.consume(D), se) : D === 47 || D === 62 || Oe(D) ? oe(D) : n(D);
|
|
4893
4893
|
}
|
|
4894
4894
|
function oe(D) {
|
|
4895
|
-
return D === 47 ? (e.consume(D), Ne) : D === 58 || D === 95 || nt(D) ? (e.consume(D),
|
|
4895
|
+
return D === 47 ? (e.consume(D), Ne) : D === 58 || D === 95 || nt(D) ? (e.consume(D), O) : ie(D) ? (a = oe, J(D)) : De(D) ? (e.consume(D), oe) : Ne(D);
|
|
4896
4896
|
}
|
|
4897
|
-
function
|
|
4898
|
-
return D === 45 || D === 46 || D === 58 || D === 95 || Je(D) ? (e.consume(D),
|
|
4897
|
+
function O(D) {
|
|
4898
|
+
return D === 45 || D === 46 || D === 58 || D === 95 || Je(D) ? (e.consume(D), O) : G(D);
|
|
4899
4899
|
}
|
|
4900
4900
|
function G(D) {
|
|
4901
4901
|
return D === 61 ? (e.consume(D), Y) : ie(D) ? (a = G, J(D)) : De(D) ? (e.consume(D), G) : oe(D);
|
|
@@ -4972,7 +4972,7 @@ function $f(e, t) {
|
|
|
4972
4972
|
start: Object.assign({}, e[i + r + 2][1].end),
|
|
4973
4973
|
end: Object.assign({}, e[a - 2][1].start)
|
|
4974
4974
|
};
|
|
4975
|
-
return o = [["enter", l, t], ["enter", c, t]], o =
|
|
4975
|
+
return o = [["enter", l, t], ["enter", c, t]], o = yt(o, e.slice(i + 1, i + r + 3)), o = yt(o, [["enter", f, t]]), o = yt(o, Wr(t.parser.constructs.insideSpan.null, e.slice(i + r + 4, a - 3), t)), o = yt(o, [["exit", f, t], e[a - 2], e[a - 1], ["exit", c, t]]), o = yt(o, e.slice(a + 1)), o = yt(o, [["exit", l, t]]), xt(e, i, e.length, o), e;
|
|
4976
4976
|
}
|
|
4977
4977
|
function Wf(e, t, n) {
|
|
4978
4978
|
const r = this;
|
|
@@ -4984,7 +4984,7 @@ function Wf(e, t, n) {
|
|
|
4984
4984
|
}
|
|
4985
4985
|
return o;
|
|
4986
4986
|
function o(g) {
|
|
4987
|
-
return i ? i._inactive ? d(g) : (a = r.parser.defined.includes(
|
|
4987
|
+
return i ? i._inactive ? d(g) : (a = r.parser.defined.includes(Ot(r.sliceSerialize({
|
|
4988
4988
|
start: i.end,
|
|
4989
4989
|
end: r.now()
|
|
4990
4990
|
}))), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(g), e.exit("labelMarker"), e.exit("labelEnd"), l) : n(g);
|
|
@@ -5036,7 +5036,7 @@ function Gf(e, t, n) {
|
|
|
5036
5036
|
return js.call(r, e, i, a, "reference", "referenceMarker", "referenceString")(o);
|
|
5037
5037
|
}
|
|
5038
5038
|
function i(o) {
|
|
5039
|
-
return r.parser.defined.includes(
|
|
5039
|
+
return r.parser.defined.includes(Ot(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1))) ? t(o) : n(o);
|
|
5040
5040
|
}
|
|
5041
5041
|
function a(o) {
|
|
5042
5042
|
return n(o);
|
|
@@ -5408,13 +5408,13 @@ function g0(e, t, n) {
|
|
|
5408
5408
|
sliceStream: m,
|
|
5409
5409
|
sliceSerialize: g,
|
|
5410
5410
|
now: T,
|
|
5411
|
-
defineSkip:
|
|
5411
|
+
defineSkip: R,
|
|
5412
5412
|
write: d
|
|
5413
5413
|
};
|
|
5414
5414
|
let f = t.tokenize.call(c, l);
|
|
5415
5415
|
return t.resolveAll && i.push(t), c;
|
|
5416
5416
|
function d(G) {
|
|
5417
|
-
return a =
|
|
5417
|
+
return a = yt(a, G), S(), a[a.length - 1] !== null ? [] : (se(t, 0), c.events = Wr(i, c.events, c), c.events);
|
|
5418
5418
|
}
|
|
5419
5419
|
function g(G, Y) {
|
|
5420
5420
|
return A0(m(G), Y);
|
|
@@ -5432,8 +5432,8 @@ function g0(e, t, n) {
|
|
|
5432
5432
|
_bufferIndex: x
|
|
5433
5433
|
};
|
|
5434
5434
|
}
|
|
5435
|
-
function
|
|
5436
|
-
u[G.line] = G.column,
|
|
5435
|
+
function R(G) {
|
|
5436
|
+
u[G.line] = G.column, O();
|
|
5437
5437
|
}
|
|
5438
5438
|
function S() {
|
|
5439
5439
|
let G;
|
|
@@ -5441,16 +5441,16 @@ function g0(e, t, n) {
|
|
|
5441
5441
|
const Y = a[r._index];
|
|
5442
5442
|
if (typeof Y == "string")
|
|
5443
5443
|
for (G = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === G && r._bufferIndex < Y.length; )
|
|
5444
|
-
|
|
5444
|
+
L(Y.charCodeAt(r._bufferIndex));
|
|
5445
5445
|
else
|
|
5446
|
-
|
|
5446
|
+
L(Y);
|
|
5447
5447
|
}
|
|
5448
5448
|
}
|
|
5449
|
-
function
|
|
5449
|
+
function L(G) {
|
|
5450
5450
|
f = f(G);
|
|
5451
5451
|
}
|
|
5452
5452
|
function v(G) {
|
|
5453
|
-
ie(G) ? (r.line++, r.column = 1, r.offset += G === -3 ? 2 : 1,
|
|
5453
|
+
ie(G) ? (r.line++, r.column = 1, r.offset += G === -3 ? 2 : 1, O()) : G !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === a[r._index].length && (r._bufferIndex = -1, r._index++)), c.previous = G;
|
|
5454
5454
|
}
|
|
5455
5455
|
function j(G, Y) {
|
|
5456
5456
|
const te = Y || {};
|
|
@@ -5512,7 +5512,7 @@ function g0(e, t, n) {
|
|
|
5512
5512
|
}
|
|
5513
5513
|
}
|
|
5514
5514
|
function se(G, Y) {
|
|
5515
|
-
G.resolveAll && !i.includes(G) && i.push(G), G.resolve &&
|
|
5515
|
+
G.resolveAll && !i.includes(G) && i.push(G), G.resolve && xt(
|
|
5516
5516
|
c.events,
|
|
5517
5517
|
Y,
|
|
5518
5518
|
c.events.length - Y,
|
|
@@ -5526,10 +5526,10 @@ function g0(e, t, n) {
|
|
|
5526
5526
|
from: re
|
|
5527
5527
|
};
|
|
5528
5528
|
function Ne() {
|
|
5529
|
-
r = G, c.previous = Y, c.currentConstruct = te, c.events.length = re, o = x,
|
|
5529
|
+
r = G, c.previous = Y, c.currentConstruct = te, c.events.length = re, o = x, O();
|
|
5530
5530
|
}
|
|
5531
5531
|
}
|
|
5532
|
-
function
|
|
5532
|
+
function O() {
|
|
5533
5533
|
r.line in u && r.column < 2 && (r.column = u[r.line], r.offset += u[r.line] - 1);
|
|
5534
5534
|
}
|
|
5535
5535
|
}
|
|
@@ -5761,25 +5761,25 @@ function M0(e) {
|
|
|
5761
5761
|
emphasis: i(sn),
|
|
5762
5762
|
hardBreakEscape: i(Ze),
|
|
5763
5763
|
hardBreakTrailing: i(Ze),
|
|
5764
|
-
htmlFlow: i(
|
|
5764
|
+
htmlFlow: i(bt, a),
|
|
5765
5765
|
htmlFlowData: oe,
|
|
5766
|
-
htmlText: i(
|
|
5766
|
+
htmlText: i(bt, a),
|
|
5767
5767
|
htmlTextData: oe,
|
|
5768
5768
|
image: i(Yt),
|
|
5769
5769
|
label: a,
|
|
5770
5770
|
link: i(st),
|
|
5771
|
-
listItem: i(
|
|
5771
|
+
listItem: i(It),
|
|
5772
5772
|
listItemValue: g,
|
|
5773
5773
|
listOrdered: i(ot, d),
|
|
5774
5774
|
listUnordered: i(ot),
|
|
5775
|
-
paragraph: i(
|
|
5775
|
+
paragraph: i(_t),
|
|
5776
5776
|
reference: A,
|
|
5777
5777
|
referenceString: a,
|
|
5778
5778
|
resourceDestinationString: a,
|
|
5779
5779
|
resourceTitleString: a,
|
|
5780
5780
|
setextHeading: i(ht),
|
|
5781
5781
|
strong: i(Jt),
|
|
5782
|
-
thematicBreak: i(
|
|
5782
|
+
thematicBreak: i(St)
|
|
5783
5783
|
},
|
|
5784
5784
|
exit: {
|
|
5785
5785
|
atxHeading: l(),
|
|
@@ -5788,20 +5788,20 @@ function M0(e) {
|
|
|
5788
5788
|
autolinkEmail: Ce,
|
|
5789
5789
|
autolinkProtocol: Te,
|
|
5790
5790
|
blockQuote: l(),
|
|
5791
|
-
characterEscapeValue:
|
|
5791
|
+
characterEscapeValue: O,
|
|
5792
5792
|
characterReferenceMarkerHexadecimal: ge,
|
|
5793
5793
|
characterReferenceMarkerNumeric: ge,
|
|
5794
5794
|
characterReferenceValue: fe,
|
|
5795
5795
|
characterReference: Se,
|
|
5796
5796
|
codeFenced: l(S),
|
|
5797
|
-
codeFencedFence:
|
|
5797
|
+
codeFencedFence: R,
|
|
5798
5798
|
codeFencedFenceInfo: m,
|
|
5799
5799
|
codeFencedFenceMeta: T,
|
|
5800
|
-
codeFlowValue:
|
|
5801
|
-
codeIndented: l(
|
|
5800
|
+
codeFlowValue: O,
|
|
5801
|
+
codeIndented: l(L),
|
|
5802
5802
|
codeText: l(x),
|
|
5803
|
-
codeTextData:
|
|
5804
|
-
data:
|
|
5803
|
+
codeTextData: O,
|
|
5804
|
+
data: O,
|
|
5805
5805
|
definition: l(),
|
|
5806
5806
|
definitionDestinationString: ee,
|
|
5807
5807
|
definitionLabelString: v,
|
|
@@ -5810,9 +5810,9 @@ function M0(e) {
|
|
|
5810
5810
|
hardBreakEscape: l(Y),
|
|
5811
5811
|
hardBreakTrailing: l(Y),
|
|
5812
5812
|
htmlFlow: l(te),
|
|
5813
|
-
htmlFlowData:
|
|
5813
|
+
htmlFlowData: O,
|
|
5814
5814
|
htmlText: l(re),
|
|
5815
|
-
htmlTextData:
|
|
5815
|
+
htmlTextData: O,
|
|
5816
5816
|
image: l(J),
|
|
5817
5817
|
label: $e,
|
|
5818
5818
|
labelText: He,
|
|
@@ -5886,7 +5886,7 @@ function M0(e) {
|
|
|
5886
5886
|
return $;
|
|
5887
5887
|
}
|
|
5888
5888
|
function u(M, $, ce) {
|
|
5889
|
-
let me = $ - 1, ke = -1, Ye = !1,
|
|
5889
|
+
let me = $ - 1, ke = -1, Ye = !1, gt, lt, kt, rt;
|
|
5890
5890
|
for (; ++me <= ce; ) {
|
|
5891
5891
|
const We = M[me];
|
|
5892
5892
|
switch (We[1].type) {
|
|
@@ -5897,7 +5897,7 @@ function M0(e) {
|
|
|
5897
5897
|
break;
|
|
5898
5898
|
}
|
|
5899
5899
|
case "lineEndingBlank": {
|
|
5900
|
-
We[0] === "enter" && (
|
|
5900
|
+
We[0] === "enter" && (gt && !rt && !ke && !kt && (kt = me), rt = void 0);
|
|
5901
5901
|
break;
|
|
5902
5902
|
}
|
|
5903
5903
|
case "linePrefix":
|
|
@@ -5910,28 +5910,28 @@ function M0(e) {
|
|
|
5910
5910
|
rt = void 0;
|
|
5911
5911
|
}
|
|
5912
5912
|
if (!ke && We[0] === "enter" && We[1].type === "listItemPrefix" || ke === -1 && We[0] === "exit" && (We[1].type === "listUnordered" || We[1].type === "listOrdered")) {
|
|
5913
|
-
if (
|
|
5914
|
-
let
|
|
5915
|
-
for (lt = void 0;
|
|
5916
|
-
const ct = M[
|
|
5913
|
+
if (gt) {
|
|
5914
|
+
let Ct = me;
|
|
5915
|
+
for (lt = void 0; Ct--; ) {
|
|
5916
|
+
const ct = M[Ct];
|
|
5917
5917
|
if (ct[1].type === "lineEnding" || ct[1].type === "lineEndingBlank") {
|
|
5918
5918
|
if (ct[0] === "exit")
|
|
5919
5919
|
continue;
|
|
5920
|
-
lt && (M[lt][1].type = "lineEndingBlank", Ye = !0), ct[1].type = "lineEnding", lt =
|
|
5920
|
+
lt && (M[lt][1].type = "lineEndingBlank", Ye = !0), ct[1].type = "lineEnding", lt = Ct;
|
|
5921
5921
|
} else if (!(ct[1].type === "linePrefix" || ct[1].type === "blockQuotePrefix" || ct[1].type === "blockQuotePrefixWhitespace" || ct[1].type === "blockQuoteMarker" || ct[1].type === "listItemIndent"))
|
|
5922
5922
|
break;
|
|
5923
5923
|
}
|
|
5924
|
-
|
|
5924
|
+
kt && (!lt || kt < lt) && (gt._spread = !0), gt.end = Object.assign({}, lt ? M[lt][1].start : We[1].end), M.splice(lt || me, 0, ["exit", gt, We[2]]), me++, ce++;
|
|
5925
5925
|
}
|
|
5926
5926
|
if (We[1].type === "listItemPrefix") {
|
|
5927
|
-
const
|
|
5927
|
+
const Ct = {
|
|
5928
5928
|
type: "listItem",
|
|
5929
5929
|
_spread: !1,
|
|
5930
5930
|
start: Object.assign({}, We[1].start),
|
|
5931
5931
|
// @ts-expect-error: we’ll add `end` in a second.
|
|
5932
5932
|
end: void 0
|
|
5933
5933
|
};
|
|
5934
|
-
|
|
5934
|
+
gt = Ct, M.splice(me, 0, ["enter", Ct, We[2]]), me++, ce++, kt = void 0, rt = !0;
|
|
5935
5935
|
}
|
|
5936
5936
|
}
|
|
5937
5937
|
}
|
|
@@ -5993,20 +5993,20 @@ function M0(e) {
|
|
|
5993
5993
|
const M = this.resume(), $ = this.stack[this.stack.length - 1];
|
|
5994
5994
|
$.meta = M;
|
|
5995
5995
|
}
|
|
5996
|
-
function
|
|
5996
|
+
function R() {
|
|
5997
5997
|
this.data.flowCodeInside || (this.buffer(), this.data.flowCodeInside = !0);
|
|
5998
5998
|
}
|
|
5999
5999
|
function S() {
|
|
6000
6000
|
const M = this.resume(), $ = this.stack[this.stack.length - 1];
|
|
6001
6001
|
$.value = M.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
|
|
6002
6002
|
}
|
|
6003
|
-
function
|
|
6003
|
+
function L() {
|
|
6004
6004
|
const M = this.resume(), $ = this.stack[this.stack.length - 1];
|
|
6005
6005
|
$.value = M.replace(/(\r?\n|\r)$/g, "");
|
|
6006
6006
|
}
|
|
6007
6007
|
function v(M) {
|
|
6008
6008
|
const $ = this.resume(), ce = this.stack[this.stack.length - 1];
|
|
6009
|
-
ce.label = $, ce.identifier =
|
|
6009
|
+
ce.label = $, ce.identifier = Ot(this.sliceSerialize(M)).toLowerCase();
|
|
6010
6010
|
}
|
|
6011
6011
|
function j() {
|
|
6012
6012
|
const M = this.resume(), $ = this.stack[this.stack.length - 1];
|
|
@@ -6042,7 +6042,7 @@ function M0(e) {
|
|
|
6042
6042
|
end: void 0
|
|
6043
6043
|
}, ce.push(me)), this.stack.push(me);
|
|
6044
6044
|
}
|
|
6045
|
-
function
|
|
6045
|
+
function O(M) {
|
|
6046
6046
|
const $ = this.stack.pop();
|
|
6047
6047
|
$.value += this.sliceSerialize(M), $.position.end = tn(M.end);
|
|
6048
6048
|
}
|
|
@@ -6053,7 +6053,7 @@ function M0(e) {
|
|
|
6053
6053
|
ce.position.end = tn(M.end), this.data.atHardBreak = void 0;
|
|
6054
6054
|
return;
|
|
6055
6055
|
}
|
|
6056
|
-
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes($.type) && (oe.call(this, M),
|
|
6056
|
+
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes($.type) && (oe.call(this, M), O.call(this, M));
|
|
6057
6057
|
}
|
|
6058
6058
|
function Y() {
|
|
6059
6059
|
this.data.atHardBreak = !0;
|
|
@@ -6090,7 +6090,7 @@ function M0(e) {
|
|
|
6090
6090
|
}
|
|
6091
6091
|
function He(M) {
|
|
6092
6092
|
const $ = this.sliceSerialize(M), ce = this.stack[this.stack.length - 2];
|
|
6093
|
-
ce.label = w0($), ce.identifier =
|
|
6093
|
+
ce.label = w0($), ce.identifier = Ot($).toLowerCase();
|
|
6094
6094
|
}
|
|
6095
6095
|
function $e() {
|
|
6096
6096
|
const M = this.stack[this.stack.length - 1], $ = this.resume(), ce = this.stack[this.stack.length - 1];
|
|
@@ -6116,7 +6116,7 @@ function M0(e) {
|
|
|
6116
6116
|
}
|
|
6117
6117
|
function le(M) {
|
|
6118
6118
|
const $ = this.resume(), ce = this.stack[this.stack.length - 1];
|
|
6119
|
-
ce.label = $, ce.identifier =
|
|
6119
|
+
ce.label = $, ce.identifier = Ot(this.sliceSerialize(M)).toLowerCase(), this.data.referenceType = "full";
|
|
6120
6120
|
}
|
|
6121
6121
|
function ge(M) {
|
|
6122
6122
|
this.data.characterReferenceType = M.type;
|
|
@@ -6133,12 +6133,12 @@ function M0(e) {
|
|
|
6133
6133
|
$.position.end = tn(M.end);
|
|
6134
6134
|
}
|
|
6135
6135
|
function Te(M) {
|
|
6136
|
-
|
|
6136
|
+
O.call(this, M);
|
|
6137
6137
|
const $ = this.stack[this.stack.length - 1];
|
|
6138
6138
|
$.url = this.sliceSerialize(M);
|
|
6139
6139
|
}
|
|
6140
6140
|
function Ce(M) {
|
|
6141
|
-
|
|
6141
|
+
O.call(this, M);
|
|
6142
6142
|
const $ = this.stack[this.stack.length - 1];
|
|
6143
6143
|
$.url = "mailto:" + this.sliceSerialize(M);
|
|
6144
6144
|
}
|
|
@@ -6190,7 +6190,7 @@ function M0(e) {
|
|
|
6190
6190
|
type: "break"
|
|
6191
6191
|
};
|
|
6192
6192
|
}
|
|
6193
|
-
function
|
|
6193
|
+
function bt() {
|
|
6194
6194
|
return {
|
|
6195
6195
|
type: "html",
|
|
6196
6196
|
value: ""
|
|
@@ -6221,7 +6221,7 @@ function M0(e) {
|
|
|
6221
6221
|
children: []
|
|
6222
6222
|
};
|
|
6223
6223
|
}
|
|
6224
|
-
function
|
|
6224
|
+
function It(M) {
|
|
6225
6225
|
return {
|
|
6226
6226
|
type: "listItem",
|
|
6227
6227
|
spread: M._spread,
|
|
@@ -6229,7 +6229,7 @@ function M0(e) {
|
|
|
6229
6229
|
children: []
|
|
6230
6230
|
};
|
|
6231
6231
|
}
|
|
6232
|
-
function
|
|
6232
|
+
function _t() {
|
|
6233
6233
|
return {
|
|
6234
6234
|
type: "paragraph",
|
|
6235
6235
|
children: []
|
|
@@ -6247,7 +6247,7 @@ function M0(e) {
|
|
|
6247
6247
|
value: ""
|
|
6248
6248
|
};
|
|
6249
6249
|
}
|
|
6250
|
-
function
|
|
6250
|
+
function St() {
|
|
6251
6251
|
return {
|
|
6252
6252
|
type: "thematicBreak"
|
|
6253
6253
|
};
|
|
@@ -6439,20 +6439,20 @@ function ii(e, t, n, r) {
|
|
|
6439
6439
|
}
|
|
6440
6440
|
return g;
|
|
6441
6441
|
function g() {
|
|
6442
|
-
let m = Ws, T,
|
|
6442
|
+
let m = Ws, T, R, S;
|
|
6443
6443
|
if ((!t || i(l, c, f[f.length - 1] || void 0)) && (m = Q0(n(l, f)), m[0] === zu))
|
|
6444
6444
|
return m;
|
|
6445
6445
|
if ("children" in l && l.children) {
|
|
6446
|
-
const
|
|
6446
|
+
const L = (
|
|
6447
6447
|
/** @type {UnistParent} */
|
|
6448
6448
|
l
|
|
6449
6449
|
);
|
|
6450
|
-
if (
|
|
6451
|
-
for (
|
|
6452
|
-
const v =
|
|
6453
|
-
if (T = o(v,
|
|
6450
|
+
if (L.children && m[0] !== W0)
|
|
6451
|
+
for (R = (r ? L.children.length : -1) + a, S = f.concat(L); R > -1 && R < L.children.length; ) {
|
|
6452
|
+
const v = L.children[R];
|
|
6453
|
+
if (T = o(v, R, S)(), T[0] === zu)
|
|
6454
6454
|
return T;
|
|
6455
|
-
|
|
6455
|
+
R = typeof T[1] == "number" ? T[1] : R + a;
|
|
6456
6456
|
}
|
|
6457
6457
|
}
|
|
6458
6458
|
return m;
|
|
@@ -6486,7 +6486,7 @@ function Qs(e, t, n) {
|
|
|
6486
6486
|
const d = f[f.length - 1], g = i[a][0], m = i[a][1];
|
|
6487
6487
|
let T = 0;
|
|
6488
6488
|
const S = d.children.indexOf(c);
|
|
6489
|
-
let
|
|
6489
|
+
let L = !1, v = [];
|
|
6490
6490
|
g.lastIndex = 0;
|
|
6491
6491
|
let j = g.exec(c.value);
|
|
6492
6492
|
for (; j; ) {
|
|
@@ -6499,11 +6499,11 @@ function Qs(e, t, n) {
|
|
|
6499
6499
|
if (typeof P == "string" && (P = P.length > 0 ? { type: "text", value: P } : void 0), P === !1 ? g.lastIndex = ee + 1 : (T !== ee && v.push({
|
|
6500
6500
|
type: "text",
|
|
6501
6501
|
value: c.value.slice(T, ee)
|
|
6502
|
-
}), Array.isArray(P) ? v.push(...P) : P && v.push(P), T = ee + j[0].length,
|
|
6502
|
+
}), Array.isArray(P) ? v.push(...P) : P && v.push(P), T = ee + j[0].length, L = !0), !g.global)
|
|
6503
6503
|
break;
|
|
6504
6504
|
j = g.exec(c.value);
|
|
6505
6505
|
}
|
|
6506
|
-
return
|
|
6506
|
+
return L ? (T < c.value.length && v.push({ type: "text", value: c.value.slice(T) }), d.children.splice(S, 1, ...v)) : v = [c], S + v.length;
|
|
6507
6507
|
}
|
|
6508
6508
|
}
|
|
6509
6509
|
function G0(e) {
|
|
@@ -6683,7 +6683,7 @@ function dh() {
|
|
|
6683
6683
|
}
|
|
6684
6684
|
function ph(e) {
|
|
6685
6685
|
const t = this.resume(), n = this.stack[this.stack.length - 1];
|
|
6686
|
-
n.type, n.label = t, n.identifier =
|
|
6686
|
+
n.type, n.label = t, n.identifier = Ot(
|
|
6687
6687
|
this.sliceSerialize(e)
|
|
6688
6688
|
).toLowerCase();
|
|
6689
6689
|
}
|
|
@@ -6698,7 +6698,7 @@ function bh() {
|
|
|
6698
6698
|
}
|
|
6699
6699
|
function gh(e) {
|
|
6700
6700
|
const t = this.resume(), n = this.stack[this.stack.length - 1];
|
|
6701
|
-
n.type, n.label = t, n.identifier =
|
|
6701
|
+
n.type, n.label = t, n.identifier = Ot(
|
|
6702
6702
|
this.sliceSerialize(e)
|
|
6703
6703
|
).toLowerCase();
|
|
6704
6704
|
}
|
|
@@ -6789,17 +6789,17 @@ function kh(e, t = {}) {
|
|
|
6789
6789
|
const n = (t.align || []).concat(), r = t.stringLength || Lh, u = [], i = [], a = [], o = [];
|
|
6790
6790
|
let l = 0, c = -1;
|
|
6791
6791
|
for (; ++c < e.length; ) {
|
|
6792
|
-
const T = [],
|
|
6792
|
+
const T = [], R = [];
|
|
6793
6793
|
let S = -1;
|
|
6794
6794
|
for (e[c].length > l && (l = e[c].length); ++S < e[c].length; ) {
|
|
6795
|
-
const
|
|
6795
|
+
const L = Rh(e[c][S]);
|
|
6796
6796
|
if (t.alignDelimiters !== !1) {
|
|
6797
|
-
const v = r(
|
|
6798
|
-
|
|
6797
|
+
const v = r(L);
|
|
6798
|
+
R[S] = v, (o[S] === void 0 || v > o[S]) && (o[S] = v);
|
|
6799
6799
|
}
|
|
6800
|
-
T.push(
|
|
6800
|
+
T.push(L);
|
|
6801
6801
|
}
|
|
6802
|
-
i[c] = T, a[c] =
|
|
6802
|
+
i[c] = T, a[c] = R;
|
|
6803
6803
|
}
|
|
6804
6804
|
let f = -1;
|
|
6805
6805
|
if (typeof n == "object" && "length" in n)
|
|
@@ -6814,31 +6814,31 @@ function kh(e, t = {}) {
|
|
|
6814
6814
|
const d = [], g = [];
|
|
6815
6815
|
for (; ++f < l; ) {
|
|
6816
6816
|
const T = u[f];
|
|
6817
|
-
let
|
|
6818
|
-
T === 99 ? (
|
|
6819
|
-
let
|
|
6817
|
+
let R = "", S = "";
|
|
6818
|
+
T === 99 ? (R = ":", S = ":") : T === 108 ? R = ":" : T === 114 && (S = ":");
|
|
6819
|
+
let L = t.alignDelimiters === !1 ? 1 : Math.max(
|
|
6820
6820
|
1,
|
|
6821
|
-
o[f] -
|
|
6821
|
+
o[f] - R.length - S.length
|
|
6822
6822
|
);
|
|
6823
|
-
const v =
|
|
6824
|
-
t.alignDelimiters !== !1 && (
|
|
6823
|
+
const v = R + "-".repeat(L) + S;
|
|
6824
|
+
t.alignDelimiters !== !1 && (L = R.length + L + S.length, L > o[f] && (o[f] = L), g[f] = L), d[f] = v;
|
|
6825
6825
|
}
|
|
6826
6826
|
i.splice(1, 0, d), a.splice(1, 0, g), c = -1;
|
|
6827
6827
|
const m = [];
|
|
6828
6828
|
for (; ++c < i.length; ) {
|
|
6829
|
-
const T = i[c],
|
|
6829
|
+
const T = i[c], R = a[c];
|
|
6830
6830
|
f = -1;
|
|
6831
6831
|
const S = [];
|
|
6832
6832
|
for (; ++f < l; ) {
|
|
6833
|
-
const
|
|
6833
|
+
const L = T[f] || "";
|
|
6834
6834
|
let v = "", j = "";
|
|
6835
6835
|
if (t.alignDelimiters !== !1) {
|
|
6836
|
-
const ee = o[f] - (
|
|
6836
|
+
const ee = o[f] - (R[f] || 0), K = u[f];
|
|
6837
6837
|
K === 114 ? v = " ".repeat(ee) : K === 99 ? ee % 2 ? (v = " ".repeat(ee / 2 + 0.5), j = " ".repeat(ee / 2 - 0.5)) : (v = " ".repeat(ee / 2), j = v) : j = " ".repeat(ee);
|
|
6838
6838
|
}
|
|
6839
6839
|
t.delimiterStart !== !1 && !f && S.push("|"), t.padding !== !1 && // Don’t add the opening space if we’re not aligning and the cell is
|
|
6840
6840
|
// empty: there will be a closing space.
|
|
6841
|
-
!(t.alignDelimiters === !1 &&
|
|
6841
|
+
!(t.alignDelimiters === !1 && L === "") && (t.delimiterStart !== !1 || f) && S.push(" "), t.alignDelimiters !== !1 && S.push(v), S.push(L), t.alignDelimiters !== !1 && S.push(j), t.padding !== !1 && S.push(" "), (t.delimiterEnd !== !1 || f !== l - 1) && S.push("|");
|
|
6842
6842
|
}
|
|
6843
6843
|
m.push(
|
|
6844
6844
|
t.delimiterEnd === !1 ? S.join("").replace(/ +$/, "") : S.join("")
|
|
@@ -7027,7 +7027,7 @@ function Zs(e, t, n, r) {
|
|
|
7027
7027
|
function zh(e, t, n) {
|
|
7028
7028
|
return n.options.emphasis || "*";
|
|
7029
7029
|
}
|
|
7030
|
-
function
|
|
7030
|
+
function Et(e, t, n, r) {
|
|
7031
7031
|
let u, i, a;
|
|
7032
7032
|
typeof t == "function" && typeof n != "function" ? (i = void 0, a = t, u = n) : (i = t, a = n, u = r), ii(e, i, o, u);
|
|
7033
7033
|
function o(l, c) {
|
|
@@ -7037,7 +7037,7 @@ function mt(e, t, n, r) {
|
|
|
7037
7037
|
}
|
|
7038
7038
|
function Yh(e, t) {
|
|
7039
7039
|
let n = !1;
|
|
7040
|
-
return
|
|
7040
|
+
return Et(e, function(r) {
|
|
7041
7041
|
if ("value" in r && /\r?\n|\r/.test(r.value) || r.type === "break")
|
|
7042
7042
|
return n = !0, zu;
|
|
7043
7043
|
}), !!((!e.depth || e.depth < 3) && or(e) && (t.options.setext || n));
|
|
@@ -7496,21 +7496,21 @@ function Ed(e) {
|
|
|
7496
7496
|
tableRow: o
|
|
7497
7497
|
}
|
|
7498
7498
|
};
|
|
7499
|
-
function a(m, T,
|
|
7500
|
-
return c(f(m,
|
|
7499
|
+
function a(m, T, R, S) {
|
|
7500
|
+
return c(f(m, R, S), m.align);
|
|
7501
7501
|
}
|
|
7502
|
-
function o(m, T,
|
|
7503
|
-
const
|
|
7502
|
+
function o(m, T, R, S) {
|
|
7503
|
+
const L = d(m, R, S), v = c([L]);
|
|
7504
7504
|
return v.slice(0, v.indexOf(`
|
|
7505
7505
|
`));
|
|
7506
7506
|
}
|
|
7507
|
-
function l(m, T,
|
|
7508
|
-
const
|
|
7507
|
+
function l(m, T, R, S) {
|
|
7508
|
+
const L = R.enter("tableCell"), v = R.enter("phrasing"), j = R.containerPhrasing(m, {
|
|
7509
7509
|
...S,
|
|
7510
7510
|
before: i,
|
|
7511
7511
|
after: i
|
|
7512
7512
|
});
|
|
7513
|
-
return v(),
|
|
7513
|
+
return v(), L(), j;
|
|
7514
7514
|
}
|
|
7515
7515
|
function c(m, T) {
|
|
7516
7516
|
return kh(m, {
|
|
@@ -7523,25 +7523,25 @@ function Ed(e) {
|
|
|
7523
7523
|
stringLength: u
|
|
7524
7524
|
});
|
|
7525
7525
|
}
|
|
7526
|
-
function f(m, T,
|
|
7526
|
+
function f(m, T, R) {
|
|
7527
7527
|
const S = m.children;
|
|
7528
|
-
let
|
|
7528
|
+
let L = -1;
|
|
7529
7529
|
const v = [], j = T.enter("table");
|
|
7530
|
-
for (; ++
|
|
7531
|
-
v[
|
|
7530
|
+
for (; ++L < S.length; )
|
|
7531
|
+
v[L] = d(S[L], T, R);
|
|
7532
7532
|
return j(), v;
|
|
7533
7533
|
}
|
|
7534
|
-
function d(m, T,
|
|
7534
|
+
function d(m, T, R) {
|
|
7535
7535
|
const S = m.children;
|
|
7536
|
-
let
|
|
7536
|
+
let L = -1;
|
|
7537
7537
|
const v = [], j = T.enter("tableRow");
|
|
7538
|
-
for (; ++
|
|
7539
|
-
v[
|
|
7538
|
+
for (; ++L < S.length; )
|
|
7539
|
+
v[L] = l(S[L], m, T, R);
|
|
7540
7540
|
return j(), v;
|
|
7541
7541
|
}
|
|
7542
|
-
function g(m, T,
|
|
7543
|
-
let S = lo.inlineCode(m, T,
|
|
7544
|
-
return
|
|
7542
|
+
function g(m, T, R) {
|
|
7543
|
+
let S = lo.inlineCode(m, T, R);
|
|
7544
|
+
return R.stack.includes("tableCell") && (S = S.replace(/\|/g, "\\$&")), S;
|
|
7545
7545
|
}
|
|
7546
7546
|
}
|
|
7547
7547
|
function bd() {
|
|
@@ -7853,7 +7853,7 @@ function vd(e, t, n) {
|
|
|
7853
7853
|
function o(l) {
|
|
7854
7854
|
if (!a || !a._balanced)
|
|
7855
7855
|
return n(l);
|
|
7856
|
-
const c =
|
|
7856
|
+
const c = Ot(r.sliceSerialize({
|
|
7857
7857
|
start: a.end,
|
|
7858
7858
|
end: r.now()
|
|
7859
7859
|
}));
|
|
@@ -7932,7 +7932,7 @@ function Md(e, t, n) {
|
|
|
7932
7932
|
if (d === 93) {
|
|
7933
7933
|
e.exit("chunkString");
|
|
7934
7934
|
const g = e.exit("gfmFootnoteCallString");
|
|
7935
|
-
return u.includes(
|
|
7935
|
+
return u.includes(Ot(r.sliceSerialize(g))) ? (e.enter("gfmFootnoteCallLabelMarker"), e.consume(d), e.exit("gfmFootnoteCallLabelMarker"), e.exit("gfmFootnoteCall"), t) : n(d);
|
|
7936
7936
|
}
|
|
7937
7937
|
return Oe(d) || (a = !0), i++, e.consume(d), d === 92 ? f : c;
|
|
7938
7938
|
}
|
|
@@ -7961,8 +7961,8 @@ function Hd(e, t, n) {
|
|
|
7961
7961
|
return n(T);
|
|
7962
7962
|
if (T === 93) {
|
|
7963
7963
|
e.exit("chunkString");
|
|
7964
|
-
const
|
|
7965
|
-
return i =
|
|
7964
|
+
const R = e.exit("gfmFootnoteDefinitionLabelString");
|
|
7965
|
+
return i = Ot(r.sliceSerialize(R)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(T), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), g;
|
|
7966
7966
|
}
|
|
7967
7967
|
return Oe(T) || (o = !0), a++, e.consume(T), T === 92 ? d : f;
|
|
7968
7968
|
}
|
|
@@ -8026,7 +8026,7 @@ function Yd(e) {
|
|
|
8026
8026
|
start: Object.assign({}, a[c][1].end),
|
|
8027
8027
|
end: Object.assign({}, a[l][1].start)
|
|
8028
8028
|
}, g = [["enter", f, o], ["enter", a[c][1], o], ["exit", a[c][1], o], ["enter", d, o]], m = o.parser.constructs.insideSpan.null;
|
|
8029
|
-
m &&
|
|
8029
|
+
m && xt(g, g.length, 0, Wr(m, a.slice(c + 1, l), o)), xt(g, g.length, 0, [["exit", d, o], ["enter", a[l][1], o], ["exit", a[l][1], o], ["exit", f, o]]), xt(a, c - 1, l - c + 3, g), l = c + g.length - 2;
|
|
8030
8030
|
break;
|
|
8031
8031
|
}
|
|
8032
8032
|
}
|
|
@@ -8042,13 +8042,13 @@ function Yd(e) {
|
|
|
8042
8042
|
return c === 126 && f[f.length - 1][1].type !== "characterEscape" ? l(T) : (a.enter("strikethroughSequenceTemporary"), m(T));
|
|
8043
8043
|
}
|
|
8044
8044
|
function m(T) {
|
|
8045
|
-
const
|
|
8045
|
+
const R = Ur(c);
|
|
8046
8046
|
if (T === 126)
|
|
8047
8047
|
return d > 1 ? l(T) : (a.consume(T), d++, m);
|
|
8048
8048
|
if (d < 2 && !n)
|
|
8049
8049
|
return l(T);
|
|
8050
|
-
const S = a.exit("strikethroughSequenceTemporary"),
|
|
8051
|
-
return S._open = !
|
|
8050
|
+
const S = a.exit("strikethroughSequenceTemporary"), L = Ur(T);
|
|
8051
|
+
return S._open = !L || L === 2 && !!R, S._close = !R || R === 2 && !!L, o(T);
|
|
8052
8052
|
}
|
|
8053
8053
|
}
|
|
8054
8054
|
}
|
|
@@ -8153,7 +8153,7 @@ function Qd(e, t, n) {
|
|
|
8153
8153
|
const r = this;
|
|
8154
8154
|
let u = 0, i = 0, a;
|
|
8155
8155
|
return o;
|
|
8156
|
-
function o(
|
|
8156
|
+
function o(O) {
|
|
8157
8157
|
let G = r.events.length - 1;
|
|
8158
8158
|
for (; G > -1; ) {
|
|
8159
8159
|
const re = r.events[G][1].type;
|
|
@@ -8164,61 +8164,61 @@ function Qd(e, t, n) {
|
|
|
8164
8164
|
break;
|
|
8165
8165
|
}
|
|
8166
8166
|
const Y = G > -1 ? r.events[G][1].type : null, te = Y === "tableHead" || Y === "tableRow" ? P : l;
|
|
8167
|
-
return te === P && r.parser.lazy[r.now().line] ? n(
|
|
8167
|
+
return te === P && r.parser.lazy[r.now().line] ? n(O) : te(O);
|
|
8168
8168
|
}
|
|
8169
|
-
function l(
|
|
8170
|
-
return e.enter("tableHead"), e.enter("tableRow"), c(
|
|
8169
|
+
function l(O) {
|
|
8170
|
+
return e.enter("tableHead"), e.enter("tableRow"), c(O);
|
|
8171
8171
|
}
|
|
8172
|
-
function c(
|
|
8173
|
-
return
|
|
8172
|
+
function c(O) {
|
|
8173
|
+
return O === 124 || (a = !0, i += 1), f(O);
|
|
8174
8174
|
}
|
|
8175
|
-
function f(
|
|
8176
|
-
return
|
|
8175
|
+
function f(O) {
|
|
8176
|
+
return O === null ? n(O) : ie(O) ? i > 1 ? (i = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(O), e.exit("lineEnding"), m) : n(O) : De(O) ? _e(e, f, "whitespace")(O) : (i += 1, a && (a = !1, u += 1), O === 124 ? (e.enter("tableCellDivider"), e.consume(O), e.exit("tableCellDivider"), a = !0, f) : (e.enter("data"), d(O)));
|
|
8177
8177
|
}
|
|
8178
|
-
function d(
|
|
8179
|
-
return
|
|
8178
|
+
function d(O) {
|
|
8179
|
+
return O === null || O === 124 || Oe(O) ? (e.exit("data"), f(O)) : (e.consume(O), O === 92 ? g : d);
|
|
8180
8180
|
}
|
|
8181
|
-
function g(
|
|
8182
|
-
return
|
|
8181
|
+
function g(O) {
|
|
8182
|
+
return O === 92 || O === 124 ? (e.consume(O), d) : d(O);
|
|
8183
8183
|
}
|
|
8184
|
-
function m(
|
|
8185
|
-
return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(
|
|
8184
|
+
function m(O) {
|
|
8185
|
+
return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(O) : (e.enter("tableDelimiterRow"), a = !1, De(O) ? _e(e, T, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(O) : T(O));
|
|
8186
8186
|
}
|
|
8187
|
-
function T(
|
|
8188
|
-
return
|
|
8187
|
+
function T(O) {
|
|
8188
|
+
return O === 45 || O === 58 ? S(O) : O === 124 ? (a = !0, e.enter("tableCellDivider"), e.consume(O), e.exit("tableCellDivider"), R) : K(O);
|
|
8189
8189
|
}
|
|
8190
|
-
function O
|
|
8191
|
-
return De(
|
|
8190
|
+
function R(O) {
|
|
8191
|
+
return De(O) ? _e(e, S, "whitespace")(O) : S(O);
|
|
8192
8192
|
}
|
|
8193
|
-
function S(
|
|
8194
|
-
return
|
|
8193
|
+
function S(O) {
|
|
8194
|
+
return O === 58 ? (i += 1, a = !0, e.enter("tableDelimiterMarker"), e.consume(O), e.exit("tableDelimiterMarker"), L) : O === 45 ? (i += 1, L(O)) : O === null || ie(O) ? ee(O) : K(O);
|
|
8195
8195
|
}
|
|
8196
|
-
function
|
|
8197
|
-
return
|
|
8196
|
+
function L(O) {
|
|
8197
|
+
return O === 45 ? (e.enter("tableDelimiterFiller"), v(O)) : K(O);
|
|
8198
8198
|
}
|
|
8199
|
-
function v(
|
|
8200
|
-
return
|
|
8199
|
+
function v(O) {
|
|
8200
|
+
return O === 45 ? (e.consume(O), v) : O === 58 ? (a = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(O), e.exit("tableDelimiterMarker"), j) : (e.exit("tableDelimiterFiller"), j(O));
|
|
8201
8201
|
}
|
|
8202
|
-
function j(
|
|
8203
|
-
return De(
|
|
8202
|
+
function j(O) {
|
|
8203
|
+
return De(O) ? _e(e, ee, "whitespace")(O) : ee(O);
|
|
8204
8204
|
}
|
|
8205
|
-
function ee(
|
|
8206
|
-
return
|
|
8205
|
+
function ee(O) {
|
|
8206
|
+
return O === 124 ? T(O) : O === null || ie(O) ? !a || u !== i ? K(O) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), t(O)) : K(O);
|
|
8207
8207
|
}
|
|
8208
|
-
function K(
|
|
8209
|
-
return n(
|
|
8208
|
+
function K(O) {
|
|
8209
|
+
return n(O);
|
|
8210
8210
|
}
|
|
8211
|
-
function P(
|
|
8212
|
-
return e.enter("tableRow"), H(
|
|
8211
|
+
function P(O) {
|
|
8212
|
+
return e.enter("tableRow"), H(O);
|
|
8213
8213
|
}
|
|
8214
|
-
function H(
|
|
8215
|
-
return
|
|
8214
|
+
function H(O) {
|
|
8215
|
+
return O === 124 ? (e.enter("tableCellDivider"), e.consume(O), e.exit("tableCellDivider"), H) : O === null || ie(O) ? (e.exit("tableRow"), t(O)) : De(O) ? _e(e, H, "whitespace")(O) : (e.enter("data"), se(O));
|
|
8216
8216
|
}
|
|
8217
|
-
function se(
|
|
8218
|
-
return
|
|
8217
|
+
function se(O) {
|
|
8218
|
+
return O === null || O === 124 || Oe(O) ? (e.exit("data"), H(O)) : (e.consume(O), O === 92 ? oe : se);
|
|
8219
8219
|
}
|
|
8220
|
-
function oe(
|
|
8221
|
-
return
|
|
8220
|
+
function oe(O) {
|
|
8221
|
+
return O === 92 || O === 124 ? (e.consume(O), se) : se(O);
|
|
8222
8222
|
}
|
|
8223
8223
|
}
|
|
8224
8224
|
function Gd(e, t) {
|
|
@@ -8262,8 +8262,8 @@ function Ir(e, t, n, r, u, i) {
|
|
|
8262
8262
|
if (e.add(n[2], 0, [["enter", d, t]]), r !== 2) {
|
|
8263
8263
|
const g = t.events[n[2]], m = t.events[n[3]];
|
|
8264
8264
|
if (g[1].end = Object.assign({}, m[1].end), g[1].type = "chunkText", g[1].contentType = "text", n[3] > n[2] + 1) {
|
|
8265
|
-
const T = n[2] + 1,
|
|
8266
|
-
e.add(T,
|
|
8265
|
+
const T = n[2] + 1, R = n[3] - n[2] - 1;
|
|
8266
|
+
e.add(T, R, []);
|
|
8267
8267
|
}
|
|
8268
8268
|
}
|
|
8269
8269
|
e.add(n[3] + 1, 0, [["exit", d, t]]);
|
|
@@ -8516,8 +8516,8 @@ function li(e, t = {}) {
|
|
|
8516
8516
|
a += xn(g), f++;
|
|
8517
8517
|
continue;
|
|
8518
8518
|
}
|
|
8519
|
-
const
|
|
8520
|
-
let v =
|
|
8519
|
+
const L = u + 1;
|
|
8520
|
+
let v = L, j = L, ee;
|
|
8521
8521
|
if (S === 35) {
|
|
8522
8522
|
j = ++v;
|
|
8523
8523
|
const Y = e.charCodeAt(j);
|
|
@@ -8538,53 +8538,53 @@ function li(e, t = {}) {
|
|
|
8538
8538
|
const Y = ee === "named" ? lr(H) : !1;
|
|
8539
8539
|
Y && (K = H, P = Y);
|
|
8540
8540
|
}
|
|
8541
|
-
let
|
|
8541
|
+
let O = 1 + j - L, G = "";
|
|
8542
8542
|
if (!(!oe && t.nonTerminated === !1))
|
|
8543
8543
|
if (!H)
|
|
8544
|
-
ee !== "named" && T(4,
|
|
8544
|
+
ee !== "named" && T(4, O);
|
|
8545
8545
|
else if (ee === "named") {
|
|
8546
8546
|
if (oe && !P)
|
|
8547
8547
|
T(5, 1);
|
|
8548
|
-
else if (K !== H && (j = v + K.length,
|
|
8548
|
+
else if (K !== H && (j = v + K.length, O = 1 + j - v, oe = !1), !oe) {
|
|
8549
8549
|
const Y = K ? 1 : 3;
|
|
8550
8550
|
if (t.attribute) {
|
|
8551
8551
|
const te = e.charCodeAt(j);
|
|
8552
|
-
te === 61 ? (T(Y,
|
|
8552
|
+
te === 61 ? (T(Y, O), P = "") : qa(te) ? P = "" : T(Y, O);
|
|
8553
8553
|
} else
|
|
8554
|
-
T(Y,
|
|
8554
|
+
T(Y, O);
|
|
8555
8555
|
}
|
|
8556
8556
|
G = P;
|
|
8557
8557
|
} else {
|
|
8558
|
-
oe || T(2,
|
|
8558
|
+
oe || T(2, O);
|
|
8559
8559
|
let Y = Number.parseInt(
|
|
8560
8560
|
H,
|
|
8561
8561
|
ee === "hexadecimal" ? 16 : 10
|
|
8562
8562
|
);
|
|
8563
8563
|
if (sp(Y))
|
|
8564
|
-
T(7,
|
|
8564
|
+
T(7, O), G = xn(
|
|
8565
8565
|
65533
|
|
8566
8566
|
/* `�` */
|
|
8567
8567
|
);
|
|
8568
8568
|
else if (Y in Ya)
|
|
8569
|
-
T(6,
|
|
8569
|
+
T(6, O), G = Ya[Y];
|
|
8570
8570
|
else {
|
|
8571
8571
|
let te = "";
|
|
8572
|
-
op(Y) && T(6,
|
|
8572
|
+
op(Y) && T(6, O), Y > 65535 && (Y -= 65536, te += xn(Y >>> 10 | 55296), Y = 56320 | Y & 1023), G = te + xn(Y);
|
|
8573
8573
|
}
|
|
8574
8574
|
}
|
|
8575
8575
|
if (G) {
|
|
8576
|
-
|
|
8576
|
+
R(), d = m(), u = j - 1, f += j - L + 1, r.push(G);
|
|
8577
8577
|
const Y = m();
|
|
8578
8578
|
Y.offset++, t.reference && t.reference.call(
|
|
8579
8579
|
t.referenceContext,
|
|
8580
8580
|
G,
|
|
8581
8581
|
{ start: d, end: Y },
|
|
8582
|
-
e.slice(
|
|
8582
|
+
e.slice(L - 1, j)
|
|
8583
8583
|
), d = Y;
|
|
8584
8584
|
} else
|
|
8585
|
-
H = e.slice(
|
|
8585
|
+
H = e.slice(L - 1, j), a += H, f += H.length, u = j - 1;
|
|
8586
8586
|
} else
|
|
8587
|
-
g === 10 && (c++, i++, f = 0), Number.isNaN(g) ?
|
|
8587
|
+
g === 10 && (c++, i++, f = 0), Number.isNaN(g) ? R() : (a += xn(g), f++);
|
|
8588
8588
|
return r.join("");
|
|
8589
8589
|
function m() {
|
|
8590
8590
|
return {
|
|
@@ -8593,16 +8593,16 @@ function li(e, t = {}) {
|
|
|
8593
8593
|
offset: u + ((o ? o.offset : 0) || 0)
|
|
8594
8594
|
};
|
|
8595
8595
|
}
|
|
8596
|
-
function T(S,
|
|
8596
|
+
function T(S, L) {
|
|
8597
8597
|
let v;
|
|
8598
|
-
t.warning && (v = m(), v.column +=
|
|
8598
|
+
t.warning && (v = m(), v.column += L, v.offset += L, t.warning.call(
|
|
8599
8599
|
t.warningContext,
|
|
8600
8600
|
ap[S],
|
|
8601
8601
|
v,
|
|
8602
8602
|
S
|
|
8603
8603
|
));
|
|
8604
8604
|
}
|
|
8605
|
-
function
|
|
8605
|
+
function R() {
|
|
8606
8606
|
a && (r.push(a), t.text && t.text.call(t.textContext, a, {
|
|
8607
8607
|
start: d,
|
|
8608
8608
|
end: m()
|
|
@@ -8837,10 +8837,10 @@ function Ip(e, t) {
|
|
|
8837
8837
|
l = $a.test(d) ? "#" + d : f("id", d);
|
|
8838
8838
|
else if (c === "class") {
|
|
8839
8839
|
const g = d.split(/[\t\n\r ]+/g), m = [], T = [];
|
|
8840
|
-
let
|
|
8841
|
-
for (; ++
|
|
8842
|
-
($a.test(g[
|
|
8843
|
-
g[
|
|
8840
|
+
let R = -1;
|
|
8841
|
+
for (; ++R < g.length; )
|
|
8842
|
+
($a.test(g[R]) ? T : m).push(
|
|
8843
|
+
g[R]
|
|
8844
8844
|
);
|
|
8845
8845
|
a = m.length > 0 ? f("class", m.join(" ")) : "", o = T.length > 0 ? "." + T.join(".") : "";
|
|
8846
8846
|
} else
|
|
@@ -8866,27 +8866,27 @@ function Sp(e) {
|
|
|
8866
8866
|
}), t += 3) : e.type === "leafDirective" ? t = 2 : t = 1, ":".repeat(t);
|
|
8867
8867
|
}
|
|
8868
8868
|
function fi(e, t, n, r, u, i, a, o, l, c, f, d, g, m, T) {
|
|
8869
|
-
let
|
|
8870
|
-
return
|
|
8871
|
-
function
|
|
8869
|
+
let R, S;
|
|
8870
|
+
return L;
|
|
8871
|
+
function L(x) {
|
|
8872
8872
|
return e.enter(r), e.enter(u), e.consume(x), e.exit(u), v;
|
|
8873
8873
|
}
|
|
8874
8874
|
function v(x) {
|
|
8875
|
-
return x === 35 ? (
|
|
8875
|
+
return x === 35 ? (R = a, j(x)) : x === 46 ? (R = o, j(x)) : x === 58 || x === 95 || nt(x) ? (e.enter(i), e.enter(l), e.consume(x), P) : T && De(x) ? _e(e, v, "whitespace")(x) : !T && Oe(x) ? $t(e, v)(x) : re(x);
|
|
8876
8876
|
}
|
|
8877
8877
|
function j(x) {
|
|
8878
8878
|
const Ne = (
|
|
8879
8879
|
/** @type {TokenType} */
|
|
8880
|
-
|
|
8880
|
+
R + "Marker"
|
|
8881
8881
|
);
|
|
8882
|
-
return e.enter(i), e.enter(
|
|
8882
|
+
return e.enter(i), e.enter(R), e.enter(Ne), e.consume(x), e.exit(Ne), ee;
|
|
8883
8883
|
}
|
|
8884
8884
|
function ee(x) {
|
|
8885
8885
|
if (x === null || x === 34 || x === 35 || x === 39 || x === 46 || x === 60 || x === 61 || x === 62 || x === 96 || x === 125 || Oe(x))
|
|
8886
8886
|
return n(x);
|
|
8887
8887
|
const Ne = (
|
|
8888
8888
|
/** @type {TokenType} */
|
|
8889
|
-
|
|
8889
|
+
R + "Value"
|
|
8890
8890
|
);
|
|
8891
8891
|
return e.enter(Ne), e.consume(x), K;
|
|
8892
8892
|
}
|
|
@@ -8896,9 +8896,9 @@ function fi(e, t, n, r, u, i, a, o, l, c, f, d, g, m, T) {
|
|
|
8896
8896
|
if (x === 35 || x === 46 || x === 125 || Oe(x)) {
|
|
8897
8897
|
const Ne = (
|
|
8898
8898
|
/** @type {TokenType} */
|
|
8899
|
-
|
|
8899
|
+
R + "Value"
|
|
8900
8900
|
);
|
|
8901
|
-
return e.exit(Ne), e.exit(
|
|
8901
|
+
return e.exit(Ne), e.exit(R), e.exit(i), v(x);
|
|
8902
8902
|
}
|
|
8903
8903
|
return e.consume(x), K;
|
|
8904
8904
|
}
|
|
@@ -8909,16 +8909,16 @@ function fi(e, t, n, r, u, i, a, o, l, c, f, d, g, m, T) {
|
|
|
8909
8909
|
return x === 61 ? (e.enter(c), e.consume(x), e.exit(c), se) : (e.exit(i), v(x));
|
|
8910
8910
|
}
|
|
8911
8911
|
function se(x) {
|
|
8912
|
-
return x === null || x === 60 || x === 61 || x === 62 || x === 96 || x === 125 || T && ie(x) ? n(x) : x === 34 || x === 39 ? (e.enter(f), e.enter(g), e.consume(x), e.exit(g), S = x,
|
|
8912
|
+
return x === null || x === 60 || x === 61 || x === 62 || x === 96 || x === 125 || T && ie(x) ? n(x) : x === 34 || x === 39 ? (e.enter(f), e.enter(g), e.consume(x), e.exit(g), S = x, O) : T && De(x) ? _e(e, se, "whitespace")(x) : !T && Oe(x) ? $t(e, se)(x) : (e.enter(d), e.enter(m), e.consume(x), S = void 0, oe);
|
|
8913
8913
|
}
|
|
8914
8914
|
function oe(x) {
|
|
8915
8915
|
return x === null || x === 34 || x === 39 || x === 60 || x === 61 || x === 62 || x === 96 ? n(x) : x === 125 || Oe(x) ? (e.exit(m), e.exit(d), e.exit(i), v(x)) : (e.consume(x), oe);
|
|
8916
8916
|
}
|
|
8917
|
-
function
|
|
8917
|
+
function O(x) {
|
|
8918
8918
|
return x === S ? (e.enter(g), e.consume(x), e.exit(g), e.exit(f), e.exit(i), te) : (e.enter(d), G(x));
|
|
8919
8919
|
}
|
|
8920
8920
|
function G(x) {
|
|
8921
|
-
return x === S ? (e.exit(d),
|
|
8921
|
+
return x === S ? (e.exit(d), O(x)) : x === null ? n(x) : ie(x) ? T ? n(x) : $t(e, G)(x) : (e.enter(m), e.consume(x), Y);
|
|
8922
8922
|
}
|
|
8923
8923
|
function Y(x) {
|
|
8924
8924
|
return x === S || x === null || ie(x) ? (e.exit(m), G(x)) : (e.consume(x), Y);
|
|
@@ -8941,20 +8941,20 @@ function hi(e, t, n, r, u, i, a) {
|
|
|
8941
8941
|
}
|
|
8942
8942
|
function g(S) {
|
|
8943
8943
|
if (S === 93 && !l)
|
|
8944
|
-
return
|
|
8945
|
-
const
|
|
8944
|
+
return R(S);
|
|
8945
|
+
const L = e.enter("chunkText", {
|
|
8946
8946
|
contentType: "text",
|
|
8947
8947
|
previous: c
|
|
8948
8948
|
});
|
|
8949
|
-
return c && (c.next =
|
|
8949
|
+
return c && (c.next = L), c = L, m(S);
|
|
8950
8950
|
}
|
|
8951
8951
|
function m(S) {
|
|
8952
|
-
return S === null || o > 999 || S === 91 && ++l > 32 ? n(S) : S === 93 && !l-- ? (e.exit("chunkText"),
|
|
8952
|
+
return S === null || o > 999 || S === 91 && ++l > 32 ? n(S) : S === 93 && !l-- ? (e.exit("chunkText"), R(S)) : ie(S) ? a ? n(S) : (e.consume(S), e.exit("chunkText"), g) : (e.consume(S), S === 92 ? T : m);
|
|
8953
8953
|
}
|
|
8954
8954
|
function T(S) {
|
|
8955
8955
|
return S === 91 || S === 92 || S === 93 ? (e.consume(S), o++, m) : m(S);
|
|
8956
8956
|
}
|
|
8957
|
-
function
|
|
8957
|
+
function R(S) {
|
|
8958
8958
|
return e.exit(i), e.enter(u), e.consume(S), e.exit(u), e.exit(r), t;
|
|
8959
8959
|
}
|
|
8960
8960
|
}
|
|
@@ -9001,21 +9001,21 @@ function Op(e, t, n) {
|
|
|
9001
9001
|
return _e(e, m, "whitespace")(H);
|
|
9002
9002
|
}
|
|
9003
9003
|
function m(H) {
|
|
9004
|
-
return e.exit("directiveContainerFence"), H === null ? T(H) : ie(H) ? r.interrupt ? t(H) : e.attempt(Qa,
|
|
9004
|
+
return e.exit("directiveContainerFence"), H === null ? T(H) : ie(H) ? r.interrupt ? t(H) : e.attempt(Qa, R, T)(H) : n(H);
|
|
9005
9005
|
}
|
|
9006
9006
|
function T(H) {
|
|
9007
9007
|
return e.exit("directiveContainer"), t(H);
|
|
9008
9008
|
}
|
|
9009
|
-
function
|
|
9009
|
+
function R(H) {
|
|
9010
9010
|
return H === null ? (e.exit("directiveContainer"), t(H)) : (e.enter("directiveContainerContent"), S(H));
|
|
9011
9011
|
}
|
|
9012
9012
|
function S(H) {
|
|
9013
9013
|
return H === null ? K(H) : e.attempt({
|
|
9014
9014
|
tokenize: P,
|
|
9015
9015
|
partial: !0
|
|
9016
|
-
}, K, i ? _e(e,
|
|
9016
|
+
}, K, i ? _e(e, L, "linePrefix", i + 1) : L)(H);
|
|
9017
9017
|
}
|
|
9018
|
-
function
|
|
9018
|
+
function L(H) {
|
|
9019
9019
|
if (H === null)
|
|
9020
9020
|
return K(H);
|
|
9021
9021
|
const se = e.enter("chunkDocument", {
|
|
@@ -9044,13 +9044,13 @@ function Op(e, t, n) {
|
|
|
9044
9044
|
return e.exit("directiveContainerContent"), e.exit("directiveContainer"), t(H);
|
|
9045
9045
|
}
|
|
9046
9046
|
function P(H, se, oe) {
|
|
9047
|
-
let
|
|
9047
|
+
let O = 0;
|
|
9048
9048
|
return _e(H, G, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
9049
9049
|
function G(re) {
|
|
9050
9050
|
return H.enter("directiveContainerFence"), H.enter("directiveContainerSequence"), Y(re);
|
|
9051
9051
|
}
|
|
9052
9052
|
function Y(re) {
|
|
9053
|
-
return re === 58 ? (H.consume(re),
|
|
9053
|
+
return re === 58 ? (H.consume(re), O++, Y) : O < a ? oe(re) : (H.exit("directiveContainerSequence"), _e(H, te, "whitespace")(re));
|
|
9054
9054
|
}
|
|
9055
9055
|
function te(re) {
|
|
9056
9056
|
return re === null || ie(re) ? (H.exit("directiveContainerFence"), se(re)) : oe(re);
|
|
@@ -9704,8 +9704,8 @@ function Rm(e) {
|
|
|
9704
9704
|
continue;
|
|
9705
9705
|
const f = e.all(c), d = String(c.identifier).toUpperCase(), g = On(d.toLowerCase());
|
|
9706
9706
|
let m = 0;
|
|
9707
|
-
const T = [],
|
|
9708
|
-
for (;
|
|
9707
|
+
const T = [], R = e.footnoteCounts.get(d);
|
|
9708
|
+
for (; R !== void 0 && ++m <= R; ) {
|
|
9709
9709
|
T.length > 0 && T.push({ type: "text", value: " " });
|
|
9710
9710
|
let v = typeof n == "string" ? n : n(l, m);
|
|
9711
9711
|
typeof v == "string" && (v = { type: "text", value: v }), T.push({
|
|
@@ -9726,13 +9726,13 @@ function Rm(e) {
|
|
|
9726
9726
|
v && v.type === "text" ? v.value += " " : S.children.push({ type: "text", value: " " }), S.children.push(...T);
|
|
9727
9727
|
} else
|
|
9728
9728
|
f.push(...T);
|
|
9729
|
-
const
|
|
9729
|
+
const L = {
|
|
9730
9730
|
type: "element",
|
|
9731
9731
|
tagName: "li",
|
|
9732
9732
|
properties: { id: t + "fn-" + g },
|
|
9733
9733
|
children: e.wrap(f, !0)
|
|
9734
9734
|
};
|
|
9735
|
-
e.patch(c,
|
|
9735
|
+
e.patch(c, L), o.push(L);
|
|
9736
9736
|
}
|
|
9737
9737
|
if (o.length !== 0)
|
|
9738
9738
|
return {
|
|
@@ -9777,7 +9777,7 @@ function Om(e, t) {
|
|
|
9777
9777
|
patch: Fm,
|
|
9778
9778
|
wrap: vm
|
|
9779
9779
|
};
|
|
9780
|
-
return
|
|
9780
|
+
return Et(e, function(f) {
|
|
9781
9781
|
if (f.type === "definition" || f.type === "footnoteDefinition") {
|
|
9782
9782
|
const d = f.type === "definition" ? r : u, g = String(f.identifier).toUpperCase();
|
|
9783
9783
|
d.has(g) || d.set(g, f);
|
|
@@ -9789,8 +9789,8 @@ function Om(e, t) {
|
|
|
9789
9789
|
return m(o, f, d);
|
|
9790
9790
|
if (o.options.passThrough && o.options.passThrough.includes(g)) {
|
|
9791
9791
|
if ("children" in f) {
|
|
9792
|
-
const { children:
|
|
9793
|
-
return
|
|
9792
|
+
const { children: R, ...S } = f, L = Wt(S);
|
|
9793
|
+
return L.children = o.all(f), L;
|
|
9794
9794
|
}
|
|
9795
9795
|
return Wt(f);
|
|
9796
9796
|
}
|
|
@@ -9805,8 +9805,8 @@ function Om(e, t) {
|
|
|
9805
9805
|
const T = o.one(g[m], f);
|
|
9806
9806
|
if (T) {
|
|
9807
9807
|
if (m && g[m - 1].type === "break" && (!Array.isArray(T) && T.type === "text" && (T.value = ts(T.value)), !Array.isArray(T) && T.type === "element")) {
|
|
9808
|
-
const
|
|
9809
|
-
|
|
9808
|
+
const R = T.children[0];
|
|
9809
|
+
R && R.type === "text" && (R.value = ts(R.value));
|
|
9810
9810
|
}
|
|
9811
9811
|
Array.isArray(T) ? d.push(...T) : d.push(T);
|
|
9812
9812
|
}
|
|
@@ -9912,7 +9912,7 @@ function No(e, t) {
|
|
|
9912
9912
|
function Tn(e) {
|
|
9913
9913
|
return e.toLowerCase();
|
|
9914
9914
|
}
|
|
9915
|
-
class
|
|
9915
|
+
class Nt {
|
|
9916
9916
|
/**
|
|
9917
9917
|
* @constructor
|
|
9918
9918
|
* @param {string} property
|
|
@@ -9922,18 +9922,18 @@ class xt {
|
|
|
9922
9922
|
this.property = t, this.attribute = n;
|
|
9923
9923
|
}
|
|
9924
9924
|
}
|
|
9925
|
-
|
|
9926
|
-
|
|
9927
|
-
|
|
9928
|
-
|
|
9929
|
-
|
|
9930
|
-
|
|
9931
|
-
|
|
9932
|
-
|
|
9933
|
-
|
|
9934
|
-
|
|
9925
|
+
Nt.prototype.space = null;
|
|
9926
|
+
Nt.prototype.boolean = !1;
|
|
9927
|
+
Nt.prototype.booleanish = !1;
|
|
9928
|
+
Nt.prototype.overloadedBoolean = !1;
|
|
9929
|
+
Nt.prototype.number = !1;
|
|
9930
|
+
Nt.prototype.commaSeparated = !1;
|
|
9931
|
+
Nt.prototype.spaceSeparated = !1;
|
|
9932
|
+
Nt.prototype.commaOrSpaceSeparated = !1;
|
|
9933
|
+
Nt.prototype.mustUseProperty = !1;
|
|
9934
|
+
Nt.prototype.defined = !1;
|
|
9935
9935
|
let jm = 0;
|
|
9936
|
-
const Ae = An(), Ge = An(), Io = An(), W = An(), Me = An(), Rn = An(),
|
|
9936
|
+
const Ae = An(), Ge = An(), Io = An(), W = An(), Me = An(), Rn = An(), Tt = An();
|
|
9937
9937
|
function An() {
|
|
9938
9938
|
return 2 ** ++jm;
|
|
9939
9939
|
}
|
|
@@ -9941,13 +9941,13 @@ const Vu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
9941
9941
|
__proto__: null,
|
|
9942
9942
|
boolean: Ae,
|
|
9943
9943
|
booleanish: Ge,
|
|
9944
|
-
commaOrSpaceSeparated:
|
|
9944
|
+
commaOrSpaceSeparated: Tt,
|
|
9945
9945
|
commaSeparated: Rn,
|
|
9946
9946
|
number: W,
|
|
9947
9947
|
overloadedBoolean: Io,
|
|
9948
9948
|
spaceSeparated: Me
|
|
9949
9949
|
}, Symbol.toStringTag, { value: "Module" })), Ou = Object.keys(Vu);
|
|
9950
|
-
class gi extends
|
|
9950
|
+
class gi extends Nt {
|
|
9951
9951
|
/**
|
|
9952
9952
|
* @constructor
|
|
9953
9953
|
* @param {string} property
|
|
@@ -10611,7 +10611,7 @@ const Oo = Fn({
|
|
|
10611
10611
|
},
|
|
10612
10612
|
transform: Ro,
|
|
10613
10613
|
properties: {
|
|
10614
|
-
about:
|
|
10614
|
+
about: Tt,
|
|
10615
10615
|
accentHeight: W,
|
|
10616
10616
|
accumulate: null,
|
|
10617
10617
|
additive: null,
|
|
@@ -10723,7 +10723,7 @@ const Oo = Fn({
|
|
|
10723
10723
|
k2: W,
|
|
10724
10724
|
k3: W,
|
|
10725
10725
|
k4: W,
|
|
10726
|
-
kernelMatrix:
|
|
10726
|
+
kernelMatrix: Tt,
|
|
10727
10727
|
kernelUnitLength: null,
|
|
10728
10728
|
keyPoints: null,
|
|
10729
10729
|
// SEMI_COLON_SEPARATED
|
|
@@ -10880,21 +10880,21 @@ const Oo = Fn({
|
|
|
10880
10880
|
preserveAspectRatio: null,
|
|
10881
10881
|
primitiveUnits: null,
|
|
10882
10882
|
propagate: null,
|
|
10883
|
-
property:
|
|
10883
|
+
property: Tt,
|
|
10884
10884
|
r: null,
|
|
10885
10885
|
radius: null,
|
|
10886
10886
|
referrerPolicy: null,
|
|
10887
10887
|
refX: null,
|
|
10888
10888
|
refY: null,
|
|
10889
|
-
rel:
|
|
10890
|
-
rev:
|
|
10889
|
+
rel: Tt,
|
|
10890
|
+
rev: Tt,
|
|
10891
10891
|
renderingIntent: null,
|
|
10892
10892
|
repeatCount: null,
|
|
10893
10893
|
repeatDur: null,
|
|
10894
|
-
requiredExtensions:
|
|
10895
|
-
requiredFeatures:
|
|
10896
|
-
requiredFonts:
|
|
10897
|
-
requiredFormats:
|
|
10894
|
+
requiredExtensions: Tt,
|
|
10895
|
+
requiredFeatures: Tt,
|
|
10896
|
+
requiredFonts: Tt,
|
|
10897
|
+
requiredFormats: Tt,
|
|
10898
10898
|
resource: null,
|
|
10899
10899
|
restart: null,
|
|
10900
10900
|
result: null,
|
|
@@ -10922,7 +10922,7 @@ const Oo = Fn({
|
|
|
10922
10922
|
strikethroughThickness: W,
|
|
10923
10923
|
string: null,
|
|
10924
10924
|
stroke: null,
|
|
10925
|
-
strokeDashArray:
|
|
10925
|
+
strokeDashArray: Tt,
|
|
10926
10926
|
strokeDashOffset: null,
|
|
10927
10927
|
strokeLineCap: null,
|
|
10928
10928
|
strokeLineJoin: null,
|
|
@@ -10936,7 +10936,7 @@ const Oo = Fn({
|
|
|
10936
10936
|
syncMaster: null,
|
|
10937
10937
|
syncTolerance: null,
|
|
10938
10938
|
syncToleranceDefault: null,
|
|
10939
|
-
systemLanguage:
|
|
10939
|
+
systemLanguage: Tt,
|
|
10940
10940
|
tabIndex: W,
|
|
10941
10941
|
tableValues: null,
|
|
10942
10942
|
target: null,
|
|
@@ -10950,7 +10950,7 @@ const Oo = Fn({
|
|
|
10950
10950
|
title: null,
|
|
10951
10951
|
transformBehavior: null,
|
|
10952
10952
|
type: null,
|
|
10953
|
-
typeOf:
|
|
10953
|
+
typeOf: Tt,
|
|
10954
10954
|
to: null,
|
|
10955
10955
|
transform: null,
|
|
10956
10956
|
transformOrigin: null,
|
|
@@ -10994,7 +10994,7 @@ const Oo = Fn({
|
|
|
10994
10994
|
}), Vm = /^data[-\w.:]+$/i, us = /-[a-z]/g, $m = /[A-Z]/g;
|
|
10995
10995
|
function Er(e, t) {
|
|
10996
10996
|
const n = Tn(t);
|
|
10997
|
-
let r = t, u =
|
|
10997
|
+
let r = t, u = Nt;
|
|
10998
10998
|
if (n in e.normal)
|
|
10999
10999
|
return e.property[e.normal[n]];
|
|
11000
11000
|
if (n.length > 4 && n.slice(0, 4) === "data" && Vm.test(t)) {
|
|
@@ -12001,10 +12001,10 @@ var un;
|
|
|
12001
12001
|
(function(e) {
|
|
12002
12002
|
e.TYPE = "type", e.ACTION = "action", e.ENCODING = "encoding", e.PROMPT = "prompt", e.NAME = "name", e.COLOR = "color", e.FACE = "face", e.SIZE = "size";
|
|
12003
12003
|
})(un = un || (un = {}));
|
|
12004
|
-
var
|
|
12004
|
+
var At;
|
|
12005
12005
|
(function(e) {
|
|
12006
12006
|
e.NO_QUIRKS = "no-quirks", e.QUIRKS = "quirks", e.LIMITED_QUIRKS = "limited-quirks";
|
|
12007
|
-
})(
|
|
12007
|
+
})(At = At || (At = {}));
|
|
12008
12008
|
var I;
|
|
12009
12009
|
(function(e) {
|
|
12010
12010
|
e.A = "a", e.ADDRESS = "address", e.ANNOTATION_XML = "annotation-xml", e.APPLET = "applet", e.AREA = "area", e.ARTICLE = "article", e.ASIDE = "aside", e.B = "b", e.BASE = "base", e.BASEFONT = "basefont", e.BGSOUND = "bgsound", e.BIG = "big", e.BLOCKQUOTE = "blockquote", e.BODY = "body", e.BR = "br", e.BUTTON = "button", e.CAPTION = "caption", e.CENTER = "center", e.CODE = "code", e.COL = "col", e.COLGROUP = "colgroup", e.DD = "dd", e.DESC = "desc", e.DETAILS = "details", e.DIALOG = "dialog", e.DIR = "dir", e.DIV = "div", e.DL = "dl", e.DT = "dt", e.EM = "em", e.EMBED = "embed", e.FIELDSET = "fieldset", e.FIGCAPTION = "figcaption", e.FIGURE = "figure", e.FONT = "font", e.FOOTER = "footer", e.FOREIGN_OBJECT = "foreignObject", e.FORM = "form", e.FRAME = "frame", e.FRAMESET = "frameset", e.H1 = "h1", e.H2 = "h2", e.H3 = "h3", e.H4 = "h4", e.H5 = "h5", e.H6 = "h6", e.HEAD = "head", e.HEADER = "header", e.HGROUP = "hgroup", e.HR = "hr", e.HTML = "html", e.I = "i", e.IMG = "img", e.IMAGE = "image", e.INPUT = "input", e.IFRAME = "iframe", e.KEYGEN = "keygen", e.LABEL = "label", e.LI = "li", e.LINK = "link", e.LISTING = "listing", e.MAIN = "main", e.MALIGNMARK = "malignmark", e.MARQUEE = "marquee", e.MATH = "math", e.MENU = "menu", e.META = "meta", e.MGLYPH = "mglyph", e.MI = "mi", e.MO = "mo", e.MN = "mn", e.MS = "ms", e.MTEXT = "mtext", e.NAV = "nav", e.NOBR = "nobr", e.NOFRAMES = "noframes", e.NOEMBED = "noembed", e.NOSCRIPT = "noscript", e.OBJECT = "object", e.OL = "ol", e.OPTGROUP = "optgroup", e.OPTION = "option", e.P = "p", e.PARAM = "param", e.PLAINTEXT = "plaintext", e.PRE = "pre", e.RB = "rb", e.RP = "rp", e.RT = "rt", e.RTC = "rtc", e.RUBY = "ruby", e.S = "s", e.SCRIPT = "script", e.SECTION = "section", e.SELECT = "select", e.SOURCE = "source", e.SMALL = "small", e.SPAN = "span", e.STRIKE = "strike", e.STRONG = "strong", e.STYLE = "style", e.SUB = "sub", e.SUMMARY = "summary", e.SUP = "sup", e.TABLE = "table", e.TBODY = "tbody", e.TEMPLATE = "template", e.TEXTAREA = "textarea", e.TFOOT = "tfoot", e.TD = "td", e.TH = "th", e.THEAD = "thead", e.TITLE = "title", e.TR = "tr", e.TRACK = "track", e.TT = "tt", e.U = "u", e.UL = "ul", e.SVG = "svg", e.VAR = "var", e.WBR = "wbr", e.XMP = "xmp";
|
|
@@ -14499,11 +14499,11 @@ class $1 {
|
|
|
14499
14499
|
}
|
|
14500
14500
|
}
|
|
14501
14501
|
const Pu = 3;
|
|
14502
|
-
var
|
|
14502
|
+
var Lt;
|
|
14503
14503
|
(function(e) {
|
|
14504
14504
|
e[e.Marker = 0] = "Marker", e[e.Element = 1] = "Element";
|
|
14505
|
-
})(
|
|
14506
|
-
const fs = { type:
|
|
14505
|
+
})(Lt = Lt || (Lt = {}));
|
|
14506
|
+
const fs = { type: Lt.Marker };
|
|
14507
14507
|
class W1 {
|
|
14508
14508
|
constructor(t) {
|
|
14509
14509
|
this.treeAdapter = t, this.entries = [], this.bookmark = null;
|
|
@@ -14515,7 +14515,7 @@ class W1 {
|
|
|
14515
14515
|
const r = [], u = n.length, i = this.treeAdapter.getTagName(t), a = this.treeAdapter.getNamespaceURI(t);
|
|
14516
14516
|
for (let o = 0; o < this.entries.length; o++) {
|
|
14517
14517
|
const l = this.entries[o];
|
|
14518
|
-
if (l.type ===
|
|
14518
|
+
if (l.type === Lt.Marker)
|
|
14519
14519
|
break;
|
|
14520
14520
|
const { element: c } = l;
|
|
14521
14521
|
if (this.treeAdapter.getTagName(c) === i && this.treeAdapter.getNamespaceURI(c) === a) {
|
|
@@ -14544,7 +14544,7 @@ class W1 {
|
|
|
14544
14544
|
}
|
|
14545
14545
|
pushElement(t, n) {
|
|
14546
14546
|
this._ensureNoahArkCondition(t), this.entries.unshift({
|
|
14547
|
-
type:
|
|
14547
|
+
type: Lt.Element,
|
|
14548
14548
|
element: t,
|
|
14549
14549
|
token: n
|
|
14550
14550
|
});
|
|
@@ -14552,7 +14552,7 @@ class W1 {
|
|
|
14552
14552
|
insertElementAfterBookmark(t, n) {
|
|
14553
14553
|
const r = this.entries.indexOf(this.bookmark);
|
|
14554
14554
|
this.entries.splice(r, 0, {
|
|
14555
|
-
type:
|
|
14555
|
+
type: Lt.Element,
|
|
14556
14556
|
element: t,
|
|
14557
14557
|
token: n
|
|
14558
14558
|
});
|
|
@@ -14572,11 +14572,11 @@ class W1 {
|
|
|
14572
14572
|
}
|
|
14573
14573
|
//Search
|
|
14574
14574
|
getElementEntryInScopeWithTagName(t) {
|
|
14575
|
-
const n = this.entries.find((r) => r.type ===
|
|
14576
|
-
return n && n.type ===
|
|
14575
|
+
const n = this.entries.find((r) => r.type === Lt.Marker || this.treeAdapter.getTagName(r.element) === t);
|
|
14576
|
+
return n && n.type === Lt.Element ? n : null;
|
|
14577
14577
|
}
|
|
14578
14578
|
getElementEntry(t) {
|
|
14579
|
-
return this.entries.find((n) => n.type ===
|
|
14579
|
+
return this.entries.find((n) => n.type === Lt.Element && n.element === t);
|
|
14580
14580
|
}
|
|
14581
14581
|
}
|
|
14582
14582
|
function hs(e) {
|
|
@@ -14591,7 +14591,7 @@ const Sn = {
|
|
|
14591
14591
|
createDocument() {
|
|
14592
14592
|
return {
|
|
14593
14593
|
nodeName: "#document",
|
|
14594
|
-
mode:
|
|
14594
|
+
mode: At.NO_QUIRKS,
|
|
14595
14595
|
childNodes: []
|
|
14596
14596
|
};
|
|
14597
14597
|
},
|
|
@@ -14813,21 +14813,21 @@ function Z1(e) {
|
|
|
14813
14813
|
}
|
|
14814
14814
|
function eE(e) {
|
|
14815
14815
|
if (e.name !== Jo)
|
|
14816
|
-
return
|
|
14816
|
+
return At.QUIRKS;
|
|
14817
14817
|
const { systemId: t } = e;
|
|
14818
14818
|
if (t && t.toLowerCase() === G1)
|
|
14819
|
-
return
|
|
14819
|
+
return At.QUIRKS;
|
|
14820
14820
|
let { publicId: n } = e;
|
|
14821
14821
|
if (n !== null) {
|
|
14822
14822
|
if (n = n.toLowerCase(), K1.has(n))
|
|
14823
|
-
return
|
|
14823
|
+
return At.QUIRKS;
|
|
14824
14824
|
let r = t === null ? X1 : Zo;
|
|
14825
14825
|
if (ds(n, r))
|
|
14826
|
-
return
|
|
14826
|
+
return At.QUIRKS;
|
|
14827
14827
|
if (r = t === null ? el : J1, ds(n, r))
|
|
14828
|
-
return
|
|
14828
|
+
return At.LIMITED_QUIRKS;
|
|
14829
14829
|
}
|
|
14830
|
-
return
|
|
14830
|
+
return At.NO_QUIRKS;
|
|
14831
14831
|
}
|
|
14832
14832
|
const ps = {
|
|
14833
14833
|
TEXT_HTML: "text/html",
|
|
@@ -15290,7 +15290,7 @@ class Es {
|
|
|
15290
15290
|
_reconstructActiveFormattingElements() {
|
|
15291
15291
|
const t = this.activeFormattingElements.entries.length;
|
|
15292
15292
|
if (t) {
|
|
15293
|
-
const n = this.activeFormattingElements.entries.findIndex((u) => u.type ===
|
|
15293
|
+
const n = this.activeFormattingElements.entries.findIndex((u) => u.type === Lt.Marker || this.openElements.contains(u.element)), r = n < 0 ? t - 1 : n - 1;
|
|
15294
15294
|
for (let u = r; u >= 0; u--) {
|
|
15295
15295
|
const i = this.activeFormattingElements.entries[u];
|
|
15296
15296
|
this._insertElement(i.token, this.treeAdapter.getNamespaceURI(i.element)), i.element = this.openElements.current;
|
|
@@ -15983,11 +15983,11 @@ function Di(e, t) {
|
|
|
15983
15983
|
}
|
|
15984
15984
|
function yE(e, t) {
|
|
15985
15985
|
e._setDocumentType(t);
|
|
15986
|
-
const n = t.forceQuirks ?
|
|
15986
|
+
const n = t.forceQuirks ? At.QUIRKS : eE(t);
|
|
15987
15987
|
Z1(t) || e._err(t, w.nonConformingDoctype), e.treeAdapter.setDocumentMode(e.document, n), e.insertionMode = _.BEFORE_HTML;
|
|
15988
15988
|
}
|
|
15989
15989
|
function Xn(e, t) {
|
|
15990
|
-
e._err(t, w.missingDoctype, !0), e.treeAdapter.setDocumentMode(e.document,
|
|
15990
|
+
e._err(t, w.missingDoctype, !0), e.treeAdapter.setDocumentMode(e.document, At.QUIRKS), e.insertionMode = _.BEFORE_HTML, e._processToken(t);
|
|
15991
15991
|
}
|
|
15992
15992
|
function xE(e, t) {
|
|
15993
15993
|
t.tagID === s.HTML ? (e._insertElement(t, U.HTML), e.insertionMode = _.BEFORE_HEAD) : rr(e, t);
|
|
@@ -16277,7 +16277,7 @@ function WE(e, t) {
|
|
|
16277
16277
|
e._reconstructActiveFormattingElements(), e._insertElement(t, U.HTML), e.activeFormattingElements.insertMarker(), e.framesetOk = !1;
|
|
16278
16278
|
}
|
|
16279
16279
|
function QE(e, t) {
|
|
16280
|
-
e.treeAdapter.getDocumentMode(e.document) !==
|
|
16280
|
+
e.treeAdapter.getDocumentMode(e.document) !== At.QUIRKS && e.openElements.hasInButtonScope(s.P) && e._closePElement(), e._insertElement(t, U.HTML), e.framesetOk = !1, e.insertionMode = _.IN_TABLE;
|
|
16281
16281
|
}
|
|
16282
16282
|
function al(e, t) {
|
|
16283
16283
|
e._reconstructActiveFormattingElements(), e._appendElement(t, U.HTML), e.framesetOk = !1, t.ackSelfClosing = !0;
|
|
@@ -17261,7 +17261,7 @@ function Tl(e, t) {
|
|
|
17261
17261
|
// To do: support `space`?
|
|
17262
17262
|
file: u.options.file
|
|
17263
17263
|
});
|
|
17264
|
-
return u.stitches &&
|
|
17264
|
+
return u.stitches && Et(a, "comment", function(o, l, c) {
|
|
17265
17265
|
const f = (
|
|
17266
17266
|
/** @type {Stitch} */
|
|
17267
17267
|
/** @type {unknown} */
|
|
@@ -17515,17 +17515,17 @@ const pg = ["http", "https"], mg = ["nofollow"], Eg = {};
|
|
|
17515
17515
|
function bg(e) {
|
|
17516
17516
|
const t = e || Eg, n = t.protocols || pg, r = Dl(t.test);
|
|
17517
17517
|
return function(u) {
|
|
17518
|
-
|
|
17518
|
+
Et(u, "element", function(i, a, o) {
|
|
17519
17519
|
if (i.tagName === "a" && typeof i.properties.href == "string" && r(i, a, o)) {
|
|
17520
17520
|
const l = i.properties.href;
|
|
17521
17521
|
if (dg(l) ? n.includes(l.slice(0, l.indexOf(":"))) : l.startsWith("//")) {
|
|
17522
17522
|
const c = Jn(t.content, i), f = c && !Array.isArray(c) ? [c] : c, d = Jn(t.rel, i) || mg, g = typeof d == "string" ? cr(d) : d, m = Jn(t.target, i), T = Jn(t.properties, i);
|
|
17523
17523
|
if (T && Object.assign(i.properties, Wt(T)), g.length > 0 && (i.properties.rel = [...g]), m && (i.properties.target = m), f) {
|
|
17524
|
-
const
|
|
17524
|
+
const R = Jn(t.contentProperties, i) || {};
|
|
17525
17525
|
i.children.push({
|
|
17526
17526
|
type: "element",
|
|
17527
17527
|
tagName: "span",
|
|
17528
|
-
properties: Wt(
|
|
17528
|
+
properties: Wt(R),
|
|
17529
17529
|
children: Wt(f)
|
|
17530
17530
|
});
|
|
17531
17531
|
}
|
|
@@ -17544,7 +17544,7 @@ function yl(e) {
|
|
|
17544
17544
|
function gg(e, t) {
|
|
17545
17545
|
if (typeof t != "number" || !t || !Number.isFinite(t) || Math.floor(t) !== t)
|
|
17546
17546
|
throw new Error("Expected a non-null finite integer, not `" + t + "`");
|
|
17547
|
-
|
|
17547
|
+
Et(e, "element", function(n) {
|
|
17548
17548
|
let r = yl(n);
|
|
17549
17549
|
r && (r += t, n.tagName = "h" + (r > 6 ? 6 : r < 1 ? 1 : r));
|
|
17550
17550
|
});
|
|
@@ -17576,15 +17576,15 @@ var xl = {}, Cs = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Ng = /\n/g, Ig = /^\s*/, Sg
|
|
|
17576
17576
|
t = t || {};
|
|
17577
17577
|
var n = 1, r = 1;
|
|
17578
17578
|
function u(T) {
|
|
17579
|
-
var
|
|
17580
|
-
|
|
17579
|
+
var R = T.match(Ng);
|
|
17580
|
+
R && (n += R.length);
|
|
17581
17581
|
var S = T.lastIndexOf(Fg);
|
|
17582
17582
|
r = ~S ? T.length - S : r + T.length;
|
|
17583
17583
|
}
|
|
17584
17584
|
function i() {
|
|
17585
17585
|
var T = { line: n, column: r };
|
|
17586
|
-
return function(
|
|
17587
|
-
return
|
|
17586
|
+
return function(R) {
|
|
17587
|
+
return R.position = new a(T), c(), R;
|
|
17588
17588
|
};
|
|
17589
17589
|
}
|
|
17590
17590
|
function a(T) {
|
|
@@ -17592,60 +17592,60 @@ var xl = {}, Cs = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Ng = /\n/g, Ig = /^\s*/, Sg
|
|
|
17592
17592
|
}
|
|
17593
17593
|
a.prototype.content = e;
|
|
17594
17594
|
function o(T) {
|
|
17595
|
-
var
|
|
17595
|
+
var R = new Error(
|
|
17596
17596
|
t.source + ":" + n + ":" + r + ": " + T
|
|
17597
17597
|
);
|
|
17598
|
-
if (
|
|
17599
|
-
throw
|
|
17598
|
+
if (R.reason = T, R.filename = t.source, R.line = n, R.column = r, R.source = e, !t.silent)
|
|
17599
|
+
throw R;
|
|
17600
17600
|
}
|
|
17601
17601
|
function l(T) {
|
|
17602
|
-
var
|
|
17603
|
-
if (
|
|
17604
|
-
var S =
|
|
17605
|
-
return u(S), e = e.slice(S.length),
|
|
17602
|
+
var R = T.exec(e);
|
|
17603
|
+
if (R) {
|
|
17604
|
+
var S = R[0];
|
|
17605
|
+
return u(S), e = e.slice(S.length), R;
|
|
17606
17606
|
}
|
|
17607
17607
|
}
|
|
17608
17608
|
function c() {
|
|
17609
17609
|
l(Ig);
|
|
17610
17610
|
}
|
|
17611
17611
|
function f(T) {
|
|
17612
|
-
var
|
|
17613
|
-
for (T = T || [];
|
|
17614
|
-
|
|
17612
|
+
var R;
|
|
17613
|
+
for (T = T || []; R = d(); )
|
|
17614
|
+
R !== !1 && T.push(R);
|
|
17615
17615
|
return T;
|
|
17616
17616
|
}
|
|
17617
17617
|
function d() {
|
|
17618
17618
|
var T = i();
|
|
17619
17619
|
if (!(Ds != e.charAt(0) || ys != e.charAt(1))) {
|
|
17620
|
-
for (var
|
|
17621
|
-
++
|
|
17622
|
-
if (
|
|
17620
|
+
for (var R = 2; En != e.charAt(R) && (ys != e.charAt(R) || Ds != e.charAt(R + 1)); )
|
|
17621
|
+
++R;
|
|
17622
|
+
if (R += 2, En === e.charAt(R - 1))
|
|
17623
17623
|
return o("End of comment missing");
|
|
17624
|
-
var S = e.slice(2,
|
|
17625
|
-
return r += 2, u(S), e = e.slice(
|
|
17624
|
+
var S = e.slice(2, R - 2);
|
|
17625
|
+
return r += 2, u(S), e = e.slice(R), r += 2, T({
|
|
17626
17626
|
type: Pg,
|
|
17627
17627
|
comment: S
|
|
17628
17628
|
});
|
|
17629
17629
|
}
|
|
17630
17630
|
}
|
|
17631
17631
|
function g() {
|
|
17632
|
-
var T = i(),
|
|
17633
|
-
if (
|
|
17632
|
+
var T = i(), R = l(Sg);
|
|
17633
|
+
if (R) {
|
|
17634
17634
|
if (d(), !l(kg))
|
|
17635
17635
|
return o("property missing ':'");
|
|
17636
|
-
var S = l(Rg),
|
|
17636
|
+
var S = l(Rg), L = T({
|
|
17637
17637
|
type: wg,
|
|
17638
|
-
property: xs(
|
|
17638
|
+
property: xs(R[0].replace(Cs, En)),
|
|
17639
17639
|
value: S ? xs(S[0].replace(Cs, En)) : En
|
|
17640
17640
|
});
|
|
17641
|
-
return l(Lg),
|
|
17641
|
+
return l(Lg), L;
|
|
17642
17642
|
}
|
|
17643
17643
|
}
|
|
17644
17644
|
function m() {
|
|
17645
17645
|
var T = [];
|
|
17646
17646
|
f(T);
|
|
17647
|
-
for (var
|
|
17648
|
-
|
|
17647
|
+
for (var R; R = g(); )
|
|
17648
|
+
R !== !1 && (T.push(R), f(T));
|
|
17649
17649
|
return T;
|
|
17650
17650
|
}
|
|
17651
17651
|
return c(), m();
|
|
@@ -18037,7 +18037,7 @@ const mT = {}, Is = new Rl();
|
|
|
18037
18037
|
function ET(e) {
|
|
18038
18038
|
const n = (e || mT).prefix || "";
|
|
18039
18039
|
return function(r) {
|
|
18040
|
-
Is.reset(),
|
|
18040
|
+
Is.reset(), Et(r, "element", function(u) {
|
|
18041
18041
|
yl(u) && !u.properties.id && (u.properties.id = n + Is.slug(dT(u)));
|
|
18042
18042
|
});
|
|
18043
18043
|
};
|
|
@@ -18057,7 +18057,7 @@ function bT() {
|
|
|
18057
18057
|
if (Ss)
|
|
18058
18058
|
return Zn;
|
|
18059
18059
|
Ss = 1;
|
|
18060
|
-
var e =
|
|
18060
|
+
var e = mt, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, u = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18061
18061
|
function a(o, l, c) {
|
|
18062
18062
|
var f, d = {}, g = null, m = null;
|
|
18063
18063
|
c !== void 0 && (g = "" + c), l.key !== void 0 && (g = "" + l.key), l.ref !== void 0 && (m = l.ref);
|
|
@@ -18083,14 +18083,14 @@ var Or = {};
|
|
|
18083
18083
|
var ks;
|
|
18084
18084
|
function gT() {
|
|
18085
18085
|
return ks || (ks = 1, process.env.NODE_ENV !== "production" && function() {
|
|
18086
|
-
var e =
|
|
18086
|
+
var e = mt, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), o = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), T = Symbol.iterator, R = "@@iterator";
|
|
18087
18087
|
function S(h) {
|
|
18088
18088
|
if (h === null || typeof h != "object")
|
|
18089
18089
|
return null;
|
|
18090
|
-
var y = T && h[T] || h[
|
|
18090
|
+
var y = T && h[T] || h[R];
|
|
18091
18091
|
return typeof y == "function" ? y : null;
|
|
18092
18092
|
}
|
|
18093
|
-
var
|
|
18093
|
+
var L = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
18094
18094
|
function v(h) {
|
|
18095
18095
|
{
|
|
18096
18096
|
for (var y = arguments.length, k = new Array(y > 1 ? y - 1 : 0), V = 1; V < y; V++)
|
|
@@ -18100,7 +18100,7 @@ function gT() {
|
|
|
18100
18100
|
}
|
|
18101
18101
|
function j(h, y, k) {
|
|
18102
18102
|
{
|
|
18103
|
-
var V =
|
|
18103
|
+
var V = L.ReactDebugCurrentFrame, ne = V.getStackAddendum();
|
|
18104
18104
|
ne !== "" && (y += "%s", k = k.concat([ne]));
|
|
18105
18105
|
var ae = k.map(function(Z) {
|
|
18106
18106
|
return String(Z);
|
|
@@ -18110,7 +18110,7 @@ function gT() {
|
|
|
18110
18110
|
}
|
|
18111
18111
|
var ee = !1, K = !1, P = !1, H = !1, se = !1, oe;
|
|
18112
18112
|
oe = Symbol.for("react.module.reference");
|
|
18113
|
-
function
|
|
18113
|
+
function O(h) {
|
|
18114
18114
|
return !!(typeof h == "string" || typeof h == "function" || h === r || h === i || se || h === u || h === c || h === f || H || h === m || ee || K || P || typeof h == "object" && h !== null && (h.$$typeof === g || h.$$typeof === d || h.$$typeof === a || h.$$typeof === o || h.$$typeof === l || // This needs to include all possible module reference object
|
|
18115
18115
|
// types supported by any Flight configuration anywhere since
|
|
18116
18116
|
// we don't know which Flight build this will end up being used
|
|
@@ -18234,7 +18234,7 @@ function gT() {
|
|
|
18234
18234
|
x < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
18235
18235
|
}
|
|
18236
18236
|
}
|
|
18237
|
-
var fe =
|
|
18237
|
+
var fe = L.ReactCurrentDispatcher, Se;
|
|
18238
18238
|
function Te(h, y, k) {
|
|
18239
18239
|
{
|
|
18240
18240
|
if (Se === void 0)
|
|
@@ -18360,7 +18360,7 @@ function gT() {
|
|
|
18360
18360
|
}
|
|
18361
18361
|
return "";
|
|
18362
18362
|
}
|
|
18363
|
-
var Ze = Object.prototype.hasOwnProperty,
|
|
18363
|
+
var Ze = Object.prototype.hasOwnProperty, bt = {}, Yt = L.ReactDebugCurrentFrame;
|
|
18364
18364
|
function st(h) {
|
|
18365
18365
|
if (h) {
|
|
18366
18366
|
var y = h._owner, k = ht(h.type, h._source, y ? y.type : null);
|
|
@@ -18383,13 +18383,13 @@ function gT() {
|
|
|
18383
18383
|
} catch (pe) {
|
|
18384
18384
|
X = pe;
|
|
18385
18385
|
}
|
|
18386
|
-
X && !(X instanceof Error) && (st(ne), v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", V || "React class", k, Z, typeof X), st(null)), X instanceof Error && !(X.message in
|
|
18386
|
+
X && !(X instanceof Error) && (st(ne), v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", V || "React class", k, Z, typeof X), st(null)), X instanceof Error && !(X.message in bt) && (bt[X.message] = !0, st(ne), v("Failed %s type: %s", k, X.message), st(null));
|
|
18387
18387
|
}
|
|
18388
18388
|
}
|
|
18389
18389
|
}
|
|
18390
|
-
var
|
|
18391
|
-
function
|
|
18392
|
-
return
|
|
18390
|
+
var It = Array.isArray;
|
|
18391
|
+
function _t(h) {
|
|
18392
|
+
return It(h);
|
|
18393
18393
|
}
|
|
18394
18394
|
function Jt(h) {
|
|
18395
18395
|
{
|
|
@@ -18399,26 +18399,26 @@ function gT() {
|
|
|
18399
18399
|
}
|
|
18400
18400
|
function Zt(h) {
|
|
18401
18401
|
try {
|
|
18402
|
-
return
|
|
18402
|
+
return St(h), !1;
|
|
18403
18403
|
} catch {
|
|
18404
18404
|
return !0;
|
|
18405
18405
|
}
|
|
18406
18406
|
}
|
|
18407
|
-
function
|
|
18407
|
+
function St(h) {
|
|
18408
18408
|
return "" + h;
|
|
18409
18409
|
}
|
|
18410
18410
|
function M(h) {
|
|
18411
18411
|
if (Zt(h))
|
|
18412
|
-
return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Jt(h)),
|
|
18412
|
+
return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Jt(h)), St(h);
|
|
18413
18413
|
}
|
|
18414
|
-
var $ =
|
|
18414
|
+
var $ = L.ReactCurrentOwner, ce = {
|
|
18415
18415
|
key: !0,
|
|
18416
18416
|
ref: !0,
|
|
18417
18417
|
__self: !0,
|
|
18418
18418
|
__source: !0
|
|
18419
18419
|
}, me, ke, Ye;
|
|
18420
18420
|
Ye = {};
|
|
18421
|
-
function
|
|
18421
|
+
function gt(h) {
|
|
18422
18422
|
if (Ze.call(h, "ref")) {
|
|
18423
18423
|
var y = Object.getOwnPropertyDescriptor(h, "ref").get;
|
|
18424
18424
|
if (y && y.isReactWarning)
|
|
@@ -18434,7 +18434,7 @@ function gT() {
|
|
|
18434
18434
|
}
|
|
18435
18435
|
return h.key !== void 0;
|
|
18436
18436
|
}
|
|
18437
|
-
function
|
|
18437
|
+
function kt(h, y) {
|
|
18438
18438
|
if (typeof h.ref == "string" && $.current && y && $.current.stateNode !== y) {
|
|
18439
18439
|
var k = te($.current.type);
|
|
18440
18440
|
Ye[k] || (v('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', te($.current.type), h.ref), Ye[k] = !0);
|
|
@@ -18462,7 +18462,7 @@ function gT() {
|
|
|
18462
18462
|
});
|
|
18463
18463
|
}
|
|
18464
18464
|
}
|
|
18465
|
-
var
|
|
18465
|
+
var Ct = function(h, y, k, V, ne, ae, Z) {
|
|
18466
18466
|
var X = {
|
|
18467
18467
|
// This tag allows us to uniquely identify this as a React Element
|
|
18468
18468
|
$$typeof: t,
|
|
@@ -18494,7 +18494,7 @@ function gT() {
|
|
|
18494
18494
|
function ct(h, y, k, V, ne) {
|
|
18495
18495
|
{
|
|
18496
18496
|
var ae, Z = {}, X = null, Fe = null;
|
|
18497
|
-
k !== void 0 && (M(k), X = "" + k), lt(y) && (M(y.key), X = "" + y.key),
|
|
18497
|
+
k !== void 0 && (M(k), X = "" + k), lt(y) && (M(y.key), X = "" + y.key), gt(y) && (Fe = y.ref, kt(y, ne));
|
|
18498
18498
|
for (ae in y)
|
|
18499
18499
|
Ze.call(y, ae) && !ce.hasOwnProperty(ae) && (Z[ae] = y[ae]);
|
|
18500
18500
|
if (h && h.defaultProps) {
|
|
@@ -18506,10 +18506,10 @@ function gT() {
|
|
|
18506
18506
|
var Ee = typeof h == "function" ? h.displayName || h.name || "Unknown" : h;
|
|
18507
18507
|
X && rt(Z, Ee), Fe && We(Z, Ee);
|
|
18508
18508
|
}
|
|
18509
|
-
return
|
|
18509
|
+
return Ct(h, X, Fe, ne, V, $.current, Z);
|
|
18510
18510
|
}
|
|
18511
18511
|
}
|
|
18512
|
-
var vt =
|
|
18512
|
+
var vt = L.ReactCurrentOwner, on = L.ReactDebugCurrentFrame;
|
|
18513
18513
|
function ut(h) {
|
|
18514
18514
|
if (h) {
|
|
18515
18515
|
var y = h._owner, k = ht(h.type, h._source, y ? y.type : null);
|
|
@@ -18517,9 +18517,9 @@ function gT() {
|
|
|
18517
18517
|
} else
|
|
18518
18518
|
on.setExtraStackFrame(null);
|
|
18519
18519
|
}
|
|
18520
|
-
var
|
|
18521
|
-
|
|
18522
|
-
function
|
|
18520
|
+
var Rt;
|
|
18521
|
+
Rt = !1;
|
|
18522
|
+
function Dt(h) {
|
|
18523
18523
|
return typeof h == "object" && h !== null && h.$$typeof === t;
|
|
18524
18524
|
}
|
|
18525
18525
|
function Bt() {
|
|
@@ -18567,18 +18567,18 @@ Check the top-level render call using <` + k + ">.");
|
|
|
18567
18567
|
{
|
|
18568
18568
|
if (typeof h != "object")
|
|
18569
18569
|
return;
|
|
18570
|
-
if (
|
|
18570
|
+
if (_t(h))
|
|
18571
18571
|
for (var k = 0; k < h.length; k++) {
|
|
18572
18572
|
var V = h[k];
|
|
18573
|
-
|
|
18573
|
+
Dt(V) && cn(V, y);
|
|
18574
18574
|
}
|
|
18575
|
-
else if (
|
|
18575
|
+
else if (Dt(h))
|
|
18576
18576
|
h._store && (h._store.validated = !0);
|
|
18577
18577
|
else if (h) {
|
|
18578
18578
|
var ne = S(h);
|
|
18579
18579
|
if (typeof ne == "function" && ne !== h.entries)
|
|
18580
18580
|
for (var ae = ne.call(h), Z; !(Z = ae.next()).done; )
|
|
18581
|
-
|
|
18581
|
+
Dt(Z.value) && cn(Z.value, y);
|
|
18582
18582
|
}
|
|
18583
18583
|
}
|
|
18584
18584
|
}
|
|
@@ -18599,8 +18599,8 @@ Check the top-level render call using <` + k + ">.");
|
|
|
18599
18599
|
if (k) {
|
|
18600
18600
|
var V = te(y);
|
|
18601
18601
|
ot(k, h.props, "prop", V, h);
|
|
18602
|
-
} else if (y.PropTypes !== void 0 && !
|
|
18603
|
-
|
|
18602
|
+
} else if (y.PropTypes !== void 0 && !Rt) {
|
|
18603
|
+
Rt = !0;
|
|
18604
18604
|
var ne = te(y);
|
|
18605
18605
|
v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ne || "Unknown");
|
|
18606
18606
|
}
|
|
@@ -18622,14 +18622,14 @@ Check the top-level render call using <` + k + ">.");
|
|
|
18622
18622
|
var en = {};
|
|
18623
18623
|
function dn(h, y, k, V, ne, ae) {
|
|
18624
18624
|
{
|
|
18625
|
-
var Z =
|
|
18625
|
+
var Z = O(h);
|
|
18626
18626
|
if (!Z) {
|
|
18627
18627
|
var X = "";
|
|
18628
18628
|
(h === void 0 || typeof h == "object" && h !== null && Object.keys(h).length === 0) && (X += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
18629
18629
|
var Fe = Mn();
|
|
18630
18630
|
Fe ? X += Fe : X += Bt();
|
|
18631
18631
|
var pe;
|
|
18632
|
-
h === null ? pe = "null" :
|
|
18632
|
+
h === null ? pe = "null" : _t(h) ? pe = "array" : h !== void 0 && h.$$typeof === t ? (pe = "<" + (te(h.type) || "Unknown") + " />", X = " Did you accidentally export a JSX literal instead of a component?") : pe = typeof h, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", pe, X);
|
|
18633
18633
|
}
|
|
18634
18634
|
var Ee = ct(h, y, k, ne, ae);
|
|
18635
18635
|
if (Ee == null)
|
|
@@ -18638,7 +18638,7 @@ Check the top-level render call using <` + k + ">.");
|
|
|
18638
18638
|
var ve = y.children;
|
|
18639
18639
|
if (ve !== void 0)
|
|
18640
18640
|
if (V)
|
|
18641
|
-
if (
|
|
18641
|
+
if (_t(ve)) {
|
|
18642
18642
|
for (var ft = 0; ft < ve.length; ft++)
|
|
18643
18643
|
fn(ve[ft], h);
|
|
18644
18644
|
Object.freeze && Object.freeze(ve);
|
|
@@ -18789,8 +18789,8 @@ const Ol = `
|
|
|
18789
18789
|
}
|
|
18790
18790
|
);
|
|
18791
18791
|
Ri.displayName = "Button";
|
|
18792
|
-
const Li =
|
|
18793
|
-
const { className: t, children: n, ...r } = e, u = { id:
|
|
18792
|
+
const Li = mt.createContext({ id: "" }), wl = (e) => {
|
|
18793
|
+
const { className: t, children: n, ...r } = e, u = { id: mt.useId() };
|
|
18794
18794
|
return /* @__PURE__ */ de.jsx(Li.Provider, { value: u, children: /* @__PURE__ */ de.jsx(
|
|
18795
18795
|
"article",
|
|
18796
18796
|
{
|
|
@@ -18816,7 +18816,7 @@ const Li = Ot.createContext({ id: "" }), wl = (e) => {
|
|
|
18816
18816
|
mb-2
|
|
18817
18817
|
`, t), ...n });
|
|
18818
18818
|
}, xT = (e) => {
|
|
18819
|
-
const { className: t, children: n, ...r } = e, u =
|
|
18819
|
+
const { className: t, children: n, ...r } = e, u = mt.useContext(Li);
|
|
18820
18820
|
return /* @__PURE__ */ de.jsx("div", { id: u.id, className: Re(`
|
|
18821
18821
|
text-base
|
|
18822
18822
|
leading-[2rem]
|
|
@@ -18827,7 +18827,7 @@ const Li = Ot.createContext({ id: "" }), wl = (e) => {
|
|
|
18827
18827
|
px-6
|
|
18828
18828
|
`, t), ...r, children: n });
|
|
18829
18829
|
}, NT = (e) => {
|
|
18830
|
-
const { className: t, children: n, ...r } = e, u =
|
|
18830
|
+
const { className: t, children: n, ...r } = e, u = mt.useContext(Li);
|
|
18831
18831
|
return /* @__PURE__ */ de.jsx("div", { id: `${u.id}-desc`, className: Re(`
|
|
18832
18832
|
text-base-sm
|
|
18833
18833
|
leading-[1.85rem]
|
|
@@ -18960,7 +18960,7 @@ const Li = Ot.createContext({ id: "" }), wl = (e) => {
|
|
|
18960
18960
|
pt-[2.5rem]
|
|
18961
18961
|
sm:pt-[3.5rem]
|
|
18962
18962
|
`, t), ...r, children: n });
|
|
18963
|
-
}, Zu =
|
|
18963
|
+
}, Zu = mt.forwardRef((e, t) => {
|
|
18964
18964
|
const { className: n, icon: r, srText: u, ...i } = e;
|
|
18965
18965
|
return /* @__PURE__ */ de.jsxs(de.Fragment, { children: [
|
|
18966
18966
|
/* @__PURE__ */ de.jsx(
|
|
@@ -19162,7 +19162,7 @@ const ei = (e) => {
|
|
|
19162
19162
|
}, Fi = (e) => e.type === "containerDirective" || e.type === "leafDirective" || e.type === "textDirective", Pi = (e) => e.type === "containerDirective", Bl = (e) => e.type === "leafDirective", GT = (e) => e.type === "textDirective";
|
|
19163
19163
|
function XT() {
|
|
19164
19164
|
return (e) => {
|
|
19165
|
-
|
|
19165
|
+
Et(e, Fi, function(t) {
|
|
19166
19166
|
if (t.type === "containerDirective" || t.type === "leafDirective") {
|
|
19167
19167
|
if (t.name !== "youtube")
|
|
19168
19168
|
return;
|
|
@@ -19344,7 +19344,7 @@ const t2 = [
|
|
|
19344
19344
|
], Gt = Ml(Pn, "div");
|
|
19345
19345
|
Ml(Kt, "g", t2);
|
|
19346
19346
|
const n2 = () => (e) => {
|
|
19347
|
-
|
|
19347
|
+
Et(e, Fi, function(t) {
|
|
19348
19348
|
t.data = t.data ?? {};
|
|
19349
19349
|
const n = Gt(t.name, t.attributes || {});
|
|
19350
19350
|
t.data.hName = n.tagName, t.data.hProperties = n.properties;
|
|
@@ -19352,7 +19352,7 @@ const n2 = () => (e) => {
|
|
|
19352
19352
|
};
|
|
19353
19353
|
function r2() {
|
|
19354
19354
|
return (e) => {
|
|
19355
|
-
|
|
19355
|
+
Et(e, GT, (t) => {
|
|
19356
19356
|
if (t.name !== "link-button")
|
|
19357
19357
|
return;
|
|
19358
19358
|
const n = t.data || (t.data = {}), r = "a";
|
|
@@ -19362,7 +19362,7 @@ function r2() {
|
|
|
19362
19362
|
}
|
|
19363
19363
|
function u2() {
|
|
19364
19364
|
return (e) => {
|
|
19365
|
-
|
|
19365
|
+
Et(e, Pi, (t) => {
|
|
19366
19366
|
if (!t.name.startsWith("grid-cols-"))
|
|
19367
19367
|
return;
|
|
19368
19368
|
t.attributes = t.attributes ?? {}, t.attributes.as === "list" && (t.attributes.as = void 0, t.attributes["data-behavior"] = "list");
|
|
@@ -19388,7 +19388,7 @@ function u2() {
|
|
|
19388
19388
|
}
|
|
19389
19389
|
function i2() {
|
|
19390
19390
|
return (e) => {
|
|
19391
|
-
|
|
19391
|
+
Et(e, Pi, (t) => {
|
|
19392
19392
|
if (t.name !== "cell")
|
|
19393
19393
|
return;
|
|
19394
19394
|
t.data = t.data ?? {};
|
|
@@ -19405,7 +19405,7 @@ function i2() {
|
|
|
19405
19405
|
}
|
|
19406
19406
|
function a2() {
|
|
19407
19407
|
return (e) => {
|
|
19408
|
-
|
|
19408
|
+
Et(e, Fi, (t) => {
|
|
19409
19409
|
if (t.type !== "containerDirective" || t.name !== "card")
|
|
19410
19410
|
return;
|
|
19411
19411
|
t.data = t.data ?? {};
|
|
@@ -19422,7 +19422,7 @@ function a2() {
|
|
|
19422
19422
|
}
|
|
19423
19423
|
function s2() {
|
|
19424
19424
|
return (e) => {
|
|
19425
|
-
|
|
19425
|
+
Et(e, Pi, (t) => {
|
|
19426
19426
|
if (t.name !== "faq")
|
|
19427
19427
|
return;
|
|
19428
19428
|
t.data = t.data ?? {};
|
|
@@ -19447,8 +19447,8 @@ const o2 = () => (e, t) => {
|
|
|
19447
19447
|
};
|
|
19448
19448
|
n.push(a);
|
|
19449
19449
|
}
|
|
19450
|
-
|
|
19451
|
-
}, Hl =
|
|
19450
|
+
Et(e, "heading", u), t.data.fm || (t.data.fm = {}), t.data.fm.headings = bc(n);
|
|
19451
|
+
}, Hl = mt.createContext({ href: "" }), l2 = ({
|
|
19452
19452
|
href: e,
|
|
19453
19453
|
className: t,
|
|
19454
19454
|
children: n,
|
|
@@ -19480,7 +19480,7 @@ const o2 = () => (e, t) => {
|
|
|
19480
19480
|
className: e,
|
|
19481
19481
|
children: t
|
|
19482
19482
|
}) => {
|
|
19483
|
-
const { href: n } =
|
|
19483
|
+
const { href: n } = mt.useContext(Hl), r = `
|
|
19484
19484
|
flex
|
|
19485
19485
|
justify-between
|
|
19486
19486
|
items-center
|
|
@@ -19539,14 +19539,18 @@ const o2 = () => (e, t) => {
|
|
|
19539
19539
|
lg:w-[${e.width}px]
|
|
19540
19540
|
lg:h-[${e.height}px]
|
|
19541
19541
|
`), /* @__PURE__ */ xe.jsx("iframe", { className: Qt(u, i, t), ...r, children: n });
|
|
19542
|
-
}, g2 = ({ children: e, showToc: t }) => {
|
|
19543
|
-
const r =
|
|
19544
|
-
|
|
19542
|
+
}, g2 = ({ children: e, showToc: t, tocTitle: n = "目次" }) => {
|
|
19543
|
+
const [r, u] = mt.useState([]), [i, a] = mt.useState();
|
|
19544
|
+
mt.useEffect(() => {
|
|
19545
|
+
u(o(e)), a(c(e));
|
|
19546
|
+
}, [e]);
|
|
19547
|
+
const o = (d) => Aa().use(Pa).use(o2).parse(d).children.filter((T) => T.type === "heading").filter((T) => T.depth < 3).map((T) => {
|
|
19548
|
+
var R;
|
|
19545
19549
|
return {
|
|
19546
|
-
depth:
|
|
19547
|
-
title: ((
|
|
19550
|
+
depth: T.depth,
|
|
19551
|
+
title: ((R = T.children[0]) == null ? void 0 : R.value) || ""
|
|
19548
19552
|
};
|
|
19549
|
-
})
|
|
19553
|
+
}), l = {
|
|
19550
19554
|
...pc,
|
|
19551
19555
|
components: {
|
|
19552
19556
|
a: h2,
|
|
@@ -19576,19 +19580,19 @@ const o2 = () => (e, t) => {
|
|
|
19576
19580
|
td: WT,
|
|
19577
19581
|
div: p2
|
|
19578
19582
|
}
|
|
19579
|
-
},
|
|
19583
|
+
}, c = (d) => Aa().use(Pa).use(np).use(Xp).use(Um).use(n2).use(XT).use(r2).use(i2).use(a2).use(s2).use(u2).use(Bm, {
|
|
19580
19584
|
allowDangerousHtml: !0
|
|
19581
|
-
}).use(ag).use(bg, { target: "_blank" }).use(Ag, { shift: 0 }).use(ET).use(lT,
|
|
19585
|
+
}).use(ag).use(bg, { target: "_blank" }).use(Ag, { shift: 0 }).use(ET).use(lT, l).processSync(d).result;
|
|
19582
19586
|
return /* @__PURE__ */ xe.jsxs("div", { className: "py-8 flex flex-col gap-8", children: [
|
|
19583
19587
|
t && /* @__PURE__ */ xe.jsxs("nav", { className: `
|
|
19584
19588
|
rounded-3xl
|
|
19585
19589
|
p-10
|
|
19586
19590
|
bg-wood-50
|
|
19587
19591
|
`, children: [
|
|
19588
|
-
/* @__PURE__ */ xe.jsx("h2", { className: "mb-4 font-bold text-h-xs-m sm:text-h-xs", children:
|
|
19592
|
+
/* @__PURE__ */ xe.jsx("h2", { className: "mb-4 font-bold text-h-xs-m sm:text-h-xs", children: n }),
|
|
19589
19593
|
/* @__PURE__ */ xe.jsx(ei, { children: /* @__PURE__ */ xe.jsx(Ul, { items: r }) })
|
|
19590
19594
|
] }),
|
|
19591
|
-
i
|
|
19595
|
+
i
|
|
19592
19596
|
] });
|
|
19593
19597
|
};
|
|
19594
19598
|
export {
|