chunk-EIBGEDEJ.js 25 KB

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