@gmb/bitmark-parser-generator 1.5.12 → 1.5.14

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 (54) hide show
  1. package/dist/browser/bitmark-parser-generator.min.js +1 -1
  2. package/dist/browser/bundle-report.html +2 -2
  3. package/dist/cjs/ast/Ast.js +13 -13
  4. package/dist/cjs/ast/Ast.js.map +1 -1
  5. package/dist/cjs/generated/build-info.js +1 -1
  6. package/dist/cjs/generated/parser/text/text-peggy-parser.js +1132 -777
  7. package/dist/cjs/generated/parser/text/text-peggy-parser.js.map +1 -1
  8. package/dist/cjs/generator/AstWalkerGenerator.js +83 -0
  9. package/dist/cjs/generator/AstWalkerGenerator.js.map +1 -0
  10. package/dist/cjs/generator/bitmark/BitmarkGenerator.js +144 -180
  11. package/dist/cjs/generator/bitmark/BitmarkGenerator.js.map +1 -1
  12. package/dist/cjs/generator/json/JsonGenerator.js +66 -95
  13. package/dist/cjs/generator/json/JsonGenerator.js.map +1 -1
  14. package/dist/cjs/generator/text/TextGenerator.js +41 -73
  15. package/dist/cjs/generator/text/TextGenerator.js.map +1 -1
  16. package/dist/cjs/model/ast/NodeType.js +3 -0
  17. package/dist/cjs/model/ast/NodeType.js.map +1 -1
  18. package/dist/cjs/model/enum/TextNodeType.js +1 -0
  19. package/dist/cjs/model/enum/TextNodeType.js.map +1 -1
  20. package/dist/esm/ast/Ast.js +13 -13
  21. package/dist/esm/ast/Ast.js.map +1 -1
  22. package/dist/esm/generated/build-info.js +1 -1
  23. package/dist/esm/generated/parser/text/text-peggy-parser.js +1132 -777
  24. package/dist/esm/generated/parser/text/text-peggy-parser.js.map +1 -1
  25. package/dist/esm/generator/AstWalkerGenerator.js +80 -0
  26. package/dist/esm/generator/AstWalkerGenerator.js.map +1 -0
  27. package/dist/esm/generator/bitmark/BitmarkGenerator.js +144 -180
  28. package/dist/esm/generator/bitmark/BitmarkGenerator.js.map +1 -1
  29. package/dist/esm/generator/json/JsonGenerator.js +66 -95
  30. package/dist/esm/generator/json/JsonGenerator.js.map +1 -1
  31. package/dist/esm/generator/text/TextGenerator.js +41 -73
  32. package/dist/esm/generator/text/TextGenerator.js.map +1 -1
  33. package/dist/esm/model/ast/NodeType.js +3 -0
  34. package/dist/esm/model/ast/NodeType.js.map +1 -1
  35. package/dist/esm/model/enum/TextNodeType.js +1 -0
  36. package/dist/esm/model/enum/TextNodeType.js.map +1 -1
  37. package/dist/types/ast/Ast.d.ts +4 -8
  38. package/dist/types/ast/Ast.d.ts.map +1 -1
  39. package/dist/types/generated/parser/text/text-peggy-parser.d.ts.map +1 -1
  40. package/dist/types/generator/AstWalkerGenerator.d.ts +32 -0
  41. package/dist/types/generator/AstWalkerGenerator.d.ts.map +1 -0
  42. package/dist/types/generator/Generator.d.ts +2 -2
  43. package/dist/types/generator/Generator.d.ts.map +1 -1
  44. package/dist/types/generator/bitmark/BitmarkGenerator.d.ts +121 -127
  45. package/dist/types/generator/bitmark/BitmarkGenerator.d.ts.map +1 -1
  46. package/dist/types/generator/json/JsonGenerator.d.ts +43 -48
  47. package/dist/types/generator/json/JsonGenerator.d.ts.map +1 -1
  48. package/dist/types/generator/text/TextGenerator.d.ts +13 -17
  49. package/dist/types/generator/text/TextGenerator.d.ts.map +1 -1
  50. package/dist/types/model/ast/NodeType.d.ts +6 -0
  51. package/dist/types/model/ast/NodeType.d.ts.map +1 -1
  52. package/dist/types/model/enum/TextNodeType.d.ts +2 -0
  53. package/dist/types/model/enum/TextNodeType.d.ts.map +1 -1
  54. package/package.json +1 -1
@@ -18,6 +18,15 @@ function unbreakscape(_str) {
18
18
  u_ = Breakscape_1.Breakscape.unbreakscape(u_);
19
19
  return u_;
20
20
  }
21
+ function removeTempParsingParent(obj) {
22
+ if (obj && typeof obj === 'object') {
23
+ delete obj._tempParsingParent; // Remove the property if exists
24
+ Object.keys(obj).forEach(key => {
25
+ // Recursively call the function for all sub-objects
26
+ removeTempParsingParent(obj[key]);
27
+ });
28
+ }
29
+ }
21
30
  function bitmarkPlusPlus(_str) {
22
31
  // if (parser) {
23
32
  // return parser.parse(_str, { startRule: "bitmarkPlusPlus" })
@@ -215,83 +224,89 @@ function peg$parse(input, options) {
215
224
  var peg$c8 = "JavaScript";
216
225
  var peg$c9 = "\u2022 ";
217
226
  var peg$c10 = "\u20221 ";
218
- var peg$c11 = "\u2022+ ";
219
- var peg$c12 = "\u2022- ";
220
- var peg$c13 = "\t";
221
- var peg$c14 = "image";
222
- var peg$c15 = " ";
223
- var peg$c16 = "#";
224
- var peg$c17 = "@";
225
- var peg$c18 = "width";
226
- var peg$c19 = "height";
227
- var peg$c20 = "=";
228
- var peg$c21 = "\uD835\uDC53";
229
- var peg$c22 = "link:";
230
- var peg$c23 = "var:";
231
- var peg$c24 = "code:";
232
- var peg$c25 = "timer";
233
- var peg$c26 = "timer:";
234
- var peg$c27 = "duration:";
235
- var peg$c28 = "P";
236
- var peg$c29 = "color:";
237
- var peg$c30 = "bold";
238
- var peg$c31 = "italic";
239
- var peg$c32 = "light";
240
- var peg$c33 = "highlight";
241
- var peg$c34 = "strike";
242
- var peg$c35 = "subscript";
243
- var peg$c36 = "superscript";
244
- var peg$c37 = "ins";
245
- var peg$c38 = "del";
246
- var peg$c39 = "underline";
247
- var peg$c40 = "doubleUnderline";
248
- var peg$c41 = "circle";
249
- var peg$c42 = "languageEm";
250
- var peg$c43 = "userUnderline";
251
- var peg$c44 = "userDoubleUnderline";
252
- var peg$c45 = "userStrike";
253
- var peg$c46 = "userCircle";
254
- var peg$c47 = "userHighlight";
255
- var peg$c48 = "aqua";
256
- var peg$c49 = "black";
257
- var peg$c50 = "blue";
258
- var peg$c51 = "pink";
259
- var peg$c52 = "fuchsia";
260
- var peg$c53 = "lightgrey";
261
- var peg$c54 = "gray";
262
- var peg$c55 = "darkgray";
263
- var peg$c56 = "green";
264
- var peg$c57 = "lime";
265
- var peg$c58 = "magenta";
266
- var peg$c59 = "maroon";
267
- var peg$c60 = "navy";
268
- var peg$c61 = "olive";
269
- var peg$c62 = "orange";
270
- var peg$c63 = "purple";
271
- var peg$c64 = "red";
272
- var peg$c65 = "silver";
273
- var peg$c66 = "teal";
274
- var peg$c67 = "violet";
275
- var peg$c68 = "white";
276
- var peg$c69 = "yellow";
277
- var peg$c70 = "*";
278
- var peg$c71 = "_";
279
- var peg$c72 = "`";
280
- var peg$c73 = "!";
281
- var peg$c74 = "[!";
282
- var peg$c75 = "]";
283
- var peg$c76 = "\n";
284
- var peg$c77 = "\r\n";
285
- var peg$c78 = "\r";
286
- var peg$c79 = "\u2028";
287
- var peg$c80 = "\u2029";
288
- var peg$c81 = "http";
289
- var peg$c82 = "s";
290
- var peg$c83 = "://";
291
- var peg$c84 = "mailto:";
292
- var peg$c85 = "~";
293
- var peg$c86 = "^";
294
- var peg$c87 = "'";
227
+ var peg$c11 = "\u2022A ";
228
+ var peg$c12 = "\u2022+ ";
229
+ var peg$c13 = "\u2022- ";
230
+ var peg$c14 = "\t";
231
+ var peg$c15 = "image";
232
+ var peg$c16 = " ";
233
+ var peg$c17 = "#";
234
+ var peg$c18 = "@";
235
+ var peg$c19 = "width";
236
+ var peg$c20 = "height";
237
+ var peg$c21 = "alignment";
238
+ var peg$c22 = "captionAlign";
239
+ var peg$c23 = "left";
240
+ var peg$c24 = "center";
241
+ var peg$c25 = "right";
242
+ var peg$c26 = "=";
243
+ var peg$c27 = "\uD835\uDC53";
244
+ var peg$c28 = "link:";
245
+ var peg$c29 = "var:";
246
+ var peg$c30 = "code:";
247
+ var peg$c31 = "timer";
248
+ var peg$c32 = "timer:";
249
+ var peg$c33 = "duration:";
250
+ var peg$c34 = "P";
251
+ var peg$c35 = "color:";
252
+ var peg$c36 = "bold";
253
+ var peg$c37 = "italic";
254
+ var peg$c38 = "light";
255
+ var peg$c39 = "highlight";
256
+ var peg$c40 = "strike";
257
+ var peg$c41 = "subscript";
258
+ var peg$c42 = "superscript";
259
+ var peg$c43 = "ins";
260
+ var peg$c44 = "del";
261
+ var peg$c45 = "underline";
262
+ var peg$c46 = "doubleUnderline";
263
+ var peg$c47 = "circle";
264
+ var peg$c48 = "languageEm";
265
+ var peg$c49 = "userUnderline";
266
+ var peg$c50 = "userDoubleUnderline";
267
+ var peg$c51 = "userStrike";
268
+ var peg$c52 = "userCircle";
269
+ var peg$c53 = "userHighlight";
270
+ var peg$c54 = "aqua";
271
+ var peg$c55 = "black";
272
+ var peg$c56 = "blue";
273
+ var peg$c57 = "pink";
274
+ var peg$c58 = "fuchsia";
275
+ var peg$c59 = "lightgrey";
276
+ var peg$c60 = "gray";
277
+ var peg$c61 = "darkgray";
278
+ var peg$c62 = "green";
279
+ var peg$c63 = "lime";
280
+ var peg$c64 = "magenta";
281
+ var peg$c65 = "maroon";
282
+ var peg$c66 = "navy";
283
+ var peg$c67 = "olive";
284
+ var peg$c68 = "orange";
285
+ var peg$c69 = "purple";
286
+ var peg$c70 = "red";
287
+ var peg$c71 = "silver";
288
+ var peg$c72 = "teal";
289
+ var peg$c73 = "violet";
290
+ var peg$c74 = "white";
291
+ var peg$c75 = "yellow";
292
+ var peg$c76 = "*";
293
+ var peg$c77 = "_";
294
+ var peg$c78 = "`";
295
+ var peg$c79 = "!";
296
+ var peg$c80 = "[!";
297
+ var peg$c81 = "]";
298
+ var peg$c82 = "\n";
299
+ var peg$c83 = "\r\n";
300
+ var peg$c84 = "\r";
301
+ var peg$c85 = "\u2028";
302
+ var peg$c86 = "\u2029";
303
+ var peg$c87 = "http";
304
+ var peg$c88 = "s";
305
+ var peg$c89 = "://";
306
+ var peg$c90 = "mailto:";
307
+ var peg$c91 = "~";
308
+ var peg$c92 = "^";
309
+ var peg$c93 = "'";
295
310
  var peg$r0 = /^[ \t]/;
296
311
  var peg$r1 = /^[0-9]/;
297
312
  var peg$r2 = /^[\t\v\f \xA0\uFEFF \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;
@@ -312,100 +327,106 @@ function peg$parse(input, options) {
312
327
  var peg$e10 = peg$literalExpectation("JavaScript", false);
313
328
  var peg$e11 = peg$literalExpectation("\u2022 ", false);
314
329
  var peg$e12 = peg$literalExpectation("\u20221 ", false);
315
- var peg$e13 = peg$literalExpectation("\u2022+ ", false);
316
- var peg$e14 = peg$literalExpectation("\u2022- ", false);
317
- var peg$e15 = peg$anyExpectation();
318
- var peg$e16 = peg$literalExpectation("\t", false);
319
- var peg$e17 = peg$literalExpectation("image", false);
320
- var peg$e18 = peg$literalExpectation(" ", false);
321
- var peg$e19 = peg$literalExpectation("#", false);
322
- var peg$e20 = peg$literalExpectation("@", false);
323
- var peg$e21 = peg$classExpectation([["0", "9"]], false, false);
324
- var peg$e22 = peg$literalExpectation("width", false);
325
- var peg$e23 = peg$literalExpectation("height", false);
326
- var peg$e24 = peg$otherExpectation("StyledString");
327
- var peg$e25 = peg$literalExpectation("=", false);
328
- var peg$e26 = peg$literalExpectation("\uD835\uDC53", false);
329
- var peg$e27 = peg$literalExpectation("link:", false);
330
- var peg$e28 = peg$literalExpectation("var:", false);
331
- var peg$e29 = peg$literalExpectation("code:", false);
332
- var peg$e30 = peg$literalExpectation("timer", false);
333
- var peg$e31 = peg$literalExpectation("timer:", false);
334
- var peg$e32 = peg$literalExpectation("duration:", false);
335
- var peg$e33 = peg$literalExpectation("P", false);
336
- var peg$e34 = peg$literalExpectation("color:", false);
337
- var peg$e35 = peg$literalExpectation("bold", false);
338
- var peg$e36 = peg$literalExpectation("italic", false);
339
- var peg$e37 = peg$literalExpectation("light", false);
340
- var peg$e38 = peg$literalExpectation("highlight", false);
341
- var peg$e39 = peg$literalExpectation("strike", false);
342
- var peg$e40 = peg$literalExpectation("subscript", false);
343
- var peg$e41 = peg$literalExpectation("superscript", false);
344
- var peg$e42 = peg$literalExpectation("ins", false);
345
- var peg$e43 = peg$literalExpectation("del", false);
346
- var peg$e44 = peg$literalExpectation("underline", false);
347
- var peg$e45 = peg$literalExpectation("doubleUnderline", false);
348
- var peg$e46 = peg$literalExpectation("circle", false);
349
- var peg$e47 = peg$literalExpectation("languageEm", false);
350
- var peg$e48 = peg$literalExpectation("userUnderline", false);
351
- var peg$e49 = peg$literalExpectation("userDoubleUnderline", false);
352
- var peg$e50 = peg$literalExpectation("userStrike", false);
353
- var peg$e51 = peg$literalExpectation("userCircle", false);
354
- var peg$e52 = peg$literalExpectation("userHighlight", false);
355
- var peg$e53 = peg$literalExpectation("aqua", false);
356
- var peg$e54 = peg$literalExpectation("black", false);
357
- var peg$e55 = peg$literalExpectation("blue", false);
358
- var peg$e56 = peg$literalExpectation("pink", false);
359
- var peg$e57 = peg$literalExpectation("fuchsia", false);
360
- var peg$e58 = peg$literalExpectation("lightgrey", false);
361
- var peg$e59 = peg$literalExpectation("gray", false);
362
- var peg$e60 = peg$literalExpectation("darkgray", false);
363
- var peg$e61 = peg$literalExpectation("green", false);
364
- var peg$e62 = peg$literalExpectation("lime", false);
365
- var peg$e63 = peg$literalExpectation("magenta", false);
366
- var peg$e64 = peg$literalExpectation("maroon", false);
367
- var peg$e65 = peg$literalExpectation("navy", false);
368
- var peg$e66 = peg$literalExpectation("olive", false);
369
- var peg$e67 = peg$literalExpectation("orange", false);
370
- var peg$e68 = peg$literalExpectation("purple", false);
371
- var peg$e69 = peg$literalExpectation("red", false);
372
- var peg$e70 = peg$literalExpectation("silver", false);
373
- var peg$e71 = peg$literalExpectation("teal", false);
374
- var peg$e72 = peg$literalExpectation("violet", false);
375
- var peg$e73 = peg$literalExpectation("white", false);
376
- var peg$e74 = peg$literalExpectation("yellow", false);
377
- var peg$e75 = peg$otherExpectation("MinimalStyledText");
378
- var peg$e76 = peg$otherExpectation("MinimalStyledString");
379
- var peg$e77 = peg$literalExpectation("*", false);
380
- var peg$e78 = peg$literalExpectation("_", false);
381
- var peg$e79 = peg$literalExpectation("`", false);
382
- var peg$e80 = peg$literalExpectation("!", false);
383
- var peg$e81 = peg$literalExpectation("[!", false);
384
- var peg$e82 = peg$literalExpectation("]", false);
385
- var peg$e83 = peg$otherExpectation("Line Terminator");
386
- var peg$e84 = peg$literalExpectation("\n", false);
387
- var peg$e85 = peg$literalExpectation("\r\n", false);
388
- var peg$e86 = peg$literalExpectation("\r", false);
389
- var peg$e87 = peg$literalExpectation("\u2028", false);
390
- var peg$e88 = peg$literalExpectation("\u2029", false);
391
- var peg$e89 = peg$otherExpectation("whitespace in line");
392
- var peg$e90 = peg$otherExpectation("space");
393
- var peg$e91 = peg$otherExpectation("language tag separator");
394
- var peg$e92 = peg$otherExpectation("white space, separator");
395
- var peg$e93 = peg$classExpectation(["\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], false, false);
396
- var peg$e94 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], false, false);
397
- var peg$e95 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false);
398
- var peg$e96 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029", "\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], true, false);
399
- var peg$e97 = peg$literalExpectation("http", false);
400
- var peg$e98 = peg$literalExpectation("s", false);
401
- var peg$e99 = peg$literalExpectation("://", false);
402
- var peg$e100 = peg$literalExpectation("mailto:", false);
403
- var peg$e101 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "!", "*", "'", "(", ")", "=", ["+", "/"], ".", "_", "?", "#", "@", "[", "]", "$", "&", "(", ")", ",", ";", "%", ":", "{", "}"], false, false);
404
- var peg$e102 = peg$literalExpectation("~", false);
405
- var peg$e103 = peg$literalExpectation("^", false);
406
- var peg$e104 = peg$literalExpectation("'", false);
330
+ var peg$e13 = peg$literalExpectation("\u2022A ", false);
331
+ var peg$e14 = peg$literalExpectation("\u2022+ ", false);
332
+ var peg$e15 = peg$literalExpectation("\u2022- ", false);
333
+ var peg$e16 = peg$anyExpectation();
334
+ var peg$e17 = peg$literalExpectation("\t", false);
335
+ var peg$e18 = peg$literalExpectation("image", false);
336
+ var peg$e19 = peg$literalExpectation(" ", false);
337
+ var peg$e20 = peg$literalExpectation("#", false);
338
+ var peg$e21 = peg$literalExpectation("@", false);
339
+ var peg$e22 = peg$classExpectation([["0", "9"]], false, false);
340
+ var peg$e23 = peg$literalExpectation("width", false);
341
+ var peg$e24 = peg$literalExpectation("height", false);
342
+ var peg$e25 = peg$literalExpectation("alignment", false);
343
+ var peg$e26 = peg$literalExpectation("captionAlign", false);
344
+ var peg$e27 = peg$literalExpectation("left", false);
345
+ var peg$e28 = peg$literalExpectation("center", false);
346
+ var peg$e29 = peg$literalExpectation("right", false);
347
+ var peg$e30 = peg$otherExpectation("StyledString");
348
+ var peg$e31 = peg$literalExpectation("=", false);
349
+ var peg$e32 = peg$literalExpectation("\uD835\uDC53", false);
350
+ var peg$e33 = peg$literalExpectation("link:", false);
351
+ var peg$e34 = peg$literalExpectation("var:", false);
352
+ var peg$e35 = peg$literalExpectation("code:", false);
353
+ var peg$e36 = peg$literalExpectation("timer", false);
354
+ var peg$e37 = peg$literalExpectation("timer:", false);
355
+ var peg$e38 = peg$literalExpectation("duration:", false);
356
+ var peg$e39 = peg$literalExpectation("P", false);
357
+ var peg$e40 = peg$literalExpectation("color:", false);
358
+ var peg$e41 = peg$literalExpectation("bold", false);
359
+ var peg$e42 = peg$literalExpectation("italic", false);
360
+ var peg$e43 = peg$literalExpectation("light", false);
361
+ var peg$e44 = peg$literalExpectation("highlight", false);
362
+ var peg$e45 = peg$literalExpectation("strike", false);
363
+ var peg$e46 = peg$literalExpectation("subscript", false);
364
+ var peg$e47 = peg$literalExpectation("superscript", false);
365
+ var peg$e48 = peg$literalExpectation("ins", false);
366
+ var peg$e49 = peg$literalExpectation("del", false);
367
+ var peg$e50 = peg$literalExpectation("underline", false);
368
+ var peg$e51 = peg$literalExpectation("doubleUnderline", false);
369
+ var peg$e52 = peg$literalExpectation("circle", false);
370
+ var peg$e53 = peg$literalExpectation("languageEm", false);
371
+ var peg$e54 = peg$literalExpectation("userUnderline", false);
372
+ var peg$e55 = peg$literalExpectation("userDoubleUnderline", false);
373
+ var peg$e56 = peg$literalExpectation("userStrike", false);
374
+ var peg$e57 = peg$literalExpectation("userCircle", false);
375
+ var peg$e58 = peg$literalExpectation("userHighlight", false);
376
+ var peg$e59 = peg$literalExpectation("aqua", false);
377
+ var peg$e60 = peg$literalExpectation("black", false);
378
+ var peg$e61 = peg$literalExpectation("blue", false);
379
+ var peg$e62 = peg$literalExpectation("pink", false);
380
+ var peg$e63 = peg$literalExpectation("fuchsia", false);
381
+ var peg$e64 = peg$literalExpectation("lightgrey", false);
382
+ var peg$e65 = peg$literalExpectation("gray", false);
383
+ var peg$e66 = peg$literalExpectation("darkgray", false);
384
+ var peg$e67 = peg$literalExpectation("green", false);
385
+ var peg$e68 = peg$literalExpectation("lime", false);
386
+ var peg$e69 = peg$literalExpectation("magenta", false);
387
+ var peg$e70 = peg$literalExpectation("maroon", false);
388
+ var peg$e71 = peg$literalExpectation("navy", false);
389
+ var peg$e72 = peg$literalExpectation("olive", false);
390
+ var peg$e73 = peg$literalExpectation("orange", false);
391
+ var peg$e74 = peg$literalExpectation("purple", false);
392
+ var peg$e75 = peg$literalExpectation("red", false);
393
+ var peg$e76 = peg$literalExpectation("silver", false);
394
+ var peg$e77 = peg$literalExpectation("teal", false);
395
+ var peg$e78 = peg$literalExpectation("violet", false);
396
+ var peg$e79 = peg$literalExpectation("white", false);
397
+ var peg$e80 = peg$literalExpectation("yellow", false);
398
+ var peg$e81 = peg$otherExpectation("MinimalStyledText");
399
+ var peg$e82 = peg$otherExpectation("MinimalStyledString");
400
+ var peg$e83 = peg$literalExpectation("*", false);
401
+ var peg$e84 = peg$literalExpectation("_", false);
402
+ var peg$e85 = peg$literalExpectation("`", false);
403
+ var peg$e86 = peg$literalExpectation("!", false);
404
+ var peg$e87 = peg$literalExpectation("[!", false);
405
+ var peg$e88 = peg$literalExpectation("]", false);
406
+ var peg$e89 = peg$otherExpectation("Line Terminator");
407
+ var peg$e90 = peg$literalExpectation("\n", false);
408
+ var peg$e91 = peg$literalExpectation("\r\n", false);
409
+ var peg$e92 = peg$literalExpectation("\r", false);
410
+ var peg$e93 = peg$literalExpectation("\u2028", false);
411
+ var peg$e94 = peg$literalExpectation("\u2029", false);
412
+ var peg$e95 = peg$otherExpectation("whitespace in line");
413
+ var peg$e96 = peg$otherExpectation("space");
414
+ var peg$e97 = peg$otherExpectation("language tag separator");
415
+ var peg$e98 = peg$otherExpectation("white space, separator");
416
+ var peg$e99 = peg$classExpectation(["\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], false, false);
417
+ var peg$e100 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], false, false);
418
+ var peg$e101 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false);
419
+ var peg$e102 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029", "\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], true, false);
420
+ var peg$e103 = peg$literalExpectation("http", false);
421
+ var peg$e104 = peg$literalExpectation("s", false);
422
+ var peg$e105 = peg$literalExpectation("://", false);
423
+ var peg$e106 = peg$literalExpectation("mailto:", false);
424
+ var peg$e107 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "!", "*", "'", "(", ")", "=", ["+", "/"], ".", "_", "?", "#", "@", "[", "]", "$", "&", "(", ")", ",", ";", "%", ":", "{", "}"], false, false);
425
+ var peg$e108 = peg$literalExpectation("~", false);
426
+ var peg$e109 = peg$literalExpectation("^", false);
427
+ var peg$e110 = peg$literalExpectation("'", false);
407
428
  var peg$f0 = function (b) { return Object.assign({}, b); };
