@xyd-js/cli 0.1.0-xyd.21 → 0.1.0-xyd.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/.cli/dist/index.js +12417 -0
  2. package/.cli/host/.react-router/types/app/+types/root.ts +40 -0
  3. package/.cli/host/node_modules/.vite/deps/@mdx-js_mdx.js +81 -0
  4. package/.cli/host/node_modules/.vite/deps/@mdx-js_mdx.js.map +7 -0
  5. package/.cli/host/node_modules/.vite/deps/@mdx-js_rollup.js +4003 -0
  6. package/.cli/host/node_modules/.vite/deps/@mdx-js_rollup.js.map +7 -0
  7. package/.cli/host/node_modules/.vite/deps/@radix-ui_react-icons.js +7531 -0
  8. package/.cli/host/node_modules/.vite/deps/@radix-ui_react-icons.js.map +7 -0
  9. package/.cli/host/node_modules/.vite/deps/@radix-ui_react-tabs.js +917 -0
  10. package/.cli/host/node_modules/.vite/deps/@radix-ui_react-tabs.js.map +7 -0
  11. package/.cli/host/node_modules/.vite/deps/_metadata.json +157 -0
  12. package/.cli/host/node_modules/.vite/deps/chunk-2TUXWMP5.js +46 -0
  13. package/.cli/host/node_modules/.vite/deps/chunk-2TUXWMP5.js.map +7 -0
  14. package/.cli/host/node_modules/.vite/deps/chunk-DNIFH2K7.js +3461 -0
  15. package/.cli/host/node_modules/.vite/deps/chunk-DNIFH2K7.js.map +7 -0
  16. package/.cli/host/node_modules/.vite/deps/chunk-ERHH4CDL.js +23875 -0
  17. package/.cli/host/node_modules/.vite/deps/chunk-ERHH4CDL.js.map +7 -0
  18. package/.cli/host/node_modules/.vite/deps/chunk-ETJV5QNK.js +27 -0
  19. package/.cli/host/node_modules/.vite/deps/chunk-ETJV5QNK.js.map +7 -0
  20. package/.cli/host/node_modules/.vite/deps/chunk-GPEJJ3KZ.js +1906 -0
  21. package/.cli/host/node_modules/.vite/deps/chunk-GPEJJ3KZ.js.map +7 -0
  22. package/.cli/host/node_modules/.vite/deps/chunk-IVP26VTC.js +21 -0
  23. package/.cli/host/node_modules/.vite/deps/chunk-IVP26VTC.js.map +7 -0
  24. package/.cli/host/node_modules/.vite/deps/chunk-MJUUSK53.js +894 -0
  25. package/.cli/host/node_modules/.vite/deps/chunk-MJUUSK53.js.map +7 -0
  26. package/.cli/host/node_modules/.vite/deps/chunk-NHN7DW4J.js +928 -0
  27. package/.cli/host/node_modules/.vite/deps/chunk-NHN7DW4J.js.map +7 -0
  28. package/.cli/host/node_modules/.vite/deps/chunk-OO6QDGMA.js +10609 -0
  29. package/.cli/host/node_modules/.vite/deps/chunk-OO6QDGMA.js.map +7 -0
  30. package/.cli/host/node_modules/.vite/deps/chunk-OUN4SSIE.js +205 -0
  31. package/.cli/host/node_modules/.vite/deps/chunk-OUN4SSIE.js.map +7 -0
  32. package/.cli/host/node_modules/.vite/deps/chunk-TKNG6GUJ.js +894 -0
  33. package/.cli/host/node_modules/.vite/deps/chunk-TKNG6GUJ.js.map +7 -0
  34. package/.cli/host/node_modules/.vite/deps/chunk-TM4FKLNO.js +21628 -0
  35. package/.cli/host/node_modules/.vite/deps/chunk-TM4FKLNO.js.map +7 -0
  36. package/.cli/host/node_modules/.vite/deps/chunk-V2IF7L2E.js +12 -0
  37. package/.cli/host/node_modules/.vite/deps/chunk-V2IF7L2E.js.map +7 -0
  38. package/.cli/host/node_modules/.vite/deps/gray-matter.js +3492 -0
  39. package/.cli/host/node_modules/.vite/deps/gray-matter.js.map +7 -0
  40. package/.cli/host/node_modules/.vite/deps/lucide-react.js +34742 -0
  41. package/.cli/host/node_modules/.vite/deps/lucide-react.js.map +7 -0
  42. package/.cli/host/node_modules/.vite/deps/package.json +3 -0
  43. package/.cli/host/node_modules/.vite/deps/react-dom.js +7 -0
  44. package/.cli/host/node_modules/.vite/deps/react-dom.js.map +7 -0
  45. package/.cli/host/node_modules/.vite/deps/react-dom_client.js +39 -0
  46. package/.cli/host/node_modules/.vite/deps/react-dom_client.js.map +7 -0
  47. package/.cli/host/node_modules/.vite/deps/react-router.js +243 -0
  48. package/.cli/host/node_modules/.vite/deps/react-router.js.map +7 -0
  49. package/.cli/host/node_modules/.vite/deps/react-router_dom.js +212 -0
  50. package/.cli/host/node_modules/.vite/deps/react-router_dom.js.map +7 -0
  51. package/.cli/host/node_modules/.vite/deps/react.js +6 -0
  52. package/.cli/host/node_modules/.vite/deps/react.js.map +7 -0
  53. package/.cli/host/node_modules/.vite/deps/react_jsx-dev-runtime.js +913 -0
  54. package/.cli/host/node_modules/.vite/deps/react_jsx-dev-runtime.js.map +7 -0
  55. package/.cli/host/node_modules/.vite/deps/react_jsx-runtime.js +7 -0
  56. package/.cli/host/node_modules/.vite/deps/react_jsx-runtime.js.map +7 -0
  57. package/.cli/host/node_modules/.vite/deps/remark-frontmatter.js +428 -0
  58. package/.cli/host/node_modules/.vite/deps/remark-frontmatter.js.map +7 -0
  59. package/.cli/host/node_modules/.vite/deps/remark-gfm.js +3122 -0
  60. package/.cli/host/node_modules/.vite/deps/remark-gfm.js.map +7 -0
  61. package/.cli/host/node_modules/.vite/deps/remark-mdx-frontmatter.js +10482 -0
  62. package/.cli/host/node_modules/.vite/deps/remark-mdx-frontmatter.js.map +7 -0
  63. package/.cli/host/node_modules/.vite/deps/unist-util-visit.js +14 -0
  64. package/.cli/host/node_modules/.vite/deps/unist-util-visit.js.map +7 -0
  65. package/.cli/host/node_modules/.vite/deps/vfile.js +8 -0
  66. package/.cli/host/node_modules/.vite/deps/vfile.js.map +7 -0
  67. package/.cli/host/package.json +43 -0
  68. package/.cli/plugins/xyd-plugin-zero/src/pages/api-reference.tsx +202 -79
  69. package/.cli/plugins/xyd-plugin-zero/src/pages/docs.tsx +3 -12
  70. package/bin.js +3 -0
  71. package/package.json +18 -15
  72. package/.cli/bin.js +0 -3
  73. package/.cli/index.js +0 -24939
  74. package/.cli/package-lock.json +0 -7943
  75. package/.cli/package.json +0 -37
  76. package/postinstall.js +0 -15
  77. /package/.cli/{index.d.ts → dist/index.d.ts} +0 -0
  78. /package/.cli/{app → host/app}/root.tsx +0 -0
  79. /package/.cli/{app → host/app}/routes.ts +0 -0
  80. /package/.cli/{postcss.config.cjs → host/postcss.config.cjs} +0 -0
  81. /package/.cli/{react-router.config.ts → host/react-router.config.ts} +0 -0
  82. /package/.cli/{tsconfig.json → host/tsconfig.json} +0 -0
  83. /package/.cli/{vite.config.ts → host/vite.config.ts} +0 -0
