@veracity/ai 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/veracity-ai.es.js +480 -481
- package/dist/veracity-ai.umd.js +4 -4
- package/package.json +1 -1
package/dist/veracity-ai.es.js
CHANGED
|
@@ -7,7 +7,7 @@ function R(e, n, ...t) {
|
|
|
7
7
|
const r = document.createElement(e);
|
|
8
8
|
xe(r, n);
|
|
9
9
|
for (const i of t)
|
|
10
|
-
|
|
10
|
+
Ct(r, i);
|
|
11
11
|
return r;
|
|
12
12
|
}
|
|
13
13
|
case "function":
|
|
@@ -25,56 +25,57 @@ function xe(e, n) {
|
|
|
25
25
|
function Jt(e) {
|
|
26
26
|
if (e instanceof Node)
|
|
27
27
|
return e;
|
|
28
|
-
if (e) {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
if (e != null && e[Symbol.iterator]) {
|
|
29
|
+
const n = document.createDocumentFragment();
|
|
30
|
+
for (const t of e)
|
|
31
|
+
Ct(n, t);
|
|
32
|
+
return n;
|
|
32
33
|
} else
|
|
33
|
-
return document.createComment(` ${e} `);
|
|
34
|
+
return e ? document.createTextNode(e) : document.createComment(` ${e} `);
|
|
34
35
|
}
|
|
35
|
-
function
|
|
36
|
+
function Ct(e, n) {
|
|
36
37
|
const t = Jt(n);
|
|
37
38
|
e.appendChild(t);
|
|
38
39
|
}
|
|
39
40
|
function St({ as: e = "div", size: n = "avatar-lg", id: t, ...r }, i) {
|
|
40
41
|
const s = /* @__PURE__ */ R(e, { ...r }, i);
|
|
41
|
-
return e === "button" && !("type" in r) && (s.type = "button"), s.classList.add("avatar"), n && s.classList.add(n), t && s.classList.add(...
|
|
42
|
+
return e === "button" && !("type" in r) && (s.type = "button"), s.classList.add("avatar"), n && s.classList.add(n), t && s.classList.add(...sn(t)), s;
|
|
42
43
|
}
|
|
43
|
-
const
|
|
44
|
+
const Yt = [
|
|
44
45
|
"bg-Land-Green-95",
|
|
45
46
|
"text-Land-Green-30"
|
|
46
|
-
],
|
|
47
|
+
], Xt = [
|
|
47
48
|
"bg-Sunflower-85",
|
|
48
49
|
"text-Sunflower-20"
|
|
49
|
-
],
|
|
50
|
+
], Kt = [
|
|
50
51
|
"bg-Energy-Red-95",
|
|
51
52
|
"text-Energy-Red-45"
|
|
52
|
-
],
|
|
53
|
+
], en = [
|
|
53
54
|
"bg-Sea-Blue-Main-28",
|
|
54
55
|
"text-Sky-Blue-95"
|
|
55
|
-
],
|
|
56
|
+
], tn = [
|
|
56
57
|
"bg-Lavender-90",
|
|
57
58
|
"text-Lavender-50"
|
|
58
|
-
],
|
|
59
|
+
], nn = [
|
|
59
60
|
"bg-Eucalyptus-85",
|
|
60
61
|
"text-Eucalyptus-20"
|
|
61
|
-
],
|
|
62
|
+
], rn = [
|
|
62
63
|
"bg-Terracotta-85",
|
|
63
64
|
"text-Terracotta-20"
|
|
64
|
-
],
|
|
65
|
+
], Xe = [
|
|
66
|
+
Yt,
|
|
65
67
|
Xt,
|
|
66
68
|
Kt,
|
|
67
69
|
en,
|
|
68
70
|
tn,
|
|
69
71
|
nn,
|
|
70
|
-
rn
|
|
71
|
-
sn
|
|
72
|
+
rn
|
|
72
73
|
];
|
|
73
|
-
function
|
|
74
|
-
const n =
|
|
75
|
-
return
|
|
74
|
+
function sn(e) {
|
|
75
|
+
const n = on(e);
|
|
76
|
+
return Xe[Math.floor(Math.abs(n % Xe.length))];
|
|
76
77
|
}
|
|
77
|
-
function
|
|
78
|
+
function on(e) {
|
|
78
79
|
let n = 0;
|
|
79
80
|
for (let t = 0; t < e.length; t++)
|
|
80
81
|
n = e.charCodeAt(t) + ((n << 5) - n);
|
|
@@ -83,21 +84,21 @@ function an(e) {
|
|
|
83
84
|
function J(e) {
|
|
84
85
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
85
86
|
}
|
|
86
|
-
function
|
|
87
|
+
function an({ size: e = "48", ...n }) {
|
|
87
88
|
const t = J("svg");
|
|
88
89
|
t.setAttribute("viewBox", "0 0 48 48"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e), xe(t, n);
|
|
89
90
|
let r = J("path");
|
|
90
91
|
return r.setAttribute("d", "M33.4942 11.8621H39.9088L27.3731 36.1775H20.9585L33.4942 11.8621Z"), t.appendChild(r), r = J("path"), r.setAttribute("d", "M22.4844 27.0056L19.3817 33.1261L8.0625 11.9116H14.3083L22.4844 27.0056Z"), t.appendChild(r), t.classList.add("icon"), t;
|
|
91
92
|
}
|
|
92
|
-
function
|
|
93
|
+
function ln(e) {
|
|
93
94
|
const n = R(
|
|
94
95
|
St,
|
|
95
96
|
e,
|
|
96
|
-
/* @__PURE__ */ R(
|
|
97
|
+
/* @__PURE__ */ R(an, { size: "100%", class: "relative top-[3%]" })
|
|
97
98
|
);
|
|
98
99
|
return n.classList.add("bg-Dark-Blue-Main-18", "text-White"), n;
|
|
99
100
|
}
|
|
100
|
-
var
|
|
101
|
+
var Ue = /* @__PURE__ */ ((e) => (e.ExtraSmall = "20", e.Small = "24", e.Medium = "32", e.Large = "40", e.ExtraLarge = "48", e.ExtraExtraLarge = "60", e.ExtraExtraExtraLarge = "80", e.ExtraExtraExtraExtraLarge = "120", e))(Ue || {});
|
|
101
102
|
function Et({
|
|
102
103
|
size: e = "80",
|
|
103
104
|
...n
|
|
@@ -118,37 +119,37 @@ function Et({
|
|
|
118
119
|
"M36.9229 3.07692C36.9229 1.37759 38.3004 0 39.9998 0C45.2526 0 50.4541 1.03463 55.3071 3.04482C60.1601 5.05501 64.5697 8.00138 68.284 11.7157C71.9984 15.4301 74.9448 19.8396 76.955 24.6927C78.9651 29.5457 79.9998 34.7471 79.9998 40C79.9998 41.6993 78.6222 43.0769 76.9228 43.0769C75.2235 43.0769 73.8459 41.6993 73.8459 40C73.8459 35.5553 72.9705 31.154 71.2695 27.0476C69.5686 22.9412 67.0755 19.2101 63.9326 16.0672C60.7897 12.9242 57.0585 10.4312 52.9521 8.73023C48.8457 7.0293 44.4445 6.15385 39.9998 6.15385C38.3004 6.15385 36.9229 4.77626 36.9229 3.07692Z"
|
|
119
120
|
), i.setAttribute("fill", "#003591"), t.appendChild(i), t;
|
|
120
121
|
}
|
|
121
|
-
const
|
|
122
|
-
function
|
|
123
|
-
const t = n ||
|
|
122
|
+
const un = {};
|
|
123
|
+
function hn(e, n) {
|
|
124
|
+
const t = n || un, r = typeof t.includeImageAlt == "boolean" ? t.includeImageAlt : !0, i = typeof t.includeHtml == "boolean" ? t.includeHtml : !0;
|
|
124
125
|
return At(e, r, i);
|
|
125
126
|
}
|
|
126
127
|
function At(e, n, t) {
|
|
127
|
-
if (
|
|
128
|
+
if (cn(e)) {
|
|
128
129
|
if ("value" in e)
|
|
129
130
|
return e.type === "html" && !t ? "" : e.value;
|
|
130
131
|
if (n && "alt" in e && e.alt)
|
|
131
132
|
return e.alt;
|
|
132
133
|
if ("children" in e)
|
|
133
|
-
return
|
|
134
|
+
return Ke(e.children, n, t);
|
|
134
135
|
}
|
|
135
|
-
return Array.isArray(e) ?
|
|
136
|
+
return Array.isArray(e) ? Ke(e, n, t) : "";
|
|
136
137
|
}
|
|
137
|
-
function
|
|
138
|
+
function Ke(e, n, t) {
|
|
138
139
|
const r = [];
|
|
139
140
|
let i = -1;
|
|
140
141
|
for (; ++i < e.length; )
|
|
141
142
|
r[i] = At(e[i], n, t);
|
|
142
143
|
return r.join("");
|
|
143
144
|
}
|
|
144
|
-
function
|
|
145
|
+
function cn(e) {
|
|
145
146
|
return !!(e && typeof e == "object");
|
|
146
147
|
}
|
|
147
|
-
const
|
|
148
|
-
function
|
|
148
|
+
const et = document.createElement("i");
|
|
149
|
+
function He(e) {
|
|
149
150
|
const n = "&" + e + ";";
|
|
150
|
-
|
|
151
|
-
const t =
|
|
151
|
+
et.innerHTML = n;
|
|
152
|
+
const t = et.textContent;
|
|
152
153
|
return t.charCodeAt(t.length - 1) === 59 && e !== "semi" || t === n ? !1 : t;
|
|
153
154
|
}
|
|
154
155
|
function ae(e, n, t, r) {
|
|
@@ -163,24 +164,24 @@ function ae(e, n, t, r) {
|
|
|
163
164
|
function K(e, n) {
|
|
164
165
|
return e.length > 0 ? (ae(e, e.length, 0, n), e) : n;
|
|
165
166
|
}
|
|
166
|
-
const
|
|
167
|
-
function
|
|
167
|
+
const tt = {}.hasOwnProperty;
|
|
168
|
+
function pn(e) {
|
|
168
169
|
const n = {};
|
|
169
170
|
let t = -1;
|
|
170
171
|
for (; ++t < e.length; )
|
|
171
|
-
|
|
172
|
+
dn(n, e[t]);
|
|
172
173
|
return n;
|
|
173
174
|
}
|
|
174
|
-
function
|
|
175
|
+
function dn(e, n) {
|
|
175
176
|
let t;
|
|
176
177
|
for (t in n) {
|
|
177
|
-
const i = (
|
|
178
|
+
const i = (tt.call(e, t) ? e[t] : void 0) || (e[t] = {}), s = n[t];
|
|
178
179
|
let o;
|
|
179
180
|
if (s)
|
|
180
181
|
for (o in s) {
|
|
181
|
-
|
|
182
|
+
tt.call(i, o) || (i[o] = []);
|
|
182
183
|
const a = s[o];
|
|
183
|
-
|
|
184
|
+
mn(
|
|
184
185
|
// @ts-expect-error Looks like a list.
|
|
185
186
|
i[o],
|
|
186
187
|
Array.isArray(a) ? a : a ? [a] : []
|
|
@@ -188,7 +189,7 @@ function mn(e, n) {
|
|
|
188
189
|
}
|
|
189
190
|
}
|
|
190
191
|
}
|
|
191
|
-
function
|
|
192
|
+
function mn(e, n) {
|
|
192
193
|
let t = -1;
|
|
193
194
|
const r = [];
|
|
194
195
|
for (; ++t < n.length; )
|
|
@@ -211,15 +212,15 @@ function It(e, n) {
|
|
|
211
212
|
function Se(e) {
|
|
212
213
|
return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
213
214
|
}
|
|
214
|
-
const se = ge(/[A-Za-z]/), ie = ge(/[\dA-Za-z]/),
|
|
215
|
-
function
|
|
215
|
+
const se = ge(/[A-Za-z]/), ie = ge(/[\dA-Za-z]/), gn = ge(/[#-'*+\--9=?A-Z^-~]/);
|
|
216
|
+
function Oe(e) {
|
|
216
217
|
return (
|
|
217
218
|
// Special whitespace codes (which have negative values), C0 and Control
|
|
218
219
|
// character DEL
|
|
219
220
|
e !== null && (e < 32 || e === 127)
|
|
220
221
|
);
|
|
221
222
|
}
|
|
222
|
-
const
|
|
223
|
+
const Ne = ge(/\d/), fn = ge(/[\dA-Fa-f]/), wn = ge(/[!-/:-@[-`{-~]/);
|
|
223
224
|
function A(e) {
|
|
224
225
|
return e !== null && e < -2;
|
|
225
226
|
}
|
|
@@ -229,7 +230,7 @@ function Z(e) {
|
|
|
229
230
|
function _(e) {
|
|
230
231
|
return e === -2 || e === -1 || e === 32;
|
|
231
232
|
}
|
|
232
|
-
const
|
|
233
|
+
const bn = ge(new RegExp("\\p{P}|\\p{S}", "u")), xn = ge(/\s/);
|
|
233
234
|
function ge(e) {
|
|
234
235
|
return n;
|
|
235
236
|
function n(t) {
|
|
@@ -247,10 +248,10 @@ function M(e, n, t, r) {
|
|
|
247
248
|
return _(p) && s++ < i ? (e.consume(p), a) : (e.exit(t), n(p));
|
|
248
249
|
}
|
|
249
250
|
}
|
|
250
|
-
const
|
|
251
|
-
tokenize:
|
|
251
|
+
const yn = {
|
|
252
|
+
tokenize: kn
|
|
252
253
|
};
|
|
253
|
-
function
|
|
254
|
+
function kn(e) {
|
|
254
255
|
const n = e.attempt(
|
|
255
256
|
this.parser.constructs.contentInitial,
|
|
256
257
|
r,
|
|
@@ -283,20 +284,20 @@ function Cn(e) {
|
|
|
283
284
|
return A(a) ? (e.consume(a), e.exit("chunkText"), s) : (e.consume(a), o);
|
|
284
285
|
}
|
|
285
286
|
}
|
|
286
|
-
const
|
|
287
|
+
const Cn = {
|
|
288
|
+
tokenize: Sn
|
|
289
|
+
}, nt = {
|
|
287
290
|
tokenize: En
|
|
288
|
-
}, rt = {
|
|
289
|
-
tokenize: An
|
|
290
291
|
};
|
|
291
|
-
function
|
|
292
|
+
function Sn(e) {
|
|
292
293
|
const n = this, t = [];
|
|
293
294
|
let r = 0, i, s, o;
|
|
294
295
|
return a;
|
|
295
296
|
function a(C) {
|
|
296
297
|
if (r < t.length) {
|
|
297
|
-
const
|
|
298
|
-
return n.containerState =
|
|
299
|
-
|
|
298
|
+
const O = t[r];
|
|
299
|
+
return n.containerState = O[1], e.attempt(
|
|
300
|
+
O[0].continuation,
|
|
300
301
|
p,
|
|
301
302
|
h
|
|
302
303
|
)(C);
|
|
@@ -306,22 +307,22 @@ function En(e) {
|
|
|
306
307
|
function p(C) {
|
|
307
308
|
if (r++, n.containerState._closeFlow) {
|
|
308
309
|
n.containerState._closeFlow = void 0, i && G();
|
|
309
|
-
const
|
|
310
|
-
let D =
|
|
310
|
+
const O = n.events.length;
|
|
311
|
+
let D = O, b;
|
|
311
312
|
for (; D--; )
|
|
312
313
|
if (n.events[D][0] === "exit" && n.events[D][1].type === "chunkFlow") {
|
|
313
314
|
b = n.events[D][1].end;
|
|
314
315
|
break;
|
|
315
316
|
}
|
|
316
317
|
y(r);
|
|
317
|
-
let z =
|
|
318
|
+
let z = O;
|
|
318
319
|
for (; z < n.events.length; )
|
|
319
320
|
n.events[z][1].end = Object.assign({}, b), z++;
|
|
320
321
|
return ae(
|
|
321
322
|
n.events,
|
|
322
323
|
D + 1,
|
|
323
324
|
0,
|
|
324
|
-
n.events.slice(
|
|
325
|
+
n.events.slice(O)
|
|
325
326
|
), n.events.length = z, h(C);
|
|
326
327
|
}
|
|
327
328
|
return a(C);
|
|
@@ -335,7 +336,7 @@ function En(e) {
|
|
|
335
336
|
n.interrupt = !!(i.currentConstruct && !i._gfmTableDynamicInterruptHack);
|
|
336
337
|
}
|
|
337
338
|
return n.containerState = {}, e.check(
|
|
338
|
-
|
|
339
|
+
nt,
|
|
339
340
|
m,
|
|
340
341
|
d
|
|
341
342
|
)(C);
|
|
@@ -348,7 +349,7 @@ function En(e) {
|
|
|
348
349
|
}
|
|
349
350
|
function g(C) {
|
|
350
351
|
return n.containerState = {}, e.attempt(
|
|
351
|
-
|
|
352
|
+
nt,
|
|
352
353
|
c,
|
|
353
354
|
k
|
|
354
355
|
)(C);
|
|
@@ -369,14 +370,14 @@ function En(e) {
|
|
|
369
370
|
}
|
|
370
371
|
function T(C) {
|
|
371
372
|
if (C === null) {
|
|
372
|
-
|
|
373
|
+
q(e.exit("chunkFlow"), !0), y(0), e.consume(C);
|
|
373
374
|
return;
|
|
374
375
|
}
|
|
375
|
-
return A(C) ? (e.consume(C),
|
|
376
|
+
return A(C) ? (e.consume(C), q(e.exit("chunkFlow")), r = 0, n.interrupt = void 0, a) : (e.consume(C), T);
|
|
376
377
|
}
|
|
377
|
-
function
|
|
378
|
+
function q(C, O) {
|
|
378
379
|
const D = n.sliceStream(C);
|
|
379
|
-
if (
|
|
380
|
+
if (O && D.push(null), C.previous = s, s && (s.next = C), s = C, i.defineSkip(C.start), i.write(D), n.parser.lazy[C.start.line]) {
|
|
380
381
|
let b = i.events.length;
|
|
381
382
|
for (; b--; )
|
|
382
383
|
if (
|
|
@@ -407,9 +408,9 @@ function En(e) {
|
|
|
407
408
|
}
|
|
408
409
|
}
|
|
409
410
|
function y(C) {
|
|
410
|
-
let
|
|
411
|
-
for (;
|
|
412
|
-
const D = t[
|
|
411
|
+
let O = t.length;
|
|
412
|
+
for (; O-- > C; ) {
|
|
413
|
+
const D = t[O];
|
|
413
414
|
n.containerState = D[1], D[0].exit.call(n, e);
|
|
414
415
|
}
|
|
415
416
|
t.length = C;
|
|
@@ -418,7 +419,7 @@ function En(e) {
|
|
|
418
419
|
i.write([null]), s = void 0, i = void 0, n.containerState._closeFlow = void 0;
|
|
419
420
|
}
|
|
420
421
|
}
|
|
421
|
-
function
|
|
422
|
+
function En(e, n, t) {
|
|
422
423
|
return M(
|
|
423
424
|
e,
|
|
424
425
|
e.attempt(this.parser.constructs.document, n, t),
|
|
@@ -426,13 +427,13 @@ function An(e, n, t) {
|
|
|
426
427
|
this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4
|
|
427
428
|
);
|
|
428
429
|
}
|
|
429
|
-
function
|
|
430
|
-
if (e === null || Z(e) ||
|
|
430
|
+
function rt(e) {
|
|
431
|
+
if (e === null || Z(e) || xn(e))
|
|
431
432
|
return 1;
|
|
432
|
-
if (
|
|
433
|
+
if (bn(e))
|
|
433
434
|
return 2;
|
|
434
435
|
}
|
|
435
|
-
function
|
|
436
|
+
function Ve(e, n, t) {
|
|
436
437
|
const r = [];
|
|
437
438
|
let i = -1;
|
|
438
439
|
for (; ++i < e.length; ) {
|
|
@@ -443,10 +444,10 @@ function We(e, n, t) {
|
|
|
443
444
|
}
|
|
444
445
|
const Pe = {
|
|
445
446
|
name: "attention",
|
|
446
|
-
tokenize:
|
|
447
|
-
resolveAll:
|
|
447
|
+
tokenize: In,
|
|
448
|
+
resolveAll: An
|
|
448
449
|
};
|
|
449
|
-
function
|
|
450
|
+
function An(e, n) {
|
|
450
451
|
let t = -1, r, i, s, o, a, p, h, m;
|
|
451
452
|
for (; ++t < e.length; )
|
|
452
453
|
if (e[t][0] === "enter" && e[t][1].type === "attentionSequence" && e[t][1]._close) {
|
|
@@ -457,7 +458,7 @@ function In(e, n) {
|
|
|
457
458
|
continue;
|
|
458
459
|
p = e[r][1].end.offset - e[r][1].start.offset > 1 && e[t][1].end.offset - e[t][1].start.offset > 1 ? 2 : 1;
|
|
459
460
|
const d = Object.assign({}, e[r][1].end), g = Object.assign({}, e[t][1].start);
|
|
460
|
-
|
|
461
|
+
it(d, -p), it(g, p), o = {
|
|
461
462
|
type: p > 1 ? "strongSequence" : "emphasisSequence",
|
|
462
463
|
start: d,
|
|
463
464
|
end: Object.assign({}, e[r][1].end)
|
|
@@ -483,7 +484,7 @@ function In(e, n) {
|
|
|
483
484
|
["enter", s, n]
|
|
484
485
|
]), h = K(
|
|
485
486
|
h,
|
|
486
|
-
|
|
487
|
+
Ve(
|
|
487
488
|
n.parser.constructs.insideSpan.null,
|
|
488
489
|
e.slice(r + 1, t),
|
|
489
490
|
n
|
|
@@ -504,8 +505,8 @@ function In(e, n) {
|
|
|
504
505
|
e[t][1].type === "attentionSequence" && (e[t][1].type = "data");
|
|
505
506
|
return e;
|
|
506
507
|
}
|
|
507
|
-
function
|
|
508
|
-
const t = this.parser.constructs.attentionMarkers.null, r = this.previous, i =
|
|
508
|
+
function In(e, n) {
|
|
509
|
+
const t = this.parser.constructs.attentionMarkers.null, r = this.previous, i = rt(r);
|
|
509
510
|
let s;
|
|
510
511
|
return o;
|
|
511
512
|
function o(p) {
|
|
@@ -514,18 +515,18 @@ function vn(e, n) {
|
|
|
514
515
|
function a(p) {
|
|
515
516
|
if (p === s)
|
|
516
517
|
return e.consume(p), a;
|
|
517
|
-
const h = e.exit("attentionSequence"), m =
|
|
518
|
+
const h = e.exit("attentionSequence"), m = rt(p), d = !m || m === 2 && i || t.includes(p), g = !i || i === 2 && m || t.includes(r);
|
|
518
519
|
return h._open = !!(s === 42 ? d : d && (i || !g)), h._close = !!(s === 42 ? g : g && (m || !d)), n(p);
|
|
519
520
|
}
|
|
520
521
|
}
|
|
521
|
-
function
|
|
522
|
+
function it(e, n) {
|
|
522
523
|
e.column += n, e.offset += n, e._bufferIndex += n;
|
|
523
524
|
}
|
|
524
|
-
const
|
|
525
|
+
const vn = {
|
|
525
526
|
name: "autolink",
|
|
526
|
-
tokenize:
|
|
527
|
+
tokenize: _n
|
|
527
528
|
};
|
|
528
|
-
function
|
|
529
|
+
function _n(e, n, t) {
|
|
529
530
|
let r = 0;
|
|
530
531
|
return i;
|
|
531
532
|
function i(c) {
|
|
@@ -541,10 +542,10 @@ function Ln(e, n, t) {
|
|
|
541
542
|
return c === 58 ? (e.consume(c), r = 0, p) : (c === 43 || c === 45 || c === 46 || ie(c)) && r++ < 32 ? (e.consume(c), a) : (r = 0, h(c));
|
|
542
543
|
}
|
|
543
544
|
function p(c) {
|
|
544
|
-
return c === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(c), e.exit("autolinkMarker"), e.exit("autolink"), n) : c === null || c === 32 || c === 60 ||
|
|
545
|
+
return c === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(c), e.exit("autolinkMarker"), e.exit("autolink"), n) : c === null || c === 32 || c === 60 || Oe(c) ? t(c) : (e.consume(c), p);
|
|
545
546
|
}
|
|
546
547
|
function h(c) {
|
|
547
|
-
return c === 64 ? (e.consume(c), m) :
|
|
548
|
+
return c === 64 ? (e.consume(c), m) : gn(c) ? (e.consume(c), h) : t(c);
|
|
548
549
|
}
|
|
549
550
|
function m(c) {
|
|
550
551
|
return ie(c) ? d(c) : t(c);
|
|
@@ -561,10 +562,10 @@ function Ln(e, n, t) {
|
|
|
561
562
|
}
|
|
562
563
|
}
|
|
563
564
|
const Be = {
|
|
564
|
-
tokenize:
|
|
565
|
+
tokenize: Ln,
|
|
565
566
|
partial: !0
|
|
566
567
|
};
|
|
567
|
-
function
|
|
568
|
+
function Ln(e, n, t) {
|
|
568
569
|
return r;
|
|
569
570
|
function r(s) {
|
|
570
571
|
return _(s) ? M(e, i, "linePrefix")(s) : i(s);
|
|
@@ -575,13 +576,13 @@ function zn(e, n, t) {
|
|
|
575
576
|
}
|
|
576
577
|
const vt = {
|
|
577
578
|
name: "blockQuote",
|
|
578
|
-
tokenize:
|
|
579
|
+
tokenize: zn,
|
|
579
580
|
continuation: {
|
|
580
|
-
tokenize:
|
|
581
|
+
tokenize: Bn
|
|
581
582
|
},
|
|
582
|
-
exit:
|
|
583
|
+
exit: Tn
|
|
583
584
|
};
|
|
584
|
-
function
|
|
585
|
+
function zn(e, n, t) {
|
|
585
586
|
const r = this;
|
|
586
587
|
return i;
|
|
587
588
|
function i(o) {
|
|
@@ -597,7 +598,7 @@ function Bn(e, n, t) {
|
|
|
597
598
|
return _(o) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(o), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), n) : (e.exit("blockQuotePrefix"), n(o));
|
|
598
599
|
}
|
|
599
600
|
}
|
|
600
|
-
function
|
|
601
|
+
function Bn(e, n, t) {
|
|
601
602
|
const r = this;
|
|
602
603
|
return i;
|
|
603
604
|
function i(o) {
|
|
@@ -612,27 +613,27 @@ function Tn(e, n, t) {
|
|
|
612
613
|
return e.attempt(vt, n, t)(o);
|
|
613
614
|
}
|
|
614
615
|
}
|
|
615
|
-
function
|
|
616
|
+
function Tn(e) {
|
|
616
617
|
e.exit("blockQuote");
|
|
617
618
|
}
|
|
618
619
|
const _t = {
|
|
619
620
|
name: "characterEscape",
|
|
620
|
-
tokenize:
|
|
621
|
+
tokenize: Mn
|
|
621
622
|
};
|
|
622
|
-
function
|
|
623
|
+
function Mn(e, n, t) {
|
|
623
624
|
return r;
|
|
624
625
|
function r(s) {
|
|
625
626
|
return e.enter("characterEscape"), e.enter("escapeMarker"), e.consume(s), e.exit("escapeMarker"), i;
|
|
626
627
|
}
|
|
627
628
|
function i(s) {
|
|
628
|
-
return
|
|
629
|
+
return wn(s) ? (e.enter("characterEscapeValue"), e.consume(s), e.exit("characterEscapeValue"), e.exit("characterEscape"), n) : t(s);
|
|
629
630
|
}
|
|
630
631
|
}
|
|
631
632
|
const Lt = {
|
|
632
633
|
name: "characterReference",
|
|
633
|
-
tokenize:
|
|
634
|
+
tokenize: Dn
|
|
634
635
|
};
|
|
635
|
-
function
|
|
636
|
+
function Dn(e, n, t) {
|
|
636
637
|
const r = this;
|
|
637
638
|
let i = 0, s, o;
|
|
638
639
|
return a;
|
|
@@ -643,25 +644,25 @@ function Fn(e, n, t) {
|
|
|
643
644
|
return d === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(d), e.exit("characterReferenceMarkerNumeric"), h) : (e.enter("characterReferenceValue"), s = 31, o = ie, m(d));
|
|
644
645
|
}
|
|
645
646
|
function h(d) {
|
|
646
|
-
return d === 88 || d === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(d), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), s = 6, o =
|
|
647
|
+
return d === 88 || d === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(d), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), s = 6, o = fn, m) : (e.enter("characterReferenceValue"), s = 7, o = Ne, m(d));
|
|
647
648
|
}
|
|
648
649
|
function m(d) {
|
|
649
650
|
if (d === 59 && i) {
|
|
650
651
|
const g = e.exit("characterReferenceValue");
|
|
651
|
-
return o === ie && !
|
|
652
|
+
return o === ie && !He(r.sliceSerialize(g)) ? t(d) : (e.enter("characterReferenceMarker"), e.consume(d), e.exit("characterReferenceMarker"), e.exit("characterReference"), n);
|
|
652
653
|
}
|
|
653
654
|
return o(d) && i++ < s ? (e.consume(d), m) : t(d);
|
|
654
655
|
}
|
|
655
656
|
}
|
|
656
|
-
const
|
|
657
|
-
tokenize:
|
|
657
|
+
const st = {
|
|
658
|
+
tokenize: Rn,
|
|
658
659
|
partial: !0
|
|
659
|
-
},
|
|
660
|
+
}, ot = {
|
|
660
661
|
name: "codeFenced",
|
|
661
|
-
tokenize:
|
|
662
|
+
tokenize: Fn,
|
|
662
663
|
concrete: !0
|
|
663
664
|
};
|
|
664
|
-
function
|
|
665
|
+
function Fn(e, n, t) {
|
|
665
666
|
const r = this, i = {
|
|
666
667
|
tokenize: D,
|
|
667
668
|
partial: !0
|
|
@@ -679,7 +680,7 @@ function Rn(e, n, t) {
|
|
|
679
680
|
return b === a ? (o++, e.consume(b), m) : o < 3 ? t(b) : (e.exit("codeFencedFenceSequence"), _(b) ? M(e, d, "whitespace")(b) : d(b));
|
|
680
681
|
}
|
|
681
682
|
function d(b) {
|
|
682
|
-
return b === null || A(b) ? (e.exit("codeFencedFence"), r.interrupt ? n(b) : e.check(
|
|
683
|
+
return b === null || A(b) ? (e.exit("codeFencedFence"), r.interrupt ? n(b) : e.check(st, T, O)(b)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
|
|
683
684
|
contentType: "string"
|
|
684
685
|
}), g(b));
|
|
685
686
|
}
|
|
@@ -695,9 +696,9 @@ function Rn(e, n, t) {
|
|
|
695
696
|
return b === null || A(b) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), d(b)) : b === 96 && b === a ? t(b) : (e.consume(b), k);
|
|
696
697
|
}
|
|
697
698
|
function T(b) {
|
|
698
|
-
return e.attempt(i,
|
|
699
|
+
return e.attempt(i, O, q)(b);
|
|
699
700
|
}
|
|
700
|
-
function
|
|
701
|
+
function q(b) {
|
|
701
702
|
return e.enter("lineEnding"), e.consume(b), e.exit("lineEnding"), y;
|
|
702
703
|
}
|
|
703
704
|
function y(b) {
|
|
@@ -709,12 +710,12 @@ function Rn(e, n, t) {
|
|
|
709
710
|
)(b) : G(b);
|
|
710
711
|
}
|
|
711
712
|
function G(b) {
|
|
712
|
-
return b === null || A(b) ? e.check(
|
|
713
|
+
return b === null || A(b) ? e.check(st, T, O)(b) : (e.enter("codeFlowValue"), C(b));
|
|
713
714
|
}
|
|
714
715
|
function C(b) {
|
|
715
716
|
return b === null || A(b) ? (e.exit("codeFlowValue"), G(b)) : (e.consume(b), C);
|
|
716
717
|
}
|
|
717
|
-
function
|
|
718
|
+
function O(b) {
|
|
718
719
|
return e.exit("codeFenced"), n(b);
|
|
719
720
|
}
|
|
720
721
|
function D(b, z, U) {
|
|
@@ -742,7 +743,7 @@ function Rn(e, n, t) {
|
|
|
742
743
|
}
|
|
743
744
|
}
|
|
744
745
|
}
|
|
745
|
-
function
|
|
746
|
+
function Rn(e, n, t) {
|
|
746
747
|
const r = this;
|
|
747
748
|
return i;
|
|
748
749
|
function i(o) {
|
|
@@ -754,12 +755,12 @@ function Nn(e, n, t) {
|
|
|
754
755
|
}
|
|
755
756
|
const Me = {
|
|
756
757
|
name: "codeIndented",
|
|
757
|
-
tokenize:
|
|
758
|
+
tokenize: Nn
|
|
758
759
|
}, On = {
|
|
759
|
-
tokenize:
|
|
760
|
+
tokenize: Pn,
|
|
760
761
|
partial: !0
|
|
761
762
|
};
|
|
762
|
-
function
|
|
763
|
+
function Nn(e, n, t) {
|
|
763
764
|
const r = this;
|
|
764
765
|
return i;
|
|
765
766
|
function i(h) {
|
|
@@ -779,7 +780,7 @@ function Pn(e, n, t) {
|
|
|
779
780
|
return e.exit("codeIndented"), n(h);
|
|
780
781
|
}
|
|
781
782
|
}
|
|
782
|
-
function
|
|
783
|
+
function Pn(e, n, t) {
|
|
783
784
|
const r = this;
|
|
784
785
|
return i;
|
|
785
786
|
function i(o) {
|
|
@@ -792,11 +793,11 @@ function jn(e, n, t) {
|
|
|
792
793
|
}
|
|
793
794
|
const qn = {
|
|
794
795
|
name: "codeText",
|
|
795
|
-
tokenize:
|
|
796
|
-
resolve:
|
|
797
|
-
previous:
|
|
796
|
+
tokenize: Un,
|
|
797
|
+
resolve: jn,
|
|
798
|
+
previous: Gn
|
|
798
799
|
};
|
|
799
|
-
function
|
|
800
|
+
function jn(e) {
|
|
800
801
|
let n = e.length - 4, t = 3, r, i;
|
|
801
802
|
if ((e[t][1].type === "lineEnding" || e[t][1].type === "space") && (e[n][1].type === "lineEnding" || e[n][1].type === "space")) {
|
|
802
803
|
for (r = t; ++r < n; )
|
|
@@ -809,10 +810,10 @@ function Gn(e) {
|
|
|
809
810
|
i === void 0 ? r !== n && e[r][1].type !== "lineEnding" && (i = r) : (r === n || e[r][1].type === "lineEnding") && (e[i][1].type = "codeTextData", r !== i + 2 && (e[i][1].end = e[r - 1][1].end, e.splice(i + 2, r - i - 2), n -= r - i - 2, r = i + 2), i = void 0);
|
|
810
811
|
return e;
|
|
811
812
|
}
|
|
812
|
-
function
|
|
813
|
+
function Gn(e) {
|
|
813
814
|
return e !== 96 || this.events[this.events.length - 1][1].type === "characterEscape";
|
|
814
815
|
}
|
|
815
|
-
function
|
|
816
|
+
function Un(e, n, t) {
|
|
816
817
|
let r = 0, i, s;
|
|
817
818
|
return o;
|
|
818
819
|
function o(d) {
|
|
@@ -841,7 +842,7 @@ function zt(e) {
|
|
|
841
842
|
for (; ++s < p.length && p[s][1].type !== "content"; )
|
|
842
843
|
p[s][1].type === "chunkText" && (p[s][1]._isInFirstContentOfListItem = !0, s++);
|
|
843
844
|
if (r[0] === "enter")
|
|
844
|
-
r[1].contentType && (Object.assign(n,
|
|
845
|
+
r[1].contentType && (Object.assign(n, Hn(e, t)), t = n[t], h = !0);
|
|
845
846
|
else if (r[1]._container) {
|
|
846
847
|
for (s = t, i = void 0; s-- && (o = e[s], o[1].type === "lineEnding" || o[1].type === "lineEndingBlank"); )
|
|
847
848
|
o[0] === "enter" && (i && (e[i][1].type = "lineEndingBlank"), o[1].type = "lineEnding", i = s);
|
|
@@ -850,12 +851,12 @@ function zt(e) {
|
|
|
850
851
|
}
|
|
851
852
|
return !h;
|
|
852
853
|
}
|
|
853
|
-
function
|
|
854
|
+
function Hn(e, n) {
|
|
854
855
|
const t = e[n][1], r = e[n][2];
|
|
855
856
|
let i = n - 1;
|
|
856
857
|
const s = [], o = t._tokenizer || r.parser[t.contentType](t.start), a = o.events, p = [], h = {};
|
|
857
858
|
let m, d, g = -1, c = t, k = 0, T = 0;
|
|
858
|
-
const
|
|
859
|
+
const q = [T];
|
|
859
860
|
for (; c; ) {
|
|
860
861
|
for (; e[++i][1] !== c; )
|
|
861
862
|
;
|
|
@@ -863,26 +864,26 @@ function Vn(e, n) {
|
|
|
863
864
|
}
|
|
864
865
|
for (c = t; ++g < a.length; )
|
|
865
866
|
// Find a void token that includes a break.
|
|
866
|
-
a[g][0] === "exit" && a[g - 1][0] === "enter" && a[g][1].type === a[g - 1][1].type && a[g][1].start.line !== a[g][1].end.line && (T = g + 1,
|
|
867
|
-
for (o.events = [], c ? (c._tokenizer = void 0, c.previous = void 0) :
|
|
868
|
-
const y = a.slice(
|
|
867
|
+
a[g][0] === "exit" && a[g - 1][0] === "enter" && a[g][1].type === a[g - 1][1].type && a[g][1].start.line !== a[g][1].end.line && (T = g + 1, q.push(T), c._tokenizer = void 0, c.previous = void 0, c = c.next);
|
|
868
|
+
for (o.events = [], c ? (c._tokenizer = void 0, c.previous = void 0) : q.pop(), g = q.length; g--; ) {
|
|
869
|
+
const y = a.slice(q[g], q[g + 1]), G = s.pop();
|
|
869
870
|
p.unshift([G, G + y.length - 1]), ae(e, G, 2, y);
|
|
870
871
|
}
|
|
871
872
|
for (g = -1; ++g < p.length; )
|
|
872
873
|
h[k + p[g][0]] = k + p[g][1], k += p[g][1] - p[g][0] - 1;
|
|
873
874
|
return h;
|
|
874
875
|
}
|
|
875
|
-
const
|
|
876
|
+
const Vn = {
|
|
877
|
+
tokenize: Zn,
|
|
878
|
+
resolve: Qn
|
|
879
|
+
}, Wn = {
|
|
876
880
|
tokenize: $n,
|
|
877
|
-
resolve: Zn
|
|
878
|
-
}, Qn = {
|
|
879
|
-
tokenize: Jn,
|
|
880
881
|
partial: !0
|
|
881
882
|
};
|
|
882
|
-
function
|
|
883
|
+
function Qn(e) {
|
|
883
884
|
return zt(e), e;
|
|
884
885
|
}
|
|
885
|
-
function
|
|
886
|
+
function Zn(e, n) {
|
|
886
887
|
let t;
|
|
887
888
|
return r;
|
|
888
889
|
function r(a) {
|
|
@@ -892,7 +893,7 @@ function $n(e, n) {
|
|
|
892
893
|
}
|
|
893
894
|
function i(a) {
|
|
894
895
|
return a === null ? s(a) : A(a) ? e.check(
|
|
895
|
-
|
|
896
|
+
Wn,
|
|
896
897
|
o,
|
|
897
898
|
s
|
|
898
899
|
)(a) : (e.consume(a), i);
|
|
@@ -907,7 +908,7 @@ function $n(e, n) {
|
|
|
907
908
|
}), t = t.next, i;
|
|
908
909
|
}
|
|
909
910
|
}
|
|
910
|
-
function
|
|
911
|
+
function $n(e, n, t) {
|
|
911
912
|
const r = this;
|
|
912
913
|
return i;
|
|
913
914
|
function i(o) {
|
|
@@ -925,7 +926,7 @@ function Bt(e, n, t, r, i, s, o, a, p) {
|
|
|
925
926
|
let m = 0;
|
|
926
927
|
return d;
|
|
927
928
|
function d(y) {
|
|
928
|
-
return y === 60 ? (e.enter(r), e.enter(i), e.enter(s), e.consume(y), e.exit(s), g) : y === null || y === 32 || y === 41 ||
|
|
929
|
+
return y === 60 ? (e.enter(r), e.enter(i), e.enter(s), e.consume(y), e.exit(s), g) : y === null || y === 32 || y === 41 || Oe(y) ? t(y) : (e.enter(r), e.enter(o), e.enter(a), e.enter("chunkString", {
|
|
929
930
|
contentType: "string"
|
|
930
931
|
}), T(y));
|
|
931
932
|
}
|
|
@@ -941,9 +942,9 @@ function Bt(e, n, t, r, i, s, o, a, p) {
|
|
|
941
942
|
return y === 60 || y === 62 || y === 92 ? (e.consume(y), c) : c(y);
|
|
942
943
|
}
|
|
943
944
|
function T(y) {
|
|
944
|
-
return !m && (y === null || y === 41 || Z(y)) ? (e.exit("chunkString"), e.exit(a), e.exit(o), e.exit(r), n(y)) : m < h && y === 40 ? (e.consume(y), m++, T) : y === 41 ? (e.consume(y), m--, T) : y === null || y === 32 || y === 40 ||
|
|
945
|
+
return !m && (y === null || y === 41 || Z(y)) ? (e.exit("chunkString"), e.exit(a), e.exit(o), e.exit(r), n(y)) : m < h && y === 40 ? (e.consume(y), m++, T) : y === 41 ? (e.consume(y), m--, T) : y === null || y === 32 || y === 40 || Oe(y) ? t(y) : (e.consume(y), y === 92 ? q : T);
|
|
945
946
|
}
|
|
946
|
-
function
|
|
947
|
+
function q(y) {
|
|
947
948
|
return y === 40 || y === 41 || y === 92 ? (e.consume(y), T) : T(y);
|
|
948
949
|
}
|
|
949
950
|
}
|
|
@@ -1003,14 +1004,14 @@ function ve(e, n) {
|
|
|
1003
1004
|
)(i) : n(i);
|
|
1004
1005
|
}
|
|
1005
1006
|
}
|
|
1006
|
-
const
|
|
1007
|
+
const Jn = {
|
|
1007
1008
|
name: "definition",
|
|
1008
|
-
tokenize:
|
|
1009
|
-
},
|
|
1010
|
-
tokenize:
|
|
1009
|
+
tokenize: Xn
|
|
1010
|
+
}, Yn = {
|
|
1011
|
+
tokenize: Kn,
|
|
1011
1012
|
partial: !0
|
|
1012
1013
|
};
|
|
1013
|
-
function
|
|
1014
|
+
function Xn(e, n, t) {
|
|
1014
1015
|
const r = this;
|
|
1015
1016
|
let i;
|
|
1016
1017
|
return s;
|
|
@@ -1051,7 +1052,7 @@ function Kn(e, n, t) {
|
|
|
1051
1052
|
)(c);
|
|
1052
1053
|
}
|
|
1053
1054
|
function m(c) {
|
|
1054
|
-
return e.attempt(
|
|
1055
|
+
return e.attempt(Yn, d, d)(c);
|
|
1055
1056
|
}
|
|
1056
1057
|
function d(c) {
|
|
1057
1058
|
return _(c) ? M(e, g, "whitespace")(c) : g(c);
|
|
@@ -1060,7 +1061,7 @@ function Kn(e, n, t) {
|
|
|
1060
1061
|
return c === null || A(c) ? (e.exit("definition"), r.parser.defined.push(i), n(c)) : t(c);
|
|
1061
1062
|
}
|
|
1062
1063
|
}
|
|
1063
|
-
function
|
|
1064
|
+
function Kn(e, n, t) {
|
|
1064
1065
|
return r;
|
|
1065
1066
|
function r(a) {
|
|
1066
1067
|
return Z(a) ? ve(e, i)(a) : t(a);
|
|
@@ -1082,11 +1083,11 @@ function er(e, n, t) {
|
|
|
1082
1083
|
return a === null || A(a) ? n(a) : t(a);
|
|
1083
1084
|
}
|
|
1084
1085
|
}
|
|
1085
|
-
const
|
|
1086
|
+
const er = {
|
|
1086
1087
|
name: "hardBreakEscape",
|
|
1087
|
-
tokenize:
|
|
1088
|
+
tokenize: tr
|
|
1088
1089
|
};
|
|
1089
|
-
function
|
|
1090
|
+
function tr(e, n, t) {
|
|
1090
1091
|
return r;
|
|
1091
1092
|
function r(s) {
|
|
1092
1093
|
return e.enter("hardBreakEscape"), e.consume(s), i;
|
|
@@ -1095,12 +1096,12 @@ function nr(e, n, t) {
|
|
|
1095
1096
|
return A(s) ? (e.exit("hardBreakEscape"), n(s)) : t(s);
|
|
1096
1097
|
}
|
|
1097
1098
|
}
|
|
1098
|
-
const
|
|
1099
|
+
const nr = {
|
|
1099
1100
|
name: "headingAtx",
|
|
1100
|
-
tokenize:
|
|
1101
|
-
resolve:
|
|
1101
|
+
tokenize: ir,
|
|
1102
|
+
resolve: rr
|
|
1102
1103
|
};
|
|
1103
|
-
function
|
|
1104
|
+
function rr(e, n) {
|
|
1104
1105
|
let t = e.length - 2, r = 3, i, s;
|
|
1105
1106
|
return e[r][1].type === "whitespace" && (r += 2), t - 2 > r && e[t][1].type === "whitespace" && (t -= 2), e[t][1].type === "atxHeadingSequence" && (r === t - 1 || t - 4 > r && e[t - 2][1].type === "whitespace") && (t -= r + 1 === t ? 2 : 4), t > r && (i = {
|
|
1106
1107
|
type: "atxHeadingText",
|
|
@@ -1118,7 +1119,7 @@ function ir(e, n) {
|
|
|
1118
1119
|
["exit", i, n]
|
|
1119
1120
|
])), e;
|
|
1120
1121
|
}
|
|
1121
|
-
function
|
|
1122
|
+
function ir(e, n, t) {
|
|
1122
1123
|
let r = 0;
|
|
1123
1124
|
return i;
|
|
1124
1125
|
function i(m) {
|
|
@@ -1140,7 +1141,7 @@ function sr(e, n, t) {
|
|
|
1140
1141
|
return m === null || m === 35 || Z(m) ? (e.exit("atxHeadingText"), a(m)) : (e.consume(m), h);
|
|
1141
1142
|
}
|
|
1142
1143
|
}
|
|
1143
|
-
const
|
|
1144
|
+
const sr = [
|
|
1144
1145
|
"address",
|
|
1145
1146
|
"article",
|
|
1146
1147
|
"aside",
|
|
@@ -1203,25 +1204,25 @@ const or = [
|
|
|
1203
1204
|
"tr",
|
|
1204
1205
|
"track",
|
|
1205
1206
|
"ul"
|
|
1206
|
-
],
|
|
1207
|
+
], at = ["pre", "script", "style", "textarea"], or = {
|
|
1207
1208
|
name: "htmlFlow",
|
|
1208
|
-
tokenize:
|
|
1209
|
-
resolveTo:
|
|
1209
|
+
tokenize: hr,
|
|
1210
|
+
resolveTo: ur,
|
|
1210
1211
|
concrete: !0
|
|
1211
|
-
},
|
|
1212
|
-
tokenize: dr,
|
|
1213
|
-
partial: !0
|
|
1214
|
-
}, ur = {
|
|
1212
|
+
}, ar = {
|
|
1215
1213
|
tokenize: pr,
|
|
1216
1214
|
partial: !0
|
|
1215
|
+
}, lr = {
|
|
1216
|
+
tokenize: cr,
|
|
1217
|
+
partial: !0
|
|
1217
1218
|
};
|
|
1218
|
-
function
|
|
1219
|
+
function ur(e) {
|
|
1219
1220
|
let n = e.length;
|
|
1220
1221
|
for (; n-- && !(e[n][0] === "enter" && e[n][1].type === "htmlFlow"); )
|
|
1221
1222
|
;
|
|
1222
1223
|
return n > 1 && e[n - 2][1].type === "linePrefix" && (e[n][1].start = e[n - 2][1].start, e[n + 1][1].start = e[n - 2][1].start, e.splice(n - 2, 2)), e;
|
|
1223
1224
|
}
|
|
1224
|
-
function
|
|
1225
|
+
function hr(e, n, t) {
|
|
1225
1226
|
const r = this;
|
|
1226
1227
|
let i, s, o, a, p;
|
|
1227
1228
|
return h;
|
|
@@ -1232,7 +1233,7 @@ function cr(e, n, t) {
|
|
|
1232
1233
|
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(u), d;
|
|
1233
1234
|
}
|
|
1234
1235
|
function d(u) {
|
|
1235
|
-
return u === 33 ? (e.consume(u), g) : u === 47 ? (e.consume(u), s = !0, T) : u === 63 ? (e.consume(u), i = 3, r.interrupt ? n : l) : se(u) ? (e.consume(u), o = String.fromCharCode(u),
|
|
1236
|
+
return u === 33 ? (e.consume(u), g) : u === 47 ? (e.consume(u), s = !0, T) : u === 63 ? (e.consume(u), i = 3, r.interrupt ? n : l) : se(u) ? (e.consume(u), o = String.fromCharCode(u), q) : t(u);
|
|
1236
1237
|
}
|
|
1237
1238
|
function g(u) {
|
|
1238
1239
|
return u === 45 ? (e.consume(u), i = 2, c) : u === 91 ? (e.consume(u), i = 5, a = 0, k) : se(u) ? (e.consume(u), i = 4, r.interrupt ? n : l) : t(u);
|
|
@@ -1245,14 +1246,14 @@ function cr(e, n, t) {
|
|
|
1245
1246
|
return u === ne.charCodeAt(a++) ? (e.consume(u), a === ne.length ? r.interrupt ? n : E : k) : t(u);
|
|
1246
1247
|
}
|
|
1247
1248
|
function T(u) {
|
|
1248
|
-
return se(u) ? (e.consume(u), o = String.fromCharCode(u),
|
|
1249
|
+
return se(u) ? (e.consume(u), o = String.fromCharCode(u), q) : t(u);
|
|
1249
1250
|
}
|
|
1250
|
-
function
|
|
1251
|
+
function q(u) {
|
|
1251
1252
|
if (u === null || u === 47 || u === 62 || Z(u)) {
|
|
1252
1253
|
const ne = u === 47, fe = o.toLowerCase();
|
|
1253
|
-
return !ne && !s &&
|
|
1254
|
+
return !ne && !s && at.includes(fe) ? (i = 1, r.interrupt ? n(u) : E(u)) : sr.includes(o.toLowerCase()) ? (i = 6, ne ? (e.consume(u), y) : r.interrupt ? n(u) : E(u)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? t(u) : s ? G(u) : C(u));
|
|
1254
1255
|
}
|
|
1255
|
-
return u === 45 || ie(u) ? (e.consume(u), o += String.fromCharCode(u),
|
|
1256
|
+
return u === 45 || ie(u) ? (e.consume(u), o += String.fromCharCode(u), q) : t(u);
|
|
1256
1257
|
}
|
|
1257
1258
|
function y(u) {
|
|
1258
1259
|
return u === 62 ? (e.consume(u), r.interrupt ? n : E) : t(u);
|
|
@@ -1261,10 +1262,10 @@ function cr(e, n, t) {
|
|
|
1261
1262
|
return _(u) ? (e.consume(u), G) : f(u);
|
|
1262
1263
|
}
|
|
1263
1264
|
function C(u) {
|
|
1264
|
-
return u === 47 ? (e.consume(u), f) : u === 58 || u === 95 || se(u) ? (e.consume(u),
|
|
1265
|
+
return u === 47 ? (e.consume(u), f) : u === 58 || u === 95 || se(u) ? (e.consume(u), O) : _(u) ? (e.consume(u), C) : f(u);
|
|
1265
1266
|
}
|
|
1266
|
-
function
|
|
1267
|
-
return u === 45 || u === 46 || u === 58 || u === 95 || ie(u) ? (e.consume(u),
|
|
1267
|
+
function O(u) {
|
|
1268
|
+
return u === 45 || u === 46 || u === 58 || u === 95 || ie(u) ? (e.consume(u), O) : D(u);
|
|
1268
1269
|
}
|
|
1269
1270
|
function D(u) {
|
|
1270
1271
|
return u === 61 ? (e.consume(u), b) : _(u) ? (e.consume(u), D) : C(u);
|
|
@@ -1289,14 +1290,14 @@ function cr(e, n, t) {
|
|
|
1289
1290
|
}
|
|
1290
1291
|
function E(u) {
|
|
1291
1292
|
return u === 45 && i === 2 ? (e.consume(u), Q) : u === 60 && i === 1 ? (e.consume(u), V) : u === 62 && i === 4 ? (e.consume(u), te) : u === 63 && i === 3 ? (e.consume(u), l) : u === 93 && i === 5 ? (e.consume(u), le) : A(u) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(
|
|
1292
|
-
|
|
1293
|
+
ar,
|
|
1293
1294
|
ue,
|
|
1294
1295
|
P
|
|
1295
1296
|
)(u)) : u === null || A(u) ? (e.exit("htmlFlowData"), P(u)) : (e.consume(u), E);
|
|
1296
1297
|
}
|
|
1297
1298
|
function P(u) {
|
|
1298
1299
|
return e.check(
|
|
1299
|
-
|
|
1300
|
+
lr,
|
|
1300
1301
|
H,
|
|
1301
1302
|
ue
|
|
1302
1303
|
)(u);
|
|
@@ -1316,7 +1317,7 @@ function cr(e, n, t) {
|
|
|
1316
1317
|
function ee(u) {
|
|
1317
1318
|
if (u === 62) {
|
|
1318
1319
|
const ne = o.toLowerCase();
|
|
1319
|
-
return
|
|
1320
|
+
return at.includes(ne) ? (e.consume(u), te) : E(u);
|
|
1320
1321
|
}
|
|
1321
1322
|
return se(u) && o.length < 8 ? (e.consume(u), o += String.fromCharCode(u), ee) : E(u);
|
|
1322
1323
|
}
|
|
@@ -1333,7 +1334,7 @@ function cr(e, n, t) {
|
|
|
1333
1334
|
return e.exit("htmlFlow"), n(u);
|
|
1334
1335
|
}
|
|
1335
1336
|
}
|
|
1336
|
-
function
|
|
1337
|
+
function cr(e, n, t) {
|
|
1337
1338
|
const r = this;
|
|
1338
1339
|
return i;
|
|
1339
1340
|
function i(o) {
|
|
@@ -1343,17 +1344,17 @@ function pr(e, n, t) {
|
|
|
1343
1344
|
return r.parser.lazy[r.now().line] ? t(o) : n(o);
|
|
1344
1345
|
}
|
|
1345
1346
|
}
|
|
1346
|
-
function
|
|
1347
|
+
function pr(e, n, t) {
|
|
1347
1348
|
return r;
|
|
1348
1349
|
function r(i) {
|
|
1349
1350
|
return e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), e.attempt(Be, n, t);
|
|
1350
1351
|
}
|
|
1351
1352
|
}
|
|
1352
|
-
const
|
|
1353
|
+
const dr = {
|
|
1353
1354
|
name: "htmlText",
|
|
1354
|
-
tokenize:
|
|
1355
|
+
tokenize: mr
|
|
1355
1356
|
};
|
|
1356
|
-
function
|
|
1357
|
+
function mr(e, n, t) {
|
|
1357
1358
|
const r = this;
|
|
1358
1359
|
let i, s, o;
|
|
1359
1360
|
return a;
|
|
@@ -1383,9 +1384,9 @@ function gr(e, n, t) {
|
|
|
1383
1384
|
return l === te.charCodeAt(s++) ? (e.consume(l), s === te.length ? T : k) : t(l);
|
|
1384
1385
|
}
|
|
1385
1386
|
function T(l) {
|
|
1386
|
-
return l === null ? t(l) : l === 93 ? (e.consume(l),
|
|
1387
|
+
return l === null ? t(l) : l === 93 ? (e.consume(l), q) : A(l) ? (o = T, V(l)) : (e.consume(l), T);
|
|
1387
1388
|
}
|
|
1388
|
-
function
|
|
1389
|
+
function q(l) {
|
|
1389
1390
|
return l === 93 ? (e.consume(l), y) : T(l);
|
|
1390
1391
|
}
|
|
1391
1392
|
function y(l) {
|
|
@@ -1395,9 +1396,9 @@ function gr(e, n, t) {
|
|
|
1395
1396
|
return l === null || l === 62 ? Q(l) : A(l) ? (o = G, V(l)) : (e.consume(l), G);
|
|
1396
1397
|
}
|
|
1397
1398
|
function C(l) {
|
|
1398
|
-
return l === null ? t(l) : l === 63 ? (e.consume(l),
|
|
1399
|
+
return l === null ? t(l) : l === 63 ? (e.consume(l), O) : A(l) ? (o = C, V(l)) : (e.consume(l), C);
|
|
1399
1400
|
}
|
|
1400
|
-
function
|
|
1401
|
+
function O(l) {
|
|
1401
1402
|
return l === 62 ? Q(l) : C(l);
|
|
1402
1403
|
}
|
|
1403
1404
|
function D(l) {
|
|
@@ -1451,19 +1452,19 @@ function gr(e, n, t) {
|
|
|
1451
1452
|
return e.enter("htmlTextData"), o(l);
|
|
1452
1453
|
}
|
|
1453
1454
|
}
|
|
1454
|
-
const
|
|
1455
|
+
const We = {
|
|
1455
1456
|
name: "labelEnd",
|
|
1456
|
-
tokenize:
|
|
1457
|
-
resolveTo:
|
|
1458
|
-
resolveAll:
|
|
1457
|
+
tokenize: yr,
|
|
1458
|
+
resolveTo: xr,
|
|
1459
|
+
resolveAll: br
|
|
1460
|
+
}, gr = {
|
|
1461
|
+
tokenize: kr
|
|
1459
1462
|
}, fr = {
|
|
1460
1463
|
tokenize: Cr
|
|
1461
1464
|
}, wr = {
|
|
1462
1465
|
tokenize: Sr
|
|
1463
|
-
}, br = {
|
|
1464
|
-
tokenize: Er
|
|
1465
1466
|
};
|
|
1466
|
-
function
|
|
1467
|
+
function br(e) {
|
|
1467
1468
|
let n = -1;
|
|
1468
1469
|
for (; ++n < e.length; ) {
|
|
1469
1470
|
const t = e[n][1];
|
|
@@ -1471,7 +1472,7 @@ function xr(e) {
|
|
|
1471
1472
|
}
|
|
1472
1473
|
return e;
|
|
1473
1474
|
}
|
|
1474
|
-
function
|
|
1475
|
+
function xr(e, n) {
|
|
1475
1476
|
let t = e.length, r = 0, i, s, o, a;
|
|
1476
1477
|
for (; t--; )
|
|
1477
1478
|
if (i = e[t][1], s) {
|
|
@@ -1503,7 +1504,7 @@ function yr(e, n) {
|
|
|
1503
1504
|
["enter", h, n]
|
|
1504
1505
|
], a = K(a, e.slice(s + 1, s + r + 3)), a = K(a, [["enter", m, n]]), a = K(
|
|
1505
1506
|
a,
|
|
1506
|
-
|
|
1507
|
+
Ve(
|
|
1507
1508
|
n.parser.constructs.insideSpan.null,
|
|
1508
1509
|
e.slice(s + r + 4, o - 3),
|
|
1509
1510
|
n
|
|
@@ -1515,7 +1516,7 @@ function yr(e, n) {
|
|
|
1515
1516
|
["exit", h, n]
|
|
1516
1517
|
]), a = K(a, e.slice(o + 1)), a = K(a, [["exit", p, n]]), ae(e, s, e.length, a), e;
|
|
1517
1518
|
}
|
|
1518
|
-
function
|
|
1519
|
+
function yr(e, n, t) {
|
|
1519
1520
|
const r = this;
|
|
1520
1521
|
let i = r.events.length, s, o;
|
|
1521
1522
|
for (; i--; )
|
|
@@ -1536,18 +1537,18 @@ function kr(e, n, t) {
|
|
|
1536
1537
|
}
|
|
1537
1538
|
function p(g) {
|
|
1538
1539
|
return g === 40 ? e.attempt(
|
|
1539
|
-
|
|
1540
|
+
gr,
|
|
1540
1541
|
m,
|
|
1541
1542
|
o ? m : d
|
|
1542
1543
|
)(g) : g === 91 ? e.attempt(
|
|
1543
|
-
|
|
1544
|
+
fr,
|
|
1544
1545
|
m,
|
|
1545
1546
|
o ? h : d
|
|
1546
1547
|
)(g) : o ? m(g) : d(g);
|
|
1547
1548
|
}
|
|
1548
1549
|
function h(g) {
|
|
1549
1550
|
return e.attempt(
|
|
1550
|
-
|
|
1551
|
+
wr,
|
|
1551
1552
|
m,
|
|
1552
1553
|
d
|
|
1553
1554
|
)(g);
|
|
@@ -1559,7 +1560,7 @@ function kr(e, n, t) {
|
|
|
1559
1560
|
return s._balanced = !0, t(g);
|
|
1560
1561
|
}
|
|
1561
1562
|
}
|
|
1562
|
-
function
|
|
1563
|
+
function kr(e, n, t) {
|
|
1563
1564
|
return r;
|
|
1564
1565
|
function r(d) {
|
|
1565
1566
|
return e.enter("resource"), e.enter("resourceMarker"), e.consume(d), e.exit("resourceMarker"), i;
|
|
@@ -1603,7 +1604,7 @@ function Cr(e, n, t) {
|
|
|
1603
1604
|
return d === 41 ? (e.enter("resourceMarker"), e.consume(d), e.exit("resourceMarker"), e.exit("resource"), n) : t(d);
|
|
1604
1605
|
}
|
|
1605
1606
|
}
|
|
1606
|
-
function
|
|
1607
|
+
function Cr(e, n, t) {
|
|
1607
1608
|
const r = this;
|
|
1608
1609
|
return i;
|
|
1609
1610
|
function i(a) {
|
|
@@ -1628,7 +1629,7 @@ function Sr(e, n, t) {
|
|
|
1628
1629
|
return t(a);
|
|
1629
1630
|
}
|
|
1630
1631
|
}
|
|
1631
|
-
function
|
|
1632
|
+
function Sr(e, n, t) {
|
|
1632
1633
|
return r;
|
|
1633
1634
|
function r(s) {
|
|
1634
1635
|
return e.enter("reference"), e.enter("referenceMarker"), e.consume(s), e.exit("referenceMarker"), i;
|
|
@@ -1637,12 +1638,12 @@ function Er(e, n, t) {
|
|
|
1637
1638
|
return s === 93 ? (e.enter("referenceMarker"), e.consume(s), e.exit("referenceMarker"), e.exit("reference"), n) : t(s);
|
|
1638
1639
|
}
|
|
1639
1640
|
}
|
|
1640
|
-
const
|
|
1641
|
+
const Er = {
|
|
1641
1642
|
name: "labelStartImage",
|
|
1642
|
-
tokenize:
|
|
1643
|
-
resolveAll:
|
|
1643
|
+
tokenize: Ar,
|
|
1644
|
+
resolveAll: We.resolveAll
|
|
1644
1645
|
};
|
|
1645
|
-
function
|
|
1646
|
+
function Ar(e, n, t) {
|
|
1646
1647
|
const r = this;
|
|
1647
1648
|
return i;
|
|
1648
1649
|
function i(a) {
|
|
@@ -1655,12 +1656,12 @@ function Ir(e, n, t) {
|
|
|
1655
1656
|
return a === 94 && "_hiddenFootnoteSupport" in r.parser.constructs ? t(a) : n(a);
|
|
1656
1657
|
}
|
|
1657
1658
|
}
|
|
1658
|
-
const
|
|
1659
|
+
const Ir = {
|
|
1659
1660
|
name: "labelStartLink",
|
|
1660
|
-
tokenize:
|
|
1661
|
-
resolveAll:
|
|
1661
|
+
tokenize: vr,
|
|
1662
|
+
resolveAll: We.resolveAll
|
|
1662
1663
|
};
|
|
1663
|
-
function
|
|
1664
|
+
function vr(e, n, t) {
|
|
1664
1665
|
const r = this;
|
|
1665
1666
|
return i;
|
|
1666
1667
|
function i(o) {
|
|
@@ -1672,9 +1673,9 @@ function _r(e, n, t) {
|
|
|
1672
1673
|
}
|
|
1673
1674
|
const De = {
|
|
1674
1675
|
name: "lineEnding",
|
|
1675
|
-
tokenize:
|
|
1676
|
+
tokenize: _r
|
|
1676
1677
|
};
|
|
1677
|
-
function
|
|
1678
|
+
function _r(e, n) {
|
|
1678
1679
|
return t;
|
|
1679
1680
|
function t(r) {
|
|
1680
1681
|
return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), M(e, n, "linePrefix");
|
|
@@ -1682,9 +1683,9 @@ function Lr(e, n) {
|
|
|
1682
1683
|
}
|
|
1683
1684
|
const Le = {
|
|
1684
1685
|
name: "thematicBreak",
|
|
1685
|
-
tokenize:
|
|
1686
|
+
tokenize: Lr
|
|
1686
1687
|
};
|
|
1687
|
-
function
|
|
1688
|
+
function Lr(e, n, t) {
|
|
1688
1689
|
let r = 0, i;
|
|
1689
1690
|
return s;
|
|
1690
1691
|
function s(h) {
|
|
@@ -1702,25 +1703,25 @@ function zr(e, n, t) {
|
|
|
1702
1703
|
}
|
|
1703
1704
|
const $ = {
|
|
1704
1705
|
name: "list",
|
|
1705
|
-
tokenize:
|
|
1706
|
+
tokenize: Tr,
|
|
1706
1707
|
continuation: {
|
|
1707
|
-
tokenize:
|
|
1708
|
+
tokenize: Mr
|
|
1708
1709
|
},
|
|
1709
|
-
exit:
|
|
1710
|
-
},
|
|
1711
|
-
tokenize:
|
|
1710
|
+
exit: Fr
|
|
1711
|
+
}, zr = {
|
|
1712
|
+
tokenize: Rr,
|
|
1712
1713
|
partial: !0
|
|
1713
|
-
},
|
|
1714
|
-
tokenize:
|
|
1714
|
+
}, Br = {
|
|
1715
|
+
tokenize: Dr,
|
|
1715
1716
|
partial: !0
|
|
1716
1717
|
};
|
|
1717
|
-
function
|
|
1718
|
+
function Tr(e, n, t) {
|
|
1718
1719
|
const r = this, i = r.events[r.events.length - 1];
|
|
1719
1720
|
let s = i && i[1].type === "linePrefix" ? i[2].sliceSerialize(i[1], !0).length : 0, o = 0;
|
|
1720
1721
|
return a;
|
|
1721
1722
|
function a(c) {
|
|
1722
1723
|
const k = r.containerState.type || (c === 42 || c === 43 || c === 45 ? "listUnordered" : "listOrdered");
|
|
1723
|
-
if (k === "listUnordered" ? !r.containerState.marker || c === r.containerState.marker :
|
|
1724
|
+
if (k === "listUnordered" ? !r.containerState.marker || c === r.containerState.marker : Ne(c)) {
|
|
1724
1725
|
if (r.containerState.type || (r.containerState.type = k, e.enter(k, {
|
|
1725
1726
|
_container: !0
|
|
1726
1727
|
})), k === "listUnordered")
|
|
@@ -1731,7 +1732,7 @@ function Mr(e, n, t) {
|
|
|
1731
1732
|
return t(c);
|
|
1732
1733
|
}
|
|
1733
1734
|
function p(c) {
|
|
1734
|
-
return
|
|
1735
|
+
return Ne(c) && ++o < 10 ? (e.consume(c), p) : (!r.interrupt || o < 2) && (r.containerState.marker ? c === r.containerState.marker : c === 41 || c === 46) ? (e.exit("listItemValue"), h(c)) : t(c);
|
|
1735
1736
|
}
|
|
1736
1737
|
function h(c) {
|
|
1737
1738
|
return e.enter("listItemMarker"), e.consume(c), e.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || c, e.check(
|
|
@@ -1739,7 +1740,7 @@ function Mr(e, n, t) {
|
|
|
1739
1740
|
// Can’t be empty when interrupting.
|
|
1740
1741
|
r.interrupt ? t : m,
|
|
1741
1742
|
e.attempt(
|
|
1742
|
-
|
|
1743
|
+
zr,
|
|
1743
1744
|
g,
|
|
1744
1745
|
d
|
|
1745
1746
|
)
|
|
@@ -1755,7 +1756,7 @@ function Mr(e, n, t) {
|
|
|
1755
1756
|
return r.containerState.size = s + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, n(c);
|
|
1756
1757
|
}
|
|
1757
1758
|
}
|
|
1758
|
-
function
|
|
1759
|
+
function Mr(e, n, t) {
|
|
1759
1760
|
const r = this;
|
|
1760
1761
|
return r.containerState._closeFlow = void 0, e.check(Be, i, s);
|
|
1761
1762
|
function i(a) {
|
|
@@ -1767,7 +1768,7 @@ function Dr(e, n, t) {
|
|
|
1767
1768
|
)(a);
|
|
1768
1769
|
}
|
|
1769
1770
|
function s(a) {
|
|
1770
|
-
return r.containerState.furtherBlankLines || !_(a) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, o(a)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(
|
|
1771
|
+
return r.containerState.furtherBlankLines || !_(a) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, o(a)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(Br, n, o)(a));
|
|
1771
1772
|
}
|
|
1772
1773
|
function o(a) {
|
|
1773
1774
|
return r.containerState._closeFlow = !0, r.interrupt = void 0, M(
|
|
@@ -1778,7 +1779,7 @@ function Dr(e, n, t) {
|
|
|
1778
1779
|
)(a);
|
|
1779
1780
|
}
|
|
1780
1781
|
}
|
|
1781
|
-
function
|
|
1782
|
+
function Dr(e, n, t) {
|
|
1782
1783
|
const r = this;
|
|
1783
1784
|
return M(
|
|
1784
1785
|
e,
|
|
@@ -1791,10 +1792,10 @@ function Fr(e, n, t) {
|
|
|
1791
1792
|
return o && o[1].type === "listItemIndent" && o[2].sliceSerialize(o[1], !0).length === r.containerState.size ? n(s) : t(s);
|
|
1792
1793
|
}
|
|
1793
1794
|
}
|
|
1794
|
-
function
|
|
1795
|
+
function Fr(e) {
|
|
1795
1796
|
e.exit(this.containerState.type);
|
|
1796
1797
|
}
|
|
1797
|
-
function
|
|
1798
|
+
function Rr(e, n, t) {
|
|
1798
1799
|
const r = this;
|
|
1799
1800
|
return M(
|
|
1800
1801
|
e,
|
|
@@ -1807,9 +1808,9 @@ function Nr(e, n, t) {
|
|
|
1807
1808
|
return !_(s) && o && o[1].type === "listItemPrefixWhitespace" ? n(s) : t(s);
|
|
1808
1809
|
}
|
|
1809
1810
|
}
|
|
1810
|
-
const
|
|
1811
|
+
const lt = {
|
|
1811
1812
|
name: "setextUnderline",
|
|
1812
|
-
tokenize:
|
|
1813
|
+
tokenize: Nr,
|
|
1813
1814
|
resolveTo: Or
|
|
1814
1815
|
};
|
|
1815
1816
|
function Or(e, n) {
|
|
@@ -1830,7 +1831,7 @@ function Or(e, n) {
|
|
|
1830
1831
|
};
|
|
1831
1832
|
return e[i][1].type = "setextHeadingText", s ? (e.splice(i, 0, ["enter", o, n]), e.splice(s + 1, 0, ["exit", e[r][1], n]), e[r][1].end = Object.assign({}, e[s][1].end)) : e[r][1] = o, e.push(["exit", o, n]), e;
|
|
1832
1833
|
}
|
|
1833
|
-
function
|
|
1834
|
+
function Nr(e, n, t) {
|
|
1834
1835
|
const r = this;
|
|
1835
1836
|
let i;
|
|
1836
1837
|
return s;
|
|
@@ -1853,7 +1854,7 @@ function Pr(e, n, t) {
|
|
|
1853
1854
|
return h === null || A(h) ? (e.exit("setextHeadingLine"), n(h)) : t(h);
|
|
1854
1855
|
}
|
|
1855
1856
|
}
|
|
1856
|
-
const
|
|
1857
|
+
const Pr = {
|
|
1857
1858
|
tokenize: qr
|
|
1858
1859
|
};
|
|
1859
1860
|
function qr(e) {
|
|
@@ -1870,7 +1871,7 @@ function qr(e) {
|
|
|
1870
1871
|
e.attempt(
|
|
1871
1872
|
this.parser.constructs.flow,
|
|
1872
1873
|
i,
|
|
1873
|
-
e.attempt(
|
|
1874
|
+
e.attempt(Vn, i)
|
|
1874
1875
|
),
|
|
1875
1876
|
"linePrefix"
|
|
1876
1877
|
)
|
|
@@ -1892,14 +1893,14 @@ function qr(e) {
|
|
|
1892
1893
|
return e.enter("lineEnding"), e.consume(s), e.exit("lineEnding"), n.currentConstruct = void 0, t;
|
|
1893
1894
|
}
|
|
1894
1895
|
}
|
|
1895
|
-
const
|
|
1896
|
+
const jr = {
|
|
1896
1897
|
resolveAll: Ft()
|
|
1897
|
-
},
|
|
1898
|
+
}, Gr = Dt("string"), Ur = Dt("text");
|
|
1898
1899
|
function Dt(e) {
|
|
1899
1900
|
return {
|
|
1900
1901
|
tokenize: n,
|
|
1901
1902
|
resolveAll: Ft(
|
|
1902
|
-
e === "text" ?
|
|
1903
|
+
e === "text" ? Hr : void 0
|
|
1903
1904
|
)
|
|
1904
1905
|
};
|
|
1905
1906
|
function n(t) {
|
|
@@ -1942,7 +1943,7 @@ function Ft(e) {
|
|
|
1942
1943
|
return e ? e(t, r) : t;
|
|
1943
1944
|
}
|
|
1944
1945
|
}
|
|
1945
|
-
function
|
|
1946
|
+
function Hr(e, n) {
|
|
1946
1947
|
let t = 0;
|
|
1947
1948
|
for (; ++t <= e.length; )
|
|
1948
1949
|
if ((t === e.length || e[t][1].type === "lineEnding") && e[t - 1][1].type === "data") {
|
|
@@ -1986,7 +1987,7 @@ function Vr(e, n) {
|
|
|
1986
1987
|
}
|
|
1987
1988
|
return e;
|
|
1988
1989
|
}
|
|
1989
|
-
function
|
|
1990
|
+
function Vr(e, n, t) {
|
|
1990
1991
|
let r = Object.assign(
|
|
1991
1992
|
t ? Object.assign({}, t) : {
|
|
1992
1993
|
line: 1,
|
|
@@ -2003,7 +2004,7 @@ function Wr(e, n, t) {
|
|
|
2003
2004
|
const p = {
|
|
2004
2005
|
consume: G,
|
|
2005
2006
|
enter: C,
|
|
2006
|
-
exit:
|
|
2007
|
+
exit: O,
|
|
2007
2008
|
attempt: z(D),
|
|
2008
2009
|
check: z(b),
|
|
2009
2010
|
interrupt: z(b, {
|
|
@@ -2024,13 +2025,13 @@ function Wr(e, n, t) {
|
|
|
2024
2025
|
let m = n.tokenize.call(h, p);
|
|
2025
2026
|
return n.resolveAll && s.push(n), h;
|
|
2026
2027
|
function d(S) {
|
|
2027
|
-
return o = K(o, S),
|
|
2028
|
+
return o = K(o, S), q(), o[o.length - 1] !== null ? [] : (U(n, 0), h.events = Ve(s, h.events, h), h.events);
|
|
2028
2029
|
}
|
|
2029
2030
|
function g(S, E) {
|
|
2030
|
-
return
|
|
2031
|
+
return Qr(c(S), E);
|
|
2031
2032
|
}
|
|
2032
2033
|
function c(S) {
|
|
2033
|
-
return
|
|
2034
|
+
return Wr(o, S);
|
|
2034
2035
|
}
|
|
2035
2036
|
function k() {
|
|
2036
2037
|
const { line: S, column: E, offset: P, _index: H, _bufferIndex: B } = r;
|
|
@@ -2045,7 +2046,7 @@ function Wr(e, n, t) {
|
|
|
2045
2046
|
function T(S) {
|
|
2046
2047
|
i[S.line] = S.column, f();
|
|
2047
2048
|
}
|
|
2048
|
-
function
|
|
2049
|
+
function q() {
|
|
2049
2050
|
let S;
|
|
2050
2051
|
for (; r._index < o.length; ) {
|
|
2051
2052
|
const E = o[r._index];
|
|
@@ -2066,7 +2067,7 @@ function Wr(e, n, t) {
|
|
|
2066
2067
|
const P = E || {};
|
|
2067
2068
|
return P.type = S, P.start = k(), h.events.push(["enter", P, h]), a.push(P), P;
|
|
2068
2069
|
}
|
|
2069
|
-
function
|
|
2070
|
+
function O(S) {
|
|
2070
2071
|
const E = a.pop();
|
|
2071
2072
|
return E.end = k(), h.events.push(["exit", E, h]), E;
|
|
2072
2073
|
}
|
|
@@ -2143,7 +2144,7 @@ function Wr(e, n, t) {
|
|
|
2143
2144
|
r.line in i && r.column < 2 && (r.column = i[r.line], r.offset += i[r.line] - 1);
|
|
2144
2145
|
}
|
|
2145
2146
|
}
|
|
2146
|
-
function
|
|
2147
|
+
function Wr(e, n) {
|
|
2147
2148
|
const t = n.start._index, r = n.start._bufferIndex, i = n.end._index, s = n.end._bufferIndex;
|
|
2148
2149
|
let o;
|
|
2149
2150
|
if (t === i)
|
|
@@ -2157,7 +2158,7 @@ function Qr(e, n) {
|
|
|
2157
2158
|
}
|
|
2158
2159
|
return o;
|
|
2159
2160
|
}
|
|
2160
|
-
function
|
|
2161
|
+
function Qr(e, n) {
|
|
2161
2162
|
let t = -1;
|
|
2162
2163
|
const r = [];
|
|
2163
2164
|
let i;
|
|
@@ -2199,7 +2200,7 @@ function Zr(e, n) {
|
|
|
2199
2200
|
}
|
|
2200
2201
|
return r.join("");
|
|
2201
2202
|
}
|
|
2202
|
-
const
|
|
2203
|
+
const Zr = {
|
|
2203
2204
|
42: $,
|
|
2204
2205
|
43: $,
|
|
2205
2206
|
45: $,
|
|
@@ -2214,91 +2215,91 @@ const $r = {
|
|
|
2214
2215
|
56: $,
|
|
2215
2216
|
57: $,
|
|
2216
2217
|
62: vt
|
|
2218
|
+
}, $r = {
|
|
2219
|
+
91: Jn
|
|
2217
2220
|
}, Jr = {
|
|
2218
|
-
91: Yn
|
|
2219
|
-
}, Yr = {
|
|
2220
2221
|
[-2]: Me,
|
|
2221
2222
|
[-1]: Me,
|
|
2222
2223
|
32: Me
|
|
2223
|
-
},
|
|
2224
|
-
35:
|
|
2224
|
+
}, Yr = {
|
|
2225
|
+
35: nr,
|
|
2225
2226
|
42: Le,
|
|
2226
|
-
45: [
|
|
2227
|
-
60:
|
|
2228
|
-
61:
|
|
2227
|
+
45: [lt, Le],
|
|
2228
|
+
60: or,
|
|
2229
|
+
61: lt,
|
|
2229
2230
|
95: Le,
|
|
2230
|
-
96:
|
|
2231
|
-
126:
|
|
2232
|
-
},
|
|
2231
|
+
96: ot,
|
|
2232
|
+
126: ot
|
|
2233
|
+
}, Xr = {
|
|
2233
2234
|
38: Lt,
|
|
2234
2235
|
92: _t
|
|
2235
|
-
},
|
|
2236
|
+
}, Kr = {
|
|
2236
2237
|
[-5]: De,
|
|
2237
2238
|
[-4]: De,
|
|
2238
2239
|
[-3]: De,
|
|
2239
|
-
33:
|
|
2240
|
+
33: Er,
|
|
2240
2241
|
38: Lt,
|
|
2241
2242
|
42: Pe,
|
|
2242
|
-
60: [
|
|
2243
|
-
91:
|
|
2244
|
-
92: [
|
|
2245
|
-
93:
|
|
2243
|
+
60: [vn, dr],
|
|
2244
|
+
91: Ir,
|
|
2245
|
+
92: [er, _t],
|
|
2246
|
+
93: We,
|
|
2246
2247
|
95: Pe,
|
|
2247
2248
|
96: qn
|
|
2249
|
+
}, ei = {
|
|
2250
|
+
null: [Pe, jr]
|
|
2248
2251
|
}, ti = {
|
|
2249
|
-
null: [Pe, Gr]
|
|
2250
|
-
}, ni = {
|
|
2251
2252
|
null: [42, 95]
|
|
2252
|
-
},
|
|
2253
|
+
}, ni = {
|
|
2253
2254
|
null: []
|
|
2254
|
-
},
|
|
2255
|
+
}, ri = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2255
2256
|
__proto__: null,
|
|
2256
|
-
attentionMarkers:
|
|
2257
|
-
contentInitial:
|
|
2258
|
-
disable:
|
|
2259
|
-
document:
|
|
2260
|
-
flow:
|
|
2261
|
-
flowInitial:
|
|
2262
|
-
insideSpan:
|
|
2263
|
-
string:
|
|
2264
|
-
text:
|
|
2257
|
+
attentionMarkers: ti,
|
|
2258
|
+
contentInitial: $r,
|
|
2259
|
+
disable: ni,
|
|
2260
|
+
document: Zr,
|
|
2261
|
+
flow: Yr,
|
|
2262
|
+
flowInitial: Jr,
|
|
2263
|
+
insideSpan: ei,
|
|
2264
|
+
string: Xr,
|
|
2265
|
+
text: Kr
|
|
2265
2266
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2266
|
-
function
|
|
2267
|
+
function ii(e) {
|
|
2267
2268
|
const t = (
|
|
2268
2269
|
/** @type {FullNormalizedExtension} */
|
|
2269
|
-
|
|
2270
|
+
pn([ri, ...(e || {}).extensions || []])
|
|
2270
2271
|
), r = {
|
|
2271
2272
|
defined: [],
|
|
2272
2273
|
lazy: {},
|
|
2273
2274
|
constructs: t,
|
|
2274
|
-
content: i(
|
|
2275
|
-
document: i(
|
|
2276
|
-
flow: i(
|
|
2277
|
-
string: i(
|
|
2278
|
-
text: i(
|
|
2275
|
+
content: i(yn),
|
|
2276
|
+
document: i(Cn),
|
|
2277
|
+
flow: i(Pr),
|
|
2278
|
+
string: i(Gr),
|
|
2279
|
+
text: i(Ur)
|
|
2279
2280
|
};
|
|
2280
2281
|
return r;
|
|
2281
2282
|
function i(s) {
|
|
2282
2283
|
return o;
|
|
2283
2284
|
function o(a) {
|
|
2284
|
-
return
|
|
2285
|
+
return Vr(r, s, a);
|
|
2285
2286
|
}
|
|
2286
2287
|
}
|
|
2287
2288
|
}
|
|
2288
|
-
function
|
|
2289
|
+
function si(e) {
|
|
2289
2290
|
for (; !zt(e); )
|
|
2290
2291
|
;
|
|
2291
2292
|
return e;
|
|
2292
2293
|
}
|
|
2293
|
-
const
|
|
2294
|
-
function
|
|
2294
|
+
const ut = /[\0\t\n\r]/g;
|
|
2295
|
+
function oi() {
|
|
2295
2296
|
let e = 1, n = "", t = !0, r;
|
|
2296
2297
|
return i;
|
|
2297
2298
|
function i(s, o, a) {
|
|
2298
2299
|
const p = [];
|
|
2299
2300
|
let h, m, d, g, c;
|
|
2300
2301
|
for (s = n + (typeof s == "string" ? s.toString() : new TextDecoder(o || void 0).decode(s)), d = 0, n = "", t && (s.charCodeAt(0) === 65279 && d++, t = void 0); d < s.length; ) {
|
|
2301
|
-
if (
|
|
2302
|
+
if (ut.lastIndex = d, h = ut.exec(s), g = h && h.index !== void 0 ? h.index : s.length, c = s.charCodeAt(g), !h) {
|
|
2302
2303
|
n = s.slice(d);
|
|
2303
2304
|
break;
|
|
2304
2305
|
}
|
|
@@ -2327,48 +2328,48 @@ function ai() {
|
|
|
2327
2328
|
return a && (r && p.push(-5), n && p.push(n), p.push(null)), p;
|
|
2328
2329
|
}
|
|
2329
2330
|
}
|
|
2330
|
-
const
|
|
2331
|
-
function
|
|
2332
|
-
return e.replace(
|
|
2331
|
+
const ai = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
|
|
2332
|
+
function li(e) {
|
|
2333
|
+
return e.replace(ai, ui);
|
|
2333
2334
|
}
|
|
2334
|
-
function
|
|
2335
|
+
function ui(e, n, t) {
|
|
2335
2336
|
if (n)
|
|
2336
2337
|
return n;
|
|
2337
2338
|
if (t.charCodeAt(0) === 35) {
|
|
2338
2339
|
const i = t.charCodeAt(1), s = i === 120 || i === 88;
|
|
2339
2340
|
return It(t.slice(s ? 2 : 1), s ? 16 : 10);
|
|
2340
2341
|
}
|
|
2341
|
-
return
|
|
2342
|
+
return He(t) || e;
|
|
2342
2343
|
}
|
|
2343
2344
|
function ze(e) {
|
|
2344
|
-
return !e || typeof e != "object" ? "" : "position" in e || "type" in e ?
|
|
2345
|
+
return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? ht(e.position) : "start" in e || "end" in e ? ht(e) : "line" in e || "column" in e ? qe(e) : "";
|
|
2345
2346
|
}
|
|
2346
|
-
function
|
|
2347
|
-
return
|
|
2347
|
+
function qe(e) {
|
|
2348
|
+
return ct(e && e.line) + ":" + ct(e && e.column);
|
|
2348
2349
|
}
|
|
2349
|
-
function
|
|
2350
|
-
return
|
|
2350
|
+
function ht(e) {
|
|
2351
|
+
return qe(e && e.start) + "-" + qe(e && e.end);
|
|
2351
2352
|
}
|
|
2352
|
-
function
|
|
2353
|
+
function ct(e) {
|
|
2353
2354
|
return e && typeof e == "number" ? e : 1;
|
|
2354
2355
|
}
|
|
2355
2356
|
const Rt = {}.hasOwnProperty;
|
|
2356
|
-
function
|
|
2357
|
-
return typeof n != "string" && (t = n, n = void 0),
|
|
2358
|
-
|
|
2359
|
-
|
|
2357
|
+
function hi(e, n, t) {
|
|
2358
|
+
return typeof n != "string" && (t = n, n = void 0), ci(t)(
|
|
2359
|
+
si(
|
|
2360
|
+
ii(t).document().write(oi()(e, n, !0))
|
|
2360
2361
|
)
|
|
2361
2362
|
);
|
|
2362
2363
|
}
|
|
2363
|
-
function
|
|
2364
|
+
function ci(e) {
|
|
2364
2365
|
const n = {
|
|
2365
2366
|
transforms: [],
|
|
2366
2367
|
canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
|
|
2367
2368
|
enter: {
|
|
2368
|
-
autolink: s(
|
|
2369
|
+
autolink: s(Je),
|
|
2369
2370
|
autolinkProtocol: F,
|
|
2370
2371
|
autolinkEmail: F,
|
|
2371
|
-
atxHeading: s(
|
|
2372
|
+
atxHeading: s(Qe),
|
|
2372
2373
|
blockQuote: s(ye),
|
|
2373
2374
|
characterEscape: F,
|
|
2374
2375
|
characterReference: F,
|
|
@@ -2380,30 +2381,30 @@ function pi(e) {
|
|
|
2380
2381
|
codeTextData: F,
|
|
2381
2382
|
data: F,
|
|
2382
2383
|
codeFlowValue: F,
|
|
2383
|
-
definition: s(
|
|
2384
|
+
definition: s(qt),
|
|
2384
2385
|
definitionDestinationString: o,
|
|
2385
2386
|
definitionLabelString: o,
|
|
2386
2387
|
definitionTitleString: o,
|
|
2387
|
-
emphasis: s(
|
|
2388
|
-
hardBreakEscape: s(
|
|
2389
|
-
hardBreakTrailing: s(
|
|
2390
|
-
htmlFlow: s(
|
|
2388
|
+
emphasis: s(jt),
|
|
2389
|
+
hardBreakEscape: s(Ze),
|
|
2390
|
+
hardBreakTrailing: s(Ze),
|
|
2391
|
+
htmlFlow: s($e, o),
|
|
2391
2392
|
htmlFlowData: F,
|
|
2392
|
-
htmlText: s(
|
|
2393
|
+
htmlText: s($e, o),
|
|
2393
2394
|
htmlTextData: F,
|
|
2394
2395
|
image: s(Gt),
|
|
2395
2396
|
label: o,
|
|
2396
|
-
link: s(
|
|
2397
|
+
link: s(Je),
|
|
2397
2398
|
listItem: s(Ut),
|
|
2398
2399
|
listItemValue: g,
|
|
2399
|
-
listOrdered: s(
|
|
2400
|
-
listUnordered: s(
|
|
2400
|
+
listOrdered: s(Ye, d),
|
|
2401
|
+
listUnordered: s(Ye),
|
|
2401
2402
|
paragraph: s(Ht),
|
|
2402
2403
|
reference: u,
|
|
2403
2404
|
referenceString: o,
|
|
2404
2405
|
resourceDestinationString: o,
|
|
2405
2406
|
resourceTitleString: o,
|
|
2406
|
-
setextHeading: s(
|
|
2407
|
+
setextHeading: s(Qe),
|
|
2407
2408
|
strong: s(Vt),
|
|
2408
2409
|
thematicBreak: s(Qt)
|
|
2409
2410
|
},
|
|
@@ -2418,7 +2419,7 @@ function pi(e) {
|
|
|
2418
2419
|
characterReferenceMarkerHexadecimal: fe,
|
|
2419
2420
|
characterReferenceMarkerNumeric: fe,
|
|
2420
2421
|
characterReferenceValue: W,
|
|
2421
|
-
codeFenced: p(
|
|
2422
|
+
codeFenced: p(q),
|
|
2422
2423
|
codeFencedFence: T,
|
|
2423
2424
|
codeFencedFenceInfo: c,
|
|
2424
2425
|
codeFencedFenceMeta: k,
|
|
@@ -2428,7 +2429,7 @@ function pi(e) {
|
|
|
2428
2429
|
codeTextData: f,
|
|
2429
2430
|
data: f,
|
|
2430
2431
|
definition: p(),
|
|
2431
|
-
definitionDestinationString:
|
|
2432
|
+
definitionDestinationString: O,
|
|
2432
2433
|
definitionLabelString: G,
|
|
2433
2434
|
definitionTitleString: C,
|
|
2434
2435
|
emphasis: p(),
|
|
@@ -2458,7 +2459,7 @@ function pi(e) {
|
|
|
2458
2459
|
thematicBreak: p()
|
|
2459
2460
|
}
|
|
2460
2461
|
};
|
|
2461
|
-
|
|
2462
|
+
Ot(n, (e || {}).mdastExtensions || []);
|
|
2462
2463
|
const t = {};
|
|
2463
2464
|
return r;
|
|
2464
2465
|
function r(w) {
|
|
@@ -2476,30 +2477,30 @@ function pi(e) {
|
|
|
2476
2477
|
resume: m,
|
|
2477
2478
|
data: t
|
|
2478
2479
|
}, L = [];
|
|
2479
|
-
let
|
|
2480
|
-
for (; ++
|
|
2481
|
-
if (w[
|
|
2482
|
-
if (w[
|
|
2483
|
-
L.push(
|
|
2480
|
+
let N = -1;
|
|
2481
|
+
for (; ++N < w.length; )
|
|
2482
|
+
if (w[N][1].type === "listOrdered" || w[N][1].type === "listUnordered")
|
|
2483
|
+
if (w[N][0] === "enter")
|
|
2484
|
+
L.push(N);
|
|
2484
2485
|
else {
|
|
2485
2486
|
const re = L.pop();
|
|
2486
|
-
|
|
2487
|
+
N = i(w, re, N);
|
|
2487
2488
|
}
|
|
2488
|
-
for (
|
|
2489
|
-
const re = n[w[
|
|
2490
|
-
Rt.call(re, w[
|
|
2489
|
+
for (N = -1; ++N < w.length; ) {
|
|
2490
|
+
const re = n[w[N][0]];
|
|
2491
|
+
Rt.call(re, w[N][1].type) && re[w[N][1].type].call(
|
|
2491
2492
|
Object.assign(
|
|
2492
2493
|
{
|
|
2493
|
-
sliceSerialize: w[
|
|
2494
|
+
sliceSerialize: w[N][2].sliceSerialize
|
|
2494
2495
|
},
|
|
2495
2496
|
v
|
|
2496
2497
|
),
|
|
2497
|
-
w[
|
|
2498
|
+
w[N][1]
|
|
2498
2499
|
);
|
|
2499
2500
|
}
|
|
2500
2501
|
if (v.tokenStack.length > 0) {
|
|
2501
2502
|
const re = v.tokenStack[v.tokenStack.length - 1];
|
|
2502
|
-
(re[1] ||
|
|
2503
|
+
(re[1] || pt).call(v, void 0, re[0]);
|
|
2503
2504
|
}
|
|
2504
2505
|
for (x.position = {
|
|
2505
2506
|
start: me(
|
|
@@ -2516,23 +2517,23 @@ function pi(e) {
|
|
|
2516
2517
|
offset: 0
|
|
2517
2518
|
}
|
|
2518
2519
|
)
|
|
2519
|
-
},
|
|
2520
|
-
x = n.transforms[
|
|
2520
|
+
}, N = -1; ++N < n.transforms.length; )
|
|
2521
|
+
x = n.transforms[N](x) || x;
|
|
2521
2522
|
return x;
|
|
2522
2523
|
}
|
|
2523
2524
|
function i(w, x, v) {
|
|
2524
|
-
let L = x - 1,
|
|
2525
|
+
let L = x - 1, N = -1, re = !1, be, he, Ae, Ie;
|
|
2525
2526
|
for (; ++L <= v; ) {
|
|
2526
2527
|
const Y = w[L];
|
|
2527
2528
|
switch (Y[1].type) {
|
|
2528
2529
|
case "listUnordered":
|
|
2529
2530
|
case "listOrdered":
|
|
2530
2531
|
case "blockQuote": {
|
|
2531
|
-
Y[0] === "enter" ?
|
|
2532
|
+
Y[0] === "enter" ? N++ : N--, Ie = void 0;
|
|
2532
2533
|
break;
|
|
2533
2534
|
}
|
|
2534
2535
|
case "lineEndingBlank": {
|
|
2535
|
-
Y[0] === "enter" && (be && !Ie && !
|
|
2536
|
+
Y[0] === "enter" && (be && !Ie && !N && !Ae && (Ae = L), Ie = void 0);
|
|
2536
2537
|
break;
|
|
2537
2538
|
}
|
|
2538
2539
|
case "linePrefix":
|
|
@@ -2544,7 +2545,7 @@ function pi(e) {
|
|
|
2544
2545
|
default:
|
|
2545
2546
|
Ie = void 0;
|
|
2546
2547
|
}
|
|
2547
|
-
if (!
|
|
2548
|
+
if (!N && Y[0] === "enter" && Y[1].type === "listItemPrefix" || N === -1 && Y[0] === "exit" && (Y[1].type === "listUnordered" || Y[1].type === "listOrdered")) {
|
|
2548
2549
|
if (be) {
|
|
2549
2550
|
let ke = L;
|
|
2550
2551
|
for (he = void 0; ke--; ) {
|
|
@@ -2603,7 +2604,7 @@ function pi(e) {
|
|
|
2603
2604
|
function h(w, x) {
|
|
2604
2605
|
const v = this.stack.pop(), L = this.tokenStack.pop();
|
|
2605
2606
|
if (L)
|
|
2606
|
-
L[0].type !== w.type && (x ? x.call(this, w, L[0]) : (L[1] ||
|
|
2607
|
+
L[0].type !== w.type && (x ? x.call(this, w, L[0]) : (L[1] || pt).call(this, w, L[0]));
|
|
2607
2608
|
else
|
|
2608
2609
|
throw new Error(
|
|
2609
2610
|
"Cannot close `" + w.type + "` (" + ze({
|
|
@@ -2614,7 +2615,7 @@ function pi(e) {
|
|
|
2614
2615
|
v.position.end = me(w.end);
|
|
2615
2616
|
}
|
|
2616
2617
|
function m() {
|
|
2617
|
-
return
|
|
2618
|
+
return hn(this.stack.pop());
|
|
2618
2619
|
}
|
|
2619
2620
|
function d() {
|
|
2620
2621
|
this.data.expectingFirstListItemValue = !0;
|
|
@@ -2636,7 +2637,7 @@ function pi(e) {
|
|
|
2636
2637
|
function T() {
|
|
2637
2638
|
this.data.flowCodeInside || (this.buffer(), this.data.flowCodeInside = !0);
|
|
2638
2639
|
}
|
|
2639
|
-
function
|
|
2640
|
+
function q() {
|
|
2640
2641
|
const w = this.resume(), x = this.stack[this.stack.length - 1];
|
|
2641
2642
|
x.value = w.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
|
|
2642
2643
|
}
|
|
@@ -2654,7 +2655,7 @@ function pi(e) {
|
|
|
2654
2655
|
const w = this.resume(), x = this.stack[this.stack.length - 1];
|
|
2655
2656
|
x.title = w;
|
|
2656
2657
|
}
|
|
2657
|
-
function
|
|
2658
|
+
function O() {
|
|
2658
2659
|
const w = this.resume(), x = this.stack[this.stack.length - 1];
|
|
2659
2660
|
x.url = w;
|
|
2660
2661
|
}
|
|
@@ -2732,7 +2733,7 @@ function pi(e) {
|
|
|
2732
2733
|
}
|
|
2733
2734
|
function ee(w) {
|
|
2734
2735
|
const x = this.sliceSerialize(w), v = this.stack[this.stack.length - 2];
|
|
2735
|
-
v.label =
|
|
2736
|
+
v.label = li(x), v.identifier = Se(x).toLowerCase();
|
|
2736
2737
|
}
|
|
2737
2738
|
function le() {
|
|
2738
2739
|
const w = this.stack[this.stack.length - 1], x = this.resume(), v = this.stack[this.stack.length - 1];
|
|
@@ -2771,9 +2772,9 @@ function pi(e) {
|
|
|
2771
2772
|
v ? (L = It(
|
|
2772
2773
|
x,
|
|
2773
2774
|
v === "characterReferenceMarkerNumeric" ? 10 : 16
|
|
2774
|
-
), this.data.characterReferenceType = void 0) : L =
|
|
2775
|
-
const
|
|
2776
|
-
|
|
2775
|
+
), this.data.characterReferenceType = void 0) : L = He(x);
|
|
2776
|
+
const N = this.stack.pop();
|
|
2777
|
+
N.value += L, N.position.end = me(w.end);
|
|
2777
2778
|
}
|
|
2778
2779
|
function Ee(w) {
|
|
2779
2780
|
f.call(this, w);
|
|
@@ -2805,7 +2806,7 @@ function pi(e) {
|
|
|
2805
2806
|
value: ""
|
|
2806
2807
|
};
|
|
2807
2808
|
}
|
|
2808
|
-
function
|
|
2809
|
+
function qt() {
|
|
2809
2810
|
return {
|
|
2810
2811
|
type: "definition",
|
|
2811
2812
|
identifier: "",
|
|
@@ -2814,13 +2815,13 @@ function pi(e) {
|
|
|
2814
2815
|
url: ""
|
|
2815
2816
|
};
|
|
2816
2817
|
}
|
|
2817
|
-
function
|
|
2818
|
+
function jt() {
|
|
2818
2819
|
return {
|
|
2819
2820
|
type: "emphasis",
|
|
2820
2821
|
children: []
|
|
2821
2822
|
};
|
|
2822
2823
|
}
|
|
2823
|
-
function
|
|
2824
|
+
function Qe() {
|
|
2824
2825
|
return {
|
|
2825
2826
|
type: "heading",
|
|
2826
2827
|
// @ts-expect-error `depth` will be set later.
|
|
@@ -2828,12 +2829,12 @@ function pi(e) {
|
|
|
2828
2829
|
children: []
|
|
2829
2830
|
};
|
|
2830
2831
|
}
|
|
2831
|
-
function
|
|
2832
|
+
function Ze() {
|
|
2832
2833
|
return {
|
|
2833
2834
|
type: "break"
|
|
2834
2835
|
};
|
|
2835
2836
|
}
|
|
2836
|
-
function
|
|
2837
|
+
function $e() {
|
|
2837
2838
|
return {
|
|
2838
2839
|
type: "html",
|
|
2839
2840
|
value: ""
|
|
@@ -2847,7 +2848,7 @@ function pi(e) {
|
|
|
2847
2848
|
alt: null
|
|
2848
2849
|
};
|
|
2849
2850
|
}
|
|
2850
|
-
function
|
|
2851
|
+
function Je() {
|
|
2851
2852
|
return {
|
|
2852
2853
|
type: "link",
|
|
2853
2854
|
title: null,
|
|
@@ -2855,7 +2856,7 @@ function pi(e) {
|
|
|
2855
2856
|
children: []
|
|
2856
2857
|
};
|
|
2857
2858
|
}
|
|
2858
|
-
function
|
|
2859
|
+
function Ye(w) {
|
|
2859
2860
|
return {
|
|
2860
2861
|
type: "list",
|
|
2861
2862
|
ordered: w.type === "listOrdered",
|
|
@@ -2903,14 +2904,14 @@ function me(e) {
|
|
|
2903
2904
|
offset: e.offset
|
|
2904
2905
|
};
|
|
2905
2906
|
}
|
|
2906
|
-
function
|
|
2907
|
+
function Ot(e, n) {
|
|
2907
2908
|
let t = -1;
|
|
2908
2909
|
for (; ++t < n.length; ) {
|
|
2909
2910
|
const r = n[t];
|
|
2910
|
-
Array.isArray(r) ?
|
|
2911
|
+
Array.isArray(r) ? Ot(e, r) : pi(e, r);
|
|
2911
2912
|
}
|
|
2912
2913
|
}
|
|
2913
|
-
function
|
|
2914
|
+
function pi(e, n) {
|
|
2914
2915
|
let t;
|
|
2915
2916
|
for (t in n)
|
|
2916
2917
|
if (Rt.call(n, t))
|
|
@@ -2933,7 +2934,7 @@ function di(e, n) {
|
|
|
2933
2934
|
}
|
|
2934
2935
|
}
|
|
2935
2936
|
}
|
|
2936
|
-
function
|
|
2937
|
+
function pt(e, n) {
|
|
2937
2938
|
throw e ? new Error(
|
|
2938
2939
|
"Cannot close `" + e.type + "` (" + ze({
|
|
2939
2940
|
start: e.start,
|
|
@@ -2949,7 +2950,7 @@ function dt(e, n) {
|
|
|
2949
2950
|
}) + ") is still open"
|
|
2950
2951
|
);
|
|
2951
2952
|
}
|
|
2952
|
-
class
|
|
2953
|
+
class di {
|
|
2953
2954
|
/**
|
|
2954
2955
|
* Create a new edit map.
|
|
2955
2956
|
*/
|
|
@@ -2965,7 +2966,7 @@ class mi {
|
|
|
2965
2966
|
* @returns {undefined}
|
|
2966
2967
|
*/
|
|
2967
2968
|
add(n, t, r) {
|
|
2968
|
-
|
|
2969
|
+
mi(this, n, t, r);
|
|
2969
2970
|
}
|
|
2970
2971
|
// To do: add this when moving to `micromark`.
|
|
2971
2972
|
// /**
|
|
@@ -3004,7 +3005,7 @@ class mi {
|
|
|
3004
3005
|
this.map.length = 0;
|
|
3005
3006
|
}
|
|
3006
3007
|
}
|
|
3007
|
-
function
|
|
3008
|
+
function mi(e, n, t, r) {
|
|
3008
3009
|
let i = 0;
|
|
3009
3010
|
if (!(t === 0 && r.length === 0)) {
|
|
3010
3011
|
for (; i < e.map.length; ) {
|
|
@@ -3017,7 +3018,7 @@ function gi(e, n, t, r) {
|
|
|
3017
3018
|
e.map.push([n, t, r]);
|
|
3018
3019
|
}
|
|
3019
3020
|
}
|
|
3020
|
-
function
|
|
3021
|
+
function gi(e, n) {
|
|
3021
3022
|
let t = !1;
|
|
3022
3023
|
const r = [];
|
|
3023
3024
|
for (; n < e.length; ) {
|
|
@@ -3040,17 +3041,17 @@ function fi(e, n) {
|
|
|
3040
3041
|
}
|
|
3041
3042
|
return r;
|
|
3042
3043
|
}
|
|
3043
|
-
function
|
|
3044
|
+
function fi() {
|
|
3044
3045
|
return {
|
|
3045
3046
|
flow: {
|
|
3046
3047
|
null: {
|
|
3047
|
-
tokenize:
|
|
3048
|
-
resolveAll:
|
|
3048
|
+
tokenize: wi,
|
|
3049
|
+
resolveAll: bi
|
|
3049
3050
|
}
|
|
3050
3051
|
}
|
|
3051
3052
|
};
|
|
3052
3053
|
}
|
|
3053
|
-
function
|
|
3054
|
+
function wi(e, n, t) {
|
|
3054
3055
|
const r = this;
|
|
3055
3056
|
let i = 0, s = 0, o;
|
|
3056
3057
|
return a;
|
|
@@ -3091,13 +3092,13 @@ function bi(e, n, t) {
|
|
|
3091
3092
|
)(f) : k(f));
|
|
3092
3093
|
}
|
|
3093
3094
|
function k(f) {
|
|
3094
|
-
return f === 45 || f === 58 ?
|
|
3095
|
+
return f === 45 || f === 58 ? q(f) : f === 124 ? (o = !0, e.enter("tableCellDivider"), e.consume(f), e.exit("tableCellDivider"), T) : D(f);
|
|
3095
3096
|
}
|
|
3096
3097
|
function T(f) {
|
|
3097
|
-
return _(f) ? M(e,
|
|
3098
|
+
return _(f) ? M(e, q, "whitespace")(f) : q(f);
|
|
3098
3099
|
}
|
|
3099
|
-
function
|
|
3100
|
-
return f === 58 ? (s += 1, o = !0, e.enter("tableDelimiterMarker"), e.consume(f), e.exit("tableDelimiterMarker"), y) : f === 45 ? (s += 1, y(f)) : f === null || A(f) ?
|
|
3100
|
+
function q(f) {
|
|
3101
|
+
return f === 58 ? (s += 1, o = !0, e.enter("tableDelimiterMarker"), e.consume(f), e.exit("tableDelimiterMarker"), y) : f === 45 ? (s += 1, y(f)) : f === null || A(f) ? O(f) : D(f);
|
|
3101
3102
|
}
|
|
3102
3103
|
function y(f) {
|
|
3103
3104
|
return f === 45 ? (e.enter("tableDelimiterFiller"), G(f)) : D(f);
|
|
@@ -3106,9 +3107,9 @@ function bi(e, n, t) {
|
|
|
3106
3107
|
return f === 45 ? (e.consume(f), G) : f === 58 ? (o = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(f), e.exit("tableDelimiterMarker"), C) : (e.exit("tableDelimiterFiller"), C(f));
|
|
3107
3108
|
}
|
|
3108
3109
|
function C(f) {
|
|
3109
|
-
return _(f) ? M(e,
|
|
3110
|
+
return _(f) ? M(e, O, "whitespace")(f) : O(f);
|
|
3110
3111
|
}
|
|
3111
|
-
function
|
|
3112
|
+
function O(f) {
|
|
3112
3113
|
return f === 124 ? k(f) : f === null || A(f) ? !o || i !== s ? D(f) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), n(f)) : D(f);
|
|
3113
3114
|
}
|
|
3114
3115
|
function D(f) {
|
|
@@ -3127,12 +3128,12 @@ function bi(e, n, t) {
|
|
|
3127
3128
|
return f === 92 || f === 124 ? (e.consume(f), U) : U(f);
|
|
3128
3129
|
}
|
|
3129
3130
|
}
|
|
3130
|
-
function
|
|
3131
|
+
function bi(e, n) {
|
|
3131
3132
|
let t = -1, r = !0, i = 0, s = [0, 0, 0, 0], o = [0, 0, 0, 0], a = !1, p = 0, h, m, d;
|
|
3132
|
-
const g = new
|
|
3133
|
+
const g = new di();
|
|
3133
3134
|
for (; ++t < e.length; ) {
|
|
3134
3135
|
const c = e[t], k = c[1];
|
|
3135
|
-
c[0] === "enter" ? k.type === "tableHead" ? (a = !1, p !== 0 && (
|
|
3136
|
+
c[0] === "enter" ? k.type === "tableHead" ? (a = !1, p !== 0 && (dt(g, n, p, h, m), m = void 0, p = 0), h = {
|
|
3136
3137
|
type: "table",
|
|
3137
3138
|
start: Object.assign({}, k.start),
|
|
3138
3139
|
// Note: correct end is set later.
|
|
@@ -3165,9 +3166,9 @@ function xi(e, n) {
|
|
|
3165
3166
|
d
|
|
3166
3167
|
)) : o[1] !== 0 && (d = _e(g, n, o, i, t, d)), i = 0) : i && (k.type === "data" || k.type === "tableDelimiterMarker" || k.type === "tableDelimiterFiller") && (o[3] = t);
|
|
3167
3168
|
}
|
|
3168
|
-
for (p !== 0 &&
|
|
3169
|
+
for (p !== 0 && dt(g, n, p, h, m), g.consume(n.events), t = -1; ++t < n.events.length; ) {
|
|
3169
3170
|
const c = n.events[t];
|
|
3170
|
-
c[0] === "enter" && c[1].type === "table" && (c[1]._align =
|
|
3171
|
+
c[0] === "enter" && c[1].type === "table" && (c[1]._align = gi(n.events, t));
|
|
3171
3172
|
}
|
|
3172
3173
|
return e;
|
|
3173
3174
|
}
|
|
@@ -3197,7 +3198,7 @@ function _e(e, n, t, r, i, s) {
|
|
|
3197
3198
|
}
|
|
3198
3199
|
return i !== void 0 && (s.end = Object.assign({}, Ce(n.events, i)), e.add(i, 0, [["exit", s, n]]), s = void 0), s;
|
|
3199
3200
|
}
|
|
3200
|
-
function
|
|
3201
|
+
function dt(e, n, t, r, i) {
|
|
3201
3202
|
const s = [], o = Ce(n.events, t);
|
|
3202
3203
|
i && (i.end = Object.assign({}, o), s.push(["exit", i, n])), r.end = Object.assign({}, o), s.push(["exit", r, n]), e.add(t + 1, 0, s);
|
|
3203
3204
|
}
|
|
@@ -3205,24 +3206,24 @@ function Ce(e, n) {
|
|
|
3205
3206
|
const t = e[n], r = t[0] === "enter" ? "start" : "end";
|
|
3206
3207
|
return t[1][r];
|
|
3207
3208
|
}
|
|
3208
|
-
function
|
|
3209
|
+
function xi() {
|
|
3209
3210
|
return {
|
|
3210
3211
|
enter: {
|
|
3211
|
-
table:
|
|
3212
|
-
tableData:
|
|
3213
|
-
tableHeader:
|
|
3214
|
-
tableRow:
|
|
3212
|
+
table: yi,
|
|
3213
|
+
tableData: mt,
|
|
3214
|
+
tableHeader: mt,
|
|
3215
|
+
tableRow: Ci
|
|
3215
3216
|
},
|
|
3216
3217
|
exit: {
|
|
3217
|
-
codeText:
|
|
3218
|
-
table:
|
|
3218
|
+
codeText: Si,
|
|
3219
|
+
table: ki,
|
|
3219
3220
|
tableData: Fe,
|
|
3220
3221
|
tableHeader: Fe,
|
|
3221
3222
|
tableRow: Fe
|
|
3222
3223
|
}
|
|
3223
3224
|
};
|
|
3224
3225
|
}
|
|
3225
|
-
function
|
|
3226
|
+
function yi(e) {
|
|
3226
3227
|
const n = e._align;
|
|
3227
3228
|
this.enter(
|
|
3228
3229
|
{
|
|
@@ -3235,33 +3236,33 @@ function ki(e) {
|
|
|
3235
3236
|
e
|
|
3236
3237
|
), this.data.inTable = !0;
|
|
3237
3238
|
}
|
|
3238
|
-
function
|
|
3239
|
+
function ki(e) {
|
|
3239
3240
|
this.exit(e), this.data.inTable = void 0;
|
|
3240
3241
|
}
|
|
3241
|
-
function
|
|
3242
|
+
function Ci(e) {
|
|
3242
3243
|
this.enter({ type: "tableRow", children: [] }, e);
|
|
3243
3244
|
}
|
|
3244
3245
|
function Fe(e) {
|
|
3245
3246
|
this.exit(e);
|
|
3246
3247
|
}
|
|
3247
|
-
function
|
|
3248
|
+
function mt(e) {
|
|
3248
3249
|
this.enter({ type: "tableCell", children: [] }, e);
|
|
3249
3250
|
}
|
|
3250
|
-
function
|
|
3251
|
+
function Si(e) {
|
|
3251
3252
|
let n = this.resume();
|
|
3252
|
-
this.data.inTable && (n = n.replace(/\\([\\|])/g,
|
|
3253
|
+
this.data.inTable && (n = n.replace(/\\([\\|])/g, Ei));
|
|
3253
3254
|
const t = this.stack[this.stack.length - 1];
|
|
3254
3255
|
t.type, t.value = n, this.exit(e);
|
|
3255
3256
|
}
|
|
3256
|
-
function
|
|
3257
|
+
function Ei(e, n) {
|
|
3257
3258
|
return n === "|" ? n : e;
|
|
3258
3259
|
}
|
|
3259
|
-
class
|
|
3260
|
+
class Ai extends Error {
|
|
3260
3261
|
constructor(n = "Operation was cancelled.") {
|
|
3261
3262
|
super(n);
|
|
3262
3263
|
}
|
|
3263
3264
|
}
|
|
3264
|
-
class
|
|
3265
|
+
class gt {
|
|
3265
3266
|
constructor() {
|
|
3266
3267
|
I(this, "isCancellationRequested");
|
|
3267
3268
|
I(this, "listeners", /* @__PURE__ */ new Set());
|
|
@@ -3282,20 +3283,20 @@ class ft {
|
|
|
3282
3283
|
}
|
|
3283
3284
|
throwIfCancellationRequested() {
|
|
3284
3285
|
if (this.isCancellationRequested)
|
|
3285
|
-
throw new
|
|
3286
|
+
throw new Ai();
|
|
3286
3287
|
}
|
|
3287
3288
|
}
|
|
3288
|
-
class
|
|
3289
|
+
class Ii {
|
|
3289
3290
|
constructor(n, t) {
|
|
3290
3291
|
I(this, "node");
|
|
3291
3292
|
I(this, "codeNode");
|
|
3292
3293
|
I(this, "language");
|
|
3293
3294
|
I(this, "code");
|
|
3294
3295
|
I(this, "_ct");
|
|
3295
|
-
this.node = /* @__PURE__ */ R("pre", null, this.codeNode = /* @__PURE__ */ R("code", null)), this.updateCodeAsync(n, t, this._ct = new
|
|
3296
|
+
this.node = /* @__PURE__ */ R("pre", null, this.codeNode = /* @__PURE__ */ R("code", null)), this.updateCodeAsync(n, t, this._ct = new gt());
|
|
3296
3297
|
}
|
|
3297
3298
|
async updateCodeAsync(n, t, r) {
|
|
3298
|
-
const i =
|
|
3299
|
+
const i = _i(n);
|
|
3299
3300
|
if (i) {
|
|
3300
3301
|
if (await i.promise, r.isCancellationRequested)
|
|
3301
3302
|
return;
|
|
@@ -3306,19 +3307,19 @@ class vi {
|
|
|
3306
3307
|
this.language = n, this.code = t, this.codeNode.textContent = t;
|
|
3307
3308
|
}
|
|
3308
3309
|
updateCode(n, t) {
|
|
3309
|
-
this._ct.cancel(), !(this.language === n && this.code === t) && this.updateCodeAsync(n, t, this._ct = new
|
|
3310
|
+
this._ct.cancel(), !(this.language === n && this.code === t) && this.updateCodeAsync(n, t, this._ct = new gt());
|
|
3310
3311
|
}
|
|
3311
3312
|
}
|
|
3312
3313
|
let pe;
|
|
3313
|
-
function
|
|
3314
|
+
function vi() {
|
|
3314
3315
|
return pe || (pe = { promise: import("./core-Diwflo5W.js") }, pe.promise.then((e) => pe.result = e).catch((e) => pe.error = e), pe);
|
|
3315
3316
|
}
|
|
3316
|
-
const
|
|
3317
|
-
function
|
|
3318
|
-
let n =
|
|
3317
|
+
const ft = {};
|
|
3318
|
+
function _i(e) {
|
|
3319
|
+
let n = ft[e];
|
|
3319
3320
|
if (n)
|
|
3320
3321
|
return n;
|
|
3321
|
-
|
|
3322
|
+
vi();
|
|
3322
3323
|
let t;
|
|
3323
3324
|
switch (e) {
|
|
3324
3325
|
case "javascript":
|
|
@@ -3344,16 +3345,16 @@ function Li(e) {
|
|
|
3344
3345
|
const r = await t;
|
|
3345
3346
|
return (await pe.promise).default.registerLanguage(e, r.default), r.default;
|
|
3346
3347
|
})()
|
|
3347
|
-
},
|
|
3348
|
+
}, ft[e] = n, n.promise.then((r) => n.result = r).catch((r) => n.error = r), n;
|
|
3348
3349
|
}
|
|
3349
|
-
function
|
|
3350
|
-
const t =
|
|
3351
|
-
extensions: [
|
|
3352
|
-
mdastExtensions: [
|
|
3350
|
+
function je(e, n) {
|
|
3351
|
+
const t = hi(n, {
|
|
3352
|
+
extensions: [fi()],
|
|
3353
|
+
mdastExtensions: [xi()]
|
|
3353
3354
|
}), r = {}, i = {};
|
|
3354
|
-
|
|
3355
|
+
Nt(t, r, i), Ge(t, e, r, i);
|
|
3355
3356
|
}
|
|
3356
|
-
function
|
|
3357
|
+
function Nt(e, n, t) {
|
|
3357
3358
|
for (const r of e.children) {
|
|
3358
3359
|
switch (r.type) {
|
|
3359
3360
|
case "definition":
|
|
@@ -3361,7 +3362,7 @@ function Ot(e, n, t) {
|
|
|
3361
3362
|
i && (n[i] = r, t[i.toLowerCase()] = r);
|
|
3362
3363
|
continue;
|
|
3363
3364
|
}
|
|
3364
|
-
r.children &&
|
|
3365
|
+
r.children && Nt(r, n, t);
|
|
3365
3366
|
}
|
|
3366
3367
|
}
|
|
3367
3368
|
function Ge(e, n, t, r) {
|
|
@@ -3371,7 +3372,7 @@ function Ge(e, n, t, r) {
|
|
|
3371
3372
|
let a;
|
|
3372
3373
|
switch (o.type) {
|
|
3373
3374
|
case "code":
|
|
3374
|
-
let p =
|
|
3375
|
+
let p = wt.get(i);
|
|
3375
3376
|
if (p)
|
|
3376
3377
|
p.updateCode(o.lang, o.value);
|
|
3377
3378
|
else {
|
|
@@ -3379,7 +3380,7 @@ function Ge(e, n, t, r) {
|
|
|
3379
3380
|
const m = i.nextSibling;
|
|
3380
3381
|
i.remove(), i = m;
|
|
3381
3382
|
}
|
|
3382
|
-
p = new
|
|
3383
|
+
p = new Ii(o.lang, o.value), i = p.node, wt.set(i, p), n.appendChild(i);
|
|
3383
3384
|
}
|
|
3384
3385
|
i = i.nextSibling;
|
|
3385
3386
|
continue;
|
|
@@ -3540,15 +3541,15 @@ function Ge(e, n, t, r) {
|
|
|
3540
3541
|
i.remove(), i = o;
|
|
3541
3542
|
}
|
|
3542
3543
|
}
|
|
3543
|
-
const
|
|
3544
|
-
class
|
|
3544
|
+
const wt = /* @__PURE__ */ new WeakMap();
|
|
3545
|
+
class Li {
|
|
3545
3546
|
constructor(n) {
|
|
3546
3547
|
I(this, "node");
|
|
3547
3548
|
I(this, "messageNode");
|
|
3548
3549
|
this.node = /* @__PURE__ */ R("div", { class: "shadow-md border border-Light rounded-lg" }, this.messageNode = /* @__PURE__ */ R("div", { class: "p-5" }, n));
|
|
3549
3550
|
}
|
|
3550
3551
|
updateMarkdown(n) {
|
|
3551
|
-
|
|
3552
|
+
je(this.messageNode, n);
|
|
3552
3553
|
}
|
|
3553
3554
|
}
|
|
3554
3555
|
class Pt {
|
|
@@ -3557,10 +3558,10 @@ class Pt {
|
|
|
3557
3558
|
I(this, "chat");
|
|
3558
3559
|
I(this, "message");
|
|
3559
3560
|
I(this, "bubble");
|
|
3560
|
-
this.chat = n, this.message = t, this.node = /* @__PURE__ */ R("li", { class: "relative" }, r, (this.bubble = new
|
|
3561
|
+
this.chat = n, this.message = t, this.node = /* @__PURE__ */ R("li", { class: "relative" }, r, (this.bubble = new Li(t)).node);
|
|
3561
3562
|
}
|
|
3562
3563
|
}
|
|
3563
|
-
class
|
|
3564
|
+
class zi extends Pt {
|
|
3564
3565
|
constructor(n, t, r, i) {
|
|
3565
3566
|
super(
|
|
3566
3567
|
n,
|
|
@@ -3575,7 +3576,7 @@ class Bi extends Pt {
|
|
|
3575
3576
|
};
|
|
3576
3577
|
}
|
|
3577
3578
|
}
|
|
3578
|
-
class
|
|
3579
|
+
class bt extends Pt {
|
|
3579
3580
|
constructor(n, t, r) {
|
|
3580
3581
|
super(n, t, r), this.bubble.node.classList.add("bg-White"), this.bubble.messageNode.classList.add("prose", "prose-sm", "prose-neutral", "prose-code:text-[1em]", "max-w-none");
|
|
3581
3582
|
}
|
|
@@ -3589,8 +3590,8 @@ class xt extends Pt {
|
|
|
3589
3590
|
};
|
|
3590
3591
|
}
|
|
3591
3592
|
}
|
|
3592
|
-
var
|
|
3593
|
-
function
|
|
3593
|
+
var j = /* @__PURE__ */ ((e) => (e[e.Init = 0] = "Init", e[e.Done = 1] = "Done", e[e.Error = 2] = "Error", e[e.AgentManifest = 3] = "AgentManifest", e[e.AppendMessage = 4] = "AppendMessage", e[e.ToolCallUpdate = 5] = "ToolCallUpdate", e[e.Loop = 6] = "Loop", e[e.ToolCallStatus = 7] = "ToolCallStatus", e[e.ToolCallLog = 8] = "ToolCallLog", e[e.ToolCallDone = 9] = "ToolCallDone", e[e.ToolCallError = 10] = "ToolCallError", e))(j || {}), X = /* @__PURE__ */ ((e) => (e.Progress = "progress", e.Complete = "complete", e.Info = "info", e.Warning = "warning", e.Error = "error", e.Undetermined = "undetermined", e))(X || {}), oe = /* @__PURE__ */ ((e) => (e.ExtraSmall = "16", e.Small = "20", e.Medium = "24", e.Large = "28", e.ExtraLarge = "32", e.ExtraExtraLarge = "40", e))(oe || {});
|
|
3594
|
+
function Bi({ size: e = oe.Medium, ...n }) {
|
|
3594
3595
|
const t = J("svg");
|
|
3595
3596
|
t.setAttribute("viewBox", "0 0 448 512"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e), xe(t, n);
|
|
3596
3597
|
const r = J("path");
|
|
@@ -3599,7 +3600,7 @@ function Ti({ size: e = oe.Medium, ...n }) {
|
|
|
3599
3600
|
"M413.505 91.951L133.49 371.966l-98.995-98.995c-4.686-4.686-12.284-4.686-16.971 0L6.211 284.284c-4.686 4.686-4.686 12.284 0 16.971l118.794 118.794c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-11.314-11.314c-4.686-4.686-12.284-4.686-16.97 0z"
|
|
3600
3601
|
), t.appendChild(r), t.classList.add("icon"), t;
|
|
3601
3602
|
}
|
|
3602
|
-
function
|
|
3603
|
+
function Ti({ size: e = oe.Medium, ...n }) {
|
|
3603
3604
|
const t = J("svg");
|
|
3604
3605
|
t.setAttribute("viewBox", "0 0 512 512"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e), xe(t, n);
|
|
3605
3606
|
const r = J("path");
|
|
@@ -3608,7 +3609,7 @@ function Mi({ size: e = oe.Medium, ...n }) {
|
|
|
3608
3609
|
"M256 40c118.621 0 216 96.075 216 216 0 119.291-96.61 216-216 216-119.244 0-216-96.562-216-216 0-119.203 96.602-216 216-216m0-32C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm-11.49 120h22.979c6.823 0 12.274 5.682 11.99 12.5l-7 168c-.268 6.428-5.556 11.5-11.99 11.5h-8.979c-6.433 0-11.722-5.073-11.99-11.5l-7-168c-.283-6.818 5.167-12.5 11.99-12.5zM256 340c-15.464 0-28 12.536-28 28s12.536 28 28 28 28-12.536 28-28-12.536-28-28-28z"
|
|
3609
3610
|
), t.appendChild(r), t.classList.add("icon"), t;
|
|
3610
3611
|
}
|
|
3611
|
-
function
|
|
3612
|
+
function xt({ size: e = oe.Medium, ...n }) {
|
|
3612
3613
|
const t = J("svg");
|
|
3613
3614
|
t.setAttribute("viewBox", "0 0 512 512"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e), xe(t, n);
|
|
3614
3615
|
const r = J("path");
|
|
@@ -3617,7 +3618,7 @@ function yt({ size: e = oe.Medium, ...n }) {
|
|
|
3617
3618
|
"M256 40c118.621 0 216 96.075 216 216 0 119.291-96.61 216-216 216-119.244 0-216-96.562-216-216 0-119.203 96.602-216 216-216m0-32C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm-36 344h12V232h-12c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12h48c6.627 0 12 5.373 12 12v140h12c6.627 0 12 5.373 12 12v8c0 6.627-5.373 12-12 12h-72c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12zm36-240c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32z"
|
|
3618
3619
|
), t.appendChild(r), t.classList.add("icon"), t;
|
|
3619
3620
|
}
|
|
3620
|
-
function
|
|
3621
|
+
function Mi({ size: e = oe.Medium, ...n }) {
|
|
3621
3622
|
const t = J("svg");
|
|
3622
3623
|
t.setAttribute("viewBox", "0 0 32 32"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e), xe(t, n);
|
|
3623
3624
|
const r = J("path");
|
|
@@ -3626,7 +3627,7 @@ function Di({ size: e = oe.Medium, ...n }) {
|
|
|
3626
3627
|
"M14.75 21.75C15.0833 21.4167 15.5 21.25 16 21.25C16.5 21.25 16.9167 21.4167 17.25 21.75C17.5833 22.0833 17.75 22.5 17.75 23C17.75 23.5 17.5833 23.9167 17.25 24.25C16.9167 24.5833 16.5 24.75 16 24.75C15.5 24.75 15.0833 24.5833 14.75 24.25C14.4167 23.9167 14.25 23.5 14.25 23C14.25 22.5 14.4167 22.0833 14.75 21.75ZM16.5 19.75H15.5C15.2917 19.75 15.1042 19.6875 14.9375 19.5625C14.8125 19.3958 14.75 19.2083 14.75 19C14.75 18 15 17.1667 15.5 16.5C16 15.7917 16.5417 15.2917 17.125 15C17.75 14.7083 18.3125 14.3333 18.8125 13.875C19.3125 13.4167 19.5625 12.875 19.5625 12.25C19.5625 11.8333 19.4375 11.4375 19.1875 11.0625C18.9375 10.6875 18.5417 10.375 18 10.125C17.4583 9.875 16.7917 9.75 16 9.75C14.4583 9.75 13.2083 10.3542 12.25 11.5625C12 11.9375 11.6667 11.9792 11.25 11.6875L10.4375 11.125C10.0208 10.8333 9.95833 10.4792 10.25 10.0625C11.7083 8.1875 13.625 7.25 16 7.25C17.7083 7.25 19.1458 7.70833 20.3125 8.625C21.4792 9.54167 22.0625 10.75 22.0625 12.25C22.0625 13.2083 21.8125 14.0417 21.3125 14.75C20.8125 15.4167 20.25 15.8958 19.625 16.1875C19.0417 16.4792 18.5 16.875 18 17.375C17.5 17.8333 17.25 18.375 17.25 19C17.25 19.2083 17.1667 19.3958 17 19.5625C16.875 19.6875 16.7083 19.75 16.5 19.75ZM16 2.5C12.25 2.5 9.0625 3.83333 6.4375 6.5C3.8125 9.125 2.5 12.2917 2.5 16C2.5 19.75 3.8125 22.9375 6.4375 25.5625C9.10417 28.1875 12.2917 29.5 16 29.5C19.75 29.5 22.9375 28.1875 25.5625 25.5625C28.1875 22.8958 29.5 19.7083 29.5 16C29.5 12.25 28.1667 9.0625 25.5 6.4375C22.875 3.8125 19.7083 2.5 16 2.5ZM5 5.0625C8.04167 2.02083 11.7083 0.5 16 0.5C20.2917 0.5 23.9375 2.02083 26.9375 5.0625C29.9792 8.0625 31.5 11.7083 31.5 16C31.5 20.2917 29.9792 23.9583 26.9375 27C23.9375 30 20.2917 31.5 16 31.5C11.7083 31.5 8.04167 30 5 27C2 23.9583 0.5 20.2917 0.5 16C0.5 11.7083 2 8.0625 5 5.0625Z"
|
|
3627
3628
|
), t.appendChild(r), t.classList.add("icon"), t;
|
|
3628
3629
|
}
|
|
3629
|
-
class
|
|
3630
|
+
class Di {
|
|
3630
3631
|
// export interface AIChatToolCallProps extends JSX.HTMLAttributes<HTMLLIElement> {
|
|
3631
3632
|
// id?: string;
|
|
3632
3633
|
// name?: string;
|
|
@@ -3669,7 +3670,7 @@ class Ue {
|
|
|
3669
3670
|
I(this, "_itemsNode");
|
|
3670
3671
|
I(this, "_itemsByIndex", {});
|
|
3671
3672
|
I(this, "_initialItem");
|
|
3672
|
-
this._initialItem = new
|
|
3673
|
+
this._initialItem = new yt(n, t), this.node = /* @__PURE__ */ R("li", { class: "first:pt-0 last:pb-0 pt-2 pb-2" }, this._itemsNode = /* @__PURE__ */ R("ol", { class: "flex flex-col gap-1" }, this._initialItem.node));
|
|
3673
3674
|
}
|
|
3674
3675
|
log(n, t, r) {
|
|
3675
3676
|
}
|
|
@@ -3678,7 +3679,7 @@ class Ue {
|
|
|
3678
3679
|
if (this._initialItem)
|
|
3679
3680
|
this._itemsByIndex[n] = s = this._initialItem, this._initialItem = null;
|
|
3680
3681
|
else if (!(s = this._itemsByIndex[n])) {
|
|
3681
|
-
this._itemsByIndex[n] = s = new
|
|
3682
|
+
this._itemsByIndex[n] = s = new yt(r, i), this._itemsNode.appendChild(s.node);
|
|
3682
3683
|
return;
|
|
3683
3684
|
}
|
|
3684
3685
|
s.status(t, r, i);
|
|
@@ -3706,45 +3707,45 @@ class Ue {
|
|
|
3706
3707
|
}
|
|
3707
3708
|
}
|
|
3708
3709
|
}
|
|
3709
|
-
class
|
|
3710
|
+
class yt {
|
|
3710
3711
|
constructor(n, t) {
|
|
3711
3712
|
I(this, "node");
|
|
3712
3713
|
I(this, "_icon");
|
|
3713
3714
|
I(this, "_iconNode");
|
|
3714
3715
|
I(this, "_markdown");
|
|
3715
3716
|
I(this, "_markdownNode");
|
|
3716
|
-
this._icon = n, this._markdown = t, this.node = /* @__PURE__ */ R("li", { class: "flex gap-2 items-center px-5" }, this._iconNode =
|
|
3717
|
+
this._icon = n, this._markdown = t, this.node = /* @__PURE__ */ R("li", { class: "flex gap-2 items-center px-5" }, this._iconNode = kt(n), this._markdownNode = /* @__PURE__ */ R("span", null)), je(this._markdownNode, this._markdown);
|
|
3717
3718
|
}
|
|
3718
3719
|
get icon() {
|
|
3719
3720
|
return this._icon;
|
|
3720
3721
|
}
|
|
3721
3722
|
set icon(n) {
|
|
3722
|
-
n !== this._icon && (this._iconNode.replaceWith(this._iconNode =
|
|
3723
|
+
n !== this._icon && (this._iconNode.replaceWith(this._iconNode = kt(n)), this._icon = n);
|
|
3723
3724
|
}
|
|
3724
3725
|
get markdown() {
|
|
3725
3726
|
return this._markdown;
|
|
3726
3727
|
}
|
|
3727
3728
|
set markdown(n) {
|
|
3728
|
-
n !== this._markdown && (
|
|
3729
|
+
n !== this._markdown && (je(this._markdownNode, this._markdown = n), this._markdown = n);
|
|
3729
3730
|
}
|
|
3730
3731
|
status(n, t, r) {
|
|
3731
3732
|
this.icon = t, this.markdown = r;
|
|
3732
3733
|
}
|
|
3733
3734
|
}
|
|
3734
|
-
function
|
|
3735
|
+
function kt(e) {
|
|
3735
3736
|
switch (e) {
|
|
3736
3737
|
case X.Progress:
|
|
3737
|
-
return /* @__PURE__ */ R(Et, { size:
|
|
3738
|
+
return /* @__PURE__ */ R(Et, { size: Ue.Small });
|
|
3738
3739
|
case X.Complete:
|
|
3739
|
-
return /* @__PURE__ */ R(
|
|
3740
|
+
return /* @__PURE__ */ R(Bi, { size: oe.Medium, class: "text-Land-Green-Main-41" });
|
|
3740
3741
|
case X.Info:
|
|
3741
|
-
return /* @__PURE__ */ R(
|
|
3742
|
+
return /* @__PURE__ */ R(xt, { size: oe.Medium, class: "text-Sea-Blue-Main-28" });
|
|
3742
3743
|
case X.Warning:
|
|
3743
|
-
return /* @__PURE__ */ R(
|
|
3744
|
+
return /* @__PURE__ */ R(xt, { size: oe.Medium, class: "text-Terracotta-Main-35" });
|
|
3744
3745
|
case X.Error:
|
|
3745
|
-
return /* @__PURE__ */ R(
|
|
3746
|
+
return /* @__PURE__ */ R(Ti, { size: oe.Medium, class: "text-Energy-Red-Main-54" });
|
|
3746
3747
|
}
|
|
3747
|
-
return e != null && e.startsWith("https://") ? /* @__PURE__ */ R("img", { src: e, alt: "", class: "w-6 h-6" }) : (e && e !== X.Undetermined && console.warn(`Unknown icon '${e}'. Defaulting to undetermined.`), /* @__PURE__ */ R(
|
|
3748
|
+
return e != null && e.startsWith("https://") ? /* @__PURE__ */ R("img", { src: e, alt: "", class: "w-6 h-6" }) : (e && e !== X.Undetermined && console.warn(`Unknown icon '${e}'. Defaulting to undetermined.`), /* @__PURE__ */ R(Mi, { size: oe.Medium, class: "text-Sandstone-Main-79" }));
|
|
3748
3749
|
}
|
|
3749
3750
|
class Re {
|
|
3750
3751
|
constructor() {
|
|
@@ -3756,7 +3757,7 @@ class Re {
|
|
|
3756
3757
|
}
|
|
3757
3758
|
aggregate(n, t, r, i) {
|
|
3758
3759
|
let s = this.toolCallsByIndex[t];
|
|
3759
|
-
s || (this.toolCallsByIndex[t] = s = new
|
|
3760
|
+
s || (this.toolCallsByIndex[t] = s = new Di("progress", "Invoking tool…"), this.toolCallsNode.appendChild(s.node)), n && (this.toolCallsById[n] = s);
|
|
3760
3761
|
}
|
|
3761
3762
|
completeAggregation() {
|
|
3762
3763
|
}
|
|
@@ -3832,10 +3833,10 @@ class Fi {
|
|
|
3832
3833
|
const r = t[0];
|
|
3833
3834
|
let i;
|
|
3834
3835
|
switch (r) {
|
|
3835
|
-
case
|
|
3836
|
-
case
|
|
3836
|
+
case j.Init:
|
|
3837
|
+
case j.Done:
|
|
3837
3838
|
return i = performance.now(), { type: r, elapsed: i - n };
|
|
3838
|
-
case
|
|
3839
|
+
case j.Error: {
|
|
3839
3840
|
const s = await this.readUtf8StringAsync();
|
|
3840
3841
|
return i = performance.now(), {
|
|
3841
3842
|
type: r,
|
|
@@ -3843,7 +3844,7 @@ class Fi {
|
|
|
3843
3844
|
errorMarkdown: s
|
|
3844
3845
|
};
|
|
3845
3846
|
}
|
|
3846
|
-
case
|
|
3847
|
+
case j.AgentManifest: {
|
|
3847
3848
|
const s = await this.readUtf8StringAsync(), o = await this.readUtf8StringAsync(), a = await this.readUtf8StringAsync(), p = await this.readUtf8StringAsync();
|
|
3848
3849
|
return i = performance.now(), {
|
|
3849
3850
|
type: r,
|
|
@@ -3854,7 +3855,7 @@ class Fi {
|
|
|
3854
3855
|
agentManifestIcon: p
|
|
3855
3856
|
};
|
|
3856
3857
|
}
|
|
3857
|
-
case
|
|
3858
|
+
case j.AppendMessage: {
|
|
3858
3859
|
const s = await this.readUtf8StringAsync(), o = await this.readUtf8StringAsync();
|
|
3859
3860
|
return i = performance.now(), {
|
|
3860
3861
|
type: r,
|
|
@@ -3863,7 +3864,7 @@ class Fi {
|
|
|
3863
3864
|
appendMessageMarkdown: o
|
|
3864
3865
|
};
|
|
3865
3866
|
}
|
|
3866
|
-
case
|
|
3867
|
+
case j.ToolCallUpdate: {
|
|
3867
3868
|
const s = await this.readUtf8StringAsync(), o = await this.readUtf8StringAsync(), a = await this.readLittleEndianInt32Async(), p = await this.readUtf8StringAsync(), h = await this.readUtf8StringAsync();
|
|
3868
3869
|
return i = performance.now(), {
|
|
3869
3870
|
type: r,
|
|
@@ -3875,7 +3876,7 @@ class Fi {
|
|
|
3875
3876
|
toolCallUpdateArguments: h
|
|
3876
3877
|
};
|
|
3877
3878
|
}
|
|
3878
|
-
case
|
|
3879
|
+
case j.Loop: {
|
|
3879
3880
|
const s = await this.readUtf8StringAsync();
|
|
3880
3881
|
return i = performance.now(), {
|
|
3881
3882
|
type: r,
|
|
@@ -3883,7 +3884,7 @@ class Fi {
|
|
|
3883
3884
|
parentFunctionId: s
|
|
3884
3885
|
};
|
|
3885
3886
|
}
|
|
3886
|
-
case
|
|
3887
|
+
case j.ToolCallStatus: {
|
|
3887
3888
|
const s = await this.readUtf8StringAsync(), o = await this.readLittleEndianInt32Async(), a = await this.readLittleEndianDoubleAsync(), p = await this.readUtf8StringAsync(), h = await this.readUtf8StringAsync();
|
|
3888
3889
|
return i = performance.now(), {
|
|
3889
3890
|
type: r,
|
|
@@ -3895,7 +3896,7 @@ class Fi {
|
|
|
3895
3896
|
toolCallMarkdown: h
|
|
3896
3897
|
};
|
|
3897
3898
|
}
|
|
3898
|
-
case
|
|
3899
|
+
case j.ToolCallLog: {
|
|
3899
3900
|
const s = await this.readUtf8StringAsync(), o = await this.readBytesAsync(1);
|
|
3900
3901
|
if (o.length == 0)
|
|
3901
3902
|
return null;
|
|
@@ -3909,7 +3910,7 @@ class Fi {
|
|
|
3909
3910
|
toolCallMarkdown: h
|
|
3910
3911
|
};
|
|
3911
3912
|
}
|
|
3912
|
-
case
|
|
3913
|
+
case j.ToolCallDone: {
|
|
3913
3914
|
const s = await this.readUtf8StringAsync();
|
|
3914
3915
|
return i = performance.now(), {
|
|
3915
3916
|
type: r,
|
|
@@ -3917,7 +3918,7 @@ class Fi {
|
|
|
3917
3918
|
toolCallFunctionId: s
|
|
3918
3919
|
};
|
|
3919
3920
|
}
|
|
3920
|
-
case
|
|
3921
|
+
case j.ToolCallError: {
|
|
3921
3922
|
const s = await this.readUtf8StringAsync();
|
|
3922
3923
|
return i = performance.now(), {
|
|
3923
3924
|
type: r,
|
|
@@ -3935,7 +3936,7 @@ function Ri(e, n, t) {
|
|
|
3935
3936
|
let r = new Uint8Array(e.length - t + n.length);
|
|
3936
3937
|
return r.set(e.subarray(0, e.length - t), 0), r.set(n, e.length - t), r;
|
|
3937
3938
|
}
|
|
3938
|
-
class
|
|
3939
|
+
class Oi extends Fi {
|
|
3939
3940
|
constructor(t = 1) {
|
|
3940
3941
|
super();
|
|
3941
3942
|
I(this, "_latestReadMessagePromise");
|
|
@@ -3957,10 +3958,10 @@ class Ni extends Fi {
|
|
|
3957
3958
|
const t = await (this._latestReadMessagePromise = this.readMessageAsync());
|
|
3958
3959
|
if (!t)
|
|
3959
3960
|
return;
|
|
3960
|
-
if (t.type ===
|
|
3961
|
+
if (t.type === j.AppendMessage) {
|
|
3961
3962
|
t.appendMessageMarkdown && (this._lettersRead += t.appendMessageMarkdown.length), this._lettersReadTime += t.elapsed;
|
|
3962
3963
|
const r = this.peekParentFunctionId(t.parentFunctionId);
|
|
3963
|
-
if (r && r.type ===
|
|
3964
|
+
if (r && r.type === j.AppendMessage) {
|
|
3964
3965
|
t.appendMessageMarkdown && (r.appendMessageMarkdown += t.appendMessageMarkdown), r.elapsed += t.elapsed;
|
|
3965
3966
|
continue;
|
|
3966
3967
|
}
|
|
@@ -3979,7 +3980,7 @@ class Ni extends Fi {
|
|
|
3979
3980
|
const t = await this.readMessageFromQueueAsync();
|
|
3980
3981
|
if (!t)
|
|
3981
3982
|
return;
|
|
3982
|
-
if (t.type ===
|
|
3983
|
+
if (t.type === j.AppendMessage && t.appendMessageMarkdown) {
|
|
3983
3984
|
const r = t.appendMessageMarkdown;
|
|
3984
3985
|
for (let i = 0; ; ) {
|
|
3985
3986
|
if (this.peek() || this._isDone) {
|
|
@@ -4023,9 +4024,9 @@ class Ni extends Fi {
|
|
|
4023
4024
|
do {
|
|
4024
4025
|
const i = this._queue[r];
|
|
4025
4026
|
switch (i.type) {
|
|
4026
|
-
case
|
|
4027
|
-
case
|
|
4028
|
-
case
|
|
4027
|
+
case j.Init:
|
|
4028
|
+
case j.Done:
|
|
4029
|
+
case j.Error:
|
|
4029
4030
|
return;
|
|
4030
4031
|
}
|
|
4031
4032
|
if (i.parentFunctionId === t)
|
|
@@ -4039,8 +4040,8 @@ class Ni extends Fi {
|
|
|
4039
4040
|
return this._queue.length - this._headIndex;
|
|
4040
4041
|
}
|
|
4041
4042
|
}
|
|
4042
|
-
const Oi = '*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Avenir Next,ui-sans-serif,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}b,strong{font-weight:600}:root{--Dark-Blue-5: hsl(223, 67%, 5%);--Dark-Blue-10: hsl(223, 67%, 10%);--Dark-Blue-15: hsl(223, 67%, 15%);--Dark-Blue-20: hsl(223, 67%, 20%);--Dark-Blue-25: hsl(223, 67%, 25%);--Dark-Blue-30: hsl(223, 67%, 30%);--Dark-Blue-35: hsl(223, 67%, 35%);--Dark-Blue-40: hsl(223, 67%, 40%);--Dark-Blue-45: hsl(223, 67%, 45%);--Dark-Blue-50: hsl(223, 67%, 50%);--Dark-Blue-55: hsl(223, 67%, 55%);--Dark-Blue-60: hsl(223, 67%, 60%);--Dark-Blue-65: hsl(223, 67%, 65%);--Dark-Blue-70: hsl(223, 67%, 70%);--Dark-Blue-75: hsl(223, 67%, 75%);--Dark-Blue-80: hsl(223, 67%, 80%);--Dark-Blue-85: hsl(223, 67%, 85%);--Dark-Blue-90: hsl(223, 67%, 90%);--Dark-Blue-95: hsl(223, 67%, 95%);--Dark-Blue-Main-18: hsl(223, 67%, 18%);--Sea-Blue-5: hsl(218, 100%, 5%);--Sea-Blue-10: hsl(218, 100%, 10%);--Sea-Blue-15: hsl(218, 100%, 15%);--Sea-Blue-20: hsl(218, 100%, 20%);--Sea-Blue-25: hsl(218, 100%, 25%);--Sea-Blue-30: hsl(218, 100%, 30%);--Sea-Blue-35: hsl(218, 100%, 35%);--Sea-Blue-40: hsl(218, 100%, 40%);--Sea-Blue-45: hsl(218, 100%, 45%);--Sea-Blue-50: hsl(218, 100%, 50%);--Sea-Blue-55: hsl(218, 100%, 55%);--Sea-Blue-60: hsl(218, 100%, 60%);--Sea-Blue-65: hsl(218, 100%, 65%);--Sea-Blue-70: hsl(218, 100%, 70%);--Sea-Blue-75: hsl(218, 100%, 75%);--Sea-Blue-80: hsl(218, 100%, 80%);--Sea-Blue-85: hsl(218, 100%, 85%);--Sea-Blue-90: hsl(218, 100%, 90%);--Sea-Blue-95: hsl(218, 100%, 95%);--Sea-Blue-Main-28: hsl(218, 100%, 28%);--Sky-Blue-5: hsl(196, 74%, 5%);--Sky-Blue-10: hsl(196, 74%, 10%);--Sky-Blue-15: hsl(196, 74%, 15%);--Sky-Blue-20: hsl(196, 74%, 20%);--Sky-Blue-25: hsl(196, 74%, 25%);--Sky-Blue-30: hsl(196, 74%, 30%);--Sky-Blue-35: hsl(196, 74%, 35%);--Sky-Blue-40: hsl(196, 74%, 40%);--Sky-Blue-45: hsl(196, 74%, 45%);--Sky-Blue-50: hsl(196, 74%, 50%);--Sky-Blue-55: hsl(196, 74%, 55%);--Sky-Blue-60: hsl(196, 74%, 60%);--Sky-Blue-65: hsl(196, 74%, 65%);--Sky-Blue-70: hsl(196, 74%, 70%);--Sky-Blue-75: hsl(196, 74%, 75%);--Sky-Blue-80: hsl(196, 74%, 80%);--Sky-Blue-85: hsl(196, 74%, 85%);--Sky-Blue-90: hsl(196, 74%, 90%);--Sky-Blue-95: hsl(196, 74%, 95%);--Sky-Blue-97: hsl(196, 74%, 97%);--Sky-Blue-Main-77: hsl(196, 74%, 77%);--Digi-Green-5: hsl(139, 100%, 5%);--Digi-Green-10: hsl(139, 100%, 10%);--Digi-Green-15: hsl(139, 100%, 15%);--Digi-Green-20: hsl(139, 100%, 20%);--Digi-Green-25: hsl(139, 100%, 25%);--Digi-Green-30: hsl(139, 100%, 30%);--Digi-Green-35: hsl(139, 100%, 35%);--Digi-Green-40: hsl(139, 100%, 40%);--Digi-Green-45: hsl(139, 100%, 45%);--Digi-Green-50: hsl(139, 100%, 50%);--Digi-Green-55: hsl(139, 100%, 55%);--Digi-Green-60: hsl(139, 100%, 60%);--Digi-Green-65: hsl(139, 100%, 65%);--Digi-Green-70: hsl(139, 100%, 70%);--Digi-Green-75: hsl(139, 100%, 75%);--Digi-Green-80: hsl(139, 100%, 80%);--Digi-Green-85: hsl(139, 100%, 85%);--Digi-Green-90: hsl(139, 100%, 90%);--Digi-Green-95: hsl(139, 100%, 95%);--Digi-Green-Main-78: hsl(139, 100%, 78%);--Sandstone-5: hsl(40, 3%, 5%);--Sandstone-10: hsl(40, 3%, 10%);--Sandstone-15: hsl(40, 3%, 15%);--Sandstone-20: hsl(40, 3%, 20%);--Sandstone-25: hsl(40, 3%, 25%);--Sandstone-30: hsl(40, 3%, 30%);--Sandstone-35: hsl(40, 3%, 35%);--Sandstone-40: hsl(40, 3%, 40%);--Sandstone-45: hsl(40, 3%, 45%);--Sandstone-50: hsl(40, 3%, 50%);--Sandstone-55: hsl(40, 3%, 55%);--Sandstone-60: hsl(40, 3%, 60%);--Sandstone-65: hsl(40, 3%, 65%);--Sandstone-70: hsl(40, 3%, 70%);--Sandstone-75: hsl(40, 3%, 75%);--Sandstone-80: hsl(40, 3%, 80%);--Sandstone-85: hsl(40, 3%, 85%);--Sandstone-90: hsl(40, 3%, 90%);--Sandstone-95: hsl(40, 3%, 95%);--Sandstone-97: hsl(40, 3%, 97%);--Sandstone-Main-79: hsl(40, 3%, 79%);--Warm-Grey-5: hsl(30, 8%, 5%);--Warm-Grey-10: hsl(30, 8%, 10%);--Warm-Grey-15: hsl(30, 8%, 15%);--Warm-Grey-20: hsl(30, 8%, 20%);--Warm-Grey-25: hsl(30, 8%, 25%);--Warm-Grey-30: hsl(30, 8%, 30%);--Warm-Grey-35: hsl(30, 8%, 35%);--Warm-Grey-40: hsl(30, 8%, 40%);--Warm-Grey-45: hsl(30, 8%, 45%);--Warm-Grey-50: hsl(30, 8%, 50%);--Warm-Grey-55: hsl(30, 8%, 55%);--Warm-Grey-60: hsl(30, 8%, 60%);--Warm-Grey-65: hsl(30, 8%, 65%);--Warm-Grey-70: hsl(30, 8%, 70%);--Warm-Grey-75: hsl(30, 8%, 75%);--Warm-Grey-80: hsl(30, 8%, 80%);--Warm-Grey-85: hsl(30, 8%, 85%);--Warm-Grey-90: hsl(30, 8%, 90%);--Warm-Grey-95: hsl(30, 8%, 95%);--Warm-Grey-Main-56: hsl(30, 8%, 56%);--Earth-5: hsl(35, 53%, 5%);--Earth-10: hsl(35, 53%, 10%);--Earth-15: hsl(35, 53%, 15%);--Earth-20: hsl(35, 53%, 20%);--Earth-25: hsl(35, 53%, 25%);--Earth-30: hsl(35, 53%, 30%);--Earth-35: hsl(35, 53%, 35%);--Earth-40: hsl(35, 53%, 40%);--Earth-45: hsl(35, 53%, 45%);--Earth-50: hsl(35, 53%, 50%);--Earth-55: hsl(35, 53%, 55%);--Earth-60: hsl(35, 53%, 60%);--Earth-65: hsl(35, 53%, 65%);--Earth-70: hsl(35, 53%, 70%);--Earth-75: hsl(35, 53%, 75%);--Earth-80: hsl(35, 53%, 80%);--Earth-85: hsl(35, 53%, 85%);--Earth-90: hsl(35, 53%, 90%);--Earth-95: hsl(35, 53%, 95%);--Earth-97: hsl(35, 53%, 97%);--Earth-Main-89: hsl(35, 53%, 89%);--Pine-5: hsl(195, 46%, 5%);--Pine-10: hsl(195, 46%, 10%);--Pine-15: hsl(195, 46%, 15%);--Pine-20: hsl(195, 46%, 20%);--Pine-25: hsl(195, 46%, 25%);--Pine-30: hsl(195, 46%, 30%);--Pine-35: hsl(195, 46%, 35%);--Pine-40: hsl(195, 46%, 40%);--Pine-45: hsl(195, 46%, 45%);--Pine-50: hsl(195, 46%, 50%);--Pine-55: hsl(195, 46%, 55%);--Pine-60: hsl(195, 46%, 60%);--Pine-65: hsl(195, 46%, 65%);--Pine-70: hsl(195, 46%, 70%);--Pine-75: hsl(195, 46%, 75%);--Pine-80: hsl(195, 46%, 80%);--Pine-85: hsl(195, 46%, 85%);--Pine-90: hsl(195, 46%, 90%);--Pine-95: hsl(195, 46%, 95%);--Pine-Main-30: hsl(195, 46%, 30%);--Eucalyptus-5: hsl(178, 80%, 5%);--Eucalyptus-10: hsl(178, 80%, 10%);--Eucalyptus-15: hsl(178, 80%, 15%);--Eucalyptus-20: hsl(178, 80%, 20%);--Eucalyptus-25: hsl(178, 80%, 25%);--Eucalyptus-30: hsl(178, 80%, 30%);--Eucalyptus-35: hsl(178, 80%, 35%);--Eucalyptus-40: hsl(178, 80%, 40%);--Eucalyptus-45: hsl(178, 80%, 45%);--Eucalyptus-50: hsl(178, 80%, 50%);--Eucalyptus-55: hsl(178, 80%, 55%);--Eucalyptus-60: hsl(178, 80%, 60%);--Eucalyptus-65: hsl(178, 80%, 65%);--Eucalyptus-70: hsl(178, 80%, 70%);--Eucalyptus-75: hsl(178, 80%, 75%);--Eucalyptus-80: hsl(178, 80%, 80%);--Eucalyptus-85: hsl(178, 80%, 85%);--Eucalyptus-90: hsl(178, 80%, 90%);--Eucalyptus-95: hsl(178, 80%, 95%);--Eucalyptus-Main-41: hsl(178, 80%, 41%);--Lavender-5: hsl(232, 58%, 5%);--Lavender-10: hsl(232, 58%, 10%);--Lavender-15: hsl(232, 58%, 15%);--Lavender-20: hsl(232, 58%, 20%);--Lavender-25: hsl(232, 58%, 25%);--Lavender-30: hsl(232, 58%, 30%);--Lavender-35: hsl(232, 58%, 35%);--Lavender-40: hsl(232, 58%, 40%);--Lavender-45: hsl(232, 58%, 45%);--Lavender-50: hsl(232, 58%, 50%);--Lavender-55: hsl(232, 58%, 55%);--Lavender-60: hsl(232, 58%, 60%);--Lavender-65: hsl(232, 58%, 65%);--Lavender-70: hsl(232, 58%, 70%);--Lavender-75: hsl(232, 58%, 75%);--Lavender-80: hsl(232, 58%, 80%);--Lavender-85: hsl(232, 58%, 85%);--Lavender-90: hsl(232, 58%, 90%);--Lavender-95: hsl(232, 58%, 95%);--Lavender-Main-77: hsl(232, 58%, 77%);--Terracotta-5: hsl(34, 100%, 5%);--Terracotta-10: hsl(34, 100%, 10%);--Terracotta-15: hsl(34, 100%, 15%);--Terracotta-20: hsl(34, 100%, 20%);--Terracotta-25: hsl(34, 100%, 25%);--Terracotta-30: hsl(34, 100%, 30%);--Terracotta-35: hsl(34, 100%, 35%);--Terracotta-40: hsl(34, 100%, 40%);--Terracotta-45: hsl(34, 100%, 45%);--Terracotta-50: hsl(34, 100%, 50%);--Terracotta-55: hsl(34, 100%, 55%);--Terracotta-60: hsl(34, 100%, 60%);--Terracotta-65: hsl(34, 100%, 65%);--Terracotta-70: hsl(34, 100%, 70%);--Terracotta-75: hsl(34, 100%, 75%);--Terracotta-80: hsl(34, 100%, 80%);--Terracotta-85: hsl(34, 100%, 85%);--Terracotta-90: hsl(34, 100%, 90%);--Terracotta-95: hsl(34, 100%, 95%);--Terracotta-Main-35: hsl(34, 100%, 35%);--Land-Green-5: hsl(114, 49%, 5%);--Land-Green-10: hsl(114, 49%, 10%);--Land-Green-15: hsl(114, 49%, 15%);--Land-Green-20: hsl(114, 49%, 20%);--Land-Green-25: hsl(114, 49%, 25%);--Land-Green-30: hsl(114, 49%, 30%);--Land-Green-35: hsl(114, 49%, 35%);--Land-Green-40: hsl(114, 49%, 40%);--Land-Green-45: hsl(114, 49%, 45%);--Land-Green-50: hsl(114, 49%, 50%);--Land-Green-55: hsl(114, 49%, 55%);--Land-Green-60: hsl(114, 49%, 60%);--Land-Green-65: hsl(114, 49%, 65%);--Land-Green-70: hsl(114, 49%, 70%);--Land-Green-75: hsl(114, 49%, 75%);--Land-Green-80: hsl(114, 49%, 80%);--Land-Green-85: hsl(114, 49%, 85%);--Land-Green-90: hsl(114, 49%, 90%);--Land-Green-95: hsl(114, 49%, 95%);--Land-Green-Main-41: hsl(114, 49%, 41%);--Sunflower-5: hsl(55, 100%, 5%);--Sunflower-10: hsl(55, 100%, 10%);--Sunflower-15: hsl(55, 100%, 15%);--Sunflower-20: hsl(55, 100%, 20%);--Sunflower-25: hsl(55, 100%, 25%);--Sunflower-30: hsl(55, 100%, 30%);--Sunflower-35: hsl(55, 100%, 35%);--Sunflower-40: hsl(55, 100%, 40%);--Sunflower-45: hsl(55, 100%, 45%);--Sunflower-50: hsl(55, 100%, 50%);--Sunflower-55: hsl(55, 100%, 55%);--Sunflower-60: hsl(55, 100%, 60%);--Sunflower-65: hsl(55, 100%, 65%);--Sunflower-70: hsl(55, 100%, 70%);--Sunflower-75: hsl(55, 100%, 75%);--Sunflower-80: hsl(55, 100%, 80%);--Sunflower-85: hsl(55, 100%, 85%);--Sunflower-90: hsl(55, 100%, 90%);--Sunflower-95: hsl(55, 100%, 95%);--Sunflower-Main-73: hsl(55, 100%, 73%);--Energy-Red-5: hsl(357, 83%, 5%);--Energy-Red-10: hsl(357, 83%, 10%);--Energy-Red-15: hsl(357, 83%, 15%);--Energy-Red-20: hsl(357, 83%, 20%);--Energy-Red-25: hsl(357, 83%, 25%);--Energy-Red-30: hsl(357, 83%, 30%);--Energy-Red-35: hsl(357, 83%, 35%);--Energy-Red-40: hsl(357, 83%, 40%);--Energy-Red-45: hsl(357, 83%, 45%);--Energy-Red-50: hsl(357, 83%, 50%);--Energy-Red-55: hsl(357, 83%, 55%);--Energy-Red-60: hsl(357, 83%, 60%);--Energy-Red-65: hsl(357, 83%, 65%);--Energy-Red-70: hsl(357, 83%, 70%);--Energy-Red-75: hsl(357, 83%, 75%);--Energy-Red-80: hsl(357, 83%, 80%);--Energy-Red-85: hsl(357, 83%, 85%);--Energy-Red-90: hsl(357, 83%, 90%);--Energy-Red-95: hsl(357, 83%, 95%);--Energy-Red-Main-54: hsl(357, 83%, 54%);--Cyan-5: hsl(196, 100%, 5%);--Cyan-10: hsl(196, 100%, 10%);--Cyan-15: hsl(196, 100%, 15%);--Cyan-20: hsl(196, 100%, 20%);--Cyan-25: hsl(196, 100%, 25%);--Cyan-30: hsl(196, 100%, 30%);--Cyan-35: hsl(196, 100%, 35%);--Cyan-40: hsl(196, 100%, 40%);--Cyan-45: hsl(196, 100%, 45%);--Cyan-50: hsl(196, 100%, 50%);--Cyan-55: hsl(196, 100%, 55%);--Cyan-60: hsl(196, 100%, 60%);--Cyan-65: hsl(196, 100%, 65%);--Cyan-70: hsl(196, 100%, 70%);--Cyan-75: hsl(196, 100%, 75%);--Cyan-80: hsl(196, 100%, 80%);--Cyan-85: hsl(196, 100%, 85%);--Cyan-90: hsl(196, 100%, 90%);--Cyan-95: hsl(196, 100%, 95%);--Cyan-Main-43: hsl(196, 100%, 43%);--Black: hsl(40 3% 10%);--White: hsl(40 3% 100%);--Light: hsl(40, 3%, 90%);--Default: hsl(40, 3%, 79%);--Medium: hsl(40, 3%, 75%);--Strong: hsl(218, 100%, 28%);--Emphasis: hsl(223, 67%, 18%);--vui-animation-duration-0: 0ms;--vui-animation-duration-100: .13s;--vui-animation-duration-200: .16s;--vui-animation-duration-300: .19s;--vui-animation-duration-400: .22s;--vui-animation-duration-500: .25s;--vui-animation-duration-600: .3s;--vui-animation-duration-700: .35s;--vui-animation-duration-800: .4s;--vui-animation-duration-900: .45s;--vui-animation-duration-1000: .5s;--vui-animation-duration-2000: 1s;--vui-animation-duration-4000: 2s;--vui-animation-ease-in-out: cubic-bezier(.45, 0, .4, 1);--vui-animation-ease-in: cubic-bezier(.5, 0, 1, 1);--vui-animation-ease-out: cubic-bezier(0, 0, .4, 1);--vui-animation-linear: cubic-bezier(0, 0, 1, 1);--vui-elevation-1: 0 6px 23px -10px hsla(223, 67%, 18%, .2);--vui-elevation-2: 0 9px 20px -6px hsla(223, 67%, 18%, .2);--vui-elevation-3: 0 12px 23px -4px hsla(223, 67%, 18%, .2);--vui-elevation-4: 0 15px 23px 0 hsla(223, 67%, 18%, .2)}h1,.h1{font-family:Avenir Next;font-size:3.125rem;font-style:normal;font-weight:400;line-height:1.24}@media only screen and (max-width: 992px){h1,.h1{font-size:1.9375rem;line-height:1.5483870967741935}}h1,.h1{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}h2,.h2{font-family:Avenir Next;font-size:2rem;font-style:normal;font-weight:400;line-height:1.3125}@media only screen and (max-width: 992px){h2,.h2{font-size:1.75rem;line-height:1.3571428571428572}}h2,.h2{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}h3,.h3{font-family:Avenir Next;font-size:1.5rem;font-style:normal;font-weight:400;line-height:1.3333333333333333}@media only screen and (max-width: 992px){h3,.h3{font-size:1.375rem;line-height:1.4545454545454546}}h3,.h3{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}h4,.h4{font-family:Avenir Next;font-size:1.25rem;font-style:normal;font-weight:600;line-height:1.2}@media only screen and (max-width: 992px){h4,.h4{font-size:1.125rem;line-height:1.3333333333333333}}h4,.h4{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}h5,.h5{font-family:Avenir Next;font-size:1.125rem;font-style:normal;font-weight:600;line-height:1.4444444444444444}@media only screen and (max-width: 992px){h5,.h5{font-size:1rem;line-height:1.375}}h5,.h5{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}h6,.h6{font-family:Avenir Next;font-size:1rem;font-style:normal;font-weight:600;line-height:1.375;color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.sideMenuItem>.icon{width:24px;height:24px}.avatar{font-family:Avenir Next;font-weight:500;font-style:normal;align-items:center;background:#e6e6e5;border-radius:9999px;color:#353431;display:inline-flex;justify-content:center;overflow:hidden;text-transform:uppercase}.avatar.avatar-xl{font-size:1.125rem;line-height:1.5555555555555556;height:3rem;width:3rem}.avatar.avatar-lg{font-size:1rem;line-height:1.5;height:2.5rem;width:2.5rem}.avatar.avatar-md{font-size:.875rem;line-height:1.4285714285714286;height:2rem;width:2rem}.avatar.avatar-sm{font-size:.75rem;line-height:1.3333333333333333;height:1.5rem;width:1.5rem}.avatar.avatar-xxl{font-size:1.125rem;line-height:1.5555555555555556;height:3.5rem;width:3.5rem}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding:.1875em .375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-left:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-sm{font-size:.875rem;line-height:1.7142857}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-left:1.1111111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding:.1428571em .3571429em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding:.6666667em 1em}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-left:1.5714286em}.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-left:1.5714286em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.4285714em}.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.4285714em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(.prose-sm>ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(.prose-sm>ol>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ol>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-left:1.5714286em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:1em;padding-bottom:.6666667em;padding-left:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.6666667em 1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-neutral{--tw-prose-body: #404040;--tw-prose-headings: #171717;--tw-prose-lead: #525252;--tw-prose-links: #171717;--tw-prose-bold: #171717;--tw-prose-counters: #737373;--tw-prose-bullets: #d4d4d4;--tw-prose-hr: #e5e5e5;--tw-prose-quotes: #171717;--tw-prose-quote-borders: #e5e5e5;--tw-prose-captions: #737373;--tw-prose-kbd: #171717;--tw-prose-kbd-shadows: 23 23 23;--tw-prose-code: #171717;--tw-prose-pre-code: #e5e5e5;--tw-prose-pre-bg: #262626;--tw-prose-th-borders: #d4d4d4;--tw-prose-td-borders: #e5e5e5;--tw-prose-invert-body: #d4d4d4;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #a3a3a3;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #a3a3a3;--tw-prose-invert-bullets: #525252;--tw-prose-invert-hr: #404040;--tw-prose-invert-quotes: #f5f5f5;--tw-prose-invert-quote-borders: #404040;--tw-prose-invert-captions: #a3a3a3;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d4d4d4;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #525252;--tw-prose-invert-td-borders: #404040}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-\\[-3\\.25rem\\]{left:-3.25rem}.top-0{top:0}.top-\\[3\\%\\]{top:3%}.inline{display:inline}.flex{display:flex}.table{display:table}.h-6{height:1.5rem}.h-\\[1\\.421875rem\\]{height:1.421875rem}.w-6{width:1.5rem}.max-w-none{max-width:none}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.flex-col{flex-direction:column}.items-center{align-items:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-Light>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:hsl(40 3% 90% / var(--tw-divide-opacity))}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-Light{--tw-border-opacity: 1;border-color:hsl(40 3% 90% / var(--tw-border-opacity))}.bg-Dark-Blue-Main-18{--tw-bg-opacity: 1;background-color:hsl(223 67% 18% / var(--tw-bg-opacity))}.bg-Energy-Red-95{--tw-bg-opacity: 1;background-color:hsl(357 83% 95% / var(--tw-bg-opacity))}.bg-Eucalyptus-85{--tw-bg-opacity: 1;background-color:hsl(178 80% 85% / var(--tw-bg-opacity))}.bg-Land-Green-95{--tw-bg-opacity: 1;background-color:hsl(114 49% 95% / var(--tw-bg-opacity))}.bg-Lavender-90{--tw-bg-opacity: 1;background-color:hsl(232 58% 90% / var(--tw-bg-opacity))}.bg-Sea-Blue-Main-28{--tw-bg-opacity: 1;background-color:hsl(218 100% 28% / var(--tw-bg-opacity))}.bg-Sunflower-85{--tw-bg-opacity: 1;background-color:hsl(55 100% 85% / var(--tw-bg-opacity))}.bg-Terracotta-85{--tw-bg-opacity: 1;background-color:hsl(34 100% 85% / var(--tw-bg-opacity))}.bg-White{--tw-bg-opacity: 1;background-color:hsl(40 3% 100% / var(--tw-bg-opacity))}.p-5{padding:1.25rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.pb-2{padding-bottom:.5rem}.pt-2{padding-top:.5rem}.text-\\[0\\.875rem\\]{font-size:.875rem}.text-Energy-Red-45{--tw-text-opacity: 1;color:hsl(357 83% 45% / var(--tw-text-opacity))}.text-Energy-Red-Main-54{--tw-text-opacity: 1;color:hsl(357 83% 54% / var(--tw-text-opacity))}.text-Eucalyptus-20{--tw-text-opacity: 1;color:hsl(178 80% 20% / var(--tw-text-opacity))}.text-Land-Green-30{--tw-text-opacity: 1;color:hsl(114 49% 30% / var(--tw-text-opacity))}.text-Land-Green-Main-41{--tw-text-opacity: 1;color:hsl(114 49% 41% / var(--tw-text-opacity))}.text-Lavender-50{--tw-text-opacity: 1;color:hsl(232 58% 50% / var(--tw-text-opacity))}.text-Sandstone-Main-79{--tw-text-opacity: 1;color:hsl(40 3% 79% / var(--tw-text-opacity))}.text-Sea-Blue-Main-28{--tw-text-opacity: 1;color:hsl(218 100% 28% / var(--tw-text-opacity))}.text-Sky-Blue-95{--tw-text-opacity: 1;color:hsl(196 74% 95% / var(--tw-text-opacity))}.text-Sunflower-20{--tw-text-opacity: 1;color:hsl(55 100% 20% / var(--tw-text-opacity))}.text-Terracotta-20{--tw-text-opacity: 1;color:hsl(34 100% 20% / var(--tw-text-opacity))}.text-Terracotta-Main-35{--tw-text-opacity: 1;color:hsl(34 100% 35% / var(--tw-text-opacity))}.text-White{--tw-text-opacity: 1;color:hsl(40 3% 100% / var(--tw-text-opacity))}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.title{font-family:DNV Display;font-size:4rem;font-style:normal;font-weight:400;line-height:1.15625}@media only screen and (max-width: 992px){.title{font-size:2.625rem;line-height:1.2380952380952381}}.title{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .title){color:var(--White, hsl(40 3% 100%))}.first\\:pt-0:first-child{padding-top:0}.last\\:pb-0:last-child{padding-bottom:0}.prose-code\\:text-\\[1em\\] :is(:where(code):not(:where([class~=not-prose],[class~=not-prose] *))){font-size:1em}', Pi = "pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#ddd;background:#303030}.hljs-keyword,.hljs-selector-tag,.hljs-literal,.hljs-section,.hljs-link{color:#fff}.hljs-string,.hljs-title,.hljs-name,.hljs-type,.hljs-attribute,.hljs-symbol,.hljs-bullet,.hljs-built_in,.hljs-addition,.hljs-variable,.hljs-template-tag,.hljs-template-variable{color:#d88}.hljs-comment,.hljs-quote,.hljs-deletion,.hljs-meta{color:#979797}.hljs-keyword,.hljs-selector-tag,.hljs-literal,.hljs-title,.hljs-section,.hljs-doctag,.hljs-type,.hljs-name,.hljs-strong{font-weight:700}.hljs-emphasis{font-style:italic}";
|
|
4043
|
-
class
|
|
4043
|
+
const Ni = '*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Avenir Next,ui-sans-serif,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}b,strong{font-weight:600}:root{--Dark-Blue-5: hsl(223, 67%, 5%);--Dark-Blue-10: hsl(223, 67%, 10%);--Dark-Blue-15: hsl(223, 67%, 15%);--Dark-Blue-20: hsl(223, 67%, 20%);--Dark-Blue-25: hsl(223, 67%, 25%);--Dark-Blue-30: hsl(223, 67%, 30%);--Dark-Blue-35: hsl(223, 67%, 35%);--Dark-Blue-40: hsl(223, 67%, 40%);--Dark-Blue-45: hsl(223, 67%, 45%);--Dark-Blue-50: hsl(223, 67%, 50%);--Dark-Blue-55: hsl(223, 67%, 55%);--Dark-Blue-60: hsl(223, 67%, 60%);--Dark-Blue-65: hsl(223, 67%, 65%);--Dark-Blue-70: hsl(223, 67%, 70%);--Dark-Blue-75: hsl(223, 67%, 75%);--Dark-Blue-80: hsl(223, 67%, 80%);--Dark-Blue-85: hsl(223, 67%, 85%);--Dark-Blue-90: hsl(223, 67%, 90%);--Dark-Blue-95: hsl(223, 67%, 95%);--Dark-Blue-Main-18: hsl(223, 67%, 18%);--Sea-Blue-5: hsl(218, 100%, 5%);--Sea-Blue-10: hsl(218, 100%, 10%);--Sea-Blue-15: hsl(218, 100%, 15%);--Sea-Blue-20: hsl(218, 100%, 20%);--Sea-Blue-25: hsl(218, 100%, 25%);--Sea-Blue-30: hsl(218, 100%, 30%);--Sea-Blue-35: hsl(218, 100%, 35%);--Sea-Blue-40: hsl(218, 100%, 40%);--Sea-Blue-45: hsl(218, 100%, 45%);--Sea-Blue-50: hsl(218, 100%, 50%);--Sea-Blue-55: hsl(218, 100%, 55%);--Sea-Blue-60: hsl(218, 100%, 60%);--Sea-Blue-65: hsl(218, 100%, 65%);--Sea-Blue-70: hsl(218, 100%, 70%);--Sea-Blue-75: hsl(218, 100%, 75%);--Sea-Blue-80: hsl(218, 100%, 80%);--Sea-Blue-85: hsl(218, 100%, 85%);--Sea-Blue-90: hsl(218, 100%, 90%);--Sea-Blue-95: hsl(218, 100%, 95%);--Sea-Blue-Main-28: hsl(218, 100%, 28%);--Sky-Blue-5: hsl(196, 74%, 5%);--Sky-Blue-10: hsl(196, 74%, 10%);--Sky-Blue-15: hsl(196, 74%, 15%);--Sky-Blue-20: hsl(196, 74%, 20%);--Sky-Blue-25: hsl(196, 74%, 25%);--Sky-Blue-30: hsl(196, 74%, 30%);--Sky-Blue-35: hsl(196, 74%, 35%);--Sky-Blue-40: hsl(196, 74%, 40%);--Sky-Blue-45: hsl(196, 74%, 45%);--Sky-Blue-50: hsl(196, 74%, 50%);--Sky-Blue-55: hsl(196, 74%, 55%);--Sky-Blue-60: hsl(196, 74%, 60%);--Sky-Blue-65: hsl(196, 74%, 65%);--Sky-Blue-70: hsl(196, 74%, 70%);--Sky-Blue-75: hsl(196, 74%, 75%);--Sky-Blue-80: hsl(196, 74%, 80%);--Sky-Blue-85: hsl(196, 74%, 85%);--Sky-Blue-90: hsl(196, 74%, 90%);--Sky-Blue-95: hsl(196, 74%, 95%);--Sky-Blue-97: hsl(196, 74%, 97%);--Sky-Blue-Main-77: hsl(196, 74%, 77%);--Digi-Green-5: hsl(139, 100%, 5%);--Digi-Green-10: hsl(139, 100%, 10%);--Digi-Green-15: hsl(139, 100%, 15%);--Digi-Green-20: hsl(139, 100%, 20%);--Digi-Green-25: hsl(139, 100%, 25%);--Digi-Green-30: hsl(139, 100%, 30%);--Digi-Green-35: hsl(139, 100%, 35%);--Digi-Green-40: hsl(139, 100%, 40%);--Digi-Green-45: hsl(139, 100%, 45%);--Digi-Green-50: hsl(139, 100%, 50%);--Digi-Green-55: hsl(139, 100%, 55%);--Digi-Green-60: hsl(139, 100%, 60%);--Digi-Green-65: hsl(139, 100%, 65%);--Digi-Green-70: hsl(139, 100%, 70%);--Digi-Green-75: hsl(139, 100%, 75%);--Digi-Green-80: hsl(139, 100%, 80%);--Digi-Green-85: hsl(139, 100%, 85%);--Digi-Green-90: hsl(139, 100%, 90%);--Digi-Green-95: hsl(139, 100%, 95%);--Digi-Green-Main-78: hsl(139, 100%, 78%);--Sandstone-5: hsl(40, 3%, 5%);--Sandstone-10: hsl(40, 3%, 10%);--Sandstone-15: hsl(40, 3%, 15%);--Sandstone-20: hsl(40, 3%, 20%);--Sandstone-25: hsl(40, 3%, 25%);--Sandstone-30: hsl(40, 3%, 30%);--Sandstone-35: hsl(40, 3%, 35%);--Sandstone-40: hsl(40, 3%, 40%);--Sandstone-45: hsl(40, 3%, 45%);--Sandstone-50: hsl(40, 3%, 50%);--Sandstone-55: hsl(40, 3%, 55%);--Sandstone-60: hsl(40, 3%, 60%);--Sandstone-65: hsl(40, 3%, 65%);--Sandstone-70: hsl(40, 3%, 70%);--Sandstone-75: hsl(40, 3%, 75%);--Sandstone-80: hsl(40, 3%, 80%);--Sandstone-85: hsl(40, 3%, 85%);--Sandstone-90: hsl(40, 3%, 90%);--Sandstone-95: hsl(40, 3%, 95%);--Sandstone-97: hsl(40, 3%, 97%);--Sandstone-Main-79: hsl(40, 3%, 79%);--Warm-Grey-5: hsl(30, 8%, 5%);--Warm-Grey-10: hsl(30, 8%, 10%);--Warm-Grey-15: hsl(30, 8%, 15%);--Warm-Grey-20: hsl(30, 8%, 20%);--Warm-Grey-25: hsl(30, 8%, 25%);--Warm-Grey-30: hsl(30, 8%, 30%);--Warm-Grey-35: hsl(30, 8%, 35%);--Warm-Grey-40: hsl(30, 8%, 40%);--Warm-Grey-45: hsl(30, 8%, 45%);--Warm-Grey-50: hsl(30, 8%, 50%);--Warm-Grey-55: hsl(30, 8%, 55%);--Warm-Grey-60: hsl(30, 8%, 60%);--Warm-Grey-65: hsl(30, 8%, 65%);--Warm-Grey-70: hsl(30, 8%, 70%);--Warm-Grey-75: hsl(30, 8%, 75%);--Warm-Grey-80: hsl(30, 8%, 80%);--Warm-Grey-85: hsl(30, 8%, 85%);--Warm-Grey-90: hsl(30, 8%, 90%);--Warm-Grey-95: hsl(30, 8%, 95%);--Warm-Grey-Main-56: hsl(30, 8%, 56%);--Earth-5: hsl(35, 53%, 5%);--Earth-10: hsl(35, 53%, 10%);--Earth-15: hsl(35, 53%, 15%);--Earth-20: hsl(35, 53%, 20%);--Earth-25: hsl(35, 53%, 25%);--Earth-30: hsl(35, 53%, 30%);--Earth-35: hsl(35, 53%, 35%);--Earth-40: hsl(35, 53%, 40%);--Earth-45: hsl(35, 53%, 45%);--Earth-50: hsl(35, 53%, 50%);--Earth-55: hsl(35, 53%, 55%);--Earth-60: hsl(35, 53%, 60%);--Earth-65: hsl(35, 53%, 65%);--Earth-70: hsl(35, 53%, 70%);--Earth-75: hsl(35, 53%, 75%);--Earth-80: hsl(35, 53%, 80%);--Earth-85: hsl(35, 53%, 85%);--Earth-90: hsl(35, 53%, 90%);--Earth-95: hsl(35, 53%, 95%);--Earth-97: hsl(35, 53%, 97%);--Earth-Main-89: hsl(35, 53%, 89%);--Pine-5: hsl(195, 46%, 5%);--Pine-10: hsl(195, 46%, 10%);--Pine-15: hsl(195, 46%, 15%);--Pine-20: hsl(195, 46%, 20%);--Pine-25: hsl(195, 46%, 25%);--Pine-30: hsl(195, 46%, 30%);--Pine-35: hsl(195, 46%, 35%);--Pine-40: hsl(195, 46%, 40%);--Pine-45: hsl(195, 46%, 45%);--Pine-50: hsl(195, 46%, 50%);--Pine-55: hsl(195, 46%, 55%);--Pine-60: hsl(195, 46%, 60%);--Pine-65: hsl(195, 46%, 65%);--Pine-70: hsl(195, 46%, 70%);--Pine-75: hsl(195, 46%, 75%);--Pine-80: hsl(195, 46%, 80%);--Pine-85: hsl(195, 46%, 85%);--Pine-90: hsl(195, 46%, 90%);--Pine-95: hsl(195, 46%, 95%);--Pine-Main-30: hsl(195, 46%, 30%);--Eucalyptus-5: hsl(178, 80%, 5%);--Eucalyptus-10: hsl(178, 80%, 10%);--Eucalyptus-15: hsl(178, 80%, 15%);--Eucalyptus-20: hsl(178, 80%, 20%);--Eucalyptus-25: hsl(178, 80%, 25%);--Eucalyptus-30: hsl(178, 80%, 30%);--Eucalyptus-35: hsl(178, 80%, 35%);--Eucalyptus-40: hsl(178, 80%, 40%);--Eucalyptus-45: hsl(178, 80%, 45%);--Eucalyptus-50: hsl(178, 80%, 50%);--Eucalyptus-55: hsl(178, 80%, 55%);--Eucalyptus-60: hsl(178, 80%, 60%);--Eucalyptus-65: hsl(178, 80%, 65%);--Eucalyptus-70: hsl(178, 80%, 70%);--Eucalyptus-75: hsl(178, 80%, 75%);--Eucalyptus-80: hsl(178, 80%, 80%);--Eucalyptus-85: hsl(178, 80%, 85%);--Eucalyptus-90: hsl(178, 80%, 90%);--Eucalyptus-95: hsl(178, 80%, 95%);--Eucalyptus-Main-41: hsl(178, 80%, 41%);--Lavender-5: hsl(232, 58%, 5%);--Lavender-10: hsl(232, 58%, 10%);--Lavender-15: hsl(232, 58%, 15%);--Lavender-20: hsl(232, 58%, 20%);--Lavender-25: hsl(232, 58%, 25%);--Lavender-30: hsl(232, 58%, 30%);--Lavender-35: hsl(232, 58%, 35%);--Lavender-40: hsl(232, 58%, 40%);--Lavender-45: hsl(232, 58%, 45%);--Lavender-50: hsl(232, 58%, 50%);--Lavender-55: hsl(232, 58%, 55%);--Lavender-60: hsl(232, 58%, 60%);--Lavender-65: hsl(232, 58%, 65%);--Lavender-70: hsl(232, 58%, 70%);--Lavender-75: hsl(232, 58%, 75%);--Lavender-80: hsl(232, 58%, 80%);--Lavender-85: hsl(232, 58%, 85%);--Lavender-90: hsl(232, 58%, 90%);--Lavender-95: hsl(232, 58%, 95%);--Lavender-Main-77: hsl(232, 58%, 77%);--Terracotta-5: hsl(34, 100%, 5%);--Terracotta-10: hsl(34, 100%, 10%);--Terracotta-15: hsl(34, 100%, 15%);--Terracotta-20: hsl(34, 100%, 20%);--Terracotta-25: hsl(34, 100%, 25%);--Terracotta-30: hsl(34, 100%, 30%);--Terracotta-35: hsl(34, 100%, 35%);--Terracotta-40: hsl(34, 100%, 40%);--Terracotta-45: hsl(34, 100%, 45%);--Terracotta-50: hsl(34, 100%, 50%);--Terracotta-55: hsl(34, 100%, 55%);--Terracotta-60: hsl(34, 100%, 60%);--Terracotta-65: hsl(34, 100%, 65%);--Terracotta-70: hsl(34, 100%, 70%);--Terracotta-75: hsl(34, 100%, 75%);--Terracotta-80: hsl(34, 100%, 80%);--Terracotta-85: hsl(34, 100%, 85%);--Terracotta-90: hsl(34, 100%, 90%);--Terracotta-95: hsl(34, 100%, 95%);--Terracotta-Main-35: hsl(34, 100%, 35%);--Land-Green-5: hsl(114, 49%, 5%);--Land-Green-10: hsl(114, 49%, 10%);--Land-Green-15: hsl(114, 49%, 15%);--Land-Green-20: hsl(114, 49%, 20%);--Land-Green-25: hsl(114, 49%, 25%);--Land-Green-30: hsl(114, 49%, 30%);--Land-Green-35: hsl(114, 49%, 35%);--Land-Green-40: hsl(114, 49%, 40%);--Land-Green-45: hsl(114, 49%, 45%);--Land-Green-50: hsl(114, 49%, 50%);--Land-Green-55: hsl(114, 49%, 55%);--Land-Green-60: hsl(114, 49%, 60%);--Land-Green-65: hsl(114, 49%, 65%);--Land-Green-70: hsl(114, 49%, 70%);--Land-Green-75: hsl(114, 49%, 75%);--Land-Green-80: hsl(114, 49%, 80%);--Land-Green-85: hsl(114, 49%, 85%);--Land-Green-90: hsl(114, 49%, 90%);--Land-Green-95: hsl(114, 49%, 95%);--Land-Green-Main-41: hsl(114, 49%, 41%);--Sunflower-5: hsl(55, 100%, 5%);--Sunflower-10: hsl(55, 100%, 10%);--Sunflower-15: hsl(55, 100%, 15%);--Sunflower-20: hsl(55, 100%, 20%);--Sunflower-25: hsl(55, 100%, 25%);--Sunflower-30: hsl(55, 100%, 30%);--Sunflower-35: hsl(55, 100%, 35%);--Sunflower-40: hsl(55, 100%, 40%);--Sunflower-45: hsl(55, 100%, 45%);--Sunflower-50: hsl(55, 100%, 50%);--Sunflower-55: hsl(55, 100%, 55%);--Sunflower-60: hsl(55, 100%, 60%);--Sunflower-65: hsl(55, 100%, 65%);--Sunflower-70: hsl(55, 100%, 70%);--Sunflower-75: hsl(55, 100%, 75%);--Sunflower-80: hsl(55, 100%, 80%);--Sunflower-85: hsl(55, 100%, 85%);--Sunflower-90: hsl(55, 100%, 90%);--Sunflower-95: hsl(55, 100%, 95%);--Sunflower-Main-73: hsl(55, 100%, 73%);--Energy-Red-5: hsl(357, 83%, 5%);--Energy-Red-10: hsl(357, 83%, 10%);--Energy-Red-15: hsl(357, 83%, 15%);--Energy-Red-20: hsl(357, 83%, 20%);--Energy-Red-25: hsl(357, 83%, 25%);--Energy-Red-30: hsl(357, 83%, 30%);--Energy-Red-35: hsl(357, 83%, 35%);--Energy-Red-40: hsl(357, 83%, 40%);--Energy-Red-45: hsl(357, 83%, 45%);--Energy-Red-50: hsl(357, 83%, 50%);--Energy-Red-55: hsl(357, 83%, 55%);--Energy-Red-60: hsl(357, 83%, 60%);--Energy-Red-65: hsl(357, 83%, 65%);--Energy-Red-70: hsl(357, 83%, 70%);--Energy-Red-75: hsl(357, 83%, 75%);--Energy-Red-80: hsl(357, 83%, 80%);--Energy-Red-85: hsl(357, 83%, 85%);--Energy-Red-90: hsl(357, 83%, 90%);--Energy-Red-95: hsl(357, 83%, 95%);--Energy-Red-Main-54: hsl(357, 83%, 54%);--Cyan-5: hsl(196, 100%, 5%);--Cyan-10: hsl(196, 100%, 10%);--Cyan-15: hsl(196, 100%, 15%);--Cyan-20: hsl(196, 100%, 20%);--Cyan-25: hsl(196, 100%, 25%);--Cyan-30: hsl(196, 100%, 30%);--Cyan-35: hsl(196, 100%, 35%);--Cyan-40: hsl(196, 100%, 40%);--Cyan-45: hsl(196, 100%, 45%);--Cyan-50: hsl(196, 100%, 50%);--Cyan-55: hsl(196, 100%, 55%);--Cyan-60: hsl(196, 100%, 60%);--Cyan-65: hsl(196, 100%, 65%);--Cyan-70: hsl(196, 100%, 70%);--Cyan-75: hsl(196, 100%, 75%);--Cyan-80: hsl(196, 100%, 80%);--Cyan-85: hsl(196, 100%, 85%);--Cyan-90: hsl(196, 100%, 90%);--Cyan-95: hsl(196, 100%, 95%);--Cyan-Main-43: hsl(196, 100%, 43%);--Black: hsl(40 3% 10%);--White: hsl(40 3% 100%);--Light: hsl(40, 3%, 90%);--Default: hsl(40, 3%, 79%);--Medium: hsl(40, 3%, 75%);--Strong: hsl(218, 100%, 28%);--Emphasis: hsl(223, 67%, 18%);--vui-animation-duration-0: 0ms;--vui-animation-duration-100: .13s;--vui-animation-duration-200: .16s;--vui-animation-duration-300: .19s;--vui-animation-duration-400: .22s;--vui-animation-duration-500: .25s;--vui-animation-duration-600: .3s;--vui-animation-duration-700: .35s;--vui-animation-duration-800: .4s;--vui-animation-duration-900: .45s;--vui-animation-duration-1000: .5s;--vui-animation-duration-2000: 1s;--vui-animation-duration-4000: 2s;--vui-animation-ease-in-out: cubic-bezier(.45, 0, .4, 1);--vui-animation-ease-in: cubic-bezier(.5, 0, 1, 1);--vui-animation-ease-out: cubic-bezier(0, 0, .4, 1);--vui-animation-linear: cubic-bezier(0, 0, 1, 1);--vui-elevation-1: 0 6px 23px -10px hsla(223, 67%, 18%, .2);--vui-elevation-2: 0 9px 20px -6px hsla(223, 67%, 18%, .2);--vui-elevation-3: 0 12px 23px -4px hsla(223, 67%, 18%, .2);--vui-elevation-4: 0 15px 23px 0 hsla(223, 67%, 18%, .2)}h1,.h1{font-family:Avenir Next;font-size:3.125rem;font-style:normal;font-weight:400;line-height:1.24}@media only screen and (max-width: 992px){h1,.h1{font-size:1.9375rem;line-height:1.5483870967741935}}h1,.h1{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}h2,.h2{font-family:Avenir Next;font-size:2rem;font-style:normal;font-weight:400;line-height:1.3125}@media only screen and (max-width: 992px){h2,.h2{font-size:1.75rem;line-height:1.3571428571428572}}h2,.h2{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}h3,.h3{font-family:Avenir Next;font-size:1.5rem;font-style:normal;font-weight:400;line-height:1.3333333333333333}@media only screen and (max-width: 992px){h3,.h3{font-size:1.375rem;line-height:1.4545454545454546}}h3,.h3{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}h4,.h4{font-family:Avenir Next;font-size:1.25rem;font-style:normal;font-weight:600;line-height:1.2}@media only screen and (max-width: 992px){h4,.h4{font-size:1.125rem;line-height:1.3333333333333333}}h4,.h4{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}h5,.h5{font-family:Avenir Next;font-size:1.125rem;font-style:normal;font-weight:600;line-height:1.4444444444444444}@media only screen and (max-width: 992px){h5,.h5{font-size:1rem;line-height:1.375}}h5,.h5{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}h6,.h6{font-family:Avenir Next;font-size:1rem;font-style:normal;font-weight:600;line-height:1.375;color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.sideMenuItem>.icon{width:24px;height:24px}.avatar{font-family:Avenir Next;font-weight:500;font-style:normal;align-items:center;background:#e6e6e5;border-radius:9999px;color:#353431;display:inline-flex;justify-content:center;overflow:hidden;text-transform:uppercase}.avatar.avatar-xl{font-size:1.125rem;line-height:1.5555555555555556;height:3rem;width:3rem}.avatar.avatar-lg{font-size:1rem;line-height:1.5;height:2.5rem;width:2.5rem}.avatar.avatar-md{font-size:.875rem;line-height:1.4285714285714286;height:2rem;width:2rem}.avatar.avatar-sm{font-size:.75rem;line-height:1.3333333333333333;height:1.5rem;width:1.5rem}.avatar.avatar-xxl{font-size:1.125rem;line-height:1.5555555555555556;height:3.5rem;width:3.5rem}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding:.1875em .375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-left:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-sm{font-size:.875rem;line-height:1.7142857}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-left:1.1111111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding:.1428571em .3571429em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding:.6666667em 1em}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-left:1.5714286em}.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-left:1.5714286em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.4285714em}.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.4285714em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(.prose-sm>ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(.prose-sm>ol>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ol>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-left:1.5714286em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:1em;padding-bottom:.6666667em;padding-left:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.6666667em 1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-neutral{--tw-prose-body: #404040;--tw-prose-headings: #171717;--tw-prose-lead: #525252;--tw-prose-links: #171717;--tw-prose-bold: #171717;--tw-prose-counters: #737373;--tw-prose-bullets: #d4d4d4;--tw-prose-hr: #e5e5e5;--tw-prose-quotes: #171717;--tw-prose-quote-borders: #e5e5e5;--tw-prose-captions: #737373;--tw-prose-kbd: #171717;--tw-prose-kbd-shadows: 23 23 23;--tw-prose-code: #171717;--tw-prose-pre-code: #e5e5e5;--tw-prose-pre-bg: #262626;--tw-prose-th-borders: #d4d4d4;--tw-prose-td-borders: #e5e5e5;--tw-prose-invert-body: #d4d4d4;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #a3a3a3;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #a3a3a3;--tw-prose-invert-bullets: #525252;--tw-prose-invert-hr: #404040;--tw-prose-invert-quotes: #f5f5f5;--tw-prose-invert-quote-borders: #404040;--tw-prose-invert-captions: #a3a3a3;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d4d4d4;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #525252;--tw-prose-invert-td-borders: #404040}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.left-\\[-3\\.25rem\\]{left:-3.25rem}.top-0{top:0}.top-\\[3\\%\\]{top:3%}.inline{display:inline}.flex{display:flex}.table{display:table}.h-6{height:1.5rem}.h-\\[1\\.421875rem\\]{height:1.421875rem}.w-6{width:1.5rem}.max-w-none{max-width:none}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.flex-col{flex-direction:column}.items-center{align-items:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-Light>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:hsl(40 3% 90% / var(--tw-divide-opacity))}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-Light{--tw-border-opacity: 1;border-color:hsl(40 3% 90% / var(--tw-border-opacity))}.bg-Dark-Blue-Main-18{--tw-bg-opacity: 1;background-color:hsl(223 67% 18% / var(--tw-bg-opacity))}.bg-Energy-Red-95{--tw-bg-opacity: 1;background-color:hsl(357 83% 95% / var(--tw-bg-opacity))}.bg-Eucalyptus-85{--tw-bg-opacity: 1;background-color:hsl(178 80% 85% / var(--tw-bg-opacity))}.bg-Land-Green-95{--tw-bg-opacity: 1;background-color:hsl(114 49% 95% / var(--tw-bg-opacity))}.bg-Lavender-90{--tw-bg-opacity: 1;background-color:hsl(232 58% 90% / var(--tw-bg-opacity))}.bg-Sea-Blue-Main-28{--tw-bg-opacity: 1;background-color:hsl(218 100% 28% / var(--tw-bg-opacity))}.bg-Sunflower-85{--tw-bg-opacity: 1;background-color:hsl(55 100% 85% / var(--tw-bg-opacity))}.bg-Terracotta-85{--tw-bg-opacity: 1;background-color:hsl(34 100% 85% / var(--tw-bg-opacity))}.bg-White{--tw-bg-opacity: 1;background-color:hsl(40 3% 100% / var(--tw-bg-opacity))}.p-5{padding:1.25rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.pb-2{padding-bottom:.5rem}.pt-2{padding-top:.5rem}.text-\\[0\\.875rem\\]{font-size:.875rem}.text-Energy-Red-45{--tw-text-opacity: 1;color:hsl(357 83% 45% / var(--tw-text-opacity))}.text-Energy-Red-Main-54{--tw-text-opacity: 1;color:hsl(357 83% 54% / var(--tw-text-opacity))}.text-Eucalyptus-20{--tw-text-opacity: 1;color:hsl(178 80% 20% / var(--tw-text-opacity))}.text-Land-Green-30{--tw-text-opacity: 1;color:hsl(114 49% 30% / var(--tw-text-opacity))}.text-Land-Green-Main-41{--tw-text-opacity: 1;color:hsl(114 49% 41% / var(--tw-text-opacity))}.text-Lavender-50{--tw-text-opacity: 1;color:hsl(232 58% 50% / var(--tw-text-opacity))}.text-Sandstone-Main-79{--tw-text-opacity: 1;color:hsl(40 3% 79% / var(--tw-text-opacity))}.text-Sea-Blue-Main-28{--tw-text-opacity: 1;color:hsl(218 100% 28% / var(--tw-text-opacity))}.text-Sky-Blue-95{--tw-text-opacity: 1;color:hsl(196 74% 95% / var(--tw-text-opacity))}.text-Sunflower-20{--tw-text-opacity: 1;color:hsl(55 100% 20% / var(--tw-text-opacity))}.text-Terracotta-20{--tw-text-opacity: 1;color:hsl(34 100% 20% / var(--tw-text-opacity))}.text-Terracotta-Main-35{--tw-text-opacity: 1;color:hsl(34 100% 35% / var(--tw-text-opacity))}.text-White{--tw-text-opacity: 1;color:hsl(40 3% 100% / var(--tw-text-opacity))}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.title{font-family:DNV Display;font-size:4rem;font-style:normal;font-weight:400;line-height:1.15625}@media only screen and (max-width: 992px){.title{font-size:2.625rem;line-height:1.2380952380952381}}.title{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .title){color:var(--White, hsl(40 3% 100%))}.first\\:pt-0:first-child{padding-top:0}.last\\:pb-0:last-child{padding-bottom:0}.prose-code\\:text-\\[1em\\] :is(:where(code):not(:where([class~=not-prose],[class~=not-prose] *))){font-size:1em}', Pi = "pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#ddd;background:#303030}.hljs-keyword,.hljs-selector-tag,.hljs-literal,.hljs-section,.hljs-link{color:#fff}.hljs-string,.hljs-title,.hljs-name,.hljs-type,.hljs-attribute,.hljs-symbol,.hljs-bullet,.hljs-built_in,.hljs-addition,.hljs-variable,.hljs-template-tag,.hljs-template-variable{color:#d88}.hljs-comment,.hljs-quote,.hljs-deletion,.hljs-meta{color:#979797}.hljs-keyword,.hljs-selector-tag,.hljs-literal,.hljs-title,.hljs-section,.hljs-doctag,.hljs-type,.hljs-name,.hljs-strong{font-weight:700}.hljs-emphasis{font-style:italic}";
|
|
4044
|
+
class ji {
|
|
4044
4045
|
constructor(n) {
|
|
4045
4046
|
I(this, "node");
|
|
4046
4047
|
I(this, "userId");
|
|
@@ -4055,20 +4056,18 @@ class qi {
|
|
|
4055
4056
|
I(this, "_groupByFunctionId", {});
|
|
4056
4057
|
this.userId = n.userId, this.avatarLetters = n.avatarLetters, this.url = n.url, this.node = /* @__PURE__ */ R("div", null);
|
|
4057
4058
|
const t = document.createElement("style");
|
|
4058
|
-
t.textContent =
|
|
4059
|
+
t.textContent = Ni + `
|
|
4059
4060
|
` + Pi;
|
|
4060
4061
|
const r = this.node.attachShadow({ mode: "closed" });
|
|
4061
4062
|
r.appendChild(t), r.appendChild(
|
|
4062
4063
|
/* @__PURE__ */ R("div", { class: "flex flex-col gap-4" }, this.messagesNode = /* @__PURE__ */ R("ol", { class: "flex flex-col gap-4" }), this.statusNode = /* @__PURE__ */ R("div", { class: "select-none text-[0.875rem] h-[1.421875rem] overflow-hidden" }))
|
|
4063
4064
|
);
|
|
4064
|
-
let i = new Ue("progress", "Hello");
|
|
4065
|
-
this.messagesNode.appendChild(i.node), i = new Ue("done", "sad asdsa asd sad "), this.messagesNode.appendChild(i.node);
|
|
4066
4065
|
}
|
|
4067
4066
|
get canSubmit() {
|
|
4068
4067
|
return this._canSubmit;
|
|
4069
4068
|
}
|
|
4070
4069
|
get generatingNode() {
|
|
4071
|
-
return this._generatingNode || (this._generatingNode = /* @__PURE__ */ R("div", { class: "flex gap-2 items-center text-seaBlue-80" }, /* @__PURE__ */ R(Et, { size:
|
|
4070
|
+
return this._generatingNode || (this._generatingNode = /* @__PURE__ */ R("div", { class: "flex gap-2 items-center text-seaBlue-80" }, /* @__PURE__ */ R(Et, { size: Ue.ExtraSmall }), "Generating response…"));
|
|
4072
4071
|
}
|
|
4073
4072
|
setGeneratingStatus() {
|
|
4074
4073
|
const n = this.generatingNode, t = this.statusNode.firstChild;
|
|
@@ -4084,9 +4083,9 @@ class qi {
|
|
|
4084
4083
|
this._canSubmit = !1;
|
|
4085
4084
|
try {
|
|
4086
4085
|
this.setGeneratingStatus();
|
|
4087
|
-
const t = new
|
|
4086
|
+
const t = new zi(this, n, this.userId, this.avatarLetters);
|
|
4088
4087
|
this.messages.push(t), this.messagesNode.appendChild(t.node), this.setGeneratingStatus();
|
|
4089
|
-
const r = new
|
|
4088
|
+
const r = new Oi();
|
|
4090
4089
|
await r.initializeConnectionAsync(
|
|
4091
4090
|
this.url,
|
|
4092
4091
|
this.messages.map((s) => s.toDto())
|
|
@@ -4094,21 +4093,21 @@ class qi {
|
|
|
4094
4093
|
let i;
|
|
4095
4094
|
for await (const s of r.readMessagesAsync())
|
|
4096
4095
|
switch (s.type) {
|
|
4097
|
-
case
|
|
4096
|
+
case j.Init:
|
|
4098
4097
|
i = null;
|
|
4099
4098
|
break;
|
|
4100
|
-
case
|
|
4101
|
-
i instanceof
|
|
4099
|
+
case j.AppendMessage:
|
|
4100
|
+
i instanceof bt || (i = new bt(
|
|
4102
4101
|
this,
|
|
4103
4102
|
void 0,
|
|
4104
|
-
/* @__PURE__ */ R(
|
|
4103
|
+
/* @__PURE__ */ R(ln, { class: "absolute top-0 left-[-3.25rem] shadow-md" })
|
|
4105
4104
|
), this.messages.push(i), this.messagesNode.appendChild(i.node));
|
|
4106
4105
|
const o = i.message;
|
|
4107
4106
|
i.updateMessage(
|
|
4108
4107
|
o ? o + s.appendMessageMarkdown : s.appendMessageMarkdown
|
|
4109
4108
|
);
|
|
4110
4109
|
break;
|
|
4111
|
-
case
|
|
4110
|
+
case j.ToolCallUpdate: {
|
|
4112
4111
|
s.toolCallFunctionId && (this._functionIdToParentFunctionId[s.toolCallFunctionId] = s.parentFunctionId), i instanceof Re || (i = new Re(), this.messagesNode.appendChild(i.node)), s.toolCallFunctionId && (this._groupByFunctionId[s.toolCallFunctionId] = i), i.aggregate(
|
|
4113
4112
|
//msg.parentFunctionId,
|
|
4114
4113
|
s.toolCallFunctionId,
|
|
@@ -4118,7 +4117,7 @@ class qi {
|
|
|
4118
4117
|
);
|
|
4119
4118
|
break;
|
|
4120
4119
|
}
|
|
4121
|
-
case
|
|
4120
|
+
case j.ToolCallStatus: {
|
|
4122
4121
|
const a = this._groupByFunctionId[s.toolCallFunctionId];
|
|
4123
4122
|
if (a)
|
|
4124
4123
|
a.status(
|
|
@@ -4132,7 +4131,7 @@ class qi {
|
|
|
4132
4131
|
debugger;
|
|
4133
4132
|
break;
|
|
4134
4133
|
}
|
|
4135
|
-
case
|
|
4134
|
+
case j.ToolCallLog: {
|
|
4136
4135
|
const a = this._groupByFunctionId[s.toolCallFunctionId];
|
|
4137
4136
|
if (a)
|
|
4138
4137
|
a.log(s.toolCallFunctionId, s.toolCallLogLevel, s.toolCallTime, s.toolCallMarkdown);
|
|
@@ -4140,10 +4139,10 @@ class qi {
|
|
|
4140
4139
|
debugger;
|
|
4141
4140
|
break;
|
|
4142
4141
|
}
|
|
4143
|
-
case
|
|
4142
|
+
case j.Loop:
|
|
4144
4143
|
i instanceof Re && i.completeAggregation(), i = null;
|
|
4145
4144
|
break;
|
|
4146
|
-
case
|
|
4145
|
+
case j.ToolCallDone: {
|
|
4147
4146
|
const a = this._groupByFunctionId[s.toolCallFunctionId];
|
|
4148
4147
|
if (a)
|
|
4149
4148
|
a.done(s.toolCallFunctionId);
|
|
@@ -4151,7 +4150,7 @@ class qi {
|
|
|
4151
4150
|
debugger;
|
|
4152
4151
|
break;
|
|
4153
4152
|
}
|
|
4154
|
-
case
|
|
4153
|
+
case j.ToolCallError: {
|
|
4155
4154
|
const a = this._groupByFunctionId[s.toolCallFunctionId];
|
|
4156
4155
|
if (a)
|
|
4157
4156
|
a.error(s.toolCallFunctionId);
|
|
@@ -4169,5 +4168,5 @@ class qi {
|
|
|
4169
4168
|
}
|
|
4170
4169
|
}
|
|
4171
4170
|
export {
|
|
4172
|
-
|
|
4171
|
+
ji as AIChat
|
|
4173
4172
|
};
|