bible-ref-parse 3.1.1 → 3.1.3

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.
@@ -1568,107 +1568,6 @@
1568
1568
  return this.range(passage, accum, context);
1569
1569
  }
1570
1570
 
1571
- // Handle verse ranges when in chapter context (e.g., "Sacharja 3, 1-4" = verses 1-4 in chapter 3).
1572
- cv_range(passage, accum, context) {
1573
- var book, book_id, end_v, id, ref, start_v;
1574
- passage.start_context = bcv_utils.shallow_clone(context);
1575
- // We don't need to preserve the original `type` for reparsing.
1576
- passage.type = "range";
1577
- [start_v, end_v] = passage.value;
1578
- // Create a virtual BCV range using the current chapter context
1579
- // We need to use the book ID that matches the context, not the book name
1580
- book_id = null;
1581
- ref = this.books;
1582
- for (id in ref) {
1583
- book = ref[id];
1584
- if (book.parsed.indexOf(context.b) >= 0) {
1585
- book_id = id;
1586
- break;
1587
- }
1588
- }
1589
- passage.value = [
1590
- {
1591
- type: "bcv",
1592
- value: [
1593
- {
1594
- type: "bc",
1595
- value: [
1596
- {
1597
- type: "b",
1598
- value: book_id,
1599
- indices: passage.indices
1600
- },
1601
- {
1602
- type: "c",
1603
- value: [
1604
- {
1605
- type: "integer",
1606
- value: context.c,
1607
- indices: passage.indices
1608
- }
1609
- ],
1610
- indices: passage.indices
1611
- }
1612
- ],
1613
- indices: passage.indices
1614
- },
1615
- start_v
1616
- ],
1617
- indices: passage.indices
1618
- },
1619
- end_v
1620
- ];
1621
- return this.range(passage, accum, context);
1622
- }
1623
-
1624
- // Handle book-chapter followed by verse range (e.g., "Sacharja 3, 1-4" = verses 1-4 in chapter 3).
1625
- bc_cv_range(passage, accum, context) {
1626
- var b, bc, c, cv_range, end_v, start_v;
1627
- passage.start_context = bcv_utils.shallow_clone(context);
1628
- // We don't need to preserve the original `type` for reparsing.
1629
- passage.type = "range";
1630
- [bc, cv_range] = passage.value;
1631
- // Extract the book and chapter from the bc
1632
- b = this.pluck("b", bc.value).value;
1633
- c = this.pluck("c", bc.value).value;
1634
- // Extract the verse range from cv_range
1635
- [start_v, end_v] = cv_range.value;
1636
- // Create a virtual BCV range
1637
- passage.value = [
1638
- {
1639
- type: "bcv",
1640
- value: [
1641
- {
1642
- type: "bc",
1643
- value: [
1644
- {
1645
- type: "b",
1646
- value: b,
1647
- indices: passage.indices
1648
- },
1649
- {
1650
- type: "c",
1651
- value: [
1652
- {
1653
- type: "integer",
1654
- value: c,
1655
- indices: passage.indices
1656
- }
1657
- ],
1658
- indices: passage.indices
1659
- }
1660
- ],
1661
- indices: passage.indices
1662
- },
1663
- start_v
1664
- ],
1665
- indices: passage.indices
1666
- },
1667
- end_v
1668
- ];
1669
- return this.range(passage, accum, context);
1670
- }
1671
-
1672
1571
  // Use an object to establish context for later objects but don't otherwise use it.
