@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.
package/dist/index.cjs CHANGED
@@ -9147,7 +9147,7 @@ var instance2 = new Config();
9147
9147
  // src/generated/package_info.ts
9148
9148
  var PACKAGE_INFO = {
9149
9149
  "name": "@gmb/bitmark-parser-generator",
9150
- "version": "4.8.0",
9150
+ "version": "4.9.0",
9151
9151
  "author": "Get More Brain Ltd",
9152
9152
  "license": "ISC",
9153
9153
  "description": "A bitmark parser and generator using Peggy.js"
@@ -11645,7 +11645,7 @@ var TextGenerator = class extends AstWalkerGenerator {
11645
11645
  };
11646
11646
 
11647
11647
  // src/generated/parser/text/text-peggy-parser.js
11648
- var VERSION = "8.34.3";
11648
+ var VERSION = "8.35.0";
11649
11649
  function unbreakscape(str) {
11650
11650
  if (typeof str !== "string") return null;
11651
11651
  return instance3.unbreakscape(str);
@@ -11835,100 +11835,101 @@ function peg$parse(input, options) {
11835
11835
  const peg$c35 = "=";
11836
11836
  const peg$c36 = "|latex|";
11837
11837
  const peg$c37 = "|imageInline:";
11838
- const peg$c38 = "alignmentVertical";
11839
- const peg$c39 = "size";
11840
- const peg$c40 = "top";
11841
- const peg$c41 = "middle";
11842
- const peg$c42 = "bottom";
11843
- const peg$c43 = "baseline";
11844
- const peg$c44 = "sub";
11845
- const peg$c45 = "super";
11846
- const peg$c46 = "text-bottom";
11847
- const peg$c47 = "text-top";
11848
- const peg$c48 = "line-height";
11849
- const peg$c49 = "font-height";
11850
- const peg$c50 = "explicit";
11851
- const peg$c51 = "link:";
11852
- const peg$c52 = "extref:";
11853
- const peg$c53 = "provider:";
11854
- const peg$c54 = "xref:";
11855
- const peg$c55 = "\u25BA";
11856
- const peg$c56 = "symbol:";
11857
- const peg$c57 = "footnote:";
11858
- const peg$c58 = "footnote*:";
11859
- const peg$c59 = "var:";
11860
- const peg$c60 = "code:";
11861
- const peg$c61 = "timer";
11862
- const peg$c62 = "timer:";
11863
- const peg$c63 = "duration:";
11864
- const peg$c64 = "P";
11865
- const peg$c65 = "color:";
11866
- const peg$c66 = "|\u25BA";
11867
- const peg$c67 = "bold";
11868
- const peg$c68 = "italic";
11869
- const peg$c69 = "light";
11870
- const peg$c70 = "highlight";
11871
- const peg$c71 = "strike";
11872
- const peg$c72 = "subscript";
11873
- const peg$c73 = "superscript";
11874
- const peg$c74 = "ins";
11875
- const peg$c75 = "del";
11876
- const peg$c76 = "underline";
11877
- const peg$c77 = "doubleUnderline";
11878
- const peg$c78 = "circle";
11879
- const peg$c79 = "languageEmRed";
11880
- const peg$c80 = "languageEmOrange";
11881
- const peg$c81 = "languageEmYellow";
11882
- const peg$c82 = "languageEmGreen";
11883
- const peg$c83 = "languageEmBlue";
11884
- const peg$c84 = "languageEmPurple";
11885
- const peg$c85 = "languageEmPink";
11886
- const peg$c86 = "languageEmBrown";
11887
- const peg$c87 = "languageEmBlack";
11888
- const peg$c88 = "languageEmWhite";
11889
- const peg$c89 = "languageEmGray";
11890
- const peg$c90 = "languageEm";
11891
- const peg$c91 = "userUnderline";
11892
- const peg$c92 = "userDoubleUnderline";
11893
- const peg$c93 = "userStrike";
11894
- const peg$c94 = "userCircle";
11895
- const peg$c95 = "userHighlight";
11896
- const peg$c96 = "notranslate";
11897
- const peg$c97 = "aqua";
11898
- const peg$c98 = "black";
11899
- const peg$c99 = "blue";
11900
- const peg$c100 = "brown";
11901
- const peg$c101 = "fuchsia";
11902
- const peg$c102 = "lightgrey";
11903
- const peg$c103 = "gray";
11904
- const peg$c104 = "darkgray";
11905
- const peg$c105 = "green";
11906
- const peg$c106 = "lime";
11907
- const peg$c107 = "magenta";
11908
- const peg$c108 = "maroon";
11909
- const peg$c109 = "navy";
11910
- const peg$c110 = "olive";
11911
- const peg$c111 = "orange";
11912
- const peg$c112 = "pink";
11913
- const peg$c113 = "purple";
11914
- const peg$c114 = "red";
11915
- const peg$c115 = "silver";
11916
- const peg$c116 = "teal";
11917
- const peg$c117 = "violet";
11918
- const peg$c118 = "white";
11919
- const peg$c119 = "yellow";
11920
- const peg$c120 = "*";
11921
- const peg$c121 = "_";
11922
- const peg$c122 = "`";
11923
- const peg$c123 = "!";
11924
- const peg$c124 = "[!";
11925
- const peg$c125 = "]";
11926
- const peg$c126 = "\n";
11927
- const peg$c127 = "\r\n";
11928
- const peg$c128 = "http";
11929
- const peg$c129 = "s";
11930
- const peg$c130 = "://";
11931
- const peg$c131 = "mailto:";
11838
+ const peg$c38 = "srcAlt";
11839
+ const peg$c39 = "alignmentVertical";
11840
+ const peg$c40 = "size";
11841
+ const peg$c41 = "top";
11842
+ const peg$c42 = "middle";
11843
+ const peg$c43 = "bottom";
11844
+ const peg$c44 = "baseline";
11845
+ const peg$c45 = "sub";
11846
+ const peg$c46 = "super";
11847
+ const peg$c47 = "text-bottom";
11848
+ const peg$c48 = "text-top";
11849
+ const peg$c49 = "line-height";
11850
+ const peg$c50 = "font-height";
11851
+ const peg$c51 = "explicit";
11852
+ const peg$c52 = "link:";
11853
+ const peg$c53 = "extref:";
11854
+ const peg$c54 = "provider:";
11855
+ const peg$c55 = "xref:";
11856
+ const peg$c56 = "\u25BA";
11857
+ const peg$c57 = "symbol:";
11858
+ const peg$c58 = "footnote:";
11859
+ const peg$c59 = "footnote*:";
11860
+ const peg$c60 = "var:";
11861
+ const peg$c61 = "code:";
11862
+ const peg$c62 = "timer";
11863
+ const peg$c63 = "timer:";
11864
+ const peg$c64 = "duration:";
11865
+ const peg$c65 = "P";
11866
+ const peg$c66 = "color:";
11867
+ const peg$c67 = "|\u25BA";
11868
+ const peg$c68 = "bold";
11869
+ const peg$c69 = "italic";
11870
+ const peg$c70 = "light";
11871
+ const peg$c71 = "highlight";
11872
+ const peg$c72 = "strike";
11873
+ const peg$c73 = "subscript";
11874
+ const peg$c74 = "superscript";
11875
+ const peg$c75 = "ins";
11876
+ const peg$c76 = "del";
11877
+ const peg$c77 = "underline";
11878
+ const peg$c78 = "doubleUnderline";
11879
+ const peg$c79 = "circle";
11880
+ const peg$c80 = "languageEmRed";
11881
+ const peg$c81 = "languageEmOrange";
11882
+ const peg$c82 = "languageEmYellow";
11883
+ const peg$c83 = "languageEmGreen";
11884
+ const peg$c84 = "languageEmBlue";
11885
+ const peg$c85 = "languageEmPurple";
11886
+ const peg$c86 = "languageEmPink";
11887
+ const peg$c87 = "languageEmBrown";
11888
+ const peg$c88 = "languageEmBlack";
11889
+ const peg$c89 = "languageEmWhite";
11890
+ const peg$c90 = "languageEmGray";
11891
+ const peg$c91 = "languageEm";
11892
+ const peg$c92 = "userUnderline";
11893
+ const peg$c93 = "userDoubleUnderline";
11894
+ const peg$c94 = "userStrike";
11895
+ const peg$c95 = "userCircle";
11896
+ const peg$c96 = "userHighlight";
11897
+ const peg$c97 = "notranslate";
11898
+ const peg$c98 = "aqua";
11899
+ const peg$c99 = "black";
11900
+ const peg$c100 = "blue";
11901
+ const peg$c101 = "brown";
11902
+ const peg$c102 = "fuchsia";
11903
+ const peg$c103 = "lightgrey";
11904
+ const peg$c104 = "gray";
11905
+ const peg$c105 = "darkgray";
11906
+ const peg$c106 = "green";
11907
+ const peg$c107 = "lime";
11908
+ const peg$c108 = "magenta";
11909
+ const peg$c109 = "maroon";
11910
+ const peg$c110 = "navy";
11911
+ const peg$c111 = "olive";
11912
+ const peg$c112 = "orange";
11913
+ const peg$c113 = "pink";
11914
+ const peg$c114 = "purple";
11915
+ const peg$c115 = "red";
11916
+ const peg$c116 = "silver";
11917
+ const peg$c117 = "teal";
11918
+ const peg$c118 = "violet";
11919
+ const peg$c119 = "white";
11920
+ const peg$c120 = "yellow";
11921
+ const peg$c121 = "*";
11922
+ const peg$c122 = "_";
11923
+ const peg$c123 = "`";
11924
+ const peg$c124 = "!";
11925
+ const peg$c125 = "[!";
11926
+ const peg$c126 = "]";
11927
+ const peg$c127 = "\n";
11928
+ const peg$c128 = "\r\n";
11929
+ const peg$c129 = "http";
11930
+ const peg$c130 = "s";
11931
+ const peg$c131 = "://";
11932
+ const peg$c132 = "mailto:";
11932
11933
  const peg$r0 = /^[ \t]/;
11933
11934
  const peg$r1 = /^[0-9]/;
11934
11935
  const peg$r2 = /^[\r\u2028-\u2029]/;
@@ -11976,104 +11977,105 @@ function peg$parse(input, options) {
11976
11977
  const peg$e39 = peg$literalExpectation("=", false);
11977
11978
  const peg$e40 = peg$literalExpectation("|latex|", false);
11978
11979
  const peg$e41 = peg$literalExpectation("|imageInline:", false);
11979
- const peg$e42 = peg$literalExpectation("alignmentVertical", false);
11980
- const peg$e43 = peg$literalExpectation("size", false);
11981
- const peg$e44 = peg$literalExpectation("top", false);
11982
- const peg$e45 = peg$literalExpectation("middle", false);
11983
- const peg$e46 = peg$literalExpectation("bottom", false);
11984
- const peg$e47 = peg$literalExpectation("baseline", false);
11985
- const peg$e48 = peg$literalExpectation("sub", false);
11986
- const peg$e49 = peg$literalExpectation("super", false);
11987
- const peg$e50 = peg$literalExpectation("text-bottom", false);
11988
- const peg$e51 = peg$literalExpectation("text-top", false);
11989
- const peg$e52 = peg$literalExpectation("line-height", false);
11990
- const peg$e53 = peg$literalExpectation("font-height", false);
11991
- const peg$e54 = peg$literalExpectation("explicit", false);
11992
- const peg$e55 = peg$literalExpectation("link:", false);
11993
- const peg$e56 = peg$literalExpectation("extref:", false);
11994
- const peg$e57 = peg$literalExpectation("provider:", false);
11995
- const peg$e58 = peg$literalExpectation("xref:", false);
11996
- const peg$e59 = peg$literalExpectation("\u25BA", false);
11997
- const peg$e60 = peg$literalExpectation("symbol:", false);
11998
- const peg$e61 = peg$literalExpectation("footnote:", false);
11999
- const peg$e62 = peg$literalExpectation("footnote*:", false);
12000
- const peg$e63 = peg$literalExpectation("var:", false);
12001
- const peg$e64 = peg$literalExpectation("code:", false);
12002
- const peg$e65 = peg$literalExpectation("timer", false);
12003
- const peg$e66 = peg$literalExpectation("timer:", false);
12004
- const peg$e67 = peg$literalExpectation("duration:", false);
12005
- const peg$e68 = peg$literalExpectation("P", false);
12006
- const peg$e69 = peg$literalExpectation("color:", false);
12007
- const peg$e70 = peg$literalExpectation("|\u25BA", false);
12008
- const peg$e71 = peg$literalExpectation("bold", false);
12009
- const peg$e72 = peg$literalExpectation("italic", false);
12010
- const peg$e73 = peg$literalExpectation("light", false);
12011
- const peg$e74 = peg$literalExpectation("highlight", false);
12012
- const peg$e75 = peg$literalExpectation("strike", false);
12013
- const peg$e76 = peg$literalExpectation("subscript", false);
12014
- const peg$e77 = peg$literalExpectation("superscript", false);
12015
- const peg$e78 = peg$literalExpectation("ins", false);
12016
- const peg$e79 = peg$literalExpectation("del", false);
12017
- const peg$e80 = peg$literalExpectation("underline", false);
12018
- const peg$e81 = peg$literalExpectation("doubleUnderline", false);
12019
- const peg$e82 = peg$literalExpectation("circle", false);
12020
- const peg$e83 = peg$literalExpectation("languageEmRed", false);
12021
- const peg$e84 = peg$literalExpectation("languageEmOrange", false);
12022
- const peg$e85 = peg$literalExpectation("languageEmYellow", false);
12023
- const peg$e86 = peg$literalExpectation("languageEmGreen", false);
12024
- const peg$e87 = peg$literalExpectation("languageEmBlue", false);
12025
- const peg$e88 = peg$literalExpectation("languageEmPurple", false);
12026
- const peg$e89 = peg$literalExpectation("languageEmPink", false);
12027
- const peg$e90 = peg$literalExpectation("languageEmBrown", false);
12028
- const peg$e91 = peg$literalExpectation("languageEmBlack", false);
12029
- const peg$e92 = peg$literalExpectation("languageEmWhite", false);
12030
- const peg$e93 = peg$literalExpectation("languageEmGray", false);
12031
- const peg$e94 = peg$literalExpectation("languageEm", false);
12032
- const peg$e95 = peg$literalExpectation("userUnderline", false);
12033
- const peg$e96 = peg$literalExpectation("userDoubleUnderline", false);
12034
- const peg$e97 = peg$literalExpectation("userStrike", false);
12035
- const peg$e98 = peg$literalExpectation("userCircle", false);
12036
- const peg$e99 = peg$literalExpectation("userHighlight", false);
12037
- const peg$e100 = peg$literalExpectation("notranslate", false);
12038
- const peg$e101 = peg$literalExpectation("aqua", false);
12039
- const peg$e102 = peg$literalExpectation("black", false);
12040
- const peg$e103 = peg$literalExpectation("blue", false);
12041
- const peg$e104 = peg$literalExpectation("brown", false);
12042
- const peg$e105 = peg$literalExpectation("fuchsia", false);
12043
- const peg$e106 = peg$literalExpectation("lightgrey", false);
12044
- const peg$e107 = peg$literalExpectation("gray", false);
12045
- const peg$e108 = peg$literalExpectation("darkgray", false);
12046
- const peg$e109 = peg$literalExpectation("green", false);
12047
- const peg$e110 = peg$literalExpectation("lime", false);
12048
- const peg$e111 = peg$literalExpectation("magenta", false);
12049
- const peg$e112 = peg$literalExpectation("maroon", false);
12050
- const peg$e113 = peg$literalExpectation("navy", false);
12051
- const peg$e114 = peg$literalExpectation("olive", false);
12052
- const peg$e115 = peg$literalExpectation("orange", false);
12053
- const peg$e116 = peg$literalExpectation("pink", false);
12054
- const peg$e117 = peg$literalExpectation("purple", false);
12055
- const peg$e118 = peg$literalExpectation("red", false);
12056
- const peg$e119 = peg$literalExpectation("silver", false);
12057
- const peg$e120 = peg$literalExpectation("teal", false);
12058
- const peg$e121 = peg$literalExpectation("violet", false);
12059
- const peg$e122 = peg$literalExpectation("white", false);
12060
- const peg$e123 = peg$literalExpectation("yellow", false);
12061
- const peg$e124 = peg$literalExpectation("*", false);
12062
- const peg$e125 = peg$literalExpectation("_", false);
12063
- const peg$e126 = peg$literalExpectation("`", false);
12064
- const peg$e127 = peg$literalExpectation("!", false);
12065
- const peg$e128 = peg$literalExpectation("[!", false);
12066
- const peg$e129 = peg$literalExpectation("]", false);
12067
- const peg$e130 = peg$otherExpectation("Line Terminator");
12068
- const peg$e131 = peg$literalExpectation("\n", false);
12069
- const peg$e132 = peg$literalExpectation("\r\n", false);
12070
- const peg$e133 = peg$classExpectation(["\r", ["\u2028", "\u2029"]], false, false, false);
12071
- const peg$e134 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false, false);
12072
- const peg$e135 = peg$literalExpectation("http", false);
12073
- const peg$e136 = peg$literalExpectation("s", false);
12074
- const peg$e137 = peg$literalExpectation("://", false);
12075
- const peg$e138 = peg$literalExpectation("mailto:", false);
12076
- const peg$e139 = peg$classExpectation(["!", ["#", ";"], "=", ["?", "["], ["]", "_"], ["a", "{"], ["}", "~"]], false, false, false);
11980
+ const peg$e42 = peg$literalExpectation("srcAlt", false);
11981
+ const peg$e43 = peg$literalExpectation("alignmentVertical", false);
11982
+ const peg$e44 = peg$literalExpectation("size", false);
11983
+ const peg$e45 = peg$literalExpectation("top", false);
11984
+ const peg$e46 = peg$literalExpectation("middle", false);
11985
+ const peg$e47 = peg$literalExpectation("bottom", false);
11986
+ const peg$e48 = peg$literalExpectation("baseline", false);
11987
+ const peg$e49 = peg$literalExpectation("sub", false);
11988
+ const peg$e50 = peg$literalExpectation("super", false);
11989
+ const peg$e51 = peg$literalExpectation("text-bottom", false);
11990
+ const peg$e52 = peg$literalExpectation("text-top", false);
11991
+ const peg$e53 = peg$literalExpectation("line-height", false);
11992
+ const peg$e54 = peg$literalExpectation("font-height", false);
11993
+ const peg$e55 = peg$literalExpectation("explicit", false);
11994
+ const peg$e56 = peg$literalExpectation("link:", false);
11995
+ const peg$e57 = peg$literalExpectation("extref:", false);
11996
+ const peg$e58 = peg$literalExpectation("provider:", false);
11997
+ const peg$e59 = peg$literalExpectation("xref:", false);
11998
+ const peg$e60 = peg$literalExpectation("\u25BA", false);
11999
+ const peg$e61 = peg$literalExpectation("symbol:", false);
12000
+ const peg$e62 = peg$literalExpectation("footnote:", false);
12001
+ const peg$e63 = peg$literalExpectation("footnote*:", false);
12002
+ const peg$e64 = peg$literalExpectation("var:", false);
12003
+ const peg$e65 = peg$literalExpectation("code:", false);
12004
+ const peg$e66 = peg$literalExpectation("timer", false);
12005
+ const peg$e67 = peg$literalExpectation("timer:", false);
12006
+ const peg$e68 = peg$literalExpectation("duration:", false);
12007
+ const peg$e69 = peg$literalExpectation("P", false);
12008
+ const peg$e70 = peg$literalExpectation("color:", false);
12009
+ const peg$e71 = peg$literalExpectation("|\u25BA", false);
12010
+ const peg$e72 = peg$literalExpectation("bold", false);
12011
+ const peg$e73 = peg$literalExpectation("italic", false);
12012
+ const peg$e74 = peg$literalExpectation("light", false);
12013
+ const peg$e75 = peg$literalExpectation("highlight", false);
12014
+ const peg$e76 = peg$literalExpectation("strike", false);
12015
+ const peg$e77 = peg$literalExpectation("subscript", false);
12016
+ const peg$e78 = peg$literalExpectation("superscript", false);
12017
+ const peg$e79 = peg$literalExpectation("ins", false);
12018
+ const peg$e80 = peg$literalExpectation("del", false);
12019
+ const peg$e81 = peg$literalExpectation("underline", false);
12020
+ const peg$e82 = peg$literalExpectation("doubleUnderline", false);
12021
+ const peg$e83 = peg$literalExpectation("circle", false);
12022
+ const peg$e84 = peg$literalExpectation("languageEmRed", false);
12023
+ const peg$e85 = peg$literalExpectation("languageEmOrange", false);
12024
+ const peg$e86 = peg$literalExpectation("languageEmYellow", false);
12025
+ const peg$e87 = peg$literalExpectation("languageEmGreen", false);
12026
+ const peg$e88 = peg$literalExpectation("languageEmBlue", false);
12027
+ const peg$e89 = peg$literalExpectation("languageEmPurple", false);
12028
+ const peg$e90 = peg$literalExpectation("languageEmPink", false);
12029
+ const peg$e91 = peg$literalExpectation("languageEmBrown", false);
12030
+ const peg$e92 = peg$literalExpectation("languageEmBlack", false);
12031
+ const peg$e93 = peg$literalExpectation("languageEmWhite", false);
12032
+ const peg$e94 = peg$literalExpectation("languageEmGray", false);
12033
+ const peg$e95 = peg$literalExpectation("languageEm", false);
12034
+ const peg$e96 = peg$literalExpectation("userUnderline", false);
12035
+ const peg$e97 = peg$literalExpectation("userDoubleUnderline", false);
12036
+ const peg$e98 = peg$literalExpectation("userStrike", false);
12037
+ const peg$e99 = peg$literalExpectation("userCircle", false);
12038
+ const peg$e100 = peg$literalExpectation("userHighlight", false);
12039
+ const peg$e101 = peg$literalExpectation("notranslate", false);
12040
+ const peg$e102 = peg$literalExpectation("aqua", false);
12041
+ const peg$e103 = peg$literalExpectation("black", false);
12042
+ const peg$e104 = peg$literalExpectation("blue", false);
12043
+ const peg$e105 = peg$literalExpectation("brown", false);
12044
+ const peg$e106 = peg$literalExpectation("fuchsia", false);
12045
+ const peg$e107 = peg$literalExpectation("lightgrey", false);
12046
+ const peg$e108 = peg$literalExpectation("gray", false);
12047
+ const peg$e109 = peg$literalExpectation("darkgray", false);
12048
+ const peg$e110 = peg$literalExpectation("green", false);
12049
+ const peg$e111 = peg$literalExpectation("lime", false);
12050
+ const peg$e112 = peg$literalExpectation("magenta", false);
12051
+ const peg$e113 = peg$literalExpectation("maroon", false);
12052
+ const peg$e114 = peg$literalExpectation("navy", false);
12053
+ const peg$e115 = peg$literalExpectation("olive", false);
12054
+ const peg$e116 = peg$literalExpectation("orange", false);
12055
+ const peg$e117 = peg$literalExpectation("pink", false);
12056
+ const peg$e118 = peg$literalExpectation("purple", false);
12057
+ const peg$e119 = peg$literalExpectation("red", false);
12058
+ const peg$e120 = peg$literalExpectation("silver", false);
12059
+ const peg$e121 = peg$literalExpectation("teal", false);
12060
+ const peg$e122 = peg$literalExpectation("violet", false);
12061
+ const peg$e123 = peg$literalExpectation("white", false);
12062
+ const peg$e124 = peg$literalExpectation("yellow", false);
12063
+ const peg$e125 = peg$literalExpectation("*", false);
12064
+ const peg$e126 = peg$literalExpectation("_", false);
12065
+ const peg$e127 = peg$literalExpectation("`", false);
12066
+ const peg$e128 = peg$literalExpectation("!", false);
12067
+ const peg$e129 = peg$literalExpectation("[!", false);
12068
+ const peg$e130 = peg$literalExpectation("]", false);
12069
+ const peg$e131 = peg$otherExpectation("Line Terminator");
12070
+ const peg$e132 = peg$literalExpectation("\n", false);
12071
+ const peg$e133 = peg$literalExpectation("\r\n", false);
12072
+ const peg$e134 = peg$classExpectation(["\r", ["\u2028", "\u2029"]], false, false, false);
12073
+ const peg$e135 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false, false);
12074
+ const peg$e136 = peg$literalExpectation("http", false);
12075
+ const peg$e137 = peg$literalExpectation("s", false);
12076
+ const peg$e138 = peg$literalExpectation("://", false);
12077
+ const peg$e139 = peg$literalExpectation("mailto:", false);
12078
+ const peg$e140 = peg$classExpectation(["!", ["#", ";"], "=", ["?", "["], ["]", "_"], ["a", "{"], ["}", "~"]], false, false, false);
12077
12079
  function peg$f0() {
12078
12080
  return VERSION;
12079
12081
  }
@@ -12380,101 +12382,104 @@ function peg$parse(input, options) {
12380
12382
  return { comment: str };
12381
12383
  }
12382
12384
  function peg$f67(p, v) {
12383
- return { [p]: parseInt(v) };
12385
+ return { [p]: v };
12384
12386
  }
12385
12387
  function peg$f68(p, v) {
12386
- return { type: "error", msg: p + " must be a positive integer.", found: v };
12388
+ return { [p]: parseInt(v) };
12387
12389
  }
12388
12390
  function peg$f69(p, v) {
12389
- return { [p]: v };
12391
+ return { type: "error", msg: p + " must be a positive integer.", found: v };
12390
12392
  }
12391
12393
  function peg$f70(p, v) {
12392
12394
  return { [p]: v };
12393
12395
  }
12394
- function peg$f71(str) {
12396
+ function peg$f71(p, v) {
12397
+ return { [p]: v };
12398
+ }
12399
+ function peg$f72(str) {
12395
12400
  return { type: "link", attrs: { href: str.trim(), target: "_blank" } };
12396
12401
  }
12397
- function peg$f72(str, rc, p) {
12402
+ function peg$f73(str, rc, p) {
12398
12403
  return { type: "extref", attrs: { extref: str.trim(), references: rc, provider: p.trim() } };
12399
12404
  }
12400
- function peg$f73(str, str2) {
12405
+ function peg$f74(str, str2) {
12401
12406
  return { type: "xref", attrs: { xref: str.trim(), reference: str2.trim() } };
12402
12407
  }
12403
- function peg$f74(str) {
12408
+ function peg$f75(str) {
12404
12409
  return { type: "xref", attrs: { xref: str.trim(), reference: "" } };
12405
12410
  }
12406
- function peg$f75(str) {
12411
+ function peg$f76(str) {
12407
12412
  return { type: "ref", attrs: { reference: str.trim() } };
12408
12413
  }
12409
- function peg$f76(str, ch) {
12414
+ function peg$f77(str, ch) {
12410
12415
  const chain = Object.assign({}, ...ch);
12411
12416
  return { type: "symbol", attrs: { src: str.trim(), ...chain } };
12412
12417
  }
12413
- function peg$f77(str) {
12418
+ function peg$f78(str) {
12414
12419
  return { type: "footnote", attrs: { content: bitmarkPlusString(str.trim()) } };
12415
12420
  }
12416
- function peg$f78(str) {
12421
+ function peg$f79(str) {
12417
12422
  return { type: "footnote*", attrs: { content: bitmarkPlusString(str.trim()) } };
12418
12423
  }
12419
- function peg$f79(str) {
12424
+ function peg$f80(str) {
12420
12425
  return { type: "var", attrs: { name: str.trim() } };
12421
12426
  }
12422
- function peg$f80() {
12427
+ function peg$f81() {
12423
12428
  return { type: "code", attrs: { language: "plain text" } };
12424
12429
  }
12425
- function peg$f81(lang) {
12430
+ function peg$f82(lang) {
12426
12431
  return { type: "code", attrs: { language: lang.trim().toLowerCase() } };
12427
12432
  }
12428
- function peg$f82() {
12433
+ function peg$f83() {
12429
12434
  return { type: "timer", attrs: { name: "" } };
12430
12435
  }
12431
- function peg$f83(str) {
12436
+ function peg$f84(str) {
12432
12437
  return { type: "timer", attrs: { name: str.trim() } };
12433
12438
  }
12434
- function peg$f84(str) {
12439
+ function peg$f85(str) {
12435
12440
  return { type: "duration", attrs: { duration: str } };
12436
12441
  }
12437
- function peg$f85(color) {
12442
+ function peg$f86(color) {
12438
12443
  return { type: "color", attrs: { color } };
12439
12444
  }
12440
- function peg$f86(style) {
12445
+ function peg$f87(style) {
12441
12446
  return { type: style };
12442
12447
  }
12443
- function peg$f87(str) {
12448
+ function peg$f88(str) {
12444
12449
  return { type: "comment", comment: str };
12445
12450
  }
12446
- function peg$f88(r) {
12451
+ function peg$f89(r) {
12447
12452
  return r.trim();
12448
12453
  }
12449
- function peg$f89(bs) {
12454
+ function peg$f90(bs) {
12450
12455
  return [{ type: "paragraph", content: bs, attrs: {} }];
12451
12456
  }
12452
- function peg$f90(first, more) {
12457
+ function peg$f91(first, more) {
12453
12458
  const cleaned_ = cleanEmptyTextNodes(first ? [first, ...more.flat()] : more.flat());
12454
12459
  return cleaned_;
12455
12460
  }
12456
- function peg$f91() {
12461
+ function peg$f92() {
12457
12462
  return { "type": "hardBreak" };
12458
12463
  }
12459
- function peg$f92(t) {
12464
+ function peg$f93(t) {
12460
12465
  return { text: unbreakscape(t), type: "text" };
12461
12466
  }
12462
- function peg$f93(t) {
12467
+ function peg$f94(t) {
12463
12468
  return { index: +t, type: "bit" };
12464
12469
  }
12465
- function peg$f94(t) {
12470
+ function peg$f95(t) {
12466
12471
  return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" };
12467
12472
  }
12468
- function peg$f95(t) {
12473
+ function peg$f96(t) {
12469
12474
  return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" };
12470
12475
  }
12471
- function peg$f96(t) {
12476
+ function peg$f97(t) {
12472
12477
  return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" };
12473
12478
  }
12474
- function peg$f97(t) {
12479
+ function peg$f98(t) {
12475
12480
  return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" };
12476
12481
  }
12477
- function peg$f98(pr, t) {
12482
+ function peg$f99(pr, t) {
12478
12483
  return { pr, t };
12479
12484
  }
12480
12485
  let peg$currPos = options.peg$currPos | 0;
@@ -16656,7 +16661,15 @@ function peg$parse(input, options) {
16656
16661
  if (s1 === peg$FAILED) {
16657
16662
  s1 = null;
16658
16663
  }
16659
- s2 = peg$parseMediaSizeTags();
16664
+ if (input.substr(peg$currPos, 6) === peg$c38) {
16665
+ s2 = peg$c38;
16666
+ peg$currPos += 6;
16667
+ } else {
16668
+ s2 = peg$FAILED;
16669
+ if (peg$silentFails === 0) {
16670
+ peg$fail(peg$e42);
16671
+ }
16672
+ }
16660
16673
  if (s2 !== peg$FAILED) {
16661
16674
  if (input.charCodeAt(peg$currPos) === 58) {
16662
16675
  s3 = peg$c5;
@@ -16704,15 +16717,7 @@ function peg$parse(input, options) {
16704
16717
  s8 = peg$FAILED;
16705
16718
  }
16706
16719
  if (s8 !== peg$FAILED) {
16707
- s9 = input.charAt(peg$currPos);
16708
- if (peg$r1.test(s9)) {
16709
- peg$currPos++;
16710
- } else {
16711
- s9 = peg$FAILED;
16712
- if (peg$silentFails === 0) {
16713
- peg$fail(peg$e15);
16714
- }
16715
- }
16720
+ s9 = peg$parsechar();
16716
16721
  if (s9 !== peg$FAILED) {
16717
16722
  s8 = [s8, s9];
16718
16723
  s7 = s8;
@@ -16724,59 +16729,38 @@ function peg$parse(input, options) {
16724
16729
  peg$currPos = s7;
16725
16730
  s7 = peg$FAILED;
16726
16731
  }
16727
- if (s7 !== peg$FAILED) {
16728
- while (s7 !== peg$FAILED) {
16729
- s6.push(s7);
16730
- s7 = peg$currPos;
16731
- s8 = peg$currPos;
16732
- peg$silentFails++;
16733
- s9 = peg$parseBlockTag();
16734
- peg$silentFails--;
16735
- if (s9 === peg$FAILED) {
16736
- s8 = void 0;
16737
- } else {
16738
- peg$currPos = s8;
16739
- s8 = peg$FAILED;
16740
- }
16741
- if (s8 !== peg$FAILED) {
16742
- s9 = input.charAt(peg$currPos);
16743
- if (peg$r1.test(s9)) {
16744
- peg$currPos++;
16745
- } else {
16746
- s9 = peg$FAILED;
16747
- if (peg$silentFails === 0) {
16748
- peg$fail(peg$e15);
16749
- }
16750
- }
16751
- if (s9 !== peg$FAILED) {
16752
- s8 = [s8, s9];
16753
- s7 = s8;
16754
- } else {
16755
- peg$currPos = s7;
16756
- s7 = peg$FAILED;
16757
- }
16732
+ while (s7 !== peg$FAILED) {
16733
+ s6.push(s7);
16734
+ s7 = peg$currPos;
16735
+ s8 = peg$currPos;
16736
+ peg$silentFails++;
16737
+ s9 = peg$parseBlockTag();
16738
+ peg$silentFails--;
16739
+ if (s9 === peg$FAILED) {
16740
+ s8 = void 0;
16741
+ } else {
16742
+ peg$currPos = s8;
16743
+ s8 = peg$FAILED;
16744
+ }
16745
+ if (s8 !== peg$FAILED) {
16746
+ s9 = peg$parsechar();
16747
+ if (s9 !== peg$FAILED) {
16748
+ s8 = [s8, s9];
16749
+ s7 = s8;
16758
16750
  } else {
16759
16751
  peg$currPos = s7;
16760
16752
  s7 = peg$FAILED;
16761
16753
  }
16754
+ } else {
16755
+ peg$currPos = s7;
16756
+ s7 = peg$FAILED;
16762
16757
  }
16763
- } else {
16764
- s6 = peg$FAILED;
16765
16758
  }
16759
+ s5 = input.substring(s5, peg$currPos);
16760
+ s6 = peg$parseBlockTag();
16766
16761
  if (s6 !== peg$FAILED) {
16767
- s5 = input.substring(s5, peg$currPos);
16768
- } else {
16769
- s5 = s6;
16770
- }
16771
- if (s5 !== peg$FAILED) {
16772
- s6 = peg$parseBlockTag();
16773
- if (s6 !== peg$FAILED) {
16774
- peg$savedPos = s0;
16775
- s0 = peg$f67(s2, s5);
16776
- } else {
16777
- peg$currPos = s0;
16778
- s0 = peg$FAILED;
16779
- }
16762
+ peg$savedPos = s0;
16763
+ s0 = peg$f67(s2, s5);
16780
16764
  } else {
16781
16765
  peg$currPos = s0;
16782
16766
  s0 = peg$FAILED;
@@ -16851,7 +16835,15 @@ function peg$parse(input, options) {
16851
16835
  s8 = peg$FAILED;
16852
16836
  }
16853
16837
  if (s8 !== peg$FAILED) {
16854
- s9 = peg$parsechar();
16838
+ s9 = input.charAt(peg$currPos);
16839
+ if (peg$r1.test(s9)) {
16840
+ peg$currPos++;
16841
+ } else {
16842
+ s9 = peg$FAILED;
16843
+ if (peg$silentFails === 0) {
16844
+ peg$fail(peg$e15);
16845
+ }
16846
+ }
16855
16847
  if (s9 !== peg$FAILED) {
16856
16848
  s8 = [s8, s9];
16857
16849
  s7 = s8;
@@ -16863,38 +16855,59 @@ function peg$parse(input, options) {
16863
16855
  peg$currPos = s7;
16864
16856
  s7 = peg$FAILED;
16865
16857
  }
16866
- while (s7 !== peg$FAILED) {
16867
- s6.push(s7);
16868
- s7 = peg$currPos;
16869
- s8 = peg$currPos;
16870
- peg$silentFails++;
16871
- s9 = peg$parseBlockTag();
16872
- peg$silentFails--;
16873
- if (s9 === peg$FAILED) {
16874
- s8 = void 0;
16875
- } else {
16876
- peg$currPos = s8;
16877
- s8 = peg$FAILED;
16878
- }
16879
- if (s8 !== peg$FAILED) {
16880
- s9 = peg$parsechar();
16881
- if (s9 !== peg$FAILED) {
16882
- s8 = [s8, s9];
16883
- s7 = s8;
16858
+ if (s7 !== peg$FAILED) {
16859
+ while (s7 !== peg$FAILED) {
16860
+ s6.push(s7);
16861
+ s7 = peg$currPos;
16862
+ s8 = peg$currPos;
16863
+ peg$silentFails++;
16864
+ s9 = peg$parseBlockTag();
16865
+ peg$silentFails--;
16866
+ if (s9 === peg$FAILED) {
16867
+ s8 = void 0;
16868
+ } else {
16869
+ peg$currPos = s8;
16870
+ s8 = peg$FAILED;
16871
+ }
16872
+ if (s8 !== peg$FAILED) {
16873
+ s9 = input.charAt(peg$currPos);
16874
+ if (peg$r1.test(s9)) {
16875
+ peg$currPos++;
16876
+ } else {
16877
+ s9 = peg$FAILED;
16878
+ if (peg$silentFails === 0) {
16879
+ peg$fail(peg$e15);
16880
+ }
16881
+ }
16882
+ if (s9 !== peg$FAILED) {
16883
+ s8 = [s8, s9];
16884
+ s7 = s8;
16885
+ } else {
16886
+ peg$currPos = s7;
16887
+ s7 = peg$FAILED;
16888
+ }
16884
16889
  } else {
16885
16890
  peg$currPos = s7;
16886
16891
  s7 = peg$FAILED;
16887
16892
  }
16888
- } else {
16889
- peg$currPos = s7;
16890
- s7 = peg$FAILED;
16891
16893
  }
16894
+ } else {
16895
+ s6 = peg$FAILED;
16892
16896
  }
16893
- s5 = input.substring(s5, peg$currPos);
16894
- s6 = peg$parseBlockTag();
16895
16897
  if (s6 !== peg$FAILED) {
16896
- peg$savedPos = s0;
16897
- s0 = peg$f68(s2, s5);
16898
+ s5 = input.substring(s5, peg$currPos);
16899
+ } else {
16900
+ s5 = s6;
16901
+ }
16902
+ if (s5 !== peg$FAILED) {
16903
+ s6 = peg$parseBlockTag();
16904
+ if (s6 !== peg$FAILED) {
16905
+ peg$savedPos = s0;
16906
+ s0 = peg$f68(s2, s5);
16907
+ } else {
16908
+ peg$currPos = s0;
16909
+ s0 = peg$FAILED;
16910
+ }
16898
16911
  } else {
16899
16912
  peg$currPos = s0;
16900
16913
  s0 = peg$FAILED;
@@ -16921,15 +16934,7 @@ function peg$parse(input, options) {
16921
16934
  if (s1 === peg$FAILED) {
16922
16935
  s1 = null;
16923
16936
  }
16924
- if (input.substr(peg$currPos, 17) === peg$c38) {
16925
- s2 = peg$c38;
16926
- peg$currPos += 17;
16927
- } else {
16928
- s2 = peg$FAILED;
16929
- if (peg$silentFails === 0) {
16930
- peg$fail(peg$e42);
16931
- }
16932
- }
16937
+ s2 = peg$parseMediaSizeTags();
16933
16938
  if (s2 !== peg$FAILED) {
16934
16939
  if (input.charCodeAt(peg$currPos) === 58) {
16935
16940
  s3 = peg$c5;
@@ -16963,16 +16968,64 @@ function peg$parse(input, options) {
16963
16968
  }
16964
16969
  }
16965
16970
  }
16966
- s5 = peg$parseInlineMediaAlignment();
16967
- if (s5 !== peg$FAILED) {
16968
- s6 = peg$parseBlockTag();
16969
- if (s6 !== peg$FAILED) {
16970
- peg$savedPos = s0;
16971
- s0 = peg$f69(s2, s5);
16971
+ s5 = peg$currPos;
16972
+ s6 = [];
16973
+ s7 = peg$currPos;
16974
+ s8 = peg$currPos;
16975
+ peg$silentFails++;
16976
+ s9 = peg$parseBlockTag();
16977
+ peg$silentFails--;
16978
+ if (s9 === peg$FAILED) {
16979
+ s8 = void 0;
16980
+ } else {
16981
+ peg$currPos = s8;
16982
+ s8 = peg$FAILED;
16983
+ }
16984
+ if (s8 !== peg$FAILED) {
16985
+ s9 = peg$parsechar();
16986
+ if (s9 !== peg$FAILED) {
16987
+ s8 = [s8, s9];
16988
+ s7 = s8;
16972
16989
  } else {
16973
- peg$currPos = s0;
16974
- s0 = peg$FAILED;
16990
+ peg$currPos = s7;
16991
+ s7 = peg$FAILED;
16992
+ }
16993
+ } else {
16994
+ peg$currPos = s7;
16995
+ s7 = peg$FAILED;
16996
+ }
16997
+ while (s7 !== peg$FAILED) {
16998
+ s6.push(s7);
16999
+ s7 = peg$currPos;
17000
+ s8 = peg$currPos;
17001
+ peg$silentFails++;
17002
+ s9 = peg$parseBlockTag();
17003
+ peg$silentFails--;
17004
+ if (s9 === peg$FAILED) {
17005
+ s8 = void 0;
17006
+ } else {
17007
+ peg$currPos = s8;
17008
+ s8 = peg$FAILED;
16975
17009
  }
17010
+ if (s8 !== peg$FAILED) {
17011
+ s9 = peg$parsechar();
17012
+ if (s9 !== peg$FAILED) {
17013
+ s8 = [s8, s9];
17014
+ s7 = s8;
17015
+ } else {
17016
+ peg$currPos = s7;
17017
+ s7 = peg$FAILED;
17018
+ }
17019
+ } else {
17020
+ peg$currPos = s7;
17021
+ s7 = peg$FAILED;
17022
+ }
17023
+ }
17024
+ s5 = input.substring(s5, peg$currPos);
17025
+ s6 = peg$parseBlockTag();
17026
+ if (s6 !== peg$FAILED) {
17027
+ peg$savedPos = s0;
17028
+ s0 = peg$f69(s2, s5);
16976
17029
  } else {
16977
17030
  peg$currPos = s0;
16978
17031
  s0 = peg$FAILED;
@@ -16999,9 +17052,9 @@ function peg$parse(input, options) {
16999
17052
  if (s1 === peg$FAILED) {
17000
17053
  s1 = null;
17001
17054
  }
17002
- if (input.substr(peg$currPos, 4) === peg$c39) {
17055
+ if (input.substr(peg$currPos, 17) === peg$c39) {
17003
17056
  s2 = peg$c39;
17004
- peg$currPos += 4;
17057
+ peg$currPos += 17;
17005
17058
  } else {
17006
17059
  s2 = peg$FAILED;
17007
17060
  if (peg$silentFails === 0) {
@@ -17041,7 +17094,7 @@ function peg$parse(input, options) {
17041
17094
  }
17042
17095
  }
17043
17096
  }
17044
- s5 = peg$parseInlineMediaSize();
17097
+ s5 = peg$parseInlineMediaAlignment();
17045
17098
  if (s5 !== peg$FAILED) {
17046
17099
  s6 = peg$parseBlockTag();
17047
17100
  if (s6 !== peg$FAILED) {
@@ -17063,6 +17116,85 @@ function peg$parse(input, options) {
17063
17116
  peg$currPos = s0;
17064
17117
  s0 = peg$FAILED;
17065
17118
  }
17119
+ if (s0 === peg$FAILED) {
17120
+ s0 = peg$currPos;
17121
+ if (input.charCodeAt(peg$currPos) === 64) {
17122
+ s1 = peg$c22;
17123
+ peg$currPos++;
17124
+ } else {
17125
+ s1 = peg$FAILED;
17126
+ if (peg$silentFails === 0) {
17127
+ peg$fail(peg$e26);
17128
+ }
17129
+ }
17130
+ if (s1 === peg$FAILED) {
17131
+ s1 = null;
17132
+ }
17133
+ if (input.substr(peg$currPos, 4) === peg$c40) {
17134
+ s2 = peg$c40;
17135
+ peg$currPos += 4;
17136
+ } else {
17137
+ s2 = peg$FAILED;
17138
+ if (peg$silentFails === 0) {
17139
+ peg$fail(peg$e44);
17140
+ }
17141
+ }
17142
+ if (s2 !== peg$FAILED) {
17143
+ if (input.charCodeAt(peg$currPos) === 58) {
17144
+ s3 = peg$c5;
17145
+ peg$currPos++;
17146
+ } else {
17147
+ s3 = peg$FAILED;
17148
+ if (peg$silentFails === 0) {
17149
+ peg$fail(peg$e8);
17150
+ }
17151
+ }
17152
+ if (s3 !== peg$FAILED) {
17153
+ s4 = [];
17154
+ if (input.charCodeAt(peg$currPos) === 32) {
17155
+ s5 = peg$c12;
17156
+ peg$currPos++;
17157
+ } else {
17158
+ s5 = peg$FAILED;
17159
+ if (peg$silentFails === 0) {
17160
+ peg$fail(peg$e16);
17161
+ }
17162
+ }
17163
+ while (s5 !== peg$FAILED) {
17164
+ s4.push(s5);
17165
+ if (input.charCodeAt(peg$currPos) === 32) {
17166
+ s5 = peg$c12;
17167
+ peg$currPos++;
17168
+ } else {
17169
+ s5 = peg$FAILED;
17170
+ if (peg$silentFails === 0) {
17171
+ peg$fail(peg$e16);
17172
+ }
17173
+ }
17174
+ }
17175
+ s5 = peg$parseInlineMediaSize();
17176
+ if (s5 !== peg$FAILED) {
17177
+ s6 = peg$parseBlockTag();
17178
+ if (s6 !== peg$FAILED) {
17179
+ peg$savedPos = s0;
17180
+ s0 = peg$f71(s2, s5);
17181
+ } else {
17182
+ peg$currPos = s0;
17183
+ s0 = peg$FAILED;
17184
+ }
17185
+ } else {
17186
+ peg$currPos = s0;
17187
+ s0 = peg$FAILED;
17188
+ }
17189
+ } else {
17190
+ peg$currPos = s0;
17191
+ s0 = peg$FAILED;
17192
+ }
17193
+ } else {
17194
+ peg$currPos = s0;
17195
+ s0 = peg$FAILED;
17196
+ }
17197
+ }
17066
17198
  }
17067
17199
  }
17068
17200
  }
@@ -17071,83 +17203,83 @@ function peg$parse(input, options) {
17071
17203
  }
17072
17204
  function peg$parseInlineMediaAlignment() {
17073
17205
  let s0;
17074
- if (input.substr(peg$currPos, 3) === peg$c40) {
17075
- s0 = peg$c40;
17206
+ if (input.substr(peg$currPos, 3) === peg$c41) {
17207
+ s0 = peg$c41;
17076
17208
  peg$currPos += 3;
17077
17209
  } else {
17078
17210
  s0 = peg$FAILED;
17079
17211
  if (peg$silentFails === 0) {
17080
- peg$fail(peg$e44);
17212
+ peg$fail(peg$e45);
17081
17213
  }
17082
17214
  }
17083
17215
  if (s0 === peg$FAILED) {
17084
- if (input.substr(peg$currPos, 6) === peg$c41) {
17085
- s0 = peg$c41;
17216
+ if (input.substr(peg$currPos, 6) === peg$c42) {
17217
+ s0 = peg$c42;
17086
17218
  peg$currPos += 6;
17087
17219
  } else {
17088
17220
  s0 = peg$FAILED;
17089
17221
  if (peg$silentFails === 0) {
17090
- peg$fail(peg$e45);
17222
+ peg$fail(peg$e46);
17091
17223
  }
17092
17224
  }
17093
17225
  if (s0 === peg$FAILED) {
17094
- if (input.substr(peg$currPos, 6) === peg$c42) {
17095
- s0 = peg$c42;
17226
+ if (input.substr(peg$currPos, 6) === peg$c43) {
17227
+ s0 = peg$c43;
17096
17228
  peg$currPos += 6;
17097
17229
  } else {
17098
17230
  s0 = peg$FAILED;
17099
17231
  if (peg$silentFails === 0) {
17100
- peg$fail(peg$e46);
17232
+ peg$fail(peg$e47);
17101
17233
  }
17102
17234
  }
17103
17235
  if (s0 === peg$FAILED) {
17104
- if (input.substr(peg$currPos, 8) === peg$c43) {
17105
- s0 = peg$c43;
17236
+ if (input.substr(peg$currPos, 8) === peg$c44) {
17237
+ s0 = peg$c44;
17106
17238
  peg$currPos += 8;
17107
17239
  } else {
17108
17240
  s0 = peg$FAILED;
17109
17241
  if (peg$silentFails === 0) {
17110
- peg$fail(peg$e47);
17242
+ peg$fail(peg$e48);
17111
17243
  }
17112
17244
  }
17113
17245
  if (s0 === peg$FAILED) {
17114
- if (input.substr(peg$currPos, 3) === peg$c44) {
17115
- s0 = peg$c44;
17246
+ if (input.substr(peg$currPos, 3) === peg$c45) {
17247
+ s0 = peg$c45;
17116
17248
  peg$currPos += 3;
17117
17249
  } else {
17118
17250
  s0 = peg$FAILED;
17119
17251
  if (peg$silentFails === 0) {
17120
- peg$fail(peg$e48);
17252
+ peg$fail(peg$e49);
17121
17253
  }
17122
17254
  }
17123
17255
  if (s0 === peg$FAILED) {
17124
- if (input.substr(peg$currPos, 5) === peg$c45) {
17125
- s0 = peg$c45;
17256
+ if (input.substr(peg$currPos, 5) === peg$c46) {
17257
+ s0 = peg$c46;
17126
17258
  peg$currPos += 5;
17127
17259
  } else {
17128
17260
  s0 = peg$FAILED;
17129
17261
  if (peg$silentFails === 0) {
17130
- peg$fail(peg$e49);
17262
+ peg$fail(peg$e50);
17131
17263
  }
17132
17264
  }
17133
17265
  if (s0 === peg$FAILED) {
17134
- if (input.substr(peg$currPos, 11) === peg$c46) {
17135
- s0 = peg$c46;
17266
+ if (input.substr(peg$currPos, 11) === peg$c47) {
17267
+ s0 = peg$c47;
17136
17268
  peg$currPos += 11;
17137
17269
  } else {
17138
17270
  s0 = peg$FAILED;
17139
17271
  if (peg$silentFails === 0) {
17140
- peg$fail(peg$e50);
17272
+ peg$fail(peg$e51);
17141
17273
  }
17142
17274
  }
17143
17275
  if (s0 === peg$FAILED) {
17144
- if (input.substr(peg$currPos, 8) === peg$c47) {
17145
- s0 = peg$c47;
17276
+ if (input.substr(peg$currPos, 8) === peg$c48) {
17277
+ s0 = peg$c48;
17146
17278
  peg$currPos += 8;
17147
17279
  } else {
17148
17280
  s0 = peg$FAILED;
17149
17281
  if (peg$silentFails === 0) {
17150
- peg$fail(peg$e51);
17282
+ peg$fail(peg$e52);
17151
17283
  }
17152
17284
  }
17153
17285
  }
@@ -17161,53 +17293,53 @@ function peg$parse(input, options) {
17161
17293
  }
17162
17294
  function peg$parseInlineMediaSize() {
17163
17295
  let s0;
17164
- if (input.substr(peg$currPos, 11) === peg$c48) {
17165
- s0 = peg$c48;
17296
+ if (input.substr(peg$currPos, 11) === peg$c49) {
17297
+ s0 = peg$c49;
17166
17298
  peg$currPos += 11;
17167
17299
  } else {
17168
17300
  s0 = peg$FAILED;
17169
17301
  if (peg$silentFails === 0) {
17170
- peg$fail(peg$e52);
17302
+ peg$fail(peg$e53);
17171
17303
  }
17172
17304
  }
17173
17305
  if (s0 === peg$FAILED) {
17174
- if (input.substr(peg$currPos, 11) === peg$c49) {
17175
- s0 = peg$c49;
17306
+ if (input.substr(peg$currPos, 11) === peg$c50) {
17307
+ s0 = peg$c50;
17176
17308
  peg$currPos += 11;
17177
17309
  } else {
17178
17310
  s0 = peg$FAILED;
17179
17311
  if (peg$silentFails === 0) {
17180
- peg$fail(peg$e53);
17312
+ peg$fail(peg$e54);
17181
17313
  }
17182
17314
  }
17183
17315
  if (s0 === peg$FAILED) {
17184
- if (input.substr(peg$currPos, 5) === peg$c45) {
17185
- s0 = peg$c45;
17316
+ if (input.substr(peg$currPos, 5) === peg$c46) {
17317
+ s0 = peg$c46;
17186
17318
  peg$currPos += 5;
17187
17319
  } else {
17188
17320
  s0 = peg$FAILED;
17189
17321
  if (peg$silentFails === 0) {
17190
- peg$fail(peg$e49);
17322
+ peg$fail(peg$e50);
17191
17323
  }
17192
17324
  }
17193
17325
  if (s0 === peg$FAILED) {
17194
- if (input.substr(peg$currPos, 3) === peg$c44) {
17195
- s0 = peg$c44;
17326
+ if (input.substr(peg$currPos, 3) === peg$c45) {
17327
+ s0 = peg$c45;
17196
17328
  peg$currPos += 3;
17197
17329
  } else {
17198
17330
  s0 = peg$FAILED;
17199
17331
  if (peg$silentFails === 0) {
17200
- peg$fail(peg$e48);
17332
+ peg$fail(peg$e49);
17201
17333
  }
17202
17334
  }
17203
17335
  if (s0 === peg$FAILED) {
17204
- if (input.substr(peg$currPos, 8) === peg$c50) {
17205
- s0 = peg$c50;
17336
+ if (input.substr(peg$currPos, 8) === peg$c51) {
17337
+ s0 = peg$c51;
17206
17338
  peg$currPos += 8;
17207
17339
  } else {
17208
17340
  s0 = peg$FAILED;
17209
17341
  if (peg$silentFails === 0) {
17210
- peg$fail(peg$e54);
17342
+ peg$fail(peg$e55);
17211
17343
  }
17212
17344
  }
17213
17345
  }
@@ -17219,13 +17351,13 @@ function peg$parse(input, options) {
17219
17351
  function peg$parseAttrChainItem() {
17220
17352
  let s0, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10;
17221
17353
  s0 = peg$currPos;
17222
- if (input.substr(peg$currPos, 5) === peg$c51) {
17223
- s1 = peg$c51;
17354
+ if (input.substr(peg$currPos, 5) === peg$c52) {
17355
+ s1 = peg$c52;
17224
17356
  peg$currPos += 5;
17225
17357
  } else {
17226
17358
  s1 = peg$FAILED;
17227
17359
  if (peg$silentFails === 0) {
17228
- peg$fail(peg$e55);
17360
+ peg$fail(peg$e56);
17229
17361
  }
17230
17362
  }
17231
17363
  if (s1 !== peg$FAILED) {
@@ -17286,7 +17418,7 @@ function peg$parse(input, options) {
17286
17418
  s3 = peg$parseBlockTag();
17287
17419
  if (s3 !== peg$FAILED) {
17288
17420
  peg$savedPos = s0;
17289
- s0 = peg$f71(s2);
17421
+ s0 = peg$f72(s2);
17290
17422
  } else {
17291
17423
  peg$currPos = s0;
17292
17424
  s0 = peg$FAILED;
@@ -17297,13 +17429,13 @@ function peg$parse(input, options) {
17297
17429
  }
17298
17430
  if (s0 === peg$FAILED) {
17299
17431
  s0 = peg$currPos;
17300
- if (input.substr(peg$currPos, 7) === peg$c52) {
17301
- s1 = peg$c52;
17432
+ if (input.substr(peg$currPos, 7) === peg$c53) {
17433
+ s1 = peg$c53;
17302
17434
  peg$currPos += 7;
17303
17435
  } else {
17304
17436
  s1 = peg$FAILED;
17305
17437
  if (peg$silentFails === 0) {
17306
- peg$fail(peg$e56);
17438
+ peg$fail(peg$e57);
17307
17439
  }
17308
17440
  }
17309
17441
  if (s1 !== peg$FAILED) {
@@ -17364,13 +17496,13 @@ function peg$parse(input, options) {
17364
17496
  s3 = peg$parseRefsChain();
17365
17497
  s4 = peg$parseBlockTag();
17366
17498
  if (s4 !== peg$FAILED) {
17367
- if (input.substr(peg$currPos, 9) === peg$c53) {
17368
- s5 = peg$c53;
17499
+ if (input.substr(peg$currPos, 9) === peg$c54) {
17500
+ s5 = peg$c54;
17369
17501
  peg$currPos += 9;
17370
17502
  } else {
17371
17503
  s5 = peg$FAILED;
17372
17504
  if (peg$silentFails === 0) {
17373
- peg$fail(peg$e57);
17505
+ peg$fail(peg$e58);
17374
17506
  }
17375
17507
  }
17376
17508
  if (s5 !== peg$FAILED) {
@@ -17431,7 +17563,7 @@ function peg$parse(input, options) {
17431
17563
  s7 = peg$parseBlockTag();
17432
17564
  if (s7 !== peg$FAILED) {
17433
17565
  peg$savedPos = s0;
17434
- s0 = peg$f72(s2, s3, s6);
17566
+ s0 = peg$f73(s2, s3, s6);
17435
17567
  } else {
17436
17568
  peg$currPos = s0;
17437
17569
  s0 = peg$FAILED;
@@ -17450,13 +17582,13 @@ function peg$parse(input, options) {
17450
17582
  }
17451
17583
  if (s0 === peg$FAILED) {
17452
17584
  s0 = peg$currPos;
17453
- if (input.substr(peg$currPos, 5) === peg$c54) {
17454
- s1 = peg$c54;
17585
+ if (input.substr(peg$currPos, 5) === peg$c55) {
17586
+ s1 = peg$c55;
17455
17587
  peg$currPos += 5;
17456
17588
  } else {
17457
17589
  s1 = peg$FAILED;
17458
17590
  if (peg$silentFails === 0) {
17459
- peg$fail(peg$e58);
17591
+ peg$fail(peg$e59);
17460
17592
  }
17461
17593
  }
17462
17594
  if (s1 !== peg$FAILED) {
@@ -17517,12 +17649,12 @@ function peg$parse(input, options) {
17517
17649
  s3 = peg$parseBlockTag();
17518
17650
  if (s3 !== peg$FAILED) {
17519
17651
  if (input.charCodeAt(peg$currPos) === 9658) {
17520
- s4 = peg$c55;
17652
+ s4 = peg$c56;
17521
17653
  peg$currPos++;
17522
17654
  } else {
17523
17655
  s4 = peg$FAILED;
17524
17656
  if (peg$silentFails === 0) {
17525
- peg$fail(peg$e59);
17657
+ peg$fail(peg$e60);
17526
17658
  }
17527
17659
  }
17528
17660
  if (s4 !== peg$FAILED) {
@@ -17583,7 +17715,7 @@ function peg$parse(input, options) {
17583
17715
  s6 = peg$parseBlockTag();
17584
17716
  if (s6 !== peg$FAILED) {
17585
17717
  peg$savedPos = s0;
17586
- s0 = peg$f73(s2, s5);
17718
+ s0 = peg$f74(s2, s5);
17587
17719
  } else {
17588
17720
  peg$currPos = s0;
17589
17721
  s0 = peg$FAILED;
@@ -17602,13 +17734,13 @@ function peg$parse(input, options) {
17602
17734
  }
17603
17735
  if (s0 === peg$FAILED) {
17604
17736
  s0 = peg$currPos;
17605
- if (input.substr(peg$currPos, 5) === peg$c54) {
17606
- s1 = peg$c54;
17737
+ if (input.substr(peg$currPos, 5) === peg$c55) {
17738
+ s1 = peg$c55;
17607
17739
  peg$currPos += 5;
17608
17740
  } else {
17609
17741
  s1 = peg$FAILED;
17610
17742
  if (peg$silentFails === 0) {
17611
- peg$fail(peg$e58);
17743
+ peg$fail(peg$e59);
17612
17744
  }
17613
17745
  }
17614
17746
  if (s1 !== peg$FAILED) {
@@ -17669,7 +17801,7 @@ function peg$parse(input, options) {
17669
17801
  s3 = peg$parseBlockTag();
17670
17802
  if (s3 !== peg$FAILED) {
17671
17803
  peg$savedPos = s0;
17672
- s0 = peg$f74(s2);
17804
+ s0 = peg$f75(s2);
17673
17805
  } else {
17674
17806
  peg$currPos = s0;
17675
17807
  s0 = peg$FAILED;
@@ -17681,12 +17813,12 @@ function peg$parse(input, options) {
17681
17813
  if (s0 === peg$FAILED) {
17682
17814
  s0 = peg$currPos;
17683
17815
  if (input.charCodeAt(peg$currPos) === 9658) {
17684
- s1 = peg$c55;
17816
+ s1 = peg$c56;
17685
17817
  peg$currPos++;
17686
17818
  } else {
17687
17819
  s1 = peg$FAILED;
17688
17820
  if (peg$silentFails === 0) {
17689
- peg$fail(peg$e59);
17821
+ peg$fail(peg$e60);
17690
17822
  }
17691
17823
  }
17692
17824
  if (s1 !== peg$FAILED) {
@@ -17747,7 +17879,7 @@ function peg$parse(input, options) {
17747
17879
  s3 = peg$parseBlockTag();
17748
17880
  if (s3 !== peg$FAILED) {
17749
17881
  peg$savedPos = s0;
17750
- s0 = peg$f75(s2);
17882
+ s0 = peg$f76(s2);
17751
17883
  } else {
17752
17884
  peg$currPos = s0;
17753
17885
  s0 = peg$FAILED;
@@ -17758,13 +17890,13 @@ function peg$parse(input, options) {
17758
17890
  }
17759
17891
  if (s0 === peg$FAILED) {
17760
17892
  s0 = peg$currPos;
17761
- if (input.substr(peg$currPos, 7) === peg$c56) {
17762
- s1 = peg$c56;
17893
+ if (input.substr(peg$currPos, 7) === peg$c57) {
17894
+ s1 = peg$c57;
17763
17895
  peg$currPos += 7;
17764
17896
  } else {
17765
17897
  s1 = peg$FAILED;
17766
17898
  if (peg$silentFails === 0) {
17767
- peg$fail(peg$e60);
17899
+ peg$fail(peg$e61);
17768
17900
  }
17769
17901
  }
17770
17902
  if (s1 !== peg$FAILED) {
@@ -17826,7 +17958,7 @@ function peg$parse(input, options) {
17826
17958
  if (s3 !== peg$FAILED) {
17827
17959
  s4 = peg$parseMediaChain();
17828
17960
  peg$savedPos = s0;
17829
- s0 = peg$f76(s2, s4);
17961
+ s0 = peg$f77(s2, s4);
17830
17962
  } else {
17831
17963
  peg$currPos = s0;
17832
17964
  s0 = peg$FAILED;
@@ -17837,13 +17969,13 @@ function peg$parse(input, options) {
17837
17969
  }
17838
17970
  if (s0 === peg$FAILED) {
17839
17971
  s0 = peg$currPos;
17840
- if (input.substr(peg$currPos, 9) === peg$c57) {
17841
- s1 = peg$c57;
17972
+ if (input.substr(peg$currPos, 9) === peg$c58) {
17973
+ s1 = peg$c58;
17842
17974
  peg$currPos += 9;
17843
17975
  } else {
17844
17976
  s1 = peg$FAILED;
17845
17977
  if (peg$silentFails === 0) {
17846
- peg$fail(peg$e61);
17978
+ peg$fail(peg$e62);
17847
17979
  }
17848
17980
  }
17849
17981
  if (s1 !== peg$FAILED) {
@@ -17904,7 +18036,7 @@ function peg$parse(input, options) {
17904
18036
  s3 = peg$parseBlockTag();
17905
18037
  if (s3 !== peg$FAILED) {
17906
18038
  peg$savedPos = s0;
17907
- s0 = peg$f77(s2);
18039
+ s0 = peg$f78(s2);
17908
18040
  } else {
17909
18041
  peg$currPos = s0;
17910
18042
  s0 = peg$FAILED;
@@ -17915,13 +18047,13 @@ function peg$parse(input, options) {
17915
18047
  }
17916
18048
  if (s0 === peg$FAILED) {
17917
18049
  s0 = peg$currPos;
17918
- if (input.substr(peg$currPos, 10) === peg$c58) {
17919
- s1 = peg$c58;
18050
+ if (input.substr(peg$currPos, 10) === peg$c59) {
18051
+ s1 = peg$c59;
17920
18052
  peg$currPos += 10;
17921
18053
  } else {
17922
18054
  s1 = peg$FAILED;
17923
18055
  if (peg$silentFails === 0) {
17924
- peg$fail(peg$e62);
18056
+ peg$fail(peg$e63);
17925
18057
  }
17926
18058
  }
17927
18059
  if (s1 !== peg$FAILED) {
@@ -17982,7 +18114,7 @@ function peg$parse(input, options) {
17982
18114
  s3 = peg$parseBlockTag();
17983
18115
  if (s3 !== peg$FAILED) {
17984
18116
  peg$savedPos = s0;
17985
- s0 = peg$f78(s2);
18117
+ s0 = peg$f79(s2);
17986
18118
  } else {
17987
18119
  peg$currPos = s0;
17988
18120
  s0 = peg$FAILED;
@@ -17993,13 +18125,13 @@ function peg$parse(input, options) {
17993
18125
  }
17994
18126
  if (s0 === peg$FAILED) {
17995
18127
  s0 = peg$currPos;
17996
- if (input.substr(peg$currPos, 4) === peg$c59) {
17997
- s1 = peg$c59;
18128
+ if (input.substr(peg$currPos, 4) === peg$c60) {
18129
+ s1 = peg$c60;
17998
18130
  peg$currPos += 4;
17999
18131
  } else {
18000
18132
  s1 = peg$FAILED;
18001
18133
  if (peg$silentFails === 0) {
18002
- peg$fail(peg$e63);
18134
+ peg$fail(peg$e64);
18003
18135
  }
18004
18136
  }
18005
18137
  if (s1 !== peg$FAILED) {
@@ -18060,7 +18192,7 @@ function peg$parse(input, options) {
18060
18192
  s3 = peg$parseBlockTag();
18061
18193
  if (s3 !== peg$FAILED) {
18062
18194
  peg$savedPos = s0;
18063
- s0 = peg$f79(s2);
18195
+ s0 = peg$f80(s2);
18064
18196
  } else {
18065
18197
  peg$currPos = s0;
18066
18198
  s0 = peg$FAILED;
@@ -18084,7 +18216,7 @@ function peg$parse(input, options) {
18084
18216
  s2 = peg$parseBlockTag();
18085
18217
  if (s2 !== peg$FAILED) {
18086
18218
  peg$savedPos = s0;
18087
- s0 = peg$f80();
18219
+ s0 = peg$f81();
18088
18220
  } else {
18089
18221
  peg$currPos = s0;
18090
18222
  s0 = peg$FAILED;
@@ -18095,13 +18227,13 @@ function peg$parse(input, options) {
18095
18227
  }
18096
18228
  if (s0 === peg$FAILED) {
18097
18229
  s0 = peg$currPos;
18098
- if (input.substr(peg$currPos, 5) === peg$c60) {
18099
- s1 = peg$c60;
18230
+ if (input.substr(peg$currPos, 5) === peg$c61) {
18231
+ s1 = peg$c61;
18100
18232
  peg$currPos += 5;
18101
18233
  } else {
18102
18234
  s1 = peg$FAILED;
18103
18235
  if (peg$silentFails === 0) {
18104
- peg$fail(peg$e64);
18236
+ peg$fail(peg$e65);
18105
18237
  }
18106
18238
  }
18107
18239
  if (s1 !== peg$FAILED) {
@@ -18162,7 +18294,7 @@ function peg$parse(input, options) {
18162
18294
  s3 = peg$parseBlockTag();
18163
18295
  if (s3 !== peg$FAILED) {
18164
18296
  peg$savedPos = s0;
18165
- s0 = peg$f81(s2);
18297
+ s0 = peg$f82(s2);
18166
18298
  } else {
18167
18299
  peg$currPos = s0;
18168
18300
  s0 = peg$FAILED;
@@ -18173,20 +18305,20 @@ function peg$parse(input, options) {
18173
18305
  }
18174
18306
  if (s0 === peg$FAILED) {
18175
18307
  s0 = peg$currPos;
18176
- if (input.substr(peg$currPos, 5) === peg$c61) {
18177
- s1 = peg$c61;
18308
+ if (input.substr(peg$currPos, 5) === peg$c62) {
18309
+ s1 = peg$c62;
18178
18310
  peg$currPos += 5;
18179
18311
  } else {
18180
18312
  s1 = peg$FAILED;
18181
18313
  if (peg$silentFails === 0) {
18182
- peg$fail(peg$e65);
18314
+ peg$fail(peg$e66);
18183
18315
  }
18184
18316
  }
18185
18317
  if (s1 !== peg$FAILED) {
18186
18318
  s2 = peg$parseBlockTag();
18187
18319
  if (s2 !== peg$FAILED) {
18188
18320
  peg$savedPos = s0;
18189
- s0 = peg$f82();
18321
+ s0 = peg$f83();
18190
18322
  } else {
18191
18323
  peg$currPos = s0;
18192
18324
  s0 = peg$FAILED;
@@ -18197,13 +18329,13 @@ function peg$parse(input, options) {
18197
18329
  }
18198
18330
  if (s0 === peg$FAILED) {
18199
18331
  s0 = peg$currPos;
18200
- if (input.substr(peg$currPos, 6) === peg$c62) {
18201
- s1 = peg$c62;
18332
+ if (input.substr(peg$currPos, 6) === peg$c63) {
18333
+ s1 = peg$c63;
18202
18334
  peg$currPos += 6;
18203
18335
  } else {
18204
18336
  s1 = peg$FAILED;
18205
18337
  if (peg$silentFails === 0) {
18206
- peg$fail(peg$e66);
18338
+ peg$fail(peg$e67);
18207
18339
  }
18208
18340
  }
18209
18341
  if (s1 !== peg$FAILED) {
@@ -18264,7 +18396,7 @@ function peg$parse(input, options) {
18264
18396
  s3 = peg$parseBlockTag();
18265
18397
  if (s3 !== peg$FAILED) {
18266
18398
  peg$savedPos = s0;
18267
- s0 = peg$f83(s2);
18399
+ s0 = peg$f84(s2);
18268
18400
  } else {
18269
18401
  peg$currPos = s0;
18270
18402
  s0 = peg$FAILED;
@@ -18275,25 +18407,25 @@ function peg$parse(input, options) {
18275
18407
  }
18276
18408
  if (s0 === peg$FAILED) {
18277
18409
  s0 = peg$currPos;
18278
- if (input.substr(peg$currPos, 9) === peg$c63) {
18279
- s1 = peg$c63;
18410
+ if (input.substr(peg$currPos, 9) === peg$c64) {
18411
+ s1 = peg$c64;
18280
18412
  peg$currPos += 9;
18281
18413
  } else {
18282
18414
  s1 = peg$FAILED;
18283
18415
  if (peg$silentFails === 0) {
18284
- peg$fail(peg$e67);
18416
+ peg$fail(peg$e68);
18285
18417
  }
18286
18418
  }
18287
18419
  if (s1 !== peg$FAILED) {
18288
18420
  s2 = peg$currPos;
18289
18421
  s3 = peg$currPos;
18290
18422
  if (input.charCodeAt(peg$currPos) === 80) {
18291
- s4 = peg$c64;
18423
+ s4 = peg$c65;
18292
18424
  peg$currPos++;
18293
18425
  } else {
18294
18426
  s4 = peg$FAILED;
18295
18427
  if (peg$silentFails === 0) {
18296
- peg$fail(peg$e68);
18428
+ peg$fail(peg$e69);
18297
18429
  }
18298
18430
  }
18299
18431
  if (s4 !== peg$FAILED) {
@@ -18366,7 +18498,7 @@ function peg$parse(input, options) {
18366
18498
  s3 = peg$parseBlockTag();
18367
18499
  if (s3 !== peg$FAILED) {
18368
18500
  peg$savedPos = s0;
18369
- s0 = peg$f84(s2);
18501
+ s0 = peg$f85(s2);
18370
18502
  } else {
18371
18503
  peg$currPos = s0;
18372
18504
  s0 = peg$FAILED;
@@ -18381,13 +18513,13 @@ function peg$parse(input, options) {
18381
18513
  }
18382
18514
  if (s0 === peg$FAILED) {
18383
18515
  s0 = peg$currPos;
18384
- if (input.substr(peg$currPos, 6) === peg$c65) {
18385
- s1 = peg$c65;
18516
+ if (input.substr(peg$currPos, 6) === peg$c66) {
18517
+ s1 = peg$c66;
18386
18518
  peg$currPos += 6;
18387
18519
  } else {
18388
18520
  s1 = peg$FAILED;
18389
18521
  if (peg$silentFails === 0) {
18390
- peg$fail(peg$e69);
18522
+ peg$fail(peg$e70);
18391
18523
  }
18392
18524
  }
18393
18525
  if (s1 !== peg$FAILED) {
@@ -18396,7 +18528,7 @@ function peg$parse(input, options) {
18396
18528
  s3 = peg$parseBlockTag();
18397
18529
  if (s3 !== peg$FAILED) {
18398
18530
  peg$savedPos = s0;
18399
- s0 = peg$f85(s2);
18531
+ s0 = peg$f86(s2);
18400
18532
  } else {
18401
18533
  peg$currPos = s0;
18402
18534
  s0 = peg$FAILED;
@@ -18416,7 +18548,7 @@ function peg$parse(input, options) {
18416
18548
  s2 = peg$parseBlockTag();
18417
18549
  if (s2 !== peg$FAILED) {
18418
18550
  peg$savedPos = s0;
18419
- s0 = peg$f86(s1);
18551
+ s0 = peg$f87(s1);
18420
18552
  } else {
18421
18553
  peg$currPos = s0;
18422
18554
  s0 = peg$FAILED;
@@ -18494,7 +18626,7 @@ function peg$parse(input, options) {
18494
18626
  s3 = peg$parseBlockTag();
18495
18627
  if (s3 !== peg$FAILED) {
18496
18628
  peg$savedPos = s0;
18497
- s0 = peg$f87(s2);
18629
+ s0 = peg$f88(s2);
18498
18630
  } else {
18499
18631
  peg$currPos = s0;
18500
18632
  s0 = peg$FAILED;
@@ -18534,13 +18666,13 @@ function peg$parse(input, options) {
18534
18666
  function peg$parseRef() {
18535
18667
  let s0, s1, s2, s3, s4, s5, s6;
18536
18668
  s0 = peg$currPos;
18537
- if (input.substr(peg$currPos, 2) === peg$c66) {
18538
- s1 = peg$c66;
18669
+ if (input.substr(peg$currPos, 2) === peg$c67) {
18670
+ s1 = peg$c67;
18539
18671
  peg$currPos += 2;
18540
18672
  } else {
18541
18673
  s1 = peg$FAILED;
18542
18674
  if (peg$silentFails === 0) {
18543
- peg$fail(peg$e70);
18675
+ peg$fail(peg$e71);
18544
18676
  }
18545
18677
  }
18546
18678
  if (s1 !== peg$FAILED) {
@@ -18599,7 +18731,7 @@ function peg$parse(input, options) {
18599
18731
  }
18600
18732
  s2 = input.substring(s2, peg$currPos);
18601
18733
  peg$savedPos = s0;
18602
- s0 = peg$f88(s2);
18734
+ s0 = peg$f89(s2);
18603
18735
  } else {
18604
18736
  peg$currPos = s0;
18605
18737
  s0 = peg$FAILED;
@@ -18608,303 +18740,303 @@ function peg$parse(input, options) {
18608
18740
  }
18609
18741
  function peg$parseAlternativeStyleTags() {
18610
18742
  let s0;
18611
- if (input.substr(peg$currPos, 4) === peg$c67) {
18612
- s0 = peg$c67;
18743
+ if (input.substr(peg$currPos, 4) === peg$c68) {
18744
+ s0 = peg$c68;
18613
18745
  peg$currPos += 4;
18614
18746
  } else {
18615
18747
  s0 = peg$FAILED;
18616
18748
  if (peg$silentFails === 0) {
18617
- peg$fail(peg$e71);
18749
+ peg$fail(peg$e72);
18618
18750
  }
18619
18751
  }
18620
18752
  if (s0 === peg$FAILED) {
18621
- if (input.substr(peg$currPos, 6) === peg$c68) {
18622
- s0 = peg$c68;
18753
+ if (input.substr(peg$currPos, 6) === peg$c69) {
18754
+ s0 = peg$c69;
18623
18755
  peg$currPos += 6;
18624
18756
  } else {
18625
18757
  s0 = peg$FAILED;
18626
18758
  if (peg$silentFails === 0) {
18627
- peg$fail(peg$e72);
18759
+ peg$fail(peg$e73);
18628
18760
  }
18629
18761
  }
18630
18762
  if (s0 === peg$FAILED) {
18631
- if (input.substr(peg$currPos, 5) === peg$c69) {
18632
- s0 = peg$c69;
18763
+ if (input.substr(peg$currPos, 5) === peg$c70) {
18764
+ s0 = peg$c70;
18633
18765
  peg$currPos += 5;
18634
18766
  } else {
18635
18767
  s0 = peg$FAILED;
18636
18768
  if (peg$silentFails === 0) {
18637
- peg$fail(peg$e73);
18769
+ peg$fail(peg$e74);
18638
18770
  }
18639
18771
  }
18640
18772
  if (s0 === peg$FAILED) {
18641
- if (input.substr(peg$currPos, 9) === peg$c70) {
18642
- s0 = peg$c70;
18773
+ if (input.substr(peg$currPos, 9) === peg$c71) {
18774
+ s0 = peg$c71;
18643
18775
  peg$currPos += 9;
18644
18776
  } else {
18645
18777
  s0 = peg$FAILED;
18646
18778
  if (peg$silentFails === 0) {
18647
- peg$fail(peg$e74);
18779
+ peg$fail(peg$e75);
18648
18780
  }
18649
18781
  }
18650
18782
  if (s0 === peg$FAILED) {
18651
- if (input.substr(peg$currPos, 6) === peg$c71) {
18652
- s0 = peg$c71;
18783
+ if (input.substr(peg$currPos, 6) === peg$c72) {
18784
+ s0 = peg$c72;
18653
18785
  peg$currPos += 6;
18654
18786
  } else {
18655
18787
  s0 = peg$FAILED;
18656
18788
  if (peg$silentFails === 0) {
18657
- peg$fail(peg$e75);
18789
+ peg$fail(peg$e76);
18658
18790
  }
18659
18791
  }
18660
18792
  if (s0 === peg$FAILED) {
18661
- if (input.substr(peg$currPos, 9) === peg$c72) {
18662
- s0 = peg$c72;
18793
+ if (input.substr(peg$currPos, 9) === peg$c73) {
18794
+ s0 = peg$c73;
18663
18795
  peg$currPos += 9;
18664
18796
  } else {
18665
18797
  s0 = peg$FAILED;
18666
18798
  if (peg$silentFails === 0) {
18667
- peg$fail(peg$e76);
18799
+ peg$fail(peg$e77);
18668
18800
  }
18669
18801
  }
18670
18802
  if (s0 === peg$FAILED) {
18671
- if (input.substr(peg$currPos, 11) === peg$c73) {
18672
- s0 = peg$c73;
18803
+ if (input.substr(peg$currPos, 11) === peg$c74) {
18804
+ s0 = peg$c74;
18673
18805
  peg$currPos += 11;
18674
18806
  } else {
18675
18807
  s0 = peg$FAILED;
18676
18808
  if (peg$silentFails === 0) {
18677
- peg$fail(peg$e77);
18809
+ peg$fail(peg$e78);
18678
18810
  }
18679
18811
  }
18680
18812
  if (s0 === peg$FAILED) {
18681
- if (input.substr(peg$currPos, 3) === peg$c74) {
18682
- s0 = peg$c74;
18813
+ if (input.substr(peg$currPos, 3) === peg$c75) {
18814
+ s0 = peg$c75;
18683
18815
  peg$currPos += 3;
18684
18816
  } else {
18685
18817
  s0 = peg$FAILED;
18686
18818
  if (peg$silentFails === 0) {
18687
- peg$fail(peg$e78);
18819
+ peg$fail(peg$e79);
18688
18820
  }
18689
18821
  }
18690
18822
  if (s0 === peg$FAILED) {
18691
- if (input.substr(peg$currPos, 3) === peg$c75) {
18692
- s0 = peg$c75;
18823
+ if (input.substr(peg$currPos, 3) === peg$c76) {
18824
+ s0 = peg$c76;
18693
18825
  peg$currPos += 3;
18694
18826
  } else {
18695
18827
  s0 = peg$FAILED;
18696
18828
  if (peg$silentFails === 0) {
18697
- peg$fail(peg$e79);
18829
+ peg$fail(peg$e80);
18698
18830
  }
18699
18831
  }
18700
18832
  if (s0 === peg$FAILED) {
18701
- if (input.substr(peg$currPos, 9) === peg$c76) {
18702
- s0 = peg$c76;
18833
+ if (input.substr(peg$currPos, 9) === peg$c77) {
18834
+ s0 = peg$c77;
18703
18835
  peg$currPos += 9;
18704
18836
  } else {
18705
18837
  s0 = peg$FAILED;
18706
18838
  if (peg$silentFails === 0) {
18707
- peg$fail(peg$e80);
18839
+ peg$fail(peg$e81);
18708
18840
  }
18709
18841
  }
18710
18842
  if (s0 === peg$FAILED) {
18711
- if (input.substr(peg$currPos, 15) === peg$c77) {
18712
- s0 = peg$c77;
18843
+ if (input.substr(peg$currPos, 15) === peg$c78) {
18844
+ s0 = peg$c78;
18713
18845
  peg$currPos += 15;
18714
18846
  } else {
18715
18847
  s0 = peg$FAILED;
18716
18848
  if (peg$silentFails === 0) {
18717
- peg$fail(peg$e81);
18849
+ peg$fail(peg$e82);
18718
18850
  }
18719
18851
  }
18720
18852
  if (s0 === peg$FAILED) {
18721
- if (input.substr(peg$currPos, 6) === peg$c78) {
18722
- s0 = peg$c78;
18853
+ if (input.substr(peg$currPos, 6) === peg$c79) {
18854
+ s0 = peg$c79;
18723
18855
  peg$currPos += 6;
18724
18856
  } else {
18725
18857
  s0 = peg$FAILED;
18726
18858
  if (peg$silentFails === 0) {
18727
- peg$fail(peg$e82);
18859
+ peg$fail(peg$e83);
18728
18860
  }
18729
18861
  }
18730
18862
  if (s0 === peg$FAILED) {
18731
- if (input.substr(peg$currPos, 13) === peg$c79) {
18732
- s0 = peg$c79;
18863
+ if (input.substr(peg$currPos, 13) === peg$c80) {
18864
+ s0 = peg$c80;
18733
18865
  peg$currPos += 13;
18734
18866
  } else {
18735
18867
  s0 = peg$FAILED;
18736
18868
  if (peg$silentFails === 0) {
18737
- peg$fail(peg$e83);
18869
+ peg$fail(peg$e84);
18738
18870
  }
18739
18871
  }
18740
18872
  if (s0 === peg$FAILED) {
18741
- if (input.substr(peg$currPos, 16) === peg$c80) {
18742
- s0 = peg$c80;
18873
+ if (input.substr(peg$currPos, 16) === peg$c81) {
18874
+ s0 = peg$c81;
18743
18875
  peg$currPos += 16;
18744
18876
  } else {
18745
18877
  s0 = peg$FAILED;
18746
18878
  if (peg$silentFails === 0) {
18747
- peg$fail(peg$e84);
18879
+ peg$fail(peg$e85);
18748
18880
  }
18749
18881
  }
18750
18882
  if (s0 === peg$FAILED) {
18751
- if (input.substr(peg$currPos, 16) === peg$c81) {
18752
- s0 = peg$c81;
18883
+ if (input.substr(peg$currPos, 16) === peg$c82) {
18884
+ s0 = peg$c82;
18753
18885
  peg$currPos += 16;
18754
18886
  } else {
18755
18887
  s0 = peg$FAILED;
18756
18888
  if (peg$silentFails === 0) {
18757
- peg$fail(peg$e85);
18889
+ peg$fail(peg$e86);
18758
18890
  }
18759
18891
  }
18760
18892
  if (s0 === peg$FAILED) {
18761
- if (input.substr(peg$currPos, 15) === peg$c82) {
18762
- s0 = peg$c82;
18893
+ if (input.substr(peg$currPos, 15) === peg$c83) {
18894
+ s0 = peg$c83;
18763
18895
  peg$currPos += 15;
18764
18896
  } else {
18765
18897
  s0 = peg$FAILED;
18766
18898
  if (peg$silentFails === 0) {
18767
- peg$fail(peg$e86);
18899
+ peg$fail(peg$e87);
18768
18900
  }
18769
18901
  }
18770
18902
  if (s0 === peg$FAILED) {
18771
- if (input.substr(peg$currPos, 14) === peg$c83) {
18772
- s0 = peg$c83;
18903
+ if (input.substr(peg$currPos, 14) === peg$c84) {
18904
+ s0 = peg$c84;
18773
18905
  peg$currPos += 14;
18774
18906
  } else {
18775
18907
  s0 = peg$FAILED;
18776
18908
  if (peg$silentFails === 0) {
18777
- peg$fail(peg$e87);
18909
+ peg$fail(peg$e88);
18778
18910
  }
18779
18911
  }
18780
18912
  if (s0 === peg$FAILED) {
18781
- if (input.substr(peg$currPos, 16) === peg$c84) {
18782
- s0 = peg$c84;
18913
+ if (input.substr(peg$currPos, 16) === peg$c85) {
18914
+ s0 = peg$c85;
18783
18915
  peg$currPos += 16;
18784
18916
  } else {
18785
18917
  s0 = peg$FAILED;
18786
18918
  if (peg$silentFails === 0) {
18787
- peg$fail(peg$e88);
18919
+ peg$fail(peg$e89);
18788
18920
  }
18789
18921
  }
18790
18922
  if (s0 === peg$FAILED) {
18791
- if (input.substr(peg$currPos, 14) === peg$c85) {
18792
- s0 = peg$c85;
18923
+ if (input.substr(peg$currPos, 14) === peg$c86) {
18924
+ s0 = peg$c86;
18793
18925
  peg$currPos += 14;
18794
18926
  } else {
18795
18927
  s0 = peg$FAILED;
18796
18928
  if (peg$silentFails === 0) {
18797
- peg$fail(peg$e89);
18929
+ peg$fail(peg$e90);
18798
18930
  }
18799
18931
  }
18800
18932
  if (s0 === peg$FAILED) {
18801
- if (input.substr(peg$currPos, 15) === peg$c86) {
18802
- s0 = peg$c86;
18933
+ if (input.substr(peg$currPos, 15) === peg$c87) {
18934
+ s0 = peg$c87;
18803
18935
  peg$currPos += 15;
18804
18936
  } else {
18805
18937
  s0 = peg$FAILED;
18806
18938
  if (peg$silentFails === 0) {
18807
- peg$fail(peg$e90);
18939
+ peg$fail(peg$e91);
18808
18940
  }
18809
18941
  }
18810
18942
  if (s0 === peg$FAILED) {
18811
- if (input.substr(peg$currPos, 15) === peg$c87) {
18812
- s0 = peg$c87;
18943
+ if (input.substr(peg$currPos, 15) === peg$c88) {
18944
+ s0 = peg$c88;
18813
18945
  peg$currPos += 15;
18814
18946
  } else {
18815
18947
  s0 = peg$FAILED;
18816
18948
  if (peg$silentFails === 0) {
18817
- peg$fail(peg$e91);
18949
+ peg$fail(peg$e92);
18818
18950
  }
18819
18951
  }
18820
18952
  if (s0 === peg$FAILED) {
18821
- if (input.substr(peg$currPos, 15) === peg$c88) {
18822
- s0 = peg$c88;
18953
+ if (input.substr(peg$currPos, 15) === peg$c89) {
18954
+ s0 = peg$c89;
18823
18955
  peg$currPos += 15;
18824
18956
  } else {
18825
18957
  s0 = peg$FAILED;
18826
18958
  if (peg$silentFails === 0) {
18827
- peg$fail(peg$e92);
18959
+ peg$fail(peg$e93);
18828
18960
  }
18829
18961
  }
18830
18962
  if (s0 === peg$FAILED) {
18831
- if (input.substr(peg$currPos, 14) === peg$c89) {
18832
- s0 = peg$c89;
18963
+ if (input.substr(peg$currPos, 14) === peg$c90) {
18964
+ s0 = peg$c90;
18833
18965
  peg$currPos += 14;
18834
18966
  } else {
18835
18967
  s0 = peg$FAILED;
18836
18968
  if (peg$silentFails === 0) {
18837
- peg$fail(peg$e93);
18969
+ peg$fail(peg$e94);
18838
18970
  }
18839
18971
  }
18840
18972
  if (s0 === peg$FAILED) {
18841
- if (input.substr(peg$currPos, 10) === peg$c90) {
18842
- s0 = peg$c90;
18973
+ if (input.substr(peg$currPos, 10) === peg$c91) {
18974
+ s0 = peg$c91;
18843
18975
  peg$currPos += 10;
18844
18976
  } else {
18845
18977
  s0 = peg$FAILED;
18846
18978
  if (peg$silentFails === 0) {
18847
- peg$fail(peg$e94);
18979
+ peg$fail(peg$e95);
18848
18980
  }
18849
18981
  }
18850
18982
  if (s0 === peg$FAILED) {
18851
- if (input.substr(peg$currPos, 13) === peg$c91) {
18852
- s0 = peg$c91;
18983
+ if (input.substr(peg$currPos, 13) === peg$c92) {
18984
+ s0 = peg$c92;
18853
18985
  peg$currPos += 13;
18854
18986
  } else {
18855
18987
  s0 = peg$FAILED;
18856
18988
  if (peg$silentFails === 0) {
18857
- peg$fail(peg$e95);
18989
+ peg$fail(peg$e96);
18858
18990
  }
18859
18991
  }
18860
18992
  if (s0 === peg$FAILED) {
18861
- if (input.substr(peg$currPos, 19) === peg$c92) {
18862
- s0 = peg$c92;
18993
+ if (input.substr(peg$currPos, 19) === peg$c93) {
18994
+ s0 = peg$c93;
18863
18995
  peg$currPos += 19;
18864
18996
  } else {
18865
18997
  s0 = peg$FAILED;
18866
18998
  if (peg$silentFails === 0) {
18867
- peg$fail(peg$e96);
18999
+ peg$fail(peg$e97);
18868
19000
  }
18869
19001
  }
18870
19002
  if (s0 === peg$FAILED) {
18871
- if (input.substr(peg$currPos, 10) === peg$c93) {
18872
- s0 = peg$c93;
19003
+ if (input.substr(peg$currPos, 10) === peg$c94) {
19004
+ s0 = peg$c94;
18873
19005
  peg$currPos += 10;
18874
19006
  } else {
18875
19007
  s0 = peg$FAILED;
18876
19008
  if (peg$silentFails === 0) {
18877
- peg$fail(peg$e97);
19009
+ peg$fail(peg$e98);
18878
19010
  }
18879
19011
  }
18880
19012
  if (s0 === peg$FAILED) {
18881
- if (input.substr(peg$currPos, 10) === peg$c94) {
18882
- s0 = peg$c94;
19013
+ if (input.substr(peg$currPos, 10) === peg$c95) {
19014
+ s0 = peg$c95;
18883
19015
  peg$currPos += 10;
18884
19016
  } else {
18885
19017
  s0 = peg$FAILED;
18886
19018
  if (peg$silentFails === 0) {
18887
- peg$fail(peg$e98);
19019
+ peg$fail(peg$e99);
18888
19020
  }
18889
19021
  }
18890
19022
  if (s0 === peg$FAILED) {
18891
- if (input.substr(peg$currPos, 13) === peg$c95) {
18892
- s0 = peg$c95;
19023
+ if (input.substr(peg$currPos, 13) === peg$c96) {
19024
+ s0 = peg$c96;
18893
19025
  peg$currPos += 13;
18894
19026
  } else {
18895
19027
  s0 = peg$FAILED;
18896
19028
  if (peg$silentFails === 0) {
18897
- peg$fail(peg$e99);
19029
+ peg$fail(peg$e100);
18898
19030
  }
18899
19031
  }
18900
19032
  if (s0 === peg$FAILED) {
18901
- if (input.substr(peg$currPos, 11) === peg$c96) {
18902
- s0 = peg$c96;
19033
+ if (input.substr(peg$currPos, 11) === peg$c97) {
19034
+ s0 = peg$c97;
18903
19035
  peg$currPos += 11;
18904
19036
  } else {
18905
19037
  s0 = peg$FAILED;
18906
19038
  if (peg$silentFails === 0) {
18907
- peg$fail(peg$e100);
19039
+ peg$fail(peg$e101);
18908
19040
  }
18909
19041
  }
18910
19042
  }
@@ -18940,233 +19072,233 @@ function peg$parse(input, options) {
18940
19072
  }
18941
19073
  function peg$parseColor() {
18942
19074
  let s0;
18943
- if (input.substr(peg$currPos, 4) === peg$c97) {
18944
- s0 = peg$c97;
19075
+ if (input.substr(peg$currPos, 4) === peg$c98) {
19076
+ s0 = peg$c98;
18945
19077
  peg$currPos += 4;
18946
19078
  } else {
18947
19079
  s0 = peg$FAILED;
18948
19080
  if (peg$silentFails === 0) {
18949
- peg$fail(peg$e101);
19081
+ peg$fail(peg$e102);
18950
19082
  }
18951
19083
  }
18952
19084
  if (s0 === peg$FAILED) {
18953
- if (input.substr(peg$currPos, 5) === peg$c98) {
18954
- s0 = peg$c98;
19085
+ if (input.substr(peg$currPos, 5) === peg$c99) {
19086
+ s0 = peg$c99;
18955
19087
  peg$currPos += 5;
18956
19088
  } else {
18957
19089
  s0 = peg$FAILED;
18958
19090
  if (peg$silentFails === 0) {
18959
- peg$fail(peg$e102);
19091
+ peg$fail(peg$e103);
18960
19092
  }
18961
19093
  }
18962
19094
  if (s0 === peg$FAILED) {
18963
- if (input.substr(peg$currPos, 4) === peg$c99) {
18964
- s0 = peg$c99;
19095
+ if (input.substr(peg$currPos, 4) === peg$c100) {
19096
+ s0 = peg$c100;
18965
19097
  peg$currPos += 4;
18966
19098
  } else {
18967
19099
  s0 = peg$FAILED;
18968
19100
  if (peg$silentFails === 0) {
18969
- peg$fail(peg$e103);
19101
+ peg$fail(peg$e104);
18970
19102
  }
18971
19103
  }
18972
19104
  if (s0 === peg$FAILED) {
18973
- if (input.substr(peg$currPos, 5) === peg$c100) {
18974
- s0 = peg$c100;
19105
+ if (input.substr(peg$currPos, 5) === peg$c101) {
19106
+ s0 = peg$c101;
18975
19107
  peg$currPos += 5;
18976
19108
  } else {
18977
19109
  s0 = peg$FAILED;
18978
19110
  if (peg$silentFails === 0) {
18979
- peg$fail(peg$e104);
19111
+ peg$fail(peg$e105);
18980
19112
  }
18981
19113
  }
18982
19114
  if (s0 === peg$FAILED) {
18983
- if (input.substr(peg$currPos, 7) === peg$c101) {
18984
- s0 = peg$c101;
19115
+ if (input.substr(peg$currPos, 7) === peg$c102) {
19116
+ s0 = peg$c102;
18985
19117
  peg$currPos += 7;
18986
19118
  } else {
18987
19119
  s0 = peg$FAILED;
18988
19120
  if (peg$silentFails === 0) {
18989
- peg$fail(peg$e105);
19121
+ peg$fail(peg$e106);
18990
19122
  }
18991
19123
  }
18992
19124
  if (s0 === peg$FAILED) {
18993
- if (input.substr(peg$currPos, 9) === peg$c102) {
18994
- s0 = peg$c102;
19125
+ if (input.substr(peg$currPos, 9) === peg$c103) {
19126
+ s0 = peg$c103;
18995
19127
  peg$currPos += 9;
18996
19128
  } else {
18997
19129
  s0 = peg$FAILED;
18998
19130
  if (peg$silentFails === 0) {
18999
- peg$fail(peg$e106);
19131
+ peg$fail(peg$e107);
19000
19132
  }
19001
19133
  }
19002
19134
  if (s0 === peg$FAILED) {
19003
- if (input.substr(peg$currPos, 4) === peg$c103) {
19004
- s0 = peg$c103;
19135
+ if (input.substr(peg$currPos, 4) === peg$c104) {
19136
+ s0 = peg$c104;
19005
19137
  peg$currPos += 4;
19006
19138
  } else {
19007
19139
  s0 = peg$FAILED;
19008
19140
  if (peg$silentFails === 0) {
19009
- peg$fail(peg$e107);
19141
+ peg$fail(peg$e108);
19010
19142
  }
19011
19143
  }
19012
19144
  if (s0 === peg$FAILED) {
19013
- if (input.substr(peg$currPos, 8) === peg$c104) {
19014
- s0 = peg$c104;
19145
+ if (input.substr(peg$currPos, 8) === peg$c105) {
19146
+ s0 = peg$c105;
19015
19147
  peg$currPos += 8;
19016
19148
  } else {
19017
19149
  s0 = peg$FAILED;
19018
19150
  if (peg$silentFails === 0) {
19019
- peg$fail(peg$e108);
19151
+ peg$fail(peg$e109);
19020
19152
  }
19021
19153
  }
19022
19154
  if (s0 === peg$FAILED) {
19023
- if (input.substr(peg$currPos, 5) === peg$c105) {
19024
- s0 = peg$c105;
19155
+ if (input.substr(peg$currPos, 5) === peg$c106) {
19156
+ s0 = peg$c106;
19025
19157
  peg$currPos += 5;
19026
19158
  } else {
19027
19159
  s0 = peg$FAILED;
19028
19160
  if (peg$silentFails === 0) {
19029
- peg$fail(peg$e109);
19161
+ peg$fail(peg$e110);
19030
19162
  }
19031
19163
  }
19032
19164
  if (s0 === peg$FAILED) {
19033
- if (input.substr(peg$currPos, 4) === peg$c106) {
19034
- s0 = peg$c106;
19165
+ if (input.substr(peg$currPos, 4) === peg$c107) {
19166
+ s0 = peg$c107;
19035
19167
  peg$currPos += 4;
19036
19168
  } else {
19037
19169
  s0 = peg$FAILED;
19038
19170
  if (peg$silentFails === 0) {
19039
- peg$fail(peg$e110);
19171
+ peg$fail(peg$e111);
19040
19172
  }
19041
19173
  }
19042
19174
  if (s0 === peg$FAILED) {
19043
- if (input.substr(peg$currPos, 7) === peg$c107) {
19044
- s0 = peg$c107;
19175
+ if (input.substr(peg$currPos, 7) === peg$c108) {
19176
+ s0 = peg$c108;
19045
19177
  peg$currPos += 7;
19046
19178
  } else {
19047
19179
  s0 = peg$FAILED;
19048
19180
  if (peg$silentFails === 0) {
19049
- peg$fail(peg$e111);
19181
+ peg$fail(peg$e112);
19050
19182
  }
19051
19183
  }
19052
19184
  if (s0 === peg$FAILED) {
19053
- if (input.substr(peg$currPos, 6) === peg$c108) {
19054
- s0 = peg$c108;
19185
+ if (input.substr(peg$currPos, 6) === peg$c109) {
19186
+ s0 = peg$c109;
19055
19187
  peg$currPos += 6;
19056
19188
  } else {
19057
19189
  s0 = peg$FAILED;
19058
19190
  if (peg$silentFails === 0) {
19059
- peg$fail(peg$e112);
19191
+ peg$fail(peg$e113);
19060
19192
  }
19061
19193
  }
19062
19194
  if (s0 === peg$FAILED) {
19063
- if (input.substr(peg$currPos, 4) === peg$c109) {
19064
- s0 = peg$c109;
19195
+ if (input.substr(peg$currPos, 4) === peg$c110) {
19196
+ s0 = peg$c110;
19065
19197
  peg$currPos += 4;
19066
19198
  } else {
19067
19199
  s0 = peg$FAILED;
19068
19200
  if (peg$silentFails === 0) {
19069
- peg$fail(peg$e113);
19201
+ peg$fail(peg$e114);
19070
19202
  }
19071
19203
  }
19072
19204
  if (s0 === peg$FAILED) {
19073
- if (input.substr(peg$currPos, 5) === peg$c110) {
19074
- s0 = peg$c110;
19205
+ if (input.substr(peg$currPos, 5) === peg$c111) {
19206
+ s0 = peg$c111;
19075
19207
  peg$currPos += 5;
19076
19208
  } else {
19077
19209
  s0 = peg$FAILED;
19078
19210
  if (peg$silentFails === 0) {
19079
- peg$fail(peg$e114);
19211
+ peg$fail(peg$e115);
19080
19212
  }
19081
19213
  }
19082
19214
  if (s0 === peg$FAILED) {
19083
- if (input.substr(peg$currPos, 6) === peg$c111) {
19084
- s0 = peg$c111;
19215
+ if (input.substr(peg$currPos, 6) === peg$c112) {
19216
+ s0 = peg$c112;
19085
19217
  peg$currPos += 6;
19086
19218
  } else {
19087
19219
  s0 = peg$FAILED;
19088
19220
  if (peg$silentFails === 0) {
19089
- peg$fail(peg$e115);
19221
+ peg$fail(peg$e116);
19090
19222
  }
19091
19223
  }
19092
19224
  if (s0 === peg$FAILED) {
19093
- if (input.substr(peg$currPos, 4) === peg$c112) {
19094
- s0 = peg$c112;
19225
+ if (input.substr(peg$currPos, 4) === peg$c113) {
19226
+ s0 = peg$c113;
19095
19227
  peg$currPos += 4;
19096
19228
  } else {
19097
19229
  s0 = peg$FAILED;
19098
19230
  if (peg$silentFails === 0) {
19099
- peg$fail(peg$e116);
19231
+ peg$fail(peg$e117);
19100
19232
  }
19101
19233
  }
19102
19234
  if (s0 === peg$FAILED) {
19103
- if (input.substr(peg$currPos, 6) === peg$c113) {
19104
- s0 = peg$c113;
19235
+ if (input.substr(peg$currPos, 6) === peg$c114) {
19236
+ s0 = peg$c114;
19105
19237
  peg$currPos += 6;
19106
19238
  } else {
19107
19239
  s0 = peg$FAILED;
19108
19240
  if (peg$silentFails === 0) {
19109
- peg$fail(peg$e117);
19241
+ peg$fail(peg$e118);
19110
19242
  }
19111
19243
  }
19112
19244
  if (s0 === peg$FAILED) {
19113
- if (input.substr(peg$currPos, 3) === peg$c114) {
19114
- s0 = peg$c114;
19245
+ if (input.substr(peg$currPos, 3) === peg$c115) {
19246
+ s0 = peg$c115;
19115
19247
  peg$currPos += 3;
19116
19248
  } else {
19117
19249
  s0 = peg$FAILED;
19118
19250
  if (peg$silentFails === 0) {
19119
- peg$fail(peg$e118);
19251
+ peg$fail(peg$e119);
19120
19252
  }
19121
19253
  }
19122
19254
  if (s0 === peg$FAILED) {
19123
- if (input.substr(peg$currPos, 6) === peg$c115) {
19124
- s0 = peg$c115;
19255
+ if (input.substr(peg$currPos, 6) === peg$c116) {
19256
+ s0 = peg$c116;
19125
19257
  peg$currPos += 6;
19126
19258
  } else {
19127
19259
  s0 = peg$FAILED;
19128
19260
  if (peg$silentFails === 0) {
19129
- peg$fail(peg$e119);
19261
+ peg$fail(peg$e120);
19130
19262
  }
19131
19263
  }
19132
19264
  if (s0 === peg$FAILED) {
19133
- if (input.substr(peg$currPos, 4) === peg$c116) {
19134
- s0 = peg$c116;
19265
+ if (input.substr(peg$currPos, 4) === peg$c117) {
19266
+ s0 = peg$c117;
19135
19267
  peg$currPos += 4;
19136
19268
  } else {
19137
19269
  s0 = peg$FAILED;
19138
19270
  if (peg$silentFails === 0) {
19139
- peg$fail(peg$e120);
19271
+ peg$fail(peg$e121);
19140
19272
  }
19141
19273
  }
19142
19274
  if (s0 === peg$FAILED) {
19143
- if (input.substr(peg$currPos, 6) === peg$c117) {
19144
- s0 = peg$c117;
19275
+ if (input.substr(peg$currPos, 6) === peg$c118) {
19276
+ s0 = peg$c118;
19145
19277
  peg$currPos += 6;
19146
19278
  } else {
19147
19279
  s0 = peg$FAILED;
19148
19280
  if (peg$silentFails === 0) {
19149
- peg$fail(peg$e121);
19281
+ peg$fail(peg$e122);
19150
19282
  }
19151
19283
  }
19152
19284
  if (s0 === peg$FAILED) {
19153
- if (input.substr(peg$currPos, 5) === peg$c118) {
19154
- s0 = peg$c118;
19285
+ if (input.substr(peg$currPos, 5) === peg$c119) {
19286
+ s0 = peg$c119;
19155
19287
  peg$currPos += 5;
19156
19288
  } else {
19157
19289
  s0 = peg$FAILED;
19158
19290
  if (peg$silentFails === 0) {
19159
- peg$fail(peg$e122);
19291
+ peg$fail(peg$e123);
19160
19292
  }
19161
19293
  }
19162
19294
  if (s0 === peg$FAILED) {
19163
- if (input.substr(peg$currPos, 6) === peg$c119) {
19164
- s0 = peg$c119;
19295
+ if (input.substr(peg$currPos, 6) === peg$c120) {
19296
+ s0 = peg$c120;
19165
19297
  peg$currPos += 6;
19166
19298
  } else {
19167
19299
  s0 = peg$FAILED;
19168
19300
  if (peg$silentFails === 0) {
19169
- peg$fail(peg$e123);
19301
+ peg$fail(peg$e124);
19170
19302
  }
19171
19303
  }
19172
19304
  }
@@ -19199,7 +19331,7 @@ function peg$parse(input, options) {
19199
19331
  s0 = peg$currPos;
19200
19332
  s1 = peg$parsebitmarkMinusMinusString();
19201
19333
  peg$savedPos = s0;
19202
- s1 = peg$f89(s1);
19334
+ s1 = peg$f90(s1);
19203
19335
  s0 = s1;
19204
19336
  peg$silentFails--;
19205
19337
  return s0;
@@ -19225,7 +19357,7 @@ function peg$parse(input, options) {
19225
19357
  }
19226
19358
  }
19227
19359
  peg$savedPos = s0;
19228
- s0 = peg$f90(s1, s2);
19360
+ s0 = peg$f91(s1, s2);
19229
19361
  peg$silentFails--;
19230
19362
  return s0;
19231
19363
  }
@@ -19235,7 +19367,7 @@ function peg$parse(input, options) {
19235
19367
  s1 = peg$parseNL();
19236
19368
  if (s1 !== peg$FAILED) {
19237
19369
  peg$savedPos = s0;
19238
- s1 = peg$f91();
19370
+ s1 = peg$f92();
19239
19371
  }
19240
19372
  s0 = s1;
19241
19373
  if (s0 === peg$FAILED) {
@@ -19364,7 +19496,7 @@ function peg$parse(input, options) {
19364
19496
  }
19365
19497
  if (s1 !== peg$FAILED) {
19366
19498
  peg$savedPos = s0;
19367
- s1 = peg$f92(s1);
19499
+ s1 = peg$f93(s1);
19368
19500
  }
19369
19501
  s0 = s1;
19370
19502
  }
@@ -19373,12 +19505,12 @@ function peg$parse(input, options) {
19373
19505
  function peg$parseBoldHalfTag() {
19374
19506
  let s0;
19375
19507
  if (input.charCodeAt(peg$currPos) === 42) {
19376
- s0 = peg$c120;
19508
+ s0 = peg$c121;
19377
19509
  peg$currPos++;
19378
19510
  } else {
19379
19511
  s0 = peg$FAILED;
19380
19512
  if (peg$silentFails === 0) {
19381
- peg$fail(peg$e124);
19513
+ peg$fail(peg$e125);
19382
19514
  }
19383
19515
  }
19384
19516
  return s0;
@@ -19386,12 +19518,12 @@ function peg$parse(input, options) {
19386
19518
  function peg$parseItalicHalfTag() {
19387
19519
  let s0;
19388
19520
  if (input.charCodeAt(peg$currPos) === 95) {
19389
- s0 = peg$c121;
19521
+ s0 = peg$c122;
19390
19522
  peg$currPos++;
19391
19523
  } else {
19392
19524
  s0 = peg$FAILED;
19393
19525
  if (peg$silentFails === 0) {
19394
- peg$fail(peg$e125);
19526
+ peg$fail(peg$e126);
19395
19527
  }
19396
19528
  }
19397
19529
  return s0;
@@ -19399,12 +19531,12 @@ function peg$parse(input, options) {
19399
19531
  function peg$parseLightHalfTag() {
19400
19532
  let s0;
19401
19533
  if (input.charCodeAt(peg$currPos) === 96) {
19402
- s0 = peg$c122;
19534
+ s0 = peg$c123;
19403
19535
  peg$currPos++;
19404
19536
  } else {
19405
19537
  s0 = peg$FAILED;
19406
19538
  if (peg$silentFails === 0) {
19407
- peg$fail(peg$e126);
19539
+ peg$fail(peg$e127);
19408
19540
  }
19409
19541
  }
19410
19542
  return s0;
@@ -19412,12 +19544,12 @@ function peg$parse(input, options) {
19412
19544
  function peg$parseHighlightHalfTag() {
19413
19545
  let s0;
19414
19546
  if (input.charCodeAt(peg$currPos) === 33) {
19415
- s0 = peg$c123;
19547
+ s0 = peg$c124;
19416
19548
  peg$currPos++;
19417
19549
  } else {
19418
19550
  s0 = peg$FAILED;
19419
19551
  if (peg$silentFails === 0) {
19420
- peg$fail(peg$e127);
19552
+ peg$fail(peg$e128);
19421
19553
  }
19422
19554
  }
19423
19555
  return s0;
@@ -19500,13 +19632,13 @@ function peg$parse(input, options) {
19500
19632
  }
19501
19633
  function peg$parseBodyBitOpenTag() {
19502
19634
  let s0;
19503
- if (input.substr(peg$currPos, 2) === peg$c124) {
19504
- s0 = peg$c124;
19635
+ if (input.substr(peg$currPos, 2) === peg$c125) {
19636
+ s0 = peg$c125;
19505
19637
  peg$currPos += 2;
19506
19638
  } else {
19507
19639
  s0 = peg$FAILED;
19508
19640
  if (peg$silentFails === 0) {
19509
- peg$fail(peg$e128);
19641
+ peg$fail(peg$e129);
19510
19642
  }
19511
19643
  }
19512
19644
  return s0;
@@ -19514,12 +19646,12 @@ function peg$parse(input, options) {
19514
19646
  function peg$parseBodyBitCloseTag() {
19515
19647
  let s0;
19516
19648
  if (input.charCodeAt(peg$currPos) === 93) {
19517
- s0 = peg$c125;
19649
+ s0 = peg$c126;
19518
19650
  peg$currPos++;
19519
19651
  } else {
19520
19652
  s0 = peg$FAILED;
19521
19653
  if (peg$silentFails === 0) {
19522
- peg$fail(peg$e129);
19654
+ peg$fail(peg$e130);
19523
19655
  }
19524
19656
  }
19525
19657
  return s0;
@@ -19565,7 +19697,7 @@ function peg$parse(input, options) {
19565
19697
  s3 = peg$parseBodyBitCloseTag();
19566
19698
  if (s3 !== peg$FAILED) {
19567
19699
  peg$savedPos = s0;
19568
- s0 = peg$f93(s2);
19700
+ s0 = peg$f94(s2);
19569
19701
  } else {
19570
19702
  peg$currPos = s0;
19571
19703
  s0 = peg$FAILED;
@@ -19655,7 +19787,7 @@ function peg$parse(input, options) {
19655
19787
  s3 = peg$parseBoldTag();
19656
19788
  if (s3 !== peg$FAILED) {
19657
19789
  peg$savedPos = s0;
19658
- s0 = peg$f94(s2);
19790
+ s0 = peg$f95(s2);
19659
19791
  } else {
19660
19792
  peg$currPos = s0;
19661
19793
  s0 = peg$FAILED;
@@ -19741,7 +19873,7 @@ function peg$parse(input, options) {
19741
19873
  s3 = peg$parseItalicTag();
19742
19874
  if (s3 !== peg$FAILED) {
19743
19875
  peg$savedPos = s0;
19744
- s0 = peg$f95(s2);
19876
+ s0 = peg$f96(s2);
19745
19877
  } else {
19746
19878
  peg$currPos = s0;
19747
19879
  s0 = peg$FAILED;
@@ -19827,7 +19959,7 @@ function peg$parse(input, options) {
19827
19959
  s3 = peg$parseLightTag();
19828
19960
  if (s3 !== peg$FAILED) {
19829
19961
  peg$savedPos = s0;
19830
- s0 = peg$f96(s2);
19962
+ s0 = peg$f97(s2);
19831
19963
  } else {
19832
19964
  peg$currPos = s0;
19833
19965
  s0 = peg$FAILED;
@@ -19913,7 +20045,7 @@ function peg$parse(input, options) {
19913
20045
  s3 = peg$parseHighlightTag();
19914
20046
  if (s3 !== peg$FAILED) {
19915
20047
  peg$savedPos = s0;
19916
- s0 = peg$f97(s2);
20048
+ s0 = peg$f98(s2);
19917
20049
  } else {
19918
20050
  peg$currPos = s0;
19919
20051
  s0 = peg$FAILED;
@@ -19998,22 +20130,22 @@ function peg$parse(input, options) {
19998
20130
  let s0, s1;
19999
20131
  peg$silentFails++;
20000
20132
  if (input.charCodeAt(peg$currPos) === 10) {
20001
- s0 = peg$c126;
20133
+ s0 = peg$c127;
20002
20134
  peg$currPos++;
20003
20135
  } else {
20004
20136
  s0 = peg$FAILED;
20005
20137
  if (peg$silentFails === 0) {
20006
- peg$fail(peg$e131);
20138
+ peg$fail(peg$e132);
20007
20139
  }
20008
20140
  }
20009
20141
  if (s0 === peg$FAILED) {
20010
- if (input.substr(peg$currPos, 2) === peg$c127) {
20011
- s0 = peg$c127;
20142
+ if (input.substr(peg$currPos, 2) === peg$c128) {
20143
+ s0 = peg$c128;
20012
20144
  peg$currPos += 2;
20013
20145
  } else {
20014
20146
  s0 = peg$FAILED;
20015
20147
  if (peg$silentFails === 0) {
20016
- peg$fail(peg$e132);
20148
+ peg$fail(peg$e133);
20017
20149
  }
20018
20150
  }
20019
20151
  if (s0 === peg$FAILED) {
@@ -20023,7 +20155,7 @@ function peg$parse(input, options) {
20023
20155
  } else {
20024
20156
  s0 = peg$FAILED;
20025
20157
  if (peg$silentFails === 0) {
20026
- peg$fail(peg$e133);
20158
+ peg$fail(peg$e134);
20027
20159
  }
20028
20160
  }
20029
20161
  }
@@ -20032,7 +20164,7 @@ function peg$parse(input, options) {
20032
20164
  if (s0 === peg$FAILED) {
20033
20165
  s1 = peg$FAILED;
20034
20166
  if (peg$silentFails === 0) {
20035
- peg$fail(peg$e130);
20167
+ peg$fail(peg$e131);
20036
20168
  }
20037
20169
  }
20038
20170
  return s0;
@@ -20045,7 +20177,7 @@ function peg$parse(input, options) {
20045
20177
  } else {
20046
20178
  s0 = peg$FAILED;
20047
20179
  if (peg$silentFails === 0) {
20048
- peg$fail(peg$e134);
20180
+ peg$fail(peg$e135);
20049
20181
  }
20050
20182
  }
20051
20183
  return s0;
@@ -20079,35 +20211,35 @@ function peg$parse(input, options) {
20079
20211
  let s0, s1, s2, s3, s4, s5, s6, s7, s8;
20080
20212
  s0 = peg$currPos;
20081
20213
  s1 = peg$currPos;
20082
- if (input.substr(peg$currPos, 4) === peg$c128) {
20083
- s2 = peg$c128;
20214
+ if (input.substr(peg$currPos, 4) === peg$c129) {
20215
+ s2 = peg$c129;
20084
20216
  peg$currPos += 4;
20085
20217
  } else {
20086
20218
  s2 = peg$FAILED;
20087
20219
  if (peg$silentFails === 0) {
20088
- peg$fail(peg$e135);
20220
+ peg$fail(peg$e136);
20089
20221
  }
20090
20222
  }
20091
20223
  if (s2 !== peg$FAILED) {
20092
20224
  if (input.charCodeAt(peg$currPos) === 115) {
20093
- s3 = peg$c129;
20225
+ s3 = peg$c130;
20094
20226
  peg$currPos++;
20095
20227
  } else {
20096
20228
  s3 = peg$FAILED;
20097
20229
  if (peg$silentFails === 0) {
20098
- peg$fail(peg$e136);
20230
+ peg$fail(peg$e137);
20099
20231
  }
20100
20232
  }
20101
20233
  if (s3 === peg$FAILED) {
20102
20234
  s3 = null;
20103
20235
  }
20104
- if (input.substr(peg$currPos, 3) === peg$c130) {
20105
- s4 = peg$c130;
20236
+ if (input.substr(peg$currPos, 3) === peg$c131) {
20237
+ s4 = peg$c131;
20106
20238
  peg$currPos += 3;
20107
20239
  } else {
20108
20240
  s4 = peg$FAILED;
20109
20241
  if (peg$silentFails === 0) {
20110
- peg$fail(peg$e137);
20242
+ peg$fail(peg$e138);
20111
20243
  }
20112
20244
  }
20113
20245
  if (s4 !== peg$FAILED) {
@@ -20185,35 +20317,35 @@ function peg$parse(input, options) {
20185
20317
  s0 = peg$currPos;
20186
20318
  s1 = peg$currPos;
20187
20319
  s2 = peg$currPos;
20188
- if (input.substr(peg$currPos, 4) === peg$c128) {
20189
- s3 = peg$c128;
20320
+ if (input.substr(peg$currPos, 4) === peg$c129) {
20321
+ s3 = peg$c129;
20190
20322
  peg$currPos += 4;
20191
20323
  } else {
20192
20324
  s3 = peg$FAILED;
20193
20325
  if (peg$silentFails === 0) {
20194
- peg$fail(peg$e135);
20326
+ peg$fail(peg$e136);
20195
20327
  }
20196
20328
  }
20197
20329
  if (s3 !== peg$FAILED) {
20198
20330
  if (input.charCodeAt(peg$currPos) === 115) {
20199
- s4 = peg$c129;
20331
+ s4 = peg$c130;
20200
20332
  peg$currPos++;
20201
20333
  } else {
20202
20334
  s4 = peg$FAILED;
20203
20335
  if (peg$silentFails === 0) {
20204
- peg$fail(peg$e136);
20336
+ peg$fail(peg$e137);
20205
20337
  }
20206
20338
  }
20207
20339
  if (s4 === peg$FAILED) {
20208
20340
  s4 = null;
20209
20341
  }
20210
- if (input.substr(peg$currPos, 3) === peg$c130) {
20211
- s5 = peg$c130;
20342
+ if (input.substr(peg$currPos, 3) === peg$c131) {
20343
+ s5 = peg$c131;
20212
20344
  peg$currPos += 3;
20213
20345
  } else {
20214
20346
  s5 = peg$FAILED;
20215
20347
  if (peg$silentFails === 0) {
20216
- peg$fail(peg$e137);
20348
+ peg$fail(peg$e138);
20217
20349
  }
20218
20350
  }
20219
20351
  if (s5 !== peg$FAILED) {
@@ -20228,13 +20360,13 @@ function peg$parse(input, options) {
20228
20360
  s2 = peg$FAILED;
20229
20361
  }
20230
20362
  if (s2 === peg$FAILED) {
20231
- if (input.substr(peg$currPos, 7) === peg$c131) {
20232
- s2 = peg$c131;
20363
+ if (input.substr(peg$currPos, 7) === peg$c132) {
20364
+ s2 = peg$c132;
20233
20365
  peg$currPos += 7;
20234
20366
  } else {
20235
20367
  s2 = peg$FAILED;
20236
20368
  if (peg$silentFails === 0) {
20237
- peg$fail(peg$e138);
20369
+ peg$fail(peg$e139);
20238
20370
  }
20239
20371
  }
20240
20372
  }
@@ -20299,7 +20431,7 @@ function peg$parse(input, options) {
20299
20431
  }
20300
20432
  s2 = input.substring(s2, peg$currPos);
20301
20433
  peg$savedPos = s0;
20302
- s0 = peg$f98(s1, s2);
20434
+ s0 = peg$f99(s1, s2);
20303
20435
  } else {
20304
20436
  peg$currPos = s0;
20305
20437
  s0 = peg$FAILED;
@@ -20314,7 +20446,7 @@ function peg$parse(input, options) {
20314
20446
  } else {
20315
20447
  s0 = peg$FAILED;
20316
20448
  if (peg$silentFails === 0) {
20317
- peg$fail(peg$e139);
20449
+ peg$fail(peg$e140);
20318
20450
  }
20319
20451
  }
20320
20452
  return s0;