@gmb/bitmark-parser-generator 1.5.13 → 1.5.14

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.
@@ -230,74 +230,79 @@ function peg$parse(input, options) {
230
230
  var peg$c18 = "@";
231
231
  var peg$c19 = "width";
232
232
  var peg$c20 = "height";
233
- var peg$c21 = "=";
234
- var peg$c22 = "\uD835\uDC53";
235
- var peg$c23 = "link:";
236
- var peg$c24 = "var:";
237
- var peg$c25 = "code:";
238
- var peg$c26 = "timer";
239
- var peg$c27 = "timer:";
240
- var peg$c28 = "duration:";
241
- var peg$c29 = "P";
242
- var peg$c30 = "color:";
243
- var peg$c31 = "bold";
244
- var peg$c32 = "italic";
245
- var peg$c33 = "light";
246
- var peg$c34 = "highlight";
247
- var peg$c35 = "strike";
248
- var peg$c36 = "subscript";
249
- var peg$c37 = "superscript";
250
- var peg$c38 = "ins";
251
- var peg$c39 = "del";
252
- var peg$c40 = "underline";
253
- var peg$c41 = "doubleUnderline";
254
- var peg$c42 = "circle";
255
- var peg$c43 = "languageEm";
256
- var peg$c44 = "userUnderline";
257
- var peg$c45 = "userDoubleUnderline";
258
- var peg$c46 = "userStrike";
259
- var peg$c47 = "userCircle";
260
- var peg$c48 = "userHighlight";
261
- var peg$c49 = "aqua";
262
- var peg$c50 = "black";
263
- var peg$c51 = "blue";
264
- var peg$c52 = "pink";
265
- var peg$c53 = "fuchsia";
266
- var peg$c54 = "lightgrey";
267
- var peg$c55 = "gray";
268
- var peg$c56 = "darkgray";
269
- var peg$c57 = "green";
270
- var peg$c58 = "lime";
271
- var peg$c59 = "magenta";
272
- var peg$c60 = "maroon";
273
- var peg$c61 = "navy";
274
- var peg$c62 = "olive";
275
- var peg$c63 = "orange";
276
- var peg$c64 = "purple";
277
- var peg$c65 = "red";
278
- var peg$c66 = "silver";
279
- var peg$c67 = "teal";
280
- var peg$c68 = "violet";
281
- var peg$c69 = "white";
282
- var peg$c70 = "yellow";
283
- var peg$c71 = "*";
284
- var peg$c72 = "_";
285
- var peg$c73 = "`";
286
- var peg$c74 = "!";
287
- var peg$c75 = "[!";
288
- var peg$c76 = "]";
289
- var peg$c77 = "\n";
290
- var peg$c78 = "\r\n";
291
- var peg$c79 = "\r";
292
- var peg$c80 = "\u2028";
293
- var peg$c81 = "\u2029";
294
- var peg$c82 = "http";
295
- var peg$c83 = "s";
296
- var peg$c84 = "://";
297
- var peg$c85 = "mailto:";
298
- var peg$c86 = "~";
299
- var peg$c87 = "^";
300
- var peg$c88 = "'";
233
+ var peg$c21 = "alignment";
234
+ var peg$c22 = "captionAlign";
235
+ var peg$c23 = "left";
236
+ var peg$c24 = "center";
237
+ var peg$c25 = "right";
238
+ var peg$c26 = "=";
239
+ var peg$c27 = "\uD835\uDC53";
240
+ var peg$c28 = "link:";
241
+ var peg$c29 = "var:";
242
+ var peg$c30 = "code:";
243
+ var peg$c31 = "timer";
244
+ var peg$c32 = "timer:";
245
+ var peg$c33 = "duration:";
246
+ var peg$c34 = "P";
247
+ var peg$c35 = "color:";
248
+ var peg$c36 = "bold";
249
+ var peg$c37 = "italic";
250
+ var peg$c38 = "light";
251
+ var peg$c39 = "highlight";
252
+ var peg$c40 = "strike";
253
+ var peg$c41 = "subscript";
254
+ var peg$c42 = "superscript";
255
+ var peg$c43 = "ins";
256
+ var peg$c44 = "del";
257
+ var peg$c45 = "underline";
258
+ var peg$c46 = "doubleUnderline";
259
+ var peg$c47 = "circle";
260
+ var peg$c48 = "languageEm";
261
+ var peg$c49 = "userUnderline";
262
+ var peg$c50 = "userDoubleUnderline";
263
+ var peg$c51 = "userStrike";
264
+ var peg$c52 = "userCircle";
265
+ var peg$c53 = "userHighlight";
266
+ var peg$c54 = "aqua";
267
+ var peg$c55 = "black";
268
+ var peg$c56 = "blue";
269
+ var peg$c57 = "pink";
270
+ var peg$c58 = "fuchsia";
271
+ var peg$c59 = "lightgrey";
272
+ var peg$c60 = "gray";
273
+ var peg$c61 = "darkgray";
274
+ var peg$c62 = "green";
275
+ var peg$c63 = "lime";
276
+ var peg$c64 = "magenta";
277
+ var peg$c65 = "maroon";
278
+ var peg$c66 = "navy";
279
+ var peg$c67 = "olive";
280
+ var peg$c68 = "orange";
281
+ var peg$c69 = "purple";
282
+ var peg$c70 = "red";
283
+ var peg$c71 = "silver";
284
+ var peg$c72 = "teal";
285
+ var peg$c73 = "violet";
286
+ var peg$c74 = "white";
287
+ var peg$c75 = "yellow";
288
+ var peg$c76 = "*";
289
+ var peg$c77 = "_";
290
+ var peg$c78 = "`";
291
+ var peg$c79 = "!";
292
+ var peg$c80 = "[!";
293
+ var peg$c81 = "]";
294
+ var peg$c82 = "\n";
295
+ var peg$c83 = "\r\n";
296
+ var peg$c84 = "\r";
297
+ var peg$c85 = "\u2028";
298
+ var peg$c86 = "\u2029";
299
+ var peg$c87 = "http";
300
+ var peg$c88 = "s";
301
+ var peg$c89 = "://";
302
+ var peg$c90 = "mailto:";
303
+ var peg$c91 = "~";
304
+ var peg$c92 = "^";
305
+ var peg$c93 = "'";
301
306
  var peg$r0 = /^[ \t]/;
302
307
  var peg$r1 = /^[0-9]/;
303
308
  var peg$r2 = /^[\t\v\f \xA0\uFEFF \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;
@@ -330,87 +335,92 @@ function peg$parse(input, options) {
330
335
  var peg$e22 = peg$classExpectation([["0", "9"]], false, false);
331
336
  var peg$e23 = peg$literalExpectation("width", false);
332
337
  var peg$e24 = peg$literalExpectation("height", false);
333
- var peg$e25 = peg$otherExpectation("StyledString");
334
- var peg$e26 = peg$literalExpectation("=", false);
335
- var peg$e27 = peg$literalExpectation("\uD835\uDC53", false);
336
- var peg$e28 = peg$literalExpectation("link:", false);
337
- var peg$e29 = peg$literalExpectation("var:", false);
338
- var peg$e30 = peg$literalExpectation("code:", false);
339
- var peg$e31 = peg$literalExpectation("timer", false);
340
- var peg$e32 = peg$literalExpectation("timer:", false);
341
- var peg$e33 = peg$literalExpectation("duration:", false);
342
- var peg$e34 = peg$literalExpectation("P", false);
343
- var peg$e35 = peg$literalExpectation("color:", false);
344
- var peg$e36 = peg$literalExpectation("bold", false);
345
- var peg$e37 = peg$literalExpectation("italic", false);
346
- var peg$e38 = peg$literalExpectation("light", false);
347
- var peg$e39 = peg$literalExpectation("highlight", false);
348
- var peg$e40 = peg$literalExpectation("strike", false);
349
- var peg$e41 = peg$literalExpectation("subscript", false);
350
- var peg$e42 = peg$literalExpectation("superscript", false);
351
- var peg$e43 = peg$literalExpectation("ins", false);
352
- var peg$e44 = peg$literalExpectation("del", false);
353
- var peg$e45 = peg$literalExpectation("underline", false);
354
- var peg$e46 = peg$literalExpectation("doubleUnderline", false);
355
- var peg$e47 = peg$literalExpectation("circle", false);
356
- var peg$e48 = peg$literalExpectation("languageEm", false);
357
- var peg$e49 = peg$literalExpectation("userUnderline", false);
358
- var peg$e50 = peg$literalExpectation("userDoubleUnderline", false);
359
- var peg$e51 = peg$literalExpectation("userStrike", false);
360
- var peg$e52 = peg$literalExpectation("userCircle", false);
361
- var peg$e53 = peg$literalExpectation("userHighlight", false);
362
- var peg$e54 = peg$literalExpectation("aqua", false);
363
- var peg$e55 = peg$literalExpectation("black", false);
364
- var peg$e56 = peg$literalExpectation("blue", false);
365
- var peg$e57 = peg$literalExpectation("pink", false);
366
- var peg$e58 = peg$literalExpectation("fuchsia", false);
367
- var peg$e59 = peg$literalExpectation("lightgrey", false);
368
- var peg$e60 = peg$literalExpectation("gray", false);
369
- var peg$e61 = peg$literalExpectation("darkgray", false);
370
- var peg$e62 = peg$literalExpectation("green", false);
371
- var peg$e63 = peg$literalExpectation("lime", false);
372
- var peg$e64 = peg$literalExpectation("magenta", false);
373
- var peg$e65 = peg$literalExpectation("maroon", false);
374
- var peg$e66 = peg$literalExpectation("navy", false);
375
- var peg$e67 = peg$literalExpectation("olive", false);
376
- var peg$e68 = peg$literalExpectation("orange", false);
377
- var peg$e69 = peg$literalExpectation("purple", false);
378
- var peg$e70 = peg$literalExpectation("red", false);
379
- var peg$e71 = peg$literalExpectation("silver", false);
380
- var peg$e72 = peg$literalExpectation("teal", false);
381
- var peg$e73 = peg$literalExpectation("violet", false);
382
- var peg$e74 = peg$literalExpectation("white", false);
383
- var peg$e75 = peg$literalExpectation("yellow", false);
384
- var peg$e76 = peg$otherExpectation("MinimalStyledText");
385
- var peg$e77 = peg$otherExpectation("MinimalStyledString");
386
- var peg$e78 = peg$literalExpectation("*", false);
387
- var peg$e79 = peg$literalExpectation("_", false);
388
- var peg$e80 = peg$literalExpectation("`", false);
389
- var peg$e81 = peg$literalExpectation("!", false);
390
- var peg$e82 = peg$literalExpectation("[!", false);
391
- var peg$e83 = peg$literalExpectation("]", false);
392
- var peg$e84 = peg$otherExpectation("Line Terminator");
393
- var peg$e85 = peg$literalExpectation("\n", false);
394
- var peg$e86 = peg$literalExpectation("\r\n", false);
395
- var peg$e87 = peg$literalExpectation("\r", false);
396
- var peg$e88 = peg$literalExpectation("\u2028", false);
397
- var peg$e89 = peg$literalExpectation("\u2029", false);
398
- var peg$e90 = peg$otherExpectation("whitespace in line");
399
- var peg$e91 = peg$otherExpectation("space");
400
- var peg$e92 = peg$otherExpectation("language tag separator");
401
- var peg$e93 = peg$otherExpectation("white space, separator");
402
- var peg$e94 = peg$classExpectation(["\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], false, false);
403
- var peg$e95 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], false, false);
404
- var peg$e96 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false);
405
- var peg$e97 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029", "\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], true, false);
406
- var peg$e98 = peg$literalExpectation("http", false);
407
- var peg$e99 = peg$literalExpectation("s", false);
408
- var peg$e100 = peg$literalExpectation("://", false);
409
- var peg$e101 = peg$literalExpectation("mailto:", false);
410
- var peg$e102 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "!", "*", "'", "(", ")", "=", ["+", "/"], ".", "_", "?", "#", "@", "[", "]", "$", "&", "(", ")", ",", ";", "%", ":", "{", "}"], false, false);
411
- var peg$e103 = peg$literalExpectation("~", false);
412
- var peg$e104 = peg$literalExpectation("^", false);
413
- var peg$e105 = peg$literalExpectation("'", false);
338
+ var peg$e25 = peg$literalExpectation("alignment", false);
339
+ var peg$e26 = peg$literalExpectation("captionAlign", false);
340
+ var peg$e27 = peg$literalExpectation("left", false);
341
+ var peg$e28 = peg$literalExpectation("center", false);
342
+ var peg$e29 = peg$literalExpectation("right", false);
343
+ var peg$e30 = peg$otherExpectation("StyledString");
344
+ var peg$e31 = peg$literalExpectation("=", false);
345
+ var peg$e32 = peg$literalExpectation("\uD835\uDC53", false);
346
+ var peg$e33 = peg$literalExpectation("link:", false);
347
+ var peg$e34 = peg$literalExpectation("var:", false);
348
+ var peg$e35 = peg$literalExpectation("code:", false);
349
+ var peg$e36 = peg$literalExpectation("timer", false);
350
+ var peg$e37 = peg$literalExpectation("timer:", false);
351
+ var peg$e38 = peg$literalExpectation("duration:", false);
352
+ var peg$e39 = peg$literalExpectation("P", false);
353
+ var peg$e40 = peg$literalExpectation("color:", false);
354
+ var peg$e41 = peg$literalExpectation("bold", false);
355
+ var peg$e42 = peg$literalExpectation("italic", false);
356
+ var peg$e43 = peg$literalExpectation("light", false);
357
+ var peg$e44 = peg$literalExpectation("highlight", false);
358
+ var peg$e45 = peg$literalExpectation("strike", false);
359
+ var peg$e46 = peg$literalExpectation("subscript", false);
360
+ var peg$e47 = peg$literalExpectation("superscript", false);
361
+ var peg$e48 = peg$literalExpectation("ins", false);
362
+ var peg$e49 = peg$literalExpectation("del", false);
363
+ var peg$e50 = peg$literalExpectation("underline", false);
364
+ var peg$e51 = peg$literalExpectation("doubleUnderline", false);
365
+ var peg$e52 = peg$literalExpectation("circle", false);
366
+ var peg$e53 = peg$literalExpectation("languageEm", false);
367
+ var peg$e54 = peg$literalExpectation("userUnderline", false);
368
+ var peg$e55 = peg$literalExpectation("userDoubleUnderline", false);
369
+ var peg$e56 = peg$literalExpectation("userStrike", false);
370
+ var peg$e57 = peg$literalExpectation("userCircle", false);
371
+ var peg$e58 = peg$literalExpectation("userHighlight", false);
372
+ var peg$e59 = peg$literalExpectation("aqua", false);
373
+ var peg$e60 = peg$literalExpectation("black", false);
374
+ var peg$e61 = peg$literalExpectation("blue", false);
375
+ var peg$e62 = peg$literalExpectation("pink", false);
376
+ var peg$e63 = peg$literalExpectation("fuchsia", false);
377
+ var peg$e64 = peg$literalExpectation("lightgrey", false);
378
+ var peg$e65 = peg$literalExpectation("gray", false);
379
+ var peg$e66 = peg$literalExpectation("darkgray", false);
380
+ var peg$e67 = peg$literalExpectation("green", false);
381
+ var peg$e68 = peg$literalExpectation("lime", false);
382
+ var peg$e69 = peg$literalExpectation("magenta", false);
383
+ var peg$e70 = peg$literalExpectation("maroon", false);
384
+ var peg$e71 = peg$literalExpectation("navy", false);
385
+ var peg$e72 = peg$literalExpectation("olive", false);
386
+ var peg$e73 = peg$literalExpectation("orange", false);
387
+ var peg$e74 = peg$literalExpectation("purple", false);
388
+ var peg$e75 = peg$literalExpectation("red", false);
389
+ var peg$e76 = peg$literalExpectation("silver", false);
390
+ var peg$e77 = peg$literalExpectation("teal", false);
391
+ var peg$e78 = peg$literalExpectation("violet", false);
392
+ var peg$e79 = peg$literalExpectation("white", false);
393
+ var peg$e80 = peg$literalExpectation("yellow", false);
394
+ var peg$e81 = peg$otherExpectation("MinimalStyledText");
395
+ var peg$e82 = peg$otherExpectation("MinimalStyledString");
396
+ var peg$e83 = peg$literalExpectation("*", false);
397
+ var peg$e84 = peg$literalExpectation("_", false);
398
+ var peg$e85 = peg$literalExpectation("`", false);
399
+ var peg$e86 = peg$literalExpectation("!", false);
400
+ var peg$e87 = peg$literalExpectation("[!", false);
401
+ var peg$e88 = peg$literalExpectation("]", false);
402
+ var peg$e89 = peg$otherExpectation("Line Terminator");
403
+ var peg$e90 = peg$literalExpectation("\n", false);
404
+ var peg$e91 = peg$literalExpectation("\r\n", false);
405
+ var peg$e92 = peg$literalExpectation("\r", false);
406
+ var peg$e93 = peg$literalExpectation("\u2028", false);
407
+ var peg$e94 = peg$literalExpectation("\u2029", false);
408
+ var peg$e95 = peg$otherExpectation("whitespace in line");
409
+ var peg$e96 = peg$otherExpectation("space");
410
+ var peg$e97 = peg$otherExpectation("language tag separator");
411
+ var peg$e98 = peg$otherExpectation("white space, separator");
412
+ var peg$e99 = peg$classExpectation(["\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], false, false);
413
+ var peg$e100 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], false, false);
414
+ var peg$e101 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029"], true, false);
415
+ var peg$e102 = peg$classExpectation(["\n", "\r", "\u2028", "\u2029", "\t", "\v", "\f", " ", "\xA0", "\uFEFF", " ", "\xA0", "\u1680", ["\u2000", "\u200A"], "\u202F", "\u205F", "\u3000"], true, false);
416
+ var peg$e103 = peg$literalExpectation("http", false);
417
+ var peg$e104 = peg$literalExpectation("s", false);
418
+ var peg$e105 = peg$literalExpectation("://", false);
419
+ var peg$e106 = peg$literalExpectation("mailto:", false);
420
+ var peg$e107 = peg$classExpectation([["a", "z"], ["A", "Z"], ["0", "9"], "!", "*", "'", "(", ")", "=", ["+", "/"], ".", "_", "?", "#", "@", "[", "]", "$", "&", "(", ")", ",", ";", "%", ":", "{", "}"], false, false);
421
+ var peg$e108 = peg$literalExpectation("~", false);
422
+ var peg$e109 = peg$literalExpectation("^", false);
423
+ var peg$e110 = peg$literalExpectation("'", false);
414
424
  var peg$f0 = function (b) { return Object.assign({}, b); };
