@gmb/bitmark-parser-generator 4.8.0 → 4.9.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.
@@ -9133,7 +9133,7 @@ var instance2 = new Config();
9133
9133
  // src/generated/package_info.ts
9134
9134
  var PACKAGE_INFO = {
9135
9135
  "name": "@gmb/bitmark-parser-generator",
9136
- "version": "4.8.0",
9136
+ "version": "4.9.0",
9137
9137
  "author": "Get More Brain Ltd",
9138
9138
  "license": "ISC",
9139
9139
  "description": "A bitmark parser and generator using Peggy.js"
@@ -11631,7 +11631,7 @@ var TextGenerator = class extends AstWalkerGenerator {
11631
11631
  };
11632
11632
 
11633
11633
  // src/generated/parser/text/text-peggy-parser.js
11634
- var VERSION = "8.34.3";
11634
+ var VERSION = "8.35.0";
11635
11635
  function unbreakscape(str) {
11636
11636
  if (typeof str !== "string") return null;
11637
11637
  return instance3.unbreakscape(str);
@@ -11821,100 +11821,101 @@ function peg$parse(input, options) {
11821
11821
  const peg$c35 = "=";
11822
11822
  const peg$c36 = "|latex|";
11823
11823
  const peg$c37 = "|imageInline:";
11824
- const peg$c38 = "alignmentVertical";
11825
- const peg$c39 = "size";
11826
- const peg$c40 = "top";
11827
- const peg$c41 = "middle";
11828
- const peg$c42 = "bottom";
11829
- const peg$c43 = "baseline";
11830
- const peg$c44 = "sub";
11831
- const peg$c45 = "super";
11832
- const peg$c46 = "text-bottom";
11833
- const peg$c47 = "text-top";
11834
- const peg$c48 = "line-height";
11835
- const peg$c49 = "font-height";
11836
- const peg$c50 = "explicit";
11837
- const peg$c51 = "link:";
11838
- const peg$c52 = "extref:";
11839
- const peg$c53 = "provider:";
11840
- const peg$c54 = "xref:";
11841
- const peg$c55 = "\u25BA";
11842
- const peg$c56 = "symbol:";
11843
- const peg$c57 = "footnote:";
11844
- const peg$c58 = "footnote*:";
11845
- const peg$c59 = "var:";
11846
- const peg$c60 = "code:";
11847
- const peg$c61 = "timer";
11848
- const peg$c62 = "timer:";
11849
- const peg$c63 = "duration:";
11850
- const peg$c64 = "P";
11851
- const peg$c65 = "color:";
11852
- const peg$c66 = "|\u25BA";
11853
- const peg$c67 = "bold";
11854
- const peg$c68 = "italic";
11855
- const peg$c69 = "light";
11856
- const peg$c70 = "highlight";
11857
- const peg$c71 = "strike";
11858
- const peg$c72 = "subscript";
11859
- const peg$c73 = "superscript";
11860
- const peg$c74 = "ins";
11861
- const peg$c75 = "del";
11862
- const peg$c76 = "underline";
11863
- const peg$c77 = "doubleUnderline";
11864
- const peg$c78 = "circle";
11865
- const peg$c79 = "languageEmRed";
11866
- const peg$c80 = "languageEmOrange";
11867
- const peg$c81 = "languageEmYellow";
11868
- const peg$c82 = "languageEmGreen";
11869
- const peg$c83 = "languageEmBlue";
11870
- const peg$c84 = "languageEmPurple";
11871
- const peg$c85 = "languageEmPink";
11872
- const peg$c86 = "languageEmBrown";
11873
- const peg$c87 = "languageEmBlack";
11874
- const peg$c88 = "languageEmWhite";
11875
- const peg$c89 = "languageEmGray";
11876
- const peg$c90 = "languageEm";
11877
- const peg$c91 = "userUnderline";
11878
- const peg$c92 = "userDoubleUnderline";
11879
- const peg$c93 = "userStrike";
11880
- const peg$c94 = "userCircle";
11881
- const peg$c95 = "userHighlight";
11882
- const peg$c96 = "notranslate";
11883
- const peg$c97 = "aqua";
11884
- const peg$c98 = "black";
11885
- const peg$c99 = "blue";
11886
- const peg$c100 = "brown";
11887
- const peg$c101 = "fuchsia";
11888
- const peg$c102 = "lightgrey";
11889
- const peg$c103 = "gray";
11890
- const peg$c104 = "darkgray";
11891
- const peg$c105 = "green";
11892
- const peg$c106 = "lime";
11893
- const peg$c107 = "magenta";
11894
- const peg$c108 = "maroon";
11895
- const peg$c109 = "navy";
11896
- const peg$c110 = "olive";
11897
- const peg$c111 = "orange";
11898
- const peg$c112 = "pink";
11899
- const peg$c113 = "purple";
11900
- const peg$c114 = "red";
11901
- const peg$c115 = "silver";
11902
- const peg$c116 = "teal";
11903
- const peg$c117 = "violet";
11904
- const peg$c118 = "white";
11905
- const peg$c119 = "yellow";
11906
- const peg$c120 = "*";
11907
- const peg$c121 = "_";
11908
- const peg$c122 = "`";
11909
- const peg$c123 = "!";
11910
- const peg$c124 = "[!";
11911
- const peg$c125 = "]";
11912
- const peg$c126 = "\n";
11913
- const peg$c127 = "\r\n";
11914
- const peg$c128 = "http";
11915
- const peg$c129 = "s";
11916
- const peg$c130 = "://";
11917
- const peg$c131 = "mailto:";
11824
+ const peg$c38 = "srcAlt";
11825
+ const peg$c39 = "alignmentVertical";
11826
+ const peg$c40 = "size";
11827
+ const peg$c41 = "top";
11828
+ const peg$c42 = "middle";
11829
+ const peg$c43 = "bottom";
11830
+ const peg$c44 = "baseline";
11831
+ const peg$c45 = "sub";
11832
+ const peg$c46 = "super";
11833
+ const peg$c47 = "text-bottom";
11834
+ const peg$c48 = "text-top";
11835
+ const peg$c49 = "line-height";
11836
+ const peg$c50 = "font-height";
11837
+ const peg$c51 = "explicit";
11838
+ const peg$c52 = "link:";
11839
+ const peg$c53 = "extref:";
11840
+ const peg$c54 = "provider:";
11841
+ const peg$c55 = "xref:";
11842
+ const peg$c56 = "\u25BA";
11843
+ const peg$c57 = "symbol:";
11844
+ const peg$c58 = "footnote:";
11845
+ const peg$c59 = "footnote*:";
11846
+ const peg$c60 = "var:";
11847
+ const peg$c61 = "code:";
11848
+ const peg$c62 = "timer";
11849
+ const peg$c63 = "timer:";
11850
+ const peg$c64 = "duration:";
11851
+ const peg$c65 = "P";
11852
+ const peg$c66 = "color:";
11853
+ const peg$c67 = "|\u25BA";
11854
+ const peg$c68 = "bold";
11855
+ const peg$c69 = "italic";
11856
+ const peg$c70 = "light";
11857
+ const peg$c71 = "highlight";
11858
+ const peg$c72 = "strike";
11859
+ const peg$c73 = "subscript";
11860
+ const peg$c74 = "superscript";
11861
+ const peg$c75 = "ins";
11862
+ const peg$c76 = "del";
11863
+ const peg$c77 = "underline";
11864
+ const peg$c78 = "doubleUnderline";
11865
+ const peg$c79 = "circle";
11866
+ const peg$c80 = "languageEmRed";
11867
+ const peg$c81 = "languageEmOrange";
11868
+ const peg$c82 = "languageEmYellow";
11869
+ const peg$c83 = "languageEmGreen";
11870
+ const peg$c84 = "languageEmBlue";
11871
+ const peg$c85 = "languageEmPurple";
11872
+ const peg$c86 = "languageEmPink";
11873
+ const peg$c87 = "languageEmBrown";
11874
+ const peg$c88 = "languageEmBlack";
11875
+ const peg$c89 = "languageEmWhite";
11876
+ const peg$c90 = "languageEmGray";
11877
+ const peg$c91 = "languageEm";
11878
+ const peg$c92 = "userUnderline";
11879
+ const peg$c93 = "userDoubleUnderline";
11880
+ const peg$c94 = "userStrike";
11881
+ const peg$c95 = "userCircle";
11882
+ const peg$c96 = "userHighlight";
11883
+ const peg$c97 = "notranslate";
11884
+ const peg$c98 = "aqua";
11885
+ const peg$c99 = "black";
11886
+ const peg$c100 = "blue";
11887
+ const peg$c101 = "brown";
11888
+ const peg$c102 = "fuchsia";
11889
+ const peg$c103 = "lightgrey";
11890
+ const peg$c104 = "gray";
11891
+ const peg$c105 = "darkgray";
11892
+ const peg$c106 = "green";
11893
+ const peg$c107 = "lime";
11894
+ const peg$c108 = "magenta";
11895
+ const peg$c109 = "maroon";
11896
+ const peg$c110 = "navy";
11897
+ const peg$c111 = "olive";
11898
+ const peg$c112 = "orange";
11899
+ const peg$c113 = "pink";
11900
+ const peg$c114 = "purple";
11901
+ const peg$c115 = "red";
11902
+ const peg$c116 = "silver";
11903
+ const peg$c117 = "teal";
11904
+ const peg$c118 = "violet";
11905
+ const peg$c119 = "white";
11906
+ const peg$c120 = "yellow";
11907
+ const peg$c121 = "*";
11908
+ const peg$c122 = "_";
11909
+ const peg$c123 = "`";
11910
+ const peg$c124 = "!";
11911
+ const peg$c125 = "[!";
11912
+ const peg$c126 = "]";
11913
+ const peg$c127 = "\n";
11914
+ const peg$c128 = "\r\n";
11915
+ const peg$c129 = "http";
11916
+ const peg$c130 = "s";
11917
+ const peg$c131 = "://";
11918
+ const peg$c132 = "mailto:";
11918
11919
  const peg$r0 = /^[ \t]/;
11919
11920
  const peg$r1 = /^[0-9]/;
11920
11921
  const peg$r2 = /^[\r\u2028-\u2029]/;
@@ -11962,104 +11963,105 @@ function peg$parse(input, options) {
11962
11963
  const peg$e39 = peg$literalExpectation("=", false);
11963
11964
  const peg$e40 = peg$literalExpectation("|latex|", false);
11964
11965
  const peg$e41 = peg$literalExpectation("|imageInline:", false);
11965
- const peg$e42 = peg$literalExpectation("alignmentVertical", false);
11966
- const peg$e43 = peg$literalExpectation("size", false);
11967
- const peg$e44 = peg$literalExpectation("top", false);
11968
- const peg$e45 = peg$literalExpectation("middle", false);
11969
- const peg$e46 = peg$literalExpectation("bottom", false);
11970
- const peg$e47 = peg$literalExpectation("baseline", false);
11971
- const peg$e48 = peg$literalExpectation("sub", false);
11972
- const peg$e49 = peg$literalExpectation("super", false);
11973
- const peg$e50 = peg$literalExpectation("text-bottom", false);
11974
- const peg$e51 = peg$literalExpectation("text-top", false);
11975
- const peg$e52 = peg$literalExpectation("line-height", false);
11976
- const peg$e53 = peg$literalExpectation("font-height", false);
11977
- const peg$e54 = peg$literalExpectation("explicit", false);
11978
- const peg$e55 = peg$literalExpectation("link:", false);
11979
- const peg$e56 = peg$literalExpectation("extref:", false);
11980
- const peg$e57 = peg$literalExpectation("provider:", false);
11981
- const peg$e58 = peg$literalExpectation("xref:", false);
11982
- const peg$e59 = peg$literalExpectation("\u25BA", false);
11983
- const peg$e60 = peg$literalExpectation("symbol:", false);
11984
- const peg$e61 = peg$literalExpectation("footnote:", false);
11985
- const peg$e62 = peg$literalExpectation("footnote*:", false);
11986
- const peg$e63 = peg$literalExpectation("var:", false);
11987
- const peg$e64 = peg$literalExpectation("code:", false);
11988
- const peg$e65 = peg$literalExpectation("timer", false);
11989
- const peg$e66 = peg$literalExpectation("timer:", false);
11990
- const peg$e67 = peg$literalExpectation("duration:", false);
11991
- const peg$e68 = peg$literalExpectation("P", false);
11992
- const peg$e69 = peg$literalExpectation("color:", false);
11993
- const peg$e70 = peg$literalExpectation("|\u25BA", false);
11994
- const peg$e71 = peg$literalExpectation("bold", false);
11995
- const peg$e72 = peg$literalExpectation("italic", false);
11996
- const peg$e73 = peg$literalExpectation("light", false);
11997
- const peg$e74 = peg$literalExpectation("highlight", false);
11998
- const peg$e75 = peg$literalExpectation("strike", false);
11999
- const peg$e76 = peg$literalExpectation("subscript", false);
12000
- const peg$e77 = peg$literalExpectation("superscript", false);
12001
- const peg$e78 = peg$literalExpectation("ins", false);
12002
- const peg$e79 = peg$literalExpectation("del", false);
12003
- const peg$e80 = peg$literalExpectation("underline", false);
12004
- const peg$e81 = peg$literalExpectation("doubleUnderline", false);
12005
- const peg$e82 = peg$literalExpectation("circle", false);
12006
- const peg$e83 = peg$literalExpectation("languageEmRed", false);
12007
- const peg$e84 = peg$literalExpectation("languageEmOrange", false);
12008
- const peg$e85 = peg$literalExpectation("languageEmYellow", false);
12009
- const peg$e86 = peg$literalExpectation("languageEmGreen", false);
12010
- const peg$e87 = peg$literalExpectation("languageEmBlue", false);
12011
- const peg$e88 = peg$literalExpectation("languageEmPurple", false);
12012
- const peg$e89 = peg$literalExpectation("languageEmPink", false);
12013
- const peg$e90 = peg$literalExpectation("languageEmBrown", false);
12014
- const peg$e91 = peg$literalExpectation("languageEmBlack", false);
12015
- const peg$e92 = peg$literalExpectation("languageEmWhite", false);
12016
- const peg$e93 = peg$literalExpectation("languageEmGray", false);
12017
- const peg$e94 = peg$literalExpectation("languageEm", false);
12018
- const peg$e95 = peg$literalExpectation("userUnderline", false);
12019
- const peg$e96 = peg$literalExpectation("userDoubleUnderline", false);
12020
- const peg$e97 = peg$literalExpectation("userStrike", false);
12021
- const peg$e98 = peg$literalExpectation("userCircle", false);
12022
- const peg$e99 = peg$literalExpectation("userHighlight", false);
12023
- const peg$e100 = peg$literalExpectation("notranslate", false);
12024
- const peg$e101 = peg$literalExpectation("aqua", false);
12025
- const peg$e102 = peg$literalExpectation("black", false);
12026
- const peg$e103 = peg$literalExpectation("blue", false);
12027
- const peg$e104 = peg$literalExpectation("brown", false);
12028
- const peg$e105 = peg$literalExpectation("fuchsia", false);
12029
- const peg$e106 = peg$literalExpectation("lightgrey", false);
12030
- const peg$e107 = peg$literalExpectation("gray", false);
12031
- const peg$e108 = peg$literalExpectation("darkgray", false);
12032
- const peg$e109 = peg$literalExpectation("green", false);
12033
- const peg$e110 = peg$literalExpectation("lime", false);
12034
- const peg$e111 = peg$literalExpectation("magenta", false);
12035
- const peg$e112 = peg$literalExpectation("maroon", false);
12036
- const peg$e113 = peg$literalExpectation("navy", false);
12037
- const peg$e114 = peg$literalExpectation("olive", false);
12038
- const peg$e115 = peg$literalExpectation("orange", false);
12039
- const peg$e116 = peg$literalExpectation("pink", false);
12040
- const peg$e117 = peg$literalExpectation("purple", false);
12041
- const peg$e118 = peg$literalExpectation("red", false);
12042
- const peg$e119 = peg$literalExpectation("silver", false);
12043
- const peg$e120 = peg$literalExpectation("teal", false);
12044
- const peg$e121 = peg$literalExpectation("violet", false);
12045
- const peg$e122 = peg$literalExpectation("white", false);
12046
- const peg$e123 = peg$literalExpectation("yellow", false);
12047
- const peg$e124 = peg$literalExpectation("*", false);
12048
- const peg$e125 = peg$literalExpectation("_", false);
12049
- const peg$e126 = peg$literalExpectation("`", false);
12050
- const peg$e127 = peg$literalExpectation("!", false);
12051
- const peg$e128 = peg$literalExpectation("[!", false);
12052
- const peg$e129 = peg$literalExpectation("]", false);
12053
- const peg$e130 = peg$otherExpectation("Line Terminator");
12054
- const peg$e131 = peg$literalExpectation("\n", false);
12055
- const peg$e132 = peg$literalExpectation("\r\n", false);
12056
- const peg$e133 = peg$classExpectation(["\r", ["\u2028", "\u2029"]], false, false, false);
12057
- const peg$e134 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false, false);
12058
- const peg$e135 = peg$literalExpectation("http", false);
12059
- const peg$e136 = peg$literalExpectation("s", false);
12060
- const peg$e137 = peg$literalExpectation("://", false);
12061
- const peg$e138 = peg$literalExpectation("mailto:", false);
12062
- const peg$e139 = peg$classExpectation(["!", ["#", ";"], "=", ["?", "["], ["]", "_"], ["a", "{"], ["}", "~"]], false, false, false);
11966
+ const peg$e42 = peg$literalExpectation("srcAlt", false);
11967
+ const peg$e43 = peg$literalExpectation("alignmentVertical", false);
11968
+ const peg$e44 = peg$literalExpectation("size", false);
11969
+ const peg$e45 = peg$literalExpectation("top", false);
11970
+ const peg$e46 = peg$literalExpectation("middle", false);
11971
+ const peg$e47 = peg$literalExpectation("bottom", false);
11972
+ const peg$e48 = peg$literalExpectation("baseline", false);
11973
+ const peg$e49 = peg$literalExpectation("sub", false);
11974
+ const peg$e50 = peg$literalExpectation("super", false);
11975
+ const peg$e51 = peg$literalExpectation("text-bottom", false);
11976
+ const peg$e52 = peg$literalExpectation("text-top", false);
11977
+ const peg$e53 = peg$literalExpectation("line-height", false);
11978
+ const peg$e54 = peg$literalExpectation("font-height", false);
11979
+ const peg$e55 = peg$literalExpectation("explicit", false);
11980
+ const peg$e56 = peg$literalExpectation("link:", false);
11981
+ const peg$e57 = peg$literalExpectation("extref:", false);
11982
+ const peg$e58 = peg$literalExpectation("provider:", false);
11983
+ const peg$e59 = peg$literalExpectation("xref:", false);
11984
+ const peg$e60 = peg$literalExpectation("\u25BA", false);
11985
+ const peg$e61 = peg$literalExpectation("symbol:", false);
11986
+ const peg$e62 = peg$literalExpectation("footnote:", false);
11987
+ const peg$e63 = peg$literalExpectation("footnote*:", false);
11988
+ const peg$e64 = peg$literalExpectation("var:", false);
11989
+ const peg$e65 = peg$literalExpectation("code:", false);
11990
+ const peg$e66 = peg$literalExpectation("timer", false);
11991
+ const peg$e67 = peg$literalExpectation("timer:", false);
11992
+ const peg$e68 = peg$literalExpectation("duration:", false);
11993
+ const peg$e69 = peg$literalExpectation("P", false);
11994
+ const peg$e70 = peg$literalExpectation("color:", false);
11995
+ const peg$e71 = peg$literalExpectation("|\u25BA", false);
11996
+ const peg$e72 = peg$literalExpectation("bold", false);
11997
+ const peg$e73 = peg$literalExpectation("italic", false);
11998
+ const peg$e74 = peg$literalExpectation("light", false);
11999
+ const peg$e75 = peg$literalExpectation("highlight", false);
12000
+ const peg$e76 = peg$literalExpectation("strike", false);
12001
+ const peg$e77 = peg$literalExpectation("subscript", false);
12002
+ const peg$e78 = peg$literalExpectation("superscript", false);
12003
+ const peg$e79 = peg$literalExpectation("ins", false);
12004
+ const peg$e80 = peg$literalExpectation("del", false);
12005
+ const peg$e81 = peg$literalExpectation("underline", false);
12006
+ const peg$e82 = peg$literalExpectation("doubleUnderline", false);
12007
+ const peg$e83 = peg$literalExpectation("circle", false);
12008
+ const peg$e84 = peg$literalExpectation("languageEmRed", false);
12009
+ const peg$e85 = peg$literalExpectation("languageEmOrange", false);
12010
+ const peg$e86 = peg$literalExpectation("languageEmYellow", false);
12011
+ const peg$e87 = peg$literalExpectation("languageEmGreen", false);
12012
+ const peg$e88 = peg$literalExpectation("languageEmBlue", false);
12013
+ const peg$e89 = peg$literalExpectation("languageEmPurple", false);
12014
+ const peg$e90 = peg$literalExpectation("languageEmPink", false);
12015
+ const peg$e91 = peg$literalExpectation("languageEmBrown", false);
12016
+ const peg$e92 = peg$literalExpectation("languageEmBlack", false);
12017
+ const peg$e93 = peg$literalExpectation("languageEmWhite", false);
12018
+ const peg$e94 = peg$literalExpectation("languageEmGray", false);
12019
+ const peg$e95 = peg$literalExpectation("languageEm", false);
12020
+ const peg$e96 = peg$literalExpectation("userUnderline", false);
12021
+ const peg$e97 = peg$literalExpectation("userDoubleUnderline", false);
12022
+ const peg$e98 = peg$literalExpectation("userStrike", false);
12023
+ const peg$e99 = peg$literalExpectation("userCircle", false);
12024
+ const peg$e100 = peg$literalExpectation("userHighlight", false);
12025
+ const peg$e101 = peg$literalExpectation("notranslate", false);
12026
+ const peg$e102 = peg$literalExpectation("aqua", false);
12027
+ const peg$e103 = peg$literalExpectation("black", false);
12028
+ const peg$e104 = peg$literalExpectation("blue", false);
12029
+ const peg$e105 = peg$literalExpectation("brown", false);
12030
+ const peg$e106 = peg$literalExpectation("fuchsia", false);
12031
+ const peg$e107 = peg$literalExpectation("lightgrey", false);
12032
+ const peg$e108 = peg$literalExpectation("gray", false);
12033
+ const peg$e109 = peg$literalExpectation("darkgray", false);
12034
+ const peg$e110 = peg$literalExpectation("green", false);
12035
+ const peg$e111 = peg$literalExpectation("lime", false);
12036
+ const peg$e112 = peg$literalExpectation("magenta", false);
12037
+ const peg$e113 = peg$literalExpectation("maroon", false);
12038
+ const peg$e114 = peg$literalExpectation("navy", false);
12039
+ const peg$e115 = peg$literalExpectation("olive", false);
12040
+ const peg$e116 = peg$literalExpectation("orange", false);
12041
+ const peg$e117 = peg$literalExpectation("pink", false);
12042
+ const peg$e118 = peg$literalExpectation("purple", false);
12043
+ const peg$e119 = peg$literalExpectation("red", false);
12044
+ const peg$e120 = peg$literalExpectation("silver", false);
12045
+ const peg$e121 = peg$literalExpectation("teal", false);
12046
+ const peg$e122 = peg$literalExpectation("violet", false);
12047
+ const peg$e123 = peg$literalExpectation("white", false);
12048
+ const peg$e124 = peg$literalExpectation("yellow", false);
12049
+ const peg$e125 = peg$literalExpectation("*", false);
12050
+ const peg$e126 = peg$literalExpectation("_", false);
12051
+ const peg$e127 = peg$literalExpectation("`", false);
12052
+ const peg$e128 = peg$literalExpectation("!", false);
12053
+ const peg$e129 = peg$literalExpectation("[!", false);
12054
+ const peg$e130 = peg$literalExpectation("]", false);
12055
+ const peg$e131 = peg$otherExpectation("Line Terminator");
12056
+ const peg$e132 = peg$literalExpectation("\n", false);
12057
+ const peg$e133 = peg$literalExpectation("\r\n", false);
12058
+ const peg$e134 = peg$classExpectation(["\r", ["\u2028", "\u2029"]], false, false, false);
12059
+ const peg$e135 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false, false);
12060
+ const peg$e136 = peg$literalExpectation("http", false);
12061
+ const peg$e137 = peg$literalExpectation("s", false);
12062
+ const peg$e138 = peg$literalExpectation("://", false);
12063
+ const peg$e139 = peg$literalExpectation("mailto:", false);
12064
+ const peg$e140 = peg$classExpectation(["!", ["#", ";"], "=", ["?", "["], ["]", "_"], ["a", "{"], ["}", "~"]], false, false, false);
12063
12065
  function peg$f0() {
12064
12066
  return VERSION;
12065
12067
  }
@@ -12366,101 +12368,104 @@ function peg$parse(input, options) {
12366
12368
  return { comment: str };
12367
12369
  }
12368
12370
  function peg$f67(p, v) {
12369
- return { [p]: parseInt(v) };
12371
+ return { [p]: v };
12370
12372
  }
12371
12373
  function peg$f68(p, v) {
12372
- return { type: "error", msg: p + " must be a positive integer.", found: v };
12374
+ return { [p]: parseInt(v) };
12373
12375
  }
12374
12376
  function peg$f69(p, v) {
12375
- return { [p]: v };
12377
+ return { type: "error", msg: p + " must be a positive integer.", found: v };
12376
12378
  }
12377
12379
  function peg$f70(p, v) {
12378
12380
  return { [p]: v };
12379
12381
  }
12380
- function peg$f71(str) {
12382
+ function peg$f71(p, v) {
12383
+ return { [p]: v };
12384
+ }
12385
+ function peg$f72(str) {
12381
12386
  return { type: "link", attrs: { href: str.trim(), target: "_blank" } };
12382
12387
  }
12383
- function peg$f72(str, rc, p) {
12388
+ function peg$f73(str, rc, p) {
12384
12389
  return { type: "extref", attrs: { extref: str.trim(), references: rc, provider: p.trim() } };
12385
12390
  }
12386
- function peg$f73(str, str2) {
12391
+ function peg$f74(str, str2) {
12387
12392
  return { type: "xref", attrs: { xref: str.trim(), reference: str2.trim() } };
12388
12393
  }
12389
- function peg$f74(str) {
12394
+ function peg$f75(str) {
12390
12395
  return { type: "xref", attrs: { xref: str.trim(), reference: "" } };
12391
12396
  }
12392
- function peg$f75(str) {
12397
+ function peg$f76(str) {
12393
12398
  return { type: "ref", attrs: { reference: str.trim() } };
12394
12399
  }
12395
- function peg$f76(str, ch) {
12400
+ function peg$f77(str, ch) {
12396
12401
  const chain = Object.assign({}, ...ch);
12397
12402
  return { type: "symbol", attrs: { src: str.trim(), ...chain } };
12398
12403
  }
12399
- function peg$f77(str) {
12404
+ function peg$f78(str) {
12400
12405
  return { type: "footnote", attrs: { content: bitmarkPlusString(str.trim()) } };
12401
12406
  }
12402
- function peg$f78(str) {
12407
+ function peg$f79(str) {
12403
12408
  return { type: "footnote*", attrs: { content: bitmarkPlusString(str.trim()) } };
12404
12409
  }
12405
- function peg$f79(str) {
12410
+ function peg$f80(str) {
12406
12411
  return { type: "var", attrs: { name: str.trim() } };
12407
12412
  }
12408
- function peg$f80() {
12413
+ function peg$f81() {
12409
12414
  return { type: "code", attrs: { language: "plain text" } };
12410
12415
  }
12411
- function peg$f81(lang) {
12416
+ function peg$f82(lang) {
12412
12417
  return { type: "code", attrs: { language: lang.trim().toLowerCase() } };
12413
12418
  }
12414
- function peg$f82() {
12419
+ function peg$f83() {
12415
12420
  return { type: "timer", attrs: { name: "" } };
12416
12421
  }
12417
- function peg$f83(str) {
12422
+ function peg$f84(str) {
12418
12423
  return { type: "timer", attrs: { name: str.trim() } };
12419
12424
  }
12420
- function peg$f84(str) {
12425
+ function peg$f85(str) {
12421
12426
  return { type: "duration", attrs: { duration: str } };
12422
12427
  }
12423
- function peg$f85(color) {
12428
+ function peg$f86(color) {
12424
12429
  return { type: "color", attrs: { color } };
12425
12430
  }
12426
- function peg$f86(style) {
12431
+ function peg$f87(style) {
12427
12432
  return { type: style };
12428
12433
  }
12429
- function peg$f87(str) {
12434
+ function peg$f88(str) {
12430
12435
  return { type: "comment", comment: str };
12431
12436
  }
12432
- function peg$f88(r) {
12437
+ function peg$f89(r) {
12433
12438
  return r.trim();
12434
12439
  }
12435
- function peg$f89(bs) {
12440
+ function peg$f90(bs) {
12436
12441
  return [{ type: "paragraph", content: bs, attrs: {} }];
12437
12442
  }
12438
- function peg$f90(first, more) {
12443
+ function peg$f91(first, more) {
12439
12444
  const cleaned_ = cleanEmptyTextNodes(first ? [first, ...more.flat()] : more.flat());
12440
12445
  return cleaned_;
12441
12446
  }
12442
- function peg$f91() {
12447
+ function peg$f92() {
12443
12448
  return { "type": "hardBreak" };
12444
12449
  }
12445
- function peg$f92(t) {
12450
+ function peg$f93(t) {
12446
12451
  return { text: unbreakscape(t), type: "text" };
12447
12452
  }
12448
- function peg$f93(t) {
12453
+ function peg$f94(t) {
12449
12454
  return { index: +t, type: "bit" };
12450
12455
  }
12451
- function peg$f94(t) {
12456
+ function peg$f95(t) {
12452
12457
  return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" };
12453
12458
  }
12454
- function peg$f95(t) {
12459
+ function peg$f96(t) {
12455
12460
  return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" };
12456
12461
  }
12457
- function peg$f96(t) {
12462
+ function peg$f97(t) {
12458
12463
  return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" };
12459
12464
  }
12460
- function peg$f97(t) {
12465
+ function peg$f98(t) {
12461
12466
  return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" };
12462
12467
  }
12463
- function peg$f98(pr, t) {
12468
+ function peg$f99(pr, t) {
12464
12469
  return { pr, t };
12465
12470
  }
12466
12471
  let peg$currPos = options.peg$currPos | 0;
@@ -16642,7 +16647,15 @@ function peg$parse(input, options) {
16642
16647
  if (s1 === peg$FAILED) {
16643
16648
  s1 = null;
16644
16649
  }
16645
- s2 = peg$parseMediaSizeTags();
16650
+ if (input.substr(peg$currPos, 6) === peg$c38) {
16651
+ s2 = peg$c38;
16652
+ peg$currPos += 6;
16653
+ } else {
16654
+ s2 = peg$FAILED;
16655
+ if (peg$silentFails === 0) {
16656
+ peg$fail(peg$e42);
16657
+ }
16658
+ }
16646
16659
  if (s2 !== peg$FAILED) {
16647
16660
  if (input.charCodeAt(peg$currPos) === 58) {
16648
16661
  s3 = peg$c5;
@@ -16690,15 +16703,7 @@ function peg$parse(input, options) {
16690
16703
  s8 = peg$FAILED;
16691
16704
  }
16692
16705
  if (s8 !== peg$FAILED) {
16693
- s9 = input.charAt(peg$currPos);
16694
- if (peg$r1.test(s9)) {
16695
- peg$currPos++;
16696
- } else {
16697
- s9 = peg$FAILED;
16698
- if (peg$silentFails === 0) {
16699
- peg$fail(peg$e15);
16700
- }
16701
- }
16706
+ s9 = peg$parsechar();
16702
16707
  if (s9 !== peg$FAILED) {
16703
16708
  s8 = [s8, s9];
16704
16709
  s7 = s8;
@@ -16710,59 +16715,38 @@ function peg$parse(input, options) {
16710
16715
  peg$currPos = s7;
16711
16716
  s7 = peg$FAILED;
16712
16717
  }
16713
- if (s7 !== peg$FAILED) {
16714
- while (s7 !== peg$FAILED) {
16715
- s6.push(s7);
16716
- s7 = peg$currPos;
16717
- s8 = peg$currPos;
16718
- peg$silentFails++;
16719
- s9 = peg$parseBlockTag();
16720
- peg$silentFails--;
16721
- if (s9 === peg$FAILED) {
16722
- s8 = void 0;
16723
- } else {
16724
- peg$currPos = s8;
16725
- s8 = peg$FAILED;
16726
- }
16727
- if (s8 !== peg$FAILED) {
16728
- s9 = input.charAt(peg$currPos);
16729
- if (peg$r1.test(s9)) {
16730
- peg$currPos++;
16731
- } else {
16732
- s9 = peg$FAILED;
16733
- if (peg$silentFails === 0) {
16734
- peg$fail(peg$e15);
16735
- }
16736
- }
16737
- if (s9 !== peg$FAILED) {
16738
- s8 = [s8, s9];
16739
- s7 = s8;
16740
- } else {
16741
- peg$currPos = s7;
16742
- s7 = peg$FAILED;
16743
- }
16718
+ while (s7 !== peg$FAILED) {
16719
+ s6.push(s7);
16720
+ s7 = peg$currPos;
16721
+ s8 = peg$currPos;
16722
+ peg$silentFails++;
16723
+ s9 = peg$parseBlockTag();
16724
+ peg$silentFails--;
16725
+ if (s9 === peg$FAILED) {
16726
+ s8 = void 0;
16727
+ } else {
16728
+ peg$currPos = s8;
16729
+ s8 = peg$FAILED;
16730
+ }
16731
+ if (s8 !== peg$FAILED) {
16732
+ s9 = peg$parsechar();
16733
+ if (s9 !== peg$FAILED) {
16734
+ s8 = [s8, s9];
16735
+ s7 = s8;
16744
16736
  } else {
16745
16737
  peg$currPos = s7;
16746
16738
  s7 = peg$FAILED;
16747
16739
  }
16740
+ } else {
16741
+ peg$currPos = s7;
16742
+ s7 = peg$FAILED;
16748
16743
  }
16749
- } else {
16750
- s6 = peg$FAILED;
16751
16744
  }
16745
+ s5 = input.substring(s5, peg$currPos);
16746
+ s6 = peg$parseBlockTag();
16752
16747
  if (s6 !== peg$FAILED) {
16753
- s5 = input.substring(s5, peg$currPos);
16754
- } else {
16755
- s5 = s6;
16756
- }
16757
- if (s5 !== peg$FAILED) {
16758
- s6 = peg$parseBlockTag();
16759
- if (s6 !== peg$FAILED) {
16760
- peg$savedPos = s0;
16761
- s0 = peg$f67(s2, s5);
16762
- } else {
16763
- peg$currPos = s0;
16764
- s0 = peg$FAILED;
16765
- }
16748
+ peg$savedPos = s0;
16749
+ s0 = peg$f67(s2, s5);
16766
16750
  } else {
16767
16751
  peg$currPos = s0;
16768
16752
  s0 = peg$FAILED;
@@ -16837,7 +16821,15 @@ function peg$parse(input, options) {
16837
16821
  s8 = peg$FAILED;
16838
16822
  }
16839
16823
  if (s8 !== peg$FAILED) {
16840
- s9 = peg$parsechar();
16824
+ s9 = input.charAt(peg$currPos);
16825
+ if (peg$r1.test(s9)) {
16826
+ peg$currPos++;
16827
+ } else {
16828
+ s9 = peg$FAILED;
16829
+ if (peg$silentFails === 0) {
16830
+ peg$fail(peg$e15);
16831
+ }
16832
+ }
16841
16833
  if (s9 !== peg$FAILED) {
16842
16834
  s8 = [s8, s9];
16843
16835
  s7 = s8;
@@ -16849,38 +16841,59 @@ function peg$parse(input, options) {
16849
16841
  peg$currPos = s7;
16850
16842
  s7 = peg$FAILED;
16851
16843
  }
16852
- while (s7 !== peg$FAILED) {
16853
- s6.push(s7);
16854
- s7 = peg$currPos;
16855
- s8 = peg$currPos;
16856
- peg$silentFails++;
16857
- s9 = peg$parseBlockTag();
16858
- peg$silentFails--;
16859
- if (s9 === peg$FAILED) {
16860
- s8 = void 0;
16861
- } else {
16862
- peg$currPos = s8;
16863
- s8 = peg$FAILED;
16864
- }
16865
- if (s8 !== peg$FAILED) {
16866
- s9 = peg$parsechar();
16867
- if (s9 !== peg$FAILED) {
16868
- s8 = [s8, s9];
16869
- s7 = s8;
16844
+ if (s7 !== peg$FAILED) {
16845
+ while (s7 !== peg$FAILED) {
16846
+ s6.push(s7);
16847
+ s7 = peg$currPos;
16848
+ s8 = peg$currPos;
16849
+ peg$silentFails++;
16850
+ s9 = peg$parseBlockTag();
16851
+ peg$silentFails--;
16852
+ if (s9 === peg$FAILED) {
16853
+ s8 = void 0;
16854
+ } else {
16855
+ peg$currPos = s8;
16856
+ s8 = peg$FAILED;
16857
+ }
16858
+ if (s8 !== peg$FAILED) {
16859
+ s9 = input.charAt(peg$currPos);
16860
+ if (peg$r1.test(s9)) {
16861
+ peg$currPos++;
16862
+ } else {
16863
+ s9 = peg$FAILED;
16864
+ if (peg$silentFails === 0) {
16865
+ peg$fail(peg$e15);
16866
+ }
16867
+ }
16868
+ if (s9 !== peg$FAILED) {
16869
+ s8 = [s8, s9];
16870
+ s7 = s8;
16871
+ } else {
16872
+ peg$currPos = s7;
16873
+ s7 = peg$FAILED;
16874
+ }
16870
16875
  } else {
16871
16876
  peg$currPos = s7;
16872
16877
  s7 = peg$FAILED;
16873
16878
  }
16874
- } else {
16875
- peg$currPos = s7;
16876
- s7 = peg$FAILED;
16877
16879
  }
16880
+ } else {
16881
+ s6 = peg$FAILED;
16878
16882
  }
16879
- s5 = input.substring(s5, peg$currPos);
16880
- s6 = peg$parseBlockTag();
16881
16883
  if (s6 !== peg$FAILED) {
16882
- peg$savedPos = s0;
16883
- s0 = peg$f68(s2, s5);
16884
+ s5 = input.substring(s5, peg$currPos);
16885
+ } else {
16886
+ s5 = s6;
16887
+ }
16888
+ if (s5 !== peg$FAILED) {
16889
+ s6 = peg$parseBlockTag();
16890
+ if (s6 !== peg$FAILED) {
16891
+ peg$savedPos = s0;
16892
+ s0 = peg$f68(s2, s5);
16893
+ } else {
16894
+ peg$currPos = s0;
16895
+ s0 = peg$FAILED;
16896
+ }
16884
16897
  } else {
16885
16898
  peg$currPos = s0;
16886
16899
  s0 = peg$FAILED;
@@ -16907,15 +16920,7 @@ function peg$parse(input, options) {
16907
16920
  if (s1 === peg$FAILED) {
16908
16921
  s1 = null;
16909
16922
  }
16910
- if (input.substr(peg$currPos, 17) === peg$c38) {
16911
- s2 = peg$c38;
16912
- peg$currPos += 17;
16913
- } else {
16914
- s2 = peg$FAILED;
16915
- if (peg$silentFails === 0) {
16916
- peg$fail(peg$e42);
16917
- }
16918
- }
16923
+ s2 = peg$parseMediaSizeTags();
16919
16924
  if (s2 !== peg$FAILED) {
16920
16925
  if (input.charCodeAt(peg$currPos) === 58) {
16921
16926
  s3 = peg$c5;
@@ -16949,16 +16954,64 @@ function peg$parse(input, options) {
16949
16954
  }
16950
16955
  }
16951
16956
  }
16952
- s5 = peg$parseInlineMediaAlignment();
16953
- if (s5 !== peg$FAILED) {
16954
- s6 = peg$parseBlockTag();
16955
- if (s6 !== peg$FAILED) {
16956
- peg$savedPos = s0;
16957
- s0 = peg$f69(s2, s5);
16957
+ s5 = peg$currPos;
16958
+ s6 = [];
16959
+ s7 = peg$currPos;
16960
+ s8 = peg$currPos;
16961
+ peg$silentFails++;
16962
+ s9 = peg$parseBlockTag();
16963
+ peg$silentFails--;
16964
+ if (s9 === peg$FAILED) {
16965
+ s8 = void 0;
16966
+ } else {
16967
+ peg$currPos = s8;
16968
+ s8 = peg$FAILED;
16969
+ }
16970
+ if (s8 !== peg$FAILED) {
16971
+ s9 = peg$parsechar();
16972
+ if (s9 !== peg$FAILED) {
16973
+ s8 = [s8, s9];
16974
+ s7 = s8;
16958
16975
  } else {
16959
- peg$currPos = s0;
16960
- s0 = peg$FAILED;
16976
+ peg$currPos = s7;
16977
+ s7 = peg$FAILED;
16978
+ }
16979
+ } else {
16980
+ peg$currPos = s7;
16981
+ s7 = peg$FAILED;
16982
+ }
16983
+ while (s7 !== peg$FAILED) {
16984
+ s6.push(s7);
16985
+ s7 = peg$currPos;
16986
+ s8 = peg$currPos;
16987
+ peg$silentFails++;
16988
+ s9 = peg$parseBlockTag();
16989
+ peg$silentFails--;
16990
+ if (s9 === peg$FAILED) {
16991
+ s8 = void 0;
16992
+ } else {
16993
+ peg$currPos = s8;
16994
+ s8 = peg$FAILED;
16961
16995
  }
16996
+ if (s8 !== peg$FAILED) {
16997
+ s9 = peg$parsechar();
16998
+ if (s9 !== peg$FAILED) {
16999
+ s8 = [s8, s9];
17000
+ s7 = s8;
17001
+ } else {
17002
+ peg$currPos = s7;
17003
+ s7 = peg$FAILED;
17004
+ }
17005
+ } else {
17006
+ peg$currPos = s7;
17007
+ s7 = peg$FAILED;
17008
+ }
17009
+ }
17010
+ s5 = input.substring(s5, peg$currPos);
17011
+ s6 = peg$parseBlockTag();
17012
+ if (s6 !== peg$FAILED) {
17013
+ peg$savedPos = s0;
17014
+ s0 = peg$f69(s2, s5);
16962
17015
  } else {
16963
17016
  peg$currPos = s0;
16964
17017
  s0 = peg$FAILED;
@@ -16985,9 +17038,9 @@ function peg$parse(input, options) {
16985
17038
  if (s1 === peg$FAILED) {
16986
17039
  s1 = null;
16987
17040
  }
16988
- if (input.substr(peg$currPos, 4) === peg$c39) {
17041
+ if (input.substr(peg$currPos, 17) === peg$c39) {
16989
17042
  s2 = peg$c39;
16990
- peg$currPos += 4;
17043
+ peg$currPos += 17;
16991
17044
  } else {
16992
17045
  s2 = peg$FAILED;
16993
17046
  if (peg$silentFails === 0) {
@@ -17027,7 +17080,7 @@ function peg$parse(input, options) {
17027
17080
  }
17028
17081
  }
17029
17082
  }
17030
- s5 = peg$parseInlineMediaSize();
17083
+ s5 = peg$parseInlineMediaAlignment();
17031
17084
  if (s5 !== peg$FAILED) {
17032
17085
  s6 = peg$parseBlockTag();
17033
17086
  if (s6 !== peg$FAILED) {
@@ -17049,6 +17102,85 @@ function peg$parse(input, options) {
17049
17102
  peg$currPos = s0;
17050
17103
  s0 = peg$FAILED;
17051
17104
  }
17105
+ if (s0 === peg$FAILED) {
17106
+ s0 = peg$currPos;
17107
+ if (input.charCodeAt(peg$currPos) === 64) {
17108
+ s1 = peg$c22;
17109
+ peg$currPos++;
17110
+ } else {
17111
+ s1 = peg$FAILED;
17112
+ if (peg$silentFails === 0) {
17113
+ peg$fail(peg$e26);
17114
+ }
17115
+ }
17116
+ if (s1 === peg$FAILED) {
17117
+ s1 = null;
17118
+ }
17119
+ if (input.substr(peg$currPos, 4) === peg$c40) {
17120
+ s2 = peg$c40;
17121
+ peg$currPos += 4;
17122
+ } else {
17123
+ s2 = peg$FAILED;
17124
+ if (peg$silentFails === 0) {
17125
+ peg$fail(peg$e44);
17126
+ }
17127
+ }
17128
+ if (s2 !== peg$FAILED) {
17129
+ if (input.charCodeAt(peg$currPos) === 58) {
17130
+ s3 = peg$c5;
17131
+ peg$currPos++;
17132
+ } else {
17133
+ s3 = peg$FAILED;
17134
+ if (peg$silentFails === 0) {
17135
+ peg$fail(peg$e8);
17136
+ }
17137
+ }
17138
+ if (s3 !== peg$FAILED) {
17139
+ s4 = [];
17140
+ if (input.charCodeAt(peg$currPos) === 32) {
17141
+ s5 = peg$c12;
17142
+ peg$currPos++;
17143
+ } else {
17144
+ s5 = peg$FAILED;
17145
+ if (peg$silentFails === 0) {
17146
+ peg$fail(peg$e16);
17147
+ }
17148
+ }
17149
+ while (s5 !== peg$FAILED) {
17150
+ s4.push(s5);
17151
+ if (input.charCodeAt(peg$currPos) === 32) {
17152
+ s5 = peg$c12;
17153
+ peg$currPos++;
17154
+ } else {
17155
+ s5 = peg$FAILED;
17156
+ if (peg$silentFails === 0) {
17157
+ peg$fail(peg$e16);
17158
+ }
17159
+ }
17160
+ }
17161
+ s5 = peg$parseInlineMediaSize();
17162
+ if (s5 !== peg$FAILED) {
17163
+ s6 = peg$parseBlockTag();
17164
+ if (s6 !== peg$FAILED) {
17165
+ peg$savedPos = s0;
17166
+ s0 = peg$f71(s2, s5);
17167
+ } else {
17168
+ peg$currPos = s0;
17169
+ s0 = peg$FAILED;
17170
+ }
17171
+ } else {
17172
+ peg$currPos = s0;
17173
+ s0 = peg$FAILED;
17174
+ }
17175
+ } else {
17176
+ peg$currPos = s0;
17177
+ s0 = peg$FAILED;
17178
+ }
17179
+ } else {
17180
+ peg$currPos = s0;
17181
+ s0 = peg$FAILED;
17182
+ }
17183
+ }
17052
17184
  }
17053
17185
  }
17054
17186
  }
@@ -17057,83 +17189,83 @@ function peg$parse(input, options) {
17057
17189
  }
17058
17190
  function peg$parseInlineMediaAlignment() {
17059
17191
  let s0;
17060
- if (input.substr(peg$currPos, 3) === peg$c40) {
17061
- s0 = peg$c40;
17192
+ if (input.substr(peg$currPos, 3) === peg$c41) {
17193
+ s0 = peg$c41;
17062
17194
  peg$currPos += 3;
17063
17195
  } else {
17064
17196
  s0 = peg$FAILED;
17065
17197
  if (peg$silentFails === 0) {
17066
- peg$fail(peg$e44);
17198
+ peg$fail(peg$e45);
17067
17199
  }
17068
17200
  }
17069
17201
  if (s0 === peg$FAILED) {
17070
- if (input.substr(peg$currPos, 6) === peg$c41) {
17071
- s0 = peg$c41;
17202
+ if (input.substr(peg$currPos, 6) === peg$c42) {
17203
+ s0 = peg$c42;
17072
17204
  peg$currPos += 6;
17073
17205
  } else {
17074
17206
  s0 = peg$FAILED;
17075
17207
  if (peg$silentFails === 0) {
17076
- peg$fail(peg$e45);
17208
+ peg$fail(peg$e46);
17077
17209
  }
17078
17210
  }
17079
17211
  if (s0 === peg$FAILED) {
17080
- if (input.substr(peg$currPos, 6) === peg$c42) {
17081
- s0 = peg$c42;
17212
+ if (input.substr(peg$currPos, 6) === peg$c43) {
17213
+ s0 = peg$c43;
17082
17214
  peg$currPos += 6;
17083
17215
  } else {
17084
17216
  s0 = peg$FAILED;
17085
17217
  if (peg$silentFails === 0) {
17086
- peg$fail(peg$e46);
17218
+ peg$fail(peg$e47);
17087
17219
  }
17088
17220
  }
17089
17221
  if (s0 === peg$FAILED) {
17090
- if (input.substr(peg$currPos, 8) === peg$c43) {
17091
- s0 = peg$c43;
17222
+ if (input.substr(peg$currPos, 8) === peg$c44) {
17223
+ s0 = peg$c44;
17092
17224
  peg$currPos += 8;
17093
17225
  } else {
17094
17226
  s0 = peg$FAILED;
17095
17227
  if (peg$silentFails === 0) {
17096
- peg$fail(peg$e47);
17228
+ peg$fail(peg$e48);
17097
17229
  }
17098
17230
  }
17099
17231
  if (s0 === peg$FAILED) {
17100
- if (input.substr(peg$currPos, 3) === peg$c44) {
17101
- s0 = peg$c44;
17232
+ if (input.substr(peg$currPos, 3) === peg$c45) {
17233
+ s0 = peg$c45;
17102
17234
  peg$currPos += 3;
17103
17235
  } else {
17104
17236
  s0 = peg$FAILED;
17105
17237
  if (peg$silentFails === 0) {
17106
- peg$fail(peg$e48);
17238
+ peg$fail(peg$e49);
17107
17239
  }
17108
17240
  }
17109
17241
  if (s0 === peg$FAILED) {
17110
- if (input.substr(peg$currPos, 5) === peg$c45) {
17111
- s0 = peg$c45;
17242
+ if (input.substr(peg$currPos, 5) === peg$c46) {
17243
+ s0 = peg$c46;
17112
17244
  peg$currPos += 5;
17113
17245
  } else {
17114
17246
  s0 = peg$FAILED;
17115
17247
  if (peg$silentFails === 0) {
17116
- peg$fail(peg$e49);
17248
+ peg$fail(peg$e50);
17117
17249
  }
17118
17250
  }
17119
17251
  if (s0 === peg$FAILED) {
17120
- if (input.substr(peg$currPos, 11) === peg$c46) {
17121
- s0 = peg$c46;
17252
+ if (input.substr(peg$currPos, 11) === peg$c47) {
17253
+ s0 = peg$c47;
17122
17254
  peg$currPos += 11;
17123
17255
  } else {
17124
17256
  s0 = peg$FAILED;
17125
17257
  if (peg$silentFails === 0) {
17126
- peg$fail(peg$e50);
17258
+ peg$fail(peg$e51);
17127
17259
  }
17128
17260
  }
17129
17261
  if (s0 === peg$FAILED) {
17130
- if (input.substr(peg$currPos, 8) === peg$c47) {
17131
- s0 = peg$c47;
17262
+ if (input.substr(peg$currPos, 8) === peg$c48) {
17263
+ s0 = peg$c48;
17132
17264
  peg$currPos += 8;
17133
17265
  } else {
17134
17266
  s0 = peg$FAILED;
17135
17267
  if (peg$silentFails === 0) {
17136
- peg$fail(peg$e51);
17268
+ peg$fail(peg$e52);
17137
17269
  }
17138
17270
  }
17139
17271
  }
@@ -17147,53 +17279,53 @@ function peg$parse(input, options) {
17147
17279
  }
17148
17280
  function peg$parseInlineMediaSize() {
17149
17281
  let s0;
17150
- if (input.substr(peg$currPos, 11) === peg$c48) {
17151
- s0 = peg$c48;
17282
+ if (input.substr(peg$currPos, 11) === peg$c49) {
17283
+ s0 = peg$c49;
17152
17284
  peg$currPos += 11;
17153
17285
  } else {
17154
17286
  s0 = peg$FAILED;
17155
17287
  if (peg$silentFails === 0) {
17156
- peg$fail(peg$e52);
17288
+ peg$fail(peg$e53);
17157
17289
  }
17158
17290
  }
17159
17291
  if (s0 === peg$FAILED) {
17160
- if (input.substr(peg$currPos, 11) === peg$c49) {
17161
- s0 = peg$c49;
17292
+ if (input.substr(peg$currPos, 11) === peg$c50) {
17293
+ s0 = peg$c50;
17162
17294
  peg$currPos += 11;
17163
17295
  } else {
17164
17296
  s0 = peg$FAILED;
17165
17297
  if (peg$silentFails === 0) {
17166
- peg$fail(peg$e53);
17298
+ peg$fail(peg$e54);
17167
17299
  }
17168
17300
  }
17169
17301
  if (s0 === peg$FAILED) {
17170
- if (input.substr(peg$currPos, 5) === peg$c45) {
17171
- s0 = peg$c45;
17302
+ if (input.substr(peg$currPos, 5) === peg$c46) {
17303
+ s0 = peg$c46;
17172
17304
  peg$currPos += 5;
17173
17305
  } else {
17174
17306
  s0 = peg$FAILED;
17175
17307
  if (peg$silentFails === 0) {
17176
- peg$fail(peg$e49);
17308
+ peg$fail(peg$e50);
17177
17309
  }
17178
17310
  }
17179
17311
  if (s0 === peg$FAILED) {
17180
- if (input.substr(peg$currPos, 3) === peg$c44) {
17181
- s0 = peg$c44;
17312
+ if (input.substr(peg$currPos, 3) === peg$c45) {
17313
+ s0 = peg$c45;
17182
17314
  peg$currPos += 3;
17183
17315
  } else {
17184
17316
  s0 = peg$FAILED;
17185
17317
  if (peg$silentFails === 0) {
17186
- peg$fail(peg$e48);
17318
+ peg$fail(peg$e49);
17187
17319
  }
17188
17320
  }
17189
17321
  if (s0 === peg$FAILED) {
17190
- if (input.substr(peg$currPos, 8) === peg$c50) {
17191
- s0 = peg$c50;
17322
+ if (input.substr(peg$currPos, 8) === peg$c51) {
17323
+ s0 = peg$c51;
17192
17324
  peg$currPos += 8;
17193
17325
  } else {
17194
17326
  s0 = peg$FAILED;
17195
17327
  if (peg$silentFails === 0) {
17196
- peg$fail(peg$e54);
17328
+ peg$fail(peg$e55);
17197
17329
  }
17198
17330
  }
17199
17331
  }
@@ -17205,13 +17337,13 @@ function peg$parse(input, options) {
17205
17337
  function peg$parseAttrChainItem() {
17206
17338
  let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
17207
17339
  s0 = peg$currPos;
17208
- if (input.substr(peg$currPos, 5) === peg$c51) {
17209
- s1 = peg$c51;
17340
+ if (input.substr(peg$currPos, 5) === peg$c52) {
17341
+ s1 = peg$c52;
17210
17342
  peg$currPos += 5;
17211
17343
  } else {
17212
17344
  s1 = peg$FAILED;
17213
17345
  if (peg$silentFails === 0) {
17214
- peg$fail(peg$e55);
17346
+ peg$fail(peg$e56);
17215
17347
  }
17216
17348
  }
17217
17349
  if (s1 !== peg$FAILED) {
@@ -17272,7 +17404,7 @@ function peg$parse(input, options) {
17272
17404
  s3 = peg$parseBlockTag();
17273
17405
  if (s3 !== peg$FAILED) {
17274
17406
  peg$savedPos = s0;
17275
- s0 = peg$f71(s2);
17407
+ s0 = peg$f72(s2);
17276
17408
  } else {
17277
17409
  peg$currPos = s0;
17278
17410
  s0 = peg$FAILED;
@@ -17283,13 +17415,13 @@ function peg$parse(input, options) {
17283
17415
  }
17284
17416
  if (s0 === peg$FAILED) {
17285
17417
  s0 = peg$currPos;
17286
- if (input.substr(peg$currPos, 7) === peg$c52) {
17287
- s1 = peg$c52;
17418
+ if (input.substr(peg$currPos, 7) === peg$c53) {
17419
+ s1 = peg$c53;
17288
17420
  peg$currPos += 7;
17289
17421
  } else {
17290
17422
  s1 = peg$FAILED;
17291
17423
  if (peg$silentFails === 0) {
17292
- peg$fail(peg$e56);
17424
+ peg$fail(peg$e57);
17293
17425
  }
17294
17426
  }
17295
17427
  if (s1 !== peg$FAILED) {
@@ -17350,13 +17482,13 @@ function peg$parse(input, options) {
17350
17482
  s3 = peg$parseRefsChain();
17351
17483
  s4 = peg$parseBlockTag();
17352
17484
  if (s4 !== peg$FAILED) {
17353
- if (input.substr(peg$currPos, 9) === peg$c53) {
17354
- s5 = peg$c53;
17485
+ if (input.substr(peg$currPos, 9) === peg$c54) {
17486
+ s5 = peg$c54;
17355
17487
  peg$currPos += 9;
17356
17488
  } else {
17357
17489
  s5 = peg$FAILED;
17358
17490
  if (peg$silentFails === 0) {
17359
- peg$fail(peg$e57);
17491
+ peg$fail(peg$e58);
17360
17492
  }
17361
17493
  }
17362
17494
  if (s5 !== peg$FAILED) {
@@ -17417,7 +17549,7 @@ function peg$parse(input, options) {
17417
17549
  s7 = peg$parseBlockTag();
17418
17550
  if (s7 !== peg$FAILED) {
17419
17551
  peg$savedPos = s0;
17420
- s0 = peg$f72(s2, s3, s6);
17552
+ s0 = peg$f73(s2, s3, s6);
17421
17553
  } else {
17422
17554
  peg$currPos = s0;
17423
17555
  s0 = peg$FAILED;
@@ -17436,13 +17568,13 @@ function peg$parse(input, options) {
17436
17568
  }
17437
17569
  if (s0 === peg$FAILED) {
17438
17570
  s0 = peg$currPos;
17439
- if (input.substr(peg$currPos, 5) === peg$c54) {
17440
- s1 = peg$c54;
17571
+ if (input.substr(peg$currPos, 5) === peg$c55) {
17572
+ s1 = peg$c55;
17441
17573
  peg$currPos += 5;
17442
17574
  } else {
17443
17575
  s1 = peg$FAILED;
17444
17576
  if (peg$silentFails === 0) {
17445
- peg$fail(peg$e58);
17577
+ peg$fail(peg$e59);
17446
17578
  }
17447
17579
  }
17448
17580
  if (s1 !== peg$FAILED) {
@@ -17503,12 +17635,12 @@ function peg$parse(input, options) {
17503
17635
  s3 = peg$parseBlockTag();
17504
17636
  if (s3 !== peg$FAILED) {
17505
17637
  if (input.charCodeAt(peg$currPos) === 9658) {
17506
- s4 = peg$c55;
17638
+ s4 = peg$c56;
17507
17639
  peg$currPos++;
17508
17640
  } else {
17509
17641
  s4 = peg$FAILED;
17510
17642
  if (peg$silentFails === 0) {
17511
- peg$fail(peg$e59);
17643
+ peg$fail(peg$e60);
17512
17644
  }
17513
17645
  }
17514
17646
  if (s4 !== peg$FAILED) {
@@ -17569,7 +17701,7 @@ function peg$parse(input, options) {
17569
17701
  s6 = peg$parseBlockTag();
17570
17702
  if (s6 !== peg$FAILED) {
17571
17703
  peg$savedPos = s0;
17572
- s0 = peg$f73(s2, s5);
17704
+ s0 = peg$f74(s2, s5);
17573
17705
  } else {
17574
17706
  peg$currPos = s0;
17575
17707
  s0 = peg$FAILED;
@@ -17588,13 +17720,13 @@ function peg$parse(input, options) {
17588
17720
  }
17589
17721
  if (s0 === peg$FAILED) {
17590
17722
  s0 = peg$currPos;
17591
- if (input.substr(peg$currPos, 5) === peg$c54) {
17592
- s1 = peg$c54;
17723
+ if (input.substr(peg$currPos, 5) === peg$c55) {
17724
+ s1 = peg$c55;
17593
17725
  peg$currPos += 5;
17594
17726
  } else {
17595
17727
  s1 = peg$FAILED;
17596
17728
  if (peg$silentFails === 0) {
17597
- peg$fail(peg$e58);
17729
+ peg$fail(peg$e59);
17598
17730
  }
17599
17731
  }
17600
17732
  if (s1 !== peg$FAILED) {
@@ -17655,7 +17787,7 @@ function peg$parse(input, options) {
17655
17787
  s3 = peg$parseBlockTag();
17656
17788
  if (s3 !== peg$FAILED) {
17657
17789
  peg$savedPos = s0;
17658
- s0 = peg$f74(s2);
17790
+ s0 = peg$f75(s2);
17659
17791
  } else {
17660
17792
  peg$currPos = s0;
17661
17793
  s0 = peg$FAILED;
@@ -17667,12 +17799,12 @@ function peg$parse(input, options) {
17667
17799
  if (s0 === peg$FAILED) {
17668
17800
  s0 = peg$currPos;
17669
17801
  if (input.charCodeAt(peg$currPos) === 9658) {
17670
- s1 = peg$c55;
17802
+ s1 = peg$c56;
17671
17803
  peg$currPos++;
17672
17804
  } else {
17673
17805
  s1 = peg$FAILED;
17674
17806
  if (peg$silentFails === 0) {
17675
- peg$fail(peg$e59);
17807
+ peg$fail(peg$e60);
17676
17808
  }
17677
17809
  }
17678
17810
  if (s1 !== peg$FAILED) {
@@ -17733,7 +17865,7 @@ function peg$parse(input, options) {
17733
17865
  s3 = peg$parseBlockTag();
17734
17866
  if (s3 !== peg$FAILED) {
17735
17867
  peg$savedPos = s0;
17736
- s0 = peg$f75(s2);
17868
+ s0 = peg$f76(s2);
17737
17869
  } else {
17738
17870
  peg$currPos = s0;
17739
17871
  s0 = peg$FAILED;
@@ -17744,13 +17876,13 @@ function peg$parse(input, options) {
17744
17876
  }
17745
17877
  if (s0 === peg$FAILED) {
17746
17878
  s0 = peg$currPos;
17747
- if (input.substr(peg$currPos, 7) === peg$c56) {
17748
- s1 = peg$c56;
17879
+ if (input.substr(peg$currPos, 7) === peg$c57) {
17880
+ s1 = peg$c57;
17749
17881
  peg$currPos += 7;
17750
17882
  } else {
17751
17883
  s1 = peg$FAILED;
17752
17884
  if (peg$silentFails === 0) {
17753
- peg$fail(peg$e60);
17885
+ peg$fail(peg$e61);
17754
17886
  }
17755
17887
  }
17756
17888
  if (s1 !== peg$FAILED) {
@@ -17812,7 +17944,7 @@ function peg$parse(input, options) {
17812
17944
  if (s3 !== peg$FAILED) {
17813
17945
  s4 = peg$parseMediaChain();
17814
17946
  peg$savedPos = s0;
17815
- s0 = peg$f76(s2, s4);
17947
+ s0 = peg$f77(s2, s4);
17816
17948
  } else {
17817
17949
  peg$currPos = s0;
17818
17950
  s0 = peg$FAILED;
@@ -17823,13 +17955,13 @@ function peg$parse(input, options) {
17823
17955
  }
17824
17956
  if (s0 === peg$FAILED) {
17825
17957
  s0 = peg$currPos;
17826
- if (input.substr(peg$currPos, 9) === peg$c57) {
17827
- s1 = peg$c57;
17958
+ if (input.substr(peg$currPos, 9) === peg$c58) {
17959
+ s1 = peg$c58;
17828
17960
  peg$currPos += 9;
17829
17961
  } else {
17830
17962
  s1 = peg$FAILED;
17831
17963
  if (peg$silentFails === 0) {
17832
- peg$fail(peg$e61);
17964
+ peg$fail(peg$e62);
17833
17965
  }
17834
17966
  }
17835
17967
  if (s1 !== peg$FAILED) {
@@ -17890,7 +18022,7 @@ function peg$parse(input, options) {
17890
18022
  s3 = peg$parseBlockTag();
17891
18023
  if (s3 !== peg$FAILED) {
17892
18024
  peg$savedPos = s0;
17893
- s0 = peg$f77(s2);
18025
+ s0 = peg$f78(s2);
17894
18026
  } else {
17895
18027
  peg$currPos = s0;
17896
18028
  s0 = peg$FAILED;
@@ -17901,13 +18033,13 @@ function peg$parse(input, options) {
17901
18033
  }
17902
18034
  if (s0 === peg$FAILED) {
17903
18035
  s0 = peg$currPos;
17904
- if (input.substr(peg$currPos, 10) === peg$c58) {
17905
- s1 = peg$c58;
18036
+ if (input.substr(peg$currPos, 10) === peg$c59) {
18037
+ s1 = peg$c59;
17906
18038
  peg$currPos += 10;
17907
18039
  } else {
17908
18040
  s1 = peg$FAILED;
17909
18041
  if (peg$silentFails === 0) {
17910
- peg$fail(peg$e62);
18042
+ peg$fail(peg$e63);
17911
18043
  }
17912
18044
  }
17913
18045
  if (s1 !== peg$FAILED) {
@@ -17968,7 +18100,7 @@ function peg$parse(input, options) {
17968
18100
  s3 = peg$parseBlockTag();
17969
18101
  if (s3 !== peg$FAILED) {
17970
18102
  peg$savedPos = s0;
17971
- s0 = peg$f78(s2);
18103
+ s0 = peg$f79(s2);
17972
18104
  } else {
17973
18105
  peg$currPos = s0;
17974
18106
  s0 = peg$FAILED;
@@ -17979,13 +18111,13 @@ function peg$parse(input, options) {
17979
18111
  }
17980
18112
  if (s0 === peg$FAILED) {
17981
18113
  s0 = peg$currPos;
17982
- if (input.substr(peg$currPos, 4) === peg$c59) {
17983
- s1 = peg$c59;
18114
+ if (input.substr(peg$currPos, 4) === peg$c60) {
18115
+ s1 = peg$c60;
17984
18116
  peg$currPos += 4;
17985
18117
  } else {
17986
18118
  s1 = peg$FAILED;
17987
18119
  if (peg$silentFails === 0) {
17988
- peg$fail(peg$e63);
18120
+ peg$fail(peg$e64);
17989
18121
  }
17990
18122
  }
17991
18123
  if (s1 !== peg$FAILED) {
@@ -18046,7 +18178,7 @@ function peg$parse(input, options) {
18046
18178
  s3 = peg$parseBlockTag();
18047
18179
  if (s3 !== peg$FAILED) {
18048
18180
  peg$savedPos = s0;
18049
- s0 = peg$f79(s2);
18181
+ s0 = peg$f80(s2);
18050
18182
  } else {
18051
18183
  peg$currPos = s0;
18052
18184
  s0 = peg$FAILED;
@@ -18070,7 +18202,7 @@ function peg$parse(input, options) {
18070
18202
  s2 = peg$parseBlockTag();
18071
18203
  if (s2 !== peg$FAILED) {
18072
18204
  peg$savedPos = s0;
18073
- s0 = peg$f80();
18205
+ s0 = peg$f81();
18074
18206
  } else {
18075
18207
  peg$currPos = s0;
18076
18208
  s0 = peg$FAILED;
@@ -18081,13 +18213,13 @@ function peg$parse(input, options) {
18081
18213
  }
18082
18214
  if (s0 === peg$FAILED) {
18083
18215
  s0 = peg$currPos;
18084
- if (input.substr(peg$currPos, 5) === peg$c60) {
18085
- s1 = peg$c60;
18216
+ if (input.substr(peg$currPos, 5) === peg$c61) {
18217
+ s1 = peg$c61;
18086
18218
  peg$currPos += 5;
18087
18219
  } else {
18088
18220
  s1 = peg$FAILED;
18089
18221
  if (peg$silentFails === 0) {
18090
- peg$fail(peg$e64);
18222
+ peg$fail(peg$e65);
18091
18223
  }
18092
18224
  }
18093
18225
  if (s1 !== peg$FAILED) {
@@ -18148,7 +18280,7 @@ function peg$parse(input, options) {
18148
18280
  s3 = peg$parseBlockTag();
18149
18281
  if (s3 !== peg$FAILED) {
18150
18282
  peg$savedPos = s0;
18151
- s0 = peg$f81(s2);
18283
+ s0 = peg$f82(s2);
18152
18284
  } else {
18153
18285
  peg$currPos = s0;
18154
18286
  s0 = peg$FAILED;
@@ -18159,20 +18291,20 @@ function peg$parse(input, options) {
18159
18291
  }
18160
18292
  if (s0 === peg$FAILED) {
18161
18293
  s0 = peg$currPos;
18162
- if (input.substr(peg$currPos, 5) === peg$c61) {
18163
- s1 = peg$c61;
18294
+ if (input.substr(peg$currPos, 5) === peg$c62) {
18295
+ s1 = peg$c62;
18164
18296
  peg$currPos += 5;
18165
18297
  } else {
18166
18298
  s1 = peg$FAILED;
18167
18299
  if (peg$silentFails === 0) {
18168
- peg$fail(peg$e65);
18300
+ peg$fail(peg$e66);
18169
18301
  }
18170
18302
  }
18171
18303
  if (s1 !== peg$FAILED) {
18172
18304
  s2 = peg$parseBlockTag();
18173
18305
  if (s2 !== peg$FAILED) {
18174
18306
  peg$savedPos = s0;
18175
- s0 = peg$f82();
18307
+ s0 = peg$f83();
18176
18308
  } else {
18177
18309
  peg$currPos = s0;
18178
18310
  s0 = peg$FAILED;
@@ -18183,13 +18315,13 @@ function peg$parse(input, options) {
18183
18315
  }
18184
18316
  if (s0 === peg$FAILED) {
18185
18317
  s0 = peg$currPos;
18186
- if (input.substr(peg$currPos, 6) === peg$c62) {
18187
- s1 = peg$c62;
18318
+ if (input.substr(peg$currPos, 6) === peg$c63) {
18319
+ s1 = peg$c63;
18188
18320
  peg$currPos += 6;
18189
18321
  } else {
18190
18322
  s1 = peg$FAILED;
18191
18323
  if (peg$silentFails === 0) {
18192
- peg$fail(peg$e66);
18324
+ peg$fail(peg$e67);
18193
18325
  }
18194
18326
  }
18195
18327
  if (s1 !== peg$FAILED) {
@@ -18250,7 +18382,7 @@ function peg$parse(input, options) {
18250
18382
  s3 = peg$parseBlockTag();
18251
18383
  if (s3 !== peg$FAILED) {
18252
18384
  peg$savedPos = s0;
18253
- s0 = peg$f83(s2);
18385
+ s0 = peg$f84(s2);
18254
18386
  } else {
18255
18387
  peg$currPos = s0;
18256
18388
  s0 = peg$FAILED;
@@ -18261,25 +18393,25 @@ function peg$parse(input, options) {
18261
18393
  }
18262
18394
  if (s0 === peg$FAILED) {
18263
18395
  s0 = peg$currPos;
18264
- if (input.substr(peg$currPos, 9) === peg$c63) {
18265
- s1 = peg$c63;
18396
+ if (input.substr(peg$currPos, 9) === peg$c64) {
18397
+ s1 = peg$c64;
18266
18398
  peg$currPos += 9;
18267
18399
  } else {
18268
18400
  s1 = peg$FAILED;
18269
18401
  if (peg$silentFails === 0) {
18270
- peg$fail(peg$e67);
18402
+ peg$fail(peg$e68);
18271
18403
  }
18272
18404
  }
18273
18405
  if (s1 !== peg$FAILED) {
18274
18406
  s2 = peg$currPos;
18275
18407
  s3 = peg$currPos;
18276
18408
  if (input.charCodeAt(peg$currPos) === 80) {
18277
- s4 = peg$c64;
18409
+ s4 = peg$c65;
18278
18410
  peg$currPos++;
18279
18411
  } else {
18280
18412
  s4 = peg$FAILED;
18281
18413
  if (peg$silentFails === 0) {
18282
- peg$fail(peg$e68);
18414
+ peg$fail(peg$e69);
18283
18415
  }
18284
18416
  }
18285
18417
  if (s4 !== peg$FAILED) {
@@ -18352,7 +18484,7 @@ function peg$parse(input, options) {
18352
18484
  s3 = peg$parseBlockTag();
18353
18485
  if (s3 !== peg$FAILED) {
18354
18486
  peg$savedPos = s0;
18355
- s0 = peg$f84(s2);
18487
+ s0 = peg$f85(s2);
18356
18488
  } else {
18357
18489
  peg$currPos = s0;
18358
18490
  s0 = peg$FAILED;
@@ -18367,13 +18499,13 @@ function peg$parse(input, options) {
18367
18499
  }
18368
18500
  if (s0 === peg$FAILED) {
18369
18501
  s0 = peg$currPos;
18370
- if (input.substr(peg$currPos, 6) === peg$c65) {
18371
- s1 = peg$c65;
18502
+ if (input.substr(peg$currPos, 6) === peg$c66) {
18503
+ s1 = peg$c66;
18372
18504
  peg$currPos += 6;
18373
18505
  } else {
18374
18506
  s1 = peg$FAILED;
18375
18507
  if (peg$silentFails === 0) {
18376
- peg$fail(peg$e69);
18508
+ peg$fail(peg$e70);
18377
18509
  }
18378
18510
  }
18379
18511
  if (s1 !== peg$FAILED) {
@@ -18382,7 +18514,7 @@ function peg$parse(input, options) {
18382
18514
  s3 = peg$parseBlockTag();
18383
18515
  if (s3 !== peg$FAILED) {
18384
18516
  peg$savedPos = s0;
18385
- s0 = peg$f85(s2);
18517
+ s0 = peg$f86(s2);
18386
18518
  } else {
18387
18519
  peg$currPos = s0;
18388
18520
  s0 = peg$FAILED;
@@ -18402,7 +18534,7 @@ function peg$parse(input, options) {
18402
18534
  s2 = peg$parseBlockTag();
18403
18535
  if (s2 !== peg$FAILED) {
18404
18536
  peg$savedPos = s0;
18405
- s0 = peg$f86(s1);
18537
+ s0 = peg$f87(s1);
18406
18538
  } else {
18407
18539
  peg$currPos = s0;
18408
18540
  s0 = peg$FAILED;
@@ -18480,7 +18612,7 @@ function peg$parse(input, options) {
18480
18612
  s3 = peg$parseBlockTag();
18481
18613
  if (s3 !== peg$FAILED) {
18482
18614
  peg$savedPos = s0;
18483
- s0 = peg$f87(s2);
18615
+ s0 = peg$f88(s2);
18484
18616
  } else {
18485
18617
  peg$currPos = s0;
18486
18618
  s0 = peg$FAILED;
@@ -18520,13 +18652,13 @@ function peg$parse(input, options) {
18520
18652
  function peg$parseRef() {
18521
18653
  let s0, s1, s2, s3, s4, s5, s6;
18522
18654
  s0 = peg$currPos;
18523
- if (input.substr(peg$currPos, 2) === peg$c66) {
18524
- s1 = peg$c66;
18655
+ if (input.substr(peg$currPos, 2) === peg$c67) {
18656
+ s1 = peg$c67;
18525
18657
  peg$currPos += 2;
18526
18658
  } else {
18527
18659
  s1 = peg$FAILED;
18528
18660
  if (peg$silentFails === 0) {
18529
- peg$fail(peg$e70);
18661
+ peg$fail(peg$e71);
18530
18662
  }
18531
18663
  }
18532
18664
  if (s1 !== peg$FAILED) {
@@ -18585,7 +18717,7 @@ function peg$parse(input, options) {
18585
18717
  }
18586
18718
  s2 = input.substring(s2, peg$currPos);
18587
18719
  peg$savedPos = s0;
18588
- s0 = peg$f88(s2);
18720
+ s0 = peg$f89(s2);
18589
18721
  } else {
18590
18722
  peg$currPos = s0;
18591
18723
  s0 = peg$FAILED;
@@ -18594,303 +18726,303 @@ function peg$parse(input, options) {
18594
18726
  }
18595
18727
  function peg$parseAlternativeStyleTags() {
18596
18728
  let s0;
18597
- if (input.substr(peg$currPos, 4) === peg$c67) {
18598
- s0 = peg$c67;
18729
+ if (input.substr(peg$currPos, 4) === peg$c68) {
18730
+ s0 = peg$c68;
18599
18731
  peg$currPos += 4;
18600
18732
  } else {
18601
18733
  s0 = peg$FAILED;
18602
18734
  if (peg$silentFails === 0) {
18603
- peg$fail(peg$e71);
18735
+ peg$fail(peg$e72);
18604
18736
  }
18605
18737
  }
18606
18738
  if (s0 === peg$FAILED) {
18607
- if (input.substr(peg$currPos, 6) === peg$c68) {
18608
- s0 = peg$c68;
18739
+ if (input.substr(peg$currPos, 6) === peg$c69) {
18740
+ s0 = peg$c69;
18609
18741
  peg$currPos += 6;
18610
18742
  } else {
18611
18743
  s0 = peg$FAILED;
18612
18744
  if (peg$silentFails === 0) {
18613
- peg$fail(peg$e72);
18745
+ peg$fail(peg$e73);
18614
18746
  }
18615
18747
  }
18616
18748
  if (s0 === peg$FAILED) {
18617
- if (input.substr(peg$currPos, 5) === peg$c69) {
18618
- s0 = peg$c69;
18749
+ if (input.substr(peg$currPos, 5) === peg$c70) {
18750
+ s0 = peg$c70;
18619
18751
  peg$currPos += 5;
18620
18752
  } else {
18621
18753
  s0 = peg$FAILED;
18622
18754
  if (peg$silentFails === 0) {
18623
- peg$fail(peg$e73);
18755
+ peg$fail(peg$e74);
18624
18756
  }
18625
18757
  }
18626
18758
  if (s0 === peg$FAILED) {
18627
- if (input.substr(peg$currPos, 9) === peg$c70) {
18628
- s0 = peg$c70;
18759
+ if (input.substr(peg$currPos, 9) === peg$c71) {
18760
+ s0 = peg$c71;
18629
18761
  peg$currPos += 9;
18630
18762
  } else {
18631
18763
  s0 = peg$FAILED;
18632
18764
  if (peg$silentFails === 0) {
18633
- peg$fail(peg$e74);
18765
+ peg$fail(peg$e75);
18634
18766
  }
18635
18767
  }
18636
18768
  if (s0 === peg$FAILED) {
18637
- if (input.substr(peg$currPos, 6) === peg$c71) {
18638
- s0 = peg$c71;
18769
+ if (input.substr(peg$currPos, 6) === peg$c72) {
18770
+ s0 = peg$c72;
18639
18771
  peg$currPos += 6;
18640
18772
  } else {
18641
18773
  s0 = peg$FAILED;
18642
18774
  if (peg$silentFails === 0) {
18643
- peg$fail(peg$e75);
18775
+ peg$fail(peg$e76);
18644
18776
  }
18645
18777
  }
18646
18778
  if (s0 === peg$FAILED) {
18647
- if (input.substr(peg$currPos, 9) === peg$c72) {
18648
- s0 = peg$c72;
18779
+ if (input.substr(peg$currPos, 9) === peg$c73) {
18780
+ s0 = peg$c73;
18649
18781
  peg$currPos += 9;
18650
18782
  } else {
18651
18783
  s0 = peg$FAILED;
18652
18784
  if (peg$silentFails === 0) {
18653
- peg$fail(peg$e76);
18785
+ peg$fail(peg$e77);
18654
18786
  }
18655
18787
  }
18656
18788
  if (s0 === peg$FAILED) {
18657
- if (input.substr(peg$currPos, 11) === peg$c73) {
18658
- s0 = peg$c73;
18789
+ if (input.substr(peg$currPos, 11) === peg$c74) {
18790
+ s0 = peg$c74;
18659
18791
  peg$currPos += 11;
18660
18792
  } else {
18661
18793
  s0 = peg$FAILED;
18662
18794
  if (peg$silentFails === 0) {
18663
- peg$fail(peg$e77);
18795
+ peg$fail(peg$e78);
18664
18796
  }
18665
18797
  }
18666
18798
  if (s0 === peg$FAILED) {
18667
- if (input.substr(peg$currPos, 3) === peg$c74) {
18668
- s0 = peg$c74;
18799
+ if (input.substr(peg$currPos, 3) === peg$c75) {
18800
+ s0 = peg$c75;
18669
18801
  peg$currPos += 3;
18670
18802
  } else {
18671
18803
  s0 = peg$FAILED;
18672
18804
  if (peg$silentFails === 0) {
18673
- peg$fail(peg$e78);
18805
+ peg$fail(peg$e79);
18674
18806
  }
18675
18807
  }
18676
18808
  if (s0 === peg$FAILED) {
18677
- if (input.substr(peg$currPos, 3) === peg$c75) {
18678
- s0 = peg$c75;
18809
+ if (input.substr(peg$currPos, 3) === peg$c76) {
18810
+ s0 = peg$c76;
18679
18811
  peg$currPos += 3;
18680
18812
  } else {
18681
18813
  s0 = peg$FAILED;
18682
18814
  if (peg$silentFails === 0) {
18683
- peg$fail(peg$e79);
18815
+ peg$fail(peg$e80);
18684
18816
  }
18685
18817
  }
18686
18818
  if (s0 === peg$FAILED) {
18687
- if (input.substr(peg$currPos, 9) === peg$c76) {
18688
- s0 = peg$c76;
18819
+ if (input.substr(peg$currPos, 9) === peg$c77) {
18820
+ s0 = peg$c77;
18689
18821
  peg$currPos += 9;
18690
18822
  } else {
18691
18823
  s0 = peg$FAILED;
18692
18824
  if (peg$silentFails === 0) {
18693
- peg$fail(peg$e80);
18825
+ peg$fail(peg$e81);
18694
18826
  }
18695
18827
  }
18696
18828
  if (s0 === peg$FAILED) {
18697
- if (input.substr(peg$currPos, 15) === peg$c77) {
18698
- s0 = peg$c77;
18829
+ if (input.substr(peg$currPos, 15) === peg$c78) {
18830
+ s0 = peg$c78;
18699
18831
  peg$currPos += 15;
18700
18832
  } else {
18701
18833
  s0 = peg$FAILED;
18702
18834
  if (peg$silentFails === 0) {
18703
- peg$fail(peg$e81);
18835
+ peg$fail(peg$e82);
18704
18836
  }
18705
18837
  }
18706
18838
  if (s0 === peg$FAILED) {
18707
- if (input.substr(peg$currPos, 6) === peg$c78) {
18708
- s0 = peg$c78;
18839
+ if (input.substr(peg$currPos, 6) === peg$c79) {
18840
+ s0 = peg$c79;
18709
18841
  peg$currPos += 6;
18710
18842
  } else {
18711
18843
  s0 = peg$FAILED;
18712
18844
  if (peg$silentFails === 0) {
18713
- peg$fail(peg$e82);
18845
+ peg$fail(peg$e83);
18714
18846
  }
18715
18847
  }
18716
18848
  if (s0 === peg$FAILED) {
18717
- if (input.substr(peg$currPos, 13) === peg$c79) {
18718
- s0 = peg$c79;
18849
+ if (input.substr(peg$currPos, 13) === peg$c80) {
18850
+ s0 = peg$c80;
18719
18851
  peg$currPos += 13;
18720
18852
  } else {
18721
18853
  s0 = peg$FAILED;
18722
18854
  if (peg$silentFails === 0) {
18723
- peg$fail(peg$e83);
18855
+ peg$fail(peg$e84);
18724
18856
  }
18725
18857
  }
18726
18858
  if (s0 === peg$FAILED) {
18727
- if (input.substr(peg$currPos, 16) === peg$c80) {
18728
- s0 = peg$c80;
18859
+ if (input.substr(peg$currPos, 16) === peg$c81) {
18860
+ s0 = peg$c81;
18729
18861
  peg$currPos += 16;
18730
18862
  } else {
18731
18863
  s0 = peg$FAILED;
18732
18864
  if (peg$silentFails === 0) {
18733
- peg$fail(peg$e84);
18865
+ peg$fail(peg$e85);
18734
18866
  }
18735
18867
  }
18736
18868
  if (s0 === peg$FAILED) {
18737
- if (input.substr(peg$currPos, 16) === peg$c81) {
18738
- s0 = peg$c81;
18869
+ if (input.substr(peg$currPos, 16) === peg$c82) {
18870
+ s0 = peg$c82;
18739
18871
  peg$currPos += 16;
18740
18872
  } else {
18741
18873
  s0 = peg$FAILED;
18742
18874
  if (peg$silentFails === 0) {
18743
- peg$fail(peg$e85);
18875
+ peg$fail(peg$e86);
18744
18876
  }
18745
18877
  }
18746
18878
  if (s0 === peg$FAILED) {
18747
- if (input.substr(peg$currPos, 15) === peg$c82) {
18748
- s0 = peg$c82;
18879
+ if (input.substr(peg$currPos, 15) === peg$c83) {
18880
+ s0 = peg$c83;
18749
18881
  peg$currPos += 15;
18750
18882
  } else {
18751
18883
  s0 = peg$FAILED;
18752
18884
  if (peg$silentFails === 0) {
18753
- peg$fail(peg$e86);
18885
+ peg$fail(peg$e87);
18754
18886
  }
18755
18887
  }
18756
18888
  if (s0 === peg$FAILED) {
18757
- if (input.substr(peg$currPos, 14) === peg$c83) {
18758
- s0 = peg$c83;
18889
+ if (input.substr(peg$currPos, 14) === peg$c84) {
18890
+ s0 = peg$c84;
18759
18891
  peg$currPos += 14;
18760
18892
  } else {
18761
18893
  s0 = peg$FAILED;
18762
18894
  if (peg$silentFails === 0) {
18763
- peg$fail(peg$e87);
18895
+ peg$fail(peg$e88);
18764
18896
  }
18765
18897
  }
18766
18898
  if (s0 === peg$FAILED) {
18767
- if (input.substr(peg$currPos, 16) === peg$c84) {
18768
- s0 = peg$c84;
18899
+ if (input.substr(peg$currPos, 16) === peg$c85) {
18900
+ s0 = peg$c85;
18769
18901
  peg$currPos += 16;
18770
18902
  } else {
18771
18903
  s0 = peg$FAILED;
18772
18904
  if (peg$silentFails === 0) {
18773
- peg$fail(peg$e88);
18905
+ peg$fail(peg$e89);
18774
18906
  }
18775
18907
  }
18776
18908
  if (s0 === peg$FAILED) {
18777
- if (input.substr(peg$currPos, 14) === peg$c85) {
18778
- s0 = peg$c85;
18909
+ if (input.substr(peg$currPos, 14) === peg$c86) {
18910
+ s0 = peg$c86;
18779
18911
  peg$currPos += 14;
18780
18912
  } else {
18781
18913
  s0 = peg$FAILED;
18782
18914
  if (peg$silentFails === 0) {
18783
- peg$fail(peg$e89);
18915
+ peg$fail(peg$e90);
18784
18916
  }
18785
18917
  }
18786
18918
  if (s0 === peg$FAILED) {
18787
- if (input.substr(peg$currPos, 15) === peg$c86) {
18788
- s0 = peg$c86;
18919
+ if (input.substr(peg$currPos, 15) === peg$c87) {
18920
+ s0 = peg$c87;
18789
18921
  peg$currPos += 15;
18790
18922
  } else {
18791
18923
  s0 = peg$FAILED;
18792
18924
  if (peg$silentFails === 0) {
18793
- peg$fail(peg$e90);
18925
+ peg$fail(peg$e91);
18794
18926
  }
18795
18927
  }
18796
18928
  if (s0 === peg$FAILED) {
18797
- if (input.substr(peg$currPos, 15) === peg$c87) {
18798
- s0 = peg$c87;
18929
+ if (input.substr(peg$currPos, 15) === peg$c88) {
18930
+ s0 = peg$c88;
18799
18931
  peg$currPos += 15;
18800
18932
  } else {
18801
18933
  s0 = peg$FAILED;
18802
18934
  if (peg$silentFails === 0) {
18803
- peg$fail(peg$e91);
18935
+ peg$fail(peg$e92);
18804
18936
  }
18805
18937
  }
18806
18938
  if (s0 === peg$FAILED) {
18807
- if (input.substr(peg$currPos, 15) === peg$c88) {
18808
- s0 = peg$c88;
18939
+ if (input.substr(peg$currPos, 15) === peg$c89) {
18940
+ s0 = peg$c89;
18809
18941
  peg$currPos += 15;
18810
18942
  } else {
18811
18943
  s0 = peg$FAILED;
18812
18944
  if (peg$silentFails === 0) {
18813
- peg$fail(peg$e92);
18945
+ peg$fail(peg$e93);
18814
18946
  }
18815
18947
  }
18816
18948
  if (s0 === peg$FAILED) {
18817
- if (input.substr(peg$currPos, 14) === peg$c89) {
18818
- s0 = peg$c89;
18949
+ if (input.substr(peg$currPos, 14) === peg$c90) {
18950
+ s0 = peg$c90;
18819
18951
  peg$currPos += 14;
18820
18952
  } else {
18821
18953
  s0 = peg$FAILED;
18822
18954
  if (peg$silentFails === 0) {
18823
- peg$fail(peg$e93);
18955
+ peg$fail(peg$e94);
18824
18956
  }
18825
18957
  }
18826
18958
  if (s0 === peg$FAILED) {
18827
- if (input.substr(peg$currPos, 10) === peg$c90) {
18828
- s0 = peg$c90;
18959
+ if (input.substr(peg$currPos, 10) === peg$c91) {
18960
+ s0 = peg$c91;
18829
18961
  peg$currPos += 10;
18830
18962
  } else {
18831
18963
  s0 = peg$FAILED;
18832
18964
  if (peg$silentFails === 0) {
18833
- peg$fail(peg$e94);
18965
+ peg$fail(peg$e95);
18834
18966
  }
18835
18967
  }
18836
18968
  if (s0 === peg$FAILED) {
18837
- if (input.substr(peg$currPos, 13) === peg$c91) {
18838
- s0 = peg$c91;
18969
+ if (input.substr(peg$currPos, 13) === peg$c92) {
18970
+ s0 = peg$c92;
18839
18971
  peg$currPos += 13;
18840
18972
  } else {
18841
18973
  s0 = peg$FAILED;
18842
18974
  if (peg$silentFails === 0) {
18843
- peg$fail(peg$e95);
18975
+ peg$fail(peg$e96);
18844
18976
  }
18845
18977
  }
18846
18978
  if (s0 === peg$FAILED) {
18847
- if (input.substr(peg$currPos, 19) === peg$c92) {
18848
- s0 = peg$c92;
18979
+ if (input.substr(peg$currPos, 19) === peg$c93) {
18980
+ s0 = peg$c93;
18849
18981
  peg$currPos += 19;
18850
18982
  } else {
18851
18983
  s0 = peg$FAILED;
18852
18984
  if (peg$silentFails === 0) {
18853
- peg$fail(peg$e96);
18985
+ peg$fail(peg$e97);
18854
18986
  }
18855
18987
  }
18856
18988
  if (s0 === peg$FAILED) {
18857
- if (input.substr(peg$currPos, 10) === peg$c93) {
18858
- s0 = peg$c93;
18989
+ if (input.substr(peg$currPos, 10) === peg$c94) {
18990
+ s0 = peg$c94;
18859
18991
  peg$currPos += 10;
18860
18992
  } else {
18861
18993
  s0 = peg$FAILED;
18862
18994
  if (peg$silentFails === 0) {
18863
- peg$fail(peg$e97);
18995
+ peg$fail(peg$e98);
18864
18996
  }
18865
18997
  }
18866
18998
  if (s0 === peg$FAILED) {
18867
- if (input.substr(peg$currPos, 10) === peg$c94) {
18868
- s0 = peg$c94;
18999
+ if (input.substr(peg$currPos, 10) === peg$c95) {
19000
+ s0 = peg$c95;
18869
19001
  peg$currPos += 10;
18870
19002
  } else {
18871
19003
  s0 = peg$FAILED;
18872
19004
  if (peg$silentFails === 0) {
18873
- peg$fail(peg$e98);
19005
+ peg$fail(peg$e99);
18874
19006
  }
18875
19007
  }
18876
19008
  if (s0 === peg$FAILED) {
18877
- if (input.substr(peg$currPos, 13) === peg$c95) {
18878
- s0 = peg$c95;
19009
+ if (input.substr(peg$currPos, 13) === peg$c96) {
19010
+ s0 = peg$c96;
18879
19011
  peg$currPos += 13;
18880
19012
  } else {
18881
19013
  s0 = peg$FAILED;
18882
19014
  if (peg$silentFails === 0) {
18883
- peg$fail(peg$e99);
19015
+ peg$fail(peg$e100);
18884
19016
  }
18885
19017
  }
18886
19018
  if (s0 === peg$FAILED) {
18887
- if (input.substr(peg$currPos, 11) === peg$c96) {
18888
- s0 = peg$c96;
19019
+ if (input.substr(peg$currPos, 11) === peg$c97) {
19020
+ s0 = peg$c97;
18889
19021
  peg$currPos += 11;
18890
19022
  } else {
18891
19023
  s0 = peg$FAILED;
18892
19024
  if (peg$silentFails === 0) {
18893
- peg$fail(peg$e100);
19025
+ peg$fail(peg$e101);
18894
19026
  }
18895
19027
  }
18896
19028
  }
@@ -18926,233 +19058,233 @@ function peg$parse(input, options) {
18926
19058
  }
18927
19059
  function peg$parseColor() {
18928
19060
  let s0;
18929
- if (input.substr(peg$currPos, 4) === peg$c97) {
18930
- s0 = peg$c97;
19061
+ if (input.substr(peg$currPos, 4) === peg$c98) {
19062
+ s0 = peg$c98;
18931
19063
  peg$currPos += 4;
18932
19064
  } else {
18933
19065
  s0 = peg$FAILED;
18934
19066
  if (peg$silentFails === 0) {
18935
- peg$fail(peg$e101);
19067
+ peg$fail(peg$e102);
18936
19068
  }
18937
19069
  }
18938
19070
  if (s0 === peg$FAILED) {
18939
- if (input.substr(peg$currPos, 5) === peg$c98) {
18940
- s0 = peg$c98;
19071
+ if (input.substr(peg$currPos, 5) === peg$c99) {
19072
+ s0 = peg$c99;
18941
19073
  peg$currPos += 5;
18942
19074
  } else {
18943
19075
  s0 = peg$FAILED;
18944
19076
  if (peg$silentFails === 0) {
18945
- peg$fail(peg$e102);
19077
+ peg$fail(peg$e103);
18946
19078
  }
18947
19079
  }
18948
19080
  if (s0 === peg$FAILED) {
18949
- if (input.substr(peg$currPos, 4) === peg$c99) {
18950
- s0 = peg$c99;
19081
+ if (input.substr(peg$currPos, 4) === peg$c100) {
19082
+ s0 = peg$c100;
18951
19083
  peg$currPos += 4;
18952
19084
  } else {
18953
19085
  s0 = peg$FAILED;
18954
19086
  if (peg$silentFails === 0) {
18955
- peg$fail(peg$e103);
19087
+ peg$fail(peg$e104);
18956
19088
  }
18957
19089
  }
18958
19090
  if (s0 === peg$FAILED) {
18959
- if (input.substr(peg$currPos, 5) === peg$c100) {
18960
- s0 = peg$c100;
19091
+ if (input.substr(peg$currPos, 5) === peg$c101) {
19092
+ s0 = peg$c101;
18961
19093
  peg$currPos += 5;
18962
19094
  } else {
18963
19095
  s0 = peg$FAILED;
18964
19096
  if (peg$silentFails === 0) {
18965
- peg$fail(peg$e104);
19097
+ peg$fail(peg$e105);
18966
19098
  }
18967
19099
  }
18968
19100
  if (s0 === peg$FAILED) {
18969
- if (input.substr(peg$currPos, 7) === peg$c101) {
18970
- s0 = peg$c101;
19101
+ if (input.substr(peg$currPos, 7) === peg$c102) {
19102
+ s0 = peg$c102;
18971
19103
  peg$currPos += 7;
18972
19104
  } else {
18973
19105
  s0 = peg$FAILED;
18974
19106
  if (peg$silentFails === 0) {
18975
- peg$fail(peg$e105);
19107
+ peg$fail(peg$e106);
18976
19108
  }
18977
19109
  }
18978
19110
  if (s0 === peg$FAILED) {
18979
- if (input.substr(peg$currPos, 9) === peg$c102) {
18980
- s0 = peg$c102;
19111
+ if (input.substr(peg$currPos, 9) === peg$c103) {
19112
+ s0 = peg$c103;
18981
19113
  peg$currPos += 9;
18982
19114
  } else {
18983
19115
  s0 = peg$FAILED;
18984
19116
  if (peg$silentFails === 0) {
18985
- peg$fail(peg$e106);
19117
+ peg$fail(peg$e107);
18986
19118
  }
18987
19119
  }
18988
19120
  if (s0 === peg$FAILED) {
18989
- if (input.substr(peg$currPos, 4) === peg$c103) {
18990
- s0 = peg$c103;
19121
+ if (input.substr(peg$currPos, 4) === peg$c104) {
19122
+ s0 = peg$c104;
18991
19123
  peg$currPos += 4;
18992
19124
  } else {
18993
19125
  s0 = peg$FAILED;
18994
19126
  if (peg$silentFails === 0) {
18995
- peg$fail(peg$e107);
19127
+ peg$fail(peg$e108);
18996
19128
  }
18997
19129
  }
18998
19130
  if (s0 === peg$FAILED) {
18999
- if (input.substr(peg$currPos, 8) === peg$c104) {
19000
- s0 = peg$c104;
19131
+ if (input.substr(peg$currPos, 8) === peg$c105) {
19132
+ s0 = peg$c105;
19001
19133
  peg$currPos += 8;
19002
19134
  } else {
19003
19135
  s0 = peg$FAILED;
19004
19136
  if (peg$silentFails === 0) {
19005
- peg$fail(peg$e108);
19137
+ peg$fail(peg$e109);
19006
19138
  }
19007
19139
  }
19008
19140
  if (s0 === peg$FAILED) {
19009
- if (input.substr(peg$currPos, 5) === peg$c105) {
19010
- s0 = peg$c105;
19141
+ if (input.substr(peg$currPos, 5) === peg$c106) {
19142
+ s0 = peg$c106;
19011
19143
  peg$currPos += 5;
19012
19144
  } else {
19013
19145
  s0 = peg$FAILED;
19014
19146
  if (peg$silentFails === 0) {
19015
- peg$fail(peg$e109);
19147
+ peg$fail(peg$e110);
19016
19148
  }
19017
19149
  }
19018
19150
  if (s0 === peg$FAILED) {
19019
- if (input.substr(peg$currPos, 4) === peg$c106) {
19020
- s0 = peg$c106;
19151
+ if (input.substr(peg$currPos, 4) === peg$c107) {
19152
+ s0 = peg$c107;
19021
19153
  peg$currPos += 4;
19022
19154
  } else {
19023
19155
  s0 = peg$FAILED;
19024
19156
  if (peg$silentFails === 0) {
19025
- peg$fail(peg$e110);
19157
+ peg$fail(peg$e111);
19026
19158
  }
19027
19159
  }
19028
19160
  if (s0 === peg$FAILED) {
19029
- if (input.substr(peg$currPos, 7) === peg$c107) {
19030
- s0 = peg$c107;
19161
+ if (input.substr(peg$currPos, 7) === peg$c108) {
19162
+ s0 = peg$c108;
19031
19163
  peg$currPos += 7;
19032
19164
  } else {
19033
19165
  s0 = peg$FAILED;
19034
19166
  if (peg$silentFails === 0) {
19035
- peg$fail(peg$e111);
19167
+ peg$fail(peg$e112);
19036
19168
  }
19037
19169
  }
19038
19170
  if (s0 === peg$FAILED) {
19039
- if (input.substr(peg$currPos, 6) === peg$c108) {
19040
- s0 = peg$c108;
19171
+ if (input.substr(peg$currPos, 6) === peg$c109) {
19172
+ s0 = peg$c109;
19041
19173
  peg$currPos += 6;
19042
19174
  } else {
19043
19175
  s0 = peg$FAILED;
19044
19176
  if (peg$silentFails === 0) {
19045
- peg$fail(peg$e112);
19177
+ peg$fail(peg$e113);
19046
19178
  }
19047
19179
  }
19048
19180
  if (s0 === peg$FAILED) {
19049
- if (input.substr(peg$currPos, 4) === peg$c109) {
19050
- s0 = peg$c109;
19181
+ if (input.substr(peg$currPos, 4) === peg$c110) {
19182
+ s0 = peg$c110;
19051
19183
  peg$currPos += 4;
19052
19184
  } else {
19053
19185
  s0 = peg$FAILED;
19054
19186
  if (peg$silentFails === 0) {
19055
- peg$fail(peg$e113);
19187
+ peg$fail(peg$e114);
19056
19188
  }
19057
19189
  }
19058
19190
  if (s0 === peg$FAILED) {
19059
- if (input.substr(peg$currPos, 5) === peg$c110) {
19060
- s0 = peg$c110;
19191
+ if (input.substr(peg$currPos, 5) === peg$c111) {
19192
+ s0 = peg$c111;
19061
19193
  peg$currPos += 5;
19062
19194
  } else {
19063
19195
  s0 = peg$FAILED;
19064
19196
  if (peg$silentFails === 0) {
19065
- peg$fail(peg$e114);
19197
+ peg$fail(peg$e115);
19066
19198
  }
19067
19199
  }
19068
19200
  if (s0 === peg$FAILED) {
19069
- if (input.substr(peg$currPos, 6) === peg$c111) {
19070
- s0 = peg$c111;
19201
+ if (input.substr(peg$currPos, 6) === peg$c112) {
19202
+ s0 = peg$c112;
19071
19203
  peg$currPos += 6;
19072
19204
  } else {
19073
19205
  s0 = peg$FAILED;
19074
19206
  if (peg$silentFails === 0) {
19075
- peg$fail(peg$e115);
19207
+ peg$fail(peg$e116);
19076
19208
  }
19077
19209
  }
19078
19210
  if (s0 === peg$FAILED) {
19079
- if (input.substr(peg$currPos, 4) === peg$c112) {
19080
- s0 = peg$c112;
19211
+ if (input.substr(peg$currPos, 4) === peg$c113) {
19212
+ s0 = peg$c113;
19081
19213
  peg$currPos += 4;
19082
19214
  } else {
19083
19215
  s0 = peg$FAILED;
19084
19216
  if (peg$silentFails === 0) {
19085
- peg$fail(peg$e116);
19217
+ peg$fail(peg$e117);
19086
19218
  }
19087
19219
  }
19088
19220
  if (s0 === peg$FAILED) {
19089
- if (input.substr(peg$currPos, 6) === peg$c113) {
19090
- s0 = peg$c113;
19221
+ if (input.substr(peg$currPos, 6) === peg$c114) {
19222
+ s0 = peg$c114;
19091
19223
  peg$currPos += 6;
19092
19224
  } else {
19093
19225
  s0 = peg$FAILED;
19094
19226
  if (peg$silentFails === 0) {
19095
- peg$fail(peg$e117);
19227
+ peg$fail(peg$e118);
19096
19228
  }
19097
19229
  }
19098
19230
  if (s0 === peg$FAILED) {
19099
- if (input.substr(peg$currPos, 3) === peg$c114) {
19100
- s0 = peg$c114;
19231
+ if (input.substr(peg$currPos, 3) === peg$c115) {
19232
+ s0 = peg$c115;
19101
19233
  peg$currPos += 3;
19102
19234
  } else {
19103
19235
  s0 = peg$FAILED;
19104
19236
  if (peg$silentFails === 0) {
19105
- peg$fail(peg$e118);
19237
+ peg$fail(peg$e119);
19106
19238
  }
19107
19239
  }
19108
19240
  if (s0 === peg$FAILED) {
19109
- if (input.substr(peg$currPos, 6) === peg$c115) {
19110
- s0 = peg$c115;
19241
+ if (input.substr(peg$currPos, 6) === peg$c116) {
19242
+ s0 = peg$c116;
19111
19243
  peg$currPos += 6;
19112
19244
  } else {
19113
19245
  s0 = peg$FAILED;
19114
19246
  if (peg$silentFails === 0) {
19115
- peg$fail(peg$e119);
19247
+ peg$fail(peg$e120);
19116
19248
  }
19117
19249
  }
19118
19250
  if (s0 === peg$FAILED) {
19119
- if (input.substr(peg$currPos, 4) === peg$c116) {
19120
- s0 = peg$c116;
19251
+ if (input.substr(peg$currPos, 4) === peg$c117) {
19252
+ s0 = peg$c117;
19121
19253
  peg$currPos += 4;
19122
19254
  } else {
19123
19255
  s0 = peg$FAILED;
19124
19256
  if (peg$silentFails === 0) {
19125
- peg$fail(peg$e120);
19257
+ peg$fail(peg$e121);
19126
19258
  }
19127
19259
  }
19128
19260
  if (s0 === peg$FAILED) {
19129
- if (input.substr(peg$currPos, 6) === peg$c117) {
19130
- s0 = peg$c117;
19261
+ if (input.substr(peg$currPos, 6) === peg$c118) {
19262
+ s0 = peg$c118;
19131
19263
  peg$currPos += 6;
19132
19264
  } else {
19133
19265
  s0 = peg$FAILED;
19134
19266
  if (peg$silentFails === 0) {
19135
- peg$fail(peg$e121);
19267
+ peg$fail(peg$e122);
19136
19268
  }
19137
19269
  }
19138
19270
  if (s0 === peg$FAILED) {
19139
- if (input.substr(peg$currPos, 5) === peg$c118) {
19140
- s0 = peg$c118;
19271
+ if (input.substr(peg$currPos, 5) === peg$c119) {
19272
+ s0 = peg$c119;
19141
19273
  peg$currPos += 5;
19142
19274
  } else {
19143
19275
  s0 = peg$FAILED;
19144
19276
  if (peg$silentFails === 0) {
19145
- peg$fail(peg$e122);
19277
+ peg$fail(peg$e123);
19146
19278
  }
19147
19279
  }
19148
19280
  if (s0 === peg$FAILED) {
19149
- if (input.substr(peg$currPos, 6) === peg$c119) {
19150
- s0 = peg$c119;
19281
+ if (input.substr(peg$currPos, 6) === peg$c120) {
19282
+ s0 = peg$c120;
19151
19283
  peg$currPos += 6;
19152
19284
  } else {
19153
19285
  s0 = peg$FAILED;
19154
19286
  if (peg$silentFails === 0) {
19155
- peg$fail(peg$e123);
19287
+ peg$fail(peg$e124);
19156
19288
  }
19157
19289
  }
19158
19290
  }
@@ -19185,7 +19317,7 @@ function peg$parse(input, options) {
19185
19317
  s0 = peg$currPos;
19186
19318
  s1 = peg$parsebitmarkMinusMinusString();
19187
19319
  peg$savedPos = s0;
19188
- s1 = peg$f89(s1);
19320
+ s1 = peg$f90(s1);
19189
19321
  s0 = s1;
19190
19322
  peg$silentFails--;
19191
19323
  return s0;
@@ -19211,7 +19343,7 @@ function peg$parse(input, options) {
19211
19343
  }
19212
19344
  }
19213
19345
  peg$savedPos = s0;
19214
- s0 = peg$f90(s1, s2);
19346
+ s0 = peg$f91(s1, s2);
19215
19347
  peg$silentFails--;
19216
19348
  return s0;
19217
19349
  }
@@ -19221,7 +19353,7 @@ function peg$parse(input, options) {
19221
19353
  s1 = peg$parseNL();
19222
19354
  if (s1 !== peg$FAILED) {
19223
19355
  peg$savedPos = s0;
19224
- s1 = peg$f91();
19356
+ s1 = peg$f92();
19225
19357
  }
19226
19358
  s0 = s1;
19227
19359
  if (s0 === peg$FAILED) {
@@ -19350,7 +19482,7 @@ function peg$parse(input, options) {
19350
19482
  }
19351
19483
  if (s1 !== peg$FAILED) {
19352
19484
  peg$savedPos = s0;
19353
- s1 = peg$f92(s1);
19485
+ s1 = peg$f93(s1);
19354
19486
  }
19355
19487
  s0 = s1;
19356
19488
  }
@@ -19359,12 +19491,12 @@ function peg$parse(input, options) {
19359
19491
  function peg$parseBoldHalfTag() {
19360
19492
  let s0;
19361
19493
  if (input.charCodeAt(peg$currPos) === 42) {
19362
- s0 = peg$c120;
19494
+ s0 = peg$c121;
19363
19495
  peg$currPos++;
19364
19496
  } else {
19365
19497
  s0 = peg$FAILED;
19366
19498
  if (peg$silentFails === 0) {
19367
- peg$fail(peg$e124);
19499
+ peg$fail(peg$e125);
19368
19500
  }
19369
19501
  }
19370
19502
  return s0;
@@ -19372,12 +19504,12 @@ function peg$parse(input, options) {
19372
19504
  function peg$parseItalicHalfTag() {
19373
19505
  let s0;
19374
19506
  if (input.charCodeAt(peg$currPos) === 95) {
19375
- s0 = peg$c121;
19507
+ s0 = peg$c122;
19376
19508
  peg$currPos++;
19377
19509
  } else {
19378
19510
  s0 = peg$FAILED;
19379
19511
  if (peg$silentFails === 0) {
19380
- peg$fail(peg$e125);
19512
+ peg$fail(peg$e126);
19381
19513
  }
19382
19514
  }
19383
19515
  return s0;
@@ -19385,12 +19517,12 @@ function peg$parse(input, options) {
19385
19517
  function peg$parseLightHalfTag() {
19386
19518
  let s0;
19387
19519
  if (input.charCodeAt(peg$currPos) === 96) {
19388
- s0 = peg$c122;
19520
+ s0 = peg$c123;
19389
19521
  peg$currPos++;
19390
19522
  } else {
19391
19523
  s0 = peg$FAILED;
19392
19524
  if (peg$silentFails === 0) {
19393
- peg$fail(peg$e126);
19525
+ peg$fail(peg$e127);
19394
19526
  }
19395
19527
  }
19396
19528
  return s0;
@@ -19398,12 +19530,12 @@ function peg$parse(input, options) {
19398
19530
  function peg$parseHighlightHalfTag() {
19399
19531
  let s0;
19400
19532
  if (input.charCodeAt(peg$currPos) === 33) {
19401
- s0 = peg$c123;
19533
+ s0 = peg$c124;
19402
19534
  peg$currPos++;
19403
19535
  } else {
19404
19536
  s0 = peg$FAILED;
19405
19537
  if (peg$silentFails === 0) {
19406
- peg$fail(peg$e127);
19538
+ peg$fail(peg$e128);
19407
19539
  }
19408
19540
  }
19409
19541
  return s0;
@@ -19486,13 +19618,13 @@ function peg$parse(input, options) {
19486
19618
  }
19487
19619
  function peg$parseBodyBitOpenTag() {
19488
19620
  let s0;
19489
- if (input.substr(peg$currPos, 2) === peg$c124) {
19490
- s0 = peg$c124;
19621
+ if (input.substr(peg$currPos, 2) === peg$c125) {
19622
+ s0 = peg$c125;
19491
19623
  peg$currPos += 2;
19492
19624
  } else {
19493
19625
  s0 = peg$FAILED;
19494
19626
  if (peg$silentFails === 0) {
19495
- peg$fail(peg$e128);
19627
+ peg$fail(peg$e129);
19496
19628
  }
19497
19629
  }
19498
19630
  return s0;
@@ -19500,12 +19632,12 @@ function peg$parse(input, options) {
19500
19632
  function peg$parseBodyBitCloseTag() {
19501
19633
  let s0;
19502
19634
  if (input.charCodeAt(peg$currPos) === 93) {
19503
- s0 = peg$c125;
19635
+ s0 = peg$c126;
19504
19636
  peg$currPos++;
19505
19637
  } else {
19506
19638
  s0 = peg$FAILED;
19507
19639
  if (peg$silentFails === 0) {
19508
- peg$fail(peg$e129);
19640
+ peg$fail(peg$e130);
19509
19641
  }
19510
19642
  }
19511
19643
  return s0;
@@ -19551,7 +19683,7 @@ function peg$parse(input, options) {
19551
19683
  s3 = peg$parseBodyBitCloseTag();
19552
19684
  if (s3 !== peg$FAILED) {
19553
19685
  peg$savedPos = s0;
19554
- s0 = peg$f93(s2);
19686
+ s0 = peg$f94(s2);
19555
19687
  } else {
19556
19688
  peg$currPos = s0;
19557
19689
  s0 = peg$FAILED;
@@ -19641,7 +19773,7 @@ function peg$parse(input, options) {
19641
19773
  s3 = peg$parseBoldTag();
19642
19774
  if (s3 !== peg$FAILED) {
19643
19775
  peg$savedPos = s0;
19644
- s0 = peg$f94(s2);
19776
+ s0 = peg$f95(s2);
19645
19777
  } else {
19646
19778
  peg$currPos = s0;
19647
19779
  s0 = peg$FAILED;
@@ -19727,7 +19859,7 @@ function peg$parse(input, options) {
19727
19859
  s3 = peg$parseItalicTag();
19728
19860
  if (s3 !== peg$FAILED) {
19729
19861
  peg$savedPos = s0;
19730
- s0 = peg$f95(s2);
19862
+ s0 = peg$f96(s2);
19731
19863
  } else {
19732
19864
  peg$currPos = s0;
19733
19865
  s0 = peg$FAILED;
@@ -19813,7 +19945,7 @@ function peg$parse(input, options) {
19813
19945
  s3 = peg$parseLightTag();
19814
19946
  if (s3 !== peg$FAILED) {
19815
19947
  peg$savedPos = s0;
19816
- s0 = peg$f96(s2);
19948
+ s0 = peg$f97(s2);
19817
19949
  } else {
19818
19950
  peg$currPos = s0;
19819
19951
  s0 = peg$FAILED;
@@ -19899,7 +20031,7 @@ function peg$parse(input, options) {
19899
20031
  s3 = peg$parseHighlightTag();
19900
20032
  if (s3 !== peg$FAILED) {
19901
20033
  peg$savedPos = s0;
19902
- s0 = peg$f97(s2);
20034
+ s0 = peg$f98(s2);
19903
20035
  } else {
19904
20036
  peg$currPos = s0;
19905
20037
  s0 = peg$FAILED;
@@ -19984,22 +20116,22 @@ function peg$parse(input, options) {
19984
20116
  let s0, s1;
19985
20117
  peg$silentFails++;
19986
20118
  if (input.charCodeAt(peg$currPos) === 10) {
19987
- s0 = peg$c126;
20119
+ s0 = peg$c127;
19988
20120
  peg$currPos++;
19989
20121
  } else {
19990
20122
  s0 = peg$FAILED;
19991
20123
  if (peg$silentFails === 0) {
19992
- peg$fail(peg$e131);
20124
+ peg$fail(peg$e132);
19993
20125
  }
19994
20126
  }
19995
20127
  if (s0 === peg$FAILED) {
19996
- if (input.substr(peg$currPos, 2) === peg$c127) {
19997
- s0 = peg$c127;
20128
+ if (input.substr(peg$currPos, 2) === peg$c128) {
20129
+ s0 = peg$c128;
19998
20130
  peg$currPos += 2;
19999
20131
  } else {
20000
20132
  s0 = peg$FAILED;
20001
20133
  if (peg$silentFails === 0) {
20002
- peg$fail(peg$e132);
20134
+ peg$fail(peg$e133);
20003
20135
  }
20004
20136
  }
20005
20137
  if (s0 === peg$FAILED) {
@@ -20009,7 +20141,7 @@ function peg$parse(input, options) {
20009
20141
  } else {
20010
20142
  s0 = peg$FAILED;
20011
20143
  if (peg$silentFails === 0) {
20012
- peg$fail(peg$e133);
20144
+ peg$fail(peg$e134);
20013
20145
  }
20014
20146
  }
20015
20147
  }
@@ -20018,7 +20150,7 @@ function peg$parse(input, options) {
20018
20150
  if (s0 === peg$FAILED) {
20019
20151
  s1 = peg$FAILED;
20020
20152
  if (peg$silentFails === 0) {
20021
- peg$fail(peg$e130);
20153
+ peg$fail(peg$e131);
20022
20154
  }
20023
20155
  }
20024
20156
  return s0;
@@ -20031,7 +20163,7 @@ function peg$parse(input, options) {
20031
20163
  } else {
20032
20164
  s0 = peg$FAILED;
20033
20165
  if (peg$silentFails === 0) {
20034
- peg$fail(peg$e134);
20166
+ peg$fail(peg$e135);
20035
20167
  }
20036
20168
  }
20037
20169
  return s0;
@@ -20065,35 +20197,35 @@ function peg$parse(input, options) {
20065
20197
  let s0, s1, s2, s3, s4, s5, s6, s7, s8;
20066
20198
  s0 = peg$currPos;
20067
20199
  s1 = peg$currPos;
20068
- if (input.substr(peg$currPos, 4) === peg$c128) {
20069
- s2 = peg$c128;
20200
+ if (input.substr(peg$currPos, 4) === peg$c129) {
20201
+ s2 = peg$c129;
20070
20202
  peg$currPos += 4;
20071
20203
  } else {
20072
20204
  s2 = peg$FAILED;
20073
20205
  if (peg$silentFails === 0) {
20074
- peg$fail(peg$e135);
20206
+ peg$fail(peg$e136);
20075
20207
  }
20076
20208
  }
20077
20209
  if (s2 !== peg$FAILED) {
20078
20210
  if (input.charCodeAt(peg$currPos) === 115) {
20079
- s3 = peg$c129;
20211
+ s3 = peg$c130;
20080
20212
  peg$currPos++;
20081
20213
  } else {
20082
20214
  s3 = peg$FAILED;
20083
20215
  if (peg$silentFails === 0) {
20084
- peg$fail(peg$e136);
20216
+ peg$fail(peg$e137);
20085
20217
  }
20086
20218
  }
20087
20219
  if (s3 === peg$FAILED) {
20088
20220
  s3 = null;
20089
20221
  }
20090
- if (input.substr(peg$currPos, 3) === peg$c130) {
20091
- s4 = peg$c130;
20222
+ if (input.substr(peg$currPos, 3) === peg$c131) {
20223
+ s4 = peg$c131;
20092
20224
  peg$currPos += 3;
20093
20225
  } else {
20094
20226
  s4 = peg$FAILED;
20095
20227
  if (peg$silentFails === 0) {
20096
- peg$fail(peg$e137);
20228
+ peg$fail(peg$e138);
20097
20229
  }
20098
20230
  }
20099
20231
  if (s4 !== peg$FAILED) {
@@ -20171,35 +20303,35 @@ function peg$parse(input, options) {
20171
20303
  s0 = peg$currPos;
20172
20304
  s1 = peg$currPos;
20173
20305
  s2 = peg$currPos;
20174
- if (input.substr(peg$currPos, 4) === peg$c128) {
20175
- s3 = peg$c128;
20306
+ if (input.substr(peg$currPos, 4) === peg$c129) {
20307
+ s3 = peg$c129;
20176
20308
  peg$currPos += 4;
20177
20309
  } else {
20178
20310
  s3 = peg$FAILED;
20179
20311
  if (peg$silentFails === 0) {
20180
- peg$fail(peg$e135);
20312
+ peg$fail(peg$e136);
20181
20313
  }
20182
20314
  }
20183
20315
  if (s3 !== peg$FAILED) {
20184
20316
  if (input.charCodeAt(peg$currPos) === 115) {
20185
- s4 = peg$c129;
20317
+ s4 = peg$c130;
20186
20318
  peg$currPos++;
20187
20319
  } else {
20188
20320
  s4 = peg$FAILED;
20189
20321
  if (peg$silentFails === 0) {
20190
- peg$fail(peg$e136);
20322
+ peg$fail(peg$e137);
20191
20323
  }
20192
20324
  }
20193
20325
  if (s4 === peg$FAILED) {
20194
20326
  s4 = null;
20195
20327
  }
20196
- if (input.substr(peg$currPos, 3) === peg$c130) {
20197
- s5 = peg$c130;
20328
+ if (input.substr(peg$currPos, 3) === peg$c131) {
20329
+ s5 = peg$c131;
20198
20330
  peg$currPos += 3;
20199
20331
  } else {
20200
20332
  s5 = peg$FAILED;
20201
20333
  if (peg$silentFails === 0) {
20202
- peg$fail(peg$e137);
20334
+ peg$fail(peg$e138);
20203
20335
  }
20204
20336
  }
20205
20337
  if (s5 !== peg$FAILED) {
@@ -20214,13 +20346,13 @@ function peg$parse(input, options) {
20214
20346
  s2 = peg$FAILED;
20215
20347
  }
20216
20348
  if (s2 === peg$FAILED) {
20217
- if (input.substr(peg$currPos, 7) === peg$c131) {
20218
- s2 = peg$c131;
20349
+ if (input.substr(peg$currPos, 7) === peg$c132) {
20350
+ s2 = peg$c132;
20219
20351
  peg$currPos += 7;
20220
20352
  } else {
20221
20353
  s2 = peg$FAILED;
20222
20354
  if (peg$silentFails === 0) {
20223
- peg$fail(peg$e138);
20355
+ peg$fail(peg$e139);
20224
20356
  }
20225
20357
  }
20226
20358
  }
@@ -20285,7 +20417,7 @@ function peg$parse(input, options) {
20285
20417
  }
20286
20418
  s2 = input.substring(s2, peg$currPos);
20287
20419
  peg$savedPos = s0;
20288
- s0 = peg$f98(s1, s2);
20420
+ s0 = peg$f99(s1, s2);
20289
20421
  } else {
20290
20422
  peg$currPos = s0;
20291
20423
  s0 = peg$FAILED;
@@ -20300,7 +20432,7 @@ function peg$parse(input, options) {
20300
20432
  } else {
20301
20433
  s0 = peg$FAILED;
20302
20434
  if (peg$silentFails === 0) {
20303
- peg$fail(peg$e139);
20435
+ peg$fail(peg$e140);
20304
20436
  }
20305
20437
  }
20306
20438
  return s0;