408
- var peg$f1 = function (b) { return Object.assign({}, b); };
429
+ var peg$f1 = function (b) { let lb_ = Object.assign({}, b); removeTempParsingParent(lb_); return lb_; };
409
430
  var peg$f2 = function (b) { return Object.assign({}, b); };
410
431
  var peg$f3 = function (b) { return Object.assign({}, b); };
411
432
  var peg$f4 = function (b) { return Object.assign({}, b); };
@@ -422,17 +443,22 @@ function peg$parse(input, options) {
422
443
  var peg$f15 = function (c, bl) { return Object.assign(Object.assign({}, c), { content: bl, attrs: {} }); };
423
444
  var peg$f16 = function (c, bl) { return Object.assign(Object.assign({}, c), { content: bl, attrs: {} }); };
424
445
  var peg$f17 = function (c, bl) { return Object.assign(Object.assign({}, c), { content: bl, attrs: {} }); };
425
- var peg$f18 = function () { return { type: "bulletList" }; };
426
- var peg$f19 = function () { return { type: "orderedList" }; };
427
- var peg$f20 = function () { return { type: "taskList" }; };
428
- var peg$f21 = function (lt, listItem, lines, c) { return c; };
429
- var peg$f22 = function (lt, listItem, lines, children) {
430
- let parent = 'bulletList';
446
+ var peg$f18 = function (c, bl) { return Object.assign(Object.assign({}, c), { content: bl, attrs: {} }); };
447
+ var peg$f19 = function () { return { type: "bulletList" }; };
448
+ var peg$f20 = function () { return { type: "orderedList" }; };
449
+ var peg$f21 = function () { return { type: "letteredList" }; };
450
+ var peg$f22 = function () { return { type: "taskList" }; };
451
+ var peg$f23 = function (lt, listItem, lines, c) { return c; };
452
+ var peg$f24 = function (lt, listItem, lines, children) {
453
+ let _tempParsingParent = 'bulletList';
431
454
  if ('•1 ' == lt) {
432
- parent = 'orderedList';
455
+ _tempParsingParent = 'orderedList';
456
+ }
457
+ if ('•A ' == lt) {
458
+ _tempParsingParent = 'letteredList';
433
459
  }
434
460
  if ('•+ ' == lt || '•- ' == lt) {
435
- parent = 'taskList';
461
+ _tempParsingParent = 'taskList';
436
462
  }
437
463
  let li = (listItem + lines.join("")).trim();
438
464
  let item = {
@@ -441,21 +467,21 @@ function peg$parse(input, options) {
441
467
  content: bitmarkPlusString(li)
442
468
  };
443
469
  let content = [item];
444
- if (children && children[0] && children[0].parent) {
470
+ if (children && children[0] && children[0]._tempParsingParent) {
445
471
  let sublist = {
446
- type: children[0].parent,
472
+ type: children[0]._tempParsingParent,
447
473
  attrs: { start: 1 },
448
474
  content: children,
449
- parent: ""
475
+ _tempParsingParent: ""
450
476
  };
451
- if ("orderedList" == sublist.parent) {
477
+ if ("orderedList" == sublist._tempParsingParent || "letteredList" == sublist._tempParsingParent) {
452
478
  sublist.attrs.start = 1;
453
479
  }
454
480
  content.push(sublist);
455
481
  }
456
482
  let t = "listItem";
457
483
  let attrs = {};
458
- if ("taskList" == parent) {
484
+ if ("taskList" == _tempParsingParent) {
459
485
  t = "taskItem";
460
486
  let checked = false;
461
487
  if ('•+ ' == lt) {
@@ -463,19 +489,21 @@ function peg$parse(input, options) {
463
489
  }
464
490
  attrs = { checked };
465
491
  }
466
- return { type: t, content, parent, attrs };
492
+ return { type: t, content, _tempParsingParent, attrs };
467
493
  };
468
- var peg$f23 = function (ll) { return ll; };
469
- var peg$f24 = function (i) { return i.join("") === indent; };
470
- var peg$f25 = function (i) { return i.length > indent.length; };
471
- var peg$f26 = function (i) { indentStack.push(indent); indent = i.join(""); };
472
- var peg$f27 = function () { indent = indentStack.pop(); return true; };
473
- var peg$f28 = function (body) { return { type: "paragraph", content: bitmarkPlusString(body.trim()), attrs: {} }; };
474
- var peg$f29 = function (body) { return { type: "paragraph", content: bitmarkPlusString(body.trim()), attrs: {} }; };
494
+ var peg$f25 = function (ll) { return ll; };
495
+ var peg$f26 = function (i) { return i.join("") === indent; };
496
+ var peg$f27 = function (i) { return i.length > indent.length; };
497
+ var peg$f28 = function (i) { indentStack.push(indent); indent = i.join(""); };
498
+ var peg$f29 = function () { indent = indentStack.pop(); return true; };
475
499
  var peg$f30 = function (body) { return { type: "paragraph", content: bitmarkPlusString(body.trim()), attrs: {} }; };
476
- var peg$f31 = function (t) { return t; };
477
- var peg$f32 = function (t, u, ch) {
500
+ var peg$f31 = function (body) { return { type: "paragraph", content: bitmarkPlusString(body.trim()), attrs: {} }; };
501
+ var peg$f32 = function (body) { return { type: "paragraph", content: bitmarkPlusString(body.trim()), attrs: {} }; };
502
+ var peg$f33 = function (t) { return t; };
503
+ var peg$f34 = function (t, u, ch) {
478
504
  const chain = Object.assign({}, ...ch);
505
+ let imageAlignment_ = chain.alignment || "center";
506
+ delete chain.alignment;
479
507
  let textAlign_ = chain.captionAlign || "left";
480
508
  delete chain.captionAlign;
481
509
  let alt_ = chain.alt || null;
@@ -488,48 +516,49 @@ function peg$parse(input, options) {
488
516
  delete chain.zoomDisabled;
489
517
  let image = {
490
518
  type: t,
491
- attrs: Object.assign({ textAlign: textAlign_, src: u, alt: alt_, title: title_, class: class_, zoomDisabled: zoomDisabled_ }, chain)
519
+ attrs: Object.assign({ alignment: imageAlignment_, textAlign: textAlign_, src: u, alt: alt_, title: title_, class: class_, zoomDisabled: zoomDisabled_ }, chain)
492
520
  };
493
521
  return image;
494
522
  };
495
- var peg$f33 = function (ch) { return ch; };
496
- var peg$f34 = function (str) { return { comment: str }; };
497
- var peg$f35 = function (p, v) { return { [p]: parseInt(v) }; };
498
- var peg$f36 = function (p, v) { return { type: "error", msg: p + ' must be an positive integer.', found: v }; };
499
- var peg$f37 = function (p, v) { return { [p]: v }; };
500
- var peg$f38 = function (p) { return { [p]: true }; };
501
- var peg$f39 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
502
- var peg$f40 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
503
- var peg$f41 = function () { return { "type": "hardBreak" }; };
504
- var peg$f42 = function (t) { return { text: unbreakscape(t), type: "text" }; };
505
- var peg$f43 = function (t) { return { index: +t, type: "bit" }; };
506
- var peg$f44 = function (t, marks) { if (!marks)
523
+ var peg$f35 = function (ch) { return ch; };
524
+ var peg$f36 = function (str) { return { comment: str }; };
525
+ var peg$f37 = function (p, v) { return { [p]: parseInt(v) }; };
526
+ var peg$f38 = function (p, v) { return { type: "error", msg: p + ' must be an positive integer.', found: v }; };
527
+ var peg$f39 = function (p, v) { return { [p]: v }; };
528
+ var peg$f40 = function (p, v) { return { [p]: v }; };
529
+ var peg$f41 = function (p) { return { [p]: true }; };
530
+ var peg$f42 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
531
+ var peg$f43 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
532
+ var peg$f44 = function () { return { "type": "hardBreak" }; };
533
+ var peg$f45 = function (t) { return { text: unbreakscape(t), type: "text" }; };
534
+ var peg$f46 = function (t) { return { index: +t, type: "bit" }; };
535
+ var peg$f47 = function (t, marks) { if (!marks)
507
536
  marks = []; return { marks, text: unbreakscape(t), type: "text" }; };
508
- var peg$f45 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
509
- var peg$f46 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
510
- var peg$f47 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
511
- var peg$f48 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
512
- var peg$f49 = function (u) { return { marks: [{ type: "link", attrs: { href: (u.pr + u.t).trim(), target: '_blank' } }], text: u.t, type: "text" }; };
513
- var peg$f50 = function (ch) { return ch; };
514
- var peg$f51 = function (str) { return { type: 'link', attrs: { href: str.trim(), target: '_blank' } }; };
515
- var peg$f52 = function (str) { return { type: 'var', attrs: { name: str.trim() } }; };
516
- var peg$f53 = function () { return { type: 'code', attrs: { language: "plain text" } }; };
517
- var peg$f54 = function (lang) { return { type: 'code', attrs: { language: lang.trim().toLowerCase() } }; };
518
- var peg$f55 = function () { return { type: 'timer', attrs: { name: "" } }; };
519
- var peg$f56 = function (str) { return { type: 'timer', attrs: { name: str.trim() } }; };
520
- var peg$f57 = function (str) { return { type: 'duration', attrs: { duration: str } }; };
521
- var peg$f58 = function (color) { return { type: 'color', attrs: { color } }; };
522
- var peg$f59 = function (style) { return { type: style }; };
523
- var peg$f60 = function (str) { return { type: "comment", comment: str }; };
524
- var peg$f61 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
525
- var peg$f62 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
526
- var peg$f63 = function (t) { return { text: unbreakscape(t), type: "text" }; };
527
- var peg$f64 = function (t) { return { index: +t, type: "bit" }; };
528
- var peg$f65 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
529
- var peg$f66 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
530
- var peg$f67 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
531
- var peg$f68 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
532
- var peg$f69 = function (pr, t) { return { pr, t }; };
537
+ var peg$f48 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
538
+ var peg$f49 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
539
+ var peg$f50 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
540
+ var peg$f51 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
541
+ var peg$f52 = function (u) { return { marks: [{ type: "link", attrs: { href: (u.pr + u.t).trim(), target: '_blank' } }], text: u.t, type: "text" }; };
542
+ var peg$f53 = function (ch) { return ch; };
543
+ var peg$f54 = function (str) { return { type: 'link', attrs: { href: str.trim(), target: '_blank' } }; };
544
+ var peg$f55 = function (str) { return { type: 'var', attrs: { name: str.trim() } }; };
545
+ var peg$f56 = function () { return { type: 'code', attrs: { language: "plain text" } }; };
546
+ var peg$f57 = function (lang) { return { type: 'code', attrs: { language: lang.trim().toLowerCase() } }; };
547
+ var peg$f58 = function () { return { type: 'timer', attrs: { name: "" } }; };
548
+ var peg$f59 = function (str) { return { type: 'timer', attrs: { name: str.trim() } }; };
549
+ var peg$f60 = function (str) { return { type: 'duration', attrs: { duration: str } }; };
550
+ var peg$f61 = function (color) { return { type: 'color', attrs: { color } }; };
551
+ var peg$f62 = function (style) { return { type: style }; };
552
+ var peg$f63 = function (str) { return { type: "comment", comment: str }; };
553
+ var peg$f64 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
554
+ var peg$f65 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
555
+ var peg$f66 = function (t) { return { text: unbreakscape(t), type: "text" }; };
556
+ var peg$f67 = function (t) { return { index: +t, type: "bit" }; };
557
+ var peg$f68 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
558
+ var peg$f69 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
559
+ var peg$f70 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
560
+ var peg$f71 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
561
+ var peg$f72 = function (pr, t) { return { pr, t }; };
533
562
  var peg$currPos = 0;
534
563
  var peg$savedPos = 0;
535
564
  var peg$posDetailsCache = [{ line: 1, column: 1 }];
@@ -1258,7 +1287,7 @@ function peg$parse(input, options) {
1258
1287
  }
1259
1288
  return s0;
1260
1289
  }
1261
- function peg$parseTaskListTag() {
1290
+ function peg$parseLetteredListTag() {
1262
1291
  var s0;
1263
1292
  if (input.substr(peg$currPos, 3) === peg$c11) {
1264
1293
  s0 = peg$c11;
@@ -1270,15 +1299,29 @@ function peg$parse(input, options) {
1270
1299
  peg$fail(peg$e13);
1271
1300
  }
1272
1301
  }
1302
+ return s0;
1303
+ }
1304
+ function peg$parseTaskListTag() {
1305
+ var s0;
1306
+ if (input.substr(peg$currPos, 3) === peg$c12) {
1307
+ s0 = peg$c12;
1308
+ peg$currPos += 3;
1309
+ }
1310
+ else {
1311
+ s0 = peg$FAILED;
1312
+ if (peg$silentFails === 0) {
1313
+ peg$fail(peg$e14);
1314
+ }
1315
+ }
1273
1316
  if (s0 === peg$FAILED) {
1274
- if (input.substr(peg$currPos, 3) === peg$c12) {
1275
- s0 = peg$c12;
1317
+ if (input.substr(peg$currPos, 3) === peg$c13) {
1318
+ s0 = peg$c13;
1276
1319
  peg$currPos += 3;
1277
1320
  }
1278
1321
  else {
1279
1322
  s0 = peg$FAILED;
1280
1323
  if (peg$silentFails === 0) {
1281
- peg$fail(peg$e14);
1324
+ peg$fail(peg$e15);
1282
1325
  }
1283
1326
  }
1284
1327
  }
@@ -1290,7 +1333,10 @@ function peg$parse(input, options) {
1290
1333
  if (s0 === peg$FAILED) {
1291
1334
  s0 = peg$parseOrderedListTag();
1292
1335
  if (s0 === peg$FAILED) {
1293
- s0 = peg$parseTaskListTag();
1336
+ s0 = peg$parseLetteredListTag();
1337
+ if (s0 === peg$FAILED) {
1338
+ s0 = peg$parseTaskListTag();
1339
+ }
1294
1340
  }
1295
1341
  }
1296
1342
  return s0;
@@ -1362,7 +1408,7 @@ function peg$parse(input, options) {
1362
1408
  }
1363
1409
  if (s0 === peg$FAILED) {
1364
1410
  s0 = peg$currPos;
1365
- s1 = peg$parseTaskListContainer();
1411
+ s1 = peg$parseLetteredListContainer();
1366
1412
  if (s1 !== peg$FAILED) {
1367
1413
  s2 = [];
1368
1414
  s3 = peg$parseBulletListLine();
@@ -1392,6 +1438,39 @@ function peg$parse(input, options) {
1392
1438
  peg$currPos = s0;
1393
1439
  s0 = peg$FAILED;
1394
1440
  }
1441
+ if (s0 === peg$FAILED) {
1442
+ s0 = peg$currPos;
1443
+ s1 = peg$parseTaskListContainer();
1444
+ if (s1 !== peg$FAILED) {
1445
+ s2 = [];
1446
+ s3 = peg$parseBulletListLine();
1447
+ if (s3 !== peg$FAILED) {
1448
+ while (s3 !== peg$FAILED) {
1449
+ s2.push(s3);
1450
+ s3 = peg$parseBulletListLine();
1451
+ }
1452
+ }
1453
+ else {
1454
+ s2 = peg$FAILED;
1455
+ }
1456
+ if (s2 !== peg$FAILED) {
1457
+ s3 = peg$parseNL();
1458
+ if (s3 === peg$FAILED) {
1459
+ s3 = null;
1460
+ }
1461
+ peg$savedPos = s0;
1462
+ s0 = peg$f18(s1, s2);
1463
+ }
1464
+ else {
1465
+ peg$currPos = s0;
1466
+ s0 = peg$FAILED;
1467
+ }
1468
+ }
1469
+ else {
1470
+ peg$currPos = s0;
1471
+ s0 = peg$FAILED;
1472
+ }
1473
+ }
1395
1474
  }
1396
1475
  }
1397
1476
  return s0;
@@ -1412,7 +1491,7 @@ function peg$parse(input, options) {
1412
1491
  }
1413
1492
  if (s1 !== peg$FAILED) {
1414
1493
  peg$savedPos = s0;
1415
- s1 = peg$f18();
1494
+ s1 = peg$f19();
1416
1495
  }
1417
1496
  s0 = s1;
1418
1497
  return s0;
@@ -1433,7 +1512,28 @@ function peg$parse(input, options) {
1433
1512
  }
1434
1513
  if (s1 !== peg$FAILED) {
1435
1514
  peg$savedPos = s0;
1436
- s1 = peg$f19();
1515
+ s1 = peg$f20();
1516
+ }
1517
+ s0 = s1;
1518
+ return s0;
1519
+ }
1520
+ function peg$parseLetteredListContainer() {
1521
+ var s0, s1, s2;
1522
+ s0 = peg$currPos;
1523
+ s1 = peg$currPos;
1524
+ peg$silentFails++;
1525
+ s2 = peg$parseLetteredListTag();
1526
+ peg$silentFails--;
1527
+ if (s2 !== peg$FAILED) {
1528
+ peg$currPos = s1;
1529
+ s1 = undefined;
1530
+ }
1531
+ else {
1532
+ s1 = peg$FAILED;
1533
+ }
1534
+ if (s1 !== peg$FAILED) {
1535
+ peg$savedPos = s0;
1536
+ s1 = peg$f21();
1437
1537
  }
1438
1538
  s0 = s1;
1439
1539
  return s0;
@@ -1454,7 +1554,7 @@ function peg$parse(input, options) {
1454
1554
  }
1455
1555
  if (s1 !== peg$FAILED) {
1456
1556
  peg$savedPos = s0;
1457
- s1 = peg$f20();
1557
+ s1 = peg$f22();
1458
1558
  }
1459
1559
  s0 = s1;
1460
1560
  return s0;
@@ -1489,7 +1589,7 @@ function peg$parse(input, options) {
1489
1589
  else {
1490
1590
  s8 = peg$FAILED;
1491
1591
  if (peg$silentFails === 0) {
1492
- peg$fail(peg$e15);
1592
+ peg$fail(peg$e16);
1493
1593
  }
1494
1594
  }
1495
1595
  if (s8 !== peg$FAILED) {
@@ -1527,7 +1627,7 @@ function peg$parse(input, options) {
1527
1627
  else {
1528
1628
  s8 = peg$FAILED;
1529
1629
  if (peg$silentFails === 0) {
1530
- peg$fail(peg$e15);
1630
+ peg$fail(peg$e16);
1531
1631
  }
1532
1632
  }
1533
1633
  if (s8 !== peg$FAILED) {
@@ -1569,7 +1669,7 @@ function peg$parse(input, options) {
1569
1669
  s8 = peg$parseDEDENT();
1570
1670
  if (s8 !== peg$FAILED) {
1571
1671
  peg$savedPos = s5;
1572
- s5 = peg$f21(s2, s3, s4, s7);
1672
+ s5 = peg$f23(s2, s3, s4, s7);
1573
1673
  }
1574
1674
  else {
1575
1675
  peg$currPos = s5;
@@ -1584,7 +1684,7 @@ function peg$parse(input, options) {
1584
1684
  s5 = null;
1585
1685
  }
1586
1686
  peg$savedPos = s0;
1587
- s0 = peg$f22(s2, s3, s4, s5);
1687
+ s0 = peg$f24(s2, s3, s4, s5);
1588
1688
  }
1589
1689
  else {
1590
1690
  peg$currPos = s0;
@@ -1649,7 +1749,7 @@ function peg$parse(input, options) {
1649
1749
  else {
1650
1750
  s9 = peg$FAILED;
1651
1751
  if (peg$silentFails === 0) {
1652
- peg$fail(peg$e15);
1752
+ peg$fail(peg$e16);
1653
1753
  }
1654
1754
  }
1655
1755
  if (s9 !== peg$FAILED) {
@@ -1688,7 +1788,7 @@ function peg$parse(input, options) {
1688
1788
  else {
1689
1789
  s9 = peg$FAILED;
1690
1790
  if (peg$silentFails === 0) {
1691
- peg$fail(peg$e15);
1791
+ peg$fail(peg$e16);
1692
1792
  }
1693
1793
  }
1694
1794
  if (s9 !== peg$FAILED) {
@@ -1732,7 +1832,7 @@ function peg$parse(input, options) {
1732
1832
  }
1733
1833
  if (s4 !== peg$FAILED) {
1734
1834
  peg$savedPos = s0;
1735
- s0 = peg$f23(s4);
1835
+ s0 = peg$f25(s4);
1736
1836
  }
1737
1837
  else {
1738
1838
  peg$currPos = s0;
@@ -1798,30 +1898,30 @@ function peg$parse(input, options) {
1798
1898
  s0 = peg$currPos;
1799
1899
  s1 = [];
1800
1900
  if (input.charCodeAt(peg$currPos) === 9) {
1801
- s2 = peg$c13;
1901
+ s2 = peg$c14;
1802
1902
  peg$currPos++;
1803
1903
  }
1804
1904
  else {
1805
1905
  s2 = peg$FAILED;
1806
1906
  if (peg$silentFails === 0) {
1807
- peg$fail(peg$e16);
1907
+ peg$fail(peg$e17);
1808
1908
  }
1809
1909
  }
1810
1910
  while (s2 !== peg$FAILED) {
1811
1911
  s1.push(s2);
1812
1912
  if (input.charCodeAt(peg$currPos) === 9) {
1813
- s2 = peg$c13;
1913
+ s2 = peg$c14;
1814
1914
  peg$currPos++;
1815
1915
  }
1816
1916
  else {
1817
1917
  s2 = peg$FAILED;
1818
1918
  if (peg$silentFails === 0) {
1819
- peg$fail(peg$e16);
1919
+ peg$fail(peg$e17);
1820
1920
  }
1821
1921
  }
1822
1922
  }
1823
1923
  peg$savedPos = peg$currPos;
1824
- s2 = peg$f24(s1);
1924
+ s2 = peg$f26(s1);
1825
1925
  if (s2) {
1826
1926
  s2 = undefined;
1827
1927
  }
@@ -1845,26 +1945,26 @@ function peg$parse(input, options) {
1845
1945
  s1 = peg$currPos;
1846
1946
  s2 = [];
1847
1947
  if (input.charCodeAt(peg$currPos) === 9) {
1848
- s3 = peg$c13;
1948
+ s3 = peg$c14;
1849
1949
  peg$currPos++;
1850
1950
  }
1851
1951
  else {
1852
1952
  s3 = peg$FAILED;
1853
1953
  if (peg$silentFails === 0) {
1854
- peg$fail(peg$e16);
1954
+ peg$fail(peg$e17);
1855
1955
  }
1856
1956
  }
1857
1957
  if (s3 !== peg$FAILED) {
1858
1958
  while (s3 !== peg$FAILED) {
1859
1959
  s2.push(s3);
1860
1960
  if (input.charCodeAt(peg$currPos) === 9) {
1861
- s3 = peg$c13;
1961
+ s3 = peg$c14;
1862
1962
  peg$currPos++;
1863
1963
  }
1864
1964
  else {
1865
1965
  s3 = peg$FAILED;
1866
1966
  if (peg$silentFails === 0) {
1867
- peg$fail(peg$e16);
1967
+ peg$fail(peg$e17);
1868
1968
  }
1869
1969
  }
1870
1970
  }
@@ -1874,7 +1974,7 @@ function peg$parse(input, options) {
1874
1974
  }
1875
1975
  if (s2 !== peg$FAILED) {
1876
1976
  peg$savedPos = peg$currPos;
1877
- s3 = peg$f25(s2);
1977
+ s3 = peg$f27(s2);
1878
1978
  if (s3) {
1879
1979
  s3 = undefined;
1880
1980
  }
@@ -1883,7 +1983,7 @@ function peg$parse(input, options) {
1883
1983
  }
1884
1984
  if (s3 !== peg$FAILED) {
1885
1985
  peg$savedPos = s1;
1886
- s1 = peg$f26(s2);
1986
+ s1 = peg$f28(s2);
1887
1987
  }
1888
1988
  else {
1889
1989
  peg$currPos = s1;
@@ -1907,7 +2007,7 @@ function peg$parse(input, options) {
1907
2007
  function peg$parseDEDENT() {
1908
2008
  var s0;
1909
2009
  peg$savedPos = peg$currPos;
1910
- s0 = peg$f27();
2010
+ s0 = peg$f29();
1911
2011
  if (s0) {
1912
2012
  s0 = undefined;
1913
2013
  }
@@ -1934,7 +2034,7 @@ function peg$parse(input, options) {
1934
2034
  s2 = peg$parseParagraphBody();
1935
2035
  if (s2 !== peg$FAILED) {
1936
2036
  peg$savedPos = s0;
1937
- s0 = peg$f28(s2);
2037
+ s0 = peg$f30(s2);
1938
2038
  }
1939
2039
  else {
1940
2040
  peg$currPos = s0;
@@ -1952,7 +2052,7 @@ function peg$parse(input, options) {
1952
2052
  s2 = peg$parseParagraphBody();
1953
2053
  if (s2 !== peg$FAILED) {
1954
2054
  peg$savedPos = s0;
1955
- s0 = peg$f29(s2);
2055
+ s0 = peg$f31(s2);
1956
2056
  }
1957
2057
  else {
1958
2058
  peg$currPos = s0;
@@ -1969,7 +2069,7 @@ function peg$parse(input, options) {
1969
2069
  if (s1 !== peg$FAILED) {
1970
2070
  s2 = '';
1971
2071
  peg$savedPos = s0;
1972
- s0 = peg$f30(s2);
2072
+ s0 = peg$f32(s2);
1973
2073
  }
1974
2074
  else {
1975
2075
  peg$currPos = s0;
@@ -2135,14 +2235,14 @@ function peg$parse(input, options) {
2135
2235
  }
2136
2236
  function peg$parseImageType() {
2137
2237
  var s0;
2138
- if (input.substr(peg$currPos, 5) === peg$c14) {
2139
- s0 = peg$c14;
2238
+ if (input.substr(peg$currPos, 5) === peg$c15) {
2239
+ s0 = peg$c15;
2140
2240
  peg$currPos += 5;
2141
2241
  }
2142
2242
  else {
2143
2243
  s0 = peg$FAILED;
2144
2244
  if (peg$silentFails === 0) {
2145
- peg$fail(peg$e17);
2245
+ peg$fail(peg$e18);
2146
2246
  }
2147
2247
  }
2148
2248
  return s0;
@@ -2155,7 +2255,7 @@ function peg$parse(input, options) {
2155
2255
  s2 = peg$parseImageType();
2156
2256
  if (s2 !== peg$FAILED) {
2157
2257
  peg$savedPos = s0;
2158
- s0 = peg$f31(s2);
2258
+ s0 = peg$f33(s2);
2159
2259
  }
2160
2260
  else {
2161
2261
  peg$currPos = s0;
@@ -2185,13 +2285,13 @@ function peg$parse(input, options) {
2185
2285
  }
2186
2286
  if (s2 !== peg$FAILED) {
2187
2287
  if (input.charCodeAt(peg$currPos) === 32) {
2188
- s3 = peg$c15;
2288
+ s3 = peg$c16;
2189
2289
  peg$currPos++;
2190
2290
  }
2191
2291
  else {
2192
2292
  s3 = peg$FAILED;
2193
2293
  if (peg$silentFails === 0) {
2194
- peg$fail(peg$e18);
2294
+ peg$fail(peg$e19);
2195
2295
  }
2196
2296
  }
2197
2297
  if (s3 === peg$FAILED) {
@@ -2249,7 +2349,7 @@ function peg$parse(input, options) {
2249
2349
  s8 = null;
2250
2350
  }
2251
2351
  peg$savedPos = s0;
2252
- s0 = peg$f32(s1, s4, s6);
2352
+ s0 = peg$f34(s1, s4, s6);
2253
2353
  }
2254
2354
  else {
2255
2355
  peg$currPos = s0;
@@ -2287,7 +2387,7 @@ function peg$parse(input, options) {
2287
2387
  s2 = peg$parseMediaChainItem();
2288
2388
  }
2289
2389
  peg$savedPos = s0;
2290
- s1 = peg$f33(s1);
2390
+ s1 = peg$f35(s1);
2291
2391
  s0 = s1;
2292
2392
  return s0;
2293
2393
  }
@@ -2295,13 +2395,13 @@ function peg$parse(input, options) {
2295
2395
  var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
2296
2396
  s0 = peg$currPos;
2297
2397
  if (input.charCodeAt(peg$currPos) === 35) {
2298
- s1 = peg$c16;
2398
+ s1 = peg$c17;
2299
2399
  peg$currPos++;
2300
2400
  }
2301
2401
  else {
2302
2402
  s1 = peg$FAILED;
2303
2403
  if (peg$silentFails === 0) {
2304
- peg$fail(peg$e19);
2404
+ peg$fail(peg$e20);
2305
2405
  }
2306
2406
  }
2307
2407
  if (s1 !== peg$FAILED) {
@@ -2368,7 +2468,7 @@ function peg$parse(input, options) {
2368
2468
  s3 = peg$parseBlockTag();
2369
2469
  if (s3 !== peg$FAILED) {
2370
2470
  peg$savedPos = s0;
2371
- s0 = peg$f34(s2);
2471
+ s0 = peg$f36(s2);
2372
2472
  }
2373
2473
  else {
2374
2474
  peg$currPos = s0;
@@ -2382,13 +2482,13 @@ function peg$parse(input, options) {
2382
2482
  if (s0 === peg$FAILED) {
2383
2483
  s0 = peg$currPos;
2384
2484
  if (input.charCodeAt(peg$currPos) === 64) {
2385
- s1 = peg$c17;
2485
+ s1 = peg$c18;
2386
2486
  peg$currPos++;
2387
2487
  }
2388
2488
  else {
2389
2489
  s1 = peg$FAILED;
2390
2490
  if (peg$silentFails === 0) {
2391
- peg$fail(peg$e20);
2491
+ peg$fail(peg$e21);
2392
2492
  }
2393
2493
  }
2394
2494
  if (s1 === peg$FAILED) {
@@ -2409,25 +2509,25 @@ function peg$parse(input, options) {
2409
2509
  if (s3 !== peg$FAILED) {
2410
2510
  s4 = [];
2411
2511
  if (input.charCodeAt(peg$currPos) === 32) {
2412
- s5 = peg$c15;
2512
+ s5 = peg$c16;
2413
2513
  peg$currPos++;
2414
2514
  }
2415
2515
  else {
2416
2516
  s5 = peg$FAILED;
2417
2517
  if (peg$silentFails === 0) {
2418
- peg$fail(peg$e18);
2518
+ peg$fail(peg$e19);
2419
2519
  }
2420
2520
  }
2421
2521
  while (s5 !== peg$FAILED) {
2422
2522
  s4.push(s5);
2423
2523
  if (input.charCodeAt(peg$currPos) === 32) {
2424
- s5 = peg$c15;
2524
+ s5 = peg$c16;
2425
2525
  peg$currPos++;
2426
2526
  }
2427
2527
  else {
2428
2528
  s5 = peg$FAILED;
2429
2529
  if (peg$silentFails === 0) {
2430
- peg$fail(peg$e18);
2530
+ peg$fail(peg$e19);
2431
2531
  }
2432
2532
  }
2433
2533
  }
@@ -2453,7 +2553,7 @@ function peg$parse(input, options) {
2453
2553
  else {
2454
2554
  s9 = peg$FAILED;
2455
2555
  if (peg$silentFails === 0) {
2456
- peg$fail(peg$e21);
2556
+ peg$fail(peg$e22);
2457
2557
  }
2458
2558
  }
2459
2559
  if (s9 !== peg$FAILED) {
@@ -2492,7 +2592,7 @@ function peg$parse(input, options) {
2492
2592
  else {
2493
2593
  s9 = peg$FAILED;
2494
2594
  if (peg$silentFails === 0) {
2495
- peg$fail(peg$e21);
2595
+ peg$fail(peg$e22);
2496
2596
  }
2497
2597
  }
2498
2598
  if (s9 !== peg$FAILED) {
@@ -2523,7 +2623,7 @@ function peg$parse(input, options) {
2523
2623
  s6 = peg$parseBlockTag();
2524
2624
  if (s6 !== peg$FAILED) {
2525
2625
  peg$savedPos = s0;
2526
- s0 = peg$f35(s2, s5);
2626
+ s0 = peg$f37(s2, s5);
2527
2627
  }
2528
2628
  else {
2529
2629
  peg$currPos = s0;
@@ -2547,13 +2647,13 @@ function peg$parse(input, options) {
2547
2647
  if (s0 === peg$FAILED) {
2548
2648
  s0 = peg$currPos;
2549
2649
  if (input.charCodeAt(peg$currPos) === 64) {
2550
- s1 = peg$c17;
2650
+ s1 = peg$c18;
2551
2651
  peg$currPos++;
2552
2652
  }
2553
2653
  else {
2554
2654
  s1 = peg$FAILED;
2555
2655
  if (peg$silentFails === 0) {
2556
- peg$fail(peg$e20);
2656
+ peg$fail(peg$e21);
2557
2657
  }
2558
2658
  }
2559
2659
  if (s1 === peg$FAILED) {
@@ -2574,25 +2674,25 @@ function peg$parse(input, options) {
2574
2674
  if (s3 !== peg$FAILED) {
2575
2675
  s4 = [];
2576
2676
  if (input.charCodeAt(peg$currPos) === 32) {
2577
- s5 = peg$c15;
2677
+ s5 = peg$c16;
2578
2678
  peg$currPos++;
2579
2679
  }
2580
2680
  else {
2581
2681
  s5 = peg$FAILED;
2582
2682
  if (peg$silentFails === 0) {
2583
- peg$fail(peg$e18);
2683
+ peg$fail(peg$e19);
2584
2684
  }
2585
2685
  }
2586
2686
  while (s5 !== peg$FAILED) {
2587
2687
  s4.push(s5);
2588
2688
  if (input.charCodeAt(peg$currPos) === 32) {
2589
- s5 = peg$c15;
2689
+ s5 = peg$c16;
2590
2690
  peg$currPos++;
2591
2691
  }
2592
2692
  else {
2593
2693
  s5 = peg$FAILED;
2594
2694
  if (peg$silentFails === 0) {
2595
- peg$fail(peg$e18);
2695
+ peg$fail(peg$e19);
2596
2696
  }
2597
2697
  }
2598
2698
  }
@@ -2659,7 +2759,7 @@ function peg$parse(input, options) {
2659
2759
  s6 = peg$parseBlockTag();
2660
2760
  if (s6 !== peg$FAILED) {
2661
2761
  peg$savedPos = s0;
2662
- s0 = peg$f36(s2, s5);
2762
+ s0 = peg$f38(s2, s5);
2663
2763
  }
2664
2764
  else {
2665
2765
  peg$currPos = s0;
@@ -2678,61 +2778,98 @@ function peg$parse(input, options) {
2678
2778
  if (s0 === peg$FAILED) {
2679
2779
  s0 = peg$currPos;
2680
2780
  if (input.charCodeAt(peg$currPos) === 64) {
2681
- s1 = peg$c17;
2781
+ s1 = peg$c18;
2682
2782
  peg$currPos++;
2683
2783
  }
2684
2784
  else {
2685
2785
  s1 = peg$FAILED;
2686
2786
  if (peg$silentFails === 0) {
2687
- peg$fail(peg$e20);
2787
+ peg$fail(peg$e21);
2688
2788
  }
2689
2789
  }
2690
2790
  if (s1 === peg$FAILED) {
2691
2791
  s1 = null;
2692
2792
  }
2693
- s2 = peg$currPos;
2694
- s3 = [];
2695
- s4 = peg$currPos;
2696
- s5 = peg$currPos;
2697
- peg$silentFails++;
2698
- s6 = peg$parseBlockTag();
2699
- if (s6 === peg$FAILED) {
2793
+ s2 = peg$parseAlignmentTags();
2794
+ if (s2 !== peg$FAILED) {
2700
2795
  if (input.charCodeAt(peg$currPos) === 58) {
2701
- s6 = peg$c1;
2796
+ s3 = peg$c1;
2702
2797
  peg$currPos++;
2703
2798
  }
2704
2799
  else {
2705
- s6 = peg$FAILED;
2800
+ s3 = peg$FAILED;
2706
2801
  if (peg$silentFails === 0) {
2707
2802
  peg$fail(peg$e2);
2708
2803
  }
2709
2804
  }
2710
- }
2711
- peg$silentFails--;
2712
- if (s6 === peg$FAILED) {
2713
- s5 = undefined;
2714
- }
2715
- else {
2716
- peg$currPos = s5;
2717
- s5 = peg$FAILED;
2718
- }
2719
- if (s5 !== peg$FAILED) {
2720
- s6 = peg$parsechar();
2721
- if (s6 !== peg$FAILED) {
2722
- s5 = [s5, s6];
2723
- s4 = s5;
2805
+ if (s3 !== peg$FAILED) {
2806
+ s4 = [];
2807
+ if (input.charCodeAt(peg$currPos) === 32) {
2808
+ s5 = peg$c16;
2809
+ peg$currPos++;
2810
+ }
2811
+ else {
2812
+ s5 = peg$FAILED;
2813
+ if (peg$silentFails === 0) {
2814
+ peg$fail(peg$e19);
2815
+ }
2816
+ }
2817
+ while (s5 !== peg$FAILED) {
2818
+ s4.push(s5);
2819
+ if (input.charCodeAt(peg$currPos) === 32) {
2820
+ s5 = peg$c16;
2821
+ peg$currPos++;
2822
+ }
2823
+ else {
2824
+ s5 = peg$FAILED;
2825
+ if (peg$silentFails === 0) {
2826
+ peg$fail(peg$e19);
2827
+ }
2828
+ }
2829
+ }
2830
+ s5 = peg$parseAlignment();
2831
+ if (s5 !== peg$FAILED) {
2832
+ s6 = peg$parseBlockTag();
2833
+ if (s6 !== peg$FAILED) {
2834
+ peg$savedPos = s0;
2835
+ s0 = peg$f39(s2, s5);
2836
+ }
2837
+ else {
2838
+ peg$currPos = s0;
2839
+ s0 = peg$FAILED;
2840
+ }
2841
+ }
2842
+ else {
2843
+ peg$currPos = s0;
2844
+ s0 = peg$FAILED;
2845
+ }
2724
2846
  }
2725
2847
  else {
2726
- peg$currPos = s4;
2727
- s4 = peg$FAILED;
2848
+ peg$currPos = s0;
2849
+ s0 = peg$FAILED;
2728
2850
  }
2729
2851
  }
2730
2852
  else {
2731
- peg$currPos = s4;
2732
- s4 = peg$FAILED;
2853
+ peg$currPos = s0;
2854
+ s0 = peg$FAILED;
2733
2855
  }
2734
- while (s4 !== peg$FAILED) {
2735
- s3.push(s4);
2856
+ if (s0 === peg$FAILED) {
2857
+ s0 = peg$currPos;
2858
+ if (input.charCodeAt(peg$currPos) === 64) {
2859
+ s1 = peg$c18;
2860
+ peg$currPos++;
2861
+ }
2862
+ else {
2863
+ s1 = peg$FAILED;
2864
+ if (peg$silentFails === 0) {
2865
+ peg$fail(peg$e21);
2866
+ }
2867
+ }
2868
+ if (s1 === peg$FAILED) {
2869
+ s1 = null;
2870
+ }
2871
+ s2 = peg$currPos;
2872
+ s3 = [];
2736
2873
  s4 = peg$currPos;
2737
2874
  s5 = peg$currPos;
2738
2875
  peg$silentFails++;
@@ -2748,6 +2885,34 @@ function peg$parse(input, options) {
2748
2885
  peg$fail(peg$e2);
2749
2886
  }
2750
2887
  }
2888
+ if (s6 === peg$FAILED) {
2889
+ s6 = peg$currPos;
2890
+ s7 = peg$parseAlignmentTags();
2891
+ if (s7 !== peg$FAILED) {
2892
+ if (input.charCodeAt(peg$currPos) === 58) {
2893
+ s8 = peg$c1;
2894
+ peg$currPos++;
2895
+ }
2896
+ else {
2897
+ s8 = peg$FAILED;
2898
+ if (peg$silentFails === 0) {
2899
+ peg$fail(peg$e2);
2900
+ }
2901
+ }
2902
+ if (s8 !== peg$FAILED) {
2903
+ s7 = [s7, s8];
2904
+ s6 = s7;
2905
+ }
2906
+ else {
2907
+ peg$currPos = s6;
2908
+ s6 = peg$FAILED;
2909
+ }
2910
+ }
2911
+ else {
2912
+ peg$currPos = s6;
2913
+ s6 = peg$FAILED;
2914
+ }
2915
+ }
2751
2916
  }
2752
2917
  peg$silentFails--;
2753
2918
  if (s6 === peg$FAILED) {
@@ -2772,63 +2937,103 @@ function peg$parse(input, options) {
2772
2937
  peg$currPos = s4;
2773
2938
  s4 = peg$FAILED;
2774
2939
  }
2775
- }
2776
- s2 = input.substring(s2, peg$currPos);
2777
- if (input.charCodeAt(peg$currPos) === 58) {
2778
- s3 = peg$c1;
2779
- peg$currPos++;
2780
- }
2781
- else {
2782
- s3 = peg$FAILED;
2783
- if (peg$silentFails === 0) {
2784
- peg$fail(peg$e2);
2940
+ while (s4 !== peg$FAILED) {
2941
+ s3.push(s4);
2942
+ s4 = peg$currPos;
2943
+ s5 = peg$currPos;
2944
+ peg$silentFails++;
2945
+ s6 = peg$parseBlockTag();
2946
+ if (s6 === peg$FAILED) {
2947
+ if (input.charCodeAt(peg$currPos) === 58) {
2948
+ s6 = peg$c1;
2949
+ peg$currPos++;
2950
+ }
2951
+ else {
2952
+ s6 = peg$FAILED;
2953
+ if (peg$silentFails === 0) {
2954
+ peg$fail(peg$e2);
2955
+ }
2956
+ }
2957
+ if (s6 === peg$FAILED) {
2958
+ s6 = peg$currPos;
2959
+ s7 = peg$parseAlignmentTags();
2960
+ if (s7 !== peg$FAILED) {
2961
+ if (input.charCodeAt(peg$currPos) === 58) {
2962
+ s8 = peg$c1;
2963
+ peg$currPos++;
2964
+ }
2965
+ else {
2966
+ s8 = peg$FAILED;
2967
+ if (peg$silentFails === 0) {
2968
+ peg$fail(peg$e2);
2969
+ }
2970
+ }
2971
+ if (s8 !== peg$FAILED) {
2972
+ s7 = [s7, s8];
2973
+ s6 = s7;
2974
+ }
2975
+ else {
2976
+ peg$currPos = s6;
2977
+ s6 = peg$FAILED;
2978
+ }
2979
+ }
2980
+ else {
2981
+ peg$currPos = s6;
2982
+ s6 = peg$FAILED;
2983
+ }
2984
+ }
2985
+ }
2986
+ peg$silentFails--;
2987
+ if (s6 === peg$FAILED) {
2988
+ s5 = undefined;
2989
+ }
2990
+ else {
2991
+ peg$currPos = s5;
2992
+ s5 = peg$FAILED;
2993
+ }
2994
+ if (s5 !== peg$FAILED) {
2995
+ s6 = peg$parsechar();
2996
+ if (s6 !== peg$FAILED) {
2997
+ s5 = [s5, s6];
2998
+ s4 = s5;
2999
+ }
3000
+ else {
3001
+ peg$currPos = s4;
3002
+ s4 = peg$FAILED;
3003
+ }
3004
+ }
3005
+ else {
3006
+ peg$currPos = s4;
3007
+ s4 = peg$FAILED;
3008
+ }
2785
3009
  }
2786
- }
2787
- if (s3 !== peg$FAILED) {
2788
- if (input.charCodeAt(peg$currPos) === 32) {
2789
- s4 = peg$c15;
3010
+ s2 = input.substring(s2, peg$currPos);
3011
+ if (input.charCodeAt(peg$currPos) === 58) {
3012
+ s3 = peg$c1;
2790
3013
  peg$currPos++;
2791
3014
  }
2792
3015
  else {
2793
- s4 = peg$FAILED;
3016
+ s3 = peg$FAILED;
2794
3017
  if (peg$silentFails === 0) {
2795
- peg$fail(peg$e18);
3018
+ peg$fail(peg$e2);
2796
3019
  }
2797
3020
  }
2798
- if (s4 === peg$FAILED) {
2799
- s4 = null;
2800
- }
2801
- s5 = peg$currPos;
2802
- s6 = [];
2803
- s7 = peg$currPos;
2804
- s8 = peg$currPos;
2805
- peg$silentFails++;
2806
- s9 = peg$parseBlockTag();
2807
- peg$silentFails--;
2808
- if (s9 === peg$FAILED) {
2809
- s8 = undefined;
2810
- }
2811
- else {
2812
- peg$currPos = s8;
2813
- s8 = peg$FAILED;
2814
- }
2815
- if (s8 !== peg$FAILED) {
2816
- s9 = peg$parsechar();
2817
- if (s9 !== peg$FAILED) {
2818
- s8 = [s8, s9];
2819
- s7 = s8;
3021
+ if (s3 !== peg$FAILED) {
3022
+ if (input.charCodeAt(peg$currPos) === 32) {
3023
+ s4 = peg$c16;
3024
+ peg$currPos++;
2820
3025
  }
2821
3026
  else {
2822
- peg$currPos = s7;
2823
- s7 = peg$FAILED;
3027
+ s4 = peg$FAILED;
3028
+ if (peg$silentFails === 0) {
3029
+ peg$fail(peg$e19);
3030
+ }
3031
+ }
3032
+ if (s4 === peg$FAILED) {
3033
+ s4 = null;
2824
3034
  }
2825
- }
2826
- else {
2827
- peg$currPos = s7;
2828
- s7 = peg$FAILED;
2829
- }
2830
- while (s7 !== peg$FAILED) {
2831
- s6.push(s7);
3035
+ s5 = peg$currPos;
3036
+ s6 = [];
2832
3037
  s7 = peg$currPos;
2833
3038
  s8 = peg$currPos;
2834
3039
  peg$silentFails++;
@@ -2856,72 +3061,100 @@ function peg$parse(input, options) {
2856
3061
  peg$currPos = s7;
2857
3062
  s7 = peg$FAILED;
2858
3063
  }
2859
- }
2860
- s5 = input.substring(s5, peg$currPos);
2861
- s6 = peg$parseBlockTag();
2862
- if (s6 !== peg$FAILED) {
2863
- peg$savedPos = s0;
2864
- s0 = peg$f37(s2, s5);
2865
- }
2866
- else {
2867
- peg$currPos = s0;
2868
- s0 = peg$FAILED;
2869
- }
2870
- }
2871
- else {
2872
- peg$currPos = s0;
2873
- s0 = peg$FAILED;
2874
- }
2875
- if (s0 === peg$FAILED) {
2876
- s0 = peg$currPos;
2877
- if (input.charCodeAt(peg$currPos) === 64) {
2878
- s1 = peg$c17;
2879
- peg$currPos++;
2880
- }
2881
- else {
2882
- s1 = peg$FAILED;
2883
- if (peg$silentFails === 0) {
2884
- peg$fail(peg$e20);
3064
+ while (s7 !== peg$FAILED) {
3065
+ s6.push(s7);
3066
+ s7 = peg$currPos;
3067
+ s8 = peg$currPos;
3068
+ peg$silentFails++;
3069
+ s9 = peg$parseBlockTag();
3070
+ peg$silentFails--;
3071
+ if (s9 === peg$FAILED) {
3072
+ s8 = undefined;
3073
+ }
3074
+ else {
3075
+ peg$currPos = s8;
3076
+ s8 = peg$FAILED;
3077
+ }
3078
+ if (s8 !== peg$FAILED) {
3079
+ s9 = peg$parsechar();
3080
+ if (s9 !== peg$FAILED) {
3081
+ s8 = [s8, s9];
3082
+ s7 = s8;
3083
+ }
3084
+ else {
3085
+ peg$currPos = s7;
3086
+ s7 = peg$FAILED;
3087
+ }
3088
+ }
3089
+ else {
3090
+ peg$currPos = s7;
3091
+ s7 = peg$FAILED;
3092
+ }
2885
3093
  }
2886
- }
2887
- if (s1 === peg$FAILED) {
2888
- s1 = null;
2889
- }
2890
- s2 = peg$currPos;
2891
- s3 = [];
2892
- s4 = peg$currPos;
2893
- s5 = peg$currPos;
2894
- peg$silentFails++;
2895
- s6 = peg$parseBlockTag();
2896
- peg$silentFails--;
2897
- if (s6 === peg$FAILED) {
2898
- s5 = undefined;
2899
- }
2900
- else {
2901
- peg$currPos = s5;
2902
- s5 = peg$FAILED;
2903
- }
2904
- if (s5 !== peg$FAILED) {
2905
- s6 = peg$parsechar();
3094
+ s5 = input.substring(s5, peg$currPos);
3095
+ s6 = peg$parseBlockTag();
2906
3096
  if (s6 !== peg$FAILED) {
2907
- s5 = [s5, s6];
2908
- s4 = s5;
3097
+ peg$savedPos = s0;
3098
+ s0 = peg$f40(s2, s5);
2909
3099
  }
2910
3100
  else {
2911
- peg$currPos = s4;
2912
- s4 = peg$FAILED;
3101
+ peg$currPos = s0;
3102
+ s0 = peg$FAILED;
2913
3103
  }
2914
3104
  }
2915
3105
  else {
2916
- peg$currPos = s4;
2917
- s4 = peg$FAILED;
3106
+ peg$currPos = s0;
3107
+ s0 = peg$FAILED;
2918
3108
  }
2919
- while (s4 !== peg$FAILED) {
2920
- s3.push(s4);
3109
+ if (s0 === peg$FAILED) {
3110
+ s0 = peg$currPos;
3111
+ if (input.charCodeAt(peg$currPos) === 64) {
3112
+ s1 = peg$c18;
3113
+ peg$currPos++;
3114
+ }
3115
+ else {
3116
+ s1 = peg$FAILED;
3117
+ if (peg$silentFails === 0) {
3118
+ peg$fail(peg$e21);
3119
+ }
3120
+ }
3121
+ if (s1 === peg$FAILED) {
3122
+ s1 = null;
3123
+ }
3124
+ s2 = peg$currPos;
3125
+ s3 = [];
2921
3126
  s4 = peg$currPos;
2922
3127
  s5 = peg$currPos;
2923
3128
  peg$silentFails++;
2924
3129
  s6 = peg$parseBlockTag();
3130
+ if (s6 === peg$FAILED) {
3131
+ s6 = peg$currPos;
3132
+ s7 = peg$parseAlignmentTags();
3133
+ if (s7 !== peg$FAILED) {
3134
+ if (input.charCodeAt(peg$currPos) === 58) {
3135
+ s8 = peg$c1;
3136
+ peg$currPos++;
3137
+ }
3138
+ else {
3139
+ s8 = peg$FAILED;
3140
+ if (peg$silentFails === 0) {
3141
+ peg$fail(peg$e2);
3142
+ }
3143
+ }
3144
+ if (s8 !== peg$FAILED) {
3145
+ s7 = [s7, s8];
3146
+ s6 = s7;
3147
+ }
3148
+ else {
3149
+ peg$currPos = s6;
3150
+ s6 = peg$FAILED;
3151
+ }
3152
+ }
3153
+ else {
3154
+ peg$currPos = s6;
3155
+ s6 = peg$FAILED;
3156
+ }
3157
+ }
2925
3158
  peg$silentFails--;
2926
3159
  if (s6 === peg$FAILED) {
2927
3160
  s5 = undefined;
@@ -2945,16 +3178,74 @@ function peg$parse(input, options) {
2945
3178
  peg$currPos = s4;
2946
3179
  s4 = peg$FAILED;
2947
3180
  }
2948
- }
2949
- s2 = input.substring(s2, peg$currPos);
2950
- s3 = peg$parseBlockTag();
2951
- if (s3 !== peg$FAILED) {
2952
- peg$savedPos = s0;
2953
- s0 = peg$f38(s2);
2954
- }
2955
- else {
2956
- peg$currPos = s0;
2957
- s0 = peg$FAILED;
3181
+ while (s4 !== peg$FAILED) {
3182
+ s3.push(s4);
3183
+ s4 = peg$currPos;
3184
+ s5 = peg$currPos;
3185
+ peg$silentFails++;
3186
+ s6 = peg$parseBlockTag();
3187
+ if (s6 === peg$FAILED) {
3188
+ s6 = peg$currPos;
3189
+ s7 = peg$parseAlignmentTags();
3190
+ if (s7 !== peg$FAILED) {
3191
+ if (input.charCodeAt(peg$currPos) === 58) {
3192
+ s8 = peg$c1;
3193
+ peg$currPos++;
3194
+ }
3195
+ else {
3196
+ s8 = peg$FAILED;
3197
+ if (peg$silentFails === 0) {
3198
+ peg$fail(peg$e2);
3199
+ }
3200
+ }
3201
+ if (s8 !== peg$FAILED) {
3202
+ s7 = [s7, s8];
3203
+ s6 = s7;
3204
+ }
3205
+ else {
3206
+ peg$currPos = s6;
3207
+ s6 = peg$FAILED;
3208
+ }
3209
+ }
3210
+ else {
3211
+ peg$currPos = s6;
3212
+ s6 = peg$FAILED;
3213
+ }
3214
+ }
3215
+ peg$silentFails--;
3216
+ if (s6 === peg$FAILED) {
3217
+ s5 = undefined;
3218
+ }
3219
+ else {
3220
+ peg$currPos = s5;
3221
+ s5 = peg$FAILED;
3222
+ }
3223
+ if (s5 !== peg$FAILED) {
3224
+ s6 = peg$parsechar();
3225
+ if (s6 !== peg$FAILED) {
3226
+ s5 = [s5, s6];
3227
+ s4 = s5;
3228
+ }
3229
+ else {
3230
+ peg$currPos = s4;
3231
+ s4 = peg$FAILED;
3232
+ }
3233
+ }
3234
+ else {
3235
+ peg$currPos = s4;
3236
+ s4 = peg$FAILED;
3237
+ }
3238
+ }
3239
+ s2 = input.substring(s2, peg$currPos);
3240
+ s3 = peg$parseBlockTag();
3241
+ if (s3 !== peg$FAILED) {
3242
+ peg$savedPos = s0;
3243
+ s0 = peg$f41(s2);
3244
+ }
3245
+ else {
3246
+ peg$currPos = s0;
3247
+ s0 = peg$FAILED;
3248
+ }
2958
3249
  }
2959
3250
  }
2960
3251
  }
@@ -2964,25 +3255,89 @@ function peg$parse(input, options) {
2964
3255
  }
2965
3256
  function peg$parseMediaSizeTags() {
2966
3257
  var s0;
2967
- if (input.substr(peg$currPos, 5) === peg$c18) {
2968
- s0 = peg$c18;
3258
+ if (input.substr(peg$currPos, 5) === peg$c19) {
3259
+ s0 = peg$c19;
2969
3260
  peg$currPos += 5;
2970
3261
  }
2971
3262
  else {
2972
3263
  s0 = peg$FAILED;
2973
3264
  if (peg$silentFails === 0) {
2974
- peg$fail(peg$e22);
3265
+ peg$fail(peg$e23);
3266
+ }
3267
+ }
3268
+ if (s0 === peg$FAILED) {
3269
+ if (input.substr(peg$currPos, 6) === peg$c20) {
3270
+ s0 = peg$c20;
3271
+ peg$currPos += 6;
3272
+ }
3273
+ else {
3274
+ s0 = peg$FAILED;
3275
+ if (peg$silentFails === 0) {
3276
+ peg$fail(peg$e24);
3277
+ }
3278
+ }
3279
+ }
3280
+ return s0;
3281
+ }
3282
+ function peg$parseAlignmentTags() {
3283
+ var s0;
3284
+ if (input.substr(peg$currPos, 9) === peg$c21) {
3285
+ s0 = peg$c21;
3286
+ peg$currPos += 9;
3287
+ }
3288
+ else {
3289
+ s0 = peg$FAILED;
3290
+ if (peg$silentFails === 0) {
3291
+ peg$fail(peg$e25);
3292
+ }
3293
+ }
3294
+ if (s0 === peg$FAILED) {
3295
+ if (input.substr(peg$currPos, 12) === peg$c22) {
3296
+ s0 = peg$c22;
3297
+ peg$currPos += 12;
3298
+ }
3299
+ else {
3300
+ s0 = peg$FAILED;
3301
+ if (peg$silentFails === 0) {
3302
+ peg$fail(peg$e26);
3303
+ }
3304
+ }
3305
+ }
3306
+ return s0;
3307
+ }
3308
+ function peg$parseAlignment() {
3309
+ var s0;
3310
+ if (input.substr(peg$currPos, 4) === peg$c23) {
3311
+ s0 = peg$c23;
3312
+ peg$currPos += 4;
3313
+ }
3314
+ else {
3315
+ s0 = peg$FAILED;
3316
+ if (peg$silentFails === 0) {
3317
+ peg$fail(peg$e27);
2975
3318
  }
2976
3319
  }
2977
3320
  if (s0 === peg$FAILED) {
2978
- if (input.substr(peg$currPos, 6) === peg$c19) {
2979
- s0 = peg$c19;
3321
+ if (input.substr(peg$currPos, 6) === peg$c24) {
3322
+ s0 = peg$c24;
2980
3323
  peg$currPos += 6;
2981
3324
  }
2982
3325
  else {
2983
3326
  s0 = peg$FAILED;
2984
3327
  if (peg$silentFails === 0) {
2985
- peg$fail(peg$e23);
3328
+ peg$fail(peg$e28);
3329
+ }
3330
+ }
3331
+ if (s0 === peg$FAILED) {
3332
+ if (input.substr(peg$currPos, 5) === peg$c25) {
3333
+ s0 = peg$c25;
3334
+ peg$currPos += 5;
3335
+ }
3336
+ else {
3337
+ s0 = peg$FAILED;
3338
+ if (peg$silentFails === 0) {
3339
+ peg$fail(peg$e29);
3340
+ }
2986
3341
  }
2987
3342
  }
2988
3343
  }
@@ -2994,7 +3349,7 @@ function peg$parse(input, options) {
2994
3349
  s0 = peg$currPos;
2995
3350
  s1 = peg$parseInlineTags();
2996
3351
  peg$savedPos = s0;
2997
- s1 = peg$f39(s1);
3352
+ s1 = peg$f42(s1);
2998
3353
  s0 = s1;
2999
3354
  peg$silentFails--;
3000
3355
  s1 = peg$FAILED;
@@ -3010,7 +3365,7 @@ function peg$parse(input, options) {
3010
3365
  peg$silentFails--;
3011
3366
  s1 = peg$FAILED;
3012
3367
  if (peg$silentFails === 0) {
3013
- peg$fail(peg$e24);
3368
+ peg$fail(peg$e30);
3014
3369
  }
3015
3370
  return s0;
3016
3371
  }
@@ -3034,7 +3389,7 @@ function peg$parse(input, options) {
3034
3389
  }
3035
3390
  }
3036
3391
  peg$savedPos = s0;
3037
- s0 = peg$f40(s1, s2);
3392
+ s0 = peg$f43(s1, s2);
3038
3393
  return s0;
3039
3394
  }
3040
3395
  function peg$parseInlinePlainText() {
@@ -3043,7 +3398,7 @@ function peg$parse(input, options) {
3043
3398
  s1 = peg$parseNL();
3044
3399
  if (s1 !== peg$FAILED) {
3045
3400
  peg$savedPos = s0;
3046
- s1 = peg$f41();
3401
+ s1 = peg$f44();
3047
3402
  }
3048
3403
  s0 = s1;
3049
3404
  if (s0 === peg$FAILED) {
@@ -3186,7 +3541,7 @@ function peg$parse(input, options) {
3186
3541
  }
3187
3542
  if (s1 !== peg$FAILED) {
3188
3543
  peg$savedPos = s0;
3189
- s1 = peg$f42(s1);
3544
+ s1 = peg$f45(s1);
3190
3545
  }
3191
3546
  s0 = s1;
3192
3547
  }
@@ -3195,27 +3550,27 @@ function peg$parse(input, options) {
3195
3550
  function peg$parseInlineHalfTag() {
3196
3551
  var s0;
3197
3552
  if (input.charCodeAt(peg$currPos) === 61) {
3198
- s0 = peg$c20;
3553
+ s0 = peg$c26;
3199
3554
  peg$currPos++;
3200
3555
  }
3201
3556
  else {
3202
3557
  s0 = peg$FAILED;
3203
3558
  if (peg$silentFails === 0) {
3204
- peg$fail(peg$e25);
3559
+ peg$fail(peg$e31);
3205
3560
  }
3206
3561
  }
3207
3562
  return s0;
3208
3563
  }
3209
3564
  function peg$parseInlineLaTexHalfTag() {
3210
3565
  var s0;
3211
- if (input.substr(peg$currPos, 2) === peg$c21) {
3212
- s0 = peg$c21;
3566
+ if (input.substr(peg$currPos, 2) === peg$c27) {
3567
+ s0 = peg$c27;
3213
3568
  peg$currPos += 2;
3214
3569
  }
3215
3570
  else {
3216
3571
  s0 = peg$FAILED;
3217
3572
  if (peg$silentFails === 0) {
3218
- peg$fail(peg$e26);
3573
+ peg$fail(peg$e32);
3219
3574
  }
3220
3575
  }
3221
3576
  return s0;
@@ -3276,7 +3631,7 @@ function peg$parse(input, options) {
3276
3631
  else {
3277
3632
  s4 = peg$FAILED;
3278
3633
  if (peg$silentFails === 0) {
3279
- peg$fail(peg$e21);
3634
+ peg$fail(peg$e22);
3280
3635
  }
3281
3636
  }
3282
3637
  if (s4 !== peg$FAILED) {
@@ -3289,7 +3644,7 @@ function peg$parse(input, options) {
3289
3644
  else {
3290
3645
  s4 = peg$FAILED;
3291
3646
  if (peg$silentFails === 0) {
3292
- peg$fail(peg$e21);
3647
+ peg$fail(peg$e22);
3293
3648
  }
3294
3649
  }
3295
3650
  }
@@ -3307,7 +3662,7 @@ function peg$parse(input, options) {
3307
3662
  s3 = peg$parseBodyBitCloseTag();
3308
3663
  if (s3 !== peg$FAILED) {
3309
3664
  peg$savedPos = s0;
3310
- s0 = peg$f43(s2);
3665
+ s0 = peg$f46(s2);
3311
3666
  }
3312
3667
  else {
3313
3668
  peg$currPos = s0;
@@ -3328,13 +3683,13 @@ function peg$parse(input, options) {
3328
3683
  s1 = peg$parseInlineTag();
3329
3684
  if (s1 !== peg$FAILED) {
3330
3685
  if (input.charCodeAt(peg$currPos) === 32) {
3331
- s2 = peg$c15;
3686
+ s2 = peg$c16;
3332
3687
  peg$currPos++;
3333
3688
  }
3334
3689
  else {
3335
3690
  s2 = peg$FAILED;
3336
3691
  if (peg$silentFails === 0) {
3337
- peg$fail(peg$e18);
3692
+ peg$fail(peg$e19);
3338
3693
  }
3339
3694
  }
3340
3695
  if (s2 === peg$FAILED) {
@@ -3347,13 +3702,13 @@ function peg$parse(input, options) {
3347
3702
  peg$silentFails++;
3348
3703
  s7 = peg$currPos;
3349
3704
  if (input.charCodeAt(peg$currPos) === 32) {
3350
- s8 = peg$c15;
3705
+ s8 = peg$c16;
3351
3706
  peg$currPos++;
3352
3707
  }
3353
3708
  else {
3354
3709
  s8 = peg$FAILED;
3355
3710
  if (peg$silentFails === 0) {
3356
- peg$fail(peg$e18);
3711
+ peg$fail(peg$e19);
3357
3712
  }
3358
3713
  }
3359
3714
  if (s8 === peg$FAILED) {
@@ -3384,7 +3739,7 @@ function peg$parse(input, options) {
3384
3739
  else {
3385
3740
  s7 = peg$FAILED;
3386
3741
  if (peg$silentFails === 0) {
3387
- peg$fail(peg$e15);
3742
+ peg$fail(peg$e16);
3388
3743
  }
3389
3744
  }
3390
3745
  if (s7 !== peg$FAILED) {
@@ -3407,13 +3762,13 @@ function peg$parse(input, options) {
3407
3762
  peg$silentFails++;
3408
3763
  s7 = peg$currPos;
3409
3764
  if (input.charCodeAt(peg$currPos) === 32) {
3410
- s8 = peg$c15;
3765
+ s8 = peg$c16;
3411
3766
  peg$currPos++;
3412
3767
  }
3413
3768
  else {
3414
3769
  s8 = peg$FAILED;
3415
3770
  if (peg$silentFails === 0) {
3416
- peg$fail(peg$e18);
3771
+ peg$fail(peg$e19);
3417
3772
  }
3418
3773
  }
3419
3774
  if (s8 === peg$FAILED) {
@@ -3444,7 +3799,7 @@ function peg$parse(input, options) {
3444
3799
  else {
3445
3800
  s7 = peg$FAILED;
3446
3801
  if (peg$silentFails === 0) {
3447
- peg$fail(peg$e15);
3802
+ peg$fail(peg$e16);
3448
3803
  }
3449
3804
  }
3450
3805
  if (s7 !== peg$FAILED) {
@@ -3463,13 +3818,13 @@ function peg$parse(input, options) {
3463
3818
  }
3464
3819
  s3 = input.substring(s3, peg$currPos);
3465
3820
  if (input.charCodeAt(peg$currPos) === 32) {
3466
- s4 = peg$c15;
3821
+ s4 = peg$c16;
3467
3822
  peg$currPos++;
3468
3823
  }
3469
3824
  else {
3470
3825
  s4 = peg$FAILED;
3471
3826
  if (peg$silentFails === 0) {
3472
- peg$fail(peg$e18);
3827
+ peg$fail(peg$e19);
3473
3828
  }
3474
3829
  }
3475
3830
  if (s4 === peg$FAILED) {
@@ -3480,7 +3835,7 @@ function peg$parse(input, options) {
3480
3835
  s6 = peg$parseAttrChain();
3481
3836
  if (s6 !== peg$FAILED) {
3482
3837
  peg$savedPos = s0;
3483
- s0 = peg$f44(s3, s6);
3838
+ s0 = peg$f47(s3, s6);
3484
3839
  }
3485
3840
  else {
3486
3841
  peg$currPos = s0;
@@ -3501,13 +3856,13 @@ function peg$parse(input, options) {
3501
3856
  s1 = peg$parseBoldTag();
3502
3857
  if (s1 !== peg$FAILED) {
3503
3858
  if (input.charCodeAt(peg$currPos) === 32) {
3504
- s2 = peg$c15;
3859
+ s2 = peg$c16;
3505
3860
  peg$currPos++;
3506
3861
  }
3507
3862
  else {
3508
3863
  s2 = peg$FAILED;
3509
3864
  if (peg$silentFails === 0) {
3510
- peg$fail(peg$e18);
3865
+ peg$fail(peg$e19);
3511
3866
  }
3512
3867
  }
3513
3868
  if (s2 === peg$FAILED) {
@@ -3520,13 +3875,13 @@ function peg$parse(input, options) {
3520
3875
  peg$silentFails++;
3521
3876
  s7 = peg$currPos;
3522
3877
  if (input.charCodeAt(peg$currPos) === 32) {
3523
- s8 = peg$c15;
3878
+ s8 = peg$c16;
3524
3879
  peg$currPos++;
3525
3880
  }
3526
3881
  else {
3527
3882
  s8 = peg$FAILED;
3528
3883
  if (peg$silentFails === 0) {
3529
- peg$fail(peg$e18);
3884
+ peg$fail(peg$e19);
3530
3885
  }
3531
3886
  }
3532
3887
  if (s8 === peg$FAILED) {
@@ -3557,7 +3912,7 @@ function peg$parse(input, options) {
3557
3912
  else {
3558
3913
  s7 = peg$FAILED;
3559
3914
  if (peg$silentFails === 0) {
3560
- peg$fail(peg$e15);
3915
+ peg$fail(peg$e16);
3561
3916
  }
3562
3917
  }
3563
3918
  if (s7 !== peg$FAILED) {
@@ -3580,13 +3935,13 @@ function peg$parse(input, options) {
3580
3935
  peg$silentFails++;
3581
3936
  s7 = peg$currPos;
3582
3937
  if (input.charCodeAt(peg$currPos) === 32) {
3583
- s8 = peg$c15;
3938
+ s8 = peg$c16;
3584
3939
  peg$currPos++;
3585
3940
  }
3586
3941
  else {
3587
3942
  s8 = peg$FAILED;
3588
3943
  if (peg$silentFails === 0) {
3589
- peg$fail(peg$e18);
3944
+ peg$fail(peg$e19);
3590
3945
  }
3591
3946
  }
3592
3947
  if (s8 === peg$FAILED) {
@@ -3617,7 +3972,7 @@ function peg$parse(input, options) {
3617
3972
  else {
3618
3973
  s7 = peg$FAILED;
3619
3974
  if (peg$silentFails === 0) {
3620
- peg$fail(peg$e15);
3975
+ peg$fail(peg$e16);
3621
3976
  }
3622
3977
  }
3623
3978
  if (s7 !== peg$FAILED) {
@@ -3636,13 +3991,13 @@ function peg$parse(input, options) {
3636
3991
  }
3637
3992
  s3 = input.substring(s3, peg$currPos);
3638
3993
  if (input.charCodeAt(peg$currPos) === 32) {
3639
- s4 = peg$c15;
3994
+ s4 = peg$c16;
3640
3995
  peg$currPos++;
3641
3996
  }
3642
3997
  else {
3643
3998
  s4 = peg$FAILED;
3644
3999
  if (peg$silentFails === 0) {
3645
- peg$fail(peg$e18);
4000
+ peg$fail(peg$e19);
3646
4001
  }
3647
4002
  }
3648
4003
  if (s4 === peg$FAILED) {
@@ -3651,7 +4006,7 @@ function peg$parse(input, options) {
3651
4006
  s5 = peg$parseBoldTag();
3652
4007
  if (s5 !== peg$FAILED) {
3653
4008
  peg$savedPos = s0;
3654
- s0 = peg$f45(s3);
4009
+ s0 = peg$f48(s3);
3655
4010
  }
3656
4011
  else {
3657
4012
  peg$currPos = s0;
@@ -3667,13 +4022,13 @@ function peg$parse(input, options) {
3667
4022
  s1 = peg$parseItalicTag();
3668
4023
  if (s1 !== peg$FAILED) {
3669
4024
  if (input.charCodeAt(peg$currPos) === 32) {
3670
- s2 = peg$c15;
4025
+ s2 = peg$c16;
3671
4026
  peg$currPos++;
3672
4027
  }
3673
4028
  else {
3674
4029
  s2 = peg$FAILED;
3675
4030
  if (peg$silentFails === 0) {
3676
- peg$fail(peg$e18);
4031
+ peg$fail(peg$e19);
3677
4032
  }
3678
4033
  }
3679
4034
  if (s2 === peg$FAILED) {
@@ -3686,13 +4041,13 @@ function peg$parse(input, options) {
3686
4041
  peg$silentFails++;
3687
4042
  s7 = peg$currPos;
3688
4043
  if (input.charCodeAt(peg$currPos) === 32) {
3689
- s8 = peg$c15;
4044
+ s8 = peg$c16;
3690
4045
  peg$currPos++;
3691
4046
  }
3692
4047
  else {
3693
4048
  s8 = peg$FAILED;
3694
4049
  if (peg$silentFails === 0) {
3695
- peg$fail(peg$e18);
4050
+ peg$fail(peg$e19);
3696
4051
  }
3697
4052
  }
3698
4053
  if (s8 === peg$FAILED) {
@@ -3723,7 +4078,7 @@ function peg$parse(input, options) {
3723
4078
  else {
3724
4079
  s7 = peg$FAILED;
3725
4080
  if (peg$silentFails === 0) {
3726
- peg$fail(peg$e15);
4081
+ peg$fail(peg$e16);
3727
4082
  }
3728
4083
  }
3729
4084
  if (s7 !== peg$FAILED) {
@@ -3746,13 +4101,13 @@ function peg$parse(input, options) {
3746
4101
  peg$silentFails++;
3747
4102
  s7 = peg$currPos;
3748
4103
  if (input.charCodeAt(peg$currPos) === 32) {
3749
- s8 = peg$c15;
4104
+ s8 = peg$c16;
3750
4105
  peg$currPos++;
3751
4106
  }
3752
4107
  else {
3753
4108
  s8 = peg$FAILED;
3754
4109
  if (peg$silentFails === 0) {
3755
- peg$fail(peg$e18);
4110
+ peg$fail(peg$e19);
3756
4111
  }
3757
4112
  }
3758
4113
  if (s8 === peg$FAILED) {
@@ -3783,7 +4138,7 @@ function peg$parse(input, options) {
3783
4138
  else {
3784
4139
  s7 = peg$FAILED;
3785
4140
  if (peg$silentFails === 0) {
3786
- peg$fail(peg$e15);
4141
+ peg$fail(peg$e16);
3787
4142
  }
3788
4143
  }
3789
4144
  if (s7 !== peg$FAILED) {
@@ -3802,13 +4157,13 @@ function peg$parse(input, options) {
3802
4157
  }
3803
4158
  s3 = input.substring(s3, peg$currPos);
3804
4159
  if (input.charCodeAt(peg$currPos) === 32) {
3805
- s4 = peg$c15;
4160
+ s4 = peg$c16;
3806
4161
  peg$currPos++;
3807
4162
  }
3808
4163
  else {
3809
4164
  s4 = peg$FAILED;
3810
4165
  if (peg$silentFails === 0) {
3811
- peg$fail(peg$e18);
4166
+ peg$fail(peg$e19);
3812
4167
  }
3813
4168
  }
3814
4169
  if (s4 === peg$FAILED) {
@@ -3817,7 +4172,7 @@ function peg$parse(input, options) {
3817
4172
  s5 = peg$parseItalicTag();
3818
4173
  if (s5 !== peg$FAILED) {
3819
4174
  peg$savedPos = s0;
3820
- s0 = peg$f46(s3);
4175
+ s0 = peg$f49(s3);
3821
4176
  }
3822
4177
  else {
3823
4178
  peg$currPos = s0;
@@ -3833,13 +4188,13 @@ function peg$parse(input, options) {
3833
4188
  s1 = peg$parseLightTag();
3834
4189
  if (s1 !== peg$FAILED) {
3835
4190
  if (input.charCodeAt(peg$currPos) === 32) {
3836
- s2 = peg$c15;
4191
+ s2 = peg$c16;
3837
4192
  peg$currPos++;
3838
4193
  }
3839
4194
  else {
3840
4195
  s2 = peg$FAILED;
3841
4196
  if (peg$silentFails === 0) {
3842
- peg$fail(peg$e18);
4197
+ peg$fail(peg$e19);
3843
4198
  }
3844
4199
  }
3845
4200
  if (s2 === peg$FAILED) {
@@ -3852,13 +4207,13 @@ function peg$parse(input, options) {
3852
4207
  peg$silentFails++;
3853
4208
  s7 = peg$currPos;
3854
4209
  if (input.charCodeAt(peg$currPos) === 32) {
3855
- s8 = peg$c15;
4210
+ s8 = peg$c16;
3856
4211
  peg$currPos++;
3857
4212
  }
3858
4213
  else {
3859
4214
  s8 = peg$FAILED;
3860
4215
  if (peg$silentFails === 0) {
3861
- peg$fail(peg$e18);
4216
+ peg$fail(peg$e19);
3862
4217
  }
3863
4218
  }
3864
4219
  if (s8 === peg$FAILED) {
@@ -3889,7 +4244,7 @@ function peg$parse(input, options) {
3889
4244
  else {
3890
4245
  s7 = peg$FAILED;
3891
4246
  if (peg$silentFails === 0) {
3892
- peg$fail(peg$e15);
4247
+ peg$fail(peg$e16);
3893
4248
  }
3894
4249
  }
3895
4250
  if (s7 !== peg$FAILED) {
@@ -3912,13 +4267,13 @@ function peg$parse(input, options) {
3912
4267
  peg$silentFails++;
3913
4268
  s7 = peg$currPos;
3914
4269
  if (input.charCodeAt(peg$currPos) === 32) {
3915
- s8 = peg$c15;
4270
+ s8 = peg$c16;
3916
4271
  peg$currPos++;
3917
4272
  }
3918
4273
  else {
3919
4274
  s8 = peg$FAILED;
3920
4275
  if (peg$silentFails === 0) {
3921
- peg$fail(peg$e18);
4276
+ peg$fail(peg$e19);
3922
4277
  }
3923
4278
  }
3924
4279
  if (s8 === peg$FAILED) {
@@ -3949,7 +4304,7 @@ function peg$parse(input, options) {
3949
4304
  else {
3950
4305
  s7 = peg$FAILED;
3951
4306
  if (peg$silentFails === 0) {
3952
- peg$fail(peg$e15);
4307
+ peg$fail(peg$e16);
3953
4308
  }
3954
4309
  }
3955
4310
  if (s7 !== peg$FAILED) {
@@ -3968,13 +4323,13 @@ function peg$parse(input, options) {
3968
4323
  }
3969
4324
  s3 = input.substring(s3, peg$currPos);
3970
4325
  if (input.charCodeAt(peg$currPos) === 32) {
3971
- s4 = peg$c15;
4326
+ s4 = peg$c16;
3972
4327
  peg$currPos++;
3973
4328
  }
3974
4329
  else {
3975
4330
  s4 = peg$FAILED;
3976
4331
  if (peg$silentFails === 0) {
3977
- peg$fail(peg$e18);
4332
+ peg$fail(peg$e19);
3978
4333
  }
3979
4334
  }
3980
4335
  if (s4 === peg$FAILED) {
@@ -3983,7 +4338,7 @@ function peg$parse(input, options) {
3983
4338
  s5 = peg$parseLightTag();
3984
4339
  if (s5 !== peg$FAILED) {
3985
4340
  peg$savedPos = s0;
3986
- s0 = peg$f47(s3);
4341
+ s0 = peg$f50(s3);
3987
4342
  }
3988
4343
  else {
3989
4344
  peg$currPos = s0;
@@ -3999,13 +4354,13 @@ function peg$parse(input, options) {
3999
4354
  s1 = peg$parseHighlightTag();
4000
4355
  if (s1 !== peg$FAILED) {
4001
4356
  if (input.charCodeAt(peg$currPos) === 32) {
4002
- s2 = peg$c15;
4357
+ s2 = peg$c16;
4003
4358
  peg$currPos++;
4004
4359
  }
4005
4360
  else {
4006
4361
  s2 = peg$FAILED;
4007
4362
  if (peg$silentFails === 0) {
4008
- peg$fail(peg$e18);
4363
+ peg$fail(peg$e19);
4009
4364
  }
4010
4365
  }
4011
4366
  if (s2 === peg$FAILED) {
@@ -4018,13 +4373,13 @@ function peg$parse(input, options) {
4018
4373
  peg$silentFails++;
4019
4374
  s7 = peg$currPos;
4020
4375
  if (input.charCodeAt(peg$currPos) === 32) {
4021
- s8 = peg$c15;
4376
+ s8 = peg$c16;
4022
4377
  peg$currPos++;
4023
4378
  }
4024
4379
  else {
4025
4380
  s8 = peg$FAILED;
4026
4381
  if (peg$silentFails === 0) {
4027
- peg$fail(peg$e18);
4382
+ peg$fail(peg$e19);
4028
4383
  }
4029
4384
  }
4030
4385
  if (s8 === peg$FAILED) {
@@ -4055,7 +4410,7 @@ function peg$parse(input, options) {
4055
4410
  else {
4056
4411
  s7 = peg$FAILED;
4057
4412
  if (peg$silentFails === 0) {
4058
- peg$fail(peg$e15);
4413
+ peg$fail(peg$e16);
4059
4414
  }
4060
4415
  }
4061
4416
  if (s7 !== peg$FAILED) {
@@ -4078,13 +4433,13 @@ function peg$parse(input, options) {
4078
4433
  peg$silentFails++;
4079
4434
  s7 = peg$currPos;
4080
4435
  if (input.charCodeAt(peg$currPos) === 32) {
4081
- s8 = peg$c15;
4436
+ s8 = peg$c16;
4082
4437
  peg$currPos++;
4083
4438
  }
4084
4439
  else {
4085
4440
  s8 = peg$FAILED;
4086
4441
  if (peg$silentFails === 0) {
4087
- peg$fail(peg$e18);
4442
+ peg$fail(peg$e19);
4088
4443
  }
4089
4444
  }
4090
4445
  if (s8 === peg$FAILED) {
@@ -4115,7 +4470,7 @@ function peg$parse(input, options) {
4115
4470
  else {
4116
4471
  s7 = peg$FAILED;
4117
4472
  if (peg$silentFails === 0) {
4118
- peg$fail(peg$e15);
4473
+ peg$fail(peg$e16);
4119
4474
  }
4120
4475
  }
4121
4476
  if (s7 !== peg$FAILED) {
@@ -4134,13 +4489,13 @@ function peg$parse(input, options) {
4134
4489
  }
4135
4490
  s3 = input.substring(s3, peg$currPos);
4136
4491
  if (input.charCodeAt(peg$currPos) === 32) {
4137
- s4 = peg$c15;
4492
+ s4 = peg$c16;
4138
4493
  peg$currPos++;
4139
4494
  }
4140
4495
  else {
4141
4496
  s4 = peg$FAILED;
4142
4497
  if (peg$silentFails === 0) {
4143
- peg$fail(peg$e18);
4498
+ peg$fail(peg$e19);
4144
4499
  }
4145
4500
  }
4146
4501
  if (s4 === peg$FAILED) {
@@ -4149,7 +4504,7 @@ function peg$parse(input, options) {
4149
4504
  s5 = peg$parseHighlightTag();
4150
4505
  if (s5 !== peg$FAILED) {
4151
4506
  peg$savedPos = s0;
4152
- s0 = peg$f48(s3);
4507
+ s0 = peg$f51(s3);
4153
4508
  }
4154
4509
  else {
4155
4510
  peg$currPos = s0;
@@ -4165,7 +4520,7 @@ function peg$parse(input, options) {
4165
4520
  s1 = peg$parseUrl();
4166
4521
  if (s1 !== peg$FAILED) {
4167
4522
  peg$savedPos = s0;
4168
- s1 = peg$f49(s1);
4523
+ s1 = peg$f52(s1);
4169
4524
  }
4170
4525
  s0 = s1;
4171
4526
  }
@@ -4349,7 +4704,7 @@ function peg$parse(input, options) {
4349
4704
  }
4350
4705
  if (s2 !== peg$FAILED) {
4351
4706
  peg$savedPos = s0;
4352
- s0 = peg$f50(s2);
4707
+ s0 = peg$f53(s2);
4353
4708
  }
4354
4709
  else {
4355
4710
  peg$currPos = s0;
@@ -4365,14 +4720,14 @@ function peg$parse(input, options) {
4365
4720
  function peg$parseAttrChainItem() {
4366
4721
  var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
4367
4722
  s0 = peg$currPos;
4368
- if (input.substr(peg$currPos, 5) === peg$c22) {
4369
- s1 = peg$c22;
4723
+ if (input.substr(peg$currPos, 5) === peg$c28) {
4724
+ s1 = peg$c28;
4370
4725
  peg$currPos += 5;
4371
4726
  }
4372
4727
  else {
4373
4728
  s1 = peg$FAILED;
4374
4729
  if (peg$silentFails === 0) {
4375
- peg$fail(peg$e27);
4730
+ peg$fail(peg$e33);
4376
4731
  }
4377
4732
  }
4378
4733
  if (s1 !== peg$FAILED) {
@@ -4439,7 +4794,7 @@ function peg$parse(input, options) {
4439
4794
  s3 = peg$parseBlockTag();
4440
4795
  if (s3 !== peg$FAILED) {
4441
4796
  peg$savedPos = s0;
4442
- s0 = peg$f51(s2);
4797
+ s0 = peg$f54(s2);
4443
4798
  }
4444
4799
  else {
4445
4800
  peg$currPos = s0;
@@ -4452,14 +4807,14 @@ function peg$parse(input, options) {
4452
4807
  }
4453
4808
  if (s0 === peg$FAILED) {
4454
4809
  s0 = peg$currPos;
4455
- if (input.substr(peg$currPos, 4) === peg$c23) {
4456
- s1 = peg$c23;
4810
+ if (input.substr(peg$currPos, 4) === peg$c29) {
4811
+ s1 = peg$c29;
4457
4812
  peg$currPos += 4;
4458
4813
  }
4459
4814
  else {
4460
4815
  s1 = peg$FAILED;
4461
4816
  if (peg$silentFails === 0) {
4462
- peg$fail(peg$e28);
4817
+ peg$fail(peg$e34);
4463
4818
  }
4464
4819
  }
4465
4820
  if (s1 !== peg$FAILED) {
@@ -4526,7 +4881,7 @@ function peg$parse(input, options) {
4526
4881
  s3 = peg$parseBlockTag();
4527
4882
  if (s3 !== peg$FAILED) {
4528
4883
  peg$savedPos = s0;
4529
- s0 = peg$f52(s2);
4884
+ s0 = peg$f55(s2);
4530
4885
  }
4531
4886
  else {
4532
4887
  peg$currPos = s0;
@@ -4553,7 +4908,7 @@ function peg$parse(input, options) {
4553
4908
  s2 = peg$parseBlockTag();
4554
4909
  if (s2 !== peg$FAILED) {
4555
4910
  peg$savedPos = s0;
4556
- s0 = peg$f53();
4911
+ s0 = peg$f56();
4557
4912
  }
4558
4913
  else {
4559
4914
  peg$currPos = s0;
@@ -4566,14 +4921,14 @@ function peg$parse(input, options) {
4566
4921
  }
4567
4922
  if (s0 === peg$FAILED) {
4568
4923
  s0 = peg$currPos;
4569
- if (input.substr(peg$currPos, 5) === peg$c24) {
4570
- s1 = peg$c24;
4924
+ if (input.substr(peg$currPos, 5) === peg$c30) {
4925
+ s1 = peg$c30;
4571
4926
  peg$currPos += 5;
4572
4927
  }
4573
4928
  else {
4574
4929
  s1 = peg$FAILED;
4575
4930
  if (peg$silentFails === 0) {
4576
- peg$fail(peg$e29);
4931
+ peg$fail(peg$e35);
4577
4932
  }
4578
4933
  }
4579
4934
  if (s1 !== peg$FAILED) {
@@ -4640,7 +4995,7 @@ function peg$parse(input, options) {
4640
4995
  s3 = peg$parseBlockTag();
4641
4996
  if (s3 !== peg$FAILED) {
4642
4997
  peg$savedPos = s0;
4643
- s0 = peg$f54(s2);
4998
+ s0 = peg$f57(s2);
4644
4999
  }
4645
5000
  else {
4646
5001
  peg$currPos = s0;
@@ -4653,21 +5008,21 @@ function peg$parse(input, options) {
4653
5008
  }
4654
5009
  if (s0 === peg$FAILED) {
4655
5010
  s0 = peg$currPos;
4656
- if (input.substr(peg$currPos, 5) === peg$c25) {
4657
- s1 = peg$c25;
5011
+ if (input.substr(peg$currPos, 5) === peg$c31) {
5012
+ s1 = peg$c31;
4658
5013
  peg$currPos += 5;
4659
5014
  }
4660
5015
  else {
4661
5016
  s1 = peg$FAILED;
4662
5017
  if (peg$silentFails === 0) {
4663
- peg$fail(peg$e30);
5018
+ peg$fail(peg$e36);
4664
5019
  }
4665
5020
  }
4666
5021
  if (s1 !== peg$FAILED) {
4667
5022
  s2 = peg$parseBlockTag();
4668
5023
  if (s2 !== peg$FAILED) {
4669
5024
  peg$savedPos = s0;
4670
- s0 = peg$f55();
5025
+ s0 = peg$f58();
4671
5026
  }
4672
5027
  else {
4673
5028
  peg$currPos = s0;
@@ -4680,14 +5035,14 @@ function peg$parse(input, options) {
4680
5035
  }
4681
5036
  if (s0 === peg$FAILED) {
4682
5037
  s0 = peg$currPos;
4683
- if (input.substr(peg$currPos, 6) === peg$c26) {
4684
- s1 = peg$c26;
5038
+ if (input.substr(peg$currPos, 6) === peg$c32) {
5039
+ s1 = peg$c32;
4685
5040
  peg$currPos += 6;
4686
5041
  }
4687
5042
  else {
4688
5043
  s1 = peg$FAILED;
4689
5044
  if (peg$silentFails === 0) {
4690
- peg$fail(peg$e31);
5045
+ peg$fail(peg$e37);
4691
5046
  }
4692
5047
  }
4693
5048
  if (s1 !== peg$FAILED) {
@@ -4754,7 +5109,7 @@ function peg$parse(input, options) {
4754
5109
  s3 = peg$parseBlockTag();
4755
5110
  if (s3 !== peg$FAILED) {
4756
5111
  peg$savedPos = s0;
4757
- s0 = peg$f56(s2);
5112
+ s0 = peg$f59(s2);
4758
5113
  }
4759
5114
  else {
4760
5115
  peg$currPos = s0;
@@ -4767,27 +5122,27 @@ function peg$parse(input, options) {
4767
5122
  }
4768
5123
  if (s0 === peg$FAILED) {
4769
5124
  s0 = peg$currPos;
4770
- if (input.substr(peg$currPos, 9) === peg$c27) {
4771
- s1 = peg$c27;
5125
+ if (input.substr(peg$currPos, 9) === peg$c33) {
5126
+ s1 = peg$c33;
4772
5127
  peg$currPos += 9;
4773
5128
  }
4774
5129
  else {
4775
5130
  s1 = peg$FAILED;
4776
5131
  if (peg$silentFails === 0) {
4777
- peg$fail(peg$e32);
5132
+ peg$fail(peg$e38);
4778
5133
  }
4779
5134
  }
4780
5135
  if (s1 !== peg$FAILED) {
4781
5136
  s2 = peg$currPos;
4782
5137
  s3 = peg$currPos;
4783
5138
  if (input.charCodeAt(peg$currPos) === 80) {
4784
- s4 = peg$c28;
5139
+ s4 = peg$c34;
4785
5140
  peg$currPos++;
4786
5141
  }
4787
5142
  else {
4788
5143
  s4 = peg$FAILED;
4789
5144
  if (peg$silentFails === 0) {
4790
- peg$fail(peg$e33);
5145
+ peg$fail(peg$e39);
4791
5146
  }
4792
5147
  }
4793
5148
  if (s4 !== peg$FAILED) {
@@ -4868,7 +5223,7 @@ function peg$parse(input, options) {
4868
5223
  s3 = peg$parseBlockTag();
4869
5224
  if (s3 !== peg$FAILED) {
4870
5225
  peg$savedPos = s0;
4871
- s0 = peg$f57(s2);
5226
+ s0 = peg$f60(s2);
4872
5227
  }
4873
5228
  else {
4874
5229
  peg$currPos = s0;
@@ -4886,14 +5241,14 @@ function peg$parse(input, options) {
4886
5241
  }
4887
5242
  if (s0 === peg$FAILED) {
4888
5243
  s0 = peg$currPos;
4889
- if (input.substr(peg$currPos, 6) === peg$c29) {
4890
- s1 = peg$c29;
5244
+ if (input.substr(peg$currPos, 6) === peg$c35) {
5245
+ s1 = peg$c35;
4891
5246
  peg$currPos += 6;
4892
5247
  }
4893
5248
  else {
4894
5249
  s1 = peg$FAILED;
4895
5250
  if (peg$silentFails === 0) {
4896
- peg$fail(peg$e34);
5251
+ peg$fail(peg$e40);
4897
5252
  }
4898
5253
  }
4899
5254
  if (s1 !== peg$FAILED) {
@@ -4902,7 +5257,7 @@ function peg$parse(input, options) {
4902
5257
  s3 = peg$parseBlockTag();
4903
5258
  if (s3 !== peg$FAILED) {
4904
5259
  peg$savedPos = s0;
4905
- s0 = peg$f58(s2);
5260
+ s0 = peg$f61(s2);
4906
5261
  }
4907
5262
  else {
4908
5263
  peg$currPos = s0;
@@ -4925,7 +5280,7 @@ function peg$parse(input, options) {
4925
5280
  s2 = peg$parseBlockTag();
4926
5281
  if (s2 !== peg$FAILED) {
4927
5282
  peg$savedPos = s0;
4928
- s0 = peg$f59(s1);
5283
+ s0 = peg$f62(s1);
4929
5284
  }
4930
5285
  else {
4931
5286
  peg$currPos = s0;
@@ -4939,13 +5294,13 @@ function peg$parse(input, options) {
4939
5294
  if (s0 === peg$FAILED) {
4940
5295
  s0 = peg$currPos;
4941
5296
  if (input.charCodeAt(peg$currPos) === 35) {
4942
- s1 = peg$c16;
5297
+ s1 = peg$c17;
4943
5298
  peg$currPos++;
4944
5299
  }
4945
5300
  else {
4946
5301
  s1 = peg$FAILED;
4947
5302
  if (peg$silentFails === 0) {
4948
- peg$fail(peg$e19);
5303
+ peg$fail(peg$e20);
4949
5304
  }
4950
5305
  }
4951
5306
  if (s1 !== peg$FAILED) {
@@ -5012,7 +5367,7 @@ function peg$parse(input, options) {
5012
5367
  s3 = peg$parseBlockTag();
5013
5368
  if (s3 !== peg$FAILED) {
5014
5369
  peg$savedPos = s0;
5015
- s0 = peg$f60(s2);
5370
+ s0 = peg$f63(s2);
5016
5371
  }
5017
5372
  else {
5018
5373
  peg$currPos = s0;
@@ -5036,201 +5391,201 @@ function peg$parse(input, options) {
5036
5391
  }
5037
5392
  function peg$parseAlternativeStyleTags() {
5038
5393
  var s0;
5039
- if (input.substr(peg$currPos, 4) === peg$c30) {
5040
- s0 = peg$c30;
5394
+ if (input.substr(peg$currPos, 4) === peg$c36) {
5395
+ s0 = peg$c36;
5041
5396
  peg$currPos += 4;
5042
5397
  }
5043
5398
  else {
5044
5399
  s0 = peg$FAILED;
5045
5400
  if (peg$silentFails === 0) {
5046
- peg$fail(peg$e35);
5401
+ peg$fail(peg$e41);
5047
5402
  }
5048
5403
  }
5049
5404
  if (s0 === peg$FAILED) {
5050
- if (input.substr(peg$currPos, 6) === peg$c31) {
5051
- s0 = peg$c31;
5405
+ if (input.substr(peg$currPos, 6) === peg$c37) {
5406
+ s0 = peg$c37;
5052
5407
  peg$currPos += 6;
5053
5408
  }
5054
5409
  else {
5055
5410
  s0 = peg$FAILED;
5056
5411
  if (peg$silentFails === 0) {
5057
- peg$fail(peg$e36);
5412
+ peg$fail(peg$e42);
5058
5413
  }
5059
5414
  }
5060
5415
  if (s0 === peg$FAILED) {
5061
- if (input.substr(peg$currPos, 5) === peg$c32) {
5062
- s0 = peg$c32;
5416
+ if (input.substr(peg$currPos, 5) === peg$c38) {
5417
+ s0 = peg$c38;
5063
5418
  peg$currPos += 5;
5064
5419
  }
5065
5420
  else {
5066
5421
  s0 = peg$FAILED;
5067
5422
  if (peg$silentFails === 0) {
5068
- peg$fail(peg$e37);
5423
+ peg$fail(peg$e43);
5069
5424
  }
5070
5425
  }
5071
5426
  if (s0 === peg$FAILED) {
5072
- if (input.substr(peg$currPos, 9) === peg$c33) {
5073
- s0 = peg$c33;
5427
+ if (input.substr(peg$currPos, 9) === peg$c39) {
5428
+ s0 = peg$c39;
5074
5429
  peg$currPos += 9;
5075
5430
  }
5076
5431
  else {
5077
5432
  s0 = peg$FAILED;
5078
5433
  if (peg$silentFails === 0) {
5079
- peg$fail(peg$e38);
5434
+ peg$fail(peg$e44);
5080
5435
  }
5081
5436
  }
5082
5437
  if (s0 === peg$FAILED) {
5083
- if (input.substr(peg$currPos, 6) === peg$c34) {
5084
- s0 = peg$c34;
5438
+ if (input.substr(peg$currPos, 6) === peg$c40) {
5439
+ s0 = peg$c40;
5085
5440
  peg$currPos += 6;
5086
5441
  }
5087
5442
  else {
5088
5443
  s0 = peg$FAILED;
5089
5444
  if (peg$silentFails === 0) {
5090
- peg$fail(peg$e39);
5445
+ peg$fail(peg$e45);
5091
5446
  }
5092
5447
  }
5093
5448
  if (s0 === peg$FAILED) {
5094
- if (input.substr(peg$currPos, 9) === peg$c35) {
5095
- s0 = peg$c35;
5449
+ if (input.substr(peg$currPos, 9) === peg$c41) {
5450
+ s0 = peg$c41;
5096
5451
  peg$currPos += 9;
5097
5452
  }
5098
5453
  else {
5099
5454
  s0 = peg$FAILED;
5100
5455
  if (peg$silentFails === 0) {
5101
- peg$fail(peg$e40);
5456
+ peg$fail(peg$e46);
5102
5457
  }
5103
5458
  }
5104
5459
  if (s0 === peg$FAILED) {
5105
- if (input.substr(peg$currPos, 11) === peg$c36) {
5106
- s0 = peg$c36;
5460
+ if (input.substr(peg$currPos, 11) === peg$c42) {
5461
+ s0 = peg$c42;
5107
5462
  peg$currPos += 11;
5108
5463
  }
5109
5464
  else {
5110
5465
  s0 = peg$FAILED;
5111
5466
  if (peg$silentFails === 0) {
5112
- peg$fail(peg$e41);
5467
+ peg$fail(peg$e47);
5113
5468
  }
5114
5469
  }
5115
5470
  if (s0 === peg$FAILED) {
5116
- if (input.substr(peg$currPos, 3) === peg$c37) {
5117
- s0 = peg$c37;
5471
+ if (input.substr(peg$currPos, 3) === peg$c43) {
5472
+ s0 = peg$c43;
5118
5473
  peg$currPos += 3;
5119
5474
  }
5120
5475
  else {
5121
5476
  s0 = peg$FAILED;
5122
5477
  if (peg$silentFails === 0) {
5123
- peg$fail(peg$e42);
5478
+ peg$fail(peg$e48);
5124
5479
  }
5125
5480
  }
5126
5481
  if (s0 === peg$FAILED) {
5127
- if (input.substr(peg$currPos, 3) === peg$c38) {
5128
- s0 = peg$c38;
5482
+ if (input.substr(peg$currPos, 3) === peg$c44) {
5483
+ s0 = peg$c44;
5129
5484
  peg$currPos += 3;
5130
5485
  }
5131
5486
  else {
5132
5487
  s0 = peg$FAILED;
5133
5488
  if (peg$silentFails === 0) {
5134
- peg$fail(peg$e43);
5489
+ peg$fail(peg$e49);
5135
5490
  }
5136
5491
  }
5137
5492
  if (s0 === peg$FAILED) {
5138
- if (input.substr(peg$currPos, 9) === peg$c39) {
5139
- s0 = peg$c39;
5493
+ if (input.substr(peg$currPos, 9) === peg$c45) {
5494
+ s0 = peg$c45;
5140
5495
  peg$currPos += 9;
5141
5496
  }
5142
5497
  else {
5143
5498
  s0 = peg$FAILED;
5144
5499
  if (peg$silentFails === 0) {
5145
- peg$fail(peg$e44);
5500
+ peg$fail(peg$e50);
5146
5501
  }
5147
5502
  }
5148
5503
  if (s0 === peg$FAILED) {
5149
- if (input.substr(peg$currPos, 15) === peg$c40) {
5150
- s0 = peg$c40;
5504
+ if (input.substr(peg$currPos, 15) === peg$c46) {
5505
+ s0 = peg$c46;
5151
5506
  peg$currPos += 15;
5152
5507
  }
5153
5508
  else {
5154
5509
  s0 = peg$FAILED;
5155
5510
  if (peg$silentFails === 0) {
5156
- peg$fail(peg$e45);
5511
+ peg$fail(peg$e51);
5157
5512
  }
5158
5513
  }
5159
5514
  if (s0 === peg$FAILED) {
5160
- if (input.substr(peg$currPos, 6) === peg$c41) {
5161
- s0 = peg$c41;
5515
+ if (input.substr(peg$currPos, 6) === peg$c47) {
5516
+ s0 = peg$c47;
5162
5517
  peg$currPos += 6;
5163
5518
  }
5164
5519
  else {
5165
5520
  s0 = peg$FAILED;
5166
5521
  if (peg$silentFails === 0) {
5167
- peg$fail(peg$e46);
5522
+ peg$fail(peg$e52);
5168
5523
  }
5169
5524
  }
5170
5525
  if (s0 === peg$FAILED) {
5171
- if (input.substr(peg$currPos, 10) === peg$c42) {
5172
- s0 = peg$c42;
5526
+ if (input.substr(peg$currPos, 10) === peg$c48) {
5527
+ s0 = peg$c48;
5173
5528
  peg$currPos += 10;
5174
5529
  }
5175
5530
  else {
5176
5531
  s0 = peg$FAILED;
5177
5532
  if (peg$silentFails === 0) {
5178
- peg$fail(peg$e47);
5533
+ peg$fail(peg$e53);
5179
5534
  }
5180
5535
  }
5181
5536
  if (s0 === peg$FAILED) {
5182
- if (input.substr(peg$currPos, 13) === peg$c43) {
5183
- s0 = peg$c43;
5537
+ if (input.substr(peg$currPos, 13) === peg$c49) {
5538
+ s0 = peg$c49;
5184
5539
  peg$currPos += 13;
5185
5540
  }
5186
5541
  else {
5187
5542
  s0 = peg$FAILED;
5188
5543
  if (peg$silentFails === 0) {
5189
- peg$fail(peg$e48);
5544
+ peg$fail(peg$e54);
5190
5545
  }
5191
5546
  }
5192
5547
  if (s0 === peg$FAILED) {
5193
- if (input.substr(peg$currPos, 19) === peg$c44) {
5194
- s0 = peg$c44;
5548
+ if (input.substr(peg$currPos, 19) === peg$c50) {
5549
+ s0 = peg$c50;
5195
5550
  peg$currPos += 19;
5196
5551
  }
5197
5552
  else {
5198
5553
  s0 = peg$FAILED;
5199
5554
  if (peg$silentFails === 0) {
5200
- peg$fail(peg$e49);
5555
+ peg$fail(peg$e55);
5201
5556
  }
5202
5557
  }
5203
5558
  if (s0 === peg$FAILED) {
5204
- if (input.substr(peg$currPos, 10) === peg$c45) {
5205
- s0 = peg$c45;
5559
+ if (input.substr(peg$currPos, 10) === peg$c51) {
5560
+ s0 = peg$c51;
5206
5561
  peg$currPos += 10;
5207
5562
  }
5208
5563
  else {
5209
5564
  s0 = peg$FAILED;
5210
5565
  if (peg$silentFails === 0) {
5211
- peg$fail(peg$e50);
5566
+ peg$fail(peg$e56);
5212
5567
  }
5213
5568
  }
5214
5569
  if (s0 === peg$FAILED) {
5215
- if (input.substr(peg$currPos, 10) === peg$c46) {
5216
- s0 = peg$c46;
5570
+ if (input.substr(peg$currPos, 10) === peg$c52) {
5571
+ s0 = peg$c52;
5217
5572
  peg$currPos += 10;
5218
5573
  }
5219
5574
  else {
5220
5575
  s0 = peg$FAILED;
5221
5576
  if (peg$silentFails === 0) {
5222
- peg$fail(peg$e51);
5577
+ peg$fail(peg$e57);
5223
5578
  }
5224
5579
  }
5225
5580
  if (s0 === peg$FAILED) {
5226
- if (input.substr(peg$currPos, 13) === peg$c47) {
5227
- s0 = peg$c47;
5581
+ if (input.substr(peg$currPos, 13) === peg$c53) {
5582
+ s0 = peg$c53;
5228
5583
  peg$currPos += 13;
5229
5584
  }
5230
5585
  else {
5231
5586
  s0 = peg$FAILED;
5232
5587
  if (peg$silentFails === 0) {
5233
- peg$fail(peg$e52);
5588
+ peg$fail(peg$e58);
5234
5589
  }
5235
5590
  }
5236
5591
  }
@@ -5254,245 +5609,245 @@ function peg$parse(input, options) {
5254
5609
  }
5255
5610
  function peg$parseColor() {
5256
5611
  var s0;
5257
- if (input.substr(peg$currPos, 4) === peg$c48) {
5258
- s0 = peg$c48;
5612
+ if (input.substr(peg$currPos, 4) === peg$c54) {
5613
+ s0 = peg$c54;
5259
5614
  peg$currPos += 4;
5260
5615
  }
5261
5616
  else {
5262
5617
  s0 = peg$FAILED;
5263
5618
  if (peg$silentFails === 0) {
5264
- peg$fail(peg$e53);
5619
+ peg$fail(peg$e59);
5265
5620
  }
5266
5621
  }
5267
5622
  if (s0 === peg$FAILED) {
5268
- if (input.substr(peg$currPos, 5) === peg$c49) {
5269
- s0 = peg$c49;
5623
+ if (input.substr(peg$currPos, 5) === peg$c55) {
5624
+ s0 = peg$c55;
5270
5625
  peg$currPos += 5;
5271
5626
  }
5272
5627
  else {
5273
5628
  s0 = peg$FAILED;
5274
5629
  if (peg$silentFails === 0) {
5275
- peg$fail(peg$e54);
5630
+ peg$fail(peg$e60);
5276
5631
  }
5277
5632
  }
5278
5633
  if (s0 === peg$FAILED) {
5279
- if (input.substr(peg$currPos, 4) === peg$c50) {
5280
- s0 = peg$c50;
5634
+ if (input.substr(peg$currPos, 4) === peg$c56) {
5635
+ s0 = peg$c56;
5281
5636
  peg$currPos += 4;
5282
5637
  }
5283
5638
  else {
5284
5639
  s0 = peg$FAILED;
5285
5640
  if (peg$silentFails === 0) {
5286
- peg$fail(peg$e55);
5641
+ peg$fail(peg$e61);
5287
5642
  }
5288
5643
  }
5289
5644
  if (s0 === peg$FAILED) {
5290
- if (input.substr(peg$currPos, 4) === peg$c51) {
5291
- s0 = peg$c51;
5645
+ if (input.substr(peg$currPos, 4) === peg$c57) {
5646
+ s0 = peg$c57;
5292
5647
  peg$currPos += 4;
5293
5648
  }
5294
5649
  else {
5295
5650
  s0 = peg$FAILED;
5296
5651
  if (peg$silentFails === 0) {
5297
- peg$fail(peg$e56);
5652
+ peg$fail(peg$e62);
5298
5653
  }
5299
5654
  }
5300
5655
  if (s0 === peg$FAILED) {
5301
- if (input.substr(peg$currPos, 7) === peg$c52) {
5302
- s0 = peg$c52;
5656
+ if (input.substr(peg$currPos, 7) === peg$c58) {
5657
+ s0 = peg$c58;
5303
5658
  peg$currPos += 7;
5304
5659
  }
5305
5660
  else {
5306
5661
  s0 = peg$FAILED;
5307
5662
  if (peg$silentFails === 0) {
5308
- peg$fail(peg$e57);
5663
+ peg$fail(peg$e63);
5309
5664
  }
5310
5665
  }
5311
5666
  if (s0 === peg$FAILED) {
5312
- if (input.substr(peg$currPos, 9) === peg$c53) {
5313
- s0 = peg$c53;
5667
+ if (input.substr(peg$currPos, 9) === peg$c59) {
5668
+ s0 = peg$c59;
5314
5669
  peg$currPos += 9;
5315
5670
  }
5316
5671
  else {
5317
5672
  s0 = peg$FAILED;
5318
5673
  if (peg$silentFails === 0) {
5319
- peg$fail(peg$e58);
5674
+ peg$fail(peg$e64);
5320
5675
  }
5321
5676
  }
5322
5677
  if (s0 === peg$FAILED) {
5323
- if (input.substr(peg$currPos, 4) === peg$c54) {
5324
- s0 = peg$c54;
5678
+ if (input.substr(peg$currPos, 4) === peg$c60) {
5679
+ s0 = peg$c60;
5325
5680
  peg$currPos += 4;
5326
5681
  }
5327
5682
  else {
5328
5683
  s0 = peg$FAILED;
5329
5684
  if (peg$silentFails === 0) {
5330
- peg$fail(peg$e59);
5685
+ peg$fail(peg$e65);
5331
5686
  }
5332
5687
  }
5333
5688
  if (s0 === peg$FAILED) {
5334
- if (input.substr(peg$currPos, 8) === peg$c55) {
5335
- s0 = peg$c55;
5689
+ if (input.substr(peg$currPos, 8) === peg$c61) {
5690
+ s0 = peg$c61;
5336
5691
  peg$currPos += 8;
5337
5692
  }
5338
5693
  else {
5339
5694
  s0 = peg$FAILED;
5340
5695
  if (peg$silentFails === 0) {
5341
- peg$fail(peg$e60);
5696
+ peg$fail(peg$e66);
5342
5697
  }
5343
5698
  }
5344
5699
  if (s0 === peg$FAILED) {
5345
- if (input.substr(peg$currPos, 5) === peg$c56) {
5346
- s0 = peg$c56;
5700
+ if (input.substr(peg$currPos, 5) === peg$c62) {
5701
+ s0 = peg$c62;
5347
5702
  peg$currPos += 5;
5348
5703
  }
5349
5704
  else {
5350
5705
  s0 = peg$FAILED;
5351
5706
  if (peg$silentFails === 0) {
5352
- peg$fail(peg$e61);
5707
+ peg$fail(peg$e67);
5353
5708
  }
5354
5709
  }
5355
5710
  if (s0 === peg$FAILED) {
5356
- if (input.substr(peg$currPos, 4) === peg$c57) {
5357
- s0 = peg$c57;
5711
+ if (input.substr(peg$currPos, 4) === peg$c63) {
5712
+ s0 = peg$c63;
5358
5713
  peg$currPos += 4;
5359
5714
  }
5360
5715
  else {
5361
5716
  s0 = peg$FAILED;
5362
5717
  if (peg$silentFails === 0) {
5363
- peg$fail(peg$e62);
5718
+ peg$fail(peg$e68);
5364
5719
  }
5365
5720
  }
5366
5721
  if (s0 === peg$FAILED) {
5367
- if (input.substr(peg$currPos, 7) === peg$c58) {
5368
- s0 = peg$c58;
5722
+ if (input.substr(peg$currPos, 7) === peg$c64) {
5723
+ s0 = peg$c64;
5369
5724
  peg$currPos += 7;
5370
5725
  }
5371
5726
  else {
5372
5727
  s0 = peg$FAILED;
5373
5728
  if (peg$silentFails === 0) {
5374
- peg$fail(peg$e63);
5729
+ peg$fail(peg$e69);
5375
5730
  }
5376
5731
  }
5377
5732
  if (s0 === peg$FAILED) {
5378
- if (input.substr(peg$currPos, 6) === peg$c59) {
5379
- s0 = peg$c59;
5733
+ if (input.substr(peg$currPos, 6) === peg$c65) {
5734
+ s0 = peg$c65;
5380
5735
  peg$currPos += 6;
5381
5736
  }
5382
5737
  else {
5383
5738
  s0 = peg$FAILED;
5384
5739
  if (peg$silentFails === 0) {
5385
- peg$fail(peg$e64);
5740
+ peg$fail(peg$e70);
5386
5741
  }
5387
5742
  }
5388
5743
  if (s0 === peg$FAILED) {
5389
- if (input.substr(peg$currPos, 4) === peg$c60) {
5390
- s0 = peg$c60;
5744
+ if (input.substr(peg$currPos, 4) === peg$c66) {
5745
+ s0 = peg$c66;
5391
5746
  peg$currPos += 4;
5392
5747
  }
5393
5748
  else {
5394
5749
  s0 = peg$FAILED;
5395
5750
  if (peg$silentFails === 0) {
5396
- peg$fail(peg$e65);
5751
+ peg$fail(peg$e71);
5397
5752
  }
5398
5753
  }
5399
5754
  if (s0 === peg$FAILED) {
5400
- if (input.substr(peg$currPos, 5) === peg$c61) {
5401
- s0 = peg$c61;
5755
+ if (input.substr(peg$currPos, 5) === peg$c67) {
5756
+ s0 = peg$c67;
5402
5757
  peg$currPos += 5;
5403
5758
  }
5404
5759
  else {
5405
5760
  s0 = peg$FAILED;
5406
5761
  if (peg$silentFails === 0) {
5407
- peg$fail(peg$e66);
5762
+ peg$fail(peg$e72);
5408
5763
  }
5409
5764
  }
5410
5765
  if (s0 === peg$FAILED) {
5411
- if (input.substr(peg$currPos, 6) === peg$c62) {
5412
- s0 = peg$c62;
5766
+ if (input.substr(peg$currPos, 6) === peg$c68) {
5767
+ s0 = peg$c68;
5413
5768
  peg$currPos += 6;
5414
5769
  }
5415
5770
  else {
5416
5771
  s0 = peg$FAILED;
5417
5772
  if (peg$silentFails === 0) {
5418
- peg$fail(peg$e67);
5773
+ peg$fail(peg$e73);
5419
5774
  }
5420
5775
  }
5421
5776
  if (s0 === peg$FAILED) {
5422
- if (input.substr(peg$currPos, 6) === peg$c63) {
5423
- s0 = peg$c63;
5777
+ if (input.substr(peg$currPos, 6) === peg$c69) {
5778
+ s0 = peg$c69;
5424
5779
  peg$currPos += 6;
5425
5780
  }
5426
5781
  else {
5427
5782
  s0 = peg$FAILED;
5428
5783
  if (peg$silentFails === 0) {
5429
- peg$fail(peg$e68);
5784
+ peg$fail(peg$e74);
5430
5785
  }
5431
5786
  }
5432
5787
  if (s0 === peg$FAILED) {
5433
- if (input.substr(peg$currPos, 3) === peg$c64) {
5434
- s0 = peg$c64;
5788
+ if (input.substr(peg$currPos, 3) === peg$c70) {
5789
+ s0 = peg$c70;
5435
5790
  peg$currPos += 3;
5436
5791
  }
5437
5792
  else {
5438
5793
  s0 = peg$FAILED;
5439
5794
  if (peg$silentFails === 0) {
5440
- peg$fail(peg$e69);
5795
+ peg$fail(peg$e75);
5441
5796
  }
5442
5797
  }
5443
5798
  if (s0 === peg$FAILED) {
5444
- if (input.substr(peg$currPos, 6) === peg$c65) {
5445
- s0 = peg$c65;
5799
+ if (input.substr(peg$currPos, 6) === peg$c71) {
5800
+ s0 = peg$c71;
5446
5801
  peg$currPos += 6;
5447
5802
  }
5448
5803
  else {
5449
5804
  s0 = peg$FAILED;
5450
5805
  if (peg$silentFails === 0) {
5451
- peg$fail(peg$e70);
5806
+ peg$fail(peg$e76);
5452
5807
  }
5453
5808
  }
5454
5809
  if (s0 === peg$FAILED) {
5455
- if (input.substr(peg$currPos, 4) === peg$c66) {
5456
- s0 = peg$c66;
5810
+ if (input.substr(peg$currPos, 4) === peg$c72) {
5811
+ s0 = peg$c72;
5457
5812
  peg$currPos += 4;
5458
5813
  }
5459
5814
  else {
5460
5815
  s0 = peg$FAILED;
5461
5816
  if (peg$silentFails === 0) {
5462
- peg$fail(peg$e71);
5817
+ peg$fail(peg$e77);
5463
5818
  }
5464
5819
  }
5465
5820
  if (s0 === peg$FAILED) {
5466
- if (input.substr(peg$currPos, 6) === peg$c67) {
5467
- s0 = peg$c67;
5821
+ if (input.substr(peg$currPos, 6) === peg$c73) {
5822
+ s0 = peg$c73;
5468
5823
  peg$currPos += 6;
5469
5824
  }
5470
5825
  else {
5471
5826
  s0 = peg$FAILED;
5472
5827
  if (peg$silentFails === 0) {
5473
- peg$fail(peg$e72);
5828
+ peg$fail(peg$e78);
5474
5829
  }
5475
5830
  }
5476
5831
  if (s0 === peg$FAILED) {
5477
- if (input.substr(peg$currPos, 5) === peg$c68) {
5478
- s0 = peg$c68;
5832
+ if (input.substr(peg$currPos, 5) === peg$c74) {
5833
+ s0 = peg$c74;
5479
5834
  peg$currPos += 5;
5480
5835
  }
5481
5836
  else {
5482
5837
  s0 = peg$FAILED;
5483
5838
  if (peg$silentFails === 0) {
5484
- peg$fail(peg$e73);
5839
+ peg$fail(peg$e79);
5485
5840
  }
5486
5841
  }
5487
5842
  if (s0 === peg$FAILED) {
5488
- if (input.substr(peg$currPos, 6) === peg$c69) {
5489
- s0 = peg$c69;
5843
+ if (input.substr(peg$currPos, 6) === peg$c75) {
5844
+ s0 = peg$c75;
5490
5845
  peg$currPos += 6;
5491
5846
  }
5492
5847
  else {
5493
5848
  s0 = peg$FAILED;
5494
5849
  if (peg$silentFails === 0) {
5495
- peg$fail(peg$e74);
5850
+ peg$fail(peg$e80);
5496
5851
  }
5497
5852
  }
5498
5853
  }
@@ -5524,12 +5879,12 @@ function peg$parse(input, options) {
5524
5879
  s0 = peg$currPos;
5525
5880
  s1 = peg$parsebitmarkMinusMinusString();
5526
5881
  peg$savedPos = s0;
5527
- s1 = peg$f61(s1);
5882
+ s1 = peg$f64(s1);
5528
5883
  s0 = s1;
5529
5884
  peg$silentFails--;
5530
5885
  s1 = peg$FAILED;
5531
5886
  if (peg$silentFails === 0) {
5532
- peg$fail(peg$e75);
5887
+ peg$fail(peg$e81);
5533
5888
  }
5534
5889
  return s0;
5535
5890
  }
@@ -5554,11 +5909,11 @@ function peg$parse(input, options) {
5554
5909
  }
5555
5910
  }
5556
5911
  peg$savedPos = s0;
5557
- s0 = peg$f62(s1, s2);
5912
+ s0 = peg$f65(s1, s2);
5558
5913
  peg$silentFails--;
5559
5914
  s1 = peg$FAILED;
5560
5915
  if (peg$silentFails === 0) {
5561
- peg$fail(peg$e76);
5916
+ peg$fail(peg$e82);
5562
5917
  }
5563
5918
  return s0;
5564
5919
  }
@@ -5591,7 +5946,7 @@ function peg$parse(input, options) {
5591
5946
  else {
5592
5947
  s6 = peg$FAILED;
5593
5948
  if (peg$silentFails === 0) {
5594
- peg$fail(peg$e15);
5949
+ peg$fail(peg$e16);
5595
5950
  }
5596
5951
  }
5597
5952
  if (s6 !== peg$FAILED) {
@@ -5634,7 +5989,7 @@ function peg$parse(input, options) {
5634
5989
  else {
5635
5990
  s6 = peg$FAILED;
5636
5991
  if (peg$silentFails === 0) {
5637
- peg$fail(peg$e15);
5992
+ peg$fail(peg$e16);
5638
5993
  }
5639
5994
  }
5640
5995
  if (s6 !== peg$FAILED) {
@@ -5663,7 +6018,7 @@ function peg$parse(input, options) {
5663
6018
  }
5664
6019
  if (s1 !== peg$FAILED) {
5665
6020
  peg$savedPos = s0;
5666
- s1 = peg$f63(s1);
6021
+ s1 = peg$f66(s1);
5667
6022
  }
5668
6023
  s0 = s1;
5669
6024
  if (s0 === peg$FAILED) {
@@ -5674,13 +6029,13 @@ function peg$parse(input, options) {
5674
6029
  function peg$parseBoldHalfTag() {
5675
6030
  var s0;
5676
6031
  if (input.charCodeAt(peg$currPos) === 42) {
5677
- s0 = peg$c70;
6032
+ s0 = peg$c76;
5678
6033
  peg$currPos++;
5679
6034
  }
5680
6035
  else {
5681
6036
  s0 = peg$FAILED;
5682
6037
  if (peg$silentFails === 0) {
5683
- peg$fail(peg$e77);
6038
+ peg$fail(peg$e83);
5684
6039
  }
5685
6040
  }
5686
6041
  return s0;
@@ -5688,13 +6043,13 @@ function peg$parse(input, options) {
5688
6043
  function peg$parseItalicHalfTag() {
5689
6044
  var s0;
5690
6045
  if (input.charCodeAt(peg$currPos) === 95) {
5691
- s0 = peg$c71;
6046
+ s0 = peg$c77;
5692
6047
  peg$currPos++;
5693
6048
  }
5694
6049
  else {
5695
6050
  s0 = peg$FAILED;
5696
6051
  if (peg$silentFails === 0) {
5697
- peg$fail(peg$e78);
6052
+ peg$fail(peg$e84);
5698
6053
  }
5699
6054
  }
5700
6055
  return s0;
@@ -5702,13 +6057,13 @@ function peg$parse(input, options) {
5702
6057
  function peg$parseLightHalfTag() {
5703
6058
  var s0;
5704
6059
  if (input.charCodeAt(peg$currPos) === 96) {
5705
- s0 = peg$c72;
6060
+ s0 = peg$c78;
5706
6061
  peg$currPos++;
5707
6062
  }
5708
6063
  else {
5709
6064
  s0 = peg$FAILED;
5710
6065
  if (peg$silentFails === 0) {
5711
- peg$fail(peg$e79);
6066
+ peg$fail(peg$e85);
5712
6067
  }
5713
6068
  }
5714
6069
  return s0;
@@ -5716,13 +6071,13 @@ function peg$parse(input, options) {
5716
6071
  function peg$parseHighlightHalfTag() {
5717
6072
  var s0;
5718
6073
  if (input.charCodeAt(peg$currPos) === 33) {
5719
- s0 = peg$c73;
6074
+ s0 = peg$c79;
5720
6075
  peg$currPos++;
5721
6076
  }
5722
6077
  else {
5723
6078
  s0 = peg$FAILED;
5724
6079
  if (peg$silentFails === 0) {
5725
- peg$fail(peg$e80);
6080
+ peg$fail(peg$e86);
5726
6081
  }
5727
6082
  }
5728
6083
  return s0;
@@ -5813,14 +6168,14 @@ function peg$parse(input, options) {
5813
6168
  }
5814
6169
  function peg$parseBodyBitOpenTag() {
5815
6170
  var s0;
5816
- if (input.substr(peg$currPos, 2) === peg$c74) {
5817
- s0 = peg$c74;
6171
+ if (input.substr(peg$currPos, 2) === peg$c80) {
6172
+ s0 = peg$c80;
5818
6173
  peg$currPos += 2;
5819
6174
  }
5820
6175
  else {
5821
6176
  s0 = peg$FAILED;
5822
6177
  if (peg$silentFails === 0) {
5823
- peg$fail(peg$e81);
6178
+ peg$fail(peg$e87);
5824
6179
  }
5825
6180
  }
5826
6181
  return s0;
@@ -5828,13 +6183,13 @@ function peg$parse(input, options) {
5828
6183
  function peg$parseBodyBitCloseTag() {
5829
6184
  var s0;
5830
6185
  if (input.charCodeAt(peg$currPos) === 93) {
5831
- s0 = peg$c75;
6186
+ s0 = peg$c81;
5832
6187
  peg$currPos++;
5833
6188
  }
5834
6189
  else {
5835
6190
  s0 = peg$FAILED;
5836
6191
  if (peg$silentFails === 0) {
5837
- peg$fail(peg$e82);
6192
+ peg$fail(peg$e88);
5838
6193
  }
5839
6194
  }
5840
6195
  return s0;
@@ -5853,7 +6208,7 @@ function peg$parse(input, options) {
5853
6208
  else {
5854
6209
  s4 = peg$FAILED;
5855
6210
  if (peg$silentFails === 0) {
5856
- peg$fail(peg$e21);
6211
+ peg$fail(peg$e22);
5857
6212
  }
5858
6213
  }
5859
6214
  if (s4 !== peg$FAILED) {
@@ -5866,7 +6221,7 @@ function peg$parse(input, options) {
5866
6221
  else {
5867
6222
  s4 = peg$FAILED;
5868
6223
  if (peg$silentFails === 0) {
5869
- peg$fail(peg$e21);
6224
+ peg$fail(peg$e22);
5870
6225
  }
5871
6226
  }
5872
6227
  }
@@ -5884,7 +6239,7 @@ function peg$parse(input, options) {
5884
6239
  s3 = peg$parseBodyBitCloseTag();
5885
6240
  if (s3 !== peg$FAILED) {
5886
6241
  peg$savedPos = s0;
5887
- s0 = peg$f64(s2);
6242
+ s0 = peg$f67(s2);
5888
6243
  }
5889
6244
  else {
5890
6245
  peg$currPos = s0;
@@ -5905,13 +6260,13 @@ function peg$parse(input, options) {
5905
6260
  s1 = peg$parseBoldTag();
5906
6261
  if (s1 !== peg$FAILED) {
5907
6262
  if (input.charCodeAt(peg$currPos) === 32) {
5908
- s2 = peg$c15;
6263
+ s2 = peg$c16;
5909
6264
  peg$currPos++;
5910
6265
  }
5911
6266
  else {
5912
6267
  s2 = peg$FAILED;
5913
6268
  if (peg$silentFails === 0) {
5914
- peg$fail(peg$e18);
6269
+ peg$fail(peg$e19);
5915
6270
  }
5916
6271
  }
5917
6272
  if (s2 === peg$FAILED) {
@@ -5924,13 +6279,13 @@ function peg$parse(input, options) {
5924
6279
  peg$silentFails++;
5925
6280
  s7 = peg$currPos;
5926
6281
  if (input.charCodeAt(peg$currPos) === 32) {
5927
- s8 = peg$c15;
6282
+ s8 = peg$c16;
5928
6283
  peg$currPos++;
5929
6284
  }
5930
6285
  else {
5931
6286
  s8 = peg$FAILED;
5932
6287
  if (peg$silentFails === 0) {
5933
- peg$fail(peg$e18);
6288
+ peg$fail(peg$e19);
5934
6289
  }
5935
6290
  }
5936
6291
  if (s8 === peg$FAILED) {
@@ -5961,7 +6316,7 @@ function peg$parse(input, options) {
5961
6316
  else {
5962
6317
  s7 = peg$FAILED;
5963
6318
  if (peg$silentFails === 0) {
5964
- peg$fail(peg$e15);
6319
+ peg$fail(peg$e16);
5965
6320
  }
5966
6321
  }
5967
6322
  if (s7 !== peg$FAILED) {
@@ -5984,13 +6339,13 @@ function peg$parse(input, options) {
5984
6339
  peg$silentFails++;
5985
6340
  s7 = peg$currPos;
5986
6341
  if (input.charCodeAt(peg$currPos) === 32) {
5987
- s8 = peg$c15;
6342
+ s8 = peg$c16;
5988
6343
  peg$currPos++;
5989
6344
  }
5990
6345
  else {
5991
6346
  s8 = peg$FAILED;
5992
6347
  if (peg$silentFails === 0) {
5993
- peg$fail(peg$e18);
6348
+ peg$fail(peg$e19);
5994
6349
  }
5995
6350
  }
5996
6351
  if (s8 === peg$FAILED) {
@@ -6021,7 +6376,7 @@ function peg$parse(input, options) {
6021
6376
  else {
6022
6377
  s7 = peg$FAILED;
6023
6378
  if (peg$silentFails === 0) {
6024
- peg$fail(peg$e15);
6379
+ peg$fail(peg$e16);
6025
6380
  }
6026
6381
  }
6027
6382
  if (s7 !== peg$FAILED) {
@@ -6040,13 +6395,13 @@ function peg$parse(input, options) {
6040
6395
  }
6041
6396
  s3 = input.substring(s3, peg$currPos);
6042
6397
  if (input.charCodeAt(peg$currPos) === 32) {
6043
- s4 = peg$c15;
6398
+ s4 = peg$c16;
6044
6399
  peg$currPos++;
6045
6400
  }
6046
6401
  else {
6047
6402
  s4 = peg$FAILED;
6048
6403
  if (peg$silentFails === 0) {
6049
- peg$fail(peg$e18);
6404
+ peg$fail(peg$e19);
6050
6405
  }
6051
6406
  }
6052
6407
  if (s4 === peg$FAILED) {
@@ -6055,7 +6410,7 @@ function peg$parse(input, options) {
6055
6410
  s5 = peg$parseBoldTag();
6056
6411
  if (s5 !== peg$FAILED) {
6057
6412
  peg$savedPos = s0;
6058
- s0 = peg$f65(s3);
6413
+ s0 = peg$f68(s3);
6059
6414
  }
6060
6415
  else {
6061
6416
  peg$currPos = s0;
@@ -6071,13 +6426,13 @@ function peg$parse(input, options) {
6071
6426
  s1 = peg$parseItalicTag();
6072
6427
  if (s1 !== peg$FAILED) {
6073
6428
  if (input.charCodeAt(peg$currPos) === 32) {
6074
- s2 = peg$c15;
6429
+ s2 = peg$c16;
6075
6430
  peg$currPos++;
6076
6431
  }
6077
6432
  else {
6078
6433
  s2 = peg$FAILED;
6079
6434
  if (peg$silentFails === 0) {
6080
- peg$fail(peg$e18);
6435
+ peg$fail(peg$e19);
6081
6436
  }
6082
6437
  }
6083
6438
  if (s2 === peg$FAILED) {
@@ -6090,13 +6445,13 @@ function peg$parse(input, options) {
6090
6445
  peg$silentFails++;
6091
6446
  s7 = peg$currPos;
6092
6447
  if (input.charCodeAt(peg$currPos) === 32) {
6093
- s8 = peg$c15;
6448
+ s8 = peg$c16;
6094
6449
  peg$currPos++;
6095
6450
  }
6096
6451
  else {
6097
6452
  s8 = peg$FAILED;
6098
6453
  if (peg$silentFails === 0) {
6099
- peg$fail(peg$e18);
6454
+ peg$fail(peg$e19);
6100
6455
  }
6101
6456
  }
6102
6457
  if (s8 === peg$FAILED) {
@@ -6127,7 +6482,7 @@ function peg$parse(input, options) {
6127
6482
  else {
6128
6483
  s7 = peg$FAILED;
6129
6484
  if (peg$silentFails === 0) {
6130
- peg$fail(peg$e15);
6485
+ peg$fail(peg$e16);
6131
6486
  }
6132
6487
  }
6133
6488
  if (s7 !== peg$FAILED) {
@@ -6150,13 +6505,13 @@ function peg$parse(input, options) {
6150
6505
  peg$silentFails++;
6151
6506
  s7 = peg$currPos;
6152
6507
  if (input.charCodeAt(peg$currPos) === 32) {
6153
- s8 = peg$c15;
6508
+ s8 = peg$c16;
6154
6509
  peg$currPos++;
6155
6510
  }
6156
6511
  else {
6157
6512
  s8 = peg$FAILED;
6158
6513
  if (peg$silentFails === 0) {
6159
- peg$fail(peg$e18);
6514
+ peg$fail(peg$e19);
6160
6515
  }
6161
6516
  }
6162
6517
  if (s8 === peg$FAILED) {
@@ -6187,7 +6542,7 @@ function peg$parse(input, options) {
6187
6542
  else {
6188
6543
  s7 = peg$FAILED;
6189
6544
  if (peg$silentFails === 0) {
6190
- peg$fail(peg$e15);
6545
+ peg$fail(peg$e16);
6191
6546
  }
6192
6547
  }
6193
6548
  if (s7 !== peg$FAILED) {
@@ -6206,13 +6561,13 @@ function peg$parse(input, options) {
6206
6561
  }
6207
6562
  s3 = input.substring(s3, peg$currPos);
6208
6563
  if (input.charCodeAt(peg$currPos) === 32) {
6209
- s4 = peg$c15;
6564
+ s4 = peg$c16;
6210
6565
  peg$currPos++;
6211
6566
  }
6212
6567
  else {
6213
6568
  s4 = peg$FAILED;
6214
6569
  if (peg$silentFails === 0) {
6215
- peg$fail(peg$e18);
6570
+ peg$fail(peg$e19);
6216
6571
  }
6217
6572
  }
6218
6573
  if (s4 === peg$FAILED) {
@@ -6221,7 +6576,7 @@ function peg$parse(input, options) {
6221
6576
  s5 = peg$parseItalicTag();
6222
6577
  if (s5 !== peg$FAILED) {
6223
6578
  peg$savedPos = s0;
6224
- s0 = peg$f66(s3);
6579
+ s0 = peg$f69(s3);
6225
6580
  }
6226
6581
  else {
6227
6582
  peg$currPos = s0;
@@ -6237,13 +6592,13 @@ function peg$parse(input, options) {
6237
6592
  s1 = peg$parseLightTag();
6238
6593
  if (s1 !== peg$FAILED) {
6239
6594
  if (input.charCodeAt(peg$currPos) === 32) {
6240
- s2 = peg$c15;
6595
+ s2 = peg$c16;
6241
6596
  peg$currPos++;
6242
6597
  }
6243
6598
  else {
6244
6599
  s2 = peg$FAILED;
6245
6600
  if (peg$silentFails === 0) {
6246
- peg$fail(peg$e18);
6601
+ peg$fail(peg$e19);
6247
6602
  }
6248
6603
  }
6249
6604
  if (s2 === peg$FAILED) {
@@ -6256,13 +6611,13 @@ function peg$parse(input, options) {
6256
6611
  peg$silentFails++;
6257
6612
  s7 = peg$currPos;
6258
6613
  if (input.charCodeAt(peg$currPos) === 32) {
6259
- s8 = peg$c15;
6614
+ s8 = peg$c16;
6260
6615
  peg$currPos++;
6261
6616
  }
6262
6617
  else {
6263
6618
  s8 = peg$FAILED;
6264
6619
  if (peg$silentFails === 0) {
6265
- peg$fail(peg$e18);
6620
+ peg$fail(peg$e19);
6266
6621
  }
6267
6622
  }
6268
6623
  if (s8 === peg$FAILED) {
@@ -6293,7 +6648,7 @@ function peg$parse(input, options) {
6293
6648
  else {
6294
6649
  s7 = peg$FAILED;
6295
6650
  if (peg$silentFails === 0) {
6296
- peg$fail(peg$e15);
6651
+ peg$fail(peg$e16);
6297
6652
  }
6298
6653
  }
6299
6654
  if (s7 !== peg$FAILED) {
@@ -6316,13 +6671,13 @@ function peg$parse(input, options) {
6316
6671
  peg$silentFails++;
6317
6672
  s7 = peg$currPos;
6318
6673
  if (input.charCodeAt(peg$currPos) === 32) {
6319
- s8 = peg$c15;
6674
+ s8 = peg$c16;
6320
6675
  peg$currPos++;
6321
6676
  }
6322
6677
  else {
6323
6678
  s8 = peg$FAILED;
6324
6679
  if (peg$silentFails === 0) {
6325
- peg$fail(peg$e18);
6680
+ peg$fail(peg$e19);
6326
6681
  }
6327
6682
  }
6328
6683
  if (s8 === peg$FAILED) {
@@ -6353,7 +6708,7 @@ function peg$parse(input, options) {
6353
6708
  else {
6354
6709
  s7 = peg$FAILED;
6355
6710
  if (peg$silentFails === 0) {
6356
- peg$fail(peg$e15);
6711
+ peg$fail(peg$e16);
6357
6712
  }
6358
6713
  }
6359
6714
  if (s7 !== peg$FAILED) {
@@ -6372,13 +6727,13 @@ function peg$parse(input, options) {
6372
6727
  }
6373
6728
  s3 = input.substring(s3, peg$currPos);
6374
6729
  if (input.charCodeAt(peg$currPos) === 32) {
6375
- s4 = peg$c15;
6730
+ s4 = peg$c16;
6376
6731
  peg$currPos++;
6377
6732
  }
6378
6733
  else {
6379
6734
  s4 = peg$FAILED;
6380
6735
  if (peg$silentFails === 0) {
6381
- peg$fail(peg$e18);
6736
+ peg$fail(peg$e19);
6382
6737
  }
6383
6738
  }
6384
6739
  if (s4 === peg$FAILED) {
@@ -6387,7 +6742,7 @@ function peg$parse(input, options) {
6387
6742
  s5 = peg$parseLightTag();
6388
6743
  if (s5 !== peg$FAILED) {
6389
6744
  peg$savedPos = s0;
6390
- s0 = peg$f67(s3);
6745
+ s0 = peg$f70(s3);
6391
6746
  }
6392
6747
  else {
6393
6748
  peg$currPos = s0;
@@ -6403,13 +6758,13 @@ function peg$parse(input, options) {
6403
6758
  s1 = peg$parseHighlightTag();
6404
6759
  if (s1 !== peg$FAILED) {
6405
6760
  if (input.charCodeAt(peg$currPos) === 32) {
6406
- s2 = peg$c15;
6761
+ s2 = peg$c16;
6407
6762
  peg$currPos++;
6408
6763
  }
6409
6764
  else {
6410
6765
  s2 = peg$FAILED;
6411
6766
  if (peg$silentFails === 0) {
6412
- peg$fail(peg$e18);
6767
+ peg$fail(peg$e19);
6413
6768
  }
6414
6769
  }
6415
6770
  if (s2 === peg$FAILED) {
@@ -6422,13 +6777,13 @@ function peg$parse(input, options) {
6422
6777
  peg$silentFails++;
6423
6778
  s7 = peg$currPos;
6424
6779
  if (input.charCodeAt(peg$currPos) === 32) {
6425
- s8 = peg$c15;
6780
+ s8 = peg$c16;
6426
6781
  peg$currPos++;
6427
6782
  }
6428
6783
  else {
6429
6784
  s8 = peg$FAILED;
6430
6785
  if (peg$silentFails === 0) {
6431
- peg$fail(peg$e18);
6786
+ peg$fail(peg$e19);
6432
6787
  }
6433
6788
  }
6434
6789
  if (s8 === peg$FAILED) {
@@ -6459,7 +6814,7 @@ function peg$parse(input, options) {
6459
6814
  else {
6460
6815
  s7 = peg$FAILED;
6461
6816
  if (peg$silentFails === 0) {
6462
- peg$fail(peg$e15);
6817
+ peg$fail(peg$e16);
6463
6818
  }
6464
6819
  }
6465
6820
  if (s7 !== peg$FAILED) {
@@ -6482,13 +6837,13 @@ function peg$parse(input, options) {
6482
6837
  peg$silentFails++;
6483
6838
  s7 = peg$currPos;
6484
6839
  if (input.charCodeAt(peg$currPos) === 32) {
6485
- s8 = peg$c15;
6840
+ s8 = peg$c16;
6486
6841
  peg$currPos++;
6487
6842
  }
6488
6843
  else {
6489
6844
  s8 = peg$FAILED;
6490
6845
  if (peg$silentFails === 0) {
6491
- peg$fail(peg$e18);
6846
+ peg$fail(peg$e19);
6492
6847
  }
6493
6848
  }
6494
6849
  if (s8 === peg$FAILED) {
@@ -6519,7 +6874,7 @@ function peg$parse(input, options) {
6519
6874
  else {
6520
6875
  s7 = peg$FAILED;
6521
6876
  if (peg$silentFails === 0) {
6522
- peg$fail(peg$e15);
6877
+ peg$fail(peg$e16);
6523
6878
  }
6524
6879
  }
6525
6880
  if (s7 !== peg$FAILED) {
@@ -6538,13 +6893,13 @@ function peg$parse(input, options) {
6538
6893
  }
6539
6894
  s3 = input.substring(s3, peg$currPos);
6540
6895
  if (input.charCodeAt(peg$currPos) === 32) {
6541
- s4 = peg$c15;
6896
+ s4 = peg$c16;
6542
6897
  peg$currPos++;
6543
6898
  }
6544
6899
  else {
6545
6900
  s4 = peg$FAILED;
6546
6901
  if (peg$silentFails === 0) {
6547
- peg$fail(peg$e18);
6902
+ peg$fail(peg$e19);
6548
6903
  }
6549
6904
  }
6550
6905
  if (s4 === peg$FAILED) {
@@ -6553,7 +6908,7 @@ function peg$parse(input, options) {
6553
6908
  s5 = peg$parseHighlightTag();
6554
6909
  if (s5 !== peg$FAILED) {
6555
6910
  peg$savedPos = s0;
6556
- s0 = peg$f68(s3);
6911
+ s0 = peg$f71(s3);
6557
6912
  }
6558
6913
  else {
6559
6914
  peg$currPos = s0;
@@ -6720,57 +7075,57 @@ function peg$parse(input, options) {
6720
7075
  var s0, s1;
6721
7076
  peg$silentFails++;
6722
7077
  if (input.charCodeAt(peg$currPos) === 10) {
6723
- s0 = peg$c76;
7078
+ s0 = peg$c82;
6724
7079
  peg$currPos++;
6725
7080
  }
6726
7081
  else {
6727
7082
  s0 = peg$FAILED;
6728
7083
  if (peg$silentFails === 0) {
6729
- peg$fail(peg$e84);
7084
+ peg$fail(peg$e90);
6730
7085
  }
6731
7086
  }
6732
7087
  if (s0 === peg$FAILED) {
6733
- if (input.substr(peg$currPos, 2) === peg$c77) {
6734
- s0 = peg$c77;
7088
+ if (input.substr(peg$currPos, 2) === peg$c83) {
7089
+ s0 = peg$c83;
6735
7090
  peg$currPos += 2;
6736
7091
  }
6737
7092
  else {
6738
7093
  s0 = peg$FAILED;
6739
7094
  if (peg$silentFails === 0) {
6740
- peg$fail(peg$e85);
7095
+ peg$fail(peg$e91);
6741
7096
  }
6742
7097
  }
6743
7098
  if (s0 === peg$FAILED) {
6744
7099
  if (input.charCodeAt(peg$currPos) === 13) {
6745
- s0 = peg$c78;
7100
+ s0 = peg$c84;
6746
7101
  peg$currPos++;
6747
7102
  }
6748
7103
  else {
6749
7104
  s0 = peg$FAILED;
6750
7105
  if (peg$silentFails === 0) {
6751
- peg$fail(peg$e86);
7106
+ peg$fail(peg$e92);
6752
7107
  }
6753
7108
  }
6754
7109
  if (s0 === peg$FAILED) {
6755
7110
  if (input.charCodeAt(peg$currPos) === 8232) {
6756
- s0 = peg$c79;
7111
+ s0 = peg$c85;
6757
7112
  peg$currPos++;
6758
7113
  }
6759
7114
  else {
6760
7115
  s0 = peg$FAILED;
6761
7116
  if (peg$silentFails === 0) {
6762
- peg$fail(peg$e87);
7117
+ peg$fail(peg$e93);
6763
7118
  }
6764
7119
  }
6765
7120
  if (s0 === peg$FAILED) {
6766
7121
  if (input.charCodeAt(peg$currPos) === 8233) {
6767
- s0 = peg$c80;
7122
+ s0 = peg$c86;
6768
7123
  peg$currPos++;
6769
7124
  }
6770
7125
  else {
6771
7126
  s0 = peg$FAILED;
6772
7127
  if (peg$silentFails === 0) {
6773
- peg$fail(peg$e88);
7128
+ peg$fail(peg$e94);
6774
7129
  }
6775
7130
  }
6776
7131
  }
@@ -6781,7 +7136,7 @@ function peg$parse(input, options) {
6781
7136
  if (s0 === peg$FAILED) {
6782
7137
  s1 = peg$FAILED;
6783
7138
  if (peg$silentFails === 0) {
6784
- peg$fail(peg$e83);
7139
+ peg$fail(peg$e89);
6785
7140
  }
6786
7141
  }
6787
7142
  return s0;
@@ -6816,7 +7171,7 @@ function peg$parse(input, options) {
6816
7171
  peg$silentFails--;
6817
7172
  s1 = peg$FAILED;
6818
7173
  if (peg$silentFails === 0) {
6819
- peg$fail(peg$e89);
7174
+ peg$fail(peg$e95);
6820
7175
  }
6821
7176
  return s0;
6822
7177
  }
@@ -6840,7 +7195,7 @@ function peg$parse(input, options) {
6840
7195
  peg$silentFails--;
6841
7196
  s1 = peg$FAILED;
6842
7197
  if (peg$silentFails === 0) {
6843
- peg$fail(peg$e90);
7198
+ peg$fail(peg$e96);
6844
7199
  }
6845
7200
  return s0;
6846
7201
  }
@@ -6864,7 +7219,7 @@ function peg$parse(input, options) {
6864
7219
  if (s0 === peg$FAILED) {
6865
7220
  s1 = peg$FAILED;
6866
7221
  if (peg$silentFails === 0) {
6867
- peg$fail(peg$e91);
7222
+ peg$fail(peg$e97);
6868
7223
  }
6869
7224
  }
6870
7225
  return s0;
@@ -6879,14 +7234,14 @@ function peg$parse(input, options) {
6879
7234
  else {
6880
7235
  s0 = peg$FAILED;
6881
7236
  if (peg$silentFails === 0) {
6882
- peg$fail(peg$e93);
7237
+ peg$fail(peg$e99);
6883
7238
  }
6884
7239
  }
6885
7240
  peg$silentFails--;
6886
7241
  if (s0 === peg$FAILED) {
6887
7242
  s1 = peg$FAILED;
6888
7243
  if (peg$silentFails === 0) {
6889
- peg$fail(peg$e92);
7244
+ peg$fail(peg$e98);
6890
7245
  }
6891
7246
  }
6892
7247
  return s0;
@@ -6900,7 +7255,7 @@ function peg$parse(input, options) {
6900
7255
  else {
6901
7256
  s0 = peg$FAILED;
6902
7257
  if (peg$silentFails === 0) {
6903
- peg$fail(peg$e94);
7258
+ peg$fail(peg$e100);
6904
7259
  }
6905
7260
  }
6906
7261
  return s0;
@@ -6914,7 +7269,7 @@ function peg$parse(input, options) {
6914
7269
  else {
6915
7270
  s0 = peg$FAILED;
6916
7271
  if (peg$silentFails === 0) {
6917
- peg$fail(peg$e95);
7272
+ peg$fail(peg$e101);
6918
7273
  }
6919
7274
  }
6920
7275
  return s0;
@@ -6928,7 +7283,7 @@ function peg$parse(input, options) {
6928
7283
  else {
6929
7284
  s0 = peg$FAILED;
6930
7285
  if (peg$silentFails === 0) {
6931
- peg$fail(peg$e96);
7286
+ peg$fail(peg$e102);
6932
7287
  }
6933
7288
  }
6934
7289
  return s0;
@@ -6946,7 +7301,7 @@ function peg$parse(input, options) {
6946
7301
  else {
6947
7302
  s1 = peg$FAILED;
6948
7303
  if (peg$silentFails === 0) {
6949
- peg$fail(peg$e15);
7304
+ peg$fail(peg$e16);
6950
7305
  }
6951
7306
  }
6952
7307
  peg$silentFails--;
@@ -6964,38 +7319,38 @@ function peg$parse(input, options) {
6964
7319
  var s0, s1, s2, s3, s4, s5, s6, s7, s8;
6965
7320
  s0 = peg$currPos;
6966
7321
  s1 = peg$currPos;
6967
- if (input.substr(peg$currPos, 4) === peg$c81) {
6968
- s2 = peg$c81;
7322
+ if (input.substr(peg$currPos, 4) === peg$c87) {
7323
+ s2 = peg$c87;
6969
7324
  peg$currPos += 4;
6970
7325
  }
6971
7326
  else {
6972
7327
  s2 = peg$FAILED;
6973
7328
  if (peg$silentFails === 0) {
6974
- peg$fail(peg$e97);
7329
+ peg$fail(peg$e103);
6975
7330
  }
6976
7331
  }
6977
7332
  if (s2 !== peg$FAILED) {
6978
7333
  if (input.charCodeAt(peg$currPos) === 115) {
6979
- s3 = peg$c82;
7334
+ s3 = peg$c88;
6980
7335
  peg$currPos++;
6981
7336
  }
6982
7337
  else {
6983
7338
  s3 = peg$FAILED;
6984
7339
  if (peg$silentFails === 0) {
6985
- peg$fail(peg$e98);
7340
+ peg$fail(peg$e104);
6986
7341
  }
6987
7342
  }
6988
7343
  if (s3 === peg$FAILED) {
6989
7344
  s3 = null;
6990
7345
  }
6991
- if (input.substr(peg$currPos, 3) === peg$c83) {
6992
- s4 = peg$c83;
7346
+ if (input.substr(peg$currPos, 3) === peg$c89) {
7347
+ s4 = peg$c89;
6993
7348
  peg$currPos += 3;
6994
7349
  }
6995
7350
  else {
6996
7351
  s4 = peg$FAILED;
6997
7352
  if (peg$silentFails === 0) {
6998
- peg$fail(peg$e99);
7353
+ peg$fail(peg$e105);
6999
7354
  }
7000
7355
  }
7001
7356
  if (s4 !== peg$FAILED) {
@@ -7082,38 +7437,38 @@ function peg$parse(input, options) {
7082
7437
  s0 = peg$currPos;
7083
7438
  s1 = peg$currPos;
7084
7439
  s2 = peg$currPos;
7085
- if (input.substr(peg$currPos, 4) === peg$c81) {
7086
- s3 = peg$c81;
7440
+ if (input.substr(peg$currPos, 4) === peg$c87) {
7441
+ s3 = peg$c87;
7087
7442
  peg$currPos += 4;
7088
7443
  }
7089
7444
  else {
7090
7445
  s3 = peg$FAILED;
7091
7446
  if (peg$silentFails === 0) {
7092
- peg$fail(peg$e97);
7447
+ peg$fail(peg$e103);
7093
7448
  }
7094
7449
  }
7095
7450
  if (s3 !== peg$FAILED) {
7096
7451
  if (input.charCodeAt(peg$currPos) === 115) {
7097
- s4 = peg$c82;
7452
+ s4 = peg$c88;
7098
7453
  peg$currPos++;
7099
7454
  }
7100
7455
  else {
7101
7456
  s4 = peg$FAILED;
7102
7457
  if (peg$silentFails === 0) {
7103
- peg$fail(peg$e98);
7458
+ peg$fail(peg$e104);
7104
7459
  }
7105
7460
  }
7106
7461
  if (s4 === peg$FAILED) {
7107
7462
  s4 = null;
7108
7463
  }
7109
- if (input.substr(peg$currPos, 3) === peg$c83) {
7110
- s5 = peg$c83;
7464
+ if (input.substr(peg$currPos, 3) === peg$c89) {
7465
+ s5 = peg$c89;
7111
7466
  peg$currPos += 3;
7112
7467
  }
7113
7468
  else {
7114
7469
  s5 = peg$FAILED;
7115
7470
  if (peg$silentFails === 0) {
7116
- peg$fail(peg$e99);
7471
+ peg$fail(peg$e105);
7117
7472
  }
7118
7473
  }
7119
7474
  if (s5 !== peg$FAILED) {
@@ -7130,14 +7485,14 @@ function peg$parse(input, options) {
7130
7485
  s2 = peg$FAILED;
7131
7486
  }
7132
7487
  if (s2 === peg$FAILED) {
7133
- if (input.substr(peg$currPos, 7) === peg$c84) {
7134
- s2 = peg$c84;
7488
+ if (input.substr(peg$currPos, 7) === peg$c90) {
7489
+ s2 = peg$c90;
7135
7490
  peg$currPos += 7;
7136
7491
  }
7137
7492
  else {
7138
7493
  s2 = peg$FAILED;
7139
7494
  if (peg$silentFails === 0) {
7140
- peg$fail(peg$e100);
7495
+ peg$fail(peg$e106);
7141
7496
  }
7142
7497
  }
7143
7498
  }
@@ -7209,7 +7564,7 @@ function peg$parse(input, options) {
7209
7564
  }
7210
7565
  s2 = input.substring(s2, peg$currPos);
7211
7566
  peg$savedPos = s0;
7212
- s0 = peg$f69(s1, s2);
7567
+ s0 = peg$f72(s1, s2);
7213
7568
  }
7214
7569
  else {
7215
7570
  peg$currPos = s0;
@@ -7226,40 +7581,40 @@ function peg$parse(input, options) {
7226
7581
  else {
7227
7582
  s0 = peg$FAILED;
7228
7583
  if (peg$silentFails === 0) {
7229
- peg$fail(peg$e101);
7584
+ peg$fail(peg$e107);
7230
7585
  }
7231
7586
  }
7232
7587
  if (s0 === peg$FAILED) {
7233
7588
  if (input.charCodeAt(peg$currPos) === 126) {
7234
- s0 = peg$c85;
7589
+ s0 = peg$c91;
7235
7590
  peg$currPos++;
7236
7591
  }
7237
7592
  else {
7238
7593
  s0 = peg$FAILED;
7239
7594
  if (peg$silentFails === 0) {
7240
- peg$fail(peg$e102);
7595
+ peg$fail(peg$e108);
7241
7596
  }
7242
7597
  }
7243
7598
  if (s0 === peg$FAILED) {
7244
7599
  if (input.charCodeAt(peg$currPos) === 94) {
7245
- s0 = peg$c86;
7600
+ s0 = peg$c92;
7246
7601
  peg$currPos++;
7247
7602
  }
7248
7603
  else {
7249
7604
  s0 = peg$FAILED;
7250
7605
  if (peg$silentFails === 0) {
7251
- peg$fail(peg$e103);
7606
+ peg$fail(peg$e109);
7252
7607
  }
7253
7608
  }
7254
7609
  if (s0 === peg$FAILED) {
7255
7610
  if (input.charCodeAt(peg$currPos) === 39) {
7256
- s0 = peg$c87;
7611
+ s0 = peg$c93;
7257
7612
  peg$currPos++;
7258
7613
  }
7259
7614
  else {
7260
7615
  s0 = peg$FAILED;
7261
7616
  if (peg$silentFails === 0) {
7262
- peg$fail(peg$e104);
7617
+ peg$fail(peg$e110);
7263
7618
  }
7264
7619
  }
7265
7620
  }