415
425
  var peg$f1 = function (b) { let lb_ = Object.assign({}, b); removeTempParsingParent(lb_); return lb_; };
416
426
  var peg$f2 = function (b) { return Object.assign({}, b); };
@@ -488,6 +498,8 @@ function peg$parse(input, options) {
488
498
  var peg$f33 = function (t) { return t; };
489
499
  var peg$f34 = function (t, u, ch) {
490
500
  const chain = Object.assign({}, ...ch);
501
+ let imageAlignment_ = chain.alignment || "center";
502
+ delete chain.alignment;
491
503
  let textAlign_ = chain.captionAlign || "left";
492
504
  delete chain.captionAlign;
493
505
  let alt_ = chain.alt || null;
@@ -500,7 +512,7 @@ function peg$parse(input, options) {
500
512
  delete chain.zoomDisabled;
501
513
  let image = {
502
514
  type: t,
503
- attrs: Object.assign({ textAlign: textAlign_, src: u, alt: alt_, title: title_, class: class_, zoomDisabled: zoomDisabled_ }, chain)
515
+ attrs: Object.assign({ alignment: imageAlignment_, textAlign: textAlign_, src: u, alt: alt_, title: title_, class: class_, zoomDisabled: zoomDisabled_ }, chain)
504
516
  };
505
517
  return image;
506
518
  };
@@ -509,39 +521,40 @@ function peg$parse(input, options) {
509
521
  var peg$f37 = function (p, v) { return { [p]: parseInt(v) }; };
510
522
  var peg$f38 = function (p, v) { return { type: "error", msg: p + ' must be an positive integer.', found: v }; };
511
523
  var peg$f39 = function (p, v) { return { [p]: v }; };
512
- var peg$f40 = function (p) { return { [p]: true }; };
513
- var peg$f41 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
514
- var peg$f42 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
515
- var peg$f43 = function () { return { "type": "hardBreak" }; };
516
- var peg$f44 = function (t) { return { text: unbreakscape(t), type: "text" }; };
517
- var peg$f45 = function (t) { return { index: +t, type: "bit" }; };
518
- var peg$f46 = function (t, marks) { if (!marks)
524
+ var peg$f40 = function (p, v) { return { [p]: v }; };
525
+ var peg$f41 = function (p) { return { [p]: true }; };
526
+ var peg$f42 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
527
+ var peg$f43 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
528
+ var peg$f44 = function () { return { "type": "hardBreak" }; };
529
+ var peg$f45 = function (t) { return { text: unbreakscape(t), type: "text" }; };
530
+ var peg$f46 = function (t) { return { index: +t, type: "bit" }; };
531
+ var peg$f47 = function (t, marks) { if (!marks)
519
532
  marks = []; return { marks, text: unbreakscape(t), type: "text" }; };
520
- var peg$f47 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
521
- var peg$f48 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
522
- var peg$f49 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
523
- var peg$f50 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
524
- var peg$f51 = function (u) { return { marks: [{ type: "link", attrs: { href: (u.pr + u.t).trim(), target: '_blank' } }], text: u.t, type: "text" }; };
525
- var peg$f52 = function (ch) { return ch; };
526
- var peg$f53 = function (str) { return { type: 'link', attrs: { href: str.trim(), target: '_blank' } }; };
527
- var peg$f54 = function (str) { return { type: 'var', attrs: { name: str.trim() } }; };
528
- var peg$f55 = function () { return { type: 'code', attrs: { language: "plain text" } }; };
529
- var peg$f56 = function (lang) { return { type: 'code', attrs: { language: lang.trim().toLowerCase() } }; };
530
- var peg$f57 = function () { return { type: 'timer', attrs: { name: "" } }; };
531
- var peg$f58 = function (str) { return { type: 'timer', attrs: { name: str.trim() } }; };
532
- var peg$f59 = function (str) { return { type: 'duration', attrs: { duration: str } }; };
533
- var peg$f60 = function (color) { return { type: 'color', attrs: { color } }; };
534
- var peg$f61 = function (style) { return { type: style }; };
535
- var peg$f62 = function (str) { return { type: "comment", comment: str }; };
536
- var peg$f63 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
537
- var peg$f64 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
538
- var peg$f65 = function (t) { return { text: unbreakscape(t), type: "text" }; };
539
- var peg$f66 = function (t) { return { index: +t, type: "bit" }; };
540
- var peg$f67 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
541
- var peg$f68 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
542
- var peg$f69 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
543
- var peg$f70 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
544
- var peg$f71 = function (pr, t) { return { pr, t }; };
533
+ var peg$f48 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
534
+ var peg$f49 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
535
+ var peg$f50 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
536
+ var peg$f51 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
537
+ var peg$f52 = function (u) { return { marks: [{ type: "link", attrs: { href: (u.pr + u.t).trim(), target: '_blank' } }], text: u.t, type: "text" }; };
538
+ var peg$f53 = function (ch) { return ch; };
539
+ var peg$f54 = function (str) { return { type: 'link', attrs: { href: str.trim(), target: '_blank' } }; };
540
+ var peg$f55 = function (str) { return { type: 'var', attrs: { name: str.trim() } }; };
541
+ var peg$f56 = function () { return { type: 'code', attrs: { language: "plain text" } }; };
542
+ var peg$f57 = function (lang) { return { type: 'code', attrs: { language: lang.trim().toLowerCase() } }; };
543
+ var peg$f58 = function () { return { type: 'timer', attrs: { name: "" } }; };
544
+ var peg$f59 = function (str) { return { type: 'timer', attrs: { name: str.trim() } }; };
545
+ var peg$f60 = function (str) { return { type: 'duration', attrs: { duration: str } }; };
546
+ var peg$f61 = function (color) { return { type: 'color', attrs: { color } }; };
547
+ var peg$f62 = function (style) { return { type: style }; };
548
+ var peg$f63 = function (str) { return { type: "comment", comment: str }; };
549
+ var peg$f64 = function (bs) { return [{ type: 'paragraph', content: bs, attrs: {} }]; };
550
+ var peg$f65 = function (first, more) { return first ? [first, ...more.flat()] : more.flat(); };
551
+ var peg$f66 = function (t) { return { text: unbreakscape(t), type: "text" }; };
552
+ var peg$f67 = function (t) { return { index: +t, type: "bit" }; };
553
+ var peg$f68 = function (t) { return { marks: [{ type: "bold" }], text: unbreakscape(t), type: "text" }; };
554
+ var peg$f69 = function (t) { return { marks: [{ type: "italic" }], text: unbreakscape(t), type: "text" }; };
555
+ var peg$f70 = function (t) { return { marks: [{ type: "light" }], text: unbreakscape(t), type: "text" }; };
556
+ var peg$f71 = function (t) { return { marks: [{ type: "highlight" }], text: unbreakscape(t), type: "text" }; };
557
+ var peg$f72 = function (pr, t) { return { pr, t }; };
545
558
  var peg$currPos = 0;
546
559
  var peg$savedPos = 0;
547
560
  var peg$posDetailsCache = [{ line: 1, column: 1 }];
@@ -2773,49 +2786,86 @@ function peg$parse(input, options) {
2773
2786
  if (s1 === peg$FAILED) {
2774
2787
  s1 = null;
2775
2788
  }
2776
- s2 = peg$currPos;
2777
- s3 = [];
2778
- s4 = peg$currPos;
2779
- s5 = peg$currPos;
2780
- peg$silentFails++;
2781
- s6 = peg$parseBlockTag();
2782
- if (s6 === peg$FAILED) {
2789
+ s2 = peg$parseAlignmentTags();
2790
+ if (s2 !== peg$FAILED) {
2783
2791
  if (input.charCodeAt(peg$currPos) === 58) {
2784
- s6 = peg$c1;
2792
+ s3 = peg$c1;
2785
2793
  peg$currPos++;
2786
2794
  }
2787
2795
  else {
2788
- s6 = peg$FAILED;
2796
+ s3 = peg$FAILED;
2789
2797
  if (peg$silentFails === 0) {
2790
2798
  peg$fail(peg$e2);
2791
2799
  }
2792
2800
  }
2793
- }
2794
- peg$silentFails--;
2795
- if (s6 === peg$FAILED) {
2796
- s5 = undefined;
2797
- }
2798
- else {
2799
- peg$currPos = s5;
2800
- s5 = peg$FAILED;
2801
- }
2802
- if (s5 !== peg$FAILED) {
2803
- s6 = peg$parsechar();
2804
- if (s6 !== peg$FAILED) {
2805
- s5 = [s5, s6];
2806
- s4 = s5;
2801
+ if (s3 !== peg$FAILED) {
2802
+ s4 = [];
2803
+ if (input.charCodeAt(peg$currPos) === 32) {
2804
+ s5 = peg$c16;
2805
+ peg$currPos++;
2806
+ }
2807
+ else {
2808
+ s5 = peg$FAILED;
2809
+ if (peg$silentFails === 0) {
2810
+ peg$fail(peg$e19);
2811
+ }
2812
+ }
2813
+ while (s5 !== peg$FAILED) {
2814
+ s4.push(s5);
2815
+ if (input.charCodeAt(peg$currPos) === 32) {
2816
+ s5 = peg$c16;
2817
+ peg$currPos++;
2818
+ }
2819
+ else {
2820
+ s5 = peg$FAILED;
2821
+ if (peg$silentFails === 0) {
2822
+ peg$fail(peg$e19);
2823
+ }
2824
+ }
2825
+ }
2826
+ s5 = peg$parseAlignment();
2827
+ if (s5 !== peg$FAILED) {
2828
+ s6 = peg$parseBlockTag();
2829
+ if (s6 !== peg$FAILED) {
2830
+ peg$savedPos = s0;
2831
+ s0 = peg$f39(s2, s5);
2832
+ }
2833
+ else {
2834
+ peg$currPos = s0;
2835
+ s0 = peg$FAILED;
2836
+ }
2837
+ }
2838
+ else {
2839
+ peg$currPos = s0;
2840
+ s0 = peg$FAILED;
2841
+ }
2807
2842
  }
2808
2843
  else {
2809
- peg$currPos = s4;
2810
- s4 = peg$FAILED;
2844
+ peg$currPos = s0;
2845
+ s0 = peg$FAILED;
2811
2846
  }
2812
2847
  }
2813
2848
  else {
2814
- peg$currPos = s4;
2815
- s4 = peg$FAILED;
2849
+ peg$currPos = s0;
2850
+ s0 = peg$FAILED;
2816
2851
  }
2817
- while (s4 !== peg$FAILED) {
2818
- s3.push(s4);
2852
+ if (s0 === peg$FAILED) {
2853
+ s0 = peg$currPos;
2854
+ if (input.charCodeAt(peg$currPos) === 64) {
2855
+ s1 = peg$c18;
2856
+ peg$currPos++;
2857
+ }
2858
+ else {
2859
+ s1 = peg$FAILED;
2860
+ if (peg$silentFails === 0) {
2861
+ peg$fail(peg$e21);
2862
+ }
2863
+ }
2864
+ if (s1 === peg$FAILED) {
2865
+ s1 = null;
2866
+ }
2867
+ s2 = peg$currPos;
2868
+ s3 = [];
2819
2869
  s4 = peg$currPos;
2820
2870
  s5 = peg$currPos;
2821
2871
  peg$silentFails++;
@@ -2831,6 +2881,34 @@ function peg$parse(input, options) {
2831
2881
  peg$fail(peg$e2);
2832
2882
  }
2833
2883
  }
2884
+ if (s6 === peg$FAILED) {
2885
+ s6 = peg$currPos;
2886
+ s7 = peg$parseAlignmentTags();
2887
+ if (s7 !== peg$FAILED) {
2888
+ if (input.charCodeAt(peg$currPos) === 58) {
2889
+ s8 = peg$c1;
2890
+ peg$currPos++;
2891
+ }
2892
+ else {
2893
+ s8 = peg$FAILED;
2894
+ if (peg$silentFails === 0) {
2895
+ peg$fail(peg$e2);
2896
+ }
2897
+ }
2898
+ if (s8 !== peg$FAILED) {
2899
+ s7 = [s7, s8];
2900
+ s6 = s7;
2901
+ }
2902
+ else {
2903
+ peg$currPos = s6;
2904
+ s6 = peg$FAILED;
2905
+ }
2906
+ }
2907
+ else {
2908
+ peg$currPos = s6;
2909
+ s6 = peg$FAILED;
2910
+ }
2911
+ }
2834
2912
  }
2835
2913
  peg$silentFails--;
2836
2914
  if (s6 === peg$FAILED) {
@@ -2855,63 +2933,103 @@ function peg$parse(input, options) {
2855
2933
  peg$currPos = s4;
2856
2934
  s4 = peg$FAILED;
2857
2935
  }
2858
- }
2859
- s2 = input.substring(s2, peg$currPos);
2860
- if (input.charCodeAt(peg$currPos) === 58) {
2861
- s3 = peg$c1;
2862
- peg$currPos++;
2863
- }
2864
- else {
2865
- s3 = peg$FAILED;
2866
- if (peg$silentFails === 0) {
2867
- peg$fail(peg$e2);
2936
+ while (s4 !== peg$FAILED) {
2937
+ s3.push(s4);
2938
+ s4 = peg$currPos;
2939
+ s5 = peg$currPos;
2940
+ peg$silentFails++;
2941
+ s6 = peg$parseBlockTag();
2942
+ if (s6 === peg$FAILED) {
2943
+ if (input.charCodeAt(peg$currPos) === 58) {
2944
+ s6 = peg$c1;
2945
+ peg$currPos++;
2946
+ }
2947
+ else {
2948
+ s6 = peg$FAILED;
2949
+ if (peg$silentFails === 0) {
2950
+ peg$fail(peg$e2);
2951
+ }
2952
+ }
2953
+ if (s6 === peg$FAILED) {
2954
+ s6 = peg$currPos;
2955
+ s7 = peg$parseAlignmentTags();
2956
+ if (s7 !== peg$FAILED) {
2957
+ if (input.charCodeAt(peg$currPos) === 58) {
2958
+ s8 = peg$c1;
2959
+ peg$currPos++;
2960
+ }
2961
+ else {
2962
+ s8 = peg$FAILED;
2963
+ if (peg$silentFails === 0) {
2964
+ peg$fail(peg$e2);
2965
+ }
2966
+ }
2967
+ if (s8 !== peg$FAILED) {
2968
+ s7 = [s7, s8];
2969
+ s6 = s7;
2970
+ }
2971
+ else {
2972
+ peg$currPos = s6;
2973
+ s6 = peg$FAILED;
2974
+ }
2975
+ }
2976
+ else {
2977
+ peg$currPos = s6;
2978
+ s6 = peg$FAILED;
2979
+ }
2980
+ }
2981
+ }
2982
+ peg$silentFails--;
2983
+ if (s6 === peg$FAILED) {
2984
+ s5 = undefined;
2985
+ }
2986
+ else {
2987
+ peg$currPos = s5;
2988
+ s5 = peg$FAILED;
2989
+ }
2990
+ if (s5 !== peg$FAILED) {
2991
+ s6 = peg$parsechar();
2992
+ if (s6 !== peg$FAILED) {
2993
+ s5 = [s5, s6];
2994
+ s4 = s5;
2995
+ }
2996
+ else {
2997
+ peg$currPos = s4;
2998
+ s4 = peg$FAILED;
2999
+ }
3000
+ }
3001
+ else {
3002
+ peg$currPos = s4;
3003
+ s4 = peg$FAILED;
3004
+ }
2868
3005
  }
2869
- }
2870
- if (s3 !== peg$FAILED) {
2871
- if (input.charCodeAt(peg$currPos) === 32) {
2872
- s4 = peg$c16;
3006
+ s2 = input.substring(s2, peg$currPos);
3007
+ if (input.charCodeAt(peg$currPos) === 58) {
3008
+ s3 = peg$c1;
2873
3009
  peg$currPos++;
2874
3010
  }
2875
3011
  else {
2876
- s4 = peg$FAILED;
3012
+ s3 = peg$FAILED;
2877
3013
  if (peg$silentFails === 0) {
2878
- peg$fail(peg$e19);
3014
+ peg$fail(peg$e2);
2879
3015
  }
2880
3016
  }
2881
- if (s4 === peg$FAILED) {
2882
- s4 = null;
2883
- }
2884
- s5 = peg$currPos;
2885
- s6 = [];
2886
- s7 = peg$currPos;
2887
- s8 = peg$currPos;
2888
- peg$silentFails++;
2889
- s9 = peg$parseBlockTag();
2890
- peg$silentFails--;
2891
- if (s9 === peg$FAILED) {
2892
- s8 = undefined;
2893
- }
2894
- else {
2895
- peg$currPos = s8;
2896
- s8 = peg$FAILED;
2897
- }
2898
- if (s8 !== peg$FAILED) {
2899
- s9 = peg$parsechar();
2900
- if (s9 !== peg$FAILED) {
2901
- s8 = [s8, s9];
2902
- s7 = s8;
3017
+ if (s3 !== peg$FAILED) {
3018
+ if (input.charCodeAt(peg$currPos) === 32) {
3019
+ s4 = peg$c16;
3020
+ peg$currPos++;
2903
3021
  }
2904
3022
  else {
2905
- peg$currPos = s7;
2906
- s7 = peg$FAILED;
3023
+ s4 = peg$FAILED;
3024
+ if (peg$silentFails === 0) {
3025
+ peg$fail(peg$e19);
3026
+ }
2907
3027
  }
2908
- }
2909
- else {
2910
- peg$currPos = s7;
2911
- s7 = peg$FAILED;
2912
- }
2913
- while (s7 !== peg$FAILED) {
2914
- s6.push(s7);
3028
+ if (s4 === peg$FAILED) {
3029
+ s4 = null;
3030
+ }
3031
+ s5 = peg$currPos;
3032
+ s6 = [];
2915
3033
  s7 = peg$currPos;
2916
3034
  s8 = peg$currPos;
2917
3035
  peg$silentFails++;
@@ -2939,72 +3057,100 @@ function peg$parse(input, options) {
2939
3057
  peg$currPos = s7;
2940
3058
  s7 = peg$FAILED;
2941
3059
  }
2942
- }
2943
- s5 = input.substring(s5, peg$currPos);
2944
- s6 = peg$parseBlockTag();
2945
- if (s6 !== peg$FAILED) {
2946
- peg$savedPos = s0;
2947
- s0 = peg$f39(s2, s5);
2948
- }
2949
- else {
2950
- peg$currPos = s0;
2951
- s0 = peg$FAILED;
2952
- }
2953
- }
2954
- else {
2955
- peg$currPos = s0;
2956
- s0 = peg$FAILED;
2957
- }
2958
- if (s0 === peg$FAILED) {
2959
- s0 = peg$currPos;
2960
- if (input.charCodeAt(peg$currPos) === 64) {
2961
- s1 = peg$c18;
2962
- peg$currPos++;
2963
- }
2964
- else {
2965
- s1 = peg$FAILED;
2966
- if (peg$silentFails === 0) {
2967
- peg$fail(peg$e21);
3060
+ while (s7 !== peg$FAILED) {
3061
+ s6.push(s7);
3062
+ s7 = peg$currPos;
3063
+ s8 = peg$currPos;
3064
+ peg$silentFails++;
3065
+ s9 = peg$parseBlockTag();
3066
+ peg$silentFails--;
3067
+ if (s9 === peg$FAILED) {
3068
+ s8 = undefined;
3069
+ }
3070
+ else {
3071
+ peg$currPos = s8;
3072
+ s8 = peg$FAILED;
3073
+ }
3074
+ if (s8 !== peg$FAILED) {
3075
+ s9 = peg$parsechar();
3076
+ if (s9 !== peg$FAILED) {
3077
+ s8 = [s8, s9];
3078
+ s7 = s8;
3079
+ }
3080
+ else {
3081
+ peg$currPos = s7;
3082
+ s7 = peg$FAILED;
3083
+ }
3084
+ }
3085
+ else {
3086
+ peg$currPos = s7;
3087
+ s7 = peg$FAILED;
3088
+ }
2968
3089
  }
2969
- }
2970
- if (s1 === peg$FAILED) {
2971
- s1 = null;
2972
- }
2973
- s2 = peg$currPos;
2974
- s3 = [];
2975
- s4 = peg$currPos;
2976
- s5 = peg$currPos;
2977
- peg$silentFails++;
2978
- s6 = peg$parseBlockTag();
2979
- peg$silentFails--;
2980
- if (s6 === peg$FAILED) {
2981
- s5 = undefined;
2982
- }
2983
- else {
2984
- peg$currPos = s5;
2985
- s5 = peg$FAILED;
2986
- }
2987
- if (s5 !== peg$FAILED) {
2988
- s6 = peg$parsechar();
3090
+ s5 = input.substring(s5, peg$currPos);
3091
+ s6 = peg$parseBlockTag();
2989
3092
  if (s6 !== peg$FAILED) {
2990
- s5 = [s5, s6];
2991
- s4 = s5;
3093
+ peg$savedPos = s0;
3094
+ s0 = peg$f40(s2, s5);
2992
3095
  }
2993
3096
  else {
2994
- peg$currPos = s4;
2995
- s4 = peg$FAILED;
3097
+ peg$currPos = s0;
3098
+ s0 = peg$FAILED;
2996
3099
  }
2997
3100
  }
2998
3101
  else {
2999
- peg$currPos = s4;
3000
- s4 = peg$FAILED;
3102
+ peg$currPos = s0;
3103
+ s0 = peg$FAILED;
3001
3104
  }
3002
- while (s4 !== peg$FAILED) {
3003
- s3.push(s4);
3105
+ if (s0 === peg$FAILED) {
3106
+ s0 = peg$currPos;
3107
+ if (input.charCodeAt(peg$currPos) === 64) {
3108
+ s1 = peg$c18;
3109
+ peg$currPos++;
3110
+ }
3111
+ else {
3112
+ s1 = peg$FAILED;
3113
+ if (peg$silentFails === 0) {
3114
+ peg$fail(peg$e21);
3115
+ }
3116
+ }
3117
+ if (s1 === peg$FAILED) {
3118
+ s1 = null;
3119
+ }
3120
+ s2 = peg$currPos;
3121
+ s3 = [];
3004
3122
  s4 = peg$currPos;
3005
3123
  s5 = peg$currPos;
3006
3124
  peg$silentFails++;
3007
3125
  s6 = peg$parseBlockTag();
3126
+ if (s6 === peg$FAILED) {
3127
+ s6 = peg$currPos;
3128
+ s7 = peg$parseAlignmentTags();
3129
+ if (s7 !== peg$FAILED) {
3130
+ if (input.charCodeAt(peg$currPos) === 58) {
3131
+ s8 = peg$c1;
3132
+ peg$currPos++;
3133
+ }
3134
+ else {
3135
+ s8 = peg$FAILED;
3136
+ if (peg$silentFails === 0) {
3137
+ peg$fail(peg$e2);
3138
+ }
3139
+ }
3140
+ if (s8 !== peg$FAILED) {
3141
+ s7 = [s7, s8];
3142
+ s6 = s7;
3143
+ }
3144
+ else {
3145
+ peg$currPos = s6;
3146
+ s6 = peg$FAILED;
3147
+ }
3148
+ }
3149
+ else {
3150
+ peg$currPos = s6;
3151
+ s6 = peg$FAILED;
3152
+ }
3153
+ }
3008
3154
  peg$silentFails--;
3009
3155
  if (s6 === peg$FAILED) {
3010
3156
  s5 = undefined;
@@ -3028,16 +3174,74 @@ function peg$parse(input, options) {
3028
3174
  peg$currPos = s4;
3029
3175
  s4 = peg$FAILED;
3030
3176
  }
3031
- }
3032
- s2 = input.substring(s2, peg$currPos);
3033
- s3 = peg$parseBlockTag();
3034
- if (s3 !== peg$FAILED) {
3035
- peg$savedPos = s0;
3036
- s0 = peg$f40(s2);
3037
- }
3038
- else {
3039
- peg$currPos = s0;
3040
- s0 = peg$FAILED;
3177
+ while (s4 !== peg$FAILED) {
3178
+ s3.push(s4);
3179
+ s4 = peg$currPos;
3180
+ s5 = peg$currPos;
3181
+ peg$silentFails++;
3182
+ s6 = peg$parseBlockTag();
3183
+ if (s6 === peg$FAILED) {
3184
+ s6 = peg$currPos;
3185
+ s7 = peg$parseAlignmentTags();
3186
+ if (s7 !== peg$FAILED) {
3187
+ if (input.charCodeAt(peg$currPos) === 58) {
3188
+ s8 = peg$c1;
3189
+ peg$currPos++;
3190
+ }
3191
+ else {
3192
+ s8 = peg$FAILED;
3193
+ if (peg$silentFails === 0) {
3194
+ peg$fail(peg$e2);
3195
+ }
3196
+ }
3197
+ if (s8 !== peg$FAILED) {
3198
+ s7 = [s7, s8];
3199
+ s6 = s7;
3200
+ }
3201
+ else {
3202
+ peg$currPos = s6;
3203
+ s6 = peg$FAILED;
3204
+ }
3205
+ }
3206
+ else {
3207
+ peg$currPos = s6;
3208
+ s6 = peg$FAILED;
3209
+ }
3210
+ }
3211
+ peg$silentFails--;
3212
+ if (s6 === peg$FAILED) {
3213
+ s5 = undefined;
3214
+ }
3215
+ else {
3216
+ peg$currPos = s5;
3217
+ s5 = peg$FAILED;
3218
+ }
3219
+ if (s5 !== peg$FAILED) {
3220
+ s6 = peg$parsechar();
3221
+ if (s6 !== peg$FAILED) {
3222
+ s5 = [s5, s6];
3223
+ s4 = s5;
3224
+ }
3225
+ else {
3226
+ peg$currPos = s4;
3227
+ s4 = peg$FAILED;
3228
+ }
3229
+ }
3230
+ else {
3231
+ peg$currPos = s4;
3232
+ s4 = peg$FAILED;
3233
+ }
3234
+ }
3235
+ s2 = input.substring(s2, peg$currPos);
3236
+ s3 = peg$parseBlockTag();
3237
+ if (s3 !== peg$FAILED) {
3238
+ peg$savedPos = s0;
3239
+ s0 = peg$f41(s2);
3240
+ }
3241
+ else {
3242
+ peg$currPos = s0;
3243
+ s0 = peg$FAILED;
3244
+ }
3041
3245
  }
3042
3246
  }
3043
3247
  }
@@ -3071,13 +3275,77 @@ function peg$parse(input, options) {
3071
3275
  }
3072
3276
  return s0;
3073
3277
  }
3278
+ function peg$parseAlignmentTags() {
3279
+ var s0;
3280
+ if (input.substr(peg$currPos, 9) === peg$c21) {
3281
+ s0 = peg$c21;
3282
+ peg$currPos += 9;
3283
+ }
3284
+ else {
3285
+ s0 = peg$FAILED;
3286
+ if (peg$silentFails === 0) {
3287
+ peg$fail(peg$e25);
3288
+ }
3289
+ }
3290
+ if (s0 === peg$FAILED) {
3291
+ if (input.substr(peg$currPos, 12) === peg$c22) {
3292
+ s0 = peg$c22;
3293
+ peg$currPos += 12;
3294
+ }
3295
+ else {
3296
+ s0 = peg$FAILED;
3297
+ if (peg$silentFails === 0) {
3298
+ peg$fail(peg$e26);
3299
+ }
3300
+ }
3301
+ }
3302
+ return s0;
3303
+ }
3304
+ function peg$parseAlignment() {
3305
+ var s0;
3306
+ if (input.substr(peg$currPos, 4) === peg$c23) {
3307
+ s0 = peg$c23;
3308
+ peg$currPos += 4;
3309
+ }
3310
+ else {
3311
+ s0 = peg$FAILED;
3312
+ if (peg$silentFails === 0) {
3313
+ peg$fail(peg$e27);
3314
+ }
3315
+ }
3316
+ if (s0 === peg$FAILED) {
3317
+ if (input.substr(peg$currPos, 6) === peg$c24) {
3318
+ s0 = peg$c24;
3319
+ peg$currPos += 6;
3320
+ }
3321
+ else {
3322
+ s0 = peg$FAILED;
3323
+ if (peg$silentFails === 0) {
3324
+ peg$fail(peg$e28);
3325
+ }
3326
+ }
3327
+ if (s0 === peg$FAILED) {
3328
+ if (input.substr(peg$currPos, 5) === peg$c25) {
3329
+ s0 = peg$c25;
3330
+ peg$currPos += 5;
3331
+ }
3332
+ else {
3333
+ s0 = peg$FAILED;
3334
+ if (peg$silentFails === 0) {
3335
+ peg$fail(peg$e29);
3336
+ }
3337
+ }
3338
+ }
3339
+ }
3340
+ return s0;
3341
+ }
3074
3342
  function peg$parsebitmarkPlus() {
3075
3343
  var s0, s1;
3076
3344
  peg$silentFails++;
3077
3345
  s0 = peg$currPos;
3078
3346
  s1 = peg$parseInlineTags();
3079
3347
  peg$savedPos = s0;
3080
- s1 = peg$f41(s1);
3348
+ s1 = peg$f42(s1);
3081
3349
  s0 = s1;
3082
3350
  peg$silentFails--;
3083
3351
  s1 = peg$FAILED;
@@ -3093,7 +3361,7 @@ function peg$parse(input, options) {
3093
3361
  peg$silentFails--;
3094
3362
  s1 = peg$FAILED;
3095
3363
  if (peg$silentFails === 0) {
3096
- peg$fail(peg$e25);
3364
+ peg$fail(peg$e30);
3097
3365
  }
3098
3366
  return s0;
3099
3367
  }
@@ -3117,7 +3385,7 @@ function peg$parse(input, options) {
3117
3385
  }
3118
3386
  }
3119
3387
  peg$savedPos = s0;
3120
- s0 = peg$f42(s1, s2);
3388
+ s0 = peg$f43(s1, s2);
3121
3389
  return s0;
3122
3390
  }
3123
3391
  function peg$parseInlinePlainText() {
@@ -3126,7 +3394,7 @@ function peg$parse(input, options) {
3126
3394
  s1 = peg$parseNL();
3127
3395
  if (s1 !== peg$FAILED) {
3128
3396
  peg$savedPos = s0;
3129
- s1 = peg$f43();
3397
+ s1 = peg$f44();
3130
3398
  }
3131
3399
  s0 = s1;
3132
3400
  if (s0 === peg$FAILED) {
@@ -3269,7 +3537,7 @@ function peg$parse(input, options) {
3269
3537
  }
3270
3538
  if (s1 !== peg$FAILED) {
3271
3539
  peg$savedPos = s0;
3272
- s1 = peg$f44(s1);
3540
+ s1 = peg$f45(s1);
3273
3541
  }
3274
3542
  s0 = s1;
3275
3543
  }
@@ -3278,27 +3546,27 @@ function peg$parse(input, options) {
3278
3546
  function peg$parseInlineHalfTag() {
3279
3547
  var s0;
3280
3548
  if (input.charCodeAt(peg$currPos) === 61) {
3281
- s0 = peg$c21;
3549
+ s0 = peg$c26;
3282
3550
  peg$currPos++;
3283
3551
  }
3284
3552
  else {
3285
3553
  s0 = peg$FAILED;
3286
3554
  if (peg$silentFails === 0) {
3287
- peg$fail(peg$e26);
3555
+ peg$fail(peg$e31);
3288
3556
  }
3289
3557
  }
3290
3558
  return s0;
3291
3559
  }
3292
3560
  function peg$parseInlineLaTexHalfTag() {
3293
3561
  var s0;
3294
- if (input.substr(peg$currPos, 2) === peg$c22) {
3295
- s0 = peg$c22;
3562
+ if (input.substr(peg$currPos, 2) === peg$c27) {
3563
+ s0 = peg$c27;
3296
3564
  peg$currPos += 2;
3297
3565
  }
3298
3566
  else {
3299
3567
  s0 = peg$FAILED;
3300
3568
  if (peg$silentFails === 0) {
3301
- peg$fail(peg$e27);
3569
+ peg$fail(peg$e32);
3302
3570
  }
3303
3571
  }
3304
3572
  return s0;
@@ -3390,7 +3658,7 @@ function peg$parse(input, options) {
3390
3658
  s3 = peg$parseBodyBitCloseTag();
3391
3659
  if (s3 !== peg$FAILED) {
3392
3660
  peg$savedPos = s0;
3393
- s0 = peg$f45(s2);
3661
+ s0 = peg$f46(s2);
3394
3662
  }
3395
3663
  else {
3396
3664
  peg$currPos = s0;
@@ -3563,7 +3831,7 @@ function peg$parse(input, options) {
3563
3831
  s6 = peg$parseAttrChain();
3564
3832
  if (s6 !== peg$FAILED) {
3565
3833
  peg$savedPos = s0;
3566
- s0 = peg$f46(s3, s6);
3834
+ s0 = peg$f47(s3, s6);
3567
3835
  }
3568
3836
  else {
3569
3837
  peg$currPos = s0;
@@ -3734,7 +4002,7 @@ function peg$parse(input, options) {
3734
4002
  s5 = peg$parseBoldTag();
3735
4003
  if (s5 !== peg$FAILED) {
3736
4004
  peg$savedPos = s0;
3737
- s0 = peg$f47(s3);
4005
+ s0 = peg$f48(s3);
3738
4006
  }
3739
4007
  else {
3740
4008
  peg$currPos = s0;
@@ -3900,7 +4168,7 @@ function peg$parse(input, options) {
3900
4168
  s5 = peg$parseItalicTag();
3901
4169
  if (s5 !== peg$FAILED) {
3902
4170
  peg$savedPos = s0;
3903
- s0 = peg$f48(s3);
4171
+ s0 = peg$f49(s3);
3904
4172
  }
3905
4173
  else {
3906
4174
  peg$currPos = s0;
@@ -4066,7 +4334,7 @@ function peg$parse(input, options) {
4066
4334
  s5 = peg$parseLightTag();
4067
4335
  if (s5 !== peg$FAILED) {
4068
4336
  peg$savedPos = s0;
4069
- s0 = peg$f49(s3);
4337
+ s0 = peg$f50(s3);
4070
4338
  }
4071
4339
  else {
4072
4340
  peg$currPos = s0;
@@ -4232,7 +4500,7 @@ function peg$parse(input, options) {
4232
4500
  s5 = peg$parseHighlightTag();
4233
4501
  if (s5 !== peg$FAILED) {
4234
4502
  peg$savedPos = s0;
4235
- s0 = peg$f50(s3);
4503
+ s0 = peg$f51(s3);
4236
4504
  }
4237
4505
  else {
4238
4506
  peg$currPos = s0;
@@ -4248,7 +4516,7 @@ function peg$parse(input, options) {
4248
4516
  s1 = peg$parseUrl();
4249
4517
  if (s1 !== peg$FAILED) {
4250
4518
  peg$savedPos = s0;
4251
- s1 = peg$f51(s1);
4519
+ s1 = peg$f52(s1);
4252
4520
  }
4253
4521
  s0 = s1;
4254
4522
  }
@@ -4432,7 +4700,7 @@ function peg$parse(input, options) {
4432
4700
  }
4433
4701
  if (s2 !== peg$FAILED) {
4434
4702
  peg$savedPos = s0;
4435
- s0 = peg$f52(s2);
4703
+ s0 = peg$f53(s2);
4436
4704
  }
4437
4705
  else {
4438
4706
  peg$currPos = s0;
@@ -4448,14 +4716,14 @@ function peg$parse(input, options) {
4448
4716
  function peg$parseAttrChainItem() {
4449
4717
  var s0, s1, s2, s3, s4, s5, s6, s7, s8, s9;
4450
4718
  s0 = peg$currPos;
4451
- if (input.substr(peg$currPos, 5) === peg$c23) {
4452
- s1 = peg$c23;
4719
+ if (input.substr(peg$currPos, 5) === peg$c28) {
4720
+ s1 = peg$c28;
4453
4721
  peg$currPos += 5;
4454
4722
  }
4455
4723
  else {
4456
4724
  s1 = peg$FAILED;
4457
4725
  if (peg$silentFails === 0) {
4458
- peg$fail(peg$e28);
4726
+ peg$fail(peg$e33);
4459
4727
  }
4460
4728
  }
4461
4729
  if (s1 !== peg$FAILED) {
@@ -4522,7 +4790,7 @@ function peg$parse(input, options) {
4522
4790
  s3 = peg$parseBlockTag();
4523
4791
  if (s3 !== peg$FAILED) {
4524
4792
  peg$savedPos = s0;
4525
- s0 = peg$f53(s2);
4793
+ s0 = peg$f54(s2);
4526
4794
  }
4527
4795
  else {
4528
4796
  peg$currPos = s0;
@@ -4535,14 +4803,14 @@ function peg$parse(input, options) {
4535
4803
  }
4536
4804
  if (s0 === peg$FAILED) {
4537
4805
  s0 = peg$currPos;
4538
- if (input.substr(peg$currPos, 4) === peg$c24) {
4539
- s1 = peg$c24;
4806
+ if (input.substr(peg$currPos, 4) === peg$c29) {
4807
+ s1 = peg$c29;
4540
4808
  peg$currPos += 4;
4541
4809
  }
4542
4810
  else {
4543
4811
  s1 = peg$FAILED;
4544
4812
  if (peg$silentFails === 0) {
4545
- peg$fail(peg$e29);
4813
+ peg$fail(peg$e34);
4546
4814
  }
4547
4815
  }
4548
4816
  if (s1 !== peg$FAILED) {
@@ -4609,7 +4877,7 @@ function peg$parse(input, options) {
4609
4877
  s3 = peg$parseBlockTag();
4610
4878
  if (s3 !== peg$FAILED) {
4611
4879
  peg$savedPos = s0;
4612
- s0 = peg$f54(s2);
4880
+ s0 = peg$f55(s2);
4613
4881
  }
4614
4882
  else {
4615
4883
  peg$currPos = s0;
@@ -4636,7 +4904,7 @@ function peg$parse(input, options) {
4636
4904
  s2 = peg$parseBlockTag();
4637
4905
  if (s2 !== peg$FAILED) {
4638
4906
  peg$savedPos = s0;
4639
- s0 = peg$f55();
4907
+ s0 = peg$f56();
4640
4908
  }
4641
4909
  else {
4642
4910
  peg$currPos = s0;
@@ -4649,14 +4917,14 @@ function peg$parse(input, options) {
4649
4917
  }
4650
4918
  if (s0 === peg$FAILED) {
4651
4919
  s0 = peg$currPos;
4652
- if (input.substr(peg$currPos, 5) === peg$c25) {
4653
- s1 = peg$c25;
4920
+ if (input.substr(peg$currPos, 5) === peg$c30) {
4921
+ s1 = peg$c30;
4654
4922
  peg$currPos += 5;
4655
4923
  }
4656
4924
  else {
4657
4925
  s1 = peg$FAILED;
4658
4926
  if (peg$silentFails === 0) {
4659
- peg$fail(peg$e30);
4927
+ peg$fail(peg$e35);
4660
4928
  }
4661
4929
  }
4662
4930
  if (s1 !== peg$FAILED) {
@@ -4723,7 +4991,7 @@ function peg$parse(input, options) {
4723
4991
  s3 = peg$parseBlockTag();
4724
4992
  if (s3 !== peg$FAILED) {
4725
4993
  peg$savedPos = s0;
4726
- s0 = peg$f56(s2);
4994
+ s0 = peg$f57(s2);
4727
4995
  }
4728
4996
  else {
4729
4997
  peg$currPos = s0;
@@ -4736,21 +5004,21 @@ function peg$parse(input, options) {
4736
5004
  }
4737
5005
  if (s0 === peg$FAILED) {
4738
5006
  s0 = peg$currPos;
4739
- if (input.substr(peg$currPos, 5) === peg$c26) {
4740
- s1 = peg$c26;
5007
+ if (input.substr(peg$currPos, 5) === peg$c31) {
5008
+ s1 = peg$c31;
4741
5009
  peg$currPos += 5;
4742
5010
  }
4743
5011
  else {
4744
5012
  s1 = peg$FAILED;
4745
5013
  if (peg$silentFails === 0) {
4746
- peg$fail(peg$e31);
5014
+ peg$fail(peg$e36);
4747
5015
  }
4748
5016
  }
4749
5017
  if (s1 !== peg$FAILED) {
4750
5018
  s2 = peg$parseBlockTag();
4751
5019
  if (s2 !== peg$FAILED) {
4752
5020
  peg$savedPos = s0;
4753
- s0 = peg$f57();
5021
+ s0 = peg$f58();
4754
5022
  }
4755
5023
  else {
4756
5024
  peg$currPos = s0;
@@ -4763,14 +5031,14 @@ function peg$parse(input, options) {
4763
5031
  }
4764
5032
  if (s0 === peg$FAILED) {
4765
5033
  s0 = peg$currPos;
4766
- if (input.substr(peg$currPos, 6) === peg$c27) {
4767
- s1 = peg$c27;
5034
+ if (input.substr(peg$currPos, 6) === peg$c32) {
5035
+ s1 = peg$c32;
4768
5036
  peg$currPos += 6;
4769
5037
  }
4770
5038
  else {
4771
5039
  s1 = peg$FAILED;
4772
5040
  if (peg$silentFails === 0) {
4773
- peg$fail(peg$e32);
5041
+ peg$fail(peg$e37);
4774
5042
  }
4775
5043
  }
4776
5044
  if (s1 !== peg$FAILED) {
@@ -4837,7 +5105,7 @@ function peg$parse(input, options) {
4837
5105
  s3 = peg$parseBlockTag();
4838
5106
  if (s3 !== peg$FAILED) {
4839
5107
  peg$savedPos = s0;
4840
- s0 = peg$f58(s2);
5108
+ s0 = peg$f59(s2);
4841
5109
  }
4842
5110
  else {
4843
5111
  peg$currPos = s0;
@@ -4850,27 +5118,27 @@ function peg$parse(input, options) {
4850
5118
  }
4851
5119
  if (s0 === peg$FAILED) {
4852
5120
  s0 = peg$currPos;
4853
- if (input.substr(peg$currPos, 9) === peg$c28) {
4854
- s1 = peg$c28;
5121
+ if (input.substr(peg$currPos, 9) === peg$c33) {
5122
+ s1 = peg$c33;
4855
5123
  peg$currPos += 9;
4856
5124
  }
4857
5125
  else {
4858
5126
  s1 = peg$FAILED;
4859
5127
  if (peg$silentFails === 0) {
4860
- peg$fail(peg$e33);
5128
+ peg$fail(peg$e38);
4861
5129
  }
4862
5130
  }
4863
5131
  if (s1 !== peg$FAILED) {
4864
5132
  s2 = peg$currPos;
4865
5133
  s3 = peg$currPos;
4866
5134
  if (input.charCodeAt(peg$currPos) === 80) {
4867
- s4 = peg$c29;
5135
+ s4 = peg$c34;
4868
5136
  peg$currPos++;
4869
5137
  }
4870
5138
  else {
4871
5139
  s4 = peg$FAILED;
4872
5140
  if (peg$silentFails === 0) {
4873
- peg$fail(peg$e34);
5141
+ peg$fail(peg$e39);
4874
5142
  }
4875
5143
  }
4876
5144
  if (s4 !== peg$FAILED) {
@@ -4951,7 +5219,7 @@ function peg$parse(input, options) {
4951
5219
  s3 = peg$parseBlockTag();
4952
5220
  if (s3 !== peg$FAILED) {
4953
5221
  peg$savedPos = s0;
4954
- s0 = peg$f59(s2);
5222
+ s0 = peg$f60(s2);
4955
5223
  }
4956
5224
  else {
4957
5225
  peg$currPos = s0;
@@ -4969,14 +5237,14 @@ function peg$parse(input, options) {
4969
5237
  }
4970
5238
  if (s0 === peg$FAILED) {
4971
5239
  s0 = peg$currPos;
4972
- if (input.substr(peg$currPos, 6) === peg$c30) {
4973
- s1 = peg$c30;
5240
+ if (input.substr(peg$currPos, 6) === peg$c35) {
5241
+ s1 = peg$c35;
4974
5242
  peg$currPos += 6;
4975
5243
  }
4976
5244
  else {
4977
5245
  s1 = peg$FAILED;
4978
5246
  if (peg$silentFails === 0) {
4979
- peg$fail(peg$e35);
5247
+ peg$fail(peg$e40);
4980
5248
  }
4981
5249
  }
4982
5250
  if (s1 !== peg$FAILED) {
@@ -4985,7 +5253,7 @@ function peg$parse(input, options) {
4985
5253
  s3 = peg$parseBlockTag();
4986
5254
  if (s3 !== peg$FAILED) {
4987
5255
  peg$savedPos = s0;
4988
- s0 = peg$f60(s2);
5256
+ s0 = peg$f61(s2);
4989
5257
  }
4990
5258
  else {
4991
5259
  peg$currPos = s0;
@@ -5008,7 +5276,7 @@ function peg$parse(input, options) {
5008
5276
  s2 = peg$parseBlockTag();
5009
5277
  if (s2 !== peg$FAILED) {
5010
5278
  peg$savedPos = s0;
5011
- s0 = peg$f61(s1);
5279
+ s0 = peg$f62(s1);
5012
5280
  }
5013
5281
  else {
5014
5282
  peg$currPos = s0;
@@ -5095,7 +5363,7 @@ function peg$parse(input, options) {
5095
5363
  s3 = peg$parseBlockTag();
5096
5364
  if (s3 !== peg$FAILED) {
5097
5365
  peg$savedPos = s0;
5098
- s0 = peg$f62(s2);
5366
+ s0 = peg$f63(s2);
5099
5367
  }
5100
5368
  else {
5101
5369
  peg$currPos = s0;
@@ -5119,201 +5387,201 @@ function peg$parse(input, options) {
5119
5387
  }
5120
5388
  function peg$parseAlternativeStyleTags() {
5121
5389
  var s0;
5122
- if (input.substr(peg$currPos, 4) === peg$c31) {
5123
- s0 = peg$c31;
5390
+ if (input.substr(peg$currPos, 4) === peg$c36) {
5391
+ s0 = peg$c36;
5124
5392
  peg$currPos += 4;
5125
5393
  }
5126
5394
  else {
5127
5395
  s0 = peg$FAILED;
5128
5396
  if (peg$silentFails === 0) {
5129
- peg$fail(peg$e36);
5397
+ peg$fail(peg$e41);
5130
5398
  }
5131
5399
  }
5132
5400
  if (s0 === peg$FAILED) {
5133
- if (input.substr(peg$currPos, 6) === peg$c32) {
5134
- s0 = peg$c32;
5401
+ if (input.substr(peg$currPos, 6) === peg$c37) {
5402
+ s0 = peg$c37;
5135
5403
  peg$currPos += 6;
5136
5404
  }
5137
5405
  else {
5138
5406
  s0 = peg$FAILED;
5139
5407
  if (peg$silentFails === 0) {
5140
- peg$fail(peg$e37);
5408
+ peg$fail(peg$e42);
5141
5409
  }
5142
5410
  }
5143
5411
  if (s0 === peg$FAILED) {
5144
- if (input.substr(peg$currPos, 5) === peg$c33) {
5145
- s0 = peg$c33;
5412
+ if (input.substr(peg$currPos, 5) === peg$c38) {
5413
+ s0 = peg$c38;
5146
5414
  peg$currPos += 5;
5147
5415
  }
5148
5416
  else {
5149
5417
  s0 = peg$FAILED;
5150
5418
  if (peg$silentFails === 0) {
5151
- peg$fail(peg$e38);
5419
+ peg$fail(peg$e43);
5152
5420
  }
5153
5421
  }
5154
5422
  if (s0 === peg$FAILED) {
5155
- if (input.substr(peg$currPos, 9) === peg$c34) {
5156
- s0 = peg$c34;
5423
+ if (input.substr(peg$currPos, 9) === peg$c39) {
5424
+ s0 = peg$c39;
5157
5425
  peg$currPos += 9;
5158
5426
  }
5159
5427
  else {
5160
5428
  s0 = peg$FAILED;
5161
5429
  if (peg$silentFails === 0) {
5162
- peg$fail(peg$e39);
5430
+ peg$fail(peg$e44);
5163
5431
  }
5164
5432
  }
5165
5433
  if (s0 === peg$FAILED) {
5166
- if (input.substr(peg$currPos, 6) === peg$c35) {
5167
- s0 = peg$c35;
5434
+ if (input.substr(peg$currPos, 6) === peg$c40) {
5435
+ s0 = peg$c40;
5168
5436
  peg$currPos += 6;
5169
5437
  }
5170
5438
  else {
5171
5439
  s0 = peg$FAILED;
5172
5440
  if (peg$silentFails === 0) {
5173
- peg$fail(peg$e40);
5441
+ peg$fail(peg$e45);
5174
5442
  }
5175
5443
  }
5176
5444
  if (s0 === peg$FAILED) {
5177
- if (input.substr(peg$currPos, 9) === peg$c36) {
5178
- s0 = peg$c36;
5445
+ if (input.substr(peg$currPos, 9) === peg$c41) {
5446
+ s0 = peg$c41;
5179
5447
  peg$currPos += 9;
5180
5448
  }
5181
5449
  else {
5182
5450
  s0 = peg$FAILED;
5183
5451
  if (peg$silentFails === 0) {
5184
- peg$fail(peg$e41);
5452
+ peg$fail(peg$e46);
5185
5453
  }
5186
5454
  }
5187
5455
  if (s0 === peg$FAILED) {
5188
- if (input.substr(peg$currPos, 11) === peg$c37) {
5189
- s0 = peg$c37;
5456
+ if (input.substr(peg$currPos, 11) === peg$c42) {
5457
+ s0 = peg$c42;
5190
5458
  peg$currPos += 11;
5191
5459
  }
5192
5460
  else {
5193
5461
  s0 = peg$FAILED;
5194
5462
  if (peg$silentFails === 0) {
5195
- peg$fail(peg$e42);
5463
+ peg$fail(peg$e47);
5196
5464
  }
5197
5465
  }
5198
5466
  if (s0 === peg$FAILED) {
5199
- if (input.substr(peg$currPos, 3) === peg$c38) {
5200
- s0 = peg$c38;
5467
+ if (input.substr(peg$currPos, 3) === peg$c43) {
5468
+ s0 = peg$c43;
5201
5469
  peg$currPos += 3;
5202
5470
  }
5203
5471
  else {
5204
5472
  s0 = peg$FAILED;
5205
5473
  if (peg$silentFails === 0) {
5206
- peg$fail(peg$e43);
5474
+ peg$fail(peg$e48);
5207
5475
  }
5208
5476
  }
5209
5477
  if (s0 === peg$FAILED) {
5210
- if (input.substr(peg$currPos, 3) === peg$c39) {
5211
- s0 = peg$c39;
5478
+ if (input.substr(peg$currPos, 3) === peg$c44) {
5479
+ s0 = peg$c44;
5212
5480
  peg$currPos += 3;
5213
5481
  }
5214
5482
  else {
5215
5483
  s0 = peg$FAILED;
5216
5484
  if (peg$silentFails === 0) {
5217
- peg$fail(peg$e44);
5485
+ peg$fail(peg$e49);
5218
5486
  }
5219
5487
  }
5220
5488
  if (s0 === peg$FAILED) {
5221
- if (input.substr(peg$currPos, 9) === peg$c40) {
5222
- s0 = peg$c40;
5489
+ if (input.substr(peg$currPos, 9) === peg$c45) {
5490
+ s0 = peg$c45;
5223
5491
  peg$currPos += 9;
5224
5492
  }
5225
5493
  else {
5226
5494
  s0 = peg$FAILED;
5227
5495
  if (peg$silentFails === 0) {
5228
- peg$fail(peg$e45);
5496
+ peg$fail(peg$e50);
5229
5497
  }
5230
5498
  }
5231
5499
  if (s0 === peg$FAILED) {
5232
- if (input.substr(peg$currPos, 15) === peg$c41) {
5233
- s0 = peg$c41;
5500
+ if (input.substr(peg$currPos, 15) === peg$c46) {
5501
+ s0 = peg$c46;
5234
5502
  peg$currPos += 15;
5235
5503
  }
5236
5504
  else {
5237
5505
  s0 = peg$FAILED;
5238
5506
  if (peg$silentFails === 0) {
5239
- peg$fail(peg$e46);
5507
+ peg$fail(peg$e51);
5240
5508
  }
5241
5509
  }
5242
5510
  if (s0 === peg$FAILED) {
5243
- if (input.substr(peg$currPos, 6) === peg$c42) {
5244
- s0 = peg$c42;
5511
+ if (input.substr(peg$currPos, 6) === peg$c47) {
5512
+ s0 = peg$c47;
5245
5513
  peg$currPos += 6;
5246
5514
  }
5247
5515
  else {
5248
5516
  s0 = peg$FAILED;
5249
5517
  if (peg$silentFails === 0) {
5250
- peg$fail(peg$e47);
5518
+ peg$fail(peg$e52);
5251
5519
  }
5252
5520
  }
5253
5521
  if (s0 === peg$FAILED) {
5254
- if (input.substr(peg$currPos, 10) === peg$c43) {
5255
- s0 = peg$c43;
5522
+ if (input.substr(peg$currPos, 10) === peg$c48) {
5523
+ s0 = peg$c48;
5256
5524
  peg$currPos += 10;
5257
5525
  }
5258
5526
  else {
5259
5527
  s0 = peg$FAILED;
5260
5528
  if (peg$silentFails === 0) {
5261
- peg$fail(peg$e48);
5529
+ peg$fail(peg$e53);
5262
5530
  }
5263
5531
  }
5264
5532
  if (s0 === peg$FAILED) {
5265
- if (input.substr(peg$currPos, 13) === peg$c44) {
5266
- s0 = peg$c44;
5533
+ if (input.substr(peg$currPos, 13) === peg$c49) {
5534
+ s0 = peg$c49;
5267
5535
  peg$currPos += 13;
5268
5536
  }
5269
5537
  else {
5270
5538
  s0 = peg$FAILED;
5271
5539
  if (peg$silentFails === 0) {
5272
- peg$fail(peg$e49);
5540
+ peg$fail(peg$e54);
5273
5541
  }
5274
5542
  }
5275
5543
  if (s0 === peg$FAILED) {
5276
- if (input.substr(peg$currPos, 19) === peg$c45) {
5277
- s0 = peg$c45;
5544
+ if (input.substr(peg$currPos, 19) === peg$c50) {
5545
+ s0 = peg$c50;
5278
5546
  peg$currPos += 19;
5279
5547
  }
5280
5548
  else {
5281
5549
  s0 = peg$FAILED;
5282
5550
  if (peg$silentFails === 0) {
5283
- peg$fail(peg$e50);
5551
+ peg$fail(peg$e55);
5284
5552
  }
5285
5553
  }
5286
5554
  if (s0 === peg$FAILED) {
5287
- if (input.substr(peg$currPos, 10) === peg$c46) {
5288
- s0 = peg$c46;
5555
+ if (input.substr(peg$currPos, 10) === peg$c51) {
5556
+ s0 = peg$c51;
5289
5557
  peg$currPos += 10;
5290
5558
  }
5291
5559
  else {
5292
5560
  s0 = peg$FAILED;
5293
5561
  if (peg$silentFails === 0) {
5294
- peg$fail(peg$e51);
5562
+ peg$fail(peg$e56);
5295
5563
  }
5296
5564
  }
5297
5565
  if (s0 === peg$FAILED) {
5298
- if (input.substr(peg$currPos, 10) === peg$c47) {
5299
- s0 = peg$c47;
5566
+ if (input.substr(peg$currPos, 10) === peg$c52) {
5567
+ s0 = peg$c52;
5300
5568
  peg$currPos += 10;
5301
5569
  }
5302
5570
  else {
5303
5571
  s0 = peg$FAILED;
5304
5572
  if (peg$silentFails === 0) {
5305
- peg$fail(peg$e52);
5573
+ peg$fail(peg$e57);
5306
5574
  }
5307
5575
  }
5308
5576
  if (s0 === peg$FAILED) {
5309
- if (input.substr(peg$currPos, 13) === peg$c48) {
5310
- s0 = peg$c48;
5577
+ if (input.substr(peg$currPos, 13) === peg$c53) {
5578
+ s0 = peg$c53;
5311
5579
  peg$currPos += 13;
5312
5580
  }
5313
5581
  else {
5314
5582
  s0 = peg$FAILED;
5315
5583
  if (peg$silentFails === 0) {
5316
- peg$fail(peg$e53);
5584
+ peg$fail(peg$e58);
5317
5585
  }
5318
5586
  }
5319
5587
  }
@@ -5337,245 +5605,245 @@ function peg$parse(input, options) {
5337
5605
  }
5338
5606
  function peg$parseColor() {
5339
5607
  var s0;
5340
- if (input.substr(peg$currPos, 4) === peg$c49) {
5341
- s0 = peg$c49;
5608
+ if (input.substr(peg$currPos, 4) === peg$c54) {
5609
+ s0 = peg$c54;
5342
5610
  peg$currPos += 4;
5343
5611
  }
5344
5612
  else {
5345
5613
  s0 = peg$FAILED;
5346
5614
  if (peg$silentFails === 0) {
5347
- peg$fail(peg$e54);
5615
+ peg$fail(peg$e59);
5348
5616
  }
5349
5617
  }
5350
5618
  if (s0 === peg$FAILED) {
5351
- if (input.substr(peg$currPos, 5) === peg$c50) {
5352
- s0 = peg$c50;
5619
+ if (input.substr(peg$currPos, 5) === peg$c55) {
5620
+ s0 = peg$c55;
5353
5621
  peg$currPos += 5;
5354
5622
  }
5355
5623
  else {
5356
5624
  s0 = peg$FAILED;
5357
5625
  if (peg$silentFails === 0) {
5358
- peg$fail(peg$e55);
5626
+ peg$fail(peg$e60);
5359
5627
  }
5360
5628
  }
5361
5629
  if (s0 === peg$FAILED) {
5362
- if (input.substr(peg$currPos, 4) === peg$c51) {
5363
- s0 = peg$c51;
5630
+ if (input.substr(peg$currPos, 4) === peg$c56) {
5631
+ s0 = peg$c56;
5364
5632
  peg$currPos += 4;
5365
5633
  }
5366
5634
  else {
5367
5635
  s0 = peg$FAILED;
5368
5636
  if (peg$silentFails === 0) {
5369
- peg$fail(peg$e56);
5637
+ peg$fail(peg$e61);
5370
5638
  }
5371
5639
  }
5372
5640
  if (s0 === peg$FAILED) {
5373
- if (input.substr(peg$currPos, 4) === peg$c52) {
5374
- s0 = peg$c52;
5641
+ if (input.substr(peg$currPos, 4) === peg$c57) {
5642
+ s0 = peg$c57;
5375
5643
  peg$currPos += 4;
5376
5644
  }
5377
5645
  else {
5378
5646
  s0 = peg$FAILED;
5379
5647
  if (peg$silentFails === 0) {
5380
- peg$fail(peg$e57);
5648
+ peg$fail(peg$e62);
5381
5649
  }
5382
5650
  }
5383
5651
  if (s0 === peg$FAILED) {
5384
- if (input.substr(peg$currPos, 7) === peg$c53) {
5385
- s0 = peg$c53;
5652
+ if (input.substr(peg$currPos, 7) === peg$c58) {
5653
+ s0 = peg$c58;
5386
5654
  peg$currPos += 7;
5387
5655
  }
5388
5656
  else {
5389
5657
  s0 = peg$FAILED;
5390
5658
  if (peg$silentFails === 0) {
5391
- peg$fail(peg$e58);
5659
+ peg$fail(peg$e63);
5392
5660
  }
5393
5661
  }
5394
5662
  if (s0 === peg$FAILED) {
5395
- if (input.substr(peg$currPos, 9) === peg$c54) {
5396
- s0 = peg$c54;
5663
+ if (input.substr(peg$currPos, 9) === peg$c59) {
5664
+ s0 = peg$c59;
5397
5665
  peg$currPos += 9;
5398
5666
  }
5399
5667
  else {
5400
5668
  s0 = peg$FAILED;
5401
5669
  if (peg$silentFails === 0) {
5402
- peg$fail(peg$e59);
5670
+ peg$fail(peg$e64);
5403
5671
  }
5404
5672
  }
5405
5673
  if (s0 === peg$FAILED) {
5406
- if (input.substr(peg$currPos, 4) === peg$c55) {
5407
- s0 = peg$c55;
5674
+ if (input.substr(peg$currPos, 4) === peg$c60) {
5675
+ s0 = peg$c60;
5408
5676
  peg$currPos += 4;
5409
5677
  }
5410
5678
  else {
5411
5679
  s0 = peg$FAILED;
5412
5680
  if (peg$silentFails === 0) {
5413
- peg$fail(peg$e60);
5681
+ peg$fail(peg$e65);
5414
5682
  }
5415
5683
  }
5416
5684
  if (s0 === peg$FAILED) {
5417
- if (input.substr(peg$currPos, 8) === peg$c56) {
5418
- s0 = peg$c56;
5685
+ if (input.substr(peg$currPos, 8) === peg$c61) {
5686
+ s0 = peg$c61;
5419
5687
  peg$currPos += 8;
5420
5688
  }
5421
5689
  else {
5422
5690
  s0 = peg$FAILED;
5423
5691
  if (peg$silentFails === 0) {
5424
- peg$fail(peg$e61);
5692
+ peg$fail(peg$e66);
5425
5693
  }
5426
5694
  }
5427
5695
  if (s0 === peg$FAILED) {
5428
- if (input.substr(peg$currPos, 5) === peg$c57) {
5429
- s0 = peg$c57;
5696
+ if (input.substr(peg$currPos, 5) === peg$c62) {
5697
+ s0 = peg$c62;
5430
5698
  peg$currPos += 5;
5431
5699
  }
5432
5700
  else {
5433
5701
  s0 = peg$FAILED;
5434
5702
  if (peg$silentFails === 0) {
5435
- peg$fail(peg$e62);
5703
+ peg$fail(peg$e67);
5436
5704
  }
5437
5705
  }
5438
5706
  if (s0 === peg$FAILED) {
5439
- if (input.substr(peg$currPos, 4) === peg$c58) {
5440
- s0 = peg$c58;
5707
+ if (input.substr(peg$currPos, 4) === peg$c63) {
5708
+ s0 = peg$c63;
5441
5709
  peg$currPos += 4;
5442
5710
  }
5443
5711
  else {
5444
5712
  s0 = peg$FAILED;
5445
5713
  if (peg$silentFails === 0) {
5446
- peg$fail(peg$e63);
5714
+ peg$fail(peg$e68);
5447
5715
  }
5448
5716
  }
5449
5717
  if (s0 === peg$FAILED) {
5450
- if (input.substr(peg$currPos, 7) === peg$c59) {
5451
- s0 = peg$c59;
5718
+ if (input.substr(peg$currPos, 7) === peg$c64) {
5719
+ s0 = peg$c64;
5452
5720
  peg$currPos += 7;
5453
5721
  }
5454
5722
  else {
5455
5723
  s0 = peg$FAILED;
5456
5724
  if (peg$silentFails === 0) {
5457
- peg$fail(peg$e64);
5725
+ peg$fail(peg$e69);
5458
5726
  }
5459
5727
  }
5460
5728
  if (s0 === peg$FAILED) {
5461
- if (input.substr(peg$currPos, 6) === peg$c60) {
5462
- s0 = peg$c60;
5729
+ if (input.substr(peg$currPos, 6) === peg$c65) {
5730
+ s0 = peg$c65;
5463
5731
  peg$currPos += 6;
5464
5732
  }
5465
5733
  else {
5466
5734
  s0 = peg$FAILED;
5467
5735
  if (peg$silentFails === 0) {
5468
- peg$fail(peg$e65);
5736
+ peg$fail(peg$e70);
5469
5737
  }
5470
5738
  }
5471
5739
  if (s0 === peg$FAILED) {
5472
- if (input.substr(peg$currPos, 4) === peg$c61) {
5473
- s0 = peg$c61;
5740
+ if (input.substr(peg$currPos, 4) === peg$c66) {
5741
+ s0 = peg$c66;
5474
5742
  peg$currPos += 4;
5475
5743
  }
5476
5744
  else {
5477
5745
  s0 = peg$FAILED;
5478
5746
  if (peg$silentFails === 0) {
5479
- peg$fail(peg$e66);
5747
+ peg$fail(peg$e71);
5480
5748
  }
5481
5749
  }
5482
5750
  if (s0 === peg$FAILED) {
5483
- if (input.substr(peg$currPos, 5) === peg$c62) {
5484
- s0 = peg$c62;
5751
+ if (input.substr(peg$currPos, 5) === peg$c67) {
5752
+ s0 = peg$c67;
5485
5753
  peg$currPos += 5;
5486
5754
  }
5487
5755
  else {
5488
5756
  s0 = peg$FAILED;
5489
5757
  if (peg$silentFails === 0) {
5490
- peg$fail(peg$e67);
5758
+ peg$fail(peg$e72);
5491
5759
  }
5492
5760
  }
5493
5761
  if (s0 === peg$FAILED) {
5494
- if (input.substr(peg$currPos, 6) === peg$c63) {
5495
- s0 = peg$c63;
5762
+ if (input.substr(peg$currPos, 6) === peg$c68) {
5763
+ s0 = peg$c68;
5496
5764
  peg$currPos += 6;
5497
5765
  }
5498
5766
  else {
5499
5767
  s0 = peg$FAILED;
5500
5768
  if (peg$silentFails === 0) {
5501
- peg$fail(peg$e68);
5769
+ peg$fail(peg$e73);
5502
5770
  }
5503
5771
  }
5504
5772
  if (s0 === peg$FAILED) {
5505
- if (input.substr(peg$currPos, 6) === peg$c64) {
5506
- s0 = peg$c64;
5773
+ if (input.substr(peg$currPos, 6) === peg$c69) {
5774
+ s0 = peg$c69;
5507
5775
  peg$currPos += 6;
5508
5776
  }
5509
5777
  else {
5510
5778
  s0 = peg$FAILED;
5511
5779
  if (peg$silentFails === 0) {
5512
- peg$fail(peg$e69);
5780
+ peg$fail(peg$e74);
5513
5781
  }
5514
5782
  }
5515
5783
  if (s0 === peg$FAILED) {
5516
- if (input.substr(peg$currPos, 3) === peg$c65) {
5517
- s0 = peg$c65;
5784
+ if (input.substr(peg$currPos, 3) === peg$c70) {
5785
+ s0 = peg$c70;
5518
5786
  peg$currPos += 3;
5519
5787
  }
5520
5788
  else {
5521
5789
  s0 = peg$FAILED;
5522
5790
  if (peg$silentFails === 0) {
5523
- peg$fail(peg$e70);
5791
+ peg$fail(peg$e75);
5524
5792
  }
5525
5793
  }
5526
5794
  if (s0 === peg$FAILED) {
5527
- if (input.substr(peg$currPos, 6) === peg$c66) {
5528
- s0 = peg$c66;
5795
+ if (input.substr(peg$currPos, 6) === peg$c71) {
5796
+ s0 = peg$c71;
5529
5797
  peg$currPos += 6;
5530
5798
  }
5531
5799
  else {
5532
5800
  s0 = peg$FAILED;
5533
5801
  if (peg$silentFails === 0) {
5534
- peg$fail(peg$e71);
5802
+ peg$fail(peg$e76);
5535
5803
  }
5536
5804
  }
5537
5805
  if (s0 === peg$FAILED) {
5538
- if (input.substr(peg$currPos, 4) === peg$c67) {
5539
- s0 = peg$c67;
5806
+ if (input.substr(peg$currPos, 4) === peg$c72) {
5807
+ s0 = peg$c72;
5540
5808
  peg$currPos += 4;
5541
5809
  }
5542
5810
  else {
5543
5811
  s0 = peg$FAILED;
5544
5812
  if (peg$silentFails === 0) {
5545
- peg$fail(peg$e72);
5813
+ peg$fail(peg$e77);
5546
5814
  }
5547
5815
  }
5548
5816
  if (s0 === peg$FAILED) {
5549
- if (input.substr(peg$currPos, 6) === peg$c68) {
5550
- s0 = peg$c68;
5817
+ if (input.substr(peg$currPos, 6) === peg$c73) {
5818
+ s0 = peg$c73;
5551
5819
  peg$currPos += 6;
5552
5820
  }
5553
5821
  else {
5554
5822
  s0 = peg$FAILED;
5555
5823
  if (peg$silentFails === 0) {
5556
- peg$fail(peg$e73);
5824
+ peg$fail(peg$e78);
5557
5825
  }
5558
5826
  }
5559
5827
  if (s0 === peg$FAILED) {
5560
- if (input.substr(peg$currPos, 5) === peg$c69) {
5561
- s0 = peg$c69;
5828
+ if (input.substr(peg$currPos, 5) === peg$c74) {
5829
+ s0 = peg$c74;
5562
5830
  peg$currPos += 5;
5563
5831
  }
5564
5832
  else {
5565
5833
  s0 = peg$FAILED;
5566
5834
  if (peg$silentFails === 0) {
5567
- peg$fail(peg$e74);
5835
+ peg$fail(peg$e79);
5568
5836
  }
5569
5837
  }
5570
5838
  if (s0 === peg$FAILED) {
5571
- if (input.substr(peg$currPos, 6) === peg$c70) {
5572
- s0 = peg$c70;
5839
+ if (input.substr(peg$currPos, 6) === peg$c75) {
5840
+ s0 = peg$c75;
5573
5841
  peg$currPos += 6;
5574
5842
  }
5575
5843
  else {
5576
5844
  s0 = peg$FAILED;
5577
5845
  if (peg$silentFails === 0) {
5578
- peg$fail(peg$e75);
5846
+ peg$fail(peg$e80);
5579
5847
  }
5580
5848
  }
5581
5849
  }
@@ -5607,12 +5875,12 @@ function peg$parse(input, options) {
5607
5875
  s0 = peg$currPos;
5608
5876
  s1 = peg$parsebitmarkMinusMinusString();
5609
5877
  peg$savedPos = s0;
5610
- s1 = peg$f63(s1);
5878
+ s1 = peg$f64(s1);
5611
5879
  s0 = s1;
5612
5880
  peg$silentFails--;
5613
5881
  s1 = peg$FAILED;
5614
5882
  if (peg$silentFails === 0) {
5615
- peg$fail(peg$e76);
5883
+ peg$fail(peg$e81);
5616
5884
  }
5617
5885
  return s0;
5618
5886
  }
@@ -5637,11 +5905,11 @@ function peg$parse(input, options) {
5637
5905
  }
5638
5906
  }
5639
5907
  peg$savedPos = s0;
5640
- s0 = peg$f64(s1, s2);
5908
+ s0 = peg$f65(s1, s2);
5641
5909
  peg$silentFails--;
5642
5910
  s1 = peg$FAILED;
5643
5911
  if (peg$silentFails === 0) {
5644
- peg$fail(peg$e77);
5912
+ peg$fail(peg$e82);
5645
5913
  }
5646
5914
  return s0;
5647
5915
  }
@@ -5746,7 +6014,7 @@ function peg$parse(input, options) {
5746
6014
  }
5747
6015
  if (s1 !== peg$FAILED) {
5748
6016
  peg$savedPos = s0;
5749
- s1 = peg$f65(s1);
6017
+ s1 = peg$f66(s1);
5750
6018
  }
5751
6019
  s0 = s1;
5752
6020
  if (s0 === peg$FAILED) {
@@ -5757,13 +6025,13 @@ function peg$parse(input, options) {
5757
6025
  function peg$parseBoldHalfTag() {
5758
6026
  var s0;
5759
6027
  if (input.charCodeAt(peg$currPos) === 42) {
5760
- s0 = peg$c71;
6028
+ s0 = peg$c76;
5761
6029
  peg$currPos++;
5762
6030
  }
5763
6031
  else {
5764
6032
  s0 = peg$FAILED;
5765
6033
  if (peg$silentFails === 0) {
5766
- peg$fail(peg$e78);
6034
+ peg$fail(peg$e83);
5767
6035
  }
5768
6036
  }
5769
6037
  return s0;
@@ -5771,13 +6039,13 @@ function peg$parse(input, options) {
5771
6039
  function peg$parseItalicHalfTag() {
5772
6040
  var s0;
5773
6041
  if (input.charCodeAt(peg$currPos) === 95) {
5774
- s0 = peg$c72;
6042
+ s0 = peg$c77;
5775
6043
  peg$currPos++;
5776
6044
  }
5777
6045
  else {
5778
6046
  s0 = peg$FAILED;
5779
6047
  if (peg$silentFails === 0) {
5780
- peg$fail(peg$e79);
6048
+ peg$fail(peg$e84);
5781
6049
  }
5782
6050
  }
5783
6051
  return s0;
@@ -5785,13 +6053,13 @@ function peg$parse(input, options) {
5785
6053
  function peg$parseLightHalfTag() {
5786
6054
  var s0;
5787
6055
  if (input.charCodeAt(peg$currPos) === 96) {
5788
- s0 = peg$c73;
6056
+ s0 = peg$c78;
5789
6057
  peg$currPos++;
5790
6058
  }
5791
6059
  else {
5792
6060
  s0 = peg$FAILED;
5793
6061
  if (peg$silentFails === 0) {
5794
- peg$fail(peg$e80);
6062
+ peg$fail(peg$e85);
5795
6063
  }
5796
6064
  }
5797
6065
  return s0;
@@ -5799,13 +6067,13 @@ function peg$parse(input, options) {
5799
6067
  function peg$parseHighlightHalfTag() {
5800
6068
  var s0;
5801
6069
  if (input.charCodeAt(peg$currPos) === 33) {
5802
- s0 = peg$c74;
6070
+ s0 = peg$c79;
5803
6071
  peg$currPos++;
5804
6072
  }
5805
6073
  else {
5806
6074
  s0 = peg$FAILED;
5807
6075
  if (peg$silentFails === 0) {
5808
- peg$fail(peg$e81);
6076
+ peg$fail(peg$e86);
5809
6077
  }
5810
6078
  }
5811
6079
  return s0;
@@ -5896,14 +6164,14 @@ function peg$parse(input, options) {
5896
6164
  }
5897
6165
  function peg$parseBodyBitOpenTag() {
5898
6166
  var s0;
5899
- if (input.substr(peg$currPos, 2) === peg$c75) {
5900
- s0 = peg$c75;
6167
+ if (input.substr(peg$currPos, 2) === peg$c80) {
6168
+ s0 = peg$c80;
5901
6169
  peg$currPos += 2;
5902
6170
  }
5903
6171
  else {
5904
6172
  s0 = peg$FAILED;
5905
6173
  if (peg$silentFails === 0) {
5906
- peg$fail(peg$e82);
6174
+ peg$fail(peg$e87);
5907
6175
  }
5908
6176
  }
5909
6177
  return s0;
@@ -5911,13 +6179,13 @@ function peg$parse(input, options) {
5911
6179
  function peg$parseBodyBitCloseTag() {
5912
6180
  var s0;
5913
6181
  if (input.charCodeAt(peg$currPos) === 93) {
5914
- s0 = peg$c76;
6182
+ s0 = peg$c81;
5915
6183
  peg$currPos++;
5916
6184
  }
5917
6185
  else {
5918
6186
  s0 = peg$FAILED;
5919
6187
  if (peg$silentFails === 0) {
5920
- peg$fail(peg$e83);
6188
+ peg$fail(peg$e88);
5921
6189
  }
5922
6190
  }
5923
6191
  return s0;
@@ -5967,7 +6235,7 @@ function peg$parse(input, options) {
5967
6235
  s3 = peg$parseBodyBitCloseTag();
5968
6236
  if (s3 !== peg$FAILED) {
5969
6237
  peg$savedPos = s0;
5970
- s0 = peg$f66(s2);
6238
+ s0 = peg$f67(s2);
5971
6239
  }
5972
6240
  else {
5973
6241
  peg$currPos = s0;
@@ -6138,7 +6406,7 @@ function peg$parse(input, options) {
6138
6406
  s5 = peg$parseBoldTag();
6139
6407
  if (s5 !== peg$FAILED) {
6140
6408
  peg$savedPos = s0;
6141
- s0 = peg$f67(s3);
6409
+ s0 = peg$f68(s3);
6142
6410
  }
6143
6411
  else {
6144
6412
  peg$currPos = s0;
@@ -6304,7 +6572,7 @@ function peg$parse(input, options) {
6304
6572
  s5 = peg$parseItalicTag();
6305
6573
  if (s5 !== peg$FAILED) {
6306
6574
  peg$savedPos = s0;
6307
- s0 = peg$f68(s3);
6575
+ s0 = peg$f69(s3);
6308
6576
  }
6309
6577
  else {
6310
6578
  peg$currPos = s0;
@@ -6470,7 +6738,7 @@ function peg$parse(input, options) {
6470
6738
  s5 = peg$parseLightTag();
6471
6739
  if (s5 !== peg$FAILED) {
6472
6740
  peg$savedPos = s0;
6473
- s0 = peg$f69(s3);
6741
+ s0 = peg$f70(s3);
6474
6742
  }
6475
6743
  else {
6476
6744
  peg$currPos = s0;
@@ -6636,7 +6904,7 @@ function peg$parse(input, options) {
6636
6904
  s5 = peg$parseHighlightTag();
6637
6905
  if (s5 !== peg$FAILED) {
6638
6906
  peg$savedPos = s0;
6639
- s0 = peg$f70(s3);
6907
+ s0 = peg$f71(s3);
6640
6908
  }
6641
6909
  else {
6642
6910
  peg$currPos = s0;
@@ -6803,57 +7071,57 @@ function peg$parse(input, options) {
6803
7071
  var s0, s1;
6804
7072
  peg$silentFails++;
6805
7073
  if (input.charCodeAt(peg$currPos) === 10) {
6806
- s0 = peg$c77;
7074
+ s0 = peg$c82;
6807
7075
  peg$currPos++;
6808
7076
  }
6809
7077
  else {
6810
7078
  s0 = peg$FAILED;
6811
7079
  if (peg$silentFails === 0) {
6812
- peg$fail(peg$e85);
7080
+ peg$fail(peg$e90);
6813
7081
  }
6814
7082
  }
6815
7083
  if (s0 === peg$FAILED) {
6816
- if (input.substr(peg$currPos, 2) === peg$c78) {
6817
- s0 = peg$c78;
7084
+ if (input.substr(peg$currPos, 2) === peg$c83) {
7085
+ s0 = peg$c83;
6818
7086
  peg$currPos += 2;
6819
7087
  }
6820
7088
  else {
6821
7089
  s0 = peg$FAILED;
6822
7090
  if (peg$silentFails === 0) {
6823
- peg$fail(peg$e86);
7091
+ peg$fail(peg$e91);
6824
7092
  }
6825
7093
  }
6826
7094
  if (s0 === peg$FAILED) {
6827
7095
  if (input.charCodeAt(peg$currPos) === 13) {
6828
- s0 = peg$c79;
7096
+ s0 = peg$c84;
6829
7097
  peg$currPos++;
6830
7098
  }
6831
7099
  else {
6832
7100
  s0 = peg$FAILED;
6833
7101
  if (peg$silentFails === 0) {
6834
- peg$fail(peg$e87);
7102
+ peg$fail(peg$e92);
6835
7103
  }
6836
7104
  }
6837
7105
  if (s0 === peg$FAILED) {
6838
7106
  if (input.charCodeAt(peg$currPos) === 8232) {
6839
- s0 = peg$c80;
7107
+ s0 = peg$c85;
6840
7108
  peg$currPos++;
6841
7109
  }
6842
7110
  else {
6843
7111
  s0 = peg$FAILED;
6844
7112
  if (peg$silentFails === 0) {
6845
- peg$fail(peg$e88);
7113
+ peg$fail(peg$e93);
6846
7114
  }
6847
7115
  }
6848
7116
  if (s0 === peg$FAILED) {
6849
7117
  if (input.charCodeAt(peg$currPos) === 8233) {
6850
- s0 = peg$c81;
7118
+ s0 = peg$c86;
6851
7119
  peg$currPos++;
6852
7120
  }
6853
7121
  else {
6854
7122
  s0 = peg$FAILED;
6855
7123
  if (peg$silentFails === 0) {
6856
- peg$fail(peg$e89);
7124
+ peg$fail(peg$e94);
6857
7125
  }
6858
7126
  }
6859
7127
  }
@@ -6864,7 +7132,7 @@ function peg$parse(input, options) {
6864
7132
  if (s0 === peg$FAILED) {
6865
7133
  s1 = peg$FAILED;
6866
7134
  if (peg$silentFails === 0) {
6867
- peg$fail(peg$e84);
7135
+ peg$fail(peg$e89);
6868
7136
  }
6869
7137
  }
6870
7138
  return s0;
@@ -6899,7 +7167,7 @@ function peg$parse(input, options) {
6899
7167
  peg$silentFails--;
6900
7168
  s1 = peg$FAILED;
6901
7169
  if (peg$silentFails === 0) {
6902
- peg$fail(peg$e90);
7170
+ peg$fail(peg$e95);
6903
7171
  }
6904
7172
  return s0;
6905
7173
  }
@@ -6923,7 +7191,7 @@ function peg$parse(input, options) {
6923
7191
  peg$silentFails--;
6924
7192
  s1 = peg$FAILED;
6925
7193
  if (peg$silentFails === 0) {
6926
- peg$fail(peg$e91);
7194
+ peg$fail(peg$e96);
6927
7195
  }
6928
7196
  return s0;
6929
7197
  }
@@ -6947,7 +7215,7 @@ function peg$parse(input, options) {
6947
7215
  if (s0 === peg$FAILED) {
6948
7216
  s1 = peg$FAILED;
6949
7217
  if (peg$silentFails === 0) {
6950
- peg$fail(peg$e92);
7218
+ peg$fail(peg$e97);
6951
7219
  }
6952
7220
  }
6953
7221
  return s0;
@@ -6962,14 +7230,14 @@ function peg$parse(input, options) {
6962
7230
  else {
6963
7231
  s0 = peg$FAILED;
6964
7232
  if (peg$silentFails === 0) {
6965
- peg$fail(peg$e94);
7233
+ peg$fail(peg$e99);
6966
7234
  }
6967
7235
  }
6968
7236
  peg$silentFails--;
6969
7237
  if (s0 === peg$FAILED) {
6970
7238
  s1 = peg$FAILED;
6971
7239
  if (peg$silentFails === 0) {
6972
- peg$fail(peg$e93);
7240
+ peg$fail(peg$e98);
6973
7241
  }
6974
7242
  }
6975
7243
  return s0;
@@ -6983,7 +7251,7 @@ function peg$parse(input, options) {
6983
7251
  else {
6984
7252
  s0 = peg$FAILED;
6985
7253
  if (peg$silentFails === 0) {
6986
- peg$fail(peg$e95);
7254
+ peg$fail(peg$e100);
6987
7255
  }
6988
7256
  }
6989
7257
  return s0;
@@ -6997,7 +7265,7 @@ function peg$parse(input, options) {
6997
7265
  else {
6998
7266
  s0 = peg$FAILED;
6999
7267
  if (peg$silentFails === 0) {
7000
- peg$fail(peg$e96);
7268
+ peg$fail(peg$e101);
7001
7269
  }
7002
7270
  }
7003
7271
  return s0;
@@ -7011,7 +7279,7 @@ function peg$parse(input, options) {
7011
7279
  else {
7012
7280
  s0 = peg$FAILED;
7013
7281
  if (peg$silentFails === 0) {
7014
- peg$fail(peg$e97);
7282
+ peg$fail(peg$e102);
7015
7283
  }
7016
7284
  }
7017
7285
  return s0;
@@ -7047,38 +7315,38 @@ function peg$parse(input, options) {
7047
7315
  var s0, s1, s2, s3, s4, s5, s6, s7, s8;
7048
7316
  s0 = peg$currPos;
7049
7317
  s1 = peg$currPos;
7050
- if (input.substr(peg$currPos, 4) === peg$c82) {
7051
- s2 = peg$c82;
7318
+ if (input.substr(peg$currPos, 4) === peg$c87) {
7319
+ s2 = peg$c87;
7052
7320
  peg$currPos += 4;
7053
7321
  }
7054
7322
  else {
7055
7323
  s2 = peg$FAILED;
7056
7324
  if (peg$silentFails === 0) {
7057
- peg$fail(peg$e98);
7325
+ peg$fail(peg$e103);
7058
7326
  }
7059
7327
  }
7060
7328
  if (s2 !== peg$FAILED) {
7061
7329
  if (input.charCodeAt(peg$currPos) === 115) {
7062
- s3 = peg$c83;
7330
+ s3 = peg$c88;
7063
7331
  peg$currPos++;
7064
7332
  }
7065
7333
  else {
7066
7334
  s3 = peg$FAILED;
7067
7335
  if (peg$silentFails === 0) {
7068
- peg$fail(peg$e99);
7336
+ peg$fail(peg$e104);
7069
7337
  }
7070
7338
  }
7071
7339
  if (s3 === peg$FAILED) {
7072
7340
  s3 = null;
7073
7341
  }
7074
- if (input.substr(peg$currPos, 3) === peg$c84) {
7075
- s4 = peg$c84;
7342
+ if (input.substr(peg$currPos, 3) === peg$c89) {
7343
+ s4 = peg$c89;
7076
7344
  peg$currPos += 3;
7077
7345
  }
7078
7346
  else {
7079
7347
  s4 = peg$FAILED;
7080
7348
  if (peg$silentFails === 0) {
7081
- peg$fail(peg$e100);
7349
+ peg$fail(peg$e105);
7082
7350
  }
7083
7351
  }
7084
7352
  if (s4 !== peg$FAILED) {
@@ -7165,38 +7433,38 @@ function peg$parse(input, options) {
7165
7433
  s0 = peg$currPos;
7166
7434
  s1 = peg$currPos;
7167
7435
  s2 = peg$currPos;
7168
- if (input.substr(peg$currPos, 4) === peg$c82) {
7169
- s3 = peg$c82;
7436
+ if (input.substr(peg$currPos, 4) === peg$c87) {
7437
+ s3 = peg$c87;
7170
7438
  peg$currPos += 4;
7171
7439
  }
7172
7440
  else {
7173
7441
  s3 = peg$FAILED;
7174
7442
  if (peg$silentFails === 0) {
7175
- peg$fail(peg$e98);
7443
+ peg$fail(peg$e103);
7176
7444
  }
7177
7445
  }
7178
7446
  if (s3 !== peg$FAILED) {
7179
7447
  if (input.charCodeAt(peg$currPos) === 115) {
7180
- s4 = peg$c83;
7448
+ s4 = peg$c88;
7181
7449
  peg$currPos++;
7182
7450
  }
7183
7451
  else {
7184
7452
  s4 = peg$FAILED;
7185
7453
  if (peg$silentFails === 0) {
7186
- peg$fail(peg$e99);
7454
+ peg$fail(peg$e104);
7187
7455
  }
7188
7456
  }
7189
7457
  if (s4 === peg$FAILED) {
7190
7458
  s4 = null;
7191
7459
  }
7192
- if (input.substr(peg$currPos, 3) === peg$c84) {
7193
- s5 = peg$c84;
7460
+ if (input.substr(peg$currPos, 3) === peg$c89) {
7461
+ s5 = peg$c89;
7194
7462
  peg$currPos += 3;
7195
7463
  }
7196
7464
  else {
7197
7465
  s5 = peg$FAILED;
7198
7466
  if (peg$silentFails === 0) {
7199
- peg$fail(peg$e100);
7467
+ peg$fail(peg$e105);
7200
7468
  }
7201
7469
  }
7202
7470
  if (s5 !== peg$FAILED) {
@@ -7213,14 +7481,14 @@ function peg$parse(input, options) {
7213
7481
  s2 = peg$FAILED;
7214
7482
  }
7215
7483
  if (s2 === peg$FAILED) {
7216
- if (input.substr(peg$currPos, 7) === peg$c85) {
7217
- s2 = peg$c85;
7484
+ if (input.substr(peg$currPos, 7) === peg$c90) {
7485
+ s2 = peg$c90;
7218
7486
  peg$currPos += 7;
7219
7487
  }
7220
7488
  else {
7221
7489
  s2 = peg$FAILED;
7222
7490
  if (peg$silentFails === 0) {
7223
- peg$fail(peg$e101);
7491
+ peg$fail(peg$e106);
7224
7492
  }
7225
7493
  }
7226
7494
  }
@@ -7292,7 +7560,7 @@ function peg$parse(input, options) {
7292
7560
  }
7293
7561
  s2 = input.substring(s2, peg$currPos);
7294
7562
  peg$savedPos = s0;
7295
- s0 = peg$f71(s1, s2);
7563
+ s0 = peg$f72(s1, s2);
7296
7564
  }
7297
7565
  else {
7298
7566
  peg$currPos = s0;
@@ -7309,40 +7577,40 @@ function peg$parse(input, options) {
7309
7577
  else {
7310
7578
  s0 = peg$FAILED;
7311
7579
  if (peg$silentFails === 0) {
7312
- peg$fail(peg$e102);
7580
+ peg$fail(peg$e107);
7313
7581
  }
7314
7582
  }
7315
7583
  if (s0 === peg$FAILED) {
7316
7584
  if (input.charCodeAt(peg$currPos) === 126) {
7317
- s0 = peg$c86;
7585
+ s0 = peg$c91;
7318
7586
  peg$currPos++;
7319
7587
  }
7320
7588
  else {
7321
7589
  s0 = peg$FAILED;
7322
7590
  if (peg$silentFails === 0) {
7323
- peg$fail(peg$e103);
7591
+ peg$fail(peg$e108);
7324
7592
  }
7325
7593
  }
7326
7594
  if (s0 === peg$FAILED) {
7327
7595
  if (input.charCodeAt(peg$currPos) === 94) {
7328
- s0 = peg$c87;
7596
+ s0 = peg$c92;
7329
7597
  peg$currPos++;
7330
7598
  }
7331
7599
  else {
7332
7600
  s0 = peg$FAILED;
7333
7601
  if (peg$silentFails === 0) {
7334
- peg$fail(peg$e104);
7602
+ peg$fail(peg$e109);
7335
7603
  }
7336
7604
  }
7337
7605
  if (s0 === peg$FAILED) {
7338
7606
  if (input.charCodeAt(peg$currPos) === 39) {
7339
- s0 = peg$c88;
7607
+ s0 = peg$c93;
7340
7608
  peg$currPos++;
7341
7609
  }
7342
7610
  else {
7343
7611
  s0 = peg$FAILED;
7344
7612
  if (peg$silentFails === 0) {
7345
- peg$fail(peg$e105);
7613
+ peg$fail(peg$e110);
7346
7614
  }
7347
7615
  }
7348
7616
  }