1673
1572
  context(passage, accum, context) {
1674
1573
  var key, ref;
@@ -3784,17 +3683,17 @@ function peg$parse(input, options) {
3784
3683
 
3785
3684
  var peg$c0 = "(";
3786
3685
  var peg$c1 = ")";
3787
- var peg$c2 = "f";
3788
- var peg$c3 = "\x1F";
3789
- var peg$c4 = "/";
3790
- var peg$c5 = ",";
3791
- var peg$c6 = ".";
3792
- var peg$c7 = "-";
3793
- var peg$c8 = "th";
3794
- var peg$c9 = "nd";
3795
- var peg$c10 = "st";
3796
- var peg$c11 = "/1\x1F";
3797
- var peg$c12 = "ff";
3686
+ var peg$c2 = "\x1F";
3687
+ var peg$c3 = "/";
3688
+ var peg$c4 = ",";
3689
+ var peg$c5 = ".";
3690
+ var peg$c6 = "-";
3691
+ var peg$c7 = "th";
3692
+ var peg$c8 = "nd";
3693
+ var peg$c9 = "st";
3694
+ var peg$c10 = "/1\x1F";
3695
+ var peg$c11 = "ff";
3696
+ var peg$c12 = "f";
3798
3697
  var peg$c13 = "/9\x1F";
3799
3698
  var peg$c14 = "/2\x1F";
3800
3699
  var peg$c15 = ".1";
@@ -3825,8 +3724,8 @@ function peg$parse(input, options) {
3825
3724
  var peg$c40 = "\x1E";
3826
3725
  var peg$c41 = ",000";
3827
3726
 
3828
- var peg$r0 = /^[a-z0-9\xE4a\xF6o\xFCu]/i;
3829
- var peg$r1 = /^[1-8]/;
3727
+ var peg$r0 = /^[1-8]/;
3728
+ var peg$r1 = /^[a-z0-9\xE4a\xF6o\xFCu]/i;
3830
3729
  var peg$r2 = /^[a-z]/;
3831
3730
  var peg$r3 = /^[0-9]/;
3832
3731
  var peg$r4 = /^[a-e]/;
@@ -3840,20 +3739,20 @@ function peg$parse(input, options) {
3840
3739
 
3841
3740
  var peg$e0 = peg$literalExpectation("(", false);
3842
3741
  var peg$e1 = peg$literalExpectation(")", false);
3843
- var peg$e2 = peg$literalExpectation("f", false);
3844
- var peg$e3 = peg$classExpectation([["a", "z"], ["0", "9"], "\xE4", "a", "\xF6", "o", "\xFC", "u"], false, true);
3845
- var peg$e4 = peg$literalExpectation("\x1F", false);
3846
- var peg$e5 = peg$literalExpectation("/", false);
3847
- var peg$e6 = peg$classExpectation([["1", "8"]], false, false);
3848
- var peg$e7 = peg$literalExpectation(",", false);
3849
- var peg$e8 = peg$literalExpectation(".", false);
3850
- var peg$e9 = peg$literalExpectation("-", false);
3851
- var peg$e10 = peg$literalExpectation("th", false);
3852
- var peg$e11 = peg$literalExpectation("nd", false);
3853
- var peg$e12 = peg$literalExpectation("st", false);
3854
- var peg$e13 = peg$literalExpectation("/1\x1F", false);
3855
- var peg$e14 = peg$literalExpectation("ff", false);
3856
- var peg$e15 = peg$classExpectation([["a", "z"]], false, false);
3742
+ var peg$e2 = peg$literalExpectation("\x1F", false);
3743
+ var peg$e3 = peg$literalExpectation("/", false);
3744
+ var peg$e4 = peg$classExpectation([["1", "8"]], false, false);
3745
+ var peg$e5 = peg$literalExpectation(",", false);
3746
+ var peg$e6 = peg$literalExpectation(".", false);
3747
+ var peg$e7 = peg$literalExpectation("-", false);
3748
+ var peg$e8 = peg$literalExpectation("th", false);
3749
+ var peg$e9 = peg$literalExpectation("nd", false);
3750
+ var peg$e10 = peg$literalExpectation("st", false);
3751
+ var peg$e11 = peg$literalExpectation("/1\x1F", false);
3752
+ var peg$e12 = peg$literalExpectation("ff", false);
3753
+ var peg$e13 = peg$classExpectation([["a", "z"], ["0", "9"], "\xE4", "a", "\xF6", "o", "\xFC", "u"], false, true);
3754
+ var peg$e14 = peg$classExpectation([["a", "z"]], false, false);
3755
+ var peg$e15 = peg$literalExpectation("f", false);
3857
3756
  var peg$e16 = peg$literalExpectation("/9\x1F", false);
3858
3757
  var peg$e17 = peg$literalExpectation("/2\x1F", false);
3859
3758
  var peg$e18 = peg$literalExpectation(".1", false);
@@ -3897,48 +3796,46 @@ function peg$parse(input, options) {
3897
3796
  var peg$f1 = function(val_1, val_2) { if (typeof(val_2) === "undefined") val_2 = []; val_2.unshift([val_1]); return {"type": "sequence_post_enclosed", "value": val_2, "indices": [peg$savedPos, peg$currPos - 1]} };
3898
3797
  var peg$f2 = function(val_1, val_2) { if (val_1.length && val_1.length === 2) val_1 = val_1[0]; // for `b`, which returns [object, undefined]
3899
3798
  return {"type": "range", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3900
- var peg$f3 = function(val_1, val_2) { return {"type": "cv_range", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3901
- var peg$f4 = function(val_1, val_2) { return {"type": "bc_cv_range", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3902
- var peg$f5 = function(val) { return {"type": "b", "value": val.value, "indices": [peg$savedPos, peg$currPos - 1]} };
3903
- var peg$f6 = function(val_1, val_2) { return {"type": "bc", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3904
- var peg$f7 = function(val_1, val_2) { return {"type": "bc", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3905
- var peg$f8 = function(val_1, val_2) { return {"type": "bc_title", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3799
+ var peg$f3 = function(val) { return {"type": "b", "value": val.value, "indices": [peg$savedPos, peg$currPos - 1]} };
3800
+ var peg$f4 = function(val_1, val_2) { return {"type": "bc", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3801
+ var peg$f5 = function(val_1, val_2) { return {"type": "bc", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3802
+ var peg$f6 = function(val_1, val_2) { return {"type": "bc_title", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3803
+ var peg$f7 = function(val_1, val_2) { return {"type": "bcv", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3804
+ var peg$f8 = function(val_1, val_2) { return {"type": "bcv", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3906
3805
  var peg$f9 = function(val_1, val_2) { return {"type": "bcv", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3907
- var peg$f10 = function(val_1, val_2) { return {"type": "bcv", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3908
- var peg$f11 = function(val_1, val_2) { return {"type": "bcv", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3909
- var peg$f12 = function(val_1, val_2, val_3, val_4) { return {"type": "range", "value": [{"type": "bcv", "value": [{"type": "bc", "value": [val_1, val_2], "indices": [val_1.indices[0], val_2.indices[1]]}, val_3], "indices": [val_1.indices[0], val_3.indices[1]]}, val_4], "indices": [peg$savedPos, peg$currPos - 1]} };
3910
- var peg$f13 = function(val_1, val_2) { return {"type": "bv", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3911
- var peg$f14 = function(val_1, val_2) { return {"type": "bc", "value": [val_2, val_1], "indices": [peg$savedPos, peg$currPos - 1]} };
3912
- var peg$f15 = function(val_1, val_2, val_3) { return {"type": "cb_range", "value": [val_3, val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3806
+ var peg$f10 = function(val_1, val_2, val_3, val_4) { return {"type": "range", "value": [{"type": "bcv", "value": [{"type": "bc", "value": [val_1, val_2], "indices": [val_1.indices[0], val_2.indices[1]]}, val_3], "indices": [val_1.indices[0], val_3.indices[1]]}, val_4], "indices": [peg$savedPos, peg$currPos - 1]} };
3807
+ var peg$f11 = function(val_1, val_2) { return {"type": "bv", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3808
+ var peg$f12 = function(val_1, val_2) { return {"type": "bc", "value": [val_2, val_1], "indices": [peg$savedPos, peg$currPos - 1]} };
3809
+ var peg$f13 = function(val_1, val_2, val_3) { return {"type": "cb_range", "value": [val_3, val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3810
+ var peg$f14 = function(val_1, val_2) { return {"type": "bcv", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3811
+ var peg$f15 = function(val_1, val_2) { return {"type": "bc", "value": [val_2, val_1], "indices": [peg$savedPos, peg$currPos - 1]} };
3913
3812
  var peg$f16 = function(val_1, val_2) { return {"type": "bcv", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3914
- var peg$f17 = function(val_1, val_2) { return {"type": "bc", "value": [val_2, val_1], "indices": [peg$savedPos, peg$currPos - 1]} };
3915
- var peg$f18 = function(val_1, val_2) { return {"type": "bcv", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3916
- var peg$f19 = function(val) { return {"type": "c_psalm", "value": val.value, "indices": [peg$savedPos, peg$currPos - 1]} };
3917
- var peg$f20 = function(val_1, val_2) { return {"type": "cv_psalm", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3918
- var peg$f21 = function(val_1, val_2) { return {"type": "c_title", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3919
- var peg$f22 = function(val_1, val_2) { return {"type": "cv", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3920
- var peg$f23 = function(val_1, val_2) { return {"type": "cv", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3921
- var peg$f24 = function(val) { return {"type": "c", "value": [val], "indices": [peg$savedPos, peg$currPos - 1]} };
3922
- var peg$f25 = function(val_1) { return {"type": "ff", "value": [val_1], "indices": [peg$savedPos, peg$currPos - 1]} };
3923
- var peg$f26 = function(val_1) { return {"type": "next_v", "value": [val_1], "indices": [peg$savedPos, peg$currPos - 1]} };
3924
- var peg$f27 = function(val_1, val_2) { return {"type": "integer_title", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3925
- var peg$f28 = function(val) { return {"type": "context", "value": val.value, "indices": [peg$savedPos, peg$currPos - 1]} };
3926
- var peg$f29 = function(val) { return {"type": "b", "value": val.value, "indices": [peg$savedPos, peg$currPos - 1]} };
3927
- var peg$f30 = function(val) { return {"type": "bc", "value": [val, {"type": "c", "value": [{"type": "integer", "value": 151, "indices": [peg$currPos - 2, peg$currPos - 1]}], "indices": [peg$currPos - 2, peg$currPos - 1]}], "indices": [peg$savedPos, peg$currPos - 1]} };
3928
- var peg$f31 = function(val_1, val_2) { return {"type": "bcv", "value": [val_1, {"type": "v", "value": [val_2], "indices": [val_2.indices[0], val_2.indices[1]]}], "indices": [peg$savedPos, peg$currPos - 1]} };
3929
- var peg$f32 = function(val) { return {"type": "v", "value": [val], "indices": [peg$savedPos, peg$currPos - 1]} };
3930
- var peg$f33 = function(val) { return {"type": "v", "value": [val], "indices": [peg$savedPos, peg$currPos - 1]} };
3931
- var peg$f34 = function() { return {"type": "c_explicit"} };
3932
- var peg$f35 = function() { return {"type": "v_explicit"} };
3933
- var peg$f36 = function() { return "" };
3934
- var peg$f37 = function(val) { return {type:"title", value: [val], "indices": [peg$savedPos, peg$currPos - 1]} };
3935
- var peg$f38 = function(val) { return {"type": "translation_sequence", "value": val, "indices": [peg$savedPos, peg$currPos - 1]} };
3936
- var peg$f39 = function(val) { return {"type": "translation_sequence", "value": val, "indices": [peg$savedPos, peg$currPos - 1]} };
3937
- var peg$f40 = function(val) { return {"type": "translation", "value": val.value, "indices": [peg$savedPos, peg$currPos - 1]} };
3938
- var peg$f41 = function(val) { return {"type": "integer", "value": parseInt(val.join(""), 10), "indices": [peg$savedPos, peg$currPos - 1]} };
3939
- var peg$f42 = function(val) { return {"type": "integer", "value": parseInt(val.join(""), 10), "indices": [peg$savedPos, peg$currPos - 1]} };
3940
- var peg$f43 = function(val) { return {"type": "word", "value": val.join(""), "indices": [peg$savedPos, peg$currPos - 1]} };
3941
- var peg$f44 = function(val) { return {"type": "stop", "value": val, "indices": [peg$savedPos, peg$currPos - 1]} };
3813
+ var peg$f17 = function(val) { return {"type": "c_psalm", "value": val.value, "indices": [peg$savedPos, peg$currPos - 1]} };
3814
+ var peg$f18 = function(val_1, val_2) { return {"type": "cv_psalm", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3815
+ var peg$f19 = function(val_1, val_2) { return {"type": "c_title", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3816
+ var peg$f20 = function(val_1, val_2) { return {"type": "cv", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3817
+ var peg$f21 = function(val_1, val_2) { return {"type": "cv", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3818
+ var peg$f22 = function(val) { return {"type": "c", "value": [val], "indices": [peg$savedPos, peg$currPos - 1]} };
3819
+ var peg$f23 = function(val_1) { return {"type": "ff", "value": [val_1], "indices": [peg$savedPos, peg$currPos - 1]} };
3820
+ var peg$f24 = function(val_1) { return {"type": "next_v", "value": [val_1], "indices": [peg$savedPos, peg$currPos - 1]} };
3821
+ var peg$f25 = function(val_1, val_2) { return {"type": "integer_title", "value": [val_1, val_2], "indices": [peg$savedPos, peg$currPos - 1]} };
3822
+ var peg$f26 = function(val) { return {"type": "context", "value": val.value, "indices": [peg$savedPos, peg$currPos - 1]} };
3823
+ var peg$f27 = function(val) { return {"type": "b", "value": val.value, "indices": [peg$savedPos, peg$currPos - 1]} };
3824
+ var peg$f28 = function(val) { return {"type": "bc", "value": [val, {"type": "c", "value": [{"type": "integer", "value": 151, "indices": [peg$currPos - 2, peg$currPos - 1]}], "indices": [peg$currPos - 2, peg$currPos - 1]}], "indices": [peg$savedPos, peg$currPos - 1]} };
3825
+ var peg$f29 = function(val_1, val_2) { return {"type": "bcv", "value": [val_1, {"type": "v", "value": [val_2], "indices": [val_2.indices[0], val_2.indices[1]]}], "indices": [peg$savedPos, peg$currPos - 1]} };
3826
+ var peg$f30 = function(val) { return {"type": "v", "value": [val], "indices": [peg$savedPos, peg$currPos - 1]} };
3827
+ var peg$f31 = function(val) { return {"type": "v", "value": [val], "indices": [peg$savedPos, peg$currPos - 1]} };
3828
+ var peg$f32 = function() { return {"type": "c_explicit"} };
3829
+ var peg$f33 = function() { return {"type": "v_explicit"} };
3830
+ var peg$f34 = function() { return "" };
3831
+ var peg$f35 = function(val) { return {type:"title", value: [val], "indices": [peg$savedPos, peg$currPos - 1]} };
3832
+ var peg$f36 = function(val) { return {"type": "translation_sequence", "value": val, "indices": [peg$savedPos, peg$currPos - 1]} };
3833
+ var peg$f37 = function(val) { return {"type": "translation_sequence", "value": val, "indices": [peg$savedPos, peg$currPos - 1]} };
3834
+ var peg$f38 = function(val) { return {"type": "translation", "value": val.value, "indices": [peg$savedPos, peg$currPos - 1]} };
3835
+ var peg$f39 = function(val) { return {"type": "integer", "value": parseInt(val.join(""), 10), "indices": [peg$savedPos, peg$currPos - 1]} };
3836
+ var peg$f40 = function(val) { return {"type": "integer", "value": parseInt(val.join(""), 10), "indices": [peg$savedPos, peg$currPos - 1]} };
3837
+ var peg$f41 = function(val) { return {"type": "word", "value": val.join(""), "indices": [peg$savedPos, peg$currPos - 1]} };
3838
+ var peg$f42 = function(val) { return {"type": "stop", "value": val, "indices": [peg$savedPos, peg$currPos - 1]} };
3942
3839
  var peg$currPos = options.peg$currPos | 0;
3943
3840
  var peg$savedPos = peg$currPos;
3944
3841
  var peg$posDetailsCache = [{ line: 1, column: 1 }];
@@ -4112,79 +4009,73 @@ function peg$parse(input, options) {
4112
4009
  s0 = [];
4113
4010
  s1 = peg$parsebcv_hyphen_range();
4114
4011
  if (s1 === peg$FAILED) {
4115
- s1 = peg$parsebc_cv_range();
4012
+ s1 = peg$parsesequence();
4116
4013
  if (s1 === peg$FAILED) {
4117
- s1 = peg$parsesequence();
4014
+ s1 = peg$parsecb_range();
4118
4015
  if (s1 === peg$FAILED) {
4119
- s1 = peg$parsecb_range();
4016
+ s1 = peg$parserange();
4120
4017
  if (s1 === peg$FAILED) {
4121
- s1 = peg$parserange();
4018
+ s1 = peg$parsenext_v();
4122
4019
  if (s1 === peg$FAILED) {
4123
- s1 = peg$parsecv_range();
4020
+ s1 = peg$parseff();
4124
4021
  if (s1 === peg$FAILED) {
4125
- s1 = peg$parsenext_v();
4022
+ s1 = peg$parsebcv_comma();
4126
4023
  if (s1 === peg$FAILED) {
4127
- s1 = peg$parseff();
4024
+ s1 = peg$parsebc_title();
4128
4025
  if (s1 === peg$FAILED) {
4129
- s1 = peg$parsebcv_comma();
4026
+ s1 = peg$parseps151_bcv();
4130
4027
  if (s1 === peg$FAILED) {
4131
- s1 = peg$parsebc_title();
4028
+ s1 = peg$parsebcv();
4132
4029
  if (s1 === peg$FAILED) {
4133
- s1 = peg$parseps151_bcv();
4030
+ s1 = peg$parsebcv_weak();
4134
4031
  if (s1 === peg$FAILED) {
4135
- s1 = peg$parsebcv();
4032
+ s1 = peg$parseps151_bc();
4136
4033
  if (s1 === peg$FAILED) {
4137
- s1 = peg$parsebcv_weak();
4034
+ s1 = peg$parsebc();
4138
4035
  if (s1 === peg$FAILED) {
4139
- s1 = peg$parseps151_bc();
4036
+ s1 = peg$parsecv_psalm();
4140
4037
  if (s1 === peg$FAILED) {
4141
- s1 = peg$parsebc();
4038
+ s1 = peg$parsebv();
4142
4039
  if (s1 === peg$FAILED) {
4143
- s1 = peg$parsecv_psalm();
4040
+ s1 = peg$parsec_psalm();
4144
4041
  if (s1 === peg$FAILED) {
4145
- s1 = peg$parsebv();
4042
+ s1 = peg$parseb();
4146
4043
  if (s1 === peg$FAILED) {
4147
- s1 = peg$parsec_psalm();
4044
+ s1 = peg$parsecbv();
4148
4045
  if (s1 === peg$FAILED) {
4149
- s1 = peg$parseb();
4046
+ s1 = peg$parsecbv_ordinal();
4150
4047
  if (s1 === peg$FAILED) {
4151
- s1 = peg$parsecbv();
4048
+ s1 = peg$parsecb();
4152
4049
  if (s1 === peg$FAILED) {
4153
- s1 = peg$parsecbv_ordinal();
4050
+ s1 = peg$parsecb_ordinal();
4154
4051
  if (s1 === peg$FAILED) {
4155
- s1 = peg$parsecb();
4052
+ s1 = peg$parsetranslation_sequence_enclosed();
4156
4053
  if (s1 === peg$FAILED) {
4157
- s1 = peg$parsecb_ordinal();
4054
+ s1 = peg$parsetranslation_sequence();
4158
4055
  if (s1 === peg$FAILED) {
4159
- s1 = peg$parsetranslation_sequence_enclosed();
4056
+ s1 = peg$parsesequence_sep();
4160
4057
  if (s1 === peg$FAILED) {
4161
- s1 = peg$parsetranslation_sequence();
4058
+ s1 = peg$parsec_title();
4162
4059
  if (s1 === peg$FAILED) {
4163
- s1 = peg$parsesequence_sep();
4060
+ s1 = peg$parseinteger_title();
4164
4061
  if (s1 === peg$FAILED) {
4165
- s1 = peg$parsec_title();
4062
+ s1 = peg$parsecv();
4166
4063
  if (s1 === peg$FAILED) {
4167
- s1 = peg$parseinteger_title();
4064
+ s1 = peg$parsecv_weak();
4168
4065
  if (s1 === peg$FAILED) {
4169
- s1 = peg$parsecv();
4066
+ s1 = peg$parsev_letter();
4170
4067
  if (s1 === peg$FAILED) {
4171
- s1 = peg$parsecv_weak();
4068
+ s1 = peg$parseinteger();
4172
4069
  if (s1 === peg$FAILED) {
4173
- s1 = peg$parsev_letter();
4070
+ s1 = peg$parsec();
4174
4071
  if (s1 === peg$FAILED) {
4175
- s1 = peg$parseinteger();
4072
+ s1 = peg$parsev();
4176
4073
  if (s1 === peg$FAILED) {
4177
- s1 = peg$parsec();
4074
+ s1 = peg$parseword();
4178
4075
  if (s1 === peg$FAILED) {
4179
- s1 = peg$parsev();
4076
+ s1 = peg$parseword_parenthesis();
4180
4077
  if (s1 === peg$FAILED) {
4181
- s1 = peg$parseword();
4182
- if (s1 === peg$FAILED) {
4183
- s1 = peg$parseword_parenthesis();
4184
- if (s1 === peg$FAILED) {
4185
- s1 = peg$parsecontext();
4186
- }
4187
- }
4078
+ s1 = peg$parsecontext();
4188
4079
  }
4189
4080
  }
4190
4081
  }
@@ -4224,79 +4115,73 @@ function peg$parse(input, options) {
4224
4115
  s0.push(s1);
4225
4116
  s1 = peg$parsebcv_hyphen_range();
4226
4117
  if (s1 === peg$FAILED) {
4227
- s1 = peg$parsebc_cv_range();
4118
+ s1 = peg$parsesequence();
4228
4119
  if (s1 === peg$FAILED) {
4229
- s1 = peg$parsesequence();
4120
+ s1 = peg$parsecb_range();
4230
4121
  if (s1 === peg$FAILED) {
4231
- s1 = peg$parsecb_range();
4122
+ s1 = peg$parserange();
4232
4123
  if (s1 === peg$FAILED) {
4233
- s1 = peg$parserange();
4124
+ s1 = peg$parsenext_v();
4234
4125
  if (s1 === peg$FAILED) {
4235
- s1 = peg$parsecv_range();
4126
+ s1 = peg$parseff();
4236
4127
  if (s1 === peg$FAILED) {
4237
- s1 = peg$parsenext_v();
4128
+ s1 = peg$parsebcv_comma();
4238
4129
  if (s1 === peg$FAILED) {
4239
- s1 = peg$parseff();
4130
+ s1 = peg$parsebc_title();
4240
4131
  if (s1 === peg$FAILED) {
4241
- s1 = peg$parsebcv_comma();
4132
+ s1 = peg$parseps151_bcv();
4242
4133
  if (s1 === peg$FAILED) {
4243
- s1 = peg$parsebc_title();
4134
+ s1 = peg$parsebcv();
4244
4135
  if (s1 === peg$FAILED) {
4245
- s1 = peg$parseps151_bcv();
4136
+ s1 = peg$parsebcv_weak();
4246
4137
  if (s1 === peg$FAILED) {
4247
- s1 = peg$parsebcv();
4138
+ s1 = peg$parseps151_bc();
4248
4139
  if (s1 === peg$FAILED) {
4249
- s1 = peg$parsebcv_weak();
4140
+ s1 = peg$parsebc();
4250
4141
  if (s1 === peg$FAILED) {
4251
- s1 = peg$parseps151_bc();
4142
+ s1 = peg$parsecv_psalm();
4252
4143
  if (s1 === peg$FAILED) {
4253
- s1 = peg$parsebc();
4144
+ s1 = peg$parsebv();
4254
4145
  if (s1 === peg$FAILED) {
4255
- s1 = peg$parsecv_psalm();
4146
+ s1 = peg$parsec_psalm();
4256
4147
  if (s1 === peg$FAILED) {
4257
- s1 = peg$parsebv();
4148
+ s1 = peg$parseb();
4258
4149
  if (s1 === peg$FAILED) {
4259
- s1 = peg$parsec_psalm();
4150
+ s1 = peg$parsecbv();
4260
4151
  if (s1 === peg$FAILED) {
4261
- s1 = peg$parseb();
4152
+ s1 = peg$parsecbv_ordinal();
4262
4153
  if (s1 === peg$FAILED) {
4263
- s1 = peg$parsecbv();
4154
+ s1 = peg$parsecb();
4264
4155
  if (s1 === peg$FAILED) {
4265
- s1 = peg$parsecbv_ordinal();
4156
+ s1 = peg$parsecb_ordinal();
4266
4157
  if (s1 === peg$FAILED) {
4267
- s1 = peg$parsecb();
4158
+ s1 = peg$parsetranslation_sequence_enclosed();
4268
4159
  if (s1 === peg$FAILED) {
4269
- s1 = peg$parsecb_ordinal();
4160
+ s1 = peg$parsetranslation_sequence();
4270
4161
  if (s1 === peg$FAILED) {
4271
- s1 = peg$parsetranslation_sequence_enclosed();
4162
+ s1 = peg$parsesequence_sep();
4272
4163
  if (s1 === peg$FAILED) {
4273
- s1 = peg$parsetranslation_sequence();
4164
+ s1 = peg$parsec_title();
4274
4165
  if (s1 === peg$FAILED) {
4275
- s1 = peg$parsesequence_sep();
4166
+ s1 = peg$parseinteger_title();
4276
4167
  if (s1 === peg$FAILED) {
4277
- s1 = peg$parsec_title();
4168
+ s1 = peg$parsecv();
4278
4169
  if (s1 === peg$FAILED) {
4279
- s1 = peg$parseinteger_title();
4170
+ s1 = peg$parsecv_weak();
4280
4171
  if (s1 === peg$FAILED) {
4281
- s1 = peg$parsecv();
4172
+ s1 = peg$parsev_letter();
4282
4173
  if (s1 === peg$FAILED) {
4283
- s1 = peg$parsecv_weak();
4174
+ s1 = peg$parseinteger();
4284
4175
  if (s1 === peg$FAILED) {
4285
- s1 = peg$parsev_letter();
4176
+ s1 = peg$parsec();
4286
4177
  if (s1 === peg$FAILED) {
4287
- s1 = peg$parseinteger();
4178
+ s1 = peg$parsev();
4288
4179
  if (s1 === peg$FAILED) {
4289
- s1 = peg$parsec();
4180
+ s1 = peg$parseword();
4290
4181
  if (s1 === peg$FAILED) {
4291
- s1 = peg$parsev();
4182
+ s1 = peg$parseword_parenthesis();
4292
4183
  if (s1 === peg$FAILED) {
4293
- s1 = peg$parseword();
4294
- if (s1 === peg$FAILED) {
4295
- s1 = peg$parseword_parenthesis();
4296
- if (s1 === peg$FAILED) {
4297
- s1 = peg$parsecontext();
4298
- }
4299
- }
4184
+ s1 = peg$parsecontext();
4300
4185
  }
4301
4186
  }
4302
4187
  }
@@ -4539,60 +4424,57 @@ function peg$parse(input, options) {
4539
4424
  if (s0 === peg$FAILED) {
4540
4425
  s0 = peg$parsebcv_hyphen_range();
4541
4426
  if (s0 === peg$FAILED) {
4542
- s0 = peg$parsecv_range();
4427
+ s0 = peg$parserange();
4543
4428
  if (s0 === peg$FAILED) {
4544
- s0 = peg$parserange();
4429
+ s0 = peg$parsenext_v();
4545
4430
  if (s0 === peg$FAILED) {
4546
- s0 = peg$parsenext_v();
4431
+ s0 = peg$parseff();
4547
4432
  if (s0 === peg$FAILED) {
4548
- s0 = peg$parseff();
4433
+ s0 = peg$parsebcv_comma();
4549
4434
  if (s0 === peg$FAILED) {
4550
- s0 = peg$parsebcv_comma();
4435
+ s0 = peg$parsebc_title();
4551
4436
  if (s0 === peg$FAILED) {
4552
- s0 = peg$parsebc_title();
4437
+ s0 = peg$parseps151_bcv();
4553
4438
  if (s0 === peg$FAILED) {
4554
- s0 = peg$parseps151_bcv();
4439
+ s0 = peg$parsebcv();
4555
4440
  if (s0 === peg$FAILED) {
4556
- s0 = peg$parsebcv();
4441
+ s0 = peg$parsebcv_weak();
4557
4442
  if (s0 === peg$FAILED) {
4558
- s0 = peg$parsebcv_weak();
4443
+ s0 = peg$parseps151_bc();
4559
4444
  if (s0 === peg$FAILED) {
4560
- s0 = peg$parseps151_bc();
4445
+ s0 = peg$parsebc();
4561
4446
  if (s0 === peg$FAILED) {
4562
- s0 = peg$parsebc();
4447
+ s0 = peg$parsecv_psalm();
4563
4448
  if (s0 === peg$FAILED) {
4564
- s0 = peg$parsecv_psalm();
4449
+ s0 = peg$parsebv();
4565
4450
  if (s0 === peg$FAILED) {
4566
- s0 = peg$parsebv();
4451
+ s0 = peg$parsec_psalm();
4567
4452
  if (s0 === peg$FAILED) {
4568
- s0 = peg$parsec_psalm();
4453
+ s0 = peg$parseb();
4569
4454
  if (s0 === peg$FAILED) {
4570
- s0 = peg$parseb();
4455
+ s0 = peg$parsecbv();
4571
4456
  if (s0 === peg$FAILED) {
4572
- s0 = peg$parsecbv();
4457
+ s0 = peg$parsecbv_ordinal();
4573
4458
  if (s0 === peg$FAILED) {
4574
- s0 = peg$parsecbv_ordinal();
4459
+ s0 = peg$parsecb();
4575
4460
  if (s0 === peg$FAILED) {
4576
- s0 = peg$parsecb();
4461
+ s0 = peg$parsecb_ordinal();
4577
4462
  if (s0 === peg$FAILED) {
4578
- s0 = peg$parsecb_ordinal();
4463
+ s0 = peg$parsec_title();
4579
4464
  if (s0 === peg$FAILED) {
4580
- s0 = peg$parsec_title();
4465
+ s0 = peg$parseinteger_title();
4581
4466
  if (s0 === peg$FAILED) {
4582
- s0 = peg$parseinteger_title();
4467
+ s0 = peg$parsecv();
4583
4468
  if (s0 === peg$FAILED) {
4584
- s0 = peg$parsecv();
4469
+ s0 = peg$parsecv_weak();
4585
4470
  if (s0 === peg$FAILED) {
4586
- s0 = peg$parsecv_weak();
4471
+ s0 = peg$parsev_letter();
4587
4472
  if (s0 === peg$FAILED) {
4588
- s0 = peg$parsev_letter();
4473
+ s0 = peg$parseinteger();
4589
4474
  if (s0 === peg$FAILED) {
4590
- s0 = peg$parseinteger();
4475
+ s0 = peg$parsec();
4591
4476
  if (s0 === peg$FAILED) {
4592
- s0 = peg$parsec();
4593
- if (s0 === peg$FAILED) {
4594
- s0 = peg$parsev();
4595
- }
4477
+ s0 = peg$parsev();
4596
4478
  }
4597
4479
  }
4598
4480
  }
@@ -4852,147 +4734,35 @@ function peg$parse(input, options) {
4852
4734
  return s0;
4853
4735
  }
4854
4736
 
4855
- function peg$parsecv_range() {
4856
- var s0, s1, s2, s3, s4, s5, s6, s7, s8;
4857
-
4858
- s0 = peg$currPos;
4859
- s1 = peg$parsev_letter();
4860
- if (s1 === peg$FAILED) {
4861
- s1 = peg$parsev();
4862
- }
4863
- if (s1 !== peg$FAILED) {
4864
- s2 = peg$parserange_sep();
4865
- if (s2 !== peg$FAILED) {
4866
- s3 = peg$parsev_letter();
4867
- if (s3 === peg$FAILED) {
4868
- s3 = peg$parsev();
4869
- }
4870
- if (s3 !== peg$FAILED) {
4871
- s4 = peg$currPos;
4872
- peg$silentFails++;
4873
- s5 = peg$currPos;
4874
- if (input.charCodeAt(peg$currPos) === 102) {
4875
- s6 = peg$c2;
4876
- peg$currPos++;
4877
- } else {
4878
- s6 = peg$FAILED;
4879
- if (peg$silentFails === 0) { peg$fail(peg$e2); }
4880
- }
4881
- if (s6 !== peg$FAILED) {
4882
- s7 = peg$currPos;
4883
- peg$silentFails++;
4884
- s8 = input.charAt(peg$currPos);
4885
- if (peg$r0.test(s8)) {
4886
- peg$currPos++;
4887
- } else {
4888
- s8 = peg$FAILED;
4889
- if (peg$silentFails === 0) { peg$fail(peg$e3); }
4890
- }
4891
- peg$silentFails--;
4892
- if (s8 === peg$FAILED) {
4893
- s7 = undefined;
4894
- } else {
4895
- peg$currPos = s7;
4896
- s7 = peg$FAILED;
4897
- }
4898
- if (s7 !== peg$FAILED) {
4899
- s6 = [s6, s7];
4900
- s5 = s6;
4901
- } else {
4902
- peg$currPos = s5;
4903
- s5 = peg$FAILED;
4904
- }
4905
- } else {
4906
- peg$currPos = s5;
4907
- s5 = peg$FAILED;
4908
- }
4909
- peg$silentFails--;
4910
- if (s5 === peg$FAILED) {
4911
- s4 = undefined;
4912
- } else {
4913
- peg$currPos = s4;
4914
- s4 = peg$FAILED;
4915
- }
4916
- if (s4 !== peg$FAILED) {
4917
- peg$savedPos = s0;
4918
- s0 = peg$f3(s1, s3);
4919
- } else {
4920
- peg$currPos = s0;
4921
- s0 = peg$FAILED;
4922
- }
4923
- } else {
4924
- peg$currPos = s0;
4925
- s0 = peg$FAILED;
4926
- }
4927
- } else {
4928
- peg$currPos = s0;
4929
- s0 = peg$FAILED;
4930
- }
4931
- } else {
4932
- peg$currPos = s0;
4933
- s0 = peg$FAILED;
4934
- }
4935
-
4936
- return s0;
4937
- }
4938
-
4939
- function peg$parsebc_cv_range() {
4940
- var s0, s1, s2, s3;
4941
-
4942
- s0 = peg$currPos;
4943
- s1 = peg$parsebc();
4944
- if (s1 !== peg$FAILED) {
4945
- s2 = peg$parsesequence_sep();
4946
- if (s2 !== peg$FAILED) {
4947
- s3 = peg$parsecv_range();
4948
- if (s3 !== peg$FAILED) {
4949
- peg$savedPos = s0;
4950
- s0 = peg$f4(s1, s3);
4951
- } else {
4952
- peg$currPos = s0;
4953
- s0 = peg$FAILED;
4954
- }
4955
- } else {
4956
- peg$currPos = s0;
4957
- s0 = peg$FAILED;
4958
- }
4959
- } else {
4960
- peg$currPos = s0;
4961
- s0 = peg$FAILED;
4962
- }
4963
-
4964
- return s0;
4965
- }
4966
-
4967
4737
  function peg$parseb() {
4968
4738
  var s0, s1, s2, s3, s4, s5;
4969
4739
 
4970
4740
  s0 = peg$currPos;
4971
4741
  if (input.charCodeAt(peg$currPos) === 31) {
4972
- s1 = peg$c3;
4742
+ s1 = peg$c2;
4973
4743
  peg$currPos++;
4974
4744
  } else {
4975
4745
  s1 = peg$FAILED;
4976
- if (peg$silentFails === 0) { peg$fail(peg$e4); }
4746
+ if (peg$silentFails === 0) { peg$fail(peg$e2); }
4977
4747
  }
4978
4748
  if (s1 !== peg$FAILED) {
4979
4749
  s2 = peg$parseany_integer();
4980
4750
  if (s2 !== peg$FAILED) {
4981
4751
  s3 = peg$currPos;
4982
4752
  if (input.charCodeAt(peg$currPos) === 47) {
4983
- s4 = peg$c4;
4753
+ s4 = peg$c3;
4984
4754
  peg$currPos++;
4985
4755
  } else {
4986
4756
  s4 = peg$FAILED;
4987
- if (peg$silentFails === 0) { peg$fail(peg$e5); }
4757
+ if (peg$silentFails === 0) { peg$fail(peg$e3); }
4988
4758
  }
4989
4759
  if (s4 !== peg$FAILED) {
4990
4760
  s5 = input.charAt(peg$currPos);
4991
- if (peg$r1.test(s5)) {
4761
+ if (peg$r0.test(s5)) {
4992
4762
  peg$currPos++;
4993
4763
  } else {
4994
4764
  s5 = peg$FAILED;
4995
- if (peg$silentFails === 0) { peg$fail(peg$e6); }
4765
+ if (peg$silentFails === 0) { peg$fail(peg$e4); }
4996
4766
  }
4997
4767
  if (s5 !== peg$FAILED) {
4998
4768
  s4 = [s4, s5];
@@ -5009,15 +4779,15 @@ function peg$parse(input, options) {
5009
4779
  s3 = null;
5010
4780
  }
5011
4781
  if (input.charCodeAt(peg$currPos) === 31) {
5012
- s4 = peg$c3;
4782
+ s4 = peg$c2;
5013
4783
  peg$currPos++;
5014
4784
  } else {
5015
4785
  s4 = peg$FAILED;
5016
- if (peg$silentFails === 0) { peg$fail(peg$e4); }
4786
+ if (peg$silentFails === 0) { peg$fail(peg$e2); }
5017
4787
  }
5018
4788
  if (s4 !== peg$FAILED) {
5019
4789
  peg$savedPos = s0;
5020
- s0 = peg$f5(s2);
4790
+ s0 = peg$f3(s2);
5021
4791
  } else {
5022
4792
  peg$currPos = s0;
5023
4793
  s0 = peg$FAILED;
@@ -5127,7 +4897,7 @@ function peg$parse(input, options) {
5127
4897
  s3 = peg$parsec();
5128
4898
  if (s3 !== peg$FAILED) {
5129
4899
  peg$savedPos = s0;
5130
- s0 = peg$f6(s1, s3);
4900
+ s0 = peg$f4(s1, s3);
5131
4901
  } else {
5132
4902
  peg$currPos = s0;
5133
4903
  s0 = peg$FAILED;
@@ -5152,18 +4922,18 @@ function peg$parse(input, options) {
5152
4922
  if (s1 !== peg$FAILED) {
5153
4923
  s2 = peg$parsesp();
5154
4924
  if (input.charCodeAt(peg$currPos) === 44) {
5155
- s3 = peg$c5;
4925
+ s3 = peg$c4;
5156
4926
  peg$currPos++;
5157
4927
  } else {
5158
4928
  s3 = peg$FAILED;
5159
- if (peg$silentFails === 0) { peg$fail(peg$e7); }
4929
+ if (peg$silentFails === 0) { peg$fail(peg$e5); }
5160
4930
  }
5161
4931
  if (s3 !== peg$FAILED) {
5162
4932
  s4 = peg$parsesp();
5163
4933
  s5 = peg$parsec();
5164
4934
  if (s5 !== peg$FAILED) {
5165
4935
  peg$savedPos = s0;
5166
- s0 = peg$f7(s1, s5);
4936
+ s0 = peg$f5(s1, s5);
5167
4937
  } else {
5168
4938
  peg$currPos = s0;
5169
4939
  s0 = peg$FAILED;
@@ -5192,7 +4962,7 @@ function peg$parse(input, options) {
5192
4962
  s2 = peg$parsetitle();
5193
4963
  if (s2 !== peg$FAILED) {
5194
4964
  peg$savedPos = s0;
5195
- s0 = peg$f8(s1, s2);
4965
+ s0 = peg$f6(s1, s2);
5196
4966
  } else {
5197
4967
  peg$currPos = s0;
5198
4968
  s0 = peg$FAILED;
@@ -5218,11 +4988,11 @@ function peg$parse(input, options) {
5218
4988
  peg$silentFails++;
5219
4989
  s3 = peg$currPos;
5220
4990
  if (input.charCodeAt(peg$currPos) === 46) {
5221
- s4 = peg$c6;
4991
+ s4 = peg$c5;
5222
4992
  peg$currPos++;
5223
4993
  } else {
5224
4994
  s4 = peg$FAILED;
5225
- if (peg$silentFails === 0) { peg$fail(peg$e8); }
4995
+ if (peg$silentFails === 0) { peg$fail(peg$e6); }
5226
4996
  }
5227
4997
  if (s4 !== peg$FAILED) {
5228
4998
  s5 = peg$parsev_explicit();
@@ -5298,7 +5068,7 @@ function peg$parse(input, options) {
5298
5068
  }
5299
5069
  if (s4 !== peg$FAILED) {
5300
5070
  peg$savedPos = s0;
5301
- s0 = peg$f9(s1, s4);
5071
+ s0 = peg$f7(s1, s4);
5302
5072
  } else {
5303
5073
  peg$currPos = s0;
5304
5074
  s0 = peg$FAILED;
@@ -5361,7 +5131,7 @@ function peg$parse(input, options) {
5361
5131
  }
5362
5132
  if (s4 !== peg$FAILED) {
5363
5133
  peg$savedPos = s0;
5364
- s0 = peg$f10(s1, s3);
5134
+ s0 = peg$f8(s1, s3);
5365
5135
  } else {
5366
5136
  peg$currPos = s0;
5367
5137
  s0 = peg$FAILED;
@@ -5390,11 +5160,11 @@ function peg$parse(input, options) {
5390
5160
  if (s1 !== peg$FAILED) {
5391
5161
  s2 = peg$parsesp();
5392
5162
  if (input.charCodeAt(peg$currPos) === 44) {
5393
- s3 = peg$c5;
5163
+ s3 = peg$c4;
5394
5164
  peg$currPos++;
5395
5165
  } else {
5396
5166
  s3 = peg$FAILED;
5397
- if (peg$silentFails === 0) { peg$fail(peg$e7); }
5167
+ if (peg$silentFails === 0) { peg$fail(peg$e5); }
5398
5168
  }
5399
5169
  if (s3 !== peg$FAILED) {
5400
5170
  s4 = peg$parsesp();
@@ -5429,7 +5199,7 @@ function peg$parse(input, options) {
5429
5199
  }
5430
5200
  if (s6 !== peg$FAILED) {
5431
5201
  peg$savedPos = s0;
5432
- s0 = peg$f11(s1, s5);
5202
+ s0 = peg$f9(s1, s5);
5433
5203
  } else {
5434
5204
  peg$currPos = s0;
5435
5205
  s0 = peg$FAILED;
@@ -5457,11 +5227,11 @@ function peg$parse(input, options) {
5457
5227
  s1 = peg$parseb();
5458
5228
  if (s1 !== peg$FAILED) {
5459
5229
  if (input.charCodeAt(peg$currPos) === 45) {
5460
- s2 = peg$c7;
5230
+ s2 = peg$c6;
5461
5231
  peg$currPos++;
5462
5232
  } else {
5463
5233
  s2 = peg$FAILED;
5464
- if (peg$silentFails === 0) { peg$fail(peg$e9); }
5234
+ if (peg$silentFails === 0) { peg$fail(peg$e7); }
5465
5235
  }
5466
5236
  if (s2 === peg$FAILED) {
5467
5237
  s2 = peg$parsespace();
@@ -5472,27 +5242,27 @@ function peg$parse(input, options) {
5472
5242
  s3 = peg$parsec();
5473
5243
  if (s3 !== peg$FAILED) {
5474
5244
  if (input.charCodeAt(peg$currPos) === 45) {
5475
- s4 = peg$c7;
5245
+ s4 = peg$c6;
5476
5246
  peg$currPos++;
5477
5247
  } else {
5478
5248
  s4 = peg$FAILED;
5479
- if (peg$silentFails === 0) { peg$fail(peg$e9); }
5249
+ if (peg$silentFails === 0) { peg$fail(peg$e7); }
5480
5250
  }
5481
5251
  if (s4 !== peg$FAILED) {
5482
5252
  s5 = peg$parsev();
5483
5253
  if (s5 !== peg$FAILED) {
5484
5254
  if (input.charCodeAt(peg$currPos) === 45) {
5485
- s6 = peg$c7;
5255
+ s6 = peg$c6;
5486
5256
  peg$currPos++;
5487
5257
  } else {
5488
5258
  s6 = peg$FAILED;
5489
- if (peg$silentFails === 0) { peg$fail(peg$e9); }
5259
+ if (peg$silentFails === 0) { peg$fail(peg$e7); }
5490
5260
  }
5491
5261
  if (s6 !== peg$FAILED) {
5492
5262
  s7 = peg$parsev();
5493
5263
  if (s7 !== peg$FAILED) {
5494
5264
  peg$savedPos = s0;
5495
- s0 = peg$f12(s1, s3, s5, s7);
5265
+ s0 = peg$f10(s1, s3, s5, s7);
5496
5266
  } else {
5497
5267
  peg$currPos = s0;
5498
5268
  s0 = peg$FAILED;
@@ -5606,7 +5376,7 @@ function peg$parse(input, options) {
5606
5376
  }
5607
5377
  if (s3 !== peg$FAILED) {
5608
5378
  peg$savedPos = s0;
5609
- s0 = peg$f13(s1, s3);
5379
+ s0 = peg$f11(s1, s3);
5610
5380
  } else {
5611
5381
  peg$currPos = s0;
5612
5382
  s0 = peg$FAILED;
@@ -5638,7 +5408,7 @@ function peg$parse(input, options) {
5638
5408
  s4 = peg$parseb();
5639
5409
  if (s4 !== peg$FAILED) {
5640
5410
  peg$savedPos = s0;
5641
- s0 = peg$f14(s2, s4);
5411
+ s0 = peg$f12(s2, s4);
5642
5412
  } else {
5643
5413
  peg$currPos = s0;
5644
5414
  s0 = peg$FAILED;
@@ -5674,7 +5444,7 @@ function peg$parse(input, options) {
5674
5444
  s6 = peg$parseb();
5675
5445
  if (s6 !== peg$FAILED) {
5676
5446
  peg$savedPos = s0;
5677
- s0 = peg$f15(s2, s4, s6);
5447
+ s0 = peg$f13(s2, s4, s6);
5678
5448
  } else {
5679
5449
  peg$currPos = s0;
5680
5450
  s0 = peg$FAILED;
@@ -5714,7 +5484,7 @@ function peg$parse(input, options) {
5714
5484
  s4 = peg$parsev();
5715
5485
  if (s4 !== peg$FAILED) {
5716
5486
  peg$savedPos = s0;
5717
- s0 = peg$f16(s1, s4);
5487
+ s0 = peg$f14(s1, s4);
5718
5488
  } else {
5719
5489
  peg$currPos = s0;
5720
5490
  s0 = peg$FAILED;
@@ -5737,28 +5507,28 @@ function peg$parse(input, options) {
5737
5507
  s0 = peg$currPos;
5738
5508
  s1 = peg$parsec();
5739
5509
  if (s1 !== peg$FAILED) {
5740
- if (input.substr(peg$currPos, 2) === peg$c8) {
5741
- s2 = peg$c8;
5510
+ if (input.substr(peg$currPos, 2) === peg$c7) {
5511
+ s2 = peg$c7;
5742
5512
  peg$currPos += 2;
5743
5513
  } else {
5744
5514
  s2 = peg$FAILED;
5745
- if (peg$silentFails === 0) { peg$fail(peg$e10); }
5515
+ if (peg$silentFails === 0) { peg$fail(peg$e8); }
5746
5516
  }
5747
5517
  if (s2 === peg$FAILED) {
5748
- if (input.substr(peg$currPos, 2) === peg$c9) {
5749
- s2 = peg$c9;
5518
+ if (input.substr(peg$currPos, 2) === peg$c8) {
5519
+ s2 = peg$c8;
5750
5520
  peg$currPos += 2;
5751
5521
  } else {
5752
5522
  s2 = peg$FAILED;
5753
- if (peg$silentFails === 0) { peg$fail(peg$e11); }
5523
+ if (peg$silentFails === 0) { peg$fail(peg$e9); }
5754
5524
  }
5755
5525
  if (s2 === peg$FAILED) {
5756
- if (input.substr(peg$currPos, 2) === peg$c10) {
5757
- s2 = peg$c10;
5526
+ if (input.substr(peg$currPos, 2) === peg$c9) {
5527
+ s2 = peg$c9;
5758
5528
  peg$currPos += 2;
5759
5529
  } else {
5760
5530
  s2 = peg$FAILED;
5761
- if (peg$silentFails === 0) { peg$fail(peg$e12); }
5531
+ if (peg$silentFails === 0) { peg$fail(peg$e10); }
5762
5532
  }
5763
5533
  }
5764
5534
  }
@@ -5772,7 +5542,7 @@ function peg$parse(input, options) {
5772
5542
  s5 = peg$parseb();
5773
5543
  if (s5 !== peg$FAILED) {
5774
5544
  peg$savedPos = s0;
5775
- s0 = peg$f17(s1, s5);
5545
+ s0 = peg$f15(s1, s5);
5776
5546
  } else {
5777
5547
  peg$currPos = s0;
5778
5548
  s0 = peg$FAILED;
@@ -5808,7 +5578,7 @@ function peg$parse(input, options) {
5808
5578
  s4 = peg$parsev();
5809
5579
  if (s4 !== peg$FAILED) {
5810
5580
  peg$savedPos = s0;
5811
- s0 = peg$f18(s1, s4);
5581
+ s0 = peg$f16(s1, s4);
5812
5582
  } else {
5813
5583
  peg$currPos = s0;
5814
5584
  s0 = peg$FAILED;
@@ -5830,25 +5600,25 @@ function peg$parse(input, options) {
5830
5600
 
5831
5601
  s0 = peg$currPos;
5832
5602
  if (input.charCodeAt(peg$currPos) === 31) {
5833
- s1 = peg$c3;
5603
+ s1 = peg$c2;
5834
5604
  peg$currPos++;
5835
5605
  } else {
5836
5606
  s1 = peg$FAILED;
5837
- if (peg$silentFails === 0) { peg$fail(peg$e4); }
5607
+ if (peg$silentFails === 0) { peg$fail(peg$e2); }
5838
5608
  }
5839
5609
  if (s1 !== peg$FAILED) {
5840
5610
  s2 = peg$parseany_integer();
5841
5611
  if (s2 !== peg$FAILED) {
5842
- if (input.substr(peg$currPos, 3) === peg$c11) {
5843
- s3 = peg$c11;
5612
+ if (input.substr(peg$currPos, 3) === peg$c10) {
5613
+ s3 = peg$c10;
5844
5614
  peg$currPos += 3;
5845
5615
  } else {
5846
5616
  s3 = peg$FAILED;
5847
- if (peg$silentFails === 0) { peg$fail(peg$e13); }
5617
+ if (peg$silentFails === 0) { peg$fail(peg$e11); }
5848
5618
  }
5849
5619
  if (s3 !== peg$FAILED) {
5850
5620
  peg$savedPos = s0;
5851
- s0 = peg$f19(s2);
5621
+ s0 = peg$f17(s2);
5852
5622
  } else {
5853
5623
  peg$currPos = s0;
5854
5624
  s0 = peg$FAILED;
@@ -5880,7 +5650,7 @@ function peg$parse(input, options) {
5880
5650
  s4 = peg$parsev();
5881
5651
  if (s4 !== peg$FAILED) {
5882
5652
  peg$savedPos = s0;
5883
- s0 = peg$f20(s1, s4);
5653
+ s0 = peg$f18(s1, s4);
5884
5654
  } else {
5885
5655
  peg$currPos = s0;
5886
5656
  s0 = peg$FAILED;
@@ -5908,7 +5678,7 @@ function peg$parse(input, options) {
5908
5678
  s3 = peg$parsetitle();
5909
5679
  if (s3 !== peg$FAILED) {
5910
5680
  peg$savedPos = s0;
5911
- s0 = peg$f21(s2, s3);
5681
+ s0 = peg$f19(s2, s3);
5912
5682
  } else {
5913
5683
  peg$currPos = s0;
5914
5684
  s0 = peg$FAILED;
@@ -5939,11 +5709,11 @@ function peg$parse(input, options) {
5939
5709
  peg$silentFails++;
5940
5710
  s4 = peg$currPos;
5941
5711
  if (input.charCodeAt(peg$currPos) === 46) {
5942
- s5 = peg$c6;
5712
+ s5 = peg$c5;
5943
5713
  peg$currPos++;
5944
5714
  } else {
5945
5715
  s5 = peg$FAILED;
5946
- if (peg$silentFails === 0) { peg$fail(peg$e8); }
5716
+ if (peg$silentFails === 0) { peg$fail(peg$e6); }
5947
5717
  }
5948
5718
  if (s5 !== peg$FAILED) {
5949
5719
  s6 = peg$parsev_explicit();
@@ -5995,7 +5765,7 @@ function peg$parse(input, options) {
5995
5765
  }
5996
5766
  if (s5 !== peg$FAILED) {
5997
5767
  peg$savedPos = s0;
5998
- s0 = peg$f22(s2, s5);
5768
+ s0 = peg$f20(s2, s5);
5999
5769
  } else {
6000
5770
  peg$currPos = s0;
6001
5771
  s0 = peg$FAILED;
@@ -6055,7 +5825,7 @@ function peg$parse(input, options) {
6055
5825
  }
6056
5826
  if (s4 !== peg$FAILED) {
6057
5827
  peg$savedPos = s0;
6058
- s0 = peg$f23(s1, s3);
5828
+ s0 = peg$f21(s1, s3);
6059
5829
  } else {
6060
5830
  peg$currPos = s0;
6061
5831
  s0 = peg$FAILED;
@@ -6087,7 +5857,7 @@ function peg$parse(input, options) {
6087
5857
  s2 = peg$parseinteger();
6088
5858
  if (s2 !== peg$FAILED) {
6089
5859
  peg$savedPos = s0;
6090
- s0 = peg$f24(s2);
5860
+ s0 = peg$f22(s2);
6091
5861
  } else {
6092
5862
  peg$currPos = s0;
6093
5863
  s0 = peg$FAILED;
@@ -6127,22 +5897,22 @@ function peg$parse(input, options) {
6127
5897
  }
6128
5898
  if (s1 !== peg$FAILED) {
6129
5899
  s2 = peg$parsesp();
6130
- if (input.substr(peg$currPos, 2) === peg$c12) {
6131
- s3 = peg$c12;
5900
+ if (input.substr(peg$currPos, 2) === peg$c11) {
5901
+ s3 = peg$c11;
6132
5902
  peg$currPos += 2;
6133
5903
  } else {
6134
5904
  s3 = peg$FAILED;
6135
- if (peg$silentFails === 0) { peg$fail(peg$e14); }
5905
+ if (peg$silentFails === 0) { peg$fail(peg$e12); }
6136
5906
  }
6137
5907
  if (s3 !== peg$FAILED) {
6138
5908
  s4 = peg$currPos;
6139
5909
  peg$silentFails++;
6140
5910
  s5 = input.charAt(peg$currPos);
6141
- if (peg$r0.test(s5)) {
5911
+ if (peg$r1.test(s5)) {
6142
5912
  peg$currPos++;
6143
5913
  } else {
6144
5914
  s5 = peg$FAILED;
6145
- if (peg$silentFails === 0) { peg$fail(peg$e3); }
5915
+ if (peg$silentFails === 0) { peg$fail(peg$e13); }
6146
5916
  }
6147
5917
  peg$silentFails--;
6148
5918
  if (s5 === peg$FAILED) {
@@ -6163,7 +5933,7 @@ function peg$parse(input, options) {
6163
5933
  peg$currPos++;
6164
5934
  } else {
6165
5935
  s7 = peg$FAILED;
6166
- if (peg$silentFails === 0) { peg$fail(peg$e15); }
5936
+ if (peg$silentFails === 0) { peg$fail(peg$e14); }
6167
5937
  }
6168
5938
  peg$silentFails--;
6169
5939
  if (s7 === peg$FAILED) {
@@ -6174,7 +5944,7 @@ function peg$parse(input, options) {
6174
5944
  }
6175
5945
  if (s6 !== peg$FAILED) {
6176
5946
  peg$savedPos = s0;
6177
- s0 = peg$f25(s1);
5947
+ s0 = peg$f23(s1);
6178
5948
  } else {
6179
5949
  peg$currPos = s0;
6180
5950
  s0 = peg$FAILED;
@@ -6227,21 +5997,21 @@ function peg$parse(input, options) {
6227
5997
  if (s1 !== peg$FAILED) {
6228
5998
  s2 = peg$parsesp();
6229
5999
  if (input.charCodeAt(peg$currPos) === 102) {
6230
- s3 = peg$c2;
6000
+ s3 = peg$c12;
6231
6001
  peg$currPos++;
6232
6002
  } else {
6233
6003
  s3 = peg$FAILED;
6234
- if (peg$silentFails === 0) { peg$fail(peg$e2); }
6004
+ if (peg$silentFails === 0) { peg$fail(peg$e15); }
6235
6005
  }
6236
6006
  if (s3 !== peg$FAILED) {
6237
6007
  s4 = peg$currPos;
6238
6008
  peg$silentFails++;
6239
6009
  s5 = input.charAt(peg$currPos);
6240
- if (peg$r0.test(s5)) {
6010
+ if (peg$r1.test(s5)) {
6241
6011
  peg$currPos++;
6242
6012
  } else {
6243
6013
  s5 = peg$FAILED;
6244
- if (peg$silentFails === 0) { peg$fail(peg$e3); }
6014
+ if (peg$silentFails === 0) { peg$fail(peg$e13); }
6245
6015
  }
6246
6016
  peg$silentFails--;
6247
6017
  if (s5 === peg$FAILED) {
@@ -6262,7 +6032,7 @@ function peg$parse(input, options) {
6262
6032
  peg$currPos++;
6263
6033
  } else {
6264
6034
  s7 = peg$FAILED;
6265
- if (peg$silentFails === 0) { peg$fail(peg$e15); }
6035
+ if (peg$silentFails === 0) { peg$fail(peg$e14); }
6266
6036
  }
6267
6037
  peg$silentFails--;
6268
6038
  if (s7 === peg$FAILED) {
@@ -6273,7 +6043,7 @@ function peg$parse(input, options) {
6273
6043
  }
6274
6044
  if (s6 !== peg$FAILED) {
6275
6045
  peg$savedPos = s0;
6276
- s0 = peg$f26(s1);
6046
+ s0 = peg$f24(s1);
6277
6047
  } else {
6278
6048
  peg$currPos = s0;
6279
6049
  s0 = peg$FAILED;
@@ -6303,7 +6073,7 @@ function peg$parse(input, options) {
6303
6073
  s2 = peg$parsetitle();
6304
6074
  if (s2 !== peg$FAILED) {
6305
6075
  peg$savedPos = s0;
6306
- s0 = peg$f27(s1, s2);
6076
+ s0 = peg$f25(s1, s2);
6307
6077
  } else {
6308
6078
  peg$currPos = s0;
6309
6079
  s0 = peg$FAILED;
@@ -6321,11 +6091,11 @@ function peg$parse(input, options) {
6321
6091
 
6322
6092
  s0 = peg$currPos;
6323
6093
  if (input.charCodeAt(peg$currPos) === 31) {
6324
- s1 = peg$c3;
6094
+ s1 = peg$c2;
6325
6095
  peg$currPos++;
6326
6096
  } else {
6327
6097
  s1 = peg$FAILED;
6328
- if (peg$silentFails === 0) { peg$fail(peg$e4); }
6098
+ if (peg$silentFails === 0) { peg$fail(peg$e2); }
6329
6099
  }
6330
6100
  if (s1 !== peg$FAILED) {
6331
6101
  s2 = peg$parseany_integer();
@@ -6339,7 +6109,7 @@ function peg$parse(input, options) {
6339
6109
  }
6340
6110
  if (s3 !== peg$FAILED) {
6341
6111
  peg$savedPos = s0;
6342
- s0 = peg$f28(s2);
6112
+ s0 = peg$f26(s2);
6343
6113
  } else {
6344
6114
  peg$currPos = s0;
6345
6115
  s0 = peg$FAILED;
@@ -6361,11 +6131,11 @@ function peg$parse(input, options) {
6361
6131
 
6362
6132
  s0 = peg$currPos;
6363
6133
  if (input.charCodeAt(peg$currPos) === 31) {
6364
- s1 = peg$c3;
6134
+ s1 = peg$c2;
6365
6135
  peg$currPos++;
6366
6136
  } else {
6367
6137
  s1 = peg$FAILED;
6368
- if (peg$silentFails === 0) { peg$fail(peg$e4); }
6138
+ if (peg$silentFails === 0) { peg$fail(peg$e2); }
6369
6139
  }
6370
6140
  if (s1 !== peg$FAILED) {
6371
6141
  s2 = peg$parseany_integer();
@@ -6379,7 +6149,7 @@ function peg$parse(input, options) {
6379
6149
  }
6380
6150
  if (s3 !== peg$FAILED) {
6381
6151
  peg$savedPos = s0;
6382
- s0 = peg$f29(s2);
6152
+ s0 = peg$f27(s2);
6383
6153
  } else {
6384
6154
  peg$currPos = s0;
6385
6155
  s0 = peg$FAILED;
@@ -6428,7 +6198,7 @@ function peg$parse(input, options) {
6428
6198
  }
6429
6199
  if (s3 !== peg$FAILED) {
6430
6200
  peg$savedPos = s0;
6431
- s0 = peg$f30(s1);
6201
+ s0 = peg$f28(s1);
6432
6202
  } else {
6433
6203
  peg$currPos = s0;
6434
6204
  s0 = peg$FAILED;
@@ -6452,17 +6222,17 @@ function peg$parse(input, options) {
6452
6222
  s1 = peg$parseps151_bc();
6453
6223
  if (s1 !== peg$FAILED) {
6454
6224
  if (input.charCodeAt(peg$currPos) === 46) {
6455
- s2 = peg$c6;
6225
+ s2 = peg$c5;
6456
6226
  peg$currPos++;
6457
6227
  } else {
6458
6228
  s2 = peg$FAILED;
6459
- if (peg$silentFails === 0) { peg$fail(peg$e8); }
6229
+ if (peg$silentFails === 0) { peg$fail(peg$e6); }
6460
6230
  }
6461
6231
  if (s2 !== peg$FAILED) {
6462
6232
  s3 = peg$parseinteger();
6463
6233
  if (s3 !== peg$FAILED) {
6464
6234
  peg$savedPos = s0;
6465
- s0 = peg$f31(s1, s3);
6235
+ s0 = peg$f29(s1, s3);
6466
6236
  } else {
6467
6237
  peg$currPos = s0;
6468
6238
  s0 = peg$FAILED;
@@ -6494,21 +6264,21 @@ function peg$parse(input, options) {
6494
6264
  peg$silentFails++;
6495
6265
  s5 = peg$currPos;
6496
6266
  if (input.charCodeAt(peg$currPos) === 102) {
6497
- s6 = peg$c2;
6267
+ s6 = peg$c12;
6498
6268
  peg$currPos++;
6499
6269
  } else {
6500
6270
  s6 = peg$FAILED;
6501
- if (peg$silentFails === 0) { peg$fail(peg$e2); }
6271
+ if (peg$silentFails === 0) { peg$fail(peg$e15); }
6502
6272
  }
6503
6273
  if (s6 !== peg$FAILED) {
6504
6274
  s7 = peg$currPos;
6505
6275
  peg$silentFails++;
6506
6276
  s8 = input.charAt(peg$currPos);
6507
- if (peg$r0.test(s8)) {
6277
+ if (peg$r1.test(s8)) {
6508
6278
  peg$currPos++;
6509
6279
  } else {
6510
6280
  s8 = peg$FAILED;
6511
- if (peg$silentFails === 0) { peg$fail(peg$e3); }
6281
+ if (peg$silentFails === 0) { peg$fail(peg$e13); }
6512
6282
  }
6513
6283
  peg$silentFails--;
6514
6284
  if (s8 === peg$FAILED) {
@@ -6530,22 +6300,22 @@ function peg$parse(input, options) {
6530
6300
  }
6531
6301
  if (s5 === peg$FAILED) {
6532
6302
  s5 = peg$currPos;
6533
- if (input.substr(peg$currPos, 2) === peg$c12) {
6534
- s6 = peg$c12;
6303
+ if (input.substr(peg$currPos, 2) === peg$c11) {
6304
+ s6 = peg$c11;
6535
6305
  peg$currPos += 2;
6536
6306
  } else {
6537
6307
  s6 = peg$FAILED;
6538
- if (peg$silentFails === 0) { peg$fail(peg$e14); }
6308
+ if (peg$silentFails === 0) { peg$fail(peg$e12); }
6539
6309
  }
6540
6310
  if (s6 !== peg$FAILED) {
6541
6311
  s7 = peg$currPos;
6542
6312
  peg$silentFails++;
6543
6313
  s8 = input.charAt(peg$currPos);
6544
- if (peg$r0.test(s8)) {
6314
+ if (peg$r1.test(s8)) {
6545
6315
  peg$currPos++;
6546
6316
  } else {
6547
6317
  s8 = peg$FAILED;
6548
- if (peg$silentFails === 0) { peg$fail(peg$e3); }
6318
+ if (peg$silentFails === 0) { peg$fail(peg$e13); }
6549
6319
  }
6550
6320
  peg$silentFails--;
6551
6321
  if (s8 === peg$FAILED) {
@@ -6589,7 +6359,7 @@ function peg$parse(input, options) {
6589
6359
  peg$currPos++;
6590
6360
  } else {
6591
6361
  s7 = peg$FAILED;
6592
- if (peg$silentFails === 0) { peg$fail(peg$e15); }
6362
+ if (peg$silentFails === 0) { peg$fail(peg$e14); }
6593
6363
  }
6594
6364
  peg$silentFails--;
6595
6365
  if (s7 === peg$FAILED) {
@@ -6600,7 +6370,7 @@ function peg$parse(input, options) {
6600
6370
  }
6601
6371
  if (s6 !== peg$FAILED) {
6602
6372
  peg$savedPos = s0;
6603
- s0 = peg$f32(s2);
6373
+ s0 = peg$f30(s2);
6604
6374
  } else {
6605
6375
  peg$currPos = s0;
6606
6376
  s0 = peg$FAILED;
@@ -6632,7 +6402,7 @@ function peg$parse(input, options) {
6632
6402
  s2 = peg$parseinteger();
6633
6403
  if (s2 !== peg$FAILED) {
6634
6404
  peg$savedPos = s0;
6635
- s0 = peg$f33(s2);
6405
+ s0 = peg$f31(s2);
6636
6406
  } else {
6637
6407
  peg$currPos = s0;
6638
6408
  s0 = peg$FAILED;
@@ -6700,7 +6470,7 @@ function peg$parse(input, options) {
6700
6470
  if (s2 !== peg$FAILED) {
6701
6471
  s3 = peg$parsesp();
6702
6472
  peg$savedPos = s0;
6703
- s0 = peg$f34();
6473
+ s0 = peg$f32();
6704
6474
  } else {
6705
6475
  peg$currPos = s0;
6706
6476
  s0 = peg$FAILED;
@@ -6818,7 +6588,7 @@ function peg$parse(input, options) {
6818
6588
  peg$currPos++;
6819
6589
  } else {
6820
6590
  s4 = peg$FAILED;
6821
- if (peg$silentFails === 0) { peg$fail(peg$e15); }
6591
+ if (peg$silentFails === 0) { peg$fail(peg$e14); }
6822
6592
  }
6823
6593
  peg$silentFails--;
6824
6594
  if (s4 === peg$FAILED) {
@@ -6830,7 +6600,7 @@ function peg$parse(input, options) {
6830
6600
  if (s3 !== peg$FAILED) {
6831
6601
  s4 = peg$parsesp();
6832
6602
  peg$savedPos = s0;
6833
- s0 = peg$f35();
6603
+ s0 = peg$f33();
6834
6604
  } else {
6835
6605
  peg$currPos = s0;
6836
6606
  s0 = peg$FAILED;
@@ -6873,11 +6643,11 @@ function peg$parse(input, options) {
6873
6643
  if (s2 === peg$FAILED) {
6874
6644
  s2 = peg$currPos;
6875
6645
  if (input.charCodeAt(peg$currPos) === 46) {
6876
- s3 = peg$c6;
6646
+ s3 = peg$c5;
6877
6647
  peg$currPos++;
6878
6648
  } else {
6879
6649
  s3 = peg$FAILED;
6880
- if (peg$silentFails === 0) { peg$fail(peg$e8); }
6650
+ if (peg$silentFails === 0) { peg$fail(peg$e6); }
6881
6651
  }
6882
6652
  if (s3 !== peg$FAILED) {
6883
6653
  s4 = peg$currPos;
@@ -6885,20 +6655,20 @@ function peg$parse(input, options) {
6885
6655
  s5 = peg$currPos;
6886
6656
  s6 = peg$parsesp();
6887
6657
  if (input.charCodeAt(peg$currPos) === 46) {
6888
- s7 = peg$c6;
6658
+ s7 = peg$c5;
6889
6659
  peg$currPos++;
6890
6660
  } else {
6891
6661
  s7 = peg$FAILED;
6892
- if (peg$silentFails === 0) { peg$fail(peg$e8); }
6662
+ if (peg$silentFails === 0) { peg$fail(peg$e6); }
6893
6663
  }
6894
6664
  if (s7 !== peg$FAILED) {
6895
6665
  s8 = peg$parsesp();
6896
6666
  if (input.charCodeAt(peg$currPos) === 46) {
6897
- s9 = peg$c6;
6667
+ s9 = peg$c5;
6898
6668
  peg$currPos++;
6899
6669
  } else {
6900
6670
  s9 = peg$FAILED;
6901
- if (peg$silentFails === 0) { peg$fail(peg$e8); }
6671
+ if (peg$silentFails === 0) { peg$fail(peg$e6); }
6902
6672
  }
6903
6673
  if (s9 !== peg$FAILED) {
6904
6674
  s6 = [s6, s7, s8, s9];
@@ -6984,11 +6754,11 @@ function peg$parse(input, options) {
6984
6754
  if (s2 === peg$FAILED) {
6985
6755
  s2 = peg$currPos;
6986
6756
  if (input.charCodeAt(peg$currPos) === 46) {
6987
- s3 = peg$c6;
6757
+ s3 = peg$c5;
6988
6758
  peg$currPos++;
6989
6759
  } else {
6990
6760
  s3 = peg$FAILED;
6991
- if (peg$silentFails === 0) { peg$fail(peg$e8); }
6761
+ if (peg$silentFails === 0) { peg$fail(peg$e6); }
6992
6762
  }
6993
6763
  if (s3 !== peg$FAILED) {
6994
6764
  s4 = peg$currPos;
@@ -6996,20 +6766,20 @@ function peg$parse(input, options) {
6996
6766
  s5 = peg$currPos;
6997
6767
  s6 = peg$parsesp();
6998
6768
  if (input.charCodeAt(peg$currPos) === 46) {
6999
- s7 = peg$c6;
6769
+ s7 = peg$c5;
7000
6770
  peg$currPos++;
7001
6771
  } else {
7002
6772
  s7 = peg$FAILED;
7003
- if (peg$silentFails === 0) { peg$fail(peg$e8); }
6773
+ if (peg$silentFails === 0) { peg$fail(peg$e6); }
7004
6774
  }
7005
6775
  if (s7 !== peg$FAILED) {
7006
6776
  s8 = peg$parsesp();
7007
6777
  if (input.charCodeAt(peg$currPos) === 46) {
7008
- s9 = peg$c6;
6778
+ s9 = peg$c5;
7009
6779
  peg$currPos++;
7010
6780
  } else {
7011
6781
  s9 = peg$FAILED;
7012
- if (peg$silentFails === 0) { peg$fail(peg$e8); }
6782
+ if (peg$silentFails === 0) { peg$fail(peg$e6); }
7013
6783
  }
7014
6784
  if (s9 !== peg$FAILED) {
7015
6785
  s6 = [s6, s7, s8, s9];
@@ -7328,11 +7098,11 @@ function peg$parse(input, options) {
7328
7098
  if (s2 === peg$FAILED) {
7329
7099
  s2 = peg$currPos;
7330
7100
  if (input.charCodeAt(peg$currPos) === 46) {
7331
- s3 = peg$c6;
7101
+ s3 = peg$c5;
7332
7102
  peg$currPos++;
7333
7103
  } else {
7334
7104
  s3 = peg$FAILED;
7335
- if (peg$silentFails === 0) { peg$fail(peg$e8); }
7105
+ if (peg$silentFails === 0) { peg$fail(peg$e6); }
7336
7106
  }
7337
7107
  if (s3 !== peg$FAILED) {
7338
7108
  s4 = peg$currPos;
@@ -7340,20 +7110,20 @@ function peg$parse(input, options) {
7340
7110
  s5 = peg$currPos;
7341
7111
  s6 = peg$parsesp();
7342
7112
  if (input.charCodeAt(peg$currPos) === 46) {
7343
- s7 = peg$c6;
7113
+ s7 = peg$c5;
7344
7114
  peg$currPos++;
7345
7115
  } else {
7346
7116
  s7 = peg$FAILED;
7347
- if (peg$silentFails === 0) { peg$fail(peg$e8); }
7117
+ if (peg$silentFails === 0) { peg$fail(peg$e6); }
7348
7118
  }
7349
7119
  if (s7 !== peg$FAILED) {
7350
7120
  s8 = peg$parsesp();
7351
7121
  if (input.charCodeAt(peg$currPos) === 46) {
7352
- s9 = peg$c6;
7122
+ s9 = peg$c5;
7353
7123
  peg$currPos++;
7354
7124
  } else {
7355
7125
  s9 = peg$FAILED;
7356
- if (peg$silentFails === 0) { peg$fail(peg$e8); }
7126
+ if (peg$silentFails === 0) { peg$fail(peg$e6); }
7357
7127
  }
7358
7128
  if (s9 !== peg$FAILED) {
7359
7129
  s6 = [s6, s7, s8, s9];
@@ -7665,7 +7435,7 @@ function peg$parse(input, options) {
7665
7435
  }
7666
7436
  if (s1 !== peg$FAILED) {
7667
7437
  peg$savedPos = s0;
7668
- s1 = peg$f36();
7438
+ s1 = peg$f34();
7669
7439
  }
7670
7440
  s0 = s1;
7671
7441
 
@@ -7784,7 +7554,7 @@ function peg$parse(input, options) {
7784
7554
  }
7785
7555
  if (s2 !== peg$FAILED) {
7786
7556
  peg$savedPos = s0;
7787
- s0 = peg$f37(s2);
7557
+ s0 = peg$f35(s2);
7788
7558
  } else {
7789
7559
  peg$currPos = s0;
7790
7560
  s0 = peg$FAILED;
@@ -7886,11 +7656,11 @@ function peg$parse(input, options) {
7886
7656
  s0 = peg$currPos;
7887
7657
  s1 = peg$parsesp();
7888
7658
  if (input.charCodeAt(peg$currPos) === 46) {
7889
- s2 = peg$c6;
7659
+ s2 = peg$c5;
7890
7660
  peg$currPos++;
7891
7661
  } else {
7892
7662
  s2 = peg$FAILED;
7893
- if (peg$silentFails === 0) { peg$fail(peg$e8); }
7663
+ if (peg$silentFails === 0) { peg$fail(peg$e6); }
7894
7664
  }
7895
7665
  if (s2 !== peg$FAILED) {
7896
7666
  s3 = peg$currPos;
@@ -7898,20 +7668,20 @@ function peg$parse(input, options) {
7898
7668
  s4 = peg$currPos;
7899
7669
  s5 = peg$parsesp();
7900
7670
  if (input.charCodeAt(peg$currPos) === 46) {
7901
- s6 = peg$c6;
7671
+ s6 = peg$c5;
7902
7672
  peg$currPos++;
7903
7673
  } else {
7904
7674
  s6 = peg$FAILED;
7905
- if (peg$silentFails === 0) { peg$fail(peg$e8); }
7675
+ if (peg$silentFails === 0) { peg$fail(peg$e6); }
7906
7676
  }
7907
7677
  if (s6 !== peg$FAILED) {
7908
7678
  s7 = peg$parsesp();
7909
7679
  if (input.charCodeAt(peg$currPos) === 46) {
7910
- s8 = peg$c6;
7680
+ s8 = peg$c5;
7911
7681
  peg$currPos++;
7912
7682
  } else {
7913
7683
  s8 = peg$FAILED;
7914
- if (peg$silentFails === 0) { peg$fail(peg$e8); }
7684
+ if (peg$silentFails === 0) { peg$fail(peg$e6); }
7915
7685
  }
7916
7686
  if (s8 !== peg$FAILED) {
7917
7687
  s5 = [s5, s6, s7, s8];
@@ -7952,11 +7722,11 @@ function peg$parse(input, options) {
7952
7722
  s0 = peg$currPos;
7953
7723
  s1 = peg$parsesp();
7954
7724
  if (input.charCodeAt(peg$currPos) === 44) {
7955
- s2 = peg$c5;
7725
+ s2 = peg$c4;
7956
7726
  peg$currPos++;
7957
7727
  } else {
7958
7728
  s2 = peg$FAILED;
7959
- if (peg$silentFails === 0) { peg$fail(peg$e7); }
7729
+ if (peg$silentFails === 0) { peg$fail(peg$e5); }
7960
7730
  }
7961
7731
  if (s2 !== peg$FAILED) {
7962
7732
  s3 = peg$parsesp();
@@ -8038,7 +7808,7 @@ function peg$parse(input, options) {
8038
7808
  }
8039
7809
  if (s6 !== peg$FAILED) {
8040
7810
  peg$savedPos = s0;
8041
- s0 = peg$f38(s4);
7811
+ s0 = peg$f36(s4);
8042
7812
  } else {
8043
7813
  peg$currPos = s0;
8044
7814
  s0 = peg$FAILED;
@@ -8062,11 +7832,11 @@ function peg$parse(input, options) {
8062
7832
  s1 = peg$parsesp();
8063
7833
  s2 = peg$currPos;
8064
7834
  if (input.charCodeAt(peg$currPos) === 44) {
8065
- s3 = peg$c5;
7835
+ s3 = peg$c4;
8066
7836
  peg$currPos++;
8067
7837
  } else {
8068
7838
  s3 = peg$FAILED;
8069
- if (peg$silentFails === 0) { peg$fail(peg$e7); }
7839
+ if (peg$silentFails === 0) { peg$fail(peg$e5); }
8070
7840
  }
8071
7841
  if (s3 !== peg$FAILED) {
8072
7842
  s4 = peg$parsesp();
@@ -8124,7 +7894,7 @@ function peg$parse(input, options) {
8124
7894
  }
8125
7895
  if (s3 !== peg$FAILED) {
8126
7896
  peg$savedPos = s0;
8127
- s0 = peg$f39(s3);
7897
+ s0 = peg$f37(s3);
8128
7898
  } else {
8129
7899
  peg$currPos = s0;
8130
7900
  s0 = peg$FAILED;
@@ -8156,7 +7926,7 @@ function peg$parse(input, options) {
8156
7926
  }
8157
7927
  if (s3 !== peg$FAILED) {
8158
7928
  peg$savedPos = s0;
8159
- s0 = peg$f40(s2);
7929
+ s0 = peg$f38(s2);
8160
7930
  } else {
8161
7931
  peg$currPos = s0;
8162
7932
  s0 = peg$FAILED;
@@ -8213,7 +7983,7 @@ function peg$parseinteger() {
8213
7983
  }
8214
7984
  if (s1 !== peg$FAILED) {
8215
7985
  peg$savedPos = s0;
8216
- s1 = peg$f42(s1);
7986
+ s1 = peg$f40(s1);
8217
7987
  }
8218
7988
  s0 = s1;
8219
7989
 
@@ -8248,7 +8018,7 @@ function peg$parseinteger() {
8248
8018
  }
8249
8019
  if (s1 !== peg$FAILED) {
8250
8020
  peg$savedPos = s0;
8251
- s1 = peg$f43(s1);
8021
+ s1 = peg$f41(s1);
8252
8022
  }
8253
8023
  s0 = s1;
8254
8024
 
@@ -8268,7 +8038,7 @@ function peg$parseinteger() {
8268
8038
  }
8269
8039
  if (s1 !== peg$FAILED) {
8270
8040
  peg$savedPos = s0;
8271
- s1 = peg$f44(s1);
8041
+ s1 = peg$f42(s1);
8272
8042
  }
8273
8043
  s0 = s1;
8274
8044