@wsxjs/wsx-marked-components 0.0.24 → 0.0.25

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.
Files changed (3) hide show
  1. package/dist/index.cjs +3 -3
  2. package/dist/index.js +1040 -1170
  3. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -1,117 +1,117 @@
1
1
  import { autoRegister as W, LightComponent as q, jsx as G } from "@wsxjs/wsx-core";
2
- import { marked as ce } from "marked";
2
+ import { marked as le } from "marked";
3
3
  const ue = "wsx-marked-heading{display:block}wsx-marked-heading h1{font-size:2.5rem;font-weight:700;margin:1.5rem 0 1rem;color:var(--text-primary, #2c3e50);border-bottom:2px solid var(--primary-red, #dc2626);padding-bottom:.5rem}wsx-marked-heading h2{font-size:2rem;font-weight:600;margin:1.25rem 0 .75rem;color:var(--text-primary, #2c3e50)}wsx-marked-heading h3{font-size:1.5rem;font-weight:600;margin:1rem 0 .5rem;color:var(--text-primary, #2c3e50)}wsx-marked-heading h4,wsx-marked-heading h5,wsx-marked-heading h6{font-size:1.25rem;font-weight:600;margin:.75rem 0 .5rem;color:var(--text-primary, #2c3e50)}";
4
- var Ee;
5
- let Ae, Se;
6
- function ae(e, t, r) {
7
- return (t = Te(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
4
+ var Ae;
5
+ let Se, Te;
6
+ function re(e, t, r) {
7
+ return (t = _e(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
8
8
  }
9
- function at(e, t, r, l, T, $) {
10
- function A(o, s, c) {
11
- return function(n, a) {
12
- return c && c(n), o[s].call(n, a);
9
+ function tt(e, t, r, i, T, P) {
10
+ function S(n, c, d) {
11
+ return function(l, a) {
12
+ return d && d(l), n[c].call(l, a);
13
13
  };
14
14
  }
15
- function S(o, s) {
16
- for (var c = 0; c < o.length; c++) o[c].call(s);
17
- return s;
15
+ function E(n, c) {
16
+ for (var d = 0; d < n.length; d++) n[d].call(c);
17
+ return c;
18
18
  }
19
- function E(o, s, c, n) {
20
- if (typeof o != "function" && (n || o !== void 0)) throw new TypeError(s + " must " + (c || "be") + " a function" + (n ? "" : " or undefined"));
21
- return o;
19
+ function w(n, c, d, l) {
20
+ if (typeof n != "function" && (l || n !== void 0)) throw new TypeError(c + " must " + (d || "be") + " a function" + (l ? "" : " or undefined"));
21
+ return n;
22
22
  }
23
- function D(o, s, c, n, a, i, p, g, y, h, f, d, b) {
24
- function x(k) {
25
- if (!b(k)) throw new TypeError("Attempted to access private element on non-instance");
23
+ function D(n, c, d, l, a, s, p, g, k, h, m, u, b) {
24
+ function A(f) {
25
+ if (!b(f)) throw new TypeError("Attempted to access private element on non-instance");
26
26
  }
27
- var m, _ = s[0], I = s[3], C = !g;
28
- if (!C) {
29
- c || Array.isArray(_) || (_ = [_]);
30
- var u = {}, L = [], w = a === 3 ? "get" : a === 4 || d ? "set" : "value";
31
- h ? (f || d ? u = { get: de(function() {
27
+ var x, F = c[0], I = c[3], $ = !g;
28
+ if (!$) {
29
+ d || Array.isArray(F) || (F = [F]);
30
+ var o = {}, R = [], v = a === 3 ? "get" : a === 4 || u ? "set" : "value";
31
+ h ? (m || u ? o = { get: ce(function() {
32
32
  return I(this);
33
- }, n, "get"), set: function(k) {
34
- s[4](this, k);
35
- } } : u[w] = I, f || de(u[w], n, a === 2 ? "" : w)) : f || (u = Object.getOwnPropertyDescriptor(o, n));
33
+ }, l, "get"), set: function(f) {
34
+ c[4](this, f);
35
+ } } : o[v] = I, m || ce(o[v], l, a === 2 ? "" : v)) : m || (o = Object.getOwnPropertyDescriptor(n, l));
36
36
  }
37
- for (var v = o, j = _.length - 1; j >= 0; j -= c ? 2 : 1) {
38
- var Z = _[j], B = c ? _[j - 1] : void 0, X = {}, P = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: n, metadata: i, addInitializer: (function(k, O) {
39
- if (k.v) throw Error("attempted to call addInitializer after decoration was finished");
40
- E(O, "An initializer", "be", !0), p.push(O);
37
+ for (var y = n, M = F.length - 1; M >= 0; M -= d ? 2 : 1) {
38
+ var Z = F[M], B = d ? F[M - 1] : void 0, X = {}, C = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: l, metadata: s, addInitializer: (function(f, O) {
39
+ if (f.v) throw Error("attempted to call addInitializer after decoration was finished");
40
+ w(O, "An initializer", "be", !0), p.push(O);
41
41
  }).bind(null, X) };
42
42
  try {
43
- if (C) (m = E(Z.call(B, v, P), "class decorators", "return")) && (v = m);
43
+ if ($) (x = w(Z.call(B, y, C), "class decorators", "return")) && (y = x);
44
44
  else {
45
- var M, z;
46
- P.static = y, P.private = h, h ? a === 2 ? M = function(k) {
47
- return x(k), u.value;
48
- } : (a < 4 && (M = A(u, "get", x)), a !== 3 && (z = A(u, "set", x))) : (M = function(k) {
49
- return k[n];
50
- }, (a < 2 || a === 4) && (z = function(k, O) {
51
- k[n] = O;
45
+ var j, z;
46
+ C.static = k, C.private = h, h ? a === 2 ? j = function(f) {
47
+ return A(f), o.value;
48
+ } : (a < 4 && (j = S(o, "get", A)), a !== 3 && (z = S(o, "set", A))) : (j = function(f) {
49
+ return f[l];
50
+ }, (a < 2 || a === 4) && (z = function(f, O) {
51
+ f[l] = O;
52
52
  }));
53
- var Y = P.access = { has: h ? b.bind() : function(k) {
54
- return n in k;
53
+ var Y = C.access = { has: h ? b.bind() : function(f) {
54
+ return l in f;
55
55
  } };
56
- if (M && (Y.get = M), z && (Y.set = z), v = Z.call(B, d ? { get: u.get, set: u.set } : u[w], P), d) {
57
- if (typeof v == "object" && v) (m = E(v.get, "accessor.get")) && (u.get = m), (m = E(v.set, "accessor.set")) && (u.set = m), (m = E(v.init, "accessor.init")) && L.push(m);
58
- else if (v !== void 0) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
59
- } else E(v, (f ? "field" : "method") + " decorators", "return") && (f ? L.push(v) : u[w] = v);
56
+ if (j && (Y.get = j), z && (Y.set = z), y = Z.call(B, u ? { get: o.get, set: o.set } : o[v], C), u) {
57
+ if (typeof y == "object" && y) (x = w(y.get, "accessor.get")) && (o.get = x), (x = w(y.set, "accessor.set")) && (o.set = x), (x = w(y.init, "accessor.init")) && R.push(x);
58
+ else if (y !== void 0) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
59
+ } else w(y, (m ? "field" : "method") + " decorators", "return") && (m ? R.push(y) : o[v] = y);
60
60
  }
61
61
  } finally {
62
62
  X.v = !0;
63
63
  }
64
64
  }
65
- return (f || d) && g.push(function(k, O) {
66
- for (var H = L.length - 1; H >= 0; H--) O = L[H].call(k, O);
65
+ return (m || u) && g.push(function(f, O) {
66
+ for (var H = R.length - 1; H >= 0; H--) O = R[H].call(f, O);
67
67
  return O;
68
- }), f || C || (h ? d ? g.push(A(u, "get"), A(u, "set")) : g.push(a === 2 ? u[w] : A.call.bind(u[w])) : Object.defineProperty(o, n, u)), v;
68
+ }), m || $ || (h ? u ? g.push(S(o, "get"), S(o, "set")) : g.push(a === 2 ? o[v] : S.call.bind(o[v])) : Object.defineProperty(n, l, o)), y;
69
69
  }
70
- function F(o, s) {
71
- return Object.defineProperty(o, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: s });
70
+ function L(n, c) {
71
+ return Object.defineProperty(n, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: c });
72
72
  }
73
- if (arguments.length >= 6) var R = $[Symbol.metadata || Symbol.for("Symbol.metadata")];
74
- var N = Object.create(R ?? null), U = function(o, s, c, n) {
75
- var a, i, p = [], g = function(w) {
76
- return ot(w) === o;
77
- }, y = /* @__PURE__ */ new Map();
78
- function h(w) {
79
- w && p.push(S.bind(null, w));
73
+ if (arguments.length >= 6) var _ = P[Symbol.metadata || Symbol.for("Symbol.metadata")];
74
+ var N = Object.create(_ ?? null), U = function(n, c, d, l) {
75
+ var a, s, p = [], g = function(v) {
76
+ return at(v) === n;
77
+ }, k = /* @__PURE__ */ new Map();
78
+ function h(v) {
79
+ v && p.push(E.bind(null, v));
80
80
  }
81
- for (var f = 0; f < s.length; f++) {
82
- var d = s[f];
83
- if (Array.isArray(d)) {
84
- var b = d[1], x = d[2], m = d.length > 3, _ = 16 & b, I = !!(8 & b), C = (b &= 7) == 0, u = x + "/" + I;
85
- if (!C && !m) {
86
- var L = y.get(u);
87
- if (L === !0 || L === 3 && b !== 4 || L === 4 && b !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + x);
88
- y.set(u, !(b > 2) || b);
81
+ for (var m = 0; m < c.length; m++) {
82
+ var u = c[m];
83
+ if (Array.isArray(u)) {
84
+ var b = u[1], A = u[2], x = u.length > 3, F = 16 & b, I = !!(8 & b), $ = (b &= 7) == 0, o = A + "/" + I;
85
+ if (!$ && !x) {
86
+ var R = k.get(o);
87
+ if (R === !0 || R === 3 && b !== 4 || R === 4 && b !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + A);
88
+ k.set(o, !(b > 2) || b);
89
89
  }
90
- D(I ? o : o.prototype, d, _, m ? "#" + x : Te(x), b, n, I ? i = i || [] : a = a || [], p, I, m, C, b === 1, I && m ? g : c);
90
+ D(I ? n : n.prototype, u, F, x ? "#" + A : _e(A), b, l, I ? s = s || [] : a = a || [], p, I, x, $, b === 1, I && x ? g : d);
91
91
  }
92
92
  }
93
- return h(a), h(i), p;
93
+ return h(a), h(s), p;
94
94
  }(e, t, T, N);
95
- return r.length || F(e, N), { e: U, get c() {
96
- var o = [];
97
- return r.length && [F(D(e, [r], l, e.name, 5, N, o), N), S.bind(null, o, e)];
95
+ return r.length || L(e, N), { e: U, get c() {
96
+ var n = [];
97
+ return r.length && [L(D(e, [r], i, e.name, 5, N, n), N), E.bind(null, n, e)];
98
98
  } };
99
99
  }
100
- function Te(e) {
101
- var t = nt(e, "string");
100
+ function _e(e) {
101
+ var t = rt(e, "string");
102
102
  return typeof t == "symbol" ? t : t + "";
103
103
  }
104
- function nt(e, t) {
104
+ function rt(e, t) {
105
105
  if (typeof e != "object" || !e) return e;
106
106
  var r = e[Symbol.toPrimitive];
107
107
  if (r !== void 0) {
108
- var l = r.call(e, t);
109
- if (typeof l != "object") return l;
108
+ var i = r.call(e, t);
109
+ if (typeof i != "object") return i;
110
110
  throw new TypeError("@@toPrimitive must return a primitive value.");
111
111
  }
112
112
  return String(e);
113
113
  }
114
- function de(e, t, r) {
114
+ function ce(e, t, r) {
115
115
  typeof t == "symbol" && (t = (t = t.description) ? "[" + t + "]" : "");
116
116
  try {
117
117
  Object.defineProperty(e, "name", { configurable: !0, value: r ? r + " " + t : t });
@@ -119,40 +119,40 @@ function de(e, t, r) {
119
119
  }
120
120
  return e;
121
121
  }
122
- function ot(e) {
122
+ function at(e) {
123
123
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e !== null ? typeof e : "null"));
124
124
  return e;
125
125
  }
126
- Se = [W({
126
+ Te = [W({
127
127
  tagName: "wsx-marked-heading"
128
128
  })];
129
- let st;
130
- class it extends q {
129
+ let nt;
130
+ class ot extends q {
131
131
  constructor() {
132
132
  super({
133
133
  styles: ue,
134
134
  styleName: "wsx-marked-heading"
135
- }), ae(this, "_autoStyles", ue), ae(this, "level", 1), ae(this, "text", "");
135
+ }), re(this, "_autoStyles", ue), re(this, "level", 1), re(this, "text", "");
136
136
  }
137
137
  static get observedAttributes() {
138
138
  return ["level", "text"];
139
139
  }
140
- attributeChangedCallback(t, r, l) {
141
- t === "level" ? this.level = parseInt(l, 10) || 1 : t === "text" && (this.text = l), this.rerender();
140
+ attributeChangedCallback(t, r, i) {
141
+ t === "level" ? this.level = parseInt(i, 10) || 1 : t === "text" && (this.text = i), this.rerender();
142
142
  }
143
143
  render() {
144
144
  return this.level === 1 ? /* @__PURE__ */ G("h1", null, this.text) : this.level === 2 ? /* @__PURE__ */ G("h2", null, this.text) : this.level === 3 ? /* @__PURE__ */ G("h3", null, this.text) : this.level === 4 ? /* @__PURE__ */ G("h4", null, this.text) : this.level === 5 ? /* @__PURE__ */ G("h5", null, this.text) : /* @__PURE__ */ G("h6", null, this.text);
145
145
  }
146
146
  }
147
- Ee = it;
148
- [st, Ae] = at(Ee, [], Se, 0, void 0, q).c;
149
- Ae();
150
- const ge = "wsx-marked-code{display:block;width:100%;margin:1rem 0;position:relative}.code-container{display:flex;flex-direction:column;width:100%;background:var(--bg-secondary, #fde8d1);border-radius:12px;overflow:hidden;box-shadow:0 8px 30px #0000001a;border:1px solid var(--border-color, #fed7aa)}wsx-marked-code .language-label{display:block;padding:.75rem 1.5rem;background:var(--bg-primary, #fef2e5);border-bottom:1px solid var(--border-color, #fed7aa);color:var(--text-primary, #2c3e50);font-weight:600;font-size:.9rem;text-transform:uppercase;letter-spacing:.5px}wsx-marked-code pre{padding:1.5rem;margin:0;background:var(--bg-primary, #fef2e5);color:var(--text-primary, #2c3e50);font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.9rem;line-height:1.6;overflow-x:auto;position:relative}wsx-marked-code code{display:block;background:transparent;padding:0;border:none;font-family:inherit;font-size:inherit;white-space:pre;word-wrap:normal;word-break:normal;tab-size:4;-moz-tab-size:4;-o-tab-size:4}@media (prefers-color-scheme: dark){.code-container{background:var(--bg-secondary, #2d2d2d);border-color:var(--border-color, #404040)}wsx-marked-code .language-label{background:var(--bg-primary, #1a1a1a);border-color:var(--border-color, #404040);color:var(--text-primary, #ffffff)}wsx-marked-code pre{background:#2d2d2d;color:#f8f8f2}}.light .code-container,[data-theme=light] .code-container{background:var(--bg-secondary, #fde8d1);border-color:var(--border-color, #fed7aa)}.light wsx-marked-code .language-label,[data-theme=light] wsx-marked-code .language-label{background:var(--bg-primary, #fef2e5);border-color:var(--border-color, #fed7aa);color:var(--text-primary, #2c3e50)}.light wsx-marked-code pre,[data-theme=light] wsx-marked-code pre{background:var(--bg-primary, #fef2e5);color:var(--text-primary, #2c3e50)}[data-theme=dark] .code-container,.dark .code-container{background:var(--bg-secondary, #2d2d2d);border-color:var(--border-color, #404040)}[data-theme=dark] wsx-marked-code .language-label,.dark wsx-marked-code .language-label{background:var(--bg-primary, #1a1a1a);border-color:var(--border-color, #404040);color:var(--text-primary, #ffffff)}[data-theme=dark] wsx-marked-code pre,.dark wsx-marked-code pre{background:#2d2d2d;color:#f8f8f2}.light wsx-marked-code code[class*=language-],[data-theme=light] wsx-marked-code code[class*=language-]{background:transparent;color:#1f2937}.light wsx-marked-code .token.comment,.light wsx-marked-code .token.prolog,.light wsx-marked-code .token.doctype,.light wsx-marked-code .token.cdata,[data-theme=light] wsx-marked-code .token.comment,[data-theme=light] wsx-marked-code .token.prolog,[data-theme=light] wsx-marked-code .token.doctype,[data-theme=light] wsx-marked-code .token.cdata{color:#4b5563;font-style:italic}.light wsx-marked-code .token.punctuation,[data-theme=light] wsx-marked-code .token.punctuation{color:#111827}.light wsx-marked-code .token.property,.light wsx-marked-code .token.tag,.light wsx-marked-code .token.boolean,.light wsx-marked-code .token.number,.light wsx-marked-code .token.constant,.light wsx-marked-code .token.symbol,.light wsx-marked-code .token.deleted,[data-theme=light] wsx-marked-code .token.property,[data-theme=light] wsx-marked-code .token.tag,[data-theme=light] wsx-marked-code .token.boolean,[data-theme=light] wsx-marked-code .token.number,[data-theme=light] wsx-marked-code .token.constant,[data-theme=light] wsx-marked-code .token.symbol,[data-theme=light] wsx-marked-code .token.deleted{color:#be185d}.light wsx-marked-code .token.selector,.light wsx-marked-code .token.attr-name,.light wsx-marked-code .token.string,.light wsx-marked-code .token.char,.light wsx-marked-code .token.builtin,.light wsx-marked-code .token.inserted,[data-theme=light] wsx-marked-code .token.selector,[data-theme=light] wsx-marked-code .token.attr-name,[data-theme=light] wsx-marked-code .token.string,[data-theme=light] wsx-marked-code .token.char,[data-theme=light] wsx-marked-code .token.builtin,[data-theme=light] wsx-marked-code .token.inserted{color:#059669}.light wsx-marked-code .token.operator,.light wsx-marked-code .token.entity,.light wsx-marked-code .token.url,.light wsx-marked-code .language-css .token.string,.light wsx-marked-code .style .token.string,[data-theme=light] wsx-marked-code .token.operator,[data-theme=light] wsx-marked-code .token.entity,[data-theme=light] wsx-marked-code .token.url,[data-theme=light] wsx-marked-code .language-css .token.string,[data-theme=light] wsx-marked-code .style .token.string{color:#111827}.light wsx-marked-code .token.atrule,.light wsx-marked-code .token.attr-value,.light wsx-marked-code .token.keyword,[data-theme=light] wsx-marked-code .token.atrule,[data-theme=light] wsx-marked-code .token.attr-value,[data-theme=light] wsx-marked-code .token.keyword{color:#7c3aed;font-weight:600}.light wsx-marked-code .token.function,.light wsx-marked-code .token.class-name,[data-theme=light] wsx-marked-code .token.function,[data-theme=light] wsx-marked-code .token.class-name{color:#0369a1}.light wsx-marked-code .token.regex,.light wsx-marked-code .token.important,.light wsx-marked-code .token.variable,[data-theme=light] wsx-marked-code .token.regex,[data-theme=light] wsx-marked-code .token.important,[data-theme=light] wsx-marked-code .token.variable{color:#c2410c}.light wsx-marked-code .token.decorator,.light wsx-marked-code .token.decorator-name,[data-theme=light] wsx-marked-code .token.decorator,[data-theme=light] wsx-marked-code .token.decorator-name{color:#c2410c}.light wsx-marked-code .token.web-component,.light wsx-marked-code .token.tag-name,[data-theme=light] wsx-marked-code .token.web-component,[data-theme=light] wsx-marked-code .token.tag-name{color:#0369a1}wsx-marked-code code[class*=language-]{background:transparent;color:#24292e}wsx-marked-code .token.comment,wsx-marked-code .token.prolog,wsx-marked-code .token.doctype,wsx-marked-code .token.cdata{color:#5a6268;font-style:italic}wsx-marked-code .token.punctuation{color:#1a1a1a}wsx-marked-code .token.property,wsx-marked-code .token.tag,wsx-marked-code .token.boolean,wsx-marked-code .token.number,wsx-marked-code .token.constant,wsx-marked-code .token.symbol,wsx-marked-code .token.deleted{color:#c7254e}wsx-marked-code .token.selector,wsx-marked-code .token.attr-name,wsx-marked-code .token.string,wsx-marked-code .token.char,wsx-marked-code .token.builtin,wsx-marked-code .token.inserted{color:#005cc5}wsx-marked-code .token.operator,wsx-marked-code .token.entity,wsx-marked-code .token.url,wsx-marked-code .language-css .token.string,wsx-marked-code .style .token.string{color:#1a1a1a}wsx-marked-code .token.atrule,wsx-marked-code .token.attr-value,wsx-marked-code .token.keyword{color:#d73a49;font-weight:600}wsx-marked-code .token.function,wsx-marked-code .token.class-name{color:#6f42c1}wsx-marked-code .token.regex,wsx-marked-code .token.important,wsx-marked-code .token.variable{color:#e36209}wsx-marked-code .token.decorator,wsx-marked-code .token.decorator-name{color:#e36209}wsx-marked-code .token.web-component,wsx-marked-code .token.tag-name{color:#6f42c1}@media (prefers-color-scheme: dark){wsx-marked-code code[class*=language-]{color:#f8f8f2}wsx-marked-code .token.comment,wsx-marked-code .token.prolog,wsx-marked-code .token.doctype,wsx-marked-code .token.cdata{color:#75715e;font-style:italic}wsx-marked-code .token.punctuation{color:#f8f8f2}wsx-marked-code .token.property,wsx-marked-code .token.tag,wsx-marked-code .token.boolean,wsx-marked-code .token.number,wsx-marked-code .token.constant,wsx-marked-code .token.symbol,wsx-marked-code .token.deleted{color:#f92672}wsx-marked-code .token.selector,wsx-marked-code .token.attr-name,wsx-marked-code .token.string,wsx-marked-code .token.char,wsx-marked-code .token.builtin,wsx-marked-code .token.inserted{color:#e6db74}wsx-marked-code .token.operator,wsx-marked-code .token.entity,wsx-marked-code .token.url,wsx-marked-code .language-css .token.string,wsx-marked-code .style .token.string{color:#f8f8f2}wsx-marked-code .token.atrule,wsx-marked-code .token.attr-value,wsx-marked-code .token.keyword{color:#66d9ef;font-weight:500}wsx-marked-code .token.function,wsx-marked-code .token.class-name{color:#a6e22e}wsx-marked-code .token.regex,wsx-marked-code .token.important,wsx-marked-code .token.variable{color:#fd971f}wsx-marked-code .token.decorator,wsx-marked-code .token.decorator-name{color:#fd971f}wsx-marked-code .token.web-component,wsx-marked-code .token.tag-name{color:#a6e22e}}[data-theme=dark] wsx-marked-code code[class*=language-],.dark wsx-marked-code code[class*=language-]{color:#f8f8f2}[data-theme=dark] wsx-marked-code .token.comment,[data-theme=dark] wsx-marked-code .token.prolog,[data-theme=dark] wsx-marked-code .token.doctype,[data-theme=dark] wsx-marked-code .token.cdata,.dark wsx-marked-code .token.comment,.dark wsx-marked-code .token.prolog,.dark wsx-marked-code .token.doctype,.dark wsx-marked-code .token.cdata{color:#75715e;font-style:italic}[data-theme=dark] wsx-marked-code .token.punctuation,.dark wsx-marked-code .token.punctuation{color:#f8f8f2}[data-theme=dark] wsx-marked-code .token.property,[data-theme=dark] wsx-marked-code .token.tag,[data-theme=dark] wsx-marked-code .token.boolean,[data-theme=dark] wsx-marked-code .token.number,[data-theme=dark] wsx-marked-code .token.constant,[data-theme=dark] wsx-marked-code .token.symbol,[data-theme=dark] wsx-marked-code .token.deleted,.dark wsx-marked-code .token.property,.dark wsx-marked-code .token.tag,.dark wsx-marked-code .token.boolean,.dark wsx-marked-code .token.number,.dark wsx-marked-code .token.constant,.dark wsx-marked-code .token.symbol,.dark wsx-marked-code .token.deleted{color:#f92672}[data-theme=dark] wsx-marked-code .token.selector,[data-theme=dark] wsx-marked-code .token.attr-name,[data-theme=dark] wsx-marked-code .token.string,[data-theme=dark] wsx-marked-code .token.char,[data-theme=dark] wsx-marked-code .token.builtin,[data-theme=dark] wsx-marked-code .token.inserted,.dark wsx-marked-code .token.selector,.dark wsx-marked-code .token.attr-name,.dark wsx-marked-code .token.string,.dark wsx-marked-code .token.char,.dark wsx-marked-code .token.builtin,.dark wsx-marked-code .token.inserted{color:#e6db74}[data-theme=dark] wsx-marked-code .token.operator,[data-theme=dark] wsx-marked-code .token.entity,[data-theme=dark] wsx-marked-code .token.url,[data-theme=dark] wsx-marked-code .language-css .token.string,[data-theme=dark] wsx-marked-code .style .token.string,.dark wsx-marked-code .token.operator,.dark wsx-marked-code .token.entity,.dark wsx-marked-code .token.url,.dark wsx-marked-code .language-css .token.string,.dark wsx-marked-code .style .token.string{color:#f8f8f2}[data-theme=dark] wsx-marked-code .token.atrule,[data-theme=dark] wsx-marked-code .token.attr-value,[data-theme=dark] wsx-marked-code .token.keyword,.dark wsx-marked-code .token.atrule,.dark wsx-marked-code .token.attr-value,.dark wsx-marked-code .token.keyword{color:#66d9ef;font-weight:500}[data-theme=dark] wsx-marked-code .token.function,[data-theme=dark] wsx-marked-code .token.class-name,.dark wsx-marked-code .token.function,.dark wsx-marked-code .token.class-name{color:#a6e22e}[data-theme=dark] wsx-marked-code .token.regex,[data-theme=dark] wsx-marked-code .token.important,[data-theme=dark] wsx-marked-code .token.variable,.dark wsx-marked-code .token.regex,.dark wsx-marked-code .token.important,.dark wsx-marked-code .token.variable{color:#fd971f}[data-theme=dark] wsx-marked-code .token.decorator,[data-theme=dark] wsx-marked-code .token.decorator-name,.dark wsx-marked-code .token.decorator,.dark wsx-marked-code .token.decorator-name{color:#fd971f}[data-theme=dark] wsx-marked-code .token.web-component,[data-theme=dark] wsx-marked-code .token.tag-name,.dark wsx-marked-code .token.web-component,.dark wsx-marked-code .token.tag-name{color:#a6e22e}wsx-marked-code .token.namespace{opacity:.7}wsx-marked-code .token.important{font-weight:700}wsx-marked-code .token.bold{font-weight:700}wsx-marked-code .token.italic{font-style:italic}wsx-marked-code pre::-webkit-scrollbar{height:8px}wsx-marked-code pre::-webkit-scrollbar-track{background:transparent}wsx-marked-code pre::-webkit-scrollbar-thumb{background:var(--border-color, #e5e7eb);border-radius:4px}wsx-marked-code pre::-webkit-scrollbar-thumb:hover{background:var(--text-secondary, #6b7280)}@media (max-width: 768px){wsx-marked-code .language-label{padding:.5rem 1rem;font-size:.8rem}wsx-marked-code pre{padding:1rem;font-size:.85rem}}";
151
- var se = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
152
- function _e(e) {
147
+ Ae = ot;
148
+ [nt, Se] = tt(Ae, [], Te, 0, void 0, q).c;
149
+ Se();
150
+ const de = "wsx-marked-code{display:block;width:100%;margin:1rem 0;position:relative}.code-container{display:flex;flex-direction:column;width:100%;background:var(--bg-secondary, #fde8d1);border-radius:12px;overflow:hidden;box-shadow:0 8px 30px #0000001a;border:1px solid var(--border-color, #fed7aa)}wsx-marked-code .language-label{display:block;padding:.75rem 1.5rem;background:var(--bg-primary, #fef2e5);border-bottom:1px solid var(--border-color, #fed7aa);color:var(--text-primary, #2c3e50);font-weight:600;font-size:.9rem;text-transform:uppercase;letter-spacing:.5px}wsx-marked-code pre{padding:1.5rem;margin:0;background:var(--bg-primary, #fef2e5);color:var(--text-primary, #2c3e50);font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.9rem;line-height:1.6;overflow-x:auto;position:relative}wsx-marked-code code{display:block;background:transparent;padding:0;border:none;font-family:inherit;font-size:inherit;white-space:pre;word-wrap:normal;word-break:normal;tab-size:4;-moz-tab-size:4;-o-tab-size:4}@media (prefers-color-scheme: dark){.code-container{background:var(--bg-secondary, #2d2d2d);border-color:var(--border-color, #404040)}wsx-marked-code .language-label{background:var(--bg-primary, #1a1a1a);border-color:var(--border-color, #404040);color:var(--text-primary, #ffffff)}wsx-marked-code pre{background:#2d2d2d;color:#f8f8f2}}.light .code-container,[data-theme=light] .code-container{background:var(--bg-secondary, #fde8d1);border-color:var(--border-color, #fed7aa)}.light wsx-marked-code .language-label,[data-theme=light] wsx-marked-code .language-label{background:var(--bg-primary, #fef2e5);border-color:var(--border-color, #fed7aa);color:var(--text-primary, #2c3e50)}.light wsx-marked-code pre,[data-theme=light] wsx-marked-code pre{background:var(--bg-primary, #fef2e5);color:var(--text-primary, #2c3e50)}[data-theme=dark] .code-container,.dark .code-container{background:var(--bg-secondary, #2d2d2d);border-color:var(--border-color, #404040)}[data-theme=dark] wsx-marked-code .language-label,.dark wsx-marked-code .language-label{background:var(--bg-primary, #1a1a1a);border-color:var(--border-color, #404040);color:var(--text-primary, #ffffff)}[data-theme=dark] wsx-marked-code pre,.dark wsx-marked-code pre{background:#2d2d2d;color:#f8f8f2}.light wsx-marked-code code[class*=language-],[data-theme=light] wsx-marked-code code[class*=language-]{background:transparent;color:#1f2937}.light wsx-marked-code .token.comment,.light wsx-marked-code .token.prolog,.light wsx-marked-code .token.doctype,.light wsx-marked-code .token.cdata,[data-theme=light] wsx-marked-code .token.comment,[data-theme=light] wsx-marked-code .token.prolog,[data-theme=light] wsx-marked-code .token.doctype,[data-theme=light] wsx-marked-code .token.cdata{color:#4b5563;font-style:italic}.light wsx-marked-code .token.punctuation,[data-theme=light] wsx-marked-code .token.punctuation{color:#111827}.light wsx-marked-code .token.property,.light wsx-marked-code .token.tag,.light wsx-marked-code .token.boolean,.light wsx-marked-code .token.number,.light wsx-marked-code .token.constant,.light wsx-marked-code .token.symbol,.light wsx-marked-code .token.deleted,[data-theme=light] wsx-marked-code .token.property,[data-theme=light] wsx-marked-code .token.tag,[data-theme=light] wsx-marked-code .token.boolean,[data-theme=light] wsx-marked-code .token.number,[data-theme=light] wsx-marked-code .token.constant,[data-theme=light] wsx-marked-code .token.symbol,[data-theme=light] wsx-marked-code .token.deleted{color:#be185d}.light wsx-marked-code .token.selector,.light wsx-marked-code .token.attr-name,.light wsx-marked-code .token.string,.light wsx-marked-code .token.char,.light wsx-marked-code .token.builtin,.light wsx-marked-code .token.inserted,[data-theme=light] wsx-marked-code .token.selector,[data-theme=light] wsx-marked-code .token.attr-name,[data-theme=light] wsx-marked-code .token.string,[data-theme=light] wsx-marked-code .token.char,[data-theme=light] wsx-marked-code .token.builtin,[data-theme=light] wsx-marked-code .token.inserted{color:#059669}.light wsx-marked-code .token.operator,.light wsx-marked-code .token.entity,.light wsx-marked-code .token.url,.light wsx-marked-code .language-css .token.string,.light wsx-marked-code .style .token.string,[data-theme=light] wsx-marked-code .token.operator,[data-theme=light] wsx-marked-code .token.entity,[data-theme=light] wsx-marked-code .token.url,[data-theme=light] wsx-marked-code .language-css .token.string,[data-theme=light] wsx-marked-code .style .token.string{color:#111827}.light wsx-marked-code .token.atrule,.light wsx-marked-code .token.attr-value,.light wsx-marked-code .token.keyword,[data-theme=light] wsx-marked-code .token.atrule,[data-theme=light] wsx-marked-code .token.attr-value,[data-theme=light] wsx-marked-code .token.keyword{color:#7c3aed;font-weight:600}.light wsx-marked-code .token.function,.light wsx-marked-code .token.class-name,[data-theme=light] wsx-marked-code .token.function,[data-theme=light] wsx-marked-code .token.class-name{color:#0369a1}.light wsx-marked-code .token.regex,.light wsx-marked-code .token.important,.light wsx-marked-code .token.variable,[data-theme=light] wsx-marked-code .token.regex,[data-theme=light] wsx-marked-code .token.important,[data-theme=light] wsx-marked-code .token.variable{color:#c2410c}.light wsx-marked-code .token.decorator,.light wsx-marked-code .token.decorator-name,[data-theme=light] wsx-marked-code .token.decorator,[data-theme=light] wsx-marked-code .token.decorator-name{color:#c2410c}.light wsx-marked-code .token.web-component,.light wsx-marked-code .token.tag-name,[data-theme=light] wsx-marked-code .token.web-component,[data-theme=light] wsx-marked-code .token.tag-name{color:#0369a1}wsx-marked-code code[class*=language-]{background:transparent;color:#24292e}wsx-marked-code .token.comment,wsx-marked-code .token.prolog,wsx-marked-code .token.doctype,wsx-marked-code .token.cdata{color:#5a6268;font-style:italic}wsx-marked-code .token.punctuation{color:#1a1a1a}wsx-marked-code .token.property,wsx-marked-code .token.tag,wsx-marked-code .token.boolean,wsx-marked-code .token.number,wsx-marked-code .token.constant,wsx-marked-code .token.symbol,wsx-marked-code .token.deleted{color:#c7254e}wsx-marked-code .token.selector,wsx-marked-code .token.attr-name,wsx-marked-code .token.string,wsx-marked-code .token.char,wsx-marked-code .token.builtin,wsx-marked-code .token.inserted{color:#005cc5}wsx-marked-code .token.operator,wsx-marked-code .token.entity,wsx-marked-code .token.url,wsx-marked-code .language-css .token.string,wsx-marked-code .style .token.string{color:#1a1a1a}wsx-marked-code .token.atrule,wsx-marked-code .token.attr-value,wsx-marked-code .token.keyword{color:#d73a49;font-weight:600}wsx-marked-code .token.function,wsx-marked-code .token.class-name{color:#6f42c1}wsx-marked-code .token.regex,wsx-marked-code .token.important,wsx-marked-code .token.variable{color:#e36209}wsx-marked-code .token.decorator,wsx-marked-code .token.decorator-name{color:#e36209}wsx-marked-code .token.web-component,wsx-marked-code .token.tag-name{color:#6f42c1}@media (prefers-color-scheme: dark){wsx-marked-code code[class*=language-]{color:#f8f8f2}wsx-marked-code .token.comment,wsx-marked-code .token.prolog,wsx-marked-code .token.doctype,wsx-marked-code .token.cdata{color:#75715e;font-style:italic}wsx-marked-code .token.punctuation{color:#f8f8f2}wsx-marked-code .token.property,wsx-marked-code .token.tag,wsx-marked-code .token.boolean,wsx-marked-code .token.number,wsx-marked-code .token.constant,wsx-marked-code .token.symbol,wsx-marked-code .token.deleted{color:#f92672}wsx-marked-code .token.selector,wsx-marked-code .token.attr-name,wsx-marked-code .token.string,wsx-marked-code .token.char,wsx-marked-code .token.builtin,wsx-marked-code .token.inserted{color:#e6db74}wsx-marked-code .token.operator,wsx-marked-code .token.entity,wsx-marked-code .token.url,wsx-marked-code .language-css .token.string,wsx-marked-code .style .token.string{color:#f8f8f2}wsx-marked-code .token.atrule,wsx-marked-code .token.attr-value,wsx-marked-code .token.keyword{color:#66d9ef;font-weight:500}wsx-marked-code .token.function,wsx-marked-code .token.class-name{color:#a6e22e}wsx-marked-code .token.regex,wsx-marked-code .token.important,wsx-marked-code .token.variable{color:#fd971f}wsx-marked-code .token.decorator,wsx-marked-code .token.decorator-name{color:#fd971f}wsx-marked-code .token.web-component,wsx-marked-code .token.tag-name{color:#a6e22e}}[data-theme=dark] wsx-marked-code code[class*=language-],.dark wsx-marked-code code[class*=language-]{color:#f8f8f2}[data-theme=dark] wsx-marked-code .token.comment,[data-theme=dark] wsx-marked-code .token.prolog,[data-theme=dark] wsx-marked-code .token.doctype,[data-theme=dark] wsx-marked-code .token.cdata,.dark wsx-marked-code .token.comment,.dark wsx-marked-code .token.prolog,.dark wsx-marked-code .token.doctype,.dark wsx-marked-code .token.cdata{color:#75715e;font-style:italic}[data-theme=dark] wsx-marked-code .token.punctuation,.dark wsx-marked-code .token.punctuation{color:#f8f8f2}[data-theme=dark] wsx-marked-code .token.property,[data-theme=dark] wsx-marked-code .token.tag,[data-theme=dark] wsx-marked-code .token.boolean,[data-theme=dark] wsx-marked-code .token.number,[data-theme=dark] wsx-marked-code .token.constant,[data-theme=dark] wsx-marked-code .token.symbol,[data-theme=dark] wsx-marked-code .token.deleted,.dark wsx-marked-code .token.property,.dark wsx-marked-code .token.tag,.dark wsx-marked-code .token.boolean,.dark wsx-marked-code .token.number,.dark wsx-marked-code .token.constant,.dark wsx-marked-code .token.symbol,.dark wsx-marked-code .token.deleted{color:#f92672}[data-theme=dark] wsx-marked-code .token.selector,[data-theme=dark] wsx-marked-code .token.attr-name,[data-theme=dark] wsx-marked-code .token.string,[data-theme=dark] wsx-marked-code .token.char,[data-theme=dark] wsx-marked-code .token.builtin,[data-theme=dark] wsx-marked-code .token.inserted,.dark wsx-marked-code .token.selector,.dark wsx-marked-code .token.attr-name,.dark wsx-marked-code .token.string,.dark wsx-marked-code .token.char,.dark wsx-marked-code .token.builtin,.dark wsx-marked-code .token.inserted{color:#e6db74}[data-theme=dark] wsx-marked-code .token.operator,[data-theme=dark] wsx-marked-code .token.entity,[data-theme=dark] wsx-marked-code .token.url,[data-theme=dark] wsx-marked-code .language-css .token.string,[data-theme=dark] wsx-marked-code .style .token.string,.dark wsx-marked-code .token.operator,.dark wsx-marked-code .token.entity,.dark wsx-marked-code .token.url,.dark wsx-marked-code .language-css .token.string,.dark wsx-marked-code .style .token.string{color:#f8f8f2}[data-theme=dark] wsx-marked-code .token.atrule,[data-theme=dark] wsx-marked-code .token.attr-value,[data-theme=dark] wsx-marked-code .token.keyword,.dark wsx-marked-code .token.atrule,.dark wsx-marked-code .token.attr-value,.dark wsx-marked-code .token.keyword{color:#66d9ef;font-weight:500}[data-theme=dark] wsx-marked-code .token.function,[data-theme=dark] wsx-marked-code .token.class-name,.dark wsx-marked-code .token.function,.dark wsx-marked-code .token.class-name{color:#a6e22e}[data-theme=dark] wsx-marked-code .token.regex,[data-theme=dark] wsx-marked-code .token.important,[data-theme=dark] wsx-marked-code .token.variable,.dark wsx-marked-code .token.regex,.dark wsx-marked-code .token.important,.dark wsx-marked-code .token.variable{color:#fd971f}[data-theme=dark] wsx-marked-code .token.decorator,[data-theme=dark] wsx-marked-code .token.decorator-name,.dark wsx-marked-code .token.decorator,.dark wsx-marked-code .token.decorator-name{color:#fd971f}[data-theme=dark] wsx-marked-code .token.web-component,[data-theme=dark] wsx-marked-code .token.tag-name,.dark wsx-marked-code .token.web-component,.dark wsx-marked-code .token.tag-name{color:#a6e22e}wsx-marked-code .token.namespace{opacity:.7}wsx-marked-code .token.important{font-weight:700}wsx-marked-code .token.bold{font-weight:700}wsx-marked-code .token.italic{font-style:italic}wsx-marked-code pre::-webkit-scrollbar{height:8px}wsx-marked-code pre::-webkit-scrollbar-track{background:transparent}wsx-marked-code pre::-webkit-scrollbar-thumb{background:var(--border-color, #e5e7eb);border-radius:4px}wsx-marked-code pre::-webkit-scrollbar-thumb:hover{background:var(--text-secondary, #6b7280)}@media (max-width: 768px){wsx-marked-code .language-label{padding:.5rem 1rem;font-size:.8rem}wsx-marked-code pre{padding:1rem;font-size:.85rem}}";
151
+ var ge = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
152
+ function st(e) {
153
153
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
154
154
  }
155
- var Ie = { exports: {} };
155
+ var Fe = { exports: {} };
156
156
  (function(e) {
157
157
  var t = typeof window < "u" ? window : typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope ? self : {};
158
158
  /**
@@ -163,8 +163,8 @@ var Ie = { exports: {} };
163
163
  * @namespace
164
164
  * @public
165
165
  */
166
- var r = function(l) {
167
- var T = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, $ = 0, A = {}, S = {
166
+ var r = function(i) {
167
+ var T = /(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i, P = 0, S = {}, E = {
168
168
  /**
169
169
  * By default, Prism will attempt to highlight all code elements (by calling {@link Prism.highlightAll}) on the
170
170
  * current page after the page finished loading. This might be a problem if e.g. you wanted to asynchronously load
@@ -186,7 +186,7 @@ var Ie = { exports: {} };
186
186
  * @memberof Prism
187
187
  * @public
188
188
  */
189
- manual: l.Prism && l.Prism.manual,
189
+ manual: i.Prism && i.Prism.manual,
190
190
  /**
191
191
  * By default, if Prism is in a web worker, it assumes that it is in a worker it created itself, so it uses
192
192
  * `addEventListener` to communicate with its parent instance. However, if you're using Prism manually in your
@@ -208,7 +208,7 @@ var Ie = { exports: {} };
208
208
  * @memberof Prism
209
209
  * @public
210
210
  */
211
- disableWorkerMessageHandler: l.Prism && l.Prism.disableWorkerMessageHandler,
211
+ disableWorkerMessageHandler: i.Prism && i.Prism.disableWorkerMessageHandler,
212
212
  /**
213
213
  * A namespace for utility methods.
214
214
  *
@@ -219,8 +219,8 @@ var Ie = { exports: {} };
219
219
  * @memberof Prism
220
220
  */
221
221
  util: {
222
- encode: function a(i) {
223
- return i instanceof E ? new E(i.type, a(i.content), i.alias) : Array.isArray(i) ? i.map(a) : i.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/\u00a0/g, " ");
222
+ encode: function a(s) {
223
+ return s instanceof w ? new w(s.type, a(s.content), s.alias) : Array.isArray(s) ? s.map(a) : s.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/\u00a0/g, " ");
224
224
  },
225
225
  /**
226
226
  * Returns the name of the type of the given value.
@@ -248,7 +248,7 @@ var Ie = { exports: {} };
248
248
  * @returns {number}
249
249
  */
250
250
  objId: function(a) {
251
- return a.__id || Object.defineProperty(a, "__id", { value: ++$ }), a.__id;
251
+ return a.__id || Object.defineProperty(a, "__id", { value: ++P }), a.__id;
252
252
  },
253
253
  /**
254
254
  * Creates a deep clone of the given object.
@@ -260,30 +260,30 @@ var Ie = { exports: {} };
260
260
  * @returns {T}
261
261
  * @template T
262
262
  */
263
- clone: function a(i, p) {
263
+ clone: function a(s, p) {
264
264
  p = p || {};
265
- var g, y;
266
- switch (S.util.type(i)) {
265
+ var g, k;
266
+ switch (E.util.type(s)) {
267
267
  case "Object":
268
- if (y = S.util.objId(i), p[y])
269
- return p[y];
268
+ if (k = E.util.objId(s), p[k])
269
+ return p[k];
270
270
  g = /** @type {Record<string, any>} */
271
- {}, p[y] = g;
272
- for (var h in i)
273
- i.hasOwnProperty(h) && (g[h] = a(i[h], p));
271
+ {}, p[k] = g;
272
+ for (var h in s)
273
+ s.hasOwnProperty(h) && (g[h] = a(s[h], p));
274
274
  return (
275
275
  /** @type {any} */
276
276
  g
277
277
  );
278
278
  case "Array":
279
- return y = S.util.objId(i), p[y] ? p[y] : (g = [], p[y] = g, /** @type {Array} */
279
+ return k = E.util.objId(s), p[k] ? p[k] : (g = [], p[k] = g, /** @type {Array} */
280
280
  /** @type {any} */
281
- i.forEach(function(f, d) {
282
- g[d] = a(f, p);
281
+ s.forEach(function(m, u) {
282
+ g[u] = a(m, p);
283
283
  }), /** @type {any} */
284
284
  g);
285
285
  default:
286
- return i;
286
+ return s;
287
287
  }
288
288
  },
289
289
  /**
@@ -296,9 +296,9 @@ var Ie = { exports: {} };
296
296
  */
297
297
  getLanguage: function(a) {
298
298
  for (; a; ) {
299
- var i = T.exec(a.className);
300
- if (i)
301
- return i[1].toLowerCase();
299
+ var s = T.exec(a.className);
300
+ if (s)
301
+ return s[1].toLowerCase();
302
302
  a = a.parentElement;
303
303
  }
304
304
  return "none";
@@ -310,8 +310,8 @@ var Ie = { exports: {} };
310
310
  * @param {string} language
311
311
  * @returns {void}
312
312
  */
313
- setLanguage: function(a, i) {
314
- a.className = a.className.replace(RegExp(T, "gi"), ""), a.classList.add("language-" + i);
313
+ setLanguage: function(a, s) {
314
+ a.className = a.className.replace(RegExp(T, "gi"), ""), a.classList.add("language-" + s);
315
315
  },
316
316
  /**
317
317
  * Returns the script element that is currently executing.
@@ -333,10 +333,10 @@ var Ie = { exports: {} };
333
333
  } catch (g) {
334
334
  var a = (/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(g.stack) || [])[1];
335
335
  if (a) {
336
- var i = document.getElementsByTagName("script");
337
- for (var p in i)
338
- if (i[p].src == a)
339
- return i[p];
336
+ var s = document.getElementsByTagName("script");
337
+ for (var p in s)
338
+ if (s[p].src == a)
339
+ return s[p];
340
340
  }
341
341
  return null;
342
342
  }
@@ -360,12 +360,12 @@ var Ie = { exports: {} };
360
360
  * @param {boolean} [defaultActivation=false]
361
361
  * @returns {boolean}
362
362
  */
363
- isActive: function(a, i, p) {
364
- for (var g = "no-" + i; a; ) {
365
- var y = a.classList;
366
- if (y.contains(i))
363
+ isActive: function(a, s, p) {
364
+ for (var g = "no-" + s; a; ) {
365
+ var k = a.classList;
366
+ if (k.contains(s))
367
367
  return !0;
368
- if (y.contains(g))
368
+ if (k.contains(g))
369
369
  return !1;
370
370
  a = a.parentElement;
371
371
  }
@@ -383,10 +383,10 @@ var Ie = { exports: {} };
383
383
  /**
384
384
  * The grammar for plain, unformatted text.
385
385
  */
386
- plain: A,
387
- plaintext: A,
388
- text: A,
389
- txt: A,
386
+ plain: S,
387
+ plaintext: S,
388
+ text: S,
389
+ txt: S,
390
390
  /**
391
391
  * Creates a deep copy of the language with the given id and appends the given tokens.
392
392
  *
@@ -415,10 +415,10 @@ var Ie = { exports: {} };
415
415
  * 'color': /\b(?:red|green|blue)\b/
416
416
  * });
417
417
  */
418
- extend: function(a, i) {
419
- var p = S.util.clone(S.languages[a]);
420
- for (var g in i)
421
- p[g] = i[g];
418
+ extend: function(a, s) {
419
+ var p = E.util.clone(E.languages[a]);
420
+ for (var g in s)
421
+ p[g] = s[g];
422
422
  return p;
423
423
  },
424
424
  /**
@@ -496,31 +496,31 @@ var Ie = { exports: {} };
496
496
  * @returns {Grammar} The new grammar object.
497
497
  * @public
498
498
  */
499
- insertBefore: function(a, i, p, g) {
499
+ insertBefore: function(a, s, p, g) {
500
500
  g = g || /** @type {any} */
501
- S.languages;
502
- var y = g[a], h = {};
503
- for (var f in y)
504
- if (y.hasOwnProperty(f)) {
505
- if (f == i)
506
- for (var d in p)
507
- p.hasOwnProperty(d) && (h[d] = p[d]);
508
- p.hasOwnProperty(f) || (h[f] = y[f]);
501
+ E.languages;
502
+ var k = g[a], h = {};
503
+ for (var m in k)
504
+ if (k.hasOwnProperty(m)) {
505
+ if (m == s)
506
+ for (var u in p)
507
+ p.hasOwnProperty(u) && (h[u] = p[u]);
508
+ p.hasOwnProperty(m) || (h[m] = k[m]);
509
509
  }
510
510
  var b = g[a];
511
- return g[a] = h, S.languages.DFS(S.languages, function(x, m) {
512
- m === b && x != a && (this[x] = h);
511
+ return g[a] = h, E.languages.DFS(E.languages, function(A, x) {
512
+ x === b && A != a && (this[A] = h);
513
513
  }), h;
514
514
  },
515
515
  // Traverse a language definition with Depth First Search
516
- DFS: function a(i, p, g, y) {
517
- y = y || {};
518
- var h = S.util.objId;
519
- for (var f in i)
520
- if (i.hasOwnProperty(f)) {
521
- p.call(i, f, i[f], g || f);
522
- var d = i[f], b = S.util.type(d);
523
- b === "Object" && !y[h(d)] ? (y[h(d)] = !0, a(d, p, null, y)) : b === "Array" && !y[h(d)] && (y[h(d)] = !0, a(d, p, f, y));
516
+ DFS: function a(s, p, g, k) {
517
+ k = k || {};
518
+ var h = E.util.objId;
519
+ for (var m in s)
520
+ if (s.hasOwnProperty(m)) {
521
+ p.call(s, m, s[m], g || m);
522
+ var u = s[m], b = E.util.type(u);
523
+ b === "Object" && !k[h(u)] ? (k[h(u)] = !0, a(u, p, null, k)) : b === "Array" && !k[h(u)] && (k[h(u)] = !0, a(u, p, m, k));
524
524
  }
525
525
  }
526
526
  },
@@ -537,8 +537,8 @@ var Ie = { exports: {} };
537
537
  * @memberof Prism
538
538
  * @public
539
539
  */
540
- highlightAll: function(a, i) {
541
- S.highlightAllUnder(document, a, i);
540
+ highlightAll: function(a, s) {
541
+ E.highlightAllUnder(document, a, s);
542
542
  },
543
543
  /**
544
544
  * Fetches all the descendants of `container` that have a `.language-xxxx` class and then calls
@@ -555,15 +555,15 @@ var Ie = { exports: {} };
555
555
  * @memberof Prism
556
556
  * @public
557
557
  */
558
- highlightAllUnder: function(a, i, p) {
558
+ highlightAllUnder: function(a, s, p) {
559
559
  var g = {
560
560
  callback: p,
561
561
  container: a,
562
562
  selector: 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'
563
563
  };
564
- S.hooks.run("before-highlightall", g), g.elements = Array.prototype.slice.apply(g.container.querySelectorAll(g.selector)), S.hooks.run("before-all-elements-highlight", g);
565
- for (var y = 0, h; h = g.elements[y++]; )
566
- S.highlightElement(h, i === !0, g.callback);
564
+ E.hooks.run("before-highlightall", g), g.elements = Array.prototype.slice.apply(g.container.querySelectorAll(g.selector)), E.hooks.run("before-all-elements-highlight", g);
565
+ for (var k = 0, h; h = g.elements[k++]; )
566
+ E.highlightElement(h, s === !0, g.callback);
567
567
  },
568
568
  /**
569
569
  * Highlights the code inside a single element.
@@ -593,39 +593,39 @@ var Ie = { exports: {} };
593
593
  * @memberof Prism
594
594
  * @public
595
595
  */
596
- highlightElement: function(a, i, p) {
597
- var g = S.util.getLanguage(a), y = S.languages[g];
598
- S.util.setLanguage(a, g);
596
+ highlightElement: function(a, s, p) {
597
+ var g = E.util.getLanguage(a), k = E.languages[g];
598
+ E.util.setLanguage(a, g);
599
599
  var h = a.parentElement;
600
- h && h.nodeName.toLowerCase() === "pre" && S.util.setLanguage(h, g);
601
- var f = a.textContent, d = {
600
+ h && h.nodeName.toLowerCase() === "pre" && E.util.setLanguage(h, g);
601
+ var m = a.textContent, u = {
602
602
  element: a,
603
603
  language: g,
604
- grammar: y,
605
- code: f
604
+ grammar: k,
605
+ code: m
606
606
  };
607
- function b(m) {
608
- d.highlightedCode = m, S.hooks.run("before-insert", d), d.element.innerHTML = d.highlightedCode, S.hooks.run("after-highlight", d), S.hooks.run("complete", d), p && p.call(d.element);
607
+ function b(x) {
608
+ u.highlightedCode = x, E.hooks.run("before-insert", u), u.element.innerHTML = u.highlightedCode, E.hooks.run("after-highlight", u), E.hooks.run("complete", u), p && p.call(u.element);
609
609
  }
610
- if (S.hooks.run("before-sanity-check", d), h = d.element.parentElement, h && h.nodeName.toLowerCase() === "pre" && !h.hasAttribute("tabindex") && h.setAttribute("tabindex", "0"), !d.code) {
611
- S.hooks.run("complete", d), p && p.call(d.element);
610
+ if (E.hooks.run("before-sanity-check", u), h = u.element.parentElement, h && h.nodeName.toLowerCase() === "pre" && !h.hasAttribute("tabindex") && h.setAttribute("tabindex", "0"), !u.code) {
611
+ E.hooks.run("complete", u), p && p.call(u.element);
612
612
  return;
613
613
  }
614
- if (S.hooks.run("before-highlight", d), !d.grammar) {
615
- b(S.util.encode(d.code));
614
+ if (E.hooks.run("before-highlight", u), !u.grammar) {
615
+ b(E.util.encode(u.code));
616
616
  return;
617
617
  }
618
- if (i && l.Worker) {
619
- var x = new Worker(S.filename);
620
- x.onmessage = function(m) {
621
- b(m.data);
622
- }, x.postMessage(JSON.stringify({
623
- language: d.language,
624
- code: d.code,
618
+ if (s && i.Worker) {
619
+ var A = new Worker(E.filename);
620
+ A.onmessage = function(x) {
621
+ b(x.data);
622
+ }, A.postMessage(JSON.stringify({
623
+ language: u.language,
624
+ code: u.code,
625
625
  immediateClose: !0
626
626
  }));
627
627
  } else
628
- b(S.highlight(d.code, d.grammar, d.language));
628
+ b(E.highlight(u.code, u.grammar, u.language));
629
629
  },
630
630
  /**
631
631
  * Low-level function, only use if you know what you’re doing. It accepts a string of text as input
@@ -647,15 +647,15 @@ var Ie = { exports: {} };
647
647
  * @example
648
648
  * Prism.highlight('var foo = true;', Prism.languages.javascript, 'javascript');
649
649
  */
650
- highlight: function(a, i, p) {
650
+ highlight: function(a, s, p) {
651
651
  var g = {
652
652
  code: a,
653
- grammar: i,
653
+ grammar: s,
654
654
  language: p
655
655
  };
656
- if (S.hooks.run("before-tokenize", g), !g.grammar)
656
+ if (E.hooks.run("before-tokenize", g), !g.grammar)
657
657
  throw new Error('The language "' + g.language + '" has no grammar.');
658
- return g.tokens = S.tokenize(g.code, g.grammar), S.hooks.run("after-tokenize", g), E.stringify(S.util.encode(g.tokens), g.language);
658
+ return g.tokens = E.tokenize(g.code, g.grammar), E.hooks.run("after-tokenize", g), w.stringify(E.util.encode(g.tokens), g.language);
659
659
  },
660
660
  /**
661
661
  * This is the heart of Prism, and the most low-level function you can use. It accepts a string of text as input
@@ -681,15 +681,15 @@ var Ie = { exports: {} };
681
681
  * }
682
682
  * });
683
683
  */
684
- tokenize: function(a, i) {
685
- var p = i.rest;
684
+ tokenize: function(a, s) {
685
+ var p = s.rest;
686
686
  if (p) {
687
687
  for (var g in p)
688
- i[g] = p[g];
689
- delete i.rest;
688
+ s[g] = p[g];
689
+ delete s.rest;
690
690
  }
691
- var y = new R();
692
- return N(y, y.head, a), F(a, y, i, y.head, 0), o(y);
691
+ var k = new _();
692
+ return N(k, k.head, a), L(a, k, s, k.head, 0), n(k);
693
693
  },
694
694
  /**
695
695
  * @namespace
@@ -710,9 +710,9 @@ var Ie = { exports: {} };
710
710
  * @param {HookCallback} callback The callback function which is given environment variables.
711
711
  * @public
712
712
  */
713
- add: function(a, i) {
714
- var p = S.hooks.all;
715
- p[a] = p[a] || [], p[a].push(i);
713
+ add: function(a, s) {
714
+ var p = E.hooks.all;
715
+ p[a] = p[a] || [], p[a].push(s);
716
716
  },
717
717
  /**
718
718
  * Runs a hook invoking all registered callbacks with the given environment variables.
@@ -723,135 +723,135 @@ var Ie = { exports: {} };
723
723
  * @param {Object<string, any>} env The environment variables of the hook passed to all callbacks registered.
724
724
  * @public
725
725
  */
726
- run: function(a, i) {
727
- var p = S.hooks.all[a];
726
+ run: function(a, s) {
727
+ var p = E.hooks.all[a];
728
728
  if (!(!p || !p.length))
729
- for (var g = 0, y; y = p[g++]; )
730
- y(i);
729
+ for (var g = 0, k; k = p[g++]; )
730
+ k(s);
731
731
  }
732
732
  },
733
- Token: E
733
+ Token: w
734
734
  };
735
- l.Prism = S;
736
- function E(a, i, p, g) {
737
- this.type = a, this.content = i, this.alias = p, this.length = (g || "").length | 0;
735
+ i.Prism = E;
736
+ function w(a, s, p, g) {
737
+ this.type = a, this.content = s, this.alias = p, this.length = (g || "").length | 0;
738
738
  }
739
- E.stringify = function a(i, p) {
740
- if (typeof i == "string")
741
- return i;
742
- if (Array.isArray(i)) {
739
+ w.stringify = function a(s, p) {
740
+ if (typeof s == "string")
741
+ return s;
742
+ if (Array.isArray(s)) {
743
743
  var g = "";
744
- return i.forEach(function(b) {
744
+ return s.forEach(function(b) {
745
745
  g += a(b, p);
746
746
  }), g;
747
747
  }
748
- var y = {
749
- type: i.type,
750
- content: a(i.content, p),
748
+ var k = {
749
+ type: s.type,
750
+ content: a(s.content, p),
751
751
  tag: "span",
752
- classes: ["token", i.type],
752
+ classes: ["token", s.type],
753
753
  attributes: {},
754
754
  language: p
755
- }, h = i.alias;
756
- h && (Array.isArray(h) ? Array.prototype.push.apply(y.classes, h) : y.classes.push(h)), S.hooks.run("wrap", y);
757
- var f = "";
758
- for (var d in y.attributes)
759
- f += " " + d + '="' + (y.attributes[d] || "").replace(/"/g, "&quot;") + '"';
760
- return "<" + y.tag + ' class="' + y.classes.join(" ") + '"' + f + ">" + y.content + "</" + y.tag + ">";
755
+ }, h = s.alias;
756
+ h && (Array.isArray(h) ? Array.prototype.push.apply(k.classes, h) : k.classes.push(h)), E.hooks.run("wrap", k);
757
+ var m = "";
758
+ for (var u in k.attributes)
759
+ m += " " + u + '="' + (k.attributes[u] || "").replace(/"/g, "&quot;") + '"';
760
+ return "<" + k.tag + ' class="' + k.classes.join(" ") + '"' + m + ">" + k.content + "</" + k.tag + ">";
761
761
  };
762
- function D(a, i, p, g) {
763
- a.lastIndex = i;
764
- var y = a.exec(p);
765
- if (y && g && y[1]) {
766
- var h = y[1].length;
767
- y.index += h, y[0] = y[0].slice(h);
762
+ function D(a, s, p, g) {
763
+ a.lastIndex = s;
764
+ var k = a.exec(p);
765
+ if (k && g && k[1]) {
766
+ var h = k[1].length;
767
+ k.index += h, k[0] = k[0].slice(h);
768
768
  }
769
- return y;
769
+ return k;
770
770
  }
771
- function F(a, i, p, g, y, h) {
772
- for (var f in p)
773
- if (!(!p.hasOwnProperty(f) || !p[f])) {
774
- var d = p[f];
775
- d = Array.isArray(d) ? d : [d];
776
- for (var b = 0; b < d.length; ++b) {
777
- if (h && h.cause == f + "," + b)
771
+ function L(a, s, p, g, k, h) {
772
+ for (var m in p)
773
+ if (!(!p.hasOwnProperty(m) || !p[m])) {
774
+ var u = p[m];
775
+ u = Array.isArray(u) ? u : [u];
776
+ for (var b = 0; b < u.length; ++b) {
777
+ if (h && h.cause == m + "," + b)
778
778
  return;
779
- var x = d[b], m = x.inside, _ = !!x.lookbehind, I = !!x.greedy, C = x.alias;
780
- if (I && !x.pattern.global) {
781
- var u = x.pattern.toString().match(/[imsuy]*$/)[0];
782
- x.pattern = RegExp(x.pattern.source, u + "g");
779
+ var A = u[b], x = A.inside, F = !!A.lookbehind, I = !!A.greedy, $ = A.alias;
780
+ if (I && !A.pattern.global) {
781
+ var o = A.pattern.toString().match(/[imsuy]*$/)[0];
782
+ A.pattern = RegExp(A.pattern.source, o + "g");
783
783
  }
784
- for (var L = x.pattern || x, w = g.next, v = y; w !== i.tail && !(h && v >= h.reach); v += w.value.length, w = w.next) {
785
- var j = w.value;
786
- if (i.length > a.length)
784
+ for (var R = A.pattern || A, v = g.next, y = k; v !== s.tail && !(h && y >= h.reach); y += v.value.length, v = v.next) {
785
+ var M = v.value;
786
+ if (s.length > a.length)
787
787
  return;
788
- if (!(j instanceof E)) {
788
+ if (!(M instanceof w)) {
789
789
  var Z = 1, B;
790
790
  if (I) {
791
- if (B = D(L, v, a, _), !B || B.index >= a.length)
791
+ if (B = D(R, y, a, F), !B || B.index >= a.length)
792
792
  break;
793
- var z = B.index, X = B.index + B[0].length, P = v;
794
- for (P += w.value.length; z >= P; )
795
- w = w.next, P += w.value.length;
796
- if (P -= w.value.length, v = P, w.value instanceof E)
793
+ var z = B.index, X = B.index + B[0].length, C = y;
794
+ for (C += v.value.length; z >= C; )
795
+ v = v.next, C += v.value.length;
796
+ if (C -= v.value.length, y = C, v.value instanceof w)
797
797
  continue;
798
- for (var M = w; M !== i.tail && (P < X || typeof M.value == "string"); M = M.next)
799
- Z++, P += M.value.length;
800
- Z--, j = a.slice(v, P), B.index -= v;
801
- } else if (B = D(L, 0, j, _), !B)
798
+ for (var j = v; j !== s.tail && (C < X || typeof j.value == "string"); j = j.next)
799
+ Z++, C += j.value.length;
800
+ Z--, M = a.slice(y, C), B.index -= y;
801
+ } else if (B = D(R, 0, M, F), !B)
802
802
  continue;
803
- var z = B.index, Y = B[0], k = j.slice(0, z), O = j.slice(z + Y.length), H = v + j.length;
803
+ var z = B.index, Y = B[0], f = M.slice(0, z), O = M.slice(z + Y.length), H = y + M.length;
804
804
  h && H > h.reach && (h.reach = H);
805
- var te = w.prev;
806
- k && (te = N(i, te, k), v += k.length), U(i, te, Z);
807
- var rt = new E(f, m ? S.tokenize(Y, m) : Y, C, Y);
808
- if (w = N(i, te, rt), O && N(i, w, O), Z > 1) {
809
- var re = {
810
- cause: f + "," + b,
805
+ var ee = v.prev;
806
+ f && (ee = N(s, ee, f), y += f.length), U(s, ee, Z);
807
+ var et = new w(m, x ? E.tokenize(Y, x) : Y, $, Y);
808
+ if (v = N(s, ee, et), O && N(s, v, O), Z > 1) {
809
+ var te = {
810
+ cause: m + "," + b,
811
811
  reach: H
812
812
  };
813
- F(a, i, p, w.prev, v, re), h && re.reach > h.reach && (h.reach = re.reach);
813
+ L(a, s, p, v.prev, y, te), h && te.reach > h.reach && (h.reach = te.reach);
814
814
  }
815
815
  }
816
816
  }
817
817
  }
818
818
  }
819
819
  }
820
- function R() {
821
- var a = { value: null, prev: null, next: null }, i = { value: null, prev: a, next: null };
822
- a.next = i, this.head = a, this.tail = i, this.length = 0;
820
+ function _() {
821
+ var a = { value: null, prev: null, next: null }, s = { value: null, prev: a, next: null };
822
+ a.next = s, this.head = a, this.tail = s, this.length = 0;
823
823
  }
824
- function N(a, i, p) {
825
- var g = i.next, y = { value: p, prev: i, next: g };
826
- return i.next = y, g.prev = y, a.length++, y;
824
+ function N(a, s, p) {
825
+ var g = s.next, k = { value: p, prev: s, next: g };
826
+ return s.next = k, g.prev = k, a.length++, k;
827
827
  }
828
- function U(a, i, p) {
829
- for (var g = i.next, y = 0; y < p && g !== a.tail; y++)
828
+ function U(a, s, p) {
829
+ for (var g = s.next, k = 0; k < p && g !== a.tail; k++)
830
830
  g = g.next;
831
- i.next = g, g.prev = i, a.length -= y;
831
+ s.next = g, g.prev = s, a.length -= k;
832
832
  }
833
- function o(a) {
834
- for (var i = [], p = a.head.next; p !== a.tail; )
835
- i.push(p.value), p = p.next;
836
- return i;
833
+ function n(a) {
834
+ for (var s = [], p = a.head.next; p !== a.tail; )
835
+ s.push(p.value), p = p.next;
836
+ return s;
837
837
  }
838
- if (!l.document)
839
- return l.addEventListener && (S.disableWorkerMessageHandler || l.addEventListener("message", function(a) {
840
- var i = JSON.parse(a.data), p = i.language, g = i.code, y = i.immediateClose;
841
- l.postMessage(S.highlight(g, S.languages[p], p)), y && l.close();
842
- }, !1)), S;
843
- var s = S.util.currentScript();
844
- s && (S.filename = s.src, s.hasAttribute("data-manual") && (S.manual = !0));
845
- function c() {
846
- S.manual || S.highlightAll();
838
+ if (!i.document)
839
+ return i.addEventListener && (E.disableWorkerMessageHandler || i.addEventListener("message", function(a) {
840
+ var s = JSON.parse(a.data), p = s.language, g = s.code, k = s.immediateClose;
841
+ i.postMessage(E.highlight(g, E.languages[p], p)), k && i.close();
842
+ }, !1)), E;
843
+ var c = E.util.currentScript();
844
+ c && (E.filename = c.src, c.hasAttribute("data-manual") && (E.manual = !0));
845
+ function d() {
846
+ E.manual || E.highlightAll();
847
847
  }
848
- if (!S.manual) {
849
- var n = document.readyState;
850
- n === "loading" || n === "interactive" && s && s.defer ? document.addEventListener("DOMContentLoaded", c) : window.requestAnimationFrame ? window.requestAnimationFrame(c) : window.setTimeout(c, 16);
848
+ if (!E.manual) {
849
+ var l = document.readyState;
850
+ l === "loading" || l === "interactive" && c && c.defer ? document.addEventListener("DOMContentLoaded", d) : window.requestAnimationFrame ? window.requestAnimationFrame(d) : window.setTimeout(d, 16);
851
851
  }
852
- return S;
852
+ return E;
853
853
  }(t);
854
- e.exports && (e.exports = r), typeof se < "u" && (se.Prism = r), r.languages.markup = {
854
+ e.exports && (e.exports = r), typeof ge < "u" && (ge.Prism = r), r.languages.markup = {
855
855
  comment: {
856
856
  pattern: /<!--(?:(?!<!--)[\s\S])*?-->/,
857
857
  greedy: !0
@@ -928,8 +928,8 @@ var Ie = { exports: {} };
928
928
  },
929
929
  /&#x?[\da-f]{1,8};/i
930
930
  ]
931
- }, r.languages.markup.tag.inside["attr-value"].inside.entity = r.languages.markup.entity, r.languages.markup.doctype.inside["internal-subset"].inside = r.languages.markup, r.hooks.add("wrap", function(l) {
932
- l.type === "entity" && (l.attributes.title = l.content.replace(/&amp;/, "&"));
931
+ }, r.languages.markup.tag.inside["attr-value"].inside.entity = r.languages.markup.entity, r.languages.markup.doctype.inside["internal-subset"].inside = r.languages.markup, r.hooks.add("wrap", function(i) {
932
+ i.type === "entity" && (i.attributes.title = i.content.replace(/&amp;/, "&"));
933
933
  }), Object.defineProperty(r.languages.markup.tag, "addInlined", {
934
934
  /**
935
935
  * Adds an inlined language to markup.
@@ -942,32 +942,32 @@ var Ie = { exports: {} };
942
942
  * @example
943
943
  * addInlined('style', 'css');
944
944
  */
945
- value: function(T, $) {
946
- var A = {};
947
- A["language-" + $] = {
945
+ value: function(T, P) {
946
+ var S = {};
947
+ S["language-" + P] = {
948
948
  pattern: /(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,
949
949
  lookbehind: !0,
950
- inside: r.languages[$]
951
- }, A.cdata = /^<!\[CDATA\[|\]\]>$/i;
952
- var S = {
950
+ inside: r.languages[P]
951
+ }, S.cdata = /^<!\[CDATA\[|\]\]>$/i;
952
+ var E = {
953
953
  "included-cdata": {
954
954
  pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i,
955
- inside: A
955
+ inside: S
956
956
  }
957
957
  };
958
- S["language-" + $] = {
958
+ E["language-" + P] = {
959
959
  pattern: /[\s\S]+/,
960
- inside: r.languages[$]
960
+ inside: r.languages[P]
961
961
  };
962
- var E = {};
963
- E[T] = {
962
+ var w = {};
963
+ w[T] = {
964
964
  pattern: RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g, function() {
965
965
  return T;
966
966
  }), "i"),
967
967
  lookbehind: !0,
968
968
  greedy: !0,
969
- inside: S
970
- }, r.languages.insertBefore("markup", "cdata", E);
969
+ inside: E
970
+ }, r.languages.insertBefore("markup", "cdata", w);
971
971
  }
972
972
  }), Object.defineProperty(r.languages.markup.tag, "addAttribute", {
973
973
  /**
@@ -981,10 +981,10 @@ var Ie = { exports: {} };
981
981
  * @example
982
982
  * addAttribute('style', 'css');
983
983
  */
984
- value: function(l, T) {
984
+ value: function(i, T) {
985
985
  r.languages.markup.tag.inside["special-attr"].push({
986
986
  pattern: RegExp(
987
- /(^|["'\s])/.source + "(?:" + l + ")" + /\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,
987
+ /(^|["'\s])/.source + "(?:" + i + ")" + /\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,
988
988
  "i"
989
989
  ),
990
990
  lookbehind: !0,
@@ -1011,9 +1011,9 @@ var Ie = { exports: {} };
1011
1011
  }
1012
1012
  });
1013
1013
  }
1014
- }), r.languages.html = r.languages.markup, r.languages.mathml = r.languages.markup, r.languages.svg = r.languages.markup, r.languages.xml = r.languages.extend("markup", {}), r.languages.ssml = r.languages.xml, r.languages.atom = r.languages.xml, r.languages.rss = r.languages.xml, function(l) {
1014
+ }), r.languages.html = r.languages.markup, r.languages.mathml = r.languages.markup, r.languages.svg = r.languages.markup, r.languages.xml = r.languages.extend("markup", {}), r.languages.ssml = r.languages.xml, r.languages.atom = r.languages.xml, r.languages.rss = r.languages.xml, function(i) {
1015
1015
  var T = /(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;
1016
- l.languages.css = {
1016
+ i.languages.css = {
1017
1017
  comment: /\/\*[\s\S]*?\*\//,
1018
1018
  atrule: {
1019
1019
  pattern: RegExp("@[\\w-](?:" + /[^;{\s"']|\s+(?!\s)/.source + "|" + T.source + ")*?" + /(?:;|(?=\s*\{))/.source),
@@ -1062,9 +1062,9 @@ var Ie = { exports: {} };
1062
1062
  lookbehind: !0
1063
1063
  },
1064
1064
  punctuation: /[(){};:,]/
1065
- }, l.languages.css.atrule.inside.rest = l.languages.css;
1066
- var $ = l.languages.markup;
1067
- $ && ($.tag.addInlined("style", "css"), $.tag.addAttribute("style", "css"));
1065
+ }, i.languages.css.atrule.inside.rest = i.languages.css;
1066
+ var P = i.languages.markup;
1067
+ P && (P.tag.addInlined("style", "css"), P.tag.addAttribute("style", "css"));
1068
1068
  }(r), r.languages.clike = {
1069
1069
  comment: [
1070
1070
  {
@@ -1229,9 +1229,9 @@ var Ie = { exports: {} };
1229
1229
  if (typeof r > "u" || typeof document > "u")
1230
1230
  return;
1231
1231
  Element.prototype.matches || (Element.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector);
1232
- var l = "Loading…", T = function(s, c) {
1233
- return "✖ Error " + s + " while fetching file: " + c;
1234
- }, $ = "✖ Error: File does not exist or is empty", A = {
1232
+ var i = "Loading…", T = function(c, d) {
1233
+ return "✖ Error " + c + " while fetching file: " + d;
1234
+ }, P = "✖ Error: File does not exist or is empty", S = {
1235
1235
  js: "javascript",
1236
1236
  py: "python",
1237
1237
  rb: "ruby",
@@ -1241,52 +1241,52 @@ var Ie = { exports: {} };
1241
1241
  bat: "batch",
1242
1242
  h: "c",
1243
1243
  tex: "latex"
1244
- }, S = "data-src-status", E = "loading", D = "loaded", F = "failed", R = "pre[data-src]:not([" + S + '="' + D + '"]):not([' + S + '="' + E + '"])';
1245
- function N(s, c, n) {
1244
+ }, E = "data-src-status", w = "loading", D = "loaded", L = "failed", _ = "pre[data-src]:not([" + E + '="' + D + '"]):not([' + E + '="' + w + '"])';
1245
+ function N(c, d, l) {
1246
1246
  var a = new XMLHttpRequest();
1247
- a.open("GET", s, !0), a.onreadystatechange = function() {
1248
- a.readyState == 4 && (a.status < 400 && a.responseText ? c(a.responseText) : a.status >= 400 ? n(T(a.status, a.statusText)) : n($));
1247
+ a.open("GET", c, !0), a.onreadystatechange = function() {
1248
+ a.readyState == 4 && (a.status < 400 && a.responseText ? d(a.responseText) : a.status >= 400 ? l(T(a.status, a.statusText)) : l(P));
1249
1249
  }, a.send(null);
1250
1250
  }
1251
- function U(s) {
1252
- var c = /^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(s || "");
1253
- if (c) {
1254
- var n = Number(c[1]), a = c[2], i = c[3];
1255
- return a ? i ? [n, Number(i)] : [n, void 0] : [n, n];
1251
+ function U(c) {
1252
+ var d = /^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(c || "");
1253
+ if (d) {
1254
+ var l = Number(d[1]), a = d[2], s = d[3];
1255
+ return a ? s ? [l, Number(s)] : [l, void 0] : [l, l];
1256
1256
  }
1257
1257
  }
1258
- r.hooks.add("before-highlightall", function(s) {
1259
- s.selector += ", " + R;
1260
- }), r.hooks.add("before-sanity-check", function(s) {
1261
- var c = (
1258
+ r.hooks.add("before-highlightall", function(c) {
1259
+ c.selector += ", " + _;
1260
+ }), r.hooks.add("before-sanity-check", function(c) {
1261
+ var d = (
1262
1262
  /** @type {HTMLPreElement} */
1263
- s.element
1263
+ c.element
1264
1264
  );
1265
- if (c.matches(R)) {
1266
- s.code = "", c.setAttribute(S, E);
1267
- var n = c.appendChild(document.createElement("CODE"));
1268
- n.textContent = l;
1269
- var a = c.getAttribute("data-src"), i = s.language;
1270
- if (i === "none") {
1265
+ if (d.matches(_)) {
1266
+ c.code = "", d.setAttribute(E, w);
1267
+ var l = d.appendChild(document.createElement("CODE"));
1268
+ l.textContent = i;
1269
+ var a = d.getAttribute("data-src"), s = c.language;
1270
+ if (s === "none") {
1271
1271
  var p = (/\.(\w+)$/.exec(a) || [, "none"])[1];
1272
- i = A[p] || p;
1272
+ s = S[p] || p;
1273
1273
  }
1274
- r.util.setLanguage(n, i), r.util.setLanguage(c, i);
1274
+ r.util.setLanguage(l, s), r.util.setLanguage(d, s);
1275
1275
  var g = r.plugins.autoloader;
1276
- g && g.loadLanguages(i), N(
1276
+ g && g.loadLanguages(s), N(
1277
1277
  a,
1278
- function(y) {
1279
- c.setAttribute(S, D);
1280
- var h = U(c.getAttribute("data-range"));
1278
+ function(k) {
1279
+ d.setAttribute(E, D);
1280
+ var h = U(d.getAttribute("data-range"));
1281
1281
  if (h) {
1282
- var f = y.split(/\r\n?|\n/g), d = h[0], b = h[1] == null ? f.length : h[1];
1283
- d < 0 && (d += f.length), d = Math.max(0, Math.min(d - 1, f.length)), b < 0 && (b += f.length), b = Math.max(0, Math.min(b, f.length)), y = f.slice(d, b).join(`
1284
- `), c.hasAttribute("data-start") || c.setAttribute("data-start", String(d + 1));
1282
+ var m = k.split(/\r\n?|\n/g), u = h[0], b = h[1] == null ? m.length : h[1];
1283
+ u < 0 && (u += m.length), u = Math.max(0, Math.min(u - 1, m.length)), b < 0 && (b += m.length), b = Math.max(0, Math.min(b, m.length)), k = m.slice(u, b).join(`
1284
+ `), d.hasAttribute("data-start") || d.setAttribute("data-start", String(u + 1));
1285
1285
  }
1286
- n.textContent = y, r.highlightElement(n);
1286
+ l.textContent = k, r.highlightElement(l);
1287
1287
  },
1288
- function(y) {
1289
- c.setAttribute(S, F), n.textContent = y;
1288
+ function(k) {
1289
+ d.setAttribute(E, L), l.textContent = k;
1290
1290
  }
1291
1291
  );
1292
1292
  }
@@ -1298,19 +1298,19 @@ var Ie = { exports: {} };
1298
1298
  *
1299
1299
  * @param {ParentNode} [container=document]
1300
1300
  */
1301
- highlight: function(c) {
1302
- for (var n = (c || document).querySelectorAll(R), a = 0, i; i = n[a++]; )
1303
- r.highlightElement(i);
1301
+ highlight: function(d) {
1302
+ for (var l = (d || document).querySelectorAll(_), a = 0, s; s = l[a++]; )
1303
+ r.highlightElement(s);
1304
1304
  }
1305
1305
  };
1306
- var o = !1;
1306
+ var n = !1;
1307
1307
  r.fileHighlight = function() {
1308
- o || (console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."), o = !0), r.plugins.fileHighlight.highlight.apply(this, arguments);
1308
+ n || (console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."), n = !0), r.plugins.fileHighlight.highlight.apply(this, arguments);
1309
1309
  };
1310
1310
  }();
1311
- })(Ie);
1312
- var lt = Ie.exports;
1313
- const K = /* @__PURE__ */ _e(lt);
1311
+ })(Fe);
1312
+ var it = Fe.exports;
1313
+ const K = /* @__PURE__ */ st(it);
1314
1314
  Prism.languages.markup = {
1315
1315
  comment: {
1316
1316
  pattern: /<!--(?:(?!<!--)[\s\S])*?-->/,
@@ -1407,31 +1407,31 @@ Object.defineProperty(Prism.languages.markup.tag, "addInlined", {
1407
1407
  * addInlined('style', 'css');
1408
1408
  */
1409
1409
  value: function(t, r) {
1410
- var l = {};
1411
- l["language-" + r] = {
1410
+ var i = {};
1411
+ i["language-" + r] = {
1412
1412
  pattern: /(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,
1413
1413
  lookbehind: !0,
1414
1414
  inside: Prism.languages[r]
1415
- }, l.cdata = /^<!\[CDATA\[|\]\]>$/i;
1415
+ }, i.cdata = /^<!\[CDATA\[|\]\]>$/i;
1416
1416
  var T = {
1417
1417
  "included-cdata": {
1418
1418
  pattern: /<!\[CDATA\[[\s\S]*?\]\]>/i,
1419
- inside: l
1419
+ inside: i
1420
1420
  }
1421
1421
  };
1422
1422
  T["language-" + r] = {
1423
1423
  pattern: /[\s\S]+/,
1424
1424
  inside: Prism.languages[r]
1425
1425
  };
1426
- var $ = {};
1427
- $[t] = {
1426
+ var P = {};
1427
+ P[t] = {
1428
1428
  pattern: RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g, function() {
1429
1429
  return t;
1430
1430
  }), "i"),
1431
1431
  lookbehind: !0,
1432
1432
  greedy: !0,
1433
1433
  inside: T
1434
- }, Prism.languages.insertBefore("markup", "cdata", $);
1434
+ }, Prism.languages.insertBefore("markup", "cdata", P);
1435
1435
  }
1436
1436
  });
1437
1437
  Object.defineProperty(Prism.languages.markup.tag, "addAttribute", {
@@ -1709,7 +1709,7 @@ Prism.languages.webmanifest = Prism.languages.json;
1709
1709
  // this looks reasonably well in all themes
1710
1710
  inside: null
1711
1711
  // see below
1712
- }, l = {
1712
+ }, i = {
1713
1713
  bash: r,
1714
1714
  environment: {
1715
1715
  pattern: RegExp("\\$" + t),
@@ -1821,7 +1821,7 @@ Prism.languages.webmanifest = Prism.languages.json;
1821
1821
  pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,
1822
1822
  lookbehind: !0,
1823
1823
  greedy: !0,
1824
- inside: l
1824
+ inside: i
1825
1825
  },
1826
1826
  // Here-document with quotes around the tag
1827
1827
  // → No expansion (so no “inside”).
@@ -1839,7 +1839,7 @@ Prism.languages.webmanifest = Prism.languages.json;
1839
1839
  pattern: /(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,
1840
1840
  lookbehind: !0,
1841
1841
  greedy: !0,
1842
- inside: l
1842
+ inside: i
1843
1843
  },
1844
1844
  {
1845
1845
  // https://www.gnu.org/software/bash/manual/html_node/Single-Quotes.html
@@ -1852,7 +1852,7 @@ Prism.languages.webmanifest = Prism.languages.json;
1852
1852
  pattern: /\$'(?:[^'\\]|\\[\s\S])*'/,
1853
1853
  greedy: !0,
1854
1854
  inside: {
1855
- entity: l.entity
1855
+ entity: i.entity
1856
1856
  }
1857
1857
  }
1858
1858
  ],
@@ -1860,7 +1860,7 @@ Prism.languages.webmanifest = Prism.languages.json;
1860
1860
  pattern: RegExp("\\$?" + t),
1861
1861
  alias: "constant"
1862
1862
  },
1863
- variable: l.variable,
1863
+ variable: i.variable,
1864
1864
  function: {
1865
1865
  pattern: /(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,
1866
1866
  lookbehind: !0
@@ -1916,8 +1916,8 @@ Prism.languages.webmanifest = Prism.languages.json;
1916
1916
  "operator",
1917
1917
  "punctuation",
1918
1918
  "number"
1919
- ], $ = l.variable[1].inside, A = 0; A < T.length; A++)
1920
- $[T[A]] = e.languages.bash[T[A]];
1919
+ ], P = i.variable[1].inside, S = 0; S < T.length; S++)
1920
+ P[T[S]] = e.languages.bash[T[S]];
1921
1921
  e.languages.sh = e.languages.bash, e.languages.shell = e.languages.bash;
1922
1922
  })(Prism);
1923
1923
  Prism.languages.sql = {
@@ -1954,22 +1954,22 @@ Prism.languages.sql = {
1954
1954
  punctuation: /[;[\]()`,.]/
1955
1955
  };
1956
1956
  (function(e) {
1957
- var t = /[*&][^\s[\]{},]+/, r = /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/, l = "(?:" + r.source + "(?:[ ]+" + t.source + ")?|" + t.source + "(?:[ ]+" + r.source + ")?)", T = /(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g, function() {
1957
+ var t = /[*&][^\s[\]{},]+/, r = /!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/, i = "(?:" + r.source + "(?:[ ]+" + t.source + ")?|" + t.source + "(?:[ ]+" + r.source + ")?)", T = /(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g, function() {
1958
1958
  return /[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source;
1959
- }), $ = /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;
1960
- function A(S, E) {
1961
- E = (E || "").replace(/m/g, "") + "m";
1959
+ }), P = /"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;
1960
+ function S(E, w) {
1961
+ w = (w || "").replace(/m/g, "") + "m";
1962
1962
  var D = /([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g, function() {
1963
- return l;
1963
+ return i;
1964
1964
  }).replace(/<<value>>/g, function() {
1965
- return S;
1965
+ return E;
1966
1966
  });
1967
- return RegExp(D, E);
1967
+ return RegExp(D, w);
1968
1968
  }
1969
1969
  e.languages.yaml = {
1970
1970
  scalar: {
1971
1971
  pattern: RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g, function() {
1972
- return l;
1972
+ return i;
1973
1973
  })),
1974
1974
  lookbehind: !0,
1975
1975
  alias: "string"
@@ -1977,9 +1977,9 @@ Prism.languages.sql = {
1977
1977
  comment: /#.*/,
1978
1978
  key: {
1979
1979
  pattern: RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g, function() {
1980
- return l;
1980
+ return i;
1981
1981
  }).replace(/<<key>>/g, function() {
1982
- return "(?:" + T + "|" + $ + ")";
1982
+ return "(?:" + T + "|" + P + ")";
1983
1983
  })),
1984
1984
  lookbehind: !0,
1985
1985
  greedy: !0,
@@ -1991,27 +1991,27 @@ Prism.languages.sql = {
1991
1991
  alias: "important"
1992
1992
  },
1993
1993
  datetime: {
1994
- pattern: A(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),
1994
+ pattern: S(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),
1995
1995
  lookbehind: !0,
1996
1996
  alias: "number"
1997
1997
  },
1998
1998
  boolean: {
1999
- pattern: A(/false|true/.source, "i"),
1999
+ pattern: S(/false|true/.source, "i"),
2000
2000
  lookbehind: !0,
2001
2001
  alias: "important"
2002
2002
  },
2003
2003
  null: {
2004
- pattern: A(/null|~/.source, "i"),
2004
+ pattern: S(/null|~/.source, "i"),
2005
2005
  lookbehind: !0,
2006
2006
  alias: "important"
2007
2007
  },
2008
2008
  string: {
2009
- pattern: A($),
2009
+ pattern: S(P),
2010
2010
  lookbehind: !0,
2011
2011
  greedy: !0
2012
2012
  },
2013
2013
  number: {
2014
- pattern: A(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source, "i"),
2014
+ pattern: S(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source, "i"),
2015
2015
  lookbehind: !0
2016
2016
  },
2017
2017
  tag: r,
@@ -2097,14 +2097,14 @@ Prism.languages.insertBefore("c", "function", {
2097
2097
  delete Prism.languages.c.boolean;
2098
2098
  (function(e) {
2099
2099
  var t = /(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;
2100
- function r(F) {
2101
- return F = F.replace(/<inner>/g, function() {
2100
+ function r(L) {
2101
+ return L = L.replace(/<inner>/g, function() {
2102
2102
  return t;
2103
- }), RegExp(/((?:^|[^\\])(?:\\{2})*)/.source + "(?:" + F + ")");
2103
+ }), RegExp(/((?:^|[^\\])(?:\\{2})*)/.source + "(?:" + L + ")");
2104
2104
  }
2105
- var l = /(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source, T = /\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g, function() {
2106
- return l;
2107
- }), $ = /\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;
2105
+ var i = /(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source, T = /\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g, function() {
2106
+ return i;
2107
+ }), P = /\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;
2108
2108
  e.languages.markdown = e.languages.extend("markup", {}), e.languages.insertBefore("markdown", "prolog", {
2109
2109
  "front-matter-block": {
2110
2110
  pattern: /(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,
@@ -2125,21 +2125,21 @@ delete Prism.languages.c.boolean;
2125
2125
  alias: "punctuation"
2126
2126
  },
2127
2127
  table: {
2128
- pattern: RegExp("^" + T + $ + "(?:" + T + ")*", "m"),
2128
+ pattern: RegExp("^" + T + P + "(?:" + T + ")*", "m"),
2129
2129
  inside: {
2130
2130
  "table-data-rows": {
2131
- pattern: RegExp("^(" + T + $ + ")(?:" + T + ")*$"),
2131
+ pattern: RegExp("^(" + T + P + ")(?:" + T + ")*$"),
2132
2132
  lookbehind: !0,
2133
2133
  inside: {
2134
2134
  "table-data": {
2135
- pattern: RegExp(l),
2135
+ pattern: RegExp(i),
2136
2136
  inside: e.languages.markdown
2137
2137
  },
2138
2138
  punctuation: /\|/
2139
2139
  }
2140
2140
  },
2141
2141
  "table-line": {
2142
- pattern: RegExp("^(" + T + ")" + $ + "$"),
2142
+ pattern: RegExp("^(" + T + ")" + P + "$"),
2143
2143
  lookbehind: !0,
2144
2144
  inside: {
2145
2145
  punctuation: /\||:?-{3,}:?/
@@ -2149,7 +2149,7 @@ delete Prism.languages.c.boolean;
2149
2149
  pattern: RegExp("^" + T + "$"),
2150
2150
  inside: {
2151
2151
  "table-header": {
2152
- pattern: RegExp(l),
2152
+ pattern: RegExp(i),
2153
2153
  alias: "important",
2154
2154
  inside: e.languages.markdown
2155
2155
  },
@@ -2329,69 +2329,69 @@ delete Prism.languages.c.boolean;
2329
2329
  }
2330
2330
  }
2331
2331
  }
2332
- }), ["url", "bold", "italic", "strike"].forEach(function(F) {
2333
- ["url", "bold", "italic", "strike", "code-snippet"].forEach(function(R) {
2334
- F !== R && (e.languages.markdown[F].inside.content.inside[R] = e.languages.markdown[R]);
2332
+ }), ["url", "bold", "italic", "strike"].forEach(function(L) {
2333
+ ["url", "bold", "italic", "strike", "code-snippet"].forEach(function(_) {
2334
+ L !== _ && (e.languages.markdown[L].inside.content.inside[_] = e.languages.markdown[_]);
2335
2335
  });
2336
- }), e.hooks.add("after-tokenize", function(F) {
2337
- if (F.language !== "markdown" && F.language !== "md")
2336
+ }), e.hooks.add("after-tokenize", function(L) {
2337
+ if (L.language !== "markdown" && L.language !== "md")
2338
2338
  return;
2339
- function R(N) {
2339
+ function _(N) {
2340
2340
  if (!(!N || typeof N == "string"))
2341
- for (var U = 0, o = N.length; U < o; U++) {
2342
- var s = N[U];
2343
- if (s.type !== "code") {
2344
- R(s.content);
2341
+ for (var U = 0, n = N.length; U < n; U++) {
2342
+ var c = N[U];
2343
+ if (c.type !== "code") {
2344
+ _(c.content);
2345
2345
  continue;
2346
2346
  }
2347
- var c = s.content[1], n = s.content[3];
2348
- if (c && n && c.type === "code-language" && n.type === "code-block" && typeof c.content == "string") {
2349
- var a = c.content.replace(/\b#/g, "sharp").replace(/\b\+\+/g, "pp");
2347
+ var d = c.content[1], l = c.content[3];
2348
+ if (d && l && d.type === "code-language" && l.type === "code-block" && typeof d.content == "string") {
2349
+ var a = d.content.replace(/\b#/g, "sharp").replace(/\b\+\+/g, "pp");
2350
2350
  a = (/[a-z][\w-]*/i.exec(a) || [""])[0].toLowerCase();
2351
- var i = "language-" + a;
2352
- n.alias ? typeof n.alias == "string" ? n.alias = [n.alias, i] : n.alias.push(i) : n.alias = [i];
2351
+ var s = "language-" + a;
2352
+ l.alias ? typeof l.alias == "string" ? l.alias = [l.alias, s] : l.alias.push(s) : l.alias = [s];
2353
2353
  }
2354
2354
  }
2355
2355
  }
2356
- R(F.tokens);
2357
- }), e.hooks.add("wrap", function(F) {
2358
- if (F.type === "code-block") {
2359
- for (var R = "", N = 0, U = F.classes.length; N < U; N++) {
2360
- var o = F.classes[N], s = /language-(.+)/.exec(o);
2361
- if (s) {
2362
- R = s[1];
2356
+ _(L.tokens);
2357
+ }), e.hooks.add("wrap", function(L) {
2358
+ if (L.type === "code-block") {
2359
+ for (var _ = "", N = 0, U = L.classes.length; N < U; N++) {
2360
+ var n = L.classes[N], c = /language-(.+)/.exec(n);
2361
+ if (c) {
2362
+ _ = c[1];
2363
2363
  break;
2364
2364
  }
2365
2365
  }
2366
- var c = e.languages[R];
2367
- if (c)
2368
- F.content = e.highlight(D(F.content), c, R);
2369
- else if (R && R !== "none" && e.plugins.autoloader) {
2370
- var n = "md-" + (/* @__PURE__ */ new Date()).valueOf() + "-" + Math.floor(Math.random() * 1e16);
2371
- F.attributes.id = n, e.plugins.autoloader.loadLanguages(R, function() {
2372
- var a = document.getElementById(n);
2373
- a && (a.innerHTML = e.highlight(a.textContent, e.languages[R], R));
2366
+ var d = e.languages[_];
2367
+ if (d)
2368
+ L.content = e.highlight(D(L.content), d, _);
2369
+ else if (_ && _ !== "none" && e.plugins.autoloader) {
2370
+ var l = "md-" + (/* @__PURE__ */ new Date()).valueOf() + "-" + Math.floor(Math.random() * 1e16);
2371
+ L.attributes.id = l, e.plugins.autoloader.loadLanguages(_, function() {
2372
+ var a = document.getElementById(l);
2373
+ a && (a.innerHTML = e.highlight(a.textContent, e.languages[_], _));
2374
2374
  });
2375
2375
  }
2376
2376
  }
2377
2377
  });
2378
- var A = RegExp(e.languages.markup.tag.pattern.source, "gi"), S = {
2378
+ var S = RegExp(e.languages.markup.tag.pattern.source, "gi"), E = {
2379
2379
  amp: "&",
2380
2380
  lt: "<",
2381
2381
  gt: ">",
2382
2382
  quot: '"'
2383
- }, E = String.fromCodePoint || String.fromCharCode;
2384
- function D(F) {
2385
- var R = F.replace(A, "");
2386
- return R = R.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi, function(N, U) {
2383
+ }, w = String.fromCodePoint || String.fromCharCode;
2384
+ function D(L) {
2385
+ var _ = L.replace(S, "");
2386
+ return _ = _.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi, function(N, U) {
2387
2387
  if (U = U.toLowerCase(), U[0] === "#") {
2388
- var o;
2389
- return U[1] === "x" ? o = parseInt(U.slice(2), 16) : o = Number(U.slice(1)), E(o);
2388
+ var n;
2389
+ return U[1] === "x" ? n = parseInt(U.slice(2), 16) : n = Number(U.slice(1)), w(n);
2390
2390
  } else {
2391
- var s = S[U];
2392
- return s || N;
2391
+ var c = E[U];
2392
+ return c || N;
2393
2393
  }
2394
- }), R;
2394
+ }), _;
2395
2395
  }
2396
2396
  e.languages.md = e.languages.markdown;
2397
2397
  })(Prism);
@@ -2459,7 +2459,7 @@ Prism.languages.python = {
2459
2459
  Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest = Prism.languages.python;
2460
2460
  Prism.languages.py = Prism.languages.python;
2461
2461
  (function(e) {
2462
- var t = /\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/, r = /(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source, l = {
2462
+ var t = /\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/, r = /(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source, i = {
2463
2463
  pattern: RegExp(/(^|[^\w.])/.source + r + /[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),
2464
2464
  lookbehind: !0,
2465
2465
  inside: {
@@ -2479,20 +2479,20 @@ Prism.languages.py = Prism.languages.python;
2479
2479
  greedy: !0
2480
2480
  },
2481
2481
  "class-name": [
2482
- l,
2482
+ i,
2483
2483
  {
2484
2484
  // variables, parameters, and constructor references
2485
2485
  // this to support class names (or generic parameters) which do not contain a lower case letter (also works for methods)
2486
2486
  pattern: RegExp(/(^|[^\w.])/.source + r + /[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),
2487
2487
  lookbehind: !0,
2488
- inside: l.inside
2488
+ inside: i.inside
2489
2489
  },
2490
2490
  {
2491
2491
  // class names based on keyword
2492
2492
  // this to support class names (or generic parameters) which do not contain a lower case letter (also works for methods)
2493
2493
  pattern: RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source + r + /[A-Z]\w*\b/.source),
2494
2494
  lookbehind: !0,
2495
- inside: l.inside
2495
+ inside: i.inside
2496
2496
  }
2497
2497
  ],
2498
2498
  keyword: t,
@@ -2529,7 +2529,7 @@ Prism.languages.py = Prism.languages.python;
2529
2529
  generics: {
2530
2530
  pattern: /<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,
2531
2531
  inside: {
2532
- "class-name": l,
2532
+ "class-name": i,
2533
2533
  keyword: t,
2534
2534
  punctuation: /[<>(),.:]/,
2535
2535
  operator: /[?&|]/
@@ -2540,7 +2540,7 @@ Prism.languages.py = Prism.languages.python;
2540
2540
  pattern: RegExp(/(\bimport\s+)/.source + r + /(?:[A-Z]\w*|\*)(?=\s*;)/.source),
2541
2541
  lookbehind: !0,
2542
2542
  inside: {
2543
- namespace: l.inside.namespace,
2543
+ namespace: i.inside.namespace,
2544
2544
  punctuation: /\./,
2545
2545
  operator: /\*/,
2546
2546
  "class-name": /\w+/
@@ -2551,7 +2551,7 @@ Prism.languages.py = Prism.languages.python;
2551
2551
  lookbehind: !0,
2552
2552
  alias: "static",
2553
2553
  inside: {
2554
- namespace: l.inside.namespace,
2554
+ namespace: i.inside.namespace,
2555
2555
  static: /\b\w+$/,
2556
2556
  punctuation: /\./,
2557
2557
  operator: /\*/,
@@ -2760,27 +2760,27 @@ delete Prism.languages.go["class-name"];
2760
2760
  }), e.languages.ts = e.languages.typescript;
2761
2761
  })(Prism);
2762
2762
  (function(e) {
2763
- var t = e.util.clone(e.languages.javascript), r = /(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source, l = /(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source, T = /(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;
2764
- function $(E, D) {
2765
- return E = E.replace(/<S>/g, function() {
2763
+ var t = e.util.clone(e.languages.javascript), r = /(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source, i = /(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source, T = /(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;
2764
+ function P(w, D) {
2765
+ return w = w.replace(/<S>/g, function() {
2766
2766
  return r;
2767
2767
  }).replace(/<BRACES>/g, function() {
2768
- return l;
2768
+ return i;
2769
2769
  }).replace(/<SPREAD>/g, function() {
2770
2770
  return T;
2771
- }), RegExp(E, D);
2771
+ }), RegExp(w, D);
2772
2772
  }
2773
- T = $(T).source, e.languages.jsx = e.languages.extend("markup", t), e.languages.jsx.tag.pattern = $(
2773
+ T = P(T).source, e.languages.jsx = e.languages.extend("markup", t), e.languages.jsx.tag.pattern = P(
2774
2774
  /<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source
2775
2775
  ), e.languages.jsx.tag.inside.tag.pattern = /^<\/?[^\s>\/]*/, e.languages.jsx.tag.inside["attr-value"].pattern = /=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/, e.languages.jsx.tag.inside.tag.inside["class-name"] = /^[A-Z]\w*(?:\.[A-Z]\w*)*$/, e.languages.jsx.tag.inside.comment = t.comment, e.languages.insertBefore("inside", "attr-name", {
2776
2776
  spread: {
2777
- pattern: $(/<SPREAD>/.source),
2777
+ pattern: P(/<SPREAD>/.source),
2778
2778
  inside: e.languages.jsx
2779
2779
  }
2780
2780
  }, e.languages.jsx.tag), e.languages.insertBefore("inside", "special-attr", {
2781
2781
  script: {
2782
2782
  // Allow for two levels of nesting
2783
- pattern: $(/=<BRACES>/.source),
2783
+ pattern: P(/=<BRACES>/.source),
2784
2784
  alias: "language-javascript",
2785
2785
  inside: {
2786
2786
  "script-punctuation": {
@@ -2791,23 +2791,23 @@ delete Prism.languages.go["class-name"];
2791
2791
  }
2792
2792
  }
2793
2793
  }, e.languages.jsx.tag);
2794
- var A = function(E) {
2795
- return E ? typeof E == "string" ? E : typeof E.content == "string" ? E.content : E.content.map(A).join("") : "";
2796
- }, S = function(E) {
2797
- for (var D = [], F = 0; F < E.length; F++) {
2798
- var R = E[F], N = !1;
2799
- if (typeof R != "string" && (R.type === "tag" && R.content[0] && R.content[0].type === "tag" ? R.content[0].content[0].content === "</" ? D.length > 0 && D[D.length - 1].tagName === A(R.content[0].content[1]) && D.pop() : R.content[R.content.length - 1].content === "/>" || D.push({
2800
- tagName: A(R.content[0].content[1]),
2794
+ var S = function(w) {
2795
+ return w ? typeof w == "string" ? w : typeof w.content == "string" ? w.content : w.content.map(S).join("") : "";
2796
+ }, E = function(w) {
2797
+ for (var D = [], L = 0; L < w.length; L++) {
2798
+ var _ = w[L], N = !1;
2799
+ if (typeof _ != "string" && (_.type === "tag" && _.content[0] && _.content[0].type === "tag" ? _.content[0].content[0].content === "</" ? D.length > 0 && D[D.length - 1].tagName === S(_.content[0].content[1]) && D.pop() : _.content[_.content.length - 1].content === "/>" || D.push({
2800
+ tagName: S(_.content[0].content[1]),
2801
2801
  openedBraces: 0
2802
- }) : D.length > 0 && R.type === "punctuation" && R.content === "{" ? D[D.length - 1].openedBraces++ : D.length > 0 && D[D.length - 1].openedBraces > 0 && R.type === "punctuation" && R.content === "}" ? D[D.length - 1].openedBraces-- : N = !0), (N || typeof R == "string") && D.length > 0 && D[D.length - 1].openedBraces === 0) {
2803
- var U = A(R);
2804
- F < E.length - 1 && (typeof E[F + 1] == "string" || E[F + 1].type === "plain-text") && (U += A(E[F + 1]), E.splice(F + 1, 1)), F > 0 && (typeof E[F - 1] == "string" || E[F - 1].type === "plain-text") && (U = A(E[F - 1]) + U, E.splice(F - 1, 1), F--), E[F] = new e.Token("plain-text", U, null, U);
2802
+ }) : D.length > 0 && _.type === "punctuation" && _.content === "{" ? D[D.length - 1].openedBraces++ : D.length > 0 && D[D.length - 1].openedBraces > 0 && _.type === "punctuation" && _.content === "}" ? D[D.length - 1].openedBraces-- : N = !0), (N || typeof _ == "string") && D.length > 0 && D[D.length - 1].openedBraces === 0) {
2803
+ var U = S(_);
2804
+ L < w.length - 1 && (typeof w[L + 1] == "string" || w[L + 1].type === "plain-text") && (U += S(w[L + 1]), w.splice(L + 1, 1)), L > 0 && (typeof w[L - 1] == "string" || w[L - 1].type === "plain-text") && (U = S(w[L - 1]) + U, w.splice(L - 1, 1), L--), w[L] = new e.Token("plain-text", U, null, U);
2805
2805
  }
2806
- R.content && typeof R.content != "string" && S(R.content);
2806
+ _.content && typeof _.content != "string" && E(_.content);
2807
2807
  }
2808
2808
  };
2809
- e.hooks.add("after-tokenize", function(E) {
2810
- E.language !== "jsx" && E.language !== "tsx" || S(E.tokens);
2809
+ e.hooks.add("after-tokenize", function(w) {
2810
+ w.language !== "jsx" && w.language !== "tsx" || E(w.tokens);
2811
2811
  });
2812
2812
  })(Prism);
2813
2813
  (function(e) {
@@ -2901,7 +2901,7 @@ delete Prism.languages.go["class-name"];
2901
2901
  var r = e.languages.tsx.tag;
2902
2902
  r.pattern = RegExp(/(^|[^\w$]|(?=<\/))/.source + "(?:" + r.pattern.source + ")", r.pattern.flags), r.lookbehind = !0;
2903
2903
  })(Prism);
2904
- function ct() {
2904
+ function lt() {
2905
2905
  K.languages.wsx || (K.languages.wsx = K.languages.extend("tsx", {
2906
2906
  // WSX-specific decorators (e.g., @autoRegister, @state)
2907
2907
  decorator: {
@@ -2934,113 +2934,113 @@ function ct() {
2934
2934
  }
2935
2935
  }), K.languages.WSX = K.languages.wsx);
2936
2936
  }
2937
- ct();
2938
- var Fe;
2939
- let Re, Le;
2940
- function J(e, t, r) {
2941
- return (t = Oe(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
2937
+ lt();
2938
+ var Ie;
2939
+ let Re, Oe;
2940
+ function Q(e, t, r) {
2941
+ return (t = Le(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
2942
2942
  }
2943
- function ut(e, t, r, l, T, $) {
2944
- function A(o, s, c) {
2945
- return function(n, a) {
2946
- return c && c(n), o[s].call(n, a);
2943
+ function ut(e, t, r, i, T, P) {
2944
+ function S(n, c, d) {
2945
+ return function(l, a) {
2946
+ return d && d(l), n[c].call(l, a);
2947
2947
  };
2948
2948
  }
2949
- function S(o, s) {
2950
- for (var c = 0; c < o.length; c++) o[c].call(s);
2951
- return s;
2949
+ function E(n, c) {
2950
+ for (var d = 0; d < n.length; d++) n[d].call(c);
2951
+ return c;
2952
2952
  }
2953
- function E(o, s, c, n) {
2954
- if (typeof o != "function" && (n || o !== void 0)) throw new TypeError(s + " must " + (c || "be") + " a function" + (n ? "" : " or undefined"));
2955
- return o;
2953
+ function w(n, c, d, l) {
2954
+ if (typeof n != "function" && (l || n !== void 0)) throw new TypeError(c + " must " + (d || "be") + " a function" + (l ? "" : " or undefined"));
2955
+ return n;
2956
2956
  }
2957
- function D(o, s, c, n, a, i, p, g, y, h, f, d, b) {
2958
- function x(k) {
2959
- if (!b(k)) throw new TypeError("Attempted to access private element on non-instance");
2957
+ function D(n, c, d, l, a, s, p, g, k, h, m, u, b) {
2958
+ function A(f) {
2959
+ if (!b(f)) throw new TypeError("Attempted to access private element on non-instance");
2960
2960
  }
2961
- var m, _ = s[0], I = s[3], C = !g;
2962
- if (!C) {
2963
- c || Array.isArray(_) || (_ = [_]);
2964
- var u = {}, L = [], w = a === 3 ? "get" : a === 4 || d ? "set" : "value";
2965
- h ? (f || d ? u = { get: pe(function() {
2961
+ var x, F = c[0], I = c[3], $ = !g;
2962
+ if (!$) {
2963
+ d || Array.isArray(F) || (F = [F]);
2964
+ var o = {}, R = [], v = a === 3 ? "get" : a === 4 || u ? "set" : "value";
2965
+ h ? (m || u ? o = { get: pe(function() {
2966
2966
  return I(this);
2967
- }, n, "get"), set: function(k) {
2968
- s[4](this, k);
2969
- } } : u[w] = I, f || pe(u[w], n, a === 2 ? "" : w)) : f || (u = Object.getOwnPropertyDescriptor(o, n));
2967
+ }, l, "get"), set: function(f) {
2968
+ c[4](this, f);
2969
+ } } : o[v] = I, m || pe(o[v], l, a === 2 ? "" : v)) : m || (o = Object.getOwnPropertyDescriptor(n, l));
2970
2970
  }
2971
- for (var v = o, j = _.length - 1; j >= 0; j -= c ? 2 : 1) {
2972
- var Z = _[j], B = c ? _[j - 1] : void 0, X = {}, P = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: n, metadata: i, addInitializer: (function(k, O) {
2973
- if (k.v) throw Error("attempted to call addInitializer after decoration was finished");
2974
- E(O, "An initializer", "be", !0), p.push(O);
2971
+ for (var y = n, M = F.length - 1; M >= 0; M -= d ? 2 : 1) {
2972
+ var Z = F[M], B = d ? F[M - 1] : void 0, X = {}, C = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: l, metadata: s, addInitializer: (function(f, O) {
2973
+ if (f.v) throw Error("attempted to call addInitializer after decoration was finished");
2974
+ w(O, "An initializer", "be", !0), p.push(O);
2975
2975
  }).bind(null, X) };
2976
2976
  try {
2977
- if (C) (m = E(Z.call(B, v, P), "class decorators", "return")) && (v = m);
2977
+ if ($) (x = w(Z.call(B, y, C), "class decorators", "return")) && (y = x);
2978
2978
  else {
2979
- var M, z;
2980
- P.static = y, P.private = h, h ? a === 2 ? M = function(k) {
2981
- return x(k), u.value;
2982
- } : (a < 4 && (M = A(u, "get", x)), a !== 3 && (z = A(u, "set", x))) : (M = function(k) {
2983
- return k[n];
2984
- }, (a < 2 || a === 4) && (z = function(k, O) {
2985
- k[n] = O;
2979
+ var j, z;
2980
+ C.static = k, C.private = h, h ? a === 2 ? j = function(f) {
2981
+ return A(f), o.value;
2982
+ } : (a < 4 && (j = S(o, "get", A)), a !== 3 && (z = S(o, "set", A))) : (j = function(f) {
2983
+ return f[l];
2984
+ }, (a < 2 || a === 4) && (z = function(f, O) {
2985
+ f[l] = O;
2986
2986
  }));
2987
- var Y = P.access = { has: h ? b.bind() : function(k) {
2988
- return n in k;
2987
+ var Y = C.access = { has: h ? b.bind() : function(f) {
2988
+ return l in f;
2989
2989
  } };
2990
- if (M && (Y.get = M), z && (Y.set = z), v = Z.call(B, d ? { get: u.get, set: u.set } : u[w], P), d) {
2991
- if (typeof v == "object" && v) (m = E(v.get, "accessor.get")) && (u.get = m), (m = E(v.set, "accessor.set")) && (u.set = m), (m = E(v.init, "accessor.init")) && L.push(m);
2992
- else if (v !== void 0) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
2993
- } else E(v, (f ? "field" : "method") + " decorators", "return") && (f ? L.push(v) : u[w] = v);
2990
+ if (j && (Y.get = j), z && (Y.set = z), y = Z.call(B, u ? { get: o.get, set: o.set } : o[v], C), u) {
2991
+ if (typeof y == "object" && y) (x = w(y.get, "accessor.get")) && (o.get = x), (x = w(y.set, "accessor.set")) && (o.set = x), (x = w(y.init, "accessor.init")) && R.push(x);
2992
+ else if (y !== void 0) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
2993
+ } else w(y, (m ? "field" : "method") + " decorators", "return") && (m ? R.push(y) : o[v] = y);
2994
2994
  }
2995
2995
  } finally {
2996
2996
  X.v = !0;
2997
2997
  }
2998
2998
  }
2999
- return (f || d) && g.push(function(k, O) {
3000
- for (var H = L.length - 1; H >= 0; H--) O = L[H].call(k, O);
2999
+ return (m || u) && g.push(function(f, O) {
3000
+ for (var H = R.length - 1; H >= 0; H--) O = R[H].call(f, O);
3001
3001
  return O;
3002
- }), f || C || (h ? d ? g.push(A(u, "get"), A(u, "set")) : g.push(a === 2 ? u[w] : A.call.bind(u[w])) : Object.defineProperty(o, n, u)), v;
3002
+ }), m || $ || (h ? u ? g.push(S(o, "get"), S(o, "set")) : g.push(a === 2 ? o[v] : S.call.bind(o[v])) : Object.defineProperty(n, l, o)), y;
3003
3003
  }
3004
- function F(o, s) {
3005
- return Object.defineProperty(o, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: s });
3004
+ function L(n, c) {
3005
+ return Object.defineProperty(n, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: c });
3006
3006
  }
3007
- if (arguments.length >= 6) var R = $[Symbol.metadata || Symbol.for("Symbol.metadata")];
3008
- var N = Object.create(R ?? null), U = function(o, s, c, n) {
3009
- var a, i, p = [], g = function(w) {
3010
- return gt(w) === o;
3011
- }, y = /* @__PURE__ */ new Map();
3012
- function h(w) {
3013
- w && p.push(S.bind(null, w));
3007
+ if (arguments.length >= 6) var _ = P[Symbol.metadata || Symbol.for("Symbol.metadata")];
3008
+ var N = Object.create(_ ?? null), U = function(n, c, d, l) {
3009
+ var a, s, p = [], g = function(v) {
3010
+ return dt(v) === n;
3011
+ }, k = /* @__PURE__ */ new Map();
3012
+ function h(v) {
3013
+ v && p.push(E.bind(null, v));
3014
3014
  }
3015
- for (var f = 0; f < s.length; f++) {
3016
- var d = s[f];
3017
- if (Array.isArray(d)) {
3018
- var b = d[1], x = d[2], m = d.length > 3, _ = 16 & b, I = !!(8 & b), C = (b &= 7) == 0, u = x + "/" + I;
3019
- if (!C && !m) {
3020
- var L = y.get(u);
3021
- if (L === !0 || L === 3 && b !== 4 || L === 4 && b !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + x);
3022
- y.set(u, !(b > 2) || b);
3015
+ for (var m = 0; m < c.length; m++) {
3016
+ var u = c[m];
3017
+ if (Array.isArray(u)) {
3018
+ var b = u[1], A = u[2], x = u.length > 3, F = 16 & b, I = !!(8 & b), $ = (b &= 7) == 0, o = A + "/" + I;
3019
+ if (!$ && !x) {
3020
+ var R = k.get(o);
3021
+ if (R === !0 || R === 3 && b !== 4 || R === 4 && b !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + A);
3022
+ k.set(o, !(b > 2) || b);
3023
3023
  }
3024
- D(I ? o : o.prototype, d, _, m ? "#" + x : Oe(x), b, n, I ? i = i || [] : a = a || [], p, I, m, C, b === 1, I && m ? g : c);
3024
+ D(I ? n : n.prototype, u, F, x ? "#" + A : Le(A), b, l, I ? s = s || [] : a = a || [], p, I, x, $, b === 1, I && x ? g : d);
3025
3025
  }
3026
3026
  }
3027
- return h(a), h(i), p;
3027
+ return h(a), h(s), p;
3028
3028
  }(e, t, T, N);
3029
- return r.length || F(e, N), { e: U, get c() {
3030
- var o = [];
3031
- return r.length && [F(D(e, [r], l, e.name, 5, N, o), N), S.bind(null, o, e)];
3029
+ return r.length || L(e, N), { e: U, get c() {
3030
+ var n = [];
3031
+ return r.length && [L(D(e, [r], i, e.name, 5, N, n), N), E.bind(null, n, e)];
3032
3032
  } };
3033
3033
  }
3034
- function Oe(e) {
3035
- var t = dt(e, "string");
3034
+ function Le(e) {
3035
+ var t = ct(e, "string");
3036
3036
  return typeof t == "symbol" ? t : t + "";
3037
3037
  }
3038
- function dt(e, t) {
3038
+ function ct(e, t) {
3039
3039
  if (typeof e != "object" || !e) return e;
3040
3040
  var r = e[Symbol.toPrimitive];
3041
3041
  if (r !== void 0) {
3042
- var l = r.call(e, t);
3043
- if (typeof l != "object") return l;
3042
+ var i = r.call(e, t);
3043
+ if (typeof i != "object") return i;
3044
3044
  throw new TypeError("@@toPrimitive must return a primitive value.");
3045
3045
  }
3046
3046
  return String(e);
@@ -3053,11 +3053,11 @@ function pe(e, t, r) {
3053
3053
  }
3054
3054
  return e;
3055
3055
  }
3056
- function gt(e) {
3056
+ function dt(e) {
3057
3057
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e !== null ? typeof e : "null"));
3058
3058
  return e;
3059
3059
  }
3060
- const pt = {
3060
+ const gt = {
3061
3061
  js: "javascript",
3062
3062
  ts: "typescript",
3063
3063
  py: "python",
@@ -3076,24 +3076,24 @@ const pt = {
3076
3076
  };
3077
3077
  function me(e) {
3078
3078
  const t = e.toLowerCase().trim();
3079
- return pt[t] || t;
3079
+ return gt[t] || t;
3080
3080
  }
3081
- Le = [W({
3081
+ Oe = [W({
3082
3082
  tagName: "wsx-marked-code"
3083
3083
  })];
3084
- let mt;
3085
- class ft extends q {
3084
+ let pt;
3085
+ class mt extends q {
3086
3086
  constructor() {
3087
3087
  super({
3088
- styles: ge,
3088
+ styles: de,
3089
3089
  styleName: "wsx-marked-code"
3090
- }), J(this, "_autoStyles", ge), J(this, "code", ""), J(this, "language", ""), J(this, "codeElement", null), J(this, "isHighlighting", !1);
3090
+ }), Q(this, "_autoStyles", de), Q(this, "code", ""), Q(this, "language", ""), Q(this, "codeElement", null), Q(this, "isHighlighting", !1);
3091
3091
  }
3092
3092
  static get observedAttributes() {
3093
3093
  return ["code", "language"];
3094
3094
  }
3095
- attributeChangedCallback(t, r, l) {
3096
- t === "code" ? this.code = l || "" : t === "language" && (this.language = l || ""), this.rerender();
3095
+ attributeChangedCallback(t, r, i) {
3096
+ t === "code" ? this.code = i || "" : t === "language" && (this.language = i || ""), this.rerender();
3097
3097
  }
3098
3098
  onRendered() {
3099
3099
  var t;
@@ -3173,123 +3173,123 @@ class ft extends q {
3173
3173
  */
3174
3174
  hashCode(t) {
3175
3175
  let r = 0;
3176
- for (let l = 0; l < t.length; l++) {
3177
- const T = t.charCodeAt(l);
3176
+ for (let i = 0; i < t.length; i++) {
3177
+ const T = t.charCodeAt(i);
3178
3178
  r = (r << 5) - r + T, r = r & r;
3179
3179
  }
3180
3180
  return r.toString(36);
3181
3181
  }
3182
3182
  }
3183
- Fe = ft;
3184
- [mt, Re] = ut(Fe, [], Le, 0, void 0, q).c;
3183
+ Ie = mt;
3184
+ [pt, Re] = ut(Ie, [], Oe, 0, void 0, q).c;
3185
3185
  Re();
3186
3186
  const fe = "wsx-marked-blockquote{display:block;margin:1rem 0;padding:1rem 1.5rem;border-left:4px solid var(--primary-red, #dc2626);background:var(--bg-secondary, #f9f9f9);border-radius:4px;font-style:italic;color:var(--text-secondary, #666)}";
3187
3187
  var Ne;
3188
3188
  let $e, Ce;
3189
- function ht(e, t, r) {
3189
+ function ft(e, t, r) {
3190
3190
  return (t = De(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
3191
3191
  }
3192
- function bt(e, t, r, l, T, $) {
3193
- function A(o, s, c) {
3194
- return function(n, a) {
3195
- return c && c(n), o[s].call(n, a);
3192
+ function ht(e, t, r, i, T, P) {
3193
+ function S(n, c, d) {
3194
+ return function(l, a) {
3195
+ return d && d(l), n[c].call(l, a);
3196
3196
  };
3197
3197
  }
3198
- function S(o, s) {
3199
- for (var c = 0; c < o.length; c++) o[c].call(s);
3200
- return s;
3198
+ function E(n, c) {
3199
+ for (var d = 0; d < n.length; d++) n[d].call(c);
3200
+ return c;
3201
3201
  }
3202
- function E(o, s, c, n) {
3203
- if (typeof o != "function" && (n || o !== void 0)) throw new TypeError(s + " must " + (c || "be") + " a function" + (n ? "" : " or undefined"));
3204
- return o;
3202
+ function w(n, c, d, l) {
3203
+ if (typeof n != "function" && (l || n !== void 0)) throw new TypeError(c + " must " + (d || "be") + " a function" + (l ? "" : " or undefined"));
3204
+ return n;
3205
3205
  }
3206
- function D(o, s, c, n, a, i, p, g, y, h, f, d, b) {
3207
- function x(k) {
3208
- if (!b(k)) throw new TypeError("Attempted to access private element on non-instance");
3206
+ function D(n, c, d, l, a, s, p, g, k, h, m, u, b) {
3207
+ function A(f) {
3208
+ if (!b(f)) throw new TypeError("Attempted to access private element on non-instance");
3209
3209
  }
3210
- var m, _ = s[0], I = s[3], C = !g;
3211
- if (!C) {
3212
- c || Array.isArray(_) || (_ = [_]);
3213
- var u = {}, L = [], w = a === 3 ? "get" : a === 4 || d ? "set" : "value";
3214
- h ? (f || d ? u = { get: he(function() {
3210
+ var x, F = c[0], I = c[3], $ = !g;
3211
+ if (!$) {
3212
+ d || Array.isArray(F) || (F = [F]);
3213
+ var o = {}, R = [], v = a === 3 ? "get" : a === 4 || u ? "set" : "value";
3214
+ h ? (m || u ? o = { get: he(function() {
3215
3215
  return I(this);
3216
- }, n, "get"), set: function(k) {
3217
- s[4](this, k);
3218
- } } : u[w] = I, f || he(u[w], n, a === 2 ? "" : w)) : f || (u = Object.getOwnPropertyDescriptor(o, n));
3216
+ }, l, "get"), set: function(f) {
3217
+ c[4](this, f);
3218
+ } } : o[v] = I, m || he(o[v], l, a === 2 ? "" : v)) : m || (o = Object.getOwnPropertyDescriptor(n, l));
3219
3219
  }
3220
- for (var v = o, j = _.length - 1; j >= 0; j -= c ? 2 : 1) {
3221
- var Z = _[j], B = c ? _[j - 1] : void 0, X = {}, P = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: n, metadata: i, addInitializer: (function(k, O) {
3222
- if (k.v) throw Error("attempted to call addInitializer after decoration was finished");
3223
- E(O, "An initializer", "be", !0), p.push(O);
3220
+ for (var y = n, M = F.length - 1; M >= 0; M -= d ? 2 : 1) {
3221
+ var Z = F[M], B = d ? F[M - 1] : void 0, X = {}, C = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: l, metadata: s, addInitializer: (function(f, O) {
3222
+ if (f.v) throw Error("attempted to call addInitializer after decoration was finished");
3223
+ w(O, "An initializer", "be", !0), p.push(O);
3224
3224
  }).bind(null, X) };
3225
3225
  try {
3226
- if (C) (m = E(Z.call(B, v, P), "class decorators", "return")) && (v = m);
3226
+ if ($) (x = w(Z.call(B, y, C), "class decorators", "return")) && (y = x);
3227
3227
  else {
3228
- var M, z;
3229
- P.static = y, P.private = h, h ? a === 2 ? M = function(k) {
3230
- return x(k), u.value;
3231
- } : (a < 4 && (M = A(u, "get", x)), a !== 3 && (z = A(u, "set", x))) : (M = function(k) {
3232
- return k[n];
3233
- }, (a < 2 || a === 4) && (z = function(k, O) {
3234
- k[n] = O;
3228
+ var j, z;
3229
+ C.static = k, C.private = h, h ? a === 2 ? j = function(f) {
3230
+ return A(f), o.value;
3231
+ } : (a < 4 && (j = S(o, "get", A)), a !== 3 && (z = S(o, "set", A))) : (j = function(f) {
3232
+ return f[l];
3233
+ }, (a < 2 || a === 4) && (z = function(f, O) {
3234
+ f[l] = O;
3235
3235
  }));
3236
- var Y = P.access = { has: h ? b.bind() : function(k) {
3237
- return n in k;
3236
+ var Y = C.access = { has: h ? b.bind() : function(f) {
3237
+ return l in f;
3238
3238
  } };
3239
- if (M && (Y.get = M), z && (Y.set = z), v = Z.call(B, d ? { get: u.get, set: u.set } : u[w], P), d) {
3240
- if (typeof v == "object" && v) (m = E(v.get, "accessor.get")) && (u.get = m), (m = E(v.set, "accessor.set")) && (u.set = m), (m = E(v.init, "accessor.init")) && L.push(m);
3241
- else if (v !== void 0) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
3242
- } else E(v, (f ? "field" : "method") + " decorators", "return") && (f ? L.push(v) : u[w] = v);
3239
+ if (j && (Y.get = j), z && (Y.set = z), y = Z.call(B, u ? { get: o.get, set: o.set } : o[v], C), u) {
3240
+ if (typeof y == "object" && y) (x = w(y.get, "accessor.get")) && (o.get = x), (x = w(y.set, "accessor.set")) && (o.set = x), (x = w(y.init, "accessor.init")) && R.push(x);
3241
+ else if (y !== void 0) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
3242
+ } else w(y, (m ? "field" : "method") + " decorators", "return") && (m ? R.push(y) : o[v] = y);
3243
3243
  }
3244
3244
  } finally {
3245
3245
  X.v = !0;
3246
3246
  }
3247
3247
  }
3248
- return (f || d) && g.push(function(k, O) {
3249
- for (var H = L.length - 1; H >= 0; H--) O = L[H].call(k, O);
3248
+ return (m || u) && g.push(function(f, O) {
3249
+ for (var H = R.length - 1; H >= 0; H--) O = R[H].call(f, O);
3250
3250
  return O;
3251
- }), f || C || (h ? d ? g.push(A(u, "get"), A(u, "set")) : g.push(a === 2 ? u[w] : A.call.bind(u[w])) : Object.defineProperty(o, n, u)), v;
3251
+ }), m || $ || (h ? u ? g.push(S(o, "get"), S(o, "set")) : g.push(a === 2 ? o[v] : S.call.bind(o[v])) : Object.defineProperty(n, l, o)), y;
3252
3252
  }
3253
- function F(o, s) {
3254
- return Object.defineProperty(o, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: s });
3253
+ function L(n, c) {
3254
+ return Object.defineProperty(n, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: c });
3255
3255
  }
3256
- if (arguments.length >= 6) var R = $[Symbol.metadata || Symbol.for("Symbol.metadata")];
3257
- var N = Object.create(R ?? null), U = function(o, s, c, n) {
3258
- var a, i, p = [], g = function(w) {
3259
- return yt(w) === o;
3260
- }, y = /* @__PURE__ */ new Map();
3261
- function h(w) {
3262
- w && p.push(S.bind(null, w));
3256
+ if (arguments.length >= 6) var _ = P[Symbol.metadata || Symbol.for("Symbol.metadata")];
3257
+ var N = Object.create(_ ?? null), U = function(n, c, d, l) {
3258
+ var a, s, p = [], g = function(v) {
3259
+ return kt(v) === n;
3260
+ }, k = /* @__PURE__ */ new Map();
3261
+ function h(v) {
3262
+ v && p.push(E.bind(null, v));
3263
3263
  }
3264
- for (var f = 0; f < s.length; f++) {
3265
- var d = s[f];
3266
- if (Array.isArray(d)) {
3267
- var b = d[1], x = d[2], m = d.length > 3, _ = 16 & b, I = !!(8 & b), C = (b &= 7) == 0, u = x + "/" + I;
3268
- if (!C && !m) {
3269
- var L = y.get(u);
3270
- if (L === !0 || L === 3 && b !== 4 || L === 4 && b !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + x);
3271
- y.set(u, !(b > 2) || b);
3264
+ for (var m = 0; m < c.length; m++) {
3265
+ var u = c[m];
3266
+ if (Array.isArray(u)) {
3267
+ var b = u[1], A = u[2], x = u.length > 3, F = 16 & b, I = !!(8 & b), $ = (b &= 7) == 0, o = A + "/" + I;
3268
+ if (!$ && !x) {
3269
+ var R = k.get(o);
3270
+ if (R === !0 || R === 3 && b !== 4 || R === 4 && b !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + A);
3271
+ k.set(o, !(b > 2) || b);
3272
3272
  }
3273
- D(I ? o : o.prototype, d, _, m ? "#" + x : De(x), b, n, I ? i = i || [] : a = a || [], p, I, m, C, b === 1, I && m ? g : c);
3273
+ D(I ? n : n.prototype, u, F, x ? "#" + A : De(A), b, l, I ? s = s || [] : a = a || [], p, I, x, $, b === 1, I && x ? g : d);
3274
3274
  }
3275
3275
  }
3276
- return h(a), h(i), p;
3276
+ return h(a), h(s), p;
3277
3277
  }(e, t, T, N);
3278
- return r.length || F(e, N), { e: U, get c() {
3279
- var o = [];
3280
- return r.length && [F(D(e, [r], l, e.name, 5, N, o), N), S.bind(null, o, e)];
3278
+ return r.length || L(e, N), { e: U, get c() {
3279
+ var n = [];
3280
+ return r.length && [L(D(e, [r], i, e.name, 5, N, n), N), E.bind(null, n, e)];
3281
3281
  } };
3282
3282
  }
3283
3283
  function De(e) {
3284
- var t = kt(e, "string");
3284
+ var t = bt(e, "string");
3285
3285
  return typeof t == "symbol" ? t : t + "";
3286
3286
  }
3287
- function kt(e, t) {
3287
+ function bt(e, t) {
3288
3288
  if (typeof e != "object" || !e) return e;
3289
3289
  var r = e[Symbol.toPrimitive];
3290
3290
  if (r !== void 0) {
3291
- var l = r.call(e, t);
3292
- if (typeof l != "object") return l;
3291
+ var i = r.call(e, t);
3292
+ if (typeof i != "object") return i;
3293
3293
  throw new TypeError("@@toPrimitive must return a primitive value.");
3294
3294
  }
3295
3295
  return String(e);
@@ -3302,134 +3302,134 @@ function he(e, t, r) {
3302
3302
  }
3303
3303
  return e;
3304
3304
  }
3305
- function yt(e) {
3305
+ function kt(e) {
3306
3306
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e !== null ? typeof e : "null"));
3307
3307
  return e;
3308
3308
  }
3309
3309
  Ce = [W({
3310
3310
  tagName: "wsx-marked-blockquote"
3311
3311
  })];
3312
- let vt;
3313
- class wt extends q {
3312
+ let yt;
3313
+ class vt extends q {
3314
3314
  constructor() {
3315
3315
  super({
3316
3316
  styles: fe,
3317
3317
  styleName: "wsx-marked-blockquote"
3318
- }), ht(this, "_autoStyles", fe);
3318
+ }), ft(this, "_autoStyles", fe);
3319
3319
  }
3320
3320
  render() {
3321
3321
  return /* @__PURE__ */ G("blockquote", null, /* @__PURE__ */ G("slot", null));
3322
3322
  }
3323
3323
  }
3324
- Ne = wt;
3325
- [vt, $e] = bt(Ne, [], Ce, 0, void 0, q).c;
3324
+ Ne = vt;
3325
+ [yt, $e] = ht(Ne, [], Ce, 0, void 0, q).c;
3326
3326
  $e();
3327
3327
  var Pe;
3328
- let Me, je;
3328
+ let je, Me;
3329
3329
  function xt(e, t, r) {
3330
- return (t = Ue(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
3330
+ return (t = ze(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
3331
3331
  }
3332
- function Et(e, t, r, l, T, $) {
3333
- function A(o, s, c) {
3334
- return function(n, a) {
3335
- return c && c(n), o[s].call(n, a);
3332
+ function wt(e, t, r, i, T, P) {
3333
+ function S(n, c, d) {
3334
+ return function(l, a) {
3335
+ return d && d(l), n[c].call(l, a);
3336
3336
  };
3337
3337
  }
3338
- function S(o, s) {
3339
- for (var c = 0; c < o.length; c++) o[c].call(s);
3340
- return s;
3338
+ function E(n, c) {
3339
+ for (var d = 0; d < n.length; d++) n[d].call(c);
3340
+ return c;
3341
3341
  }
3342
- function E(o, s, c, n) {
3343
- if (typeof o != "function" && (n || o !== void 0)) throw new TypeError(s + " must " + (c || "be") + " a function" + (n ? "" : " or undefined"));
3344
- return o;
3342
+ function w(n, c, d, l) {
3343
+ if (typeof n != "function" && (l || n !== void 0)) throw new TypeError(c + " must " + (d || "be") + " a function" + (l ? "" : " or undefined"));
3344
+ return n;
3345
3345
  }
3346
- function D(o, s, c, n, a, i, p, g, y, h, f, d, b) {
3347
- function x(k) {
3348
- if (!b(k)) throw new TypeError("Attempted to access private element on non-instance");
3346
+ function D(n, c, d, l, a, s, p, g, k, h, m, u, b) {
3347
+ function A(f) {
3348
+ if (!b(f)) throw new TypeError("Attempted to access private element on non-instance");
3349
3349
  }
3350
- var m, _ = s[0], I = s[3], C = !g;
3351
- if (!C) {
3352
- c || Array.isArray(_) || (_ = [_]);
3353
- var u = {}, L = [], w = a === 3 ? "get" : a === 4 || d ? "set" : "value";
3354
- h ? (f || d ? u = { get: be(function() {
3350
+ var x, F = c[0], I = c[3], $ = !g;
3351
+ if (!$) {
3352
+ d || Array.isArray(F) || (F = [F]);
3353
+ var o = {}, R = [], v = a === 3 ? "get" : a === 4 || u ? "set" : "value";
3354
+ h ? (m || u ? o = { get: be(function() {
3355
3355
  return I(this);
3356
- }, n, "get"), set: function(k) {
3357
- s[4](this, k);
3358
- } } : u[w] = I, f || be(u[w], n, a === 2 ? "" : w)) : f || (u = Object.getOwnPropertyDescriptor(o, n));
3356
+ }, l, "get"), set: function(f) {
3357
+ c[4](this, f);
3358
+ } } : o[v] = I, m || be(o[v], l, a === 2 ? "" : v)) : m || (o = Object.getOwnPropertyDescriptor(n, l));
3359
3359
  }
3360
- for (var v = o, j = _.length - 1; j >= 0; j -= c ? 2 : 1) {
3361
- var Z = _[j], B = c ? _[j - 1] : void 0, X = {}, P = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: n, metadata: i, addInitializer: (function(k, O) {
3362
- if (k.v) throw Error("attempted to call addInitializer after decoration was finished");
3363
- E(O, "An initializer", "be", !0), p.push(O);
3360
+ for (var y = n, M = F.length - 1; M >= 0; M -= d ? 2 : 1) {
3361
+ var Z = F[M], B = d ? F[M - 1] : void 0, X = {}, C = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: l, metadata: s, addInitializer: (function(f, O) {
3362
+ if (f.v) throw Error("attempted to call addInitializer after decoration was finished");
3363
+ w(O, "An initializer", "be", !0), p.push(O);
3364
3364
  }).bind(null, X) };
3365
3365
  try {
3366
- if (C) (m = E(Z.call(B, v, P), "class decorators", "return")) && (v = m);
3366
+ if ($) (x = w(Z.call(B, y, C), "class decorators", "return")) && (y = x);
3367
3367
  else {
3368
- var M, z;
3369
- P.static = y, P.private = h, h ? a === 2 ? M = function(k) {
3370
- return x(k), u.value;
3371
- } : (a < 4 && (M = A(u, "get", x)), a !== 3 && (z = A(u, "set", x))) : (M = function(k) {
3372
- return k[n];
3373
- }, (a < 2 || a === 4) && (z = function(k, O) {
3374
- k[n] = O;
3368
+ var j, z;
3369
+ C.static = k, C.private = h, h ? a === 2 ? j = function(f) {
3370
+ return A(f), o.value;
3371
+ } : (a < 4 && (j = S(o, "get", A)), a !== 3 && (z = S(o, "set", A))) : (j = function(f) {
3372
+ return f[l];
3373
+ }, (a < 2 || a === 4) && (z = function(f, O) {
3374
+ f[l] = O;
3375
3375
  }));
3376
- var Y = P.access = { has: h ? b.bind() : function(k) {
3377
- return n in k;
3376
+ var Y = C.access = { has: h ? b.bind() : function(f) {
3377
+ return l in f;
3378
3378
  } };
3379
- if (M && (Y.get = M), z && (Y.set = z), v = Z.call(B, d ? { get: u.get, set: u.set } : u[w], P), d) {
3380
- if (typeof v == "object" && v) (m = E(v.get, "accessor.get")) && (u.get = m), (m = E(v.set, "accessor.set")) && (u.set = m), (m = E(v.init, "accessor.init")) && L.push(m);
3381
- else if (v !== void 0) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
3382
- } else E(v, (f ? "field" : "method") + " decorators", "return") && (f ? L.push(v) : u[w] = v);
3379
+ if (j && (Y.get = j), z && (Y.set = z), y = Z.call(B, u ? { get: o.get, set: o.set } : o[v], C), u) {
3380
+ if (typeof y == "object" && y) (x = w(y.get, "accessor.get")) && (o.get = x), (x = w(y.set, "accessor.set")) && (o.set = x), (x = w(y.init, "accessor.init")) && R.push(x);
3381
+ else if (y !== void 0) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
3382
+ } else w(y, (m ? "field" : "method") + " decorators", "return") && (m ? R.push(y) : o[v] = y);
3383
3383
  }
3384
3384
  } finally {
3385
3385
  X.v = !0;
3386
3386
  }
3387
3387
  }
3388
- return (f || d) && g.push(function(k, O) {
3389
- for (var H = L.length - 1; H >= 0; H--) O = L[H].call(k, O);
3388
+ return (m || u) && g.push(function(f, O) {
3389
+ for (var H = R.length - 1; H >= 0; H--) O = R[H].call(f, O);
3390
3390
  return O;
3391
- }), f || C || (h ? d ? g.push(A(u, "get"), A(u, "set")) : g.push(a === 2 ? u[w] : A.call.bind(u[w])) : Object.defineProperty(o, n, u)), v;
3391
+ }), m || $ || (h ? u ? g.push(S(o, "get"), S(o, "set")) : g.push(a === 2 ? o[v] : S.call.bind(o[v])) : Object.defineProperty(n, l, o)), y;
3392
3392
  }
3393
- function F(o, s) {
3394
- return Object.defineProperty(o, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: s });
3393
+ function L(n, c) {
3394
+ return Object.defineProperty(n, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: c });
3395
3395
  }
3396
- if (arguments.length >= 6) var R = $[Symbol.metadata || Symbol.for("Symbol.metadata")];
3397
- var N = Object.create(R ?? null), U = function(o, s, c, n) {
3398
- var a, i, p = [], g = function(w) {
3399
- return St(w) === o;
3400
- }, y = /* @__PURE__ */ new Map();
3401
- function h(w) {
3402
- w && p.push(S.bind(null, w));
3396
+ if (arguments.length >= 6) var _ = P[Symbol.metadata || Symbol.for("Symbol.metadata")];
3397
+ var N = Object.create(_ ?? null), U = function(n, c, d, l) {
3398
+ var a, s, p = [], g = function(v) {
3399
+ return At(v) === n;
3400
+ }, k = /* @__PURE__ */ new Map();
3401
+ function h(v) {
3402
+ v && p.push(E.bind(null, v));
3403
3403
  }
3404
- for (var f = 0; f < s.length; f++) {
3405
- var d = s[f];
3406
- if (Array.isArray(d)) {
3407
- var b = d[1], x = d[2], m = d.length > 3, _ = 16 & b, I = !!(8 & b), C = (b &= 7) == 0, u = x + "/" + I;
3408
- if (!C && !m) {
3409
- var L = y.get(u);
3410
- if (L === !0 || L === 3 && b !== 4 || L === 4 && b !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + x);
3411
- y.set(u, !(b > 2) || b);
3404
+ for (var m = 0; m < c.length; m++) {
3405
+ var u = c[m];
3406
+ if (Array.isArray(u)) {
3407
+ var b = u[1], A = u[2], x = u.length > 3, F = 16 & b, I = !!(8 & b), $ = (b &= 7) == 0, o = A + "/" + I;
3408
+ if (!$ && !x) {
3409
+ var R = k.get(o);
3410
+ if (R === !0 || R === 3 && b !== 4 || R === 4 && b !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + A);
3411
+ k.set(o, !(b > 2) || b);
3412
3412
  }
3413
- D(I ? o : o.prototype, d, _, m ? "#" + x : Ue(x), b, n, I ? i = i || [] : a = a || [], p, I, m, C, b === 1, I && m ? g : c);
3413
+ D(I ? n : n.prototype, u, F, x ? "#" + A : ze(A), b, l, I ? s = s || [] : a = a || [], p, I, x, $, b === 1, I && x ? g : d);
3414
3414
  }
3415
3415
  }
3416
- return h(a), h(i), p;
3416
+ return h(a), h(s), p;
3417
3417
  }(e, t, T, N);
3418
- return r.length || F(e, N), { e: U, get c() {
3419
- var o = [];
3420
- return r.length && [F(D(e, [r], l, e.name, 5, N, o), N), S.bind(null, o, e)];
3418
+ return r.length || L(e, N), { e: U, get c() {
3419
+ var n = [];
3420
+ return r.length && [L(D(e, [r], i, e.name, 5, N, n), N), E.bind(null, n, e)];
3421
3421
  } };
3422
3422
  }
3423
- function Ue(e) {
3424
- var t = At(e, "string");
3423
+ function ze(e) {
3424
+ var t = Et(e, "string");
3425
3425
  return typeof t == "symbol" ? t : t + "";
3426
3426
  }
3427
- function At(e, t) {
3427
+ function Et(e, t) {
3428
3428
  if (typeof e != "object" || !e) return e;
3429
3429
  var r = e[Symbol.toPrimitive];
3430
3430
  if (r !== void 0) {
3431
- var l = r.call(e, t);
3432
- if (typeof l != "object") return l;
3431
+ var i = r.call(e, t);
3432
+ if (typeof i != "object") return i;
3433
3433
  throw new TypeError("@@toPrimitive must return a primitive value.");
3434
3434
  }
3435
3435
  return String(e);
@@ -3442,15 +3442,15 @@ function be(e, t, r) {
3442
3442
  }
3443
3443
  return e;
3444
3444
  }
3445
- function St(e) {
3445
+ function At(e) {
3446
3446
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e !== null ? typeof e : "null"));
3447
3447
  return e;
3448
3448
  }
3449
- je = [W({
3449
+ Me = [W({
3450
3450
  tagName: "wsx-marked-paragraph"
3451
3451
  })];
3452
- let Tt;
3453
- class _t extends q {
3452
+ let St;
3453
+ class Tt extends q {
3454
3454
  constructor() {
3455
3455
  super({
3456
3456
  styleName: "wsx-marked-paragraph"
@@ -3466,110 +3466,110 @@ class _t extends q {
3466
3466
  static get observedAttributes() {
3467
3467
  return ["content"];
3468
3468
  }
3469
- attributeChangedCallback(t, r, l) {
3470
- t === "content" && (this.content = l || "");
3469
+ attributeChangedCallback(t, r, i) {
3470
+ t === "content" && (this.content = i || "");
3471
3471
  }
3472
3472
  render() {
3473
3473
  return /* @__PURE__ */ G("p", { class: "marked-paragraph" }, this.content);
3474
3474
  }
3475
3475
  }
3476
- Pe = _t;
3477
- [Tt, Me] = Et(Pe, [], je, 0, void 0, q).c;
3478
- Me();
3479
- var ze;
3476
+ Pe = Tt;
3477
+ [St, je] = wt(Pe, [], Me, 0, void 0, q).c;
3478
+ je();
3479
+ var Ue;
3480
3480
  let Be, He;
3481
3481
  function ke(e, t, r) {
3482
3482
  return (t = Ge(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
3483
3483
  }
3484
- function It(e, t, r, l, T, $) {
3485
- function A(o, s, c) {
3486
- return function(n, a) {
3487
- return c && c(n), o[s].call(n, a);
3484
+ function _t(e, t, r, i, T, P) {
3485
+ function S(n, c, d) {
3486
+ return function(l, a) {
3487
+ return d && d(l), n[c].call(l, a);
3488
3488
  };
3489
3489
  }
3490
- function S(o, s) {
3491
- for (var c = 0; c < o.length; c++) o[c].call(s);
3492
- return s;
3490
+ function E(n, c) {
3491
+ for (var d = 0; d < n.length; d++) n[d].call(c);
3492
+ return c;
3493
3493
  }
3494
- function E(o, s, c, n) {
3495
- if (typeof o != "function" && (n || o !== void 0)) throw new TypeError(s + " must " + (c || "be") + " a function" + (n ? "" : " or undefined"));
3496
- return o;
3494
+ function w(n, c, d, l) {
3495
+ if (typeof n != "function" && (l || n !== void 0)) throw new TypeError(c + " must " + (d || "be") + " a function" + (l ? "" : " or undefined"));
3496
+ return n;
3497
3497
  }
3498
- function D(o, s, c, n, a, i, p, g, y, h, f, d, b) {
3499
- function x(k) {
3500
- if (!b(k)) throw new TypeError("Attempted to access private element on non-instance");
3498
+ function D(n, c, d, l, a, s, p, g, k, h, m, u, b) {
3499
+ function A(f) {
3500
+ if (!b(f)) throw new TypeError("Attempted to access private element on non-instance");
3501
3501
  }
3502
- var m, _ = s[0], I = s[3], C = !g;
3503
- if (!C) {
3504
- c || Array.isArray(_) || (_ = [_]);
3505
- var u = {}, L = [], w = a === 3 ? "get" : a === 4 || d ? "set" : "value";
3506
- h ? (f || d ? u = { get: ye(function() {
3502
+ var x, F = c[0], I = c[3], $ = !g;
3503
+ if (!$) {
3504
+ d || Array.isArray(F) || (F = [F]);
3505
+ var o = {}, R = [], v = a === 3 ? "get" : a === 4 || u ? "set" : "value";
3506
+ h ? (m || u ? o = { get: ye(function() {
3507
3507
  return I(this);
3508
- }, n, "get"), set: function(k) {
3509
- s[4](this, k);
3510
- } } : u[w] = I, f || ye(u[w], n, a === 2 ? "" : w)) : f || (u = Object.getOwnPropertyDescriptor(o, n));
3508
+ }, l, "get"), set: function(f) {
3509
+ c[4](this, f);
3510
+ } } : o[v] = I, m || ye(o[v], l, a === 2 ? "" : v)) : m || (o = Object.getOwnPropertyDescriptor(n, l));
3511
3511
  }
3512
- for (var v = o, j = _.length - 1; j >= 0; j -= c ? 2 : 1) {
3513
- var Z = _[j], B = c ? _[j - 1] : void 0, X = {}, P = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: n, metadata: i, addInitializer: (function(k, O) {
3514
- if (k.v) throw Error("attempted to call addInitializer after decoration was finished");
3515
- E(O, "An initializer", "be", !0), p.push(O);
3512
+ for (var y = n, M = F.length - 1; M >= 0; M -= d ? 2 : 1) {
3513
+ var Z = F[M], B = d ? F[M - 1] : void 0, X = {}, C = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: l, metadata: s, addInitializer: (function(f, O) {
3514
+ if (f.v) throw Error("attempted to call addInitializer after decoration was finished");
3515
+ w(O, "An initializer", "be", !0), p.push(O);
3516
3516
  }).bind(null, X) };
3517
3517
  try {
3518
- if (C) (m = E(Z.call(B, v, P), "class decorators", "return")) && (v = m);
3518
+ if ($) (x = w(Z.call(B, y, C), "class decorators", "return")) && (y = x);
3519
3519
  else {
3520
- var M, z;
3521
- P.static = y, P.private = h, h ? a === 2 ? M = function(k) {
3522
- return x(k), u.value;
3523
- } : (a < 4 && (M = A(u, "get", x)), a !== 3 && (z = A(u, "set", x))) : (M = function(k) {
3524
- return k[n];
3525
- }, (a < 2 || a === 4) && (z = function(k, O) {
3526
- k[n] = O;
3520
+ var j, z;
3521
+ C.static = k, C.private = h, h ? a === 2 ? j = function(f) {
3522
+ return A(f), o.value;
3523
+ } : (a < 4 && (j = S(o, "get", A)), a !== 3 && (z = S(o, "set", A))) : (j = function(f) {
3524
+ return f[l];
3525
+ }, (a < 2 || a === 4) && (z = function(f, O) {
3526
+ f[l] = O;
3527
3527
  }));
3528
- var Y = P.access = { has: h ? b.bind() : function(k) {
3529
- return n in k;
3528
+ var Y = C.access = { has: h ? b.bind() : function(f) {
3529
+ return l in f;
3530
3530
  } };
3531
- if (M && (Y.get = M), z && (Y.set = z), v = Z.call(B, d ? { get: u.get, set: u.set } : u[w], P), d) {
3532
- if (typeof v == "object" && v) (m = E(v.get, "accessor.get")) && (u.get = m), (m = E(v.set, "accessor.set")) && (u.set = m), (m = E(v.init, "accessor.init")) && L.push(m);
3533
- else if (v !== void 0) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
3534
- } else E(v, (f ? "field" : "method") + " decorators", "return") && (f ? L.push(v) : u[w] = v);
3531
+ if (j && (Y.get = j), z && (Y.set = z), y = Z.call(B, u ? { get: o.get, set: o.set } : o[v], C), u) {
3532
+ if (typeof y == "object" && y) (x = w(y.get, "accessor.get")) && (o.get = x), (x = w(y.set, "accessor.set")) && (o.set = x), (x = w(y.init, "accessor.init")) && R.push(x);
3533
+ else if (y !== void 0) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
3534
+ } else w(y, (m ? "field" : "method") + " decorators", "return") && (m ? R.push(y) : o[v] = y);
3535
3535
  }
3536
3536
  } finally {
3537
3537
  X.v = !0;
3538
3538
  }
3539
3539
  }
3540
- return (f || d) && g.push(function(k, O) {
3541
- for (var H = L.length - 1; H >= 0; H--) O = L[H].call(k, O);
3540
+ return (m || u) && g.push(function(f, O) {
3541
+ for (var H = R.length - 1; H >= 0; H--) O = R[H].call(f, O);
3542
3542
  return O;
3543
- }), f || C || (h ? d ? g.push(A(u, "get"), A(u, "set")) : g.push(a === 2 ? u[w] : A.call.bind(u[w])) : Object.defineProperty(o, n, u)), v;
3543
+ }), m || $ || (h ? u ? g.push(S(o, "get"), S(o, "set")) : g.push(a === 2 ? o[v] : S.call.bind(o[v])) : Object.defineProperty(n, l, o)), y;
3544
3544
  }
3545
- function F(o, s) {
3546
- return Object.defineProperty(o, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: s });
3545
+ function L(n, c) {
3546
+ return Object.defineProperty(n, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: c });
3547
3547
  }
3548
- if (arguments.length >= 6) var R = $[Symbol.metadata || Symbol.for("Symbol.metadata")];
3549
- var N = Object.create(R ?? null), U = function(o, s, c, n) {
3550
- var a, i, p = [], g = function(w) {
3551
- return Rt(w) === o;
3552
- }, y = /* @__PURE__ */ new Map();
3553
- function h(w) {
3554
- w && p.push(S.bind(null, w));
3548
+ if (arguments.length >= 6) var _ = P[Symbol.metadata || Symbol.for("Symbol.metadata")];
3549
+ var N = Object.create(_ ?? null), U = function(n, c, d, l) {
3550
+ var a, s, p = [], g = function(v) {
3551
+ return It(v) === n;
3552
+ }, k = /* @__PURE__ */ new Map();
3553
+ function h(v) {
3554
+ v && p.push(E.bind(null, v));
3555
3555
  }
3556
- for (var f = 0; f < s.length; f++) {
3557
- var d = s[f];
3558
- if (Array.isArray(d)) {
3559
- var b = d[1], x = d[2], m = d.length > 3, _ = 16 & b, I = !!(8 & b), C = (b &= 7) == 0, u = x + "/" + I;
3560
- if (!C && !m) {
3561
- var L = y.get(u);
3562
- if (L === !0 || L === 3 && b !== 4 || L === 4 && b !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + x);
3563
- y.set(u, !(b > 2) || b);
3556
+ for (var m = 0; m < c.length; m++) {
3557
+ var u = c[m];
3558
+ if (Array.isArray(u)) {
3559
+ var b = u[1], A = u[2], x = u.length > 3, F = 16 & b, I = !!(8 & b), $ = (b &= 7) == 0, o = A + "/" + I;
3560
+ if (!$ && !x) {
3561
+ var R = k.get(o);
3562
+ if (R === !0 || R === 3 && b !== 4 || R === 4 && b !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + A);
3563
+ k.set(o, !(b > 2) || b);
3564
3564
  }
3565
- D(I ? o : o.prototype, d, _, m ? "#" + x : Ge(x), b, n, I ? i = i || [] : a = a || [], p, I, m, C, b === 1, I && m ? g : c);
3565
+ D(I ? n : n.prototype, u, F, x ? "#" + A : Ge(A), b, l, I ? s = s || [] : a = a || [], p, I, x, $, b === 1, I && x ? g : d);
3566
3566
  }
3567
3567
  }
3568
- return h(a), h(i), p;
3568
+ return h(a), h(s), p;
3569
3569
  }(e, t, T, N);
3570
- return r.length || F(e, N), { e: U, get c() {
3571
- var o = [];
3572
- return r.length && [F(D(e, [r], l, e.name, 5, N, o), N), S.bind(null, o, e)];
3570
+ return r.length || L(e, N), { e: U, get c() {
3571
+ var n = [];
3572
+ return r.length && [L(D(e, [r], i, e.name, 5, N, n), N), E.bind(null, n, e)];
3573
3573
  } };
3574
3574
  }
3575
3575
  function Ge(e) {
@@ -3580,8 +3580,8 @@ function Ft(e, t) {
3580
3580
  if (typeof e != "object" || !e) return e;
3581
3581
  var r = e[Symbol.toPrimitive];
3582
3582
  if (r !== void 0) {
3583
- var l = r.call(e, t);
3584
- if (typeof l != "object") return l;
3583
+ var i = r.call(e, t);
3584
+ if (typeof i != "object") return i;
3585
3585
  throw new TypeError("@@toPrimitive must return a primitive value.");
3586
3586
  }
3587
3587
  return String(e);
@@ -3594,14 +3594,14 @@ function ye(e, t, r) {
3594
3594
  }
3595
3595
  return e;
3596
3596
  }
3597
- function Rt(e) {
3597
+ function It(e) {
3598
3598
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e !== null ? typeof e : "null"));
3599
3599
  return e;
3600
3600
  }
3601
3601
  He = [W({
3602
3602
  tagName: "wsx-marked-list"
3603
3603
  })];
3604
- let Lt;
3604
+ let Rt;
3605
3605
  class Ot extends q {
3606
3606
  constructor() {
3607
3607
  super(), ke(this, "ordered", void 0), ke(this, "items", void 0);
@@ -3612,11 +3612,11 @@ class Ot extends q {
3612
3612
  enumerable: !0,
3613
3613
  configurable: !0
3614
3614
  });
3615
- let l = this.reactive([]);
3615
+ let i = this.reactive([]);
3616
3616
  Object.defineProperty(this, "items", {
3617
- get: () => l,
3617
+ get: () => i,
3618
3618
  set: (T) => {
3619
- l = T !== null && typeof T < "u" && (Array.isArray(T) || typeof T == "object") ? this.reactive(T) : T, this.scheduleRerender();
3619
+ i = T !== null && typeof T < "u" && (Array.isArray(T) || typeof T == "object") ? this.reactive(T) : T, this.scheduleRerender();
3620
3620
  },
3621
3621
  enumerable: !0,
3622
3622
  configurable: !0
@@ -3626,115 +3626,115 @@ class Ot extends q {
3626
3626
  return this.ordered ? /* @__PURE__ */ G("ol", { class: "marked-list" }, this.items.map((t, r) => /* @__PURE__ */ G("li", { key: r, class: "marked-list-item" }, t))) : /* @__PURE__ */ G("ul", { class: "marked-list" }, this.items.map((t, r) => /* @__PURE__ */ G("li", { key: r, class: "marked-list-item" }, t)));
3627
3627
  }
3628
3628
  }
3629
- ze = Ot;
3630
- [Lt, Be] = It(ze, [], He, 0, void 0, q).c;
3629
+ Ue = Ot;
3630
+ [Rt, Be] = _t(Ue, [], He, 0, void 0, q).c;
3631
3631
  Be();
3632
3632
  var Ze;
3633
3633
  let Ye, Xe;
3634
- function Nt(e, t, r) {
3634
+ function Lt(e, t, r) {
3635
3635
  return (t = qe(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
3636
3636
  }
3637
- function $t(e, t, r, l, T, $) {
3638
- function A(o, s, c) {
3639
- return function(n, a) {
3640
- return c && c(n), o[s].call(n, a);
3637
+ function Nt(e, t, r, i, T, P) {
3638
+ function S(n, c, d) {
3639
+ return function(l, a) {
3640
+ return d && d(l), n[c].call(l, a);
3641
3641
  };
3642
3642
  }
3643
- function S(o, s) {
3644
- for (var c = 0; c < o.length; c++) o[c].call(s);
3645
- return s;
3643
+ function E(n, c) {
3644
+ for (var d = 0; d < n.length; d++) n[d].call(c);
3645
+ return c;
3646
3646
  }
3647
- function E(o, s, c, n) {
3648
- if (typeof o != "function" && (n || o !== void 0)) throw new TypeError(s + " must " + (c || "be") + " a function" + (n ? "" : " or undefined"));
3649
- return o;
3647
+ function w(n, c, d, l) {
3648
+ if (typeof n != "function" && (l || n !== void 0)) throw new TypeError(c + " must " + (d || "be") + " a function" + (l ? "" : " or undefined"));
3649
+ return n;
3650
3650
  }
3651
- function D(o, s, c, n, a, i, p, g, y, h, f, d, b) {
3652
- function x(k) {
3653
- if (!b(k)) throw new TypeError("Attempted to access private element on non-instance");
3651
+ function D(n, c, d, l, a, s, p, g, k, h, m, u, b) {
3652
+ function A(f) {
3653
+ if (!b(f)) throw new TypeError("Attempted to access private element on non-instance");
3654
3654
  }
3655
- var m, _ = s[0], I = s[3], C = !g;
3656
- if (!C) {
3657
- c || Array.isArray(_) || (_ = [_]);
3658
- var u = {}, L = [], w = a === 3 ? "get" : a === 4 || d ? "set" : "value";
3659
- h ? (f || d ? u = { get: ve(function() {
3655
+ var x, F = c[0], I = c[3], $ = !g;
3656
+ if (!$) {
3657
+ d || Array.isArray(F) || (F = [F]);
3658
+ var o = {}, R = [], v = a === 3 ? "get" : a === 4 || u ? "set" : "value";
3659
+ h ? (m || u ? o = { get: ve(function() {
3660
3660
  return I(this);
3661
- }, n, "get"), set: function(k) {
3662
- s[4](this, k);
3663
- } } : u[w] = I, f || ve(u[w], n, a === 2 ? "" : w)) : f || (u = Object.getOwnPropertyDescriptor(o, n));
3661
+ }, l, "get"), set: function(f) {
3662
+ c[4](this, f);
3663
+ } } : o[v] = I, m || ve(o[v], l, a === 2 ? "" : v)) : m || (o = Object.getOwnPropertyDescriptor(n, l));
3664
3664
  }
3665
- for (var v = o, j = _.length - 1; j >= 0; j -= c ? 2 : 1) {
3666
- var Z = _[j], B = c ? _[j - 1] : void 0, X = {}, P = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: n, metadata: i, addInitializer: (function(k, O) {
3667
- if (k.v) throw ie("attempted to call addInitializer after decoration was finished");
3668
- E(O, "An initializer", "be", !0), p.push(O);
3665
+ for (var y = n, M = F.length - 1; M >= 0; M -= d ? 2 : 1) {
3666
+ var Z = F[M], B = d ? F[M - 1] : void 0, X = {}, C = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: l, metadata: s, addInitializer: (function(f, O) {
3667
+ if (f.v) throw se("attempted to call addInitializer after decoration was finished");
3668
+ w(O, "An initializer", "be", !0), p.push(O);
3669
3669
  }).bind(null, X) };
3670
3670
  try {
3671
- if (C) (m = E(Z.call(B, v, P), "class decorators", "return")) && (v = m);
3671
+ if ($) (x = w(Z.call(B, y, C), "class decorators", "return")) && (y = x);
3672
3672
  else {
3673
- var M, z;
3674
- P.static = y, P.private = h, h ? a === 2 ? M = function(k) {
3675
- return x(k), u.value;
3676
- } : (a < 4 && (M = A(u, "get", x)), a !== 3 && (z = A(u, "set", x))) : (M = function(k) {
3677
- return k[n];
3678
- }, (a < 2 || a === 4) && (z = function(k, O) {
3679
- k[n] = O;
3673
+ var j, z;
3674
+ C.static = k, C.private = h, h ? a === 2 ? j = function(f) {
3675
+ return A(f), o.value;
3676
+ } : (a < 4 && (j = S(o, "get", A)), a !== 3 && (z = S(o, "set", A))) : (j = function(f) {
3677
+ return f[l];
3678
+ }, (a < 2 || a === 4) && (z = function(f, O) {
3679
+ f[l] = O;
3680
3680
  }));
3681
- var Y = P.access = { has: h ? b.bind() : function(k) {
3682
- return n in k;
3681
+ var Y = C.access = { has: h ? b.bind() : function(f) {
3682
+ return l in f;
3683
3683
  } };
3684
- if (M && (Y.get = M), z && (Y.set = z), v = Z.call(B, d ? { get: u.get, set: u.set } : u[w], P), d) {
3685
- if (typeof v == "object" && v) (m = E(v.get, "accessor.get")) && (u.get = m), (m = E(v.set, "accessor.set")) && (u.set = m), (m = E(v.init, "accessor.init")) && L.push(m);
3686
- else if (v !== void 0) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
3687
- } else E(v, (f ? "field" : "method") + " decorators", "return") && (f ? L.push(v) : u[w] = v);
3684
+ if (j && (Y.get = j), z && (Y.set = z), y = Z.call(B, u ? { get: o.get, set: o.set } : o[v], C), u) {
3685
+ if (typeof y == "object" && y) (x = w(y.get, "accessor.get")) && (o.get = x), (x = w(y.set, "accessor.set")) && (o.set = x), (x = w(y.init, "accessor.init")) && R.push(x);
3686
+ else if (y !== void 0) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
3687
+ } else w(y, (m ? "field" : "method") + " decorators", "return") && (m ? R.push(y) : o[v] = y);
3688
3688
  }
3689
3689
  } finally {
3690
3690
  X.v = !0;
3691
3691
  }
3692
3692
  }
3693
- return (f || d) && g.push(function(k, O) {
3694
- for (var H = L.length - 1; H >= 0; H--) O = L[H].call(k, O);
3693
+ return (m || u) && g.push(function(f, O) {
3694
+ for (var H = R.length - 1; H >= 0; H--) O = R[H].call(f, O);
3695
3695
  return O;
3696
- }), f || C || (h ? d ? g.push(A(u, "get"), A(u, "set")) : g.push(a === 2 ? u[w] : A.call.bind(u[w])) : Object.defineProperty(o, n, u)), v;
3696
+ }), m || $ || (h ? u ? g.push(S(o, "get"), S(o, "set")) : g.push(a === 2 ? o[v] : S.call.bind(o[v])) : Object.defineProperty(n, l, o)), y;
3697
3697
  }
3698
- function F(o, s) {
3699
- return Object.defineProperty(o, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: s });
3698
+ function L(n, c) {
3699
+ return Object.defineProperty(n, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: c });
3700
3700
  }
3701
- if (arguments.length >= 6) var R = $[Symbol.metadata || Symbol.for("Symbol.metadata")];
3702
- var N = Object.create(R ?? null), U = function(o, s, c, n) {
3703
- var a, i, p = [], g = function(w) {
3704
- return Dt(w) === o;
3705
- }, y = /* @__PURE__ */ new Map();
3706
- function h(w) {
3707
- w && p.push(S.bind(null, w));
3701
+ if (arguments.length >= 6) var _ = P[Symbol.metadata || Symbol.for("Symbol.metadata")];
3702
+ var N = Object.create(_ ?? null), U = function(n, c, d, l) {
3703
+ var a, s, p = [], g = function(v) {
3704
+ return Ct(v) === n;
3705
+ }, k = /* @__PURE__ */ new Map();
3706
+ function h(v) {
3707
+ v && p.push(E.bind(null, v));
3708
3708
  }
3709
- for (var f = 0; f < s.length; f++) {
3710
- var d = s[f];
3711
- if (Array.isArray(d)) {
3712
- var b = d[1], x = d[2], m = d.length > 3, _ = 16 & b, I = !!(8 & b), C = (b &= 7) == 0, u = x + "/" + I;
3713
- if (!C && !m) {
3714
- var L = y.get(u);
3715
- if (L === !0 || L === 3 && b !== 4 || L === 4 && b !== 3) throw ie("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + x);
3716
- y.set(u, !(b > 2) || b);
3709
+ for (var m = 0; m < c.length; m++) {
3710
+ var u = c[m];
3711
+ if (Array.isArray(u)) {
3712
+ var b = u[1], A = u[2], x = u.length > 3, F = 16 & b, I = !!(8 & b), $ = (b &= 7) == 0, o = A + "/" + I;
3713
+ if (!$ && !x) {
3714
+ var R = k.get(o);
3715
+ if (R === !0 || R === 3 && b !== 4 || R === 4 && b !== 3) throw se("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + A);
3716
+ k.set(o, !(b > 2) || b);
3717
3717
  }
3718
- D(I ? o : o.prototype, d, _, m ? "#" + x : qe(x), b, n, I ? i = i || [] : a = a || [], p, I, m, C, b === 1, I && m ? g : c);
3718
+ D(I ? n : n.prototype, u, F, x ? "#" + A : qe(A), b, l, I ? s = s || [] : a = a || [], p, I, x, $, b === 1, I && x ? g : d);
3719
3719
  }
3720
3720
  }
3721
- return h(a), h(i), p;
3721
+ return h(a), h(s), p;
3722
3722
  }(e, t, T, N);
3723
- return r.length || F(e, N), { e: U, get c() {
3724
- var o = [];
3725
- return r.length && [F(D(e, [r], l, e.name, 5, N, o), N), S.bind(null, o, e)];
3723
+ return r.length || L(e, N), { e: U, get c() {
3724
+ var n = [];
3725
+ return r.length && [L(D(e, [r], i, e.name, 5, N, n), N), E.bind(null, n, e)];
3726
3726
  } };
3727
3727
  }
3728
3728
  function qe(e) {
3729
- var t = Ct(e, "string");
3729
+ var t = $t(e, "string");
3730
3730
  return typeof t == "symbol" ? t : t + "";
3731
3731
  }
3732
- function Ct(e, t) {
3732
+ function $t(e, t) {
3733
3733
  if (typeof e != "object" || !e) return e;
3734
3734
  var r = e[Symbol.toPrimitive];
3735
3735
  if (r !== void 0) {
3736
- var l = r.call(e, t);
3737
- if (typeof l != "object") return l;
3736
+ var i = r.call(e, t);
3737
+ if (typeof i != "object") return i;
3738
3738
  throw new TypeError("@@toPrimitive must return a primitive value.");
3739
3739
  }
3740
3740
  return String(e);
@@ -3747,284 +3747,154 @@ function ve(e, t, r) {
3747
3747
  }
3748
3748
  return e;
3749
3749
  }
3750
- function Dt(e) {
3750
+ function Ct(e) {
3751
3751
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e !== null ? typeof e : "null"));
3752
3752
  return e;
3753
3753
  }
3754
3754
  Xe = [W({
3755
3755
  tagName: "wsx-marked-error"
3756
3756
  })];
3757
- let Pt, ie = class extends q {
3757
+ let Dt, se = class extends q {
3758
3758
  constructor() {
3759
3759
  super({
3760
3760
  styleName: "wsx-marked-error"
3761
- }), Nt(this, "message", "");
3761
+ }), Lt(this, "message", "");
3762
3762
  }
3763
3763
  static get observedAttributes() {
3764
3764
  return ["message"];
3765
3765
  }
3766
- attributeChangedCallback(t, r, l) {
3767
- t === "message" && (this.message = l || "", this.rerender());
3766
+ attributeChangedCallback(t, r, i) {
3767
+ t === "message" && (this.message = i || "", this.rerender());
3768
3768
  }
3769
3769
  render() {
3770
3770
  return /* @__PURE__ */ G("div", { class: "error" }, this.message);
3771
3771
  }
3772
3772
  };
3773
- Ze = ie;
3774
- [Pt, Ye] = $t(Ze, [], Xe, 0, void 0, q).c;
3773
+ Ze = se;
3774
+ [Dt, Ye] = Nt(Ze, [], Xe, 0, void 0, q).c;
3775
3775
  Ye();
3776
- var Ke = { exports: {} };
3777
- (function(e) {
3778
- (function(t, r) {
3779
- e.exports ? e.exports = r() : t.log = r();
3780
- })(se, function() {
3781
- var t = function() {
3782
- }, r = "undefined", l = typeof window !== r && typeof window.navigator !== r && /Trident\/|MSIE /.test(window.navigator.userAgent), T = [
3783
- "trace",
3784
- "debug",
3785
- "info",
3786
- "warn",
3787
- "error"
3788
- ], $ = {}, A = null;
3789
- function S(s, c) {
3790
- var n = s[c];
3791
- if (typeof n.bind == "function")
3792
- return n.bind(s);
3793
- try {
3794
- return Function.prototype.bind.call(n, s);
3795
- } catch {
3796
- return function() {
3797
- return Function.prototype.apply.apply(n, [s, arguments]);
3798
- };
3799
- }
3800
- }
3801
- function E() {
3802
- console.log && (console.log.apply ? console.log.apply(console, arguments) : Function.prototype.apply.apply(console.log, [console, arguments])), console.trace && console.trace();
3803
- }
3804
- function D(s) {
3805
- return s === "debug" && (s = "log"), typeof console === r ? !1 : s === "trace" && l ? E : console[s] !== void 0 ? S(console, s) : console.log !== void 0 ? S(console, "log") : t;
3806
- }
3807
- function F() {
3808
- for (var s = this.getLevel(), c = 0; c < T.length; c++) {
3809
- var n = T[c];
3810
- this[n] = c < s ? t : this.methodFactory(n, s, this.name);
3811
- }
3812
- if (this.log = this.debug, typeof console === r && s < this.levels.SILENT)
3813
- return "No console available for logging";
3814
- }
3815
- function R(s) {
3816
- return function() {
3817
- typeof console !== r && (F.call(this), this[s].apply(this, arguments));
3818
- };
3819
- }
3820
- function N(s, c, n) {
3821
- return D(s) || R.apply(this, arguments);
3822
- }
3823
- function U(s, c) {
3824
- var n = this, a, i, p, g = "loglevel";
3825
- typeof s == "string" ? g += ":" + s : typeof s == "symbol" && (g = void 0);
3826
- function y(x) {
3827
- var m = (T[x] || "silent").toUpperCase();
3828
- if (!(typeof window === r || !g)) {
3829
- try {
3830
- window.localStorage[g] = m;
3831
- return;
3832
- } catch {
3833
- }
3834
- try {
3835
- window.document.cookie = encodeURIComponent(g) + "=" + m + ";";
3836
- } catch {
3837
- }
3838
- }
3839
- }
3840
- function h() {
3841
- var x;
3842
- if (!(typeof window === r || !g)) {
3843
- try {
3844
- x = window.localStorage[g];
3845
- } catch {
3846
- }
3847
- if (typeof x === r)
3848
- try {
3849
- var m = window.document.cookie, _ = encodeURIComponent(g), I = m.indexOf(_ + "=");
3850
- I !== -1 && (x = /^([^;]+)/.exec(
3851
- m.slice(I + _.length + 1)
3852
- )[1]);
3853
- } catch {
3854
- }
3855
- return n.levels[x] === void 0 && (x = void 0), x;
3856
- }
3857
- }
3858
- function f() {
3859
- if (!(typeof window === r || !g)) {
3860
- try {
3861
- window.localStorage.removeItem(g);
3862
- } catch {
3863
- }
3864
- try {
3865
- window.document.cookie = encodeURIComponent(g) + "=; expires=Thu, 01 Jan 1970 00:00:00 UTC";
3866
- } catch {
3867
- }
3868
- }
3869
- }
3870
- function d(x) {
3871
- var m = x;
3872
- if (typeof m == "string" && n.levels[m.toUpperCase()] !== void 0 && (m = n.levels[m.toUpperCase()]), typeof m == "number" && m >= 0 && m <= n.levels.SILENT)
3873
- return m;
3874
- throw new TypeError("log.setLevel() called with invalid level: " + x);
3875
- }
3876
- n.name = s, n.levels = {
3877
- TRACE: 0,
3878
- DEBUG: 1,
3879
- INFO: 2,
3880
- WARN: 3,
3881
- ERROR: 4,
3882
- SILENT: 5
3883
- }, n.methodFactory = c || N, n.getLevel = function() {
3884
- return p ?? i ?? a;
3885
- }, n.setLevel = function(x, m) {
3886
- return p = d(x), m !== !1 && y(p), F.call(n);
3887
- }, n.setDefaultLevel = function(x) {
3888
- i = d(x), h() || n.setLevel(x, !1);
3889
- }, n.resetLevel = function() {
3890
- p = null, f(), F.call(n);
3891
- }, n.enableAll = function(x) {
3892
- n.setLevel(n.levels.TRACE, x);
3893
- }, n.disableAll = function(x) {
3894
- n.setLevel(n.levels.SILENT, x);
3895
- }, n.rebuild = function() {
3896
- if (A !== n && (a = d(A.getLevel())), F.call(n), A === n)
3897
- for (var x in $)
3898
- $[x].rebuild();
3899
- }, a = d(
3900
- A ? A.getLevel() : "WARN"
3901
- );
3902
- var b = h();
3903
- b != null && (p = d(b)), F.call(n);
3904
- }
3905
- A = new U(), A.getLogger = function(c) {
3906
- if (typeof c != "symbol" && typeof c != "string" || c === "")
3907
- throw new TypeError("You must supply a name when creating a logger.");
3908
- var n = $[c];
3909
- return n || (n = $[c] = new U(
3910
- c,
3911
- A.methodFactory
3912
- )), n;
3913
- };
3914
- var o = typeof window !== r ? window.log : void 0;
3915
- return A.noConflict = function() {
3916
- return typeof window !== r && window.log === A && (window.log = o), A;
3917
- }, A.getLoggers = function() {
3918
- return $;
3919
- }, A.default = A, A;
3920
- });
3921
- })(Ke);
3922
- var Mt = Ke.exports;
3923
- const jt = /* @__PURE__ */ _e(Mt), We = {
3924
- trace: "trace",
3925
- debug: "debug",
3926
- info: "info",
3927
- warn: "warn",
3928
- error: "error",
3929
- silent: "silent"
3930
- }, Ut = {
3931
- 0: "trace",
3932
- 1: "debug",
3933
- 2: "info",
3934
- 3: "warn",
3935
- 4: "error",
3936
- 5: "silent"
3776
+ const ae = {
3777
+ trace: 0,
3778
+ debug: 1,
3779
+ info: 2,
3780
+ warn: 3,
3781
+ error: 4,
3782
+ silent: 5
3937
3783
  };
3938
- function le() {
3784
+ function ie() {
3939
3785
  var e, t;
3940
3786
  if (typeof process < "u")
3941
3787
  return process.env.NODE_ENV === "production" || process.env.MODE === "production";
3942
3788
  try {
3943
3789
  const r = globalThis;
3944
3790
  if ((t = (e = r.import) == null ? void 0 : e.meta) != null && t.env) {
3945
- const l = r.import.meta.env;
3946
- return l.MODE === "production" || l.PROD === !0;
3791
+ const i = r.import.meta.env;
3792
+ return i.MODE === "production" || i.PROD === !0;
3947
3793
  }
3948
3794
  } catch {
3949
3795
  }
3950
3796
  return !1;
3951
3797
  }
3952
- const Q = {
3798
+ const xe = {
3953
3799
  name: "WSX",
3954
- level: le() ? "info" : "debug",
3955
- pretty: !le()
3800
+ level: ie() ? "info" : "debug",
3801
+ pretty: !ie()
3956
3802
  };
3957
- function zt(e = {}) {
3958
- const { name: t, level: r } = { ...Q, ...e }, l = t || Q.name, T = jt.getLogger(l), $ = r || Q.level;
3959
- return T.setLevel(We[$]), T;
3960
- }
3961
3803
  function V(e, t) {
3962
3804
  return e ? `[${e}] ${t}` : t;
3963
3805
  }
3964
- class Ve {
3965
- constructor(t = {}) {
3966
- this.isProd = le(), this.name = t.name || Q.name, this.currentLevel = t.level || Q.level, this.logInstance = zt(t);
3806
+ class Pt {
3807
+ constructor(t, r) {
3808
+ this.name = t, this.level = r, this.levelValue = ae[r], this.isProd = ie();
3809
+ }
3810
+ /**
3811
+ * Check if a log level should be logged
3812
+ */
3813
+ shouldLog(t) {
3814
+ return this.level === "silent" ? !1 : ae[t] >= this.levelValue;
3815
+ }
3816
+ trace(t, ...r) {
3817
+ if (!this.isProd || this.shouldLog("trace")) {
3818
+ const i = V(this.name, t);
3819
+ r.length > 0 ? console.debug(i, ...r) : console.debug(i);
3820
+ }
3967
3821
  }
3968
3822
  debug(t, ...r) {
3969
3823
  if (!this.isProd || this.shouldLog("debug")) {
3970
- const l = V(this.name, t);
3971
- r.length > 0 ? this.logInstance.debug(l, ...r) : this.logInstance.debug(l);
3824
+ const i = V(this.name, t);
3825
+ r.length > 0 ? console.debug(i, ...r) : console.debug(i);
3972
3826
  }
3973
3827
  }
3974
3828
  info(t, ...r) {
3975
3829
  if (this.shouldLog("info")) {
3976
- const l = V(this.name, t);
3977
- r.length > 0 ? this.logInstance.info(l, ...r) : this.logInstance.info(l);
3830
+ const i = V(this.name, t);
3831
+ r.length > 0 ? console.info(i, ...r) : console.info(i);
3978
3832
  }
3979
3833
  }
3980
3834
  warn(t, ...r) {
3981
- const l = V(this.name, t);
3982
- r.length > 0 ? this.logInstance.warn(l, ...r) : this.logInstance.warn(l);
3835
+ if (this.shouldLog("warn")) {
3836
+ const i = V(this.name, t);
3837
+ r.length > 0 ? console.warn(i, ...r) : console.warn(i);
3838
+ }
3983
3839
  }
3984
3840
  error(t, ...r) {
3985
- const l = V(this.name, t);
3986
- r.length > 0 ? this.logInstance.error(l, ...r) : this.logInstance.error(l);
3987
- }
3988
- fatal(t, ...r) {
3989
- const l = V(this.name, t);
3990
- r.length > 0 ? this.logInstance.error(`[FATAL] ${l}`, ...r) : this.logInstance.error(`[FATAL] ${l}`);
3991
- }
3992
- trace(t, ...r) {
3993
- if (!this.isProd || this.shouldLog("trace")) {
3994
- const l = V(this.name, t);
3995
- r.length > 0 ? this.logInstance.trace(l, ...r) : this.logInstance.trace(l);
3841
+ if (this.shouldLog("error")) {
3842
+ const i = V(this.name, t);
3843
+ r.length > 0 ? console.error(i, ...r) : console.error(i);
3996
3844
  }
3997
3845
  }
3998
3846
  /**
3999
- * Check if a log level should be logged based on current level
3847
+ * Set the log level dynamically
4000
3848
  */
4001
- shouldLog(t) {
4002
- const r = ["trace", "debug", "info", "warn", "error", "silent"], l = r.indexOf(this.currentLevel);
4003
- return r.indexOf(t) >= l;
3849
+ setLevel(t) {
3850
+ this.level = t, this.levelValue = ae[t];
4004
3851
  }
4005
3852
  /**
4006
- * Get the underlying loglevel logger instance
3853
+ * Get the current log level
4007
3854
  */
4008
- getLoglevelLogger() {
4009
- return this.logInstance;
3855
+ getLevel() {
3856
+ return this.level;
3857
+ }
3858
+ }
3859
+ class Ke {
3860
+ constructor(t = {}) {
3861
+ this.name = t.name || xe.name, this.currentLevel = t.level || xe.level, this.nativeLogger = new Pt(this.name, this.currentLevel);
3862
+ }
3863
+ debug(t, ...r) {
3864
+ this.nativeLogger.debug(t, ...r);
3865
+ }
3866
+ info(t, ...r) {
3867
+ this.nativeLogger.info(t, ...r);
3868
+ }
3869
+ warn(t, ...r) {
3870
+ this.nativeLogger.warn(t, ...r);
3871
+ }
3872
+ error(t, ...r) {
3873
+ this.nativeLogger.error(t, ...r);
3874
+ }
3875
+ fatal(t, ...r) {
3876
+ const i = V(this.name, `[FATAL] ${t}`);
3877
+ r.length > 0 ? console.error(i, ...r) : console.error(i);
3878
+ }
3879
+ trace(t, ...r) {
3880
+ this.nativeLogger.trace(t, ...r);
4010
3881
  }
4011
3882
  /**
4012
3883
  * Set the log level dynamically
4013
3884
  */
4014
3885
  setLevel(t) {
4015
- this.currentLevel = t, this.logInstance.setLevel(We[t]);
3886
+ this.currentLevel = t, this.nativeLogger.setLevel(t);
4016
3887
  }
4017
3888
  /**
4018
3889
  * Get the current log level
4019
3890
  */
4020
3891
  getLevel() {
4021
- const t = this.logInstance.getLevel();
4022
- return Ut[t] || this.currentLevel;
3892
+ return this.nativeLogger.getLevel();
4023
3893
  }
4024
3894
  }
4025
- new Ve();
4026
- function Bt(e, t = {}) {
4027
- return new Ve({
3895
+ new Ke();
3896
+ function jt(e, t = {}) {
3897
+ return new Ke({
4028
3898
  ...t,
4029
3899
  name: t.name || `WSX:${e}`
4030
3900
  });
@@ -4033,33 +3903,33 @@ function we(e) {
4033
3903
  const t = document.createElement("div");
4034
3904
  return t.textContent = e, t.innerHTML;
4035
3905
  }
4036
- function Jt(e) {
3906
+ function qt(e) {
4037
3907
  if (!e || !Array.isArray(e))
4038
3908
  return [];
4039
3909
  const t = [];
4040
3910
  return e.forEach((r) => {
4041
3911
  if (r.type === "paragraph") {
4042
- const l = r;
4043
- l.tokens && Array.isArray(l.tokens) && t.push(...l.tokens);
3912
+ const i = r;
3913
+ i.tokens && Array.isArray(i.tokens) && t.push(...i.tokens);
4044
3914
  } else (r.type === "text" || r.type === "strong" || r.type === "em" || r.type === "link" || r.type === "code" || r.type === "br") && t.push(r);
4045
3915
  }), t;
4046
3916
  }
4047
- function ee(e) {
3917
+ function J(e) {
4048
3918
  return !e || !Array.isArray(e) ? "" : e.map((t) => {
4049
3919
  switch (t.type) {
4050
3920
  case "text":
4051
3921
  return t.text || "";
4052
3922
  case "strong": {
4053
- const r = t, l = r.tokens && Array.isArray(r.tokens) ? r.tokens : [];
4054
- return `<strong>${ee(l)}</strong>`;
3923
+ const r = t, i = r.tokens && Array.isArray(r.tokens) ? r.tokens : [];
3924
+ return `<strong>${J(i)}</strong>`;
4055
3925
  }
4056
3926
  case "em": {
4057
- const r = t, l = r.tokens && Array.isArray(r.tokens) ? r.tokens : [];
4058
- return `<em>${ee(l)}</em>`;
3927
+ const r = t, i = r.tokens && Array.isArray(r.tokens) ? r.tokens : [];
3928
+ return `<em>${J(i)}</em>`;
4059
3929
  }
4060
3930
  case "link": {
4061
- const r = t, l = r.title ? ` title="${we(r.title)}"` : "", T = r.tokens && Array.isArray(r.tokens) ? r.tokens : [];
4062
- return `<a href="${r.href || "#"}"${l}>${ee(T)}</a>`;
3931
+ const r = t, i = r.title ? ` title="${we(r.title)}"` : "", T = r.tokens && Array.isArray(r.tokens) ? r.tokens : [];
3932
+ return `<a href="${r.href || "#"}"${i}>${J(T)}</a>`;
4063
3933
  }
4064
3934
  case "code":
4065
3935
  return `<code>${we(t.text || "")}</code>`;
@@ -4070,118 +3940,118 @@ function ee(e) {
4070
3940
  }
4071
3941
  }).join("");
4072
3942
  }
4073
- const Ht = "wsx-markdown{display:block}.marked-content{line-height:1.7;color:var(--text-primary, #2c3e50)}.marked-content .marked-paragraph{margin:1rem 0;line-height:1.7}.marked-content .marked-list{margin:1rem 0;padding-left:2rem}.marked-content .marked-list-item{margin:.5rem 0;line-height:1.6}.marked-content a{color:var(--primary-red, #dc2626);text-decoration:none;border-bottom:1px solid transparent;transition:border-color .2s ease}.marked-content a:hover{border-bottom-color:var(--primary-red, #dc2626)}.marked-content strong{font-weight:600;color:var(--text-primary, #2c3e50)}.marked-content em{font-style:italic}.marked-content hr{border:none;border-top:2px solid var(--border-color, #e0e0e0);margin:2rem 0}.marked-content img{max-width:100%;height:auto;border-radius:8px;margin:1rem 0}.error{color:#dc2626;padding:1rem;background:#fee2e2;border-radius:6px;border:1px solid #fecaca}";
4074
- var Je;
4075
- let Qe, et;
3943
+ const Mt = "wsx-markdown{display:block}.marked-content{line-height:1.7;color:var(--text-primary, #2c3e50)}.marked-content .marked-paragraph{margin:1rem 0;line-height:1.7}.marked-content .marked-list{margin:1rem 0;padding-left:2rem}.marked-content .marked-list-item{margin:.5rem 0;line-height:1.6}.marked-content a{color:var(--primary-red, #dc2626);text-decoration:none;border-bottom:1px solid transparent;transition:border-color .2s ease}.marked-content a:hover{border-bottom-color:var(--primary-red, #dc2626)}.marked-content strong{font-weight:600;color:var(--text-primary, #2c3e50)}.marked-content em{font-style:italic}.marked-content hr{border:none;border-top:2px solid var(--border-color, #e0e0e0);margin:2rem 0}.marked-content img{max-width:100%;height:auto;border-radius:8px;margin:1rem 0}.error{color:#dc2626;padding:1rem;background:#fee2e2;border-radius:6px;border:1px solid #fecaca}";
3944
+ var We;
3945
+ let Ve, Qe;
4076
3946
  function ne(e, t, r) {
4077
- return (t = tt(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
3947
+ return (t = Je(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
4078
3948
  }
4079
- function Gt(e, t, r, l, T, $) {
4080
- function A(o, s, c) {
4081
- return function(n, a) {
4082
- return c && c(n), o[s].call(n, a);
3949
+ function zt(e, t, r, i, T, P) {
3950
+ function S(n, c, d) {
3951
+ return function(l, a) {
3952
+ return d && d(l), n[c].call(l, a);
4083
3953
  };
4084
3954
  }
4085
- function S(o, s) {
4086
- for (var c = 0; c < o.length; c++) o[c].call(s);
4087
- return s;
3955
+ function E(n, c) {
3956
+ for (var d = 0; d < n.length; d++) n[d].call(c);
3957
+ return c;
4088
3958
  }
4089
- function E(o, s, c, n) {
4090
- if (typeof o != "function" && (n || o !== void 0)) throw new TypeError(s + " must " + (c || "be") + " a function" + (n ? "" : " or undefined"));
4091
- return o;
3959
+ function w(n, c, d, l) {
3960
+ if (typeof n != "function" && (l || n !== void 0)) throw new TypeError(c + " must " + (d || "be") + " a function" + (l ? "" : " or undefined"));
3961
+ return n;
4092
3962
  }
4093
- function D(o, s, c, n, a, i, p, g, y, h, f, d, b) {
4094
- function x(k) {
4095
- if (!b(k)) throw new TypeError("Attempted to access private element on non-instance");
3963
+ function D(n, c, d, l, a, s, p, g, k, h, m, u, b) {
3964
+ function A(f) {
3965
+ if (!b(f)) throw new TypeError("Attempted to access private element on non-instance");
4096
3966
  }
4097
- var m, _ = s[0], I = s[3], C = !g;
4098
- if (!C) {
4099
- c || Array.isArray(_) || (_ = [_]);
4100
- var u = {}, L = [], w = a === 3 ? "get" : a === 4 || d ? "set" : "value";
4101
- h ? (f || d ? u = { get: xe(function() {
3967
+ var x, F = c[0], I = c[3], $ = !g;
3968
+ if (!$) {
3969
+ d || Array.isArray(F) || (F = [F]);
3970
+ var o = {}, R = [], v = a === 3 ? "get" : a === 4 || u ? "set" : "value";
3971
+ h ? (m || u ? o = { get: Ee(function() {
4102
3972
  return I(this);
4103
- }, n, "get"), set: function(k) {
4104
- s[4](this, k);
4105
- } } : u[w] = I, f || xe(u[w], n, a === 2 ? "" : w)) : f || (u = Object.getOwnPropertyDescriptor(o, n));
3973
+ }, l, "get"), set: function(f) {
3974
+ c[4](this, f);
3975
+ } } : o[v] = I, m || Ee(o[v], l, a === 2 ? "" : v)) : m || (o = Object.getOwnPropertyDescriptor(n, l));
4106
3976
  }
4107
- for (var v = o, j = _.length - 1; j >= 0; j -= c ? 2 : 1) {
4108
- var Z = _[j], B = c ? _[j - 1] : void 0, X = {}, P = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: n, metadata: i, addInitializer: (function(k, O) {
4109
- if (k.v) throw Error("attempted to call addInitializer after decoration was finished");
4110
- E(O, "An initializer", "be", !0), p.push(O);
3977
+ for (var y = n, M = F.length - 1; M >= 0; M -= d ? 2 : 1) {
3978
+ var Z = F[M], B = d ? F[M - 1] : void 0, X = {}, C = { kind: ["field", "accessor", "method", "getter", "setter", "class"][a], name: l, metadata: s, addInitializer: (function(f, O) {
3979
+ if (f.v) throw Error("attempted to call addInitializer after decoration was finished");
3980
+ w(O, "An initializer", "be", !0), p.push(O);
4111
3981
  }).bind(null, X) };
4112
3982
  try {
4113
- if (C) (m = E(Z.call(B, v, P), "class decorators", "return")) && (v = m);
3983
+ if ($) (x = w(Z.call(B, y, C), "class decorators", "return")) && (y = x);
4114
3984
  else {
4115
- var M, z;
4116
- P.static = y, P.private = h, h ? a === 2 ? M = function(k) {
4117
- return x(k), u.value;
4118
- } : (a < 4 && (M = A(u, "get", x)), a !== 3 && (z = A(u, "set", x))) : (M = function(k) {
4119
- return k[n];
4120
- }, (a < 2 || a === 4) && (z = function(k, O) {
4121
- k[n] = O;
3985
+ var j, z;
3986
+ C.static = k, C.private = h, h ? a === 2 ? j = function(f) {
3987
+ return A(f), o.value;
3988
+ } : (a < 4 && (j = S(o, "get", A)), a !== 3 && (z = S(o, "set", A))) : (j = function(f) {
3989
+ return f[l];
3990
+ }, (a < 2 || a === 4) && (z = function(f, O) {
3991
+ f[l] = O;
4122
3992
  }));
4123
- var Y = P.access = { has: h ? b.bind() : function(k) {
4124
- return n in k;
3993
+ var Y = C.access = { has: h ? b.bind() : function(f) {
3994
+ return l in f;
4125
3995
  } };
4126
- if (M && (Y.get = M), z && (Y.set = z), v = Z.call(B, d ? { get: u.get, set: u.set } : u[w], P), d) {
4127
- if (typeof v == "object" && v) (m = E(v.get, "accessor.get")) && (u.get = m), (m = E(v.set, "accessor.set")) && (u.set = m), (m = E(v.init, "accessor.init")) && L.push(m);
4128
- else if (v !== void 0) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
4129
- } else E(v, (f ? "field" : "method") + " decorators", "return") && (f ? L.push(v) : u[w] = v);
3996
+ if (j && (Y.get = j), z && (Y.set = z), y = Z.call(B, u ? { get: o.get, set: o.set } : o[v], C), u) {
3997
+ if (typeof y == "object" && y) (x = w(y.get, "accessor.get")) && (o.get = x), (x = w(y.set, "accessor.set")) && (o.set = x), (x = w(y.init, "accessor.init")) && R.push(x);
3998
+ else if (y !== void 0) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
3999
+ } else w(y, (m ? "field" : "method") + " decorators", "return") && (m ? R.push(y) : o[v] = y);
4130
4000
  }
4131
4001
  } finally {
4132
4002
  X.v = !0;
4133
4003
  }
4134
4004
  }
4135
- return (f || d) && g.push(function(k, O) {
4136
- for (var H = L.length - 1; H >= 0; H--) O = L[H].call(k, O);
4005
+ return (m || u) && g.push(function(f, O) {
4006
+ for (var H = R.length - 1; H >= 0; H--) O = R[H].call(f, O);
4137
4007
  return O;
4138
- }), f || C || (h ? d ? g.push(A(u, "get"), A(u, "set")) : g.push(a === 2 ? u[w] : A.call.bind(u[w])) : Object.defineProperty(o, n, u)), v;
4008
+ }), m || $ || (h ? u ? g.push(S(o, "get"), S(o, "set")) : g.push(a === 2 ? o[v] : S.call.bind(o[v])) : Object.defineProperty(n, l, o)), y;
4139
4009
  }
4140
- function F(o, s) {
4141
- return Object.defineProperty(o, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: s });
4010
+ function L(n, c) {
4011
+ return Object.defineProperty(n, Symbol.metadata || Symbol.for("Symbol.metadata"), { configurable: !0, enumerable: !0, value: c });
4142
4012
  }
4143
- if (arguments.length >= 6) var R = $[Symbol.metadata || Symbol.for("Symbol.metadata")];
4144
- var N = Object.create(R ?? null), U = function(o, s, c, n) {
4145
- var a, i, p = [], g = function(w) {
4146
- return Yt(w) === o;
4147
- }, y = /* @__PURE__ */ new Map();
4148
- function h(w) {
4149
- w && p.push(S.bind(null, w));
4013
+ if (arguments.length >= 6) var _ = P[Symbol.metadata || Symbol.for("Symbol.metadata")];
4014
+ var N = Object.create(_ ?? null), U = function(n, c, d, l) {
4015
+ var a, s, p = [], g = function(v) {
4016
+ return Bt(v) === n;
4017
+ }, k = /* @__PURE__ */ new Map();
4018
+ function h(v) {
4019
+ v && p.push(E.bind(null, v));
4150
4020
  }
4151
- for (var f = 0; f < s.length; f++) {
4152
- var d = s[f];
4153
- if (Array.isArray(d)) {
4154
- var b = d[1], x = d[2], m = d.length > 3, _ = 16 & b, I = !!(8 & b), C = (b &= 7) == 0, u = x + "/" + I;
4155
- if (!C && !m) {
4156
- var L = y.get(u);
4157
- if (L === !0 || L === 3 && b !== 4 || L === 4 && b !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + x);
4158
- y.set(u, !(b > 2) || b);
4021
+ for (var m = 0; m < c.length; m++) {
4022
+ var u = c[m];
4023
+ if (Array.isArray(u)) {
4024
+ var b = u[1], A = u[2], x = u.length > 3, F = 16 & b, I = !!(8 & b), $ = (b &= 7) == 0, o = A + "/" + I;
4025
+ if (!$ && !x) {
4026
+ var R = k.get(o);
4027
+ if (R === !0 || R === 3 && b !== 4 || R === 4 && b !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + A);
4028
+ k.set(o, !(b > 2) || b);
4159
4029
  }
4160
- D(I ? o : o.prototype, d, _, m ? "#" + x : tt(x), b, n, I ? i = i || [] : a = a || [], p, I, m, C, b === 1, I && m ? g : c);
4030
+ D(I ? n : n.prototype, u, F, x ? "#" + A : Je(A), b, l, I ? s = s || [] : a = a || [], p, I, x, $, b === 1, I && x ? g : d);
4161
4031
  }
4162
4032
  }
4163
- return h(a), h(i), p;
4033
+ return h(a), h(s), p;
4164
4034
  }(e, t, T, N);
4165
- return r.length || F(e, N), { e: U, get c() {
4166
- var o = [];
4167
- return r.length && [F(D(e, [r], l, e.name, 5, N, o), N), S.bind(null, o, e)];
4035
+ return r.length || L(e, N), { e: U, get c() {
4036
+ var n = [];
4037
+ return r.length && [L(D(e, [r], i, e.name, 5, N, n), N), E.bind(null, n, e)];
4168
4038
  } };
4169
4039
  }
4170
- function tt(e) {
4171
- var t = Zt(e, "string");
4040
+ function Je(e) {
4041
+ var t = Ut(e, "string");
4172
4042
  return typeof t == "symbol" ? t : t + "";
4173
4043
  }
4174
- function Zt(e, t) {
4044
+ function Ut(e, t) {
4175
4045
  if (typeof e != "object" || !e) return e;
4176
4046
  var r = e[Symbol.toPrimitive];
4177
4047
  if (r !== void 0) {
4178
- var l = r.call(e, t);
4179
- if (typeof l != "object") return l;
4048
+ var i = r.call(e, t);
4049
+ if (typeof i != "object") return i;
4180
4050
  throw new TypeError("@@toPrimitive must return a primitive value.");
4181
4051
  }
4182
4052
  return String(e);
4183
4053
  }
4184
- function xe(e, t, r) {
4054
+ function Ee(e, t, r) {
4185
4055
  typeof t == "symbol" && (t = (t = t.description) ? "[" + t + "]" : "");
4186
4056
  try {
4187
4057
  Object.defineProperty(e, "name", { configurable: !0, value: r ? r + " " + t : t });
@@ -4189,18 +4059,18 @@ function xe(e, t, r) {
4189
4059
  }
4190
4060
  return e;
4191
4061
  }
4192
- function Yt(e) {
4062
+ function Bt(e) {
4193
4063
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e !== null ? typeof e : "null"));
4194
4064
  return e;
4195
4065
  }
4196
- const oe = Bt("Markdown");
4197
- et = [W({
4066
+ const oe = jt("Markdown");
4067
+ Qe = [W({
4198
4068
  tagName: "wsx-markdown"
4199
4069
  })];
4200
- let Xt;
4201
- class qt extends q {
4070
+ let Ht;
4071
+ class Gt extends q {
4202
4072
  constructor() {
4203
- super(), ne(this, "_autoStyles", Ht), ne(this, "markdown", void 0), ne(this, "customRenderers", {});
4073
+ super(), ne(this, "_autoStyles", Mt), ne(this, "markdown", void 0), ne(this, "customRenderers", {});
4204
4074
  const [t, r] = this.useState("markdown", "");
4205
4075
  Object.defineProperty(this, "markdown", {
4206
4076
  get: t,
@@ -4247,7 +4117,7 @@ class qt extends q {
4247
4117
  if (!this.markdown)
4248
4118
  return /* @__PURE__ */ G("div", { class: "marked-content" });
4249
4119
  try {
4250
- const t = this.stripFrontmatter(this.markdown), r = ce.lexer(t);
4120
+ const t = this.stripFrontmatter(this.markdown), r = le.lexer(t);
4251
4121
  return /* @__PURE__ */ G("div", { class: "marked-content" }, this.renderTokens(r));
4252
4122
  } catch (t) {
4253
4123
  return oe.error("Failed to render markdown", t), /* @__PURE__ */ G("div", { class: "marked-content" }, /* @__PURE__ */ G("wsx-marked-error", { message: `Error: ${t}` }));
@@ -4266,9 +4136,9 @@ class qt extends q {
4266
4136
  renderToken(t) {
4267
4137
  const r = this.customRenderers[t.type];
4268
4138
  if (r) {
4269
- const l = r(t, () => this.defaultRenderToken(t));
4270
- if (l !== null)
4271
- return l;
4139
+ const i = r(t, () => this.defaultRenderToken(t));
4140
+ if (i !== null)
4141
+ return i;
4272
4142
  }
4273
4143
  return this.defaultRenderToken(t);
4274
4144
  }
@@ -4280,7 +4150,7 @@ class qt extends q {
4280
4150
  switch (t.type) {
4281
4151
  case "heading": {
4282
4152
  const r = t;
4283
- return /* @__PURE__ */ G("wsx-marked-heading", { level: r.depth.toString(), text: ee(r.tokens) });
4153
+ return /* @__PURE__ */ G("wsx-marked-heading", { level: r.depth.toString(), text: J(r.tokens) });
4284
4154
  }
4285
4155
  case "code": {
4286
4156
  const r = t;
@@ -4291,27 +4161,27 @@ class qt extends q {
4291
4161
  return /* @__PURE__ */ G("wsx-marked-blockquote", null, this.renderTokens(r.tokens));
4292
4162
  }
4293
4163
  case "paragraph":
4294
- return /* @__PURE__ */ G("wsx-marked-paragraph", { content: ee(t.tokens) });
4164
+ return /* @__PURE__ */ G("wsx-marked-paragraph", { content: J(t.tokens) });
4295
4165
  case "list": {
4296
- const r = t, l = r.items.map((T) => {
4166
+ const r = t, i = r.items.map((T) => {
4297
4167
  if (!T.tokens || !Array.isArray(T.tokens))
4298
4168
  return oe.warn("List item has no tokens or tokens is not an array", {
4299
4169
  item: T
4300
4170
  }), "";
4301
- const $ = this.renderTokens(T.tokens);
4302
- if ($.length === 0)
4171
+ const P = this.renderTokens(T.tokens);
4172
+ if (P.length === 0)
4303
4173
  return "";
4304
- const A = document.createElement("div");
4305
- $.forEach((E) => {
4306
- E && A.appendChild(E);
4174
+ const S = document.createElement("div");
4175
+ P.forEach((w) => {
4176
+ w && S.appendChild(w);
4307
4177
  });
4308
- const S = A.innerHTML;
4309
- return S || oe.warn("tempContainer.innerHTML is empty after appending elements", {
4310
- renderedElementsCount: $.length,
4178
+ const E = S.innerHTML;
4179
+ return E || oe.warn("tempContainer.innerHTML is empty after appending elements", {
4180
+ renderedElementsCount: P.length,
4311
4181
  itemTokens: T.tokens
4312
- }), S;
4182
+ }), E;
4313
4183
  });
4314
- return /* @__PURE__ */ G("wsx-marked-list", { ordered: r.ordered ? "true" : "false", items: l });
4184
+ return /* @__PURE__ */ G("wsx-marked-list", { ordered: r.ordered ? "true" : "false", items: i });
4315
4185
  }
4316
4186
  case "html":
4317
4187
  return /* @__PURE__ */ G("div", null, t.text);
@@ -4322,25 +4192,25 @@ class qt extends q {
4322
4192
  case "text":
4323
4193
  return /* @__PURE__ */ G("span", null, t.text || "");
4324
4194
  default: {
4325
- const l = new ce.Renderer()[t.type], T = (l == null ? void 0 : l(t)) || "";
4195
+ const i = new le.Renderer()[t.type], T = (i == null ? void 0 : i(t)) || "";
4326
4196
  return T ? /* @__PURE__ */ G("div", null, T) : null;
4327
4197
  }
4328
4198
  }
4329
4199
  }
4330
4200
  }
4331
- Je = qt;
4332
- [Xt, Qe] = Gt(Je, [], et, 0, void 0, q).c;
4333
- Qe();
4201
+ We = Gt;
4202
+ [Ht, Ve] = zt(We, [], Qe, 0, void 0, q).c;
4203
+ Ve();
4334
4204
  export {
4335
- vt as Blockquote,
4336
- mt as Code,
4337
- Pt as Error,
4338
- st as Heading,
4339
- Lt as List,
4340
- Xt as Markdown,
4341
- Tt as Paragraph,
4205
+ yt as Blockquote,
4206
+ pt as Code,
4207
+ Dt as Error,
4208
+ nt as Heading,
4209
+ Rt as List,
4210
+ Ht as Markdown,
4211
+ St as Paragraph,
4342
4212
  we as escapeHtml,
4343
- Jt as extractInlineTokens,
4344
- ct as registerWsxLanguage,
4345
- ee as renderInlineTokens
4213
+ qt as extractInlineTokens,
4214
+ lt as registerWsxLanguage,
4215
+ J as renderInlineTokens
4346
4216
  };