@gmb/bitmark-parser-generator 5.0.1 → 5.1.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/browser/bitmark-parser-generator.min.js +1 -1
- package/dist/browser/bundle-report.html +2 -2
- package/dist/browser/cjs/index.cjs +641 -425
- package/dist/browser/cjs/index.cjs.map +1 -1
- package/dist/browser/cjs/index.d.cts +1 -0
- package/dist/browser/esm/index.d.ts +1 -0
- package/dist/browser/esm/index.js +641 -425
- package/dist/browser/esm/index.js.map +1 -1
- package/dist/cli/main.js +638 -423
- package/dist/cli/main.js.map +1 -1
- package/dist/index.cjs +641 -425
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +641 -425
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -10274,7 +10274,7 @@ var instance2 = new Config();
|
|
|
10274
10274
|
// src/generated/package_info.ts
|
|
10275
10275
|
var PACKAGE_INFO = {
|
|
10276
10276
|
"name": "@gmb/bitmark-parser-generator",
|
|
10277
|
-
"version": "5.0
|
|
10277
|
+
"version": "5.1.0",
|
|
10278
10278
|
"author": "Get More Brain Ltd",
|
|
10279
10279
|
"license": "ISC",
|
|
10280
10280
|
"description": "A bitmark parser and generator using Peggy.js"
|
|
@@ -10571,6 +10571,7 @@ var TextMarkType = {
|
|
|
10571
10571
|
timer: "timer",
|
|
10572
10572
|
duration: "duration",
|
|
10573
10573
|
color: "color",
|
|
10574
|
+
colorPicker: "colorPicker",
|
|
10574
10575
|
comment: "comment"
|
|
10575
10576
|
};
|
|
10576
10577
|
|
|
@@ -12068,6 +12069,7 @@ var INLINE_MARK_TYPES = [
|
|
|
12068
12069
|
TextMarkType.timer,
|
|
12069
12070
|
TextMarkType.duration,
|
|
12070
12071
|
TextMarkType.color,
|
|
12072
|
+
TextMarkType.colorPicker,
|
|
12071
12073
|
TextMarkType.comment
|
|
12072
12074
|
];
|
|
12073
12075
|
var INDENTATION_REGEX = new RegExp(/(\n|\r\n)/, "g");
|
|
@@ -12799,7 +12801,7 @@ var TextGenerator = class extends AstWalkerGenerator {
|
|
|
12799
12801
|
let s = `${mark.type}`;
|
|
12800
12802
|
if (mark.attrs) {
|
|
12801
12803
|
for (const [k, v] of Object.entries(mark.attrs)) {
|
|
12802
|
-
if (k === "language" && v !== "plain text" || k === "color" || k === "name" || k === "duration") {
|
|
12804
|
+
if (k === "language" && v !== "plain text" || k === "color" || k === "propertyRef" || k === "name" || k === "duration") {
|
|
12803
12805
|
s = `${s}:${v}`;
|
|
12804
12806
|
}
|
|
12805
12807
|
}
|
|
@@ -12990,7 +12992,7 @@ var TextGenerator = class extends AstWalkerGenerator {
|
|
|
12990
12992
|
};
|
|
12991
12993
|
|
|
12992
12994
|
// src/generated/parser/text/text-peggy-parser.js
|
|
12993
|
-
var VERSION = "8.
|
|
12995
|
+
var VERSION = "8.37.3";
|
|
12994
12996
|
function unbreakscape(str) {
|
|
12995
12997
|
if (typeof str !== "string") return null;
|
|
12996
12998
|
return instance3.unbreakscape(str);
|
|
@@ -13209,72 +13211,83 @@ function peg$parse(input, options) {
|
|
|
13209
13211
|
const peg$c64 = "duration:";
|
|
13210
13212
|
const peg$c65 = "P";
|
|
13211
13213
|
const peg$c66 = "color:";
|
|
13212
|
-
const peg$c67 = "
|
|
13213
|
-
const peg$c68 = "
|
|
13214
|
-
const peg$c69 = "
|
|
13215
|
-
const peg$c70 = "
|
|
13216
|
-
const peg$c71 = "
|
|
13217
|
-
const peg$c72 = "
|
|
13218
|
-
const peg$c73 = "
|
|
13219
|
-
const peg$c74 = "
|
|
13220
|
-
const peg$c75 = "
|
|
13221
|
-
const peg$c76 = "
|
|
13222
|
-
const peg$c77 = "
|
|
13223
|
-
const peg$c78 = "
|
|
13224
|
-
const peg$c79 = "
|
|
13225
|
-
const peg$c80 = "
|
|
13226
|
-
const peg$c81 = "
|
|
13227
|
-
const peg$c82 = "
|
|
13228
|
-
const peg$c83 = "
|
|
13229
|
-
const peg$c84 = "
|
|
13230
|
-
const peg$c85 = "
|
|
13231
|
-
const peg$c86 = "
|
|
13232
|
-
const peg$c87 = "
|
|
13233
|
-
const peg$c88 = "
|
|
13234
|
-
const peg$c89 = "
|
|
13235
|
-
const peg$c90 = "
|
|
13236
|
-
const peg$c91 = "
|
|
13237
|
-
const peg$c92 = "
|
|
13238
|
-
const peg$c93 = "
|
|
13239
|
-
const peg$c94 = "
|
|
13240
|
-
const peg$c95 = "
|
|
13241
|
-
const peg$c96 = "
|
|
13242
|
-
const peg$c97 = "
|
|
13243
|
-
const peg$c98 = "
|
|
13244
|
-
const peg$c99 = "
|
|
13245
|
-
const peg$c100 = "
|
|
13246
|
-
const peg$c101 = "
|
|
13247
|
-
const peg$c102 = "
|
|
13248
|
-
const peg$c103 = "
|
|
13249
|
-
const peg$c104 = "
|
|
13250
|
-
const peg$c105 = "
|
|
13251
|
-
const peg$c106 = "
|
|
13252
|
-
const peg$c107 = "
|
|
13253
|
-
const peg$c108 = "
|
|
13254
|
-
const peg$c109 = "
|
|
13255
|
-
const peg$c110 = "
|
|
13256
|
-
const peg$c111 = "
|
|
13257
|
-
const peg$c112 = "
|
|
13258
|
-
const peg$c113 = "
|
|
13259
|
-
const peg$c114 = "
|
|
13260
|
-
const peg$c115 = "
|
|
13261
|
-
const peg$c116 = "
|
|
13262
|
-
const peg$c117 = "
|
|
13263
|
-
const peg$c118 = "
|
|
13264
|
-
const peg$c119 = "
|
|
13265
|
-
const peg$c120 = "
|
|
13266
|
-
const peg$c121 = "
|
|
13267
|
-
const peg$c122 = "
|
|
13268
|
-
const peg$c123 = "
|
|
13269
|
-
const peg$c124 = "
|
|
13270
|
-
const peg$c125 = "
|
|
13271
|
-
const peg$c126 = "
|
|
13272
|
-
const peg$c127 = "
|
|
13273
|
-
const peg$c128 = "
|
|
13274
|
-
const peg$c129 = "
|
|
13275
|
-
const peg$c130 = "
|
|
13276
|
-
const peg$c131 = "
|
|
13277
|
-
const peg$c132 = "
|
|
13214
|
+
const peg$c67 = "colorPicker:";
|
|
13215
|
+
const peg$c68 = "|\u25BA";
|
|
13216
|
+
const peg$c69 = "bold";
|
|
13217
|
+
const peg$c70 = "italic";
|
|
13218
|
+
const peg$c71 = "light";
|
|
13219
|
+
const peg$c72 = "highlightOrange";
|
|
13220
|
+
const peg$c73 = "highlightYellow";
|
|
13221
|
+
const peg$c74 = "highlightGreen";
|
|
13222
|
+
const peg$c75 = "highlightBlue";
|
|
13223
|
+
const peg$c76 = "highlightPurple";
|
|
13224
|
+
const peg$c77 = "highlightPink";
|
|
13225
|
+
const peg$c78 = "highlightBrown";
|
|
13226
|
+
const peg$c79 = "highlightBlack";
|
|
13227
|
+
const peg$c80 = "highlightWhite";
|
|
13228
|
+
const peg$c81 = "highlightGray";
|
|
13229
|
+
const peg$c82 = "highlight";
|
|
13230
|
+
const peg$c83 = "strike";
|
|
13231
|
+
const peg$c84 = "subscript";
|
|
13232
|
+
const peg$c85 = "superscript";
|
|
13233
|
+
const peg$c86 = "ins";
|
|
13234
|
+
const peg$c87 = "del";
|
|
13235
|
+
const peg$c88 = "underline";
|
|
13236
|
+
const peg$c89 = "doubleUnderline";
|
|
13237
|
+
const peg$c90 = "circle";
|
|
13238
|
+
const peg$c91 = "languageEmRed";
|
|
13239
|
+
const peg$c92 = "languageEmOrange";
|
|
13240
|
+
const peg$c93 = "languageEmYellow";
|
|
13241
|
+
const peg$c94 = "languageEmGreen";
|
|
13242
|
+
const peg$c95 = "languageEmBlue";
|
|
13243
|
+
const peg$c96 = "languageEmPurple";
|
|
13244
|
+
const peg$c97 = "languageEmPink";
|
|
13245
|
+
const peg$c98 = "languageEmBrown";
|
|
13246
|
+
const peg$c99 = "languageEmBlack";
|
|
13247
|
+
const peg$c100 = "languageEmWhite";
|
|
13248
|
+
const peg$c101 = "languageEmGray";
|
|
13249
|
+
const peg$c102 = "languageEm";
|
|
13250
|
+
const peg$c103 = "userUnderline";
|
|
13251
|
+
const peg$c104 = "userDoubleUnderline";
|
|
13252
|
+
const peg$c105 = "userStrike";
|
|
13253
|
+
const peg$c106 = "userCircle";
|
|
13254
|
+
const peg$c107 = "userHighlight";
|
|
13255
|
+
const peg$c108 = "notranslate";
|
|
13256
|
+
const peg$c109 = "aqua";
|
|
13257
|
+
const peg$c110 = "black";
|
|
13258
|
+
const peg$c111 = "blue";
|
|
13259
|
+
const peg$c112 = "brown";
|
|
13260
|
+
const peg$c113 = "fuchsia";
|
|
13261
|
+
const peg$c114 = "lightgrey";
|
|
13262
|
+
const peg$c115 = "gray";
|
|
13263
|
+
const peg$c116 = "darkgray";
|
|
13264
|
+
const peg$c117 = "green";
|
|
13265
|
+
const peg$c118 = "lime";
|
|
13266
|
+
const peg$c119 = "magenta";
|
|
13267
|
+
const peg$c120 = "maroon";
|
|
13268
|
+
const peg$c121 = "navy";
|
|
13269
|
+
const peg$c122 = "olive";
|
|
13270
|
+
const peg$c123 = "orange";
|
|
13271
|
+
const peg$c124 = "pink";
|
|
13272
|
+
const peg$c125 = "purple";
|
|
13273
|
+
const peg$c126 = "red";
|
|
13274
|
+
const peg$c127 = "silver";
|
|
13275
|
+
const peg$c128 = "teal";
|
|
13276
|
+
const peg$c129 = "violet";
|
|
13277
|
+
const peg$c130 = "white";
|
|
13278
|
+
const peg$c131 = "yellow";
|
|
13279
|
+
const peg$c132 = "*";
|
|
13280
|
+
const peg$c133 = "_";
|
|
13281
|
+
const peg$c134 = "`";
|
|
13282
|
+
const peg$c135 = "!";
|
|
13283
|
+
const peg$c136 = "[!";
|
|
13284
|
+
const peg$c137 = "]";
|
|
13285
|
+
const peg$c138 = "\n";
|
|
13286
|
+
const peg$c139 = "\r\n";
|
|
13287
|
+
const peg$c140 = "http";
|
|
13288
|
+
const peg$c141 = "s";
|
|
13289
|
+
const peg$c142 = "://";
|
|
13290
|
+
const peg$c143 = "mailto:";
|
|
13278
13291
|
const peg$r0 = /^[ \t]/;
|
|
13279
13292
|
const peg$r1 = /^[0-9]/;
|
|
13280
13293
|
const peg$r2 = /^[\r\u2028-\u2029]/;
|
|
@@ -13351,76 +13364,87 @@ function peg$parse(input, options) {
|
|
|
13351
13364
|
const peg$e68 = peg$literalExpectation("duration:", false);
|
|
13352
13365
|
const peg$e69 = peg$literalExpectation("P", false);
|
|
13353
13366
|
const peg$e70 = peg$literalExpectation("color:", false);
|
|
13354
|
-
const peg$e71 = peg$literalExpectation("
|
|
13355
|
-
const peg$e72 = peg$literalExpectation("
|
|
13356
|
-
const peg$e73 = peg$literalExpectation("
|
|
13357
|
-
const peg$e74 = peg$literalExpectation("
|
|
13358
|
-
const peg$e75 = peg$literalExpectation("
|
|
13359
|
-
const peg$e76 = peg$literalExpectation("
|
|
13360
|
-
const peg$e77 = peg$literalExpectation("
|
|
13361
|
-
const peg$e78 = peg$literalExpectation("
|
|
13362
|
-
const peg$e79 = peg$literalExpectation("
|
|
13363
|
-
const peg$e80 = peg$literalExpectation("
|
|
13364
|
-
const peg$e81 = peg$literalExpectation("
|
|
13365
|
-
const peg$e82 = peg$literalExpectation("
|
|
13366
|
-
const peg$e83 = peg$literalExpectation("
|
|
13367
|
-
const peg$e84 = peg$literalExpectation("
|
|
13368
|
-
const peg$e85 = peg$literalExpectation("
|
|
13369
|
-
const peg$e86 = peg$literalExpectation("
|
|
13370
|
-
const peg$e87 = peg$literalExpectation("
|
|
13371
|
-
const peg$e88 = peg$literalExpectation("
|
|
13372
|
-
const peg$e89 = peg$literalExpectation("
|
|
13373
|
-
const peg$e90 = peg$literalExpectation("
|
|
13374
|
-
const peg$e91 = peg$literalExpectation("
|
|
13375
|
-
const peg$e92 = peg$literalExpectation("
|
|
13376
|
-
const peg$e93 = peg$literalExpectation("
|
|
13377
|
-
const peg$e94 = peg$literalExpectation("
|
|
13378
|
-
const peg$e95 = peg$literalExpectation("
|
|
13379
|
-
const peg$e96 = peg$literalExpectation("
|
|
13380
|
-
const peg$e97 = peg$literalExpectation("
|
|
13381
|
-
const peg$e98 = peg$literalExpectation("
|
|
13382
|
-
const peg$e99 = peg$literalExpectation("
|
|
13383
|
-
const peg$e100 = peg$literalExpectation("
|
|
13384
|
-
const peg$e101 = peg$literalExpectation("
|
|
13385
|
-
const peg$e102 = peg$literalExpectation("
|
|
13386
|
-
const peg$e103 = peg$literalExpectation("
|
|
13387
|
-
const peg$e104 = peg$literalExpectation("
|
|
13388
|
-
const peg$e105 = peg$literalExpectation("
|
|
13389
|
-
const peg$e106 = peg$literalExpectation("
|
|
13390
|
-
const peg$e107 = peg$literalExpectation("
|
|
13391
|
-
const peg$e108 = peg$literalExpectation("
|
|
13392
|
-
const peg$e109 = peg$literalExpectation("
|
|
13393
|
-
const peg$e110 = peg$literalExpectation("
|
|
13394
|
-
const peg$e111 = peg$literalExpectation("
|
|
13395
|
-
const peg$e112 = peg$literalExpectation("
|
|
13396
|
-
const peg$e113 = peg$literalExpectation("
|
|
13397
|
-
const peg$e114 = peg$literalExpectation("
|
|
13398
|
-
const peg$e115 = peg$literalExpectation("
|
|
13399
|
-
const peg$e116 = peg$literalExpectation("
|
|
13400
|
-
const peg$e117 = peg$literalExpectation("
|
|
13401
|
-
const peg$e118 = peg$literalExpectation("
|
|
13402
|
-
const peg$e119 = peg$literalExpectation("
|
|
13403
|
-
const peg$e120 = peg$literalExpectation("
|
|
13404
|
-
const peg$e121 = peg$literalExpectation("
|
|
13405
|
-
const peg$e122 = peg$literalExpectation("
|
|
13406
|
-
const peg$e123 = peg$literalExpectation("
|
|
13407
|
-
const peg$e124 = peg$literalExpectation("
|
|
13408
|
-
const peg$e125 = peg$literalExpectation("
|
|
13409
|
-
const peg$e126 = peg$literalExpectation("
|
|
13410
|
-
const peg$e127 = peg$literalExpectation("
|
|
13411
|
-
const peg$e128 = peg$literalExpectation("
|
|
13412
|
-
const peg$e129 = peg$literalExpectation("
|
|
13413
|
-
const peg$e130 = peg$literalExpectation("
|
|
13414
|
-
const peg$e131 = peg$
|
|
13415
|
-
const peg$e132 = peg$literalExpectation("
|
|
13416
|
-
const peg$e133 = peg$literalExpectation("
|
|
13417
|
-
const peg$e134 = peg$
|
|
13418
|
-
const peg$e135 = peg$
|
|
13419
|
-
const peg$e136 = peg$literalExpectation("
|
|
13420
|
-
const peg$e137 = peg$literalExpectation("
|
|
13421
|
-
const peg$e138 = peg$literalExpectation("
|
|
13422
|
-
const peg$e139 = peg$literalExpectation("
|
|
13423
|
-
const peg$e140 = peg$
|
|
13367
|
+
const peg$e71 = peg$literalExpectation("colorPicker:", false);
|
|
13368
|
+
const peg$e72 = peg$literalExpectation("|\u25BA", false);
|
|
13369
|
+
const peg$e73 = peg$literalExpectation("bold", false);
|
|
13370
|
+
const peg$e74 = peg$literalExpectation("italic", false);
|
|
13371
|
+
const peg$e75 = peg$literalExpectation("light", false);
|
|
13372
|
+
const peg$e76 = peg$literalExpectation("highlightOrange", false);
|
|
13373
|
+
const peg$e77 = peg$literalExpectation("highlightYellow", false);
|
|
13374
|
+
const peg$e78 = peg$literalExpectation("highlightGreen", false);
|
|
13375
|
+
const peg$e79 = peg$literalExpectation("highlightBlue", false);
|
|
13376
|
+
const peg$e80 = peg$literalExpectation("highlightPurple", false);
|
|
13377
|
+
const peg$e81 = peg$literalExpectation("highlightPink", false);
|
|
13378
|
+
const peg$e82 = peg$literalExpectation("highlightBrown", false);
|
|
13379
|
+
const peg$e83 = peg$literalExpectation("highlightBlack", false);
|
|
13380
|
+
const peg$e84 = peg$literalExpectation("highlightWhite", false);
|
|
13381
|
+
const peg$e85 = peg$literalExpectation("highlightGray", false);
|
|
13382
|
+
const peg$e86 = peg$literalExpectation("highlight", false);
|
|
13383
|
+
const peg$e87 = peg$literalExpectation("strike", false);
|
|
13384
|
+
const peg$e88 = peg$literalExpectation("subscript", false);
|
|
13385
|
+
const peg$e89 = peg$literalExpectation("superscript", false);
|
|
13386
|
+
const peg$e90 = peg$literalExpectation("ins", false);
|
|
13387
|
+
const peg$e91 = peg$literalExpectation("del", false);
|
|
13388
|
+
const peg$e92 = peg$literalExpectation("underline", false);
|
|
13389
|
+
const peg$e93 = peg$literalExpectation("doubleUnderline", false);
|
|
13390
|
+
const peg$e94 = peg$literalExpectation("circle", false);
|
|
13391
|
+
const peg$e95 = peg$literalExpectation("languageEmRed", false);
|
|
13392
|
+
const peg$e96 = peg$literalExpectation("languageEmOrange", false);
|
|
13393
|
+
const peg$e97 = peg$literalExpectation("languageEmYellow", false);
|
|
13394
|
+
const peg$e98 = peg$literalExpectation("languageEmGreen", false);
|
|
13395
|
+
const peg$e99 = peg$literalExpectation("languageEmBlue", false);
|
|
13396
|
+
const peg$e100 = peg$literalExpectation("languageEmPurple", false);
|
|
13397
|
+
const peg$e101 = peg$literalExpectation("languageEmPink", false);
|
|
13398
|
+
const peg$e102 = peg$literalExpectation("languageEmBrown", false);
|
|
13399
|
+
const peg$e103 = peg$literalExpectation("languageEmBlack", false);
|
|
13400
|
+
const peg$e104 = peg$literalExpectation("languageEmWhite", false);
|
|
13401
|
+
const peg$e105 = peg$literalExpectation("languageEmGray", false);
|
|
13402
|
+
const peg$e106 = peg$literalExpectation("languageEm", false);
|
|
13403
|
+
const peg$e107 = peg$literalExpectation("userUnderline", false);
|
|
13404
|
+
const peg$e108 = peg$literalExpectation("userDoubleUnderline", false);
|
|
13405
|
+
const peg$e109 = peg$literalExpectation("userStrike", false);
|
|
13406
|
+
const peg$e110 = peg$literalExpectation("userCircle", false);
|
|
13407
|
+
const peg$e111 = peg$literalExpectation("userHighlight", false);
|
|
13408
|
+
const peg$e112 = peg$literalExpectation("notranslate", false);
|
|
13409
|
+
const peg$e113 = peg$literalExpectation("aqua", false);
|
|
13410
|
+
const peg$e114 = peg$literalExpectation("black", false);
|
|
13411
|
+
const peg$e115 = peg$literalExpectation("blue", false);
|
|
13412
|
+
const peg$e116 = peg$literalExpectation("brown", false);
|
|
13413
|
+
const peg$e117 = peg$literalExpectation("fuchsia", false);
|
|
13414
|
+
const peg$e118 = peg$literalExpectation("lightgrey", false);
|
|
13415
|
+
const peg$e119 = peg$literalExpectation("gray", false);
|
|
13416
|
+
const peg$e120 = peg$literalExpectation("darkgray", false);
|
|
13417
|
+
const peg$e121 = peg$literalExpectation("green", false);
|
|
13418
|
+
const peg$e122 = peg$literalExpectation("lime", false);
|
|
13419
|
+
const peg$e123 = peg$literalExpectation("magenta", false);
|
|
13420
|
+
const peg$e124 = peg$literalExpectation("maroon", false);
|
|
13421
|
+
const peg$e125 = peg$literalExpectation("navy", false);
|
|
13422
|
+
const peg$e126 = peg$literalExpectation("olive", false);
|
|
13423
|
+
const peg$e127 = peg$literalExpectation("orange", false);
|
|
13424
|
+
const peg$e128 = peg$literalExpectation("pink", false);
|
|
13425
|
+
const peg$e129 = peg$literalExpectation("purple", false);
|
|
13426
|
+
const peg$e130 = peg$literalExpectation("red", false);
|
|
13427
|
+
const peg$e131 = peg$literalExpectation("silver", false);
|
|
13428
|
+
const peg$e132 = peg$literalExpectation("teal", false);
|
|
13429
|
+
const peg$e133 = peg$literalExpectation("violet", false);
|
|
13430
|
+
const peg$e134 = peg$literalExpectation("white", false);
|
|
13431
|
+
const peg$e135 = peg$literalExpectation("yellow", false);
|
|
13432
|
+
const peg$e136 = peg$literalExpectation("*", false);
|
|
13433
|
+
const peg$e137 = peg$literalExpectation("_", false);
|
|
13434
|
+
const peg$e138 = peg$literalExpectation("`", false);
|
|
13435
|
+
const peg$e139 = peg$literalExpectation("!", false);
|
|
13436
|
+
const peg$e140 = peg$literalExpectation("[!", false);
|
|
13437
|
+
const peg$e141 = peg$literalExpectation("]", false);
|
|
13438
|
+
const peg$e142 = peg$otherExpectation("Line Terminator");
|
|
13439
|
+
const peg$e143 = peg$literalExpectation("\n", false);
|
|
13440
|
+
const peg$e144 = peg$literalExpectation("\r\n", false);
|
|
13441
|
+
const peg$e145 = peg$classExpectation(["\r", ["\u2028", "\u2029"]], false, false, false);
|
|
13442
|
+
const peg$e146 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false, false);
|
|
13443
|
+
const peg$e147 = peg$literalExpectation("http", false);
|
|
13444
|
+
const peg$e148 = peg$literalExpectation("s", false);
|
|
13445
|
+
const peg$e149 = peg$literalExpectation("://", false);
|
|
13446
|
+
const peg$e150 = peg$literalExpectation("mailto:", false);
|
|
13447
|
+
const peg$e151 = peg$classExpectation(["!", ["#", ";"], "=", ["?", "["], ["]", "_"], ["a", "{"], ["}", "~"]], false, false, false);
|
|
13424
13448
|
function peg$f0() {
|
|
13425
13449
|
return VERSION;
|
|
13426
13450
|
}
|
|
@@ -13787,44 +13811,47 @@ function peg$parse(input, options) {
|
|
|
13787
13811
|
function peg$f86(color) {
|
|
13788
13812
|
return { type: "color", attrs: { color } };
|
|
13789
13813
|
}
|
|
13790
|
-
function peg$f87(
|
|
13814
|
+
function peg$f87(str) {
|
|
13815
|
+
return { type: "colorPicker", attrs: { propertyRef: str.trim() } };
|
|
13816
|
+
}
|
|
13817
|
+
function peg$f88(style) {
|
|
13791
13818
|
return { type: style };
|
|
13792
13819
|
}
|
|
13793
|
-
function peg$
|
|
13820
|
+
function peg$f89(str) {
|
|
13794
13821
|
return { type: "comment", comment: str };
|
|
13795
13822
|
}
|
|
13796
|
-
function peg$
|
|
13823
|
+
function peg$f90(r) {
|
|
13797
13824
|
return r.trim();
|
|
13798
13825
|
}
|
|
13799
|
-
function peg$
|
|
13826
|
+
function peg$f91(bs) {
|
|
13800
13827
|
return [{ type: "paragraph", content: bs, attrs: {} }];
|
|
13801
13828
|
}
|
|
13802
|
-
function peg$
|
|
13829
|
+
function peg$f92(first, more) {
|
|
13803
13830
|
const cleaned_ = cleanEmptyTextNodes(first ? [first, ...more.flat()] : more.flat());
|
|
13804
13831
|
return cleaned_;
|
|
13805
13832
|
}
|
|
13806
|
-
function peg$
|
|
13833
|
+
function peg$f93() {
|
|
13807
13834
|
return { "type": "hardBreak" };
|
|
13808
13835
|
}
|
|
13809
|
-
function peg$
|
|
13836
|
+
function peg$f94(t) {
|
|
13810
13837
|
return { text: unbreakscape(t), type: "text" };
|
|
13811
13838
|
}
|
|
13812
|
-
function peg$
|
|
13839
|
+
function peg$f95(t) {
|
|
13813
13840
|
return { index: +t, type: "bit" };
|
|
13814
13841
|
}
|
|
13815
|
-
function peg$
|
|
13842
|
+
function peg$f96(t) {
|
|
13816
13843
|
return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" };
|
|
13817
13844
|
}
|
|
13818
|
-
function peg$
|
|
13845
|
+
function peg$f97(t) {
|
|
13819
13846
|
return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" };
|
|
13820
13847
|
}
|
|
13821
|
-
function peg$
|
|
13848
|
+
function peg$f98(t) {
|
|
13822
13849
|
return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" };
|
|
13823
13850
|
}
|
|
13824
|
-
function peg$
|
|
13851
|
+
function peg$f99(t) {
|
|
13825
13852
|
return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" };
|
|
13826
13853
|
}
|
|
13827
|
-
function peg$
|
|
13854
|
+
function peg$f100(pr, t) {
|
|
13828
13855
|
return { pr, t };
|
|
13829
13856
|
}
|
|
13830
13857
|
let peg$currPos = options.peg$currPos | 0;
|
|
@@ -19888,34 +19915,44 @@ function peg$parse(input, options) {
|
|
|
19888
19915
|
}
|
|
19889
19916
|
if (s0 === peg$FAILED) {
|
|
19890
19917
|
s0 = peg$currPos;
|
|
19891
|
-
|
|
19892
|
-
|
|
19893
|
-
|
|
19894
|
-
if (s2 !== peg$FAILED) {
|
|
19895
|
-
peg$savedPos = s0;
|
|
19896
|
-
s0 = peg$f87(s1);
|
|
19897
|
-
} else {
|
|
19898
|
-
peg$currPos = s0;
|
|
19899
|
-
s0 = peg$FAILED;
|
|
19900
|
-
}
|
|
19918
|
+
if (input.substr(peg$currPos, 12) === peg$c67) {
|
|
19919
|
+
s1 = peg$c67;
|
|
19920
|
+
peg$currPos += 12;
|
|
19901
19921
|
} else {
|
|
19902
|
-
|
|
19903
|
-
|
|
19922
|
+
s1 = peg$FAILED;
|
|
19923
|
+
if (peg$silentFails === 0) {
|
|
19924
|
+
peg$fail(peg$e71);
|
|
19925
|
+
}
|
|
19904
19926
|
}
|
|
19905
|
-
if (
|
|
19906
|
-
|
|
19907
|
-
|
|
19908
|
-
|
|
19909
|
-
|
|
19927
|
+
if (s1 !== peg$FAILED) {
|
|
19928
|
+
s2 = peg$currPos;
|
|
19929
|
+
s3 = [];
|
|
19930
|
+
s4 = peg$currPos;
|
|
19931
|
+
s5 = peg$currPos;
|
|
19932
|
+
peg$silentFails++;
|
|
19933
|
+
s6 = peg$parseBlockTag();
|
|
19934
|
+
peg$silentFails--;
|
|
19935
|
+
if (s6 === peg$FAILED) {
|
|
19936
|
+
s5 = void 0;
|
|
19910
19937
|
} else {
|
|
19911
|
-
|
|
19912
|
-
|
|
19913
|
-
|
|
19938
|
+
peg$currPos = s5;
|
|
19939
|
+
s5 = peg$FAILED;
|
|
19940
|
+
}
|
|
19941
|
+
if (s5 !== peg$FAILED) {
|
|
19942
|
+
s6 = peg$parsechar();
|
|
19943
|
+
if (s6 !== peg$FAILED) {
|
|
19944
|
+
s5 = [s5, s6];
|
|
19945
|
+
s4 = s5;
|
|
19946
|
+
} else {
|
|
19947
|
+
peg$currPos = s4;
|
|
19948
|
+
s4 = peg$FAILED;
|
|
19914
19949
|
}
|
|
19950
|
+
} else {
|
|
19951
|
+
peg$currPos = s4;
|
|
19952
|
+
s4 = peg$FAILED;
|
|
19915
19953
|
}
|
|
19916
|
-
|
|
19917
|
-
|
|
19918
|
-
s3 = [];
|
|
19954
|
+
while (s4 !== peg$FAILED) {
|
|
19955
|
+
s3.push(s4);
|
|
19919
19956
|
s4 = peg$currPos;
|
|
19920
19957
|
s5 = peg$currPos;
|
|
19921
19958
|
peg$silentFails++;
|
|
@@ -19940,8 +19977,50 @@ function peg$parse(input, options) {
|
|
|
19940
19977
|
peg$currPos = s4;
|
|
19941
19978
|
s4 = peg$FAILED;
|
|
19942
19979
|
}
|
|
19943
|
-
|
|
19944
|
-
|
|
19980
|
+
}
|
|
19981
|
+
s2 = input.substring(s2, peg$currPos);
|
|
19982
|
+
s3 = peg$parseBlockTag();
|
|
19983
|
+
if (s3 !== peg$FAILED) {
|
|
19984
|
+
peg$savedPos = s0;
|
|
19985
|
+
s0 = peg$f87(s2);
|
|
19986
|
+
} else {
|
|
19987
|
+
peg$currPos = s0;
|
|
19988
|
+
s0 = peg$FAILED;
|
|
19989
|
+
}
|
|
19990
|
+
} else {
|
|
19991
|
+
peg$currPos = s0;
|
|
19992
|
+
s0 = peg$FAILED;
|
|
19993
|
+
}
|
|
19994
|
+
if (s0 === peg$FAILED) {
|
|
19995
|
+
s0 = peg$currPos;
|
|
19996
|
+
s1 = peg$parseAlternativeStyleTags();
|
|
19997
|
+
if (s1 !== peg$FAILED) {
|
|
19998
|
+
s2 = peg$parseBlockTag();
|
|
19999
|
+
if (s2 !== peg$FAILED) {
|
|
20000
|
+
peg$savedPos = s0;
|
|
20001
|
+
s0 = peg$f88(s1);
|
|
20002
|
+
} else {
|
|
20003
|
+
peg$currPos = s0;
|
|
20004
|
+
s0 = peg$FAILED;
|
|
20005
|
+
}
|
|
20006
|
+
} else {
|
|
20007
|
+
peg$currPos = s0;
|
|
20008
|
+
s0 = peg$FAILED;
|
|
20009
|
+
}
|
|
20010
|
+
if (s0 === peg$FAILED) {
|
|
20011
|
+
s0 = peg$currPos;
|
|
20012
|
+
if (input.charCodeAt(peg$currPos) === 35) {
|
|
20013
|
+
s1 = peg$c21;
|
|
20014
|
+
peg$currPos++;
|
|
20015
|
+
} else {
|
|
20016
|
+
s1 = peg$FAILED;
|
|
20017
|
+
if (peg$silentFails === 0) {
|
|
20018
|
+
peg$fail(peg$e25);
|
|
20019
|
+
}
|
|
20020
|
+
}
|
|
20021
|
+
if (s1 !== peg$FAILED) {
|
|
20022
|
+
s2 = peg$currPos;
|
|
20023
|
+
s3 = [];
|
|
19945
20024
|
s4 = peg$currPos;
|
|
19946
20025
|
s5 = peg$currPos;
|
|
19947
20026
|
peg$silentFails++;
|
|
@@ -19966,19 +20045,46 @@ function peg$parse(input, options) {
|
|
|
19966
20045
|
peg$currPos = s4;
|
|
19967
20046
|
s4 = peg$FAILED;
|
|
19968
20047
|
}
|
|
19969
|
-
|
|
19970
|
-
|
|
19971
|
-
|
|
19972
|
-
|
|
19973
|
-
|
|
19974
|
-
|
|
20048
|
+
while (s4 !== peg$FAILED) {
|
|
20049
|
+
s3.push(s4);
|
|
20050
|
+
s4 = peg$currPos;
|
|
20051
|
+
s5 = peg$currPos;
|
|
20052
|
+
peg$silentFails++;
|
|
20053
|
+
s6 = peg$parseBlockTag();
|
|
20054
|
+
peg$silentFails--;
|
|
20055
|
+
if (s6 === peg$FAILED) {
|
|
20056
|
+
s5 = void 0;
|
|
20057
|
+
} else {
|
|
20058
|
+
peg$currPos = s5;
|
|
20059
|
+
s5 = peg$FAILED;
|
|
20060
|
+
}
|
|
20061
|
+
if (s5 !== peg$FAILED) {
|
|
20062
|
+
s6 = peg$parsechar();
|
|
20063
|
+
if (s6 !== peg$FAILED) {
|
|
20064
|
+
s5 = [s5, s6];
|
|
20065
|
+
s4 = s5;
|
|
20066
|
+
} else {
|
|
20067
|
+
peg$currPos = s4;
|
|
20068
|
+
s4 = peg$FAILED;
|
|
20069
|
+
}
|
|
20070
|
+
} else {
|
|
20071
|
+
peg$currPos = s4;
|
|
20072
|
+
s4 = peg$FAILED;
|
|
20073
|
+
}
|
|
20074
|
+
}
|
|
20075
|
+
s2 = input.substring(s2, peg$currPos);
|
|
20076
|
+
s3 = peg$parseBlockTag();
|
|
20077
|
+
if (s3 !== peg$FAILED) {
|
|
20078
|
+
peg$savedPos = s0;
|
|
20079
|
+
s0 = peg$f89(s2);
|
|
20080
|
+
} else {
|
|
20081
|
+
peg$currPos = s0;
|
|
20082
|
+
s0 = peg$FAILED;
|
|
20083
|
+
}
|
|
19975
20084
|
} else {
|
|
19976
20085
|
peg$currPos = s0;
|
|
19977
20086
|
s0 = peg$FAILED;
|
|
19978
20087
|
}
|
|
19979
|
-
} else {
|
|
19980
|
-
peg$currPos = s0;
|
|
19981
|
-
s0 = peg$FAILED;
|
|
19982
20088
|
}
|
|
19983
20089
|
}
|
|
19984
20090
|
}
|
|
@@ -20011,13 +20117,13 @@ function peg$parse(input, options) {
|
|
|
20011
20117
|
function peg$parseRef() {
|
|
20012
20118
|
let s0, s1, s2, s3, s4, s5, s6;
|
|
20013
20119
|
s0 = peg$currPos;
|
|
20014
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
20015
|
-
s1 = peg$
|
|
20120
|
+
if (input.substr(peg$currPos, 2) === peg$c68) {
|
|
20121
|
+
s1 = peg$c68;
|
|
20016
20122
|
peg$currPos += 2;
|
|
20017
20123
|
} else {
|
|
20018
20124
|
s1 = peg$FAILED;
|
|
20019
20125
|
if (peg$silentFails === 0) {
|
|
20020
|
-
peg$fail(peg$
|
|
20126
|
+
peg$fail(peg$e72);
|
|
20021
20127
|
}
|
|
20022
20128
|
}
|
|
20023
20129
|
if (s1 !== peg$FAILED) {
|
|
@@ -20076,7 +20182,7 @@ function peg$parse(input, options) {
|
|
|
20076
20182
|
}
|
|
20077
20183
|
s2 = input.substring(s2, peg$currPos);
|
|
20078
20184
|
peg$savedPos = s0;
|
|
20079
|
-
s0 = peg$
|
|
20185
|
+
s0 = peg$f90(s2);
|
|
20080
20186
|
} else {
|
|
20081
20187
|
peg$currPos = s0;
|
|
20082
20188
|
s0 = peg$FAILED;
|
|
@@ -20085,303 +20191,413 @@ function peg$parse(input, options) {
|
|
|
20085
20191
|
}
|
|
20086
20192
|
function peg$parseAlternativeStyleTags() {
|
|
20087
20193
|
let s0;
|
|
20088
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
20089
|
-
s0 = peg$
|
|
20194
|
+
if (input.substr(peg$currPos, 4) === peg$c69) {
|
|
20195
|
+
s0 = peg$c69;
|
|
20090
20196
|
peg$currPos += 4;
|
|
20091
20197
|
} else {
|
|
20092
20198
|
s0 = peg$FAILED;
|
|
20093
20199
|
if (peg$silentFails === 0) {
|
|
20094
|
-
peg$fail(peg$
|
|
20200
|
+
peg$fail(peg$e73);
|
|
20095
20201
|
}
|
|
20096
20202
|
}
|
|
20097
20203
|
if (s0 === peg$FAILED) {
|
|
20098
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
20099
|
-
s0 = peg$
|
|
20204
|
+
if (input.substr(peg$currPos, 6) === peg$c70) {
|
|
20205
|
+
s0 = peg$c70;
|
|
20100
20206
|
peg$currPos += 6;
|
|
20101
20207
|
} else {
|
|
20102
20208
|
s0 = peg$FAILED;
|
|
20103
20209
|
if (peg$silentFails === 0) {
|
|
20104
|
-
peg$fail(peg$
|
|
20210
|
+
peg$fail(peg$e74);
|
|
20105
20211
|
}
|
|
20106
20212
|
}
|
|
20107
20213
|
if (s0 === peg$FAILED) {
|
|
20108
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
20109
|
-
s0 = peg$
|
|
20214
|
+
if (input.substr(peg$currPos, 5) === peg$c71) {
|
|
20215
|
+
s0 = peg$c71;
|
|
20110
20216
|
peg$currPos += 5;
|
|
20111
20217
|
} else {
|
|
20112
20218
|
s0 = peg$FAILED;
|
|
20113
20219
|
if (peg$silentFails === 0) {
|
|
20114
|
-
peg$fail(peg$
|
|
20220
|
+
peg$fail(peg$e75);
|
|
20115
20221
|
}
|
|
20116
20222
|
}
|
|
20117
20223
|
if (s0 === peg$FAILED) {
|
|
20118
|
-
if (input.substr(peg$currPos,
|
|
20119
|
-
s0 = peg$
|
|
20120
|
-
peg$currPos +=
|
|
20224
|
+
if (input.substr(peg$currPos, 15) === peg$c72) {
|
|
20225
|
+
s0 = peg$c72;
|
|
20226
|
+
peg$currPos += 15;
|
|
20121
20227
|
} else {
|
|
20122
20228
|
s0 = peg$FAILED;
|
|
20123
20229
|
if (peg$silentFails === 0) {
|
|
20124
|
-
peg$fail(peg$
|
|
20230
|
+
peg$fail(peg$e76);
|
|
20125
20231
|
}
|
|
20126
20232
|
}
|
|
20127
20233
|
if (s0 === peg$FAILED) {
|
|
20128
|
-
if (input.substr(peg$currPos,
|
|
20129
|
-
s0 = peg$
|
|
20130
|
-
peg$currPos +=
|
|
20234
|
+
if (input.substr(peg$currPos, 15) === peg$c73) {
|
|
20235
|
+
s0 = peg$c73;
|
|
20236
|
+
peg$currPos += 15;
|
|
20131
20237
|
} else {
|
|
20132
20238
|
s0 = peg$FAILED;
|
|
20133
20239
|
if (peg$silentFails === 0) {
|
|
20134
|
-
peg$fail(peg$
|
|
20240
|
+
peg$fail(peg$e77);
|
|
20135
20241
|
}
|
|
20136
20242
|
}
|
|
20137
20243
|
if (s0 === peg$FAILED) {
|
|
20138
|
-
if (input.substr(peg$currPos,
|
|
20139
|
-
s0 = peg$
|
|
20140
|
-
peg$currPos +=
|
|
20244
|
+
if (input.substr(peg$currPos, 14) === peg$c74) {
|
|
20245
|
+
s0 = peg$c74;
|
|
20246
|
+
peg$currPos += 14;
|
|
20141
20247
|
} else {
|
|
20142
20248
|
s0 = peg$FAILED;
|
|
20143
20249
|
if (peg$silentFails === 0) {
|
|
20144
|
-
peg$fail(peg$
|
|
20250
|
+
peg$fail(peg$e78);
|
|
20145
20251
|
}
|
|
20146
20252
|
}
|
|
20147
20253
|
if (s0 === peg$FAILED) {
|
|
20148
|
-
if (input.substr(peg$currPos,
|
|
20149
|
-
s0 = peg$
|
|
20150
|
-
peg$currPos +=
|
|
20254
|
+
if (input.substr(peg$currPos, 13) === peg$c75) {
|
|
20255
|
+
s0 = peg$c75;
|
|
20256
|
+
peg$currPos += 13;
|
|
20151
20257
|
} else {
|
|
20152
20258
|
s0 = peg$FAILED;
|
|
20153
20259
|
if (peg$silentFails === 0) {
|
|
20154
|
-
peg$fail(peg$
|
|
20260
|
+
peg$fail(peg$e79);
|
|
20155
20261
|
}
|
|
20156
20262
|
}
|
|
20157
20263
|
if (s0 === peg$FAILED) {
|
|
20158
|
-
if (input.substr(peg$currPos,
|
|
20159
|
-
s0 = peg$
|
|
20160
|
-
peg$currPos +=
|
|
20264
|
+
if (input.substr(peg$currPos, 15) === peg$c76) {
|
|
20265
|
+
s0 = peg$c76;
|
|
20266
|
+
peg$currPos += 15;
|
|
20161
20267
|
} else {
|
|
20162
20268
|
s0 = peg$FAILED;
|
|
20163
20269
|
if (peg$silentFails === 0) {
|
|
20164
|
-
peg$fail(peg$
|
|
20270
|
+
peg$fail(peg$e80);
|
|
20165
20271
|
}
|
|
20166
20272
|
}
|
|
20167
20273
|
if (s0 === peg$FAILED) {
|
|
20168
|
-
if (input.substr(peg$currPos,
|
|
20169
|
-
s0 = peg$
|
|
20170
|
-
peg$currPos +=
|
|
20274
|
+
if (input.substr(peg$currPos, 13) === peg$c77) {
|
|
20275
|
+
s0 = peg$c77;
|
|
20276
|
+
peg$currPos += 13;
|
|
20171
20277
|
} else {
|
|
20172
20278
|
s0 = peg$FAILED;
|
|
20173
20279
|
if (peg$silentFails === 0) {
|
|
20174
|
-
peg$fail(peg$
|
|
20280
|
+
peg$fail(peg$e81);
|
|
20175
20281
|
}
|
|
20176
20282
|
}
|
|
20177
20283
|
if (s0 === peg$FAILED) {
|
|
20178
|
-
if (input.substr(peg$currPos,
|
|
20179
|
-
s0 = peg$
|
|
20180
|
-
peg$currPos +=
|
|
20284
|
+
if (input.substr(peg$currPos, 14) === peg$c78) {
|
|
20285
|
+
s0 = peg$c78;
|
|
20286
|
+
peg$currPos += 14;
|
|
20181
20287
|
} else {
|
|
20182
20288
|
s0 = peg$FAILED;
|
|
20183
20289
|
if (peg$silentFails === 0) {
|
|
20184
|
-
peg$fail(peg$
|
|
20290
|
+
peg$fail(peg$e82);
|
|
20185
20291
|
}
|
|
20186
20292
|
}
|
|
20187
20293
|
if (s0 === peg$FAILED) {
|
|
20188
|
-
if (input.substr(peg$currPos,
|
|
20189
|
-
s0 = peg$
|
|
20190
|
-
peg$currPos +=
|
|
20294
|
+
if (input.substr(peg$currPos, 14) === peg$c79) {
|
|
20295
|
+
s0 = peg$c79;
|
|
20296
|
+
peg$currPos += 14;
|
|
20191
20297
|
} else {
|
|
20192
20298
|
s0 = peg$FAILED;
|
|
20193
20299
|
if (peg$silentFails === 0) {
|
|
20194
|
-
peg$fail(peg$
|
|
20300
|
+
peg$fail(peg$e83);
|
|
20195
20301
|
}
|
|
20196
20302
|
}
|
|
20197
20303
|
if (s0 === peg$FAILED) {
|
|
20198
|
-
if (input.substr(peg$currPos,
|
|
20199
|
-
s0 = peg$
|
|
20200
|
-
peg$currPos +=
|
|
20304
|
+
if (input.substr(peg$currPos, 14) === peg$c80) {
|
|
20305
|
+
s0 = peg$c80;
|
|
20306
|
+
peg$currPos += 14;
|
|
20201
20307
|
} else {
|
|
20202
20308
|
s0 = peg$FAILED;
|
|
20203
20309
|
if (peg$silentFails === 0) {
|
|
20204
|
-
peg$fail(peg$
|
|
20310
|
+
peg$fail(peg$e84);
|
|
20205
20311
|
}
|
|
20206
20312
|
}
|
|
20207
20313
|
if (s0 === peg$FAILED) {
|
|
20208
|
-
if (input.substr(peg$currPos, 13) === peg$
|
|
20209
|
-
s0 = peg$
|
|
20314
|
+
if (input.substr(peg$currPos, 13) === peg$c81) {
|
|
20315
|
+
s0 = peg$c81;
|
|
20210
20316
|
peg$currPos += 13;
|
|
20211
20317
|
} else {
|
|
20212
20318
|
s0 = peg$FAILED;
|
|
20213
20319
|
if (peg$silentFails === 0) {
|
|
20214
|
-
peg$fail(peg$
|
|
20320
|
+
peg$fail(peg$e85);
|
|
20215
20321
|
}
|
|
20216
20322
|
}
|
|
20217
20323
|
if (s0 === peg$FAILED) {
|
|
20218
|
-
if (input.substr(peg$currPos,
|
|
20219
|
-
s0 = peg$
|
|
20220
|
-
peg$currPos +=
|
|
20324
|
+
if (input.substr(peg$currPos, 9) === peg$c82) {
|
|
20325
|
+
s0 = peg$c82;
|
|
20326
|
+
peg$currPos += 9;
|
|
20221
20327
|
} else {
|
|
20222
20328
|
s0 = peg$FAILED;
|
|
20223
20329
|
if (peg$silentFails === 0) {
|
|
20224
|
-
peg$fail(peg$
|
|
20330
|
+
peg$fail(peg$e86);
|
|
20225
20331
|
}
|
|
20226
20332
|
}
|
|
20227
20333
|
if (s0 === peg$FAILED) {
|
|
20228
|
-
if (input.substr(peg$currPos,
|
|
20229
|
-
s0 = peg$
|
|
20230
|
-
peg$currPos +=
|
|
20334
|
+
if (input.substr(peg$currPos, 6) === peg$c83) {
|
|
20335
|
+
s0 = peg$c83;
|
|
20336
|
+
peg$currPos += 6;
|
|
20231
20337
|
} else {
|
|
20232
20338
|
s0 = peg$FAILED;
|
|
20233
20339
|
if (peg$silentFails === 0) {
|
|
20234
|
-
peg$fail(peg$
|
|
20340
|
+
peg$fail(peg$e87);
|
|
20235
20341
|
}
|
|
20236
20342
|
}
|
|
20237
20343
|
if (s0 === peg$FAILED) {
|
|
20238
|
-
if (input.substr(peg$currPos,
|
|
20239
|
-
s0 = peg$
|
|
20240
|
-
peg$currPos +=
|
|
20344
|
+
if (input.substr(peg$currPos, 9) === peg$c84) {
|
|
20345
|
+
s0 = peg$c84;
|
|
20346
|
+
peg$currPos += 9;
|
|
20241
20347
|
} else {
|
|
20242
20348
|
s0 = peg$FAILED;
|
|
20243
20349
|
if (peg$silentFails === 0) {
|
|
20244
|
-
peg$fail(peg$
|
|
20350
|
+
peg$fail(peg$e88);
|
|
20245
20351
|
}
|
|
20246
20352
|
}
|
|
20247
20353
|
if (s0 === peg$FAILED) {
|
|
20248
|
-
if (input.substr(peg$currPos,
|
|
20249
|
-
s0 = peg$
|
|
20250
|
-
peg$currPos +=
|
|
20354
|
+
if (input.substr(peg$currPos, 11) === peg$c85) {
|
|
20355
|
+
s0 = peg$c85;
|
|
20356
|
+
peg$currPos += 11;
|
|
20251
20357
|
} else {
|
|
20252
20358
|
s0 = peg$FAILED;
|
|
20253
20359
|
if (peg$silentFails === 0) {
|
|
20254
|
-
peg$fail(peg$
|
|
20360
|
+
peg$fail(peg$e89);
|
|
20255
20361
|
}
|
|
20256
20362
|
}
|
|
20257
20363
|
if (s0 === peg$FAILED) {
|
|
20258
|
-
if (input.substr(peg$currPos,
|
|
20259
|
-
s0 = peg$
|
|
20260
|
-
peg$currPos +=
|
|
20364
|
+
if (input.substr(peg$currPos, 3) === peg$c86) {
|
|
20365
|
+
s0 = peg$c86;
|
|
20366
|
+
peg$currPos += 3;
|
|
20261
20367
|
} else {
|
|
20262
20368
|
s0 = peg$FAILED;
|
|
20263
20369
|
if (peg$silentFails === 0) {
|
|
20264
|
-
peg$fail(peg$
|
|
20370
|
+
peg$fail(peg$e90);
|
|
20265
20371
|
}
|
|
20266
20372
|
}
|
|
20267
20373
|
if (s0 === peg$FAILED) {
|
|
20268
|
-
if (input.substr(peg$currPos,
|
|
20269
|
-
s0 = peg$
|
|
20270
|
-
peg$currPos +=
|
|
20374
|
+
if (input.substr(peg$currPos, 3) === peg$c87) {
|
|
20375
|
+
s0 = peg$c87;
|
|
20376
|
+
peg$currPos += 3;
|
|
20271
20377
|
} else {
|
|
20272
20378
|
s0 = peg$FAILED;
|
|
20273
20379
|
if (peg$silentFails === 0) {
|
|
20274
|
-
peg$fail(peg$
|
|
20380
|
+
peg$fail(peg$e91);
|
|
20275
20381
|
}
|
|
20276
20382
|
}
|
|
20277
20383
|
if (s0 === peg$FAILED) {
|
|
20278
|
-
if (input.substr(peg$currPos,
|
|
20279
|
-
s0 = peg$
|
|
20280
|
-
peg$currPos +=
|
|
20384
|
+
if (input.substr(peg$currPos, 9) === peg$c88) {
|
|
20385
|
+
s0 = peg$c88;
|
|
20386
|
+
peg$currPos += 9;
|
|
20281
20387
|
} else {
|
|
20282
20388
|
s0 = peg$FAILED;
|
|
20283
20389
|
if (peg$silentFails === 0) {
|
|
20284
|
-
peg$fail(peg$
|
|
20390
|
+
peg$fail(peg$e92);
|
|
20285
20391
|
}
|
|
20286
20392
|
}
|
|
20287
20393
|
if (s0 === peg$FAILED) {
|
|
20288
|
-
if (input.substr(peg$currPos, 15) === peg$
|
|
20289
|
-
s0 = peg$
|
|
20394
|
+
if (input.substr(peg$currPos, 15) === peg$c89) {
|
|
20395
|
+
s0 = peg$c89;
|
|
20290
20396
|
peg$currPos += 15;
|
|
20291
20397
|
} else {
|
|
20292
20398
|
s0 = peg$FAILED;
|
|
20293
20399
|
if (peg$silentFails === 0) {
|
|
20294
|
-
peg$fail(peg$
|
|
20400
|
+
peg$fail(peg$e93);
|
|
20295
20401
|
}
|
|
20296
20402
|
}
|
|
20297
20403
|
if (s0 === peg$FAILED) {
|
|
20298
|
-
if (input.substr(peg$currPos,
|
|
20299
|
-
s0 = peg$
|
|
20300
|
-
peg$currPos +=
|
|
20404
|
+
if (input.substr(peg$currPos, 6) === peg$c90) {
|
|
20405
|
+
s0 = peg$c90;
|
|
20406
|
+
peg$currPos += 6;
|
|
20301
20407
|
} else {
|
|
20302
20408
|
s0 = peg$FAILED;
|
|
20303
20409
|
if (peg$silentFails === 0) {
|
|
20304
|
-
peg$fail(peg$
|
|
20410
|
+
peg$fail(peg$e94);
|
|
20305
20411
|
}
|
|
20306
20412
|
}
|
|
20307
20413
|
if (s0 === peg$FAILED) {
|
|
20308
|
-
if (input.substr(peg$currPos,
|
|
20309
|
-
s0 = peg$
|
|
20310
|
-
peg$currPos +=
|
|
20414
|
+
if (input.substr(peg$currPos, 13) === peg$c91) {
|
|
20415
|
+
s0 = peg$c91;
|
|
20416
|
+
peg$currPos += 13;
|
|
20311
20417
|
} else {
|
|
20312
20418
|
s0 = peg$FAILED;
|
|
20313
20419
|
if (peg$silentFails === 0) {
|
|
20314
|
-
peg$fail(peg$
|
|
20420
|
+
peg$fail(peg$e95);
|
|
20315
20421
|
}
|
|
20316
20422
|
}
|
|
20317
20423
|
if (s0 === peg$FAILED) {
|
|
20318
|
-
if (input.substr(peg$currPos,
|
|
20319
|
-
s0 = peg$
|
|
20320
|
-
peg$currPos +=
|
|
20424
|
+
if (input.substr(peg$currPos, 16) === peg$c92) {
|
|
20425
|
+
s0 = peg$c92;
|
|
20426
|
+
peg$currPos += 16;
|
|
20321
20427
|
} else {
|
|
20322
20428
|
s0 = peg$FAILED;
|
|
20323
20429
|
if (peg$silentFails === 0) {
|
|
20324
|
-
peg$fail(peg$
|
|
20430
|
+
peg$fail(peg$e96);
|
|
20325
20431
|
}
|
|
20326
20432
|
}
|
|
20327
20433
|
if (s0 === peg$FAILED) {
|
|
20328
|
-
if (input.substr(peg$currPos,
|
|
20329
|
-
s0 = peg$
|
|
20330
|
-
peg$currPos +=
|
|
20434
|
+
if (input.substr(peg$currPos, 16) === peg$c93) {
|
|
20435
|
+
s0 = peg$c93;
|
|
20436
|
+
peg$currPos += 16;
|
|
20331
20437
|
} else {
|
|
20332
20438
|
s0 = peg$FAILED;
|
|
20333
20439
|
if (peg$silentFails === 0) {
|
|
20334
|
-
peg$fail(peg$
|
|
20440
|
+
peg$fail(peg$e97);
|
|
20335
20441
|
}
|
|
20336
20442
|
}
|
|
20337
20443
|
if (s0 === peg$FAILED) {
|
|
20338
|
-
if (input.substr(peg$currPos,
|
|
20339
|
-
s0 = peg$
|
|
20340
|
-
peg$currPos +=
|
|
20444
|
+
if (input.substr(peg$currPos, 15) === peg$c94) {
|
|
20445
|
+
s0 = peg$c94;
|
|
20446
|
+
peg$currPos += 15;
|
|
20341
20447
|
} else {
|
|
20342
20448
|
s0 = peg$FAILED;
|
|
20343
20449
|
if (peg$silentFails === 0) {
|
|
20344
|
-
peg$fail(peg$
|
|
20450
|
+
peg$fail(peg$e98);
|
|
20345
20451
|
}
|
|
20346
20452
|
}
|
|
20347
20453
|
if (s0 === peg$FAILED) {
|
|
20348
|
-
if (input.substr(peg$currPos,
|
|
20349
|
-
s0 = peg$
|
|
20350
|
-
peg$currPos +=
|
|
20454
|
+
if (input.substr(peg$currPos, 14) === peg$c95) {
|
|
20455
|
+
s0 = peg$c95;
|
|
20456
|
+
peg$currPos += 14;
|
|
20351
20457
|
} else {
|
|
20352
20458
|
s0 = peg$FAILED;
|
|
20353
20459
|
if (peg$silentFails === 0) {
|
|
20354
|
-
peg$fail(peg$
|
|
20460
|
+
peg$fail(peg$e99);
|
|
20355
20461
|
}
|
|
20356
20462
|
}
|
|
20357
20463
|
if (s0 === peg$FAILED) {
|
|
20358
|
-
if (input.substr(peg$currPos,
|
|
20359
|
-
s0 = peg$
|
|
20360
|
-
peg$currPos +=
|
|
20464
|
+
if (input.substr(peg$currPos, 16) === peg$c96) {
|
|
20465
|
+
s0 = peg$c96;
|
|
20466
|
+
peg$currPos += 16;
|
|
20361
20467
|
} else {
|
|
20362
20468
|
s0 = peg$FAILED;
|
|
20363
20469
|
if (peg$silentFails === 0) {
|
|
20364
|
-
peg$fail(peg$
|
|
20470
|
+
peg$fail(peg$e100);
|
|
20365
20471
|
}
|
|
20366
20472
|
}
|
|
20367
20473
|
if (s0 === peg$FAILED) {
|
|
20368
|
-
if (input.substr(peg$currPos,
|
|
20369
|
-
s0 = peg$
|
|
20370
|
-
peg$currPos +=
|
|
20474
|
+
if (input.substr(peg$currPos, 14) === peg$c97) {
|
|
20475
|
+
s0 = peg$c97;
|
|
20476
|
+
peg$currPos += 14;
|
|
20371
20477
|
} else {
|
|
20372
20478
|
s0 = peg$FAILED;
|
|
20373
20479
|
if (peg$silentFails === 0) {
|
|
20374
|
-
peg$fail(peg$
|
|
20480
|
+
peg$fail(peg$e101);
|
|
20375
20481
|
}
|
|
20376
20482
|
}
|
|
20377
20483
|
if (s0 === peg$FAILED) {
|
|
20378
|
-
if (input.substr(peg$currPos,
|
|
20379
|
-
s0 = peg$
|
|
20380
|
-
peg$currPos +=
|
|
20484
|
+
if (input.substr(peg$currPos, 15) === peg$c98) {
|
|
20485
|
+
s0 = peg$c98;
|
|
20486
|
+
peg$currPos += 15;
|
|
20381
20487
|
} else {
|
|
20382
20488
|
s0 = peg$FAILED;
|
|
20383
20489
|
if (peg$silentFails === 0) {
|
|
20384
|
-
peg$fail(peg$
|
|
20490
|
+
peg$fail(peg$e102);
|
|
20491
|
+
}
|
|
20492
|
+
}
|
|
20493
|
+
if (s0 === peg$FAILED) {
|
|
20494
|
+
if (input.substr(peg$currPos, 15) === peg$c99) {
|
|
20495
|
+
s0 = peg$c99;
|
|
20496
|
+
peg$currPos += 15;
|
|
20497
|
+
} else {
|
|
20498
|
+
s0 = peg$FAILED;
|
|
20499
|
+
if (peg$silentFails === 0) {
|
|
20500
|
+
peg$fail(peg$e103);
|
|
20501
|
+
}
|
|
20502
|
+
}
|
|
20503
|
+
if (s0 === peg$FAILED) {
|
|
20504
|
+
if (input.substr(peg$currPos, 15) === peg$c100) {
|
|
20505
|
+
s0 = peg$c100;
|
|
20506
|
+
peg$currPos += 15;
|
|
20507
|
+
} else {
|
|
20508
|
+
s0 = peg$FAILED;
|
|
20509
|
+
if (peg$silentFails === 0) {
|
|
20510
|
+
peg$fail(peg$e104);
|
|
20511
|
+
}
|
|
20512
|
+
}
|
|
20513
|
+
if (s0 === peg$FAILED) {
|
|
20514
|
+
if (input.substr(peg$currPos, 14) === peg$c101) {
|
|
20515
|
+
s0 = peg$c101;
|
|
20516
|
+
peg$currPos += 14;
|
|
20517
|
+
} else {
|
|
20518
|
+
s0 = peg$FAILED;
|
|
20519
|
+
if (peg$silentFails === 0) {
|
|
20520
|
+
peg$fail(peg$e105);
|
|
20521
|
+
}
|
|
20522
|
+
}
|
|
20523
|
+
if (s0 === peg$FAILED) {
|
|
20524
|
+
if (input.substr(peg$currPos, 10) === peg$c102) {
|
|
20525
|
+
s0 = peg$c102;
|
|
20526
|
+
peg$currPos += 10;
|
|
20527
|
+
} else {
|
|
20528
|
+
s0 = peg$FAILED;
|
|
20529
|
+
if (peg$silentFails === 0) {
|
|
20530
|
+
peg$fail(peg$e106);
|
|
20531
|
+
}
|
|
20532
|
+
}
|
|
20533
|
+
if (s0 === peg$FAILED) {
|
|
20534
|
+
if (input.substr(peg$currPos, 13) === peg$c103) {
|
|
20535
|
+
s0 = peg$c103;
|
|
20536
|
+
peg$currPos += 13;
|
|
20537
|
+
} else {
|
|
20538
|
+
s0 = peg$FAILED;
|
|
20539
|
+
if (peg$silentFails === 0) {
|
|
20540
|
+
peg$fail(peg$e107);
|
|
20541
|
+
}
|
|
20542
|
+
}
|
|
20543
|
+
if (s0 === peg$FAILED) {
|
|
20544
|
+
if (input.substr(peg$currPos, 19) === peg$c104) {
|
|
20545
|
+
s0 = peg$c104;
|
|
20546
|
+
peg$currPos += 19;
|
|
20547
|
+
} else {
|
|
20548
|
+
s0 = peg$FAILED;
|
|
20549
|
+
if (peg$silentFails === 0) {
|
|
20550
|
+
peg$fail(peg$e108);
|
|
20551
|
+
}
|
|
20552
|
+
}
|
|
20553
|
+
if (s0 === peg$FAILED) {
|
|
20554
|
+
if (input.substr(peg$currPos, 10) === peg$c105) {
|
|
20555
|
+
s0 = peg$c105;
|
|
20556
|
+
peg$currPos += 10;
|
|
20557
|
+
} else {
|
|
20558
|
+
s0 = peg$FAILED;
|
|
20559
|
+
if (peg$silentFails === 0) {
|
|
20560
|
+
peg$fail(peg$e109);
|
|
20561
|
+
}
|
|
20562
|
+
}
|
|
20563
|
+
if (s0 === peg$FAILED) {
|
|
20564
|
+
if (input.substr(peg$currPos, 10) === peg$c106) {
|
|
20565
|
+
s0 = peg$c106;
|
|
20566
|
+
peg$currPos += 10;
|
|
20567
|
+
} else {
|
|
20568
|
+
s0 = peg$FAILED;
|
|
20569
|
+
if (peg$silentFails === 0) {
|
|
20570
|
+
peg$fail(peg$e110);
|
|
20571
|
+
}
|
|
20572
|
+
}
|
|
20573
|
+
if (s0 === peg$FAILED) {
|
|
20574
|
+
if (input.substr(peg$currPos, 13) === peg$c107) {
|
|
20575
|
+
s0 = peg$c107;
|
|
20576
|
+
peg$currPos += 13;
|
|
20577
|
+
} else {
|
|
20578
|
+
s0 = peg$FAILED;
|
|
20579
|
+
if (peg$silentFails === 0) {
|
|
20580
|
+
peg$fail(peg$e111);
|
|
20581
|
+
}
|
|
20582
|
+
}
|
|
20583
|
+
if (s0 === peg$FAILED) {
|
|
20584
|
+
if (input.substr(peg$currPos, 11) === peg$c108) {
|
|
20585
|
+
s0 = peg$c108;
|
|
20586
|
+
peg$currPos += 11;
|
|
20587
|
+
} else {
|
|
20588
|
+
s0 = peg$FAILED;
|
|
20589
|
+
if (peg$silentFails === 0) {
|
|
20590
|
+
peg$fail(peg$e112);
|
|
20591
|
+
}
|
|
20592
|
+
}
|
|
20593
|
+
}
|
|
20594
|
+
}
|
|
20595
|
+
}
|
|
20596
|
+
}
|
|
20597
|
+
}
|
|
20598
|
+
}
|
|
20599
|
+
}
|
|
20600
|
+
}
|
|
20385
20601
|
}
|
|
20386
20602
|
}
|
|
20387
20603
|
}
|
|
@@ -20417,233 +20633,233 @@ function peg$parse(input, options) {
|
|
|
20417
20633
|
}
|
|
20418
20634
|
function peg$parseColor() {
|
|
20419
20635
|
let s0;
|
|
20420
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
20421
|
-
s0 = peg$
|
|
20636
|
+
if (input.substr(peg$currPos, 4) === peg$c109) {
|
|
20637
|
+
s0 = peg$c109;
|
|
20422
20638
|
peg$currPos += 4;
|
|
20423
20639
|
} else {
|
|
20424
20640
|
s0 = peg$FAILED;
|
|
20425
20641
|
if (peg$silentFails === 0) {
|
|
20426
|
-
peg$fail(peg$
|
|
20642
|
+
peg$fail(peg$e113);
|
|
20427
20643
|
}
|
|
20428
20644
|
}
|
|
20429
20645
|
if (s0 === peg$FAILED) {
|
|
20430
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
20431
|
-
s0 = peg$
|
|
20646
|
+
if (input.substr(peg$currPos, 5) === peg$c110) {
|
|
20647
|
+
s0 = peg$c110;
|
|
20432
20648
|
peg$currPos += 5;
|
|
20433
20649
|
} else {
|
|
20434
20650
|
s0 = peg$FAILED;
|
|
20435
20651
|
if (peg$silentFails === 0) {
|
|
20436
|
-
peg$fail(peg$
|
|
20652
|
+
peg$fail(peg$e114);
|
|
20437
20653
|
}
|
|
20438
20654
|
}
|
|
20439
20655
|
if (s0 === peg$FAILED) {
|
|
20440
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
20441
|
-
s0 = peg$
|
|
20656
|
+
if (input.substr(peg$currPos, 4) === peg$c111) {
|
|
20657
|
+
s0 = peg$c111;
|
|
20442
20658
|
peg$currPos += 4;
|
|
20443
20659
|
} else {
|
|
20444
20660
|
s0 = peg$FAILED;
|
|
20445
20661
|
if (peg$silentFails === 0) {
|
|
20446
|
-
peg$fail(peg$
|
|
20662
|
+
peg$fail(peg$e115);
|
|
20447
20663
|
}
|
|
20448
20664
|
}
|
|
20449
20665
|
if (s0 === peg$FAILED) {
|
|
20450
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
20451
|
-
s0 = peg$
|
|
20666
|
+
if (input.substr(peg$currPos, 5) === peg$c112) {
|
|
20667
|
+
s0 = peg$c112;
|
|
20452
20668
|
peg$currPos += 5;
|
|
20453
20669
|
} else {
|
|
20454
20670
|
s0 = peg$FAILED;
|
|
20455
20671
|
if (peg$silentFails === 0) {
|
|
20456
|
-
peg$fail(peg$
|
|
20672
|
+
peg$fail(peg$e116);
|
|
20457
20673
|
}
|
|
20458
20674
|
}
|
|
20459
20675
|
if (s0 === peg$FAILED) {
|
|
20460
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
20461
|
-
s0 = peg$
|
|
20676
|
+
if (input.substr(peg$currPos, 7) === peg$c113) {
|
|
20677
|
+
s0 = peg$c113;
|
|
20462
20678
|
peg$currPos += 7;
|
|
20463
20679
|
} else {
|
|
20464
20680
|
s0 = peg$FAILED;
|
|
20465
20681
|
if (peg$silentFails === 0) {
|
|
20466
|
-
peg$fail(peg$
|
|
20682
|
+
peg$fail(peg$e117);
|
|
20467
20683
|
}
|
|
20468
20684
|
}
|
|
20469
20685
|
if (s0 === peg$FAILED) {
|
|
20470
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
20471
|
-
s0 = peg$
|
|
20686
|
+
if (input.substr(peg$currPos, 9) === peg$c114) {
|
|
20687
|
+
s0 = peg$c114;
|
|
20472
20688
|
peg$currPos += 9;
|
|
20473
20689
|
} else {
|
|
20474
20690
|
s0 = peg$FAILED;
|
|
20475
20691
|
if (peg$silentFails === 0) {
|
|
20476
|
-
peg$fail(peg$
|
|
20692
|
+
peg$fail(peg$e118);
|
|
20477
20693
|
}
|
|
20478
20694
|
}
|
|
20479
20695
|
if (s0 === peg$FAILED) {
|
|
20480
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
20481
|
-
s0 = peg$
|
|
20696
|
+
if (input.substr(peg$currPos, 4) === peg$c115) {
|
|
20697
|
+
s0 = peg$c115;
|
|
20482
20698
|
peg$currPos += 4;
|
|
20483
20699
|
} else {
|
|
20484
20700
|
s0 = peg$FAILED;
|
|
20485
20701
|
if (peg$silentFails === 0) {
|
|
20486
|
-
peg$fail(peg$
|
|
20702
|
+
peg$fail(peg$e119);
|
|
20487
20703
|
}
|
|
20488
20704
|
}
|
|
20489
20705
|
if (s0 === peg$FAILED) {
|
|
20490
|
-
if (input.substr(peg$currPos, 8) === peg$
|
|
20491
|
-
s0 = peg$
|
|
20706
|
+
if (input.substr(peg$currPos, 8) === peg$c116) {
|
|
20707
|
+
s0 = peg$c116;
|
|
20492
20708
|
peg$currPos += 8;
|
|
20493
20709
|
} else {
|
|
20494
20710
|
s0 = peg$FAILED;
|
|
20495
20711
|
if (peg$silentFails === 0) {
|
|
20496
|
-
peg$fail(peg$
|
|
20712
|
+
peg$fail(peg$e120);
|
|
20497
20713
|
}
|
|
20498
20714
|
}
|
|
20499
20715
|
if (s0 === peg$FAILED) {
|
|
20500
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
20501
|
-
s0 = peg$
|
|
20716
|
+
if (input.substr(peg$currPos, 5) === peg$c117) {
|
|
20717
|
+
s0 = peg$c117;
|
|
20502
20718
|
peg$currPos += 5;
|
|
20503
20719
|
} else {
|
|
20504
20720
|
s0 = peg$FAILED;
|
|
20505
20721
|
if (peg$silentFails === 0) {
|
|
20506
|
-
peg$fail(peg$
|
|
20722
|
+
peg$fail(peg$e121);
|
|
20507
20723
|
}
|
|
20508
20724
|
}
|
|
20509
20725
|
if (s0 === peg$FAILED) {
|
|
20510
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
20511
|
-
s0 = peg$
|
|
20726
|
+
if (input.substr(peg$currPos, 4) === peg$c118) {
|
|
20727
|
+
s0 = peg$c118;
|
|
20512
20728
|
peg$currPos += 4;
|
|
20513
20729
|
} else {
|
|
20514
20730
|
s0 = peg$FAILED;
|
|
20515
20731
|
if (peg$silentFails === 0) {
|
|
20516
|
-
peg$fail(peg$
|
|
20732
|
+
peg$fail(peg$e122);
|
|
20517
20733
|
}
|
|
20518
20734
|
}
|
|
20519
20735
|
if (s0 === peg$FAILED) {
|
|
20520
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
20521
|
-
s0 = peg$
|
|
20736
|
+
if (input.substr(peg$currPos, 7) === peg$c119) {
|
|
20737
|
+
s0 = peg$c119;
|
|
20522
20738
|
peg$currPos += 7;
|
|
20523
20739
|
} else {
|
|
20524
20740
|
s0 = peg$FAILED;
|
|
20525
20741
|
if (peg$silentFails === 0) {
|
|
20526
|
-
peg$fail(peg$
|
|
20742
|
+
peg$fail(peg$e123);
|
|
20527
20743
|
}
|
|
20528
20744
|
}
|
|
20529
20745
|
if (s0 === peg$FAILED) {
|
|
20530
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
20531
|
-
s0 = peg$
|
|
20746
|
+
if (input.substr(peg$currPos, 6) === peg$c120) {
|
|
20747
|
+
s0 = peg$c120;
|
|
20532
20748
|
peg$currPos += 6;
|
|
20533
20749
|
} else {
|
|
20534
20750
|
s0 = peg$FAILED;
|
|
20535
20751
|
if (peg$silentFails === 0) {
|
|
20536
|
-
peg$fail(peg$
|
|
20752
|
+
peg$fail(peg$e124);
|
|
20537
20753
|
}
|
|
20538
20754
|
}
|
|
20539
20755
|
if (s0 === peg$FAILED) {
|
|
20540
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
20541
|
-
s0 = peg$
|
|
20756
|
+
if (input.substr(peg$currPos, 4) === peg$c121) {
|
|
20757
|
+
s0 = peg$c121;
|
|
20542
20758
|
peg$currPos += 4;
|
|
20543
20759
|
} else {
|
|
20544
20760
|
s0 = peg$FAILED;
|
|
20545
20761
|
if (peg$silentFails === 0) {
|
|
20546
|
-
peg$fail(peg$
|
|
20762
|
+
peg$fail(peg$e125);
|
|
20547
20763
|
}
|
|
20548
20764
|
}
|
|
20549
20765
|
if (s0 === peg$FAILED) {
|
|
20550
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
20551
|
-
s0 = peg$
|
|
20766
|
+
if (input.substr(peg$currPos, 5) === peg$c122) {
|
|
20767
|
+
s0 = peg$c122;
|
|
20552
20768
|
peg$currPos += 5;
|
|
20553
20769
|
} else {
|
|
20554
20770
|
s0 = peg$FAILED;
|
|
20555
20771
|
if (peg$silentFails === 0) {
|
|
20556
|
-
peg$fail(peg$
|
|
20772
|
+
peg$fail(peg$e126);
|
|
20557
20773
|
}
|
|
20558
20774
|
}
|
|
20559
20775
|
if (s0 === peg$FAILED) {
|
|
20560
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
20561
|
-
s0 = peg$
|
|
20776
|
+
if (input.substr(peg$currPos, 6) === peg$c123) {
|
|
20777
|
+
s0 = peg$c123;
|
|
20562
20778
|
peg$currPos += 6;
|
|
20563
20779
|
} else {
|
|
20564
20780
|
s0 = peg$FAILED;
|
|
20565
20781
|
if (peg$silentFails === 0) {
|
|
20566
|
-
peg$fail(peg$
|
|
20782
|
+
peg$fail(peg$e127);
|
|
20567
20783
|
}
|
|
20568
20784
|
}
|
|
20569
20785
|
if (s0 === peg$FAILED) {
|
|
20570
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
20571
|
-
s0 = peg$
|
|
20786
|
+
if (input.substr(peg$currPos, 4) === peg$c124) {
|
|
20787
|
+
s0 = peg$c124;
|
|
20572
20788
|
peg$currPos += 4;
|
|
20573
20789
|
} else {
|
|
20574
20790
|
s0 = peg$FAILED;
|
|
20575
20791
|
if (peg$silentFails === 0) {
|
|
20576
|
-
peg$fail(peg$
|
|
20792
|
+
peg$fail(peg$e128);
|
|
20577
20793
|
}
|
|
20578
20794
|
}
|
|
20579
20795
|
if (s0 === peg$FAILED) {
|
|
20580
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
20581
|
-
s0 = peg$
|
|
20796
|
+
if (input.substr(peg$currPos, 6) === peg$c125) {
|
|
20797
|
+
s0 = peg$c125;
|
|
20582
20798
|
peg$currPos += 6;
|
|
20583
20799
|
} else {
|
|
20584
20800
|
s0 = peg$FAILED;
|
|
20585
20801
|
if (peg$silentFails === 0) {
|
|
20586
|
-
peg$fail(peg$
|
|
20802
|
+
peg$fail(peg$e129);
|
|
20587
20803
|
}
|
|
20588
20804
|
}
|
|
20589
20805
|
if (s0 === peg$FAILED) {
|
|
20590
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
20591
|
-
s0 = peg$
|
|
20806
|
+
if (input.substr(peg$currPos, 3) === peg$c126) {
|
|
20807
|
+
s0 = peg$c126;
|
|
20592
20808
|
peg$currPos += 3;
|
|
20593
20809
|
} else {
|
|
20594
20810
|
s0 = peg$FAILED;
|
|
20595
20811
|
if (peg$silentFails === 0) {
|
|
20596
|
-
peg$fail(peg$
|
|
20812
|
+
peg$fail(peg$e130);
|
|
20597
20813
|
}
|
|
20598
20814
|
}
|
|
20599
20815
|
if (s0 === peg$FAILED) {
|
|
20600
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
20601
|
-
s0 = peg$
|
|
20816
|
+
if (input.substr(peg$currPos, 6) === peg$c127) {
|
|
20817
|
+
s0 = peg$c127;
|
|
20602
20818
|
peg$currPos += 6;
|
|
20603
20819
|
} else {
|
|
20604
20820
|
s0 = peg$FAILED;
|
|
20605
20821
|
if (peg$silentFails === 0) {
|
|
20606
|
-
peg$fail(peg$
|
|
20822
|
+
peg$fail(peg$e131);
|
|
20607
20823
|
}
|
|
20608
20824
|
}
|
|
20609
20825
|
if (s0 === peg$FAILED) {
|
|
20610
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
20611
|
-
s0 = peg$
|
|
20826
|
+
if (input.substr(peg$currPos, 4) === peg$c128) {
|
|
20827
|
+
s0 = peg$c128;
|
|
20612
20828
|
peg$currPos += 4;
|
|
20613
20829
|
} else {
|
|
20614
20830
|
s0 = peg$FAILED;
|
|
20615
20831
|
if (peg$silentFails === 0) {
|
|
20616
|
-
peg$fail(peg$
|
|
20832
|
+
peg$fail(peg$e132);
|
|
20617
20833
|
}
|
|
20618
20834
|
}
|
|
20619
20835
|
if (s0 === peg$FAILED) {
|
|
20620
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
20621
|
-
s0 = peg$
|
|
20836
|
+
if (input.substr(peg$currPos, 6) === peg$c129) {
|
|
20837
|
+
s0 = peg$c129;
|
|
20622
20838
|
peg$currPos += 6;
|
|
20623
20839
|
} else {
|
|
20624
20840
|
s0 = peg$FAILED;
|
|
20625
20841
|
if (peg$silentFails === 0) {
|
|
20626
|
-
peg$fail(peg$
|
|
20842
|
+
peg$fail(peg$e133);
|
|
20627
20843
|
}
|
|
20628
20844
|
}
|
|
20629
20845
|
if (s0 === peg$FAILED) {
|
|
20630
|
-
if (input.substr(peg$currPos, 5) === peg$
|
|
20631
|
-
s0 = peg$
|
|
20846
|
+
if (input.substr(peg$currPos, 5) === peg$c130) {
|
|
20847
|
+
s0 = peg$c130;
|
|
20632
20848
|
peg$currPos += 5;
|
|
20633
20849
|
} else {
|
|
20634
20850
|
s0 = peg$FAILED;
|
|
20635
20851
|
if (peg$silentFails === 0) {
|
|
20636
|
-
peg$fail(peg$
|
|
20852
|
+
peg$fail(peg$e134);
|
|
20637
20853
|
}
|
|
20638
20854
|
}
|
|
20639
20855
|
if (s0 === peg$FAILED) {
|
|
20640
|
-
if (input.substr(peg$currPos, 6) === peg$
|
|
20641
|
-
s0 = peg$
|
|
20856
|
+
if (input.substr(peg$currPos, 6) === peg$c131) {
|
|
20857
|
+
s0 = peg$c131;
|
|
20642
20858
|
peg$currPos += 6;
|
|
20643
20859
|
} else {
|
|
20644
20860
|
s0 = peg$FAILED;
|
|
20645
20861
|
if (peg$silentFails === 0) {
|
|
20646
|
-
peg$fail(peg$
|
|
20862
|
+
peg$fail(peg$e135);
|
|
20647
20863
|
}
|
|
20648
20864
|
}
|
|
20649
20865
|
}
|
|
@@ -20676,7 +20892,7 @@ function peg$parse(input, options) {
|
|
|
20676
20892
|
s0 = peg$currPos;
|
|
20677
20893
|
s1 = peg$parsebitmarkMinusMinusString();
|
|
20678
20894
|
peg$savedPos = s0;
|
|
20679
|
-
s1 = peg$
|
|
20895
|
+
s1 = peg$f91(s1);
|
|
20680
20896
|
s0 = s1;
|
|
20681
20897
|
peg$silentFails--;
|
|
20682
20898
|
return s0;
|
|
@@ -20702,7 +20918,7 @@ function peg$parse(input, options) {
|
|
|
20702
20918
|
}
|
|
20703
20919
|
}
|
|
20704
20920
|
peg$savedPos = s0;
|
|
20705
|
-
s0 = peg$
|
|
20921
|
+
s0 = peg$f92(s1, s2);
|
|
20706
20922
|
peg$silentFails--;
|
|
20707
20923
|
return s0;
|
|
20708
20924
|
}
|
|
@@ -20712,7 +20928,7 @@ function peg$parse(input, options) {
|
|
|
20712
20928
|
s1 = peg$parseNL();
|
|
20713
20929
|
if (s1 !== peg$FAILED) {
|
|
20714
20930
|
peg$savedPos = s0;
|
|
20715
|
-
s1 = peg$
|
|
20931
|
+
s1 = peg$f93();
|
|
20716
20932
|
}
|
|
20717
20933
|
s0 = s1;
|
|
20718
20934
|
if (s0 === peg$FAILED) {
|
|
@@ -20841,7 +21057,7 @@ function peg$parse(input, options) {
|
|
|
20841
21057
|
}
|
|
20842
21058
|
if (s1 !== peg$FAILED) {
|
|
20843
21059
|
peg$savedPos = s0;
|
|
20844
|
-
s1 = peg$
|
|
21060
|
+
s1 = peg$f94(s1);
|
|
20845
21061
|
}
|
|
20846
21062
|
s0 = s1;
|
|
20847
21063
|
}
|
|
@@ -20850,12 +21066,12 @@ function peg$parse(input, options) {
|
|
|
20850
21066
|
function peg$parseBoldHalfTag() {
|
|
20851
21067
|
let s0;
|
|
20852
21068
|
if (input.charCodeAt(peg$currPos) === 42) {
|
|
20853
|
-
s0 = peg$
|
|
21069
|
+
s0 = peg$c132;
|
|
20854
21070
|
peg$currPos++;
|
|
20855
21071
|
} else {
|
|
20856
21072
|
s0 = peg$FAILED;
|
|
20857
21073
|
if (peg$silentFails === 0) {
|
|
20858
|
-
peg$fail(peg$
|
|
21074
|
+
peg$fail(peg$e136);
|
|
20859
21075
|
}
|
|
20860
21076
|
}
|
|
20861
21077
|
return s0;
|
|
@@ -20863,12 +21079,12 @@ function peg$parse(input, options) {
|
|
|
20863
21079
|
function peg$parseItalicHalfTag() {
|
|
20864
21080
|
let s0;
|
|
20865
21081
|
if (input.charCodeAt(peg$currPos) === 95) {
|
|
20866
|
-
s0 = peg$
|
|
21082
|
+
s0 = peg$c133;
|
|
20867
21083
|
peg$currPos++;
|
|
20868
21084
|
} else {
|
|
20869
21085
|
s0 = peg$FAILED;
|
|
20870
21086
|
if (peg$silentFails === 0) {
|
|
20871
|
-
peg$fail(peg$
|
|
21087
|
+
peg$fail(peg$e137);
|
|
20872
21088
|
}
|
|
20873
21089
|
}
|
|
20874
21090
|
return s0;
|
|
@@ -20876,12 +21092,12 @@ function peg$parse(input, options) {
|
|
|
20876
21092
|
function peg$parseLightHalfTag() {
|
|
20877
21093
|
let s0;
|
|
20878
21094
|
if (input.charCodeAt(peg$currPos) === 96) {
|
|
20879
|
-
s0 = peg$
|
|
21095
|
+
s0 = peg$c134;
|
|
20880
21096
|
peg$currPos++;
|
|
20881
21097
|
} else {
|
|
20882
21098
|
s0 = peg$FAILED;
|
|
20883
21099
|
if (peg$silentFails === 0) {
|
|
20884
|
-
peg$fail(peg$
|
|
21100
|
+
peg$fail(peg$e138);
|
|
20885
21101
|
}
|
|
20886
21102
|
}
|
|
20887
21103
|
return s0;
|
|
@@ -20889,12 +21105,12 @@ function peg$parse(input, options) {
|
|
|
20889
21105
|
function peg$parseHighlightHalfTag() {
|
|
20890
21106
|
let s0;
|
|
20891
21107
|
if (input.charCodeAt(peg$currPos) === 33) {
|
|
20892
|
-
s0 = peg$
|
|
21108
|
+
s0 = peg$c135;
|
|
20893
21109
|
peg$currPos++;
|
|
20894
21110
|
} else {
|
|
20895
21111
|
s0 = peg$FAILED;
|
|
20896
21112
|
if (peg$silentFails === 0) {
|
|
20897
|
-
peg$fail(peg$
|
|
21113
|
+
peg$fail(peg$e139);
|
|
20898
21114
|
}
|
|
20899
21115
|
}
|
|
20900
21116
|
return s0;
|
|
@@ -20977,13 +21193,13 @@ function peg$parse(input, options) {
|
|
|
20977
21193
|
}
|
|
20978
21194
|
function peg$parseBodyBitOpenTag() {
|
|
20979
21195
|
let s0;
|
|
20980
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
20981
|
-
s0 = peg$
|
|
21196
|
+
if (input.substr(peg$currPos, 2) === peg$c136) {
|
|
21197
|
+
s0 = peg$c136;
|
|
20982
21198
|
peg$currPos += 2;
|
|
20983
21199
|
} else {
|
|
20984
21200
|
s0 = peg$FAILED;
|
|
20985
21201
|
if (peg$silentFails === 0) {
|
|
20986
|
-
peg$fail(peg$
|
|
21202
|
+
peg$fail(peg$e140);
|
|
20987
21203
|
}
|
|
20988
21204
|
}
|
|
20989
21205
|
return s0;
|
|
@@ -20991,12 +21207,12 @@ function peg$parse(input, options) {
|
|
|
20991
21207
|
function peg$parseBodyBitCloseTag() {
|
|
20992
21208
|
let s0;
|
|
20993
21209
|
if (input.charCodeAt(peg$currPos) === 93) {
|
|
20994
|
-
s0 = peg$
|
|
21210
|
+
s0 = peg$c137;
|
|
20995
21211
|
peg$currPos++;
|
|
20996
21212
|
} else {
|
|
20997
21213
|
s0 = peg$FAILED;
|
|
20998
21214
|
if (peg$silentFails === 0) {
|
|
20999
|
-
peg$fail(peg$
|
|
21215
|
+
peg$fail(peg$e141);
|
|
21000
21216
|
}
|
|
21001
21217
|
}
|
|
21002
21218
|
return s0;
|
|
@@ -21042,7 +21258,7 @@ function peg$parse(input, options) {
|
|
|
21042
21258
|
s3 = peg$parseBodyBitCloseTag();
|
|
21043
21259
|
if (s3 !== peg$FAILED) {
|
|
21044
21260
|
peg$savedPos = s0;
|
|
21045
|
-
s0 = peg$
|
|
21261
|
+
s0 = peg$f95(s2);
|
|
21046
21262
|
} else {
|
|
21047
21263
|
peg$currPos = s0;
|
|
21048
21264
|
s0 = peg$FAILED;
|
|
@@ -21132,7 +21348,7 @@ function peg$parse(input, options) {
|
|
|
21132
21348
|
s3 = peg$parseBoldTag();
|
|
21133
21349
|
if (s3 !== peg$FAILED) {
|
|
21134
21350
|
peg$savedPos = s0;
|
|
21135
|
-
s0 = peg$
|
|
21351
|
+
s0 = peg$f96(s2);
|
|
21136
21352
|
} else {
|
|
21137
21353
|
peg$currPos = s0;
|
|
21138
21354
|
s0 = peg$FAILED;
|
|
@@ -21218,7 +21434,7 @@ function peg$parse(input, options) {
|
|
|
21218
21434
|
s3 = peg$parseItalicTag();
|
|
21219
21435
|
if (s3 !== peg$FAILED) {
|
|
21220
21436
|
peg$savedPos = s0;
|
|
21221
|
-
s0 = peg$
|
|
21437
|
+
s0 = peg$f97(s2);
|
|
21222
21438
|
} else {
|
|
21223
21439
|
peg$currPos = s0;
|
|
21224
21440
|
s0 = peg$FAILED;
|
|
@@ -21304,7 +21520,7 @@ function peg$parse(input, options) {
|
|
|
21304
21520
|
s3 = peg$parseLightTag();
|
|
21305
21521
|
if (s3 !== peg$FAILED) {
|
|
21306
21522
|
peg$savedPos = s0;
|
|
21307
|
-
s0 = peg$
|
|
21523
|
+
s0 = peg$f98(s2);
|
|
21308
21524
|
} else {
|
|
21309
21525
|
peg$currPos = s0;
|
|
21310
21526
|
s0 = peg$FAILED;
|
|
@@ -21390,7 +21606,7 @@ function peg$parse(input, options) {
|
|
|
21390
21606
|
s3 = peg$parseHighlightTag();
|
|
21391
21607
|
if (s3 !== peg$FAILED) {
|
|
21392
21608
|
peg$savedPos = s0;
|
|
21393
|
-
s0 = peg$
|
|
21609
|
+
s0 = peg$f99(s2);
|
|
21394
21610
|
} else {
|
|
21395
21611
|
peg$currPos = s0;
|
|
21396
21612
|
s0 = peg$FAILED;
|
|
@@ -21475,22 +21691,22 @@ function peg$parse(input, options) {
|
|
|
21475
21691
|
let s0, s1;
|
|
21476
21692
|
peg$silentFails++;
|
|
21477
21693
|
if (input.charCodeAt(peg$currPos) === 10) {
|
|
21478
|
-
s0 = peg$
|
|
21694
|
+
s0 = peg$c138;
|
|
21479
21695
|
peg$currPos++;
|
|
21480
21696
|
} else {
|
|
21481
21697
|
s0 = peg$FAILED;
|
|
21482
21698
|
if (peg$silentFails === 0) {
|
|
21483
|
-
peg$fail(peg$
|
|
21699
|
+
peg$fail(peg$e143);
|
|
21484
21700
|
}
|
|
21485
21701
|
}
|
|
21486
21702
|
if (s0 === peg$FAILED) {
|
|
21487
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
21488
|
-
s0 = peg$
|
|
21703
|
+
if (input.substr(peg$currPos, 2) === peg$c139) {
|
|
21704
|
+
s0 = peg$c139;
|
|
21489
21705
|
peg$currPos += 2;
|
|
21490
21706
|
} else {
|
|
21491
21707
|
s0 = peg$FAILED;
|
|
21492
21708
|
if (peg$silentFails === 0) {
|
|
21493
|
-
peg$fail(peg$
|
|
21709
|
+
peg$fail(peg$e144);
|
|
21494
21710
|
}
|
|
21495
21711
|
}
|
|
21496
21712
|
if (s0 === peg$FAILED) {
|
|
@@ -21500,7 +21716,7 @@ function peg$parse(input, options) {
|
|
|
21500
21716
|
} else {
|
|
21501
21717
|
s0 = peg$FAILED;
|
|
21502
21718
|
if (peg$silentFails === 0) {
|
|
21503
|
-
peg$fail(peg$
|
|
21719
|
+
peg$fail(peg$e145);
|
|
21504
21720
|
}
|
|
21505
21721
|
}
|
|
21506
21722
|
}
|
|
@@ -21509,7 +21725,7 @@ function peg$parse(input, options) {
|
|
|
21509
21725
|
if (s0 === peg$FAILED) {
|
|
21510
21726
|
s1 = peg$FAILED;
|
|
21511
21727
|
if (peg$silentFails === 0) {
|
|
21512
|
-
peg$fail(peg$
|
|
21728
|
+
peg$fail(peg$e142);
|
|
21513
21729
|
}
|
|
21514
21730
|
}
|
|
21515
21731
|
return s0;
|
|
@@ -21522,7 +21738,7 @@ function peg$parse(input, options) {
|
|
|
21522
21738
|
} else {
|
|
21523
21739
|
s0 = peg$FAILED;
|
|
21524
21740
|
if (peg$silentFails === 0) {
|
|
21525
|
-
peg$fail(peg$
|
|
21741
|
+
peg$fail(peg$e146);
|
|
21526
21742
|
}
|
|
21527
21743
|
}
|
|
21528
21744
|
return s0;
|
|
@@ -21556,35 +21772,35 @@ function peg$parse(input, options) {
|
|
|
21556
21772
|
let s0, s1, s2, s3, s4, s5, s6, s7, s8;
|
|
21557
21773
|
s0 = peg$currPos;
|
|
21558
21774
|
s1 = peg$currPos;
|
|
21559
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
21560
|
-
s2 = peg$
|
|
21775
|
+
if (input.substr(peg$currPos, 4) === peg$c140) {
|
|
21776
|
+
s2 = peg$c140;
|
|
21561
21777
|
peg$currPos += 4;
|
|
21562
21778
|
} else {
|
|
21563
21779
|
s2 = peg$FAILED;
|
|
21564
21780
|
if (peg$silentFails === 0) {
|
|
21565
|
-
peg$fail(peg$
|
|
21781
|
+
peg$fail(peg$e147);
|
|
21566
21782
|
}
|
|
21567
21783
|
}
|
|
21568
21784
|
if (s2 !== peg$FAILED) {
|
|
21569
21785
|
if (input.charCodeAt(peg$currPos) === 115) {
|
|
21570
|
-
s3 = peg$
|
|
21786
|
+
s3 = peg$c141;
|
|
21571
21787
|
peg$currPos++;
|
|
21572
21788
|
} else {
|
|
21573
21789
|
s3 = peg$FAILED;
|
|
21574
21790
|
if (peg$silentFails === 0) {
|
|
21575
|
-
peg$fail(peg$
|
|
21791
|
+
peg$fail(peg$e148);
|
|
21576
21792
|
}
|
|
21577
21793
|
}
|
|
21578
21794
|
if (s3 === peg$FAILED) {
|
|
21579
21795
|
s3 = null;
|
|
21580
21796
|
}
|
|
21581
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
21582
|
-
s4 = peg$
|
|
21797
|
+
if (input.substr(peg$currPos, 3) === peg$c142) {
|
|
21798
|
+
s4 = peg$c142;
|
|
21583
21799
|
peg$currPos += 3;
|
|
21584
21800
|
} else {
|
|
21585
21801
|
s4 = peg$FAILED;
|
|
21586
21802
|
if (peg$silentFails === 0) {
|
|
21587
|
-
peg$fail(peg$
|
|
21803
|
+
peg$fail(peg$e149);
|
|
21588
21804
|
}
|
|
21589
21805
|
}
|
|
21590
21806
|
if (s4 !== peg$FAILED) {
|
|
@@ -21662,35 +21878,35 @@ function peg$parse(input, options) {
|
|
|
21662
21878
|
s0 = peg$currPos;
|
|
21663
21879
|
s1 = peg$currPos;
|
|
21664
21880
|
s2 = peg$currPos;
|
|
21665
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
21666
|
-
s3 = peg$
|
|
21881
|
+
if (input.substr(peg$currPos, 4) === peg$c140) {
|
|
21882
|
+
s3 = peg$c140;
|
|
21667
21883
|
peg$currPos += 4;
|
|
21668
21884
|
} else {
|
|
21669
21885
|
s3 = peg$FAILED;
|
|
21670
21886
|
if (peg$silentFails === 0) {
|
|
21671
|
-
peg$fail(peg$
|
|
21887
|
+
peg$fail(peg$e147);
|
|
21672
21888
|
}
|
|
21673
21889
|
}
|
|
21674
21890
|
if (s3 !== peg$FAILED) {
|
|
21675
21891
|
if (input.charCodeAt(peg$currPos) === 115) {
|
|
21676
|
-
s4 = peg$
|
|
21892
|
+
s4 = peg$c141;
|
|
21677
21893
|
peg$currPos++;
|
|
21678
21894
|
} else {
|
|
21679
21895
|
s4 = peg$FAILED;
|
|
21680
21896
|
if (peg$silentFails === 0) {
|
|
21681
|
-
peg$fail(peg$
|
|
21897
|
+
peg$fail(peg$e148);
|
|
21682
21898
|
}
|
|
21683
21899
|
}
|
|
21684
21900
|
if (s4 === peg$FAILED) {
|
|
21685
21901
|
s4 = null;
|
|
21686
21902
|
}
|
|
21687
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
21688
|
-
s5 = peg$
|
|
21903
|
+
if (input.substr(peg$currPos, 3) === peg$c142) {
|
|
21904
|
+
s5 = peg$c142;
|
|
21689
21905
|
peg$currPos += 3;
|
|
21690
21906
|
} else {
|
|
21691
21907
|
s5 = peg$FAILED;
|
|
21692
21908
|
if (peg$silentFails === 0) {
|
|
21693
|
-
peg$fail(peg$
|
|
21909
|
+
peg$fail(peg$e149);
|
|
21694
21910
|
}
|
|
21695
21911
|
}
|
|
21696
21912
|
if (s5 !== peg$FAILED) {
|
|
@@ -21705,13 +21921,13 @@ function peg$parse(input, options) {
|
|
|
21705
21921
|
s2 = peg$FAILED;
|
|
21706
21922
|
}
|
|
21707
21923
|
if (s2 === peg$FAILED) {
|
|
21708
|
-
if (input.substr(peg$currPos, 7) === peg$
|
|
21709
|
-
s2 = peg$
|
|
21924
|
+
if (input.substr(peg$currPos, 7) === peg$c143) {
|
|
21925
|
+
s2 = peg$c143;
|
|
21710
21926
|
peg$currPos += 7;
|
|
21711
21927
|
} else {
|
|
21712
21928
|
s2 = peg$FAILED;
|
|
21713
21929
|
if (peg$silentFails === 0) {
|
|
21714
|
-
peg$fail(peg$
|
|
21930
|
+
peg$fail(peg$e150);
|
|
21715
21931
|
}
|
|
21716
21932
|
}
|
|
21717
21933
|
}
|
|
@@ -21776,7 +21992,7 @@ function peg$parse(input, options) {
|
|
|
21776
21992
|
}
|
|
21777
21993
|
s2 = input.substring(s2, peg$currPos);
|
|
21778
21994
|
peg$savedPos = s0;
|
|
21779
|
-
s0 = peg$
|
|
21995
|
+
s0 = peg$f100(s1, s2);
|
|
21780
21996
|
} else {
|
|
21781
21997
|
peg$currPos = s0;
|
|
21782
21998
|
s0 = peg$FAILED;
|
|
@@ -21791,7 +22007,7 @@ function peg$parse(input, options) {
|
|
|
21791
22007
|
} else {
|
|
21792
22008
|
s0 = peg$FAILED;
|
|
21793
22009
|
if (peg$silentFails === 0) {
|
|
21794
|
-
peg$fail(peg$
|
|
22010
|
+
peg$fail(peg$e151);
|
|
21795
22011
|
}
|
|
21796
22012
|
}
|
|
21797
22013
|
return s0;
|