@@ -0,0 +1,894 @@
1
+ import {
2
+ __publicField
3
+ } from "./chunk-2TUXWMP5.js";
4
+
5
+ // ../node_modules/.pnpm/devlop@1.1.0/node_modules/devlop/lib/development.js
6
+ var AssertionError = class extends Error {
7
+ /**
8
+ * Create an assertion error.
9
+ *
10
+ * @param {string} message
11
+ * Message explaining error.
12
+ * @param {unknown} actual
13
+ * Value.
14
+ * @param {unknown} expected
15
+ * Baseline.
16
+ * @param {string} operator
17
+ * Name of equality operation.
18
+ * @param {boolean} generated
19
+ * Whether `message` is a custom message or not
20
+ * @returns
21
+ * Instance.
22
+ */
23
+ // eslint-disable-next-line max-params
24
+ constructor(message, actual, expected, operator, generated) {
25
+ super(message);
26
+ __publicField(
27
+ this,
28
+ "name",
29
+ /** @type {const} */
30
+ "Assertion"
31
+ );
32
+ __publicField(
33
+ this,
34
+ "code",
35
+ /** @type {const} */
36
+ "ERR_ASSERTION"
37
+ );
38
+ if (Error.captureStackTrace) {
39
+ Error.captureStackTrace(this, this.constructor);
40
+ }
41
+ this.actual = actual;
42
+ this.expected = expected;
43
+ this.generated = generated;
44
+ this.operator = operator;
45
+ }
46
+ };
47
+ function ok(value, message) {
48
+ assert(
49
+ Boolean(value),
50
+ false,
51
+ true,
52
+ "ok",
53
+ "Expected value to be truthy",
54
+ message
55
+ );
56
+ }
57
+ function unreachable(message) {
58
+ assert(false, false, true, "ok", "Unreachable", message);
59
+ }
60
+ function assert(bool, actual, expected, operator, defaultMessage, userMessage) {
61
+ if (!bool) {
62
+ throw userMessage instanceof Error ? userMessage : new AssertionError(
63
+ userMessage || defaultMessage,
64
+ actual,
65
+ expected,
66
+ operator,
67
+ !userMessage
68
+ );
69
+ }
70
+ }
71
+
72
+ // ../node_modules/.pnpm/micromark-util-symbol@2.0.1/node_modules/micromark-util-symbol/lib/codes.js
73
+ var codes = (
74
+ /** @type {const} */
75
+ {
76
+ carriageReturn: -5,
77
+ lineFeed: -4,
78
+ carriageReturnLineFeed: -3,
79
+ horizontalTab: -2,
80
+ virtualSpace: -1,
81
+ eof: null,
82
+ nul: 0,
83
+ soh: 1,
84
+ stx: 2,
85
+ etx: 3,
86
+ eot: 4,
87
+ enq: 5,
88
+ ack: 6,
89
+ bel: 7,
90
+ bs: 8,
91
+ ht: 9,
92
+ // `\t`
93
+ lf: 10,
94
+ // `\n`
95
+ vt: 11,
96
+ // `\v`
97
+ ff: 12,
98
+ // `\f`
99
+ cr: 13,
100
+ // `\r`
101
+ so: 14,
102
+ si: 15,
103
+ dle: 16,
104
+ dc1: 17,
105
+ dc2: 18,
106
+ dc3: 19,
107
+ dc4: 20,
108
+ nak: 21,
109
+ syn: 22,
110
+ etb: 23,
111
+ can: 24,
112
+ em: 25,
113
+ sub: 26,
114
+ esc: 27,
115
+ fs: 28,
116
+ gs: 29,
117
+ rs: 30,
118
+ us: 31,
119
+ space: 32,
120
+ exclamationMark: 33,
121
+ // `!`
122
+ quotationMark: 34,
123
+ // `"`
124
+ numberSign: 35,
125
+ // `#`
126
+ dollarSign: 36,
127
+ // `$`
128
+ percentSign: 37,
129
+ // `%`
130
+ ampersand: 38,
131
+ // `&`
132
+ apostrophe: 39,
133
+ // `'`
134
+ leftParenthesis: 40,
135
+ // `(`
136
+ rightParenthesis: 41,
137
+ // `)`
138
+ asterisk: 42,
139
+ // `*`
140
+ plusSign: 43,
141
+ // `+`
142
+ comma: 44,
143
+ // `,`
144
+ dash: 45,
145
+ // `-`
146
+ dot: 46,
147
+ // `.`
148
+ slash: 47,
149
+ // `/`
150
+ digit0: 48,
151
+ // `0`
152
+ digit1: 49,
153
+ // `1`
154
+ digit2: 50,
155
+ // `2`
156
+ digit3: 51,
157
+ // `3`
158
+ digit4: 52,
159
+ // `4`
160
+ digit5: 53,
161
+ // `5`
162
+ digit6: 54,
163
+ // `6`
164
+ digit7: 55,
165
+ // `7`
166
+ digit8: 56,
167
+ // `8`
168
+ digit9: 57,
169
+ // `9`
170
+ colon: 58,
171
+ // `:`
172
+ semicolon: 59,
173
+ // `;`
174
+ lessThan: 60,
175
+ // `<`
176
+ equalsTo: 61,
177
+ // `=`
178
+ greaterThan: 62,
179
+ // `>`
180
+ questionMark: 63,
181
+ // `?`
182
+ atSign: 64,
183
+ // `@`
184
+ uppercaseA: 65,
185
+ // `A`
186
+ uppercaseB: 66,
187
+ // `B`
188
+ uppercaseC: 67,
189
+ // `C`
190
+ uppercaseD: 68,
191
+ // `D`
192
+ uppercaseE: 69,
193
+ // `E`
194
+ uppercaseF: 70,
195
+ // `F`
196
+ uppercaseG: 71,
197
+ // `G`
198
+ uppercaseH: 72,
199
+ // `H`
200
+ uppercaseI: 73,
201
+ // `I`
202
+ uppercaseJ: 74,
203
+ // `J`
204
+ uppercaseK: 75,
205
+ // `K`
206
+ uppercaseL: 76,
207
+ // `L`
208
+ uppercaseM: 77,
209
+ // `M`
210
+ uppercaseN: 78,
211
+ // `N`
212
+ uppercaseO: 79,
213
+ // `O`
214
+ uppercaseP: 80,
215
+ // `P`
216
+ uppercaseQ: 81,
217
+ // `Q`
218
+ uppercaseR: 82,
219
+ // `R`
220
+ uppercaseS: 83,
221
+ // `S`
222
+ uppercaseT: 84,
223
+ // `T`
224
+ uppercaseU: 85,
225
+ // `U`
226
+ uppercaseV: 86,
227
+ // `V`
228
+ uppercaseW: 87,
229
+ // `W`
230
+ uppercaseX: 88,
231
+ // `X`
232
+ uppercaseY: 89,
233
+ // `Y`
234
+ uppercaseZ: 90,
235
+ // `Z`
236
+ leftSquareBracket: 91,
237
+ // `[`
238
+ backslash: 92,
239
+ // `\`
240
+ rightSquareBracket: 93,
241
+ // `]`
242
+ caret: 94,
243
+ // `^`
244
+ underscore: 95,
245
+ // `_`
246
+ graveAccent: 96,
247
+ // `` ` ``
248
+ lowercaseA: 97,
249
+ // `a`
250
+ lowercaseB: 98,
251
+ // `b`
252
+ lowercaseC: 99,
253
+ // `c`
254
+ lowercaseD: 100,
255
+ // `d`
256
+ lowercaseE: 101,
257
+ // `e`
258
+ lowercaseF: 102,
259
+ // `f`
260
+ lowercaseG: 103,
261
+ // `g`
262
+ lowercaseH: 104,
263
+ // `h`
264
+ lowercaseI: 105,
265
+ // `i`
266
+ lowercaseJ: 106,
267
+ // `j`
268
+ lowercaseK: 107,
269
+ // `k`
270
+ lowercaseL: 108,
271
+ // `l`
272
+ lowercaseM: 109,
273
+ // `m`
274
+ lowercaseN: 110,
275
+ // `n`
276
+ lowercaseO: 111,
277
+ // `o`
278
+ lowercaseP: 112,
279
+ // `p`
280
+ lowercaseQ: 113,
281
+ // `q`
282
+ lowercaseR: 114,
283
+ // `r`
284
+ lowercaseS: 115,
285
+ // `s`
286
+ lowercaseT: 116,
287
+ // `t`
288
+ lowercaseU: 117,
289
+ // `u`
290
+ lowercaseV: 118,
291
+ // `v`
292
+ lowercaseW: 119,
293
+ // `w`
294
+ lowercaseX: 120,
295
+ // `x`
296
+ lowercaseY: 121,
297
+ // `y`
298
+ lowercaseZ: 122,
299
+ // `z`
300
+ leftCurlyBrace: 123,
301
+ // `{`
302
+ verticalBar: 124,
303
+ // `|`
304
+ rightCurlyBrace: 125,
305
+ // `}`
306
+ tilde: 126,
307
+ // `~`
308
+ del: 127,
309
+ // Unicode Specials block.
310
+ byteOrderMarker: 65279,
311
+ // Unicode Specials block.
312
+ replacementCharacter: 65533
313
+ // `�`
314
+ }
315
+ );
316
+
317
+ // ../node_modules/.pnpm/micromark-util-symbol@2.0.1/node_modules/micromark-util-symbol/lib/types.js
318
+ var types = (
319
+ /** @type {const} */
320
+ {
321
+ // Generic type for data, such as in a title, a destination, etc.
322
+ data: "data",
323
+ // Generic type for syntactic whitespace (tabs, virtual spaces, spaces).
324
+ // Such as, between a fenced code fence and an info string.
325
+ whitespace: "whitespace",
326
+ // Generic type for line endings (line feed, carriage return, carriage return +
327
+ // line feed).
328
+ lineEnding: "lineEnding",
329
+ // A line ending, but ending a blank line.
330
+ lineEndingBlank: "lineEndingBlank",
331
+ // Generic type for whitespace (tabs, virtual spaces, spaces) at the start of a
332
+ // line.
333
+ linePrefix: "linePrefix",
334
+ // Generic type for whitespace (tabs, virtual spaces, spaces) at the end of a
335
+ // line.
336
+ lineSuffix: "lineSuffix",
337
+ // Whole ATX heading:
338
+ //
339
+ // ```markdown
340
+ // #
341
+ // ## Alpha
342
+ // ### Bravo ###
343
+ // ```
344
+ //
345
+ // Includes `atxHeadingSequence`, `whitespace`, `atxHeadingText`.
346
+ atxHeading: "atxHeading",
347
+ // Sequence of number signs in an ATX heading (`###`).
348
+ atxHeadingSequence: "atxHeadingSequence",
349
+ // Content in an ATX heading (`alpha`).
350
+ // Includes text.
351
+ atxHeadingText: "atxHeadingText",
352
+ // Whole autolink (`<https://example.com>` or `<admin@example.com>`)
353
+ // Includes `autolinkMarker` and `autolinkProtocol` or `autolinkEmail`.
354
+ autolink: "autolink",
355
+ // Email autolink w/o markers (`admin@example.com`)
356
+ autolinkEmail: "autolinkEmail",
357
+ // Marker around an `autolinkProtocol` or `autolinkEmail` (`<` or `>`).
358
+ autolinkMarker: "autolinkMarker",
359
+ // Protocol autolink w/o markers (`https://example.com`)
360
+ autolinkProtocol: "autolinkProtocol",
361
+ // A whole character escape (`\-`).
362
+ // Includes `escapeMarker` and `characterEscapeValue`.
363
+ characterEscape: "characterEscape",
364
+ // The escaped character (`-`).
365
+ characterEscapeValue: "characterEscapeValue",
366
+ // A whole character reference (`&amp;`, `&#8800;`, or `&#x1D306;`).
367
+ // Includes `characterReferenceMarker`, an optional
368
+ // `characterReferenceMarkerNumeric`, in which case an optional
369
+ // `characterReferenceMarkerHexadecimal`, and a `characterReferenceValue`.
370
+ characterReference: "characterReference",
371
+ // The start or end marker (`&` or `;`).
372
+ characterReferenceMarker: "characterReferenceMarker",
373
+ // Mark reference as numeric (`#`).
374
+ characterReferenceMarkerNumeric: "characterReferenceMarkerNumeric",
375
+ // Mark reference as numeric (`x` or `X`).
376
+ characterReferenceMarkerHexadecimal: "characterReferenceMarkerHexadecimal",
377
+ // Value of character reference w/o markers (`amp`, `8800`, or `1D306`).
378
+ characterReferenceValue: "characterReferenceValue",
379
+ // Whole fenced code:
380
+ //
381
+ // ````markdown
382
+ // ```js
383
+ // alert(1)
384
+ // ```
385
+ // ````
386
+ codeFenced: "codeFenced",
387
+ // A fenced code fence, including whitespace, sequence, info, and meta
388
+ // (` ```js `).
389
+ codeFencedFence: "codeFencedFence",
390
+ // Sequence of grave accent or tilde characters (` ``` `) in a fence.
391
+ codeFencedFenceSequence: "codeFencedFenceSequence",
392
+ // Info word (`js`) in a fence.
393
+ // Includes string.
394
+ codeFencedFenceInfo: "codeFencedFenceInfo",
395
+ // Meta words (`highlight="1"`) in a fence.
396
+ // Includes string.
397
+ codeFencedFenceMeta: "codeFencedFenceMeta",
398
+ // A line of code.
399
+ codeFlowValue: "codeFlowValue",
400
+ // Whole indented code:
401
+ //
402
+ // ```markdown
403
+ // alert(1)
404
+ // ```
405
+ //
406
+ // Includes `lineEnding`, `linePrefix`, and `codeFlowValue`.
407
+ codeIndented: "codeIndented",
408
+ // A text code (``` `alpha` ```).
409
+ // Includes `codeTextSequence`, `codeTextData`, `lineEnding`, and can include
410
+ // `codeTextPadding`.
411
+ codeText: "codeText",
412
+ codeTextData: "codeTextData",
413
+ // A space or line ending right after or before a tick.
414
+ codeTextPadding: "codeTextPadding",
415
+ // A text code fence (` `` `).
416
+ codeTextSequence: "codeTextSequence",
417
+ // Whole content:
418
+ //
419
+ // ```markdown
420
+ // [a]: b
421
+ // c
422
+ // =
423
+ // d
424
+ // ```
425
+ //
426
+ // Includes `paragraph` and `definition`.
427
+ content: "content",
428
+ // Whole definition:
429
+ //
430
+ // ```markdown
431
+ // [micromark]: https://github.com/micromark/micromark
432
+ // ```
433
+ //
434
+ // Includes `definitionLabel`, `definitionMarker`, `whitespace`,
435
+ // `definitionDestination`, and optionally `lineEnding` and `definitionTitle`.
436
+ definition: "definition",
437
+ // Destination of a definition (`https://github.com/micromark/micromark` or
438
+ // `<https://github.com/micromark/micromark>`).
439
+ // Includes `definitionDestinationLiteral` or `definitionDestinationRaw`.
440
+ definitionDestination: "definitionDestination",
441
+ // Enclosed destination of a definition
442
+ // (`<https://github.com/micromark/micromark>`).
443
+ // Includes `definitionDestinationLiteralMarker` and optionally
444
+ // `definitionDestinationString`.
445
+ definitionDestinationLiteral: "definitionDestinationLiteral",
446
+ // Markers of an enclosed definition destination (`<` or `>`).
447
+ definitionDestinationLiteralMarker: "definitionDestinationLiteralMarker",
448
+ // Unenclosed destination of a definition
449
+ // (`https://github.com/micromark/micromark`).
450
+ // Includes `definitionDestinationString`.
451
+ definitionDestinationRaw: "definitionDestinationRaw",
452
+ // Text in an destination (`https://github.com/micromark/micromark`).
453
+ // Includes string.
454
+ definitionDestinationString: "definitionDestinationString",
455
+ // Label of a definition (`[micromark]`).
456
+ // Includes `definitionLabelMarker` and `definitionLabelString`.
457
+ definitionLabel: "definitionLabel",
458
+ // Markers of a definition label (`[` or `]`).
459
+ definitionLabelMarker: "definitionLabelMarker",
460
+ // Value of a definition label (`micromark`).
461
+ // Includes string.
462
+ definitionLabelString: "definitionLabelString",
463
+ // Marker between a label and a destination (`:`).
464
+ definitionMarker: "definitionMarker",
465
+ // Title of a definition (`"x"`, `'y'`, or `(z)`).
466
+ // Includes `definitionTitleMarker` and optionally `definitionTitleString`.
467
+ definitionTitle: "definitionTitle",
468
+ // Marker around a title of a definition (`"`, `'`, `(`, or `)`).
469
+ definitionTitleMarker: "definitionTitleMarker",
470
+ // Data without markers in a title (`z`).
471
+ // Includes string.
472
+ definitionTitleString: "definitionTitleString",
473
+ // Emphasis (`*alpha*`).
474
+ // Includes `emphasisSequence` and `emphasisText`.
475
+ emphasis: "emphasis",
476
+ // Sequence of emphasis markers (`*` or `_`).
477
+ emphasisSequence: "emphasisSequence",
478
+ // Emphasis text (`alpha`).
479
+ // Includes text.
480
+ emphasisText: "emphasisText",
481
+ // The character escape marker (`\`).
482
+ escapeMarker: "escapeMarker",
483
+ // A hard break created with a backslash (`\\n`).
484
+ // Note: does not include the line ending.
485
+ hardBreakEscape: "hardBreakEscape",
486
+ // A hard break created with trailing spaces (` \n`).
487
+ // Does not include the line ending.
488
+ hardBreakTrailing: "hardBreakTrailing",
489
+ // Flow HTML:
490
+ //
491
+ // ```markdown
492
+ // <div
493
+ // ```
494
+ //
495
+ // Inlcudes `lineEnding`, `htmlFlowData`.
496
+ htmlFlow: "htmlFlow",
497
+ htmlFlowData: "htmlFlowData",
498
+ // HTML in text (the tag in `a <i> b`).
499
+ // Includes `lineEnding`, `htmlTextData`.
500
+ htmlText: "htmlText",
501
+ htmlTextData: "htmlTextData",
502
+ // Whole image (`![alpha](bravo)`, `![alpha][bravo]`, `![alpha][]`, or
503
+ // `![alpha]`).
504
+ // Includes `label` and an optional `resource` or `reference`.
505
+ image: "image",
506
+ // Whole link label (`[*alpha*]`).
507
+ // Includes `labelLink` or `labelImage`, `labelText`, and `labelEnd`.
508
+ label: "label",
509
+ // Text in an label (`*alpha*`).
510
+ // Includes text.
511
+ labelText: "labelText",
512
+ // Start a link label (`[`).
513
+ // Includes a `labelMarker`.
514
+ labelLink: "labelLink",
515
+ // Start an image label (`![`).
516
+ // Includes `labelImageMarker` and `labelMarker`.
517
+ labelImage: "labelImage",
518
+ // Marker of a label (`[` or `]`).
519
+ labelMarker: "labelMarker",
520
+ // Marker to start an image (`!`).
521
+ labelImageMarker: "labelImageMarker",
522
+ // End a label (`]`).
523
+ // Includes `labelMarker`.
524
+ labelEnd: "labelEnd",
525
+ // Whole link (`[alpha](bravo)`, `[alpha][bravo]`, `[alpha][]`, or `[alpha]`).
526
+ // Includes `label` and an optional `resource` or `reference`.
527
+ link: "link",
528
+ // Whole paragraph:
529
+ //
530
+ // ```markdown
531
+ // alpha
532
+ // bravo.
533
+ // ```
534
+ //
535
+ // Includes text.
536
+ paragraph: "paragraph",
537
+ // A reference (`[alpha]` or `[]`).
538
+ // Includes `referenceMarker` and an optional `referenceString`.
539
+ reference: "reference",
540
+ // A reference marker (`[` or `]`).
541
+ referenceMarker: "referenceMarker",
542
+ // Reference text (`alpha`).
543
+ // Includes string.
544
+ referenceString: "referenceString",
545
+ // A resource (`(https://example.com "alpha")`).
546
+ // Includes `resourceMarker`, an optional `resourceDestination` with an optional
547
+ // `whitespace` and `resourceTitle`.
548
+ resource: "resource",
549
+ // A resource destination (`https://example.com`).
550
+ // Includes `resourceDestinationLiteral` or `resourceDestinationRaw`.
551
+ resourceDestination: "resourceDestination",
552
+ // A literal resource destination (`<https://example.com>`).
553
+ // Includes `resourceDestinationLiteralMarker` and optionally
554
+ // `resourceDestinationString`.
555
+ resourceDestinationLiteral: "resourceDestinationLiteral",
556
+ // A resource destination marker (`<` or `>`).
557
+ resourceDestinationLiteralMarker: "resourceDestinationLiteralMarker",
558
+ // A raw resource destination (`https://example.com`).
559
+ // Includes `resourceDestinationString`.
560
+ resourceDestinationRaw: "resourceDestinationRaw",
561
+ // Resource destination text (`https://example.com`).
562
+ // Includes string.
563
+ resourceDestinationString: "resourceDestinationString",
564
+ // A resource marker (`(` or `)`).
565
+ resourceMarker: "resourceMarker",
566
+ // A resource title (`"alpha"`, `'alpha'`, or `(alpha)`).
567
+ // Includes `resourceTitleMarker` and optionally `resourceTitleString`.
568
+ resourceTitle: "resourceTitle",
569
+ // A resource title marker (`"`, `'`, `(`, or `)`).
570
+ resourceTitleMarker: "resourceTitleMarker",
571
+ // Resource destination title (`alpha`).
572
+ // Includes string.
573
+ resourceTitleString: "resourceTitleString",
574
+ // Whole setext heading:
575
+ //
576
+ // ```markdown
577
+ // alpha
578
+ // bravo
579
+ // =====
580
+ // ```
581
+ //
582
+ // Includes `setextHeadingText`, `lineEnding`, `linePrefix`, and
583
+ // `setextHeadingLine`.
584
+ setextHeading: "setextHeading",
585
+ // Content in a setext heading (`alpha\nbravo`).
586
+ // Includes text.
587
+ setextHeadingText: "setextHeadingText",
588
+ // Underline in a setext heading, including whitespace suffix (`==`).
589
+ // Includes `setextHeadingLineSequence`.
590
+ setextHeadingLine: "setextHeadingLine",
591
+ // Sequence of equals or dash characters in underline in a setext heading (`-`).
592
+ setextHeadingLineSequence: "setextHeadingLineSequence",
593
+ // Strong (`**alpha**`).
594
+ // Includes `strongSequence` and `strongText`.
595
+ strong: "strong",
596
+ // Sequence of strong markers (`**` or `__`).
597
+ strongSequence: "strongSequence",
598
+ // Strong text (`alpha`).
599
+ // Includes text.
600
+ strongText: "strongText",
601
+ // Whole thematic break:
602
+ //
603
+ // ```markdown
604
+ // * * *
605
+ // ```
606
+ //
607
+ // Includes `thematicBreakSequence` and `whitespace`.
608
+ thematicBreak: "thematicBreak",
609
+ // A sequence of one or more thematic break markers (`***`).
610
+ thematicBreakSequence: "thematicBreakSequence",
611
+ // Whole block quote:
612
+ //
613
+ // ```markdown
614
+ // > a
615
+ // >
616
+ // > b
617
+ // ```
618
+ //
619
+ // Includes `blockQuotePrefix` and flow.
620
+ blockQuote: "blockQuote",
621
+ // The `>` or `> ` of a block quote.
622
+ blockQuotePrefix: "blockQuotePrefix",
623
+ // The `>` of a block quote prefix.
624
+ blockQuoteMarker: "blockQuoteMarker",
625
+ // The optional ` ` of a block quote prefix.
626
+ blockQuotePrefixWhitespace: "blockQuotePrefixWhitespace",
627
+ // Whole ordered list:
628
+ //
629
+ // ```markdown
630
+ // 1. a
631
+ // b
632
+ // ```
633
+ //
634
+ // Includes `listItemPrefix`, flow, and optionally `listItemIndent` on further
635
+ // lines.
636
+ listOrdered: "listOrdered",
637
+ // Whole unordered list:
638
+ //
639
+ // ```markdown
640
+ // - a
641
+ // b
642
+ // ```
643
+ //
644
+ // Includes `listItemPrefix`, flow, and optionally `listItemIndent` on further
645
+ // lines.
646
+ listUnordered: "listUnordered",
647
+ // The indent of further list item lines.
648
+ listItemIndent: "listItemIndent",
649
+ // A marker, as in, `*`, `+`, `-`, `.`, or `)`.
650
+ listItemMarker: "listItemMarker",
651
+ // The thing that starts a list item, such as `1. `.
652
+ // Includes `listItemValue` if ordered, `listItemMarker`, and
653
+ // `listItemPrefixWhitespace` (unless followed by a line ending).
654
+ listItemPrefix: "listItemPrefix",
655
+ // The whitespace after a marker.
656
+ listItemPrefixWhitespace: "listItemPrefixWhitespace",
657
+ // The numerical value of an ordered item.
658
+ listItemValue: "listItemValue",
659
+ // Internal types used for subtokenizers, compiled away
660
+ chunkDocument: "chunkDocument",
661
+ chunkContent: "chunkContent",
662
+ chunkFlow: "chunkFlow",
663
+ chunkText: "chunkText",
664
+ chunkString: "chunkString"
665
+ }
666
+ );
667
+
668
+ // ../node_modules/.pnpm/micromark-util-symbol@2.0.1/node_modules/micromark-util-symbol/lib/constants.js
669
+ var constants = (
670
+ /** @type {const} */
671
+ {
672
+ attentionSideAfter: 2,
673
+ // Symbol to mark an attention sequence as after content: `a*`
674
+ attentionSideBefore: 1,
675
+ // Symbol to mark an attention sequence as before content: `*a`
676
+ atxHeadingOpeningFenceSizeMax: 6,
677
+ // 6 number signs is fine, 7 isn’t.
678
+ autolinkDomainSizeMax: 63,
679
+ // 63 characters is fine, 64 is too many.
680
+ autolinkSchemeSizeMax: 32,
681
+ // 32 characters is fine, 33 is too many.
682
+ cdataOpeningString: "CDATA[",
683
+ // And preceded by `<![`.
684
+ characterGroupPunctuation: 2,
685
+ // Symbol used to indicate a character is punctuation
686
+ characterGroupWhitespace: 1,
687
+ // Symbol used to indicate a character is whitespace
688
+ characterReferenceDecimalSizeMax: 7,
689
+ // `&#9999999;`.
690
+ characterReferenceHexadecimalSizeMax: 6,
691
+ // `&#xff9999;`.
692
+ characterReferenceNamedSizeMax: 31,
693
+ // `&CounterClockwiseContourIntegral;`.
694
+ codeFencedSequenceSizeMin: 3,
695
+ // At least 3 ticks or tildes are needed.
696
+ contentTypeContent: "content",
697
+ contentTypeDocument: "document",
698
+ contentTypeFlow: "flow",
699
+ contentTypeString: "string",
700
+ contentTypeText: "text",
701
+ hardBreakPrefixSizeMin: 2,
702
+ // At least 2 trailing spaces are needed.
703
+ htmlBasic: 6,
704
+ // Symbol for `<div`
705
+ htmlCdata: 5,
706
+ // Symbol for `<![CDATA[]]>`
707
+ htmlComment: 2,
708
+ // Symbol for `<!---->`
709
+ htmlComplete: 7,
710
+ // Symbol for `<x>`
711
+ htmlDeclaration: 4,
712
+ // Symbol for `<!doctype>`
713
+ htmlInstruction: 3,
714
+ // Symbol for `<?php?>`
715
+ htmlRawSizeMax: 8,
716
+ // Length of `textarea`.
717
+ htmlRaw: 1,
718
+ // Symbol for `<script>`
719
+ linkResourceDestinationBalanceMax: 32,
720
+ // See: <https://spec.commonmark.org/0.30/#link-destination>, <https://github.com/remarkjs/react-markdown/issues/658#issuecomment-984345577>
721
+ linkReferenceSizeMax: 999,
722
+ // See: <https://spec.commonmark.org/0.30/#link-label>
723
+ listItemValueSizeMax: 10,
724
+ // See: <https://spec.commonmark.org/0.30/#ordered-list-marker>
725
+ numericBaseDecimal: 10,
726
+ numericBaseHexadecimal: 16,
727
+ tabSize: 4,
728
+ // Tabs have a hard-coded size of 4, per CommonMark.
729
+ thematicBreakMarkerCountMin: 3,
730
+ // At least 3 asterisks, dashes, or underscores are needed.
731
+ v8MaxSafeChunkSize: 1e4
732
+ // V8 (and potentially others) have problems injecting giant arrays into other arrays, hence we operate in chunks.
733
+ }
734
+ );
735
+
736
+ // ../node_modules/.pnpm/micromark-util-symbol@2.0.1/node_modules/micromark-util-symbol/lib/values.js
737
+ var values = (
738
+ /** @type {const} */
739
+ {
740
+ ht: " ",
741
+ lf: "\n",
742
+ cr: "\r",
743
+ space: " ",
744
+ exclamationMark: "!",
745
+ quotationMark: '"',
746
+ numberSign: "#",
747
+ dollarSign: "$",
748
+ percentSign: "%",
749
+ ampersand: "&",
750
+ apostrophe: "'",
751
+ leftParenthesis: "(",
752
+ rightParenthesis: ")",
753
+ asterisk: "*",
754
+ plusSign: "+",
755
+ comma: ",",
756
+ dash: "-",
757
+ dot: ".",
758
+ slash: "/",
759
+ digit0: "0",
760
+ digit1: "1",
761
+ digit2: "2",
762
+ digit3: "3",
763
+ digit4: "4",
764
+ digit5: "5",
765
+ digit6: "6",
766
+ digit7: "7",
767
+ digit8: "8",
768
+ digit9: "9",
769
+ colon: ":",
770
+ semicolon: ";",
771
+ lessThan: "<",
772
+ equalsTo: "=",
773
+ greaterThan: ">",
774
+ questionMark: "?",
775
+ atSign: "@",
776
+ uppercaseA: "A",
777
+ uppercaseB: "B",
778
+ uppercaseC: "C",
779
+ uppercaseD: "D",
780
+ uppercaseE: "E",
781
+ uppercaseF: "F",
782
+ uppercaseG: "G",
783
+ uppercaseH: "H",
784
+ uppercaseI: "I",
785
+ uppercaseJ: "J",
786
+ uppercaseK: "K",
787
+ uppercaseL: "L",
788
+ uppercaseM: "M",
789
+ uppercaseN: "N",
790
+ uppercaseO: "O",
791
+ uppercaseP: "P",
792
+ uppercaseQ: "Q",
793
+ uppercaseR: "R",
794
+ uppercaseS: "S",
795
+ uppercaseT: "T",
796
+ uppercaseU: "U",
797
+ uppercaseV: "V",
798
+ uppercaseW: "W",
799
+ uppercaseX: "X",
800
+ uppercaseY: "Y",
801
+ uppercaseZ: "Z",
802
+ leftSquareBracket: "[",
803
+ backslash: "\\",
804
+ rightSquareBracket: "]",
805
+ caret: "^",
806
+ underscore: "_",
807
+ graveAccent: "`",
808
+ lowercaseA: "a",
809
+ lowercaseB: "b",
810
+ lowercaseC: "c",
811
+ lowercaseD: "d",
812
+ lowercaseE: "e",
813
+ lowercaseF: "f",
814
+ lowercaseG: "g",
815
+ lowercaseH: "h",
816
+ lowercaseI: "i",
817
+ lowercaseJ: "j",
818
+ lowercaseK: "k",
819
+ lowercaseL: "l",
820
+ lowercaseM: "m",
821
+ lowercaseN: "n",
822
+ lowercaseO: "o",
823
+ lowercaseP: "p",
824
+ lowercaseQ: "q",
825
+ lowercaseR: "r",
826
+ lowercaseS: "s",
827
+ lowercaseT: "t",
828
+ lowercaseU: "u",
829
+ lowercaseV: "v",
830
+ lowercaseW: "w",
831
+ lowercaseX: "x",
832
+ lowercaseY: "y",
833
+ lowercaseZ: "z",
834
+ leftCurlyBrace: "{",
835
+ verticalBar: "|",
836
+ rightCurlyBrace: "}",
837
+ tilde: "~",
838
+ replacementCharacter: "�"
839
+ }
840
+ );
841
+
842
+ // ../node_modules/.pnpm/micromark-util-character@2.1.1/node_modules/micromark-util-character/dev/index.js
843
+ var asciiAlpha = regexCheck(/[A-Za-z]/);
844
+ var asciiAlphanumeric = regexCheck(/[\dA-Za-z]/);
845
+ var asciiAtext = regexCheck(/[#-'*+\--9=?A-Z^-~]/);
846
+ function asciiControl(code) {
847
+ return (
848
+ // Special whitespace codes (which have negative values), C0 and Control
849
+ // character DEL
850
+ code !== null && (code < codes.space || code === codes.del)
851
+ );
852
+ }
853
+ var asciiDigit = regexCheck(/\d/);
854
+ var asciiHexDigit = regexCheck(/[\dA-Fa-f]/);
855
+ var asciiPunctuation = regexCheck(/[!-/:-@[-`{-~]/);
856
+ function markdownLineEnding(code) {
857
+ return code !== null && code < codes.horizontalTab;
858
+ }
859
+ function markdownLineEndingOrSpace(code) {
860
+ return code !== null && (code < codes.nul || code === codes.space);
861
+ }
862
+ function markdownSpace(code) {
863
+ return code === codes.horizontalTab || code === codes.virtualSpace || code === codes.space;
864
+ }
865
+ var unicodePunctuation = regexCheck(new RegExp("\\p{P}|\\p{S}", "u"));
866
+ var unicodeWhitespace = regexCheck(/\s/);
867
+ function regexCheck(regex) {
868
+ return check;
869
+ function check(code) {
870
+ return code !== null && code > -1 && regex.test(String.fromCharCode(code));
871
+ }
872
+ }
873
+
874
+ export {
875
+ ok,
876
+ unreachable,
877
+ codes,
878
+ constants,
879
+ types,
880
+ values,
881
+ asciiAlpha,
882
+ asciiAlphanumeric,
883
+ asciiAtext,
884
+ asciiControl,
885
+ asciiDigit,
886
+ asciiHexDigit,
887
+ asciiPunctuation,
888
+ markdownLineEnding,
889
+ markdownLineEndingOrSpace,
890
+ markdownSpace,
891
+ unicodePunctuation,
892
+ unicodeWhitespace
893
+ };
894
+ //# sourceMappingURL=chunk-MJUUSK53.js.map