@sakura-ui/sakura-ui 0.5.0 → 0.5.1
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/package.json +5 -5
- package/packages/core/package.json +1 -1
- package/packages/core/src/components/LangSelector.tsx +2 -2
- package/packages/core/src/components/PopoverMenu.tsx +2 -13
- package/packages/core/src/components/Table.tsx +1 -1
- package/packages/forms/.turbo/turbo-build.log +3 -3
- package/packages/forms/dist/index.cjs.js +13 -21
- package/packages/forms/dist/index.es.js +91 -99
- package/packages/forms/package.json +1 -1
- package/packages/helper/.turbo/turbo-build.log +3 -3
- package/packages/helper/dist/index.cjs.js +6 -14
- package/packages/helper/dist/index.es.js +18 -26
- package/packages/helper/dist/types/styles.d.ts +2 -4
- package/packages/helper/dist/types/styles.d.ts.map +1 -1
- package/packages/helper/package.json +1 -1
- package/packages/helper/src/styles.ts +2 -14
- package/packages/markdown/.turbo/turbo-build.log +3 -3
- package/packages/markdown/dist/index.cjs.js +2 -10
- package/packages/markdown/dist/index.es.js +283 -291
- package/packages/markdown/package.json +1 -1
- package/packages/tailwind-theme-plugin/.turbo/turbo-build.log +2 -2
- package/packages/tailwind-theme-plugin/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Ge, { Children as ks } from "react";
|
|
2
|
-
import { Td as Ns, Tr as Ss, Th as ys, Tbody as
|
|
2
|
+
import { Td as Ns, Tr as Ss, Th as ys, Tbody as Fs, Thead as Ls, Caption as Os, Pre as Rs, Ol as Ps, Ul as nr, H6 as ws, H5 as Bs, H4 as Ms, H3 as vs, H2 as Hs, H1 as Us, Answer as zs, Question as Ys, Faq as qs, Code as js, Button as bi, OverflowContainer as Vs, Table as Ws, CardImg as Qs, LinkCard as Gs, Card as $s, Link as gi, LinkCardHeader as Xs, CardHeader as Ks, CardBody as Js, LinkCardFooter as Zs, CardFooter as eo } from "@sakura-ui/core";
|
|
3
3
|
function to(e, t) {
|
|
4
4
|
for (var n = 0; n < t.length; n++) {
|
|
5
5
|
const r = t[n];
|
|
@@ -46,12 +46,12 @@ var Nt = {};
|
|
|
46
46
|
var nu;
|
|
47
47
|
function ro() {
|
|
48
48
|
return nu || (nu = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
49
|
-
function e(
|
|
50
|
-
if (
|
|
51
|
-
if (typeof
|
|
52
|
-
return
|
|
53
|
-
if (typeof
|
|
54
|
-
switch (
|
|
49
|
+
function e(F) {
|
|
50
|
+
if (F == null) return null;
|
|
51
|
+
if (typeof F == "function")
|
|
52
|
+
return F.$$typeof === v ? null : F.displayName || F.name || null;
|
|
53
|
+
if (typeof F == "string") return F;
|
|
54
|
+
switch (F) {
|
|
55
55
|
case k:
|
|
56
56
|
return "Fragment";
|
|
57
57
|
case R:
|
|
@@ -65,127 +65,127 @@ function ro() {
|
|
|
65
65
|
case x:
|
|
66
66
|
return "Activity";
|
|
67
67
|
}
|
|
68
|
-
if (typeof
|
|
69
|
-
switch (typeof
|
|
68
|
+
if (typeof F == "object")
|
|
69
|
+
switch (typeof F.tag == "number" && console.error(
|
|
70
70
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
71
|
-
),
|
|
71
|
+
), F.$$typeof) {
|
|
72
72
|
case I:
|
|
73
73
|
return "Portal";
|
|
74
74
|
case U:
|
|
75
|
-
return
|
|
76
|
-
case
|
|
77
|
-
return (
|
|
75
|
+
return F.displayName || "Context";
|
|
76
|
+
case L:
|
|
77
|
+
return (F._context.displayName || "Context") + ".Consumer";
|
|
78
78
|
case j:
|
|
79
|
-
var G =
|
|
80
|
-
return
|
|
79
|
+
var G = F.render;
|
|
80
|
+
return F = F.displayName, F || (F = G.displayName || G.name || "", F = F !== "" ? "ForwardRef(" + F + ")" : "ForwardRef"), F;
|
|
81
81
|
case W:
|
|
82
|
-
return G =
|
|
82
|
+
return G = F.displayName || null, G !== null ? G : e(F.type) || "Memo";
|
|
83
83
|
case O:
|
|
84
|
-
G =
|
|
84
|
+
G = F._payload, F = F._init;
|
|
85
85
|
try {
|
|
86
|
-
return e(
|
|
86
|
+
return e(F(G));
|
|
87
87
|
} catch {
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
return null;
|
|
91
91
|
}
|
|
92
|
-
function t(
|
|
93
|
-
return "" +
|
|
92
|
+
function t(F) {
|
|
93
|
+
return "" + F;
|
|
94
94
|
}
|
|
95
|
-
function n(
|
|
95
|
+
function n(F) {
|
|
96
96
|
try {
|
|
97
|
-
t(
|
|
97
|
+
t(F);
|
|
98
98
|
var G = !1;
|
|
99
99
|
} catch {
|
|
100
100
|
G = !0;
|
|
101
101
|
}
|
|
102
102
|
if (G) {
|
|
103
103
|
G = console;
|
|
104
|
-
var b = G.error, re = typeof Symbol == "function" && Symbol.toStringTag &&
|
|
104
|
+
var b = G.error, re = typeof Symbol == "function" && Symbol.toStringTag && F[Symbol.toStringTag] || F.constructor.name || "Object";
|
|
105
105
|
return b.call(
|
|
106
106
|
G,
|
|
107
107
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
108
108
|
re
|
|
109
|
-
), t(
|
|
109
|
+
), t(F);
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
|
-
function r(
|
|
113
|
-
if (
|
|
114
|
-
if (typeof
|
|
112
|
+
function r(F) {
|
|
113
|
+
if (F === k) return "<>";
|
|
114
|
+
if (typeof F == "object" && F !== null && F.$$typeof === O)
|
|
115
115
|
return "<...>";
|
|
116
116
|
try {
|
|
117
|
-
var G = e(
|
|
117
|
+
var G = e(F);
|
|
118
118
|
return G ? "<" + G + ">" : "<...>";
|
|
119
119
|
} catch {
|
|
120
120
|
return "<...>";
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
function u() {
|
|
124
|
-
var
|
|
125
|
-
return
|
|
124
|
+
var F = H.A;
|
|
125
|
+
return F === null ? null : F.getOwner();
|
|
126
126
|
}
|
|
127
127
|
function i() {
|
|
128
128
|
return Error("react-stack-top-frame");
|
|
129
129
|
}
|
|
130
|
-
function a(
|
|
131
|
-
if (Y.call(
|
|
132
|
-
var G = Object.getOwnPropertyDescriptor(
|
|
130
|
+
function a(F) {
|
|
131
|
+
if (Y.call(F, "key")) {
|
|
132
|
+
var G = Object.getOwnPropertyDescriptor(F, "key").get;
|
|
133
133
|
if (G && G.isReactWarning) return !1;
|
|
134
134
|
}
|
|
135
|
-
return
|
|
135
|
+
return F.key !== void 0;
|
|
136
136
|
}
|
|
137
|
-
function o(
|
|
137
|
+
function o(F, G) {
|
|
138
138
|
function b() {
|
|
139
139
|
Q || (Q = !0, console.error(
|
|
140
140
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
141
141
|
G
|
|
142
142
|
));
|
|
143
143
|
}
|
|
144
|
-
b.isReactWarning = !0, Object.defineProperty(
|
|
144
|
+
b.isReactWarning = !0, Object.defineProperty(F, "key", {
|
|
145
145
|
get: b,
|
|
146
146
|
configurable: !0
|
|
147
147
|
});
|
|
148
148
|
}
|
|
149
149
|
function l() {
|
|
150
|
-
var
|
|
151
|
-
return oe[
|
|
150
|
+
var F = e(this.type);
|
|
151
|
+
return oe[F] || (oe[F] = !0, console.error(
|
|
152
152
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
153
|
-
)),
|
|
153
|
+
)), F = this.props.ref, F !== void 0 ? F : null;
|
|
154
154
|
}
|
|
155
|
-
function c(
|
|
155
|
+
function c(F, G, b, re, Se, le) {
|
|
156
156
|
var ae = b.ref;
|
|
157
|
-
return
|
|
157
|
+
return F = {
|
|
158
158
|
$$typeof: g,
|
|
159
|
-
type:
|
|
159
|
+
type: F,
|
|
160
160
|
key: G,
|
|
161
161
|
props: b,
|
|
162
162
|
_owner: re
|
|
163
|
-
}, (ae !== void 0 ? ae : null) !== null ? Object.defineProperty(
|
|
163
|
+
}, (ae !== void 0 ? ae : null) !== null ? Object.defineProperty(F, "ref", {
|
|
164
164
|
enumerable: !1,
|
|
165
165
|
get: l
|
|
166
|
-
}) : Object.defineProperty(
|
|
166
|
+
}) : Object.defineProperty(F, "ref", { enumerable: !1, value: null }), F._store = {}, Object.defineProperty(F._store, "validated", {
|
|
167
167
|
configurable: !1,
|
|
168
168
|
enumerable: !1,
|
|
169
169
|
writable: !0,
|
|
170
170
|
value: 0
|
|
171
|
-
}), Object.defineProperty(
|
|
171
|
+
}), Object.defineProperty(F, "_debugInfo", {
|
|
172
172
|
configurable: !1,
|
|
173
173
|
enumerable: !1,
|
|
174
174
|
writable: !0,
|
|
175
175
|
value: null
|
|
176
|
-
}), Object.defineProperty(
|
|
176
|
+
}), Object.defineProperty(F, "_debugStack", {
|
|
177
177
|
configurable: !1,
|
|
178
178
|
enumerable: !1,
|
|
179
179
|
writable: !0,
|
|
180
180
|
value: Se
|
|
181
|
-
}), Object.defineProperty(
|
|
181
|
+
}), Object.defineProperty(F, "_debugTask", {
|
|
182
182
|
configurable: !1,
|
|
183
183
|
enumerable: !1,
|
|
184
184
|
writable: !0,
|
|
185
185
|
value: le
|
|
186
|
-
}), Object.freeze && (Object.freeze(
|
|
186
|
+
}), Object.freeze && (Object.freeze(F.props), Object.freeze(F)), F;
|
|
187
187
|
}
|
|
188
|
-
function h(
|
|
188
|
+
function h(F, G, b, re, Se, le) {
|
|
189
189
|
var ae = G.children;
|
|
190
190
|
if (ae !== void 0)
|
|
191
191
|
if (re)
|
|
@@ -199,7 +199,7 @@ function ro() {
|
|
|
199
199
|
);
|
|
200
200
|
else f(ae);
|
|
201
201
|
if (Y.call(G, "key")) {
|
|
202
|
-
ae = e(
|
|
202
|
+
ae = e(F);
|
|
203
203
|
var be = Object.keys(G).filter(function(We) {
|
|
204
204
|
return We !== "key";
|
|
205
205
|
});
|
|
@@ -223,9 +223,9 @@ React keys must be passed directly to JSX without using spread:
|
|
|
223
223
|
} else b = G;
|
|
224
224
|
return ae && o(
|
|
225
225
|
b,
|
|
226
|
-
typeof
|
|
226
|
+
typeof F == "function" ? F.displayName || F.name || "Unknown" : F
|
|
227
227
|
), c(
|
|
228
|
-
|
|
228
|
+
F,
|
|
229
229
|
ae,
|
|
230
230
|
b,
|
|
231
231
|
u(),
|
|
@@ -233,43 +233,43 @@ React keys must be passed directly to JSX without using spread:
|
|
|
233
233
|
le
|
|
234
234
|
);
|
|
235
235
|
}
|
|
236
|
-
function f(
|
|
237
|
-
m(
|
|
236
|
+
function f(F) {
|
|
237
|
+
m(F) ? F._store && (F._store.validated = 1) : typeof F == "object" && F !== null && F.$$typeof === O && (F._payload.status === "fulfilled" ? m(F._payload.value) && F._payload.value._store && (F._payload.value._store.validated = 1) : F._store && (F._store.validated = 1));
|
|
238
238
|
}
|
|
239
|
-
function m(
|
|
240
|
-
return typeof
|
|
239
|
+
function m(F) {
|
|
240
|
+
return typeof F == "object" && F !== null && F.$$typeof === g;
|
|
241
241
|
}
|
|
242
|
-
var d = Ge, g = /* @__PURE__ */ Symbol.for("react.transitional.element"), I = /* @__PURE__ */ Symbol.for("react.portal"), k = /* @__PURE__ */ Symbol.for("react.fragment"), D = /* @__PURE__ */ Symbol.for("react.strict_mode"), R = /* @__PURE__ */ Symbol.for("react.profiler"),
|
|
242
|
+
var d = Ge, g = /* @__PURE__ */ Symbol.for("react.transitional.element"), I = /* @__PURE__ */ Symbol.for("react.portal"), k = /* @__PURE__ */ Symbol.for("react.fragment"), D = /* @__PURE__ */ Symbol.for("react.strict_mode"), R = /* @__PURE__ */ Symbol.for("react.profiler"), L = /* @__PURE__ */ Symbol.for("react.consumer"), U = /* @__PURE__ */ Symbol.for("react.context"), j = /* @__PURE__ */ Symbol.for("react.forward_ref"), S = /* @__PURE__ */ Symbol.for("react.suspense"), V = /* @__PURE__ */ Symbol.for("react.suspense_list"), W = /* @__PURE__ */ Symbol.for("react.memo"), O = /* @__PURE__ */ Symbol.for("react.lazy"), x = /* @__PURE__ */ Symbol.for("react.activity"), v = /* @__PURE__ */ Symbol.for("react.client.reference"), H = d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Y = Object.prototype.hasOwnProperty, z = Array.isArray, C = console.createTask ? console.createTask : function() {
|
|
243
243
|
return null;
|
|
244
244
|
};
|
|
245
245
|
d = {
|
|
246
|
-
react_stack_bottom_frame: function(
|
|
247
|
-
return
|
|
246
|
+
react_stack_bottom_frame: function(F) {
|
|
247
|
+
return F();
|
|
248
248
|
}
|
|
249
249
|
};
|
|
250
250
|
var Q, oe = {}, ge = d.react_stack_bottom_frame.bind(
|
|
251
251
|
d,
|
|
252
252
|
i
|
|
253
253
|
)(), Ne = C(r(i)), A = {};
|
|
254
|
-
Nt.Fragment = k, Nt.jsx = function(
|
|
254
|
+
Nt.Fragment = k, Nt.jsx = function(F, G, b) {
|
|
255
255
|
var re = 1e4 > H.recentlyCreatedOwnerStacks++;
|
|
256
256
|
return h(
|
|
257
|
-
|
|
257
|
+
F,
|
|
258
258
|
G,
|
|
259
259
|
b,
|
|
260
260
|
!1,
|
|
261
261
|
re ? Error("react-stack-top-frame") : ge,
|
|
262
|
-
re ? C(r(
|
|
262
|
+
re ? C(r(F)) : Ne
|
|
263
263
|
);
|
|
264
|
-
}, Nt.jsxs = function(
|
|
264
|
+
}, Nt.jsxs = function(F, G, b) {
|
|
265
265
|
var re = 1e4 > H.recentlyCreatedOwnerStacks++;
|
|
266
266
|
return h(
|
|
267
|
-
|
|
267
|
+
F,
|
|
268
268
|
G,
|
|
269
269
|
b,
|
|
270
270
|
!0,
|
|
271
271
|
re ? Error("react-stack-top-frame") : ge,
|
|
272
|
-
re ? C(r(
|
|
272
|
+
re ? C(r(F)) : Ne
|
|
273
273
|
);
|
|
274
274
|
};
|
|
275
275
|
})()), Nt;
|
|
@@ -471,14 +471,14 @@ function bo(e) {
|
|
|
471
471
|
const t = this, n = [];
|
|
472
472
|
let r = 0, u, i, a;
|
|
473
473
|
return o;
|
|
474
|
-
function o(
|
|
474
|
+
function o(L) {
|
|
475
475
|
if (r < n.length) {
|
|
476
476
|
const U = n[r];
|
|
477
|
-
return t.containerState = U[1], e.attempt(U[0].continuation, l, c)(
|
|
477
|
+
return t.containerState = U[1], e.attempt(U[0].continuation, l, c)(L);
|
|
478
478
|
}
|
|
479
|
-
return c(
|
|
479
|
+
return c(L);
|
|
480
480
|
}
|
|
481
|
-
function l(
|
|
481
|
+
function l(L) {
|
|
482
482
|
if (r++, t.containerState._closeFlow) {
|
|
483
483
|
t.containerState._closeFlow = void 0, u && R();
|
|
484
484
|
const U = t.events.length;
|
|
@@ -494,53 +494,53 @@ function bo(e) {
|
|
|
494
494
|
t.events[V][1].end = {
|
|
495
495
|
...S
|
|
496
496
|
}, V++;
|
|
497
|
-
return ke(t.events, j + 1, 0, t.events.slice(U)), t.events.length = V, c(
|
|
497
|
+
return ke(t.events, j + 1, 0, t.events.slice(U)), t.events.length = V, c(L);
|
|
498
498
|
}
|
|
499
|
-
return o(
|
|
499
|
+
return o(L);
|
|
500
500
|
}
|
|
501
|
-
function c(
|
|
501
|
+
function c(L) {
|
|
502
502
|
if (r === n.length) {
|
|
503
503
|
if (!u)
|
|
504
|
-
return m(
|
|
504
|
+
return m(L);
|
|
505
505
|
if (u.currentConstruct && u.currentConstruct.concrete)
|
|
506
|
-
return g(
|
|
506
|
+
return g(L);
|
|
507
507
|
t.interrupt = !!(u.currentConstruct && !u._gfmTableDynamicInterruptHack);
|
|
508
508
|
}
|
|
509
|
-
return t.containerState = {}, e.check(su, h, f)(
|
|
509
|
+
return t.containerState = {}, e.check(su, h, f)(L);
|
|
510
510
|
}
|
|
511
|
-
function h(
|
|
512
|
-
return u && R(), D(r), m(
|
|
511
|
+
function h(L) {
|
|
512
|
+
return u && R(), D(r), m(L);
|
|
513
513
|
}
|
|
514
|
-
function f(
|
|
515
|
-
return t.parser.lazy[t.now().line] = r !== n.length, a = t.now().offset, g(
|
|
514
|
+
function f(L) {
|
|
515
|
+
return t.parser.lazy[t.now().line] = r !== n.length, a = t.now().offset, g(L);
|
|
516
516
|
}
|
|
517
|
-
function m(
|
|
518
|
-
return t.containerState = {}, e.attempt(su, d, g)(
|
|
517
|
+
function m(L) {
|
|
518
|
+
return t.containerState = {}, e.attempt(su, d, g)(L);
|
|
519
519
|
}
|
|
520
|
-
function d(
|
|
521
|
-
return r++, n.push([t.currentConstruct, t.containerState]), m(
|
|
520
|
+
function d(L) {
|
|
521
|
+
return r++, n.push([t.currentConstruct, t.containerState]), m(L);
|
|
522
522
|
}
|
|
523
|
-
function g(
|
|
524
|
-
if (
|
|
525
|
-
u && R(), D(0), e.consume(
|
|
523
|
+
function g(L) {
|
|
524
|
+
if (L === null) {
|
|
525
|
+
u && R(), D(0), e.consume(L);
|
|
526
526
|
return;
|
|
527
527
|
}
|
|
528
528
|
return u = u || t.parser.flow(t.now()), e.enter("chunkFlow", {
|
|
529
529
|
_tokenizer: u,
|
|
530
530
|
contentType: "flow",
|
|
531
531
|
previous: i
|
|
532
|
-
}), I(
|
|
532
|
+
}), I(L);
|
|
533
533
|
}
|
|
534
|
-
function I(
|
|
535
|
-
if (
|
|
536
|
-
k(e.exit("chunkFlow"), !0), D(0), e.consume(
|
|
534
|
+
function I(L) {
|
|
535
|
+
if (L === null) {
|
|
536
|
+
k(e.exit("chunkFlow"), !0), D(0), e.consume(L);
|
|
537
537
|
return;
|
|
538
538
|
}
|
|
539
|
-
return q(
|
|
539
|
+
return q(L) ? (e.consume(L), k(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, o) : (e.consume(L), I);
|
|
540
540
|
}
|
|
541
|
-
function k(
|
|
542
|
-
const j = t.sliceStream(
|
|
543
|
-
if (U && j.push(null),
|
|
541
|
+
function k(L, U) {
|
|
542
|
+
const j = t.sliceStream(L);
|
|
543
|
+
if (U && j.push(null), L.previous = i, i && (i.next = L), i = L, u.defineSkip(L.start), u.write(j), t.parser.lazy[L.start.line]) {
|
|
544
544
|
let S = u.events.length;
|
|
545
545
|
for (; S--; )
|
|
546
546
|
if (
|
|
@@ -567,13 +567,13 @@ function bo(e) {
|
|
|
567
567
|
ke(t.events, W + 1, 0, t.events.slice(V)), t.events.length = S;
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
|
-
function D(
|
|
570
|
+
function D(L) {
|
|
571
571
|
let U = n.length;
|
|
572
|
-
for (; U-- >
|
|
572
|
+
for (; U-- > L; ) {
|
|
573
573
|
const j = n[U];
|
|
574
574
|
t.containerState = j[1], j[0].exit.call(t, e);
|
|
575
575
|
}
|
|
576
|
-
n.length =
|
|
576
|
+
n.length = L;
|
|
577
577
|
}
|
|
578
578
|
function R() {
|
|
579
579
|
u.write([null]), i = void 0, u = void 0, t.containerState._closeFlow = void 0;
|
|
@@ -803,13 +803,13 @@ function yo(e, t, n) {
|
|
|
803
803
|
}
|
|
804
804
|
const lu = {
|
|
805
805
|
partial: !0,
|
|
806
|
-
tokenize:
|
|
806
|
+
tokenize: Lo
|
|
807
807
|
}, cu = {
|
|
808
808
|
concrete: !0,
|
|
809
809
|
name: "codeFenced",
|
|
810
|
-
tokenize:
|
|
810
|
+
tokenize: Fo
|
|
811
811
|
};
|
|
812
|
-
function
|
|
812
|
+
function Fo(e, t, n) {
|
|
813
813
|
const r = this, u = {
|
|
814
814
|
partial: !0,
|
|
815
815
|
tokenize: j
|
|
@@ -852,10 +852,10 @@ function Lo(e, t, n) {
|
|
|
852
852
|
return i > 0 && J(S) ? K(e, R, "linePrefix", i + 1)(S) : R(S);
|
|
853
853
|
}
|
|
854
854
|
function R(S) {
|
|
855
|
-
return S === null || q(S) ? e.check(lu, I, U)(S) : (e.enter("codeFlowValue"),
|
|
855
|
+
return S === null || q(S) ? e.check(lu, I, U)(S) : (e.enter("codeFlowValue"), L(S));
|
|
856
856
|
}
|
|
857
|
-
function
|
|
858
|
-
return S === null || q(S) ? (e.exit("codeFlowValue"), R(S)) : (e.consume(S),
|
|
857
|
+
function L(S) {
|
|
858
|
+
return S === null || q(S) ? (e.exit("codeFlowValue"), R(S)) : (e.consume(S), L);
|
|
859
859
|
}
|
|
860
860
|
function U(S) {
|
|
861
861
|
return e.exit("codeFenced"), t(S);
|
|
@@ -880,7 +880,7 @@ function Lo(e, t, n) {
|
|
|
880
880
|
}
|
|
881
881
|
}
|
|
882
882
|
}
|
|
883
|
-
function
|
|
883
|
+
function Lo(e, t, n) {
|
|
884
884
|
const r = this;
|
|
885
885
|
return u;
|
|
886
886
|
function u(a) {
|
|
@@ -890,7 +890,7 @@ function Fo(e, t, n) {
|
|
|
890
890
|
return r.parser.lazy[r.now().line] ? n(a) : t(a);
|
|
891
891
|
}
|
|
892
892
|
}
|
|
893
|
-
const
|
|
893
|
+
const Fn = {
|
|
894
894
|
name: "codeIndented",
|
|
895
895
|
tokenize: Ro
|
|
896
896
|
}, Oo = {
|
|
@@ -1546,7 +1546,7 @@ function al(e, t, n) {
|
|
|
1546
1546
|
function k(b) {
|
|
1547
1547
|
if (b === null || b === 47 || b === 62 || ne(b)) {
|
|
1548
1548
|
const re = b === 47, Se = a.toLowerCase();
|
|
1549
|
-
return !re && !i && fu.includes(Se) ? (u = 1, r.interrupt ? t(b) : H(b)) : tl.includes(a.toLowerCase()) ? (u = 6, re ? (e.consume(b), D) : r.interrupt ? t(b) : H(b)) : (u = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(b) : i ? R(b) :
|
|
1549
|
+
return !re && !i && fu.includes(Se) ? (u = 1, r.interrupt ? t(b) : H(b)) : tl.includes(a.toLowerCase()) ? (u = 6, re ? (e.consume(b), D) : r.interrupt ? t(b) : H(b)) : (u = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(b) : i ? R(b) : L(b));
|
|
1550
1550
|
}
|
|
1551
1551
|
return b === 45 || me(b) ? (e.consume(b), a += String.fromCharCode(b), k) : n(b);
|
|
1552
1552
|
}
|
|
@@ -1556,14 +1556,14 @@ function al(e, t, n) {
|
|
|
1556
1556
|
function R(b) {
|
|
1557
1557
|
return J(b) ? (e.consume(b), R) : x(b);
|
|
1558
1558
|
}
|
|
1559
|
-
function
|
|
1560
|
-
return b === 47 ? (e.consume(b), x) : b === 58 || b === 95 || pe(b) ? (e.consume(b), U) : J(b) ? (e.consume(b),
|
|
1559
|
+
function L(b) {
|
|
1560
|
+
return b === 47 ? (e.consume(b), x) : b === 58 || b === 95 || pe(b) ? (e.consume(b), U) : J(b) ? (e.consume(b), L) : x(b);
|
|
1561
1561
|
}
|
|
1562
1562
|
function U(b) {
|
|
1563
1563
|
return b === 45 || b === 46 || b === 58 || b === 95 || me(b) ? (e.consume(b), U) : j(b);
|
|
1564
1564
|
}
|
|
1565
1565
|
function j(b) {
|
|
1566
|
-
return b === 61 ? (e.consume(b), S) : J(b) ? (e.consume(b), j) :
|
|
1566
|
+
return b === 61 ? (e.consume(b), S) : J(b) ? (e.consume(b), j) : L(b);
|
|
1567
1567
|
}
|
|
1568
1568
|
function S(b) {
|
|
1569
1569
|
return b === null || b === 60 || b === 61 || b === 62 || b === 96 ? n(b) : b === 34 || b === 39 ? (e.consume(b), l = b, V) : J(b) ? (e.consume(b), S) : W(b);
|
|
@@ -1575,7 +1575,7 @@ function al(e, t, n) {
|
|
|
1575
1575
|
return b === null || b === 34 || b === 39 || b === 47 || b === 60 || b === 61 || b === 62 || b === 96 || ne(b) ? j(b) : (e.consume(b), W);
|
|
1576
1576
|
}
|
|
1577
1577
|
function O(b) {
|
|
1578
|
-
return b === 47 || b === 62 || J(b) ?
|
|
1578
|
+
return b === 47 || b === 62 || J(b) ? L(b) : n(b);
|
|
1579
1579
|
}
|
|
1580
1580
|
function x(b) {
|
|
1581
1581
|
return b === 62 ? (e.consume(b), v) : n(b);
|
|
@@ -1584,7 +1584,7 @@ function al(e, t, n) {
|
|
|
1584
1584
|
return b === null || q(b) ? H(b) : J(b) ? (e.consume(b), v) : n(b);
|
|
1585
1585
|
}
|
|
1586
1586
|
function H(b) {
|
|
1587
|
-
return b === 45 && u === 2 ? (e.consume(b), Q) : b === 60 && u === 1 ? (e.consume(b), oe) : b === 62 && u === 4 ? (e.consume(b),
|
|
1587
|
+
return b === 45 && u === 2 ? (e.consume(b), Q) : b === 60 && u === 1 ? (e.consume(b), oe) : b === 62 && u === 4 ? (e.consume(b), F) : b === 63 && u === 3 ? (e.consume(b), A) : b === 93 && u === 5 ? (e.consume(b), Ne) : q(b) && (u === 6 || u === 7) ? (e.exit("htmlFlowData"), e.check(rl, G, Y)(b)) : b === null || q(b) ? (e.exit("htmlFlowData"), Y(b)) : (e.consume(b), H);
|
|
1588
1588
|
}
|
|
1589
1589
|
function Y(b) {
|
|
1590
1590
|
return e.check(ul, z, G)(b);
|
|
@@ -1604,7 +1604,7 @@ function al(e, t, n) {
|
|
|
1604
1604
|
function ge(b) {
|
|
1605
1605
|
if (b === 62) {
|
|
1606
1606
|
const re = a.toLowerCase();
|
|
1607
|
-
return fu.includes(re) ? (e.consume(b),
|
|
1607
|
+
return fu.includes(re) ? (e.consume(b), F) : H(b);
|
|
1608
1608
|
}
|
|
1609
1609
|
return pe(b) && a.length < 8 ? (e.consume(b), a += String.fromCharCode(b), ge) : H(b);
|
|
1610
1610
|
}
|
|
@@ -1612,10 +1612,10 @@ function al(e, t, n) {
|
|
|
1612
1612
|
return b === 93 ? (e.consume(b), A) : H(b);
|
|
1613
1613
|
}
|
|
1614
1614
|
function A(b) {
|
|
1615
|
-
return b === 62 ? (e.consume(b),
|
|
1615
|
+
return b === 62 ? (e.consume(b), F) : b === 45 && u === 2 ? (e.consume(b), A) : H(b);
|
|
1616
1616
|
}
|
|
1617
|
-
function
|
|
1618
|
-
return b === null || q(b) ? (e.exit("htmlFlowData"), G(b)) : (e.consume(b),
|
|
1617
|
+
function F(b) {
|
|
1618
|
+
return b === null || q(b) ? (e.exit("htmlFlowData"), G(b)) : (e.consume(b), F);
|
|
1619
1619
|
}
|
|
1620
1620
|
function G(b) {
|
|
1621
1621
|
return e.exit("htmlFlow"), t(b);
|
|
@@ -1649,7 +1649,7 @@ function cl(e, t, n) {
|
|
|
1649
1649
|
return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(A), l;
|
|
1650
1650
|
}
|
|
1651
1651
|
function l(A) {
|
|
1652
|
-
return A === 33 ? (e.consume(A), c) : A === 47 ? (e.consume(A), j) : A === 63 ? (e.consume(A),
|
|
1652
|
+
return A === 33 ? (e.consume(A), c) : A === 47 ? (e.consume(A), j) : A === 63 ? (e.consume(A), L) : pe(A) ? (e.consume(A), W) : n(A);
|
|
1653
1653
|
}
|
|
1654
1654
|
function c(A) {
|
|
1655
1655
|
return A === 45 ? (e.consume(A), h) : A === 91 ? (e.consume(A), i = 0, g) : pe(A) ? (e.consume(A), R) : n(A);
|
|
@@ -1667,8 +1667,8 @@ function cl(e, t, n) {
|
|
|
1667
1667
|
return A === 62 ? Q(A) : A === 45 ? m(A) : f(A);
|
|
1668
1668
|
}
|
|
1669
1669
|
function g(A) {
|
|
1670
|
-
const
|
|
1671
|
-
return A ===
|
|
1670
|
+
const F = "CDATA[";
|
|
1671
|
+
return A === F.charCodeAt(i++) ? (e.consume(A), i === F.length ? I : g) : n(A);
|
|
1672
1672
|
}
|
|
1673
1673
|
function I(A) {
|
|
1674
1674
|
return A === null ? n(A) : A === 93 ? (e.consume(A), k) : q(A) ? (a = I, oe(A)) : (e.consume(A), I);
|
|
@@ -1682,11 +1682,11 @@ function cl(e, t, n) {
|
|
|
1682
1682
|
function R(A) {
|
|
1683
1683
|
return A === null || A === 62 ? Q(A) : q(A) ? (a = R, oe(A)) : (e.consume(A), R);
|
|
1684
1684
|
}
|
|
1685
|
-
function
|
|
1686
|
-
return A === null ? n(A) : A === 63 ? (e.consume(A), U) : q(A) ? (a =
|
|
1685
|
+
function L(A) {
|
|
1686
|
+
return A === null ? n(A) : A === 63 ? (e.consume(A), U) : q(A) ? (a = L, oe(A)) : (e.consume(A), L);
|
|
1687
1687
|
}
|
|
1688
1688
|
function U(A) {
|
|
1689
|
-
return A === 62 ? Q(A) :
|
|
1689
|
+
return A === 62 ? Q(A) : L(A);
|
|
1690
1690
|
}
|
|
1691
1691
|
function j(A) {
|
|
1692
1692
|
return pe(A) ? (e.consume(A), S) : n(A);
|
|
@@ -1908,7 +1908,7 @@ function _l(e, t, n) {
|
|
|
1908
1908
|
return a === 94 && "_hiddenFootnoteSupport" in r.parser.constructs ? n(a) : t(a);
|
|
1909
1909
|
}
|
|
1910
1910
|
}
|
|
1911
|
-
const
|
|
1911
|
+
const Ln = {
|
|
1912
1912
|
name: "lineEnding",
|
|
1913
1913
|
tokenize: xl
|
|
1914
1914
|
};
|
|
@@ -1942,7 +1942,7 @@ const Ce = {
|
|
|
1942
1942
|
continuation: {
|
|
1943
1943
|
tokenize: yl
|
|
1944
1944
|
},
|
|
1945
|
-
exit:
|
|
1945
|
+
exit: Ll,
|
|
1946
1946
|
name: "list",
|
|
1947
1947
|
tokenize: Sl
|
|
1948
1948
|
}, kl = {
|
|
@@ -1950,7 +1950,7 @@ const Ce = {
|
|
|
1950
1950
|
tokenize: Ol
|
|
1951
1951
|
}, Nl = {
|
|
1952
1952
|
partial: !0,
|
|
1953
|
-
tokenize:
|
|
1953
|
+
tokenize: Fl
|
|
1954
1954
|
};
|
|
1955
1955
|
function Sl(e, t, n) {
|
|
1956
1956
|
const r = this, u = r.events[r.events.length - 1];
|
|
@@ -2002,7 +2002,7 @@ function yl(e, t, n) {
|
|
|
2002
2002
|
return r.containerState._closeFlow = !0, r.interrupt = void 0, K(e, e.attempt(Ce, t, n), "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(o);
|
|
2003
2003
|
}
|
|
2004
2004
|
}
|
|
2005
|
-
function
|
|
2005
|
+
function Fl(e, t, n) {
|
|
2006
2006
|
const r = this;
|
|
2007
2007
|
return K(e, u, "listItemIndent", r.containerState.size + 1);
|
|
2008
2008
|
function u(i) {
|
|
@@ -2010,7 +2010,7 @@ function Ll(e, t, n) {
|
|
|
2010
2010
|
return a && a[1].type === "listItemIndent" && a[2].sliceSerialize(a[1], !0).length === r.containerState.size ? t(i) : n(i);
|
|
2011
2011
|
}
|
|
2012
2012
|
}
|
|
2013
|
-
function
|
|
2013
|
+
function Ll(e) {
|
|
2014
2014
|
e.exit(this.containerState.type);
|
|
2015
2015
|
}
|
|
2016
2016
|
function Ol(e, t, n) {
|
|
@@ -2101,11 +2101,11 @@ function Bl(e) {
|
|
|
2101
2101
|
}
|
|
2102
2102
|
}
|
|
2103
2103
|
const Ml = {
|
|
2104
|
-
resolveAll:
|
|
2105
|
-
}, vl =
|
|
2106
|
-
function
|
|
2104
|
+
resolveAll: Li()
|
|
2105
|
+
}, vl = Fi("string"), Hl = Fi("text");
|
|
2106
|
+
function Fi(e) {
|
|
2107
2107
|
return {
|
|
2108
|
-
resolveAll:
|
|
2108
|
+
resolveAll: Li(e === "text" ? Ul : void 0),
|
|
2109
2109
|
tokenize: t
|
|
2110
2110
|
};
|
|
2111
2111
|
function t(n) {
|
|
@@ -2139,7 +2139,7 @@ function Li(e) {
|
|
|
2139
2139
|
}
|
|
2140
2140
|
}
|
|
2141
2141
|
}
|
|
2142
|
-
function
|
|
2142
|
+
function Li(e) {
|
|
2143
2143
|
return t;
|
|
2144
2144
|
function t(n, r) {
|
|
2145
2145
|
let u = -1, i;
|
|
@@ -2208,9 +2208,9 @@ const zl = {
|
|
|
2208
2208
|
}, Yl = {
|
|
2209
2209
|
91: Wo
|
|
2210
2210
|
}, ql = {
|
|
2211
|
-
[-2]:
|
|
2212
|
-
[-1]:
|
|
2213
|
-
32:
|
|
2211
|
+
[-2]: Fn,
|
|
2212
|
+
[-1]: Fn,
|
|
2213
|
+
32: Fn
|
|
2214
2214
|
}, jl = {
|
|
2215
2215
|
35: Jo,
|
|
2216
2216
|
42: ln,
|
|
@@ -2224,9 +2224,9 @@ const zl = {
|
|
|
2224
2224
|
38: Ii,
|
|
2225
2225
|
92: xi
|
|
2226
2226
|
}, Wl = {
|
|
2227
|
-
[-5]:
|
|
2228
|
-
[-4]:
|
|
2229
|
-
[-3]:
|
|
2227
|
+
[-5]: Ln,
|
|
2228
|
+
[-4]: Ln,
|
|
2229
|
+
[-3]: Ln,
|
|
2230
2230
|
33: Al,
|
|
2231
2231
|
38: Ii,
|
|
2232
2232
|
42: ur,
|
|
@@ -2268,7 +2268,7 @@ function Kl(e, t, n) {
|
|
|
2268
2268
|
attempt: V(j),
|
|
2269
2269
|
check: V(S),
|
|
2270
2270
|
consume: R,
|
|
2271
|
-
enter:
|
|
2271
|
+
enter: L,
|
|
2272
2272
|
exit: U,
|
|
2273
2273
|
interrupt: V(S, {
|
|
2274
2274
|
interrupt: !0
|
|
@@ -2335,7 +2335,7 @@ function Kl(e, t, n) {
|
|
|
2335
2335
|
/** @type {string} */
|
|
2336
2336
|
a[r._index].length && (r._bufferIndex = -1, r._index++)), c.previous = v;
|
|
2337
2337
|
}
|
|
2338
|
-
function
|
|
2338
|
+
function L(v, H) {
|
|
2339
2339
|
const Y = H || {};
|
|
2340
2340
|
return Y.type = v, Y.start = g(), c.events.push(["enter", Y, c]), o.push(Y), Y;
|
|
2341
2341
|
}
|
|
@@ -2362,8 +2362,8 @@ function Kl(e, t, n) {
|
|
|
2362
2362
|
/** @type {Construct} */
|
|
2363
2363
|
z
|
|
2364
2364
|
])
|
|
2365
|
-
) :
|
|
2366
|
-
function
|
|
2365
|
+
) : F(z);
|
|
2366
|
+
function F(le) {
|
|
2367
2367
|
return ae;
|
|
2368
2368
|
function ae(be) {
|
|
2369
2369
|
const Pe = be !== null && le[be], We = be !== null && le.null, en = [
|
|
@@ -2634,7 +2634,7 @@ function ac(e) {
|
|
|
2634
2634
|
definition: l(),
|
|
2635
2635
|
definitionDestinationString: U,
|
|
2636
2636
|
definitionLabelString: R,
|
|
2637
|
-
definitionTitleString:
|
|
2637
|
+
definitionTitleString: L,
|
|
2638
2638
|
emphasis: l(),
|
|
2639
2639
|
hardBreakEscape: l(H),
|
|
2640
2640
|
hardBreakTrailing: l(H),
|
|
@@ -2653,7 +2653,7 @@ function ac(e) {
|
|
|
2653
2653
|
paragraph: l(),
|
|
2654
2654
|
referenceString: re,
|
|
2655
2655
|
resourceDestinationString: A,
|
|
2656
|
-
resourceTitleString:
|
|
2656
|
+
resourceTitleString: F,
|
|
2657
2657
|
resource: G,
|
|
2658
2658
|
setextHeading: l(W),
|
|
2659
2659
|
setextHeadingLineSequence: V,
|
|
@@ -2686,18 +2686,18 @@ function ac(e) {
|
|
|
2686
2686
|
if (y[ue][0] === "enter")
|
|
2687
2687
|
ee.push(ue);
|
|
2688
2688
|
else {
|
|
2689
|
-
const
|
|
2690
|
-
ue = u(y,
|
|
2689
|
+
const Le = ee.pop();
|
|
2690
|
+
ue = u(y, Le, ue);
|
|
2691
2691
|
}
|
|
2692
2692
|
for (ue = -1; ++ue < y.length; ) {
|
|
2693
|
-
const
|
|
2694
|
-
Ri.call(
|
|
2693
|
+
const Le = t[y[ue][0]];
|
|
2694
|
+
Ri.call(Le, y[ue][1].type) && Le[y[ue][1].type].call(Object.assign({
|
|
2695
2695
|
sliceSerialize: y[ue][2].sliceSerialize
|
|
2696
2696
|
}, X), y[ue][1]);
|
|
2697
2697
|
}
|
|
2698
2698
|
if (X.tokenStack.length > 0) {
|
|
2699
|
-
const
|
|
2700
|
-
(
|
|
2699
|
+
const Le = X.tokenStack[X.tokenStack.length - 1];
|
|
2700
|
+
(Le[1] || Eu).call(X, void 0, Le[0]);
|
|
2701
2701
|
}
|
|
2702
2702
|
for (M.position = {
|
|
2703
2703
|
start: Qe(y.length > 0 ? y[0][1].start : {
|
|
@@ -2715,7 +2715,7 @@ function ac(e) {
|
|
|
2715
2715
|
return M;
|
|
2716
2716
|
}
|
|
2717
2717
|
function u(y, M, X) {
|
|
2718
|
-
let ee = M - 1, ue = -1,
|
|
2718
|
+
let ee = M - 1, ue = -1, Le = !1, tt, Ue, xt, It;
|
|
2719
2719
|
for (; ++ee <= X; ) {
|
|
2720
2720
|
const xe = y[ee];
|
|
2721
2721
|
switch (xe[1].type) {
|
|
@@ -2745,7 +2745,7 @@ function ac(e) {
|
|
|
2745
2745
|
const ze = y[ft];
|
|
2746
2746
|
if (ze[1].type === "lineEnding" || ze[1].type === "lineEndingBlank") {
|
|
2747
2747
|
if (ze[0] === "exit") continue;
|
|
2748
|
-
Ue && (y[Ue][1].type = "lineEndingBlank",
|
|
2748
|
+
Ue && (y[Ue][1].type = "lineEndingBlank", Le = !0), ze[1].type = "lineEnding", Ue = ft;
|
|
2749
2749
|
} else if (!(ze[1].type === "linePrefix" || ze[1].type === "blockQuotePrefix" || ze[1].type === "blockQuotePrefixWhitespace" || ze[1].type === "blockQuoteMarker" || ze[1].type === "listItemIndent")) break;
|
|
2750
2750
|
}
|
|
2751
2751
|
xt && (!Ue || xt < Ue) && (tt._spread = !0), tt.end = Object.assign({}, Ue ? y[Ue][1].start : xe[1].end), y.splice(Ue || ee, 0, ["exit", tt, xe[2]]), ee++, X++;
|
|
@@ -2762,7 +2762,7 @@ function ac(e) {
|
|
|
2762
2762
|
}
|
|
2763
2763
|
}
|
|
2764
2764
|
}
|
|
2765
|
-
return y[M][1]._spread =
|
|
2765
|
+
return y[M][1]._spread = Le, X;
|
|
2766
2766
|
}
|
|
2767
2767
|
function i(y, M) {
|
|
2768
2768
|
return X;
|
|
@@ -2834,7 +2834,7 @@ function ac(e) {
|
|
|
2834
2834
|
const M = this.resume(), X = this.stack[this.stack.length - 1];
|
|
2835
2835
|
X.label = M, X.identifier = Oe(this.sliceSerialize(y)).toLowerCase();
|
|
2836
2836
|
}
|
|
2837
|
-
function
|
|
2837
|
+
function L() {
|
|
2838
2838
|
const y = this.resume(), M = this.stack[this.stack.length - 1];
|
|
2839
2839
|
M.title = y;
|
|
2840
2840
|
}
|
|
@@ -2930,7 +2930,7 @@ function ac(e) {
|
|
|
2930
2930
|
const y = this.resume(), M = this.stack[this.stack.length - 1];
|
|
2931
2931
|
M.url = y;
|
|
2932
2932
|
}
|
|
2933
|
-
function
|
|
2933
|
+
function F() {
|
|
2934
2934
|
const y = this.resume(), M = this.stack[this.stack.length - 1];
|
|
2935
2935
|
M.title = y;
|
|
2936
2936
|
}
|
|
@@ -3612,7 +3612,7 @@ function Yi(e, t, n, r) {
|
|
|
3612
3612
|
function yc() {
|
|
3613
3613
|
return "!";
|
|
3614
3614
|
}
|
|
3615
|
-
qi.peek =
|
|
3615
|
+
qi.peek = Fc;
|
|
3616
3616
|
function qi(e, t, n, r) {
|
|
3617
3617
|
const u = e.referenceType, i = n.enter("imageReference");
|
|
3618
3618
|
let a = n.enter("label");
|
|
@@ -3633,10 +3633,10 @@ function qi(e, t, n, r) {
|
|
|
3633
3633
|
});
|
|
3634
3634
|
return a(), n.stack = h, i(), u === "full" || !c || c !== f ? l += o.move(f + "]") : u === "shortcut" ? l = l.slice(0, -1) : l += o.move("]"), l;
|
|
3635
3635
|
}
|
|
3636
|
-
function
|
|
3636
|
+
function Fc() {
|
|
3637
3637
|
return "!";
|
|
3638
3638
|
}
|
|
3639
|
-
ji.peek =
|
|
3639
|
+
ji.peek = Lc;
|
|
3640
3640
|
function ji(e, t, n) {
|
|
3641
3641
|
let r = e.value || "", u = "`", i = -1;
|
|
3642
3642
|
for (; new RegExp("(^|[^`])" + u + "([^`]|$)").test(r); )
|
|
@@ -3652,7 +3652,7 @@ function ji(e, t, n) {
|
|
|
3652
3652
|
}
|
|
3653
3653
|
return u + r + u;
|
|
3654
3654
|
}
|
|
3655
|
-
function
|
|
3655
|
+
function Lc() {
|
|
3656
3656
|
return "`";
|
|
3657
3657
|
}
|
|
3658
3658
|
function Vi(e, t) {
|
|
@@ -5052,7 +5052,7 @@ function xu(e, t) {
|
|
|
5052
5052
|
function y0(e) {
|
|
5053
5053
|
return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
|
|
5054
5054
|
}
|
|
5055
|
-
const
|
|
5055
|
+
const F0 = (
|
|
5056
5056
|
/**
|
|
5057
5057
|
* @type {new <Parameters extends Array<unknown>, Result>(property: string | symbol) => (...parameters: Parameters) => Result}
|
|
5058
5058
|
*/
|
|
@@ -5073,8 +5073,8 @@ const L0 = (
|
|
|
5073
5073
|
};
|
|
5074
5074
|
return Object.setPrototypeOf(i, r), i;
|
|
5075
5075
|
})
|
|
5076
|
-
),
|
|
5077
|
-
class Nr extends
|
|
5076
|
+
), L0 = {}.hasOwnProperty;
|
|
5077
|
+
class Nr extends F0 {
|
|
5078
5078
|
/**
|
|
5079
5079
|
* Create a processor.
|
|
5080
5080
|
*/
|
|
@@ -5164,7 +5164,7 @@ class Nr extends L0 {
|
|
|
5164
5164
|
* the entire dataset when getting without key.
|
|
5165
5165
|
*/
|
|
5166
5166
|
data(t, n) {
|
|
5167
|
-
return typeof t == "string" ? arguments.length === 2 ? (Hn("data", this.frozen), this.namespace[t] = n, this) :
|
|
5167
|
+
return typeof t == "string" ? arguments.length === 2 ? (Hn("data", this.frozen), this.namespace[t] = n, this) : L0.call(this.namespace, t) && this.namespace[t] || void 0 : t ? (Hn("data", this.frozen), this.namespace = t, this) : this.namespace;
|
|
5168
5168
|
}
|
|
5169
5169
|
/**
|
|
5170
5170
|
* Freeze a processor.
|
|
@@ -5633,20 +5633,20 @@ function Ki(e, t, n) {
|
|
|
5633
5633
|
const k = f.children.indexOf(c);
|
|
5634
5634
|
let D = !1, R = [];
|
|
5635
5635
|
m.lastIndex = 0;
|
|
5636
|
-
let
|
|
5637
|
-
for (;
|
|
5638
|
-
const U =
|
|
5639
|
-
index:
|
|
5640
|
-
input:
|
|
5636
|
+
let L = m.exec(c.value);
|
|
5637
|
+
for (; L; ) {
|
|
5638
|
+
const U = L.index, j = {
|
|
5639
|
+
index: L.index,
|
|
5640
|
+
input: L.input,
|
|
5641
5641
|
stack: [...h, c]
|
|
5642
5642
|
};
|
|
5643
|
-
let S = d(...
|
|
5643
|
+
let S = d(...L, j);
|
|
5644
5644
|
if (typeof S == "string" && (S = S.length > 0 ? { type: "text", value: S } : void 0), S === !1 ? m.lastIndex = U + 1 : (g !== U && R.push({
|
|
5645
5645
|
type: "text",
|
|
5646
5646
|
value: c.value.slice(g, U)
|
|
5647
|
-
}), Array.isArray(S) ? R.push(...S) : S && R.push(S), g = U +
|
|
5647
|
+
}), Array.isArray(S) ? R.push(...S) : S && R.push(S), g = U + L[0].length, D = !0), !m.global)
|
|
5648
5648
|
break;
|
|
5649
|
-
|
|
5649
|
+
L = m.exec(c.value);
|
|
5650
5650
|
}
|
|
5651
5651
|
return D ? (g < c.value.length && R.push({ type: "text", value: c.value.slice(g) }), f.children.splice(k, 1, ...R)) : R = [c], k + R.length;
|
|
5652
5652
|
}
|
|
@@ -5940,8 +5940,8 @@ function bf(e, t) {
|
|
|
5940
5940
|
for (e[h].length > c && (c = e[h].length); ++D < e[h].length; ) {
|
|
5941
5941
|
const R = gf(e[h][D]);
|
|
5942
5942
|
if (n.alignDelimiters !== !1) {
|
|
5943
|
-
const
|
|
5944
|
-
k[D] =
|
|
5943
|
+
const L = u(R);
|
|
5944
|
+
k[D] = L, (l[D] === void 0 || L > l[D]) && (l[D] = L);
|
|
5945
5945
|
}
|
|
5946
5946
|
I.push(R);
|
|
5947
5947
|
}
|
|
@@ -5966,8 +5966,8 @@ function bf(e, t) {
|
|
|
5966
5966
|
1,
|
|
5967
5967
|
l[f] - k.length - D.length
|
|
5968
5968
|
);
|
|
5969
|
-
const
|
|
5970
|
-
n.alignDelimiters !== !1 && (R = k.length + R + D.length, R > l[f] && (l[f] = R), d[f] = R), m[f] =
|
|
5969
|
+
const L = k + "-".repeat(R) + D;
|
|
5970
|
+
n.alignDelimiters !== !1 && (R = k.length + R + D.length, R > l[f] && (l[f] = R), d[f] = R), m[f] = L;
|
|
5971
5971
|
}
|
|
5972
5972
|
a.splice(1, 0, m), o.splice(1, 0, d), h = -1;
|
|
5973
5973
|
const g = [];
|
|
@@ -5977,14 +5977,14 @@ function bf(e, t) {
|
|
|
5977
5977
|
const D = [];
|
|
5978
5978
|
for (; ++f < c; ) {
|
|
5979
5979
|
const R = I[f] || "";
|
|
5980
|
-
let
|
|
5980
|
+
let L = "", U = "";
|
|
5981
5981
|
if (n.alignDelimiters !== !1) {
|
|
5982
5982
|
const j = l[f] - (k[f] || 0), S = i[f];
|
|
5983
|
-
S === 114 ?
|
|
5983
|
+
S === 114 ? L = " ".repeat(j) : S === 99 ? j % 2 ? (L = " ".repeat(j / 2 + 0.5), U = " ".repeat(j / 2 - 0.5)) : (L = " ".repeat(j / 2), U = L) : U = " ".repeat(j);
|
|
5984
5984
|
}
|
|
5985
5985
|
n.delimiterStart !== !1 && !f && D.push("|"), n.padding !== !1 && // Don’t add the opening space if we’re not aligning and the cell is
|
|
5986
5986
|
// empty: there will be a closing space.
|
|
5987
|
-
!(n.alignDelimiters === !1 && R === "") && (n.delimiterStart !== !1 || f) && D.push(" "), n.alignDelimiters !== !1 && D.push(
|
|
5987
|
+
!(n.alignDelimiters === !1 && R === "") && (n.delimiterStart !== !1 || f) && D.push(" "), n.alignDelimiters !== !1 && D.push(L), D.push(R), n.alignDelimiters !== !1 && D.push(U), n.padding !== !1 && D.push(" "), (n.delimiterEnd !== !1 || f !== c - 1) && D.push("|");
|
|
5988
5988
|
}
|
|
5989
5989
|
g.push(
|
|
5990
5990
|
n.delimiterEnd === !1 ? D.join("").replace(/ +$/, "") : D.join("")
|
|
@@ -6089,12 +6089,12 @@ function kf(e) {
|
|
|
6089
6089
|
`));
|
|
6090
6090
|
}
|
|
6091
6091
|
function l(d, g, I, k) {
|
|
6092
|
-
const D = I.enter("tableCell"), R = I.enter("phrasing"),
|
|
6092
|
+
const D = I.enter("tableCell"), R = I.enter("phrasing"), L = I.containerPhrasing(d, {
|
|
6093
6093
|
...k,
|
|
6094
6094
|
before: i,
|
|
6095
6095
|
after: i
|
|
6096
6096
|
});
|
|
6097
|
-
return R(), D(),
|
|
6097
|
+
return R(), D(), L;
|
|
6098
6098
|
}
|
|
6099
6099
|
function c(d, g) {
|
|
6100
6100
|
return bf(d, {
|
|
@@ -6110,18 +6110,18 @@ function kf(e) {
|
|
|
6110
6110
|
function h(d, g, I) {
|
|
6111
6111
|
const k = d.children;
|
|
6112
6112
|
let D = -1;
|
|
6113
|
-
const R = [],
|
|
6113
|
+
const R = [], L = g.enter("table");
|
|
6114
6114
|
for (; ++D < k.length; )
|
|
6115
6115
|
R[D] = f(k[D], g, I);
|
|
6116
|
-
return
|
|
6116
|
+
return L(), R;
|
|
6117
6117
|
}
|
|
6118
6118
|
function f(d, g, I) {
|
|
6119
6119
|
const k = d.children;
|
|
6120
6120
|
let D = -1;
|
|
6121
|
-
const R = [],
|
|
6121
|
+
const R = [], L = g.enter("tableRow");
|
|
6122
6122
|
for (; ++D < k.length; )
|
|
6123
6123
|
R[D] = l(k[D], d, g, I);
|
|
6124
|
-
return
|
|
6124
|
+
return L(), R;
|
|
6125
6125
|
}
|
|
6126
6126
|
function m(d, g, I) {
|
|
6127
6127
|
let k = kr.inlineCode(d, g, I);
|
|
@@ -6140,7 +6140,7 @@ function Nf() {
|
|
|
6140
6140
|
function Sf() {
|
|
6141
6141
|
return {
|
|
6142
6142
|
unsafe: [{ atBreak: !0, character: "-", after: "[:|-]" }],
|
|
6143
|
-
handlers: { listItem:
|
|
6143
|
+
handlers: { listItem: Ff }
|
|
6144
6144
|
};
|
|
6145
6145
|
}
|
|
6146
6146
|
function yu(e) {
|
|
@@ -6168,7 +6168,7 @@ function yf(e) {
|
|
|
6168
6168
|
}
|
|
6169
6169
|
this.exit(e);
|
|
6170
6170
|
}
|
|
6171
|
-
function
|
|
6171
|
+
function Ff(e, t, n, r) {
|
|
6172
6172
|
const u = e.children[0], i = typeof e.checked == "boolean" && u && u.type === "paragraph", a = "[" + (e.checked ? "x" : " ") + "] ", o = n.createTracker(r);
|
|
6173
6173
|
i && o.move(a);
|
|
6174
6174
|
let l = kr.listItem(e, t, n, {
|
|
@@ -6180,7 +6180,7 @@ function Lf(e, t, n, r) {
|
|
|
6180
6180
|
return h + a;
|
|
6181
6181
|
}
|
|
6182
6182
|
}
|
|
6183
|
-
function
|
|
6183
|
+
function Lf() {
|
|
6184
6184
|
return [
|
|
6185
6185
|
U0(),
|
|
6186
6186
|
of(),
|
|
@@ -6780,9 +6780,9 @@ function uh(e, t, n) {
|
|
|
6780
6780
|
return x === 45 ? (e.enter("tableDelimiterFiller"), R(x)) : j(x);
|
|
6781
6781
|
}
|
|
6782
6782
|
function R(x) {
|
|
6783
|
-
return x === 45 ? (e.consume(x), R) : x === 58 ? (a = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(x), e.exit("tableDelimiterMarker"),
|
|
6783
|
+
return x === 45 ? (e.consume(x), R) : x === 58 ? (a = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(x), e.exit("tableDelimiterMarker"), L) : (e.exit("tableDelimiterFiller"), L(x));
|
|
6784
6784
|
}
|
|
6785
|
-
function
|
|
6785
|
+
function L(x) {
|
|
6786
6786
|
return J(x) ? K(e, U, "whitespace")(x) : U(x);
|
|
6787
6787
|
}
|
|
6788
6788
|
function U(x) {
|
|
@@ -6809,7 +6809,7 @@ function ih(e, t) {
|
|
|
6809
6809
|
const m = new eh();
|
|
6810
6810
|
for (; ++n < e.length; ) {
|
|
6811
6811
|
const d = e[n], g = d[1];
|
|
6812
|
-
d[0] === "enter" ? g.type === "tableHead" ? (o = !1, l !== 0 && (
|
|
6812
|
+
d[0] === "enter" ? g.type === "tableHead" ? (o = !1, l !== 0 && (Fu(m, t, l, c, h), h = void 0, l = 0), c = {
|
|
6813
6813
|
type: "table",
|
|
6814
6814
|
start: Object.assign({}, g.start),
|
|
6815
6815
|
// Note: correct end is set later.
|
|
@@ -6821,7 +6821,7 @@ function ih(e, t) {
|
|
|
6821
6821
|
end: Object.assign({}, g.end)
|
|
6822
6822
|
}, m.add(n, 0, [["enter", h, t]])), u = g.type === "tableDelimiterRow" ? 2 : h ? 3 : 1) : u && (g.type === "data" || g.type === "tableDelimiterMarker" || g.type === "tableDelimiterFiller") ? (r = !1, a[2] === 0 && (i[1] !== 0 && (a[0] = a[1], f = rn(m, t, i, u, void 0, f), i = [0, 0, 0, 0]), a[2] = n)) : g.type === "tableCellDivider" && (r ? r = !1 : (i[1] !== 0 && (a[0] = a[1], f = rn(m, t, i, u, void 0, f)), i = a, a = [i[1], n, 0, 0])) : g.type === "tableHead" ? (o = !0, l = n) : g.type === "tableRow" || g.type === "tableDelimiterRow" ? (l = n, i[1] !== 0 ? (a[0] = a[1], f = rn(m, t, i, u, n, f)) : a[1] !== 0 && (f = rn(m, t, a, u, n, f)), u = 0) : u && (g.type === "data" || g.type === "tableDelimiterMarker" || g.type === "tableDelimiterFiller") && (a[3] = n);
|
|
6823
6823
|
}
|
|
6824
|
-
for (l !== 0 &&
|
|
6824
|
+
for (l !== 0 && Fu(m, t, l, c, h), m.consume(t.events), n = -1; ++n < t.events.length; ) {
|
|
6825
6825
|
const d = t.events[n];
|
|
6826
6826
|
d[0] === "enter" && d[1].type === "table" && (d[1]._align = nh(t.events, n));
|
|
6827
6827
|
}
|
|
@@ -6853,7 +6853,7 @@ function rn(e, t, n, r, u, i) {
|
|
|
6853
6853
|
}
|
|
6854
6854
|
return u !== void 0 && (i.end = Object.assign({}, dt(t.events, u)), e.add(u, 0, [["exit", i, t]]), i = void 0), i;
|
|
6855
6855
|
}
|
|
6856
|
-
function
|
|
6856
|
+
function Fu(e, t, n, r, u) {
|
|
6857
6857
|
const i = [], a = dt(t.events, n);
|
|
6858
6858
|
u && (u.end = Object.assign({}, a), i.push(["exit", u, t])), r.end = Object.assign({}, a), i.push(["exit", r, t]), e.add(n + 1, 0, i);
|
|
6859
6859
|
}
|
|
@@ -6916,7 +6916,7 @@ function hh(e) {
|
|
|
6916
6916
|
/** @type {Processor<Root>} */
|
|
6917
6917
|
this
|
|
6918
6918
|
), n = e || fh, r = t.data(), u = r.micromarkExtensions || (r.micromarkExtensions = []), i = r.fromMarkdownExtensions || (r.fromMarkdownExtensions = []), a = r.toMarkdownExtensions || (r.toMarkdownExtensions = []);
|
|
6919
|
-
u.push(ch(n)), i.push(
|
|
6919
|
+
u.push(ch(n)), i.push(Lf()), a.push(Of(n));
|
|
6920
6920
|
}
|
|
6921
6921
|
const dh = [
|
|
6922
6922
|
"AElig",
|
|
@@ -7025,7 +7025,7 @@ const dh = [
|
|
|
7025
7025
|
"yacute",
|
|
7026
7026
|
"yen",
|
|
7027
7027
|
"yuml"
|
|
7028
|
-
],
|
|
7028
|
+
], Lu = {
|
|
7029
7029
|
0: "�",
|
|
7030
7030
|
128: "€",
|
|
7031
7031
|
130: "‚",
|
|
@@ -7100,11 +7100,11 @@ function yr(e, t) {
|
|
|
7100
7100
|
continue;
|
|
7101
7101
|
}
|
|
7102
7102
|
const R = i + 1;
|
|
7103
|
-
let
|
|
7103
|
+
let L = R, U = R, j;
|
|
7104
7104
|
if (D === 35) {
|
|
7105
|
-
U = ++
|
|
7105
|
+
U = ++L;
|
|
7106
7106
|
const Y = e.charCodeAt(U);
|
|
7107
|
-
Y === 88 || Y === 120 ? (j = "hexadecimal", U = ++
|
|
7107
|
+
Y === 88 || Y === 120 ? (j = "hexadecimal", U = ++L) : j = "decimal";
|
|
7108
7108
|
} else
|
|
7109
7109
|
j = "named";
|
|
7110
7110
|
let S = "", V = "", W = "";
|
|
@@ -7127,7 +7127,7 @@ function yr(e, t) {
|
|
|
7127
7127
|
else if (j === "named") {
|
|
7128
7128
|
if (x && !V)
|
|
7129
7129
|
I(5, 1);
|
|
7130
|
-
else if (S !== W && (U =
|
|
7130
|
+
else if (S !== W && (U = L + S.length, v = 1 + U - L, x = !1), !x) {
|
|
7131
7131
|
const Y = S ? 1 : 3;
|
|
7132
7132
|
if (n.attribute) {
|
|
7133
7133
|
const z = e.charCodeAt(U);
|
|
@@ -7144,8 +7144,8 @@ function yr(e, t) {
|
|
|
7144
7144
|
);
|
|
7145
7145
|
if (Th(Y))
|
|
7146
7146
|
I(7, v), H = "�";
|
|
7147
|
-
else if (Y in
|
|
7148
|
-
I(6, v), H =
|
|
7147
|
+
else if (Y in Lu)
|
|
7148
|
+
I(6, v), H = Lu[Y];
|
|
7149
7149
|
else {
|
|
7150
7150
|
let z = "";
|
|
7151
7151
|
bh(Y) && I(6, v), Y > 65535 && (Y -= 65536, z += String.fromCharCode(
|
|
@@ -7175,11 +7175,11 @@ function yr(e, t) {
|
|
|
7175
7175
|
};
|
|
7176
7176
|
}
|
|
7177
7177
|
function I(D, R) {
|
|
7178
|
-
let
|
|
7179
|
-
n.warning && (
|
|
7178
|
+
let L;
|
|
7179
|
+
n.warning && (L = g(), L.column += R, L.offset += R, n.warning.call(
|
|
7180
7180
|
n.warningContext || void 0,
|
|
7181
7181
|
Eh[D],
|
|
7182
|
-
|
|
7182
|
+
L,
|
|
7183
7183
|
D
|
|
7184
7184
|
));
|
|
7185
7185
|
}
|
|
@@ -7239,8 +7239,8 @@ function kh(e) {
|
|
|
7239
7239
|
function Nh(e, t) {
|
|
7240
7240
|
return _h(e, Object.assign({ format: kh }, t));
|
|
7241
7241
|
}
|
|
7242
|
-
const Sh = {}.hasOwnProperty, yh = {}, Pu = /^[^\t\n\r "#'.<=>`}]+$/,
|
|
7243
|
-
function
|
|
7242
|
+
const Sh = {}.hasOwnProperty, yh = {}, Pu = /^[^\t\n\r "#'.<=>`}]+$/, Fh = /^[^\t\n\r "'<=>`}]+$/;
|
|
7243
|
+
function Lh() {
|
|
7244
7244
|
return {
|
|
7245
7245
|
canContainEols: ["textDirective"],
|
|
7246
7246
|
enter: {
|
|
@@ -7357,7 +7357,7 @@ function Oh(e) {
|
|
|
7357
7357
|
}
|
|
7358
7358
|
function u(i, a, o, l) {
|
|
7359
7359
|
if (t.collapseEmptyAttributes !== !1 && !a) return i;
|
|
7360
|
-
if (t.preferUnquoted &&
|
|
7360
|
+
if (t.preferUnquoted && Fh.test(a))
|
|
7361
7361
|
return i + "=" + a;
|
|
7362
7362
|
const c = t.quote || l.options.quote || '"', h = c === '"' ? "'" : '"', f = t.quoteSmart && mn(a, c) > mn(a, h) ? h : c, m = o.type === "textDirective" ? [f] : [f, `
|
|
7363
7363
|
`, "\r"];
|
|
@@ -7365,15 +7365,15 @@ function Oh(e) {
|
|
|
7365
7365
|
}
|
|
7366
7366
|
}
|
|
7367
7367
|
function Rh(e) {
|
|
7368
|
-
|
|
7368
|
+
Fr.call(this, "containerDirective", e);
|
|
7369
7369
|
}
|
|
7370
7370
|
function Ph(e) {
|
|
7371
|
-
|
|
7371
|
+
Fr.call(this, "leafDirective", e);
|
|
7372
7372
|
}
|
|
7373
7373
|
function wh(e) {
|
|
7374
|
-
|
|
7374
|
+
Fr.call(this, "textDirective", e);
|
|
7375
7375
|
}
|
|
7376
|
-
function
|
|
7376
|
+
function Fr(e, t) {
|
|
7377
7377
|
this.enter({ type: e, name: "", attributes: {}, children: [] }, t);
|
|
7378
7378
|
}
|
|
7379
7379
|
function jn(e) {
|
|
@@ -7444,16 +7444,16 @@ function Hh(e) {
|
|
|
7444
7444
|
}
|
|
7445
7445
|
}), t += 3) : e.type === "leafDirective" ? t = 2 : t = 1, ":".repeat(t);
|
|
7446
7446
|
}
|
|
7447
|
-
function
|
|
7447
|
+
function Lr(e, t, n, r, u, i, a, o, l, c, h, f, m, d, g) {
|
|
7448
7448
|
let I, k;
|
|
7449
7449
|
return D;
|
|
7450
7450
|
function D(C) {
|
|
7451
7451
|
return e.enter(r), e.enter(u), e.consume(C), e.exit(u), R;
|
|
7452
7452
|
}
|
|
7453
7453
|
function R(C) {
|
|
7454
|
-
return C === 35 ? (I = a,
|
|
7454
|
+
return C === 35 ? (I = a, L(C)) : C === 46 ? (I = o, L(C)) : C === 58 || C === 95 || pe(C) ? (e.enter(i), e.enter(l), e.consume(C), S) : g && J(C) ? K(e, R, "whitespace")(C) : !g && ne(C) ? qe(e, R)(C) : z(C);
|
|
7455
7455
|
}
|
|
7456
|
-
function
|
|
7456
|
+
function L(C) {
|
|
7457
7457
|
const Q = (
|
|
7458
7458
|
/** @type {TokenType} */
|
|
7459
7459
|
I + "Marker"
|
|
@@ -7583,7 +7583,7 @@ function qh(e, t, n) {
|
|
|
7583
7583
|
return e.exit("directiveContainerFence"), O === null ? V(O) : q(O) ? r.interrupt ? t(O) : e.attempt(un, g, V)(O) : n(O);
|
|
7584
7584
|
}
|
|
7585
7585
|
function g(O) {
|
|
7586
|
-
return O === null ? V(O) : q(O) ? e.check(un,
|
|
7586
|
+
return O === null ? V(O) : q(O) ? e.check(un, L, V)(O) : (e.enter("directiveContainerContent"), I(O));
|
|
7587
7587
|
}
|
|
7588
7588
|
function I(O) {
|
|
7589
7589
|
return e.attempt({
|
|
@@ -7608,7 +7608,7 @@ function qh(e, t, n) {
|
|
|
7608
7608
|
});
|
|
7609
7609
|
return o && (o.next = x), o = x, D(O);
|
|
7610
7610
|
}
|
|
7611
|
-
function
|
|
7611
|
+
function L(O) {
|
|
7612
7612
|
return e.enter("directiveContainerContent"), I(O);
|
|
7613
7613
|
}
|
|
7614
7614
|
function U(O) {
|
|
@@ -7644,7 +7644,7 @@ function jh(e, t, n) {
|
|
|
7644
7644
|
return Or(e, t, n, "directiveContainerLabel", "directiveContainerLabelMarker", "directiveContainerLabelString", !0);
|
|
7645
7645
|
}
|
|
7646
7646
|
function Vh(e, t, n) {
|
|
7647
|
-
return
|
|
7647
|
+
return Lr(e, t, n, "directiveContainerAttributes", "directiveContainerAttributesMarker", "directiveContainerAttribute", "directiveContainerAttributeId", "directiveContainerAttributeClass", "directiveContainerAttributeName", "directiveContainerAttributeInitializerMarker", "directiveContainerAttributeValueLiteral", "directiveContainerAttributeValue", "directiveContainerAttributeValueMarker", "directiveContainerAttributeValueData", !0);
|
|
7648
7648
|
}
|
|
7649
7649
|
function Wh(e, t, n) {
|
|
7650
7650
|
const r = this;
|
|
@@ -7691,7 +7691,7 @@ function Kh(e, t, n) {
|
|
|
7691
7691
|
return Or(e, t, n, "directiveLeafLabel", "directiveLeafLabelMarker", "directiveLeafLabelString", !0);
|
|
7692
7692
|
}
|
|
7693
7693
|
function Jh(e, t, n) {
|
|
7694
|
-
return
|
|
7694
|
+
return Lr(e, t, n, "directiveLeafAttributes", "directiveLeafAttributesMarker", "directiveLeafAttribute", "directiveLeafAttributeId", "directiveLeafAttributeClass", "directiveLeafAttributeName", "directiveLeafAttributeInitializerMarker", "directiveLeafAttributeValueLiteral", "directiveLeafAttributeValue", "directiveLeafAttributeValueMarker", "directiveLeafAttributeValueData", !0);
|
|
7695
7695
|
}
|
|
7696
7696
|
const Zh = {
|
|
7697
7697
|
tokenize: rd,
|
|
@@ -7726,7 +7726,7 @@ function ud(e, t, n) {
|
|
|
7726
7726
|
return Or(e, t, n, "directiveTextLabel", "directiveTextLabelMarker", "directiveTextLabelString");
|
|
7727
7727
|
}
|
|
7728
7728
|
function id(e, t, n) {
|
|
7729
|
-
return
|
|
7729
|
+
return Lr(e, t, n, "directiveTextAttributes", "directiveTextAttributesMarker", "directiveTextAttribute", "directiveTextAttributeId", "directiveTextAttributeClass", "directiveTextAttributeName", "directiveTextAttributeInitializerMarker", "directiveTextAttributeValueLiteral", "directiveTextAttributeValue", "directiveTextAttributeValueMarker", "directiveTextAttributeValueData");
|
|
7730
7730
|
}
|
|
7731
7731
|
function ad() {
|
|
7732
7732
|
return {
|
|
@@ -7740,7 +7740,7 @@ function ad() {
|
|
|
7740
7740
|
}
|
|
7741
7741
|
function sd() {
|
|
7742
7742
|
const t = /** @type {Processor<Root>} */ this.data(), n = t.micromarkExtensions || (t.micromarkExtensions = []), r = t.fromMarkdownExtensions || (t.fromMarkdownExtensions = []), u = t.toMarkdownExtensions || (t.toMarkdownExtensions = []);
|
|
7743
|
-
n.push(ad()), r.push(
|
|
7743
|
+
n.push(ad()), r.push(Lh()), u.push(Oh());
|
|
7744
7744
|
}
|
|
7745
7745
|
function od(e, t) {
|
|
7746
7746
|
const n = {
|
|
@@ -8029,7 +8029,7 @@ function yd(e, t, n) {
|
|
|
8029
8029
|
};
|
|
8030
8030
|
return e.patch(t, h), e.applyData(t, h);
|
|
8031
8031
|
}
|
|
8032
|
-
function
|
|
8032
|
+
function Fd(e, t) {
|
|
8033
8033
|
const n = {
|
|
8034
8034
|
type: "element",
|
|
8035
8035
|
tagName: "td",
|
|
@@ -8040,7 +8040,7 @@ function Ld(e, t) {
|
|
|
8040
8040
|
return e.patch(t, n), e.applyData(t, n);
|
|
8041
8041
|
}
|
|
8042
8042
|
const Bu = 9, Mu = 32;
|
|
8043
|
-
function
|
|
8043
|
+
function Ld(e) {
|
|
8044
8044
|
const t = String(e), n = /\r?\n|\r/g;
|
|
8045
8045
|
let r = n.exec(t), u = 0;
|
|
8046
8046
|
const i = [];
|
|
@@ -8066,7 +8066,7 @@ function vu(e, t, n) {
|
|
|
8066
8066
|
return u > r ? e.slice(r, u) : "";
|
|
8067
8067
|
}
|
|
8068
8068
|
function Od(e, t) {
|
|
8069
|
-
const n = { type: "text", value:
|
|
8069
|
+
const n = { type: "text", value: Ld(String(t.value)) };
|
|
8070
8070
|
return e.patch(t, n), e.applyData(t, n);
|
|
8071
8071
|
}
|
|
8072
8072
|
function Rd(e, t) {
|
|
@@ -8099,7 +8099,7 @@ const Pd = {
|
|
|
8099
8099
|
root: Id,
|
|
8100
8100
|
strong: kd,
|
|
8101
8101
|
table: Sd,
|
|
8102
|
-
tableCell:
|
|
8102
|
+
tableCell: Fd,
|
|
8103
8103
|
tableRow: yd,
|
|
8104
8104
|
text: Od,
|
|
8105
8105
|
thematicBreak: Rd,
|
|
@@ -10037,10 +10037,10 @@ function mt(e) {
|
|
|
10037
10037
|
function Xu(e) {
|
|
10038
10038
|
return e.line && e.column ? e : void 0;
|
|
10039
10039
|
}
|
|
10040
|
-
const b1 = {}, g1 = {}.hasOwnProperty,
|
|
10040
|
+
const b1 = {}, g1 = {}.hasOwnProperty, Fa = Dr("type", { handlers: { root: C1, element: k1, text: x1, comment: I1, doctype: _1 } });
|
|
10041
10041
|
function A1(e, t) {
|
|
10042
10042
|
const r = (t || b1).space;
|
|
10043
|
-
return
|
|
10043
|
+
return Fa(e, r === "svg" ? et : Kt);
|
|
10044
10044
|
}
|
|
10045
10045
|
function C1(e, t) {
|
|
10046
10046
|
const n = {
|
|
@@ -10129,7 +10129,7 @@ function Ur(e, t, n) {
|
|
|
10129
10129
|
const u = [];
|
|
10130
10130
|
if (e)
|
|
10131
10131
|
for (; ++r < e.length; ) {
|
|
10132
|
-
const i =
|
|
10132
|
+
const i = Fa(e[r], n);
|
|
10133
10133
|
i.parentNode = t, u.push(i);
|
|
10134
10134
|
}
|
|
10135
10135
|
return u;
|
|
@@ -10214,13 +10214,13 @@ const Ae = {
|
|
|
10214
10214
|
PUBLIC: "public",
|
|
10215
10215
|
SYSTEM: "system"
|
|
10216
10216
|
};
|
|
10217
|
-
function
|
|
10217
|
+
function La(e) {
|
|
10218
10218
|
return e >= 55296 && e <= 57343;
|
|
10219
10219
|
}
|
|
10220
|
-
function
|
|
10220
|
+
function F1(e) {
|
|
10221
10221
|
return e >= 56320 && e <= 57343;
|
|
10222
10222
|
}
|
|
10223
|
-
function
|
|
10223
|
+
function L1(e, t) {
|
|
10224
10224
|
return (e - 55296) * 1024 + 9216 + t;
|
|
10225
10225
|
}
|
|
10226
10226
|
function Oa(e) {
|
|
@@ -10266,8 +10266,8 @@ class R1 {
|
|
|
10266
10266
|
_processSurrogate(t) {
|
|
10267
10267
|
if (this.pos !== this.html.length - 1) {
|
|
10268
10268
|
const n = this.html.charCodeAt(this.pos + 1);
|
|
10269
|
-
if (
|
|
10270
|
-
return this.pos++, this._addGap(),
|
|
10269
|
+
if (F1(n))
|
|
10270
|
+
return this.pos++, this._addGap(), L1(t, n);
|
|
10271
10271
|
} else if (!this.lastChunkWritten)
|
|
10272
10272
|
return this.endOfChunkHit = !0, p.EOF;
|
|
10273
10273
|
return this._err(N.surrogateInInputStream), t;
|
|
@@ -10305,7 +10305,7 @@ class R1 {
|
|
|
10305
10305
|
if (this.pos++, this.isEol && (this.isEol = !1, this.line++, this.lineStartPos = this.pos), this.pos >= this.html.length)
|
|
10306
10306
|
return this.endOfChunkHit = !this.lastChunkWritten, p.EOF;
|
|
10307
10307
|
let t = this.html.charCodeAt(this.pos);
|
|
10308
|
-
return t === p.CARRIAGE_RETURN ? (this.isEol = !0, this.skipNextNewLine = !0, p.LINE_FEED) : t === p.LINE_FEED && (this.isEol = !0, this.skipNextNewLine) ? (this.line--, this.skipNextNewLine = !1, this._addGap(), this.advance()) : (this.skipNextNewLine = !1,
|
|
10308
|
+
return t === p.CARRIAGE_RETURN ? (this.isEol = !0, this.skipNextNewLine = !0, p.LINE_FEED) : t === p.LINE_FEED && (this.isEol = !0, this.skipNextNewLine) ? (this.line--, this.skipNextNewLine = !1, this._addGap(), this.advance()) : (this.skipNextNewLine = !1, La(t) && (t = this._processSurrogate(t)), this.handler.onParseError === null || t > 31 && t < 127 || t === p.LINE_FEED || t === p.CARRIAGE_RETURN || t > 159 && t < 64976 || this._checkForProblematicCharacters(t), t);
|
|
10309
10309
|
}
|
|
10310
10310
|
_checkForProblematicCharacters(t) {
|
|
10311
10311
|
Oa(t) ? this._err(N.controlCharacterInInputStream) : Ra(t) && this._err(N.noncharacterInInputStream);
|
|
@@ -10609,10 +10609,10 @@ var st;
|
|
|
10609
10609
|
(function(e) {
|
|
10610
10610
|
e.TYPE = "type", e.ACTION = "action", e.ENCODING = "encoding", e.PROMPT = "prompt", e.NAME = "name", e.COLOR = "color", e.FACE = "face", e.SIZE = "size";
|
|
10611
10611
|
})(st || (st = {}));
|
|
10612
|
-
var
|
|
10612
|
+
var Fe;
|
|
10613
10613
|
(function(e) {
|
|
10614
10614
|
e.NO_QUIRKS = "no-quirks", e.QUIRKS = "quirks", e.LIMITED_QUIRKS = "limited-quirks";
|
|
10615
|
-
})(
|
|
10615
|
+
})(Fe || (Fe = {}));
|
|
10616
10616
|
var _;
|
|
10617
10617
|
(function(e) {
|
|
10618
10618
|
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.SEARCH = "search", 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";
|
|
@@ -10878,7 +10878,7 @@ function Ju(e) {
|
|
|
10878
10878
|
return wa(e) || e === p.SOLIDUS || e === p.GREATER_THAN_SIGN;
|
|
10879
10879
|
}
|
|
10880
10880
|
function Q1(e) {
|
|
10881
|
-
return e === p.NULL ? N.nullCharacterReference : e > 1114111 ? N.characterReferenceOutsideUnicodeRange :
|
|
10881
|
+
return e === p.NULL ? N.nullCharacterReference : e > 1114111 ? N.characterReferenceOutsideUnicodeRange : La(e) ? N.surrogateCharacterReference : Ra(e) ? N.noncharacterCharacterReference : Oa(e) || e === p.CARRIAGE_RETURN ? N.controlCharacterReference : null;
|
|
10882
10882
|
}
|
|
10883
10883
|
class G1 {
|
|
10884
10884
|
constructor(t, n) {
|
|
@@ -13092,7 +13092,7 @@ const Xe = {
|
|
|
13092
13092
|
createDocument() {
|
|
13093
13093
|
return {
|
|
13094
13094
|
nodeName: "#document",
|
|
13095
|
-
mode:
|
|
13095
|
+
mode: Fe.NO_QUIRKS,
|
|
13096
13096
|
childNodes: []
|
|
13097
13097
|
};
|
|
13098
13098
|
},
|
|
@@ -13321,21 +13321,21 @@ function om(e) {
|
|
|
13321
13321
|
}
|
|
13322
13322
|
function lm(e) {
|
|
13323
13323
|
if (e.name !== Ma)
|
|
13324
|
-
return
|
|
13324
|
+
return Fe.QUIRKS;
|
|
13325
13325
|
const { systemId: t } = e;
|
|
13326
13326
|
if (t && t.toLowerCase() === um)
|
|
13327
|
-
return
|
|
13327
|
+
return Fe.QUIRKS;
|
|
13328
13328
|
let { publicId: n } = e;
|
|
13329
13329
|
if (n !== null) {
|
|
13330
13330
|
if (n = n.toLowerCase(), am.has(n))
|
|
13331
|
-
return
|
|
13331
|
+
return Fe.QUIRKS;
|
|
13332
13332
|
let r = t === null ? im : va;
|
|
13333
13333
|
if (ri(n, r))
|
|
13334
|
-
return
|
|
13334
|
+
return Fe.QUIRKS;
|
|
13335
13335
|
if (r = t === null ? Ha : sm, ri(n, r))
|
|
13336
|
-
return
|
|
13336
|
+
return Fe.LIMITED_QUIRKS;
|
|
13337
13337
|
}
|
|
13338
|
-
return
|
|
13338
|
+
return Fe.NO_QUIRKS;
|
|
13339
13339
|
}
|
|
13340
13340
|
const ui = {
|
|
13341
13341
|
TEXT_HTML: "text/html",
|
|
@@ -13961,7 +13961,7 @@ class ai {
|
|
|
13961
13961
|
}
|
|
13962
13962
|
switch (this.insertionMode) {
|
|
13963
13963
|
case T.INITIAL: {
|
|
13964
|
-
|
|
13964
|
+
Ft(this, t);
|
|
13965
13965
|
break;
|
|
13966
13966
|
}
|
|
13967
13967
|
case T.BEFORE_HTML: {
|
|
@@ -14029,7 +14029,7 @@ class ai {
|
|
|
14029
14029
|
}
|
|
14030
14030
|
switch (this.insertionMode) {
|
|
14031
14031
|
case T.INITIAL: {
|
|
14032
|
-
|
|
14032
|
+
Ft(this, t);
|
|
14033
14033
|
break;
|
|
14034
14034
|
}
|
|
14035
14035
|
case T.BEFORE_HTML: {
|
|
@@ -14105,11 +14105,11 @@ class ai {
|
|
|
14105
14105
|
break;
|
|
14106
14106
|
}
|
|
14107
14107
|
case T.IN_TABLE_TEXT: {
|
|
14108
|
-
|
|
14108
|
+
Lt(this, t);
|
|
14109
14109
|
break;
|
|
14110
14110
|
}
|
|
14111
14111
|
case T.AFTER_BODY: {
|
|
14112
|
-
|
|
14112
|
+
Lm(this, t);
|
|
14113
14113
|
break;
|
|
14114
14114
|
}
|
|
14115
14115
|
case T.AFTER_AFTER_BODY:
|
|
@@ -14134,7 +14134,7 @@ class ai {
|
|
|
14134
14134
|
break;
|
|
14135
14135
|
}
|
|
14136
14136
|
case T.IN_TABLE_TEXT: {
|
|
14137
|
-
|
|
14137
|
+
Lt(this, t);
|
|
14138
14138
|
break;
|
|
14139
14139
|
}
|
|
14140
14140
|
}
|
|
@@ -14161,7 +14161,7 @@ class ai {
|
|
|
14161
14161
|
_startTagOutsideForeignContent(t) {
|
|
14162
14162
|
switch (this.insertionMode) {
|
|
14163
14163
|
case T.INITIAL: {
|
|
14164
|
-
|
|
14164
|
+
Ft(this, t);
|
|
14165
14165
|
break;
|
|
14166
14166
|
}
|
|
14167
14167
|
case T.BEFORE_HTML: {
|
|
@@ -14193,7 +14193,7 @@ class ai {
|
|
|
14193
14193
|
break;
|
|
14194
14194
|
}
|
|
14195
14195
|
case T.IN_TABLE_TEXT: {
|
|
14196
|
-
|
|
14196
|
+
Lt(this, t);
|
|
14197
14197
|
break;
|
|
14198
14198
|
}
|
|
14199
14199
|
case T.IN_CAPTION: {
|
|
@@ -14258,7 +14258,7 @@ class ai {
|
|
|
14258
14258
|
_endTagOutsideForeignContent(t) {
|
|
14259
14259
|
switch (this.insertionMode) {
|
|
14260
14260
|
case T.INITIAL: {
|
|
14261
|
-
|
|
14261
|
+
Ft(this, t);
|
|
14262
14262
|
break;
|
|
14263
14263
|
}
|
|
14264
14264
|
case T.BEFORE_HTML: {
|
|
@@ -14294,7 +14294,7 @@ class ai {
|
|
|
14294
14294
|
break;
|
|
14295
14295
|
}
|
|
14296
14296
|
case T.IN_TABLE_TEXT: {
|
|
14297
|
-
|
|
14297
|
+
Lt(this, t);
|
|
14298
14298
|
break;
|
|
14299
14299
|
}
|
|
14300
14300
|
case T.IN_CAPTION: {
|
|
@@ -14351,7 +14351,7 @@ class ai {
|
|
|
14351
14351
|
onEof(t) {
|
|
14352
14352
|
switch (this.insertionMode) {
|
|
14353
14353
|
case T.INITIAL: {
|
|
14354
|
-
|
|
14354
|
+
Ft(this, t);
|
|
14355
14355
|
break;
|
|
14356
14356
|
}
|
|
14357
14357
|
case T.BEFORE_HTML: {
|
|
@@ -14391,7 +14391,7 @@ class ai {
|
|
|
14391
14391
|
break;
|
|
14392
14392
|
}
|
|
14393
14393
|
case T.IN_TABLE_TEXT: {
|
|
14394
|
-
|
|
14394
|
+
Lt(this, t);
|
|
14395
14395
|
break;
|
|
14396
14396
|
}
|
|
14397
14397
|
case T.IN_TEMPLATE: {
|
|
@@ -14491,7 +14491,7 @@ function ym(e, t, n) {
|
|
|
14491
14491
|
u === s.TEMPLATE && i === P.HTML && (t = e.treeAdapter.getTemplateContent(t)), e.treeAdapter.appendChild(t, n);
|
|
14492
14492
|
}
|
|
14493
14493
|
}
|
|
14494
|
-
function
|
|
14494
|
+
function Fm(e, t, n) {
|
|
14495
14495
|
const r = e.treeAdapter.getNamespaceURI(n.element), { token: u } = n, i = e.treeAdapter.createElement(u.tagName, r, u.attrs);
|
|
14496
14496
|
e._adoptNodes(t, i), e.treeAdapter.appendChild(t, i), e.activeFormattingElements.insertElementAfterBookmark(i, u), e.activeFormattingElements.removeEntry(n), e.openElements.remove(n.element), e.openElements.insertAfter(t, i, u.tagID);
|
|
14497
14497
|
}
|
|
@@ -14505,13 +14505,13 @@ function Yr(e, t) {
|
|
|
14505
14505
|
break;
|
|
14506
14506
|
e.activeFormattingElements.bookmark = r;
|
|
14507
14507
|
const i = Nm(e, u, r.element), a = e.openElements.getCommonAncestor(r.element);
|
|
14508
|
-
e.treeAdapter.detachNode(i), a && ym(e, a, i),
|
|
14508
|
+
e.treeAdapter.detachNode(i), a && ym(e, a, i), Fm(e, u, r);
|
|
14509
14509
|
}
|
|
14510
14510
|
}
|
|
14511
14511
|
function br(e, t) {
|
|
14512
14512
|
e._appendCommentNode(t, e.openElements.currentTmplContentOrNode);
|
|
14513
14513
|
}
|
|
14514
|
-
function
|
|
14514
|
+
function Lm(e, t) {
|
|
14515
14515
|
e._appendCommentNode(t, e.openElements.items[0]);
|
|
14516
14516
|
}
|
|
14517
14517
|
function Om(e, t) {
|
|
@@ -14533,11 +14533,11 @@ function qr(e, t) {
|
|
|
14533
14533
|
}
|
|
14534
14534
|
function Rm(e, t) {
|
|
14535
14535
|
e._setDocumentType(t);
|
|
14536
|
-
const n = t.forceQuirks ?
|
|
14536
|
+
const n = t.forceQuirks ? Fe.QUIRKS : lm(t);
|
|
14537
14537
|
om(t) || e._err(t, N.nonConformingDoctype), e.treeAdapter.setDocumentMode(e.document, n), e.insertionMode = T.BEFORE_HTML;
|
|
14538
14538
|
}
|
|
14539
|
-
function
|
|
14540
|
-
e._err(t, N.missingDoctype, !0), e.treeAdapter.setDocumentMode(e.document,
|
|
14539
|
+
function Ft(e, t) {
|
|
14540
|
+
e._err(t, N.missingDoctype, !0), e.treeAdapter.setDocumentMode(e.document, Fe.QUIRKS), e.insertionMode = T.BEFORE_HTML, e._processToken(t);
|
|
14541
14541
|
}
|
|
14542
14542
|
function Pm(e, t) {
|
|
14543
14543
|
t.tagID === s.HTML ? (e._insertElement(t, P.HTML), e.insertionMode = T.BEFORE_HEAD) : vt(e, t);
|
|
@@ -14827,7 +14827,7 @@ function np(e, t) {
|
|
|
14827
14827
|
e._reconstructActiveFormattingElements(), e._insertElement(t, P.HTML), e.activeFormattingElements.insertMarker(), e.framesetOk = !1;
|
|
14828
14828
|
}
|
|
14829
14829
|
function rp(e, t) {
|
|
14830
|
-
e.treeAdapter.getDocumentMode(e.document) !==
|
|
14830
|
+
e.treeAdapter.getDocumentMode(e.document) !== Fe.QUIRKS && e.openElements.hasInButtonScope(s.P) && e._closePElement(), e._insertElement(t, P.HTML), e.framesetOk = !1, e.insertionMode = T.IN_TABLE;
|
|
14831
14831
|
}
|
|
14832
14832
|
function Va(e, t) {
|
|
14833
14833
|
e._reconstructActiveFormattingElements(), e._appendElement(t, P.HTML), e.framesetOk = !1, t.ackSelfClosing = !0;
|
|
@@ -15269,10 +15269,10 @@ function er(e, t) {
|
|
|
15269
15269
|
function yp(e, t) {
|
|
15270
15270
|
e.openElements.clearBackToTableContext(), e.activeFormattingElements.insertMarker(), e._insertElement(t, P.HTML), e.insertionMode = T.IN_CAPTION;
|
|
15271
15271
|
}
|
|
15272
|
-
function
|
|
15272
|
+
function Fp(e, t) {
|
|
15273
15273
|
e.openElements.clearBackToTableContext(), e._insertElement(t, P.HTML), e.insertionMode = T.IN_COLUMN_GROUP;
|
|
15274
15274
|
}
|
|
15275
|
-
function
|
|
15275
|
+
function Lp(e, t) {
|
|
15276
15276
|
e.openElements.clearBackToTableContext(), e._insertFakeElement(_.COLGROUP, s.COLGROUP), e.insertionMode = T.IN_COLUMN_GROUP, jr(e, t);
|
|
15277
15277
|
}
|
|
15278
15278
|
function Op(e, t) {
|
|
@@ -15305,7 +15305,7 @@ function Et(e, t) {
|
|
|
15305
15305
|
break;
|
|
15306
15306
|
}
|
|
15307
15307
|
case s.COL: {
|
|
15308
|
-
|
|
15308
|
+
Lp(e, t);
|
|
15309
15309
|
break;
|
|
15310
15310
|
}
|
|
15311
15311
|
case s.FORM: {
|
|
@@ -15331,7 +15331,7 @@ function Et(e, t) {
|
|
|
15331
15331
|
break;
|
|
15332
15332
|
}
|
|
15333
15333
|
case s.COLGROUP: {
|
|
15334
|
-
|
|
15334
|
+
Fp(e, t);
|
|
15335
15335
|
break;
|
|
15336
15336
|
}
|
|
15337
15337
|
default:
|
|
@@ -15374,7 +15374,7 @@ function $a(e, t) {
|
|
|
15374
15374
|
function Xa(e, t) {
|
|
15375
15375
|
e.pendingCharacterTokens.push(t), e.hasNonWhitespacePendingCharacterToken = !0;
|
|
15376
15376
|
}
|
|
15377
|
-
function
|
|
15377
|
+
function Lt(e, t) {
|
|
15378
15378
|
let n = 0;
|
|
15379
15379
|
if (e.hasNonWhitespacePendingCharacterToken)
|
|
15380
15380
|
for (; n < e.pendingCharacterTokens.length; n++)
|
|
@@ -16110,15 +16110,15 @@ function SE(e, t) {
|
|
|
16110
16110
|
});
|
|
16111
16111
|
}
|
|
16112
16112
|
const yE = {};
|
|
16113
|
-
function
|
|
16113
|
+
function FE(e) {
|
|
16114
16114
|
const t = (e || yE).shift || 0;
|
|
16115
16115
|
return function(n) {
|
|
16116
16116
|
t && SE(n, t);
|
|
16117
16117
|
};
|
|
16118
16118
|
}
|
|
16119
|
-
const
|
|
16119
|
+
const LE = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, OE = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, RE = {};
|
|
16120
16120
|
function ci(e, t) {
|
|
16121
|
-
return (RE.jsx ? OE :
|
|
16121
|
+
return (RE.jsx ? OE : LE).test(e);
|
|
16122
16122
|
}
|
|
16123
16123
|
const PE = /[ \t\n\f\r]/g;
|
|
16124
16124
|
function wE(e) {
|
|
@@ -16138,28 +16138,28 @@ function BE() {
|
|
|
16138
16138
|
throw new TypeError("First argument must be a string");
|
|
16139
16139
|
if (!k) return [];
|
|
16140
16140
|
D = D || {};
|
|
16141
|
-
var R = 1,
|
|
16141
|
+
var R = 1, L = 1;
|
|
16142
16142
|
function U(z) {
|
|
16143
16143
|
var C = z.match(t);
|
|
16144
16144
|
C && (R += C.length);
|
|
16145
16145
|
var Q = z.lastIndexOf(l);
|
|
16146
|
-
|
|
16146
|
+
L = ~Q ? z.length - Q : L + z.length;
|
|
16147
16147
|
}
|
|
16148
16148
|
function j() {
|
|
16149
|
-
var z = { line: R, column:
|
|
16149
|
+
var z = { line: R, column: L };
|
|
16150
16150
|
return function(C) {
|
|
16151
16151
|
return C.position = new S(z), O(), C;
|
|
16152
16152
|
};
|
|
16153
16153
|
}
|
|
16154
16154
|
function S(z) {
|
|
16155
|
-
this.start = z, this.end = { line: R, column:
|
|
16155
|
+
this.start = z, this.end = { line: R, column: L }, this.source = D.source;
|
|
16156
16156
|
}
|
|
16157
16157
|
S.prototype.content = k;
|
|
16158
16158
|
function V(z) {
|
|
16159
16159
|
var C = new Error(
|
|
16160
|
-
D.source + ":" + R + ":" +
|
|
16160
|
+
D.source + ":" + R + ":" + L + ": " + z
|
|
16161
16161
|
);
|
|
16162
|
-
if (C.reason = z, C.filename = D.source, C.line = R, C.column =
|
|
16162
|
+
if (C.reason = z, C.filename = D.source, C.line = R, C.column = L, C.source = k, !D.silent) throw C;
|
|
16163
16163
|
}
|
|
16164
16164
|
function W(z) {
|
|
16165
16165
|
var C = z.exec(k);
|
|
@@ -16185,7 +16185,7 @@ function BE() {
|
|
|
16185
16185
|
if (C += 2, f === k.charAt(C - 1))
|
|
16186
16186
|
return V("End of comment missing");
|
|
16187
16187
|
var Q = k.slice(2, C - 2);
|
|
16188
|
-
return
|
|
16188
|
+
return L += 2, U(Q), k = k.slice(C), L += 2, z({
|
|
16189
16189
|
type: m,
|
|
16190
16190
|
comment: Q
|
|
16191
16191
|
});
|
|
@@ -16656,7 +16656,7 @@ var Ti;
|
|
|
16656
16656
|
border
|
|
16657
16657
|
border-transparent
|
|
16658
16658
|
rounded-lg
|
|
16659
|
-
hover:bg-solid-
|
|
16659
|
+
hover:bg-solid-gray-50
|
|
16660
16660
|
`, e.selected = `
|
|
16661
16661
|
rounded-full
|
|
16662
16662
|
bg-yellow-50
|
|
@@ -16709,16 +16709,8 @@ var Ti;
|
|
|
16709
16709
|
shadow-1
|
|
16710
16710
|
rounded-lg
|
|
16711
16711
|
border
|
|
16712
|
-
border-solid-
|
|
16712
|
+
border-solid-gray-420
|
|
16713
16713
|
has-[>:nth-child(7)]:rounded-r-none
|
|
16714
|
-
`, e.popoverPositionBottomRight = `
|
|
16715
|
-
absolute
|
|
16716
|
-
top-11
|
|
16717
|
-
right-0
|
|
16718
|
-
`, e.popoverPositionBottomLeft = `
|
|
16719
|
-
absolute
|
|
16720
|
-
top-11
|
|
16721
|
-
left-0
|
|
16722
16714
|
`, ((n) => {
|
|
16723
16715
|
n.focus = `
|
|
16724
16716
|
peer-focus-visible:outline-4
|
|
@@ -16859,7 +16851,7 @@ const bt = (e) => e.type === "containerDirective" || e.type === "leafDirective"
|
|
|
16859
16851
|
}, yT = (e) => {
|
|
16860
16852
|
const { children: t, className: n, ...r } = e;
|
|
16861
16853
|
return r["data-node"] === "card" ? r["data-behavior"] === "link" ? /* @__PURE__ */ te.jsx(Gs, { className: Tt(n), children: t }) : /* @__PURE__ */ te.jsx($s, { className: Tt(n), children: t }) : /* @__PURE__ */ te.jsx("article", { className: n, ...r, children: t });
|
|
16862
|
-
},
|
|
16854
|
+
}, FT = (e) => {
|
|
16863
16855
|
const { children: t, headingLevel: n = "h3", ...r } = e, u = r["data-node"], i = r["data-behavior"] === "link";
|
|
16864
16856
|
return u === "card-title" ? i ? /* @__PURE__ */ te.jsx(
|
|
16865
16857
|
Xs,
|
|
@@ -16869,7 +16861,7 @@ const bt = (e) => e.type === "containerDirective" || e.type === "leafDirective"
|
|
|
16869
16861
|
children: t
|
|
16870
16862
|
}
|
|
16871
16863
|
) : /* @__PURE__ */ te.jsx(Ks, { as: n, children: t }) : u === "card-description" ? /* @__PURE__ */ te.jsx(Js, { children: t }) : u === "card-footer" ? i ? /* @__PURE__ */ te.jsx(Zs, { children: t }) : /* @__PURE__ */ te.jsx(eo, { children: t }) : r["data-behavior"] === "list" ? /* @__PURE__ */ te.jsx("ul", { className: r.className, children: ks.map(t, (a) => /* @__PURE__ */ te.jsx("li", { className: "sm:grid", children: a }, Math.random())) }) : /* @__PURE__ */ te.jsx("div", { ...r, children: t });
|
|
16872
|
-
},
|
|
16864
|
+
}, LT = (e) => {
|
|
16873
16865
|
const { children: t, className: n, ...r } = e;
|
|
16874
16866
|
return r["data-node"] === "card-img" ? /* @__PURE__ */ te.jsx(
|
|
16875
16867
|
Qs,
|
|
@@ -16924,23 +16916,23 @@ const bt = (e) => e.type === "containerDirective" || e.type === "leafDirective"
|
|
|
16924
16916
|
h5: Bs,
|
|
16925
16917
|
h6: ws,
|
|
16926
16918
|
iframe: OT,
|
|
16927
|
-
img:
|
|
16919
|
+
img: LT,
|
|
16928
16920
|
ul: nr,
|
|
16929
16921
|
ol: Ps,
|
|
16930
16922
|
pre: Rs,
|
|
16931
16923
|
table: NT,
|
|
16932
16924
|
caption: Os,
|
|
16933
|
-
thead:
|
|
16934
|
-
tbody:
|
|
16925
|
+
thead: Ls,
|
|
16926
|
+
tbody: Fs,
|
|
16935
16927
|
th: ys,
|
|
16936
16928
|
tr: Ss,
|
|
16937
16929
|
td: Ns,
|
|
16938
|
-
div: (I) => /* @__PURE__ */ te.jsx(
|
|
16930
|
+
div: (I) => /* @__PURE__ */ te.jsx(FT, { ...I, headingLevel: m })
|
|
16939
16931
|
}
|
|
16940
16932
|
};
|
|
16941
16933
|
return Xi().use(wi).use(hh).use(sd).use(Kd).use(AT).use(gT).use(CT).use(_T).use(xT).use(IT).use(DT).use(Gd, {
|
|
16942
16934
|
allowDangerousHtml: !0
|
|
16943
|
-
}).use(EE).use(NE, { target: "_blank" }).use(
|
|
16935
|
+
}).use(EE).use(NE, { target: "_blank" }).use(FE, { shift: r }).use(pT).use(oT, d).processSync(f).result;
|
|
16944
16936
|
},
|
|
16945
16937
|
[r]
|
|
16946
16938
|
);
|