@gmb/bitmark-parser-generator 5.29.0 → 5.30.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 +631 -409
- package/dist/browser/cjs/index.cjs.map +1 -1
- package/dist/browser/esm/index.js +631 -409
- package/dist/browser/esm/index.js.map +1 -1
- package/dist/cli/main.js +628 -408
- package/dist/cli/main.js.map +1 -1
- package/dist/index.cjs +631 -409
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +631 -409
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli/main.js
CHANGED
|
@@ -13861,7 +13861,7 @@ var instance2 = new Config();
|
|
|
13861
13861
|
// src/generated/package_info.ts
|
|
13862
13862
|
var PACKAGE_INFO = {
|
|
13863
13863
|
"name": "@gmb/bitmark-parser-generator",
|
|
13864
|
-
"version": "5.
|
|
13864
|
+
"version": "5.30.0",
|
|
13865
13865
|
"license": "ISC"};
|
|
13866
13866
|
var Environment = {
|
|
13867
13867
|
unknown: "",
|
|
@@ -16828,26 +16828,26 @@ function peg$parse(input, options) {
|
|
|
16828
16828
|
bitmarkMinusMinusString: peg$parsebitmarkMinusMinusString
|
|
16829
16829
|
};
|
|
16830
16830
|
let peg$startRuleFunction = peg$parseversion;
|
|
16831
|
-
const peg$c0 = "
|
|
16832
|
-
const peg$c1 = "
|
|
16833
|
-
const peg$c2 = "
|
|
16834
|
-
const peg$c3 = "
|
|
16835
|
-
const peg$c4 = "
|
|
16836
|
-
const peg$c5 = "
|
|
16837
|
-
const peg$c6 = "
|
|
16838
|
-
const peg$c7 = "bitmark
|
|
16839
|
-
const peg$c8 = "
|
|
16840
|
-
const peg$c9 = "
|
|
16841
|
-
const peg$c10 = "\
|
|
16842
|
-
const peg$c11 = "\
|
|
16843
|
-
const peg$c12 = "
|
|
16844
|
-
const peg$c13 = "
|
|
16845
|
-
const peg$c14 = "
|
|
16846
|
-
const peg$c15 = "
|
|
16847
|
-
const peg$c16 = "\
|
|
16848
|
-
const peg$c17 = "\
|
|
16849
|
-
const peg$c18 = "\u2022
|
|
16850
|
-
const peg$c19 = "
|
|
16831
|
+
const peg$c0 = " ";
|
|
16832
|
+
const peg$c1 = "|";
|
|
16833
|
+
const peg$c2 = "### ";
|
|
16834
|
+
const peg$c3 = "## ";
|
|
16835
|
+
const peg$c4 = "# ";
|
|
16836
|
+
const peg$c5 = "code";
|
|
16837
|
+
const peg$c6 = ":";
|
|
16838
|
+
const peg$c7 = "bitmark++";
|
|
16839
|
+
const peg$c8 = "bitmark--";
|
|
16840
|
+
const peg$c9 = "JavaScript";
|
|
16841
|
+
const peg$c10 = "\u2022 ";
|
|
16842
|
+
const peg$c11 = "\u2022_ ";
|
|
16843
|
+
const peg$c12 = "\u2022";
|
|
16844
|
+
const peg$c13 = " ";
|
|
16845
|
+
const peg$c14 = "I ";
|
|
16846
|
+
const peg$c15 = "i ";
|
|
16847
|
+
const peg$c16 = "\u2022A ";
|
|
16848
|
+
const peg$c17 = "\u2022a ";
|
|
16849
|
+
const peg$c18 = "\u2022+ ";
|
|
16850
|
+
const peg$c19 = "\u2022- ";
|
|
16851
16851
|
const peg$c20 = "image";
|
|
16852
16852
|
const peg$c21 = "#";
|
|
16853
16853
|
const peg$c22 = "@";
|
|
@@ -16979,28 +16979,28 @@ function peg$parse(input, options) {
|
|
|
16979
16979
|
const peg$r4 = /^[!#-;=?-[\]-_a-{}-~]/;
|
|
16980
16980
|
const peg$e0 = peg$anyExpectation();
|
|
16981
16981
|
const peg$e1 = peg$otherExpectation("StyledText");
|
|
16982
|
-
const peg$e2 = peg$literalExpectation("
|
|
16983
|
-
const peg$e3 = peg$literalExpectation("
|
|
16984
|
-
const peg$e4 = peg$literalExpectation("
|
|
16985
|
-
const peg$e5 = peg$literalExpectation("
|
|
16986
|
-
const peg$e6 = peg$literalExpectation("
|
|
16987
|
-
const peg$e7 = peg$
|
|
16988
|
-
const peg$e8 = peg$
|
|
16989
|
-
const peg$e9 = peg$literalExpectation("
|
|
16990
|
-
const peg$e10 = peg$literalExpectation("bitmark
|
|
16991
|
-
const peg$e11 = peg$literalExpectation("
|
|
16992
|
-
const peg$e12 = peg$literalExpectation("
|
|
16993
|
-
const peg$e13 = peg$literalExpectation("\
|
|
16994
|
-
const peg$e14 = peg$literalExpectation("\
|
|
16995
|
-
const peg$e15 = peg$
|
|
16996
|
-
const peg$e16 = peg$
|
|
16997
|
-
const peg$e17 = peg$literalExpectation("
|
|
16998
|
-
const peg$e18 = peg$literalExpectation("
|
|
16999
|
-
const peg$e19 = peg$literalExpectation("
|
|
17000
|
-
const peg$e20 = peg$literalExpectation("\
|
|
17001
|
-
const peg$e21 = peg$literalExpectation("\
|
|
17002
|
-
const peg$e22 = peg$literalExpectation("\u2022
|
|
17003
|
-
const peg$e23 = peg$literalExpectation("
|
|
16982
|
+
const peg$e2 = peg$literalExpectation(" ", false);
|
|
16983
|
+
const peg$e3 = peg$literalExpectation("|", false);
|
|
16984
|
+
const peg$e4 = peg$literalExpectation("### ", false);
|
|
16985
|
+
const peg$e5 = peg$literalExpectation("## ", false);
|
|
16986
|
+
const peg$e6 = peg$literalExpectation("# ", false);
|
|
16987
|
+
const peg$e7 = peg$literalExpectation("code", false);
|
|
16988
|
+
const peg$e8 = peg$classExpectation([" ", " "], false, false, false);
|
|
16989
|
+
const peg$e9 = peg$literalExpectation(":", false);
|
|
16990
|
+
const peg$e10 = peg$literalExpectation("bitmark++", false);
|
|
16991
|
+
const peg$e11 = peg$literalExpectation("bitmark--", false);
|
|
16992
|
+
const peg$e12 = peg$literalExpectation("JavaScript", false);
|
|
16993
|
+
const peg$e13 = peg$literalExpectation("\u2022 ", false);
|
|
16994
|
+
const peg$e14 = peg$literalExpectation("\u2022_ ", false);
|
|
16995
|
+
const peg$e15 = peg$literalExpectation("\u2022", false);
|
|
16996
|
+
const peg$e16 = peg$classExpectation([["0", "9"]], false, false, false);
|
|
16997
|
+
const peg$e17 = peg$literalExpectation(" ", false);
|
|
16998
|
+
const peg$e18 = peg$literalExpectation("I ", false);
|
|
16999
|
+
const peg$e19 = peg$literalExpectation("i ", false);
|
|
17000
|
+
const peg$e20 = peg$literalExpectation("\u2022A ", false);
|
|
17001
|
+
const peg$e21 = peg$literalExpectation("\u2022a ", false);
|
|
17002
|
+
const peg$e22 = peg$literalExpectation("\u2022+ ", false);
|
|
17003
|
+
const peg$e23 = peg$literalExpectation("\u2022- ", false);
|
|
17004
17004
|
const peg$e24 = peg$literalExpectation("image", false);
|
|
17005
17005
|
const peg$e25 = peg$literalExpectation("#", false);
|
|
17006
17006
|
const peg$e26 = peg$literalExpectation("@", false);
|
|
@@ -17176,15 +17176,14 @@ function peg$parse(input, options) {
|
|
|
17176
17176
|
function peg$f13(t) {
|
|
17177
17177
|
return t;
|
|
17178
17178
|
}
|
|
17179
|
-
function peg$f14(
|
|
17180
|
-
return
|
|
17179
|
+
function peg$f14(b) {
|
|
17180
|
+
return b;
|
|
17181
17181
|
}
|
|
17182
17182
|
function peg$f15(c, bl) {
|
|
17183
17183
|
return { ...c, content: bl, attrs: {} };
|
|
17184
17184
|
}
|
|
17185
17185
|
function peg$f16(c, bl) {
|
|
17186
|
-
|
|
17187
|
-
return { ...c, attrs: { start }, content: bl };
|
|
17186
|
+
return { ...c, content: bl, attrs: {} };
|
|
17188
17187
|
}
|
|
17189
17188
|
function peg$f17(c, bl) {
|
|
17190
17189
|
let start = bl[0]._tempListStart;
|
|
@@ -17195,7 +17194,8 @@ function peg$parse(input, options) {
|
|
|
17195
17194
|
return { ...c, attrs: { start }, content: bl };
|
|
17196
17195
|
}
|
|
17197
17196
|
function peg$f19(c, bl) {
|
|
17198
|
-
|
|
17197
|
+
let start = bl[0]._tempListStart;
|
|
17198
|
+
return { ...c, attrs: { start }, content: bl };
|
|
17199
17199
|
}
|
|
17200
17200
|
function peg$f20(c, bl) {
|
|
17201
17201
|
return { ...c, content: bl, attrs: {} };
|
|
@@ -17203,34 +17203,41 @@ function peg$parse(input, options) {
|
|
|
17203
17203
|
function peg$f21(c, bl) {
|
|
17204
17204
|
return { ...c, content: bl, attrs: {} };
|
|
17205
17205
|
}
|
|
17206
|
-
function peg$f22() {
|
|
17206
|
+
function peg$f22(c, bl) {
|
|
17207
|
+
return { ...c, content: bl, attrs: {} };
|
|
17208
|
+
}
|
|
17209
|
+
function peg$f23(i) {
|
|
17210
|
+
indentStack = [];
|
|
17211
|
+
indent = i.join("");
|
|
17212
|
+
}
|
|
17213
|
+
function peg$f24() {
|
|
17207
17214
|
return { type: "bulletList" };
|
|
17208
17215
|
}
|
|
17209
|
-
function peg$
|
|
17216
|
+
function peg$f25() {
|
|
17210
17217
|
return { type: "noBulletList" };
|
|
17211
17218
|
}
|
|
17212
|
-
function peg$
|
|
17219
|
+
function peg$f26() {
|
|
17213
17220
|
return { type: "orderedList" };
|
|
17214
17221
|
}
|
|
17215
|
-
function peg$
|
|
17222
|
+
function peg$f27() {
|
|
17216
17223
|
return { type: "orderedListRoman" };
|
|
17217
17224
|
}
|
|
17218
|
-
function peg$
|
|
17225
|
+
function peg$f28() {
|
|
17219
17226
|
return { type: "orderedListRomanLower" };
|
|
17220
17227
|
}
|
|
17221
|
-
function peg$
|
|
17228
|
+
function peg$f29() {
|
|
17222
17229
|
return { type: "letteredList" };
|
|
17223
17230
|
}
|
|
17224
|
-
function peg$
|
|
17231
|
+
function peg$f30() {
|
|
17225
17232
|
return { type: "letteredListLower" };
|
|
17226
17233
|
}
|
|
17227
|
-
function peg$
|
|
17234
|
+
function peg$f31() {
|
|
17228
17235
|
return { type: "taskList" };
|
|
17229
17236
|
}
|
|
17230
|
-
function peg$
|
|
17237
|
+
function peg$f32(lt, listItem, lines, c) {
|
|
17231
17238
|
return c;
|
|
17232
17239
|
}
|
|
17233
|
-
function peg$
|
|
17240
|
+
function peg$f33(lt, listItem, lines, children) {
|
|
17234
17241
|
let _tempParsingParent = "bulletList";
|
|
17235
17242
|
const matchOrdered = lt.match(/•([0-9]+)([Ii]?) /);
|
|
17236
17243
|
let start = 1;
|
|
@@ -17299,36 +17306,36 @@ function peg$parse(input, options) {
|
|
|
17299
17306
|
return { type: t, content, _tempParsingParent, _tempListStart };
|
|
17300
17307
|
}
|
|
17301
17308
|
}
|
|
17302
|
-
function peg$
|
|
17309
|
+
function peg$f34(ll) {
|
|
17303
17310
|
return ll;
|
|
17304
17311
|
}
|
|
17305
|
-
function peg$
|
|
17312
|
+
function peg$f35(i) {
|
|
17306
17313
|
return i.join("") === indent;
|
|
17307
17314
|
}
|
|
17308
|
-
function peg$
|
|
17315
|
+
function peg$f36(i) {
|
|
17309
17316
|
return i.length > indent.length;
|
|
17310
17317
|
}
|
|
17311
|
-
function peg$
|
|
17318
|
+
function peg$f37(i) {
|
|
17312
17319
|
indentStack.push(indent);
|
|
17313
17320
|
indent = i.join("");
|
|
17314
17321
|
}
|
|
17315
|
-
function peg$
|
|
17322
|
+
function peg$f38() {
|
|
17316
17323
|
indent = indentStack.pop();
|
|
17317
17324
|
return true;
|
|
17318
17325
|
}
|
|
17319
|
-
function peg$
|
|
17326
|
+
function peg$f39(body) {
|
|
17320
17327
|
return { type: "paragraph", content: bitmarkPlusString(body.trim()), attrs: {} };
|
|
17321
17328
|
}
|
|
17322
|
-
function peg$
|
|
17329
|
+
function peg$f40(body) {
|
|
17323
17330
|
return { type: "paragraph", content: bitmarkPlusString(body.trim()), attrs: {} };
|
|
17324
17331
|
}
|
|
17325
|
-
function peg$
|
|
17332
|
+
function peg$f41(body) {
|
|
17326
17333
|
return { type: "paragraph", content: bitmarkPlusString(body.trim()), attrs: {} };
|
|
17327
17334
|
}
|
|
17328
|
-
function peg$
|
|
17335
|
+
function peg$f42(t) {
|
|
17329
17336
|
return t;
|
|
17330
17337
|
}
|
|
17331
|
-
function peg$
|
|
17338
|
+
function peg$f43(t, u, ch) {
|
|
17332
17339
|
const chain = Object.assign({}, ...ch);
|
|
17333
17340
|
let imageAlignment_ = chain.alignment || "center";
|
|
17334
17341
|
delete chain.alignment;
|
|
@@ -17357,185 +17364,185 @@ function peg$parse(input, options) {
|
|
|
17357
17364
|
};
|
|
17358
17365
|
return image;
|
|
17359
17366
|
}
|
|
17360
|
-
function peg$
|
|
17367
|
+
function peg$f44(ch) {
|
|
17361
17368
|
return ch;
|
|
17362
17369
|
}
|
|
17363
|
-
function peg$
|
|
17370
|
+
function peg$f45(str) {
|
|
17364
17371
|
return { comment: str.trim() };
|
|
17365
17372
|
}
|
|
17366
|
-
function peg$
|
|
17373
|
+
function peg$f46(p, v) {
|
|
17367
17374
|
return { [p]: parseInt(v) };
|
|
17368
17375
|
}
|
|
17369
|
-
function peg$
|
|
17376
|
+
function peg$f47(p, v) {
|
|
17370
17377
|
return { [p]: v.trim() };
|
|
17371
17378
|
}
|
|
17372
|
-
function peg$
|
|
17379
|
+
function peg$f48(p, v) {
|
|
17373
17380
|
return { [p]: v };
|
|
17374
17381
|
}
|
|
17375
|
-
function peg$
|
|
17382
|
+
function peg$f49(p, v) {
|
|
17376
17383
|
return { [p]: v };
|
|
17377
17384
|
}
|
|
17378
|
-
function peg$
|
|
17385
|
+
function peg$f50(p) {
|
|
17379
17386
|
return { [p]: true };
|
|
17380
17387
|
}
|
|
17381
|
-
function peg$
|
|
17388
|
+
function peg$f51() {
|
|
17382
17389
|
return;
|
|
17383
17390
|
}
|
|
17384
|
-
function peg$
|
|
17391
|
+
function peg$f52(p) {
|
|
17385
17392
|
return { error: "Found unknown property or invalid value: " + p };
|
|
17386
17393
|
}
|
|
17387
|
-
function peg$
|
|
17394
|
+
function peg$f53(bs) {
|
|
17388
17395
|
return [{ type: "paragraph", content: bs, attrs: {} }];
|
|
17389
17396
|
}
|
|
17390
|
-
function peg$
|
|
17397
|
+
function peg$f54(first, more) {
|
|
17391
17398
|
const cleaned_ = cleanEmptyTextNodes(first ? [first, ...more.flat()] : more.flat());
|
|
17392
17399
|
return cleaned_;
|
|
17393
17400
|
}
|
|
17394
|
-
function peg$
|
|
17401
|
+
function peg$f55() {
|
|
17395
17402
|
return { "type": "hardBreak" };
|
|
17396
17403
|
}
|
|
17397
|
-
function peg$
|
|
17404
|
+
function peg$f56(t) {
|
|
17398
17405
|
return { text: unbreakscape(t), type: "text" };
|
|
17399
17406
|
}
|
|
17400
|
-
function peg$
|
|
17407
|
+
function peg$f57(t) {
|
|
17401
17408
|
return { index: +t, type: "bit" };
|
|
17402
17409
|
}
|
|
17403
|
-
function peg$
|
|
17410
|
+
function peg$f58(t) {
|
|
17404
17411
|
return { attrs: { formula: unbreakscape(t) }, type: "latex" };
|
|
17405
17412
|
}
|
|
17406
|
-
function peg$
|
|
17413
|
+
function peg$f59(alt, u, ch) {
|
|
17407
17414
|
return { attrs: { alt, src: (u.pr + u.t).trim(), ...Object.assign({}, ...ch), zoomDisabled: true }, type: "imageInline" };
|
|
17408
17415
|
}
|
|
17409
|
-
function peg$
|
|
17416
|
+
function peg$f60(t, marks) {
|
|
17410
17417
|
if (!marks) marks = [];
|
|
17411
17418
|
return { marks, text: unbreakscape(t), type: "text" };
|
|
17412
17419
|
}
|
|
17413
|
-
function peg$
|
|
17420
|
+
function peg$f61(t) {
|
|
17414
17421
|
return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" };
|
|
17415
17422
|
}
|
|
17416
|
-
function peg$
|
|
17423
|
+
function peg$f62(t) {
|
|
17417
17424
|
return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" };
|
|
17418
17425
|
}
|
|
17419
|
-
function peg$
|
|
17426
|
+
function peg$f63(t) {
|
|
17420
17427
|
return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" };
|
|
17421
17428
|
}
|
|
17422
|
-
function peg$
|
|
17429
|
+
function peg$f64(t) {
|
|
17423
17430
|
return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" };
|
|
17424
17431
|
}
|
|
17425
|
-
function peg$
|
|
17432
|
+
function peg$f65(u) {
|
|
17426
17433
|
return { marks: [{ type: "link", attrs: { href: (u.pr + u.t).trim(), target: "_blank" } }], text: u.t, type: "text" };
|
|
17427
17434
|
}
|
|
17428
|
-
function peg$
|
|
17435
|
+
function peg$f66(ch) {
|
|
17429
17436
|
return ch;
|
|
17430
17437
|
}
|
|
17431
|
-
function peg$
|
|
17438
|
+
function peg$f67(ch) {
|
|
17432
17439
|
return ch;
|
|
17433
17440
|
}
|
|
17434
|
-
function peg$
|
|
17441
|
+
function peg$f68(str) {
|
|
17435
17442
|
return { comment: str };
|
|
17436
17443
|
}
|
|
17437
|
-
function peg$
|
|
17444
|
+
function peg$f69(p, v) {
|
|
17438
17445
|
return { [p]: v };
|
|
17439
17446
|
}
|
|
17440
|
-
function peg$
|
|
17447
|
+
function peg$f70(p, v) {
|
|
17441
17448
|
return { [p]: parseInt(v) };
|
|
17442
17449
|
}
|
|
17443
|
-
function peg$
|
|
17450
|
+
function peg$f71(p, v) {
|
|
17444
17451
|
return { type: "error", msg: p + " must be a positive integer.", found: v };
|
|
17445
17452
|
}
|
|
17446
|
-
function peg$
|
|
17453
|
+
function peg$f72(p, v) {
|
|
17447
17454
|
return { [p]: v };
|
|
17448
17455
|
}
|
|
17449
|
-
function peg$
|
|
17456
|
+
function peg$f73(p, v) {
|
|
17450
17457
|
return { [p]: v };
|
|
17451
17458
|
}
|
|
17452
|
-
function peg$
|
|
17459
|
+
function peg$f74(str) {
|
|
17453
17460
|
return { type: "link", attrs: { href: str.trim(), target: "_blank" } };
|
|
17454
17461
|
}
|
|
17455
|
-
function peg$
|
|
17462
|
+
function peg$f75(str, rc, p) {
|
|
17456
17463
|
return { type: "extref", attrs: { extref: str.trim(), references: rc, provider: p.trim() } };
|
|
17457
17464
|
}
|
|
17458
|
-
function peg$
|
|
17465
|
+
function peg$f76(str, str2) {
|
|
17459
17466
|
return { type: "xref", attrs: { xref: str.trim(), reference: str2.trim() } };
|
|
17460
17467
|
}
|
|
17461
|
-
function peg$
|
|
17468
|
+
function peg$f77(str) {
|
|
17462
17469
|
return { type: "xref", attrs: { xref: str.trim(), reference: "" } };
|
|
17463
17470
|
}
|
|
17464
|
-
function peg$
|
|
17471
|
+
function peg$f78(str) {
|
|
17465
17472
|
return { type: "ref", attrs: { reference: str.trim() } };
|
|
17466
17473
|
}
|
|
17467
|
-
function peg$
|
|
17474
|
+
function peg$f79(str, ch) {
|
|
17468
17475
|
const chain = Object.assign({}, ...ch);
|
|
17469
17476
|
return { type: "symbol", attrs: { src: str.trim(), ...chain } };
|
|
17470
17477
|
}
|
|
17471
|
-
function peg$
|
|
17478
|
+
function peg$f80(str) {
|
|
17472
17479
|
return { type: "footnote", attrs: { content: bitmarkPlusString(str.trim()) } };
|
|
17473
17480
|
}
|
|
17474
|
-
function peg$
|
|
17481
|
+
function peg$f81(str) {
|
|
17475
17482
|
return { type: "footnote*", attrs: { content: bitmarkPlusString(str.trim()) } };
|
|
17476
17483
|
}
|
|
17477
|
-
function peg$
|
|
17484
|
+
function peg$f82(str) {
|
|
17478
17485
|
return { type: "var", attrs: { name: str.trim() } };
|
|
17479
17486
|
}
|
|
17480
|
-
function peg$
|
|
17487
|
+
function peg$f83() {
|
|
17481
17488
|
return { type: "code", attrs: { language: "plain text" } };
|
|
17482
17489
|
}
|
|
17483
|
-
function peg$
|
|
17490
|
+
function peg$f84(lang) {
|
|
17484
17491
|
return { type: "code", attrs: { language: lang.trim().toLowerCase() } };
|
|
17485
17492
|
}
|
|
17486
|
-
function peg$
|
|
17493
|
+
function peg$f85() {
|
|
17487
17494
|
return { type: "timer", attrs: { name: "" } };
|
|
17488
17495
|
}
|
|
17489
|
-
function peg$
|
|
17496
|
+
function peg$f86(str) {
|
|
17490
17497
|
return { type: "timer", attrs: { name: str.trim() } };
|
|
17491
17498
|
}
|
|
17492
|
-
function peg$
|
|
17499
|
+
function peg$f87(str) {
|
|
17493
17500
|
return { type: "duration", attrs: { duration: str } };
|
|
17494
17501
|
}
|
|
17495
|
-
function peg$
|
|
17502
|
+
function peg$f88(color) {
|
|
17496
17503
|
return { type: "color", attrs: { color } };
|
|
17497
17504
|
}
|
|
17498
|
-
function peg$
|
|
17505
|
+
function peg$f89(str) {
|
|
17499
17506
|
return { type: "colorPicker", attrs: { propertyRef: str.trim() } };
|
|
17500
17507
|
}
|
|
17501
|
-
function peg$
|
|
17508
|
+
function peg$f90(style) {
|
|
17502
17509
|
return { type: style };
|
|
17503
17510
|
}
|
|
17504
|
-
function peg$
|
|
17511
|
+
function peg$f91(str) {
|
|
17505
17512
|
return { type: "comment", comment: str };
|
|
17506
17513
|
}
|
|
17507
|
-
function peg$
|
|
17514
|
+
function peg$f92(r) {
|
|
17508
17515
|
return r.trim();
|
|
17509
17516
|
}
|
|
17510
|
-
function peg$
|
|
17517
|
+
function peg$f93(bs) {
|
|
17511
17518
|
return [{ type: "paragraph", content: bs, attrs: {} }];
|
|
17512
17519
|
}
|
|
17513
|
-
function peg$
|
|
17520
|
+
function peg$f94(first, more) {
|
|
17514
17521
|
const cleaned_ = cleanEmptyTextNodes(first ? [first, ...more.flat()] : more.flat());
|
|
17515
17522
|
return cleaned_;
|
|
17516
17523
|
}
|
|
17517
|
-
function peg$
|
|
17524
|
+
function peg$f95() {
|
|
17518
17525
|
return { "type": "hardBreak" };
|
|
17519
17526
|
}
|
|
17520
|
-
function peg$
|
|
17527
|
+
function peg$f96(t) {
|
|
17521
17528
|
return { text: unbreakscape(t), type: "text" };
|
|
17522
17529
|
}
|
|
17523
|
-
function peg$
|
|
17530
|
+
function peg$f97(t) {
|
|
17524
17531
|
return { index: +t, type: "bit" };
|
|
17525
17532
|
}
|
|
17526
|
-
function peg$
|
|
17533
|
+
function peg$f98(t) {
|
|
17527
17534
|
return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" };
|
|
17528
17535
|
}
|
|
17529
|
-
function peg$
|
|
17536
|
+
function peg$f99(t) {
|
|
17530
17537
|
return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" };
|
|
17531
17538
|
}
|
|
17532
|
-
function peg$
|
|
17539
|
+
function peg$f100(t) {
|
|
17533
17540
|
return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" };
|
|
17534
17541
|
}
|
|
17535
|
-
function peg$
|
|
17542
|
+
function peg$f101(t) {
|
|
17536
17543
|
return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" };
|
|
17537
17544
|
}
|
|
17538
|
-
function peg$
|
|
17545
|
+
function peg$f102(pr, t) {
|
|
17539
17546
|
return { pr, t };
|
|
17540
17547
|
}
|
|
17541
17548
|
let peg$currPos = options.peg$currPos | 0;
|
|
@@ -17736,10 +17743,40 @@ function peg$parse(input, options) {
|
|
|
17736
17743
|
return s0;
|
|
17737
17744
|
}
|
|
17738
17745
|
function peg$parseBlockStart() {
|
|
17739
|
-
let s0;
|
|
17746
|
+
let s0, s1, s2;
|
|
17740
17747
|
s0 = peg$parseTitleTags();
|
|
17741
17748
|
if (s0 === peg$FAILED) {
|
|
17742
|
-
s0 = peg$
|
|
17749
|
+
s0 = peg$currPos;
|
|
17750
|
+
s1 = [];
|
|
17751
|
+
if (input.charCodeAt(peg$currPos) === 9) {
|
|
17752
|
+
s2 = peg$c0;
|
|
17753
|
+
peg$currPos++;
|
|
17754
|
+
} else {
|
|
17755
|
+
s2 = peg$FAILED;
|
|
17756
|
+
if (peg$silentFails === 0) {
|
|
17757
|
+
peg$fail(peg$e2);
|
|
17758
|
+
}
|
|
17759
|
+
}
|
|
17760
|
+
while (s2 !== peg$FAILED) {
|
|
17761
|
+
s1.push(s2);
|
|
17762
|
+
if (input.charCodeAt(peg$currPos) === 9) {
|
|
17763
|
+
s2 = peg$c0;
|
|
17764
|
+
peg$currPos++;
|
|
17765
|
+
} else {
|
|
17766
|
+
s2 = peg$FAILED;
|
|
17767
|
+
if (peg$silentFails === 0) {
|
|
17768
|
+
peg$fail(peg$e2);
|
|
17769
|
+
}
|
|
17770
|
+
}
|
|
17771
|
+
}
|
|
17772
|
+
s2 = peg$parseListTags();
|
|
17773
|
+
if (s2 !== peg$FAILED) {
|
|
17774
|
+
s1 = [s1, s2];
|
|
17775
|
+
s0 = s1;
|
|
17776
|
+
} else {
|
|
17777
|
+
peg$currPos = s0;
|
|
17778
|
+
s0 = peg$FAILED;
|
|
17779
|
+
}
|
|
17743
17780
|
if (s0 === peg$FAILED) {
|
|
17744
17781
|
s0 = peg$parseImageBlock();
|
|
17745
17782
|
if (s0 === peg$FAILED) {
|
|
@@ -17755,12 +17792,12 @@ function peg$parse(input, options) {
|
|
|
17755
17792
|
function peg$parseBlockTag() {
|
|
17756
17793
|
let s0;
|
|
17757
17794
|
if (input.charCodeAt(peg$currPos) === 124) {
|
|
17758
|
-
s0 = peg$
|
|
17795
|
+
s0 = peg$c1;
|
|
17759
17796
|
peg$currPos++;
|
|
17760
17797
|
} else {
|
|
17761
17798
|
s0 = peg$FAILED;
|
|
17762
17799
|
if (peg$silentFails === 0) {
|
|
17763
|
-
peg$fail(peg$
|
|
17800
|
+
peg$fail(peg$e3);
|
|
17764
17801
|
}
|
|
17765
17802
|
}
|
|
17766
17803
|
return s0;
|
|
@@ -17775,33 +17812,33 @@ function peg$parse(input, options) {
|
|
|
17775
17812
|
}
|
|
17776
17813
|
function peg$parseTitleTags() {
|
|
17777
17814
|
let s0;
|
|
17778
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
17779
|
-
s0 = peg$
|
|
17815
|
+
if (input.substr(peg$currPos, 4) === peg$c2) {
|
|
17816
|
+
s0 = peg$c2;
|
|
17780
17817
|
peg$currPos += 4;
|
|
17781
17818
|
} else {
|
|
17782
17819
|
s0 = peg$FAILED;
|
|
17783
17820
|
if (peg$silentFails === 0) {
|
|
17784
|
-
peg$fail(peg$
|
|
17821
|
+
peg$fail(peg$e4);
|
|
17785
17822
|
}
|
|
17786
17823
|
}
|
|
17787
17824
|
if (s0 === peg$FAILED) {
|
|
17788
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
17789
|
-
s0 = peg$
|
|
17825
|
+
if (input.substr(peg$currPos, 3) === peg$c3) {
|
|
17826
|
+
s0 = peg$c3;
|
|
17790
17827
|
peg$currPos += 3;
|
|
17791
17828
|
} else {
|
|
17792
17829
|
s0 = peg$FAILED;
|
|
17793
17830
|
if (peg$silentFails === 0) {
|
|
17794
|
-
peg$fail(peg$
|
|
17831
|
+
peg$fail(peg$e5);
|
|
17795
17832
|
}
|
|
17796
17833
|
}
|
|
17797
17834
|
if (s0 === peg$FAILED) {
|
|
17798
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
17799
|
-
s0 = peg$
|
|
17835
|
+
if (input.substr(peg$currPos, 2) === peg$c4) {
|
|
17836
|
+
s0 = peg$c4;
|
|
17800
17837
|
peg$currPos += 2;
|
|
17801
17838
|
} else {
|
|
17802
17839
|
s0 = peg$FAILED;
|
|
17803
17840
|
if (peg$silentFails === 0) {
|
|
17804
|
-
peg$fail(peg$
|
|
17841
|
+
peg$fail(peg$e6);
|
|
17805
17842
|
}
|
|
17806
17843
|
}
|
|
17807
17844
|
}
|
|
@@ -17840,13 +17877,13 @@ function peg$parse(input, options) {
|
|
|
17840
17877
|
}
|
|
17841
17878
|
function peg$parseCodeType() {
|
|
17842
17879
|
let s0;
|
|
17843
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
17844
|
-
s0 = peg$
|
|
17880
|
+
if (input.substr(peg$currPos, 4) === peg$c5) {
|
|
17881
|
+
s0 = peg$c5;
|
|
17845
17882
|
peg$currPos += 4;
|
|
17846
17883
|
} else {
|
|
17847
17884
|
s0 = peg$FAILED;
|
|
17848
17885
|
if (peg$silentFails === 0) {
|
|
17849
|
-
peg$fail(peg$
|
|
17886
|
+
peg$fail(peg$e7);
|
|
17850
17887
|
}
|
|
17851
17888
|
}
|
|
17852
17889
|
return s0;
|
|
@@ -17896,7 +17933,7 @@ function peg$parse(input, options) {
|
|
|
17896
17933
|
} else {
|
|
17897
17934
|
s5 = peg$FAILED;
|
|
17898
17935
|
if (peg$silentFails === 0) {
|
|
17899
|
-
peg$fail(peg$
|
|
17936
|
+
peg$fail(peg$e8);
|
|
17900
17937
|
}
|
|
17901
17938
|
}
|
|
17902
17939
|
while (s5 !== peg$FAILED) {
|
|
@@ -17907,7 +17944,7 @@ function peg$parse(input, options) {
|
|
|
17907
17944
|
} else {
|
|
17908
17945
|
s5 = peg$FAILED;
|
|
17909
17946
|
if (peg$silentFails === 0) {
|
|
17910
|
-
peg$fail(peg$
|
|
17947
|
+
peg$fail(peg$e8);
|
|
17911
17948
|
}
|
|
17912
17949
|
}
|
|
17913
17950
|
}
|
|
@@ -17939,12 +17976,12 @@ function peg$parse(input, options) {
|
|
|
17939
17976
|
s1 = peg$parseCodeTag();
|
|
17940
17977
|
if (s1 !== peg$FAILED) {
|
|
17941
17978
|
if (input.charCodeAt(peg$currPos) === 58) {
|
|
17942
|
-
s2 = peg$
|
|
17979
|
+
s2 = peg$c6;
|
|
17943
17980
|
peg$currPos++;
|
|
17944
17981
|
} else {
|
|
17945
17982
|
s2 = peg$FAILED;
|
|
17946
17983
|
if (peg$silentFails === 0) {
|
|
17947
|
-
peg$fail(peg$
|
|
17984
|
+
peg$fail(peg$e9);
|
|
17948
17985
|
}
|
|
17949
17986
|
}
|
|
17950
17987
|
if (s2 !== peg$FAILED) {
|
|
@@ -17959,7 +17996,7 @@ function peg$parse(input, options) {
|
|
|
17959
17996
|
} else {
|
|
17960
17997
|
s7 = peg$FAILED;
|
|
17961
17998
|
if (peg$silentFails === 0) {
|
|
17962
|
-
peg$fail(peg$
|
|
17999
|
+
peg$fail(peg$e8);
|
|
17963
18000
|
}
|
|
17964
18001
|
}
|
|
17965
18002
|
while (s7 !== peg$FAILED) {
|
|
@@ -17970,7 +18007,7 @@ function peg$parse(input, options) {
|
|
|
17970
18007
|
} else {
|
|
17971
18008
|
s7 = peg$FAILED;
|
|
17972
18009
|
if (peg$silentFails === 0) {
|
|
17973
|
-
peg$fail(peg$
|
|
18010
|
+
peg$fail(peg$e8);
|
|
17974
18011
|
}
|
|
17975
18012
|
}
|
|
17976
18013
|
}
|
|
@@ -18010,33 +18047,33 @@ function peg$parse(input, options) {
|
|
|
18010
18047
|
}
|
|
18011
18048
|
function peg$parseCodeLanguage() {
|
|
18012
18049
|
let s0, s1, s2;
|
|
18013
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
18014
|
-
s0 = peg$
|
|
18050
|
+
if (input.substr(peg$currPos, 9) === peg$c7) {
|
|
18051
|
+
s0 = peg$c7;
|
|
18015
18052
|
peg$currPos += 9;
|
|
18016
18053
|
} else {
|
|
18017
18054
|
s0 = peg$FAILED;
|
|
18018
18055
|
if (peg$silentFails === 0) {
|
|
18019
|
-
peg$fail(peg$
|
|
18056
|
+
peg$fail(peg$e10);
|
|
18020
18057
|
}
|
|
18021
18058
|
}
|
|
18022
18059
|
if (s0 === peg$FAILED) {
|
|
18023
|
-
if (input.substr(peg$currPos, 9) === peg$
|
|
18024
|
-
s0 = peg$
|
|
18060
|
+
if (input.substr(peg$currPos, 9) === peg$c8) {
|
|
18061
|
+
s0 = peg$c8;
|
|
18025
18062
|
peg$currPos += 9;
|
|
18026
18063
|
} else {
|
|
18027
18064
|
s0 = peg$FAILED;
|
|
18028
18065
|
if (peg$silentFails === 0) {
|
|
18029
|
-
peg$fail(peg$
|
|
18066
|
+
peg$fail(peg$e11);
|
|
18030
18067
|
}
|
|
18031
18068
|
}
|
|
18032
18069
|
if (s0 === peg$FAILED) {
|
|
18033
|
-
if (input.substr(peg$currPos, 10) === peg$
|
|
18034
|
-
s0 = peg$
|
|
18070
|
+
if (input.substr(peg$currPos, 10) === peg$c9) {
|
|
18071
|
+
s0 = peg$c9;
|
|
18035
18072
|
peg$currPos += 10;
|
|
18036
18073
|
} else {
|
|
18037
18074
|
s0 = peg$FAILED;
|
|
18038
18075
|
if (peg$silentFails === 0) {
|
|
18039
|
-
peg$fail(peg$
|
|
18076
|
+
peg$fail(peg$e12);
|
|
18040
18077
|
}
|
|
18041
18078
|
}
|
|
18042
18079
|
if (s0 === peg$FAILED) {
|
|
@@ -18140,26 +18177,26 @@ function peg$parse(input, options) {
|
|
|
18140
18177
|
}
|
|
18141
18178
|
function peg$parseBulletListTag() {
|
|
18142
18179
|
let s0;
|
|
18143
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
18144
|
-
s0 = peg$
|
|
18180
|
+
if (input.substr(peg$currPos, 2) === peg$c10) {
|
|
18181
|
+
s0 = peg$c10;
|
|
18145
18182
|
peg$currPos += 2;
|
|
18146
18183
|
} else {
|
|
18147
18184
|
s0 = peg$FAILED;
|
|
18148
18185
|
if (peg$silentFails === 0) {
|
|
18149
|
-
peg$fail(peg$
|
|
18186
|
+
peg$fail(peg$e13);
|
|
18150
18187
|
}
|
|
18151
18188
|
}
|
|
18152
18189
|
return s0;
|
|
18153
18190
|
}
|
|
18154
18191
|
function peg$parseNoBulletListTag() {
|
|
18155
18192
|
let s0;
|
|
18156
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
18157
|
-
s0 = peg$
|
|
18193
|
+
if (input.substr(peg$currPos, 3) === peg$c11) {
|
|
18194
|
+
s0 = peg$c11;
|
|
18158
18195
|
peg$currPos += 3;
|
|
18159
18196
|
} else {
|
|
18160
18197
|
s0 = peg$FAILED;
|
|
18161
18198
|
if (peg$silentFails === 0) {
|
|
18162
|
-
peg$fail(peg$
|
|
18199
|
+
peg$fail(peg$e14);
|
|
18163
18200
|
}
|
|
18164
18201
|
}
|
|
18165
18202
|
return s0;
|
|
@@ -18169,12 +18206,12 @@ function peg$parse(input, options) {
|
|
|
18169
18206
|
s0 = peg$currPos;
|
|
18170
18207
|
s1 = peg$currPos;
|
|
18171
18208
|
if (input.charCodeAt(peg$currPos) === 8226) {
|
|
18172
|
-
s2 = peg$
|
|
18209
|
+
s2 = peg$c12;
|
|
18173
18210
|
peg$currPos++;
|
|
18174
18211
|
} else {
|
|
18175
18212
|
s2 = peg$FAILED;
|
|
18176
18213
|
if (peg$silentFails === 0) {
|
|
18177
|
-
peg$fail(peg$
|
|
18214
|
+
peg$fail(peg$e15);
|
|
18178
18215
|
}
|
|
18179
18216
|
}
|
|
18180
18217
|
if (s2 !== peg$FAILED) {
|
|
@@ -18185,7 +18222,7 @@ function peg$parse(input, options) {
|
|
|
18185
18222
|
} else {
|
|
18186
18223
|
s4 = peg$FAILED;
|
|
18187
18224
|
if (peg$silentFails === 0) {
|
|
18188
|
-
peg$fail(peg$
|
|
18225
|
+
peg$fail(peg$e16);
|
|
18189
18226
|
}
|
|
18190
18227
|
}
|
|
18191
18228
|
if (s4 !== peg$FAILED) {
|
|
@@ -18197,7 +18234,7 @@ function peg$parse(input, options) {
|
|
|
18197
18234
|
} else {
|
|
18198
18235
|
s4 = peg$FAILED;
|
|
18199
18236
|
if (peg$silentFails === 0) {
|
|
18200
|
-
peg$fail(peg$
|
|
18237
|
+
peg$fail(peg$e16);
|
|
18201
18238
|
}
|
|
18202
18239
|
}
|
|
18203
18240
|
}
|
|
@@ -18206,12 +18243,12 @@ function peg$parse(input, options) {
|
|
|
18206
18243
|
}
|
|
18207
18244
|
if (s3 !== peg$FAILED) {
|
|
18208
18245
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
18209
|
-
s4 = peg$
|
|
18246
|
+
s4 = peg$c13;
|
|
18210
18247
|
peg$currPos++;
|
|
18211
18248
|
} else {
|
|
18212
18249
|
s4 = peg$FAILED;
|
|
18213
18250
|
if (peg$silentFails === 0) {
|
|
18214
|
-
peg$fail(peg$
|
|
18251
|
+
peg$fail(peg$e17);
|
|
18215
18252
|
}
|
|
18216
18253
|
}
|
|
18217
18254
|
if (s4 !== peg$FAILED) {
|
|
@@ -18241,12 +18278,12 @@ function peg$parse(input, options) {
|
|
|
18241
18278
|
s0 = peg$currPos;
|
|
18242
18279
|
s1 = peg$currPos;
|
|
18243
18280
|
if (input.charCodeAt(peg$currPos) === 8226) {
|
|
18244
|
-
s2 = peg$
|
|
18281
|
+
s2 = peg$c12;
|
|
18245
18282
|
peg$currPos++;
|
|
18246
18283
|
} else {
|
|
18247
18284
|
s2 = peg$FAILED;
|
|
18248
18285
|
if (peg$silentFails === 0) {
|
|
18249
|
-
peg$fail(peg$
|
|
18286
|
+
peg$fail(peg$e15);
|
|
18250
18287
|
}
|
|
18251
18288
|
}
|
|
18252
18289
|
if (s2 !== peg$FAILED) {
|
|
@@ -18257,7 +18294,7 @@ function peg$parse(input, options) {
|
|
|
18257
18294
|
} else {
|
|
18258
18295
|
s4 = peg$FAILED;
|
|
18259
18296
|
if (peg$silentFails === 0) {
|
|
18260
|
-
peg$fail(peg$
|
|
18297
|
+
peg$fail(peg$e16);
|
|
18261
18298
|
}
|
|
18262
18299
|
}
|
|
18263
18300
|
if (s4 !== peg$FAILED) {
|
|
@@ -18269,7 +18306,7 @@ function peg$parse(input, options) {
|
|
|
18269
18306
|
} else {
|
|
18270
18307
|
s4 = peg$FAILED;
|
|
18271
18308
|
if (peg$silentFails === 0) {
|
|
18272
|
-
peg$fail(peg$
|
|
18309
|
+
peg$fail(peg$e16);
|
|
18273
18310
|
}
|
|
18274
18311
|
}
|
|
18275
18312
|
}
|
|
@@ -18277,13 +18314,13 @@ function peg$parse(input, options) {
|
|
|
18277
18314
|
s3 = peg$FAILED;
|
|
18278
18315
|
}
|
|
18279
18316
|
if (s3 !== peg$FAILED) {
|
|
18280
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
18281
|
-
s4 = peg$
|
|
18317
|
+
if (input.substr(peg$currPos, 2) === peg$c14) {
|
|
18318
|
+
s4 = peg$c14;
|
|
18282
18319
|
peg$currPos += 2;
|
|
18283
18320
|
} else {
|
|
18284
18321
|
s4 = peg$FAILED;
|
|
18285
18322
|
if (peg$silentFails === 0) {
|
|
18286
|
-
peg$fail(peg$
|
|
18323
|
+
peg$fail(peg$e18);
|
|
18287
18324
|
}
|
|
18288
18325
|
}
|
|
18289
18326
|
if (s4 !== peg$FAILED) {
|
|
@@ -18313,12 +18350,12 @@ function peg$parse(input, options) {
|
|
|
18313
18350
|
s0 = peg$currPos;
|
|
18314
18351
|
s1 = peg$currPos;
|
|
18315
18352
|
if (input.charCodeAt(peg$currPos) === 8226) {
|
|
18316
|
-
s2 = peg$
|
|
18353
|
+
s2 = peg$c12;
|
|
18317
18354
|
peg$currPos++;
|
|
18318
18355
|
} else {
|
|
18319
18356
|
s2 = peg$FAILED;
|
|
18320
18357
|
if (peg$silentFails === 0) {
|
|
18321
|
-
peg$fail(peg$
|
|
18358
|
+
peg$fail(peg$e15);
|
|
18322
18359
|
}
|
|
18323
18360
|
}
|
|
18324
18361
|
if (s2 !== peg$FAILED) {
|
|
@@ -18329,7 +18366,7 @@ function peg$parse(input, options) {
|
|
|
18329
18366
|
} else {
|
|
18330
18367
|
s4 = peg$FAILED;
|
|
18331
18368
|
if (peg$silentFails === 0) {
|
|
18332
|
-
peg$fail(peg$
|
|
18369
|
+
peg$fail(peg$e16);
|
|
18333
18370
|
}
|
|
18334
18371
|
}
|
|
18335
18372
|
if (s4 !== peg$FAILED) {
|
|
@@ -18341,7 +18378,7 @@ function peg$parse(input, options) {
|
|
|
18341
18378
|
} else {
|
|
18342
18379
|
s4 = peg$FAILED;
|
|
18343
18380
|
if (peg$silentFails === 0) {
|
|
18344
|
-
peg$fail(peg$
|
|
18381
|
+
peg$fail(peg$e16);
|
|
18345
18382
|
}
|
|
18346
18383
|
}
|
|
18347
18384
|
}
|
|
@@ -18349,13 +18386,13 @@ function peg$parse(input, options) {
|
|
|
18349
18386
|
s3 = peg$FAILED;
|
|
18350
18387
|
}
|
|
18351
18388
|
if (s3 !== peg$FAILED) {
|
|
18352
|
-
if (input.substr(peg$currPos, 2) === peg$
|
|
18353
|
-
s4 = peg$
|
|
18389
|
+
if (input.substr(peg$currPos, 2) === peg$c15) {
|
|
18390
|
+
s4 = peg$c15;
|
|
18354
18391
|
peg$currPos += 2;
|
|
18355
18392
|
} else {
|
|
18356
18393
|
s4 = peg$FAILED;
|
|
18357
18394
|
if (peg$silentFails === 0) {
|
|
18358
|
-
peg$fail(peg$
|
|
18395
|
+
peg$fail(peg$e19);
|
|
18359
18396
|
}
|
|
18360
18397
|
}
|
|
18361
18398
|
if (s4 !== peg$FAILED) {
|
|
@@ -18382,49 +18419,49 @@ function peg$parse(input, options) {
|
|
|
18382
18419
|
}
|
|
18383
18420
|
function peg$parseLetteredListTag() {
|
|
18384
18421
|
let s0;
|
|
18385
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
18386
|
-
s0 = peg$
|
|
18422
|
+
if (input.substr(peg$currPos, 3) === peg$c16) {
|
|
18423
|
+
s0 = peg$c16;
|
|
18387
18424
|
peg$currPos += 3;
|
|
18388
18425
|
} else {
|
|
18389
18426
|
s0 = peg$FAILED;
|
|
18390
18427
|
if (peg$silentFails === 0) {
|
|
18391
|
-
peg$fail(peg$
|
|
18428
|
+
peg$fail(peg$e20);
|
|
18392
18429
|
}
|
|
18393
18430
|
}
|
|
18394
18431
|
return s0;
|
|
18395
18432
|
}
|
|
18396
18433
|
function peg$parseLetteredListLowerTag() {
|
|
18397
18434
|
let s0;
|
|
18398
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
18399
|
-
s0 = peg$
|
|
18435
|
+
if (input.substr(peg$currPos, 3) === peg$c17) {
|
|
18436
|
+
s0 = peg$c17;
|
|
18400
18437
|
peg$currPos += 3;
|
|
18401
18438
|
} else {
|
|
18402
18439
|
s0 = peg$FAILED;
|
|
18403
18440
|
if (peg$silentFails === 0) {
|
|
18404
|
-
peg$fail(peg$
|
|
18441
|
+
peg$fail(peg$e21);
|
|
18405
18442
|
}
|
|
18406
18443
|
}
|
|
18407
18444
|
return s0;
|
|
18408
18445
|
}
|
|
18409
18446
|
function peg$parseTaskListTag() {
|
|
18410
18447
|
let s0;
|
|
18411
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
18412
|
-
s0 = peg$
|
|
18448
|
+
if (input.substr(peg$currPos, 3) === peg$c18) {
|
|
18449
|
+
s0 = peg$c18;
|
|
18413
18450
|
peg$currPos += 3;
|
|
18414
18451
|
} else {
|
|
18415
18452
|
s0 = peg$FAILED;
|
|
18416
18453
|
if (peg$silentFails === 0) {
|
|
18417
|
-
peg$fail(peg$
|
|
18454
|
+
peg$fail(peg$e22);
|
|
18418
18455
|
}
|
|
18419
18456
|
}
|
|
18420
18457
|
if (s0 === peg$FAILED) {
|
|
18421
|
-
if (input.substr(peg$currPos, 3) === peg$
|
|
18422
|
-
s0 = peg$
|
|
18458
|
+
if (input.substr(peg$currPos, 3) === peg$c19) {
|
|
18459
|
+
s0 = peg$c19;
|
|
18423
18460
|
peg$currPos += 3;
|
|
18424
18461
|
} else {
|
|
18425
18462
|
s0 = peg$FAILED;
|
|
18426
18463
|
if (peg$silentFails === 0) {
|
|
18427
|
-
peg$fail(peg$
|
|
18464
|
+
peg$fail(peg$e23);
|
|
18428
18465
|
}
|
|
18429
18466
|
}
|
|
18430
18467
|
}
|
|
@@ -18457,6 +18494,24 @@ function peg$parse(input, options) {
|
|
|
18457
18494
|
return s0;
|
|
18458
18495
|
}
|
|
18459
18496
|
function peg$parseListBlock() {
|
|
18497
|
+
let s0, s1, s2;
|
|
18498
|
+
s0 = peg$currPos;
|
|
18499
|
+
s1 = peg$parseListBaseIndent();
|
|
18500
|
+
if (s1 !== peg$FAILED) {
|
|
18501
|
+
s2 = peg$parseListBlockInner();
|
|
18502
|
+
if (s2 !== peg$FAILED) {
|
|
18503
|
+
s0 = peg$f14(s2);
|
|
18504
|
+
} else {
|
|
18505
|
+
peg$currPos = s0;
|
|
18506
|
+
s0 = peg$FAILED;
|
|
18507
|
+
}
|
|
18508
|
+
} else {
|
|
18509
|
+
peg$currPos = s0;
|
|
18510
|
+
s0 = peg$FAILED;
|
|
18511
|
+
}
|
|
18512
|
+
return s0;
|
|
18513
|
+
}
|
|
18514
|
+
function peg$parseListBlockInner() {
|
|
18460
18515
|
let s0, s1, s2, s3;
|
|
18461
18516
|
s0 = peg$currPos;
|
|
18462
18517
|
s1 = peg$parseBulletListContainer();
|
|
@@ -18476,7 +18531,7 @@ function peg$parse(input, options) {
|
|
|
18476
18531
|
if (s3 === peg$FAILED) {
|
|
18477
18532
|
s3 = null;
|
|
18478
18533
|
}
|
|
18479
|
-
s0 = peg$
|
|
18534
|
+
s0 = peg$f15(s1, s2);
|
|
18480
18535
|
} else {
|
|
18481
18536
|
peg$currPos = s0;
|
|
18482
18537
|
s0 = peg$FAILED;
|
|
@@ -18504,7 +18559,7 @@ function peg$parse(input, options) {
|
|
|
18504
18559
|
if (s3 === peg$FAILED) {
|
|
18505
18560
|
s3 = null;
|
|
18506
18561
|
}
|
|
18507
|
-
s0 = peg$
|
|
18562
|
+
s0 = peg$f16(s1, s2);
|
|
18508
18563
|
} else {
|
|
18509
18564
|
peg$currPos = s0;
|
|
18510
18565
|
s0 = peg$FAILED;
|
|
@@ -18532,7 +18587,7 @@ function peg$parse(input, options) {
|
|
|
18532
18587
|
if (s3 === peg$FAILED) {
|
|
18533
18588
|
s3 = null;
|
|
18534
18589
|
}
|
|
18535
|
-
s0 = peg$
|
|
18590
|
+
s0 = peg$f17(s1, s2);
|
|
18536
18591
|
} else {
|
|
18537
18592
|
peg$currPos = s0;
|
|
18538
18593
|
s0 = peg$FAILED;
|
|
@@ -18560,7 +18615,7 @@ function peg$parse(input, options) {
|
|
|
18560
18615
|
if (s3 === peg$FAILED) {
|
|
18561
18616
|
s3 = null;
|
|
18562
18617
|
}
|
|
18563
|
-
s0 = peg$
|
|
18618
|
+
s0 = peg$f18(s1, s2);
|
|
18564
18619
|
} else {
|
|
18565
18620
|
peg$currPos = s0;
|
|
18566
18621
|
s0 = peg$FAILED;
|
|
@@ -18588,7 +18643,7 @@ function peg$parse(input, options) {
|
|
|
18588
18643
|
if (s3 === peg$FAILED) {
|
|
18589
18644
|
s3 = null;
|
|
18590
18645
|
}
|
|
18591
|
-
s0 = peg$
|
|
18646
|
+
s0 = peg$f19(s1, s2);
|
|
18592
18647
|
} else {
|
|
18593
18648
|
peg$currPos = s0;
|
|
18594
18649
|
s0 = peg$FAILED;
|
|
@@ -18616,7 +18671,7 @@ function peg$parse(input, options) {
|
|
|
18616
18671
|
if (s3 === peg$FAILED) {
|
|
18617
18672
|
s3 = null;
|
|
18618
18673
|
}
|
|
18619
|
-
s0 = peg$
|
|
18674
|
+
s0 = peg$f20(s1, s2);
|
|
18620
18675
|
} else {
|
|
18621
18676
|
peg$currPos = s0;
|
|
18622
18677
|
s0 = peg$FAILED;
|
|
@@ -18644,7 +18699,7 @@ function peg$parse(input, options) {
|
|
|
18644
18699
|
if (s3 === peg$FAILED) {
|
|
18645
18700
|
s3 = null;
|
|
18646
18701
|
}
|
|
18647
|
-
s0 = peg$
|
|
18702
|
+
s0 = peg$f21(s1, s2);
|
|
18648
18703
|
} else {
|
|
18649
18704
|
peg$currPos = s0;
|
|
18650
18705
|
s0 = peg$FAILED;
|
|
@@ -18672,7 +18727,7 @@ function peg$parse(input, options) {
|
|
|
18672
18727
|
if (s3 === peg$FAILED) {
|
|
18673
18728
|
s3 = null;
|
|
18674
18729
|
}
|
|
18675
|
-
s0 = peg$
|
|
18730
|
+
s0 = peg$f22(s1, s2);
|
|
18676
18731
|
} else {
|
|
18677
18732
|
peg$currPos = s0;
|
|
18678
18733
|
s0 = peg$FAILED;
|
|
@@ -18690,12 +18745,69 @@ function peg$parse(input, options) {
|
|
|
18690
18745
|
}
|
|
18691
18746
|
return s0;
|
|
18692
18747
|
}
|
|
18748
|
+
function peg$parseListBaseIndent() {
|
|
18749
|
+
let s0, s1, s2, s3;
|
|
18750
|
+
s0 = peg$currPos;
|
|
18751
|
+
peg$silentFails++;
|
|
18752
|
+
s1 = peg$currPos;
|
|
18753
|
+
s2 = [];
|
|
18754
|
+
if (input.charCodeAt(peg$currPos) === 9) {
|
|
18755
|
+
s3 = peg$c0;
|
|
18756
|
+
peg$currPos++;
|
|
18757
|
+
} else {
|
|
18758
|
+
s3 = peg$FAILED;
|
|
18759
|
+
if (peg$silentFails === 0) {
|
|
18760
|
+
peg$fail(peg$e2);
|
|
18761
|
+
}
|
|
18762
|
+
}
|
|
18763
|
+
while (s3 !== peg$FAILED) {
|
|
18764
|
+
s2.push(s3);
|
|
18765
|
+
if (input.charCodeAt(peg$currPos) === 9) {
|
|
18766
|
+
s3 = peg$c0;
|
|
18767
|
+
peg$currPos++;
|
|
18768
|
+
} else {
|
|
18769
|
+
s3 = peg$FAILED;
|
|
18770
|
+
if (peg$silentFails === 0) {
|
|
18771
|
+
peg$fail(peg$e2);
|
|
18772
|
+
}
|
|
18773
|
+
}
|
|
18774
|
+
}
|
|
18775
|
+
s3 = peg$parseListTags();
|
|
18776
|
+
if (s3 !== peg$FAILED) {
|
|
18777
|
+
s1 = peg$f23(s2);
|
|
18778
|
+
} else {
|
|
18779
|
+
peg$currPos = s1;
|
|
18780
|
+
s1 = peg$FAILED;
|
|
18781
|
+
}
|
|
18782
|
+
peg$silentFails--;
|
|
18783
|
+
if (s1 !== peg$FAILED) {
|
|
18784
|
+
peg$currPos = s0;
|
|
18785
|
+
s0 = void 0;
|
|
18786
|
+
} else {
|
|
18787
|
+
s0 = peg$FAILED;
|
|
18788
|
+
}
|
|
18789
|
+
return s0;
|
|
18790
|
+
}
|
|
18693
18791
|
function peg$parseBulletListContainer() {
|
|
18694
|
-
let s0, s1, s2;
|
|
18792
|
+
let s0, s1, s2, s3, s4;
|
|
18695
18793
|
s0 = peg$currPos;
|
|
18696
18794
|
s1 = peg$currPos;
|
|
18697
18795
|
peg$silentFails++;
|
|
18698
|
-
s2 = peg$
|
|
18796
|
+
s2 = peg$currPos;
|
|
18797
|
+
s3 = peg$parseSAMEDENT();
|
|
18798
|
+
if (s3 !== peg$FAILED) {
|
|
18799
|
+
s4 = peg$parseBulletListTag();
|
|
18800
|
+
if (s4 !== peg$FAILED) {
|
|
18801
|
+
s3 = [s3, s4];
|
|
18802
|
+
s2 = s3;
|
|
18803
|
+
} else {
|
|
18804
|
+
peg$currPos = s2;
|
|
18805
|
+
s2 = peg$FAILED;
|
|
18806
|
+
}
|
|
18807
|
+
} else {
|
|
18808
|
+
peg$currPos = s2;
|
|
18809
|
+
s2 = peg$FAILED;
|
|
18810
|
+
}
|
|
18699
18811
|
peg$silentFails--;
|
|
18700
18812
|
if (s2 !== peg$FAILED) {
|
|
18701
18813
|
peg$currPos = s1;
|
|
@@ -18704,17 +18816,31 @@ function peg$parse(input, options) {
|
|
|
18704
18816
|
s1 = peg$FAILED;
|
|
18705
18817
|
}
|
|
18706
18818
|
if (s1 !== peg$FAILED) {
|
|
18707
|
-
s1 = peg$
|
|
18819
|
+
s1 = peg$f24();
|
|
18708
18820
|
}
|
|
18709
18821
|
s0 = s1;
|
|
18710
18822
|
return s0;
|
|
18711
18823
|
}
|
|
18712
18824
|
function peg$parseNoBulletListContainer() {
|
|
18713
|
-
let s0, s1, s2;
|
|
18825
|
+
let s0, s1, s2, s3, s4;
|
|
18714
18826
|
s0 = peg$currPos;
|
|
18715
18827
|
s1 = peg$currPos;
|
|
18716
18828
|
peg$silentFails++;
|
|
18717
|
-
s2 = peg$
|
|
18829
|
+
s2 = peg$currPos;
|
|
18830
|
+
s3 = peg$parseSAMEDENT();
|
|
18831
|
+
if (s3 !== peg$FAILED) {
|
|
18832
|
+
s4 = peg$parseNoBulletListTag();
|
|
18833
|
+
if (s4 !== peg$FAILED) {
|
|
18834
|
+
s3 = [s3, s4];
|
|
18835
|
+
s2 = s3;
|
|
18836
|
+
} else {
|
|
18837
|
+
peg$currPos = s2;
|
|
18838
|
+
s2 = peg$FAILED;
|
|
18839
|
+
}
|
|
18840
|
+
} else {
|
|
18841
|
+
peg$currPos = s2;
|
|
18842
|
+
s2 = peg$FAILED;
|
|
18843
|
+
}
|
|
18718
18844
|
peg$silentFails--;
|
|
18719
18845
|
if (s2 !== peg$FAILED) {
|
|
18720
18846
|
peg$currPos = s1;
|
|
@@ -18723,17 +18849,31 @@ function peg$parse(input, options) {
|
|
|
18723
18849
|
s1 = peg$FAILED;
|
|
18724
18850
|
}
|
|
18725
18851
|
if (s1 !== peg$FAILED) {
|
|
18726
|
-
s1 = peg$
|
|
18852
|
+
s1 = peg$f25();
|
|
18727
18853
|
}
|
|
18728
18854
|
s0 = s1;
|
|
18729
18855
|
return s0;
|
|
18730
18856
|
}
|
|
18731
18857
|
function peg$parseOrderedListContainer() {
|
|
18732
|
-
let s0, s1, s2;
|
|
18858
|
+
let s0, s1, s2, s3, s4;
|
|
18733
18859
|
s0 = peg$currPos;
|
|
18734
18860
|
s1 = peg$currPos;
|
|
18735
18861
|
peg$silentFails++;
|
|
18736
|
-
s2 = peg$
|
|
18862
|
+
s2 = peg$currPos;
|
|
18863
|
+
s3 = peg$parseSAMEDENT();
|
|
18864
|
+
if (s3 !== peg$FAILED) {
|
|
18865
|
+
s4 = peg$parseOrderedListTag();
|
|
18866
|
+
if (s4 !== peg$FAILED) {
|
|
18867
|
+
s3 = [s3, s4];
|
|
18868
|
+
s2 = s3;
|
|
18869
|
+
} else {
|
|
18870
|
+
peg$currPos = s2;
|
|
18871
|
+
s2 = peg$FAILED;
|
|
18872
|
+
}
|
|
18873
|
+
} else {
|
|
18874
|
+
peg$currPos = s2;
|
|
18875
|
+
s2 = peg$FAILED;
|
|
18876
|
+
}
|
|
18737
18877
|
peg$silentFails--;
|
|
18738
18878
|
if (s2 !== peg$FAILED) {
|
|
18739
18879
|
peg$currPos = s1;
|
|
@@ -18742,17 +18882,31 @@ function peg$parse(input, options) {
|
|
|
18742
18882
|
s1 = peg$FAILED;
|
|
18743
18883
|
}
|
|
18744
18884
|
if (s1 !== peg$FAILED) {
|
|
18745
|
-
s1 = peg$
|
|
18885
|
+
s1 = peg$f26();
|
|
18746
18886
|
}
|
|
18747
18887
|
s0 = s1;
|
|
18748
18888
|
return s0;
|
|
18749
18889
|
}
|
|
18750
18890
|
function peg$parseOrderedListRomanContainer() {
|
|
18751
|
-
let s0, s1, s2;
|
|
18891
|
+
let s0, s1, s2, s3, s4;
|
|
18752
18892
|
s0 = peg$currPos;
|
|
18753
18893
|
s1 = peg$currPos;
|
|
18754
18894
|
peg$silentFails++;
|
|
18755
|
-
s2 = peg$
|
|
18895
|
+
s2 = peg$currPos;
|
|
18896
|
+
s3 = peg$parseSAMEDENT();
|
|
18897
|
+
if (s3 !== peg$FAILED) {
|
|
18898
|
+
s4 = peg$parseOrderedListRomanTag();
|
|
18899
|
+
if (s4 !== peg$FAILED) {
|
|
18900
|
+
s3 = [s3, s4];
|
|
18901
|
+
s2 = s3;
|
|
18902
|
+
} else {
|
|
18903
|
+
peg$currPos = s2;
|
|
18904
|
+
s2 = peg$FAILED;
|
|
18905
|
+
}
|
|
18906
|
+
} else {
|
|
18907
|
+
peg$currPos = s2;
|
|
18908
|
+
s2 = peg$FAILED;
|
|
18909
|
+
}
|
|
18756
18910
|
peg$silentFails--;
|
|
18757
18911
|
if (s2 !== peg$FAILED) {
|
|
18758
18912
|
peg$currPos = s1;
|
|
@@ -18761,17 +18915,31 @@ function peg$parse(input, options) {
|
|
|
18761
18915
|
s1 = peg$FAILED;
|
|
18762
18916
|
}
|
|
18763
18917
|
if (s1 !== peg$FAILED) {
|
|
18764
|
-
s1 = peg$
|
|
18918
|
+
s1 = peg$f27();
|
|
18765
18919
|
}
|
|
18766
18920
|
s0 = s1;
|
|
18767
18921
|
return s0;
|
|
18768
18922
|
}
|
|
18769
18923
|
function peg$parseOrderedListRomanLowerContainer() {
|
|
18770
|
-
let s0, s1, s2;
|
|
18924
|
+
let s0, s1, s2, s3, s4;
|
|
18771
18925
|
s0 = peg$currPos;
|
|
18772
18926
|
s1 = peg$currPos;
|
|
18773
18927
|
peg$silentFails++;
|
|
18774
|
-
s2 = peg$
|
|
18928
|
+
s2 = peg$currPos;
|
|
18929
|
+
s3 = peg$parseSAMEDENT();
|
|
18930
|
+
if (s3 !== peg$FAILED) {
|
|
18931
|
+
s4 = peg$parseOrderedListRomanLowerTag();
|
|
18932
|
+
if (s4 !== peg$FAILED) {
|
|
18933
|
+
s3 = [s3, s4];
|
|
18934
|
+
s2 = s3;
|
|
18935
|
+
} else {
|
|
18936
|
+
peg$currPos = s2;
|
|
18937
|
+
s2 = peg$FAILED;
|
|
18938
|
+
}
|
|
18939
|
+
} else {
|
|
18940
|
+
peg$currPos = s2;
|
|
18941
|
+
s2 = peg$FAILED;
|
|
18942
|
+
}
|
|
18775
18943
|
peg$silentFails--;
|
|
18776
18944
|
if (s2 !== peg$FAILED) {
|
|
18777
18945
|
peg$currPos = s1;
|
|
@@ -18780,17 +18948,31 @@ function peg$parse(input, options) {
|
|
|
18780
18948
|
s1 = peg$FAILED;
|
|
18781
18949
|
}
|
|
18782
18950
|
if (s1 !== peg$FAILED) {
|
|
18783
|
-
s1 = peg$
|
|
18951
|
+
s1 = peg$f28();
|
|
18784
18952
|
}
|
|
18785
18953
|
s0 = s1;
|
|
18786
18954
|
return s0;
|
|
18787
18955
|
}
|
|
18788
18956
|
function peg$parseLetteredListContainer() {
|
|
18789
|
-
let s0, s1, s2;
|
|
18957
|
+
let s0, s1, s2, s3, s4;
|
|
18790
18958
|
s0 = peg$currPos;
|
|
18791
18959
|
s1 = peg$currPos;
|
|
18792
18960
|
peg$silentFails++;
|
|
18793
|
-
s2 = peg$
|
|
18961
|
+
s2 = peg$currPos;
|
|
18962
|
+
s3 = peg$parseSAMEDENT();
|
|
18963
|
+
if (s3 !== peg$FAILED) {
|
|
18964
|
+
s4 = peg$parseLetteredListTag();
|
|
18965
|
+
if (s4 !== peg$FAILED) {
|
|
18966
|
+
s3 = [s3, s4];
|
|
18967
|
+
s2 = s3;
|
|
18968
|
+
} else {
|
|
18969
|
+
peg$currPos = s2;
|
|
18970
|
+
s2 = peg$FAILED;
|
|
18971
|
+
}
|
|
18972
|
+
} else {
|
|
18973
|
+
peg$currPos = s2;
|
|
18974
|
+
s2 = peg$FAILED;
|
|
18975
|
+
}
|
|
18794
18976
|
peg$silentFails--;
|
|
18795
18977
|
if (s2 !== peg$FAILED) {
|
|
18796
18978
|
peg$currPos = s1;
|
|
@@ -18799,17 +18981,31 @@ function peg$parse(input, options) {
|
|
|
18799
18981
|
s1 = peg$FAILED;
|
|
18800
18982
|
}
|
|
18801
18983
|
if (s1 !== peg$FAILED) {
|
|
18802
|
-
s1 = peg$
|
|
18984
|
+
s1 = peg$f29();
|
|
18803
18985
|
}
|
|
18804
18986
|
s0 = s1;
|
|
18805
18987
|
return s0;
|
|
18806
18988
|
}
|
|
18807
18989
|
function peg$parseLetteredListLowerContainer() {
|
|
18808
|
-
let s0, s1, s2;
|
|
18990
|
+
let s0, s1, s2, s3, s4;
|
|
18809
18991
|
s0 = peg$currPos;
|
|
18810
18992
|
s1 = peg$currPos;
|
|
18811
18993
|
peg$silentFails++;
|
|
18812
|
-
s2 = peg$
|
|
18994
|
+
s2 = peg$currPos;
|
|
18995
|
+
s3 = peg$parseSAMEDENT();
|
|
18996
|
+
if (s3 !== peg$FAILED) {
|
|
18997
|
+
s4 = peg$parseLetteredListLowerTag();
|
|
18998
|
+
if (s4 !== peg$FAILED) {
|
|
18999
|
+
s3 = [s3, s4];
|
|
19000
|
+
s2 = s3;
|
|
19001
|
+
} else {
|
|
19002
|
+
peg$currPos = s2;
|
|
19003
|
+
s2 = peg$FAILED;
|
|
19004
|
+
}
|
|
19005
|
+
} else {
|
|
19006
|
+
peg$currPos = s2;
|
|
19007
|
+
s2 = peg$FAILED;
|
|
19008
|
+
}
|
|
18813
19009
|
peg$silentFails--;
|
|
18814
19010
|
if (s2 !== peg$FAILED) {
|
|
18815
19011
|
peg$currPos = s1;
|
|
@@ -18818,17 +19014,31 @@ function peg$parse(input, options) {
|
|
|
18818
19014
|
s1 = peg$FAILED;
|
|
18819
19015
|
}
|
|
18820
19016
|
if (s1 !== peg$FAILED) {
|
|
18821
|
-
s1 = peg$
|
|
19017
|
+
s1 = peg$f30();
|
|
18822
19018
|
}
|
|
18823
19019
|
s0 = s1;
|
|
18824
19020
|
return s0;
|
|
18825
19021
|
}
|
|
18826
19022
|
function peg$parseTaskListContainer() {
|
|
18827
|
-
let s0, s1, s2;
|
|
19023
|
+
let s0, s1, s2, s3, s4;
|
|
18828
19024
|
s0 = peg$currPos;
|
|
18829
19025
|
s1 = peg$currPos;
|
|
18830
19026
|
peg$silentFails++;
|
|
18831
|
-
s2 = peg$
|
|
19027
|
+
s2 = peg$currPos;
|
|
19028
|
+
s3 = peg$parseSAMEDENT();
|
|
19029
|
+
if (s3 !== peg$FAILED) {
|
|
19030
|
+
s4 = peg$parseTaskListTag();
|
|
19031
|
+
if (s4 !== peg$FAILED) {
|
|
19032
|
+
s3 = [s3, s4];
|
|
19033
|
+
s2 = s3;
|
|
19034
|
+
} else {
|
|
19035
|
+
peg$currPos = s2;
|
|
19036
|
+
s2 = peg$FAILED;
|
|
19037
|
+
}
|
|
19038
|
+
} else {
|
|
19039
|
+
peg$currPos = s2;
|
|
19040
|
+
s2 = peg$FAILED;
|
|
19041
|
+
}
|
|
18832
19042
|
peg$silentFails--;
|
|
18833
19043
|
if (s2 !== peg$FAILED) {
|
|
18834
19044
|
peg$currPos = s1;
|
|
@@ -18837,7 +19047,7 @@ function peg$parse(input, options) {
|
|
|
18837
19047
|
s1 = peg$FAILED;
|
|
18838
19048
|
}
|
|
18839
19049
|
if (s1 !== peg$FAILED) {
|
|
18840
|
-
s1 = peg$
|
|
19050
|
+
s1 = peg$f31();
|
|
18841
19051
|
}
|
|
18842
19052
|
s0 = s1;
|
|
18843
19053
|
return s0;
|
|
@@ -18943,7 +19153,7 @@ function peg$parse(input, options) {
|
|
|
18943
19153
|
}
|
|
18944
19154
|
s8 = peg$parseDEDENT();
|
|
18945
19155
|
if (s8 !== peg$FAILED) {
|
|
18946
|
-
s5 = peg$
|
|
19156
|
+
s5 = peg$f32(s2, s3, s4, s7);
|
|
18947
19157
|
} else {
|
|
18948
19158
|
peg$currPos = s5;
|
|
18949
19159
|
s5 = peg$FAILED;
|
|
@@ -18955,7 +19165,7 @@ function peg$parse(input, options) {
|
|
|
18955
19165
|
if (s5 === peg$FAILED) {
|
|
18956
19166
|
s5 = null;
|
|
18957
19167
|
}
|
|
18958
|
-
s0 = peg$
|
|
19168
|
+
s0 = peg$f33(s2, s3, s4, s5);
|
|
18959
19169
|
} else {
|
|
18960
19170
|
peg$currPos = s0;
|
|
18961
19171
|
s0 = peg$FAILED;
|
|
@@ -19086,7 +19296,7 @@ function peg$parse(input, options) {
|
|
|
19086
19296
|
s4 = s5;
|
|
19087
19297
|
}
|
|
19088
19298
|
if (s4 !== peg$FAILED) {
|
|
19089
|
-
s0 = peg$
|
|
19299
|
+
s0 = peg$f34(s4);
|
|
19090
19300
|
} else {
|
|
19091
19301
|
peg$currPos = s0;
|
|
19092
19302
|
s0 = peg$FAILED;
|
|
@@ -19115,7 +19325,7 @@ function peg$parse(input, options) {
|
|
|
19115
19325
|
} else {
|
|
19116
19326
|
s2 = peg$FAILED;
|
|
19117
19327
|
if (peg$silentFails === 0) {
|
|
19118
|
-
peg$fail(peg$
|
|
19328
|
+
peg$fail(peg$e8);
|
|
19119
19329
|
}
|
|
19120
19330
|
}
|
|
19121
19331
|
while (s2 !== peg$FAILED) {
|
|
@@ -19126,7 +19336,7 @@ function peg$parse(input, options) {
|
|
|
19126
19336
|
} else {
|
|
19127
19337
|
s2 = peg$FAILED;
|
|
19128
19338
|
if (peg$silentFails === 0) {
|
|
19129
|
-
peg$fail(peg$
|
|
19339
|
+
peg$fail(peg$e8);
|
|
19130
19340
|
}
|
|
19131
19341
|
}
|
|
19132
19342
|
}
|
|
@@ -19145,27 +19355,27 @@ function peg$parse(input, options) {
|
|
|
19145
19355
|
s0 = peg$currPos;
|
|
19146
19356
|
s1 = [];
|
|
19147
19357
|
if (input.charCodeAt(peg$currPos) === 9) {
|
|
19148
|
-
s2 = peg$
|
|
19358
|
+
s2 = peg$c0;
|
|
19149
19359
|
peg$currPos++;
|
|
19150
19360
|
} else {
|
|
19151
19361
|
s2 = peg$FAILED;
|
|
19152
19362
|
if (peg$silentFails === 0) {
|
|
19153
|
-
peg$fail(peg$
|
|
19363
|
+
peg$fail(peg$e2);
|
|
19154
19364
|
}
|
|
19155
19365
|
}
|
|
19156
19366
|
while (s2 !== peg$FAILED) {
|
|
19157
19367
|
s1.push(s2);
|
|
19158
19368
|
if (input.charCodeAt(peg$currPos) === 9) {
|
|
19159
|
-
s2 = peg$
|
|
19369
|
+
s2 = peg$c0;
|
|
19160
19370
|
peg$currPos++;
|
|
19161
19371
|
} else {
|
|
19162
19372
|
s2 = peg$FAILED;
|
|
19163
19373
|
if (peg$silentFails === 0) {
|
|
19164
|
-
peg$fail(peg$
|
|
19374
|
+
peg$fail(peg$e2);
|
|
19165
19375
|
}
|
|
19166
19376
|
}
|
|
19167
19377
|
}
|
|
19168
|
-
s2 = peg$
|
|
19378
|
+
s2 = peg$f35(s1);
|
|
19169
19379
|
if (s2) {
|
|
19170
19380
|
s2 = void 0;
|
|
19171
19381
|
} else {
|
|
@@ -19187,24 +19397,24 @@ function peg$parse(input, options) {
|
|
|
19187
19397
|
s1 = peg$currPos;
|
|
19188
19398
|
s2 = [];
|
|
19189
19399
|
if (input.charCodeAt(peg$currPos) === 9) {
|
|
19190
|
-
s3 = peg$
|
|
19400
|
+
s3 = peg$c0;
|
|
19191
19401
|
peg$currPos++;
|
|
19192
19402
|
} else {
|
|
19193
19403
|
s3 = peg$FAILED;
|
|
19194
19404
|
if (peg$silentFails === 0) {
|
|
19195
|
-
peg$fail(peg$
|
|
19405
|
+
peg$fail(peg$e2);
|
|
19196
19406
|
}
|
|
19197
19407
|
}
|
|
19198
19408
|
if (s3 !== peg$FAILED) {
|
|
19199
19409
|
while (s3 !== peg$FAILED) {
|
|
19200
19410
|
s2.push(s3);
|
|
19201
19411
|
if (input.charCodeAt(peg$currPos) === 9) {
|
|
19202
|
-
s3 = peg$
|
|
19412
|
+
s3 = peg$c0;
|
|
19203
19413
|
peg$currPos++;
|
|
19204
19414
|
} else {
|
|
19205
19415
|
s3 = peg$FAILED;
|
|
19206
19416
|
if (peg$silentFails === 0) {
|
|
19207
|
-
peg$fail(peg$
|
|
19417
|
+
peg$fail(peg$e2);
|
|
19208
19418
|
}
|
|
19209
19419
|
}
|
|
19210
19420
|
}
|
|
@@ -19212,14 +19422,14 @@ function peg$parse(input, options) {
|
|
|
19212
19422
|
s2 = peg$FAILED;
|
|
19213
19423
|
}
|
|
19214
19424
|
if (s2 !== peg$FAILED) {
|
|
19215
|
-
s3 = peg$
|
|
19425
|
+
s3 = peg$f36(s2);
|
|
19216
19426
|
if (s3) {
|
|
19217
19427
|
s3 = void 0;
|
|
19218
19428
|
} else {
|
|
19219
19429
|
s3 = peg$FAILED;
|
|
19220
19430
|
}
|
|
19221
19431
|
if (s3 !== peg$FAILED) {
|
|
19222
|
-
s1 = peg$
|
|
19432
|
+
s1 = peg$f37(s2);
|
|
19223
19433
|
} else {
|
|
19224
19434
|
peg$currPos = s1;
|
|
19225
19435
|
s1 = peg$FAILED;
|
|
@@ -19239,7 +19449,7 @@ function peg$parse(input, options) {
|
|
|
19239
19449
|
}
|
|
19240
19450
|
function peg$parseDEDENT() {
|
|
19241
19451
|
let s0;
|
|
19242
|
-
s0 = peg$
|
|
19452
|
+
s0 = peg$f38();
|
|
19243
19453
|
if (s0) {
|
|
19244
19454
|
s0 = void 0;
|
|
19245
19455
|
} else {
|
|
@@ -19263,7 +19473,7 @@ function peg$parse(input, options) {
|
|
|
19263
19473
|
if (s1 !== peg$FAILED) {
|
|
19264
19474
|
s2 = peg$parseParagraphBody();
|
|
19265
19475
|
if (s2 !== peg$FAILED) {
|
|
19266
|
-
s0 = peg$
|
|
19476
|
+
s0 = peg$f39(s2);
|
|
19267
19477
|
} else {
|
|
19268
19478
|
peg$currPos = s0;
|
|
19269
19479
|
s0 = peg$FAILED;
|
|
@@ -19278,7 +19488,7 @@ function peg$parse(input, options) {
|
|
|
19278
19488
|
if (s1 !== peg$FAILED) {
|
|
19279
19489
|
s2 = peg$parseParagraphBody();
|
|
19280
19490
|
if (s2 !== peg$FAILED) {
|
|
19281
|
-
s0 = peg$
|
|
19491
|
+
s0 = peg$f40(s2);
|
|
19282
19492
|
} else {
|
|
19283
19493
|
peg$currPos = s0;
|
|
19284
19494
|
s0 = peg$FAILED;
|
|
@@ -19292,7 +19502,7 @@ function peg$parse(input, options) {
|
|
|
19292
19502
|
s1 = peg$parseExplicitParagraphHeader();
|
|
19293
19503
|
if (s1 !== peg$FAILED) {
|
|
19294
19504
|
s2 = "";
|
|
19295
|
-
s0 = peg$
|
|
19505
|
+
s0 = peg$f41(s2);
|
|
19296
19506
|
} else {
|
|
19297
19507
|
peg$currPos = s0;
|
|
19298
19508
|
s0 = peg$FAILED;
|
|
@@ -19395,7 +19605,7 @@ function peg$parse(input, options) {
|
|
|
19395
19605
|
} else {
|
|
19396
19606
|
s5 = peg$FAILED;
|
|
19397
19607
|
if (peg$silentFails === 0) {
|
|
19398
|
-
peg$fail(peg$
|
|
19608
|
+
peg$fail(peg$e8);
|
|
19399
19609
|
}
|
|
19400
19610
|
}
|
|
19401
19611
|
while (s5 !== peg$FAILED) {
|
|
@@ -19406,7 +19616,7 @@ function peg$parse(input, options) {
|
|
|
19406
19616
|
} else {
|
|
19407
19617
|
s5 = peg$FAILED;
|
|
19408
19618
|
if (peg$silentFails === 0) {
|
|
19409
|
-
peg$fail(peg$
|
|
19619
|
+
peg$fail(peg$e8);
|
|
19410
19620
|
}
|
|
19411
19621
|
}
|
|
19412
19622
|
}
|
|
@@ -19460,7 +19670,7 @@ function peg$parse(input, options) {
|
|
|
19460
19670
|
if (s1 !== peg$FAILED) {
|
|
19461
19671
|
s2 = peg$parseImageType();
|
|
19462
19672
|
if (s2 !== peg$FAILED) {
|
|
19463
|
-
s0 = peg$
|
|
19673
|
+
s0 = peg$f42(s2);
|
|
19464
19674
|
} else {
|
|
19465
19675
|
peg$currPos = s0;
|
|
19466
19676
|
s0 = peg$FAILED;
|
|
@@ -19477,12 +19687,12 @@ function peg$parse(input, options) {
|
|
|
19477
19687
|
s1 = peg$parseImageTag();
|
|
19478
19688
|
if (s1 !== peg$FAILED) {
|
|
19479
19689
|
if (input.charCodeAt(peg$currPos) === 58) {
|
|
19480
|
-
s2 = peg$
|
|
19690
|
+
s2 = peg$c6;
|
|
19481
19691
|
peg$currPos++;
|
|
19482
19692
|
} else {
|
|
19483
19693
|
s2 = peg$FAILED;
|
|
19484
19694
|
if (peg$silentFails === 0) {
|
|
19485
|
-
peg$fail(peg$
|
|
19695
|
+
peg$fail(peg$e9);
|
|
19486
19696
|
}
|
|
19487
19697
|
}
|
|
19488
19698
|
if (s2 !== peg$FAILED) {
|
|
@@ -19490,30 +19700,30 @@ function peg$parse(input, options) {
|
|
|
19490
19700
|
peg$currPos++;
|
|
19491
19701
|
} else {
|
|
19492
19702
|
if (peg$silentFails === 0) {
|
|
19493
|
-
peg$fail(peg$
|
|
19703
|
+
peg$fail(peg$e17);
|
|
19494
19704
|
}
|
|
19495
19705
|
}
|
|
19496
19706
|
s4 = peg$parseUrlHttp();
|
|
19497
19707
|
if (s4 !== peg$FAILED) {
|
|
19498
19708
|
s5 = [];
|
|
19499
19709
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
19500
|
-
s6 = peg$
|
|
19710
|
+
s6 = peg$c13;
|
|
19501
19711
|
peg$currPos++;
|
|
19502
19712
|
} else {
|
|
19503
19713
|
s6 = peg$FAILED;
|
|
19504
19714
|
if (peg$silentFails === 0) {
|
|
19505
|
-
peg$fail(peg$
|
|
19715
|
+
peg$fail(peg$e17);
|
|
19506
19716
|
}
|
|
19507
19717
|
}
|
|
19508
19718
|
while (s6 !== peg$FAILED) {
|
|
19509
19719
|
s5.push(s6);
|
|
19510
19720
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
19511
|
-
s6 = peg$
|
|
19721
|
+
s6 = peg$c13;
|
|
19512
19722
|
peg$currPos++;
|
|
19513
19723
|
} else {
|
|
19514
19724
|
s6 = peg$FAILED;
|
|
19515
19725
|
if (peg$silentFails === 0) {
|
|
19516
|
-
peg$fail(peg$
|
|
19726
|
+
peg$fail(peg$e17);
|
|
19517
19727
|
}
|
|
19518
19728
|
}
|
|
19519
19729
|
}
|
|
@@ -19529,7 +19739,7 @@ function peg$parse(input, options) {
|
|
|
19529
19739
|
} else {
|
|
19530
19740
|
s11 = peg$FAILED;
|
|
19531
19741
|
if (peg$silentFails === 0) {
|
|
19532
|
-
peg$fail(peg$
|
|
19742
|
+
peg$fail(peg$e8);
|
|
19533
19743
|
}
|
|
19534
19744
|
}
|
|
19535
19745
|
while (s11 !== peg$FAILED) {
|
|
@@ -19540,7 +19750,7 @@ function peg$parse(input, options) {
|
|
|
19540
19750
|
} else {
|
|
19541
19751
|
s11 = peg$FAILED;
|
|
19542
19752
|
if (peg$silentFails === 0) {
|
|
19543
|
-
peg$fail(peg$
|
|
19753
|
+
peg$fail(peg$e8);
|
|
19544
19754
|
}
|
|
19545
19755
|
}
|
|
19546
19756
|
}
|
|
@@ -19562,7 +19772,7 @@ function peg$parse(input, options) {
|
|
|
19562
19772
|
if (s9 === peg$FAILED) {
|
|
19563
19773
|
s9 = null;
|
|
19564
19774
|
}
|
|
19565
|
-
s0 = peg$
|
|
19775
|
+
s0 = peg$f43(s1, s4, s7);
|
|
19566
19776
|
} else {
|
|
19567
19777
|
peg$currPos = s0;
|
|
19568
19778
|
s0 = peg$FAILED;
|
|
@@ -19594,7 +19804,7 @@ function peg$parse(input, options) {
|
|
|
19594
19804
|
s1.push(s2);
|
|
19595
19805
|
s2 = peg$parseMediaChainItem();
|
|
19596
19806
|
}
|
|
19597
|
-
s1 = peg$
|
|
19807
|
+
s1 = peg$f44(s1);
|
|
19598
19808
|
s0 = s1;
|
|
19599
19809
|
return s0;
|
|
19600
19810
|
}
|
|
@@ -19667,7 +19877,7 @@ function peg$parse(input, options) {
|
|
|
19667
19877
|
s2 = input.substring(s2, peg$currPos);
|
|
19668
19878
|
s3 = peg$parseBlockTag();
|
|
19669
19879
|
if (s3 !== peg$FAILED) {
|
|
19670
|
-
s0 = peg$
|
|
19880
|
+
s0 = peg$f45(s2);
|
|
19671
19881
|
} else {
|
|
19672
19882
|
peg$currPos = s0;
|
|
19673
19883
|
s0 = peg$FAILED;
|
|
@@ -19693,34 +19903,34 @@ function peg$parse(input, options) {
|
|
|
19693
19903
|
s2 = peg$parseMediaSizeTags();
|
|
19694
19904
|
if (s2 !== peg$FAILED) {
|
|
19695
19905
|
if (input.charCodeAt(peg$currPos) === 58) {
|
|
19696
|
-
s3 = peg$
|
|
19906
|
+
s3 = peg$c6;
|
|
19697
19907
|
peg$currPos++;
|
|
19698
19908
|
} else {
|
|
19699
19909
|
s3 = peg$FAILED;
|
|
19700
19910
|
if (peg$silentFails === 0) {
|
|
19701
|
-
peg$fail(peg$
|
|
19911
|
+
peg$fail(peg$e9);
|
|
19702
19912
|
}
|
|
19703
19913
|
}
|
|
19704
19914
|
if (s3 !== peg$FAILED) {
|
|
19705
19915
|
s4 = [];
|
|
19706
19916
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
19707
|
-
s5 = peg$
|
|
19917
|
+
s5 = peg$c13;
|
|
19708
19918
|
peg$currPos++;
|
|
19709
19919
|
} else {
|
|
19710
19920
|
s5 = peg$FAILED;
|
|
19711
19921
|
if (peg$silentFails === 0) {
|
|
19712
|
-
peg$fail(peg$
|
|
19922
|
+
peg$fail(peg$e17);
|
|
19713
19923
|
}
|
|
19714
19924
|
}
|
|
19715
19925
|
while (s5 !== peg$FAILED) {
|
|
19716
19926
|
s4.push(s5);
|
|
19717
19927
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
19718
|
-
s5 = peg$
|
|
19928
|
+
s5 = peg$c13;
|
|
19719
19929
|
peg$currPos++;
|
|
19720
19930
|
} else {
|
|
19721
19931
|
s5 = peg$FAILED;
|
|
19722
19932
|
if (peg$silentFails === 0) {
|
|
19723
|
-
peg$fail(peg$
|
|
19933
|
+
peg$fail(peg$e17);
|
|
19724
19934
|
}
|
|
19725
19935
|
}
|
|
19726
19936
|
}
|
|
@@ -19744,7 +19954,7 @@ function peg$parse(input, options) {
|
|
|
19744
19954
|
} else {
|
|
19745
19955
|
s9 = peg$FAILED;
|
|
19746
19956
|
if (peg$silentFails === 0) {
|
|
19747
|
-
peg$fail(peg$
|
|
19957
|
+
peg$fail(peg$e16);
|
|
19748
19958
|
}
|
|
19749
19959
|
}
|
|
19750
19960
|
if (s9 !== peg$FAILED) {
|
|
@@ -19779,7 +19989,7 @@ function peg$parse(input, options) {
|
|
|
19779
19989
|
} else {
|
|
19780
19990
|
s9 = peg$FAILED;
|
|
19781
19991
|
if (peg$silentFails === 0) {
|
|
19782
|
-
peg$fail(peg$
|
|
19992
|
+
peg$fail(peg$e16);
|
|
19783
19993
|
}
|
|
19784
19994
|
}
|
|
19785
19995
|
if (s9 !== peg$FAILED) {
|
|
@@ -19805,29 +20015,29 @@ function peg$parse(input, options) {
|
|
|
19805
20015
|
if (s5 !== peg$FAILED) {
|
|
19806
20016
|
s6 = [];
|
|
19807
20017
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
19808
|
-
s7 = peg$
|
|
20018
|
+
s7 = peg$c13;
|
|
19809
20019
|
peg$currPos++;
|
|
19810
20020
|
} else {
|
|
19811
20021
|
s7 = peg$FAILED;
|
|
19812
20022
|
if (peg$silentFails === 0) {
|
|
19813
|
-
peg$fail(peg$
|
|
20023
|
+
peg$fail(peg$e17);
|
|
19814
20024
|
}
|
|
19815
20025
|
}
|
|
19816
20026
|
while (s7 !== peg$FAILED) {
|
|
19817
20027
|
s6.push(s7);
|
|
19818
20028
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
19819
|
-
s7 = peg$
|
|
20029
|
+
s7 = peg$c13;
|
|
19820
20030
|
peg$currPos++;
|
|
19821
20031
|
} else {
|
|
19822
20032
|
s7 = peg$FAILED;
|
|
19823
20033
|
if (peg$silentFails === 0) {
|
|
19824
|
-
peg$fail(peg$
|
|
20034
|
+
peg$fail(peg$e17);
|
|
19825
20035
|
}
|
|
19826
20036
|
}
|
|
19827
20037
|
}
|
|
19828
20038
|
s7 = peg$parseBlockTag();
|
|
19829
20039
|
if (s7 !== peg$FAILED) {
|
|
19830
|
-
s0 = peg$
|
|
20040
|
+
s0 = peg$f46(s2, s5);
|
|
19831
20041
|
} else {
|
|
19832
20042
|
peg$currPos = s0;
|
|
19833
20043
|
s0 = peg$FAILED;
|
|
@@ -19861,34 +20071,34 @@ function peg$parse(input, options) {
|
|
|
19861
20071
|
s2 = peg$parseMediaTextTags();
|
|
19862
20072
|
if (s2 !== peg$FAILED) {
|
|
19863
20073
|
if (input.charCodeAt(peg$currPos) === 58) {
|
|
19864
|
-
s3 = peg$
|
|
20074
|
+
s3 = peg$c6;
|
|
19865
20075
|
peg$currPos++;
|
|
19866
20076
|
} else {
|
|
19867
20077
|
s3 = peg$FAILED;
|
|
19868
20078
|
if (peg$silentFails === 0) {
|
|
19869
|
-
peg$fail(peg$
|
|
20079
|
+
peg$fail(peg$e9);
|
|
19870
20080
|
}
|
|
19871
20081
|
}
|
|
19872
20082
|
if (s3 !== peg$FAILED) {
|
|
19873
20083
|
s4 = [];
|
|
19874
20084
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
19875
|
-
s5 = peg$
|
|
20085
|
+
s5 = peg$c13;
|
|
19876
20086
|
peg$currPos++;
|
|
19877
20087
|
} else {
|
|
19878
20088
|
s5 = peg$FAILED;
|
|
19879
20089
|
if (peg$silentFails === 0) {
|
|
19880
|
-
peg$fail(peg$
|
|
20090
|
+
peg$fail(peg$e17);
|
|
19881
20091
|
}
|
|
19882
20092
|
}
|
|
19883
20093
|
while (s5 !== peg$FAILED) {
|
|
19884
20094
|
s4.push(s5);
|
|
19885
20095
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
19886
|
-
s5 = peg$
|
|
20096
|
+
s5 = peg$c13;
|
|
19887
20097
|
peg$currPos++;
|
|
19888
20098
|
} else {
|
|
19889
20099
|
s5 = peg$FAILED;
|
|
19890
20100
|
if (peg$silentFails === 0) {
|
|
19891
|
-
peg$fail(peg$
|
|
20101
|
+
peg$fail(peg$e17);
|
|
19892
20102
|
}
|
|
19893
20103
|
}
|
|
19894
20104
|
}
|
|
@@ -19948,7 +20158,7 @@ function peg$parse(input, options) {
|
|
|
19948
20158
|
s5 = input.substring(s5, peg$currPos);
|
|
19949
20159
|
s6 = peg$parseBlockTag();
|
|
19950
20160
|
if (s6 !== peg$FAILED) {
|
|
19951
|
-
s0 = peg$
|
|
20161
|
+
s0 = peg$f47(s2, s5);
|
|
19952
20162
|
} else {
|
|
19953
20163
|
peg$currPos = s0;
|
|
19954
20164
|
s0 = peg$FAILED;
|
|
@@ -19978,34 +20188,34 @@ function peg$parse(input, options) {
|
|
|
19978
20188
|
s2 = peg$parseMediaAlignmentTags();
|
|
19979
20189
|
if (s2 !== peg$FAILED) {
|
|
19980
20190
|
if (input.charCodeAt(peg$currPos) === 58) {
|
|
19981
|
-
s3 = peg$
|
|
20191
|
+
s3 = peg$c6;
|
|
19982
20192
|
peg$currPos++;
|
|
19983
20193
|
} else {
|
|
19984
20194
|
s3 = peg$FAILED;
|
|
19985
20195
|
if (peg$silentFails === 0) {
|
|
19986
|
-
peg$fail(peg$
|
|
20196
|
+
peg$fail(peg$e9);
|
|
19987
20197
|
}
|
|
19988
20198
|
}
|
|
19989
20199
|
if (s3 !== peg$FAILED) {
|
|
19990
20200
|
s4 = [];
|
|
19991
20201
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
19992
|
-
s5 = peg$
|
|
20202
|
+
s5 = peg$c13;
|
|
19993
20203
|
peg$currPos++;
|
|
19994
20204
|
} else {
|
|
19995
20205
|
s5 = peg$FAILED;
|
|
19996
20206
|
if (peg$silentFails === 0) {
|
|
19997
|
-
peg$fail(peg$
|
|
20207
|
+
peg$fail(peg$e17);
|
|
19998
20208
|
}
|
|
19999
20209
|
}
|
|
20000
20210
|
while (s5 !== peg$FAILED) {
|
|
20001
20211
|
s4.push(s5);
|
|
20002
20212
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
20003
|
-
s5 = peg$
|
|
20213
|
+
s5 = peg$c13;
|
|
20004
20214
|
peg$currPos++;
|
|
20005
20215
|
} else {
|
|
20006
20216
|
s5 = peg$FAILED;
|
|
20007
20217
|
if (peg$silentFails === 0) {
|
|
20008
|
-
peg$fail(peg$
|
|
20218
|
+
peg$fail(peg$e17);
|
|
20009
20219
|
}
|
|
20010
20220
|
}
|
|
20011
20221
|
}
|
|
@@ -20013,29 +20223,29 @@ function peg$parse(input, options) {
|
|
|
20013
20223
|
if (s5 !== peg$FAILED) {
|
|
20014
20224
|
s6 = [];
|
|
20015
20225
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
20016
|
-
s7 = peg$
|
|
20226
|
+
s7 = peg$c13;
|
|
20017
20227
|
peg$currPos++;
|
|
20018
20228
|
} else {
|
|
20019
20229
|
s7 = peg$FAILED;
|
|
20020
20230
|
if (peg$silentFails === 0) {
|
|
20021
|
-
peg$fail(peg$
|
|
20231
|
+
peg$fail(peg$e17);
|
|
20022
20232
|
}
|
|
20023
20233
|
}
|
|
20024
20234
|
while (s7 !== peg$FAILED) {
|
|
20025
20235
|
s6.push(s7);
|
|
20026
20236
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
20027
|
-
s7 = peg$
|
|
20237
|
+
s7 = peg$c13;
|
|
20028
20238
|
peg$currPos++;
|
|
20029
20239
|
} else {
|
|
20030
20240
|
s7 = peg$FAILED;
|
|
20031
20241
|
if (peg$silentFails === 0) {
|
|
20032
|
-
peg$fail(peg$
|
|
20242
|
+
peg$fail(peg$e17);
|
|
20033
20243
|
}
|
|
20034
20244
|
}
|
|
20035
20245
|
}
|
|
20036
20246
|
s7 = peg$parseBlockTag();
|
|
20037
20247
|
if (s7 !== peg$FAILED) {
|
|
20038
|
-
s0 = peg$
|
|
20248
|
+
s0 = peg$f48(s2, s5);
|
|
20039
20249
|
} else {
|
|
20040
20250
|
peg$currPos = s0;
|
|
20041
20251
|
s0 = peg$FAILED;
|
|
@@ -20069,34 +20279,34 @@ function peg$parse(input, options) {
|
|
|
20069
20279
|
s2 = peg$parseMediaBooleanTags();
|
|
20070
20280
|
if (s2 !== peg$FAILED) {
|
|
20071
20281
|
if (input.charCodeAt(peg$currPos) === 58) {
|
|
20072
|
-
s3 = peg$
|
|
20282
|
+
s3 = peg$c6;
|
|
20073
20283
|
peg$currPos++;
|
|
20074
20284
|
} else {
|
|
20075
20285
|
s3 = peg$FAILED;
|
|
20076
20286
|
if (peg$silentFails === 0) {
|
|
20077
|
-
peg$fail(peg$
|
|
20287
|
+
peg$fail(peg$e9);
|
|
20078
20288
|
}
|
|
20079
20289
|
}
|
|
20080
20290
|
if (s3 !== peg$FAILED) {
|
|
20081
20291
|
s4 = [];
|
|
20082
20292
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
20083
|
-
s5 = peg$
|
|
20293
|
+
s5 = peg$c13;
|
|
20084
20294
|
peg$currPos++;
|
|
20085
20295
|
} else {
|
|
20086
20296
|
s5 = peg$FAILED;
|
|
20087
20297
|
if (peg$silentFails === 0) {
|
|
20088
|
-
peg$fail(peg$
|
|
20298
|
+
peg$fail(peg$e17);
|
|
20089
20299
|
}
|
|
20090
20300
|
}
|
|
20091
20301
|
while (s5 !== peg$FAILED) {
|
|
20092
20302
|
s4.push(s5);
|
|
20093
20303
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
20094
|
-
s5 = peg$
|
|
20304
|
+
s5 = peg$c13;
|
|
20095
20305
|
peg$currPos++;
|
|
20096
20306
|
} else {
|
|
20097
20307
|
s5 = peg$FAILED;
|
|
20098
20308
|
if (peg$silentFails === 0) {
|
|
20099
|
-
peg$fail(peg$
|
|
20309
|
+
peg$fail(peg$e17);
|
|
20100
20310
|
}
|
|
20101
20311
|
}
|
|
20102
20312
|
}
|
|
@@ -20104,29 +20314,29 @@ function peg$parse(input, options) {
|
|
|
20104
20314
|
if (s5 !== peg$FAILED) {
|
|
20105
20315
|
s6 = [];
|
|
20106
20316
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
20107
|
-
s7 = peg$
|
|
20317
|
+
s7 = peg$c13;
|
|
20108
20318
|
peg$currPos++;
|
|
20109
20319
|
} else {
|
|
20110
20320
|
s7 = peg$FAILED;
|
|
20111
20321
|
if (peg$silentFails === 0) {
|
|
20112
|
-
peg$fail(peg$
|
|
20322
|
+
peg$fail(peg$e17);
|
|
20113
20323
|
}
|
|
20114
20324
|
}
|
|
20115
20325
|
while (s7 !== peg$FAILED) {
|
|
20116
20326
|
s6.push(s7);
|
|
20117
20327
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
20118
|
-
s7 = peg$
|
|
20328
|
+
s7 = peg$c13;
|
|
20119
20329
|
peg$currPos++;
|
|
20120
20330
|
} else {
|
|
20121
20331
|
s7 = peg$FAILED;
|
|
20122
20332
|
if (peg$silentFails === 0) {
|
|
20123
|
-
peg$fail(peg$
|
|
20333
|
+
peg$fail(peg$e17);
|
|
20124
20334
|
}
|
|
20125
20335
|
}
|
|
20126
20336
|
}
|
|
20127
20337
|
s7 = peg$parseBlockTag();
|
|
20128
20338
|
if (s7 !== peg$FAILED) {
|
|
20129
|
-
s0 = peg$
|
|
20339
|
+
s0 = peg$f49(s2, s5);
|
|
20130
20340
|
} else {
|
|
20131
20341
|
peg$currPos = s0;
|
|
20132
20342
|
s0 = peg$FAILED;
|
|
@@ -20161,29 +20371,29 @@ function peg$parse(input, options) {
|
|
|
20161
20371
|
if (s2 !== peg$FAILED) {
|
|
20162
20372
|
s3 = [];
|
|
20163
20373
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
20164
|
-
s4 = peg$
|
|
20374
|
+
s4 = peg$c13;
|
|
20165
20375
|
peg$currPos++;
|
|
20166
20376
|
} else {
|
|
20167
20377
|
s4 = peg$FAILED;
|
|
20168
20378
|
if (peg$silentFails === 0) {
|
|
20169
|
-
peg$fail(peg$
|
|
20379
|
+
peg$fail(peg$e17);
|
|
20170
20380
|
}
|
|
20171
20381
|
}
|
|
20172
20382
|
while (s4 !== peg$FAILED) {
|
|
20173
20383
|
s3.push(s4);
|
|
20174
20384
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
20175
|
-
s4 = peg$
|
|
20385
|
+
s4 = peg$c13;
|
|
20176
20386
|
peg$currPos++;
|
|
20177
20387
|
} else {
|
|
20178
20388
|
s4 = peg$FAILED;
|
|
20179
20389
|
if (peg$silentFails === 0) {
|
|
20180
|
-
peg$fail(peg$
|
|
20390
|
+
peg$fail(peg$e17);
|
|
20181
20391
|
}
|
|
20182
20392
|
}
|
|
20183
20393
|
}
|
|
20184
20394
|
s4 = peg$parseBlockTag();
|
|
20185
20395
|
if (s4 !== peg$FAILED) {
|
|
20186
|
-
s0 = peg$
|
|
20396
|
+
s0 = peg$f50(s2);
|
|
20187
20397
|
} else {
|
|
20188
20398
|
peg$currPos = s0;
|
|
20189
20399
|
s0 = peg$FAILED;
|
|
@@ -20208,7 +20418,7 @@ function peg$parse(input, options) {
|
|
|
20208
20418
|
}
|
|
20209
20419
|
s2 = peg$parseBlockTag();
|
|
20210
20420
|
if (s2 !== peg$FAILED) {
|
|
20211
|
-
s0 = peg$
|
|
20421
|
+
s0 = peg$f51();
|
|
20212
20422
|
} else {
|
|
20213
20423
|
peg$currPos = s0;
|
|
20214
20424
|
s0 = peg$FAILED;
|
|
@@ -20283,7 +20493,7 @@ function peg$parse(input, options) {
|
|
|
20283
20493
|
s2 = input.substring(s2, peg$currPos);
|
|
20284
20494
|
s3 = peg$parseBlockTag();
|
|
20285
20495
|
if (s3 !== peg$FAILED) {
|
|
20286
|
-
s0 = peg$
|
|
20496
|
+
s0 = peg$f52(s2);
|
|
20287
20497
|
} else {
|
|
20288
20498
|
peg$currPos = s0;
|
|
20289
20499
|
s0 = peg$FAILED;
|
|
@@ -20446,7 +20656,7 @@ function peg$parse(input, options) {
|
|
|
20446
20656
|
peg$silentFails++;
|
|
20447
20657
|
s0 = peg$currPos;
|
|
20448
20658
|
s1 = peg$parseInlineTags();
|
|
20449
|
-
s1 = peg$
|
|
20659
|
+
s1 = peg$f53(s1);
|
|
20450
20660
|
s0 = s1;
|
|
20451
20661
|
peg$silentFails--;
|
|
20452
20662
|
return s0;
|
|
@@ -20477,7 +20687,7 @@ function peg$parse(input, options) {
|
|
|
20477
20687
|
s3 = peg$parseInlinePlainText();
|
|
20478
20688
|
}
|
|
20479
20689
|
}
|
|
20480
|
-
s0 = peg$
|
|
20690
|
+
s0 = peg$f54(s1, s2);
|
|
20481
20691
|
return s0;
|
|
20482
20692
|
}
|
|
20483
20693
|
function peg$parseInlinePlainText() {
|
|
@@ -20485,7 +20695,7 @@ function peg$parse(input, options) {
|
|
|
20485
20695
|
s0 = peg$currPos;
|
|
20486
20696
|
s1 = peg$parseNL();
|
|
20487
20697
|
if (s1 !== peg$FAILED) {
|
|
20488
|
-
s1 = peg$
|
|
20698
|
+
s1 = peg$f55();
|
|
20489
20699
|
}
|
|
20490
20700
|
s0 = s1;
|
|
20491
20701
|
if (s0 === peg$FAILED) {
|
|
@@ -20613,7 +20823,7 @@ function peg$parse(input, options) {
|
|
|
20613
20823
|
s1 = s2;
|
|
20614
20824
|
}
|
|
20615
20825
|
if (s1 !== peg$FAILED) {
|
|
20616
|
-
s1 = peg$
|
|
20826
|
+
s1 = peg$f56(s1);
|
|
20617
20827
|
}
|
|
20618
20828
|
s0 = s1;
|
|
20619
20829
|
}
|
|
@@ -20664,7 +20874,7 @@ function peg$parse(input, options) {
|
|
|
20664
20874
|
} else {
|
|
20665
20875
|
s4 = peg$FAILED;
|
|
20666
20876
|
if (peg$silentFails === 0) {
|
|
20667
|
-
peg$fail(peg$
|
|
20877
|
+
peg$fail(peg$e16);
|
|
20668
20878
|
}
|
|
20669
20879
|
}
|
|
20670
20880
|
if (s4 !== peg$FAILED) {
|
|
@@ -20676,7 +20886,7 @@ function peg$parse(input, options) {
|
|
|
20676
20886
|
} else {
|
|
20677
20887
|
s4 = peg$FAILED;
|
|
20678
20888
|
if (peg$silentFails === 0) {
|
|
20679
|
-
peg$fail(peg$
|
|
20889
|
+
peg$fail(peg$e16);
|
|
20680
20890
|
}
|
|
20681
20891
|
}
|
|
20682
20892
|
}
|
|
@@ -20691,7 +20901,7 @@ function peg$parse(input, options) {
|
|
|
20691
20901
|
if (s2 !== peg$FAILED) {
|
|
20692
20902
|
s3 = peg$parseBodyBitCloseTag();
|
|
20693
20903
|
if (s3 !== peg$FAILED) {
|
|
20694
|
-
s0 = peg$
|
|
20904
|
+
s0 = peg$f57(s2);
|
|
20695
20905
|
} else {
|
|
20696
20906
|
peg$currPos = s0;
|
|
20697
20907
|
s0 = peg$FAILED;
|
|
@@ -20790,7 +21000,7 @@ function peg$parse(input, options) {
|
|
|
20790
21000
|
}
|
|
20791
21001
|
}
|
|
20792
21002
|
if (s4 !== peg$FAILED) {
|
|
20793
|
-
s0 = peg$
|
|
21003
|
+
s0 = peg$f58(s2);
|
|
20794
21004
|
} else {
|
|
20795
21005
|
peg$currPos = s0;
|
|
20796
21006
|
s0 = peg$FAILED;
|
|
@@ -20892,17 +21102,17 @@ function peg$parse(input, options) {
|
|
|
20892
21102
|
s5 = peg$parseUrl();
|
|
20893
21103
|
if (s5 !== peg$FAILED) {
|
|
20894
21104
|
if (input.charCodeAt(peg$currPos) === 124) {
|
|
20895
|
-
s6 = peg$
|
|
21105
|
+
s6 = peg$c1;
|
|
20896
21106
|
peg$currPos++;
|
|
20897
21107
|
} else {
|
|
20898
21108
|
s6 = peg$FAILED;
|
|
20899
21109
|
if (peg$silentFails === 0) {
|
|
20900
|
-
peg$fail(peg$
|
|
21110
|
+
peg$fail(peg$e3);
|
|
20901
21111
|
}
|
|
20902
21112
|
}
|
|
20903
21113
|
if (s6 !== peg$FAILED) {
|
|
20904
21114
|
s7 = peg$parseInlineMediaChain();
|
|
20905
|
-
s0 = peg$
|
|
21115
|
+
s0 = peg$f59(s2, s5, s7);
|
|
20906
21116
|
} else {
|
|
20907
21117
|
peg$currPos = s0;
|
|
20908
21118
|
s0 = peg$FAILED;
|
|
@@ -21001,7 +21211,7 @@ function peg$parse(input, options) {
|
|
|
21001
21211
|
if (s3 !== peg$FAILED) {
|
|
21002
21212
|
s4 = peg$parseAttrChain();
|
|
21003
21213
|
if (s4 !== peg$FAILED) {
|
|
21004
|
-
s0 = peg$
|
|
21214
|
+
s0 = peg$f60(s2, s4);
|
|
21005
21215
|
} else {
|
|
21006
21216
|
peg$currPos = s0;
|
|
21007
21217
|
s0 = peg$FAILED;
|
|
@@ -21090,7 +21300,7 @@ function peg$parse(input, options) {
|
|
|
21090
21300
|
s2 = input.substring(s2, peg$currPos);
|
|
21091
21301
|
s3 = peg$parseBoldTag();
|
|
21092
21302
|
if (s3 !== peg$FAILED) {
|
|
21093
|
-
s0 = peg$
|
|
21303
|
+
s0 = peg$f61(s2);
|
|
21094
21304
|
} else {
|
|
21095
21305
|
peg$currPos = s0;
|
|
21096
21306
|
s0 = peg$FAILED;
|
|
@@ -21175,7 +21385,7 @@ function peg$parse(input, options) {
|
|
|
21175
21385
|
s2 = input.substring(s2, peg$currPos);
|
|
21176
21386
|
s3 = peg$parseItalicTag();
|
|
21177
21387
|
if (s3 !== peg$FAILED) {
|
|
21178
|
-
s0 = peg$
|
|
21388
|
+
s0 = peg$f62(s2);
|
|
21179
21389
|
} else {
|
|
21180
21390
|
peg$currPos = s0;
|
|
21181
21391
|
s0 = peg$FAILED;
|
|
@@ -21260,7 +21470,7 @@ function peg$parse(input, options) {
|
|
|
21260
21470
|
s2 = input.substring(s2, peg$currPos);
|
|
21261
21471
|
s3 = peg$parseLightTag();
|
|
21262
21472
|
if (s3 !== peg$FAILED) {
|
|
21263
|
-
s0 = peg$
|
|
21473
|
+
s0 = peg$f63(s2);
|
|
21264
21474
|
} else {
|
|
21265
21475
|
peg$currPos = s0;
|
|
21266
21476
|
s0 = peg$FAILED;
|
|
@@ -21345,7 +21555,7 @@ function peg$parse(input, options) {
|
|
|
21345
21555
|
s2 = input.substring(s2, peg$currPos);
|
|
21346
21556
|
s3 = peg$parseHighlightTag();
|
|
21347
21557
|
if (s3 !== peg$FAILED) {
|
|
21348
|
-
s0 = peg$
|
|
21558
|
+
s0 = peg$f64(s2);
|
|
21349
21559
|
} else {
|
|
21350
21560
|
peg$currPos = s0;
|
|
21351
21561
|
s0 = peg$FAILED;
|
|
@@ -21358,7 +21568,7 @@ function peg$parse(input, options) {
|
|
|
21358
21568
|
s0 = peg$currPos;
|
|
21359
21569
|
s1 = peg$parseUrl();
|
|
21360
21570
|
if (s1 !== peg$FAILED) {
|
|
21361
|
-
s1 = peg$
|
|
21571
|
+
s1 = peg$f65(s1);
|
|
21362
21572
|
}
|
|
21363
21573
|
s0 = s1;
|
|
21364
21574
|
}
|
|
@@ -21473,12 +21683,12 @@ function peg$parse(input, options) {
|
|
|
21473
21683
|
let s0, s1, s2, s3;
|
|
21474
21684
|
s0 = peg$currPos;
|
|
21475
21685
|
if (input.charCodeAt(peg$currPos) === 124) {
|
|
21476
|
-
s1 = peg$
|
|
21686
|
+
s1 = peg$c1;
|
|
21477
21687
|
peg$currPos++;
|
|
21478
21688
|
} else {
|
|
21479
21689
|
s1 = peg$FAILED;
|
|
21480
21690
|
if (peg$silentFails === 0) {
|
|
21481
|
-
peg$fail(peg$
|
|
21691
|
+
peg$fail(peg$e3);
|
|
21482
21692
|
}
|
|
21483
21693
|
}
|
|
21484
21694
|
if (s1 !== peg$FAILED) {
|
|
@@ -21493,7 +21703,7 @@ function peg$parse(input, options) {
|
|
|
21493
21703
|
s2 = peg$FAILED;
|
|
21494
21704
|
}
|
|
21495
21705
|
if (s2 !== peg$FAILED) {
|
|
21496
|
-
s0 = peg$
|
|
21706
|
+
s0 = peg$f66(s2);
|
|
21497
21707
|
} else {
|
|
21498
21708
|
peg$currPos = s0;
|
|
21499
21709
|
s0 = peg$FAILED;
|
|
@@ -21513,7 +21723,7 @@ function peg$parse(input, options) {
|
|
|
21513
21723
|
s1.push(s2);
|
|
21514
21724
|
s2 = peg$parseInlineMediaChainItem();
|
|
21515
21725
|
}
|
|
21516
|
-
s1 = peg$
|
|
21726
|
+
s1 = peg$f67(s1);
|
|
21517
21727
|
s0 = s1;
|
|
21518
21728
|
return s0;
|
|
21519
21729
|
}
|
|
@@ -21586,7 +21796,7 @@ function peg$parse(input, options) {
|
|
|
21586
21796
|
s2 = input.substring(s2, peg$currPos);
|
|
21587
21797
|
s3 = peg$parseBlockTag();
|
|
21588
21798
|
if (s3 !== peg$FAILED) {
|
|
21589
|
-
s0 = peg$
|
|
21799
|
+
s0 = peg$f68(s2);
|
|
21590
21800
|
} else {
|
|
21591
21801
|
peg$currPos = s0;
|
|
21592
21802
|
s0 = peg$FAILED;
|
|
@@ -21620,34 +21830,34 @@ function peg$parse(input, options) {
|
|
|
21620
21830
|
}
|
|
21621
21831
|
if (s2 !== peg$FAILED) {
|
|
21622
21832
|
if (input.charCodeAt(peg$currPos) === 58) {
|
|
21623
|
-
s3 = peg$
|
|
21833
|
+
s3 = peg$c6;
|
|
21624
21834
|
peg$currPos++;
|
|
21625
21835
|
} else {
|
|
21626
21836
|
s3 = peg$FAILED;
|
|
21627
21837
|
if (peg$silentFails === 0) {
|
|
21628
|
-
peg$fail(peg$
|
|
21838
|
+
peg$fail(peg$e9);
|
|
21629
21839
|
}
|
|
21630
21840
|
}
|
|
21631
21841
|
if (s3 !== peg$FAILED) {
|
|
21632
21842
|
s4 = [];
|
|
21633
21843
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
21634
|
-
s5 = peg$
|
|
21844
|
+
s5 = peg$c13;
|
|
21635
21845
|
peg$currPos++;
|
|
21636
21846
|
} else {
|
|
21637
21847
|
s5 = peg$FAILED;
|
|
21638
21848
|
if (peg$silentFails === 0) {
|
|
21639
|
-
peg$fail(peg$
|
|
21849
|
+
peg$fail(peg$e17);
|
|
21640
21850
|
}
|
|
21641
21851
|
}
|
|
21642
21852
|
while (s5 !== peg$FAILED) {
|
|
21643
21853
|
s4.push(s5);
|
|
21644
21854
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
21645
|
-
s5 = peg$
|
|
21855
|
+
s5 = peg$c13;
|
|
21646
21856
|
peg$currPos++;
|
|
21647
21857
|
} else {
|
|
21648
21858
|
s5 = peg$FAILED;
|
|
21649
21859
|
if (peg$silentFails === 0) {
|
|
21650
|
-
peg$fail(peg$
|
|
21860
|
+
peg$fail(peg$e17);
|
|
21651
21861
|
}
|
|
21652
21862
|
}
|
|
21653
21863
|
}
|
|
@@ -21707,7 +21917,7 @@ function peg$parse(input, options) {
|
|
|
21707
21917
|
s5 = input.substring(s5, peg$currPos);
|
|
21708
21918
|
s6 = peg$parseBlockTag();
|
|
21709
21919
|
if (s6 !== peg$FAILED) {
|
|
21710
|
-
s0 = peg$
|
|
21920
|
+
s0 = peg$f69(s2, s5);
|
|
21711
21921
|
} else {
|
|
21712
21922
|
peg$currPos = s0;
|
|
21713
21923
|
s0 = peg$FAILED;
|
|
@@ -21737,34 +21947,34 @@ function peg$parse(input, options) {
|
|
|
21737
21947
|
s2 = peg$parseMediaSizeTags();
|
|
21738
21948
|
if (s2 !== peg$FAILED) {
|
|
21739
21949
|
if (input.charCodeAt(peg$currPos) === 58) {
|
|
21740
|
-
s3 = peg$
|
|
21950
|
+
s3 = peg$c6;
|
|
21741
21951
|
peg$currPos++;
|
|
21742
21952
|
} else {
|
|
21743
21953
|
s3 = peg$FAILED;
|
|
21744
21954
|
if (peg$silentFails === 0) {
|
|
21745
|
-
peg$fail(peg$
|
|
21955
|
+
peg$fail(peg$e9);
|
|
21746
21956
|
}
|
|
21747
21957
|
}
|
|
21748
21958
|
if (s3 !== peg$FAILED) {
|
|
21749
21959
|
s4 = [];
|
|
21750
21960
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
21751
|
-
s5 = peg$
|
|
21961
|
+
s5 = peg$c13;
|
|
21752
21962
|
peg$currPos++;
|
|
21753
21963
|
} else {
|
|
21754
21964
|
s5 = peg$FAILED;
|
|
21755
21965
|
if (peg$silentFails === 0) {
|
|
21756
|
-
peg$fail(peg$
|
|
21966
|
+
peg$fail(peg$e17);
|
|
21757
21967
|
}
|
|
21758
21968
|
}
|
|
21759
21969
|
while (s5 !== peg$FAILED) {
|
|
21760
21970
|
s4.push(s5);
|
|
21761
21971
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
21762
|
-
s5 = peg$
|
|
21972
|
+
s5 = peg$c13;
|
|
21763
21973
|
peg$currPos++;
|
|
21764
21974
|
} else {
|
|
21765
21975
|
s5 = peg$FAILED;
|
|
21766
21976
|
if (peg$silentFails === 0) {
|
|
21767
|
-
peg$fail(peg$
|
|
21977
|
+
peg$fail(peg$e17);
|
|
21768
21978
|
}
|
|
21769
21979
|
}
|
|
21770
21980
|
}
|
|
@@ -21788,7 +21998,7 @@ function peg$parse(input, options) {
|
|
|
21788
21998
|
} else {
|
|
21789
21999
|
s9 = peg$FAILED;
|
|
21790
22000
|
if (peg$silentFails === 0) {
|
|
21791
|
-
peg$fail(peg$
|
|
22001
|
+
peg$fail(peg$e16);
|
|
21792
22002
|
}
|
|
21793
22003
|
}
|
|
21794
22004
|
if (s9 !== peg$FAILED) {
|
|
@@ -21823,7 +22033,7 @@ function peg$parse(input, options) {
|
|
|
21823
22033
|
} else {
|
|
21824
22034
|
s9 = peg$FAILED;
|
|
21825
22035
|
if (peg$silentFails === 0) {
|
|
21826
|
-
peg$fail(peg$
|
|
22036
|
+
peg$fail(peg$e16);
|
|
21827
22037
|
}
|
|
21828
22038
|
}
|
|
21829
22039
|
if (s9 !== peg$FAILED) {
|
|
@@ -21849,7 +22059,7 @@ function peg$parse(input, options) {
|
|
|
21849
22059
|
if (s5 !== peg$FAILED) {
|
|
21850
22060
|
s6 = peg$parseBlockTag();
|
|
21851
22061
|
if (s6 !== peg$FAILED) {
|
|
21852
|
-
s0 = peg$
|
|
22062
|
+
s0 = peg$f70(s2, s5);
|
|
21853
22063
|
} else {
|
|
21854
22064
|
peg$currPos = s0;
|
|
21855
22065
|
s0 = peg$FAILED;
|
|
@@ -21883,34 +22093,34 @@ function peg$parse(input, options) {
|
|
|
21883
22093
|
s2 = peg$parseMediaSizeTags();
|
|
21884
22094
|
if (s2 !== peg$FAILED) {
|
|
21885
22095
|
if (input.charCodeAt(peg$currPos) === 58) {
|
|
21886
|
-
s3 = peg$
|
|
22096
|
+
s3 = peg$c6;
|
|
21887
22097
|
peg$currPos++;
|
|
21888
22098
|
} else {
|
|
21889
22099
|
s3 = peg$FAILED;
|
|
21890
22100
|
if (peg$silentFails === 0) {
|
|
21891
|
-
peg$fail(peg$
|
|
22101
|
+
peg$fail(peg$e9);
|
|
21892
22102
|
}
|
|
21893
22103
|
}
|
|
21894
22104
|
if (s3 !== peg$FAILED) {
|
|
21895
22105
|
s4 = [];
|
|
21896
22106
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
21897
|
-
s5 = peg$
|
|
22107
|
+
s5 = peg$c13;
|
|
21898
22108
|
peg$currPos++;
|
|
21899
22109
|
} else {
|
|
21900
22110
|
s5 = peg$FAILED;
|
|
21901
22111
|
if (peg$silentFails === 0) {
|
|
21902
|
-
peg$fail(peg$
|
|
22112
|
+
peg$fail(peg$e17);
|
|
21903
22113
|
}
|
|
21904
22114
|
}
|
|
21905
22115
|
while (s5 !== peg$FAILED) {
|
|
21906
22116
|
s4.push(s5);
|
|
21907
22117
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
21908
|
-
s5 = peg$
|
|
22118
|
+
s5 = peg$c13;
|
|
21909
22119
|
peg$currPos++;
|
|
21910
22120
|
} else {
|
|
21911
22121
|
s5 = peg$FAILED;
|
|
21912
22122
|
if (peg$silentFails === 0) {
|
|
21913
|
-
peg$fail(peg$
|
|
22123
|
+
peg$fail(peg$e17);
|
|
21914
22124
|
}
|
|
21915
22125
|
}
|
|
21916
22126
|
}
|
|
@@ -21970,7 +22180,7 @@ function peg$parse(input, options) {
|
|
|
21970
22180
|
s5 = input.substring(s5, peg$currPos);
|
|
21971
22181
|
s6 = peg$parseBlockTag();
|
|
21972
22182
|
if (s6 !== peg$FAILED) {
|
|
21973
|
-
s0 = peg$
|
|
22183
|
+
s0 = peg$f71(s2, s5);
|
|
21974
22184
|
} else {
|
|
21975
22185
|
peg$currPos = s0;
|
|
21976
22186
|
s0 = peg$FAILED;
|
|
@@ -22008,34 +22218,34 @@ function peg$parse(input, options) {
|
|
|
22008
22218
|
}
|
|
22009
22219
|
if (s2 !== peg$FAILED) {
|
|
22010
22220
|
if (input.charCodeAt(peg$currPos) === 58) {
|
|
22011
|
-
s3 = peg$
|
|
22221
|
+
s3 = peg$c6;
|
|
22012
22222
|
peg$currPos++;
|
|
22013
22223
|
} else {
|
|
22014
22224
|
s3 = peg$FAILED;
|
|
22015
22225
|
if (peg$silentFails === 0) {
|
|
22016
|
-
peg$fail(peg$
|
|
22226
|
+
peg$fail(peg$e9);
|
|
22017
22227
|
}
|
|
22018
22228
|
}
|
|
22019
22229
|
if (s3 !== peg$FAILED) {
|
|
22020
22230
|
s4 = [];
|
|
22021
22231
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
22022
|
-
s5 = peg$
|
|
22232
|
+
s5 = peg$c13;
|
|
22023
22233
|
peg$currPos++;
|
|
22024
22234
|
} else {
|
|
22025
22235
|
s5 = peg$FAILED;
|
|
22026
22236
|
if (peg$silentFails === 0) {
|
|
22027
|
-
peg$fail(peg$
|
|
22237
|
+
peg$fail(peg$e17);
|
|
22028
22238
|
}
|
|
22029
22239
|
}
|
|
22030
22240
|
while (s5 !== peg$FAILED) {
|
|
22031
22241
|
s4.push(s5);
|
|
22032
22242
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
22033
|
-
s5 = peg$
|
|
22243
|
+
s5 = peg$c13;
|
|
22034
22244
|
peg$currPos++;
|
|
22035
22245
|
} else {
|
|
22036
22246
|
s5 = peg$FAILED;
|
|
22037
22247
|
if (peg$silentFails === 0) {
|
|
22038
|
-
peg$fail(peg$
|
|
22248
|
+
peg$fail(peg$e17);
|
|
22039
22249
|
}
|
|
22040
22250
|
}
|
|
22041
22251
|
}
|
|
@@ -22043,7 +22253,7 @@ function peg$parse(input, options) {
|
|
|
22043
22253
|
if (s5 !== peg$FAILED) {
|
|
22044
22254
|
s6 = peg$parseBlockTag();
|
|
22045
22255
|
if (s6 !== peg$FAILED) {
|
|
22046
|
-
s0 = peg$
|
|
22256
|
+
s0 = peg$f72(s2, s5);
|
|
22047
22257
|
} else {
|
|
22048
22258
|
peg$currPos = s0;
|
|
22049
22259
|
s0 = peg$FAILED;
|
|
@@ -22085,34 +22295,34 @@ function peg$parse(input, options) {
|
|
|
22085
22295
|
}
|
|
22086
22296
|
if (s2 !== peg$FAILED) {
|
|
22087
22297
|
if (input.charCodeAt(peg$currPos) === 58) {
|
|
22088
|
-
s3 = peg$
|
|
22298
|
+
s3 = peg$c6;
|
|
22089
22299
|
peg$currPos++;
|
|
22090
22300
|
} else {
|
|
22091
22301
|
s3 = peg$FAILED;
|
|
22092
22302
|
if (peg$silentFails === 0) {
|
|
22093
|
-
peg$fail(peg$
|
|
22303
|
+
peg$fail(peg$e9);
|
|
22094
22304
|
}
|
|
22095
22305
|
}
|
|
22096
22306
|
if (s3 !== peg$FAILED) {
|
|
22097
22307
|
s4 = [];
|
|
22098
22308
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
22099
|
-
s5 = peg$
|
|
22309
|
+
s5 = peg$c13;
|
|
22100
22310
|
peg$currPos++;
|
|
22101
22311
|
} else {
|
|
22102
22312
|
s5 = peg$FAILED;
|
|
22103
22313
|
if (peg$silentFails === 0) {
|
|
22104
|
-
peg$fail(peg$
|
|
22314
|
+
peg$fail(peg$e17);
|
|
22105
22315
|
}
|
|
22106
22316
|
}
|
|
22107
22317
|
while (s5 !== peg$FAILED) {
|
|
22108
22318
|
s4.push(s5);
|
|
22109
22319
|
if (input.charCodeAt(peg$currPos) === 32) {
|
|
22110
|
-
s5 = peg$
|
|
22320
|
+
s5 = peg$c13;
|
|
22111
22321
|
peg$currPos++;
|
|
22112
22322
|
} else {
|
|
22113
22323
|
s5 = peg$FAILED;
|
|
22114
22324
|
if (peg$silentFails === 0) {
|
|
22115
|
-
peg$fail(peg$
|
|
22325
|
+
peg$fail(peg$e17);
|
|
22116
22326
|
}
|
|
22117
22327
|
}
|
|
22118
22328
|
}
|
|
@@ -22120,7 +22330,7 @@ function peg$parse(input, options) {
|
|
|
22120
22330
|
if (s5 !== peg$FAILED) {
|
|
22121
22331
|
s6 = peg$parseBlockTag();
|
|
22122
22332
|
if (s6 !== peg$FAILED) {
|
|
22123
|
-
s0 = peg$
|
|
22333
|
+
s0 = peg$f73(s2, s5);
|
|
22124
22334
|
} else {
|
|
22125
22335
|
peg$currPos = s0;
|
|
22126
22336
|
s0 = peg$FAILED;
|
|
@@ -22360,7 +22570,7 @@ function peg$parse(input, options) {
|
|
|
22360
22570
|
s2 = input.substring(s2, peg$currPos);
|
|
22361
22571
|
s3 = peg$parseBlockTag();
|
|
22362
22572
|
if (s3 !== peg$FAILED) {
|
|
22363
|
-
s0 = peg$
|
|
22573
|
+
s0 = peg$f74(s2);
|
|
22364
22574
|
} else {
|
|
22365
22575
|
peg$currPos = s0;
|
|
22366
22576
|
s0 = peg$FAILED;
|
|
@@ -22504,7 +22714,7 @@ function peg$parse(input, options) {
|
|
|
22504
22714
|
s6 = input.substring(s6, peg$currPos);
|
|
22505
22715
|
s7 = peg$parseBlockTag();
|
|
22506
22716
|
if (s7 !== peg$FAILED) {
|
|
22507
|
-
s0 = peg$
|
|
22717
|
+
s0 = peg$f75(s2, s3, s6);
|
|
22508
22718
|
} else {
|
|
22509
22719
|
peg$currPos = s0;
|
|
22510
22720
|
s0 = peg$FAILED;
|
|
@@ -22655,7 +22865,7 @@ function peg$parse(input, options) {
|
|
|
22655
22865
|
s5 = input.substring(s5, peg$currPos);
|
|
22656
22866
|
s6 = peg$parseBlockTag();
|
|
22657
22867
|
if (s6 !== peg$FAILED) {
|
|
22658
|
-
s0 = peg$
|
|
22868
|
+
s0 = peg$f76(s2, s5);
|
|
22659
22869
|
} else {
|
|
22660
22870
|
peg$currPos = s0;
|
|
22661
22871
|
s0 = peg$FAILED;
|
|
@@ -22740,7 +22950,7 @@ function peg$parse(input, options) {
|
|
|
22740
22950
|
s2 = input.substring(s2, peg$currPos);
|
|
22741
22951
|
s3 = peg$parseBlockTag();
|
|
22742
22952
|
if (s3 !== peg$FAILED) {
|
|
22743
|
-
s0 = peg$
|
|
22953
|
+
s0 = peg$f77(s2);
|
|
22744
22954
|
} else {
|
|
22745
22955
|
peg$currPos = s0;
|
|
22746
22956
|
s0 = peg$FAILED;
|
|
@@ -22817,7 +23027,7 @@ function peg$parse(input, options) {
|
|
|
22817
23027
|
s2 = input.substring(s2, peg$currPos);
|
|
22818
23028
|
s3 = peg$parseBlockTag();
|
|
22819
23029
|
if (s3 !== peg$FAILED) {
|
|
22820
|
-
s0 = peg$
|
|
23030
|
+
s0 = peg$f78(s2);
|
|
22821
23031
|
} else {
|
|
22822
23032
|
peg$currPos = s0;
|
|
22823
23033
|
s0 = peg$FAILED;
|
|
@@ -22895,7 +23105,7 @@ function peg$parse(input, options) {
|
|
|
22895
23105
|
s3 = peg$parseBlockTag();
|
|
22896
23106
|
if (s3 !== peg$FAILED) {
|
|
22897
23107
|
s4 = peg$parseMediaChain();
|
|
22898
|
-
s0 = peg$
|
|
23108
|
+
s0 = peg$f79(s2, s4);
|
|
22899
23109
|
} else {
|
|
22900
23110
|
peg$currPos = s0;
|
|
22901
23111
|
s0 = peg$FAILED;
|
|
@@ -22972,7 +23182,7 @@ function peg$parse(input, options) {
|
|
|
22972
23182
|
s2 = input.substring(s2, peg$currPos);
|
|
22973
23183
|
s3 = peg$parseBlockTag();
|
|
22974
23184
|
if (s3 !== peg$FAILED) {
|
|
22975
|
-
s0 = peg$
|
|
23185
|
+
s0 = peg$f80(s2);
|
|
22976
23186
|
} else {
|
|
22977
23187
|
peg$currPos = s0;
|
|
22978
23188
|
s0 = peg$FAILED;
|
|
@@ -23049,7 +23259,7 @@ function peg$parse(input, options) {
|
|
|
23049
23259
|
s2 = input.substring(s2, peg$currPos);
|
|
23050
23260
|
s3 = peg$parseBlockTag();
|
|
23051
23261
|
if (s3 !== peg$FAILED) {
|
|
23052
|
-
s0 = peg$
|
|
23262
|
+
s0 = peg$f81(s2);
|
|
23053
23263
|
} else {
|
|
23054
23264
|
peg$currPos = s0;
|
|
23055
23265
|
s0 = peg$FAILED;
|
|
@@ -23126,7 +23336,7 @@ function peg$parse(input, options) {
|
|
|
23126
23336
|
s2 = input.substring(s2, peg$currPos);
|
|
23127
23337
|
s3 = peg$parseBlockTag();
|
|
23128
23338
|
if (s3 !== peg$FAILED) {
|
|
23129
|
-
s0 = peg$
|
|
23339
|
+
s0 = peg$f82(s2);
|
|
23130
23340
|
} else {
|
|
23131
23341
|
peg$currPos = s0;
|
|
23132
23342
|
s0 = peg$FAILED;
|
|
@@ -23137,19 +23347,19 @@ function peg$parse(input, options) {
|
|
|
23137
23347
|
}
|
|
23138
23348
|
if (s0 === peg$FAILED) {
|
|
23139
23349
|
s0 = peg$currPos;
|
|
23140
|
-
if (input.substr(peg$currPos, 4) === peg$
|
|
23141
|
-
s1 = peg$
|
|
23350
|
+
if (input.substr(peg$currPos, 4) === peg$c5) {
|
|
23351
|
+
s1 = peg$c5;
|
|
23142
23352
|
peg$currPos += 4;
|
|
23143
23353
|
} else {
|
|
23144
23354
|
s1 = peg$FAILED;
|
|
23145
23355
|
if (peg$silentFails === 0) {
|
|
23146
|
-
peg$fail(peg$
|
|
23356
|
+
peg$fail(peg$e7);
|
|
23147
23357
|
}
|
|
23148
23358
|
}
|
|
23149
23359
|
if (s1 !== peg$FAILED) {
|
|
23150
23360
|
s2 = peg$parseBlockTag();
|
|
23151
23361
|
if (s2 !== peg$FAILED) {
|
|
23152
|
-
s0 = peg$
|
|
23362
|
+
s0 = peg$f83();
|
|
23153
23363
|
} else {
|
|
23154
23364
|
peg$currPos = s0;
|
|
23155
23365
|
s0 = peg$FAILED;
|
|
@@ -23226,7 +23436,7 @@ function peg$parse(input, options) {
|
|
|
23226
23436
|
s2 = input.substring(s2, peg$currPos);
|
|
23227
23437
|
s3 = peg$parseBlockTag();
|
|
23228
23438
|
if (s3 !== peg$FAILED) {
|
|
23229
|
-
s0 = peg$
|
|
23439
|
+
s0 = peg$f84(s2);
|
|
23230
23440
|
} else {
|
|
23231
23441
|
peg$currPos = s0;
|
|
23232
23442
|
s0 = peg$FAILED;
|
|
@@ -23249,7 +23459,7 @@ function peg$parse(input, options) {
|
|
|
23249
23459
|
if (s1 !== peg$FAILED) {
|
|
23250
23460
|
s2 = peg$parseBlockTag();
|
|
23251
23461
|
if (s2 !== peg$FAILED) {
|
|
23252
|
-
s0 = peg$
|
|
23462
|
+
s0 = peg$f85();
|
|
23253
23463
|
} else {
|
|
23254
23464
|
peg$currPos = s0;
|
|
23255
23465
|
s0 = peg$FAILED;
|
|
@@ -23326,7 +23536,7 @@ function peg$parse(input, options) {
|
|
|
23326
23536
|
s2 = input.substring(s2, peg$currPos);
|
|
23327
23537
|
s3 = peg$parseBlockTag();
|
|
23328
23538
|
if (s3 !== peg$FAILED) {
|
|
23329
|
-
s0 = peg$
|
|
23539
|
+
s0 = peg$f86(s2);
|
|
23330
23540
|
} else {
|
|
23331
23541
|
peg$currPos = s0;
|
|
23332
23542
|
s0 = peg$FAILED;
|
|
@@ -23427,7 +23637,7 @@ function peg$parse(input, options) {
|
|
|
23427
23637
|
if (s2 !== peg$FAILED) {
|
|
23428
23638
|
s3 = peg$parseBlockTag();
|
|
23429
23639
|
if (s3 !== peg$FAILED) {
|
|
23430
|
-
s0 = peg$
|
|
23640
|
+
s0 = peg$f87(s2);
|
|
23431
23641
|
} else {
|
|
23432
23642
|
peg$currPos = s0;
|
|
23433
23643
|
s0 = peg$FAILED;
|
|
@@ -23456,7 +23666,7 @@ function peg$parse(input, options) {
|
|
|
23456
23666
|
if (s2 !== peg$FAILED) {
|
|
23457
23667
|
s3 = peg$parseBlockTag();
|
|
23458
23668
|
if (s3 !== peg$FAILED) {
|
|
23459
|
-
s0 = peg$
|
|
23669
|
+
s0 = peg$f88(s2);
|
|
23460
23670
|
} else {
|
|
23461
23671
|
peg$currPos = s0;
|
|
23462
23672
|
s0 = peg$FAILED;
|
|
@@ -23537,7 +23747,7 @@ function peg$parse(input, options) {
|
|
|
23537
23747
|
s2 = input.substring(s2, peg$currPos);
|
|
23538
23748
|
s3 = peg$parseBlockTag();
|
|
23539
23749
|
if (s3 !== peg$FAILED) {
|
|
23540
|
-
s0 = peg$
|
|
23750
|
+
s0 = peg$f89(s2);
|
|
23541
23751
|
} else {
|
|
23542
23752
|
peg$currPos = s0;
|
|
23543
23753
|
s0 = peg$FAILED;
|
|
@@ -23552,7 +23762,7 @@ function peg$parse(input, options) {
|
|
|
23552
23762
|
if (s1 !== peg$FAILED) {
|
|
23553
23763
|
s2 = peg$parseBlockTag();
|
|
23554
23764
|
if (s2 !== peg$FAILED) {
|
|
23555
|
-
s0 = peg$
|
|
23765
|
+
s0 = peg$f90(s1);
|
|
23556
23766
|
} else {
|
|
23557
23767
|
peg$currPos = s0;
|
|
23558
23768
|
s0 = peg$FAILED;
|
|
@@ -23629,7 +23839,7 @@ function peg$parse(input, options) {
|
|
|
23629
23839
|
s2 = input.substring(s2, peg$currPos);
|
|
23630
23840
|
s3 = peg$parseBlockTag();
|
|
23631
23841
|
if (s3 !== peg$FAILED) {
|
|
23632
|
-
s0 = peg$
|
|
23842
|
+
s0 = peg$f91(s2);
|
|
23633
23843
|
} else {
|
|
23634
23844
|
peg$currPos = s0;
|
|
23635
23845
|
s0 = peg$FAILED;
|
|
@@ -23734,7 +23944,7 @@ function peg$parse(input, options) {
|
|
|
23734
23944
|
}
|
|
23735
23945
|
}
|
|
23736
23946
|
s2 = input.substring(s2, peg$currPos);
|
|
23737
|
-
s0 = peg$
|
|
23947
|
+
s0 = peg$f92(s2);
|
|
23738
23948
|
} else {
|
|
23739
23949
|
peg$currPos = s0;
|
|
23740
23950
|
s0 = peg$FAILED;
|
|
@@ -24443,7 +24653,7 @@ function peg$parse(input, options) {
|
|
|
24443
24653
|
peg$silentFails++;
|
|
24444
24654
|
s0 = peg$currPos;
|
|
24445
24655
|
s1 = peg$parsebitmarkMinusMinusString();
|
|
24446
|
-
s1 = peg$
|
|
24656
|
+
s1 = peg$f93(s1);
|
|
24447
24657
|
s0 = s1;
|
|
24448
24658
|
peg$silentFails--;
|
|
24449
24659
|
return s0;
|
|
@@ -24468,7 +24678,7 @@ function peg$parse(input, options) {
|
|
|
24468
24678
|
s3 = peg$parsePlainText();
|
|
24469
24679
|
}
|
|
24470
24680
|
}
|
|
24471
|
-
s0 = peg$
|
|
24681
|
+
s0 = peg$f94(s1, s2);
|
|
24472
24682
|
peg$silentFails--;
|
|
24473
24683
|
return s0;
|
|
24474
24684
|
}
|
|
@@ -24477,7 +24687,7 @@ function peg$parse(input, options) {
|
|
|
24477
24687
|
s0 = peg$currPos;
|
|
24478
24688
|
s1 = peg$parseNL();
|
|
24479
24689
|
if (s1 !== peg$FAILED) {
|
|
24480
|
-
s1 = peg$
|
|
24690
|
+
s1 = peg$f95();
|
|
24481
24691
|
}
|
|
24482
24692
|
s0 = s1;
|
|
24483
24693
|
if (s0 === peg$FAILED) {
|
|
@@ -24605,7 +24815,7 @@ function peg$parse(input, options) {
|
|
|
24605
24815
|
s1 = s2;
|
|
24606
24816
|
}
|
|
24607
24817
|
if (s1 !== peg$FAILED) {
|
|
24608
|
-
s1 = peg$
|
|
24818
|
+
s1 = peg$f96(s1);
|
|
24609
24819
|
}
|
|
24610
24820
|
s0 = s1;
|
|
24611
24821
|
}
|
|
@@ -24778,7 +24988,7 @@ function peg$parse(input, options) {
|
|
|
24778
24988
|
} else {
|
|
24779
24989
|
s4 = peg$FAILED;
|
|
24780
24990
|
if (peg$silentFails === 0) {
|
|
24781
|
-
peg$fail(peg$
|
|
24991
|
+
peg$fail(peg$e16);
|
|
24782
24992
|
}
|
|
24783
24993
|
}
|
|
24784
24994
|
if (s4 !== peg$FAILED) {
|
|
@@ -24790,7 +25000,7 @@ function peg$parse(input, options) {
|
|
|
24790
25000
|
} else {
|
|
24791
25001
|
s4 = peg$FAILED;
|
|
24792
25002
|
if (peg$silentFails === 0) {
|
|
24793
|
-
peg$fail(peg$
|
|
25003
|
+
peg$fail(peg$e16);
|
|
24794
25004
|
}
|
|
24795
25005
|
}
|
|
24796
25006
|
}
|
|
@@ -24805,7 +25015,7 @@ function peg$parse(input, options) {
|
|
|
24805
25015
|
if (s2 !== peg$FAILED) {
|
|
24806
25016
|
s3 = peg$parseBodyBitCloseTag();
|
|
24807
25017
|
if (s3 !== peg$FAILED) {
|
|
24808
|
-
s0 = peg$
|
|
25018
|
+
s0 = peg$f97(s2);
|
|
24809
25019
|
} else {
|
|
24810
25020
|
peg$currPos = s0;
|
|
24811
25021
|
s0 = peg$FAILED;
|
|
@@ -24894,7 +25104,7 @@ function peg$parse(input, options) {
|
|
|
24894
25104
|
s2 = input.substring(s2, peg$currPos);
|
|
24895
25105
|
s3 = peg$parseBoldTag();
|
|
24896
25106
|
if (s3 !== peg$FAILED) {
|
|
24897
|
-
s0 = peg$
|
|
25107
|
+
s0 = peg$f98(s2);
|
|
24898
25108
|
} else {
|
|
24899
25109
|
peg$currPos = s0;
|
|
24900
25110
|
s0 = peg$FAILED;
|
|
@@ -24979,7 +25189,7 @@ function peg$parse(input, options) {
|
|
|
24979
25189
|
s2 = input.substring(s2, peg$currPos);
|
|
24980
25190
|
s3 = peg$parseItalicTag();
|
|
24981
25191
|
if (s3 !== peg$FAILED) {
|
|
24982
|
-
s0 = peg$
|
|
25192
|
+
s0 = peg$f99(s2);
|
|
24983
25193
|
} else {
|
|
24984
25194
|
peg$currPos = s0;
|
|
24985
25195
|
s0 = peg$FAILED;
|
|
@@ -25064,7 +25274,7 @@ function peg$parse(input, options) {
|
|
|
25064
25274
|
s2 = input.substring(s2, peg$currPos);
|
|
25065
25275
|
s3 = peg$parseLightTag();
|
|
25066
25276
|
if (s3 !== peg$FAILED) {
|
|
25067
|
-
s0 = peg$
|
|
25277
|
+
s0 = peg$f100(s2);
|
|
25068
25278
|
} else {
|
|
25069
25279
|
peg$currPos = s0;
|
|
25070
25280
|
s0 = peg$FAILED;
|
|
@@ -25149,7 +25359,7 @@ function peg$parse(input, options) {
|
|
|
25149
25359
|
s2 = input.substring(s2, peg$currPos);
|
|
25150
25360
|
s3 = peg$parseHighlightTag();
|
|
25151
25361
|
if (s3 !== peg$FAILED) {
|
|
25152
|
-
s0 = peg$
|
|
25362
|
+
s0 = peg$f101(s2);
|
|
25153
25363
|
} else {
|
|
25154
25364
|
peg$currPos = s0;
|
|
25155
25365
|
s0 = peg$FAILED;
|
|
@@ -25533,7 +25743,7 @@ function peg$parse(input, options) {
|
|
|
25533
25743
|
}
|
|
25534
25744
|
}
|
|
25535
25745
|
s2 = input.substring(s2, peg$currPos);
|
|
25536
|
-
s0 = peg$
|
|
25746
|
+
s0 = peg$f102(s1, s2);
|
|
25537
25747
|
} else {
|
|
25538
25748
|
peg$currPos = s0;
|
|
25539
25749
|
s0 = peg$FAILED;
|
|
@@ -25554,7 +25764,17 @@ function peg$parse(input, options) {
|
|
|
25554
25764
|
return s0;
|
|
25555
25765
|
}
|
|
25556
25766
|
var indentStack = [], indent = "";
|
|
25557
|
-
input = input.
|
|
25767
|
+
input = input.replace(/\s+$/, "");
|
|
25768
|
+
var _firstNonWs = input.search(/\S/);
|
|
25769
|
+
if (_firstNonWs < 0) {
|
|
25770
|
+
input = "";
|
|
25771
|
+
} else {
|
|
25772
|
+
var _lineStart = input.lastIndexOf("\n", _firstNonWs) + 1;
|
|
25773
|
+
var _lead = input.slice(_lineStart, _firstNonWs);
|
|
25774
|
+
var _rest = input.slice(_firstNonWs);
|
|
25775
|
+
var _isIndentedListItem = /^\t+$/.test(_lead) && /^•([0-9]+[Ii]?|_|[Aa]|\+|-)? /.test(_rest);
|
|
25776
|
+
input = _isIndentedListItem ? _lead + _rest : _rest;
|
|
25777
|
+
}
|
|
25558
25778
|
peg$result = peg$startRuleFunction();
|
|
25559
25779
|
const peg$success = peg$result !== peg$FAILED && peg$currPos === input.length;
|
|
25560
25780
|
function peg$throw() {
|
|
@@ -25648,14 +25868,13 @@ var TextParser = class {
|
|
|
25648
25868
|
*/
|
|
25649
25869
|
toAst(text, options) {
|
|
25650
25870
|
if (Array.isArray(text)) return text;
|
|
25651
|
-
|
|
25871
|
+
const str = text ?? "";
|
|
25652
25872
|
if (!str) return [];
|
|
25653
25873
|
const opts = Object.assign({}, options);
|
|
25654
25874
|
let startRule = "bitmarkPlusPlus";
|
|
25655
25875
|
if (opts.location === TextLocation.tag) {
|
|
25656
25876
|
startRule = "bitmarkPlus";
|
|
25657
25877
|
}
|
|
25658
|
-
str = str.trim();
|
|
25659
25878
|
return parse(str, {
|
|
25660
25879
|
startRule
|
|
25661
25880
|
});
|
|
@@ -29126,6 +29345,7 @@ var Builder = class extends BaseBuilder {
|
|
|
29126
29345
|
if (!data) return void 0;
|
|
29127
29346
|
let isExample = false;
|
|
29128
29347
|
for (const c of data.cells || []) {
|
|
29348
|
+
if (!c) continue;
|
|
29129
29349
|
if (data.__isDefaultExample && !c.isExample) {
|
|
29130
29350
|
c.isExample = true;
|
|
29131
29351
|
}
|