@oxide/react-asciidoc 2.1.0-canary.792ad4d → 2.1.1-canary.b3df79d
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/react-asciidoc.js +546 -558
- package/dist/react-asciidoc.umd.cjs +11 -11
- package/dist/types/utils/prepareDocument.d.ts +0 -9
- package/package.json +6 -1
package/dist/react-asciidoc.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import ne, { useContext as _u, Fragment as mu, createElement as Cu, createContext as le } from "react";
|
|
2
2
|
import Tu from "html-react-parser";
|
|
3
|
-
import { default as
|
|
4
|
-
function
|
|
3
|
+
import { default as Qt } from "html-react-parser";
|
|
4
|
+
function oe(u) {
|
|
5
5
|
return u && u.__esModule && Object.prototype.hasOwnProperty.call(u, "default") ? u.default : u;
|
|
6
6
|
}
|
|
7
7
|
var Nu = { exports: {} }, vu = {};
|
|
8
8
|
var Uu;
|
|
9
|
-
function
|
|
9
|
+
function de() {
|
|
10
10
|
if (Uu) return vu;
|
|
11
11
|
Uu = 1;
|
|
12
12
|
var u = /* @__PURE__ */ Symbol.for("react.transitional.element"), e = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
@@ -29,7 +29,7 @@ function fe() {
|
|
|
29
29
|
}
|
|
30
30
|
var ju = {};
|
|
31
31
|
var Fu;
|
|
32
|
-
function
|
|
32
|
+
function fe() {
|
|
33
33
|
return Fu || (Fu = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
34
34
|
function u(d) {
|
|
35
35
|
if (d == null) return null;
|
|
@@ -39,13 +39,13 @@ function be() {
|
|
|
39
39
|
switch (d) {
|
|
40
40
|
case j:
|
|
41
41
|
return "Fragment";
|
|
42
|
-
case
|
|
42
|
+
case _:
|
|
43
43
|
return "Profiler";
|
|
44
|
-
case
|
|
44
|
+
case $:
|
|
45
45
|
return "StrictMode";
|
|
46
46
|
case F:
|
|
47
47
|
return "Suspense";
|
|
48
|
-
case
|
|
48
|
+
case X:
|
|
49
49
|
return "SuspenseList";
|
|
50
50
|
case Wu:
|
|
51
51
|
return "Activity";
|
|
@@ -63,7 +63,7 @@ function be() {
|
|
|
63
63
|
case z:
|
|
64
64
|
var w = d.render;
|
|
65
65
|
return d = d.displayName, d || (d = w.displayName || w.name || "", d = d !== "" ? "ForwardRef(" + d + ")" : "ForwardRef"), d;
|
|
66
|
-
case
|
|
66
|
+
case K:
|
|
67
67
|
return w = d.displayName || null, w !== null ? w : u(d.type) || "Memo";
|
|
68
68
|
case ou:
|
|
69
69
|
w = d._payload, d = d._init;
|
|
@@ -86,11 +86,11 @@ function be() {
|
|
|
86
86
|
}
|
|
87
87
|
if (w) {
|
|
88
88
|
w = console;
|
|
89
|
-
var
|
|
90
|
-
return
|
|
89
|
+
var N = w.error, E = typeof Symbol == "function" && Symbol.toStringTag && d[Symbol.toStringTag] || d.constructor.name || "Object";
|
|
90
|
+
return N.call(
|
|
91
91
|
w,
|
|
92
92
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
93
|
-
|
|
93
|
+
E
|
|
94
94
|
), e(d);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
@@ -113,39 +113,39 @@ function be() {
|
|
|
113
113
|
return Error("react-stack-top-frame");
|
|
114
114
|
}
|
|
115
115
|
function i(d) {
|
|
116
|
-
if (
|
|
116
|
+
if (k.call(d, "key")) {
|
|
117
117
|
var w = Object.getOwnPropertyDescriptor(d, "key").get;
|
|
118
118
|
if (w && w.isReactWarning) return !1;
|
|
119
119
|
}
|
|
120
120
|
return d.key !== void 0;
|
|
121
121
|
}
|
|
122
122
|
function n(d, w) {
|
|
123
|
-
function
|
|
123
|
+
function N() {
|
|
124
124
|
C || (C = !0, console.error(
|
|
125
125
|
"%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)",
|
|
126
126
|
w
|
|
127
127
|
));
|
|
128
128
|
}
|
|
129
|
-
|
|
130
|
-
get:
|
|
129
|
+
N.isReactWarning = !0, Object.defineProperty(d, "key", {
|
|
130
|
+
get: N,
|
|
131
131
|
configurable: !0
|
|
132
132
|
});
|
|
133
133
|
}
|
|
134
134
|
function x() {
|
|
135
135
|
var d = u(this.type);
|
|
136
|
-
return
|
|
136
|
+
return T[d] || (T[d] = !0, console.error(
|
|
137
137
|
"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."
|
|
138
138
|
)), d = this.props.ref, d !== void 0 ? d : null;
|
|
139
139
|
}
|
|
140
|
-
function b(d, w,
|
|
141
|
-
var
|
|
140
|
+
function b(d, w, N, E, H, Y) {
|
|
141
|
+
var M = N.ref;
|
|
142
142
|
return d = {
|
|
143
143
|
$$typeof: p,
|
|
144
144
|
type: d,
|
|
145
145
|
key: w,
|
|
146
|
-
props:
|
|
147
|
-
_owner:
|
|
148
|
-
}, (
|
|
146
|
+
props: N,
|
|
147
|
+
_owner: E
|
|
148
|
+
}, (M !== void 0 ? M : null) !== null ? Object.defineProperty(d, "ref", {
|
|
149
149
|
enumerable: !1,
|
|
150
150
|
get: x
|
|
151
151
|
}) : Object.defineProperty(d, "ref", { enumerable: !1, value: null }), d._store = {}, Object.defineProperty(d._store, "validated", {
|
|
@@ -162,60 +162,60 @@ function be() {
|
|
|
162
162
|
configurable: !1,
|
|
163
163
|
enumerable: !1,
|
|
164
164
|
writable: !0,
|
|
165
|
-
value:
|
|
165
|
+
value: H
|
|
166
166
|
}), Object.defineProperty(d, "_debugTask", {
|
|
167
167
|
configurable: !1,
|
|
168
168
|
enumerable: !1,
|
|
169
169
|
writable: !0,
|
|
170
|
-
value:
|
|
170
|
+
value: Y
|
|
171
171
|
}), Object.freeze && (Object.freeze(d.props), Object.freeze(d)), d;
|
|
172
172
|
}
|
|
173
|
-
function m(d, w,
|
|
174
|
-
var
|
|
175
|
-
if (
|
|
176
|
-
if (
|
|
177
|
-
if (L(
|
|
178
|
-
for (
|
|
179
|
-
h(
|
|
180
|
-
Object.freeze && Object.freeze(
|
|
173
|
+
function m(d, w, N, E, H, Y) {
|
|
174
|
+
var M = w.children;
|
|
175
|
+
if (M !== void 0)
|
|
176
|
+
if (E)
|
|
177
|
+
if (L(M)) {
|
|
178
|
+
for (E = 0; E < M.length; E++)
|
|
179
|
+
h(M[E]);
|
|
180
|
+
Object.freeze && Object.freeze(M);
|
|
181
181
|
} else
|
|
182
182
|
console.error(
|
|
183
183
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
184
184
|
);
|
|
185
|
-
else h(
|
|
186
|
-
if (
|
|
187
|
-
|
|
188
|
-
var
|
|
185
|
+
else h(M);
|
|
186
|
+
if (k.call(w, "key")) {
|
|
187
|
+
M = u(d);
|
|
188
|
+
var iu = Object.keys(w).filter(function(Lu) {
|
|
189
189
|
return Lu !== "key";
|
|
190
190
|
});
|
|
191
|
-
|
|
191
|
+
E = 0 < iu.length ? "{key: someKey, " + iu.join(": ..., ") + ": ...}" : "{key: someKey}", S[M + E] || (iu = 0 < iu.length ? "{" + iu.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
192
192
|
`A props object containing a "key" prop is being spread into JSX:
|
|
193
193
|
let props = %s;
|
|
194
194
|
<%s {...props} />
|
|
195
195
|
React keys must be passed directly to JSX without using spread:
|
|
196
196
|
let props = %s;
|
|
197
197
|
<%s key={someKey} {...props} />`,
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
),
|
|
203
|
-
}
|
|
204
|
-
if (
|
|
205
|
-
|
|
198
|
+
E,
|
|
199
|
+
M,
|
|
200
|
+
iu,
|
|
201
|
+
M
|
|
202
|
+
), S[M + E] = !0);
|
|
203
|
+
}
|
|
204
|
+
if (M = null, N !== void 0 && (t(N), M = "" + N), i(w) && (t(w.key), M = "" + w.key), "key" in w) {
|
|
205
|
+
N = {};
|
|
206
206
|
for (var yu in w)
|
|
207
|
-
yu !== "key" && (
|
|
208
|
-
} else
|
|
209
|
-
return
|
|
210
|
-
|
|
207
|
+
yu !== "key" && (N[yu] = w[yu]);
|
|
208
|
+
} else N = w;
|
|
209
|
+
return M && n(
|
|
210
|
+
N,
|
|
211
211
|
typeof d == "function" ? d.displayName || d.name || "Unknown" : d
|
|
212
212
|
), b(
|
|
213
213
|
d,
|
|
214
|
-
H,
|
|
215
|
-
$,
|
|
216
|
-
a(),
|
|
217
214
|
M,
|
|
218
|
-
|
|
215
|
+
N,
|
|
216
|
+
a(),
|
|
217
|
+
H,
|
|
218
|
+
Y
|
|
219
219
|
);
|
|
220
220
|
}
|
|
221
221
|
function h(d) {
|
|
@@ -224,7 +224,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
224
224
|
function f(d) {
|
|
225
225
|
return typeof d == "object" && d !== null && d.$$typeof === p;
|
|
226
226
|
}
|
|
227
|
-
var y =
|
|
227
|
+
var y = ne, p = /* @__PURE__ */ Symbol.for("react.transitional.element"), g = /* @__PURE__ */ Symbol.for("react.portal"), j = /* @__PURE__ */ Symbol.for("react.fragment"), $ = /* @__PURE__ */ Symbol.for("react.strict_mode"), _ = /* @__PURE__ */ Symbol.for("react.profiler"), I = /* @__PURE__ */ Symbol.for("react.consumer"), q = /* @__PURE__ */ Symbol.for("react.context"), z = /* @__PURE__ */ Symbol.for("react.forward_ref"), F = /* @__PURE__ */ Symbol.for("react.suspense"), X = /* @__PURE__ */ Symbol.for("react.suspense_list"), K = /* @__PURE__ */ Symbol.for("react.memo"), ou = /* @__PURE__ */ Symbol.for("react.lazy"), Wu = /* @__PURE__ */ Symbol.for("react.activity"), o = /* @__PURE__ */ Symbol.for("react.client.reference"), l = y.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, k = Object.prototype.hasOwnProperty, L = Array.isArray, R = console.createTask ? console.createTask : function() {
|
|
228
228
|
return null;
|
|
229
229
|
};
|
|
230
230
|
y = {
|
|
@@ -232,44 +232,44 @@ React keys must be passed directly to JSX without using spread:
|
|
|
232
232
|
return d();
|
|
233
233
|
}
|
|
234
234
|
};
|
|
235
|
-
var C,
|
|
235
|
+
var C, T = {}, v = y.react_stack_bottom_frame.bind(
|
|
236
236
|
y,
|
|
237
237
|
c
|
|
238
|
-
)(),
|
|
239
|
-
ju.Fragment = j, ju.jsx = function(d, w,
|
|
240
|
-
var
|
|
238
|
+
)(), A = R(s(c)), S = {};
|
|
239
|
+
ju.Fragment = j, ju.jsx = function(d, w, N) {
|
|
240
|
+
var E = 1e4 > l.recentlyCreatedOwnerStacks++;
|
|
241
241
|
return m(
|
|
242
242
|
d,
|
|
243
243
|
w,
|
|
244
|
-
|
|
244
|
+
N,
|
|
245
245
|
!1,
|
|
246
|
-
|
|
247
|
-
|
|
246
|
+
E ? Error("react-stack-top-frame") : v,
|
|
247
|
+
E ? R(s(d)) : A
|
|
248
248
|
);
|
|
249
|
-
}, ju.jsxs = function(d, w,
|
|
250
|
-
var
|
|
249
|
+
}, ju.jsxs = function(d, w, N) {
|
|
250
|
+
var E = 1e4 > l.recentlyCreatedOwnerStacks++;
|
|
251
251
|
return m(
|
|
252
252
|
d,
|
|
253
253
|
w,
|
|
254
|
-
|
|
254
|
+
N,
|
|
255
255
|
!0,
|
|
256
|
-
|
|
257
|
-
|
|
256
|
+
E ? Error("react-stack-top-frame") : v,
|
|
257
|
+
E ? R(s(d)) : A
|
|
258
258
|
);
|
|
259
259
|
};
|
|
260
260
|
})()), ju;
|
|
261
261
|
}
|
|
262
262
|
var Vu;
|
|
263
|
-
function
|
|
264
|
-
return Vu || (Vu = 1, process.env.NODE_ENV === "production" ? Nu.exports =
|
|
263
|
+
function be() {
|
|
264
|
+
return Vu || (Vu = 1, process.env.NODE_ENV === "production" ? Nu.exports = de() : Nu.exports = fe()), Nu.exports;
|
|
265
265
|
}
|
|
266
|
-
var r =
|
|
267
|
-
const
|
|
266
|
+
var r = be();
|
|
267
|
+
const xe = /* @__PURE__ */ new Uint16Array(
|
|
268
268
|
// prettier-ignore
|
|
269
269
|
/* @__PURE__ */ 'ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((u) => u.charCodeAt(0))
|
|
270
270
|
);
|
|
271
271
|
var Ou;
|
|
272
|
-
const
|
|
272
|
+
const pe = /* @__PURE__ */ new Map([
|
|
273
273
|
[0, 65533],
|
|
274
274
|
// C1 Unicode control character reference replacements
|
|
275
275
|
[128, 8364],
|
|
@@ -299,22 +299,22 @@ const he = /* @__PURE__ */ new Map([
|
|
|
299
299
|
[156, 339],
|
|
300
300
|
[158, 382],
|
|
301
301
|
[159, 376]
|
|
302
|
-
]),
|
|
302
|
+
]), he = (
|
|
303
303
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, n/no-unsupported-features/es-builtins
|
|
304
304
|
(Ou = String.fromCodePoint) !== null && Ou !== void 0 ? Ou : function(u) {
|
|
305
305
|
let e = "";
|
|
306
306
|
return u > 65535 && (u -= 65536, e += String.fromCharCode(u >>> 10 & 1023 | 55296), u = 56320 | u & 1023), e += String.fromCharCode(u), e;
|
|
307
307
|
}
|
|
308
308
|
);
|
|
309
|
-
function
|
|
309
|
+
function me(u) {
|
|
310
310
|
var e;
|
|
311
|
-
return u >= 55296 && u <= 57343 || u > 1114111 ? 65533 : (e =
|
|
311
|
+
return u >= 55296 && u <= 57343 || u > 1114111 ? 65533 : (e = pe.get(u)) !== null && e !== void 0 ? e : u;
|
|
312
312
|
}
|
|
313
313
|
var Z;
|
|
314
314
|
(function(u) {
|
|
315
315
|
u[u.NUM = 35] = "NUM", u[u.SEMI = 59] = "SEMI", u[u.EQUALS = 61] = "EQUALS", u[u.ZERO = 48] = "ZERO", u[u.NINE = 57] = "NINE", u[u.LOWER_A = 97] = "LOWER_A", u[u.LOWER_F = 102] = "LOWER_F", u[u.LOWER_X = 120] = "LOWER_X", u[u.LOWER_Z = 122] = "LOWER_Z", u[u.UPPER_A = 65] = "UPPER_A", u[u.UPPER_F = 70] = "UPPER_F", u[u.UPPER_Z = 90] = "UPPER_Z";
|
|
316
316
|
})(Z || (Z = {}));
|
|
317
|
-
const
|
|
317
|
+
const ge = 32;
|
|
318
318
|
var lu;
|
|
319
319
|
(function(u) {
|
|
320
320
|
u[u.VALUE_LENGTH = 49152] = "VALUE_LENGTH", u[u.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", u[u.JUMP_TABLE = 127] = "JUMP_TABLE";
|
|
@@ -322,14 +322,14 @@ var lu;
|
|
|
322
322
|
function Mu(u) {
|
|
323
323
|
return u >= Z.ZERO && u <= Z.NINE;
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function ye(u) {
|
|
326
326
|
return u >= Z.UPPER_A && u <= Z.UPPER_F || u >= Z.LOWER_A && u <= Z.LOWER_F;
|
|
327
327
|
}
|
|
328
|
-
function
|
|
328
|
+
function ve(u) {
|
|
329
329
|
return u >= Z.UPPER_A && u <= Z.UPPER_Z || u >= Z.LOWER_A && u <= Z.LOWER_Z || Mu(u);
|
|
330
330
|
}
|
|
331
|
-
function
|
|
332
|
-
return u === Z.EQUALS ||
|
|
331
|
+
function je(u) {
|
|
332
|
+
return u === Z.EQUALS || ve(u);
|
|
333
333
|
}
|
|
334
334
|
var G;
|
|
335
335
|
(function(u) {
|
|
@@ -339,7 +339,7 @@ var nu;
|
|
|
339
339
|
(function(u) {
|
|
340
340
|
u[u.Legacy = 0] = "Legacy", u[u.Strict = 1] = "Strict", u[u.Attribute = 2] = "Attribute";
|
|
341
341
|
})(nu || (nu = {}));
|
|
342
|
-
class
|
|
342
|
+
class we {
|
|
343
343
|
constructor(e, t, s) {
|
|
344
344
|
this.decodeTree = e, this.emitCodePoint = t, this.errors = s, this.state = G.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = nu.Strict;
|
|
345
345
|
}
|
|
@@ -382,7 +382,7 @@ class $e {
|
|
|
382
382
|
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
383
383
|
*/
|
|
384
384
|
stateNumericStart(e, t) {
|
|
385
|
-
return t >= e.length ? -1 : (e.charCodeAt(t) |
|
|
385
|
+
return t >= e.length ? -1 : (e.charCodeAt(t) | ge) === Z.LOWER_X ? (this.state = G.NumericHex, this.consumed += 1, this.stateNumericHex(e, t + 1)) : (this.state = G.NumericDecimal, this.stateNumericDecimal(e, t));
|
|
386
386
|
}
|
|
387
387
|
addToNumericResult(e, t, s, a) {
|
|
388
388
|
if (t !== s) {
|
|
@@ -403,7 +403,7 @@ class $e {
|
|
|
403
403
|
const s = t;
|
|
404
404
|
for (; t < e.length; ) {
|
|
405
405
|
const a = e.charCodeAt(t);
|
|
406
|
-
if (Mu(a) ||
|
|
406
|
+
if (Mu(a) || ye(a))
|
|
407
407
|
t += 1;
|
|
408
408
|
else
|
|
409
409
|
return this.addToNumericResult(e, s, t, 16), this.emitNumericEntity(a, 3);
|
|
@@ -451,7 +451,7 @@ class $e {
|
|
|
451
451
|
this.consumed += 1;
|
|
452
452
|
else if (this.decodeMode === nu.Strict)
|
|
453
453
|
return 0;
|
|
454
|
-
return this.emitCodePoint(
|
|
454
|
+
return this.emitCodePoint(me(this.result), this.consumed), this.errors && (e !== Z.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
|
|
455
455
|
}
|
|
456
456
|
/**
|
|
457
457
|
* Parses a named entity.
|
|
@@ -467,11 +467,11 @@ class $e {
|
|
|
467
467
|
let a = s[this.treeIndex], c = (a & lu.VALUE_LENGTH) >> 14;
|
|
468
468
|
for (; t < e.length; t++, this.excess++) {
|
|
469
469
|
const i = e.charCodeAt(t);
|
|
470
|
-
if (this.treeIndex =
|
|
470
|
+
if (this.treeIndex = Ne(s, a, this.treeIndex + Math.max(1, c), i), this.treeIndex < 0)
|
|
471
471
|
return this.result === 0 || // If we are parsing an attribute
|
|
472
472
|
this.decodeMode === nu.Attribute && // We shouldn't have consumed any characters after the entity,
|
|
473
473
|
(c === 0 || // And there should be no invalid characters.
|
|
474
|
-
|
|
474
|
+
je(i)) ? 0 : this.emitNotTerminatedNamedEntity();
|
|
475
475
|
if (a = s[this.treeIndex], c = (a & lu.VALUE_LENGTH) >> 14, c !== 0) {
|
|
476
476
|
if (i === Z.SEMI)
|
|
477
477
|
return this.emitNamedEntityData(this.treeIndex, c, this.consumed + this.excess);
|
|
@@ -527,9 +527,9 @@ class $e {
|
|
|
527
527
|
}
|
|
528
528
|
}
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function $e(u) {
|
|
531
531
|
let e = "";
|
|
532
|
-
const t = new
|
|
532
|
+
const t = new we(u, (s) => e += he(s));
|
|
533
533
|
return function(a, c) {
|
|
534
534
|
let i = 0, n = 0;
|
|
535
535
|
for (; (n = a.indexOf("&", n)) >= 0; ) {
|
|
@@ -549,7 +549,7 @@ function Ne(u) {
|
|
|
549
549
|
return e = "", x;
|
|
550
550
|
};
|
|
551
551
|
}
|
|
552
|
-
function
|
|
552
|
+
function Ne(u, e, t, s) {
|
|
553
553
|
const a = (e & lu.BRANCH_LENGTH) >> 7, c = e & lu.JUMP_TABLE;
|
|
554
554
|
if (a === 0)
|
|
555
555
|
return c !== 0 && s === c ? t : -1;
|
|
@@ -569,11 +569,11 @@ function Se(u, e, t, s) {
|
|
|
569
569
|
}
|
|
570
570
|
return -1;
|
|
571
571
|
}
|
|
572
|
-
const
|
|
572
|
+
const Se = /* @__PURE__ */ $e(xe);
|
|
573
573
|
function Du(u, e = nu.Legacy) {
|
|
574
|
-
return
|
|
574
|
+
return Se(u, e);
|
|
575
575
|
}
|
|
576
|
-
const
|
|
576
|
+
const J = "A-Za-z0-9_", eu = `[${J}]`, B = "[\\s\\S]", W = "\\[([^\\[\\]]+)\\]", zu = {
|
|
577
577
|
nonCompat: [
|
|
578
578
|
{
|
|
579
579
|
type: "strong",
|
|
@@ -584,7 +584,7 @@ const Y = "A-Za-z0-9_", uu = `[${Y}]`, B = "[\\s\\S]", W = "\\[([^\\[\\]]+)\\]",
|
|
|
584
584
|
type: "strong",
|
|
585
585
|
scope: "constrained",
|
|
586
586
|
rx: new RegExp(
|
|
587
|
-
`(^|[^${
|
|
587
|
+
`(^|[^${J};:}])(?:${W})?\\*(\\S|\\S${B}*?\\S)\\*(?!${eu})`,
|
|
588
588
|
"m"
|
|
589
589
|
)
|
|
590
590
|
},
|
|
@@ -592,7 +592,7 @@ const Y = "A-Za-z0-9_", uu = `[${Y}]`, B = "[\\s\\S]", W = "\\[([^\\[\\]]+)\\]",
|
|
|
592
592
|
type: "double",
|
|
593
593
|
scope: "constrained",
|
|
594
594
|
rx: new RegExp(
|
|
595
|
-
`(^|[^${
|
|
595
|
+
`(^|[^${J};:}])(?:${W})?"\`(\\S|\\S${B}*?\\S)\`"(?!${eu})`,
|
|
596
596
|
"m"
|
|
597
597
|
)
|
|
598
598
|
},
|
|
@@ -600,7 +600,7 @@ const Y = "A-Za-z0-9_", uu = `[${Y}]`, B = "[\\s\\S]", W = "\\[([^\\[\\]]+)\\]",
|
|
|
600
600
|
type: "single",
|
|
601
601
|
scope: "constrained",
|
|
602
602
|
rx: new RegExp(
|
|
603
|
-
`(^|[^${
|
|
603
|
+
`(^|[^${J};:\`}])(?:${W})?'\`(\\S|\\S${B}*?\\S)\`'(?!${eu})`,
|
|
604
604
|
"m"
|
|
605
605
|
)
|
|
606
606
|
},
|
|
@@ -613,7 +613,7 @@ const Y = "A-Za-z0-9_", uu = `[${Y}]`, B = "[\\s\\S]", W = "\\[([^\\[\\]]+)\\]",
|
|
|
613
613
|
type: "monospaced",
|
|
614
614
|
scope: "constrained",
|
|
615
615
|
rx: new RegExp(
|
|
616
|
-
`(^|[^${
|
|
616
|
+
`(^|[^${J};:"'\`}])(?:${W})?\`(\\S|\\S${B}*?\\S)\`(?!["'\`${J}])`,
|
|
617
617
|
"m"
|
|
618
618
|
)
|
|
619
619
|
},
|
|
@@ -626,7 +626,7 @@ const Y = "A-Za-z0-9_", uu = `[${Y}]`, B = "[\\s\\S]", W = "\\[([^\\[\\]]+)\\]",
|
|
|
626
626
|
type: "emphasis",
|
|
627
627
|
scope: "constrained",
|
|
628
628
|
rx: new RegExp(
|
|
629
|
-
`(^|[^${
|
|
629
|
+
`(^|[^${J};:}])(?:${W})?_(\\S|\\S${B}*?\\S)_(?!${eu})`,
|
|
630
630
|
"m"
|
|
631
631
|
)
|
|
632
632
|
},
|
|
@@ -639,7 +639,7 @@ const Y = "A-Za-z0-9_", uu = `[${Y}]`, B = "[\\s\\S]", W = "\\[([^\\[\\]]+)\\]",
|
|
|
639
639
|
type: "mark",
|
|
640
640
|
scope: "constrained",
|
|
641
641
|
rx: new RegExp(
|
|
642
|
-
`(^|[^${
|
|
642
|
+
`(^|[^${J}&;:}])(?:${W})?#(\\S|\\S${B}*?\\S)#(?!${eu})`,
|
|
643
643
|
"m"
|
|
644
644
|
)
|
|
645
645
|
},
|
|
@@ -664,7 +664,7 @@ const Y = "A-Za-z0-9_", uu = `[${Y}]`, B = "[\\s\\S]", W = "\\[([^\\[\\]]+)\\]",
|
|
|
664
664
|
type: "strong",
|
|
665
665
|
scope: "constrained",
|
|
666
666
|
rx: new RegExp(
|
|
667
|
-
`(^|[^${
|
|
667
|
+
`(^|[^${J};:}])(?:${W})?\\*(\\S|\\S${B}*?\\S)\\*(?!${eu})`,
|
|
668
668
|
"m"
|
|
669
669
|
)
|
|
670
670
|
},
|
|
@@ -672,7 +672,7 @@ const Y = "A-Za-z0-9_", uu = `[${Y}]`, B = "[\\s\\S]", W = "\\[([^\\[\\]]+)\\]",
|
|
|
672
672
|
type: "double",
|
|
673
673
|
scope: "constrained",
|
|
674
674
|
rx: new RegExp(
|
|
675
|
-
`(^|[^${
|
|
675
|
+
`(^|[^${J};:}])(?:${W})?\`\`(\\S|\\S${B}*?\\S)''(?!${eu})`,
|
|
676
676
|
"m"
|
|
677
677
|
)
|
|
678
678
|
},
|
|
@@ -680,7 +680,7 @@ const Y = "A-Za-z0-9_", uu = `[${Y}]`, B = "[\\s\\S]", W = "\\[([^\\[\\]]+)\\]",
|
|
|
680
680
|
type: "emphasis",
|
|
681
681
|
scope: "constrained",
|
|
682
682
|
rx: new RegExp(
|
|
683
|
-
`(^|[^${
|
|
683
|
+
`(^|[^${J};:}])(?:${W})?'(\\S|\\S${B}*?\\S)'(?!${eu})`,
|
|
684
684
|
"m"
|
|
685
685
|
)
|
|
686
686
|
},
|
|
@@ -693,7 +693,7 @@ const Y = "A-Za-z0-9_", uu = `[${Y}]`, B = "[\\s\\S]", W = "\\[([^\\[\\]]+)\\]",
|
|
|
693
693
|
type: "monospaced",
|
|
694
694
|
scope: "constrained",
|
|
695
695
|
rx: new RegExp(
|
|
696
|
-
`(^|[^${
|
|
696
|
+
`(^|[^${J};:}])(?:${W})?\\+(\\S|\\S${B}*?\\S)\\+(?!${eu})`,
|
|
697
697
|
"m"
|
|
698
698
|
)
|
|
699
699
|
},
|
|
@@ -701,7 +701,7 @@ const Y = "A-Za-z0-9_", uu = `[${Y}]`, B = "[\\s\\S]", W = "\\[([^\\[\\]]+)\\]",
|
|
|
701
701
|
type: "single",
|
|
702
702
|
scope: "constrained",
|
|
703
703
|
rx: new RegExp(
|
|
704
|
-
`(^|[^${
|
|
704
|
+
`(^|[^${J};:}])(?:${W})?\`(\\S|\\S${B}*?\\S)'(?!${eu})`,
|
|
705
705
|
"m"
|
|
706
706
|
)
|
|
707
707
|
},
|
|
@@ -714,7 +714,7 @@ const Y = "A-Za-z0-9_", uu = `[${Y}]`, B = "[\\s\\S]", W = "\\[([^\\[\\]]+)\\]",
|
|
|
714
714
|
type: "emphasis",
|
|
715
715
|
scope: "constrained",
|
|
716
716
|
rx: new RegExp(
|
|
717
|
-
`(^|[^${
|
|
717
|
+
`(^|[^${J};:}])(?:${W})?_(\\S|\\S${B}*?\\S)_(?!${eu})`,
|
|
718
718
|
"m"
|
|
719
719
|
)
|
|
720
720
|
},
|
|
@@ -727,7 +727,7 @@ const Y = "A-Za-z0-9_", uu = `[${Y}]`, B = "[\\s\\S]", W = "\\[([^\\[\\]]+)\\]",
|
|
|
727
727
|
type: "mark",
|
|
728
728
|
scope: "constrained",
|
|
729
729
|
rx: new RegExp(
|
|
730
|
-
`(^|[^${
|
|
730
|
+
`(^|[^${J}&;:}])(?:${W})?#(\\S|\\S${B}*?\\S)#(?!${eu})`,
|
|
731
731
|
"m"
|
|
732
732
|
)
|
|
733
733
|
},
|
|
@@ -742,23 +742,23 @@ const Y = "A-Za-z0-9_", uu = `[${Y}]`, B = "[\\s\\S]", W = "\\[([^\\[\\]]+)\\]",
|
|
|
742
742
|
rx: /\\?(?:\[([^\[\]]+)\])?~(\S+?)~/
|
|
743
743
|
}
|
|
744
744
|
]
|
|
745
|
-
},
|
|
745
|
+
}, Ae = /[<&>]/g, Gu = {
|
|
746
746
|
false: /[*_\x60#^~]/,
|
|
747
747
|
true: /[*'_+#^~]/
|
|
748
|
-
},
|
|
748
|
+
}, Ee = {
|
|
749
749
|
">": ">",
|
|
750
750
|
"<": "<",
|
|
751
751
|
"&": "&"
|
|
752
752
|
};
|
|
753
|
-
function
|
|
753
|
+
function ke() {
|
|
754
754
|
return { footnoteIndex: 0, footnotesById: /* @__PURE__ */ new Map(), footnoteDefs: [] };
|
|
755
755
|
}
|
|
756
|
-
function
|
|
756
|
+
function _e(u, e, t) {
|
|
757
757
|
const s = u.get(e);
|
|
758
758
|
let a;
|
|
759
|
-
return s === void 0 ? t !== void 0 && t !== "" ? a = /^-?\d+$/.test(t) ? parseInt(t, 10) : t : a = 1 : typeof s == "number" ? a = s + 1 : a =
|
|
759
|
+
return s === void 0 ? t !== void 0 && t !== "" ? a = /^-?\d+$/.test(t) ? parseInt(t, 10) : t : a = 1 : typeof s == "number" ? a = s + 1 : a = Te(s), u.set(e, a), a;
|
|
760
760
|
}
|
|
761
|
-
function
|
|
761
|
+
function Te(u) {
|
|
762
762
|
const e = Array.from(u), t = (a) => /^[0-9A-Za-z]$/.test(a);
|
|
763
763
|
if (!e.some(t)) {
|
|
764
764
|
const a = e[e.length - 1];
|
|
@@ -789,7 +789,7 @@ function xu(u) {
|
|
|
789
789
|
function Zu(u) {
|
|
790
790
|
return encodeURIComponent(u).replace(/%20/g, "+");
|
|
791
791
|
}
|
|
792
|
-
function
|
|
792
|
+
function Ie(u) {
|
|
793
793
|
const e = {};
|
|
794
794
|
if (!u) return e;
|
|
795
795
|
const t = [];
|
|
@@ -804,7 +804,7 @@ function Re(u) {
|
|
|
804
804
|
}
|
|
805
805
|
return t[0] && !e.alt && (e.alt = t[0]), t[1] && !e.width && (e.width = t[1]), t[2] && !e.height && (e.height = t[2]), e;
|
|
806
806
|
}
|
|
807
|
-
function
|
|
807
|
+
function Re(u) {
|
|
808
808
|
const e = u.trim();
|
|
809
809
|
if (e.length <= 1) return [e];
|
|
810
810
|
const t = e.indexOf(",", 1), s = e.indexOf("+", 1);
|
|
@@ -824,10 +824,10 @@ function qe(u) {
|
|
|
824
824
|
}
|
|
825
825
|
return e.split(c).map((i) => i.trim());
|
|
826
826
|
}
|
|
827
|
-
function
|
|
827
|
+
function qe(u) {
|
|
828
828
|
return u.replace(/^.*\//, "").replace(/\.[^.]+$/, "").replace(/[_\-]/g, " ");
|
|
829
829
|
}
|
|
830
|
-
function
|
|
830
|
+
function Le(u) {
|
|
831
831
|
const e = {};
|
|
832
832
|
if (!u) return e;
|
|
833
833
|
const t = [];
|
|
@@ -842,7 +842,7 @@ function Oe(u) {
|
|
|
842
842
|
}
|
|
843
843
|
return t[0] && !e.size && (e.size = t[0]), e;
|
|
844
844
|
}
|
|
845
|
-
function
|
|
845
|
+
function Oe(u) {
|
|
846
846
|
if (!u) return {};
|
|
847
847
|
const e = {}, t = [];
|
|
848
848
|
for (const s of u.split(",")) {
|
|
@@ -922,7 +922,7 @@ function te(u) {
|
|
|
922
922
|
return e;
|
|
923
923
|
}
|
|
924
924
|
function fu(u) {
|
|
925
|
-
return u.replace(
|
|
925
|
+
return u.replace(Ae, (e) => Ee[e] || e);
|
|
926
926
|
}
|
|
927
927
|
function Hu(u, e = !1, t) {
|
|
928
928
|
let s = 0;
|
|
@@ -936,7 +936,7 @@ function Hu(u, e = !1, t) {
|
|
|
936
936
|
);
|
|
937
937
|
return u.replace(i, (n, x, b, m, h) => b ? (x || "") + "<" + m + h + ">" : (h === "." && (h = String(++s)), e ? `<i class="conum" data-value="${h}"></i><b>(${h})</b>` : `${x || ""}<${h}>`));
|
|
938
938
|
}
|
|
939
|
-
function
|
|
939
|
+
function Pe(u, e = !1, t) {
|
|
940
940
|
let s = 0;
|
|
941
941
|
const a = /<!--(!?)(\d+|\.)\1-->(?=(?: ?<!--!?\1(?:\d+|\.)\1-->)*$)/gm;
|
|
942
942
|
u = u.replace(a, (n, x, b) => (b === "." && (b = String(++s)), e ? `<i class="conum" data-value="${b}"></i><b>(${b})</b>` : `<${b}>`)), s = 0;
|
|
@@ -968,7 +968,7 @@ function re(u, e, t) {
|
|
|
968
968
|
n,
|
|
969
969
|
/^-?\d+$/.test(h) ? parseInt(h, 10) : h
|
|
970
970
|
);
|
|
971
|
-
const f =
|
|
971
|
+
const f = _e(s, n, x);
|
|
972
972
|
return e[n] = String(f), i === "counter2" ? "" : String(f);
|
|
973
973
|
}
|
|
974
974
|
);
|
|
@@ -1000,7 +1000,7 @@ function re(u, e, t) {
|
|
|
1000
1000
|
return Object.prototype.hasOwnProperty.call(Ju, n) ? Ju[n] : Object.prototype.hasOwnProperty.call(e, c) ? e[c] : Object.prototype.hasOwnProperty.call(e, n) ? e[n] : s;
|
|
1001
1001
|
});
|
|
1002
1002
|
}
|
|
1003
|
-
function
|
|
1003
|
+
function Ce(u, e, t) {
|
|
1004
1004
|
const s = (a) => {
|
|
1005
1005
|
for (let c = 0; c < a.length; c++) {
|
|
1006
1006
|
const i = a[c];
|
|
@@ -1045,7 +1045,7 @@ const Ju = {
|
|
|
1045
1045
|
"two-semicolons": ";;",
|
|
1046
1046
|
cpp: "C++"
|
|
1047
1047
|
};
|
|
1048
|
-
function
|
|
1048
|
+
function Me(u) {
|
|
1049
1049
|
function e(t, s, a) {
|
|
1050
1050
|
return u.replace(t, (c, ...i) => c.includes("\\") ? c.replace("\\", "") : s);
|
|
1051
1051
|
}
|
|
@@ -1092,11 +1092,11 @@ function ce(u, e, t = /* @__PURE__ */ new Set()) {
|
|
|
1092
1092
|
}
|
|
1093
1093
|
return u;
|
|
1094
1094
|
}
|
|
1095
|
-
function
|
|
1096
|
-
const t = e.compatMode ?? !1, s = e.attributes ?? {}, a = e.state ??
|
|
1095
|
+
function uu(u, e = {}) {
|
|
1096
|
+
const t = e.compatMode ?? !1, s = e.attributes ?? {}, a = e.state ?? ke(), c = t ? zu.compat : zu.nonCompat;
|
|
1097
1097
|
let i = u;
|
|
1098
1098
|
const n = t ? Gu.true : Gu.false, x = [], b = [], m = (f) => !e._subs || e._subs.includes(f);
|
|
1099
|
-
m("macros") && (i =
|
|
1099
|
+
m("macros") && (i = He(i, x, t)), !e._alreadyEscaped && m("specialcharacters") && (i = fu(i)), m("quotes") && (i.match(/\*/) || i.match(/_/) || n.test(i)) && (i = Ue(i, c, b, a, e._quoteFromIndex ?? 0)), m("attributes") && (i = re(i, s, a)), m("replacements") && (i = Me(i)), m("macros") && (i = Fe(
|
|
1100
1100
|
i,
|
|
1101
1101
|
s,
|
|
1102
1102
|
t,
|
|
@@ -1105,12 +1105,12 @@ function K(u, e = {}) {
|
|
|
1105
1105
|
e._quoted ?? !1
|
|
1106
1106
|
));
|
|
1107
1107
|
let h = ae(i, b);
|
|
1108
|
-
return m("post_replacements") && (h =
|
|
1108
|
+
return m("post_replacements") && (h = ze(h, s)), m("attributes") && (h = Ce(h, s, a)), h = ie(h, x, t, a), h;
|
|
1109
1109
|
}
|
|
1110
|
-
function
|
|
1111
|
-
return u =
|
|
1110
|
+
function He(u, e, t) {
|
|
1111
|
+
return u = De(u, e, t), u = Be(u, e, t), u;
|
|
1112
1112
|
}
|
|
1113
|
-
function
|
|
1113
|
+
function De(u, e, t) {
|
|
1114
1114
|
let s = "", a = 0;
|
|
1115
1115
|
const c = u.length, i = t ? null : /^\+\+\+([\s\S]*?)\+\+\+/, n = t ? null : /^(?:\[([^\[\]]+)\])?\+\+([\s\S]+?)\+\+/, x = /^pass:([a-z]+(?:,[a-z-]+)*)?\[(|[\s\S]*?[^\\])\]/, b = /^(stem|(?:latex|ascii)math):([a-z]+(?:,[a-z-]+)*)?\[([\s\S]*?[^\\])\]/;
|
|
1116
1116
|
for (; a < c; ) {
|
|
@@ -1160,7 +1160,7 @@ function Be(u, e, t) {
|
|
|
1160
1160
|
if (u[a] === "p" && u.slice(a, a + 5) === "pass:") {
|
|
1161
1161
|
const m = u.slice(a).match(x);
|
|
1162
1162
|
if (m) {
|
|
1163
|
-
const h = m[1] ?
|
|
1163
|
+
const h = m[1] ? We(m[1]) : [], f = m[2], y = e.length;
|
|
1164
1164
|
e.push({
|
|
1165
1165
|
text: f,
|
|
1166
1166
|
type: "unquoted",
|
|
@@ -1185,7 +1185,7 @@ function Be(u, e, t) {
|
|
|
1185
1185
|
}
|
|
1186
1186
|
return s;
|
|
1187
1187
|
}
|
|
1188
|
-
function
|
|
1188
|
+
function Be(u, e, t) {
|
|
1189
1189
|
let s = "", a = 0;
|
|
1190
1190
|
const c = u.length, i = t ? /^(?:\[([^\[\]]+)\])?(`)([^`]|[^`][\s\S]*?[^`])\2(?![A-Za-z0-9_])/ : /^(?:\[([^\[\]]+)\])?(\+)(\S|\S[\s\S]*?\S)\2(?![A-Za-z0-9_])/, n = /[A-Za-z0-9_;:\\]/;
|
|
1191
1191
|
for (; a < c; ) {
|
|
@@ -1205,7 +1205,7 @@ function We(u, e, t) {
|
|
|
1205
1205
|
}
|
|
1206
1206
|
return s;
|
|
1207
1207
|
}
|
|
1208
|
-
function
|
|
1208
|
+
function We(u) {
|
|
1209
1209
|
const e = {
|
|
1210
1210
|
a: "attributes",
|
|
1211
1211
|
attributes: "attributes",
|
|
@@ -1238,7 +1238,7 @@ function Ue(u) {
|
|
|
1238
1238
|
}
|
|
1239
1239
|
return t.length === 0 && t.push("specialcharacters"), t;
|
|
1240
1240
|
}
|
|
1241
|
-
function
|
|
1241
|
+
function Ue(u, e, t, s, a = 0) {
|
|
1242
1242
|
for (let c = a; c < e.length; c++) {
|
|
1243
1243
|
const i = e[c];
|
|
1244
1244
|
let n = "", x = u;
|
|
@@ -1254,17 +1254,17 @@ function Fe(u, e, t, s, a = 0) {
|
|
|
1254
1254
|
let y = "", p = "", g = "";
|
|
1255
1255
|
b ? (y = m[1] || "", p = m[2] || "", g = m[3] || "") : (p = m[1] || "", g = m[2] || "");
|
|
1256
1256
|
const j = h.startsWith("\\");
|
|
1257
|
-
let
|
|
1258
|
-
if (!j && i.type === "monospaced" && !b && g.startsWith("`") && x[f + h.length] === "`" && (g = g + "`",
|
|
1257
|
+
let $ = 0;
|
|
1258
|
+
if (!j && i.type === "monospaced" && !b && g.startsWith("`") && x[f + h.length] === "`" && (g = g + "`", $ = 1), j)
|
|
1259
1259
|
n += h.slice(1);
|
|
1260
1260
|
else {
|
|
1261
1261
|
y && (n += y);
|
|
1262
|
-
let
|
|
1262
|
+
let _, I;
|
|
1263
1263
|
if (p) {
|
|
1264
|
-
const
|
|
1265
|
-
|
|
1264
|
+
const X = ee(p);
|
|
1265
|
+
_ = X.role, I = X.id;
|
|
1266
1266
|
}
|
|
1267
|
-
const q = g.replace(/\\\]/g, "]"), z =
|
|
1267
|
+
const q = g.replace(/\\\]/g, "]"), z = uu(q, {
|
|
1268
1268
|
compatMode: !1,
|
|
1269
1269
|
state: s,
|
|
1270
1270
|
_alreadyEscaped: !0,
|
|
@@ -1278,28 +1278,28 @@ function Fe(u, e, t, s, a = 0) {
|
|
|
1278
1278
|
subtype: i.type,
|
|
1279
1279
|
text: z,
|
|
1280
1280
|
...I ? { id: I } : {},
|
|
1281
|
-
...
|
|
1281
|
+
..._ ? { role: _ } : {}
|
|
1282
1282
|
};
|
|
1283
1283
|
n += se(t, [F]);
|
|
1284
1284
|
}
|
|
1285
|
-
x = x.slice(f + h.length +
|
|
1285
|
+
x = x.slice(f + h.length + $);
|
|
1286
1286
|
}
|
|
1287
1287
|
u = n;
|
|
1288
1288
|
}
|
|
1289
1289
|
return u;
|
|
1290
1290
|
}
|
|
1291
|
-
function
|
|
1291
|
+
function ru(u) {
|
|
1292
1292
|
return u ? [{ type: "text", text: u }] : [];
|
|
1293
1293
|
}
|
|
1294
|
-
function
|
|
1294
|
+
function Fe(u, e, t, s, a, c = !1) {
|
|
1295
1295
|
let i = u;
|
|
1296
1296
|
const n = Object.prototype.hasOwnProperty.call(e, "experimental"), x = Object.prototype.hasOwnProperty.call(e, "icons") ? e.icons : void 0, b = x === void 0 ? "text" : x === "font" ? "font" : "image", m = [
|
|
1297
1297
|
{
|
|
1298
1298
|
rx: /(\\)?(kbd|btn):\[([\s\S]*?[^\\])\]/,
|
|
1299
1299
|
handler: (f) => f[1] || !n ? null : f[2] === "kbd" ? {
|
|
1300
1300
|
type: "kbd",
|
|
1301
|
-
keys:
|
|
1302
|
-
} : { type: "button", text:
|
|
1301
|
+
keys: Re(f[3])
|
|
1302
|
+
} : { type: "button", text: ru(f[3]) }
|
|
1303
1303
|
},
|
|
1304
1304
|
{
|
|
1305
1305
|
rx: /\\?menu:(\w|[&\w][^\n\[]*[^\s\[])\[ *(?:|([\s\S]*?[^\\]))\]/,
|
|
@@ -1309,7 +1309,7 @@ function Ve(u, e, t, s, a, c = !1) {
|
|
|
1309
1309
|
rx: /\\?(image|icon):([^:\s\[](?:[^\n\[]*[^\s\[])?)\[(|[\s\S]*?[^\\])\]/,
|
|
1310
1310
|
handler: (f) => {
|
|
1311
1311
|
if (f[0].startsWith("\\")) return null;
|
|
1312
|
-
const y = f[1] === "icon", p = y ?
|
|
1312
|
+
const y = f[1] === "icon", p = y ? Le(f[3]) : Ie(f[3]), g = f[2], j = p.alt || (y ? g : qe(g));
|
|
1313
1313
|
return {
|
|
1314
1314
|
type: "image",
|
|
1315
1315
|
subtype: y ? "icon" : "image",
|
|
@@ -1333,7 +1333,7 @@ function Ve(u, e, t, s, a, c = !1) {
|
|
|
1333
1333
|
),
|
|
1334
1334
|
handler: (f) => {
|
|
1335
1335
|
if (f[0].startsWith("\\")) return null;
|
|
1336
|
-
const p = (f[2] || f[3] || "").split(",").map((
|
|
1336
|
+
const p = (f[2] || f[3] || "").split(",").map(($) => $.trim()), j = (f[1] ? f[1].startsWith("indexterm2") : f[0].startsWith("((")) === !0;
|
|
1337
1337
|
return { type: "indexterm", terms: p, visible: j };
|
|
1338
1338
|
}
|
|
1339
1339
|
},
|
|
@@ -1352,7 +1352,7 @@ function Ve(u, e, t, s, a, c = !1) {
|
|
|
1352
1352
|
handler: (f) => ({
|
|
1353
1353
|
type: "anchor",
|
|
1354
1354
|
subtype: "bibref",
|
|
1355
|
-
text:
|
|
1355
|
+
text: ru(f[2] || f[1]),
|
|
1356
1356
|
target: f[1]
|
|
1357
1357
|
})
|
|
1358
1358
|
},
|
|
@@ -1365,27 +1365,27 @@ function Ve(u, e, t, s, a, c = !1) {
|
|
|
1365
1365
|
if (f[0].startsWith("\\")) return null;
|
|
1366
1366
|
const y = f[1] === "mailto", p = f[3] || "";
|
|
1367
1367
|
if (y) {
|
|
1368
|
-
const I =
|
|
1368
|
+
const I = Oe(p), q = f[2];
|
|
1369
1369
|
let z = "mailto:" + q;
|
|
1370
1370
|
const F = [];
|
|
1371
1371
|
return I.subject && F.push(`subject=${Zu(I.subject)}`), I.body && F.push(`body=${Zu(I.body)}`), F.length && (z += "?" + F.join("&")), {
|
|
1372
1372
|
type: "anchor",
|
|
1373
1373
|
subtype: "link",
|
|
1374
|
-
text: I.text ?
|
|
1374
|
+
text: I.text ? ru(I.text) : [{ type: "text", text: q }],
|
|
1375
1375
|
target: z,
|
|
1376
1376
|
...I.id ? { id: I.id } : {},
|
|
1377
1377
|
...I.role ? { role: I.role } : {}
|
|
1378
1378
|
};
|
|
1379
1379
|
}
|
|
1380
1380
|
const g = f[2], j = Yu(p);
|
|
1381
|
-
let
|
|
1382
|
-
return
|
|
1381
|
+
let $ = j.text, _ = j.role;
|
|
1382
|
+
return $ || ($ = g, _ = _ ? `bare ${_}` : "bare"), {
|
|
1383
1383
|
type: "anchor",
|
|
1384
1384
|
subtype: "link",
|
|
1385
|
-
text:
|
|
1385
|
+
text: ru($),
|
|
1386
1386
|
target: g,
|
|
1387
1387
|
...j.id ? { id: j.id } : {},
|
|
1388
|
-
...
|
|
1388
|
+
..._ ? { role: _ } : {},
|
|
1389
1389
|
...j.window ? { window: j.window } : {}
|
|
1390
1390
|
};
|
|
1391
1391
|
}
|
|
@@ -1398,13 +1398,13 @@ function Ve(u, e, t, s, a, c = !1) {
|
|
|
1398
1398
|
return [{ type: "text", text: q + z }];
|
|
1399
1399
|
}
|
|
1400
1400
|
const y = f[1];
|
|
1401
|
-
let p, g, j,
|
|
1401
|
+
let p, g, j, $ = "", _;
|
|
1402
1402
|
if (f[2] !== void 0) {
|
|
1403
1403
|
p = y + f[2];
|
|
1404
1404
|
const q = f[3] || "";
|
|
1405
1405
|
if (q) {
|
|
1406
1406
|
const z = Yu(q);
|
|
1407
|
-
z.window && (
|
|
1407
|
+
z.window && (_ = z.window), z.role && (j = z.role), g = ru(z.text);
|
|
1408
1408
|
} else
|
|
1409
1409
|
g = [{ type: "text", text: p }], j = "bare";
|
|
1410
1410
|
} else if (f[4] !== void 0)
|
|
@@ -1412,7 +1412,7 @@ function Ve(u, e, t, s, a, c = !1) {
|
|
|
1412
1412
|
else {
|
|
1413
1413
|
p = y + (f[5] || "");
|
|
1414
1414
|
const q = f[6] || "";
|
|
1415
|
-
if (q === ";" ? (p = p.slice(0, -1), p.endsWith(")") ? (p = p.slice(0, -1),
|
|
1415
|
+
if (q === ";" ? (p = p.slice(0, -1), p.endsWith(")") ? (p = p.slice(0, -1), $ = ");") : $ = ";") : q === ":" && (p = p.slice(0, -1), p.endsWith(")") ? (p = p.slice(0, -1), $ = "):") : $ = ":"), p === y)
|
|
1416
1416
|
return [{ type: "text", text: f[0] }];
|
|
1417
1417
|
g = [{ type: "text", text: p }], j = "bare";
|
|
1418
1418
|
}
|
|
@@ -1424,8 +1424,8 @@ function Ve(u, e, t, s, a, c = !1) {
|
|
|
1424
1424
|
text: g,
|
|
1425
1425
|
target: p,
|
|
1426
1426
|
...j ? { role: j } : {},
|
|
1427
|
-
...
|
|
1428
|
-
}),
|
|
1427
|
+
..._ ? { window: _ } : {}
|
|
1428
|
+
}), $ && I.push({ type: "text", text: $ }), I;
|
|
1429
1429
|
}
|
|
1430
1430
|
},
|
|
1431
1431
|
{
|
|
@@ -1453,7 +1453,7 @@ function Ve(u, e, t, s, a, c = !1) {
|
|
|
1453
1453
|
return {
|
|
1454
1454
|
type: "anchor",
|
|
1455
1455
|
subtype: "ref",
|
|
1456
|
-
text:
|
|
1456
|
+
text: ru(p || y),
|
|
1457
1457
|
target: y,
|
|
1458
1458
|
id: y
|
|
1459
1459
|
};
|
|
@@ -1466,27 +1466,27 @@ function Ve(u, e, t, s, a, c = !1) {
|
|
|
1466
1466
|
handler: (f) => {
|
|
1467
1467
|
if (f[0].startsWith("\\")) return null;
|
|
1468
1468
|
if (f[1] !== void 0) {
|
|
1469
|
-
const j = f[1].indexOf(","),
|
|
1469
|
+
const j = f[1].indexOf(","), $ = j === -1 ? f[1] : f[1].slice(0, j), _ = j === -1 ? "" : f[1].slice(j + 1).replace(/^\s+/, ""), I = _ || `[${$}]`;
|
|
1470
1470
|
return {
|
|
1471
1471
|
type: "anchor",
|
|
1472
1472
|
subtype: "xref",
|
|
1473
|
-
text:
|
|
1474
|
-
target:
|
|
1475
|
-
...
|
|
1473
|
+
text: ru(I),
|
|
1474
|
+
target: $,
|
|
1475
|
+
..._ ? { explicitText: !0 } : {}
|
|
1476
1476
|
};
|
|
1477
1477
|
}
|
|
1478
1478
|
const y = (f[2] || "").trim(), p = (f[3] || "").replace(/\\\]/g, "]").trim(), g = /^xrefstyle\s*=\s*("?)([\w-]+)\1$/.exec(p);
|
|
1479
1479
|
return g ? {
|
|
1480
1480
|
type: "anchor",
|
|
1481
1481
|
subtype: "xref",
|
|
1482
|
-
text:
|
|
1482
|
+
text: ru(`[${y}]`),
|
|
1483
1483
|
target: y,
|
|
1484
1484
|
xrefstyle: g[2],
|
|
1485
1485
|
macro: !0
|
|
1486
1486
|
} : {
|
|
1487
1487
|
type: "anchor",
|
|
1488
1488
|
subtype: "xref",
|
|
1489
|
-
text:
|
|
1489
|
+
text: ru(p || `[${y}]`),
|
|
1490
1490
|
target: y,
|
|
1491
1491
|
macro: !0,
|
|
1492
1492
|
...p ? { explicitText: !0 } : {}
|
|
@@ -1497,29 +1497,29 @@ function Ve(u, e, t, s, a, c = !1) {
|
|
|
1497
1497
|
rx: /\\?footnote(?:(ref):|:([\p{L}\p{N}_-]+)?)\[(?:|([\s\S]*?[^\\]))\](?!<\/a>)/u,
|
|
1498
1498
|
handler: (f) => {
|
|
1499
1499
|
if (f[0].startsWith("\\")) return null;
|
|
1500
|
-
const y = (
|
|
1501
|
-
const
|
|
1500
|
+
const y = ($) => {
|
|
1501
|
+
const _ = $ ? a.footnotesById.get($) : void 0;
|
|
1502
1502
|
return {
|
|
1503
1503
|
type: "footnote",
|
|
1504
1504
|
text: [],
|
|
1505
|
-
refid:
|
|
1506
|
-
...
|
|
1505
|
+
refid: $,
|
|
1506
|
+
..._ !== void 0 ? { index: _ } : {}
|
|
1507
1507
|
};
|
|
1508
|
-
}, p = (
|
|
1508
|
+
}, p = ($, _) => {
|
|
1509
1509
|
a.footnoteIndex++;
|
|
1510
1510
|
const I = a.footnoteIndex;
|
|
1511
|
-
|
|
1512
|
-
const q =
|
|
1511
|
+
$ && a.footnotesById.set($, I);
|
|
1512
|
+
const q = ru(_);
|
|
1513
1513
|
return a.footnoteDefs && a.footnoteDefs.push(q), {
|
|
1514
1514
|
type: "footnote",
|
|
1515
1515
|
text: q,
|
|
1516
|
-
|
|
1516
|
+
...$ ? { id: $ } : {},
|
|
1517
1517
|
index: I
|
|
1518
1518
|
};
|
|
1519
1519
|
};
|
|
1520
1520
|
if (f[1] === "ref") {
|
|
1521
1521
|
if (!f[3]) return null;
|
|
1522
|
-
const
|
|
1522
|
+
const $ = f[3], _ = $.indexOf(","), I = (_ === -1 ? $ : $.slice(0, _)).trim(), q = _ === -1 ? "" : $.slice(_ + 1);
|
|
1523
1523
|
return q ? p(I, q) : y(I);
|
|
1524
1524
|
}
|
|
1525
1525
|
const g = f[2], j = f[3] || "";
|
|
@@ -1529,30 +1529,30 @@ function Ve(u, e, t, s, a, c = !1) {
|
|
|
1529
1529
|
];
|
|
1530
1530
|
let h = i;
|
|
1531
1531
|
for (const { rx: f, handler: y } of m) {
|
|
1532
|
-
const p =
|
|
1532
|
+
const p = Ve(f);
|
|
1533
1533
|
p.lastIndex = 0;
|
|
1534
1534
|
const g = [];
|
|
1535
|
-
let j = 0,
|
|
1536
|
-
for (; (
|
|
1537
|
-
if (
|
|
1535
|
+
let j = 0, $;
|
|
1536
|
+
for (; ($ = p.exec(h)) !== null; ) {
|
|
1537
|
+
if ($[0].length === 0) {
|
|
1538
1538
|
p.lastIndex++;
|
|
1539
1539
|
continue;
|
|
1540
1540
|
}
|
|
1541
|
-
|
|
1542
|
-
const
|
|
1543
|
-
if (
|
|
1544
|
-
const I = Array.isArray(
|
|
1541
|
+
$.index > j && g.push(h.slice(j, $.index));
|
|
1542
|
+
const _ = y($, e);
|
|
1543
|
+
if (_) {
|
|
1544
|
+
const I = Array.isArray(_) ? _ : [_];
|
|
1545
1545
|
g.push(se(s, I));
|
|
1546
1546
|
} else
|
|
1547
|
-
g.push(
|
|
1548
|
-
j =
|
|
1547
|
+
g.push($[0]);
|
|
1548
|
+
j = $.index + $[0].length;
|
|
1549
1549
|
}
|
|
1550
1550
|
j < h.length && g.push(h.slice(j)), h = g.join("");
|
|
1551
1551
|
}
|
|
1552
1552
|
return h;
|
|
1553
1553
|
}
|
|
1554
1554
|
const Qu = /* @__PURE__ */ new WeakMap();
|
|
1555
|
-
function
|
|
1555
|
+
function Ve(u) {
|
|
1556
1556
|
if (u.flags.includes("g")) return u;
|
|
1557
1557
|
const e = Qu.get(u);
|
|
1558
1558
|
if (e) return e;
|
|
@@ -1577,20 +1577,20 @@ function ie(u, e, t, s) {
|
|
|
1577
1577
|
}
|
|
1578
1578
|
if (p) {
|
|
1579
1579
|
if (p.subs.length === 0) {
|
|
1580
|
-
const
|
|
1581
|
-
|
|
1580
|
+
const _ = p.attributes ?? {}, I = { type: "text", text: p.text, raw: !0 };
|
|
1581
|
+
_.id || _.role ? m.push({
|
|
1582
1582
|
type: "quoted",
|
|
1583
1583
|
subtype: "unquoted",
|
|
1584
1584
|
text: [I],
|
|
1585
|
-
...
|
|
1586
|
-
...
|
|
1585
|
+
..._.id ? { id: _.id } : {},
|
|
1586
|
+
..._.role ? { role: _.role } : {}
|
|
1587
1587
|
}) : m.push(I), h = f.index + f[0].length;
|
|
1588
1588
|
continue;
|
|
1589
1589
|
}
|
|
1590
1590
|
let g;
|
|
1591
|
-
p.subs.length === 1 && p.subs[0] === "specialcharacters" ? g = [{ type: "text", text: fu(p.text) }] : g =
|
|
1592
|
-
const j = p.attributes ?? {},
|
|
1593
|
-
p.type === "unquoted" || p.type === "normal" ?
|
|
1591
|
+
p.subs.length === 1 && p.subs[0] === "specialcharacters" ? g = [{ type: "text", text: fu(p.text) }] : g = uu(p.text, { compatMode: t, state: s, _subs: p.subs }), g = ie(g, e, t, s);
|
|
1592
|
+
const j = p.attributes ?? {}, $ = !!(j.id || j.role);
|
|
1593
|
+
p.type === "unquoted" || p.type === "normal" ? $ ? m.push({
|
|
1594
1594
|
type: "quoted",
|
|
1595
1595
|
subtype: "unquoted",
|
|
1596
1596
|
text: g,
|
|
@@ -1623,7 +1623,7 @@ function ie(u, e, t, s) {
|
|
|
1623
1623
|
}
|
|
1624
1624
|
return u.flatMap(n);
|
|
1625
1625
|
}
|
|
1626
|
-
function
|
|
1626
|
+
function ze(u, e) {
|
|
1627
1627
|
const s = Object.prototype.hasOwnProperty.call(e, "hardbreaks") || Object.prototype.hasOwnProperty.call(e, "hardbreaks-option") ? /(?: \+)?\n/g : / \+(\n|$)/g, a = [];
|
|
1628
1628
|
for (const c of u) {
|
|
1629
1629
|
if (c.type !== "text") {
|
|
@@ -1639,7 +1639,7 @@ function Ge(u, e) {
|
|
|
1639
1639
|
}
|
|
1640
1640
|
return a;
|
|
1641
1641
|
}
|
|
1642
|
-
const
|
|
1642
|
+
const Ge = {
|
|
1643
1643
|
monospaced: ["<code>", "</code>", !0],
|
|
1644
1644
|
emphasis: ["<em>", "</em>", !0],
|
|
1645
1645
|
strong: ["<strong>", "</strong>", !0],
|
|
@@ -1650,27 +1650,27 @@ const Ze = {
|
|
|
1650
1650
|
subscript: ["<sub>", "</sub>", !0],
|
|
1651
1651
|
asciimath: ["\\$", "\\$"],
|
|
1652
1652
|
latexmath: ["\\(", "\\)"]
|
|
1653
|
-
},
|
|
1654
|
-
function
|
|
1653
|
+
}, Ze = /^(?:[a-zA-Z][a-zA-Z]+\d{0,2}|#\d{1,7}|#x[\da-fA-F]{1,6});/;
|
|
1654
|
+
function Ye(u) {
|
|
1655
1655
|
return u.replace(/ /g, "%20");
|
|
1656
1656
|
}
|
|
1657
1657
|
function D(u) {
|
|
1658
1658
|
let e = "";
|
|
1659
1659
|
for (let t = 0; t < u.length; t++) {
|
|
1660
1660
|
const s = u[t];
|
|
1661
|
-
s === "&" ?
|
|
1661
|
+
s === "&" ? Ze.test(u.slice(t + 1)) ? e += "&" : e += "&" : s === '"' ? e += """ : s === "<" ? e += "<" : s === ">" ? e += ">" : e += s;
|
|
1662
1662
|
}
|
|
1663
1663
|
return e;
|
|
1664
1664
|
}
|
|
1665
1665
|
function du(u, e = !1) {
|
|
1666
|
-
return u.map((t) =>
|
|
1666
|
+
return u.map((t) => Je(t, e)).join("");
|
|
1667
1667
|
}
|
|
1668
|
-
function
|
|
1668
|
+
function Je(u, e) {
|
|
1669
1669
|
switch (u.type) {
|
|
1670
1670
|
case "text":
|
|
1671
1671
|
return u.text;
|
|
1672
1672
|
case "quoted": {
|
|
1673
|
-
const t =
|
|
1673
|
+
const t = Ge[u.subtype] || ["", ""], s = t[2] === !0, a = du(u.text, e);
|
|
1674
1674
|
let c = "";
|
|
1675
1675
|
if (u.id && (c += ` id="${u.id}"`), u.role && (c += ` class="${D(u.role)}"`), u.subtype === "mark" && (u.id || u.role))
|
|
1676
1676
|
return `<span${c}>${a}</span>`;
|
|
@@ -1702,7 +1702,7 @@ function Qe(u, e) {
|
|
|
1702
1702
|
}
|
|
1703
1703
|
}
|
|
1704
1704
|
case "image": {
|
|
1705
|
-
const t = D(
|
|
1705
|
+
const t = D(Ye(u.target)), s = u.alt || "";
|
|
1706
1706
|
let a = "";
|
|
1707
1707
|
u.width && (a += ` width="${D(u.width)}"`), u.height && (a += ` height="${D(u.height)}"`);
|
|
1708
1708
|
const c = u.title ? ` title="${D(u.title)}"` : "", i = (m) => {
|
|
@@ -1758,7 +1758,7 @@ function Qe(u, e) {
|
|
|
1758
1758
|
}
|
|
1759
1759
|
}
|
|
1760
1760
|
}
|
|
1761
|
-
function
|
|
1761
|
+
function su(u, e = !1) {
|
|
1762
1762
|
return du(u, e);
|
|
1763
1763
|
}
|
|
1764
1764
|
function Bu(u, e = !0) {
|
|
@@ -1784,17 +1784,17 @@ function Bu(u, e = !0) {
|
|
|
1784
1784
|
}
|
|
1785
1785
|
return t;
|
|
1786
1786
|
}
|
|
1787
|
-
const
|
|
1787
|
+
const Ft = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1788
1788
|
__proto__: null,
|
|
1789
|
-
parseInline:
|
|
1789
|
+
parseInline: uu,
|
|
1790
1790
|
renderInline: du,
|
|
1791
|
-
renderInlineAsString:
|
|
1791
|
+
renderInlineAsString: su,
|
|
1792
1792
|
renderInlineAsText: Bu,
|
|
1793
1793
|
subCallouts: Hu,
|
|
1794
|
-
subCalloutsRaw:
|
|
1794
|
+
subCalloutsRaw: Pe,
|
|
1795
1795
|
subSpecialchars: fu
|
|
1796
1796
|
}, Symbol.toStringTag, { value: "Module" })), gu = (u, e = !1) => ({
|
|
1797
|
-
__html: u ?
|
|
1797
|
+
__html: u ? su(u, e) : ""
|
|
1798
1798
|
}), Iu = (u) => {
|
|
1799
1799
|
if (!u) return !1;
|
|
1800
1800
|
for (const e of u)
|
|
@@ -1809,7 +1809,7 @@ const Vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1809
1809
|
react: !Iu(u),
|
|
1810
1810
|
iconsFont: e.document?.attributes?.icons === "font"
|
|
1811
1811
|
};
|
|
1812
|
-
},
|
|
1812
|
+
}, Q = (u) => u ? Du(u) : "", P = ({
|
|
1813
1813
|
nodes: u,
|
|
1814
1814
|
bibliography: e = !1
|
|
1815
1815
|
}) => {
|
|
@@ -1821,14 +1821,14 @@ const Vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1821
1821
|
bibDef: e ? { pending: !0 } : void 0
|
|
1822
1822
|
};
|
|
1823
1823
|
return /* @__PURE__ */ r.jsx(r.Fragment, { children: pu(u, s) });
|
|
1824
|
-
}, pu = (u, e) => u.map((t, s) => /* @__PURE__ */ r.jsx(mu, { children:
|
|
1824
|
+
}, pu = (u, e) => u.map((t, s) => /* @__PURE__ */ r.jsx(mu, { children: Qe(t, e) }, s)), Qe = (u, e) => {
|
|
1825
1825
|
const { overrides: t } = e;
|
|
1826
1826
|
switch (u.type) {
|
|
1827
1827
|
case "text":
|
|
1828
|
-
return u.raw ? Tu(u.text) :
|
|
1828
|
+
return u.raw ? Tu(u.text) : Q(u.text);
|
|
1829
1829
|
case "quoted": {
|
|
1830
1830
|
const s = pu(u.text, e);
|
|
1831
|
-
return t.quoted ? /* @__PURE__ */ r.jsx(t.quoted, { node: u, children: s }) :
|
|
1831
|
+
return t.quoted ? /* @__PURE__ */ r.jsx(t.quoted, { node: u, children: s }) : Xe(u, s);
|
|
1832
1832
|
}
|
|
1833
1833
|
case "anchor": {
|
|
1834
1834
|
if (u.subtype === "bibref") {
|
|
@@ -1844,13 +1844,13 @@ const Vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1844
1844
|
return t.anchor ? /* @__PURE__ */ r.jsx(t.anchor, { node: u, children: s }) : Xu(u, s);
|
|
1845
1845
|
}
|
|
1846
1846
|
case "image":
|
|
1847
|
-
return t.image ? /* @__PURE__ */ r.jsx(t.image, { node: u }) :
|
|
1847
|
+
return t.image ? /* @__PURE__ */ r.jsx(t.image, { node: u }) : Ke(u);
|
|
1848
1848
|
case "footnote": {
|
|
1849
1849
|
const s = pu(u.text || [], e);
|
|
1850
|
-
return t.footnote ? /* @__PURE__ */ r.jsx(t.footnote, { node: u, children: s }) :
|
|
1850
|
+
return t.footnote ? /* @__PURE__ */ r.jsx(t.footnote, { node: u, children: s }) : ut(u, s);
|
|
1851
1851
|
}
|
|
1852
1852
|
case "indexterm":
|
|
1853
|
-
return t.indexterm ? /* @__PURE__ */ r.jsx(t.indexterm, { node: u }) : u.visible ?
|
|
1853
|
+
return t.indexterm ? /* @__PURE__ */ r.jsx(t.indexterm, { node: u }) : u.visible ? Q(u.terms.join(", ")) : null;
|
|
1854
1854
|
case "callout":
|
|
1855
1855
|
return t.callout ? /* @__PURE__ */ r.jsx(t.callout, { node: u }) : /* @__PURE__ */ r.jsx("b", { className: "conum", children: `(${u.number})` });
|
|
1856
1856
|
case "break":
|
|
@@ -1860,11 +1860,11 @@ const Vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1860
1860
|
return t.button ? /* @__PURE__ */ r.jsx(t.button, { node: u, children: s }) : /* @__PURE__ */ r.jsx("b", { className: "button", children: s });
|
|
1861
1861
|
}
|
|
1862
1862
|
case "kbd":
|
|
1863
|
-
return t.kbd ? /* @__PURE__ */ r.jsx(t.kbd, { node: u }) :
|
|
1863
|
+
return t.kbd ? /* @__PURE__ */ r.jsx(t.kbd, { node: u }) : et(u);
|
|
1864
1864
|
case "menu":
|
|
1865
|
-
return t.menu ? /* @__PURE__ */ r.jsx(t.menu, { node: u }) :
|
|
1865
|
+
return t.menu ? /* @__PURE__ */ r.jsx(t.menu, { node: u }) : tt(u, e.iconsFont);
|
|
1866
1866
|
}
|
|
1867
|
-
},
|
|
1867
|
+
}, Xe = (u, e) => {
|
|
1868
1868
|
const t = u.role || void 0, s = u.id || void 0;
|
|
1869
1869
|
switch (u.subtype) {
|
|
1870
1870
|
case "emphasis":
|
|
@@ -1905,7 +1905,7 @@ const Vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1905
1905
|
return /* @__PURE__ */ r.jsx(
|
|
1906
1906
|
"a",
|
|
1907
1907
|
{
|
|
1908
|
-
href:
|
|
1908
|
+
href: Q(u.target),
|
|
1909
1909
|
id: u.id || void 0,
|
|
1910
1910
|
className: u.role || void 0,
|
|
1911
1911
|
target: u.window || void 0,
|
|
@@ -1918,7 +1918,7 @@ const Vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1918
1918
|
return /* @__PURE__ */ r.jsx("a", { id: u.id || u.target });
|
|
1919
1919
|
case "xref": {
|
|
1920
1920
|
const t = u.target, s = t.startsWith("#") || t.includes("#") || t.includes("/") ? t : `#${t}`;
|
|
1921
|
-
return /* @__PURE__ */ r.jsx("a", { href:
|
|
1921
|
+
return /* @__PURE__ */ r.jsx("a", { href: Q(s), id: u.id || void 0, className: u.role || void 0, children: e });
|
|
1922
1922
|
}
|
|
1923
1923
|
case "bibref":
|
|
1924
1924
|
return /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
@@ -1927,7 +1927,7 @@ const Vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1927
1927
|
"]"
|
|
1928
1928
|
] });
|
|
1929
1929
|
}
|
|
1930
|
-
}, Ku = (u) =>
|
|
1930
|
+
}, Ku = (u) => Q(u).replace(/ /g, "%20"), Ke = (u) => {
|
|
1931
1931
|
const e = (i) => {
|
|
1932
1932
|
if (!u.link) return i;
|
|
1933
1933
|
const n = u.window === "_blank" ? "noopener" : void 0;
|
|
@@ -1935,7 +1935,7 @@ const Vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1935
1935
|
"a",
|
|
1936
1936
|
{
|
|
1937
1937
|
className: "image",
|
|
1938
|
-
href:
|
|
1938
|
+
href: Q(u.link),
|
|
1939
1939
|
target: u.window || void 0,
|
|
1940
1940
|
rel: n,
|
|
1941
1941
|
children: i
|
|
@@ -1943,15 +1943,15 @@ const Vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1943
1943
|
);
|
|
1944
1944
|
}, t = [u.subtype === "icon" ? "icon" : "image"];
|
|
1945
1945
|
u.role && t.push(u.role), u.float && t.push(u.float);
|
|
1946
|
-
const s = t.join(" "), a = u.id || void 0, c = u.title ?
|
|
1946
|
+
const s = t.join(" "), a = u.id || void 0, c = u.title ? Q(u.title) : void 0;
|
|
1947
1947
|
if (u.subtype === "icon") {
|
|
1948
1948
|
const i = u.iconType || "text";
|
|
1949
|
-
return i === "text" ? /* @__PURE__ */ r.jsx("span", { className: s, id: a, title: c, children: e(`[${
|
|
1949
|
+
return i === "text" ? /* @__PURE__ */ r.jsx("span", { className: s, id: a, title: c, children: e(`[${Q(u.alt || u.target)}]`) }) : i === "font" ? /* @__PURE__ */ r.jsx("span", { className: s, id: a, children: e(/* @__PURE__ */ r.jsx("i", { className: `fa fa-${u.target}`, title: c })) }) : /* @__PURE__ */ r.jsx("span", { className: s, id: a, title: c, children: e(
|
|
1950
1950
|
/* @__PURE__ */ r.jsx(
|
|
1951
1951
|
"img",
|
|
1952
1952
|
{
|
|
1953
1953
|
src: Ku(u.target),
|
|
1954
|
-
alt:
|
|
1954
|
+
alt: Q(u.alt) || "",
|
|
1955
1955
|
width: u.width || void 0,
|
|
1956
1956
|
height: u.height || void 0
|
|
1957
1957
|
}
|
|
@@ -1963,14 +1963,14 @@ const Vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1963
1963
|
"img",
|
|
1964
1964
|
{
|
|
1965
1965
|
src: Ku(u.target),
|
|
1966
|
-
alt:
|
|
1966
|
+
alt: Q(u.alt) || "",
|
|
1967
1967
|
width: u.width || void 0,
|
|
1968
1968
|
height: u.height || void 0,
|
|
1969
1969
|
title: c
|
|
1970
1970
|
}
|
|
1971
1971
|
)
|
|
1972
1972
|
) });
|
|
1973
|
-
},
|
|
1973
|
+
}, ut = (u, e) => {
|
|
1974
1974
|
if (u.refid && (!u.text || u.text.length === 0))
|
|
1975
1975
|
return u.index !== void 0 ? /* @__PURE__ */ r.jsxs("sup", { className: "footnoteref", children: [
|
|
1976
1976
|
"[",
|
|
@@ -1984,7 +1984,7 @@ const Vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1984
1984
|
}
|
|
1985
1985
|
),
|
|
1986
1986
|
"]"
|
|
1987
|
-
] }) : /* @__PURE__ */ r.jsx("sup", { className: "footnoteref red", title: "Unresolved footnote reference.", children: `[${
|
|
1987
|
+
] }) : /* @__PURE__ */ r.jsx("sup", { className: "footnoteref red", title: "Unresolved footnote reference.", children: `[${Q(u.refid)}]` });
|
|
1988
1988
|
const t = u.index;
|
|
1989
1989
|
return t === void 0 ? /* @__PURE__ */ r.jsxs("sup", { id: u.id || void 0, children: [
|
|
1990
1990
|
"[",
|
|
@@ -2004,11 +2004,11 @@ const Vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2004
2004
|
),
|
|
2005
2005
|
"]"
|
|
2006
2006
|
] });
|
|
2007
|
-
},
|
|
2007
|
+
}, et = (u) => u.keys.length === 1 ? /* @__PURE__ */ r.jsx("kbd", { children: Q(u.keys[0]) }) : /* @__PURE__ */ r.jsx("span", { className: "keyseq", children: u.keys.map((e, t) => /* @__PURE__ */ r.jsxs(mu, { children: [
|
|
2008
2008
|
t > 0 ? "+" : null,
|
|
2009
|
-
/* @__PURE__ */ r.jsx("kbd", { children:
|
|
2010
|
-
] }, t)) }),
|
|
2011
|
-
if (u.items.length === 1) return /* @__PURE__ */ r.jsx("b", { className: "menuref", children:
|
|
2009
|
+
/* @__PURE__ */ r.jsx("kbd", { children: Q(e) })
|
|
2010
|
+
] }, t)) }), tt = (u, e) => {
|
|
2011
|
+
if (u.items.length === 1) return /* @__PURE__ */ r.jsx("b", { className: "menuref", children: Q(u.items[0]) });
|
|
2012
2012
|
const t = e ? /* @__PURE__ */ r.jsx("i", { className: "fa fa-angle-right caret" }) : /* @__PURE__ */ r.jsx("b", { className: "caret", children: "›" });
|
|
2013
2013
|
return /* @__PURE__ */ r.jsx("span", { className: "menuseq", children: u.items.map((s, a) => {
|
|
2014
2014
|
const c = a === 0 ? "menu" : a < u.items.length - 1 ? "submenu" : "menuitem";
|
|
@@ -2018,13 +2018,13 @@ const Vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2018
2018
|
t,
|
|
2019
2019
|
" "
|
|
2020
2020
|
] }) : null,
|
|
2021
|
-
/* @__PURE__ */ r.jsx("b", { className: c, children:
|
|
2021
|
+
/* @__PURE__ */ r.jsx("b", { className: c, children: Q(s) })
|
|
2022
2022
|
] }, a);
|
|
2023
2023
|
}) });
|
|
2024
2024
|
};
|
|
2025
2025
|
var Pu = { exports: {} };
|
|
2026
2026
|
var ue;
|
|
2027
|
-
function
|
|
2027
|
+
function rt() {
|
|
2028
2028
|
return ue || (ue = 1, (function(u) {
|
|
2029
2029
|
(function() {
|
|
2030
2030
|
var e = {}.hasOwnProperty;
|
|
@@ -2056,8 +2056,8 @@ function st() {
|
|
|
2056
2056
|
})();
|
|
2057
2057
|
})(Pu)), Pu.exports;
|
|
2058
2058
|
}
|
|
2059
|
-
var
|
|
2060
|
-
const O = /* @__PURE__ */
|
|
2059
|
+
var st = rt();
|
|
2060
|
+
const O = /* @__PURE__ */ oe(st), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx("div", { className: "title", dangerouslySetInnerHTML: { __html: u } }) : null, at = ({ node: u }) => {
|
|
2061
2061
|
const { document: e } = tu(), t = e.attributes || {}, s = u.attributes, a = () => t.icons === "font" && !s.icon ? /* @__PURE__ */ r.jsx("i", { className: `fa icon-${s.name}`, title: `${s.textlabel}` }) : /* @__PURE__ */ r.jsx("img", { src: u.iconUri, alt: `${s.textlabel}` });
|
|
2062
2062
|
return /* @__PURE__ */ r.jsx(
|
|
2063
2063
|
"div",
|
|
@@ -2077,7 +2077,7 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
2077
2077
|
] }) }) })
|
|
2078
2078
|
}
|
|
2079
2079
|
);
|
|
2080
|
-
},
|
|
2080
|
+
}, ct = ({ node: u }) => {
|
|
2081
2081
|
const e = u.attributes.start, t = u.attributes.end, s = e || t ? `#t=${e || ""}${t ? "," + t : ""}` : "", a = [
|
|
2082
2082
|
u.autoplay ? "autoplay" : "",
|
|
2083
2083
|
u.noControls ? "" : "controls",
|
|
@@ -2095,7 +2095,7 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
2095
2095
|
]
|
|
2096
2096
|
}
|
|
2097
2097
|
);
|
|
2098
|
-
},
|
|
2098
|
+
}, it = ({ node: u }) => {
|
|
2099
2099
|
const { document: e } = tu(), t = e.attributes?.icons === "font";
|
|
2100
2100
|
return /* @__PURE__ */ r.jsxs(
|
|
2101
2101
|
"div",
|
|
@@ -2121,12 +2121,12 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
2121
2121
|
]
|
|
2122
2122
|
}
|
|
2123
2123
|
);
|
|
2124
|
-
},
|
|
2124
|
+
}, cu = (u, e) => u[`${e}-option`] !== void 0, ku = (u, e, t = void 0, s, a) => {
|
|
2125
2125
|
if (u[e] !== void 0)
|
|
2126
2126
|
return u[e];
|
|
2127
2127
|
const c = s || e;
|
|
2128
2128
|
return c && a && a[c] !== void 0 ? a[c] : t;
|
|
2129
|
-
},
|
|
2129
|
+
}, au = (u, e) => u[e] !== void 0, nt = (u) => typeof u.title == "string" ? u.title : void 0, bu = (u) => {
|
|
2130
2130
|
if (typeof u.getSourceLines == "function") {
|
|
2131
2131
|
const e = u.getSourceLines();
|
|
2132
2132
|
let t = 0;
|
|
@@ -2145,14 +2145,14 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
2145
2145
|
for (; e.length && e[e.length - 1].replace(/\s+$/, "") === ""; ) e.pop();
|
|
2146
2146
|
return e.join(`
|
|
2147
2147
|
`);
|
|
2148
|
-
},
|
|
2148
|
+
}, lt = (u) => {
|
|
2149
2149
|
const e = [[]];
|
|
2150
2150
|
for (const t of u)
|
|
2151
2151
|
t.type === "text" && !t.raw && /\n\n+/.test(t.text) ? t.text.split(/\n\n+/).forEach((a, c) => {
|
|
2152
2152
|
c > 0 && e.push([]), a.length > 0 && e[e.length - 1].push({ type: "text", text: a });
|
|
2153
2153
|
}) : e[e.length - 1].push(t);
|
|
2154
2154
|
return e;
|
|
2155
|
-
},
|
|
2155
|
+
}, ot = (u) => {
|
|
2156
2156
|
const e = u[0];
|
|
2157
2157
|
if (!e || e.type !== "text" || e.raw) return u;
|
|
2158
2158
|
const t = e.text.replace(/^\s+/, "");
|
|
@@ -2163,35 +2163,35 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
2163
2163
|
a.type === "footnote" && a.text && a.text.length > 0 && e.push(a), "text" in a && Array.isArray(a.text) && t(a.text);
|
|
2164
2164
|
};
|
|
2165
2165
|
return t(u), e;
|
|
2166
|
-
},
|
|
2166
|
+
}, Vt = (u) => {
|
|
2167
2167
|
let e;
|
|
2168
2168
|
const t = u.getAttributes(), s = {};
|
|
2169
2169
|
for (const [o, l] of Object.entries(t))
|
|
2170
2170
|
l != null && (s[o] = String(l));
|
|
2171
2171
|
const a = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
|
|
2172
2172
|
{
|
|
2173
|
-
const o = /* @__PURE__ */ new Map(), l = typeof u.getSourceLines == "function" ? u.getSourceLines() : [],
|
|
2174
|
-
let
|
|
2173
|
+
const o = /* @__PURE__ */ new Map(), l = typeof u.getSourceLines == "function" ? u.getSourceLines() : [], k = /^:(?:!([\w-]+)|([\w-]+)!):\s*$/, L = /^:([A-Za-z][\w-]*):(?: (.*))?$/, R = /(\\)?\{counter2?:([\w-]+)(?::[^}]*)?\}/g, C = /^(-{4,}|\.{4,}|\+{4,}|\/{4,})$/;
|
|
2174
|
+
let T = null;
|
|
2175
2175
|
for (const v of l) {
|
|
2176
|
-
const
|
|
2177
|
-
if (
|
|
2178
|
-
const
|
|
2179
|
-
|
|
2176
|
+
const A = C.exec(v.trimEnd());
|
|
2177
|
+
if (A) {
|
|
2178
|
+
const N = A[1][0];
|
|
2179
|
+
T === null ? T = N : T === N && (T = null);
|
|
2180
2180
|
continue;
|
|
2181
2181
|
}
|
|
2182
|
-
if (
|
|
2183
|
-
const
|
|
2184
|
-
if (
|
|
2185
|
-
const
|
|
2186
|
-
a.has(
|
|
2182
|
+
if (T !== null) continue;
|
|
2183
|
+
const S = k.exec(v);
|
|
2184
|
+
if (S) {
|
|
2185
|
+
const N = S[1] || S[2], E = o.get(N) ?? 0;
|
|
2186
|
+
a.has(N) || a.set(N, /* @__PURE__ */ new Set()), a.get(N).add(E), i.delete(N);
|
|
2187
2187
|
continue;
|
|
2188
2188
|
}
|
|
2189
2189
|
const d = L.exec(v);
|
|
2190
2190
|
if (d) {
|
|
2191
|
-
const
|
|
2192
|
-
if (i.set(
|
|
2193
|
-
const
|
|
2194
|
-
c.has(
|
|
2191
|
+
const N = d[1], E = d[2] ?? "";
|
|
2192
|
+
if (i.set(N, E), E !== "") {
|
|
2193
|
+
const H = o.get(N) ?? 0;
|
|
2194
|
+
c.has(N) || c.set(N, /* @__PURE__ */ new Map()), c.get(N).set(H, E);
|
|
2195
2195
|
}
|
|
2196
2196
|
continue;
|
|
2197
2197
|
}
|
|
@@ -2215,120 +2215,120 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
2215
2215
|
return l && l["hardbreaks-option"] !== void 0 ? { ...s, "hardbreaks-option": String(l["hardbreaks-option"]) } : s;
|
|
2216
2216
|
}, b = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ new Set(), h = /* @__PURE__ */ new Map(), f = typeof t.xrefstyle == "string" ? t.xrefstyle : void 0, y = (o, l = f) => {
|
|
2217
2217
|
if (o.reftext) return o.reftext;
|
|
2218
|
-
const
|
|
2218
|
+
const k = o.sectname === "appendix" || o.sectname === "chapter", L = k ? `<em>${o.title}</em>` : o.title;
|
|
2219
2219
|
if (l && o.numbered) {
|
|
2220
2220
|
const R = o.numeral.replace(/\.$/, ""), C = t[`${o.sectname}-refsig`];
|
|
2221
2221
|
if (l === "full") {
|
|
2222
|
-
const
|
|
2223
|
-
return C ? `${C} ${R}, ${
|
|
2222
|
+
const T = k ? `<em>${o.title}</em>` : `“${o.title}”`;
|
|
2223
|
+
return C ? `${C} ${R}, ${T}` : `${R}, ${T}`;
|
|
2224
2224
|
}
|
|
2225
2225
|
return l === "short" ? C ? `${C} ${R}` : R : L;
|
|
2226
2226
|
}
|
|
2227
2227
|
return l ? L : o.title;
|
|
2228
2228
|
}, p = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map(), j = (o) => {
|
|
2229
2229
|
for (const l of o.getSections()) {
|
|
2230
|
-
const
|
|
2230
|
+
const k = l.getId(), L = l.getReftext && l.getReftext() || void 0, R = {
|
|
2231
2231
|
title: l.getTitle() || "",
|
|
2232
2232
|
numbered: l.isNumbered ? l.isNumbered() : !1,
|
|
2233
2233
|
sectname: l.getSectionName && l.getSectionName() || "section",
|
|
2234
2234
|
numeral: l.getSectionNumeral && l.getSectionNumeral() || "",
|
|
2235
2235
|
reftext: L
|
|
2236
2236
|
};
|
|
2237
|
-
if (
|
|
2238
|
-
m.add(
|
|
2237
|
+
if (k) {
|
|
2238
|
+
m.add(k), p.set(k, R), b.set(k, y(R));
|
|
2239
2239
|
const C = L || R.title;
|
|
2240
|
-
C && !h.has(C) && h.set(C,
|
|
2240
|
+
C && !h.has(C) && h.set(C, k);
|
|
2241
2241
|
}
|
|
2242
2242
|
j(l);
|
|
2243
2243
|
}
|
|
2244
2244
|
};
|
|
2245
2245
|
j(u);
|
|
2246
|
-
const
|
|
2247
|
-
for (const o of Object.keys(
|
|
2246
|
+
const $ = u.getRefs ? u.getRefs() : {};
|
|
2247
|
+
for (const o of Object.keys($)) {
|
|
2248
2248
|
m.add(o);
|
|
2249
|
-
const l =
|
|
2249
|
+
const l = $[o];
|
|
2250
2250
|
typeof l.$xreftext == "function" && g.set(o, l);
|
|
2251
|
-
const
|
|
2252
|
-
if (
|
|
2253
|
-
b.set(o,
|
|
2251
|
+
const k = l.getReftext && l.getReftext();
|
|
2252
|
+
if (k)
|
|
2253
|
+
b.set(o, k), h.has(k) || h.set(k, o);
|
|
2254
2254
|
else if (!b.has(o)) {
|
|
2255
2255
|
const L = typeof l.$xreftext == "function" ? l.$xreftext(f ?? null) : void 0;
|
|
2256
2256
|
L ? b.set(o, L) : l.title && b.set(o, l.title);
|
|
2257
2257
|
}
|
|
2258
2258
|
}
|
|
2259
|
-
const
|
|
2259
|
+
const _ = /* @__PURE__ */ new Map(), I = /* @__PURE__ */ new Map();
|
|
2260
2260
|
if (typeof u.findBy == "function") {
|
|
2261
2261
|
const o = u.findBy({
|
|
2262
2262
|
context: "list_item"
|
|
2263
2263
|
});
|
|
2264
2264
|
for (const l of o) {
|
|
2265
|
-
const
|
|
2266
|
-
if (typeof
|
|
2267
|
-
const L =
|
|
2265
|
+
const k = l.text;
|
|
2266
|
+
if (typeof k != "string" || !k.includes("[[[")) continue;
|
|
2267
|
+
const L = uu(k, {
|
|
2268
2268
|
attributes: s,
|
|
2269
2269
|
state: { footnoteIndex: 0, footnotesById: /* @__PURE__ */ new Map() }
|
|
2270
2270
|
});
|
|
2271
2271
|
let R, C;
|
|
2272
|
-
const
|
|
2273
|
-
for (const
|
|
2274
|
-
|
|
2272
|
+
const T = (v) => {
|
|
2273
|
+
for (const A of v)
|
|
2274
|
+
A.type === "anchor" && (A.subtype === "bibref" && R === void 0 ? R = A.target : A.subtype === "link" && C === void 0 && (C = A.target)), "text" in A && Array.isArray(A.text) && T(A.text);
|
|
2275
2275
|
};
|
|
2276
|
-
if (
|
|
2277
|
-
const v = L.findIndex((
|
|
2278
|
-
|
|
2276
|
+
if (T(L), R) {
|
|
2277
|
+
const v = L.findIndex((S) => S.type === "anchor" && S.subtype === "bibref"), A = ot(v === -1 ? L : L.slice(v + 1));
|
|
2278
|
+
A.length > 0 && I.set(R, A);
|
|
2279
2279
|
}
|
|
2280
|
-
R && C &&
|
|
2280
|
+
R && C && _.set(R, C);
|
|
2281
2281
|
}
|
|
2282
2282
|
}
|
|
2283
2283
|
const q = (o) => {
|
|
2284
2284
|
if (!o) return o;
|
|
2285
2285
|
for (const l of o) {
|
|
2286
2286
|
if (l.type === "anchor" && l.subtype === "xref") {
|
|
2287
|
-
const
|
|
2288
|
-
let d = b.get(
|
|
2287
|
+
const k = `[${l.target}]`, L = l.text, R = !l.explicitText && L.length === 1 && L[0].type === "text" && L[0].text === k, C = (S) => {
|
|
2288
|
+
let d = b.get(S);
|
|
2289
2289
|
if (l.xrefstyle) {
|
|
2290
|
-
const w = p.get(
|
|
2290
|
+
const w = p.get(S);
|
|
2291
2291
|
if (w) d = y(w, l.xrefstyle);
|
|
2292
2292
|
else {
|
|
2293
|
-
const
|
|
2294
|
-
|
|
2293
|
+
const N = g.get(S);
|
|
2294
|
+
N && typeof N.$xreftext == "function" && (d = N.$xreftext(l.xrefstyle) ?? d);
|
|
2295
2295
|
}
|
|
2296
2296
|
}
|
|
2297
2297
|
R && typeof d == "string" && (l.text = [{ type: "text", text: d, raw: !0 }]);
|
|
2298
|
-
},
|
|
2298
|
+
}, T = l.target.indexOf("#");
|
|
2299
2299
|
if (l.target === "#" && R) {
|
|
2300
|
-
const
|
|
2300
|
+
const S = u.getDocumentTitle?.(), d = u.getAttribute && u.getAttribute("reftext") || (typeof S == "string" ? S : void 0);
|
|
2301
2301
|
l.text = [{ type: "text", text: d || "[^top]", raw: !0 }];
|
|
2302
2302
|
}
|
|
2303
|
-
if (
|
|
2304
|
-
let
|
|
2305
|
-
const d = l.target.slice(
|
|
2306
|
-
let
|
|
2307
|
-
|
|
2308
|
-
const
|
|
2309
|
-
l.target = d ? `${
|
|
2310
|
-
} else if (l.macro &&
|
|
2311
|
-
let
|
|
2312
|
-
|
|
2313
|
-
const w = t.outfilesuffix ?? ".html",
|
|
2314
|
-
l.target =
|
|
2303
|
+
if (T > 0 && !l.target.slice(0, T).includes("://")) {
|
|
2304
|
+
let S = l.target.slice(0, T);
|
|
2305
|
+
const d = l.target.slice(T + 1), w = t.outfilesuffix ?? ".html";
|
|
2306
|
+
let N = !1;
|
|
2307
|
+
S.endsWith(".adoc") ? (S = S.slice(0, -5), N = !0) : /\.[^./]+$/.test(S) || (N = !0);
|
|
2308
|
+
const E = t.relfileprefix ?? "", H = N ? t.relfilesuffix !== void 0 ? String(t.relfilesuffix) : w : "", Y = E + S + H;
|
|
2309
|
+
l.target = d ? `${Y}#${d}` : Y, R && (l.text = [{ type: "text", text: Y, raw: !0 }]);
|
|
2310
|
+
} else if (l.macro && T === -1 && /\.[^./]+$/.test(l.target) && !l.target.includes("://")) {
|
|
2311
|
+
let S = l.target, d = !1;
|
|
2312
|
+
S.endsWith(".adoc") && (S = S.slice(0, -5), d = !0);
|
|
2313
|
+
const w = t.outfilesuffix ?? ".html", N = t.relfileprefix ?? "", E = d ? t.relfilesuffix !== void 0 ? String(t.relfilesuffix) : w : "", H = N + S + E;
|
|
2314
|
+
l.target = H, R && (l.text = [{ type: "text", text: H, raw: !0 }]), l.subtype = "link";
|
|
2315
2315
|
} else if (m.has(l.target))
|
|
2316
2316
|
C(l.target);
|
|
2317
2317
|
else if (l.target.includes(" ") || l.target.toLowerCase() !== l.target) {
|
|
2318
|
-
const
|
|
2319
|
-
|
|
2318
|
+
const S = h.get(l.target);
|
|
2319
|
+
S && (l.target = S, C(S));
|
|
2320
2320
|
}
|
|
2321
|
-
const v =
|
|
2321
|
+
const v = _.get(l.target);
|
|
2322
2322
|
v && (l.externalHref = v);
|
|
2323
|
-
const
|
|
2324
|
-
|
|
2323
|
+
const A = I.get(l.target);
|
|
2324
|
+
A && (l.referenceInlines = A);
|
|
2325
2325
|
}
|
|
2326
2326
|
"text" in l && Array.isArray(l.text) && q(l.text);
|
|
2327
2327
|
}
|
|
2328
2328
|
return o;
|
|
2329
2329
|
}, z = (o) => {
|
|
2330
2330
|
if (o)
|
|
2331
|
-
return
|
|
2331
|
+
return uu(o, {
|
|
2332
2332
|
attributes: s,
|
|
2333
2333
|
state: {
|
|
2334
2334
|
footnoteIndex: 0,
|
|
@@ -2340,21 +2340,21 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
2340
2340
|
});
|
|
2341
2341
|
};
|
|
2342
2342
|
function F(o) {
|
|
2343
|
-
const l = o.getNodeName && o.getNodeName(),
|
|
2344
|
-
let
|
|
2343
|
+
const l = o.getNodeName && o.getNodeName(), k = o.getContentModel && o.getContentModel(), R = l && !(l === "olist" || l === "ulist" || l === "colist" || l === "dlist") && o.hasBlocks() ? o.getBlocks().map((v) => F(v)) : [], C = nt(o);
|
|
2344
|
+
let T = {
|
|
2345
2345
|
id: o.getId && o.getId(),
|
|
2346
2346
|
type: l,
|
|
2347
2347
|
blocks: R,
|
|
2348
2348
|
content: void 0,
|
|
2349
|
-
inlines: R.length === 0 &&
|
|
2350
|
-
|
|
2349
|
+
inlines: R.length === 0 && k === "simple" ? q(
|
|
2350
|
+
uu(bu(o), {
|
|
2351
2351
|
attributes: x(o),
|
|
2352
2352
|
state: n
|
|
2353
2353
|
})
|
|
2354
2354
|
) : void 0,
|
|
2355
2355
|
titleInlines: o.hasTitle && o.hasTitle() ? z(C) : void 0,
|
|
2356
2356
|
attributes: o.getAttributes && o.getAttributes(),
|
|
2357
|
-
contentModel:
|
|
2357
|
+
contentModel: k,
|
|
2358
2358
|
lineNumber: o.getLineNumber && o.getLineNumber(),
|
|
2359
2359
|
style: o.getStyle && o.getStyle(),
|
|
2360
2360
|
role: o.getRole && o.getRole(),
|
|
@@ -2362,32 +2362,32 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
2362
2362
|
level: o.getLevel && o.getLevel()
|
|
2363
2363
|
};
|
|
2364
2364
|
if (l === "admonition") {
|
|
2365
|
-
let v =
|
|
2366
|
-
v.iconUri = o.getIconUri(
|
|
2365
|
+
let v = T;
|
|
2366
|
+
v.iconUri = o.getIconUri(T.attributes.name);
|
|
2367
2367
|
}
|
|
2368
2368
|
if (l === "audio") {
|
|
2369
|
-
let v =
|
|
2370
|
-
v.mediaUri = o.getMediaUri(o.getAttribute("target")), v.autoplay = o.isOption("autoplay"), v.noControls = o.isOption("nocontrols"), v.loop = o.isOption("loop"),
|
|
2369
|
+
let v = T;
|
|
2370
|
+
v.mediaUri = o.getMediaUri(o.getAttribute("target")), v.autoplay = o.isOption("autoplay"), v.noControls = o.isOption("nocontrols"), v.loop = o.isOption("loop"), T = v;
|
|
2371
2371
|
}
|
|
2372
2372
|
if (l === "video") {
|
|
2373
|
-
let v =
|
|
2374
|
-
v.mediaUri = o.getMediaUri(o.getAttribute("target")), v.autoplay = o.isOption("autoplay"), v.noControls = o.isOption("nocontrols"), v.loop = o.isOption("loop"), v.onHover = o.isOption("onhover"),
|
|
2373
|
+
let v = T;
|
|
2374
|
+
v.mediaUri = o.getMediaUri(o.getAttribute("target")), v.autoplay = o.isOption("autoplay"), v.noControls = o.isOption("nocontrols"), v.loop = o.isOption("loop"), v.onHover = o.isOption("onhover"), T = v;
|
|
2375
2375
|
}
|
|
2376
2376
|
if (l === "image") {
|
|
2377
|
-
let v =
|
|
2377
|
+
let v = T;
|
|
2378
2378
|
v.imageUri = o.getImageUri(o.getAttribute("target")), v.alt = typeof o.getAlt == "function" ? o.getAlt() : o.getAttribute("alt") ?? "";
|
|
2379
2379
|
}
|
|
2380
2380
|
if ((l === "listing" || l === "literal") && "getSource" in o) {
|
|
2381
|
-
const v =
|
|
2382
|
-
v.source =
|
|
2383
|
-
const
|
|
2381
|
+
const v = T, A = o.getSource();
|
|
2382
|
+
v.source = A, v.language = o.getAttribute("language");
|
|
2383
|
+
const S = t.icons === "font", d = o.getAttribute("line-comment"), w = o.getSubstitutions && typeof o.getSubstitutions == "function" ? o.getSubstitutions() : ["specialcharacters", "callouts"];
|
|
2384
2384
|
if (w.some(
|
|
2385
|
-
(
|
|
2386
|
-
|
|
2385
|
+
(E) => ["quotes", "attributes", "replacements", "macros", "post_replacements"].includes(
|
|
2386
|
+
E
|
|
2387
2387
|
)
|
|
2388
2388
|
)) {
|
|
2389
|
-
const
|
|
2390
|
-
|
|
2389
|
+
const E = q(
|
|
2390
|
+
uu(A, {
|
|
2391
2391
|
attributes: x(o),
|
|
2392
2392
|
state: n,
|
|
2393
2393
|
// Honour the block's exact subs list (e.g. `subs=+macros` runs
|
|
@@ -2396,143 +2396,132 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
2396
2396
|
_subs: w
|
|
2397
2397
|
})
|
|
2398
2398
|
);
|
|
2399
|
-
let
|
|
2400
|
-
w.includes("callouts") && (
|
|
2401
|
-
|
|
2399
|
+
let H = su(E ?? []);
|
|
2400
|
+
w.includes("callouts") && (H = Hu(H, S, d)), T.content = Au(H), v.subbedSource = Bu(
|
|
2401
|
+
E ?? [],
|
|
2402
2402
|
w.includes("specialcharacters")
|
|
2403
2403
|
);
|
|
2404
2404
|
} else {
|
|
2405
|
-
const
|
|
2406
|
-
let
|
|
2407
|
-
w.includes("callouts") && (
|
|
2405
|
+
const E = bu(o);
|
|
2406
|
+
let H = fu(E);
|
|
2407
|
+
w.includes("callouts") && (H = Hu(H, S, d)), T.content = Au(H), v.subbedSource = A;
|
|
2408
2408
|
}
|
|
2409
2409
|
}
|
|
2410
2410
|
if (l === "section") {
|
|
2411
|
-
const v =
|
|
2412
|
-
v.title =
|
|
2411
|
+
const v = T, A = !!o.getCaption();
|
|
2412
|
+
v.title = A ? o.getCaptionedTitle() : o.getTitle() || "", v.hasCaption = A, "getSectionNumeral" in o && (v.name = o.getSectionName(), v.numbered = o.isNumbered(), v.num = o.getSectionNumeral());
|
|
2413
2413
|
}
|
|
2414
|
-
if (l === "verse" && (
|
|
2415
|
-
|
|
2414
|
+
if (l === "verse" && (T.inlines = q(
|
|
2415
|
+
uu(bu(o), {
|
|
2416
2416
|
attributes: x(o),
|
|
2417
2417
|
state: n
|
|
2418
2418
|
})
|
|
2419
2419
|
)), l === "stem") {
|
|
2420
2420
|
const v = bu(o);
|
|
2421
|
-
|
|
2421
|
+
T.content = fu(v);
|
|
2422
2422
|
}
|
|
2423
2423
|
if (l === "pass")
|
|
2424
2424
|
if ((o.getSubstitutions && typeof o.getSubstitutions == "function" ? o.getSubstitutions() : []).length > 0) {
|
|
2425
|
-
const
|
|
2426
|
-
|
|
2425
|
+
const A = q(
|
|
2426
|
+
uu(bu(o), {
|
|
2427
2427
|
attributes: x(o),
|
|
2428
2428
|
state: n
|
|
2429
2429
|
})
|
|
2430
2430
|
);
|
|
2431
|
-
|
|
2431
|
+
T.content = Au(su(A ?? []));
|
|
2432
2432
|
} else
|
|
2433
|
-
|
|
2433
|
+
T.content = Au(
|
|
2434
2434
|
bu(o)
|
|
2435
2435
|
);
|
|
2436
2436
|
if (l === "dlist") {
|
|
2437
|
-
let v =
|
|
2438
|
-
v.items = o.getItems().map((
|
|
2439
|
-
|
|
2440
|
-
(
|
|
2437
|
+
let v = T;
|
|
2438
|
+
v.items = o.getItems().map((A) => [
|
|
2439
|
+
A[0].map(
|
|
2440
|
+
(S) => F(S)
|
|
2441
2441
|
),
|
|
2442
|
-
F(
|
|
2442
|
+
F(A[1])
|
|
2443
2443
|
]);
|
|
2444
2444
|
}
|
|
2445
2445
|
if (l === "colist" || l === "olist" || l === "ulist") {
|
|
2446
|
-
let v =
|
|
2447
|
-
v.items = o.getItems().map((
|
|
2446
|
+
let v = T;
|
|
2447
|
+
v.items = o.getItems().map((A) => F(A));
|
|
2448
2448
|
}
|
|
2449
2449
|
if (l === "list_item") {
|
|
2450
|
-
let v =
|
|
2451
|
-
const
|
|
2452
|
-
v.textInlines =
|
|
2453
|
-
|
|
2450
|
+
let v = T;
|
|
2451
|
+
const A = o, S = typeof A.text == "string" ? A.text : void 0;
|
|
2452
|
+
v.textInlines = A.hasText() && S !== void 0 ? q(
|
|
2453
|
+
uu(S, {
|
|
2454
2454
|
attributes: s,
|
|
2455
2455
|
state: n
|
|
2456
2456
|
})
|
|
2457
2457
|
) : void 0;
|
|
2458
2458
|
}
|
|
2459
2459
|
if (l === "table") {
|
|
2460
|
-
let v =
|
|
2461
|
-
const
|
|
2462
|
-
v.columns =
|
|
2460
|
+
let v = T;
|
|
2461
|
+
const A = o;
|
|
2462
|
+
v.columns = A.getColumns().map((E) => ({
|
|
2463
2463
|
// @ts-ignore
|
|
2464
|
-
attributes:
|
|
2465
|
-
columnNumber:
|
|
2466
|
-
width:
|
|
2467
|
-
horizontalAlign:
|
|
2468
|
-
verticalAlign:
|
|
2469
|
-
style:
|
|
2464
|
+
attributes: E.getAttributes(),
|
|
2465
|
+
columnNumber: E.getColumnNumber(),
|
|
2466
|
+
width: E.getWidth(),
|
|
2467
|
+
horizontalAlign: E.getHorizontalAlign(),
|
|
2468
|
+
verticalAlign: E.getVerticalAlign(),
|
|
2469
|
+
style: E.getStyle()
|
|
2470
2470
|
}));
|
|
2471
|
-
const
|
|
2472
|
-
(
|
|
2473
|
-
), d =
|
|
2474
|
-
v
|
|
2471
|
+
const S = (E) => E.map(
|
|
2472
|
+
(H) => H.map((Y) => F(Y))
|
|
2473
|
+
), d = S(A.getHeadRows()), w = S(A.getBodyRows()), N = S(A.getFootRows());
|
|
2474
|
+
v = {
|
|
2475
2475
|
...v,
|
|
2476
|
-
caption:
|
|
2477
|
-
hasHeader:
|
|
2478
|
-
hasFooter:
|
|
2479
|
-
hasAutowidth:
|
|
2476
|
+
caption: A.getCaption(),
|
|
2477
|
+
hasHeader: A.hasHeaderOption(),
|
|
2478
|
+
hasFooter: A.hasFooterOption(),
|
|
2479
|
+
hasAutowidth: A.hasAutowidthOption(),
|
|
2480
2480
|
headRows: d,
|
|
2481
2481
|
bodyRows: w,
|
|
2482
|
-
footRows:
|
|
2483
|
-
},
|
|
2482
|
+
footRows: N
|
|
2483
|
+
}, T = v;
|
|
2484
2484
|
}
|
|
2485
2485
|
if (l === "table_cell") {
|
|
2486
|
-
const v = o,
|
|
2487
|
-
let
|
|
2488
|
-
if (
|
|
2489
|
-
const
|
|
2490
|
-
|
|
2491
|
-
}
|
|
2492
|
-
const
|
|
2493
|
-
|
|
2486
|
+
const v = o, A = typeof v.text == "string" ? v.text : v.getSource(), S = v.getStyle();
|
|
2487
|
+
let d;
|
|
2488
|
+
if (S === "asciidoc") {
|
|
2489
|
+
const Y = v.getInnerDocument?.();
|
|
2490
|
+
d = Y ? Y.getBlocks().map((M) => F(M)) : [];
|
|
2491
|
+
}
|
|
2492
|
+
const w = A ? q(
|
|
2493
|
+
uu(A, {
|
|
2494
2494
|
attributes: s,
|
|
2495
2495
|
state: n
|
|
2496
2496
|
})
|
|
2497
2497
|
) : void 0;
|
|
2498
|
-
let
|
|
2499
|
-
if (
|
|
2500
|
-
|
|
2501
|
-
else if (
|
|
2502
|
-
|
|
2503
|
-
else if (
|
|
2504
|
-
const
|
|
2505
|
-
|
|
2498
|
+
let N, E;
|
|
2499
|
+
if (S === "asciidoc")
|
|
2500
|
+
N = [];
|
|
2501
|
+
else if (S === "literal")
|
|
2502
|
+
N = [fu(v.getSource())];
|
|
2503
|
+
else if (A) {
|
|
2504
|
+
const Y = w ? su(w) : "", M = Y ? Y.split(/\n\n+/) : [], iu = S === "emphasis" ? "<em>" : S === "strong" ? "<strong>" : S === "monospaced" ? "<code>" : "", yu = S === "emphasis" ? "</em>" : S === "strong" ? "</strong>" : S === "monospaced" ? "</code>" : "";
|
|
2505
|
+
N = M.length > 0 ? M.map((Lu) => iu + Lu + yu) : [], E = w ? lt(w) : [];
|
|
2506
2506
|
} else
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
...
|
|
2510
|
-
blocks:
|
|
2507
|
+
N = [], E = [];
|
|
2508
|
+
T = {
|
|
2509
|
+
...T,
|
|
2510
|
+
blocks: d ?? T.blocks,
|
|
2511
2511
|
type: "table_cell",
|
|
2512
|
-
content:
|
|
2513
|
-
contentInlines:
|
|
2514
|
-
text:
|
|
2515
|
-
textInlines:
|
|
2512
|
+
content: N,
|
|
2513
|
+
contentInlines: E,
|
|
2514
|
+
text: S === "asciidoc" ? "" : su(w || []),
|
|
2515
|
+
textInlines: w,
|
|
2516
2516
|
columnSpan: v.getColumnSpan(),
|
|
2517
2517
|
rowSpan: v.getRowSpan(),
|
|
2518
|
-
source: v.getSource(),
|
|
2519
|
-
lines: v.getLines(),
|
|
2520
2518
|
width: v.getWidth(),
|
|
2521
|
-
columnPercentageWidth: v.getColumnPercentageWidth()
|
|
2522
|
-
column: S ? {
|
|
2523
|
-
// @ts-ignore
|
|
2524
|
-
attributes: S.getAttributes(),
|
|
2525
|
-
columnNumber: S.getColumnNumber(),
|
|
2526
|
-
width: S.getWidth(),
|
|
2527
|
-
horizontalAlign: S.getHorizontalAlign(),
|
|
2528
|
-
verticalAlign: S.getVerticalAlign(),
|
|
2529
|
-
style: S.getStyle()
|
|
2530
|
-
} : void 0
|
|
2519
|
+
columnPercentageWidth: v.getColumnPercentageWidth()
|
|
2531
2520
|
};
|
|
2532
2521
|
}
|
|
2533
|
-
return
|
|
2522
|
+
return T;
|
|
2534
2523
|
}
|
|
2535
|
-
function
|
|
2524
|
+
function X(o) {
|
|
2536
2525
|
return o.getSections().map((l) => ({
|
|
2537
2526
|
id: l.getId(),
|
|
2538
2527
|
title: (l.getCaption() ? l.getCaptionedTitle() : l.getTitle()) || "",
|
|
@@ -2540,7 +2529,7 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
2540
2529
|
num: l.getSectionNumber(),
|
|
2541
2530
|
numbered: l.isNumbered(),
|
|
2542
2531
|
hasCaption: !!l.getCaption(),
|
|
2543
|
-
sections:
|
|
2532
|
+
sections: X(l)
|
|
2544
2533
|
}));
|
|
2545
2534
|
}
|
|
2546
2535
|
e = {
|
|
@@ -2553,68 +2542,67 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
2553
2542
|
footnotes: [],
|
|
2554
2543
|
attributes: u.getAttributes(),
|
|
2555
2544
|
blocks: u.getBlocks().map((o) => F(o)),
|
|
2556
|
-
sections:
|
|
2545
|
+
sections: X(u),
|
|
2557
2546
|
authors: []
|
|
2558
2547
|
};
|
|
2559
|
-
const
|
|
2548
|
+
const K = [], ou = (o) => {
|
|
2560
2549
|
for (const l of o) {
|
|
2561
2550
|
if (l.inlines) {
|
|
2562
|
-
const
|
|
2563
|
-
|
|
2551
|
+
const k = Eu(l.inlines);
|
|
2552
|
+
K.push(...k);
|
|
2564
2553
|
}
|
|
2565
2554
|
if (l.blocks && ou(l.blocks), "items" in l && Array.isArray(l.items))
|
|
2566
|
-
for (const
|
|
2567
|
-
if ("textInlines" in
|
|
2568
|
-
const L = Eu(
|
|
2569
|
-
|
|
2555
|
+
for (const k of l.items) {
|
|
2556
|
+
if ("textInlines" in k && k.textInlines) {
|
|
2557
|
+
const L = Eu(k.textInlines);
|
|
2558
|
+
K.push(...L);
|
|
2570
2559
|
}
|
|
2571
|
-
"blocks" in
|
|
2560
|
+
"blocks" in k && k.blocks && ou(k.blocks);
|
|
2572
2561
|
}
|
|
2573
2562
|
if ("items" in l && Array.isArray(l.items)) {
|
|
2574
|
-
for (const
|
|
2575
|
-
if (Array.isArray(
|
|
2576
|
-
for (const L of
|
|
2563
|
+
for (const k of l.items)
|
|
2564
|
+
if (Array.isArray(k)) {
|
|
2565
|
+
for (const L of k)
|
|
2577
2566
|
if (L && typeof L == "object" && "textInlines" in L && L.textInlines) {
|
|
2578
2567
|
const R = Eu(L.textInlines);
|
|
2579
|
-
|
|
2568
|
+
K.push(...R);
|
|
2580
2569
|
}
|
|
2581
2570
|
}
|
|
2582
2571
|
}
|
|
2583
|
-
if ("
|
|
2584
|
-
const
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
X.push(...k);
|
|
2572
|
+
if ("bodyRows" in l) {
|
|
2573
|
+
for (const k of [l.headRows, l.bodyRows, l.footRows])
|
|
2574
|
+
for (const L of k)
|
|
2575
|
+
for (const R of L)
|
|
2576
|
+
if (R.textInlines) {
|
|
2577
|
+
const C = Eu(R.textInlines);
|
|
2578
|
+
K.push(...C);
|
|
2591
2579
|
}
|
|
2592
2580
|
}
|
|
2593
2581
|
}
|
|
2594
2582
|
};
|
|
2595
|
-
if (ou(e.blocks),
|
|
2583
|
+
if (ou(e.blocks), K.length > 0) {
|
|
2596
2584
|
const o = /* @__PURE__ */ new Map();
|
|
2597
|
-
for (const l of
|
|
2585
|
+
for (const l of K)
|
|
2598
2586
|
l.index !== void 0 && (!o.get(l.index) || l.text && l.text.length > 0) && o.set(l.index, l);
|
|
2599
|
-
e.footnotes = [...o.values()].sort((l,
|
|
2587
|
+
e.footnotes = [...o.values()].sort((l, k) => (l.index ?? 0) - (k.index ?? 0)).map((l) => ({
|
|
2600
2588
|
index: l.index,
|
|
2601
2589
|
textInlines: l.text ?? []
|
|
2602
2590
|
}));
|
|
2603
2591
|
}
|
|
2604
2592
|
return u.getAuthors() && (e.authors = u.getAuthors().map((o) => {
|
|
2605
|
-
const l = o.getName(),
|
|
2593
|
+
const l = o.getName(), k = o.getEmail();
|
|
2606
2594
|
return {
|
|
2607
|
-
name: l ?
|
|
2595
|
+
name: l ? su(
|
|
2608
2596
|
q(
|
|
2609
|
-
|
|
2597
|
+
uu(l, {
|
|
2610
2598
|
attributes: s,
|
|
2611
2599
|
state: { footnoteIndex: 0, footnotesById: /* @__PURE__ */ new Map() }
|
|
2612
2600
|
})
|
|
2613
2601
|
) || []
|
|
2614
2602
|
) : void 0,
|
|
2615
|
-
email:
|
|
2603
|
+
email: k ? su(
|
|
2616
2604
|
q(
|
|
2617
|
-
|
|
2605
|
+
uu(k, {
|
|
2618
2606
|
attributes: s,
|
|
2619
2607
|
state: { footnoteIndex: 0, footnotesById: /* @__PURE__ */ new Map() }
|
|
2620
2608
|
})
|
|
@@ -2622,7 +2610,7 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
2622
2610
|
) : void 0
|
|
2623
2611
|
};
|
|
2624
2612
|
})), e;
|
|
2625
|
-
},
|
|
2613
|
+
}, zt = async (u, e) => {
|
|
2626
2614
|
const t = async (a) => Promise.all(
|
|
2627
2615
|
a.map(async (c) => {
|
|
2628
2616
|
let i = await e(c);
|
|
@@ -2639,7 +2627,7 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
2639
2627
|
...u,
|
|
2640
2628
|
blocks: s
|
|
2641
2629
|
};
|
|
2642
|
-
},
|
|
2630
|
+
}, dt = ({ node: u }) => {
|
|
2643
2631
|
const e = (s) => {
|
|
2644
2632
|
const a = s, c = a[0];
|
|
2645
2633
|
let i = a[1];
|
|
@@ -2695,7 +2683,7 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
2695
2683
|
{
|
|
2696
2684
|
className: O(
|
|
2697
2685
|
"hdlist1",
|
|
2698
|
-
|
|
2686
|
+
cu(u.attributes, "strong") && "strong"
|
|
2699
2687
|
),
|
|
2700
2688
|
children: x.map((m, h) => /* @__PURE__ */ r.jsxs(mu, { children: [
|
|
2701
2689
|
h > 0 && /* @__PURE__ */ r.jsx("br", {}),
|
|
@@ -2752,7 +2740,7 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
2752
2740
|
b.level < n && b.sections.length > 0 && /* @__PURE__ */ r.jsx(qu, { sections: b.sections, opts: { tocLevels: n, sectNumLevels: i } })
|
|
2753
2741
|
] }, b.id);
|
|
2754
2742
|
}) });
|
|
2755
|
-
},
|
|
2743
|
+
}, ft = ({ document: u }) => {
|
|
2756
2744
|
const e = () => u.noHeader ? null : /* @__PURE__ */ r.jsx("div", { id: "header", children: u.hasHeader && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
2757
2745
|
/* @__PURE__ */ r.jsx(
|
|
2758
2746
|
"h1",
|
|
@@ -2775,7 +2763,7 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
2775
2763
|
]
|
|
2776
2764
|
}
|
|
2777
2765
|
)
|
|
2778
|
-
] }) }), t = () => u.footnotes && u.footnotes.length > 0 && u.blocks && !
|
|
2766
|
+
] }) }), t = () => u.footnotes && u.footnotes.length > 0 && u.blocks && !au(u.attributes, "nofootnotes") ? /* @__PURE__ */ r.jsxs("div", { id: "footnotes", children: [
|
|
2779
2767
|
/* @__PURE__ */ r.jsx("hr", {}),
|
|
2780
2768
|
u.footnotes.map((a) => /* @__PURE__ */ r.jsxs(
|
|
2781
2769
|
"div",
|
|
@@ -2791,7 +2779,7 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
2791
2779
|
},
|
|
2792
2780
|
a.index
|
|
2793
2781
|
))
|
|
2794
|
-
] }) : null, s = () => u.authors.length > 0 ||
|
|
2782
|
+
] }) : null, s = () => u.authors.length > 0 || au(u.attributes, "revnumber") || au(u.attributes, "revdate") || au(u.attributes, "revremark") ? /* @__PURE__ */ r.jsxs("div", { className: "details", children: [
|
|
2795
2783
|
u.authors.map((a, c) => /* @__PURE__ */ r.jsxs(mu, { children: [
|
|
2796
2784
|
a.name && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
2797
2785
|
/* @__PURE__ */ r.jsx("span", { id: `author${c + 1 > 1 ? c + 1 : ""}`, className: "author", children: /* @__PURE__ */ r.jsx("span", { dangerouslySetInnerHTML: { __html: a.name } }) }),
|
|
@@ -2802,9 +2790,9 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
2802
2790
|
/* @__PURE__ */ r.jsx("br", {})
|
|
2803
2791
|
] })
|
|
2804
2792
|
] }, c)),
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2793
|
+
au(u.attributes, "revnumber") && /* @__PURE__ */ r.jsx("span", { id: "revnumber", children: `${u.attributes["version-label"].toString().toLowerCase()} ${u.attributes.revnumber}${u.attributes.revdate ? "," : ""}` }),
|
|
2794
|
+
au(u.attributes, "revdate") && /* @__PURE__ */ r.jsx("span", { id: "revdate", children: u.attributes.revdate }),
|
|
2795
|
+
au(u.attributes, "revremark") && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
2808
2796
|
/* @__PURE__ */ r.jsx("br", {}),
|
|
2809
2797
|
/* @__PURE__ */ r.jsx("span", { id: "revremark", children: u.attributes.revremark })
|
|
2810
2798
|
] })
|
|
@@ -2814,10 +2802,10 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
2814
2802
|
/* @__PURE__ */ r.jsx("div", { id: "content", children: /* @__PURE__ */ r.jsx(V, { blocks: u.blocks }) }),
|
|
2815
2803
|
/* @__PURE__ */ r.jsx(t, {})
|
|
2816
2804
|
] });
|
|
2817
|
-
},
|
|
2805
|
+
}, bt = ({ node: u }) => {
|
|
2818
2806
|
const { react: e, iconsFont: t } = Ru(u.inlines);
|
|
2819
|
-
if (
|
|
2820
|
-
const a =
|
|
2807
|
+
if (cu(u.attributes, "collapsible")) {
|
|
2808
|
+
const a = cu(u.attributes, "open");
|
|
2821
2809
|
return /* @__PURE__ */ r.jsxs(
|
|
2822
2810
|
"details",
|
|
2823
2811
|
{
|
|
@@ -2859,7 +2847,7 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
2859
2847
|
]
|
|
2860
2848
|
}
|
|
2861
2849
|
);
|
|
2862
|
-
},
|
|
2850
|
+
}, xt = ({ node: u }) => Cu(
|
|
2863
2851
|
`h${u.level + 1}`,
|
|
2864
2852
|
{
|
|
2865
2853
|
id: u.id || void 0,
|
|
@@ -2867,14 +2855,14 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
2867
2855
|
...u.lineNumber ? { "data-lineno": u.lineNumber } : {}
|
|
2868
2856
|
},
|
|
2869
2857
|
/* @__PURE__ */ r.jsx(P, { nodes: u.titleInlines })
|
|
2870
|
-
),
|
|
2858
|
+
), pt = /^(?:[a-zA-Z][a-zA-Z]+\d{0,2}|#\d{1,7}|#x[\da-fA-F]{1,6});/, wu = (u) => {
|
|
2871
2859
|
let e = "";
|
|
2872
2860
|
for (let t = 0; t < u.length; t++) {
|
|
2873
2861
|
const s = u[t];
|
|
2874
|
-
s === "&" ? e +=
|
|
2862
|
+
s === "&" ? e += pt.test(u.slice(t + 1)) ? "&" : "&" : s === '"' ? e += """ : s === "<" ? e += "<" : s === ">" ? e += ">" : e += s;
|
|
2875
2863
|
}
|
|
2876
2864
|
return e;
|
|
2877
|
-
},
|
|
2865
|
+
}, ht = ({ node: u }) => {
|
|
2878
2866
|
const e = u.alt ?? u.attributes.alt?.toString() ?? "", t = u.attributes.width, s = u.attributes.height, a = u.attributes.link, c = u.attributes.align, i = u.attributes.float;
|
|
2879
2867
|
let n = `<img src="${wu(u.imageUri)}" alt="${wu(e)}"`;
|
|
2880
2868
|
return t && (n += ` width="${wu(t.toString())}"`), s && (n += ` height="${wu(s.toString())}"`), n += ">", a && (n = `<a class="image" href="${wu(a.toString())}">${n}</a>`), /* @__PURE__ */ r.jsxs(
|
|
@@ -2894,8 +2882,8 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
2894
2882
|
]
|
|
2895
2883
|
}
|
|
2896
2884
|
);
|
|
2897
|
-
},
|
|
2898
|
-
const { document: e } = tu(), t = e.attributes || {}, s =
|
|
2885
|
+
}, mt = ({ node: u }) => {
|
|
2886
|
+
const { document: e } = tu(), t = e.attributes || {}, s = cu(u.attributes, "nowrap") || t.prewrap === void 0, a = O("listingblock", u.role);
|
|
2899
2887
|
if (u.style === "source") {
|
|
2900
2888
|
const c = u.language;
|
|
2901
2889
|
return /* @__PURE__ */ r.jsxs(
|
|
@@ -2936,8 +2924,8 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
2936
2924
|
]
|
|
2937
2925
|
}
|
|
2938
2926
|
);
|
|
2939
|
-
},
|
|
2940
|
-
const { document: e } = tu(), t = e.attributes || {}, s =
|
|
2927
|
+
}, gt = ({ node: u }) => {
|
|
2928
|
+
const { document: e } = tu(), t = e.attributes || {}, s = cu(u.attributes, "nowrap") || t.prewrap === void 0;
|
|
2941
2929
|
return /* @__PURE__ */ r.jsxs(
|
|
2942
2930
|
"div",
|
|
2943
2931
|
{
|
|
@@ -2956,13 +2944,13 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
2956
2944
|
]
|
|
2957
2945
|
}
|
|
2958
2946
|
);
|
|
2959
|
-
},
|
|
2947
|
+
}, yt = {
|
|
2960
2948
|
upperalpha: "A",
|
|
2961
2949
|
loweralpha: "a",
|
|
2962
2950
|
upperroman: "I",
|
|
2963
2951
|
lowerroman: "i"
|
|
2964
|
-
},
|
|
2965
|
-
const e = u.style, t = e ?
|
|
2952
|
+
}, vt = ({ node: u }) => {
|
|
2953
|
+
const e = u.style, t = e ? yt[e] : void 0, s = u.attributes.start ? parseInt(`${u.attributes.start}`) : void 0;
|
|
2966
2954
|
return /* @__PURE__ */ r.jsxs(
|
|
2967
2955
|
"div",
|
|
2968
2956
|
{
|
|
@@ -2976,7 +2964,7 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
2976
2964
|
{
|
|
2977
2965
|
className: e || void 0,
|
|
2978
2966
|
type: t,
|
|
2979
|
-
reversed:
|
|
2967
|
+
reversed: cu(u.attributes, "reversed") || void 0,
|
|
2980
2968
|
start: s,
|
|
2981
2969
|
children: u.items.map((a, c) => /* @__PURE__ */ r.jsxs("li", { id: a.id || void 0, children: [
|
|
2982
2970
|
/* @__PURE__ */ r.jsx("p", { children: /* @__PURE__ */ r.jsx(P, { nodes: a.textInlines }) }),
|
|
@@ -2987,7 +2975,7 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
2987
2975
|
]
|
|
2988
2976
|
}
|
|
2989
2977
|
);
|
|
2990
|
-
},
|
|
2978
|
+
}, jt = ({ node: u }) => {
|
|
2991
2979
|
const { react: e, iconsFont: t } = Ru(u.inlines), s = u.style;
|
|
2992
2980
|
return s === "abstract" ? /* @__PURE__ */ r.jsxs(
|
|
2993
2981
|
"div",
|
|
@@ -3025,7 +3013,7 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
3025
3013
|
]
|
|
3026
3014
|
}
|
|
3027
3015
|
);
|
|
3028
|
-
},
|
|
3016
|
+
}, wt = () => /* @__PURE__ */ r.jsx("div", { style: { pageBreakAfter: "always" } }), $t = ({ node: u }) => {
|
|
3029
3017
|
const { react: e, iconsFont: t } = Ru(u.inlines);
|
|
3030
3018
|
return /* @__PURE__ */ r.jsxs(
|
|
3031
3019
|
"div",
|
|
@@ -3039,7 +3027,7 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
3039
3027
|
]
|
|
3040
3028
|
}
|
|
3041
3029
|
);
|
|
3042
|
-
},
|
|
3030
|
+
}, Nt = ({ node: u }) => /* @__PURE__ */ r.jsx(r.Fragment, { children: Tu(u.content || "") }), St = ({ node: u }) => {
|
|
3043
3031
|
const { document: e } = tu(), t = e.attributes || {}, s = t["toc-placement"] === "preamble" && e.sections && e.sections.length > 0 && t.toc !== void 0, a = t["toc-title"] || "Table of Contents", c = t["toc-class"] || "toc";
|
|
3044
3032
|
return /* @__PURE__ */ r.jsxs("div", { id: "preamble", ...u.lineNumber ? { "data-lineno": u.lineNumber } : {}, children: [
|
|
3045
3033
|
/* @__PURE__ */ r.jsx("div", { className: "sectionbody", children: /* @__PURE__ */ r.jsx(V, { blocks: u.blocks }) }),
|
|
@@ -3048,7 +3036,7 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
3048
3036
|
/* @__PURE__ */ r.jsx(qu, { sections: e.sections })
|
|
3049
3037
|
] })
|
|
3050
3038
|
] });
|
|
3051
|
-
},
|
|
3039
|
+
}, At = ({ node: u }) => {
|
|
3052
3040
|
const e = u.attributes.attribution, t = u.attributes.citetitle;
|
|
3053
3041
|
let s = "";
|
|
3054
3042
|
return e ? (s = `— ${e}`, t && (s += `<br>
|
|
@@ -3065,7 +3053,7 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
3065
3053
|
]
|
|
3066
3054
|
}
|
|
3067
3055
|
);
|
|
3068
|
-
},
|
|
3056
|
+
}, Et = ({ node: u }) => {
|
|
3069
3057
|
const { document: e } = tu(), t = e.attributes || {}, s = t.sectnumlevels ? parseInt(`${t.sectnumlevels}`) : 3, c = u.numbered && u.num && u.num !== "." && u.level <= s && !u.hasCaption ? `${u.num} ` : "", i = u.hasCaption ? Tu(u.title) : /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
|
|
3070
3058
|
c,
|
|
3071
3059
|
/* @__PURE__ */ r.jsx(P, { nodes: u.titleInlines })
|
|
@@ -3112,7 +3100,7 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
3112
3100
|
]
|
|
3113
3101
|
}
|
|
3114
3102
|
);
|
|
3115
|
-
},
|
|
3103
|
+
}, kt = ({ node: u }) => {
|
|
3116
3104
|
const e = u.blocks.length > 0;
|
|
3117
3105
|
return /* @__PURE__ */ r.jsx(
|
|
3118
3106
|
"div",
|
|
@@ -3129,7 +3117,7 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
3129
3117
|
] })
|
|
3130
3118
|
}
|
|
3131
3119
|
);
|
|
3132
|
-
},
|
|
3120
|
+
}, _t = ({ node: u }) => {
|
|
3133
3121
|
const { document: e } = tu(), s = (e.attributes || {}).stem || "asciimath";
|
|
3134
3122
|
let a = u.style || s;
|
|
3135
3123
|
a === "stem" && (a = s === "latexmath" ? "latexmath" : "asciimath");
|
|
@@ -3154,15 +3142,15 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
3154
3142
|
]
|
|
3155
3143
|
}
|
|
3156
3144
|
);
|
|
3157
|
-
},
|
|
3145
|
+
}, Tt = ({ node: u }) => {
|
|
3158
3146
|
const { document: e, inlineOverrides: t } = tu(), s = e.attributes || {}, a = !!t && Object.keys(t).length > 0, c = (y) => a || !Iu(y.textInlines);
|
|
3159
3147
|
let i = [
|
|
3160
3148
|
"frame-" + ku(u.attributes, "frame", "all", "table-frame", s),
|
|
3161
3149
|
"grid-" + ku(u.attributes, "grid", "all", "table-grid", s)
|
|
3162
3150
|
], n = ku(u.attributes, "stripes", null, "table-stripes", s);
|
|
3163
3151
|
n && i.push("stripes-" + n);
|
|
3164
|
-
let x =
|
|
3165
|
-
x && !
|
|
3152
|
+
let x = cu(u.attributes, "autowidth"), b = parseInt(`${u.attributes.tablepcwidth}`), m = null;
|
|
3153
|
+
x && !au(u.attributes, "width") ? i.push("fit-content") : b === 100 ? i.push("stretch") : m = `${b}%`, au(u.attributes, "float") && i.push(`${u.attributes.float}`), u.role && i.push(u.role || "");
|
|
3166
3154
|
const h = (y) => O(
|
|
3167
3155
|
"tableblock",
|
|
3168
3156
|
`halign-${y.attributes.halign}`,
|
|
@@ -3217,22 +3205,22 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
3217
3205
|
)
|
|
3218
3206
|
) }) }, p)),
|
|
3219
3207
|
u.bodyRows.length > 0 && /* @__PURE__ */ r.jsx("tbody", { children: u.bodyRows.map((y, p) => /* @__PURE__ */ r.jsx("tr", { children: y.map((g, j) => {
|
|
3220
|
-
const
|
|
3221
|
-
let
|
|
3222
|
-
if (!(
|
|
3223
|
-
const
|
|
3224
|
-
|
|
3225
|
-
<p class="tableblock">`)}</p>` : "" :
|
|
3208
|
+
const $ = g.style, _ = h(g), I = g.columnSpan, q = g.rowSpan, z = $ === "header" ? "th" : "td", F = c(g) && $ !== "asciidoc" && $ !== "literal";
|
|
3209
|
+
let X = "";
|
|
3210
|
+
if (!($ === "asciidoc" || F)) {
|
|
3211
|
+
const K = g.content || [];
|
|
3212
|
+
$ === "literal" ? X = `<div class="literal"><pre>${K.join("")}</pre></div>` : $ === "header" ? X = K.length > 0 ? `<p class="tableblock">${K.join(`</p>
|
|
3213
|
+
<p class="tableblock">`)}</p>` : "" : K.length > 0 && (X = `<p class="tableblock">${K.join(`</p>
|
|
3226
3214
|
<p class="tableblock">`)}</p>`);
|
|
3227
3215
|
}
|
|
3228
3216
|
return /* @__PURE__ */ r.jsx(
|
|
3229
3217
|
z,
|
|
3230
3218
|
{
|
|
3231
|
-
className:
|
|
3219
|
+
className: _,
|
|
3232
3220
|
colSpan: I,
|
|
3233
3221
|
rowSpan: q,
|
|
3234
|
-
dangerouslySetInnerHTML:
|
|
3235
|
-
children:
|
|
3222
|
+
dangerouslySetInnerHTML: $ === "asciidoc" || F ? void 0 : X ? { __html: X } : void 0,
|
|
3223
|
+
children: $ === "asciidoc" ? /* @__PURE__ */ r.jsx("div", { className: "content", children: /* @__PURE__ */ r.jsx(V, { blocks: g.blocks }) }) : F ? f(g) : null
|
|
3236
3224
|
},
|
|
3237
3225
|
j
|
|
3238
3226
|
);
|
|
@@ -3247,7 +3235,7 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
3247
3235
|
]
|
|
3248
3236
|
}
|
|
3249
3237
|
);
|
|
3250
|
-
},
|
|
3238
|
+
}, It = ({ node: u }) => {
|
|
3251
3239
|
const { document: e } = tu(), t = e.attributes || {}, s = e.sections && e.sections.length > 0;
|
|
3252
3240
|
let a = u.id || "toc";
|
|
3253
3241
|
const c = u.title ? u.title : t["toc-title"], i = t["toc-placement"], n = t.toc !== void 0, x = u.attributes.levels ? parseInt(`${u.attributes.levels}`) : void 0;
|
|
@@ -3255,18 +3243,18 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
3255
3243
|
/* @__PURE__ */ r.jsx("div", { id: `${a}title`, className: "title", children: Tu(`${c}` || "") }),
|
|
3256
3244
|
e.sections && /* @__PURE__ */ r.jsx(qu, { sections: e.sections, opts: { tocLevels: x } })
|
|
3257
3245
|
] });
|
|
3258
|
-
},
|
|
3246
|
+
}, Rt = () => /* @__PURE__ */ r.jsx("hr", {}), qt = (u) => {
|
|
3259
3247
|
if (!u) return "";
|
|
3260
3248
|
let e = "", t = !1;
|
|
3261
3249
|
for (const s of u)
|
|
3262
3250
|
if (!t && s.type === "anchor" && s.subtype === "bibref") {
|
|
3263
|
-
const a = s.id || s.target, c =
|
|
3251
|
+
const a = s.id || s.target, c = su(s.text) || a;
|
|
3264
3252
|
e += `<a id="${a}"></a>[${c}]`, t = !0;
|
|
3265
3253
|
} else
|
|
3266
|
-
e +=
|
|
3254
|
+
e += su([s]);
|
|
3267
3255
|
return e;
|
|
3268
|
-
},
|
|
3269
|
-
const { inlineOverrides: e } = tu(), t =
|
|
3256
|
+
}, Lt = ({ node: u }) => {
|
|
3257
|
+
const { inlineOverrides: e } = tu(), t = cu(u.attributes, "checklist"), s = t && cu(u.attributes, "interactive"), a = u.style === "bibliography", c = !!e && Object.keys(e).length > 0, i = (n) => c || !Iu(n.textInlines);
|
|
3270
3258
|
return /* @__PURE__ */ r.jsxs(
|
|
3271
3259
|
"div",
|
|
3272
3260
|
{
|
|
@@ -3290,7 +3278,7 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
3290
3278
|
"p",
|
|
3291
3279
|
{
|
|
3292
3280
|
dangerouslySetInnerHTML: {
|
|
3293
|
-
__html:
|
|
3281
|
+
__html: qt(n.textInlines)
|
|
3294
3282
|
}
|
|
3295
3283
|
}
|
|
3296
3284
|
)
|
|
@@ -3322,7 +3310,7 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
3322
3310
|
]
|
|
3323
3311
|
}
|
|
3324
3312
|
);
|
|
3325
|
-
},
|
|
3313
|
+
}, Ot = ({ node: u }) => {
|
|
3326
3314
|
const { react: e, iconsFont: t } = Ru(u.inlines), s = u.attributes.attribution, a = u.attributes.citetitle;
|
|
3327
3315
|
let c = "";
|
|
3328
3316
|
return (s || a) && (s ? (c = `— ${s}`, a && (c += `<br>
|
|
@@ -3345,7 +3333,7 @@ const O = /* @__PURE__ */ de(at), U = ({ text: u }) => u ? /* @__PURE__ */ r.jsx
|
|
|
3345
3333
|
]
|
|
3346
3334
|
}
|
|
3347
3335
|
);
|
|
3348
|
-
},
|
|
3336
|
+
}, Pt = ({ node: u }) => {
|
|
3349
3337
|
const e = u.attributes.start, t = u.attributes.end, s = e || t ? `#t=${e || ""}${t ? "," + t : ""}` : "", a = u.attributes.width, c = u.attributes.height, i = u.attributes.poster, n = [`src="${u.mediaUri}${s}"`];
|
|
3350
3338
|
a && n.push(`width="${a}"`), c && n.push(`height="${c}"`), i && n.push(`poster="${i}"`), u.autoplay && n.push("autoplay"), u.noControls || n.push("controls"), u.loop && n.push("loop");
|
|
3351
3339
|
const x = `<video ${n.join(" ")}>
|
|
@@ -3363,27 +3351,27 @@ Your browser does not support the video tag.
|
|
|
3363
3351
|
]
|
|
3364
3352
|
}
|
|
3365
3353
|
);
|
|
3366
|
-
},
|
|
3354
|
+
}, Ct = (u) => {
|
|
3367
3355
|
const e = [...u.blocks ?? []];
|
|
3368
3356
|
if ("items" in u && Array.isArray(u.items))
|
|
3369
3357
|
for (const t of u.items)
|
|
3370
3358
|
if (Array.isArray(t))
|
|
3371
3359
|
for (const s of t) e.push(...Array.isArray(s) ? s : [s]);
|
|
3372
3360
|
else e.push(t);
|
|
3373
|
-
if ("
|
|
3374
|
-
for (const t of [u.
|
|
3361
|
+
if ("bodyRows" in u)
|
|
3362
|
+
for (const t of [u.headRows, u.bodyRows, u.footRows])
|
|
3375
3363
|
for (const s of t) e.push(...s);
|
|
3376
3364
|
return e;
|
|
3377
|
-
},
|
|
3365
|
+
}, Mt = (u, e) => {
|
|
3378
3366
|
for (const t of u) {
|
|
3379
3367
|
if (t.id === e) return t;
|
|
3380
|
-
const s =
|
|
3368
|
+
const s = Mt(Ct(t), e);
|
|
3381
3369
|
if (s) return s;
|
|
3382
3370
|
}
|
|
3383
|
-
},
|
|
3371
|
+
}, Ht = (u) => u.replace(/<[^>]*>/g, ""), hu = (u) => u.map(Dt).join(""), Dt = (u) => {
|
|
3384
3372
|
switch (u.type) {
|
|
3385
3373
|
case "text":
|
|
3386
|
-
return u.raw ?
|
|
3374
|
+
return u.raw ? Ht(u.text) : u.text;
|
|
3387
3375
|
// raw nodes carry HTML
|
|
3388
3376
|
case "quoted":
|
|
3389
3377
|
return u.subtype === "double" ? `“${hu(u.text)}”` : u.subtype === "single" ? `‘${hu(u.text)}’` : hu(u.text);
|
|
@@ -3409,7 +3397,7 @@ Your browser does not support the video tag.
|
|
|
3409
3397
|
default:
|
|
3410
3398
|
return u;
|
|
3411
3399
|
}
|
|
3412
|
-
},
|
|
3400
|
+
}, Gt = (u) => u ? Du(hu(u)) : "", $u = le({ document: {} }), Zt = ({
|
|
3413
3401
|
document: u,
|
|
3414
3402
|
options: e
|
|
3415
3403
|
}) => {
|
|
@@ -3421,64 +3409,64 @@ Your browser does not support the video tag.
|
|
|
3421
3409
|
...e,
|
|
3422
3410
|
document: { attributes: u.attributes, sections: u.sections }
|
|
3423
3411
|
},
|
|
3424
|
-
children: t ? /* @__PURE__ */ r.jsx(t, { document: u }) : /* @__PURE__ */ r.jsx(
|
|
3412
|
+
children: t ? /* @__PURE__ */ r.jsx(t, { document: u }) : /* @__PURE__ */ r.jsx(ft, { document: u })
|
|
3425
3413
|
}
|
|
3426
3414
|
);
|
|
3427
|
-
}, V = ({ blocks: u }) => /* @__PURE__ */ r.jsx(r.Fragment, { children: u.map((e, t) => /* @__PURE__ */ r.jsx(
|
|
3415
|
+
}, V = ({ blocks: u }) => /* @__PURE__ */ r.jsx(r.Fragment, { children: u.map((e, t) => /* @__PURE__ */ r.jsx(Bt, { node: e }, `${t}-${e.type}`)) }), Bt = ({ node: u }) => {
|
|
3428
3416
|
const { overrides: e } = _u($u), t = u.type, s = e && e[t];
|
|
3429
3417
|
if (s)
|
|
3430
3418
|
return /* @__PURE__ */ r.jsx(s, { node: u });
|
|
3431
3419
|
switch (t) {
|
|
3432
3420
|
case "audio":
|
|
3433
|
-
return /* @__PURE__ */ r.jsx(
|
|
3421
|
+
return /* @__PURE__ */ r.jsx(ct, { node: u });
|
|
3434
3422
|
case "preamble":
|
|
3435
|
-
return /* @__PURE__ */ r.jsx(
|
|
3423
|
+
return /* @__PURE__ */ r.jsx(St, { node: u });
|
|
3436
3424
|
case "section":
|
|
3437
|
-
return /* @__PURE__ */ r.jsx(
|
|
3425
|
+
return /* @__PURE__ */ r.jsx(Et, { node: u });
|
|
3438
3426
|
case "paragraph":
|
|
3439
|
-
return /* @__PURE__ */ r.jsx(
|
|
3427
|
+
return /* @__PURE__ */ r.jsx($t, { node: u });
|
|
3440
3428
|
case "dlist":
|
|
3441
|
-
return /* @__PURE__ */ r.jsx(
|
|
3429
|
+
return /* @__PURE__ */ r.jsx(dt, { node: u });
|
|
3442
3430
|
case "ulist":
|
|
3443
|
-
return /* @__PURE__ */ r.jsx(
|
|
3431
|
+
return /* @__PURE__ */ r.jsx(Lt, { node: u });
|
|
3444
3432
|
case "floating_title":
|
|
3445
|
-
return /* @__PURE__ */ r.jsx(
|
|
3433
|
+
return /* @__PURE__ */ r.jsx(xt, { node: u });
|
|
3446
3434
|
case "admonition":
|
|
3447
|
-
return /* @__PURE__ */ r.jsx(
|
|
3435
|
+
return /* @__PURE__ */ r.jsx(at, { node: u });
|
|
3448
3436
|
case "listing":
|
|
3449
|
-
return /* @__PURE__ */ r.jsx(
|
|
3437
|
+
return /* @__PURE__ */ r.jsx(mt, { node: u });
|
|
3450
3438
|
case "literal":
|
|
3451
|
-
return /* @__PURE__ */ r.jsx(
|
|
3439
|
+
return /* @__PURE__ */ r.jsx(gt, { node: u });
|
|
3452
3440
|
case "image":
|
|
3453
|
-
return /* @__PURE__ */ r.jsx(
|
|
3441
|
+
return /* @__PURE__ */ r.jsx(ht, { node: u });
|
|
3454
3442
|
case "colist":
|
|
3455
|
-
return /* @__PURE__ */ r.jsx(
|
|
3443
|
+
return /* @__PURE__ */ r.jsx(it, { node: u });
|
|
3456
3444
|
case "olist":
|
|
3457
|
-
return /* @__PURE__ */ r.jsx(
|
|
3445
|
+
return /* @__PURE__ */ r.jsx(vt, { node: u });
|
|
3458
3446
|
case "table":
|
|
3459
|
-
return /* @__PURE__ */ r.jsx(
|
|
3447
|
+
return /* @__PURE__ */ r.jsx(Tt, { node: u });
|
|
3460
3448
|
case "thematic_break":
|
|
3461
|
-
return /* @__PURE__ */ r.jsx(
|
|
3449
|
+
return /* @__PURE__ */ r.jsx(Rt, {});
|
|
3462
3450
|
case "open":
|
|
3463
|
-
return /* @__PURE__ */ r.jsx(
|
|
3451
|
+
return /* @__PURE__ */ r.jsx(jt, { node: u });
|
|
3464
3452
|
case "pass":
|
|
3465
|
-
return /* @__PURE__ */ r.jsx(
|
|
3453
|
+
return /* @__PURE__ */ r.jsx(Nt, { node: u });
|
|
3466
3454
|
case "stem":
|
|
3467
|
-
return /* @__PURE__ */ r.jsx(
|
|
3455
|
+
return /* @__PURE__ */ r.jsx(_t, { node: u });
|
|
3468
3456
|
case "page_break":
|
|
3469
|
-
return /* @__PURE__ */ r.jsx(
|
|
3457
|
+
return /* @__PURE__ */ r.jsx(wt, {});
|
|
3470
3458
|
case "example":
|
|
3471
|
-
return /* @__PURE__ */ r.jsx(
|
|
3459
|
+
return /* @__PURE__ */ r.jsx(bt, { node: u });
|
|
3472
3460
|
case "sidebar":
|
|
3473
|
-
return /* @__PURE__ */ r.jsx(
|
|
3461
|
+
return /* @__PURE__ */ r.jsx(kt, { node: u });
|
|
3474
3462
|
case "quote":
|
|
3475
|
-
return /* @__PURE__ */ r.jsx(
|
|
3463
|
+
return /* @__PURE__ */ r.jsx(At, { node: u });
|
|
3476
3464
|
case "verse":
|
|
3477
|
-
return /* @__PURE__ */ r.jsx(
|
|
3465
|
+
return /* @__PURE__ */ r.jsx(Ot, { node: u });
|
|
3478
3466
|
case "video":
|
|
3479
|
-
return /* @__PURE__ */ r.jsx(
|
|
3467
|
+
return /* @__PURE__ */ r.jsx(Pt, { node: u });
|
|
3480
3468
|
case "toc":
|
|
3481
|
-
return /* @__PURE__ */ r.jsx(
|
|
3469
|
+
return /* @__PURE__ */ r.jsx(It, { node: u });
|
|
3482
3470
|
default:
|
|
3483
3471
|
return /* @__PURE__ */ r.jsx(r.Fragment, {});
|
|
3484
3472
|
}
|
|
@@ -3489,45 +3477,45 @@ Your browser does not support the video tag.
|
|
|
3489
3477
|
return u;
|
|
3490
3478
|
};
|
|
3491
3479
|
export {
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3480
|
+
at as Admonition,
|
|
3481
|
+
Zt as Asciidoc,
|
|
3482
|
+
ct as Audio,
|
|
3483
|
+
it as CoList,
|
|
3496
3484
|
V as Content,
|
|
3497
3485
|
$u as Context,
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3486
|
+
dt as DList,
|
|
3487
|
+
ft as Document,
|
|
3488
|
+
bt as Example,
|
|
3489
|
+
xt as FloatingTitle,
|
|
3490
|
+
ht as Image,
|
|
3491
|
+
Ft as Inline,
|
|
3492
|
+
mt as Listing,
|
|
3493
|
+
gt as Literal,
|
|
3494
|
+
vt as OList,
|
|
3495
|
+
jt as Open,
|
|
3508
3496
|
qu as Outline,
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3497
|
+
wt as PageBreak,
|
|
3498
|
+
$t as Paragraph,
|
|
3499
|
+
Nt as Pass,
|
|
3500
|
+
St as Preamble,
|
|
3501
|
+
At as Quote,
|
|
3514
3502
|
P as RenderInline,
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3503
|
+
Et as Section,
|
|
3504
|
+
kt as Sidebar,
|
|
3505
|
+
_t as Stem,
|
|
3506
|
+
Tt as Table,
|
|
3507
|
+
It as TableOfContents,
|
|
3508
|
+
Rt as ThematicBreak,
|
|
3521
3509
|
U as Title,
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3510
|
+
Lt as UList,
|
|
3511
|
+
Ot as Verse,
|
|
3512
|
+
Pt as Video,
|
|
3513
|
+
Mt as findSection,
|
|
3526
3514
|
gu as inlineHtml,
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3515
|
+
cu as isOption,
|
|
3516
|
+
Qt as parse,
|
|
3517
|
+
Gt as plainText,
|
|
3518
|
+
Vt as prepareDocument,
|
|
3519
|
+
zt as processDocument,
|
|
3532
3520
|
tu as useConverterContext
|
|
3533
3521
|
};
|