@mdsvex/render 1.0.0-next.3 → 1.0.0-next.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/html_cursor.d.ts +27 -3
- package/dist/html_cursor.js +1302 -1149
- package/dist/scope.d.ts +34 -0
- package/package.json +1 -1
- package/src/html_cursor.ts +249 -12
- package/src/scope.ts +60 -1
package/dist/html_cursor.js
CHANGED
|
@@ -1,25 +1,34 @@
|
|
|
1
|
-
import { Cursor as
|
|
2
|
-
import { is_raw_text_tag as
|
|
3
|
-
import { footnote_index as
|
|
4
|
-
import { MapSink as
|
|
5
|
-
import { trace_records_to_v3 as
|
|
6
|
-
import { top_block as
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { Cursor as or } from "@mdsvex/parse/cursor";
|
|
2
|
+
import { is_raw_text_tag as Ge, unread_spans as ts, spans_text as al, spans_have as fl } from "@mdsvex/parse/utils";
|
|
3
|
+
import { footnote_index as es, footnote_id as wr, footnote_ref_id as vr, buf_code as pr } from "@mdsvex/parse/buf-utils";
|
|
4
|
+
import { MapSink as xr, record_mappings as cl, RecordMapping as rn, record_data as ul } from "./mappings.js";
|
|
5
|
+
import { trace_records_to_v3 as dl, trace_room as hl, trace_free_at as gl, trace_take as _l, trace_of_records as bl, reserve_trace as ml, records_by_offset as wl } from "./sourcemap.js";
|
|
6
|
+
import { top_block as vl } from "./component.js";
|
|
7
|
+
function pl(t, e, n, s, o) {
|
|
8
|
+
const r = [];
|
|
9
|
+
if (n !== void 0) {
|
|
10
|
+
const l = Object.keys(n).sort();
|
|
11
|
+
for (let a = 0; a < l.length; a++) r.push(l[a], n[l[a]]);
|
|
12
|
+
}
|
|
13
|
+
return JSON.stringify([t, e, r, s, o]);
|
|
14
|
+
}
|
|
15
|
+
const ns = /^[A-Za-z_$][\w$]*$/;
|
|
16
|
+
class xl {
|
|
9
17
|
/**
|
|
10
18
|
* sources are lowest precedence first so a later one replaces a name,
|
|
11
19
|
* suffix keeps the locals of different scopes apart
|
|
12
20
|
*/
|
|
13
21
|
constructor(e, n, s = null) {
|
|
14
22
|
this.own = /* @__PURE__ */ new Map(), this.locals = /* @__PURE__ */ new Set(), this.parent = s;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
this.own.
|
|
23
|
+
let o = s !== null && s.has_static;
|
|
24
|
+
for (let r = 0; r < e.length; r++) {
|
|
25
|
+
const { specifier: l, names: a } = e[r], f = e[r].static;
|
|
26
|
+
for (let c = 0; c < a.length; c++) {
|
|
27
|
+
const u = a[c], d = this.own.get(u), h = d ? d.local : this.local_for(u, n);
|
|
28
|
+
f !== void 0 && f.includes(u) ? (this.own.set(u, { name: u, specifier: l, local: h, static: !0 }), o = !0) : this.own.set(u, { name: u, specifier: l, local: h });
|
|
20
29
|
}
|
|
21
30
|
}
|
|
22
|
-
this.size = this.own.size + (s === null ? 0 : s.size);
|
|
31
|
+
this.size = this.own.size + (s === null ? 0 : s.size), this.has_static = o;
|
|
23
32
|
}
|
|
24
33
|
/** the replacement for an element name, closest scope first */
|
|
25
34
|
get(e) {
|
|
@@ -32,33 +41,37 @@ class al {
|
|
|
32
41
|
}
|
|
33
42
|
local_for(e, n) {
|
|
34
43
|
const s = e.charAt(0).toUpperCase() + e.slice(1).replace(/[^\w$]/g, "_") + "_MDSVEX_" + n;
|
|
35
|
-
let o =
|
|
44
|
+
let o = ns.test(s) ? s : "_" + s;
|
|
36
45
|
for (let r = 1; this.locals.has(o); r++) o = s + r;
|
|
37
46
|
return this.locals.add(o), o;
|
|
38
47
|
}
|
|
39
48
|
}
|
|
40
|
-
function
|
|
49
|
+
function yl(t) {
|
|
50
|
+
return "import " + rs(t) + `;
|
|
51
|
+
`;
|
|
52
|
+
}
|
|
53
|
+
function rs(t) {
|
|
41
54
|
return /^[\w$@#:./~+%-]*$/.test(t) ? "'" + t + "'" : JSON.stringify(t);
|
|
42
55
|
}
|
|
43
|
-
function
|
|
56
|
+
function os(t, e) {
|
|
44
57
|
const n = /* @__PURE__ */ new Map();
|
|
45
58
|
e !== void 0 && n.set(e.specifier, []);
|
|
46
59
|
for (let o = 0; o < t.length; o++) {
|
|
47
60
|
const { name: r, specifier: l, local: a } = t[o];
|
|
48
61
|
let f = n.get(l);
|
|
49
62
|
f === void 0 && n.set(l, f = []), f.push(
|
|
50
|
-
(
|
|
63
|
+
(ns.test(r) ? r : JSON.stringify(r)) + " as " + a
|
|
51
64
|
);
|
|
52
65
|
}
|
|
53
66
|
let s = "";
|
|
54
67
|
for (const [o, r] of n) {
|
|
55
68
|
let l = r.length === 0 ? "" : "{ " + r.join(", ") + " }";
|
|
56
|
-
e !== void 0 && o === e.specifier && (l = l === "" ? e.local : e.local + ", " + l), s += "import " + l + " from " +
|
|
69
|
+
e !== void 0 && o === e.specifier && (l = l === "" ? e.local : e.local + ", " + l), s += "import " + l + " from " + rs(o) + `;
|
|
57
70
|
`;
|
|
58
71
|
}
|
|
59
72
|
return s;
|
|
60
73
|
}
|
|
61
|
-
const
|
|
74
|
+
const El = `
|
|
62
75
|
AElig AMP Aacute Abreve Acirc Acy Afr Agrave Alpha Amacr And Aogon Aopf
|
|
63
76
|
ApplyFunction Aring Ascr Assign Atilde Auml Backslash Barv Barwed Bcy Because
|
|
64
77
|
Bernoullis Beta Bfr Bopf Breve Bscr Bumpeq CHcy COPY Cacute Cap
|
|
@@ -274,23 +287,23 @@ xharr xi xlArr xlarr xmap xnis xodot xopf xoplus xotime xrArr xrarr xscr xsqcup
|
|
|
274
287
|
xuplus xutri xvee xwedge yacute yacy ycirc ycy yen yfr yicy yopf yscr yucy yuml
|
|
275
288
|
zacute zcaron zcy zdot zeetrf zeta zfr zhcy zigrarr zopf zscr zwj zwnj
|
|
276
289
|
`;
|
|
277
|
-
let
|
|
278
|
-
function
|
|
279
|
-
return
|
|
290
|
+
let Jn = null;
|
|
291
|
+
function Sl(t) {
|
|
292
|
+
return Jn === null && (Jn = new Set(El.trim().split(/\s+/))), Jn.has(t);
|
|
280
293
|
}
|
|
281
|
-
const
|
|
294
|
+
const W = String.prototype.indexOf, ss = /[&<>"]/, ql = /[&<>"]/g, Al = {
|
|
282
295
|
"&": "&",
|
|
283
296
|
"<": "<",
|
|
284
297
|
">": ">",
|
|
285
298
|
'"': """
|
|
286
299
|
};
|
|
287
|
-
function
|
|
288
|
-
return
|
|
300
|
+
function Ll(t) {
|
|
301
|
+
return Al[t];
|
|
289
302
|
}
|
|
290
|
-
function
|
|
291
|
-
return
|
|
303
|
+
function Ke(t) {
|
|
304
|
+
return ss.test(t) ? t.replace(ql, Ll) : t;
|
|
292
305
|
}
|
|
293
|
-
function
|
|
306
|
+
function ls(t, e, n) {
|
|
294
307
|
let s = e + 1;
|
|
295
308
|
if (s >= n) return -1;
|
|
296
309
|
let o = t.charCodeAt(s);
|
|
@@ -308,17 +321,17 @@ function Xo(t, e, n) {
|
|
|
308
321
|
const r = s;
|
|
309
322
|
for (; s < n && s - r < 32 && (o = t.charCodeAt(s), (o | 32) >= 97 && (o | 32) <= 122 || s > r && o >= 48 && o <= 57); )
|
|
310
323
|
s++;
|
|
311
|
-
return s - r < 2 || s >= n || t.charCodeAt(s) !== 59 ? -1 :
|
|
324
|
+
return s - r < 2 || s >= n || t.charCodeAt(s) !== 59 ? -1 : Sl(t.slice(r, s)) ? s + 1 : -1;
|
|
312
325
|
}
|
|
313
326
|
function D(t) {
|
|
314
|
-
if (!
|
|
327
|
+
if (!ss.test(t)) return t;
|
|
315
328
|
let e = "", n = 0;
|
|
316
329
|
const s = t.length;
|
|
317
330
|
for (let o = 0; o < s; o++) {
|
|
318
331
|
const r = t.charCodeAt(o);
|
|
319
332
|
let l;
|
|
320
333
|
if (r === 38) {
|
|
321
|
-
if (
|
|
334
|
+
if (ls(t, o, s) !== -1) continue;
|
|
322
335
|
l = "&";
|
|
323
336
|
} else if (r === 60) l = "<";
|
|
324
337
|
else if (r === 62) l = ">";
|
|
@@ -328,7 +341,7 @@ function D(t) {
|
|
|
328
341
|
}
|
|
329
342
|
return n === 0 ? t : e + t.slice(n);
|
|
330
343
|
}
|
|
331
|
-
const
|
|
344
|
+
const is = /[&<>"{}]/, Tl = /[&<>"{}]/g, Cl = {
|
|
332
345
|
"&": "&",
|
|
333
346
|
"<": "<",
|
|
334
347
|
">": ">",
|
|
@@ -336,29 +349,29 @@ const ts = /[&<>"{}]/, _l = /[&<>"{}]/g, bl = {
|
|
|
336
349
|
"{": "{",
|
|
337
350
|
"}": "}"
|
|
338
351
|
};
|
|
339
|
-
function
|
|
340
|
-
return
|
|
352
|
+
function yr(t) {
|
|
353
|
+
return Cl[t];
|
|
341
354
|
}
|
|
342
355
|
function st(t) {
|
|
343
|
-
return
|
|
356
|
+
return is.test(t) ? t.replace(Tl, yr) : t;
|
|
344
357
|
}
|
|
345
|
-
const
|
|
346
|
-
let
|
|
347
|
-
function
|
|
348
|
-
return
|
|
358
|
+
const as = /[{}]/, fs = /[{}]/g;
|
|
359
|
+
let sr = !1;
|
|
360
|
+
function Da() {
|
|
361
|
+
return sr ? (sr = !1, !0) : !1;
|
|
349
362
|
}
|
|
350
|
-
function
|
|
351
|
-
if (t === "math" && (
|
|
352
|
-
const e =
|
|
353
|
-
return
|
|
363
|
+
function Me(t) {
|
|
364
|
+
if (t === "math" && (sr = !0), !is.test(t)) return t;
|
|
365
|
+
const e = Ke(t);
|
|
366
|
+
return as.test(e) ? e.replace(fs, yr) : e;
|
|
354
367
|
}
|
|
355
|
-
const
|
|
356
|
-
function
|
|
357
|
-
return e ?
|
|
368
|
+
const Ol = /"/g;
|
|
369
|
+
function Jt(t, e) {
|
|
370
|
+
return e ? W.call(t, '"') === -1 ? t : t.replace(Ol, """) : Ke(t);
|
|
358
371
|
}
|
|
359
|
-
let
|
|
360
|
-
const
|
|
361
|
-
function
|
|
372
|
+
let je = "", Ft = 0, Te = 0, Nt = -1, at = -1, ft = -1, ct = -1, Et = -1, St = -1, zt = !0, te = null;
|
|
373
|
+
const Dl = 1024;
|
|
374
|
+
function Nl(t) {
|
|
362
375
|
const e = new Uint8Array((t.size >>> 3) + 1), n = t._strings;
|
|
363
376
|
for (const s in n) {
|
|
364
377
|
const o = +s;
|
|
@@ -366,128 +379,128 @@ function vl(t) {
|
|
|
366
379
|
}
|
|
367
380
|
return e;
|
|
368
381
|
}
|
|
369
|
-
function
|
|
382
|
+
function cn(t) {
|
|
370
383
|
const e = t._strings.length;
|
|
371
|
-
e === 0 ? zt = !1 : e >
|
|
384
|
+
e === 0 ? zt = !1 : e > Dl && (te = Nl(t));
|
|
372
385
|
}
|
|
373
|
-
function
|
|
374
|
-
|
|
386
|
+
function Ce(t) {
|
|
387
|
+
je = t, Ft = t.length, Te = 0, Nt = -1, at = -1, ft = -1, ct = -1, Et = -1, St = -1;
|
|
375
388
|
}
|
|
376
389
|
function M(t, e) {
|
|
377
|
-
const n =
|
|
390
|
+
const n = je.indexOf(t, e);
|
|
378
391
|
return n === -1 ? Ft : n;
|
|
379
392
|
}
|
|
380
|
-
function
|
|
381
|
-
return
|
|
393
|
+
function Rl(t) {
|
|
394
|
+
return _t(t, t.index, t.value_start, t.value_end, !1);
|
|
382
395
|
}
|
|
383
|
-
function
|
|
384
|
-
return B !== null ?
|
|
396
|
+
function yn(t) {
|
|
397
|
+
return B !== null ? Fs(t) : Rt(t);
|
|
385
398
|
}
|
|
386
|
-
function
|
|
399
|
+
function En(t) {
|
|
387
400
|
return t.words[
|
|
388
401
|
t.index * 12 + 8
|
|
389
402
|
/* first_child */
|
|
390
403
|
] !== 4294967295;
|
|
391
404
|
}
|
|
392
405
|
function Rt(t) {
|
|
393
|
-
return
|
|
406
|
+
return En(t) ? pr(t.buffer, t.index, t.source) : t.text();
|
|
394
407
|
}
|
|
395
|
-
function
|
|
396
|
-
if (B !== null) return st(
|
|
397
|
-
if (
|
|
408
|
+
function ze(t) {
|
|
409
|
+
if (B !== null) return st(Fs(t));
|
|
410
|
+
if (En(t)) return st(pr(t.buffer, t.index, t.source));
|
|
398
411
|
const e = t.prebuilt;
|
|
399
|
-
return e === void 0 ?
|
|
412
|
+
return e === void 0 ? Er(t) : st(e);
|
|
400
413
|
}
|
|
401
|
-
function
|
|
402
|
-
return
|
|
414
|
+
function Er(t) {
|
|
415
|
+
return _t(t, t.index, t.value_start, t.value_end, !0);
|
|
403
416
|
}
|
|
404
|
-
function
|
|
405
|
-
return
|
|
417
|
+
function Fe(t) {
|
|
418
|
+
return En(t) ? st(pr(t.buffer, t.index, t.source)) : Er(t);
|
|
406
419
|
}
|
|
407
|
-
function
|
|
408
|
-
return Et < e && (Et = M("{", e)), St < e && (St = M("}", e)), Et < s && (s = Et), St < s && (s = St), s >= n ? t.slice(e, n) :
|
|
420
|
+
function Pl(t, e, n, s) {
|
|
421
|
+
return Et < e && (Et = M("{", e)), St < e && (St = M("}", e)), Et < s && (s = Et), St < s && (s = St), s >= n ? t.slice(e, n) : Bl(t, e, n, s);
|
|
409
422
|
}
|
|
410
|
-
function
|
|
423
|
+
function Bl(t, e, n, s) {
|
|
411
424
|
let o = "", r = e;
|
|
412
425
|
for (; s < n; ) {
|
|
413
426
|
const l = t.charCodeAt(s);
|
|
414
|
-
o += t.slice(r, s), l === 38 ? (o += "&", Nt = M("&", s + 1)) : l === 60 ? (o += "<",
|
|
427
|
+
o += t.slice(r, s), l === 38 ? (o += "&", Nt = M("&", s + 1)) : l === 60 ? (o += "<", at = M("<", s + 1)) : l === 62 ? (o += ">", ft = M(">", s + 1)) : l === 34 ? (o += """, ct = M('"', s + 1)) : l === 123 ? (o += "{", Et = M("{", s + 1)) : (o += "}", St = M("}", s + 1)), r = s + 1, s = Nt, at < s && (s = at), ft < s && (s = ft), ct < s && (s = ct), Et < s && (s = Et), St < s && (s = St);
|
|
415
428
|
}
|
|
416
|
-
return
|
|
429
|
+
return Te = n, o + t.slice(r, n);
|
|
417
430
|
}
|
|
418
|
-
function
|
|
431
|
+
function _t(t, e, n, s, o) {
|
|
419
432
|
if (zt) {
|
|
420
|
-
const f =
|
|
433
|
+
const f = te;
|
|
421
434
|
if (f === null || (f[e >>> 3] & 1 << (e & 7)) !== 0) {
|
|
422
435
|
const c = t.prebuilt_at(e);
|
|
423
|
-
if (c !== void 0) return
|
|
436
|
+
if (c !== void 0) return Ul(t, e, c, o);
|
|
424
437
|
}
|
|
425
438
|
}
|
|
426
439
|
if (n === 4294967295 || s === 4294967295 || s <= n) return "";
|
|
427
440
|
const r = t.source;
|
|
428
|
-
if (r !==
|
|
429
|
-
n <
|
|
441
|
+
if (r !== je && Ce(r), s > Ft) return ua(t, e, n, s, o);
|
|
442
|
+
n < Te && Ce(r), Nt < n && (Nt = M("&", n)), at < n && (at = M("<", n)), ft < n && (ft = M(">", n)), ct < n && (ct = M('"', n)), Te = n;
|
|
430
443
|
let l = Nt;
|
|
431
|
-
if (
|
|
444
|
+
if (at < l && (l = at), ft < l && (l = ft), ct < l && (l = ct), o) return Pl(r, n, s, l);
|
|
432
445
|
const a = r.charCodeAt(n);
|
|
433
|
-
return (a === 123 || a === 125) &&
|
|
446
|
+
return (a === 123 || a === 125) && me(r, n) ? Il(t, e, n, s, a) : l >= s ? r.slice(n, s) : Hl(r, n, s, l);
|
|
434
447
|
}
|
|
435
|
-
function
|
|
448
|
+
function Ul(t, e, n, s) {
|
|
436
449
|
return s || (t.words[
|
|
437
450
|
e * 12 + 10
|
|
438
451
|
/* pending */
|
|
439
452
|
] & 2) !== 0 ? st(n) : D(n);
|
|
440
453
|
}
|
|
441
|
-
function
|
|
442
|
-
return (o === 123 ? "{" : "}") +
|
|
454
|
+
function Il(t, e, n, s, o) {
|
|
455
|
+
return (o === 123 ? "{" : "}") + _t(t, e, n + 1, s, !1);
|
|
443
456
|
}
|
|
444
|
-
function
|
|
457
|
+
function me(t, e) {
|
|
445
458
|
let n = e;
|
|
446
459
|
for (; n > 0 && t.charCodeAt(n - 1) === 92; ) n--;
|
|
447
460
|
return (e - n & 1) === 1;
|
|
448
461
|
}
|
|
449
|
-
function
|
|
450
|
-
return s === e && s > 0 && t.charCodeAt(s - 1) === 92 ? !1 :
|
|
462
|
+
function cs(t, e, n, s) {
|
|
463
|
+
return s === e && s > 0 && t.charCodeAt(s - 1) === 92 ? !1 : ls(t, s, n) !== -1;
|
|
451
464
|
}
|
|
452
|
-
function
|
|
465
|
+
function Hl(t, e, n, s) {
|
|
453
466
|
let o = "", r = e;
|
|
454
467
|
for (; s < n; ) {
|
|
455
468
|
const l = t.charCodeAt(s);
|
|
456
|
-
o += t.slice(r, s), r = s + 1, l === 38 ? (Nt = M("&", s + 1),
|
|
469
|
+
o += t.slice(r, s), r = s + 1, l === 38 ? (Nt = M("&", s + 1), cs(t, e, n, s) ? r = s : o += "&") : l === 60 ? (o += "<", at = M("<", s + 1)) : l === 62 ? (o += ">", ft = M(">", s + 1)) : (o += """, ct = M('"', s + 1)), s = Nt, at < s && (s = at), ft < s && (s = ft), ct < s && (s = ct);
|
|
457
470
|
}
|
|
458
|
-
return
|
|
471
|
+
return Te = n, o + t.slice(r, n);
|
|
459
472
|
}
|
|
460
|
-
const
|
|
461
|
-
function
|
|
473
|
+
const Na = 0, Ra = 1, Pa = 2, Ba = 3, Ua = 5, Ia = 6, Ha = 7, Va = 8, Ga = 9, Ka = 10, Ma = 11, ja = 12, za = 13, Fa = 14, $a = 15, ka = 16, Wa = 17, Ja = 18, Qa = 19, Ya = 20, Za = 21, Xa = 22, tf = 23, ef = 24, nf = 25, rf = 26, of = 27, sf = 28, lf = 29, af = 4, ff = 30, cf = 31, uf = 32, df = 33, hf = 34, gf = 35, _f = 4294967295;
|
|
474
|
+
function Vl(t, e, n, s, o, r, l) {
|
|
462
475
|
if (n > e && s !== 4294967295) {
|
|
463
476
|
let a = t.rec;
|
|
464
477
|
const f = t.n;
|
|
465
478
|
f + 6 > a.length && (a = t.grow()), a[f] = e, a[f + 1] = n - e, a[f + 2] = s, a[f + 3] = o > s ? o - s : 0, a[f + 4] = r, a[f + 5] = l, t.n = f + 6;
|
|
466
479
|
}
|
|
467
480
|
}
|
|
468
|
-
function
|
|
481
|
+
function S(t, e, n, s, o, r, l) {
|
|
469
482
|
if (s !== 4294967295 && o !== 4294967295) {
|
|
470
483
|
let a = t.rec;
|
|
471
484
|
const f = t.n;
|
|
472
485
|
f + 6 > a.length && (a = t.grow()), a[f] = e, a[f + 1] = n - e, a[f + 2] = s, a[f + 3] = o > s ? o - s : 0, a[f + 4] = r, a[f + 5] = l, t.n = f + 6;
|
|
473
486
|
}
|
|
474
487
|
}
|
|
475
|
-
function
|
|
488
|
+
function L(t, e, n, s, o, r, l) {
|
|
476
489
|
const a = r.start, f = r.value_start, c = r.value_end, u = c > f, d = r.end, h = u ? c : d;
|
|
477
490
|
if (a === 4294967295 || h === 4294967295 || !t.syntax) {
|
|
478
|
-
|
|
491
|
+
Gl(t, e, n, s, o, r, l);
|
|
479
492
|
return;
|
|
480
493
|
}
|
|
481
|
-
const v = r.index,
|
|
494
|
+
const v = r.index, E = u ? f : a;
|
|
482
495
|
let g = t.rec;
|
|
483
496
|
const p = t.n;
|
|
484
|
-
p + 18 > g.length && (g = t.grow()), g[p] = e, g[p + 1] = o - e, g[p + 2] = a, g[p + 3] = d > a ? d - a : 0, g[p + 4] = v, g[p + 5] = l << 2, g[p + 6] = e, g[p + 7] = n - e, g[p + 8] = a, g[p + 9] =
|
|
497
|
+
p + 18 > g.length && (g = t.grow()), g[p] = e, g[p + 1] = o - e, g[p + 2] = a, g[p + 3] = d > a ? d - a : 0, g[p + 4] = v, g[p + 5] = l << 2, g[p + 6] = e, g[p + 7] = n - e, g[p + 8] = a, g[p + 9] = E > a ? E - a : 0, g[p + 10] = v, g[p + 11] = 14, g[p + 12] = s, g[p + 13] = o - s, g[p + 14] = h, g[p + 15] = d > h ? d - h : 0, g[p + 16] = v, g[p + 17] = 15, t.n = p + 18;
|
|
485
498
|
}
|
|
486
|
-
function
|
|
499
|
+
function Gl(t, e, n, s, o, r, l) {
|
|
487
500
|
const a = r.index, f = r.start, c = r.end;
|
|
488
|
-
if (c === 4294967295 || (
|
|
501
|
+
if (c === 4294967295 || (S(t, e, o, f, c, a, l << 2), !t.syntax)) return;
|
|
489
502
|
const u = r.value_start, d = r.value_end, h = d > u;
|
|
490
|
-
|
|
503
|
+
S(
|
|
491
504
|
t,
|
|
492
505
|
e,
|
|
493
506
|
n,
|
|
@@ -496,7 +509,7 @@ function Ll(t, e, n, s, o, r, l) {
|
|
|
496
509
|
a,
|
|
497
510
|
14
|
|
498
511
|
/* STRUCTURE_OPEN */
|
|
499
|
-
),
|
|
512
|
+
), S(
|
|
500
513
|
t,
|
|
501
514
|
s,
|
|
502
515
|
o,
|
|
@@ -507,7 +520,7 @@ function Ll(t, e, n, s, o, r, l) {
|
|
|
507
520
|
/* STRUCTURE_CLOSE */
|
|
508
521
|
);
|
|
509
522
|
}
|
|
510
|
-
const
|
|
523
|
+
const Kl = ["", "<h1", "<h2", "<h3", "<h4", "<h5", "<h6"], Ml = ["", "<h1>", "<h2>", "<h3>", "<h4>", "<h5>", "<h6>"], jl = ["", "</h1>", "</h2>", "</h3>", "</h4>", "</h5>", "</h6>"], Sr = /* @__PURE__ */ new Set([
|
|
511
524
|
// list semantics
|
|
512
525
|
"ordered",
|
|
513
526
|
"tight",
|
|
@@ -533,18 +546,18 @@ const Tl = ["", "<h1", "<h2", "<h3", "<h4", "<h5", "<h6"], Cl = ["", "<h1>", "<h
|
|
|
533
546
|
function O(t) {
|
|
534
547
|
return t == null ? "" : typeof t == "string" ? t : `${t}`;
|
|
535
548
|
}
|
|
536
|
-
const
|
|
537
|
-
function
|
|
538
|
-
return typeof e == "object" && e !== null && e.value === t && !
|
|
549
|
+
const us = /^[A-Za-z_$]/;
|
|
550
|
+
function zl(t, e) {
|
|
551
|
+
return typeof e == "object" && e !== null && e.value === t && !us.test(t);
|
|
539
552
|
}
|
|
540
|
-
function
|
|
541
|
-
return e === t && !
|
|
553
|
+
function we(t, e) {
|
|
554
|
+
return e === t && !us.test(t) ? " {" + t + "}" : " " + t + "={" + e + "}";
|
|
542
555
|
}
|
|
543
|
-
function
|
|
556
|
+
function $e(t, e) {
|
|
544
557
|
let n = "";
|
|
545
558
|
for (let s = 0; s < t.length; s++) {
|
|
546
559
|
const o = t[s][0], r = t[s][1];
|
|
547
|
-
r === !0 ? n += " " + o : typeof r == "object" && r !== null ? n +=
|
|
560
|
+
r === !0 ? n += " " + o : typeof r == "object" && r !== null ? n += we(o, O(r.value)) : n += " " + o + '="' + Jt(O(r), e) + '"';
|
|
548
561
|
}
|
|
549
562
|
return n;
|
|
550
563
|
}
|
|
@@ -553,9 +566,9 @@ function T(t, e) {
|
|
|
553
566
|
if (!n) return "";
|
|
554
567
|
let s = "";
|
|
555
568
|
for (const o in n) {
|
|
556
|
-
if (
|
|
569
|
+
if (Sr.has(o) || e !== void 0 && e.has(o)) continue;
|
|
557
570
|
const r = n[o];
|
|
558
|
-
r === !0 ? s += " " + o : r !== !1 && r != null && (typeof r == "object" && r.type === "expression" ? s += " " + o + "={" + O(r.value) + "}" : s += " " + o + '="' +
|
|
571
|
+
r === !0 ? s += " " + o : r !== !1 && r != null && (typeof r == "object" && r.type === "expression" ? s += " " + o + "={" + O(r.value) + "}" : s += " " + o + '="' + Ke(String(r)) + '"');
|
|
559
572
|
}
|
|
560
573
|
return s;
|
|
561
574
|
}
|
|
@@ -564,24 +577,26 @@ function G(t, e, n, s) {
|
|
|
564
577
|
const o = T(t);
|
|
565
578
|
o.length !== 0 ? i = i + e + o + s : i += n;
|
|
566
579
|
}
|
|
567
|
-
let
|
|
568
|
-
const Le =
|
|
569
|
-
let
|
|
570
|
-
const
|
|
571
|
-
let
|
|
580
|
+
let bt = !1, ke = !1, z = null, Oe = null, nt = !1, De = null, gn = !1, ee = "";
|
|
581
|
+
const Le = /* @__PURE__ */ new Set(), Ne = [];
|
|
582
|
+
let I = 0, We = !1;
|
|
583
|
+
const Re = [], qr = Object.freeze([]);
|
|
584
|
+
let Ae = qr, lt = "", dt = "";
|
|
585
|
+
const Pt = [], _n = /* @__PURE__ */ new Set();
|
|
586
|
+
let ht = -1, It = -1;
|
|
572
587
|
const rt = [];
|
|
573
|
-
let mt = "", wt = -1,
|
|
588
|
+
let mt = "", wt = -1, Ht = `<script>
|
|
574
589
|
`;
|
|
575
|
-
function
|
|
576
|
-
ht = -1,
|
|
590
|
+
function ds() {
|
|
591
|
+
ht = -1, It = -1, Ht = `<script>
|
|
577
592
|
`, rt.length !== 0 && (rt.length = 0);
|
|
578
593
|
}
|
|
579
|
-
function
|
|
580
|
-
const s =
|
|
581
|
-
rt.length === 0 &&
|
|
594
|
+
function Qn(t, e, n) {
|
|
595
|
+
const s = hs(e);
|
|
596
|
+
rt.length === 0 && lt === "" && !n || (n && (lt += In), gs(t, e, s), ht === -1 && It === -1 && (dt = Ht + lt + "<\/script>"));
|
|
582
597
|
}
|
|
583
|
-
function
|
|
584
|
-
|
|
598
|
+
function hs(t) {
|
|
599
|
+
ds();
|
|
585
600
|
const e = t._n;
|
|
586
601
|
let n = e[
|
|
587
602
|
8
|
|
@@ -603,7 +618,7 @@ function ls(t) {
|
|
|
603
618
|
}
|
|
604
619
|
return n;
|
|
605
620
|
}
|
|
606
|
-
function
|
|
621
|
+
function gs(t, e, n) {
|
|
607
622
|
const s = e._n;
|
|
608
623
|
let o = !1;
|
|
609
624
|
for (; n !== 4294967295; ) {
|
|
@@ -619,7 +634,7 @@ function is(t, e, n) {
|
|
|
619
634
|
], a = l === 0 ? void 0 : e._meta[l - 1];
|
|
620
635
|
if (a !== void 0 && a.tag === "script" && !a.self_closing) {
|
|
621
636
|
const f = a.attributes;
|
|
622
|
-
if (!
|
|
637
|
+
if (!kl(f)) {
|
|
623
638
|
ht = n;
|
|
624
639
|
return;
|
|
625
640
|
}
|
|
@@ -631,10 +646,10 @@ function is(t, e, n) {
|
|
|
631
646
|
/* next */
|
|
632
647
|
];
|
|
633
648
|
}
|
|
634
|
-
rt.length !== 0 && (
|
|
649
|
+
rt.length !== 0 && (It = rt[0]);
|
|
635
650
|
for (let r = 0; !o && r < rt.length; r++) {
|
|
636
651
|
const l = rt[r] * 12;
|
|
637
|
-
o =
|
|
652
|
+
o = Fl.test(t.slice(s[
|
|
638
653
|
l + 3
|
|
639
654
|
/* value_start */
|
|
640
655
|
], s[
|
|
@@ -642,13 +657,13 @@ function is(t, e, n) {
|
|
|
642
657
|
/* value_end */
|
|
643
658
|
]));
|
|
644
659
|
}
|
|
645
|
-
o && (
|
|
660
|
+
o && (Ht = `<script lang="ts">
|
|
646
661
|
`);
|
|
647
662
|
}
|
|
648
|
-
const
|
|
649
|
-
function
|
|
650
|
-
|
|
651
|
-
let n =
|
|
663
|
+
const Fl = /^import\s+type(?:\s*[{*]|\s+(?!from\b)[\w$])|[{,]\s*type\s+(?!as\b)[\w$]/;
|
|
664
|
+
function $l(t, e) {
|
|
665
|
+
gs(t, e, hs(e));
|
|
666
|
+
let n = Go, s = !0;
|
|
652
667
|
if (ht !== -1) {
|
|
653
668
|
const o = ht * 12, r = t.words, l = t.slice(r[
|
|
654
669
|
o + 3
|
|
@@ -657,19 +672,19 @@ function Rl(t, e) {
|
|
|
657
672
|
o + 4
|
|
658
673
|
/* value_end */
|
|
659
674
|
]);
|
|
660
|
-
if (l.indexOf("$props") !== -1 &&
|
|
675
|
+
if (l.indexOf("$props") !== -1 && Zi.test(l)) {
|
|
661
676
|
s = !1;
|
|
662
|
-
const a =
|
|
677
|
+
const a = Xi.exec(l);
|
|
663
678
|
n = a === null ? "" : a[1];
|
|
664
679
|
}
|
|
665
680
|
}
|
|
666
|
-
|
|
667
|
-
specifier:
|
|
668
|
-
local:
|
|
669
|
-
}) +
|
|
670
|
-
`),
|
|
681
|
+
lt = os(Pt, {
|
|
682
|
+
specifier: ho,
|
|
683
|
+
local: ar
|
|
684
|
+
}) + ee + In, s && (lt += "let " + Go + ` = $props();
|
|
685
|
+
`), _o = "<" + ar + (go ? " {...metadata}" : "") + (vn === "" ? "" : " {" + vn + "}") + (n === "" ? "" : " {..." + n + "}") + ">", ht === -1 && It === -1 && (dt = Ht + lt + "<\/script>");
|
|
671
686
|
}
|
|
672
|
-
function
|
|
687
|
+
function un(t, e) {
|
|
673
688
|
mt = e;
|
|
674
689
|
const n = t._n;
|
|
675
690
|
let s = n[
|
|
@@ -698,8 +713,8 @@ function on(t, e) {
|
|
|
698
713
|
];
|
|
699
714
|
}
|
|
700
715
|
}
|
|
701
|
-
function
|
|
702
|
-
if (
|
|
716
|
+
function xo(t, e) {
|
|
717
|
+
if (un(t, e), wt !== -1) return;
|
|
703
718
|
const n = t._n, s = n[
|
|
704
719
|
8
|
|
705
720
|
/* first_child */
|
|
@@ -707,34 +722,34 @@ function _o(t, e) {
|
|
|
707
722
|
(s === 4294967295 || (n[
|
|
708
723
|
s * 12
|
|
709
724
|
/* stride */
|
|
710
|
-
] & 255) !== 33) && (dt +=
|
|
725
|
+
] & 255) !== 33) && (dt += Pe());
|
|
711
726
|
}
|
|
712
|
-
function
|
|
727
|
+
function on() {
|
|
713
728
|
mt = "", wt = -1, dt = "";
|
|
714
729
|
}
|
|
715
|
-
function
|
|
730
|
+
function Pe() {
|
|
716
731
|
return wt !== -1 ? "" : `<script module>
|
|
717
732
|
` + mt + `
|
|
718
733
|
<\/script>`;
|
|
719
734
|
}
|
|
720
|
-
function
|
|
735
|
+
function kl(t) {
|
|
721
736
|
return t !== void 0 && (t.src !== void 0 || t.module !== void 0 || t.context === "module");
|
|
722
737
|
}
|
|
723
|
-
function
|
|
738
|
+
function Je(t, e) {
|
|
724
739
|
if (e !== "script" || t.parent_kind !== 0) return !1;
|
|
725
740
|
const n = t.meta().attributes;
|
|
726
741
|
return n !== void 0 && n.src !== void 0 && t.text().trim() === "";
|
|
727
742
|
}
|
|
728
|
-
function
|
|
743
|
+
function Sn(t) {
|
|
729
744
|
let e = '<svelte:element this={"script"}';
|
|
730
745
|
const n = t.meta().attributes, s = !t.synthetic;
|
|
731
746
|
for (const o in n) {
|
|
732
747
|
const r = n[o];
|
|
733
|
-
r === !0 ? e += " " + o : typeof r == "object" && r.type === "expression" ? e +=
|
|
748
|
+
r === !0 ? e += " " + o : typeof r == "object" && r.type === "expression" ? e += we(o, O(r.value)) : e += " " + o + '="' + Jt(r, s) + '"';
|
|
734
749
|
}
|
|
735
750
|
return e + "></svelte:element>";
|
|
736
751
|
}
|
|
737
|
-
function
|
|
752
|
+
function le(t, e, n) {
|
|
738
753
|
const s = t.words;
|
|
739
754
|
for (let o = 0; o < rt.length; o++) {
|
|
740
755
|
const r = rt[o], l = r * 12, a = s[
|
|
@@ -746,7 +761,7 @@ function ne(t, e, n) {
|
|
|
746
761
|
], c = t.prebuilt_at(r) ?? t.slice(a, f);
|
|
747
762
|
if (e !== void 0) {
|
|
748
763
|
const u = i.length;
|
|
749
|
-
n ?
|
|
764
|
+
n ? F(e, u, u + c.length, a, f) : a !== 4294967295 && f > a && S(
|
|
750
765
|
e,
|
|
751
766
|
u,
|
|
752
767
|
u + c.length,
|
|
@@ -760,9 +775,9 @@ function ne(t, e, n) {
|
|
|
760
775
|
i = i + c + `
|
|
761
776
|
`;
|
|
762
777
|
}
|
|
763
|
-
i +=
|
|
778
|
+
i += lt;
|
|
764
779
|
}
|
|
765
|
-
function
|
|
780
|
+
function _s(t) {
|
|
766
781
|
const e = t.words;
|
|
767
782
|
let n = "";
|
|
768
783
|
for (let s = 0; s < rt.length; s++) {
|
|
@@ -776,11 +791,11 @@ function as(t) {
|
|
|
776
791
|
])) + `
|
|
777
792
|
`;
|
|
778
793
|
}
|
|
779
|
-
return n +
|
|
794
|
+
return n + lt;
|
|
780
795
|
}
|
|
781
|
-
const
|
|
782
|
-
let
|
|
783
|
-
function
|
|
796
|
+
const Qe = /* @__PURE__ */ new Set(["href", "title"]), Ye = /* @__PURE__ */ new Set(["title"]), bs = '<input type="checkbox" disabled /> ', ms = '<input type="checkbox" checked disabled /> ';
|
|
797
|
+
let $t = -1, qn = "";
|
|
798
|
+
function An(t) {
|
|
784
799
|
const e = t.words, n = t.index, s = e[
|
|
785
800
|
n * 12 + 8
|
|
786
801
|
/* first_child */
|
|
@@ -807,8 +822,8 @@ function pn(t) {
|
|
|
807
822
|
] & 255) === 1) return 4294967295;
|
|
808
823
|
return s;
|
|
809
824
|
}
|
|
810
|
-
function
|
|
811
|
-
const s = n ?
|
|
825
|
+
function Wl(t, e, n) {
|
|
826
|
+
const s = n ? ms : bs, o = An(t);
|
|
812
827
|
if (o === 4294967295) {
|
|
813
828
|
i += s, R(t, e);
|
|
814
829
|
return;
|
|
@@ -820,7 +835,7 @@ function Bl(t, e, n) {
|
|
|
820
835
|
const f = i.length;
|
|
821
836
|
i += s, R(t, e);
|
|
822
837
|
const c = i.length;
|
|
823
|
-
i += "</p>", e &&
|
|
838
|
+
i += "</p>", e && L(
|
|
824
839
|
e,
|
|
825
840
|
a,
|
|
826
841
|
f,
|
|
@@ -842,7 +857,7 @@ function Bl(t, e, n) {
|
|
|
842
857
|
u * 12 + 6
|
|
843
858
|
/* next */
|
|
844
859
|
];
|
|
845
|
-
t.move_to(u),
|
|
860
|
+
t.move_to(u), Ln(t, e), u = d;
|
|
846
861
|
}
|
|
847
862
|
t.move_to(l);
|
|
848
863
|
}
|
|
@@ -866,10 +881,10 @@ function R(t, e) {
|
|
|
866
881
|
], c = n[
|
|
867
882
|
r + 4
|
|
868
883
|
/* value_end */
|
|
869
|
-
], u =
|
|
884
|
+
], u = _t(t, s, f, c, !1);
|
|
870
885
|
if (e && f !== 4294967295 && c > f) {
|
|
871
886
|
const d = i.length;
|
|
872
|
-
|
|
887
|
+
S(
|
|
873
888
|
e,
|
|
874
889
|
d,
|
|
875
890
|
d + u.length,
|
|
@@ -881,7 +896,7 @@ function R(t, e) {
|
|
|
881
896
|
);
|
|
882
897
|
}
|
|
883
898
|
i += u;
|
|
884
|
-
} else l !== 6 && (t.move_to(s),
|
|
899
|
+
} else l !== 6 && (t.move_to(s), Ln(t, e));
|
|
885
900
|
const a = n[
|
|
886
901
|
r + 6
|
|
887
902
|
/* next */
|
|
@@ -894,21 +909,21 @@ function R(t, e) {
|
|
|
894
909
|
}
|
|
895
910
|
t.move_to(o !== 4294967295 ? o : s);
|
|
896
911
|
}
|
|
897
|
-
function
|
|
912
|
+
function ve(t) {
|
|
898
913
|
if (!t.goto_first_child()) return "";
|
|
899
914
|
let e = "";
|
|
900
915
|
do
|
|
901
916
|
if (t.kind === 1) {
|
|
902
917
|
const n = t.text(), s = t.value_start, o = n.charCodeAt(0);
|
|
903
|
-
(o === 123 || o === 125) && s !== 4294967295 && t.source.charCodeAt(s) === o &&
|
|
918
|
+
(o === 123 || o === 125) && s !== 4294967295 && t.source.charCodeAt(s) === o && me(t.source, s) ? e += (o === 123 ? "{" : "}") + n.slice(1) : e += n;
|
|
904
919
|
} else
|
|
905
|
-
e +=
|
|
920
|
+
e += ve(t);
|
|
906
921
|
while (t.goto_next_sibling());
|
|
907
922
|
return t.goto_parent(), e;
|
|
908
923
|
}
|
|
909
924
|
function xt(t, e, n, s) {
|
|
910
925
|
const o = i.length;
|
|
911
|
-
|
|
926
|
+
S(
|
|
912
927
|
t,
|
|
913
928
|
o,
|
|
914
929
|
o + n.length,
|
|
@@ -918,23 +933,23 @@ function xt(t, e, n, s) {
|
|
|
918
933
|
s
|
|
919
934
|
);
|
|
920
935
|
}
|
|
921
|
-
function
|
|
936
|
+
function ws(t, e, n, s, o) {
|
|
922
937
|
const r = t.prebuilt;
|
|
923
|
-
if (r === void 0 || B !== null && B.has(t.index) ||
|
|
938
|
+
if (r === void 0 || B !== null && B.has(t.index) || En(t))
|
|
924
939
|
return !1;
|
|
925
940
|
const l = t.source, a = t.value_end;
|
|
926
941
|
let f = t.value_start, c = 0, u = 0;
|
|
927
942
|
for (; ; ) {
|
|
928
|
-
let d =
|
|
929
|
-
`, c), h =
|
|
930
|
-
`, u), v =
|
|
943
|
+
let d = W.call(s, `
|
|
944
|
+
`, c), h = W.call(r, `
|
|
945
|
+
`, u), v = W.call(l, `
|
|
931
946
|
`, f);
|
|
932
947
|
(v === -1 || v > a) && (v = a);
|
|
933
|
-
const
|
|
934
|
-
|
|
935
|
-
const g =
|
|
948
|
+
const E = d === -1;
|
|
949
|
+
E ? (d = s.length, h = r.length) : (d++, h++);
|
|
950
|
+
const g = E ? v : v + 1;
|
|
936
951
|
let p = g - (h - u);
|
|
937
|
-
if (p < f && (p = f), d > c && (o ?
|
|
952
|
+
if (p < f && (p = f), d > c && (o ? F(e, n + c, n + d, p, g) : S(
|
|
938
953
|
e,
|
|
939
954
|
n + c,
|
|
940
955
|
n + d,
|
|
@@ -943,14 +958,14 @@ function us(t, e, n, s, o) {
|
|
|
943
958
|
t.index,
|
|
944
959
|
5
|
|
945
960
|
/* CODE_CONTENT */
|
|
946
|
-
)),
|
|
961
|
+
)), E) return !0;
|
|
947
962
|
c = d, u = h, f = v + 1;
|
|
948
963
|
}
|
|
949
964
|
}
|
|
950
|
-
function
|
|
965
|
+
function Ar(t, e, n, s, o) {
|
|
951
966
|
n !== 0 && (i += b[n]);
|
|
952
967
|
const r = i.length;
|
|
953
|
-
return
|
|
968
|
+
return ws(t, e, r, s, o) || (o ? F(e, r, r + s.length, t.value_start, t.value_end) : S(
|
|
954
969
|
e,
|
|
955
970
|
r,
|
|
956
971
|
r + s.length,
|
|
@@ -961,7 +976,7 @@ function pr(t, e, n, s, o) {
|
|
|
961
976
|
/* CODE_CONTENT */
|
|
962
977
|
)), i += s, 0;
|
|
963
978
|
}
|
|
964
|
-
function
|
|
979
|
+
function Ln(t, e) {
|
|
965
980
|
var n, s;
|
|
966
981
|
switch (t.kind) {
|
|
967
982
|
case 0:
|
|
@@ -969,11 +984,11 @@ function xn(t, e) {
|
|
|
969
984
|
break;
|
|
970
985
|
case 3: {
|
|
971
986
|
const o = i.length, r = t.extra, l = r >= 1 && r <= 6 ? r : 0;
|
|
972
|
-
G(t,
|
|
987
|
+
G(t, Kl[l], Ml[l], ">");
|
|
973
988
|
const a = i.length;
|
|
974
989
|
R(t, e);
|
|
975
990
|
const f = i.length;
|
|
976
|
-
i +=
|
|
991
|
+
i += jl[l], e && L(
|
|
977
992
|
e,
|
|
978
993
|
o,
|
|
979
994
|
a,
|
|
@@ -994,7 +1009,7 @@ function xn(t, e) {
|
|
|
994
1009
|
const r = i.length;
|
|
995
1010
|
R(t, e);
|
|
996
1011
|
const l = i.length;
|
|
997
|
-
i += "</p>", e &&
|
|
1012
|
+
i += "</p>", e && L(
|
|
998
1013
|
e,
|
|
999
1014
|
o,
|
|
1000
1015
|
r,
|
|
@@ -1012,7 +1027,7 @@ function xn(t, e) {
|
|
|
1012
1027
|
const r = i.length;
|
|
1013
1028
|
R(t, e);
|
|
1014
1029
|
const l = i.length;
|
|
1015
|
-
i += "</em>", e &&
|
|
1030
|
+
i += "</em>", e && L(
|
|
1016
1031
|
e,
|
|
1017
1032
|
o,
|
|
1018
1033
|
r,
|
|
@@ -1030,7 +1045,7 @@ function xn(t, e) {
|
|
|
1030
1045
|
const r = i.length;
|
|
1031
1046
|
R(t, e);
|
|
1032
1047
|
const l = i.length;
|
|
1033
|
-
i += "</strong>", e &&
|
|
1048
|
+
i += "</strong>", e && L(
|
|
1034
1049
|
e,
|
|
1035
1050
|
o,
|
|
1036
1051
|
r,
|
|
@@ -1044,17 +1059,17 @@ function xn(t, e) {
|
|
|
1044
1059
|
}
|
|
1045
1060
|
case 8: {
|
|
1046
1061
|
if (C !== null) {
|
|
1047
|
-
const f =
|
|
1062
|
+
const f = en(t);
|
|
1048
1063
|
if (f !== null) {
|
|
1049
|
-
|
|
1064
|
+
fr(t, e, Mn(t, f), f.body, jn(f), null);
|
|
1050
1065
|
break;
|
|
1051
1066
|
}
|
|
1052
1067
|
}
|
|
1053
1068
|
const o = i.length;
|
|
1054
1069
|
G(t, "<code", "<code>", ">");
|
|
1055
1070
|
const r = i.length;
|
|
1056
|
-
let l =
|
|
1057
|
-
|
|
1071
|
+
let l = Fe(t);
|
|
1072
|
+
W.call(l, `
|
|
1058
1073
|
`) !== -1 && (l = l.replace(/\n/g, " ")), e && xt(
|
|
1059
1074
|
e,
|
|
1060
1075
|
t,
|
|
@@ -1063,7 +1078,7 @@ function xn(t, e) {
|
|
|
1063
1078
|
/* CODE_CONTENT */
|
|
1064
1079
|
), i += l;
|
|
1065
1080
|
const a = i.length;
|
|
1066
|
-
i += "</code>", e &&
|
|
1081
|
+
i += "</code>", e && L(
|
|
1067
1082
|
e,
|
|
1068
1083
|
o,
|
|
1069
1084
|
r,
|
|
@@ -1076,18 +1091,18 @@ function xn(t, e) {
|
|
|
1076
1091
|
break;
|
|
1077
1092
|
}
|
|
1078
1093
|
case 5: {
|
|
1079
|
-
const o =
|
|
1094
|
+
const o = Vt(t, t.meta());
|
|
1080
1095
|
if (C !== null) {
|
|
1081
|
-
const c =
|
|
1096
|
+
const c = tn(t, o);
|
|
1082
1097
|
if (c !== null) {
|
|
1083
|
-
|
|
1098
|
+
fr(t, e, Gn(t, c), c.body, Kn(c), c.live);
|
|
1084
1099
|
break;
|
|
1085
1100
|
}
|
|
1086
1101
|
}
|
|
1087
1102
|
const r = i.length;
|
|
1088
|
-
o ? (i += '<pre><code class="language-' +
|
|
1089
|
-
const l = i.length, a =
|
|
1090
|
-
e && !
|
|
1103
|
+
o ? (i += '<pre><code class="language-' + Me(Gt(o)), G(t, '"', '">', ">")) : G(t, "<pre><code", "<pre><code>", ">");
|
|
1104
|
+
const l = i.length, a = ze(t);
|
|
1105
|
+
e && !ws(t, e, i.length, a, !1) && xt(
|
|
1091
1106
|
e,
|
|
1092
1107
|
t,
|
|
1093
1108
|
a,
|
|
@@ -1095,7 +1110,7 @@ function xn(t, e) {
|
|
|
1095
1110
|
/* CODE_CONTENT */
|
|
1096
1111
|
), i += a;
|
|
1097
1112
|
const f = i.length;
|
|
1098
|
-
i += "</code></pre>", e &&
|
|
1113
|
+
i += "</code></pre>", e && L(
|
|
1099
1114
|
e,
|
|
1100
1115
|
r,
|
|
1101
1116
|
l,
|
|
@@ -1116,7 +1131,7 @@ function xn(t, e) {
|
|
|
1116
1131
|
R(t, e);
|
|
1117
1132
|
const l = i.length;
|
|
1118
1133
|
i += `
|
|
1119
|
-
</blockquote>`, e &&
|
|
1134
|
+
</blockquote>`, e && L(
|
|
1120
1135
|
e,
|
|
1121
1136
|
o,
|
|
1122
1137
|
r,
|
|
@@ -1131,11 +1146,11 @@ function xn(t, e) {
|
|
|
1131
1146
|
case 12: {
|
|
1132
1147
|
const o = i.length, r = t.meta();
|
|
1133
1148
|
let l = "<a";
|
|
1134
|
-
r != null && r.href && (l +=
|
|
1149
|
+
r != null && r.href && (l += He(r.href, !1)), r != null && r.title && (l += ' title="' + D(r.title) + '"'), i = i + l + T(t, Qe) + ">";
|
|
1135
1150
|
const a = i.length;
|
|
1136
1151
|
R(t, e);
|
|
1137
1152
|
const f = i.length;
|
|
1138
|
-
i += "</a>", e &&
|
|
1153
|
+
i += "</a>", e && L(
|
|
1139
1154
|
e,
|
|
1140
1155
|
o,
|
|
1141
1156
|
a,
|
|
@@ -1149,8 +1164,8 @@ function xn(t, e) {
|
|
|
1149
1164
|
}
|
|
1150
1165
|
case 13: {
|
|
1151
1166
|
const o = i.length, r = t.meta();
|
|
1152
|
-
let l =
|
|
1153
|
-
l += ' alt="' + D(
|
|
1167
|
+
let l = Hn(r == null ? void 0 : r.src);
|
|
1168
|
+
l += ' alt="' + D(ve(t)) + '"', r != null && r.title && (l += ' title="' + D(r.title) + '"'), i = i + l + T(t, Ye) + b[he], e && S(e, o, i.length, t.start, t.end, t.index, 0);
|
|
1154
1169
|
break;
|
|
1155
1170
|
}
|
|
1156
1171
|
case 15: {
|
|
@@ -1167,7 +1182,7 @@ function xn(t, e) {
|
|
|
1167
1182
|
const c = i.length;
|
|
1168
1183
|
i += l ? `
|
|
1169
1184
|
</ol>` : `
|
|
1170
|
-
</ul>`, e &&
|
|
1185
|
+
</ul>`, e && L(
|
|
1171
1186
|
e,
|
|
1172
1187
|
o,
|
|
1173
1188
|
f,
|
|
@@ -1183,10 +1198,10 @@ function xn(t, e) {
|
|
|
1183
1198
|
const o = i.length;
|
|
1184
1199
|
G(t, "<li", "<li>", ">");
|
|
1185
1200
|
const r = i.length, l = (n = t.meta()) == null ? void 0 : n.checked;
|
|
1186
|
-
typeof l == "boolean" ?
|
|
1201
|
+
typeof l == "boolean" ? Wl(t, e, l) : R(t, e);
|
|
1187
1202
|
const a = i.length;
|
|
1188
1203
|
i += `</li>
|
|
1189
|
-
`, e &&
|
|
1204
|
+
`, e && L(
|
|
1190
1205
|
e,
|
|
1191
1206
|
o,
|
|
1192
1207
|
r,
|
|
@@ -1202,7 +1217,7 @@ function xn(t, e) {
|
|
|
1202
1217
|
const o = i.length;
|
|
1203
1218
|
if (i += "<hr />", e && t.end !== 4294967295) {
|
|
1204
1219
|
const r = i.length;
|
|
1205
|
-
if (
|
|
1220
|
+
if (S(
|
|
1206
1221
|
e,
|
|
1207
1222
|
o,
|
|
1208
1223
|
r,
|
|
@@ -1212,7 +1227,7 @@ function xn(t, e) {
|
|
|
1212
1227
|
12
|
|
1213
1228
|
), e.syntax) {
|
|
1214
1229
|
const l = t.value_start;
|
|
1215
|
-
|
|
1230
|
+
S(
|
|
1216
1231
|
e,
|
|
1217
1232
|
o,
|
|
1218
1233
|
r,
|
|
@@ -1240,7 +1255,7 @@ function xn(t, e) {
|
|
|
1240
1255
|
const r = i.length;
|
|
1241
1256
|
R(t, e);
|
|
1242
1257
|
const l = i.length;
|
|
1243
|
-
i += "</del>", e &&
|
|
1258
|
+
i += "</del>", e && L(
|
|
1244
1259
|
e,
|
|
1245
1260
|
o,
|
|
1246
1261
|
r,
|
|
@@ -1258,7 +1273,7 @@ function xn(t, e) {
|
|
|
1258
1273
|
const r = i.length;
|
|
1259
1274
|
R(t, e);
|
|
1260
1275
|
const l = i.length;
|
|
1261
|
-
i += "</sup>", e &&
|
|
1276
|
+
i += "</sup>", e && L(
|
|
1262
1277
|
e,
|
|
1263
1278
|
o,
|
|
1264
1279
|
r,
|
|
@@ -1276,7 +1291,7 @@ function xn(t, e) {
|
|
|
1276
1291
|
const r = i.length;
|
|
1277
1292
|
R(t, e);
|
|
1278
1293
|
const l = i.length;
|
|
1279
|
-
i += "</sub>", e &&
|
|
1294
|
+
i += "</sub>", e && L(
|
|
1280
1295
|
e,
|
|
1281
1296
|
o,
|
|
1282
1297
|
r,
|
|
@@ -1290,8 +1305,8 @@ function xn(t, e) {
|
|
|
1290
1305
|
}
|
|
1291
1306
|
case 2: {
|
|
1292
1307
|
const o = i.length, r = t.meta(), l = r == null ? void 0 : r.tag;
|
|
1293
|
-
if (
|
|
1294
|
-
i +=
|
|
1308
|
+
if (Je(t, l)) {
|
|
1309
|
+
i += Sn(t), e && S(
|
|
1295
1310
|
e,
|
|
1296
1311
|
o,
|
|
1297
1312
|
i.length,
|
|
@@ -1313,14 +1328,14 @@ function xn(t, e) {
|
|
|
1313
1328
|
const d = !t.synthetic;
|
|
1314
1329
|
for (const h in u) {
|
|
1315
1330
|
const v = u[h];
|
|
1316
|
-
v === !0 ? c += " " + h : typeof v == "object" && v.type === "expression" ? c +=
|
|
1331
|
+
v === !0 ? c += " " + h : typeof v == "object" && v.type === "expression" ? c += we(h, O(v.value)) : c += " " + h + '="' + Jt(v, d) + '"';
|
|
1317
1332
|
}
|
|
1318
|
-
r.repeated !== void 0 && (c +=
|
|
1333
|
+
r.repeated !== void 0 && (c += $e(r.repeated, d));
|
|
1319
1334
|
}
|
|
1320
1335
|
i += a ? c + " />" : c + ">";
|
|
1321
1336
|
}
|
|
1322
1337
|
if (a)
|
|
1323
|
-
e &&
|
|
1338
|
+
e && S(
|
|
1324
1339
|
e,
|
|
1325
1340
|
o,
|
|
1326
1341
|
i.length,
|
|
@@ -1332,9 +1347,9 @@ function xn(t, e) {
|
|
|
1332
1347
|
);
|
|
1333
1348
|
else {
|
|
1334
1349
|
const c = i.length;
|
|
1335
|
-
if (
|
|
1350
|
+
if (Ge(l)) {
|
|
1336
1351
|
t.index === ht ? (i += `
|
|
1337
|
-
`,
|
|
1352
|
+
`, le(t, e, !1)) : t.index === wt && (i = i + `
|
|
1338
1353
|
` + mt + `
|
|
1339
1354
|
`);
|
|
1340
1355
|
const d = t.text();
|
|
@@ -1348,7 +1363,7 @@ function xn(t, e) {
|
|
|
1348
1363
|
} else
|
|
1349
1364
|
R(t, e);
|
|
1350
1365
|
const u = i.length;
|
|
1351
|
-
i = i + "</" + O(l) + ">", e &&
|
|
1366
|
+
i = i + "</" + O(l) + ">", e && L(
|
|
1352
1367
|
e,
|
|
1353
1368
|
o,
|
|
1354
1369
|
c,
|
|
@@ -1373,7 +1388,7 @@ function xn(t, e) {
|
|
|
1373
1388
|
/* TEXT_CONTENT */
|
|
1374
1389
|
), i += l;
|
|
1375
1390
|
const a = i.length;
|
|
1376
|
-
i += "-->", e &&
|
|
1391
|
+
i += "-->", e && L(
|
|
1377
1392
|
e,
|
|
1378
1393
|
o,
|
|
1379
1394
|
r,
|
|
@@ -1397,7 +1412,7 @@ function xn(t, e) {
|
|
|
1397
1412
|
/* SVELTE_CONTENT */
|
|
1398
1413
|
), i += l;
|
|
1399
1414
|
const a = i.length;
|
|
1400
|
-
i += "}", e &&
|
|
1415
|
+
i += "}", e && L(
|
|
1401
1416
|
e,
|
|
1402
1417
|
o,
|
|
1403
1418
|
r,
|
|
@@ -1421,7 +1436,7 @@ function xn(t, e) {
|
|
|
1421
1436
|
/* SVELTE_CONTENT */
|
|
1422
1437
|
), i += a);
|
|
1423
1438
|
const c = i.length;
|
|
1424
|
-
i += "}", e &&
|
|
1439
|
+
i += "}", e && L(
|
|
1425
1440
|
e,
|
|
1426
1441
|
o,
|
|
1427
1442
|
f,
|
|
@@ -1448,11 +1463,11 @@ function xn(t, e) {
|
|
|
1448
1463
|
/* SVELTE_CONTENT */
|
|
1449
1464
|
), i += f), i += `}
|
|
1450
1465
|
`, R(t, e);
|
|
1451
|
-
} else t.kind !== 6 &&
|
|
1466
|
+
} else t.kind !== 6 && Ln(t, e);
|
|
1452
1467
|
while (t.goto_next_sibling());
|
|
1453
1468
|
t.goto_parent();
|
|
1454
1469
|
}
|
|
1455
|
-
i = i + "{/" + l + "}", e &&
|
|
1470
|
+
i = i + "{/" + l + "}", e && S(
|
|
1456
1471
|
e,
|
|
1457
1472
|
o,
|
|
1458
1473
|
i.length,
|
|
@@ -1470,10 +1485,10 @@ function xn(t, e) {
|
|
|
1470
1485
|
`, `>
|
|
1471
1486
|
`);
|
|
1472
1487
|
const r = i.length;
|
|
1473
|
-
|
|
1488
|
+
Jl(t, e);
|
|
1474
1489
|
const l = i.length;
|
|
1475
1490
|
i += `
|
|
1476
|
-
</table>`, e &&
|
|
1491
|
+
</table>`, e && L(
|
|
1477
1492
|
e,
|
|
1478
1493
|
o,
|
|
1479
1494
|
r,
|
|
@@ -1488,59 +1503,59 @@ function xn(t, e) {
|
|
|
1488
1503
|
case 6:
|
|
1489
1504
|
break;
|
|
1490
1505
|
case 34:
|
|
1491
|
-
t.index ===
|
|
1506
|
+
t.index === It && (i += Ht, le(t, e, !1), i += "<\/script>");
|
|
1492
1507
|
break;
|
|
1493
1508
|
case 33:
|
|
1494
|
-
mt !== "" && (i +=
|
|
1509
|
+
mt !== "" && (i += Pe());
|
|
1495
1510
|
break;
|
|
1496
1511
|
default:
|
|
1497
1512
|
if (t.kind < 35) R(t, e);
|
|
1498
1513
|
else if (t.kind === 36) {
|
|
1499
1514
|
const o = i.length;
|
|
1500
|
-
i +=
|
|
1515
|
+
i += Wn(t), e && S(e, o, i.length, t.start, t.end, t.index, 0);
|
|
1501
1516
|
}
|
|
1502
1517
|
break;
|
|
1503
1518
|
}
|
|
1504
1519
|
}
|
|
1505
|
-
function
|
|
1506
|
-
const n = t.meta(), s = (n == null ? void 0 : n.alignments) ?? [], o =
|
|
1520
|
+
function Jl(t, e) {
|
|
1521
|
+
const n = t.meta(), s = (n == null ? void 0 : n.alignments) ?? [], o = xe(n, s);
|
|
1507
1522
|
let r = !1;
|
|
1508
1523
|
if (t.goto_first_child()) {
|
|
1509
1524
|
do
|
|
1510
1525
|
t.kind === 23 ? (i += `<thead>
|
|
1511
1526
|
<tr>
|
|
1512
|
-
`, o ?
|
|
1527
|
+
`, o ? yo(t, "th", s, 0, pe, e) : Eo(t, "th", s, e), i += `</tr>
|
|
1513
1528
|
</thead>
|
|
1514
1529
|
`) : t.kind === 24 && (r || (i += `<tbody>
|
|
1515
1530
|
`, r = !0), i += `<tr>
|
|
1516
|
-
`, o ?
|
|
1531
|
+
`, o ? yo(t, "td", s, Qt, Yt, e) : Eo(t, "td", s, e), i += `</tr>
|
|
1517
1532
|
`);
|
|
1518
1533
|
while (t.goto_next_sibling());
|
|
1519
1534
|
t.goto_parent(), r && (i += "</tbody>");
|
|
1520
1535
|
}
|
|
1521
1536
|
}
|
|
1522
|
-
let
|
|
1523
|
-
function
|
|
1537
|
+
let Qt = 0, Yt = 0, pe = 0, vs = !1;
|
|
1538
|
+
function xe(t, e) {
|
|
1524
1539
|
if (t === void 0) return !1;
|
|
1525
1540
|
const n = t.header_columns, s = t.spans === !0;
|
|
1526
1541
|
if (n === void 0 && !s) return !1;
|
|
1527
1542
|
const o = t.col_count ?? e.length;
|
|
1528
|
-
return
|
|
1543
|
+
return pe = o, Qt = n === void 0 ? 0 : n[0], Yt = n === void 0 ? o : o - n[1], vs = s, !0;
|
|
1529
1544
|
}
|
|
1530
|
-
function
|
|
1545
|
+
function Ze(t, e, n) {
|
|
1531
1546
|
const s = n[e];
|
|
1532
1547
|
let o = s && s !== "none" ? ' align="' + s + '"' : "";
|
|
1533
|
-
if (
|
|
1548
|
+
if (vs) {
|
|
1534
1549
|
const r = t.meta();
|
|
1535
1550
|
r !== void 0 && (r.colspan !== void 0 && (o += ' colspan="' + r.colspan + '"'), r.rowspan !== void 0 && (o += ' rowspan="' + r.rowspan + '"'));
|
|
1536
1551
|
}
|
|
1537
1552
|
return o;
|
|
1538
1553
|
}
|
|
1539
|
-
function
|
|
1554
|
+
function yo(t, e, n, s, o, r) {
|
|
1540
1555
|
if (t.goto_first_child()) {
|
|
1541
1556
|
do
|
|
1542
1557
|
if (t.kind === 25) {
|
|
1543
|
-
const l = t.extra, a = l < s || l >= o, f =
|
|
1558
|
+
const l = t.extra, a = l < s || l >= o, f = Ze(t, l, n);
|
|
1544
1559
|
i += a ? '<th scope="row"' + f + ">" : "<" + e + f + ">", R(t, r), i += a || e === "th" ? `</th>
|
|
1545
1560
|
` : `</td>
|
|
1546
1561
|
`;
|
|
@@ -1549,7 +1564,7 @@ function bo(t, e, n, s, o, r) {
|
|
|
1549
1564
|
t.goto_parent();
|
|
1550
1565
|
}
|
|
1551
1566
|
}
|
|
1552
|
-
function
|
|
1567
|
+
function ps(t) {
|
|
1553
1568
|
return [
|
|
1554
1569
|
`<${t}>`,
|
|
1555
1570
|
`<${t} align="left">`,
|
|
@@ -1557,9 +1572,9 @@ function hs(t) {
|
|
|
1557
1572
|
`<${t} align="right">`
|
|
1558
1573
|
];
|
|
1559
1574
|
}
|
|
1560
|
-
const
|
|
1561
|
-
function
|
|
1562
|
-
const o = e === "th" ?
|
|
1575
|
+
const Ql = ps("th"), Yl = ps("td");
|
|
1576
|
+
function Eo(t, e, n, s) {
|
|
1577
|
+
const o = e === "th" ? Ql : Yl, r = e === "th" ? `</th>
|
|
1563
1578
|
` : `</td>
|
|
1564
1579
|
`;
|
|
1565
1580
|
let l = 0;
|
|
@@ -1573,34 +1588,34 @@ function mo(t, e, n, s) {
|
|
|
1573
1588
|
t.goto_parent();
|
|
1574
1589
|
}
|
|
1575
1590
|
}
|
|
1576
|
-
const b = [""],
|
|
1591
|
+
const b = [""], ie = /* @__PURE__ */ new Map(), w = new Uint16Array(1024);
|
|
1577
1592
|
function m(t) {
|
|
1578
|
-
let e =
|
|
1579
|
-
return e === void 0 && (e = b.length, b.push(t),
|
|
1580
|
-
}
|
|
1581
|
-
const
|
|
1582
|
-
`),
|
|
1583
|
-
`),
|
|
1584
|
-
`),
|
|
1585
|
-
`),
|
|
1586
|
-
</ol>`),
|
|
1587
|
-
`),
|
|
1588
|
-
</ul>`),
|
|
1589
|
-
`),
|
|
1590
|
-
`),
|
|
1591
|
-
`),
|
|
1592
|
-
</table>`),
|
|
1593
|
+
let e = ie.get(t);
|
|
1594
|
+
return e === void 0 && (e = b.length, b.push(t), ie.set(t, e), w[e] = t.length), e;
|
|
1595
|
+
}
|
|
1596
|
+
const kt = m(" "), xs = m('="'), it = m('"'), ys = m("={"), Z = m("}"), A = m(">"), ot = m(`>
|
|
1597
|
+
`), Lr = m('">'), Tr = m(`">
|
|
1598
|
+
`), Cr = m(`
|
|
1599
|
+
`), So = m("<"), Or = m("<code"), Dr = m("<code>"), bn = m("</code>"), Zl = m('<pre><code class="language-'), Nr = m("<pre><code"), Rr = m("<pre><code>"), mn = m("</code></pre>"), Xl = m("<a"), ti = m(' href="'), Es = m(' title="'), Pr = m("</a>"), ei = m("<img"), ni = m(' src="'), ri = m(' alt="'), Bt = m(" />"), oi = m(" /></picture>"), si = m('<ol start="'), Br = m("<ol"), Ur = m(`<ol>
|
|
1600
|
+
`), Ir = m(`
|
|
1601
|
+
</ol>`), Hr = m("<ul"), Vr = m(`<ul>
|
|
1602
|
+
`), Gr = m(`
|
|
1603
|
+
</ul>`), Kr = m("<hr />"), Mr = m(`<br />
|
|
1604
|
+
`), li = m("</"), jr = m("<!--"), wn = m("-->"), zr = m("{"), ii = m("{@"), ai = m("{#"), fi = m("{:"), ci = m("{/"), Fr = m(`}
|
|
1605
|
+
`), $r = m("<table"), kr = m(`<table>
|
|
1606
|
+
`), Wr = m(`
|
|
1607
|
+
</table>`), Jr = m(`<thead>
|
|
1593
1608
|
<tr>
|
|
1594
|
-
`),
|
|
1609
|
+
`), Qr = m(`</tr>
|
|
1595
1610
|
</thead>
|
|
1596
|
-
`),
|
|
1597
|
-
`),
|
|
1598
|
-
`),
|
|
1599
|
-
`),
|
|
1600
|
-
`),
|
|
1601
|
-
`),
|
|
1602
|
-
`),
|
|
1603
|
-
function
|
|
1611
|
+
`), Yr = m(`<tbody>
|
|
1612
|
+
`), Zr = m("</tbody>"), Xr = m(`<tr>
|
|
1613
|
+
`), to = m(`</tr>
|
|
1614
|
+
`), ye = m(`</th>
|
|
1615
|
+
`), Ee = m(`</td>
|
|
1616
|
+
`), Be = m("<p"), Ue = m("<p>"), Kt = m("</p>"), eo = m("<li"), ae = m("<li>"), Ie = m(`</li>
|
|
1617
|
+
`), no = m(bs), ro = m(ms);
|
|
1618
|
+
function Ss(t) {
|
|
1604
1619
|
return Uint8Array.of(
|
|
1605
1620
|
m(`<${t}>`),
|
|
1606
1621
|
m(`<${t} align="left">`),
|
|
@@ -1608,9 +1623,9 @@ function ms(t) {
|
|
|
1608
1623
|
m(`<${t} align="right">`)
|
|
1609
1624
|
);
|
|
1610
1625
|
}
|
|
1611
|
-
const
|
|
1626
|
+
const oo = Ss("th"), so = Ss("td"), Tn = 48, Ut = 40, Cn = new Uint8Array(Tn), On = new Uint8Array(Tn), Dn = new Uint8Array(Tn), Nn = new Uint8Array(Tn);
|
|
1612
1627
|
function vt(t, e, n, s, o) {
|
|
1613
|
-
|
|
1628
|
+
Cn[t] = m(e), On[t] = m(n), Dn[t] = m(s), Nn[t] = m(o);
|
|
1614
1629
|
}
|
|
1615
1630
|
vt(7, "<p", "<p>", ">", "</p>");
|
|
1616
1631
|
vt(9, "<em", "<em>", ">", "</em>");
|
|
@@ -1628,58 +1643,58 @@ vt(
|
|
|
1628
1643
|
`
|
|
1629
1644
|
</blockquote>`
|
|
1630
1645
|
);
|
|
1631
|
-
vt(
|
|
1646
|
+
vt(Ut, "", "", ">", "");
|
|
1632
1647
|
for (let t = 1; t <= 6; t++)
|
|
1633
1648
|
vt(
|
|
1634
|
-
|
|
1649
|
+
Ut + t,
|
|
1635
1650
|
`<h${t}`,
|
|
1636
1651
|
`<h${t}>`,
|
|
1637
1652
|
">",
|
|
1638
1653
|
`</h${t}>`
|
|
1639
1654
|
);
|
|
1640
|
-
const
|
|
1641
|
-
if (
|
|
1642
|
-
if (w.length <
|
|
1655
|
+
const ui = b.length, Rn = 1024, qs = 128;
|
|
1656
|
+
if (ui > 128) throw new Error("too many static literals");
|
|
1657
|
+
if (w.length < Rn)
|
|
1643
1658
|
throw new Error("FOLD_LEN smaller than the fold table");
|
|
1644
|
-
const
|
|
1645
|
-
let
|
|
1646
|
-
const
|
|
1659
|
+
const Pn = new Uint16Array(Rn << 7);
|
|
1660
|
+
let j = "";
|
|
1661
|
+
const lr = new Uint16Array(1);
|
|
1647
1662
|
function _(t, e) {
|
|
1648
1663
|
if (t === 0) return e;
|
|
1649
|
-
const n =
|
|
1650
|
-
return n !== 0 ? n :
|
|
1664
|
+
const n = Pn[t << 7 | e];
|
|
1665
|
+
return n !== 0 ? n : di(t, e);
|
|
1651
1666
|
}
|
|
1652
1667
|
function y(t, e) {
|
|
1653
|
-
return t !== 0 && (
|
|
1668
|
+
return t !== 0 && (j += b[t]), j += e, 0;
|
|
1654
1669
|
}
|
|
1655
|
-
function
|
|
1670
|
+
function di(t, e) {
|
|
1656
1671
|
const n = b[t], s = b[e];
|
|
1657
|
-
if (n.length + s.length >
|
|
1658
|
-
return
|
|
1672
|
+
if (n.length + s.length > qs || b.length >= Rn)
|
|
1673
|
+
return j += n, e;
|
|
1659
1674
|
const o = Object.keys({ [n + s]: 0 })[0];
|
|
1660
|
-
let r =
|
|
1661
|
-
return r === void 0 && (r = b.length, b.push(o),
|
|
1675
|
+
let r = ie.get(o);
|
|
1676
|
+
return r === void 0 && (r = b.length, b.push(o), ie.set(o, r), w[r] = o.length), Pn[t << 7 | e] = r, r;
|
|
1662
1677
|
}
|
|
1663
|
-
function
|
|
1678
|
+
function As(t) {
|
|
1664
1679
|
for (const e in t) {
|
|
1665
|
-
if (
|
|
1680
|
+
if (Sr.has(e)) continue;
|
|
1666
1681
|
const n = t[e];
|
|
1667
1682
|
if (n !== !1 && n != null) return !0;
|
|
1668
1683
|
}
|
|
1669
1684
|
return !1;
|
|
1670
1685
|
}
|
|
1671
|
-
function
|
|
1686
|
+
function lo(t, e, n) {
|
|
1672
1687
|
if (!t) return e;
|
|
1673
1688
|
for (const s in t) {
|
|
1674
|
-
if (
|
|
1689
|
+
if (Sr.has(s) || n !== void 0 && n.has(s)) continue;
|
|
1675
1690
|
const o = t[s];
|
|
1676
|
-
o === !0 ? (e = _(e,
|
|
1691
|
+
o === !0 ? (e = _(e, kt), e = y(e, s)) : o !== !1 && o != null && (e = _(e, kt), e = y(e, s), typeof o == "object" && o.type === "expression" ? (e = _(e, ys), e = y(e, o.value), e = _(e, Z)) : (e = _(e, xs), e = y(e, Qi(String(o))), e = _(e, it)));
|
|
1677
1692
|
}
|
|
1678
1693
|
return e;
|
|
1679
1694
|
}
|
|
1680
|
-
function
|
|
1695
|
+
function ut(t, e, n, s, o) {
|
|
1681
1696
|
const r = t.meta();
|
|
1682
|
-
return !r || !
|
|
1697
|
+
return !r || !As(r) ? _(e, s) : (e = _(e, n), e = lo(r, e), _(e, o));
|
|
1683
1698
|
}
|
|
1684
1699
|
function J(t, e) {
|
|
1685
1700
|
const n = t.words;
|
|
@@ -1710,7 +1725,7 @@ function J(t, e) {
|
|
|
1710
1725
|
/* stride */
|
|
1711
1726
|
] & 255;
|
|
1712
1727
|
if (u === 1 || u === 18) {
|
|
1713
|
-
s =
|
|
1728
|
+
s = hi(n, s, o, t.source);
|
|
1714
1729
|
const d = s * 12;
|
|
1715
1730
|
c = n[
|
|
1716
1731
|
d + 4
|
|
@@ -1723,12 +1738,12 @@ function J(t, e) {
|
|
|
1723
1738
|
}
|
|
1724
1739
|
e = y(
|
|
1725
1740
|
e,
|
|
1726
|
-
|
|
1741
|
+
_t(t, f, n[
|
|
1727
1742
|
r + 3
|
|
1728
1743
|
/* value_start */
|
|
1729
1744
|
], c, !1)
|
|
1730
1745
|
);
|
|
1731
|
-
} else l !== 6 && (t.move_to(s), e =
|
|
1746
|
+
} else l !== 6 && (t.move_to(s), e = fe(t, e));
|
|
1732
1747
|
if (a === 4294967295 || n[
|
|
1733
1748
|
a * 12 + 5
|
|
1734
1749
|
/* parent */
|
|
@@ -1737,7 +1752,7 @@ function J(t, e) {
|
|
|
1737
1752
|
}
|
|
1738
1753
|
return t.move_to(o !== 4294967295 ? o : s), e;
|
|
1739
1754
|
}
|
|
1740
|
-
function
|
|
1755
|
+
function hi(t, e, n, s) {
|
|
1741
1756
|
let o = e, r = e * 12, l = t[
|
|
1742
1757
|
r + 4
|
|
1743
1758
|
/* value_end */
|
|
@@ -1792,10 +1807,10 @@ function ti(t, e, n, s) {
|
|
|
1792
1807
|
o = a, r = f, l = u;
|
|
1793
1808
|
}
|
|
1794
1809
|
}
|
|
1795
|
-
function
|
|
1796
|
-
if (
|
|
1797
|
-
const s =
|
|
1798
|
-
if (s !== null) return
|
|
1810
|
+
function fe(t, e) {
|
|
1811
|
+
if (bt) {
|
|
1812
|
+
const s = Zt(t);
|
|
1813
|
+
if (s !== null) return ao(t, void 0, e, s);
|
|
1799
1814
|
}
|
|
1800
1815
|
let n = t.kind;
|
|
1801
1816
|
switch (n) {
|
|
@@ -1814,79 +1829,79 @@ function se(t, e) {
|
|
|
1814
1829
|
case 21: {
|
|
1815
1830
|
if (n === 3) {
|
|
1816
1831
|
const s = t.extra;
|
|
1817
|
-
n = s >= 1 && s <= 6 ?
|
|
1832
|
+
n = s >= 1 && s <= 6 ? Ut + s : Ut;
|
|
1818
1833
|
}
|
|
1819
|
-
return e =
|
|
1834
|
+
return e = ut(t, e, Cn[n], On[n], Dn[n]), e = J(t, e), _(e, Nn[n]);
|
|
1820
1835
|
}
|
|
1821
1836
|
case 16: {
|
|
1822
1837
|
const s = t.meta();
|
|
1823
|
-
if (s === void 0) e = _(e,
|
|
1824
|
-
else if (e =
|
|
1825
|
-
return
|
|
1826
|
-
return e = J(t, e), _(e,
|
|
1838
|
+
if (s === void 0) e = _(e, ae);
|
|
1839
|
+
else if (e = ut(t, e, eo, ae, A), typeof s.checked == "boolean")
|
|
1840
|
+
return gi(t, e, s.checked);
|
|
1841
|
+
return e = J(t, e), _(e, Ie);
|
|
1827
1842
|
}
|
|
1828
1843
|
case 8: {
|
|
1829
1844
|
if (C !== null) {
|
|
1830
|
-
const o =
|
|
1845
|
+
const o = en(t);
|
|
1831
1846
|
if (o !== null)
|
|
1832
|
-
return
|
|
1847
|
+
return Ws(e, Mn(t, o), o.body, jn(o));
|
|
1833
1848
|
}
|
|
1834
|
-
e =
|
|
1835
|
-
const s =
|
|
1849
|
+
e = ut(t, e, Or, Dr, A);
|
|
1850
|
+
const s = Fe(t);
|
|
1836
1851
|
return e = y(
|
|
1837
1852
|
e,
|
|
1838
1853
|
s.indexOf(`
|
|
1839
1854
|
`) === -1 ? s : s.replace(/\n/g, " ")
|
|
1840
|
-
), _(e,
|
|
1855
|
+
), _(e, bn);
|
|
1841
1856
|
}
|
|
1842
1857
|
case 5:
|
|
1843
|
-
return
|
|
1858
|
+
return _i(t, e);
|
|
1844
1859
|
case 12:
|
|
1845
|
-
return
|
|
1860
|
+
return bi(t, e);
|
|
1846
1861
|
case 13:
|
|
1847
|
-
return
|
|
1862
|
+
return mi(t, e);
|
|
1848
1863
|
case 15:
|
|
1849
|
-
return
|
|
1864
|
+
return wi(t, e);
|
|
1850
1865
|
case 11:
|
|
1851
|
-
return _(e,
|
|
1866
|
+
return _(e, Kr);
|
|
1852
1867
|
case 17:
|
|
1853
|
-
return _(e,
|
|
1868
|
+
return _(e, Mr);
|
|
1854
1869
|
case 18:
|
|
1855
|
-
return _(e,
|
|
1870
|
+
return _(e, Cr);
|
|
1856
1871
|
case 2:
|
|
1857
|
-
return
|
|
1872
|
+
return vi(t, e);
|
|
1858
1873
|
case 26:
|
|
1859
|
-
return e = _(e,
|
|
1874
|
+
return e = _(e, jr), e = y(e, Rt(t)), _(e, wn);
|
|
1860
1875
|
case 4:
|
|
1861
|
-
return e = _(e,
|
|
1876
|
+
return e = _(e, zr), e = y(e, t.text()), _(e, Z);
|
|
1862
1877
|
case 27:
|
|
1863
|
-
return
|
|
1878
|
+
return pi(t, e);
|
|
1864
1879
|
case 28:
|
|
1865
|
-
return
|
|
1880
|
+
return xi(t, e);
|
|
1866
1881
|
case 22:
|
|
1867
|
-
return e =
|
|
1882
|
+
return e = ut(t, e, $r, kr, ot), e = yi(t, e), _(e, Wr);
|
|
1868
1883
|
case 6:
|
|
1869
1884
|
return e;
|
|
1870
1885
|
// only a root child renders alone, its parent renders text in fold_children
|
|
1871
1886
|
case 1:
|
|
1872
1887
|
return y(
|
|
1873
1888
|
e,
|
|
1874
|
-
|
|
1889
|
+
_t(t, t.index, t.value_start, t.value_end, !1)
|
|
1875
1890
|
);
|
|
1876
1891
|
case 34:
|
|
1877
|
-
return t.index !==
|
|
1892
|
+
return t.index !== It ? e : y(e, Ht + _s(t) + "<\/script>");
|
|
1878
1893
|
case 33:
|
|
1879
|
-
return mt === "" ? e : y(e,
|
|
1894
|
+
return mt === "" ? e : y(e, Pe());
|
|
1880
1895
|
default:
|
|
1881
|
-
return t.kind >= 35 ? t.kind === 36 ? y(e,
|
|
1896
|
+
return t.kind >= 35 ? t.kind === 36 ? y(e, Wn(t)) : e : (nt && fo(t), J(t, e));
|
|
1882
1897
|
}
|
|
1883
1898
|
}
|
|
1884
|
-
function
|
|
1885
|
-
const s = n ?
|
|
1899
|
+
function gi(t, e, n) {
|
|
1900
|
+
const s = n ? ro : no, o = An(t);
|
|
1886
1901
|
if (o === 4294967295)
|
|
1887
|
-
return e = _(e, s), e = J(t, e), _(e,
|
|
1902
|
+
return e = _(e, s), e = J(t, e), _(e, Ie);
|
|
1888
1903
|
const r = t.words, l = t.index;
|
|
1889
|
-
t.move_to(o),
|
|
1904
|
+
t.move_to(o), bt && Zt(t) !== null ? ($t = o, qn = b[s], e = fe(t, e), $t = -1) : (e = ut(t, e, Be, Ue, A), e = _(e, s), e = J(t, e), e = _(e, Kt));
|
|
1890
1905
|
let a = r[
|
|
1891
1906
|
o * 12 + 6
|
|
1892
1907
|
/* next */
|
|
@@ -1899,63 +1914,63 @@ function ei(t, e, n) {
|
|
|
1899
1914
|
a * 12 + 6
|
|
1900
1915
|
/* next */
|
|
1901
1916
|
];
|
|
1902
|
-
t.move_to(a), e =
|
|
1917
|
+
t.move_to(a), e = fe(t, e), a = f;
|
|
1903
1918
|
}
|
|
1904
|
-
return t.move_to(l), _(e,
|
|
1919
|
+
return t.move_to(l), _(e, Ie);
|
|
1905
1920
|
}
|
|
1906
|
-
function
|
|
1907
|
-
const n =
|
|
1921
|
+
function _i(t, e) {
|
|
1922
|
+
const n = Vt(t, t.meta());
|
|
1908
1923
|
if (C !== null) {
|
|
1909
|
-
const s =
|
|
1910
|
-
if (s !== null) return
|
|
1924
|
+
const s = tn(t, n);
|
|
1925
|
+
if (s !== null) return Ws(e, Gn(t, s), s.body, Kn(s));
|
|
1911
1926
|
}
|
|
1912
|
-
return n ? (e = _(e,
|
|
1927
|
+
return n ? (e = _(e, Zl), e = y(e, Me(Gt(n))), e = ut(t, e, it, Lr, A)) : e = ut(t, e, Nr, Rr, A), e = y(e, ze(t)), _(e, mn);
|
|
1913
1928
|
}
|
|
1914
|
-
function
|
|
1929
|
+
function bi(t, e) {
|
|
1915
1930
|
const n = t.meta();
|
|
1916
|
-
return e = _(e,
|
|
1931
|
+
return e = _(e, Xl), n != null && n.href && (e = Ms(e, n.href, !1)), n != null && n.title && (e = _(e, Es), e = y(e, D(n.title)), e = _(e, it)), e = lo(n, e, Qe), e = _(e, A), e = J(t, e), _(e, Pr);
|
|
1917
1932
|
}
|
|
1918
|
-
function
|
|
1933
|
+
function mi(t, e) {
|
|
1919
1934
|
const n = t.meta();
|
|
1920
|
-
let s =
|
|
1921
|
-
return Y === null ? (e = _(e,
|
|
1935
|
+
let s = Bt;
|
|
1936
|
+
return Y === null ? (e = _(e, ei), n != null && n.src && (e = Ms(e, n.src, !0))) : (e = y(e, Hn(n == null ? void 0 : n.src)), s = he), e = _(e, ri), e = y(e, D(ve(t))), e = _(e, it), n != null && n.title && (e = _(e, Es), e = y(e, D(n.title)), e = _(e, it)), e = lo(n, e, Ye), _(e, s);
|
|
1922
1937
|
}
|
|
1923
|
-
function
|
|
1938
|
+
function wi(t, e) {
|
|
1924
1939
|
const n = t.meta(), s = !!(n != null && n.ordered), o = n == null ? void 0 : n.start;
|
|
1925
|
-
return s && o != null && o !== 1 ? (e = _(e,
|
|
1940
|
+
return s && o != null && o !== 1 ? (e = _(e, si), e = y(e, String(o)), e = ut(t, e, it, Tr, ot)) : s ? e = ut(t, e, Br, Ur, ot) : e = ut(t, e, Hr, Vr, ot), e = J(t, e), _(e, s ? Ir : Gr);
|
|
1926
1941
|
}
|
|
1927
|
-
function
|
|
1942
|
+
function qo(t, e, n) {
|
|
1928
1943
|
for (const s in t) {
|
|
1929
1944
|
const o = t[s];
|
|
1930
|
-
if (
|
|
1945
|
+
if (zl(s, o)) {
|
|
1931
1946
|
n = y(n, " {" + s + "}");
|
|
1932
1947
|
continue;
|
|
1933
1948
|
}
|
|
1934
|
-
n = _(n,
|
|
1949
|
+
n = _(n, kt), n = y(n, s), o !== !0 && (typeof o == "object" && o.type === "expression" ? (n = _(n, ys), n = y(n, o.value), n = _(n, Z)) : (n = _(n, xs), n = y(n, Jt(o, e)), n = _(n, it)));
|
|
1935
1950
|
}
|
|
1936
1951
|
return n;
|
|
1937
1952
|
}
|
|
1938
|
-
function
|
|
1953
|
+
function vi(t, e) {
|
|
1939
1954
|
const n = t.meta(), s = n == null ? void 0 : n.tag;
|
|
1940
|
-
if (
|
|
1941
|
-
const o = t.synthetic ? void 0 :
|
|
1955
|
+
if (Je(t, s)) return y(e, Sn(t));
|
|
1956
|
+
const o = t.synthetic ? void 0 : ts(n), r = o !== void 0 && o.canonical ? al(o) : void 0, l = r === void 0 ? n == null ? void 0 : n.attributes : void 0;
|
|
1942
1957
|
if (n != null && n.self_closing) {
|
|
1943
1958
|
const a = !t.synthetic && t.end > t.start ? t.slice(t.start, t.end) : "";
|
|
1944
|
-
return a ? y(e, a) : (e = _(e,
|
|
1959
|
+
return a ? y(e, a) : (e = _(e, So), e = y(e, s), r !== void 0 ? e = y(e, r) : l && (e = qo(l, !t.synthetic, e)), _(e, Bt));
|
|
1945
1960
|
}
|
|
1946
|
-
return e = _(e,
|
|
1961
|
+
return e = _(e, So), e = y(e, s), r !== void 0 ? e = y(e, r) : l && (e = qo(l, !t.synthetic, e), n.repeated !== void 0 && (e = y(
|
|
1947
1962
|
e,
|
|
1948
|
-
|
|
1949
|
-
))), e = _(e,
|
|
1950
|
-
` +
|
|
1963
|
+
$e(n.repeated, !t.synthetic)
|
|
1964
|
+
))), e = _(e, A), Ge(s) ? (t.index === ht ? e = y(e, `
|
|
1965
|
+
` + _s(t)) : t.index === wt && (e = y(e, `
|
|
1951
1966
|
` + mt + `
|
|
1952
|
-
`)), e = y(e, t.text())) : e = J(t, e), e = _(e,
|
|
1967
|
+
`)), e = y(e, t.text())) : e = J(t, e), e = _(e, li), e = y(e, s), _(e, A);
|
|
1953
1968
|
}
|
|
1954
|
-
function
|
|
1969
|
+
function pi(t, e) {
|
|
1955
1970
|
const n = t.meta(), s = n == null ? void 0 : n.tag, o = t.text();
|
|
1956
|
-
return e = _(e,
|
|
1971
|
+
return e = _(e, ii), e = y(e, s), o && (e = _(e, kt), e = y(e, o)), _(e, Z);
|
|
1957
1972
|
}
|
|
1958
|
-
function
|
|
1973
|
+
function xi(t, e) {
|
|
1959
1974
|
const n = t.meta(), s = n == null ? void 0 : n.tag;
|
|
1960
1975
|
if (t.goto_first_child()) {
|
|
1961
1976
|
let o = !0;
|
|
@@ -1963,29 +1978,29 @@ function ai(t, e) {
|
|
|
1963
1978
|
if (t.kind === 29) {
|
|
1964
1979
|
const r = t.text();
|
|
1965
1980
|
if (o)
|
|
1966
|
-
e = _(e,
|
|
1981
|
+
e = _(e, ai), e = y(e, s), o = !1;
|
|
1967
1982
|
else {
|
|
1968
1983
|
const l = t.meta();
|
|
1969
|
-
e = _(e,
|
|
1984
|
+
e = _(e, fi), e = y(e, l == null ? void 0 : l.tag);
|
|
1970
1985
|
}
|
|
1971
|
-
r && (e = _(e,
|
|
1972
|
-
} else t.kind !== 6 && (e =
|
|
1986
|
+
r && (e = _(e, kt), e = y(e, r)), e = _(e, Fr), e = J(t, e);
|
|
1987
|
+
} else t.kind !== 6 && (e = fe(t, e));
|
|
1973
1988
|
while (t.goto_next_sibling());
|
|
1974
1989
|
t.goto_parent();
|
|
1975
1990
|
}
|
|
1976
|
-
return e = _(e,
|
|
1991
|
+
return e = _(e, ci), e = y(e, s), _(e, Z);
|
|
1977
1992
|
}
|
|
1978
|
-
function
|
|
1979
|
-
if (
|
|
1980
|
-
const n = t.meta(), s = (n == null ? void 0 : n.alignments) ?? [], o =
|
|
1993
|
+
function yi(t, e) {
|
|
1994
|
+
if (ke) return Un(t, void 0, e);
|
|
1995
|
+
const n = t.meta(), s = (n == null ? void 0 : n.alignments) ?? [], o = xe(n, s);
|
|
1981
1996
|
let r = !1;
|
|
1982
1997
|
if (!t.goto_first_child()) return e;
|
|
1983
1998
|
do
|
|
1984
|
-
t.kind === 23 ? (e = _(e,
|
|
1999
|
+
t.kind === 23 ? (e = _(e, Jr), e = o ? Lo(t, "th", s, 0, pe, e) : Ao(t, oo, ye, "th", s, e), e = _(e, Qr)) : t.kind === 24 && (r || (e = _(e, Yr), r = !0), e = _(e, Xr), e = o ? Lo(t, "td", s, Qt, Yt, e) : Ao(t, so, Ee, "td", s, e), e = _(e, to));
|
|
1985
2000
|
while (t.goto_next_sibling());
|
|
1986
|
-
return t.goto_parent(), r && (e = _(e,
|
|
2001
|
+
return t.goto_parent(), r && (e = _(e, Zr)), e;
|
|
1987
2002
|
}
|
|
1988
|
-
function
|
|
2003
|
+
function Ao(t, e, n, s, o, r) {
|
|
1989
2004
|
let l = 0;
|
|
1990
2005
|
if (!t.goto_first_child()) return r;
|
|
1991
2006
|
do
|
|
@@ -1996,17 +2011,17 @@ function po(t, e, n, s, o, r) {
|
|
|
1996
2011
|
while (t.goto_next_sibling());
|
|
1997
2012
|
return t.goto_parent(), r;
|
|
1998
2013
|
}
|
|
1999
|
-
function
|
|
2014
|
+
function Lo(t, e, n, s, o, r) {
|
|
2000
2015
|
if (!t.goto_first_child()) return r;
|
|
2001
2016
|
do
|
|
2002
2017
|
if (t.kind === 25) {
|
|
2003
|
-
const l = t.extra, a = l < s || l >= o, f =
|
|
2004
|
-
r = y(r, a ? '<th scope="row"' + f + ">" : "<" + e + f + ">"), r = J(t, r), r = _(r, a || e === "th" ?
|
|
2018
|
+
const l = t.extra, a = l < s || l >= o, f = Ze(t, l, n);
|
|
2019
|
+
r = y(r, a ? '<th scope="row"' + f + ">" : "<" + e + f + ">"), r = J(t, r), r = _(r, a || e === "th" ? ye : Ee);
|
|
2005
2020
|
}
|
|
2006
2021
|
while (t.goto_next_sibling());
|
|
2007
2022
|
return t.goto_parent(), r;
|
|
2008
2023
|
}
|
|
2009
|
-
function
|
|
2024
|
+
function Bn(t, e, n) {
|
|
2010
2025
|
if (n !== 4294967295) {
|
|
2011
2026
|
let s = t.rec;
|
|
2012
2027
|
const o = t.n;
|
|
@@ -2014,9 +2029,9 @@ function Cn(t, e, n) {
|
|
|
2014
2029
|
}
|
|
2015
2030
|
}
|
|
2016
2031
|
function U(t, e, n) {
|
|
2017
|
-
n.end !== 4294967295 &&
|
|
2032
|
+
n.end !== 4294967295 && Bn(t, e, n.start);
|
|
2018
2033
|
}
|
|
2019
|
-
function
|
|
2034
|
+
function F(t, e, n, s, o) {
|
|
2020
2035
|
if (s !== 4294967295) {
|
|
2021
2036
|
const r = o > s ? o - s : 0;
|
|
2022
2037
|
let l = 1;
|
|
@@ -2031,25 +2046,25 @@ function j(t, e, n, s, o) {
|
|
|
2031
2046
|
}
|
|
2032
2047
|
function x(t, e) {
|
|
2033
2048
|
if (t === 0) return e;
|
|
2034
|
-
const n =
|
|
2035
|
-
return n !== 0 ? n :
|
|
2049
|
+
const n = Pn[t << 7 | e];
|
|
2050
|
+
return n !== 0 ? n : Ei(t, e);
|
|
2036
2051
|
}
|
|
2037
|
-
function
|
|
2052
|
+
function Ei(t, e) {
|
|
2038
2053
|
const n = b[t], s = b[e];
|
|
2039
|
-
if (n.length + s.length >
|
|
2054
|
+
if (n.length + s.length > qs || b.length >= Rn)
|
|
2040
2055
|
return i += n, e;
|
|
2041
2056
|
const o = Object.keys({ [n + s]: 0 })[0];
|
|
2042
|
-
let r =
|
|
2043
|
-
return r === void 0 && (r = b.length, b.push(o),
|
|
2057
|
+
let r = ie.get(o);
|
|
2058
|
+
return r === void 0 && (r = b.length, b.push(o), ie.set(o, r), w[r] = o.length), Pn[t << 7 | e] = r, r;
|
|
2044
2059
|
}
|
|
2045
2060
|
function P(t, e, n, s, o) {
|
|
2046
2061
|
const r = t.meta();
|
|
2047
|
-
return r === void 0 || !
|
|
2062
|
+
return r === void 0 || !As(r) ? x(e, s) : (e !== 0 && (i += b[e]), i = i + b[n] + T(t), o);
|
|
2048
2063
|
}
|
|
2049
|
-
function
|
|
2064
|
+
function Mt(t, e, n, s, o) {
|
|
2050
2065
|
n !== 0 && (i += b[n]);
|
|
2051
2066
|
const r = i.length;
|
|
2052
|
-
return
|
|
2067
|
+
return S(
|
|
2053
2068
|
e,
|
|
2054
2069
|
r,
|
|
2055
2070
|
r + s.length,
|
|
@@ -2059,10 +2074,10 @@ function Kt(t, e, n, s, o) {
|
|
|
2059
2074
|
o
|
|
2060
2075
|
), i += s, 0;
|
|
2061
2076
|
}
|
|
2062
|
-
function
|
|
2077
|
+
function jt(t, e, n, s) {
|
|
2063
2078
|
n !== 0 && (i += b[n]);
|
|
2064
2079
|
const o = i.length;
|
|
2065
|
-
return
|
|
2080
|
+
return F(e, o, o + s.length, t.value_start, t.value_end), i += s, 0;
|
|
2066
2081
|
}
|
|
2067
2082
|
function $(t, e, n) {
|
|
2068
2083
|
const s = t.words;
|
|
@@ -2084,13 +2099,13 @@ function $(t, e, n) {
|
|
|
2084
2099
|
], u = s[
|
|
2085
2100
|
l + 4
|
|
2086
2101
|
/* value_end */
|
|
2087
|
-
], d =
|
|
2102
|
+
], d = _t(t, o, c, u, !1);
|
|
2088
2103
|
if (n !== 0 && (i += b[n], n = 0), c !== 4294967295 && u > c) {
|
|
2089
2104
|
const h = i.length;
|
|
2090
|
-
|
|
2105
|
+
F(e, h, h + d.length, c, u);
|
|
2091
2106
|
}
|
|
2092
2107
|
i += d;
|
|
2093
|
-
} else a !== 6 && (t.move_to(o), n =
|
|
2108
|
+
} else a !== 6 && (t.move_to(o), n = ce(t, e, n));
|
|
2094
2109
|
const f = s[
|
|
2095
2110
|
l + 6
|
|
2096
2111
|
/* next */
|
|
@@ -2103,10 +2118,10 @@ function $(t, e, n) {
|
|
|
2103
2118
|
}
|
|
2104
2119
|
return t.move_to(r !== 4294967295 ? r : o), n;
|
|
2105
2120
|
}
|
|
2106
|
-
function
|
|
2107
|
-
if (
|
|
2108
|
-
const o =
|
|
2109
|
-
if (o !== null) return
|
|
2121
|
+
function ce(t, e, n) {
|
|
2122
|
+
if (bt) {
|
|
2123
|
+
const o = Zt(t);
|
|
2124
|
+
if (o !== null) return ao(t, e, n, o);
|
|
2110
2125
|
}
|
|
2111
2126
|
let s = t.kind;
|
|
2112
2127
|
switch (s) {
|
|
@@ -2125,101 +2140,101 @@ function le(t, e, n) {
|
|
|
2125
2140
|
case 21: {
|
|
2126
2141
|
if (s === 3) {
|
|
2127
2142
|
const r = t.extra;
|
|
2128
|
-
s = r >= 1 && r <= 6 ?
|
|
2143
|
+
s = r >= 1 && r <= 6 ? Ut + r : Ut;
|
|
2129
2144
|
}
|
|
2130
2145
|
const o = i.length + w[n];
|
|
2131
|
-
return n = P(t, n,
|
|
2146
|
+
return n = P(t, n, Cn[s], On[s], Dn[s]), n = $(t, e, n), n = x(n, Nn[s]), U(e, o, t), n;
|
|
2132
2147
|
}
|
|
2133
2148
|
case 16: {
|
|
2134
2149
|
const o = i.length + w[n], r = t.meta();
|
|
2135
|
-
return r === void 0 ? n = x(n,
|
|
2150
|
+
return r === void 0 ? n = x(n, ae) : n = P(t, n, eo, ae, A), r !== void 0 && typeof r.checked == "boolean" ? n = Si(t, e, n, r.checked) : n = $(t, e, n), n = x(n, Ie), U(e, o, t), n;
|
|
2136
2151
|
}
|
|
2137
2152
|
case 8: {
|
|
2138
2153
|
if (C !== null) {
|
|
2139
|
-
const l =
|
|
2154
|
+
const l = en(t);
|
|
2140
2155
|
if (l !== null)
|
|
2141
|
-
return
|
|
2156
|
+
return Js(
|
|
2142
2157
|
t,
|
|
2143
2158
|
e,
|
|
2144
2159
|
n,
|
|
2145
|
-
|
|
2160
|
+
Mn(t, l),
|
|
2146
2161
|
l.body,
|
|
2147
|
-
|
|
2162
|
+
jn(l),
|
|
2148
2163
|
null
|
|
2149
2164
|
);
|
|
2150
2165
|
}
|
|
2151
2166
|
const o = i.length + w[n];
|
|
2152
|
-
n = P(t, n,
|
|
2153
|
-
let r =
|
|
2154
|
-
return
|
|
2155
|
-
`) !== -1 && (r = r.replace(/\n/g, " ")),
|
|
2167
|
+
n = P(t, n, Or, Dr, A);
|
|
2168
|
+
let r = Fe(t);
|
|
2169
|
+
return W.call(r, `
|
|
2170
|
+
`) !== -1 && (r = r.replace(/\n/g, " ")), jt(t, e, n, r), U(e, o, t), bn;
|
|
2156
2171
|
}
|
|
2157
2172
|
case 15: {
|
|
2158
2173
|
const o = i.length + w[n], r = t.meta(), l = !!(r != null && r.ordered), a = r == null ? void 0 : r.start;
|
|
2159
|
-
return l && a != null && a !== 1 ? (n !== 0 && (i += b[n]), i += '<ol start="' + String(a), n = P(t, 0,
|
|
2174
|
+
return l && a != null && a !== 1 ? (n !== 0 && (i += b[n]), i += '<ol start="' + String(a), n = P(t, 0, it, Tr, ot)) : l ? n = P(t, n, Br, Ur, ot) : n = P(t, n, Hr, Vr, ot), n = $(t, e, n), n = x(n, l ? Ir : Gr), U(e, o, t), n;
|
|
2160
2175
|
}
|
|
2161
2176
|
case 11: {
|
|
2162
2177
|
const o = i.length + w[n];
|
|
2163
|
-
return n = x(n,
|
|
2178
|
+
return n = x(n, Kr), U(e, o, t), n;
|
|
2164
2179
|
}
|
|
2165
2180
|
case 17:
|
|
2166
|
-
return x(n,
|
|
2181
|
+
return x(n, Mr);
|
|
2167
2182
|
case 18:
|
|
2168
|
-
return x(n,
|
|
2183
|
+
return x(n, Cr);
|
|
2169
2184
|
case 22: {
|
|
2170
2185
|
const o = i.length + w[n];
|
|
2171
|
-
return n = P(t, n,
|
|
2186
|
+
return n = P(t, n, $r, kr, ot), n = Ti(t, e, n), n = x(n, Wr), U(e, o, t), n;
|
|
2172
2187
|
}
|
|
2173
2188
|
case 6:
|
|
2174
2189
|
return n;
|
|
2175
2190
|
case 2:
|
|
2176
|
-
return
|
|
2191
|
+
return Ai(t, e, n);
|
|
2177
2192
|
case 28:
|
|
2178
|
-
return
|
|
2193
|
+
return Li(t, e, n);
|
|
2179
2194
|
case 5:
|
|
2180
|
-
return
|
|
2195
|
+
return qi(t, e, n);
|
|
2181
2196
|
case 12: {
|
|
2182
2197
|
const o = i.length + w[n];
|
|
2183
2198
|
n !== 0 && (i += b[n]);
|
|
2184
2199
|
const r = t.meta();
|
|
2185
2200
|
let l = "<a";
|
|
2186
|
-
return r != null && r.href && (l +=
|
|
2201
|
+
return r != null && r.href && (l += He(r.href, !1)), r != null && r.title && (l += ' title="' + D(r.title) + '"'), i = i + l + T(t, Qe), n = $(t, e, A), n = x(n, Pr), U(e, o, t), n;
|
|
2187
2202
|
}
|
|
2188
2203
|
case 13: {
|
|
2189
2204
|
const o = i.length + w[n];
|
|
2190
2205
|
n !== 0 && (i += b[n]);
|
|
2191
2206
|
const r = t.meta();
|
|
2192
|
-
let l =
|
|
2193
|
-
return l += ' alt="' + D(
|
|
2207
|
+
let l = Hn(r == null ? void 0 : r.src);
|
|
2208
|
+
return l += ' alt="' + D(ve(t)) + '"', r != null && r.title && (l += ' title="' + D(r.title) + '"'), i = i + l + T(t, Ye), U(e, o, t), he;
|
|
2194
2209
|
}
|
|
2195
2210
|
case 26: {
|
|
2196
2211
|
const o = i.length + w[n];
|
|
2197
|
-
return n = x(n,
|
|
2212
|
+
return n = x(n, jr), jt(t, e, n, Rt(t)), U(e, o, t), wn;
|
|
2198
2213
|
}
|
|
2199
2214
|
case 4: {
|
|
2200
2215
|
const o = i.length + w[n];
|
|
2201
|
-
return n = x(n,
|
|
2216
|
+
return n = x(n, zr), jt(t, e, n, t.text()), U(e, o, t), Z;
|
|
2202
2217
|
}
|
|
2203
2218
|
case 27: {
|
|
2204
2219
|
n !== 0 && (i += b[n]);
|
|
2205
2220
|
const o = i.length, r = t.meta(), l = r == null ? void 0 : r.tag, a = t.text();
|
|
2206
|
-
return i = i + "{@" + O(l), a &&
|
|
2221
|
+
return i = i + "{@" + O(l), a && jt(t, e, kt, a), U(e, o, t), Z;
|
|
2207
2222
|
}
|
|
2208
2223
|
case 34:
|
|
2209
|
-
return t.index !==
|
|
2224
|
+
return t.index !== It ? n : (n !== 0 && (i += b[n]), i += Ht, le(t, e, !0), i += "<\/script>", 0);
|
|
2210
2225
|
default:
|
|
2211
|
-
return t.kind >= 35 ? t.kind === 36 ?
|
|
2226
|
+
return t.kind >= 35 ? t.kind === 36 ? ll(t, e, n, !0) : n : (nt && fo(t), $(t, e, n));
|
|
2212
2227
|
}
|
|
2213
2228
|
}
|
|
2214
|
-
function
|
|
2215
|
-
const o = s ?
|
|
2229
|
+
function Si(t, e, n, s) {
|
|
2230
|
+
const o = s ? ro : no, r = An(t);
|
|
2216
2231
|
if (r === 4294967295) return $(t, e, x(n, o));
|
|
2217
2232
|
const l = t.words, a = t.index;
|
|
2218
|
-
if (t.move_to(r),
|
|
2219
|
-
|
|
2233
|
+
if (t.move_to(r), bt && Zt(t) !== null)
|
|
2234
|
+
$t = r, qn = b[o], n = ce(t, e, n), $t = -1;
|
|
2220
2235
|
else {
|
|
2221
2236
|
const c = i.length + w[n];
|
|
2222
|
-
n = P(t, n,
|
|
2237
|
+
n = P(t, n, Be, Ue, A), n = x(n, o), n = $(t, e, n), n = x(n, Kt), U(e, c, t);
|
|
2223
2238
|
}
|
|
2224
2239
|
let f = l[
|
|
2225
2240
|
r * 12 + 6
|
|
@@ -2233,25 +2248,25 @@ function ui(t, e, n, s) {
|
|
|
2233
2248
|
f * 12 + 6
|
|
2234
2249
|
/* next */
|
|
2235
2250
|
];
|
|
2236
|
-
t.move_to(f), n =
|
|
2251
|
+
t.move_to(f), n = ce(t, e, n), f = c;
|
|
2237
2252
|
}
|
|
2238
2253
|
return t.move_to(a), n;
|
|
2239
2254
|
}
|
|
2240
|
-
function
|
|
2241
|
-
const s =
|
|
2255
|
+
function qi(t, e, n) {
|
|
2256
|
+
const s = Vt(t, t.meta());
|
|
2242
2257
|
if (C !== null) {
|
|
2243
|
-
const r =
|
|
2258
|
+
const r = tn(t, s);
|
|
2244
2259
|
if (r !== null)
|
|
2245
|
-
return
|
|
2260
|
+
return Js(t, e, n, Gn(t, r), r.body, Kn(r), r.live);
|
|
2246
2261
|
}
|
|
2247
2262
|
const o = i.length + w[n];
|
|
2248
|
-
return s ? (n !== 0 && (i += b[n]), i += '<pre><code class="language-' +
|
|
2263
|
+
return s ? (n !== 0 && (i += b[n]), i += '<pre><code class="language-' + Me(Gt(s)), n = P(t, 0, it, Lr, A)) : n = P(t, n, Nr, Rr, A), Ar(t, e, n, ze(t), !0), U(e, o, t), mn;
|
|
2249
2264
|
}
|
|
2250
|
-
function
|
|
2265
|
+
function Ai(t, e, n) {
|
|
2251
2266
|
n !== 0 && (i += b[n]);
|
|
2252
2267
|
const s = i.length, o = t.meta(), r = o == null ? void 0 : o.tag;
|
|
2253
|
-
if (
|
|
2254
|
-
return i +=
|
|
2268
|
+
if (Je(t, r))
|
|
2269
|
+
return i += Sn(t), F(e, s, i.length, t.start, t.end), 0;
|
|
2255
2270
|
const l = !!(o != null && o.self_closing), a = l && !t.synthetic && t.end > t.start ? t.slice(t.start, t.end) : "";
|
|
2256
2271
|
if (a)
|
|
2257
2272
|
i += a;
|
|
@@ -2262,28 +2277,28 @@ function hi(t, e, n) {
|
|
|
2262
2277
|
const u = !t.synthetic;
|
|
2263
2278
|
for (const d in c) {
|
|
2264
2279
|
const h = c[d];
|
|
2265
|
-
h === !0 ? f += " " + d : typeof h == "object" && h.type === "expression" ? f +=
|
|
2280
|
+
h === !0 ? f += " " + d : typeof h == "object" && h.type === "expression" ? f += we(d, O(h.value)) : f += " " + d + '="' + Jt(h, u) + '"';
|
|
2266
2281
|
}
|
|
2267
|
-
o.repeated !== void 0 && (f +=
|
|
2282
|
+
o.repeated !== void 0 && (f += $e(o.repeated, u));
|
|
2268
2283
|
}
|
|
2269
2284
|
if (l)
|
|
2270
|
-
return i += f,
|
|
2285
|
+
return i += f, F(e, s, i.length + w[Bt], t.start, t.end), Bt;
|
|
2271
2286
|
i += f;
|
|
2272
2287
|
}
|
|
2273
2288
|
if (l)
|
|
2274
|
-
return
|
|
2275
|
-
if (
|
|
2276
|
-
t.index === ht ? (i = i + b[
|
|
2277
|
-
`,
|
|
2289
|
+
return F(e, s, i.length, t.start, t.end), 0;
|
|
2290
|
+
if (Ge(r))
|
|
2291
|
+
t.index === ht ? (i = i + b[A] + `
|
|
2292
|
+
`, le(t, e, !0), jt(t, e, 0, t.text())) : t.index === wt ? (i = i + b[A] + `
|
|
2278
2293
|
` + mt + `
|
|
2279
|
-
`,
|
|
2294
|
+
`, jt(t, e, 0, t.text())) : jt(t, e, A, t.text());
|
|
2280
2295
|
else {
|
|
2281
|
-
const f = $(t, e,
|
|
2296
|
+
const f = $(t, e, A);
|
|
2282
2297
|
f !== 0 && (i += b[f]);
|
|
2283
2298
|
}
|
|
2284
|
-
return i = i + "</" + O(r), U(e, s, t),
|
|
2299
|
+
return i = i + "</" + O(r), U(e, s, t), A;
|
|
2285
2300
|
}
|
|
2286
|
-
function
|
|
2301
|
+
function Li(t, e, n) {
|
|
2287
2302
|
var l;
|
|
2288
2303
|
n !== 0 && (i += b[n]), n = 0;
|
|
2289
2304
|
const s = i.length, o = t.meta(), r = O(o == null ? void 0 : o.tag);
|
|
@@ -2292,30 +2307,30 @@ function gi(t, e, n) {
|
|
|
2292
2307
|
do
|
|
2293
2308
|
if (t.kind === 29) {
|
|
2294
2309
|
const f = t.text();
|
|
2295
|
-
n !== 0 && (i += b[n]), a ? (i = i + "{#" + r, a = !1) : i = i + "{:" + O((l = t.meta()) == null ? void 0 : l.tag), f && (i += " ",
|
|
2310
|
+
n !== 0 && (i += b[n]), a ? (i = i + "{#" + r, a = !1) : i = i + "{:" + O((l = t.meta()) == null ? void 0 : l.tag), f && (i += " ", F(
|
|
2296
2311
|
e,
|
|
2297
2312
|
i.length,
|
|
2298
2313
|
i.length + f.length,
|
|
2299
2314
|
t.value_start,
|
|
2300
2315
|
t.value_end
|
|
2301
|
-
), i += f), n = $(t, e,
|
|
2302
|
-
} else t.kind !== 6 && (n =
|
|
2316
|
+
), i += f), n = $(t, e, Fr);
|
|
2317
|
+
} else t.kind !== 6 && (n = ce(t, e, n));
|
|
2303
2318
|
while (t.goto_next_sibling());
|
|
2304
2319
|
t.goto_parent();
|
|
2305
2320
|
}
|
|
2306
2321
|
return n !== 0 && (i += b[n]), i = i + "{/" + r, U(e, s, t), Z;
|
|
2307
2322
|
}
|
|
2308
|
-
function
|
|
2309
|
-
if (
|
|
2310
|
-
const s = t.meta(), o = (s == null ? void 0 : s.alignments) ?? [], r =
|
|
2323
|
+
function Ti(t, e, n) {
|
|
2324
|
+
if (ke) return Un(t, e, n);
|
|
2325
|
+
const s = t.meta(), o = (s == null ? void 0 : s.alignments) ?? [], r = xe(s, o);
|
|
2311
2326
|
let l = !1;
|
|
2312
2327
|
if (!t.goto_first_child()) return n;
|
|
2313
2328
|
do
|
|
2314
|
-
t.kind === 23 ? (n = x(n,
|
|
2329
|
+
t.kind === 23 ? (n = x(n, Jr), n = r ? Co(t, e, "th", o, 0, pe, n) : To(t, e, oo, ye, "th", o, n), n = x(n, Qr)) : t.kind === 24 && (l || (n = x(n, Yr), l = !0), n = x(n, Xr), n = r ? Co(t, e, "td", o, Qt, Yt, n) : To(t, e, so, Ee, "td", o, n), n = x(n, to));
|
|
2315
2330
|
while (t.goto_next_sibling());
|
|
2316
|
-
return t.goto_parent(), l && (n = x(n,
|
|
2331
|
+
return t.goto_parent(), l && (n = x(n, Zr)), n;
|
|
2317
2332
|
}
|
|
2318
|
-
function
|
|
2333
|
+
function To(t, e, n, s, o, r, l) {
|
|
2319
2334
|
let a = 0;
|
|
2320
2335
|
if (!t.goto_first_child()) return l;
|
|
2321
2336
|
do
|
|
@@ -2326,17 +2341,17 @@ function yo(t, e, n, s, o, r, l) {
|
|
|
2326
2341
|
while (t.goto_next_sibling());
|
|
2327
2342
|
return t.goto_parent(), l;
|
|
2328
2343
|
}
|
|
2329
|
-
function
|
|
2344
|
+
function Co(t, e, n, s, o, r, l) {
|
|
2330
2345
|
if (!t.goto_first_child()) return l;
|
|
2331
2346
|
do
|
|
2332
2347
|
if (t.kind === 25) {
|
|
2333
|
-
const a = t.extra, f = a < o || a >= r, c =
|
|
2334
|
-
l !== 0 && (i += b[l]), i += f ? '<th scope="row"' + c + ">" : "<" + n + c + ">", l = $(t, e, 0), l = x(l, f || n === "th" ?
|
|
2348
|
+
const a = t.extra, f = a < o || a >= r, c = Ze(t, a, s);
|
|
2349
|
+
l !== 0 && (i += b[l]), i += f ? '<th scope="row"' + c + ">" : "<" + n + c + ">", l = $(t, e, 0), l = x(l, f || n === "th" ? ye : Ee);
|
|
2335
2350
|
}
|
|
2336
2351
|
while (t.goto_next_sibling());
|
|
2337
2352
|
return t.goto_parent(), l;
|
|
2338
2353
|
}
|
|
2339
|
-
function
|
|
2354
|
+
function k(t, e, n) {
|
|
2340
2355
|
const s = t.words;
|
|
2341
2356
|
let o = s[
|
|
2342
2357
|
t.index * 12 + 8
|
|
@@ -2356,10 +2371,10 @@ function W(t, e, n) {
|
|
|
2356
2371
|
], u = s[
|
|
2357
2372
|
l + 4
|
|
2358
2373
|
/* value_end */
|
|
2359
|
-
], d =
|
|
2374
|
+
], d = _t(t, o, c, u, !1);
|
|
2360
2375
|
if (n !== 0 && (i += b[n], n = 0), c !== 4294967295 && u > c) {
|
|
2361
2376
|
const h = i.length;
|
|
2362
|
-
|
|
2377
|
+
S(
|
|
2363
2378
|
e,
|
|
2364
2379
|
h,
|
|
2365
2380
|
h + d.length,
|
|
@@ -2371,7 +2386,7 @@ function W(t, e, n) {
|
|
|
2371
2386
|
);
|
|
2372
2387
|
}
|
|
2373
2388
|
i += d;
|
|
2374
|
-
} else a !== 6 && (t.move_to(o), n =
|
|
2389
|
+
} else a !== 6 && (t.move_to(o), n = ue(t, e, n));
|
|
2375
2390
|
const f = s[
|
|
2376
2391
|
l + 6
|
|
2377
2392
|
/* next */
|
|
@@ -2384,18 +2399,18 @@ function W(t, e, n) {
|
|
|
2384
2399
|
}
|
|
2385
2400
|
return t.move_to(r !== 4294967295 ? r : o), n;
|
|
2386
2401
|
}
|
|
2387
|
-
function
|
|
2388
|
-
if (
|
|
2389
|
-
const o =
|
|
2390
|
-
if (o !== null) return
|
|
2402
|
+
function ue(t, e, n) {
|
|
2403
|
+
if (bt) {
|
|
2404
|
+
const o = Zt(t);
|
|
2405
|
+
if (o !== null) return ao(t, e, n, o);
|
|
2391
2406
|
}
|
|
2392
2407
|
let s = t.kind;
|
|
2393
2408
|
switch (s) {
|
|
2394
2409
|
case 0:
|
|
2395
|
-
return
|
|
2410
|
+
return k(t, e, n);
|
|
2396
2411
|
case 7:
|
|
2397
2412
|
if (t.pending && t.parent_kind === 16)
|
|
2398
|
-
return
|
|
2413
|
+
return k(t, e, n);
|
|
2399
2414
|
// falls through
|
|
2400
2415
|
case 3:
|
|
2401
2416
|
case 9:
|
|
@@ -2406,14 +2421,14 @@ function ie(t, e, n) {
|
|
|
2406
2421
|
case 21: {
|
|
2407
2422
|
if (s === 3) {
|
|
2408
2423
|
const a = t.extra;
|
|
2409
|
-
s = a >= 1 && a <= 6 ?
|
|
2424
|
+
s = a >= 1 && a <= 6 ? Ut + a : Ut;
|
|
2410
2425
|
}
|
|
2411
2426
|
const o = i.length + w[n];
|
|
2412
|
-
n = P(t, n,
|
|
2427
|
+
n = P(t, n, Cn[s], On[s], Dn[s]);
|
|
2413
2428
|
const r = i.length + w[n];
|
|
2414
|
-
n =
|
|
2429
|
+
n = k(t, e, n);
|
|
2415
2430
|
const l = i.length + w[n];
|
|
2416
|
-
return n = x(n,
|
|
2431
|
+
return n = x(n, Nn[s]), L(
|
|
2417
2432
|
e,
|
|
2418
2433
|
o,
|
|
2419
2434
|
r,
|
|
@@ -2426,11 +2441,11 @@ function ie(t, e, n) {
|
|
|
2426
2441
|
}
|
|
2427
2442
|
case 16: {
|
|
2428
2443
|
const o = i.length + w[n], r = t.meta();
|
|
2429
|
-
r === void 0 ? n = x(n,
|
|
2444
|
+
r === void 0 ? n = x(n, ae) : n = P(t, n, eo, ae, A);
|
|
2430
2445
|
const l = i.length + w[n];
|
|
2431
|
-
r !== void 0 && typeof r.checked == "boolean" ? n =
|
|
2446
|
+
r !== void 0 && typeof r.checked == "boolean" ? n = Ci(t, e, n, r.checked) : n = k(t, e, n);
|
|
2432
2447
|
const a = i.length + w[n];
|
|
2433
|
-
return n = x(n,
|
|
2448
|
+
return n = x(n, Ie), L(
|
|
2434
2449
|
e,
|
|
2435
2450
|
o,
|
|
2436
2451
|
l,
|
|
@@ -2443,24 +2458,24 @@ function ie(t, e, n) {
|
|
|
2443
2458
|
}
|
|
2444
2459
|
case 8: {
|
|
2445
2460
|
if (C !== null) {
|
|
2446
|
-
const f =
|
|
2461
|
+
const f = en(t);
|
|
2447
2462
|
if (f !== null)
|
|
2448
|
-
return
|
|
2463
|
+
return Qs(
|
|
2449
2464
|
t,
|
|
2450
2465
|
e,
|
|
2451
2466
|
n,
|
|
2452
|
-
|
|
2467
|
+
Mn(t, f),
|
|
2453
2468
|
f.body,
|
|
2454
|
-
|
|
2469
|
+
jn(f),
|
|
2455
2470
|
null
|
|
2456
2471
|
);
|
|
2457
2472
|
}
|
|
2458
2473
|
const o = i.length + w[n];
|
|
2459
|
-
n = P(t, n,
|
|
2474
|
+
n = P(t, n, Or, Dr, A);
|
|
2460
2475
|
const r = i.length + w[n];
|
|
2461
|
-
let l =
|
|
2462
|
-
|
|
2463
|
-
`) !== -1 && (l = l.replace(/\n/g, " ")),
|
|
2476
|
+
let l = Fe(t);
|
|
2477
|
+
W.call(l, `
|
|
2478
|
+
`) !== -1 && (l = l.replace(/\n/g, " ")), Mt(
|
|
2464
2479
|
t,
|
|
2465
2480
|
e,
|
|
2466
2481
|
n,
|
|
@@ -2469,24 +2484,24 @@ function ie(t, e, n) {
|
|
|
2469
2484
|
/* CODE_CONTENT */
|
|
2470
2485
|
);
|
|
2471
2486
|
const a = i.length;
|
|
2472
|
-
return
|
|
2487
|
+
return L(
|
|
2473
2488
|
e,
|
|
2474
2489
|
o,
|
|
2475
2490
|
r,
|
|
2476
2491
|
a,
|
|
2477
|
-
a + w[
|
|
2492
|
+
a + w[bn],
|
|
2478
2493
|
t,
|
|
2479
2494
|
1
|
|
2480
2495
|
/* CODE */
|
|
2481
|
-
),
|
|
2496
|
+
), bn;
|
|
2482
2497
|
}
|
|
2483
2498
|
case 15: {
|
|
2484
2499
|
const o = i.length + w[n], r = t.meta(), l = !!(r != null && r.ordered), a = r == null ? void 0 : r.start;
|
|
2485
|
-
l && a != null && a !== 1 ? (n !== 0 && (i += b[n]), i += '<ol start="' + String(a), n = P(t, 0,
|
|
2500
|
+
l && a != null && a !== 1 ? (n !== 0 && (i += b[n]), i += '<ol start="' + String(a), n = P(t, 0, it, Tr, ot)) : l ? n = P(t, n, Br, Ur, ot) : n = P(t, n, Hr, Vr, ot);
|
|
2486
2501
|
const f = i.length + w[n];
|
|
2487
|
-
n =
|
|
2502
|
+
n = k(t, e, n);
|
|
2488
2503
|
const c = i.length + w[n];
|
|
2489
|
-
return n = x(n, l ?
|
|
2504
|
+
return n = x(n, l ? Ir : Gr), L(
|
|
2490
2505
|
e,
|
|
2491
2506
|
o,
|
|
2492
2507
|
f,
|
|
@@ -2499,9 +2514,9 @@ function ie(t, e, n) {
|
|
|
2499
2514
|
}
|
|
2500
2515
|
case 11: {
|
|
2501
2516
|
const o = i.length + w[n];
|
|
2502
|
-
n = x(n,
|
|
2517
|
+
n = x(n, Kr);
|
|
2503
2518
|
const r = i.length + w[n];
|
|
2504
|
-
if (
|
|
2519
|
+
if (S(
|
|
2505
2520
|
e,
|
|
2506
2521
|
o,
|
|
2507
2522
|
r,
|
|
@@ -2511,7 +2526,7 @@ function ie(t, e, n) {
|
|
|
2511
2526
|
12
|
|
2512
2527
|
), e.syntax && t.end !== 4294967295) {
|
|
2513
2528
|
const l = t.value_start;
|
|
2514
|
-
|
|
2529
|
+
S(
|
|
2515
2530
|
e,
|
|
2516
2531
|
o,
|
|
2517
2532
|
r,
|
|
@@ -2525,16 +2540,16 @@ function ie(t, e, n) {
|
|
|
2525
2540
|
return n;
|
|
2526
2541
|
}
|
|
2527
2542
|
case 17:
|
|
2528
|
-
return x(n,
|
|
2543
|
+
return x(n, Mr);
|
|
2529
2544
|
case 18:
|
|
2530
|
-
return x(n,
|
|
2545
|
+
return x(n, Cr);
|
|
2531
2546
|
case 22: {
|
|
2532
2547
|
const o = i.length + w[n];
|
|
2533
|
-
n = P(t, n,
|
|
2548
|
+
n = P(t, n, $r, kr, ot);
|
|
2534
2549
|
const r = i.length + w[n];
|
|
2535
|
-
n =
|
|
2550
|
+
n = Ri(t, e, n);
|
|
2536
2551
|
const l = i.length + w[n];
|
|
2537
|
-
return n = x(n,
|
|
2552
|
+
return n = x(n, Wr), L(
|
|
2538
2553
|
e,
|
|
2539
2554
|
o,
|
|
2540
2555
|
r,
|
|
@@ -2548,21 +2563,21 @@ function ie(t, e, n) {
|
|
|
2548
2563
|
case 6:
|
|
2549
2564
|
return n;
|
|
2550
2565
|
case 2:
|
|
2551
|
-
return
|
|
2566
|
+
return Di(t, e, n);
|
|
2552
2567
|
case 28:
|
|
2553
|
-
return
|
|
2568
|
+
return Ni(t, e, n);
|
|
2554
2569
|
case 5:
|
|
2555
|
-
return
|
|
2570
|
+
return Oi(t, e, n);
|
|
2556
2571
|
case 12: {
|
|
2557
2572
|
const o = i.length + w[n];
|
|
2558
2573
|
n !== 0 && (i += b[n]);
|
|
2559
2574
|
const r = t.meta();
|
|
2560
2575
|
let l = "<a";
|
|
2561
|
-
r != null && r.href && (l +=
|
|
2562
|
-
const a = i.length + w[
|
|
2563
|
-
n =
|
|
2576
|
+
r != null && r.href && (l += He(r.href, !1)), r != null && r.title && (l += ' title="' + D(r.title) + '"'), i = i + l + T(t, Qe);
|
|
2577
|
+
const a = i.length + w[A];
|
|
2578
|
+
n = k(t, e, A);
|
|
2564
2579
|
const f = i.length + w[n];
|
|
2565
|
-
return n = x(n,
|
|
2580
|
+
return n = x(n, Pr), L(
|
|
2566
2581
|
e,
|
|
2567
2582
|
o,
|
|
2568
2583
|
a,
|
|
@@ -2577,10 +2592,10 @@ function ie(t, e, n) {
|
|
|
2577
2592
|
const o = i.length + w[n];
|
|
2578
2593
|
n !== 0 && (i += b[n]);
|
|
2579
2594
|
const r = t.meta();
|
|
2580
|
-
let l =
|
|
2581
|
-
l += ' alt="' + D(
|
|
2582
|
-
const a =
|
|
2583
|
-
return
|
|
2595
|
+
let l = Hn(r == null ? void 0 : r.src);
|
|
2596
|
+
l += ' alt="' + D(ve(t)) + '"', r != null && r.title && (l += ' title="' + D(r.title) + '"'), i = i + l + T(t, Ye);
|
|
2597
|
+
const a = he;
|
|
2598
|
+
return S(
|
|
2584
2599
|
e,
|
|
2585
2600
|
o,
|
|
2586
2601
|
i.length + w[a],
|
|
@@ -2592,9 +2607,9 @@ function ie(t, e, n) {
|
|
|
2592
2607
|
}
|
|
2593
2608
|
case 26: {
|
|
2594
2609
|
const o = i.length + w[n];
|
|
2595
|
-
n = x(n,
|
|
2610
|
+
n = x(n, jr);
|
|
2596
2611
|
const r = i.length + w[n];
|
|
2597
|
-
|
|
2612
|
+
Mt(
|
|
2598
2613
|
t,
|
|
2599
2614
|
e,
|
|
2600
2615
|
n,
|
|
@@ -2603,22 +2618,22 @@ function ie(t, e, n) {
|
|
|
2603
2618
|
/* TEXT_CONTENT */
|
|
2604
2619
|
);
|
|
2605
2620
|
const l = i.length;
|
|
2606
|
-
return
|
|
2621
|
+
return L(
|
|
2607
2622
|
e,
|
|
2608
2623
|
o,
|
|
2609
2624
|
r,
|
|
2610
2625
|
l,
|
|
2611
|
-
l + w[
|
|
2626
|
+
l + w[wn],
|
|
2612
2627
|
t,
|
|
2613
2628
|
0
|
|
2614
2629
|
/* TEXT */
|
|
2615
|
-
),
|
|
2630
|
+
), wn;
|
|
2616
2631
|
}
|
|
2617
2632
|
case 4: {
|
|
2618
2633
|
const o = i.length + w[n];
|
|
2619
|
-
n = x(n,
|
|
2634
|
+
n = x(n, zr);
|
|
2620
2635
|
const r = i.length + w[n];
|
|
2621
|
-
|
|
2636
|
+
Mt(
|
|
2622
2637
|
t,
|
|
2623
2638
|
e,
|
|
2624
2639
|
n,
|
|
@@ -2627,7 +2642,7 @@ function ie(t, e, n) {
|
|
|
2627
2642
|
/* SVELTE_CONTENT */
|
|
2628
2643
|
);
|
|
2629
2644
|
const l = i.length;
|
|
2630
|
-
return
|
|
2645
|
+
return L(
|
|
2631
2646
|
e,
|
|
2632
2647
|
o,
|
|
2633
2648
|
r,
|
|
@@ -2643,16 +2658,16 @@ function ie(t, e, n) {
|
|
|
2643
2658
|
const o = i.length, r = t.meta(), l = r == null ? void 0 : r.tag, a = t.text();
|
|
2644
2659
|
i = i + "{@" + O(l);
|
|
2645
2660
|
let f = i.length;
|
|
2646
|
-
a && (f += 1,
|
|
2661
|
+
a && (f += 1, Mt(
|
|
2647
2662
|
t,
|
|
2648
2663
|
e,
|
|
2649
|
-
|
|
2664
|
+
kt,
|
|
2650
2665
|
a,
|
|
2651
2666
|
9
|
|
2652
2667
|
/* SVELTE_CONTENT */
|
|
2653
2668
|
));
|
|
2654
2669
|
const c = i.length;
|
|
2655
|
-
return
|
|
2670
|
+
return L(
|
|
2656
2671
|
e,
|
|
2657
2672
|
o,
|
|
2658
2673
|
f,
|
|
@@ -2664,24 +2679,24 @@ function ie(t, e, n) {
|
|
|
2664
2679
|
), Z;
|
|
2665
2680
|
}
|
|
2666
2681
|
case 34:
|
|
2667
|
-
return t.index !==
|
|
2682
|
+
return t.index !== It ? n : (n !== 0 && (i += b[n]), i += Ht, le(t, e, !1), i += "<\/script>", 0);
|
|
2668
2683
|
default:
|
|
2669
|
-
return t.kind >= 35 ? t.kind === 36 ?
|
|
2684
|
+
return t.kind >= 35 ? t.kind === 36 ? ll(t, e, n, !1) : n : (nt && fo(t), k(t, e, n));
|
|
2670
2685
|
}
|
|
2671
2686
|
}
|
|
2672
|
-
function
|
|
2673
|
-
const o = s ?
|
|
2674
|
-
if (r === 4294967295) return
|
|
2687
|
+
function Ci(t, e, n, s) {
|
|
2688
|
+
const o = s ? ro : no, r = An(t);
|
|
2689
|
+
if (r === 4294967295) return k(t, e, x(n, o));
|
|
2675
2690
|
const l = t.words, a = t.index;
|
|
2676
|
-
if (t.move_to(r),
|
|
2677
|
-
|
|
2691
|
+
if (t.move_to(r), bt && Zt(t) !== null)
|
|
2692
|
+
$t = r, qn = b[o], n = ue(t, e, n), $t = -1;
|
|
2678
2693
|
else {
|
|
2679
2694
|
const c = i.length + w[n];
|
|
2680
|
-
n = P(t, n,
|
|
2695
|
+
n = P(t, n, Be, Ue, A);
|
|
2681
2696
|
const u = i.length + w[n];
|
|
2682
|
-
n = x(n, o), n =
|
|
2697
|
+
n = x(n, o), n = k(t, e, n);
|
|
2683
2698
|
const d = i.length + w[n];
|
|
2684
|
-
n = x(n,
|
|
2699
|
+
n = x(n, Kt), L(
|
|
2685
2700
|
e,
|
|
2686
2701
|
c,
|
|
2687
2702
|
u,
|
|
@@ -2704,38 +2719,38 @@ function bi(t, e, n, s) {
|
|
|
2704
2719
|
f * 12 + 6
|
|
2705
2720
|
/* next */
|
|
2706
2721
|
];
|
|
2707
|
-
t.move_to(f), n =
|
|
2722
|
+
t.move_to(f), n = ue(t, e, n), f = c;
|
|
2708
2723
|
}
|
|
2709
2724
|
return t.move_to(a), n;
|
|
2710
2725
|
}
|
|
2711
|
-
function
|
|
2712
|
-
const s =
|
|
2726
|
+
function Oi(t, e, n) {
|
|
2727
|
+
const s = Vt(t, t.meta());
|
|
2713
2728
|
if (C !== null) {
|
|
2714
|
-
const a =
|
|
2729
|
+
const a = tn(t, s);
|
|
2715
2730
|
if (a !== null)
|
|
2716
|
-
return
|
|
2731
|
+
return Qs(t, e, n, Gn(t, a), a.body, Kn(a), a.live);
|
|
2717
2732
|
}
|
|
2718
2733
|
const o = i.length + w[n];
|
|
2719
|
-
s ? (n !== 0 && (i += b[n]), i += '<pre><code class="language-' +
|
|
2734
|
+
s ? (n !== 0 && (i += b[n]), i += '<pre><code class="language-' + Me(Gt(s)), n = P(t, 0, it, Lr, A)) : n = P(t, n, Nr, Rr, A);
|
|
2720
2735
|
const r = i.length + w[n];
|
|
2721
|
-
|
|
2736
|
+
Ar(t, e, n, ze(t), !1);
|
|
2722
2737
|
const l = i.length;
|
|
2723
|
-
return
|
|
2738
|
+
return L(
|
|
2724
2739
|
e,
|
|
2725
2740
|
o,
|
|
2726
2741
|
r,
|
|
2727
2742
|
l,
|
|
2728
|
-
l + w[
|
|
2743
|
+
l + w[mn],
|
|
2729
2744
|
t,
|
|
2730
2745
|
1
|
|
2731
2746
|
/* CODE */
|
|
2732
|
-
),
|
|
2747
|
+
), mn;
|
|
2733
2748
|
}
|
|
2734
|
-
function
|
|
2749
|
+
function Di(t, e, n) {
|
|
2735
2750
|
n !== 0 && (i += b[n]);
|
|
2736
2751
|
const s = i.length, o = t.meta(), r = o == null ? void 0 : o.tag;
|
|
2737
|
-
if (
|
|
2738
|
-
return i +=
|
|
2752
|
+
if (Je(t, r))
|
|
2753
|
+
return i += Sn(t), S(
|
|
2739
2754
|
e,
|
|
2740
2755
|
s,
|
|
2741
2756
|
i.length,
|
|
@@ -2754,25 +2769,25 @@ function wi(t, e, n) {
|
|
|
2754
2769
|
if (d) {
|
|
2755
2770
|
const h = !t.synthetic;
|
|
2756
2771
|
for (const v in d) {
|
|
2757
|
-
const
|
|
2758
|
-
|
|
2772
|
+
const E = d[v];
|
|
2773
|
+
E === !0 ? u += " " + v : typeof E == "object" && E.type === "expression" ? u += we(v, O(E.value)) : u += " " + v + '="' + Jt(E, h) + '"';
|
|
2759
2774
|
}
|
|
2760
|
-
o.repeated !== void 0 && (u +=
|
|
2775
|
+
o.repeated !== void 0 && (u += $e(o.repeated, h));
|
|
2761
2776
|
}
|
|
2762
2777
|
if (i += u, l)
|
|
2763
|
-
return
|
|
2778
|
+
return S(
|
|
2764
2779
|
e,
|
|
2765
2780
|
s,
|
|
2766
|
-
i.length + w[
|
|
2781
|
+
i.length + w[Bt],
|
|
2767
2782
|
t.start,
|
|
2768
2783
|
t.end,
|
|
2769
2784
|
t.index,
|
|
2770
2785
|
9
|
|
2771
2786
|
/* SVELTE_CONTENT */
|
|
2772
|
-
),
|
|
2787
|
+
), Bt;
|
|
2773
2788
|
}
|
|
2774
2789
|
if (l)
|
|
2775
|
-
return
|
|
2790
|
+
return S(
|
|
2776
2791
|
e,
|
|
2777
2792
|
s,
|
|
2778
2793
|
i.length,
|
|
@@ -2782,50 +2797,50 @@ function wi(t, e, n) {
|
|
|
2782
2797
|
9
|
|
2783
2798
|
/* SVELTE_CONTENT */
|
|
2784
2799
|
), 0;
|
|
2785
|
-
const f = i.length + w[
|
|
2786
|
-
if (
|
|
2787
|
-
t.index === ht ? (i = i + b[
|
|
2788
|
-
`,
|
|
2800
|
+
const f = i.length + w[A];
|
|
2801
|
+
if (Ge(r))
|
|
2802
|
+
t.index === ht ? (i = i + b[A] + `
|
|
2803
|
+
`, le(t, e, !1), Mt(
|
|
2789
2804
|
t,
|
|
2790
2805
|
e,
|
|
2791
2806
|
0,
|
|
2792
2807
|
t.text(),
|
|
2793
2808
|
9
|
|
2794
2809
|
/* SVELTE_CONTENT */
|
|
2795
|
-
)) : t.index === wt ? (i = i + b[
|
|
2810
|
+
)) : t.index === wt ? (i = i + b[A] + `
|
|
2796
2811
|
` + mt + `
|
|
2797
|
-
`,
|
|
2812
|
+
`, Mt(
|
|
2798
2813
|
t,
|
|
2799
2814
|
e,
|
|
2800
2815
|
0,
|
|
2801
2816
|
t.text(),
|
|
2802
2817
|
9
|
|
2803
2818
|
/* SVELTE_CONTENT */
|
|
2804
|
-
)) :
|
|
2819
|
+
)) : Mt(
|
|
2805
2820
|
t,
|
|
2806
2821
|
e,
|
|
2807
|
-
|
|
2822
|
+
A,
|
|
2808
2823
|
t.text(),
|
|
2809
2824
|
9
|
|
2810
2825
|
/* SVELTE_CONTENT */
|
|
2811
2826
|
);
|
|
2812
2827
|
else {
|
|
2813
|
-
const u =
|
|
2828
|
+
const u = k(t, e, A);
|
|
2814
2829
|
u !== 0 && (i += b[u]);
|
|
2815
2830
|
}
|
|
2816
2831
|
const c = i.length;
|
|
2817
|
-
return i = i + "</" + O(r),
|
|
2832
|
+
return i = i + "</" + O(r), L(
|
|
2818
2833
|
e,
|
|
2819
2834
|
s,
|
|
2820
2835
|
f,
|
|
2821
2836
|
c,
|
|
2822
|
-
i.length + w[
|
|
2837
|
+
i.length + w[A],
|
|
2823
2838
|
t,
|
|
2824
2839
|
0
|
|
2825
2840
|
/* TEXT */
|
|
2826
|
-
),
|
|
2841
|
+
), A;
|
|
2827
2842
|
}
|
|
2828
|
-
function
|
|
2843
|
+
function Ni(t, e, n) {
|
|
2829
2844
|
var l;
|
|
2830
2845
|
n !== 0 && (i += b[n]), n = 0;
|
|
2831
2846
|
const s = i.length, o = t.meta(), r = O(o == null ? void 0 : o.tag);
|
|
@@ -2834,7 +2849,7 @@ function vi(t, e, n) {
|
|
|
2834
2849
|
do
|
|
2835
2850
|
if (t.kind === 29) {
|
|
2836
2851
|
const f = t.text();
|
|
2837
|
-
n !== 0 && (i += b[n]), a ? (i = i + "{#" + r, a = !1) : i = i + "{:" + O((l = t.meta()) == null ? void 0 : l.tag), f && (i += " ",
|
|
2852
|
+
n !== 0 && (i += b[n]), a ? (i = i + "{#" + r, a = !1) : i = i + "{:" + O((l = t.meta()) == null ? void 0 : l.tag), f && (i += " ", S(
|
|
2838
2853
|
e,
|
|
2839
2854
|
i.length,
|
|
2840
2855
|
i.length + f.length,
|
|
@@ -2843,12 +2858,12 @@ function vi(t, e, n) {
|
|
|
2843
2858
|
t.index,
|
|
2844
2859
|
9
|
|
2845
2860
|
/* SVELTE_CONTENT */
|
|
2846
|
-
), i += f), n =
|
|
2847
|
-
} else t.kind !== 6 && (n =
|
|
2861
|
+
), i += f), n = k(t, e, Fr);
|
|
2862
|
+
} else t.kind !== 6 && (n = ue(t, e, n));
|
|
2848
2863
|
while (t.goto_next_sibling());
|
|
2849
2864
|
t.goto_parent();
|
|
2850
2865
|
}
|
|
2851
|
-
return n !== 0 && (i += b[n]), i = i + "{/" + r,
|
|
2866
|
+
return n !== 0 && (i += b[n]), i = i + "{/" + r, S(
|
|
2852
2867
|
e,
|
|
2853
2868
|
s,
|
|
2854
2869
|
i.length + w[Z],
|
|
@@ -2859,52 +2874,52 @@ function vi(t, e, n) {
|
|
|
2859
2874
|
/* SVELTE_NODE */
|
|
2860
2875
|
), Z;
|
|
2861
2876
|
}
|
|
2862
|
-
function
|
|
2863
|
-
if (
|
|
2864
|
-
const s = t.meta(), o = (s == null ? void 0 : s.alignments) ?? [], r =
|
|
2877
|
+
function Ri(t, e, n) {
|
|
2878
|
+
if (ke) return Un(t, e, n);
|
|
2879
|
+
const s = t.meta(), o = (s == null ? void 0 : s.alignments) ?? [], r = xe(s, o);
|
|
2865
2880
|
let l = !1;
|
|
2866
2881
|
if (!t.goto_first_child()) return n;
|
|
2867
2882
|
do
|
|
2868
|
-
t.kind === 23 ? (n = x(n,
|
|
2883
|
+
t.kind === 23 ? (n = x(n, Jr), n = r ? Do(t, e, "th", o, 0, pe, n) : Oo(t, e, oo, ye, "th", o, n), n = x(n, Qr)) : t.kind === 24 && (l || (n = x(n, Yr), l = !0), n = x(n, Xr), n = r ? Do(t, e, "td", o, Qt, Yt, n) : Oo(t, e, so, Ee, "td", o, n), n = x(n, to));
|
|
2869
2884
|
while (t.goto_next_sibling());
|
|
2870
|
-
return t.goto_parent(), l && (n = x(n,
|
|
2885
|
+
return t.goto_parent(), l && (n = x(n, Zr)), n;
|
|
2871
2886
|
}
|
|
2872
|
-
function
|
|
2887
|
+
function Oo(t, e, n, s, o, r, l) {
|
|
2873
2888
|
let a = 0;
|
|
2874
2889
|
if (!t.goto_first_child()) return l;
|
|
2875
2890
|
do
|
|
2876
2891
|
if (t.kind === 25) {
|
|
2877
2892
|
const f = r[a];
|
|
2878
|
-
f === "left" ? l = x(l, n[1]) : f === "center" ? l = x(l, n[2]) : f === "right" ? l = x(l, n[3]) : f && f !== "none" ? (l !== 0 && (i += b[l]), i += `<${o} align="${f}">`, l = 0) : l = x(l, n[0]), l =
|
|
2893
|
+
f === "left" ? l = x(l, n[1]) : f === "center" ? l = x(l, n[2]) : f === "right" ? l = x(l, n[3]) : f && f !== "none" ? (l !== 0 && (i += b[l]), i += `<${o} align="${f}">`, l = 0) : l = x(l, n[0]), l = k(t, e, l), l = x(l, s), a++;
|
|
2879
2894
|
}
|
|
2880
2895
|
while (t.goto_next_sibling());
|
|
2881
2896
|
return t.goto_parent(), l;
|
|
2882
2897
|
}
|
|
2883
|
-
function
|
|
2898
|
+
function Do(t, e, n, s, o, r, l) {
|
|
2884
2899
|
if (!t.goto_first_child()) return l;
|
|
2885
2900
|
do
|
|
2886
2901
|
if (t.kind === 25) {
|
|
2887
|
-
const a = t.extra, f = a < o || a >= r, c =
|
|
2888
|
-
l !== 0 && (i += b[l]), i += f ? '<th scope="row"' + c + ">" : "<" + n + c + ">", l =
|
|
2902
|
+
const a = t.extra, f = a < o || a >= r, c = Ze(t, a, s);
|
|
2903
|
+
l !== 0 && (i += b[l]), i += f ? '<th scope="row"' + c + ">" : "<" + n + c + ">", l = k(t, e, 0), l = x(l, f || n === "th" ? ye : Ee);
|
|
2889
2904
|
}
|
|
2890
2905
|
while (t.goto_next_sibling());
|
|
2891
2906
|
return t.goto_parent(), l;
|
|
2892
2907
|
}
|
|
2893
|
-
function
|
|
2894
|
-
|
|
2895
|
-
const e = et ?
|
|
2896
|
-
let n =
|
|
2897
|
-
return
|
|
2908
|
+
function Ls(t) {
|
|
2909
|
+
j = dt;
|
|
2910
|
+
const e = et ? po(t, void 0, 0, 0, !1) : fe(t, 0);
|
|
2911
|
+
let n = j;
|
|
2912
|
+
return j = "", e !== 0 && (n += b[e]), n.length !== 0 && (lr[0] = n.charCodeAt(0)), n;
|
|
2898
2913
|
}
|
|
2899
|
-
const
|
|
2900
|
-
function
|
|
2914
|
+
const Pi = ["", "h1", "h2", "h3", "h4", "h5", "h6"], No = ["thead", "tbody", "tr", "th", "td"];
|
|
2915
|
+
function Ts(t) {
|
|
2901
2916
|
var e;
|
|
2902
2917
|
switch (t.kind) {
|
|
2903
2918
|
case 7:
|
|
2904
2919
|
return t.pending && t.parent_kind === 16 ? "" : "p";
|
|
2905
2920
|
case 3: {
|
|
2906
2921
|
const n = t.extra;
|
|
2907
|
-
return n >= 1 && n <= 6 ?
|
|
2922
|
+
return n >= 1 && n <= 6 ? Pi[n] : "";
|
|
2908
2923
|
}
|
|
2909
2924
|
case 9:
|
|
2910
2925
|
return "em";
|
|
@@ -2925,7 +2940,7 @@ function xs(t) {
|
|
|
2925
2940
|
case 8:
|
|
2926
2941
|
return t.extra === 1 && C !== null && C.math === !0 ? "math" : "code";
|
|
2927
2942
|
case 5:
|
|
2928
|
-
return C !== null && C.math === !0 &&
|
|
2943
|
+
return C !== null && C.math === !0 && oa(t) ? "math" : "pre";
|
|
2929
2944
|
case 12:
|
|
2930
2945
|
return "a";
|
|
2931
2946
|
case 13:
|
|
@@ -2939,21 +2954,21 @@ function xs(t) {
|
|
|
2939
2954
|
case 22:
|
|
2940
2955
|
return "table";
|
|
2941
2956
|
case 2:
|
|
2942
|
-
return
|
|
2957
|
+
return We ? Cs(t) : Ui(t);
|
|
2943
2958
|
default:
|
|
2944
2959
|
return "";
|
|
2945
2960
|
}
|
|
2946
2961
|
}
|
|
2947
|
-
const
|
|
2948
|
-
function
|
|
2949
|
-
return t.synthetic ?
|
|
2962
|
+
const Bi = /^[a-z][a-z0-9-]*$/;
|
|
2963
|
+
function Ui(t) {
|
|
2964
|
+
return t.synthetic ? Cs(t) : "";
|
|
2950
2965
|
}
|
|
2951
|
-
function
|
|
2966
|
+
function Cs(t) {
|
|
2952
2967
|
var n;
|
|
2953
2968
|
const e = (n = t.meta()) == null ? void 0 : n.tag;
|
|
2954
|
-
return typeof e != "string" || e === "script" || e === "style" ? "" :
|
|
2969
|
+
return typeof e != "string" || e === "script" || e === "style" ? "" : Bi.test(e) ? e : "";
|
|
2955
2970
|
}
|
|
2956
|
-
const
|
|
2971
|
+
const Ro = [
|
|
2957
2972
|
"bind:",
|
|
2958
2973
|
"on:",
|
|
2959
2974
|
"use:",
|
|
@@ -2965,116 +2980,142 @@ const Lo = [
|
|
|
2965
2980
|
"animate:",
|
|
2966
2981
|
"let:"
|
|
2967
2982
|
];
|
|
2968
|
-
function
|
|
2983
|
+
function Os(t) {
|
|
2969
2984
|
var n;
|
|
2970
2985
|
const e = (n = t.meta()) == null ? void 0 : n.attributes;
|
|
2971
2986
|
if (e === void 0) return "";
|
|
2972
2987
|
for (const s in e) {
|
|
2973
|
-
const o =
|
|
2988
|
+
const o = W.call(s, ":");
|
|
2974
2989
|
if (o !== -1)
|
|
2975
|
-
for (let r = 0; r <
|
|
2976
|
-
const l =
|
|
2990
|
+
for (let r = 0; r < Ro.length; r++) {
|
|
2991
|
+
const l = Ro[r];
|
|
2977
2992
|
if (l.length === o + 1 && s.startsWith(l)) return s;
|
|
2978
2993
|
}
|
|
2979
2994
|
}
|
|
2980
2995
|
return "";
|
|
2981
2996
|
}
|
|
2982
|
-
function
|
|
2997
|
+
function Zt(t) {
|
|
2983
2998
|
const e = t.kind;
|
|
2984
2999
|
if (e >= 30 && e <= 32)
|
|
2985
|
-
return
|
|
2986
|
-
const n =
|
|
3000
|
+
return Oe.get(Xe(t)) ?? null;
|
|
3001
|
+
const n = Ts(t);
|
|
2987
3002
|
if (n === "") return null;
|
|
2988
|
-
const s =
|
|
2989
|
-
return s === void 0 ||
|
|
3003
|
+
const s = z.get(n);
|
|
3004
|
+
return s === void 0 || We && t.kind === 2 && Os(t) !== "" ? null : s;
|
|
2990
3005
|
}
|
|
2991
|
-
function
|
|
3006
|
+
function Xe(t) {
|
|
2992
3007
|
var n;
|
|
2993
3008
|
const e = (n = t.meta()) == null ? void 0 : n.name;
|
|
2994
3009
|
return typeof e == "string" ? e : "";
|
|
2995
3010
|
}
|
|
2996
|
-
function
|
|
2997
|
-
|
|
3011
|
+
function Ds(t) {
|
|
3012
|
+
_n.has(t) || (_n.add(t), Pt.push(t));
|
|
2998
3013
|
}
|
|
2999
3014
|
function qt(t) {
|
|
3000
|
-
const e =
|
|
3001
|
-
return e !== void 0 &&
|
|
3002
|
-
}
|
|
3003
|
-
function
|
|
3004
|
-
if (
|
|
3005
|
-
const n =
|
|
3006
|
-
n === "" ? qt(e) :
|
|
3015
|
+
const e = z.get(t);
|
|
3016
|
+
return e !== void 0 && Ds(e), e;
|
|
3017
|
+
}
|
|
3018
|
+
function Ii(t, e) {
|
|
3019
|
+
if (z.get(e) === void 0) return;
|
|
3020
|
+
const n = Os(t);
|
|
3021
|
+
n === "" ? qt(e) : Re.push({ tag: e, directive: n, start: t.start });
|
|
3022
|
+
}
|
|
3023
|
+
function Hi(t, e) {
|
|
3024
|
+
gn = !0, Le.has(t.specifier) || (Le.add(t.specifier), Ne.push(t.specifier));
|
|
3025
|
+
const n = e.imports;
|
|
3026
|
+
if (n !== void 0)
|
|
3027
|
+
for (let s = 0; s < n.length; s++) {
|
|
3028
|
+
const o = n[s];
|
|
3029
|
+
Le.has(o) || (Le.add(o), ee += o);
|
|
3030
|
+
}
|
|
3007
3031
|
}
|
|
3008
|
-
function
|
|
3032
|
+
function io(t) {
|
|
3009
3033
|
if (t.goto_first_child()) {
|
|
3010
3034
|
do {
|
|
3011
3035
|
const e = t.kind;
|
|
3012
3036
|
if (!(e === 1 || e === 6)) {
|
|
3013
3037
|
if (e >= 30 && e <= 32) {
|
|
3014
|
-
const n =
|
|
3015
|
-
n !== void 0
|
|
3038
|
+
const n = Oe.get(Xe(t));
|
|
3039
|
+
if (n !== void 0) {
|
|
3040
|
+
const s = n.static === !0 ? Is(t, n) : void 0;
|
|
3041
|
+
s === void 0 ? Ds(n) : Hi(n, s);
|
|
3042
|
+
}
|
|
3016
3043
|
} else if (e === 37)
|
|
3017
3044
|
qt("footnotes");
|
|
3018
3045
|
else {
|
|
3019
|
-
const n =
|
|
3020
|
-
n !== "" && (
|
|
3046
|
+
const n = Ts(t);
|
|
3047
|
+
n !== "" && (We && e === 2 ? Ii(t, n) : qt(n));
|
|
3021
3048
|
}
|
|
3022
|
-
e === 22 ?
|
|
3049
|
+
e === 22 ? Vi(t) : e !== 13 && e !== 8 && e !== 5 && io(t);
|
|
3023
3050
|
}
|
|
3024
3051
|
} while (t.goto_next_sibling());
|
|
3025
3052
|
t.goto_parent();
|
|
3026
3053
|
}
|
|
3027
3054
|
}
|
|
3028
|
-
function
|
|
3055
|
+
function Vi(t) {
|
|
3029
3056
|
const e = t.meta();
|
|
3030
3057
|
let n = 0, s = 2147483647;
|
|
3031
|
-
if (
|
|
3058
|
+
if (xe(e, (e == null ? void 0 : e.alignments) ?? []) && (n = Qt, s = Yt), !t.goto_first_child()) return;
|
|
3032
3059
|
let o = !1;
|
|
3033
3060
|
do {
|
|
3034
3061
|
const r = t.kind;
|
|
3035
|
-
r === 23 ? (qt("thead"), qt("tr"),
|
|
3062
|
+
r === 23 ? (qt("thead"), qt("tr"), Po(t, "th", 0, 2147483647)) : r === 24 && (o || (qt("tbody"), o = !0), qt("tr"), Po(t, "td", n, s));
|
|
3036
3063
|
} while (t.goto_next_sibling());
|
|
3037
3064
|
t.goto_parent();
|
|
3038
3065
|
}
|
|
3039
|
-
function
|
|
3066
|
+
function Po(t, e, n, s) {
|
|
3040
3067
|
if (t.goto_first_child()) {
|
|
3041
3068
|
do
|
|
3042
3069
|
if (t.kind === 25) {
|
|
3043
3070
|
const o = t.extra;
|
|
3044
|
-
qt(o < n || o >= s ? "th" : e),
|
|
3071
|
+
qt(o < n || o >= s ? "th" : e), io(t);
|
|
3045
3072
|
}
|
|
3046
3073
|
while (t.goto_next_sibling());
|
|
3047
3074
|
t.goto_parent();
|
|
3048
3075
|
}
|
|
3049
3076
|
}
|
|
3050
|
-
const
|
|
3051
|
-
function
|
|
3052
|
-
|
|
3053
|
-
const
|
|
3054
|
-
if (
|
|
3055
|
-
|
|
3056
|
-
for (let
|
|
3057
|
-
const
|
|
3058
|
-
|
|
3077
|
+
const Bo = new xl([], "");
|
|
3078
|
+
function Yn(t, e, n, s, o, r) {
|
|
3079
|
+
z = e ?? Bo, Oe = n ?? Bo, r !== void 0 && Oe.has_static && (De = r), I = s, We = o, io(t);
|
|
3080
|
+
const l = Re.length === 0 ? qr : Re.splice(0);
|
|
3081
|
+
if (Pt.length === 0 && !gn) return l;
|
|
3082
|
+
bt = !0;
|
|
3083
|
+
for (let a = 0; a < No.length; a++) {
|
|
3084
|
+
const f = z.get(No[a]);
|
|
3085
|
+
f !== void 0 && _n.has(f) && (ke = !0);
|
|
3059
3086
|
}
|
|
3060
|
-
return
|
|
3087
|
+
return gn && (ee = Gi() + ee), lt = os(Pt) + ee, l;
|
|
3088
|
+
}
|
|
3089
|
+
function Gi() {
|
|
3090
|
+
let t = "";
|
|
3091
|
+
for (let e = 0; e < Ne.length; e++) {
|
|
3092
|
+
const n = Ne[e];
|
|
3093
|
+
let s = !1;
|
|
3094
|
+
for (let o = 0; o < Pt.length; o++)
|
|
3095
|
+
if (Pt[o].specifier === n) {
|
|
3096
|
+
s = !0;
|
|
3097
|
+
break;
|
|
3098
|
+
}
|
|
3099
|
+
s || (t += yl(n));
|
|
3100
|
+
}
|
|
3101
|
+
return t;
|
|
3061
3102
|
}
|
|
3062
|
-
function
|
|
3063
|
-
|
|
3103
|
+
function Zn() {
|
|
3104
|
+
bt = !1, ke = !1, z = null, Oe = null, De = null, gn = !1, Ne.length !== 0 && (Ne.length = 0, Le.clear(), ee = ""), I = 0, We = !1, lt = "", dt = "", Re.length !== 0 && (Re.length = 0), Pt.length !== 0 && (Pt.length = 0, _n.clear());
|
|
3064
3105
|
}
|
|
3065
|
-
function
|
|
3106
|
+
function q(t, e) {
|
|
3066
3107
|
return I === 0 ? y(t, e) : (t !== 0 && (i += b[t]), i += e, 0);
|
|
3067
3108
|
}
|
|
3068
|
-
function
|
|
3109
|
+
function Wt(t, e, n) {
|
|
3069
3110
|
if (I === 0) return J(t, n);
|
|
3070
|
-
const s = I === 1 ? $(t, e, n) :
|
|
3111
|
+
const s = I === 1 ? $(t, e, n) : k(t, e, n);
|
|
3071
3112
|
return s !== 0 && (i += b[s]), 0;
|
|
3072
3113
|
}
|
|
3073
|
-
function
|
|
3114
|
+
function ir(t, e, n, s, o = 5) {
|
|
3074
3115
|
if (I === 0) return y(n, s);
|
|
3075
3116
|
n !== 0 && (i += b[n]);
|
|
3076
3117
|
const r = i.length;
|
|
3077
|
-
return I === 1 ?
|
|
3118
|
+
return I === 1 ? F(e, r, r + s.length, t.value_start, t.value_end) : S(
|
|
3078
3119
|
e,
|
|
3079
3120
|
r,
|
|
3080
3121
|
r + s.length,
|
|
@@ -3084,16 +3125,16 @@ function er(t, e, n, s, o = 5) {
|
|
|
3084
3125
|
o
|
|
3085
3126
|
), i += s, 0;
|
|
3086
3127
|
}
|
|
3087
|
-
function
|
|
3088
|
-
I === 1 ? U(e, n, t) : I === 2 &&
|
|
3128
|
+
function ne(t, e, n, s, o, r, l) {
|
|
3129
|
+
I === 1 ? U(e, n, t) : I === 2 && L(e, n, s, o, r, t, l);
|
|
3089
3130
|
}
|
|
3090
|
-
function
|
|
3131
|
+
function re(t, e, n, s) {
|
|
3091
3132
|
if (I === 1) U(e, n, t);
|
|
3092
3133
|
else if (I === 2) {
|
|
3093
3134
|
const o = i.length;
|
|
3094
|
-
if (
|
|
3135
|
+
if (S(e, n, o, t.start, t.end, t.index, s << 2), s === 3 && e.syntax && t.end !== 4294967295) {
|
|
3095
3136
|
const r = t.value_start;
|
|
3096
|
-
|
|
3137
|
+
S(
|
|
3097
3138
|
e,
|
|
3098
3139
|
n,
|
|
3099
3140
|
o,
|
|
@@ -3106,21 +3147,21 @@ function Se(t, e, n, s) {
|
|
|
3106
3147
|
}
|
|
3107
3148
|
}
|
|
3108
3149
|
}
|
|
3109
|
-
let
|
|
3110
|
-
function
|
|
3150
|
+
let dn = 0;
|
|
3151
|
+
function sn(t, e) {
|
|
3111
3152
|
for (; ; ) {
|
|
3112
3153
|
const n = t.charCodeAt(e);
|
|
3113
3154
|
if (n !== 32 && n !== 9 && n !== 10) return e;
|
|
3114
3155
|
e++;
|
|
3115
3156
|
}
|
|
3116
3157
|
}
|
|
3117
|
-
function
|
|
3158
|
+
function Ki(t, e, n) {
|
|
3118
3159
|
const s = t.source;
|
|
3119
3160
|
let o = t.start + 1;
|
|
3120
3161
|
if (!s.startsWith(e, o)) return -1;
|
|
3121
3162
|
if (o += e.length, n !== void 0)
|
|
3122
3163
|
for (const l in n) {
|
|
3123
|
-
const a = n[l], f =
|
|
3164
|
+
const a = n[l], f = sn(s, o);
|
|
3124
3165
|
if (f === o) return -1;
|
|
3125
3166
|
if (o = f, s.charCodeAt(o) === 123) {
|
|
3126
3167
|
if (typeof a != "object" || a === null || a.value !== l || !s.startsWith(l, o + 1) || s.charCodeAt(o + 1 + l.length) !== 125)
|
|
@@ -3130,8 +3171,8 @@ function Ai(t, e, n) {
|
|
|
3130
3171
|
}
|
|
3131
3172
|
if (!s.startsWith(l, o)) return -1;
|
|
3132
3173
|
if (o += l.length, a === !0) continue;
|
|
3133
|
-
if (o =
|
|
3134
|
-
o =
|
|
3174
|
+
if (o = sn(s, o), s.charCodeAt(o) !== 61) return -1;
|
|
3175
|
+
o = sn(s, o + 1);
|
|
3135
3176
|
let c, u = -1, d = -1;
|
|
3136
3177
|
if (typeof a == "string") {
|
|
3137
3178
|
c = a;
|
|
@@ -3150,26 +3191,26 @@ function Ai(t, e, n) {
|
|
|
3150
3191
|
o++;
|
|
3151
3192
|
}
|
|
3152
3193
|
}
|
|
3153
|
-
|
|
3194
|
+
dn = o, o = sn(s, o);
|
|
3154
3195
|
const r = s.charCodeAt(o);
|
|
3155
3196
|
return r === 62 ? o + 1 : r === 47 && s.charCodeAt(o + 1) === 62 ? o + 2 : -1;
|
|
3156
3197
|
}
|
|
3157
|
-
function
|
|
3198
|
+
function Mi(t, e, n) {
|
|
3158
3199
|
if (t.length === 2 && t.charCodeAt(0) === 104) {
|
|
3159
3200
|
const s = t.charCodeAt(1) - 48;
|
|
3160
|
-
if (s >= 1 && s <= 6 && !
|
|
3201
|
+
if (s >= 1 && s <= 6 && !Uo(e, n, "level"))
|
|
3161
3202
|
return " level={" + s + "}";
|
|
3162
|
-
} else if (t === "ol" && !
|
|
3203
|
+
} else if (t === "ol" && !Uo(e, n, "start"))
|
|
3163
3204
|
return " start={1}";
|
|
3164
3205
|
return "";
|
|
3165
3206
|
}
|
|
3166
|
-
function
|
|
3167
|
-
return e !== void 0 ?
|
|
3207
|
+
function Uo(t, e, n) {
|
|
3208
|
+
return e !== void 0 ? fl(e, n) : t !== void 0 && n in t;
|
|
3168
3209
|
}
|
|
3169
|
-
function
|
|
3210
|
+
function ji(t, e, n, s, o, r, l) {
|
|
3170
3211
|
if (I === 0) return;
|
|
3171
3212
|
const a = n + (o - s);
|
|
3172
|
-
I === 1 ? (
|
|
3213
|
+
I === 1 ? (F(e, n, a, s, o), F(e, a, r, o, l)) : (o > s && S(
|
|
3173
3214
|
e,
|
|
3174
3215
|
n,
|
|
3175
3216
|
a,
|
|
@@ -3178,7 +3219,7 @@ function Ti(t, e, n, s, o, r, l) {
|
|
|
3178
3219
|
t.index,
|
|
3179
3220
|
9
|
|
3180
3221
|
/* SVELTE_CONTENT */
|
|
3181
|
-
),
|
|
3222
|
+
), S(
|
|
3182
3223
|
e,
|
|
3183
3224
|
a,
|
|
3184
3225
|
r,
|
|
@@ -3192,8 +3233,8 @@ function Ti(t, e, n, s, o, r, l) {
|
|
|
3192
3233
|
function X(t, e) {
|
|
3193
3234
|
return " " + t + "={" + JSON.stringify(e) + "}";
|
|
3194
3235
|
}
|
|
3195
|
-
function
|
|
3196
|
-
if (B !== null) return
|
|
3236
|
+
function Vt(t, e) {
|
|
3237
|
+
if (B !== null) return ra(t, e);
|
|
3197
3238
|
let n = e == null ? void 0 : e.info;
|
|
3198
3239
|
if (!n) {
|
|
3199
3240
|
const s = e == null ? void 0 : e.info_start, o = e == null ? void 0 : e.info_end;
|
|
@@ -3201,12 +3242,12 @@ function Ht(t, e) {
|
|
|
3201
3242
|
}
|
|
3202
3243
|
return n;
|
|
3203
3244
|
}
|
|
3204
|
-
function
|
|
3205
|
-
var
|
|
3245
|
+
function ao(t, e, n, s) {
|
|
3246
|
+
var E;
|
|
3206
3247
|
I !== 0 && n !== 0 && (i += b[n], n = 0);
|
|
3207
3248
|
const o = t.kind;
|
|
3208
3249
|
if (o >= 30 && o <= 32)
|
|
3209
|
-
return
|
|
3250
|
+
return ki(t, e, n, s);
|
|
3210
3251
|
const r = i.length, l = s.local;
|
|
3211
3252
|
let a = "<" + l, f = "", c = "</" + l + ">", u = 0, d = !1;
|
|
3212
3253
|
switch (o) {
|
|
@@ -3215,12 +3256,12 @@ function no(t, e, n, s) {
|
|
|
3215
3256
|
break;
|
|
3216
3257
|
case 12: {
|
|
3217
3258
|
const g = t.meta();
|
|
3218
|
-
g != null && g.href && (a +=
|
|
3259
|
+
g != null && g.href && (a += He(g.href, !1)), g != null && g.title && (a += ' title="' + D(g.title) + '"'), a += T(t, Qe);
|
|
3219
3260
|
break;
|
|
3220
3261
|
}
|
|
3221
3262
|
case 13: {
|
|
3222
3263
|
const g = t.meta();
|
|
3223
|
-
return g != null && g.src && (a +=
|
|
3264
|
+
return g != null && g.src && (a += He(g.src, !0)), a += ' alt="' + D(ve(t)) + '"', g != null && g.title && (a += ' title="' + D(g.title) + '"'), n = q(n, a + T(t, Ye) + " />"), re(
|
|
3224
3265
|
t,
|
|
3225
3266
|
e,
|
|
3226
3267
|
r,
|
|
@@ -3229,7 +3270,7 @@ function no(t, e, n, s) {
|
|
|
3229
3270
|
), n;
|
|
3230
3271
|
}
|
|
3231
3272
|
case 11:
|
|
3232
|
-
return n =
|
|
3273
|
+
return n = q(n, a + T(t) + " />"), re(
|
|
3233
3274
|
t,
|
|
3234
3275
|
e,
|
|
3235
3276
|
r,
|
|
@@ -3237,12 +3278,12 @@ function no(t, e, n, s) {
|
|
|
3237
3278
|
/* STRUCTURE */
|
|
3238
3279
|
), n;
|
|
3239
3280
|
case 17:
|
|
3240
|
-
return
|
|
3281
|
+
return q(n, a + T(t) + ` />
|
|
3241
3282
|
`);
|
|
3242
3283
|
case 36:
|
|
3243
|
-
return
|
|
3284
|
+
return ya(t, e, n, r, a, c);
|
|
3244
3285
|
case 7:
|
|
3245
|
-
a += T(t), t.index ===
|
|
3286
|
+
a += T(t), t.index === $t && (f = qn);
|
|
3246
3287
|
break;
|
|
3247
3288
|
case 15: {
|
|
3248
3289
|
const g = t.meta();
|
|
@@ -3256,7 +3297,7 @@ function no(t, e, n, s) {
|
|
|
3256
3297
|
break;
|
|
3257
3298
|
}
|
|
3258
3299
|
case 16: {
|
|
3259
|
-
const g = (
|
|
3300
|
+
const g = (E = t.meta()) == null ? void 0 : E.checked;
|
|
3260
3301
|
a += T(t), typeof g == "boolean" && (a += " checked={" + g + "}"), c += `
|
|
3261
3302
|
`;
|
|
3262
3303
|
break;
|
|
@@ -3273,17 +3314,17 @@ function no(t, e, n, s) {
|
|
|
3273
3314
|
break;
|
|
3274
3315
|
case 8: {
|
|
3275
3316
|
if (C !== null) {
|
|
3276
|
-
const V =
|
|
3317
|
+
const V = en(t);
|
|
3277
3318
|
if (V !== null)
|
|
3278
|
-
return s.name === "math" ?
|
|
3319
|
+
return s.name === "math" ? ia(t, e, n, V, a, c) : aa(t, e, n, V, a, c);
|
|
3279
3320
|
}
|
|
3280
|
-
n =
|
|
3321
|
+
n = q(n, a + T(t) + ">");
|
|
3281
3322
|
const g = i.length;
|
|
3282
|
-
let p =
|
|
3283
|
-
|
|
3284
|
-
`) !== -1 && (p = p.replace(/\n/g, " ")), n =
|
|
3323
|
+
let p = Fe(t);
|
|
3324
|
+
W.call(p, `
|
|
3325
|
+
`) !== -1 && (p = p.replace(/\n/g, " ")), n = ir(t, e, n, p);
|
|
3285
3326
|
const N = i.length;
|
|
3286
|
-
return n =
|
|
3327
|
+
return n = q(n, c), ne(
|
|
3287
3328
|
t,
|
|
3288
3329
|
e,
|
|
3289
3330
|
r,
|
|
@@ -3295,21 +3336,21 @@ function no(t, e, n, s) {
|
|
|
3295
3336
|
), n;
|
|
3296
3337
|
}
|
|
3297
3338
|
case 5: {
|
|
3298
|
-
const g =
|
|
3339
|
+
const g = Vt(t, t.meta());
|
|
3299
3340
|
if (C !== null) {
|
|
3300
|
-
const H =
|
|
3341
|
+
const H = tn(t, g);
|
|
3301
3342
|
if (H !== null)
|
|
3302
|
-
return s.name === "math" ?
|
|
3343
|
+
return s.name === "math" ? la(t, e, n, H, g, a, c) : sa(t, e, n, H, g, a, c);
|
|
3303
3344
|
}
|
|
3304
3345
|
a += T(t);
|
|
3305
3346
|
let p = "<code>";
|
|
3306
3347
|
if (g) {
|
|
3307
|
-
const H =
|
|
3308
|
-
a += X("lang", H), tt && (a += X("meta", tt), yt !== null && (a += yt.pre_props(tt, t.start))), p = '<code class="language-' +
|
|
3348
|
+
const H = Gt(g), tt = Vn(g);
|
|
3349
|
+
a += X("lang", H), tt && (a += X("meta", tt), yt !== null && (a += yt.pre_props(tt, t.start))), p = '<code class="language-' + Me(H) + '">';
|
|
3309
3350
|
}
|
|
3310
|
-
B !== null && (a +=
|
|
3311
|
-
const N = i.length, V =
|
|
3312
|
-
n = I === 0 ? y(n, V) :
|
|
3351
|
+
B !== null && (a += $s(t)), n = q(n, a + X("code", yn(t)) + "><pre>" + p);
|
|
3352
|
+
const N = i.length, V = ze(t);
|
|
3353
|
+
n = I === 0 ? y(n, V) : Ar(
|
|
3313
3354
|
t,
|
|
3314
3355
|
e,
|
|
3315
3356
|
n,
|
|
@@ -3317,69 +3358,69 @@ function no(t, e, n, s) {
|
|
|
3317
3358
|
I === 1
|
|
3318
3359
|
/* TRACE */
|
|
3319
3360
|
);
|
|
3320
|
-
const
|
|
3321
|
-
return n =
|
|
3361
|
+
const gt = i.length;
|
|
3362
|
+
return n = q(n, "</code></pre>" + c), ne(
|
|
3322
3363
|
t,
|
|
3323
3364
|
e,
|
|
3324
3365
|
r,
|
|
3325
3366
|
N,
|
|
3326
|
-
|
|
3367
|
+
gt,
|
|
3327
3368
|
i.length,
|
|
3328
3369
|
1
|
|
3329
3370
|
/* CODE */
|
|
3330
3371
|
), n;
|
|
3331
3372
|
}
|
|
3332
3373
|
case 2: {
|
|
3333
|
-
const g = t.meta(), p = g.tag, N = !t.synthetic, V = N ?
|
|
3374
|
+
const g = t.meta(), p = g.tag, N = !t.synthetic, V = N ? ts(g) : void 0, gt = V !== void 0 && V.name_start === t.start + 1, H = gt ? void 0 : g.attributes;
|
|
3334
3375
|
let tt = -1;
|
|
3335
|
-
|
|
3336
|
-
const
|
|
3337
|
-
if (tt !== -1) a += t.slice(
|
|
3376
|
+
gt ? (tt = V.open_end, dn = V.attrs_end) : N && (tt = Ki(t, p, H));
|
|
3377
|
+
const Xt = t.start + 1 + p.length, Se = r + a.length;
|
|
3378
|
+
if (tt !== -1) a += t.slice(Xt, dn);
|
|
3338
3379
|
else if (H) {
|
|
3339
3380
|
for (const pt in H) {
|
|
3340
|
-
const
|
|
3341
|
-
|
|
3381
|
+
const qe = H[pt];
|
|
3382
|
+
qe === !0 ? a += " " + pt : typeof qe == "object" && qe.type === "expression" ? a += we(pt, O(qe.value)) : a += " " + pt + '="' + Jt(O(qe), N) + '"';
|
|
3342
3383
|
}
|
|
3343
|
-
g.repeated !== void 0 && (a +=
|
|
3384
|
+
g.repeated !== void 0 && (a += $e(g.repeated, N));
|
|
3344
3385
|
}
|
|
3345
|
-
N && (a +=
|
|
3346
|
-
const
|
|
3347
|
-
if (tt !== -1 &&
|
|
3386
|
+
N && (a += Mi(p, H, gt ? V : void 0));
|
|
3387
|
+
const nn = g.self_closing ? " />" : ">";
|
|
3388
|
+
if (tt !== -1 && ji(
|
|
3348
3389
|
t,
|
|
3349
3390
|
e,
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
r + a.length +
|
|
3391
|
+
Se,
|
|
3392
|
+
Xt,
|
|
3393
|
+
dn,
|
|
3394
|
+
r + a.length + nn.length,
|
|
3354
3395
|
tt
|
|
3355
3396
|
), g.self_closing)
|
|
3356
|
-
return n =
|
|
3397
|
+
return n = q(n, a + nn), re(
|
|
3357
3398
|
t,
|
|
3358
3399
|
e,
|
|
3359
3400
|
r,
|
|
3360
3401
|
0
|
|
3361
3402
|
/* TEXT */
|
|
3362
3403
|
), n;
|
|
3363
|
-
d =
|
|
3404
|
+
d = Ge(p);
|
|
3364
3405
|
break;
|
|
3365
3406
|
}
|
|
3366
3407
|
default:
|
|
3367
3408
|
a += T(t);
|
|
3368
3409
|
}
|
|
3369
|
-
n =
|
|
3410
|
+
n = q(n, a + ">" + f);
|
|
3370
3411
|
const h = i.length;
|
|
3371
|
-
d ? n =
|
|
3412
|
+
d ? n = ir(
|
|
3372
3413
|
t,
|
|
3373
3414
|
e,
|
|
3374
3415
|
n,
|
|
3375
3416
|
t.text(),
|
|
3376
3417
|
9
|
|
3377
3418
|
/* SVELTE_CONTENT */
|
|
3378
|
-
) : n = o === 22 ?
|
|
3419
|
+
) : n = o === 22 ? Un(t, e, n) : Wt(t, e, n);
|
|
3379
3420
|
const v = i.length;
|
|
3380
|
-
return n =
|
|
3421
|
+
return n = q(n, c), ne(t, e, r, h, v, i.length, u), n;
|
|
3381
3422
|
}
|
|
3382
|
-
class
|
|
3423
|
+
class Ns extends Error {
|
|
3383
3424
|
constructor(e, n) {
|
|
3384
3425
|
const s = e.start, o = e.source;
|
|
3385
3426
|
let r = 1, l = 0;
|
|
@@ -3387,42 +3428,42 @@ class qs extends Error {
|
|
|
3387
3428
|
`); c !== -1 && c < s; c = o.indexOf(`
|
|
3388
3429
|
`, c + 1))
|
|
3389
3430
|
r++, l = c + 1;
|
|
3390
|
-
const a = s - l + 1, f =
|
|
3431
|
+
const a = s - l + 1, f = zi(e);
|
|
3391
3432
|
super(n.replace("%", f + " at " + r + ":" + a)), this.name = "DirectiveError", this.directive = f, this.start = s, this.line = r, this.column = a;
|
|
3392
3433
|
}
|
|
3393
3434
|
}
|
|
3394
|
-
function
|
|
3435
|
+
function zi(t) {
|
|
3395
3436
|
const e = t.kind;
|
|
3396
|
-
return (e === 30 ? ":" : e === 31 ? "::" : ":::") +
|
|
3437
|
+
return (e === 30 ? ":" : e === 31 ? "::" : ":::") + Xe(t);
|
|
3397
3438
|
}
|
|
3398
|
-
function
|
|
3439
|
+
function fo(t) {
|
|
3399
3440
|
const e = t.kind;
|
|
3400
|
-
e >= 30 && e <= 32 &&
|
|
3441
|
+
e >= 30 && e <= 32 && Fi(t);
|
|
3401
3442
|
}
|
|
3402
|
-
function
|
|
3443
|
+
function Fi(t) {
|
|
3403
3444
|
const e = t.kind, n = e === 30 ? "directive_inline" : e === 31 ? "directive_leaf" : "directive_container";
|
|
3404
|
-
throw new
|
|
3445
|
+
throw new Ns(
|
|
3405
3446
|
t,
|
|
3406
|
-
"no component renders the directive %. Export a component named " + JSON.stringify(
|
|
3447
|
+
"no component renders the directive %. Export a component named " + JSON.stringify(Xe(t)) + " from a directives module (export * as directives from './directives.ts'), or replace the " + n + " node in a parse plugin"
|
|
3407
3448
|
);
|
|
3408
3449
|
}
|
|
3409
|
-
function
|
|
3450
|
+
function Rs(t, e) {
|
|
3410
3451
|
var o;
|
|
3411
3452
|
const n = (o = t.meta()) == null ? void 0 : o.args;
|
|
3412
3453
|
if (n === void 0) return "";
|
|
3413
3454
|
let s = "";
|
|
3414
3455
|
for (const r in n) {
|
|
3415
3456
|
if (r === "children" || r === "label" && e !== 30)
|
|
3416
|
-
throw new
|
|
3457
|
+
throw new Ns(
|
|
3417
3458
|
t,
|
|
3418
3459
|
"the directive % has an argument named " + r + ", which its component receives as a snippet"
|
|
3419
3460
|
);
|
|
3420
3461
|
const l = n[r];
|
|
3421
|
-
s += l.indexOf("{") === -1 && l.indexOf("}") === -1 ? " " + r + '="' +
|
|
3462
|
+
s += l.indexOf("{") === -1 && l.indexOf("}") === -1 ? " " + r + '="' + Ke(l) + '"' : X(r, l);
|
|
3422
3463
|
}
|
|
3423
3464
|
return s;
|
|
3424
3465
|
}
|
|
3425
|
-
function
|
|
3466
|
+
function Ps(t) {
|
|
3426
3467
|
const e = t.words;
|
|
3427
3468
|
let n = e[
|
|
3428
3469
|
t.index * 12 + 8
|
|
@@ -3445,7 +3486,7 @@ function Ni(t) {
|
|
|
3445
3486
|
} while (n !== 4294967295);
|
|
3446
3487
|
return !1;
|
|
3447
3488
|
}
|
|
3448
|
-
function
|
|
3489
|
+
function co(t) {
|
|
3449
3490
|
const e = t.words, n = e[
|
|
3450
3491
|
t.index * 12 + 8
|
|
3451
3492
|
/* first_child */
|
|
@@ -3457,31 +3498,35 @@ function Ri(t) {
|
|
|
3457
3498
|
/* parent */
|
|
3458
3499
|
] === t.index && (e[s] & 255) === 35 ? n : 4294967295;
|
|
3459
3500
|
}
|
|
3460
|
-
function
|
|
3461
|
-
n =
|
|
3501
|
+
function $i(t, e, n, s) {
|
|
3502
|
+
n = q(n, "{#snippet label()}");
|
|
3462
3503
|
const o = t.index;
|
|
3463
|
-
return t.move_to(s), n =
|
|
3504
|
+
return t.move_to(s), n = Wt(t, e, n), t.move_to(o), q(n, "{/snippet}");
|
|
3464
3505
|
}
|
|
3465
|
-
function
|
|
3466
|
-
|
|
3506
|
+
function ki(t, e, n, s) {
|
|
3507
|
+
if (s.static === !0 && De !== null) {
|
|
3508
|
+
const v = Is(t, s);
|
|
3509
|
+
if (v !== void 0) return Wi(t, e, n, v);
|
|
3510
|
+
}
|
|
3511
|
+
const o = i.length, r = t.kind, l = s.local, a = "<" + l + Rs(t, r), f = r === 30 ? 4294967295 : co(t), c = f !== 4294967295, u = r === 30 ? t.words[
|
|
3467
3512
|
t.index * 12 + 8
|
|
3468
3513
|
/* first_child */
|
|
3469
|
-
] !== 4294967295 : r === 32 &&
|
|
3514
|
+
] !== 4294967295 : r === 32 && Ps(t);
|
|
3470
3515
|
if (!c && !u)
|
|
3471
|
-
return n =
|
|
3516
|
+
return n = q(n, a + " />"), re(
|
|
3472
3517
|
t,
|
|
3473
3518
|
e,
|
|
3474
3519
|
o,
|
|
3475
3520
|
3
|
|
3476
3521
|
/* STRUCTURE */
|
|
3477
3522
|
), n;
|
|
3478
|
-
n =
|
|
3523
|
+
n = q(n, a + ">"), c && (n = $i(t, e, n, f));
|
|
3479
3524
|
const d = i.length;
|
|
3480
|
-
u && (r === 32 && (n =
|
|
3481
|
-
`)), n =
|
|
3525
|
+
u && (r === 32 && (n = q(n, `
|
|
3526
|
+
`)), n = Wt(t, e, n), r === 32 && (n = q(n, `
|
|
3482
3527
|
`)));
|
|
3483
3528
|
const h = i.length;
|
|
3484
|
-
return n =
|
|
3529
|
+
return n = q(n, "</" + l + ">"), ne(
|
|
3485
3530
|
t,
|
|
3486
3531
|
e,
|
|
3487
3532
|
o,
|
|
@@ -3492,8 +3537,105 @@ function Bi(t, e, n, s) {
|
|
|
3492
3537
|
/* STRUCTURE */
|
|
3493
3538
|
), n;
|
|
3494
3539
|
}
|
|
3495
|
-
function
|
|
3496
|
-
const
|
|
3540
|
+
function Bs(t) {
|
|
3541
|
+
const e = t.kind;
|
|
3542
|
+
return e === 30 ? {
|
|
3543
|
+
label: 4294967295,
|
|
3544
|
+
children: t.words[
|
|
3545
|
+
t.index * 12 + 8
|
|
3546
|
+
/* first_child */
|
|
3547
|
+
] !== 4294967295
|
|
3548
|
+
/* NONE */
|
|
3549
|
+
} : {
|
|
3550
|
+
label: co(t),
|
|
3551
|
+
children: e === 32 && Ps(t)
|
|
3552
|
+
};
|
|
3553
|
+
}
|
|
3554
|
+
function Us(t, e) {
|
|
3555
|
+
var r;
|
|
3556
|
+
const n = t.kind;
|
|
3557
|
+
Rs(t, n);
|
|
3558
|
+
const { label: s, children: o } = Bs(t);
|
|
3559
|
+
return pl(
|
|
3560
|
+
e.specifier,
|
|
3561
|
+
e.name,
|
|
3562
|
+
(r = t.meta()) == null ? void 0 : r.args,
|
|
3563
|
+
s !== 4294967295,
|
|
3564
|
+
o
|
|
3565
|
+
);
|
|
3566
|
+
}
|
|
3567
|
+
function Is(t, e) {
|
|
3568
|
+
return De === null ? void 0 : De.get(Us(t, e));
|
|
3569
|
+
}
|
|
3570
|
+
function Wi(t, e, n, s) {
|
|
3571
|
+
const o = i.length, r = t.kind, { html: l, holes: a } = s;
|
|
3572
|
+
if (n = q(n, l[0]), a.length === 0)
|
|
3573
|
+
return re(
|
|
3574
|
+
t,
|
|
3575
|
+
e,
|
|
3576
|
+
o,
|
|
3577
|
+
3
|
|
3578
|
+
/* STRUCTURE */
|
|
3579
|
+
), n;
|
|
3580
|
+
const f = i.length;
|
|
3581
|
+
for (let c = 0; c < a.length; c++) {
|
|
3582
|
+
if (a[c] === "label") {
|
|
3583
|
+
const u = t.index;
|
|
3584
|
+
t.move_to(co(t)), n = Wt(t, e, n), t.move_to(u);
|
|
3585
|
+
} else
|
|
3586
|
+
n = Wt(t, e, n);
|
|
3587
|
+
if (c === a.length - 1) {
|
|
3588
|
+
const u = i.length;
|
|
3589
|
+
n = q(n, l[c + 1]), ne(
|
|
3590
|
+
t,
|
|
3591
|
+
e,
|
|
3592
|
+
o,
|
|
3593
|
+
f,
|
|
3594
|
+
u,
|
|
3595
|
+
i.length,
|
|
3596
|
+
r === 30 ? 0 : 3
|
|
3597
|
+
/* STRUCTURE */
|
|
3598
|
+
);
|
|
3599
|
+
} else n = q(n, l[c + 1]);
|
|
3600
|
+
}
|
|
3601
|
+
return n;
|
|
3602
|
+
}
|
|
3603
|
+
function bf(t, e, n, s) {
|
|
3604
|
+
const o = [];
|
|
3605
|
+
if (!n.has_static) return o;
|
|
3606
|
+
const r = new or(t, e), l = /* @__PURE__ */ new Set(), a = () => {
|
|
3607
|
+
var f;
|
|
3608
|
+
if (r.goto_first_child()) {
|
|
3609
|
+
do {
|
|
3610
|
+
const c = r.kind;
|
|
3611
|
+
if (c >= 30 && c <= 32) {
|
|
3612
|
+
const u = n.get(Xe(r));
|
|
3613
|
+
if (u !== void 0 && u.static === !0) {
|
|
3614
|
+
const d = Us(r, u);
|
|
3615
|
+
if (!l.has(d) && (s == null ? void 0 : s.get(d)) === void 0) {
|
|
3616
|
+
l.add(d);
|
|
3617
|
+
const { label: h, children: v } = Bs(r), E = (f = r.meta()) == null ? void 0 : f.args;
|
|
3618
|
+
o.push({
|
|
3619
|
+
key: d,
|
|
3620
|
+
specifier: u.specifier,
|
|
3621
|
+
name: u.name,
|
|
3622
|
+
args: E === void 0 ? {} : { ...E },
|
|
3623
|
+
label: h !== 4294967295,
|
|
3624
|
+
children: v,
|
|
3625
|
+
start: r.start
|
|
3626
|
+
});
|
|
3627
|
+
}
|
|
3628
|
+
}
|
|
3629
|
+
}
|
|
3630
|
+
c !== 8 && c !== 5 && a();
|
|
3631
|
+
} while (r.goto_next_sibling());
|
|
3632
|
+
r.goto_parent();
|
|
3633
|
+
}
|
|
3634
|
+
};
|
|
3635
|
+
return a(), o;
|
|
3636
|
+
}
|
|
3637
|
+
function Un(t, e, n) {
|
|
3638
|
+
const s = t.meta(), o = (s == null ? void 0 : s.alignments) ?? [], r = xe(s, o), l = z.get("thead"), a = z.get("tbody"), f = z.get("tr"), c = f ? "<" + f.local + `>
|
|
3497
3639
|
` : `<tr>
|
|
3498
3640
|
`, u = f ? "</" + f.local + `>
|
|
3499
3641
|
` : `</tr>
|
|
@@ -3502,9 +3644,9 @@ function Dn(t, e, n) {
|
|
|
3502
3644
|
if (!t.goto_first_child()) return n;
|
|
3503
3645
|
do
|
|
3504
3646
|
if (t.kind === 23)
|
|
3505
|
-
n =
|
|
3647
|
+
n = q(n, (l ? "<" + l.local + `>
|
|
3506
3648
|
` : `<thead>
|
|
3507
|
-
`) + c), n = r ?
|
|
3649
|
+
`) + c), n = r ? Ho(t, e, n, "th", o, 0, pe) : Io(t, e, n, "th", o), n = q(
|
|
3508
3650
|
n,
|
|
3509
3651
|
u + (l ? "</" + l.local + `>
|
|
3510
3652
|
` : `</thead>
|
|
@@ -3514,75 +3656,75 @@ function Dn(t, e, n) {
|
|
|
3514
3656
|
let h = c;
|
|
3515
3657
|
d || (h = (a ? "<" + a.local + `>
|
|
3516
3658
|
` : `<tbody>
|
|
3517
|
-
`) + h, d = !0), n =
|
|
3659
|
+
`) + h, d = !0), n = q(n, h), n = r ? Ho(t, e, n, "td", o, Qt, Yt) : Io(t, e, n, "td", o), n = q(n, u);
|
|
3518
3660
|
}
|
|
3519
3661
|
while (t.goto_next_sibling());
|
|
3520
|
-
return t.goto_parent(), d && (n =
|
|
3662
|
+
return t.goto_parent(), d && (n = q(n, a ? "</" + a.local + ">" : "</tbody>")), n;
|
|
3521
3663
|
}
|
|
3522
|
-
function
|
|
3523
|
-
const r =
|
|
3664
|
+
function Io(t, e, n, s, o) {
|
|
3665
|
+
const r = z.get(s), l = r ? r.local : s;
|
|
3524
3666
|
let a = 0;
|
|
3525
3667
|
if (!t.goto_first_child()) return n;
|
|
3526
3668
|
do
|
|
3527
3669
|
if (t.kind === 25) {
|
|
3528
3670
|
const f = o[a];
|
|
3529
|
-
n =
|
|
3671
|
+
n = q(
|
|
3530
3672
|
n,
|
|
3531
3673
|
f && f !== "none" ? "<" + l + ' align="' + f + '">' : "<" + l + ">"
|
|
3532
|
-
), n =
|
|
3674
|
+
), n = Wt(t, e, n), n = q(n, "</" + l + `>
|
|
3533
3675
|
`), a++;
|
|
3534
3676
|
}
|
|
3535
3677
|
while (t.goto_next_sibling());
|
|
3536
3678
|
return t.goto_parent(), n;
|
|
3537
3679
|
}
|
|
3538
|
-
function
|
|
3539
|
-
const a =
|
|
3680
|
+
function Ho(t, e, n, s, o, r, l) {
|
|
3681
|
+
const a = z.get(s), f = a ? a.local : s, c = s === "th" ? void 0 : z.get("th"), u = c ? c.local : "th";
|
|
3540
3682
|
if (!t.goto_first_child()) return n;
|
|
3541
3683
|
do
|
|
3542
3684
|
if (t.kind === 25) {
|
|
3543
|
-
const d = t.extra, h = d < r || d >= l, v =
|
|
3544
|
-
n =
|
|
3685
|
+
const d = t.extra, h = d < r || d >= l, v = Ze(t, d, o), E = h ? u : f;
|
|
3686
|
+
n = q(
|
|
3545
3687
|
n,
|
|
3546
|
-
h ? "<" +
|
|
3547
|
-
), n =
|
|
3688
|
+
h ? "<" + E + ' scope="row"' + v + ">" : "<" + E + v + ">"
|
|
3689
|
+
), n = Wt(t, e, n), n = q(n, "</" + E + `>
|
|
3548
3690
|
`);
|
|
3549
3691
|
}
|
|
3550
3692
|
while (t.goto_next_sibling());
|
|
3551
3693
|
return t.goto_parent(), n;
|
|
3552
3694
|
}
|
|
3553
|
-
let
|
|
3554
|
-
function
|
|
3695
|
+
let Xn = new Uint32Array(0);
|
|
3696
|
+
function Hs(t, e) {
|
|
3555
3697
|
const n = t.length + 1;
|
|
3556
3698
|
let s;
|
|
3557
3699
|
if (e !== void 0 && e.length >= n)
|
|
3558
3700
|
s = e;
|
|
3559
3701
|
else {
|
|
3560
|
-
if (
|
|
3702
|
+
if (Xn.length < n) {
|
|
3561
3703
|
let o = 16;
|
|
3562
3704
|
for (; o < n; ) o <<= 1;
|
|
3563
|
-
|
|
3705
|
+
Xn = new Uint32Array(o);
|
|
3564
3706
|
}
|
|
3565
|
-
s =
|
|
3707
|
+
s = Xn;
|
|
3566
3708
|
}
|
|
3567
3709
|
s[0] = 0;
|
|
3568
3710
|
for (let o = 0; o < t.length; o++)
|
|
3569
3711
|
s[o + 1] = s[o] + (t[o] + "").length;
|
|
3570
3712
|
return s;
|
|
3571
3713
|
}
|
|
3572
|
-
function
|
|
3573
|
-
const n = new
|
|
3574
|
-
return n.syntax = t.syntax, n.rec =
|
|
3714
|
+
function Vs(t, e) {
|
|
3715
|
+
const n = new xr();
|
|
3716
|
+
return n.syntax = t.syntax, n.rec = wl(t.rec, t.n, Hs(e)), n.n = t.n, n;
|
|
3575
3717
|
}
|
|
3576
|
-
function
|
|
3577
|
-
const n = t.n, s =
|
|
3718
|
+
function Gs(t, e) {
|
|
3719
|
+
const n = t.n, s = ml(n, 0, e), o = s.buf, r = s.start, l = t.rec;
|
|
3578
3720
|
if (n > 64) o.set(l.subarray(0, n), r);
|
|
3579
3721
|
else for (let a = 0; a < n; a++) o[r + a] = l[a];
|
|
3580
3722
|
return s;
|
|
3581
3723
|
}
|
|
3582
|
-
function
|
|
3583
|
-
return
|
|
3724
|
+
function uo(t) {
|
|
3725
|
+
return cl(t.rec, t.n);
|
|
3584
3726
|
}
|
|
3585
|
-
function
|
|
3727
|
+
function Vo(t, e, n) {
|
|
3586
3728
|
const s = t.length;
|
|
3587
3729
|
let o, r;
|
|
3588
3730
|
if (n < s && t[n] < e) {
|
|
@@ -3618,38 +3760,38 @@ function Ro(t, e, n) {
|
|
|
3618
3760
|
}
|
|
3619
3761
|
return o;
|
|
3620
3762
|
}
|
|
3621
|
-
function
|
|
3763
|
+
function Ji(t, e) {
|
|
3622
3764
|
const n = t.rec, s = t.n, o = e.length, r = new Array(
|
|
3623
3765
|
s / 6
|
|
3624
3766
|
/* SIZE */
|
|
3625
3767
|
);
|
|
3626
3768
|
let l = 0;
|
|
3627
|
-
const a =
|
|
3769
|
+
const a = ul;
|
|
3628
3770
|
let f = 0;
|
|
3629
3771
|
for (let c = 0; c < s; c += 6) {
|
|
3630
3772
|
const u = n[c + 3], d = n[c], h = n[c + 1];
|
|
3631
3773
|
let v = n[c + 2];
|
|
3632
|
-
const
|
|
3633
|
-
f =
|
|
3774
|
+
const E = v + u, g = h === u;
|
|
3775
|
+
f = Vo(e, v, f);
|
|
3634
3776
|
const p = n[c + 5], N = n[c + 4] | 0, V = (N + 1) * 16 + p;
|
|
3635
3777
|
if (g) {
|
|
3636
|
-
if (f < o && e[f] + 1 <
|
|
3637
|
-
const H = [], tt = [],
|
|
3638
|
-
let
|
|
3639
|
-
for (; f < o && e[f] + 1 <
|
|
3778
|
+
if (f < o && e[f] + 1 < E) {
|
|
3779
|
+
const H = [], tt = [], Xt = [];
|
|
3780
|
+
let Se = d;
|
|
3781
|
+
for (; f < o && e[f] + 1 < E; ) {
|
|
3640
3782
|
const pt = e[f] + 1;
|
|
3641
|
-
H.push(v + f), tt.push(
|
|
3783
|
+
H.push(v + f), tt.push(Se), Xt.push(pt - v), Se += pt - v, v = pt, f++;
|
|
3642
3784
|
}
|
|
3643
|
-
H.push(v + f), tt.push(
|
|
3644
|
-
const
|
|
3785
|
+
H.push(v + f), tt.push(Se), Xt.push(E - v);
|
|
3786
|
+
const nn = {
|
|
3645
3787
|
sourceOffsets: H,
|
|
3646
3788
|
generatedOffsets: tt,
|
|
3647
|
-
lengths:
|
|
3789
|
+
lengths: Xt,
|
|
3648
3790
|
data: a(p, N)
|
|
3649
3791
|
};
|
|
3650
|
-
r[l++] = new
|
|
3792
|
+
r[l++] = new rn(0, 0, 0, 0, V, nn);
|
|
3651
3793
|
} else
|
|
3652
|
-
r[l++] = new
|
|
3794
|
+
r[l++] = new rn(
|
|
3653
3795
|
v + f,
|
|
3654
3796
|
d,
|
|
3655
3797
|
u,
|
|
@@ -3659,12 +3801,12 @@ function Ui(t, e) {
|
|
|
3659
3801
|
);
|
|
3660
3802
|
continue;
|
|
3661
3803
|
}
|
|
3662
|
-
let
|
|
3663
|
-
if (f < o && e[f] <
|
|
3664
|
-
r[l++] = new
|
|
3804
|
+
let gt = u;
|
|
3805
|
+
if (f < o && e[f] < E && (gt = E + Vo(e, E, f) - v - f), gt !== h)
|
|
3806
|
+
r[l++] = new rn(
|
|
3665
3807
|
v + f,
|
|
3666
3808
|
d,
|
|
3667
|
-
|
|
3809
|
+
gt,
|
|
3668
3810
|
h,
|
|
3669
3811
|
V,
|
|
3670
3812
|
null
|
|
@@ -3673,24 +3815,24 @@ function Ui(t, e) {
|
|
|
3673
3815
|
const H = {
|
|
3674
3816
|
sourceOffsets: [v + f],
|
|
3675
3817
|
generatedOffsets: [d],
|
|
3676
|
-
lengths: [
|
|
3818
|
+
lengths: [gt],
|
|
3677
3819
|
data: a(p, N),
|
|
3678
3820
|
generatedLengths: [h]
|
|
3679
3821
|
};
|
|
3680
|
-
r[l++] = new
|
|
3822
|
+
r[l++] = new rn(0, 0, 0, 0, V, H);
|
|
3681
3823
|
}
|
|
3682
3824
|
}
|
|
3683
3825
|
return r;
|
|
3684
3826
|
}
|
|
3685
|
-
const
|
|
3686
|
-
function
|
|
3687
|
-
const n =
|
|
3688
|
-
return s.rec =
|
|
3827
|
+
const Qi = Ke, mf = Rl, wf = st, vf = Er, pf = D, xf = Vl, yf = R, Ef = Ln, Sf = Hs;
|
|
3828
|
+
function qf(t, e) {
|
|
3829
|
+
const n = Vs(t, e), s = new xr();
|
|
3830
|
+
return s.rec = bl(n.rec, n.n), s.n = s.rec.length, Gs(s, { buf: s.rec, start: 0, split: 0, end: 0 });
|
|
3689
3831
|
}
|
|
3690
|
-
function
|
|
3691
|
-
return
|
|
3832
|
+
function Af(t, e) {
|
|
3833
|
+
return uo(Vs(e, t));
|
|
3692
3834
|
}
|
|
3693
|
-
const
|
|
3835
|
+
const ln = new xr(), Yi = 16384, ar = "Template_MDSVEX", Go = "__mdsvex_props", Zi = /\$props\s*\(\s*\)/, Xi = /\b(?:let|const|var)\s+([A-Za-z_$][\w$]*)\s*(?::[^=;]*)?=\s*\$props\s*\(\s*\)/, ta = /* @__PURE__ */ new Set([
|
|
3694
3836
|
"script",
|
|
3695
3837
|
"style",
|
|
3696
3838
|
"svelte:head",
|
|
@@ -3699,24 +3841,24 @@ const tn = new _r(), Hi = 16384, nr = "Template_MDSVEX", Po = "__mdsvex_props",
|
|
|
3699
3841
|
"svelte:document",
|
|
3700
3842
|
"svelte:options"
|
|
3701
3843
|
]);
|
|
3702
|
-
let
|
|
3703
|
-
function
|
|
3704
|
-
|
|
3844
|
+
let ho = "", go = !1, vn = "", _o = "", de = 0;
|
|
3845
|
+
function ea(t, e) {
|
|
3846
|
+
ho = t.specifier, go = t.metadata;
|
|
3705
3847
|
const n = t.data;
|
|
3706
|
-
n !== void 0 && (
|
|
3848
|
+
n !== void 0 && (vn = n), de = e;
|
|
3707
3849
|
}
|
|
3708
|
-
function
|
|
3709
|
-
|
|
3850
|
+
function na() {
|
|
3851
|
+
ho = "", go = !1, vn = "", _o = "", de = 0, lt = "", dt = "";
|
|
3710
3852
|
}
|
|
3711
|
-
function
|
|
3853
|
+
function Ks(t, e) {
|
|
3712
3854
|
var s;
|
|
3713
3855
|
if (e === 34 || e === 33) return !0;
|
|
3714
3856
|
if (e !== 2) return !1;
|
|
3715
3857
|
const n = (s = t.meta()) == null ? void 0 : s.tag;
|
|
3716
|
-
return typeof n == "string" &&
|
|
3717
|
-
!
|
|
3858
|
+
return typeof n == "string" && ta.has(n) && // an external script renders as an element, it is markup
|
|
3859
|
+
!Je(t, n);
|
|
3718
3860
|
}
|
|
3719
|
-
function
|
|
3861
|
+
function Ko(t, e, n, s) {
|
|
3720
3862
|
const o = t.words;
|
|
3721
3863
|
let r = o[
|
|
3722
3864
|
8
|
|
@@ -3729,15 +3871,15 @@ function Bo(t, e, n, s) {
|
|
|
3729
3871
|
/* parent */
|
|
3730
3872
|
] !== 0) break;
|
|
3731
3873
|
const a = o[l] & 255;
|
|
3732
|
-
a !== 6 && (t.move_to(r),
|
|
3874
|
+
a !== 6 && (t.move_to(r), Ks(t, a) === s && (n = bo(t, e, n, de, r, a))), r = o[
|
|
3733
3875
|
l + 6
|
|
3734
3876
|
/* next */
|
|
3735
3877
|
];
|
|
3736
3878
|
}
|
|
3737
3879
|
return t.move_to(0), n;
|
|
3738
3880
|
}
|
|
3739
|
-
function
|
|
3740
|
-
if (s === 0) return
|
|
3881
|
+
function bo(t, e, n, s, o, r) {
|
|
3882
|
+
if (s === 0) return fe(t, n);
|
|
3741
3883
|
if (r === 1) {
|
|
3742
3884
|
const l = t.words, a = o * 12, f = l[
|
|
3743
3885
|
a + 3
|
|
@@ -3745,10 +3887,10 @@ function ao(t, e, n, s, o, r) {
|
|
|
3745
3887
|
], c = l[
|
|
3746
3888
|
a + 4
|
|
3747
3889
|
/* value_end */
|
|
3748
|
-
], u =
|
|
3890
|
+
], u = _t(t, o, f, c, !1);
|
|
3749
3891
|
if (n !== 0 && (i += b[n]), f !== 4294967295 && c > f) {
|
|
3750
3892
|
const d = i.length;
|
|
3751
|
-
s === 1 ?
|
|
3893
|
+
s === 1 ? F(e, d, d + u.length, f, c) : S(
|
|
3752
3894
|
e,
|
|
3753
3895
|
d,
|
|
3754
3896
|
d + u.length,
|
|
@@ -3761,36 +3903,36 @@ function ao(t, e, n, s, o, r) {
|
|
|
3761
3903
|
}
|
|
3762
3904
|
return i += u, 0;
|
|
3763
3905
|
}
|
|
3764
|
-
return s === 1 ?
|
|
3906
|
+
return s === 1 ? ce(t, e, n) : ue(t, e, n);
|
|
3765
3907
|
}
|
|
3766
|
-
function
|
|
3767
|
-
return n =
|
|
3908
|
+
function Mo(t, e, n) {
|
|
3909
|
+
return n = Ko(t, e, n, !0), n = jo(n, _o), n = et ? po(t, e, n, de, !0) : Ko(t, e, n, !1), K !== null && (n = vo(t, e, n, de)), jo(n, "</" + ar + ">");
|
|
3768
3910
|
}
|
|
3769
|
-
function
|
|
3770
|
-
return
|
|
3911
|
+
function jo(t, e) {
|
|
3912
|
+
return de === 0 ? y(t, e) : (t !== 0 && (i += b[t]), i += e, 0);
|
|
3771
3913
|
}
|
|
3772
|
-
function
|
|
3773
|
-
return
|
|
3914
|
+
function zo(t) {
|
|
3915
|
+
return Ls(t);
|
|
3774
3916
|
}
|
|
3775
|
-
const
|
|
3776
|
-
class
|
|
3917
|
+
const Fo = -1;
|
|
3918
|
+
class Lf {
|
|
3777
3919
|
constructor(e) {
|
|
3778
3920
|
this.blocks = [], this.html = "", this.closed = null, this.cursor = null, this.out = [], this.scope = null, this.replace_typed = !1, this.directives = null, this.highlight = null, this.pre_meta = null, this.strict_directives = !1, this.noted = !1, this.cache = (e == null ? void 0 : e.cache) ?? !0, this.cache && (this.closed = /* @__PURE__ */ new Set());
|
|
3779
3921
|
}
|
|
3780
3922
|
/** elements the last render with a scope kept for a directive, a render without one stores nothing */
|
|
3781
3923
|
get warnings() {
|
|
3782
|
-
return
|
|
3924
|
+
return Ae;
|
|
3783
3925
|
}
|
|
3784
3926
|
/**
|
|
3785
3927
|
* @param code code the module script starts with, it goes into the top
|
|
3786
3928
|
* level module script or a new one in place of the frontmatter
|
|
3787
3929
|
*/
|
|
3788
3930
|
update(e, n, s) {
|
|
3789
|
-
this.cursor ? this.cursor.reinit(e, n) : this.cursor = new
|
|
3931
|
+
this.cursor ? this.cursor.reinit(e, n) : this.cursor = new or(e, n);
|
|
3790
3932
|
const o = this.cursor;
|
|
3791
|
-
o.reset(),
|
|
3933
|
+
o.reset(), Ce(n);
|
|
3792
3934
|
const r = this.smart_punctuation;
|
|
3793
|
-
r !== void 0 &&
|
|
3935
|
+
r !== void 0 && Wo(r), C = this.highlight, yt = this.pre_meta;
|
|
3794
3936
|
const l = this.urls;
|
|
3795
3937
|
l !== void 0 && (Y = l);
|
|
3796
3938
|
const a = this.fences;
|
|
@@ -3802,22 +3944,23 @@ class hf {
|
|
|
3802
3944
|
return this.html = this.render_wrapped(o, e, null, !1, s), this.blocks;
|
|
3803
3945
|
const d = this.imports, h = d !== void 0 && d.length !== 0;
|
|
3804
3946
|
try {
|
|
3805
|
-
(c !== null && c.size !== 0 || u !== null && u.size !== 0) && (
|
|
3947
|
+
(c !== null && c.size !== 0 || u !== null && u.size !== 0) && (Ae = Yn(
|
|
3806
3948
|
o,
|
|
3807
3949
|
c,
|
|
3808
3950
|
u,
|
|
3809
3951
|
0,
|
|
3810
|
-
this.replace_typed
|
|
3811
|
-
|
|
3952
|
+
this.replace_typed,
|
|
3953
|
+
this.shells
|
|
3954
|
+
)), h && tr(d), this.strict_directives && (nt = !0), this.wrap_static === !0 && (et = !0), Qn(o, e, h), s && xo(e, s), cn(e), this.html = Ls(o), K !== null && (this.html += Yo(o));
|
|
3812
3955
|
} finally {
|
|
3813
|
-
K = null, C = null, yt = null, l !== void 0 && (Y = null), a !== void 0 && (B = null), r !== void 0 &&
|
|
3956
|
+
K = null, C = null, yt = null, l !== void 0 && (Y = null), a !== void 0 && (B = null), r !== void 0 && an(), zt = !0, te = null, nt && (nt = !1), et && (et = !1), z !== null && Zn(), h && er(), s && on();
|
|
3814
3957
|
}
|
|
3815
3958
|
return this.blocks;
|
|
3816
3959
|
}
|
|
3817
3960
|
try {
|
|
3818
|
-
|
|
3961
|
+
Qn(o, e, !1), s && un(e, s), this.noted && K === null && (K = es(e, !0)), this.update_blocks(o);
|
|
3819
3962
|
} finally {
|
|
3820
|
-
K = null, C = null, yt = null, l !== void 0 && (Y = null), a !== void 0 && (B = null), r !== void 0 &&
|
|
3963
|
+
K = null, C = null, yt = null, l !== void 0 && (Y = null), a !== void 0 && (B = null), r !== void 0 && an(), s && on();
|
|
3821
3964
|
}
|
|
3822
3965
|
return this.blocks;
|
|
3823
3966
|
}
|
|
@@ -3825,27 +3968,27 @@ class hf {
|
|
|
3825
3968
|
update_blocks(e) {
|
|
3826
3969
|
if (!e.goto_first_child()) return;
|
|
3827
3970
|
const n = this.blocks;
|
|
3828
|
-
n.length !== 0 && n[n.length - 1].idx ===
|
|
3971
|
+
n.length !== 0 && n[n.length - 1].idx === Fo && n.pop();
|
|
3829
3972
|
let s = 0;
|
|
3830
3973
|
do {
|
|
3831
3974
|
if (e.kind === 6) continue;
|
|
3832
3975
|
const o = e.index, r = e.closed && e.kind !== 34 && e.kind !== 33 && o !== ht && o !== wt;
|
|
3833
|
-
s >= this.blocks.length ? (this.blocks.push({ idx: o, html:
|
|
3976
|
+
s >= this.blocks.length ? (this.blocks.push({ idx: o, html: zo(e) }), r && this.closed.add(o)) : this.closed.has(o) || (this.blocks[s].html = zo(e), r && this.closed.add(o)), s++;
|
|
3834
3977
|
} while (e.goto_next_sibling());
|
|
3835
3978
|
if (e.goto_parent(), K !== null) {
|
|
3836
3979
|
this.noted = !0;
|
|
3837
|
-
const o =
|
|
3838
|
-
o !== "" && n.push({ idx:
|
|
3980
|
+
const o = Yo(e);
|
|
3981
|
+
o !== "" && n.push({ idx: Fo, html: o });
|
|
3839
3982
|
}
|
|
3840
3983
|
this.html = this.blocks.map((o) => o.html).join("");
|
|
3841
3984
|
}
|
|
3842
3985
|
/** trace renders with no syntax records, see tr_node */
|
|
3843
3986
|
render_mapped(e, n, s, o, r) {
|
|
3844
|
-
this.cursor ? this.cursor.reinit(e, n) : this.cursor = new
|
|
3987
|
+
this.cursor ? this.cursor.reinit(e, n) : this.cursor = new or(e, n);
|
|
3845
3988
|
const l = this.cursor;
|
|
3846
|
-
l.reset(),
|
|
3989
|
+
l.reset(), Ce(n);
|
|
3847
3990
|
const a = this.smart_punctuation;
|
|
3848
|
-
a !== void 0 &&
|
|
3991
|
+
a !== void 0 && Wo(a), C = this.highlight, yt = this.pre_meta;
|
|
3849
3992
|
const f = this.urls;
|
|
3850
3993
|
f !== void 0 && (Y = f);
|
|
3851
3994
|
const c = this.fences;
|
|
@@ -3855,16 +3998,17 @@ class hf {
|
|
|
3855
3998
|
this.html = this.render_wrapped(l, e, s, o, r);
|
|
3856
3999
|
return;
|
|
3857
4000
|
}
|
|
3858
|
-
const d = this.scope, h = this.directives, v = this.imports,
|
|
4001
|
+
const d = this.scope, h = this.directives, v = this.imports, E = v !== void 0 && v.length !== 0;
|
|
3859
4002
|
let g = 0;
|
|
3860
4003
|
try {
|
|
3861
|
-
(d !== null && d.size !== 0 || h !== null && h.size !== 0) && (
|
|
4004
|
+
(d !== null && d.size !== 0 || h !== null && h.size !== 0) && (Ae = Yn(
|
|
3862
4005
|
l,
|
|
3863
4006
|
d,
|
|
3864
4007
|
h,
|
|
3865
4008
|
o ? 1 : 2,
|
|
3866
|
-
this.replace_typed
|
|
3867
|
-
|
|
4009
|
+
this.replace_typed,
|
|
4010
|
+
this.shells
|
|
4011
|
+
)), E && tr(v), this.strict_directives && (nt = !0), this.wrap_static === !0 && (et = !0), Qn(l, e, E), i = dt, r && (un(e, r), i += Pe()), cn(e), et ? g = po(l, s, 0, o ? 1 : 2, !1) : o ? g = ce(l, s, 0) : g = ue(l, s, 0), K !== null && (g = vo(
|
|
3868
4012
|
l,
|
|
3869
4013
|
s,
|
|
3870
4014
|
g,
|
|
@@ -3872,10 +4016,10 @@ class hf {
|
|
|
3872
4016
|
/* MAPPED */
|
|
3873
4017
|
));
|
|
3874
4018
|
} finally {
|
|
3875
|
-
K = null, C = null, yt = null, f !== void 0 && (Y = null), c !== void 0 && (B = null), a !== void 0 &&
|
|
4019
|
+
K = null, C = null, yt = null, f !== void 0 && (Y = null), c !== void 0 && (B = null), a !== void 0 && an(), zt = !0, te = null, nt && (nt = !1), et && (et = !1), z !== null && Zn(), E && er(), r && on();
|
|
3876
4020
|
}
|
|
3877
4021
|
let p = i;
|
|
3878
|
-
i = "", g !== 0 && (p += b[g]), p.length !== 0 && (
|
|
4022
|
+
i = "", g !== 0 && (p += b[g]), p.length !== 0 && (lr[0] = p.charCodeAt(0)), this.html = p;
|
|
3879
4023
|
}
|
|
3880
4024
|
/**
|
|
3881
4025
|
* a render wrapped in the template, kept apart so a plain render pays one
|
|
@@ -3885,28 +4029,35 @@ class hf {
|
|
|
3885
4029
|
const l = this.scope, a = this.directives, f = this.imports, c = f !== void 0 && f.length !== 0, u = s === null ? 0 : o ? 1 : 2;
|
|
3886
4030
|
let d;
|
|
3887
4031
|
try {
|
|
3888
|
-
if ((l !== null && l.size !== 0 || a !== null && a.size !== 0) && (
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
4032
|
+
if ((l !== null && l.size !== 0 || a !== null && a.size !== 0) && (Ae = Yn(
|
|
4033
|
+
e,
|
|
4034
|
+
l,
|
|
4035
|
+
a,
|
|
4036
|
+
u,
|
|
4037
|
+
this.replace_typed,
|
|
4038
|
+
this.shells
|
|
4039
|
+
)), c && tr(f), this.strict_directives && (nt = !0), this.wrap_static === !0 && (et = !0), ea(this.template, u), $l(e, n), r && (s === null ? xo(n, r) : un(n, r)), cn(n), s === null) {
|
|
4040
|
+
j = dt;
|
|
4041
|
+
const h = Mo(e, void 0, 0);
|
|
4042
|
+
d = j, j = "", h !== 0 && (d += b[h]);
|
|
3892
4043
|
} else {
|
|
3893
|
-
i = dt, r && (i +=
|
|
3894
|
-
const h =
|
|
4044
|
+
i = dt, r && (i += Pe());
|
|
4045
|
+
const h = Mo(e, s, 0);
|
|
3895
4046
|
d = i, i = "", h !== 0 && (d += b[h]);
|
|
3896
4047
|
}
|
|
3897
4048
|
} finally {
|
|
3898
|
-
K = null, C = null, yt = null, Y = null, B = null,
|
|
4049
|
+
K = null, C = null, yt = null, Y = null, B = null, zn && an(), zt = !0, te = null, nt && (nt = !1), et && (et = !1), z !== null && Zn(), c && er(), na(), r && on(), this.template = void 0;
|
|
3899
4050
|
}
|
|
3900
|
-
return d.length !== 0 && (
|
|
4051
|
+
return d.length !== 0 && (lr[0] = d.charCodeAt(0)), d;
|
|
3901
4052
|
}
|
|
3902
4053
|
/**
|
|
3903
4054
|
* render with source mapping. always full render (no caching).
|
|
3904
4055
|
* collapsed moves the source offsets onto raw
|
|
3905
4056
|
*/
|
|
3906
4057
|
update_mapped(e, n, s, o) {
|
|
3907
|
-
const r =
|
|
4058
|
+
const r = ln;
|
|
3908
4059
|
r.begin(!0), this.render_mapped(e, n, r, !1, o);
|
|
3909
|
-
const l = s == null || s.length === 0 ?
|
|
4060
|
+
const l = s == null || s.length === 0 ? uo(r) : Ji(r, s);
|
|
3910
4061
|
return r.release(), { blocks: this.blocks, mappings: l };
|
|
3911
4062
|
}
|
|
3912
4063
|
/**
|
|
@@ -3914,15 +4065,15 @@ class hf {
|
|
|
3914
4065
|
* without collapsing any crlf, but builds no Mapping objects
|
|
3915
4066
|
*/
|
|
3916
4067
|
update_v3(e, n, s, o, r) {
|
|
3917
|
-
const l =
|
|
4068
|
+
const l = ln;
|
|
3918
4069
|
l.begin(!1), this.render_mapped(e, n, l, !0, r);
|
|
3919
|
-
const a =
|
|
4070
|
+
const a = dl(l, s, this.html, o);
|
|
3920
4071
|
return l.release(), a;
|
|
3921
4072
|
}
|
|
3922
4073
|
/** trace_to_v3 over the trace with the same arguments equals update_v3 */
|
|
3923
4074
|
update_trace(e, n, s) {
|
|
3924
4075
|
const o = {
|
|
3925
|
-
buf:
|
|
4076
|
+
buf: ln.rec,
|
|
3926
4077
|
start: 0,
|
|
3927
4078
|
split: 0,
|
|
3928
4079
|
end: 0
|
|
@@ -3931,20 +4082,20 @@ class hf {
|
|
|
3931
4082
|
}
|
|
3932
4083
|
/** update_trace filling out instead of a new trace */
|
|
3933
4084
|
update_trace_into(e, n, s, o) {
|
|
3934
|
-
const r =
|
|
3935
|
-
if (l <=
|
|
4085
|
+
const r = ln, l = e.size * 6;
|
|
4086
|
+
if (l <= Yi) {
|
|
3936
4087
|
const a = r.rec;
|
|
3937
|
-
r.rec =
|
|
3938
|
-
const f =
|
|
4088
|
+
r.rec = hl(l);
|
|
4089
|
+
const f = gl();
|
|
3939
4090
|
r.n = f, r.syntax = !1;
|
|
3940
4091
|
try {
|
|
3941
|
-
this.render_mapped(e, n, r, !0, o),
|
|
4092
|
+
this.render_mapped(e, n, r, !0, o), _l(r.rec, f, r.n, s);
|
|
3942
4093
|
return;
|
|
3943
4094
|
} finally {
|
|
3944
4095
|
r.rec = a, r.n = 0;
|
|
3945
4096
|
}
|
|
3946
4097
|
}
|
|
3947
|
-
r.begin(!1), this.render_mapped(e, n, r, !0, o),
|
|
4098
|
+
r.begin(!1), this.render_mapped(e, n, r, !0, o), Gs(r, s), r.release();
|
|
3948
4099
|
}
|
|
3949
4100
|
/**
|
|
3950
4101
|
* the nodes changed after their block was rendered, as the node of a
|
|
@@ -3956,7 +4107,7 @@ class hf {
|
|
|
3956
4107
|
const s = this.closed;
|
|
3957
4108
|
if (s !== null)
|
|
3958
4109
|
for (let o = 0; o < n.length; o++) {
|
|
3959
|
-
const r =
|
|
4110
|
+
const r = vl(e, n[o]);
|
|
3960
4111
|
r !== 4294967295 && s.delete(r);
|
|
3961
4112
|
}
|
|
3962
4113
|
}
|
|
@@ -3969,60 +4120,60 @@ class hf {
|
|
|
3969
4120
|
var n;
|
|
3970
4121
|
this.html = "", this.blocks.length !== 0 && (this.blocks.length = 0);
|
|
3971
4122
|
const e = this.closed;
|
|
3972
|
-
e !== null && e.size !== 0 && e.clear(), (n = this.cursor) == null || n.release(), this.scope = null, this.directives = null, this.highlight = null, this.pre_meta = null, this.replace_typed = !1,
|
|
4123
|
+
e !== null && e.size !== 0 && e.clear(), (n = this.cursor) == null || n.release(), this.scope = null, this.directives = null, this.highlight = null, this.pre_meta = null, this.replace_typed = !1, Ae = qr, this.template !== void 0 && (this.template = void 0), this.imports !== void 0 && (this.imports = void 0), this.urls !== void 0 && (this.urls = void 0), this.fences !== void 0 && (this.fences = void 0), this.smart_punctuation !== void 0 && (this.smart_punctuation = void 0), this.footnotes !== void 0 && (this.footnotes = void 0), this.wrap_static !== void 0 && (this.wrap_static = void 0), this.shells !== void 0 && (this.shells = void 0), this.noted = !1, je = "", Ft = 0;
|
|
3973
4124
|
}
|
|
3974
4125
|
}
|
|
3975
|
-
function
|
|
3976
|
-
|
|
4126
|
+
function Tf(t, e, n, s = null) {
|
|
4127
|
+
Ce(e), cn(t), ds(), Y = s, i = n;
|
|
3977
4128
|
}
|
|
3978
|
-
function
|
|
3979
|
-
zt = !0,
|
|
4129
|
+
function Cf() {
|
|
4130
|
+
zt = !0, te = null, Y = null;
|
|
3980
4131
|
const t = i;
|
|
3981
4132
|
return i = "", t;
|
|
3982
4133
|
}
|
|
3983
|
-
function
|
|
3984
|
-
return
|
|
4134
|
+
function Of(t) {
|
|
4135
|
+
return uo(t);
|
|
3985
4136
|
}
|
|
3986
|
-
let C = null, yt = null,
|
|
3987
|
-
function
|
|
4137
|
+
let C = null, yt = null, In = "";
|
|
4138
|
+
function tr(t) {
|
|
3988
4139
|
let e = "";
|
|
3989
4140
|
for (let n = 0; n < t.length; n++) e = e + t[n] + `
|
|
3990
4141
|
`;
|
|
3991
|
-
|
|
4142
|
+
In = e;
|
|
3992
4143
|
}
|
|
3993
|
-
function
|
|
3994
|
-
|
|
4144
|
+
function er() {
|
|
4145
|
+
In = "", lt = "", dt = "";
|
|
3995
4146
|
}
|
|
3996
4147
|
let Y = null;
|
|
3997
|
-
function
|
|
3998
|
-
return Y === null ? (e ? ' src="' : ' href="') + D(t) + '"' :
|
|
4148
|
+
function He(t, e) {
|
|
4149
|
+
return Y === null ? (e ? ' src="' : ' href="') + D(t) + '"' : js(t, e);
|
|
3999
4150
|
}
|
|
4000
|
-
function
|
|
4001
|
-
return Y !== null ? y(t,
|
|
4151
|
+
function Ms(t, e, n) {
|
|
4152
|
+
return Y !== null ? y(t, js(e, n)) : (t = _(t, n ? ni : ti), t = y(t, D(e)), _(t, it));
|
|
4002
4153
|
}
|
|
4003
|
-
function
|
|
4004
|
-
return
|
|
4154
|
+
function js(t, e) {
|
|
4155
|
+
return zs(e ? " src=" : " href=", t, Y(t, e));
|
|
4005
4156
|
}
|
|
4006
|
-
function
|
|
4157
|
+
function zs(t, e, n) {
|
|
4007
4158
|
return n == null && (n = e), typeof n != "string" ? t + "{" + n.value + "}" : n === "" ? "" : t + '"' + D(n) + '"';
|
|
4008
4159
|
}
|
|
4009
|
-
let
|
|
4010
|
-
function
|
|
4011
|
-
if (
|
|
4160
|
+
let he = Bt;
|
|
4161
|
+
function Hn(t) {
|
|
4162
|
+
if (he = Bt, !t) return "<img";
|
|
4012
4163
|
if (Y === null) return '<img src="' + D(t) + '"';
|
|
4013
4164
|
const e = Y(t, !0);
|
|
4014
4165
|
if (e == null || typeof e == "string" || e.type !== "picture")
|
|
4015
|
-
return "<img" +
|
|
4016
|
-
|
|
4166
|
+
return "<img" + zs(" src=", t, e);
|
|
4167
|
+
he = oi;
|
|
4017
4168
|
const n = e.value;
|
|
4018
4169
|
return "<picture>{#each Object.entries(" + n + ".sources) as [format, srcset]}<source {srcset} type={'image/' + format} />{/each}<img src={" + n + ".img.src} width={" + n + ".img.w} height={" + n + ".img.h}";
|
|
4019
4170
|
}
|
|
4020
4171
|
let B = null;
|
|
4021
|
-
function
|
|
4172
|
+
function Fs(t) {
|
|
4022
4173
|
const e = B.get(t.index);
|
|
4023
4174
|
return e !== void 0 ? e.text : Rt(t);
|
|
4024
4175
|
}
|
|
4025
|
-
function
|
|
4176
|
+
function ra(t, e) {
|
|
4026
4177
|
var o;
|
|
4027
4178
|
const n = (o = B.get(t.index)) == null ? void 0 : o.info;
|
|
4028
4179
|
if (n !== void 0) return n;
|
|
@@ -4033,60 +4184,60 @@ function Fi(t, e) {
|
|
|
4033
4184
|
}
|
|
4034
4185
|
return s;
|
|
4035
4186
|
}
|
|
4036
|
-
function
|
|
4187
|
+
function $s(t) {
|
|
4037
4188
|
var n;
|
|
4038
4189
|
const e = (n = B.get(t.index)) == null ? void 0 : n.props;
|
|
4039
4190
|
return e === void 0 ? "" : e;
|
|
4040
4191
|
}
|
|
4041
|
-
function
|
|
4192
|
+
function ks(t) {
|
|
4042
4193
|
for (let e = 0; e < t.length; e++) {
|
|
4043
4194
|
const n = t.charCodeAt(e);
|
|
4044
4195
|
if (n === 32 || n === 9) return e;
|
|
4045
4196
|
}
|
|
4046
4197
|
return -1;
|
|
4047
4198
|
}
|
|
4048
|
-
function
|
|
4049
|
-
const e =
|
|
4199
|
+
function Gt(t) {
|
|
4200
|
+
const e = ks(t);
|
|
4050
4201
|
return e === -1 ? t : t.slice(0, e);
|
|
4051
4202
|
}
|
|
4052
|
-
function
|
|
4053
|
-
const e =
|
|
4203
|
+
function Vn(t) {
|
|
4204
|
+
const e = ks(t);
|
|
4054
4205
|
return e === -1 ? "" : t.slice(e).trim();
|
|
4055
4206
|
}
|
|
4056
|
-
function
|
|
4057
|
-
const e =
|
|
4058
|
-
return e !== void 0 &&
|
|
4207
|
+
function oa(t) {
|
|
4208
|
+
const e = Vt(t, t.meta());
|
|
4209
|
+
return e !== void 0 && Gt(e) === "math";
|
|
4059
4210
|
}
|
|
4060
|
-
function
|
|
4211
|
+
function tn(t, e) {
|
|
4061
4212
|
return C.block(
|
|
4062
|
-
|
|
4063
|
-
e ?
|
|
4064
|
-
e ?
|
|
4213
|
+
yn(t),
|
|
4214
|
+
e ? Gt(e) : "",
|
|
4215
|
+
e ? Vn(e) : "",
|
|
4065
4216
|
t.start
|
|
4066
4217
|
);
|
|
4067
4218
|
}
|
|
4068
|
-
function
|
|
4219
|
+
function en(t) {
|
|
4069
4220
|
if (t.extra === 1)
|
|
4070
4221
|
return C.math === !0 ? C.inline_math(Rt(t), t.start) : null;
|
|
4071
|
-
const e =
|
|
4222
|
+
const e = Vt(t, t.meta());
|
|
4072
4223
|
if (!e) return null;
|
|
4073
4224
|
let n = Rt(t);
|
|
4074
|
-
return
|
|
4225
|
+
return W.call(n, `
|
|
4075
4226
|
`) !== -1 && (n = n.replace(/\n/g, " ")), C.inline(n, e, t.start);
|
|
4076
4227
|
}
|
|
4077
|
-
function
|
|
4228
|
+
function Gn(t, e) {
|
|
4078
4229
|
return e.attributes === null ? e.before : e.before + "<pre" + e.attributes + T(t) + ">";
|
|
4079
4230
|
}
|
|
4080
|
-
function
|
|
4231
|
+
function Kn(t) {
|
|
4081
4232
|
return t.attributes === null ? t.after : "</pre>" + t.after;
|
|
4082
4233
|
}
|
|
4083
|
-
function
|
|
4234
|
+
function Mn(t, e) {
|
|
4084
4235
|
return e.attributes === null ? "" : "<code" + e.attributes + T(t) + ">";
|
|
4085
4236
|
}
|
|
4086
|
-
function
|
|
4237
|
+
function jn(t) {
|
|
4087
4238
|
return t.attributes === null ? "" : "</code>";
|
|
4088
4239
|
}
|
|
4089
|
-
function
|
|
4240
|
+
function fr(t, e, n, s, o, r) {
|
|
4090
4241
|
const l = i.length;
|
|
4091
4242
|
i += n;
|
|
4092
4243
|
const a = i.length;
|
|
@@ -4096,9 +4247,9 @@ function rr(t, e, n, s, o, r) {
|
|
|
4096
4247
|
s,
|
|
4097
4248
|
5
|
|
4098
4249
|
/* CODE_CONTENT */
|
|
4099
|
-
) :
|
|
4250
|
+
) : Zs(e, t, a, s, r)), i += s;
|
|
4100
4251
|
const f = i.length;
|
|
4101
|
-
i += o, e &&
|
|
4252
|
+
i += o, e && L(
|
|
4102
4253
|
e,
|
|
4103
4254
|
l,
|
|
4104
4255
|
a,
|
|
@@ -4109,23 +4260,23 @@ function rr(t, e, n, s, o, r) {
|
|
|
4109
4260
|
/* CODE */
|
|
4110
4261
|
);
|
|
4111
4262
|
}
|
|
4112
|
-
function
|
|
4263
|
+
function Ws(t, e, n, s) {
|
|
4113
4264
|
return y(t, e + n + s);
|
|
4114
4265
|
}
|
|
4115
|
-
function
|
|
4266
|
+
function Js(t, e, n, s, o, r, l) {
|
|
4116
4267
|
n !== 0 && (i += b[n]);
|
|
4117
4268
|
const a = i.length;
|
|
4118
|
-
return i += s, l !== null ?
|
|
4269
|
+
return i += s, l !== null ? Xs(e, t, i.length, o, l) : o.length !== 0 && Bn(e, i.length, t.value_start), i += o + r, U(e, a, t), 0;
|
|
4119
4270
|
}
|
|
4120
|
-
function
|
|
4121
|
-
return n !== 0 && (i += b[n]),
|
|
4271
|
+
function Qs(t, e, n, s, o, r, l) {
|
|
4272
|
+
return n !== 0 && (i += b[n]), fr(t, e, s, o, r, l), 0;
|
|
4122
4273
|
}
|
|
4123
|
-
function
|
|
4124
|
-
n =
|
|
4274
|
+
function ge(t, e, n, s, o, r, l, a) {
|
|
4275
|
+
n = q(n, o);
|
|
4125
4276
|
const f = i.length;
|
|
4126
|
-
a === null || I === 0 ? n =
|
|
4277
|
+
a === null || I === 0 ? n = ir(t, e, n, r) : (I === 1 ? Xs(e, t, f, r, a) : Zs(e, t, f, r, a), i += r);
|
|
4127
4278
|
const c = i.length;
|
|
4128
|
-
return n =
|
|
4279
|
+
return n = q(n, l), ne(
|
|
4129
4280
|
t,
|
|
4130
4281
|
e,
|
|
4131
4282
|
s,
|
|
@@ -4136,18 +4287,18 @@ function ce(t, e, n, s, o, r, l, a) {
|
|
|
4136
4287
|
/* CODE */
|
|
4137
4288
|
), n;
|
|
4138
4289
|
}
|
|
4139
|
-
function
|
|
4290
|
+
function sa(t, e, n, s, o, r, l) {
|
|
4140
4291
|
const a = i.length;
|
|
4141
4292
|
if (o) {
|
|
4142
|
-
r += X("lang",
|
|
4143
|
-
const c =
|
|
4293
|
+
r += X("lang", Gt(o));
|
|
4294
|
+
const c = Vn(o);
|
|
4144
4295
|
c && (r += X("meta", c));
|
|
4145
4296
|
}
|
|
4146
4297
|
const f = s.dropped;
|
|
4147
4298
|
if (f !== null)
|
|
4148
4299
|
for (let c = 0; c < f.length; c++)
|
|
4149
4300
|
C.warn("meta_prop_ignored", f[c], t.start);
|
|
4150
|
-
return B !== null && (r +=
|
|
4301
|
+
return B !== null && (r += $s(t)), r += s.props + (s.code_template === null ? X("code", s.code) : " code={" + s.code_template + "}") + T(t) + ">", s.attributes === null ? ge(t, e, n, a, r, s.body, l, s.live) : ge(
|
|
4151
4302
|
t,
|
|
4152
4303
|
e,
|
|
4153
4304
|
n,
|
|
@@ -4158,45 +4309,45 @@ function $i(t, e, n, s, o, r, l) {
|
|
|
4158
4309
|
s.live
|
|
4159
4310
|
);
|
|
4160
4311
|
}
|
|
4161
|
-
function
|
|
4162
|
-
const a = i.length, f =
|
|
4163
|
-
return r += s.props + X("code", s.code), f && (r += X("meta", f)),
|
|
4312
|
+
function la(t, e, n, s, o, r, l) {
|
|
4313
|
+
const a = i.length, f = Vn(o);
|
|
4314
|
+
return r += s.props + X("code", s.code), f && (r += X("meta", f)), ge(t, e, n, a, r + T(t) + ">", s.body, l, null);
|
|
4164
4315
|
}
|
|
4165
|
-
function
|
|
4316
|
+
function ia(t, e, n, s, o, r) {
|
|
4166
4317
|
const l = i.length;
|
|
4167
|
-
return o += X("code", t.text()) + T(t) + ">",
|
|
4318
|
+
return o += X("code", t.text()) + T(t) + ">", ge(t, e, n, l, o, s.body, r, null);
|
|
4168
4319
|
}
|
|
4169
|
-
function
|
|
4320
|
+
function aa(t, e, n, s, o, r) {
|
|
4170
4321
|
const l = i.length;
|
|
4171
4322
|
return s.attributes === null ? (C.warn(
|
|
4172
4323
|
"code_replacement_skipped",
|
|
4173
4324
|
"the highlighter output is not a single <code> element, so the code component does not replace it",
|
|
4174
4325
|
t.start
|
|
4175
|
-
),
|
|
4326
|
+
), ge(t, e, n, l, "", s.body, "", null)) : (o += X("lang", Vt(t, t.meta())) + s.attributes + T(t) + ">", ge(t, e, n, l, o, s.body, r, null));
|
|
4176
4327
|
}
|
|
4177
|
-
function
|
|
4328
|
+
function Ys(t, e, n, s) {
|
|
4178
4329
|
const o = t.value_start;
|
|
4179
4330
|
if (t.prebuilt === void 0) return o + n;
|
|
4180
4331
|
const r = t.source, l = t.value_end;
|
|
4181
4332
|
let a = o;
|
|
4182
|
-
for (let d =
|
|
4183
|
-
`); d !== -1 && d < n; d =
|
|
4333
|
+
for (let d = W.call(e, `
|
|
4334
|
+
`); d !== -1 && d < n; d = W.call(e, `
|
|
4184
4335
|
`, d + 1))
|
|
4185
|
-
if (a =
|
|
4336
|
+
if (a = W.call(r, `
|
|
4186
4337
|
`, a) + 1, a === 0 || a > l) return -1;
|
|
4187
|
-
let f =
|
|
4338
|
+
let f = W.call(e, `
|
|
4188
4339
|
`, n);
|
|
4189
4340
|
f === -1 && (f = e.length);
|
|
4190
|
-
let c =
|
|
4341
|
+
let c = W.call(r, `
|
|
4191
4342
|
`, a);
|
|
4192
4343
|
(c === -1 || c > l) && (c = l);
|
|
4193
4344
|
const u = c - (f - n);
|
|
4194
4345
|
return u < a || r.slice(u, u + s) !== e.slice(n, n + s) ? -1 : u;
|
|
4195
4346
|
}
|
|
4196
|
-
function
|
|
4347
|
+
function Zs(t, e, n, s, o) {
|
|
4197
4348
|
const r = e.index;
|
|
4198
4349
|
if (B !== null && B.has(r)) {
|
|
4199
|
-
|
|
4350
|
+
S(
|
|
4200
4351
|
t,
|
|
4201
4352
|
n,
|
|
4202
4353
|
n + s.length,
|
|
@@ -4208,13 +4359,13 @@ function Gs(t, e, n, s, o) {
|
|
|
4208
4359
|
);
|
|
4209
4360
|
return;
|
|
4210
4361
|
}
|
|
4211
|
-
const l =
|
|
4362
|
+
const l = yn(e);
|
|
4212
4363
|
let a = n, f = e.value_start;
|
|
4213
4364
|
for (let u = 0; u < o.length; u += 3) {
|
|
4214
|
-
const d = o[u + 2], h =
|
|
4365
|
+
const d = o[u + 2], h = Ys(e, l, o[u + 1], d);
|
|
4215
4366
|
if (h === -1 || h < f) continue;
|
|
4216
4367
|
const v = n + o[u];
|
|
4217
|
-
v > a &&
|
|
4368
|
+
v > a && S(
|
|
4218
4369
|
t,
|
|
4219
4370
|
a,
|
|
4220
4371
|
v,
|
|
@@ -4223,7 +4374,7 @@ function Gs(t, e, n, s, o) {
|
|
|
4223
4374
|
r,
|
|
4224
4375
|
5
|
|
4225
4376
|
/* CODE_CONTENT */
|
|
4226
|
-
),
|
|
4377
|
+
), S(
|
|
4227
4378
|
t,
|
|
4228
4379
|
v,
|
|
4229
4380
|
v + d,
|
|
@@ -4235,7 +4386,7 @@ function Gs(t, e, n, s, o) {
|
|
|
4235
4386
|
), a = v + d, f = h + d;
|
|
4236
4387
|
}
|
|
4237
4388
|
const c = n + s.length;
|
|
4238
|
-
c > a &&
|
|
4389
|
+
c > a && S(
|
|
4239
4390
|
t,
|
|
4240
4391
|
a,
|
|
4241
4392
|
c,
|
|
@@ -4246,24 +4397,24 @@ function Gs(t, e, n, s, o) {
|
|
|
4246
4397
|
/* CODE_CONTENT */
|
|
4247
4398
|
);
|
|
4248
4399
|
}
|
|
4249
|
-
function
|
|
4400
|
+
function Xs(t, e, n, s, o) {
|
|
4250
4401
|
if (B !== null && B.has(e.index)) {
|
|
4251
|
-
s.length !== 0 &&
|
|
4402
|
+
s.length !== 0 && Bn(t, n, e.value_start);
|
|
4252
4403
|
return;
|
|
4253
4404
|
}
|
|
4254
|
-
const r =
|
|
4405
|
+
const r = yn(e);
|
|
4255
4406
|
let l = n, a = e.value_start;
|
|
4256
4407
|
for (let c = 0; c < o.length; c += 3) {
|
|
4257
|
-
const u = o[c + 2], d =
|
|
4408
|
+
const u = o[c + 2], d = Ys(e, r, o[c + 1], u);
|
|
4258
4409
|
if (d === -1 || d < a) continue;
|
|
4259
4410
|
const h = n + o[c];
|
|
4260
|
-
h > l &&
|
|
4411
|
+
h > l && F(t, l, h, a, d), F(t, h, h + u, d, d + u), l = h + u, a = d + u;
|
|
4261
4412
|
}
|
|
4262
4413
|
const f = n + s.length;
|
|
4263
|
-
f > l &&
|
|
4414
|
+
f > l && F(t, l, f, a, e.value_end);
|
|
4264
4415
|
}
|
|
4265
|
-
let
|
|
4266
|
-
const
|
|
4416
|
+
let zn = !1, cr, _e = !1, pn = !1, xn = !1, ur = "“", dr = "”", hr = "‘", gr = "’", Fn = "", Ve = 0, $n = 0, oe = -1, At = -1, Lt = -1, Tt = -1, Ct = -1, Ot = -1, Dt = -1, kn = -1, _r = -1, $o = !1, br = 4294967295, ko = 4294967295;
|
|
4417
|
+
const fa = /* @__PURE__ */ new Set([
|
|
4267
4418
|
"address",
|
|
4268
4419
|
"article",
|
|
4269
4420
|
"aside",
|
|
@@ -4305,7 +4456,7 @@ const Qi = /* @__PURE__ */ new Set([
|
|
|
4305
4456
|
"thead",
|
|
4306
4457
|
"tr",
|
|
4307
4458
|
"ul"
|
|
4308
|
-
]),
|
|
4459
|
+
]), ca = /* @__PURE__ */ new Set([
|
|
4309
4460
|
"code",
|
|
4310
4461
|
"kbd",
|
|
4311
4462
|
"pre",
|
|
@@ -4316,76 +4467,76 @@ const Qi = /* @__PURE__ */ new Set([
|
|
|
4316
4467
|
"script",
|
|
4317
4468
|
"style"
|
|
4318
4469
|
]);
|
|
4319
|
-
function
|
|
4320
|
-
return
|
|
4470
|
+
function ua(t, e, n, s, o) {
|
|
4471
|
+
return zn ? o ? st(t.source.slice(n, s)) : ga(t, e, n, s) : Ft <= n ? "" : _t(t, e, n, Ft, o);
|
|
4321
4472
|
}
|
|
4322
|
-
function
|
|
4323
|
-
t !==
|
|
4473
|
+
function Wo(t) {
|
|
4474
|
+
t !== cr && da(t), (_e || pn || xn) && (zn = !0, _r = -1, br = 4294967295, Ft = 0);
|
|
4324
4475
|
}
|
|
4325
|
-
function
|
|
4326
|
-
|
|
4476
|
+
function an() {
|
|
4477
|
+
zn = !1, Fn = "", Ve = 0, je = "";
|
|
4327
4478
|
}
|
|
4328
|
-
function
|
|
4479
|
+
function fn(t) {
|
|
4329
4480
|
if (typeof t != "string")
|
|
4330
4481
|
throw new TypeError("smart_punctuation.quotes takes four strings");
|
|
4331
4482
|
const e = D(t);
|
|
4332
|
-
return
|
|
4483
|
+
return as.test(e) ? e.replace(fs, yr) : e;
|
|
4333
4484
|
}
|
|
4334
|
-
function
|
|
4335
|
-
if (
|
|
4336
|
-
|
|
4485
|
+
function da(t) {
|
|
4486
|
+
if (cr = void 0, ur = "“", dr = "”", hr = "‘", gr = "’", typeof t == "boolean")
|
|
4487
|
+
_e = pn = xn = t;
|
|
4337
4488
|
else {
|
|
4338
4489
|
const e = t.quotes;
|
|
4339
|
-
if (
|
|
4490
|
+
if (_e = e !== !1, pn = t.dashes !== !1, xn = t.ellipses !== !1, typeof e == "object") {
|
|
4340
4491
|
if (!Array.isArray(e) || e.length !== 4)
|
|
4341
4492
|
throw new TypeError("smart_punctuation.quotes takes four strings");
|
|
4342
|
-
|
|
4493
|
+
ur = fn(e[0]), dr = fn(e[1]), hr = fn(e[2]), gr = fn(e[3]);
|
|
4343
4494
|
}
|
|
4344
4495
|
}
|
|
4345
|
-
|
|
4496
|
+
cr = t;
|
|
4346
4497
|
}
|
|
4347
|
-
function
|
|
4348
|
-
|
|
4349
|
-
const e =
|
|
4350
|
-
|
|
4498
|
+
function ha(t) {
|
|
4499
|
+
Fn = t;
|
|
4500
|
+
const e = Ve = t.length;
|
|
4501
|
+
$n = 0, oe = -1, At = -1, Lt = -1, Tt = -1, Ct = _e ? -1 : e, Ot = pn ? -1 : e, Dt = xn ? -1 : e, kn = -1;
|
|
4351
4502
|
}
|
|
4352
4503
|
function Q(t, e) {
|
|
4353
|
-
const n =
|
|
4354
|
-
return n === -1 ?
|
|
4504
|
+
const n = Fn.indexOf(t, e);
|
|
4505
|
+
return n === -1 ? Ve : n;
|
|
4355
4506
|
}
|
|
4356
|
-
function
|
|
4507
|
+
function ga(t, e, n, s) {
|
|
4357
4508
|
const o = t.source;
|
|
4358
|
-
if ((o !==
|
|
4509
|
+
if ((o !== Fn || n < $n) && ha(o), s > Ve && (s = Ve, s <= n))
|
|
4359
4510
|
return "";
|
|
4360
|
-
let r =
|
|
4361
|
-
r < s && (r =
|
|
4511
|
+
let r = kn;
|
|
4512
|
+
r < s && (r = _a(n));
|
|
4362
4513
|
const l = o.charCodeAt(n);
|
|
4363
|
-
if ((l === 123 || l === 125) &&
|
|
4514
|
+
if ((l === 123 || l === 125) && me(o, n)) {
|
|
4364
4515
|
const a = l === 123 ? "{" : "}";
|
|
4365
|
-
return r >= s ? a + o.slice(n + 1, s) : a +
|
|
4516
|
+
return r >= s ? a + o.slice(n + 1, s) : a + Jo(t, e, o, n, s, r, n + 1);
|
|
4366
4517
|
}
|
|
4367
|
-
return r >= s ? o.slice(n, s) :
|
|
4518
|
+
return r >= s ? o.slice(n, s) : Jo(t, e, o, n, s, r, n);
|
|
4368
4519
|
}
|
|
4369
|
-
function
|
|
4370
|
-
|
|
4371
|
-
let e =
|
|
4372
|
-
return At < e && (e = At), Lt < e && (e = Lt), Tt < e && (e = Tt), Ct < e && (e = Ct), Ot < e && (e = Ot), Dt < e && (e = Dt),
|
|
4520
|
+
function _a(t) {
|
|
4521
|
+
oe < t && (oe = Q("&", t)), At < t && (At = Q("<", t)), Lt < t && (Lt = Q(">", t)), Tt < t && (Tt = Q('"', t)), Ct < t && (Ct = Q("'", t)), Ot < t && (Ot = Q("--", t)), Dt < t && (Dt = Q("...", t)), $n = t;
|
|
4522
|
+
let e = oe;
|
|
4523
|
+
return At < e && (e = At), Lt < e && (e = Lt), Tt < e && (e = Tt), Ct < e && (e = Ct), Ot < e && (e = Ot), Dt < e && (e = Dt), kn = e;
|
|
4373
4524
|
}
|
|
4374
|
-
function
|
|
4375
|
-
const a = !
|
|
4525
|
+
function Jo(t, e, n, s, o, r, l) {
|
|
4526
|
+
const a = !nl(t, e), f = me(n, s);
|
|
4376
4527
|
let c = "";
|
|
4377
4528
|
for (; r < o; ) {
|
|
4378
4529
|
const u = n.charCodeAt(r);
|
|
4379
4530
|
if (c += n.slice(l, r), l = r + 1, u === 38)
|
|
4380
|
-
|
|
4531
|
+
oe = Q("&", r + 1), cs(n, s, o, r) ? l = r : c += "&";
|
|
4381
4532
|
else if (u === 60)
|
|
4382
4533
|
c += "<", At = Q("<", r + 1);
|
|
4383
4534
|
else if (u === 62)
|
|
4384
4535
|
c += ">", Lt = Q(">", r + 1);
|
|
4385
4536
|
else if (u === 34 || u === 39) {
|
|
4386
4537
|
u === 34 ? Tt = Q('"', r + 1) : Ct = Q("'", r + 1);
|
|
4387
|
-
const d = a &&
|
|
4388
|
-
d === 0 ? u === 34 ? c += """ : l = r : d === 1 ? c += u === 34 ?
|
|
4538
|
+
const d = a && _e && !(f && r === s) ? tl(t, e, n, s, o, r) : 0;
|
|
4539
|
+
d === 0 ? u === 34 ? c += """ : l = r : d === 1 ? c += u === 34 ? ur : hr : u === 34 ? c += dr : c += d === 3 ? "’" : gr;
|
|
4389
4540
|
} else {
|
|
4390
4541
|
let d = r + 1;
|
|
4391
4542
|
for (; d < o && n.charCodeAt(d) === u; ) d++;
|
|
@@ -4393,18 +4544,18 @@ function zo(t, e, n, s, o, r, l) {
|
|
|
4393
4544
|
h ? Ot = Q("--", d) : Dt = Q("...", d);
|
|
4394
4545
|
const v = d - r;
|
|
4395
4546
|
a && (v === 3 || v === 2 && h) && !(f && r === s) && // the run goes on in the next text node, behind a backslash
|
|
4396
|
-
!(d === o && n.charCodeAt(o) === 92 && n.charCodeAt(o + 1) === u) && !(v === 2 &&
|
|
4547
|
+
!(d === o && n.charCodeAt(o) === 92 && n.charCodeAt(o + 1) === u) && !(v === 2 && ba(t, e, n, s, o, r)) ? c += h ? v === 2 ? "–" : "—" : "…" : c += n.slice(r, d), l = d;
|
|
4397
4548
|
}
|
|
4398
|
-
r =
|
|
4549
|
+
r = oe, At < r && (r = At), Lt < r && (r = Lt), Tt < r && (r = Tt), Ct < r && (r = Ct), Ot < r && (r = Ot), Dt < r && (r = Dt);
|
|
4399
4550
|
}
|
|
4400
|
-
return
|
|
4551
|
+
return $n = o, kn = r, c + n.slice(l, o);
|
|
4401
4552
|
}
|
|
4402
|
-
function
|
|
4553
|
+
function ba(t, e, n, s, o, r) {
|
|
4403
4554
|
if (r + 2 >= o) return !1;
|
|
4404
4555
|
const l = n.charCodeAt(r + 2) | 32;
|
|
4405
|
-
return l < 97 || l > 122 ? !1 : (r > s ?
|
|
4556
|
+
return l < 97 || l > 122 ? !1 : (r > s ? se(n.charCodeAt(r - 1)) : el(t, e)) === 0;
|
|
4406
4557
|
}
|
|
4407
|
-
function
|
|
4558
|
+
function tl(t, e, n, s, o, r) {
|
|
4408
4559
|
let l = r;
|
|
4409
4560
|
for (; l > s; ) {
|
|
4410
4561
|
const c = n.charCodeAt(l - 1);
|
|
@@ -4412,11 +4563,11 @@ function Ms(t, e, n, s, o, r) {
|
|
|
4412
4563
|
l--;
|
|
4413
4564
|
}
|
|
4414
4565
|
let a;
|
|
4415
|
-
l > s ? a =
|
|
4416
|
-
const f = r + 1 < o ?
|
|
4566
|
+
l > s ? a = se(n.charCodeAt(l - 1)) : l < r && me(n, s) ? (a = 3, l = r) : a = el(t, e);
|
|
4567
|
+
const f = r + 1 < o ? se(n.charCodeAt(r + 1)) : wa(t, ma(t, e, o));
|
|
4417
4568
|
return l < r ? (a === 0 || a === 1) && f !== 0 ? 1 : 2 : a === 0 ? f === 0 ? 0 : 1 : a === 1 && f !== 0 ? 1 : a === 2 && f === 2 ? 3 : 2;
|
|
4418
4569
|
}
|
|
4419
|
-
function
|
|
4570
|
+
function se(t) {
|
|
4420
4571
|
if (t <= 32 || t === 160) return 0;
|
|
4421
4572
|
if (t < 128) {
|
|
4422
4573
|
if (t === 40 || t === 91 || t === 123 || t === 45) return 1;
|
|
@@ -4426,7 +4577,7 @@ function te(t) {
|
|
|
4426
4577
|
}
|
|
4427
4578
|
return t === 8211 || t === 8212 ? 1 : t < 192 ? 3 : t >= 8192 && t <= 8303 ? t <= 8202 || t === 8232 || t === 8233 || t === 8239 || t === 8287 ? 0 : 3 : t === 5760 || t === 12288 ? 0 : t > 12288 && t <= 12351 ? 3 : 2;
|
|
4428
4579
|
}
|
|
4429
|
-
function
|
|
4580
|
+
function mo(t, e) {
|
|
4430
4581
|
var s;
|
|
4431
4582
|
const n = t.words[
|
|
4432
4583
|
e * 12
|
|
@@ -4436,11 +4587,11 @@ function fo(t, e) {
|
|
|
4436
4587
|
const o = t.index;
|
|
4437
4588
|
t.move_to(e);
|
|
4438
4589
|
const r = (s = t.meta()) == null ? void 0 : s.tag;
|
|
4439
|
-
return t.move_to(o), typeof r != "string" || !
|
|
4590
|
+
return t.move_to(o), typeof r != "string" || !fa.has(r);
|
|
4440
4591
|
}
|
|
4441
4592
|
return n === 9 || n === 10 || n === 19 || n === 20 || n === 21 || n === 12 || n === 30;
|
|
4442
4593
|
}
|
|
4443
|
-
function
|
|
4594
|
+
function Qo(t, e) {
|
|
4444
4595
|
const n = t[
|
|
4445
4596
|
e * 12 + 5
|
|
4446
4597
|
/* parent */
|
|
@@ -4450,7 +4601,7 @@ function Fo(t, e) {
|
|
|
4450
4601
|
n * 12 + 8
|
|
4451
4602
|
/* first_child */
|
|
4452
4603
|
];
|
|
4453
|
-
let o =
|
|
4604
|
+
let o = br, r = ko;
|
|
4454
4605
|
(o === 4294967295 || t[
|
|
4455
4606
|
o * 12 + 5
|
|
4456
4607
|
/* parent */
|
|
@@ -4461,7 +4612,7 @@ function Fo(t, e) {
|
|
|
4461
4612
|
/* parent */
|
|
4462
4613
|
] === n; ) {
|
|
4463
4614
|
if (o === e)
|
|
4464
|
-
return
|
|
4615
|
+
return br = o, ko = r, r;
|
|
4465
4616
|
r = o, o = t[
|
|
4466
4617
|
o * 12 + 6
|
|
4467
4618
|
/* next */
|
|
@@ -4471,24 +4622,24 @@ function Fo(t, e) {
|
|
|
4471
4622
|
}
|
|
4472
4623
|
return 4294967295;
|
|
4473
4624
|
}
|
|
4474
|
-
function
|
|
4625
|
+
function el(t, e) {
|
|
4475
4626
|
const n = t.words;
|
|
4476
4627
|
for (; ; ) {
|
|
4477
|
-
let s =
|
|
4628
|
+
let s = Qo(n, e);
|
|
4478
4629
|
for (; s !== 4294967295; ) {
|
|
4479
|
-
const r =
|
|
4630
|
+
const r = wo(t, s, !0);
|
|
4480
4631
|
if (r !== -1) return r;
|
|
4481
|
-
s =
|
|
4632
|
+
s = Qo(n, s);
|
|
4482
4633
|
}
|
|
4483
4634
|
const o = n[
|
|
4484
4635
|
e * 12 + 5
|
|
4485
4636
|
/* parent */
|
|
4486
4637
|
];
|
|
4487
|
-
if (o === 4294967295 || !
|
|
4638
|
+
if (o === 4294967295 || !mo(t, o)) return 0;
|
|
4488
4639
|
e = o;
|
|
4489
4640
|
}
|
|
4490
4641
|
}
|
|
4491
|
-
function
|
|
4642
|
+
function ma(t, e, n) {
|
|
4492
4643
|
const s = t.words, o = s[
|
|
4493
4644
|
e * 12 + 5
|
|
4494
4645
|
/* parent */
|
|
@@ -4513,7 +4664,7 @@ function oa(t, e, n) {
|
|
|
4513
4664
|
e = a;
|
|
4514
4665
|
}
|
|
4515
4666
|
}
|
|
4516
|
-
function
|
|
4667
|
+
function wa(t, e) {
|
|
4517
4668
|
const n = t.words;
|
|
4518
4669
|
for (; ; ) {
|
|
4519
4670
|
const s = n[
|
|
@@ -4528,23 +4679,23 @@ function sa(t, e) {
|
|
|
4528
4679
|
o * 12 + 5
|
|
4529
4680
|
/* parent */
|
|
4530
4681
|
] === s; ) {
|
|
4531
|
-
const r =
|
|
4682
|
+
const r = wo(t, o, !1);
|
|
4532
4683
|
if (r !== -1) return r;
|
|
4533
4684
|
o = n[
|
|
4534
4685
|
o * 12 + 6
|
|
4535
4686
|
/* next */
|
|
4536
4687
|
];
|
|
4537
4688
|
}
|
|
4538
|
-
if (s === 4294967295 || !
|
|
4689
|
+
if (s === 4294967295 || !mo(t, s)) return 0;
|
|
4539
4690
|
e = s;
|
|
4540
4691
|
}
|
|
4541
4692
|
}
|
|
4542
|
-
function
|
|
4693
|
+
function wo(t, e, n) {
|
|
4543
4694
|
const s = t.words, o = e * 12, r = s[o] & 255;
|
|
4544
4695
|
if (r === 1) {
|
|
4545
4696
|
const f = t.prebuilt_at(e);
|
|
4546
4697
|
if (f !== void 0)
|
|
4547
|
-
return f.length === 0 ? -1 :
|
|
4698
|
+
return f.length === 0 ? -1 : se(f.charCodeAt(n ? f.length - 1 : 0));
|
|
4548
4699
|
const c = s[
|
|
4549
4700
|
o + 3
|
|
4550
4701
|
/* value_start */
|
|
@@ -4555,16 +4706,16 @@ function co(t, e, n) {
|
|
|
4555
4706
|
];
|
|
4556
4707
|
const d = t.source;
|
|
4557
4708
|
if (u !== 4294967295 && u > d.length && (u = d.length), c === 4294967295 || u === 4294967295 || u <= c) return -1;
|
|
4558
|
-
if (!n) return
|
|
4709
|
+
if (!n) return se(d.charCodeAt(c));
|
|
4559
4710
|
const h = d.charCodeAt(u - 1);
|
|
4560
|
-
return (h === 34 || h === 39) &&
|
|
4711
|
+
return (h === 34 || h === 39) && _e && !(u - 1 === c && me(d, c)) && !nl(t, e) ? tl(t, e, d, c, u, u - 1) === 1 ? 1 : 3 : se(h);
|
|
4561
4712
|
}
|
|
4562
4713
|
if (r === 18 || r === 17 || r === 6)
|
|
4563
4714
|
return 0;
|
|
4564
4715
|
if (r === 26) return -1;
|
|
4565
4716
|
if (r === 8 || r === 4 || r === 13 || r === 27)
|
|
4566
4717
|
return 2;
|
|
4567
|
-
if (!
|
|
4718
|
+
if (!mo(t, e)) return 0;
|
|
4568
4719
|
let l = s[
|
|
4569
4720
|
o + 8
|
|
4570
4721
|
/* first_child */
|
|
@@ -4582,18 +4733,18 @@ function co(t, e, n) {
|
|
|
4582
4733
|
] !== e) break;
|
|
4583
4734
|
l = f;
|
|
4584
4735
|
}
|
|
4585
|
-
const a =
|
|
4736
|
+
const a = wo(t, l, n);
|
|
4586
4737
|
return a === -1 ? 2 : a;
|
|
4587
4738
|
}
|
|
4588
|
-
function
|
|
4739
|
+
function nl(t, e) {
|
|
4589
4740
|
var l;
|
|
4590
4741
|
const n = t.words;
|
|
4591
4742
|
let s = n[
|
|
4592
4743
|
e * 12 + 5
|
|
4593
4744
|
/* parent */
|
|
4594
4745
|
];
|
|
4595
|
-
if (s ===
|
|
4596
|
-
|
|
4746
|
+
if (s === _r) return $o;
|
|
4747
|
+
_r = s;
|
|
4597
4748
|
let o = !1;
|
|
4598
4749
|
s !== 4294967295 && (n[
|
|
4599
4750
|
s * 12
|
|
@@ -4610,81 +4761,81 @@ function Fs(t, e) {
|
|
|
4610
4761
|
] & 255) === 2) {
|
|
4611
4762
|
t.move_to(s);
|
|
4612
4763
|
const a = (l = t.meta()) == null ? void 0 : l.tag;
|
|
4613
|
-
typeof a == "string" &&
|
|
4764
|
+
typeof a == "string" && ca.has(a) && (o = !0);
|
|
4614
4765
|
}
|
|
4615
4766
|
s = n[
|
|
4616
4767
|
s * 12 + 5
|
|
4617
4768
|
/* parent */
|
|
4618
4769
|
];
|
|
4619
4770
|
}
|
|
4620
|
-
return t.move_to(r),
|
|
4771
|
+
return t.move_to(r), $o = o;
|
|
4621
4772
|
}
|
|
4622
4773
|
let K = null;
|
|
4623
|
-
function
|
|
4774
|
+
function rl(t) {
|
|
4624
4775
|
if (K !== null) return K;
|
|
4625
|
-
const e =
|
|
4776
|
+
const e = es(t.buffer, !0);
|
|
4626
4777
|
return K = e, e;
|
|
4627
4778
|
}
|
|
4628
|
-
function
|
|
4779
|
+
function ol(t) {
|
|
4629
4780
|
try {
|
|
4630
4781
|
return encodeURIComponent(t);
|
|
4631
4782
|
} catch {
|
|
4632
4783
|
return t;
|
|
4633
4784
|
}
|
|
4634
4785
|
}
|
|
4635
|
-
function
|
|
4636
|
-
return st(
|
|
4786
|
+
function sl(t) {
|
|
4787
|
+
return st(ol(t));
|
|
4637
4788
|
}
|
|
4638
|
-
function
|
|
4789
|
+
function be(t, e) {
|
|
4639
4790
|
const n = t.moved;
|
|
4640
4791
|
return n == null ? e : n.get(e) ?? e;
|
|
4641
4792
|
}
|
|
4642
|
-
function
|
|
4643
|
-
const e =
|
|
4793
|
+
function Wn(t) {
|
|
4794
|
+
const e = rl(t), n = e.references.get(t.index);
|
|
4644
4795
|
if (n === void 0) return "";
|
|
4645
4796
|
const s = Math.floor(n / 65536);
|
|
4646
|
-
return '<sup><a href="#' +
|
|
4797
|
+
return '<sup><a href="#' + sl(be(e, wr(e.labels[s - 1]))) + '" id="' + st(be(e, vr(s, n % 65536))) + '" role="doc-noteref">' + s + "</a></sup>";
|
|
4647
4798
|
}
|
|
4648
|
-
function
|
|
4649
|
-
const o =
|
|
4799
|
+
function ll(t, e, n, s) {
|
|
4800
|
+
const o = Wn(t);
|
|
4650
4801
|
n !== 0 && (i += b[n]);
|
|
4651
4802
|
const r = i.length;
|
|
4652
|
-
return i += o, s ? U(e, r, t) :
|
|
4803
|
+
return i += o, s ? U(e, r, t) : S(e, r, i.length, t.start, t.end, t.index, 0), 0;
|
|
4653
4804
|
}
|
|
4654
|
-
function
|
|
4805
|
+
function hn(t, e, n) {
|
|
4655
4806
|
return n === 0 ? y(t, e) : (t !== 0 && (i += b[t]), i += e, 0);
|
|
4656
4807
|
}
|
|
4657
|
-
function
|
|
4808
|
+
function va(t, e, n) {
|
|
4658
4809
|
const s = st(t.back_label ?? "Back to reference {n}");
|
|
4659
4810
|
let o = "";
|
|
4660
4811
|
for (let r = 1; r <= n; r++) {
|
|
4661
4812
|
const l = r === 1 ? "" + e : e + "-" + r;
|
|
4662
|
-
o += ' <a href="#' +
|
|
4813
|
+
o += ' <a href="#' + sl(be(t, vr(e, r))) + '" role="doc-backlink" aria-label="' + s.replace("{n}", l) + // the selector keeps the arrow from being drawn as an emoji
|
|
4663
4814
|
'">↩︎' + (r === 1 ? "" : "<sup>" + r + "</sup>") + "</a>";
|
|
4664
4815
|
}
|
|
4665
4816
|
return o;
|
|
4666
4817
|
}
|
|
4667
|
-
function
|
|
4818
|
+
function pa(t, e, n, s, o) {
|
|
4668
4819
|
if (s === 0)
|
|
4669
|
-
return n =
|
|
4820
|
+
return n = ut(t, n, Be, Ue, A), n = J(t, n), _(y(n, o), Kt);
|
|
4670
4821
|
const r = i.length + w[n], l = t.start;
|
|
4671
|
-
if (n = P(t, n,
|
|
4672
|
-
return n = $(t, e, n), n !== 0 && (i += b[n]), i += o,
|
|
4822
|
+
if (n = P(t, n, Be, Ue, A), s === 1)
|
|
4823
|
+
return n = $(t, e, n), n !== 0 && (i += b[n]), i += o, Bn(e, r, l), Kt;
|
|
4673
4824
|
const a = i.length + w[n];
|
|
4674
|
-
n =
|
|
4825
|
+
n = k(t, e, n), n !== 0 && (i += b[n]), i += o;
|
|
4675
4826
|
const f = i.length;
|
|
4676
|
-
return
|
|
4827
|
+
return L(
|
|
4677
4828
|
e,
|
|
4678
4829
|
r,
|
|
4679
4830
|
a,
|
|
4680
4831
|
f,
|
|
4681
|
-
f + w[
|
|
4832
|
+
f + w[Kt],
|
|
4682
4833
|
t,
|
|
4683
4834
|
0
|
|
4684
4835
|
/* TEXT */
|
|
4685
|
-
),
|
|
4836
|
+
), Kt;
|
|
4686
4837
|
}
|
|
4687
|
-
function
|
|
4838
|
+
function il(t, e, n, s, o, r) {
|
|
4688
4839
|
const l = t.words, a = l[
|
|
4689
4840
|
o * 12 + 8
|
|
4690
4841
|
/* first_child */
|
|
@@ -4713,12 +4864,12 @@ function Js(t, e, n, s, o, r) {
|
|
|
4713
4864
|
u * 12
|
|
4714
4865
|
/* stride */
|
|
4715
4866
|
] & 255;
|
|
4716
|
-
d !== 6 && (t.move_to(u), u === f && d === 7 && !(
|
|
4867
|
+
d !== 6 && (t.move_to(u), u === f && d === 7 && !(bt && Zt(t) !== null) ? (n = pa(t, e, n, s, r), c = !0) : n = bo(t, e, n, s, u, d));
|
|
4717
4868
|
}
|
|
4718
|
-
return c ? n :
|
|
4869
|
+
return c ? n : hn(n, r, s);
|
|
4719
4870
|
}
|
|
4720
|
-
function
|
|
4721
|
-
const o = K, r = o.definitions, l =
|
|
4871
|
+
function vo(t, e, n, s) {
|
|
4872
|
+
const o = K, r = o.definitions, l = bt ? z.get("footnotes") : void 0;
|
|
4722
4873
|
let a = l !== void 0 ? "<" + l.local + `>
|
|
4723
4874
|
<ol>
|
|
4724
4875
|
` : '<section class="footnotes" role="doc-endnotes" aria-label="' + st(o.label ?? "Footnotes") + `">
|
|
@@ -4727,18 +4878,18 @@ function uo(t, e, n, s) {
|
|
|
4727
4878
|
for (let c = 0; c < r.length; c++) {
|
|
4728
4879
|
const u = r[c];
|
|
4729
4880
|
if (u === 4294967295) continue;
|
|
4730
|
-
let d = a + '<li id="' + st(
|
|
4731
|
-
a = "", c + 1 !== f && (d += ' value="' + (c + 1) + '"'), f = c + 2, n =
|
|
4881
|
+
let d = a + '<li id="' + st(be(o, wr(o.labels[c]))) + '"';
|
|
4882
|
+
a = "", c + 1 !== f && (d += ' value="' + (c + 1) + '"'), f = c + 2, n = hn(n, d + ">", s), n = il(
|
|
4732
4883
|
t,
|
|
4733
4884
|
e,
|
|
4734
4885
|
n,
|
|
4735
4886
|
s,
|
|
4736
4887
|
u,
|
|
4737
|
-
|
|
4738
|
-
), n =
|
|
4888
|
+
va(o, c + 1, o.counts[c])
|
|
4889
|
+
), n = hn(n, `</li>
|
|
4739
4890
|
`, s);
|
|
4740
4891
|
}
|
|
4741
|
-
return t.move_to(0), a !== "" ? n :
|
|
4892
|
+
return t.move_to(0), a !== "" ? n : hn(
|
|
4742
4893
|
n,
|
|
4743
4894
|
l !== void 0 ? `</ol>
|
|
4744
4895
|
</` + l.local + ">" : `</ol>
|
|
@@ -4746,27 +4897,27 @@ function uo(t, e, n, s) {
|
|
|
4746
4897
|
s
|
|
4747
4898
|
);
|
|
4748
4899
|
}
|
|
4749
|
-
const
|
|
4750
|
-
let
|
|
4751
|
-
function
|
|
4752
|
-
const l =
|
|
4900
|
+
const xa = /* @__PURE__ */ new Set(["label"]);
|
|
4901
|
+
let nr = !1;
|
|
4902
|
+
function ya(t, e, n, s, o, r) {
|
|
4903
|
+
const l = rl(t), a = l.references.get(t.index);
|
|
4753
4904
|
if (a === void 0) return n;
|
|
4754
4905
|
const f = Math.floor(a / 65536), c = l.labels[f - 1], u = t.index;
|
|
4755
|
-
n =
|
|
4906
|
+
n = q(
|
|
4756
4907
|
n,
|
|
4757
|
-
o + X("label", c) + " number={" + f + "}" + X("href", "#" +
|
|
4908
|
+
o + X("label", c) + " number={" + f + "}" + X("href", "#" + ol(be(l, wr(c)))) + X("id", be(l, vr(f, a % 65536))) + T(t, xa) + ">"
|
|
4758
4909
|
);
|
|
4759
4910
|
const d = l.definitions[f - 1];
|
|
4760
|
-
if (d !== 4294967295 && !
|
|
4761
|
-
|
|
4911
|
+
if (d !== 4294967295 && !nr) {
|
|
4912
|
+
nr = !0;
|
|
4762
4913
|
try {
|
|
4763
|
-
n =
|
|
4914
|
+
n = q(n, "{#snippet note()}"), n = il(t, e, n, I, d, ""), n = q(n, "{/snippet}");
|
|
4764
4915
|
} finally {
|
|
4765
|
-
|
|
4916
|
+
nr = !1;
|
|
4766
4917
|
}
|
|
4767
4918
|
t.move_to(u);
|
|
4768
4919
|
}
|
|
4769
|
-
return n =
|
|
4920
|
+
return n = q(n, Wn(t) + r), re(
|
|
4770
4921
|
t,
|
|
4771
4922
|
e,
|
|
4772
4923
|
s,
|
|
@@ -4774,23 +4925,23 @@ function fa(t, e, n, s, o, r) {
|
|
|
4774
4925
|
/* TEXT */
|
|
4775
4926
|
), n;
|
|
4776
4927
|
}
|
|
4777
|
-
function
|
|
4778
|
-
|
|
4779
|
-
const e =
|
|
4928
|
+
function Yo(t) {
|
|
4929
|
+
j = "";
|
|
4930
|
+
const e = vo(
|
|
4780
4931
|
t,
|
|
4781
4932
|
void 0,
|
|
4782
4933
|
0,
|
|
4783
4934
|
0
|
|
4784
4935
|
/* FOLD */
|
|
4785
4936
|
);
|
|
4786
|
-
let n =
|
|
4787
|
-
return
|
|
4937
|
+
let n = j;
|
|
4938
|
+
return j = "", e !== 0 && (n += b[e]), n;
|
|
4788
4939
|
}
|
|
4789
4940
|
let et = !1;
|
|
4790
|
-
const
|
|
4791
|
-
function
|
|
4941
|
+
const Zo = '<div style="display: contents">', Ea = "</div>";
|
|
4942
|
+
function po(t, e, n, s, o) {
|
|
4792
4943
|
const r = s === 0, l = s === 1 ? 3 : 6;
|
|
4793
|
-
let a = r ?
|
|
4944
|
+
let a = r ? j : i;
|
|
4794
4945
|
n !== 0 && (a += b[n]);
|
|
4795
4946
|
let f = "", c = 0, u = 0;
|
|
4796
4947
|
const d = t.words;
|
|
@@ -4799,38 +4950,38 @@ function ho(t, e, n, s, o) {
|
|
|
4799
4950
|
/* first_child */
|
|
4800
4951
|
];
|
|
4801
4952
|
for (; h !== 4294967295; ) {
|
|
4802
|
-
const
|
|
4953
|
+
const E = h * 12;
|
|
4803
4954
|
if (d[
|
|
4804
|
-
|
|
4955
|
+
E + 5
|
|
4805
4956
|
/* parent */
|
|
4806
4957
|
] !== 0) break;
|
|
4807
|
-
const g = d[
|
|
4808
|
-
if (g !== 6 && (t.move_to(h), !o || !
|
|
4958
|
+
const g = d[E] & 255;
|
|
4959
|
+
if (g !== 6 && (t.move_to(h), !o || !Ks(t, g))) {
|
|
4809
4960
|
const p = e === void 0 ? 0 : e.n;
|
|
4810
|
-
r ?
|
|
4811
|
-
let N = r ?
|
|
4812
|
-
n !== 0 && (N += b[n]), N.length === 0 && c === 0 ?
|
|
4961
|
+
r ? j = "" : i = "", n = bo(t, e, 0, s, h, g);
|
|
4962
|
+
let N = r ? j : i;
|
|
4963
|
+
n !== 0 && (N += b[n]), N.length === 0 && c === 0 ? rr(e, p, l, a.length) : N.length === 0 || Sa(N) ? (c === 0 && (u = p), rr(e, p, l, f.length), N.length !== 0 && (f += N, c++)) : (a = Xo(a, f, c, e, u, p, l), f = "", c = 0, rr(e, p, l, a.length), a += N);
|
|
4813
4964
|
}
|
|
4814
4965
|
h = d[
|
|
4815
|
-
|
|
4966
|
+
E + 6
|
|
4816
4967
|
/* next */
|
|
4817
4968
|
];
|
|
4818
4969
|
}
|
|
4819
4970
|
const v = e === void 0 ? 0 : e.n;
|
|
4820
|
-
return a =
|
|
4971
|
+
return a = Xo(a, f, c, e, u, v, l), r ? j = a : i = a, t.move_to(0), 0;
|
|
4821
4972
|
}
|
|
4822
|
-
function
|
|
4823
|
-
return n === 0 ? t : n === 1 ? (
|
|
4973
|
+
function Xo(t, e, n, s, o, r, l) {
|
|
4974
|
+
return n === 0 ? t : n === 1 ? (mr(s, o, r, l, t.length), t + e) : (mr(s, o, r, l, t.length + Zo.length), t + Zo + e + Ea);
|
|
4824
4975
|
}
|
|
4825
|
-
function
|
|
4826
|
-
t !== void 0 &&
|
|
4976
|
+
function rr(t, e, n, s) {
|
|
4977
|
+
t !== void 0 && mr(t, e, t.n, n, s);
|
|
4827
4978
|
}
|
|
4828
|
-
function
|
|
4979
|
+
function mr(t, e, n, s, o) {
|
|
4829
4980
|
if (t === void 0 || o === 0) return;
|
|
4830
4981
|
const r = t.rec;
|
|
4831
4982
|
for (let l = e; l < n; l += s) r[l] += o;
|
|
4832
4983
|
}
|
|
4833
|
-
function
|
|
4984
|
+
function Sa(t) {
|
|
4834
4985
|
const e = t.length;
|
|
4835
4986
|
let n = t.indexOf("{"), s = 0;
|
|
4836
4987
|
for (; ; ) {
|
|
@@ -4872,63 +5023,65 @@ function ua(t) {
|
|
|
4872
5023
|
}
|
|
4873
5024
|
}
|
|
4874
5025
|
export {
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
5026
|
+
xl as ComponentScope,
|
|
5027
|
+
Lf as CursorHTMLRenderer,
|
|
5028
|
+
Ns as DirectiveError,
|
|
5029
|
+
Fo as FOOTNOTES_BLOCK,
|
|
5030
|
+
Fa as K_BLOCK_QUOTE,
|
|
5031
|
+
Ua as K_CODE_FENCE,
|
|
5032
|
+
Va as K_CODE_SPAN,
|
|
5033
|
+
uf as K_DIRECTIVE_CONTAINER,
|
|
5034
|
+
ff as K_DIRECTIVE_INLINE,
|
|
5035
|
+
gf as K_DIRECTIVE_LABEL,
|
|
5036
|
+
cf as K_DIRECTIVE_LEAF,
|
|
5037
|
+
Ga as K_EMPHASIS,
|
|
5038
|
+
df as K_FRONTMATTER,
|
|
5039
|
+
Wa as K_HARD_BREAK,
|
|
5040
|
+
Ba as K_HEADING,
|
|
5041
|
+
Pa as K_HTML,
|
|
5042
|
+
rf as K_HTML_COMMENT,
|
|
5043
|
+
za as K_IMAGE,
|
|
5044
|
+
hf as K_IMPORT_STATEMENT,
|
|
5045
|
+
Ia as K_LINE_BREAK,
|
|
5046
|
+
ja as K_LINK,
|
|
5047
|
+
$a as K_LIST,
|
|
5048
|
+
ka as K_LIST_ITEM,
|
|
5049
|
+
af as K_MUSTACHE,
|
|
5050
|
+
Ha as K_PARAGRAPH,
|
|
5051
|
+
Na as K_ROOT,
|
|
5052
|
+
Ja as K_SOFT_BREAK,
|
|
5053
|
+
Qa as K_STRIKETHROUGH,
|
|
5054
|
+
Ka as K_STRONG,
|
|
5055
|
+
Za as K_SUBSCRIPT,
|
|
5056
|
+
Ya as K_SUPERSCRIPT,
|
|
5057
|
+
sf as K_SVELTE_BLOCK,
|
|
5058
|
+
lf as K_SVELTE_BRANCH,
|
|
5059
|
+
of as K_SVELTE_TAG,
|
|
5060
|
+
Xa as K_TABLE,
|
|
5061
|
+
nf as K_TABLE_CELL,
|
|
5062
|
+
tf as K_TABLE_HEADER,
|
|
5063
|
+
ef as K_TABLE_ROW,
|
|
5064
|
+
Ra as K_TEXT,
|
|
5065
|
+
Ma as K_THEMATIC_BREAK,
|
|
5066
|
+
xr as MapSink,
|
|
5067
|
+
_f as NONE,
|
|
5068
|
+
qf as _capture_trace,
|
|
5069
|
+
yf as _children,
|
|
5070
|
+
xf as _emit,
|
|
5071
|
+
wf as _escape_code,
|
|
5072
|
+
vf as _escape_code_text,
|
|
5073
|
+
pf as _escape_text_html,
|
|
5074
|
+
Tf as _mapped_begin,
|
|
5075
|
+
Cf as _mapped_end,
|
|
5076
|
+
Ef as _node,
|
|
5077
|
+
Sf as _out_offsets,
|
|
5078
|
+
Af as _resolve_mappings,
|
|
5079
|
+
Of as _resolve_offset_mappings,
|
|
5080
|
+
os as component_imports,
|
|
5081
|
+
Qi as escape,
|
|
5082
|
+
mf as escape_text,
|
|
5083
|
+
Sl as is_entity_name,
|
|
5084
|
+
pl as shell_key,
|
|
5085
|
+
bf as shell_requests,
|
|
5086
|
+
Da as take_plain_math
|
|
4934
5087
|
};
|