@gmb/bitmark-parser-generator 3.33.0 → 3.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@
2
2
  //
3
3
  // https://peggyjs.org/
4
4
  import { Breakscape } from "../../../breakscaping/Breakscape";
5
- const VERSION = "8.33.5";
5
+ const VERSION = "8.34.3";
6
6
  //Parser peggy.js
7
7
  // parser options (parameter when running parser):
8
8
  // allowedStartRules: ["bitmarkPlusPlus", "bitmarkPlus", "bitmarkMinusMinus", "bitmarkPlusString", "bitmarkMinusMinusString"]
@@ -376,112 +376,116 @@ function peg$parse(input, options) {
376
376
  var peg$c27 = "left";
377
377
  var peg$c28 = "center";
378
378
  var peg$c29 = "right";
379
- var peg$c30 = "=";
380
- var peg$c31 = "|latex|";
381
- var peg$c32 = "|imageInline:";
382
- var peg$c33 = "alignmentVertical";
383
- var peg$c34 = "size";
384
- var peg$c35 = "top";
385
- var peg$c36 = "middle";
386
- var peg$c37 = "bottom";
387
- var peg$c38 = "baseline";
388
- var peg$c39 = "sub";
389
- var peg$c40 = "super";
390
- var peg$c41 = "text-bottom";
391
- var peg$c42 = "text-top";
392
- var peg$c43 = "line-height";
393
- var peg$c44 = "font-height";
394
- var peg$c45 = "explicit";
395
- var peg$c46 = "link:";
396
- var peg$c47 = "extref:";
397
- var peg$c48 = "provider:";
398
- var peg$c49 = "xref:";
399
- var peg$c50 = "\u25BA";
400
- var peg$c51 = "symbol:";
401
- var peg$c52 = "footnote:";
402
- var peg$c53 = "footnote*:";
403
- var peg$c54 = "var:";
404
- var peg$c55 = "code:";
405
- var peg$c56 = "timer";
406
- var peg$c57 = "timer:";
407
- var peg$c58 = "duration:";
408
- var peg$c59 = "P";
409
- var peg$c60 = "color:";
410
- var peg$c61 = "|\u25BA";
411
- var peg$c62 = "bold";
412
- var peg$c63 = "italic";
413
- var peg$c64 = "light";
414
- var peg$c65 = "highlight";
415
- var peg$c66 = "strike";
416
- var peg$c67 = "subscript";
417
- var peg$c68 = "superscript";
418
- var peg$c69 = "ins";
419
- var peg$c70 = "del";
420
- var peg$c71 = "underline";
421
- var peg$c72 = "doubleUnderline";
422
- var peg$c73 = "circle";
423
- var peg$c74 = "languageEmRed";
424
- var peg$c75 = "languageEmOrange";
425
- var peg$c76 = "languageEmYellow";
426
- var peg$c77 = "languageEmGreen";
427
- var peg$c78 = "languageEmBlue";
428
- var peg$c79 = "languageEmPurple";
429
- var peg$c80 = "languageEmPink";
430
- var peg$c81 = "languageEmBrown";
431
- var peg$c82 = "languageEmBlack";
432
- var peg$c83 = "languageEmWhite";
433
- var peg$c84 = "languageEmGray";
434
- var peg$c85 = "languageEm";
435
- var peg$c86 = "userUnderline";
436
- var peg$c87 = "userDoubleUnderline";
437
- var peg$c88 = "userStrike";
438
- var peg$c89 = "userCircle";
439
- var peg$c90 = "userHighlight";
440
- var peg$c91 = "notranslate";
441
- var peg$c92 = "aqua";
442
- var peg$c93 = "black";
443
- var peg$c94 = "blue";
444
- var peg$c95 = "brown";
445
- var peg$c96 = "fuchsia";
446
- var peg$c97 = "lightgrey";
447
- var peg$c98 = "gray";
448
- var peg$c99 = "darkgray";
449
- var peg$c100 = "green";
450
- var peg$c101 = "lime";
451
- var peg$c102 = "magenta";
452
- var peg$c103 = "maroon";
453
- var peg$c104 = "navy";
454
- var peg$c105 = "olive";
455
- var peg$c106 = "orange";
456
- var peg$c107 = "pink";
457
- var peg$c108 = "purple";
458
- var peg$c109 = "red";
459
- var peg$c110 = "silver";
460
- var peg$c111 = "teal";
461
- var peg$c112 = "violet";
462
- var peg$c113 = "white";
463
- var peg$c114 = "yellow";
464
- var peg$c115 = "*";
465
- var peg$c116 = "_";
466
- var peg$c117 = "`";
467
- var peg$c118 = "!";
468
- var peg$c119 = "[!";
469
- var peg$c120 = "]";
470
- var peg$c121 = "\n";
471
- var peg$c122 = "\r\n";
472
- var peg$c123 = "http";
473
- var peg$c124 = "s";
474
- var peg$c125 = "://";
475
- var peg$c126 = "mailto:";
379
+ var peg$c30 = "alt";
380
+ var peg$c31 = "caption";
381
+ var peg$c32 = "zoomDisabled";
382
+ var peg$c33 = "true";
383
+ var peg$c34 = "false";
384
+ var peg$c35 = "=";
385
+ var peg$c36 = "|latex|";
386
+ var peg$c37 = "|imageInline:";
387
+ var peg$c38 = "alignmentVertical";
388
+ var peg$c39 = "size";
389
+ var peg$c40 = "top";
390
+ var peg$c41 = "middle";
391
+ var peg$c42 = "bottom";
392
+ var peg$c43 = "baseline";
393
+ var peg$c44 = "sub";
394
+ var peg$c45 = "super";
395
+ var peg$c46 = "text-bottom";
396
+ var peg$c47 = "text-top";
397
+ var peg$c48 = "line-height";
398
+ var peg$c49 = "font-height";
399
+ var peg$c50 = "explicit";
400
+ var peg$c51 = "link:";
401
+ var peg$c52 = "extref:";
402
+ var peg$c53 = "provider:";
403
+ var peg$c54 = "xref:";
404
+ var peg$c55 = "\u25BA";
405
+ var peg$c56 = "symbol:";
406
+ var peg$c57 = "footnote:";
407
+ var peg$c58 = "footnote*:";
408
+ var peg$c59 = "var:";
409
+ var peg$c60 = "code:";
410
+ var peg$c61 = "timer";
411
+ var peg$c62 = "timer:";
412
+ var peg$c63 = "duration:";
413
+ var peg$c64 = "P";
414
+ var peg$c65 = "color:";
415
+ var peg$c66 = "|\u25BA";
416
+ var peg$c67 = "bold";
417
+ var peg$c68 = "italic";
418
+ var peg$c69 = "light";
419
+ var peg$c70 = "highlight";
420
+ var peg$c71 = "strike";
421
+ var peg$c72 = "subscript";
422
+ var peg$c73 = "superscript";
423
+ var peg$c74 = "ins";
424
+ var peg$c75 = "del";
425
+ var peg$c76 = "underline";
426
+ var peg$c77 = "doubleUnderline";
427
+ var peg$c78 = "circle";
428
+ var peg$c79 = "languageEmRed";
429
+ var peg$c80 = "languageEmOrange";
430
+ var peg$c81 = "languageEmYellow";
431
+ var peg$c82 = "languageEmGreen";
432
+ var peg$c83 = "languageEmBlue";
433
+ var peg$c84 = "languageEmPurple";
434
+ var peg$c85 = "languageEmPink";
435
+ var peg$c86 = "languageEmBrown";
436
+ var peg$c87 = "languageEmBlack";
437
+ var peg$c88 = "languageEmWhite";
438
+ var peg$c89 = "languageEmGray";
439
+ var peg$c90 = "languageEm";
440
+ var peg$c91 = "userUnderline";
441
+ var peg$c92 = "userDoubleUnderline";
442
+ var peg$c93 = "userStrike";
443
+ var peg$c94 = "userCircle";
444
+ var peg$c95 = "userHighlight";
445
+ var peg$c96 = "notranslate";
446
+ var peg$c97 = "aqua";
447
+ var peg$c98 = "black";
448
+ var peg$c99 = "blue";
449
+ var peg$c100 = "brown";
450
+ var peg$c101 = "fuchsia";
451
+ var peg$c102 = "lightgrey";
452
+ var peg$c103 = "gray";
453
+ var peg$c104 = "darkgray";
454
+ var peg$c105 = "green";
455
+ var peg$c106 = "lime";
456
+ var peg$c107 = "magenta";
457
+ var peg$c108 = "maroon";
458
+ var peg$c109 = "navy";
459
+ var peg$c110 = "olive";
460
+ var peg$c111 = "orange";
461
+ var peg$c112 = "pink";
462
+ var peg$c113 = "purple";
463
+ var peg$c114 = "red";
464
+ var peg$c115 = "silver";
465
+ var peg$c116 = "teal";
466
+ var peg$c117 = "violet";
467
+ var peg$c118 = "white";
468
+ var peg$c119 = "yellow";
469
+ var peg$c120 = "*";
470
+ var peg$c121 = "_";
471
+ var peg$c122 = "`";
472
+ var peg$c123 = "!";
473
+ var peg$c124 = "[!";
474
+ var peg$c125 = "]";
475
+ var peg$c126 = "\n";
476
+ var peg$c127 = "\r\n";
477
+ var peg$c128 = "http";
478
+ var peg$c129 = "s";
479
+ var peg$c130 = "://";
480
+ var peg$c131 = "mailto:";
476
481
  var peg$r0 = /^[ \t]/;
477
482
  var peg$r1 = /^[0-9]/;
478
- var peg$r2 = /^[:|]/;
479
- var peg$r3 = /^[\r\u2028-\u2029]/;
480
- var peg$r4 = /^[\t\v\f \xA0\uFEFF \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;
481
- var peg$r5 = /^[\n\r\u2028\u2029]/;
482
- var peg$r6 = /^[^\n\r\u2028\u2029]/;
483
- var peg$r7 = /^[^\n\r\u2028\u2029\t\v\f \xA0\uFEFF \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;
484
- var peg$r8 = /^[!#-;=?-[\]-_a-{}-~]/;
483
+ var peg$r2 = /^[\r\u2028-\u2029]/;
484
+ var peg$r3 = /^[\t\v\f \xA0\uFEFF \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;
485
+ var peg$r4 = /^[\n\r\u2028\u2029]/;
486
+ var peg$r5 = /^[^\n\r\u2028\u2029]/;
487
+ var peg$r6 = /^[^\n\r\u2028\u2029\t\v\f \xA0\uFEFF \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;
488
+ var peg$r7 = /^[!#-;=?-[\]-_a-{}-~]/;
485
489
  var peg$e0 = peg$anyExpectation();
486
490
  var peg$e1 = peg$otherExpectation("StyledText");
487
491
  var peg$e2 = peg$literalExpectation("|", false);
@@ -509,125 +513,129 @@ function peg$parse(input, options) {
509
513
  var peg$e24 = peg$literalExpectation("image", false);
510
514
  var peg$e25 = peg$literalExpectation("#", false);
511
515
  var peg$e26 = peg$literalExpectation("@", false);
512
- var peg$e27 = peg$classExpectation([":", "|"], false, false);
513
- var peg$e28 = peg$literalExpectation("width", false);
514
- var peg$e29 = peg$literalExpectation("height", false);
515
- var peg$e30 = peg$literalExpectation("alignment", false);
516
- var peg$e31 = peg$literalExpectation("captionAlign", false);
517
- var peg$e32 = peg$literalExpectation("left", false);
518
- var peg$e33 = peg$literalExpectation("center", false);
519
- var peg$e34 = peg$literalExpectation("right", false);
520
- var peg$e35 = peg$otherExpectation("StyledString");
521
- var peg$e36 = peg$literalExpectation("=", false);
522
- var peg$e37 = peg$literalExpectation("|latex|", false);
523
- var peg$e38 = peg$literalExpectation("|imageInline:", false);
524
- var peg$e39 = peg$literalExpectation("alignmentVertical", false);
525
- var peg$e40 = peg$literalExpectation("size", false);
526
- var peg$e41 = peg$literalExpectation("top", false);
527
- var peg$e42 = peg$literalExpectation("middle", false);
528
- var peg$e43 = peg$literalExpectation("bottom", false);
529
- var peg$e44 = peg$literalExpectation("baseline", false);
530
- var peg$e45 = peg$literalExpectation("sub", false);
531
- var peg$e46 = peg$literalExpectation("super", false);
532
- var peg$e47 = peg$literalExpectation("text-bottom", false);
533
- var peg$e48 = peg$literalExpectation("text-top", false);
534
- var peg$e49 = peg$literalExpectation("line-height", false);
535
- var peg$e50 = peg$literalExpectation("font-height", false);
536
- var peg$e51 = peg$literalExpectation("explicit", false);
537
- var peg$e52 = peg$literalExpectation("link:", false);
538
- var peg$e53 = peg$literalExpectation("extref:", false);
539
- var peg$e54 = peg$literalExpectation("provider:", false);
540
- var peg$e55 = peg$literalExpectation("xref:", false);
541
- var peg$e56 = peg$literalExpectation("\u25BA", false);
542
- var peg$e57 = peg$literalExpectation("symbol:", false);
543
- var peg$e58 = peg$literalExpectation("footnote:", false);
544
- var peg$e59 = peg$literalExpectation("footnote*:", false);
545
- var peg$e60 = peg$literalExpectation("var:", false);
546
- var peg$e61 = peg$literalExpectation("code:", false);
547
- var peg$e62 = peg$literalExpectation("timer", false);
548
- var peg$e63 = peg$literalExpectation("timer:", false);
549
- var peg$e64 = peg$literalExpectation("duration:", false);
550
- var peg$e65 = peg$literalExpectation("P", false);
551
- var peg$e66 = peg$literalExpectation("color:", false);
552
- var peg$e67 = peg$literalExpectation("|\u25BA", false);
553
- var peg$e68 = peg$literalExpectation("bold", false);
554
- var peg$e69 = peg$literalExpectation("italic", false);
555
- var peg$e70 = peg$literalExpectation("light", false);
556
- var peg$e71 = peg$literalExpectation("highlight", false);
557
- var peg$e72 = peg$literalExpectation("strike", false);
558
- var peg$e73 = peg$literalExpectation("subscript", false);
559
- var peg$e74 = peg$literalExpectation("superscript", false);
560
- var peg$e75 = peg$literalExpectation("ins", false);
561
- var peg$e76 = peg$literalExpectation("del", false);
562
- var peg$e77 = peg$literalExpectation("underline", false);
563
- var peg$e78 = peg$literalExpectation("doubleUnderline", false);
564
- var peg$e79 = peg$literalExpectation("circle", false);
565
- var peg$e80 = peg$literalExpectation("languageEmRed", false);
566
- var peg$e81 = peg$literalExpectation("languageEmOrange", false);
567
- var peg$e82 = peg$literalExpectation("languageEmYellow", false);
568
- var peg$e83 = peg$literalExpectation("languageEmGreen", false);
569
- var peg$e84 = peg$literalExpectation("languageEmBlue", false);
570
- var peg$e85 = peg$literalExpectation("languageEmPurple", false);
571
- var peg$e86 = peg$literalExpectation("languageEmPink", false);
572
- var peg$e87 = peg$literalExpectation("languageEmBrown", false);
573
- var peg$e88 = peg$literalExpectation("languageEmBlack", false);
574
- var peg$e89 = peg$literalExpectation("languageEmWhite", false);
575
- var peg$e90 = peg$literalExpectation("languageEmGray", false);
576
- var peg$e91 = peg$literalExpectation("languageEm", false);
577
- var peg$e92 = peg$literalExpectation("userUnderline", false);
578
- var peg$e93 = peg$literalExpectation("userDoubleUnderline", false);
579
- var peg$e94 = peg$literalExpectation("userStrike", false);
580
- var peg$e95 = peg$literalExpectation("userCircle", false);
581
- var peg$e96 = peg$literalExpectation("userHighlight", false);
582
- var peg$e97 = peg$literalExpectation("notranslate", false);
583
- var peg$e98 = peg$literalExpectation("aqua", false);
584
- var peg$e99 = peg$literalExpectation("black", false);
585
- var peg$e100 = peg$literalExpectation("blue", false);
586
- var peg$e101 = peg$literalExpectation("brown", false);
587
- var peg$e102 = peg$literalExpectation("fuchsia", false);
588
- var peg$e103 = peg$literalExpectation("lightgrey", false);
589
- var peg$e104 = peg$literalExpectation("gray", false);
590
- var peg$e105 = peg$literalExpectation("darkgray", false);
591
- var peg$e106 = peg$literalExpectation("green", false);
592
- var peg$e107 = peg$literalExpectation("lime", false);
593
- var peg$e108 = peg$literalExpectation("magenta", false);
594
- var peg$e109 = peg$literalExpectation("maroon", false);
595
- var peg$e110 = peg$literalExpectation("navy", false);
596
- var peg$e111 = peg$literalExpectation("olive", false);
597
- var peg$e112 = peg$literalExpectation("orange", false);
598
- var peg$e113 = peg$literalExpectation("pink", false);
599
- var peg$e114 = peg$literalExpectation("purple", false);
600
- var peg$e115 = peg$literalExpectation("red", false);
601
- var peg$e116 = peg$literalExpectation("silver", false);
602
- var peg$e117 = peg$literalExpectation("teal", false);
603
- var peg$e118 = peg$literalExpectation("violet", false);
604
- var peg$e119 = peg$literalExpectation("white", false);
605
- var peg$e120 = peg$literalExpectation("yellow", false);
606
- var peg$e121 = peg$otherExpectation("MinimalStyledText");
607
- var peg$e122 = peg$otherExpectation("MinimalStyledString");
608
- var peg$e123 = peg$literalExpectation("*", false);
609
- var peg$e124 = peg$literalExpectation("_", false);
610
- var peg$e125 = peg$literalExpectation("`", false);
611
- var peg$e126 = peg$literalExpectation("!", false);
612
- var peg$e127 = peg$literalExpectation("[!", false);
613
- var peg$e128 = peg$literalExpectation("]", false);
614
- var peg$e129 = peg$otherExpectation("Line Terminator");
615
- var peg$e130 = peg$literalExpectation("\n", false);
616
- var peg$e131 = peg$literalExpectation("\r\n", false);
617
- var peg$e132 = peg$classExpectation(["\r", ["\u2028", "\u2029"]], false, false);
618
- var peg$e133 = peg$otherExpectation("whitespace in line");
619
- var peg$e134 = peg$otherExpectation("space");
620
- var peg$e135 = peg$otherExpectation("language tag separator");
621
- var peg$e136 = peg$otherExpectation("white space, separator");
622
- var peg$e137 = peg$classExpectation(["\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], false, false);
623
- var peg$e138 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], false, false);
624
- var peg$e139 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false);
625
- var peg$e140 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029", "\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], true, false);
626
- var peg$e141 = peg$literalExpectation("http", false);
627
- var peg$e142 = peg$literalExpectation("s", false);
628
- var peg$e143 = peg$literalExpectation("://", false);
629
- var peg$e144 = peg$literalExpectation("mailto:", false);
630
- var peg$e145 = peg$classExpectation(["!", ["#", ";"], "=", ["?", "["], ["]", "_"], ["a", "{"], ["}", "~"]], false, false);
516
+ var peg$e27 = peg$literalExpectation("width", false);
517
+ var peg$e28 = peg$literalExpectation("height", false);
518
+ var peg$e29 = peg$literalExpectation("alignment", false);
519
+ var peg$e30 = peg$literalExpectation("captionAlign", false);
520
+ var peg$e31 = peg$literalExpectation("left", false);
521
+ var peg$e32 = peg$literalExpectation("center", false);
522
+ var peg$e33 = peg$literalExpectation("right", false);
523
+ var peg$e34 = peg$literalExpectation("alt", false);
524
+ var peg$e35 = peg$literalExpectation("caption", false);
525
+ var peg$e36 = peg$literalExpectation("zoomDisabled", false);
526
+ var peg$e37 = peg$literalExpectation("true", false);
527
+ var peg$e38 = peg$literalExpectation("false", false);
528
+ var peg$e39 = peg$otherExpectation("StyledString");
529
+ var peg$e40 = peg$literalExpectation("=", false);
530
+ var peg$e41 = peg$literalExpectation("|latex|", false);
531
+ var peg$e42 = peg$literalExpectation("|imageInline:", false);
532
+ var peg$e43 = peg$literalExpectation("alignmentVertical", false);
533
+ var peg$e44 = peg$literalExpectation("size", false);
534
+ var peg$e45 = peg$literalExpectation("top", false);
535
+ var peg$e46 = peg$literalExpectation("middle", false);
536
+ var peg$e47 = peg$literalExpectation("bottom", false);
537
+ var peg$e48 = peg$literalExpectation("baseline", false);
538
+ var peg$e49 = peg$literalExpectation("sub", false);
539
+ var peg$e50 = peg$literalExpectation("super", false);
540
+ var peg$e51 = peg$literalExpectation("text-bottom", false);
541
+ var peg$e52 = peg$literalExpectation("text-top", false);
542
+ var peg$e53 = peg$literalExpectation("line-height", false);
543
+ var peg$e54 = peg$literalExpectation("font-height", false);
544
+ var peg$e55 = peg$literalExpectation("explicit", false);
545
+ var peg$e56 = peg$literalExpectation("link:", false);
546
+ var peg$e57 = peg$literalExpectation("extref:", false);
547
+ var peg$e58 = peg$literalExpectation("provider:", false);
548
+ var peg$e59 = peg$literalExpectation("xref:", false);
549
+ var peg$e60 = peg$literalExpectation("\u25BA", false);
550
+ var peg$e61 = peg$literalExpectation("symbol:", false);
551
+ var peg$e62 = peg$literalExpectation("footnote:", false);
552
+ var peg$e63 = peg$literalExpectation("footnote*:", false);
553
+ var peg$e64 = peg$literalExpectation("var:", false);
554
+ var peg$e65 = peg$literalExpectation("code:", false);
555
+ var peg$e66 = peg$literalExpectation("timer", false);
556
+ var peg$e67 = peg$literalExpectation("timer:", false);
557
+ var peg$e68 = peg$literalExpectation("duration:", false);
558
+ var peg$e69 = peg$literalExpectation("P", false);
559
+ var peg$e70 = peg$literalExpectation("color:", false);
560
+ var peg$e71 = peg$literalExpectation("|\u25BA", false);
561
+ var peg$e72 = peg$literalExpectation("bold", false);
562
+ var peg$e73 = peg$literalExpectation("italic", false);
563
+ var peg$e74 = peg$literalExpectation("light", false);
564
+ var peg$e75 = peg$literalExpectation("highlight", false);
565
+ var peg$e76 = peg$literalExpectation("strike", false);
566
+ var peg$e77 = peg$literalExpectation("subscript", false);
567
+ var peg$e78 = peg$literalExpectation("superscript", false);
568
+ var peg$e79 = peg$literalExpectation("ins", false);
569
+ var peg$e80 = peg$literalExpectation("del", false);
570
+ var peg$e81 = peg$literalExpectation("underline", false);
571
+ var peg$e82 = peg$literalExpectation("doubleUnderline", false);
572
+ var peg$e83 = peg$literalExpectation("circle", false);
573
+ var peg$e84 = peg$literalExpectation("languageEmRed", false);
574
+ var peg$e85 = peg$literalExpectation("languageEmOrange", false);
575
+ var peg$e86 = peg$literalExpectation("languageEmYellow", false);
576
+ var peg$e87 = peg$literalExpectation("languageEmGreen", false);
577
+ var peg$e88 = peg$literalExpectation("languageEmBlue", false);
578
+ var peg$e89 = peg$literalExpectation("languageEmPurple", false);
579
+ var peg$e90 = peg$literalExpectation("languageEmPink", false);
580
+ var peg$e91 = peg$literalExpectation("languageEmBrown", false);
581
+ var peg$e92 = peg$literalExpectation("languageEmBlack", false);
582
+ var peg$e93 = peg$literalExpectation("languageEmWhite", false);
583
+ var peg$e94 = peg$literalExpectation("languageEmGray", false);
584
+ var peg$e95 = peg$literalExpectation("languageEm", false);
585
+ var peg$e96 = peg$literalExpectation("userUnderline", false);
586
+ var peg$e97 = peg$literalExpectation("userDoubleUnderline", false);
587
+ var peg$e98 = peg$literalExpectation("userStrike", false);
588
+ var peg$e99 = peg$literalExpectation("userCircle", false);
589
+ var peg$e100 = peg$literalExpectation("userHighlight", false);
590
+ var peg$e101 = peg$literalExpectation("notranslate", false);
591
+ var peg$e102 = peg$literalExpectation("aqua", false);
592
+ var peg$e103 = peg$literalExpectation("black", false);
593
+ var peg$e104 = peg$literalExpectation("blue", false);
594
+ var peg$e105 = peg$literalExpectation("brown", false);
595
+ var peg$e106 = peg$literalExpectation("fuchsia", false);
596
+ var peg$e107 = peg$literalExpectation("lightgrey", false);
597
+ var peg$e108 = peg$literalExpectation("gray", false);
598
+ var peg$e109 = peg$literalExpectation("darkgray", false);
599
+ var peg$e110 = peg$literalExpectation("green", false);
600
+ var peg$e111 = peg$literalExpectation("lime", false);
601
+ var peg$e112 = peg$literalExpectation("magenta", false);
602
+ var peg$e113 = peg$literalExpectation("maroon", false);
603
+ var peg$e114 = peg$literalExpectation("navy", false);
604
+ var peg$e115 = peg$literalExpectation("olive", false);
605
+ var peg$e116 = peg$literalExpectation("orange", false);
606
+ var peg$e117 = peg$literalExpectation("pink", false);
607
+ var peg$e118 = peg$literalExpectation("purple", false);
608
+ var peg$e119 = peg$literalExpectation("red", false);
609
+ var peg$e120 = peg$literalExpectation("silver", false);
610
+ var peg$e121 = peg$literalExpectation("teal", false);
611
+ var peg$e122 = peg$literalExpectation("violet", false);
612
+ var peg$e123 = peg$literalExpectation("white", false);
613
+ var peg$e124 = peg$literalExpectation("yellow", false);
614
+ var peg$e125 = peg$otherExpectation("MinimalStyledText");
615
+ var peg$e126 = peg$otherExpectation("MinimalStyledString");
616
+ var peg$e127 = peg$literalExpectation("*", false);
617
+ var peg$e128 = peg$literalExpectation("_", false);
618
+ var peg$e129 = peg$literalExpectation("`", false);
619
+ var peg$e130 = peg$literalExpectation("!", false);
620
+ var peg$e131 = peg$literalExpectation("[!", false);
621
+ var peg$e132 = peg$literalExpectation("]", false);
622
+ var peg$e133 = peg$otherExpectation("Line Terminator");
623
+ var peg$e134 = peg$literalExpectation("\n", false);
624
+ var peg$e135 = peg$literalExpectation("\r\n", false);
625
+ var peg$e136 = peg$classExpectation(["\r", ["\u2028", "\u2029"]], false, false);
626
+ var peg$e137 = peg$otherExpectation("whitespace in line");
627
+ var peg$e138 = peg$otherExpectation("space");
628
+ var peg$e139 = peg$otherExpectation("language tag separator");
629
+ var peg$e140 = peg$otherExpectation("white space, separator");
630
+ var peg$e141 = peg$classExpectation(["\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], false, false);
631
+ var peg$e142 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], false, false);
632
+ var peg$e143 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false);
633
+ var peg$e144 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029", "\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], true, false);
634
+ var peg$e145 = peg$literalExpectation("http", false);
635
+ var peg$e146 = peg$literalExpectation("s", false);
636
+ var peg$e147 = peg$literalExpectation("://", false);
637
+ var peg$e148 = peg$literalExpectation("mailto:", false);
638
+ var peg$e149 = peg$classExpectation(["!", ["#", ";"], "=", ["?", "["], ["]", "_"], ["a", "{"], ["}", "~"]], false, false);
631
639
  var peg$f0 = function () { return VERSION; };
632
640
  var peg$f1 = function (b) { const cleaned_ = cleanEmptyTextNodes(Object.assign({}, b)); return cleaned_; };
633
641
  var peg$f2 = function (b) { let lb_ = Object.assign({}, b); removeTempParsingParent(lb_); const cleaned_ = cleanEmptyTextNodes(lb_); return cleaned_; };
@@ -762,61 +770,63 @@ function peg$parse(input, options) {
762
770
  return image;
763
771
  };
764
772
  var peg$f42 = function (ch) { return ch; };
765
- var peg$f43 = function (str) { return { comment: str }; };
773
+ var peg$f43 = function (str) { return { comment: str.trim() }; };
766
774
  var peg$f44 = function (p, v) { return { [p]: parseInt(v) }; };
767
- var peg$f45 = function (p, v) { return { type: "error", msg: p + ' must be a positive integer.', found: v }; };
775
+ var peg$f45 = function (p, v) { return { [p]: v.trim() }; };
768
776
  var peg$f46 = function (p, v) { return { [p]: v }; };
769
777
  var peg$f47 = function (p, v) { return { [p]: v }; };
770
778
  var peg$f48 = function (p) { return { [p]: true }; };
771
- var peg$f49 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
772
- var peg$f50 = function (first, more) { const cleaned_ = cleanEmptyTextNodes(first ? [first, ...more.flat()] : more.flat()); return cleaned_; };
773
- var peg$f51 = function () { return { "type": "hardBreak" }; };
774
- var peg$f52 = function (t) { return { text: unbreakscape(t), type: "text" }; };
775
- var peg$f53 = function (t) { return { index: +t, type: "bit" }; };
776
- var peg$f54 = function (t) { return { attrs: { formula: unbreakscape(t) }, type: "latex" }; };
777
- var peg$f55 = function (alt, u, ch) { return { attrs: Object.assign(Object.assign({ alt, src: (u.pr + u.t).trim() }, Object.assign({}, ...ch)), { zoomDisabled: true }), type: "imageInline" }; };
778
- var peg$f56 = function (t, marks) { if (!marks)
779
+ var peg$f49 = function () { return; };
780
+ var peg$f50 = function (p) { return { error: 'Found unknown property or invalid value: ' + p }; };
781
+ var peg$f51 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
782
+ var peg$f52 = function (first, more) { const cleaned_ = cleanEmptyTextNodes(first ? [first, ...more.flat()] : more.flat()); return cleaned_; };
783
+ var peg$f53 = function () { return { "type": "hardBreak" }; };
784
+ var peg$f54 = function (t) { return { text: unbreakscape(t), type: "text" }; };
785
+ var peg$f55 = function (t) { return { index: +t, type: "bit" }; };
786
+ var peg$f56 = function (t) { return { attrs: { formula: unbreakscape(t) }, type: "latex" }; };
787
+ var peg$f57 = function (alt, u, ch) { return { attrs: Object.assign(Object.assign({ alt, src: (u.pr + u.t).trim() }, Object.assign({}, ...ch)), { zoomDisabled: true }), type: "imageInline" }; };
788
+ var peg$f58 = function (t, marks) { if (!marks)
779
789
  marks = []; return { marks, text: unbreakscape(t), type: "text" }; };
780
- var peg$f57 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
781
- var peg$f58 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
782
- var peg$f59 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
783
- var peg$f60 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
784
- var peg$f61 = function (u) { return { marks: [{ type: "link", attrs: { href: (u.pr + u.t).trim(), target: '_blank' } }], text: u.t, type: "text" }; };
785
- var peg$f62 = function (ch) { return ch; };
786
- var peg$f63 = function (ch) { return ch; };
787
- var peg$f64 = function (str) { return { comment: str }; };
788
- var peg$f65 = function (p, v) { return { [p]: parseInt(v) }; };
789
- var peg$f66 = function (p, v) { return { type: "error", msg: p + ' must be a positive integer.', found: v }; };
790
- var peg$f67 = function (p, v) { return { [p]: v }; };
791
- var peg$f68 = function (p, v) { return { [p]: v }; };
792
- var peg$f69 = function (str) { return { type: 'link', attrs: { href: str.trim(), target: '_blank' } }; };
793
- var peg$f70 = function (str, rc, p) { return { type: 'extref', attrs: { extref: str.trim(), references: rc, provider: p.trim() } }; };
794
- var peg$f71 = function (str, str2) { return { type: 'xref', attrs: { xref: str.trim(), reference: str2.trim() } }; };
795
- var peg$f72 = function (str) { return { type: 'xref', attrs: { xref: str.trim(), reference: '' } }; };
796
- var peg$f73 = function (str) { return { type: 'ref', attrs: { reference: str.trim() } }; };
797
- var peg$f74 = function (str, ch) { const chain = Object.assign({}, ...ch); return { type: 'symbol', attrs: Object.assign({ src: str.trim() }, chain) }; };
798
- var peg$f75 = function (str) { return { type: 'footnote', attrs: { content: bitmarkPlusString(str.trim()) } }; };
799
- var peg$f76 = function (str) { return { type: 'footnote*', attrs: { content: bitmarkPlusString(str.trim()) } }; };
800
- var peg$f77 = function (str) { return { type: 'var', attrs: { name: str.trim() } }; };
801
- var peg$f78 = function () { return { type: 'code', attrs: { language: "plain text" } }; };
802
- var peg$f79 = function (lang) { return { type: 'code', attrs: { language: lang.trim().toLowerCase() } }; };
803
- var peg$f80 = function () { return { type: 'timer', attrs: { name: "" } }; };
804
- var peg$f81 = function (str) { return { type: 'timer', attrs: { name: str.trim() } }; };
805
- var peg$f82 = function (str) { return { type: 'duration', attrs: { duration: str } }; };
806
- var peg$f83 = function (color) { return { type: 'color', attrs: { color } }; };
807
- var peg$f84 = function (style) { return { type: style }; };
808
- var peg$f85 = function (str) { return { type: "comment", comment: str }; };
809
- var peg$f86 = function (r) { return r.trim(); };
810
- var peg$f87 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
811
- var peg$f88 = function (first, more) { const cleaned_ = cleanEmptyTextNodes(first ? [first, ...more.flat()] : more.flat()); return cleaned_; };
812
- var peg$f89 = function () { return { "type": "hardBreak" }; };
813
- var peg$f90 = function (t) { return { text: unbreakscape(t), type: "text" }; };
814
- var peg$f91 = function (t) { return { index: +t, type: "bit" }; };
815
- var peg$f92 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
816
- var peg$f93 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
817
- var peg$f94 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
818
- var peg$f95 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
819
- var peg$f96 = function (pr, t) { return { pr, t }; };
790
+ var peg$f59 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
791
+ var peg$f60 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
792
+ var peg$f61 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
793
+ var peg$f62 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
794
+ var peg$f63 = function (u) { return { marks: [{ type: "link", attrs: { href: (u.pr + u.t).trim(), target: '_blank' } }], text: u.t, type: "text" }; };
795
+ var peg$f64 = function (ch) { return ch; };
796
+ var peg$f65 = function (ch) { return ch; };
797
+ var peg$f66 = function (str) { return { comment: str }; };
798
+ var peg$f67 = function (p, v) { return { [p]: parseInt(v) }; };
799
+ var peg$f68 = function (p, v) { return { type: "error", msg: p + ' must be a positive integer.', found: v }; };
800
+ var peg$f69 = function (p, v) { return { [p]: v }; };
801
+ var peg$f70 = function (p, v) { return { [p]: v }; };
802
+ var peg$f71 = function (str) { return { type: 'link', attrs: { href: str.trim(), target: '_blank' } }; };
803
+ var peg$f72 = function (str, rc, p) { return { type: 'extref', attrs: { extref: str.trim(), references: rc, provider: p.trim() } }; };
804
+ var peg$f73 = function (str, str2) { return { type: 'xref', attrs: { xref: str.trim(), reference: str2.trim() } }; };
805
+ var peg$f74 = function (str) { return { type: 'xref', attrs: { xref: str.trim(), reference: '' } }; };
806
+ var peg$f75 = function (str) { return { type: 'ref', attrs: { reference: str.trim() } }; };
807
+ var peg$f76 = function (str, ch) { const chain = Object.assign({}, ...ch); return { type: 'symbol', attrs: Object.assign({ src: str.trim() }, chain) }; };
808
+ var peg$f77 = function (str) { return { type: 'footnote', attrs: { content: bitmarkPlusString(str.trim()) } }; };
809
+ var peg$f78 = function (str) { return { type: 'footnote*', attrs: { content: bitmarkPlusString(str.trim()) } }; };
810
+ var peg$f79 = function (str) { return { type: 'var', attrs: { name: str.trim() } }; };
811
+ var peg$f80 = function () { return { type: 'code', attrs: { language: "plain text" } }; };
812
+ var peg$f81 = function (lang) { return { type: 'code', attrs: { language: lang.trim().toLowerCase() } }; };
813
+ var peg$f82 = function () { return { type: 'timer', attrs: { name: "" } }; };
814
+ var peg$f83 = function (str) { return { type: 'timer', attrs: { name: str.trim() } }; };
815
+ var peg$f84 = function (str) { return { type: 'duration', attrs: { duration: str } }; };
816
+ var peg$f85 = function (color) { return { type: 'color', attrs: { color } }; };
817
+ var peg$f86 = function (style) { return { type: style }; };
818
+ var peg$f87 = function (str) { return { type: "comment", comment: str }; };
819
+ var peg$f88 = function (r) { return r.trim(); };
820
+ var peg$f89 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
821
+ var peg$f90 = function (first, more) { const cleaned_ = cleanEmptyTextNodes(first ? [first, ...more.flat()] : more.flat()); return cleaned_; };
822
+ var peg$f91 = function () { return { "type": "hardBreak" }; };
823
+ var peg$f92 = function (t) { return { text: unbreakscape(t), type: "text" }; };
824
+ var peg$f93 = function (t) { return { index: +t, type: "bit" }; };
825
+ var peg$f94 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
826
+ var peg$f95 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
827
+ var peg$f96 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
828
+ var peg$f97 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
829
+ var peg$f98 = function (pr, t) { return { pr, t }; };
820
830
  var peg$currPos = options.peg$currPos | 0;
821
831
  var peg$savedPos = peg$currPos;
822
832
  var peg$posDetailsCache = [{ line: 1, column: 1 }];
@@ -3009,7 +3019,7 @@ function peg$parse(input, options) {
3009
3019
  return s0;
3010
3020
  }
3011
3021
  function peg$parseImageBlock() {
3012
- var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
3022
+ var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11;
3013
3023
  s0 = peg$currPos;
3014
3024
  s1 = peg$parseImageTag();
3015
3025
  if (s1 !== peg$FAILED) {
@@ -3039,57 +3049,81 @@ function peg$parse(input, options) {
3039
3049
  }
3040
3050
  s4 = peg$parseUrlHttp();
3041
3051
  if (s4 !== peg$FAILED) {
3042
- s5 = peg$parseBlockTag();
3043
- if (s5 !== peg$FAILED) {
3044
- s6 = peg$parseMediaChain();
3045
- s7 = peg$currPos;
3052
+ s5 = [];
3053
+ if (input.charCodeAt(peg$currPos) === 32) {
3054
+ s6 = peg$c12;
3055
+ peg$currPos++;
3056
+ }
3057
+ else {
3058
+ s6 = peg$FAILED;
3059
+ if (peg$silentFails === 0) {
3060
+ peg$fail(peg$e16);
3061
+ }
3062
+ }
3063
+ while (s6 !== peg$FAILED) {
3064
+ s5.push(s6);
3065
+ if (input.charCodeAt(peg$currPos) === 32) {
3066
+ s6 = peg$c12;
3067
+ peg$currPos++;
3068
+ }
3069
+ else {
3070
+ s6 = peg$FAILED;
3071
+ if (peg$silentFails === 0) {
3072
+ peg$fail(peg$e16);
3073
+ }
3074
+ }
3075
+ }
3076
+ s6 = peg$parseBlockTag();
3077
+ if (s6 !== peg$FAILED) {
3078
+ s7 = peg$parseMediaChain();
3046
3079
  s8 = peg$currPos;
3047
- s9 = [];
3048
- s10 = input.charAt(peg$currPos);
3049
- if (peg$r0.test(s10)) {
3080
+ s9 = peg$currPos;
3081
+ s10 = [];
3082
+ s11 = input.charAt(peg$currPos);
3083
+ if (peg$r0.test(s11)) {
3050
3084
  peg$currPos++;
3051
3085
  }
3052
3086
  else {
3053
- s10 = peg$FAILED;
3087
+ s11 = peg$FAILED;
3054
3088
  if (peg$silentFails === 0) {
3055
3089
  peg$fail(peg$e7);
3056
3090
  }
3057
3091
  }
3058
- while (s10 !== peg$FAILED) {
3059
- s9.push(s10);
3060
- s10 = input.charAt(peg$currPos);
3061
- if (peg$r0.test(s10)) {
3092
+ while (s11 !== peg$FAILED) {
3093
+ s10.push(s11);
3094
+ s11 = input.charAt(peg$currPos);
3095
+ if (peg$r0.test(s11)) {
3062
3096
  peg$currPos++;
3063
3097
  }
3064
3098
  else {
3065
- s10 = peg$FAILED;
3099
+ s11 = peg$FAILED;
3066
3100
  if (peg$silentFails === 0) {
3067
3101
  peg$fail(peg$e7);
3068
3102
  }
3069
3103
  }
3070
3104
  }
3071
- s10 = peg$parseEOL();
3072
- if (s10 !== peg$FAILED) {
3073
- s9 = [s9, s10];
3074
- s8 = s9;
3105
+ s11 = peg$parseEOL();
3106
+ if (s11 !== peg$FAILED) {
3107
+ s10 = [s10, s11];
3108
+ s9 = s10;
3075
3109
  }
3076
3110
  else {
3077
- peg$currPos = s8;
3078
- s8 = peg$FAILED;
3111
+ peg$currPos = s9;
3112
+ s9 = peg$FAILED;
3079
3113
  }
3080
- if (s8 !== peg$FAILED) {
3081
- s7 = input.substring(s7, peg$currPos);
3114
+ if (s9 !== peg$FAILED) {
3115
+ s8 = input.substring(s8, peg$currPos);
3082
3116
  }
3083
3117
  else {
3084
- s7 = s8;
3118
+ s8 = s9;
3085
3119
  }
3086
- if (s7 !== peg$FAILED) {
3087
- s8 = peg$parseNL();
3088
- if (s8 === peg$FAILED) {
3089
- s8 = null;
3120
+ if (s8 !== peg$FAILED) {
3121
+ s9 = peg$parseNL();
3122
+ if (s9 === peg$FAILED) {
3123
+ s9 = null;
3090
3124
  }
3091
3125
  peg$savedPos = s0;
3092
- s0 = peg$f41(s1, s4, s6);
3126
+ s0 = peg$f41(s1, s4, s7);
3093
3127
  }
3094
3128
  else {
3095
3129
  peg$currPos = s0;
@@ -3360,8 +3394,32 @@ function peg$parse(input, options) {
3360
3394
  s5 = s6;
3361
3395
  }
3362
3396
  if (s5 !== peg$FAILED) {
3363
- s6 = peg$parseBlockTag();
3364
- if (s6 !== peg$FAILED) {
3397
+ s6 = [];
3398
+ if (input.charCodeAt(peg$currPos) === 32) {
3399
+ s7 = peg$c12;
3400
+ peg$currPos++;
3401
+ }
3402
+ else {
3403
+ s7 = peg$FAILED;
3404
+ if (peg$silentFails === 0) {
3405
+ peg$fail(peg$e16);
3406
+ }
3407
+ }
3408
+ while (s7 !== peg$FAILED) {
3409
+ s6.push(s7);
3410
+ if (input.charCodeAt(peg$currPos) === 32) {
3411
+ s7 = peg$c12;
3412
+ peg$currPos++;
3413
+ }
3414
+ else {
3415
+ s7 = peg$FAILED;
3416
+ if (peg$silentFails === 0) {
3417
+ peg$fail(peg$e16);
3418
+ }
3419
+ }
3420
+ }
3421
+ s7 = peg$parseBlockTag();
3422
+ if (s7 !== peg$FAILED) {
3365
3423
  peg$savedPos = s0;
3366
3424
  s0 = peg$f44(s2, s5);
3367
3425
  }
@@ -3399,7 +3457,7 @@ function peg$parse(input, options) {
3399
3457
  if (s1 === peg$FAILED) {
3400
3458
  s1 = null;
3401
3459
  }
3402
- s2 = peg$parseMediaSizeTags();
3460
+ s2 = peg$parseMediaTextTags();
3403
3461
  if (s2 !== peg$FAILED) {
3404
3462
  if (input.charCodeAt(peg$currPos) === 58) {
3405
3463
  s3 = peg$c5;
@@ -3530,7 +3588,7 @@ function peg$parse(input, options) {
3530
3588
  if (s1 === peg$FAILED) {
3531
3589
  s1 = null;
3532
3590
  }
3533
- s2 = peg$parseAlignmentTags();
3591
+ s2 = peg$parseMediaAlignmentTags();
3534
3592
  if (s2 !== peg$FAILED) {
3535
3593
  if (input.charCodeAt(peg$currPos) === 58) {
3536
3594
  s3 = peg$c5;
@@ -3567,10 +3625,34 @@ function peg$parse(input, options) {
3567
3625
  }
3568
3626
  }
3569
3627
  }
3570
- s5 = peg$parseAlignment();
3628
+ s5 = peg$parseMediaAlignment();
3571
3629
  if (s5 !== peg$FAILED) {
3572
- s6 = peg$parseBlockTag();
3573
- if (s6 !== peg$FAILED) {
3630
+ s6 = [];
3631
+ if (input.charCodeAt(peg$currPos) === 32) {
3632
+ s7 = peg$c12;
3633
+ peg$currPos++;
3634
+ }
3635
+ else {
3636
+ s7 = peg$FAILED;
3637
+ if (peg$silentFails === 0) {
3638
+ peg$fail(peg$e16);
3639
+ }
3640
+ }
3641
+ while (s7 !== peg$FAILED) {
3642
+ s6.push(s7);
3643
+ if (input.charCodeAt(peg$currPos) === 32) {
3644
+ s7 = peg$c12;
3645
+ peg$currPos++;
3646
+ }
3647
+ else {
3648
+ s7 = peg$FAILED;
3649
+ if (peg$silentFails === 0) {
3650
+ peg$fail(peg$e16);
3651
+ }
3652
+ }
3653
+ }
3654
+ s7 = peg$parseBlockTag();
3655
+ if (s7 !== peg$FAILED) {
3574
3656
  peg$savedPos = s0;
3575
3657
  s0 = peg$f46(s2, s5);
3576
3658
  }
@@ -3608,229 +3690,84 @@ function peg$parse(input, options) {
3608
3690
  if (s1 === peg$FAILED) {
3609
3691
  s1 = null;
3610
3692
  }
3611
- s2 = peg$currPos;
3612
- s3 = [];
3613
- s4 = peg$currPos;
3614
- s5 = peg$currPos;
3615
- peg$silentFails++;
3616
- s6 = input.charAt(peg$currPos);
3617
- if (peg$r2.test(s6)) {
3618
- peg$currPos++;
3619
- }
3620
- else {
3621
- s6 = peg$FAILED;
3622
- if (peg$silentFails === 0) {
3623
- peg$fail(peg$e27);
3693
+ s2 = peg$parseMediaBooleanTags();
3694
+ if (s2 !== peg$FAILED) {
3695
+ if (input.charCodeAt(peg$currPos) === 58) {
3696
+ s3 = peg$c5;
3697
+ peg$currPos++;
3624
3698
  }
3625
- }
3626
- if (s6 === peg$FAILED) {
3627
- s6 = peg$currPos;
3628
- s7 = peg$parseAlignmentTags();
3629
- if (s7 !== peg$FAILED) {
3630
- if (input.charCodeAt(peg$currPos) === 58) {
3631
- s8 = peg$c5;
3699
+ else {
3700
+ s3 = peg$FAILED;
3701
+ if (peg$silentFails === 0) {
3702
+ peg$fail(peg$e8);
3703
+ }
3704
+ }
3705
+ if (s3 !== peg$FAILED) {
3706
+ s4 = [];
3707
+ if (input.charCodeAt(peg$currPos) === 32) {
3708
+ s5 = peg$c12;
3632
3709
  peg$currPos++;
3633
3710
  }
3634
3711
  else {
3635
- s8 = peg$FAILED;
3712
+ s5 = peg$FAILED;
3636
3713
  if (peg$silentFails === 0) {
3637
- peg$fail(peg$e8);
3714
+ peg$fail(peg$e16);
3638
3715
  }
3639
3716
  }
3640
- if (s8 !== peg$FAILED) {
3641
- s7 = [s7, s8];
3642
- s6 = s7;
3643
- }
3644
- else {
3645
- peg$currPos = s6;
3646
- s6 = peg$FAILED;
3647
- }
3648
- }
3649
- else {
3650
- peg$currPos = s6;
3651
- s6 = peg$FAILED;
3652
- }
3653
- }
3654
- peg$silentFails--;
3655
- if (s6 === peg$FAILED) {
3656
- s5 = undefined;
3657
- }
3658
- else {
3659
- peg$currPos = s5;
3660
- s5 = peg$FAILED;
3661
- }
3662
- if (s5 !== peg$FAILED) {
3663
- s6 = peg$parsechar();
3664
- if (s6 !== peg$FAILED) {
3665
- s5 = [s5, s6];
3666
- s4 = s5;
3667
- }
3668
- else {
3669
- peg$currPos = s4;
3670
- s4 = peg$FAILED;
3671
- }
3672
- }
3673
- else {
3674
- peg$currPos = s4;
3675
- s4 = peg$FAILED;
3676
- }
3677
- while (s4 !== peg$FAILED) {
3678
- s3.push(s4);
3679
- s4 = peg$currPos;
3680
- s5 = peg$currPos;
3681
- peg$silentFails++;
3682
- s6 = input.charAt(peg$currPos);
3683
- if (peg$r2.test(s6)) {
3684
- peg$currPos++;
3685
- }
3686
- else {
3687
- s6 = peg$FAILED;
3688
- if (peg$silentFails === 0) {
3689
- peg$fail(peg$e27);
3690
- }
3691
- }
3692
- if (s6 === peg$FAILED) {
3693
- s6 = peg$currPos;
3694
- s7 = peg$parseAlignmentTags();
3695
- if (s7 !== peg$FAILED) {
3696
- if (input.charCodeAt(peg$currPos) === 58) {
3697
- s8 = peg$c5;
3717
+ while (s5 !== peg$FAILED) {
3718
+ s4.push(s5);
3719
+ if (input.charCodeAt(peg$currPos) === 32) {
3720
+ s5 = peg$c12;
3698
3721
  peg$currPos++;
3699
3722
  }
3700
3723
  else {
3701
- s8 = peg$FAILED;
3724
+ s5 = peg$FAILED;
3702
3725
  if (peg$silentFails === 0) {
3703
- peg$fail(peg$e8);
3726
+ peg$fail(peg$e16);
3704
3727
  }
3705
3728
  }
3706
- if (s8 !== peg$FAILED) {
3707
- s7 = [s7, s8];
3708
- s6 = s7;
3729
+ }
3730
+ s5 = peg$parseBoolean();
3731
+ if (s5 !== peg$FAILED) {
3732
+ s6 = [];
3733
+ if (input.charCodeAt(peg$currPos) === 32) {
3734
+ s7 = peg$c12;
3735
+ peg$currPos++;
3709
3736
  }
3710
3737
  else {
3711
- peg$currPos = s6;
3712
- s6 = peg$FAILED;
3738
+ s7 = peg$FAILED;
3739
+ if (peg$silentFails === 0) {
3740
+ peg$fail(peg$e16);
3741
+ }
3713
3742
  }
3714
- }
3715
- else {
3716
- peg$currPos = s6;
3717
- s6 = peg$FAILED;
3718
- }
3719
- }
3720
- peg$silentFails--;
3721
- if (s6 === peg$FAILED) {
3722
- s5 = undefined;
3723
- }
3724
- else {
3725
- peg$currPos = s5;
3726
- s5 = peg$FAILED;
3727
- }
3728
- if (s5 !== peg$FAILED) {
3729
- s6 = peg$parsechar();
3730
- if (s6 !== peg$FAILED) {
3731
- s5 = [s5, s6];
3732
- s4 = s5;
3733
- }
3734
- else {
3735
- peg$currPos = s4;
3736
- s4 = peg$FAILED;
3737
- }
3738
- }
3739
- else {
3740
- peg$currPos = s4;
3741
- s4 = peg$FAILED;
3742
- }
3743
- }
3744
- s2 = input.substring(s2, peg$currPos);
3745
- if (input.charCodeAt(peg$currPos) === 58) {
3746
- s3 = peg$c5;
3747
- peg$currPos++;
3748
- }
3749
- else {
3750
- s3 = peg$FAILED;
3751
- if (peg$silentFails === 0) {
3752
- peg$fail(peg$e8);
3753
- }
3754
- }
3755
- if (s3 !== peg$FAILED) {
3756
- if (input.charCodeAt(peg$currPos) === 32) {
3757
- s4 = peg$c12;
3758
- peg$currPos++;
3759
- }
3760
- else {
3761
- s4 = peg$FAILED;
3762
- if (peg$silentFails === 0) {
3763
- peg$fail(peg$e16);
3764
- }
3765
- }
3766
- if (s4 === peg$FAILED) {
3767
- s4 = null;
3768
- }
3769
- s5 = peg$currPos;
3770
- s6 = [];
3771
- s7 = peg$currPos;
3772
- s8 = peg$currPos;
3773
- peg$silentFails++;
3774
- s9 = peg$parseBlockTag();
3775
- peg$silentFails--;
3776
- if (s9 === peg$FAILED) {
3777
- s8 = undefined;
3778
- }
3779
- else {
3780
- peg$currPos = s8;
3781
- s8 = peg$FAILED;
3782
- }
3783
- if (s8 !== peg$FAILED) {
3784
- s9 = peg$parsechar();
3785
- if (s9 !== peg$FAILED) {
3786
- s8 = [s8, s9];
3787
- s7 = s8;
3788
- }
3789
- else {
3790
- peg$currPos = s7;
3791
- s7 = peg$FAILED;
3792
- }
3793
- }
3794
- else {
3795
- peg$currPos = s7;
3796
- s7 = peg$FAILED;
3797
- }
3798
- while (s7 !== peg$FAILED) {
3799
- s6.push(s7);
3800
- s7 = peg$currPos;
3801
- s8 = peg$currPos;
3802
- peg$silentFails++;
3803
- s9 = peg$parseBlockTag();
3804
- peg$silentFails--;
3805
- if (s9 === peg$FAILED) {
3806
- s8 = undefined;
3807
- }
3808
- else {
3809
- peg$currPos = s8;
3810
- s8 = peg$FAILED;
3811
- }
3812
- if (s8 !== peg$FAILED) {
3813
- s9 = peg$parsechar();
3814
- if (s9 !== peg$FAILED) {
3815
- s8 = [s8, s9];
3816
- s7 = s8;
3743
+ while (s7 !== peg$FAILED) {
3744
+ s6.push(s7);
3745
+ if (input.charCodeAt(peg$currPos) === 32) {
3746
+ s7 = peg$c12;
3747
+ peg$currPos++;
3748
+ }
3749
+ else {
3750
+ s7 = peg$FAILED;
3751
+ if (peg$silentFails === 0) {
3752
+ peg$fail(peg$e16);
3753
+ }
3754
+ }
3755
+ }
3756
+ s7 = peg$parseBlockTag();
3757
+ if (s7 !== peg$FAILED) {
3758
+ peg$savedPos = s0;
3759
+ s0 = peg$f47(s2, s5);
3817
3760
  }
3818
3761
  else {
3819
- peg$currPos = s7;
3820
- s7 = peg$FAILED;
3762
+ peg$currPos = s0;
3763
+ s0 = peg$FAILED;
3821
3764
  }
3822
3765
  }
3823
3766
  else {
3824
- peg$currPos = s7;
3825
- s7 = peg$FAILED;
3767
+ peg$currPos = s0;
3768
+ s0 = peg$FAILED;
3826
3769
  }
3827
3770
  }
3828
- s5 = input.substring(s5, peg$currPos);
3829
- s6 = peg$parseBlockTag();
3830
- if (s6 !== peg$FAILED) {
3831
- peg$savedPos = s0;
3832
- s0 = peg$f47(s2, s5);
3833
- }
3834
3771
  else {
3835
3772
  peg$currPos = s0;
3836
3773
  s0 = peg$FAILED;
@@ -3855,130 +3792,155 @@ function peg$parse(input, options) {
3855
3792
  if (s1 === peg$FAILED) {
3856
3793
  s1 = null;
3857
3794
  }
3858
- s2 = peg$currPos;
3859
- s3 = [];
3860
- s4 = peg$currPos;
3861
- s5 = peg$currPos;
3862
- peg$silentFails++;
3863
- s6 = peg$parseBlockTag();
3864
- if (s6 === peg$FAILED) {
3865
- s6 = peg$currPos;
3866
- s7 = peg$parseAlignmentTags();
3867
- if (s7 !== peg$FAILED) {
3868
- if (input.charCodeAt(peg$currPos) === 58) {
3869
- s8 = peg$c5;
3795
+ s2 = peg$parseMediaBooleanTags();
3796
+ if (s2 !== peg$FAILED) {
3797
+ s3 = [];
3798
+ if (input.charCodeAt(peg$currPos) === 32) {
3799
+ s4 = peg$c12;
3800
+ peg$currPos++;
3801
+ }
3802
+ else {
3803
+ s4 = peg$FAILED;
3804
+ if (peg$silentFails === 0) {
3805
+ peg$fail(peg$e16);
3806
+ }
3807
+ }
3808
+ while (s4 !== peg$FAILED) {
3809
+ s3.push(s4);
3810
+ if (input.charCodeAt(peg$currPos) === 32) {
3811
+ s4 = peg$c12;
3870
3812
  peg$currPos++;
3871
3813
  }
3872
3814
  else {
3873
- s8 = peg$FAILED;
3815
+ s4 = peg$FAILED;
3874
3816
  if (peg$silentFails === 0) {
3875
- peg$fail(peg$e8);
3817
+ peg$fail(peg$e16);
3876
3818
  }
3877
3819
  }
3878
- if (s8 !== peg$FAILED) {
3879
- s7 = [s7, s8];
3880
- s6 = s7;
3881
- }
3882
- else {
3883
- peg$currPos = s6;
3884
- s6 = peg$FAILED;
3885
- }
3820
+ }
3821
+ s4 = peg$parseBlockTag();
3822
+ if (s4 !== peg$FAILED) {
3823
+ peg$savedPos = s0;
3824
+ s0 = peg$f48(s2);
3886
3825
  }
3887
3826
  else {
3888
- peg$currPos = s6;
3889
- s6 = peg$FAILED;
3827
+ peg$currPos = s0;
3828
+ s0 = peg$FAILED;
3890
3829
  }
3891
3830
  }
3892
- peg$silentFails--;
3893
- if (s6 === peg$FAILED) {
3894
- s5 = undefined;
3895
- }
3896
3831
  else {
3897
- peg$currPos = s5;
3898
- s5 = peg$FAILED;
3832
+ peg$currPos = s0;
3833
+ s0 = peg$FAILED;
3899
3834
  }
3900
- if (s5 !== peg$FAILED) {
3901
- s6 = peg$parsechar();
3902
- if (s6 !== peg$FAILED) {
3903
- s5 = [s5, s6];
3904
- s4 = s5;
3835
+ if (s0 === peg$FAILED) {
3836
+ s0 = peg$currPos;
3837
+ if (input.charCodeAt(peg$currPos) === 64) {
3838
+ s1 = peg$c22;
3839
+ peg$currPos++;
3905
3840
  }
3906
3841
  else {
3907
- peg$currPos = s4;
3908
- s4 = peg$FAILED;
3842
+ s1 = peg$FAILED;
3843
+ if (peg$silentFails === 0) {
3844
+ peg$fail(peg$e26);
3845
+ }
3909
3846
  }
3910
- }
3911
- else {
3912
- peg$currPos = s4;
3913
- s4 = peg$FAILED;
3914
- }
3915
- while (s4 !== peg$FAILED) {
3916
- s3.push(s4);
3917
- s4 = peg$currPos;
3918
- s5 = peg$currPos;
3919
- peg$silentFails++;
3920
- s6 = peg$parseBlockTag();
3921
- if (s6 === peg$FAILED) {
3922
- s6 = peg$currPos;
3923
- s7 = peg$parseAlignmentTags();
3924
- if (s7 !== peg$FAILED) {
3925
- if (input.charCodeAt(peg$currPos) === 58) {
3926
- s8 = peg$c5;
3927
- peg$currPos++;
3928
- }
3929
- else {
3930
- s8 = peg$FAILED;
3931
- if (peg$silentFails === 0) {
3932
- peg$fail(peg$e8);
3933
- }
3847
+ if (s1 === peg$FAILED) {
3848
+ s1 = null;
3849
+ }
3850
+ s2 = peg$parseBlockTag();
3851
+ if (s2 !== peg$FAILED) {
3852
+ peg$savedPos = s0;
3853
+ s0 = peg$f49();
3854
+ }
3855
+ else {
3856
+ peg$currPos = s0;
3857
+ s0 = peg$FAILED;
3858
+ }
3859
+ if (s0 === peg$FAILED) {
3860
+ s0 = peg$currPos;
3861
+ if (input.charCodeAt(peg$currPos) === 64) {
3862
+ s1 = peg$c22;
3863
+ peg$currPos++;
3864
+ }
3865
+ else {
3866
+ s1 = peg$FAILED;
3867
+ if (peg$silentFails === 0) {
3868
+ peg$fail(peg$e26);
3934
3869
  }
3935
- if (s8 !== peg$FAILED) {
3936
- s7 = [s7, s8];
3937
- s6 = s7;
3870
+ }
3871
+ if (s1 === peg$FAILED) {
3872
+ s1 = null;
3873
+ }
3874
+ s2 = peg$currPos;
3875
+ s3 = [];
3876
+ s4 = peg$currPos;
3877
+ s5 = peg$currPos;
3878
+ peg$silentFails++;
3879
+ s6 = peg$parseBlockTag();
3880
+ peg$silentFails--;
3881
+ if (s6 === peg$FAILED) {
3882
+ s5 = undefined;
3883
+ }
3884
+ else {
3885
+ peg$currPos = s5;
3886
+ s5 = peg$FAILED;
3887
+ }
3888
+ if (s5 !== peg$FAILED) {
3889
+ s6 = peg$parsechar();
3890
+ if (s6 !== peg$FAILED) {
3891
+ s5 = [s5, s6];
3892
+ s4 = s5;
3938
3893
  }
3939
3894
  else {
3940
- peg$currPos = s6;
3941
- s6 = peg$FAILED;
3895
+ peg$currPos = s4;
3896
+ s4 = peg$FAILED;
3942
3897
  }
3943
3898
  }
3944
3899
  else {
3945
- peg$currPos = s6;
3946
- s6 = peg$FAILED;
3900
+ peg$currPos = s4;
3901
+ s4 = peg$FAILED;
3947
3902
  }
3948
- }
3949
- peg$silentFails--;
3950
- if (s6 === peg$FAILED) {
3951
- s5 = undefined;
3952
- }
3953
- else {
3954
- peg$currPos = s5;
3955
- s5 = peg$FAILED;
3956
- }
3957
- if (s5 !== peg$FAILED) {
3958
- s6 = peg$parsechar();
3959
- if (s6 !== peg$FAILED) {
3960
- s5 = [s5, s6];
3961
- s4 = s5;
3903
+ while (s4 !== peg$FAILED) {
3904
+ s3.push(s4);
3905
+ s4 = peg$currPos;
3906
+ s5 = peg$currPos;
3907
+ peg$silentFails++;
3908
+ s6 = peg$parseBlockTag();
3909
+ peg$silentFails--;
3910
+ if (s6 === peg$FAILED) {
3911
+ s5 = undefined;
3912
+ }
3913
+ else {
3914
+ peg$currPos = s5;
3915
+ s5 = peg$FAILED;
3916
+ }
3917
+ if (s5 !== peg$FAILED) {
3918
+ s6 = peg$parsechar();
3919
+ if (s6 !== peg$FAILED) {
3920
+ s5 = [s5, s6];
3921
+ s4 = s5;
3922
+ }
3923
+ else {
3924
+ peg$currPos = s4;
3925
+ s4 = peg$FAILED;
3926
+ }
3927
+ }
3928
+ else {
3929
+ peg$currPos = s4;
3930
+ s4 = peg$FAILED;
3931
+ }
3932
+ }
3933
+ s2 = input.substring(s2, peg$currPos);
3934
+ s3 = peg$parseBlockTag();
3935
+ if (s3 !== peg$FAILED) {
3936
+ peg$savedPos = s0;
3937
+ s0 = peg$f50(s2);
3962
3938
  }
3963
3939
  else {
3964
- peg$currPos = s4;
3965
- s4 = peg$FAILED;
3940
+ peg$currPos = s0;
3941
+ s0 = peg$FAILED;
3966
3942
  }
3967
3943
  }
3968
- else {
3969
- peg$currPos = s4;
3970
- s4 = peg$FAILED;
3971
- }
3972
- }
3973
- s2 = input.substring(s2, peg$currPos);
3974
- s3 = peg$parseBlockTag();
3975
- if (s3 !== peg$FAILED) {
3976
- peg$savedPos = s0;
3977
- s0 = peg$f48(s2);
3978
- }
3979
- else {
3980
- peg$currPos = s0;
3981
- s0 = peg$FAILED;
3982
3944
  }
3983
3945
  }
3984
3946
  }
@@ -3996,7 +3958,7 @@ function peg$parse(input, options) {
3996
3958
  else {
3997
3959
  s0 = peg$FAILED;
3998
3960
  if (peg$silentFails === 0) {
3999
- peg$fail(peg$e28);
3961
+ peg$fail(peg$e27);
4000
3962
  }
4001
3963
  }
4002
3964
  if (s0 === peg$FAILED) {
@@ -4007,13 +3969,13 @@ function peg$parse(input, options) {
4007
3969
  else {
4008
3970
  s0 = peg$FAILED;
4009
3971
  if (peg$silentFails === 0) {
4010
- peg$fail(peg$e29);
3972
+ peg$fail(peg$e28);
4011
3973
  }
4012
3974
  }
4013
3975
  }
4014
3976
  return s0;
4015
3977
  }
4016
- function peg$parseAlignmentTags() {
3978
+ function peg$parseMediaAlignmentTags() {
4017
3979
  var s0;
4018
3980
  if (input.substr(peg$currPos, 9) === peg$c25) {
4019
3981
  s0 = peg$c25;
@@ -4022,7 +3984,7 @@ function peg$parse(input, options) {
4022
3984
  else {
4023
3985
  s0 = peg$FAILED;
4024
3986
  if (peg$silentFails === 0) {
4025
- peg$fail(peg$e30);
3987
+ peg$fail(peg$e29);
4026
3988
  }
4027
3989
  }
4028
3990
  if (s0 === peg$FAILED) {
@@ -4033,13 +3995,13 @@ function peg$parse(input, options) {
4033
3995
  else {
4034
3996
  s0 = peg$FAILED;
4035
3997
  if (peg$silentFails === 0) {
4036
- peg$fail(peg$e31);
3998
+ peg$fail(peg$e30);
4037
3999
  }
4038
4000
  }
4039
4001
  }
4040
4002
  return s0;
4041
4003
  }
4042
- function peg$parseAlignment() {
4004
+ function peg$parseMediaAlignment() {
4043
4005
  var s0;
4044
4006
  if (input.substr(peg$currPos, 4) === peg$c27) {
4045
4007
  s0 = peg$c27;
@@ -4048,7 +4010,7 @@ function peg$parse(input, options) {
4048
4010
  else {
4049
4011
  s0 = peg$FAILED;
4050
4012
  if (peg$silentFails === 0) {
4051
- peg$fail(peg$e32);
4013
+ peg$fail(peg$e31);
4052
4014
  }
4053
4015
  }
4054
4016
  if (s0 === peg$FAILED) {
@@ -4059,7 +4021,7 @@ function peg$parse(input, options) {
4059
4021
  else {
4060
4022
  s0 = peg$FAILED;
4061
4023
  if (peg$silentFails === 0) {
4062
- peg$fail(peg$e33);
4024
+ peg$fail(peg$e32);
4063
4025
  }
4064
4026
  }
4065
4027
  if (s0 === peg$FAILED) {
@@ -4070,20 +4032,86 @@ function peg$parse(input, options) {
4070
4032
  else {
4071
4033
  s0 = peg$FAILED;
4072
4034
  if (peg$silentFails === 0) {
4073
- peg$fail(peg$e34);
4035
+ peg$fail(peg$e33);
4074
4036
  }
4075
4037
  }
4076
4038
  }
4077
4039
  }
4078
4040
  return s0;
4079
4041
  }
4042
+ function peg$parseMediaTextTags() {
4043
+ var s0;
4044
+ if (input.substr(peg$currPos, 3) === peg$c30) {
4045
+ s0 = peg$c30;
4046
+ peg$currPos += 3;
4047
+ }
4048
+ else {
4049
+ s0 = peg$FAILED;
4050
+ if (peg$silentFails === 0) {
4051
+ peg$fail(peg$e34);
4052
+ }
4053
+ }
4054
+ if (s0 === peg$FAILED) {
4055
+ if (input.substr(peg$currPos, 7) === peg$c31) {
4056
+ s0 = peg$c31;
4057
+ peg$currPos += 7;
4058
+ }
4059
+ else {
4060
+ s0 = peg$FAILED;
4061
+ if (peg$silentFails === 0) {
4062
+ peg$fail(peg$e35);
4063
+ }
4064
+ }
4065
+ }
4066
+ return s0;
4067
+ }
4068
+ function peg$parseMediaBooleanTags() {
4069
+ var s0;
4070
+ if (input.substr(peg$currPos, 12) === peg$c32) {
4071
+ s0 = peg$c32;
4072
+ peg$currPos += 12;
4073
+ }
4074
+ else {
4075
+ s0 = peg$FAILED;
4076
+ if (peg$silentFails === 0) {
4077
+ peg$fail(peg$e36);
4078
+ }
4079
+ }
4080
+ return s0;
4081
+ }
4082
+ function peg$parseBoolean() {
4083
+ var s0;
4084
+ if (input.substr(peg$currPos, 4) === peg$c33) {
4085
+ s0 = peg$c33;
4086
+ peg$currPos += 4;
4087
+ }
4088
+ else {
4089
+ s0 = peg$FAILED;
4090
+ if (peg$silentFails === 0) {
4091
+ peg$fail(peg$e37);
4092
+ }
4093
+ }
4094
+ if (s0 === peg$FAILED) {
4095
+ if (input.substr(peg$currPos, 5) === peg$c34) {
4096
+ s0 = peg$c34;
4097
+ peg$currPos += 5;
4098
+ }
4099
+ else {
4100
+ s0 = peg$FAILED;
4101
+ if (peg$silentFails === 0) {
4102
+ peg$fail(peg$e38);
4103
+ }
4104
+ }
4105
+ }
4106
+ return s0;
4107
+ }
4080
4108
  function peg$parsebitmarkPlus() {
4081
4109
  var s0, s1;
4082
4110
  peg$silentFails++;
4083
4111
  s0 = peg$currPos;
4084
4112
  s1 = peg$parseInlineTags();
4085
4113
  peg$savedPos = s0;
4086
- s1 = peg$f49(s1);
4114
+ s1 = peg$f51(s1);
4087
4115
  s0 = s1;
4088
4116
  peg$silentFails--;
4089
4117
  s1 = peg$FAILED;
@@ -4099,7 +4127,7 @@ function peg$parse(input, options) {
4099
4127
  peg$silentFails--;
4100
4128
  s1 = peg$FAILED;
4101
4129
  if (peg$silentFails === 0) {
4102
- peg$fail(peg$e35);
4130
+ peg$fail(peg$e39);
4103
4131
  }
4104
4132
  return s0;
4105
4133
  }
@@ -4123,7 +4151,7 @@ function peg$parse(input, options) {
4123
4151
  }
4124
4152
  }
4125
4153
  peg$savedPos = s0;
4126
- s0 = peg$f50(s1, s2);
4154
+ s0 = peg$f52(s1, s2);
4127
4155
  return s0;
4128
4156
  }
4129
4157
  function peg$parseInlinePlainText() {
@@ -4132,7 +4160,7 @@ function peg$parse(input, options) {
4132
4160
  s1 = peg$parseNL();
4133
4161
  if (s1 !== peg$FAILED) {
4134
4162
  peg$savedPos = s0;
4135
- s1 = peg$f51();
4163
+ s1 = peg$f53();
4136
4164
  }
4137
4165
  s0 = s1;
4138
4166
  if (s0 === peg$FAILED) {
@@ -4275,7 +4303,7 @@ function peg$parse(input, options) {
4275
4303
  }
4276
4304
  if (s1 !== peg$FAILED) {
4277
4305
  peg$savedPos = s0;
4278
- s1 = peg$f52(s1);
4306
+ s1 = peg$f54(s1);
4279
4307
  }
4280
4308
  s0 = s1;
4281
4309
  }
@@ -4284,13 +4312,13 @@ function peg$parse(input, options) {
4284
4312
  function peg$parseInlineHalfTag() {
4285
4313
  var s0;
4286
4314
  if (input.charCodeAt(peg$currPos) === 61) {
4287
- s0 = peg$c30;
4315
+ s0 = peg$c35;
4288
4316
  peg$currPos++;
4289
4317
  }
4290
4318
  else {
4291
4319
  s0 = peg$FAILED;
4292
4320
  if (peg$silentFails === 0) {
4293
- peg$fail(peg$e36);
4321
+ peg$fail(peg$e40);
4294
4322
  }
4295
4323
  }
4296
4324
  return s0;
@@ -4361,7 +4389,7 @@ function peg$parse(input, options) {
4361
4389
  s3 = peg$parseBodyBitCloseTag();
4362
4390
  if (s3 !== peg$FAILED) {
4363
4391
  peg$savedPos = s0;
4364
- s0 = peg$f53(s2);
4392
+ s0 = peg$f55(s2);
4365
4393
  }
4366
4394
  else {
4367
4395
  peg$currPos = s0;
@@ -4461,19 +4489,19 @@ function peg$parse(input, options) {
4461
4489
  s2 = input.substring(s2, peg$currPos);
4462
4490
  s3 = peg$parseInlineTag();
4463
4491
  if (s3 !== peg$FAILED) {
4464
- if (input.substr(peg$currPos, 7) === peg$c31) {
4465
- s4 = peg$c31;
4492
+ if (input.substr(peg$currPos, 7) === peg$c36) {
4493
+ s4 = peg$c36;
4466
4494
  peg$currPos += 7;
4467
4495
  }
4468
4496
  else {
4469
4497
  s4 = peg$FAILED;
4470
4498
  if (peg$silentFails === 0) {
4471
- peg$fail(peg$e37);
4499
+ peg$fail(peg$e41);
4472
4500
  }
4473
4501
  }
4474
4502
  if (s4 !== peg$FAILED) {
4475
4503
  peg$savedPos = s0;
4476
- s0 = peg$f54(s2);
4504
+ s0 = peg$f56(s2);
4477
4505
  }
4478
4506
  else {
4479
4507
  peg$currPos = s0;
@@ -4573,14 +4601,14 @@ function peg$parse(input, options) {
4573
4601
  s2 = input.substring(s2, peg$currPos);
4574
4602
  s3 = peg$parseInlineTag();
4575
4603
  if (s3 !== peg$FAILED) {
4576
- if (input.substr(peg$currPos, 13) === peg$c32) {
4577
- s4 = peg$c32;
4604
+ if (input.substr(peg$currPos, 13) === peg$c37) {
4605
+ s4 = peg$c37;
4578
4606
  peg$currPos += 13;
4579
4607
  }
4580
4608
  else {
4581
4609
  s4 = peg$FAILED;
4582
4610
  if (peg$silentFails === 0) {
4583
- peg$fail(peg$e38);
4611
+ peg$fail(peg$e42);
4584
4612
  }
4585
4613
  }
4586
4614
  if (s4 !== peg$FAILED) {
@@ -4599,7 +4627,7 @@ function peg$parse(input, options) {
4599
4627
  if (s6 !== peg$FAILED) {
4600
4628
  s7 = peg$parseInlineMediaChain();
4601
4629
  peg$savedPos = s0;
4602
- s0 = peg$f55(s2, s5, s7);
4630
+ s0 = peg$f57(s2, s5, s7);
4603
4631
  }
4604
4632
  else {
4605
4633
  peg$currPos = s0;
@@ -4712,7 +4740,7 @@ function peg$parse(input, options) {
4712
4740
  s4 = peg$parseAttrChain();
4713
4741
  if (s4 !== peg$FAILED) {
4714
4742
  peg$savedPos = s0;
4715
- s0 = peg$f56(s2, s4);
4743
+ s0 = peg$f58(s2, s4);
4716
4744
  }
4717
4745
  else {
4718
4746
  peg$currPos = s0;
@@ -4813,7 +4841,7 @@ function peg$parse(input, options) {
4813
4841
  s3 = peg$parseBoldTag();
4814
4842
  if (s3 !== peg$FAILED) {
4815
4843
  peg$savedPos = s0;
4816
- s0 = peg$f57(s2);
4844
+ s0 = peg$f59(s2);
4817
4845
  }
4818
4846
  else {
4819
4847
  peg$currPos = s0;
@@ -4909,7 +4937,7 @@ function peg$parse(input, options) {
4909
4937
  s3 = peg$parseItalicTag();
4910
4938
  if (s3 !== peg$FAILED) {
4911
4939
  peg$savedPos = s0;
4912
- s0 = peg$f58(s2);
4940
+ s0 = peg$f60(s2);
4913
4941
  }
4914
4942
  else {
4915
4943
  peg$currPos = s0;
@@ -5005,7 +5033,7 @@ function peg$parse(input, options) {
5005
5033
  s3 = peg$parseLightTag();
5006
5034
  if (s3 !== peg$FAILED) {
5007
5035
  peg$savedPos = s0;
5008
- s0 = peg$f59(s2);
5036
+ s0 = peg$f61(s2);
5009
5037
  }
5010
5038
  else {
5011
5039
  peg$currPos = s0;
@@ -5101,7 +5129,7 @@ function peg$parse(input, options) {
5101
5129
  s3 = peg$parseHighlightTag();
5102
5130
  if (s3 !== peg$FAILED) {
5103
5131
  peg$savedPos = s0;
5104
- s0 = peg$f60(s2);
5132
+ s0 = peg$f62(s2);
5105
5133
  }
5106
5134
  else {
5107
5135
  peg$currPos = s0;
@@ -5117,7 +5145,7 @@ function peg$parse(input, options) {
5117
5145
  s1 = peg$parseUrl();
5118
5146
  if (s1 !== peg$FAILED) {
5119
5147
  peg$savedPos = s0;
5120
- s1 = peg$f61(s1);
5148
+ s1 = peg$f63(s1);
5121
5149
  }
5122
5150
  s0 = s1;
5123
5151
  }
@@ -5267,7 +5295,7 @@ function peg$parse(input, options) {
5267
5295
  }
5268
5296
  if (s2 !== peg$FAILED) {
5269
5297
  peg$savedPos = s0;
5270
- s0 = peg$f62(s2);
5298
+ s0 = peg$f64(s2);
5271
5299
  }
5272
5300
  else {
5273
5301
  peg$currPos = s0;
@@ -5290,7 +5318,7 @@ function peg$parse(input, options) {
5290
5318
  s2 = peg$parseInlineMediaChainItem();
5291
5319
  }
5292
5320
  peg$savedPos = s0;
5293
- s1 = peg$f63(s1);
5321
+ s1 = peg$f65(s1);
5294
5322
  s0 = s1;
5295
5323
  return s0;
5296
5324
  }
@@ -5371,7 +5399,7 @@ function peg$parse(input, options) {
5371
5399
  s3 = peg$parseBlockTag();
5372
5400
  if (s3 !== peg$FAILED) {
5373
5401
  peg$savedPos = s0;
5374
- s0 = peg$f64(s2);
5402
+ s0 = peg$f66(s2);
5375
5403
  }
5376
5404
  else {
5377
5405
  peg$currPos = s0;
@@ -5526,7 +5554,7 @@ function peg$parse(input, options) {
5526
5554
  s6 = peg$parseBlockTag();
5527
5555
  if (s6 !== peg$FAILED) {
5528
5556
  peg$savedPos = s0;
5529
- s0 = peg$f65(s2, s5);
5557
+ s0 = peg$f67(s2, s5);
5530
5558
  }
5531
5559
  else {
5532
5560
  peg$currPos = s0;
@@ -5662,7 +5690,7 @@ function peg$parse(input, options) {
5662
5690
  s6 = peg$parseBlockTag();
5663
5691
  if (s6 !== peg$FAILED) {
5664
5692
  peg$savedPos = s0;
5665
- s0 = peg$f66(s2, s5);
5693
+ s0 = peg$f68(s2, s5);
5666
5694
  }
5667
5695
  else {
5668
5696
  peg$currPos = s0;
@@ -5693,14 +5721,14 @@ function peg$parse(input, options) {
5693
5721
  if (s1 === peg$FAILED) {
5694
5722
  s1 = null;
5695
5723
  }
5696
- if (input.substr(peg$currPos, 17) === peg$c33) {
5697
- s2 = peg$c33;
5724
+ if (input.substr(peg$currPos, 17) === peg$c38) {
5725
+ s2 = peg$c38;
5698
5726
  peg$currPos += 17;
5699
5727
  }
5700
5728
  else {
5701
5729
  s2 = peg$FAILED;
5702
5730
  if (peg$silentFails === 0) {
5703
- peg$fail(peg$e39);
5731
+ peg$fail(peg$e43);
5704
5732
  }
5705
5733
  }
5706
5734
  if (s2 !== peg$FAILED) {
@@ -5744,7 +5772,7 @@ function peg$parse(input, options) {
5744
5772
  s6 = peg$parseBlockTag();
5745
5773
  if (s6 !== peg$FAILED) {
5746
5774
  peg$savedPos = s0;
5747
- s0 = peg$f67(s2, s5);
5775
+ s0 = peg$f69(s2, s5);
5748
5776
  }
5749
5777
  else {
5750
5778
  peg$currPos = s0;
@@ -5780,14 +5808,14 @@ function peg$parse(input, options) {
5780
5808
  if (s1 === peg$FAILED) {
5781
5809
  s1 = null;
5782
5810
  }
5783
- if (input.substr(peg$currPos, 4) === peg$c34) {
5784
- s2 = peg$c34;
5811
+ if (input.substr(peg$currPos, 4) === peg$c39) {
5812
+ s2 = peg$c39;
5785
5813
  peg$currPos += 4;
5786
5814
  }
5787
5815
  else {
5788
5816
  s2 = peg$FAILED;
5789
5817
  if (peg$silentFails === 0) {
5790
- peg$fail(peg$e40);
5818
+ peg$fail(peg$e44);
5791
5819
  }
5792
5820
  }
5793
5821
  if (s2 !== peg$FAILED) {
@@ -5831,7 +5859,7 @@ function peg$parse(input, options) {
5831
5859
  s6 = peg$parseBlockTag();
5832
5860
  if (s6 !== peg$FAILED) {
5833
5861
  peg$savedPos = s0;
5834
- s0 = peg$f68(s2, s5);
5862
+ s0 = peg$f70(s2, s5);
5835
5863
  }
5836
5864
  else {
5837
5865
  peg$currPos = s0;
@@ -5860,91 +5888,91 @@ function peg$parse(input, options) {
5860
5888
  }
5861
5889
  function peg$parseInlineMediaAlignment() {
5862
5890
  var s0;
5863
- if (input.substr(peg$currPos, 3) === peg$c35) {
5864
- s0 = peg$c35;
5891
+ if (input.substr(peg$currPos, 3) === peg$c40) {
5892
+ s0 = peg$c40;
5865
5893
  peg$currPos += 3;
5866
5894
  }
5867
5895
  else {
5868
5896
  s0 = peg$FAILED;
5869
5897
  if (peg$silentFails === 0) {
5870
- peg$fail(peg$e41);
5898
+ peg$fail(peg$e45);
5871
5899
  }
5872
5900
  }
5873
5901
  if (s0 === peg$FAILED) {
5874
- if (input.substr(peg$currPos, 6) === peg$c36) {
5875
- s0 = peg$c36;
5902
+ if (input.substr(peg$currPos, 6) === peg$c41) {
5903
+ s0 = peg$c41;
5876
5904
  peg$currPos += 6;
5877
5905
  }
5878
5906
  else {
5879
5907
  s0 = peg$FAILED;
5880
5908
  if (peg$silentFails === 0) {
5881
- peg$fail(peg$e42);
5909
+ peg$fail(peg$e46);
5882
5910
  }
5883
5911
  }
5884
5912
  if (s0 === peg$FAILED) {
5885
- if (input.substr(peg$currPos, 6) === peg$c37) {
5886
- s0 = peg$c37;
5913
+ if (input.substr(peg$currPos, 6) === peg$c42) {
5914
+ s0 = peg$c42;
5887
5915
  peg$currPos += 6;
5888
5916
  }
5889
5917
  else {
5890
5918
  s0 = peg$FAILED;
5891
5919
  if (peg$silentFails === 0) {
5892
- peg$fail(peg$e43);
5920
+ peg$fail(peg$e47);
5893
5921
  }
5894
5922
  }
5895
5923
  if (s0 === peg$FAILED) {
5896
- if (input.substr(peg$currPos, 8) === peg$c38) {
5897
- s0 = peg$c38;
5924
+ if (input.substr(peg$currPos, 8) === peg$c43) {
5925
+ s0 = peg$c43;
5898
5926
  peg$currPos += 8;
5899
5927
  }
5900
5928
  else {
5901
5929
  s0 = peg$FAILED;
5902
5930
  if (peg$silentFails === 0) {
5903
- peg$fail(peg$e44);
5931
+ peg$fail(peg$e48);
5904
5932
  }
5905
5933
  }
5906
5934
  if (s0 === peg$FAILED) {
5907
- if (input.substr(peg$currPos, 3) === peg$c39) {
5908
- s0 = peg$c39;
5935
+ if (input.substr(peg$currPos, 3) === peg$c44) {
5936
+ s0 = peg$c44;
5909
5937
  peg$currPos += 3;
5910
5938
  }
5911
5939
  else {
5912
5940
  s0 = peg$FAILED;
5913
5941
  if (peg$silentFails === 0) {
5914
- peg$fail(peg$e45);
5942
+ peg$fail(peg$e49);
5915
5943
  }
5916
5944
  }
5917
5945
  if (s0 === peg$FAILED) {
5918
- if (input.substr(peg$currPos, 5) === peg$c40) {
5919
- s0 = peg$c40;
5946
+ if (input.substr(peg$currPos, 5) === peg$c45) {
5947
+ s0 = peg$c45;
5920
5948
  peg$currPos += 5;
5921
5949
  }
5922
5950
  else {
5923
5951
  s0 = peg$FAILED;
5924
5952
  if (peg$silentFails === 0) {
5925
- peg$fail(peg$e46);
5953
+ peg$fail(peg$e50);
5926
5954
  }
5927
5955
  }
5928
5956
  if (s0 === peg$FAILED) {
5929
- if (input.substr(peg$currPos, 11) === peg$c41) {
5930
- s0 = peg$c41;
5957
+ if (input.substr(peg$currPos, 11) === peg$c46) {
5958
+ s0 = peg$c46;
5931
5959
  peg$currPos += 11;
5932
5960
  }
5933
5961
  else {
5934
5962
  s0 = peg$FAILED;
5935
5963
  if (peg$silentFails === 0) {
5936
- peg$fail(peg$e47);
5964
+ peg$fail(peg$e51);
5937
5965
  }
5938
5966
  }
5939
5967
  if (s0 === peg$FAILED) {
5940
- if (input.substr(peg$currPos, 8) === peg$c42) {
5941
- s0 = peg$c42;
5968
+ if (input.substr(peg$currPos, 8) === peg$c47) {
5969
+ s0 = peg$c47;
5942
5970
  peg$currPos += 8;
5943
5971
  }
5944
5972
  else {
5945
5973
  s0 = peg$FAILED;
5946
5974
  if (peg$silentFails === 0) {
5947
- peg$fail(peg$e48);
5975
+ peg$fail(peg$e52);
5948
5976
  }
5949
5977
  }
5950
5978
  }
@@ -5958,58 +5986,58 @@ function peg$parse(input, options) {
5958
5986
  }
5959
5987
  function peg$parseInlineMediaSize() {
5960
5988
  var s0;
5961
- if (input.substr(peg$currPos, 11) === peg$c43) {
5962
- s0 = peg$c43;
5989
+ if (input.substr(peg$currPos, 11) === peg$c48) {
5990
+ s0 = peg$c48;
5963
5991
  peg$currPos += 11;
5964
5992
  }
5965
5993
  else {
5966
5994
  s0 = peg$FAILED;
5967
5995
  if (peg$silentFails === 0) {
5968
- peg$fail(peg$e49);
5996
+ peg$fail(peg$e53);
5969
5997
  }
5970
5998
  }
5971
5999
  if (s0 === peg$FAILED) {
5972
- if (input.substr(peg$currPos, 11) === peg$c44) {
5973
- s0 = peg$c44;
6000
+ if (input.substr(peg$currPos, 11) === peg$c49) {
6001
+ s0 = peg$c49;
5974
6002
  peg$currPos += 11;
5975
6003
  }
5976
6004
  else {
5977
6005
  s0 = peg$FAILED;
5978
6006
  if (peg$silentFails === 0) {
5979
- peg$fail(peg$e50);
6007
+ peg$fail(peg$e54);
5980
6008
  }
5981
6009
  }
5982
6010
  if (s0 === peg$FAILED) {
5983
- if (input.substr(peg$currPos, 5) === peg$c40) {
5984
- s0 = peg$c40;
6011
+ if (input.substr(peg$currPos, 5) === peg$c45) {
6012
+ s0 = peg$c45;
5985
6013
  peg$currPos += 5;
5986
6014
  }
5987
6015
  else {
5988
6016
  s0 = peg$FAILED;
5989
6017
  if (peg$silentFails === 0) {
5990
- peg$fail(peg$e46);
6018
+ peg$fail(peg$e50);
5991
6019
  }
5992
6020
  }
5993
6021
  if (s0 === peg$FAILED) {
5994
- if (input.substr(peg$currPos, 3) === peg$c39) {
5995
- s0 = peg$c39;
6022
+ if (input.substr(peg$currPos, 3) === peg$c44) {
6023
+ s0 = peg$c44;
5996
6024
  peg$currPos += 3;
5997
6025
  }
5998
6026
  else {
5999
6027
  s0 = peg$FAILED;
6000
6028
  if (peg$silentFails === 0) {
6001
- peg$fail(peg$e45);
6029
+ peg$fail(peg$e49);
6002
6030
  }
6003
6031
  }
6004
6032
  if (s0 === peg$FAILED) {
6005
- if (input.substr(peg$currPos, 8) === peg$c45) {
6006
- s0 = peg$c45;
6033
+ if (input.substr(peg$currPos, 8) === peg$c50) {
6034
+ s0 = peg$c50;
6007
6035
  peg$currPos += 8;
6008
6036
  }
6009
6037
  else {
6010
6038
  s0 = peg$FAILED;
6011
6039
  if (peg$silentFails === 0) {
6012
- peg$fail(peg$e51);
6040
+ peg$fail(peg$e55);
6013
6041
  }
6014
6042
  }
6015
6043
  }
@@ -6021,14 +6049,14 @@ function peg$parse(input, options) {
6021
6049
  function peg$parseAttrChainItem() {
6022
6050
  var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
6023
6051
  s0 = peg$currPos;
6024
- if (input.substr(peg$currPos, 5) === peg$c46) {
6025
- s1 = peg$c46;
6052
+ if (input.substr(peg$currPos, 5) === peg$c51) {
6053
+ s1 = peg$c51;
6026
6054
  peg$currPos += 5;
6027
6055
  }
6028
6056
  else {
6029
6057
  s1 = peg$FAILED;
6030
6058
  if (peg$silentFails === 0) {
6031
- peg$fail(peg$e52);
6059
+ peg$fail(peg$e56);
6032
6060
  }
6033
6061
  }
6034
6062
  if (s1 !== peg$FAILED) {
@@ -6095,7 +6123,7 @@ function peg$parse(input, options) {
6095
6123
  s3 = peg$parseBlockTag();
6096
6124
  if (s3 !== peg$FAILED) {
6097
6125
  peg$savedPos = s0;
6098
- s0 = peg$f69(s2);
6126
+ s0 = peg$f71(s2);
6099
6127
  }
6100
6128
  else {
6101
6129
  peg$currPos = s0;
@@ -6108,14 +6136,14 @@ function peg$parse(input, options) {
6108
6136
  }
6109
6137
  if (s0 === peg$FAILED) {
6110
6138
  s0 = peg$currPos;
6111
- if (input.substr(peg$currPos, 7) === peg$c47) {
6112
- s1 = peg$c47;
6139
+ if (input.substr(peg$currPos, 7) === peg$c52) {
6140
+ s1 = peg$c52;
6113
6141
  peg$currPos += 7;
6114
6142
  }
6115
6143
  else {
6116
6144
  s1 = peg$FAILED;
6117
6145
  if (peg$silentFails === 0) {
6118
- peg$fail(peg$e53);
6146
+ peg$fail(peg$e57);
6119
6147
  }
6120
6148
  }
6121
6149
  if (s1 !== peg$FAILED) {
@@ -6182,14 +6210,14 @@ function peg$parse(input, options) {
6182
6210
  s3 = peg$parseRefsChain();
6183
6211
  s4 = peg$parseBlockTag();
6184
6212
  if (s4 !== peg$FAILED) {
6185
- if (input.substr(peg$currPos, 9) === peg$c48) {
6186
- s5 = peg$c48;
6213
+ if (input.substr(peg$currPos, 9) === peg$c53) {
6214
+ s5 = peg$c53;
6187
6215
  peg$currPos += 9;
6188
6216
  }
6189
6217
  else {
6190
6218
  s5 = peg$FAILED;
6191
6219
  if (peg$silentFails === 0) {
6192
- peg$fail(peg$e54);
6220
+ peg$fail(peg$e58);
6193
6221
  }
6194
6222
  }
6195
6223
  if (s5 !== peg$FAILED) {
@@ -6256,7 +6284,7 @@ function peg$parse(input, options) {
6256
6284
  s7 = peg$parseBlockTag();
6257
6285
  if (s7 !== peg$FAILED) {
6258
6286
  peg$savedPos = s0;
6259
- s0 = peg$f70(s2, s3, s6);
6287
+ s0 = peg$f72(s2, s3, s6);
6260
6288
  }
6261
6289
  else {
6262
6290
  peg$currPos = s0;
@@ -6279,14 +6307,14 @@ function peg$parse(input, options) {
6279
6307
  }
6280
6308
  if (s0 === peg$FAILED) {
6281
6309
  s0 = peg$currPos;
6282
- if (input.substr(peg$currPos, 5) === peg$c49) {
6283
- s1 = peg$c49;
6310
+ if (input.substr(peg$currPos, 5) === peg$c54) {
6311
+ s1 = peg$c54;
6284
6312
  peg$currPos += 5;
6285
6313
  }
6286
6314
  else {
6287
6315
  s1 = peg$FAILED;
6288
6316
  if (peg$silentFails === 0) {
6289
- peg$fail(peg$e55);
6317
+ peg$fail(peg$e59);
6290
6318
  }
6291
6319
  }
6292
6320
  if (s1 !== peg$FAILED) {
@@ -6353,13 +6381,13 @@ function peg$parse(input, options) {
6353
6381
  s3 = peg$parseBlockTag();
6354
6382
  if (s3 !== peg$FAILED) {
6355
6383
  if (input.charCodeAt(peg$currPos) === 9658) {
6356
- s4 = peg$c50;
6384
+ s4 = peg$c55;
6357
6385
  peg$currPos++;
6358
6386
  }
6359
6387
  else {
6360
6388
  s4 = peg$FAILED;
6361
6389
  if (peg$silentFails === 0) {
6362
- peg$fail(peg$e56);
6390
+ peg$fail(peg$e60);
6363
6391
  }
6364
6392
  }
6365
6393
  if (s4 !== peg$FAILED) {
@@ -6426,7 +6454,7 @@ function peg$parse(input, options) {
6426
6454
  s6 = peg$parseBlockTag();
6427
6455
  if (s6 !== peg$FAILED) {
6428
6456
  peg$savedPos = s0;
6429
- s0 = peg$f71(s2, s5);
6457
+ s0 = peg$f73(s2, s5);
6430
6458
  }
6431
6459
  else {
6432
6460
  peg$currPos = s0;
@@ -6449,14 +6477,14 @@ function peg$parse(input, options) {
6449
6477
  }
6450
6478
  if (s0 === peg$FAILED) {
6451
6479
  s0 = peg$currPos;
6452
- if (input.substr(peg$currPos, 5) === peg$c49) {
6453
- s1 = peg$c49;
6480
+ if (input.substr(peg$currPos, 5) === peg$c54) {
6481
+ s1 = peg$c54;
6454
6482
  peg$currPos += 5;
6455
6483
  }
6456
6484
  else {
6457
6485
  s1 = peg$FAILED;
6458
6486
  if (peg$silentFails === 0) {
6459
- peg$fail(peg$e55);
6487
+ peg$fail(peg$e59);
6460
6488
  }
6461
6489
  }
6462
6490
  if (s1 !== peg$FAILED) {
@@ -6523,7 +6551,7 @@ function peg$parse(input, options) {
6523
6551
  s3 = peg$parseBlockTag();
6524
6552
  if (s3 !== peg$FAILED) {
6525
6553
  peg$savedPos = s0;
6526
- s0 = peg$f72(s2);
6554
+ s0 = peg$f74(s2);
6527
6555
  }
6528
6556
  else {
6529
6557
  peg$currPos = s0;
@@ -6537,13 +6565,13 @@ function peg$parse(input, options) {
6537
6565
  if (s0 === peg$FAILED) {
6538
6566
  s0 = peg$currPos;
6539
6567
  if (input.charCodeAt(peg$currPos) === 9658) {
6540
- s1 = peg$c50;
6568
+ s1 = peg$c55;
6541
6569
  peg$currPos++;
6542
6570
  }
6543
6571
  else {
6544
6572
  s1 = peg$FAILED;
6545
6573
  if (peg$silentFails === 0) {
6546
- peg$fail(peg$e56);
6574
+ peg$fail(peg$e60);
6547
6575
  }
6548
6576
  }
6549
6577
  if (s1 !== peg$FAILED) {
@@ -6610,7 +6638,7 @@ function peg$parse(input, options) {
6610
6638
  s3 = peg$parseBlockTag();
6611
6639
  if (s3 !== peg$FAILED) {
6612
6640
  peg$savedPos = s0;
6613
- s0 = peg$f73(s2);
6641
+ s0 = peg$f75(s2);
6614
6642
  }
6615
6643
  else {
6616
6644
  peg$currPos = s0;
@@ -6623,14 +6651,14 @@ function peg$parse(input, options) {
6623
6651
  }
6624
6652
  if (s0 === peg$FAILED) {
6625
6653
  s0 = peg$currPos;
6626
- if (input.substr(peg$currPos, 7) === peg$c51) {
6627
- s1 = peg$c51;
6654
+ if (input.substr(peg$currPos, 7) === peg$c56) {
6655
+ s1 = peg$c56;
6628
6656
  peg$currPos += 7;
6629
6657
  }
6630
6658
  else {
6631
6659
  s1 = peg$FAILED;
6632
6660
  if (peg$silentFails === 0) {
6633
- peg$fail(peg$e57);
6661
+ peg$fail(peg$e61);
6634
6662
  }
6635
6663
  }
6636
6664
  if (s1 !== peg$FAILED) {
@@ -6698,7 +6726,7 @@ function peg$parse(input, options) {
6698
6726
  if (s3 !== peg$FAILED) {
6699
6727
  s4 = peg$parseMediaChain();
6700
6728
  peg$savedPos = s0;
6701
- s0 = peg$f74(s2, s4);
6729
+ s0 = peg$f76(s2, s4);
6702
6730
  }
6703
6731
  else {
6704
6732
  peg$currPos = s0;
@@ -6711,14 +6739,14 @@ function peg$parse(input, options) {
6711
6739
  }
6712
6740
  if (s0 === peg$FAILED) {
6713
6741
  s0 = peg$currPos;
6714
- if (input.substr(peg$currPos, 9) === peg$c52) {
6715
- s1 = peg$c52;
6742
+ if (input.substr(peg$currPos, 9) === peg$c57) {
6743
+ s1 = peg$c57;
6716
6744
  peg$currPos += 9;
6717
6745
  }
6718
6746
  else {
6719
6747
  s1 = peg$FAILED;
6720
6748
  if (peg$silentFails === 0) {
6721
- peg$fail(peg$e58);
6749
+ peg$fail(peg$e62);
6722
6750
  }
6723
6751
  }
6724
6752
  if (s1 !== peg$FAILED) {
@@ -6785,7 +6813,7 @@ function peg$parse(input, options) {
6785
6813
  s3 = peg$parseBlockTag();
6786
6814
  if (s3 !== peg$FAILED) {
6787
6815
  peg$savedPos = s0;
6788
- s0 = peg$f75(s2);
6816
+ s0 = peg$f77(s2);
6789
6817
  }
6790
6818
  else {
6791
6819
  peg$currPos = s0;
@@ -6798,14 +6826,14 @@ function peg$parse(input, options) {
6798
6826
  }
6799
6827
  if (s0 === peg$FAILED) {
6800
6828
  s0 = peg$currPos;
6801
- if (input.substr(peg$currPos, 10) === peg$c53) {
6802
- s1 = peg$c53;
6829
+ if (input.substr(peg$currPos, 10) === peg$c58) {
6830
+ s1 = peg$c58;
6803
6831
  peg$currPos += 10;
6804
6832
  }
6805
6833
  else {
6806
6834
  s1 = peg$FAILED;
6807
6835
  if (peg$silentFails === 0) {
6808
- peg$fail(peg$e59);
6836
+ peg$fail(peg$e63);
6809
6837
  }
6810
6838
  }
6811
6839
  if (s1 !== peg$FAILED) {
@@ -6872,7 +6900,7 @@ function peg$parse(input, options) {
6872
6900
  s3 = peg$parseBlockTag();
6873
6901
  if (s3 !== peg$FAILED) {
6874
6902
  peg$savedPos = s0;
6875
- s0 = peg$f76(s2);
6903
+ s0 = peg$f78(s2);
6876
6904
  }
6877
6905
  else {
6878
6906
  peg$currPos = s0;
@@ -6885,14 +6913,14 @@ function peg$parse(input, options) {
6885
6913
  }
6886
6914
  if (s0 === peg$FAILED) {
6887
6915
  s0 = peg$currPos;
6888
- if (input.substr(peg$currPos, 4) === peg$c54) {
6889
- s1 = peg$c54;
6916
+ if (input.substr(peg$currPos, 4) === peg$c59) {
6917
+ s1 = peg$c59;
6890
6918
  peg$currPos += 4;
6891
6919
  }
6892
6920
  else {
6893
6921
  s1 = peg$FAILED;
6894
6922
  if (peg$silentFails === 0) {
6895
- peg$fail(peg$e60);
6923
+ peg$fail(peg$e64);
6896
6924
  }
6897
6925
  }
6898
6926
  if (s1 !== peg$FAILED) {
@@ -6959,7 +6987,7 @@ function peg$parse(input, options) {
6959
6987
  s3 = peg$parseBlockTag();
6960
6988
  if (s3 !== peg$FAILED) {
6961
6989
  peg$savedPos = s0;
6962
- s0 = peg$f77(s2);
6990
+ s0 = peg$f79(s2);
6963
6991
  }
6964
6992
  else {
6965
6993
  peg$currPos = s0;
@@ -6986,7 +7014,7 @@ function peg$parse(input, options) {
6986
7014
  s2 = peg$parseBlockTag();
6987
7015
  if (s2 !== peg$FAILED) {
6988
7016
  peg$savedPos = s0;
6989
- s0 = peg$f78();
7017
+ s0 = peg$f80();
6990
7018
  }
6991
7019
  else {
6992
7020
  peg$currPos = s0;
@@ -6999,14 +7027,14 @@ function peg$parse(input, options) {
6999
7027
  }
7000
7028
  if (s0 === peg$FAILED) {
7001
7029
  s0 = peg$currPos;
7002
- if (input.substr(peg$currPos, 5) === peg$c55) {
7003
- s1 = peg$c55;
7030
+ if (input.substr(peg$currPos, 5) === peg$c60) {
7031
+ s1 = peg$c60;
7004
7032
  peg$currPos += 5;
7005
7033
  }
7006
7034
  else {
7007
7035
  s1 = peg$FAILED;
7008
7036
  if (peg$silentFails === 0) {
7009
- peg$fail(peg$e61);
7037
+ peg$fail(peg$e65);
7010
7038
  }
7011
7039
  }
7012
7040
  if (s1 !== peg$FAILED) {
@@ -7073,7 +7101,7 @@ function peg$parse(input, options) {
7073
7101
  s3 = peg$parseBlockTag();
7074
7102
  if (s3 !== peg$FAILED) {
7075
7103
  peg$savedPos = s0;
7076
- s0 = peg$f79(s2);
7104
+ s0 = peg$f81(s2);
7077
7105
  }
7078
7106
  else {
7079
7107
  peg$currPos = s0;
@@ -7086,21 +7114,21 @@ function peg$parse(input, options) {
7086
7114
  }
7087
7115
  if (s0 === peg$FAILED) {
7088
7116
  s0 = peg$currPos;
7089
- if (input.substr(peg$currPos, 5) === peg$c56) {
7090
- s1 = peg$c56;
7117
+ if (input.substr(peg$currPos, 5) === peg$c61) {
7118
+ s1 = peg$c61;
7091
7119
  peg$currPos += 5;
7092
7120
  }
7093
7121
  else {
7094
7122
  s1 = peg$FAILED;
7095
7123
  if (peg$silentFails === 0) {
7096
- peg$fail(peg$e62);
7124
+ peg$fail(peg$e66);
7097
7125
  }
7098
7126
  }
7099
7127
  if (s1 !== peg$FAILED) {
7100
7128
  s2 = peg$parseBlockTag();
7101
7129
  if (s2 !== peg$FAILED) {
7102
7130
  peg$savedPos = s0;
7103
- s0 = peg$f80();
7131
+ s0 = peg$f82();
7104
7132
  }
7105
7133
  else {
7106
7134
  peg$currPos = s0;
@@ -7113,14 +7141,14 @@ function peg$parse(input, options) {
7113
7141
  }
7114
7142
  if (s0 === peg$FAILED) {
7115
7143
  s0 = peg$currPos;
7116
- if (input.substr(peg$currPos, 6) === peg$c57) {
7117
- s1 = peg$c57;
7144
+ if (input.substr(peg$currPos, 6) === peg$c62) {
7145
+ s1 = peg$c62;
7118
7146
  peg$currPos += 6;
7119
7147
  }
7120
7148
  else {
7121
7149
  s1 = peg$FAILED;
7122
7150
  if (peg$silentFails === 0) {
7123
- peg$fail(peg$e63);
7151
+ peg$fail(peg$e67);
7124
7152
  }
7125
7153
  }
7126
7154
  if (s1 !== peg$FAILED) {
@@ -7187,7 +7215,7 @@ function peg$parse(input, options) {
7187
7215
  s3 = peg$parseBlockTag();
7188
7216
  if (s3 !== peg$FAILED) {
7189
7217
  peg$savedPos = s0;
7190
- s0 = peg$f81(s2);
7218
+ s0 = peg$f83(s2);
7191
7219
  }
7192
7220
  else {
7193
7221
  peg$currPos = s0;
@@ -7200,27 +7228,27 @@ function peg$parse(input, options) {
7200
7228
  }
7201
7229
  if (s0 === peg$FAILED) {
7202
7230
  s0 = peg$currPos;
7203
- if (input.substr(peg$currPos, 9) === peg$c58) {
7204
- s1 = peg$c58;
7231
+ if (input.substr(peg$currPos, 9) === peg$c63) {
7232
+ s1 = peg$c63;
7205
7233
  peg$currPos += 9;
7206
7234
  }
7207
7235
  else {
7208
7236
  s1 = peg$FAILED;
7209
7237
  if (peg$silentFails === 0) {
7210
- peg$fail(peg$e64);
7238
+ peg$fail(peg$e68);
7211
7239
  }
7212
7240
  }
7213
7241
  if (s1 !== peg$FAILED) {
7214
7242
  s2 = peg$currPos;
7215
7243
  s3 = peg$currPos;
7216
7244
  if (input.charCodeAt(peg$currPos) === 80) {
7217
- s4 = peg$c59;
7245
+ s4 = peg$c64;
7218
7246
  peg$currPos++;
7219
7247
  }
7220
7248
  else {
7221
7249
  s4 = peg$FAILED;
7222
7250
  if (peg$silentFails === 0) {
7223
- peg$fail(peg$e65);
7251
+ peg$fail(peg$e69);
7224
7252
  }
7225
7253
  }
7226
7254
  if (s4 !== peg$FAILED) {
@@ -7301,7 +7329,7 @@ function peg$parse(input, options) {
7301
7329
  s3 = peg$parseBlockTag();
7302
7330
  if (s3 !== peg$FAILED) {
7303
7331
  peg$savedPos = s0;
7304
- s0 = peg$f82(s2);
7332
+ s0 = peg$f84(s2);
7305
7333
  }
7306
7334
  else {
7307
7335
  peg$currPos = s0;
@@ -7319,14 +7347,14 @@ function peg$parse(input, options) {
7319
7347
  }
7320
7348
  if (s0 === peg$FAILED) {
7321
7349
  s0 = peg$currPos;
7322
- if (input.substr(peg$currPos, 6) === peg$c60) {
7323
- s1 = peg$c60;
7350
+ if (input.substr(peg$currPos, 6) === peg$c65) {
7351
+ s1 = peg$c65;
7324
7352
  peg$currPos += 6;
7325
7353
  }
7326
7354
  else {
7327
7355
  s1 = peg$FAILED;
7328
7356
  if (peg$silentFails === 0) {
7329
- peg$fail(peg$e66);
7357
+ peg$fail(peg$e70);
7330
7358
  }
7331
7359
  }
7332
7360
  if (s1 !== peg$FAILED) {
@@ -7335,7 +7363,7 @@ function peg$parse(input, options) {
7335
7363
  s3 = peg$parseBlockTag();
7336
7364
  if (s3 !== peg$FAILED) {
7337
7365
  peg$savedPos = s0;
7338
- s0 = peg$f83(s2);
7366
+ s0 = peg$f85(s2);
7339
7367
  }
7340
7368
  else {
7341
7369
  peg$currPos = s0;
@@ -7358,7 +7386,7 @@ function peg$parse(input, options) {
7358
7386
  s2 = peg$parseBlockTag();
7359
7387
  if (s2 !== peg$FAILED) {
7360
7388
  peg$savedPos = s0;
7361
- s0 = peg$f84(s1);
7389
+ s0 = peg$f86(s1);
7362
7390
  }
7363
7391
  else {
7364
7392
  peg$currPos = s0;
@@ -7445,7 +7473,7 @@ function peg$parse(input, options) {
7445
7473
  s3 = peg$parseBlockTag();
7446
7474
  if (s3 !== peg$FAILED) {
7447
7475
  peg$savedPos = s0;
7448
- s0 = peg$f85(s2);
7476
+ s0 = peg$f87(s2);
7449
7477
  }
7450
7478
  else {
7451
7479
  peg$currPos = s0;
@@ -7487,14 +7515,14 @@ function peg$parse(input, options) {
7487
7515
  function peg$parseRef() {
7488
7516
  var s0, s1, s2, s3, s4, s5, s6;
7489
7517
  s0 = peg$currPos;
7490
- if (input.substr(peg$currPos, 2) === peg$c61) {
7491
- s1 = peg$c61;
7518
+ if (input.substr(peg$currPos, 2) === peg$c66) {
7519
+ s1 = peg$c66;
7492
7520
  peg$currPos += 2;
7493
7521
  }
7494
7522
  else {
7495
7523
  s1 = peg$FAILED;
7496
7524
  if (peg$silentFails === 0) {
7497
- peg$fail(peg$e67);
7525
+ peg$fail(peg$e71);
7498
7526
  }
7499
7527
  }
7500
7528
  if (s1 !== peg$FAILED) {
@@ -7559,7 +7587,7 @@ function peg$parse(input, options) {
7559
7587
  }
7560
7588
  s2 = input.substring(s2, peg$currPos);
7561
7589
  peg$savedPos = s0;
7562
- s0 = peg$f86(s2);
7590
+ s0 = peg$f88(s2);
7563
7591
  }
7564
7592
  else {
7565
7593
  peg$currPos = s0;
@@ -7569,333 +7597,333 @@ function peg$parse(input, options) {
7569
7597
  }
7570
7598
  function peg$parseAlternativeStyleTags() {
7571
7599
  var s0;
7572
- if (input.substr(peg$currPos, 4) === peg$c62) {
7573
- s0 = peg$c62;
7600
+ if (input.substr(peg$currPos, 4) === peg$c67) {
7601
+ s0 = peg$c67;
7574
7602
  peg$currPos += 4;
7575
7603
  }
7576
7604
  else {
7577
7605
  s0 = peg$FAILED;
7578
7606
  if (peg$silentFails === 0) {
7579
- peg$fail(peg$e68);
7607
+ peg$fail(peg$e72);
7580
7608
  }
7581
7609
  }
7582
7610
  if (s0 === peg$FAILED) {
7583
- if (input.substr(peg$currPos, 6) === peg$c63) {
7584
- s0 = peg$c63;
7611
+ if (input.substr(peg$currPos, 6) === peg$c68) {
7612
+ s0 = peg$c68;
7585
7613
  peg$currPos += 6;
7586
7614
  }
7587
7615
  else {
7588
7616
  s0 = peg$FAILED;
7589
7617
  if (peg$silentFails === 0) {
7590
- peg$fail(peg$e69);
7618
+ peg$fail(peg$e73);
7591
7619
  }
7592
7620
  }
7593
7621
  if (s0 === peg$FAILED) {
7594
- if (input.substr(peg$currPos, 5) === peg$c64) {
7595
- s0 = peg$c64;
7622
+ if (input.substr(peg$currPos, 5) === peg$c69) {
7623
+ s0 = peg$c69;
7596
7624
  peg$currPos += 5;
7597
7625
  }
7598
7626
  else {
7599
7627
  s0 = peg$FAILED;
7600
7628
  if (peg$silentFails === 0) {
7601
- peg$fail(peg$e70);
7629
+ peg$fail(peg$e74);
7602
7630
  }
7603
7631
  }
7604
7632
  if (s0 === peg$FAILED) {
7605
- if (input.substr(peg$currPos, 9) === peg$c65) {
7606
- s0 = peg$c65;
7633
+ if (input.substr(peg$currPos, 9) === peg$c70) {
7634
+ s0 = peg$c70;
7607
7635
  peg$currPos += 9;
7608
7636
  }
7609
7637
  else {
7610
7638
  s0 = peg$FAILED;
7611
7639
  if (peg$silentFails === 0) {
7612
- peg$fail(peg$e71);
7640
+ peg$fail(peg$e75);
7613
7641
  }
7614
7642
  }
7615
7643
  if (s0 === peg$FAILED) {
7616
- if (input.substr(peg$currPos, 6) === peg$c66) {
7617
- s0 = peg$c66;
7644
+ if (input.substr(peg$currPos, 6) === peg$c71) {
7645
+ s0 = peg$c71;
7618
7646
  peg$currPos += 6;
7619
7647
  }
7620
7648
  else {
7621
7649
  s0 = peg$FAILED;
7622
7650
  if (peg$silentFails === 0) {
7623
- peg$fail(peg$e72);
7651
+ peg$fail(peg$e76);
7624
7652
  }
7625
7653
  }
7626
7654
  if (s0 === peg$FAILED) {
7627
- if (input.substr(peg$currPos, 9) === peg$c67) {
7628
- s0 = peg$c67;
7655
+ if (input.substr(peg$currPos, 9) === peg$c72) {
7656
+ s0 = peg$c72;
7629
7657
  peg$currPos += 9;
7630
7658
  }
7631
7659
  else {
7632
7660
  s0 = peg$FAILED;
7633
7661
  if (peg$silentFails === 0) {
7634
- peg$fail(peg$e73);
7662
+ peg$fail(peg$e77);
7635
7663
  }
7636
7664
  }
7637
7665
  if (s0 === peg$FAILED) {
7638
- if (input.substr(peg$currPos, 11) === peg$c68) {
7639
- s0 = peg$c68;
7666
+ if (input.substr(peg$currPos, 11) === peg$c73) {
7667
+ s0 = peg$c73;
7640
7668
  peg$currPos += 11;
7641
7669
  }
7642
7670
  else {
7643
7671
  s0 = peg$FAILED;
7644
7672
  if (peg$silentFails === 0) {
7645
- peg$fail(peg$e74);
7673
+ peg$fail(peg$e78);
7646
7674
  }
7647
7675
  }
7648
7676
  if (s0 === peg$FAILED) {
7649
- if (input.substr(peg$currPos, 3) === peg$c69) {
7650
- s0 = peg$c69;
7677
+ if (input.substr(peg$currPos, 3) === peg$c74) {
7678
+ s0 = peg$c74;
7651
7679
  peg$currPos += 3;
7652
7680
  }
7653
7681
  else {
7654
7682
  s0 = peg$FAILED;
7655
7683
  if (peg$silentFails === 0) {
7656
- peg$fail(peg$e75);
7684
+ peg$fail(peg$e79);
7657
7685
  }
7658
7686
  }
7659
7687
  if (s0 === peg$FAILED) {
7660
- if (input.substr(peg$currPos, 3) === peg$c70) {
7661
- s0 = peg$c70;
7688
+ if (input.substr(peg$currPos, 3) === peg$c75) {
7689
+ s0 = peg$c75;
7662
7690
  peg$currPos += 3;
7663
7691
  }
7664
7692
  else {
7665
7693
  s0 = peg$FAILED;
7666
7694
  if (peg$silentFails === 0) {
7667
- peg$fail(peg$e76);
7695
+ peg$fail(peg$e80);
7668
7696
  }
7669
7697
  }
7670
7698
  if (s0 === peg$FAILED) {
7671
- if (input.substr(peg$currPos, 9) === peg$c71) {
7672
- s0 = peg$c71;
7699
+ if (input.substr(peg$currPos, 9) === peg$c76) {
7700
+ s0 = peg$c76;
7673
7701
  peg$currPos += 9;
7674
7702
  }
7675
7703
  else {
7676
7704
  s0 = peg$FAILED;
7677
7705
  if (peg$silentFails === 0) {
7678
- peg$fail(peg$e77);
7706
+ peg$fail(peg$e81);
7679
7707
  }
7680
7708
  }
7681
7709
  if (s0 === peg$FAILED) {
7682
- if (input.substr(peg$currPos, 15) === peg$c72) {
7683
- s0 = peg$c72;
7710
+ if (input.substr(peg$currPos, 15) === peg$c77) {
7711
+ s0 = peg$c77;
7684
7712
  peg$currPos += 15;
7685
7713
  }
7686
7714
  else {
7687
7715
  s0 = peg$FAILED;
7688
7716
  if (peg$silentFails === 0) {
7689
- peg$fail(peg$e78);
7717
+ peg$fail(peg$e82);
7690
7718
  }
7691
7719
  }
7692
7720
  if (s0 === peg$FAILED) {
7693
- if (input.substr(peg$currPos, 6) === peg$c73) {
7694
- s0 = peg$c73;
7721
+ if (input.substr(peg$currPos, 6) === peg$c78) {
7722
+ s0 = peg$c78;
7695
7723
  peg$currPos += 6;
7696
7724
  }
7697
7725
  else {
7698
7726
  s0 = peg$FAILED;
7699
7727
  if (peg$silentFails === 0) {
7700
- peg$fail(peg$e79);
7728
+ peg$fail(peg$e83);
7701
7729
  }
7702
7730
  }
7703
7731
  if (s0 === peg$FAILED) {
7704
- if (input.substr(peg$currPos, 13) === peg$c74) {
7705
- s0 = peg$c74;
7732
+ if (input.substr(peg$currPos, 13) === peg$c79) {
7733
+ s0 = peg$c79;
7706
7734
  peg$currPos += 13;
7707
7735
  }
7708
7736
  else {
7709
7737
  s0 = peg$FAILED;
7710
7738
  if (peg$silentFails === 0) {
7711
- peg$fail(peg$e80);
7739
+ peg$fail(peg$e84);
7712
7740
  }
7713
7741
  }
7714
7742
  if (s0 === peg$FAILED) {
7715
- if (input.substr(peg$currPos, 16) === peg$c75) {
7716
- s0 = peg$c75;
7743
+ if (input.substr(peg$currPos, 16) === peg$c80) {
7744
+ s0 = peg$c80;
7717
7745
  peg$currPos += 16;
7718
7746
  }
7719
7747
  else {
7720
7748
  s0 = peg$FAILED;
7721
7749
  if (peg$silentFails === 0) {
7722
- peg$fail(peg$e81);
7750
+ peg$fail(peg$e85);
7723
7751
  }
7724
7752
  }
7725
7753
  if (s0 === peg$FAILED) {
7726
- if (input.substr(peg$currPos, 16) === peg$c76) {
7727
- s0 = peg$c76;
7754
+ if (input.substr(peg$currPos, 16) === peg$c81) {
7755
+ s0 = peg$c81;
7728
7756
  peg$currPos += 16;
7729
7757
  }
7730
7758
  else {
7731
7759
  s0 = peg$FAILED;
7732
7760
  if (peg$silentFails === 0) {
7733
- peg$fail(peg$e82);
7761
+ peg$fail(peg$e86);
7734
7762
  }
7735
7763
  }
7736
7764
  if (s0 === peg$FAILED) {
7737
- if (input.substr(peg$currPos, 15) === peg$c77) {
7738
- s0 = peg$c77;
7765
+ if (input.substr(peg$currPos, 15) === peg$c82) {
7766
+ s0 = peg$c82;
7739
7767
  peg$currPos += 15;
7740
7768
  }
7741
7769
  else {
7742
7770
  s0 = peg$FAILED;
7743
7771
  if (peg$silentFails === 0) {
7744
- peg$fail(peg$e83);
7772
+ peg$fail(peg$e87);
7745
7773
  }
7746
7774
  }
7747
7775
  if (s0 === peg$FAILED) {
7748
- if (input.substr(peg$currPos, 14) === peg$c78) {
7749
- s0 = peg$c78;
7776
+ if (input.substr(peg$currPos, 14) === peg$c83) {
7777
+ s0 = peg$c83;
7750
7778
  peg$currPos += 14;
7751
7779
  }
7752
7780
  else {
7753
7781
  s0 = peg$FAILED;
7754
7782
  if (peg$silentFails === 0) {
7755
- peg$fail(peg$e84);
7783
+ peg$fail(peg$e88);
7756
7784
  }
7757
7785
  }
7758
7786
  if (s0 === peg$FAILED) {
7759
- if (input.substr(peg$currPos, 16) === peg$c79) {
7760
- s0 = peg$c79;
7787
+ if (input.substr(peg$currPos, 16) === peg$c84) {
7788
+ s0 = peg$c84;
7761
7789
  peg$currPos += 16;
7762
7790
  }
7763
7791
  else {
7764
7792
  s0 = peg$FAILED;
7765
7793
  if (peg$silentFails === 0) {
7766
- peg$fail(peg$e85);
7794
+ peg$fail(peg$e89);
7767
7795
  }
7768
7796
  }
7769
7797
  if (s0 === peg$FAILED) {
7770
- if (input.substr(peg$currPos, 14) === peg$c80) {
7771
- s0 = peg$c80;
7798
+ if (input.substr(peg$currPos, 14) === peg$c85) {
7799
+ s0 = peg$c85;
7772
7800
  peg$currPos += 14;
7773
7801
  }
7774
7802
  else {
7775
7803
  s0 = peg$FAILED;
7776
7804
  if (peg$silentFails === 0) {
7777
- peg$fail(peg$e86);
7805
+ peg$fail(peg$e90);
7778
7806
  }
7779
7807
  }
7780
7808
  if (s0 === peg$FAILED) {
7781
- if (input.substr(peg$currPos, 15) === peg$c81) {
7782
- s0 = peg$c81;
7809
+ if (input.substr(peg$currPos, 15) === peg$c86) {
7810
+ s0 = peg$c86;
7783
7811
  peg$currPos += 15;
7784
7812
  }
7785
7813
  else {
7786
7814
  s0 = peg$FAILED;
7787
7815
  if (peg$silentFails === 0) {
7788
- peg$fail(peg$e87);
7816
+ peg$fail(peg$e91);
7789
7817
  }
7790
7818
  }
7791
7819
  if (s0 === peg$FAILED) {
7792
- if (input.substr(peg$currPos, 15) === peg$c82) {
7793
- s0 = peg$c82;
7820
+ if (input.substr(peg$currPos, 15) === peg$c87) {
7821
+ s0 = peg$c87;
7794
7822
  peg$currPos += 15;
7795
7823
  }
7796
7824
  else {
7797
7825
  s0 = peg$FAILED;
7798
7826
  if (peg$silentFails === 0) {
7799
- peg$fail(peg$e88);
7827
+ peg$fail(peg$e92);
7800
7828
  }
7801
7829
  }
7802
7830
  if (s0 === peg$FAILED) {
7803
- if (input.substr(peg$currPos, 15) === peg$c83) {
7804
- s0 = peg$c83;
7831
+ if (input.substr(peg$currPos, 15) === peg$c88) {
7832
+ s0 = peg$c88;
7805
7833
  peg$currPos += 15;
7806
7834
  }
7807
7835
  else {
7808
7836
  s0 = peg$FAILED;
7809
7837
  if (peg$silentFails === 0) {
7810
- peg$fail(peg$e89);
7838
+ peg$fail(peg$e93);
7811
7839
  }
7812
7840
  }
7813
7841
  if (s0 === peg$FAILED) {
7814
- if (input.substr(peg$currPos, 14) === peg$c84) {
7815
- s0 = peg$c84;
7842
+ if (input.substr(peg$currPos, 14) === peg$c89) {
7843
+ s0 = peg$c89;
7816
7844
  peg$currPos += 14;
7817
7845
  }
7818
7846
  else {
7819
7847
  s0 = peg$FAILED;
7820
7848
  if (peg$silentFails === 0) {
7821
- peg$fail(peg$e90);
7849
+ peg$fail(peg$e94);
7822
7850
  }
7823
7851
  }
7824
7852
  if (s0 === peg$FAILED) {
7825
- if (input.substr(peg$currPos, 10) === peg$c85) {
7826
- s0 = peg$c85;
7853
+ if (input.substr(peg$currPos, 10) === peg$c90) {
7854
+ s0 = peg$c90;
7827
7855
  peg$currPos += 10;
7828
7856
  }
7829
7857
  else {
7830
7858
  s0 = peg$FAILED;
7831
7859
  if (peg$silentFails === 0) {
7832
- peg$fail(peg$e91);
7860
+ peg$fail(peg$e95);
7833
7861
  }
7834
7862
  }
7835
7863
  if (s0 === peg$FAILED) {
7836
- if (input.substr(peg$currPos, 13) === peg$c86) {
7837
- s0 = peg$c86;
7864
+ if (input.substr(peg$currPos, 13) === peg$c91) {
7865
+ s0 = peg$c91;
7838
7866
  peg$currPos += 13;
7839
7867
  }
7840
7868
  else {
7841
7869
  s0 = peg$FAILED;
7842
7870
  if (peg$silentFails === 0) {
7843
- peg$fail(peg$e92);
7871
+ peg$fail(peg$e96);
7844
7872
  }
7845
7873
  }
7846
7874
  if (s0 === peg$FAILED) {
7847
- if (input.substr(peg$currPos, 19) === peg$c87) {
7848
- s0 = peg$c87;
7875
+ if (input.substr(peg$currPos, 19) === peg$c92) {
7876
+ s0 = peg$c92;
7849
7877
  peg$currPos += 19;
7850
7878
  }
7851
7879
  else {
7852
7880
  s0 = peg$FAILED;
7853
7881
  if (peg$silentFails === 0) {
7854
- peg$fail(peg$e93);
7882
+ peg$fail(peg$e97);
7855
7883
  }
7856
7884
  }
7857
7885
  if (s0 === peg$FAILED) {
7858
- if (input.substr(peg$currPos, 10) === peg$c88) {
7859
- s0 = peg$c88;
7886
+ if (input.substr(peg$currPos, 10) === peg$c93) {
7887
+ s0 = peg$c93;
7860
7888
  peg$currPos += 10;
7861
7889
  }
7862
7890
  else {
7863
7891
  s0 = peg$FAILED;
7864
7892
  if (peg$silentFails === 0) {
7865
- peg$fail(peg$e94);
7893
+ peg$fail(peg$e98);
7866
7894
  }
7867
7895
  }
7868
7896
  if (s0 === peg$FAILED) {
7869
- if (input.substr(peg$currPos, 10) === peg$c89) {
7870
- s0 = peg$c89;
7897
+ if (input.substr(peg$currPos, 10) === peg$c94) {
7898
+ s0 = peg$c94;
7871
7899
  peg$currPos += 10;
7872
7900
  }
7873
7901
  else {
7874
7902
  s0 = peg$FAILED;
7875
7903
  if (peg$silentFails === 0) {
7876
- peg$fail(peg$e95);
7904
+ peg$fail(peg$e99);
7877
7905
  }
7878
7906
  }
7879
7907
  if (s0 === peg$FAILED) {
7880
- if (input.substr(peg$currPos, 13) === peg$c90) {
7881
- s0 = peg$c90;
7908
+ if (input.substr(peg$currPos, 13) === peg$c95) {
7909
+ s0 = peg$c95;
7882
7910
  peg$currPos += 13;
7883
7911
  }
7884
7912
  else {
7885
7913
  s0 = peg$FAILED;
7886
7914
  if (peg$silentFails === 0) {
7887
- peg$fail(peg$e96);
7915
+ peg$fail(peg$e100);
7888
7916
  }
7889
7917
  }
7890
7918
  if (s0 === peg$FAILED) {
7891
- if (input.substr(peg$currPos, 11) === peg$c91) {
7892
- s0 = peg$c91;
7919
+ if (input.substr(peg$currPos, 11) === peg$c96) {
7920
+ s0 = peg$c96;
7893
7921
  peg$currPos += 11;
7894
7922
  }
7895
7923
  else {
7896
7924
  s0 = peg$FAILED;
7897
7925
  if (peg$silentFails === 0) {
7898
- peg$fail(peg$e97);
7926
+ peg$fail(peg$e101);
7899
7927
  }
7900
7928
  }
7901
7929
  }
@@ -7931,256 +7959,256 @@ function peg$parse(input, options) {
7931
7959
  }
7932
7960
  function peg$parseColor() {
7933
7961
  var s0;
7934
- if (input.substr(peg$currPos, 4) === peg$c92) {
7935
- s0 = peg$c92;
7962
+ if (input.substr(peg$currPos, 4) === peg$c97) {
7963
+ s0 = peg$c97;
7936
7964
  peg$currPos += 4;
7937
7965
  }
7938
7966
  else {
7939
7967
  s0 = peg$FAILED;
7940
7968
  if (peg$silentFails === 0) {
7941
- peg$fail(peg$e98);
7969
+ peg$fail(peg$e102);
7942
7970
  }
7943
7971
  }
7944
7972
  if (s0 === peg$FAILED) {
7945
- if (input.substr(peg$currPos, 5) === peg$c93) {
7946
- s0 = peg$c93;
7973
+ if (input.substr(peg$currPos, 5) === peg$c98) {
7974
+ s0 = peg$c98;
7947
7975
  peg$currPos += 5;
7948
7976
  }
7949
7977
  else {
7950
7978
  s0 = peg$FAILED;
7951
7979
  if (peg$silentFails === 0) {
7952
- peg$fail(peg$e99);
7980
+ peg$fail(peg$e103);
7953
7981
  }
7954
7982
  }
7955
7983
  if (s0 === peg$FAILED) {
7956
- if (input.substr(peg$currPos, 4) === peg$c94) {
7957
- s0 = peg$c94;
7984
+ if (input.substr(peg$currPos, 4) === peg$c99) {
7985
+ s0 = peg$c99;
7958
7986
  peg$currPos += 4;
7959
7987
  }
7960
7988
  else {
7961
7989
  s0 = peg$FAILED;
7962
7990
  if (peg$silentFails === 0) {
7963
- peg$fail(peg$e100);
7991
+ peg$fail(peg$e104);
7964
7992
  }
7965
7993
  }
7966
7994
  if (s0 === peg$FAILED) {
7967
- if (input.substr(peg$currPos, 5) === peg$c95) {
7968
- s0 = peg$c95;
7995
+ if (input.substr(peg$currPos, 5) === peg$c100) {
7996
+ s0 = peg$c100;
7969
7997
  peg$currPos += 5;
7970
7998
  }
7971
7999
  else {
7972
8000
  s0 = peg$FAILED;
7973
8001
  if (peg$silentFails === 0) {
7974
- peg$fail(peg$e101);
8002
+ peg$fail(peg$e105);
7975
8003
  }
7976
8004
  }
7977
8005
  if (s0 === peg$FAILED) {
7978
- if (input.substr(peg$currPos, 7) === peg$c96) {
7979
- s0 = peg$c96;
8006
+ if (input.substr(peg$currPos, 7) === peg$c101) {
8007
+ s0 = peg$c101;
7980
8008
  peg$currPos += 7;
7981
8009
  }
7982
8010
  else {
7983
8011
  s0 = peg$FAILED;
7984
8012
  if (peg$silentFails === 0) {
7985
- peg$fail(peg$e102);
8013
+ peg$fail(peg$e106);
7986
8014
  }
7987
8015
  }
7988
8016
  if (s0 === peg$FAILED) {
7989
- if (input.substr(peg$currPos, 9) === peg$c97) {
7990
- s0 = peg$c97;
8017
+ if (input.substr(peg$currPos, 9) === peg$c102) {
8018
+ s0 = peg$c102;
7991
8019
  peg$currPos += 9;
7992
8020
  }
7993
8021
  else {
7994
8022
  s0 = peg$FAILED;
7995
8023
  if (peg$silentFails === 0) {
7996
- peg$fail(peg$e103);
8024
+ peg$fail(peg$e107);
7997
8025
  }
7998
8026
  }
7999
8027
  if (s0 === peg$FAILED) {
8000
- if (input.substr(peg$currPos, 4) === peg$c98) {
8001
- s0 = peg$c98;
8028
+ if (input.substr(peg$currPos, 4) === peg$c103) {
8029
+ s0 = peg$c103;
8002
8030
  peg$currPos += 4;
8003
8031
  }
8004
8032
  else {
8005
8033
  s0 = peg$FAILED;
8006
8034
  if (peg$silentFails === 0) {
8007
- peg$fail(peg$e104);
8035
+ peg$fail(peg$e108);
8008
8036
  }
8009
8037
  }
8010
8038
  if (s0 === peg$FAILED) {
8011
- if (input.substr(peg$currPos, 8) === peg$c99) {
8012
- s0 = peg$c99;
8039
+ if (input.substr(peg$currPos, 8) === peg$c104) {
8040
+ s0 = peg$c104;
8013
8041
  peg$currPos += 8;
8014
8042
  }
8015
8043
  else {
8016
8044
  s0 = peg$FAILED;
8017
8045
  if (peg$silentFails === 0) {
8018
- peg$fail(peg$e105);
8046
+ peg$fail(peg$e109);
8019
8047
  }
8020
8048
  }
8021
8049
  if (s0 === peg$FAILED) {
8022
- if (input.substr(peg$currPos, 5) === peg$c100) {
8023
- s0 = peg$c100;
8050
+ if (input.substr(peg$currPos, 5) === peg$c105) {
8051
+ s0 = peg$c105;
8024
8052
  peg$currPos += 5;
8025
8053
  }
8026
8054
  else {
8027
8055
  s0 = peg$FAILED;
8028
8056
  if (peg$silentFails === 0) {
8029
- peg$fail(peg$e106);
8057
+ peg$fail(peg$e110);
8030
8058
  }
8031
8059
  }
8032
8060
  if (s0 === peg$FAILED) {
8033
- if (input.substr(peg$currPos, 4) === peg$c101) {
8034
- s0 = peg$c101;
8061
+ if (input.substr(peg$currPos, 4) === peg$c106) {
8062
+ s0 = peg$c106;
8035
8063
  peg$currPos += 4;
8036
8064
  }
8037
8065
  else {
8038
8066
  s0 = peg$FAILED;
8039
8067
  if (peg$silentFails === 0) {
8040
- peg$fail(peg$e107);
8068
+ peg$fail(peg$e111);
8041
8069
  }
8042
8070
  }
8043
8071
  if (s0 === peg$FAILED) {
8044
- if (input.substr(peg$currPos, 7) === peg$c102) {
8045
- s0 = peg$c102;
8072
+ if (input.substr(peg$currPos, 7) === peg$c107) {
8073
+ s0 = peg$c107;
8046
8074
  peg$currPos += 7;
8047
8075
  }
8048
8076
  else {
8049
8077
  s0 = peg$FAILED;
8050
8078
  if (peg$silentFails === 0) {
8051
- peg$fail(peg$e108);
8079
+ peg$fail(peg$e112);
8052
8080
  }
8053
8081
  }
8054
8082
  if (s0 === peg$FAILED) {
8055
- if (input.substr(peg$currPos, 6) === peg$c103) {
8056
- s0 = peg$c103;
8083
+ if (input.substr(peg$currPos, 6) === peg$c108) {
8084
+ s0 = peg$c108;
8057
8085
  peg$currPos += 6;
8058
8086
  }
8059
8087
  else {
8060
8088
  s0 = peg$FAILED;
8061
8089
  if (peg$silentFails === 0) {
8062
- peg$fail(peg$e109);
8090
+ peg$fail(peg$e113);
8063
8091
  }
8064
8092
  }
8065
8093
  if (s0 === peg$FAILED) {
8066
- if (input.substr(peg$currPos, 4) === peg$c104) {
8067
- s0 = peg$c104;
8094
+ if (input.substr(peg$currPos, 4) === peg$c109) {
8095
+ s0 = peg$c109;
8068
8096
  peg$currPos += 4;
8069
8097
  }
8070
8098
  else {
8071
8099
  s0 = peg$FAILED;
8072
8100
  if (peg$silentFails === 0) {
8073
- peg$fail(peg$e110);
8101
+ peg$fail(peg$e114);
8074
8102
  }
8075
8103
  }
8076
8104
  if (s0 === peg$FAILED) {
8077
- if (input.substr(peg$currPos, 5) === peg$c105) {
8078
- s0 = peg$c105;
8105
+ if (input.substr(peg$currPos, 5) === peg$c110) {
8106
+ s0 = peg$c110;
8079
8107
  peg$currPos += 5;
8080
8108
  }
8081
8109
  else {
8082
8110
  s0 = peg$FAILED;
8083
8111
  if (peg$silentFails === 0) {
8084
- peg$fail(peg$e111);
8112
+ peg$fail(peg$e115);
8085
8113
  }
8086
8114
  }
8087
8115
  if (s0 === peg$FAILED) {
8088
- if (input.substr(peg$currPos, 6) === peg$c106) {
8089
- s0 = peg$c106;
8116
+ if (input.substr(peg$currPos, 6) === peg$c111) {
8117
+ s0 = peg$c111;
8090
8118
  peg$currPos += 6;
8091
8119
  }
8092
8120
  else {
8093
8121
  s0 = peg$FAILED;
8094
8122
  if (peg$silentFails === 0) {
8095
- peg$fail(peg$e112);
8123
+ peg$fail(peg$e116);
8096
8124
  }
8097
8125
  }
8098
8126
  if (s0 === peg$FAILED) {
8099
- if (input.substr(peg$currPos, 4) === peg$c107) {
8100
- s0 = peg$c107;
8127
+ if (input.substr(peg$currPos, 4) === peg$c112) {
8128
+ s0 = peg$c112;
8101
8129
  peg$currPos += 4;
8102
8130
  }
8103
8131
  else {
8104
8132
  s0 = peg$FAILED;
8105
8133
  if (peg$silentFails === 0) {
8106
- peg$fail(peg$e113);
8134
+ peg$fail(peg$e117);
8107
8135
  }
8108
8136
  }
8109
8137
  if (s0 === peg$FAILED) {
8110
- if (input.substr(peg$currPos, 6) === peg$c108) {
8111
- s0 = peg$c108;
8138
+ if (input.substr(peg$currPos, 6) === peg$c113) {
8139
+ s0 = peg$c113;
8112
8140
  peg$currPos += 6;
8113
8141
  }
8114
8142
  else {
8115
8143
  s0 = peg$FAILED;
8116
8144
  if (peg$silentFails === 0) {
8117
- peg$fail(peg$e114);
8145
+ peg$fail(peg$e118);
8118
8146
  }
8119
8147
  }
8120
8148
  if (s0 === peg$FAILED) {
8121
- if (input.substr(peg$currPos, 3) === peg$c109) {
8122
- s0 = peg$c109;
8149
+ if (input.substr(peg$currPos, 3) === peg$c114) {
8150
+ s0 = peg$c114;
8123
8151
  peg$currPos += 3;
8124
8152
  }
8125
8153
  else {
8126
8154
  s0 = peg$FAILED;
8127
8155
  if (peg$silentFails === 0) {
8128
- peg$fail(peg$e115);
8156
+ peg$fail(peg$e119);
8129
8157
  }
8130
8158
  }
8131
8159
  if (s0 === peg$FAILED) {
8132
- if (input.substr(peg$currPos, 6) === peg$c110) {
8133
- s0 = peg$c110;
8160
+ if (input.substr(peg$currPos, 6) === peg$c115) {
8161
+ s0 = peg$c115;
8134
8162
  peg$currPos += 6;
8135
8163
  }
8136
8164
  else {
8137
8165
  s0 = peg$FAILED;
8138
8166
  if (peg$silentFails === 0) {
8139
- peg$fail(peg$e116);
8167
+ peg$fail(peg$e120);
8140
8168
  }
8141
8169
  }
8142
8170
  if (s0 === peg$FAILED) {
8143
- if (input.substr(peg$currPos, 4) === peg$c111) {
8144
- s0 = peg$c111;
8171
+ if (input.substr(peg$currPos, 4) === peg$c116) {
8172
+ s0 = peg$c116;
8145
8173
  peg$currPos += 4;
8146
8174
  }
8147
8175
  else {
8148
8176
  s0 = peg$FAILED;
8149
8177
  if (peg$silentFails === 0) {
8150
- peg$fail(peg$e117);
8178
+ peg$fail(peg$e121);
8151
8179
  }
8152
8180
  }
8153
8181
  if (s0 === peg$FAILED) {
8154
- if (input.substr(peg$currPos, 6) === peg$c112) {
8155
- s0 = peg$c112;
8182
+ if (input.substr(peg$currPos, 6) === peg$c117) {
8183
+ s0 = peg$c117;
8156
8184
  peg$currPos += 6;
8157
8185
  }
8158
8186
  else {
8159
8187
  s0 = peg$FAILED;
8160
8188
  if (peg$silentFails === 0) {
8161
- peg$fail(peg$e118);
8189
+ peg$fail(peg$e122);
8162
8190
  }
8163
8191
  }
8164
8192
  if (s0 === peg$FAILED) {
8165
- if (input.substr(peg$currPos, 5) === peg$c113) {
8166
- s0 = peg$c113;
8193
+ if (input.substr(peg$currPos, 5) === peg$c118) {
8194
+ s0 = peg$c118;
8167
8195
  peg$currPos += 5;
8168
8196
  }
8169
8197
  else {
8170
8198
  s0 = peg$FAILED;
8171
8199
  if (peg$silentFails === 0) {
8172
- peg$fail(peg$e119);
8200
+ peg$fail(peg$e123);
8173
8201
  }
8174
8202
  }
8175
8203
  if (s0 === peg$FAILED) {
8176
- if (input.substr(peg$currPos, 6) === peg$c114) {
8177
- s0 = peg$c114;
8204
+ if (input.substr(peg$currPos, 6) === peg$c119) {
8205
+ s0 = peg$c119;
8178
8206
  peg$currPos += 6;
8179
8207
  }
8180
8208
  else {
8181
8209
  s0 = peg$FAILED;
8182
8210
  if (peg$silentFails === 0) {
8183
- peg$fail(peg$e120);
8211
+ peg$fail(peg$e124);
8184
8212
  }
8185
8213
  }
8186
8214
  }
@@ -8213,12 +8241,12 @@ function peg$parse(input, options) {
8213
8241
  s0 = peg$currPos;
8214
8242
  s1 = peg$parsebitmarkMinusMinusString();
8215
8243
  peg$savedPos = s0;
8216
- s1 = peg$f87(s1);
8244
+ s1 = peg$f89(s1);
8217
8245
  s0 = s1;
8218
8246
  peg$silentFails--;
8219
8247
  s1 = peg$FAILED;
8220
8248
  if (peg$silentFails === 0) {
8221
- peg$fail(peg$e121);
8249
+ peg$fail(peg$e125);
8222
8250
  }
8223
8251
  return s0;
8224
8252
  }
@@ -8243,11 +8271,11 @@ function peg$parse(input, options) {
8243
8271
  }
8244
8272
  }
8245
8273
  peg$savedPos = s0;
8246
- s0 = peg$f88(s1, s2);
8274
+ s0 = peg$f90(s1, s2);
8247
8275
  peg$silentFails--;
8248
8276
  s1 = peg$FAILED;
8249
8277
  if (peg$silentFails === 0) {
8250
- peg$fail(peg$e122);
8278
+ peg$fail(peg$e126);
8251
8279
  }
8252
8280
  return s0;
8253
8281
  }
@@ -8257,7 +8285,7 @@ function peg$parse(input, options) {
8257
8285
  s1 = peg$parseNL();
8258
8286
  if (s1 !== peg$FAILED) {
8259
8287
  peg$savedPos = s0;
8260
- s1 = peg$f89();
8288
+ s1 = peg$f91();
8261
8289
  }
8262
8290
  s0 = s1;
8263
8291
  if (s0 === peg$FAILED) {
@@ -8400,7 +8428,7 @@ function peg$parse(input, options) {
8400
8428
  }
8401
8429
  if (s1 !== peg$FAILED) {
8402
8430
  peg$savedPos = s0;
8403
- s1 = peg$f90(s1);
8431
+ s1 = peg$f92(s1);
8404
8432
  }
8405
8433
  s0 = s1;
8406
8434
  }
@@ -8409,13 +8437,13 @@ function peg$parse(input, options) {
8409
8437
  function peg$parseBoldHalfTag() {
8410
8438
  var s0;
8411
8439
  if (input.charCodeAt(peg$currPos) === 42) {
8412
- s0 = peg$c115;
8440
+ s0 = peg$c120;
8413
8441
  peg$currPos++;
8414
8442
  }
8415
8443
  else {
8416
8444
  s0 = peg$FAILED;
8417
8445
  if (peg$silentFails === 0) {
8418
- peg$fail(peg$e123);
8446
+ peg$fail(peg$e127);
8419
8447
  }
8420
8448
  }
8421
8449
  return s0;
@@ -8423,13 +8451,13 @@ function peg$parse(input, options) {
8423
8451
  function peg$parseItalicHalfTag() {
8424
8452
  var s0;
8425
8453
  if (input.charCodeAt(peg$currPos) === 95) {
8426
- s0 = peg$c116;
8454
+ s0 = peg$c121;
8427
8455
  peg$currPos++;
8428
8456
  }
8429
8457
  else {
8430
8458
  s0 = peg$FAILED;
8431
8459
  if (peg$silentFails === 0) {
8432
- peg$fail(peg$e124);
8460
+ peg$fail(peg$e128);
8433
8461
  }
8434
8462
  }
8435
8463
  return s0;
@@ -8437,13 +8465,13 @@ function peg$parse(input, options) {
8437
8465
  function peg$parseLightHalfTag() {
8438
8466
  var s0;
8439
8467
  if (input.charCodeAt(peg$currPos) === 96) {
8440
- s0 = peg$c117;
8468
+ s0 = peg$c122;
8441
8469
  peg$currPos++;
8442
8470
  }
8443
8471
  else {
8444
8472
  s0 = peg$FAILED;
8445
8473
  if (peg$silentFails === 0) {
8446
- peg$fail(peg$e125);
8474
+ peg$fail(peg$e129);
8447
8475
  }
8448
8476
  }
8449
8477
  return s0;
@@ -8451,13 +8479,13 @@ function peg$parse(input, options) {
8451
8479
  function peg$parseHighlightHalfTag() {
8452
8480
  var s0;
8453
8481
  if (input.charCodeAt(peg$currPos) === 33) {
8454
- s0 = peg$c118;
8482
+ s0 = peg$c123;
8455
8483
  peg$currPos++;
8456
8484
  }
8457
8485
  else {
8458
8486
  s0 = peg$FAILED;
8459
8487
  if (peg$silentFails === 0) {
8460
- peg$fail(peg$e126);
8488
+ peg$fail(peg$e130);
8461
8489
  }
8462
8490
  }
8463
8491
  return s0;
@@ -8548,14 +8576,14 @@ function peg$parse(input, options) {
8548
8576
  }
8549
8577
  function peg$parseBodyBitOpenTag() {
8550
8578
  var s0;
8551
- if (input.substr(peg$currPos, 2) === peg$c119) {
8552
- s0 = peg$c119;
8579
+ if (input.substr(peg$currPos, 2) === peg$c124) {
8580
+ s0 = peg$c124;
8553
8581
  peg$currPos += 2;
8554
8582
  }
8555
8583
  else {
8556
8584
  s0 = peg$FAILED;
8557
8585
  if (peg$silentFails === 0) {
8558
- peg$fail(peg$e127);
8586
+ peg$fail(peg$e131);
8559
8587
  }
8560
8588
  }
8561
8589
  return s0;
@@ -8563,13 +8591,13 @@ function peg$parse(input, options) {
8563
8591
  function peg$parseBodyBitCloseTag() {
8564
8592
  var s0;
8565
8593
  if (input.charCodeAt(peg$currPos) === 93) {
8566
- s0 = peg$c120;
8594
+ s0 = peg$c125;
8567
8595
  peg$currPos++;
8568
8596
  }
8569
8597
  else {
8570
8598
  s0 = peg$FAILED;
8571
8599
  if (peg$silentFails === 0) {
8572
- peg$fail(peg$e128);
8600
+ peg$fail(peg$e132);
8573
8601
  }
8574
8602
  }
8575
8603
  return s0;
@@ -8619,7 +8647,7 @@ function peg$parse(input, options) {
8619
8647
  s3 = peg$parseBodyBitCloseTag();
8620
8648
  if (s3 !== peg$FAILED) {
8621
8649
  peg$savedPos = s0;
8622
- s0 = peg$f91(s2);
8650
+ s0 = peg$f93(s2);
8623
8651
  }
8624
8652
  else {
8625
8653
  peg$currPos = s0;
@@ -8720,7 +8748,7 @@ function peg$parse(input, options) {
8720
8748
  s3 = peg$parseBoldTag();
8721
8749
  if (s3 !== peg$FAILED) {
8722
8750
  peg$savedPos = s0;
8723
- s0 = peg$f92(s2);
8751
+ s0 = peg$f94(s2);
8724
8752
  }
8725
8753
  else {
8726
8754
  peg$currPos = s0;
@@ -8816,7 +8844,7 @@ function peg$parse(input, options) {
8816
8844
  s3 = peg$parseItalicTag();
8817
8845
  if (s3 !== peg$FAILED) {
8818
8846
  peg$savedPos = s0;
8819
- s0 = peg$f93(s2);
8847
+ s0 = peg$f95(s2);
8820
8848
  }
8821
8849
  else {
8822
8850
  peg$currPos = s0;
@@ -8912,7 +8940,7 @@ function peg$parse(input, options) {
8912
8940
  s3 = peg$parseLightTag();
8913
8941
  if (s3 !== peg$FAILED) {
8914
8942
  peg$savedPos = s0;
8915
- s0 = peg$f94(s2);
8943
+ s0 = peg$f96(s2);
8916
8944
  }
8917
8945
  else {
8918
8946
  peg$currPos = s0;
@@ -9008,7 +9036,7 @@ function peg$parse(input, options) {
9008
9036
  s3 = peg$parseHighlightTag();
9009
9037
  if (s3 !== peg$FAILED) {
9010
9038
  peg$savedPos = s0;
9011
- s0 = peg$f95(s2);
9039
+ s0 = peg$f97(s2);
9012
9040
  }
9013
9041
  else {
9014
9042
  peg$currPos = s0;
@@ -9103,35 +9131,35 @@ function peg$parse(input, options) {
9103
9131
  var s0, s1;
9104
9132
  peg$silentFails++;
9105
9133
  if (input.charCodeAt(peg$currPos) === 10) {
9106
- s0 = peg$c121;
9134
+ s0 = peg$c126;
9107
9135
  peg$currPos++;
9108
9136
  }
9109
9137
  else {
9110
9138
  s0 = peg$FAILED;
9111
9139
  if (peg$silentFails === 0) {
9112
- peg$fail(peg$e130);
9140
+ peg$fail(peg$e134);
9113
9141
  }
9114
9142
  }
9115
9143
  if (s0 === peg$FAILED) {
9116
- if (input.substr(peg$currPos, 2) === peg$c122) {
9117
- s0 = peg$c122;
9144
+ if (input.substr(peg$currPos, 2) === peg$c127) {
9145
+ s0 = peg$c127;
9118
9146
  peg$currPos += 2;
9119
9147
  }
9120
9148
  else {
9121
9149
  s0 = peg$FAILED;
9122
9150
  if (peg$silentFails === 0) {
9123
- peg$fail(peg$e131);
9151
+ peg$fail(peg$e135);
9124
9152
  }
9125
9153
  }
9126
9154
  if (s0 === peg$FAILED) {
9127
9155
  s0 = input.charAt(peg$currPos);
9128
- if (peg$r3.test(s0)) {
9156
+ if (peg$r2.test(s0)) {
9129
9157
  peg$currPos++;
9130
9158
  }
9131
9159
  else {
9132
9160
  s0 = peg$FAILED;
9133
9161
  if (peg$silentFails === 0) {
9134
- peg$fail(peg$e132);
9162
+ peg$fail(peg$e136);
9135
9163
  }
9136
9164
  }
9137
9165
  }
@@ -9140,7 +9168,7 @@ function peg$parse(input, options) {
9140
9168
  if (s0 === peg$FAILED) {
9141
9169
  s1 = peg$FAILED;
9142
9170
  if (peg$silentFails === 0) {
9143
- peg$fail(peg$e129);
9171
+ peg$fail(peg$e133);
9144
9172
  }
9145
9173
  }
9146
9174
  return s0;
@@ -9175,7 +9203,7 @@ function peg$parse(input, options) {
9175
9203
  peg$silentFails--;
9176
9204
  s1 = peg$FAILED;
9177
9205
  if (peg$silentFails === 0) {
9178
- peg$fail(peg$e133);
9206
+ peg$fail(peg$e137);
9179
9207
  }
9180
9208
  return s0;
9181
9209
  }
@@ -9199,7 +9227,7 @@ function peg$parse(input, options) {
9199
9227
  peg$silentFails--;
9200
9228
  s1 = peg$FAILED;
9201
9229
  if (peg$silentFails === 0) {
9202
- peg$fail(peg$e134);
9230
+ peg$fail(peg$e138);
9203
9231
  }
9204
9232
  return s0;
9205
9233
  }
@@ -9223,7 +9251,7 @@ function peg$parse(input, options) {
9223
9251
  if (s0 === peg$FAILED) {
9224
9252
  s1 = peg$FAILED;
9225
9253
  if (peg$silentFails === 0) {
9226
- peg$fail(peg$e135);
9254
+ peg$fail(peg$e139);
9227
9255
  }
9228
9256
  }
9229
9257
  return s0;
@@ -9232,20 +9260,20 @@ function peg$parse(input, options) {
9232
9260
  var s0, s1;
9233
9261
  peg$silentFails++;
9234
9262
  s0 = input.charAt(peg$currPos);
9235
- if (peg$r4.test(s0)) {
9263
+ if (peg$r3.test(s0)) {
9236
9264
  peg$currPos++;
9237
9265
  }
9238
9266
  else {
9239
9267
  s0 = peg$FAILED;
9240
9268
  if (peg$silentFails === 0) {
9241
- peg$fail(peg$e137);
9269
+ peg$fail(peg$e141);
9242
9270
  }
9243
9271
  }
9244
9272
  peg$silentFails--;
9245
9273
  if (s0 === peg$FAILED) {
9246
9274
  s1 = peg$FAILED;
9247
9275
  if (peg$silentFails === 0) {
9248
- peg$fail(peg$e136);
9276
+ peg$fail(peg$e140);
9249
9277
  }
9250
9278
  }
9251
9279
  return s0;
@@ -9253,13 +9281,13 @@ function peg$parse(input, options) {
9253
9281
  function peg$parseLineTerminator() {
9254
9282
  var s0;
9255
9283
  s0 = input.charAt(peg$currPos);
9256
- if (peg$r5.test(s0)) {
9284
+ if (peg$r4.test(s0)) {
9257
9285
  peg$currPos++;
9258
9286
  }
9259
9287
  else {
9260
9288
  s0 = peg$FAILED;
9261
9289
  if (peg$silentFails === 0) {
9262
- peg$fail(peg$e138);
9290
+ peg$fail(peg$e142);
9263
9291
  }
9264
9292
  }
9265
9293
  return s0;
@@ -9267,13 +9295,13 @@ function peg$parse(input, options) {
9267
9295
  function peg$parsechar() {
9268
9296
  var s0;
9269
9297
  s0 = input.charAt(peg$currPos);
9270
- if (peg$r6.test(s0)) {
9298
+ if (peg$r5.test(s0)) {
9271
9299
  peg$currPos++;
9272
9300
  }
9273
9301
  else {
9274
9302
  s0 = peg$FAILED;
9275
9303
  if (peg$silentFails === 0) {
9276
- peg$fail(peg$e139);
9304
+ peg$fail(peg$e143);
9277
9305
  }
9278
9306
  }
9279
9307
  return s0;
@@ -9281,13 +9309,13 @@ function peg$parse(input, options) {
9281
9309
  function peg$parseword() {
9282
9310
  var s0;
9283
9311
  s0 = input.charAt(peg$currPos);
9284
- if (peg$r7.test(s0)) {
9312
+ if (peg$r6.test(s0)) {
9285
9313
  peg$currPos++;
9286
9314
  }
9287
9315
  else {
9288
9316
  s0 = peg$FAILED;
9289
9317
  if (peg$silentFails === 0) {
9290
- peg$fail(peg$e140);
9318
+ peg$fail(peg$e144);
9291
9319
  }
9292
9320
  }
9293
9321
  return s0;
@@ -9323,38 +9351,38 @@ function peg$parse(input, options) {
9323
9351
  var s0, s1, s2, s3, s4, s5, s6, s7, s8;
9324
9352
  s0 = peg$currPos;
9325
9353
  s1 = peg$currPos;
9326
- if (input.substr(peg$currPos, 4) === peg$c123) {
9327
- s2 = peg$c123;
9354
+ if (input.substr(peg$currPos, 4) === peg$c128) {
9355
+ s2 = peg$c128;
9328
9356
  peg$currPos += 4;
9329
9357
  }
9330
9358
  else {
9331
9359
  s2 = peg$FAILED;
9332
9360
  if (peg$silentFails === 0) {
9333
- peg$fail(peg$e141);
9361
+ peg$fail(peg$e145);
9334
9362
  }
9335
9363
  }
9336
9364
  if (s2 !== peg$FAILED) {
9337
9365
  if (input.charCodeAt(peg$currPos) === 115) {
9338
- s3 = peg$c124;
9366
+ s3 = peg$c129;
9339
9367
  peg$currPos++;
9340
9368
  }
9341
9369
  else {
9342
9370
  s3 = peg$FAILED;
9343
9371
  if (peg$silentFails === 0) {
9344
- peg$fail(peg$e142);
9372
+ peg$fail(peg$e146);
9345
9373
  }
9346
9374
  }
9347
9375
  if (s3 === peg$FAILED) {
9348
9376
  s3 = null;
9349
9377
  }
9350
- if (input.substr(peg$currPos, 3) === peg$c125) {
9351
- s4 = peg$c125;
9378
+ if (input.substr(peg$currPos, 3) === peg$c130) {
9379
+ s4 = peg$c130;
9352
9380
  peg$currPos += 3;
9353
9381
  }
9354
9382
  else {
9355
9383
  s4 = peg$FAILED;
9356
9384
  if (peg$silentFails === 0) {
9357
- peg$fail(peg$e143);
9385
+ peg$fail(peg$e147);
9358
9386
  }
9359
9387
  }
9360
9388
  if (s4 !== peg$FAILED) {
@@ -9441,38 +9469,38 @@ function peg$parse(input, options) {
9441
9469
  s0 = peg$currPos;
9442
9470
  s1 = peg$currPos;
9443
9471
  s2 = peg$currPos;
9444
- if (input.substr(peg$currPos, 4) === peg$c123) {
9445
- s3 = peg$c123;
9472
+ if (input.substr(peg$currPos, 4) === peg$c128) {
9473
+ s3 = peg$c128;
9446
9474
  peg$currPos += 4;
9447
9475
  }
9448
9476
  else {
9449
9477
  s3 = peg$FAILED;
9450
9478
  if (peg$silentFails === 0) {
9451
- peg$fail(peg$e141);
9479
+ peg$fail(peg$e145);
9452
9480
  }
9453
9481
  }
9454
9482
  if (s3 !== peg$FAILED) {
9455
9483
  if (input.charCodeAt(peg$currPos) === 115) {
9456
- s4 = peg$c124;
9484
+ s4 = peg$c129;
9457
9485
  peg$currPos++;
9458
9486
  }
9459
9487
  else {
9460
9488
  s4 = peg$FAILED;
9461
9489
  if (peg$silentFails === 0) {
9462
- peg$fail(peg$e142);
9490
+ peg$fail(peg$e146);
9463
9491
  }
9464
9492
  }
9465
9493
  if (s4 === peg$FAILED) {
9466
9494
  s4 = null;
9467
9495
  }
9468
- if (input.substr(peg$currPos, 3) === peg$c125) {
9469
- s5 = peg$c125;
9496
+ if (input.substr(peg$currPos, 3) === peg$c130) {
9497
+ s5 = peg$c130;
9470
9498
  peg$currPos += 3;
9471
9499
  }
9472
9500
  else {
9473
9501
  s5 = peg$FAILED;
9474
9502
  if (peg$silentFails === 0) {
9475
- peg$fail(peg$e143);
9503
+ peg$fail(peg$e147);
9476
9504
  }
9477
9505
  }
9478
9506
  if (s5 !== peg$FAILED) {
@@ -9489,14 +9517,14 @@ function peg$parse(input, options) {
9489
9517
  s2 = peg$FAILED;
9490
9518
  }
9491
9519
  if (s2 === peg$FAILED) {
9492
- if (input.substr(peg$currPos, 7) === peg$c126) {
9493
- s2 = peg$c126;
9520
+ if (input.substr(peg$currPos, 7) === peg$c131) {
9521
+ s2 = peg$c131;
9494
9522
  peg$currPos += 7;
9495
9523
  }
9496
9524
  else {
9497
9525
  s2 = peg$FAILED;
9498
9526
  if (peg$silentFails === 0) {
9499
- peg$fail(peg$e144);
9527
+ peg$fail(peg$e148);
9500
9528
  }
9501
9529
  }
9502
9530
  }
@@ -9568,7 +9596,7 @@ function peg$parse(input, options) {
9568
9596
  }
9569
9597
  s2 = input.substring(s2, peg$currPos);
9570
9598
  peg$savedPos = s0;
9571
- s0 = peg$f96(s1, s2);
9599
+ s0 = peg$f98(s1, s2);
9572
9600
  }
9573
9601
  else {
9574
9602
  peg$currPos = s0;
@@ -9579,13 +9607,13 @@ function peg$parse(input, options) {
9579
9607
  function peg$parseUrlChars() {
9580
9608
  var s0;
9581
9609
  s0 = input.charAt(peg$currPos);
9582
- if (peg$r8.test(s0)) {
9610
+ if (peg$r7.test(s0)) {
9583
9611
  peg$currPos++;
9584
9612
  }
9585
9613
  else {
9586
9614
  s0 = peg$FAILED;
9587
9615
  if (peg$silentFails === 0) {
9588
- peg$fail(peg$e145);
9616
+ peg$fail(peg$e149);
9589
9617
  }
9590
9618
  }
9591
9619
  return s0;