@mdsvex/render 1.0.0-next.5 → 1.1.0

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