@factorialco/rjsf-f0 2.5.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +43 -41
- package/dist/rjsf-f0.cjs.js +10 -10
- package/dist/rjsf-f0.cjs.js.map +1 -1
- package/dist/rjsf-f0.es.js +1209 -1160
- package/dist/rjsf-f0.es.js.map +1 -1
- package/dist/src/widgets/file-widget.d.ts +22 -3
- package/dist/styles.css +7 -0
- package/package.json +1 -1
package/dist/rjsf-f0.es.js
CHANGED
|
@@ -1,155 +1,155 @@
|
|
|
1
1
|
import { withTheme as e } from "@rjsf/core";
|
|
2
|
-
import t, { Children as n, cloneElement as r, isValidElement as i, useCallback as a, useMemo as o,
|
|
3
|
-
import { ADDITIONAL_PROPERTY_FLAG as
|
|
4
|
-
import { Fragment as
|
|
5
|
-
import { F0Alert as
|
|
6
|
-
import { Add as
|
|
2
|
+
import t, { Children as n, cloneElement as r, isValidElement as i, useCallback as a, useMemo as o, useRef as s, useState as c } from "react";
|
|
3
|
+
import { ADDITIONAL_PROPERTY_FLAG as l, TranslatableString as u, buttonId as d, canExpand as f, descriptionId as p, enumOptionsDeselectValue as m, enumOptionsIsSelected as h, enumOptionsSelectValue as g, errorId as _, getSubmitButtonOptions as v, getTemplate as y, getUiOptions as b, helpId as x, optionId as S, titleId as C, useFileWidgetProps as w } from "@rjsf/utils";
|
|
4
|
+
import { Fragment as T, jsx as E, jsxs as D } from "react/jsx-runtime";
|
|
5
|
+
import { F0Alert as O, F0Button as k, F0Checkbox as ee, F0Dialog as te, F0FormField as A, F0Heading as j, F0Icon as ne, F0TextInput as re, markdownRenderers as M } from "@factorialco/f0-react";
|
|
6
|
+
import { Add as N, AlertCircle as ie, ArrowDown as P, ArrowLeft as ae, ArrowRight as oe, ArrowUp as se, Check as ce, Delete as le, File as ue, Files as de, Info as fe, Lightbulb as pe, Upload as me, Warning as he } from "@factorialco/f0-react/icons/app";
|
|
7
7
|
// \0rolldown/runtime.js
|
|
8
|
-
var
|
|
8
|
+
var ge = Object.create, _e = Object.defineProperty, ve = Object.getOwnPropertyDescriptor, ye = Object.getOwnPropertyNames, be = Object.getPrototypeOf, xe = Object.prototype.hasOwnProperty, Se = (e, t) => () => (t || (e((t = { exports: {} }).exports, t, t.exports), e = null), t.exports), Ce = (e, t) => {
|
|
9
9
|
let n = {};
|
|
10
|
-
for (var r in e)
|
|
10
|
+
for (var r in e) _e(n, r, {
|
|
11
11
|
get: e[r],
|
|
12
12
|
enumerable: !0
|
|
13
13
|
});
|
|
14
|
-
return t ||
|
|
15
|
-
},
|
|
16
|
-
if (t && typeof t == "object" || typeof t == "function") for (var i =
|
|
14
|
+
return t || _e(n, Symbol.toStringTag, { value: "Module" }), n;
|
|
15
|
+
}, we = (e, t, n, r) => {
|
|
16
|
+
if (t && typeof t == "object" || typeof t == "function") for (var i = ye(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !xe.call(e, s) && s !== n && _e(e, s, {
|
|
17
17
|
get: ((e) => t[e]).bind(null, s),
|
|
18
|
-
enumerable: !(r =
|
|
18
|
+
enumerable: !(r = ve(t, s)) || r.enumerable
|
|
19
19
|
});
|
|
20
20
|
return e;
|
|
21
|
-
},
|
|
21
|
+
}, Te = (e, t, n) => (n = e == null ? {} : ge(be(e)), we(t || !e || !e.__esModule || !xe.call(e, "default") ? _e(n, "default", {
|
|
22
22
|
value: e,
|
|
23
23
|
enumerable: !0
|
|
24
24
|
}) : n, e));
|
|
25
25
|
// ../../node_modules/.pnpm/comma-separated-tokens@2.0.3/node_modules/comma-separated-tokens/index.js
|
|
26
|
-
function
|
|
26
|
+
function Ee(e, t) {
|
|
27
27
|
let n = t || {};
|
|
28
28
|
return (e[e.length - 1] === "" ? [...e, ""] : e).join((n.padRight ? " " : "") + "," + (n.padLeft === !1 ? "" : " ")).trim();
|
|
29
29
|
}
|
|
30
30
|
// ../../node_modules/.pnpm/estree-util-is-identifier-name@3.0.0/node_modules/estree-util-is-identifier-name/lib/index.js
|
|
31
|
-
var
|
|
32
|
-
function
|
|
33
|
-
return ((t ||
|
|
31
|
+
var De = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, Oe = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, ke = {};
|
|
32
|
+
function Ae(e, t) {
|
|
33
|
+
return ((t || ke).jsx ? Oe : De).test(e);
|
|
34
34
|
}
|
|
35
35
|
// ../../node_modules/.pnpm/hast-util-whitespace@3.0.0/node_modules/hast-util-whitespace/lib/index.js
|
|
36
|
-
var
|
|
37
|
-
function
|
|
38
|
-
return typeof e == "object" ? e.type === "text" &&
|
|
36
|
+
var je = /[ \t\n\f\r]/g;
|
|
37
|
+
function Me(e) {
|
|
38
|
+
return typeof e == "object" ? e.type === "text" && Ne(e.value) : Ne(e);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
return e.replace(
|
|
40
|
+
function Ne(e) {
|
|
41
|
+
return e.replace(je, "") === "";
|
|
42
42
|
}
|
|
43
43
|
// ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/schema.js
|
|
44
|
-
var
|
|
44
|
+
var Pe = class {
|
|
45
45
|
constructor(e, t, n) {
|
|
46
46
|
this.normal = t, this.property = e, n && (this.space = n);
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
|
-
|
|
49
|
+
Pe.prototype.normal = {}, Pe.prototype.property = {}, Pe.prototype.space = void 0;
|
|
50
50
|
// ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/merge.js
|
|
51
|
-
function
|
|
51
|
+
function Fe(e, t) {
|
|
52
52
|
let n = {}, r = {};
|
|
53
53
|
for (let t of e) Object.assign(n, t.property), Object.assign(r, t.normal);
|
|
54
|
-
return new
|
|
54
|
+
return new Pe(n, r, t);
|
|
55
55
|
}
|
|
56
56
|
// ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/normalize.js
|
|
57
|
-
function
|
|
57
|
+
function Ie(e) {
|
|
58
58
|
return e.toLowerCase();
|
|
59
59
|
}
|
|
60
60
|
// ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/info.js
|
|
61
|
-
var
|
|
61
|
+
var F = class {
|
|
62
62
|
constructor(e, t) {
|
|
63
63
|
this.attribute = t, this.property = e;
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
|
-
|
|
66
|
+
F.prototype.attribute = "", F.prototype.booleanish = !1, F.prototype.boolean = !1, F.prototype.commaOrSpaceSeparated = !1, F.prototype.commaSeparated = !1, F.prototype.defined = !1, F.prototype.mustUseProperty = !1, F.prototype.number = !1, F.prototype.overloadedBoolean = !1, F.prototype.property = "", F.prototype.spaceSeparated = !1, F.prototype.space = void 0;
|
|
67
67
|
// ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/types.js
|
|
68
|
-
var
|
|
69
|
-
boolean: () =>
|
|
70
|
-
booleanish: () =>
|
|
71
|
-
commaOrSpaceSeparated: () =>
|
|
72
|
-
commaSeparated: () =>
|
|
73
|
-
number: () =>
|
|
74
|
-
overloadedBoolean: () =>
|
|
75
|
-
spaceSeparated: () =>
|
|
76
|
-
}),
|
|
77
|
-
function
|
|
78
|
-
return 2 ** ++
|
|
68
|
+
var Le = /* @__PURE__ */ Ce({
|
|
69
|
+
boolean: () => I,
|
|
70
|
+
booleanish: () => L,
|
|
71
|
+
commaOrSpaceSeparated: () => B,
|
|
72
|
+
commaSeparated: () => Be,
|
|
73
|
+
number: () => R,
|
|
74
|
+
overloadedBoolean: () => ze,
|
|
75
|
+
spaceSeparated: () => z
|
|
76
|
+
}), Re = 0, I = Ve(), L = Ve(), ze = Ve(), R = Ve(), z = Ve(), Be = Ve(), B = Ve();
|
|
77
|
+
function Ve() {
|
|
78
|
+
return 2 ** ++Re;
|
|
79
79
|
}
|
|
80
80
|
// ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/defined-info.js
|
|
81
|
-
var
|
|
81
|
+
var He = Object.keys(Le), Ue = class extends F {
|
|
82
82
|
constructor(e, t, n, r) {
|
|
83
83
|
let i = -1;
|
|
84
|
-
if (super(e, t),
|
|
85
|
-
let e =
|
|
86
|
-
|
|
84
|
+
if (super(e, t), We(this, "space", r), typeof n == "number") for (; ++i < He.length;) {
|
|
85
|
+
let e = He[i];
|
|
86
|
+
We(this, He[i], (n & Le[e]) === Le[e]);
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
|
-
|
|
91
|
-
function
|
|
90
|
+
Ue.prototype.defined = !0;
|
|
91
|
+
function We(e, t, n) {
|
|
92
92
|
n && (e[t] = n);
|
|
93
93
|
}
|
|
94
94
|
// ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/create.js
|
|
95
|
-
function
|
|
95
|
+
function Ge(e) {
|
|
96
96
|
let t = {}, n = {};
|
|
97
97
|
for (let [r, i] of Object.entries(e.properties)) {
|
|
98
|
-
let a = new
|
|
99
|
-
e.mustUseProperty && e.mustUseProperty.includes(r) && (a.mustUseProperty = !0), t[r] = a, n[
|
|
98
|
+
let a = new Ue(r, e.transform(e.attributes || {}, r), i, e.space);
|
|
99
|
+
e.mustUseProperty && e.mustUseProperty.includes(r) && (a.mustUseProperty = !0), t[r] = a, n[Ie(r)] = r, n[Ie(a.attribute)] = r;
|
|
100
100
|
}
|
|
101
|
-
return new
|
|
101
|
+
return new Pe(t, n, e.space);
|
|
102
102
|
}
|
|
103
103
|
// ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/aria.js
|
|
104
|
-
var
|
|
104
|
+
var Ke = Ge({
|
|
105
105
|
properties: {
|
|
106
106
|
ariaActiveDescendant: null,
|
|
107
|
-
ariaAtomic:
|
|
107
|
+
ariaAtomic: L,
|
|
108
108
|
ariaAutoComplete: null,
|
|
109
|
-
ariaBusy:
|
|
110
|
-
ariaChecked:
|
|
111
|
-
ariaColCount:
|
|
112
|
-
ariaColIndex:
|
|
113
|
-
ariaColSpan:
|
|
114
|
-
ariaControls:
|
|
109
|
+
ariaBusy: L,
|
|
110
|
+
ariaChecked: L,
|
|
111
|
+
ariaColCount: R,
|
|
112
|
+
ariaColIndex: R,
|
|
113
|
+
ariaColSpan: R,
|
|
114
|
+
ariaControls: z,
|
|
115
115
|
ariaCurrent: null,
|
|
116
|
-
ariaDescribedBy:
|
|
116
|
+
ariaDescribedBy: z,
|
|
117
117
|
ariaDetails: null,
|
|
118
|
-
ariaDisabled:
|
|
119
|
-
ariaDropEffect:
|
|
118
|
+
ariaDisabled: L,
|
|
119
|
+
ariaDropEffect: z,
|
|
120
120
|
ariaErrorMessage: null,
|
|
121
|
-
ariaExpanded:
|
|
122
|
-
ariaFlowTo:
|
|
123
|
-
ariaGrabbed:
|
|
121
|
+
ariaExpanded: L,
|
|
122
|
+
ariaFlowTo: z,
|
|
123
|
+
ariaGrabbed: L,
|
|
124
124
|
ariaHasPopup: null,
|
|
125
|
-
ariaHidden:
|
|
125
|
+
ariaHidden: L,
|
|
126
126
|
ariaInvalid: null,
|
|
127
127
|
ariaKeyShortcuts: null,
|
|
128
128
|
ariaLabel: null,
|
|
129
|
-
ariaLabelledBy:
|
|
130
|
-
ariaLevel:
|
|
129
|
+
ariaLabelledBy: z,
|
|
130
|
+
ariaLevel: R,
|
|
131
131
|
ariaLive: null,
|
|
132
|
-
ariaModal:
|
|
133
|
-
ariaMultiLine:
|
|
134
|
-
ariaMultiSelectable:
|
|
132
|
+
ariaModal: L,
|
|
133
|
+
ariaMultiLine: L,
|
|
134
|
+
ariaMultiSelectable: L,
|
|
135
135
|
ariaOrientation: null,
|
|
136
|
-
ariaOwns:
|
|
136
|
+
ariaOwns: z,
|
|
137
137
|
ariaPlaceholder: null,
|
|
138
|
-
ariaPosInSet:
|
|
139
|
-
ariaPressed:
|
|
140
|
-
ariaReadOnly:
|
|
138
|
+
ariaPosInSet: R,
|
|
139
|
+
ariaPressed: L,
|
|
140
|
+
ariaReadOnly: L,
|
|
141
141
|
ariaRelevant: null,
|
|
142
|
-
ariaRequired:
|
|
143
|
-
ariaRoleDescription:
|
|
144
|
-
ariaRowCount:
|
|
145
|
-
ariaRowIndex:
|
|
146
|
-
ariaRowSpan:
|
|
147
|
-
ariaSelected:
|
|
148
|
-
ariaSetSize:
|
|
142
|
+
ariaRequired: L,
|
|
143
|
+
ariaRoleDescription: z,
|
|
144
|
+
ariaRowCount: R,
|
|
145
|
+
ariaRowIndex: R,
|
|
146
|
+
ariaRowSpan: R,
|
|
147
|
+
ariaSelected: L,
|
|
148
|
+
ariaSetSize: R,
|
|
149
149
|
ariaSort: null,
|
|
150
|
-
ariaValueMax:
|
|
151
|
-
ariaValueMin:
|
|
152
|
-
ariaValueNow:
|
|
150
|
+
ariaValueMax: R,
|
|
151
|
+
ariaValueMin: R,
|
|
152
|
+
ariaValueNow: R,
|
|
153
153
|
ariaValueText: null,
|
|
154
154
|
role: null
|
|
155
155
|
},
|
|
@@ -158,15 +158,15 @@ var qe = Ke({
|
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
160
|
// ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/case-sensitive-transform.js
|
|
161
|
-
function
|
|
161
|
+
function qe(e, t) {
|
|
162
162
|
return t in e ? e[t] : t;
|
|
163
163
|
}
|
|
164
164
|
// ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/util/case-insensitive-transform.js
|
|
165
|
-
function
|
|
166
|
-
return
|
|
165
|
+
function Je(e, t) {
|
|
166
|
+
return qe(e, t.toLowerCase());
|
|
167
167
|
}
|
|
168
168
|
// ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/lib/html.js
|
|
169
|
-
var
|
|
169
|
+
var Ye = Ge({
|
|
170
170
|
attributes: {
|
|
171
171
|
acceptcharset: "accept-charset",
|
|
172
172
|
classname: "class",
|
|
@@ -181,50 +181,50 @@ var Xe = Ke({
|
|
|
181
181
|
],
|
|
182
182
|
properties: {
|
|
183
183
|
abbr: null,
|
|
184
|
-
accept:
|
|
185
|
-
acceptCharset:
|
|
186
|
-
accessKey:
|
|
184
|
+
accept: Be,
|
|
185
|
+
acceptCharset: z,
|
|
186
|
+
accessKey: z,
|
|
187
187
|
action: null,
|
|
188
188
|
allow: null,
|
|
189
|
-
allowFullScreen:
|
|
190
|
-
allowPaymentRequest:
|
|
191
|
-
allowUserMedia:
|
|
192
|
-
alpha:
|
|
189
|
+
allowFullScreen: I,
|
|
190
|
+
allowPaymentRequest: I,
|
|
191
|
+
allowUserMedia: I,
|
|
192
|
+
alpha: I,
|
|
193
193
|
alt: null,
|
|
194
194
|
as: null,
|
|
195
|
-
async:
|
|
195
|
+
async: I,
|
|
196
196
|
autoCapitalize: null,
|
|
197
|
-
autoComplete:
|
|
198
|
-
autoFocus:
|
|
199
|
-
autoPlay:
|
|
200
|
-
blocking:
|
|
197
|
+
autoComplete: z,
|
|
198
|
+
autoFocus: I,
|
|
199
|
+
autoPlay: I,
|
|
200
|
+
blocking: z,
|
|
201
201
|
capture: null,
|
|
202
202
|
charSet: null,
|
|
203
|
-
checked:
|
|
203
|
+
checked: I,
|
|
204
204
|
cite: null,
|
|
205
|
-
className:
|
|
205
|
+
className: z,
|
|
206
206
|
closedBy: null,
|
|
207
207
|
colorSpace: null,
|
|
208
|
-
cols:
|
|
209
|
-
colSpan:
|
|
208
|
+
cols: R,
|
|
209
|
+
colSpan: R,
|
|
210
210
|
command: null,
|
|
211
211
|
commandFor: null,
|
|
212
212
|
content: null,
|
|
213
|
-
contentEditable:
|
|
214
|
-
controls:
|
|
215
|
-
controlsList:
|
|
216
|
-
coords:
|
|
213
|
+
contentEditable: L,
|
|
214
|
+
controls: I,
|
|
215
|
+
controlsList: z,
|
|
216
|
+
coords: R | Be,
|
|
217
217
|
crossOrigin: null,
|
|
218
218
|
data: null,
|
|
219
219
|
dateTime: null,
|
|
220
220
|
decoding: null,
|
|
221
|
-
default:
|
|
222
|
-
defer:
|
|
221
|
+
default: I,
|
|
222
|
+
defer: I,
|
|
223
223
|
dir: null,
|
|
224
224
|
dirName: null,
|
|
225
|
-
disabled:
|
|
226
|
-
download:
|
|
227
|
-
draggable:
|
|
225
|
+
disabled: I,
|
|
226
|
+
download: ze,
|
|
227
|
+
draggable: L,
|
|
228
228
|
encType: null,
|
|
229
229
|
enterKeyHint: null,
|
|
230
230
|
fetchPriority: null,
|
|
@@ -232,50 +232,50 @@ var Xe = Ke({
|
|
|
232
232
|
formAction: null,
|
|
233
233
|
formEncType: null,
|
|
234
234
|
formMethod: null,
|
|
235
|
-
formNoValidate:
|
|
235
|
+
formNoValidate: I,
|
|
236
236
|
formTarget: null,
|
|
237
|
-
headers:
|
|
238
|
-
height:
|
|
239
|
-
hidden:
|
|
240
|
-
high:
|
|
237
|
+
headers: z,
|
|
238
|
+
height: R,
|
|
239
|
+
hidden: ze,
|
|
240
|
+
high: R,
|
|
241
241
|
href: null,
|
|
242
242
|
hrefLang: null,
|
|
243
|
-
htmlFor:
|
|
244
|
-
httpEquiv:
|
|
243
|
+
htmlFor: z,
|
|
244
|
+
httpEquiv: z,
|
|
245
245
|
id: null,
|
|
246
246
|
imageSizes: null,
|
|
247
247
|
imageSrcSet: null,
|
|
248
|
-
inert:
|
|
248
|
+
inert: I,
|
|
249
249
|
inputMode: null,
|
|
250
250
|
integrity: null,
|
|
251
251
|
is: null,
|
|
252
|
-
isMap:
|
|
252
|
+
isMap: I,
|
|
253
253
|
itemId: null,
|
|
254
|
-
itemProp:
|
|
255
|
-
itemRef:
|
|
256
|
-
itemScope:
|
|
257
|
-
itemType:
|
|
254
|
+
itemProp: z,
|
|
255
|
+
itemRef: z,
|
|
256
|
+
itemScope: I,
|
|
257
|
+
itemType: z,
|
|
258
258
|
kind: null,
|
|
259
259
|
label: null,
|
|
260
260
|
lang: null,
|
|
261
261
|
language: null,
|
|
262
262
|
list: null,
|
|
263
263
|
loading: null,
|
|
264
|
-
loop:
|
|
265
|
-
low:
|
|
264
|
+
loop: I,
|
|
265
|
+
low: R,
|
|
266
266
|
manifest: null,
|
|
267
267
|
max: null,
|
|
268
|
-
maxLength:
|
|
268
|
+
maxLength: R,
|
|
269
269
|
media: null,
|
|
270
270
|
method: null,
|
|
271
271
|
min: null,
|
|
272
|
-
minLength:
|
|
273
|
-
multiple:
|
|
274
|
-
muted:
|
|
272
|
+
minLength: R,
|
|
273
|
+
multiple: I,
|
|
274
|
+
muted: I,
|
|
275
275
|
name: null,
|
|
276
276
|
nonce: null,
|
|
277
|
-
noModule:
|
|
278
|
-
noValidate:
|
|
277
|
+
noModule: I,
|
|
278
|
+
noValidate: I,
|
|
279
279
|
onAbort: null,
|
|
280
280
|
onAfterPrint: null,
|
|
281
281
|
onAuxClick: null,
|
|
@@ -364,67 +364,67 @@ var Xe = Ke({
|
|
|
364
364
|
onVolumeChange: null,
|
|
365
365
|
onWaiting: null,
|
|
366
366
|
onWheel: null,
|
|
367
|
-
open:
|
|
368
|
-
optimum:
|
|
367
|
+
open: I,
|
|
368
|
+
optimum: R,
|
|
369
369
|
pattern: null,
|
|
370
|
-
ping:
|
|
370
|
+
ping: z,
|
|
371
371
|
placeholder: null,
|
|
372
|
-
playsInline:
|
|
372
|
+
playsInline: I,
|
|
373
373
|
popover: null,
|
|
374
374
|
popoverTarget: null,
|
|
375
375
|
popoverTargetAction: null,
|
|
376
376
|
poster: null,
|
|
377
377
|
preload: null,
|
|
378
|
-
readOnly:
|
|
378
|
+
readOnly: I,
|
|
379
379
|
referrerPolicy: null,
|
|
380
|
-
rel:
|
|
381
|
-
required:
|
|
382
|
-
reversed:
|
|
383
|
-
rows:
|
|
384
|
-
rowSpan:
|
|
385
|
-
sandbox:
|
|
380
|
+
rel: z,
|
|
381
|
+
required: I,
|
|
382
|
+
reversed: I,
|
|
383
|
+
rows: R,
|
|
384
|
+
rowSpan: R,
|
|
385
|
+
sandbox: z,
|
|
386
386
|
scope: null,
|
|
387
|
-
scoped:
|
|
388
|
-
seamless:
|
|
389
|
-
selected:
|
|
390
|
-
shadowRootClonable:
|
|
391
|
-
shadowRootCustomElementRegistry:
|
|
392
|
-
shadowRootDelegatesFocus:
|
|
387
|
+
scoped: I,
|
|
388
|
+
seamless: I,
|
|
389
|
+
selected: I,
|
|
390
|
+
shadowRootClonable: I,
|
|
391
|
+
shadowRootCustomElementRegistry: I,
|
|
392
|
+
shadowRootDelegatesFocus: I,
|
|
393
393
|
shadowRootMode: null,
|
|
394
|
-
shadowRootSerializable:
|
|
394
|
+
shadowRootSerializable: I,
|
|
395
395
|
shape: null,
|
|
396
|
-
size:
|
|
396
|
+
size: R,
|
|
397
397
|
sizes: null,
|
|
398
398
|
slot: null,
|
|
399
|
-
span:
|
|
400
|
-
spellCheck:
|
|
399
|
+
span: R,
|
|
400
|
+
spellCheck: L,
|
|
401
401
|
src: null,
|
|
402
402
|
srcDoc: null,
|
|
403
403
|
srcLang: null,
|
|
404
404
|
srcSet: null,
|
|
405
|
-
start:
|
|
405
|
+
start: R,
|
|
406
406
|
step: null,
|
|
407
407
|
style: null,
|
|
408
|
-
tabIndex:
|
|
408
|
+
tabIndex: R,
|
|
409
409
|
target: null,
|
|
410
410
|
title: null,
|
|
411
411
|
translate: null,
|
|
412
412
|
type: null,
|
|
413
|
-
typeMustMatch:
|
|
413
|
+
typeMustMatch: I,
|
|
414
414
|
useMap: null,
|
|
415
|
-
value:
|
|
416
|
-
width:
|
|
415
|
+
value: L,
|
|
416
|
+
width: R,
|
|
417
417
|
wrap: null,
|
|
418
418
|
writingSuggestions: null,
|
|
419
419
|
align: null,
|
|
420
420
|
aLink: null,
|
|
421
|
-
archive:
|
|
421
|
+
archive: z,
|
|
422
422
|
axis: null,
|
|
423
423
|
background: null,
|
|
424
424
|
bgColor: null,
|
|
425
|
-
border:
|
|
425
|
+
border: R,
|
|
426
426
|
borderColor: null,
|
|
427
|
-
bottomMargin:
|
|
427
|
+
bottomMargin: R,
|
|
428
428
|
cellPadding: null,
|
|
429
429
|
cellSpacing: null,
|
|
430
430
|
char: null,
|
|
@@ -435,57 +435,57 @@ var Xe = Ke({
|
|
|
435
435
|
codeBase: null,
|
|
436
436
|
codeType: null,
|
|
437
437
|
color: null,
|
|
438
|
-
compact:
|
|
439
|
-
declare:
|
|
438
|
+
compact: I,
|
|
439
|
+
declare: I,
|
|
440
440
|
event: null,
|
|
441
441
|
face: null,
|
|
442
442
|
frame: null,
|
|
443
443
|
frameBorder: null,
|
|
444
|
-
hSpace:
|
|
445
|
-
leftMargin:
|
|
444
|
+
hSpace: R,
|
|
445
|
+
leftMargin: R,
|
|
446
446
|
link: null,
|
|
447
447
|
longDesc: null,
|
|
448
448
|
lowSrc: null,
|
|
449
|
-
marginHeight:
|
|
450
|
-
marginWidth:
|
|
451
|
-
noResize:
|
|
452
|
-
noHref:
|
|
453
|
-
noShade:
|
|
454
|
-
noWrap:
|
|
449
|
+
marginHeight: R,
|
|
450
|
+
marginWidth: R,
|
|
451
|
+
noResize: I,
|
|
452
|
+
noHref: I,
|
|
453
|
+
noShade: I,
|
|
454
|
+
noWrap: I,
|
|
455
455
|
object: null,
|
|
456
456
|
profile: null,
|
|
457
457
|
prompt: null,
|
|
458
458
|
rev: null,
|
|
459
|
-
rightMargin:
|
|
459
|
+
rightMargin: R,
|
|
460
460
|
rules: null,
|
|
461
461
|
scheme: null,
|
|
462
|
-
scrolling:
|
|
462
|
+
scrolling: L,
|
|
463
463
|
standby: null,
|
|
464
464
|
summary: null,
|
|
465
465
|
text: null,
|
|
466
|
-
topMargin:
|
|
466
|
+
topMargin: R,
|
|
467
467
|
valueType: null,
|
|
468
468
|
version: null,
|
|
469
469
|
vAlign: null,
|
|
470
470
|
vLink: null,
|
|
471
|
-
vSpace:
|
|
471
|
+
vSpace: R,
|
|
472
472
|
allowTransparency: null,
|
|
473
473
|
autoCorrect: null,
|
|
474
474
|
autoSave: null,
|
|
475
|
-
credentialless:
|
|
476
|
-
disablePictureInPicture:
|
|
477
|
-
disableRemotePlayback:
|
|
478
|
-
exportParts:
|
|
479
|
-
part:
|
|
475
|
+
credentialless: I,
|
|
476
|
+
disablePictureInPicture: I,
|
|
477
|
+
disableRemotePlayback: I,
|
|
478
|
+
exportParts: Be,
|
|
479
|
+
part: z,
|
|
480
480
|
prefix: null,
|
|
481
481
|
property: null,
|
|
482
|
-
results:
|
|
482
|
+
results: R,
|
|
483
483
|
security: null,
|
|
484
484
|
unselectable: null
|
|
485
485
|
},
|
|
486
486
|
space: "html",
|
|
487
|
-
transform:
|
|
488
|
-
}),
|
|
487
|
+
transform: Je
|
|
488
|
+
}), Xe = Ge({
|
|
489
489
|
attributes: {
|
|
490
490
|
accentHeight: "accent-height",
|
|
491
491
|
alignmentBaseline: "alignment-baseline",
|
|
@@ -662,29 +662,29 @@ var Xe = Ke({
|
|
|
662
662
|
timelineBegin: "timelinebegin"
|
|
663
663
|
},
|
|
664
664
|
properties: {
|
|
665
|
-
about:
|
|
666
|
-
accentHeight:
|
|
665
|
+
about: B,
|
|
666
|
+
accentHeight: R,
|
|
667
667
|
accumulate: null,
|
|
668
668
|
additive: null,
|
|
669
669
|
alignmentBaseline: null,
|
|
670
|
-
alphabetic:
|
|
671
|
-
amplitude:
|
|
670
|
+
alphabetic: R,
|
|
671
|
+
amplitude: R,
|
|
672
672
|
arabicForm: null,
|
|
673
|
-
ascent:
|
|
673
|
+
ascent: R,
|
|
674
674
|
attributeName: null,
|
|
675
675
|
attributeType: null,
|
|
676
|
-
azimuth:
|
|
676
|
+
azimuth: R,
|
|
677
677
|
bandwidth: null,
|
|
678
678
|
baselineShift: null,
|
|
679
679
|
baseFrequency: null,
|
|
680
680
|
baseProfile: null,
|
|
681
681
|
bbox: null,
|
|
682
682
|
begin: null,
|
|
683
|
-
bias:
|
|
683
|
+
bias: R,
|
|
684
684
|
by: null,
|
|
685
685
|
calcMode: null,
|
|
686
|
-
capHeight:
|
|
687
|
-
className:
|
|
686
|
+
capHeight: R,
|
|
687
|
+
className: z,
|
|
688
688
|
clip: null,
|
|
689
689
|
clipPath: null,
|
|
690
690
|
clipPathUnits: null,
|
|
@@ -704,26 +704,26 @@ var Xe = Ke({
|
|
|
704
704
|
d: null,
|
|
705
705
|
dataType: null,
|
|
706
706
|
defaultAction: null,
|
|
707
|
-
descent:
|
|
708
|
-
diffuseConstant:
|
|
707
|
+
descent: R,
|
|
708
|
+
diffuseConstant: R,
|
|
709
709
|
direction: null,
|
|
710
710
|
display: null,
|
|
711
711
|
dur: null,
|
|
712
|
-
divisor:
|
|
712
|
+
divisor: R,
|
|
713
713
|
dominantBaseline: null,
|
|
714
|
-
download:
|
|
714
|
+
download: I,
|
|
715
715
|
dx: null,
|
|
716
716
|
dy: null,
|
|
717
717
|
edgeMode: null,
|
|
718
718
|
editable: null,
|
|
719
|
-
elevation:
|
|
719
|
+
elevation: R,
|
|
720
720
|
enableBackground: null,
|
|
721
721
|
end: null,
|
|
722
722
|
event: null,
|
|
723
|
-
exponent:
|
|
723
|
+
exponent: R,
|
|
724
724
|
externalResourcesRequired: null,
|
|
725
725
|
fill: null,
|
|
726
|
-
fillOpacity:
|
|
726
|
+
fillOpacity: R,
|
|
727
727
|
fillRule: null,
|
|
728
728
|
filter: null,
|
|
729
729
|
filterRes: null,
|
|
@@ -744,37 +744,37 @@ var Xe = Ke({
|
|
|
744
744
|
from: null,
|
|
745
745
|
fx: null,
|
|
746
746
|
fy: null,
|
|
747
|
-
g1:
|
|
748
|
-
g2:
|
|
749
|
-
glyphName:
|
|
747
|
+
g1: Be,
|
|
748
|
+
g2: Be,
|
|
749
|
+
glyphName: Be,
|
|
750
750
|
glyphOrientationHorizontal: null,
|
|
751
751
|
glyphOrientationVertical: null,
|
|
752
752
|
glyphRef: null,
|
|
753
753
|
gradientTransform: null,
|
|
754
754
|
gradientUnits: null,
|
|
755
755
|
handler: null,
|
|
756
|
-
hanging:
|
|
756
|
+
hanging: R,
|
|
757
757
|
hatchContentUnits: null,
|
|
758
758
|
hatchUnits: null,
|
|
759
759
|
height: null,
|
|
760
760
|
href: null,
|
|
761
761
|
hrefLang: null,
|
|
762
|
-
horizAdvX:
|
|
763
|
-
horizOriginX:
|
|
764
|
-
horizOriginY:
|
|
762
|
+
horizAdvX: R,
|
|
763
|
+
horizOriginX: R,
|
|
764
|
+
horizOriginY: R,
|
|
765
765
|
id: null,
|
|
766
|
-
ideographic:
|
|
766
|
+
ideographic: R,
|
|
767
767
|
imageRendering: null,
|
|
768
768
|
initialVisibility: null,
|
|
769
769
|
in: null,
|
|
770
770
|
in2: null,
|
|
771
|
-
intercept:
|
|
772
|
-
k:
|
|
773
|
-
k1:
|
|
774
|
-
k2:
|
|
775
|
-
k3:
|
|
776
|
-
k4:
|
|
777
|
-
kernelMatrix:
|
|
771
|
+
intercept: R,
|
|
772
|
+
k: R,
|
|
773
|
+
k1: R,
|
|
774
|
+
k2: R,
|
|
775
|
+
k3: R,
|
|
776
|
+
k4: R,
|
|
777
|
+
kernelMatrix: B,
|
|
778
778
|
kernelUnitLength: null,
|
|
779
779
|
keyPoints: null,
|
|
780
780
|
keySplines: null,
|
|
@@ -784,7 +784,7 @@ var Xe = Ke({
|
|
|
784
784
|
lengthAdjust: null,
|
|
785
785
|
letterSpacing: null,
|
|
786
786
|
lightingColor: null,
|
|
787
|
-
limitingConeAngle:
|
|
787
|
+
limitingConeAngle: R,
|
|
788
788
|
local: null,
|
|
789
789
|
markerEnd: null,
|
|
790
790
|
markerMid: null,
|
|
@@ -801,7 +801,7 @@ var Xe = Ke({
|
|
|
801
801
|
media: null,
|
|
802
802
|
mediaCharacterEncoding: null,
|
|
803
803
|
mediaContentEncodings: null,
|
|
804
|
-
mediaSize:
|
|
804
|
+
mediaSize: R,
|
|
805
805
|
mediaTime: null,
|
|
806
806
|
method: null,
|
|
807
807
|
min: null,
|
|
@@ -907,43 +907,43 @@ var Xe = Ke({
|
|
|
907
907
|
origin: null,
|
|
908
908
|
overflow: null,
|
|
909
909
|
overlay: null,
|
|
910
|
-
overlinePosition:
|
|
911
|
-
overlineThickness:
|
|
910
|
+
overlinePosition: R,
|
|
911
|
+
overlineThickness: R,
|
|
912
912
|
paintOrder: null,
|
|
913
913
|
panose1: null,
|
|
914
914
|
path: null,
|
|
915
|
-
pathLength:
|
|
915
|
+
pathLength: R,
|
|
916
916
|
patternContentUnits: null,
|
|
917
917
|
patternTransform: null,
|
|
918
918
|
patternUnits: null,
|
|
919
919
|
phase: null,
|
|
920
|
-
ping:
|
|
920
|
+
ping: z,
|
|
921
921
|
pitch: null,
|
|
922
922
|
playbackOrder: null,
|
|
923
923
|
pointerEvents: null,
|
|
924
924
|
points: null,
|
|
925
|
-
pointsAtX:
|
|
926
|
-
pointsAtY:
|
|
927
|
-
pointsAtZ:
|
|
925
|
+
pointsAtX: R,
|
|
926
|
+
pointsAtY: R,
|
|
927
|
+
pointsAtZ: R,
|
|
928
928
|
preserveAlpha: null,
|
|
929
929
|
preserveAspectRatio: null,
|
|
930
930
|
primitiveUnits: null,
|
|
931
931
|
propagate: null,
|
|
932
|
-
property:
|
|
932
|
+
property: B,
|
|
933
933
|
r: null,
|
|
934
934
|
radius: null,
|
|
935
935
|
referrerPolicy: null,
|
|
936
936
|
refX: null,
|
|
937
937
|
refY: null,
|
|
938
|
-
rel:
|
|
939
|
-
rev:
|
|
938
|
+
rel: B,
|
|
939
|
+
rev: B,
|
|
940
940
|
renderingIntent: null,
|
|
941
941
|
repeatCount: null,
|
|
942
942
|
repeatDur: null,
|
|
943
|
-
requiredExtensions:
|
|
944
|
-
requiredFeatures:
|
|
945
|
-
requiredFonts:
|
|
946
|
-
requiredFormats:
|
|
943
|
+
requiredExtensions: B,
|
|
944
|
+
requiredFeatures: B,
|
|
945
|
+
requiredFonts: B,
|
|
946
|
+
requiredFormats: B,
|
|
947
947
|
resource: null,
|
|
948
948
|
restart: null,
|
|
949
949
|
result: null,
|
|
@@ -956,8 +956,8 @@ var Xe = Ke({
|
|
|
956
956
|
side: null,
|
|
957
957
|
slope: null,
|
|
958
958
|
snapshotTime: null,
|
|
959
|
-
specularConstant:
|
|
960
|
-
specularExponent:
|
|
959
|
+
specularConstant: R,
|
|
960
|
+
specularExponent: R,
|
|
961
961
|
spreadMethod: null,
|
|
962
962
|
spacing: null,
|
|
963
963
|
startOffset: null,
|
|
@@ -967,30 +967,30 @@ var Xe = Ke({
|
|
|
967
967
|
stitchTiles: null,
|
|
968
968
|
stopColor: null,
|
|
969
969
|
stopOpacity: null,
|
|
970
|
-
strikethroughPosition:
|
|
971
|
-
strikethroughThickness:
|
|
970
|
+
strikethroughPosition: R,
|
|
971
|
+
strikethroughThickness: R,
|
|
972
972
|
string: null,
|
|
973
973
|
stroke: null,
|
|
974
|
-
strokeDashArray:
|
|
974
|
+
strokeDashArray: B,
|
|
975
975
|
strokeDashOffset: null,
|
|
976
976
|
strokeLineCap: null,
|
|
977
977
|
strokeLineJoin: null,
|
|
978
|
-
strokeMiterLimit:
|
|
979
|
-
strokeOpacity:
|
|
978
|
+
strokeMiterLimit: R,
|
|
979
|
+
strokeOpacity: R,
|
|
980
980
|
strokeWidth: null,
|
|
981
981
|
style: null,
|
|
982
|
-
surfaceScale:
|
|
982
|
+
surfaceScale: R,
|
|
983
983
|
syncBehavior: null,
|
|
984
984
|
syncBehaviorDefault: null,
|
|
985
985
|
syncMaster: null,
|
|
986
986
|
syncTolerance: null,
|
|
987
987
|
syncToleranceDefault: null,
|
|
988
|
-
systemLanguage:
|
|
989
|
-
tabIndex:
|
|
988
|
+
systemLanguage: B,
|
|
989
|
+
tabIndex: R,
|
|
990
990
|
tableValues: null,
|
|
991
991
|
target: null,
|
|
992
|
-
targetX:
|
|
993
|
-
targetY:
|
|
992
|
+
targetX: R,
|
|
993
|
+
targetY: R,
|
|
994
994
|
textAnchor: null,
|
|
995
995
|
textDecoration: null,
|
|
996
996
|
textRendering: null,
|
|
@@ -999,28 +999,28 @@ var Xe = Ke({
|
|
|
999
999
|
title: null,
|
|
1000
1000
|
transformBehavior: null,
|
|
1001
1001
|
type: null,
|
|
1002
|
-
typeOf:
|
|
1002
|
+
typeOf: B,
|
|
1003
1003
|
to: null,
|
|
1004
1004
|
transform: null,
|
|
1005
1005
|
transformOrigin: null,
|
|
1006
1006
|
u1: null,
|
|
1007
1007
|
u2: null,
|
|
1008
|
-
underlinePosition:
|
|
1009
|
-
underlineThickness:
|
|
1008
|
+
underlinePosition: R,
|
|
1009
|
+
underlineThickness: R,
|
|
1010
1010
|
unicode: null,
|
|
1011
1011
|
unicodeBidi: null,
|
|
1012
1012
|
unicodeRange: null,
|
|
1013
|
-
unitsPerEm:
|
|
1013
|
+
unitsPerEm: R,
|
|
1014
1014
|
values: null,
|
|
1015
|
-
vAlphabetic:
|
|
1016
|
-
vMathematical:
|
|
1015
|
+
vAlphabetic: R,
|
|
1016
|
+
vMathematical: R,
|
|
1017
1017
|
vectorEffect: null,
|
|
1018
|
-
vHanging:
|
|
1019
|
-
vIdeographic:
|
|
1018
|
+
vHanging: R,
|
|
1019
|
+
vIdeographic: R,
|
|
1020
1020
|
version: null,
|
|
1021
|
-
vertAdvY:
|
|
1022
|
-
vertOriginX:
|
|
1023
|
-
vertOriginY:
|
|
1021
|
+
vertAdvY: R,
|
|
1022
|
+
vertOriginX: R,
|
|
1023
|
+
vertOriginY: R,
|
|
1024
1024
|
viewBox: null,
|
|
1025
1025
|
viewTarget: null,
|
|
1026
1026
|
visibility: null,
|
|
@@ -1032,7 +1032,7 @@ var Xe = Ke({
|
|
|
1032
1032
|
x1: null,
|
|
1033
1033
|
x2: null,
|
|
1034
1034
|
xChannelSelector: null,
|
|
1035
|
-
xHeight:
|
|
1035
|
+
xHeight: R,
|
|
1036
1036
|
y: null,
|
|
1037
1037
|
y1: null,
|
|
1038
1038
|
y2: null,
|
|
@@ -1041,8 +1041,8 @@ var Xe = Ke({
|
|
|
1041
1041
|
zoomAndPan: null
|
|
1042
1042
|
},
|
|
1043
1043
|
space: "svg",
|
|
1044
|
-
transform:
|
|
1045
|
-
}),
|
|
1044
|
+
transform: qe
|
|
1045
|
+
}), Ze = Ge({
|
|
1046
1046
|
properties: {
|
|
1047
1047
|
xLinkActuate: null,
|
|
1048
1048
|
xLinkArcRole: null,
|
|
@@ -1056,15 +1056,15 @@ var Xe = Ke({
|
|
|
1056
1056
|
transform(e, t) {
|
|
1057
1057
|
return "xlink:" + t.slice(5).toLowerCase();
|
|
1058
1058
|
}
|
|
1059
|
-
}),
|
|
1059
|
+
}), Qe = Ge({
|
|
1060
1060
|
attributes: { xmlnsxlink: "xmlns:xlink" },
|
|
1061
1061
|
properties: {
|
|
1062
1062
|
xmlnsXLink: null,
|
|
1063
1063
|
xmlns: null
|
|
1064
1064
|
},
|
|
1065
1065
|
space: "xmlns",
|
|
1066
|
-
transform:
|
|
1067
|
-
}),
|
|
1066
|
+
transform: Je
|
|
1067
|
+
}), $e = Ge({
|
|
1068
1068
|
properties: {
|
|
1069
1069
|
xmlBase: null,
|
|
1070
1070
|
xmlLang: null,
|
|
@@ -1074,7 +1074,7 @@ var Xe = Ke({
|
|
|
1074
1074
|
transform(e, t) {
|
|
1075
1075
|
return "xml:" + t.slice(3).toLowerCase();
|
|
1076
1076
|
}
|
|
1077
|
-
}),
|
|
1077
|
+
}), et = {
|
|
1078
1078
|
classId: "classID",
|
|
1079
1079
|
dataType: "datatype",
|
|
1080
1080
|
itemId: "itemID",
|
|
@@ -1092,51 +1092,51 @@ var Xe = Ke({
|
|
|
1092
1092
|
xLinkTitle: "xlinkTitle",
|
|
1093
1093
|
xLinkType: "xlinkType",
|
|
1094
1094
|
xmlnsXLink: "xmlnsXlink"
|
|
1095
|
-
},
|
|
1096
|
-
function
|
|
1097
|
-
let n =
|
|
1095
|
+
}, tt = /[A-Z]/g, nt = /-[a-z]/g, rt = /^data[-\w.:]+$/i;
|
|
1096
|
+
function it(e, t) {
|
|
1097
|
+
let n = Ie(t), r = t, i = F;
|
|
1098
1098
|
if (n in e.normal) return e.property[e.normal[n]];
|
|
1099
|
-
if (n.length > 4 && n.slice(0, 4) === "data" &&
|
|
1099
|
+
if (n.length > 4 && n.slice(0, 4) === "data" && rt.test(t)) {
|
|
1100
1100
|
if (t.charAt(4) === "-") {
|
|
1101
|
-
let e = t.slice(5).replace(
|
|
1101
|
+
let e = t.slice(5).replace(nt, ot);
|
|
1102
1102
|
r = "data" + e.charAt(0).toUpperCase() + e.slice(1);
|
|
1103
1103
|
} else {
|
|
1104
1104
|
let e = t.slice(4);
|
|
1105
|
-
if (!
|
|
1106
|
-
let n = e.replace(
|
|
1105
|
+
if (!nt.test(e)) {
|
|
1106
|
+
let n = e.replace(tt, at);
|
|
1107
1107
|
n.charAt(0) !== "-" && (n = "-" + n), t = "data" + n;
|
|
1108
1108
|
}
|
|
1109
1109
|
}
|
|
1110
|
-
i =
|
|
1110
|
+
i = Ue;
|
|
1111
1111
|
}
|
|
1112
1112
|
return new i(r, t);
|
|
1113
1113
|
}
|
|
1114
|
-
function
|
|
1114
|
+
function at(e) {
|
|
1115
1115
|
return "-" + e.toLowerCase();
|
|
1116
1116
|
}
|
|
1117
|
-
function
|
|
1117
|
+
function ot(e) {
|
|
1118
1118
|
return e.charAt(1).toUpperCase();
|
|
1119
1119
|
}
|
|
1120
1120
|
// ../../node_modules/.pnpm/property-information@7.2.0/node_modules/property-information/index.js
|
|
1121
|
-
var
|
|
1122
|
-
|
|
1123
|
-
|
|
1121
|
+
var st = Fe([
|
|
1122
|
+
Ke,
|
|
1123
|
+
Ye,
|
|
1124
|
+
Ze,
|
|
1124
1125
|
Qe,
|
|
1125
|
-
$e
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1126
|
+
$e
|
|
1127
|
+
], "html"), ct = Fe([
|
|
1128
|
+
Ke,
|
|
1129
|
+
Xe,
|
|
1129
1130
|
Ze,
|
|
1130
1131
|
Qe,
|
|
1131
|
-
$e
|
|
1132
|
-
et
|
|
1132
|
+
$e
|
|
1133
1133
|
], "svg");
|
|
1134
1134
|
// ../../node_modules/.pnpm/space-separated-tokens@2.0.2/node_modules/space-separated-tokens/index.js
|
|
1135
|
-
function
|
|
1135
|
+
function lt(e) {
|
|
1136
1136
|
return e.join(" ").trim();
|
|
1137
1137
|
}
|
|
1138
1138
|
// ../../node_modules/.pnpm/inline-style-parser@0.2.7/node_modules/inline-style-parser/cjs/index.js
|
|
1139
|
-
var
|
|
1139
|
+
var ut = /* @__PURE__ */ Se(((e, t) => {
|
|
1140
1140
|
var n = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, r = /\n/g, i = /^\s*/, a = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, o = /^:\s*/, s = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, c = /^[;\s]*/, l = /^\s+|\s+$/g;
|
|
1141
1141
|
function u(e, t) {
|
|
1142
1142
|
if (typeof e != "string") throw TypeError("First argument must be a string");
|
|
@@ -1220,12 +1220,12 @@ var dt = /* @__PURE__ */ Ce(((e, t) => {
|
|
|
1220
1220
|
return e ? e.replace(l, "") : "";
|
|
1221
1221
|
}
|
|
1222
1222
|
t.exports = u;
|
|
1223
|
-
})),
|
|
1223
|
+
})), dt = /* @__PURE__ */ Se(((e, t, n) => {
|
|
1224
1224
|
var r = n && n.__importDefault || function(e) {
|
|
1225
1225
|
return e && e.__esModule ? e : { default: e };
|
|
1226
1226
|
};
|
|
1227
1227
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = a;
|
|
1228
|
-
var i = r(
|
|
1228
|
+
var i = r(ut());
|
|
1229
1229
|
function a(e, t) {
|
|
1230
1230
|
let n = null;
|
|
1231
1231
|
if (!e || typeof e != "string") return n;
|
|
@@ -1236,7 +1236,7 @@ var dt = /* @__PURE__ */ Ce(((e, t) => {
|
|
|
1236
1236
|
a ? t(r, i, e) : i && (n ||= {}, n[r] = i);
|
|
1237
1237
|
}), n;
|
|
1238
1238
|
}
|
|
1239
|
-
})),
|
|
1239
|
+
})), ft = /* @__PURE__ */ Se(((e) => {
|
|
1240
1240
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.camelCase = void 0;
|
|
1241
1241
|
var t = /^--[a-zA-Z0-9_-]+$/, n = /-([a-z])/g, r = /^[^-]+$/, i = /^-(webkit|moz|ms|o|khtml)-/, a = /^-(ms)-/, o = function(e) {
|
|
1242
1242
|
return !e || r.test(e) || t.test(e);
|
|
@@ -1248,10 +1248,10 @@ var dt = /* @__PURE__ */ Ce(((e, t) => {
|
|
|
1248
1248
|
e.camelCase = function(e, t) {
|
|
1249
1249
|
return t === void 0 && (t = {}), o(e) ? e : (e = e.toLowerCase(), e = t.reactCompat ? e.replace(a, c) : e.replace(i, c), e.replace(n, s));
|
|
1250
1250
|
};
|
|
1251
|
-
})),
|
|
1251
|
+
})), pt = /* @__PURE__ */ Se(((e, t, n) => {
|
|
1252
1252
|
var r = (n && n.__importDefault || function(e) {
|
|
1253
1253
|
return e && e.__esModule ? e : { default: e };
|
|
1254
|
-
})(
|
|
1254
|
+
})(dt()), i = ft();
|
|
1255
1255
|
function a(e, t) {
|
|
1256
1256
|
var n = {};
|
|
1257
1257
|
return !e || typeof e != "string" || (0, r.default)(e, function(e, r) {
|
|
@@ -1259,8 +1259,8 @@ var dt = /* @__PURE__ */ Ce(((e, t) => {
|
|
|
1259
1259
|
}), n;
|
|
1260
1260
|
}
|
|
1261
1261
|
a.default = a, t.exports = a;
|
|
1262
|
-
})),
|
|
1263
|
-
function
|
|
1262
|
+
})), mt = gt("end"), ht = gt("start");
|
|
1263
|
+
function gt(e) {
|
|
1264
1264
|
return t;
|
|
1265
1265
|
function t(t) {
|
|
1266
1266
|
let n = t && t.position && t.position[e] || {};
|
|
@@ -1271,28 +1271,28 @@ function _t(e) {
|
|
|
1271
1271
|
};
|
|
1272
1272
|
}
|
|
1273
1273
|
}
|
|
1274
|
-
function
|
|
1275
|
-
let t =
|
|
1274
|
+
function _t(e) {
|
|
1275
|
+
let t = ht(e), n = mt(e);
|
|
1276
1276
|
if (t && n) return {
|
|
1277
1277
|
start: t,
|
|
1278
1278
|
end: n
|
|
1279
1279
|
};
|
|
1280
1280
|
}
|
|
1281
1281
|
// ../../node_modules/.pnpm/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position/lib/index.js
|
|
1282
|
+
function vt(e) {
|
|
1283
|
+
return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? bt(e.position) : "start" in e || "end" in e ? bt(e) : "line" in e || "column" in e ? yt(e) : "";
|
|
1284
|
+
}
|
|
1282
1285
|
function yt(e) {
|
|
1283
|
-
return
|
|
1286
|
+
return xt(e && e.line) + ":" + xt(e && e.column);
|
|
1284
1287
|
}
|
|
1285
1288
|
function bt(e) {
|
|
1286
|
-
return
|
|
1289
|
+
return yt(e && e.start) + "-" + yt(e && e.end);
|
|
1287
1290
|
}
|
|
1288
1291
|
function xt(e) {
|
|
1289
|
-
return bt(e && e.start) + "-" + bt(e && e.end);
|
|
1290
|
-
}
|
|
1291
|
-
function St(e) {
|
|
1292
1292
|
return e && typeof e == "number" ? e : 1;
|
|
1293
1293
|
}
|
|
1294
1294
|
// ../../node_modules/.pnpm/vfile-message@4.0.3/node_modules/vfile-message/lib/index.js
|
|
1295
|
-
var
|
|
1295
|
+
var V = class extends Error {
|
|
1296
1296
|
constructor(e, t, n) {
|
|
1297
1297
|
super(), typeof t == "string" && (n = t, t = void 0);
|
|
1298
1298
|
let r = "", i = {}, a = !1;
|
|
@@ -1308,28 +1308,28 @@ var z = class extends Error {
|
|
|
1308
1308
|
e && (i.place = e.position);
|
|
1309
1309
|
}
|
|
1310
1310
|
let o = i.place && "start" in i.place ? i.place.start : i.place;
|
|
1311
|
-
this.ancestors = i.ancestors || void 0, this.cause = i.cause || void 0, this.column = o ? o.column : void 0, this.fatal = void 0, this.file = "", this.message = r, this.line = o ? o.line : void 0, this.name =
|
|
1311
|
+
this.ancestors = i.ancestors || void 0, this.cause = i.cause || void 0, this.column = o ? o.column : void 0, this.fatal = void 0, this.file = "", this.message = r, this.line = o ? o.line : void 0, this.name = vt(i.place) || "1:1", this.place = i.place || void 0, this.reason = this.message, this.ruleId = i.ruleId || void 0, this.source = i.source || void 0, this.stack = a && i.cause && typeof i.cause.stack == "string" ? i.cause.stack : "", this.actual = void 0, this.expected = void 0, this.note = void 0, this.url = void 0;
|
|
1312
1312
|
}
|
|
1313
1313
|
};
|
|
1314
|
-
|
|
1314
|
+
V.prototype.file = "", V.prototype.name = "", V.prototype.reason = "", V.prototype.message = "", V.prototype.stack = "", V.prototype.column = void 0, V.prototype.line = void 0, V.prototype.ancestors = void 0, V.prototype.cause = void 0, V.prototype.fatal = void 0, V.prototype.place = void 0, V.prototype.ruleId = void 0, V.prototype.source = void 0;
|
|
1315
1315
|
// ../../node_modules/.pnpm/hast-util-to-jsx-runtime@2.3.6/node_modules/hast-util-to-jsx-runtime/lib/index.js
|
|
1316
|
-
var
|
|
1316
|
+
var St = /* @__PURE__ */ Te(pt(), 1), Ct = {}.hasOwnProperty, wt = /* @__PURE__ */ new Map(), Tt = /[A-Z]/g, Et = /* @__PURE__ */ new Set([
|
|
1317
1317
|
"table",
|
|
1318
1318
|
"tbody",
|
|
1319
1319
|
"thead",
|
|
1320
1320
|
"tfoot",
|
|
1321
1321
|
"tr"
|
|
1322
|
-
]),
|
|
1323
|
-
function
|
|
1322
|
+
]), Dt = /* @__PURE__ */ new Set(["td", "th"]), Ot = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
|
|
1323
|
+
function kt(e, t) {
|
|
1324
1324
|
if (!t || t.Fragment === void 0) throw TypeError("Expected `Fragment` in options");
|
|
1325
1325
|
let n = t.filePath || void 0, r;
|
|
1326
1326
|
if (t.development) {
|
|
1327
1327
|
if (typeof t.jsxDEV != "function") throw TypeError("Expected `jsxDEV` in options when `development: true`");
|
|
1328
|
-
r =
|
|
1328
|
+
r = Bt(n, t.jsxDEV);
|
|
1329
1329
|
} else {
|
|
1330
1330
|
if (typeof t.jsx != "function") throw TypeError("Expected `jsx` in production options");
|
|
1331
1331
|
if (typeof t.jsxs != "function") throw TypeError("Expected `jsxs` in production options");
|
|
1332
|
-
r =
|
|
1332
|
+
r = zt(n, t.jsx, t.jsxs);
|
|
1333
1333
|
}
|
|
1334
1334
|
let i = {
|
|
1335
1335
|
Fragment: t.Fragment,
|
|
@@ -1342,72 +1342,72 @@ function At(e, t) {
|
|
|
1342
1342
|
ignoreInvalidStyle: t.ignoreInvalidStyle || !1,
|
|
1343
1343
|
passKeys: t.passKeys !== !1,
|
|
1344
1344
|
passNode: t.passNode || !1,
|
|
1345
|
-
schema: t.space === "svg" ?
|
|
1345
|
+
schema: t.space === "svg" ? ct : st,
|
|
1346
1346
|
stylePropertyNameCase: t.stylePropertyNameCase || "dom",
|
|
1347
1347
|
tableCellAlignToStyle: t.tableCellAlignToStyle !== !1
|
|
1348
|
-
}, a =
|
|
1348
|
+
}, a = At(i, e, void 0);
|
|
1349
1349
|
return a && typeof a != "string" ? a : i.create(e, i.Fragment, { children: a || void 0 }, void 0);
|
|
1350
1350
|
}
|
|
1351
|
+
function At(e, t, n) {
|
|
1352
|
+
if (t.type === "element") return jt(e, t, n);
|
|
1353
|
+
if (t.type === "mdxFlowExpression" || t.type === "mdxTextExpression") return Mt(e, t);
|
|
1354
|
+
if (t.type === "mdxJsxFlowElement" || t.type === "mdxJsxTextElement") return Pt(e, t, n);
|
|
1355
|
+
if (t.type === "mdxjsEsm") return Nt(e, t);
|
|
1356
|
+
if (t.type === "root") return Ft(e, t, n);
|
|
1357
|
+
if (t.type === "text") return It(e, t);
|
|
1358
|
+
}
|
|
1351
1359
|
function jt(e, t, n) {
|
|
1352
|
-
if (t.type === "element") return Mt(e, t, n);
|
|
1353
|
-
if (t.type === "mdxFlowExpression" || t.type === "mdxTextExpression") return Nt(e, t);
|
|
1354
|
-
if (t.type === "mdxJsxFlowElement" || t.type === "mdxJsxTextElement") return Ft(e, t, n);
|
|
1355
|
-
if (t.type === "mdxjsEsm") return Pt(e, t);
|
|
1356
|
-
if (t.type === "root") return It(e, t, n);
|
|
1357
|
-
if (t.type === "text") return Lt(e, t);
|
|
1358
|
-
}
|
|
1359
|
-
function Mt(e, t, n) {
|
|
1360
1360
|
let r = e.schema, i = r;
|
|
1361
|
-
t.tagName.toLowerCase() === "svg" && r.space === "html" && (i =
|
|
1362
|
-
let a =
|
|
1363
|
-
return
|
|
1364
|
-
return typeof e != "string" || !
|
|
1365
|
-
})),
|
|
1361
|
+
t.tagName.toLowerCase() === "svg" && r.space === "html" && (i = ct, e.schema = i), e.ancestors.push(t);
|
|
1362
|
+
let a = Kt(e, t.tagName, !1), o = Vt(e, t), s = Ut(e, t);
|
|
1363
|
+
return Et.has(t.tagName) && (s = s.filter(function(e) {
|
|
1364
|
+
return typeof e != "string" || !Me(e);
|
|
1365
|
+
})), Lt(e, o, a, t), Rt(o, s), e.ancestors.pop(), e.schema = r, e.create(t, a, o, n);
|
|
1366
1366
|
}
|
|
1367
|
-
function
|
|
1367
|
+
function Mt(e, t) {
|
|
1368
1368
|
if (t.data && t.data.estree && e.evaluater) {
|
|
1369
1369
|
let n = t.data.estree.body[0];
|
|
1370
1370
|
return n.type, e.evaluater.evaluateExpression(n.expression);
|
|
1371
1371
|
}
|
|
1372
|
-
|
|
1372
|
+
qt(e, t.position);
|
|
1373
1373
|
}
|
|
1374
|
-
function
|
|
1374
|
+
function Nt(e, t) {
|
|
1375
1375
|
if (t.data && t.data.estree && e.evaluater) return e.evaluater.evaluateProgram(t.data.estree);
|
|
1376
|
-
|
|
1376
|
+
qt(e, t.position);
|
|
1377
1377
|
}
|
|
1378
|
-
function
|
|
1378
|
+
function Pt(e, t, n) {
|
|
1379
1379
|
let r = e.schema, i = r;
|
|
1380
|
-
t.name === "svg" && r.space === "html" && (i =
|
|
1381
|
-
let a = t.name === null ? e.Fragment :
|
|
1382
|
-
return
|
|
1380
|
+
t.name === "svg" && r.space === "html" && (i = ct, e.schema = i), e.ancestors.push(t);
|
|
1381
|
+
let a = t.name === null ? e.Fragment : Kt(e, t.name, !0), o = Ht(e, t), s = Ut(e, t);
|
|
1382
|
+
return Lt(e, o, a, t), Rt(o, s), e.ancestors.pop(), e.schema = r, e.create(t, a, o, n);
|
|
1383
1383
|
}
|
|
1384
|
-
function
|
|
1384
|
+
function Ft(e, t, n) {
|
|
1385
1385
|
let r = {};
|
|
1386
|
-
return
|
|
1386
|
+
return Rt(r, Ut(e, t)), e.create(t, e.Fragment, r, n);
|
|
1387
1387
|
}
|
|
1388
|
-
function
|
|
1388
|
+
function It(e, t) {
|
|
1389
1389
|
return t.value;
|
|
1390
1390
|
}
|
|
1391
|
-
function
|
|
1391
|
+
function Lt(e, t, n, r) {
|
|
1392
1392
|
typeof n != "string" && n !== e.Fragment && e.passNode && (t.node = r);
|
|
1393
1393
|
}
|
|
1394
|
-
function
|
|
1394
|
+
function Rt(e, t) {
|
|
1395
1395
|
if (t.length > 0) {
|
|
1396
1396
|
let n = t.length > 1 ? t : t[0];
|
|
1397
1397
|
n && (e.children = n);
|
|
1398
1398
|
}
|
|
1399
1399
|
}
|
|
1400
|
-
function
|
|
1400
|
+
function zt(e, t, n) {
|
|
1401
1401
|
return r;
|
|
1402
1402
|
function r(e, r, i, a) {
|
|
1403
1403
|
let o = Array.isArray(i.children) ? n : t;
|
|
1404
1404
|
return a ? o(r, i, a) : o(r, i);
|
|
1405
1405
|
}
|
|
1406
1406
|
}
|
|
1407
|
-
function
|
|
1407
|
+
function Bt(e, t) {
|
|
1408
1408
|
return n;
|
|
1409
1409
|
function n(n, r, i, a) {
|
|
1410
|
-
let o = Array.isArray(i.children), s =
|
|
1410
|
+
let o = Array.isArray(i.children), s = ht(n);
|
|
1411
1411
|
return t(r, i, a, o, {
|
|
1412
1412
|
columnNumber: s ? s.column - 1 : void 0,
|
|
1413
1413
|
fileName: e,
|
|
@@ -1415,13 +1415,13 @@ function Vt(e, t) {
|
|
|
1415
1415
|
}, void 0);
|
|
1416
1416
|
}
|
|
1417
1417
|
}
|
|
1418
|
-
function
|
|
1418
|
+
function Vt(e, t) {
|
|
1419
1419
|
let n = {}, r, i;
|
|
1420
|
-
for (i in t.properties) if (i !== "children" &&
|
|
1421
|
-
let a =
|
|
1420
|
+
for (i in t.properties) if (i !== "children" && Ct.call(t.properties, i)) {
|
|
1421
|
+
let a = Wt(e, i, t.properties[i]);
|
|
1422
1422
|
if (a) {
|
|
1423
1423
|
let [i, o] = a;
|
|
1424
|
-
e.tableCellAlignToStyle && i === "align" && typeof o == "string" &&
|
|
1424
|
+
e.tableCellAlignToStyle && i === "align" && typeof o == "string" && Dt.has(t.tagName) ? r = o : n[i] = o;
|
|
1425
1425
|
}
|
|
1426
1426
|
}
|
|
1427
1427
|
if (r) {
|
|
@@ -1430,7 +1430,7 @@ function Ht(e, t) {
|
|
|
1430
1430
|
}
|
|
1431
1431
|
return n;
|
|
1432
1432
|
}
|
|
1433
|
-
function
|
|
1433
|
+
function Ht(e, t) {
|
|
1434
1434
|
let n = {};
|
|
1435
1435
|
for (let r of t.attributes) if (r.type === "mdxJsxExpressionAttribute") {
|
|
1436
1436
|
if (r.data && r.data.estree && e.evaluater) {
|
|
@@ -1440,21 +1440,21 @@ function Ut(e, t) {
|
|
|
1440
1440
|
i.type;
|
|
1441
1441
|
let a = i.properties[0];
|
|
1442
1442
|
a.type, Object.assign(n, e.evaluater.evaluateExpression(a.argument));
|
|
1443
|
-
} else
|
|
1443
|
+
} else qt(e, t.position);
|
|
1444
1444
|
} else {
|
|
1445
1445
|
let i = r.name, a;
|
|
1446
1446
|
if (r.value && typeof r.value == "object") {
|
|
1447
1447
|
if (r.value.data && r.value.data.estree && e.evaluater) {
|
|
1448
1448
|
let t = r.value.data.estree.body[0];
|
|
1449
1449
|
t.type, a = e.evaluater.evaluateExpression(t.expression);
|
|
1450
|
-
} else
|
|
1450
|
+
} else qt(e, t.position);
|
|
1451
1451
|
} else a = r.value === null || r.value;
|
|
1452
1452
|
n[i] = a;
|
|
1453
1453
|
}
|
|
1454
1454
|
return n;
|
|
1455
1455
|
}
|
|
1456
|
-
function
|
|
1457
|
-
let n = [], r = -1, i = e.passKeys ? /* @__PURE__ */ new Map() :
|
|
1456
|
+
function Ut(e, t) {
|
|
1457
|
+
let n = [], r = -1, i = e.passKeys ? /* @__PURE__ */ new Map() : wt;
|
|
1458
1458
|
for (; ++r < t.children.length;) {
|
|
1459
1459
|
let a = t.children[r], o;
|
|
1460
1460
|
if (e.passKeys) {
|
|
@@ -1464,36 +1464,36 @@ function Wt(e, t) {
|
|
|
1464
1464
|
o = e + "-" + t, i.set(e, t + 1);
|
|
1465
1465
|
}
|
|
1466
1466
|
}
|
|
1467
|
-
let s =
|
|
1467
|
+
let s = At(e, a, o);
|
|
1468
1468
|
s !== void 0 && n.push(s);
|
|
1469
1469
|
}
|
|
1470
1470
|
return n;
|
|
1471
1471
|
}
|
|
1472
|
-
function
|
|
1473
|
-
let r =
|
|
1472
|
+
function Wt(e, t, n) {
|
|
1473
|
+
let r = it(e.schema, t);
|
|
1474
1474
|
if (!(n == null || typeof n == "number" && Number.isNaN(n))) {
|
|
1475
|
-
if (Array.isArray(n) && (n = r.commaSeparated ?
|
|
1476
|
-
let t = typeof n == "object" ? n :
|
|
1477
|
-
return e.stylePropertyNameCase === "css" && (t =
|
|
1475
|
+
if (Array.isArray(n) && (n = r.commaSeparated ? Ee(n) : lt(n)), r.property === "style") {
|
|
1476
|
+
let t = typeof n == "object" ? n : Gt(e, String(n));
|
|
1477
|
+
return e.stylePropertyNameCase === "css" && (t = Jt(t)), ["style", t];
|
|
1478
1478
|
}
|
|
1479
|
-
return [e.elementAttributeNameCase === "react" && r.space ?
|
|
1479
|
+
return [e.elementAttributeNameCase === "react" && r.space ? et[r.property] || r.property : r.attribute, n];
|
|
1480
1480
|
}
|
|
1481
1481
|
}
|
|
1482
|
-
function
|
|
1482
|
+
function Gt(e, t) {
|
|
1483
1483
|
try {
|
|
1484
|
-
return (0,
|
|
1484
|
+
return (0, St.default)(t, { reactCompat: !0 });
|
|
1485
1485
|
} catch (t) {
|
|
1486
1486
|
if (e.ignoreInvalidStyle) return {};
|
|
1487
|
-
let n = t, r = new
|
|
1487
|
+
let n = t, r = new V("Cannot parse `style` attribute", {
|
|
1488
1488
|
ancestors: e.ancestors,
|
|
1489
1489
|
cause: n,
|
|
1490
1490
|
ruleId: "style",
|
|
1491
1491
|
source: "hast-util-to-jsx-runtime"
|
|
1492
1492
|
});
|
|
1493
|
-
throw r.file = e.filePath || void 0, r.url =
|
|
1493
|
+
throw r.file = e.filePath || void 0, r.url = Ot + "#cannot-parse-style-attribute", r;
|
|
1494
1494
|
}
|
|
1495
1495
|
}
|
|
1496
|
-
function
|
|
1496
|
+
function Kt(e, t, n) {
|
|
1497
1497
|
let r;
|
|
1498
1498
|
if (!n) r = {
|
|
1499
1499
|
type: "Literal",
|
|
@@ -1502,7 +1502,7 @@ function qt(e, t, n) {
|
|
|
1502
1502
|
else if (t.includes(".")) {
|
|
1503
1503
|
let e = t.split("."), n = -1, i;
|
|
1504
1504
|
for (; ++n < e.length;) {
|
|
1505
|
-
let t =
|
|
1505
|
+
let t = Ae(e[n]) ? {
|
|
1506
1506
|
type: "Identifier",
|
|
1507
1507
|
name: e[n]
|
|
1508
1508
|
} : {
|
|
@@ -1518,7 +1518,7 @@ function qt(e, t, n) {
|
|
|
1518
1518
|
} : t;
|
|
1519
1519
|
}
|
|
1520
1520
|
r = i;
|
|
1521
|
-
} else r =
|
|
1521
|
+
} else r = Ae(t) && !/^[a-z]/.test(t) ? {
|
|
1522
1522
|
type: "Identifier",
|
|
1523
1523
|
name: t
|
|
1524
1524
|
} : {
|
|
@@ -1527,34 +1527,34 @@ function qt(e, t, n) {
|
|
|
1527
1527
|
};
|
|
1528
1528
|
if (r.type === "Literal") {
|
|
1529
1529
|
let t = r.value;
|
|
1530
|
-
return
|
|
1530
|
+
return Ct.call(e.components, t) ? e.components[t] : t;
|
|
1531
1531
|
}
|
|
1532
1532
|
if (e.evaluater) return e.evaluater.evaluateExpression(r);
|
|
1533
|
-
|
|
1533
|
+
qt(e);
|
|
1534
1534
|
}
|
|
1535
|
-
function
|
|
1536
|
-
let n = new
|
|
1535
|
+
function qt(e, t) {
|
|
1536
|
+
let n = new V("Cannot handle MDX estrees without `createEvaluater`", {
|
|
1537
1537
|
ancestors: e.ancestors,
|
|
1538
1538
|
place: t,
|
|
1539
1539
|
ruleId: "mdx-estree",
|
|
1540
1540
|
source: "hast-util-to-jsx-runtime"
|
|
1541
1541
|
});
|
|
1542
|
-
throw n.file = e.filePath || void 0, n.url =
|
|
1542
|
+
throw n.file = e.filePath || void 0, n.url = Ot + "#cannot-handle-mdx-estrees-without-createevaluater", n;
|
|
1543
1543
|
}
|
|
1544
|
-
function
|
|
1544
|
+
function Jt(e) {
|
|
1545
1545
|
let t = {}, n;
|
|
1546
|
-
for (n in e)
|
|
1546
|
+
for (n in e) Ct.call(e, n) && (t[Yt(n)] = e[n]);
|
|
1547
1547
|
return t;
|
|
1548
1548
|
}
|
|
1549
|
-
function
|
|
1550
|
-
let t = e.replace(
|
|
1549
|
+
function Yt(e) {
|
|
1550
|
+
let t = e.replace(Tt, Xt);
|
|
1551
1551
|
return t.slice(0, 3) === "ms-" && (t = "-" + t), t;
|
|
1552
1552
|
}
|
|
1553
|
-
function
|
|
1553
|
+
function Xt(e) {
|
|
1554
1554
|
return "-" + e.toLowerCase();
|
|
1555
1555
|
}
|
|
1556
1556
|
// ../../node_modules/.pnpm/html-url-attributes@3.0.1/node_modules/html-url-attributes/lib/index.js
|
|
1557
|
-
var
|
|
1557
|
+
var Zt = {
|
|
1558
1558
|
action: ["form"],
|
|
1559
1559
|
cite: [
|
|
1560
1560
|
"blockquote",
|
|
@@ -1586,93 +1586,93 @@ var Qt = {
|
|
|
1586
1586
|
"track",
|
|
1587
1587
|
"video"
|
|
1588
1588
|
]
|
|
1589
|
-
},
|
|
1590
|
-
function
|
|
1591
|
-
let n = t ||
|
|
1592
|
-
return
|
|
1589
|
+
}, Qt = {};
|
|
1590
|
+
function $t(e, t) {
|
|
1591
|
+
let n = t || Qt;
|
|
1592
|
+
return en(e, typeof n.includeImageAlt != "boolean" || n.includeImageAlt, typeof n.includeHtml != "boolean" || n.includeHtml);
|
|
1593
1593
|
}
|
|
1594
|
-
function
|
|
1595
|
-
if (
|
|
1594
|
+
function en(e, t, n) {
|
|
1595
|
+
if (nn(e)) {
|
|
1596
1596
|
if ("value" in e) return e.type === "html" && !n ? "" : e.value;
|
|
1597
1597
|
if (t && "alt" in e && e.alt) return e.alt;
|
|
1598
|
-
if ("children" in e) return
|
|
1598
|
+
if ("children" in e) return tn(e.children, t, n);
|
|
1599
1599
|
}
|
|
1600
|
-
return Array.isArray(e) ?
|
|
1600
|
+
return Array.isArray(e) ? tn(e, t, n) : "";
|
|
1601
1601
|
}
|
|
1602
|
-
function
|
|
1602
|
+
function tn(e, t, n) {
|
|
1603
1603
|
let r = [], i = -1;
|
|
1604
|
-
for (; ++i < e.length;) r[i] =
|
|
1604
|
+
for (; ++i < e.length;) r[i] = en(e[i], t, n);
|
|
1605
1605
|
return r.join("");
|
|
1606
1606
|
}
|
|
1607
|
-
function
|
|
1607
|
+
function nn(e) {
|
|
1608
1608
|
return !!(e && typeof e == "object");
|
|
1609
1609
|
}
|
|
1610
1610
|
// ../../node_modules/.pnpm/decode-named-character-reference@1.3.0/node_modules/decode-named-character-reference/index.dom.js
|
|
1611
|
-
var
|
|
1612
|
-
function
|
|
1611
|
+
var rn = document.createElement("i");
|
|
1612
|
+
function an(e) {
|
|
1613
1613
|
let t = "&" + e + ";";
|
|
1614
|
-
|
|
1615
|
-
let n =
|
|
1614
|
+
rn.innerHTML = t;
|
|
1615
|
+
let n = rn.textContent;
|
|
1616
1616
|
return n.charCodeAt(n.length - 1) === 59 && e !== "semi" ? !1 : n !== t && n;
|
|
1617
1617
|
}
|
|
1618
1618
|
// ../../node_modules/.pnpm/micromark-util-chunked@2.0.1/node_modules/micromark-util-chunked/index.js
|
|
1619
|
-
function
|
|
1619
|
+
function H(e, t, n, r) {
|
|
1620
1620
|
let i = e.length, a = 0, o;
|
|
1621
1621
|
if (t = t < 0 ? -t > i ? 0 : i + t : t > i ? i : t, n = n > 0 ? n : 0, r.length < 1e4) o = Array.from(r), o.unshift(t, n), e.splice(...o);
|
|
1622
1622
|
else for (n && e.splice(t, n); a < r.length;) o = r.slice(a, a + 1e4), o.unshift(t, 0), e.splice(...o), a += 1e4, t += 1e4;
|
|
1623
1623
|
}
|
|
1624
|
-
function
|
|
1625
|
-
return e.length > 0 ? (
|
|
1624
|
+
function U(e, t) {
|
|
1625
|
+
return e.length > 0 ? (H(e, e.length, 0, t), e) : t;
|
|
1626
1626
|
}
|
|
1627
1627
|
// ../../node_modules/.pnpm/micromark-util-combine-extensions@2.0.1/node_modules/micromark-util-combine-extensions/index.js
|
|
1628
|
-
var
|
|
1629
|
-
function
|
|
1628
|
+
var on = {}.hasOwnProperty;
|
|
1629
|
+
function sn(e) {
|
|
1630
1630
|
let t = {}, n = -1;
|
|
1631
|
-
for (; ++n < e.length;)
|
|
1631
|
+
for (; ++n < e.length;) cn(t, e[n]);
|
|
1632
1632
|
return t;
|
|
1633
1633
|
}
|
|
1634
|
-
function
|
|
1634
|
+
function cn(e, t) {
|
|
1635
1635
|
let n;
|
|
1636
1636
|
for (n in t) {
|
|
1637
|
-
let r = (
|
|
1637
|
+
let r = (on.call(e, n) ? e[n] : void 0) || (e[n] = {}), i = t[n], a;
|
|
1638
1638
|
if (i) for (a in i) {
|
|
1639
|
-
|
|
1639
|
+
on.call(r, a) || (r[a] = []);
|
|
1640
1640
|
let e = i[a];
|
|
1641
|
-
|
|
1641
|
+
ln(r[a], Array.isArray(e) ? e : e ? [e] : []);
|
|
1642
1642
|
}
|
|
1643
1643
|
}
|
|
1644
1644
|
}
|
|
1645
|
-
function
|
|
1645
|
+
function ln(e, t) {
|
|
1646
1646
|
let n = -1, r = [];
|
|
1647
1647
|
for (; ++n < t.length;) (t[n].add === "after" ? e : r).push(t[n]);
|
|
1648
|
-
|
|
1648
|
+
H(e, 0, 0, r);
|
|
1649
1649
|
}
|
|
1650
1650
|
// ../../node_modules/.pnpm/micromark-util-decode-numeric-character-reference@2.0.2/node_modules/micromark-util-decode-numeric-character-reference/index.js
|
|
1651
|
-
function
|
|
1651
|
+
function un(e, t) {
|
|
1652
1652
|
let n = Number.parseInt(e, t);
|
|
1653
1653
|
return n < 9 || n === 11 || n > 13 && n < 32 || n > 126 && n < 160 || n > 55295 && n < 57344 || n > 64975 && n < 65008 || (n & 65535) == 65535 || (n & 65535) == 65534 || n > 1114111 ? "�" : String.fromCodePoint(n);
|
|
1654
1654
|
}
|
|
1655
1655
|
// ../../node_modules/.pnpm/micromark-util-normalize-identifier@2.0.1/node_modules/micromark-util-normalize-identifier/index.js
|
|
1656
|
-
function
|
|
1656
|
+
function W(e) {
|
|
1657
1657
|
return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
1658
1658
|
}
|
|
1659
1659
|
// ../../node_modules/.pnpm/micromark-util-character@2.1.1/node_modules/micromark-util-character/index.js
|
|
1660
|
-
var
|
|
1661
|
-
function
|
|
1660
|
+
var G = vn(/[A-Za-z]/), K = vn(/[\dA-Za-z]/), dn = vn(/[#-'*+\--9=?A-Z^-~]/);
|
|
1661
|
+
function fn(e) {
|
|
1662
1662
|
return e !== null && (e < 32 || e === 127);
|
|
1663
1663
|
}
|
|
1664
|
-
var
|
|
1665
|
-
function
|
|
1664
|
+
var pn = vn(/\d/), mn = vn(/[\dA-Fa-f]/), hn = vn(/[!-/:-@[-`{-~]/);
|
|
1665
|
+
function q(e) {
|
|
1666
1666
|
return e !== null && e < -2;
|
|
1667
1667
|
}
|
|
1668
|
-
function
|
|
1668
|
+
function J(e) {
|
|
1669
1669
|
return e !== null && (e < 0 || e === 32);
|
|
1670
1670
|
}
|
|
1671
|
-
function
|
|
1671
|
+
function Y(e) {
|
|
1672
1672
|
return e === -2 || e === -1 || e === 32;
|
|
1673
1673
|
}
|
|
1674
|
-
var
|
|
1675
|
-
function
|
|
1674
|
+
var gn = vn(/\p{P}|\p{S}/u), _n = vn(/\s/);
|
|
1675
|
+
function vn(e) {
|
|
1676
1676
|
return t;
|
|
1677
1677
|
function t(t) {
|
|
1678
1678
|
return t !== null && t > -1 && e.test(String.fromCharCode(t));
|
|
@@ -1683,7 +1683,7 @@ function yn(e) {
|
|
|
1683
1683
|
let t = [], n = -1, r = 0, i = 0;
|
|
1684
1684
|
for (; ++n < e.length;) {
|
|
1685
1685
|
let a = e.charCodeAt(n), o = "";
|
|
1686
|
-
if (a === 37 &&
|
|
1686
|
+
if (a === 37 && K(e.charCodeAt(n + 1)) && K(e.charCodeAt(n + 2))) i = 2;
|
|
1687
1687
|
else if (a < 128) /[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a)) || (o = String.fromCharCode(a));
|
|
1688
1688
|
else if (a > 55295 && a < 57344) {
|
|
1689
1689
|
let t = e.charCodeAt(n + 1);
|
|
@@ -1694,14 +1694,14 @@ function yn(e) {
|
|
|
1694
1694
|
return t.join("") + e.slice(r);
|
|
1695
1695
|
}
|
|
1696
1696
|
// ../../node_modules/.pnpm/micromark-factory-space@2.0.1/node_modules/micromark-factory-space/index.js
|
|
1697
|
-
function
|
|
1697
|
+
function X(e, t, n, r) {
|
|
1698
1698
|
let i = r ? r - 1 : Infinity, a = 0;
|
|
1699
1699
|
return o;
|
|
1700
1700
|
function o(r) {
|
|
1701
|
-
return
|
|
1701
|
+
return Y(r) ? (e.enter(n), s(r)) : t(r);
|
|
1702
1702
|
}
|
|
1703
1703
|
function s(r) {
|
|
1704
|
-
return
|
|
1704
|
+
return Y(r) && a++ < i ? (e.consume(r), s) : (e.exit(n), t(r));
|
|
1705
1705
|
}
|
|
1706
1706
|
}
|
|
1707
1707
|
// ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/content.js
|
|
@@ -1711,7 +1711,7 @@ function xn(e) {
|
|
|
1711
1711
|
return t;
|
|
1712
1712
|
function r(n) {
|
|
1713
1713
|
if (n === null) e.consume(n);
|
|
1714
|
-
else return e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"),
|
|
1714
|
+
else return e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"), X(e, t, "linePrefix");
|
|
1715
1715
|
}
|
|
1716
1716
|
function i(t) {
|
|
1717
1717
|
return e.enter("paragraph"), a(t);
|
|
@@ -1725,7 +1725,7 @@ function xn(e) {
|
|
|
1725
1725
|
}
|
|
1726
1726
|
function o(t) {
|
|
1727
1727
|
if (t === null) e.exit("chunkText"), e.exit("paragraph"), e.consume(t);
|
|
1728
|
-
else return
|
|
1728
|
+
else return q(t) ? (e.consume(t), e.exit("chunkText"), a) : (e.consume(t), o);
|
|
1729
1729
|
}
|
|
1730
1730
|
}
|
|
1731
1731
|
// ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/document.js
|
|
@@ -1751,7 +1751,7 @@ function wn(e) {
|
|
|
1751
1751
|
_(r);
|
|
1752
1752
|
let s = n;
|
|
1753
1753
|
for (; s < t.events.length;) t.events[s][1].end = { ...o }, s++;
|
|
1754
|
-
return
|
|
1754
|
+
return H(t.events, a + 1, 0, t.events.slice(n)), t.events.length = s, l(e);
|
|
1755
1755
|
}
|
|
1756
1756
|
return s(e);
|
|
1757
1757
|
}
|
|
@@ -1785,7 +1785,7 @@ function wn(e) {
|
|
|
1785
1785
|
}
|
|
1786
1786
|
function h(n) {
|
|
1787
1787
|
if (n === null) g(e.exit("chunkFlow"), !0), _(0), e.consume(n);
|
|
1788
|
-
else return
|
|
1788
|
+
else return q(n) ? (e.consume(n), g(e.exit("chunkFlow")), r = 0, t.interrupt = void 0, s) : (e.consume(n), h);
|
|
1789
1789
|
}
|
|
1790
1790
|
function g(e, n) {
|
|
1791
1791
|
let s = t.sliceStream(e);
|
|
@@ -1801,7 +1801,7 @@ function wn(e) {
|
|
|
1801
1801
|
s = !0;
|
|
1802
1802
|
}
|
|
1803
1803
|
for (_(r), e = n; e < t.events.length;) t.events[e][1].end = { ...c }, e++;
|
|
1804
|
-
|
|
1804
|
+
H(t.events, a + 1, 0, t.events.slice(n)), t.events.length = e;
|
|
1805
1805
|
}
|
|
1806
1806
|
}
|
|
1807
1807
|
function _(r) {
|
|
@@ -1817,12 +1817,12 @@ function wn(e) {
|
|
|
1817
1817
|
}
|
|
1818
1818
|
}
|
|
1819
1819
|
function Tn(e, t, n) {
|
|
1820
|
-
return
|
|
1820
|
+
return X(e, e.attempt(this.parser.constructs.document, t, n), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
1821
1821
|
}
|
|
1822
1822
|
// ../../node_modules/.pnpm/micromark-util-classify-character@2.0.1/node_modules/micromark-util-classify-character/index.js
|
|
1823
1823
|
function En(e) {
|
|
1824
|
-
if (e === null ||
|
|
1825
|
-
if (
|
|
1824
|
+
if (e === null || J(e) || _n(e)) return 1;
|
|
1825
|
+
if (gn(e)) return 2;
|
|
1826
1826
|
}
|
|
1827
1827
|
// ../../node_modules/.pnpm/micromark-util-resolve-all@2.0.1/node_modules/micromark-util-resolve-all/index.js
|
|
1828
1828
|
function Dn(e, t, n) {
|
|
@@ -1862,7 +1862,7 @@ function kn(e, t) {
|
|
|
1862
1862
|
type: c > 1 ? "strong" : "emphasis",
|
|
1863
1863
|
start: { ...o.start },
|
|
1864
1864
|
end: { ...s.end }
|
|
1865
|
-
}, e[r][1].end = { ...o.start }, e[n][1].start = { ...s.end }, l = [], e[r][1].end.offset - e[r][1].start.offset && (l =
|
|
1865
|
+
}, e[r][1].end = { ...o.start }, e[n][1].start = { ...s.end }, l = [], e[r][1].end.offset - e[r][1].start.offset && (l = U(l, [[
|
|
1866
1866
|
"enter",
|
|
1867
1867
|
e[r][1],
|
|
1868
1868
|
t
|
|
@@ -1870,7 +1870,7 @@ function kn(e, t) {
|
|
|
1870
1870
|
"exit",
|
|
1871
1871
|
e[r][1],
|
|
1872
1872
|
t
|
|
1873
|
-
]])), l =
|
|
1873
|
+
]])), l = U(l, [
|
|
1874
1874
|
[
|
|
1875
1875
|
"enter",
|
|
1876
1876
|
i,
|
|
@@ -1891,7 +1891,7 @@ function kn(e, t) {
|
|
|
1891
1891
|
a,
|
|
1892
1892
|
t
|
|
1893
1893
|
]
|
|
1894
|
-
]), l =
|
|
1894
|
+
]), l = U(l, Dn(t.parser.constructs.insideSpan.null, e.slice(r + 1, n), t)), l = U(l, [
|
|
1895
1895
|
[
|
|
1896
1896
|
"exit",
|
|
1897
1897
|
a,
|
|
@@ -1912,7 +1912,7 @@ function kn(e, t) {
|
|
|
1912
1912
|
i,
|
|
1913
1913
|
t
|
|
1914
1914
|
]
|
|
1915
|
-
]), e[n][1].end.offset - e[n][1].start.offset ? (u = 2, l =
|
|
1915
|
+
]), e[n][1].end.offset - e[n][1].start.offset ? (u = 2, l = U(l, [[
|
|
1916
1916
|
"enter",
|
|
1917
1917
|
e[n][1],
|
|
1918
1918
|
t
|
|
@@ -1920,7 +1920,7 @@ function kn(e, t) {
|
|
|
1920
1920
|
"exit",
|
|
1921
1921
|
e[n][1],
|
|
1922
1922
|
t
|
|
1923
|
-
]])) : u = 0,
|
|
1923
|
+
]])) : u = 0, H(e, r - 1, n - r + 3, l), n = r + l.length - u - 2;
|
|
1924
1924
|
break;
|
|
1925
1925
|
}
|
|
1926
1926
|
}
|
|
@@ -1954,28 +1954,28 @@ function Nn(e, t, n) {
|
|
|
1954
1954
|
return e.enter("autolink"), e.enter("autolinkMarker"), e.consume(t), e.exit("autolinkMarker"), e.enter("autolinkProtocol"), a;
|
|
1955
1955
|
}
|
|
1956
1956
|
function a(t) {
|
|
1957
|
-
return
|
|
1957
|
+
return G(t) ? (e.consume(t), o) : t === 64 ? n(t) : l(t);
|
|
1958
1958
|
}
|
|
1959
1959
|
function o(e) {
|
|
1960
|
-
return e === 43 || e === 45 || e === 46 ||
|
|
1960
|
+
return e === 43 || e === 45 || e === 46 || K(e) ? (r = 1, s(e)) : l(e);
|
|
1961
1961
|
}
|
|
1962
1962
|
function s(t) {
|
|
1963
|
-
return t === 58 ? (e.consume(t), r = 0, c) : (t === 43 || t === 45 || t === 46 ||
|
|
1963
|
+
return t === 58 ? (e.consume(t), r = 0, c) : (t === 43 || t === 45 || t === 46 || K(t)) && r++ < 32 ? (e.consume(t), s) : (r = 0, l(t));
|
|
1964
1964
|
}
|
|
1965
1965
|
function c(r) {
|
|
1966
|
-
return r === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(r), e.exit("autolinkMarker"), e.exit("autolink"), t) : r === null || r === 32 || r === 60 ||
|
|
1966
|
+
return r === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(r), e.exit("autolinkMarker"), e.exit("autolink"), t) : r === null || r === 32 || r === 60 || fn(r) ? n(r) : (e.consume(r), c);
|
|
1967
1967
|
}
|
|
1968
1968
|
function l(t) {
|
|
1969
|
-
return t === 64 ? (e.consume(t), u) :
|
|
1969
|
+
return t === 64 ? (e.consume(t), u) : dn(t) ? (e.consume(t), l) : n(t);
|
|
1970
1970
|
}
|
|
1971
1971
|
function u(e) {
|
|
1972
|
-
return
|
|
1972
|
+
return K(e) ? d(e) : n(e);
|
|
1973
1973
|
}
|
|
1974
1974
|
function d(n) {
|
|
1975
1975
|
return n === 46 ? (e.consume(n), r = 0, u) : n === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(n), e.exit("autolinkMarker"), e.exit("autolink"), t) : f(n);
|
|
1976
1976
|
}
|
|
1977
1977
|
function f(t) {
|
|
1978
|
-
if ((t === 45 ||
|
|
1978
|
+
if ((t === 45 || K(t)) && r++ < 63) {
|
|
1979
1979
|
let n = t === 45 ? f : d;
|
|
1980
1980
|
return e.consume(t), n;
|
|
1981
1981
|
}
|
|
@@ -1990,10 +1990,10 @@ var Pn = {
|
|
|
1990
1990
|
function Fn(e, t, n) {
|
|
1991
1991
|
return r;
|
|
1992
1992
|
function r(t) {
|
|
1993
|
-
return
|
|
1993
|
+
return Y(t) ? X(e, i, "linePrefix")(t) : i(t);
|
|
1994
1994
|
}
|
|
1995
1995
|
function i(e) {
|
|
1996
|
-
return e === null ||
|
|
1996
|
+
return e === null || q(e) ? t(e) : n(e);
|
|
1997
1997
|
}
|
|
1998
1998
|
}
|
|
1999
1999
|
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/block-quote.js
|
|
@@ -2014,14 +2014,14 @@ function Ln(e, t, n) {
|
|
|
2014
2014
|
return n(t);
|
|
2015
2015
|
}
|
|
2016
2016
|
function a(n) {
|
|
2017
|
-
return
|
|
2017
|
+
return Y(n) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(n), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), t) : (e.exit("blockQuotePrefix"), t(n));
|
|
2018
2018
|
}
|
|
2019
2019
|
}
|
|
2020
2020
|
function Rn(e, t, n) {
|
|
2021
2021
|
let r = this;
|
|
2022
2022
|
return i;
|
|
2023
2023
|
function i(t) {
|
|
2024
|
-
return
|
|
2024
|
+
return Y(t) ? X(e, a, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(t) : a(t);
|
|
2025
2025
|
}
|
|
2026
2026
|
function a(r) {
|
|
2027
2027
|
return e.attempt(In, t, n)(r);
|
|
@@ -2041,7 +2041,7 @@ function Vn(e, t, n) {
|
|
|
2041
2041
|
return e.enter("characterEscape"), e.enter("escapeMarker"), e.consume(t), e.exit("escapeMarker"), i;
|
|
2042
2042
|
}
|
|
2043
2043
|
function i(r) {
|
|
2044
|
-
return
|
|
2044
|
+
return hn(r) ? (e.enter("characterEscapeValue"), e.consume(r), e.exit("characterEscapeValue"), e.exit("characterEscape"), t) : n(r);
|
|
2045
2045
|
}
|
|
2046
2046
|
}
|
|
2047
2047
|
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/character-reference.js
|
|
@@ -2056,15 +2056,15 @@ function Un(e, t, n) {
|
|
|
2056
2056
|
return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(t), e.exit("characterReferenceMarker"), c;
|
|
2057
2057
|
}
|
|
2058
2058
|
function c(t) {
|
|
2059
|
-
return t === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(t), e.exit("characterReferenceMarkerNumeric"), l) : (e.enter("characterReferenceValue"), a = 31, o =
|
|
2059
|
+
return t === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(t), e.exit("characterReferenceMarkerNumeric"), l) : (e.enter("characterReferenceValue"), a = 31, o = K, u(t));
|
|
2060
2060
|
}
|
|
2061
2061
|
function l(t) {
|
|
2062
|
-
return t === 88 || t === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(t), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), a = 6, o =
|
|
2062
|
+
return t === 88 || t === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(t), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), a = 6, o = mn, u) : (e.enter("characterReferenceValue"), a = 7, o = pn, u(t));
|
|
2063
2063
|
}
|
|
2064
2064
|
function u(s) {
|
|
2065
2065
|
if (s === 59 && i) {
|
|
2066
2066
|
let i = e.exit("characterReferenceValue");
|
|
2067
|
-
return o ===
|
|
2067
|
+
return o === K && !an(r.sliceSerialize(i)) ? n(s) : (e.enter("characterReferenceMarker"), e.consume(s), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
|
|
2068
2068
|
}
|
|
2069
2069
|
return o(s) && i++ < a ? (e.consume(s), u) : n(s);
|
|
2070
2070
|
}
|
|
@@ -2092,19 +2092,19 @@ function Kn(e, t, n) {
|
|
|
2092
2092
|
return a = n && n[1].type === "linePrefix" ? n[2].sliceSerialize(n[1], !0).length : 0, s = t, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), u(t);
|
|
2093
2093
|
}
|
|
2094
2094
|
function u(t) {
|
|
2095
|
-
return t === s ? (o++, e.consume(t), u) : o < 3 ? n(t) : (e.exit("codeFencedFenceSequence"),
|
|
2095
|
+
return t === s ? (o++, e.consume(t), u) : o < 3 ? n(t) : (e.exit("codeFencedFenceSequence"), Y(t) ? X(e, d, "whitespace")(t) : d(t));
|
|
2096
2096
|
}
|
|
2097
2097
|
function d(n) {
|
|
2098
|
-
return n === null ||
|
|
2098
|
+
return n === null || q(n) ? (e.exit("codeFencedFence"), r.interrupt ? t(n) : e.check(Wn, h, b)(n)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", { contentType: "string" }), f(n));
|
|
2099
2099
|
}
|
|
2100
2100
|
function f(t) {
|
|
2101
|
-
return t === null ||
|
|
2101
|
+
return t === null || q(t) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), d(t)) : Y(t) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), X(e, p, "whitespace")(t)) : t === 96 && t === s ? n(t) : (e.consume(t), f);
|
|
2102
2102
|
}
|
|
2103
2103
|
function p(t) {
|
|
2104
|
-
return t === null ||
|
|
2104
|
+
return t === null || q(t) ? d(t) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", { contentType: "string" }), m(t));
|
|
2105
2105
|
}
|
|
2106
2106
|
function m(t) {
|
|
2107
|
-
return t === null ||
|
|
2107
|
+
return t === null || q(t) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), d(t)) : t === 96 && t === s ? n(t) : (e.consume(t), m);
|
|
2108
2108
|
}
|
|
2109
2109
|
function h(t) {
|
|
2110
2110
|
return e.attempt(i, b, g)(t);
|
|
@@ -2113,13 +2113,13 @@ function Kn(e, t, n) {
|
|
|
2113
2113
|
return e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), _;
|
|
2114
2114
|
}
|
|
2115
2115
|
function _(t) {
|
|
2116
|
-
return a > 0 &&
|
|
2116
|
+
return a > 0 && Y(t) ? X(e, v, "linePrefix", a + 1)(t) : v(t);
|
|
2117
2117
|
}
|
|
2118
2118
|
function v(t) {
|
|
2119
|
-
return t === null ||
|
|
2119
|
+
return t === null || q(t) ? e.check(Wn, h, b)(t) : (e.enter("codeFlowValue"), y(t));
|
|
2120
2120
|
}
|
|
2121
2121
|
function y(t) {
|
|
2122
|
-
return t === null ||
|
|
2122
|
+
return t === null || q(t) ? (e.exit("codeFlowValue"), v(t)) : (e.consume(t), y);
|
|
2123
2123
|
}
|
|
2124
2124
|
function b(n) {
|
|
2125
2125
|
return e.exit("codeFenced"), t(n);
|
|
@@ -2131,16 +2131,16 @@ function Kn(e, t, n) {
|
|
|
2131
2131
|
return e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), c;
|
|
2132
2132
|
}
|
|
2133
2133
|
function c(t) {
|
|
2134
|
-
return e.enter("codeFencedFence"),
|
|
2134
|
+
return e.enter("codeFencedFence"), Y(t) ? X(e, l, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(t) : l(t);
|
|
2135
2135
|
}
|
|
2136
2136
|
function l(t) {
|
|
2137
2137
|
return t === s ? (e.enter("codeFencedFenceSequence"), u(t)) : n(t);
|
|
2138
2138
|
}
|
|
2139
2139
|
function u(t) {
|
|
2140
|
-
return t === s ? (i++, e.consume(t), u) : i >= o ? (e.exit("codeFencedFenceSequence"),
|
|
2140
|
+
return t === s ? (i++, e.consume(t), u) : i >= o ? (e.exit("codeFencedFenceSequence"), Y(t) ? X(e, d, "whitespace")(t) : d(t)) : n(t);
|
|
2141
2141
|
}
|
|
2142
2142
|
function d(r) {
|
|
2143
|
-
return r === null ||
|
|
2143
|
+
return r === null || q(r) ? (e.exit("codeFencedFence"), t(r)) : n(r);
|
|
2144
2144
|
}
|
|
2145
2145
|
}
|
|
2146
2146
|
}
|
|
@@ -2166,17 +2166,17 @@ function Xn(e, t, n) {
|
|
|
2166
2166
|
let r = this;
|
|
2167
2167
|
return i;
|
|
2168
2168
|
function i(t) {
|
|
2169
|
-
return e.enter("codeIndented"),
|
|
2169
|
+
return e.enter("codeIndented"), X(e, a, "linePrefix", 5)(t);
|
|
2170
2170
|
}
|
|
2171
2171
|
function a(e) {
|
|
2172
2172
|
let t = r.events[r.events.length - 1];
|
|
2173
2173
|
return t && t[1].type === "linePrefix" && t[2].sliceSerialize(t[1], !0).length >= 4 ? o(e) : n(e);
|
|
2174
2174
|
}
|
|
2175
2175
|
function o(t) {
|
|
2176
|
-
return t === null ? c(t) :
|
|
2176
|
+
return t === null ? c(t) : q(t) ? e.attempt(Yn, o, c)(t) : (e.enter("codeFlowValue"), s(t));
|
|
2177
2177
|
}
|
|
2178
2178
|
function s(t) {
|
|
2179
|
-
return t === null ||
|
|
2179
|
+
return t === null || q(t) ? (e.exit("codeFlowValue"), o(t)) : (e.consume(t), s);
|
|
2180
2180
|
}
|
|
2181
2181
|
function c(n) {
|
|
2182
2182
|
return e.exit("codeIndented"), t(n);
|
|
@@ -2186,11 +2186,11 @@ function Zn(e, t, n) {
|
|
|
2186
2186
|
let r = this;
|
|
2187
2187
|
return i;
|
|
2188
2188
|
function i(t) {
|
|
2189
|
-
return r.parser.lazy[r.now().line] ? n(t) :
|
|
2189
|
+
return r.parser.lazy[r.now().line] ? n(t) : q(t) ? (e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), i) : X(e, a, "linePrefix", 5)(t);
|
|
2190
2190
|
}
|
|
2191
2191
|
function a(e) {
|
|
2192
2192
|
let a = r.events[r.events.length - 1];
|
|
2193
|
-
return a && a[1].type === "linePrefix" && a[2].sliceSerialize(a[1], !0).length >= 4 ? t(e) :
|
|
2193
|
+
return a && a[1].type === "linePrefix" && a[2].sliceSerialize(a[1], !0).length >= 4 ? t(e) : q(e) ? i(e) : n(e);
|
|
2194
2194
|
}
|
|
2195
2195
|
}
|
|
2196
2196
|
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/code-text.js
|
|
@@ -2224,10 +2224,10 @@ function tr(e, t, n) {
|
|
|
2224
2224
|
return t === 96 ? (e.consume(t), r++, s) : (e.exit("codeTextSequence"), c(t));
|
|
2225
2225
|
}
|
|
2226
2226
|
function c(t) {
|
|
2227
|
-
return t === null ? n(t) : t === 32 ? (e.enter("space"), e.consume(t), e.exit("space"), c) : t === 96 ? (a = e.enter("codeTextSequence"), i = 0, u(t)) :
|
|
2227
|
+
return t === null ? n(t) : t === 32 ? (e.enter("space"), e.consume(t), e.exit("space"), c) : t === 96 ? (a = e.enter("codeTextSequence"), i = 0, u(t)) : q(t) ? (e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), c) : (e.enter("codeTextData"), l(t));
|
|
2228
2228
|
}
|
|
2229
2229
|
function l(t) {
|
|
2230
|
-
return t === null || t === 32 || t === 96 ||
|
|
2230
|
+
return t === null || t === 32 || t === 96 || q(t) ? (e.exit("codeTextData"), c(t)) : (e.consume(t), l);
|
|
2231
2231
|
}
|
|
2232
2232
|
function u(n) {
|
|
2233
2233
|
return n === 96 ? (e.consume(n), i++, u) : i === r ? (e.exit("codeTextSequence"), e.exit("codeText"), t(n)) : (a.type = "codeTextData", l(n));
|
|
@@ -2303,7 +2303,7 @@ function ir(e) {
|
|
|
2303
2303
|
i && (r[1].end = { ...u.get(i)[1].start }, s = u.slice(i, n), s.unshift(r), u.splice(i, n - i + 1, s));
|
|
2304
2304
|
}
|
|
2305
2305
|
}
|
|
2306
|
-
return
|
|
2306
|
+
return H(e, 0, Infinity, u.slice(0)), !l;
|
|
2307
2307
|
}
|
|
2308
2308
|
function ar(e, t) {
|
|
2309
2309
|
let n = e.get(t)[1], r = e.get(t)[2], i = t - 1, a = [], o = n._tokenizer;
|
|
@@ -2339,7 +2339,7 @@ function lr(e, t) {
|
|
|
2339
2339
|
return e.enter("content"), n = e.enter("chunkContent", { contentType: "content" }), i(t);
|
|
2340
2340
|
}
|
|
2341
2341
|
function i(t) {
|
|
2342
|
-
return t === null ? a(t) :
|
|
2342
|
+
return t === null ? a(t) : q(t) ? e.check(sr, o, a)(t) : (e.consume(t), i);
|
|
2343
2343
|
}
|
|
2344
2344
|
function a(n) {
|
|
2345
2345
|
return e.exit("chunkContent"), e.exit("content"), t(n);
|
|
@@ -2355,10 +2355,10 @@ function ur(e, t, n) {
|
|
|
2355
2355
|
let r = this;
|
|
2356
2356
|
return i;
|
|
2357
2357
|
function i(t) {
|
|
2358
|
-
return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"),
|
|
2358
|
+
return e.exit("chunkContent"), e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), X(e, a, "linePrefix");
|
|
2359
2359
|
}
|
|
2360
2360
|
function a(i) {
|
|
2361
|
-
if (i === null ||
|
|
2361
|
+
if (i === null || q(i)) return n(i);
|
|
2362
2362
|
let a = r.events[r.events.length - 1];
|
|
2363
2363
|
return !r.parser.constructs.disable.null.includes("codeIndented") && a && a[1].type === "linePrefix" && a[2].sliceSerialize(a[1], !0).length >= 4 ? t(i) : e.interrupt(r.parser.constructs.flow, n, t)(i);
|
|
2364
2364
|
}
|
|
@@ -2368,19 +2368,19 @@ function dr(e, t, n, r, i, a, o, s, c) {
|
|
|
2368
2368
|
let l = c || Infinity, u = 0;
|
|
2369
2369
|
return d;
|
|
2370
2370
|
function d(t) {
|
|
2371
|
-
return t === 60 ? (e.enter(r), e.enter(i), e.enter(a), e.consume(t), e.exit(a), f) : t === null || t === 32 || t === 41 ||
|
|
2371
|
+
return t === 60 ? (e.enter(r), e.enter(i), e.enter(a), e.consume(t), e.exit(a), f) : t === null || t === 32 || t === 41 || fn(t) ? n(t) : (e.enter(r), e.enter(o), e.enter(s), e.enter("chunkString", { contentType: "string" }), h(t));
|
|
2372
2372
|
}
|
|
2373
2373
|
function f(n) {
|
|
2374
2374
|
return n === 62 ? (e.enter(a), e.consume(n), e.exit(a), e.exit(i), e.exit(r), t) : (e.enter(s), e.enter("chunkString", { contentType: "string" }), p(n));
|
|
2375
2375
|
}
|
|
2376
2376
|
function p(t) {
|
|
2377
|
-
return t === 62 ? (e.exit("chunkString"), e.exit(s), f(t)) : t === null || t === 60 ||
|
|
2377
|
+
return t === 62 ? (e.exit("chunkString"), e.exit(s), f(t)) : t === null || t === 60 || q(t) ? n(t) : (e.consume(t), t === 92 ? m : p);
|
|
2378
2378
|
}
|
|
2379
2379
|
function m(t) {
|
|
2380
2380
|
return t === 60 || t === 62 || t === 92 ? (e.consume(t), p) : p(t);
|
|
2381
2381
|
}
|
|
2382
2382
|
function h(i) {
|
|
2383
|
-
return !u && (i === null || i === 41 ||
|
|
2383
|
+
return !u && (i === null || i === 41 || J(i)) ? (e.exit("chunkString"), e.exit(s), e.exit(o), e.exit(r), t(i)) : u < l && i === 40 ? (e.consume(i), u++, h) : i === 41 ? (e.consume(i), u--, h) : i === null || i === 32 || i === 40 || fn(i) ? n(i) : (e.consume(i), i === 92 ? g : h);
|
|
2384
2384
|
}
|
|
2385
2385
|
function g(t) {
|
|
2386
2386
|
return t === 40 || t === 41 || t === 92 ? (e.consume(t), h) : h(t);
|
|
@@ -2396,10 +2396,10 @@ function fr(e, t, n, r, i, a) {
|
|
|
2396
2396
|
function u(l) {
|
|
2397
2397
|
return s > 999 || l === null || l === 91 || l === 93 && !c ||
|
|
2398
2398
|
/* c8 ignore next 3 */
|
|
2399
|
-
l === 94 && !s && "_hiddenFootnoteSupport" in o.parser.constructs ? n(l) : l === 93 ? (e.exit(a), e.enter(i), e.consume(l), e.exit(i), e.exit(r), t) :
|
|
2399
|
+
l === 94 && !s && "_hiddenFootnoteSupport" in o.parser.constructs ? n(l) : l === 93 ? (e.exit(a), e.enter(i), e.consume(l), e.exit(i), e.exit(r), t) : q(l) ? (e.enter("lineEnding"), e.consume(l), e.exit("lineEnding"), u) : (e.enter("chunkString", { contentType: "string" }), d(l));
|
|
2400
2400
|
}
|
|
2401
2401
|
function d(t) {
|
|
2402
|
-
return t === null || t === 91 || t === 93 ||
|
|
2402
|
+
return t === null || t === 91 || t === 93 || q(t) || s++ > 999 ? (e.exit("chunkString"), u(t)) : (e.consume(t), c ||= !Y(t), t === 92 ? f : d);
|
|
2403
2403
|
}
|
|
2404
2404
|
function f(t) {
|
|
2405
2405
|
return t === 91 || t === 92 || t === 93 ? (e.consume(t), s++, d) : d(t);
|
|
@@ -2416,10 +2416,10 @@ function pr(e, t, n, r, i, a) {
|
|
|
2416
2416
|
return n === o ? (e.enter(i), e.consume(n), e.exit(i), e.exit(r), t) : (e.enter(a), l(n));
|
|
2417
2417
|
}
|
|
2418
2418
|
function l(t) {
|
|
2419
|
-
return t === o ? (e.exit(a), c(o)) : t === null ? n(t) :
|
|
2419
|
+
return t === o ? (e.exit(a), c(o)) : t === null ? n(t) : q(t) ? (e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), X(e, l, "linePrefix")) : (e.enter("chunkString", { contentType: "string" }), u(t));
|
|
2420
2420
|
}
|
|
2421
2421
|
function u(t) {
|
|
2422
|
-
return t === o || t === null ||
|
|
2422
|
+
return t === o || t === null || q(t) ? (e.exit("chunkString"), l(t)) : (e.consume(t), t === 92 ? d : u);
|
|
2423
2423
|
}
|
|
2424
2424
|
function d(t) {
|
|
2425
2425
|
return t === o || t === 92 ? (e.consume(t), u) : u(t);
|
|
@@ -2430,7 +2430,7 @@ function mr(e, t) {
|
|
|
2430
2430
|
let n;
|
|
2431
2431
|
return r;
|
|
2432
2432
|
function r(i) {
|
|
2433
|
-
return
|
|
2433
|
+
return q(i) ? (e.enter("lineEnding"), e.consume(i), e.exit("lineEnding"), n = !0, r) : Y(i) ? X(e, r, n ? "linePrefix" : "lineSuffix")(i) : t(i);
|
|
2434
2434
|
}
|
|
2435
2435
|
}
|
|
2436
2436
|
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/definition.js
|
|
@@ -2451,10 +2451,10 @@ function _r(e, t, n) {
|
|
|
2451
2451
|
return fr.call(r, e, s, n, "definitionLabel", "definitionLabelMarker", "definitionLabelString")(t);
|
|
2452
2452
|
}
|
|
2453
2453
|
function s(t) {
|
|
2454
|
-
return i =
|
|
2454
|
+
return i = W(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)), t === 58 ? (e.enter("definitionMarker"), e.consume(t), e.exit("definitionMarker"), c) : n(t);
|
|
2455
2455
|
}
|
|
2456
2456
|
function c(t) {
|
|
2457
|
-
return
|
|
2457
|
+
return J(t) ? mr(e, l)(t) : l(t);
|
|
2458
2458
|
}
|
|
2459
2459
|
function l(t) {
|
|
2460
2460
|
return dr(e, u, n, "definitionDestination", "definitionDestinationLiteral", "definitionDestinationLiteralMarker", "definitionDestinationRaw", "definitionDestinationString")(t);
|
|
@@ -2463,25 +2463,25 @@ function _r(e, t, n) {
|
|
|
2463
2463
|
return e.attempt(gr, d, d)(t);
|
|
2464
2464
|
}
|
|
2465
2465
|
function d(t) {
|
|
2466
|
-
return
|
|
2466
|
+
return Y(t) ? X(e, f, "whitespace")(t) : f(t);
|
|
2467
2467
|
}
|
|
2468
2468
|
function f(a) {
|
|
2469
|
-
return a === null ||
|
|
2469
|
+
return a === null || q(a) ? (e.exit("definition"), r.parser.defined.push(i), t(a)) : n(a);
|
|
2470
2470
|
}
|
|
2471
2471
|
}
|
|
2472
2472
|
function vr(e, t, n) {
|
|
2473
2473
|
return r;
|
|
2474
2474
|
function r(t) {
|
|
2475
|
-
return
|
|
2475
|
+
return J(t) ? mr(e, i)(t) : n(t);
|
|
2476
2476
|
}
|
|
2477
2477
|
function i(t) {
|
|
2478
2478
|
return pr(e, a, n, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(t);
|
|
2479
2479
|
}
|
|
2480
2480
|
function a(t) {
|
|
2481
|
-
return
|
|
2481
|
+
return Y(t) ? X(e, o, "whitespace")(t) : o(t);
|
|
2482
2482
|
}
|
|
2483
2483
|
function o(e) {
|
|
2484
|
-
return e === null ||
|
|
2484
|
+
return e === null || q(e) ? t(e) : n(e);
|
|
2485
2485
|
}
|
|
2486
2486
|
}
|
|
2487
2487
|
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/hard-break-escape.js
|
|
@@ -2495,7 +2495,7 @@ function br(e, t, n) {
|
|
|
2495
2495
|
return e.enter("hardBreakEscape"), e.consume(t), i;
|
|
2496
2496
|
}
|
|
2497
2497
|
function i(r) {
|
|
2498
|
-
return
|
|
2498
|
+
return q(r) ? (e.exit("hardBreakEscape"), t(r)) : n(r);
|
|
2499
2499
|
}
|
|
2500
2500
|
}
|
|
2501
2501
|
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/heading-atx.js
|
|
@@ -2515,7 +2515,7 @@ function Sr(e, t) {
|
|
|
2515
2515
|
start: e[r][1].start,
|
|
2516
2516
|
end: e[n][1].end,
|
|
2517
2517
|
contentType: "text"
|
|
2518
|
-
},
|
|
2518
|
+
}, H(e, r, n - r + 1, [
|
|
2519
2519
|
[
|
|
2520
2520
|
"enter",
|
|
2521
2521
|
i,
|
|
@@ -2548,16 +2548,16 @@ function Cr(e, t, n) {
|
|
|
2548
2548
|
return e.enter("atxHeadingSequence"), o(t);
|
|
2549
2549
|
}
|
|
2550
2550
|
function o(t) {
|
|
2551
|
-
return t === 35 && r++ < 6 ? (e.consume(t), o) : t === null ||
|
|
2551
|
+
return t === 35 && r++ < 6 ? (e.consume(t), o) : t === null || J(t) ? (e.exit("atxHeadingSequence"), s(t)) : n(t);
|
|
2552
2552
|
}
|
|
2553
2553
|
function s(n) {
|
|
2554
|
-
return n === 35 ? (e.enter("atxHeadingSequence"), c(n)) : n === null ||
|
|
2554
|
+
return n === 35 ? (e.enter("atxHeadingSequence"), c(n)) : n === null || q(n) ? (e.exit("atxHeading"), t(n)) : Y(n) ? X(e, s, "whitespace")(n) : (e.enter("atxHeadingText"), l(n));
|
|
2555
2555
|
}
|
|
2556
2556
|
function c(t) {
|
|
2557
2557
|
return t === 35 ? (e.consume(t), c) : (e.exit("atxHeadingSequence"), s(t));
|
|
2558
2558
|
}
|
|
2559
2559
|
function l(t) {
|
|
2560
|
-
return t === null || t === 35 ||
|
|
2560
|
+
return t === null || t === 35 || J(t) ? (e.exit("atxHeadingText"), s(t)) : (e.consume(t), l);
|
|
2561
2561
|
}
|
|
2562
2562
|
}
|
|
2563
2563
|
// ../../node_modules/.pnpm/micromark-util-html-tag-name@2.0.1/node_modules/micromark-util-html-tag-name/index.js
|
|
@@ -2593,10 +2593,10 @@ function Ar(e, t, n) {
|
|
|
2593
2593
|
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(t), d;
|
|
2594
2594
|
}
|
|
2595
2595
|
function d(s) {
|
|
2596
|
-
return s === 33 ? (e.consume(s), f) : s === 47 ? (e.consume(s), a = !0, h) : s === 63 ? (e.consume(s), i = 3, r.interrupt ? t : M) :
|
|
2596
|
+
return s === 33 ? (e.consume(s), f) : s === 47 ? (e.consume(s), a = !0, h) : s === 63 ? (e.consume(s), i = 3, r.interrupt ? t : M) : G(s) ? (e.consume(s), o = String.fromCharCode(s), g) : n(s);
|
|
2597
2597
|
}
|
|
2598
2598
|
function f(a) {
|
|
2599
|
-
return a === 45 ? (e.consume(a), i = 2, p) : a === 91 ? (e.consume(a), i = 5, s = 0, m) :
|
|
2599
|
+
return a === 45 ? (e.consume(a), i = 2, p) : a === 91 ? (e.consume(a), i = 5, s = 0, m) : G(a) ? (e.consume(a), i = 4, r.interrupt ? t : M) : n(a);
|
|
2600
2600
|
}
|
|
2601
2601
|
function p(i) {
|
|
2602
2602
|
return i === 45 ? (e.consume(i), r.interrupt ? t : M) : n(i);
|
|
@@ -2605,59 +2605,59 @@ function Ar(e, t, n) {
|
|
|
2605
2605
|
return i === "CDATA[".charCodeAt(s++) ? (e.consume(i), s === 6 ? r.interrupt ? t : O : m) : n(i);
|
|
2606
2606
|
}
|
|
2607
2607
|
function h(t) {
|
|
2608
|
-
return
|
|
2608
|
+
return G(t) ? (e.consume(t), o = String.fromCharCode(t), g) : n(t);
|
|
2609
2609
|
}
|
|
2610
2610
|
function g(s) {
|
|
2611
|
-
if (s === null || s === 47 || s === 62 ||
|
|
2611
|
+
if (s === null || s === 47 || s === 62 || J(s)) {
|
|
2612
2612
|
let c = s === 47, l = o.toLowerCase();
|
|
2613
2613
|
return !c && !a && Tr.includes(l) ? (i = 1, r.interrupt ? t(s) : O(s)) : wr.includes(o.toLowerCase()) ? (i = 6, c ? (e.consume(s), _) : r.interrupt ? t(s) : O(s)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(s) : a ? v(s) : y(s));
|
|
2614
2614
|
}
|
|
2615
|
-
return s === 45 ||
|
|
2615
|
+
return s === 45 || K(s) ? (e.consume(s), o += String.fromCharCode(s), g) : n(s);
|
|
2616
2616
|
}
|
|
2617
2617
|
function _(i) {
|
|
2618
2618
|
return i === 62 ? (e.consume(i), r.interrupt ? t : O) : n(i);
|
|
2619
2619
|
}
|
|
2620
2620
|
function v(t) {
|
|
2621
|
-
return
|
|
2621
|
+
return Y(t) ? (e.consume(t), v) : E(t);
|
|
2622
2622
|
}
|
|
2623
2623
|
function y(t) {
|
|
2624
|
-
return t === 47 ? (e.consume(t), E) : t === 58 || t === 95 ||
|
|
2624
|
+
return t === 47 ? (e.consume(t), E) : t === 58 || t === 95 || G(t) ? (e.consume(t), b) : Y(t) ? (e.consume(t), y) : E(t);
|
|
2625
2625
|
}
|
|
2626
2626
|
function b(t) {
|
|
2627
|
-
return t === 45 || t === 46 || t === 58 || t === 95 ||
|
|
2627
|
+
return t === 45 || t === 46 || t === 58 || t === 95 || K(t) ? (e.consume(t), b) : x(t);
|
|
2628
2628
|
}
|
|
2629
2629
|
function x(t) {
|
|
2630
|
-
return t === 61 ? (e.consume(t), S) :
|
|
2630
|
+
return t === 61 ? (e.consume(t), S) : Y(t) ? (e.consume(t), x) : y(t);
|
|
2631
2631
|
}
|
|
2632
2632
|
function S(t) {
|
|
2633
|
-
return t === null || t === 60 || t === 61 || t === 62 || t === 96 ? n(t) : t === 34 || t === 39 ? (e.consume(t), c = t, C) :
|
|
2633
|
+
return t === null || t === 60 || t === 61 || t === 62 || t === 96 ? n(t) : t === 34 || t === 39 ? (e.consume(t), c = t, C) : Y(t) ? (e.consume(t), S) : w(t);
|
|
2634
2634
|
}
|
|
2635
2635
|
function C(t) {
|
|
2636
|
-
return t === c ? (e.consume(t), c = null, T) : t === null ||
|
|
2636
|
+
return t === c ? (e.consume(t), c = null, T) : t === null || q(t) ? n(t) : (e.consume(t), C);
|
|
2637
2637
|
}
|
|
2638
2638
|
function w(t) {
|
|
2639
|
-
return t === null || t === 34 || t === 39 || t === 47 || t === 60 || t === 61 || t === 62 || t === 96 ||
|
|
2639
|
+
return t === null || t === 34 || t === 39 || t === 47 || t === 60 || t === 61 || t === 62 || t === 96 || J(t) ? x(t) : (e.consume(t), w);
|
|
2640
2640
|
}
|
|
2641
2641
|
function T(e) {
|
|
2642
|
-
return e === 47 || e === 62 ||
|
|
2642
|
+
return e === 47 || e === 62 || Y(e) ? y(e) : n(e);
|
|
2643
2643
|
}
|
|
2644
2644
|
function E(t) {
|
|
2645
2645
|
return t === 62 ? (e.consume(t), D) : n(t);
|
|
2646
2646
|
}
|
|
2647
2647
|
function D(t) {
|
|
2648
|
-
return t === null ||
|
|
2648
|
+
return t === null || q(t) ? O(t) : Y(t) ? (e.consume(t), D) : n(t);
|
|
2649
2649
|
}
|
|
2650
2650
|
function O(t) {
|
|
2651
|
-
return t === 45 && i === 2 ? (e.consume(t), A) : t === 60 && i === 1 ? (e.consume(t), j) : t === 62 && i === 4 ? (e.consume(t),
|
|
2651
|
+
return t === 45 && i === 2 ? (e.consume(t), A) : t === 60 && i === 1 ? (e.consume(t), j) : t === 62 && i === 4 ? (e.consume(t), N) : t === 63 && i === 3 ? (e.consume(t), M) : t === 93 && i === 5 ? (e.consume(t), re) : q(t) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(Dr, ie, k)(t)) : t === null || q(t) ? (e.exit("htmlFlowData"), k(t)) : (e.consume(t), O);
|
|
2652
2652
|
}
|
|
2653
2653
|
function k(t) {
|
|
2654
|
-
return e.check(Or, ee,
|
|
2654
|
+
return e.check(Or, ee, ie)(t);
|
|
2655
2655
|
}
|
|
2656
2656
|
function ee(t) {
|
|
2657
2657
|
return e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), te;
|
|
2658
2658
|
}
|
|
2659
2659
|
function te(t) {
|
|
2660
|
-
return t === null ||
|
|
2660
|
+
return t === null || q(t) ? k(t) : (e.enter("htmlFlowData"), O(t));
|
|
2661
2661
|
}
|
|
2662
2662
|
function A(t) {
|
|
2663
2663
|
return t === 45 ? (e.consume(t), M) : O(t);
|
|
@@ -2668,20 +2668,20 @@ function Ar(e, t, n) {
|
|
|
2668
2668
|
function ne(t) {
|
|
2669
2669
|
if (t === 62) {
|
|
2670
2670
|
let n = o.toLowerCase();
|
|
2671
|
-
return Tr.includes(n) ? (e.consume(t),
|
|
2671
|
+
return Tr.includes(n) ? (e.consume(t), N) : O(t);
|
|
2672
2672
|
}
|
|
2673
|
-
return
|
|
2673
|
+
return G(t) && o.length < 8 ? (e.consume(t), o += String.fromCharCode(t), ne) : O(t);
|
|
2674
2674
|
}
|
|
2675
2675
|
function re(t) {
|
|
2676
2676
|
return t === 93 ? (e.consume(t), M) : O(t);
|
|
2677
2677
|
}
|
|
2678
2678
|
function M(t) {
|
|
2679
|
-
return t === 62 ? (e.consume(t),
|
|
2679
|
+
return t === 62 ? (e.consume(t), N) : t === 45 && i === 2 ? (e.consume(t), M) : O(t);
|
|
2680
2680
|
}
|
|
2681
|
-
function
|
|
2682
|
-
return t === null ||
|
|
2681
|
+
function N(t) {
|
|
2682
|
+
return t === null || q(t) ? (e.exit("htmlFlowData"), ie(t)) : (e.consume(t), N);
|
|
2683
2683
|
}
|
|
2684
|
-
function
|
|
2684
|
+
function ie(n) {
|
|
2685
2685
|
return e.exit("htmlFlow"), t(n);
|
|
2686
2686
|
}
|
|
2687
2687
|
}
|
|
@@ -2689,7 +2689,7 @@ function jr(e, t, n) {
|
|
|
2689
2689
|
let r = this;
|
|
2690
2690
|
return i;
|
|
2691
2691
|
function i(t) {
|
|
2692
|
-
return
|
|
2692
|
+
return q(t) ? (e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), a) : n(t);
|
|
2693
2693
|
}
|
|
2694
2694
|
function a(e) {
|
|
2695
2695
|
return r.parser.lazy[r.now().line] ? n(e) : t(e);
|
|
@@ -2713,16 +2713,16 @@ function Pr(e, t, n) {
|
|
|
2713
2713
|
return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(t), c;
|
|
2714
2714
|
}
|
|
2715
2715
|
function c(t) {
|
|
2716
|
-
return t === 33 ? (e.consume(t), l) : t === 47 ? (e.consume(t), x) : t === 63 ? (e.consume(t), y) :
|
|
2716
|
+
return t === 33 ? (e.consume(t), l) : t === 47 ? (e.consume(t), x) : t === 63 ? (e.consume(t), y) : G(t) ? (e.consume(t), w) : n(t);
|
|
2717
2717
|
}
|
|
2718
2718
|
function l(t) {
|
|
2719
|
-
return t === 45 ? (e.consume(t), u) : t === 91 ? (e.consume(t), a = 0, m) :
|
|
2719
|
+
return t === 45 ? (e.consume(t), u) : t === 91 ? (e.consume(t), a = 0, m) : G(t) ? (e.consume(t), v) : n(t);
|
|
2720
2720
|
}
|
|
2721
2721
|
function u(t) {
|
|
2722
2722
|
return t === 45 ? (e.consume(t), p) : n(t);
|
|
2723
2723
|
}
|
|
2724
2724
|
function d(t) {
|
|
2725
|
-
return t === null ? n(t) : t === 45 ? (e.consume(t), f) :
|
|
2725
|
+
return t === null ? n(t) : t === 45 ? (e.consume(t), f) : q(t) ? (o = d, j(t)) : (e.consume(t), d);
|
|
2726
2726
|
}
|
|
2727
2727
|
function f(t) {
|
|
2728
2728
|
return t === 45 ? (e.consume(t), p) : d(t);
|
|
@@ -2734,7 +2734,7 @@ function Pr(e, t, n) {
|
|
|
2734
2734
|
return t === "CDATA[".charCodeAt(a++) ? (e.consume(t), a === 6 ? h : m) : n(t);
|
|
2735
2735
|
}
|
|
2736
2736
|
function h(t) {
|
|
2737
|
-
return t === null ? n(t) : t === 93 ? (e.consume(t), g) :
|
|
2737
|
+
return t === null ? n(t) : t === 93 ? (e.consume(t), g) : q(t) ? (o = h, j(t)) : (e.consume(t), h);
|
|
2738
2738
|
}
|
|
2739
2739
|
function g(t) {
|
|
2740
2740
|
return t === 93 ? (e.consume(t), _) : h(t);
|
|
@@ -2743,46 +2743,46 @@ function Pr(e, t, n) {
|
|
|
2743
2743
|
return t === 62 ? A(t) : t === 93 ? (e.consume(t), _) : h(t);
|
|
2744
2744
|
}
|
|
2745
2745
|
function v(t) {
|
|
2746
|
-
return t === null || t === 62 ? A(t) :
|
|
2746
|
+
return t === null || t === 62 ? A(t) : q(t) ? (o = v, j(t)) : (e.consume(t), v);
|
|
2747
2747
|
}
|
|
2748
2748
|
function y(t) {
|
|
2749
|
-
return t === null ? n(t) : t === 63 ? (e.consume(t), b) :
|
|
2749
|
+
return t === null ? n(t) : t === 63 ? (e.consume(t), b) : q(t) ? (o = y, j(t)) : (e.consume(t), y);
|
|
2750
2750
|
}
|
|
2751
2751
|
function b(e) {
|
|
2752
2752
|
return e === 62 ? A(e) : y(e);
|
|
2753
2753
|
}
|
|
2754
2754
|
function x(t) {
|
|
2755
|
-
return
|
|
2755
|
+
return G(t) ? (e.consume(t), S) : n(t);
|
|
2756
2756
|
}
|
|
2757
2757
|
function S(t) {
|
|
2758
|
-
return t === 45 ||
|
|
2758
|
+
return t === 45 || K(t) ? (e.consume(t), S) : C(t);
|
|
2759
2759
|
}
|
|
2760
2760
|
function C(t) {
|
|
2761
|
-
return
|
|
2761
|
+
return q(t) ? (o = C, j(t)) : Y(t) ? (e.consume(t), C) : A(t);
|
|
2762
2762
|
}
|
|
2763
2763
|
function w(t) {
|
|
2764
|
-
return t === 45 ||
|
|
2764
|
+
return t === 45 || K(t) ? (e.consume(t), w) : t === 47 || t === 62 || J(t) ? T(t) : n(t);
|
|
2765
2765
|
}
|
|
2766
2766
|
function T(t) {
|
|
2767
|
-
return t === 47 ? (e.consume(t), A) : t === 58 || t === 95 ||
|
|
2767
|
+
return t === 47 ? (e.consume(t), A) : t === 58 || t === 95 || G(t) ? (e.consume(t), E) : q(t) ? (o = T, j(t)) : Y(t) ? (e.consume(t), T) : A(t);
|
|
2768
2768
|
}
|
|
2769
2769
|
function E(t) {
|
|
2770
|
-
return t === 45 || t === 46 || t === 58 || t === 95 ||
|
|
2770
|
+
return t === 45 || t === 46 || t === 58 || t === 95 || K(t) ? (e.consume(t), E) : D(t);
|
|
2771
2771
|
}
|
|
2772
2772
|
function D(t) {
|
|
2773
|
-
return t === 61 ? (e.consume(t), O) :
|
|
2773
|
+
return t === 61 ? (e.consume(t), O) : q(t) ? (o = D, j(t)) : Y(t) ? (e.consume(t), D) : T(t);
|
|
2774
2774
|
}
|
|
2775
2775
|
function O(t) {
|
|
2776
|
-
return t === null || t === 60 || t === 61 || t === 62 || t === 96 ? n(t) : t === 34 || t === 39 ? (e.consume(t), i = t, k) :
|
|
2776
|
+
return t === null || t === 60 || t === 61 || t === 62 || t === 96 ? n(t) : t === 34 || t === 39 ? (e.consume(t), i = t, k) : q(t) ? (o = O, j(t)) : Y(t) ? (e.consume(t), O) : (e.consume(t), ee);
|
|
2777
2777
|
}
|
|
2778
2778
|
function k(t) {
|
|
2779
|
-
return t === i ? (e.consume(t), i = void 0, te) : t === null ? n(t) :
|
|
2779
|
+
return t === i ? (e.consume(t), i = void 0, te) : t === null ? n(t) : q(t) ? (o = k, j(t)) : (e.consume(t), k);
|
|
2780
2780
|
}
|
|
2781
2781
|
function ee(t) {
|
|
2782
|
-
return t === null || t === 34 || t === 39 || t === 60 || t === 61 || t === 96 ? n(t) : t === 47 || t === 62 ||
|
|
2782
|
+
return t === null || t === 34 || t === 39 || t === 60 || t === 61 || t === 96 ? n(t) : t === 47 || t === 62 || J(t) ? T(t) : (e.consume(t), ee);
|
|
2783
2783
|
}
|
|
2784
2784
|
function te(e) {
|
|
2785
|
-
return e === 47 || e === 62 ||
|
|
2785
|
+
return e === 47 || e === 62 || J(e) ? T(e) : n(e);
|
|
2786
2786
|
}
|
|
2787
2787
|
function A(r) {
|
|
2788
2788
|
return r === 62 ? (e.consume(r), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(r);
|
|
@@ -2791,7 +2791,7 @@ function Pr(e, t, n) {
|
|
|
2791
2791
|
return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), ne;
|
|
2792
2792
|
}
|
|
2793
2793
|
function ne(t) {
|
|
2794
|
-
return
|
|
2794
|
+
return Y(t) ? X(e, re, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(t) : re(t);
|
|
2795
2795
|
}
|
|
2796
2796
|
function re(t) {
|
|
2797
2797
|
return e.enter("htmlTextData"), o(t);
|
|
@@ -2813,7 +2813,7 @@ function zr(e) {
|
|
|
2813
2813
|
r.type = "data", t += e;
|
|
2814
2814
|
}
|
|
2815
2815
|
}
|
|
2816
|
-
return e.length !== n.length &&
|
|
2816
|
+
return e.length !== n.length && H(e, 0, e.length, n), e;
|
|
2817
2817
|
}
|
|
2818
2818
|
function Br(e, t) {
|
|
2819
2819
|
let n = e.length, r = 0, i, a, o, s;
|
|
@@ -2847,11 +2847,11 @@ function Br(e, t) {
|
|
|
2847
2847
|
"enter",
|
|
2848
2848
|
l,
|
|
2849
2849
|
t
|
|
2850
|
-
]], s =
|
|
2850
|
+
]], s = U(s, e.slice(a + 1, a + r + 3)), s = U(s, [[
|
|
2851
2851
|
"enter",
|
|
2852
2852
|
u,
|
|
2853
2853
|
t
|
|
2854
|
-
]]), s =
|
|
2854
|
+
]]), s = U(s, Dn(t.parser.constructs.insideSpan.null, e.slice(a + r + 4, o - 3), t)), s = U(s, [
|
|
2855
2855
|
[
|
|
2856
2856
|
"exit",
|
|
2857
2857
|
u,
|
|
@@ -2864,11 +2864,11 @@ function Br(e, t) {
|
|
|
2864
2864
|
l,
|
|
2865
2865
|
t
|
|
2866
2866
|
]
|
|
2867
|
-
]), s =
|
|
2867
|
+
]), s = U(s, e.slice(o + 1)), s = U(s, [[
|
|
2868
2868
|
"exit",
|
|
2869
2869
|
c,
|
|
2870
2870
|
t
|
|
2871
|
-
]]),
|
|
2871
|
+
]]), H(e, a, e.length, s), e;
|
|
2872
2872
|
}
|
|
2873
2873
|
function Vr(e, t, n) {
|
|
2874
2874
|
let r = this, i = r.events.length, a, o;
|
|
@@ -2878,7 +2878,7 @@ function Vr(e, t, n) {
|
|
|
2878
2878
|
}
|
|
2879
2879
|
return s;
|
|
2880
2880
|
function s(t) {
|
|
2881
|
-
return a ? a._inactive ? d(t) : (o = r.parser.defined.includes(
|
|
2881
|
+
return a ? a._inactive ? d(t) : (o = r.parser.defined.includes(W(r.sliceSerialize({
|
|
2882
2882
|
start: a.end,
|
|
2883
2883
|
end: r.now()
|
|
2884
2884
|
}))), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(t), e.exit("labelMarker"), e.exit("labelEnd"), c) : n(t);
|
|
@@ -2902,13 +2902,13 @@ function Hr(e, t, n) {
|
|
|
2902
2902
|
return e.enter("resource"), e.enter("resourceMarker"), e.consume(t), e.exit("resourceMarker"), i;
|
|
2903
2903
|
}
|
|
2904
2904
|
function i(t) {
|
|
2905
|
-
return
|
|
2905
|
+
return J(t) ? mr(e, a)(t) : a(t);
|
|
2906
2906
|
}
|
|
2907
2907
|
function a(t) {
|
|
2908
2908
|
return t === 41 ? u(t) : dr(e, o, s, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(t);
|
|
2909
2909
|
}
|
|
2910
2910
|
function o(t) {
|
|
2911
|
-
return
|
|
2911
|
+
return J(t) ? mr(e, c)(t) : u(t);
|
|
2912
2912
|
}
|
|
2913
2913
|
function s(e) {
|
|
2914
2914
|
return n(e);
|
|
@@ -2917,7 +2917,7 @@ function Hr(e, t, n) {
|
|
|
2917
2917
|
return t === 34 || t === 39 || t === 40 ? pr(e, l, n, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(t) : u(t);
|
|
2918
2918
|
}
|
|
2919
2919
|
function l(t) {
|
|
2920
|
-
return
|
|
2920
|
+
return J(t) ? mr(e, u)(t) : u(t);
|
|
2921
2921
|
}
|
|
2922
2922
|
function u(r) {
|
|
2923
2923
|
return r === 41 ? (e.enter("resourceMarker"), e.consume(r), e.exit("resourceMarker"), e.exit("resource"), t) : n(r);
|
|
@@ -2930,7 +2930,7 @@ function Ur(e, t, n) {
|
|
|
2930
2930
|
return fr.call(r, e, a, o, "reference", "referenceMarker", "referenceString")(t);
|
|
2931
2931
|
}
|
|
2932
2932
|
function a(e) {
|
|
2933
|
-
return r.parser.defined.includes(
|
|
2933
|
+
return r.parser.defined.includes(W(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1))) ? t(e) : n(e);
|
|
2934
2934
|
}
|
|
2935
2935
|
function o(e) {
|
|
2936
2936
|
return n(e);
|
|
@@ -2990,7 +2990,7 @@ var Yr = {
|
|
|
2990
2990
|
function Xr(e, t) {
|
|
2991
2991
|
return n;
|
|
2992
2992
|
function n(n) {
|
|
2993
|
-
return e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"),
|
|
2993
|
+
return e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"), X(e, t, "linePrefix");
|
|
2994
2994
|
}
|
|
2995
2995
|
}
|
|
2996
2996
|
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/thematic-break.js
|
|
@@ -3008,14 +3008,14 @@ function Qr(e, t, n) {
|
|
|
3008
3008
|
return i = e, s(e);
|
|
3009
3009
|
}
|
|
3010
3010
|
function s(a) {
|
|
3011
|
-
return a === i ? (e.enter("thematicBreakSequence"), c(a)) : r >= 3 && (a === null ||
|
|
3011
|
+
return a === i ? (e.enter("thematicBreakSequence"), c(a)) : r >= 3 && (a === null || q(a)) ? (e.exit("thematicBreak"), t(a)) : n(a);
|
|
3012
3012
|
}
|
|
3013
3013
|
function c(t) {
|
|
3014
|
-
return t === i ? (e.consume(t), r++, c) : (e.exit("thematicBreakSequence"),
|
|
3014
|
+
return t === i ? (e.consume(t), r++, c) : (e.exit("thematicBreakSequence"), Y(t) ? X(e, s, "whitespace")(t) : s(t));
|
|
3015
3015
|
}
|
|
3016
3016
|
}
|
|
3017
3017
|
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/list.js
|
|
3018
|
-
var
|
|
3018
|
+
var Z = {
|
|
3019
3019
|
continuation: { tokenize: ni },
|
|
3020
3020
|
exit: ii,
|
|
3021
3021
|
name: "list",
|
|
@@ -3032,14 +3032,14 @@ function ti(e, t, n) {
|
|
|
3032
3032
|
return s;
|
|
3033
3033
|
function s(t) {
|
|
3034
3034
|
let i = r.containerState.type || (t === 42 || t === 43 || t === 45 ? "listUnordered" : "listOrdered");
|
|
3035
|
-
if (i === "listUnordered" ? !r.containerState.marker || t === r.containerState.marker :
|
|
3035
|
+
if (i === "listUnordered" ? !r.containerState.marker || t === r.containerState.marker : pn(t)) {
|
|
3036
3036
|
if (r.containerState.type || (r.containerState.type = i, e.enter(i, { _container: !0 })), i === "listUnordered") return e.enter("listItemPrefix"), t === 42 || t === 45 ? e.check(Zr, n, l)(t) : l(t);
|
|
3037
3037
|
if (!r.interrupt || t === 49) return e.enter("listItemPrefix"), e.enter("listItemValue"), c(t);
|
|
3038
3038
|
}
|
|
3039
3039
|
return n(t);
|
|
3040
3040
|
}
|
|
3041
3041
|
function c(t) {
|
|
3042
|
-
return
|
|
3042
|
+
return pn(t) && ++o < 10 ? (e.consume(t), c) : (!r.interrupt || o < 2) && (r.containerState.marker ? t === r.containerState.marker : t === 41 || t === 46) ? (e.exit("listItemValue"), l(t)) : n(t);
|
|
3043
3043
|
}
|
|
3044
3044
|
function l(t) {
|
|
3045
3045
|
return e.enter("listItemMarker"), e.consume(t), e.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || t, e.check(Pn, r.interrupt ? n : u, e.attempt($r, f, d));
|
|
@@ -3048,7 +3048,7 @@ function ti(e, t, n) {
|
|
|
3048
3048
|
return r.containerState.initialBlankLine = !0, a++, f(e);
|
|
3049
3049
|
}
|
|
3050
3050
|
function d(t) {
|
|
3051
|
-
return
|
|
3051
|
+
return Y(t) ? (e.enter("listItemPrefixWhitespace"), e.consume(t), e.exit("listItemPrefixWhitespace"), f) : n(t);
|
|
3052
3052
|
}
|
|
3053
3053
|
function f(n) {
|
|
3054
3054
|
return r.containerState.size = a + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(n);
|
|
@@ -3058,18 +3058,18 @@ function ni(e, t, n) {
|
|
|
3058
3058
|
let r = this;
|
|
3059
3059
|
return r.containerState._closeFlow = void 0, e.check(Pn, i, a);
|
|
3060
3060
|
function i(n) {
|
|
3061
|
-
return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine,
|
|
3061
|
+
return r.containerState.furtherBlankLines = r.containerState.furtherBlankLines || r.containerState.initialBlankLine, X(e, t, "listItemIndent", r.containerState.size + 1)(n);
|
|
3062
3062
|
}
|
|
3063
3063
|
function a(n) {
|
|
3064
|
-
return r.containerState.furtherBlankLines || !
|
|
3064
|
+
return r.containerState.furtherBlankLines || !Y(n) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, o(n)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(ei, t, o)(n));
|
|
3065
3065
|
}
|
|
3066
3066
|
function o(i) {
|
|
3067
|
-
return r.containerState._closeFlow = !0, r.interrupt = void 0,
|
|
3067
|
+
return r.containerState._closeFlow = !0, r.interrupt = void 0, X(e, e.attempt(Z, t, n), "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(i);
|
|
3068
3068
|
}
|
|
3069
3069
|
}
|
|
3070
3070
|
function ri(e, t, n) {
|
|
3071
3071
|
let r = this;
|
|
3072
|
-
return
|
|
3072
|
+
return X(e, i, "listItemIndent", r.containerState.size + 1);
|
|
3073
3073
|
function i(e) {
|
|
3074
3074
|
let i = r.events[r.events.length - 1];
|
|
3075
3075
|
return i && i[1].type === "listItemIndent" && i[2].sliceSerialize(i[1], !0).length === r.containerState.size ? t(e) : n(e);
|
|
@@ -3080,10 +3080,10 @@ function ii(e) {
|
|
|
3080
3080
|
}
|
|
3081
3081
|
function ai(e, t, n) {
|
|
3082
3082
|
let r = this;
|
|
3083
|
-
return
|
|
3083
|
+
return X(e, i, "listItemPrefixWhitespace", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 5);
|
|
3084
3084
|
function i(e) {
|
|
3085
3085
|
let i = r.events[r.events.length - 1];
|
|
3086
|
-
return !
|
|
3086
|
+
return !Y(e) && i && i[1].type === "listItemPrefixWhitespace" ? t(e) : n(e);
|
|
3087
3087
|
}
|
|
3088
3088
|
}
|
|
3089
3089
|
// ../../node_modules/.pnpm/micromark-core-commonmark@2.0.3/node_modules/micromark-core-commonmark/lib/setext-underline.js
|
|
@@ -3135,16 +3135,16 @@ function ci(e, t, n) {
|
|
|
3135
3135
|
return e.enter("setextHeadingLineSequence"), s(t);
|
|
3136
3136
|
}
|
|
3137
3137
|
function s(t) {
|
|
3138
|
-
return t === i ? (e.consume(t), s) : (e.exit("setextHeadingLineSequence"),
|
|
3138
|
+
return t === i ? (e.consume(t), s) : (e.exit("setextHeadingLineSequence"), Y(t) ? X(e, c, "lineSuffix")(t) : c(t));
|
|
3139
3139
|
}
|
|
3140
3140
|
function c(r) {
|
|
3141
|
-
return r === null ||
|
|
3141
|
+
return r === null || q(r) ? (e.exit("setextHeadingLine"), t(r)) : n(r);
|
|
3142
3142
|
}
|
|
3143
3143
|
}
|
|
3144
3144
|
// ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/initialize/flow.js
|
|
3145
3145
|
var li = { tokenize: ui };
|
|
3146
3146
|
function ui(e) {
|
|
3147
|
-
let t = this, n = e.attempt(Pn, r, e.attempt(this.parser.constructs.flowInitial, i,
|
|
3147
|
+
let t = this, n = e.attempt(Pn, r, e.attempt(this.parser.constructs.flowInitial, i, X(e, e.attempt(this.parser.constructs.flow, i, e.attempt(or, i)), "linePrefix")));
|
|
3148
3148
|
return n;
|
|
3149
3149
|
function r(r) {
|
|
3150
3150
|
if (r === null) e.consume(r);
|
|
@@ -3237,7 +3237,7 @@ function gi(e, t) {
|
|
|
3237
3237
|
return e;
|
|
3238
3238
|
}
|
|
3239
3239
|
// ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/constructs.js
|
|
3240
|
-
var _i = /* @__PURE__ */
|
|
3240
|
+
var _i = /* @__PURE__ */ Ce({
|
|
3241
3241
|
attentionMarkers: () => Ti,
|
|
3242
3242
|
contentInitial: () => yi,
|
|
3243
3243
|
disable: () => Ei,
|
|
@@ -3248,19 +3248,19 @@ var _i = /* @__PURE__ */ we({
|
|
|
3248
3248
|
string: () => Si,
|
|
3249
3249
|
text: () => Ci
|
|
3250
3250
|
}), vi = {
|
|
3251
|
-
42:
|
|
3252
|
-
43:
|
|
3253
|
-
45:
|
|
3254
|
-
48:
|
|
3255
|
-
49:
|
|
3256
|
-
50:
|
|
3257
|
-
51:
|
|
3258
|
-
52:
|
|
3259
|
-
53:
|
|
3260
|
-
54:
|
|
3261
|
-
55:
|
|
3262
|
-
56:
|
|
3263
|
-
57:
|
|
3251
|
+
42: Z,
|
|
3252
|
+
43: Z,
|
|
3253
|
+
45: Z,
|
|
3254
|
+
48: Z,
|
|
3255
|
+
49: Z,
|
|
3256
|
+
50: Z,
|
|
3257
|
+
51: Z,
|
|
3258
|
+
52: Z,
|
|
3259
|
+
53: Z,
|
|
3260
|
+
54: Z,
|
|
3261
|
+
55: Z,
|
|
3262
|
+
56: Z,
|
|
3263
|
+
57: Z,
|
|
3264
3264
|
62: In
|
|
3265
3265
|
}, yi = { 91: hr }, bi = {
|
|
3266
3266
|
[-2]: Jn,
|
|
@@ -3321,7 +3321,7 @@ function Di(e, t, n) {
|
|
|
3321
3321
|
}, u = t.tokenize.call(l, c);
|
|
3322
3322
|
return t.resolveAll && a.push(t), l;
|
|
3323
3323
|
function d(e) {
|
|
3324
|
-
return o =
|
|
3324
|
+
return o = U(o, e), g(), o[o.length - 1] === null ? (w(t, 0), l.events = Dn(a, l.events, l), l.events) : [];
|
|
3325
3325
|
}
|
|
3326
3326
|
function f(e, t) {
|
|
3327
3327
|
return ki(p(e), t);
|
|
@@ -3354,7 +3354,7 @@ function Di(e, t, n) {
|
|
|
3354
3354
|
u = u(e);
|
|
3355
3355
|
}
|
|
3356
3356
|
function v(e) {
|
|
3357
|
-
|
|
3357
|
+
q(e) ? (r.line++, r.column = 1, r.offset += e === -3 ? 2 : 1, E()) : e !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === o[r._index].length && (r._bufferIndex = -1, r._index++)), l.previous = e;
|
|
3358
3358
|
}
|
|
3359
3359
|
function y(e, t) {
|
|
3360
3360
|
let n = t || {};
|
|
@@ -3408,7 +3408,7 @@ function Di(e, t, n) {
|
|
|
3408
3408
|
}
|
|
3409
3409
|
}
|
|
3410
3410
|
function w(e, t) {
|
|
3411
|
-
e.resolveAll && !a.includes(e) && a.push(e), e.resolve &&
|
|
3411
|
+
e.resolveAll && !a.includes(e) && a.push(e), e.resolve && H(l.events, t, l.events.length - t, e.resolve(l.events.slice(t), l)), e.resolveTo && (l.events = e.resolveTo(l.events, l));
|
|
3412
3412
|
}
|
|
3413
3413
|
function T() {
|
|
3414
3414
|
let e = m(), t = l.previous, n = l.currentConstruct, i = l.events.length, a = Array.from(s);
|
|
@@ -3467,7 +3467,7 @@ function ki(e, t) {
|
|
|
3467
3467
|
// ../../node_modules/.pnpm/micromark@4.0.2/node_modules/micromark/lib/parse.js
|
|
3468
3468
|
function Ai(e) {
|
|
3469
3469
|
let t = {
|
|
3470
|
-
constructs:
|
|
3470
|
+
constructs: sn([_i, ...(e || {}).extensions || []]),
|
|
3471
3471
|
content: n(bn),
|
|
3472
3472
|
defined: [],
|
|
3473
3473
|
document: n(Sn),
|
|
@@ -3528,9 +3528,9 @@ function Ii(e, t, n) {
|
|
|
3528
3528
|
if (t) return t;
|
|
3529
3529
|
if (n.charCodeAt(0) === 35) {
|
|
3530
3530
|
let e = n.charCodeAt(1), t = e === 120 || e === 88;
|
|
3531
|
-
return
|
|
3531
|
+
return un(n.slice(t ? 2 : 1), t ? 16 : 10);
|
|
3532
3532
|
}
|
|
3533
|
-
return
|
|
3533
|
+
return an(n) || e;
|
|
3534
3534
|
}
|
|
3535
3535
|
// ../../node_modules/.pnpm/mdast-util-from-markdown@2.0.3/node_modules/mdast-util-from-markdown/lib/index.js
|
|
3536
3536
|
var Li = {}.hasOwnProperty;
|
|
@@ -3548,60 +3548,60 @@ function zi(e) {
|
|
|
3548
3548
|
"strong"
|
|
3549
3549
|
],
|
|
3550
3550
|
enter: {
|
|
3551
|
-
autolink: a(
|
|
3551
|
+
autolink: a(be),
|
|
3552
3552
|
autolinkProtocol: T,
|
|
3553
3553
|
autolinkEmail: T,
|
|
3554
|
-
atxHeading: a(
|
|
3555
|
-
blockQuote: a(
|
|
3554
|
+
atxHeading: a(ge),
|
|
3555
|
+
blockQuote: a(de),
|
|
3556
3556
|
characterEscape: T,
|
|
3557
3557
|
characterReference: T,
|
|
3558
|
-
codeFenced: a(
|
|
3558
|
+
codeFenced: a(fe),
|
|
3559
3559
|
codeFencedFenceInfo: o,
|
|
3560
3560
|
codeFencedFenceMeta: o,
|
|
3561
|
-
codeIndented: a(
|
|
3562
|
-
codeText: a(
|
|
3561
|
+
codeIndented: a(fe, o),
|
|
3562
|
+
codeText: a(pe, o),
|
|
3563
3563
|
codeTextData: T,
|
|
3564
3564
|
data: T,
|
|
3565
3565
|
codeFlowValue: T,
|
|
3566
|
-
definition: a(
|
|
3566
|
+
definition: a(me),
|
|
3567
3567
|
definitionDestinationString: o,
|
|
3568
3568
|
definitionLabelString: o,
|
|
3569
3569
|
definitionTitleString: o,
|
|
3570
|
-
emphasis: a(
|
|
3571
|
-
hardBreakEscape: a(
|
|
3572
|
-
hardBreakTrailing: a(
|
|
3573
|
-
htmlFlow: a(
|
|
3570
|
+
emphasis: a(he),
|
|
3571
|
+
hardBreakEscape: a(_e),
|
|
3572
|
+
hardBreakTrailing: a(_e),
|
|
3573
|
+
htmlFlow: a(ve, o),
|
|
3574
3574
|
htmlFlowData: T,
|
|
3575
|
-
htmlText: a(
|
|
3575
|
+
htmlText: a(ve, o),
|
|
3576
3576
|
htmlTextData: T,
|
|
3577
|
-
image: a(
|
|
3577
|
+
image: a(ye),
|
|
3578
3578
|
label: o,
|
|
3579
|
-
link: a(
|
|
3580
|
-
listItem: a(
|
|
3579
|
+
link: a(be),
|
|
3580
|
+
listItem: a(Se),
|
|
3581
3581
|
listItemValue: f,
|
|
3582
|
-
listOrdered: a(
|
|
3583
|
-
listUnordered: a(
|
|
3584
|
-
paragraph: a(
|
|
3585
|
-
reference:
|
|
3582
|
+
listOrdered: a(xe, d),
|
|
3583
|
+
listUnordered: a(xe),
|
|
3584
|
+
paragraph: a(Ce),
|
|
3585
|
+
reference: P,
|
|
3586
3586
|
referenceString: o,
|
|
3587
3587
|
resourceDestinationString: o,
|
|
3588
3588
|
resourceTitleString: o,
|
|
3589
|
-
setextHeading: a(
|
|
3590
|
-
strong: a(
|
|
3591
|
-
thematicBreak: a(
|
|
3589
|
+
setextHeading: a(ge),
|
|
3590
|
+
strong: a(we),
|
|
3591
|
+
thematicBreak: a(Ee)
|
|
3592
3592
|
},
|
|
3593
3593
|
exit: {
|
|
3594
3594
|
atxHeading: c(),
|
|
3595
3595
|
atxHeadingSequence: x,
|
|
3596
3596
|
autolink: c(),
|
|
3597
|
-
autolinkEmail:
|
|
3598
|
-
autolinkProtocol:
|
|
3597
|
+
autolinkEmail: ue,
|
|
3598
|
+
autolinkProtocol: le,
|
|
3599
3599
|
blockQuote: c(),
|
|
3600
3600
|
characterEscapeValue: E,
|
|
3601
|
-
characterReferenceMarkerHexadecimal:
|
|
3602
|
-
characterReferenceMarkerNumeric:
|
|
3603
|
-
characterReferenceValue:
|
|
3604
|
-
characterReference:
|
|
3601
|
+
characterReferenceMarkerHexadecimal: oe,
|
|
3602
|
+
characterReferenceMarkerNumeric: oe,
|
|
3603
|
+
characterReferenceValue: se,
|
|
3604
|
+
characterReference: ce,
|
|
3605
3605
|
codeFenced: c(g),
|
|
3606
3606
|
codeFencedFence: h,
|
|
3607
3607
|
codeFencedFenceInfo: p,
|
|
@@ -3631,10 +3631,10 @@ function zi(e) {
|
|
|
3631
3631
|
listOrdered: c(),
|
|
3632
3632
|
listUnordered: c(),
|
|
3633
3633
|
paragraph: c(),
|
|
3634
|
-
referenceString:
|
|
3634
|
+
referenceString: ae,
|
|
3635
3635
|
resourceDestinationString: M,
|
|
3636
|
-
resourceTitleString:
|
|
3637
|
-
resource:
|
|
3636
|
+
resourceTitleString: N,
|
|
3637
|
+
resource: ie,
|
|
3638
3638
|
setextHeading: c(w),
|
|
3639
3639
|
setextHeadingLineSequence: C,
|
|
3640
3640
|
setextHeadingText: S,
|
|
@@ -3762,14 +3762,14 @@ function zi(e) {
|
|
|
3762
3762
|
function l(e, t) {
|
|
3763
3763
|
let n = this.stack.pop(), r = this.tokenStack.pop();
|
|
3764
3764
|
if (r) r[0].type !== e.type && (t ? t.call(this, e, r[0]) : (r[1] || Ui).call(this, e, r[0]));
|
|
3765
|
-
else throw Error("Cannot close `" + e.type + "` (" +
|
|
3765
|
+
else throw Error("Cannot close `" + e.type + "` (" + vt({
|
|
3766
3766
|
start: e.start,
|
|
3767
3767
|
end: e.end
|
|
3768
3768
|
}) + "): it’s not open");
|
|
3769
3769
|
n.position.end = Bi(e.end);
|
|
3770
3770
|
}
|
|
3771
3771
|
function u() {
|
|
3772
|
-
return
|
|
3772
|
+
return $t(this.stack.pop());
|
|
3773
3773
|
}
|
|
3774
3774
|
function d() {
|
|
3775
3775
|
this.data.expectingFirstListItemValue = !0;
|
|
@@ -3801,7 +3801,7 @@ function zi(e) {
|
|
|
3801
3801
|
}
|
|
3802
3802
|
function v(e) {
|
|
3803
3803
|
let t = this.resume(), n = this.stack[this.stack.length - 1];
|
|
3804
|
-
n.label = t, n.identifier =
|
|
3804
|
+
n.label = t, n.identifier = W(this.sliceSerialize(e)).toLowerCase();
|
|
3805
3805
|
}
|
|
3806
3806
|
function y() {
|
|
3807
3807
|
let e = this.resume(), t = this.stack[this.stack.length - 1];
|
|
@@ -3827,7 +3827,7 @@ function zi(e) {
|
|
|
3827
3827
|
}
|
|
3828
3828
|
function T(e) {
|
|
3829
3829
|
let t = this.stack[this.stack.length - 1].children, n = t[t.length - 1];
|
|
3830
|
-
n && n.type === "text" || (n =
|
|
3830
|
+
n && n.type === "text" || (n = Te(), n.position = {
|
|
3831
3831
|
start: Bi(e.start),
|
|
3832
3832
|
end: void 0
|
|
3833
3833
|
}, t.push(n)), this.stack.push(n);
|
|
@@ -3876,7 +3876,7 @@ function zi(e) {
|
|
|
3876
3876
|
}
|
|
3877
3877
|
function ne(e) {
|
|
3878
3878
|
let t = this.sliceSerialize(e), n = this.stack[this.stack.length - 2];
|
|
3879
|
-
n.label = Fi(t), n.identifier =
|
|
3879
|
+
n.label = Fi(t), n.identifier = W(t).toLowerCase();
|
|
3880
3880
|
}
|
|
3881
3881
|
function re() {
|
|
3882
3882
|
let e = this.stack[this.stack.length - 1], t = this.resume(), n = this.stack[this.stack.length - 1];
|
|
@@ -3886,50 +3886,50 @@ function zi(e) {
|
|
|
3886
3886
|
let e = this.resume(), t = this.stack[this.stack.length - 1];
|
|
3887
3887
|
t.url = e;
|
|
3888
3888
|
}
|
|
3889
|
-
function
|
|
3889
|
+
function N() {
|
|
3890
3890
|
let e = this.resume(), t = this.stack[this.stack.length - 1];
|
|
3891
3891
|
t.title = e;
|
|
3892
3892
|
}
|
|
3893
|
-
function
|
|
3893
|
+
function ie() {
|
|
3894
3894
|
this.data.inReference = void 0;
|
|
3895
3895
|
}
|
|
3896
|
-
function
|
|
3896
|
+
function P() {
|
|
3897
3897
|
this.data.referenceType = "collapsed";
|
|
3898
3898
|
}
|
|
3899
|
-
function
|
|
3899
|
+
function ae(e) {
|
|
3900
3900
|
let t = this.resume(), n = this.stack[this.stack.length - 1];
|
|
3901
|
-
n.label = t, n.identifier =
|
|
3901
|
+
n.label = t, n.identifier = W(this.sliceSerialize(e)).toLowerCase(), this.data.referenceType = "full";
|
|
3902
3902
|
}
|
|
3903
|
-
function
|
|
3903
|
+
function oe(e) {
|
|
3904
3904
|
this.data.characterReferenceType = e.type;
|
|
3905
3905
|
}
|
|
3906
|
-
function
|
|
3906
|
+
function se(e) {
|
|
3907
3907
|
let t = this.sliceSerialize(e), n = this.data.characterReferenceType, r;
|
|
3908
|
-
n ? (r =
|
|
3908
|
+
n ? (r = un(t, n === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : r = an(t);
|
|
3909
3909
|
let i = this.stack[this.stack.length - 1];
|
|
3910
3910
|
i.value += r;
|
|
3911
3911
|
}
|
|
3912
|
-
function
|
|
3912
|
+
function ce(e) {
|
|
3913
3913
|
let t = this.stack.pop();
|
|
3914
3914
|
t.position.end = Bi(e.end);
|
|
3915
3915
|
}
|
|
3916
|
-
function
|
|
3916
|
+
function le(e) {
|
|
3917
3917
|
E.call(this, e);
|
|
3918
3918
|
let t = this.stack[this.stack.length - 1];
|
|
3919
3919
|
t.url = this.sliceSerialize(e);
|
|
3920
3920
|
}
|
|
3921
|
-
function
|
|
3921
|
+
function ue(e) {
|
|
3922
3922
|
E.call(this, e);
|
|
3923
3923
|
let t = this.stack[this.stack.length - 1];
|
|
3924
3924
|
t.url = "mailto:" + this.sliceSerialize(e);
|
|
3925
3925
|
}
|
|
3926
|
-
function
|
|
3926
|
+
function de() {
|
|
3927
3927
|
return {
|
|
3928
3928
|
type: "blockquote",
|
|
3929
3929
|
children: []
|
|
3930
3930
|
};
|
|
3931
3931
|
}
|
|
3932
|
-
function
|
|
3932
|
+
function fe() {
|
|
3933
3933
|
return {
|
|
3934
3934
|
type: "code",
|
|
3935
3935
|
lang: null,
|
|
@@ -3937,13 +3937,13 @@ function zi(e) {
|
|
|
3937
3937
|
value: ""
|
|
3938
3938
|
};
|
|
3939
3939
|
}
|
|
3940
|
-
function
|
|
3940
|
+
function pe() {
|
|
3941
3941
|
return {
|
|
3942
3942
|
type: "inlineCode",
|
|
3943
3943
|
value: ""
|
|
3944
3944
|
};
|
|
3945
3945
|
}
|
|
3946
|
-
function
|
|
3946
|
+
function me() {
|
|
3947
3947
|
return {
|
|
3948
3948
|
type: "definition",
|
|
3949
3949
|
identifier: "",
|
|
@@ -3952,29 +3952,29 @@ function zi(e) {
|
|
|
3952
3952
|
url: ""
|
|
3953
3953
|
};
|
|
3954
3954
|
}
|
|
3955
|
-
function
|
|
3955
|
+
function he() {
|
|
3956
3956
|
return {
|
|
3957
3957
|
type: "emphasis",
|
|
3958
3958
|
children: []
|
|
3959
3959
|
};
|
|
3960
3960
|
}
|
|
3961
|
-
function
|
|
3961
|
+
function ge() {
|
|
3962
3962
|
return {
|
|
3963
3963
|
type: "heading",
|
|
3964
3964
|
depth: 0,
|
|
3965
3965
|
children: []
|
|
3966
3966
|
};
|
|
3967
3967
|
}
|
|
3968
|
-
function
|
|
3968
|
+
function _e() {
|
|
3969
3969
|
return { type: "break" };
|
|
3970
3970
|
}
|
|
3971
|
-
function
|
|
3971
|
+
function ve() {
|
|
3972
3972
|
return {
|
|
3973
3973
|
type: "html",
|
|
3974
3974
|
value: ""
|
|
3975
3975
|
};
|
|
3976
3976
|
}
|
|
3977
|
-
function
|
|
3977
|
+
function ye() {
|
|
3978
3978
|
return {
|
|
3979
3979
|
type: "image",
|
|
3980
3980
|
title: null,
|
|
@@ -3982,7 +3982,7 @@ function zi(e) {
|
|
|
3982
3982
|
alt: null
|
|
3983
3983
|
};
|
|
3984
3984
|
}
|
|
3985
|
-
function
|
|
3985
|
+
function be() {
|
|
3986
3986
|
return {
|
|
3987
3987
|
type: "link",
|
|
3988
3988
|
title: null,
|
|
@@ -3990,7 +3990,7 @@ function zi(e) {
|
|
|
3990
3990
|
children: []
|
|
3991
3991
|
};
|
|
3992
3992
|
}
|
|
3993
|
-
function
|
|
3993
|
+
function xe(e) {
|
|
3994
3994
|
return {
|
|
3995
3995
|
type: "list",
|
|
3996
3996
|
ordered: e.type === "listOrdered",
|
|
@@ -3999,7 +3999,7 @@ function zi(e) {
|
|
|
3999
3999
|
children: []
|
|
4000
4000
|
};
|
|
4001
4001
|
}
|
|
4002
|
-
function
|
|
4002
|
+
function Se(e) {
|
|
4003
4003
|
return {
|
|
4004
4004
|
type: "listItem",
|
|
4005
4005
|
spread: e._spread,
|
|
@@ -4007,25 +4007,25 @@ function zi(e) {
|
|
|
4007
4007
|
children: []
|
|
4008
4008
|
};
|
|
4009
4009
|
}
|
|
4010
|
-
function
|
|
4010
|
+
function Ce() {
|
|
4011
4011
|
return {
|
|
4012
4012
|
type: "paragraph",
|
|
4013
4013
|
children: []
|
|
4014
4014
|
};
|
|
4015
4015
|
}
|
|
4016
|
-
function
|
|
4016
|
+
function we() {
|
|
4017
4017
|
return {
|
|
4018
4018
|
type: "strong",
|
|
4019
4019
|
children: []
|
|
4020
4020
|
};
|
|
4021
4021
|
}
|
|
4022
|
-
function
|
|
4022
|
+
function Te() {
|
|
4023
4023
|
return {
|
|
4024
4024
|
type: "text",
|
|
4025
4025
|
value: ""
|
|
4026
4026
|
};
|
|
4027
4027
|
}
|
|
4028
|
-
function
|
|
4028
|
+
function Ee() {
|
|
4029
4029
|
return { type: "thematicBreak" };
|
|
4030
4030
|
}
|
|
4031
4031
|
}
|
|
@@ -4065,13 +4065,13 @@ function Hi(e, t) {
|
|
|
4065
4065
|
}
|
|
4066
4066
|
}
|
|
4067
4067
|
function Ui(e, t) {
|
|
4068
|
-
throw Error(e ? "Cannot close `" + e.type + "` (" +
|
|
4068
|
+
throw Error(e ? "Cannot close `" + e.type + "` (" + vt({
|
|
4069
4069
|
start: e.start,
|
|
4070
4070
|
end: e.end
|
|
4071
|
-
}) + "): a different token (`" + t.type + "`, " +
|
|
4071
|
+
}) + "): a different token (`" + t.type + "`, " + vt({
|
|
4072
4072
|
start: t.start,
|
|
4073
4073
|
end: t.end
|
|
4074
|
-
}) + ") is open" : "Cannot close document, a token (`" + t.type + "`, " +
|
|
4074
|
+
}) + ") is open" : "Cannot close document, a token (`" + t.type + "`, " + vt({
|
|
4075
4075
|
start: t.start,
|
|
4076
4076
|
end: t.end
|
|
4077
4077
|
}) + ") is still open");
|
|
@@ -4408,7 +4408,7 @@ function fa(e, t) {
|
|
|
4408
4408
|
tagName: "tbody",
|
|
4409
4409
|
properties: {},
|
|
4410
4410
|
children: e.wrap(n, !0)
|
|
4411
|
-
}, a =
|
|
4411
|
+
}, a = ht(t.children[1]), o = mt(t.children[t.children.length - 1]);
|
|
4412
4412
|
a && o && (r.position = {
|
|
4413
4413
|
start: a,
|
|
4414
4414
|
end: o
|
|
@@ -4915,7 +4915,7 @@ function Qa(e, t) {
|
|
|
4915
4915
|
}
|
|
4916
4916
|
}
|
|
4917
4917
|
function $a(e, t) {
|
|
4918
|
-
e.position && (t.position =
|
|
4918
|
+
e.position && (t.position = _t(e));
|
|
4919
4919
|
}
|
|
4920
4920
|
function eo(e, t) {
|
|
4921
4921
|
let n = t;
|
|
@@ -4995,7 +4995,7 @@ function oo(e) {
|
|
|
4995
4995
|
if (e) throw e;
|
|
4996
4996
|
}
|
|
4997
4997
|
// ../../node_modules/.pnpm/extend@3.0.2/node_modules/extend/index.js
|
|
4998
|
-
var so = /* @__PURE__ */
|
|
4998
|
+
var so = /* @__PURE__ */ Se(((e, t) => {
|
|
4999
4999
|
var n = Object.prototype.hasOwnProperty, r = Object.prototype.toString, i = Object.defineProperty, a = Object.getOwnPropertyDescriptor, o = function(e) {
|
|
5000
5000
|
return typeof Array.isArray == "function" ? Array.isArray(e) : r.call(e) === "[object Array]";
|
|
5001
5001
|
}, s = function(e) {
|
|
@@ -5084,7 +5084,7 @@ function uo(e, t) {
|
|
|
5084
5084
|
}
|
|
5085
5085
|
}
|
|
5086
5086
|
// ../../node_modules/.pnpm/vfile@6.0.3/node_modules/vfile/lib/minpath.browser.js
|
|
5087
|
-
var
|
|
5087
|
+
var Q = {
|
|
5088
5088
|
basename: fo,
|
|
5089
5089
|
dirname: po,
|
|
5090
5090
|
extname: mo,
|
|
@@ -5238,26 +5238,26 @@ var wo = [
|
|
|
5238
5238
|
for (r in t) wo.includes(r) || (this[r] = t[r]);
|
|
5239
5239
|
}
|
|
5240
5240
|
get basename() {
|
|
5241
|
-
return typeof this.path == "string" ?
|
|
5241
|
+
return typeof this.path == "string" ? Q.basename(this.path) : void 0;
|
|
5242
5242
|
}
|
|
5243
5243
|
set basename(e) {
|
|
5244
|
-
Do(e, "basename"), Eo(e, "basename"), this.path =
|
|
5244
|
+
Do(e, "basename"), Eo(e, "basename"), this.path = Q.join(this.dirname || "", e);
|
|
5245
5245
|
}
|
|
5246
5246
|
get dirname() {
|
|
5247
|
-
return typeof this.path == "string" ?
|
|
5247
|
+
return typeof this.path == "string" ? Q.dirname(this.path) : void 0;
|
|
5248
5248
|
}
|
|
5249
5249
|
set dirname(e) {
|
|
5250
|
-
Oo(this.basename, "dirname"), this.path =
|
|
5250
|
+
Oo(this.basename, "dirname"), this.path = Q.join(e || "", this.basename);
|
|
5251
5251
|
}
|
|
5252
5252
|
get extname() {
|
|
5253
|
-
return typeof this.path == "string" ?
|
|
5253
|
+
return typeof this.path == "string" ? Q.extname(this.path) : void 0;
|
|
5254
5254
|
}
|
|
5255
5255
|
set extname(e) {
|
|
5256
5256
|
if (Eo(e, "extname"), Oo(this.dirname, "extname"), e) {
|
|
5257
5257
|
if (e.codePointAt(0) !== 46) throw Error("`extname` must start with `.`");
|
|
5258
5258
|
if (e.includes(".", 1)) throw Error("`extname` cannot contain multiple dots");
|
|
5259
5259
|
}
|
|
5260
|
-
this.path =
|
|
5260
|
+
this.path = Q.join(this.dirname, this.stem + (e || ""));
|
|
5261
5261
|
}
|
|
5262
5262
|
get path() {
|
|
5263
5263
|
return this.history[this.history.length - 1];
|
|
@@ -5266,10 +5266,10 @@ var wo = [
|
|
|
5266
5266
|
xo(e) && (e = So(e)), Do(e, "path"), this.path !== e && this.history.push(e);
|
|
5267
5267
|
}
|
|
5268
5268
|
get stem() {
|
|
5269
|
-
return typeof this.path == "string" ?
|
|
5269
|
+
return typeof this.path == "string" ? Q.basename(this.path, this.extname) : void 0;
|
|
5270
5270
|
}
|
|
5271
5271
|
set stem(e) {
|
|
5272
|
-
Do(e, "stem"), Eo(e, "stem"), this.path =
|
|
5272
|
+
Do(e, "stem"), Eo(e, "stem"), this.path = Q.join(this.dirname || "", e + (this.extname || ""));
|
|
5273
5273
|
}
|
|
5274
5274
|
fail(e, t, n) {
|
|
5275
5275
|
let r = this.message(e, t, n);
|
|
@@ -5280,7 +5280,7 @@ var wo = [
|
|
|
5280
5280
|
return r.fatal = void 0, r;
|
|
5281
5281
|
}
|
|
5282
5282
|
message(e, t, n) {
|
|
5283
|
-
let r = new
|
|
5283
|
+
let r = new V(e, t, n);
|
|
5284
5284
|
return this.path && (r.name = this.path + ":" + r.name, r.file = this.path), r.fatal = !1, this.messages.push(r), r;
|
|
5285
5285
|
}
|
|
5286
5286
|
toString(e) {
|
|
@@ -5288,7 +5288,7 @@ var wo = [
|
|
|
5288
5288
|
}
|
|
5289
5289
|
};
|
|
5290
5290
|
function Eo(e, t) {
|
|
5291
|
-
if (e && e.includes(
|
|
5291
|
+
if (e && e.includes(Q.sep)) throw Error("`" + t + "` cannot be a path: did not expect `" + Q.sep + "`");
|
|
5292
5292
|
}
|
|
5293
5293
|
function Do(e, t) {
|
|
5294
5294
|
if (!e) throw Error("`" + t + "` cannot be empty");
|
|
@@ -5305,7 +5305,7 @@ var Ao = (function(e) {
|
|
|
5305
5305
|
return n.apply(r, arguments);
|
|
5306
5306
|
};
|
|
5307
5307
|
return Object.setPrototypeOf(r, t), r;
|
|
5308
|
-
}), jo = /* @__PURE__ */
|
|
5308
|
+
}), jo = /* @__PURE__ */ Te(so(), 1), Mo = {}.hasOwnProperty, No = new class e extends Ao {
|
|
5309
5309
|
constructor() {
|
|
5310
5310
|
super("copy"), this.Compiler = void 0, this.Parser = void 0, this.attachers = [], this.compiler = void 0, this.freezeIndex = -1, this.frozen = void 0, this.namespace = {}, this.parser = void 0, this.transformers = lo();
|
|
5311
5311
|
}
|
|
@@ -5557,12 +5557,12 @@ function Yo(e) {
|
|
|
5557
5557
|
function Xo(e, t) {
|
|
5558
5558
|
let n = t.allowedElements, r = t.allowElement, i = t.components, a = t.disallowedElements, o = t.skipHtml, s = t.unwrapDisallowed, c = t.urlTransform || Zo;
|
|
5559
5559
|
for (let e of Ko) Object.hasOwn(t, e.from) && "" + e.from + (e.to ? "use `" + e.to + "` instead" : "remove it") + e.id;
|
|
5560
|
-
return Ya(e, l),
|
|
5561
|
-
Fragment:
|
|
5560
|
+
return Ya(e, l), kt(e, {
|
|
5561
|
+
Fragment: T,
|
|
5562
5562
|
components: i,
|
|
5563
5563
|
ignoreInvalidStyle: !0,
|
|
5564
|
-
jsx:
|
|
5565
|
-
jsxs:
|
|
5564
|
+
jsx: E,
|
|
5565
|
+
jsxs: D,
|
|
5566
5566
|
passKeys: !0,
|
|
5567
5567
|
passNode: !0
|
|
5568
5568
|
});
|
|
@@ -5573,8 +5573,8 @@ function Xo(e, t) {
|
|
|
5573
5573
|
}, t;
|
|
5574
5574
|
if (e.type === "element") {
|
|
5575
5575
|
let t;
|
|
5576
|
-
for (t in
|
|
5577
|
-
let n = e.properties[t], r =
|
|
5576
|
+
for (t in Zt) if (Object.hasOwn(Zt, t) && Object.hasOwn(e.properties, t)) {
|
|
5577
|
+
let n = e.properties[t], r = Zt[t];
|
|
5578
5578
|
(r === null || r.includes(e.tagName)) && (e.properties[t] = c(String(n || ""), t, e));
|
|
5579
5579
|
}
|
|
5580
5580
|
}
|
|
@@ -5778,7 +5778,7 @@ function vs(e) {
|
|
|
5778
5778
|
}
|
|
5779
5779
|
function ys(e, t) {
|
|
5780
5780
|
let n = e.input.charCodeAt(e.index - 1);
|
|
5781
|
-
return (e.index === 0 ||
|
|
5781
|
+
return (e.index === 0 || _n(n) || gn(n)) && (!t || n !== 47);
|
|
5782
5782
|
}
|
|
5783
5783
|
// ../../node_modules/.pnpm/mdast-util-gfm-footnote@2.1.0/node_modules/mdast-util-gfm-footnote/lib/index.js
|
|
5784
5784
|
ks.peek = Os;
|
|
@@ -5805,14 +5805,14 @@ function Cs(e) {
|
|
|
5805
5805
|
}
|
|
5806
5806
|
function ws(e) {
|
|
5807
5807
|
let t = this.resume(), n = this.stack[this.stack.length - 1];
|
|
5808
|
-
n.type, n.identifier =
|
|
5808
|
+
n.type, n.identifier = W(this.sliceSerialize(e)).toLowerCase(), n.label = t;
|
|
5809
5809
|
}
|
|
5810
5810
|
function Ts(e) {
|
|
5811
5811
|
this.exit(e);
|
|
5812
5812
|
}
|
|
5813
5813
|
function Es(e) {
|
|
5814
5814
|
let t = this.resume(), n = this.stack[this.stack.length - 1];
|
|
5815
|
-
n.type, n.identifier =
|
|
5815
|
+
n.type, n.identifier = W(this.sliceSerialize(e)).toLowerCase(), n.label = t;
|
|
5816
5816
|
}
|
|
5817
5817
|
function Ds(e) {
|
|
5818
5818
|
this.exit(e);
|
|
@@ -6148,7 +6148,7 @@ function cc(e, t) {
|
|
|
6148
6148
|
let n = !1;
|
|
6149
6149
|
return Ya(e, function(e) {
|
|
6150
6150
|
if ("value" in e && /\r?\n|\r/.test(e.value) || e.type === "break") return n = !0, !1;
|
|
6151
|
-
}), !!((!e.depth || e.depth < 3) &&
|
|
6151
|
+
}), !!((!e.depth || e.depth < 3) && $t(e) && (t.options.setext || n));
|
|
6152
6152
|
}
|
|
6153
6153
|
// ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/heading.js
|
|
6154
6154
|
function lc(e, t, n, r) {
|
|
@@ -6243,7 +6243,7 @@ function _c() {
|
|
|
6243
6243
|
}
|
|
6244
6244
|
// ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js
|
|
6245
6245
|
function vc(e, t) {
|
|
6246
|
-
let n =
|
|
6246
|
+
let n = $t(e);
|
|
6247
6247
|
return !(t.options.resourceLink || !e.url || e.title || !e.children || e.children.length !== 1 || e.children[0].type !== "text" || n !== e.url && "mailto:" + n !== e.url || !/^[a-z][a-z+.-]+:/i.test(e.url) || /[\0- <>\u007F]/.test(e.url));
|
|
6248
6248
|
}
|
|
6249
6249
|
// ../../node_modules/.pnpm/mdast-util-to-markdown@2.1.2/node_modules/mdast-util-to-markdown/lib/handle/link.js
|
|
@@ -6671,75 +6671,75 @@ function tl(e) {
|
|
|
6671
6671
|
}
|
|
6672
6672
|
// ../../node_modules/.pnpm/micromark-extension-gfm-autolink-literal@2.1.0/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js
|
|
6673
6673
|
var nl = {
|
|
6674
|
-
tokenize:
|
|
6674
|
+
tokenize: hl,
|
|
6675
6675
|
partial: !0
|
|
6676
6676
|
}, rl = {
|
|
6677
|
-
tokenize:
|
|
6677
|
+
tokenize: gl,
|
|
6678
6678
|
partial: !0
|
|
6679
6679
|
}, il = {
|
|
6680
|
-
tokenize:
|
|
6680
|
+
tokenize: _l,
|
|
6681
6681
|
partial: !0
|
|
6682
6682
|
}, al = {
|
|
6683
|
-
tokenize:
|
|
6683
|
+
tokenize: vl,
|
|
6684
6684
|
partial: !0
|
|
6685
6685
|
}, ol = {
|
|
6686
|
-
tokenize:
|
|
6686
|
+
tokenize: yl,
|
|
6687
6687
|
partial: !0
|
|
6688
6688
|
}, sl = {
|
|
6689
6689
|
name: "wwwAutolink",
|
|
6690
|
-
tokenize: fl,
|
|
6691
|
-
previous: yl
|
|
6692
|
-
}, cl = {
|
|
6693
|
-
name: "protocolAutolink",
|
|
6694
6690
|
tokenize: pl,
|
|
6695
6691
|
previous: bl
|
|
6696
|
-
},
|
|
6697
|
-
name: "
|
|
6698
|
-
tokenize:
|
|
6692
|
+
}, cl = {
|
|
6693
|
+
name: "protocolAutolink",
|
|
6694
|
+
tokenize: ml,
|
|
6699
6695
|
previous: xl
|
|
6696
|
+
}, ll = {
|
|
6697
|
+
name: "emailAutolink",
|
|
6698
|
+
tokenize: fl,
|
|
6699
|
+
previous: Sl
|
|
6700
6700
|
}, $ = {};
|
|
6701
|
-
function
|
|
6701
|
+
function ul() {
|
|
6702
6702
|
return { text: $ };
|
|
6703
6703
|
}
|
|
6704
|
-
for (var
|
|
6705
|
-
$[43] =
|
|
6706
|
-
function
|
|
6704
|
+
for (var dl = 48; dl < 123;) $[dl] = ll, dl++, dl === 58 ? dl = 65 : dl === 91 && (dl = 97);
|
|
6705
|
+
$[43] = ll, $[45] = ll, $[46] = ll, $[95] = ll, $[72] = [ll, cl], $[104] = [ll, cl], $[87] = [ll, sl], $[119] = [ll, sl];
|
|
6706
|
+
function fl(e, t, n) {
|
|
6707
6707
|
let r = this, i, a;
|
|
6708
6708
|
return o;
|
|
6709
6709
|
function o(t) {
|
|
6710
|
-
return !
|
|
6710
|
+
return !Cl(t) || !Sl.call(r, r.previous) || wl(r.events) ? n(t) : (e.enter("literalAutolink"), e.enter("literalAutolinkEmail"), s(t));
|
|
6711
6711
|
}
|
|
6712
6712
|
function s(t) {
|
|
6713
|
-
return
|
|
6713
|
+
return Cl(t) ? (e.consume(t), s) : t === 64 ? (e.consume(t), c) : n(t);
|
|
6714
6714
|
}
|
|
6715
6715
|
function c(t) {
|
|
6716
|
-
return t === 46 ? e.check(ol, u, l)(t) : t === 45 || t === 95 ||
|
|
6716
|
+
return t === 46 ? e.check(ol, u, l)(t) : t === 45 || t === 95 || K(t) ? (a = !0, e.consume(t), c) : u(t);
|
|
6717
6717
|
}
|
|
6718
6718
|
function l(t) {
|
|
6719
6719
|
return e.consume(t), i = !0, c;
|
|
6720
6720
|
}
|
|
6721
6721
|
function u(o) {
|
|
6722
|
-
return a && i &&
|
|
6722
|
+
return a && i && G(r.previous) ? (e.exit("literalAutolinkEmail"), e.exit("literalAutolink"), t(o)) : n(o);
|
|
6723
6723
|
}
|
|
6724
6724
|
}
|
|
6725
|
-
function
|
|
6725
|
+
function pl(e, t, n) {
|
|
6726
6726
|
let r = this;
|
|
6727
6727
|
return i;
|
|
6728
6728
|
function i(t) {
|
|
6729
|
-
return t !== 87 && t !== 119 || !
|
|
6729
|
+
return t !== 87 && t !== 119 || !bl.call(r, r.previous) || wl(r.events) ? n(t) : (e.enter("literalAutolink"), e.enter("literalAutolinkWww"), e.check(nl, e.attempt(rl, e.attempt(il, a), n), n)(t));
|
|
6730
6730
|
}
|
|
6731
6731
|
function a(n) {
|
|
6732
6732
|
return e.exit("literalAutolinkWww"), e.exit("literalAutolink"), t(n);
|
|
6733
6733
|
}
|
|
6734
6734
|
}
|
|
6735
|
-
function
|
|
6735
|
+
function ml(e, t, n) {
|
|
6736
6736
|
let r = this, i = "", a = !1;
|
|
6737
6737
|
return o;
|
|
6738
6738
|
function o(t) {
|
|
6739
|
-
return (t === 72 || t === 104) &&
|
|
6739
|
+
return (t === 72 || t === 104) && xl.call(r, r.previous) && !wl(r.events) ? (e.enter("literalAutolink"), e.enter("literalAutolinkHttp"), i += String.fromCodePoint(t), e.consume(t), s) : n(t);
|
|
6740
6740
|
}
|
|
6741
6741
|
function s(t) {
|
|
6742
|
-
if (
|
|
6742
|
+
if (G(t) && i.length < 5) return i += String.fromCodePoint(t), e.consume(t), s;
|
|
6743
6743
|
if (t === 58) {
|
|
6744
6744
|
let n = i.toLowerCase();
|
|
6745
6745
|
if (n === "http" || n === "https") return e.consume(t), c;
|
|
@@ -6750,13 +6750,13 @@ function pl(e, t, n) {
|
|
|
6750
6750
|
return t === 47 ? (e.consume(t), a ? l : (a = !0, c)) : n(t);
|
|
6751
6751
|
}
|
|
6752
6752
|
function l(t) {
|
|
6753
|
-
return t === null ||
|
|
6753
|
+
return t === null || fn(t) || J(t) || _n(t) || gn(t) ? n(t) : e.attempt(rl, e.attempt(il, u), n)(t);
|
|
6754
6754
|
}
|
|
6755
6755
|
function u(n) {
|
|
6756
6756
|
return e.exit("literalAutolinkHttp"), e.exit("literalAutolink"), t(n);
|
|
6757
6757
|
}
|
|
6758
6758
|
}
|
|
6759
|
-
function
|
|
6759
|
+
function hl(e, t, n) {
|
|
6760
6760
|
let r = 0;
|
|
6761
6761
|
return i;
|
|
6762
6762
|
function i(t) {
|
|
@@ -6766,11 +6766,11 @@ function ml(e, t, n) {
|
|
|
6766
6766
|
return e === null ? n(e) : t(e);
|
|
6767
6767
|
}
|
|
6768
6768
|
}
|
|
6769
|
-
function
|
|
6769
|
+
function gl(e, t, n) {
|
|
6770
6770
|
let r, i, a;
|
|
6771
6771
|
return o;
|
|
6772
6772
|
function o(t) {
|
|
6773
|
-
return t === 46 || t === 95 ? e.check(al, c, s)(t) : t === null ||
|
|
6773
|
+
return t === 46 || t === 95 ? e.check(al, c, s)(t) : t === null || J(t) || _n(t) || t !== 45 && gn(t) ? c(t) : (a = !0, e.consume(t), o);
|
|
6774
6774
|
}
|
|
6775
6775
|
function s(t) {
|
|
6776
6776
|
return t === 95 ? r = !0 : (i = r, r = void 0), e.consume(t), o;
|
|
@@ -6779,53 +6779,53 @@ function hl(e, t, n) {
|
|
|
6779
6779
|
return i || r || !a ? n(e) : t(e);
|
|
6780
6780
|
}
|
|
6781
6781
|
}
|
|
6782
|
-
function
|
|
6782
|
+
function _l(e, t) {
|
|
6783
6783
|
let n = 0, r = 0;
|
|
6784
6784
|
return i;
|
|
6785
6785
|
function i(o) {
|
|
6786
|
-
return o === 40 ? (n++, e.consume(o), i) : o === 41 && r < n ? a(o) : o === 33 || o === 34 || o === 38 || o === 39 || o === 41 || o === 42 || o === 44 || o === 46 || o === 58 || o === 59 || o === 60 || o === 63 || o === 93 || o === 95 || o === 126 ? e.check(al, t, a)(o) : o === null ||
|
|
6786
|
+
return o === 40 ? (n++, e.consume(o), i) : o === 41 && r < n ? a(o) : o === 33 || o === 34 || o === 38 || o === 39 || o === 41 || o === 42 || o === 44 || o === 46 || o === 58 || o === 59 || o === 60 || o === 63 || o === 93 || o === 95 || o === 126 ? e.check(al, t, a)(o) : o === null || J(o) || _n(o) ? t(o) : (e.consume(o), i);
|
|
6787
6787
|
}
|
|
6788
6788
|
function a(t) {
|
|
6789
6789
|
return t === 41 && r++, e.consume(t), i;
|
|
6790
6790
|
}
|
|
6791
6791
|
}
|
|
6792
|
-
function
|
|
6792
|
+
function vl(e, t, n) {
|
|
6793
6793
|
return r;
|
|
6794
6794
|
function r(o) {
|
|
6795
|
-
return o === 33 || o === 34 || o === 39 || o === 41 || o === 42 || o === 44 || o === 46 || o === 58 || o === 59 || o === 63 || o === 95 || o === 126 ? (e.consume(o), r) : o === 38 ? (e.consume(o), a) : o === 93 ? (e.consume(o), i) : o === 60 || o === null ||
|
|
6795
|
+
return o === 33 || o === 34 || o === 39 || o === 41 || o === 42 || o === 44 || o === 46 || o === 58 || o === 59 || o === 63 || o === 95 || o === 126 ? (e.consume(o), r) : o === 38 ? (e.consume(o), a) : o === 93 ? (e.consume(o), i) : o === 60 || o === null || J(o) || _n(o) ? t(o) : n(o);
|
|
6796
6796
|
}
|
|
6797
6797
|
function i(e) {
|
|
6798
|
-
return e === null || e === 40 || e === 91 ||
|
|
6798
|
+
return e === null || e === 40 || e === 91 || J(e) || _n(e) ? t(e) : r(e);
|
|
6799
6799
|
}
|
|
6800
6800
|
function a(e) {
|
|
6801
|
-
return
|
|
6801
|
+
return G(e) ? o(e) : n(e);
|
|
6802
6802
|
}
|
|
6803
6803
|
function o(t) {
|
|
6804
|
-
return t === 59 ? (e.consume(t), r) :
|
|
6804
|
+
return t === 59 ? (e.consume(t), r) : G(t) ? (e.consume(t), o) : n(t);
|
|
6805
6805
|
}
|
|
6806
6806
|
}
|
|
6807
|
-
function
|
|
6807
|
+
function yl(e, t, n) {
|
|
6808
6808
|
return r;
|
|
6809
6809
|
function r(t) {
|
|
6810
6810
|
return e.consume(t), i;
|
|
6811
6811
|
}
|
|
6812
6812
|
function i(e) {
|
|
6813
|
-
return
|
|
6813
|
+
return K(e) ? n(e) : t(e);
|
|
6814
6814
|
}
|
|
6815
6815
|
}
|
|
6816
|
-
function yl(e) {
|
|
6817
|
-
return e === null || e === 40 || e === 42 || e === 95 || e === 91 || e === 93 || e === 126 || K(e);
|
|
6818
|
-
}
|
|
6819
6816
|
function bl(e) {
|
|
6820
|
-
return
|
|
6817
|
+
return e === null || e === 40 || e === 42 || e === 95 || e === 91 || e === 93 || e === 126 || J(e);
|
|
6821
6818
|
}
|
|
6822
6819
|
function xl(e) {
|
|
6823
|
-
return !(e
|
|
6820
|
+
return !G(e);
|
|
6824
6821
|
}
|
|
6825
6822
|
function Sl(e) {
|
|
6826
|
-
return e ===
|
|
6823
|
+
return !(e === 47 || Cl(e));
|
|
6827
6824
|
}
|
|
6828
6825
|
function Cl(e) {
|
|
6826
|
+
return e === 43 || e === 45 || e === 46 || e === 95 || K(e);
|
|
6827
|
+
}
|
|
6828
|
+
function wl(e) {
|
|
6829
6829
|
let t = e.length, n = !1;
|
|
6830
6830
|
for (; t--;) {
|
|
6831
6831
|
let r = e[t][1];
|
|
@@ -6841,33 +6841,33 @@ function Cl(e) {
|
|
|
6841
6841
|
return e.length > 0 && !n && (e[e.length - 1][1]._gfmAutolinkLiteralWalkedInto = !0), n;
|
|
6842
6842
|
}
|
|
6843
6843
|
// ../../node_modules/.pnpm/micromark-extension-gfm-footnote@2.1.0/node_modules/micromark-extension-gfm-footnote/lib/syntax.js
|
|
6844
|
-
var
|
|
6845
|
-
tokenize:
|
|
6844
|
+
var Tl = {
|
|
6845
|
+
tokenize: Nl,
|
|
6846
6846
|
partial: !0
|
|
6847
6847
|
};
|
|
6848
|
-
function
|
|
6848
|
+
function El() {
|
|
6849
6849
|
return {
|
|
6850
6850
|
document: { 91: {
|
|
6851
6851
|
name: "gfmFootnoteDefinition",
|
|
6852
|
-
tokenize:
|
|
6853
|
-
continuation: { tokenize:
|
|
6854
|
-
exit:
|
|
6852
|
+
tokenize: Al,
|
|
6853
|
+
continuation: { tokenize: jl },
|
|
6854
|
+
exit: Ml
|
|
6855
6855
|
} },
|
|
6856
6856
|
text: {
|
|
6857
6857
|
91: {
|
|
6858
6858
|
name: "gfmFootnoteCall",
|
|
6859
|
-
tokenize:
|
|
6859
|
+
tokenize: kl
|
|
6860
6860
|
},
|
|
6861
6861
|
93: {
|
|
6862
6862
|
name: "gfmPotentialFootnoteCall",
|
|
6863
6863
|
add: "after",
|
|
6864
|
-
tokenize:
|
|
6865
|
-
resolveTo:
|
|
6864
|
+
tokenize: Dl,
|
|
6865
|
+
resolveTo: Ol
|
|
6866
6866
|
}
|
|
6867
6867
|
}
|
|
6868
6868
|
};
|
|
6869
6869
|
}
|
|
6870
|
-
function
|
|
6870
|
+
function Dl(e, t, n) {
|
|
6871
6871
|
let r = this, i = r.events.length, a = r.parser.gfmFootnotes || (r.parser.gfmFootnotes = []), o;
|
|
6872
6872
|
for (; i--;) {
|
|
6873
6873
|
let e = r.events[i][1];
|
|
@@ -6880,14 +6880,14 @@ function El(e, t, n) {
|
|
|
6880
6880
|
return s;
|
|
6881
6881
|
function s(i) {
|
|
6882
6882
|
if (!o || !o._balanced) return n(i);
|
|
6883
|
-
let s =
|
|
6883
|
+
let s = W(r.sliceSerialize({
|
|
6884
6884
|
start: o.end,
|
|
6885
6885
|
end: r.now()
|
|
6886
6886
|
}));
|
|
6887
6887
|
return s.codePointAt(0) !== 94 || !a.includes(s.slice(1)) ? n(i) : (e.enter("gfmFootnoteCallLabelMarker"), e.consume(i), e.exit("gfmFootnoteCallLabelMarker"), t(i));
|
|
6888
6888
|
}
|
|
6889
6889
|
}
|
|
6890
|
-
function
|
|
6890
|
+
function Ol(e, t) {
|
|
6891
6891
|
let n = e.length;
|
|
6892
6892
|
for (; n--;) if (e[n][1].type === "labelImage" && e[n][0] === "enter") {
|
|
6893
6893
|
e[n][1];
|
|
@@ -6963,7 +6963,7 @@ function Dl(e, t) {
|
|
|
6963
6963
|
];
|
|
6964
6964
|
return e.splice(n, e.length - n + 1, ...s), e;
|
|
6965
6965
|
}
|
|
6966
|
-
function
|
|
6966
|
+
function kl(e, t, n) {
|
|
6967
6967
|
let r = this, i = r.parser.gfmFootnotes || (r.parser.gfmFootnotes = []), a = 0, o;
|
|
6968
6968
|
return s;
|
|
6969
6969
|
function s(t) {
|
|
@@ -6973,19 +6973,19 @@ function Ol(e, t, n) {
|
|
|
6973
6973
|
return t === 94 ? (e.enter("gfmFootnoteCallMarker"), e.consume(t), e.exit("gfmFootnoteCallMarker"), e.enter("gfmFootnoteCallString"), e.enter("chunkString").contentType = "string", l) : n(t);
|
|
6974
6974
|
}
|
|
6975
6975
|
function l(s) {
|
|
6976
|
-
if (a > 999 || s === 93 && !o || s === null || s === 91 ||
|
|
6976
|
+
if (a > 999 || s === 93 && !o || s === null || s === 91 || J(s)) return n(s);
|
|
6977
6977
|
if (s === 93) {
|
|
6978
6978
|
e.exit("chunkString");
|
|
6979
6979
|
let a = e.exit("gfmFootnoteCallString");
|
|
6980
|
-
return i.includes(
|
|
6980
|
+
return i.includes(W(r.sliceSerialize(a))) ? (e.enter("gfmFootnoteCallLabelMarker"), e.consume(s), e.exit("gfmFootnoteCallLabelMarker"), e.exit("gfmFootnoteCall"), t) : n(s);
|
|
6981
6981
|
}
|
|
6982
|
-
return
|
|
6982
|
+
return J(s) || (o = !0), a++, e.consume(s), s === 92 ? u : l;
|
|
6983
6983
|
}
|
|
6984
6984
|
function u(t) {
|
|
6985
6985
|
return t === 91 || t === 92 || t === 93 ? (e.consume(t), a++, l) : l(t);
|
|
6986
6986
|
}
|
|
6987
6987
|
}
|
|
6988
|
-
function
|
|
6988
|
+
function Al(e, t, n) {
|
|
6989
6989
|
let r = this, i = r.parser.gfmFootnotes || (r.parser.gfmFootnotes = []), a, o = 0, s;
|
|
6990
6990
|
return c;
|
|
6991
6991
|
function c(t) {
|
|
@@ -6995,40 +6995,40 @@ function kl(e, t, n) {
|
|
|
6995
6995
|
return t === 94 ? (e.enter("gfmFootnoteDefinitionMarker"), e.consume(t), e.exit("gfmFootnoteDefinitionMarker"), e.enter("gfmFootnoteDefinitionLabelString"), e.enter("chunkString").contentType = "string", u) : n(t);
|
|
6996
6996
|
}
|
|
6997
6997
|
function u(t) {
|
|
6998
|
-
if (o > 999 || t === 93 && !s || t === null || t === 91 ||
|
|
6998
|
+
if (o > 999 || t === 93 && !s || t === null || t === 91 || J(t)) return n(t);
|
|
6999
6999
|
if (t === 93) {
|
|
7000
7000
|
e.exit("chunkString");
|
|
7001
7001
|
let n = e.exit("gfmFootnoteDefinitionLabelString");
|
|
7002
|
-
return a =
|
|
7002
|
+
return a = W(r.sliceSerialize(n)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(t), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), f;
|
|
7003
7003
|
}
|
|
7004
|
-
return
|
|
7004
|
+
return J(t) || (s = !0), o++, e.consume(t), t === 92 ? d : u;
|
|
7005
7005
|
}
|
|
7006
7006
|
function d(t) {
|
|
7007
7007
|
return t === 91 || t === 92 || t === 93 ? (e.consume(t), o++, u) : u(t);
|
|
7008
7008
|
}
|
|
7009
7009
|
function f(t) {
|
|
7010
|
-
return t === 58 ? (e.enter("definitionMarker"), e.consume(t), e.exit("definitionMarker"), i.includes(a) || i.push(a),
|
|
7010
|
+
return t === 58 ? (e.enter("definitionMarker"), e.consume(t), e.exit("definitionMarker"), i.includes(a) || i.push(a), X(e, p, "gfmFootnoteDefinitionWhitespace")) : n(t);
|
|
7011
7011
|
}
|
|
7012
7012
|
function p(e) {
|
|
7013
7013
|
return t(e);
|
|
7014
7014
|
}
|
|
7015
7015
|
}
|
|
7016
|
-
function
|
|
7017
|
-
return e.check(Pn, t, e.attempt(
|
|
7016
|
+
function jl(e, t, n) {
|
|
7017
|
+
return e.check(Pn, t, e.attempt(Tl, t, n));
|
|
7018
7018
|
}
|
|
7019
|
-
function
|
|
7019
|
+
function Ml(e) {
|
|
7020
7020
|
e.exit("gfmFootnoteDefinition");
|
|
7021
7021
|
}
|
|
7022
|
-
function
|
|
7022
|
+
function Nl(e, t, n) {
|
|
7023
7023
|
let r = this;
|
|
7024
|
-
return
|
|
7024
|
+
return X(e, i, "gfmFootnoteDefinitionIndent", 5);
|
|
7025
7025
|
function i(e) {
|
|
7026
7026
|
let i = r.events[r.events.length - 1];
|
|
7027
7027
|
return i && i[1].type === "gfmFootnoteDefinitionIndent" && i[2].sliceSerialize(i[1], !0).length === 4 ? t(e) : n(e);
|
|
7028
7028
|
}
|
|
7029
7029
|
}
|
|
7030
7030
|
// ../../node_modules/.pnpm/micromark-extension-gfm-strikethrough@2.1.0/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js
|
|
7031
|
-
function
|
|
7031
|
+
function Pl(e) {
|
|
7032
7032
|
let t = (e || {}).singleTilde, n = {
|
|
7033
7033
|
name: "strikethrough",
|
|
7034
7034
|
tokenize: i,
|
|
@@ -7075,7 +7075,7 @@ function Nl(e) {
|
|
|
7075
7075
|
t
|
|
7076
7076
|
]
|
|
7077
7077
|
], s = t.parser.constructs.insideSpan.null;
|
|
7078
|
-
s &&
|
|
7078
|
+
s && H(o, o.length, 0, Dn(s, e.slice(r + 1, n), t)), H(o, o.length, 0, [
|
|
7079
7079
|
[
|
|
7080
7080
|
"exit",
|
|
7081
7081
|
a,
|
|
@@ -7096,7 +7096,7 @@ function Nl(e) {
|
|
|
7096
7096
|
i,
|
|
7097
7097
|
t
|
|
7098
7098
|
]
|
|
7099
|
-
]),
|
|
7099
|
+
]), H(e, r - 1, n - r + 3, o), n = r + o.length - 2;
|
|
7100
7100
|
break;
|
|
7101
7101
|
}
|
|
7102
7102
|
}
|
|
@@ -7119,12 +7119,12 @@ function Nl(e) {
|
|
|
7119
7119
|
}
|
|
7120
7120
|
}
|
|
7121
7121
|
// ../../node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/lib/edit-map.js
|
|
7122
|
-
var
|
|
7122
|
+
var Fl = class {
|
|
7123
7123
|
constructor() {
|
|
7124
7124
|
this.map = [];
|
|
7125
7125
|
}
|
|
7126
7126
|
add(e, t, n) {
|
|
7127
|
-
|
|
7127
|
+
Il(this, e, t, n);
|
|
7128
7128
|
}
|
|
7129
7129
|
consume(e) {
|
|
7130
7130
|
/* c8 ignore next 3 -- `resolve` is never called without tables, so without edits. */
|
|
@@ -7142,7 +7142,7 @@ var Pl = class {
|
|
|
7142
7142
|
this.map.length = 0;
|
|
7143
7143
|
}
|
|
7144
7144
|
};
|
|
7145
|
-
function
|
|
7145
|
+
function Il(e, t, n, r) {
|
|
7146
7146
|
let i = 0;
|
|
7147
7147
|
/* c8 ignore next 3 -- `resolve` is never called without tables, so without edits. */
|
|
7148
7148
|
if (n !== 0 || r.length !== 0) {
|
|
@@ -7161,7 +7161,7 @@ function Fl(e, t, n, r) {
|
|
|
7161
7161
|
}
|
|
7162
7162
|
}
|
|
7163
7163
|
// ../../node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/lib/infer.js
|
|
7164
|
-
function
|
|
7164
|
+
function Ll(e, t) {
|
|
7165
7165
|
let n = !1, r = [];
|
|
7166
7166
|
for (; t < e.length;) {
|
|
7167
7167
|
let i = e[t];
|
|
@@ -7179,14 +7179,14 @@ function Il(e, t) {
|
|
|
7179
7179
|
return r;
|
|
7180
7180
|
}
|
|
7181
7181
|
// ../../node_modules/.pnpm/micromark-extension-gfm-table@2.1.1/node_modules/micromark-extension-gfm-table/lib/syntax.js
|
|
7182
|
-
function
|
|
7182
|
+
function Rl() {
|
|
7183
7183
|
return { flow: { null: {
|
|
7184
7184
|
name: "table",
|
|
7185
|
-
tokenize:
|
|
7186
|
-
resolveAll:
|
|
7185
|
+
tokenize: zl,
|
|
7186
|
+
resolveAll: Bl
|
|
7187
7187
|
} } };
|
|
7188
7188
|
}
|
|
7189
|
-
function
|
|
7189
|
+
function zl(e, t, n) {
|
|
7190
7190
|
let r = this, i = 0, a = 0, o;
|
|
7191
7191
|
return s;
|
|
7192
7192
|
function s(e) {
|
|
@@ -7206,25 +7206,25 @@ function Rl(e, t, n) {
|
|
|
7206
7206
|
return e === 124 || (o = !0, a += 1), u(e);
|
|
7207
7207
|
}
|
|
7208
7208
|
function u(t) {
|
|
7209
|
-
return t === null ? n(t) :
|
|
7209
|
+
return t === null ? n(t) : q(t) ? a > 1 ? (a = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), p) : n(t) : Y(t) ? X(e, u, "whitespace")(t) : (a += 1, o && (o = !1, i += 1), t === 124 ? (e.enter("tableCellDivider"), e.consume(t), e.exit("tableCellDivider"), o = !0, u) : (e.enter("data"), d(t)));
|
|
7210
7210
|
}
|
|
7211
7211
|
function d(t) {
|
|
7212
|
-
return t === null || t === 124 ||
|
|
7212
|
+
return t === null || t === 124 || J(t) ? (e.exit("data"), u(t)) : (e.consume(t), t === 92 ? f : d);
|
|
7213
7213
|
}
|
|
7214
7214
|
function f(t) {
|
|
7215
7215
|
return t === 92 || t === 124 ? (e.consume(t), d) : d(t);
|
|
7216
7216
|
}
|
|
7217
7217
|
function p(t) {
|
|
7218
|
-
return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(t) : (e.enter("tableDelimiterRow"), o = !1,
|
|
7218
|
+
return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(t) : (e.enter("tableDelimiterRow"), o = !1, Y(t) ? X(e, m, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(t) : m(t));
|
|
7219
7219
|
}
|
|
7220
7220
|
function m(t) {
|
|
7221
7221
|
return t === 45 || t === 58 ? g(t) : t === 124 ? (o = !0, e.enter("tableCellDivider"), e.consume(t), e.exit("tableCellDivider"), h) : x(t);
|
|
7222
7222
|
}
|
|
7223
7223
|
function h(t) {
|
|
7224
|
-
return
|
|
7224
|
+
return Y(t) ? X(e, g, "whitespace")(t) : g(t);
|
|
7225
7225
|
}
|
|
7226
7226
|
function g(t) {
|
|
7227
|
-
return t === 58 ? (a += 1, o = !0, e.enter("tableDelimiterMarker"), e.consume(t), e.exit("tableDelimiterMarker"), _) : t === 45 ? (a += 1, _(t)) : t === null ||
|
|
7227
|
+
return t === 58 ? (a += 1, o = !0, e.enter("tableDelimiterMarker"), e.consume(t), e.exit("tableDelimiterMarker"), _) : t === 45 ? (a += 1, _(t)) : t === null || q(t) ? b(t) : x(t);
|
|
7228
7228
|
}
|
|
7229
7229
|
function _(t) {
|
|
7230
7230
|
return t === 45 ? (e.enter("tableDelimiterFiller"), v(t)) : x(t);
|
|
@@ -7233,10 +7233,10 @@ function Rl(e, t, n) {
|
|
|
7233
7233
|
return t === 45 ? (e.consume(t), v) : t === 58 ? (o = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(t), e.exit("tableDelimiterMarker"), y) : (e.exit("tableDelimiterFiller"), y(t));
|
|
7234
7234
|
}
|
|
7235
7235
|
function y(t) {
|
|
7236
|
-
return
|
|
7236
|
+
return Y(t) ? X(e, b, "whitespace")(t) : b(t);
|
|
7237
7237
|
}
|
|
7238
7238
|
function b(n) {
|
|
7239
|
-
return n === 124 ? m(n) : n === null ||
|
|
7239
|
+
return n === 124 ? m(n) : n === null || q(n) ? !o || i !== a ? x(n) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), t(n)) : x(n);
|
|
7240
7240
|
}
|
|
7241
7241
|
function x(e) {
|
|
7242
7242
|
return n(e);
|
|
@@ -7245,16 +7245,16 @@ function Rl(e, t, n) {
|
|
|
7245
7245
|
return e.enter("tableRow"), C(t);
|
|
7246
7246
|
}
|
|
7247
7247
|
function C(n) {
|
|
7248
|
-
return n === 124 ? (e.enter("tableCellDivider"), e.consume(n), e.exit("tableCellDivider"), C) : n === null ||
|
|
7248
|
+
return n === 124 ? (e.enter("tableCellDivider"), e.consume(n), e.exit("tableCellDivider"), C) : n === null || q(n) ? (e.exit("tableRow"), t(n)) : Y(n) ? X(e, C, "whitespace")(n) : (e.enter("data"), w(n));
|
|
7249
7249
|
}
|
|
7250
7250
|
function w(t) {
|
|
7251
|
-
return t === null || t === 124 ||
|
|
7251
|
+
return t === null || t === 124 || J(t) ? (e.exit("data"), C(t)) : (e.consume(t), t === 92 ? T : w);
|
|
7252
7252
|
}
|
|
7253
7253
|
function T(t) {
|
|
7254
7254
|
return t === 92 || t === 124 ? (e.consume(t), w) : w(t);
|
|
7255
7255
|
}
|
|
7256
7256
|
}
|
|
7257
|
-
function
|
|
7257
|
+
function Bl(e, t) {
|
|
7258
7258
|
let n = -1, r = !0, i = 0, a = [
|
|
7259
7259
|
0,
|
|
7260
7260
|
0,
|
|
@@ -7265,10 +7265,10 @@ function zl(e, t) {
|
|
|
7265
7265
|
0,
|
|
7266
7266
|
0,
|
|
7267
7267
|
0
|
|
7268
|
-
], s = !1, c = 0, l, u, d, f = new
|
|
7268
|
+
], s = !1, c = 0, l, u, d, f = new Fl();
|
|
7269
7269
|
for (; ++n < e.length;) {
|
|
7270
7270
|
let p = e[n], m = p[1];
|
|
7271
|
-
p[0] === "enter" ? m.type === "tableHead" ? (s = !1, c !== 0 && (
|
|
7271
|
+
p[0] === "enter" ? m.type === "tableHead" ? (s = !1, c !== 0 && (Hl(f, t, c, l, u), u = void 0, c = 0), l = {
|
|
7272
7272
|
type: "table",
|
|
7273
7273
|
start: Object.assign({}, m.start),
|
|
7274
7274
|
end: Object.assign({}, m.end)
|
|
@@ -7294,32 +7294,32 @@ function zl(e, t) {
|
|
|
7294
7294
|
"enter",
|
|
7295
7295
|
u,
|
|
7296
7296
|
t
|
|
7297
|
-
]])), i = m.type === "tableDelimiterRow" ? 2 : u ? 3 : 1) : i && (m.type === "data" || m.type === "tableDelimiterMarker" || m.type === "tableDelimiterFiller") ? (r = !1, o[2] === 0 && (a[1] !== 0 && (o[0] = o[1], d =
|
|
7297
|
+
]])), i = m.type === "tableDelimiterRow" ? 2 : u ? 3 : 1) : i && (m.type === "data" || m.type === "tableDelimiterMarker" || m.type === "tableDelimiterFiller") ? (r = !1, o[2] === 0 && (a[1] !== 0 && (o[0] = o[1], d = Vl(f, t, a, i, void 0, d), a = [
|
|
7298
7298
|
0,
|
|
7299
7299
|
0,
|
|
7300
7300
|
0,
|
|
7301
7301
|
0
|
|
7302
|
-
]), o[2] = n)) : m.type === "tableCellDivider" && (r ? r = !1 : (a[1] !== 0 && (o[0] = o[1], d =
|
|
7302
|
+
]), o[2] = n)) : m.type === "tableCellDivider" && (r ? r = !1 : (a[1] !== 0 && (o[0] = o[1], d = Vl(f, t, a, i, void 0, d)), a = o, o = [
|
|
7303
7303
|
a[1],
|
|
7304
7304
|
n,
|
|
7305
7305
|
0,
|
|
7306
7306
|
0
|
|
7307
|
-
])) : m.type === "tableHead" ? (s = !0, c = n) : m.type === "tableRow" || m.type === "tableDelimiterRow" ? (c = n, a[1] === 0 ? o[1] !== 0 && (d =
|
|
7307
|
+
])) : m.type === "tableHead" ? (s = !0, c = n) : m.type === "tableRow" || m.type === "tableDelimiterRow" ? (c = n, a[1] === 0 ? o[1] !== 0 && (d = Vl(f, t, o, i, n, d)) : (o[0] = o[1], d = Vl(f, t, a, i, n, d)), i = 0) : i && (m.type === "data" || m.type === "tableDelimiterMarker" || m.type === "tableDelimiterFiller") && (o[3] = n);
|
|
7308
7308
|
}
|
|
7309
|
-
for (c !== 0 &&
|
|
7309
|
+
for (c !== 0 && Hl(f, t, c, l, u), f.consume(t.events), n = -1; ++n < t.events.length;) {
|
|
7310
7310
|
let e = t.events[n];
|
|
7311
|
-
e[0] === "enter" && e[1].type === "table" && (e[1]._align =
|
|
7311
|
+
e[0] === "enter" && e[1].type === "table" && (e[1]._align = Ll(t.events, n));
|
|
7312
7312
|
}
|
|
7313
7313
|
return e;
|
|
7314
7314
|
}
|
|
7315
|
-
function
|
|
7315
|
+
function Vl(e, t, n, r, i, a) {
|
|
7316
7316
|
let o = r === 1 ? "tableHeader" : r === 2 ? "tableDelimiter" : "tableData";
|
|
7317
|
-
n[0] !== 0 && (a.end = Object.assign({},
|
|
7317
|
+
n[0] !== 0 && (a.end = Object.assign({}, Ul(t.events, n[0])), e.add(n[0], 0, [[
|
|
7318
7318
|
"exit",
|
|
7319
7319
|
a,
|
|
7320
7320
|
t
|
|
7321
7321
|
]]));
|
|
7322
|
-
let s =
|
|
7322
|
+
let s = Ul(t.events, n[1]);
|
|
7323
7323
|
if (a = {
|
|
7324
7324
|
type: o,
|
|
7325
7325
|
start: Object.assign({}, s),
|
|
@@ -7329,7 +7329,7 @@ function Bl(e, t, n, r, i, a) {
|
|
|
7329
7329
|
a,
|
|
7330
7330
|
t
|
|
7331
7331
|
]]), n[2] !== 0) {
|
|
7332
|
-
let i =
|
|
7332
|
+
let i = Ul(t.events, n[2]), a = Ul(t.events, n[3]), o = {
|
|
7333
7333
|
type: "tableContent",
|
|
7334
7334
|
start: Object.assign({}, i),
|
|
7335
7335
|
end: Object.assign({}, a)
|
|
@@ -7351,14 +7351,14 @@ function Bl(e, t, n, r, i, a) {
|
|
|
7351
7351
|
t
|
|
7352
7352
|
]]);
|
|
7353
7353
|
}
|
|
7354
|
-
return i !== void 0 && (a.end = Object.assign({},
|
|
7354
|
+
return i !== void 0 && (a.end = Object.assign({}, Ul(t.events, i)), e.add(i, 0, [[
|
|
7355
7355
|
"exit",
|
|
7356
7356
|
a,
|
|
7357
7357
|
t
|
|
7358
7358
|
]]), a = void 0), a;
|
|
7359
7359
|
}
|
|
7360
|
-
function
|
|
7361
|
-
let a = [], o =
|
|
7360
|
+
function Hl(e, t, n, r, i) {
|
|
7361
|
+
let a = [], o = Ul(t.events, n);
|
|
7362
7362
|
i && (i.end = Object.assign({}, o), a.push([
|
|
7363
7363
|
"exit",
|
|
7364
7364
|
i,
|
|
@@ -7369,66 +7369,66 @@ function Vl(e, t, n, r, i) {
|
|
|
7369
7369
|
t
|
|
7370
7370
|
]), e.add(n + 1, 0, a);
|
|
7371
7371
|
}
|
|
7372
|
-
function
|
|
7372
|
+
function Ul(e, t) {
|
|
7373
7373
|
let n = e[t], r = n[0] === "enter" ? "start" : "end";
|
|
7374
7374
|
return n[1][r];
|
|
7375
7375
|
}
|
|
7376
7376
|
// ../../node_modules/.pnpm/micromark-extension-gfm-task-list-item@2.1.0/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js
|
|
7377
|
-
var
|
|
7377
|
+
var Wl = {
|
|
7378
7378
|
name: "tasklistCheck",
|
|
7379
|
-
tokenize:
|
|
7379
|
+
tokenize: Kl
|
|
7380
7380
|
};
|
|
7381
|
-
function
|
|
7382
|
-
return { text: { 91:
|
|
7381
|
+
function Gl() {
|
|
7382
|
+
return { text: { 91: Wl } };
|
|
7383
7383
|
}
|
|
7384
|
-
function
|
|
7384
|
+
function Kl(e, t, n) {
|
|
7385
7385
|
let r = this;
|
|
7386
7386
|
return i;
|
|
7387
7387
|
function i(t) {
|
|
7388
7388
|
return r.previous !== null || !r._gfmTasklistFirstContentOfListItem ? n(t) : (e.enter("taskListCheck"), e.enter("taskListCheckMarker"), e.consume(t), e.exit("taskListCheckMarker"), a);
|
|
7389
7389
|
}
|
|
7390
7390
|
function a(t) {
|
|
7391
|
-
return
|
|
7391
|
+
return J(t) ? (e.enter("taskListCheckValueUnchecked"), e.consume(t), e.exit("taskListCheckValueUnchecked"), o) : t === 88 || t === 120 ? (e.enter("taskListCheckValueChecked"), e.consume(t), e.exit("taskListCheckValueChecked"), o) : n(t);
|
|
7392
7392
|
}
|
|
7393
7393
|
function o(t) {
|
|
7394
7394
|
return t === 93 ? (e.enter("taskListCheckMarker"), e.consume(t), e.exit("taskListCheckMarker"), e.exit("taskListCheck"), s) : n(t);
|
|
7395
7395
|
}
|
|
7396
7396
|
function s(r) {
|
|
7397
|
-
return
|
|
7397
|
+
return q(r) ? t(r) : Y(r) ? e.check({ tokenize: ql }, t, n)(r) : n(r);
|
|
7398
7398
|
}
|
|
7399
7399
|
}
|
|
7400
|
-
function
|
|
7401
|
-
return
|
|
7400
|
+
function ql(e, t, n) {
|
|
7401
|
+
return X(e, r, "whitespace");
|
|
7402
7402
|
function r(e) {
|
|
7403
7403
|
return e === null ? n(e) : t(e);
|
|
7404
7404
|
}
|
|
7405
7405
|
}
|
|
7406
7406
|
// ../../node_modules/.pnpm/micromark-extension-gfm@3.0.0/node_modules/micromark-extension-gfm/index.js
|
|
7407
|
-
function
|
|
7408
|
-
return
|
|
7409
|
-
|
|
7410
|
-
|
|
7411
|
-
|
|
7412
|
-
|
|
7413
|
-
|
|
7407
|
+
function Jl(e) {
|
|
7408
|
+
return sn([
|
|
7409
|
+
ul(),
|
|
7410
|
+
El(),
|
|
7411
|
+
Pl(e),
|
|
7412
|
+
Rl(),
|
|
7413
|
+
Gl()
|
|
7414
7414
|
]);
|
|
7415
7415
|
}
|
|
7416
7416
|
// ../../node_modules/.pnpm/remark-gfm@4.0.1/node_modules/remark-gfm/lib/index.js
|
|
7417
|
-
var
|
|
7418
|
-
function
|
|
7419
|
-
let t = this, n = e ||
|
|
7420
|
-
i.push(
|
|
7417
|
+
var Yl = {};
|
|
7418
|
+
function Xl(e) {
|
|
7419
|
+
let t = this, n = e || Yl, r = t.data(), i = r.micromarkExtensions ||= [], a = r.fromMarkdownExtensions ||= [], o = r.toMarkdownExtensions ||= [];
|
|
7420
|
+
i.push(Jl(n)), a.push(el()), o.push(tl(n));
|
|
7421
7421
|
}
|
|
7422
7422
|
// src/utils/markdown-content.tsx
|
|
7423
|
-
var
|
|
7423
|
+
var Zl = qo, Ql = (e) => /* @__PURE__ */ E("a", {
|
|
7424
7424
|
href: e.href,
|
|
7425
7425
|
target: "_blank",
|
|
7426
7426
|
rel: "noreferrer",
|
|
7427
7427
|
children: e.children
|
|
7428
7428
|
});
|
|
7429
|
-
function
|
|
7429
|
+
function $l(e) {
|
|
7430
7430
|
let t = e.components || {};
|
|
7431
|
-
return t.a ||=
|
|
7431
|
+
return t.a ||= Ql, /* @__PURE__ */ E(Zl, {
|
|
7432
7432
|
...e,
|
|
7433
7433
|
components: t,
|
|
7434
7434
|
allowedElements: [
|
|
@@ -7443,25 +7443,25 @@ function Ql(e) {
|
|
|
7443
7443
|
]
|
|
7444
7444
|
});
|
|
7445
7445
|
}
|
|
7446
|
-
var
|
|
7447
|
-
function
|
|
7446
|
+
var eu = /* @__PURE__ */ "a.p.em.strong.img.ul.ol.li.h1.h2.h3.h4.h5.h6.table.thead.tbody.tr.th.td.code.pre.blockquote.hr.del.br.input".split(".");
|
|
7447
|
+
function tu(e) {
|
|
7448
7448
|
let t = e.components || {};
|
|
7449
|
-
return t.a ||=
|
|
7449
|
+
return t.a ||= Ql, /* @__PURE__ */ E(Zl, {
|
|
7450
7450
|
...e,
|
|
7451
|
-
remarkPlugins: [
|
|
7451
|
+
remarkPlugins: [Xl],
|
|
7452
7452
|
components: t,
|
|
7453
|
-
allowedElements:
|
|
7453
|
+
allowedElements: eu
|
|
7454
7454
|
});
|
|
7455
7455
|
}
|
|
7456
7456
|
// src/markdown/alert-blockquote.tsx
|
|
7457
|
-
var
|
|
7457
|
+
var nu = {
|
|
7458
7458
|
NOTE: {
|
|
7459
7459
|
variant: "info",
|
|
7460
|
-
icon:
|
|
7460
|
+
icon: fe
|
|
7461
7461
|
},
|
|
7462
7462
|
TIP: {
|
|
7463
7463
|
variant: "positive",
|
|
7464
|
-
icon:
|
|
7464
|
+
icon: pe
|
|
7465
7465
|
},
|
|
7466
7466
|
IMPORTANT: {
|
|
7467
7467
|
variant: "info",
|
|
@@ -7469,121 +7469,121 @@ var tu = {
|
|
|
7469
7469
|
},
|
|
7470
7470
|
WARNING: {
|
|
7471
7471
|
variant: "warning",
|
|
7472
|
-
icon:
|
|
7472
|
+
icon: he
|
|
7473
7473
|
},
|
|
7474
7474
|
CAUTION: {
|
|
7475
7475
|
variant: "critical",
|
|
7476
7476
|
icon: ie
|
|
7477
7477
|
}
|
|
7478
|
-
},
|
|
7479
|
-
function
|
|
7478
|
+
}, ru = /^\s*\[!(NOTE|TIP|IMPORTANT|WARNING|CAUTION)\]\s*\n?/;
|
|
7479
|
+
function iu(e) {
|
|
7480
7480
|
let [t] = n.toArray(e);
|
|
7481
7481
|
return typeof t == "string" ? t : "";
|
|
7482
7482
|
}
|
|
7483
|
-
function
|
|
7483
|
+
function au(e) {
|
|
7484
7484
|
let t = n.toArray(e).filter((e) => typeof e != "string" || e.trim() !== ""), a = t.findIndex((e) => i(e));
|
|
7485
7485
|
if (a === -1) return e;
|
|
7486
7486
|
let o = t[a], s = n.toArray(o.props.children), [c] = s;
|
|
7487
7487
|
if (typeof c != "string") return e;
|
|
7488
|
-
let l = c.replace(
|
|
7488
|
+
let l = c.replace(ru, ""), u = s.slice(1);
|
|
7489
7489
|
if (l === "" && u.length === 0) return t.filter((e, t) => t !== a);
|
|
7490
7490
|
let d = r(o, { children: l === "" ? u : [l, ...u] });
|
|
7491
7491
|
return t.map((e, t) => t === a ? d : e);
|
|
7492
7492
|
}
|
|
7493
|
-
function
|
|
7493
|
+
function ou(e) {
|
|
7494
7494
|
let t = n.toArray(e).find((e) => i(e));
|
|
7495
7495
|
if (!i(t)) return null;
|
|
7496
|
-
let r = t.props, a =
|
|
7496
|
+
let r = t.props, a = ru.exec(iu(r.children));
|
|
7497
7497
|
return a === null ? null : a[1];
|
|
7498
7498
|
}
|
|
7499
|
-
function
|
|
7500
|
-
let i =
|
|
7501
|
-
if (i === null) return
|
|
7499
|
+
function su({ children: e, fallback: t, node: n, ...r }) {
|
|
7500
|
+
let i = ou(e);
|
|
7501
|
+
if (i === null) return E(t || "blockquote", {
|
|
7502
7502
|
...r,
|
|
7503
7503
|
children: e
|
|
7504
7504
|
});
|
|
7505
|
-
let { variant: a, icon: o } =
|
|
7506
|
-
return /* @__PURE__ */
|
|
7505
|
+
let { variant: a, icon: o } = nu[i];
|
|
7506
|
+
return /* @__PURE__ */ D("div", {
|
|
7507
7507
|
className: "rjsf-f0-callout",
|
|
7508
7508
|
"data-variant": a,
|
|
7509
|
-
children: [/* @__PURE__ */
|
|
7509
|
+
children: [/* @__PURE__ */ E(ne, {
|
|
7510
7510
|
icon: o,
|
|
7511
7511
|
size: "sm"
|
|
7512
|
-
}), /* @__PURE__ */
|
|
7512
|
+
}), /* @__PURE__ */ E("div", {
|
|
7513
7513
|
className: "rjsf-f0-callout-body",
|
|
7514
|
-
children:
|
|
7514
|
+
children: au(e)
|
|
7515
7515
|
})]
|
|
7516
7516
|
});
|
|
7517
7517
|
}
|
|
7518
7518
|
// src/markdown/markdown-components.ts
|
|
7519
|
-
var
|
|
7520
|
-
delete
|
|
7521
|
-
var
|
|
7522
|
-
|
|
7519
|
+
var cu = { ...M };
|
|
7520
|
+
delete cu["entity-ref"];
|
|
7521
|
+
var lu = cu.blockquote;
|
|
7522
|
+
cu.blockquote = (e) => t.createElement(su, {
|
|
7523
7523
|
...e,
|
|
7524
|
-
fallback:
|
|
7524
|
+
fallback: lu
|
|
7525
7525
|
});
|
|
7526
|
-
var
|
|
7526
|
+
var uu = cu;
|
|
7527
7527
|
// src/templates/field-template.tsx
|
|
7528
|
-
function
|
|
7529
|
-
let { id: t, children: n, displayLabel: r, rawErrors: i = [], errors: a, help: o, rawDescription: s, hidden: c, label: l, required: u, schema: d, uiSchema: f, registry: p, fieldPathId: m } = e, h =
|
|
7530
|
-
if (c) return /* @__PURE__ */
|
|
7528
|
+
function du(e) {
|
|
7529
|
+
let { id: t, children: n, displayLabel: r, rawErrors: i = [], errors: a, help: o, rawDescription: s, hidden: c, label: l, required: u, schema: d, uiSchema: f, registry: p, fieldPathId: m } = e, h = b(f), g = y("WrapIfAdditionalTemplate", p, h);
|
|
7530
|
+
if (c) return /* @__PURE__ */ E("div", {
|
|
7531
7531
|
className: "rjsf-f0-hidden",
|
|
7532
7532
|
children: n
|
|
7533
7533
|
});
|
|
7534
|
-
let _ = h.widget === "checkbox" || d.type === "boolean" && h.widget !== "oauth",
|
|
7535
|
-
return /* @__PURE__ */
|
|
7536
|
-
d?.markdown?.before && /* @__PURE__ */
|
|
7534
|
+
let _ = h.widget === "checkbox" || d.type === "boolean" && h.widget !== "oauth", v = typeof m?.path?.[m.path.length - 1] == "number" && d.type !== "object" && d.type !== "array", x = r && !_ && !v && !!l;
|
|
7535
|
+
return /* @__PURE__ */ D(T, { children: [
|
|
7536
|
+
d?.markdown?.before && /* @__PURE__ */ E("div", {
|
|
7537
7537
|
className: "fcode-form-markdown",
|
|
7538
|
-
children: /* @__PURE__ */
|
|
7539
|
-
components:
|
|
7538
|
+
children: /* @__PURE__ */ E(tu, {
|
|
7539
|
+
components: uu,
|
|
7540
7540
|
children: d.markdown.before
|
|
7541
7541
|
})
|
|
7542
7542
|
}),
|
|
7543
|
-
/* @__PURE__ */
|
|
7543
|
+
/* @__PURE__ */ E(g, {
|
|
7544
7544
|
...e,
|
|
7545
|
-
children: /* @__PURE__ */
|
|
7545
|
+
children: /* @__PURE__ */ D("div", {
|
|
7546
7546
|
className: "rjsf-f0-field",
|
|
7547
7547
|
children: [
|
|
7548
|
-
x && /* @__PURE__ */
|
|
7548
|
+
x && /* @__PURE__ */ D("label", {
|
|
7549
7549
|
className: "rjsf-f0-label",
|
|
7550
7550
|
htmlFor: t,
|
|
7551
|
-
children: [/* @__PURE__ */
|
|
7551
|
+
children: [/* @__PURE__ */ E($l, {
|
|
7552
7552
|
components: { p: "span" },
|
|
7553
7553
|
children: l
|
|
7554
|
-
}), u && /* @__PURE__ */
|
|
7554
|
+
}), u && /* @__PURE__ */ E("span", {
|
|
7555
7555
|
"aria-hidden": "true",
|
|
7556
7556
|
children: "\xA0*"
|
|
7557
7557
|
})]
|
|
7558
7558
|
}),
|
|
7559
7559
|
n,
|
|
7560
|
-
r && s && /* @__PURE__ */
|
|
7560
|
+
r && s && /* @__PURE__ */ E("div", {
|
|
7561
7561
|
className: "rjsf-f0-help",
|
|
7562
|
-
children: /* @__PURE__ */
|
|
7562
|
+
children: /* @__PURE__ */ E($l, { children: s })
|
|
7563
7563
|
}),
|
|
7564
7564
|
i.length > 0 && a,
|
|
7565
7565
|
o
|
|
7566
7566
|
]
|
|
7567
7567
|
})
|
|
7568
7568
|
}),
|
|
7569
|
-
d?.markdown?.after && /* @__PURE__ */
|
|
7569
|
+
d?.markdown?.after && /* @__PURE__ */ E("div", {
|
|
7570
7570
|
className: "fcode-form-markdown",
|
|
7571
|
-
children: /* @__PURE__ */
|
|
7572
|
-
components:
|
|
7571
|
+
children: /* @__PURE__ */ E(tu, {
|
|
7572
|
+
components: uu,
|
|
7573
7573
|
children: d.markdown.after
|
|
7574
7574
|
})
|
|
7575
7575
|
})
|
|
7576
7576
|
] });
|
|
7577
7577
|
}
|
|
7578
7578
|
// src/templates/button-templates.tsx
|
|
7579
|
-
function
|
|
7579
|
+
function fu(e) {
|
|
7580
7580
|
return a((t) => {
|
|
7581
7581
|
t.preventDefault(), e?.(t);
|
|
7582
7582
|
}, [e]);
|
|
7583
7583
|
}
|
|
7584
|
-
function
|
|
7585
|
-
let d =
|
|
7586
|
-
return /* @__PURE__ */
|
|
7584
|
+
function pu({ icon: e, label: t, variant: n = "outline", disabled: r, onClick: i, id: a, registry: o, uiSchema: s, iconType: c, "aria-expanded": l, ...u }) {
|
|
7585
|
+
let d = fu(i);
|
|
7586
|
+
return /* @__PURE__ */ E(k, {
|
|
7587
7587
|
...u,
|
|
7588
7588
|
"aria-expanded": l === void 0 ? void 0 : l === !0 || l === "true",
|
|
7589
7589
|
"data-testid": a,
|
|
@@ -7596,150 +7596,150 @@ function fu({ icon: e, label: t, variant: n = "outline", disabled: r, onClick: i
|
|
|
7596
7596
|
onClick: d
|
|
7597
7597
|
});
|
|
7598
7598
|
}
|
|
7599
|
-
function
|
|
7599
|
+
function mu(e) {
|
|
7600
7600
|
let { translateString: t } = e.registry;
|
|
7601
|
-
return /* @__PURE__ */
|
|
7601
|
+
return /* @__PURE__ */ E(pu, {
|
|
7602
7602
|
...e,
|
|
7603
|
-
icon:
|
|
7604
|
-
label: t(
|
|
7603
|
+
icon: de,
|
|
7604
|
+
label: t(u.CopyButton)
|
|
7605
7605
|
});
|
|
7606
7606
|
}
|
|
7607
|
-
function
|
|
7607
|
+
function hu(e) {
|
|
7608
7608
|
let { translateString: t } = e.registry;
|
|
7609
|
-
return /* @__PURE__ */
|
|
7609
|
+
return /* @__PURE__ */ E(pu, {
|
|
7610
7610
|
...e,
|
|
7611
|
-
icon:
|
|
7612
|
-
label: t(
|
|
7611
|
+
icon: se,
|
|
7612
|
+
label: t(u.MoveUpButton)
|
|
7613
7613
|
});
|
|
7614
7614
|
}
|
|
7615
|
-
function
|
|
7615
|
+
function gu(e) {
|
|
7616
7616
|
let { translateString: t } = e.registry;
|
|
7617
|
-
return /* @__PURE__ */
|
|
7617
|
+
return /* @__PURE__ */ E(pu, {
|
|
7618
7618
|
...e,
|
|
7619
|
-
icon:
|
|
7620
|
-
label: t(
|
|
7619
|
+
icon: P,
|
|
7620
|
+
label: t(u.MoveDownButton)
|
|
7621
7621
|
});
|
|
7622
7622
|
}
|
|
7623
|
-
function
|
|
7623
|
+
function _u(e) {
|
|
7624
7624
|
let { translateString: t } = e.registry;
|
|
7625
|
-
return /* @__PURE__ */
|
|
7625
|
+
return /* @__PURE__ */ E(pu, {
|
|
7626
7626
|
...e,
|
|
7627
|
-
icon:
|
|
7627
|
+
icon: le,
|
|
7628
7628
|
variant: "critical",
|
|
7629
|
-
label: t(
|
|
7629
|
+
label: t(u.RemoveButton)
|
|
7630
7630
|
});
|
|
7631
7631
|
}
|
|
7632
|
-
function
|
|
7632
|
+
function vu(e) {
|
|
7633
7633
|
let { translateString: t } = e.registry;
|
|
7634
|
-
return /* @__PURE__ */
|
|
7634
|
+
return /* @__PURE__ */ E(pu, {
|
|
7635
7635
|
...e,
|
|
7636
|
-
icon:
|
|
7636
|
+
icon: le,
|
|
7637
7637
|
variant: "ghost",
|
|
7638
|
-
label: t(
|
|
7638
|
+
label: t(u.ClearButton)
|
|
7639
7639
|
});
|
|
7640
7640
|
}
|
|
7641
|
-
function
|
|
7642
|
-
let { translateString: t } = e.registry, { disabled: n, onClick: r, id: i } = e, a =
|
|
7643
|
-
return /* @__PURE__ */
|
|
7641
|
+
function yu(e) {
|
|
7642
|
+
let { translateString: t } = e.registry, { disabled: n, onClick: r, id: i } = e, a = fu(r), o = t(u.AddItemButton);
|
|
7643
|
+
return /* @__PURE__ */ E(k, {
|
|
7644
7644
|
"data-testid": i,
|
|
7645
7645
|
label: o,
|
|
7646
|
-
icon:
|
|
7646
|
+
icon: N,
|
|
7647
7647
|
size: "sm",
|
|
7648
7648
|
variant: "outline",
|
|
7649
7649
|
disabled: n,
|
|
7650
7650
|
onClick: a
|
|
7651
7651
|
});
|
|
7652
7652
|
}
|
|
7653
|
-
function
|
|
7654
|
-
let { submitText: t, norender: n, props: r = {} } =
|
|
7653
|
+
function bu({ uiSchema: e }) {
|
|
7654
|
+
let { submitText: t, norender: n, props: r = {} } = v(e);
|
|
7655
7655
|
if (n) return null;
|
|
7656
7656
|
let i = r["data-fcode-step"] === "next";
|
|
7657
|
-
return /* @__PURE__ */
|
|
7657
|
+
return /* @__PURE__ */ E("div", {
|
|
7658
7658
|
className: "rjsf-f0-submit",
|
|
7659
|
-
children: /* @__PURE__ */
|
|
7659
|
+
children: /* @__PURE__ */ E(k, {
|
|
7660
7660
|
label: t ?? "Submit",
|
|
7661
7661
|
variant: "default",
|
|
7662
|
-
icon: i ?
|
|
7662
|
+
icon: i ? oe : void 0,
|
|
7663
7663
|
disabled: r.disabled
|
|
7664
7664
|
})
|
|
7665
7665
|
});
|
|
7666
7666
|
}
|
|
7667
|
-
var
|
|
7668
|
-
SubmitButton:
|
|
7669
|
-
AddButton:
|
|
7670
|
-
CopyButton:
|
|
7671
|
-
MoveDownButton:
|
|
7672
|
-
MoveUpButton:
|
|
7673
|
-
RemoveButton:
|
|
7674
|
-
ClearButton:
|
|
7667
|
+
var xu = {
|
|
7668
|
+
SubmitButton: bu,
|
|
7669
|
+
AddButton: yu,
|
|
7670
|
+
CopyButton: mu,
|
|
7671
|
+
MoveDownButton: gu,
|
|
7672
|
+
MoveUpButton: hu,
|
|
7673
|
+
RemoveButton: _u,
|
|
7674
|
+
ClearButton: vu
|
|
7675
7675
|
};
|
|
7676
7676
|
// src/templates/misc-templates.tsx
|
|
7677
|
-
function
|
|
7678
|
-
let i =
|
|
7679
|
-
return i ? /* @__PURE__ */
|
|
7677
|
+
function Su({ id: e, title: t, uiSchema: n, optionalDataControl: r }) {
|
|
7678
|
+
let i = b(n).title || t;
|
|
7679
|
+
return i ? /* @__PURE__ */ D("div", {
|
|
7680
7680
|
id: e,
|
|
7681
7681
|
className: "rjsf-f0-title",
|
|
7682
|
-
children: [/* @__PURE__ */
|
|
7682
|
+
children: [/* @__PURE__ */ E(j, {
|
|
7683
7683
|
as: "h5",
|
|
7684
7684
|
variant: "heading",
|
|
7685
7685
|
content: i
|
|
7686
7686
|
}), r]
|
|
7687
7687
|
}) : null;
|
|
7688
7688
|
}
|
|
7689
|
-
function
|
|
7690
|
-
return t ? /* @__PURE__ */
|
|
7689
|
+
function Cu({ id: e, description: t }) {
|
|
7690
|
+
return t ? /* @__PURE__ */ E("div", {
|
|
7691
7691
|
id: e,
|
|
7692
7692
|
className: "rjsf-f0-section-description",
|
|
7693
|
-
children: typeof t == "string" ? /* @__PURE__ */
|
|
7693
|
+
children: typeof t == "string" ? /* @__PURE__ */ E($l, { children: t }) : t
|
|
7694
7694
|
}) : null;
|
|
7695
7695
|
}
|
|
7696
|
-
function
|
|
7696
|
+
function wu({ errors: e = [], fieldPathId: t }) {
|
|
7697
7697
|
let n = e.filter(Boolean);
|
|
7698
|
-
return n.length === 0 ? null : /* @__PURE__ */
|
|
7698
|
+
return n.length === 0 ? null : /* @__PURE__ */ E("ul", {
|
|
7699
7699
|
className: "rjsf-f0-errors",
|
|
7700
|
-
id:
|
|
7701
|
-
children: n.map((e, t) => /* @__PURE__ */
|
|
7700
|
+
id: _(t),
|
|
7701
|
+
children: n.map((e, t) => /* @__PURE__ */ E("li", { children: typeof e == "string" ? /* @__PURE__ */ E($l, {
|
|
7702
7702
|
components: { p: "span" },
|
|
7703
7703
|
children: e
|
|
7704
7704
|
}) : e }, `${e}-${t}`))
|
|
7705
7705
|
});
|
|
7706
7706
|
}
|
|
7707
|
-
function
|
|
7708
|
-
return t ? /* @__PURE__ */
|
|
7707
|
+
function Tu({ fieldPathId: e, help: t }) {
|
|
7708
|
+
return t ? /* @__PURE__ */ E("div", {
|
|
7709
7709
|
className: "rjsf-f0-help",
|
|
7710
|
-
id:
|
|
7710
|
+
id: x(e),
|
|
7711
7711
|
children: t
|
|
7712
7712
|
}) : null;
|
|
7713
7713
|
}
|
|
7714
|
-
function
|
|
7714
|
+
function Eu({ errors: e, registry: t }) {
|
|
7715
7715
|
let { translateString: n } = t;
|
|
7716
|
-
return /* @__PURE__ */
|
|
7716
|
+
return /* @__PURE__ */ E("div", {
|
|
7717
7717
|
className: "rjsf-f0-error-list",
|
|
7718
|
-
children: /* @__PURE__ */
|
|
7718
|
+
children: /* @__PURE__ */ E(O, {
|
|
7719
7719
|
variant: "critical",
|
|
7720
|
-
title: n(
|
|
7720
|
+
title: n(u.ErrorsLabel),
|
|
7721
7721
|
description: e.map((e) => e.stack).join("\n")
|
|
7722
7722
|
})
|
|
7723
7723
|
});
|
|
7724
7724
|
}
|
|
7725
|
-
function
|
|
7726
|
-
let { id: t, classNames: n, style: r, disabled: i, label: a, onKeyRename: o, onRemoveProperty:
|
|
7727
|
-
if (!(
|
|
7725
|
+
function Du(e) {
|
|
7726
|
+
let { id: t, classNames: n, style: r, disabled: i, label: a, onKeyRename: o, onRemoveProperty: s, readonly: d, required: f, schema: p, children: m, uiSchema: h, registry: g } = e, { templates: _, translateString: v } = g, { RemoveButton: y } = _.ButtonTemplates, [b, x] = c(a);
|
|
7727
|
+
if (!(l in p)) return /* @__PURE__ */ E("div", {
|
|
7728
7728
|
className: n,
|
|
7729
7729
|
style: r,
|
|
7730
7730
|
children: m
|
|
7731
7731
|
});
|
|
7732
7732
|
let S = `${t}-key`;
|
|
7733
|
-
return /* @__PURE__ */
|
|
7733
|
+
return /* @__PURE__ */ E("div", {
|
|
7734
7734
|
className: n,
|
|
7735
7735
|
style: r,
|
|
7736
|
-
children: /* @__PURE__ */
|
|
7736
|
+
children: /* @__PURE__ */ D("div", {
|
|
7737
7737
|
className: "rjsf-f0-additional-property",
|
|
7738
7738
|
children: [
|
|
7739
|
-
/* @__PURE__ */
|
|
7739
|
+
/* @__PURE__ */ E(re, {
|
|
7740
7740
|
id: S,
|
|
7741
7741
|
name: S,
|
|
7742
|
-
label: v(
|
|
7742
|
+
label: v(u.KeyLabel, [a]),
|
|
7743
7743
|
value: b,
|
|
7744
7744
|
required: f,
|
|
7745
7745
|
disabled: i || d,
|
|
@@ -7749,9 +7749,9 @@ function Eu(e) {
|
|
|
7749
7749
|
}
|
|
7750
7750
|
}),
|
|
7751
7751
|
m,
|
|
7752
|
-
/* @__PURE__ */
|
|
7752
|
+
/* @__PURE__ */ E(y, {
|
|
7753
7753
|
disabled: i || d,
|
|
7754
|
-
onClick:
|
|
7754
|
+
onClick: s,
|
|
7755
7755
|
uiSchema: h,
|
|
7756
7756
|
registry: g
|
|
7757
7757
|
})
|
|
@@ -7760,38 +7760,38 @@ function Eu(e) {
|
|
|
7760
7760
|
});
|
|
7761
7761
|
}
|
|
7762
7762
|
// src/templates/layout-templates.tsx
|
|
7763
|
-
function
|
|
7764
|
-
let { description: t, disabled: n, formData: r, fieldPathId: i, onAddProperty: a, optionalDataControl: o, properties: s, readonly: c, registry: l, required:
|
|
7763
|
+
function Ou(e) {
|
|
7764
|
+
let { description: t, disabled: n, formData: r, fieldPathId: i, onAddProperty: a, optionalDataControl: o, properties: s, readonly: c, registry: l, required: u, schema: m, title: h, uiSchema: g } = e, _ = b(g), v = y("TitleFieldTemplate", l, _), x = y("DescriptionFieldTemplate", l, _), { AddButton: S } = l.templates.ButtonTemplates;
|
|
7765
7765
|
if ((m.oneOf || m.anyOf) && !m.properties && s.length === 0) return null;
|
|
7766
7766
|
let w = !c && !n;
|
|
7767
|
-
return /* @__PURE__ */
|
|
7767
|
+
return /* @__PURE__ */ D("div", {
|
|
7768
7768
|
className: "rjsf-f0-object",
|
|
7769
7769
|
children: [
|
|
7770
|
-
h && /* @__PURE__ */
|
|
7771
|
-
id:
|
|
7770
|
+
h && /* @__PURE__ */ E(v, {
|
|
7771
|
+
id: C(i),
|
|
7772
7772
|
title: h,
|
|
7773
|
-
required:
|
|
7773
|
+
required: u,
|
|
7774
7774
|
schema: m,
|
|
7775
7775
|
uiSchema: g,
|
|
7776
7776
|
registry: l,
|
|
7777
7777
|
optionalDataControl: w ? o : void 0
|
|
7778
7778
|
}),
|
|
7779
|
-
t && /* @__PURE__ */
|
|
7780
|
-
id:
|
|
7779
|
+
t && /* @__PURE__ */ E(x, {
|
|
7780
|
+
id: p(i),
|
|
7781
7781
|
description: t,
|
|
7782
7782
|
schema: m,
|
|
7783
7783
|
uiSchema: g,
|
|
7784
7784
|
registry: l
|
|
7785
7785
|
}),
|
|
7786
7786
|
w ? void 0 : o,
|
|
7787
|
-
s.map((e) => /* @__PURE__ */
|
|
7787
|
+
s.map((e) => /* @__PURE__ */ E("div", {
|
|
7788
7788
|
className: e.hidden ? "rjsf-f0-hidden" : "rjsf-f0-row",
|
|
7789
7789
|
children: e.content
|
|
7790
7790
|
}, e.name)),
|
|
7791
|
-
|
|
7791
|
+
f(m, g, r) && /* @__PURE__ */ E("div", {
|
|
7792
7792
|
className: "rjsf-f0-add",
|
|
7793
|
-
children: /* @__PURE__ */
|
|
7794
|
-
id:
|
|
7793
|
+
children: /* @__PURE__ */ E(S, {
|
|
7794
|
+
id: d(i, "add"),
|
|
7795
7795
|
onClick: a,
|
|
7796
7796
|
disabled: n || c,
|
|
7797
7797
|
uiSchema: g,
|
|
@@ -7801,36 +7801,36 @@ function Du(e) {
|
|
|
7801
7801
|
]
|
|
7802
7802
|
});
|
|
7803
7803
|
}
|
|
7804
|
-
function
|
|
7805
|
-
let { canAdd: t, disabled: n, fieldPathId: r, items: i, optionalDataControl: a, onAddClick: o, readonly: s, registry: c, required: l, schema:
|
|
7806
|
-
return /* @__PURE__ */
|
|
7804
|
+
function ku(e) {
|
|
7805
|
+
let { canAdd: t, disabled: n, fieldPathId: r, items: i, optionalDataControl: a, onAddClick: o, readonly: s, registry: c, required: l, schema: u, title: f, uiSchema: p } = e, m = b(p), h = y("ArrayFieldTitleTemplate", c, m), g = y("ArrayFieldDescriptionTemplate", c, m), { AddButton: _ } = c.templates.ButtonTemplates, v = !s && !n;
|
|
7806
|
+
return /* @__PURE__ */ D("div", {
|
|
7807
7807
|
className: "rjsf-f0-array",
|
|
7808
7808
|
children: [
|
|
7809
|
-
/* @__PURE__ */
|
|
7809
|
+
/* @__PURE__ */ E(h, {
|
|
7810
7810
|
fieldPathId: r,
|
|
7811
7811
|
title: m.title || f,
|
|
7812
7812
|
required: l,
|
|
7813
|
-
schema:
|
|
7813
|
+
schema: u,
|
|
7814
7814
|
uiSchema: p,
|
|
7815
7815
|
registry: c,
|
|
7816
|
-
optionalDataControl:
|
|
7816
|
+
optionalDataControl: v ? a : void 0
|
|
7817
7817
|
}),
|
|
7818
|
-
/* @__PURE__ */
|
|
7818
|
+
/* @__PURE__ */ E(g, {
|
|
7819
7819
|
fieldPathId: r,
|
|
7820
|
-
description: m.description ||
|
|
7821
|
-
schema:
|
|
7820
|
+
description: m.description || u.description,
|
|
7821
|
+
schema: u,
|
|
7822
7822
|
uiSchema: p,
|
|
7823
7823
|
registry: c
|
|
7824
7824
|
}),
|
|
7825
|
-
|
|
7826
|
-
/* @__PURE__ */
|
|
7825
|
+
v ? void 0 : a,
|
|
7826
|
+
/* @__PURE__ */ E("div", {
|
|
7827
7827
|
className: "rjsf-f0-array-items",
|
|
7828
7828
|
children: i
|
|
7829
7829
|
}),
|
|
7830
|
-
t && /* @__PURE__ */
|
|
7830
|
+
t && /* @__PURE__ */ E("div", {
|
|
7831
7831
|
className: "rjsf-f0-add",
|
|
7832
|
-
children: /* @__PURE__ */
|
|
7833
|
-
id:
|
|
7832
|
+
children: /* @__PURE__ */ E(_, {
|
|
7833
|
+
id: d(r, "add"),
|
|
7834
7834
|
onClick: o,
|
|
7835
7835
|
disabled: n || s,
|
|
7836
7836
|
uiSchema: p,
|
|
@@ -7840,83 +7840,83 @@ function Ou(e) {
|
|
|
7840
7840
|
]
|
|
7841
7841
|
});
|
|
7842
7842
|
}
|
|
7843
|
-
function
|
|
7844
|
-
let { children: t, buttonsProps: n, hasToolbar: r, registry: i, schema: a, uiSchema: o } = e, s =
|
|
7845
|
-
return /* @__PURE__ */
|
|
7843
|
+
function Au(e) {
|
|
7844
|
+
let { children: t, buttonsProps: n, hasToolbar: r, registry: i, schema: a, uiSchema: o } = e, s = b(o), c = y("ArrayFieldItemButtonsTemplate", i, s), l = a.type === "object" || a.type === "array";
|
|
7845
|
+
return /* @__PURE__ */ D("div", {
|
|
7846
7846
|
className: l ? "rjsf-f0-array-item rjsf-f0-array-item-composite" : "rjsf-f0-array-item",
|
|
7847
|
-
children: [/* @__PURE__ */
|
|
7847
|
+
children: [/* @__PURE__ */ E("div", {
|
|
7848
7848
|
className: "rjsf-f0-array-item-content",
|
|
7849
7849
|
children: t
|
|
7850
|
-
}), r && /* @__PURE__ */
|
|
7850
|
+
}), r && /* @__PURE__ */ E("div", {
|
|
7851
7851
|
className: "rjsf-f0-array-item-toolbar",
|
|
7852
|
-
children: /* @__PURE__ */
|
|
7852
|
+
children: /* @__PURE__ */ E(c, { ...n })
|
|
7853
7853
|
})]
|
|
7854
7854
|
});
|
|
7855
7855
|
}
|
|
7856
|
-
function
|
|
7857
|
-
let { disabled: t, hasCopy: n, hasMoveDown: r, hasMoveUp: i, hasRemove: a, fieldPathId: o, onCopyItem: s, onRemoveItem: c, onMoveDownItem: l, onMoveUpItem:
|
|
7856
|
+
function ju(e) {
|
|
7857
|
+
let { disabled: t, hasCopy: n, hasMoveDown: r, hasMoveUp: i, hasRemove: a, fieldPathId: o, onCopyItem: s, onRemoveItem: c, onMoveDownItem: l, onMoveUpItem: u, readonly: f, registry: p, uiSchema: m } = e, { CopyButton: h, MoveDownButton: g, MoveUpButton: _, RemoveButton: v } = p.templates.ButtonTemplates, y = {
|
|
7858
7858
|
uiSchema: m,
|
|
7859
7859
|
registry: p
|
|
7860
7860
|
};
|
|
7861
|
-
return /* @__PURE__ */
|
|
7862
|
-
(i || r) && /* @__PURE__ */
|
|
7863
|
-
id:
|
|
7861
|
+
return /* @__PURE__ */ D(T, { children: [
|
|
7862
|
+
(i || r) && /* @__PURE__ */ E(_, {
|
|
7863
|
+
id: d(o, "moveUp"),
|
|
7864
7864
|
disabled: t || f || !i,
|
|
7865
|
-
onClick:
|
|
7865
|
+
onClick: u,
|
|
7866
7866
|
...y
|
|
7867
7867
|
}),
|
|
7868
|
-
(i || r) && /* @__PURE__ */
|
|
7869
|
-
id:
|
|
7868
|
+
(i || r) && /* @__PURE__ */ E(g, {
|
|
7869
|
+
id: d(o, "moveDown"),
|
|
7870
7870
|
disabled: t || f || !r,
|
|
7871
7871
|
onClick: l,
|
|
7872
7872
|
...y
|
|
7873
7873
|
}),
|
|
7874
|
-
n && /* @__PURE__ */
|
|
7875
|
-
id:
|
|
7874
|
+
n && /* @__PURE__ */ E(h, {
|
|
7875
|
+
id: d(o, "copy"),
|
|
7876
7876
|
disabled: t || f,
|
|
7877
7877
|
onClick: s,
|
|
7878
7878
|
...y
|
|
7879
7879
|
}),
|
|
7880
|
-
a && /* @__PURE__ */
|
|
7881
|
-
id:
|
|
7880
|
+
a && /* @__PURE__ */ E(v, {
|
|
7881
|
+
id: d(o, "remove"),
|
|
7882
7882
|
disabled: t || f,
|
|
7883
7883
|
onClick: c,
|
|
7884
7884
|
...y
|
|
7885
7885
|
})
|
|
7886
7886
|
] });
|
|
7887
7887
|
}
|
|
7888
|
-
function
|
|
7889
|
-
return /* @__PURE__ */
|
|
7888
|
+
function Mu({ children: e, className: t, column: n, ...r }) {
|
|
7889
|
+
return /* @__PURE__ */ E("div", {
|
|
7890
7890
|
className: t ?? (n ? void 0 : "rjsf-f0-grid"),
|
|
7891
7891
|
...r,
|
|
7892
7892
|
children: e
|
|
7893
7893
|
});
|
|
7894
7894
|
}
|
|
7895
|
-
function
|
|
7896
|
-
return /* @__PURE__ */
|
|
7895
|
+
function Nu({ selector: e, optionSchemaField: t }) {
|
|
7896
|
+
return /* @__PURE__ */ D("div", {
|
|
7897
7897
|
className: "rjsf-f0-multischema",
|
|
7898
|
-
children: [/* @__PURE__ */
|
|
7898
|
+
children: [/* @__PURE__ */ E("div", {
|
|
7899
7899
|
className: "rjsf-f0-row",
|
|
7900
7900
|
children: e
|
|
7901
7901
|
}), t]
|
|
7902
7902
|
});
|
|
7903
7903
|
}
|
|
7904
7904
|
// src/utils/field-label.ts
|
|
7905
|
-
function
|
|
7905
|
+
function Pu(e) {
|
|
7906
7906
|
return e ? e.replace(/!?\[([^\]]*)\]\([^)]*\)/g, "$1").replace(/[*_~`]/g, "").replace(/\s+/g, " ").trim() : "";
|
|
7907
7907
|
}
|
|
7908
|
-
function
|
|
7909
|
-
return !!e &&
|
|
7908
|
+
function Fu(e) {
|
|
7909
|
+
return !!e && Pu(e) !== e.trim();
|
|
7910
7910
|
}
|
|
7911
7911
|
// src/widgets/f0-field.tsx
|
|
7912
|
-
function
|
|
7912
|
+
function Iu({ field: e, toFieldValue: t, fromFieldValue: n, id: r, label: i, value: s, required: c, disabled: l, readonly: u, placeholder: d, rawErrors: f, onChange: p, onBlur: m }) {
|
|
7913
7913
|
let h = a((e) => p(n ? n(e) : e), [p, n]), g = a(() => m(r, s), [
|
|
7914
7914
|
m,
|
|
7915
7915
|
r,
|
|
7916
7916
|
s
|
|
7917
7917
|
]), _ = o(() => ({
|
|
7918
7918
|
id: r,
|
|
7919
|
-
label:
|
|
7919
|
+
label: Pu(i) || r,
|
|
7920
7920
|
placeholder: d,
|
|
7921
7921
|
helpText: void 0,
|
|
7922
7922
|
...e
|
|
@@ -7926,7 +7926,7 @@ function Fu({ field: e, toFieldValue: t, fromFieldValue: n, id: r, label: i, val
|
|
|
7926
7926
|
d,
|
|
7927
7927
|
e
|
|
7928
7928
|
]), [v] = f ?? [];
|
|
7929
|
-
return /* @__PURE__ */
|
|
7929
|
+
return /* @__PURE__ */ E(A, {
|
|
7930
7930
|
field: _,
|
|
7931
7931
|
value: t ? t(s) : s,
|
|
7932
7932
|
onChange: h,
|
|
@@ -7938,31 +7938,31 @@ function Fu({ field: e, toFieldValue: t, fromFieldValue: n, id: r, label: i, val
|
|
|
7938
7938
|
});
|
|
7939
7939
|
}
|
|
7940
7940
|
// src/widgets/input-widgets.tsx
|
|
7941
|
-
var
|
|
7941
|
+
var Lu = (e) => {
|
|
7942
7942
|
if (!e || typeof e != "string") return;
|
|
7943
7943
|
let t = new Date(e);
|
|
7944
7944
|
return Number.isNaN(t.getTime()) ? void 0 : t;
|
|
7945
|
-
},
|
|
7946
|
-
if (e instanceof Date && !Number.isNaN(e.getTime())) return `${e.getFullYear()}-${
|
|
7947
|
-
},
|
|
7948
|
-
let t =
|
|
7949
|
-
if (t && e instanceof Date) return `${t}T${
|
|
7950
|
-
},
|
|
7945
|
+
}, Ru = (e) => String(e).padStart(2, "0"), zu = (e) => {
|
|
7946
|
+
if (e instanceof Date && !Number.isNaN(e.getTime())) return `${e.getFullYear()}-${Ru(e.getMonth() + 1)}-${Ru(e.getDate())}`;
|
|
7947
|
+
}, Bu = (e) => {
|
|
7948
|
+
let t = zu(e);
|
|
7949
|
+
if (t && e instanceof Date) return `${t}T${Ru(e.getHours())}:${Ru(e.getMinutes())}`;
|
|
7950
|
+
}, Vu = {
|
|
7951
7951
|
number: "number",
|
|
7952
7952
|
integer: "number",
|
|
7953
7953
|
range: "number",
|
|
7954
7954
|
date: "date",
|
|
7955
7955
|
"datetime-local": "datetime",
|
|
7956
7956
|
time: "time"
|
|
7957
|
-
},
|
|
7957
|
+
}, Hu = /* @__PURE__ */ new Set([
|
|
7958
7958
|
"password",
|
|
7959
7959
|
"email",
|
|
7960
7960
|
"tel",
|
|
7961
7961
|
"url"
|
|
7962
7962
|
]);
|
|
7963
|
-
function
|
|
7963
|
+
function Uu(e) {
|
|
7964
7964
|
let { id: t, htmlName: n, autofocus: r, disabled: i, readonly: a, required: o, multiple: s, accept: c, onChangeOverride: l, onBlur: u, onFocus: d } = e;
|
|
7965
|
-
return /* @__PURE__ */
|
|
7965
|
+
return /* @__PURE__ */ E("input", {
|
|
7966
7966
|
id: t,
|
|
7967
7967
|
name: n || t,
|
|
7968
7968
|
className: "rjsf-f0-native-file",
|
|
@@ -7977,21 +7977,21 @@ function Hu(e) {
|
|
|
7977
7977
|
onFocus: (e) => d(t, e.target.value)
|
|
7978
7978
|
});
|
|
7979
7979
|
}
|
|
7980
|
-
function
|
|
7980
|
+
function Wu(e) {
|
|
7981
7981
|
let { type: t, schema: n, options: r } = e, i = t || (n.type === "number" || n.type === "integer" ? "number" : "text");
|
|
7982
|
-
if (i === "file") return /* @__PURE__ */
|
|
7983
|
-
let a =
|
|
7984
|
-
return a === "date" ? /* @__PURE__ */
|
|
7982
|
+
if (i === "file") return /* @__PURE__ */ E(Uu, { ...e });
|
|
7983
|
+
let a = Vu[i] ?? "text";
|
|
7984
|
+
return a === "date" ? /* @__PURE__ */ E(Iu, {
|
|
7985
7985
|
...e,
|
|
7986
7986
|
field: { type: "date" },
|
|
7987
|
-
toFieldValue:
|
|
7988
|
-
fromFieldValue:
|
|
7989
|
-
}) : a === "datetime" ? /* @__PURE__ */
|
|
7987
|
+
toFieldValue: Lu,
|
|
7988
|
+
fromFieldValue: zu
|
|
7989
|
+
}) : a === "datetime" ? /* @__PURE__ */ E(Iu, {
|
|
7990
7990
|
...e,
|
|
7991
7991
|
field: { type: "datetime" },
|
|
7992
|
-
toFieldValue:
|
|
7993
|
-
fromFieldValue:
|
|
7994
|
-
}) : a === "number" ? /* @__PURE__ */
|
|
7992
|
+
toFieldValue: Lu,
|
|
7993
|
+
fromFieldValue: Bu
|
|
7994
|
+
}) : a === "number" ? /* @__PURE__ */ E(Iu, {
|
|
7995
7995
|
...e,
|
|
7996
7996
|
field: {
|
|
7997
7997
|
type: "number",
|
|
@@ -8000,130 +8000,179 @@ function Uu(e) {
|
|
|
8000
8000
|
...n.type === "integer" && { maxDecimals: 0 }
|
|
8001
8001
|
},
|
|
8002
8002
|
fromFieldValue: (e) => e === "" || e === null ? void 0 : e
|
|
8003
|
-
}) : /* @__PURE__ */
|
|
8003
|
+
}) : /* @__PURE__ */ E(Iu, {
|
|
8004
8004
|
...e,
|
|
8005
8005
|
field: {
|
|
8006
8006
|
type: a,
|
|
8007
|
-
...
|
|
8007
|
+
...Hu.has(i) && { inputType: i }
|
|
8008
8008
|
},
|
|
8009
8009
|
fromFieldValue: (e) => e === "" ? r.emptyValue : e
|
|
8010
8010
|
});
|
|
8011
8011
|
}
|
|
8012
|
-
var
|
|
8013
|
-
function
|
|
8012
|
+
var Gu = 5;
|
|
8013
|
+
function Ku(e) {
|
|
8014
8014
|
let { options: t } = e;
|
|
8015
|
-
return /* @__PURE__ */
|
|
8015
|
+
return /* @__PURE__ */ E(Iu, {
|
|
8016
8016
|
...e,
|
|
8017
8017
|
field: {
|
|
8018
8018
|
type: "textarea",
|
|
8019
|
-
rows: t.rows ||
|
|
8019
|
+
rows: t.rows || Gu
|
|
8020
8020
|
},
|
|
8021
8021
|
fromFieldValue: (e) => e === "" ? t.emptyValue : e
|
|
8022
8022
|
});
|
|
8023
8023
|
}
|
|
8024
8024
|
// src/widgets/file-widget.tsx
|
|
8025
|
-
var
|
|
8025
|
+
var qu = "Drag a file here, or click to choose one", Ju = "Drag files here, or click to choose them", Yu = [
|
|
8026
8026
|
"B",
|
|
8027
8027
|
"KB",
|
|
8028
8028
|
"MB",
|
|
8029
8029
|
"GB"
|
|
8030
8030
|
];
|
|
8031
|
-
function
|
|
8031
|
+
function Xu(e) {
|
|
8032
8032
|
if (!Number.isFinite(e) || e < 0) return "";
|
|
8033
8033
|
let t = e, n = 0;
|
|
8034
|
-
for (; t >= 1024 && n <
|
|
8035
|
-
return `${n === 0 ? t : Math.round(t * 10) / 10} ${
|
|
8036
|
-
}
|
|
8037
|
-
|
|
8038
|
-
let {
|
|
8039
|
-
|
|
8040
|
-
|
|
8041
|
-
|
|
8042
|
-
|
|
8043
|
-
|
|
8044
|
-
|
|
8045
|
-
|
|
8034
|
+
for (; t >= 1024 && n < Yu.length - 1;) t /= 1024, n += 1;
|
|
8035
|
+
return `${n === 0 ? t : Math.round(t * 10) / 10} ${Yu[n]}`;
|
|
8036
|
+
}
|
|
8037
|
+
var Zu = (e) => e?.fcode?.keptFiles, Qu = (e, t, n) => {
|
|
8038
|
+
let { idPrefix: r, idSeparator: i } = n.globalFormOptions;
|
|
8039
|
+
return e === `${r}${i}${t}` ? i !== "-" || !/-\d+$/.test(t) : !1;
|
|
8040
|
+
}, $u = (e) => new Promise((t, n) => {
|
|
8041
|
+
let r = new window.FileReader();
|
|
8042
|
+
r.onerror = () => n(r.error), r.onload = () => t(typeof r.result == "string" ? r.result.replace(";base64", `;name=${encodeURIComponent(e.name)};base64`) : null), r.readAsDataURL(e);
|
|
8043
|
+
}), ed = "The file could not be read. Choose it again.";
|
|
8044
|
+
function td(e) {
|
|
8045
|
+
let { id: t, name: n, options: r, registry: i, uiSchema: l, required: u, disabled: d, readonly: f, autofocus: p, multiple: m, value: h, onChange: g, onBlur: _, onFocus: v } = e, b = Zu(i.formContext), x = b?.get(h), S = !m && Qu(t, n, i) ? b : void 0, C = s(0), { filesInfo: T, handleChange: O, handleRemove: k } = w(x ? void 0 : h, g, m), [ee, te] = c(!1), A = o(() => x ? [{
|
|
8046
|
+
name: x.name,
|
|
8047
|
+
size: x.size
|
|
8048
|
+
}] : T, [x, T]), j = a(async (e) => {
|
|
8049
|
+
te(!1);
|
|
8050
|
+
try {
|
|
8051
|
+
if (m) {
|
|
8052
|
+
await O(e);
|
|
8053
|
+
return;
|
|
8054
|
+
}
|
|
8055
|
+
let t = ++C.current, n = e[0];
|
|
8056
|
+
if (!n) return;
|
|
8057
|
+
if (S && n.size > 52428800) {
|
|
8058
|
+
g(S.keep(n));
|
|
8059
|
+
return;
|
|
8060
|
+
}
|
|
8061
|
+
let r = await $u(n).catch((e) => {
|
|
8062
|
+
if (t === C.current) throw e;
|
|
8063
|
+
});
|
|
8064
|
+
t === C.current && g(r);
|
|
8065
|
+
} catch (e) {
|
|
8066
|
+
console.error("The picked file could not be read", e), te(!0);
|
|
8067
|
+
}
|
|
8068
|
+
}, [
|
|
8069
|
+
m,
|
|
8070
|
+
S,
|
|
8071
|
+
g,
|
|
8072
|
+
O
|
|
8073
|
+
]), re = a((e) => {
|
|
8074
|
+
C.current += 1, te(!1), x ? g(void 0) : k(e);
|
|
8075
|
+
}, [
|
|
8076
|
+
x,
|
|
8077
|
+
g,
|
|
8078
|
+
k
|
|
8079
|
+
]), [M, N] = c(!1), { RemoveButton: ie } = y("ButtonTemplates", i, r), P = d || f, ae = r.accept ? String(r.accept) : void 0, oe = r.dropzoneText ?? i.translateString(m ? Ju : qu), se = a((e) => {
|
|
8080
|
+
N(!1), e.target.files?.length && j(e.target.files), e.target.value = "";
|
|
8081
|
+
}, [j]), ce = a((e) => {
|
|
8082
|
+
P || (e.preventDefault(), N(!0));
|
|
8083
|
+
}, [P]), le = a((e) => {
|
|
8084
|
+
e.currentTarget.contains(e.relatedTarget) || N(!1);
|
|
8085
|
+
}, []), de = a((e) => {
|
|
8086
|
+
if (N(!1), P) return;
|
|
8046
8087
|
e.preventDefault();
|
|
8047
8088
|
let t = e.dataTransfer?.files;
|
|
8048
|
-
t?.length &&
|
|
8049
|
-
}, [
|
|
8050
|
-
return /* @__PURE__ */
|
|
8089
|
+
t?.length && j(t);
|
|
8090
|
+
}, [j, P]);
|
|
8091
|
+
return /* @__PURE__ */ D("div", {
|
|
8051
8092
|
className: "rjsf-f0-file",
|
|
8052
|
-
children: [
|
|
8053
|
-
|
|
8054
|
-
|
|
8055
|
-
|
|
8056
|
-
|
|
8057
|
-
|
|
8058
|
-
|
|
8059
|
-
|
|
8060
|
-
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
|
|
8064
|
-
|
|
8065
|
-
|
|
8066
|
-
|
|
8067
|
-
|
|
8068
|
-
|
|
8069
|
-
|
|
8070
|
-
|
|
8071
|
-
|
|
8072
|
-
|
|
8073
|
-
|
|
8074
|
-
|
|
8075
|
-
|
|
8076
|
-
|
|
8077
|
-
|
|
8078
|
-
|
|
8079
|
-
|
|
8080
|
-
|
|
8081
|
-
|
|
8082
|
-
|
|
8083
|
-
|
|
8084
|
-
|
|
8085
|
-
|
|
8086
|
-
|
|
8087
|
-
|
|
8088
|
-
|
|
8089
|
-
|
|
8090
|
-
|
|
8091
|
-
|
|
8092
|
-
|
|
8093
|
-
|
|
8094
|
-
className: "rjsf-f0-file-
|
|
8095
|
-
|
|
8096
|
-
|
|
8097
|
-
|
|
8098
|
-
|
|
8099
|
-
|
|
8100
|
-
|
|
8101
|
-
|
|
8102
|
-
|
|
8103
|
-
|
|
8104
|
-
|
|
8105
|
-
|
|
8106
|
-
|
|
8107
|
-
|
|
8108
|
-
|
|
8109
|
-
|
|
8110
|
-
|
|
8111
|
-
|
|
8112
|
-
|
|
8113
|
-
|
|
8114
|
-
|
|
8115
|
-
|
|
8116
|
-
|
|
8117
|
-
|
|
8093
|
+
children: [
|
|
8094
|
+
/* @__PURE__ */ D("div", {
|
|
8095
|
+
className: "rjsf-f0-dropzone",
|
|
8096
|
+
"data-dragging": M ? "true" : void 0,
|
|
8097
|
+
"data-disabled": P ? "true" : void 0,
|
|
8098
|
+
onDragOver: ce,
|
|
8099
|
+
onDragEnter: ce,
|
|
8100
|
+
onDragLeave: le,
|
|
8101
|
+
onDrop: de,
|
|
8102
|
+
children: [/* @__PURE__ */ E("input", {
|
|
8103
|
+
id: t,
|
|
8104
|
+
name: t,
|
|
8105
|
+
className: "rjsf-f0-dropzone-input",
|
|
8106
|
+
type: "file",
|
|
8107
|
+
accept: ae,
|
|
8108
|
+
multiple: m,
|
|
8109
|
+
autoFocus: p,
|
|
8110
|
+
disabled: P,
|
|
8111
|
+
required: !h && u,
|
|
8112
|
+
onChange: se,
|
|
8113
|
+
onBlur: (e) => _(t, e.target.value),
|
|
8114
|
+
onFocus: (e) => v(t, e.target.value)
|
|
8115
|
+
}), /* @__PURE__ */ D("div", {
|
|
8116
|
+
className: "rjsf-f0-dropzone-body",
|
|
8117
|
+
"aria-hidden": "true",
|
|
8118
|
+
children: [
|
|
8119
|
+
/* @__PURE__ */ E(ne, {
|
|
8120
|
+
icon: me,
|
|
8121
|
+
size: "md"
|
|
8122
|
+
}),
|
|
8123
|
+
/* @__PURE__ */ E("span", {
|
|
8124
|
+
className: "rjsf-f0-dropzone-text",
|
|
8125
|
+
children: oe
|
|
8126
|
+
}),
|
|
8127
|
+
ae && /* @__PURE__ */ E("span", {
|
|
8128
|
+
className: "rjsf-f0-dropzone-hint",
|
|
8129
|
+
children: ae
|
|
8130
|
+
})
|
|
8131
|
+
]
|
|
8132
|
+
})]
|
|
8133
|
+
}),
|
|
8134
|
+
ee && /* @__PURE__ */ E("p", {
|
|
8135
|
+
className: "rjsf-f0-file-error",
|
|
8136
|
+
role: "alert",
|
|
8137
|
+
children: i.translateString(ed)
|
|
8138
|
+
}),
|
|
8139
|
+
A.length > 0 && /* @__PURE__ */ E("ul", {
|
|
8140
|
+
className: "rjsf-f0-files",
|
|
8141
|
+
children: A.map((e, n) => /* @__PURE__ */ D("li", {
|
|
8142
|
+
className: "rjsf-f0-file-chip",
|
|
8143
|
+
children: [
|
|
8144
|
+
/* @__PURE__ */ E(ne, {
|
|
8145
|
+
icon: ue,
|
|
8146
|
+
size: "sm"
|
|
8147
|
+
}),
|
|
8148
|
+
/* @__PURE__ */ E("span", {
|
|
8149
|
+
className: "rjsf-f0-file-name",
|
|
8150
|
+
children: e.name
|
|
8151
|
+
}),
|
|
8152
|
+
/* @__PURE__ */ E("span", {
|
|
8153
|
+
className: "rjsf-f0-file-size",
|
|
8154
|
+
children: Xu(e.size)
|
|
8155
|
+
}),
|
|
8156
|
+
/* @__PURE__ */ E(ie, {
|
|
8157
|
+
id: `${t}-remove-${n}`,
|
|
8158
|
+
disabled: P,
|
|
8159
|
+
onClick: () => re(n),
|
|
8160
|
+
registry: i,
|
|
8161
|
+
uiSchema: l
|
|
8162
|
+
})
|
|
8163
|
+
]
|
|
8164
|
+
}, `${e.name}-${n}`))
|
|
8165
|
+
})
|
|
8166
|
+
]
|
|
8118
8167
|
});
|
|
8119
8168
|
}
|
|
8120
8169
|
// src/widgets/choice-widgets.tsx
|
|
8121
|
-
var
|
|
8170
|
+
var nd = (e) => (Array.isArray(e) ? e : []).map((e, t) => ({
|
|
8122
8171
|
value: String(t),
|
|
8123
8172
|
label: String(e.label)
|
|
8124
8173
|
}));
|
|
8125
|
-
function
|
|
8126
|
-
let { options: t, multiple: n, value: r, schema: i } = e, { enumOptions: o, enumDisabled: s } = t, c = Array.isArray(o) ? o : [], l = (e) => c.findIndex((t) =>
|
|
8174
|
+
function rd(e) {
|
|
8175
|
+
let { options: t, multiple: n, value: r, schema: i } = e, { enumOptions: o, enumDisabled: s } = t, c = Array.isArray(o) ? o : [], l = (e) => c.findIndex((t) => h(t.value, e)), u = a((e) => {
|
|
8127
8176
|
if (n) return (Array.isArray(e) ? e : []).map((e) => l(e)).filter((e) => e >= 0).map(String);
|
|
8128
8177
|
let t = l(e);
|
|
8129
8178
|
return t >= 0 ? String(t) : void 0;
|
|
@@ -8132,11 +8181,11 @@ function Qu(e) {
|
|
|
8132
8181
|
c,
|
|
8133
8182
|
t.emptyValue
|
|
8134
8183
|
]);
|
|
8135
|
-
return /* @__PURE__ */
|
|
8184
|
+
return /* @__PURE__ */ E(Iu, {
|
|
8136
8185
|
...e,
|
|
8137
8186
|
field: {
|
|
8138
8187
|
type: "select",
|
|
8139
|
-
options:
|
|
8188
|
+
options: nd(o).filter((e, t) => !(Array.isArray(s) && s.includes(c[t]?.value))),
|
|
8140
8189
|
multiple: n,
|
|
8141
8190
|
clearable: !i.default && !e.required,
|
|
8142
8191
|
showSearchBox: c.length > 8
|
|
@@ -8146,46 +8195,46 @@ function Qu(e) {
|
|
|
8146
8195
|
fromFieldValue: d
|
|
8147
8196
|
});
|
|
8148
8197
|
}
|
|
8149
|
-
function
|
|
8150
|
-
let s = !r &&
|
|
8151
|
-
return /* @__PURE__ */
|
|
8198
|
+
function id({ id: e, value: t, label: n, hideLabel: r, disabled: i, readonly: a, onChange: o }) {
|
|
8199
|
+
let s = !r && Fu(n);
|
|
8200
|
+
return /* @__PURE__ */ D("div", {
|
|
8152
8201
|
className: "rjsf-f0-checkbox",
|
|
8153
|
-
children: [/* @__PURE__ */
|
|
8202
|
+
children: [/* @__PURE__ */ E(ee, {
|
|
8154
8203
|
id: e,
|
|
8155
|
-
title:
|
|
8204
|
+
title: Pu(n),
|
|
8156
8205
|
checked: t === !0,
|
|
8157
8206
|
hideLabel: r || s,
|
|
8158
8207
|
disabled: i || a,
|
|
8159
8208
|
onCheckedChange: (e) => o(e === !0)
|
|
8160
|
-
}), s && /* @__PURE__ */
|
|
8209
|
+
}), s && /* @__PURE__ */ E("label", {
|
|
8161
8210
|
className: "rjsf-f0-checkbox-label",
|
|
8162
8211
|
htmlFor: e,
|
|
8163
|
-
children: /* @__PURE__ */
|
|
8212
|
+
children: /* @__PURE__ */ E($l, {
|
|
8164
8213
|
components: { p: "span" },
|
|
8165
8214
|
children: n
|
|
8166
8215
|
})
|
|
8167
8216
|
})]
|
|
8168
8217
|
});
|
|
8169
8218
|
}
|
|
8170
|
-
function
|
|
8219
|
+
function ad({ id: e, disabled: t, readonly: n, options: r, value: i, onChange: a }) {
|
|
8171
8220
|
let { enumOptions: o, enumDisabled: s } = r, c = Array.isArray(i) ? i : [];
|
|
8172
|
-
return /* @__PURE__ */
|
|
8221
|
+
return /* @__PURE__ */ E("div", {
|
|
8173
8222
|
className: "rjsf-f0-checkboxes",
|
|
8174
8223
|
children: (Array.isArray(o) ? o : []).map((r, i) => {
|
|
8175
|
-
let l =
|
|
8176
|
-
return /* @__PURE__ */
|
|
8224
|
+
let l = h(r.value, c), u = Array.isArray(s) && s.includes(r.value), d = S(e, i), f = String(r.label), p = Fu(f);
|
|
8225
|
+
return /* @__PURE__ */ D("div", {
|
|
8177
8226
|
className: "rjsf-f0-checkbox",
|
|
8178
|
-
children: [/* @__PURE__ */
|
|
8227
|
+
children: [/* @__PURE__ */ E(ee, {
|
|
8179
8228
|
id: d,
|
|
8180
|
-
title:
|
|
8229
|
+
title: Pu(f),
|
|
8181
8230
|
checked: l,
|
|
8182
|
-
hideLabel:
|
|
8231
|
+
hideLabel: p,
|
|
8183
8232
|
disabled: t || n || u,
|
|
8184
|
-
onCheckedChange: (e) => a(e === !0 ?
|
|
8185
|
-
}),
|
|
8233
|
+
onCheckedChange: (e) => a(e === !0 ? g(i, c, o) : m(i, c, o))
|
|
8234
|
+
}), p && /* @__PURE__ */ E("label", {
|
|
8186
8235
|
className: "rjsf-f0-checkbox-label",
|
|
8187
8236
|
htmlFor: d,
|
|
8188
|
-
children: /* @__PURE__ */
|
|
8237
|
+
children: /* @__PURE__ */ E($l, {
|
|
8189
8238
|
components: { p: "span" },
|
|
8190
8239
|
children: f
|
|
8191
8240
|
})
|
|
@@ -8194,9 +8243,9 @@ function ed({ id: e, disabled: t, readonly: n, options: r, value: i, onChange: a
|
|
|
8194
8243
|
})
|
|
8195
8244
|
});
|
|
8196
8245
|
}
|
|
8197
|
-
function
|
|
8246
|
+
function od(e) {
|
|
8198
8247
|
let { options: t, required: n } = e, r = Array.isArray(t.enumOptions) ? t.enumOptions : [];
|
|
8199
|
-
return /* @__PURE__ */
|
|
8248
|
+
return /* @__PURE__ */ E(Iu, {
|
|
8200
8249
|
...e,
|
|
8201
8250
|
field: {
|
|
8202
8251
|
type: "cardSelect",
|
|
@@ -8208,7 +8257,7 @@ function td(e) {
|
|
|
8208
8257
|
}))
|
|
8209
8258
|
},
|
|
8210
8259
|
toFieldValue: (e) => {
|
|
8211
|
-
let t = r.findIndex((t) =>
|
|
8260
|
+
let t = r.findIndex((t) => h(t.value, e));
|
|
8212
8261
|
return t >= 0 ? String(t) : void 0;
|
|
8213
8262
|
},
|
|
8214
8263
|
fromFieldValue: (e) => e === void 0 || e === "" ? t.emptyValue : r[Number(e)]?.value,
|
|
@@ -8216,66 +8265,66 @@ function td(e) {
|
|
|
8216
8265
|
});
|
|
8217
8266
|
}
|
|
8218
8267
|
// src/multistep/steps-navigation.tsx
|
|
8219
|
-
var
|
|
8268
|
+
var sd = (e) => !e.clickable && e.status !== "current", cd = (e) => e.counter ?? String(e.index + 1), ld = (e) => e.depth ?? 0, ud = ({ item: e }) => e.status === "completed" ? /* @__PURE__ */ E("span", {
|
|
8220
8269
|
className: "rjsf-f0-steps-badge rjsf-f0-steps-badge-completed",
|
|
8221
|
-
children: /* @__PURE__ */
|
|
8222
|
-
icon:
|
|
8270
|
+
children: /* @__PURE__ */ E(ne, {
|
|
8271
|
+
icon: ce,
|
|
8223
8272
|
size: "sm"
|
|
8224
8273
|
})
|
|
8225
|
-
}) : /* @__PURE__ */
|
|
8274
|
+
}) : /* @__PURE__ */ E("span", {
|
|
8226
8275
|
className: `rjsf-f0-steps-badge${e.status === "current" ? " rjsf-f0-steps-badge-current" : ""}`,
|
|
8227
|
-
children:
|
|
8228
|
-
}),
|
|
8276
|
+
children: cd(e)
|
|
8277
|
+
}), dd = (e, t) => {
|
|
8229
8278
|
let n = e[t + 1];
|
|
8230
|
-
return
|
|
8231
|
-
},
|
|
8279
|
+
return ld(e[t]) === 0 && !!n && ld(n) > 0;
|
|
8280
|
+
}, fd = ({ layout: e, items: t, onNavigate: n }) => /* @__PURE__ */ E("nav", {
|
|
8232
8281
|
className: e === "sidebar" ? "rjsf-f0-steps-nav" : "rjsf-f0-steps-tabs",
|
|
8233
8282
|
"aria-label": "Form steps",
|
|
8234
|
-
children: /* @__PURE__ */
|
|
8283
|
+
children: /* @__PURE__ */ E("ol", {
|
|
8235
8284
|
className: "rjsf-f0-steps-list",
|
|
8236
8285
|
children: t.map((e, r) => {
|
|
8237
8286
|
let i = [
|
|
8238
8287
|
"rjsf-f0-steps-item",
|
|
8239
8288
|
`rjsf-f0-steps-item-${e.status}`,
|
|
8240
|
-
|
|
8241
|
-
|
|
8289
|
+
ld(e) > 0 && "rjsf-f0-steps-item-substep",
|
|
8290
|
+
dd(t, r) && "rjsf-f0-steps-item-group",
|
|
8242
8291
|
e.clickable && "rjsf-f0-steps-item-reachable",
|
|
8243
8292
|
e.hasErrors && "rjsf-f0-steps-item-errors"
|
|
8244
8293
|
].filter(Boolean);
|
|
8245
|
-
return /* @__PURE__ */
|
|
8294
|
+
return /* @__PURE__ */ E("li", { children: /* @__PURE__ */ D("button", {
|
|
8246
8295
|
type: "button",
|
|
8247
8296
|
className: i.join(" "),
|
|
8248
|
-
disabled:
|
|
8297
|
+
disabled: sd(e),
|
|
8249
8298
|
"aria-current": e.status === "current" ? "step" : void 0,
|
|
8250
8299
|
onClick: () => n(e.index),
|
|
8251
|
-
children: [/* @__PURE__ */
|
|
8300
|
+
children: [/* @__PURE__ */ E(ud, { item: e }), /* @__PURE__ */ E("span", {
|
|
8252
8301
|
className: "rjsf-f0-steps-item-title",
|
|
8253
8302
|
children: e.title
|
|
8254
8303
|
})]
|
|
8255
8304
|
}) }, e.index);
|
|
8256
8305
|
})
|
|
8257
8306
|
})
|
|
8258
|
-
}),
|
|
8307
|
+
}), pd = {
|
|
8259
8308
|
StepsNavigation: ({ layout: e, items: t, currentIndex: n, onNavigate: r, children: i }) => {
|
|
8260
8309
|
let a = t[n];
|
|
8261
|
-
return /* @__PURE__ */
|
|
8310
|
+
return /* @__PURE__ */ D("div", {
|
|
8262
8311
|
className: `rjsf-f0-steps rjsf-f0-steps-layout-${e}`,
|
|
8263
|
-
children: [/* @__PURE__ */
|
|
8312
|
+
children: [/* @__PURE__ */ E(fd, {
|
|
8264
8313
|
layout: e,
|
|
8265
8314
|
items: t,
|
|
8266
8315
|
onNavigate: r
|
|
8267
|
-
}), /* @__PURE__ */
|
|
8316
|
+
}), /* @__PURE__ */ D("div", {
|
|
8268
8317
|
className: "rjsf-f0-steps-main",
|
|
8269
|
-
children: [a && /* @__PURE__ */
|
|
8318
|
+
children: [a && /* @__PURE__ */ D("div", {
|
|
8270
8319
|
className: "rjsf-f0-steps-header",
|
|
8271
|
-
children: [/* @__PURE__ */
|
|
8320
|
+
children: [/* @__PURE__ */ E("h3", {
|
|
8272
8321
|
className: "rjsf-f0-steps-title",
|
|
8273
8322
|
children: a.title
|
|
8274
|
-
}), a.description && /* @__PURE__ */
|
|
8323
|
+
}), a.description && /* @__PURE__ */ E("p", {
|
|
8275
8324
|
className: "rjsf-f0-steps-description",
|
|
8276
8325
|
children: a.description
|
|
8277
8326
|
})]
|
|
8278
|
-
}), /* @__PURE__ */
|
|
8327
|
+
}), /* @__PURE__ */ E("div", {
|
|
8279
8328
|
className: "rjsf-f0-steps-panel",
|
|
8280
8329
|
children: i
|
|
8281
8330
|
})]
|
|
@@ -8283,19 +8332,19 @@ var nd = (e) => !e.clickable && e.status !== "current", rd = (e) => e.counter ??
|
|
|
8283
8332
|
});
|
|
8284
8333
|
},
|
|
8285
8334
|
BackButton: ({ label: e, onClick: t, disabled: n }) => {
|
|
8286
|
-
let r =
|
|
8287
|
-
return /* @__PURE__ */
|
|
8335
|
+
let r = fu(t);
|
|
8336
|
+
return /* @__PURE__ */ E("div", {
|
|
8288
8337
|
className: "rjsf-f0-steps-back",
|
|
8289
|
-
children: /* @__PURE__ */
|
|
8338
|
+
children: /* @__PURE__ */ E(k, {
|
|
8290
8339
|
label: e,
|
|
8291
8340
|
variant: "outline",
|
|
8292
|
-
icon:
|
|
8341
|
+
icon: ae,
|
|
8293
8342
|
disabled: n,
|
|
8294
8343
|
onClick: r
|
|
8295
8344
|
})
|
|
8296
8345
|
});
|
|
8297
8346
|
},
|
|
8298
|
-
LeaveConfirm: ({ open: e, title: t, message: n, confirmLabel: r, cancelLabel: i, onConfirm: a, onCancel: o }) => /* @__PURE__ */
|
|
8347
|
+
LeaveConfirm: ({ open: e, title: t, message: n, confirmLabel: r, cancelLabel: i, onConfirm: a, onCancel: o }) => /* @__PURE__ */ E(te, {
|
|
8299
8348
|
isOpen: e,
|
|
8300
8349
|
onClose: o,
|
|
8301
8350
|
title: t,
|
|
@@ -8307,67 +8356,67 @@ var nd = (e) => !e.clickable && e.status !== "current", rd = (e) => e.counter ??
|
|
|
8307
8356
|
label: i,
|
|
8308
8357
|
onClick: o
|
|
8309
8358
|
},
|
|
8310
|
-
children: /* @__PURE__ */
|
|
8359
|
+
children: /* @__PURE__ */ E("p", {
|
|
8311
8360
|
className: "rjsf-f0-steps-leave-message",
|
|
8312
8361
|
children: n
|
|
8313
8362
|
})
|
|
8314
8363
|
})
|
|
8315
|
-
},
|
|
8316
|
-
let o =
|
|
8317
|
-
return /* @__PURE__ */
|
|
8364
|
+
}, md = { ConnectControl: ({ id: e, status: t, label: n, disabled: r, errorMessage: i, onClick: a }) => {
|
|
8365
|
+
let o = fu(a), s = t === "connected";
|
|
8366
|
+
return /* @__PURE__ */ D("div", {
|
|
8318
8367
|
className: "rjsf-f0-oauth",
|
|
8319
8368
|
"data-status": t,
|
|
8320
|
-
children: [/* @__PURE__ */
|
|
8369
|
+
children: [/* @__PURE__ */ E(k, {
|
|
8321
8370
|
"data-testid": e,
|
|
8322
8371
|
label: n,
|
|
8323
8372
|
variant: s ? "outline" : "default",
|
|
8324
|
-
icon: s ?
|
|
8373
|
+
icon: s ? ce : void 0,
|
|
8325
8374
|
disabled: r,
|
|
8326
8375
|
onClick: o
|
|
8327
|
-
}), i && /* @__PURE__ */
|
|
8376
|
+
}), i && /* @__PURE__ */ E("p", {
|
|
8328
8377
|
className: "rjsf-f0-oauth-error",
|
|
8329
8378
|
role: "alert",
|
|
8330
8379
|
children: i
|
|
8331
8380
|
})]
|
|
8332
8381
|
});
|
|
8333
|
-
} },
|
|
8334
|
-
ArrayFieldItemButtonsTemplate:
|
|
8335
|
-
ArrayFieldItemTemplate:
|
|
8336
|
-
ArrayFieldTemplate:
|
|
8337
|
-
BaseInputTemplate:
|
|
8338
|
-
ButtonTemplates:
|
|
8339
|
-
DescriptionFieldTemplate:
|
|
8340
|
-
ErrorListTemplate:
|
|
8341
|
-
FieldErrorTemplate:
|
|
8342
|
-
FieldHelpTemplate:
|
|
8343
|
-
FieldTemplate:
|
|
8344
|
-
GridTemplate:
|
|
8345
|
-
MultiSchemaFieldTemplate:
|
|
8346
|
-
ObjectFieldTemplate:
|
|
8347
|
-
TitleFieldTemplate:
|
|
8348
|
-
WrapIfAdditionalTemplate:
|
|
8349
|
-
},
|
|
8350
|
-
CheckboxWidget:
|
|
8351
|
-
CheckboxesWidget:
|
|
8352
|
-
FileWidget:
|
|
8353
|
-
RadioWidget:
|
|
8354
|
-
SelectWidget:
|
|
8355
|
-
TextareaWidget:
|
|
8382
|
+
} }, hd = {
|
|
8383
|
+
ArrayFieldItemButtonsTemplate: ju,
|
|
8384
|
+
ArrayFieldItemTemplate: Au,
|
|
8385
|
+
ArrayFieldTemplate: ku,
|
|
8386
|
+
BaseInputTemplate: Wu,
|
|
8387
|
+
ButtonTemplates: xu,
|
|
8388
|
+
DescriptionFieldTemplate: Cu,
|
|
8389
|
+
ErrorListTemplate: Eu,
|
|
8390
|
+
FieldErrorTemplate: wu,
|
|
8391
|
+
FieldHelpTemplate: Tu,
|
|
8392
|
+
FieldTemplate: du,
|
|
8393
|
+
GridTemplate: Mu,
|
|
8394
|
+
MultiSchemaFieldTemplate: Nu,
|
|
8395
|
+
ObjectFieldTemplate: Ou,
|
|
8396
|
+
TitleFieldTemplate: Su,
|
|
8397
|
+
WrapIfAdditionalTemplate: Du
|
|
8398
|
+
}, gd = {
|
|
8399
|
+
CheckboxWidget: id,
|
|
8400
|
+
CheckboxesWidget: ad,
|
|
8401
|
+
FileWidget: td,
|
|
8402
|
+
RadioWidget: od,
|
|
8403
|
+
SelectWidget: rd,
|
|
8404
|
+
TextareaWidget: Ku
|
|
8356
8405
|
};
|
|
8357
|
-
function
|
|
8406
|
+
function _d() {
|
|
8358
8407
|
return {
|
|
8359
|
-
templates:
|
|
8360
|
-
widgets:
|
|
8361
|
-
multistep:
|
|
8362
|
-
oauth:
|
|
8408
|
+
templates: hd,
|
|
8409
|
+
widgets: gd,
|
|
8410
|
+
multistep: pd,
|
|
8411
|
+
oauth: md
|
|
8363
8412
|
};
|
|
8364
8413
|
}
|
|
8365
|
-
var
|
|
8414
|
+
var vd = _d();
|
|
8366
8415
|
// src/form.ts
|
|
8367
|
-
function
|
|
8368
|
-
return e(
|
|
8416
|
+
function yd() {
|
|
8417
|
+
return e(_d());
|
|
8369
8418
|
}
|
|
8370
|
-
var
|
|
8371
|
-
export {
|
|
8419
|
+
var bd = e(vd);
|
|
8420
|
+
export { bd as Form, pd as Multistep, md as Oauth, hd as Templates, vd as Theme, gd as Widgets, yd as generateForm, _d as generateTheme, uu as markdownComponents };
|
|
8372
8421
|
|
|
8373
8422
|
//# sourceMappingURL=rjsf-f0.es.js.map
|