@n8n/chat 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/chat.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { openBlock as F, createElementBlock as G, renderSlot as Le, defineComponent as te, ref as Ce, onMounted as In, onBeforeUnmount as no, createCommentVNode as Fe, inject as er, createVNode as be, withCtx as ve, createTextVNode as nr, toDisplayString as Xe, unref as V, createElementVNode as J, h as to, toRefs as ro, computed as $e, normalizeClass as tr, createBlock as X, Fragment as ot, renderList as st, withDirectives as rr, withKeys as oo, vModelText as so, createSlots as co, nextTick as Oe, Transition as ct, vShow as io, createApp as ao } from "vue";
2
- const or = (n, e) => {
1
+ import { openBlock as F, createElementBlock as G, renderSlot as Le, defineComponent as te, ref as Ce, onMounted as In, onBeforeUnmount as no, createCommentVNode as Fe, inject as Qt, createVNode as be, withCtx as ve, createTextVNode as er, toDisplayString as Xe, unref as V, createElementVNode as J, h as to, toRefs as ro, computed as $e, normalizeClass as nr, createBlock as X, Fragment as rt, renderList as ot, withDirectives as tr, withKeys as oo, vModelText as so, createSlots as co, nextTick as Oe, Transition as st, vShow as io, createApp as ao } from "vue";
2
+ const rr = (n, e) => {
3
3
  const t = n.__vccOpts || n;
4
4
  for (const [r, o] of e)
5
5
  t[r] = o;
@@ -10,7 +10,7 @@ function fo(n, e) {
10
10
  Le(n.$slots, "default")
11
11
  ]);
12
12
  }
13
- const po = /* @__PURE__ */ or(lo, [["render", fo]]);
13
+ const po = /* @__PURE__ */ rr(lo, [["render", fo]]);
14
14
  function ho() {
15
15
  const n = /* @__PURE__ */ new Map();
16
16
  function e(o, s) {
@@ -95,17 +95,17 @@ const Ne = {
95
95
  }
96
96
  },
97
97
  theme: {}
98
- }, ko = "#n8n-chat", xo = "n8n-chat", it = `${xo}/sessionId`, sr = "Chat", cr = "ChatOptions";
98
+ }, ko = "#n8n-chat", xo = "n8n-chat", ct = `${xo}/sessionId`, or = "Chat", sr = "ChatOptions";
99
99
  function On() {
100
- return er(sr);
100
+ return Qt(or);
101
101
  }
102
- function Bn() {
102
+ function cr() {
103
103
  return {
104
- options: er(cr)
104
+ options: Qt(sr)
105
105
  };
106
106
  }
107
107
  function rn() {
108
- const { options: n } = Bn(), e = (n == null ? void 0 : n.defaultLanguage) ?? "en";
108
+ const { options: n } = cr(), e = (n == null ? void 0 : n.defaultLanguage) ?? "en";
109
109
  function t(o) {
110
110
  var s, c;
111
111
  return ((c = (s = n == null ? void 0 : n.i18n) == null ? void 0 : s[e]) == null ? void 0 : c[o]) ?? o;
@@ -125,7 +125,7 @@ const yo = { class: "chat-get-started" }, wo = /* @__PURE__ */ te({
125
125
  onClick: r[0] || (r[0] = (o) => t.$emit("click:button"))
126
126
  }, {
127
127
  default: ve(() => [
128
- nr(Xe(V(e)("getStarted")), 1)
128
+ er(Xe(V(e)("getStarted")), 1)
129
129
  ]),
130
130
  _: 1
131
131
  })
@@ -135,14 +135,13 @@ const yo = { class: "chat-get-started" }, wo = /* @__PURE__ */ te({
135
135
  const Eo = {}, Ao = { class: "chat-powered-by" }, Co = /* @__PURE__ */ J("a", { href: "https://n8n.io?utm_source=n8n-external&utm_medium=widget-powered-by" }, "n8n", -1);
136
136
  function So(n, e) {
137
137
  return F(), G("div", Ao, [
138
- nr(" Powered by "),
138
+ er(" Powered by "),
139
139
  Co
140
140
  ]);
141
141
  }
142
- const Do = /* @__PURE__ */ or(Eo, [["render", So]]), qo = { class: "chat-get-started-footer" }, To = { key: 0 }, Ro = /* @__PURE__ */ te({
142
+ const Do = /* @__PURE__ */ rr(Eo, [["render", So]]), qo = { class: "chat-get-started-footer" }, To = { key: 0 }, Ro = /* @__PURE__ */ te({
143
143
  __name: "GetStartedFooter",
144
144
  setup(n) {
145
- Bn();
146
145
  const { t: e, te: t } = rn();
147
146
  return (r, o) => (F(), G("div", qo, [
148
147
  V(t)("footer") ? (F(), G("div", To, Xe(V(e)("footer")), 1)) : Fe("", !0),
@@ -2303,12 +2302,12 @@ const Mo = "Á", Lo = "á", Fo = "Ă", Io = "ă", Oo = "∾", Bo = "∿", Po = "
2303
2302
  zwj: Kz,
2304
2303
  zwnj: Jz
2305
2304
  };
2306
- var ar = Yz, Pn = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/, qe = {}, at = {};
2305
+ var ar = Yz, Bn = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/, qe = {}, it = {};
2307
2306
  function Xz(n) {
2308
- var e, t, r = at[n];
2307
+ var e, t, r = it[n];
2309
2308
  if (r)
2310
2309
  return r;
2311
- for (r = at[n] = [], e = 0; e < 128; e++)
2310
+ for (r = it[n] = [], e = 0; e < 128; e++)
2312
2311
  t = String.fromCharCode(e), /^[0-9a-z]$/i.test(t) ? r.push(t) : r.push("%" + ("0" + e.toString(16).toUpperCase()).slice(-2));
2313
2312
  for (e = 0; e < n.length; e++)
2314
2313
  r[n.charCodeAt(e)] = n[e];
@@ -2339,12 +2338,12 @@ function on(n, e, t) {
2339
2338
  }
2340
2339
  on.defaultChars = ";/?:@&=+$,-_.!~*'()#";
2341
2340
  on.componentChars = "-_.!~*'()";
2342
- var Qz = on, lt = {};
2341
+ var Qz = on, at = {};
2343
2342
  function e3(n) {
2344
- var e, t, r = lt[n];
2343
+ var e, t, r = at[n];
2345
2344
  if (r)
2346
2345
  return r;
2347
- for (r = lt[n] = [], e = 0; e < 128; e++)
2346
+ for (r = at[n] = [], e = 0; e < 128; e++)
2348
2347
  t = String.fromCharCode(e), r.push(t);
2349
2348
  for (e = 0; e < n.length; e++)
2350
2349
  t = n.charCodeAt(e), r[t] = "%" + ("0" + t.toString(16).toUpperCase()).slice(-2);
@@ -2386,10 +2385,10 @@ function Qe() {
2386
2385
  this.protocol = null, this.slashes = null, this.auth = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.pathname = null;
2387
2386
  }
2388
2387
  var r3 = /^([a-z0-9.+-]+:)/i, o3 = /:[0-9]*$/, s3 = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, c3 = ["<", ">", '"', "`", " ", "\r", `
2389
- `, " "], i3 = ["{", "}", "|", "\\", "^", "`"].concat(c3), a3 = ["'"].concat(i3), ut = ["%", "/", "?", ";", "#"].concat(a3), ft = ["/", "?", "#"], l3 = 255, pt = /^[+a-z0-9A-Z_-]{0,63}$/, u3 = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, ht = {
2388
+ `, " "], i3 = ["{", "}", "|", "\\", "^", "`"].concat(c3), a3 = ["'"].concat(i3), lt = ["%", "/", "?", ";", "#"].concat(a3), ut = ["/", "?", "#"], l3 = 255, ft = /^[+a-z0-9A-Z_-]{0,63}$/, u3 = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, pt = {
2390
2389
  javascript: !0,
2391
2390
  "javascript:": !0
2392
- }, dt = {
2391
+ }, ht = {
2393
2392
  http: !0,
2394
2393
  https: !0,
2395
2394
  ftp: !0,
@@ -2415,13 +2414,13 @@ Qe.prototype.parse = function(n, e) {
2415
2414
  return this.pathname = a[1], a[2] && (this.search = a[2]), this;
2416
2415
  }
2417
2416
  var l = r3.exec(i);
2418
- if (l && (l = l[0], o = l.toLowerCase(), this.protocol = l, i = i.substr(l.length)), (e || l || i.match(/^\/\/[^@\/]+@[^@\/]+/)) && (c = i.substr(0, 2) === "//", c && !(l && ht[l]) && (i = i.substr(2), this.slashes = !0)), !ht[l] && (c || l && !dt[l])) {
2417
+ if (l && (l = l[0], o = l.toLowerCase(), this.protocol = l, i = i.substr(l.length)), (e || l || i.match(/^\/\/[^@\/]+@[^@\/]+/)) && (c = i.substr(0, 2) === "//", c && !(l && pt[l]) && (i = i.substr(2), this.slashes = !0)), !pt[l] && (c || l && !ht[l])) {
2419
2418
  var u = -1;
2420
- for (t = 0; t < ft.length; t++)
2421
- s = i.indexOf(ft[t]), s !== -1 && (u === -1 || s < u) && (u = s);
2422
- var p, f;
2423
- for (u === -1 ? f = i.lastIndexOf("@") : f = i.lastIndexOf("@", u), f !== -1 && (p = i.slice(0, f), i = i.slice(f + 1), this.auth = p), u = -1, t = 0; t < ut.length; t++)
2419
+ for (t = 0; t < ut.length; t++)
2424
2420
  s = i.indexOf(ut[t]), s !== -1 && (u === -1 || s < u) && (u = s);
2421
+ var p, f;
2422
+ for (u === -1 ? f = i.lastIndexOf("@") : f = i.lastIndexOf("@", u), f !== -1 && (p = i.slice(0, f), i = i.slice(f + 1), this.auth = p), u = -1, t = 0; t < lt.length; t++)
2423
+ s = i.indexOf(lt[t]), s !== -1 && (u === -1 || s < u) && (u = s);
2425
2424
  u === -1 && (u = i.length), i[u - 1] === ":" && u--;
2426
2425
  var h = i.slice(0, u);
2427
2426
  i = i.slice(u), this.parseHost(h), this.hostname = this.hostname || "";
@@ -2430,10 +2429,10 @@ Qe.prototype.parse = function(n, e) {
2430
2429
  var v = this.hostname.split(/\./);
2431
2430
  for (t = 0, r = v.length; t < r; t++) {
2432
2431
  var A = v[t];
2433
- if (A && !A.match(pt)) {
2432
+ if (A && !A.match(ft)) {
2434
2433
  for (var y = "", g = 0, w = A.length; g < w; g++)
2435
2434
  A.charCodeAt(g) > 127 ? y += "x" : y += A[g];
2436
- if (!y.match(pt)) {
2435
+ if (!y.match(ft)) {
2437
2436
  var C = v.slice(0, t), q = v.slice(t + 1), _ = A.match(u3);
2438
2437
  _ && (C.push(_[1]), q.unshift(_[2])), q.length && (i = q.join(".") + i), this.hostname = C.join(".");
2439
2438
  break;
@@ -2446,7 +2445,7 @@ Qe.prototype.parse = function(n, e) {
2446
2445
  var M = i.indexOf("#");
2447
2446
  M !== -1 && (this.hash = i.substr(M), i = i.slice(0, M));
2448
2447
  var $ = i.indexOf("?");
2449
- return $ !== -1 && (this.search = i.substr($), i = i.slice(0, $)), i && (this.pathname = i), dt[o] && this.hostname && !this.pathname && (this.pathname = ""), this;
2448
+ return $ !== -1 && (this.search = i.substr($), i = i.slice(0, $)), i && (this.pathname = i), ht[o] && this.hostname && !this.pathname && (this.pathname = ""), this;
2450
2449
  };
2451
2450
  Qe.prototype.parseHost = function(n) {
2452
2451
  var e = o3.exec(n);
@@ -2457,25 +2456,25 @@ qe.encode = Qz;
2457
2456
  qe.decode = n3;
2458
2457
  qe.format = t3;
2459
2458
  qe.parse = p3;
2460
- var ge = {}, bn, gt;
2459
+ var ge = {}, bn, dt;
2461
2460
  function lr() {
2462
- return gt || (gt = 1, bn = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/), bn;
2461
+ return dt || (dt = 1, bn = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/), bn;
2463
2462
  }
2464
- var vn, mt;
2463
+ var vn, gt;
2465
2464
  function ur() {
2466
- return mt || (mt = 1, vn = /[\0-\x1F\x7F-\x9F]/), vn;
2465
+ return gt || (gt = 1, vn = /[\0-\x1F\x7F-\x9F]/), vn;
2467
2466
  }
2468
- var kn, _t;
2467
+ var kn, mt;
2469
2468
  function h3() {
2470
- return _t || (_t = 1, kn = /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/), kn;
2469
+ return mt || (mt = 1, kn = /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/), kn;
2471
2470
  }
2472
- var xn, bt;
2471
+ var xn, _t;
2473
2472
  function fr() {
2474
- return bt || (bt = 1, xn = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/), xn;
2473
+ return _t || (_t = 1, xn = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/), xn;
2475
2474
  }
2476
- var vt;
2475
+ var bt;
2477
2476
  function d3() {
2478
- return vt || (vt = 1, ge.Any = lr(), ge.Cc = ur(), ge.Cf = h3(), ge.P = Pn, ge.Z = fr()), ge;
2477
+ return bt || (bt = 1, ge.Any = lr(), ge.Cc = ur(), ge.Cf = h3(), ge.P = Bn, ge.Z = fr()), ge;
2479
2478
  }
2480
2479
  (function(n) {
2481
2480
  function e(m) {
@@ -2570,7 +2569,7 @@ function d3() {
2570
2569
  }
2571
2570
  return !1;
2572
2571
  }
2573
- var R = Pn;
2572
+ var R = Bn;
2574
2573
  function P(m) {
2575
2574
  return R.test(m);
2576
2575
  }
@@ -2633,7 +2632,7 @@ var cn = {}, g3 = function(e, t, r) {
2633
2632
  }
2634
2633
  }
2635
2634
  return s && (a = e.pos), e.pos = u, a;
2636
- }, kt = I.unescapeAll, m3 = function(e, t, r) {
2635
+ }, vt = I.unescapeAll, m3 = function(e, t, r) {
2637
2636
  var o, s, c = 0, i = t, a = {
2638
2637
  ok: !1,
2639
2638
  pos: 0,
@@ -2645,7 +2644,7 @@ var cn = {}, g3 = function(e, t, r) {
2645
2644
  if (o = e.charCodeAt(t), o === 10 || o === 60)
2646
2645
  return a;
2647
2646
  if (o === 62)
2648
- return a.pos = t + 1, a.str = kt(e.slice(i + 1, t)), a.ok = !0, a;
2647
+ return a.pos = t + 1, a.str = vt(e.slice(i + 1, t)), a.ok = !0, a;
2649
2648
  if (o === 92 && t + 1 < r) {
2650
2649
  t += 2;
2651
2650
  continue;
@@ -2670,7 +2669,7 @@ var cn = {}, g3 = function(e, t, r) {
2670
2669
  }
2671
2670
  t++;
2672
2671
  }
2673
- return i === t || s !== 0 || (a.str = kt(e.slice(i, t)), a.lines = c, a.pos = t, a.ok = !0), a;
2672
+ return i === t || s !== 0 || (a.str = vt(e.slice(i, t)), a.lines = c, a.pos = t, a.ok = !0), a;
2674
2673
  }, _3 = I.unescapeAll, b3 = function(e, t, r) {
2675
2674
  var o, s, c = 0, i = t, a = {
2676
2675
  ok: !1,
@@ -2862,7 +2861,7 @@ re.prototype.disable = function(n, e) {
2862
2861
  re.prototype.getRules = function(n) {
2863
2862
  return this.__cache__ === null && this.__compile__(), this.__cache__[n] || [];
2864
2863
  };
2865
- var zn = re, y3 = /\r\n?|\n/g, w3 = /\0/g, E3 = function(e) {
2864
+ var Pn = re, y3 = /\r\n?|\n/g, w3 = /\0/g, E3 = function(e) {
2866
2865
  var t;
2867
2866
  t = e.src.replace(y3, `
2868
2867
  `), t = t.replace(w3, "�"), e.src = t;
@@ -2922,7 +2921,7 @@ var O3 = function(e) {
2922
2921
  if (e.md.options.typographer)
2923
2922
  for (t = e.tokens.length - 1; t >= 0; t--)
2924
2923
  e.tokens[t].type === "inline" && (R3.test(e.tokens[t].content) && F3(e.tokens[t].children), pr.test(e.tokens[t].content) && I3(e.tokens[t].children));
2925
- }, xt = I.isWhiteSpace, yt = I.isPunctChar, wt = I.isMdAsciiPunct, B3 = /['"]/, Et = /['"]/g, At = "’";
2924
+ }, kt = I.isWhiteSpace, xt = I.isPunctChar, yt = I.isMdAsciiPunct, B3 = /['"]/, wt = /['"]/g, Et = "’";
2926
2925
  function Ze(n, e, t) {
2927
2926
  return n.substr(0, e) + t + n.substr(e + 1);
2928
2927
  }
@@ -2934,7 +2933,7 @@ function P3(n, e) {
2934
2933
  if (C.length = g + 1, r.type === "text") {
2935
2934
  o = r.content, c = 0, i = o.length;
2936
2935
  e:
2937
- for (; c < i && (Et.lastIndex = c, s = Et.exec(o), !!s); ) {
2936
+ for (; c < i && (wt.lastIndex = c, s = wt.exec(o), !!s); ) {
2938
2937
  if (A = y = !0, c = s.index + 1, w = s[0] === "'", u = 32, s.index - 1 >= 0)
2939
2938
  u = o.charCodeAt(s.index - 1);
2940
2939
  else
@@ -2951,8 +2950,8 @@ function P3(n, e) {
2951
2950
  p = n[g].content.charCodeAt(0);
2952
2951
  break;
2953
2952
  }
2954
- if (f = wt(u) || yt(String.fromCharCode(u)), h = wt(p) || yt(String.fromCharCode(p)), k = xt(u), v = xt(p), v ? A = !1 : h && (k || f || (A = !1)), k ? y = !1 : f && (v || h || (y = !1)), p === 34 && s[0] === '"' && u >= 48 && u <= 57 && (y = A = !1), A && y && (A = f, y = h), !A && !y) {
2955
- w && (r.content = Ze(r.content, s.index, At));
2953
+ if (f = yt(u) || xt(String.fromCharCode(u)), h = yt(p) || xt(String.fromCharCode(p)), k = kt(u), v = kt(p), v ? A = !1 : h && (k || f || (A = !1)), k ? y = !1 : f && (v || h || (y = !1)), p === 34 && s[0] === '"' && u >= 48 && u <= 57 && (y = A = !1), A && y && (A = f, y = h), !A && !y) {
2954
+ w && (r.content = Ze(r.content, s.index, Et));
2956
2955
  continue;
2957
2956
  }
2958
2957
  if (y) {
@@ -2971,7 +2970,7 @@ function P3(n, e) {
2971
2970
  pos: s.index,
2972
2971
  single: w,
2973
2972
  level: a
2974
- }) : y && w && (r.content = Ze(r.content, s.index, At));
2973
+ }) : y && w && (r.content = Ze(r.content, s.index, Et));
2975
2974
  }
2976
2975
  }
2977
2976
  }
@@ -3009,12 +3008,12 @@ Re.prototype.attrJoin = function(e, t) {
3009
3008
  var r = this.attrIndex(e);
3010
3009
  r < 0 ? this.attrPush([e, t]) : this.attrs[r][1] = this.attrs[r][1] + " " + t;
3011
3010
  };
3012
- var $n = Re, $3 = $n;
3011
+ var zn = Re, $3 = zn;
3013
3012
  function hr(n, e, t) {
3014
3013
  this.src = n, this.env = t, this.tokens = [], this.inlineMode = !1, this.md = e;
3015
3014
  }
3016
3015
  hr.prototype.Token = $3;
3017
- var U3 = hr, V3 = zn, yn = [
3016
+ var U3 = hr, V3 = Pn, yn = [
3018
3017
  ["normalize", E3],
3019
3018
  ["block", A3],
3020
3019
  ["inline", C3],
@@ -3022,23 +3021,23 @@ var U3 = hr, V3 = zn, yn = [
3022
3021
  ["replacements", O3],
3023
3022
  ["smartquotes", z3]
3024
3023
  ];
3025
- function Un() {
3024
+ function $n() {
3026
3025
  this.ruler = new V3();
3027
3026
  for (var n = 0; n < yn.length; n++)
3028
3027
  this.ruler.push(yn[n][0], yn[n][1]);
3029
3028
  }
3030
- Un.prototype.process = function(n) {
3029
+ $n.prototype.process = function(n) {
3031
3030
  var e, t, r;
3032
3031
  for (r = this.ruler.getRules(""), e = 0, t = r.length; e < t; e++)
3033
3032
  r[e](n);
3034
3033
  };
3035
- Un.prototype.State = U3;
3036
- var G3 = Un, wn = I.isSpace;
3034
+ $n.prototype.State = U3;
3035
+ var G3 = $n, wn = I.isSpace;
3037
3036
  function En(n, e) {
3038
3037
  var t = n.bMarks[e] + n.tShift[e], r = n.eMarks[e];
3039
3038
  return n.src.substr(t, r - t);
3040
3039
  }
3041
- function Ct(n) {
3040
+ function At(n) {
3042
3041
  var e = [], t = 0, r = n.length, o, s = !1, c = 0, i = "";
3043
3042
  for (o = n.charCodeAt(t); t < r; )
3044
3043
  o === 124 && (s ? (i += n.substring(c, t - 1), c = t) : (e.push(i + n.substring(c, t)), i = "", c = t + 1)), s = o === 92, t++, o = n.charCodeAt(t);
@@ -3063,7 +3062,7 @@ var H3 = function(e, t, r, o) {
3063
3062
  return !1;
3064
3063
  v.charCodeAt(v.length - 1) === 58 ? k.push(v.charCodeAt(0) === 58 ? "center" : "right") : v.charCodeAt(0) === 58 ? k.push("left") : k.push("");
3065
3064
  }
3066
- if (c = En(e, t).trim(), c.indexOf("|") === -1 || e.sCount[t] - e.blkIndent >= 4 || (p = Ct(c), p.length && p[0] === "" && p.shift(), p.length && p[p.length - 1] === "" && p.pop(), f = p.length, f === 0 || f !== k.length))
3065
+ if (c = En(e, t).trim(), c.indexOf("|") === -1 || e.sCount[t] - e.blkIndent >= 4 || (p = At(c), p.length && p[0] === "" && p.shift(), p.length && p[p.length - 1] === "" && p.pop(), f = p.length, f === 0 || f !== k.length))
3067
3066
  return !1;
3068
3067
  if (o)
3069
3068
  return !0;
@@ -3077,7 +3076,7 @@ var H3 = function(e, t, r, o) {
3077
3076
  }
3078
3077
  if (w || (c = En(e, u).trim(), !c) || e.sCount[u] - e.blkIndent >= 4)
3079
3078
  break;
3080
- for (p = Ct(c), p.length && p[0] === "" && p.shift(), p.length && p[p.length - 1] === "" && p.pop(), u === t + 2 && (h = e.push("tbody_open", "tbody", 1), h.map = y = [t + 2, 0]), h = e.push("tr_open", "tr", 1), h.map = [u, u + 1], a = 0; a < f; a++)
3079
+ for (p = At(c), p.length && p[0] === "" && p.shift(), p.length && p[p.length - 1] === "" && p.pop(), u === t + 2 && (h = e.push("tbody_open", "tbody", 1), h.map = y = [t + 2, 0]), h = e.push("tr_open", "tr", 1), h.map = [u, u + 1], a = 0; a < f; a++)
3081
3080
  h = e.push("td_open", "td", 1), k[a] && (h.attrs = [["style", "text-align:" + k[a]]]), h = e.push("inline", "", 0), h.content = p[a] ? p[a].trim() : "", h.children = [], h = e.push("td_close", "td", -1);
3082
3081
  h = e.push("tr_close", "tr", -1);
3083
3082
  }
@@ -3111,19 +3110,19 @@ var H3 = function(e, t, r, o) {
3111
3110
  break;
3112
3111
  }
3113
3112
  return c = e.sCount[t], e.line = a + (f ? 1 : 0), u = e.push("fence", "code", 0), u.info = i, u.content = e.getLines(t + 1, a, c, !0), u.markup = p, u.map = [t, e.line], !0;
3114
- }, St = I.isSpace, W3 = function(e, t, r, o) {
3113
+ }, Ct = I.isSpace, W3 = function(e, t, r, o) {
3115
3114
  var s, c, i, a, l, u, p, f, h, k, v, A, y, g, w, C, q, _, M, $, H = e.lineMax, R = e.bMarks[t] + e.tShift[t], P = e.eMarks[t];
3116
3115
  if (e.sCount[t] - e.blkIndent >= 4 || e.src.charCodeAt(R++) !== 62)
3117
3116
  return !1;
3118
3117
  if (o)
3119
3118
  return !0;
3120
- for (a = h = e.sCount[t] + 1, e.src.charCodeAt(R) === 32 ? (R++, a++, h++, s = !1, C = !0) : e.src.charCodeAt(R) === 9 ? (C = !0, (e.bsCount[t] + h) % 4 === 3 ? (R++, a++, h++, s = !1) : s = !0) : C = !1, k = [e.bMarks[t]], e.bMarks[t] = R; R < P && (c = e.src.charCodeAt(R), St(c)); ) {
3119
+ for (a = h = e.sCount[t] + 1, e.src.charCodeAt(R) === 32 ? (R++, a++, h++, s = !1, C = !0) : e.src.charCodeAt(R) === 9 ? (C = !0, (e.bsCount[t] + h) % 4 === 3 ? (R++, a++, h++, s = !1) : s = !0) : C = !1, k = [e.bMarks[t]], e.bMarks[t] = R; R < P && (c = e.src.charCodeAt(R), Ct(c)); ) {
3121
3120
  c === 9 ? h += 4 - (h + e.bsCount[t] + (s ? 1 : 0)) % 4 : h++;
3122
3121
  R++;
3123
3122
  }
3124
3123
  for (v = [e.bsCount[t]], e.bsCount[t] = e.sCount[t] + 1 + (C ? 1 : 0), u = R >= P, g = [e.sCount[t]], e.sCount[t] = h - a, w = [e.tShift[t]], e.tShift[t] = R - e.bMarks[t], _ = e.md.block.ruler.getRules("blockquote"), y = e.parentType, e.parentType = "blockquote", f = t + 1; f < r && ($ = e.sCount[f] < e.blkIndent, R = e.bMarks[f] + e.tShift[f], P = e.eMarks[f], !(R >= P)); f++) {
3125
3124
  if (e.src.charCodeAt(R++) === 62 && !$) {
3126
- for (a = h = e.sCount[f] + 1, e.src.charCodeAt(R) === 32 ? (R++, a++, h++, s = !1, C = !0) : e.src.charCodeAt(R) === 9 ? (C = !0, (e.bsCount[f] + h) % 4 === 3 ? (R++, a++, h++, s = !1) : s = !0) : C = !1, k.push(e.bMarks[f]), e.bMarks[f] = R; R < P && (c = e.src.charCodeAt(R), St(c)); ) {
3125
+ for (a = h = e.sCount[f] + 1, e.src.charCodeAt(R) === 32 ? (R++, a++, h++, s = !1, C = !0) : e.src.charCodeAt(R) === 9 ? (C = !0, (e.bsCount[f] + h) % 4 === 3 ? (R++, a++, h++, s = !1) : s = !0) : C = !1, k.push(e.bMarks[f]), e.bMarks[f] = R; R < P && (c = e.src.charCodeAt(R), Ct(c)); ) {
3127
3126
  c === 9 ? h += 4 - (h + e.bsCount[f] + (s ? 1 : 0)) % 4 : h++;
3128
3127
  R++;
3129
3128
  }
@@ -3157,11 +3156,11 @@ var H3 = function(e, t, r, o) {
3157
3156
  }
3158
3157
  return c < 3 ? !1 : (o || (e.line = t + 1, a = e.push("hr", "hr", 0), a.map = [t, e.line], a.markup = Array(c + 1).join(String.fromCharCode(s))), !0);
3159
3158
  }, dr = I.isSpace;
3160
- function Dt(n, e) {
3159
+ function St(n, e) {
3161
3160
  var t, r, o, s;
3162
3161
  return r = n.bMarks[e] + n.tShift[e], o = n.eMarks[e], t = n.src.charCodeAt(r++), t !== 42 && t !== 45 && t !== 43 || r < o && (s = n.src.charCodeAt(r), !dr(s)) ? -1 : r;
3163
3162
  }
3164
- function qt(n, e) {
3163
+ function Dt(n, e) {
3165
3164
  var t, r = n.bMarks[e] + n.tShift[e], o = r, s = n.eMarks[e];
3166
3165
  if (o + 1 >= s || (t = n.src.charCodeAt(o++), t < 48 || t > 57))
3167
3166
  return -1;
@@ -3188,10 +3187,10 @@ var X3 = function(e, t, r, o) {
3188
3187
  var s, c, i, a, l, u, p, f, h, k, v, A, y, g, w, C, q, _, M, $, H, R, P, fe, oe, m, O, N, d = !1, x = !0;
3189
3188
  if (e.sCount[t] - e.blkIndent >= 4 || e.listIndent >= 0 && e.sCount[t] - e.listIndent >= 4 && e.sCount[t] < e.blkIndent)
3190
3189
  return !1;
3191
- if (o && e.parentType === "paragraph" && e.sCount[t] >= e.blkIndent && (d = !0), (P = qt(e, t)) >= 0) {
3190
+ if (o && e.parentType === "paragraph" && e.sCount[t] >= e.blkIndent && (d = !0), (P = Dt(e, t)) >= 0) {
3192
3191
  if (p = !0, oe = e.bMarks[t] + e.tShift[t], y = Number(e.src.slice(oe, P - 1)), d && y !== 1)
3193
3192
  return !1;
3194
- } else if ((P = Dt(e, t)) >= 0)
3193
+ } else if ((P = St(e, t)) >= 0)
3195
3194
  p = !1;
3196
3195
  else
3197
3196
  return !1;
@@ -3219,10 +3218,10 @@ var X3 = function(e, t, r, o) {
3219
3218
  if (m)
3220
3219
  break;
3221
3220
  if (p) {
3222
- if (P = qt(e, w), P < 0)
3221
+ if (P = Dt(e, w), P < 0)
3223
3222
  break;
3224
3223
  oe = e.bMarks[w] + e.tShift[w];
3225
- } else if (P = Dt(e, w), P < 0)
3224
+ } else if (P = St(e, w), P < 0)
3226
3225
  break;
3227
3226
  if (A !== e.src.charCodeAt(P - 1))
3228
3227
  break;
@@ -3369,13 +3368,13 @@ var d$ = n$, g$ = an.HTML_OPEN_CLOSE_TAG_RE, Ee = [
3369
3368
  }
3370
3369
  }
3371
3370
  return e.line = c, i = e.push("html_block", "", 0), i.map = [t, c], i.content = e.getLines(t, c, e.blkIndent, !0), !0;
3372
- }, Tt = I.isSpace, _$ = function(e, t, r, o) {
3371
+ }, qt = I.isSpace, _$ = function(e, t, r, o) {
3373
3372
  var s, c, i, a, l = e.bMarks[t] + e.tShift[t], u = e.eMarks[t];
3374
3373
  if (e.sCount[t] - e.blkIndent >= 4 || (s = e.src.charCodeAt(l), s !== 35 || l >= u))
3375
3374
  return !1;
3376
3375
  for (c = 1, s = e.src.charCodeAt(++l); s === 35 && l < u && c <= 6; )
3377
3376
  c++, s = e.src.charCodeAt(++l);
3378
- return c > 6 || l < u && !Tt(s) ? !1 : (o || (u = e.skipSpacesBack(u, l), i = e.skipCharsBack(u, 35, l), i > l && Tt(e.src.charCodeAt(i - 1)) && (u = i), e.line = t + 1, a = e.push("heading_open", "h" + String(c), 1), a.markup = "########".slice(0, c), a.map = [t, e.line], a = e.push("inline", "", 0), a.content = e.src.slice(l, u).trim(), a.map = [t, e.line], a.children = [], a = e.push("heading_close", "h" + String(c), -1), a.markup = "########".slice(0, c)), !0);
3377
+ return c > 6 || l < u && !qt(s) ? !1 : (o || (u = e.skipSpacesBack(u, l), i = e.skipCharsBack(u, 35, l), i > l && qt(e.src.charCodeAt(i - 1)) && (u = i), e.line = t + 1, a = e.push("heading_open", "h" + String(c), 1), a.markup = "########".slice(0, c), a.map = [t, e.line], a = e.push("inline", "", 0), a.content = e.src.slice(l, u).trim(), a.map = [t, e.line], a.children = [], a = e.push("heading_close", "h" + String(c), -1), a.markup = "########".slice(0, c)), !0);
3379
3378
  }, b$ = function(e, t, r) {
3380
3379
  var o, s, c, i, a, l, u, p, f, h = t + 1, k, v = e.md.block.ruler.getRules("paragraph");
3381
3380
  if (e.sCount[t] - e.blkIndent >= 4)
@@ -3410,7 +3409,7 @@ var d$ = n$, g$ = an.HTML_OPEN_CLOSE_TAG_RE, Ee = [
3410
3409
  break;
3411
3410
  }
3412
3411
  return r = e.getLines(t, l, e.blkIndent, !1).trim(), e.line = l, i = e.push("paragraph_open", "p", 1), i.map = [t, e.line], i = e.push("inline", "", 0), i.content = r, i.map = [t, e.line], i.children = [], i = e.push("paragraph_close", "p", -1), e.parentType = a, !0;
3413
- }, _r = $n, ln = I.isSpace;
3412
+ }, _r = zn, ln = I.isSpace;
3414
3413
  function ue(n, e, t, r) {
3415
3414
  var o, s, c, i, a, l, u, p;
3416
3415
  for (this.src = n, this.md = e, this.env = t, this.tokens = r, this.bMarks = [], this.eMarks = [], this.tShift = [], this.sCount = [], this.bsCount = [], this.blkIndent = 0, this.line = 0, this.lineMax = 0, this.tight = !1, this.ddIndent = -1, this.listIndent = -1, this.parentType = "root", this.level = 0, this.result = "", s = this.src, p = !1, c = i = l = u = 0, a = s.length; i < a; i++) {
@@ -3481,7 +3480,7 @@ ue.prototype.getLines = function(e, t, r, o) {
3481
3480
  return u.join("");
3482
3481
  };
3483
3482
  ue.prototype.Token = _r;
3484
- var k$ = ue, x$ = zn, Ke = [
3483
+ var k$ = ue, x$ = Pn, Ke = [
3485
3484
  // First 2 params - rule name & source. Secondary array - list of rules,
3486
3485
  // which can be terminated by this one.
3487
3486
  ["table", H3, ["paragraph", "reference"]],
@@ -3569,18 +3568,18 @@ var E$ = function(e, t) {
3569
3568
  for (c++; c < o && A$(e.src.charCodeAt(c)); )
3570
3569
  c++;
3571
3570
  return e.pos = c, !0;
3572
- }, S$ = I.isSpace, Vn = [];
3573
- for (var Rt = 0; Rt < 256; Rt++)
3574
- Vn.push(0);
3571
+ }, S$ = I.isSpace, Un = [];
3572
+ for (var Tt = 0; Tt < 256; Tt++)
3573
+ Un.push(0);
3575
3574
  "\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(n) {
3576
- Vn[n.charCodeAt(0)] = 1;
3575
+ Un[n.charCodeAt(0)] = 1;
3577
3576
  });
3578
3577
  var D$ = function(e, t) {
3579
3578
  var r, o = e.pos, s = e.posMax;
3580
3579
  if (e.src.charCodeAt(o) !== 92)
3581
3580
  return !1;
3582
3581
  if (o++, o < s) {
3583
- if (r = e.src.charCodeAt(o), r < 256 && Vn[r] !== 0)
3582
+ if (r = e.src.charCodeAt(o), r < 256 && Un[r] !== 0)
3584
3583
  return t || (e.pending += e.src[o]), e.pos += 2, !0;
3585
3584
  if (r === 10) {
3586
3585
  for (t || e.push("hardbreak", "br", 0), o++; o < s && (r = e.src.charCodeAt(o), !!S$(r)); )
@@ -3622,7 +3621,7 @@ fn.tokenize = function(e, t) {
3622
3621
  });
3623
3622
  return e.pos += o.length, !0;
3624
3623
  };
3625
- function Nt(n, e) {
3624
+ function Rt(n, e) {
3626
3625
  var t, r, o, s, c, i = [], a = e.length;
3627
3626
  for (t = 0; t < a; t++)
3628
3627
  o = e[t], o.marker === 126 && o.end !== -1 && (s = e[o.end], c = n.tokens[o.token], c.type = "s_open", c.tag = "s", c.nesting = 1, c.markup = "~~", c.content = "", c = n.tokens[s.token], c.type = "s_close", c.tag = "s", c.nesting = -1, c.markup = "~~", c.content = "", n.tokens[s.token - 1].type === "text" && n.tokens[s.token - 1].content === "~" && i.push(s.token - 1));
@@ -3634,8 +3633,8 @@ function Nt(n, e) {
3634
3633
  }
3635
3634
  fn.postProcess = function(e) {
3636
3635
  var t, r = e.tokens_meta, o = e.tokens_meta.length;
3637
- for (Nt(e, e.delimiters), t = 0; t < o; t++)
3638
- r[t] && r[t].delimiters && Nt(e, r[t].delimiters);
3636
+ for (Rt(e, e.delimiters), t = 0; t < o; t++)
3637
+ r[t] && r[t].delimiters && Rt(e, r[t].delimiters);
3639
3638
  };
3640
3639
  var pn = {};
3641
3640
  pn.tokenize = function(e, t) {
@@ -3665,7 +3664,7 @@ pn.tokenize = function(e, t) {
3665
3664
  });
3666
3665
  return e.pos += o.length, !0;
3667
3666
  };
3668
- function Mt(n, e) {
3667
+ function Nt(n, e) {
3669
3668
  var t, r, o, s, c, i, a = e.length;
3670
3669
  for (t = a - 1; t >= 0; t--)
3671
3670
  r = e[t], !(r.marker !== 95 && r.marker !== 42) && r.end !== -1 && (o = e[r.end], i = t > 0 && e[t - 1].end === r.end + 1 && // check that first two markers match and adjacent
@@ -3674,8 +3673,8 @@ function Mt(n, e) {
3674
3673
  }
3675
3674
  pn.postProcess = function(e) {
3676
3675
  var t, r = e.tokens_meta, o = e.tokens_meta.length;
3677
- for (Mt(e, e.delimiters), t = 0; t < o; t++)
3678
- r[t] && r[t].delimiters && Mt(e, r[t].delimiters);
3676
+ for (Nt(e, e.delimiters), t = 0; t < o; t++)
3677
+ r[t] && r[t].delimiters && Nt(e, r[t].delimiters);
3679
3678
  };
3680
3679
  var T$ = I.normalizeReference, An = I.isSpace, R$ = function(e, t) {
3681
3680
  var r, o, s, c, i, a, l, u, p, f = "", h = "", k = e.pos, v = e.posMax, A = e.pos, y = !0;
@@ -3754,20 +3753,20 @@ function B$(n) {
3754
3753
  var P$ = function(e, t) {
3755
3754
  var r, o, s, c, i = e.pos;
3756
3755
  return !e.md.options.html || (s = e.posMax, e.src.charCodeAt(i) !== 60 || i + 2 >= s) || (r = e.src.charCodeAt(i + 1), r !== 33 && r !== 63 && r !== 47 && !B$(r)) || (o = e.src.slice(i).match(O$), !o) ? !1 : (t || (c = e.push("html_inline", "", 0), c.content = e.src.slice(i, i + o[0].length)), e.pos += o[0].length, !0);
3757
- }, Lt = ar, z$ = I.has, $$ = I.isValidEntityCode, Ft = I.fromCodePoint, U$ = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, V$ = /^&([a-z][a-z0-9]{1,31});/i, G$ = function(e, t) {
3756
+ }, Mt = ar, z$ = I.has, $$ = I.isValidEntityCode, Lt = I.fromCodePoint, U$ = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, V$ = /^&([a-z][a-z0-9]{1,31});/i, G$ = function(e, t) {
3758
3757
  var r, o, s, c = e.pos, i = e.posMax;
3759
3758
  if (e.src.charCodeAt(c) !== 38)
3760
3759
  return !1;
3761
3760
  if (c + 1 < i) {
3762
3761
  if (r = e.src.charCodeAt(c + 1), r === 35) {
3763
3762
  if (s = e.src.slice(c).match(U$), s)
3764
- return t || (o = s[1][0].toLowerCase() === "x" ? parseInt(s[1].slice(1), 16) : parseInt(s[1], 10), e.pending += $$(o) ? Ft(o) : Ft(65533)), e.pos += s[0].length, !0;
3765
- } else if (s = e.src.slice(c).match(V$), s && z$(Lt, s[1]))
3766
- return t || (e.pending += Lt[s[1]]), e.pos += s[0].length, !0;
3763
+ return t || (o = s[1][0].toLowerCase() === "x" ? parseInt(s[1].slice(1), 16) : parseInt(s[1], 10), e.pending += $$(o) ? Lt(o) : Lt(65533)), e.pos += s[0].length, !0;
3764
+ } else if (s = e.src.slice(c).match(V$), s && z$(Mt, s[1]))
3765
+ return t || (e.pending += Mt[s[1]]), e.pos += s[0].length, !0;
3767
3766
  }
3768
3767
  return t || (e.pending += "&"), e.pos++, !0;
3769
3768
  };
3770
- function It(n, e) {
3769
+ function Ft(n, e) {
3771
3770
  var t, r, o, s, c, i, a, l, u = {}, p = e.length;
3772
3771
  if (p) {
3773
3772
  var f = 0, h = -2, k = [];
@@ -3784,38 +3783,38 @@ function It(n, e) {
3784
3783
  }
3785
3784
  var H$ = function(e) {
3786
3785
  var t, r = e.tokens_meta, o = e.tokens_meta.length;
3787
- for (It(e, e.delimiters), t = 0; t < o; t++)
3788
- r[t] && r[t].delimiters && It(e, r[t].delimiters);
3786
+ for (Ft(e, e.delimiters), t = 0; t < o; t++)
3787
+ r[t] && r[t].delimiters && Ft(e, r[t].delimiters);
3789
3788
  }, j$ = function(e) {
3790
3789
  var t, r, o = 0, s = e.tokens, c = e.tokens.length;
3791
3790
  for (t = r = 0; t < c; t++)
3792
3791
  s[t].nesting < 0 && o--, s[t].level = o, s[t].nesting > 0 && o++, s[t].type === "text" && t + 1 < c && s[t + 1].type === "text" ? s[t + 1].content = s[t].content + s[t + 1].content : (t !== r && (s[r] = s[t]), r++);
3793
3792
  t !== r && (s.length = r);
3794
- }, Gn = $n, Ot = I.isWhiteSpace, Bt = I.isPunctChar, Pt = I.isMdAsciiPunct;
3793
+ }, Vn = zn, It = I.isWhiteSpace, Ot = I.isPunctChar, Bt = I.isMdAsciiPunct;
3795
3794
  function Ue(n, e, t, r) {
3796
3795
  this.src = n, this.env = t, this.md = e, this.tokens = r, this.tokens_meta = Array(r.length), this.pos = 0, this.posMax = this.src.length, this.level = 0, this.pending = "", this.pendingLevel = 0, this.cache = {}, this.delimiters = [], this._prev_delimiters = [], this.backticks = {}, this.backticksScanned = !1;
3797
3796
  }
3798
3797
  Ue.prototype.pushPending = function() {
3799
- var n = new Gn("text", "", 0);
3798
+ var n = new Vn("text", "", 0);
3800
3799
  return n.content = this.pending, n.level = this.pendingLevel, this.tokens.push(n), this.pending = "", n;
3801
3800
  };
3802
3801
  Ue.prototype.push = function(n, e, t) {
3803
3802
  this.pending && this.pushPending();
3804
- var r = new Gn(n, e, t), o = null;
3803
+ var r = new Vn(n, e, t), o = null;
3805
3804
  return t < 0 && (this.level--, this.delimiters = this._prev_delimiters.pop()), r.level = this.level, t > 0 && (this.level++, this._prev_delimiters.push(this.delimiters), this.delimiters = [], o = { delimiters: this.delimiters }), this.pendingLevel = this.level, this.tokens.push(r), this.tokens_meta.push(o), r;
3806
3805
  };
3807
3806
  Ue.prototype.scanDelims = function(n, e) {
3808
3807
  var t = n, r, o, s, c, i, a, l, u, p, f = !0, h = !0, k = this.posMax, v = this.src.charCodeAt(n);
3809
3808
  for (r = n > 0 ? this.src.charCodeAt(n - 1) : 32; t < k && this.src.charCodeAt(t) === v; )
3810
3809
  t++;
3811
- return s = t - n, o = t < k ? this.src.charCodeAt(t) : 32, l = Pt(r) || Bt(String.fromCharCode(r)), p = Pt(o) || Bt(String.fromCharCode(o)), a = Ot(r), u = Ot(o), u ? f = !1 : p && (a || l || (f = !1)), a ? h = !1 : l && (u || p || (h = !1)), e ? (c = f, i = h) : (c = f && (!h || l), i = h && (!f || p)), {
3810
+ return s = t - n, o = t < k ? this.src.charCodeAt(t) : 32, l = Bt(r) || Ot(String.fromCharCode(r)), p = Bt(o) || Ot(String.fromCharCode(o)), a = It(r), u = It(o), u ? f = !1 : p && (a || l || (f = !1)), a ? h = !1 : l && (u || p || (h = !1)), e ? (c = f, i = h) : (c = f && (!h || l), i = h && (!f || p)), {
3812
3811
  can_open: c,
3813
3812
  can_close: i,
3814
3813
  length: s
3815
3814
  };
3816
3815
  };
3817
- Ue.prototype.Token = Gn;
3818
- var Z$ = Ue, zt = zn, Sn = [
3816
+ Ue.prototype.Token = Vn;
3817
+ var Z$ = Ue, Pt = Pn, Sn = [
3819
3818
  ["text", E$],
3820
3819
  ["newline", C$],
3821
3820
  ["escape", D$],
@@ -3835,9 +3834,9 @@ var Z$ = Ue, zt = zn, Sn = [
3835
3834
  ];
3836
3835
  function Ve() {
3837
3836
  var n;
3838
- for (this.ruler = new zt(), n = 0; n < Sn.length; n++)
3837
+ for (this.ruler = new Pt(), n = 0; n < Sn.length; n++)
3839
3838
  this.ruler.push(Sn[n][0], Sn[n][1]);
3840
- for (this.ruler2 = new zt(), n = 0; n < Dn.length; n++)
3839
+ for (this.ruler2 = new Pt(), n = 0; n < Dn.length; n++)
3841
3840
  this.ruler2.push(Dn[n][0], Dn[n][1]);
3842
3841
  }
3843
3842
  Ve.prototype.skipToken = function(n) {
@@ -3873,11 +3872,11 @@ Ve.prototype.parse = function(n, e, t, r) {
3873
3872
  s[o](i);
3874
3873
  };
3875
3874
  Ve.prototype.State = Z$;
3876
- var W$ = Ve, qn, $t;
3875
+ var W$ = Ve, qn, zt;
3877
3876
  function K$() {
3878
- return $t || ($t = 1, qn = function(n) {
3877
+ return zt || (zt = 1, qn = function(n) {
3879
3878
  var e = {};
3880
- e.src_Any = lr().source, e.src_Cc = ur().source, e.src_Z = fr().source, e.src_P = Pn.source, e.src_ZPCc = [e.src_Z, e.src_P, e.src_Cc].join("|"), e.src_ZCc = [e.src_Z, e.src_Cc].join("|");
3879
+ e.src_Any = lr().source, e.src_Cc = ur().source, e.src_Z = fr().source, e.src_P = Bn.source, e.src_ZPCc = [e.src_Z, e.src_P, e.src_Cc].join("|"), e.src_ZCc = [e.src_Z, e.src_Cc].join("|");
3881
3880
  var t = "[><|]";
3882
3881
  return e.src_pseudo_letter = "(?:(?!" + t + "|" + e.src_ZPCc + ")" + e.src_Any + ")", e.src_ip4 = "(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)", e.src_auth = "(?:(?:(?!" + e.src_ZCc + "|[@/\\[\\]()]).)+@)?", e.src_port = "(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?", e.src_host_terminator = "(?=$|" + t + "|" + e.src_ZPCc + ")(?!-|_|:\\d|\\.-|\\.(?!$|" + e.src_ZPCc + "))", e.src_path = "(?:[/?#](?:(?!" + e.src_ZCc + "|" + t + `|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!` + e.src_ZCc + "|\\]).)*\\]|\\((?:(?!" + e.src_ZCc + "|[)]).)*\\)|\\{(?:(?!" + e.src_ZCc + '|[}]).)*\\}|\\"(?:(?!' + e.src_ZCc + `|["]).)+\\"|\\'(?:(?!` + e.src_ZCc + "|[']).)+\\'|\\'(?=" + e.src_pseudo_letter + "|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!" + e.src_ZCc + "|[.]).|" + (n && n["---"] ? "\\-(?!--(?:[^-]|$))(?:-*)|" : "\\-+|") + ",(?!" + e.src_ZCc + ").|;(?!" + e.src_ZCc + ").|\\!+(?!" + e.src_ZCc + "|[!]).|\\?(?!" + e.src_ZCc + "|[?]).)+|\\/)?", e.src_email_name = '[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*', e.src_xn = "xn--[a-z0-9\\-]{1,59}", e.src_domain_root = // Allow letters & digits (http://test1)
3883
3882
  "(?:" + e.src_xn + "|" + e.src_pseudo_letter + "{1,63})", e.src_domain = "(?:" + e.src_xn + "|(?:" + e.src_pseudo_letter + ")|(?:" + e.src_pseudo_letter + "(?:-|" + e.src_pseudo_letter + "){0,61}" + e.src_pseudo_letter + "))", e.src_host = "(?:(?:(?:(?:" + e.src_domain + ")\\.)*" + e.src_domain + "))", e.tpl_host_fuzzy = "(?:" + e.src_ip4 + "|(?:(?:(?:" + e.src_domain + ")\\.)+(?:%TLDS%)))", e.tpl_host_no_ip_fuzzy = "(?:(?:(?:" + e.src_domain + ")\\.)+(?:%TLDS%))", e.src_host_strict = e.src_host + e.src_host_terminator, e.tpl_host_fuzzy_strict = e.tpl_host_fuzzy + e.src_host_terminator, e.src_host_port_strict = e.src_host + e.src_port + e.src_host_terminator, e.tpl_host_port_fuzzy_strict = e.tpl_host_fuzzy + e.src_port + e.src_host_terminator, e.tpl_host_port_no_ip_fuzzy_strict = e.tpl_host_no_ip_fuzzy + e.src_port + e.src_host_terminator, e.tpl_host_fuzzy_test = "localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:" + e.src_ZPCc + "|>|$))", e.tpl_email_fuzzy = "(^|" + t + '|"|\\(|' + e.src_ZCc + ")(" + e.src_email_name + "@" + e.tpl_host_fuzzy_strict + ")", e.tpl_link_fuzzy = // Fuzzy link can't be prepended with .:/\- and non punctuation.
@@ -3907,7 +3906,7 @@ function Y$(n) {
3907
3906
  function X$(n) {
3908
3907
  return hn(n) === "[object RegExp]";
3909
3908
  }
3910
- function Ut(n) {
3909
+ function $t(n) {
3911
3910
  return hn(n) === "[object Function]";
3912
3911
  }
3913
3912
  function Q$(n) {
@@ -3965,7 +3964,7 @@ function sU(n) {
3965
3964
  return n.test(r) ? r.match(n)[0].length : 0;
3966
3965
  };
3967
3966
  }
3968
- function Vt() {
3967
+ function Ut() {
3969
3968
  return function(n, e) {
3970
3969
  e.normalize(n);
3971
3970
  };
@@ -3987,7 +3986,7 @@ function en(n) {
3987
3986
  if (a !== null) {
3988
3987
  var l = { validate: null, link: null };
3989
3988
  if (n.__compiled__[i] = l, Y$(a)) {
3990
- X$(a.validate) ? l.validate = sU(a.validate) : Ut(a.validate) ? l.validate = a.validate : s(i, a), Ut(a.normalize) ? l.normalize = a.normalize : a.normalize ? s(i, a) : l.normalize = Vt();
3989
+ X$(a.validate) ? l.validate = sU(a.validate) : $t(a.validate) ? l.validate = a.validate : s(i, a), $t(a.normalize) ? l.normalize = a.normalize : a.normalize ? s(i, a) : l.normalize = Ut();
3991
3990
  return;
3992
3991
  }
3993
3992
  if (J$(a)) {
@@ -3998,7 +3997,7 @@ function en(n) {
3998
3997
  }
3999
3998
  }), o.forEach(function(i) {
4000
3999
  n.__compiled__[n.__schemas__[i]] && (n.__compiled__[i].validate = n.__compiled__[n.__schemas__[i]].validate, n.__compiled__[i].normalize = n.__compiled__[n.__schemas__[i]].normalize);
4001
- }), n.__compiled__[""] = { validate: null, normalize: Vt() };
4000
+ }), n.__compiled__[""] = { validate: null, normalize: Ut() };
4002
4001
  var c = Object.keys(n.__compiled__).filter(function(i) {
4003
4002
  return i.length > 0 && n.__compiled__[i];
4004
4003
  }).map(Q$).join("|");
@@ -4011,7 +4010,7 @@ function cU(n, e) {
4011
4010
  var t = n.__index__, r = n.__last_index__, o = n.__text_cache__.slice(t, r);
4012
4011
  this.schema = n.__schema__.toLowerCase(), this.index = t + e, this.lastIndex = r + e, this.raw = o, this.text = o, this.url = o;
4013
4012
  }
4014
- function Gt(n, e) {
4013
+ function Vt(n, e) {
4015
4014
  var t = new cU(n, e);
4016
4015
  return n.__compiled__[t.schema].normalize(t, n), t;
4017
4016
  }
@@ -4047,9 +4046,9 @@ Q.prototype.testSchemaAt = function(e, t, r) {
4047
4046
  };
4048
4047
  Q.prototype.match = function(e) {
4049
4048
  var t = 0, r = [];
4050
- this.__index__ >= 0 && this.__text_cache__ === e && (r.push(Gt(this, t)), t = this.__last_index__);
4049
+ this.__index__ >= 0 && this.__text_cache__ === e && (r.push(Vt(this, t)), t = this.__last_index__);
4051
4050
  for (var o = t ? e.slice(t) : e; this.test(o); )
4052
- r.push(Gt(this, t)), o = o.slice(this.__last_index__), t += this.__last_index__;
4051
+ r.push(Vt(this, t)), o = o.slice(this.__last_index__), t += this.__last_index__;
4053
4052
  return r.length ? r : null;
4054
4053
  };
4055
4054
  Q.prototype.tlds = function(e, t) {
@@ -4063,11 +4062,11 @@ Q.prototype.normalize = function(e) {
4063
4062
  Q.prototype.onCompile = function() {
4064
4063
  };
4065
4064
  var iU = Q;
4066
- const Se = 2147483647, ie = 36, Hn = 1, Be = 26, aU = 38, lU = 700, vr = 72, kr = 128, xr = "-", uU = /^xn--/, fU = /[^\0-\x7E]/, pU = /[\x2E\u3002\uFF0E\uFF61]/g, hU = {
4065
+ const Se = 2147483647, ie = 36, Gn = 1, Be = 26, aU = 38, lU = 700, vr = 72, kr = 128, xr = "-", uU = /^xn--/, fU = /[^\0-\x7E]/, pU = /[\x2E\u3002\uFF0E\uFF61]/g, hU = {
4067
4066
  overflow: "Overflow: input needs wider integers to process",
4068
4067
  "not-basic": "Illegal input >= 0x80 (not a basic code point)",
4069
4068
  "invalid-input": "Invalid input"
4070
- }, Tn = ie - Hn, ae = Math.floor, Rn = String.fromCharCode;
4069
+ }, Tn = ie - Gn, ae = Math.floor, Rn = String.fromCharCode;
4071
4070
  function me(n) {
4072
4071
  throw new RangeError(hU[n]);
4073
4072
  }
@@ -4085,7 +4084,7 @@ function yr(n, e) {
4085
4084
  const o = n.split("."), s = dU(o, e).join(".");
4086
4085
  return r + s;
4087
4086
  }
4088
- function jn(n) {
4087
+ function Hn(n) {
4089
4088
  const e = [];
4090
4089
  let t = 0;
4091
4090
  const r = n.length;
@@ -4101,14 +4100,14 @@ function jn(n) {
4101
4100
  }
4102
4101
  const wr = (n) => String.fromCodePoint(...n), gU = function(n) {
4103
4102
  return n - 48 < 10 ? n - 22 : n - 65 < 26 ? n - 65 : n - 97 < 26 ? n - 97 : ie;
4104
- }, Ht = function(n, e) {
4103
+ }, Gt = function(n, e) {
4105
4104
  return n + 22 + 75 * (n < 26) - ((e != 0) << 5);
4106
4105
  }, Er = function(n, e, t) {
4107
4106
  let r = 0;
4108
4107
  for (n = t ? ae(n / lU) : n >> 1, n += ae(n / e); n > Tn * Be >> 1; r += ie)
4109
4108
  n = ae(n / Tn);
4110
4109
  return ae(r + (Tn + 1) * n / (n + aU));
4111
- }, Zn = function(n) {
4110
+ }, jn = function(n) {
4112
4111
  const e = [], t = n.length;
4113
4112
  let r = 0, o = kr, s = vr, c = n.lastIndexOf(xr);
4114
4113
  c < 0 && (c = 0);
@@ -4120,7 +4119,7 @@ const wr = (n) => String.fromCodePoint(...n), gU = function(n) {
4120
4119
  i >= t && me("invalid-input");
4121
4120
  const f = gU(n.charCodeAt(i++));
4122
4121
  (f >= ie || f > ae((Se - r) / u)) && me("overflow"), r += f * u;
4123
- const h = p <= s ? Hn : p >= s + Be ? Be : p - s;
4122
+ const h = p <= s ? Gn : p >= s + Be ? Be : p - s;
4124
4123
  if (f < h)
4125
4124
  break;
4126
4125
  const k = ie - h;
@@ -4130,9 +4129,9 @@ const wr = (n) => String.fromCodePoint(...n), gU = function(n) {
4130
4129
  s = Er(r - a, l, a == 0), ae(r / l) > Se - o && me("overflow"), o += ae(r / l), r %= l, e.splice(r++, 0, o);
4131
4130
  }
4132
4131
  return String.fromCodePoint(...e);
4133
- }, Wn = function(n) {
4132
+ }, Zn = function(n) {
4134
4133
  const e = [];
4135
- n = jn(n);
4134
+ n = Hn(n);
4136
4135
  let t = n.length, r = kr, o = 0, s = vr;
4137
4136
  for (const a of n)
4138
4137
  a < 128 && e.push(Rn(a));
@@ -4147,26 +4146,26 @@ const wr = (n) => String.fromCodePoint(...n), gU = function(n) {
4147
4146
  if (u < r && ++o > Se && me("overflow"), u === r) {
4148
4147
  let p = o;
4149
4148
  for (let f = ie; ; f += ie) {
4150
- const h = f <= s ? Hn : f >= s + Be ? Be : f - s;
4149
+ const h = f <= s ? Gn : f >= s + Be ? Be : f - s;
4151
4150
  if (p < h)
4152
4151
  break;
4153
4152
  const k = p - h, v = ie - h;
4154
4153
  e.push(
4155
- Rn(Ht(h + k % v, 0))
4154
+ Rn(Gt(h + k % v, 0))
4156
4155
  ), p = ae(k / v);
4157
4156
  }
4158
- e.push(Rn(Ht(p, 0))), s = Er(o, l, i === c), o = 0, ++i;
4157
+ e.push(Rn(Gt(p, 0))), s = Er(o, l, i === c), o = 0, ++i;
4159
4158
  }
4160
4159
  ++o, ++r;
4161
4160
  }
4162
4161
  return e.join("");
4163
4162
  }, Ar = function(n) {
4164
4163
  return yr(n, function(e) {
4165
- return uU.test(e) ? Zn(e.slice(4).toLowerCase()) : e;
4164
+ return uU.test(e) ? jn(e.slice(4).toLowerCase()) : e;
4166
4165
  });
4167
4166
  }, Cr = function(n) {
4168
4167
  return yr(n, function(e) {
4169
- return fU.test(e) ? "xn--" + Wn(e) : e;
4168
+ return fU.test(e) ? "xn--" + Zn(e) : e;
4170
4169
  });
4171
4170
  }, mU = {
4172
4171
  /**
@@ -4183,21 +4182,21 @@ const wr = (n) => String.fromCodePoint(...n), gU = function(n) {
4183
4182
  * @type Object
4184
4183
  */
4185
4184
  ucs2: {
4186
- decode: jn,
4185
+ decode: Hn,
4187
4186
  encode: wr
4188
4187
  },
4189
- decode: Zn,
4190
- encode: Wn,
4188
+ decode: jn,
4189
+ encode: Zn,
4191
4190
  toASCII: Cr,
4192
4191
  toUnicode: Ar
4193
4192
  }, _U = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4194
4193
  __proto__: null,
4195
- decode: Zn,
4194
+ decode: jn,
4196
4195
  default: mU,
4197
- encode: Wn,
4196
+ encode: Zn,
4198
4197
  toASCII: Cr,
4199
4198
  toUnicode: Ar,
4200
- ucs2decode: jn,
4199
+ ucs2decode: Hn,
4201
4200
  ucs2encode: wr
4202
4201
  }, Symbol.toStringTag, { value: "Module" })), bU = /* @__PURE__ */ No(_U);
4203
4202
  var vU = {
@@ -4497,7 +4496,7 @@ function qr(n) {
4497
4496
  (r === "object" || r === "function") && !Object.isFrozen(t) && qr(t);
4498
4497
  }), n;
4499
4498
  }
4500
- class jt {
4499
+ class Ht {
4501
4500
  /**
4502
4501
  * @param {CompiledMode} mode
4503
4502
  */
@@ -4521,7 +4520,7 @@ function he(n, ...e) {
4521
4520
  }), /** @type {T} */
4522
4521
  t;
4523
4522
  }
4524
- const PU = "</span>", Zt = (n) => !!n.scope, zU = (n, { prefix: e }) => {
4523
+ const PU = "</span>", jt = (n) => !!n.scope, zU = (n, { prefix: e }) => {
4525
4524
  if (n.startsWith("language:"))
4526
4525
  return n.replace("language:", "language-");
4527
4526
  if (n.includes(".")) {
@@ -4555,7 +4554,7 @@ class $U {
4555
4554
  *
4556
4555
  * @param {Node} node */
4557
4556
  openNode(e) {
4558
- if (!Zt(e))
4557
+ if (!jt(e))
4559
4558
  return;
4560
4559
  const t = zU(
4561
4560
  e.scope,
@@ -4568,7 +4567,7 @@ class $U {
4568
4567
  *
4569
4568
  * @param {Node} node */
4570
4569
  closeNode(e) {
4571
- Zt(e) && (this.buffer += PU);
4570
+ jt(e) && (this.buffer += PU);
4572
4571
  }
4573
4572
  /**
4574
4573
  * returns the accumulated buffer
@@ -4585,13 +4584,13 @@ class $U {
4585
4584
  this.buffer += `<span class="${e}">`;
4586
4585
  }
4587
4586
  }
4588
- const Wt = (n = {}) => {
4587
+ const Zt = (n = {}) => {
4589
4588
  const e = { children: [] };
4590
4589
  return Object.assign(e, n), e;
4591
4590
  };
4592
- class Kn {
4591
+ class Wn {
4593
4592
  constructor() {
4594
- this.rootNode = Wt(), this.stack = [this.rootNode];
4593
+ this.rootNode = Zt(), this.stack = [this.rootNode];
4595
4594
  }
4596
4595
  get top() {
4597
4596
  return this.stack[this.stack.length - 1];
@@ -4605,7 +4604,7 @@ class Kn {
4605
4604
  }
4606
4605
  /** @param {string} scope */
4607
4606
  openNode(e) {
4608
- const t = Wt({ scope: e });
4607
+ const t = Zt({ scope: e });
4609
4608
  this.add(t), this.stack.push(t);
4610
4609
  }
4611
4610
  closeNode() {
@@ -4638,11 +4637,11 @@ class Kn {
4638
4637
  */
4639
4638
  static _collapse(e) {
4640
4639
  typeof e != "string" && e.children && (e.children.every((t) => typeof t == "string") ? e.children = [e.children.join("")] : e.children.forEach((t) => {
4641
- Kn._collapse(t);
4640
+ Wn._collapse(t);
4642
4641
  }));
4643
4642
  }
4644
4643
  }
4645
- class UU extends Kn {
4644
+ class UU extends Wn {
4646
4645
  /**
4647
4646
  * @param {*} options
4648
4647
  */
@@ -4696,7 +4695,7 @@ function HU(n) {
4696
4695
  const e = n[n.length - 1];
4697
4696
  return typeof e == "object" && e.constructor === Object ? (n.splice(n.length - 1, 1), e) : {};
4698
4697
  }
4699
- function Jn(...n) {
4698
+ function Kn(...n) {
4700
4699
  return "(" + (HU(n).capture ? "" : "?:") + n.map((r) => Pe(r)).join("|") + ")";
4701
4700
  }
4702
4701
  function Nr(n) {
@@ -4707,7 +4706,7 @@ function jU(n, e) {
4707
4706
  return t && t.index === 0;
4708
4707
  }
4709
4708
  const ZU = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
4710
- function Yn(n, { joinWith: e }) {
4709
+ function Jn(n, { joinWith: e }) {
4711
4710
  let t = 0;
4712
4711
  return n.map((r) => {
4713
4712
  t += 1;
@@ -4724,7 +4723,7 @@ function Yn(n, { joinWith: e }) {
4724
4723
  return c;
4725
4724
  }).map((r) => `(${r})`).join(e);
4726
4725
  }
4727
- const WU = /\b\B/, Mr = "[a-zA-Z]\\w*", Xn = "[a-zA-Z_]\\w*", Lr = "\\b\\d+(\\.\\d+)?", Fr = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", Ir = "\\b(0b[01]+)", KU = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", JU = (n = {}) => {
4726
+ const WU = /\b\B/, Mr = "[a-zA-Z]\\w*", Yn = "[a-zA-Z_]\\w*", Lr = "\\b\\d+(\\.\\d+)?", Fr = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", Ir = "\\b(0b[01]+)", KU = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", JU = (n = {}) => {
4728
4727
  const e = /^#![ ]*\//;
4729
4728
  return n.binary && (n.begin = we(
4730
4729
  e,
@@ -4777,7 +4776,7 @@ const WU = /\b\B/, Mr = "[a-zA-Z]\\w*", Xn = "[a-zA-Z_]\\w*", Lr = "\\b\\d+(\\.\
4777
4776
  excludeBegin: !0,
4778
4777
  relevance: 0
4779
4778
  });
4780
- const o = Jn(
4779
+ const o = Kn(
4781
4780
  // list of common 1 and 2 letter words in English
4782
4781
  "I",
4783
4782
  "a",
@@ -4865,11 +4864,11 @@ const WU = /\b\B/, Mr = "[a-zA-Z]\\w*", Xn = "[a-zA-Z_]\\w*", Lr = "\\b\\d+(\\.\
4865
4864
  relevance: 0
4866
4865
  }, a8 = {
4867
4866
  scope: "title",
4868
- begin: Xn,
4867
+ begin: Yn,
4869
4868
  relevance: 0
4870
4869
  }, l8 = {
4871
4870
  // excludes method names from keyword processing
4872
- begin: "\\.\\s*" + Xn,
4871
+ begin: "\\.\\s*" + Yn,
4873
4872
  relevance: 0
4874
4873
  }, u8 = function(n) {
4875
4874
  return Object.assign(
@@ -4890,7 +4889,7 @@ var Je = /* @__PURE__ */ Object.freeze({
4890
4889
  __proto__: null,
4891
4890
  MATCH_NOTHING_RE: WU,
4892
4891
  IDENT_RE: Mr,
4893
- UNDERSCORE_IDENT_RE: Xn,
4892
+ UNDERSCORE_IDENT_RE: Yn,
4894
4893
  NUMBER_RE: Lr,
4895
4894
  C_NUMBER_RE: Fr,
4896
4895
  BINARY_NUMBER_RE: Ir,
@@ -4923,7 +4922,7 @@ function h8(n, e) {
4923
4922
  e && n.beginKeywords && (n.begin = "\\b(" + n.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", n.__beforeBegin = f8, n.keywords = n.keywords || n.beginKeywords, delete n.beginKeywords, n.relevance === void 0 && (n.relevance = 0));
4924
4923
  }
4925
4924
  function d8(n, e) {
4926
- Array.isArray(n.illegal) && (n.illegal = Jn(...n.illegal));
4925
+ Array.isArray(n.illegal) && (n.illegal = Kn(...n.illegal));
4927
4926
  }
4928
4927
  function g8(n, e) {
4929
4928
  if (n.match) {
@@ -4986,12 +4985,12 @@ function k8(n, e) {
4986
4985
  function x8(n) {
4987
4986
  return b8.includes(n.toLowerCase());
4988
4987
  }
4989
- const Kt = {}, ke = (n) => {
4988
+ const Wt = {}, ke = (n) => {
4990
4989
  console.error(n);
4991
- }, Jt = (n, ...e) => {
4990
+ }, Kt = (n, ...e) => {
4992
4991
  console.log(`WARN: ${n}`, ...e);
4993
4992
  }, Ae = (n, e) => {
4994
- Kt[`${n}/${e}`] || (console.log(`Deprecated as of ${n}. ${e}`), Kt[`${n}/${e}`] = !0);
4993
+ Wt[`${n}/${e}`] || (console.log(`Deprecated as of ${n}. ${e}`), Wt[`${n}/${e}`] = !0);
4995
4994
  }, nn = new Error();
4996
4995
  function Br(n, e, { key: t }) {
4997
4996
  let r = 0;
@@ -5006,7 +5005,7 @@ function y8(n) {
5006
5005
  throw ke("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), nn;
5007
5006
  if (typeof n.beginScope != "object" || n.beginScope === null)
5008
5007
  throw ke("beginScope must be object"), nn;
5009
- Br(n, n.begin, { key: "beginScope" }), n.begin = Yn(n.begin, { joinWith: "" });
5008
+ Br(n, n.begin, { key: "beginScope" }), n.begin = Jn(n.begin, { joinWith: "" });
5010
5009
  }
5011
5010
  }
5012
5011
  function w8(n) {
@@ -5015,7 +5014,7 @@ function w8(n) {
5015
5014
  throw ke("skip, excludeEnd, returnEnd not compatible with endScope: {}"), nn;
5016
5015
  if (typeof n.endScope != "object" || n.endScope === null)
5017
5016
  throw ke("endScope must be object"), nn;
5018
- Br(n, n.end, { key: "endScope" }), n.end = Yn(n.end, { joinWith: "" });
5017
+ Br(n, n.end, { key: "endScope" }), n.end = Jn(n.end, { joinWith: "" });
5019
5018
  }
5020
5019
  }
5021
5020
  function E8(n) {
@@ -5042,7 +5041,7 @@ function C8(n) {
5042
5041
  compile() {
5043
5042
  this.regexes.length === 0 && (this.exec = () => null);
5044
5043
  const i = this.regexes.map((a) => a[1]);
5045
- this.matcherRe = e(Yn(i, { joinWith: "|" }), !0), this.lastIndex = 0;
5044
+ this.matcherRe = e(Jn(i, { joinWith: "|" }), !0), this.lastIndex = 0;
5046
5045
  }
5047
5046
  /** @param {string} s */
5048
5047
  exec(i) {
@@ -5148,7 +5147,7 @@ class q8 extends Error {
5148
5147
  super(e), this.name = "HTMLInjectionError", this.html = t;
5149
5148
  }
5150
5149
  }
5151
- const Nn = Tr, Yt = he, Xt = Symbol("nomatch"), T8 = 7, zr = function(n) {
5150
+ const Nn = Tr, Jt = he, Yt = Symbol("nomatch"), T8 = 7, zr = function(n) {
5152
5151
  const e = /* @__PURE__ */ Object.create(null), t = /* @__PURE__ */ Object.create(null), r = [];
5153
5152
  let o = !0;
5154
5153
  const s = "Could not find the language '{}', did you forget to load/include a language module?", c = { disableAutodetect: !0, name: "Plain text", contains: [] };
@@ -5173,7 +5172,7 @@ const Nn = Tr, Yt = he, Xt = Symbol("nomatch"), T8 = 7, zr = function(n) {
5173
5172
  const D = i.languageDetectRe.exec(x);
5174
5173
  if (D) {
5175
5174
  const L = H(D[1]);
5176
- return L || (Jt(s.replace("{}", D[1])), Jt("Falling back to no-highlight mode for this block.", d)), L ? D[1] : "no-highlight";
5175
+ return L || (Kt(s.replace("{}", D[1])), Kt("Falling back to no-highlight mode for this block.", d)), L ? D[1] : "no-highlight";
5177
5176
  }
5178
5177
  return x.split(/\s+/).find((L) => a(L) || H(L));
5179
5178
  }
@@ -5228,7 +5227,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = d, L = x), D ===
5228
5227
  j.addText(z);
5229
5228
  return;
5230
5229
  }
5231
- b = p(S.subLanguage, z, !0, rt[S.subLanguage]), rt[S.subLanguage] = /** @type {CompiledMode} */
5230
+ b = p(S.subLanguage, z, !0, tt[S.subLanguage]), tt[S.subLanguage] = /** @type {CompiledMode} */
5232
5231
  b._top;
5233
5232
  } else
5234
5233
  b = h(z, S.subLanguage.length ? S.subLanguage : null);
@@ -5240,7 +5239,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = d, L = x), D ===
5240
5239
  function se(b, E) {
5241
5240
  b !== "" && (j.startScope(E), j.addText(b), j.endScope());
5242
5241
  }
5243
- function Qn(b, E) {
5242
+ function Xn(b, E) {
5244
5243
  let T = 1;
5245
5244
  const B = E.length - 1;
5246
5245
  for (; T <= B; ) {
@@ -5252,14 +5251,14 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = d, L = x), D ===
5252
5251
  W ? se(pe, W) : (z = pe, ne(), z = ""), T++;
5253
5252
  }
5254
5253
  }
5255
- function et(b, E) {
5256
- return b.scope && typeof b.scope == "string" && j.openNode(ce.classNameAliases[b.scope] || b.scope), b.beginScope && (b.beginScope._wrap ? (se(z, ce.classNameAliases[b.beginScope._wrap] || b.beginScope._wrap), z = "") : b.beginScope._multi && (Qn(b.beginScope, E), z = "")), S = Object.create(b, { parent: { value: S } }), S;
5254
+ function Qn(b, E) {
5255
+ return b.scope && typeof b.scope == "string" && j.openNode(ce.classNameAliases[b.scope] || b.scope), b.beginScope && (b.beginScope._wrap ? (se(z, ce.classNameAliases[b.beginScope._wrap] || b.beginScope._wrap), z = "") : b.beginScope._multi && (Xn(b.beginScope, E), z = "")), S = Object.create(b, { parent: { value: S } }), S;
5257
5256
  }
5258
- function nt(b, E, T) {
5257
+ function et(b, E, T) {
5259
5258
  let B = jU(b.endRe, T);
5260
5259
  if (B) {
5261
5260
  if (b["on:end"]) {
5262
- const W = new jt(b);
5261
+ const W = new Ht(b);
5263
5262
  b["on:end"](E, W), W.isMatchIgnored && (B = !1);
5264
5263
  }
5265
5264
  if (B) {
@@ -5269,28 +5268,28 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = d, L = x), D ===
5269
5268
  }
5270
5269
  }
5271
5270
  if (b.endsWithParent)
5272
- return nt(b.parent, E, T);
5271
+ return et(b.parent, E, T);
5273
5272
  }
5274
5273
  function Wr(b) {
5275
5274
  return S.matcher.regexIndex === 0 ? (z += b[0], 1) : (_n = !0, 0);
5276
5275
  }
5277
5276
  function Kr(b) {
5278
- const E = b[0], T = b.rule, B = new jt(T), W = [T.__beforeBegin, T["on:begin"]];
5277
+ const E = b[0], T = b.rule, B = new Ht(T), W = [T.__beforeBegin, T["on:begin"]];
5279
5278
  for (const pe of W)
5280
5279
  if (pe && (pe(b, B), B.isMatchIgnored))
5281
5280
  return Wr(E);
5282
- return T.skip ? z += E : (T.excludeBegin && (z += E), Y(), !T.returnBegin && !T.excludeBegin && (z = E)), et(T, b), T.returnBegin ? 0 : E.length;
5281
+ return T.skip ? z += E : (T.excludeBegin && (z += E), Y(), !T.returnBegin && !T.excludeBegin && (z = E)), Qn(T, b), T.returnBegin ? 0 : E.length;
5283
5282
  }
5284
5283
  function Jr(b) {
5285
- const E = b[0], T = x.substring(b.index), B = nt(S, b, T);
5284
+ const E = b[0], T = x.substring(b.index), B = et(S, b, T);
5286
5285
  if (!B)
5287
- return Xt;
5286
+ return Yt;
5288
5287
  const W = S;
5289
- S.endScope && S.endScope._wrap ? (Y(), se(E, S.endScope._wrap)) : S.endScope && S.endScope._multi ? (Y(), Qn(S.endScope, b)) : W.skip ? z += E : (W.returnEnd || W.excludeEnd || (z += E), Y(), W.excludeEnd && (z = E));
5288
+ S.endScope && S.endScope._wrap ? (Y(), se(E, S.endScope._wrap)) : S.endScope && S.endScope._multi ? (Y(), Xn(S.endScope, b)) : W.skip ? z += E : (W.returnEnd || W.excludeEnd || (z += E), Y(), W.excludeEnd && (z = E));
5290
5289
  do
5291
5290
  S.scope && j.closeNode(), !S.skip && !S.subLanguage && (je += S.relevance), S = S.parent;
5292
5291
  while (S !== B.parent);
5293
- return B.starts && et(B.starts, b), W.returnEnd ? 0 : E.length;
5292
+ return B.starts && Qn(B.starts, b), W.returnEnd ? 0 : E.length;
5294
5293
  }
5295
5294
  function Yr() {
5296
5295
  const b = [];
@@ -5299,7 +5298,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = d, L = x), D ===
5299
5298
  b.forEach((E) => j.openNode(E));
5300
5299
  }
5301
5300
  let He = {};
5302
- function tt(b, E) {
5301
+ function nt(b, E) {
5303
5302
  const T = E && E[0];
5304
5303
  if (z += b, T == null)
5305
5304
  return Y(), 0;
@@ -5317,7 +5316,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = d, L = x), D ===
5317
5316
  throw B.mode = S, B;
5318
5317
  } else if (E.type === "end") {
5319
5318
  const B = Jr(E);
5320
- if (B !== Xt)
5319
+ if (B !== Yt)
5321
5320
  return B;
5322
5321
  }
5323
5322
  if (E.type === "illegal" && T === "")
@@ -5331,7 +5330,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = d, L = x), D ===
5331
5330
  throw ke(s.replace("{}", d)), new Error('Unknown language: "' + d + '"');
5332
5331
  const Xr = C8(ce);
5333
5332
  let gn = "", S = L || Xr;
5334
- const rt = {}, j = new i.__emitter(i);
5333
+ const tt = {}, j = new i.__emitter(i);
5335
5334
  Yr();
5336
5335
  let z = "", je = 0, de = 0, mn = 0, _n = !1;
5337
5336
  try {
@@ -5343,10 +5342,10 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = d, L = x), D ===
5343
5342
  const b = S.matcher.exec(x);
5344
5343
  if (!b)
5345
5344
  break;
5346
- const E = x.substring(de, b.index), T = tt(E, b);
5345
+ const E = x.substring(de, b.index), T = nt(E, b);
5347
5346
  de = b.index + T;
5348
5347
  }
5349
- tt(x.substring(de));
5348
+ nt(x.substring(de));
5350
5349
  }
5351
5350
  return j.finalize(), gn = j.toHTML(), {
5352
5351
  language: d,
@@ -5444,7 +5443,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = d, L = x), D ===
5444
5443
  }), O("after:highlightElement", { el: d, result: U, text: L });
5445
5444
  }
5446
5445
  function A(d) {
5447
- i = Yt(i, d);
5446
+ i = Jt(i, d);
5448
5447
  }
5449
5448
  const y = () => {
5450
5449
  C(), Ae("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
@@ -5540,7 +5539,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = d, L = x), D ===
5540
5539
  getLanguage: H,
5541
5540
  registerAliases: R,
5542
5541
  autoDetection: P,
5543
- inherit: Yt,
5542
+ inherit: Jt,
5544
5543
  addPlugin: oe,
5545
5544
  removePlugin: m
5546
5545
  }), n.debugMode = function() {
@@ -5550,7 +5549,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), U = d, L = x), D ===
5550
5549
  }, n.versionString = D8, n.regex = {
5551
5550
  concat: we,
5552
5551
  lookahead: Rr,
5553
- either: Jn,
5552
+ either: Kn,
5554
5553
  optional: GU,
5555
5554
  anyNumberOfTimes: VU
5556
5555
  };
@@ -5585,7 +5584,7 @@ const tn = /* @__PURE__ */ ir(R8), Fn = /* @__PURE__ */ te({
5585
5584
  }
5586
5585
  };
5587
5586
  return (s, c) => (F(), G("div", {
5588
- class: tr(["chat-message", r.value])
5587
+ class: nr(["chat-message", r.value])
5589
5588
  }, [
5590
5589
  Le(s.$slots, "default", {}, () => [
5591
5590
  be(V(BU), {
@@ -5621,7 +5620,7 @@ const N8 = /* @__PURE__ */ J("div", { class: "chat-message-typing-body" }, [
5621
5620
  [`chat-message-typing-animation-${e.animation}`]: !0
5622
5621
  }));
5623
5622
  return (o, s) => (F(), X(V(Fn), {
5624
- class: tr(r.value),
5623
+ class: nr(r.value),
5625
5624
  message: t
5626
5625
  }, {
5627
5626
  default: ve(() => [
@@ -5642,11 +5641,11 @@ const L8 = { class: "chat-messages-list" }, F8 = /* @__PURE__ */ te({
5642
5641
  setup(n) {
5643
5642
  const e = On(), { initialMessages: t, waitingForResponse: r } = e;
5644
5643
  return (o, s) => (F(), G("div", L8, [
5645
- (F(!0), G(ot, null, st(V(t), (c) => (F(), X(Fn, {
5644
+ (F(!0), G(rt, null, ot(V(t), (c) => (F(), X(Fn, {
5646
5645
  key: c.id,
5647
5646
  message: c
5648
5647
  }, null, 8, ["message"]))), 128)),
5649
- (F(!0), G(ot, null, st(n.messages, (c) => (F(), X(Fn, {
5648
+ (F(!0), G(rt, null, ot(n.messages, (c) => (F(), X(Fn, {
5650
5649
  key: c.id,
5651
5650
  message: c
5652
5651
  }, null, 8, ["message"]))), 128)),
@@ -5681,7 +5680,7 @@ const z8 = { name: "mdi-send", render: P8 }, $8 = { class: "chat-input" }, U8 =
5681
5680
  a.shiftKey || await c(a);
5682
5681
  }
5683
5682
  return (a, l) => (F(), G("div", $8, [
5684
- rr(J("textarea", {
5683
+ tr(J("textarea", {
5685
5684
  "onUpdate:modelValue": l[0] || (l[0] = (u) => o.value = u),
5686
5685
  rows: "1",
5687
5686
  placeholder: V(r)("inputPlaceholder"),
@@ -5779,9 +5778,9 @@ const e5 = { name: "mdi-chevron-down", render: Q8 }, n5 = { class: "chat-window-
5779
5778
  });
5780
5779
  }
5781
5780
  return (r, o) => (F(), G("div", n5, [
5782
- be(ct, { name: "chat-window-transition" }, {
5781
+ be(st, { name: "chat-window-transition" }, {
5783
5782
  default: ve(() => [
5784
- rr(J("div", t5, [
5783
+ tr(J("div", t5, [
5785
5784
  be($r)
5786
5785
  ], 512), [
5787
5786
  [io, e.value]
@@ -5793,7 +5792,7 @@ const e5 = { name: "mdi-chevron-down", render: Q8 }, n5 = { class: "chat-window-
5793
5792
  class: "chat-window-toggle",
5794
5793
  onClick: t
5795
5794
  }, [
5796
- be(ct, {
5795
+ be(st, {
5797
5796
  name: "chat-window-toggle-transition",
5798
5797
  mode: "out-in"
5799
5798
  }, {
@@ -6030,7 +6029,7 @@ function o5(n) {
6030
6029
  ]
6031
6030
  };
6032
6031
  }
6033
- const Qt = "[A-Za-z$_][0-9A-Za-z$_]*", s5 = [
6032
+ const Xt = "[A-Za-z$_][0-9A-Za-z$_]*", s5 = [
6034
6033
  "as",
6035
6034
  // for exports
6036
6035
  "in",
@@ -6178,7 +6177,7 @@ function l5(n) {
6178
6177
  const e = n.regex, t = (x, { after: D }) => {
6179
6178
  const L = "</" + x[0].slice(1);
6180
6179
  return x.input.indexOf(L, D) !== -1;
6181
- }, r = Qt, o = {
6180
+ }, r = Xt, o = {
6182
6181
  begin: "<>",
6183
6182
  end: "</>"
6184
6183
  }, s = /<[A-Za-z0-9\\._:-]+\s*\/>/, c = {
@@ -6214,7 +6213,7 @@ function l5(n) {
6214
6213
  }
6215
6214
  }
6216
6215
  }, i = {
6217
- $pattern: Qt,
6216
+ $pattern: Xt,
6218
6217
  keyword: s5,
6219
6218
  literal: c5,
6220
6219
  built_in: a5,
@@ -6685,7 +6684,7 @@ const u5 = /* @__PURE__ */ te({
6685
6684
  __name: "App",
6686
6685
  props: {},
6687
6686
  setup(n) {
6688
- const { options: e } = Bn(), t = $e(() => e.mode === "fullscreen");
6687
+ const { options: e } = cr(), t = $e(() => e.mode === "fullscreen");
6689
6688
  return In(() => {
6690
6689
  tn.registerLanguage("xml", o5), tn.registerLanguage("javascript", l5);
6691
6690
  }), (r, o) => t.value ? (F(), X(V($r), {
@@ -6783,7 +6782,7 @@ async function b5(n, e, t) {
6783
6782
  }
6784
6783
  const v5 = {
6785
6784
  install(n, e) {
6786
- n.provide(cr, e);
6785
+ n.provide(sr, e);
6787
6786
  const t = Ce([]), r = Ce(null), o = Ce(!1), s = $e(
6788
6787
  () => (e.initialMessages ?? []).map((l) => ({
6789
6788
  id: Me(),
@@ -6817,7 +6816,7 @@ const v5 = {
6817
6816
  });
6818
6817
  }
6819
6818
  async function i() {
6820
- const l = localStorage.getItem(it) ?? Me(), u = await _5(l, e), p = (/* @__PURE__ */ new Date()).toISOString();
6819
+ const l = localStorage.getItem(ct) ?? Me(), u = await _5(l, e), p = (/* @__PURE__ */ new Date()).toISOString();
6821
6820
  return t.value = ((u == null ? void 0 : u.data) || []).map((f, h) => ({
6822
6821
  id: `${h}`,
6823
6822
  text: f.kwargs.content,
@@ -6826,9 +6825,9 @@ const v5 = {
6826
6825
  })), t.value.length && (r.value = l), l;
6827
6826
  }
6828
6827
  async function a() {
6829
- r.value = Me(), localStorage.setItem(it, r.value);
6828
+ r.value = Me(), localStorage.setItem(ct, r.value);
6830
6829
  }
6831
- n.provide(sr, {
6830
+ n.provide(or, {
6832
6831
  initialMessages: s,
6833
6832
  messages: t,
6834
6833
  currentSessionId: r,