diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000..a29ac99 --- /dev/null +++ b/.babelrc @@ -0,0 +1,5 @@ +{ + "presets": [ + "@babel/preset-env" + ] +} diff --git a/README.md b/README.md index e964145..4bc83de 100644 --- a/README.md +++ b/README.md @@ -51,15 +51,15 @@ console.log(`Full Date: ${partial_date.lc.kIn === wildcard}`); ```javascript const mayadates = require('@drewsonne/maya-dates'); -const cr = mayadates.cr.getCalendarRound( +const calendarRound = mayadates.calendarRound.getCalendarRound( 13, 'Ajaw', - 18, mayadates.cr.getHaabMonth('Kumk\'u') + 18, mayadates.calendarRound.getHaabMonth('Kumk\'u') ); const lc = mayadates.lc.LongCount(0, 0, 0, 17, 9); -const fullDate = new mayadates.FullDate(cr, lc); +const fullDate = new mayadates.FullDate(calendarRound, lc); console.log(`${lc}`); -console.log(`${cr}`); +console.log(`${calendarRound}`); console.log(`${fullDate}`); ``` diff --git a/docs/ast/source/cr/calendar-round.js.json b/docs/ast/source/cr/calendar-round.js.json index bd846e2..c95dbdc 100644 --- a/docs/ast/source/cr/calendar-round.js.json +++ b/docs/ast/source/cr/calendar-round.js.json @@ -1,37 +1,106 @@ { "type": "File", "start": 0, - "end": 5624, + "end": 5751, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 200, + "line": 208, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 5624, + "end": 5751, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 200, + "line": 208, "column": 0 } }, "sourceType": "module", "body": [ { - "type": "VariableDeclaration", - "start": 15, - "end": 56, + "type": "ImportDeclaration", + "start": 0, + "end": 32, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 32 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 7, + "end": 14, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 14 + } + }, + "local": { + "type": "Identifier", + "start": 7, + "end": 14, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 14 + }, + "identifierName": "tzolkin" + }, + "name": "tzolkin" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 20, + "end": 31, + "loc": { + "start": { + "line": 1, + "column": 20 + }, + "end": { + "line": 1, + "column": 31 + } + }, + "extra": { + "rawValue": "./tzolkin", + "raw": "'./tzolkin'" + }, + "value": "./tzolkin" + } + }, + { + "type": "ImportDeclaration", + "start": 33, + "end": 59, "loc": { "start": { "line": 2, @@ -39,131 +108,214 @@ }, "end": { "line": 2, - "column": 41 + "column": 26 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 21, - "end": 55, + "type": "ImportDefaultSpecifier", + "start": 40, + "end": 44, "loc": { "start": { "line": 2, - "column": 6 + "column": 7 }, "end": { "line": 2, - "column": 40 + "column": 11 } }, - "id": { + "local": { "type": "Identifier", - "start": 21, - "end": 28, + "start": 40, + "end": 44, "loc": { "start": { "line": 2, - "column": 6 + "column": 7 }, "end": { "line": 2, - "column": 13 + "column": 11 }, - "identifierName": "tzolkin" + "identifierName": "haab" }, - "name": "tzolkin", - "leadingComments": null + "name": "haab" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 50, + "end": 58, + "loc": { + "start": { + "line": 2, + "column": 17 }, - "init": { - "type": "CallExpression", - "start": 31, - "end": 55, + "end": { + "line": 2, + "column": 25 + } + }, + "extra": { + "rawValue": "./haab", + "raw": "'./haab'" + }, + "value": "./haab" + } + }, + { + "type": "ImportDeclaration", + "start": 60, + "end": 95, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 35 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 67, + "end": 75, + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 15 + } + }, + "local": { + "type": "Identifier", + "start": 67, + "end": 75, "loc": { "start": { - "line": 2, - "column": 16 + "line": 3, + "column": 7 }, "end": { - "line": 2, - "column": 40 - } - }, - "callee": { - "type": "Identifier", - "start": 31, - "end": 38, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 23 - }, - "identifierName": "require" + "line": 3, + "column": 15 }, - "name": "require" + "identifierName": "wildcard" }, - "arguments": [ - { - "type": "StringLiteral", - "start": 39, - "end": 54, - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 39 - } - }, - "extra": { - "rawValue": "../cr/tzolkin", - "raw": "'../cr/tzolkin'" - }, - "value": "../cr/tzolkin" - } - ] - }, - "leadingComments": null + "name": "wildcard" + } } ], - "kind": "const", - "leadingComments": [ + "source": { + "type": "StringLiteral", + "start": 81, + "end": 94, + "loc": { + "start": { + "line": 3, + "column": 21 + }, + "end": { + "line": 3, + "column": 34 + } + }, + "extra": { + "rawValue": "../wildcard", + "raw": "'../wildcard'" + }, + "value": "../wildcard" + } + }, + { + "type": "ImportDeclaration", + "start": 96, + "end": 147, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 51 + } + }, + "specifiers": [ { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, + "type": "ImportDefaultSpecifier", + "start": 103, + "end": 117, "loc": { "start": { - "line": 1, - "column": 0 + "line": 4, + "column": 7 }, "end": { - "line": 1, - "column": 14 + "line": 4, + "column": 21 } + }, + "local": { + "type": "Identifier", + "start": 103, + "end": 117, + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 21 + }, + "identifierName": "DistanceNumber" + }, + "name": "DistanceNumber" } } ], + "source": { + "type": "StringLiteral", + "start": 123, + "end": 146, + "loc": { + "start": { + "line": 4, + "column": 27 + }, + "end": { + "line": 4, + "column": 50 + } + }, + "extra": { + "rawValue": "../lc/distance-number", + "raw": "'../lc/distance-number'" + }, + "value": "../lc/distance-number" + }, "trailingComments": [ { "type": "CommentBlock", "value": "* @ignore ", - "start": 57, - "end": 71, + "start": 149, + "end": 163, "loc": { "start": { - "line": 3, + "line": 6, "column": 0 }, "end": { - "line": 3, + "line": 6, "column": 14 } } @@ -172,106 +324,71 @@ }, { "type": "VariableDeclaration", - "start": 72, - "end": 107, + "start": 164, + "end": 184, "loc": { "start": { - "line": 4, + "line": 7, "column": 0 }, "end": { - "line": 4, - "column": 35 + "line": 7, + "column": 20 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 78, - "end": 106, + "start": 170, + "end": 184, "loc": { "start": { - "line": 4, + "line": 7, "column": 6 }, "end": { - "line": 4, - "column": 34 + "line": 7, + "column": 20 } }, "id": { "type": "Identifier", - "start": 78, - "end": 82, + "start": 170, + "end": 179, "loc": { "start": { - "line": 4, + "line": 7, "column": 6 }, "end": { - "line": 4, - "column": 10 + "line": 7, + "column": 15 }, - "identifierName": "haab" + "identifierName": "singleton" }, - "name": "haab", + "name": "singleton", "leadingComments": null }, "init": { - "type": "CallExpression", - "start": 85, - "end": 106, + "type": "ObjectExpression", + "start": 182, + "end": 184, "loc": { "start": { - "line": 4, - "column": 13 + "line": 7, + "column": 18 }, "end": { - "line": 4, - "column": 34 + "line": 7, + "column": 20 } }, - "callee": { - "type": "Identifier", - "start": 85, - "end": 92, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 20 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 93, - "end": 105, - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 4, - "column": 33 - } - }, - "extra": { - "rawValue": "../cr/haab", - "raw": "'../cr/haab'" - }, - "value": "../cr/haab" - } - ] + "properties": [], + "leadingComments": null, + "trailingComments": null }, - "leadingComments": null + "leadingComments": null, + "trailingComments": null } ], "kind": "const", @@ -279,15 +396,15 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 57, - "end": 71, + "start": 149, + "end": 163, "loc": { "start": { - "line": 3, + "line": 6, "column": 0 }, "end": { - "line": 3, + "line": 6, "column": 14 } } @@ -296,602 +413,214 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "* @ignore ", - "start": 108, - "end": 122, + "value": "*\n * Return a comparable instance of a Calendar Round.\n * @param {number} tzolkinCoeff\n * @param {TzolkinDay|string} tzolkinDay\n * @param {number} haabCoeff\n * @param {HaabMonth|string} haabMonth\n * @return {CalendarRound}\n ", + "start": 186, + "end": 414, "loc": { "start": { - "line": 5, + "line": 9, "column": 0 }, "end": { - "line": 5, - "column": 14 + "line": 16, + "column": 3 } } } ] }, { - "type": "VariableDeclaration", - "start": 123, - "end": 163, + "type": "FunctionDeclaration", + "start": 415, + "end": 781, "loc": { "start": { - "line": 6, + "line": 17, "column": 0 }, "end": { - "line": 6, - "column": 40 + "line": 25, + "column": 1 } }, - "declarations": [ + "id": { + "type": "Identifier", + "start": 424, + "end": 440, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 25 + }, + "identifierName": "getCalendarRound" + }, + "name": "getCalendarRound", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "VariableDeclarator", - "start": 129, - "end": 162, + "type": "Identifier", + "start": 442, + "end": 454, "loc": { "start": { - "line": 6, - "column": 6 + "line": 17, + "column": 27 }, "end": { - "line": 6, + "line": 17, "column": 39 - } + }, + "identifierName": "tzolkinCoeff" }, - "id": { - "type": "Identifier", - "start": 129, - "end": 137, - "loc": { - "start": { - "line": 6, - "column": 6 - }, - "end": { - "line": 6, - "column": 14 - }, - "identifierName": "wildcard" - }, - "name": "wildcard", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 140, - "end": 162, - "loc": { - "start": { - "line": 6, - "column": 17 - }, - "end": { - "line": 6, - "column": 39 - } - }, - "callee": { - "type": "Identifier", - "start": 140, - "end": 147, - "loc": { - "start": { - "line": 6, - "column": 17 - }, - "end": { - "line": 6, - "column": 24 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 148, - "end": 161, - "loc": { - "start": { - "line": 6, - "column": 25 - }, - "end": { - "line": 6, - "column": 38 - } - }, - "extra": { - "rawValue": "../wildcard", - "raw": "'../wildcard'" - }, - "value": "../wildcard" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ + "name": "tzolkinCoeff" + }, { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 108, - "end": 122, + "type": "Identifier", + "start": 456, + "end": 466, "loc": { "start": { - "line": 5, - "column": 0 + "line": 17, + "column": 41 }, "end": { - "line": 5, - "column": 14 - } - } - } - ], - "trailingComments": [ + "line": 17, + "column": 51 + }, + "identifierName": "tzolkinDay" + }, + "name": "tzolkinDay" + }, { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 164, - "end": 178, + "type": "Identifier", + "start": 468, + "end": 477, "loc": { "start": { - "line": 7, - "column": 0 + "line": 17, + "column": 53 }, "end": { - "line": 7, - "column": 14 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 179, - "end": 235, - "loc": { - "start": { - "line": 8, - "column": 0 + "line": 17, + "column": 62 + }, + "identifierName": "haabCoeff" + }, + "name": "haabCoeff" }, - "end": { - "line": 8, - "column": 56 - } - }, - "declarations": [ { - "type": "VariableDeclarator", - "start": 185, - "end": 234, + "type": "Identifier", + "start": 479, + "end": 488, "loc": { "start": { - "line": 8, - "column": 6 + "line": 17, + "column": 64 }, "end": { - "line": 8, - "column": 55 - } - }, - "id": { - "type": "Identifier", - "start": 185, - "end": 199, - "loc": { - "start": { - "line": 8, - "column": 6 - }, - "end": { - "line": 8, - "column": 20 - }, - "identifierName": "DistanceNumber" + "line": 17, + "column": 73 }, - "name": "DistanceNumber", - "leadingComments": null + "identifierName": "haabMonth" }, - "init": { - "type": "CallExpression", - "start": 202, - "end": 234, + "name": "haabMonth" + } + ], + "body": { + "type": "BlockStatement", + "start": 490, + "end": 781, + "loc": { + "start": { + "line": 17, + "column": 75 + }, + "end": { + "line": 25, + "column": 1 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 494, + "end": 564, "loc": { "start": { - "line": 8, - "column": 23 + "line": 18, + "column": 2 }, "end": { - "line": 8, - "column": 55 + "line": 18, + "column": 72 } }, - "callee": { - "type": "Identifier", - "start": 202, - "end": 209, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 30 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ + "declarations": [ { - "type": "StringLiteral", - "start": 210, - "end": 233, + "type": "VariableDeclarator", + "start": 500, + "end": 564, "loc": { "start": { - "line": 8, - "column": 31 + "line": 18, + "column": 8 }, "end": { - "line": 8, - "column": 54 + "line": 18, + "column": 72 } }, - "extra": { - "rawValue": "../lc/distance-number", - "raw": "'../lc/distance-number'" - }, - "value": "../lc/distance-number" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 164, - "end": 178, - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 14 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 238, - "end": 252, - "loc": { - "start": { - "line": 11, - "column": 0 - }, - "end": { - "line": 11, - "column": 14 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 253, - "end": 274, - "loc": { - "start": { - "line": 12, - "column": 0 - }, - "end": { - "line": 12, - "column": 21 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 259, - "end": 273, - "loc": { - "start": { - "line": 12, - "column": 6 - }, - "end": { - "line": 12, - "column": 20 - } - }, - "id": { - "type": "Identifier", - "start": 259, - "end": 268, - "loc": { - "start": { - "line": 12, - "column": 6 - }, - "end": { - "line": 12, - "column": 15 - }, - "identifierName": "singleton" - }, - "name": "singleton", - "leadingComments": null - }, - "init": { - "type": "ObjectExpression", - "start": 271, - "end": 273, - "loc": { - "start": { - "line": 12, - "column": 18 - }, - "end": { - "line": 12, - "column": 20 - } - }, - "properties": [] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 238, - "end": 252, - "loc": { - "start": { - "line": 11, - "column": 0 - }, - "end": { - "line": 11, - "column": 14 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return a comparable instance of a Calendar Round.\n * @param {number} tzolkinCoeff\n * @param {TzolkinDay|string} tzolkinDay\n * @param {number} haabCoeff\n * @param {HaabMonth|string} haabMonth\n * @return {CalendarRound}\n ", - "start": 276, - "end": 504, - "loc": { - "start": { - "line": 14, - "column": 0 - }, - "end": { - "line": 21, - "column": 3 - } - } - } - ] - }, - { - "type": "FunctionDeclaration", - "start": 505, - "end": 867, - "loc": { - "start": { - "line": 22, - "column": 0 - }, - "end": { - "line": 29, - "column": 1 - } - }, - "id": { - "type": "Identifier", - "start": 514, - "end": 530, - "loc": { - "start": { - "line": 22, - "column": 9 - }, - "end": { - "line": 22, - "column": 25 - }, - "identifierName": "getCalendarRound" - }, - "name": "getCalendarRound", - "leadingComments": null - }, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 531, - "end": 543, - "loc": { - "start": { - "line": 22, - "column": 26 - }, - "end": { - "line": 22, - "column": 38 - }, - "identifierName": "tzolkinCoeff" - }, - "name": "tzolkinCoeff" - }, - { - "type": "Identifier", - "start": 545, - "end": 555, - "loc": { - "start": { - "line": 22, - "column": 40 - }, - "end": { - "line": 22, - "column": 50 - }, - "identifierName": "tzolkinDay" - }, - "name": "tzolkinDay" - }, - { - "type": "Identifier", - "start": 557, - "end": 566, - "loc": { - "start": { - "line": 22, - "column": 52 - }, - "end": { - "line": 22, - "column": 61 - }, - "identifierName": "haabCoeff" - }, - "name": "haabCoeff" - }, - { - "type": "Identifier", - "start": 568, - "end": 577, - "loc": { - "start": { - "line": 22, - "column": 63 - }, - "end": { - "line": 22, - "column": 72 - }, - "identifierName": "haabMonth" - }, - "name": "haabMonth" - } - ], - "body": { - "type": "BlockStatement", - "start": 579, - "end": 867, - "loc": { - "start": { - "line": 22, - "column": 74 - }, - "end": { - "line": 29, - "column": 1 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 583, - "end": 654, - "loc": { - "start": { - "line": 23, - "column": 2 - }, - "end": { - "line": 23, - "column": 73 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 589, - "end": 653, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 72 - } - }, - "id": { - "type": "Identifier", - "start": 589, - "end": 593, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 12 - }, - "identifierName": "crId" - }, - "name": "crId" + "id": { + "type": "Identifier", + "start": 500, + "end": 504, + "loc": { + "start": { + "line": 18, + "column": 8 + }, + "end": { + "line": 18, + "column": 12 + }, + "identifierName": "crId" + }, + "name": "crId" }, "init": { "type": "TemplateLiteral", - "start": 596, - "end": 653, + "start": 507, + "end": 564, "loc": { "start": { - "line": 23, + "line": 18, "column": 15 }, "end": { - "line": 23, + "line": 18, "column": 72 } }, "expressions": [ { "type": "Identifier", - "start": 599, - "end": 611, + "start": 510, + "end": 522, "loc": { "start": { - "line": 23, + "line": 18, "column": 18 }, "end": { - "line": 23, + "line": 18, "column": 30 }, "identifierName": "tzolkinCoeff" @@ -900,15 +629,15 @@ }, { "type": "Identifier", - "start": 615, - "end": 625, + "start": 526, + "end": 536, "loc": { "start": { - "line": 23, + "line": 18, "column": 34 }, "end": { - "line": 23, + "line": 18, "column": 44 }, "identifierName": "tzolkinDay" @@ -917,15 +646,15 @@ }, { "type": "Identifier", - "start": 629, - "end": 638, + "start": 540, + "end": 549, "loc": { "start": { - "line": 23, + "line": 18, "column": 48 }, "end": { - "line": 23, + "line": 18, "column": 57 }, "identifierName": "haabCoeff" @@ -934,15 +663,15 @@ }, { "type": "Identifier", - "start": 642, - "end": 651, + "start": 553, + "end": 562, "loc": { "start": { - "line": 23, + "line": 18, "column": 61 }, "end": { - "line": 23, + "line": 18, "column": 70 }, "identifierName": "haabMonth" @@ -953,15 +682,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 597, - "end": 597, + "start": 508, + "end": 508, "loc": { "start": { - "line": 23, + "line": 18, "column": 16 }, "end": { - "line": 23, + "line": 18, "column": 16 } }, @@ -973,15 +702,15 @@ }, { "type": "TemplateElement", - "start": 612, - "end": 613, + "start": 523, + "end": 524, "loc": { "start": { - "line": 23, + "line": 18, "column": 31 }, "end": { - "line": 23, + "line": 18, "column": 32 } }, @@ -993,15 +722,15 @@ }, { "type": "TemplateElement", - "start": 626, - "end": 627, + "start": 537, + "end": 538, "loc": { "start": { - "line": 23, + "line": 18, "column": 45 }, "end": { - "line": 23, + "line": 18, "column": 46 } }, @@ -1013,15 +742,15 @@ }, { "type": "TemplateElement", - "start": 639, - "end": 640, + "start": 550, + "end": 551, "loc": { "start": { - "line": 23, + "line": 18, "column": 58 }, "end": { - "line": 23, + "line": 18, "column": 59 } }, @@ -1033,15 +762,15 @@ }, { "type": "TemplateElement", - "start": 652, - "end": 652, + "start": 563, + "end": 563, "loc": { "start": { - "line": 23, + "line": 18, "column": 71 }, "end": { - "line": 23, + "line": 18, "column": 71 } }, @@ -1059,57 +788,57 @@ }, { "type": "IfStatement", - "start": 657, - "end": 839, + "start": 567, + "end": 754, "loc": { "start": { - "line": 24, + "line": 19, "column": 2 }, "end": { - "line": 27, + "line": 23, "column": 3 } }, "test": { "type": "BinaryExpression", - "start": 661, - "end": 690, + "start": 571, + "end": 600, "loc": { "start": { - "line": 24, + "line": 19, "column": 6 }, "end": { - "line": 24, + "line": 19, "column": 35 } }, "left": { "type": "MemberExpression", - "start": 661, - "end": 676, + "start": 571, + "end": 586, "loc": { "start": { - "line": 24, + "line": 19, "column": 6 }, "end": { - "line": 24, + "line": 19, "column": 21 } }, "object": { "type": "Identifier", - "start": 661, - "end": 670, + "start": 571, + "end": 580, "loc": { "start": { - "line": 24, + "line": 19, "column": 6 }, "end": { - "line": 24, + "line": 19, "column": 15 }, "identifierName": "singleton" @@ -1118,15 +847,15 @@ }, "property": { "type": "Identifier", - "start": 671, - "end": 675, + "start": 581, + "end": 585, "loc": { "start": { - "line": 24, + "line": 19, "column": 16 }, "end": { - "line": 24, + "line": 19, "column": 20 }, "identifierName": "crId" @@ -1138,15 +867,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 681, - "end": 690, + "start": 591, + "end": 600, "loc": { "start": { - "line": 24, + "line": 19, "column": 26 }, "end": { - "line": 24, + "line": 19, "column": 35 }, "identifierName": "undefined" @@ -1156,73 +885,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 692, - "end": 839, + "start": 602, + "end": 754, "loc": { "start": { - "line": 24, + "line": 19, "column": 37 }, "end": { - "line": 27, + "line": 23, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 751, - "end": 835, + "start": 661, + "end": 750, "loc": { "start": { - "line": 26, + "line": 21, "column": 4 }, "end": { - "line": 26, - "column": 88 + "line": 22, + "column": 16 } }, "expression": { "type": "AssignmentExpression", - "start": 751, - "end": 834, + "start": 661, + "end": 750, "loc": { "start": { - "line": 26, + "line": 21, "column": 4 }, "end": { - "line": 26, - "column": 87 + "line": 22, + "column": 16 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 751, - "end": 766, + "start": 661, + "end": 676, "loc": { "start": { - "line": 26, + "line": 21, "column": 4 }, "end": { - "line": 26, + "line": 21, "column": 19 } }, "object": { "type": "Identifier", - "start": 751, - "end": 760, + "start": 661, + "end": 670, "loc": { "start": { - "line": 26, + "line": 21, "column": 4 }, "end": { - "line": 26, + "line": 21, "column": 13 }, "identifierName": "singleton" @@ -1232,15 +961,15 @@ }, "property": { "type": "Identifier", - "start": 761, - "end": 765, + "start": 671, + "end": 675, "loc": { "start": { - "line": 26, + "line": 21, "column": 14 }, "end": { - "line": 26, + "line": 21, "column": 18 }, "identifierName": "crId" @@ -1252,29 +981,29 @@ }, "right": { "type": "NewExpression", - "start": 769, - "end": 834, + "start": 679, + "end": 750, "loc": { "start": { - "line": 26, + "line": 21, "column": 22 }, "end": { - "line": 26, - "column": 87 + "line": 22, + "column": 16 } }, "callee": { "type": "Identifier", - "start": 773, - "end": 786, + "start": 683, + "end": 696, "loc": { "start": { - "line": 26, + "line": 21, "column": 26 }, "end": { - "line": 26, + "line": 21, "column": 39 }, "identifierName": "CalendarRound" @@ -1284,15 +1013,15 @@ "arguments": [ { "type": "Identifier", - "start": 787, - "end": 799, + "start": 697, + "end": 709, "loc": { "start": { - "line": 26, + "line": 21, "column": 40 }, "end": { - "line": 26, + "line": 21, "column": 52 }, "identifierName": "tzolkinCoeff" @@ -1301,15 +1030,15 @@ }, { "type": "Identifier", - "start": 801, - "end": 811, + "start": 711, + "end": 721, "loc": { "start": { - "line": 26, + "line": 21, "column": 54 }, "end": { - "line": 26, + "line": 21, "column": 64 }, "identifierName": "tzolkinDay" @@ -1318,15 +1047,15 @@ }, { "type": "Identifier", - "start": 813, - "end": 822, + "start": 723, + "end": 732, "loc": { "start": { - "line": 26, + "line": 21, "column": 66 }, "end": { - "line": 26, + "line": 21, "column": 75 }, "identifierName": "haabCoeff" @@ -1335,16 +1064,16 @@ }, { "type": "Identifier", - "start": 824, - "end": 833, + "start": 740, + "end": 749, "loc": { "start": { - "line": 26, - "column": 77 + "line": 22, + "column": 6 }, "end": { - "line": 26, - "column": 86 + "line": 22, + "column": 15 }, "identifierName": "haabMonth" }, @@ -1358,15 +1087,15 @@ { "type": "CommentLine", "value": " eslint-disable-next-line no-use-before-define", - "start": 698, - "end": 746, + "start": 608, + "end": 656, "loc": { "start": { - "line": 25, + "line": 20, "column": 4 }, "end": { - "line": 25, + "line": 20, "column": 52 } } @@ -1380,43 +1109,43 @@ }, { "type": "ReturnStatement", - "start": 842, - "end": 865, + "start": 757, + "end": 779, "loc": { "start": { - "line": 28, + "line": 24, "column": 2 }, "end": { - "line": 28, - "column": 25 + "line": 24, + "column": 24 } }, "argument": { "type": "MemberExpression", - "start": 849, - "end": 864, + "start": 764, + "end": 779, "loc": { "start": { - "line": 28, + "line": 24, "column": 9 }, "end": { - "line": 28, + "line": 24, "column": 24 } }, "object": { "type": "Identifier", - "start": 849, - "end": 858, + "start": 764, + "end": 773, "loc": { "start": { - "line": 28, + "line": 24, "column": 9 }, "end": { - "line": 28, + "line": 24, "column": 18 }, "identifierName": "singleton" @@ -1425,15 +1154,15 @@ }, "property": { "type": "Identifier", - "start": 859, - "end": 863, + "start": 774, + "end": 778, "loc": { "start": { - "line": 28, + "line": 24, "column": 19 }, "end": { - "line": 28, + "line": 24, "column": 23 }, "identifierName": "crId" @@ -1451,15 +1180,15 @@ { "type": "CommentBlock", "value": "*\n * Return a comparable instance of a Calendar Round.\n * @param {number} tzolkinCoeff\n * @param {TzolkinDay|string} tzolkinDay\n * @param {number} haabCoeff\n * @param {HaabMonth|string} haabMonth\n * @return {CalendarRound}\n ", - "start": 276, - "end": 504, + "start": 186, + "end": 414, "loc": { "start": { - "line": 14, + "line": 9, "column": 0 }, "end": { - "line": 21, + "line": 16, "column": 3 } } @@ -1469,15 +1198,15 @@ { "type": "CommentBlock", "value": "*\n * A combination of 260-day cycles and the Haab cycle. This class should not\n * be instantiated directly, and should be accessed through getCalendarRound.\n * @see {getCalendarRound}\n * @example\n * let cr = new CalendarRound(4, \"Ajaw\", 8, \"Kumk'u\");\n ", - "start": 869, - "end": 1126, + "start": 783, + "end": 1040, "loc": { "start": { - "line": 31, + "line": 27, "column": 0 }, "end": { - "line": 37, + "line": 33, "column": 3 } } @@ -1486,29 +1215,29 @@ }, { "type": "ClassDeclaration", - "start": 1127, - "end": 5496, + "start": 1041, + "end": 5620, "loc": { "start": { - "line": 38, + "line": 34, "column": 0 }, "end": { - "line": 190, + "line": 196, "column": 1 } }, "id": { "type": "Identifier", - "start": 1133, - "end": 1146, + "start": 1047, + "end": 1060, "loc": { "start": { - "line": 38, + "line": 34, "column": 6 }, "end": { - "line": 38, + "line": 34, "column": 19 }, "identifierName": "CalendarRound" @@ -1519,30 +1248,30 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 1147, - "end": 5496, + "start": 1061, + "end": 5620, "loc": { "start": { - "line": 38, + "line": 34, "column": 20 }, "end": { - "line": 190, + "line": 196, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 1429, - "end": 1811, + "start": 1343, + "end": 1723, "loc": { "start": { - "line": 45, + "line": 41, "column": 2 }, "end": { - "line": 58, + "line": 54, "column": 3 } }, @@ -1550,15 +1279,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1429, - "end": 1440, + "start": 1343, + "end": 1354, "loc": { "start": { - "line": 45, + "line": 41, "column": 2 }, "end": { - "line": 45, + "line": 41, "column": 13 }, "identifierName": "constructor" @@ -1574,16 +1303,16 @@ "params": [ { "type": "Identifier", - "start": 1441, - "end": 1453, + "start": 1356, + "end": 1368, "loc": { "start": { - "line": 45, - "column": 14 + "line": 41, + "column": 15 }, "end": { - "line": 45, - "column": 26 + "line": 41, + "column": 27 }, "identifierName": "tzolkinCoeff" }, @@ -1591,16 +1320,16 @@ }, { "type": "Identifier", - "start": 1455, - "end": 1465, + "start": 1370, + "end": 1380, "loc": { "start": { - "line": 45, - "column": 28 + "line": 41, + "column": 29 }, "end": { - "line": 45, - "column": 38 + "line": 41, + "column": 39 }, "identifierName": "tzolkinDay" }, @@ -1608,16 +1337,16 @@ }, { "type": "Identifier", - "start": 1467, - "end": 1476, + "start": 1382, + "end": 1391, "loc": { "start": { - "line": 45, - "column": 40 + "line": 41, + "column": 41 }, "end": { - "line": 45, - "column": 49 + "line": 41, + "column": 50 }, "identifierName": "haabCoeff" }, @@ -1625,16 +1354,16 @@ }, { "type": "Identifier", - "start": 1478, - "end": 1487, + "start": 1393, + "end": 1402, "loc": { "start": { - "line": 45, - "column": 51 + "line": 41, + "column": 52 }, "end": { - "line": 45, - "column": 60 + "line": 41, + "column": 61 }, "identifierName": "haabMonth" }, @@ -1643,73 +1372,73 @@ ], "body": { "type": "BlockStatement", - "start": 1489, - "end": 1811, + "start": 1404, + "end": 1723, "loc": { "start": { - "line": 45, - "column": 62 + "line": 41, + "column": 63 }, "end": { - "line": 58, + "line": 54, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 1587, - "end": 1647, + "start": 1502, + "end": 1561, "loc": { "start": { - "line": 50, + "line": 46, "column": 4 }, "end": { - "line": 50, - "column": 64 + "line": 46, + "column": 63 } }, "expression": { "type": "AssignmentExpression", - "start": 1587, - "end": 1646, + "start": 1502, + "end": 1561, "loc": { "start": { - "line": 50, + "line": 46, "column": 4 }, "end": { - "line": 50, + "line": 46, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1587, - "end": 1599, + "start": 1502, + "end": 1514, "loc": { "start": { - "line": 50, + "line": 46, "column": 4 }, "end": { - "line": 50, + "line": 46, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 1587, - "end": 1591, + "start": 1502, + "end": 1506, "loc": { "start": { - "line": 50, + "line": 46, "column": 4 }, "end": { - "line": 50, + "line": 46, "column": 8 } }, @@ -1717,15 +1446,15 @@ }, "property": { "type": "Identifier", - "start": 1592, - "end": 1599, + "start": 1507, + "end": 1514, "loc": { "start": { - "line": 50, + "line": 46, "column": 9 }, "end": { - "line": 50, + "line": 46, "column": 16 }, "identifierName": "tzolkin" @@ -1737,43 +1466,43 @@ }, "right": { "type": "CallExpression", - "start": 1602, - "end": 1646, + "start": 1517, + "end": 1561, "loc": { "start": { - "line": 50, + "line": 46, "column": 19 }, "end": { - "line": 50, + "line": 46, "column": 63 } }, "callee": { "type": "MemberExpression", - "start": 1602, - "end": 1620, + "start": 1517, + "end": 1535, "loc": { "start": { - "line": 50, + "line": 46, "column": 19 }, "end": { - "line": 50, + "line": 46, "column": 37 } }, "object": { "type": "Identifier", - "start": 1602, - "end": 1609, + "start": 1517, + "end": 1524, "loc": { "start": { - "line": 50, + "line": 46, "column": 19 }, "end": { - "line": 50, + "line": 46, "column": 26 }, "identifierName": "tzolkin" @@ -1782,15 +1511,15 @@ }, "property": { "type": "Identifier", - "start": 1610, - "end": 1620, + "start": 1525, + "end": 1535, "loc": { "start": { - "line": 50, + "line": 46, "column": 27 }, "end": { - "line": 50, + "line": 46, "column": 37 }, "identifierName": "getTzolkin" @@ -1802,15 +1531,15 @@ "arguments": [ { "type": "Identifier", - "start": 1621, - "end": 1633, + "start": 1536, + "end": 1548, "loc": { "start": { - "line": 50, + "line": 46, "column": 38 }, "end": { - "line": 50, + "line": 46, "column": 50 }, "identifierName": "tzolkinCoeff" @@ -1819,38 +1548,40 @@ }, { "type": "Identifier", - "start": 1635, - "end": 1645, + "start": 1550, + "end": 1560, "loc": { "start": { - "line": 50, + "line": 46, "column": 52 }, "end": { - "line": 50, + "line": 46, "column": 62 }, "identifierName": "tzolkinDay" }, "name": "tzolkinDay" } - ] + ], + "trailingComments": null }, - "leadingComments": null + "leadingComments": null, + "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * 260-day cycle component of the Calendar Round\n * @type {Tzolkin}\n ", - "start": 1495, - "end": 1582, + "start": 1410, + "end": 1497, "loc": { "start": { - "line": 46, + "line": 42, "column": 4 }, "end": { - "line": 49, + "line": 45, "column": 7 } } @@ -1860,15 +1591,15 @@ { "type": "CommentBlock", "value": "*\n * Haab cycle component of the Calendar Round\n * @type {Haab}\n ", - "start": 1652, - "end": 1733, + "start": 1566, + "end": 1647, "loc": { "start": { - "line": 51, + "line": 47, "column": 4 }, "end": { - "line": 54, + "line": 50, "column": 7 } } @@ -1877,58 +1608,58 @@ }, { "type": "ExpressionStatement", - "start": 1738, - "end": 1785, + "start": 1652, + "end": 1698, "loc": { "start": { - "line": 55, + "line": 51, "column": 4 }, "end": { - "line": 55, - "column": 51 + "line": 51, + "column": 50 } }, "expression": { "type": "AssignmentExpression", - "start": 1738, - "end": 1784, + "start": 1652, + "end": 1698, "loc": { "start": { - "line": 55, + "line": 51, "column": 4 }, "end": { - "line": 55, + "line": 51, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1738, - "end": 1747, + "start": 1652, + "end": 1661, "loc": { "start": { - "line": 55, + "line": 51, "column": 4 }, "end": { - "line": 55, + "line": 51, "column": 13 } }, "object": { "type": "ThisExpression", - "start": 1738, - "end": 1742, + "start": 1652, + "end": 1656, "loc": { "start": { - "line": 55, + "line": 51, "column": 4 }, "end": { - "line": 55, + "line": 51, "column": 8 } }, @@ -1936,15 +1667,15 @@ }, "property": { "type": "Identifier", - "start": 1743, - "end": 1747, + "start": 1657, + "end": 1661, "loc": { "start": { - "line": 55, + "line": 51, "column": 9 }, "end": { - "line": 55, + "line": 51, "column": 13 }, "identifierName": "haab" @@ -1956,43 +1687,43 @@ }, "right": { "type": "CallExpression", - "start": 1750, - "end": 1784, + "start": 1664, + "end": 1698, "loc": { "start": { - "line": 55, + "line": 51, "column": 16 }, "end": { - "line": 55, + "line": 51, "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 1750, - "end": 1762, + "start": 1664, + "end": 1676, "loc": { "start": { - "line": 55, + "line": 51, "column": 16 }, "end": { - "line": 55, + "line": 51, "column": 28 } }, "object": { "type": "Identifier", - "start": 1750, - "end": 1754, + "start": 1664, + "end": 1668, "loc": { "start": { - "line": 55, + "line": 51, "column": 16 }, "end": { - "line": 55, + "line": 51, "column": 20 }, "identifierName": "haab" @@ -2001,15 +1732,15 @@ }, "property": { "type": "Identifier", - "start": 1755, - "end": 1762, + "start": 1669, + "end": 1676, "loc": { "start": { - "line": 55, + "line": 51, "column": 21 }, "end": { - "line": 55, + "line": 51, "column": 28 }, "identifierName": "getHaab" @@ -2021,15 +1752,15 @@ "arguments": [ { "type": "Identifier", - "start": 1763, - "end": 1772, + "start": 1677, + "end": 1686, "loc": { "start": { - "line": 55, + "line": 51, "column": 29 }, "end": { - "line": 55, + "line": 51, "column": 38 }, "identifierName": "haabCoeff" @@ -2038,15 +1769,15 @@ }, { "type": "Identifier", - "start": 1774, - "end": 1783, + "start": 1688, + "end": 1697, "loc": { "start": { - "line": 55, + "line": 51, "column": 40 }, "end": { - "line": 55, + "line": 51, "column": 49 }, "identifierName": "haabMonth" @@ -2061,15 +1792,15 @@ { "type": "CommentBlock", "value": "*\n * Haab cycle component of the Calendar Round\n * @type {Haab}\n ", - "start": 1652, - "end": 1733, + "start": 1566, + "end": 1647, "loc": { "start": { - "line": 51, + "line": 47, "column": 4 }, "end": { - "line": 54, + "line": 50, "column": 7 } } @@ -2078,72 +1809,72 @@ }, { "type": "ExpressionStatement", - "start": 1791, - "end": 1807, + "start": 1704, + "end": 1719, "loc": { "start": { - "line": 57, + "line": 53, "column": 4 }, "end": { - "line": 57, - "column": 20 + "line": 53, + "column": 19 } }, "expression": { "type": "CallExpression", - "start": 1791, - "end": 1806, + "start": 1704, + "end": 1719, "loc": { "start": { - "line": 57, + "line": 53, "column": 4 }, "end": { - "line": 57, + "line": 53, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 1791, - "end": 1804, + "start": 1704, + "end": 1717, "loc": { "start": { - "line": 57, + "line": 53, "column": 4 }, "end": { - "line": 57, + "line": 53, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 1791, - "end": 1795, + "start": 1704, + "end": 1708, "loc": { "start": { - "line": 57, + "line": 53, "column": 4 }, "end": { - "line": 57, + "line": 53, "column": 8 } } }, "property": { "type": "Identifier", - "start": 1796, - "end": 1804, + "start": 1709, + "end": 1717, "loc": { "start": { - "line": 57, + "line": 53, "column": 9 }, "end": { - "line": 57, + "line": 53, "column": 17 }, "identifierName": "validate" @@ -2163,15 +1894,15 @@ { "type": "CommentBlock", "value": "*\n * @param {number} tzolkinCoeff Coefficient for the 260-day cycle\n * @param {string|TzolkinDay} tzolkinDay Name of the name in the 260-day cycle\n * @param {number} haabCoeff Day in the Haab month\n * @param {string|HaabMonth} haabMonth Name of the Haab month\n ", - "start": 1151, - "end": 1426, + "start": 1065, + "end": 1340, "loc": { "start": { - "line": 39, + "line": 35, "column": 2 }, "end": { - "line": 44, + "line": 40, "column": 5 } } @@ -2181,15 +1912,15 @@ { "type": "CommentBlock", "value": "*\n * Validate that the Calendar Round has a correct 260-day and Haab\n * configuration\n * @throws {Error} If the Calendar Round is invalid.\n ", - "start": 1815, - "end": 1967, + "start": 1727, + "end": 1879, "loc": { "start": { - "line": 60, + "line": 56, "column": 2 }, "end": { - "line": 64, + "line": 60, "column": 5 } } @@ -2198,15 +1929,15 @@ }, { "type": "ClassMethod", - "start": 1970, - "end": 3111, + "start": 1882, + "end": 3037, "loc": { "start": { - "line": 65, + "line": 61, "column": 2 }, "end": { - "line": 98, + "line": 96, "column": 3 } }, @@ -2214,15 +1945,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1970, - "end": 1978, + "start": 1882, + "end": 1890, "loc": { "start": { - "line": 65, + "line": 61, "column": 2 }, "end": { - "line": 65, + "line": 61, "column": 10 }, "identifierName": "validate" @@ -2238,59 +1969,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1981, - "end": 3111, + "start": 1894, + "end": 3037, "loc": { "start": { - "line": 65, - "column": 13 + "line": 61, + "column": 14 }, "end": { - "line": 98, + "line": 96, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 1987, - "end": 2012, + "start": 1900, + "end": 1924, "loc": { "start": { - "line": 66, + "line": 62, "column": 4 }, "end": { - "line": 66, - "column": 29 + "line": 62, + "column": 28 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1991, - "end": 2011, + "start": 1904, + "end": 1924, "loc": { "start": { - "line": 66, + "line": 62, "column": 8 }, "end": { - "line": 66, + "line": 62, "column": 28 } }, "id": { "type": "Identifier", - "start": 1991, - "end": 2006, + "start": 1904, + "end": 1919, "loc": { "start": { - "line": 66, + "line": 62, "column": 8 }, "end": { - "line": 66, + "line": 62, "column": 23 }, "identifierName": "validHaabCoeffs" @@ -2299,15 +2030,15 @@ }, "init": { "type": "ArrayExpression", - "start": 2009, - "end": 2011, + "start": 1922, + "end": 1924, "loc": { "start": { - "line": 66, + "line": 62, "column": 26 }, "end": { - "line": 66, + "line": 62, "column": 28 } }, @@ -2319,72 +2050,72 @@ }, { "type": "IfStatement", - "start": 2017, - "end": 2901, + "start": 1929, + "end": 2820, "loc": { "start": { - "line": 67, + "line": 63, "column": 4 }, "end": { - "line": 91, + "line": 88, "column": 5 } }, "test": { "type": "CallExpression", - "start": 2021, - "end": 2095, + "start": 1933, + "end": 2008, "loc": { "start": { - "line": 67, + "line": 63, "column": 8 }, "end": { - "line": 69, + "line": 65, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 2021, - "end": 2076, + "start": 1933, + "end": 1989, "loc": { "start": { - "line": 67, + "line": 63, "column": 8 }, "end": { - "line": 69, + "line": 65, "column": 14 } }, "object": { "type": "ArrayExpression", - "start": 2021, - "end": 2067, + "start": 1933, + "end": 1980, "loc": { "start": { - "line": 67, + "line": 63, "column": 8 }, "end": { - "line": 69, + "line": 65, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 2029, - "end": 2036, + "start": 1941, + "end": 1948, "loc": { "start": { - "line": 68, + "line": 64, "column": 6 }, "end": { - "line": 68, + "line": 64, "column": 13 } }, @@ -2396,15 +2127,15 @@ }, { "type": "StringLiteral", - "start": 2038, - "end": 2044, + "start": 1950, + "end": 1956, "loc": { "start": { - "line": 68, + "line": 64, "column": 15 }, "end": { - "line": 68, + "line": 64, "column": 21 } }, @@ -2416,15 +2147,15 @@ }, { "type": "StringLiteral", - "start": 2046, - "end": 2055, + "start": 1958, + "end": 1967, "loc": { "start": { - "line": 68, + "line": 64, "column": 23 }, "end": { - "line": 68, + "line": 64, "column": 32 } }, @@ -2436,15 +2167,15 @@ }, { "type": "StringLiteral", - "start": 2057, - "end": 2061, + "start": 1969, + "end": 1973, "loc": { "start": { - "line": 68, + "line": 64, "column": 34 }, "end": { - "line": 68, + "line": 64, "column": 38 } }, @@ -2458,15 +2189,15 @@ }, "property": { "type": "Identifier", - "start": 2068, - "end": 2076, + "start": 1981, + "end": 1989, "loc": { "start": { - "line": 69, + "line": 65, "column": 6 }, "end": { - "line": 69, + "line": 65, "column": 14 }, "identifierName": "includes" @@ -2478,58 +2209,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 2077, - "end": 2094, + "start": 1990, + "end": 2007, "loc": { "start": { - "line": 69, + "line": 65, "column": 15 }, "end": { - "line": 69, + "line": 65, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 2077, - "end": 2089, + "start": 1990, + "end": 2002, "loc": { "start": { - "line": 69, + "line": 65, "column": 15 }, "end": { - "line": 69, + "line": 65, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 2077, - "end": 2081, + "start": 1990, + "end": 1994, "loc": { "start": { - "line": 69, + "line": 65, "column": 15 }, "end": { - "line": 69, + "line": 65, "column": 19 } } }, "property": { "type": "Identifier", - "start": 2082, - "end": 2089, + "start": 1995, + "end": 2002, "loc": { "start": { - "line": 69, + "line": 65, "column": 20 }, "end": { - "line": 69, + "line": 65, "column": 27 }, "identifierName": "tzolkin" @@ -2540,15 +2271,15 @@ }, "property": { "type": "Identifier", - "start": 2090, - "end": 2094, + "start": 2003, + "end": 2007, "loc": { "start": { - "line": 69, + "line": 65, "column": 28 }, "end": { - "line": 69, + "line": 65, "column": 32 }, "identifierName": "name" @@ -2561,59 +2292,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 2097, - "end": 2144, + "start": 2010, + "end": 2056, "loc": { "start": { - "line": 69, + "line": 65, "column": 35 }, "end": { - "line": 71, + "line": 67, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 2105, - "end": 2138, + "start": 2018, + "end": 2050, "loc": { "start": { - "line": 70, + "line": 66, "column": 6 }, "end": { - "line": 70, - "column": 39 + "line": 66, + "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 2105, - "end": 2137, + "start": 2018, + "end": 2050, "loc": { "start": { - "line": 70, + "line": 66, "column": 6 }, "end": { - "line": 70, + "line": 66, "column": 38 } }, "operator": "=", "left": { "type": "Identifier", - "start": 2105, - "end": 2120, + "start": 2018, + "end": 2033, "loc": { "start": { - "line": 70, + "line": 66, "column": 6 }, "end": { - "line": 70, + "line": 66, "column": 21 }, "identifierName": "validHaabCoeffs" @@ -2622,30 +2353,30 @@ }, "right": { "type": "ArrayExpression", - "start": 2123, - "end": 2137, + "start": 2036, + "end": 2050, "loc": { "start": { - "line": 70, + "line": 66, "column": 24 }, "end": { - "line": 70, + "line": 66, "column": 38 } }, "elements": [ { "type": "NumericLiteral", - "start": 2124, - "end": 2125, + "start": 2037, + "end": 2038, "loc": { "start": { - "line": 70, + "line": 66, "column": 25 }, "end": { - "line": 70, + "line": 66, "column": 26 } }, @@ -2657,15 +2388,15 @@ }, { "type": "NumericLiteral", - "start": 2127, - "end": 2128, + "start": 2040, + "end": 2041, "loc": { "start": { - "line": 70, + "line": 66, "column": 28 }, "end": { - "line": 70, + "line": 66, "column": 29 } }, @@ -2677,15 +2408,15 @@ }, { "type": "NumericLiteral", - "start": 2130, - "end": 2132, + "start": 2043, + "end": 2045, "loc": { "start": { - "line": 70, + "line": 66, "column": 31 }, "end": { - "line": 70, + "line": 66, "column": 33 } }, @@ -2697,15 +2428,15 @@ }, { "type": "NumericLiteral", - "start": 2134, - "end": 2136, + "start": 2047, + "end": 2049, "loc": { "start": { - "line": 70, + "line": 66, "column": 35 }, "end": { - "line": 70, + "line": 66, "column": 37 } }, @@ -2724,72 +2455,72 @@ }, "alternate": { "type": "IfStatement", - "start": 2150, - "end": 2901, + "start": 2062, + "end": 2820, "loc": { "start": { - "line": 71, + "line": 67, "column": 11 }, "end": { - "line": 91, + "line": 88, "column": 5 } }, "test": { "type": "CallExpression", - "start": 2154, - "end": 2233, + "start": 2066, + "end": 2146, "loc": { "start": { - "line": 71, + "line": 67, "column": 15 }, "end": { - "line": 73, + "line": 69, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 2154, - "end": 2214, + "start": 2066, + "end": 2127, "loc": { "start": { - "line": 71, + "line": 67, "column": 15 }, "end": { - "line": 73, + "line": 69, "column": 14 } }, "object": { "type": "ArrayExpression", - "start": 2154, - "end": 2205, + "start": 2066, + "end": 2118, "loc": { "start": { - "line": 71, + "line": 67, "column": 15 }, "end": { - "line": 73, + "line": 69, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 2162, - "end": 2172, + "start": 2074, + "end": 2084, "loc": { "start": { - "line": 72, + "line": 68, "column": 6 }, "end": { - "line": 72, + "line": 68, "column": 16 } }, @@ -2801,15 +2532,15 @@ }, { "type": "StringLiteral", - "start": 2174, - "end": 2183, + "start": 2086, + "end": 2095, "loc": { "start": { - "line": 72, + "line": 68, "column": 18 }, "end": { - "line": 72, + "line": 68, "column": 27 } }, @@ -2821,15 +2552,15 @@ }, { "type": "StringLiteral", - "start": 2185, - "end": 2192, + "start": 2097, + "end": 2104, "loc": { "start": { - "line": 72, + "line": 68, "column": 29 }, "end": { - "line": 72, + "line": 68, "column": 36 } }, @@ -2841,15 +2572,15 @@ }, { "type": "StringLiteral", - "start": 2194, - "end": 2199, + "start": 2106, + "end": 2111, "loc": { "start": { - "line": 72, + "line": 68, "column": 38 }, "end": { - "line": 72, + "line": 68, "column": 43 } }, @@ -2863,15 +2594,15 @@ }, "property": { "type": "Identifier", - "start": 2206, - "end": 2214, + "start": 2119, + "end": 2127, "loc": { "start": { - "line": 73, + "line": 69, "column": 6 }, "end": { - "line": 73, + "line": 69, "column": 14 }, "identifierName": "includes" @@ -2883,58 +2614,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 2215, - "end": 2232, + "start": 2128, + "end": 2145, "loc": { "start": { - "line": 73, + "line": 69, "column": 15 }, "end": { - "line": 73, + "line": 69, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 2215, - "end": 2227, + "start": 2128, + "end": 2140, "loc": { "start": { - "line": 73, + "line": 69, "column": 15 }, "end": { - "line": 73, + "line": 69, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 2215, - "end": 2219, + "start": 2128, + "end": 2132, "loc": { "start": { - "line": 73, + "line": 69, "column": 15 }, "end": { - "line": 73, + "line": 69, "column": 19 } } }, "property": { "type": "Identifier", - "start": 2220, - "end": 2227, + "start": 2133, + "end": 2140, "loc": { "start": { - "line": 73, + "line": 69, "column": 20 }, "end": { - "line": 73, + "line": 69, "column": 27 }, "identifierName": "tzolkin" @@ -2945,15 +2676,15 @@ }, "property": { "type": "Identifier", - "start": 2228, - "end": 2232, + "start": 2141, + "end": 2145, "loc": { "start": { - "line": 73, + "line": 69, "column": 28 }, "end": { - "line": 73, + "line": 69, "column": 32 }, "identifierName": "name" @@ -2966,59 +2697,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 2235, - "end": 2282, + "start": 2148, + "end": 2194, "loc": { "start": { - "line": 73, + "line": 69, "column": 35 }, "end": { - "line": 75, + "line": 71, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 2243, - "end": 2276, + "start": 2156, + "end": 2188, "loc": { "start": { - "line": 74, + "line": 70, "column": 6 }, "end": { - "line": 74, - "column": 39 + "line": 70, + "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 2243, - "end": 2275, + "start": 2156, + "end": 2188, "loc": { "start": { - "line": 74, + "line": 70, "column": 6 }, "end": { - "line": 74, + "line": 70, "column": 38 } }, "operator": "=", "left": { "type": "Identifier", - "start": 2243, - "end": 2258, + "start": 2156, + "end": 2171, "loc": { "start": { - "line": 74, + "line": 70, "column": 6 }, "end": { - "line": 74, + "line": 70, "column": 21 }, "identifierName": "validHaabCoeffs" @@ -3027,30 +2758,30 @@ }, "right": { "type": "ArrayExpression", - "start": 2261, - "end": 2275, + "start": 2174, + "end": 2188, "loc": { "start": { - "line": 74, + "line": 70, "column": 24 }, "end": { - "line": 74, + "line": 70, "column": 38 } }, "elements": [ { "type": "NumericLiteral", - "start": 2262, - "end": 2263, + "start": 2175, + "end": 2176, "loc": { "start": { - "line": 74, + "line": 70, "column": 25 }, "end": { - "line": 74, + "line": 70, "column": 26 } }, @@ -3062,15 +2793,15 @@ }, { "type": "NumericLiteral", - "start": 2265, - "end": 2266, + "start": 2178, + "end": 2179, "loc": { "start": { - "line": 74, + "line": 70, "column": 28 }, "end": { - "line": 74, + "line": 70, "column": 29 } }, @@ -3082,15 +2813,15 @@ }, { "type": "NumericLiteral", - "start": 2268, - "end": 2270, + "start": 2181, + "end": 2183, "loc": { "start": { - "line": 74, + "line": 70, "column": 31 }, "end": { - "line": 74, + "line": 70, "column": 33 } }, @@ -3102,15 +2833,15 @@ }, { "type": "NumericLiteral", - "start": 2272, - "end": 2274, + "start": 2185, + "end": 2187, "loc": { "start": { - "line": 74, + "line": 70, "column": 35 }, "end": { - "line": 74, + "line": 70, "column": 37 } }, @@ -3129,72 +2860,72 @@ }, "alternate": { "type": "IfStatement", - "start": 2288, - "end": 2901, + "start": 2200, + "end": 2820, "loc": { "start": { - "line": 75, + "line": 71, "column": 11 }, "end": { - "line": 91, + "line": 88, "column": 5 } }, "test": { "type": "CallExpression", - "start": 2292, - "end": 2365, + "start": 2204, + "end": 2278, "loc": { "start": { - "line": 75, + "line": 71, "column": 15 }, "end": { - "line": 77, + "line": 73, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 2292, - "end": 2346, + "start": 2204, + "end": 2259, "loc": { "start": { - "line": 75, + "line": 71, "column": 15 }, "end": { - "line": 77, + "line": 73, "column": 14 } }, "object": { "type": "ArrayExpression", - "start": 2292, - "end": 2337, + "start": 2204, + "end": 2250, "loc": { "start": { - "line": 75, + "line": 71, "column": 15 }, "end": { - "line": 77, + "line": 73, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 2300, - "end": 2307, + "start": 2212, + "end": 2219, "loc": { "start": { - "line": 76, + "line": 72, "column": 6 }, "end": { - "line": 76, + "line": 72, "column": 13 } }, @@ -3206,15 +2937,15 @@ }, { "type": "StringLiteral", - "start": 2309, - "end": 2316, + "start": 2221, + "end": 2228, "loc": { "start": { - "line": 76, + "line": 72, "column": 15 }, "end": { - "line": 76, + "line": 72, "column": 22 } }, @@ -3226,15 +2957,15 @@ }, { "type": "StringLiteral", - "start": 2318, - "end": 2325, + "start": 2230, + "end": 2237, "loc": { "start": { - "line": 76, + "line": 72, "column": 24 }, "end": { - "line": 76, + "line": 72, "column": 31 } }, @@ -3246,15 +2977,15 @@ }, { "type": "StringLiteral", - "start": 2327, - "end": 2331, + "start": 2239, + "end": 2243, "loc": { "start": { - "line": 76, + "line": 72, "column": 33 }, "end": { - "line": 76, + "line": 72, "column": 37 } }, @@ -3268,15 +2999,15 @@ }, "property": { "type": "Identifier", - "start": 2338, - "end": 2346, + "start": 2251, + "end": 2259, "loc": { "start": { - "line": 77, + "line": 73, "column": 6 }, "end": { - "line": 77, + "line": 73, "column": 14 }, "identifierName": "includes" @@ -3288,58 +3019,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 2347, - "end": 2364, + "start": 2260, + "end": 2277, "loc": { "start": { - "line": 77, + "line": 73, "column": 15 }, "end": { - "line": 77, + "line": 73, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 2347, - "end": 2359, + "start": 2260, + "end": 2272, "loc": { "start": { - "line": 77, + "line": 73, "column": 15 }, "end": { - "line": 77, + "line": 73, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 2347, - "end": 2351, + "start": 2260, + "end": 2264, "loc": { "start": { - "line": 77, + "line": 73, "column": 15 }, "end": { - "line": 77, + "line": 73, "column": 19 } } }, "property": { "type": "Identifier", - "start": 2352, - "end": 2359, + "start": 2265, + "end": 2272, "loc": { "start": { - "line": 77, + "line": 73, "column": 20 }, "end": { - "line": 77, + "line": 73, "column": 27 }, "identifierName": "tzolkin" @@ -3350,15 +3081,15 @@ }, "property": { "type": "Identifier", - "start": 2360, - "end": 2364, + "start": 2273, + "end": 2277, "loc": { "start": { - "line": 77, + "line": 73, "column": 28 }, "end": { - "line": 77, + "line": 73, "column": 32 }, "identifierName": "name" @@ -3371,59 +3102,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 2367, - "end": 2414, + "start": 2280, + "end": 2326, "loc": { "start": { - "line": 77, + "line": 73, "column": 35 }, "end": { - "line": 79, + "line": 75, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 2375, - "end": 2408, + "start": 2288, + "end": 2320, "loc": { "start": { - "line": 78, + "line": 74, "column": 6 }, "end": { - "line": 78, - "column": 39 + "line": 74, + "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 2375, - "end": 2407, + "start": 2288, + "end": 2320, "loc": { "start": { - "line": 78, + "line": 74, "column": 6 }, "end": { - "line": 78, + "line": 74, "column": 38 } }, "operator": "=", "left": { "type": "Identifier", - "start": 2375, - "end": 2390, + "start": 2288, + "end": 2303, "loc": { "start": { - "line": 78, + "line": 74, "column": 6 }, "end": { - "line": 78, + "line": 74, "column": 21 }, "identifierName": "validHaabCoeffs" @@ -3432,30 +3163,30 @@ }, "right": { "type": "ArrayExpression", - "start": 2393, - "end": 2407, + "start": 2306, + "end": 2320, "loc": { "start": { - "line": 78, + "line": 74, "column": 24 }, "end": { - "line": 78, + "line": 74, "column": 38 } }, "elements": [ { "type": "NumericLiteral", - "start": 2394, - "end": 2395, + "start": 2307, + "end": 2308, "loc": { "start": { - "line": 78, + "line": 74, "column": 25 }, "end": { - "line": 78, + "line": 74, "column": 26 } }, @@ -3467,15 +3198,15 @@ }, { "type": "NumericLiteral", - "start": 2397, - "end": 2398, + "start": 2310, + "end": 2311, "loc": { "start": { - "line": 78, + "line": 74, "column": 28 }, "end": { - "line": 78, + "line": 74, "column": 29 } }, @@ -3487,15 +3218,15 @@ }, { "type": "NumericLiteral", - "start": 2400, - "end": 2402, + "start": 2313, + "end": 2315, "loc": { "start": { - "line": 78, + "line": 74, "column": 31 }, "end": { - "line": 78, + "line": 74, "column": 33 } }, @@ -3507,15 +3238,15 @@ }, { "type": "NumericLiteral", - "start": 2404, - "end": 2406, + "start": 2317, + "end": 2319, "loc": { "start": { - "line": 78, + "line": 74, "column": 35 }, "end": { - "line": 78, + "line": 74, "column": 37 } }, @@ -3534,72 +3265,72 @@ }, "alternate": { "type": "IfStatement", - "start": 2420, - "end": 2901, + "start": 2332, + "end": 2820, "loc": { "start": { - "line": 79, + "line": 75, "column": 11 }, "end": { - "line": 91, + "line": 88, "column": 5 } }, "test": { "type": "CallExpression", - "start": 2424, - "end": 2497, + "start": 2336, + "end": 2410, "loc": { "start": { - "line": 79, + "line": 75, "column": 15 }, "end": { - "line": 81, + "line": 77, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 2424, - "end": 2478, + "start": 2336, + "end": 2391, "loc": { "start": { - "line": 79, + "line": 75, "column": 15 }, "end": { - "line": 81, + "line": 77, "column": 14 } }, "object": { "type": "ArrayExpression", - "start": 2424, - "end": 2469, + "start": 2336, + "end": 2382, "loc": { "start": { - "line": 79, + "line": 75, "column": 15 }, "end": { - "line": 81, + "line": 77, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 2432, - "end": 2438, + "start": 2344, + "end": 2350, "loc": { "start": { - "line": 80, + "line": 76, "column": 6 }, "end": { - "line": 80, + "line": 76, "column": 12 } }, @@ -3611,15 +3342,15 @@ }, { "type": "StringLiteral", - "start": 2440, - "end": 2450, + "start": 2352, + "end": 2362, "loc": { "start": { - "line": 80, + "line": 76, "column": 14 }, "end": { - "line": 80, + "line": 76, "column": 24 } }, @@ -3631,15 +3362,15 @@ }, { "type": "StringLiteral", - "start": 2452, - "end": 2456, + "start": 2364, + "end": 2368, "loc": { "start": { - "line": 80, + "line": 76, "column": 26 }, "end": { - "line": 80, + "line": 76, "column": 30 } }, @@ -3651,15 +3382,15 @@ }, { "type": "StringLiteral", - "start": 2458, - "end": 2463, + "start": 2370, + "end": 2375, "loc": { "start": { - "line": 80, + "line": 76, "column": 32 }, "end": { - "line": 80, + "line": 76, "column": 37 } }, @@ -3673,15 +3404,15 @@ }, "property": { "type": "Identifier", - "start": 2470, - "end": 2478, + "start": 2383, + "end": 2391, "loc": { "start": { - "line": 81, + "line": 77, "column": 6 }, "end": { - "line": 81, + "line": 77, "column": 14 }, "identifierName": "includes" @@ -3693,58 +3424,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 2479, - "end": 2496, + "start": 2392, + "end": 2409, "loc": { "start": { - "line": 81, + "line": 77, "column": 15 }, "end": { - "line": 81, + "line": 77, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 2479, - "end": 2491, + "start": 2392, + "end": 2404, "loc": { "start": { - "line": 81, + "line": 77, "column": 15 }, "end": { - "line": 81, + "line": 77, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 2479, - "end": 2483, + "start": 2392, + "end": 2396, "loc": { "start": { - "line": 81, + "line": 77, "column": 15 }, "end": { - "line": 81, + "line": 77, "column": 19 } } }, "property": { "type": "Identifier", - "start": 2484, - "end": 2491, + "start": 2397, + "end": 2404, "loc": { "start": { - "line": 81, + "line": 77, "column": 20 }, "end": { - "line": 81, + "line": 77, "column": 27 }, "identifierName": "tzolkin" @@ -3755,15 +3486,15 @@ }, "property": { "type": "Identifier", - "start": 2492, - "end": 2496, + "start": 2405, + "end": 2409, "loc": { "start": { - "line": 81, + "line": 77, "column": 28 }, "end": { - "line": 81, + "line": 77, "column": 32 }, "identifierName": "name" @@ -3776,59 +3507,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 2499, - "end": 2546, + "start": 2412, + "end": 2458, "loc": { "start": { - "line": 81, + "line": 77, "column": 35 }, "end": { - "line": 83, + "line": 79, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 2507, - "end": 2540, + "start": 2420, + "end": 2452, "loc": { "start": { - "line": 82, + "line": 78, "column": 6 }, "end": { - "line": 82, - "column": 39 + "line": 78, + "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 2507, - "end": 2539, + "start": 2420, + "end": 2452, "loc": { "start": { - "line": 82, + "line": 78, "column": 6 }, "end": { - "line": 82, + "line": 78, "column": 38 } }, "operator": "=", "left": { "type": "Identifier", - "start": 2507, - "end": 2522, + "start": 2420, + "end": 2435, "loc": { "start": { - "line": 82, + "line": 78, "column": 6 }, "end": { - "line": 82, + "line": 78, "column": 21 }, "identifierName": "validHaabCoeffs" @@ -3837,30 +3568,30 @@ }, "right": { "type": "ArrayExpression", - "start": 2525, - "end": 2539, + "start": 2438, + "end": 2452, "loc": { "start": { - "line": 82, + "line": 78, "column": 24 }, "end": { - "line": 82, + "line": 78, "column": 38 } }, "elements": [ { "type": "NumericLiteral", - "start": 2526, - "end": 2527, + "start": 2439, + "end": 2440, "loc": { "start": { - "line": 82, + "line": 78, "column": 25 }, "end": { - "line": 82, + "line": 78, "column": 26 } }, @@ -3872,15 +3603,15 @@ }, { "type": "NumericLiteral", - "start": 2529, - "end": 2530, + "start": 2442, + "end": 2443, "loc": { "start": { - "line": 82, + "line": 78, "column": 28 }, "end": { - "line": 82, + "line": 78, "column": 29 } }, @@ -3892,15 +3623,15 @@ }, { "type": "NumericLiteral", - "start": 2532, - "end": 2534, + "start": 2445, + "end": 2447, "loc": { "start": { - "line": 82, + "line": 78, "column": 31 }, "end": { - "line": 82, + "line": 78, "column": 33 } }, @@ -3912,15 +3643,15 @@ }, { "type": "NumericLiteral", - "start": 2536, - "end": 2538, + "start": 2449, + "end": 2451, "loc": { "start": { - "line": 82, + "line": 78, "column": 35 }, "end": { - "line": 82, + "line": 78, "column": 37 } }, @@ -3939,72 +3670,72 @@ }, "alternate": { "type": "IfStatement", - "start": 2552, - "end": 2901, + "start": 2464, + "end": 2820, "loc": { "start": { - "line": 83, + "line": 79, "column": 11 }, "end": { - "line": 91, + "line": 88, "column": 5 } }, "test": { "type": "CallExpression", - "start": 2556, - "end": 2629, + "start": 2468, + "end": 2542, "loc": { "start": { - "line": 83, + "line": 79, "column": 15 }, "end": { - "line": 85, + "line": 81, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 2556, - "end": 2610, + "start": 2468, + "end": 2523, "loc": { "start": { - "line": 83, + "line": 79, "column": 15 }, "end": { - "line": 85, + "line": 81, "column": 14 } }, "object": { "type": "ArrayExpression", - "start": 2556, - "end": 2601, + "start": 2468, + "end": 2514, "loc": { "start": { - "line": 83, + "line": 79, "column": 15 }, "end": { - "line": 85, + "line": 81, "column": 5 } }, "elements": [ { "type": "StringLiteral", - "start": 2564, - "end": 2570, + "start": 2476, + "end": 2482, "loc": { "start": { - "line": 84, + "line": 80, "column": 6 }, "end": { - "line": 84, + "line": 80, "column": 12 } }, @@ -4016,15 +3747,15 @@ }, { "type": "StringLiteral", - "start": 2572, - "end": 2578, + "start": 2484, + "end": 2490, "loc": { "start": { - "line": 84, + "line": 80, "column": 14 }, "end": { - "line": 84, + "line": 80, "column": 20 } }, @@ -4036,15 +3767,15 @@ }, { "type": "StringLiteral", - "start": 2580, - "end": 2588, + "start": 2492, + "end": 2500, "loc": { "start": { - "line": 84, + "line": 80, "column": 22 }, "end": { - "line": 84, + "line": 80, "column": 30 } }, @@ -4056,15 +3787,15 @@ }, { "type": "StringLiteral", - "start": 2590, - "end": 2595, + "start": 2502, + "end": 2507, "loc": { "start": { - "line": 84, + "line": 80, "column": 32 }, "end": { - "line": 84, + "line": 80, "column": 37 } }, @@ -4078,15 +3809,15 @@ }, "property": { "type": "Identifier", - "start": 2602, - "end": 2610, + "start": 2515, + "end": 2523, "loc": { "start": { - "line": 85, + "line": 81, "column": 6 }, "end": { - "line": 85, + "line": 81, "column": 14 }, "identifierName": "includes" @@ -4098,58 +3829,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 2611, - "end": 2628, + "start": 2524, + "end": 2541, "loc": { "start": { - "line": 85, + "line": 81, "column": 15 }, "end": { - "line": 85, + "line": 81, "column": 32 } }, "object": { "type": "MemberExpression", - "start": 2611, - "end": 2623, + "start": 2524, + "end": 2536, "loc": { "start": { - "line": 85, + "line": 81, "column": 15 }, "end": { - "line": 85, + "line": 81, "column": 27 } }, "object": { "type": "ThisExpression", - "start": 2611, - "end": 2615, + "start": 2524, + "end": 2528, "loc": { "start": { - "line": 85, + "line": 81, "column": 15 }, "end": { - "line": 85, + "line": 81, "column": 19 } } }, "property": { "type": "Identifier", - "start": 2616, - "end": 2623, + "start": 2529, + "end": 2536, "loc": { "start": { - "line": 85, + "line": 81, "column": 20 }, "end": { - "line": 85, + "line": 81, "column": 27 }, "identifierName": "tzolkin" @@ -4160,15 +3891,15 @@ }, "property": { "type": "Identifier", - "start": 2624, - "end": 2628, + "start": 2537, + "end": 2541, "loc": { "start": { - "line": 85, + "line": 81, "column": 28 }, "end": { - "line": 85, + "line": 81, "column": 32 }, "identifierName": "name" @@ -4181,59 +3912,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 2631, - "end": 2678, + "start": 2544, + "end": 2590, "loc": { "start": { - "line": 85, + "line": 81, "column": 35 }, "end": { - "line": 87, + "line": 83, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 2639, - "end": 2672, + "start": 2552, + "end": 2584, "loc": { "start": { - "line": 86, + "line": 82, "column": 6 }, "end": { - "line": 86, - "column": 39 + "line": 82, + "column": 38 } }, "expression": { "type": "AssignmentExpression", - "start": 2639, - "end": 2671, + "start": 2552, + "end": 2584, "loc": { "start": { - "line": 86, + "line": 82, "column": 6 }, "end": { - "line": 86, + "line": 82, "column": 38 } }, "operator": "=", "left": { "type": "Identifier", - "start": 2639, - "end": 2654, + "start": 2552, + "end": 2567, "loc": { "start": { - "line": 86, + "line": 82, "column": 6 }, "end": { - "line": 86, + "line": 82, "column": 21 }, "identifierName": "validHaabCoeffs" @@ -4242,30 +3973,30 @@ }, "right": { "type": "ArrayExpression", - "start": 2657, - "end": 2671, + "start": 2570, + "end": 2584, "loc": { "start": { - "line": 86, + "line": 82, "column": 24 }, "end": { - "line": 86, + "line": 82, "column": 38 } }, "elements": [ { "type": "NumericLiteral", - "start": 2658, - "end": 2659, + "start": 2571, + "end": 2572, "loc": { "start": { - "line": 86, + "line": 82, "column": 25 }, "end": { - "line": 86, + "line": 82, "column": 26 } }, @@ -4277,15 +4008,15 @@ }, { "type": "NumericLiteral", - "start": 2661, - "end": 2662, + "start": 2574, + "end": 2575, "loc": { "start": { - "line": 86, + "line": 82, "column": 28 }, "end": { - "line": 86, + "line": 82, "column": 29 } }, @@ -4297,15 +4028,15 @@ }, { "type": "NumericLiteral", - "start": 2664, - "end": 2666, + "start": 2577, + "end": 2579, "loc": { "start": { - "line": 86, + "line": 82, "column": 31 }, "end": { - "line": 86, + "line": 82, "column": 33 } }, @@ -4317,15 +4048,15 @@ }, { "type": "NumericLiteral", - "start": 2668, - "end": 2670, + "start": 2581, + "end": 2583, "loc": { "start": { - "line": 86, + "line": 82, "column": 35 }, "end": { - "line": 86, + "line": 82, "column": 37 } }, @@ -4344,72 +4075,72 @@ }, "alternate": { "type": "IfStatement", - "start": 2684, - "end": 2901, + "start": 2596, + "end": 2820, "loc": { "start": { - "line": 87, + "line": 83, "column": 11 }, "end": { - "line": 91, + "line": 88, "column": 5 } }, "test": { "type": "CallExpression", - "start": 2688, - "end": 2726, + "start": 2600, + "end": 2638, "loc": { "start": { - "line": 87, + "line": 83, "column": 15 }, "end": { - "line": 87, + "line": 83, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 2688, - "end": 2707, + "start": 2600, + "end": 2619, "loc": { "start": { - "line": 87, + "line": 83, "column": 15 }, "end": { - "line": 87, + "line": 83, "column": 34 } }, "object": { "type": "ArrayExpression", - "start": 2688, - "end": 2698, + "start": 2600, + "end": 2610, "loc": { "start": { - "line": 87, + "line": 83, "column": 15 }, "end": { - "line": 87, + "line": 83, "column": 25 } }, "elements": [ { "type": "Identifier", - "start": 2689, - "end": 2697, + "start": 2601, + "end": 2609, "loc": { "start": { - "line": 87, + "line": 83, "column": 16 }, "end": { - "line": 87, + "line": 83, "column": 24 }, "identifierName": "wildcard" @@ -4420,15 +4151,15 @@ }, "property": { "type": "Identifier", - "start": 2699, - "end": 2707, + "start": 2611, + "end": 2619, "loc": { "start": { - "line": 87, + "line": 83, "column": 26 }, "end": { - "line": 87, + "line": 83, "column": 34 }, "identifierName": "includes" @@ -4440,58 +4171,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 2708, - "end": 2725, + "start": 2620, + "end": 2637, "loc": { "start": { - "line": 87, + "line": 83, "column": 35 }, "end": { - "line": 87, + "line": 83, "column": 52 } }, "object": { "type": "MemberExpression", - "start": 2708, - "end": 2720, + "start": 2620, + "end": 2632, "loc": { "start": { - "line": 87, + "line": 83, "column": 35 }, "end": { - "line": 87, + "line": 83, "column": 47 } }, "object": { "type": "ThisExpression", - "start": 2708, - "end": 2712, + "start": 2620, + "end": 2624, "loc": { "start": { - "line": 87, + "line": 83, "column": 35 }, "end": { - "line": 87, + "line": 83, "column": 39 } } }, "property": { "type": "Identifier", - "start": 2713, - "end": 2720, + "start": 2625, + "end": 2632, "loc": { "start": { - "line": 87, + "line": 83, "column": 40 }, "end": { - "line": 87, + "line": 83, "column": 47 }, "identifierName": "tzolkin" @@ -4502,15 +4233,15 @@ }, "property": { "type": "Identifier", - "start": 2721, - "end": 2725, + "start": 2633, + "end": 2637, "loc": { "start": { - "line": 87, + "line": 83, "column": 48 }, "end": { - "line": 87, + "line": 83, "column": 52 }, "identifierName": "name" @@ -4523,59 +4254,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 2728, - "end": 2782, + "start": 2640, + "end": 2693, "loc": { "start": { - "line": 87, + "line": 83, "column": 55 }, "end": { - "line": 89, + "line": 85, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 2736, - "end": 2776, + "start": 2648, + "end": 2687, "loc": { "start": { - "line": 88, + "line": 84, "column": 6 }, "end": { - "line": 88, - "column": 46 + "line": 84, + "column": 45 } }, "expression": { "type": "AssignmentExpression", - "start": 2736, - "end": 2775, + "start": 2648, + "end": 2687, "loc": { "start": { - "line": 88, + "line": 84, "column": 6 }, "end": { - "line": 88, + "line": 84, "column": 45 } }, "operator": "=", "left": { "type": "Identifier", - "start": 2736, - "end": 2751, + "start": 2648, + "end": 2663, "loc": { "start": { - "line": 88, + "line": 84, "column": 6 }, "end": { - "line": 88, + "line": 84, "column": 21 }, "identifierName": "validHaabCoeffs" @@ -4584,86 +4315,86 @@ }, "right": { "type": "ArrayExpression", - "start": 2754, - "end": 2775, + "start": 2666, + "end": 2687, "loc": { "start": { - "line": 88, + "line": 84, "column": 24 }, "end": { - "line": 88, + "line": 84, "column": 45 } }, "elements": [ { "type": "SpreadElement", - "start": 2755, - "end": 2774, + "start": 2667, + "end": 2686, "loc": { "start": { - "line": 88, + "line": 84, "column": 25 }, "end": { - "line": 88, + "line": 84, "column": 44 } }, "argument": { "type": "CallExpression", - "start": 2758, - "end": 2774, + "start": 2670, + "end": 2686, "loc": { "start": { - "line": 88, + "line": 84, "column": 28 }, "end": { - "line": 88, + "line": 84, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 2758, - "end": 2772, + "start": 2670, + "end": 2684, "loc": { "start": { - "line": 88, + "line": 84, "column": 28 }, "end": { - "line": 88, + "line": 84, "column": 42 } }, "object": { "type": "CallExpression", - "start": 2758, - "end": 2767, + "start": 2670, + "end": 2679, "loc": { "start": { - "line": 88, + "line": 84, "column": 28 }, "end": { - "line": 88, + "line": 84, "column": 37 } }, "callee": { "type": "Identifier", - "start": 2758, - "end": 2763, + "start": 2670, + "end": 2675, "loc": { "start": { - "line": 88, + "line": 84, "column": 28 }, "end": { - "line": 88, + "line": 84, "column": 33 }, "identifierName": "Array" @@ -4673,15 +4404,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2764, - "end": 2766, + "start": 2676, + "end": 2678, "loc": { "start": { - "line": 88, + "line": 84, "column": 34 }, "end": { - "line": 88, + "line": 84, "column": 36 } }, @@ -4695,15 +4426,15 @@ }, "property": { "type": "Identifier", - "start": 2768, - "end": 2772, + "start": 2680, + "end": 2684, "loc": { "start": { - "line": 88, + "line": 84, "column": 38 }, "end": { - "line": 88, + "line": 84, "column": 42 }, "identifierName": "keys" @@ -4724,58 +4455,58 @@ }, "alternate": { "type": "BlockStatement", - "start": 2788, - "end": 2901, + "start": 2699, + "end": 2820, "loc": { "start": { - "line": 89, + "line": 85, "column": 11 }, "end": { - "line": 91, + "line": 88, "column": 5 } }, "body": [ { "type": "ThrowStatement", - "start": 2796, - "end": 2895, + "start": 2707, + "end": 2814, "loc": { "start": { - "line": 90, + "line": 86, "column": 6 }, "end": { - "line": 90, - "column": 105 + "line": 87, + "column": 90 } }, "argument": { "type": "NewExpression", - "start": 2802, - "end": 2894, + "start": 2713, + "end": 2814, "loc": { "start": { - "line": 90, + "line": 86, "column": 12 }, "end": { - "line": 90, - "column": 104 + "line": 87, + "column": 90 } }, "callee": { "type": "Identifier", - "start": 2806, - "end": 2811, + "start": 2717, + "end": 2722, "loc": { "start": { - "line": 90, + "line": 86, "column": 16 }, "end": { - "line": 90, + "line": 86, "column": 21 }, "identifierName": "Error" @@ -4785,74 +4516,74 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 2812, - "end": 2893, + "start": 2732, + "end": 2813, "loc": { "start": { - "line": 90, - "column": 22 + "line": 87, + "column": 8 }, "end": { - "line": 90, - "column": 103 + "line": 87, + "column": 89 } }, "expressions": [ { "type": "MemberExpression", - "start": 2844, - "end": 2861, + "start": 2764, + "end": 2781, "loc": { "start": { - "line": 90, - "column": 54 + "line": 87, + "column": 40 }, "end": { - "line": 90, - "column": 71 + "line": 87, + "column": 57 } }, "object": { "type": "MemberExpression", - "start": 2844, - "end": 2856, + "start": 2764, + "end": 2776, "loc": { "start": { - "line": 90, - "column": 54 + "line": 87, + "column": 40 }, "end": { - "line": 90, - "column": 66 + "line": 87, + "column": 52 } }, "object": { "type": "ThisExpression", - "start": 2844, - "end": 2848, + "start": 2764, + "end": 2768, "loc": { "start": { - "line": 90, - "column": 54 + "line": 87, + "column": 40 }, "end": { - "line": 90, - "column": 58 + "line": 87, + "column": 44 } } }, "property": { "type": "Identifier", - "start": 2849, - "end": 2856, + "start": 2769, + "end": 2776, "loc": { "start": { - "line": 90, - "column": 59 + "line": 87, + "column": 45 }, "end": { - "line": 90, - "column": 66 + "line": 87, + "column": 52 }, "identifierName": "tzolkin" }, @@ -4862,16 +4593,16 @@ }, "property": { "type": "Identifier", - "start": 2857, - "end": 2861, + "start": 2777, + "end": 2781, "loc": { "start": { - "line": 90, - "column": 67 + "line": 87, + "column": 53 }, "end": { - "line": 90, - "column": 71 + "line": 87, + "column": 57 }, "identifierName": "name" }, @@ -4883,16 +4614,16 @@ "quasis": [ { "type": "TemplateElement", - "start": 2813, - "end": 2842, + "start": 2733, + "end": 2762, "loc": { "start": { - "line": 90, - "column": 23 + "line": 87, + "column": 9 }, "end": { - "line": 90, - "column": 52 + "line": 87, + "column": 38 } }, "value": { @@ -4903,16 +4634,16 @@ }, { "type": "TemplateElement", - "start": 2862, - "end": 2892, + "start": 2782, + "end": 2812, "loc": { "start": { - "line": 90, - "column": 72 + "line": 87, + "column": 58 }, "end": { - "line": 90, - "column": 102 + "line": 87, + "column": 88 } }, "value": { @@ -4937,57 +4668,57 @@ }, { "type": "ExpressionStatement", - "start": 2907, - "end": 2938, + "start": 2826, + "end": 2856, "loc": { "start": { - "line": 93, + "line": 90, "column": 4 }, "end": { - "line": 93, - "column": 35 + "line": 90, + "column": 34 } }, "expression": { "type": "CallExpression", - "start": 2907, - "end": 2937, + "start": 2826, + "end": 2856, "loc": { "start": { - "line": 93, + "line": 90, "column": 4 }, "end": { - "line": 93, + "line": 90, "column": 34 } }, "callee": { "type": "MemberExpression", - "start": 2907, - "end": 2927, + "start": 2826, + "end": 2846, "loc": { "start": { - "line": 93, + "line": 90, "column": 4 }, "end": { - "line": 93, + "line": 90, "column": 24 } }, "object": { "type": "Identifier", - "start": 2907, - "end": 2922, + "start": 2826, + "end": 2841, "loc": { "start": { - "line": 93, + "line": 90, "column": 4 }, "end": { - "line": 93, + "line": 90, "column": 19 }, "identifierName": "validHaabCoeffs" @@ -4996,15 +4727,15 @@ }, "property": { "type": "Identifier", - "start": 2923, - "end": 2927, + "start": 2842, + "end": 2846, "loc": { "start": { - "line": 93, + "line": 90, "column": 20 }, "end": { - "line": 93, + "line": 90, "column": 24 }, "identifierName": "push" @@ -5016,15 +4747,15 @@ "arguments": [ { "type": "Identifier", - "start": 2928, - "end": 2936, + "start": 2847, + "end": 2855, "loc": { "start": { - "line": 93, + "line": 90, "column": 25 }, "end": { - "line": 93, + "line": 90, "column": 33 }, "identifierName": "wildcard" @@ -5036,29 +4767,29 @@ }, { "type": "IfStatement", - "start": 2944, - "end": 3107, + "start": 2862, + "end": 3033, "loc": { "start": { - "line": 95, + "line": 92, "column": 4 }, "end": { - "line": 97, + "line": 95, "column": 5 } }, "test": { "type": "UnaryExpression", - "start": 2948, - "end": 2990, + "start": 2866, + "end": 2908, "loc": { "start": { - "line": 95, + "line": 92, "column": 8 }, "end": { - "line": 95, + "line": 92, "column": 50 } }, @@ -5066,43 +4797,43 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 2949, - "end": 2990, + "start": 2867, + "end": 2908, "loc": { "start": { - "line": 95, + "line": 92, "column": 9 }, "end": { - "line": 95, + "line": 92, "column": 50 } }, "callee": { "type": "MemberExpression", - "start": 2949, - "end": 2973, + "start": 2867, + "end": 2891, "loc": { "start": { - "line": 95, + "line": 92, "column": 9 }, "end": { - "line": 95, + "line": 92, "column": 33 } }, "object": { "type": "Identifier", - "start": 2949, - "end": 2964, + "start": 2867, + "end": 2882, "loc": { "start": { - "line": 95, + "line": 92, "column": 9 }, "end": { - "line": 95, + "line": 92, "column": 24 }, "identifierName": "validHaabCoeffs" @@ -5111,15 +4842,15 @@ }, "property": { "type": "Identifier", - "start": 2965, - "end": 2973, + "start": 2883, + "end": 2891, "loc": { "start": { - "line": 95, + "line": 92, "column": 25 }, "end": { - "line": 95, + "line": 92, "column": 33 }, "identifierName": "includes" @@ -5131,58 +4862,58 @@ "arguments": [ { "type": "MemberExpression", - "start": 2974, - "end": 2989, + "start": 2892, + "end": 2907, "loc": { "start": { - "line": 95, + "line": 92, "column": 34 }, "end": { - "line": 95, + "line": 92, "column": 49 } }, "object": { "type": "MemberExpression", - "start": 2974, - "end": 2983, + "start": 2892, + "end": 2901, "loc": { "start": { - "line": 95, + "line": 92, "column": 34 }, "end": { - "line": 95, + "line": 92, "column": 43 } }, "object": { "type": "ThisExpression", - "start": 2974, - "end": 2978, + "start": 2892, + "end": 2896, "loc": { "start": { - "line": 95, + "line": 92, "column": 34 }, "end": { - "line": 95, + "line": 92, "column": 38 } } }, "property": { "type": "Identifier", - "start": 2979, - "end": 2983, + "start": 2897, + "end": 2901, "loc": { "start": { - "line": 95, + "line": 92, "column": 39 }, "end": { - "line": 95, + "line": 92, "column": 43 }, "identifierName": "haab" @@ -5193,15 +4924,15 @@ }, "property": { "type": "Identifier", - "start": 2984, - "end": 2989, + "start": 2902, + "end": 2907, "loc": { "start": { - "line": 95, + "line": 92, "column": 44 }, "end": { - "line": 95, + "line": 92, "column": 49 }, "identifierName": "coeff" @@ -5218,58 +4949,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 2992, - "end": 3107, + "start": 2910, + "end": 3033, "loc": { "start": { - "line": 95, + "line": 92, "column": 52 }, "end": { - "line": 97, + "line": 95, "column": 5 } }, "body": [ { "type": "ThrowStatement", - "start": 3000, - "end": 3101, + "start": 2918, + "end": 3027, "loc": { "start": { - "line": 96, + "line": 93, "column": 6 }, "end": { - "line": 96, - "column": 107 + "line": 94, + "column": 92 } }, "argument": { "type": "NewExpression", - "start": 3006, - "end": 3100, + "start": 2924, + "end": 3027, "loc": { "start": { - "line": 96, + "line": 93, "column": 12 }, "end": { - "line": 96, - "column": 106 + "line": 94, + "column": 92 } }, "callee": { "type": "Identifier", - "start": 3010, - "end": 3015, + "start": 2928, + "end": 2933, "loc": { "start": { - "line": 96, + "line": 93, "column": 16 }, "end": { - "line": 96, + "line": 93, "column": 21 }, "identifierName": "Error" @@ -5279,46 +5010,46 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 3016, - "end": 3099, + "start": 2943, + "end": 3026, "loc": { "start": { - "line": 96, - "column": 22 + "line": 94, + "column": 8 }, "end": { - "line": 96, - "column": 105 + "line": 94, + "column": 91 } }, "expressions": [ { "type": "ThisExpression", - "start": 3019, - "end": 3023, + "start": 2946, + "end": 2950, "loc": { "start": { - "line": 96, - "column": 25 + "line": 94, + "column": 11 }, "end": { - "line": 96, - "column": 29 + "line": 94, + "column": 15 } } }, { "type": "Identifier", - "start": 3053, - "end": 3068, + "start": 2980, + "end": 2995, "loc": { "start": { - "line": 96, - "column": 59 + "line": 94, + "column": 45 }, "end": { - "line": 96, - "column": 74 + "line": 94, + "column": 60 }, "identifierName": "validHaabCoeffs" }, @@ -5326,59 +5057,59 @@ }, { "type": "MemberExpression", - "start": 3080, - "end": 3097, + "start": 3007, + "end": 3024, "loc": { "start": { - "line": 96, - "column": 86 + "line": 94, + "column": 72 }, "end": { - "line": 96, - "column": 103 + "line": 94, + "column": 89 } }, "object": { "type": "MemberExpression", - "start": 3080, - "end": 3092, + "start": 3007, + "end": 3019, "loc": { "start": { - "line": 96, - "column": 86 + "line": 94, + "column": 72 }, "end": { - "line": 96, - "column": 98 + "line": 94, + "column": 84 } }, "object": { "type": "ThisExpression", - "start": 3080, - "end": 3084, + "start": 3007, + "end": 3011, "loc": { "start": { - "line": 96, - "column": 86 + "line": 94, + "column": 72 }, "end": { - "line": 96, - "column": 90 + "line": 94, + "column": 76 } } }, "property": { "type": "Identifier", - "start": 3085, - "end": 3092, + "start": 3012, + "end": 3019, "loc": { "start": { - "line": 96, - "column": 91 + "line": 94, + "column": 77 }, "end": { - "line": 96, - "column": 98 + "line": 94, + "column": 84 }, "identifierName": "tzolkin" }, @@ -5388,16 +5119,16 @@ }, "property": { "type": "Identifier", - "start": 3093, - "end": 3097, + "start": 3020, + "end": 3024, "loc": { "start": { - "line": 96, - "column": 99 + "line": 94, + "column": 85 }, "end": { - "line": 96, - "column": 103 + "line": 94, + "column": 89 }, "identifierName": "name" }, @@ -5409,16 +5140,16 @@ "quasis": [ { "type": "TemplateElement", - "start": 3017, - "end": 3017, + "start": 2944, + "end": 2944, "loc": { "start": { - "line": 96, - "column": 23 + "line": 94, + "column": 9 }, "end": { - "line": 96, - "column": 23 + "line": 94, + "column": 9 } }, "value": { @@ -5429,16 +5160,16 @@ }, { "type": "TemplateElement", - "start": 3024, - "end": 3051, + "start": 2951, + "end": 2978, "loc": { "start": { - "line": 96, - "column": 30 + "line": 94, + "column": 16 }, "end": { - "line": 96, - "column": 57 + "line": 94, + "column": 43 } }, "value": { @@ -5449,16 +5180,16 @@ }, { "type": "TemplateElement", - "start": 3069, - "end": 3078, + "start": 2996, + "end": 3005, "loc": { "start": { - "line": 96, - "column": 75 + "line": 94, + "column": 61 }, "end": { - "line": 96, - "column": 84 + "line": 94, + "column": 70 } }, "value": { @@ -5469,16 +5200,16 @@ }, { "type": "TemplateElement", - "start": 3098, - "end": 3098, + "start": 3025, + "end": 3025, "loc": { "start": { - "line": 96, - "column": 104 + "line": 94, + "column": 90 }, "end": { - "line": 96, - "column": 104 + "line": 94, + "column": 90 } }, "value": { @@ -5505,15 +5236,15 @@ { "type": "CommentBlock", "value": "*\n * Validate that the Calendar Round has a correct 260-day and Haab\n * configuration\n * @throws {Error} If the Calendar Round is invalid.\n ", - "start": 1815, - "end": 1967, + "start": 1727, + "end": 1879, "loc": { "start": { - "line": 60, + "line": 56, "column": 2 }, "end": { - "line": 64, + "line": 60, "column": 5 } } @@ -5523,15 +5254,15 @@ { "type": "CommentBlock", "value": "*\n * Increment both the Haab and 260-day cycle to the next day in the Calendar Round\n * @returns {CalendarRound}\n ", - "start": 3115, - "end": 3239, + "start": 3041, + "end": 3165, "loc": { "start": { - "line": 100, + "line": 98, "column": 2 }, "end": { - "line": 103, + "line": 101, "column": 5 } } @@ -5540,15 +5271,15 @@ }, { "type": "ClassMethod", - "start": 3242, - "end": 3280, + "start": 3168, + "end": 3206, "loc": { "start": { - "line": 104, + "line": 102, "column": 2 }, "end": { - "line": 106, + "line": 104, "column": 3 } }, @@ -5556,15 +5287,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3242, - "end": 3246, + "start": 3168, + "end": 3172, "loc": { "start": { - "line": 104, + "line": 102, "column": 2 }, "end": { - "line": 104, + "line": 102, "column": 6 }, "identifierName": "next" @@ -5580,87 +5311,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3249, - "end": 3280, + "start": 3176, + "end": 3206, "loc": { "start": { - "line": 104, - "column": 9 + "line": 102, + "column": 10 }, "end": { - "line": 106, + "line": 104, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 3255, - "end": 3276, + "start": 3182, + "end": 3202, "loc": { "start": { - "line": 105, + "line": 103, "column": 4 }, "end": { - "line": 105, - "column": 25 + "line": 103, + "column": 24 } }, "argument": { "type": "CallExpression", - "start": 3262, - "end": 3275, + "start": 3189, + "end": 3202, "loc": { "start": { - "line": 105, + "line": 103, "column": 11 }, "end": { - "line": 105, + "line": 103, "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 3262, - "end": 3272, + "start": 3189, + "end": 3199, "loc": { "start": { - "line": 105, + "line": 103, "column": 11 }, "end": { - "line": 105, + "line": 103, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 3262, - "end": 3266, + "start": 3189, + "end": 3193, "loc": { "start": { - "line": 105, + "line": 103, "column": 11 }, "end": { - "line": 105, + "line": 103, "column": 15 } } }, "property": { "type": "Identifier", - "start": 3267, - "end": 3272, + "start": 3194, + "end": 3199, "loc": { "start": { - "line": 105, + "line": 103, "column": 16 }, "end": { - "line": 105, + "line": 103, "column": 21 }, "identifierName": "shift" @@ -5672,15 +5403,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 3273, - "end": 3274, + "start": 3200, + "end": 3201, "loc": { "start": { - "line": 105, + "line": 103, "column": 22 }, "end": { - "line": 105, + "line": 103, "column": 23 } }, @@ -5701,15 +5432,15 @@ { "type": "CommentBlock", "value": "*\n * Increment both the Haab and 260-day cycle to the next day in the Calendar Round\n * @returns {CalendarRound}\n ", - "start": 3115, - "end": 3239, + "start": 3041, + "end": 3165, "loc": { "start": { - "line": 100, + "line": 98, "column": 2 }, "end": { - "line": 103, + "line": 101, "column": 5 } } @@ -5719,15 +5450,15 @@ { "type": "CommentBlock", "value": "*\n * Check that this CalendarRound matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return false.\n * @param {CalendarRound} newCr\n * @return {Boolean}\n ", - "start": 3284, - "end": 3502, + "start": 3210, + "end": 3428, "loc": { "start": { - "line": 108, + "line": 106, "column": 2 }, "end": { - "line": 113, + "line": 111, "column": 5 } } @@ -5736,15 +5467,15 @@ }, { "type": "ClassMethod", - "start": 3505, - "end": 3550, + "start": 3431, + "end": 3476, "loc": { "start": { - "line": 114, + "line": 112, "column": 2 }, "end": { - "line": 116, + "line": 114, "column": 3 } }, @@ -5752,15 +5483,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3505, - "end": 3510, + "start": 3431, + "end": 3436, "loc": { "start": { - "line": 114, + "line": 112, "column": 2 }, "end": { - "line": 114, + "line": 112, "column": 7 }, "identifierName": "equal" @@ -5776,16 +5507,16 @@ "params": [ { "type": "Identifier", - "start": 3511, - "end": 3516, + "start": 3438, + "end": 3443, "loc": { "start": { - "line": 114, - "column": 8 + "line": 112, + "column": 9 }, "end": { - "line": 114, - "column": 13 + "line": 112, + "column": 14 }, "identifierName": "newCr" }, @@ -5794,58 +5525,58 @@ ], "body": { "type": "BlockStatement", - "start": 3518, - "end": 3550, + "start": 3445, + "end": 3476, "loc": { "start": { - "line": 114, - "column": 15 + "line": 112, + "column": 16 }, "end": { - "line": 116, + "line": 114, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 3524, - "end": 3546, + "start": 3451, + "end": 3472, "loc": { "start": { - "line": 115, + "line": 113, "column": 4 }, "end": { - "line": 115, - "column": 26 + "line": 113, + "column": 25 } }, "argument": { "type": "BinaryExpression", - "start": 3531, - "end": 3545, + "start": 3458, + "end": 3472, "loc": { "start": { - "line": 115, + "line": 113, "column": 11 }, "end": { - "line": 115, + "line": 113, "column": 25 } }, "left": { "type": "ThisExpression", - "start": 3531, - "end": 3535, + "start": 3458, + "end": 3462, "loc": { "start": { - "line": 115, + "line": 113, "column": 11 }, "end": { - "line": 115, + "line": 113, "column": 15 } } @@ -5853,15 +5584,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 3540, - "end": 3545, + "start": 3467, + "end": 3472, "loc": { "start": { - "line": 115, + "line": 113, "column": 20 }, "end": { - "line": 115, + "line": 113, "column": 25 }, "identifierName": "newCr" @@ -5878,15 +5609,15 @@ { "type": "CommentBlock", "value": "*\n * Check that this CalendarRound matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return false.\n * @param {CalendarRound} newCr\n * @return {Boolean}\n ", - "start": 3284, - "end": 3502, + "start": 3210, + "end": 3428, "loc": { "start": { - "line": 108, + "line": 106, "column": 2 }, "end": { - "line": 113, + "line": 111, "column": 5 } } @@ -5896,15 +5627,15 @@ { "type": "CommentBlock", "value": "*\n * Return a long count date representing the difference between two dates.\n * @param {CalendarRound} targetCr\n * @return {LongCount}\n ", - "start": 3554, - "end": 3702, + "start": 3480, + "end": 3628, "loc": { "start": { - "line": 118, + "line": 116, "column": 2 }, "end": { - "line": 122, + "line": 120, "column": 5 } } @@ -5913,15 +5644,15 @@ }, { "type": "ClassMethod", - "start": 3705, - "end": 4166, + "start": 3631, + "end": 4293, "loc": { "start": { - "line": 123, + "line": 121, "column": 2 }, "end": { - "line": 140, + "line": 146, "column": 3 } }, @@ -5929,15 +5660,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3705, - "end": 3710, + "start": 3631, + "end": 3636, "loc": { "start": { - "line": 123, + "line": 121, "column": 2 }, "end": { - "line": 123, + "line": 121, "column": 7 }, "identifierName": "minus" @@ -5953,16 +5684,16 @@ "params": [ { "type": "Identifier", - "start": 3711, - "end": 3719, + "start": 3638, + "end": 3646, "loc": { "start": { - "line": 123, - "column": 8 + "line": 121, + "column": 9 }, "end": { - "line": 123, - "column": 16 + "line": 121, + "column": 17 }, "identifierName": "targetCr" }, @@ -5971,60 +5702,60 @@ ], "body": { "type": "BlockStatement", - "start": 3721, - "end": 4166, + "start": 3648, + "end": 4293, "loc": { "start": { - "line": 123, - "column": 18 + "line": 121, + "column": 19 }, "end": { - "line": 140, + "line": 146, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 3746, - "end": 3772, + "start": 3673, + "end": 3696, "loc": { "start": { - "line": 125, + "line": 123, "column": 4 }, "end": { - "line": 125, - "column": 30 + "line": 123, + "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3752, - "end": 3771, + "start": 3677, + "end": 3696, "loc": { "start": { - "line": 125, - "column": 10 + "line": 123, + "column": 8 }, "end": { - "line": 125, - "column": 29 + "line": 123, + "column": 27 } }, "id": { "type": "Identifier", - "start": 3752, - "end": 3763, + "start": 3677, + "end": 3688, "loc": { "start": { - "line": 125, - "column": 10 + "line": 123, + "column": 8 }, "end": { - "line": 125, - "column": 21 + "line": 123, + "column": 19 }, "identifierName": "foundOrigin" }, @@ -6033,16 +5764,16 @@ }, "init": { "type": "BooleanLiteral", - "start": 3766, - "end": 3771, + "start": 3691, + "end": 3696, "loc": { "start": { - "line": 125, - "column": 24 + "line": 123, + "column": 22 }, "end": { - "line": 125, - "column": 29 + "line": 123, + "column": 27 } }, "value": false @@ -6050,20 +5781,20 @@ "leadingComments": null } ], - "kind": "const", + "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "* @ignore ", - "start": 3727, - "end": 3741, + "start": 3654, + "end": 3668, "loc": { "start": { - "line": 124, + "line": 122, "column": 4 }, "end": { - "line": 124, + "line": 122, "column": 18 } } @@ -6072,44 +5803,44 @@ }, { "type": "VariableDeclaration", - "start": 3777, - "end": 3803, + "start": 3701, + "end": 3726, "loc": { "start": { - "line": 126, + "line": 124, "column": 4 }, "end": { - "line": 126, - "column": 30 + "line": 124, + "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3783, - "end": 3802, + "start": 3707, + "end": 3726, "loc": { "start": { - "line": 126, + "line": 124, "column": 10 }, "end": { - "line": 126, + "line": 124, "column": 29 } }, "id": { "type": "Identifier", - "start": 3783, - "end": 3794, + "start": 3707, + "end": 3718, "loc": { "start": { - "line": 126, + "line": 124, "column": 10 }, "end": { - "line": 126, + "line": 124, "column": 21 }, "identifierName": "foundTarget" @@ -6118,15 +5849,15 @@ }, "init": { "type": "BooleanLiteral", - "start": 3797, - "end": 3802, + "start": 3721, + "end": 3726, "loc": { "start": { - "line": 126, + "line": 124, "column": 24 }, "end": { - "line": 126, + "line": 124, "column": 29 } }, @@ -6138,44 +5869,44 @@ }, { "type": "VariableDeclaration", - "start": 3808, - "end": 3827, + "start": 3731, + "end": 3749, "loc": { "start": { - "line": 127, + "line": 125, "column": 4 }, "end": { - "line": 127, - "column": 23 + "line": 125, + "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3812, - "end": 3826, + "start": 3735, + "end": 3749, "loc": { "start": { - "line": 127, + "line": 125, "column": 8 }, "end": { - "line": 127, + "line": 125, "column": 22 } }, "id": { "type": "Identifier", - "start": 3812, - "end": 3819, + "start": 3735, + "end": 3742, "loc": { "start": { - "line": 127, + "line": 125, "column": 8 }, "end": { - "line": 127, + "line": 125, "column": 15 }, "identifierName": "current" @@ -6184,15 +5915,15 @@ }, "init": { "type": "ThisExpression", - "start": 3822, - "end": 3826, + "start": 3745, + "end": 3749, "loc": { "start": { - "line": 127, + "line": 125, "column": 18 }, "end": { - "line": 127, + "line": 125, "column": 22 } } @@ -6203,44 +5934,44 @@ }, { "type": "VariableDeclaration", - "start": 3832, - "end": 3846, + "start": 3754, + "end": 3767, "loc": { "start": { - "line": 128, + "line": 126, "column": 4 }, "end": { - "line": 128, - "column": 18 + "line": 126, + "column": 17 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3836, - "end": 3845, + "start": 3758, + "end": 3767, "loc": { "start": { - "line": 128, + "line": 126, "column": 8 }, "end": { - "line": 128, + "line": 126, "column": 17 } }, "id": { "type": "Identifier", - "start": 3836, - "end": 3841, + "start": 3758, + "end": 3763, "loc": { "start": { - "line": 128, + "line": 126, "column": 8 }, "end": { - "line": 128, + "line": 126, "column": 13 }, "identifierName": "count" @@ -6249,15 +5980,15 @@ }, "init": { "type": "NumericLiteral", - "start": 3844, - "end": 3845, + "start": 3766, + "end": 3767, "loc": { "start": { - "line": 128, + "line": 126, "column": 16 }, "end": { - "line": 128, + "line": 126, "column": 17 } }, @@ -6271,31 +6002,98 @@ ], "kind": "let" }, + { + "type": "VariableDeclaration", + "start": 3772, + "end": 3798, + "loc": { + "start": { + "line": 127, + "column": 4 + }, + "end": { + "line": 127, + "column": 30 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 3776, + "end": 3798, + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 127, + "column": 30 + } + }, + "id": { + "type": "Identifier", + "start": 3776, + "end": 3786, + "loc": { + "start": { + "line": 127, + "column": 8 + }, + "end": { + "line": 127, + "column": 18 + }, + "identifierName": "cycleCount" + }, + "name": "cycleCount" + }, + "init": { + "type": "Identifier", + "start": 3789, + "end": 3798, + "loc": { + "start": { + "line": 127, + "column": 21 + }, + "end": { + "line": 127, + "column": 30 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } + } + ], + "kind": "let" + }, { "type": "WhileStatement", - "start": 3851, - "end": 4162, + "start": 3803, + "end": 4289, "loc": { "start": { - "line": 129, + "line": 128, "column": 4 }, "end": { - "line": 139, + "line": 145, "column": 5 } }, "test": { "type": "UnaryExpression", - "start": 3858, - "end": 3870, + "start": 3810, + "end": 3822, "loc": { "start": { - "line": 129, + "line": 128, "column": 11 }, "end": { - "line": 129, + "line": 128, "column": 23 } }, @@ -6303,15 +6101,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 3859, - "end": 3870, + "start": 3811, + "end": 3822, "loc": { "start": { - "line": 129, + "line": 128, "column": 12 }, "end": { - "line": 129, + "line": 128, "column": 23 }, "identifierName": "foundTarget" @@ -6324,72 +6122,72 @@ }, "body": { "type": "BlockStatement", - "start": 3872, - "end": 4162, + "start": 3824, + "end": 4289, "loc": { "start": { - "line": 129, + "line": 128, "column": 25 }, "end": { - "line": 139, + "line": 145, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 3935, - "end": 4156, + "start": 3887, + "end": 4283, "loc": { "start": { - "line": 131, + "line": 130, "column": 6 }, "end": { - "line": 138, + "line": 144, "column": 7 } }, "test": { "type": "CallExpression", - "start": 3939, - "end": 3960, + "start": 3891, + "end": 3912, "loc": { "start": { - "line": 131, + "line": 130, "column": 10 }, "end": { - "line": 131, + "line": 130, "column": 31 } }, "callee": { "type": "MemberExpression", - "start": 3939, - "end": 3952, + "start": 3891, + "end": 3904, "loc": { "start": { - "line": 131, + "line": 130, "column": 10 }, "end": { - "line": 131, + "line": 130, "column": 23 } }, "object": { "type": "Identifier", - "start": 3939, - "end": 3946, + "start": 3891, + "end": 3898, "loc": { "start": { - "line": 131, + "line": 130, "column": 10 }, "end": { - "line": 131, + "line": 130, "column": 17 }, "identifierName": "current" @@ -6399,15 +6197,15 @@ }, "property": { "type": "Identifier", - "start": 3947, - "end": 3952, + "start": 3899, + "end": 3904, "loc": { "start": { - "line": 131, + "line": 130, "column": 18 }, "end": { - "line": 131, + "line": 130, "column": 23 }, "identifierName": "equal" @@ -6420,15 +6218,15 @@ "arguments": [ { "type": "Identifier", - "start": 3953, - "end": 3959, + "start": 3905, + "end": 3911, "loc": { "start": { - "line": 131, + "line": 130, "column": 24 }, "end": { - "line": 131, + "line": 130, "column": 30 }, "identifierName": "origin" @@ -6440,154 +6238,234 @@ }, "consequent": { "type": "BlockStatement", - "start": 3962, - "end": 3989, + "start": 3914, + "end": 4028, "loc": { "start": { - "line": 131, + "line": 130, "column": 33 }, "end": { - "line": 133, + "line": 135, "column": 7 } }, "body": [ { - "type": "DebuggerStatement", - "start": 3972, - "end": 3981, + "type": "ExpressionStatement", + "start": 3924, + "end": 3942, "loc": { "start": { - "line": 132, + "line": 131, "column": 8 }, "end": { - "line": 132, - "column": 17 + "line": 131, + "column": 26 } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "IfStatement", - "start": 3995, - "end": 4156, - "loc": { - "start": { - "line": 133, - "column": 13 - }, - "end": { - "line": 138, - "column": 7 - } - }, - "test": { - "type": "CallExpression", - "start": 3999, - "end": 4022, - "loc": { - "start": { - "line": 133, - "column": 17 }, - "end": { - "line": 133, - "column": 40 + "expression": { + "type": "AssignmentExpression", + "start": 3924, + "end": 3942, + "loc": { + "start": { + "line": 131, + "column": 8 + }, + "end": { + "line": 131, + "column": 26 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 3924, + "end": 3935, + "loc": { + "start": { + "line": 131, + "column": 8 + }, + "end": { + "line": 131, + "column": 19 + }, + "identifierName": "foundOrigin" + }, + "name": "foundOrigin" + }, + "right": { + "type": "BooleanLiteral", + "start": 3938, + "end": 3942, + "loc": { + "start": { + "line": 131, + "column": 22 + }, + "end": { + "line": 131, + "column": 26 + } + }, + "value": true + } } }, - "callee": { - "type": "MemberExpression", - "start": 3999, - "end": 4012, + { + "type": "ExpressionStatement", + "start": 3951, + "end": 3969, "loc": { "start": { - "line": 133, - "column": 17 + "line": 132, + "column": 8 }, "end": { - "line": 133, - "column": 30 + "line": 132, + "column": 26 } }, - "object": { - "type": "Identifier", - "start": 3999, - "end": 4006, + "expression": { + "type": "AssignmentExpression", + "start": 3951, + "end": 3969, "loc": { "start": { - "line": 133, - "column": 17 + "line": 132, + "column": 8 }, "end": { - "line": 133, - "column": 24 - }, - "identifierName": "current" + "line": 132, + "column": 26 + } }, - "name": "current" - }, - "property": { - "type": "Identifier", - "start": 4007, - "end": 4012, - "loc": { - "start": { - "line": 133, - "column": 25 + "operator": "=", + "left": { + "type": "Identifier", + "start": 3951, + "end": 3961, + "loc": { + "start": { + "line": 132, + "column": 8 + }, + "end": { + "line": 132, + "column": 18 + }, + "identifierName": "cycleCount" }, - "end": { - "line": 133, - "column": 30 + "name": "cycleCount" + }, + "right": { + "type": "Identifier", + "start": 3964, + "end": 3969, + "loc": { + "start": { + "line": 132, + "column": 21 + }, + "end": { + "line": 132, + "column": 26 + }, + "identifierName": "count" }, - "identifierName": "equal" + "name": "count" + } + } + }, + { + "type": "ExpressionStatement", + "start": 3978, + "end": 3987, + "loc": { + "start": { + "line": 133, + "column": 8 }, - "name": "equal" + "end": { + "line": 133, + "column": 17 + } }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 4013, - "end": 4021, + "expression": { + "type": "AssignmentExpression", + "start": 3978, + "end": 3987, "loc": { "start": { "line": 133, - "column": 31 + "column": 8 }, "end": { "line": 133, - "column": 39 + "column": 17 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 3978, + "end": 3983, + "loc": { + "start": { + "line": 133, + "column": 8 + }, + "end": { + "line": 133, + "column": 13 + }, + "identifierName": "count" }, - "identifierName": "targetCr" + "name": "count" }, - "name": "targetCr" - } - ] - }, - "consequent": { - "type": "BlockStatement", - "start": 4024, - "end": 4087, - "loc": { - "start": { - "line": 133, - "column": 42 - }, - "end": { - "line": 135, - "column": 7 + "right": { + "type": "NumericLiteral", + "start": 3986, + "end": 3987, + "loc": { + "start": { + "line": 133, + "column": 16 + }, + "end": { + "line": 133, + "column": 17 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } } }, - "body": [ - { - "type": "ReturnStatement", - "start": 4034, - "end": 4079, + { + "type": "ExpressionStatement", + "start": 3996, + "end": 4020, + "loc": { + "start": { + "line": 134, + "column": 8 + }, + "end": { + "line": 134, + "column": 32 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3996, + "end": 4020, "loc": { "start": { "line": 134, @@ -6595,237 +6473,595 @@ }, "end": { "line": 134, - "column": 53 + "column": 32 } }, - "argument": { - "type": "CallExpression", - "start": 4041, - "end": 4078, + "operator": "=", + "left": { + "type": "Identifier", + "start": 3996, + "end": 4003, "loc": { "start": { + "line": 134, + "column": 8 + }, + "end": { "line": 134, "column": 15 }, + "identifierName": "current" + }, + "name": "current" + }, + "right": { + "type": "CallExpression", + "start": 4006, + "end": 4020, + "loc": { + "start": { + "line": 134, + "column": 18 + }, "end": { "line": 134, - "column": 52 + "column": 32 } }, "callee": { "type": "MemberExpression", - "start": 4041, - "end": 4076, + "start": 4006, + "end": 4018, "loc": { "start": { "line": 134, - "column": 15 + "column": 18 }, "end": { "line": 134, - "column": 50 + "column": 30 } }, "object": { - "type": "NewExpression", - "start": 4041, - "end": 4066, + "type": "Identifier", + "start": 4006, + "end": 4013, "loc": { "start": { "line": 134, - "column": 15 + "column": 18 }, "end": { "line": 134, - "column": 40 - } - }, - "callee": { - "type": "Identifier", - "start": 4045, - "end": 4059, - "loc": { - "start": { - "line": 134, - "column": 19 - }, - "end": { - "line": 134, - "column": 33 - }, - "identifierName": "DistanceNumber" + "column": 25 }, - "name": "DistanceNumber" + "identifierName": "current" }, - "arguments": [ - { - "type": "Identifier", - "start": 4060, - "end": 4065, - "loc": { - "start": { - "line": 134, - "column": 34 - }, - "end": { - "line": 134, - "column": 39 - }, - "identifierName": "count" - }, - "name": "count" - } - ] + "name": "current" }, "property": { "type": "Identifier", - "start": 4067, - "end": 4076, + "start": 4014, + "end": 4018, "loc": { "start": { "line": 134, - "column": 41 + "column": 26 }, "end": { "line": 134, - "column": 50 + "column": 30 }, - "identifierName": "normalise" + "identifierName": "next" }, - "name": "normalise" + "name": "next" }, "computed": false }, "arguments": [] } } - ], - "directives": [] + } + ], + "directives": [] + }, + "alternate": { + "type": "IfStatement", + "start": 4034, + "end": 4283, + "loc": { + "start": { + "line": 135, + "column": 13 + }, + "end": { + "line": 144, + "column": 7 + } }, - "alternate": { + "test": { + "type": "CallExpression", + "start": 4038, + "end": 4061, + "loc": { + "start": { + "line": 135, + "column": 17 + }, + "end": { + "line": 135, + "column": 40 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4038, + "end": 4051, + "loc": { + "start": { + "line": 135, + "column": 17 + }, + "end": { + "line": 135, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 4038, + "end": 4045, + "loc": { + "start": { + "line": 135, + "column": 17 + }, + "end": { + "line": 135, + "column": 24 + }, + "identifierName": "current" + }, + "name": "current" + }, + "property": { + "type": "Identifier", + "start": 4046, + "end": 4051, + "loc": { + "start": { + "line": 135, + "column": 25 + }, + "end": { + "line": 135, + "column": 30 + }, + "identifierName": "equal" + }, + "name": "equal" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 4052, + "end": 4060, + "loc": { + "start": { + "line": 135, + "column": 31 + }, + "end": { + "line": 135, + "column": 39 + }, + "identifierName": "targetCr" + }, + "name": "targetCr" + } + ] + }, + "consequent": { "type": "BlockStatement", - "start": 4093, - "end": 4156, + "start": 4063, + "end": 4216, "loc": { "start": { "line": 135, - "column": 13 + "column": 42 }, "end": { - "line": 138, + "line": 141, "column": 7 } }, "body": [ { - "type": "ExpressionStatement", - "start": 4103, - "end": 4128, + "type": "ReturnStatement", + "start": 4073, + "end": 4208, "loc": { "start": { "line": 136, "column": 8 }, "end": { - "line": 136, - "column": 33 + "line": 140, + "column": 21 } }, - "expression": { - "type": "AssignmentExpression", - "start": 4103, - "end": 4127, + "argument": { + "type": "CallExpression", + "start": 4080, + "end": 4208, "loc": { "start": { "line": 136, - "column": 8 + "column": 15 }, "end": { - "line": 136, - "column": 32 + "line": 140, + "column": 21 } }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 4103, - "end": 4110, + "callee": { + "type": "MemberExpression", + "start": 4080, + "end": 4206, "loc": { "start": { - "line": 136, - "column": 8 - }, - "end": { "line": 136, "column": 15 }, - "identifierName": "current" - }, - "name": "current" - }, - "right": { - "type": "CallExpression", - "start": 4113, - "end": 4127, - "loc": { - "start": { - "line": 136, - "column": 18 - }, "end": { - "line": 136, - "column": 32 + "line": 140, + "column": 19 } }, - "callee": { - "type": "MemberExpression", - "start": 4113, - "end": 4125, + "object": { + "type": "NewExpression", + "start": 4080, + "end": 4196, "loc": { "start": { "line": 136, - "column": 18 + "column": 15 }, "end": { - "line": 136, - "column": 30 + "line": 140, + "column": 9 } }, - "object": { + "callee": { "type": "Identifier", - "start": 4113, - "end": 4120, + "start": 4084, + "end": 4098, "loc": { "start": { "line": 136, - "column": 18 + "column": 19 }, "end": { "line": 136, - "column": 25 + "column": 33 }, - "identifierName": "current" + "identifierName": "DistanceNumber" }, - "name": "current" + "name": "DistanceNumber" }, - "property": { - "type": "Identifier", - "start": 4121, - "end": 4125, - "loc": { - "start": { - "line": 136, - "column": 26 + "arguments": [ + { + "type": "ConditionalExpression", + "start": 4110, + "end": 4185, + "loc": { + "start": { + "line": 137, + "column": 10 + }, + "end": { + "line": 139, + "column": 19 + } }, - "end": { - "line": 136, - "column": 30 + "test": { + "type": "Identifier", + "start": 4110, + "end": 4121, + "loc": { + "start": { + "line": 137, + "column": 10 + }, + "end": { + "line": 137, + "column": 21 + }, + "identifierName": "foundOrigin" + }, + "name": "foundOrigin" }, - "identifierName": "next" - }, - "name": "next" - }, - "computed": false + "consequent": { + "type": "UnaryExpression", + "start": 4136, + "end": 4165, + "loc": { + "start": { + "line": 138, + "column": 14 + }, + "end": { + "line": 138, + "column": 43 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "BinaryExpression", + "start": 4138, + "end": 4164, + "loc": { + "start": { + "line": 138, + "column": 16 + }, + "end": { + "line": 138, + "column": 42 + } + }, + "left": { + "type": "BinaryExpression", + "start": 4138, + "end": 4156, + "loc": { + "start": { + "line": 138, + "column": 16 + }, + "end": { + "line": 138, + "column": 34 + } + }, + "left": { + "type": "NumericLiteral", + "start": 4138, + "end": 4143, + "loc": { + "start": { + "line": 138, + "column": 16 + }, + "end": { + "line": 138, + "column": 21 + } + }, + "extra": { + "rawValue": 18979, + "raw": "18979" + }, + "value": 18979 + }, + "operator": "-", + "right": { + "type": "Identifier", + "start": 4146, + "end": 4156, + "loc": { + "start": { + "line": 138, + "column": 24 + }, + "end": { + "line": 138, + "column": 34 + }, + "identifierName": "cycleCount" + }, + "name": "cycleCount" + } + }, + "operator": "-", + "right": { + "type": "Identifier", + "start": 4159, + "end": 4164, + "loc": { + "start": { + "line": 138, + "column": 37 + }, + "end": { + "line": 138, + "column": 42 + }, + "identifierName": "count" + }, + "name": "count" + }, + "extra": { + "parenthesized": true, + "parenStart": 4137 + } + }, + "extra": { + "parenthesizedArgument": false + } + }, + "alternate": { + "type": "Identifier", + "start": 4180, + "end": 4185, + "loc": { + "start": { + "line": 139, + "column": 14 + }, + "end": { + "line": 139, + "column": 19 + }, + "identifierName": "count" + }, + "name": "count" + } + } + ] + }, + "property": { + "type": "Identifier", + "start": 4197, + "end": 4206, + "loc": { + "start": { + "line": 140, + "column": 10 + }, + "end": { + "line": 140, + "column": 19 + }, + "identifierName": "normalise" + }, + "name": "normalise" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 4222, + "end": 4283, + "loc": { + "start": { + "line": 141, + "column": 13 + }, + "end": { + "line": 144, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4232, + "end": 4256, + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 32 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4232, + "end": 4256, + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 4232, + "end": 4239, + "loc": { + "start": { + "line": 142, + "column": 8 + }, + "end": { + "line": 142, + "column": 15 + }, + "identifierName": "current" + }, + "name": "current" + }, + "right": { + "type": "CallExpression", + "start": 4242, + "end": 4256, + "loc": { + "start": { + "line": 142, + "column": 18 + }, + "end": { + "line": 142, + "column": 32 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4242, + "end": 4254, + "loc": { + "start": { + "line": 142, + "column": 18 + }, + "end": { + "line": 142, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 4242, + "end": 4249, + "loc": { + "start": { + "line": 142, + "column": 18 + }, + "end": { + "line": 142, + "column": 25 + }, + "identifierName": "current" + }, + "name": "current" + }, + "property": { + "type": "Identifier", + "start": 4250, + "end": 4254, + "loc": { + "start": { + "line": 142, + "column": 26 + }, + "end": { + "line": 142, + "column": 30 + }, + "identifierName": "next" + }, + "name": "next" + }, + "computed": false }, "arguments": [] } @@ -6833,44 +7069,44 @@ }, { "type": "ExpressionStatement", - "start": 4137, - "end": 4148, + "start": 4265, + "end": 4275, "loc": { "start": { - "line": 137, + "line": 143, "column": 8 }, "end": { - "line": 137, - "column": 19 + "line": 143, + "column": 18 } }, "expression": { "type": "AssignmentExpression", - "start": 4137, - "end": 4147, + "start": 4265, + "end": 4275, "loc": { "start": { - "line": 137, + "line": 143, "column": 8 }, "end": { - "line": 137, + "line": 143, "column": 18 } }, "operator": "+=", "left": { "type": "Identifier", - "start": 4137, - "end": 4142, + "start": 4265, + "end": 4270, "loc": { "start": { - "line": 137, + "line": 143, "column": 8 }, "end": { - "line": 137, + "line": 143, "column": 13 }, "identifierName": "count" @@ -6879,15 +7115,15 @@ }, "right": { "type": "NumericLiteral", - "start": 4146, - "end": 4147, + "start": 4274, + "end": 4275, "loc": { "start": { - "line": 137, + "line": 143, "column": 17 }, "end": { - "line": 137, + "line": 143, "column": 18 } }, @@ -6907,15 +7143,15 @@ { "type": "CommentLine", "value": " eslint-disable-next-line no-use-before-define", - "start": 3880, - "end": 3928, + "start": 3832, + "end": 3880, "loc": { "start": { - "line": 130, + "line": 129, "column": 6 }, "end": { - "line": 130, + "line": 129, "column": 54 } } @@ -6934,15 +7170,15 @@ { "type": "CommentBlock", "value": "*\n * Return a long count date representing the difference between two dates.\n * @param {CalendarRound} targetCr\n * @return {LongCount}\n ", - "start": 3554, - "end": 3702, + "start": 3480, + "end": 3628, "loc": { "start": { - "line": 118, + "line": 116, "column": 2 }, "end": { - "line": 122, + "line": 120, "column": 5 } } @@ -6952,15 +7188,15 @@ { "type": "CommentBlock", "value": "*\n * Check that this Calendar Round matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return true.\n * @param {CalendarRound} newCr\n * @return {boolean}\n ", - "start": 4170, - "end": 4388, + "start": 4297, + "end": 4515, "loc": { "start": { - "line": 142, + "line": 148, "column": 2 }, "end": { - "line": 147, + "line": 153, "column": 5 } } @@ -6969,15 +7205,15 @@ }, { "type": "ClassMethod", - "start": 4391, - "end": 4566, + "start": 4518, + "end": 4691, "loc": { "start": { - "line": 148, + "line": 154, "column": 2 }, "end": { - "line": 152, + "line": 158, "column": 3 } }, @@ -6985,15 +7221,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4391, - "end": 4396, + "start": 4518, + "end": 4523, "loc": { "start": { - "line": 148, + "line": 154, "column": 2 }, "end": { - "line": 148, + "line": 154, "column": 7 }, "identifierName": "match" @@ -7009,16 +7245,16 @@ "params": [ { "type": "Identifier", - "start": 4397, - "end": 4402, + "start": 4525, + "end": 4530, "loc": { "start": { - "line": 148, - "column": 8 + "line": 154, + "column": 9 }, "end": { - "line": 148, - "column": 13 + "line": 154, + "column": 14 }, "identifierName": "newCr" }, @@ -7027,59 +7263,59 @@ ], "body": { "type": "BlockStatement", - "start": 4404, - "end": 4566, + "start": 4532, + "end": 4691, "loc": { "start": { - "line": 148, - "column": 15 + "line": 154, + "column": 16 }, "end": { - "line": 152, + "line": 158, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 4410, - "end": 4458, + "start": 4538, + "end": 4585, "loc": { "start": { - "line": 149, + "line": 155, "column": 4 }, "end": { - "line": 149, - "column": 52 + "line": 155, + "column": 51 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 4416, - "end": 4457, + "start": 4544, + "end": 4585, "loc": { "start": { - "line": 149, + "line": 155, "column": 10 }, "end": { - "line": 149, + "line": 155, "column": 51 } }, "id": { "type": "Identifier", - "start": 4416, - "end": 4427, + "start": 4544, + "end": 4555, "loc": { "start": { - "line": 149, + "line": 155, "column": 10 }, "end": { - "line": 149, + "line": 155, "column": 21 }, "identifierName": "haabMatches" @@ -7088,72 +7324,72 @@ }, "init": { "type": "CallExpression", - "start": 4430, - "end": 4457, + "start": 4558, + "end": 4585, "loc": { "start": { - "line": 149, + "line": 155, "column": 24 }, "end": { - "line": 149, + "line": 155, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 4430, - "end": 4445, + "start": 4558, + "end": 4573, "loc": { "start": { - "line": 149, + "line": 155, "column": 24 }, "end": { - "line": 149, + "line": 155, "column": 39 } }, "object": { "type": "MemberExpression", - "start": 4430, - "end": 4439, + "start": 4558, + "end": 4567, "loc": { "start": { - "line": 149, + "line": 155, "column": 24 }, "end": { - "line": 149, + "line": 155, "column": 33 } }, "object": { "type": "ThisExpression", - "start": 4430, - "end": 4434, + "start": 4558, + "end": 4562, "loc": { "start": { - "line": 149, + "line": 155, "column": 24 }, "end": { - "line": 149, + "line": 155, "column": 28 } } }, "property": { "type": "Identifier", - "start": 4435, - "end": 4439, + "start": 4563, + "end": 4567, "loc": { "start": { - "line": 149, + "line": 155, "column": 29 }, "end": { - "line": 149, + "line": 155, "column": 33 }, "identifierName": "haab" @@ -7164,15 +7400,15 @@ }, "property": { "type": "Identifier", - "start": 4440, - "end": 4445, + "start": 4568, + "end": 4573, "loc": { "start": { - "line": 149, + "line": 155, "column": 34 }, "end": { - "line": 149, + "line": 155, "column": 39 }, "identifierName": "match" @@ -7184,29 +7420,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 4446, - "end": 4456, + "start": 4574, + "end": 4584, "loc": { "start": { - "line": 149, + "line": 155, "column": 40 }, "end": { - "line": 149, + "line": 155, "column": 50 } }, "object": { "type": "Identifier", - "start": 4446, - "end": 4451, + "start": 4574, + "end": 4579, "loc": { "start": { - "line": 149, + "line": 155, "column": 40 }, "end": { - "line": 149, + "line": 155, "column": 45 }, "identifierName": "newCr" @@ -7215,15 +7451,15 @@ }, "property": { "type": "Identifier", - "start": 4452, - "end": 4456, + "start": 4580, + "end": 4584, "loc": { "start": { - "line": 149, + "line": 155, "column": 46 }, "end": { - "line": 149, + "line": 155, "column": 50 }, "identifierName": "haab" @@ -7240,44 +7476,44 @@ }, { "type": "VariableDeclaration", - "start": 4463, - "end": 4520, + "start": 4590, + "end": 4646, "loc": { "start": { - "line": 150, + "line": 156, "column": 4 }, "end": { - "line": 150, - "column": 61 + "line": 156, + "column": 60 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 4469, - "end": 4519, + "start": 4596, + "end": 4646, "loc": { "start": { - "line": 150, + "line": 156, "column": 10 }, "end": { - "line": 150, + "line": 156, "column": 60 } }, "id": { "type": "Identifier", - "start": 4469, - "end": 4483, + "start": 4596, + "end": 4610, "loc": { "start": { - "line": 150, + "line": 156, "column": 10 }, "end": { - "line": 150, + "line": 156, "column": 24 }, "identifierName": "tzolkinMatches" @@ -7286,72 +7522,72 @@ }, "init": { "type": "CallExpression", - "start": 4486, - "end": 4519, + "start": 4613, + "end": 4646, "loc": { "start": { - "line": 150, + "line": 156, "column": 27 }, "end": { - "line": 150, + "line": 156, "column": 60 } }, "callee": { "type": "MemberExpression", - "start": 4486, - "end": 4504, + "start": 4613, + "end": 4631, "loc": { "start": { - "line": 150, + "line": 156, "column": 27 }, "end": { - "line": 150, + "line": 156, "column": 45 } }, "object": { "type": "MemberExpression", - "start": 4486, - "end": 4498, + "start": 4613, + "end": 4625, "loc": { "start": { - "line": 150, + "line": 156, "column": 27 }, "end": { - "line": 150, + "line": 156, "column": 39 } }, "object": { "type": "ThisExpression", - "start": 4486, - "end": 4490, + "start": 4613, + "end": 4617, "loc": { "start": { - "line": 150, + "line": 156, "column": 27 }, "end": { - "line": 150, + "line": 156, "column": 31 } } }, "property": { "type": "Identifier", - "start": 4491, - "end": 4498, + "start": 4618, + "end": 4625, "loc": { "start": { - "line": 150, + "line": 156, "column": 32 }, "end": { - "line": 150, + "line": 156, "column": 39 }, "identifierName": "tzolkin" @@ -7362,15 +7598,15 @@ }, "property": { "type": "Identifier", - "start": 4499, - "end": 4504, + "start": 4626, + "end": 4631, "loc": { "start": { - "line": 150, + "line": 156, "column": 40 }, "end": { - "line": 150, + "line": 156, "column": 45 }, "identifierName": "match" @@ -7382,29 +7618,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 4505, - "end": 4518, + "start": 4632, + "end": 4645, "loc": { "start": { - "line": 150, + "line": 156, "column": 46 }, "end": { - "line": 150, + "line": 156, "column": 59 } }, "object": { "type": "Identifier", - "start": 4505, - "end": 4510, + "start": 4632, + "end": 4637, "loc": { "start": { - "line": 150, + "line": 156, "column": 46 }, "end": { - "line": 150, + "line": 156, "column": 51 }, "identifierName": "newCr" @@ -7413,15 +7649,15 @@ }, "property": { "type": "Identifier", - "start": 4511, - "end": 4518, + "start": 4638, + "end": 4645, "loc": { "start": { - "line": 150, + "line": 156, "column": 52 }, "end": { - "line": 150, + "line": 156, "column": 59 }, "identifierName": "tzolkin" @@ -7438,43 +7674,43 @@ }, { "type": "ReturnStatement", - "start": 4525, - "end": 4562, + "start": 4651, + "end": 4687, "loc": { "start": { - "line": 151, + "line": 157, "column": 4 }, "end": { - "line": 151, - "column": 41 + "line": 157, + "column": 40 } }, "argument": { "type": "LogicalExpression", - "start": 4532, - "end": 4561, + "start": 4658, + "end": 4687, "loc": { "start": { - "line": 151, + "line": 157, "column": 11 }, "end": { - "line": 151, + "line": 157, "column": 40 } }, "left": { "type": "Identifier", - "start": 4532, - "end": 4543, + "start": 4658, + "end": 4669, "loc": { "start": { - "line": 151, + "line": 157, "column": 11 }, "end": { - "line": 151, + "line": 157, "column": 22 }, "identifierName": "haabMatches" @@ -7484,15 +7720,15 @@ "operator": "&&", "right": { "type": "Identifier", - "start": 4547, - "end": 4561, + "start": 4673, + "end": 4687, "loc": { "start": { - "line": 151, + "line": 157, "column": 26 }, "end": { - "line": 151, + "line": 157, "column": 40 }, "identifierName": "tzolkinMatches" @@ -7509,15 +7745,15 @@ { "type": "CommentBlock", "value": "*\n * Check that this Calendar Round matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return true.\n * @param {CalendarRound} newCr\n * @return {boolean}\n ", - "start": 4170, - "end": 4388, + "start": 4297, + "end": 4515, "loc": { "start": { - "line": 142, + "line": 148, "column": 2 }, "end": { - "line": 147, + "line": 153, "column": 5 } } @@ -7527,15 +7763,15 @@ { "type": "CommentBlock", "value": "*\n * Shift a CalendarRound forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment\n * @return {CalendarRound}\n ", - "start": 4570, - "end": 4751, + "start": 4695, + "end": 4876, "loc": { "start": { - "line": 154, + "line": 160, "column": 2 }, "end": { - "line": 159, + "line": 165, "column": 5 } } @@ -7544,15 +7780,15 @@ }, { "type": "ClassMethod", - "start": 4754, - "end": 5054, + "start": 4879, + "end": 5178, "loc": { "start": { - "line": 160, + "line": 166, "column": 2 }, "end": { - "line": 170, + "line": 176, "column": 3 } }, @@ -7560,15 +7796,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4754, - "end": 4759, + "start": 4879, + "end": 4884, "loc": { "start": { - "line": 160, + "line": 166, "column": 2 }, "end": { - "line": 160, + "line": 166, "column": 7 }, "identifierName": "shift" @@ -7584,16 +7820,16 @@ "params": [ { "type": "Identifier", - "start": 4760, - "end": 4769, + "start": 4886, + "end": 4895, "loc": { "start": { - "line": 160, - "column": 8 + "line": 166, + "column": 9 }, "end": { - "line": 160, - "column": 17 + "line": 166, + "column": 18 }, "identifierName": "increment" }, @@ -7602,59 +7838,59 @@ ], "body": { "type": "BlockStatement", - "start": 4771, - "end": 5054, + "start": 4897, + "end": 5178, "loc": { "start": { - "line": 160, - "column": 19 + "line": 166, + "column": 20 }, "end": { - "line": 170, + "line": 176, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 4777, - "end": 4820, + "start": 4903, + "end": 4945, "loc": { "start": { - "line": 161, + "line": 167, "column": 4 }, "end": { - "line": 161, - "column": 47 + "line": 167, + "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 4783, - "end": 4819, + "start": 4909, + "end": 4945, "loc": { "start": { - "line": 161, + "line": 167, "column": 10 }, "end": { - "line": 161, + "line": 167, "column": 46 } }, "id": { "type": "Identifier", - "start": 4783, - "end": 4790, + "start": 4909, + "end": 4916, "loc": { "start": { - "line": 161, + "line": 167, "column": 10 }, "end": { - "line": 161, + "line": 167, "column": 17 }, "identifierName": "newHaab" @@ -7663,72 +7899,72 @@ }, "init": { "type": "CallExpression", - "start": 4793, - "end": 4819, + "start": 4919, + "end": 4945, "loc": { "start": { - "line": 161, + "line": 167, "column": 20 }, "end": { - "line": 161, + "line": 167, "column": 46 } }, "callee": { "type": "MemberExpression", - "start": 4793, - "end": 4808, + "start": 4919, + "end": 4934, "loc": { "start": { - "line": 161, + "line": 167, "column": 20 }, "end": { - "line": 161, + "line": 167, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 4793, - "end": 4802, + "start": 4919, + "end": 4928, "loc": { "start": { - "line": 161, + "line": 167, "column": 20 }, "end": { - "line": 161, + "line": 167, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 4793, - "end": 4797, + "start": 4919, + "end": 4923, "loc": { "start": { - "line": 161, + "line": 167, "column": 20 }, "end": { - "line": 161, + "line": 167, "column": 24 } } }, "property": { "type": "Identifier", - "start": 4798, - "end": 4802, + "start": 4924, + "end": 4928, "loc": { "start": { - "line": 161, + "line": 167, "column": 25 }, "end": { - "line": 161, + "line": 167, "column": 29 }, "identifierName": "haab" @@ -7739,15 +7975,15 @@ }, "property": { "type": "Identifier", - "start": 4803, - "end": 4808, + "start": 4929, + "end": 4934, "loc": { "start": { - "line": 161, + "line": 167, "column": 30 }, "end": { - "line": 161, + "line": 167, "column": 35 }, "identifierName": "shift" @@ -7759,15 +7995,15 @@ "arguments": [ { "type": "Identifier", - "start": 4809, - "end": 4818, + "start": 4935, + "end": 4944, "loc": { "start": { - "line": 161, + "line": 167, "column": 36 }, "end": { - "line": 161, + "line": 167, "column": 45 }, "identifierName": "increment" @@ -7782,44 +8018,44 @@ }, { "type": "VariableDeclaration", - "start": 4825, - "end": 4874, + "start": 4950, + "end": 4998, "loc": { "start": { - "line": 162, + "line": 168, "column": 4 }, "end": { - "line": 162, - "column": 53 + "line": 168, + "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 4831, - "end": 4873, + "start": 4956, + "end": 4998, "loc": { "start": { - "line": 162, + "line": 168, "column": 10 }, "end": { - "line": 162, + "line": 168, "column": 52 } }, "id": { "type": "Identifier", - "start": 4831, - "end": 4841, + "start": 4956, + "end": 4966, "loc": { "start": { - "line": 162, + "line": 168, "column": 10 }, "end": { - "line": 162, + "line": 168, "column": 20 }, "identifierName": "newTzolkin" @@ -7828,72 +8064,72 @@ }, "init": { "type": "CallExpression", - "start": 4844, - "end": 4873, + "start": 4969, + "end": 4998, "loc": { "start": { - "line": 162, + "line": 168, "column": 23 }, "end": { - "line": 162, + "line": 168, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 4844, - "end": 4862, + "start": 4969, + "end": 4987, "loc": { "start": { - "line": 162, + "line": 168, "column": 23 }, "end": { - "line": 162, + "line": 168, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 4844, - "end": 4856, + "start": 4969, + "end": 4981, "loc": { "start": { - "line": 162, + "line": 168, "column": 23 }, "end": { - "line": 162, + "line": 168, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 4844, - "end": 4848, + "start": 4969, + "end": 4973, "loc": { "start": { - "line": 162, + "line": 168, "column": 23 }, "end": { - "line": 162, + "line": 168, "column": 27 } } }, "property": { "type": "Identifier", - "start": 4849, - "end": 4856, + "start": 4974, + "end": 4981, "loc": { "start": { - "line": 162, + "line": 168, "column": 28 }, "end": { - "line": 162, + "line": 168, "column": 35 }, "identifierName": "tzolkin" @@ -7904,15 +8140,15 @@ }, "property": { "type": "Identifier", - "start": 4857, - "end": 4862, + "start": 4982, + "end": 4987, "loc": { "start": { - "line": 162, + "line": 168, "column": 36 }, "end": { - "line": 162, + "line": 168, "column": 41 }, "identifierName": "shift" @@ -7924,23 +8160,25 @@ "arguments": [ { "type": "Identifier", - "start": 4863, - "end": 4872, + "start": 4988, + "end": 4997, "loc": { "start": { - "line": 162, + "line": 168, "column": 42 }, "end": { - "line": 162, + "line": 168, "column": 51 }, "identifierName": "increment" }, "name": "increment" } - ] - } + ], + "trailingComments": null + }, + "trailingComments": null } ], "kind": "const", @@ -7948,15 +8186,15 @@ { "type": "CommentLine", "value": " eslint-disable-next-line no-use-before-define", - "start": 4879, - "end": 4927, + "start": 5003, + "end": 5051, "loc": { "start": { - "line": 163, + "line": 169, "column": 4 }, "end": { - "line": 163, + "line": 169, "column": 52 } } @@ -7965,43 +8203,43 @@ }, { "type": "ReturnStatement", - "start": 4932, - "end": 5050, + "start": 5056, + "end": 5174, "loc": { "start": { - "line": 164, + "line": 170, "column": 4 }, "end": { - "line": 169, - "column": 6 + "line": 175, + "column": 5 } }, "argument": { "type": "CallExpression", - "start": 4939, - "end": 5049, + "start": 5063, + "end": 5174, "loc": { "start": { - "line": 164, + "line": 170, "column": 11 }, "end": { - "line": 169, + "line": 175, "column": 5 } }, "callee": { "type": "Identifier", - "start": 4939, - "end": 4955, + "start": 5063, + "end": 5079, "loc": { "start": { - "line": 164, + "line": 170, "column": 11 }, "end": { - "line": 164, + "line": 170, "column": 27 }, "identifierName": "getCalendarRound" @@ -8012,29 +8250,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 4963, - "end": 4979, + "start": 5087, + "end": 5103, "loc": { "start": { - "line": 165, + "line": 171, "column": 6 }, "end": { - "line": 165, + "line": 171, "column": 22 } }, "object": { "type": "Identifier", - "start": 4963, - "end": 4973, + "start": 5087, + "end": 5097, "loc": { "start": { - "line": 165, + "line": 171, "column": 6 }, "end": { - "line": 165, + "line": 171, "column": 16 }, "identifierName": "newTzolkin" @@ -8043,15 +8281,15 @@ }, "property": { "type": "Identifier", - "start": 4974, - "end": 4979, + "start": 5098, + "end": 5103, "loc": { "start": { - "line": 165, + "line": 171, "column": 17 }, "end": { - "line": 165, + "line": 171, "column": 22 }, "identifierName": "coeff" @@ -8062,29 +8300,29 @@ }, { "type": "MemberExpression", - "start": 4987, - "end": 5001, + "start": 5111, + "end": 5125, "loc": { "start": { - "line": 166, + "line": 172, "column": 6 }, "end": { - "line": 166, + "line": 172, "column": 20 } }, "object": { "type": "Identifier", - "start": 4987, - "end": 4997, + "start": 5111, + "end": 5121, "loc": { "start": { - "line": 166, + "line": 172, "column": 6 }, "end": { - "line": 166, + "line": 172, "column": 16 }, "identifierName": "newTzolkin" @@ -8093,15 +8331,15 @@ }, "property": { "type": "Identifier", - "start": 4998, - "end": 5001, + "start": 5122, + "end": 5125, "loc": { "start": { - "line": 166, + "line": 172, "column": 17 }, "end": { - "line": 166, + "line": 172, "column": 20 }, "identifierName": "day" @@ -8112,29 +8350,29 @@ }, { "type": "MemberExpression", - "start": 5009, - "end": 5022, + "start": 5133, + "end": 5146, "loc": { "start": { - "line": 167, + "line": 173, "column": 6 }, "end": { - "line": 167, + "line": 173, "column": 19 } }, "object": { "type": "Identifier", - "start": 5009, - "end": 5016, + "start": 5133, + "end": 5140, "loc": { "start": { - "line": 167, + "line": 173, "column": 6 }, "end": { - "line": 167, + "line": 173, "column": 13 }, "identifierName": "newHaab" @@ -8143,15 +8381,15 @@ }, "property": { "type": "Identifier", - "start": 5017, - "end": 5022, + "start": 5141, + "end": 5146, "loc": { "start": { - "line": 167, + "line": 173, "column": 14 }, "end": { - "line": 167, + "line": 173, "column": 19 }, "identifierName": "coeff" @@ -8162,29 +8400,29 @@ }, { "type": "MemberExpression", - "start": 5030, - "end": 5043, + "start": 5154, + "end": 5167, "loc": { "start": { - "line": 168, + "line": 174, "column": 6 }, "end": { - "line": 168, + "line": 174, "column": 19 } }, "object": { "type": "Identifier", - "start": 5030, - "end": 5037, + "start": 5154, + "end": 5161, "loc": { "start": { - "line": 168, + "line": 174, "column": 6 }, "end": { - "line": 168, + "line": 174, "column": 13 }, "identifierName": "newHaab" @@ -8193,15 +8431,15 @@ }, "property": { "type": "Identifier", - "start": 5038, - "end": 5043, + "start": 5162, + "end": 5167, "loc": { "start": { - "line": 168, + "line": 174, "column": 14 }, "end": { - "line": 168, + "line": 174, "column": 19 }, "identifierName": "month" @@ -8217,15 +8455,15 @@ { "type": "CommentLine", "value": " eslint-disable-next-line no-use-before-define", - "start": 4879, - "end": 4927, + "start": 5003, + "end": 5051, "loc": { "start": { - "line": 163, + "line": 169, "column": 4 }, "end": { - "line": 163, + "line": 169, "column": 52 } } @@ -8240,15 +8478,15 @@ { "type": "CommentBlock", "value": "*\n * Shift a CalendarRound forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment\n * @return {CalendarRound}\n ", - "start": 4570, - "end": 4751, + "start": 4695, + "end": 4876, "loc": { "start": { - "line": 154, + "line": 160, "column": 2 }, "end": { - "line": 159, + "line": 165, "column": 5 } } @@ -8258,15 +8496,15 @@ { "type": "CommentBlock", "value": "*\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n ", - "start": 5058, - "end": 5152, + "start": 5182, + "end": 5276, "loc": { "start": { - "line": 172, + "line": 178, "column": 2 }, "end": { - "line": 175, + "line": 181, "column": 5 } } @@ -8275,15 +8513,15 @@ }, { "type": "ClassMethod", - "start": 5155, - "end": 5339, + "start": 5279, + "end": 5463, "loc": { "start": { - "line": 176, + "line": 182, "column": 2 }, "end": { - "line": 181, + "line": 187, "column": 3 } }, @@ -8291,15 +8529,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5155, - "end": 5164, + "start": 5279, + "end": 5288, "loc": { "start": { - "line": 176, + "line": 182, "column": 2 }, "end": { - "line": 176, + "line": 182, "column": 11 }, "identifierName": "isPartial" @@ -8315,143 +8553,143 @@ "params": [], "body": { "type": "BlockStatement", - "start": 5167, - "end": 5339, + "start": 5292, + "end": 5463, "loc": { "start": { - "line": 176, - "column": 14 + "line": 182, + "column": 15 }, "end": { - "line": 181, + "line": 187, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 5173, - "end": 5335, + "start": 5298, + "end": 5459, "loc": { "start": { - "line": 177, + "line": 183, "column": 4 }, "end": { - "line": 180, - "column": 40 + "line": 186, + "column": 39 } }, "argument": { "type": "LogicalExpression", - "start": 5180, - "end": 5334, + "start": 5305, + "end": 5459, "loc": { "start": { - "line": 177, + "line": 183, "column": 11 }, "end": { - "line": 180, + "line": 186, "column": 39 } }, "left": { "type": "LogicalExpression", - "start": 5180, - "end": 5294, + "start": 5305, + "end": 5419, "loc": { "start": { - "line": 177, + "line": 183, "column": 11 }, "end": { - "line": 179, + "line": 185, "column": 39 } }, "left": { "type": "LogicalExpression", - "start": 5180, - "end": 5254, + "start": 5305, + "end": 5379, "loc": { "start": { - "line": 177, + "line": 183, "column": 11 }, "end": { - "line": 178, + "line": 184, "column": 42 } }, "left": { "type": "BinaryExpression", - "start": 5181, - "end": 5210, + "start": 5306, + "end": 5335, "loc": { "start": { - "line": 177, + "line": 183, "column": 12 }, "end": { - "line": 177, + "line": 183, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 5181, - "end": 5197, + "start": 5306, + "end": 5322, "loc": { "start": { - "line": 177, + "line": 183, "column": 12 }, "end": { - "line": 177, + "line": 183, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 5181, - "end": 5193, + "start": 5306, + "end": 5318, "loc": { "start": { - "line": 177, + "line": 183, "column": 12 }, "end": { - "line": 177, + "line": 183, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 5181, - "end": 5185, + "start": 5306, + "end": 5310, "loc": { "start": { - "line": 177, + "line": 183, "column": 12 }, "end": { - "line": 177, + "line": 183, "column": 16 } } }, "property": { "type": "Identifier", - "start": 5186, - "end": 5193, + "start": 5311, + "end": 5318, "loc": { "start": { - "line": 177, + "line": 183, "column": 17 }, "end": { - "line": 177, + "line": 183, "column": 24 }, "identifierName": "tzolkin" @@ -8462,15 +8700,15 @@ }, "property": { "type": "Identifier", - "start": 5194, - "end": 5197, + "start": 5319, + "end": 5322, "loc": { "start": { - "line": 177, + "line": 183, "column": 25 }, "end": { - "line": 177, + "line": 183, "column": 28 }, "identifierName": "day" @@ -8482,15 +8720,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 5202, - "end": 5210, + "start": 5327, + "end": 5335, "loc": { "start": { - "line": 177, + "line": 183, "column": 33 }, "end": { - "line": 177, + "line": 183, "column": 41 }, "identifierName": "wildcard" @@ -8499,78 +8737,78 @@ }, "extra": { "parenthesized": true, - "parenStart": 5180 + "parenStart": 5305 } }, "operator": "||", "right": { "type": "BinaryExpression", - "start": 5222, - "end": 5253, + "start": 5347, + "end": 5378, "loc": { "start": { - "line": 178, + "line": 184, "column": 10 }, "end": { - "line": 178, + "line": 184, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 5222, - "end": 5240, + "start": 5347, + "end": 5365, "loc": { "start": { - "line": 178, + "line": 184, "column": 10 }, "end": { - "line": 178, + "line": 184, "column": 28 } }, "object": { "type": "MemberExpression", - "start": 5222, - "end": 5234, + "start": 5347, + "end": 5359, "loc": { "start": { - "line": 178, + "line": 184, "column": 10 }, "end": { - "line": 178, + "line": 184, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 5222, - "end": 5226, + "start": 5347, + "end": 5351, "loc": { "start": { - "line": 178, + "line": 184, "column": 10 }, "end": { - "line": 178, + "line": 184, "column": 14 } } }, "property": { "type": "Identifier", - "start": 5227, - "end": 5234, + "start": 5352, + "end": 5359, "loc": { "start": { - "line": 178, + "line": 184, "column": 15 }, "end": { - "line": 178, + "line": 184, "column": 22 }, "identifierName": "tzolkin" @@ -8581,15 +8819,15 @@ }, "property": { "type": "Identifier", - "start": 5235, - "end": 5240, + "start": 5360, + "end": 5365, "loc": { "start": { - "line": 178, + "line": 184, "column": 23 }, "end": { - "line": 178, + "line": 184, "column": 28 }, "identifierName": "coeff" @@ -8601,15 +8839,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 5245, - "end": 5253, + "start": 5370, + "end": 5378, "loc": { "start": { - "line": 178, + "line": 184, "column": 33 }, "end": { - "line": 178, + "line": 184, "column": 41 }, "identifierName": "wildcard" @@ -8618,79 +8856,79 @@ }, "extra": { "parenthesized": true, - "parenStart": 5221 + "parenStart": 5346 } } }, "operator": "||", "right": { "type": "BinaryExpression", - "start": 5265, - "end": 5293, + "start": 5390, + "end": 5418, "loc": { "start": { - "line": 179, + "line": 185, "column": 10 }, "end": { - "line": 179, + "line": 185, "column": 38 } }, "left": { "type": "MemberExpression", - "start": 5265, - "end": 5280, + "start": 5390, + "end": 5405, "loc": { "start": { - "line": 179, + "line": 185, "column": 10 }, "end": { - "line": 179, + "line": 185, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 5265, - "end": 5274, + "start": 5390, + "end": 5399, "loc": { "start": { - "line": 179, + "line": 185, "column": 10 }, "end": { - "line": 179, + "line": 185, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 5265, - "end": 5269, + "start": 5390, + "end": 5394, "loc": { "start": { - "line": 179, + "line": 185, "column": 10 }, "end": { - "line": 179, + "line": 185, "column": 14 } } }, "property": { "type": "Identifier", - "start": 5270, - "end": 5274, + "start": 5395, + "end": 5399, "loc": { "start": { - "line": 179, + "line": 185, "column": 15 }, "end": { - "line": 179, + "line": 185, "column": 19 }, "identifierName": "haab" @@ -8701,15 +8939,15 @@ }, "property": { "type": "Identifier", - "start": 5275, - "end": 5280, + "start": 5400, + "end": 5405, "loc": { "start": { - "line": 179, + "line": 185, "column": 20 }, "end": { - "line": 179, + "line": 185, "column": 25 }, "identifierName": "month" @@ -8721,15 +8959,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 5285, - "end": 5293, + "start": 5410, + "end": 5418, "loc": { "start": { - "line": 179, + "line": 185, "column": 30 }, "end": { - "line": 179, + "line": 185, "column": 38 }, "identifierName": "wildcard" @@ -8738,79 +8976,79 @@ }, "extra": { "parenthesized": true, - "parenStart": 5264 + "parenStart": 5389 } } }, "operator": "||", "right": { "type": "BinaryExpression", - "start": 5305, - "end": 5333, + "start": 5430, + "end": 5458, "loc": { "start": { - "line": 180, + "line": 186, "column": 10 }, "end": { - "line": 180, + "line": 186, "column": 38 } }, "left": { "type": "MemberExpression", - "start": 5305, - "end": 5320, + "start": 5430, + "end": 5445, "loc": { "start": { - "line": 180, + "line": 186, "column": 10 }, "end": { - "line": 180, + "line": 186, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 5305, - "end": 5314, + "start": 5430, + "end": 5439, "loc": { "start": { - "line": 180, + "line": 186, "column": 10 }, "end": { - "line": 180, + "line": 186, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 5305, - "end": 5309, + "start": 5430, + "end": 5434, "loc": { "start": { - "line": 180, + "line": 186, "column": 10 }, "end": { - "line": 180, + "line": 186, "column": 14 } } }, "property": { "type": "Identifier", - "start": 5310, - "end": 5314, + "start": 5435, + "end": 5439, "loc": { "start": { - "line": 180, + "line": 186, "column": 15 }, "end": { - "line": 180, + "line": 186, "column": 19 }, "identifierName": "haab" @@ -8821,15 +9059,15 @@ }, "property": { "type": "Identifier", - "start": 5315, - "end": 5320, + "start": 5440, + "end": 5445, "loc": { "start": { - "line": 180, + "line": 186, "column": 20 }, "end": { - "line": 180, + "line": 186, "column": 25 }, "identifierName": "coeff" @@ -8841,15 +9079,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 5325, - "end": 5333, + "start": 5450, + "end": 5458, "loc": { "start": { - "line": 180, + "line": 186, "column": 30 }, "end": { - "line": 180, + "line": 186, "column": 38 }, "identifierName": "wildcard" @@ -8858,7 +9096,7 @@ }, "extra": { "parenthesized": true, - "parenStart": 5304 + "parenStart": 5429 } } } @@ -8871,15 +9109,15 @@ { "type": "CommentBlock", "value": "*\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n ", - "start": 5058, - "end": 5152, + "start": 5182, + "end": 5276, "loc": { "start": { - "line": 172, + "line": 178, "column": 2 }, "end": { - "line": 175, + "line": 181, "column": 5 } } @@ -8889,15 +9127,15 @@ { "type": "CommentBlock", "value": "*\n * Render the CalendarRound cycle fullDate as a string\n * @returns {string}\n ", - "start": 5343, - "end": 5432, + "start": 5467, + "end": 5556, "loc": { "start": { - "line": 183, + "line": 189, "column": 2 }, "end": { - "line": 186, + "line": 192, "column": 5 } } @@ -8906,15 +9144,15 @@ }, { "type": "ClassMethod", - "start": 5435, - "end": 5494, + "start": 5559, + "end": 5618, "loc": { "start": { - "line": 187, + "line": 193, "column": 2 }, "end": { - "line": 189, + "line": 195, "column": 3 } }, @@ -8922,15 +9160,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5435, - "end": 5443, + "start": 5559, + "end": 5567, "loc": { "start": { - "line": 187, + "line": 193, "column": 2 }, "end": { - "line": 187, + "line": 193, "column": 10 }, "identifierName": "toString" @@ -8946,88 +9184,88 @@ "params": [], "body": { "type": "BlockStatement", - "start": 5446, - "end": 5494, + "start": 5571, + "end": 5618, "loc": { "start": { - "line": 187, - "column": 13 + "line": 193, + "column": 14 }, "end": { - "line": 189, + "line": 195, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 5452, - "end": 5490, + "start": 5577, + "end": 5614, "loc": { "start": { - "line": 188, + "line": 194, "column": 4 }, "end": { - "line": 188, - "column": 42 + "line": 194, + "column": 41 } }, "argument": { "type": "TemplateLiteral", - "start": 5459, - "end": 5489, + "start": 5584, + "end": 5614, "loc": { "start": { - "line": 188, + "line": 194, "column": 11 }, "end": { - "line": 188, + "line": 194, "column": 41 } }, "expressions": [ { "type": "MemberExpression", - "start": 5462, - "end": 5474, + "start": 5587, + "end": 5599, "loc": { "start": { - "line": 188, + "line": 194, "column": 14 }, "end": { - "line": 188, + "line": 194, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 5462, - "end": 5466, + "start": 5587, + "end": 5591, "loc": { "start": { - "line": 188, + "line": 194, "column": 14 }, "end": { - "line": 188, + "line": 194, "column": 18 } } }, "property": { "type": "Identifier", - "start": 5467, - "end": 5474, + "start": 5592, + "end": 5599, "loc": { "start": { - "line": 188, + "line": 194, "column": 19 }, "end": { - "line": 188, + "line": 194, "column": 26 }, "identifierName": "tzolkin" @@ -9038,44 +9276,44 @@ }, { "type": "MemberExpression", - "start": 5478, - "end": 5487, + "start": 5603, + "end": 5612, "loc": { "start": { - "line": 188, + "line": 194, "column": 30 }, "end": { - "line": 188, + "line": 194, "column": 39 } }, "object": { "type": "ThisExpression", - "start": 5478, - "end": 5482, + "start": 5603, + "end": 5607, "loc": { "start": { - "line": 188, + "line": 194, "column": 30 }, "end": { - "line": 188, + "line": 194, "column": 34 } } }, "property": { "type": "Identifier", - "start": 5483, - "end": 5487, + "start": 5608, + "end": 5612, "loc": { "start": { - "line": 188, + "line": 194, "column": 35 }, "end": { - "line": 188, + "line": 194, "column": 39 }, "identifierName": "haab" @@ -9088,15 +9326,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 5460, - "end": 5460, + "start": 5585, + "end": 5585, "loc": { "start": { - "line": 188, + "line": 194, "column": 12 }, "end": { - "line": 188, + "line": 194, "column": 12 } }, @@ -9108,15 +9346,15 @@ }, { "type": "TemplateElement", - "start": 5475, - "end": 5476, + "start": 5600, + "end": 5601, "loc": { "start": { - "line": 188, + "line": 194, "column": 27 }, "end": { - "line": 188, + "line": 194, "column": 28 } }, @@ -9128,15 +9366,15 @@ }, { "type": "TemplateElement", - "start": 5488, - "end": 5488, + "start": 5613, + "end": 5613, "loc": { "start": { - "line": 188, + "line": 194, "column": 40 }, "end": { - "line": 188, + "line": 194, "column": 40 } }, @@ -9156,15 +9394,15 @@ { "type": "CommentBlock", "value": "*\n * Render the CalendarRound cycle fullDate as a string\n * @returns {string}\n ", - "start": 5343, - "end": 5432, + "start": 5467, + "end": 5556, "loc": { "start": { - "line": 183, + "line": 189, "column": 2 }, "end": { - "line": 186, + "line": 192, "column": 5 } } @@ -9178,15 +9416,15 @@ { "type": "CommentBlock", "value": "*\n * A combination of 260-day cycles and the Haab cycle. This class should not\n * be instantiated directly, and should be accessed through getCalendarRound.\n * @see {getCalendarRound}\n * @example\n * let cr = new CalendarRound(4, \"Ajaw\", 8, \"Kumk'u\");\n ", - "start": 869, - "end": 1126, + "start": 783, + "end": 1040, "loc": { "start": { - "line": 31, + "line": 27, "column": 0 }, "end": { - "line": 37, + "line": 33, "column": 3 } } @@ -9196,15 +9434,15 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 5498, - "end": 5512, + "start": 5622, + "end": 5636, "loc": { "start": { - "line": 192, + "line": 198, "column": 0 }, "end": { - "line": 192, + "line": 198, "column": 14 } } @@ -9213,44 +9451,44 @@ }, { "type": "VariableDeclaration", - "start": 5513, - "end": 5576, + "start": 5637, + "end": 5700, "loc": { "start": { - "line": 193, + "line": 199, "column": 0 }, "end": { - "line": 196, - "column": 2 + "line": 202, + "column": 1 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5519, - "end": 5575, + "start": 5643, + "end": 5700, "loc": { "start": { - "line": 193, + "line": 199, "column": 6 }, "end": { - "line": 196, + "line": 202, "column": 1 } }, "id": { "type": "Identifier", - "start": 5519, - "end": 5525, + "start": 5643, + "end": 5649, "loc": { "start": { - "line": 193, + "line": 199, "column": 6 }, "end": { - "line": 193, + "line": 199, "column": 12 }, "identifierName": "origin" @@ -9260,29 +9498,29 @@ }, "init": { "type": "CallExpression", - "start": 5528, - "end": 5575, + "start": 5652, + "end": 5700, "loc": { "start": { - "line": 193, + "line": 199, "column": 15 }, "end": { - "line": 196, + "line": 202, "column": 1 } }, "callee": { "type": "Identifier", - "start": 5528, - "end": 5544, + "start": 5652, + "end": 5668, "loc": { "start": { - "line": 193, + "line": 199, "column": 15 }, "end": { - "line": 193, + "line": 199, "column": 31 }, "identifierName": "getCalendarRound" @@ -9292,15 +9530,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 5548, - "end": 5549, + "start": 5672, + "end": 5673, "loc": { "start": { - "line": 194, + "line": 200, "column": 2 }, "end": { - "line": 194, + "line": 200, "column": 3 } }, @@ -9312,15 +9550,15 @@ }, { "type": "StringLiteral", - "start": 5551, - "end": 5557, + "start": 5675, + "end": 5681, "loc": { "start": { - "line": 194, + "line": 200, "column": 5 }, "end": { - "line": 194, + "line": 200, "column": 11 } }, @@ -9332,15 +9570,15 @@ }, { "type": "NumericLiteral", - "start": 5561, - "end": 5562, + "start": 5685, + "end": 5686, "loc": { "start": { - "line": 195, + "line": 201, "column": 2 }, "end": { - "line": 195, + "line": 201, "column": 3 } }, @@ -9352,15 +9590,15 @@ }, { "type": "StringLiteral", - "start": 5564, - "end": 5573, + "start": 5688, + "end": 5697, "loc": { "start": { - "line": 195, + "line": 201, "column": 5 }, "end": { - "line": 195, + "line": 201, "column": 14 } }, @@ -9380,15 +9618,15 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 5498, - "end": 5512, + "start": 5622, + "end": 5636, "loc": { "start": { - "line": 192, + "line": 198, "column": 0 }, "end": { - "line": 192, + "line": 198, "column": 14 } } @@ -9396,964 +9634,463 @@ ] }, { - "type": "ExpressionStatement", - "start": 5579, - "end": 5623, + "type": "ExportDefaultDeclaration", + "start": 5702, + "end": 5750, "loc": { "start": { - "line": 199, + "line": 204, "column": 0 }, "end": { - "line": 199, - "column": 44 + "line": 207, + "column": 2 } }, - "expression": { - "type": "AssignmentExpression", - "start": 5579, - "end": 5622, + "declaration": { + "type": "ObjectExpression", + "start": 5717, + "end": 5749, "loc": { "start": { - "line": 199, - "column": 0 + "line": 204, + "column": 15 }, "end": { - "line": 199, - "column": 43 + "line": 207, + "column": 1 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 5579, - "end": 5593, - "loc": { - "start": { - "line": 199, - "column": 0 - }, - "end": { - "line": 199, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 5579, - "end": 5585, - "loc": { - "start": { - "line": 199, - "column": 0 - }, - "end": { - "line": 199, - "column": 6 - }, - "identifierName": "module" - }, - "name": "module" - }, - "property": { - "type": "Identifier", - "start": 5586, - "end": 5593, + "properties": [ + { + "type": "ObjectProperty", + "start": 5721, + "end": 5737, "loc": { "start": { - "line": 199, - "column": 7 + "line": 205, + "column": 2 }, "end": { - "line": 199, - "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "ObjectExpression", - "start": 5596, - "end": 5622, - "loc": { - "start": { - "line": 199, - "column": 17 + "line": 205, + "column": 18 + } }, - "end": { - "line": 199, - "column": 43 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 5597, - "end": 5613, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 5721, + "end": 5737, "loc": { "start": { - "line": 199, - "column": 18 + "line": 205, + "column": 2 }, "end": { - "line": 199, - "column": 34 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 5597, - "end": 5613, - "loc": { - "start": { - "line": 199, - "column": 18 - }, - "end": { - "line": 199, - "column": 34 - }, - "identifierName": "getCalendarRound" - }, - "name": "getCalendarRound" - }, - "value": { - "type": "Identifier", - "start": 5597, - "end": 5613, - "loc": { - "start": { - "line": 199, - "column": 18 - }, - "end": { - "line": 199, - "column": 34 - }, - "identifierName": "getCalendarRound" + "line": 205, + "column": 18 }, - "name": "getCalendarRound" + "identifierName": "getCalendarRound" }, - "extra": { - "shorthand": true - } + "name": "getCalendarRound" }, - { - "type": "ObjectProperty", - "start": 5615, - "end": 5621, + "value": { + "type": "Identifier", + "start": 5721, + "end": 5737, "loc": { "start": { - "line": 199, - "column": 36 + "line": 205, + "column": 2 }, "end": { - "line": 199, - "column": 42 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 5615, - "end": 5621, - "loc": { - "start": { - "line": 199, - "column": 36 - }, - "end": { - "line": 199, - "column": 42 - }, - "identifierName": "origin" + "line": 205, + "column": 18 }, - "name": "origin" + "identifierName": "getCalendarRound" }, - "value": { - "type": "Identifier", - "start": 5615, - "end": 5621, - "loc": { - "start": { - "line": 199, - "column": 36 - }, - "end": { - "line": 199, - "column": 42 - }, - "identifierName": "origin" - }, - "name": "origin" + "name": "getCalendarRound" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 5741, + "end": 5747, + "loc": { + "start": { + "line": 206, + "column": 2 }, - "extra": { - "shorthand": true + "end": { + "line": 206, + "column": 8 } - } - ] - } - } - } - ], - "directives": [] - }, - "comments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 57, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 108, - "end": 122, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 164, - "end": 178, - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 238, - "end": 252, - "loc": { - "start": { - "line": 11, - "column": 0 - }, - "end": { - "line": 11, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return a comparable instance of a Calendar Round.\n * @param {number} tzolkinCoeff\n * @param {TzolkinDay|string} tzolkinDay\n * @param {number} haabCoeff\n * @param {HaabMonth|string} haabMonth\n * @return {CalendarRound}\n ", - "start": 276, - "end": 504, - "loc": { - "start": { - "line": 14, - "column": 0 - }, - "end": { - "line": 21, - "column": 3 - } - } - }, - { - "type": "CommentLine", - "value": " eslint-disable-next-line no-use-before-define", - "start": 698, - "end": 746, - "loc": { - "start": { - "line": 25, - "column": 4 - }, - "end": { - "line": 25, - "column": 52 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * A combination of 260-day cycles and the Haab cycle. This class should not\n * be instantiated directly, and should be accessed through getCalendarRound.\n * @see {getCalendarRound}\n * @example\n * let cr = new CalendarRound(4, \"Ajaw\", 8, \"Kumk'u\");\n ", - "start": 869, - "end": 1126, - "loc": { - "start": { - "line": 31, - "column": 0 - }, - "end": { - "line": 37, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @param {number} tzolkinCoeff Coefficient for the 260-day cycle\n * @param {string|TzolkinDay} tzolkinDay Name of the name in the 260-day cycle\n * @param {number} haabCoeff Day in the Haab month\n * @param {string|HaabMonth} haabMonth Name of the Haab month\n ", - "start": 1151, - "end": 1426, - "loc": { - "start": { - "line": 39, - "column": 2 - }, - "end": { - "line": 44, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * 260-day cycle component of the Calendar Round\n * @type {Tzolkin}\n ", - "start": 1495, - "end": 1582, - "loc": { - "start": { - "line": 46, - "column": 4 - }, - "end": { - "line": 49, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Haab cycle component of the Calendar Round\n * @type {Haab}\n ", - "start": 1652, - "end": 1733, - "loc": { - "start": { - "line": 51, - "column": 4 - }, - "end": { - "line": 54, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Validate that the Calendar Round has a correct 260-day and Haab\n * configuration\n * @throws {Error} If the Calendar Round is invalid.\n ", - "start": 1815, - "end": 1967, - "loc": { - "start": { - "line": 60, - "column": 2 - }, - "end": { - "line": 64, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Increment both the Haab and 260-day cycle to the next day in the Calendar Round\n * @returns {CalendarRound}\n ", - "start": 3115, - "end": 3239, - "loc": { - "start": { - "line": 100, - "column": 2 - }, - "end": { - "line": 103, - "column": 5 + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 5741, + "end": 5747, + "loc": { + "start": { + "line": 206, + "column": 2 + }, + "end": { + "line": 206, + "column": 8 + }, + "identifierName": "origin" + }, + "name": "origin" + }, + "value": { + "type": "Identifier", + "start": 5741, + "end": 5747, + "loc": { + "start": { + "line": 206, + "column": 2 + }, + "end": { + "line": 206, + "column": 8 + }, + "identifierName": "origin" + }, + "name": "origin" + }, + "extra": { + "shorthand": true + } + } + ], + "leadingComments": [], + "trailingComments": [] } } - }, + ], + "directives": [] + }, + "comments": [ { "type": "CommentBlock", - "value": "*\n * Check that this CalendarRound matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return false.\n * @param {CalendarRound} newCr\n * @return {Boolean}\n ", - "start": 3284, - "end": 3502, + "value": "* @ignore ", + "start": 149, + "end": 163, "loc": { "start": { - "line": 108, - "column": 2 + "line": 6, + "column": 0 }, "end": { - "line": 113, - "column": 5 + "line": 6, + "column": 14 } } }, { "type": "CommentBlock", - "value": "*\n * Return a long count date representing the difference between two dates.\n * @param {CalendarRound} targetCr\n * @return {LongCount}\n ", - "start": 3554, - "end": 3702, + "value": "*\n * Return a comparable instance of a Calendar Round.\n * @param {number} tzolkinCoeff\n * @param {TzolkinDay|string} tzolkinDay\n * @param {number} haabCoeff\n * @param {HaabMonth|string} haabMonth\n * @return {CalendarRound}\n ", + "start": 186, + "end": 414, "loc": { "start": { - "line": 118, - "column": 2 + "line": 9, + "column": 0 }, "end": { - "line": 122, - "column": 5 + "line": 16, + "column": 3 } } }, { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 3727, - "end": 3741, + "type": "CommentLine", + "value": " eslint-disable-next-line no-use-before-define", + "start": 608, + "end": 656, "loc": { "start": { - "line": 124, + "line": 20, "column": 4 }, "end": { - "line": 124, - "column": 18 + "line": 20, + "column": 52 } } }, { - "type": "CommentLine", - "value": " eslint-disable-next-line no-use-before-define", - "start": 3880, - "end": 3928, + "type": "CommentBlock", + "value": "*\n * A combination of 260-day cycles and the Haab cycle. This class should not\n * be instantiated directly, and should be accessed through getCalendarRound.\n * @see {getCalendarRound}\n * @example\n * let cr = new CalendarRound(4, \"Ajaw\", 8, \"Kumk'u\");\n ", + "start": 783, + "end": 1040, "loc": { "start": { - "line": 130, - "column": 6 + "line": 27, + "column": 0 }, "end": { - "line": 130, - "column": 54 + "line": 33, + "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Check that this Calendar Round matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return true.\n * @param {CalendarRound} newCr\n * @return {boolean}\n ", - "start": 4170, - "end": 4388, + "value": "*\n * @param {number} tzolkinCoeff Coefficient for the 260-day cycle\n * @param {string|TzolkinDay} tzolkinDay Name of the name in the 260-day cycle\n * @param {number} haabCoeff Day in the Haab month\n * @param {string|HaabMonth} haabMonth Name of the Haab month\n ", + "start": 1065, + "end": 1340, "loc": { "start": { - "line": 142, + "line": 35, "column": 2 }, "end": { - "line": 147, + "line": 40, "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Shift a CalendarRound forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment\n * @return {CalendarRound}\n ", - "start": 4570, - "end": 4751, + "value": "*\n * 260-day cycle component of the Calendar Round\n * @type {Tzolkin}\n ", + "start": 1410, + "end": 1497, "loc": { "start": { - "line": 154, - "column": 2 + "line": 42, + "column": 4 }, "end": { - "line": 159, - "column": 5 + "line": 45, + "column": 7 } } }, { - "type": "CommentLine", - "value": " eslint-disable-next-line no-use-before-define", - "start": 4879, - "end": 4927, + "type": "CommentBlock", + "value": "*\n * Haab cycle component of the Calendar Round\n * @type {Haab}\n ", + "start": 1566, + "end": 1647, "loc": { "start": { - "line": 163, + "line": 47, "column": 4 }, "end": { - "line": 163, - "column": 52 + "line": 50, + "column": 7 } } }, { "type": "CommentBlock", - "value": "*\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n ", - "start": 5058, - "end": 5152, + "value": "*\n * Validate that the Calendar Round has a correct 260-day and Haab\n * configuration\n * @throws {Error} If the Calendar Round is invalid.\n ", + "start": 1727, + "end": 1879, "loc": { "start": { - "line": 172, + "line": 56, "column": 2 }, "end": { - "line": 175, + "line": 60, "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * Render the CalendarRound cycle fullDate as a string\n * @returns {string}\n ", - "start": 5343, - "end": 5432, + "value": "*\n * Increment both the Haab and 260-day cycle to the next day in the Calendar Round\n * @returns {CalendarRound}\n ", + "start": 3041, + "end": 3165, "loc": { "start": { - "line": 183, + "line": 98, "column": 2 }, "end": { - "line": 186, + "line": 101, "column": 5 } } }, { "type": "CommentBlock", - "value": "* @ignore ", - "start": 5498, - "end": 5512, - "loc": { - "start": { - "line": 192, - "column": 0 - }, - "end": { - "line": 192, - "column": 14 - } - } - } - ], - "tokens": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 15, - "end": 20, + "value": "*\n * Check that this CalendarRound matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return false.\n * @param {CalendarRound} newCr\n * @return {Boolean}\n ", + "start": 3210, + "end": 3428, "loc": { "start": { - "line": 2, - "column": 0 + "line": 106, + "column": 2 }, "end": { - "line": 2, + "line": 111, "column": 5 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "tzolkin", - "start": 21, - "end": 28, - "loc": { - "start": { - "line": 2, - "column": 6 - }, - "end": { - "line": 2, - "column": 13 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 29, - "end": 30, - "loc": { - "start": { - "line": 2, - "column": 14 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "require", - "start": 31, - "end": 38, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 38, - "end": 39, - "loc": { - "start": { - "line": 2, - "column": 23 - }, - "end": { - "line": 2, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "../cr/tzolkin", - "start": 39, - "end": 54, + "type": "CommentBlock", + "value": "*\n * Return a long count date representing the difference between two dates.\n * @param {CalendarRound} targetCr\n * @return {LongCount}\n ", + "start": 3480, + "end": 3628, "loc": { "start": { - "line": 2, - "column": 24 + "line": 116, + "column": 2 }, "end": { - "line": 2, - "column": 39 + "line": 120, + "column": 5 } } }, { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 54, - "end": 55, + "type": "CommentBlock", + "value": "* @ignore ", + "start": 3654, + "end": 3668, "loc": { "start": { - "line": 2, - "column": 39 + "line": 122, + "column": 4 }, "end": { - "line": 2, - "column": 40 + "line": 122, + "column": 18 } } }, { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 55, - "end": 56, + "type": "CommentLine", + "value": " eslint-disable-next-line no-use-before-define", + "start": 3832, + "end": 3880, "loc": { "start": { - "line": 2, - "column": 40 + "line": 129, + "column": 6 }, "end": { - "line": 2, - "column": 41 + "line": 129, + "column": 54 } } }, { "type": "CommentBlock", - "value": "* @ignore ", - "start": 57, - "end": 71, + "value": "*\n * Check that this Calendar Round matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return true.\n * @param {CalendarRound} newCr\n * @return {boolean}\n ", + "start": 4297, + "end": 4515, "loc": { "start": { - "line": 3, - "column": 0 + "line": 148, + "column": 2 }, "end": { - "line": 3, - "column": 14 + "line": 153, + "column": 5 } } }, { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 72, - "end": 77, + "type": "CommentBlock", + "value": "*\n * Shift a CalendarRound forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment\n * @return {CalendarRound}\n ", + "start": 4695, + "end": 4876, "loc": { "start": { - "line": 4, - "column": 0 + "line": 160, + "column": 2 }, "end": { - "line": 4, + "line": 165, "column": 5 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "haab", - "start": 78, - "end": 82, + "type": "CommentLine", + "value": " eslint-disable-next-line no-use-before-define", + "start": 5003, + "end": 5051, "loc": { "start": { - "line": 4, - "column": 6 + "line": 169, + "column": 4 }, "end": { - "line": 4, - "column": 10 + "line": 169, + "column": 52 } } }, { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 83, - "end": 84, + "type": "CommentBlock", + "value": "*\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n ", + "start": 5182, + "end": 5276, "loc": { "start": { - "line": 4, - "column": 11 + "line": 178, + "column": 2 }, "end": { - "line": 4, - "column": 12 + "line": 181, + "column": 5 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "require", - "start": 85, - "end": 92, + "type": "CommentBlock", + "value": "*\n * Render the CalendarRound cycle fullDate as a string\n * @returns {string}\n ", + "start": 5467, + "end": 5556, "loc": { "start": { - "line": 4, - "column": 13 + "line": 189, + "column": 2 }, "end": { - "line": 4, - "column": 20 + "line": 192, + "column": 5 } } }, { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 92, - "end": 93, + "type": "CommentBlock", + "value": "* @ignore ", + "start": 5622, + "end": 5636, "loc": { "start": { - "line": 4, - "column": 20 + "line": 198, + "column": 0 }, "end": { - "line": 4, - "column": 21 + "line": 198, + "column": 14 } } - }, + } + ], + "tokens": [ { "type": { - "label": "string", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -10364,25 +10101,25 @@ "binop": null, "updateContext": null }, - "value": "../cr/haab", - "start": 93, - "end": 105, + "value": "import", + "start": 0, + "end": 6, "loc": { "start": { - "line": 4, - "column": 21 + "line": 1, + "column": 0 }, "end": { - "line": 4, - "column": 33 + "line": 1, + "column": 6 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10390,67 +10127,51 @@ "postfix": false, "binop": null }, - "start": 105, - "end": 106, + "value": "tzolkin", + "start": 7, + "end": 14, "loc": { "start": { - "line": 4, - "column": 33 + "line": 1, + "column": 7 }, "end": { - "line": 4, - "column": 34 + "line": 1, + "column": 14 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 106, - "end": 107, - "loc": { - "start": { - "line": 4, - "column": 34 - }, - "end": { - "line": 4, - "column": 35 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 108, - "end": 122, + "value": "from", + "start": 15, + "end": 19, "loc": { "start": { - "line": 5, - "column": 0 + "line": 1, + "column": 15 }, "end": { - "line": 5, - "column": 14 + "line": 1, + "column": 19 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10459,70 +10180,71 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 123, - "end": 128, + "value": "./tzolkin", + "start": 20, + "end": 31, "loc": { "start": { - "line": 6, - "column": 0 + "line": 1, + "column": 20 }, "end": { - "line": 6, - "column": 5 + "line": 1, + "column": 31 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "wildcard", - "start": 129, - "end": 137, + "start": 31, + "end": 32, "loc": { "start": { - "line": 6, - "column": 6 + "line": 1, + "column": 31 }, "end": { - "line": 6, - "column": 14 + "line": 1, + "column": 32 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 138, - "end": 139, + "value": "import", + "start": 33, + "end": 39, "loc": { "start": { - "line": 6, - "column": 15 + "line": 2, + "column": 0 }, "end": { - "line": 6, - "column": 16 + "line": 2, + "column": 6 } } }, @@ -10538,24 +10260,24 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 140, - "end": 147, + "value": "haab", + "start": 40, + "end": 44, "loc": { "start": { - "line": 6, - "column": 17 + "line": 2, + "column": 7 }, "end": { - "line": 6, - "column": 24 + "line": 2, + "column": 11 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -10564,16 +10286,17 @@ "postfix": false, "binop": null }, - "start": 147, - "end": 148, + "value": "from", + "start": 45, + "end": 49, "loc": { "start": { - "line": 6, - "column": 24 + "line": 2, + "column": 12 }, "end": { - "line": 6, - "column": 25 + "line": 2, + "column": 16 } } }, @@ -10590,50 +10313,52 @@ "binop": null, "updateContext": null }, - "value": "../wildcard", - "start": 148, - "end": 161, + "value": "./haab", + "start": 50, + "end": 58, "loc": { "start": { - "line": 6, - "column": 25 + "line": 2, + "column": 17 }, "end": { - "line": 6, - "column": 38 + "line": 2, + "column": 25 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 161, - "end": 162, + "start": 58, + "end": 59, "loc": { "start": { - "line": 6, - "column": 38 + "line": 2, + "column": 25 }, "end": { - "line": 6, - "column": 39 + "line": 2, + "column": 26 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10642,66 +10367,75 @@ "binop": null, "updateContext": null }, - "start": 162, - "end": 163, + "value": "import", + "start": 60, + "end": 66, "loc": { "start": { - "line": 6, - "column": 39 + "line": 3, + "column": 0 }, "end": { - "line": 6, - "column": 40 + "line": 3, + "column": 6 } } }, { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 164, - "end": 178, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "wildcard", + "start": 67, + "end": 75, "loc": { "start": { - "line": 7, - "column": 0 + "line": 3, + "column": 7 }, "end": { - "line": 7, - "column": 14 + "line": 3, + "column": 15 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 179, - "end": 184, + "value": "from", + "start": 76, + "end": 80, "loc": { "start": { - "line": 8, - "column": 0 + "line": 3, + "column": 16 }, "end": { - "line": 8, - "column": 5 + "line": 3, + "column": 20 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -10709,52 +10443,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "DistanceNumber", - "start": 185, - "end": 199, + "value": "../wildcard", + "start": 81, + "end": 94, "loc": { "start": { - "line": 8, - "column": 6 + "line": 3, + "column": 21 }, "end": { - "line": 8, - "column": 20 + "line": 3, + "column": 34 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 200, - "end": 201, + "start": 94, + "end": 95, "loc": { "start": { - "line": 8, - "column": 21 + "line": 3, + "column": 34 }, "end": { - "line": 8, - "column": 22 + "line": 3, + "column": 35 } } }, { "type": { - "label": "name", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -10762,26 +10497,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "require", - "start": 202, - "end": 209, + "value": "import", + "start": 96, + "end": 102, "loc": { "start": { - "line": 8, - "column": 23 + "line": 4, + "column": 0 }, "end": { - "line": 8, - "column": 30 + "line": 4, + "column": 6 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -10790,22 +10526,23 @@ "postfix": false, "binop": null }, - "start": 209, - "end": 210, + "value": "DistanceNumber", + "start": 103, + "end": 117, "loc": { "start": { - "line": 8, - "column": 30 + "line": 4, + "column": 7 }, "end": { - "line": 8, - "column": 31 + "line": 4, + "column": 21 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -10813,45 +10550,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "../lc/distance-number", - "start": 210, - "end": 233, + "value": "from", + "start": 118, + "end": 122, "loc": { "start": { - "line": 8, - "column": 31 + "line": 4, + "column": 22 }, "end": { - "line": 8, - "column": 54 + "line": 4, + "column": 26 } } }, { "type": { - "label": ")", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 233, - "end": 234, + "value": "../lc/distance-number", + "start": 123, + "end": 146, "loc": { "start": { - "line": 8, - "column": 54 + "line": 4, + "column": 27 }, "end": { - "line": 8, - "column": 55 + "line": 4, + "column": 50 } } }, @@ -10868,31 +10606,31 @@ "binop": null, "updateContext": null }, - "start": 234, - "end": 235, + "start": 146, + "end": 147, "loc": { "start": { - "line": 8, - "column": 55 + "line": 4, + "column": 50 }, "end": { - "line": 8, - "column": 56 + "line": 4, + "column": 51 } } }, { "type": "CommentBlock", "value": "* @ignore ", - "start": 238, - "end": 252, + "start": 149, + "end": 163, "loc": { "start": { - "line": 11, + "line": 6, "column": 0 }, "end": { - "line": 11, + "line": 6, "column": 14 } } @@ -10912,15 +10650,15 @@ "updateContext": null }, "value": "const", - "start": 253, - "end": 258, + "start": 164, + "end": 169, "loc": { "start": { - "line": 12, + "line": 7, "column": 0 }, "end": { - "line": 12, + "line": 7, "column": 5 } } @@ -10938,15 +10676,15 @@ "binop": null }, "value": "singleton", - "start": 259, - "end": 268, + "start": 170, + "end": 179, "loc": { "start": { - "line": 12, + "line": 7, "column": 6 }, "end": { - "line": 12, + "line": 7, "column": 15 } } @@ -10965,15 +10703,15 @@ "updateContext": null }, "value": "=", - "start": 269, - "end": 270, + "start": 180, + "end": 181, "loc": { "start": { - "line": 12, + "line": 7, "column": 16 }, "end": { - "line": 12, + "line": 7, "column": 17 } } @@ -10990,15 +10728,15 @@ "postfix": false, "binop": null }, - "start": 271, - "end": 272, + "start": 182, + "end": 183, "loc": { "start": { - "line": 12, + "line": 7, "column": 18 }, "end": { - "line": 12, + "line": 7, "column": 19 } } @@ -11015,57 +10753,31 @@ "postfix": false, "binop": null }, - "start": 272, - "end": 273, + "start": 183, + "end": 184, "loc": { "start": { - "line": 12, + "line": 7, "column": 19 }, "end": { - "line": 12, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 273, - "end": 274, - "loc": { - "start": { - "line": 12, + "line": 7, "column": 20 - }, - "end": { - "line": 12, - "column": 21 } } }, { "type": "CommentBlock", "value": "*\n * Return a comparable instance of a Calendar Round.\n * @param {number} tzolkinCoeff\n * @param {TzolkinDay|string} tzolkinDay\n * @param {number} haabCoeff\n * @param {HaabMonth|string} haabMonth\n * @return {CalendarRound}\n ", - "start": 276, - "end": 504, + "start": 186, + "end": 414, "loc": { "start": { - "line": 14, + "line": 9, "column": 0 }, "end": { - "line": 21, + "line": 16, "column": 3 } } @@ -11084,15 +10796,15 @@ "binop": null }, "value": "function", - "start": 505, - "end": 513, + "start": 415, + "end": 423, "loc": { "start": { - "line": 22, + "line": 17, "column": 0 }, "end": { - "line": 22, + "line": 17, "column": 8 } } @@ -11110,15 +10822,15 @@ "binop": null }, "value": "getCalendarRound", - "start": 514, - "end": 530, + "start": 424, + "end": 440, "loc": { "start": { - "line": 22, + "line": 17, "column": 9 }, "end": { - "line": 22, + "line": 17, "column": 25 } } @@ -11135,16 +10847,16 @@ "postfix": false, "binop": null }, - "start": 530, - "end": 531, + "start": 441, + "end": 442, "loc": { "start": { - "line": 22, - "column": 25 + "line": 17, + "column": 26 }, "end": { - "line": 22, - "column": 26 + "line": 17, + "column": 27 } } }, @@ -11161,16 +10873,16 @@ "binop": null }, "value": "tzolkinCoeff", - "start": 531, - "end": 543, + "start": 442, + "end": 454, "loc": { "start": { - "line": 22, - "column": 26 + "line": 17, + "column": 27 }, "end": { - "line": 22, - "column": 38 + "line": 17, + "column": 39 } } }, @@ -11187,16 +10899,16 @@ "binop": null, "updateContext": null }, - "start": 543, - "end": 544, + "start": 454, + "end": 455, "loc": { "start": { - "line": 22, - "column": 38 + "line": 17, + "column": 39 }, "end": { - "line": 22, - "column": 39 + "line": 17, + "column": 40 } } }, @@ -11213,16 +10925,16 @@ "binop": null }, "value": "tzolkinDay", - "start": 545, - "end": 555, + "start": 456, + "end": 466, "loc": { "start": { - "line": 22, - "column": 40 + "line": 17, + "column": 41 }, "end": { - "line": 22, - "column": 50 + "line": 17, + "column": 51 } } }, @@ -11239,16 +10951,16 @@ "binop": null, "updateContext": null }, - "start": 555, - "end": 556, + "start": 466, + "end": 467, "loc": { "start": { - "line": 22, - "column": 50 + "line": 17, + "column": 51 }, "end": { - "line": 22, - "column": 51 + "line": 17, + "column": 52 } } }, @@ -11265,16 +10977,16 @@ "binop": null }, "value": "haabCoeff", - "start": 557, - "end": 566, + "start": 468, + "end": 477, "loc": { "start": { - "line": 22, - "column": 52 + "line": 17, + "column": 53 }, "end": { - "line": 22, - "column": 61 + "line": 17, + "column": 62 } } }, @@ -11291,16 +11003,16 @@ "binop": null, "updateContext": null }, - "start": 566, - "end": 567, + "start": 477, + "end": 478, "loc": { "start": { - "line": 22, - "column": 61 + "line": 17, + "column": 62 }, "end": { - "line": 22, - "column": 62 + "line": 17, + "column": 63 } } }, @@ -11317,16 +11029,16 @@ "binop": null }, "value": "haabMonth", - "start": 568, - "end": 577, + "start": 479, + "end": 488, "loc": { "start": { - "line": 22, - "column": 63 + "line": 17, + "column": 64 }, "end": { - "line": 22, - "column": 72 + "line": 17, + "column": 73 } } }, @@ -11342,16 +11054,16 @@ "postfix": false, "binop": null }, - "start": 577, - "end": 578, + "start": 488, + "end": 489, "loc": { "start": { - "line": 22, - "column": 72 + "line": 17, + "column": 73 }, "end": { - "line": 22, - "column": 73 + "line": 17, + "column": 74 } } }, @@ -11367,16 +11079,16 @@ "postfix": false, "binop": null }, - "start": 579, - "end": 580, + "start": 490, + "end": 491, "loc": { "start": { - "line": 22, - "column": 74 + "line": 17, + "column": 75 }, "end": { - "line": 22, - "column": 75 + "line": 17, + "column": 76 } } }, @@ -11395,15 +11107,15 @@ "updateContext": null }, "value": "const", - "start": 583, - "end": 588, + "start": 494, + "end": 499, "loc": { "start": { - "line": 23, + "line": 18, "column": 2 }, "end": { - "line": 23, + "line": 18, "column": 7 } } @@ -11421,15 +11133,15 @@ "binop": null }, "value": "crId", - "start": 589, - "end": 593, + "start": 500, + "end": 504, "loc": { "start": { - "line": 23, + "line": 18, "column": 8 }, "end": { - "line": 23, + "line": 18, "column": 12 } } @@ -11448,15 +11160,15 @@ "updateContext": null }, "value": "=", - "start": 594, - "end": 595, + "start": 505, + "end": 506, "loc": { "start": { - "line": 23, + "line": 18, "column": 13 }, "end": { - "line": 23, + "line": 18, "column": 14 } } @@ -11473,15 +11185,15 @@ "postfix": false, "binop": null }, - "start": 596, - "end": 597, + "start": 507, + "end": 508, "loc": { "start": { - "line": 23, + "line": 18, "column": 15 }, "end": { - "line": 23, + "line": 18, "column": 16 } } @@ -11500,15 +11212,15 @@ "updateContext": null }, "value": "", - "start": 597, - "end": 597, + "start": 508, + "end": 508, "loc": { "start": { - "line": 23, + "line": 18, "column": 16 }, "end": { - "line": 23, + "line": 18, "column": 16 } } @@ -11525,15 +11237,15 @@ "postfix": false, "binop": null }, - "start": 597, - "end": 599, + "start": 508, + "end": 510, "loc": { "start": { - "line": 23, + "line": 18, "column": 16 }, "end": { - "line": 23, + "line": 18, "column": 18 } } @@ -11551,15 +11263,15 @@ "binop": null }, "value": "tzolkinCoeff", - "start": 599, - "end": 611, + "start": 510, + "end": 522, "loc": { "start": { - "line": 23, + "line": 18, "column": 18 }, "end": { - "line": 23, + "line": 18, "column": 30 } } @@ -11576,15 +11288,15 @@ "postfix": false, "binop": null }, - "start": 611, - "end": 612, + "start": 522, + "end": 523, "loc": { "start": { - "line": 23, + "line": 18, "column": 30 }, "end": { - "line": 23, + "line": 18, "column": 31 } } @@ -11603,15 +11315,15 @@ "updateContext": null }, "value": " ", - "start": 612, - "end": 613, + "start": 523, + "end": 524, "loc": { "start": { - "line": 23, + "line": 18, "column": 31 }, "end": { - "line": 23, + "line": 18, "column": 32 } } @@ -11628,15 +11340,15 @@ "postfix": false, "binop": null }, - "start": 613, - "end": 615, + "start": 524, + "end": 526, "loc": { "start": { - "line": 23, + "line": 18, "column": 32 }, "end": { - "line": 23, + "line": 18, "column": 34 } } @@ -11654,15 +11366,15 @@ "binop": null }, "value": "tzolkinDay", - "start": 615, - "end": 625, + "start": 526, + "end": 536, "loc": { "start": { - "line": 23, + "line": 18, "column": 34 }, "end": { - "line": 23, + "line": 18, "column": 44 } } @@ -11679,15 +11391,15 @@ "postfix": false, "binop": null }, - "start": 625, - "end": 626, + "start": 536, + "end": 537, "loc": { "start": { - "line": 23, + "line": 18, "column": 44 }, "end": { - "line": 23, + "line": 18, "column": 45 } } @@ -11706,15 +11418,15 @@ "updateContext": null }, "value": " ", - "start": 626, - "end": 627, + "start": 537, + "end": 538, "loc": { "start": { - "line": 23, + "line": 18, "column": 45 }, "end": { - "line": 23, + "line": 18, "column": 46 } } @@ -11731,15 +11443,15 @@ "postfix": false, "binop": null }, - "start": 627, - "end": 629, + "start": 538, + "end": 540, "loc": { "start": { - "line": 23, + "line": 18, "column": 46 }, "end": { - "line": 23, + "line": 18, "column": 48 } } @@ -11757,24 +11469,232 @@ "binop": null }, "value": "haabCoeff", - "start": 629, - "end": 638, + "start": 540, + "end": 549, "loc": { "start": { - "line": 23, + "line": 18, "column": 48 }, "end": { - "line": 23, - "column": 57 + "line": 18, + "column": 57 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 549, + "end": 550, + "loc": { + "start": { + "line": 18, + "column": 57 + }, + "end": { + "line": 18, + "column": 58 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": " ", + "start": 550, + "end": 551, + "loc": { + "start": { + "line": 18, + "column": 58 + }, + "end": { + "line": 18, + "column": 59 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 551, + "end": 553, + "loc": { + "start": { + "line": 18, + "column": 59 + }, + "end": { + "line": 18, + "column": 61 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "haabMonth", + "start": 553, + "end": 562, + "loc": { + "start": { + "line": 18, + "column": 61 + }, + "end": { + "line": 18, + "column": 70 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 562, + "end": 563, + "loc": { + "start": { + "line": 18, + "column": 70 + }, + "end": { + "line": 18, + "column": 71 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 563, + "end": 563, + "loc": { + "start": { + "line": 18, + "column": 71 + }, + "end": { + "line": 18, + "column": 71 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 563, + "end": 564, + "loc": { + "start": { + "line": 18, + "column": 71 + }, + "end": { + "line": 18, + "column": 72 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 567, + "end": 569, + "loc": { + "start": { + "line": 19, + "column": 2 + }, + "end": { + "line": 19, + "column": 4 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -11782,49 +11702,48 @@ "postfix": false, "binop": null }, - "start": 638, - "end": 639, + "start": 570, + "end": 571, "loc": { "start": { - "line": 23, - "column": 57 + "line": 19, + "column": 5 }, "end": { - "line": 23, - "column": 58 + "line": 19, + "column": 6 } } }, { "type": { - "label": "template", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": " ", - "start": 639, - "end": 640, + "value": "singleton", + "start": 571, + "end": 580, "loc": { "start": { - "line": 23, - "column": 58 + "line": 19, + "column": 6 }, "end": { - "line": 23, - "column": 59 + "line": 19, + "column": 15 } } }, { "type": { - "label": "${", + "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -11832,18 +11751,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 640, - "end": 642, + "start": 580, + "end": 581, "loc": { "start": { - "line": 23, - "column": 59 + "line": 19, + "column": 15 }, "end": { - "line": 23, - "column": 61 + "line": 19, + "column": 16 } } }, @@ -11859,23 +11779,23 @@ "postfix": false, "binop": null }, - "value": "haabMonth", - "start": 642, - "end": 651, + "value": "crId", + "start": 581, + "end": 585, "loc": { "start": { - "line": 23, - "column": 61 + "line": 19, + "column": 16 }, "end": { - "line": 23, - "column": 70 + "line": 19, + "column": 20 } } }, { "type": { - "label": "}", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -11883,51 +11803,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 651, - "end": 652, + "start": 585, + "end": 586, "loc": { "start": { - "line": 23, - "column": 70 + "line": 19, + "column": 20 }, "end": { - "line": 23, - "column": 71 + "line": 19, + "column": 21 } } }, { "type": { - "label": "template", - "beforeExpr": false, + "label": "==/!=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "value": "", - "start": 652, - "end": 652, + "value": "===", + "start": 587, + "end": 590, "loc": { "start": { - "line": 23, - "column": 71 + "line": 19, + "column": 22 }, "end": { - "line": 23, - "column": 71 + "line": 19, + "column": 25 } } }, { "type": { - "label": "`", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -11937,95 +11858,83 @@ "postfix": false, "binop": null }, - "start": 652, - "end": 653, + "value": "undefined", + "start": 591, + "end": 600, "loc": { "start": { - "line": 23, - "column": 71 + "line": 19, + "column": 26 }, "end": { - "line": 23, - "column": 72 + "line": 19, + "column": 35 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 653, - "end": 654, + "start": 600, + "end": 601, "loc": { "start": { - "line": 23, - "column": 72 + "line": 19, + "column": 35 }, "end": { - "line": 23, - "column": 73 + "line": 19, + "column": 36 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 657, - "end": 659, + "start": 602, + "end": 603, "loc": { "start": { - "line": 24, - "column": 2 + "line": 19, + "column": 37 }, "end": { - "line": 24, - "column": 4 + "line": 19, + "column": 38 } } }, { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 660, - "end": 661, + "type": "CommentLine", + "value": " eslint-disable-next-line no-use-before-define", + "start": 608, + "end": 656, "loc": { "start": { - "line": 24, - "column": 5 + "line": 20, + "column": 4 }, "end": { - "line": 24, - "column": 6 + "line": 20, + "column": 52 } } }, @@ -12046,12 +11955,12 @@ "end": 670, "loc": { "start": { - "line": 24, - "column": 6 + "line": 21, + "column": 4 }, "end": { - "line": 24, - "column": 15 + "line": 21, + "column": 13 } } }, @@ -12072,12 +11981,12 @@ "end": 671, "loc": { "start": { - "line": 24, - "column": 15 + "line": 21, + "column": 13 }, "end": { - "line": 24, - "column": 16 + "line": 21, + "column": 14 } } }, @@ -12098,12 +12007,12 @@ "end": 675, "loc": { "start": { - "line": 24, - "column": 16 + "line": 21, + "column": 14 }, "end": { - "line": 24, - "column": 20 + "line": 21, + "column": 18 } } }, @@ -12124,38 +12033,66 @@ "end": 676, "loc": { "start": { - "line": 24, + "line": 21, + "column": 18 + }, + "end": { + "line": 21, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 677, + "end": 678, + "loc": { + "start": { + "line": 21, "column": 20 }, "end": { - "line": 24, + "line": 21, "column": 21 } } }, { "type": { - "label": "==/!=", + "label": "new", + "keyword": "new", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "===", - "start": 677, - "end": 680, + "value": "new", + "start": 679, + "end": 682, "loc": { "start": { - "line": 24, + "line": 21, "column": 22 }, "end": { - "line": 24, + "line": 21, "column": 25 } } @@ -12172,49 +12109,101 @@ "postfix": false, "binop": null }, - "value": "undefined", - "start": 681, - "end": 690, + "value": "CalendarRound", + "start": 683, + "end": 696, "loc": { "start": { - "line": 24, + "line": 21, "column": 26 }, "end": { - "line": 24, - "column": 35 + "line": 21, + "column": 39 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 696, + "end": 697, + "loc": { + "start": { + "line": 21, + "column": 39 + }, + "end": { + "line": 21, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "tzolkinCoeff", + "start": 697, + "end": 709, + "loc": { + "start": { + "line": 21, + "column": 40 + }, + "end": { + "line": 21, + "column": 52 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 690, - "end": 691, + "start": 709, + "end": 710, "loc": { "start": { - "line": 24, - "column": 35 + "line": 21, + "column": 52 }, "end": { - "line": 24, - "column": 36 + "line": 21, + "column": 53 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -12223,32 +12212,43 @@ "postfix": false, "binop": null }, - "start": 692, - "end": 693, + "value": "tzolkinDay", + "start": 711, + "end": 721, "loc": { "start": { - "line": 24, - "column": 37 + "line": 21, + "column": 54 }, "end": { - "line": 24, - "column": 38 + "line": 21, + "column": 64 } } }, { - "type": "CommentLine", - "value": " eslint-disable-next-line no-use-before-define", - "start": 698, - "end": 746, + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 721, + "end": 722, "loc": { "start": { - "line": 25, - "column": 4 + "line": 21, + "column": 64 }, "end": { - "line": 25, - "column": 52 + "line": 21, + "column": 65 } } }, @@ -12264,25 +12264,25 @@ "postfix": false, "binop": null }, - "value": "singleton", - "start": 751, - "end": 760, + "value": "haabCoeff", + "start": 723, + "end": 732, "loc": { "start": { - "line": 26, - "column": 4 + "line": 21, + "column": 66 }, "end": { - "line": 26, - "column": 13 + "line": 21, + "column": 75 } } }, { "type": { - "label": "[", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12291,16 +12291,16 @@ "binop": null, "updateContext": null }, - "start": 760, - "end": 761, + "start": 732, + "end": 733, "loc": { "start": { - "line": 26, - "column": 13 + "line": 21, + "column": 75 }, "end": { - "line": 26, - "column": 14 + "line": 21, + "column": 76 } } }, @@ -12316,23 +12316,23 @@ "postfix": false, "binop": null }, - "value": "crId", - "start": 761, - "end": 765, + "value": "haabMonth", + "start": 740, + "end": 749, "loc": { "start": { - "line": 26, - "column": 14 + "line": 22, + "column": 6 }, "end": { - "line": 26, - "column": 18 + "line": 22, + "column": 15 } } }, { "type": { - "label": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -12340,55 +12340,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 765, - "end": 766, + "start": 749, + "end": 750, "loc": { "start": { - "line": 26, - "column": 18 + "line": 22, + "column": 15 }, "end": { - "line": 26, - "column": 19 + "line": 22, + "column": 16 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 767, - "end": 768, + "start": 753, + "end": 754, "loc": { "start": { - "line": 26, - "column": 20 + "line": 23, + "column": 2 }, "end": { - "line": 26, - "column": 21 + "line": 23, + "column": 3 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12397,17 +12394,17 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 769, - "end": 772, + "value": "return", + "start": 757, + "end": 763, "loc": { "start": { - "line": 26, - "column": 22 + "line": 24, + "column": 2 }, "end": { - "line": 26, - "column": 25 + "line": 24, + "column": 8 } } }, @@ -12423,23 +12420,23 @@ "postfix": false, "binop": null }, - "value": "CalendarRound", - "start": 773, - "end": 786, + "value": "singleton", + "start": 764, + "end": 773, "loc": { "start": { - "line": 26, - "column": 26 + "line": 24, + "column": 9 }, "end": { - "line": 26, - "column": 39 + "line": 24, + "column": 18 } } }, { "type": { - "label": "(", + "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -12447,18 +12444,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 786, - "end": 787, + "start": 773, + "end": 774, "loc": { "start": { - "line": 26, - "column": 39 + "line": 24, + "column": 18 }, "end": { - "line": 26, - "column": 40 + "line": 24, + "column": 19 } } }, @@ -12474,24 +12472,24 @@ "postfix": false, "binop": null }, - "value": "tzolkinCoeff", - "start": 787, - "end": 799, + "value": "crId", + "start": 774, + "end": 778, "loc": { "start": { - "line": 26, - "column": 40 + "line": 24, + "column": 19 }, "end": { - "line": 26, - "column": 52 + "line": 24, + "column": 23 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -12501,24 +12499,24 @@ "binop": null, "updateContext": null }, - "start": 799, - "end": 800, + "start": 778, + "end": 779, "loc": { "start": { - "line": 26, - "column": 52 + "line": 24, + "column": 23 }, "end": { - "line": 26, - "column": 53 + "line": 24, + "column": 24 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12526,24 +12524,40 @@ "postfix": false, "binop": null }, - "value": "tzolkinDay", - "start": 801, - "end": 811, + "start": 780, + "end": 781, "loc": { "start": { - "line": 26, - "column": 54 + "line": 25, + "column": 0 }, "end": { - "line": 26, - "column": 64 + "line": 25, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * A combination of 260-day cycles and the Haab cycle. This class should not\n * be instantiated directly, and should be accessed through getCalendarRound.\n * @see {getCalendarRound}\n * @example\n * let cr = new CalendarRound(4, \"Ajaw\", 8, \"Kumk'u\");\n ", + "start": 783, + "end": 1040, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "class", + "keyword": "class", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -12553,16 +12567,17 @@ "binop": null, "updateContext": null }, - "start": 811, - "end": 812, + "value": "class", + "start": 1041, + "end": 1046, "loc": { "start": { - "line": 26, - "column": 64 + "line": 34, + "column": 0 }, "end": { - "line": 26, - "column": 65 + "line": 34, + "column": 5 } } }, @@ -12578,77 +12593,66 @@ "postfix": false, "binop": null }, - "value": "haabCoeff", - "start": 813, - "end": 822, + "value": "CalendarRound", + "start": 1047, + "end": 1060, "loc": { "start": { - "line": 26, - "column": 66 + "line": 34, + "column": 6 }, "end": { - "line": 26, - "column": 75 + "line": 34, + "column": 19 } } }, { "type": { - "label": ",", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 822, - "end": 823, + "start": 1061, + "end": 1062, "loc": { "start": { - "line": 26, - "column": 75 + "line": 34, + "column": 20 }, "end": { - "line": 26, - "column": 76 + "line": 34, + "column": 21 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "haabMonth", - "start": 824, - "end": 833, + "type": "CommentBlock", + "value": "*\n * @param {number} tzolkinCoeff Coefficient for the 260-day cycle\n * @param {string|TzolkinDay} tzolkinDay Name of the name in the 260-day cycle\n * @param {number} haabCoeff Day in the Haab month\n * @param {string|HaabMonth} haabMonth Name of the Haab month\n ", + "start": 1065, + "end": 1340, "loc": { "start": { - "line": 26, - "column": 77 + "line": 35, + "column": 2 }, "end": { - "line": 26, - "column": 86 + "line": 40, + "column": 5 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12656,50 +12660,50 @@ "postfix": false, "binop": null }, - "start": 833, - "end": 834, + "value": "constructor", + "start": 1343, + "end": 1354, "loc": { "start": { - "line": 26, - "column": 86 + "line": 41, + "column": 2 }, "end": { - "line": 26, - "column": 87 + "line": 41, + "column": 13 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 834, - "end": 835, + "start": 1355, + "end": 1356, "loc": { "start": { - "line": 26, - "column": 87 + "line": 41, + "column": 14 }, "end": { - "line": 26, - "column": 88 + "line": 41, + "column": 15 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12707,23 +12711,23 @@ "postfix": false, "binop": null }, - "start": 838, - "end": 839, + "value": "tzolkinCoeff", + "start": 1356, + "end": 1368, "loc": { "start": { - "line": 27, - "column": 2 + "line": 41, + "column": 15 }, "end": { - "line": 27, - "column": 3 + "line": 41, + "column": 27 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -12734,17 +12738,16 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 842, - "end": 848, + "start": 1368, + "end": 1369, "loc": { "start": { - "line": 28, - "column": 2 + "line": 41, + "column": 27 }, "end": { - "line": 28, - "column": 8 + "line": 41, + "column": 28 } } }, @@ -12760,25 +12763,25 @@ "postfix": false, "binop": null }, - "value": "singleton", - "start": 849, - "end": 858, + "value": "tzolkinDay", + "start": 1370, + "end": 1380, "loc": { "start": { - "line": 28, - "column": 9 + "line": 41, + "column": 29 }, "end": { - "line": 28, - "column": 18 + "line": 41, + "column": 39 } } }, { "type": { - "label": "[", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12787,16 +12790,16 @@ "binop": null, "updateContext": null }, - "start": 858, - "end": 859, + "start": 1380, + "end": 1381, "loc": { "start": { - "line": 28, - "column": 18 + "line": 41, + "column": 39 }, "end": { - "line": 28, - "column": 19 + "line": 41, + "column": 40 } } }, @@ -12812,24 +12815,24 @@ "postfix": false, "binop": null }, - "value": "crId", - "start": 859, - "end": 863, + "value": "haabCoeff", + "start": 1382, + "end": 1391, "loc": { "start": { - "line": 28, - "column": 19 + "line": 41, + "column": 41 }, "end": { - "line": 28, - "column": 23 + "line": 41, + "column": 50 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -12839,48 +12842,48 @@ "binop": null, "updateContext": null }, - "start": 863, - "end": 864, + "start": 1391, + "end": 1392, "loc": { "start": { - "line": 28, - "column": 23 + "line": 41, + "column": 50 }, "end": { - "line": 28, - "column": 24 + "line": 41, + "column": 51 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 864, - "end": 865, + "value": "haabMonth", + "start": 1393, + "end": 1402, "loc": { "start": { - "line": 28, - "column": 24 + "line": 41, + "column": 52 }, "end": { - "line": 28, - "column": 25 + "line": 41, + "column": 61 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -12890,66 +12893,64 @@ "postfix": false, "binop": null }, - "start": 866, - "end": 867, + "start": 1402, + "end": 1403, "loc": { "start": { - "line": 29, - "column": 0 + "line": 41, + "column": 61 }, "end": { - "line": 29, - "column": 1 + "line": 41, + "column": 62 } } }, { - "type": "CommentBlock", - "value": "*\n * A combination of 260-day cycles and the Haab cycle. This class should not\n * be instantiated directly, and should be accessed through getCalendarRound.\n * @see {getCalendarRound}\n * @example\n * let cr = new CalendarRound(4, \"Ajaw\", 8, \"Kumk'u\");\n ", - "start": 869, - "end": 1126, + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1404, + "end": 1405, "loc": { "start": { - "line": 31, - "column": 0 + "line": 41, + "column": 63 }, "end": { - "line": 37, - "column": 3 + "line": 41, + "column": 64 } } }, { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 1127, - "end": 1132, + "type": "CommentBlock", + "value": "*\n * 260-day cycle component of the Calendar Round\n * @type {Tzolkin}\n ", + "start": 1410, + "end": 1497, "loc": { "start": { - "line": 38, - "column": 0 + "line": 42, + "column": 4 }, "end": { - "line": 38, - "column": 5 + "line": 45, + "column": 7 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -12957,60 +12958,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "CalendarRound", - "start": 1133, - "end": 1146, + "value": "this", + "start": 1502, + "end": 1506, "loc": { "start": { - "line": 38, - "column": 6 + "line": 46, + "column": 4 }, "end": { - "line": 38, - "column": 19 + "line": 46, + "column": 8 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1147, - "end": 1148, - "loc": { - "start": { - "line": 38, - "column": 20 - }, - "end": { - "line": 38, - "column": 21 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @param {number} tzolkinCoeff Coefficient for the 260-day cycle\n * @param {string|TzolkinDay} tzolkinDay Name of the name in the 260-day cycle\n * @param {number} haabCoeff Day in the Haab month\n * @param {string|HaabMonth} haabMonth Name of the Haab month\n ", - "start": 1151, - "end": 1426, + "start": 1506, + "end": 1507, "loc": { "start": { - "line": 39, - "column": 2 + "line": 46, + "column": 8 }, "end": { - "line": 44, - "column": 5 + "line": 46, + "column": 9 } } }, @@ -13026,42 +13013,44 @@ "postfix": false, "binop": null }, - "value": "constructor", - "start": 1429, - "end": 1440, + "value": "tzolkin", + "start": 1507, + "end": 1514, "loc": { "start": { - "line": 45, - "column": 2 + "line": 46, + "column": 9 }, "end": { - "line": 45, - "column": 13 + "line": 46, + "column": 16 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1440, - "end": 1441, + "value": "=", + "start": 1515, + "end": 1516, "loc": { "start": { - "line": 45, - "column": 13 + "line": 46, + "column": 17 }, "end": { - "line": 45, - "column": 14 + "line": 46, + "column": 18 } } }, @@ -13077,24 +13066,24 @@ "postfix": false, "binop": null }, - "value": "tzolkinCoeff", - "start": 1441, - "end": 1453, + "value": "tzolkin", + "start": 1517, + "end": 1524, "loc": { "start": { - "line": 45, - "column": 14 + "line": 46, + "column": 19 }, "end": { - "line": 45, + "line": 46, "column": 26 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -13104,15 +13093,15 @@ "binop": null, "updateContext": null }, - "start": 1453, - "end": 1454, + "start": 1524, + "end": 1525, "loc": { "start": { - "line": 45, + "line": 46, "column": 26 }, "end": { - "line": 45, + "line": 46, "column": 27 } } @@ -13129,43 +13118,42 @@ "postfix": false, "binop": null }, - "value": "tzolkinDay", - "start": 1455, - "end": 1465, + "value": "getTzolkin", + "start": 1525, + "end": 1535, "loc": { "start": { - "line": 45, - "column": 28 + "line": 46, + "column": 27 }, "end": { - "line": 45, - "column": 38 + "line": 46, + "column": 37 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1465, - "end": 1466, + "start": 1535, + "end": 1536, "loc": { "start": { - "line": 45, - "column": 38 + "line": 46, + "column": 37 }, "end": { - "line": 45, - "column": 39 + "line": 46, + "column": 38 } } }, @@ -13181,17 +13169,17 @@ "postfix": false, "binop": null }, - "value": "haabCoeff", - "start": 1467, - "end": 1476, + "value": "tzolkinCoeff", + "start": 1536, + "end": 1548, "loc": { "start": { - "line": 45, - "column": 40 + "line": 46, + "column": 38 }, "end": { - "line": 45, - "column": 49 + "line": 46, + "column": 50 } } }, @@ -13208,16 +13196,16 @@ "binop": null, "updateContext": null }, - "start": 1476, - "end": 1477, + "start": 1548, + "end": 1549, "loc": { "start": { - "line": 45, - "column": 49 + "line": 46, + "column": 50 }, "end": { - "line": 45, - "column": 50 + "line": 46, + "column": 51 } } }, @@ -13233,17 +13221,17 @@ "postfix": false, "binop": null }, - "value": "haabMonth", - "start": 1478, - "end": 1487, + "value": "tzolkinDay", + "start": 1550, + "end": 1560, "loc": { "start": { - "line": 45, - "column": 51 + "line": 46, + "column": 52 }, "end": { - "line": 45, - "column": 60 + "line": 46, + "column": 62 } } }, @@ -13259,56 +13247,31 @@ "postfix": false, "binop": null }, - "start": 1487, - "end": 1488, - "loc": { - "start": { - "line": 45, - "column": 60 - }, - "end": { - "line": 45, - "column": 61 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1489, - "end": 1490, + "start": 1560, + "end": 1561, "loc": { "start": { - "line": 45, + "line": 46, "column": 62 }, "end": { - "line": 45, + "line": 46, "column": 63 } } }, { "type": "CommentBlock", - "value": "*\n * 260-day cycle component of the Calendar Round\n * @type {Tzolkin}\n ", - "start": 1495, - "end": 1582, + "value": "*\n * Haab cycle component of the Calendar Round\n * @type {Haab}\n ", + "start": 1566, + "end": 1647, "loc": { "start": { - "line": 46, + "line": 47, "column": 4 }, "end": { - "line": 49, + "line": 50, "column": 7 } } @@ -13328,15 +13291,15 @@ "updateContext": null }, "value": "this", - "start": 1587, - "end": 1591, + "start": 1652, + "end": 1656, "loc": { "start": { - "line": 50, + "line": 51, "column": 4 }, "end": { - "line": 50, + "line": 51, "column": 8 } } @@ -13354,15 +13317,15 @@ "binop": null, "updateContext": null }, - "start": 1591, - "end": 1592, + "start": 1656, + "end": 1657, "loc": { "start": { - "line": 50, + "line": 51, "column": 8 }, "end": { - "line": 50, + "line": 51, "column": 9 } } @@ -13379,17 +13342,17 @@ "postfix": false, "binop": null }, - "value": "tzolkin", - "start": 1592, - "end": 1599, + "value": "haab", + "start": 1657, + "end": 1661, "loc": { "start": { - "line": 50, + "line": 51, "column": 9 }, "end": { - "line": 50, - "column": 16 + "line": 51, + "column": 13 } } }, @@ -13407,16 +13370,16 @@ "updateContext": null }, "value": "=", - "start": 1600, - "end": 1601, + "start": 1662, + "end": 1663, "loc": { "start": { - "line": 50, - "column": 17 + "line": 51, + "column": 14 }, "end": { - "line": 50, - "column": 18 + "line": 51, + "column": 15 } } }, @@ -13432,17 +13395,17 @@ "postfix": false, "binop": null }, - "value": "tzolkin", - "start": 1602, - "end": 1609, + "value": "haab", + "start": 1664, + "end": 1668, "loc": { "start": { - "line": 50, - "column": 19 + "line": 51, + "column": 16 }, "end": { - "line": 50, - "column": 26 + "line": 51, + "column": 20 } } }, @@ -13459,16 +13422,16 @@ "binop": null, "updateContext": null }, - "start": 1609, - "end": 1610, + "start": 1668, + "end": 1669, "loc": { "start": { - "line": 50, - "column": 26 + "line": 51, + "column": 20 }, "end": { - "line": 50, - "column": 27 + "line": 51, + "column": 21 } } }, @@ -13484,17 +13447,17 @@ "postfix": false, "binop": null }, - "value": "getTzolkin", - "start": 1610, - "end": 1620, + "value": "getHaab", + "start": 1669, + "end": 1676, "loc": { "start": { - "line": 50, - "column": 27 + "line": 51, + "column": 21 }, "end": { - "line": 50, - "column": 37 + "line": 51, + "column": 28 } } }, @@ -13510,16 +13473,16 @@ "postfix": false, "binop": null }, - "start": 1620, - "end": 1621, + "start": 1676, + "end": 1677, "loc": { "start": { - "line": 50, - "column": 37 + "line": 51, + "column": 28 }, "end": { - "line": 50, - "column": 38 + "line": 51, + "column": 29 } } }, @@ -13535,17 +13498,17 @@ "postfix": false, "binop": null }, - "value": "tzolkinCoeff", - "start": 1621, - "end": 1633, + "value": "haabCoeff", + "start": 1677, + "end": 1686, "loc": { "start": { - "line": 50, - "column": 38 + "line": 51, + "column": 29 }, "end": { - "line": 50, - "column": 50 + "line": 51, + "column": 38 } } }, @@ -13562,16 +13525,16 @@ "binop": null, "updateContext": null }, - "start": 1633, - "end": 1634, + "start": 1686, + "end": 1687, "loc": { "start": { - "line": 50, - "column": 50 + "line": 51, + "column": 38 }, "end": { - "line": 50, - "column": 51 + "line": 51, + "column": 39 } } }, @@ -13587,17 +13550,17 @@ "postfix": false, "binop": null }, - "value": "tzolkinDay", - "start": 1635, - "end": 1645, + "value": "haabMonth", + "start": 1688, + "end": 1697, "loc": { "start": { - "line": 50, - "column": 52 + "line": 51, + "column": 40 }, "end": { - "line": 50, - "column": 62 + "line": 51, + "column": 49 } } }, @@ -13613,24 +13576,25 @@ "postfix": false, "binop": null }, - "start": 1645, - "end": 1646, + "start": 1697, + "end": 1698, "loc": { "start": { - "line": 50, - "column": 62 + "line": 51, + "column": 49 }, "end": { - "line": 50, - "column": 63 + "line": 51, + "column": 50 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13639,39 +13603,49 @@ "binop": null, "updateContext": null }, - "start": 1646, - "end": 1647, + "value": "this", + "start": 1704, + "end": 1708, "loc": { "start": { - "line": 50, - "column": 63 + "line": 53, + "column": 4 }, "end": { - "line": 50, - "column": 64 + "line": 53, + "column": 8 } } }, { - "type": "CommentBlock", - "value": "*\n * Haab cycle component of the Calendar Round\n * @type {Haab}\n ", - "start": 1652, - "end": 1733, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1708, + "end": 1709, "loc": { "start": { - "line": 51, - "column": 4 + "line": 53, + "column": 8 }, "end": { - "line": 54, - "column": 7 + "line": 53, + "column": 9 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -13679,54 +13653,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1738, - "end": 1742, + "value": "validate", + "start": 1709, + "end": 1717, "loc": { "start": { - "line": 55, - "column": 4 + "line": 53, + "column": 9 }, "end": { - "line": 55, - "column": 8 + "line": 53, + "column": 17 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1742, - "end": 1743, + "start": 1717, + "end": 1718, "loc": { "start": { - "line": 55, - "column": 8 + "line": 53, + "column": 17 }, "end": { - "line": 55, - "column": 9 + "line": 53, + "column": 18 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13734,44 +13706,57 @@ "postfix": false, "binop": null }, - "value": "haab", - "start": 1743, - "end": 1747, + "start": 1718, + "end": 1719, "loc": { "start": { - "line": 55, - "column": 9 + "line": 53, + "column": 18 }, "end": { - "line": 55, - "column": 13 + "line": 53, + "column": 19 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1748, - "end": 1749, + "start": 1722, + "end": 1723, "loc": { "start": { - "line": 55, - "column": 14 + "line": 54, + "column": 2 }, "end": { - "line": 55, - "column": 15 + "line": 54, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Validate that the Calendar Round has a correct 260-day and Haab\n * configuration\n * @throws {Error} If the Calendar Round is invalid.\n ", + "start": 1727, + "end": 1879, + "loc": { + "start": { + "line": 56, + "column": 2 + }, + "end": { + "line": 60, + "column": 5 } } }, @@ -13787,51 +13772,50 @@ "postfix": false, "binop": null }, - "value": "haab", - "start": 1750, - "end": 1754, + "value": "validate", + "start": 1882, + "end": 1890, "loc": { "start": { - "line": 55, - "column": 16 + "line": 61, + "column": 2 }, "end": { - "line": 55, - "column": 20 + "line": 61, + "column": 10 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1754, - "end": 1755, + "start": 1891, + "end": 1892, "loc": { "start": { - "line": 55, - "column": 20 + "line": 61, + "column": 11 }, "end": { - "line": 55, - "column": 21 + "line": 61, + "column": 12 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13839,23 +13823,22 @@ "postfix": false, "binop": null }, - "value": "getHaab", - "start": 1755, - "end": 1762, + "start": 1892, + "end": 1893, "loc": { "start": { - "line": 55, - "column": 21 + "line": 61, + "column": 12 }, "end": { - "line": 55, - "column": 28 + "line": 61, + "column": 13 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -13865,16 +13848,44 @@ "postfix": false, "binop": null }, - "start": 1762, - "end": 1763, + "start": 1894, + "end": 1895, "loc": { "start": { - "line": 55, - "column": 28 + "line": 61, + "column": 14 + }, + "end": { + "line": 61, + "column": 15 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 1900, + "end": 1903, + "loc": { + "start": { + "line": 62, + "column": 4 }, "end": { - "line": 55, - "column": 29 + "line": 62, + "column": 7 } } }, @@ -13890,75 +13901,76 @@ "postfix": false, "binop": null }, - "value": "haabCoeff", - "start": 1763, - "end": 1772, + "value": "validHaabCoeffs", + "start": 1904, + "end": 1919, "loc": { "start": { - "line": 55, - "column": 29 + "line": 62, + "column": 8 }, "end": { - "line": 55, - "column": 38 + "line": 62, + "column": 23 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1772, - "end": 1773, + "value": "=", + "start": 1920, + "end": 1921, "loc": { "start": { - "line": 55, - "column": 38 + "line": 62, + "column": 24 }, "end": { - "line": 55, - "column": 39 + "line": 62, + "column": 25 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "haabMonth", - "start": 1774, - "end": 1783, + "start": 1922, + "end": 1923, "loc": { "start": { - "line": 55, - "column": 40 + "line": 62, + "column": 26 }, "end": { - "line": 55, - "column": 49 + "line": 62, + "column": 27 } } }, { "type": { - "label": ")", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -13966,25 +13978,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1783, - "end": 1784, + "start": 1923, + "end": 1924, "loc": { "start": { - "line": 55, - "column": 49 + "line": 62, + "column": 27 }, "end": { - "line": 55, - "column": 50 + "line": 62, + "column": 28 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "if", + "keyword": "if", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -13994,52 +14008,50 @@ "binop": null, "updateContext": null }, - "start": 1784, - "end": 1785, + "value": "if", + "start": 1929, + "end": 1931, "loc": { "start": { - "line": 55, - "column": 50 + "line": 63, + "column": 4 }, "end": { - "line": 55, - "column": 51 + "line": 63, + "column": 6 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1791, - "end": 1795, + "start": 1932, + "end": 1933, "loc": { "start": { - "line": 57, - "column": 4 + "line": 63, + "column": 7 }, "end": { - "line": 57, + "line": 63, "column": 8 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14048,22 +14060,22 @@ "binop": null, "updateContext": null }, - "start": 1795, - "end": 1796, + "start": 1933, + "end": 1934, "loc": { "start": { - "line": 57, + "line": 63, "column": 8 }, "end": { - "line": 57, + "line": 63, "column": 9 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -14071,75 +14083,79 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "validate", - "start": 1796, - "end": 1804, + "value": "Kaban", + "start": 1941, + "end": 1948, "loc": { "start": { - "line": 57, - "column": 9 + "line": 64, + "column": 6 }, "end": { - "line": 57, - "column": 17 + "line": 64, + "column": 13 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1804, - "end": 1805, + "start": 1948, + "end": 1949, "loc": { "start": { - "line": 57, - "column": 17 + "line": 64, + "column": 13 }, "end": { - "line": 57, - "column": 18 + "line": 64, + "column": 14 } } }, { "type": { - "label": ")", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1805, - "end": 1806, + "value": "Ik'", + "start": 1950, + "end": 1956, "loc": { "start": { - "line": 57, - "column": 18 + "line": 64, + "column": 15 }, "end": { - "line": 57, - "column": 19 + "line": 64, + "column": 21 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -14150,165 +14166,154 @@ "binop": null, "updateContext": null }, - "start": 1806, - "end": 1807, + "start": 1956, + "end": 1957, "loc": { "start": { - "line": 57, - "column": 19 + "line": 64, + "column": 21 }, "end": { - "line": 57, - "column": 20 + "line": 64, + "column": 22 } } }, { "type": { - "label": "}", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1810, - "end": 1811, - "loc": { - "start": { - "line": 58, - "column": 2 - }, - "end": { - "line": 58, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Validate that the Calendar Round has a correct 260-day and Haab\n * configuration\n * @throws {Error} If the Calendar Round is invalid.\n ", - "start": 1815, + "value": "Manik'", + "start": 1958, "end": 1967, "loc": { "start": { - "line": 60, - "column": 2 + "line": 64, + "column": 23 }, "end": { "line": 64, - "column": 5 + "column": 32 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "validate", - "start": 1970, - "end": 1978, + "start": 1967, + "end": 1968, "loc": { "start": { - "line": 65, - "column": 2 + "line": 64, + "column": 32 }, "end": { - "line": 65, - "column": 10 + "line": 64, + "column": 33 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1978, - "end": 1979, + "value": "Eb", + "start": 1969, + "end": 1973, "loc": { "start": { - "line": 65, - "column": 10 + "line": 64, + "column": 34 }, "end": { - "line": 65, - "column": 11 + "line": 64, + "column": 38 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1979, - "end": 1980, + "start": 1973, + "end": 1974, "loc": { "start": { - "line": 65, - "column": 11 + "line": 64, + "column": 38 }, "end": { - "line": 65, - "column": 12 + "line": 64, + "column": 39 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "]", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1981, - "end": 1982, + "start": 1979, + "end": 1980, "loc": { "start": { "line": 65, - "column": 13 + "column": 4 }, "end": { "line": 65, - "column": 14 + "column": 5 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -14319,17 +14324,16 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 1987, - "end": 1990, + "start": 1980, + "end": 1981, "loc": { "start": { - "line": 66, - "column": 4 + "line": 65, + "column": 5 }, "end": { - "line": 66, - "column": 7 + "line": 65, + "column": 6 } } }, @@ -14345,51 +14349,50 @@ "postfix": false, "binop": null }, - "value": "validHaabCoeffs", - "start": 1991, - "end": 2006, + "value": "includes", + "start": 1981, + "end": 1989, "loc": { "start": { - "line": 66, - "column": 8 + "line": 65, + "column": 6 }, "end": { - "line": 66, - "column": 23 + "line": 65, + "column": 14 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 2007, - "end": 2008, + "start": 1989, + "end": 1990, "loc": { "start": { - "line": 66, - "column": 24 + "line": 65, + "column": 14 }, "end": { - "line": 66, - "column": 25 + "line": 65, + "column": 15 } } }, { "type": { - "label": "[", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -14399,22 +14402,23 @@ "binop": null, "updateContext": null }, - "start": 2009, - "end": 2010, + "value": "this", + "start": 1990, + "end": 1994, "loc": { "start": { - "line": 66, - "column": 26 + "line": 65, + "column": 15 }, "end": { - "line": 66, - "column": 27 + "line": 65, + "column": 19 } } }, { "type": { - "label": "]", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -14425,49 +14429,48 @@ "binop": null, "updateContext": null }, - "start": 2010, - "end": 2011, + "start": 1994, + "end": 1995, "loc": { "start": { - "line": 66, - "column": 27 + "line": 65, + "column": 19 }, "end": { - "line": 66, - "column": 28 + "line": 65, + "column": 20 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2011, - "end": 2012, + "value": "tzolkin", + "start": 1995, + "end": 2002, "loc": { "start": { - "line": 66, - "column": 28 + "line": 65, + "column": 20 }, "end": { - "line": 66, - "column": 29 + "line": 65, + "column": 27 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -14478,24 +14481,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 2017, - "end": 2019, + "start": 2002, + "end": 2003, "loc": { "start": { - "line": 67, - "column": 4 + "line": 65, + "column": 27 }, "end": { - "line": 67, - "column": 6 + "line": 65, + "column": 28 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -14504,101 +14506,98 @@ "postfix": false, "binop": null }, - "start": 2020, - "end": 2021, + "value": "name", + "start": 2003, + "end": 2007, "loc": { "start": { - "line": 67, - "column": 7 + "line": 65, + "column": 28 }, "end": { - "line": 67, - "column": 8 + "line": 65, + "column": 32 } } }, { "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2021, - "end": 2022, + "start": 2007, + "end": 2008, "loc": { "start": { - "line": 67, - "column": 8 + "line": 65, + "column": 32 }, "end": { - "line": 67, - "column": 9 + "line": 65, + "column": 33 } } }, { "type": { - "label": "string", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Kaban", - "start": 2029, - "end": 2036, + "start": 2008, + "end": 2009, "loc": { "start": { - "line": 68, - "column": 6 + "line": 65, + "column": 33 }, "end": { - "line": 68, - "column": 13 + "line": 65, + "column": 34 } } }, { "type": { - "label": ",", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2036, - "end": 2037, + "start": 2010, + "end": 2011, "loc": { "start": { - "line": 68, - "column": 13 + "line": 65, + "column": 35 }, "end": { - "line": 68, - "column": 14 + "line": 65, + "column": 36 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -14606,53 +14605,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Ik'", - "start": 2038, - "end": 2044, + "value": "validHaabCoeffs", + "start": 2018, + "end": 2033, "loc": { "start": { - "line": 68, - "column": 15 + "line": 66, + "column": 6 }, "end": { - "line": 68, + "line": 66, "column": 21 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 2044, - "end": 2045, + "value": "=", + "start": 2034, + "end": 2035, "loc": { "start": { - "line": 68, - "column": 21 + "line": 66, + "column": 22 }, "end": { - "line": 68, - "column": 22 + "line": 66, + "column": 23 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -14662,25 +14661,24 @@ "binop": null, "updateContext": null }, - "value": "Manik'", - "start": 2046, - "end": 2055, + "start": 2036, + "end": 2037, "loc": { "start": { - "line": 68, - "column": 23 + "line": 66, + "column": 24 }, "end": { - "line": 68, - "column": 32 + "line": 66, + "column": 25 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14689,24 +14687,25 @@ "binop": null, "updateContext": null }, - "start": 2055, - "end": 2056, + "value": 0, + "start": 2037, + "end": 2038, "loc": { "start": { - "line": 68, - "column": 32 + "line": 66, + "column": 25 }, "end": { - "line": 68, - "column": 33 + "line": 66, + "column": 26 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14715,25 +14714,24 @@ "binop": null, "updateContext": null }, - "value": "Eb", - "start": 2057, - "end": 2061, + "start": 2038, + "end": 2039, "loc": { "start": { - "line": 68, - "column": 34 + "line": 66, + "column": 26 }, "end": { - "line": 68, - "column": 38 + "line": 66, + "column": 27 } } }, { "type": { - "label": "]", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14742,23 +14740,24 @@ "binop": null, "updateContext": null }, - "start": 2066, - "end": 2067, + "value": 5, + "start": 2040, + "end": 2041, "loc": { "start": { - "line": 69, - "column": 4 + "line": 66, + "column": 28 }, "end": { - "line": 69, - "column": 5 + "line": 66, + "column": 29 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -14768,22 +14767,22 @@ "binop": null, "updateContext": null }, - "start": 2067, - "end": 2068, + "start": 2041, + "end": 2042, "loc": { "start": { - "line": 69, - "column": 5 + "line": 66, + "column": 29 }, "end": { - "line": 69, - "column": 6 + "line": 66, + "column": 30 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -14791,51 +14790,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "includes", - "start": 2068, - "end": 2076, + "value": 10, + "start": 2043, + "end": 2045, "loc": { "start": { - "line": 69, - "column": 6 + "line": 66, + "column": 31 }, "end": { - "line": 69, - "column": 14 + "line": 66, + "column": 33 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2076, - "end": 2077, + "start": 2045, + "end": 2046, "loc": { "start": { - "line": 69, - "column": 14 + "line": 66, + "column": 33 }, "end": { - "line": 69, - "column": 15 + "line": 66, + "column": 34 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -14846,23 +14846,23 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 2077, - "end": 2081, + "value": 15, + "start": 2047, + "end": 2049, "loc": { "start": { - "line": 69, - "column": 15 + "line": 66, + "column": 35 }, "end": { - "line": 69, - "column": 19 + "line": 66, + "column": 37 } } }, { "type": { - "label": ".", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -14873,24 +14873,24 @@ "binop": null, "updateContext": null }, - "start": 2081, - "end": 2082, + "start": 2049, + "end": 2050, "loc": { "start": { - "line": 69, - "column": 19 + "line": 66, + "column": 37 }, "end": { - "line": 69, - "column": 20 + "line": 66, + "column": 38 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14898,24 +14898,24 @@ "postfix": false, "binop": null }, - "value": "tzolkin", - "start": 2082, - "end": 2089, + "start": 2055, + "end": 2056, "loc": { "start": { - "line": 69, - "column": 20 + "line": 67, + "column": 4 }, "end": { - "line": 69, - "column": 27 + "line": 67, + "column": 5 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "else", + "keyword": "else", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -14925,50 +14925,53 @@ "binop": null, "updateContext": null }, - "start": 2089, - "end": 2090, + "value": "else", + "start": 2057, + "end": 2061, "loc": { "start": { - "line": 69, - "column": 27 + "line": 67, + "column": 6 }, "end": { - "line": 69, - "column": 28 + "line": 67, + "column": 10 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "name", - "start": 2090, - "end": 2094, + "value": "if", + "start": 2062, + "end": 2064, "loc": { "start": { - "line": 69, - "column": 28 + "line": 67, + "column": 11 }, "end": { - "line": 69, - "column": 32 + "line": 67, + "column": 13 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14976,127 +14979,130 @@ "postfix": false, "binop": null }, - "start": 2094, - "end": 2095, + "start": 2065, + "end": 2066, "loc": { "start": { - "line": 69, - "column": 32 + "line": 67, + "column": 14 }, "end": { - "line": 69, - "column": 33 + "line": 67, + "column": 15 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2095, - "end": 2096, + "start": 2066, + "end": 2067, "loc": { "start": { - "line": 69, - "column": 33 + "line": 67, + "column": 15 }, "end": { - "line": 69, - "column": 34 + "line": 67, + "column": 16 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2097, - "end": 2098, + "value": "Etz'nab", + "start": 2074, + "end": 2084, "loc": { "start": { - "line": 69, - "column": 35 + "line": 68, + "column": 6 }, "end": { - "line": 69, - "column": 36 + "line": 68, + "column": 16 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "validHaabCoeffs", - "start": 2105, - "end": 2120, + "start": 2084, + "end": 2085, "loc": { "start": { - "line": 70, - "column": 6 + "line": 68, + "column": 16 }, "end": { - "line": 70, - "column": 21 + "line": 68, + "column": 17 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 2121, - "end": 2122, + "value": "Ak'bal", + "start": 2086, + "end": 2095, "loc": { "start": { - "line": 70, - "column": 22 + "line": 68, + "column": 18 }, "end": { - "line": 70, - "column": 23 + "line": 68, + "column": 27 } } }, { "type": { - "label": "[", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15105,22 +15111,22 @@ "binop": null, "updateContext": null }, - "start": 2123, - "end": 2124, + "start": 2095, + "end": 2096, "loc": { "start": { - "line": 70, - "column": 24 + "line": 68, + "column": 27 }, "end": { - "line": 70, - "column": 25 + "line": 68, + "column": 28 } } }, { "type": { - "label": "num", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -15131,17 +15137,17 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 2124, - "end": 2125, + "value": "Lamat", + "start": 2097, + "end": 2104, "loc": { "start": { - "line": 70, - "column": 25 + "line": 68, + "column": 29 }, "end": { - "line": 70, - "column": 26 + "line": 68, + "column": 36 } } }, @@ -15158,22 +15164,22 @@ "binop": null, "updateContext": null }, - "start": 2125, - "end": 2126, + "start": 2104, + "end": 2105, "loc": { "start": { - "line": 70, - "column": 26 + "line": 68, + "column": 36 }, "end": { - "line": 70, - "column": 27 + "line": 68, + "column": 37 } } }, { "type": { - "label": "num", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -15184,17 +15190,17 @@ "binop": null, "updateContext": null }, - "value": 5, - "start": 2127, - "end": 2128, + "value": "Ben", + "start": 2106, + "end": 2111, "loc": { "start": { - "line": 70, - "column": 28 + "line": 68, + "column": 38 }, "end": { - "line": 70, - "column": 29 + "line": 68, + "column": 43 } } }, @@ -15211,24 +15217,24 @@ "binop": null, "updateContext": null }, - "start": 2128, - "end": 2129, + "start": 2111, + "end": 2112, "loc": { "start": { - "line": 70, - "column": 29 + "line": 68, + "column": 43 }, "end": { - "line": 70, - "column": 30 + "line": 68, + "column": 44 } } }, { "type": { - "label": "num", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15237,24 +15243,23 @@ "binop": null, "updateContext": null }, - "value": 10, - "start": 2130, - "end": 2132, + "start": 2117, + "end": 2118, "loc": { "start": { - "line": 70, - "column": 31 + "line": 69, + "column": 4 }, "end": { - "line": 70, - "column": 33 + "line": 69, + "column": 5 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -15264,22 +15269,22 @@ "binop": null, "updateContext": null }, - "start": 2132, - "end": 2133, + "start": 2118, + "end": 2119, "loc": { "start": { - "line": 70, - "column": 33 + "line": 69, + "column": 5 }, "end": { - "line": 70, - "column": 34 + "line": 69, + "column": 6 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -15287,54 +15292,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 15, - "start": 2134, - "end": 2136, + "value": "includes", + "start": 2119, + "end": 2127, "loc": { - "start": { - "line": 70, - "column": 35 + "start": { + "line": 69, + "column": 6 }, "end": { - "line": 70, - "column": 37 + "line": 69, + "column": 14 } } }, { "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2136, - "end": 2137, + "start": 2127, + "end": 2128, "loc": { "start": { - "line": 70, - "column": 37 + "line": 69, + "column": 14 }, "end": { - "line": 70, - "column": 38 + "line": 69, + "column": 15 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15343,22 +15347,23 @@ "binop": null, "updateContext": null }, - "start": 2137, - "end": 2138, + "value": "this", + "start": 2128, + "end": 2132, "loc": { "start": { - "line": 70, - "column": 38 + "line": 69, + "column": 15 }, "end": { - "line": 70, - "column": 39 + "line": 69, + "column": 19 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -15366,53 +15371,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2143, - "end": 2144, + "start": 2132, + "end": 2133, "loc": { "start": { - "line": 71, - "column": 4 + "line": 69, + "column": 19 }, "end": { - "line": 71, - "column": 5 + "line": 69, + "column": 20 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "else", - "start": 2145, - "end": 2149, + "value": "tzolkin", + "start": 2133, + "end": 2140, "loc": { "start": { - "line": 71, - "column": 6 + "line": 69, + "column": 20 }, "end": { - "line": 71, - "column": 10 + "line": 69, + "column": 27 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -15423,24 +15426,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 2150, - "end": 2152, + "start": 2140, + "end": 2141, "loc": { "start": { - "line": 71, - "column": 11 + "line": 69, + "column": 27 }, "end": { - "line": 71, - "column": 13 + "line": 69, + "column": 28 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -15449,101 +15451,98 @@ "postfix": false, "binop": null }, - "start": 2153, - "end": 2154, + "value": "name", + "start": 2141, + "end": 2145, "loc": { "start": { - "line": 71, - "column": 14 + "line": 69, + "column": 28 }, "end": { - "line": 71, - "column": 15 + "line": 69, + "column": 32 } } }, { "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2154, - "end": 2155, + "start": 2145, + "end": 2146, "loc": { "start": { - "line": 71, - "column": 15 + "line": 69, + "column": 32 }, "end": { - "line": 71, - "column": 16 + "line": 69, + "column": 33 } } }, { "type": { - "label": "string", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Etz'nab", - "start": 2162, - "end": 2172, + "start": 2146, + "end": 2147, "loc": { "start": { - "line": 72, - "column": 6 + "line": 69, + "column": 33 }, "end": { - "line": 72, - "column": 16 + "line": 69, + "column": 34 } } }, { "type": { - "label": ",", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2172, - "end": 2173, + "start": 2148, + "end": 2149, "loc": { "start": { - "line": 72, - "column": 16 + "line": 69, + "column": 35 }, "end": { - "line": 72, - "column": 17 + "line": 69, + "column": 36 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -15551,53 +15550,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Ak'bal", - "start": 2174, - "end": 2183, + "value": "validHaabCoeffs", + "start": 2156, + "end": 2171, "loc": { "start": { - "line": 72, - "column": 18 + "line": 70, + "column": 6 }, "end": { - "line": 72, - "column": 27 + "line": 70, + "column": 21 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 2183, - "end": 2184, + "value": "=", + "start": 2172, + "end": 2173, "loc": { "start": { - "line": 72, - "column": 27 + "line": 70, + "column": 22 }, "end": { - "line": 72, - "column": 28 + "line": 70, + "column": 23 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -15607,25 +15606,24 @@ "binop": null, "updateContext": null }, - "value": "Lamat", - "start": 2185, - "end": 2192, + "start": 2174, + "end": 2175, "loc": { "start": { - "line": 72, - "column": 29 + "line": 70, + "column": 24 }, "end": { - "line": 72, - "column": 36 + "line": 70, + "column": 25 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15634,24 +15632,25 @@ "binop": null, "updateContext": null }, - "start": 2192, - "end": 2193, + "value": 1, + "start": 2175, + "end": 2176, "loc": { "start": { - "line": 72, - "column": 36 + "line": 70, + "column": 25 }, "end": { - "line": 72, - "column": 37 + "line": 70, + "column": 26 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15660,25 +15659,24 @@ "binop": null, "updateContext": null }, - "value": "Ben", - "start": 2194, - "end": 2199, + "start": 2176, + "end": 2177, "loc": { "start": { - "line": 72, - "column": 38 + "line": 70, + "column": 26 }, "end": { - "line": 72, - "column": 43 + "line": 70, + "column": 27 } } }, { "type": { - "label": "]", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15687,23 +15685,24 @@ "binop": null, "updateContext": null }, - "start": 2204, - "end": 2205, + "value": 6, + "start": 2178, + "end": 2179, "loc": { "start": { - "line": 73, - "column": 4 + "line": 70, + "column": 28 }, "end": { - "line": 73, - "column": 5 + "line": 70, + "column": 29 } } }, { - "type": { - "label": ".", - "beforeExpr": false, + "type": { + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -15713,22 +15712,22 @@ "binop": null, "updateContext": null }, - "start": 2205, - "end": 2206, + "start": 2179, + "end": 2180, "loc": { "start": { - "line": 73, - "column": 5 + "line": 70, + "column": 29 }, "end": { - "line": 73, - "column": 6 + "line": 70, + "column": 30 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -15736,51 +15735,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "includes", - "start": 2206, - "end": 2214, + "value": 11, + "start": 2181, + "end": 2183, "loc": { "start": { - "line": 73, - "column": 6 + "line": 70, + "column": 31 }, "end": { - "line": 73, - "column": 14 + "line": 70, + "column": 33 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2214, - "end": 2215, + "start": 2183, + "end": 2184, "loc": { "start": { - "line": 73, - "column": 14 + "line": 70, + "column": 33 }, "end": { - "line": 73, - "column": 15 + "line": 70, + "column": 34 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -15791,23 +15791,23 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 2215, - "end": 2219, + "value": 16, + "start": 2185, + "end": 2187, "loc": { "start": { - "line": 73, - "column": 15 + "line": 70, + "column": 35 }, "end": { - "line": 73, - "column": 19 + "line": 70, + "column": 37 } } }, { "type": { - "label": ".", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -15818,24 +15818,24 @@ "binop": null, "updateContext": null }, - "start": 2219, - "end": 2220, + "start": 2187, + "end": 2188, "loc": { "start": { - "line": 73, - "column": 19 + "line": 70, + "column": 37 }, "end": { - "line": 73, - "column": 20 + "line": 70, + "column": 38 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15843,24 +15843,24 @@ "postfix": false, "binop": null }, - "value": "tzolkin", - "start": 2220, - "end": 2227, + "start": 2193, + "end": 2194, "loc": { "start": { - "line": 73, - "column": 20 + "line": 71, + "column": 4 }, "end": { - "line": 73, - "column": 27 + "line": 71, + "column": 5 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "else", + "keyword": "else", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -15870,50 +15870,53 @@ "binop": null, "updateContext": null }, - "start": 2227, - "end": 2228, + "value": "else", + "start": 2195, + "end": 2199, "loc": { "start": { - "line": 73, - "column": 27 + "line": 71, + "column": 6 }, "end": { - "line": 73, - "column": 28 + "line": 71, + "column": 10 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "name", - "start": 2228, - "end": 2232, + "value": "if", + "start": 2200, + "end": 2202, "loc": { "start": { - "line": 73, - "column": 28 + "line": 71, + "column": 11 }, "end": { - "line": 73, - "column": 32 + "line": 71, + "column": 13 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15921,127 +15924,130 @@ "postfix": false, "binop": null }, - "start": 2232, - "end": 2233, + "start": 2203, + "end": 2204, "loc": { "start": { - "line": 73, - "column": 32 + "line": 71, + "column": 14 }, "end": { - "line": 73, - "column": 33 + "line": 71, + "column": 15 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2233, - "end": 2234, + "start": 2204, + "end": 2205, "loc": { "start": { - "line": 73, - "column": 33 + "line": 71, + "column": 15 }, "end": { - "line": 73, - "column": 34 + "line": 71, + "column": 16 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2235, - "end": 2236, + "value": "Kawak", + "start": 2212, + "end": 2219, "loc": { "start": { - "line": 73, - "column": 35 + "line": 72, + "column": 6 }, "end": { - "line": 73, - "column": 36 + "line": 72, + "column": 13 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "validHaabCoeffs", - "start": 2243, - "end": 2258, + "start": 2219, + "end": 2220, "loc": { "start": { - "line": 74, - "column": 6 + "line": 72, + "column": 13 }, "end": { - "line": 74, - "column": 21 + "line": 72, + "column": 14 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 2259, - "end": 2260, + "value": "K'an", + "start": 2221, + "end": 2228, "loc": { "start": { - "line": 74, - "column": 22 + "line": 72, + "column": 15 }, "end": { - "line": 74, - "column": 23 + "line": 72, + "column": 22 } } }, { "type": { - "label": "[", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16050,22 +16056,22 @@ "binop": null, "updateContext": null }, - "start": 2261, - "end": 2262, + "start": 2228, + "end": 2229, "loc": { "start": { - "line": 74, - "column": 24 + "line": 72, + "column": 22 }, "end": { - "line": 74, - "column": 25 + "line": 72, + "column": 23 } } }, { "type": { - "label": "num", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -16076,17 +16082,17 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 2262, - "end": 2263, + "value": "Muluk", + "start": 2230, + "end": 2237, "loc": { "start": { - "line": 74, - "column": 25 + "line": 72, + "column": 24 }, "end": { - "line": 74, - "column": 26 + "line": 72, + "column": 31 } } }, @@ -16103,22 +16109,22 @@ "binop": null, "updateContext": null }, - "start": 2263, - "end": 2264, + "start": 2237, + "end": 2238, "loc": { "start": { - "line": 74, - "column": 26 + "line": 72, + "column": 31 }, "end": { - "line": 74, - "column": 27 + "line": 72, + "column": 32 } } }, { "type": { - "label": "num", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -16129,17 +16135,17 @@ "binop": null, "updateContext": null }, - "value": 6, - "start": 2265, - "end": 2266, + "value": "Ix", + "start": 2239, + "end": 2243, "loc": { "start": { - "line": 74, - "column": 28 + "line": 72, + "column": 33 }, "end": { - "line": 74, - "column": 29 + "line": 72, + "column": 37 } } }, @@ -16156,24 +16162,24 @@ "binop": null, "updateContext": null }, - "start": 2266, - "end": 2267, + "start": 2243, + "end": 2244, "loc": { "start": { - "line": 74, - "column": 29 + "line": 72, + "column": 37 }, "end": { - "line": 74, - "column": 30 + "line": 72, + "column": 38 } } }, { "type": { - "label": "num", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16182,24 +16188,23 @@ "binop": null, "updateContext": null }, - "value": 11, - "start": 2268, - "end": 2270, + "start": 2249, + "end": 2250, "loc": { "start": { - "line": 74, - "column": 31 + "line": 73, + "column": 4 }, "end": { - "line": 74, - "column": 33 + "line": 73, + "column": 5 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -16209,22 +16214,22 @@ "binop": null, "updateContext": null }, - "start": 2270, - "end": 2271, + "start": 2250, + "end": 2251, "loc": { "start": { - "line": 74, - "column": 33 + "line": 73, + "column": 5 }, "end": { - "line": 74, - "column": 34 + "line": 73, + "column": 6 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -16232,54 +16237,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 16, - "start": 2272, - "end": 2274, + "value": "includes", + "start": 2251, + "end": 2259, "loc": { "start": { - "line": 74, - "column": 35 + "line": 73, + "column": 6 }, "end": { - "line": 74, - "column": 37 + "line": 73, + "column": 14 } } }, { "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2274, - "end": 2275, + "start": 2259, + "end": 2260, "loc": { "start": { - "line": 74, - "column": 37 + "line": 73, + "column": 14 }, "end": { - "line": 74, - "column": 38 + "line": 73, + "column": 15 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16288,22 +16292,23 @@ "binop": null, "updateContext": null }, - "start": 2275, - "end": 2276, + "value": "this", + "start": 2260, + "end": 2264, "loc": { "start": { - "line": 74, - "column": 38 + "line": 73, + "column": 15 }, "end": { - "line": 74, - "column": 39 + "line": 73, + "column": 19 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -16311,53 +16316,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2281, - "end": 2282, + "start": 2264, + "end": 2265, "loc": { "start": { - "line": 75, - "column": 4 + "line": 73, + "column": 19 }, "end": { - "line": 75, - "column": 5 + "line": 73, + "column": 20 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "else", - "start": 2283, - "end": 2287, + "value": "tzolkin", + "start": 2265, + "end": 2272, "loc": { "start": { - "line": 75, - "column": 6 + "line": 73, + "column": 20 }, "end": { - "line": 75, - "column": 10 + "line": 73, + "column": 27 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -16368,24 +16371,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 2288, - "end": 2290, + "start": 2272, + "end": 2273, "loc": { "start": { - "line": 75, - "column": 11 + "line": 73, + "column": 27 }, "end": { - "line": 75, - "column": 13 + "line": 73, + "column": 28 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -16394,101 +16396,98 @@ "postfix": false, "binop": null }, - "start": 2291, - "end": 2292, + "value": "name", + "start": 2273, + "end": 2277, "loc": { "start": { - "line": 75, - "column": 14 + "line": 73, + "column": 28 }, "end": { - "line": 75, - "column": 15 + "line": 73, + "column": 32 } } }, { "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2292, - "end": 2293, + "start": 2277, + "end": 2278, "loc": { "start": { - "line": 75, - "column": 15 + "line": 73, + "column": 32 }, "end": { - "line": 75, - "column": 16 + "line": 73, + "column": 33 } } }, { "type": { - "label": "string", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Kawak", - "start": 2300, - "end": 2307, + "start": 2278, + "end": 2279, "loc": { "start": { - "line": 76, - "column": 6 + "line": 73, + "column": 33 }, "end": { - "line": 76, - "column": 13 + "line": 73, + "column": 34 } } }, { "type": { - "label": ",", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2307, - "end": 2308, + "start": 2280, + "end": 2281, "loc": { "start": { - "line": 76, - "column": 13 + "line": 73, + "column": 35 }, "end": { - "line": 76, - "column": 14 + "line": 73, + "column": 36 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -16496,53 +16495,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "K'an", - "start": 2309, - "end": 2316, + "value": "validHaabCoeffs", + "start": 2288, + "end": 2303, "loc": { "start": { - "line": 76, - "column": 15 + "line": 74, + "column": 6 }, "end": { - "line": 76, - "column": 22 + "line": 74, + "column": 21 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 2316, - "end": 2317, + "value": "=", + "start": 2304, + "end": 2305, "loc": { "start": { - "line": 76, + "line": 74, "column": 22 }, "end": { - "line": 76, + "line": 74, "column": 23 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -16552,25 +16551,24 @@ "binop": null, "updateContext": null }, - "value": "Muluk", - "start": 2318, - "end": 2325, + "start": 2306, + "end": 2307, "loc": { "start": { - "line": 76, + "line": 74, "column": 24 }, "end": { - "line": 76, - "column": 31 + "line": 74, + "column": 25 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16579,24 +16577,25 @@ "binop": null, "updateContext": null }, - "start": 2325, - "end": 2326, + "value": 2, + "start": 2307, + "end": 2308, "loc": { "start": { - "line": 76, - "column": 31 + "line": 74, + "column": 25 }, "end": { - "line": 76, - "column": 32 + "line": 74, + "column": 26 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16605,25 +16604,24 @@ "binop": null, "updateContext": null }, - "value": "Ix", - "start": 2327, - "end": 2331, + "start": 2308, + "end": 2309, "loc": { "start": { - "line": 76, - "column": 33 + "line": 74, + "column": 26 }, "end": { - "line": 76, - "column": 37 + "line": 74, + "column": 27 } } }, { "type": { - "label": "]", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16632,23 +16630,24 @@ "binop": null, "updateContext": null }, - "start": 2336, - "end": 2337, + "value": 7, + "start": 2310, + "end": 2311, "loc": { "start": { - "line": 77, - "column": 4 + "line": 74, + "column": 28 }, "end": { - "line": 77, - "column": 5 + "line": 74, + "column": 29 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -16658,22 +16657,22 @@ "binop": null, "updateContext": null }, - "start": 2337, - "end": 2338, + "start": 2311, + "end": 2312, "loc": { "start": { - "line": 77, - "column": 5 + "line": 74, + "column": 29 }, "end": { - "line": 77, - "column": 6 + "line": 74, + "column": 30 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -16681,51 +16680,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "includes", - "start": 2338, - "end": 2346, + "value": 12, + "start": 2313, + "end": 2315, "loc": { "start": { - "line": 77, - "column": 6 + "line": 74, + "column": 31 }, "end": { - "line": 77, - "column": 14 + "line": 74, + "column": 33 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2346, - "end": 2347, + "start": 2315, + "end": 2316, "loc": { "start": { - "line": 77, - "column": 14 + "line": 74, + "column": 33 }, "end": { - "line": 77, - "column": 15 + "line": 74, + "column": 34 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -16736,23 +16736,23 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 2347, - "end": 2351, + "value": 17, + "start": 2317, + "end": 2319, "loc": { "start": { - "line": 77, - "column": 15 + "line": 74, + "column": 35 }, "end": { - "line": 77, - "column": 19 + "line": 74, + "column": 37 } } }, { "type": { - "label": ".", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -16763,24 +16763,24 @@ "binop": null, "updateContext": null }, - "start": 2351, - "end": 2352, + "start": 2319, + "end": 2320, "loc": { "start": { - "line": 77, - "column": 19 + "line": 74, + "column": 37 }, "end": { - "line": 77, - "column": 20 + "line": 74, + "column": 38 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16788,24 +16788,24 @@ "postfix": false, "binop": null }, - "value": "tzolkin", - "start": 2352, - "end": 2359, + "start": 2325, + "end": 2326, "loc": { "start": { - "line": 77, - "column": 20 + "line": 75, + "column": 4 }, "end": { - "line": 77, - "column": 27 + "line": 75, + "column": 5 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "else", + "keyword": "else", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -16815,50 +16815,53 @@ "binop": null, "updateContext": null }, - "start": 2359, - "end": 2360, + "value": "else", + "start": 2327, + "end": 2331, "loc": { "start": { - "line": 77, - "column": 27 + "line": 75, + "column": 6 }, "end": { - "line": 77, - "column": 28 + "line": 75, + "column": 10 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "name", - "start": 2360, - "end": 2364, + "value": "if", + "start": 2332, + "end": 2334, "loc": { "start": { - "line": 77, - "column": 28 + "line": 75, + "column": 11 }, "end": { - "line": 77, - "column": 32 + "line": 75, + "column": 13 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16866,127 +16869,130 @@ "postfix": false, "binop": null }, - "start": 2364, - "end": 2365, + "start": 2335, + "end": 2336, "loc": { "start": { - "line": 77, - "column": 32 + "line": 75, + "column": 14 }, "end": { - "line": 77, - "column": 33 + "line": 75, + "column": 15 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2365, - "end": 2366, + "start": 2336, + "end": 2337, "loc": { "start": { - "line": 77, - "column": 33 + "line": 75, + "column": 15 }, "end": { - "line": 77, - "column": 34 + "line": 75, + "column": 16 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2367, - "end": 2368, + "value": "Ajaw", + "start": 2344, + "end": 2350, "loc": { "start": { - "line": 77, - "column": 35 + "line": 76, + "column": 6 }, "end": { - "line": 77, - "column": 36 + "line": 76, + "column": 12 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "validHaabCoeffs", - "start": 2375, - "end": 2390, + "start": 2350, + "end": 2351, "loc": { "start": { - "line": 78, - "column": 6 + "line": 76, + "column": 12 }, "end": { - "line": 78, - "column": 21 + "line": 76, + "column": 13 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 2391, - "end": 2392, + "value": "Chikchan", + "start": 2352, + "end": 2362, "loc": { "start": { - "line": 78, - "column": 22 + "line": 76, + "column": 14 }, "end": { - "line": 78, - "column": 23 + "line": 76, + "column": 24 } } }, { "type": { - "label": "[", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16995,22 +17001,22 @@ "binop": null, "updateContext": null }, - "start": 2393, - "end": 2394, + "start": 2362, + "end": 2363, "loc": { "start": { - "line": 78, + "line": 76, "column": 24 }, "end": { - "line": 78, + "line": 76, "column": 25 } } }, { "type": { - "label": "num", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -17021,17 +17027,17 @@ "binop": null, "updateContext": null }, - "value": 2, - "start": 2394, - "end": 2395, + "value": "Ok", + "start": 2364, + "end": 2368, "loc": { "start": { - "line": 78, - "column": 25 + "line": 76, + "column": 26 }, "end": { - "line": 78, - "column": 26 + "line": 76, + "column": 30 } } }, @@ -17048,22 +17054,22 @@ "binop": null, "updateContext": null }, - "start": 2395, - "end": 2396, + "start": 2368, + "end": 2369, "loc": { "start": { - "line": 78, - "column": 26 + "line": 76, + "column": 30 }, "end": { - "line": 78, - "column": 27 + "line": 76, + "column": 31 } } }, { "type": { - "label": "num", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -17074,17 +17080,17 @@ "binop": null, "updateContext": null }, - "value": 7, - "start": 2397, - "end": 2398, + "value": "Men", + "start": 2370, + "end": 2375, "loc": { "start": { - "line": 78, - "column": 28 + "line": 76, + "column": 32 }, "end": { - "line": 78, - "column": 29 + "line": 76, + "column": 37 } } }, @@ -17101,24 +17107,24 @@ "binop": null, "updateContext": null }, - "start": 2398, - "end": 2399, + "start": 2375, + "end": 2376, "loc": { "start": { - "line": 78, - "column": 29 + "line": 76, + "column": 37 }, "end": { - "line": 78, - "column": 30 + "line": 76, + "column": 38 } } }, { "type": { - "label": "num", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17127,24 +17133,23 @@ "binop": null, "updateContext": null }, - "value": 12, - "start": 2400, - "end": 2402, + "start": 2381, + "end": 2382, "loc": { "start": { - "line": 78, - "column": 31 + "line": 77, + "column": 4 }, "end": { - "line": 78, - "column": 33 + "line": 77, + "column": 5 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -17154,22 +17159,22 @@ "binop": null, "updateContext": null }, - "start": 2402, - "end": 2403, + "start": 2382, + "end": 2383, "loc": { "start": { - "line": 78, - "column": 33 + "line": 77, + "column": 5 }, "end": { - "line": 78, - "column": 34 + "line": 77, + "column": 6 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -17177,54 +17182,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 17, - "start": 2404, - "end": 2406, + "value": "includes", + "start": 2383, + "end": 2391, "loc": { "start": { - "line": 78, - "column": 35 + "line": 77, + "column": 6 }, "end": { - "line": 78, - "column": 37 + "line": 77, + "column": 14 } } }, { "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2406, - "end": 2407, + "start": 2391, + "end": 2392, "loc": { "start": { - "line": 78, - "column": 37 + "line": 77, + "column": 14 }, "end": { - "line": 78, - "column": 38 + "line": 77, + "column": 15 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17233,22 +17237,23 @@ "binop": null, "updateContext": null }, - "start": 2407, - "end": 2408, + "value": "this", + "start": 2392, + "end": 2396, "loc": { "start": { - "line": 78, - "column": 38 + "line": 77, + "column": 15 }, "end": { - "line": 78, - "column": 39 + "line": 77, + "column": 19 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -17256,53 +17261,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2413, - "end": 2414, + "start": 2396, + "end": 2397, "loc": { "start": { - "line": 79, - "column": 4 + "line": 77, + "column": 19 }, "end": { - "line": 79, - "column": 5 + "line": 77, + "column": 20 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "else", - "start": 2415, - "end": 2419, + "value": "tzolkin", + "start": 2397, + "end": 2404, "loc": { "start": { - "line": 79, - "column": 6 + "line": 77, + "column": 20 }, "end": { - "line": 79, - "column": 10 + "line": 77, + "column": 27 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -17313,24 +17316,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 2420, - "end": 2422, + "start": 2404, + "end": 2405, "loc": { "start": { - "line": 79, - "column": 11 + "line": 77, + "column": 27 }, "end": { - "line": 79, - "column": 13 + "line": 77, + "column": 28 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -17339,101 +17341,98 @@ "postfix": false, "binop": null }, - "start": 2423, - "end": 2424, + "value": "name", + "start": 2405, + "end": 2409, "loc": { "start": { - "line": 79, - "column": 14 + "line": 77, + "column": 28 }, "end": { - "line": 79, - "column": 15 + "line": 77, + "column": 32 } } }, { "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2424, - "end": 2425, + "start": 2409, + "end": 2410, "loc": { "start": { - "line": 79, - "column": 15 + "line": 77, + "column": 32 }, "end": { - "line": 79, - "column": 16 + "line": 77, + "column": 33 } } }, { "type": { - "label": "string", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Ajaw", - "start": 2432, - "end": 2438, + "start": 2410, + "end": 2411, "loc": { "start": { - "line": 80, - "column": 6 + "line": 77, + "column": 33 }, "end": { - "line": 80, - "column": 12 + "line": 77, + "column": 34 } } }, { "type": { - "label": ",", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2438, - "end": 2439, + "start": 2412, + "end": 2413, "loc": { "start": { - "line": 80, - "column": 12 + "line": 77, + "column": 35 }, "end": { - "line": 80, - "column": 13 + "line": 77, + "column": 36 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -17441,53 +17440,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Chikchan", - "start": 2440, - "end": 2450, + "value": "validHaabCoeffs", + "start": 2420, + "end": 2435, "loc": { "start": { - "line": 80, - "column": 14 + "line": 78, + "column": 6 }, "end": { - "line": 80, - "column": 24 + "line": 78, + "column": 21 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 2450, - "end": 2451, + "value": "=", + "start": 2436, + "end": 2437, "loc": { "start": { - "line": 80, - "column": 24 + "line": 78, + "column": 22 }, "end": { - "line": 80, - "column": 25 + "line": 78, + "column": 23 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -17497,25 +17496,24 @@ "binop": null, "updateContext": null }, - "value": "Ok", - "start": 2452, - "end": 2456, + "start": 2438, + "end": 2439, "loc": { "start": { - "line": 80, - "column": 26 + "line": 78, + "column": 24 }, "end": { - "line": 80, - "column": 30 + "line": 78, + "column": 25 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17524,24 +17522,25 @@ "binop": null, "updateContext": null }, - "start": 2456, - "end": 2457, + "value": 3, + "start": 2439, + "end": 2440, "loc": { "start": { - "line": 80, - "column": 30 + "line": 78, + "column": 25 }, "end": { - "line": 80, - "column": 31 + "line": 78, + "column": 26 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17550,25 +17549,24 @@ "binop": null, "updateContext": null }, - "value": "Men", - "start": 2458, - "end": 2463, + "start": 2440, + "end": 2441, "loc": { "start": { - "line": 80, - "column": 32 + "line": 78, + "column": 26 }, "end": { - "line": 80, - "column": 37 + "line": 78, + "column": 27 } } }, { "type": { - "label": "]", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17577,23 +17575,24 @@ "binop": null, "updateContext": null }, - "start": 2468, - "end": 2469, + "value": 8, + "start": 2442, + "end": 2443, "loc": { "start": { - "line": 81, - "column": 4 + "line": 78, + "column": 28 }, "end": { - "line": 81, - "column": 5 + "line": 78, + "column": 29 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -17603,22 +17602,22 @@ "binop": null, "updateContext": null }, - "start": 2469, - "end": 2470, + "start": 2443, + "end": 2444, "loc": { "start": { - "line": 81, - "column": 5 + "line": 78, + "column": 29 }, "end": { - "line": 81, - "column": 6 + "line": 78, + "column": 30 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -17626,51 +17625,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "includes", - "start": 2470, - "end": 2478, + "value": 13, + "start": 2445, + "end": 2447, "loc": { "start": { - "line": 81, - "column": 6 + "line": 78, + "column": 31 }, "end": { - "line": 81, - "column": 14 + "line": 78, + "column": 33 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2478, - "end": 2479, + "start": 2447, + "end": 2448, "loc": { "start": { - "line": 81, - "column": 14 + "line": 78, + "column": 33 }, "end": { - "line": 81, - "column": 15 + "line": 78, + "column": 34 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -17681,23 +17681,23 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 2479, - "end": 2483, + "value": 18, + "start": 2449, + "end": 2451, "loc": { "start": { - "line": 81, - "column": 15 + "line": 78, + "column": 35 }, "end": { - "line": 81, - "column": 19 + "line": 78, + "column": 37 } } }, { "type": { - "label": ".", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -17708,24 +17708,24 @@ "binop": null, "updateContext": null }, - "start": 2483, - "end": 2484, + "start": 2451, + "end": 2452, "loc": { "start": { - "line": 81, - "column": 19 + "line": 78, + "column": 37 }, "end": { - "line": 81, - "column": 20 + "line": 78, + "column": 38 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17733,24 +17733,24 @@ "postfix": false, "binop": null }, - "value": "tzolkin", - "start": 2484, - "end": 2491, + "start": 2457, + "end": 2458, "loc": { "start": { - "line": 81, - "column": 20 + "line": 79, + "column": 4 }, "end": { - "line": 81, - "column": 27 + "line": 79, + "column": 5 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "else", + "keyword": "else", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -17760,50 +17760,53 @@ "binop": null, "updateContext": null }, - "start": 2491, - "end": 2492, + "value": "else", + "start": 2459, + "end": 2463, "loc": { "start": { - "line": 81, - "column": 27 + "line": 79, + "column": 6 }, "end": { - "line": 81, - "column": 28 + "line": 79, + "column": 10 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "name", - "start": 2492, - "end": 2496, + "value": "if", + "start": 2464, + "end": 2466, "loc": { "start": { - "line": 81, - "column": 28 + "line": 79, + "column": 11 }, "end": { - "line": 81, - "column": 32 + "line": 79, + "column": 13 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17811,127 +17814,130 @@ "postfix": false, "binop": null }, - "start": 2496, - "end": 2497, + "start": 2467, + "end": 2468, "loc": { "start": { - "line": 81, - "column": 32 + "line": 79, + "column": 14 }, "end": { - "line": 81, - "column": 33 + "line": 79, + "column": 15 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2497, - "end": 2498, + "start": 2468, + "end": 2469, "loc": { "start": { - "line": 81, - "column": 33 + "line": 79, + "column": 15 }, "end": { - "line": 81, - "column": 34 + "line": 79, + "column": 16 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2499, - "end": 2500, + "value": "Imix", + "start": 2476, + "end": 2482, "loc": { "start": { - "line": 81, - "column": 35 + "line": 80, + "column": 6 }, "end": { - "line": 81, - "column": 36 + "line": 80, + "column": 12 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "validHaabCoeffs", - "start": 2507, - "end": 2522, + "start": 2482, + "end": 2483, "loc": { "start": { - "line": 82, - "column": 6 + "line": 80, + "column": 12 }, "end": { - "line": 82, - "column": 21 + "line": 80, + "column": 13 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 2523, - "end": 2524, + "value": "Kimi", + "start": 2484, + "end": 2490, "loc": { "start": { - "line": 82, - "column": 22 + "line": 80, + "column": 14 }, "end": { - "line": 82, - "column": 23 + "line": 80, + "column": 20 } } }, { "type": { - "label": "[", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17940,22 +17946,22 @@ "binop": null, "updateContext": null }, - "start": 2525, - "end": 2526, + "start": 2490, + "end": 2491, "loc": { "start": { - "line": 82, - "column": 24 + "line": 80, + "column": 20 }, "end": { - "line": 82, - "column": 25 + "line": 80, + "column": 21 } } }, { "type": { - "label": "num", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -17966,17 +17972,17 @@ "binop": null, "updateContext": null }, - "value": 3, - "start": 2526, - "end": 2527, + "value": "Chuwen", + "start": 2492, + "end": 2500, "loc": { "start": { - "line": 82, - "column": 25 + "line": 80, + "column": 22 }, "end": { - "line": 82, - "column": 26 + "line": 80, + "column": 30 } } }, @@ -17993,22 +17999,22 @@ "binop": null, "updateContext": null }, - "start": 2527, - "end": 2528, + "start": 2500, + "end": 2501, "loc": { "start": { - "line": 82, - "column": 26 + "line": 80, + "column": 30 }, "end": { - "line": 82, - "column": 27 + "line": 80, + "column": 31 } } }, { "type": { - "label": "num", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -18019,17 +18025,17 @@ "binop": null, "updateContext": null }, - "value": 8, - "start": 2529, - "end": 2530, + "value": "Kib", + "start": 2502, + "end": 2507, "loc": { "start": { - "line": 82, - "column": 28 + "line": 80, + "column": 32 }, "end": { - "line": 82, - "column": 29 + "line": 80, + "column": 37 } } }, @@ -18046,24 +18052,24 @@ "binop": null, "updateContext": null }, - "start": 2530, - "end": 2531, + "start": 2507, + "end": 2508, "loc": { "start": { - "line": 82, - "column": 29 + "line": 80, + "column": 37 }, "end": { - "line": 82, - "column": 30 + "line": 80, + "column": 38 } } }, { "type": { - "label": "num", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18072,24 +18078,23 @@ "binop": null, "updateContext": null }, - "value": 13, - "start": 2532, - "end": 2534, + "start": 2513, + "end": 2514, "loc": { "start": { - "line": 82, - "column": 31 + "line": 81, + "column": 4 }, "end": { - "line": 82, - "column": 33 + "line": 81, + "column": 5 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -18099,22 +18104,22 @@ "binop": null, "updateContext": null }, - "start": 2534, - "end": 2535, + "start": 2514, + "end": 2515, "loc": { "start": { - "line": 82, - "column": 33 + "line": 81, + "column": 5 }, "end": { - "line": 82, - "column": 34 + "line": 81, + "column": 6 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -18122,28 +18127,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 18, - "start": 2536, - "end": 2538, + "value": "includes", + "start": 2515, + "end": 2523, "loc": { "start": { - "line": 82, - "column": 35 + "line": 81, + "column": 6 }, "end": { - "line": 82, - "column": 37 + "line": 81, + "column": 14 } } }, { "type": { - "label": "]", + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2523, + "end": 2524, + "loc": { + "start": { + "line": 81, + "column": 14 + }, + "end": { + "line": 81, + "column": 15 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18152,23 +18182,24 @@ "binop": null, "updateContext": null }, - "start": 2538, - "end": 2539, + "value": "this", + "start": 2524, + "end": 2528, "loc": { "start": { - "line": 82, - "column": 37 + "line": 81, + "column": 15 }, "end": { - "line": 82, - "column": 38 + "line": 81, + "column": 19 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -18178,24 +18209,24 @@ "binop": null, "updateContext": null }, - "start": 2539, - "end": 2540, + "start": 2528, + "end": 2529, "loc": { "start": { - "line": 82, - "column": 38 + "line": 81, + "column": 19 }, "end": { - "line": 82, - "column": 39 + "line": 81, + "column": 20 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18203,24 +18234,24 @@ "postfix": false, "binop": null }, - "start": 2545, - "end": 2546, + "value": "tzolkin", + "start": 2529, + "end": 2536, "loc": { "start": { - "line": 83, - "column": 4 + "line": 81, + "column": 20 }, "end": { - "line": 83, - "column": 5 + "line": 81, + "column": 27 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -18230,53 +18261,50 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 2547, - "end": 2551, + "start": 2536, + "end": 2537, "loc": { "start": { - "line": 83, - "column": 6 + "line": 81, + "column": 27 }, "end": { - "line": 83, - "column": 10 + "line": 81, + "column": 28 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 2552, - "end": 2554, + "value": "name", + "start": 2537, + "end": 2541, "loc": { "start": { - "line": 83, - "column": 11 + "line": 81, + "column": 28 }, "end": { - "line": 83, - "column": 13 + "line": 81, + "column": 32 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18284,130 +18312,127 @@ "postfix": false, "binop": null }, - "start": 2555, - "end": 2556, + "start": 2541, + "end": 2542, "loc": { "start": { - "line": 83, - "column": 14 + "line": 81, + "column": 32 }, "end": { - "line": 83, - "column": 15 + "line": 81, + "column": 33 } } }, { "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2556, - "end": 2557, + "start": 2542, + "end": 2543, "loc": { "start": { - "line": 83, - "column": 15 + "line": 81, + "column": 33 }, "end": { - "line": 83, - "column": 16 + "line": 81, + "column": 34 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Imix", - "start": 2564, - "end": 2570, + "start": 2544, + "end": 2545, "loc": { - "start": { - "line": 84, - "column": 6 + "start": { + "line": 81, + "column": 35 }, "end": { - "line": 84, - "column": 12 + "line": 81, + "column": 36 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2570, - "end": 2571, + "value": "validHaabCoeffs", + "start": 2552, + "end": 2567, "loc": { "start": { - "line": 84, - "column": 12 + "line": 82, + "column": 6 }, "end": { - "line": 84, - "column": 13 + "line": 82, + "column": 21 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "Kimi", - "start": 2572, - "end": 2578, + "value": "=", + "start": 2568, + "end": 2569, "loc": { "start": { - "line": 84, - "column": 14 + "line": 82, + "column": 22 }, "end": { - "line": 84, - "column": 20 + "line": 82, + "column": 23 } } }, { "type": { - "label": ",", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18416,22 +18441,22 @@ "binop": null, "updateContext": null }, - "start": 2578, - "end": 2579, + "start": 2570, + "end": 2571, "loc": { "start": { - "line": 84, - "column": 20 + "line": 82, + "column": 24 }, "end": { - "line": 84, - "column": 21 + "line": 82, + "column": 25 } } }, { "type": { - "label": "string", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -18442,17 +18467,17 @@ "binop": null, "updateContext": null }, - "value": "Chuwen", - "start": 2580, - "end": 2588, + "value": 4, + "start": 2571, + "end": 2572, "loc": { "start": { - "line": 84, - "column": 22 + "line": 82, + "column": 25 }, "end": { - "line": 84, - "column": 30 + "line": 82, + "column": 26 } } }, @@ -18469,22 +18494,22 @@ "binop": null, "updateContext": null }, - "start": 2588, - "end": 2589, + "start": 2572, + "end": 2573, "loc": { "start": { - "line": 84, - "column": 30 + "line": 82, + "column": 26 }, "end": { - "line": 84, - "column": 31 + "line": 82, + "column": 27 } } }, { "type": { - "label": "string", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -18495,24 +18520,24 @@ "binop": null, "updateContext": null }, - "value": "Kib", - "start": 2590, - "end": 2595, + "value": 9, + "start": 2574, + "end": 2575, "loc": { "start": { - "line": 84, - "column": 32 + "line": 82, + "column": 28 }, "end": { - "line": 84, - "column": 37 + "line": 82, + "column": 29 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -18522,24 +18547,24 @@ "binop": null, "updateContext": null }, - "start": 2600, - "end": 2601, + "start": 2575, + "end": 2576, "loc": { "start": { - "line": 85, - "column": 4 + "line": 82, + "column": 29 }, "end": { - "line": 85, - "column": 5 + "line": 82, + "column": 30 } } }, { "type": { - "label": ".", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18548,76 +18573,78 @@ "binop": null, "updateContext": null }, - "start": 2601, - "end": 2602, + "value": 14, + "start": 2577, + "end": 2579, "loc": { "start": { - "line": 85, - "column": 5 + "line": 82, + "column": 31 }, "end": { - "line": 85, - "column": 6 + "line": 82, + "column": 33 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "includes", - "start": 2602, - "end": 2610, + "start": 2579, + "end": 2580, "loc": { "start": { - "line": 85, - "column": 6 + "line": 82, + "column": 33 }, "end": { - "line": 85, - "column": 14 + "line": 82, + "column": 34 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "num", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2610, - "end": 2611, + "value": 19, + "start": 2581, + "end": 2583, "loc": { "start": { - "line": 85, - "column": 14 + "line": 82, + "column": 35 }, "end": { - "line": 85, - "column": 15 + "line": 82, + "column": 37 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18626,23 +18653,22 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 2611, - "end": 2615, + "start": 2583, + "end": 2584, "loc": { "start": { - "line": 85, - "column": 15 + "line": 82, + "column": 37 }, "end": { - "line": 85, - "column": 19 + "line": 82, + "column": 38 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -18650,51 +18676,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2615, - "end": 2616, + "start": 2589, + "end": 2590, "loc": { "start": { - "line": 85, - "column": 19 + "line": 83, + "column": 4 }, "end": { - "line": 85, - "column": 20 + "line": 83, + "column": 5 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "tzolkin", - "start": 2616, - "end": 2623, + "value": "else", + "start": 2591, + "end": 2595, "loc": { "start": { - "line": 85, - "column": 20 + "line": 83, + "column": 6 }, "end": { - "line": 85, - "column": 27 + "line": 83, + "column": 10 } } }, { "type": { - "label": ".", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -18705,23 +18733,24 @@ "binop": null, "updateContext": null }, - "start": 2623, - "end": 2624, + "value": "if", + "start": 2596, + "end": 2598, "loc": { "start": { - "line": 85, - "column": 27 + "line": 83, + "column": 11 }, "end": { - "line": 85, - "column": 28 + "line": 83, + "column": 13 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -18730,50 +18759,50 @@ "postfix": false, "binop": null }, - "value": "name", - "start": 2624, - "end": 2628, + "start": 2599, + "end": 2600, "loc": { "start": { - "line": 85, - "column": 28 + "line": 83, + "column": 14 }, "end": { - "line": 85, - "column": 32 + "line": 83, + "column": 15 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2628, - "end": 2629, + "start": 2600, + "end": 2601, "loc": { "start": { - "line": 85, - "column": 32 + "line": 83, + "column": 15 }, - "end": { - "line": 85, - "column": 33 + "end": { + "line": 83, + "column": 16 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -18781,100 +18810,101 @@ "postfix": false, "binop": null }, - "start": 2629, - "end": 2630, + "value": "wildcard", + "start": 2601, + "end": 2609, "loc": { "start": { - "line": 85, - "column": 33 + "line": 83, + "column": 16 }, "end": { - "line": 85, - "column": 34 + "line": 83, + "column": 24 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "]", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2631, - "end": 2632, + "start": 2609, + "end": 2610, "loc": { "start": { - "line": 85, - "column": 35 + "line": 83, + "column": 24 }, "end": { - "line": 85, - "column": 36 + "line": 83, + "column": 25 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "validHaabCoeffs", - "start": 2639, - "end": 2654, + "start": 2610, + "end": 2611, "loc": { "start": { - "line": 86, - "column": 6 + "line": 83, + "column": 25 }, "end": { - "line": 86, - "column": 21 + "line": 83, + "column": 26 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 2655, - "end": 2656, + "value": "includes", + "start": 2611, + "end": 2619, "loc": { "start": { - "line": 86, - "column": 22 + "line": 83, + "column": 26 }, "end": { - "line": 86, - "column": 23 + "line": 83, + "column": 34 } } }, { "type": { - "label": "[", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -18882,25 +18912,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2657, - "end": 2658, + "start": 2619, + "end": 2620, "loc": { "start": { - "line": 86, - "column": 24 + "line": 83, + "column": 34 }, "end": { - "line": 86, - "column": 25 + "line": 83, + "column": 35 } } }, { "type": { - "label": "num", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -18911,24 +18941,24 @@ "binop": null, "updateContext": null }, - "value": 4, - "start": 2658, - "end": 2659, + "value": "this", + "start": 2620, + "end": 2624, "loc": { "start": { - "line": 86, - "column": 25 + "line": 83, + "column": 35 }, "end": { - "line": 86, - "column": 26 + "line": 83, + "column": 39 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -18938,22 +18968,22 @@ "binop": null, "updateContext": null }, - "start": 2659, - "end": 2660, + "start": 2624, + "end": 2625, "loc": { "start": { - "line": 86, - "column": 26 + "line": 83, + "column": 39 }, "end": { - "line": 86, - "column": 27 + "line": 83, + "column": 40 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -18961,27 +18991,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 9, - "start": 2661, - "end": 2662, + "value": "tzolkin", + "start": 2625, + "end": 2632, "loc": { "start": { - "line": 86, - "column": 28 + "line": 83, + "column": 40 }, "end": { - "line": 86, - "column": 29 + "line": 83, + "column": 47 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -18991,22 +19020,22 @@ "binop": null, "updateContext": null }, - "start": 2662, - "end": 2663, + "start": 2632, + "end": 2633, "loc": { "start": { - "line": 86, - "column": 29 + "line": 83, + "column": 47 }, "end": { - "line": 86, - "column": 30 + "line": 83, + "column": 48 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -19014,159 +19043,155 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 14, - "start": 2664, - "end": 2666, + "value": "name", + "start": 2633, + "end": 2637, "loc": { "start": { - "line": 86, - "column": 31 + "line": 83, + "column": 48 }, "end": { - "line": 86, - "column": 33 + "line": 83, + "column": 52 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2666, - "end": 2667, + "start": 2637, + "end": 2638, "loc": { "start": { - "line": 86, - "column": 33 + "line": 83, + "column": 52 }, "end": { - "line": 86, - "column": 34 + "line": 83, + "column": 53 } } }, { "type": { - "label": "num", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 19, - "start": 2668, - "end": 2670, + "start": 2638, + "end": 2639, "loc": { "start": { - "line": 86, - "column": 35 + "line": 83, + "column": 53 }, "end": { - "line": 86, - "column": 37 + "line": 83, + "column": 54 } } }, { "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2670, - "end": 2671, + "start": 2640, + "end": 2641, "loc": { "start": { - "line": 86, - "column": 37 + "line": 83, + "column": 55 }, "end": { - "line": 86, - "column": 38 + "line": 83, + "column": 56 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2671, - "end": 2672, + "value": "validHaabCoeffs", + "start": 2648, + "end": 2663, "loc": { "start": { - "line": 86, - "column": 38 + "line": 84, + "column": 6 }, "end": { - "line": 86, - "column": 39 + "line": 84, + "column": 21 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2677, - "end": 2678, + "value": "=", + "start": 2664, + "end": 2665, "loc": { "start": { - "line": 87, - "column": 4 + "line": 84, + "column": 22 }, "end": { - "line": 87, - "column": 5 + "line": 84, + "column": 23 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19175,25 +19200,23 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 2679, - "end": 2683, + "start": 2666, + "end": 2667, "loc": { "start": { - "line": 87, - "column": 6 + "line": 84, + "column": 24 }, "end": { - "line": 87, - "column": 10 + "line": 84, + "column": 25 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": "...", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -19203,24 +19226,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 2684, - "end": 2686, + "start": 2667, + "end": 2670, "loc": { "start": { - "line": 87, - "column": 11 + "line": 84, + "column": 25 }, "end": { - "line": 87, - "column": 13 + "line": 84, + "column": 28 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -19229,22 +19251,23 @@ "postfix": false, "binop": null }, - "start": 2687, - "end": 2688, + "value": "Array", + "start": 2670, + "end": 2675, "loc": { "start": { - "line": 87, - "column": 14 + "line": 84, + "column": 28 }, "end": { - "line": 87, - "column": 15 + "line": 84, + "column": 33 } } }, { "type": { - "label": "[", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -19252,25 +19275,24 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2688, - "end": 2689, + "start": 2675, + "end": 2676, "loc": { "start": { - "line": 87, - "column": 15 + "line": 84, + "column": 33 }, "end": { - "line": 87, - "column": 16 + "line": 84, + "column": 34 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -19278,25 +19300,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "wildcard", - "start": 2689, - "end": 2697, + "value": 19, + "start": 2676, + "end": 2678, "loc": { "start": { - "line": 87, - "column": 16 + "line": 84, + "column": 34 }, "end": { - "line": 87, - "column": 24 + "line": 84, + "column": 36 } } }, { "type": { - "label": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19304,19 +19327,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2697, - "end": 2698, + "start": 2678, + "end": 2679, "loc": { "start": { - "line": 87, - "column": 24 + "line": 84, + "column": 36 }, "end": { - "line": 87, - "column": 25 + "line": 84, + "column": 37 } } }, @@ -19333,16 +19355,16 @@ "binop": null, "updateContext": null }, - "start": 2698, - "end": 2699, + "start": 2679, + "end": 2680, "loc": { "start": { - "line": 87, - "column": 25 + "line": 84, + "column": 37 }, "end": { - "line": 87, - "column": 26 + "line": 84, + "column": 38 } } }, @@ -19358,17 +19380,17 @@ "postfix": false, "binop": null }, - "value": "includes", - "start": 2699, - "end": 2707, + "value": "keys", + "start": 2680, + "end": 2684, "loc": { "start": { - "line": 87, - "column": 26 + "line": 84, + "column": 38 }, "end": { - "line": 87, - "column": 34 + "line": 84, + "column": 42 } } }, @@ -19384,50 +19406,47 @@ "postfix": false, "binop": null }, - "start": 2707, - "end": 2708, + "start": 2684, + "end": 2685, "loc": { "start": { - "line": 87, - "column": 34 + "line": 84, + "column": 42 }, "end": { - "line": 87, - "column": 35 + "line": 84, + "column": 43 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2708, - "end": 2712, + "start": 2685, + "end": 2686, "loc": { "start": { - "line": 87, - "column": 35 + "line": 84, + "column": 43 }, "end": { - "line": 87, - "column": 39 + "line": 84, + "column": 44 } } }, { "type": { - "label": ".", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19438,24 +19457,24 @@ "binop": null, "updateContext": null }, - "start": 2712, - "end": 2713, + "start": 2686, + "end": 2687, "loc": { "start": { - "line": 87, - "column": 39 + "line": 84, + "column": 44 }, "end": { - "line": 87, - "column": 40 + "line": 84, + "column": 45 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19463,24 +19482,24 @@ "postfix": false, "binop": null }, - "value": "tzolkin", - "start": 2713, - "end": 2720, + "start": 2692, + "end": 2693, "loc": { "start": { - "line": 87, - "column": 40 + "line": 85, + "column": 4 }, "end": { - "line": 87, - "column": 47 + "line": 85, + "column": 5 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "else", + "keyword": "else", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -19490,23 +19509,24 @@ "binop": null, "updateContext": null }, - "start": 2720, - "end": 2721, + "value": "else", + "start": 2694, + "end": 2698, "loc": { "start": { - "line": 87, - "column": 47 + "line": 85, + "column": 6 }, "end": { - "line": 87, - "column": 48 + "line": 85, + "column": 10 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -19515,50 +19535,80 @@ "postfix": false, "binop": null }, - "value": "name", - "start": 2721, - "end": 2725, + "start": 2699, + "end": 2700, "loc": { "start": { - "line": 87, - "column": 48 + "line": 85, + "column": 11 }, "end": { - "line": 87, - "column": 52 + "line": 85, + "column": 12 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "throw", + "keyword": "throw", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2725, - "end": 2726, + "value": "throw", + "start": 2707, + "end": 2712, "loc": { "start": { - "line": 87, - "column": 52 + "line": 86, + "column": 6 }, "end": { - "line": 87, - "column": 53 + "line": 86, + "column": 11 } } }, { "type": { - "label": ")", + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 2713, + "end": 2716, + "loc": { + "start": { + "line": 86, + "column": 12 + }, + "end": { + "line": 86, + "column": 15 + } + } + }, + { + "type": { + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19566,22 +19616,23 @@ "postfix": false, "binop": null }, - "start": 2726, - "end": 2727, + "value": "Error", + "start": 2717, + "end": 2722, "loc": { "start": { - "line": 87, - "column": 53 + "line": 86, + "column": 16 }, "end": { - "line": 87, - "column": 54 + "line": 86, + "column": 21 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -19591,22 +19642,22 @@ "postfix": false, "binop": null }, - "start": 2728, - "end": 2729, + "start": 2722, + "end": 2723, "loc": { "start": { - "line": 87, - "column": 55 + "line": 86, + "column": 21 }, "end": { - "line": 87, - "column": 56 + "line": 86, + "column": 22 } } }, { "type": { - "label": "name", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -19616,50 +19667,49 @@ "postfix": false, "binop": null }, - "value": "validHaabCoeffs", - "start": 2736, - "end": 2751, + "start": 2732, + "end": 2733, "loc": { "start": { - "line": 88, - "column": 6 + "line": 87, + "column": 8 }, "end": { - "line": 88, - "column": 21 + "line": 87, + "column": 9 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "template", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 2752, - "end": 2753, + "value": "Could not allocate Tzolk'in (", + "start": 2733, + "end": 2762, "loc": { "start": { - "line": 88, - "column": 22 + "line": 87, + "column": 9 }, "end": { - "line": 88, - "column": 23 + "line": 87, + "column": 38 } } }, { "type": { - "label": "[", + "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -19667,27 +19717,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2754, - "end": 2755, + "start": 2762, + "end": 2764, "loc": { "start": { - "line": 88, - "column": 24 + "line": 87, + "column": 38 }, "end": { - "line": 88, - "column": 25 + "line": 87, + "column": 40 } } }, { "type": { - "label": "...", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19696,49 +19746,50 @@ "binop": null, "updateContext": null }, - "start": 2755, - "end": 2758, + "value": "this", + "start": 2764, + "end": 2768, "loc": { "start": { - "line": 88, - "column": 25 + "line": 87, + "column": 40 }, "end": { - "line": 88, - "column": 28 + "line": 87, + "column": 44 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Array", - "start": 2758, - "end": 2763, + "start": 2768, + "end": 2769, "loc": { "start": { - "line": 88, - "column": 28 + "line": 87, + "column": 44 }, "end": { - "line": 88, - "column": 33 + "line": 87, + "column": 45 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -19747,24 +19798,25 @@ "postfix": false, "binop": null }, - "start": 2763, - "end": 2764, + "value": "tzolkin", + "start": 2769, + "end": 2776, "loc": { "start": { - "line": 88, - "column": 33 + "line": 87, + "column": 45 }, "end": { - "line": 88, - "column": 34 + "line": 87, + "column": 52 } } }, { "type": { - "label": "num", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19773,25 +19825,24 @@ "binop": null, "updateContext": null }, - "value": 19, - "start": 2764, - "end": 2766, + "start": 2776, + "end": 2777, "loc": { "start": { - "line": 88, - "column": 34 + "line": 87, + "column": 52 }, "end": { - "line": 88, - "column": 36 + "line": 87, + "column": 53 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -19799,22 +19850,23 @@ "postfix": false, "binop": null }, - "start": 2766, - "end": 2767, + "value": "name", + "start": 2777, + "end": 2781, "loc": { "start": { - "line": 88, - "column": 36 + "line": 87, + "column": 53 }, "end": { - "line": 88, - "column": 37 + "line": 87, + "column": 57 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19822,52 +19874,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2767, - "end": 2768, + "start": 2781, + "end": 2782, "loc": { "start": { - "line": 88, - "column": 37 + "line": 87, + "column": 57 }, "end": { - "line": 88, - "column": 38 + "line": 87, + "column": 58 } } }, { "type": { - "label": "name", + "label": "template", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "keys", - "start": 2768, - "end": 2772, + "value": ") to permissible month coeffs.", + "start": 2782, + "end": 2812, "loc": { "start": { - "line": 88, - "column": 38 + "line": 87, + "column": 58 }, "end": { - "line": 88, - "column": 42 + "line": 87, + "column": 88 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "`", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -19876,16 +19928,16 @@ "postfix": false, "binop": null }, - "start": 2772, - "end": 2773, + "start": 2812, + "end": 2813, "loc": { "start": { - "line": 88, - "column": 42 + "line": 87, + "column": 88 }, "end": { - "line": 88, - "column": 43 + "line": 87, + "column": 89 } } }, @@ -19901,22 +19953,22 @@ "postfix": false, "binop": null }, - "start": 2773, - "end": 2774, + "start": 2813, + "end": 2814, "loc": { "start": { - "line": 88, - "column": 43 + "line": 87, + "column": 89 }, "end": { - "line": 88, - "column": 44 + "line": 87, + "column": 90 } } }, { "type": { - "label": "]", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19924,51 +19976,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2774, - "end": 2775, + "start": 2819, + "end": 2820, "loc": { "start": { "line": 88, - "column": 44 + "column": 4 }, "end": { "line": 88, - "column": 45 + "column": 5 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2775, - "end": 2776, + "value": "validHaabCoeffs", + "start": 2826, + "end": 2841, "loc": { "start": { - "line": 88, - "column": 45 + "line": 90, + "column": 4 }, "end": { - "line": 88, - "column": 46 + "line": 90, + "column": 19 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -19976,52 +20027,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2781, - "end": 2782, + "start": 2841, + "end": 2842, "loc": { "start": { - "line": 89, - "column": 4 + "line": 90, + "column": 19 }, "end": { - "line": 89, - "column": 5 + "line": 90, + "column": 20 } } }, { "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "else", - "start": 2783, - "end": 2787, + "value": "push", + "start": 2842, + "end": 2846, "loc": { "start": { - "line": 89, - "column": 6 + "line": 90, + "column": 20 }, "end": { - "line": 89, - "column": 10 + "line": 90, + "column": 24 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -20031,98 +20081,95 @@ "postfix": false, "binop": null }, - "start": 2788, - "end": 2789, + "start": 2846, + "end": 2847, "loc": { "start": { - "line": 89, - "column": 11 + "line": 90, + "column": 24 }, "end": { - "line": 89, - "column": 12 + "line": 90, + "column": 25 } } }, { "type": { - "label": "throw", - "keyword": "throw", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "throw", - "start": 2796, - "end": 2801, + "value": "wildcard", + "start": 2847, + "end": 2855, "loc": { "start": { "line": 90, - "column": 6 + "column": 25 }, "end": { "line": 90, - "column": 11 + "column": 33 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 2802, - "end": 2805, + "start": 2855, + "end": 2856, "loc": { "start": { "line": 90, - "column": 12 + "column": 33 }, "end": { "line": 90, - "column": 15 + "column": 34 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Error", - "start": 2806, - "end": 2811, + "value": "if", + "start": 2862, + "end": 2864, "loc": { "start": { - "line": 90, - "column": 16 + "line": 92, + "column": 4 }, "end": { - "line": 90, - "column": 21 + "line": 92, + "column": 6 } } }, @@ -20138,100 +20185,101 @@ "postfix": false, "binop": null }, - "start": 2811, - "end": 2812, + "start": 2865, + "end": 2866, "loc": { "start": { - "line": 90, - "column": 21 + "line": 92, + "column": 7 }, "end": { - "line": 90, - "column": 22 + "line": 92, + "column": 8 } } }, { "type": { - "label": "`", - "beforeExpr": false, + "label": "prefix", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2812, - "end": 2813, + "value": "!", + "start": 2866, + "end": 2867, "loc": { "start": { - "line": 90, - "column": 22 + "line": 92, + "column": 8 }, "end": { - "line": 90, - "column": 23 + "line": 92, + "column": 9 } } }, { "type": { - "label": "template", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Could not allocate Tzolk'in (", - "start": 2813, - "end": 2842, + "value": "validHaabCoeffs", + "start": 2867, + "end": 2882, "loc": { "start": { - "line": 90, - "column": 23 + "line": 92, + "column": 9 }, "end": { - "line": 90, - "column": 52 + "line": 92, + "column": 24 } } }, { "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2842, - "end": 2844, + "start": 2882, + "end": 2883, "loc": { "start": { - "line": 90, - "column": 52 + "line": 92, + "column": 24 }, "end": { - "line": 90, - "column": 54 + "line": 92, + "column": 25 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -20239,52 +20287,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2844, - "end": 2848, + "value": "includes", + "start": 2883, + "end": 2891, "loc": { "start": { - "line": 90, - "column": 54 + "line": 92, + "column": 25 }, "end": { - "line": 90, - "column": 58 + "line": 92, + "column": 33 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2848, - "end": 2849, + "start": 2891, + "end": 2892, "loc": { "start": { - "line": 90, - "column": 58 + "line": 92, + "column": 33 }, "end": { - "line": 90, - "column": 59 + "line": 92, + "column": 34 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -20292,19 +20339,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "tzolkin", - "start": 2849, - "end": 2856, + "value": "this", + "start": 2892, + "end": 2896, "loc": { "start": { - "line": 90, - "column": 59 + "line": 92, + "column": 34 }, "end": { - "line": 90, - "column": 66 + "line": 92, + "column": 38 } } }, @@ -20321,16 +20369,16 @@ "binop": null, "updateContext": null }, - "start": 2856, - "end": 2857, + "start": 2896, + "end": 2897, "loc": { "start": { - "line": 90, - "column": 66 + "line": 92, + "column": 38 }, "end": { - "line": 90, - "column": 67 + "line": 92, + "column": 39 } } }, @@ -20346,23 +20394,23 @@ "postfix": false, "binop": null }, - "value": "name", - "start": 2857, - "end": 2861, + "value": "haab", + "start": 2897, + "end": 2901, "loc": { "start": { - "line": 90, - "column": 67 + "line": 92, + "column": 39 }, "end": { - "line": 90, - "column": 71 + "line": 92, + "column": 43 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -20370,53 +20418,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2861, - "end": 2862, + "start": 2901, + "end": 2902, "loc": { "start": { - "line": 90, - "column": 71 + "line": 92, + "column": 43 }, "end": { - "line": 90, - "column": 72 + "line": 92, + "column": 44 } } }, { "type": { - "label": "template", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": ") to permissible month coeffs.", - "start": 2862, - "end": 2892, + "value": "coeff", + "start": 2902, + "end": 2907, "loc": { "start": { - "line": 90, - "column": 72 + "line": 92, + "column": 44 }, "end": { - "line": 90, - "column": 102 + "line": 92, + "column": 49 } } }, { "type": { - "label": "`", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20424,16 +20472,16 @@ "postfix": false, "binop": null }, - "start": 2892, - "end": 2893, + "start": 2907, + "end": 2908, "loc": { "start": { - "line": 90, - "column": 102 + "line": 92, + "column": 49 }, "end": { - "line": 90, - "column": 103 + "line": 92, + "column": 50 } } }, @@ -20449,126 +20497,130 @@ "postfix": false, "binop": null }, - "start": 2893, - "end": 2894, + "start": 2908, + "end": 2909, "loc": { "start": { - "line": 90, - "column": 103 + "line": 92, + "column": 50 }, "end": { - "line": 90, - "column": 104 + "line": 92, + "column": 51 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2894, - "end": 2895, + "start": 2910, + "end": 2911, "loc": { "start": { - "line": 90, - "column": 104 + "line": 92, + "column": 52 }, "end": { - "line": 90, - "column": 105 + "line": 92, + "column": 53 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "throw", + "keyword": "throw", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2900, - "end": 2901, + "value": "throw", + "start": 2918, + "end": 2923, "loc": { "start": { - "line": 91, - "column": 4 + "line": 93, + "column": 6 }, "end": { - "line": 91, - "column": 5 + "line": 93, + "column": 11 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "validHaabCoeffs", - "start": 2907, - "end": 2922, + "value": "new", + "start": 2924, + "end": 2927, "loc": { "start": { "line": 93, - "column": 4 + "column": 12 }, "end": { "line": 93, - "column": 19 + "column": 15 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2922, - "end": 2923, + "value": "Error", + "start": 2928, + "end": 2933, "loc": { "start": { "line": 93, - "column": 19 + "column": 16 }, "end": { "line": 93, - "column": 20 + "column": 21 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -20577,24 +20629,23 @@ "postfix": false, "binop": null }, - "value": "push", - "start": 2923, - "end": 2927, + "start": 2933, + "end": 2934, "loc": { "start": { "line": 93, - "column": 20 + "column": 21 }, "end": { "line": 93, - "column": 24 + "column": 22 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "`", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -20603,50 +20654,51 @@ "postfix": false, "binop": null }, - "start": 2927, - "end": 2928, + "start": 2943, + "end": 2944, "loc": { "start": { - "line": 93, - "column": 24 + "line": 94, + "column": 8 }, "end": { - "line": 93, - "column": 25 + "line": 94, + "column": 9 } } }, { "type": { - "label": "name", + "label": "template", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "wildcard", - "start": 2928, - "end": 2936, + "value": "", + "start": 2944, + "end": 2944, "loc": { "start": { - "line": 93, - "column": 25 + "line": 94, + "column": 9 }, "end": { - "line": 93, - "column": 33 + "line": 94, + "column": 9 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "${", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20654,24 +20706,25 @@ "postfix": false, "binop": null }, - "start": 2936, - "end": 2937, + "start": 2944, + "end": 2946, "loc": { "start": { - "line": 93, - "column": 33 + "line": 94, + "column": 9 }, "end": { - "line": 93, - "column": 34 + "line": 94, + "column": 11 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20680,23 +20733,23 @@ "binop": null, "updateContext": null }, - "start": 2937, - "end": 2938, + "value": "this", + "start": 2946, + "end": 2950, "loc": { "start": { - "line": 93, - "column": 34 + "line": 94, + "column": 11 }, "end": { - "line": 93, - "column": 35 + "line": 94, + "column": 15 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -20704,72 +20757,70 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 2944, - "end": 2946, + "start": 2950, + "end": 2951, "loc": { "start": { - "line": 95, - "column": 4 + "line": 94, + "column": 15 }, "end": { - "line": 95, - "column": 6 + "line": 94, + "column": 16 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "template", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2947, - "end": 2948, + "value": " should have Haab coeff in ", + "start": 2951, + "end": 2978, "loc": { "start": { - "line": 95, - "column": 7 + "line": 94, + "column": 16 }, "end": { - "line": 95, - "column": 8 + "line": 94, + "column": 43 } } }, { "type": { - "label": "prefix", + "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "!", - "start": 2948, - "end": 2949, + "start": 2978, + "end": 2980, "loc": { "start": { - "line": 95, - "column": 8 + "line": 94, + "column": 43 }, "end": { - "line": 95, - "column": 9 + "line": 94, + "column": 45 } } }, @@ -20786,22 +20837,22 @@ "binop": null }, "value": "validHaabCoeffs", - "start": 2949, - "end": 2964, + "start": 2980, + "end": 2995, "loc": { "start": { - "line": 95, - "column": 9 + "line": 94, + "column": 45 }, "end": { - "line": 95, - "column": 24 + "line": 94, + "column": 60 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -20809,51 +20860,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2964, - "end": 2965, + "start": 2995, + "end": 2996, "loc": { "start": { - "line": 95, - "column": 24 + "line": 94, + "column": 60 }, "end": { - "line": 95, - "column": 25 + "line": 94, + "column": 61 } } }, { "type": { - "label": "name", + "label": "template", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "includes", - "start": 2965, - "end": 2973, + "value": " for day ", + "start": 2996, + "end": 3005, "loc": { "start": { - "line": 95, - "column": 25 + "line": 94, + "column": 61 }, "end": { - "line": 95, - "column": 33 + "line": 94, + "column": 70 } } }, { "type": { - "label": "(", + "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -20863,16 +20914,16 @@ "postfix": false, "binop": null }, - "start": 2973, - "end": 2974, + "start": 3005, + "end": 3007, "loc": { "start": { - "line": 95, - "column": 33 + "line": 94, + "column": 70 }, "end": { - "line": 95, - "column": 34 + "line": 94, + "column": 72 } } }, @@ -20891,16 +20942,16 @@ "updateContext": null }, "value": "this", - "start": 2974, - "end": 2978, + "start": 3007, + "end": 3011, "loc": { "start": { - "line": 95, - "column": 34 + "line": 94, + "column": 72 }, "end": { - "line": 95, - "column": 38 + "line": 94, + "column": 76 } } }, @@ -20917,16 +20968,16 @@ "binop": null, "updateContext": null }, - "start": 2978, - "end": 2979, + "start": 3011, + "end": 3012, "loc": { "start": { - "line": 95, - "column": 38 + "line": 94, + "column": 76 }, "end": { - "line": 95, - "column": 39 + "line": 94, + "column": 77 } } }, @@ -20942,17 +20993,17 @@ "postfix": false, "binop": null }, - "value": "haab", - "start": 2979, - "end": 2983, + "value": "tzolkin", + "start": 3012, + "end": 3019, "loc": { "start": { - "line": 95, - "column": 39 + "line": 94, + "column": 77 }, "end": { - "line": 95, - "column": 43 + "line": 94, + "column": 84 } } }, @@ -20969,16 +21020,16 @@ "binop": null, "updateContext": null }, - "start": 2983, - "end": 2984, + "start": 3019, + "end": 3020, "loc": { "start": { - "line": 95, - "column": 43 + "line": 94, + "column": 84 }, "end": { - "line": 95, - "column": 44 + "line": 94, + "column": 85 } } }, @@ -20994,23 +21045,23 @@ "postfix": false, "binop": null }, - "value": "coeff", - "start": 2984, - "end": 2989, + "value": "name", + "start": 3020, + "end": 3024, "loc": { "start": { - "line": 95, - "column": 44 + "line": 94, + "column": 85 }, "end": { - "line": 95, - "column": 49 + "line": 94, + "column": 89 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -21020,22 +21071,22 @@ "postfix": false, "binop": null }, - "start": 2989, - "end": 2990, + "start": 3024, + "end": 3025, "loc": { "start": { - "line": 95, - "column": 49 + "line": 94, + "column": 89 }, "end": { - "line": 95, - "column": 50 + "line": 94, + "column": 90 } } }, { "type": { - "label": ")", + "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -21043,25 +21094,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2990, - "end": 2991, + "value": "", + "start": 3025, + "end": 3025, "loc": { "start": { - "line": 95, - "column": 50 + "line": 94, + "column": 90 }, "end": { - "line": 95, - "column": 51 + "line": 94, + "column": 90 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "`", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -21070,80 +21123,49 @@ "postfix": false, "binop": null }, - "start": 2992, - "end": 2993, + "start": 3025, + "end": 3026, "loc": { "start": { - "line": 95, - "column": 52 + "line": 94, + "column": 90 }, "end": { - "line": 95, - "column": 53 + "line": 94, + "column": 91 } } }, { "type": { - "label": "throw", - "keyword": "throw", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "throw", - "start": 3000, - "end": 3005, - "loc": { - "start": { - "line": 96, - "column": 6 - }, - "end": { - "line": 96, - "column": 11 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 3006, - "end": 3009, + "start": 3026, + "end": 3027, "loc": { "start": { - "line": 96, - "column": 12 + "line": 94, + "column": 91 }, "end": { - "line": 96, - "column": 15 + "line": 94, + "column": 92 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21151,25 +21173,24 @@ "postfix": false, "binop": null }, - "value": "Error", - "start": 3010, - "end": 3015, + "start": 3032, + "end": 3033, "loc": { "start": { - "line": 96, - "column": 16 + "line": 95, + "column": 4 }, "end": { - "line": 96, - "column": 21 + "line": 95, + "column": 5 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21177,22 +21198,38 @@ "postfix": false, "binop": null }, - "start": 3015, - "end": 3016, + "start": 3036, + "end": 3037, "loc": { "start": { "line": 96, - "column": 21 + "column": 2 }, "end": { "line": 96, - "column": 22 + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Increment both the Haab and 260-day cycle to the next day in the Calendar Round\n * @returns {CalendarRound}\n ", + "start": 3041, + "end": 3165, + "loc": { + "start": { + "line": 98, + "column": 2 + }, + "end": { + "line": 101, + "column": 5 } } }, { "type": { - "label": "`", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -21202,51 +21239,50 @@ "postfix": false, "binop": null }, - "start": 3016, - "end": 3017, + "value": "next", + "start": 3168, + "end": 3172, "loc": { "start": { - "line": 96, - "column": 22 + "line": 102, + "column": 2 }, "end": { - "line": 96, - "column": 23 + "line": 102, + "column": 6 } } }, { "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "", - "start": 3017, - "end": 3017, + "start": 3173, + "end": 3174, "loc": { "start": { - "line": 96, - "column": 23 + "line": 102, + "column": 7 }, "end": { - "line": 96, - "column": 23 + "line": 102, + "column": 8 } } }, { "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21254,77 +21290,78 @@ "postfix": false, "binop": null }, - "start": 3017, - "end": 3019, + "start": 3174, + "end": 3175, "loc": { "start": { - "line": 96, - "column": 23 + "line": 102, + "column": 8 }, "end": { - "line": 96, - "column": 25 + "line": 102, + "column": 9 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 3019, - "end": 3023, + "start": 3176, + "end": 3177, "loc": { "start": { - "line": 96, - "column": 25 + "line": 102, + "column": 10 }, "end": { - "line": 96, - "column": 29 + "line": 102, + "column": 11 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3023, - "end": 3024, + "value": "return", + "start": 3182, + "end": 3188, "loc": { "start": { - "line": 96, - "column": 29 + "line": 103, + "column": 4 }, "end": { - "line": 96, - "column": 30 + "line": 103, + "column": 10 } } }, { "type": { - "label": "template", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21333,42 +21370,43 @@ "binop": null, "updateContext": null }, - "value": " should have Haab coeff in ", - "start": 3024, - "end": 3051, + "value": "this", + "start": 3189, + "end": 3193, "loc": { "start": { - "line": 96, - "column": 30 + "line": 103, + "column": 11 }, "end": { - "line": 96, - "column": 57 + "line": 103, + "column": 15 } } }, { "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3051, - "end": 3053, + "start": 3193, + "end": 3194, "loc": { "start": { - "line": 96, - "column": 57 + "line": 103, + "column": 15 }, "end": { - "line": 96, - "column": 59 + "line": 103, + "column": 16 } } }, @@ -21384,25 +21422,25 @@ "postfix": false, "binop": null }, - "value": "validHaabCoeffs", - "start": 3053, - "end": 3068, + "value": "shift", + "start": 3194, + "end": 3199, "loc": { "start": { - "line": 96, - "column": 59 + "line": 103, + "column": 16 }, "end": { - "line": 96, - "column": 74 + "line": 103, + "column": 21 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21410,24 +21448,24 @@ "postfix": false, "binop": null }, - "start": 3068, - "end": 3069, + "start": 3199, + "end": 3200, "loc": { "start": { - "line": 96, - "column": 74 + "line": 103, + "column": 21 }, "end": { - "line": 96, - "column": 75 + "line": 103, + "column": 22 } } }, { "type": { - "label": "template", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21436,25 +21474,25 @@ "binop": null, "updateContext": null }, - "value": " for day ", - "start": 3069, - "end": 3078, + "value": 1, + "start": 3200, + "end": 3201, "loc": { "start": { - "line": 96, - "column": 75 + "line": 103, + "column": 22 }, "end": { - "line": 96, - "column": 84 + "line": 103, + "column": 23 } } }, { "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21462,70 +21500,57 @@ "postfix": false, "binop": null }, - "start": 3078, - "end": 3080, + "start": 3201, + "end": 3202, "loc": { "start": { - "line": 96, - "column": 84 + "line": 103, + "column": 23 }, "end": { - "line": 96, - "column": 86 + "line": 103, + "column": 24 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 3080, - "end": 3084, + "start": 3205, + "end": 3206, "loc": { "start": { - "line": 96, - "column": 86 + "line": 104, + "column": 2 }, "end": { - "line": 96, - "column": 90 + "line": 104, + "column": 3 } } }, { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3084, - "end": 3085, + "type": "CommentBlock", + "value": "*\n * Check that this CalendarRound matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return false.\n * @param {CalendarRound} newCr\n * @return {Boolean}\n ", + "start": 3210, + "end": 3428, "loc": { "start": { - "line": 96, - "column": 90 + "line": 106, + "column": 2 }, "end": { - "line": 96, - "column": 91 + "line": 111, + "column": 5 } } }, @@ -21541,43 +21566,42 @@ "postfix": false, "binop": null }, - "value": "tzolkin", - "start": 3085, - "end": 3092, + "value": "equal", + "start": 3431, + "end": 3436, "loc": { "start": { - "line": 96, - "column": 91 + "line": 112, + "column": 2 }, "end": { - "line": 96, - "column": 98 + "line": 112, + "column": 7 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3092, - "end": 3093, + "start": 3437, + "end": 3438, "loc": { "start": { - "line": 96, - "column": 98 + "line": 112, + "column": 8 }, "end": { - "line": 96, - "column": 99 + "line": 112, + "column": 9 } } }, @@ -21593,23 +21617,23 @@ "postfix": false, "binop": null }, - "value": "name", - "start": 3093, - "end": 3097, + "value": "newCr", + "start": 3438, + "end": 3443, "loc": { "start": { - "line": 96, - "column": 99 + "line": 112, + "column": 9 }, "end": { - "line": 96, - "column": 103 + "line": 112, + "column": 14 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -21619,99 +21643,103 @@ "postfix": false, "binop": null }, - "start": 3097, - "end": 3098, + "start": 3443, + "end": 3444, "loc": { "start": { - "line": 96, - "column": 103 + "line": 112, + "column": 14 }, "end": { - "line": 96, - "column": 104 + "line": 112, + "column": 15 } } }, { "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "", - "start": 3098, - "end": 3098, + "start": 3445, + "end": 3446, "loc": { "start": { - "line": 96, - "column": 104 + "line": 112, + "column": 16 }, "end": { - "line": 96, - "column": 104 + "line": 112, + "column": 17 } } }, { "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3098, - "end": 3099, + "value": "return", + "start": 3451, + "end": 3457, "loc": { "start": { - "line": 96, - "column": 104 + "line": 113, + "column": 4 }, "end": { - "line": 96, - "column": 105 + "line": 113, + "column": 10 } } }, { "type": { - "label": ")", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3099, - "end": 3100, + "value": "this", + "start": 3458, + "end": 3462, "loc": { "start": { - "line": 96, - "column": 105 + "line": 113, + "column": 11 }, "end": { - "line": 96, - "column": 106 + "line": 113, + "column": 15 } } }, { "type": { - "label": ";", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -21719,27 +21747,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 3100, - "end": 3101, + "value": "===", + "start": 3463, + "end": 3466, "loc": { "start": { - "line": 96, - "column": 106 + "line": 113, + "column": 16 }, "end": { - "line": 96, - "column": 107 + "line": 113, + "column": 19 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21747,16 +21776,17 @@ "postfix": false, "binop": null }, - "start": 3106, - "end": 3107, + "value": "newCr", + "start": 3467, + "end": 3472, "loc": { "start": { - "line": 97, - "column": 4 + "line": 113, + "column": 20 }, "end": { - "line": 97, - "column": 5 + "line": 113, + "column": 25 } } }, @@ -21772,31 +21802,31 @@ "postfix": false, "binop": null }, - "start": 3110, - "end": 3111, + "start": 3475, + "end": 3476, "loc": { "start": { - "line": 98, + "line": 114, "column": 2 }, "end": { - "line": 98, + "line": 114, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Increment both the Haab and 260-day cycle to the next day in the Calendar Round\n * @returns {CalendarRound}\n ", - "start": 3115, - "end": 3239, + "value": "*\n * Return a long count date representing the difference between two dates.\n * @param {CalendarRound} targetCr\n * @return {LongCount}\n ", + "start": 3480, + "end": 3628, "loc": { "start": { - "line": 100, + "line": 116, "column": 2 }, "end": { - "line": 103, + "line": 120, "column": 5 } } @@ -21813,17 +21843,17 @@ "postfix": false, "binop": null }, - "value": "next", - "start": 3242, - "end": 3246, + "value": "minus", + "start": 3631, + "end": 3636, "loc": { "start": { - "line": 104, + "line": 121, "column": 2 }, "end": { - "line": 104, - "column": 6 + "line": 121, + "column": 7 } } }, @@ -21839,16 +21869,42 @@ "postfix": false, "binop": null }, - "start": 3246, - "end": 3247, + "start": 3637, + "end": 3638, "loc": { "start": { - "line": 104, - "column": 6 + "line": 121, + "column": 8 }, "end": { - "line": 104, - "column": 7 + "line": 121, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "targetCr", + "start": 3638, + "end": 3646, + "loc": { + "start": { + "line": 121, + "column": 9 + }, + "end": { + "line": 121, + "column": 17 } } }, @@ -21864,16 +21920,16 @@ "postfix": false, "binop": null }, - "start": 3247, - "end": 3248, + "start": 3646, + "end": 3647, "loc": { "start": { - "line": 104, - "column": 7 + "line": 121, + "column": 17 }, "end": { - "line": 104, - "column": 8 + "line": 121, + "column": 18 } } }, @@ -21889,24 +21945,40 @@ "postfix": false, "binop": null }, - "start": 3249, - "end": 3250, + "start": 3648, + "end": 3649, "loc": { "start": { - "line": 104, - "column": 9 + "line": 121, + "column": 19 }, "end": { - "line": 104, - "column": 10 + "line": 121, + "column": 20 + } + } + }, + { + "type": "CommentBlock", + "value": "* @ignore ", + "start": 3654, + "end": 3668, + "loc": { + "start": { + "line": 122, + "column": 4 + }, + "end": { + "line": 122, + "column": 18 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -21916,24 +21988,23 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 3255, - "end": 3261, + "value": "let", + "start": 3673, + "end": 3676, "loc": { "start": { - "line": 105, + "line": 123, "column": 4 }, "end": { - "line": 105, - "column": 10 + "line": 123, + "column": 7 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -21941,52 +22012,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 3262, - "end": 3266, + "value": "foundOrigin", + "start": 3677, + "end": 3688, "loc": { "start": { - "line": 105, - "column": 11 + "line": 123, + "column": 8 }, "end": { - "line": 105, - "column": 15 + "line": 123, + "column": 19 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 3266, - "end": 3267, + "value": "=", + "start": 3689, + "end": 3690, "loc": { "start": { - "line": 105, - "column": 15 + "line": 123, + "column": 20 }, "end": { - "line": 105, - "column": 16 + "line": 123, + "column": 21 } } }, { "type": { - "label": "name", + "label": "false", + "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -21994,50 +22066,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "shift", - "start": 3267, - "end": 3272, + "value": "false", + "start": 3691, + "end": 3696, "loc": { "start": { - "line": 105, - "column": 16 + "line": 123, + "column": 22 }, "end": { - "line": 105, - "column": 21 + "line": 123, + "column": 27 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3272, - "end": 3273, + "value": "const", + "start": 3701, + "end": 3706, "loc": { "start": { - "line": 105, - "column": 21 + "line": 124, + "column": 4 }, "end": { - "line": 105, - "column": 22 + "line": 124, + "column": 9 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -22045,53 +22121,55 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 1, - "start": 3273, - "end": 3274, + "value": "foundTarget", + "start": 3707, + "end": 3718, "loc": { "start": { - "line": 105, - "column": 22 + "line": 124, + "column": 10 }, "end": { - "line": 105, - "column": 23 + "line": 124, + "column": 21 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3274, - "end": 3275, + "value": "=", + "start": 3719, + "end": 3720, "loc": { "start": { - "line": 105, - "column": 23 + "line": 124, + "column": 22 }, "end": { - "line": 105, - "column": 24 + "line": 124, + "column": 23 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -22100,22 +22178,24 @@ "binop": null, "updateContext": null }, - "start": 3275, - "end": 3276, + "value": "false", + "start": 3721, + "end": 3726, "loc": { "start": { - "line": 105, + "line": 124, "column": 24 }, "end": { - "line": 105, - "column": 25 + "line": 124, + "column": 29 } } }, { "type": { - "label": "}", + "label": "let", + "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -22123,34 +22203,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3279, - "end": 3280, - "loc": { - "start": { - "line": 106, - "column": 2 - }, - "end": { - "line": 106, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Check that this CalendarRound matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return false.\n * @param {CalendarRound} newCr\n * @return {Boolean}\n ", - "start": 3284, - "end": 3502, + "value": "let", + "start": 3731, + "end": 3734, "loc": { "start": { - "line": 108, - "column": 2 + "line": 125, + "column": 4 }, "end": { - "line": 113, - "column": 5 + "line": 125, + "column": 7 } } }, @@ -22166,48 +22232,51 @@ "postfix": false, "binop": null }, - "value": "equal", - "start": 3505, - "end": 3510, + "value": "current", + "start": 3735, + "end": 3742, "loc": { "start": { - "line": 114, - "column": 2 + "line": 125, + "column": 8 }, "end": { - "line": 114, - "column": 7 + "line": 125, + "column": 15 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3510, - "end": 3511, + "value": "=", + "start": 3743, + "end": 3744, "loc": { "start": { - "line": 114, - "column": 7 + "line": 125, + "column": 16 }, "end": { - "line": 114, - "column": 8 + "line": 125, + "column": 17 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -22215,25 +22284,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "newCr", - "start": 3511, - "end": 3516, + "value": "this", + "start": 3745, + "end": 3749, "loc": { "start": { - "line": 114, - "column": 8 + "line": 125, + "column": 18 }, "end": { - "line": 114, - "column": 13 + "line": 125, + "column": 22 } } }, { "type": { - "label": ")", + "label": "let", + "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -22241,25 +22312,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3516, - "end": 3517, + "value": "let", + "start": 3754, + "end": 3757, "loc": { "start": { - "line": 114, - "column": 13 + "line": 126, + "column": 4 }, "end": { - "line": 114, - "column": 14 + "line": 126, + "column": 7 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -22268,51 +22341,50 @@ "postfix": false, "binop": null }, - "start": 3518, - "end": 3519, + "value": "count", + "start": 3758, + "end": 3763, "loc": { "start": { - "line": 114, - "column": 15 + "line": 126, + "column": 8 }, "end": { - "line": 114, - "column": 16 + "line": 126, + "column": 13 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "return", - "start": 3524, - "end": 3530, + "value": "=", + "start": 3764, + "end": 3765, "loc": { "start": { - "line": 115, - "column": 4 + "line": 126, + "column": 14 }, "end": { - "line": 115, - "column": 10 + "line": 126, + "column": 15 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -22323,44 +22395,45 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 3531, - "end": 3535, + "value": 0, + "start": 3766, + "end": 3767, "loc": { "start": { - "line": 115, - "column": 11 + "line": 126, + "column": 16 }, "end": { - "line": 115, - "column": 15 + "line": 126, + "column": 17 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "===", - "start": 3536, - "end": 3539, + "value": "let", + "start": 3772, + "end": 3775, "loc": { "start": { - "line": 115, - "column": 16 + "line": 127, + "column": 4 }, "end": { - "line": 115, - "column": 19 + "line": 127, + "column": 7 } } }, @@ -22376,51 +22449,52 @@ "postfix": false, "binop": null }, - "value": "newCr", - "start": 3540, - "end": 3545, + "value": "cycleCount", + "start": 3776, + "end": 3786, "loc": { "start": { - "line": 115, - "column": 20 + "line": 127, + "column": 8 }, "end": { - "line": 115, - "column": 25 + "line": 127, + "column": 18 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 3545, - "end": 3546, + "value": "=", + "start": 3787, + "end": 3788, "loc": { "start": { - "line": 115, - "column": 25 + "line": 127, + "column": 19 }, "end": { - "line": 115, - "column": 26 + "line": 127, + "column": 20 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -22428,39 +22502,52 @@ "postfix": false, "binop": null }, - "start": 3549, - "end": 3550, + "value": "undefined", + "start": 3789, + "end": 3798, "loc": { "start": { - "line": 116, - "column": 2 + "line": 127, + "column": 21 }, "end": { - "line": 116, - "column": 3 + "line": 127, + "column": 30 } } }, { - "type": "CommentBlock", - "value": "*\n * Return a long count date representing the difference between two dates.\n * @param {CalendarRound} targetCr\n * @return {LongCount}\n ", - "start": 3554, - "end": 3702, + "type": { + "label": "while", + "keyword": "while", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "while", + "start": 3803, + "end": 3808, "loc": { "start": { - "line": 118, - "column": 2 + "line": 128, + "column": 4 }, "end": { - "line": 122, - "column": 5 + "line": 128, + "column": 9 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -22469,42 +22556,43 @@ "postfix": false, "binop": null }, - "value": "minus", - "start": 3705, - "end": 3710, + "start": 3809, + "end": 3810, "loc": { "start": { - "line": 123, - "column": 2 + "line": 128, + "column": 10 }, "end": { - "line": 123, - "column": 7 + "line": 128, + "column": 11 } } }, { "type": { - "label": "(", + "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3710, - "end": 3711, + "value": "!", + "start": 3810, + "end": 3811, "loc": { "start": { - "line": 123, - "column": 7 + "line": 128, + "column": 11 }, "end": { - "line": 123, - "column": 8 + "line": 128, + "column": 12 } } }, @@ -22520,17 +22608,17 @@ "postfix": false, "binop": null }, - "value": "targetCr", - "start": 3711, - "end": 3719, + "value": "foundTarget", + "start": 3811, + "end": 3822, "loc": { "start": { - "line": 123, - "column": 8 + "line": 128, + "column": 12 }, "end": { - "line": 123, - "column": 16 + "line": 128, + "column": 23 } } }, @@ -22546,16 +22634,16 @@ "postfix": false, "binop": null }, - "start": 3719, - "end": 3720, + "start": 3822, + "end": 3823, "loc": { "start": { - "line": 123, - "column": 16 + "line": 128, + "column": 23 }, "end": { - "line": 123, - "column": 17 + "line": 128, + "column": 24 } } }, @@ -22571,39 +22659,39 @@ "postfix": false, "binop": null }, - "start": 3721, - "end": 3722, + "start": 3824, + "end": 3825, "loc": { "start": { - "line": 123, - "column": 18 + "line": 128, + "column": 25 }, "end": { - "line": 123, - "column": 19 + "line": 128, + "column": 26 } } }, { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 3727, - "end": 3741, + "type": "CommentLine", + "value": " eslint-disable-next-line no-use-before-define", + "start": 3832, + "end": 3880, "loc": { "start": { - "line": 124, - "column": 4 + "line": 129, + "column": 6 }, "end": { - "line": 124, - "column": 18 + "line": 129, + "column": 54 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -22614,24 +22702,24 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 3746, - "end": 3751, + "value": "if", + "start": 3887, + "end": 3889, "loc": { "start": { - "line": 125, - "column": 4 + "line": 130, + "column": 6 }, "end": { - "line": 125, - "column": 9 + "line": 130, + "column": 8 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -22640,53 +22728,50 @@ "postfix": false, "binop": null }, - "value": "foundOrigin", - "start": 3752, - "end": 3763, + "start": 3890, + "end": 3891, "loc": { "start": { - "line": 125, - "column": 10 + "line": 130, + "column": 9 }, "end": { - "line": 125, - "column": 21 + "line": 130, + "column": 10 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 3764, - "end": 3765, + "value": "current", + "start": 3891, + "end": 3898, "loc": { "start": { - "line": 125, - "column": 22 + "line": 130, + "column": 10 }, "end": { - "line": 125, - "column": 23 + "line": 130, + "column": 17 } } }, { "type": { - "label": "false", - "keyword": "false", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -22695,71 +22780,67 @@ "binop": null, "updateContext": null }, - "value": "false", - "start": 3766, - "end": 3771, + "start": 3898, + "end": 3899, "loc": { "start": { - "line": 125, - "column": 24 + "line": 130, + "column": 17 }, "end": { - "line": 125, - "column": 29 + "line": 130, + "column": 18 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3771, - "end": 3772, + "value": "equal", + "start": 3899, + "end": 3904, "loc": { "start": { - "line": 125, - "column": 29 + "line": 130, + "column": 18 }, "end": { - "line": 125, - "column": 30 + "line": 130, + "column": 23 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 3777, - "end": 3782, + "start": 3904, + "end": 3905, "loc": { "start": { - "line": 126, - "column": 4 + "line": 130, + "column": 23 }, "end": { - "line": 126, - "column": 9 + "line": 130, + "column": 24 } } }, @@ -22775,186 +22856,179 @@ "postfix": false, "binop": null }, - "value": "foundTarget", - "start": 3783, - "end": 3794, + "value": "origin", + "start": 3905, + "end": 3911, "loc": { "start": { - "line": 126, - "column": 10 + "line": 130, + "column": 24 }, "end": { - "line": 126, - "column": 21 + "line": 130, + "column": 30 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 3795, - "end": 3796, + "start": 3911, + "end": 3912, "loc": { "start": { - "line": 126, - "column": 22 + "line": 130, + "column": 30 }, "end": { - "line": 126, - "column": 23 + "line": 130, + "column": 31 } } }, { "type": { - "label": "false", - "keyword": "false", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "false", - "start": 3797, - "end": 3802, + "start": 3912, + "end": 3913, "loc": { "start": { - "line": 126, - "column": 24 + "line": 130, + "column": 31 }, "end": { - "line": 126, - "column": 29 + "line": 130, + "column": 32 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3802, - "end": 3803, + "start": 3914, + "end": 3915, "loc": { "start": { - "line": 126, - "column": 29 + "line": 130, + "column": 33 }, "end": { - "line": 126, - "column": 30 + "line": 130, + "column": 34 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "let", - "start": 3808, - "end": 3811, + "value": "foundOrigin", + "start": 3924, + "end": 3935, "loc": { "start": { - "line": 127, - "column": 4 + "line": 131, + "column": 8 }, "end": { - "line": 127, - "column": 7 + "line": 131, + "column": 19 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "current", - "start": 3812, - "end": 3819, + "value": "=", + "start": 3936, + "end": 3937, "loc": { "start": { - "line": 127, - "column": 8 + "line": 131, + "column": 20 }, "end": { - "line": 127, - "column": 15 + "line": 131, + "column": 21 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 3820, - "end": 3821, + "value": "true", + "start": 3938, + "end": 3942, "loc": { "start": { - "line": 127, - "column": 16 + "line": 131, + "column": 22 }, "end": { - "line": 127, - "column": 17 + "line": 131, + "column": 26 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -22962,74 +23036,72 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 3822, - "end": 3826, + "value": "cycleCount", + "start": 3951, + "end": 3961, "loc": { "start": { - "line": 127, - "column": 18 + "line": 132, + "column": 8 }, "end": { - "line": 127, - "column": 22 + "line": 132, + "column": 18 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 3826, - "end": 3827, + "value": "=", + "start": 3962, + "end": 3963, "loc": { "start": { - "line": 127, - "column": 22 + "line": 132, + "column": 19 }, "end": { - "line": 127, - "column": 23 + "line": 132, + "column": 20 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "let", - "start": 3832, - "end": 3835, + "value": "count", + "start": 3964, + "end": 3969, "loc": { "start": { - "line": 128, - "column": 4 + "line": 132, + "column": 21 }, "end": { - "line": 128, - "column": 7 + "line": 132, + "column": 26 } } }, @@ -23046,15 +23118,15 @@ "binop": null }, "value": "count", - "start": 3836, - "end": 3841, + "start": 3978, + "end": 3983, "loc": { "start": { - "line": 128, + "line": 133, "column": 8 }, "end": { - "line": 128, + "line": 133, "column": 13 } } @@ -23073,15 +23145,15 @@ "updateContext": null }, "value": "=", - "start": 3842, - "end": 3843, + "start": 3984, + "end": 3985, "loc": { "start": { - "line": 128, + "line": 133, "column": 14 }, "end": { - "line": 128, + "line": 133, "column": 15 } } @@ -23100,77 +23172,76 @@ "updateContext": null }, "value": 0, - "start": 3844, - "end": 3845, + "start": 3986, + "end": 3987, "loc": { "start": { - "line": 128, + "line": 133, "column": 16 }, "end": { - "line": 128, + "line": 133, "column": 17 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3845, - "end": 3846, + "value": "current", + "start": 3996, + "end": 4003, "loc": { "start": { - "line": 128, - "column": 17 + "line": 134, + "column": 8 }, "end": { - "line": 128, - "column": 18 + "line": 134, + "column": 15 } } }, { "type": { - "label": "while", - "keyword": "while", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, - "isLoop": true, - "isAssign": false, + "isLoop": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "while", - "start": 3851, - "end": 3856, + "value": "=", + "start": 4004, + "end": 4005, "loc": { "start": { - "line": 129, - "column": 4 + "line": 134, + "column": 16 }, "end": { - "line": 129, - "column": 9 + "line": 134, + "column": 17 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -23179,43 +23250,43 @@ "postfix": false, "binop": null }, - "start": 3857, - "end": 3858, + "value": "current", + "start": 4006, + "end": 4013, "loc": { "start": { - "line": 129, - "column": 10 + "line": 134, + "column": 18 }, "end": { - "line": 129, - "column": 11 + "line": 134, + "column": 25 } } }, { "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "!", - "start": 3858, - "end": 3859, + "start": 4013, + "end": 4014, "loc": { "start": { - "line": 129, - "column": 11 + "line": 134, + "column": 25 }, "end": { - "line": 129, - "column": 12 + "line": 134, + "column": 26 } } }, @@ -23231,25 +23302,25 @@ "postfix": false, "binop": null }, - "value": "foundTarget", - "start": 3859, - "end": 3870, + "value": "next", + "start": 4014, + "end": 4018, "loc": { "start": { - "line": 129, - "column": 12 + "line": 134, + "column": 26 }, "end": { - "line": 129, - "column": 23 + "line": 134, + "column": 30 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23257,24 +23328,24 @@ "postfix": false, "binop": null }, - "start": 3870, - "end": 3871, + "start": 4018, + "end": 4019, "loc": { "start": { - "line": 129, - "column": 23 + "line": 134, + "column": 30 }, "end": { - "line": 129, - "column": 24 + "line": 134, + "column": 31 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23282,39 +23353,22 @@ "postfix": false, "binop": null }, - "start": 3872, - "end": 3873, - "loc": { - "start": { - "line": 129, - "column": 25 - }, - "end": { - "line": 129, - "column": 26 - } - } - }, - { - "type": "CommentLine", - "value": " eslint-disable-next-line no-use-before-define", - "start": 3880, - "end": 3928, + "start": 4019, + "end": 4020, "loc": { "start": { - "line": 130, - "column": 6 + "line": 134, + "column": 31 }, "end": { - "line": 130, - "column": 54 + "line": 134, + "column": 32 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -23322,97 +23376,99 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 3935, - "end": 3937, + "start": 4027, + "end": 4028, "loc": { "start": { - "line": 131, + "line": 135, "column": 6 }, "end": { - "line": 131, - "column": 8 + "line": 135, + "column": 7 } } }, { "type": { - "label": "(", + "label": "else", + "keyword": "else", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3938, - "end": 3939, + "value": "else", + "start": 4029, + "end": 4033, "loc": { "start": { - "line": 131, - "column": 9 + "line": 135, + "column": 8 }, "end": { - "line": 131, - "column": 10 + "line": 135, + "column": 12 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "current", - "start": 3939, - "end": 3946, + "value": "if", + "start": 4034, + "end": 4036, "loc": { "start": { - "line": 131, - "column": 10 + "line": 135, + "column": 13 }, "end": { - "line": 131, - "column": 17 + "line": 135, + "column": 15 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3946, - "end": 3947, + "start": 4037, + "end": 4038, "loc": { "start": { - "line": 131, - "column": 17 + "line": 135, + "column": 16 }, "end": { - "line": 131, - "column": 18 + "line": 135, + "column": 17 } } }, @@ -23428,42 +23484,43 @@ "postfix": false, "binop": null }, - "value": "equal", - "start": 3947, - "end": 3952, + "value": "current", + "start": 4038, + "end": 4045, "loc": { "start": { - "line": 131, - "column": 18 + "line": 135, + "column": 17 }, "end": { - "line": 131, - "column": 23 + "line": 135, + "column": 24 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3952, - "end": 3953, + "start": 4045, + "end": 4046, "loc": { "start": { - "line": 131, - "column": 23 + "line": 135, + "column": 24 }, "end": { - "line": 131, - "column": 24 + "line": 135, + "column": 25 } } }, @@ -23479,25 +23536,25 @@ "postfix": false, "binop": null }, - "value": "origin", - "start": 3953, - "end": 3959, + "value": "equal", + "start": 4046, + "end": 4051, "loc": { "start": { - "line": 131, - "column": 24 + "line": 135, + "column": 25 }, "end": { - "line": 131, + "line": 135, "column": 30 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23505,24 +23562,24 @@ "postfix": false, "binop": null }, - "start": 3959, - "end": 3960, + "start": 4051, + "end": 4052, "loc": { "start": { - "line": 131, + "line": 135, "column": 30 }, "end": { - "line": 131, + "line": 135, "column": 31 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23530,24 +23587,25 @@ "postfix": false, "binop": null }, - "start": 3960, - "end": 3961, + "value": "targetCr", + "start": 4052, + "end": 4060, "loc": { "start": { - "line": 131, + "line": 135, "column": 31 }, "end": { - "line": 131, - "column": 32 + "line": 135, + "column": 39 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23555,23 +23613,22 @@ "postfix": false, "binop": null }, - "start": 3962, - "end": 3963, + "start": 4060, + "end": 4061, "loc": { "start": { - "line": 131, - "column": 33 + "line": 135, + "column": 39 }, "end": { - "line": 131, - "column": 34 + "line": 135, + "column": 40 } } }, { "type": { - "label": "debugger", - "keyword": "debugger", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -23579,80 +23636,80 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "debugger", - "start": 3972, - "end": 3980, + "start": 4061, + "end": 4062, "loc": { "start": { - "line": 132, - "column": 8 + "line": 135, + "column": 40 }, "end": { - "line": 132, - "column": 16 + "line": 135, + "column": 41 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3980, - "end": 3981, + "start": 4063, + "end": 4064, "loc": { "start": { - "line": 132, - "column": 16 + "line": 135, + "column": 42 }, "end": { - "line": 132, - "column": 17 + "line": 135, + "column": 43 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3988, - "end": 3989, + "value": "return", + "start": 4073, + "end": 4079, "loc": { "start": { - "line": 133, - "column": 6 + "line": 136, + "column": 8 }, "end": { - "line": 133, - "column": 7 + "line": 136, + "column": 14 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": "new", + "keyword": "new", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23661,45 +23718,43 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 3990, - "end": 3994, + "value": "new", + "start": 4080, + "end": 4083, "loc": { "start": { - "line": 133, - "column": 8 + "line": 136, + "column": 15 }, "end": { - "line": 133, - "column": 12 + "line": 136, + "column": 18 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 3995, - "end": 3997, + "value": "DistanceNumber", + "start": 4084, + "end": 4098, "loc": { "start": { - "line": 133, - "column": 13 + "line": 136, + "column": 19 }, "end": { - "line": 133, - "column": 15 + "line": 136, + "column": 33 } } }, @@ -23715,16 +23770,16 @@ "postfix": false, "binop": null }, - "start": 3998, - "end": 3999, + "start": 4098, + "end": 4099, "loc": { "start": { - "line": 133, - "column": 16 + "line": 136, + "column": 33 }, "end": { - "line": 133, - "column": 17 + "line": 136, + "column": 34 } } }, @@ -23740,24 +23795,24 @@ "postfix": false, "binop": null }, - "value": "current", - "start": 3999, - "end": 4006, + "value": "foundOrigin", + "start": 4110, + "end": 4121, "loc": { "start": { - "line": 133, - "column": 17 + "line": 137, + "column": 10 }, "end": { - "line": 133, - "column": 24 + "line": 137, + "column": 21 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "?", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -23767,42 +23822,43 @@ "binop": null, "updateContext": null }, - "start": 4006, - "end": 4007, + "start": 4134, + "end": 4135, "loc": { "start": { - "line": 133, - "column": 24 + "line": 138, + "column": 12 }, "end": { - "line": 133, - "column": 25 + "line": 138, + "column": 13 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "+/-", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "value": "equal", - "start": 4007, - "end": 4012, + "value": "-", + "start": 4136, + "end": 4137, "loc": { "start": { - "line": 133, - "column": 25 + "line": 138, + "column": 14 }, "end": { - "line": 133, - "column": 30 + "line": 138, + "column": 15 } } }, @@ -23818,22 +23874,22 @@ "postfix": false, "binop": null }, - "start": 4012, - "end": 4013, + "start": 4137, + "end": 4138, "loc": { "start": { - "line": 133, - "column": 30 + "line": 138, + "column": 15 }, "end": { - "line": 133, - "column": 31 + "line": 138, + "column": 16 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -23841,76 +23897,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "targetCr", - "start": 4013, - "end": 4021, + "value": 18979, + "start": 4138, + "end": 4143, "loc": { "start": { - "line": 133, - "column": 31 + "line": 138, + "column": 16 }, "end": { - "line": 133, - "column": 39 + "line": 138, + "column": 21 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "start": 4021, - "end": 4022, + "value": "-", + "start": 4144, + "end": 4145, "loc": { "start": { - "line": 133, - "column": 39 + "line": 138, + "column": 22 }, "end": { - "line": 133, - "column": 40 + "line": 138, + "column": 23 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4022, - "end": 4023, - "loc": { - "start": { - "line": 133, - "column": 40 - }, - "end": { - "line": 133, - "column": 41 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -23919,80 +23953,78 @@ "postfix": false, "binop": null }, - "start": 4024, - "end": 4025, + "value": "cycleCount", + "start": 4146, + "end": 4156, "loc": { "start": { - "line": 133, - "column": 42 + "line": 138, + "column": 24 }, "end": { - "line": 133, - "column": 43 + "line": 138, + "column": 34 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "+/-", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "value": "return", - "start": 4034, - "end": 4040, + "value": "-", + "start": 4157, + "end": 4158, "loc": { "start": { - "line": 134, - "column": 8 + "line": 138, + "column": 35 }, "end": { - "line": 134, - "column": 14 + "line": 138, + "column": 36 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 4041, - "end": 4044, + "value": "count", + "start": 4159, + "end": 4164, "loc": { "start": { - "line": 134, - "column": 15 + "line": 138, + "column": 37 }, "end": { - "line": 134, - "column": 18 + "line": 138, + "column": 42 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24000,42 +24032,42 @@ "postfix": false, "binop": null }, - "value": "DistanceNumber", - "start": 4045, - "end": 4059, + "start": 4164, + "end": 4165, "loc": { "start": { - "line": 134, - "column": 19 + "line": 138, + "column": 42 }, "end": { - "line": 134, - "column": 33 + "line": 138, + "column": 43 } } }, { "type": { - "label": "(", + "label": ":", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4059, - "end": 4060, + "start": 4178, + "end": 4179, "loc": { "start": { - "line": 134, - "column": 33 + "line": 139, + "column": 12 }, "end": { - "line": 134, - "column": 34 + "line": 139, + "column": 13 } } }, @@ -24052,47 +24084,48 @@ "binop": null }, "value": "count", - "start": 4060, - "end": 4065, + "start": 4180, + "end": 4185, "loc": { "start": { - "line": 134, - "column": 34 + "line": 139, + "column": 14 }, "end": { - "line": 134, - "column": 39 + "line": 139, + "column": 19 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4065, - "end": 4066, + "start": 4185, + "end": 4186, "loc": { "start": { - "line": 134, - "column": 39 + "line": 139, + "column": 19 }, "end": { - "line": 134, - "column": 40 + "line": 139, + "column": 20 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -24100,52 +24133,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4066, - "end": 4067, + "start": 4195, + "end": 4196, "loc": { "start": { - "line": 134, - "column": 40 + "line": 140, + "column": 8 }, "end": { - "line": 134, - "column": 41 + "line": 140, + "column": 9 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "normalise", - "start": 4067, - "end": 4076, + "start": 4196, + "end": 4197, "loc": { "start": { - "line": 134, - "column": 41 + "line": 140, + "column": 9 }, "end": { - "line": 134, - "column": 50 + "line": 140, + "column": 10 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -24154,24 +24186,25 @@ "postfix": false, "binop": null }, - "start": 4076, - "end": 4077, + "value": "normalise", + "start": 4197, + "end": 4206, "loc": { "start": { - "line": 134, - "column": 50 + "line": 140, + "column": 10 }, "end": { - "line": 134, - "column": 51 + "line": 140, + "column": 19 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24179,42 +24212,41 @@ "postfix": false, "binop": null }, - "start": 4077, - "end": 4078, + "start": 4206, + "end": 4207, "loc": { "start": { - "line": 134, - "column": 51 + "line": 140, + "column": 19 }, "end": { - "line": 134, - "column": 52 + "line": 140, + "column": 20 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4078, - "end": 4079, + "start": 4207, + "end": 4208, "loc": { "start": { - "line": 134, - "column": 52 + "line": 140, + "column": 20 }, "end": { - "line": 134, - "column": 53 + "line": 140, + "column": 21 } } }, @@ -24230,15 +24262,15 @@ "postfix": false, "binop": null }, - "start": 4086, - "end": 4087, + "start": 4215, + "end": 4216, "loc": { "start": { - "line": 135, + "line": 141, "column": 6 }, "end": { - "line": 135, + "line": 141, "column": 7 } } @@ -24258,15 +24290,15 @@ "updateContext": null }, "value": "else", - "start": 4088, - "end": 4092, + "start": 4217, + "end": 4221, "loc": { "start": { - "line": 135, + "line": 141, "column": 8 }, "end": { - "line": 135, + "line": 141, "column": 12 } } @@ -24283,15 +24315,15 @@ "postfix": false, "binop": null }, - "start": 4093, - "end": 4094, + "start": 4222, + "end": 4223, "loc": { "start": { - "line": 135, + "line": 141, "column": 13 }, "end": { - "line": 135, + "line": 141, "column": 14 } } @@ -24309,15 +24341,15 @@ "binop": null }, "value": "current", - "start": 4103, - "end": 4110, + "start": 4232, + "end": 4239, "loc": { "start": { - "line": 136, + "line": 142, "column": 8 }, "end": { - "line": 136, + "line": 142, "column": 15 } } @@ -24336,15 +24368,15 @@ "updateContext": null }, "value": "=", - "start": 4111, - "end": 4112, + "start": 4240, + "end": 4241, "loc": { "start": { - "line": 136, + "line": 142, "column": 16 }, "end": { - "line": 136, + "line": 142, "column": 17 } } @@ -24362,15 +24394,15 @@ "binop": null }, "value": "current", - "start": 4113, - "end": 4120, + "start": 4242, + "end": 4249, "loc": { "start": { - "line": 136, + "line": 142, "column": 18 }, "end": { - "line": 136, + "line": 142, "column": 25 } } @@ -24388,15 +24420,15 @@ "binop": null, "updateContext": null }, - "start": 4120, - "end": 4121, + "start": 4249, + "end": 4250, "loc": { "start": { - "line": 136, + "line": 142, "column": 25 }, "end": { - "line": 136, + "line": 142, "column": 26 } } @@ -24414,15 +24446,15 @@ "binop": null }, "value": "next", - "start": 4121, - "end": 4125, + "start": 4250, + "end": 4254, "loc": { "start": { - "line": 136, + "line": 142, "column": 26 }, "end": { - "line": 136, + "line": 142, "column": 30 } } @@ -24439,15 +24471,15 @@ "postfix": false, "binop": null }, - "start": 4125, - "end": 4126, + "start": 4254, + "end": 4255, "loc": { "start": { - "line": 136, + "line": 142, "column": 30 }, "end": { - "line": 136, + "line": 142, "column": 31 } } @@ -24464,42 +24496,16 @@ "postfix": false, "binop": null }, - "start": 4126, - "end": 4127, + "start": 4255, + "end": 4256, "loc": { "start": { - "line": 136, + "line": 142, "column": 31 }, "end": { - "line": 136, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4127, - "end": 4128, - "loc": { - "start": { - "line": 136, + "line": 142, "column": 32 - }, - "end": { - "line": 136, - "column": 33 } } }, @@ -24516,15 +24522,15 @@ "binop": null }, "value": "count", - "start": 4137, - "end": 4142, + "start": 4265, + "end": 4270, "loc": { "start": { - "line": 137, + "line": 143, "column": 8 }, "end": { - "line": 137, + "line": 143, "column": 13 } } @@ -24543,15 +24549,15 @@ "updateContext": null }, "value": "+=", - "start": 4143, - "end": 4145, + "start": 4271, + "end": 4273, "loc": { "start": { - "line": 137, + "line": 143, "column": 14 }, "end": { - "line": 137, + "line": 143, "column": 16 } } @@ -24570,42 +24576,16 @@ "updateContext": null }, "value": 1, - "start": 4146, - "end": 4147, + "start": 4274, + "end": 4275, "loc": { "start": { - "line": 137, + "line": 143, "column": 17 }, "end": { - "line": 137, - "column": 18 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4147, - "end": 4148, - "loc": { - "start": { - "line": 137, + "line": 143, "column": 18 - }, - "end": { - "line": 137, - "column": 19 } } }, @@ -24621,15 +24601,15 @@ "postfix": false, "binop": null }, - "start": 4155, - "end": 4156, + "start": 4282, + "end": 4283, "loc": { "start": { - "line": 138, + "line": 144, "column": 6 }, "end": { - "line": 138, + "line": 144, "column": 7 } } @@ -24646,15 +24626,15 @@ "postfix": false, "binop": null }, - "start": 4161, - "end": 4162, + "start": 4288, + "end": 4289, "loc": { "start": { - "line": 139, + "line": 145, "column": 4 }, "end": { - "line": 139, + "line": 145, "column": 5 } } @@ -24671,15 +24651,15 @@ "postfix": false, "binop": null }, - "start": 4165, - "end": 4166, + "start": 4292, + "end": 4293, "loc": { "start": { - "line": 140, + "line": 146, "column": 2 }, "end": { - "line": 140, + "line": 146, "column": 3 } } @@ -24687,15 +24667,15 @@ { "type": "CommentBlock", "value": "*\n * Check that this Calendar Round matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return true.\n * @param {CalendarRound} newCr\n * @return {boolean}\n ", - "start": 4170, - "end": 4388, + "start": 4297, + "end": 4515, "loc": { "start": { - "line": 142, + "line": 148, "column": 2 }, "end": { - "line": 147, + "line": 153, "column": 5 } } @@ -24713,15 +24693,15 @@ "binop": null }, "value": "match", - "start": 4391, - "end": 4396, + "start": 4518, + "end": 4523, "loc": { "start": { - "line": 148, + "line": 154, "column": 2 }, "end": { - "line": 148, + "line": 154, "column": 7 } } @@ -24738,16 +24718,16 @@ "postfix": false, "binop": null }, - "start": 4396, - "end": 4397, + "start": 4524, + "end": 4525, "loc": { "start": { - "line": 148, - "column": 7 + "line": 154, + "column": 8 }, "end": { - "line": 148, - "column": 8 + "line": 154, + "column": 9 } } }, @@ -24764,16 +24744,16 @@ "binop": null }, "value": "newCr", - "start": 4397, - "end": 4402, + "start": 4525, + "end": 4530, "loc": { "start": { - "line": 148, - "column": 8 + "line": 154, + "column": 9 }, "end": { - "line": 148, - "column": 13 + "line": 154, + "column": 14 } } }, @@ -24789,16 +24769,16 @@ "postfix": false, "binop": null }, - "start": 4402, - "end": 4403, + "start": 4530, + "end": 4531, "loc": { "start": { - "line": 148, - "column": 13 + "line": 154, + "column": 14 }, "end": { - "line": 148, - "column": 14 + "line": 154, + "column": 15 } } }, @@ -24814,16 +24794,16 @@ "postfix": false, "binop": null }, - "start": 4404, - "end": 4405, + "start": 4532, + "end": 4533, "loc": { "start": { - "line": 148, - "column": 15 + "line": 154, + "column": 16 }, "end": { - "line": 148, - "column": 16 + "line": 154, + "column": 17 } } }, @@ -24842,15 +24822,15 @@ "updateContext": null }, "value": "const", - "start": 4410, - "end": 4415, + "start": 4538, + "end": 4543, "loc": { "start": { - "line": 149, + "line": 155, "column": 4 }, "end": { - "line": 149, + "line": 155, "column": 9 } } @@ -24868,15 +24848,15 @@ "binop": null }, "value": "haabMatches", - "start": 4416, - "end": 4427, + "start": 4544, + "end": 4555, "loc": { "start": { - "line": 149, + "line": 155, "column": 10 }, "end": { - "line": 149, + "line": 155, "column": 21 } } @@ -24895,15 +24875,15 @@ "updateContext": null }, "value": "=", - "start": 4428, - "end": 4429, + "start": 4556, + "end": 4557, "loc": { "start": { - "line": 149, + "line": 155, "column": 22 }, "end": { - "line": 149, + "line": 155, "column": 23 } } @@ -24923,15 +24903,15 @@ "updateContext": null }, "value": "this", - "start": 4430, - "end": 4434, + "start": 4558, + "end": 4562, "loc": { "start": { - "line": 149, + "line": 155, "column": 24 }, "end": { - "line": 149, + "line": 155, "column": 28 } } @@ -24949,15 +24929,15 @@ "binop": null, "updateContext": null }, - "start": 4434, - "end": 4435, + "start": 4562, + "end": 4563, "loc": { "start": { - "line": 149, + "line": 155, "column": 28 }, "end": { - "line": 149, + "line": 155, "column": 29 } } @@ -24975,15 +24955,15 @@ "binop": null }, "value": "haab", - "start": 4435, - "end": 4439, + "start": 4563, + "end": 4567, "loc": { "start": { - "line": 149, + "line": 155, "column": 29 }, "end": { - "line": 149, + "line": 155, "column": 33 } } @@ -25001,15 +24981,15 @@ "binop": null, "updateContext": null }, - "start": 4439, - "end": 4440, + "start": 4567, + "end": 4568, "loc": { "start": { - "line": 149, + "line": 155, "column": 33 }, "end": { - "line": 149, + "line": 155, "column": 34 } } @@ -25027,15 +25007,15 @@ "binop": null }, "value": "match", - "start": 4440, - "end": 4445, + "start": 4568, + "end": 4573, "loc": { "start": { - "line": 149, + "line": 155, "column": 34 }, "end": { - "line": 149, + "line": 155, "column": 39 } } @@ -25052,15 +25032,15 @@ "postfix": false, "binop": null }, - "start": 4445, - "end": 4446, + "start": 4573, + "end": 4574, "loc": { "start": { - "line": 149, + "line": 155, "column": 39 }, "end": { - "line": 149, + "line": 155, "column": 40 } } @@ -25078,15 +25058,15 @@ "binop": null }, "value": "newCr", - "start": 4446, - "end": 4451, + "start": 4574, + "end": 4579, "loc": { "start": { - "line": 149, + "line": 155, "column": 40 }, "end": { - "line": 149, + "line": 155, "column": 45 } } @@ -25104,15 +25084,15 @@ "binop": null, "updateContext": null }, - "start": 4451, - "end": 4452, + "start": 4579, + "end": 4580, "loc": { "start": { - "line": 149, + "line": 155, "column": 45 }, "end": { - "line": 149, + "line": 155, "column": 46 } } @@ -25130,15 +25110,15 @@ "binop": null }, "value": "haab", - "start": 4452, - "end": 4456, + "start": 4580, + "end": 4584, "loc": { "start": { - "line": 149, + "line": 155, "column": 46 }, "end": { - "line": 149, + "line": 155, "column": 50 } } @@ -25155,42 +25135,16 @@ "postfix": false, "binop": null }, - "start": 4456, - "end": 4457, + "start": 4584, + "end": 4585, "loc": { "start": { - "line": 149, + "line": 155, "column": 50 }, "end": { - "line": 149, - "column": 51 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4457, - "end": 4458, - "loc": { - "start": { - "line": 149, + "line": 155, "column": 51 - }, - "end": { - "line": 149, - "column": 52 } } }, @@ -25209,15 +25163,15 @@ "updateContext": null }, "value": "const", - "start": 4463, - "end": 4468, + "start": 4590, + "end": 4595, "loc": { "start": { - "line": 150, + "line": 156, "column": 4 }, "end": { - "line": 150, + "line": 156, "column": 9 } } @@ -25235,15 +25189,15 @@ "binop": null }, "value": "tzolkinMatches", - "start": 4469, - "end": 4483, + "start": 4596, + "end": 4610, "loc": { "start": { - "line": 150, + "line": 156, "column": 10 }, "end": { - "line": 150, + "line": 156, "column": 24 } } @@ -25262,15 +25216,15 @@ "updateContext": null }, "value": "=", - "start": 4484, - "end": 4485, + "start": 4611, + "end": 4612, "loc": { "start": { - "line": 150, + "line": 156, "column": 25 }, "end": { - "line": 150, + "line": 156, "column": 26 } } @@ -25290,15 +25244,15 @@ "updateContext": null }, "value": "this", - "start": 4486, - "end": 4490, + "start": 4613, + "end": 4617, "loc": { "start": { - "line": 150, + "line": 156, "column": 27 }, "end": { - "line": 150, + "line": 156, "column": 31 } } @@ -25316,15 +25270,15 @@ "binop": null, "updateContext": null }, - "start": 4490, - "end": 4491, + "start": 4617, + "end": 4618, "loc": { "start": { - "line": 150, + "line": 156, "column": 31 }, "end": { - "line": 150, + "line": 156, "column": 32 } } @@ -25342,15 +25296,15 @@ "binop": null }, "value": "tzolkin", - "start": 4491, - "end": 4498, + "start": 4618, + "end": 4625, "loc": { "start": { - "line": 150, + "line": 156, "column": 32 }, "end": { - "line": 150, + "line": 156, "column": 39 } } @@ -25368,15 +25322,15 @@ "binop": null, "updateContext": null }, - "start": 4498, - "end": 4499, + "start": 4625, + "end": 4626, "loc": { "start": { - "line": 150, + "line": 156, "column": 39 }, "end": { - "line": 150, + "line": 156, "column": 40 } } @@ -25394,15 +25348,15 @@ "binop": null }, "value": "match", - "start": 4499, - "end": 4504, + "start": 4626, + "end": 4631, "loc": { "start": { - "line": 150, + "line": 156, "column": 40 }, "end": { - "line": 150, + "line": 156, "column": 45 } } @@ -25419,15 +25373,15 @@ "postfix": false, "binop": null }, - "start": 4504, - "end": 4505, + "start": 4631, + "end": 4632, "loc": { "start": { - "line": 150, + "line": 156, "column": 45 }, "end": { - "line": 150, + "line": 156, "column": 46 } } @@ -25445,15 +25399,15 @@ "binop": null }, "value": "newCr", - "start": 4505, - "end": 4510, + "start": 4632, + "end": 4637, "loc": { "start": { - "line": 150, + "line": 156, "column": 46 }, "end": { - "line": 150, + "line": 156, "column": 51 } } @@ -25471,15 +25425,15 @@ "binop": null, "updateContext": null }, - "start": 4510, - "end": 4511, + "start": 4637, + "end": 4638, "loc": { "start": { - "line": 150, + "line": 156, "column": 51 }, "end": { - "line": 150, + "line": 156, "column": 52 } } @@ -25497,15 +25451,15 @@ "binop": null }, "value": "tzolkin", - "start": 4511, - "end": 4518, + "start": 4638, + "end": 4645, "loc": { "start": { - "line": 150, + "line": 156, "column": 52 }, "end": { - "line": 150, + "line": 156, "column": 59 } } @@ -25522,42 +25476,16 @@ "postfix": false, "binop": null }, - "start": 4518, - "end": 4519, + "start": 4645, + "end": 4646, "loc": { "start": { - "line": 150, + "line": 156, "column": 59 }, "end": { - "line": 150, - "column": 60 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4519, - "end": 4520, - "loc": { - "start": { - "line": 150, + "line": 156, "column": 60 - }, - "end": { - "line": 150, - "column": 61 } } }, @@ -25576,15 +25504,15 @@ "updateContext": null }, "value": "return", - "start": 4525, - "end": 4531, + "start": 4651, + "end": 4657, "loc": { "start": { - "line": 151, + "line": 157, "column": 4 }, "end": { - "line": 151, + "line": 157, "column": 10 } } @@ -25602,15 +25530,15 @@ "binop": null }, "value": "haabMatches", - "start": 4532, - "end": 4543, + "start": 4658, + "end": 4669, "loc": { "start": { - "line": 151, + "line": 157, "column": 11 }, "end": { - "line": 151, + "line": 157, "column": 22 } } @@ -25629,15 +25557,15 @@ "updateContext": null }, "value": "&&", - "start": 4544, - "end": 4546, + "start": 4670, + "end": 4672, "loc": { "start": { - "line": 151, + "line": 157, "column": 23 }, "end": { - "line": 151, + "line": 157, "column": 25 } } @@ -25655,42 +25583,16 @@ "binop": null }, "value": "tzolkinMatches", - "start": 4547, - "end": 4561, + "start": 4673, + "end": 4687, "loc": { "start": { - "line": 151, + "line": 157, "column": 26 }, "end": { - "line": 151, - "column": 40 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4561, - "end": 4562, - "loc": { - "start": { - "line": 151, + "line": 157, "column": 40 - }, - "end": { - "line": 151, - "column": 41 } } }, @@ -25706,15 +25608,15 @@ "postfix": false, "binop": null }, - "start": 4565, - "end": 4566, + "start": 4690, + "end": 4691, "loc": { "start": { - "line": 152, + "line": 158, "column": 2 }, "end": { - "line": 152, + "line": 158, "column": 3 } } @@ -25722,15 +25624,15 @@ { "type": "CommentBlock", "value": "*\n * Shift a CalendarRound forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment\n * @return {CalendarRound}\n ", - "start": 4570, - "end": 4751, + "start": 4695, + "end": 4876, "loc": { "start": { - "line": 154, + "line": 160, "column": 2 }, "end": { - "line": 159, + "line": 165, "column": 5 } } @@ -25748,15 +25650,15 @@ "binop": null }, "value": "shift", - "start": 4754, - "end": 4759, + "start": 4879, + "end": 4884, "loc": { "start": { - "line": 160, + "line": 166, "column": 2 }, "end": { - "line": 160, + "line": 166, "column": 7 } } @@ -25773,16 +25675,16 @@ "postfix": false, "binop": null }, - "start": 4759, - "end": 4760, + "start": 4885, + "end": 4886, "loc": { "start": { - "line": 160, - "column": 7 + "line": 166, + "column": 8 }, "end": { - "line": 160, - "column": 8 + "line": 166, + "column": 9 } } }, @@ -25799,16 +25701,16 @@ "binop": null }, "value": "increment", - "start": 4760, - "end": 4769, + "start": 4886, + "end": 4895, "loc": { "start": { - "line": 160, - "column": 8 + "line": 166, + "column": 9 }, "end": { - "line": 160, - "column": 17 + "line": 166, + "column": 18 } } }, @@ -25824,16 +25726,16 @@ "postfix": false, "binop": null }, - "start": 4769, - "end": 4770, + "start": 4895, + "end": 4896, "loc": { "start": { - "line": 160, - "column": 17 + "line": 166, + "column": 18 }, "end": { - "line": 160, - "column": 18 + "line": 166, + "column": 19 } } }, @@ -25849,16 +25751,16 @@ "postfix": false, "binop": null }, - "start": 4771, - "end": 4772, + "start": 4897, + "end": 4898, "loc": { "start": { - "line": 160, - "column": 19 + "line": 166, + "column": 20 }, "end": { - "line": 160, - "column": 20 + "line": 166, + "column": 21 } } }, @@ -25877,15 +25779,15 @@ "updateContext": null }, "value": "const", - "start": 4777, - "end": 4782, + "start": 4903, + "end": 4908, "loc": { "start": { - "line": 161, + "line": 167, "column": 4 }, "end": { - "line": 161, + "line": 167, "column": 9 } } @@ -25903,15 +25805,15 @@ "binop": null }, "value": "newHaab", - "start": 4783, - "end": 4790, + "start": 4909, + "end": 4916, "loc": { "start": { - "line": 161, + "line": 167, "column": 10 }, "end": { - "line": 161, + "line": 167, "column": 17 } } @@ -25930,15 +25832,15 @@ "updateContext": null }, "value": "=", - "start": 4791, - "end": 4792, + "start": 4917, + "end": 4918, "loc": { "start": { - "line": 161, + "line": 167, "column": 18 }, "end": { - "line": 161, + "line": 167, "column": 19 } } @@ -25958,15 +25860,15 @@ "updateContext": null }, "value": "this", - "start": 4793, - "end": 4797, + "start": 4919, + "end": 4923, "loc": { "start": { - "line": 161, + "line": 167, "column": 20 }, "end": { - "line": 161, + "line": 167, "column": 24 } } @@ -25984,15 +25886,15 @@ "binop": null, "updateContext": null }, - "start": 4797, - "end": 4798, + "start": 4923, + "end": 4924, "loc": { "start": { - "line": 161, + "line": 167, "column": 24 }, "end": { - "line": 161, + "line": 167, "column": 25 } } @@ -26010,15 +25912,15 @@ "binop": null }, "value": "haab", - "start": 4798, - "end": 4802, + "start": 4924, + "end": 4928, "loc": { "start": { - "line": 161, + "line": 167, "column": 25 }, "end": { - "line": 161, + "line": 167, "column": 29 } } @@ -26036,15 +25938,15 @@ "binop": null, "updateContext": null }, - "start": 4802, - "end": 4803, + "start": 4928, + "end": 4929, "loc": { "start": { - "line": 161, + "line": 167, "column": 29 }, "end": { - "line": 161, + "line": 167, "column": 30 } } @@ -26062,15 +25964,15 @@ "binop": null }, "value": "shift", - "start": 4803, - "end": 4808, + "start": 4929, + "end": 4934, "loc": { "start": { - "line": 161, + "line": 167, "column": 30 }, "end": { - "line": 161, + "line": 167, "column": 35 } } @@ -26087,15 +25989,15 @@ "postfix": false, "binop": null }, - "start": 4808, - "end": 4809, + "start": 4934, + "end": 4935, "loc": { "start": { - "line": 161, + "line": 167, "column": 35 }, "end": { - "line": 161, + "line": 167, "column": 36 } } @@ -26113,15 +26015,15 @@ "binop": null }, "value": "increment", - "start": 4809, - "end": 4818, + "start": 4935, + "end": 4944, "loc": { "start": { - "line": 161, + "line": 167, "column": 36 }, "end": { - "line": 161, + "line": 167, "column": 45 } } @@ -26138,42 +26040,16 @@ "postfix": false, "binop": null }, - "start": 4818, - "end": 4819, + "start": 4944, + "end": 4945, "loc": { "start": { - "line": 161, + "line": 167, "column": 45 }, "end": { - "line": 161, - "column": 46 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4819, - "end": 4820, - "loc": { - "start": { - "line": 161, + "line": 167, "column": 46 - }, - "end": { - "line": 161, - "column": 47 } } }, @@ -26192,15 +26068,15 @@ "updateContext": null }, "value": "const", - "start": 4825, - "end": 4830, + "start": 4950, + "end": 4955, "loc": { "start": { - "line": 162, + "line": 168, "column": 4 }, "end": { - "line": 162, + "line": 168, "column": 9 } } @@ -26218,15 +26094,15 @@ "binop": null }, "value": "newTzolkin", - "start": 4831, - "end": 4841, + "start": 4956, + "end": 4966, "loc": { "start": { - "line": 162, + "line": 168, "column": 10 }, "end": { - "line": 162, + "line": 168, "column": 20 } } @@ -26245,15 +26121,15 @@ "updateContext": null }, "value": "=", - "start": 4842, - "end": 4843, + "start": 4967, + "end": 4968, "loc": { "start": { - "line": 162, + "line": 168, "column": 21 }, "end": { - "line": 162, + "line": 168, "column": 22 } } @@ -26273,15 +26149,15 @@ "updateContext": null }, "value": "this", - "start": 4844, - "end": 4848, + "start": 4969, + "end": 4973, "loc": { "start": { - "line": 162, + "line": 168, "column": 23 }, "end": { - "line": 162, + "line": 168, "column": 27 } } @@ -26299,15 +26175,15 @@ "binop": null, "updateContext": null }, - "start": 4848, - "end": 4849, + "start": 4973, + "end": 4974, "loc": { "start": { - "line": 162, + "line": 168, "column": 27 }, "end": { - "line": 162, + "line": 168, "column": 28 } } @@ -26325,15 +26201,15 @@ "binop": null }, "value": "tzolkin", - "start": 4849, - "end": 4856, + "start": 4974, + "end": 4981, "loc": { "start": { - "line": 162, + "line": 168, "column": 28 }, "end": { - "line": 162, + "line": 168, "column": 35 } } @@ -26351,15 +26227,15 @@ "binop": null, "updateContext": null }, - "start": 4856, - "end": 4857, + "start": 4981, + "end": 4982, "loc": { "start": { - "line": 162, + "line": 168, "column": 35 }, "end": { - "line": 162, + "line": 168, "column": 36 } } @@ -26377,15 +26253,15 @@ "binop": null }, "value": "shift", - "start": 4857, - "end": 4862, + "start": 4982, + "end": 4987, "loc": { "start": { - "line": 162, + "line": 168, "column": 36 }, "end": { - "line": 162, + "line": 168, "column": 41 } } @@ -26402,15 +26278,15 @@ "postfix": false, "binop": null }, - "start": 4862, - "end": 4863, + "start": 4987, + "end": 4988, "loc": { "start": { - "line": 162, + "line": 168, "column": 41 }, "end": { - "line": 162, + "line": 168, "column": 42 } } @@ -26428,82 +26304,56 @@ "binop": null }, "value": "increment", - "start": 4863, - "end": 4872, + "start": 4988, + "end": 4997, "loc": { "start": { - "line": 162, + "line": 168, "column": 42 }, "end": { - "line": 162, - "column": 51 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4872, - "end": 4873, - "loc": { - "start": { - "line": 162, + "line": 168, "column": 51 - }, - "end": { - "line": 162, - "column": 52 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4873, - "end": 4874, + "start": 4997, + "end": 4998, "loc": { "start": { - "line": 162, - "column": 52 + "line": 168, + "column": 51 }, "end": { - "line": 162, - "column": 53 + "line": 168, + "column": 52 } } }, { "type": "CommentLine", "value": " eslint-disable-next-line no-use-before-define", - "start": 4879, - "end": 4927, + "start": 5003, + "end": 5051, "loc": { "start": { - "line": 163, + "line": 169, "column": 4 }, "end": { - "line": 163, + "line": 169, "column": 52 } } @@ -26523,15 +26373,15 @@ "updateContext": null }, "value": "return", - "start": 4932, - "end": 4938, + "start": 5056, + "end": 5062, "loc": { "start": { - "line": 164, + "line": 170, "column": 4 }, "end": { - "line": 164, + "line": 170, "column": 10 } } @@ -26549,15 +26399,15 @@ "binop": null }, "value": "getCalendarRound", - "start": 4939, - "end": 4955, + "start": 5063, + "end": 5079, "loc": { "start": { - "line": 164, + "line": 170, "column": 11 }, "end": { - "line": 164, + "line": 170, "column": 27 } } @@ -26574,15 +26424,15 @@ "postfix": false, "binop": null }, - "start": 4955, - "end": 4956, + "start": 5079, + "end": 5080, "loc": { "start": { - "line": 164, + "line": 170, "column": 27 }, "end": { - "line": 164, + "line": 170, "column": 28 } } @@ -26600,15 +26450,15 @@ "binop": null }, "value": "newTzolkin", - "start": 4963, - "end": 4973, + "start": 5087, + "end": 5097, "loc": { "start": { - "line": 165, + "line": 171, "column": 6 }, "end": { - "line": 165, + "line": 171, "column": 16 } } @@ -26626,15 +26476,15 @@ "binop": null, "updateContext": null }, - "start": 4973, - "end": 4974, + "start": 5097, + "end": 5098, "loc": { "start": { - "line": 165, + "line": 171, "column": 16 }, "end": { - "line": 165, + "line": 171, "column": 17 } } @@ -26652,15 +26502,15 @@ "binop": null }, "value": "coeff", - "start": 4974, - "end": 4979, + "start": 5098, + "end": 5103, "loc": { "start": { - "line": 165, + "line": 171, "column": 17 }, "end": { - "line": 165, + "line": 171, "column": 22 } } @@ -26678,15 +26528,15 @@ "binop": null, "updateContext": null }, - "start": 4979, - "end": 4980, + "start": 5103, + "end": 5104, "loc": { "start": { - "line": 165, + "line": 171, "column": 22 }, "end": { - "line": 165, + "line": 171, "column": 23 } } @@ -26704,15 +26554,15 @@ "binop": null }, "value": "newTzolkin", - "start": 4987, - "end": 4997, + "start": 5111, + "end": 5121, "loc": { "start": { - "line": 166, + "line": 172, "column": 6 }, "end": { - "line": 166, + "line": 172, "column": 16 } } @@ -26730,15 +26580,15 @@ "binop": null, "updateContext": null }, - "start": 4997, - "end": 4998, + "start": 5121, + "end": 5122, "loc": { "start": { - "line": 166, + "line": 172, "column": 16 }, "end": { - "line": 166, + "line": 172, "column": 17 } } @@ -26756,15 +26606,15 @@ "binop": null }, "value": "day", - "start": 4998, - "end": 5001, + "start": 5122, + "end": 5125, "loc": { "start": { - "line": 166, + "line": 172, "column": 17 }, "end": { - "line": 166, + "line": 172, "column": 20 } } @@ -26782,15 +26632,15 @@ "binop": null, "updateContext": null }, - "start": 5001, - "end": 5002, + "start": 5125, + "end": 5126, "loc": { "start": { - "line": 166, + "line": 172, "column": 20 }, "end": { - "line": 166, + "line": 172, "column": 21 } } @@ -26808,15 +26658,15 @@ "binop": null }, "value": "newHaab", - "start": 5009, - "end": 5016, + "start": 5133, + "end": 5140, "loc": { "start": { - "line": 167, + "line": 173, "column": 6 }, "end": { - "line": 167, + "line": 173, "column": 13 } } @@ -26834,15 +26684,15 @@ "binop": null, "updateContext": null }, - "start": 5016, - "end": 5017, + "start": 5140, + "end": 5141, "loc": { "start": { - "line": 167, + "line": 173, "column": 13 }, "end": { - "line": 167, + "line": 173, "column": 14 } } @@ -26860,15 +26710,15 @@ "binop": null }, "value": "coeff", - "start": 5017, - "end": 5022, + "start": 5141, + "end": 5146, "loc": { "start": { - "line": 167, + "line": 173, "column": 14 }, "end": { - "line": 167, + "line": 173, "column": 19 } } @@ -26886,15 +26736,15 @@ "binop": null, "updateContext": null }, - "start": 5022, - "end": 5023, + "start": 5146, + "end": 5147, "loc": { "start": { - "line": 167, + "line": 173, "column": 19 }, "end": { - "line": 167, + "line": 173, "column": 20 } } @@ -26912,15 +26762,15 @@ "binop": null }, "value": "newHaab", - "start": 5030, - "end": 5037, + "start": 5154, + "end": 5161, "loc": { "start": { - "line": 168, + "line": 174, "column": 6 }, "end": { - "line": 168, + "line": 174, "column": 13 } } @@ -26938,15 +26788,15 @@ "binop": null, "updateContext": null }, - "start": 5037, - "end": 5038, + "start": 5161, + "end": 5162, "loc": { "start": { - "line": 168, + "line": 174, "column": 13 }, "end": { - "line": 168, + "line": 174, "column": 14 } } @@ -26964,67 +26814,67 @@ "binop": null }, "value": "month", - "start": 5038, - "end": 5043, + "start": 5162, + "end": 5167, "loc": { "start": { - "line": 168, + "line": 174, "column": 14 }, "end": { - "line": 168, + "line": 174, "column": 19 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5048, - "end": 5049, + "start": 5167, + "end": 5168, "loc": { "start": { - "line": 169, - "column": 4 + "line": 174, + "column": 19 }, "end": { - "line": 169, - "column": 5 + "line": 174, + "column": 20 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5049, - "end": 5050, + "start": 5173, + "end": 5174, "loc": { "start": { - "line": 169, - "column": 5 + "line": 175, + "column": 4 }, "end": { - "line": 169, - "column": 6 + "line": 175, + "column": 5 } } }, @@ -27040,15 +26890,15 @@ "postfix": false, "binop": null }, - "start": 5053, - "end": 5054, + "start": 5177, + "end": 5178, "loc": { "start": { - "line": 170, + "line": 176, "column": 2 }, "end": { - "line": 170, + "line": 176, "column": 3 } } @@ -27056,15 +26906,15 @@ { "type": "CommentBlock", "value": "*\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n ", - "start": 5058, - "end": 5152, + "start": 5182, + "end": 5276, "loc": { "start": { - "line": 172, + "line": 178, "column": 2 }, "end": { - "line": 175, + "line": 181, "column": 5 } } @@ -27082,15 +26932,15 @@ "binop": null }, "value": "isPartial", - "start": 5155, - "end": 5164, + "start": 5279, + "end": 5288, "loc": { "start": { - "line": 176, + "line": 182, "column": 2 }, "end": { - "line": 176, + "line": 182, "column": 11 } } @@ -27107,16 +26957,16 @@ "postfix": false, "binop": null }, - "start": 5164, - "end": 5165, + "start": 5289, + "end": 5290, "loc": { "start": { - "line": 176, - "column": 11 + "line": 182, + "column": 12 }, "end": { - "line": 176, - "column": 12 + "line": 182, + "column": 13 } } }, @@ -27132,16 +26982,16 @@ "postfix": false, "binop": null }, - "start": 5165, - "end": 5166, + "start": 5290, + "end": 5291, "loc": { "start": { - "line": 176, - "column": 12 + "line": 182, + "column": 13 }, "end": { - "line": 176, - "column": 13 + "line": 182, + "column": 14 } } }, @@ -27157,16 +27007,16 @@ "postfix": false, "binop": null }, - "start": 5167, - "end": 5168, + "start": 5292, + "end": 5293, "loc": { "start": { - "line": 176, - "column": 14 + "line": 182, + "column": 15 }, "end": { - "line": 176, - "column": 15 + "line": 182, + "column": 16 } } }, @@ -27185,15 +27035,15 @@ "updateContext": null }, "value": "return", - "start": 5173, - "end": 5179, + "start": 5298, + "end": 5304, "loc": { "start": { - "line": 177, + "line": 183, "column": 4 }, "end": { - "line": 177, + "line": 183, "column": 10 } } @@ -27210,15 +27060,15 @@ "postfix": false, "binop": null }, - "start": 5180, - "end": 5181, + "start": 5305, + "end": 5306, "loc": { "start": { - "line": 177, + "line": 183, "column": 11 }, "end": { - "line": 177, + "line": 183, "column": 12 } } @@ -27238,15 +27088,15 @@ "updateContext": null }, "value": "this", - "start": 5181, - "end": 5185, + "start": 5306, + "end": 5310, "loc": { "start": { - "line": 177, + "line": 183, "column": 12 }, "end": { - "line": 177, + "line": 183, "column": 16 } } @@ -27264,15 +27114,15 @@ "binop": null, "updateContext": null }, - "start": 5185, - "end": 5186, + "start": 5310, + "end": 5311, "loc": { "start": { - "line": 177, + "line": 183, "column": 16 }, "end": { - "line": 177, + "line": 183, "column": 17 } } @@ -27290,15 +27140,15 @@ "binop": null }, "value": "tzolkin", - "start": 5186, - "end": 5193, + "start": 5311, + "end": 5318, "loc": { "start": { - "line": 177, + "line": 183, "column": 17 }, "end": { - "line": 177, + "line": 183, "column": 24 } } @@ -27316,15 +27166,15 @@ "binop": null, "updateContext": null }, - "start": 5193, - "end": 5194, + "start": 5318, + "end": 5319, "loc": { "start": { - "line": 177, + "line": 183, "column": 24 }, "end": { - "line": 177, + "line": 183, "column": 25 } } @@ -27342,15 +27192,15 @@ "binop": null }, "value": "day", - "start": 5194, - "end": 5197, + "start": 5319, + "end": 5322, "loc": { "start": { - "line": 177, + "line": 183, "column": 25 }, "end": { - "line": 177, + "line": 183, "column": 28 } } @@ -27369,15 +27219,15 @@ "updateContext": null }, "value": "===", - "start": 5198, - "end": 5201, + "start": 5323, + "end": 5326, "loc": { "start": { - "line": 177, + "line": 183, "column": 29 }, "end": { - "line": 177, + "line": 183, "column": 32 } } @@ -27395,15 +27245,15 @@ "binop": null }, "value": "wildcard", - "start": 5202, - "end": 5210, + "start": 5327, + "end": 5335, "loc": { "start": { - "line": 177, + "line": 183, "column": 33 }, "end": { - "line": 177, + "line": 183, "column": 41 } } @@ -27420,15 +27270,15 @@ "postfix": false, "binop": null }, - "start": 5210, - "end": 5211, + "start": 5335, + "end": 5336, "loc": { "start": { - "line": 177, + "line": 183, "column": 41 }, "end": { - "line": 177, + "line": 183, "column": 42 } } @@ -27447,15 +27297,15 @@ "updateContext": null }, "value": "||", - "start": 5218, - "end": 5220, + "start": 5343, + "end": 5345, "loc": { "start": { - "line": 178, + "line": 184, "column": 6 }, "end": { - "line": 178, + "line": 184, "column": 8 } } @@ -27472,15 +27322,15 @@ "postfix": false, "binop": null }, - "start": 5221, - "end": 5222, + "start": 5346, + "end": 5347, "loc": { "start": { - "line": 178, + "line": 184, "column": 9 }, "end": { - "line": 178, + "line": 184, "column": 10 } } @@ -27500,15 +27350,15 @@ "updateContext": null }, "value": "this", - "start": 5222, - "end": 5226, + "start": 5347, + "end": 5351, "loc": { "start": { - "line": 178, + "line": 184, "column": 10 }, "end": { - "line": 178, + "line": 184, "column": 14 } } @@ -27526,15 +27376,15 @@ "binop": null, "updateContext": null }, - "start": 5226, - "end": 5227, + "start": 5351, + "end": 5352, "loc": { "start": { - "line": 178, + "line": 184, "column": 14 }, "end": { - "line": 178, + "line": 184, "column": 15 } } @@ -27552,15 +27402,15 @@ "binop": null }, "value": "tzolkin", - "start": 5227, - "end": 5234, + "start": 5352, + "end": 5359, "loc": { "start": { - "line": 178, + "line": 184, "column": 15 }, "end": { - "line": 178, + "line": 184, "column": 22 } } @@ -27578,15 +27428,15 @@ "binop": null, "updateContext": null }, - "start": 5234, - "end": 5235, + "start": 5359, + "end": 5360, "loc": { "start": { - "line": 178, + "line": 184, "column": 22 }, "end": { - "line": 178, + "line": 184, "column": 23 } } @@ -27604,15 +27454,15 @@ "binop": null }, "value": "coeff", - "start": 5235, - "end": 5240, + "start": 5360, + "end": 5365, "loc": { "start": { - "line": 178, + "line": 184, "column": 23 }, "end": { - "line": 178, + "line": 184, "column": 28 } } @@ -27631,15 +27481,15 @@ "updateContext": null }, "value": "===", - "start": 5241, - "end": 5244, + "start": 5366, + "end": 5369, "loc": { "start": { - "line": 178, + "line": 184, "column": 29 }, "end": { - "line": 178, + "line": 184, "column": 32 } } @@ -27657,15 +27507,15 @@ "binop": null }, "value": "wildcard", - "start": 5245, - "end": 5253, + "start": 5370, + "end": 5378, "loc": { "start": { - "line": 178, + "line": 184, "column": 33 }, "end": { - "line": 178, + "line": 184, "column": 41 } } @@ -27682,15 +27532,15 @@ "postfix": false, "binop": null }, - "start": 5253, - "end": 5254, + "start": 5378, + "end": 5379, "loc": { "start": { - "line": 178, + "line": 184, "column": 41 }, "end": { - "line": 178, + "line": 184, "column": 42 } } @@ -27709,15 +27559,15 @@ "updateContext": null }, "value": "||", - "start": 5261, - "end": 5263, + "start": 5386, + "end": 5388, "loc": { "start": { - "line": 179, + "line": 185, "column": 6 }, "end": { - "line": 179, + "line": 185, "column": 8 } } @@ -27734,15 +27584,15 @@ "postfix": false, "binop": null }, - "start": 5264, - "end": 5265, + "start": 5389, + "end": 5390, "loc": { "start": { - "line": 179, + "line": 185, "column": 9 }, "end": { - "line": 179, + "line": 185, "column": 10 } } @@ -27762,15 +27612,15 @@ "updateContext": null }, "value": "this", - "start": 5265, - "end": 5269, + "start": 5390, + "end": 5394, "loc": { "start": { - "line": 179, + "line": 185, "column": 10 }, "end": { - "line": 179, + "line": 185, "column": 14 } } @@ -27788,15 +27638,15 @@ "binop": null, "updateContext": null }, - "start": 5269, - "end": 5270, + "start": 5394, + "end": 5395, "loc": { "start": { - "line": 179, + "line": 185, "column": 14 }, "end": { - "line": 179, + "line": 185, "column": 15 } } @@ -27814,15 +27664,15 @@ "binop": null }, "value": "haab", - "start": 5270, - "end": 5274, + "start": 5395, + "end": 5399, "loc": { "start": { - "line": 179, + "line": 185, "column": 15 }, "end": { - "line": 179, + "line": 185, "column": 19 } } @@ -27840,15 +27690,15 @@ "binop": null, "updateContext": null }, - "start": 5274, - "end": 5275, + "start": 5399, + "end": 5400, "loc": { "start": { - "line": 179, + "line": 185, "column": 19 }, "end": { - "line": 179, + "line": 185, "column": 20 } } @@ -27866,15 +27716,15 @@ "binop": null }, "value": "month", - "start": 5275, - "end": 5280, + "start": 5400, + "end": 5405, "loc": { "start": { - "line": 179, + "line": 185, "column": 20 }, "end": { - "line": 179, + "line": 185, "column": 25 } } @@ -27893,15 +27743,15 @@ "updateContext": null }, "value": "===", - "start": 5281, - "end": 5284, + "start": 5406, + "end": 5409, "loc": { "start": { - "line": 179, + "line": 185, "column": 26 }, "end": { - "line": 179, + "line": 185, "column": 29 } } @@ -27919,15 +27769,15 @@ "binop": null }, "value": "wildcard", - "start": 5285, - "end": 5293, + "start": 5410, + "end": 5418, "loc": { "start": { - "line": 179, + "line": 185, "column": 30 }, "end": { - "line": 179, + "line": 185, "column": 38 } } @@ -27944,15 +27794,15 @@ "postfix": false, "binop": null }, - "start": 5293, - "end": 5294, + "start": 5418, + "end": 5419, "loc": { "start": { - "line": 179, + "line": 185, "column": 38 }, "end": { - "line": 179, + "line": 185, "column": 39 } } @@ -27971,15 +27821,15 @@ "updateContext": null }, "value": "||", - "start": 5301, - "end": 5303, + "start": 5426, + "end": 5428, "loc": { "start": { - "line": 180, + "line": 186, "column": 6 }, "end": { - "line": 180, + "line": 186, "column": 8 } } @@ -27996,15 +27846,15 @@ "postfix": false, "binop": null }, - "start": 5304, - "end": 5305, + "start": 5429, + "end": 5430, "loc": { "start": { - "line": 180, + "line": 186, "column": 9 }, "end": { - "line": 180, + "line": 186, "column": 10 } } @@ -28024,15 +27874,15 @@ "updateContext": null }, "value": "this", - "start": 5305, - "end": 5309, + "start": 5430, + "end": 5434, "loc": { "start": { - "line": 180, + "line": 186, "column": 10 }, "end": { - "line": 180, + "line": 186, "column": 14 } } @@ -28050,15 +27900,15 @@ "binop": null, "updateContext": null }, - "start": 5309, - "end": 5310, + "start": 5434, + "end": 5435, "loc": { "start": { - "line": 180, + "line": 186, "column": 14 }, "end": { - "line": 180, + "line": 186, "column": 15 } } @@ -28076,15 +27926,15 @@ "binop": null }, "value": "haab", - "start": 5310, - "end": 5314, + "start": 5435, + "end": 5439, "loc": { "start": { - "line": 180, + "line": 186, "column": 15 }, "end": { - "line": 180, + "line": 186, "column": 19 } } @@ -28102,15 +27952,15 @@ "binop": null, "updateContext": null }, - "start": 5314, - "end": 5315, + "start": 5439, + "end": 5440, "loc": { "start": { - "line": 180, + "line": 186, "column": 19 }, "end": { - "line": 180, + "line": 186, "column": 20 } } @@ -28128,15 +27978,15 @@ "binop": null }, "value": "coeff", - "start": 5315, - "end": 5320, + "start": 5440, + "end": 5445, "loc": { "start": { - "line": 180, + "line": 186, "column": 20 }, "end": { - "line": 180, + "line": 186, "column": 25 } } @@ -28155,15 +28005,15 @@ "updateContext": null }, "value": "===", - "start": 5321, - "end": 5324, + "start": 5446, + "end": 5449, "loc": { "start": { - "line": 180, + "line": 186, "column": 26 }, "end": { - "line": 180, + "line": 186, "column": 29 } } @@ -28181,15 +28031,15 @@ "binop": null }, "value": "wildcard", - "start": 5325, - "end": 5333, + "start": 5450, + "end": 5458, "loc": { "start": { - "line": 180, + "line": 186, "column": 30 }, "end": { - "line": 180, + "line": 186, "column": 38 } } @@ -28206,42 +28056,16 @@ "postfix": false, "binop": null }, - "start": 5333, - "end": 5334, + "start": 5458, + "end": 5459, "loc": { "start": { - "line": 180, + "line": 186, "column": 38 }, "end": { - "line": 180, - "column": 39 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5334, - "end": 5335, - "loc": { - "start": { - "line": 180, + "line": 186, "column": 39 - }, - "end": { - "line": 180, - "column": 40 } } }, @@ -28257,15 +28081,15 @@ "postfix": false, "binop": null }, - "start": 5338, - "end": 5339, + "start": 5462, + "end": 5463, "loc": { "start": { - "line": 181, + "line": 187, "column": 2 }, "end": { - "line": 181, + "line": 187, "column": 3 } } @@ -28273,15 +28097,15 @@ { "type": "CommentBlock", "value": "*\n * Render the CalendarRound cycle fullDate as a string\n * @returns {string}\n ", - "start": 5343, - "end": 5432, + "start": 5467, + "end": 5556, "loc": { "start": { - "line": 183, + "line": 189, "column": 2 }, "end": { - "line": 186, + "line": 192, "column": 5 } } @@ -28299,15 +28123,15 @@ "binop": null }, "value": "toString", - "start": 5435, - "end": 5443, + "start": 5559, + "end": 5567, "loc": { "start": { - "line": 187, + "line": 193, "column": 2 }, "end": { - "line": 187, + "line": 193, "column": 10 } } @@ -28324,16 +28148,16 @@ "postfix": false, "binop": null }, - "start": 5443, - "end": 5444, + "start": 5568, + "end": 5569, "loc": { "start": { - "line": 187, - "column": 10 + "line": 193, + "column": 11 }, "end": { - "line": 187, - "column": 11 + "line": 193, + "column": 12 } } }, @@ -28349,16 +28173,16 @@ "postfix": false, "binop": null }, - "start": 5444, - "end": 5445, + "start": 5569, + "end": 5570, "loc": { - "start": { - "line": 187, - "column": 11 + "start": { + "line": 193, + "column": 12 }, "end": { - "line": 187, - "column": 12 + "line": 193, + "column": 13 } } }, @@ -28374,16 +28198,16 @@ "postfix": false, "binop": null }, - "start": 5446, - "end": 5447, + "start": 5571, + "end": 5572, "loc": { "start": { - "line": 187, - "column": 13 + "line": 193, + "column": 14 }, "end": { - "line": 187, - "column": 14 + "line": 193, + "column": 15 } } }, @@ -28402,15 +28226,15 @@ "updateContext": null }, "value": "return", - "start": 5452, - "end": 5458, + "start": 5577, + "end": 5583, "loc": { "start": { - "line": 188, + "line": 194, "column": 4 }, "end": { - "line": 188, + "line": 194, "column": 10 } } @@ -28427,15 +28251,15 @@ "postfix": false, "binop": null }, - "start": 5459, - "end": 5460, + "start": 5584, + "end": 5585, "loc": { "start": { - "line": 188, + "line": 194, "column": 11 }, "end": { - "line": 188, + "line": 194, "column": 12 } } @@ -28454,15 +28278,15 @@ "updateContext": null }, "value": "", - "start": 5460, - "end": 5460, + "start": 5585, + "end": 5585, "loc": { "start": { - "line": 188, + "line": 194, "column": 12 }, "end": { - "line": 188, + "line": 194, "column": 12 } } @@ -28479,15 +28303,15 @@ "postfix": false, "binop": null }, - "start": 5460, - "end": 5462, + "start": 5585, + "end": 5587, "loc": { "start": { - "line": 188, + "line": 194, "column": 12 }, "end": { - "line": 188, + "line": 194, "column": 14 } } @@ -28507,15 +28331,15 @@ "updateContext": null }, "value": "this", - "start": 5462, - "end": 5466, + "start": 5587, + "end": 5591, "loc": { "start": { - "line": 188, + "line": 194, "column": 14 }, "end": { - "line": 188, + "line": 194, "column": 18 } } @@ -28533,15 +28357,15 @@ "binop": null, "updateContext": null }, - "start": 5466, - "end": 5467, + "start": 5591, + "end": 5592, "loc": { "start": { - "line": 188, + "line": 194, "column": 18 }, "end": { - "line": 188, + "line": 194, "column": 19 } } @@ -28559,15 +28383,15 @@ "binop": null }, "value": "tzolkin", - "start": 5467, - "end": 5474, + "start": 5592, + "end": 5599, "loc": { "start": { - "line": 188, + "line": 194, "column": 19 }, "end": { - "line": 188, + "line": 194, "column": 26 } } @@ -28584,15 +28408,15 @@ "postfix": false, "binop": null }, - "start": 5474, - "end": 5475, + "start": 5599, + "end": 5600, "loc": { "start": { - "line": 188, + "line": 194, "column": 26 }, "end": { - "line": 188, + "line": 194, "column": 27 } } @@ -28611,15 +28435,15 @@ "updateContext": null }, "value": " ", - "start": 5475, - "end": 5476, + "start": 5600, + "end": 5601, "loc": { "start": { - "line": 188, + "line": 194, "column": 27 }, "end": { - "line": 188, + "line": 194, "column": 28 } } @@ -28636,15 +28460,15 @@ "postfix": false, "binop": null }, - "start": 5476, - "end": 5478, + "start": 5601, + "end": 5603, "loc": { "start": { - "line": 188, + "line": 194, "column": 28 }, "end": { - "line": 188, + "line": 194, "column": 30 } } @@ -28664,15 +28488,15 @@ "updateContext": null }, "value": "this", - "start": 5478, - "end": 5482, + "start": 5603, + "end": 5607, "loc": { "start": { - "line": 188, + "line": 194, "column": 30 }, "end": { - "line": 188, + "line": 194, "column": 34 } } @@ -28690,15 +28514,15 @@ "binop": null, "updateContext": null }, - "start": 5482, - "end": 5483, + "start": 5607, + "end": 5608, "loc": { "start": { - "line": 188, + "line": 194, "column": 34 }, "end": { - "line": 188, + "line": 194, "column": 35 } } @@ -28716,15 +28540,15 @@ "binop": null }, "value": "haab", - "start": 5483, - "end": 5487, + "start": 5608, + "end": 5612, "loc": { "start": { - "line": 188, + "line": 194, "column": 35 }, "end": { - "line": 188, + "line": 194, "column": 39 } } @@ -28741,15 +28565,15 @@ "postfix": false, "binop": null }, - "start": 5487, - "end": 5488, + "start": 5612, + "end": 5613, "loc": { "start": { - "line": 188, + "line": 194, "column": 39 }, "end": { - "line": 188, + "line": 194, "column": 40 } } @@ -28768,15 +28592,15 @@ "updateContext": null }, "value": "", - "start": 5488, - "end": 5488, + "start": 5613, + "end": 5613, "loc": { "start": { - "line": 188, + "line": 194, "column": 40 }, "end": { - "line": 188, + "line": 194, "column": 40 } } @@ -28793,42 +28617,16 @@ "postfix": false, "binop": null }, - "start": 5488, - "end": 5489, + "start": 5613, + "end": 5614, "loc": { "start": { - "line": 188, + "line": 194, "column": 40 }, "end": { - "line": 188, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5489, - "end": 5490, - "loc": { - "start": { - "line": 188, + "line": 194, "column": 41 - }, - "end": { - "line": 188, - "column": 42 } } }, @@ -28844,15 +28642,15 @@ "postfix": false, "binop": null }, - "start": 5493, - "end": 5494, + "start": 5617, + "end": 5618, "loc": { "start": { - "line": 189, + "line": 195, "column": 2 }, "end": { - "line": 189, + "line": 195, "column": 3 } } @@ -28869,15 +28667,15 @@ "postfix": false, "binop": null }, - "start": 5495, - "end": 5496, + "start": 5619, + "end": 5620, "loc": { "start": { - "line": 190, + "line": 196, "column": 0 }, "end": { - "line": 190, + "line": 196, "column": 1 } } @@ -28885,15 +28683,15 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 5498, - "end": 5512, + "start": 5622, + "end": 5636, "loc": { "start": { - "line": 192, + "line": 198, "column": 0 }, "end": { - "line": 192, + "line": 198, "column": 14 } } @@ -28913,15 +28711,15 @@ "updateContext": null }, "value": "const", - "start": 5513, - "end": 5518, + "start": 5637, + "end": 5642, "loc": { "start": { - "line": 193, + "line": 199, "column": 0 }, "end": { - "line": 193, + "line": 199, "column": 5 } } @@ -28939,15 +28737,15 @@ "binop": null }, "value": "origin", - "start": 5519, - "end": 5525, + "start": 5643, + "end": 5649, "loc": { "start": { - "line": 193, + "line": 199, "column": 6 }, "end": { - "line": 193, + "line": 199, "column": 12 } } @@ -28966,15 +28764,15 @@ "updateContext": null }, "value": "=", - "start": 5526, - "end": 5527, + "start": 5650, + "end": 5651, "loc": { "start": { - "line": 193, + "line": 199, "column": 13 }, "end": { - "line": 193, + "line": 199, "column": 14 } } @@ -28992,15 +28790,15 @@ "binop": null }, "value": "getCalendarRound", - "start": 5528, - "end": 5544, + "start": 5652, + "end": 5668, "loc": { "start": { - "line": 193, + "line": 199, "column": 15 }, "end": { - "line": 193, + "line": 199, "column": 31 } } @@ -29017,15 +28815,15 @@ "postfix": false, "binop": null }, - "start": 5544, - "end": 5545, + "start": 5668, + "end": 5669, "loc": { "start": { - "line": 193, + "line": 199, "column": 31 }, "end": { - "line": 193, + "line": 199, "column": 32 } } @@ -29044,15 +28842,15 @@ "updateContext": null }, "value": 4, - "start": 5548, - "end": 5549, + "start": 5672, + "end": 5673, "loc": { "start": { - "line": 194, + "line": 200, "column": 2 }, "end": { - "line": 194, + "line": 200, "column": 3 } } @@ -29070,15 +28868,15 @@ "binop": null, "updateContext": null }, - "start": 5549, - "end": 5550, + "start": 5673, + "end": 5674, "loc": { "start": { - "line": 194, + "line": 200, "column": 3 }, "end": { - "line": 194, + "line": 200, "column": 4 } } @@ -29097,15 +28895,15 @@ "updateContext": null }, "value": "Ajaw", - "start": 5551, - "end": 5557, + "start": 5675, + "end": 5681, "loc": { "start": { - "line": 194, + "line": 200, "column": 5 }, "end": { - "line": 194, + "line": 200, "column": 11 } } @@ -29123,15 +28921,15 @@ "binop": null, "updateContext": null }, - "start": 5557, - "end": 5558, + "start": 5681, + "end": 5682, "loc": { "start": { - "line": 194, + "line": 200, "column": 11 }, "end": { - "line": 194, + "line": 200, "column": 12 } } @@ -29150,15 +28948,15 @@ "updateContext": null }, "value": 8, - "start": 5561, - "end": 5562, + "start": 5685, + "end": 5686, "loc": { "start": { - "line": 195, + "line": 201, "column": 2 }, "end": { - "line": 195, + "line": 201, "column": 3 } } @@ -29176,15 +28974,15 @@ "binop": null, "updateContext": null }, - "start": 5562, - "end": 5563, + "start": 5686, + "end": 5687, "loc": { "start": { - "line": 195, + "line": 201, "column": 3 }, "end": { - "line": 195, + "line": 201, "column": 4 } } @@ -29203,47 +29001,22 @@ "updateContext": null }, "value": "Kumk'u", - "start": 5564, - "end": 5573, + "start": 5688, + "end": 5697, "loc": { "start": { - "line": 195, + "line": 201, "column": 5 }, "end": { - "line": 195, + "line": 201, "column": 14 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5574, - "end": 5575, - "loc": { - "start": { - "line": 196, - "column": 0 - }, - "end": { - "line": 196, - "column": 1 - } - } - }, - { - "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -29254,24 +29027,24 @@ "binop": null, "updateContext": null }, - "start": 5575, - "end": 5576, + "start": 5697, + "end": 5698, "loc": { "start": { - "line": 196, - "column": 1 + "line": 201, + "column": 14 }, "end": { - "line": 196, - "column": 2 + "line": 201, + "column": 15 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -29279,23 +29052,23 @@ "postfix": false, "binop": null }, - "value": "module", - "start": 5579, - "end": 5585, + "start": 5699, + "end": 5700, "loc": { "start": { - "line": 199, + "line": 202, "column": 0 }, "end": { - "line": 199, - "column": 6 + "line": 202, + "column": 1 } } }, { "type": { - "label": ".", + "label": "export", + "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -29306,69 +29079,45 @@ "binop": null, "updateContext": null }, - "start": 5585, - "end": 5586, - "loc": { - "start": { - "line": 199, - "column": 6 - }, - "end": { - "line": 199, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "exports", - "start": 5586, - "end": 5593, + "value": "export", + "start": 5702, + "end": 5708, "loc": { "start": { - "line": 199, - "column": 7 + "line": 204, + "column": 0 }, "end": { - "line": 199, - "column": 14 + "line": 204, + "column": 6 } } }, { "type": { - "label": "=", + "label": "default", + "keyword": "default", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 5594, - "end": 5595, + "value": "default", + "start": 5709, + "end": 5716, "loc": { "start": { - "line": 199, - "column": 15 + "line": 204, + "column": 7 }, "end": { - "line": 199, - "column": 16 + "line": 204, + "column": 14 } } }, @@ -29384,16 +29133,16 @@ "postfix": false, "binop": null }, - "start": 5596, - "end": 5597, + "start": 5717, + "end": 5718, "loc": { "start": { - "line": 199, - "column": 17 + "line": 204, + "column": 15 }, "end": { - "line": 199, - "column": 18 + "line": 204, + "column": 16 } } }, @@ -29410,16 +29159,16 @@ "binop": null }, "value": "getCalendarRound", - "start": 5597, - "end": 5613, + "start": 5721, + "end": 5737, "loc": { "start": { - "line": 199, - "column": 18 + "line": 205, + "column": 2 }, "end": { - "line": 199, - "column": 34 + "line": 205, + "column": 18 } } }, @@ -29436,16 +29185,16 @@ "binop": null, "updateContext": null }, - "start": 5613, - "end": 5614, + "start": 5737, + "end": 5738, "loc": { "start": { - "line": 199, - "column": 34 + "line": 205, + "column": 18 }, "end": { - "line": 199, - "column": 35 + "line": 205, + "column": 19 } } }, @@ -29462,16 +29211,16 @@ "binop": null }, "value": "origin", - "start": 5615, - "end": 5621, + "start": 5741, + "end": 5747, "loc": { "start": { - "line": 199, - "column": 36 + "line": 206, + "column": 2 }, "end": { - "line": 199, - "column": 42 + "line": 206, + "column": 8 } } }, @@ -29487,16 +29236,16 @@ "postfix": false, "binop": null }, - "start": 5621, - "end": 5622, + "start": 5748, + "end": 5749, "loc": { "start": { - "line": 199, - "column": 42 + "line": 207, + "column": 0 }, "end": { - "line": 199, - "column": 43 + "line": 207, + "column": 1 } } }, @@ -29513,16 +29262,16 @@ "binop": null, "updateContext": null }, - "start": 5622, - "end": 5623, + "start": 5749, + "end": 5750, "loc": { "start": { - "line": 199, - "column": 43 + "line": 207, + "column": 1 }, "end": { - "line": 199, - "column": 44 + "line": 207, + "column": 2 } } }, @@ -29539,15 +29288,15 @@ "binop": null, "updateContext": null }, - "start": 5624, - "end": 5624, + "start": 5751, + "end": 5751, "loc": { "start": { - "line": 200, + "line": 208, "column": 0 }, "end": { - "line": 200, + "line": 208, "column": 0 } } diff --git a/docs/ast/source/cr/haab-month.js.json b/docs/ast/source/cr/haab-month.js.json index 5918a0d..a9b825c 100644 --- a/docs/ast/source/cr/haab-month.js.json +++ b/docs/ast/source/cr/haab-month.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 2389, + "end": 2378, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 133, + "line": 132, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 2389, + "end": 2378, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 133, + "line": 132, "column": 0 } }, @@ -1858,7 +1858,7 @@ ] }, { - "type": "FunctionDeclaration", + "type": "Identifier", "start": 678, "end": 964, "loc": { @@ -2474,45 +2474,12 @@ "directives": [], "trailingComments": null }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return a comparable HaabMonth instantiation.\n * @param name\n * @return {HaabMonth}\n ", - "start": 584, - "end": 677, - "loc": { - "start": { - "line": 52, - "column": 0 - }, - "end": { - "line": 56, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Describes only the month component of a Haab fullDate\n ", - "start": 966, - "end": 1030, - "loc": { - "start": { - "line": 66, - "column": 0 - }, - "end": { - "line": 68, - "column": 3 - } - } - } - ] + "leadingComments": [], + "trailingComments": [], + "name": "_" }, { - "type": "ClassDeclaration", + "type": "Identifier", "start": 1031, "end": 2335, "loc": { @@ -4477,232 +4444,2803 @@ } ] }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Describes only the month component of a Haab fullDate\n ", - "start": 966, - "end": 1030, - "loc": { - "start": { - "line": 66, - "column": 0 - }, - "end": { - "line": 68, - "column": 3 - } - } - } - ] + "leadingComments": [], + "name": "_", + "trailingComments": [] }, { - "type": "ExpressionStatement", - "start": 2338, - "end": 2388, + "type": "ExportNamedDeclaration", + "start": 2337, + "end": 2377, "loc": { "start": { - "line": 129, + "line": 128, "column": 0 }, "end": { - "line": 132, + "line": 131, "column": 2 } }, - "expression": { - "type": "AssignmentExpression", - "start": 2338, - "end": 2387, - "loc": { - "start": { - "line": 129, - "column": 0 - }, - "end": { - "line": 132, - "column": 1 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 2338, - "end": 2352, + "declaration": null, + "specifiers": [ + { + "type": "ExportSpecifier", + "start": 2348, + "end": 2357, "loc": { "start": { "line": 129, - "column": 0 + "column": 2 }, "end": { "line": 129, - "column": 14 + "column": 11 } }, - "object": { + "local": { "type": "Identifier", - "start": 2338, - "end": 2344, + "start": 2348, + "end": 2357, "loc": { "start": { "line": 129, - "column": 0 + "column": 2 }, "end": { "line": 129, - "column": 6 + "column": 11 }, - "identifierName": "module" + "identifierName": "HaabMonth" }, - "name": "module" + "name": "HaabMonth" }, - "property": { + "exported": { "type": "Identifier", - "start": 2345, - "end": 2352, + "start": 2348, + "end": 2357, "loc": { "start": { "line": 129, - "column": 7 + "column": 2 }, "end": { "line": 129, + "column": 11 + }, + "identifierName": "HaabMonth" + }, + "name": "HaabMonth" + } + }, + { + "type": "ExportSpecifier", + "start": 2361, + "end": 2373, + "loc": { + "start": { + "line": 130, + "column": 2 + }, + "end": { + "line": 130, + "column": 14 + } + }, + "local": { + "type": "Identifier", + "start": 2361, + "end": 2373, + "loc": { + "start": { + "line": 130, + "column": 2 + }, + "end": { + "line": 130, + "column": 14 + }, + "identifierName": "getHaabMonth" + }, + "name": "getHaabMonth" + }, + "exported": { + "type": "Identifier", + "start": 2361, + "end": 2373, + "loc": { + "start": { + "line": 130, + "column": 2 + }, + "end": { + "line": 130, "column": 14 }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "ObjectExpression", - "start": 2355, - "end": 2387, - "loc": { - "start": { - "line": 129, - "column": 17 + "identifierName": "getHaabMonth" + }, + "name": "getHaabMonth" + } + } + ], + "source": null + }, + { + "type": "ExportNamedDeclaration", + "start": 2337, + "end": 2377, + "loc": { + "start": { + "line": 128, + "column": 0 + }, + "end": { + "line": 131, + "column": 2 + } + }, + "declaration": { + "type": "ClassDeclaration", + "start": 1031, + "end": 2335, + "loc": { + "start": { + "line": 69, + "column": 0 + }, + "end": { + "line": 126, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 1037, + "end": 1046, + "loc": { + "start": { + "line": 69, + "column": 6 + }, + "end": { + "line": 69, + "column": 15 + }, + "identifierName": "HaabMonth" + }, + "name": "HaabMonth", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 1047, + "end": 2335, + "loc": { + "start": { + "line": 69, + "column": 16 + }, + "end": { + "line": 126, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 1114, + "end": 1317, + "loc": { + "start": { + "line": 73, + "column": 2 + }, + "end": { + "line": 84, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1114, + "end": 1125, + "loc": { + "start": { + "line": 73, + "column": 2 + }, + "end": { + "line": 73, + "column": 13 + }, + "identifierName": "constructor" + }, + "name": "constructor", + "leadingComments": null + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1126, + "end": 1130, + "loc": { + "start": { + "line": 73, + "column": 14 + }, + "end": { + "line": 73, + "column": 18 + }, + "identifierName": "name" + }, + "name": "name" + } + ], + "body": { + "type": "BlockStatement", + "start": 1132, + "end": 1317, + "loc": { + "start": { + "line": 73, + "column": 20 + }, + "end": { + "line": 84, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1206, + "end": 1223, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 21 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1206, + "end": 1222, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 20 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1206, + "end": 1215, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 13 + } + }, + "object": { + "type": "ThisExpression", + "start": 1206, + "end": 1210, + "loc": { + "start": { + "line": 78, + "column": 4 + }, + "end": { + "line": 78, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1211, + "end": 1215, + "loc": { + "start": { + "line": 78, + "column": 9 + }, + "end": { + "line": 78, + "column": 13 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 1218, + "end": 1222, + "loc": { + "start": { + "line": 78, + "column": 16 + }, + "end": { + "line": 78, + "column": 20 + }, + "identifierName": "name" + }, + "name": "name" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Name of the Haab month\n * @type {string}\n ", + "start": 1138, + "end": 1201, + "loc": { + "start": { + "line": 74, + "column": 4 + }, + "end": { + "line": 77, + "column": 7 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @type {number}\n ", + "start": 1229, + "end": 1262, + "loc": { + "start": { + "line": 80, + "column": 4 + }, + "end": { + "line": 82, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1267, + "end": 1313, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 50 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1267, + "end": 1312, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 49 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1267, + "end": 1286, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 1267, + "end": 1271, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1272, + "end": 1286, + "loc": { + "start": { + "line": 83, + "column": 9 + }, + "end": { + "line": 83, + "column": 23 + }, + "identifierName": "month_position" + }, + "name": "month_position" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "MemberExpression", + "start": 1289, + "end": 1312, + "loc": { + "start": { + "line": 83, + "column": 26 + }, + "end": { + "line": 83, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 1289, + "end": 1301, + "loc": { + "start": { + "line": 83, + "column": 26 + }, + "end": { + "line": 83, + "column": 38 + }, + "identifierName": "monthIndices" + }, + "name": "monthIndices" + }, + "property": { + "type": "MemberExpression", + "start": 1302, + "end": 1311, + "loc": { + "start": { + "line": 83, + "column": 39 + }, + "end": { + "line": 83, + "column": 48 + } + }, + "object": { + "type": "ThisExpression", + "start": 1302, + "end": 1306, + "loc": { + "start": { + "line": 83, + "column": 39 + }, + "end": { + "line": 83, + "column": 43 + } + } + }, + "property": { + "type": "Identifier", + "start": 1307, + "end": 1311, + "loc": { + "start": { + "line": 83, + "column": 44 + }, + "end": { + "line": 83, + "column": 48 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": false + }, + "computed": true + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @type {number}\n ", + "start": 1229, + "end": 1262, + "loc": { + "start": { + "line": 80, + "column": 4 + }, + "end": { + "line": 82, + "column": 7 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {string} name - Name of the Haab month\n ", + "start": 1051, + "end": 1111, + "loc": { + "start": { + "line": 70, + "column": 2 + }, + "end": { + "line": 72, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the next month in the Haab cycle\n * @returns {HaabMonth}\n ", + "start": 1321, + "end": 1401, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 89, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1404, + "end": 1442, + "loc": { + "start": { + "line": 90, + "column": 2 + }, + "end": { + "line": 92, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1404, + "end": 1408, + "loc": { + "start": { + "line": 90, + "column": 2 + }, + "end": { + "line": 90, + "column": 6 + }, + "identifierName": "next" + }, + "name": "next", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1411, + "end": 1442, + "loc": { + "start": { + "line": 90, + "column": 9 + }, + "end": { + "line": 92, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1417, + "end": 1438, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 25 + } + }, + "argument": { + "type": "CallExpression", + "start": 1424, + "end": 1437, + "loc": { + "start": { + "line": 91, + "column": 11 + }, + "end": { + "line": 91, + "column": 24 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1424, + "end": 1434, + "loc": { + "start": { + "line": 91, + "column": 11 + }, + "end": { + "line": 91, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 1424, + "end": 1428, + "loc": { + "start": { + "line": 91, + "column": 11 + }, + "end": { + "line": 91, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 1429, + "end": 1434, + "loc": { + "start": { + "line": 91, + "column": 16 + }, + "end": { + "line": 91, + "column": 21 + }, + "identifierName": "shift" + }, + "name": "shift" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 1435, + "end": 1436, + "loc": { + "start": { + "line": 91, + "column": 22 + }, + "end": { + "line": 91, + "column": 23 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the next month in the Haab cycle\n * @returns {HaabMonth}\n ", + "start": 1321, + "end": 1401, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 89, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Ensure a Haab month name is defined, and that the month name is within the\n * set of allowable values.\n ", + "start": 1446, + "end": 1565, + "loc": { + "start": { + "line": 94, + "column": 2 + }, + "end": { + "line": 97, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1568, + "end": 1803, + "loc": { + "start": { + "line": 98, + "column": 2 + }, + "end": { + "line": 105, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1568, + "end": 1576, + "loc": { + "start": { + "line": 98, + "column": 2 + }, + "end": { + "line": 98, + "column": 10 + }, + "identifierName": "validate" + }, + "name": "validate", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1579, + "end": 1803, + "loc": { + "start": { + "line": 98, + "column": 13 + }, + "end": { + "line": 105, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 1585, + "end": 1682, + "loc": { + "start": { + "line": 99, + "column": 4 + }, + "end": { + "line": 101, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 1589, + "end": 1612, + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 31 + } + }, + "left": { + "type": "MemberExpression", + "start": 1589, + "end": 1598, + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 1589, + "end": 1593, + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 1594, + "end": 1598, + "loc": { + "start": { + "line": 99, + "column": 13 + }, + "end": { + "line": 99, + "column": 17 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "Identifier", + "start": 1603, + "end": 1612, + "loc": { + "start": { + "line": 99, + "column": 22 + }, + "end": { + "line": 99, + "column": 31 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 1614, + "end": 1682, + "loc": { + "start": { + "line": 99, + "column": 33 + }, + "end": { + "line": 101, + "column": 5 + } + }, + "body": [ + { + "type": "ThrowStatement", + "start": 1622, + "end": 1676, + "loc": { + "start": { + "line": 100, + "column": 6 + }, + "end": { + "line": 100, + "column": 60 + } + }, + "argument": { + "type": "NewExpression", + "start": 1628, + "end": 1675, + "loc": { + "start": { + "line": 100, + "column": 12 + }, + "end": { + "line": 100, + "column": 59 + } + }, + "callee": { + "type": "Identifier", + "start": 1632, + "end": 1637, + "loc": { + "start": { + "line": 100, + "column": 16 + }, + "end": { + "line": 100, + "column": 21 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1638, + "end": 1674, + "loc": { + "start": { + "line": 100, + "column": 22 + }, + "end": { + "line": 100, + "column": 58 + } + }, + "extra": { + "rawValue": "Haab' month name must be provided", + "raw": "'Haab\\' month name must be provided'" + }, + "value": "Haab' month name must be provided" + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "IfStatement", + "start": 1687, + "end": 1799, + "loc": { + "start": { + "line": 102, + "column": 4 + }, + "end": { + "line": 104, + "column": 5 + } + }, + "test": { + "type": "UnaryExpression", + "start": 1691, + "end": 1718, + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 102, + "column": 35 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "CallExpression", + "start": 1692, + "end": 1718, + "loc": { + "start": { + "line": 102, + "column": 9 + }, + "end": { + "line": 102, + "column": 35 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1692, + "end": 1707, + "loc": { + "start": { + "line": 102, + "column": 9 + }, + "end": { + "line": 102, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 1692, + "end": 1698, + "loc": { + "start": { + "line": 102, + "column": 9 + }, + "end": { + "line": 102, + "column": 15 + }, + "identifierName": "months" + }, + "name": "months" + }, + "property": { + "type": "Identifier", + "start": 1699, + "end": 1707, + "loc": { + "start": { + "line": 102, + "column": 16 + }, + "end": { + "line": 102, + "column": 24 + }, + "identifierName": "includes" + }, + "name": "includes" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 1708, + "end": 1717, + "loc": { + "start": { + "line": 102, + "column": 25 + }, + "end": { + "line": 102, + "column": 34 + } + }, + "object": { + "type": "ThisExpression", + "start": 1708, + "end": 1712, + "loc": { + "start": { + "line": 102, + "column": 25 + }, + "end": { + "line": 102, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "start": 1713, + "end": 1717, + "loc": { + "start": { + "line": 102, + "column": 30 + }, + "end": { + "line": 102, + "column": 34 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": false + } + ] + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 1720, + "end": 1799, + "loc": { + "start": { + "line": 102, + "column": 37 + }, + "end": { + "line": 104, + "column": 5 + } + }, + "body": [ + { + "type": "ThrowStatement", + "start": 1728, + "end": 1793, + "loc": { + "start": { + "line": 103, + "column": 6 + }, + "end": { + "line": 103, + "column": 71 + } + }, + "argument": { + "type": "NewExpression", + "start": 1734, + "end": 1792, + "loc": { + "start": { + "line": 103, + "column": 12 + }, + "end": { + "line": 103, + "column": 70 + } + }, + "callee": { + "type": "Identifier", + "start": 1738, + "end": 1743, + "loc": { + "start": { + "line": 103, + "column": 16 + }, + "end": { + "line": 103, + "column": 21 + }, + "identifierName": "Error" + }, + "name": "Error" + }, + "arguments": [ + { + "type": "TemplateLiteral", + "start": 1744, + "end": 1791, + "loc": { + "start": { + "line": 103, + "column": 22 + }, + "end": { + "line": 103, + "column": 69 + } + }, + "expressions": [ + { + "type": "MemberExpression", + "start": 1758, + "end": 1767, + "loc": { + "start": { + "line": 103, + "column": 36 + }, + "end": { + "line": 103, + "column": 45 + } + }, + "object": { + "type": "ThisExpression", + "start": 1758, + "end": 1762, + "loc": { + "start": { + "line": 103, + "column": 36 + }, + "end": { + "line": 103, + "column": 40 + } + } + }, + "property": { + "type": "Identifier", + "start": 1763, + "end": 1767, + "loc": { + "start": { + "line": 103, + "column": 41 + }, + "end": { + "line": 103, + "column": 45 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 1783, + "end": 1789, + "loc": { + "start": { + "line": 103, + "column": 61 + }, + "end": { + "line": 103, + "column": 67 + }, + "identifierName": "months" + }, + "name": "months" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1745, + "end": 1756, + "loc": { + "start": { + "line": 103, + "column": 23 + }, + "end": { + "line": 103, + "column": 34 + } + }, + "value": { + "raw": "Haab' day (", + "cooked": "Haab' day (" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1768, + "end": 1781, + "loc": { + "start": { + "line": 103, + "column": 46 + }, + "end": { + "line": 103, + "column": 59 + } + }, + "value": { + "raw": ") must be in ", + "cooked": ") must be in " + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1790, + "end": 1790, + "loc": { + "start": { + "line": 103, + "column": 68 + }, + "end": { + "line": 103, + "column": 68 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Ensure a Haab month name is defined, and that the month name is within the\n * set of allowable values.\n ", + "start": 1446, + "end": 1565, + "loc": { + "start": { + "line": 94, + "column": 2 + }, + "end": { + "line": 97, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Shift a HaabMonth fullDate forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment - Number of months to move forward\n * @return {HaabMonth}\n ", + "start": 1807, + "end": 2024, + "loc": { + "start": { + "line": 107, + "column": 2 + }, + "end": { + "line": 112, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2027, + "end": 2222, + "loc": { + "start": { + "line": 113, + "column": 2 + }, + "end": { + "line": 117, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2027, + "end": 2032, + "loc": { + "start": { + "line": 113, + "column": 2 + }, + "end": { + "line": 113, + "column": 7 + }, + "identifierName": "shift" + }, + "name": "shift", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2033, + "end": 2042, + "loc": { + "start": { + "line": 113, + "column": 8 + }, + "end": { + "line": 113, + "column": 17 + }, + "identifierName": "increment" + }, + "name": "increment" + } + ], + "body": { + "type": "BlockStatement", + "start": 2044, + "end": 2222, + "loc": { + "start": { + "line": 113, + "column": 19 + }, + "end": { + "line": 117, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 2050, + "end": 2110, + "loc": { + "start": { + "line": 114, + "column": 4 + }, + "end": { + "line": 114, + "column": 64 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2054, + "end": 2109, + "loc": { + "start": { + "line": 114, + "column": 8 + }, + "end": { + "line": 114, + "column": 63 + } + }, + "id": { + "type": "Identifier", + "start": 2054, + "end": 2068, + "loc": { + "start": { + "line": 114, + "column": 8 + }, + "end": { + "line": 114, + "column": 22 + }, + "identifierName": "newIncremental" + }, + "name": "newIncremental" + }, + "init": { + "type": "BinaryExpression", + "start": 2071, + "end": 2109, + "loc": { + "start": { + "line": 114, + "column": 25 + }, + "end": { + "line": 114, + "column": 63 + } + }, + "left": { + "type": "BinaryExpression", + "start": 2072, + "end": 2103, + "loc": { + "start": { + "line": 114, + "column": 26 + }, + "end": { + "line": 114, + "column": 57 + } + }, + "left": { + "type": "MemberExpression", + "start": 2072, + "end": 2091, + "loc": { + "start": { + "line": 114, + "column": 26 + }, + "end": { + "line": 114, + "column": 45 + } + }, + "object": { + "type": "ThisExpression", + "start": 2072, + "end": 2076, + "loc": { + "start": { + "line": 114, + "column": 26 + }, + "end": { + "line": 114, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "start": 2077, + "end": 2091, + "loc": { + "start": { + "line": 114, + "column": 31 + }, + "end": { + "line": 114, + "column": 45 + }, + "identifierName": "month_position" + }, + "name": "month_position" + }, + "computed": false + }, + "operator": "+", + "right": { + "type": "Identifier", + "start": 2094, + "end": 2103, + "loc": { + "start": { + "line": 114, + "column": 48 + }, + "end": { + "line": 114, + "column": 57 + }, + "identifierName": "increment" + }, + "name": "increment" + }, + "extra": { + "parenthesized": true, + "parenStart": 2071 + } + }, + "operator": "%", + "right": { + "type": "NumericLiteral", + "start": 2107, + "end": 2109, + "loc": { + "start": { + "line": 114, + "column": 61 + }, + "end": { + "line": 114, + "column": 63 + } + }, + "extra": { + "rawValue": 19, + "raw": "19" + }, + "value": 19 + } + } + } + ], + "kind": "let" + }, + { + "type": "ExpressionStatement", + "start": 2115, + "end": 2177, + "loc": { + "start": { + "line": 115, + "column": 4 + }, + "end": { + "line": 115, + "column": 66 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2115, + "end": 2176, + "loc": { + "start": { + "line": 115, + "column": 4 + }, + "end": { + "line": 115, + "column": 65 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 2115, + "end": 2129, + "loc": { + "start": { + "line": 115, + "column": 4 + }, + "end": { + "line": 115, + "column": 18 + }, + "identifierName": "newIncremental" + }, + "name": "newIncremental" + }, + "right": { + "type": "ConditionalExpression", + "start": 2132, + "end": 2176, + "loc": { + "start": { + "line": 115, + "column": 21 + }, + "end": { + "line": 115, + "column": 65 + } + }, + "test": { + "type": "BinaryExpression", + "start": 2133, + "end": 2153, + "loc": { + "start": { + "line": 115, + "column": 22 + }, + "end": { + "line": 115, + "column": 42 + } + }, + "left": { + "type": "Identifier", + "start": 2133, + "end": 2147, + "loc": { + "start": { + "line": 115, + "column": 22 + }, + "end": { + "line": 115, + "column": 36 + }, + "identifierName": "newIncremental" + }, + "name": "newIncremental" + }, + "operator": "===", + "right": { + "type": "NumericLiteral", + "start": 2152, + "end": 2153, + "loc": { + "start": { + "line": 115, + "column": 41 + }, + "end": { + "line": 115, + "column": 42 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "extra": { + "parenthesized": true, + "parenStart": 2132 + } + }, + "consequent": { + "type": "NumericLiteral", + "start": 2157, + "end": 2159, + "loc": { + "start": { + "line": 115, + "column": 46 + }, + "end": { + "line": 115, + "column": 48 + } + }, + "extra": { + "rawValue": 19, + "raw": "19" + }, + "value": 19 + }, + "alternate": { + "type": "Identifier", + "start": 2162, + "end": 2176, + "loc": { + "start": { + "line": 115, + "column": 51 + }, + "end": { + "line": 115, + "column": 65 + }, + "identifierName": "newIncremental" + }, + "name": "newIncremental" + } + } + } + }, + { + "type": "ReturnStatement", + "start": 2182, + "end": 2218, + "loc": { + "start": { + "line": 116, + "column": 4 + }, + "end": { + "line": 116, + "column": 40 + } + }, + "argument": { + "type": "CallExpression", + "start": 2189, + "end": 2217, + "loc": { + "start": { + "line": 116, + "column": 11 + }, + "end": { + "line": 116, + "column": 39 + } + }, + "callee": { + "type": "Identifier", + "start": 2189, + "end": 2201, + "loc": { + "start": { + "line": 116, + "column": 11 + }, + "end": { + "line": 116, + "column": 23 + }, + "identifierName": "getHaabMonth" + }, + "name": "getHaabMonth" + }, + "arguments": [ + { + "type": "Identifier", + "start": 2202, + "end": 2216, + "loc": { + "start": { + "line": 116, + "column": 24 + }, + "end": { + "line": 116, + "column": 38 + }, + "identifierName": "newIncremental" + }, + "name": "newIncremental" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Shift a HaabMonth fullDate forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment - Number of months to move forward\n * @return {HaabMonth}\n ", + "start": 1807, + "end": 2024, + "loc": { + "start": { + "line": 107, + "column": 2 + }, + "end": { + "line": 112, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Render this month as a string\n * @return {string}\n ", + "start": 2226, + "end": 2292, + "loc": { + "start": { + "line": 119, + "column": 2 + }, + "end": { + "line": 122, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2295, + "end": 2333, + "loc": { + "start": { + "line": 123, + "column": 2 + }, + "end": { + "line": 125, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2295, + "end": 2303, + "loc": { + "start": { + "line": 123, + "column": 2 + }, + "end": { + "line": 123, + "column": 10 + }, + "identifierName": "toString" + }, + "name": "toString", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2306, + "end": 2333, + "loc": { + "start": { + "line": 123, + "column": 13 + }, + "end": { + "line": 125, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2312, + "end": 2329, + "loc": { + "start": { + "line": 124, + "column": 4 + }, + "end": { + "line": 124, + "column": 21 + } + }, + "argument": { + "type": "MemberExpression", + "start": 2319, + "end": 2328, + "loc": { + "start": { + "line": 124, + "column": 11 + }, + "end": { + "line": 124, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 2319, + "end": 2323, + "loc": { + "start": { + "line": 124, + "column": 11 + }, + "end": { + "line": 124, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 2324, + "end": 2328, + "loc": { + "start": { + "line": 124, + "column": 16 + }, + "end": { + "line": 124, + "column": 20 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": false + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Render this month as a string\n * @return {string}\n ", + "start": 2226, + "end": 2292, + "loc": { + "start": { + "line": 119, + "column": 2 + }, + "end": { + "line": 122, + "column": 5 + } + } + } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Describes only the month component of a Haab fullDate\n ", + "start": 966, + "end": 1030, + "loc": { + "start": { + "line": 66, + "column": 0 + }, + "end": { + "line": 68, + "column": 3 + } + } + } + ], + "__PseudoExport__": false, + "trailingComments": [] + }, + "specifiers": null, + "source": null, + "leadingComments": null + }, + { + "type": "ExportNamedDeclaration", + "start": 2337, + "end": 2377, + "loc": { + "start": { + "line": 128, + "column": 0 + }, + "end": { + "line": 131, + "column": 2 + } + }, + "declaration": { + "type": "FunctionDeclaration", + "start": 678, + "end": 964, + "loc": { + "start": { + "line": 57, + "column": 0 + }, + "end": { + "line": 64, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 687, + "end": 699, + "loc": { + "start": { + "line": 57, + "column": 9 + }, + "end": { + "line": 57, + "column": 21 + }, + "identifierName": "getHaabMonth" + }, + "name": "getHaabMonth", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 700, + "end": 704, + "loc": { + "start": { + "line": 57, + "column": 22 + }, + "end": { + "line": 57, + "column": 26 + }, + "identifierName": "name" + }, + "name": "name" + } + ], + "body": { + "type": "BlockStatement", + "start": 706, + "end": 964, + "loc": { + "start": { + "line": 57, + "column": 28 + }, + "end": { + "line": 64, + "column": 1 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 710, + "end": 777, + "loc": { + "start": { + "line": 58, + "column": 2 + }, + "end": { + "line": 58, + "column": 69 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 716, + "end": 776, + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 58, + "column": 68 + } + }, + "id": { + "type": "Identifier", + "start": 716, + "end": 725, + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 58, + "column": 17 + }, + "identifierName": "monthName" + }, + "name": "monthName" + }, + "init": { + "type": "ConditionalExpression", + "start": 728, + "end": 776, + "loc": { + "start": { + "line": 58, + "column": 20 + }, + "end": { + "line": 58, + "column": 68 + } + }, + "test": { + "type": "BinaryExpression", + "start": 729, + "end": 753, + "loc": { + "start": { + "line": 58, + "column": 21 + }, + "end": { + "line": 58, + "column": 45 + } + }, + "left": { + "type": "UnaryExpression", + "start": 729, + "end": 740, + "loc": { + "start": { + "line": 58, + "column": 21 + }, + "end": { + "line": 58, + "column": 32 + } + }, + "operator": "typeof", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 736, + "end": 740, + "loc": { + "start": { + "line": 58, + "column": 28 + }, + "end": { + "line": 58, + "column": 32 + }, + "identifierName": "name" + }, + "name": "name" + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 745, + "end": 753, + "loc": { + "start": { + "line": 58, + "column": 37 + }, + "end": { + "line": 58, + "column": 45 + } + }, + "extra": { + "rawValue": "number", + "raw": "'number'" + }, + "value": "number" + }, + "extra": { + "parenthesized": true, + "parenStart": 728 + } + }, + "consequent": { + "type": "MemberExpression", + "start": 757, + "end": 769, + "loc": { + "start": { + "line": 58, + "column": 49 + }, + "end": { + "line": 58, + "column": 61 + } + }, + "object": { + "type": "Identifier", + "start": 757, + "end": 763, + "loc": { + "start": { + "line": 58, + "column": 49 + }, + "end": { + "line": 58, + "column": 55 + }, + "identifierName": "months" + }, + "name": "months" + }, + "property": { + "type": "Identifier", + "start": 764, + "end": 768, + "loc": { + "start": { + "line": 58, + "column": 56 + }, + "end": { + "line": 58, + "column": 60 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": true + }, + "alternate": { + "type": "Identifier", + "start": 772, + "end": 776, + "loc": { + "start": { + "line": 58, + "column": 64 + }, + "end": { + "line": 58, + "column": 68 + }, + "identifierName": "name" + }, + "name": "name" + } + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 780, + "end": 931, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 62, + "column": 3 + } + }, + "test": { + "type": "BinaryExpression", + "start": 784, + "end": 818, + "loc": { + "start": { + "line": 59, + "column": 6 + }, + "end": { + "line": 59, + "column": 40 + } + }, + "left": { + "type": "MemberExpression", + "start": 784, + "end": 804, + "loc": { + "start": { + "line": 59, + "column": 6 + }, + "end": { + "line": 59, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 784, + "end": 793, + "loc": { + "start": { + "line": 59, + "column": 6 + }, + "end": { + "line": 59, + "column": 15 + }, + "identifierName": "singleton" + }, + "name": "singleton" + }, + "property": { + "type": "Identifier", + "start": 794, + "end": 803, + "loc": { + "start": { + "line": 59, + "column": 16 + }, + "end": { + "line": 59, + "column": 25 + }, + "identifierName": "monthName" + }, + "name": "monthName" + }, + "computed": true + }, + "operator": "===", + "right": { + "type": "Identifier", + "start": 809, + "end": 818, + "loc": { + "start": { + "line": 59, + "column": 31 + }, + "end": { + "line": 59, + "column": 40 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 820, + "end": 931, + "loc": { + "start": { + "line": 59, + "column": 42 + }, + "end": { + "line": 62, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 879, + "end": 927, + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 52 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 879, + "end": 926, + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 51 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 879, + "end": 899, + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 879, + "end": 888, + "loc": { + "start": { + "line": 61, + "column": 4 + }, + "end": { + "line": 61, + "column": 13 + }, + "identifierName": "singleton" + }, + "name": "singleton", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 889, + "end": 898, + "loc": { + "start": { + "line": 61, + "column": 14 + }, + "end": { + "line": 61, + "column": 23 + }, + "identifierName": "monthName" + }, + "name": "monthName" + }, + "computed": true, + "leadingComments": null + }, + "right": { + "type": "NewExpression", + "start": 902, + "end": 926, + "loc": { + "start": { + "line": 61, + "column": 27 + }, + "end": { + "line": 61, + "column": 51 + } + }, + "callee": { + "type": "Identifier", + "start": 906, + "end": 915, + "loc": { + "start": { + "line": 61, + "column": 31 + }, + "end": { + "line": 61, + "column": 40 + }, + "identifierName": "HaabMonth" + }, + "name": "HaabMonth" + }, + "arguments": [ + { + "type": "Identifier", + "start": 916, + "end": 925, + "loc": { + "start": { + "line": 61, + "column": 41 + }, + "end": { + "line": 61, + "column": 50 + }, + "identifierName": "monthName" + }, + "name": "monthName" + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-use-before-define", + "start": 826, + "end": 874, + "loc": { + "start": { + "line": 60, + "column": 4 + }, + "end": { + "line": 60, + "column": 52 + } + } + } + ] + } + ], + "directives": [] + }, + "alternate": null }, - "end": { - "line": 132, - "column": 1 - } - }, - "properties": [ { - "type": "ObjectProperty", - "start": 2359, - "end": 2368, + "type": "ReturnStatement", + "start": 934, + "end": 962, "loc": { "start": { - "line": 130, + "line": 63, "column": 2 }, "end": { - "line": 130, - "column": 11 + "line": 63, + "column": 30 } }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 2359, - "end": 2368, + "argument": { + "type": "MemberExpression", + "start": 941, + "end": 961, "loc": { "start": { - "line": 130, - "column": 2 + "line": 63, + "column": 9 }, "end": { - "line": 130, - "column": 11 - }, - "identifierName": "HaabMonth" + "line": 63, + "column": 29 + } }, - "name": "HaabMonth" - }, - "value": { - "type": "Identifier", - "start": 2359, - "end": 2368, - "loc": { - "start": { - "line": 130, - "column": 2 - }, - "end": { - "line": 130, - "column": 11 + "object": { + "type": "Identifier", + "start": 941, + "end": 950, + "loc": { + "start": { + "line": 63, + "column": 9 + }, + "end": { + "line": 63, + "column": 18 + }, + "identifierName": "singleton" }, - "identifierName": "HaabMonth" - }, - "name": "HaabMonth" - }, - "extra": { - "shorthand": true - } - }, - { - "type": "ObjectProperty", - "start": 2372, - "end": 2384, - "loc": { - "start": { - "line": 131, - "column": 2 + "name": "singleton" }, - "end": { - "line": 131, - "column": 14 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 2372, - "end": 2384, - "loc": { - "start": { - "line": 131, - "column": 2 - }, - "end": { - "line": 131, - "column": 14 + "property": { + "type": "Identifier", + "start": 951, + "end": 960, + "loc": { + "start": { + "line": 63, + "column": 19 + }, + "end": { + "line": 63, + "column": 28 + }, + "identifierName": "monthName" }, - "identifierName": "getHaabMonth" + "name": "monthName" }, - "name": "getHaabMonth" + "computed": true + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return a comparable HaabMonth instantiation.\n * @param name\n * @return {HaabMonth}\n ", + "start": 584, + "end": 677, + "loc": { + "start": { + "line": 52, + "column": 0 }, - "value": { - "type": "Identifier", - "start": 2372, - "end": 2384, - "loc": { - "start": { - "line": 131, - "column": 2 - }, - "end": { - "line": 131, - "column": 14 - }, - "identifierName": "getHaabMonth" - }, - "name": "getHaabMonth" + "end": { + "line": 56, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Describes only the month component of a Haab fullDate\n ", + "start": 966, + "end": 1030, + "loc": { + "start": { + "line": 66, + "column": 0 }, - "extra": { - "shorthand": true + "end": { + "line": 68, + "column": 3 } } - ] - } - } + } + ] + }, + "specifiers": null, + "source": null, + "leadingComments": null } ], "directives": [] @@ -13769,33 +16307,8 @@ }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "module", - "start": 2338, - "end": 2344, - "loc": { - "start": { - "line": 129, - "column": 0 - }, - "end": { - "line": 129, - "column": 6 - } - } - }, - { - "type": { - "label": ".", + "label": "export", + "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -13806,69 +16319,17 @@ "binop": null, "updateContext": null }, - "start": 2344, - "end": 2345, - "loc": { - "start": { - "line": 129, - "column": 6 - }, - "end": { - "line": 129, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "exports", - "start": 2345, - "end": 2352, - "loc": { - "start": { - "line": 129, - "column": 7 - }, - "end": { - "line": 129, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 2353, - "end": 2354, + "value": "export", + "start": 2337, + "end": 2343, "loc": { "start": { - "line": 129, - "column": 15 + "line": 128, + "column": 0 }, "end": { - "line": 129, - "column": 16 + "line": 128, + "column": 6 } } }, @@ -13884,16 +16345,16 @@ "postfix": false, "binop": null }, - "start": 2355, - "end": 2356, + "start": 2344, + "end": 2345, "loc": { "start": { - "line": 129, - "column": 17 + "line": 128, + "column": 7 }, "end": { - "line": 129, - "column": 18 + "line": 128, + "column": 8 } } }, @@ -13910,15 +16371,15 @@ "binop": null }, "value": "HaabMonth", - "start": 2359, - "end": 2368, + "start": 2348, + "end": 2357, "loc": { "start": { - "line": 130, + "line": 129, "column": 2 }, "end": { - "line": 130, + "line": 129, "column": 11 } } @@ -13936,15 +16397,15 @@ "binop": null, "updateContext": null }, - "start": 2368, - "end": 2369, + "start": 2357, + "end": 2358, "loc": { "start": { - "line": 130, + "line": 129, "column": 11 }, "end": { - "line": 130, + "line": 129, "column": 12 } } @@ -13962,15 +16423,15 @@ "binop": null }, "value": "getHaabMonth", - "start": 2372, - "end": 2384, + "start": 2361, + "end": 2373, "loc": { "start": { - "line": 131, + "line": 130, "column": 2 }, "end": { - "line": 131, + "line": 130, "column": 14 } } @@ -13988,15 +16449,15 @@ "binop": null, "updateContext": null }, - "start": 2384, - "end": 2385, + "start": 2373, + "end": 2374, "loc": { "start": { - "line": 131, + "line": 130, "column": 14 }, "end": { - "line": 131, + "line": 130, "column": 15 } } @@ -14013,15 +16474,15 @@ "postfix": false, "binop": null }, - "start": 2386, - "end": 2387, + "start": 2375, + "end": 2376, "loc": { "start": { - "line": 132, + "line": 131, "column": 0 }, "end": { - "line": 132, + "line": 131, "column": 1 } } @@ -14039,15 +16500,15 @@ "binop": null, "updateContext": null }, - "start": 2387, - "end": 2388, + "start": 2376, + "end": 2377, "loc": { "start": { - "line": 132, + "line": 131, "column": 1 }, "end": { - "line": 132, + "line": 131, "column": 2 } } @@ -14065,15 +16526,15 @@ "binop": null, "updateContext": null }, - "start": 2389, - "end": 2389, + "start": 2378, + "end": 2378, "loc": { "start": { - "line": 133, + "line": 132, "column": 0 }, "end": { - "line": 133, + "line": 132, "column": 0 } } diff --git a/docs/ast/source/cr/haab.js.json b/docs/ast/source/cr/haab.js.json index 006c1c0..14bc612 100644 --- a/docs/ast/source/cr/haab.js.json +++ b/docs/ast/source/cr/haab.js.json @@ -1,368 +1,200 @@ { "type": "File", "start": 0, - "end": 4352, + "end": 4312, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 181, + "line": 179, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 4352, + "end": 4312, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 181, + "line": 179, "column": 0 } }, "sourceType": "module", "body": [ { - "type": "VariableDeclaration", - "start": 15, - "end": 55, + "type": "ImportDeclaration", + "start": 0, + "end": 35, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 40 + "line": 1, + "column": 35 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 21, - "end": 54, + "type": "ImportDefaultSpecifier", + "start": 7, + "end": 15, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 39 + "line": 1, + "column": 15 } }, - "id": { + "local": { "type": "Identifier", - "start": 21, - "end": 29, + "start": 7, + "end": 15, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 14 + "line": 1, + "column": 15 }, "identifierName": "wildcard" }, - "name": "wildcard", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 32, - "end": 54, - "loc": { - "start": { - "line": 2, - "column": 17 - }, - "end": { - "line": 2, - "column": 39 - } - }, - "callee": { - "type": "Identifier", - "start": 32, - "end": 39, - "loc": { - "start": { - "line": 2, - "column": 17 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 40, - "end": 53, - "loc": { - "start": { - "line": 2, - "column": 25 - }, - "end": { - "line": 2, - "column": 38 - } - }, - "extra": { - "rawValue": "../wildcard", - "raw": "'../wildcard'" - }, - "value": "../wildcard" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } + "name": "wildcard" } } ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 56, - "end": 70, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 21, + "end": 34, + "loc": { + "start": { + "line": 1, + "column": 21 + }, + "end": { + "line": 1, + "column": 34 } - } - ] + }, + "extra": { + "rawValue": "../wildcard", + "raw": "'../wildcard'" + }, + "value": "../wildcard" + } }, { - "type": "VariableDeclaration", - "start": 71, - "end": 118, + "type": "ImportDeclaration", + "start": 36, + "end": 80, "loc": { "start": { - "line": 4, + "line": 2, "column": 0 }, "end": { - "line": 4, - "column": 47 + "line": 2, + "column": 44 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 77, - "end": 117, + "type": "ImportSpecifier", + "start": 45, + "end": 57, "loc": { "start": { - "line": 4, - "column": 6 + "line": 2, + "column": 9 }, "end": { - "line": 4, - "column": 46 + "line": 2, + "column": 21 } }, - "id": { - "type": "ObjectPattern", - "start": 77, - "end": 91, + "imported": { + "type": "Identifier", + "start": 45, + "end": 57, "loc": { "start": { - "line": 4, - "column": 6 + "line": 2, + "column": 9 }, "end": { - "line": 4, - "column": 20 - } + "line": 2, + "column": 21 + }, + "identifierName": "getHaabMonth" }, - "properties": [ - { - "type": "ObjectProperty", - "start": 78, - "end": 90, - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 19 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 78, - "end": 90, - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 19 - }, - "identifierName": "getHaabMonth" - }, - "name": "getHaabMonth", - "leadingComments": null - }, - "value": { - "type": "Identifier", - "start": 78, - "end": 90, - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 19 - }, - "identifierName": "getHaabMonth" - }, - "name": "getHaabMonth" - }, - "leadingComments": null, - "extra": { - "shorthand": true - } - } - ], - "leadingComments": null + "name": "getHaabMonth" }, - "init": { - "type": "CallExpression", - "start": 94, - "end": 117, + "local": { + "type": "Identifier", + "start": 45, + "end": 57, "loc": { "start": { - "line": 4, - "column": 23 + "line": 2, + "column": 9 }, "end": { - "line": 4, - "column": 46 - } - }, - "callee": { - "type": "Identifier", - "start": 94, - "end": 101, - "loc": { - "start": { - "line": 4, - "column": 23 - }, - "end": { - "line": 4, - "column": 30 - }, - "identifierName": "require" + "line": 2, + "column": 21 }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 102, - "end": 116, - "loc": { - "start": { - "line": 4, - "column": 31 - }, - "end": { - "line": 4, - "column": 45 - } - }, - "extra": { - "rawValue": "./haab-month", - "raw": "'./haab-month'" - }, - "value": "./haab-month" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 56, - "end": 70, - "loc": { - "start": { - "line": 3, - "column": 0 + "identifierName": "getHaabMonth" }, - "end": { - "line": 3, - "column": 14 - } + "name": "getHaabMonth" } } ], + "source": { + "type": "StringLiteral", + "start": 65, + "end": 79, + "loc": { + "start": { + "line": 2, + "column": 29 + }, + "end": { + "line": 2, + "column": 43 + } + }, + "extra": { + "rawValue": "./haab-month", + "raw": "'./haab-month'" + }, + "value": "./haab-month" + }, "trailingComments": [ { "type": "CommentBlock", "value": "* @ignore ", - "start": 120, - "end": 134, + "start": 82, + "end": 96, "loc": { "start": { - "line": 6, + "line": 4, "column": 0 }, "end": { - "line": 6, + "line": 4, "column": 14 } } @@ -371,44 +203,44 @@ }, { "type": "VariableDeclaration", - "start": 135, - "end": 156, + "start": 97, + "end": 118, "loc": { "start": { - "line": 7, + "line": 5, "column": 0 }, "end": { - "line": 7, + "line": 5, "column": 21 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 141, - "end": 155, + "start": 103, + "end": 117, "loc": { "start": { - "line": 7, + "line": 5, "column": 6 }, "end": { - "line": 7, + "line": 5, "column": 20 } }, "id": { "type": "Identifier", - "start": 141, - "end": 150, + "start": 103, + "end": 112, "loc": { "start": { - "line": 7, + "line": 5, "column": 6 }, "end": { - "line": 7, + "line": 5, "column": 15 }, "identifierName": "singleton" @@ -418,15 +250,15 @@ }, "init": { "type": "ObjectExpression", - "start": 153, - "end": 155, + "start": 115, + "end": 117, "loc": { "start": { - "line": 7, + "line": 5, "column": 18 }, "end": { - "line": 7, + "line": 5, "column": 20 } }, @@ -440,15 +272,15 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 120, - "end": 134, + "start": 82, + "end": 96, "loc": { "start": { - "line": 6, + "line": 4, "column": 0 }, "end": { - "line": 6, + "line": 4, "column": 14 } } @@ -458,15 +290,15 @@ { "type": "CommentBlock", "value": "*\n * Return a comparable HaabMonth instantiation.\n * @param {number} coeff\n * @param {HaabMonth|string} month\n * @return {Haab}\n ", - "start": 158, - "end": 291, + "start": 120, + "end": 253, "loc": { "start": { - "line": 9, + "line": 7, "column": 0 }, "end": { - "line": 14, + "line": 12, "column": 3 } } @@ -475,29 +307,29 @@ }, { "type": "FunctionDeclaration", - "start": 292, - "end": 623, + "start": 254, + "end": 585, "loc": { "start": { - "line": 15, + "line": 13, "column": 0 }, "end": { - "line": 23, + "line": 21, "column": 1 } }, "id": { "type": "Identifier", - "start": 301, - "end": 308, + "start": 263, + "end": 270, "loc": { "start": { - "line": 15, + "line": 13, "column": 9 }, "end": { - "line": 15, + "line": 13, "column": 16 }, "identifierName": "getHaab" @@ -511,15 +343,15 @@ "params": [ { "type": "Identifier", - "start": 309, - "end": 314, + "start": 271, + "end": 276, "loc": { "start": { - "line": 15, + "line": 13, "column": 17 }, "end": { - "line": 15, + "line": 13, "column": 22 }, "identifierName": "coeff" @@ -528,15 +360,15 @@ }, { "type": "Identifier", - "start": 316, - "end": 321, + "start": 278, + "end": 283, "loc": { "start": { - "line": 15, + "line": 13, "column": 24 }, "end": { - "line": 15, + "line": 13, "column": 29 }, "identifierName": "month" @@ -546,59 +378,59 @@ ], "body": { "type": "BlockStatement", - "start": 323, - "end": 623, + "start": 285, + "end": 585, "loc": { "start": { - "line": 15, + "line": 13, "column": 31 }, "end": { - "line": 23, + "line": 21, "column": 1 } }, "body": [ { "type": "VariableDeclaration", - "start": 327, - "end": 365, + "start": 289, + "end": 327, "loc": { "start": { - "line": 16, + "line": 14, "column": 2 }, "end": { - "line": 16, + "line": 14, "column": 40 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 333, - "end": 364, + "start": 295, + "end": 326, "loc": { "start": { - "line": 16, + "line": 14, "column": 8 }, "end": { - "line": 16, + "line": 14, "column": 39 } }, "id": { "type": "Identifier", - "start": 333, - "end": 342, + "start": 295, + "end": 304, "loc": { "start": { - "line": 16, + "line": 14, "column": 8 }, "end": { - "line": 16, + "line": 14, "column": 17 }, "identifierName": "monthName" @@ -607,30 +439,30 @@ }, "init": { "type": "TemplateLiteral", - "start": 345, - "end": 364, + "start": 307, + "end": 326, "loc": { "start": { - "line": 16, + "line": 14, "column": 20 }, "end": { - "line": 16, + "line": 14, "column": 39 } }, "expressions": [ { "type": "Identifier", - "start": 348, - "end": 353, + "start": 310, + "end": 315, "loc": { "start": { - "line": 16, + "line": 14, "column": 23 }, "end": { - "line": 16, + "line": 14, "column": 28 }, "identifierName": "coeff" @@ -639,15 +471,15 @@ }, { "type": "Identifier", - "start": 357, - "end": 362, + "start": 319, + "end": 324, "loc": { "start": { - "line": 16, + "line": 14, "column": 32 }, "end": { - "line": 16, + "line": 14, "column": 37 }, "identifierName": "month" @@ -658,15 +490,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 346, - "end": 346, + "start": 308, + "end": 308, "loc": { "start": { - "line": 16, + "line": 14, "column": 21 }, "end": { - "line": 16, + "line": 14, "column": 21 } }, @@ -678,15 +510,15 @@ }, { "type": "TemplateElement", - "start": 354, - "end": 355, + "start": 316, + "end": 317, "loc": { "start": { - "line": 16, + "line": 14, "column": 29 }, "end": { - "line": 16, + "line": 14, "column": 30 } }, @@ -698,15 +530,15 @@ }, { "type": "TemplateElement", - "start": 363, - "end": 363, + "start": 325, + "end": 325, "loc": { "start": { - "line": 16, + "line": 14, "column": 38 }, "end": { - "line": 16, + "line": 14, "column": 38 } }, @@ -725,15 +557,15 @@ { "type": "CommentLine", "value": " const monthName = (typeof name === 'number') ? months[name] : name;", - "start": 368, - "end": 438, + "start": 330, + "end": 400, "loc": { "start": { - "line": 17, + "line": 15, "column": 2 }, "end": { - "line": 17, + "line": 15, "column": 72 } } @@ -742,57 +574,57 @@ }, { "type": "IfStatement", - "start": 441, - "end": 590, + "start": 403, + "end": 552, "loc": { "start": { - "line": 18, + "line": 16, "column": 2 }, "end": { - "line": 21, + "line": 19, "column": 3 } }, "test": { "type": "BinaryExpression", - "start": 445, - "end": 479, + "start": 407, + "end": 441, "loc": { "start": { - "line": 18, + "line": 16, "column": 6 }, "end": { - "line": 18, + "line": 16, "column": 40 } }, "left": { "type": "MemberExpression", - "start": 445, - "end": 465, + "start": 407, + "end": 427, "loc": { "start": { - "line": 18, + "line": 16, "column": 6 }, "end": { - "line": 18, + "line": 16, "column": 26 } }, "object": { "type": "Identifier", - "start": 445, - "end": 454, + "start": 407, + "end": 416, "loc": { "start": { - "line": 18, + "line": 16, "column": 6 }, "end": { - "line": 18, + "line": 16, "column": 15 }, "identifierName": "singleton" @@ -802,15 +634,15 @@ }, "property": { "type": "Identifier", - "start": 455, - "end": 464, + "start": 417, + "end": 426, "loc": { "start": { - "line": 18, + "line": 16, "column": 16 }, "end": { - "line": 18, + "line": 16, "column": 25 }, "identifierName": "monthName" @@ -823,15 +655,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 470, - "end": 479, + "start": 432, + "end": 441, "loc": { "start": { - "line": 18, + "line": 16, "column": 31 }, "end": { - "line": 18, + "line": 16, "column": 40 }, "identifierName": "undefined" @@ -842,73 +674,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 481, - "end": 590, + "start": 443, + "end": 552, "loc": { "start": { - "line": 18, + "line": 16, "column": 42 }, "end": { - "line": 21, + "line": 19, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 540, - "end": 586, + "start": 502, + "end": 548, "loc": { "start": { - "line": 20, + "line": 18, "column": 4 }, "end": { - "line": 20, + "line": 18, "column": 50 } }, "expression": { "type": "AssignmentExpression", - "start": 540, - "end": 585, + "start": 502, + "end": 547, "loc": { "start": { - "line": 20, + "line": 18, "column": 4 }, "end": { - "line": 20, + "line": 18, "column": 49 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 540, - "end": 560, + "start": 502, + "end": 522, "loc": { "start": { - "line": 20, + "line": 18, "column": 4 }, "end": { - "line": 20, + "line": 18, "column": 24 } }, "object": { "type": "Identifier", - "start": 540, - "end": 549, + "start": 502, + "end": 511, "loc": { "start": { - "line": 20, + "line": 18, "column": 4 }, "end": { - "line": 20, + "line": 18, "column": 13 }, "identifierName": "singleton" @@ -918,15 +750,15 @@ }, "property": { "type": "Identifier", - "start": 550, - "end": 559, + "start": 512, + "end": 521, "loc": { "start": { - "line": 20, + "line": 18, "column": 14 }, "end": { - "line": 20, + "line": 18, "column": 23 }, "identifierName": "monthName" @@ -938,29 +770,29 @@ }, "right": { "type": "NewExpression", - "start": 563, - "end": 585, + "start": 525, + "end": 547, "loc": { "start": { - "line": 20, + "line": 18, "column": 27 }, "end": { - "line": 20, + "line": 18, "column": 49 } }, "callee": { "type": "Identifier", - "start": 567, - "end": 571, + "start": 529, + "end": 533, "loc": { "start": { - "line": 20, + "line": 18, "column": 31 }, "end": { - "line": 20, + "line": 18, "column": 35 }, "identifierName": "Haab" @@ -970,15 +802,15 @@ "arguments": [ { "type": "Identifier", - "start": 572, - "end": 577, + "start": 534, + "end": 539, "loc": { "start": { - "line": 20, + "line": 18, "column": 36 }, "end": { - "line": 20, + "line": 18, "column": 41 }, "identifierName": "coeff" @@ -987,15 +819,15 @@ }, { "type": "Identifier", - "start": 579, - "end": 584, + "start": 541, + "end": 546, "loc": { "start": { - "line": 20, + "line": 18, "column": 43 }, "end": { - "line": 20, + "line": 18, "column": 48 }, "identifierName": "month" @@ -1010,15 +842,15 @@ { "type": "CommentLine", "value": " eslint-disable-next-line no-use-before-define", - "start": 487, - "end": 535, + "start": 449, + "end": 497, "loc": { "start": { - "line": 19, + "line": 17, "column": 4 }, "end": { - "line": 19, + "line": 17, "column": 52 } } @@ -1033,15 +865,15 @@ { "type": "CommentLine", "value": " const monthName = (typeof name === 'number') ? months[name] : name;", - "start": 368, - "end": 438, + "start": 330, + "end": 400, "loc": { "start": { - "line": 17, + "line": 15, "column": 2 }, "end": { - "line": 17, + "line": 15, "column": 72 } } @@ -1050,43 +882,43 @@ }, { "type": "ReturnStatement", - "start": 593, - "end": 621, + "start": 555, + "end": 583, "loc": { "start": { - "line": 22, + "line": 20, "column": 2 }, "end": { - "line": 22, + "line": 20, "column": 30 } }, "argument": { "type": "MemberExpression", - "start": 600, - "end": 620, + "start": 562, + "end": 582, "loc": { "start": { - "line": 22, + "line": 20, "column": 9 }, "end": { - "line": 22, + "line": 20, "column": 29 } }, "object": { "type": "Identifier", - "start": 600, - "end": 609, + "start": 562, + "end": 571, "loc": { "start": { - "line": 22, + "line": 20, "column": 9 }, "end": { - "line": 22, + "line": 20, "column": 18 }, "identifierName": "singleton" @@ -1095,15 +927,15 @@ }, "property": { "type": "Identifier", - "start": 610, - "end": 619, + "start": 572, + "end": 581, "loc": { "start": { - "line": 22, + "line": 20, "column": 19 }, "end": { - "line": 22, + "line": 20, "column": 28 }, "identifierName": "monthName" @@ -1121,15 +953,15 @@ { "type": "CommentBlock", "value": "*\n * Return a comparable HaabMonth instantiation.\n * @param {number} coeff\n * @param {HaabMonth|string} month\n * @return {Haab}\n ", - "start": 158, - "end": 291, + "start": 120, + "end": 253, "loc": { "start": { - "line": 9, + "line": 7, "column": 0 }, "end": { - "line": 14, + "line": 12, "column": 3 } } @@ -1139,15 +971,15 @@ { "type": "CommentBlock", "value": "*\n * Describes a Haab fullDate with a position and a month\n * @example\n * let day = new Haab(8, \"Kumk'u\");\n *\n * @example\n * let day = new Haab(8, new HaabMonth(\"Kumk'u\"));\n *\n ", - "start": 625, - "end": 812, + "start": 587, + "end": 774, "loc": { "start": { - "line": 25, + "line": 23, "column": 0 }, "end": { - "line": 33, + "line": 31, "column": 3 } } @@ -1156,29 +988,29 @@ }, { "type": "ClassDeclaration", - "start": 813, - "end": 4302, + "start": 775, + "end": 4264, "loc": { "start": { - "line": 34, + "line": 32, "column": 0 }, "end": { - "line": 175, + "line": 173, "column": 1 } }, "id": { "type": "Identifier", - "start": 819, - "end": 823, + "start": 781, + "end": 785, "loc": { "start": { - "line": 34, + "line": 32, "column": 6 }, "end": { - "line": 34, + "line": 32, "column": 10 }, "identifierName": "Haab" @@ -1189,30 +1021,30 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 824, - "end": 4302, + "start": 786, + "end": 4264, "loc": { "start": { - "line": 34, + "line": 32, "column": 11 }, "end": { - "line": 175, + "line": 173, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 1156, - "end": 1889, + "start": 1118, + "end": 1851, "loc": { "start": { - "line": 44, + "line": 42, "column": 2 }, "end": { - "line": 76, + "line": 74, "column": 3 } }, @@ -1220,15 +1052,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1156, - "end": 1167, + "start": 1118, + "end": 1129, "loc": { "start": { - "line": 44, + "line": 42, "column": 2 }, "end": { - "line": 44, + "line": 42, "column": 13 }, "identifierName": "constructor" @@ -1244,15 +1076,15 @@ "params": [ { "type": "Identifier", - "start": 1168, - "end": 1173, + "start": 1130, + "end": 1135, "loc": { "start": { - "line": 44, + "line": 42, "column": 14 }, "end": { - "line": 44, + "line": 42, "column": 19 }, "identifierName": "coeff" @@ -1261,15 +1093,15 @@ }, { "type": "Identifier", - "start": 1175, - "end": 1180, + "start": 1137, + "end": 1142, "loc": { "start": { - "line": 44, + "line": 42, "column": 21 }, "end": { - "line": 44, + "line": 42, "column": 26 }, "identifierName": "month" @@ -1279,59 +1111,59 @@ ], "body": { "type": "BlockStatement", - "start": 1182, - "end": 1889, + "start": 1144, + "end": 1851, "loc": { "start": { - "line": 44, + "line": 42, "column": 28 }, "end": { - "line": 76, + "line": 74, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 1188, - "end": 1209, + "start": 1150, + "end": 1171, "loc": { "start": { - "line": 45, + "line": 43, "column": 4 }, "end": { - "line": 45, + "line": 43, "column": 25 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1192, - "end": 1208, + "start": 1154, + "end": 1170, "loc": { "start": { - "line": 45, + "line": 43, "column": 8 }, "end": { - "line": 45, + "line": 43, "column": 24 } }, "id": { "type": "Identifier", - "start": 1192, - "end": 1200, + "start": 1154, + "end": 1162, "loc": { "start": { - "line": 45, + "line": 43, "column": 8 }, "end": { - "line": 45, + "line": 43, "column": 16 }, "identifierName": "newCoeff" @@ -1340,15 +1172,15 @@ }, "init": { "type": "Identifier", - "start": 1203, - "end": 1208, + "start": 1165, + "end": 1170, "loc": { "start": { - "line": 45, + "line": 43, "column": 19 }, "end": { - "line": 45, + "line": 43, "column": 24 }, "identifierName": "coeff" @@ -1361,43 +1193,43 @@ }, { "type": "IfStatement", - "start": 1214, - "end": 1345, + "start": 1176, + "end": 1307, "loc": { "start": { - "line": 46, + "line": 44, "column": 4 }, "end": { - "line": 50, + "line": 48, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 1218, - "end": 1231, + "start": 1180, + "end": 1193, "loc": { "start": { - "line": 46, + "line": 44, "column": 8 }, "end": { - "line": 46, + "line": 44, "column": 21 } }, "left": { "type": "Identifier", - "start": 1218, - "end": 1223, + "start": 1180, + "end": 1185, "loc": { "start": { - "line": 46, + "line": 44, "column": 8 }, "end": { - "line": 46, + "line": 44, "column": 13 }, "identifierName": "coeff" @@ -1407,15 +1239,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1228, - "end": 1231, + "start": 1190, + "end": 1193, "loc": { "start": { - "line": 46, + "line": 44, "column": 18 }, "end": { - "line": 46, + "line": 44, "column": 21 } }, @@ -1428,59 +1260,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 1233, - "end": 1267, + "start": 1195, + "end": 1229, "loc": { "start": { - "line": 46, + "line": 44, "column": 23 }, "end": { - "line": 48, + "line": 46, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 1241, - "end": 1261, + "start": 1203, + "end": 1223, "loc": { "start": { - "line": 47, + "line": 45, "column": 6 }, "end": { - "line": 47, + "line": 45, "column": 26 } }, "expression": { "type": "AssignmentExpression", - "start": 1241, - "end": 1260, + "start": 1203, + "end": 1222, "loc": { "start": { - "line": 47, + "line": 45, "column": 6 }, "end": { - "line": 47, + "line": 45, "column": 25 } }, "operator": "=", "left": { "type": "Identifier", - "start": 1241, - "end": 1249, + "start": 1203, + "end": 1211, "loc": { "start": { - "line": 47, + "line": 45, "column": 6 }, "end": { - "line": 47, + "line": 45, "column": 14 }, "identifierName": "newCoeff" @@ -1489,15 +1321,15 @@ }, "right": { "type": "Identifier", - "start": 1252, - "end": 1260, + "start": 1214, + "end": 1222, "loc": { "start": { - "line": 47, + "line": 45, "column": 17 }, "end": { - "line": 47, + "line": 45, "column": 25 }, "identifierName": "wildcard" @@ -1511,43 +1343,43 @@ }, "alternate": { "type": "IfStatement", - "start": 1273, - "end": 1345, + "start": 1235, + "end": 1307, "loc": { "start": { - "line": 48, + "line": 46, "column": 11 }, "end": { - "line": 50, + "line": 48, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 1277, - "end": 1295, + "start": 1239, + "end": 1257, "loc": { "start": { - "line": 48, + "line": 46, "column": 15 }, "end": { - "line": 48, + "line": 46, "column": 33 } }, "left": { "type": "Identifier", - "start": 1277, - "end": 1282, + "start": 1239, + "end": 1244, "loc": { "start": { - "line": 48, + "line": 46, "column": 15 }, "end": { - "line": 48, + "line": 46, "column": 20 }, "identifierName": "coeff" @@ -1557,15 +1389,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 1287, - "end": 1295, + "start": 1249, + "end": 1257, "loc": { "start": { - "line": 48, + "line": 46, "column": 25 }, "end": { - "line": 48, + "line": 46, "column": 33 }, "identifierName": "wildcard" @@ -1575,59 +1407,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 1297, - "end": 1345, + "start": 1259, + "end": 1307, "loc": { "start": { - "line": 48, + "line": 46, "column": 35 }, "end": { - "line": 50, + "line": 48, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 1305, - "end": 1339, + "start": 1267, + "end": 1301, "loc": { "start": { - "line": 49, + "line": 47, "column": 6 }, "end": { - "line": 49, + "line": 47, "column": 40 } }, "expression": { "type": "AssignmentExpression", - "start": 1305, - "end": 1338, + "start": 1267, + "end": 1300, "loc": { "start": { - "line": 49, + "line": 47, "column": 6 }, "end": { - "line": 49, + "line": 47, "column": 39 } }, "operator": "=", "left": { "type": "Identifier", - "start": 1305, - "end": 1313, + "start": 1267, + "end": 1275, "loc": { "start": { - "line": 49, + "line": 47, "column": 6 }, "end": { - "line": 49, + "line": 47, "column": 14 }, "identifierName": "newCoeff" @@ -1636,29 +1468,29 @@ }, "right": { "type": "CallExpression", - "start": 1316, - "end": 1338, + "start": 1278, + "end": 1300, "loc": { "start": { - "line": 49, + "line": 47, "column": 17 }, "end": { - "line": 49, + "line": 47, "column": 39 } }, "callee": { "type": "Identifier", - "start": 1316, - "end": 1324, + "start": 1278, + "end": 1286, "loc": { "start": { - "line": 49, + "line": 47, "column": 17 }, "end": { - "line": 49, + "line": 47, "column": 25 }, "identifierName": "parseInt" @@ -1668,15 +1500,15 @@ "arguments": [ { "type": "Identifier", - "start": 1325, - "end": 1333, + "start": 1287, + "end": 1295, "loc": { "start": { - "line": 49, + "line": 47, "column": 26 }, "end": { - "line": 49, + "line": 47, "column": 34 }, "identifierName": "newCoeff" @@ -1685,15 +1517,15 @@ }, { "type": "NumericLiteral", - "start": 1335, - "end": 1337, + "start": 1297, + "end": 1299, "loc": { "start": { - "line": 49, + "line": 47, "column": 36 }, "end": { - "line": 49, + "line": 47, "column": 38 } }, @@ -1715,44 +1547,44 @@ }, { "type": "VariableDeclaration", - "start": 1350, - "end": 1371, + "start": 1312, + "end": 1333, "loc": { "start": { - "line": 51, + "line": 49, "column": 4 }, "end": { - "line": 51, + "line": 49, "column": 25 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1354, - "end": 1370, + "start": 1316, + "end": 1332, "loc": { "start": { - "line": 51, + "line": 49, "column": 8 }, "end": { - "line": 51, + "line": 49, "column": 24 } }, "id": { "type": "Identifier", - "start": 1354, - "end": 1362, + "start": 1316, + "end": 1324, "loc": { "start": { - "line": 51, + "line": 49, "column": 8 }, "end": { - "line": 51, + "line": 49, "column": 16 }, "identifierName": "newMonth" @@ -1761,15 +1593,15 @@ }, "init": { "type": "Identifier", - "start": 1365, - "end": 1370, + "start": 1327, + "end": 1332, "loc": { "start": { - "line": 51, + "line": 49, "column": 19 }, "end": { - "line": 51, + "line": 49, "column": 24 }, "identifierName": "month" @@ -1782,43 +1614,43 @@ }, { "type": "IfStatement", - "start": 1376, - "end": 1577, + "start": 1338, + "end": 1539, "loc": { "start": { - "line": 52, + "line": 50, "column": 4 }, "end": { - "line": 59, + "line": 57, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 1380, - "end": 1405, + "start": 1342, + "end": 1367, "loc": { "start": { - "line": 52, + "line": 50, "column": 8 }, "end": { - "line": 52, + "line": 50, "column": 33 } }, "left": { "type": "UnaryExpression", - "start": 1380, - "end": 1392, + "start": 1342, + "end": 1354, "loc": { "start": { - "line": 52, + "line": 50, "column": 8 }, "end": { - "line": 52, + "line": 50, "column": 20 } }, @@ -1826,15 +1658,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 1387, - "end": 1392, + "start": 1349, + "end": 1354, "loc": { "start": { - "line": 52, + "line": 50, "column": 15 }, "end": { - "line": 52, + "line": 50, "column": 20 }, "identifierName": "month" @@ -1848,15 +1680,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1397, - "end": 1405, + "start": 1359, + "end": 1367, "loc": { "start": { - "line": 52, + "line": 50, "column": 25 }, "end": { - "line": 52, + "line": 50, "column": 33 } }, @@ -1869,58 +1701,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 1407, - "end": 1577, + "start": 1369, + "end": 1539, "loc": { "start": { - "line": 52, + "line": 50, "column": 35 }, "end": { - "line": 59, + "line": 57, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 1415, - "end": 1571, + "start": 1377, + "end": 1533, "loc": { "start": { - "line": 53, + "line": 51, "column": 6 }, "end": { - "line": 58, + "line": 56, "column": 7 } }, "test": { "type": "BinaryExpression", - "start": 1419, - "end": 1432, + "start": 1381, + "end": 1394, "loc": { "start": { - "line": 53, + "line": 51, "column": 10 }, "end": { - "line": 53, + "line": 51, "column": 23 } }, "left": { "type": "Identifier", - "start": 1419, - "end": 1424, + "start": 1381, + "end": 1386, "loc": { "start": { - "line": 53, + "line": 51, "column": 10 }, "end": { - "line": 53, + "line": 51, "column": 15 }, "identifierName": "month" @@ -1930,15 +1762,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1429, - "end": 1432, + "start": 1391, + "end": 1394, "loc": { "start": { - "line": 53, + "line": 51, "column": 20 }, "end": { - "line": 53, + "line": 51, "column": 23 } }, @@ -1951,59 +1783,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 1434, - "end": 1472, + "start": 1396, + "end": 1434, "loc": { "start": { - "line": 53, + "line": 51, "column": 25 }, "end": { - "line": 55, + "line": 53, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 1444, - "end": 1464, + "start": 1406, + "end": 1426, "loc": { "start": { - "line": 54, + "line": 52, "column": 8 }, "end": { - "line": 54, + "line": 52, "column": 28 } }, "expression": { "type": "AssignmentExpression", - "start": 1444, - "end": 1463, + "start": 1406, + "end": 1425, "loc": { "start": { - "line": 54, + "line": 52, "column": 8 }, "end": { - "line": 54, + "line": 52, "column": 27 } }, "operator": "=", "left": { "type": "Identifier", - "start": 1444, - "end": 1452, + "start": 1406, + "end": 1414, "loc": { "start": { - "line": 54, + "line": 52, "column": 8 }, "end": { - "line": 54, + "line": 52, "column": 16 }, "identifierName": "newMonth" @@ -2012,15 +1844,15 @@ }, "right": { "type": "Identifier", - "start": 1455, - "end": 1463, + "start": 1417, + "end": 1425, "loc": { "start": { - "line": 54, + "line": 52, "column": 19 }, "end": { - "line": 54, + "line": 52, "column": 27 }, "identifierName": "wildcard" @@ -2034,59 +1866,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 1478, - "end": 1571, + "start": 1440, + "end": 1533, "loc": { "start": { - "line": 55, + "line": 53, "column": 13 }, "end": { - "line": 58, + "line": 56, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 1488, - "end": 1519, + "start": 1450, + "end": 1481, "loc": { "start": { - "line": 56, + "line": 54, "column": 8 }, "end": { - "line": 56, + "line": 54, "column": 39 } }, "expression": { "type": "AssignmentExpression", - "start": 1488, - "end": 1518, + "start": 1450, + "end": 1480, "loc": { "start": { - "line": 56, + "line": 54, "column": 8 }, "end": { - "line": 56, + "line": 54, "column": 38 } }, "operator": "=", "left": { "type": "Identifier", - "start": 1488, - "end": 1496, + "start": 1450, + "end": 1458, "loc": { "start": { - "line": 56, + "line": 54, "column": 8 }, "end": { - "line": 56, + "line": 54, "column": 16 }, "identifierName": "newMonth" @@ -2095,29 +1927,29 @@ }, "right": { "type": "CallExpression", - "start": 1499, - "end": 1518, + "start": 1461, + "end": 1480, "loc": { "start": { - "line": 56, + "line": 54, "column": 19 }, "end": { - "line": 56, + "line": 54, "column": 38 } }, "callee": { "type": "Identifier", - "start": 1499, - "end": 1511, + "start": 1461, + "end": 1473, "loc": { "start": { - "line": 56, + "line": 54, "column": 19 }, "end": { - "line": 56, + "line": 54, "column": 31 }, "identifierName": "getHaabMonth" @@ -2127,15 +1959,15 @@ "arguments": [ { "type": "Identifier", - "start": 1512, - "end": 1517, + "start": 1474, + "end": 1479, "loc": { "start": { - "line": 56, + "line": 54, "column": 32 }, "end": { - "line": 56, + "line": 54, "column": 37 }, "identifierName": "month" @@ -2149,15 +1981,15 @@ { "type": "CommentLine", "value": " newMonth = new HaabMonth(month);", - "start": 1528, - "end": 1563, + "start": 1490, + "end": 1525, "loc": { "start": { - "line": 57, + "line": 55, "column": 8 }, "end": { - "line": 57, + "line": 55, "column": 43 } } @@ -2177,15 +2009,15 @@ { "type": "CommentBlock", "value": "*\n * @type {HaabMonth|Wildcard}\n ", - "start": 1582, - "end": 1627, + "start": 1544, + "end": 1589, "loc": { "start": { - "line": 60, + "line": 58, "column": 4 }, "end": { - "line": 62, + "line": 60, "column": 7 } } @@ -2194,58 +2026,58 @@ }, { "type": "ExpressionStatement", - "start": 1632, - "end": 1654, + "start": 1594, + "end": 1616, "loc": { "start": { - "line": 63, + "line": 61, "column": 4 }, "end": { - "line": 63, + "line": 61, "column": 26 } }, "expression": { "type": "AssignmentExpression", - "start": 1632, - "end": 1653, + "start": 1594, + "end": 1615, "loc": { "start": { - "line": 63, + "line": 61, "column": 4 }, "end": { - "line": 63, + "line": 61, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1632, - "end": 1642, + "start": 1594, + "end": 1604, "loc": { "start": { - "line": 63, + "line": 61, "column": 4 }, "end": { - "line": 63, + "line": 61, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 1632, - "end": 1636, + "start": 1594, + "end": 1598, "loc": { "start": { - "line": 63, + "line": 61, "column": 4 }, "end": { - "line": 63, + "line": 61, "column": 8 } }, @@ -2253,15 +2085,15 @@ }, "property": { "type": "Identifier", - "start": 1637, - "end": 1642, + "start": 1599, + "end": 1604, "loc": { "start": { - "line": 63, + "line": 61, "column": 9 }, "end": { - "line": 63, + "line": 61, "column": 14 }, "identifierName": "month" @@ -2273,15 +2105,15 @@ }, "right": { "type": "Identifier", - "start": 1645, - "end": 1653, + "start": 1607, + "end": 1615, "loc": { "start": { - "line": 63, + "line": 61, "column": 17 }, "end": { - "line": 63, + "line": 61, "column": 25 }, "identifierName": "newMonth" @@ -2294,15 +2126,15 @@ { "type": "CommentBlock", "value": "*\n * @type {HaabMonth|Wildcard}\n ", - "start": 1582, - "end": 1627, + "start": 1544, + "end": 1589, "loc": { "start": { - "line": 60, + "line": 58, "column": 4 }, "end": { - "line": 62, + "line": 60, "column": 7 } } @@ -2312,15 +2144,15 @@ { "type": "CommentBlock", "value": "*\n * @type {number|Wildcard}\n ", - "start": 1659, - "end": 1701, + "start": 1621, + "end": 1663, "loc": { "start": { - "line": 64, + "line": 62, "column": 4 }, "end": { - "line": 66, + "line": 64, "column": 7 } } @@ -2329,58 +2161,58 @@ }, { "type": "ExpressionStatement", - "start": 1706, - "end": 1728, + "start": 1668, + "end": 1690, "loc": { "start": { - "line": 67, + "line": 65, "column": 4 }, "end": { - "line": 67, + "line": 65, "column": 26 } }, "expression": { "type": "AssignmentExpression", - "start": 1706, - "end": 1727, + "start": 1668, + "end": 1689, "loc": { "start": { - "line": 67, + "line": 65, "column": 4 }, "end": { - "line": 67, + "line": 65, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1706, - "end": 1716, + "start": 1668, + "end": 1678, "loc": { "start": { - "line": 67, + "line": 65, "column": 4 }, "end": { - "line": 67, + "line": 65, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 1706, - "end": 1710, + "start": 1668, + "end": 1672, "loc": { "start": { - "line": 67, + "line": 65, "column": 4 }, "end": { - "line": 67, + "line": 65, "column": 8 } }, @@ -2388,15 +2220,15 @@ }, "property": { "type": "Identifier", - "start": 1711, - "end": 1716, + "start": 1673, + "end": 1678, "loc": { "start": { - "line": 67, + "line": 65, "column": 9 }, "end": { - "line": 67, + "line": 65, "column": 14 }, "identifierName": "coeff" @@ -2408,15 +2240,15 @@ }, "right": { "type": "Identifier", - "start": 1719, - "end": 1727, + "start": 1681, + "end": 1689, "loc": { "start": { - "line": 67, + "line": 65, "column": 17 }, "end": { - "line": 67, + "line": 65, "column": 25 }, "identifierName": "newCoeff" @@ -2429,15 +2261,15 @@ { "type": "CommentBlock", "value": "*\n * @type {number|Wildcard}\n ", - "start": 1659, - "end": 1701, + "start": 1621, + "end": 1663, "loc": { "start": { - "line": 64, + "line": 62, "column": 4 }, "end": { - "line": 66, + "line": 64, "column": 7 } } @@ -2447,15 +2279,15 @@ { "type": "CommentBlock", "value": "*\n * Lazy loaded instance of the next Haab date in the cycle\n * @type {Haab}\n ", - "start": 1734, - "end": 1828, + "start": 1696, + "end": 1790, "loc": { "start": { - "line": 69, + "line": 67, "column": 4 }, "end": { - "line": 72, + "line": 70, "column": 7 } } @@ -2464,58 +2296,58 @@ }, { "type": "ExpressionStatement", - "start": 1833, - "end": 1863, + "start": 1795, + "end": 1825, "loc": { "start": { - "line": 73, + "line": 71, "column": 4 }, "end": { - "line": 73, + "line": 71, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 1833, - "end": 1862, + "start": 1795, + "end": 1824, "loc": { "start": { - "line": 73, + "line": 71, "column": 4 }, "end": { - "line": 73, + "line": 71, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1833, - "end": 1850, + "start": 1795, + "end": 1812, "loc": { "start": { - "line": 73, + "line": 71, "column": 4 }, "end": { - "line": 73, + "line": 71, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 1833, - "end": 1837, + "start": 1795, + "end": 1799, "loc": { "start": { - "line": 73, + "line": 71, "column": 4 }, "end": { - "line": 73, + "line": 71, "column": 8 } }, @@ -2523,15 +2355,15 @@ }, "property": { "type": "Identifier", - "start": 1838, - "end": 1850, + "start": 1800, + "end": 1812, "loc": { "start": { - "line": 73, + "line": 71, "column": 9 }, "end": { - "line": 73, + "line": 71, "column": 21 }, "identifierName": "private_next" @@ -2543,15 +2375,15 @@ }, "right": { "type": "Identifier", - "start": 1853, - "end": 1862, + "start": 1815, + "end": 1824, "loc": { "start": { - "line": 73, + "line": 71, "column": 24 }, "end": { - "line": 73, + "line": 71, "column": 33 }, "identifierName": "undefined" @@ -2564,15 +2396,15 @@ { "type": "CommentBlock", "value": "*\n * Lazy loaded instance of the next Haab date in the cycle\n * @type {Haab}\n ", - "start": 1734, - "end": 1828, + "start": 1696, + "end": 1790, "loc": { "start": { - "line": 69, + "line": 67, "column": 4 }, "end": { - "line": 72, + "line": 70, "column": 7 } } @@ -2581,72 +2413,72 @@ }, { "type": "ExpressionStatement", - "start": 1869, - "end": 1885, + "start": 1831, + "end": 1847, "loc": { "start": { - "line": 75, + "line": 73, "column": 4 }, "end": { - "line": 75, + "line": 73, "column": 20 } }, "expression": { "type": "CallExpression", - "start": 1869, - "end": 1884, + "start": 1831, + "end": 1846, "loc": { "start": { - "line": 75, + "line": 73, "column": 4 }, "end": { - "line": 75, + "line": 73, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 1869, - "end": 1882, + "start": 1831, + "end": 1844, "loc": { "start": { - "line": 75, + "line": 73, "column": 4 }, "end": { - "line": 75, + "line": 73, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 1869, - "end": 1873, + "start": 1831, + "end": 1835, "loc": { "start": { - "line": 75, + "line": 73, "column": 4 }, "end": { - "line": 75, + "line": 73, "column": 8 } } }, "property": { "type": "Identifier", - "start": 1874, - "end": 1882, + "start": 1836, + "end": 1844, "loc": { "start": { - "line": 75, + "line": 73, "column": 9 }, "end": { - "line": 75, + "line": 73, "column": 17 }, "identifierName": "validate" @@ -2666,15 +2498,15 @@ { "type": "CommentBlock", "value": "*\n * Constructor\n <<<<<<< HEAD\n * @param {number|Wildcard|string} coeff - The position in the Haab month for this fullDate\n =======\n * @param {number|Wildcard|string} coeff - The position in the Haab month for this date\n >>>>>>> Use consistent function naming\n * @param {string|HaabMonth|Wildcard} month\n ", - "start": 828, - "end": 1153, + "start": 790, + "end": 1115, "loc": { "start": { - "line": 35, + "line": 33, "column": 2 }, "end": { - "line": 43, + "line": 41, "column": 5 } } @@ -2684,15 +2516,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Haab's coefficients are within range and the month is defined\n * @return {boolean}\n ", - "start": 1893, - "end": 2003, + "start": 1855, + "end": 1965, "loc": { "start": { - "line": 78, + "line": 76, "column": 2 }, "end": { - "line": 81, + "line": 79, "column": 5 } } @@ -2701,15 +2533,15 @@ }, { "type": "ClassMethod", - "start": 2006, - "end": 2500, + "start": 1968, + "end": 2462, "loc": { "start": { - "line": 82, + "line": 80, "column": 2 }, "end": { - "line": 97, + "line": 95, "column": 3 } }, @@ -2717,15 +2549,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2006, - "end": 2014, + "start": 1968, + "end": 1976, "loc": { "start": { - "line": 82, + "line": 80, "column": 2 }, "end": { - "line": 82, + "line": 80, "column": 10 }, "identifierName": "validate" @@ -2741,101 +2573,101 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2017, - "end": 2500, + "start": 1979, + "end": 2462, "loc": { "start": { - "line": 82, + "line": 80, "column": 13 }, "end": { - "line": 97, + "line": 95, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 2023, - "end": 2149, + "start": 1985, + "end": 2111, "loc": { "start": { - "line": 83, + "line": 81, "column": 4 }, "end": { - "line": 85, + "line": 83, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 2027, - "end": 2060, + "start": 1989, + "end": 2022, "loc": { "start": { - "line": 83, + "line": 81, "column": 8 }, "end": { - "line": 83, + "line": 81, "column": 41 } }, "left": { "type": "BinaryExpression", - "start": 2027, - "end": 2042, + "start": 1989, + "end": 2004, "loc": { "start": { - "line": 83, + "line": 81, "column": 8 }, "end": { - "line": 83, + "line": 81, "column": 23 } }, "left": { "type": "MemberExpression", - "start": 2027, - "end": 2037, + "start": 1989, + "end": 1999, "loc": { "start": { - "line": 83, + "line": 81, "column": 8 }, "end": { - "line": 83, + "line": 81, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 2027, - "end": 2031, + "start": 1989, + "end": 1993, "loc": { "start": { - "line": 83, + "line": 81, "column": 8 }, "end": { - "line": 83, + "line": 81, "column": 12 } } }, "property": { "type": "Identifier", - "start": 2032, - "end": 2037, + "start": 1994, + "end": 1999, "loc": { "start": { - "line": 83, + "line": 81, "column": 13 }, "end": { - "line": 83, + "line": 81, "column": 18 }, "identifierName": "coeff" @@ -2847,15 +2679,15 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 2040, - "end": 2042, + "start": 2002, + "end": 2004, "loc": { "start": { - "line": 83, + "line": 81, "column": 21 }, "end": { - "line": 83, + "line": 81, "column": 23 } }, @@ -2869,58 +2701,58 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 2046, - "end": 2060, + "start": 2008, + "end": 2022, "loc": { "start": { - "line": 83, + "line": 81, "column": 27 }, "end": { - "line": 83, + "line": 81, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 2046, - "end": 2056, + "start": 2008, + "end": 2018, "loc": { "start": { - "line": 83, + "line": 81, "column": 27 }, "end": { - "line": 83, + "line": 81, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 2046, - "end": 2050, + "start": 2008, + "end": 2012, "loc": { "start": { - "line": 83, + "line": 81, "column": 27 }, "end": { - "line": 83, + "line": 81, "column": 31 } } }, "property": { "type": "Identifier", - "start": 2051, - "end": 2056, + "start": 2013, + "end": 2018, "loc": { "start": { - "line": 83, + "line": 81, "column": 32 }, "end": { - "line": 83, + "line": 81, "column": 37 }, "identifierName": "coeff" @@ -2932,15 +2764,15 @@ "operator": "<", "right": { "type": "NumericLiteral", - "start": 2059, - "end": 2060, + "start": 2021, + "end": 2022, "loc": { "start": { - "line": 83, + "line": 81, "column": 40 }, "end": { - "line": 83, + "line": 81, "column": 41 } }, @@ -2954,58 +2786,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 2062, - "end": 2149, + "start": 2024, + "end": 2111, "loc": { "start": { - "line": 83, + "line": 81, "column": 43 }, "end": { - "line": 85, + "line": 83, "column": 5 } }, "body": [ { "type": "ThrowStatement", - "start": 2070, - "end": 2143, + "start": 2032, + "end": 2105, "loc": { "start": { - "line": 84, + "line": 82, "column": 6 }, "end": { - "line": 84, + "line": 82, "column": 79 } }, "argument": { "type": "NewExpression", - "start": 2076, - "end": 2142, + "start": 2038, + "end": 2104, "loc": { "start": { - "line": 84, + "line": 82, "column": 12 }, "end": { - "line": 84, + "line": 82, "column": 78 } }, "callee": { "type": "Identifier", - "start": 2080, - "end": 2085, + "start": 2042, + "end": 2047, "loc": { "start": { - "line": 84, + "line": 82, "column": 16 }, "end": { - "line": 84, + "line": 82, "column": 21 }, "identifierName": "Error" @@ -3015,15 +2847,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 2086, - "end": 2141, + "start": 2048, + "end": 2103, "loc": { "start": { - "line": 84, + "line": 82, "column": 22 }, "end": { - "line": 84, + "line": 82, "column": 77 } }, @@ -3043,86 +2875,86 @@ }, { "type": "IfStatement", - "start": 2154, - "end": 2310, + "start": 2116, + "end": 2272, "loc": { "start": { - "line": 86, + "line": 84, "column": 4 }, "end": { - "line": 88, + "line": 86, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 2158, - "end": 2212, + "start": 2120, + "end": 2174, "loc": { "start": { - "line": 86, + "line": 84, "column": 8 }, "end": { - "line": 86, + "line": 84, "column": 62 } }, "left": { "type": "BinaryExpression", - "start": 2158, - "end": 2194, + "start": 2120, + "end": 2156, "loc": { "start": { - "line": 86, + "line": 84, "column": 8 }, "end": { - "line": 86, + "line": 84, "column": 44 } }, "left": { "type": "MemberExpression", - "start": 2158, - "end": 2168, + "start": 2120, + "end": 2130, "loc": { "start": { - "line": 86, + "line": 84, "column": 8 }, "end": { - "line": 86, + "line": 84, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 2158, - "end": 2162, + "start": 2120, + "end": 2124, "loc": { "start": { - "line": 86, + "line": 84, "column": 8 }, "end": { - "line": 86, + "line": 84, "column": 12 } } }, "property": { "type": "Identifier", - "start": 2163, - "end": 2168, + "start": 2125, + "end": 2130, "loc": { "start": { - "line": 86, + "line": 84, "column": 13 }, "end": { - "line": 86, + "line": 84, "column": 18 }, "identifierName": "month" @@ -3134,29 +2966,29 @@ "operator": "===", "right": { "type": "CallExpression", - "start": 2173, - "end": 2194, + "start": 2135, + "end": 2156, "loc": { "start": { - "line": 86, + "line": 84, "column": 23 }, "end": { - "line": 86, + "line": 84, "column": 44 } }, "callee": { "type": "Identifier", - "start": 2173, - "end": 2185, + "start": 2135, + "end": 2147, "loc": { "start": { - "line": 86, + "line": 84, "column": 23 }, "end": { - "line": 86, + "line": 84, "column": 35 }, "identifierName": "getHaabMonth" @@ -3166,15 +2998,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 2186, - "end": 2193, + "start": 2148, + "end": 2155, "loc": { "start": { - "line": 86, + "line": 84, "column": 36 }, "end": { - "line": 86, + "line": 84, "column": 43 } }, @@ -3190,58 +3022,58 @@ "operator": "&&", "right": { "type": "BinaryExpression", - "start": 2198, - "end": 2212, + "start": 2160, + "end": 2174, "loc": { "start": { - "line": 86, + "line": 84, "column": 48 }, "end": { - "line": 86, + "line": 84, "column": 62 } }, "left": { "type": "MemberExpression", - "start": 2198, - "end": 2208, + "start": 2160, + "end": 2170, "loc": { "start": { - "line": 86, + "line": 84, "column": 48 }, "end": { - "line": 86, + "line": 84, "column": 58 } }, "object": { "type": "ThisExpression", - "start": 2198, - "end": 2202, + "start": 2160, + "end": 2164, "loc": { "start": { - "line": 86, + "line": 84, "column": 48 }, "end": { - "line": 86, + "line": 84, "column": 52 } } }, "property": { "type": "Identifier", - "start": 2203, - "end": 2208, + "start": 2165, + "end": 2170, "loc": { "start": { - "line": 86, + "line": 84, "column": 53 }, "end": { - "line": 86, + "line": 84, "column": 58 }, "identifierName": "coeff" @@ -3253,15 +3085,15 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 2211, - "end": 2212, + "start": 2173, + "end": 2174, "loc": { "start": { - "line": 86, + "line": 84, "column": 61 }, "end": { - "line": 86, + "line": 84, "column": 62 } }, @@ -3275,58 +3107,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 2214, - "end": 2310, + "start": 2176, + "end": 2272, "loc": { "start": { - "line": 86, + "line": 84, "column": 64 }, "end": { - "line": 88, + "line": 86, "column": 5 } }, "body": [ { "type": "ThrowStatement", - "start": 2222, - "end": 2304, + "start": 2184, + "end": 2266, "loc": { "start": { - "line": 87, + "line": 85, "column": 6 }, "end": { - "line": 87, + "line": 85, "column": 88 } }, "argument": { "type": "NewExpression", - "start": 2228, - "end": 2303, + "start": 2190, + "end": 2265, "loc": { "start": { - "line": 87, + "line": 85, "column": 12 }, "end": { - "line": 87, + "line": 85, "column": 87 } }, "callee": { "type": "Identifier", - "start": 2232, - "end": 2237, + "start": 2194, + "end": 2199, "loc": { "start": { - "line": 87, + "line": 85, "column": 16 }, "end": { - "line": 87, + "line": 85, "column": 21 }, "identifierName": "Error" @@ -3336,15 +3168,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 2238, - "end": 2302, + "start": 2200, + "end": 2264, "loc": { "start": { - "line": 87, + "line": 85, "column": 22 }, "end": { - "line": 87, + "line": 85, "column": 86 } }, @@ -3364,72 +3196,72 @@ }, { "type": "IfStatement", - "start": 2315, - "end": 2408, + "start": 2277, + "end": 2370, "loc": { "start": { - "line": 89, + "line": 87, "column": 4 }, "end": { - "line": 91, + "line": 89, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 2319, - "end": 2343, + "start": 2281, + "end": 2305, "loc": { "start": { - "line": 89, + "line": 87, "column": 8 }, "end": { - "line": 89, + "line": 87, "column": 32 } }, "left": { "type": "MemberExpression", - "start": 2319, - "end": 2329, + "start": 2281, + "end": 2291, "loc": { "start": { - "line": 89, + "line": 87, "column": 8 }, "end": { - "line": 89, + "line": 87, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 2319, - "end": 2323, + "start": 2281, + "end": 2285, "loc": { "start": { - "line": 89, + "line": 87, "column": 8 }, "end": { - "line": 89, + "line": 87, "column": 12 } } }, "property": { "type": "Identifier", - "start": 2324, - "end": 2329, + "start": 2286, + "end": 2291, "loc": { "start": { - "line": 89, + "line": 87, "column": 13 }, "end": { - "line": 89, + "line": 87, "column": 18 }, "identifierName": "month" @@ -3441,15 +3273,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 2334, - "end": 2343, + "start": 2296, + "end": 2305, "loc": { "start": { - "line": 89, + "line": 87, "column": 23 }, "end": { - "line": 89, + "line": 87, "column": 32 }, "identifierName": "undefined" @@ -3459,58 +3291,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 2345, - "end": 2408, + "start": 2307, + "end": 2370, "loc": { "start": { - "line": 89, + "line": 87, "column": 34 }, "end": { - "line": 91, + "line": 89, "column": 5 } }, "body": [ { "type": "ThrowStatement", - "start": 2353, - "end": 2402, + "start": 2315, + "end": 2364, "loc": { "start": { - "line": 90, + "line": 88, "column": 6 }, "end": { - "line": 90, + "line": 88, "column": 55 } }, "argument": { "type": "NewExpression", - "start": 2359, - "end": 2401, + "start": 2321, + "end": 2363, "loc": { "start": { - "line": 90, + "line": 88, "column": 12 }, "end": { - "line": 90, + "line": 88, "column": 54 } }, "callee": { "type": "Identifier", - "start": 2363, - "end": 2368, + "start": 2325, + "end": 2330, "loc": { "start": { - "line": 90, + "line": 88, "column": 16 }, "end": { - "line": 90, + "line": 88, "column": 21 }, "identifierName": "Error" @@ -3520,15 +3352,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 2369, - "end": 2400, + "start": 2331, + "end": 2362, "loc": { "start": { - "line": 90, + "line": 88, "column": 22 }, "end": { - "line": 90, + "line": 88, "column": 53 } }, @@ -3548,72 +3380,72 @@ }, { "type": "IfStatement", - "start": 2413, - "end": 2478, + "start": 2375, + "end": 2440, "loc": { "start": { - "line": 92, + "line": 90, "column": 4 }, "end": { - "line": 94, + "line": 92, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 2417, - "end": 2440, + "start": 2379, + "end": 2402, "loc": { "start": { - "line": 92, + "line": 90, "column": 8 }, "end": { - "line": 92, + "line": 90, "column": 31 } }, "left": { "type": "MemberExpression", - "start": 2417, - "end": 2427, + "start": 2379, + "end": 2389, "loc": { "start": { - "line": 92, + "line": 90, "column": 8 }, "end": { - "line": 92, + "line": 90, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 2417, - "end": 2421, + "start": 2379, + "end": 2383, "loc": { "start": { - "line": 92, + "line": 90, "column": 8 }, "end": { - "line": 92, + "line": 90, "column": 12 } } }, "property": { "type": "Identifier", - "start": 2422, - "end": 2427, + "start": 2384, + "end": 2389, "loc": { "start": { - "line": 92, + "line": 90, "column": 13 }, "end": { - "line": 92, + "line": 90, "column": 18 }, "identifierName": "month" @@ -3625,15 +3457,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 2432, - "end": 2440, + "start": 2394, + "end": 2402, "loc": { "start": { - "line": 92, + "line": 90, "column": 23 }, "end": { - "line": 92, + "line": 90, "column": 31 }, "identifierName": "wildcard" @@ -3643,101 +3475,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 2442, - "end": 2478, + "start": 2404, + "end": 2440, "loc": { "start": { - "line": 92, + "line": 90, "column": 33 }, "end": { - "line": 94, + "line": 92, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 2450, - "end": 2472, + "start": 2412, + "end": 2434, "loc": { "start": { - "line": 93, + "line": 91, "column": 6 }, "end": { - "line": 93, + "line": 91, "column": 28 } }, "expression": { "type": "CallExpression", - "start": 2450, - "end": 2471, + "start": 2412, + "end": 2433, "loc": { "start": { - "line": 93, + "line": 91, "column": 6 }, "end": { - "line": 93, + "line": 91, "column": 27 } }, "callee": { "type": "MemberExpression", - "start": 2450, - "end": 2469, + "start": 2412, + "end": 2431, "loc": { "start": { - "line": 93, + "line": 91, "column": 6 }, "end": { - "line": 93, + "line": 91, "column": 25 } }, "object": { "type": "MemberExpression", - "start": 2450, - "end": 2460, + "start": 2412, + "end": 2422, "loc": { "start": { - "line": 93, + "line": 91, "column": 6 }, "end": { - "line": 93, + "line": 91, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 2450, - "end": 2454, + "start": 2412, + "end": 2416, "loc": { "start": { - "line": 93, + "line": 91, "column": 6 }, "end": { - "line": 93, + "line": 91, "column": 10 } } }, "property": { "type": "Identifier", - "start": 2455, - "end": 2460, + "start": 2417, + "end": 2422, "loc": { "start": { - "line": 93, + "line": 91, "column": 11 }, "end": { - "line": 93, + "line": 91, "column": 16 }, "identifierName": "month" @@ -3748,15 +3580,15 @@ }, "property": { "type": "Identifier", - "start": 2461, - "end": 2469, + "start": 2423, + "end": 2431, "loc": { "start": { - "line": 93, + "line": 91, "column": 17 }, "end": { - "line": 93, + "line": 91, "column": 25 }, "identifierName": "validate" @@ -3775,29 +3607,29 @@ }, { "type": "ReturnStatement", - "start": 2484, - "end": 2496, + "start": 2446, + "end": 2458, "loc": { "start": { - "line": 96, + "line": 94, "column": 4 }, "end": { - "line": 96, + "line": 94, "column": 16 } }, "argument": { "type": "BooleanLiteral", - "start": 2491, - "end": 2495, + "start": 2453, + "end": 2457, "loc": { "start": { - "line": 96, + "line": 94, "column": 11 }, "end": { - "line": 96, + "line": 94, "column": 15 } }, @@ -3812,15 +3644,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Haab's coefficients are within range and the month is defined\n * @return {boolean}\n ", - "start": 1893, - "end": 2003, + "start": 1855, + "end": 1965, "loc": { "start": { - "line": 78, + "line": 76, "column": 2 }, "end": { - "line": 81, + "line": 79, "column": 5 } } @@ -3830,15 +3662,15 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the Haab cycle\n * @returns {Haab}\n ", - "start": 2504, - "end": 2577, + "start": 2466, + "end": 2539, "loc": { "start": { - "line": 99, + "line": 97, "column": 2 }, "end": { - "line": 102, + "line": 100, "column": 5 } } @@ -3847,15 +3679,15 @@ }, { "type": "ClassMethod", - "start": 2580, - "end": 2618, + "start": 2542, + "end": 2580, "loc": { "start": { - "line": 103, + "line": 101, "column": 2 }, "end": { - "line": 105, + "line": 103, "column": 3 } }, @@ -3863,15 +3695,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2580, - "end": 2584, + "start": 2542, + "end": 2546, "loc": { "start": { - "line": 103, + "line": 101, "column": 2 }, "end": { - "line": 103, + "line": 101, "column": 6 }, "identifierName": "next" @@ -3887,87 +3719,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2587, - "end": 2618, + "start": 2549, + "end": 2580, "loc": { "start": { - "line": 103, + "line": 101, "column": 9 }, "end": { - "line": 105, + "line": 103, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 2593, - "end": 2614, + "start": 2555, + "end": 2576, "loc": { "start": { - "line": 104, + "line": 102, "column": 4 }, "end": { - "line": 104, + "line": 102, "column": 25 } }, "argument": { "type": "CallExpression", - "start": 2600, - "end": 2613, + "start": 2562, + "end": 2575, "loc": { "start": { - "line": 104, + "line": 102, "column": 11 }, "end": { - "line": 104, + "line": 102, "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 2600, - "end": 2610, + "start": 2562, + "end": 2572, "loc": { "start": { - "line": 104, + "line": 102, "column": 11 }, "end": { - "line": 104, + "line": 102, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 2600, - "end": 2604, + "start": 2562, + "end": 2566, "loc": { "start": { - "line": 104, + "line": 102, "column": 11 }, "end": { - "line": 104, + "line": 102, "column": 15 } } }, "property": { "type": "Identifier", - "start": 2605, - "end": 2610, + "start": 2567, + "end": 2572, "loc": { "start": { - "line": 104, + "line": 102, "column": 16 }, "end": { - "line": 104, + "line": 102, "column": 21 }, "identifierName": "shift" @@ -3979,15 +3811,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2611, - "end": 2612, + "start": 2573, + "end": 2574, "loc": { "start": { - "line": 104, + "line": 102, "column": 22 }, "end": { - "line": 104, + "line": 102, "column": 23 } }, @@ -4008,15 +3840,15 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the Haab cycle\n * @returns {Haab}\n ", - "start": 2504, - "end": 2577, + "start": 2466, + "end": 2539, "loc": { "start": { - "line": 99, + "line": 97, "column": 2 }, "end": { - "line": 102, + "line": 100, "column": 5 } } @@ -4026,15 +3858,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Haab object has the same configuration as another Haab object.\n * Does not take wildcards into account.\n * @param {Haab} newHaab\n * @return {boolean}\n ", - "start": 2622, - "end": 2804, + "start": 2584, + "end": 2766, "loc": { "start": { - "line": 107, + "line": 105, "column": 2 }, "end": { - "line": 112, + "line": 110, "column": 5 } } @@ -4043,15 +3875,15 @@ }, { "type": "ClassMethod", - "start": 2807, - "end": 2856, + "start": 2769, + "end": 2818, "loc": { "start": { - "line": 113, + "line": 111, "column": 2 }, "end": { - "line": 115, + "line": 113, "column": 3 } }, @@ -4059,15 +3891,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2807, - "end": 2812, + "start": 2769, + "end": 2774, "loc": { "start": { - "line": 113, + "line": 111, "column": 2 }, "end": { - "line": 113, + "line": 111, "column": 7 }, "identifierName": "equal" @@ -4083,15 +3915,15 @@ "params": [ { "type": "Identifier", - "start": 2813, - "end": 2820, + "start": 2775, + "end": 2782, "loc": { "start": { - "line": 113, + "line": 111, "column": 8 }, "end": { - "line": 113, + "line": 111, "column": 15 }, "identifierName": "newHaab" @@ -4101,58 +3933,58 @@ ], "body": { "type": "BlockStatement", - "start": 2822, - "end": 2856, + "start": 2784, + "end": 2818, "loc": { "start": { - "line": 113, + "line": 111, "column": 17 }, "end": { - "line": 115, + "line": 113, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 2828, - "end": 2852, + "start": 2790, + "end": 2814, "loc": { "start": { - "line": 114, + "line": 112, "column": 4 }, "end": { - "line": 114, + "line": 112, "column": 28 } }, "argument": { "type": "BinaryExpression", - "start": 2835, - "end": 2851, + "start": 2797, + "end": 2813, "loc": { "start": { - "line": 114, + "line": 112, "column": 11 }, "end": { - "line": 114, + "line": 112, "column": 27 } }, "left": { "type": "ThisExpression", - "start": 2835, - "end": 2839, + "start": 2797, + "end": 2801, "loc": { "start": { - "line": 114, + "line": 112, "column": 11 }, "end": { - "line": 114, + "line": 112, "column": 15 } } @@ -4160,15 +3992,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 2844, - "end": 2851, + "start": 2806, + "end": 2813, "loc": { "start": { - "line": 114, + "line": 112, "column": 20 }, "end": { - "line": 114, + "line": 112, "column": 27 }, "identifierName": "newHaab" @@ -4185,15 +4017,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Haab object has the same configuration as another Haab object.\n * Does not take wildcards into account.\n * @param {Haab} newHaab\n * @return {boolean}\n ", - "start": 2622, - "end": 2804, + "start": 2584, + "end": 2766, "loc": { "start": { - "line": 107, + "line": 105, "column": 2 }, "end": { - "line": 112, + "line": 110, "column": 5 } } @@ -4203,15 +4035,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Haab object has a matching configuration as another Haab object.\n * Takes wildcards into account.\n * @param {Haab} newHaab\n * @return {boolean}\n ", - "start": 2860, - "end": 3036, + "start": 2822, + "end": 2998, "loc": { "start": { - "line": 117, + "line": 115, "column": 2 }, "end": { - "line": 122, + "line": 120, "column": 5 } } @@ -4220,15 +4052,15 @@ }, { "type": "ClassMethod", - "start": 3039, - "end": 3324, + "start": 3001, + "end": 3286, "loc": { "start": { - "line": 123, + "line": 121, "column": 2 }, "end": { - "line": 133, + "line": 131, "column": 3 } }, @@ -4236,15 +4068,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3039, - "end": 3044, + "start": 3001, + "end": 3006, "loc": { "start": { - "line": 123, + "line": 121, "column": 2 }, "end": { - "line": 123, + "line": 121, "column": 7 }, "identifierName": "match" @@ -4260,15 +4092,15 @@ "params": [ { "type": "Identifier", - "start": 3045, - "end": 3052, + "start": 3007, + "end": 3014, "loc": { "start": { - "line": 123, + "line": 121, "column": 8 }, "end": { - "line": 123, + "line": 121, "column": 15 }, "identifierName": "newHaab" @@ -4278,129 +4110,129 @@ ], "body": { "type": "BlockStatement", - "start": 3054, - "end": 3324, + "start": 3016, + "end": 3286, "loc": { "start": { - "line": 123, + "line": 121, "column": 17 }, "end": { - "line": 133, + "line": 131, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 3060, - "end": 3320, + "start": 3022, + "end": 3282, "loc": { "start": { - "line": 124, + "line": 122, "column": 4 }, "end": { - "line": 132, + "line": 130, "column": 6 } }, "argument": { "type": "LogicalExpression", - "start": 3067, - "end": 3319, + "start": 3029, + "end": 3281, "loc": { "start": { - "line": 124, + "line": 122, "column": 11 }, "end": { - "line": 132, + "line": 130, "column": 5 } }, "left": { "type": "ConditionalExpression", - "start": 3075, - "end": 3186, + "start": 3037, + "end": 3148, "loc": { "start": { - "line": 125, + "line": 123, "column": 6 }, "end": { - "line": 127, + "line": 125, "column": 40 } }, "test": { "type": "LogicalExpression", - "start": 3076, - "end": 3129, + "start": 3038, + "end": 3091, "loc": { "start": { - "line": 125, + "line": 123, "column": 7 }, "end": { - "line": 125, + "line": 123, "column": 60 } }, "left": { "type": "BinaryExpression", - "start": 3076, - "end": 3099, + "start": 3038, + "end": 3061, "loc": { "start": { - "line": 125, + "line": 123, "column": 7 }, "end": { - "line": 125, + "line": 123, "column": 30 } }, "left": { "type": "MemberExpression", - "start": 3076, - "end": 3086, + "start": 3038, + "end": 3048, "loc": { "start": { - "line": 125, + "line": 123, "column": 7 }, "end": { - "line": 125, + "line": 123, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 3076, - "end": 3080, + "start": 3038, + "end": 3042, "loc": { "start": { - "line": 125, + "line": 123, "column": 7 }, "end": { - "line": 125, + "line": 123, "column": 11 } } }, "property": { "type": "Identifier", - "start": 3081, - "end": 3086, + "start": 3043, + "end": 3048, "loc": { "start": { - "line": 125, + "line": 123, "column": 12 }, "end": { - "line": 125, + "line": 123, "column": 17 }, "identifierName": "coeff" @@ -4412,15 +4244,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 3091, - "end": 3099, + "start": 3053, + "end": 3061, "loc": { "start": { - "line": 125, + "line": 123, "column": 22 }, "end": { - "line": 125, + "line": 123, "column": 30 }, "identifierName": "wildcard" @@ -4431,43 +4263,43 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 3103, - "end": 3129, + "start": 3065, + "end": 3091, "loc": { "start": { - "line": 125, + "line": 123, "column": 34 }, "end": { - "line": 125, + "line": 123, "column": 60 } }, "left": { "type": "MemberExpression", - "start": 3103, - "end": 3116, + "start": 3065, + "end": 3078, "loc": { "start": { - "line": 125, + "line": 123, "column": 34 }, "end": { - "line": 125, + "line": 123, "column": 47 } }, "object": { "type": "Identifier", - "start": 3103, - "end": 3110, + "start": 3065, + "end": 3072, "loc": { "start": { - "line": 125, + "line": 123, "column": 34 }, "end": { - "line": 125, + "line": 123, "column": 41 }, "identifierName": "newHaab" @@ -4476,15 +4308,15 @@ }, "property": { "type": "Identifier", - "start": 3111, - "end": 3116, + "start": 3073, + "end": 3078, "loc": { "start": { - "line": 125, + "line": 123, "column": 42 }, "end": { - "line": 125, + "line": 123, "column": 47 }, "identifierName": "coeff" @@ -4496,15 +4328,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 3121, - "end": 3129, + "start": 3083, + "end": 3091, "loc": { "start": { - "line": 125, + "line": 123, "column": 52 }, "end": { - "line": 125, + "line": 123, "column": 60 }, "identifierName": "wildcard" @@ -4514,20 +4346,20 @@ }, "extra": { "parenthesized": true, - "parenStart": 3075 + "parenStart": 3037 } }, "consequent": { "type": "BooleanLiteral", - "start": 3141, - "end": 3145, + "start": 3103, + "end": 3107, "loc": { "start": { - "line": 126, + "line": 124, "column": 10 }, "end": { - "line": 126, + "line": 124, "column": 14 } }, @@ -4535,58 +4367,58 @@ }, "alternate": { "type": "BinaryExpression", - "start": 3157, - "end": 3185, + "start": 3119, + "end": 3147, "loc": { "start": { - "line": 127, + "line": 125, "column": 11 }, "end": { - "line": 127, + "line": 125, "column": 39 } }, "left": { "type": "MemberExpression", - "start": 3157, - "end": 3167, + "start": 3119, + "end": 3129, "loc": { "start": { - "line": 127, + "line": 125, "column": 11 }, "end": { - "line": 127, + "line": 125, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 3157, - "end": 3161, + "start": 3119, + "end": 3123, "loc": { "start": { - "line": 127, + "line": 125, "column": 11 }, "end": { - "line": 127, + "line": 125, "column": 15 } } }, "property": { "type": "Identifier", - "start": 3162, - "end": 3167, + "start": 3124, + "end": 3129, "loc": { "start": { - "line": 127, + "line": 125, "column": 16 }, "end": { - "line": 127, + "line": 125, "column": 21 }, "identifierName": "coeff" @@ -4598,29 +4430,29 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 3172, - "end": 3185, + "start": 3134, + "end": 3147, "loc": { "start": { - "line": 127, + "line": 125, "column": 26 }, "end": { - "line": 127, + "line": 125, "column": 39 } }, "object": { "type": "Identifier", - "start": 3172, - "end": 3179, + "start": 3134, + "end": 3141, "loc": { "start": { - "line": 127, + "line": 125, "column": 26 }, "end": { - "line": 127, + "line": 125, "column": 33 }, "identifierName": "newHaab" @@ -4629,15 +4461,15 @@ }, "property": { "type": "Identifier", - "start": 3180, - "end": 3185, + "start": 3142, + "end": 3147, "loc": { "start": { - "line": 127, + "line": 125, "column": 34 }, "end": { - "line": 127, + "line": 125, "column": 39 }, "identifierName": "coeff" @@ -4648,97 +4480,97 @@ }, "extra": { "parenthesized": true, - "parenStart": 3156 + "parenStart": 3118 } }, "extra": { "parenthesized": true, - "parenStart": 3067 + "parenStart": 3029 } }, "operator": "&&", "right": { "type": "ConditionalExpression", - "start": 3204, - "end": 3313, + "start": 3166, + "end": 3275, "loc": { "start": { - "line": 129, + "line": 127, "column": 6 }, "end": { - "line": 131, + "line": 129, "column": 38 } }, "test": { "type": "LogicalExpression", - "start": 3205, - "end": 3258, + "start": 3167, + "end": 3220, "loc": { "start": { - "line": 129, + "line": 127, "column": 7 }, "end": { - "line": 129, + "line": 127, "column": 60 } }, "left": { "type": "BinaryExpression", - "start": 3205, - "end": 3228, + "start": 3167, + "end": 3190, "loc": { "start": { - "line": 129, + "line": 127, "column": 7 }, "end": { - "line": 129, + "line": 127, "column": 30 } }, "left": { "type": "MemberExpression", - "start": 3205, - "end": 3215, + "start": 3167, + "end": 3177, "loc": { "start": { - "line": 129, + "line": 127, "column": 7 }, "end": { - "line": 129, + "line": 127, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 3205, - "end": 3209, + "start": 3167, + "end": 3171, "loc": { "start": { - "line": 129, + "line": 127, "column": 7 }, "end": { - "line": 129, + "line": 127, "column": 11 } } }, "property": { "type": "Identifier", - "start": 3210, - "end": 3215, + "start": 3172, + "end": 3177, "loc": { "start": { - "line": 129, + "line": 127, "column": 12 }, "end": { - "line": 129, + "line": 127, "column": 17 }, "identifierName": "month" @@ -4750,15 +4582,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 3220, - "end": 3228, + "start": 3182, + "end": 3190, "loc": { "start": { - "line": 129, + "line": 127, "column": 22 }, "end": { - "line": 129, + "line": 127, "column": 30 }, "identifierName": "wildcard" @@ -4769,43 +4601,43 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 3232, - "end": 3258, + "start": 3194, + "end": 3220, "loc": { "start": { - "line": 129, + "line": 127, "column": 34 }, "end": { - "line": 129, + "line": 127, "column": 60 } }, "left": { "type": "MemberExpression", - "start": 3232, - "end": 3245, + "start": 3194, + "end": 3207, "loc": { "start": { - "line": 129, + "line": 127, "column": 34 }, "end": { - "line": 129, + "line": 127, "column": 47 } }, "object": { "type": "Identifier", - "start": 3232, - "end": 3239, + "start": 3194, + "end": 3201, "loc": { "start": { - "line": 129, + "line": 127, "column": 34 }, "end": { - "line": 129, + "line": 127, "column": 41 }, "identifierName": "newHaab" @@ -4814,15 +4646,15 @@ }, "property": { "type": "Identifier", - "start": 3240, - "end": 3245, + "start": 3202, + "end": 3207, "loc": { "start": { - "line": 129, + "line": 127, "column": 42 }, "end": { - "line": 129, + "line": 127, "column": 47 }, "identifierName": "month" @@ -4834,15 +4666,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 3250, - "end": 3258, + "start": 3212, + "end": 3220, "loc": { "start": { - "line": 129, + "line": 127, "column": 52 }, "end": { - "line": 129, + "line": 127, "column": 60 }, "identifierName": "wildcard" @@ -4852,20 +4684,20 @@ }, "extra": { "parenthesized": true, - "parenStart": 3204 + "parenStart": 3166 } }, "consequent": { "type": "BooleanLiteral", - "start": 3270, - "end": 3274, + "start": 3232, + "end": 3236, "loc": { "start": { - "line": 130, + "line": 128, "column": 10 }, "end": { - "line": 130, + "line": 128, "column": 14 } }, @@ -4873,58 +4705,58 @@ }, "alternate": { "type": "BinaryExpression", - "start": 3286, - "end": 3312, + "start": 3248, + "end": 3274, "loc": { "start": { - "line": 131, + "line": 129, "column": 11 }, "end": { - "line": 131, + "line": 129, "column": 37 } }, "left": { "type": "MemberExpression", - "start": 3286, - "end": 3295, + "start": 3248, + "end": 3257, "loc": { "start": { - "line": 131, + "line": 129, "column": 11 }, "end": { - "line": 131, + "line": 129, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 3286, - "end": 3290, + "start": 3248, + "end": 3252, "loc": { "start": { - "line": 131, + "line": 129, "column": 11 }, "end": { - "line": 131, + "line": 129, "column": 15 } } }, "property": { "type": "Identifier", - "start": 3291, - "end": 3295, + "start": 3253, + "end": 3257, "loc": { "start": { - "line": 131, + "line": 129, "column": 16 }, "end": { - "line": 131, + "line": 129, "column": 20 }, "identifierName": "name" @@ -4936,29 +4768,29 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 3300, - "end": 3312, + "start": 3262, + "end": 3274, "loc": { "start": { - "line": 131, + "line": 129, "column": 25 }, "end": { - "line": 131, + "line": 129, "column": 37 } }, "object": { "type": "Identifier", - "start": 3300, - "end": 3307, + "start": 3262, + "end": 3269, "loc": { "start": { - "line": 131, + "line": 129, "column": 25 }, "end": { - "line": 131, + "line": 129, "column": 32 }, "identifierName": "newHaab" @@ -4967,15 +4799,15 @@ }, "property": { "type": "Identifier", - "start": 3308, - "end": 3312, + "start": 3270, + "end": 3274, "loc": { "start": { - "line": 131, + "line": 129, "column": 33 }, "end": { - "line": 131, + "line": 129, "column": 37 }, "identifierName": "name" @@ -4986,12 +4818,12 @@ }, "extra": { "parenthesized": true, - "parenStart": 3285 + "parenStart": 3247 } }, "extra": { "parenthesized": true, - "parenStart": 3196 + "parenStart": 3158 } } } @@ -5004,15 +4836,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Haab object has a matching configuration as another Haab object.\n * Takes wildcards into account.\n * @param {Haab} newHaab\n * @return {boolean}\n ", - "start": 2860, - "end": 3036, + "start": 2822, + "end": 2998, "loc": { "start": { - "line": 117, + "line": 115, "column": 2 }, "end": { - "line": 122, + "line": 120, "column": 5 } } @@ -5022,15 +4854,15 @@ { "type": "CommentBlock", "value": "*\n * Return a string representation of the Haab month name\n * @returns {string|Wildcard}\n ", - "start": 3328, - "end": 3428, + "start": 3290, + "end": 3390, "loc": { "start": { - "line": 135, + "line": 133, "column": 2 }, "end": { - "line": 138, + "line": 136, "column": 5 } } @@ -5039,15 +4871,15 @@ }, { "type": "ClassMethod", - "start": 3431, - "end": 3541, + "start": 3393, + "end": 3503, "loc": { "start": { - "line": 139, + "line": 137, "column": 2 }, "end": { - "line": 144, + "line": 142, "column": 3 } }, @@ -5055,15 +4887,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3435, - "end": 3439, + "start": 3397, + "end": 3401, "loc": { "start": { - "line": 139, + "line": 137, "column": 6 }, "end": { - "line": 139, + "line": 137, "column": 10 }, "identifierName": "name" @@ -5078,87 +4910,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3442, - "end": 3541, + "start": 3404, + "end": 3503, "loc": { "start": { - "line": 139, + "line": 137, "column": 13 }, "end": { - "line": 144, + "line": 142, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 3448, - "end": 3509, + "start": 3410, + "end": 3471, "loc": { "start": { - "line": 140, + "line": 138, "column": 4 }, "end": { - "line": 142, + "line": 140, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 3452, - "end": 3475, + "start": 3414, + "end": 3437, "loc": { "start": { - "line": 140, + "line": 138, "column": 8 }, "end": { - "line": 140, + "line": 138, "column": 31 } }, "left": { "type": "MemberExpression", - "start": 3452, - "end": 3462, + "start": 3414, + "end": 3424, "loc": { "start": { - "line": 140, + "line": 138, "column": 8 }, "end": { - "line": 140, + "line": 138, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 3452, - "end": 3456, + "start": 3414, + "end": 3418, "loc": { "start": { - "line": 140, + "line": 138, "column": 8 }, "end": { - "line": 140, + "line": 138, "column": 12 } } }, "property": { "type": "Identifier", - "start": 3457, - "end": 3462, + "start": 3419, + "end": 3424, "loc": { "start": { - "line": 140, + "line": 138, "column": 13 }, "end": { - "line": 140, + "line": 138, "column": 18 }, "identifierName": "month" @@ -5170,15 +5002,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 3467, - "end": 3475, + "start": 3429, + "end": 3437, "loc": { "start": { - "line": 140, + "line": 138, "column": 23 }, "end": { - "line": 140, + "line": 138, "column": 31 }, "identifierName": "wildcard" @@ -5188,73 +5020,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 3477, - "end": 3509, + "start": 3439, + "end": 3471, "loc": { "start": { - "line": 140, + "line": 138, "column": 33 }, "end": { - "line": 142, + "line": 140, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 3485, - "end": 3503, + "start": 3447, + "end": 3465, "loc": { "start": { - "line": 141, + "line": 139, "column": 6 }, "end": { - "line": 141, + "line": 139, "column": 24 } }, "argument": { "type": "MemberExpression", - "start": 3492, - "end": 3502, + "start": 3454, + "end": 3464, "loc": { "start": { - "line": 141, + "line": 139, "column": 13 }, "end": { - "line": 141, + "line": 139, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 3492, - "end": 3496, + "start": 3454, + "end": 3458, "loc": { "start": { - "line": 141, + "line": 139, "column": 13 }, "end": { - "line": 141, + "line": 139, "column": 17 } } }, "property": { "type": "Identifier", - "start": 3497, - "end": 3502, + "start": 3459, + "end": 3464, "loc": { "start": { - "line": 141, + "line": 139, "column": 18 }, "end": { - "line": 141, + "line": 139, "column": 23 }, "identifierName": "month" @@ -5271,72 +5103,72 @@ }, { "type": "ReturnStatement", - "start": 3514, - "end": 3537, + "start": 3476, + "end": 3499, "loc": { "start": { - "line": 143, + "line": 141, "column": 4 }, "end": { - "line": 143, + "line": 141, "column": 27 } }, "argument": { "type": "MemberExpression", - "start": 3521, - "end": 3536, + "start": 3483, + "end": 3498, "loc": { "start": { - "line": 143, + "line": 141, "column": 11 }, "end": { - "line": 143, + "line": 141, "column": 26 } }, "object": { "type": "MemberExpression", - "start": 3521, - "end": 3531, + "start": 3483, + "end": 3493, "loc": { "start": { - "line": 143, + "line": 141, "column": 11 }, "end": { - "line": 143, + "line": 141, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 3521, - "end": 3525, + "start": 3483, + "end": 3487, "loc": { "start": { - "line": 143, + "line": 141, "column": 11 }, "end": { - "line": 143, + "line": 141, "column": 15 } } }, "property": { "type": "Identifier", - "start": 3526, - "end": 3531, + "start": 3488, + "end": 3493, "loc": { "start": { - "line": 143, + "line": 141, "column": 16 }, "end": { - "line": 143, + "line": 141, "column": 21 }, "identifierName": "month" @@ -5347,15 +5179,15 @@ }, "property": { "type": "Identifier", - "start": 3532, - "end": 3536, + "start": 3494, + "end": 3498, "loc": { "start": { - "line": 143, + "line": 141, "column": 22 }, "end": { - "line": 143, + "line": 141, "column": 26 }, "identifierName": "name" @@ -5373,15 +5205,15 @@ { "type": "CommentBlock", "value": "*\n * Return a string representation of the Haab month name\n * @returns {string|Wildcard}\n ", - "start": 3328, - "end": 3428, + "start": 3290, + "end": 3390, "loc": { "start": { - "line": 135, + "line": 133, "column": 2 }, "end": { - "line": 138, + "line": 136, "column": 5 } } @@ -5391,15 +5223,15 @@ { "type": "CommentBlock", "value": "*\n * Move this date through the Haab cycle.\n * @param {number} numDays\n * @return {Haab}\n ", - "start": 3545, - "end": 3647, + "start": 3507, + "end": 3609, "loc": { "start": { - "line": 146, + "line": 144, "column": 2 }, "end": { - "line": 150, + "line": 148, "column": 5 } } @@ -5408,15 +5240,15 @@ }, { "type": "ClassMethod", - "start": 3650, - "end": 4162, + "start": 3612, + "end": 4124, "loc": { "start": { - "line": 151, + "line": 149, "column": 2 }, "end": { - "line": 166, + "line": 164, "column": 3 } }, @@ -5424,15 +5256,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3650, - "end": 3655, + "start": 3612, + "end": 3617, "loc": { "start": { - "line": 151, + "line": 149, "column": 2 }, "end": { - "line": 151, + "line": 149, "column": 7 }, "identifierName": "shift" @@ -5448,15 +5280,15 @@ "params": [ { "type": "Identifier", - "start": 3656, - "end": 3663, + "start": 3618, + "end": 3625, "loc": { "start": { - "line": 151, + "line": 149, "column": 8 }, "end": { - "line": 151, + "line": 149, "column": 15 }, "identifierName": "numDays" @@ -5466,59 +5298,59 @@ ], "body": { "type": "BlockStatement", - "start": 3665, - "end": 4162, + "start": 3627, + "end": 4124, "loc": { "start": { - "line": 151, + "line": 149, "column": 17 }, "end": { - "line": 166, + "line": 164, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 3671, - "end": 3705, + "start": 3633, + "end": 3667, "loc": { "start": { - "line": 152, + "line": 150, "column": 4 }, "end": { - "line": 152, + "line": 150, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3677, - "end": 3704, + "start": 3639, + "end": 3666, "loc": { "start": { - "line": 152, + "line": 150, "column": 10 }, "end": { - "line": 152, + "line": 150, "column": 37 } }, "id": { "type": "Identifier", - "start": 3677, - "end": 3688, + "start": 3639, + "end": 3650, "loc": { "start": { - "line": 152, + "line": 150, "column": 10 }, "end": { - "line": 152, + "line": 150, "column": 21 }, "identifierName": "incremental" @@ -5527,29 +5359,29 @@ }, "init": { "type": "BinaryExpression", - "start": 3691, - "end": 3704, + "start": 3653, + "end": 3666, "loc": { "start": { - "line": 152, + "line": 150, "column": 24 }, "end": { - "line": 152, + "line": 150, "column": 37 } }, "left": { "type": "Identifier", - "start": 3691, - "end": 3698, + "start": 3653, + "end": 3660, "loc": { "start": { - "line": 152, + "line": 150, "column": 24 }, "end": { - "line": 152, + "line": 150, "column": 31 }, "identifierName": "numDays" @@ -5559,15 +5391,15 @@ "operator": "%", "right": { "type": "NumericLiteral", - "start": 3701, - "end": 3704, + "start": 3663, + "end": 3666, "loc": { "start": { - "line": 152, + "line": 150, "column": 34 }, "end": { - "line": 152, + "line": 150, "column": 37 } }, @@ -5584,43 +5416,43 @@ }, { "type": "IfStatement", - "start": 3710, - "end": 3759, + "start": 3672, + "end": 3721, "loc": { "start": { - "line": 153, + "line": 151, "column": 4 }, "end": { - "line": 155, + "line": 153, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 3714, - "end": 3731, + "start": 3676, + "end": 3693, "loc": { "start": { - "line": 153, + "line": 151, "column": 8 }, "end": { - "line": 153, + "line": 151, "column": 25 } }, "left": { "type": "Identifier", - "start": 3714, - "end": 3725, + "start": 3676, + "end": 3687, "loc": { "start": { - "line": 153, + "line": 151, "column": 8 }, "end": { - "line": 153, + "line": 151, "column": 19 }, "identifierName": "incremental" @@ -5630,15 +5462,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 3730, - "end": 3731, + "start": 3692, + "end": 3693, "loc": { "start": { - "line": 153, + "line": 151, "column": 24 }, "end": { - "line": 153, + "line": 151, "column": 25 } }, @@ -5651,44 +5483,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 3733, - "end": 3759, + "start": 3695, + "end": 3721, "loc": { "start": { - "line": 153, + "line": 151, "column": 27 }, "end": { - "line": 155, + "line": 153, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 3741, - "end": 3753, + "start": 3703, + "end": 3715, "loc": { "start": { - "line": 154, + "line": 152, "column": 6 }, "end": { - "line": 154, + "line": 152, "column": 18 } }, "argument": { "type": "ThisExpression", - "start": 3748, - "end": 3752, + "start": 3710, + "end": 3714, "loc": { "start": { - "line": 154, + "line": 152, "column": 13 }, "end": { - "line": 154, + "line": 152, "column": 17 } } @@ -5701,72 +5533,72 @@ }, { "type": "IfStatement", - "start": 3764, - "end": 4105, + "start": 3726, + "end": 4067, "loc": { "start": { - "line": 156, + "line": 154, "column": 4 }, "end": { - "line": 164, + "line": 162, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 3768, - "end": 3799, + "start": 3730, + "end": 3761, "loc": { "start": { - "line": 156, + "line": 154, "column": 8 }, "end": { - "line": 156, + "line": 154, "column": 39 } }, "left": { "type": "MemberExpression", - "start": 3768, - "end": 3785, + "start": 3730, + "end": 3747, "loc": { "start": { - "line": 156, + "line": 154, "column": 8 }, "end": { - "line": 156, + "line": 154, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 3768, - "end": 3772, + "start": 3730, + "end": 3734, "loc": { "start": { - "line": 156, + "line": 154, "column": 8 }, "end": { - "line": 156, + "line": 154, "column": 12 } } }, "property": { "type": "Identifier", - "start": 3773, - "end": 3785, + "start": 3735, + "end": 3747, "loc": { "start": { - "line": 156, + "line": 154, "column": 13 }, "end": { - "line": 156, + "line": 154, "column": 25 }, "identifierName": "private_next" @@ -5778,15 +5610,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 3790, - "end": 3799, + "start": 3752, + "end": 3761, "loc": { "start": { - "line": 156, + "line": 154, "column": 30 }, "end": { - "line": 156, + "line": 154, "column": 39 }, "identifierName": "undefined" @@ -5796,59 +5628,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 3801, - "end": 4105, + "start": 3763, + "end": 4067, "loc": { "start": { - "line": 156, + "line": 154, "column": 41 }, "end": { - "line": 164, + "line": 162, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 3809, - "end": 3872, + "start": 3771, + "end": 3834, "loc": { "start": { - "line": 157, + "line": 155, "column": 6 }, "end": { - "line": 157, + "line": 155, "column": 69 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3815, - "end": 3871, + "start": 3777, + "end": 3833, "loc": { "start": { - "line": 157, + "line": 155, "column": 12 }, "end": { - "line": 157, + "line": 155, "column": 68 } }, "id": { "type": "Identifier", - "start": 3815, - "end": 3826, + "start": 3777, + "end": 3788, "loc": { "start": { - "line": 157, + "line": 155, "column": 12 }, "end": { - "line": 157, + "line": 155, "column": 23 }, "identifierName": "monthLength" @@ -5857,72 +5689,72 @@ }, "init": { "type": "ConditionalExpression", - "start": 3829, - "end": 3871, + "start": 3791, + "end": 3833, "loc": { "start": { - "line": 157, + "line": 155, "column": 26 }, "end": { - "line": 157, + "line": 155, "column": 68 } }, "test": { "type": "BinaryExpression", - "start": 3830, - "end": 3861, + "start": 3792, + "end": 3823, "loc": { "start": { - "line": 157, + "line": 155, "column": 27 }, "end": { - "line": 157, + "line": 155, "column": 58 } }, "left": { "type": "MemberExpression", - "start": 3830, - "end": 3840, + "start": 3792, + "end": 3802, "loc": { "start": { - "line": 157, + "line": 155, "column": 27 }, "end": { - "line": 157, + "line": 155, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 3830, - "end": 3834, + "start": 3792, + "end": 3796, "loc": { "start": { - "line": 157, + "line": 155, "column": 27 }, "end": { - "line": 157, + "line": 155, "column": 31 } } }, "property": { "type": "Identifier", - "start": 3835, - "end": 3840, + "start": 3797, + "end": 3802, "loc": { "start": { - "line": 157, + "line": 155, "column": 32 }, "end": { - "line": 157, + "line": 155, "column": 37 }, "identifierName": "month" @@ -5934,29 +5766,29 @@ "operator": "===", "right": { "type": "CallExpression", - "start": 3845, - "end": 3861, + "start": 3807, + "end": 3823, "loc": { "start": { - "line": 157, + "line": 155, "column": 42 }, "end": { - "line": 157, + "line": 155, "column": 58 } }, "callee": { "type": "Identifier", - "start": 3845, - "end": 3857, + "start": 3807, + "end": 3819, "loc": { "start": { - "line": 157, + "line": 155, "column": 42 }, "end": { - "line": 157, + "line": 155, "column": 54 }, "identifierName": "getHaabMonth" @@ -5966,15 +5798,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 3858, - "end": 3860, + "start": 3820, + "end": 3822, "loc": { "start": { - "line": 157, + "line": 155, "column": 55 }, "end": { - "line": 157, + "line": 155, "column": 57 } }, @@ -5988,20 +5820,20 @@ }, "extra": { "parenthesized": true, - "parenStart": 3829 + "parenStart": 3791 } }, "consequent": { "type": "NumericLiteral", - "start": 3865, - "end": 3866, + "start": 3827, + "end": 3828, "loc": { "start": { - "line": 157, + "line": 155, "column": 62 }, "end": { - "line": 157, + "line": 155, "column": 63 } }, @@ -6013,15 +5845,15 @@ }, "alternate": { "type": "NumericLiteral", - "start": 3869, - "end": 3871, + "start": 3831, + "end": 3833, "loc": { "start": { - "line": 157, + "line": 155, "column": 66 }, "end": { - "line": 157, + "line": 155, "column": 68 } }, @@ -6038,57 +5870,57 @@ }, { "type": "IfStatement", - "start": 3879, - "end": 4099, + "start": 3841, + "end": 4061, "loc": { "start": { - "line": 158, + "line": 156, "column": 6 }, "end": { - "line": 163, + "line": 161, "column": 7 } }, "test": { "type": "BinaryExpression", - "start": 3883, - "end": 3912, + "start": 3845, + "end": 3874, "loc": { "start": { - "line": 158, + "line": 156, "column": 10 }, "end": { - "line": 158, + "line": 156, "column": 39 } }, "left": { "type": "BinaryExpression", - "start": 3883, - "end": 3897, + "start": 3845, + "end": 3859, "loc": { "start": { - "line": 158, + "line": 156, "column": 10 }, "end": { - "line": 158, + "line": 156, "column": 24 } }, "left": { "type": "NumericLiteral", - "start": 3883, - "end": 3884, + "start": 3845, + "end": 3846, "loc": { "start": { - "line": 158, + "line": 156, "column": 10 }, "end": { - "line": 158, + "line": 156, "column": 11 } }, @@ -6101,44 +5933,44 @@ "operator": "+", "right": { "type": "MemberExpression", - "start": 3887, - "end": 3897, + "start": 3849, + "end": 3859, "loc": { "start": { - "line": 158, + "line": 156, "column": 14 }, "end": { - "line": 158, + "line": 156, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 3887, - "end": 3891, + "start": 3849, + "end": 3853, "loc": { "start": { - "line": 158, + "line": 156, "column": 14 }, "end": { - "line": 158, + "line": 156, "column": 18 } } }, "property": { "type": "Identifier", - "start": 3892, - "end": 3897, + "start": 3854, + "end": 3859, "loc": { "start": { - "line": 158, + "line": 156, "column": 19 }, "end": { - "line": 158, + "line": 156, "column": 24 }, "identifierName": "coeff" @@ -6151,15 +5983,15 @@ "operator": ">=", "right": { "type": "Identifier", - "start": 3901, - "end": 3912, + "start": 3863, + "end": 3874, "loc": { "start": { - "line": 158, + "line": 156, "column": 28 }, "end": { - "line": 158, + "line": 156, "column": 39 }, "identifierName": "monthLength" @@ -6169,59 +6001,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 3914, - "end": 4019, + "start": 3876, + "end": 3981, "loc": { "start": { - "line": 158, + "line": 156, "column": 41 }, "end": { - "line": 161, + "line": 159, "column": 7 } }, "body": [ { "type": "VariableDeclaration", - "start": 3924, - "end": 3961, + "start": 3886, + "end": 3923, "loc": { "start": { - "line": 159, + "line": 157, "column": 8 }, "end": { - "line": 159, + "line": 157, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3930, - "end": 3960, + "start": 3892, + "end": 3922, "loc": { "start": { - "line": 159, + "line": 157, "column": 14 }, "end": { - "line": 159, + "line": 157, "column": 44 } }, "id": { "type": "Identifier", - "start": 3930, - "end": 3938, + "start": 3892, + "end": 3900, "loc": { "start": { - "line": 159, + "line": 157, "column": 14 }, "end": { - "line": 159, + "line": 157, "column": 22 }, "identifierName": "newMonth" @@ -6230,72 +6062,72 @@ }, "init": { "type": "CallExpression", - "start": 3941, - "end": 3960, + "start": 3903, + "end": 3922, "loc": { "start": { - "line": 159, + "line": 157, "column": 25 }, "end": { - "line": 159, + "line": 157, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 3941, - "end": 3957, + "start": 3903, + "end": 3919, "loc": { "start": { - "line": 159, + "line": 157, "column": 25 }, "end": { - "line": 159, + "line": 157, "column": 41 } }, "object": { "type": "MemberExpression", - "start": 3941, - "end": 3951, + "start": 3903, + "end": 3913, "loc": { "start": { - "line": 159, + "line": 157, "column": 25 }, "end": { - "line": 159, + "line": 157, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 3941, - "end": 3945, + "start": 3903, + "end": 3907, "loc": { "start": { - "line": 159, + "line": 157, "column": 25 }, "end": { - "line": 159, + "line": 157, "column": 29 } } }, "property": { "type": "Identifier", - "start": 3946, - "end": 3951, + "start": 3908, + "end": 3913, "loc": { "start": { - "line": 159, + "line": 157, "column": 30 }, "end": { - "line": 159, + "line": 157, "column": 35 }, "identifierName": "month" @@ -6306,15 +6138,15 @@ }, "property": { "type": "Identifier", - "start": 3952, - "end": 3957, + "start": 3914, + "end": 3919, "loc": { "start": { - "line": 159, + "line": 157, "column": 36 }, "end": { - "line": 159, + "line": 157, "column": 41 }, "identifierName": "shift" @@ -6326,15 +6158,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 3958, - "end": 3959, + "start": 3920, + "end": 3921, "loc": { "start": { - "line": 159, + "line": 157, "column": 42 }, "end": { - "line": 159, + "line": 157, "column": 43 } }, @@ -6352,73 +6184,73 @@ }, { "type": "ExpressionStatement", - "start": 3970, - "end": 4011, + "start": 3932, + "end": 3973, "loc": { "start": { - "line": 160, + "line": 158, "column": 8 }, "end": { - "line": 160, + "line": 158, "column": 49 } }, "expression": { "type": "AssignmentExpression", - "start": 3970, - "end": 4010, + "start": 3932, + "end": 3972, "loc": { "start": { - "line": 160, + "line": 158, "column": 8 }, "end": { - "line": 160, + "line": 158, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 3970, - "end": 3987, + "start": 3932, + "end": 3949, "loc": { "start": { - "line": 160, + "line": 158, "column": 8 }, "end": { - "line": 160, + "line": 158, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 3970, - "end": 3974, + "start": 3932, + "end": 3936, "loc": { "start": { - "line": 160, + "line": 158, "column": 8 }, "end": { - "line": 160, + "line": 158, "column": 12 } } }, "property": { "type": "Identifier", - "start": 3975, - "end": 3987, + "start": 3937, + "end": 3949, "loc": { "start": { - "line": 160, + "line": 158, "column": 13 }, "end": { - "line": 160, + "line": 158, "column": 25 }, "identifierName": "private_next" @@ -6429,29 +6261,29 @@ }, "right": { "type": "CallExpression", - "start": 3990, - "end": 4010, + "start": 3952, + "end": 3972, "loc": { "start": { - "line": 160, + "line": 158, "column": 28 }, "end": { - "line": 160, + "line": 158, "column": 48 } }, "callee": { "type": "Identifier", - "start": 3990, - "end": 3997, + "start": 3952, + "end": 3959, "loc": { "start": { - "line": 160, + "line": 158, "column": 28 }, "end": { - "line": 160, + "line": 158, "column": 35 }, "identifierName": "getHaab" @@ -6461,15 +6293,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 3998, - "end": 3999, + "start": 3960, + "end": 3961, "loc": { "start": { - "line": 160, + "line": 158, "column": 36 }, "end": { - "line": 160, + "line": 158, "column": 37 } }, @@ -6481,15 +6313,15 @@ }, { "type": "Identifier", - "start": 4001, - "end": 4009, + "start": 3963, + "end": 3971, "loc": { "start": { - "line": 160, + "line": 158, "column": 39 }, "end": { - "line": 160, + "line": 158, "column": 47 }, "identifierName": "newMonth" @@ -6505,88 +6337,88 @@ }, "alternate": { "type": "BlockStatement", - "start": 4025, - "end": 4099, + "start": 3987, + "end": 4061, "loc": { "start": { - "line": 161, + "line": 159, "column": 13 }, "end": { - "line": 163, + "line": 161, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 4035, - "end": 4091, + "start": 3997, + "end": 4053, "loc": { "start": { - "line": 162, + "line": 160, "column": 8 }, "end": { - "line": 162, + "line": 160, "column": 64 } }, "expression": { "type": "AssignmentExpression", - "start": 4035, - "end": 4090, + "start": 3997, + "end": 4052, "loc": { "start": { - "line": 162, + "line": 160, "column": 8 }, "end": { - "line": 162, + "line": 160, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4035, - "end": 4052, + "start": 3997, + "end": 4014, "loc": { "start": { - "line": 162, + "line": 160, "column": 8 }, "end": { - "line": 162, + "line": 160, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 4035, - "end": 4039, + "start": 3997, + "end": 4001, "loc": { "start": { - "line": 162, + "line": 160, "column": 8 }, "end": { - "line": 162, + "line": 160, "column": 12 } } }, "property": { "type": "Identifier", - "start": 4040, - "end": 4052, + "start": 4002, + "end": 4014, "loc": { "start": { - "line": 162, + "line": 160, "column": 13 }, "end": { - "line": 162, + "line": 160, "column": 25 }, "identifierName": "private_next" @@ -6597,29 +6429,29 @@ }, "right": { "type": "CallExpression", - "start": 4055, - "end": 4090, + "start": 4017, + "end": 4052, "loc": { "start": { - "line": 162, + "line": 160, "column": 28 }, "end": { - "line": 162, + "line": 160, "column": 63 } }, "callee": { "type": "Identifier", - "start": 4055, - "end": 4062, + "start": 4017, + "end": 4024, "loc": { "start": { - "line": 162, + "line": 160, "column": 28 }, "end": { - "line": 162, + "line": 160, "column": 35 }, "identifierName": "getHaab" @@ -6629,58 +6461,58 @@ "arguments": [ { "type": "BinaryExpression", - "start": 4063, - "end": 4077, + "start": 4025, + "end": 4039, "loc": { "start": { - "line": 162, + "line": 160, "column": 36 }, "end": { - "line": 162, + "line": 160, "column": 50 } }, "left": { "type": "MemberExpression", - "start": 4063, - "end": 4073, + "start": 4025, + "end": 4035, "loc": { "start": { - "line": 162, + "line": 160, "column": 36 }, "end": { - "line": 162, + "line": 160, "column": 46 } }, "object": { "type": "ThisExpression", - "start": 4063, - "end": 4067, + "start": 4025, + "end": 4029, "loc": { "start": { - "line": 162, + "line": 160, "column": 36 }, "end": { - "line": 162, + "line": 160, "column": 40 } } }, "property": { "type": "Identifier", - "start": 4068, - "end": 4073, + "start": 4030, + "end": 4035, "loc": { "start": { - "line": 162, + "line": 160, "column": 41 }, "end": { - "line": 162, + "line": 160, "column": 46 }, "identifierName": "coeff" @@ -6692,15 +6524,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 4076, - "end": 4077, + "start": 4038, + "end": 4039, "loc": { "start": { - "line": 162, + "line": 160, "column": 49 }, "end": { - "line": 162, + "line": 160, "column": 50 } }, @@ -6713,44 +6545,44 @@ }, { "type": "MemberExpression", - "start": 4079, - "end": 4089, + "start": 4041, + "end": 4051, "loc": { "start": { - "line": 162, + "line": 160, "column": 52 }, "end": { - "line": 162, + "line": 160, "column": 62 } }, "object": { "type": "ThisExpression", - "start": 4079, - "end": 4083, + "start": 4041, + "end": 4045, "loc": { "start": { - "line": 162, + "line": 160, "column": 52 }, "end": { - "line": 162, + "line": 160, "column": 56 } } }, "property": { "type": "Identifier", - "start": 4084, - "end": 4089, + "start": 4046, + "end": 4051, "loc": { "start": { - "line": 162, + "line": 160, "column": 57 }, "end": { - "line": 162, + "line": 160, "column": 62 }, "identifierName": "month" @@ -6774,86 +6606,86 @@ }, { "type": "ReturnStatement", - "start": 4110, - "end": 4158, + "start": 4072, + "end": 4120, "loc": { "start": { - "line": 165, + "line": 163, "column": 4 }, "end": { - "line": 165, + "line": 163, "column": 52 } }, "argument": { "type": "CallExpression", - "start": 4117, - "end": 4157, + "start": 4079, + "end": 4119, "loc": { "start": { - "line": 165, + "line": 163, "column": 11 }, "end": { - "line": 165, + "line": 163, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 4117, - "end": 4140, + "start": 4079, + "end": 4102, "loc": { "start": { - "line": 165, + "line": 163, "column": 11 }, "end": { - "line": 165, + "line": 163, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 4117, - "end": 4134, + "start": 4079, + "end": 4096, "loc": { "start": { - "line": 165, + "line": 163, "column": 11 }, "end": { - "line": 165, + "line": 163, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 4117, - "end": 4121, + "start": 4079, + "end": 4083, "loc": { "start": { - "line": 165, + "line": 163, "column": 11 }, "end": { - "line": 165, + "line": 163, "column": 15 } } }, "property": { "type": "Identifier", - "start": 4122, - "end": 4134, + "start": 4084, + "end": 4096, "loc": { "start": { - "line": 165, + "line": 163, "column": 16 }, "end": { - "line": 165, + "line": 163, "column": 28 }, "identifierName": "private_next" @@ -6864,15 +6696,15 @@ }, "property": { "type": "Identifier", - "start": 4135, - "end": 4140, + "start": 4097, + "end": 4102, "loc": { "start": { - "line": 165, + "line": 163, "column": 29 }, "end": { - "line": 165, + "line": 163, "column": 34 }, "identifierName": "shift" @@ -6884,29 +6716,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 4141, - "end": 4156, + "start": 4103, + "end": 4118, "loc": { "start": { - "line": 165, + "line": 163, "column": 35 }, "end": { - "line": 165, + "line": 163, "column": 50 } }, "left": { "type": "Identifier", - "start": 4141, - "end": 4152, + "start": 4103, + "end": 4114, "loc": { "start": { - "line": 165, + "line": 163, "column": 35 }, "end": { - "line": 165, + "line": 163, "column": 46 }, "identifierName": "incremental" @@ -6916,15 +6748,15 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 4155, - "end": 4156, + "start": 4117, + "end": 4118, "loc": { "start": { - "line": 165, + "line": 163, "column": 49 }, "end": { - "line": 165, + "line": 163, "column": 50 } }, @@ -6946,15 +6778,15 @@ { "type": "CommentBlock", "value": "*\n * Move this date through the Haab cycle.\n * @param {number} numDays\n * @return {Haab}\n ", - "start": 3545, - "end": 3647, + "start": 3507, + "end": 3609, "loc": { "start": { - "line": 146, + "line": 144, "column": 2 }, "end": { - "line": 150, + "line": 148, "column": 5 } } @@ -6964,15 +6796,15 @@ { "type": "CommentBlock", "value": "*\n * Render the Haab fullDate as a string\n * @returns {string}\n ", - "start": 4166, - "end": 4240, + "start": 4128, + "end": 4202, "loc": { "start": { - "line": 168, + "line": 166, "column": 2 }, "end": { - "line": 171, + "line": 169, "column": 5 } } @@ -6981,15 +6813,15 @@ }, { "type": "ClassMethod", - "start": 4243, - "end": 4300, + "start": 4205, + "end": 4262, "loc": { "start": { - "line": 172, + "line": 170, "column": 2 }, "end": { - "line": 174, + "line": 172, "column": 3 } }, @@ -6997,15 +6829,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4243, - "end": 4251, + "start": 4205, + "end": 4213, "loc": { "start": { - "line": 172, + "line": 170, "column": 2 }, "end": { - "line": 172, + "line": 170, "column": 10 }, "identifierName": "toString" @@ -7021,88 +6853,88 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4254, - "end": 4300, + "start": 4216, + "end": 4262, "loc": { "start": { - "line": 172, + "line": 170, "column": 13 }, "end": { - "line": 174, + "line": 172, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 4260, - "end": 4296, + "start": 4222, + "end": 4258, "loc": { "start": { - "line": 173, + "line": 171, "column": 4 }, "end": { - "line": 173, + "line": 171, "column": 40 } }, "argument": { "type": "TemplateLiteral", - "start": 4267, - "end": 4295, + "start": 4229, + "end": 4257, "loc": { "start": { - "line": 173, + "line": 171, "column": 11 }, "end": { - "line": 173, + "line": 171, "column": 39 } }, "expressions": [ { "type": "MemberExpression", - "start": 4270, - "end": 4280, + "start": 4232, + "end": 4242, "loc": { "start": { - "line": 173, + "line": 171, "column": 14 }, "end": { - "line": 173, + "line": 171, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 4270, - "end": 4274, + "start": 4232, + "end": 4236, "loc": { "start": { - "line": 173, + "line": 171, "column": 14 }, "end": { - "line": 173, + "line": 171, "column": 18 } } }, "property": { "type": "Identifier", - "start": 4275, - "end": 4280, + "start": 4237, + "end": 4242, "loc": { "start": { - "line": 173, + "line": 171, "column": 19 }, "end": { - "line": 173, + "line": 171, "column": 24 }, "identifierName": "coeff" @@ -7113,44 +6945,44 @@ }, { "type": "MemberExpression", - "start": 4284, - "end": 4293, + "start": 4246, + "end": 4255, "loc": { "start": { - "line": 173, + "line": 171, "column": 28 }, "end": { - "line": 173, + "line": 171, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 4284, - "end": 4288, + "start": 4246, + "end": 4250, "loc": { "start": { - "line": 173, + "line": 171, "column": 28 }, "end": { - "line": 173, + "line": 171, "column": 32 } } }, "property": { "type": "Identifier", - "start": 4289, - "end": 4293, + "start": 4251, + "end": 4255, "loc": { "start": { - "line": 173, + "line": 171, "column": 33 }, "end": { - "line": 173, + "line": 171, "column": 37 }, "identifierName": "name" @@ -7163,15 +6995,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 4268, - "end": 4268, + "start": 4230, + "end": 4230, "loc": { "start": { - "line": 173, + "line": 171, "column": 12 }, "end": { - "line": 173, + "line": 171, "column": 12 } }, @@ -7183,15 +7015,15 @@ }, { "type": "TemplateElement", - "start": 4281, - "end": 4282, + "start": 4243, + "end": 4244, "loc": { "start": { - "line": 173, + "line": 171, "column": 25 }, "end": { - "line": 173, + "line": 171, "column": 26 } }, @@ -7203,15 +7035,15 @@ }, { "type": "TemplateElement", - "start": 4294, - "end": 4294, + "start": 4256, + "end": 4256, "loc": { "start": { - "line": 173, + "line": 171, "column": 38 }, "end": { - "line": 173, + "line": 171, "column": 38 } }, @@ -7231,15 +7063,15 @@ { "type": "CommentBlock", "value": "*\n * Render the Haab fullDate as a string\n * @returns {string}\n ", - "start": 4166, - "end": 4240, + "start": 4128, + "end": 4202, "loc": { "start": { - "line": 168, + "line": 166, "column": 2 }, "end": { - "line": 171, + "line": 169, "column": 5 } } @@ -7252,15 +7084,15 @@ { "type": "CommentBlock", "value": "*\n * Describes a Haab fullDate with a position and a month\n * @example\n * let day = new Haab(8, \"Kumk'u\");\n *\n * @example\n * let day = new Haab(8, new HaabMonth(\"Kumk'u\"));\n *\n ", - "start": 625, - "end": 812, + "start": 587, + "end": 774, "loc": { "start": { - "line": 25, + "line": 23, "column": 0 }, "end": { - "line": 33, + "line": 31, "column": 3 } } @@ -7268,211 +7100,147 @@ ] }, { - "type": "ExpressionStatement", - "start": 4304, - "end": 4351, + "type": "ExportDefaultDeclaration", + "start": 4266, + "end": 4311, "loc": { "start": { - "line": 177, + "line": 175, "column": 0 }, "end": { - "line": 180, + "line": 178, "column": 2 } }, - "expression": { - "type": "AssignmentExpression", - "start": 4304, - "end": 4350, + "declaration": { + "type": "ObjectExpression", + "start": 4281, + "end": 4310, "loc": { "start": { - "line": 177, - "column": 0 + "line": 175, + "column": 15 }, "end": { - "line": 180, + "line": 178, "column": 1 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 4304, - "end": 4318, - "loc": { - "start": { - "line": 177, - "column": 0 - }, - "end": { - "line": 177, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 4304, - "end": 4310, + "properties": [ + { + "type": "ObjectProperty", + "start": 4285, + "end": 4292, "loc": { "start": { - "line": 177, - "column": 0 + "line": 176, + "column": 2 }, "end": { - "line": 177, - "column": 6 + "line": 176, + "column": 9 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 4285, + "end": 4292, + "loc": { + "start": { + "line": 176, + "column": 2 + }, + "end": { + "line": 176, + "column": 9 + }, + "identifierName": "getHaab" + }, + "name": "getHaab" + }, + "value": { + "type": "Identifier", + "start": 4285, + "end": 4292, + "loc": { + "start": { + "line": 176, + "column": 2 + }, + "end": { + "line": 176, + "column": 9 + }, + "identifierName": "getHaab" }, - "identifierName": "module" + "name": "getHaab" }, - "name": "module" + "extra": { + "shorthand": true + } }, - "property": { - "type": "Identifier", - "start": 4311, - "end": 4318, + { + "type": "ObjectProperty", + "start": 4296, + "end": 4308, "loc": { "start": { "line": 177, - "column": 7 + "column": 2 }, "end": { "line": 177, "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "ObjectExpression", - "start": 4321, - "end": 4350, - "loc": { - "start": { - "line": 177, - "column": 17 + } }, - "end": { - "line": 180, - "column": 1 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 4325, - "end": 4332, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 4296, + "end": 4308, "loc": { "start": { - "line": 178, + "line": 177, "column": 2 }, "end": { - "line": 178, - "column": 9 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 4325, - "end": 4332, - "loc": { - "start": { - "line": 178, - "column": 2 - }, - "end": { - "line": 178, - "column": 9 - }, - "identifierName": "getHaab" - }, - "name": "getHaab" - }, - "value": { - "type": "Identifier", - "start": 4325, - "end": 4332, - "loc": { - "start": { - "line": 178, - "column": 2 - }, - "end": { - "line": 178, - "column": 9 - }, - "identifierName": "getHaab" + "line": 177, + "column": 14 }, - "name": "getHaab" + "identifierName": "getHaabMonth" }, - "extra": { - "shorthand": true - } + "name": "getHaabMonth" }, - { - "type": "ObjectProperty", - "start": 4336, - "end": 4348, + "value": { + "type": "Identifier", + "start": 4296, + "end": 4308, "loc": { "start": { - "line": 179, + "line": 177, "column": 2 }, "end": { - "line": 179, + "line": 177, "column": 14 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 4336, - "end": 4348, - "loc": { - "start": { - "line": 179, - "column": 2 - }, - "end": { - "line": 179, - "column": 14 - }, - "identifierName": "getHaabMonth" - }, - "name": "getHaabMonth" - }, - "value": { - "type": "Identifier", - "start": 4336, - "end": 4348, - "loc": { - "start": { - "line": 179, - "column": 2 - }, - "end": { - "line": 179, - "column": 14 - }, - "identifierName": "getHaabMonth" }, - "name": "getHaabMonth" + "identifierName": "getHaabMonth" }, - "extra": { - "shorthand": true - } + "name": "getHaabMonth" + }, + "extra": { + "shorthand": true } - ] - } + } + ], + "leadingComments": [], + "trailingComments": [] } } ], @@ -7482,47 +7250,15 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 56, - "end": 70, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 120, - "end": 134, + "start": 82, + "end": 96, "loc": { "start": { - "line": 6, + "line": 4, "column": 0 }, "end": { - "line": 6, + "line": 4, "column": 14 } } @@ -7530,15 +7266,15 @@ { "type": "CommentBlock", "value": "*\n * Return a comparable HaabMonth instantiation.\n * @param {number} coeff\n * @param {HaabMonth|string} month\n * @return {Haab}\n ", - "start": 158, - "end": 291, + "start": 120, + "end": 253, "loc": { "start": { - "line": 9, + "line": 7, "column": 0 }, "end": { - "line": 14, + "line": 12, "column": 3 } } @@ -7546,15 +7282,15 @@ { "type": "CommentLine", "value": " const monthName = (typeof name === 'number') ? months[name] : name;", - "start": 368, - "end": 438, + "start": 330, + "end": 400, "loc": { "start": { - "line": 17, + "line": 15, "column": 2 }, "end": { - "line": 17, + "line": 15, "column": 72 } } @@ -7562,15 +7298,15 @@ { "type": "CommentLine", "value": " eslint-disable-next-line no-use-before-define", - "start": 487, - "end": 535, + "start": 449, + "end": 497, "loc": { "start": { - "line": 19, + "line": 17, "column": 4 }, "end": { - "line": 19, + "line": 17, "column": 52 } } @@ -7578,15 +7314,15 @@ { "type": "CommentBlock", "value": "*\n * Describes a Haab fullDate with a position and a month\n * @example\n * let day = new Haab(8, \"Kumk'u\");\n *\n * @example\n * let day = new Haab(8, new HaabMonth(\"Kumk'u\"));\n *\n ", - "start": 625, - "end": 812, + "start": 587, + "end": 774, "loc": { "start": { - "line": 25, + "line": 23, "column": 0 }, "end": { - "line": 33, + "line": 31, "column": 3 } } @@ -7594,15 +7330,15 @@ { "type": "CommentBlock", "value": "*\n * Constructor\n <<<<<<< HEAD\n * @param {number|Wildcard|string} coeff - The position in the Haab month for this fullDate\n =======\n * @param {number|Wildcard|string} coeff - The position in the Haab month for this date\n >>>>>>> Use consistent function naming\n * @param {string|HaabMonth|Wildcard} month\n ", - "start": 828, - "end": 1153, + "start": 790, + "end": 1115, "loc": { "start": { - "line": 35, + "line": 33, "column": 2 }, "end": { - "line": 43, + "line": 41, "column": 5 } } @@ -7610,15 +7346,15 @@ { "type": "CommentLine", "value": " newMonth = new HaabMonth(month);", - "start": 1528, - "end": 1563, + "start": 1490, + "end": 1525, "loc": { "start": { - "line": 57, + "line": 55, "column": 8 }, "end": { - "line": 57, + "line": 55, "column": 43 } } @@ -7626,15 +7362,15 @@ { "type": "CommentBlock", "value": "*\n * @type {HaabMonth|Wildcard}\n ", - "start": 1582, - "end": 1627, + "start": 1544, + "end": 1589, "loc": { "start": { - "line": 60, + "line": 58, "column": 4 }, "end": { - "line": 62, + "line": 60, "column": 7 } } @@ -7642,15 +7378,15 @@ { "type": "CommentBlock", "value": "*\n * @type {number|Wildcard}\n ", - "start": 1659, - "end": 1701, + "start": 1621, + "end": 1663, "loc": { "start": { - "line": 64, + "line": 62, "column": 4 }, "end": { - "line": 66, + "line": 64, "column": 7 } } @@ -7658,15 +7394,15 @@ { "type": "CommentBlock", "value": "*\n * Lazy loaded instance of the next Haab date in the cycle\n * @type {Haab}\n ", - "start": 1734, - "end": 1828, + "start": 1696, + "end": 1790, "loc": { "start": { - "line": 69, + "line": 67, "column": 4 }, "end": { - "line": 72, + "line": 70, "column": 7 } } @@ -7674,15 +7410,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Haab's coefficients are within range and the month is defined\n * @return {boolean}\n ", - "start": 1893, - "end": 2003, + "start": 1855, + "end": 1965, "loc": { "start": { - "line": 78, + "line": 76, "column": 2 }, "end": { - "line": 81, + "line": 79, "column": 5 } } @@ -7690,15 +7426,15 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the Haab cycle\n * @returns {Haab}\n ", - "start": 2504, - "end": 2577, + "start": 2466, + "end": 2539, "loc": { "start": { - "line": 99, + "line": 97, "column": 2 }, "end": { - "line": 102, + "line": 100, "column": 5 } } @@ -7706,15 +7442,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Haab object has the same configuration as another Haab object.\n * Does not take wildcards into account.\n * @param {Haab} newHaab\n * @return {boolean}\n ", - "start": 2622, - "end": 2804, + "start": 2584, + "end": 2766, "loc": { "start": { - "line": 107, + "line": 105, "column": 2 }, "end": { - "line": 112, + "line": 110, "column": 5 } } @@ -7722,15 +7458,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Haab object has a matching configuration as another Haab object.\n * Takes wildcards into account.\n * @param {Haab} newHaab\n * @return {boolean}\n ", - "start": 2860, - "end": 3036, + "start": 2822, + "end": 2998, "loc": { "start": { - "line": 117, + "line": 115, "column": 2 }, "end": { - "line": 122, + "line": 120, "column": 5 } } @@ -7738,15 +7474,15 @@ { "type": "CommentBlock", "value": "*\n * Return a string representation of the Haab month name\n * @returns {string|Wildcard}\n ", - "start": 3328, - "end": 3428, + "start": 3290, + "end": 3390, "loc": { "start": { - "line": 135, + "line": 133, "column": 2 }, "end": { - "line": 138, + "line": 136, "column": 5 } } @@ -7754,15 +7490,15 @@ { "type": "CommentBlock", "value": "*\n * Move this date through the Haab cycle.\n * @param {number} numDays\n * @return {Haab}\n ", - "start": 3545, - "end": 3647, + "start": 3507, + "end": 3609, "loc": { "start": { - "line": 146, + "line": 144, "column": 2 }, "end": { - "line": 150, + "line": 148, "column": 5 } } @@ -7770,43 +7506,27 @@ { "type": "CommentBlock", "value": "*\n * Render the Haab fullDate as a string\n * @returns {string}\n ", - "start": 4166, - "end": 4240, + "start": 4128, + "end": 4202, "loc": { "start": { - "line": 168, + "line": 166, "column": 2 }, "end": { - "line": 171, + "line": 169, "column": 5 } } } ], "tokens": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7815,17 +7535,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 15, - "end": 20, + "value": "import", + "start": 0, + "end": 6, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 5 + "line": 1, + "column": 6 } } }, @@ -7842,43 +7562,16 @@ "binop": null }, "value": "wildcard", - "start": 21, - "end": 29, + "start": 7, + "end": 15, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 30, - "end": 31, - "loc": { - "start": { - "line": 2, + "line": 1, "column": 15 - }, - "end": { - "line": 2, - "column": 16 } } }, @@ -7894,42 +7587,17 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 32, - "end": 39, - "loc": { - "start": { - "line": 2, - "column": 17 - }, - "end": { - "line": 2, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 39, - "end": 40, + "value": "from", + "start": 16, + "end": 20, "loc": { "start": { - "line": 2, - "column": 24 + "line": 1, + "column": 16 }, "end": { - "line": 2, - "column": 25 + "line": 1, + "column": 20 } } }, @@ -7947,41 +7615,16 @@ "updateContext": null }, "value": "../wildcard", - "start": 40, - "end": 53, - "loc": { - "start": { - "line": 2, - "column": 25 - }, - "end": { - "line": 2, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 53, - "end": 54, + "start": 21, + "end": 34, "loc": { "start": { - "line": 2, - "column": 38 + "line": 1, + "column": 21 }, "end": { - "line": 2, - "column": 39 + "line": 1, + "column": 34 } } }, @@ -7998,41 +7641,25 @@ "binop": null, "updateContext": null }, - "start": 54, - "end": 55, - "loc": { - "start": { - "line": 2, - "column": 39 - }, - "end": { - "line": 2, - "column": 40 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 56, - "end": 70, + "start": 34, + "end": 35, "loc": { "start": { - "line": 3, - "column": 0 + "line": 1, + "column": 34 }, "end": { - "line": 3, - "column": 14 + "line": 1, + "column": 35 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8041,17 +7668,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 71, - "end": 76, + "value": "import", + "start": 36, + "end": 42, "loc": { "start": { - "line": 4, + "line": 2, "column": 0 }, "end": { - "line": 4, - "column": 5 + "line": 2, + "column": 6 } } }, @@ -8067,94 +7694,16 @@ "postfix": false, "binop": null }, - "start": 77, - "end": 78, - "loc": { - "start": { - "line": 4, - "column": 6 - }, - "end": { - "line": 4, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getHaabMonth", - "start": 78, - "end": 90, + "start": 43, + "end": 44, "loc": { "start": { - "line": 4, + "line": 2, "column": 7 }, "end": { - "line": 4, - "column": 19 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 90, - "end": 91, - "loc": { - "start": { - "line": 4, - "column": 19 - }, - "end": { - "line": 4, - "column": 20 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 92, - "end": 93, - "loc": { - "start": { - "line": 4, - "column": 21 - }, - "end": { - "line": 4, - "column": 22 + "line": 2, + "column": 8 } } }, @@ -8170,25 +7719,25 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 94, - "end": 101, + "value": "getHaabMonth", + "start": 45, + "end": 57, "loc": { "start": { - "line": 4, - "column": 23 + "line": 2, + "column": 9 }, - "end": { - "line": 4, - "column": 30 + "end": { + "line": 2, + "column": 21 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8196,22 +7745,22 @@ "postfix": false, "binop": null }, - "start": 101, - "end": 102, + "start": 58, + "end": 59, "loc": { "start": { - "line": 4, - "column": 30 + "line": 2, + "column": 22 }, "end": { - "line": 4, - "column": 31 + "line": 2, + "column": 23 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -8219,45 +7768,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./haab-month", - "start": 102, - "end": 116, + "value": "from", + "start": 60, + "end": 64, "loc": { "start": { - "line": 4, - "column": 31 + "line": 2, + "column": 24 }, "end": { - "line": 4, - "column": 45 + "line": 2, + "column": 28 } } }, { "type": { - "label": ")", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 116, - "end": 117, + "value": "./haab-month", + "start": 65, + "end": 79, "loc": { "start": { - "line": 4, - "column": 45 + "line": 2, + "column": 29 }, "end": { - "line": 4, - "column": 46 + "line": 2, + "column": 43 } } }, @@ -8274,31 +7824,31 @@ "binop": null, "updateContext": null }, - "start": 117, - "end": 118, + "start": 79, + "end": 80, "loc": { "start": { - "line": 4, - "column": 46 + "line": 2, + "column": 43 }, "end": { - "line": 4, - "column": 47 + "line": 2, + "column": 44 } } }, { "type": "CommentBlock", "value": "* @ignore ", - "start": 120, - "end": 134, + "start": 82, + "end": 96, "loc": { "start": { - "line": 6, + "line": 4, "column": 0 }, "end": { - "line": 6, + "line": 4, "column": 14 } } @@ -8318,15 +7868,15 @@ "updateContext": null }, "value": "const", - "start": 135, - "end": 140, + "start": 97, + "end": 102, "loc": { "start": { - "line": 7, + "line": 5, "column": 0 }, "end": { - "line": 7, + "line": 5, "column": 5 } } @@ -8344,15 +7894,15 @@ "binop": null }, "value": "singleton", - "start": 141, - "end": 150, + "start": 103, + "end": 112, "loc": { "start": { - "line": 7, + "line": 5, "column": 6 }, "end": { - "line": 7, + "line": 5, "column": 15 } } @@ -8371,15 +7921,15 @@ "updateContext": null }, "value": "=", - "start": 151, - "end": 152, + "start": 113, + "end": 114, "loc": { "start": { - "line": 7, + "line": 5, "column": 16 }, "end": { - "line": 7, + "line": 5, "column": 17 } } @@ -8396,15 +7946,15 @@ "postfix": false, "binop": null }, - "start": 153, - "end": 154, + "start": 115, + "end": 116, "loc": { "start": { - "line": 7, + "line": 5, "column": 18 }, "end": { - "line": 7, + "line": 5, "column": 19 } } @@ -8421,15 +7971,15 @@ "postfix": false, "binop": null }, - "start": 154, - "end": 155, + "start": 116, + "end": 117, "loc": { "start": { - "line": 7, + "line": 5, "column": 19 }, "end": { - "line": 7, + "line": 5, "column": 20 } } @@ -8447,15 +7997,15 @@ "binop": null, "updateContext": null }, - "start": 155, - "end": 156, + "start": 117, + "end": 118, "loc": { "start": { - "line": 7, + "line": 5, "column": 20 }, "end": { - "line": 7, + "line": 5, "column": 21 } } @@ -8463,15 +8013,15 @@ { "type": "CommentBlock", "value": "*\n * Return a comparable HaabMonth instantiation.\n * @param {number} coeff\n * @param {HaabMonth|string} month\n * @return {Haab}\n ", - "start": 158, - "end": 291, + "start": 120, + "end": 253, "loc": { "start": { - "line": 9, + "line": 7, "column": 0 }, "end": { - "line": 14, + "line": 12, "column": 3 } } @@ -8490,15 +8040,15 @@ "binop": null }, "value": "function", - "start": 292, - "end": 300, + "start": 254, + "end": 262, "loc": { "start": { - "line": 15, + "line": 13, "column": 0 }, "end": { - "line": 15, + "line": 13, "column": 8 } } @@ -8516,15 +8066,15 @@ "binop": null }, "value": "getHaab", - "start": 301, - "end": 308, + "start": 263, + "end": 270, "loc": { "start": { - "line": 15, + "line": 13, "column": 9 }, "end": { - "line": 15, + "line": 13, "column": 16 } } @@ -8541,15 +8091,15 @@ "postfix": false, "binop": null }, - "start": 308, - "end": 309, + "start": 270, + "end": 271, "loc": { "start": { - "line": 15, + "line": 13, "column": 16 }, "end": { - "line": 15, + "line": 13, "column": 17 } } @@ -8567,15 +8117,15 @@ "binop": null }, "value": "coeff", - "start": 309, - "end": 314, + "start": 271, + "end": 276, "loc": { "start": { - "line": 15, + "line": 13, "column": 17 }, "end": { - "line": 15, + "line": 13, "column": 22 } } @@ -8593,15 +8143,15 @@ "binop": null, "updateContext": null }, - "start": 314, - "end": 315, + "start": 276, + "end": 277, "loc": { "start": { - "line": 15, + "line": 13, "column": 22 }, "end": { - "line": 15, + "line": 13, "column": 23 } } @@ -8619,15 +8169,15 @@ "binop": null }, "value": "month", - "start": 316, - "end": 321, + "start": 278, + "end": 283, "loc": { "start": { - "line": 15, + "line": 13, "column": 24 }, "end": { - "line": 15, + "line": 13, "column": 29 } } @@ -8644,15 +8194,15 @@ "postfix": false, "binop": null }, - "start": 321, - "end": 322, + "start": 283, + "end": 284, "loc": { "start": { - "line": 15, + "line": 13, "column": 29 }, "end": { - "line": 15, + "line": 13, "column": 30 } } @@ -8669,15 +8219,15 @@ "postfix": false, "binop": null }, - "start": 323, - "end": 324, + "start": 285, + "end": 286, "loc": { "start": { - "line": 15, + "line": 13, "column": 31 }, "end": { - "line": 15, + "line": 13, "column": 32 } } @@ -8697,15 +8247,15 @@ "updateContext": null }, "value": "const", - "start": 327, - "end": 332, + "start": 289, + "end": 294, "loc": { "start": { - "line": 16, + "line": 14, "column": 2 }, "end": { - "line": 16, + "line": 14, "column": 7 } } @@ -8723,15 +8273,15 @@ "binop": null }, "value": "monthName", - "start": 333, - "end": 342, + "start": 295, + "end": 304, "loc": { "start": { - "line": 16, + "line": 14, "column": 8 }, "end": { - "line": 16, + "line": 14, "column": 17 } } @@ -8750,15 +8300,15 @@ "updateContext": null }, "value": "=", - "start": 343, - "end": 344, + "start": 305, + "end": 306, "loc": { "start": { - "line": 16, + "line": 14, "column": 18 }, "end": { - "line": 16, + "line": 14, "column": 19 } } @@ -8775,15 +8325,15 @@ "postfix": false, "binop": null }, - "start": 345, - "end": 346, + "start": 307, + "end": 308, "loc": { "start": { - "line": 16, + "line": 14, "column": 20 }, "end": { - "line": 16, + "line": 14, "column": 21 } } @@ -8802,15 +8352,15 @@ "updateContext": null }, "value": "", - "start": 346, - "end": 346, + "start": 308, + "end": 308, "loc": { "start": { - "line": 16, + "line": 14, "column": 21 }, "end": { - "line": 16, + "line": 14, "column": 21 } } @@ -8827,15 +8377,15 @@ "postfix": false, "binop": null }, - "start": 346, - "end": 348, + "start": 308, + "end": 310, "loc": { "start": { - "line": 16, + "line": 14, "column": 21 }, "end": { - "line": 16, + "line": 14, "column": 23 } } @@ -8853,15 +8403,15 @@ "binop": null }, "value": "coeff", - "start": 348, - "end": 353, + "start": 310, + "end": 315, "loc": { "start": { - "line": 16, + "line": 14, "column": 23 }, "end": { - "line": 16, + "line": 14, "column": 28 } } @@ -8878,15 +8428,15 @@ "postfix": false, "binop": null }, - "start": 353, - "end": 354, + "start": 315, + "end": 316, "loc": { "start": { - "line": 16, + "line": 14, "column": 28 }, "end": { - "line": 16, + "line": 14, "column": 29 } } @@ -8905,15 +8455,15 @@ "updateContext": null }, "value": " ", - "start": 354, - "end": 355, + "start": 316, + "end": 317, "loc": { "start": { - "line": 16, + "line": 14, "column": 29 }, "end": { - "line": 16, + "line": 14, "column": 30 } } @@ -8930,15 +8480,15 @@ "postfix": false, "binop": null }, - "start": 355, - "end": 357, + "start": 317, + "end": 319, "loc": { "start": { - "line": 16, + "line": 14, "column": 30 }, "end": { - "line": 16, + "line": 14, "column": 32 } } @@ -8956,15 +8506,15 @@ "binop": null }, "value": "month", - "start": 357, - "end": 362, + "start": 319, + "end": 324, "loc": { "start": { - "line": 16, + "line": 14, "column": 32 }, "end": { - "line": 16, + "line": 14, "column": 37 } } @@ -8981,15 +8531,15 @@ "postfix": false, "binop": null }, - "start": 362, - "end": 363, + "start": 324, + "end": 325, "loc": { "start": { - "line": 16, + "line": 14, "column": 37 }, "end": { - "line": 16, + "line": 14, "column": 38 } } @@ -9008,15 +8558,15 @@ "updateContext": null }, "value": "", - "start": 363, - "end": 363, + "start": 325, + "end": 325, "loc": { "start": { - "line": 16, + "line": 14, "column": 38 }, "end": { - "line": 16, + "line": 14, "column": 38 } } @@ -9033,15 +8583,15 @@ "postfix": false, "binop": null }, - "start": 363, - "end": 364, + "start": 325, + "end": 326, "loc": { "start": { - "line": 16, + "line": 14, "column": 38 }, "end": { - "line": 16, + "line": 14, "column": 39 } } @@ -9059,15 +8609,15 @@ "binop": null, "updateContext": null }, - "start": 364, - "end": 365, + "start": 326, + "end": 327, "loc": { "start": { - "line": 16, + "line": 14, "column": 39 }, "end": { - "line": 16, + "line": 14, "column": 40 } } @@ -9075,15 +8625,15 @@ { "type": "CommentLine", "value": " const monthName = (typeof name === 'number') ? months[name] : name;", - "start": 368, - "end": 438, + "start": 330, + "end": 400, "loc": { "start": { - "line": 17, + "line": 15, "column": 2 }, "end": { - "line": 17, + "line": 15, "column": 72 } } @@ -9103,15 +8653,15 @@ "updateContext": null }, "value": "if", - "start": 441, - "end": 443, + "start": 403, + "end": 405, "loc": { "start": { - "line": 18, + "line": 16, "column": 2 }, "end": { - "line": 18, + "line": 16, "column": 4 } } @@ -9128,15 +8678,15 @@ "postfix": false, "binop": null }, - "start": 444, - "end": 445, + "start": 406, + "end": 407, "loc": { "start": { - "line": 18, + "line": 16, "column": 5 }, "end": { - "line": 18, + "line": 16, "column": 6 } } @@ -9154,15 +8704,15 @@ "binop": null }, "value": "singleton", - "start": 445, - "end": 454, + "start": 407, + "end": 416, "loc": { "start": { - "line": 18, + "line": 16, "column": 6 }, "end": { - "line": 18, + "line": 16, "column": 15 } } @@ -9180,15 +8730,15 @@ "binop": null, "updateContext": null }, - "start": 454, - "end": 455, + "start": 416, + "end": 417, "loc": { "start": { - "line": 18, + "line": 16, "column": 15 }, "end": { - "line": 18, + "line": 16, "column": 16 } } @@ -9206,15 +8756,15 @@ "binop": null }, "value": "monthName", - "start": 455, - "end": 464, + "start": 417, + "end": 426, "loc": { "start": { - "line": 18, + "line": 16, "column": 16 }, "end": { - "line": 18, + "line": 16, "column": 25 } } @@ -9232,15 +8782,15 @@ "binop": null, "updateContext": null }, - "start": 464, - "end": 465, + "start": 426, + "end": 427, "loc": { "start": { - "line": 18, + "line": 16, "column": 25 }, "end": { - "line": 18, + "line": 16, "column": 26 } } @@ -9259,15 +8809,15 @@ "updateContext": null }, "value": "===", - "start": 466, - "end": 469, + "start": 428, + "end": 431, "loc": { "start": { - "line": 18, + "line": 16, "column": 27 }, "end": { - "line": 18, + "line": 16, "column": 30 } } @@ -9285,15 +8835,15 @@ "binop": null }, "value": "undefined", - "start": 470, - "end": 479, + "start": 432, + "end": 441, "loc": { "start": { - "line": 18, + "line": 16, "column": 31 }, "end": { - "line": 18, + "line": 16, "column": 40 } } @@ -9310,15 +8860,15 @@ "postfix": false, "binop": null }, - "start": 479, - "end": 480, + "start": 441, + "end": 442, "loc": { "start": { - "line": 18, + "line": 16, "column": 40 }, "end": { - "line": 18, + "line": 16, "column": 41 } } @@ -9335,15 +8885,15 @@ "postfix": false, "binop": null }, - "start": 481, - "end": 482, + "start": 443, + "end": 444, "loc": { "start": { - "line": 18, + "line": 16, "column": 42 }, "end": { - "line": 18, + "line": 16, "column": 43 } } @@ -9351,15 +8901,15 @@ { "type": "CommentLine", "value": " eslint-disable-next-line no-use-before-define", - "start": 487, - "end": 535, + "start": 449, + "end": 497, "loc": { "start": { - "line": 19, + "line": 17, "column": 4 }, "end": { - "line": 19, + "line": 17, "column": 52 } } @@ -9377,15 +8927,15 @@ "binop": null }, "value": "singleton", - "start": 540, - "end": 549, + "start": 502, + "end": 511, "loc": { "start": { - "line": 20, + "line": 18, "column": 4 }, "end": { - "line": 20, + "line": 18, "column": 13 } } @@ -9403,15 +8953,15 @@ "binop": null, "updateContext": null }, - "start": 549, - "end": 550, + "start": 511, + "end": 512, "loc": { "start": { - "line": 20, + "line": 18, "column": 13 }, "end": { - "line": 20, + "line": 18, "column": 14 } } @@ -9429,15 +8979,15 @@ "binop": null }, "value": "monthName", - "start": 550, - "end": 559, + "start": 512, + "end": 521, "loc": { "start": { - "line": 20, + "line": 18, "column": 14 }, "end": { - "line": 20, + "line": 18, "column": 23 } } @@ -9455,15 +9005,15 @@ "binop": null, "updateContext": null }, - "start": 559, - "end": 560, + "start": 521, + "end": 522, "loc": { "start": { - "line": 20, + "line": 18, "column": 23 }, "end": { - "line": 20, + "line": 18, "column": 24 } } @@ -9482,15 +9032,15 @@ "updateContext": null }, "value": "=", - "start": 561, - "end": 562, + "start": 523, + "end": 524, "loc": { "start": { - "line": 20, + "line": 18, "column": 25 }, "end": { - "line": 20, + "line": 18, "column": 26 } } @@ -9510,15 +9060,15 @@ "updateContext": null }, "value": "new", - "start": 563, - "end": 566, + "start": 525, + "end": 528, "loc": { "start": { - "line": 20, + "line": 18, "column": 27 }, "end": { - "line": 20, + "line": 18, "column": 30 } } @@ -9536,15 +9086,15 @@ "binop": null }, "value": "Haab", - "start": 567, - "end": 571, + "start": 529, + "end": 533, "loc": { "start": { - "line": 20, + "line": 18, "column": 31 }, "end": { - "line": 20, + "line": 18, "column": 35 } } @@ -9561,15 +9111,15 @@ "postfix": false, "binop": null }, - "start": 571, - "end": 572, + "start": 533, + "end": 534, "loc": { "start": { - "line": 20, + "line": 18, "column": 35 }, "end": { - "line": 20, + "line": 18, "column": 36 } } @@ -9587,15 +9137,15 @@ "binop": null }, "value": "coeff", - "start": 572, - "end": 577, + "start": 534, + "end": 539, "loc": { "start": { - "line": 20, + "line": 18, "column": 36 }, "end": { - "line": 20, + "line": 18, "column": 41 } } @@ -9613,15 +9163,15 @@ "binop": null, "updateContext": null }, - "start": 577, - "end": 578, + "start": 539, + "end": 540, "loc": { "start": { - "line": 20, + "line": 18, "column": 41 }, "end": { - "line": 20, + "line": 18, "column": 42 } } @@ -9639,15 +9189,15 @@ "binop": null }, "value": "month", - "start": 579, - "end": 584, + "start": 541, + "end": 546, "loc": { "start": { - "line": 20, + "line": 18, "column": 43 }, "end": { - "line": 20, + "line": 18, "column": 48 } } @@ -9664,15 +9214,15 @@ "postfix": false, "binop": null }, - "start": 584, - "end": 585, + "start": 546, + "end": 547, "loc": { "start": { - "line": 20, + "line": 18, "column": 48 }, "end": { - "line": 20, + "line": 18, "column": 49 } } @@ -9690,15 +9240,15 @@ "binop": null, "updateContext": null }, - "start": 585, - "end": 586, + "start": 547, + "end": 548, "loc": { "start": { - "line": 20, + "line": 18, "column": 49 }, "end": { - "line": 20, + "line": 18, "column": 50 } } @@ -9715,15 +9265,15 @@ "postfix": false, "binop": null }, - "start": 589, - "end": 590, + "start": 551, + "end": 552, "loc": { "start": { - "line": 21, + "line": 19, "column": 2 }, "end": { - "line": 21, + "line": 19, "column": 3 } } @@ -9743,15 +9293,15 @@ "updateContext": null }, "value": "return", - "start": 593, - "end": 599, + "start": 555, + "end": 561, "loc": { "start": { - "line": 22, + "line": 20, "column": 2 }, "end": { - "line": 22, + "line": 20, "column": 8 } } @@ -9769,15 +9319,15 @@ "binop": null }, "value": "singleton", - "start": 600, - "end": 609, + "start": 562, + "end": 571, "loc": { "start": { - "line": 22, + "line": 20, "column": 9 }, "end": { - "line": 22, + "line": 20, "column": 18 } } @@ -9795,15 +9345,15 @@ "binop": null, "updateContext": null }, - "start": 609, - "end": 610, + "start": 571, + "end": 572, "loc": { "start": { - "line": 22, + "line": 20, "column": 18 }, "end": { - "line": 22, + "line": 20, "column": 19 } } @@ -9821,15 +9371,15 @@ "binop": null }, "value": "monthName", - "start": 610, - "end": 619, + "start": 572, + "end": 581, "loc": { "start": { - "line": 22, + "line": 20, "column": 19 }, "end": { - "line": 22, + "line": 20, "column": 28 } } @@ -9847,15 +9397,15 @@ "binop": null, "updateContext": null }, - "start": 619, - "end": 620, + "start": 581, + "end": 582, "loc": { "start": { - "line": 22, + "line": 20, "column": 28 }, "end": { - "line": 22, + "line": 20, "column": 29 } } @@ -9873,15 +9423,15 @@ "binop": null, "updateContext": null }, - "start": 620, - "end": 621, + "start": 582, + "end": 583, "loc": { "start": { - "line": 22, + "line": 20, "column": 29 }, "end": { - "line": 22, + "line": 20, "column": 30 } } @@ -9898,15 +9448,15 @@ "postfix": false, "binop": null }, - "start": 622, - "end": 623, + "start": 584, + "end": 585, "loc": { "start": { - "line": 23, + "line": 21, "column": 0 }, "end": { - "line": 23, + "line": 21, "column": 1 } } @@ -9914,15 +9464,15 @@ { "type": "CommentBlock", "value": "*\n * Describes a Haab fullDate with a position and a month\n * @example\n * let day = new Haab(8, \"Kumk'u\");\n *\n * @example\n * let day = new Haab(8, new HaabMonth(\"Kumk'u\"));\n *\n ", - "start": 625, - "end": 812, + "start": 587, + "end": 774, "loc": { "start": { - "line": 25, + "line": 23, "column": 0 }, "end": { - "line": 33, + "line": 31, "column": 3 } } @@ -9942,15 +9492,15 @@ "updateContext": null }, "value": "class", - "start": 813, - "end": 818, + "start": 775, + "end": 780, "loc": { "start": { - "line": 34, + "line": 32, "column": 0 }, "end": { - "line": 34, + "line": 32, "column": 5 } } @@ -9968,15 +9518,15 @@ "binop": null }, "value": "Haab", - "start": 819, - "end": 823, + "start": 781, + "end": 785, "loc": { "start": { - "line": 34, + "line": 32, "column": 6 }, "end": { - "line": 34, + "line": 32, "column": 10 } } @@ -9993,15 +9543,15 @@ "postfix": false, "binop": null }, - "start": 824, - "end": 825, + "start": 786, + "end": 787, "loc": { "start": { - "line": 34, + "line": 32, "column": 11 }, "end": { - "line": 34, + "line": 32, "column": 12 } } @@ -10009,15 +9559,15 @@ { "type": "CommentBlock", "value": "*\n * Constructor\n <<<<<<< HEAD\n * @param {number|Wildcard|string} coeff - The position in the Haab month for this fullDate\n =======\n * @param {number|Wildcard|string} coeff - The position in the Haab month for this date\n >>>>>>> Use consistent function naming\n * @param {string|HaabMonth|Wildcard} month\n ", - "start": 828, - "end": 1153, + "start": 790, + "end": 1115, "loc": { "start": { - "line": 35, + "line": 33, "column": 2 }, "end": { - "line": 43, + "line": 41, "column": 5 } } @@ -10035,15 +9585,15 @@ "binop": null }, "value": "constructor", - "start": 1156, - "end": 1167, + "start": 1118, + "end": 1129, "loc": { "start": { - "line": 44, + "line": 42, "column": 2 }, "end": { - "line": 44, + "line": 42, "column": 13 } } @@ -10060,15 +9610,15 @@ "postfix": false, "binop": null }, - "start": 1167, - "end": 1168, + "start": 1129, + "end": 1130, "loc": { "start": { - "line": 44, + "line": 42, "column": 13 }, "end": { - "line": 44, + "line": 42, "column": 14 } } @@ -10086,15 +9636,15 @@ "binop": null }, "value": "coeff", - "start": 1168, - "end": 1173, + "start": 1130, + "end": 1135, "loc": { "start": { - "line": 44, + "line": 42, "column": 14 }, "end": { - "line": 44, + "line": 42, "column": 19 } } @@ -10112,15 +9662,15 @@ "binop": null, "updateContext": null }, - "start": 1173, - "end": 1174, + "start": 1135, + "end": 1136, "loc": { "start": { - "line": 44, + "line": 42, "column": 19 }, "end": { - "line": 44, + "line": 42, "column": 20 } } @@ -10138,15 +9688,15 @@ "binop": null }, "value": "month", - "start": 1175, - "end": 1180, + "start": 1137, + "end": 1142, "loc": { "start": { - "line": 44, + "line": 42, "column": 21 }, "end": { - "line": 44, + "line": 42, "column": 26 } } @@ -10163,15 +9713,15 @@ "postfix": false, "binop": null }, - "start": 1180, - "end": 1181, + "start": 1142, + "end": 1143, "loc": { "start": { - "line": 44, + "line": 42, "column": 26 }, "end": { - "line": 44, + "line": 42, "column": 27 } } @@ -10188,15 +9738,15 @@ "postfix": false, "binop": null }, - "start": 1182, - "end": 1183, + "start": 1144, + "end": 1145, "loc": { "start": { - "line": 44, + "line": 42, "column": 28 }, "end": { - "line": 44, + "line": 42, "column": 29 } } @@ -10216,15 +9766,15 @@ "updateContext": null }, "value": "let", - "start": 1188, - "end": 1191, + "start": 1150, + "end": 1153, "loc": { "start": { - "line": 45, + "line": 43, "column": 4 }, "end": { - "line": 45, + "line": 43, "column": 7 } } @@ -10242,15 +9792,15 @@ "binop": null }, "value": "newCoeff", - "start": 1192, - "end": 1200, + "start": 1154, + "end": 1162, "loc": { "start": { - "line": 45, + "line": 43, "column": 8 }, "end": { - "line": 45, + "line": 43, "column": 16 } } @@ -10269,15 +9819,15 @@ "updateContext": null }, "value": "=", - "start": 1201, - "end": 1202, + "start": 1163, + "end": 1164, "loc": { "start": { - "line": 45, + "line": 43, "column": 17 }, "end": { - "line": 45, + "line": 43, "column": 18 } } @@ -10295,15 +9845,15 @@ "binop": null }, "value": "coeff", - "start": 1203, - "end": 1208, + "start": 1165, + "end": 1170, "loc": { "start": { - "line": 45, + "line": 43, "column": 19 }, "end": { - "line": 45, + "line": 43, "column": 24 } } @@ -10321,15 +9871,15 @@ "binop": null, "updateContext": null }, - "start": 1208, - "end": 1209, + "start": 1170, + "end": 1171, "loc": { "start": { - "line": 45, + "line": 43, "column": 24 }, "end": { - "line": 45, + "line": 43, "column": 25 } } @@ -10349,15 +9899,15 @@ "updateContext": null }, "value": "if", - "start": 1214, - "end": 1216, + "start": 1176, + "end": 1178, "loc": { "start": { - "line": 46, + "line": 44, "column": 4 }, "end": { - "line": 46, + "line": 44, "column": 6 } } @@ -10374,15 +9924,15 @@ "postfix": false, "binop": null }, - "start": 1217, - "end": 1218, + "start": 1179, + "end": 1180, "loc": { "start": { - "line": 46, + "line": 44, "column": 7 }, "end": { - "line": 46, + "line": 44, "column": 8 } } @@ -10400,15 +9950,15 @@ "binop": null }, "value": "coeff", - "start": 1218, - "end": 1223, + "start": 1180, + "end": 1185, "loc": { "start": { - "line": 46, + "line": 44, "column": 8 }, "end": { - "line": 46, + "line": 44, "column": 13 } } @@ -10427,15 +9977,15 @@ "updateContext": null }, "value": "===", - "start": 1224, - "end": 1227, + "start": 1186, + "end": 1189, "loc": { "start": { - "line": 46, + "line": 44, "column": 14 }, "end": { - "line": 46, + "line": 44, "column": 17 } } @@ -10454,15 +10004,15 @@ "updateContext": null }, "value": "*", - "start": 1228, - "end": 1231, + "start": 1190, + "end": 1193, "loc": { "start": { - "line": 46, + "line": 44, "column": 18 }, "end": { - "line": 46, + "line": 44, "column": 21 } } @@ -10479,15 +10029,15 @@ "postfix": false, "binop": null }, - "start": 1231, - "end": 1232, + "start": 1193, + "end": 1194, "loc": { "start": { - "line": 46, + "line": 44, "column": 21 }, "end": { - "line": 46, + "line": 44, "column": 22 } } @@ -10504,15 +10054,15 @@ "postfix": false, "binop": null }, - "start": 1233, - "end": 1234, + "start": 1195, + "end": 1196, "loc": { "start": { - "line": 46, + "line": 44, "column": 23 }, "end": { - "line": 46, + "line": 44, "column": 24 } } @@ -10530,15 +10080,15 @@ "binop": null }, "value": "newCoeff", - "start": 1241, - "end": 1249, + "start": 1203, + "end": 1211, "loc": { "start": { - "line": 47, + "line": 45, "column": 6 }, "end": { - "line": 47, + "line": 45, "column": 14 } } @@ -10557,15 +10107,15 @@ "updateContext": null }, "value": "=", - "start": 1250, - "end": 1251, + "start": 1212, + "end": 1213, "loc": { "start": { - "line": 47, + "line": 45, "column": 15 }, "end": { - "line": 47, + "line": 45, "column": 16 } } @@ -10583,15 +10133,15 @@ "binop": null }, "value": "wildcard", - "start": 1252, - "end": 1260, + "start": 1214, + "end": 1222, "loc": { "start": { - "line": 47, + "line": 45, "column": 17 }, "end": { - "line": 47, + "line": 45, "column": 25 } } @@ -10609,15 +10159,15 @@ "binop": null, "updateContext": null }, - "start": 1260, - "end": 1261, + "start": 1222, + "end": 1223, "loc": { "start": { - "line": 47, + "line": 45, "column": 25 }, "end": { - "line": 47, + "line": 45, "column": 26 } } @@ -10634,15 +10184,15 @@ "postfix": false, "binop": null }, - "start": 1266, - "end": 1267, + "start": 1228, + "end": 1229, "loc": { "start": { - "line": 48, + "line": 46, "column": 4 }, "end": { - "line": 48, + "line": 46, "column": 5 } } @@ -10662,15 +10212,15 @@ "updateContext": null }, "value": "else", - "start": 1268, - "end": 1272, + "start": 1230, + "end": 1234, "loc": { "start": { - "line": 48, + "line": 46, "column": 6 }, "end": { - "line": 48, + "line": 46, "column": 10 } } @@ -10690,15 +10240,15 @@ "updateContext": null }, "value": "if", - "start": 1273, - "end": 1275, + "start": 1235, + "end": 1237, "loc": { "start": { - "line": 48, + "line": 46, "column": 11 }, "end": { - "line": 48, + "line": 46, "column": 13 } } @@ -10715,15 +10265,15 @@ "postfix": false, "binop": null }, - "start": 1276, - "end": 1277, + "start": 1238, + "end": 1239, "loc": { "start": { - "line": 48, + "line": 46, "column": 14 }, "end": { - "line": 48, + "line": 46, "column": 15 } } @@ -10741,15 +10291,15 @@ "binop": null }, "value": "coeff", - "start": 1277, - "end": 1282, + "start": 1239, + "end": 1244, "loc": { "start": { - "line": 48, + "line": 46, "column": 15 }, "end": { - "line": 48, + "line": 46, "column": 20 } } @@ -10768,15 +10318,15 @@ "updateContext": null }, "value": "!==", - "start": 1283, - "end": 1286, + "start": 1245, + "end": 1248, "loc": { "start": { - "line": 48, + "line": 46, "column": 21 }, "end": { - "line": 48, + "line": 46, "column": 24 } } @@ -10794,15 +10344,15 @@ "binop": null }, "value": "wildcard", - "start": 1287, - "end": 1295, + "start": 1249, + "end": 1257, "loc": { "start": { - "line": 48, + "line": 46, "column": 25 }, "end": { - "line": 48, + "line": 46, "column": 33 } } @@ -10819,15 +10369,15 @@ "postfix": false, "binop": null }, - "start": 1295, - "end": 1296, + "start": 1257, + "end": 1258, "loc": { "start": { - "line": 48, + "line": 46, "column": 33 }, "end": { - "line": 48, + "line": 46, "column": 34 } } @@ -10844,15 +10394,15 @@ "postfix": false, "binop": null }, - "start": 1297, - "end": 1298, + "start": 1259, + "end": 1260, "loc": { "start": { - "line": 48, + "line": 46, "column": 35 }, "end": { - "line": 48, + "line": 46, "column": 36 } } @@ -10870,15 +10420,15 @@ "binop": null }, "value": "newCoeff", - "start": 1305, - "end": 1313, + "start": 1267, + "end": 1275, "loc": { "start": { - "line": 49, + "line": 47, "column": 6 }, "end": { - "line": 49, + "line": 47, "column": 14 } } @@ -10897,15 +10447,15 @@ "updateContext": null }, "value": "=", - "start": 1314, - "end": 1315, + "start": 1276, + "end": 1277, "loc": { "start": { - "line": 49, + "line": 47, "column": 15 }, "end": { - "line": 49, + "line": 47, "column": 16 } } @@ -10923,15 +10473,15 @@ "binop": null }, "value": "parseInt", - "start": 1316, - "end": 1324, + "start": 1278, + "end": 1286, "loc": { "start": { - "line": 49, + "line": 47, "column": 17 }, "end": { - "line": 49, + "line": 47, "column": 25 } } @@ -10948,15 +10498,15 @@ "postfix": false, "binop": null }, - "start": 1324, - "end": 1325, + "start": 1286, + "end": 1287, "loc": { "start": { - "line": 49, + "line": 47, "column": 25 }, "end": { - "line": 49, + "line": 47, "column": 26 } } @@ -10974,15 +10524,15 @@ "binop": null }, "value": "newCoeff", - "start": 1325, - "end": 1333, + "start": 1287, + "end": 1295, "loc": { "start": { - "line": 49, + "line": 47, "column": 26 }, "end": { - "line": 49, + "line": 47, "column": 34 } } @@ -11000,15 +10550,15 @@ "binop": null, "updateContext": null }, - "start": 1333, - "end": 1334, + "start": 1295, + "end": 1296, "loc": { "start": { - "line": 49, + "line": 47, "column": 34 }, "end": { - "line": 49, + "line": 47, "column": 35 } } @@ -11027,15 +10577,15 @@ "updateContext": null }, "value": 10, - "start": 1335, - "end": 1337, + "start": 1297, + "end": 1299, "loc": { "start": { - "line": 49, + "line": 47, "column": 36 }, "end": { - "line": 49, + "line": 47, "column": 38 } } @@ -11052,15 +10602,15 @@ "postfix": false, "binop": null }, - "start": 1337, - "end": 1338, + "start": 1299, + "end": 1300, "loc": { "start": { - "line": 49, + "line": 47, "column": 38 }, "end": { - "line": 49, + "line": 47, "column": 39 } } @@ -11078,15 +10628,15 @@ "binop": null, "updateContext": null }, - "start": 1338, - "end": 1339, + "start": 1300, + "end": 1301, "loc": { "start": { - "line": 49, + "line": 47, "column": 39 }, "end": { - "line": 49, + "line": 47, "column": 40 } } @@ -11103,15 +10653,15 @@ "postfix": false, "binop": null }, - "start": 1344, - "end": 1345, + "start": 1306, + "end": 1307, "loc": { "start": { - "line": 50, + "line": 48, "column": 4 }, "end": { - "line": 50, + "line": 48, "column": 5 } } @@ -11131,15 +10681,15 @@ "updateContext": null }, "value": "let", - "start": 1350, - "end": 1353, + "start": 1312, + "end": 1315, "loc": { "start": { - "line": 51, + "line": 49, "column": 4 }, "end": { - "line": 51, + "line": 49, "column": 7 } } @@ -11157,15 +10707,15 @@ "binop": null }, "value": "newMonth", - "start": 1354, - "end": 1362, + "start": 1316, + "end": 1324, "loc": { "start": { - "line": 51, + "line": 49, "column": 8 }, "end": { - "line": 51, + "line": 49, "column": 16 } } @@ -11184,15 +10734,15 @@ "updateContext": null }, "value": "=", - "start": 1363, - "end": 1364, + "start": 1325, + "end": 1326, "loc": { "start": { - "line": 51, + "line": 49, "column": 17 }, "end": { - "line": 51, + "line": 49, "column": 18 } } @@ -11210,15 +10760,15 @@ "binop": null }, "value": "month", - "start": 1365, - "end": 1370, + "start": 1327, + "end": 1332, "loc": { "start": { - "line": 51, + "line": 49, "column": 19 }, "end": { - "line": 51, + "line": 49, "column": 24 } } @@ -11236,15 +10786,15 @@ "binop": null, "updateContext": null }, - "start": 1370, - "end": 1371, + "start": 1332, + "end": 1333, "loc": { "start": { - "line": 51, + "line": 49, "column": 24 }, "end": { - "line": 51, + "line": 49, "column": 25 } } @@ -11264,15 +10814,15 @@ "updateContext": null }, "value": "if", - "start": 1376, - "end": 1378, + "start": 1338, + "end": 1340, "loc": { "start": { - "line": 52, + "line": 50, "column": 4 }, "end": { - "line": 52, + "line": 50, "column": 6 } } @@ -11289,15 +10839,15 @@ "postfix": false, "binop": null }, - "start": 1379, - "end": 1380, + "start": 1341, + "end": 1342, "loc": { "start": { - "line": 52, + "line": 50, "column": 7 }, "end": { - "line": 52, + "line": 50, "column": 8 } } @@ -11317,15 +10867,15 @@ "updateContext": null }, "value": "typeof", - "start": 1380, - "end": 1386, + "start": 1342, + "end": 1348, "loc": { "start": { - "line": 52, + "line": 50, "column": 8 }, "end": { - "line": 52, + "line": 50, "column": 14 } } @@ -11343,15 +10893,15 @@ "binop": null }, "value": "month", - "start": 1387, - "end": 1392, + "start": 1349, + "end": 1354, "loc": { "start": { - "line": 52, + "line": 50, "column": 15 }, "end": { - "line": 52, + "line": 50, "column": 20 } } @@ -11370,15 +10920,15 @@ "updateContext": null }, "value": "===", - "start": 1393, - "end": 1396, + "start": 1355, + "end": 1358, "loc": { "start": { - "line": 52, + "line": 50, "column": 21 }, "end": { - "line": 52, + "line": 50, "column": 24 } } @@ -11397,15 +10947,15 @@ "updateContext": null }, "value": "string", - "start": 1397, - "end": 1405, + "start": 1359, + "end": 1367, "loc": { "start": { - "line": 52, + "line": 50, "column": 25 }, "end": { - "line": 52, + "line": 50, "column": 33 } } @@ -11422,15 +10972,15 @@ "postfix": false, "binop": null }, - "start": 1405, - "end": 1406, + "start": 1367, + "end": 1368, "loc": { "start": { - "line": 52, + "line": 50, "column": 33 }, "end": { - "line": 52, + "line": 50, "column": 34 } } @@ -11447,15 +10997,15 @@ "postfix": false, "binop": null }, - "start": 1407, - "end": 1408, + "start": 1369, + "end": 1370, "loc": { "start": { - "line": 52, + "line": 50, "column": 35 }, "end": { - "line": 52, + "line": 50, "column": 36 } } @@ -11475,15 +11025,15 @@ "updateContext": null }, "value": "if", - "start": 1415, - "end": 1417, + "start": 1377, + "end": 1379, "loc": { "start": { - "line": 53, + "line": 51, "column": 6 }, "end": { - "line": 53, + "line": 51, "column": 8 } } @@ -11500,15 +11050,15 @@ "postfix": false, "binop": null }, - "start": 1418, - "end": 1419, + "start": 1380, + "end": 1381, "loc": { "start": { - "line": 53, + "line": 51, "column": 9 }, "end": { - "line": 53, + "line": 51, "column": 10 } } @@ -11526,15 +11076,15 @@ "binop": null }, "value": "month", - "start": 1419, - "end": 1424, + "start": 1381, + "end": 1386, "loc": { "start": { - "line": 53, + "line": 51, "column": 10 }, "end": { - "line": 53, + "line": 51, "column": 15 } } @@ -11553,15 +11103,15 @@ "updateContext": null }, "value": "===", - "start": 1425, - "end": 1428, + "start": 1387, + "end": 1390, "loc": { "start": { - "line": 53, + "line": 51, "column": 16 }, "end": { - "line": 53, + "line": 51, "column": 19 } } @@ -11580,15 +11130,15 @@ "updateContext": null }, "value": "*", - "start": 1429, - "end": 1432, + "start": 1391, + "end": 1394, "loc": { "start": { - "line": 53, + "line": 51, "column": 20 }, "end": { - "line": 53, + "line": 51, "column": 23 } } @@ -11605,15 +11155,15 @@ "postfix": false, "binop": null }, - "start": 1432, - "end": 1433, + "start": 1394, + "end": 1395, "loc": { "start": { - "line": 53, + "line": 51, "column": 23 }, "end": { - "line": 53, + "line": 51, "column": 24 } } @@ -11630,15 +11180,15 @@ "postfix": false, "binop": null }, - "start": 1434, - "end": 1435, + "start": 1396, + "end": 1397, "loc": { "start": { - "line": 53, + "line": 51, "column": 25 }, "end": { - "line": 53, + "line": 51, "column": 26 } } @@ -11656,15 +11206,15 @@ "binop": null }, "value": "newMonth", - "start": 1444, - "end": 1452, + "start": 1406, + "end": 1414, "loc": { "start": { - "line": 54, + "line": 52, "column": 8 }, "end": { - "line": 54, + "line": 52, "column": 16 } } @@ -11683,15 +11233,15 @@ "updateContext": null }, "value": "=", - "start": 1453, - "end": 1454, + "start": 1415, + "end": 1416, "loc": { "start": { - "line": 54, + "line": 52, "column": 17 }, "end": { - "line": 54, + "line": 52, "column": 18 } } @@ -11709,15 +11259,15 @@ "binop": null }, "value": "wildcard", - "start": 1455, - "end": 1463, + "start": 1417, + "end": 1425, "loc": { "start": { - "line": 54, + "line": 52, "column": 19 }, "end": { - "line": 54, + "line": 52, "column": 27 } } @@ -11735,15 +11285,15 @@ "binop": null, "updateContext": null }, - "start": 1463, - "end": 1464, + "start": 1425, + "end": 1426, "loc": { "start": { - "line": 54, + "line": 52, "column": 27 }, "end": { - "line": 54, + "line": 52, "column": 28 } } @@ -11760,15 +11310,15 @@ "postfix": false, "binop": null }, - "start": 1471, - "end": 1472, + "start": 1433, + "end": 1434, "loc": { "start": { - "line": 55, + "line": 53, "column": 6 }, "end": { - "line": 55, + "line": 53, "column": 7 } } @@ -11788,15 +11338,15 @@ "updateContext": null }, "value": "else", - "start": 1473, - "end": 1477, + "start": 1435, + "end": 1439, "loc": { "start": { - "line": 55, + "line": 53, "column": 8 }, "end": { - "line": 55, + "line": 53, "column": 12 } } @@ -11813,15 +11363,15 @@ "postfix": false, "binop": null }, - "start": 1478, - "end": 1479, + "start": 1440, + "end": 1441, "loc": { "start": { - "line": 55, + "line": 53, "column": 13 }, "end": { - "line": 55, + "line": 53, "column": 14 } } @@ -11839,15 +11389,15 @@ "binop": null }, "value": "newMonth", - "start": 1488, - "end": 1496, + "start": 1450, + "end": 1458, "loc": { "start": { - "line": 56, + "line": 54, "column": 8 }, "end": { - "line": 56, + "line": 54, "column": 16 } } @@ -11866,15 +11416,15 @@ "updateContext": null }, "value": "=", - "start": 1497, - "end": 1498, + "start": 1459, + "end": 1460, "loc": { "start": { - "line": 56, + "line": 54, "column": 17 }, "end": { - "line": 56, + "line": 54, "column": 18 } } @@ -11892,15 +11442,15 @@ "binop": null }, "value": "getHaabMonth", - "start": 1499, - "end": 1511, + "start": 1461, + "end": 1473, "loc": { "start": { - "line": 56, + "line": 54, "column": 19 }, "end": { - "line": 56, + "line": 54, "column": 31 } } @@ -11917,15 +11467,15 @@ "postfix": false, "binop": null }, - "start": 1511, - "end": 1512, + "start": 1473, + "end": 1474, "loc": { "start": { - "line": 56, + "line": 54, "column": 31 }, "end": { - "line": 56, + "line": 54, "column": 32 } } @@ -11943,15 +11493,15 @@ "binop": null }, "value": "month", - "start": 1512, - "end": 1517, + "start": 1474, + "end": 1479, "loc": { "start": { - "line": 56, + "line": 54, "column": 32 }, "end": { - "line": 56, + "line": 54, "column": 37 } } @@ -11968,15 +11518,15 @@ "postfix": false, "binop": null }, - "start": 1517, - "end": 1518, + "start": 1479, + "end": 1480, "loc": { "start": { - "line": 56, + "line": 54, "column": 37 }, "end": { - "line": 56, + "line": 54, "column": 38 } } @@ -11994,15 +11544,15 @@ "binop": null, "updateContext": null }, - "start": 1518, - "end": 1519, + "start": 1480, + "end": 1481, "loc": { "start": { - "line": 56, + "line": 54, "column": 38 }, "end": { - "line": 56, + "line": 54, "column": 39 } } @@ -12010,15 +11560,15 @@ { "type": "CommentLine", "value": " newMonth = new HaabMonth(month);", - "start": 1528, - "end": 1563, + "start": 1490, + "end": 1525, "loc": { "start": { - "line": 57, + "line": 55, "column": 8 }, "end": { - "line": 57, + "line": 55, "column": 43 } } @@ -12035,15 +11585,15 @@ "postfix": false, "binop": null }, - "start": 1570, - "end": 1571, + "start": 1532, + "end": 1533, "loc": { "start": { - "line": 58, + "line": 56, "column": 6 }, "end": { - "line": 58, + "line": 56, "column": 7 } } @@ -12060,15 +11610,15 @@ "postfix": false, "binop": null }, - "start": 1576, - "end": 1577, + "start": 1538, + "end": 1539, "loc": { "start": { - "line": 59, + "line": 57, "column": 4 }, "end": { - "line": 59, + "line": 57, "column": 5 } } @@ -12076,15 +11626,15 @@ { "type": "CommentBlock", "value": "*\n * @type {HaabMonth|Wildcard}\n ", - "start": 1582, - "end": 1627, + "start": 1544, + "end": 1589, "loc": { "start": { - "line": 60, + "line": 58, "column": 4 }, "end": { - "line": 62, + "line": 60, "column": 7 } } @@ -12104,15 +11654,15 @@ "updateContext": null }, "value": "this", - "start": 1632, - "end": 1636, + "start": 1594, + "end": 1598, "loc": { "start": { - "line": 63, + "line": 61, "column": 4 }, "end": { - "line": 63, + "line": 61, "column": 8 } } @@ -12130,15 +11680,15 @@ "binop": null, "updateContext": null }, - "start": 1636, - "end": 1637, + "start": 1598, + "end": 1599, "loc": { "start": { - "line": 63, + "line": 61, "column": 8 }, "end": { - "line": 63, + "line": 61, "column": 9 } } @@ -12156,15 +11706,15 @@ "binop": null }, "value": "month", - "start": 1637, - "end": 1642, + "start": 1599, + "end": 1604, "loc": { "start": { - "line": 63, + "line": 61, "column": 9 }, "end": { - "line": 63, + "line": 61, "column": 14 } } @@ -12183,15 +11733,15 @@ "updateContext": null }, "value": "=", - "start": 1643, - "end": 1644, + "start": 1605, + "end": 1606, "loc": { "start": { - "line": 63, + "line": 61, "column": 15 }, "end": { - "line": 63, + "line": 61, "column": 16 } } @@ -12209,15 +11759,15 @@ "binop": null }, "value": "newMonth", - "start": 1645, - "end": 1653, + "start": 1607, + "end": 1615, "loc": { "start": { - "line": 63, + "line": 61, "column": 17 }, "end": { - "line": 63, + "line": 61, "column": 25 } } @@ -12235,15 +11785,15 @@ "binop": null, "updateContext": null }, - "start": 1653, - "end": 1654, + "start": 1615, + "end": 1616, "loc": { "start": { - "line": 63, + "line": 61, "column": 25 }, "end": { - "line": 63, + "line": 61, "column": 26 } } @@ -12251,15 +11801,15 @@ { "type": "CommentBlock", "value": "*\n * @type {number|Wildcard}\n ", - "start": 1659, - "end": 1701, + "start": 1621, + "end": 1663, "loc": { "start": { - "line": 64, + "line": 62, "column": 4 }, "end": { - "line": 66, + "line": 64, "column": 7 } } @@ -12279,15 +11829,15 @@ "updateContext": null }, "value": "this", - "start": 1706, - "end": 1710, + "start": 1668, + "end": 1672, "loc": { "start": { - "line": 67, + "line": 65, "column": 4 }, "end": { - "line": 67, + "line": 65, "column": 8 } } @@ -12305,15 +11855,15 @@ "binop": null, "updateContext": null }, - "start": 1710, - "end": 1711, + "start": 1672, + "end": 1673, "loc": { "start": { - "line": 67, + "line": 65, "column": 8 }, "end": { - "line": 67, + "line": 65, "column": 9 } } @@ -12331,15 +11881,15 @@ "binop": null }, "value": "coeff", - "start": 1711, - "end": 1716, + "start": 1673, + "end": 1678, "loc": { "start": { - "line": 67, + "line": 65, "column": 9 }, "end": { - "line": 67, + "line": 65, "column": 14 } } @@ -12358,15 +11908,15 @@ "updateContext": null }, "value": "=", - "start": 1717, - "end": 1718, + "start": 1679, + "end": 1680, "loc": { "start": { - "line": 67, + "line": 65, "column": 15 }, "end": { - "line": 67, + "line": 65, "column": 16 } } @@ -12384,15 +11934,15 @@ "binop": null }, "value": "newCoeff", - "start": 1719, - "end": 1727, + "start": 1681, + "end": 1689, "loc": { "start": { - "line": 67, + "line": 65, "column": 17 }, "end": { - "line": 67, + "line": 65, "column": 25 } } @@ -12410,15 +11960,15 @@ "binop": null, "updateContext": null }, - "start": 1727, - "end": 1728, + "start": 1689, + "end": 1690, "loc": { "start": { - "line": 67, + "line": 65, "column": 25 }, "end": { - "line": 67, + "line": 65, "column": 26 } } @@ -12426,15 +11976,15 @@ { "type": "CommentBlock", "value": "*\n * Lazy loaded instance of the next Haab date in the cycle\n * @type {Haab}\n ", - "start": 1734, - "end": 1828, + "start": 1696, + "end": 1790, "loc": { "start": { - "line": 69, + "line": 67, "column": 4 }, "end": { - "line": 72, + "line": 70, "column": 7 } } @@ -12454,15 +12004,15 @@ "updateContext": null }, "value": "this", - "start": 1833, - "end": 1837, + "start": 1795, + "end": 1799, "loc": { "start": { - "line": 73, + "line": 71, "column": 4 }, "end": { - "line": 73, + "line": 71, "column": 8 } } @@ -12480,15 +12030,15 @@ "binop": null, "updateContext": null }, - "start": 1837, - "end": 1838, + "start": 1799, + "end": 1800, "loc": { "start": { - "line": 73, + "line": 71, "column": 8 }, "end": { - "line": 73, + "line": 71, "column": 9 } } @@ -12506,15 +12056,15 @@ "binop": null }, "value": "private_next", - "start": 1838, - "end": 1850, + "start": 1800, + "end": 1812, "loc": { "start": { - "line": 73, + "line": 71, "column": 9 }, "end": { - "line": 73, + "line": 71, "column": 21 } } @@ -12533,15 +12083,15 @@ "updateContext": null }, "value": "=", - "start": 1851, - "end": 1852, + "start": 1813, + "end": 1814, "loc": { "start": { - "line": 73, + "line": 71, "column": 22 }, "end": { - "line": 73, + "line": 71, "column": 23 } } @@ -12559,15 +12109,15 @@ "binop": null }, "value": "undefined", - "start": 1853, - "end": 1862, + "start": 1815, + "end": 1824, "loc": { "start": { - "line": 73, + "line": 71, "column": 24 }, "end": { - "line": 73, + "line": 71, "column": 33 } } @@ -12585,15 +12135,15 @@ "binop": null, "updateContext": null }, - "start": 1862, - "end": 1863, + "start": 1824, + "end": 1825, "loc": { "start": { - "line": 73, + "line": 71, "column": 33 }, "end": { - "line": 73, + "line": 71, "column": 34 } } @@ -12613,15 +12163,15 @@ "updateContext": null }, "value": "this", - "start": 1869, - "end": 1873, + "start": 1831, + "end": 1835, "loc": { "start": { - "line": 75, + "line": 73, "column": 4 }, "end": { - "line": 75, + "line": 73, "column": 8 } } @@ -12639,15 +12189,15 @@ "binop": null, "updateContext": null }, - "start": 1873, - "end": 1874, + "start": 1835, + "end": 1836, "loc": { "start": { - "line": 75, + "line": 73, "column": 8 }, "end": { - "line": 75, + "line": 73, "column": 9 } } @@ -12665,15 +12215,15 @@ "binop": null }, "value": "validate", - "start": 1874, - "end": 1882, + "start": 1836, + "end": 1844, "loc": { "start": { - "line": 75, + "line": 73, "column": 9 }, "end": { - "line": 75, + "line": 73, "column": 17 } } @@ -12690,15 +12240,15 @@ "postfix": false, "binop": null }, - "start": 1882, - "end": 1883, + "start": 1844, + "end": 1845, "loc": { "start": { - "line": 75, + "line": 73, "column": 17 }, "end": { - "line": 75, + "line": 73, "column": 18 } } @@ -12715,15 +12265,15 @@ "postfix": false, "binop": null }, - "start": 1883, - "end": 1884, + "start": 1845, + "end": 1846, "loc": { "start": { - "line": 75, + "line": 73, "column": 18 }, "end": { - "line": 75, + "line": 73, "column": 19 } } @@ -12741,15 +12291,15 @@ "binop": null, "updateContext": null }, - "start": 1884, - "end": 1885, + "start": 1846, + "end": 1847, "loc": { "start": { - "line": 75, + "line": 73, "column": 19 }, "end": { - "line": 75, + "line": 73, "column": 20 } } @@ -12766,15 +12316,15 @@ "postfix": false, "binop": null }, - "start": 1888, - "end": 1889, + "start": 1850, + "end": 1851, "loc": { "start": { - "line": 76, + "line": 74, "column": 2 }, "end": { - "line": 76, + "line": 74, "column": 3 } } @@ -12782,15 +12332,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Haab's coefficients are within range and the month is defined\n * @return {boolean}\n ", - "start": 1893, - "end": 2003, + "start": 1855, + "end": 1965, "loc": { "start": { - "line": 78, + "line": 76, "column": 2 }, "end": { - "line": 81, + "line": 79, "column": 5 } } @@ -12808,15 +12358,15 @@ "binop": null }, "value": "validate", - "start": 2006, - "end": 2014, + "start": 1968, + "end": 1976, "loc": { "start": { - "line": 82, + "line": 80, "column": 2 }, "end": { - "line": 82, + "line": 80, "column": 10 } } @@ -12833,15 +12383,15 @@ "postfix": false, "binop": null }, - "start": 2014, - "end": 2015, + "start": 1976, + "end": 1977, "loc": { "start": { - "line": 82, + "line": 80, "column": 10 }, "end": { - "line": 82, + "line": 80, "column": 11 } } @@ -12858,15 +12408,15 @@ "postfix": false, "binop": null }, - "start": 2015, - "end": 2016, + "start": 1977, + "end": 1978, "loc": { "start": { - "line": 82, + "line": 80, "column": 11 }, "end": { - "line": 82, + "line": 80, "column": 12 } } @@ -12883,15 +12433,15 @@ "postfix": false, "binop": null }, - "start": 2017, - "end": 2018, + "start": 1979, + "end": 1980, "loc": { "start": { - "line": 82, + "line": 80, "column": 13 }, "end": { - "line": 82, + "line": 80, "column": 14 } } @@ -12911,15 +12461,15 @@ "updateContext": null }, "value": "if", - "start": 2023, - "end": 2025, + "start": 1985, + "end": 1987, "loc": { "start": { - "line": 83, + "line": 81, "column": 4 }, "end": { - "line": 83, + "line": 81, "column": 6 } } @@ -12936,15 +12486,15 @@ "postfix": false, "binop": null }, - "start": 2026, - "end": 2027, + "start": 1988, + "end": 1989, "loc": { "start": { - "line": 83, + "line": 81, "column": 7 }, "end": { - "line": 83, + "line": 81, "column": 8 } } @@ -12964,15 +12514,15 @@ "updateContext": null }, "value": "this", - "start": 2027, - "end": 2031, + "start": 1989, + "end": 1993, "loc": { "start": { - "line": 83, + "line": 81, "column": 8 }, "end": { - "line": 83, + "line": 81, "column": 12 } } @@ -12990,15 +12540,15 @@ "binop": null, "updateContext": null }, - "start": 2031, - "end": 2032, + "start": 1993, + "end": 1994, "loc": { "start": { - "line": 83, + "line": 81, "column": 12 }, "end": { - "line": 83, + "line": 81, "column": 13 } } @@ -13016,15 +12566,15 @@ "binop": null }, "value": "coeff", - "start": 2032, - "end": 2037, + "start": 1994, + "end": 1999, "loc": { "start": { - "line": 83, + "line": 81, "column": 13 }, "end": { - "line": 83, + "line": 81, "column": 18 } } @@ -13043,15 +12593,15 @@ "updateContext": null }, "value": ">", - "start": 2038, - "end": 2039, + "start": 2000, + "end": 2001, "loc": { "start": { - "line": 83, + "line": 81, "column": 19 }, "end": { - "line": 83, + "line": 81, "column": 20 } } @@ -13070,15 +12620,15 @@ "updateContext": null }, "value": 19, - "start": 2040, - "end": 2042, + "start": 2002, + "end": 2004, "loc": { "start": { - "line": 83, + "line": 81, "column": 21 }, "end": { - "line": 83, + "line": 81, "column": 23 } } @@ -13097,15 +12647,15 @@ "updateContext": null }, "value": "||", - "start": 2043, - "end": 2045, + "start": 2005, + "end": 2007, "loc": { "start": { - "line": 83, + "line": 81, "column": 24 }, "end": { - "line": 83, + "line": 81, "column": 26 } } @@ -13125,15 +12675,15 @@ "updateContext": null }, "value": "this", - "start": 2046, - "end": 2050, + "start": 2008, + "end": 2012, "loc": { "start": { - "line": 83, + "line": 81, "column": 27 }, "end": { - "line": 83, + "line": 81, "column": 31 } } @@ -13151,15 +12701,15 @@ "binop": null, "updateContext": null }, - "start": 2050, - "end": 2051, + "start": 2012, + "end": 2013, "loc": { "start": { - "line": 83, + "line": 81, "column": 31 }, "end": { - "line": 83, + "line": 81, "column": 32 } } @@ -13177,15 +12727,15 @@ "binop": null }, "value": "coeff", - "start": 2051, - "end": 2056, + "start": 2013, + "end": 2018, "loc": { "start": { - "line": 83, + "line": 81, "column": 32 }, "end": { - "line": 83, + "line": 81, "column": 37 } } @@ -13204,15 +12754,15 @@ "updateContext": null }, "value": "<", - "start": 2057, - "end": 2058, + "start": 2019, + "end": 2020, "loc": { "start": { - "line": 83, + "line": 81, "column": 38 }, "end": { - "line": 83, + "line": 81, "column": 39 } } @@ -13231,15 +12781,15 @@ "updateContext": null }, "value": 0, - "start": 2059, - "end": 2060, + "start": 2021, + "end": 2022, "loc": { "start": { - "line": 83, + "line": 81, "column": 40 }, "end": { - "line": 83, + "line": 81, "column": 41 } } @@ -13256,15 +12806,15 @@ "postfix": false, "binop": null }, - "start": 2060, - "end": 2061, + "start": 2022, + "end": 2023, "loc": { "start": { - "line": 83, + "line": 81, "column": 41 }, "end": { - "line": 83, + "line": 81, "column": 42 } } @@ -13281,15 +12831,15 @@ "postfix": false, "binop": null }, - "start": 2062, - "end": 2063, + "start": 2024, + "end": 2025, "loc": { "start": { - "line": 83, + "line": 81, "column": 43 }, "end": { - "line": 83, + "line": 81, "column": 44 } } @@ -13309,15 +12859,15 @@ "updateContext": null }, "value": "throw", - "start": 2070, - "end": 2075, + "start": 2032, + "end": 2037, "loc": { "start": { - "line": 84, + "line": 82, "column": 6 }, "end": { - "line": 84, + "line": 82, "column": 11 } } @@ -13337,15 +12887,15 @@ "updateContext": null }, "value": "new", - "start": 2076, - "end": 2079, + "start": 2038, + "end": 2041, "loc": { "start": { - "line": 84, + "line": 82, "column": 12 }, "end": { - "line": 84, + "line": 82, "column": 15 } } @@ -13363,15 +12913,15 @@ "binop": null }, "value": "Error", - "start": 2080, - "end": 2085, + "start": 2042, + "end": 2047, "loc": { "start": { - "line": 84, + "line": 82, "column": 16 }, "end": { - "line": 84, + "line": 82, "column": 21 } } @@ -13388,15 +12938,15 @@ "postfix": false, "binop": null }, - "start": 2085, - "end": 2086, + "start": 2047, + "end": 2048, "loc": { "start": { - "line": 84, + "line": 82, "column": 21 }, "end": { - "line": 84, + "line": 82, "column": 22 } } @@ -13415,15 +12965,15 @@ "updateContext": null }, "value": "Haab' coefficient must inclusively between 0 and 19.", - "start": 2086, - "end": 2141, + "start": 2048, + "end": 2103, "loc": { "start": { - "line": 84, + "line": 82, "column": 22 }, "end": { - "line": 84, + "line": 82, "column": 77 } } @@ -13440,15 +12990,15 @@ "postfix": false, "binop": null }, - "start": 2141, - "end": 2142, + "start": 2103, + "end": 2104, "loc": { "start": { - "line": 84, + "line": 82, "column": 77 }, "end": { - "line": 84, + "line": 82, "column": 78 } } @@ -13466,15 +13016,15 @@ "binop": null, "updateContext": null }, - "start": 2142, - "end": 2143, + "start": 2104, + "end": 2105, "loc": { "start": { - "line": 84, + "line": 82, "column": 78 }, "end": { - "line": 84, + "line": 82, "column": 79 } } @@ -13491,15 +13041,15 @@ "postfix": false, "binop": null }, - "start": 2148, - "end": 2149, + "start": 2110, + "end": 2111, "loc": { "start": { - "line": 85, + "line": 83, "column": 4 }, "end": { - "line": 85, + "line": 83, "column": 5 } } @@ -13519,15 +13069,15 @@ "updateContext": null }, "value": "if", - "start": 2154, - "end": 2156, + "start": 2116, + "end": 2118, "loc": { "start": { - "line": 86, + "line": 84, "column": 4 }, "end": { - "line": 86, + "line": 84, "column": 6 } } @@ -13544,15 +13094,15 @@ "postfix": false, "binop": null }, - "start": 2157, - "end": 2158, + "start": 2119, + "end": 2120, "loc": { "start": { - "line": 86, + "line": 84, "column": 7 }, "end": { - "line": 86, + "line": 84, "column": 8 } } @@ -13572,15 +13122,15 @@ "updateContext": null }, "value": "this", - "start": 2158, - "end": 2162, + "start": 2120, + "end": 2124, "loc": { "start": { - "line": 86, + "line": 84, "column": 8 }, "end": { - "line": 86, + "line": 84, "column": 12 } } @@ -13598,15 +13148,15 @@ "binop": null, "updateContext": null }, - "start": 2162, - "end": 2163, + "start": 2124, + "end": 2125, "loc": { "start": { - "line": 86, + "line": 84, "column": 12 }, "end": { - "line": 86, + "line": 84, "column": 13 } } @@ -13624,15 +13174,15 @@ "binop": null }, "value": "month", - "start": 2163, - "end": 2168, + "start": 2125, + "end": 2130, "loc": { "start": { - "line": 86, + "line": 84, "column": 13 }, "end": { - "line": 86, + "line": 84, "column": 18 } } @@ -13651,15 +13201,15 @@ "updateContext": null }, "value": "===", - "start": 2169, - "end": 2172, + "start": 2131, + "end": 2134, "loc": { "start": { - "line": 86, + "line": 84, "column": 19 }, "end": { - "line": 86, + "line": 84, "column": 22 } } @@ -13677,15 +13227,15 @@ "binop": null }, "value": "getHaabMonth", - "start": 2173, - "end": 2185, + "start": 2135, + "end": 2147, "loc": { "start": { - "line": 86, + "line": 84, "column": 23 }, "end": { - "line": 86, + "line": 84, "column": 35 } } @@ -13702,15 +13252,15 @@ "postfix": false, "binop": null }, - "start": 2185, - "end": 2186, + "start": 2147, + "end": 2148, "loc": { "start": { - "line": 86, + "line": 84, "column": 35 }, "end": { - "line": 86, + "line": 84, "column": 36 } } @@ -13729,15 +13279,15 @@ "updateContext": null }, "value": "Wayeb", - "start": 2186, - "end": 2193, + "start": 2148, + "end": 2155, "loc": { "start": { - "line": 86, + "line": 84, "column": 36 }, "end": { - "line": 86, + "line": 84, "column": 43 } } @@ -13754,15 +13304,15 @@ "postfix": false, "binop": null }, - "start": 2193, - "end": 2194, + "start": 2155, + "end": 2156, "loc": { "start": { - "line": 86, + "line": 84, "column": 43 }, "end": { - "line": 86, + "line": 84, "column": 44 } } @@ -13781,15 +13331,15 @@ "updateContext": null }, "value": "&&", - "start": 2195, - "end": 2197, + "start": 2157, + "end": 2159, "loc": { "start": { - "line": 86, + "line": 84, "column": 45 }, "end": { - "line": 86, + "line": 84, "column": 47 } } @@ -13809,15 +13359,15 @@ "updateContext": null }, "value": "this", - "start": 2198, - "end": 2202, + "start": 2160, + "end": 2164, "loc": { "start": { - "line": 86, + "line": 84, "column": 48 }, "end": { - "line": 86, + "line": 84, "column": 52 } } @@ -13835,15 +13385,15 @@ "binop": null, "updateContext": null }, - "start": 2202, - "end": 2203, + "start": 2164, + "end": 2165, "loc": { "start": { - "line": 86, + "line": 84, "column": 52 }, "end": { - "line": 86, + "line": 84, "column": 53 } } @@ -13861,15 +13411,15 @@ "binop": null }, "value": "coeff", - "start": 2203, - "end": 2208, + "start": 2165, + "end": 2170, "loc": { "start": { - "line": 86, + "line": 84, "column": 53 }, "end": { - "line": 86, + "line": 84, "column": 58 } } @@ -13888,15 +13438,15 @@ "updateContext": null }, "value": ">", - "start": 2209, - "end": 2210, + "start": 2171, + "end": 2172, "loc": { "start": { - "line": 86, + "line": 84, "column": 59 }, "end": { - "line": 86, + "line": 84, "column": 60 } } @@ -13915,15 +13465,15 @@ "updateContext": null }, "value": 4, - "start": 2211, - "end": 2212, + "start": 2173, + "end": 2174, "loc": { "start": { - "line": 86, + "line": 84, "column": 61 }, "end": { - "line": 86, + "line": 84, "column": 62 } } @@ -13940,15 +13490,15 @@ "postfix": false, "binop": null }, - "start": 2212, - "end": 2213, + "start": 2174, + "end": 2175, "loc": { "start": { - "line": 86, + "line": 84, "column": 62 }, "end": { - "line": 86, + "line": 84, "column": 63 } } @@ -13965,15 +13515,15 @@ "postfix": false, "binop": null }, - "start": 2214, - "end": 2215, + "start": 2176, + "end": 2177, "loc": { "start": { - "line": 86, + "line": 84, "column": 64 }, "end": { - "line": 86, + "line": 84, "column": 65 } } @@ -13993,15 +13543,15 @@ "updateContext": null }, "value": "throw", - "start": 2222, - "end": 2227, + "start": 2184, + "end": 2189, "loc": { "start": { - "line": 87, + "line": 85, "column": 6 }, "end": { - "line": 87, + "line": 85, "column": 11 } } @@ -14021,15 +13571,15 @@ "updateContext": null }, "value": "new", - "start": 2228, - "end": 2231, + "start": 2190, + "end": 2193, "loc": { "start": { - "line": 87, + "line": 85, "column": 12 }, "end": { - "line": 87, + "line": 85, "column": 15 } } @@ -14047,15 +13597,15 @@ "binop": null }, "value": "Error", - "start": 2232, - "end": 2237, + "start": 2194, + "end": 2199, "loc": { "start": { - "line": 87, + "line": 85, "column": 16 }, "end": { - "line": 87, + "line": 85, "column": 21 } } @@ -14072,15 +13622,15 @@ "postfix": false, "binop": null }, - "start": 2237, - "end": 2238, + "start": 2199, + "end": 2200, "loc": { "start": { - "line": 87, + "line": 85, "column": 21 }, "end": { - "line": 87, + "line": 85, "column": 22 } } @@ -14099,15 +13649,15 @@ "updateContext": null }, "value": "Haab' coefficient for Wayeb must inclusively between 0 and 4.", - "start": 2238, - "end": 2302, + "start": 2200, + "end": 2264, "loc": { "start": { - "line": 87, + "line": 85, "column": 22 }, "end": { - "line": 87, + "line": 85, "column": 86 } } @@ -14124,15 +13674,15 @@ "postfix": false, "binop": null }, - "start": 2302, - "end": 2303, + "start": 2264, + "end": 2265, "loc": { "start": { - "line": 87, + "line": 85, "column": 86 }, "end": { - "line": 87, + "line": 85, "column": 87 } } @@ -14150,15 +13700,15 @@ "binop": null, "updateContext": null }, - "start": 2303, - "end": 2304, + "start": 2265, + "end": 2266, "loc": { "start": { - "line": 87, + "line": 85, "column": 87 }, "end": { - "line": 87, + "line": 85, "column": 88 } } @@ -14175,15 +13725,15 @@ "postfix": false, "binop": null }, - "start": 2309, - "end": 2310, + "start": 2271, + "end": 2272, "loc": { "start": { - "line": 88, + "line": 86, "column": 4 }, "end": { - "line": 88, + "line": 86, "column": 5 } } @@ -14203,15 +13753,15 @@ "updateContext": null }, "value": "if", - "start": 2315, - "end": 2317, + "start": 2277, + "end": 2279, "loc": { "start": { - "line": 89, + "line": 87, "column": 4 }, "end": { - "line": 89, + "line": 87, "column": 6 } } @@ -14228,15 +13778,15 @@ "postfix": false, "binop": null }, - "start": 2318, - "end": 2319, + "start": 2280, + "end": 2281, "loc": { "start": { - "line": 89, + "line": 87, "column": 7 }, "end": { - "line": 89, + "line": 87, "column": 8 } } @@ -14256,15 +13806,15 @@ "updateContext": null }, "value": "this", - "start": 2319, - "end": 2323, + "start": 2281, + "end": 2285, "loc": { "start": { - "line": 89, + "line": 87, "column": 8 }, "end": { - "line": 89, + "line": 87, "column": 12 } } @@ -14282,15 +13832,15 @@ "binop": null, "updateContext": null }, - "start": 2323, - "end": 2324, + "start": 2285, + "end": 2286, "loc": { "start": { - "line": 89, + "line": 87, "column": 12 }, "end": { - "line": 89, + "line": 87, "column": 13 } } @@ -14308,15 +13858,15 @@ "binop": null }, "value": "month", - "start": 2324, - "end": 2329, + "start": 2286, + "end": 2291, "loc": { "start": { - "line": 89, + "line": 87, "column": 13 }, "end": { - "line": 89, + "line": 87, "column": 18 } } @@ -14335,15 +13885,15 @@ "updateContext": null }, "value": "===", - "start": 2330, - "end": 2333, + "start": 2292, + "end": 2295, "loc": { "start": { - "line": 89, + "line": 87, "column": 19 }, "end": { - "line": 89, + "line": 87, "column": 22 } } @@ -14361,15 +13911,15 @@ "binop": null }, "value": "undefined", - "start": 2334, - "end": 2343, + "start": 2296, + "end": 2305, "loc": { "start": { - "line": 89, + "line": 87, "column": 23 }, "end": { - "line": 89, + "line": 87, "column": 32 } } @@ -14386,15 +13936,15 @@ "postfix": false, "binop": null }, - "start": 2343, - "end": 2344, + "start": 2305, + "end": 2306, "loc": { "start": { - "line": 89, + "line": 87, "column": 32 }, "end": { - "line": 89, + "line": 87, "column": 33 } } @@ -14411,15 +13961,15 @@ "postfix": false, "binop": null }, - "start": 2345, - "end": 2346, + "start": 2307, + "end": 2308, "loc": { "start": { - "line": 89, + "line": 87, "column": 34 }, "end": { - "line": 89, + "line": 87, "column": 35 } } @@ -14439,15 +13989,15 @@ "updateContext": null }, "value": "throw", - "start": 2353, - "end": 2358, + "start": 2315, + "end": 2320, "loc": { "start": { - "line": 90, + "line": 88, "column": 6 }, "end": { - "line": 90, + "line": 88, "column": 11 } } @@ -14467,15 +14017,15 @@ "updateContext": null }, "value": "new", - "start": 2359, - "end": 2362, + "start": 2321, + "end": 2324, "loc": { "start": { - "line": 90, + "line": 88, "column": 12 }, "end": { - "line": 90, + "line": 88, "column": 15 } } @@ -14493,15 +14043,15 @@ "binop": null }, "value": "Error", - "start": 2363, - "end": 2368, + "start": 2325, + "end": 2330, "loc": { "start": { - "line": 90, + "line": 88, "column": 16 }, "end": { - "line": 90, + "line": 88, "column": 21 } } @@ -14518,15 +14068,15 @@ "postfix": false, "binop": null }, - "start": 2368, - "end": 2369, + "start": 2330, + "end": 2331, "loc": { "start": { - "line": 90, + "line": 88, "column": 21 }, "end": { - "line": 90, + "line": 88, "column": 22 } } @@ -14545,15 +14095,15 @@ "updateContext": null }, "value": "Haab' month must be provided", - "start": 2369, - "end": 2400, + "start": 2331, + "end": 2362, "loc": { "start": { - "line": 90, + "line": 88, "column": 22 }, "end": { - "line": 90, + "line": 88, "column": 53 } } @@ -14570,15 +14120,15 @@ "postfix": false, "binop": null }, - "start": 2400, - "end": 2401, + "start": 2362, + "end": 2363, "loc": { "start": { - "line": 90, + "line": 88, "column": 53 }, "end": { - "line": 90, + "line": 88, "column": 54 } } @@ -14596,15 +14146,15 @@ "binop": null, "updateContext": null }, - "start": 2401, - "end": 2402, + "start": 2363, + "end": 2364, "loc": { "start": { - "line": 90, + "line": 88, "column": 54 }, "end": { - "line": 90, + "line": 88, "column": 55 } } @@ -14621,15 +14171,15 @@ "postfix": false, "binop": null }, - "start": 2407, - "end": 2408, + "start": 2369, + "end": 2370, "loc": { "start": { - "line": 91, + "line": 89, "column": 4 }, "end": { - "line": 91, + "line": 89, "column": 5 } } @@ -14649,15 +14199,15 @@ "updateContext": null }, "value": "if", - "start": 2413, - "end": 2415, + "start": 2375, + "end": 2377, "loc": { "start": { - "line": 92, + "line": 90, "column": 4 }, "end": { - "line": 92, + "line": 90, "column": 6 } } @@ -14674,15 +14224,15 @@ "postfix": false, "binop": null }, - "start": 2416, - "end": 2417, + "start": 2378, + "end": 2379, "loc": { "start": { - "line": 92, + "line": 90, "column": 7 }, "end": { - "line": 92, + "line": 90, "column": 8 } } @@ -14702,15 +14252,15 @@ "updateContext": null }, "value": "this", - "start": 2417, - "end": 2421, + "start": 2379, + "end": 2383, "loc": { "start": { - "line": 92, + "line": 90, "column": 8 }, "end": { - "line": 92, + "line": 90, "column": 12 } } @@ -14728,15 +14278,15 @@ "binop": null, "updateContext": null }, - "start": 2421, - "end": 2422, + "start": 2383, + "end": 2384, "loc": { "start": { - "line": 92, + "line": 90, "column": 12 }, "end": { - "line": 92, + "line": 90, "column": 13 } } @@ -14754,15 +14304,15 @@ "binop": null }, "value": "month", - "start": 2422, - "end": 2427, + "start": 2384, + "end": 2389, "loc": { "start": { - "line": 92, + "line": 90, "column": 13 }, "end": { - "line": 92, + "line": 90, "column": 18 } } @@ -14781,15 +14331,15 @@ "updateContext": null }, "value": "!==", - "start": 2428, - "end": 2431, + "start": 2390, + "end": 2393, "loc": { "start": { - "line": 92, + "line": 90, "column": 19 }, "end": { - "line": 92, + "line": 90, "column": 22 } } @@ -14807,15 +14357,15 @@ "binop": null }, "value": "wildcard", - "start": 2432, - "end": 2440, + "start": 2394, + "end": 2402, "loc": { "start": { - "line": 92, + "line": 90, "column": 23 }, "end": { - "line": 92, + "line": 90, "column": 31 } } @@ -14832,15 +14382,15 @@ "postfix": false, "binop": null }, - "start": 2440, - "end": 2441, + "start": 2402, + "end": 2403, "loc": { "start": { - "line": 92, + "line": 90, "column": 31 }, "end": { - "line": 92, + "line": 90, "column": 32 } } @@ -14857,15 +14407,15 @@ "postfix": false, "binop": null }, - "start": 2442, - "end": 2443, + "start": 2404, + "end": 2405, "loc": { "start": { - "line": 92, + "line": 90, "column": 33 }, "end": { - "line": 92, + "line": 90, "column": 34 } } @@ -14885,15 +14435,15 @@ "updateContext": null }, "value": "this", - "start": 2450, - "end": 2454, + "start": 2412, + "end": 2416, "loc": { "start": { - "line": 93, + "line": 91, "column": 6 }, "end": { - "line": 93, + "line": 91, "column": 10 } } @@ -14911,15 +14461,15 @@ "binop": null, "updateContext": null }, - "start": 2454, - "end": 2455, + "start": 2416, + "end": 2417, "loc": { "start": { - "line": 93, + "line": 91, "column": 10 }, "end": { - "line": 93, + "line": 91, "column": 11 } } @@ -14937,15 +14487,15 @@ "binop": null }, "value": "month", - "start": 2455, - "end": 2460, + "start": 2417, + "end": 2422, "loc": { "start": { - "line": 93, + "line": 91, "column": 11 }, "end": { - "line": 93, + "line": 91, "column": 16 } } @@ -14963,15 +14513,15 @@ "binop": null, "updateContext": null }, - "start": 2460, - "end": 2461, + "start": 2422, + "end": 2423, "loc": { "start": { - "line": 93, + "line": 91, "column": 16 }, "end": { - "line": 93, + "line": 91, "column": 17 } } @@ -14989,15 +14539,15 @@ "binop": null }, "value": "validate", - "start": 2461, - "end": 2469, + "start": 2423, + "end": 2431, "loc": { "start": { - "line": 93, + "line": 91, "column": 17 }, "end": { - "line": 93, + "line": 91, "column": 25 } } @@ -15014,15 +14564,15 @@ "postfix": false, "binop": null }, - "start": 2469, - "end": 2470, + "start": 2431, + "end": 2432, "loc": { "start": { - "line": 93, + "line": 91, "column": 25 }, "end": { - "line": 93, + "line": 91, "column": 26 } } @@ -15039,15 +14589,15 @@ "postfix": false, "binop": null }, - "start": 2470, - "end": 2471, + "start": 2432, + "end": 2433, "loc": { "start": { - "line": 93, + "line": 91, "column": 26 }, "end": { - "line": 93, + "line": 91, "column": 27 } } @@ -15065,15 +14615,15 @@ "binop": null, "updateContext": null }, - "start": 2471, - "end": 2472, + "start": 2433, + "end": 2434, "loc": { "start": { - "line": 93, + "line": 91, "column": 27 }, "end": { - "line": 93, + "line": 91, "column": 28 } } @@ -15090,15 +14640,15 @@ "postfix": false, "binop": null }, - "start": 2477, - "end": 2478, + "start": 2439, + "end": 2440, "loc": { "start": { - "line": 94, + "line": 92, "column": 4 }, "end": { - "line": 94, + "line": 92, "column": 5 } } @@ -15118,15 +14668,15 @@ "updateContext": null }, "value": "return", - "start": 2484, - "end": 2490, + "start": 2446, + "end": 2452, "loc": { "start": { - "line": 96, + "line": 94, "column": 4 }, "end": { - "line": 96, + "line": 94, "column": 10 } } @@ -15146,15 +14696,15 @@ "updateContext": null }, "value": "true", - "start": 2491, - "end": 2495, + "start": 2453, + "end": 2457, "loc": { "start": { - "line": 96, + "line": 94, "column": 11 }, "end": { - "line": 96, + "line": 94, "column": 15 } } @@ -15172,15 +14722,15 @@ "binop": null, "updateContext": null }, - "start": 2495, - "end": 2496, + "start": 2457, + "end": 2458, "loc": { "start": { - "line": 96, + "line": 94, "column": 15 }, "end": { - "line": 96, + "line": 94, "column": 16 } } @@ -15197,15 +14747,15 @@ "postfix": false, "binop": null }, - "start": 2499, - "end": 2500, + "start": 2461, + "end": 2462, "loc": { "start": { - "line": 97, + "line": 95, "column": 2 }, "end": { - "line": 97, + "line": 95, "column": 3 } } @@ -15213,15 +14763,15 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the Haab cycle\n * @returns {Haab}\n ", - "start": 2504, - "end": 2577, + "start": 2466, + "end": 2539, "loc": { "start": { - "line": 99, + "line": 97, "column": 2 }, "end": { - "line": 102, + "line": 100, "column": 5 } } @@ -15239,15 +14789,15 @@ "binop": null }, "value": "next", - "start": 2580, - "end": 2584, + "start": 2542, + "end": 2546, "loc": { "start": { - "line": 103, + "line": 101, "column": 2 }, "end": { - "line": 103, + "line": 101, "column": 6 } } @@ -15264,15 +14814,15 @@ "postfix": false, "binop": null }, - "start": 2584, - "end": 2585, + "start": 2546, + "end": 2547, "loc": { "start": { - "line": 103, + "line": 101, "column": 6 }, "end": { - "line": 103, + "line": 101, "column": 7 } } @@ -15289,15 +14839,15 @@ "postfix": false, "binop": null }, - "start": 2585, - "end": 2586, + "start": 2547, + "end": 2548, "loc": { "start": { - "line": 103, + "line": 101, "column": 7 }, "end": { - "line": 103, + "line": 101, "column": 8 } } @@ -15314,15 +14864,15 @@ "postfix": false, "binop": null }, - "start": 2587, - "end": 2588, + "start": 2549, + "end": 2550, "loc": { "start": { - "line": 103, + "line": 101, "column": 9 }, "end": { - "line": 103, + "line": 101, "column": 10 } } @@ -15342,15 +14892,15 @@ "updateContext": null }, "value": "return", - "start": 2593, - "end": 2599, + "start": 2555, + "end": 2561, "loc": { "start": { - "line": 104, + "line": 102, "column": 4 }, "end": { - "line": 104, + "line": 102, "column": 10 } } @@ -15370,15 +14920,15 @@ "updateContext": null }, "value": "this", - "start": 2600, - "end": 2604, + "start": 2562, + "end": 2566, "loc": { "start": { - "line": 104, + "line": 102, "column": 11 }, "end": { - "line": 104, + "line": 102, "column": 15 } } @@ -15396,15 +14946,15 @@ "binop": null, "updateContext": null }, - "start": 2604, - "end": 2605, + "start": 2566, + "end": 2567, "loc": { "start": { - "line": 104, + "line": 102, "column": 15 }, "end": { - "line": 104, + "line": 102, "column": 16 } } @@ -15422,15 +14972,15 @@ "binop": null }, "value": "shift", - "start": 2605, - "end": 2610, + "start": 2567, + "end": 2572, "loc": { "start": { - "line": 104, + "line": 102, "column": 16 }, "end": { - "line": 104, + "line": 102, "column": 21 } } @@ -15447,15 +14997,15 @@ "postfix": false, "binop": null }, - "start": 2610, - "end": 2611, + "start": 2572, + "end": 2573, "loc": { "start": { - "line": 104, + "line": 102, "column": 21 }, "end": { - "line": 104, + "line": 102, "column": 22 } } @@ -15474,15 +15024,15 @@ "updateContext": null }, "value": 1, - "start": 2611, - "end": 2612, + "start": 2573, + "end": 2574, "loc": { "start": { - "line": 104, + "line": 102, "column": 22 }, "end": { - "line": 104, + "line": 102, "column": 23 } } @@ -15499,15 +15049,15 @@ "postfix": false, "binop": null }, - "start": 2612, - "end": 2613, + "start": 2574, + "end": 2575, "loc": { "start": { - "line": 104, + "line": 102, "column": 23 }, "end": { - "line": 104, + "line": 102, "column": 24 } } @@ -15525,15 +15075,15 @@ "binop": null, "updateContext": null }, - "start": 2613, - "end": 2614, + "start": 2575, + "end": 2576, "loc": { "start": { - "line": 104, + "line": 102, "column": 24 }, "end": { - "line": 104, + "line": 102, "column": 25 } } @@ -15550,15 +15100,15 @@ "postfix": false, "binop": null }, - "start": 2617, - "end": 2618, + "start": 2579, + "end": 2580, "loc": { "start": { - "line": 105, + "line": 103, "column": 2 }, "end": { - "line": 105, + "line": 103, "column": 3 } } @@ -15566,15 +15116,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Haab object has the same configuration as another Haab object.\n * Does not take wildcards into account.\n * @param {Haab} newHaab\n * @return {boolean}\n ", - "start": 2622, - "end": 2804, + "start": 2584, + "end": 2766, "loc": { "start": { - "line": 107, + "line": 105, "column": 2 }, "end": { - "line": 112, + "line": 110, "column": 5 } } @@ -15592,15 +15142,15 @@ "binop": null }, "value": "equal", - "start": 2807, - "end": 2812, + "start": 2769, + "end": 2774, "loc": { "start": { - "line": 113, + "line": 111, "column": 2 }, "end": { - "line": 113, + "line": 111, "column": 7 } } @@ -15617,15 +15167,15 @@ "postfix": false, "binop": null }, - "start": 2812, - "end": 2813, + "start": 2774, + "end": 2775, "loc": { "start": { - "line": 113, + "line": 111, "column": 7 }, "end": { - "line": 113, + "line": 111, "column": 8 } } @@ -15643,15 +15193,15 @@ "binop": null }, "value": "newHaab", - "start": 2813, - "end": 2820, + "start": 2775, + "end": 2782, "loc": { "start": { - "line": 113, + "line": 111, "column": 8 }, "end": { - "line": 113, + "line": 111, "column": 15 } } @@ -15668,15 +15218,15 @@ "postfix": false, "binop": null }, - "start": 2820, - "end": 2821, + "start": 2782, + "end": 2783, "loc": { "start": { - "line": 113, + "line": 111, "column": 15 }, "end": { - "line": 113, + "line": 111, "column": 16 } } @@ -15693,15 +15243,15 @@ "postfix": false, "binop": null }, - "start": 2822, - "end": 2823, + "start": 2784, + "end": 2785, "loc": { "start": { - "line": 113, + "line": 111, "column": 17 }, "end": { - "line": 113, + "line": 111, "column": 18 } } @@ -15721,15 +15271,15 @@ "updateContext": null }, "value": "return", - "start": 2828, - "end": 2834, + "start": 2790, + "end": 2796, "loc": { "start": { - "line": 114, + "line": 112, "column": 4 }, "end": { - "line": 114, + "line": 112, "column": 10 } } @@ -15749,15 +15299,15 @@ "updateContext": null }, "value": "this", - "start": 2835, - "end": 2839, + "start": 2797, + "end": 2801, "loc": { "start": { - "line": 114, + "line": 112, "column": 11 }, "end": { - "line": 114, + "line": 112, "column": 15 } } @@ -15776,15 +15326,15 @@ "updateContext": null }, "value": "===", - "start": 2840, - "end": 2843, + "start": 2802, + "end": 2805, "loc": { "start": { - "line": 114, + "line": 112, "column": 16 }, "end": { - "line": 114, + "line": 112, "column": 19 } } @@ -15802,15 +15352,15 @@ "binop": null }, "value": "newHaab", - "start": 2844, - "end": 2851, + "start": 2806, + "end": 2813, "loc": { "start": { - "line": 114, + "line": 112, "column": 20 }, "end": { - "line": 114, + "line": 112, "column": 27 } } @@ -15828,15 +15378,15 @@ "binop": null, "updateContext": null }, - "start": 2851, - "end": 2852, + "start": 2813, + "end": 2814, "loc": { "start": { - "line": 114, + "line": 112, "column": 27 }, "end": { - "line": 114, + "line": 112, "column": 28 } } @@ -15853,15 +15403,15 @@ "postfix": false, "binop": null }, - "start": 2855, - "end": 2856, + "start": 2817, + "end": 2818, "loc": { "start": { - "line": 115, + "line": 113, "column": 2 }, "end": { - "line": 115, + "line": 113, "column": 3 } } @@ -15869,15 +15419,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Haab object has a matching configuration as another Haab object.\n * Takes wildcards into account.\n * @param {Haab} newHaab\n * @return {boolean}\n ", - "start": 2860, - "end": 3036, + "start": 2822, + "end": 2998, "loc": { "start": { - "line": 117, + "line": 115, "column": 2 }, "end": { - "line": 122, + "line": 120, "column": 5 } } @@ -15895,15 +15445,15 @@ "binop": null }, "value": "match", - "start": 3039, - "end": 3044, + "start": 3001, + "end": 3006, "loc": { "start": { - "line": 123, + "line": 121, "column": 2 }, "end": { - "line": 123, + "line": 121, "column": 7 } } @@ -15920,15 +15470,15 @@ "postfix": false, "binop": null }, - "start": 3044, - "end": 3045, + "start": 3006, + "end": 3007, "loc": { "start": { - "line": 123, + "line": 121, "column": 7 }, "end": { - "line": 123, + "line": 121, "column": 8 } } @@ -15946,15 +15496,15 @@ "binop": null }, "value": "newHaab", - "start": 3045, - "end": 3052, + "start": 3007, + "end": 3014, "loc": { "start": { - "line": 123, + "line": 121, "column": 8 }, "end": { - "line": 123, + "line": 121, "column": 15 } } @@ -15971,15 +15521,15 @@ "postfix": false, "binop": null }, - "start": 3052, - "end": 3053, + "start": 3014, + "end": 3015, "loc": { "start": { - "line": 123, + "line": 121, "column": 15 }, "end": { - "line": 123, + "line": 121, "column": 16 } } @@ -15996,15 +15546,15 @@ "postfix": false, "binop": null }, - "start": 3054, - "end": 3055, + "start": 3016, + "end": 3017, "loc": { "start": { - "line": 123, + "line": 121, "column": 17 }, "end": { - "line": 123, + "line": 121, "column": 18 } } @@ -16024,15 +15574,15 @@ "updateContext": null }, "value": "return", - "start": 3060, - "end": 3066, + "start": 3022, + "end": 3028, "loc": { "start": { - "line": 124, + "line": 122, "column": 4 }, "end": { - "line": 124, + "line": 122, "column": 10 } } @@ -16049,15 +15599,15 @@ "postfix": false, "binop": null }, - "start": 3067, - "end": 3068, + "start": 3029, + "end": 3030, "loc": { "start": { - "line": 124, + "line": 122, "column": 11 }, "end": { - "line": 124, + "line": 122, "column": 12 } } @@ -16074,15 +15624,15 @@ "postfix": false, "binop": null }, - "start": 3075, - "end": 3076, + "start": 3037, + "end": 3038, "loc": { "start": { - "line": 125, + "line": 123, "column": 6 }, "end": { - "line": 125, + "line": 123, "column": 7 } } @@ -16102,15 +15652,15 @@ "updateContext": null }, "value": "this", - "start": 3076, - "end": 3080, + "start": 3038, + "end": 3042, "loc": { "start": { - "line": 125, + "line": 123, "column": 7 }, "end": { - "line": 125, + "line": 123, "column": 11 } } @@ -16128,15 +15678,15 @@ "binop": null, "updateContext": null }, - "start": 3080, - "end": 3081, + "start": 3042, + "end": 3043, "loc": { "start": { - "line": 125, + "line": 123, "column": 11 }, "end": { - "line": 125, + "line": 123, "column": 12 } } @@ -16154,15 +15704,15 @@ "binop": null }, "value": "coeff", - "start": 3081, - "end": 3086, + "start": 3043, + "end": 3048, "loc": { "start": { - "line": 125, + "line": 123, "column": 12 }, "end": { - "line": 125, + "line": 123, "column": 17 } } @@ -16181,15 +15731,15 @@ "updateContext": null }, "value": "===", - "start": 3087, - "end": 3090, + "start": 3049, + "end": 3052, "loc": { "start": { - "line": 125, + "line": 123, "column": 18 }, "end": { - "line": 125, + "line": 123, "column": 21 } } @@ -16207,15 +15757,15 @@ "binop": null }, "value": "wildcard", - "start": 3091, - "end": 3099, + "start": 3053, + "end": 3061, "loc": { "start": { - "line": 125, + "line": 123, "column": 22 }, "end": { - "line": 125, + "line": 123, "column": 30 } } @@ -16234,15 +15784,15 @@ "updateContext": null }, "value": "||", - "start": 3100, - "end": 3102, + "start": 3062, + "end": 3064, "loc": { "start": { - "line": 125, + "line": 123, "column": 31 }, "end": { - "line": 125, + "line": 123, "column": 33 } } @@ -16260,15 +15810,15 @@ "binop": null }, "value": "newHaab", - "start": 3103, - "end": 3110, + "start": 3065, + "end": 3072, "loc": { "start": { - "line": 125, + "line": 123, "column": 34 }, "end": { - "line": 125, + "line": 123, "column": 41 } } @@ -16286,15 +15836,15 @@ "binop": null, "updateContext": null }, - "start": 3110, - "end": 3111, + "start": 3072, + "end": 3073, "loc": { "start": { - "line": 125, + "line": 123, "column": 41 }, "end": { - "line": 125, + "line": 123, "column": 42 } } @@ -16312,15 +15862,15 @@ "binop": null }, "value": "coeff", - "start": 3111, - "end": 3116, + "start": 3073, + "end": 3078, "loc": { "start": { - "line": 125, + "line": 123, "column": 42 }, "end": { - "line": 125, + "line": 123, "column": 47 } } @@ -16339,15 +15889,15 @@ "updateContext": null }, "value": "===", - "start": 3117, - "end": 3120, + "start": 3079, + "end": 3082, "loc": { "start": { - "line": 125, + "line": 123, "column": 48 }, "end": { - "line": 125, + "line": 123, "column": 51 } } @@ -16365,15 +15915,15 @@ "binop": null }, "value": "wildcard", - "start": 3121, - "end": 3129, + "start": 3083, + "end": 3091, "loc": { "start": { - "line": 125, + "line": 123, "column": 52 }, "end": { - "line": 125, + "line": 123, "column": 60 } } @@ -16390,15 +15940,15 @@ "postfix": false, "binop": null }, - "start": 3129, - "end": 3130, + "start": 3091, + "end": 3092, "loc": { "start": { - "line": 125, + "line": 123, "column": 60 }, "end": { - "line": 125, + "line": 123, "column": 61 } } @@ -16416,15 +15966,15 @@ "binop": null, "updateContext": null }, - "start": 3139, - "end": 3140, + "start": 3101, + "end": 3102, "loc": { "start": { - "line": 126, + "line": 124, "column": 8 }, "end": { - "line": 126, + "line": 124, "column": 9 } } @@ -16444,15 +15994,15 @@ "updateContext": null }, "value": "true", - "start": 3141, - "end": 3145, + "start": 3103, + "end": 3107, "loc": { "start": { - "line": 126, + "line": 124, "column": 10 }, "end": { - "line": 126, + "line": 124, "column": 14 } } @@ -16470,15 +16020,15 @@ "binop": null, "updateContext": null }, - "start": 3154, - "end": 3155, + "start": 3116, + "end": 3117, "loc": { "start": { - "line": 127, + "line": 125, "column": 8 }, "end": { - "line": 127, + "line": 125, "column": 9 } } @@ -16495,15 +16045,15 @@ "postfix": false, "binop": null }, - "start": 3156, - "end": 3157, + "start": 3118, + "end": 3119, "loc": { "start": { - "line": 127, + "line": 125, "column": 10 }, "end": { - "line": 127, + "line": 125, "column": 11 } } @@ -16523,15 +16073,15 @@ "updateContext": null }, "value": "this", - "start": 3157, - "end": 3161, + "start": 3119, + "end": 3123, "loc": { "start": { - "line": 127, + "line": 125, "column": 11 }, "end": { - "line": 127, + "line": 125, "column": 15 } } @@ -16549,15 +16099,15 @@ "binop": null, "updateContext": null }, - "start": 3161, - "end": 3162, + "start": 3123, + "end": 3124, "loc": { "start": { - "line": 127, + "line": 125, "column": 15 }, "end": { - "line": 127, + "line": 125, "column": 16 } } @@ -16575,15 +16125,15 @@ "binop": null }, "value": "coeff", - "start": 3162, - "end": 3167, + "start": 3124, + "end": 3129, "loc": { "start": { - "line": 127, + "line": 125, "column": 16 }, "end": { - "line": 127, + "line": 125, "column": 21 } } @@ -16602,15 +16152,15 @@ "updateContext": null }, "value": "===", - "start": 3168, - "end": 3171, + "start": 3130, + "end": 3133, "loc": { "start": { - "line": 127, + "line": 125, "column": 22 }, "end": { - "line": 127, + "line": 125, "column": 25 } } @@ -16628,15 +16178,15 @@ "binop": null }, "value": "newHaab", - "start": 3172, - "end": 3179, + "start": 3134, + "end": 3141, "loc": { "start": { - "line": 127, + "line": 125, "column": 26 }, "end": { - "line": 127, + "line": 125, "column": 33 } } @@ -16654,15 +16204,15 @@ "binop": null, "updateContext": null }, - "start": 3179, - "end": 3180, + "start": 3141, + "end": 3142, "loc": { "start": { - "line": 127, + "line": 125, "column": 33 }, "end": { - "line": 127, + "line": 125, "column": 34 } } @@ -16680,15 +16230,15 @@ "binop": null }, "value": "coeff", - "start": 3180, - "end": 3185, + "start": 3142, + "end": 3147, "loc": { "start": { - "line": 127, + "line": 125, "column": 34 }, "end": { - "line": 127, + "line": 125, "column": 39 } } @@ -16705,15 +16255,15 @@ "postfix": false, "binop": null }, - "start": 3185, - "end": 3186, + "start": 3147, + "end": 3148, "loc": { "start": { - "line": 127, + "line": 125, "column": 39 }, "end": { - "line": 127, + "line": 125, "column": 40 } } @@ -16730,15 +16280,15 @@ "postfix": false, "binop": null }, - "start": 3191, - "end": 3192, + "start": 3153, + "end": 3154, "loc": { "start": { - "line": 128, + "line": 126, "column": 4 }, "end": { - "line": 128, + "line": 126, "column": 5 } } @@ -16757,15 +16307,15 @@ "updateContext": null }, "value": "&&", - "start": 3193, - "end": 3195, + "start": 3155, + "end": 3157, "loc": { "start": { - "line": 128, + "line": 126, "column": 6 }, "end": { - "line": 128, + "line": 126, "column": 8 } } @@ -16782,15 +16332,15 @@ "postfix": false, "binop": null }, - "start": 3196, - "end": 3197, + "start": 3158, + "end": 3159, "loc": { "start": { - "line": 128, + "line": 126, "column": 9 }, "end": { - "line": 128, + "line": 126, "column": 10 } } @@ -16807,15 +16357,15 @@ "postfix": false, "binop": null }, - "start": 3204, - "end": 3205, + "start": 3166, + "end": 3167, "loc": { "start": { - "line": 129, + "line": 127, "column": 6 }, "end": { - "line": 129, + "line": 127, "column": 7 } } @@ -16835,15 +16385,15 @@ "updateContext": null }, "value": "this", - "start": 3205, - "end": 3209, + "start": 3167, + "end": 3171, "loc": { "start": { - "line": 129, + "line": 127, "column": 7 }, "end": { - "line": 129, + "line": 127, "column": 11 } } @@ -16861,15 +16411,15 @@ "binop": null, "updateContext": null }, - "start": 3209, - "end": 3210, + "start": 3171, + "end": 3172, "loc": { "start": { - "line": 129, + "line": 127, "column": 11 }, "end": { - "line": 129, + "line": 127, "column": 12 } } @@ -16887,15 +16437,15 @@ "binop": null }, "value": "month", - "start": 3210, - "end": 3215, + "start": 3172, + "end": 3177, "loc": { "start": { - "line": 129, + "line": 127, "column": 12 }, "end": { - "line": 129, + "line": 127, "column": 17 } } @@ -16914,15 +16464,15 @@ "updateContext": null }, "value": "===", - "start": 3216, - "end": 3219, + "start": 3178, + "end": 3181, "loc": { "start": { - "line": 129, + "line": 127, "column": 18 }, "end": { - "line": 129, + "line": 127, "column": 21 } } @@ -16940,15 +16490,15 @@ "binop": null }, "value": "wildcard", - "start": 3220, - "end": 3228, + "start": 3182, + "end": 3190, "loc": { "start": { - "line": 129, + "line": 127, "column": 22 }, "end": { - "line": 129, + "line": 127, "column": 30 } } @@ -16967,15 +16517,15 @@ "updateContext": null }, "value": "||", - "start": 3229, - "end": 3231, + "start": 3191, + "end": 3193, "loc": { "start": { - "line": 129, + "line": 127, "column": 31 }, "end": { - "line": 129, + "line": 127, "column": 33 } } @@ -16993,15 +16543,15 @@ "binop": null }, "value": "newHaab", - "start": 3232, - "end": 3239, + "start": 3194, + "end": 3201, "loc": { "start": { - "line": 129, + "line": 127, "column": 34 }, "end": { - "line": 129, + "line": 127, "column": 41 } } @@ -17019,15 +16569,15 @@ "binop": null, "updateContext": null }, - "start": 3239, - "end": 3240, + "start": 3201, + "end": 3202, "loc": { "start": { - "line": 129, + "line": 127, "column": 41 }, "end": { - "line": 129, + "line": 127, "column": 42 } } @@ -17045,15 +16595,15 @@ "binop": null }, "value": "month", - "start": 3240, - "end": 3245, + "start": 3202, + "end": 3207, "loc": { "start": { - "line": 129, + "line": 127, "column": 42 }, "end": { - "line": 129, + "line": 127, "column": 47 } } @@ -17072,15 +16622,15 @@ "updateContext": null }, "value": "===", - "start": 3246, - "end": 3249, + "start": 3208, + "end": 3211, "loc": { "start": { - "line": 129, + "line": 127, "column": 48 }, "end": { - "line": 129, + "line": 127, "column": 51 } } @@ -17098,15 +16648,15 @@ "binop": null }, "value": "wildcard", - "start": 3250, - "end": 3258, + "start": 3212, + "end": 3220, "loc": { "start": { - "line": 129, + "line": 127, "column": 52 }, "end": { - "line": 129, + "line": 127, "column": 60 } } @@ -17123,15 +16673,15 @@ "postfix": false, "binop": null }, - "start": 3258, - "end": 3259, + "start": 3220, + "end": 3221, "loc": { "start": { - "line": 129, + "line": 127, "column": 60 }, "end": { - "line": 129, + "line": 127, "column": 61 } } @@ -17149,15 +16699,15 @@ "binop": null, "updateContext": null }, - "start": 3268, - "end": 3269, + "start": 3230, + "end": 3231, "loc": { "start": { - "line": 130, + "line": 128, "column": 8 }, "end": { - "line": 130, + "line": 128, "column": 9 } } @@ -17177,15 +16727,15 @@ "updateContext": null }, "value": "true", - "start": 3270, - "end": 3274, + "start": 3232, + "end": 3236, "loc": { "start": { - "line": 130, + "line": 128, "column": 10 }, "end": { - "line": 130, + "line": 128, "column": 14 } } @@ -17203,15 +16753,15 @@ "binop": null, "updateContext": null }, - "start": 3283, - "end": 3284, + "start": 3245, + "end": 3246, "loc": { "start": { - "line": 131, + "line": 129, "column": 8 }, "end": { - "line": 131, + "line": 129, "column": 9 } } @@ -17228,15 +16778,15 @@ "postfix": false, "binop": null }, - "start": 3285, - "end": 3286, + "start": 3247, + "end": 3248, "loc": { "start": { - "line": 131, + "line": 129, "column": 10 }, "end": { - "line": 131, + "line": 129, "column": 11 } } @@ -17256,15 +16806,15 @@ "updateContext": null }, "value": "this", - "start": 3286, - "end": 3290, + "start": 3248, + "end": 3252, "loc": { "start": { - "line": 131, + "line": 129, "column": 11 }, "end": { - "line": 131, + "line": 129, "column": 15 } } @@ -17282,15 +16832,15 @@ "binop": null, "updateContext": null }, - "start": 3290, - "end": 3291, + "start": 3252, + "end": 3253, "loc": { "start": { - "line": 131, + "line": 129, "column": 15 }, "end": { - "line": 131, + "line": 129, "column": 16 } } @@ -17308,15 +16858,15 @@ "binop": null }, "value": "name", - "start": 3291, - "end": 3295, + "start": 3253, + "end": 3257, "loc": { "start": { - "line": 131, + "line": 129, "column": 16 }, "end": { - "line": 131, + "line": 129, "column": 20 } } @@ -17335,15 +16885,15 @@ "updateContext": null }, "value": "===", - "start": 3296, - "end": 3299, + "start": 3258, + "end": 3261, "loc": { "start": { - "line": 131, + "line": 129, "column": 21 }, "end": { - "line": 131, + "line": 129, "column": 24 } } @@ -17361,15 +16911,15 @@ "binop": null }, "value": "newHaab", - "start": 3300, - "end": 3307, + "start": 3262, + "end": 3269, "loc": { "start": { - "line": 131, + "line": 129, "column": 25 }, "end": { - "line": 131, + "line": 129, "column": 32 } } @@ -17387,15 +16937,15 @@ "binop": null, "updateContext": null }, - "start": 3307, - "end": 3308, + "start": 3269, + "end": 3270, "loc": { "start": { - "line": 131, + "line": 129, "column": 32 }, "end": { - "line": 131, + "line": 129, "column": 33 } } @@ -17413,15 +16963,15 @@ "binop": null }, "value": "name", - "start": 3308, - "end": 3312, + "start": 3270, + "end": 3274, "loc": { "start": { - "line": 131, + "line": 129, "column": 33 }, "end": { - "line": 131, + "line": 129, "column": 37 } } @@ -17438,15 +16988,15 @@ "postfix": false, "binop": null }, - "start": 3312, - "end": 3313, + "start": 3274, + "end": 3275, "loc": { "start": { - "line": 131, + "line": 129, "column": 37 }, "end": { - "line": 131, + "line": 129, "column": 38 } } @@ -17463,15 +17013,15 @@ "postfix": false, "binop": null }, - "start": 3318, - "end": 3319, + "start": 3280, + "end": 3281, "loc": { "start": { - "line": 132, + "line": 130, "column": 4 }, "end": { - "line": 132, + "line": 130, "column": 5 } } @@ -17489,15 +17039,15 @@ "binop": null, "updateContext": null }, - "start": 3319, - "end": 3320, + "start": 3281, + "end": 3282, "loc": { "start": { - "line": 132, + "line": 130, "column": 5 }, "end": { - "line": 132, + "line": 130, "column": 6 } } @@ -17514,15 +17064,15 @@ "postfix": false, "binop": null }, - "start": 3323, - "end": 3324, + "start": 3285, + "end": 3286, "loc": { "start": { - "line": 133, + "line": 131, "column": 2 }, "end": { - "line": 133, + "line": 131, "column": 3 } } @@ -17530,15 +17080,15 @@ { "type": "CommentBlock", "value": "*\n * Return a string representation of the Haab month name\n * @returns {string|Wildcard}\n ", - "start": 3328, - "end": 3428, + "start": 3290, + "end": 3390, "loc": { "start": { - "line": 135, + "line": 133, "column": 2 }, "end": { - "line": 138, + "line": 136, "column": 5 } } @@ -17556,15 +17106,15 @@ "binop": null }, "value": "get", - "start": 3431, - "end": 3434, + "start": 3393, + "end": 3396, "loc": { "start": { - "line": 139, + "line": 137, "column": 2 }, "end": { - "line": 139, + "line": 137, "column": 5 } } @@ -17582,15 +17132,15 @@ "binop": null }, "value": "name", - "start": 3435, - "end": 3439, + "start": 3397, + "end": 3401, "loc": { "start": { - "line": 139, + "line": 137, "column": 6 }, "end": { - "line": 139, + "line": 137, "column": 10 } } @@ -17607,15 +17157,15 @@ "postfix": false, "binop": null }, - "start": 3439, - "end": 3440, + "start": 3401, + "end": 3402, "loc": { "start": { - "line": 139, + "line": 137, "column": 10 }, "end": { - "line": 139, + "line": 137, "column": 11 } } @@ -17632,15 +17182,15 @@ "postfix": false, "binop": null }, - "start": 3440, - "end": 3441, + "start": 3402, + "end": 3403, "loc": { "start": { - "line": 139, + "line": 137, "column": 11 }, "end": { - "line": 139, + "line": 137, "column": 12 } } @@ -17657,15 +17207,15 @@ "postfix": false, "binop": null }, - "start": 3442, - "end": 3443, + "start": 3404, + "end": 3405, "loc": { "start": { - "line": 139, + "line": 137, "column": 13 }, "end": { - "line": 139, + "line": 137, "column": 14 } } @@ -17685,15 +17235,15 @@ "updateContext": null }, "value": "if", - "start": 3448, - "end": 3450, + "start": 3410, + "end": 3412, "loc": { "start": { - "line": 140, + "line": 138, "column": 4 }, "end": { - "line": 140, + "line": 138, "column": 6 } } @@ -17710,15 +17260,15 @@ "postfix": false, "binop": null }, - "start": 3451, - "end": 3452, + "start": 3413, + "end": 3414, "loc": { "start": { - "line": 140, + "line": 138, "column": 7 }, "end": { - "line": 140, + "line": 138, "column": 8 } } @@ -17738,15 +17288,15 @@ "updateContext": null }, "value": "this", - "start": 3452, - "end": 3456, + "start": 3414, + "end": 3418, "loc": { "start": { - "line": 140, + "line": 138, "column": 8 }, "end": { - "line": 140, + "line": 138, "column": 12 } } @@ -17764,15 +17314,15 @@ "binop": null, "updateContext": null }, - "start": 3456, - "end": 3457, + "start": 3418, + "end": 3419, "loc": { "start": { - "line": 140, + "line": 138, "column": 12 }, "end": { - "line": 140, + "line": 138, "column": 13 } } @@ -17790,15 +17340,15 @@ "binop": null }, "value": "month", - "start": 3457, - "end": 3462, + "start": 3419, + "end": 3424, "loc": { "start": { - "line": 140, + "line": 138, "column": 13 }, "end": { - "line": 140, + "line": 138, "column": 18 } } @@ -17817,15 +17367,15 @@ "updateContext": null }, "value": "===", - "start": 3463, - "end": 3466, + "start": 3425, + "end": 3428, "loc": { "start": { - "line": 140, + "line": 138, "column": 19 }, "end": { - "line": 140, + "line": 138, "column": 22 } } @@ -17843,15 +17393,15 @@ "binop": null }, "value": "wildcard", - "start": 3467, - "end": 3475, + "start": 3429, + "end": 3437, "loc": { "start": { - "line": 140, + "line": 138, "column": 23 }, "end": { - "line": 140, + "line": 138, "column": 31 } } @@ -17868,15 +17418,15 @@ "postfix": false, "binop": null }, - "start": 3475, - "end": 3476, + "start": 3437, + "end": 3438, "loc": { "start": { - "line": 140, + "line": 138, "column": 31 }, "end": { - "line": 140, + "line": 138, "column": 32 } } @@ -17893,15 +17443,15 @@ "postfix": false, "binop": null }, - "start": 3477, - "end": 3478, + "start": 3439, + "end": 3440, "loc": { "start": { - "line": 140, + "line": 138, "column": 33 }, "end": { - "line": 140, + "line": 138, "column": 34 } } @@ -17921,15 +17471,15 @@ "updateContext": null }, "value": "return", - "start": 3485, - "end": 3491, + "start": 3447, + "end": 3453, "loc": { "start": { - "line": 141, + "line": 139, "column": 6 }, "end": { - "line": 141, + "line": 139, "column": 12 } } @@ -17949,15 +17499,15 @@ "updateContext": null }, "value": "this", - "start": 3492, - "end": 3496, + "start": 3454, + "end": 3458, "loc": { "start": { - "line": 141, + "line": 139, "column": 13 }, "end": { - "line": 141, + "line": 139, "column": 17 } } @@ -17975,15 +17525,15 @@ "binop": null, "updateContext": null }, - "start": 3496, - "end": 3497, + "start": 3458, + "end": 3459, "loc": { "start": { - "line": 141, + "line": 139, "column": 17 }, "end": { - "line": 141, + "line": 139, "column": 18 } } @@ -18001,15 +17551,15 @@ "binop": null }, "value": "month", - "start": 3497, - "end": 3502, + "start": 3459, + "end": 3464, "loc": { "start": { - "line": 141, + "line": 139, "column": 18 }, "end": { - "line": 141, + "line": 139, "column": 23 } } @@ -18027,15 +17577,15 @@ "binop": null, "updateContext": null }, - "start": 3502, - "end": 3503, + "start": 3464, + "end": 3465, "loc": { "start": { - "line": 141, + "line": 139, "column": 23 }, "end": { - "line": 141, + "line": 139, "column": 24 } } @@ -18052,15 +17602,15 @@ "postfix": false, "binop": null }, - "start": 3508, - "end": 3509, + "start": 3470, + "end": 3471, "loc": { "start": { - "line": 142, + "line": 140, "column": 4 }, "end": { - "line": 142, + "line": 140, "column": 5 } } @@ -18080,15 +17630,15 @@ "updateContext": null }, "value": "return", - "start": 3514, - "end": 3520, + "start": 3476, + "end": 3482, "loc": { "start": { - "line": 143, + "line": 141, "column": 4 }, "end": { - "line": 143, + "line": 141, "column": 10 } } @@ -18108,15 +17658,15 @@ "updateContext": null }, "value": "this", - "start": 3521, - "end": 3525, + "start": 3483, + "end": 3487, "loc": { "start": { - "line": 143, + "line": 141, "column": 11 }, "end": { - "line": 143, + "line": 141, "column": 15 } } @@ -18134,15 +17684,15 @@ "binop": null, "updateContext": null }, - "start": 3525, - "end": 3526, + "start": 3487, + "end": 3488, "loc": { "start": { - "line": 143, + "line": 141, "column": 15 }, "end": { - "line": 143, + "line": 141, "column": 16 } } @@ -18160,15 +17710,15 @@ "binop": null }, "value": "month", - "start": 3526, - "end": 3531, + "start": 3488, + "end": 3493, "loc": { "start": { - "line": 143, + "line": 141, "column": 16 }, "end": { - "line": 143, + "line": 141, "column": 21 } } @@ -18186,15 +17736,15 @@ "binop": null, "updateContext": null }, - "start": 3531, - "end": 3532, + "start": 3493, + "end": 3494, "loc": { "start": { - "line": 143, + "line": 141, "column": 21 }, "end": { - "line": 143, + "line": 141, "column": 22 } } @@ -18212,15 +17762,15 @@ "binop": null }, "value": "name", - "start": 3532, - "end": 3536, + "start": 3494, + "end": 3498, "loc": { "start": { - "line": 143, + "line": 141, "column": 22 }, "end": { - "line": 143, + "line": 141, "column": 26 } } @@ -18238,15 +17788,15 @@ "binop": null, "updateContext": null }, - "start": 3536, - "end": 3537, + "start": 3498, + "end": 3499, "loc": { "start": { - "line": 143, + "line": 141, "column": 26 }, "end": { - "line": 143, + "line": 141, "column": 27 } } @@ -18263,15 +17813,15 @@ "postfix": false, "binop": null }, - "start": 3540, - "end": 3541, + "start": 3502, + "end": 3503, "loc": { "start": { - "line": 144, + "line": 142, "column": 2 }, "end": { - "line": 144, + "line": 142, "column": 3 } } @@ -18279,15 +17829,15 @@ { "type": "CommentBlock", "value": "*\n * Move this date through the Haab cycle.\n * @param {number} numDays\n * @return {Haab}\n ", - "start": 3545, - "end": 3647, + "start": 3507, + "end": 3609, "loc": { "start": { - "line": 146, + "line": 144, "column": 2 }, "end": { - "line": 150, + "line": 148, "column": 5 } } @@ -18305,15 +17855,15 @@ "binop": null }, "value": "shift", - "start": 3650, - "end": 3655, + "start": 3612, + "end": 3617, "loc": { "start": { - "line": 151, + "line": 149, "column": 2 }, "end": { - "line": 151, + "line": 149, "column": 7 } } @@ -18330,15 +17880,15 @@ "postfix": false, "binop": null }, - "start": 3655, - "end": 3656, + "start": 3617, + "end": 3618, "loc": { "start": { - "line": 151, + "line": 149, "column": 7 }, "end": { - "line": 151, + "line": 149, "column": 8 } } @@ -18356,15 +17906,15 @@ "binop": null }, "value": "numDays", - "start": 3656, - "end": 3663, + "start": 3618, + "end": 3625, "loc": { "start": { - "line": 151, + "line": 149, "column": 8 }, "end": { - "line": 151, + "line": 149, "column": 15 } } @@ -18381,15 +17931,15 @@ "postfix": false, "binop": null }, - "start": 3663, - "end": 3664, + "start": 3625, + "end": 3626, "loc": { "start": { - "line": 151, + "line": 149, "column": 15 }, "end": { - "line": 151, + "line": 149, "column": 16 } } @@ -18406,15 +17956,15 @@ "postfix": false, "binop": null }, - "start": 3665, - "end": 3666, + "start": 3627, + "end": 3628, "loc": { "start": { - "line": 151, + "line": 149, "column": 17 }, "end": { - "line": 151, + "line": 149, "column": 18 } } @@ -18434,15 +17984,15 @@ "updateContext": null }, "value": "const", - "start": 3671, - "end": 3676, + "start": 3633, + "end": 3638, "loc": { "start": { - "line": 152, + "line": 150, "column": 4 }, "end": { - "line": 152, + "line": 150, "column": 9 } } @@ -18460,15 +18010,15 @@ "binop": null }, "value": "incremental", - "start": 3677, - "end": 3688, + "start": 3639, + "end": 3650, "loc": { "start": { - "line": 152, + "line": 150, "column": 10 }, "end": { - "line": 152, + "line": 150, "column": 21 } } @@ -18487,15 +18037,15 @@ "updateContext": null }, "value": "=", - "start": 3689, - "end": 3690, + "start": 3651, + "end": 3652, "loc": { "start": { - "line": 152, + "line": 150, "column": 22 }, "end": { - "line": 152, + "line": 150, "column": 23 } } @@ -18513,15 +18063,15 @@ "binop": null }, "value": "numDays", - "start": 3691, - "end": 3698, + "start": 3653, + "end": 3660, "loc": { "start": { - "line": 152, + "line": 150, "column": 24 }, "end": { - "line": 152, + "line": 150, "column": 31 } } @@ -18540,15 +18090,15 @@ "updateContext": null }, "value": "%", - "start": 3699, - "end": 3700, + "start": 3661, + "end": 3662, "loc": { "start": { - "line": 152, + "line": 150, "column": 32 }, "end": { - "line": 152, + "line": 150, "column": 33 } } @@ -18567,15 +18117,15 @@ "updateContext": null }, "value": 365, - "start": 3701, - "end": 3704, + "start": 3663, + "end": 3666, "loc": { "start": { - "line": 152, + "line": 150, "column": 34 }, "end": { - "line": 152, + "line": 150, "column": 37 } } @@ -18593,15 +18143,15 @@ "binop": null, "updateContext": null }, - "start": 3704, - "end": 3705, + "start": 3666, + "end": 3667, "loc": { "start": { - "line": 152, + "line": 150, "column": 37 }, "end": { - "line": 152, + "line": 150, "column": 38 } } @@ -18621,15 +18171,15 @@ "updateContext": null }, "value": "if", - "start": 3710, - "end": 3712, + "start": 3672, + "end": 3674, "loc": { "start": { - "line": 153, + "line": 151, "column": 4 }, "end": { - "line": 153, + "line": 151, "column": 6 } } @@ -18646,15 +18196,15 @@ "postfix": false, "binop": null }, - "start": 3713, - "end": 3714, + "start": 3675, + "end": 3676, "loc": { "start": { - "line": 153, + "line": 151, "column": 7 }, "end": { - "line": 153, + "line": 151, "column": 8 } } @@ -18672,15 +18222,15 @@ "binop": null }, "value": "incremental", - "start": 3714, - "end": 3725, + "start": 3676, + "end": 3687, "loc": { "start": { - "line": 153, + "line": 151, "column": 8 }, "end": { - "line": 153, + "line": 151, "column": 19 } } @@ -18699,15 +18249,15 @@ "updateContext": null }, "value": "===", - "start": 3726, - "end": 3729, + "start": 3688, + "end": 3691, "loc": { "start": { - "line": 153, + "line": 151, "column": 20 }, "end": { - "line": 153, + "line": 151, "column": 23 } } @@ -18726,15 +18276,15 @@ "updateContext": null }, "value": 0, - "start": 3730, - "end": 3731, + "start": 3692, + "end": 3693, "loc": { "start": { - "line": 153, + "line": 151, "column": 24 }, "end": { - "line": 153, + "line": 151, "column": 25 } } @@ -18751,15 +18301,15 @@ "postfix": false, "binop": null }, - "start": 3731, - "end": 3732, + "start": 3693, + "end": 3694, "loc": { "start": { - "line": 153, + "line": 151, "column": 25 }, "end": { - "line": 153, + "line": 151, "column": 26 } } @@ -18776,15 +18326,15 @@ "postfix": false, "binop": null }, - "start": 3733, - "end": 3734, + "start": 3695, + "end": 3696, "loc": { "start": { - "line": 153, + "line": 151, "column": 27 }, "end": { - "line": 153, + "line": 151, "column": 28 } } @@ -18804,15 +18354,15 @@ "updateContext": null }, "value": "return", - "start": 3741, - "end": 3747, + "start": 3703, + "end": 3709, "loc": { "start": { - "line": 154, + "line": 152, "column": 6 }, "end": { - "line": 154, + "line": 152, "column": 12 } } @@ -18832,15 +18382,15 @@ "updateContext": null }, "value": "this", - "start": 3748, - "end": 3752, + "start": 3710, + "end": 3714, "loc": { "start": { - "line": 154, + "line": 152, "column": 13 }, "end": { - "line": 154, + "line": 152, "column": 17 } } @@ -18858,15 +18408,15 @@ "binop": null, "updateContext": null }, - "start": 3752, - "end": 3753, + "start": 3714, + "end": 3715, "loc": { "start": { - "line": 154, + "line": 152, "column": 17 }, "end": { - "line": 154, + "line": 152, "column": 18 } } @@ -18883,15 +18433,15 @@ "postfix": false, "binop": null }, - "start": 3758, - "end": 3759, + "start": 3720, + "end": 3721, "loc": { "start": { - "line": 155, + "line": 153, "column": 4 }, "end": { - "line": 155, + "line": 153, "column": 5 } } @@ -18911,15 +18461,15 @@ "updateContext": null }, "value": "if", - "start": 3764, - "end": 3766, + "start": 3726, + "end": 3728, "loc": { "start": { - "line": 156, + "line": 154, "column": 4 }, "end": { - "line": 156, + "line": 154, "column": 6 } } @@ -18936,15 +18486,15 @@ "postfix": false, "binop": null }, - "start": 3767, - "end": 3768, + "start": 3729, + "end": 3730, "loc": { "start": { - "line": 156, + "line": 154, "column": 7 }, "end": { - "line": 156, + "line": 154, "column": 8 } } @@ -18964,15 +18514,15 @@ "updateContext": null }, "value": "this", - "start": 3768, - "end": 3772, + "start": 3730, + "end": 3734, "loc": { "start": { - "line": 156, + "line": 154, "column": 8 }, "end": { - "line": 156, + "line": 154, "column": 12 } } @@ -18990,15 +18540,15 @@ "binop": null, "updateContext": null }, - "start": 3772, - "end": 3773, + "start": 3734, + "end": 3735, "loc": { "start": { - "line": 156, + "line": 154, "column": 12 }, "end": { - "line": 156, + "line": 154, "column": 13 } } @@ -19016,15 +18566,15 @@ "binop": null }, "value": "private_next", - "start": 3773, - "end": 3785, + "start": 3735, + "end": 3747, "loc": { "start": { - "line": 156, + "line": 154, "column": 13 }, "end": { - "line": 156, + "line": 154, "column": 25 } } @@ -19043,15 +18593,15 @@ "updateContext": null }, "value": "===", - "start": 3786, - "end": 3789, + "start": 3748, + "end": 3751, "loc": { "start": { - "line": 156, + "line": 154, "column": 26 }, "end": { - "line": 156, + "line": 154, "column": 29 } } @@ -19069,15 +18619,15 @@ "binop": null }, "value": "undefined", - "start": 3790, - "end": 3799, + "start": 3752, + "end": 3761, "loc": { "start": { - "line": 156, + "line": 154, "column": 30 }, "end": { - "line": 156, + "line": 154, "column": 39 } } @@ -19094,15 +18644,15 @@ "postfix": false, "binop": null }, - "start": 3799, - "end": 3800, + "start": 3761, + "end": 3762, "loc": { "start": { - "line": 156, + "line": 154, "column": 39 }, "end": { - "line": 156, + "line": 154, "column": 40 } } @@ -19119,15 +18669,15 @@ "postfix": false, "binop": null }, - "start": 3801, - "end": 3802, + "start": 3763, + "end": 3764, "loc": { "start": { - "line": 156, + "line": 154, "column": 41 }, "end": { - "line": 156, + "line": 154, "column": 42 } } @@ -19147,15 +18697,15 @@ "updateContext": null }, "value": "const", - "start": 3809, - "end": 3814, + "start": 3771, + "end": 3776, "loc": { "start": { - "line": 157, + "line": 155, "column": 6 }, "end": { - "line": 157, + "line": 155, "column": 11 } } @@ -19173,15 +18723,15 @@ "binop": null }, "value": "monthLength", - "start": 3815, - "end": 3826, + "start": 3777, + "end": 3788, "loc": { "start": { - "line": 157, + "line": 155, "column": 12 }, "end": { - "line": 157, + "line": 155, "column": 23 } } @@ -19200,15 +18750,15 @@ "updateContext": null }, "value": "=", - "start": 3827, - "end": 3828, + "start": 3789, + "end": 3790, "loc": { "start": { - "line": 157, + "line": 155, "column": 24 }, "end": { - "line": 157, + "line": 155, "column": 25 } } @@ -19225,15 +18775,15 @@ "postfix": false, "binop": null }, - "start": 3829, - "end": 3830, + "start": 3791, + "end": 3792, "loc": { "start": { - "line": 157, + "line": 155, "column": 26 }, "end": { - "line": 157, + "line": 155, "column": 27 } } @@ -19253,15 +18803,15 @@ "updateContext": null }, "value": "this", - "start": 3830, - "end": 3834, + "start": 3792, + "end": 3796, "loc": { "start": { - "line": 157, + "line": 155, "column": 27 }, "end": { - "line": 157, + "line": 155, "column": 31 } } @@ -19279,15 +18829,15 @@ "binop": null, "updateContext": null }, - "start": 3834, - "end": 3835, + "start": 3796, + "end": 3797, "loc": { "start": { - "line": 157, + "line": 155, "column": 31 }, "end": { - "line": 157, + "line": 155, "column": 32 } } @@ -19305,15 +18855,15 @@ "binop": null }, "value": "month", - "start": 3835, - "end": 3840, + "start": 3797, + "end": 3802, "loc": { "start": { - "line": 157, + "line": 155, "column": 32 }, "end": { - "line": 157, + "line": 155, "column": 37 } } @@ -19332,15 +18882,15 @@ "updateContext": null }, "value": "===", - "start": 3841, - "end": 3844, + "start": 3803, + "end": 3806, "loc": { "start": { - "line": 157, + "line": 155, "column": 38 }, "end": { - "line": 157, + "line": 155, "column": 41 } } @@ -19358,15 +18908,15 @@ "binop": null }, "value": "getHaabMonth", - "start": 3845, - "end": 3857, + "start": 3807, + "end": 3819, "loc": { "start": { - "line": 157, + "line": 155, "column": 42 }, "end": { - "line": 157, + "line": 155, "column": 54 } } @@ -19383,15 +18933,15 @@ "postfix": false, "binop": null }, - "start": 3857, - "end": 3858, + "start": 3819, + "end": 3820, "loc": { "start": { - "line": 157, + "line": 155, "column": 54 }, "end": { - "line": 157, + "line": 155, "column": 55 } } @@ -19410,15 +18960,15 @@ "updateContext": null }, "value": 19, - "start": 3858, - "end": 3860, + "start": 3820, + "end": 3822, "loc": { "start": { - "line": 157, + "line": 155, "column": 55 }, "end": { - "line": 157, + "line": 155, "column": 57 } } @@ -19435,15 +18985,15 @@ "postfix": false, "binop": null }, - "start": 3860, - "end": 3861, + "start": 3822, + "end": 3823, "loc": { "start": { - "line": 157, + "line": 155, "column": 57 }, "end": { - "line": 157, + "line": 155, "column": 58 } } @@ -19460,15 +19010,15 @@ "postfix": false, "binop": null }, - "start": 3861, - "end": 3862, + "start": 3823, + "end": 3824, "loc": { "start": { - "line": 157, + "line": 155, "column": 58 }, "end": { - "line": 157, + "line": 155, "column": 59 } } @@ -19486,15 +19036,15 @@ "binop": null, "updateContext": null }, - "start": 3863, - "end": 3864, + "start": 3825, + "end": 3826, "loc": { "start": { - "line": 157, + "line": 155, "column": 60 }, "end": { - "line": 157, + "line": 155, "column": 61 } } @@ -19513,15 +19063,15 @@ "updateContext": null }, "value": 5, - "start": 3865, - "end": 3866, + "start": 3827, + "end": 3828, "loc": { "start": { - "line": 157, + "line": 155, "column": 62 }, "end": { - "line": 157, + "line": 155, "column": 63 } } @@ -19539,15 +19089,15 @@ "binop": null, "updateContext": null }, - "start": 3867, - "end": 3868, + "start": 3829, + "end": 3830, "loc": { "start": { - "line": 157, + "line": 155, "column": 64 }, "end": { - "line": 157, + "line": 155, "column": 65 } } @@ -19566,15 +19116,15 @@ "updateContext": null }, "value": 20, - "start": 3869, - "end": 3871, + "start": 3831, + "end": 3833, "loc": { "start": { - "line": 157, + "line": 155, "column": 66 }, "end": { - "line": 157, + "line": 155, "column": 68 } } @@ -19592,15 +19142,15 @@ "binop": null, "updateContext": null }, - "start": 3871, - "end": 3872, + "start": 3833, + "end": 3834, "loc": { "start": { - "line": 157, + "line": 155, "column": 68 }, "end": { - "line": 157, + "line": 155, "column": 69 } } @@ -19620,15 +19170,15 @@ "updateContext": null }, "value": "if", - "start": 3879, - "end": 3881, + "start": 3841, + "end": 3843, "loc": { "start": { - "line": 158, + "line": 156, "column": 6 }, "end": { - "line": 158, + "line": 156, "column": 8 } } @@ -19645,15 +19195,15 @@ "postfix": false, "binop": null }, - "start": 3882, - "end": 3883, + "start": 3844, + "end": 3845, "loc": { "start": { - "line": 158, + "line": 156, "column": 9 }, "end": { - "line": 158, + "line": 156, "column": 10 } } @@ -19672,15 +19222,15 @@ "updateContext": null }, "value": 1, - "start": 3883, - "end": 3884, + "start": 3845, + "end": 3846, "loc": { "start": { - "line": 158, + "line": 156, "column": 10 }, "end": { - "line": 158, + "line": 156, "column": 11 } } @@ -19699,15 +19249,15 @@ "updateContext": null }, "value": "+", - "start": 3885, - "end": 3886, + "start": 3847, + "end": 3848, "loc": { "start": { - "line": 158, + "line": 156, "column": 12 }, "end": { - "line": 158, + "line": 156, "column": 13 } } @@ -19727,15 +19277,15 @@ "updateContext": null }, "value": "this", - "start": 3887, - "end": 3891, + "start": 3849, + "end": 3853, "loc": { "start": { - "line": 158, + "line": 156, "column": 14 }, "end": { - "line": 158, + "line": 156, "column": 18 } } @@ -19753,15 +19303,15 @@ "binop": null, "updateContext": null }, - "start": 3891, - "end": 3892, + "start": 3853, + "end": 3854, "loc": { "start": { - "line": 158, + "line": 156, "column": 18 }, "end": { - "line": 158, + "line": 156, "column": 19 } } @@ -19779,15 +19329,15 @@ "binop": null }, "value": "coeff", - "start": 3892, - "end": 3897, + "start": 3854, + "end": 3859, "loc": { "start": { - "line": 158, + "line": 156, "column": 19 }, "end": { - "line": 158, + "line": 156, "column": 24 } } @@ -19806,15 +19356,15 @@ "updateContext": null }, "value": ">=", - "start": 3898, - "end": 3900, + "start": 3860, + "end": 3862, "loc": { "start": { - "line": 158, + "line": 156, "column": 25 }, "end": { - "line": 158, + "line": 156, "column": 27 } } @@ -19832,15 +19382,15 @@ "binop": null }, "value": "monthLength", - "start": 3901, - "end": 3912, + "start": 3863, + "end": 3874, "loc": { "start": { - "line": 158, + "line": 156, "column": 28 }, "end": { - "line": 158, + "line": 156, "column": 39 } } @@ -19857,15 +19407,15 @@ "postfix": false, "binop": null }, - "start": 3912, - "end": 3913, + "start": 3874, + "end": 3875, "loc": { "start": { - "line": 158, + "line": 156, "column": 39 }, "end": { - "line": 158, + "line": 156, "column": 40 } } @@ -19882,15 +19432,15 @@ "postfix": false, "binop": null }, - "start": 3914, - "end": 3915, + "start": 3876, + "end": 3877, "loc": { "start": { - "line": 158, + "line": 156, "column": 41 }, "end": { - "line": 158, + "line": 156, "column": 42 } } @@ -19910,15 +19460,15 @@ "updateContext": null }, "value": "const", - "start": 3924, - "end": 3929, + "start": 3886, + "end": 3891, "loc": { "start": { - "line": 159, + "line": 157, "column": 8 }, "end": { - "line": 159, + "line": 157, "column": 13 } } @@ -19936,15 +19486,15 @@ "binop": null }, "value": "newMonth", - "start": 3930, - "end": 3938, + "start": 3892, + "end": 3900, "loc": { "start": { - "line": 159, + "line": 157, "column": 14 }, "end": { - "line": 159, + "line": 157, "column": 22 } } @@ -19963,15 +19513,15 @@ "updateContext": null }, "value": "=", - "start": 3939, - "end": 3940, + "start": 3901, + "end": 3902, "loc": { "start": { - "line": 159, + "line": 157, "column": 23 }, "end": { - "line": 159, + "line": 157, "column": 24 } } @@ -19991,15 +19541,15 @@ "updateContext": null }, "value": "this", - "start": 3941, - "end": 3945, + "start": 3903, + "end": 3907, "loc": { "start": { - "line": 159, + "line": 157, "column": 25 }, "end": { - "line": 159, + "line": 157, "column": 29 } } @@ -20017,15 +19567,15 @@ "binop": null, "updateContext": null }, - "start": 3945, - "end": 3946, + "start": 3907, + "end": 3908, "loc": { "start": { - "line": 159, + "line": 157, "column": 29 }, "end": { - "line": 159, + "line": 157, "column": 30 } } @@ -20043,15 +19593,15 @@ "binop": null }, "value": "month", - "start": 3946, - "end": 3951, + "start": 3908, + "end": 3913, "loc": { "start": { - "line": 159, + "line": 157, "column": 30 }, "end": { - "line": 159, + "line": 157, "column": 35 } } @@ -20069,15 +19619,15 @@ "binop": null, "updateContext": null }, - "start": 3951, - "end": 3952, + "start": 3913, + "end": 3914, "loc": { "start": { - "line": 159, + "line": 157, "column": 35 }, "end": { - "line": 159, + "line": 157, "column": 36 } } @@ -20095,15 +19645,15 @@ "binop": null }, "value": "shift", - "start": 3952, - "end": 3957, + "start": 3914, + "end": 3919, "loc": { "start": { - "line": 159, + "line": 157, "column": 36 }, "end": { - "line": 159, + "line": 157, "column": 41 } } @@ -20120,15 +19670,15 @@ "postfix": false, "binop": null }, - "start": 3957, - "end": 3958, + "start": 3919, + "end": 3920, "loc": { "start": { - "line": 159, + "line": 157, "column": 41 }, "end": { - "line": 159, + "line": 157, "column": 42 } } @@ -20147,15 +19697,15 @@ "updateContext": null }, "value": 1, - "start": 3958, - "end": 3959, + "start": 3920, + "end": 3921, "loc": { "start": { - "line": 159, + "line": 157, "column": 42 }, "end": { - "line": 159, + "line": 157, "column": 43 } } @@ -20172,15 +19722,15 @@ "postfix": false, "binop": null }, - "start": 3959, - "end": 3960, + "start": 3921, + "end": 3922, "loc": { "start": { - "line": 159, + "line": 157, "column": 43 }, "end": { - "line": 159, + "line": 157, "column": 44 } } @@ -20198,15 +19748,15 @@ "binop": null, "updateContext": null }, - "start": 3960, - "end": 3961, + "start": 3922, + "end": 3923, "loc": { "start": { - "line": 159, + "line": 157, "column": 44 }, "end": { - "line": 159, + "line": 157, "column": 45 } } @@ -20226,15 +19776,15 @@ "updateContext": null }, "value": "this", - "start": 3970, - "end": 3974, + "start": 3932, + "end": 3936, "loc": { "start": { - "line": 160, + "line": 158, "column": 8 }, "end": { - "line": 160, + "line": 158, "column": 12 } } @@ -20252,15 +19802,15 @@ "binop": null, "updateContext": null }, - "start": 3974, - "end": 3975, + "start": 3936, + "end": 3937, "loc": { "start": { - "line": 160, + "line": 158, "column": 12 }, "end": { - "line": 160, + "line": 158, "column": 13 } } @@ -20278,15 +19828,15 @@ "binop": null }, "value": "private_next", - "start": 3975, - "end": 3987, + "start": 3937, + "end": 3949, "loc": { "start": { - "line": 160, + "line": 158, "column": 13 }, "end": { - "line": 160, + "line": 158, "column": 25 } } @@ -20305,15 +19855,15 @@ "updateContext": null }, "value": "=", - "start": 3988, - "end": 3989, + "start": 3950, + "end": 3951, "loc": { "start": { - "line": 160, + "line": 158, "column": 26 }, "end": { - "line": 160, + "line": 158, "column": 27 } } @@ -20331,15 +19881,15 @@ "binop": null }, "value": "getHaab", - "start": 3990, - "end": 3997, + "start": 3952, + "end": 3959, "loc": { "start": { - "line": 160, + "line": 158, "column": 28 }, "end": { - "line": 160, + "line": 158, "column": 35 } } @@ -20356,15 +19906,15 @@ "postfix": false, "binop": null }, - "start": 3997, - "end": 3998, + "start": 3959, + "end": 3960, "loc": { "start": { - "line": 160, + "line": 158, "column": 35 }, "end": { - "line": 160, + "line": 158, "column": 36 } } @@ -20383,15 +19933,15 @@ "updateContext": null }, "value": 0, - "start": 3998, - "end": 3999, + "start": 3960, + "end": 3961, "loc": { "start": { - "line": 160, + "line": 158, "column": 36 }, "end": { - "line": 160, + "line": 158, "column": 37 } } @@ -20409,15 +19959,15 @@ "binop": null, "updateContext": null }, - "start": 3999, - "end": 4000, + "start": 3961, + "end": 3962, "loc": { "start": { - "line": 160, + "line": 158, "column": 37 }, "end": { - "line": 160, + "line": 158, "column": 38 } } @@ -20435,15 +19985,15 @@ "binop": null }, "value": "newMonth", - "start": 4001, - "end": 4009, + "start": 3963, + "end": 3971, "loc": { "start": { - "line": 160, + "line": 158, "column": 39 }, "end": { - "line": 160, + "line": 158, "column": 47 } } @@ -20460,15 +20010,15 @@ "postfix": false, "binop": null }, - "start": 4009, - "end": 4010, + "start": 3971, + "end": 3972, "loc": { "start": { - "line": 160, + "line": 158, "column": 47 }, "end": { - "line": 160, + "line": 158, "column": 48 } } @@ -20486,15 +20036,15 @@ "binop": null, "updateContext": null }, - "start": 4010, - "end": 4011, + "start": 3972, + "end": 3973, "loc": { "start": { - "line": 160, + "line": 158, "column": 48 }, "end": { - "line": 160, + "line": 158, "column": 49 } } @@ -20511,15 +20061,15 @@ "postfix": false, "binop": null }, - "start": 4018, - "end": 4019, + "start": 3980, + "end": 3981, "loc": { "start": { - "line": 161, + "line": 159, "column": 6 }, "end": { - "line": 161, + "line": 159, "column": 7 } } @@ -20539,15 +20089,15 @@ "updateContext": null }, "value": "else", - "start": 4020, - "end": 4024, + "start": 3982, + "end": 3986, "loc": { "start": { - "line": 161, + "line": 159, "column": 8 }, "end": { - "line": 161, + "line": 159, "column": 12 } } @@ -20564,15 +20114,15 @@ "postfix": false, "binop": null }, - "start": 4025, - "end": 4026, + "start": 3987, + "end": 3988, "loc": { "start": { - "line": 161, + "line": 159, "column": 13 }, "end": { - "line": 161, + "line": 159, "column": 14 } } @@ -20592,15 +20142,15 @@ "updateContext": null }, "value": "this", - "start": 4035, - "end": 4039, + "start": 3997, + "end": 4001, "loc": { "start": { - "line": 162, + "line": 160, "column": 8 }, "end": { - "line": 162, + "line": 160, "column": 12 } } @@ -20618,15 +20168,15 @@ "binop": null, "updateContext": null }, - "start": 4039, - "end": 4040, + "start": 4001, + "end": 4002, "loc": { "start": { - "line": 162, + "line": 160, "column": 12 }, "end": { - "line": 162, + "line": 160, "column": 13 } } @@ -20644,15 +20194,15 @@ "binop": null }, "value": "private_next", - "start": 4040, - "end": 4052, + "start": 4002, + "end": 4014, "loc": { "start": { - "line": 162, + "line": 160, "column": 13 }, "end": { - "line": 162, + "line": 160, "column": 25 } } @@ -20671,15 +20221,15 @@ "updateContext": null }, "value": "=", - "start": 4053, - "end": 4054, + "start": 4015, + "end": 4016, "loc": { "start": { - "line": 162, + "line": 160, "column": 26 }, "end": { - "line": 162, + "line": 160, "column": 27 } } @@ -20697,15 +20247,15 @@ "binop": null }, "value": "getHaab", - "start": 4055, - "end": 4062, + "start": 4017, + "end": 4024, "loc": { "start": { - "line": 162, + "line": 160, "column": 28 }, "end": { - "line": 162, + "line": 160, "column": 35 } } @@ -20722,15 +20272,15 @@ "postfix": false, "binop": null }, - "start": 4062, - "end": 4063, + "start": 4024, + "end": 4025, "loc": { "start": { - "line": 162, + "line": 160, "column": 35 }, "end": { - "line": 162, + "line": 160, "column": 36 } } @@ -20750,15 +20300,15 @@ "updateContext": null }, "value": "this", - "start": 4063, - "end": 4067, + "start": 4025, + "end": 4029, "loc": { "start": { - "line": 162, + "line": 160, "column": 36 }, "end": { - "line": 162, + "line": 160, "column": 40 } } @@ -20776,15 +20326,15 @@ "binop": null, "updateContext": null }, - "start": 4067, - "end": 4068, + "start": 4029, + "end": 4030, "loc": { "start": { - "line": 162, + "line": 160, "column": 40 }, "end": { - "line": 162, + "line": 160, "column": 41 } } @@ -20802,15 +20352,15 @@ "binop": null }, "value": "coeff", - "start": 4068, - "end": 4073, + "start": 4030, + "end": 4035, "loc": { "start": { - "line": 162, + "line": 160, "column": 41 }, "end": { - "line": 162, + "line": 160, "column": 46 } } @@ -20829,15 +20379,15 @@ "updateContext": null }, "value": "+", - "start": 4074, - "end": 4075, + "start": 4036, + "end": 4037, "loc": { "start": { - "line": 162, + "line": 160, "column": 47 }, "end": { - "line": 162, + "line": 160, "column": 48 } } @@ -20856,15 +20406,15 @@ "updateContext": null }, "value": 1, - "start": 4076, - "end": 4077, + "start": 4038, + "end": 4039, "loc": { "start": { - "line": 162, + "line": 160, "column": 49 }, "end": { - "line": 162, + "line": 160, "column": 50 } } @@ -20882,15 +20432,15 @@ "binop": null, "updateContext": null }, - "start": 4077, - "end": 4078, + "start": 4039, + "end": 4040, "loc": { "start": { - "line": 162, + "line": 160, "column": 50 }, "end": { - "line": 162, + "line": 160, "column": 51 } } @@ -20910,15 +20460,15 @@ "updateContext": null }, "value": "this", - "start": 4079, - "end": 4083, + "start": 4041, + "end": 4045, "loc": { "start": { - "line": 162, + "line": 160, "column": 52 }, "end": { - "line": 162, + "line": 160, "column": 56 } } @@ -20936,15 +20486,15 @@ "binop": null, "updateContext": null }, - "start": 4083, - "end": 4084, + "start": 4045, + "end": 4046, "loc": { "start": { - "line": 162, + "line": 160, "column": 56 }, "end": { - "line": 162, + "line": 160, "column": 57 } } @@ -20962,15 +20512,15 @@ "binop": null }, "value": "month", - "start": 4084, - "end": 4089, + "start": 4046, + "end": 4051, "loc": { "start": { - "line": 162, + "line": 160, "column": 57 }, "end": { - "line": 162, + "line": 160, "column": 62 } } @@ -20987,15 +20537,15 @@ "postfix": false, "binop": null }, - "start": 4089, - "end": 4090, + "start": 4051, + "end": 4052, "loc": { "start": { - "line": 162, + "line": 160, "column": 62 }, "end": { - "line": 162, + "line": 160, "column": 63 } } @@ -21013,15 +20563,15 @@ "binop": null, "updateContext": null }, - "start": 4090, - "end": 4091, + "start": 4052, + "end": 4053, "loc": { "start": { - "line": 162, + "line": 160, "column": 63 }, "end": { - "line": 162, + "line": 160, "column": 64 } } @@ -21038,15 +20588,15 @@ "postfix": false, "binop": null }, - "start": 4098, - "end": 4099, + "start": 4060, + "end": 4061, "loc": { "start": { - "line": 163, + "line": 161, "column": 6 }, "end": { - "line": 163, + "line": 161, "column": 7 } } @@ -21063,15 +20613,15 @@ "postfix": false, "binop": null }, - "start": 4104, - "end": 4105, + "start": 4066, + "end": 4067, "loc": { "start": { - "line": 164, + "line": 162, "column": 4 }, "end": { - "line": 164, + "line": 162, "column": 5 } } @@ -21091,15 +20641,15 @@ "updateContext": null }, "value": "return", - "start": 4110, - "end": 4116, + "start": 4072, + "end": 4078, "loc": { "start": { - "line": 165, + "line": 163, "column": 4 }, "end": { - "line": 165, + "line": 163, "column": 10 } } @@ -21119,15 +20669,15 @@ "updateContext": null }, "value": "this", - "start": 4117, - "end": 4121, + "start": 4079, + "end": 4083, "loc": { "start": { - "line": 165, + "line": 163, "column": 11 }, "end": { - "line": 165, + "line": 163, "column": 15 } } @@ -21145,15 +20695,15 @@ "binop": null, "updateContext": null }, - "start": 4121, - "end": 4122, + "start": 4083, + "end": 4084, "loc": { "start": { - "line": 165, + "line": 163, "column": 15 }, "end": { - "line": 165, + "line": 163, "column": 16 } } @@ -21171,15 +20721,15 @@ "binop": null }, "value": "private_next", - "start": 4122, - "end": 4134, + "start": 4084, + "end": 4096, "loc": { "start": { - "line": 165, + "line": 163, "column": 16 }, "end": { - "line": 165, + "line": 163, "column": 28 } } @@ -21197,15 +20747,15 @@ "binop": null, "updateContext": null }, - "start": 4134, - "end": 4135, + "start": 4096, + "end": 4097, "loc": { "start": { - "line": 165, + "line": 163, "column": 28 }, "end": { - "line": 165, + "line": 163, "column": 29 } } @@ -21223,15 +20773,15 @@ "binop": null }, "value": "shift", - "start": 4135, - "end": 4140, + "start": 4097, + "end": 4102, "loc": { "start": { - "line": 165, + "line": 163, "column": 29 }, "end": { - "line": 165, + "line": 163, "column": 34 } } @@ -21248,15 +20798,15 @@ "postfix": false, "binop": null }, - "start": 4140, - "end": 4141, + "start": 4102, + "end": 4103, "loc": { "start": { - "line": 165, + "line": 163, "column": 34 }, "end": { - "line": 165, + "line": 163, "column": 35 } } @@ -21274,15 +20824,15 @@ "binop": null }, "value": "incremental", - "start": 4141, - "end": 4152, + "start": 4103, + "end": 4114, "loc": { "start": { - "line": 165, + "line": 163, "column": 35 }, "end": { - "line": 165, + "line": 163, "column": 46 } } @@ -21301,15 +20851,15 @@ "updateContext": null }, "value": "-", - "start": 4153, - "end": 4154, + "start": 4115, + "end": 4116, "loc": { "start": { - "line": 165, + "line": 163, "column": 47 }, "end": { - "line": 165, + "line": 163, "column": 48 } } @@ -21328,15 +20878,15 @@ "updateContext": null }, "value": 1, - "start": 4155, - "end": 4156, + "start": 4117, + "end": 4118, "loc": { "start": { - "line": 165, + "line": 163, "column": 49 }, "end": { - "line": 165, + "line": 163, "column": 50 } } @@ -21353,15 +20903,15 @@ "postfix": false, "binop": null }, - "start": 4156, - "end": 4157, + "start": 4118, + "end": 4119, "loc": { "start": { - "line": 165, + "line": 163, "column": 50 }, "end": { - "line": 165, + "line": 163, "column": 51 } } @@ -21379,15 +20929,15 @@ "binop": null, "updateContext": null }, - "start": 4157, - "end": 4158, + "start": 4119, + "end": 4120, "loc": { "start": { - "line": 165, + "line": 163, "column": 51 }, "end": { - "line": 165, + "line": 163, "column": 52 } } @@ -21404,15 +20954,15 @@ "postfix": false, "binop": null }, - "start": 4161, - "end": 4162, + "start": 4123, + "end": 4124, "loc": { "start": { - "line": 166, + "line": 164, "column": 2 }, "end": { - "line": 166, + "line": 164, "column": 3 } } @@ -21420,15 +20970,15 @@ { "type": "CommentBlock", "value": "*\n * Render the Haab fullDate as a string\n * @returns {string}\n ", - "start": 4166, - "end": 4240, + "start": 4128, + "end": 4202, "loc": { "start": { - "line": 168, + "line": 166, "column": 2 }, "end": { - "line": 171, + "line": 169, "column": 5 } } @@ -21446,15 +20996,15 @@ "binop": null }, "value": "toString", - "start": 4243, - "end": 4251, + "start": 4205, + "end": 4213, "loc": { "start": { - "line": 172, + "line": 170, "column": 2 }, "end": { - "line": 172, + "line": 170, "column": 10 } } @@ -21471,15 +21021,15 @@ "postfix": false, "binop": null }, - "start": 4251, - "end": 4252, + "start": 4213, + "end": 4214, "loc": { "start": { - "line": 172, + "line": 170, "column": 10 }, "end": { - "line": 172, + "line": 170, "column": 11 } } @@ -21496,15 +21046,15 @@ "postfix": false, "binop": null }, - "start": 4252, - "end": 4253, + "start": 4214, + "end": 4215, "loc": { "start": { - "line": 172, + "line": 170, "column": 11 }, "end": { - "line": 172, + "line": 170, "column": 12 } } @@ -21521,15 +21071,15 @@ "postfix": false, "binop": null }, - "start": 4254, - "end": 4255, + "start": 4216, + "end": 4217, "loc": { "start": { - "line": 172, + "line": 170, "column": 13 }, "end": { - "line": 172, + "line": 170, "column": 14 } } @@ -21549,15 +21099,15 @@ "updateContext": null }, "value": "return", - "start": 4260, - "end": 4266, + "start": 4222, + "end": 4228, "loc": { "start": { - "line": 173, + "line": 171, "column": 4 }, "end": { - "line": 173, + "line": 171, "column": 10 } } @@ -21574,15 +21124,15 @@ "postfix": false, "binop": null }, - "start": 4267, - "end": 4268, + "start": 4229, + "end": 4230, "loc": { "start": { - "line": 173, + "line": 171, "column": 11 }, "end": { - "line": 173, + "line": 171, "column": 12 } } @@ -21601,15 +21151,15 @@ "updateContext": null }, "value": "", - "start": 4268, - "end": 4268, + "start": 4230, + "end": 4230, "loc": { "start": { - "line": 173, + "line": 171, "column": 12 }, "end": { - "line": 173, + "line": 171, "column": 12 } } @@ -21626,15 +21176,15 @@ "postfix": false, "binop": null }, - "start": 4268, - "end": 4270, + "start": 4230, + "end": 4232, "loc": { "start": { - "line": 173, + "line": 171, "column": 12 }, "end": { - "line": 173, + "line": 171, "column": 14 } } @@ -21654,15 +21204,15 @@ "updateContext": null }, "value": "this", - "start": 4270, - "end": 4274, + "start": 4232, + "end": 4236, "loc": { "start": { - "line": 173, + "line": 171, "column": 14 }, "end": { - "line": 173, + "line": 171, "column": 18 } } @@ -21680,15 +21230,15 @@ "binop": null, "updateContext": null }, - "start": 4274, - "end": 4275, + "start": 4236, + "end": 4237, "loc": { "start": { - "line": 173, + "line": 171, "column": 18 }, "end": { - "line": 173, + "line": 171, "column": 19 } } @@ -21706,15 +21256,15 @@ "binop": null }, "value": "coeff", - "start": 4275, - "end": 4280, + "start": 4237, + "end": 4242, "loc": { "start": { - "line": 173, + "line": 171, "column": 19 }, "end": { - "line": 173, + "line": 171, "column": 24 } } @@ -21731,15 +21281,15 @@ "postfix": false, "binop": null }, - "start": 4280, - "end": 4281, + "start": 4242, + "end": 4243, "loc": { "start": { - "line": 173, + "line": 171, "column": 24 }, "end": { - "line": 173, + "line": 171, "column": 25 } } @@ -21758,15 +21308,15 @@ "updateContext": null }, "value": " ", - "start": 4281, - "end": 4282, + "start": 4243, + "end": 4244, "loc": { "start": { - "line": 173, + "line": 171, "column": 25 }, "end": { - "line": 173, + "line": 171, "column": 26 } } @@ -21783,15 +21333,15 @@ "postfix": false, "binop": null }, - "start": 4282, - "end": 4284, + "start": 4244, + "end": 4246, "loc": { "start": { - "line": 173, + "line": 171, "column": 26 }, "end": { - "line": 173, + "line": 171, "column": 28 } } @@ -21811,15 +21361,15 @@ "updateContext": null }, "value": "this", - "start": 4284, - "end": 4288, + "start": 4246, + "end": 4250, "loc": { "start": { - "line": 173, + "line": 171, "column": 28 }, "end": { - "line": 173, + "line": 171, "column": 32 } } @@ -21837,15 +21387,15 @@ "binop": null, "updateContext": null }, - "start": 4288, - "end": 4289, + "start": 4250, + "end": 4251, "loc": { "start": { - "line": 173, + "line": 171, "column": 32 }, "end": { - "line": 173, + "line": 171, "column": 33 } } @@ -21863,15 +21413,15 @@ "binop": null }, "value": "name", - "start": 4289, - "end": 4293, + "start": 4251, + "end": 4255, "loc": { "start": { - "line": 173, + "line": 171, "column": 33 }, "end": { - "line": 173, + "line": 171, "column": 37 } } @@ -21888,15 +21438,15 @@ "postfix": false, "binop": null }, - "start": 4293, - "end": 4294, + "start": 4255, + "end": 4256, "loc": { "start": { - "line": 173, + "line": 171, "column": 37 }, "end": { - "line": 173, + "line": 171, "column": 38 } } @@ -21915,15 +21465,15 @@ "updateContext": null }, "value": "", - "start": 4294, - "end": 4294, + "start": 4256, + "end": 4256, "loc": { "start": { - "line": 173, + "line": 171, "column": 38 }, "end": { - "line": 173, + "line": 171, "column": 38 } } @@ -21940,15 +21490,15 @@ "postfix": false, "binop": null }, - "start": 4294, - "end": 4295, + "start": 4256, + "end": 4257, "loc": { "start": { - "line": 173, + "line": 171, "column": 38 }, "end": { - "line": 173, + "line": 171, "column": 39 } } @@ -21966,15 +21516,15 @@ "binop": null, "updateContext": null }, - "start": 4295, - "end": 4296, + "start": 4257, + "end": 4258, "loc": { "start": { - "line": 173, + "line": 171, "column": 39 }, "end": { - "line": 173, + "line": 171, "column": 40 } } @@ -21991,15 +21541,15 @@ "postfix": false, "binop": null }, - "start": 4299, - "end": 4300, + "start": 4261, + "end": 4262, "loc": { "start": { - "line": 174, + "line": 172, "column": 2 }, "end": { - "line": 174, + "line": 172, "column": 3 } } @@ -22016,49 +21566,52 @@ "postfix": false, "binop": null }, - "start": 4301, - "end": 4302, + "start": 4263, + "end": 4264, "loc": { "start": { - "line": 175, + "line": 173, "column": 0 }, "end": { - "line": 175, + "line": 173, "column": 1 } } }, { "type": { - "label": "name", + "label": "export", + "keyword": "export", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "module", - "start": 4304, - "end": 4310, + "value": "export", + "start": 4266, + "end": 4272, "loc": { "start": { - "line": 177, + "line": 175, "column": 0 }, "end": { - "line": 177, + "line": 175, "column": 6 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "default", + "keyword": "default", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -22068,72 +21621,20 @@ "binop": null, "updateContext": null }, - "start": 4310, - "end": 4311, - "loc": { - "start": { - "line": 177, - "column": 6 - }, - "end": { - "line": 177, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "exports", - "start": 4311, - "end": 4318, + "value": "default", + "start": 4273, + "end": 4280, "loc": { "start": { - "line": 177, + "line": 175, "column": 7 }, "end": { - "line": 177, + "line": 175, "column": 14 } } }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 4319, - "end": 4320, - "loc": { - "start": { - "line": 177, - "column": 15 - }, - "end": { - "line": 177, - "column": 16 - } - } - }, { "type": { "label": "{", @@ -22146,16 +21647,16 @@ "postfix": false, "binop": null }, - "start": 4321, - "end": 4322, + "start": 4281, + "end": 4282, "loc": { "start": { - "line": 177, - "column": 17 + "line": 175, + "column": 15 }, "end": { - "line": 177, - "column": 18 + "line": 175, + "column": 16 } } }, @@ -22172,15 +21673,15 @@ "binop": null }, "value": "getHaab", - "start": 4325, - "end": 4332, + "start": 4285, + "end": 4292, "loc": { "start": { - "line": 178, + "line": 176, "column": 2 }, "end": { - "line": 178, + "line": 176, "column": 9 } } @@ -22198,15 +21699,15 @@ "binop": null, "updateContext": null }, - "start": 4332, - "end": 4333, + "start": 4292, + "end": 4293, "loc": { "start": { - "line": 178, + "line": 176, "column": 9 }, "end": { - "line": 178, + "line": 176, "column": 10 } } @@ -22224,15 +21725,15 @@ "binop": null }, "value": "getHaabMonth", - "start": 4336, - "end": 4348, + "start": 4296, + "end": 4308, "loc": { "start": { - "line": 179, + "line": 177, "column": 2 }, "end": { - "line": 179, + "line": 177, "column": 14 } } @@ -22249,15 +21750,15 @@ "postfix": false, "binop": null }, - "start": 4349, - "end": 4350, + "start": 4309, + "end": 4310, "loc": { "start": { - "line": 180, + "line": 178, "column": 0 }, "end": { - "line": 180, + "line": 178, "column": 1 } } @@ -22275,15 +21776,15 @@ "binop": null, "updateContext": null }, - "start": 4350, - "end": 4351, + "start": 4310, + "end": 4311, "loc": { "start": { - "line": 180, + "line": 178, "column": 1 }, "end": { - "line": 180, + "line": 178, "column": 2 } } @@ -22301,15 +21802,15 @@ "binop": null, "updateContext": null }, - "start": 4352, - "end": 4352, + "start": 4312, + "end": 4312, "loc": { "start": { - "line": 181, + "line": 179, "column": 0 }, "end": { - "line": 181, + "line": 179, "column": 0 } } diff --git a/docs/ast/source/cr/index.js.json b/docs/ast/source/cr/index.js.json index 24243d3..90ded79 100644 --- a/docs/ast/source/cr/index.js.json +++ b/docs/ast/source/cr/index.js.json @@ -1,947 +1,565 @@ { "type": "File", "start": 0, - "end": 253, + "end": 197, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 15, + "line": 11, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 253, + "end": 197, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 15, + "line": 11, "column": 0 } }, "sourceType": "module", "body": [ { - "type": "VariableDeclaration", - "start": 15, - "end": 80, + "type": "ImportDeclaration", + "start": 0, + "end": 34, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 65 + "line": 1, + "column": 34 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 21, - "end": 79, + "type": "ImportDefaultSpecifier", + "start": 7, + "end": 9, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 64 + "line": 1, + "column": 9 } }, - "id": { - "type": "ObjectPattern", - "start": 21, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 6 - }, - "end": { - "line": 2, - "column": 34 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 23, - "end": 29, - "loc": { - "start": { - "line": 2, - "column": 8 - }, - "end": { - "line": 2, - "column": 14 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 23, - "end": 29, - "loc": { - "start": { - "line": 2, - "column": 8 - }, - "end": { - "line": 2, - "column": 14 - }, - "identifierName": "origin" - }, - "name": "origin", - "leadingComments": null - }, - "value": { - "type": "Identifier", - "start": 23, - "end": 29, - "loc": { - "start": { - "line": 2, - "column": 8 - }, - "end": { - "line": 2, - "column": 14 - }, - "identifierName": "origin" - }, - "name": "origin" - }, - "leadingComments": null, - "extra": { - "shorthand": true - } - }, - { - "type": "ObjectProperty", - "start": 31, - "end": 47, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 32 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 31, - "end": 47, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 32 - }, - "identifierName": "getCalendarRound" - }, - "name": "getCalendarRound" - }, - "value": { - "type": "Identifier", - "start": 31, - "end": 47, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 32 - }, - "identifierName": "getCalendarRound" - }, - "name": "getCalendarRound" - }, - "extra": { - "shorthand": true - } - } - ], - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 52, - "end": 79, + "local": { + "type": "Identifier", + "start": 7, + "end": 9, "loc": { "start": { - "line": 2, - "column": 37 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 64 - } - }, - "callee": { - "type": "Identifier", - "start": 52, - "end": 59, - "loc": { - "start": { - "line": 2, - "column": 37 - }, - "end": { - "line": 2, - "column": 44 - }, - "identifierName": "require" + "line": 1, + "column": 9 }, - "name": "require" + "identifierName": "cr" }, - "arguments": [ - { - "type": "StringLiteral", - "start": 60, - "end": 78, - "loc": { - "start": { - "line": 2, - "column": 45 - }, - "end": { - "line": 2, - "column": 63 - } - }, - "extra": { - "rawValue": "./calendar-round", - "raw": "'./calendar-round'" - }, - "value": "./calendar-round" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } + "name": "cr" } } ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 81, - "end": 95, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 15, + "end": 33, + "loc": { + "start": { + "line": 1, + "column": 15 + }, + "end": { + "line": 1, + "column": 33 } - } - ] + }, + "extra": { + "rawValue": "./calendar-round", + "raw": "'./calendar-round'" + }, + "value": "./calendar-round" + } }, { - "type": "VariableDeclaration", - "start": 96, - "end": 133, + "type": "ImportDeclaration", + "start": 35, + "end": 67, "loc": { "start": { - "line": 4, + "line": 2, "column": 0 }, "end": { - "line": 4, - "column": 37 + "line": 2, + "column": 32 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 102, - "end": 132, + "type": "ImportDefaultSpecifier", + "start": 42, + "end": 49, "loc": { "start": { - "line": 4, - "column": 6 + "line": 2, + "column": 7 }, "end": { - "line": 4, - "column": 36 + "line": 2, + "column": 14 } }, - "id": { + "local": { "type": "Identifier", - "start": 102, - "end": 109, + "start": 42, + "end": 49, "loc": { "start": { - "line": 4, - "column": 6 + "line": 2, + "column": 7 }, "end": { - "line": 4, - "column": 13 + "line": 2, + "column": 14 }, "identifierName": "tzolkin" }, - "name": "tzolkin", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 112, - "end": 132, - "loc": { - "start": { - "line": 4, - "column": 16 - }, - "end": { - "line": 4, - "column": 36 - } - }, - "callee": { - "type": "Identifier", - "start": 112, - "end": 119, - "loc": { - "start": { - "line": 4, - "column": 16 - }, - "end": { - "line": 4, - "column": 23 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 120, - "end": 131, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 35 - } - }, - "extra": { - "rawValue": "./tzolkin", - "raw": "'./tzolkin'" - }, - "value": "./tzolkin" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 81, - "end": 95, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } + "name": "tzolkin" } } ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 134, - "end": 148, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 55, + "end": 66, + "loc": { + "start": { + "line": 2, + "column": 20 + }, + "end": { + "line": 2, + "column": 31 } - } - ] + }, + "extra": { + "rawValue": "./tzolkin", + "raw": "'./tzolkin'" + }, + "value": "./tzolkin" + } }, { - "type": "VariableDeclaration", - "start": 149, - "end": 180, + "type": "ImportDeclaration", + "start": 68, + "end": 94, "loc": { "start": { - "line": 6, + "line": 3, "column": 0 }, "end": { - "line": 6, - "column": 31 + "line": 3, + "column": 26 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 155, - "end": 179, + "type": "ImportDefaultSpecifier", + "start": 75, + "end": 79, "loc": { "start": { - "line": 6, - "column": 6 + "line": 3, + "column": 7 }, "end": { - "line": 6, - "column": 30 + "line": 3, + "column": 11 } }, - "id": { + "local": { "type": "Identifier", - "start": 155, - "end": 159, + "start": 75, + "end": 79, "loc": { "start": { - "line": 6, - "column": 6 + "line": 3, + "column": 7 }, "end": { - "line": 6, - "column": 10 + "line": 3, + "column": 11 }, "identifierName": "haab" }, - "name": "haab", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 162, - "end": 179, - "loc": { - "start": { - "line": 6, - "column": 13 - }, - "end": { - "line": 6, - "column": 30 - } - }, - "callee": { - "type": "Identifier", - "start": 162, - "end": 169, - "loc": { - "start": { - "line": 6, - "column": 13 - }, - "end": { - "line": 6, - "column": 20 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 170, - "end": 178, - "loc": { - "start": { - "line": 6, - "column": 21 - }, - "end": { - "line": 6, - "column": 29 - } - }, - "extra": { - "rawValue": "./haab", - "raw": "'./haab'" - }, - "value": "./haab" - } - ] - }, - "leadingComments": null + "name": "haab" + } } ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 134, - "end": 148, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 85, + "end": 93, + "loc": { + "start": { + "line": 3, + "column": 17 + }, + "end": { + "line": 3, + "column": 25 } - } - ] + }, + "extra": { + "rawValue": "./haab", + "raw": "'./haab'" + }, + "value": "./haab" + } }, { - "type": "ExpressionStatement", - "start": 183, - "end": 252, + "type": "ExportDefaultDeclaration", + "start": 96, + "end": 196, "loc": { "start": { - "line": 9, + "line": 5, "column": 0 }, "end": { - "line": 14, + "line": 10, "column": 2 } }, - "expression": { - "type": "AssignmentExpression", - "start": 183, - "end": 251, + "declaration": { + "type": "ObjectExpression", + "start": 111, + "end": 195, "loc": { "start": { - "line": 9, - "column": 0 + "line": 5, + "column": 15 }, "end": { - "line": 14, + "line": 10, "column": 1 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 183, - "end": 197, - "loc": { - "start": { - "line": 9, - "column": 0 - }, - "end": { - "line": 9, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 183, - "end": 189, - "loc": { - "start": { - "line": 9, - "column": 0 - }, - "end": { - "line": 9, - "column": 6 - }, - "identifierName": "module" - }, - "name": "module" - }, - "property": { - "type": "Identifier", - "start": 190, - "end": 197, + "properties": [ + { + "type": "ObjectProperty", + "start": 115, + "end": 152, "loc": { "start": { - "line": 9, - "column": 7 + "line": 6, + "column": 2 }, "end": { - "line": 9, - "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "ObjectExpression", - "start": 200, - "end": 251, - "loc": { - "start": { - "line": 9, - "column": 17 + "line": 6, + "column": 39 + } }, - "end": { - "line": 14, - "column": 1 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 204, - "end": 220, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 115, + "end": 131, "loc": { "start": { - "line": 10, + "line": 6, "column": 2 }, "end": { - "line": 10, + "line": 6, "column": 18 + }, + "identifierName": "getCalendarRound" + }, + "name": "getCalendarRound" + }, + "value": { + "type": "MemberExpression", + "start": 133, + "end": 152, + "loc": { + "start": { + "line": 6, + "column": 20 + }, + "end": { + "line": 6, + "column": 39 } }, - "method": false, - "shorthand": true, - "computed": false, - "key": { + "object": { "type": "Identifier", - "start": 204, - "end": 220, + "start": 133, + "end": 135, "loc": { "start": { - "line": 10, - "column": 2 + "line": 6, + "column": 20 }, "end": { - "line": 10, - "column": 18 + "line": 6, + "column": 22 }, - "identifierName": "getCalendarRound" + "identifierName": "cr" }, - "name": "getCalendarRound" + "name": "cr" }, - "value": { + "property": { "type": "Identifier", - "start": 204, - "end": 220, + "start": 136, + "end": 152, "loc": { "start": { - "line": 10, - "column": 2 + "line": 6, + "column": 23 }, "end": { - "line": 10, - "column": 18 + "line": 6, + "column": 39 }, "identifierName": "getCalendarRound" }, "name": "getCalendarRound" }, - "extra": { - "shorthand": true + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 156, + "end": 173, + "loc": { + "start": { + "line": 7, + "column": 2 + }, + "end": { + "line": 7, + "column": 19 } }, - { - "type": "ObjectProperty", - "start": 224, - "end": 231, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 156, + "end": 162, "loc": { "start": { - "line": 11, + "line": 7, "column": 2 }, "end": { - "line": 11, - "column": 9 + "line": 7, + "column": 8 + }, + "identifierName": "origin" + }, + "name": "origin" + }, + "value": { + "type": "MemberExpression", + "start": 164, + "end": 173, + "loc": { + "start": { + "line": 7, + "column": 10 + }, + "end": { + "line": 7, + "column": 19 } }, - "method": false, - "shorthand": true, - "computed": false, - "key": { + "object": { "type": "Identifier", - "start": 224, - "end": 231, + "start": 164, + "end": 166, "loc": { "start": { - "line": 11, - "column": 2 + "line": 7, + "column": 10 }, "end": { - "line": 11, - "column": 9 + "line": 7, + "column": 12 }, - "identifierName": "tzolkin" + "identifierName": "cr" }, - "name": "tzolkin" + "name": "cr" }, - "value": { + "property": { "type": "Identifier", - "start": 224, - "end": 231, + "start": 167, + "end": 173, "loc": { "start": { - "line": 11, - "column": 2 + "line": 7, + "column": 13 }, "end": { - "line": 11, - "column": 9 + "line": 7, + "column": 19 }, - "identifierName": "tzolkin" + "identifierName": "origin" }, - "name": "tzolkin" + "name": "origin" }, - "extra": { - "shorthand": true + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 177, + "end": 184, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 9 } }, - { - "type": "ObjectProperty", - "start": 235, - "end": 239, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 177, + "end": 184, "loc": { "start": { - "line": 12, + "line": 8, "column": 2 }, "end": { - "line": 12, - "column": 6 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 235, - "end": 239, - "loc": { - "start": { - "line": 12, - "column": 2 - }, - "end": { - "line": 12, - "column": 6 - }, - "identifierName": "haab" + "line": 8, + "column": 9 }, - "name": "haab" + "identifierName": "tzolkin" }, - "value": { - "type": "Identifier", - "start": 235, - "end": 239, - "loc": { - "start": { - "line": 12, - "column": 2 - }, - "end": { - "line": 12, - "column": 6 - }, - "identifierName": "haab" + "name": "tzolkin" + }, + "value": { + "type": "Identifier", + "start": 177, + "end": 184, + "loc": { + "start": { + "line": 8, + "column": 2 }, - "name": "haab" + "end": { + "line": 8, + "column": 9 + }, + "identifierName": "tzolkin" }, - "extra": { - "shorthand": true + "name": "tzolkin" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 188, + "end": 192, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 9, + "column": 6 } }, - { - "type": "ObjectProperty", - "start": 243, - "end": 249, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 188, + "end": 192, "loc": { "start": { - "line": 13, + "line": 9, "column": 2 }, "end": { - "line": 13, - "column": 8 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 243, - "end": 249, - "loc": { - "start": { - "line": 13, - "column": 2 - }, - "end": { - "line": 13, - "column": 8 - }, - "identifierName": "origin" + "line": 9, + "column": 6 }, - "name": "origin" + "identifierName": "haab" }, - "value": { - "type": "Identifier", - "start": 243, - "end": 249, - "loc": { - "start": { - "line": 13, - "column": 2 - }, - "end": { - "line": 13, - "column": 8 - }, - "identifierName": "origin" + "name": "haab" + }, + "value": { + "type": "Identifier", + "start": 188, + "end": 192, + "loc": { + "start": { + "line": 9, + "column": 2 }, - "name": "origin" + "end": { + "line": 9, + "column": 6 + }, + "identifierName": "haab" }, - "extra": { - "shorthand": true - } + "name": "haab" + }, + "extra": { + "shorthand": true } - ] - } + } + ], + "leadingComments": [], + "trailingComments": [] } } ], "directives": [] }, - "comments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 81, - "end": 95, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 134, - "end": 148, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } - } - } - ], + "comments": [], "tokens": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -950,24 +568,24 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 15, - "end": 20, + "value": "import", + "start": 0, + "end": 6, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 5 + "line": 1, + "column": 6 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -976,16 +594,17 @@ "postfix": false, "binop": null }, - "start": 21, - "end": 22, + "value": "cr", + "start": 7, + "end": 9, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 7 + "line": 1, + "column": 9 } } }, @@ -1001,25 +620,25 @@ "postfix": false, "binop": null }, - "value": "origin", - "start": 23, - "end": 29, + "value": "from", + "start": 10, + "end": 14, "loc": { "start": { - "line": 2, - "column": 8 + "line": 1, + "column": 10 }, "end": { - "line": 2, + "line": 1, "column": 14 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1028,100 +647,50 @@ "binop": null, "updateContext": null }, - "start": 29, - "end": 30, + "value": "./calendar-round", + "start": 15, + "end": 33, "loc": { "start": { - "line": 2, - "column": 14 - }, - "end": { - "line": 2, + "line": 1, "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getCalendarRound", - "start": 31, - "end": 47, - "loc": { - "start": { - "line": 2, - "column": 16 }, "end": { - "line": 2, - "column": 32 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 48, - "end": 49, - "loc": { - "start": { - "line": 2, + "line": 1, "column": 33 - }, - "end": { - "line": 2, - "column": 34 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 50, - "end": 51, + "start": 33, + "end": 34, "loc": { "start": { - "line": 2, - "column": 35 + "line": 1, + "column": 33 }, "end": { - "line": 2, - "column": 36 + "line": 1, + "column": 34 } } }, { "type": { - "label": "name", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1129,26 +698,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "require", - "start": 52, - "end": 59, + "value": "import", + "start": 35, + "end": 41, "loc": { "start": { "line": 2, - "column": 37 + "column": 0 }, "end": { "line": 2, - "column": 44 + "column": 6 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1157,22 +727,23 @@ "postfix": false, "binop": null }, - "start": 59, - "end": 60, + "value": "tzolkin", + "start": 42, + "end": 49, "loc": { "start": { "line": 2, - "column": 44 + "column": 7 }, "end": { "line": 2, - "column": 45 + "column": 14 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1180,121 +751,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./calendar-round", - "start": 60, - "end": 78, - "loc": { - "start": { - "line": 2, - "column": 45 - }, - "end": { - "line": 2, - "column": 63 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null }, - "start": 78, - "end": 79, - "loc": { - "start": { - "line": 2, - "column": 63 - }, - "end": { - "line": 2, - "column": 64 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 79, - "end": 80, + "value": "from", + "start": 50, + "end": 54, "loc": { "start": { "line": 2, - "column": 64 + "column": 15 }, "end": { "line": 2, - "column": 65 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 81, - "end": 95, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 96, - "end": 101, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 5 + "column": 19 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1302,52 +777,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "tzolkin", - "start": 102, - "end": 109, + "value": "./tzolkin", + "start": 55, + "end": 66, "loc": { "start": { - "line": 4, - "column": 6 + "line": 2, + "column": 20 }, "end": { - "line": 4, - "column": 13 + "line": 2, + "column": 31 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 110, - "end": 111, + "start": 66, + "end": 67, "loc": { "start": { - "line": 4, - "column": 14 + "line": 2, + "column": 31 }, "end": { - "line": 4, - "column": 15 + "line": 2, + "column": 32 } } }, { "type": { - "label": "name", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1355,26 +831,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "require", - "start": 112, - "end": 119, + "value": "import", + "start": 68, + "end": 74, "loc": { "start": { - "line": 4, - "column": 16 + "line": 3, + "column": 0 }, "end": { - "line": 4, - "column": 23 + "line": 3, + "column": 6 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1383,22 +860,23 @@ "postfix": false, "binop": null }, - "start": 119, - "end": 120, + "value": "haab", + "start": 75, + "end": 79, "loc": { "start": { - "line": 4, - "column": 23 + "line": 3, + "column": 7 }, "end": { - "line": 4, - "column": 24 + "line": 3, + "column": 11 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1406,45 +884,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./tzolkin", - "start": 120, - "end": 131, + "value": "from", + "start": 80, + "end": 84, "loc": { "start": { - "line": 4, - "column": 24 + "line": 3, + "column": 12 }, "end": { - "line": 4, - "column": 35 + "line": 3, + "column": 16 } } }, { "type": { - "label": ")", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 131, - "end": 132, + "value": "./haab", + "start": 85, + "end": 93, "loc": { "start": { - "line": 4, - "column": 35 + "line": 3, + "column": 17 }, "end": { - "line": 4, - "column": 36 + "line": 3, + "column": 25 } } }, @@ -1461,24 +940,36 @@ "binop": null, "updateContext": null }, - "start": 132, - "end": 133, + "start": 93, + "end": 94, "loc": { "start": { - "line": 4, - "column": 36 + "line": 3, + "column": 25 }, "end": { - "line": 4, - "column": 37 + "line": 3, + "column": 26 } } }, { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 134, - "end": 148, + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 96, + "end": 102, "loc": { "start": { "line": 5, @@ -1486,15 +977,15 @@ }, "end": { "line": 5, - "column": 14 + "column": 6 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": "default", + "keyword": "default", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -1504,24 +995,24 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 149, - "end": 154, + "value": "default", + "start": 103, + "end": 110, "loc": { "start": { - "line": 6, - "column": 0 + "line": 5, + "column": 7 }, "end": { - "line": 6, - "column": 5 + "line": 5, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1530,77 +1021,75 @@ "postfix": false, "binop": null }, - "value": "haab", - "start": 155, - "end": 159, + "start": 111, + "end": 112, "loc": { "start": { - "line": 6, - "column": 6 + "line": 5, + "column": 15 }, "end": { - "line": 6, - "column": 10 + "line": 5, + "column": 16 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 160, - "end": 161, + "value": "getCalendarRound", + "start": 115, + "end": 131, "loc": { "start": { "line": 6, - "column": 11 + "column": 2 }, "end": { "line": 6, - "column": 12 + "column": 18 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ":", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "require", - "start": 162, - "end": 169, + "start": 131, + "end": 132, "loc": { "start": { "line": 6, - "column": 13 + "column": 18 }, "end": { "line": 6, - "column": 20 + "column": 19 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1609,8 +1098,9 @@ "postfix": false, "binop": null }, - "start": 169, - "end": 170, + "value": "cr", + "start": 133, + "end": 135, "loc": { "start": { "line": 6, @@ -1618,15 +1108,15 @@ }, "end": { "line": 6, - "column": 21 + "column": 22 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1635,25 +1125,24 @@ "binop": null, "updateContext": null }, - "value": "./haab", - "start": 170, - "end": 178, + "start": 135, + "end": 136, "loc": { "start": { "line": 6, - "column": 21 + "column": 22 }, "end": { "line": 6, - "column": 29 + "column": 23 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1661,22 +1150,23 @@ "postfix": false, "binop": null }, - "start": 178, - "end": 179, + "value": "getCalendarRound", + "start": 136, + "end": 152, "loc": { "start": { "line": 6, - "column": 29 + "column": 23 }, "end": { "line": 6, - "column": 30 + "column": 39 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -1687,16 +1177,16 @@ "binop": null, "updateContext": null }, - "start": 179, - "end": 180, + "start": 152, + "end": 153, "loc": { "start": { "line": 6, - "column": 30 + "column": 39 }, "end": { "line": 6, - "column": 31 + "column": 40 } } }, @@ -1712,24 +1202,24 @@ "postfix": false, "binop": null }, - "value": "module", - "start": 183, - "end": 189, + "value": "origin", + "start": 156, + "end": 162, "loc": { "start": { - "line": 9, - "column": 0 + "line": 7, + "column": 2 }, "end": { - "line": 9, - "column": 6 + "line": 7, + "column": 8 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -1739,16 +1229,16 @@ "binop": null, "updateContext": null }, - "start": 189, - "end": 190, + "start": 162, + "end": 163, "loc": { "start": { - "line": 9, - "column": 6 + "line": 7, + "column": 8 }, "end": { - "line": 9, - "column": 7 + "line": 7, + "column": 9 } } }, @@ -1764,69 +1254,43 @@ "postfix": false, "binop": null }, - "value": "exports", - "start": 190, - "end": 197, + "value": "cr", + "start": 164, + "end": 166, "loc": { "start": { - "line": 9, - "column": 7 + "line": 7, + "column": 10 }, "end": { - "line": 9, - "column": 14 + "line": 7, + "column": 12 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 198, - "end": 199, - "loc": { - "start": { - "line": 9, - "column": 15 - }, - "end": { - "line": 9, - "column": 16 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 200, - "end": 201, + "start": 166, + "end": 167, "loc": { "start": { - "line": 9, - "column": 17 + "line": 7, + "column": 12 }, "end": { - "line": 9, - "column": 18 + "line": 7, + "column": 13 } } }, @@ -1842,17 +1306,17 @@ "postfix": false, "binop": null }, - "value": "getCalendarRound", - "start": 204, - "end": 220, + "value": "origin", + "start": 167, + "end": 173, "loc": { "start": { - "line": 10, - "column": 2 + "line": 7, + "column": 13 }, "end": { - "line": 10, - "column": 18 + "line": 7, + "column": 19 } } }, @@ -1869,16 +1333,16 @@ "binop": null, "updateContext": null }, - "start": 220, - "end": 221, + "start": 173, + "end": 174, "loc": { "start": { - "line": 10, - "column": 18 + "line": 7, + "column": 19 }, "end": { - "line": 10, - "column": 19 + "line": 7, + "column": 20 } } }, @@ -1895,15 +1359,15 @@ "binop": null }, "value": "tzolkin", - "start": 224, - "end": 231, + "start": 177, + "end": 184, "loc": { "start": { - "line": 11, + "line": 8, "column": 2 }, "end": { - "line": 11, + "line": 8, "column": 9 } } @@ -1921,15 +1385,15 @@ "binop": null, "updateContext": null }, - "start": 231, - "end": 232, + "start": 184, + "end": 185, "loc": { "start": { - "line": 11, + "line": 8, "column": 9 }, "end": { - "line": 11, + "line": 8, "column": 10 } } @@ -1947,15 +1411,15 @@ "binop": null }, "value": "haab", - "start": 235, - "end": 239, + "start": 188, + "end": 192, "loc": { "start": { - "line": 12, + "line": 9, "column": 2 }, "end": { - "line": 12, + "line": 9, "column": 6 } } @@ -1973,45 +1437,19 @@ "binop": null, "updateContext": null }, - "start": 239, - "end": 240, + "start": 192, + "end": 193, "loc": { "start": { - "line": 12, + "line": 9, "column": 6 }, "end": { - "line": 12, + "line": 9, "column": 7 } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "origin", - "start": 243, - "end": 249, - "loc": { - "start": { - "line": 13, - "column": 2 - }, - "end": { - "line": 13, - "column": 8 - } - } - }, { "type": { "label": "}", @@ -2024,15 +1462,15 @@ "postfix": false, "binop": null }, - "start": 250, - "end": 251, + "start": 194, + "end": 195, "loc": { "start": { - "line": 14, + "line": 10, "column": 0 }, "end": { - "line": 14, + "line": 10, "column": 1 } } @@ -2050,15 +1488,15 @@ "binop": null, "updateContext": null }, - "start": 251, - "end": 252, + "start": 195, + "end": 196, "loc": { "start": { - "line": 14, + "line": 10, "column": 1 }, "end": { - "line": 14, + "line": 10, "column": 2 } } @@ -2076,15 +1514,15 @@ "binop": null, "updateContext": null }, - "start": 253, - "end": 253, + "start": 197, + "end": 197, "loc": { "start": { - "line": 15, + "line": 11, "column": 0 }, "end": { - "line": 15, + "line": 11, "column": 0 } } diff --git a/docs/ast/source/cr/tzolkin-day.js.json b/docs/ast/source/cr/tzolkin-day.js.json index b73c578..1219994 100644 --- a/docs/ast/source/cr/tzolkin-day.js.json +++ b/docs/ast/source/cr/tzolkin-day.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 2546, + "end": 2529, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 128, + "line": 127, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 2546, + "end": 2529, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 128, + "line": 127, "column": 0 } }, @@ -655,621 +655,672 @@ ] }, { - "type": "FunctionDeclaration", - "start": 488, - "end": 788, + "type": "ExportDefaultDeclaration", + "start": 489, + "end": 804, "loc": { "start": { - "line": 37, - "column": 3 + "line": 38, + "column": 0 }, "end": { - "line": 44, + "line": 45, "column": 1 } }, - "id": { - "type": "Identifier", - "start": 497, - "end": 510, + "declaration": { + "type": "FunctionDeclaration", + "start": 504, + "end": 804, "loc": { "start": { - "line": 37, - "column": 12 + "line": 38, + "column": 15 }, "end": { - "line": 37, - "column": 25 - }, - "identifierName": "getTzolkinDay" + "line": 45, + "column": 1 + } }, - "name": "getTzolkinDay", - "leadingComments": null - }, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "id": { "type": "Identifier", - "start": 511, - "end": 521, + "start": 513, + "end": 526, "loc": { "start": { - "line": 37, - "column": 26 + "line": 38, + "column": 24 }, "end": { - "line": 37, - "column": 36 + "line": 38, + "column": 37 }, - "identifierName": "newDayName" - }, - "name": "newDayName" - } - ], - "body": { - "type": "BlockStatement", - "start": 523, - "end": 788, - "loc": { - "start": { - "line": 37, - "column": 38 + "identifierName": "getTzolkinDay" }, - "end": { - "line": 44, - "column": 1 - } + "name": "getTzolkinDay", + "leadingComments": null }, - "body": [ + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "VariableDeclaration", + "type": "Identifier", "start": 527, - "end": 608, + "end": 537, "loc": { "start": { "line": 38, - "column": 2 + "column": 38 }, "end": { "line": 38, - "column": 83 - } + "column": 48 + }, + "identifierName": "newDayName" }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 533, - "end": 607, - "loc": { - "start": { - "line": 38, - "column": 8 - }, - "end": { - "line": 38, - "column": 82 - } + "name": "newDayName" + } + ], + "body": { + "type": "BlockStatement", + "start": 539, + "end": 804, + "loc": { + "start": { + "line": 38, + "column": 50 + }, + "end": { + "line": 45, + "column": 1 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 543, + "end": 624, + "loc": { + "start": { + "line": 39, + "column": 2 }, - "id": { - "type": "Identifier", - "start": 533, - "end": 540, + "end": { + "line": 39, + "column": 83 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 549, + "end": 623, "loc": { "start": { - "line": 38, + "line": 39, "column": 8 }, "end": { - "line": 38, - "column": 15 - }, - "identifierName": "dayName" - }, - "name": "dayName" - }, - "init": { - "type": "ConditionalExpression", - "start": 543, - "end": 607, - "loc": { - "start": { - "line": 38, - "column": 18 - }, - "end": { - "line": 38, + "line": 39, "column": 82 } }, - "test": { - "type": "BinaryExpression", - "start": 544, - "end": 574, + "id": { + "type": "Identifier", + "start": 549, + "end": 556, "loc": { "start": { - "line": 38, - "column": 19 + "line": 39, + "column": 8 }, "end": { - "line": 38, - "column": 49 + "line": 39, + "column": 15 + }, + "identifierName": "dayName" + }, + "name": "dayName" + }, + "init": { + "type": "ConditionalExpression", + "start": 559, + "end": 623, + "loc": { + "start": { + "line": 39, + "column": 18 + }, + "end": { + "line": 39, + "column": 82 } }, - "left": { - "type": "UnaryExpression", - "start": 544, - "end": 561, + "test": { + "type": "BinaryExpression", + "start": 560, + "end": 590, "loc": { "start": { - "line": 38, + "line": 39, "column": 19 }, "end": { - "line": 38, - "column": 36 + "line": 39, + "column": 49 } }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 551, - "end": 561, + "left": { + "type": "UnaryExpression", + "start": 560, + "end": 577, "loc": { "start": { - "line": 38, - "column": 26 + "line": 39, + "column": 19 }, "end": { - "line": 38, + "line": 39, "column": 36 + } + }, + "operator": "typeof", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 567, + "end": 577, + "loc": { + "start": { + "line": 39, + "column": 26 + }, + "end": { + "line": 39, + "column": 36 + }, + "identifierName": "newDayName" }, - "identifierName": "newDayName" + "name": "newDayName" }, - "name": "newDayName" + "extra": { + "parenthesizedArgument": false + } }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 566, - "end": 574, - "loc": { - "start": { - "line": 38, - "column": 41 + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 582, + "end": 590, + "loc": { + "start": { + "line": 39, + "column": 41 + }, + "end": { + "line": 39, + "column": 49 + } }, - "end": { - "line": 38, - "column": 49 - } + "extra": { + "rawValue": "number", + "raw": "'number'" + }, + "value": "number" }, "extra": { - "rawValue": "number", - "raw": "'number'" - }, - "value": "number" - }, - "extra": { - "parenthesized": true, - "parenStart": 543 - } - }, - "consequent": { - "type": "MemberExpression", - "start": 578, - "end": 594, - "loc": { - "start": { - "line": 38, - "column": 53 - }, - "end": { - "line": 38, - "column": 69 + "parenthesized": true, + "parenStart": 559 } }, - "object": { - "type": "Identifier", - "start": 578, - "end": 582, + "consequent": { + "type": "MemberExpression", + "start": 594, + "end": 610, "loc": { "start": { - "line": 38, + "line": 39, "column": 53 }, "end": { - "line": 38, - "column": 57 + "line": 39, + "column": 69 + } + }, + "object": { + "type": "Identifier", + "start": 594, + "end": 598, + "loc": { + "start": { + "line": 39, + "column": 53 + }, + "end": { + "line": 39, + "column": 57 + }, + "identifierName": "days" }, - "identifierName": "days" + "name": "days" }, - "name": "days" + "property": { + "type": "Identifier", + "start": 599, + "end": 609, + "loc": { + "start": { + "line": 39, + "column": 58 + }, + "end": { + "line": 39, + "column": 68 + }, + "identifierName": "newDayName" + }, + "name": "newDayName" + }, + "computed": true }, - "property": { + "alternate": { "type": "Identifier", - "start": 583, - "end": 593, + "start": 613, + "end": 623, "loc": { "start": { - "line": 38, - "column": 58 + "line": 39, + "column": 72 }, "end": { - "line": 38, - "column": 68 + "line": 39, + "column": 82 }, "identifierName": "newDayName" }, "name": "newDayName" - }, - "computed": true - }, - "alternate": { - "type": "Identifier", - "start": 597, - "end": 607, - "loc": { - "start": { - "line": 38, - "column": 72 - }, - "end": { - "line": 38, - "column": 82 - }, - "identifierName": "newDayName" - }, - "name": "newDayName" + } } } - } - ], - "kind": "const" - }, - { - "type": "IfStatement", - "start": 611, - "end": 757, - "loc": { - "start": { - "line": 39, - "column": 2 - }, - "end": { - "line": 42, - "column": 3 - } + ], + "kind": "const" }, - "test": { - "type": "BinaryExpression", - "start": 615, - "end": 647, + { + "type": "IfStatement", + "start": 627, + "end": 773, "loc": { "start": { - "line": 39, - "column": 6 + "line": 40, + "column": 2 }, "end": { - "line": 39, - "column": 38 + "line": 43, + "column": 3 } }, - "left": { - "type": "MemberExpression", - "start": 615, - "end": 633, + "test": { + "type": "BinaryExpression", + "start": 631, + "end": 663, "loc": { "start": { - "line": 39, + "line": 40, "column": 6 }, "end": { - "line": 39, - "column": 24 + "line": 40, + "column": 38 } }, - "object": { - "type": "Identifier", - "start": 615, - "end": 624, + "left": { + "type": "MemberExpression", + "start": 631, + "end": 649, "loc": { "start": { - "line": 39, + "line": 40, "column": 6 }, "end": { - "line": 39, - "column": 15 + "line": 40, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 631, + "end": 640, + "loc": { + "start": { + "line": 40, + "column": 6 + }, + "end": { + "line": 40, + "column": 15 + }, + "identifierName": "singleton" }, - "identifierName": "singleton" + "name": "singleton" }, - "name": "singleton" + "property": { + "type": "Identifier", + "start": 641, + "end": 648, + "loc": { + "start": { + "line": 40, + "column": 16 + }, + "end": { + "line": 40, + "column": 23 + }, + "identifierName": "dayName" + }, + "name": "dayName" + }, + "computed": true }, - "property": { + "operator": "===", + "right": { "type": "Identifier", - "start": 625, - "end": 632, + "start": 654, + "end": 663, "loc": { "start": { - "line": 39, - "column": 16 + "line": 40, + "column": 29 }, "end": { - "line": 39, - "column": 23 + "line": 40, + "column": 38 }, - "identifierName": "dayName" + "identifierName": "undefined" }, - "name": "dayName" - }, - "computed": true + "name": "undefined" + } }, - "operator": "===", - "right": { - "type": "Identifier", - "start": 638, - "end": 647, + "consequent": { + "type": "BlockStatement", + "start": 665, + "end": 773, "loc": { "start": { - "line": 39, - "column": 29 + "line": 40, + "column": 40 }, "end": { - "line": 39, - "column": 38 - }, - "identifierName": "undefined" - }, - "name": "undefined" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 649, - "end": 757, - "loc": { - "start": { - "line": 39, - "column": 40 + "line": 43, + "column": 3 + } }, - "end": { - "line": 42, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 708, - "end": 753, - "loc": { - "start": { - "line": 41, - "column": 4 - }, - "end": { - "line": 41, - "column": 49 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 708, - "end": 752, + "body": [ + { + "type": "ExpressionStatement", + "start": 724, + "end": 769, "loc": { "start": { - "line": 41, + "line": 42, "column": 4 }, "end": { - "line": 41, - "column": 48 + "line": 42, + "column": 49 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 708, - "end": 726, + "expression": { + "type": "AssignmentExpression", + "start": 724, + "end": 768, "loc": { "start": { - "line": 41, + "line": 42, "column": 4 }, "end": { - "line": 41, - "column": 22 + "line": 42, + "column": 48 } }, - "object": { - "type": "Identifier", - "start": 708, - "end": 717, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 724, + "end": 742, "loc": { "start": { - "line": 41, + "line": 42, "column": 4 }, "end": { - "line": 41, - "column": 13 - }, - "identifierName": "singleton" + "line": 42, + "column": 22 + } }, - "name": "singleton", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 718, - "end": 725, - "loc": { - "start": { - "line": 41, - "column": 14 - }, - "end": { - "line": 41, - "column": 21 + "object": { + "type": "Identifier", + "start": 724, + "end": 733, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 13 + }, + "identifierName": "singleton" }, - "identifierName": "dayName" + "name": "singleton", + "leadingComments": null }, - "name": "dayName" - }, - "computed": true, - "leadingComments": null - }, - "right": { - "type": "NewExpression", - "start": 729, - "end": 752, - "loc": { - "start": { - "line": 41, - "column": 25 + "property": { + "type": "Identifier", + "start": 734, + "end": 741, + "loc": { + "start": { + "line": 42, + "column": 14 + }, + "end": { + "line": 42, + "column": 21 + }, + "identifierName": "dayName" + }, + "name": "dayName" }, - "end": { - "line": 41, - "column": 48 - } + "computed": true, + "leadingComments": null }, - "callee": { - "type": "Identifier", - "start": 733, - "end": 743, + "right": { + "type": "NewExpression", + "start": 745, + "end": 768, "loc": { "start": { - "line": 41, - "column": 29 + "line": 42, + "column": 25 }, "end": { - "line": 41, - "column": 39 - }, - "identifierName": "TzolkinDay" + "line": 42, + "column": 48 + } }, - "name": "TzolkinDay" - }, - "arguments": [ - { + "callee": { "type": "Identifier", - "start": 744, - "end": 751, + "start": 749, + "end": 759, "loc": { "start": { - "line": 41, - "column": 40 + "line": 42, + "column": 29 }, "end": { - "line": 41, - "column": 47 + "line": 42, + "column": 39 }, - "identifierName": "dayName" + "identifierName": "TzolkinDay" }, - "name": "dayName" - } - ] + "name": "TzolkinDay" + }, + "arguments": [ + { + "type": "Identifier", + "start": 760, + "end": 767, + "loc": { + "start": { + "line": 42, + "column": 40 + }, + "end": { + "line": 42, + "column": 47 + }, + "identifierName": "dayName" + }, + "name": "dayName" + } + ] + }, + "leadingComments": null }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " eslint-disable-next-line no-use-before-define", - "start": 655, - "end": 703, - "loc": { - "start": { - "line": 40, - "column": 4 - }, - "end": { - "line": 40, - "column": 52 + "leadingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-use-before-define", + "start": 671, + "end": 719, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 52 + } } } - } - ] - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 760, - "end": 786, - "loc": { - "start": { - "line": 43, - "column": 2 + ] + } + ], + "directives": [] }, - "end": { - "line": 43, - "column": 28 - } + "alternate": null }, - "argument": { - "type": "MemberExpression", - "start": 767, - "end": 785, + { + "type": "ReturnStatement", + "start": 776, + "end": 802, "loc": { "start": { - "line": 43, - "column": 9 + "line": 44, + "column": 2 }, "end": { - "line": 43, - "column": 27 + "line": 44, + "column": 28 } }, - "object": { - "type": "Identifier", - "start": 767, - "end": 776, + "argument": { + "type": "MemberExpression", + "start": 783, + "end": 801, "loc": { "start": { - "line": 43, + "line": 44, "column": 9 }, "end": { - "line": 43, - "column": 18 - }, - "identifierName": "singleton" + "line": 44, + "column": 27 + } }, - "name": "singleton" - }, - "property": { - "type": "Identifier", - "start": 777, - "end": 784, - "loc": { - "start": { - "line": 43, - "column": 19 + "object": { + "type": "Identifier", + "start": 783, + "end": 792, + "loc": { + "start": { + "line": 44, + "column": 9 + }, + "end": { + "line": 44, + "column": 18 + }, + "identifierName": "singleton" }, - "end": { - "line": 43, - "column": 26 + "name": "singleton" + }, + "property": { + "type": "Identifier", + "start": 793, + "end": 800, + "loc": { + "start": { + "line": 44, + "column": 19 + }, + "end": { + "line": 44, + "column": 26 + }, + "identifierName": "dayName" }, - "identifierName": "dayName" + "name": "dayName" }, - "name": "dayName" + "computed": true + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return a comparable instance of a Tzolkin day.\n * @param {TzolkinDay|string} newDayName\n * @return {TzolkinDay}\n ", + "start": 366, + "end": 488, + "loc": { + "start": { + "line": 33, + "column": 0 }, - "computed": true + "end": { + "line": 37, + "column": 3 + } } } ], - "directives": [], - "trailingComments": null + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Describes only the day component of a 260-day cycle\n ", + "start": 807, + "end": 869, + "loc": { + "start": { + "line": 48, + "column": 0 + }, + "end": { + "line": 50, + "column": 3 + } + } + } + ] }, "leadingComments": [ { @@ -1293,15 +1344,15 @@ { "type": "CommentBlock", "value": "*\n * Describes only the day component of a 260-day cycle\n ", - "start": 791, - "end": 853, + "start": 807, + "end": 869, "loc": { "start": { - "line": 47, + "line": 48, "column": 0 }, "end": { - "line": 49, + "line": 50, "column": 3 } } @@ -1310,29 +1361,29 @@ }, { "type": "ClassDeclaration", - "start": 854, - "end": 2512, + "start": 870, + "end": 2528, "loc": { "start": { - "line": 50, + "line": 51, "column": 0 }, "end": { - "line": 125, + "line": 126, "column": 1 } }, "id": { "type": "Identifier", - "start": 860, - "end": 870, + "start": 876, + "end": 886, "loc": { "start": { - "line": 50, + "line": 51, "column": 6 }, "end": { - "line": 50, + "line": 51, "column": 16 }, "identifierName": "TzolkinDay" @@ -1343,30 +1394,30 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 871, - "end": 2512, + "start": 887, + "end": 2528, "loc": { "start": { - "line": 50, + "line": 51, "column": 17 }, "end": { - "line": 125, + "line": 126, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 967, - "end": 1500, + "start": 983, + "end": 1516, "loc": { "start": { - "line": 54, + "line": 55, "column": 2 }, "end": { - "line": 79, + "line": 80, "column": 3 } }, @@ -1374,15 +1425,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 967, - "end": 978, + "start": 983, + "end": 994, "loc": { "start": { - "line": 54, + "line": 55, "column": 2 }, "end": { - "line": 54, + "line": 55, "column": 13 }, "identifierName": "constructor" @@ -1398,15 +1449,15 @@ "params": [ { "type": "Identifier", - "start": 979, - "end": 986, + "start": 995, + "end": 1002, "loc": { "start": { - "line": 54, + "line": 55, "column": 14 }, "end": { - "line": 54, + "line": 55, "column": 21 }, "identifierName": "newName" @@ -1416,59 +1467,59 @@ ], "body": { "type": "BlockStatement", - "start": 988, - "end": 1500, + "start": 1004, + "end": 1516, "loc": { "start": { - "line": 54, + "line": 55, "column": 23 }, "end": { - "line": 79, + "line": 80, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 994, - "end": 1013, + "start": 1010, + "end": 1029, "loc": { "start": { - "line": 55, + "line": 56, "column": 4 }, "end": { - "line": 55, + "line": 56, "column": 23 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 998, - "end": 1012, + "start": 1014, + "end": 1028, "loc": { "start": { - "line": 55, + "line": 56, "column": 8 }, "end": { - "line": 55, + "line": 56, "column": 22 } }, "id": { "type": "Identifier", - "start": 998, - "end": 1002, + "start": 1014, + "end": 1018, "loc": { "start": { - "line": 55, + "line": 56, "column": 8 }, "end": { - "line": 55, + "line": 56, "column": 12 }, "identifierName": "name" @@ -1477,15 +1528,15 @@ }, "init": { "type": "Identifier", - "start": 1005, - "end": 1012, + "start": 1021, + "end": 1028, "loc": { "start": { - "line": 55, + "line": 56, "column": 15 }, "end": { - "line": 55, + "line": 56, "column": 22 }, "identifierName": "newName" @@ -1498,43 +1549,43 @@ }, { "type": "IfStatement", - "start": 1018, - "end": 1080, + "start": 1034, + "end": 1096, "loc": { "start": { - "line": 56, + "line": 57, "column": 4 }, "end": { - "line": 58, + "line": 59, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 1022, - "end": 1046, + "start": 1038, + "end": 1062, "loc": { "start": { - "line": 56, + "line": 57, "column": 8 }, "end": { - "line": 56, + "line": 57, "column": 32 } }, "left": { "type": "UnaryExpression", - "start": 1022, - "end": 1033, + "start": 1038, + "end": 1049, "loc": { "start": { - "line": 56, + "line": 57, "column": 8 }, "end": { - "line": 56, + "line": 57, "column": 19 } }, @@ -1542,15 +1593,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 1029, - "end": 1033, + "start": 1045, + "end": 1049, "loc": { "start": { - "line": 56, + "line": 57, "column": 15 }, "end": { - "line": 56, + "line": 57, "column": 19 }, "identifierName": "name" @@ -1564,15 +1615,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1038, - "end": 1046, + "start": 1054, + "end": 1062, "loc": { "start": { - "line": 56, + "line": 57, "column": 24 }, "end": { - "line": 56, + "line": 57, "column": 32 } }, @@ -1585,59 +1636,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 1048, - "end": 1080, + "start": 1064, + "end": 1096, "loc": { "start": { - "line": 56, + "line": 57, "column": 34 }, "end": { - "line": 58, + "line": 59, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 1056, - "end": 1074, + "start": 1072, + "end": 1090, "loc": { "start": { - "line": 57, + "line": 58, "column": 6 }, "end": { - "line": 57, + "line": 58, "column": 24 } }, "expression": { "type": "AssignmentExpression", - "start": 1056, - "end": 1073, + "start": 1072, + "end": 1089, "loc": { "start": { - "line": 57, + "line": 58, "column": 6 }, "end": { - "line": 57, + "line": 58, "column": 23 } }, "operator": "=", "left": { "type": "Identifier", - "start": 1056, - "end": 1060, + "start": 1072, + "end": 1076, "loc": { "start": { - "line": 57, + "line": 58, "column": 6 }, "end": { - "line": 57, + "line": 58, "column": 10 }, "identifierName": "name" @@ -1646,29 +1697,29 @@ }, "right": { "type": "MemberExpression", - "start": 1063, - "end": 1073, + "start": 1079, + "end": 1089, "loc": { "start": { - "line": 57, + "line": 58, "column": 13 }, "end": { - "line": 57, + "line": 58, "column": 23 } }, "object": { "type": "Identifier", - "start": 1063, - "end": 1067, + "start": 1079, + "end": 1083, "loc": { "start": { - "line": 57, + "line": 58, "column": 13 }, "end": { - "line": 57, + "line": 58, "column": 17 }, "identifierName": "days" @@ -1677,15 +1728,15 @@ }, "property": { "type": "Identifier", - "start": 1068, - "end": 1072, + "start": 1084, + "end": 1088, "loc": { "start": { - "line": 57, + "line": 58, "column": 18 }, "end": { - "line": 57, + "line": 58, "column": 22 }, "identifierName": "name" @@ -1705,15 +1756,15 @@ { "type": "CommentBlock", "value": "*\n * Name of the day in the 260-day cycle\n * @type {string}\n ", - "start": 1086, - "end": 1163, + "start": 1102, + "end": 1179, "loc": { "start": { - "line": 60, + "line": 61, "column": 4 }, "end": { - "line": 63, + "line": 64, "column": 7 } } @@ -1722,58 +1773,58 @@ }, { "type": "ExpressionStatement", - "start": 1168, - "end": 1185, + "start": 1184, + "end": 1201, "loc": { "start": { - "line": 64, + "line": 65, "column": 4 }, "end": { - "line": 64, + "line": 65, "column": 21 } }, "expression": { "type": "AssignmentExpression", - "start": 1168, - "end": 1184, + "start": 1184, + "end": 1200, "loc": { "start": { - "line": 64, + "line": 65, "column": 4 }, "end": { - "line": 64, + "line": 65, "column": 20 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1168, - "end": 1177, + "start": 1184, + "end": 1193, "loc": { "start": { - "line": 64, + "line": 65, "column": 4 }, "end": { - "line": 64, + "line": 65, "column": 13 } }, "object": { "type": "ThisExpression", - "start": 1168, - "end": 1172, + "start": 1184, + "end": 1188, "loc": { "start": { - "line": 64, + "line": 65, "column": 4 }, "end": { - "line": 64, + "line": 65, "column": 8 } }, @@ -1781,15 +1832,15 @@ }, "property": { "type": "Identifier", - "start": 1173, - "end": 1177, + "start": 1189, + "end": 1193, "loc": { "start": { - "line": 64, + "line": 65, "column": 9 }, "end": { - "line": 64, + "line": 65, "column": 13 }, "identifierName": "name" @@ -1801,15 +1852,15 @@ }, "right": { "type": "Identifier", - "start": 1180, - "end": 1184, + "start": 1196, + "end": 1200, "loc": { "start": { - "line": 64, + "line": 65, "column": 16 }, "end": { - "line": 64, + "line": 65, "column": 20 }, "identifierName": "name" @@ -1822,15 +1873,15 @@ { "type": "CommentBlock", "value": "*\n * Name of the day in the 260-day cycle\n * @type {string}\n ", - "start": 1086, - "end": 1163, + "start": 1102, + "end": 1179, "loc": { "start": { - "line": 60, + "line": 61, "column": 4 }, "end": { - "line": 63, + "line": 64, "column": 7 } } @@ -1840,15 +1891,15 @@ { "type": "CommentBlock", "value": "*\n * Index of the day in the list of Tzolkin' days\n * @type {number}\n ", - "start": 1191, - "end": 1277, + "start": 1207, + "end": 1293, "loc": { "start": { - "line": 66, + "line": 67, "column": 4 }, "end": { - "line": 69, + "line": 70, "column": 7 } } @@ -1857,58 +1908,58 @@ }, { "type": "ExpressionStatement", - "start": 1282, - "end": 1353, + "start": 1298, + "end": 1369, "loc": { "start": { - "line": 70, + "line": 71, "column": 4 }, "end": { - "line": 72, + "line": 73, "column": 6 } }, "expression": { "type": "AssignmentExpression", - "start": 1282, - "end": 1352, + "start": 1298, + "end": 1368, "loc": { "start": { - "line": 70, + "line": 71, "column": 4 }, "end": { - "line": 72, + "line": 73, "column": 5 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1282, - "end": 1299, + "start": 1298, + "end": 1315, "loc": { "start": { - "line": 70, + "line": 71, "column": 4 }, "end": { - "line": 70, + "line": 71, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 1282, - "end": 1286, + "start": 1298, + "end": 1302, "loc": { "start": { - "line": 70, + "line": 71, "column": 4 }, "end": { - "line": 70, + "line": 71, "column": 8 } }, @@ -1916,15 +1967,15 @@ }, "property": { "type": "Identifier", - "start": 1287, - "end": 1299, + "start": 1303, + "end": 1315, "loc": { "start": { - "line": 70, + "line": 71, "column": 9 }, "end": { - "line": 70, + "line": 71, "column": 21 }, "identifierName": "day_position" @@ -1936,43 +1987,43 @@ }, "right": { "type": "CallExpression", - "start": 1302, - "end": 1352, + "start": 1318, + "end": 1368, "loc": { "start": { - "line": 70, + "line": 71, "column": 24 }, "end": { - "line": 72, + "line": 73, "column": 5 } }, "callee": { "type": "MemberExpression", - "start": 1302, - "end": 1316, + "start": 1318, + "end": 1332, "loc": { "start": { - "line": 70, + "line": 71, "column": 24 }, "end": { - "line": 70, + "line": 71, "column": 38 } }, "object": { "type": "Identifier", - "start": 1302, - "end": 1306, + "start": 1318, + "end": 1322, "loc": { "start": { - "line": 70, + "line": 71, "column": 24 }, "end": { - "line": 70, + "line": 71, "column": 28 }, "identifierName": "days" @@ -1981,15 +2032,15 @@ }, "property": { "type": "Identifier", - "start": 1307, - "end": 1316, + "start": 1323, + "end": 1332, "loc": { "start": { - "line": 70, + "line": 71, "column": 29 }, "end": { - "line": 70, + "line": 71, "column": 38 }, "identifierName": "findIndex" @@ -2001,15 +2052,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 1324, - "end": 1346, + "start": 1340, + "end": 1362, "loc": { "start": { - "line": 71, + "line": 72, "column": 6 }, "end": { - "line": 71, + "line": 72, "column": 28 } }, @@ -2020,15 +2071,15 @@ "params": [ { "type": "Identifier", - "start": 1325, - "end": 1326, + "start": 1341, + "end": 1342, "loc": { "start": { - "line": 71, + "line": 72, "column": 7 }, "end": { - "line": 71, + "line": 72, "column": 8 }, "identifierName": "d" @@ -2038,29 +2089,29 @@ ], "body": { "type": "BinaryExpression", - "start": 1331, - "end": 1346, + "start": 1347, + "end": 1362, "loc": { "start": { - "line": 71, + "line": 72, "column": 13 }, "end": { - "line": 71, + "line": 72, "column": 28 } }, "left": { "type": "Identifier", - "start": 1331, - "end": 1332, + "start": 1347, + "end": 1348, "loc": { "start": { - "line": 71, + "line": 72, "column": 13 }, "end": { - "line": 71, + "line": 72, "column": 14 }, "identifierName": "d" @@ -2070,44 +2121,44 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 1337, - "end": 1346, + "start": 1353, + "end": 1362, "loc": { "start": { - "line": 71, + "line": 72, "column": 19 }, "end": { - "line": 71, + "line": 72, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 1337, - "end": 1341, + "start": 1353, + "end": 1357, "loc": { "start": { - "line": 71, + "line": 72, "column": 19 }, "end": { - "line": 71, + "line": 72, "column": 23 } } }, "property": { "type": "Identifier", - "start": 1342, - "end": 1346, + "start": 1358, + "end": 1362, "loc": { "start": { - "line": 71, + "line": 72, "column": 24 }, "end": { - "line": 71, + "line": 72, "column": 28 }, "identifierName": "name" @@ -2126,15 +2177,15 @@ { "type": "CommentBlock", "value": "*\n * Index of the day in the list of Tzolkin' days\n * @type {number}\n ", - "start": 1191, - "end": 1277, + "start": 1207, + "end": 1293, "loc": { "start": { - "line": 66, + "line": 67, "column": 4 }, "end": { - "line": 69, + "line": 70, "column": 7 } } @@ -2144,15 +2195,15 @@ { "type": "CommentBlock", "value": "*\n * Lazy loaded instance of the next Tzolkin Day in the cycle\n * @type {TzolkinDay}\n ", - "start": 1359, - "end": 1461, + "start": 1375, + "end": 1477, "loc": { "start": { - "line": 74, + "line": 75, "column": 4 }, "end": { - "line": 77, + "line": 78, "column": 7 } } @@ -2161,58 +2212,58 @@ }, { "type": "ExpressionStatement", - "start": 1466, - "end": 1496, + "start": 1482, + "end": 1512, "loc": { "start": { - "line": 78, + "line": 79, "column": 4 }, "end": { - "line": 78, + "line": 79, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 1466, - "end": 1495, + "start": 1482, + "end": 1511, "loc": { "start": { - "line": 78, + "line": 79, "column": 4 }, "end": { - "line": 78, + "line": 79, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1466, - "end": 1483, + "start": 1482, + "end": 1499, "loc": { "start": { - "line": 78, + "line": 79, "column": 4 }, "end": { - "line": 78, + "line": 79, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 1466, - "end": 1470, + "start": 1482, + "end": 1486, "loc": { "start": { - "line": 78, + "line": 79, "column": 4 }, "end": { - "line": 78, + "line": 79, "column": 8 } }, @@ -2220,15 +2271,15 @@ }, "property": { "type": "Identifier", - "start": 1471, - "end": 1483, + "start": 1487, + "end": 1499, "loc": { "start": { - "line": 78, + "line": 79, "column": 9 }, "end": { - "line": 78, + "line": 79, "column": 21 }, "identifierName": "private_next" @@ -2240,15 +2291,15 @@ }, "right": { "type": "Identifier", - "start": 1486, - "end": 1495, + "start": 1502, + "end": 1511, "loc": { "start": { - "line": 78, + "line": 79, "column": 24 }, "end": { - "line": 78, + "line": 79, "column": 33 }, "identifierName": "undefined" @@ -2261,15 +2312,15 @@ { "type": "CommentBlock", "value": "*\n * Lazy loaded instance of the next Tzolkin Day in the cycle\n * @type {TzolkinDay}\n ", - "start": 1359, - "end": 1461, + "start": 1375, + "end": 1477, "loc": { "start": { - "line": 74, + "line": 75, "column": 4 }, "end": { - "line": 77, + "line": 78, "column": 7 } } @@ -2284,15 +2335,15 @@ { "type": "CommentBlock", "value": "*\n * @param {string|number} newName - Name or position of the 260-day cycle day\n ", - "start": 875, - "end": 964, + "start": 891, + "end": 980, "loc": { "start": { - "line": 51, + "line": 52, "column": 2 }, "end": { - "line": 53, + "line": 54, "column": 5 } } @@ -2302,15 +2353,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Tzolk'in day name is defined and is within the list of\n * acceptable day names.\n ", - "start": 1504, - "end": 1611, + "start": 1520, + "end": 1627, "loc": { "start": { - "line": 81, + "line": 82, "column": 2 }, "end": { - "line": 84, + "line": 85, "column": 5 } } @@ -2319,15 +2370,15 @@ }, { "type": "ClassMethod", - "start": 1614, - "end": 1849, + "start": 1630, + "end": 1865, "loc": { "start": { - "line": 85, + "line": 86, "column": 2 }, "end": { - "line": 92, + "line": 93, "column": 3 } }, @@ -2335,15 +2386,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1614, - "end": 1622, + "start": 1630, + "end": 1638, "loc": { "start": { - "line": 85, + "line": 86, "column": 2 }, "end": { - "line": 85, + "line": 86, "column": 10 }, "identifierName": "validate" @@ -2359,87 +2410,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1625, - "end": 1849, + "start": 1641, + "end": 1865, "loc": { "start": { - "line": 85, + "line": 86, "column": 13 }, "end": { - "line": 92, + "line": 93, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 1631, - "end": 1729, + "start": 1647, + "end": 1745, "loc": { "start": { - "line": 86, + "line": 87, "column": 4 }, "end": { - "line": 88, + "line": 89, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 1635, - "end": 1658, + "start": 1651, + "end": 1674, "loc": { "start": { - "line": 86, + "line": 87, "column": 8 }, "end": { - "line": 86, + "line": 87, "column": 31 } }, "left": { "type": "MemberExpression", - "start": 1635, - "end": 1644, + "start": 1651, + "end": 1660, "loc": { "start": { - "line": 86, + "line": 87, "column": 8 }, "end": { - "line": 86, + "line": 87, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 1635, - "end": 1639, + "start": 1651, + "end": 1655, "loc": { "start": { - "line": 86, + "line": 87, "column": 8 }, "end": { - "line": 86, + "line": 87, "column": 12 } } }, "property": { "type": "Identifier", - "start": 1640, - "end": 1644, + "start": 1656, + "end": 1660, "loc": { "start": { - "line": 86, + "line": 87, "column": 13 }, "end": { - "line": 86, + "line": 87, "column": 17 }, "identifierName": "name" @@ -2451,15 +2502,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 1649, - "end": 1658, + "start": 1665, + "end": 1674, "loc": { "start": { - "line": 86, + "line": 87, "column": 22 }, "end": { - "line": 86, + "line": 87, "column": 31 }, "identifierName": "undefined" @@ -2469,58 +2520,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 1660, - "end": 1729, + "start": 1676, + "end": 1745, "loc": { "start": { - "line": 86, + "line": 87, "column": 33 }, "end": { - "line": 88, + "line": 89, "column": 5 } }, "body": [ { "type": "ThrowStatement", - "start": 1668, - "end": 1723, + "start": 1684, + "end": 1739, "loc": { "start": { - "line": 87, + "line": 88, "column": 6 }, "end": { - "line": 87, + "line": 88, "column": 61 } }, "argument": { "type": "NewExpression", - "start": 1674, - "end": 1722, + "start": 1690, + "end": 1738, "loc": { "start": { - "line": 87, + "line": 88, "column": 12 }, "end": { - "line": 87, + "line": 88, "column": 60 } }, "callee": { "type": "Identifier", - "start": 1678, - "end": 1683, + "start": 1694, + "end": 1699, "loc": { "start": { - "line": 87, + "line": 88, "column": 16 }, "end": { - "line": 87, + "line": 88, "column": 21 }, "identifierName": "Error" @@ -2530,15 +2581,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 1684, - "end": 1721, + "start": 1700, + "end": 1737, "loc": { "start": { - "line": 87, + "line": 88, "column": 22 }, "end": { - "line": 87, + "line": 88, "column": 59 } }, @@ -2558,29 +2609,29 @@ }, { "type": "IfStatement", - "start": 1734, - "end": 1845, + "start": 1750, + "end": 1861, "loc": { "start": { - "line": 89, + "line": 90, "column": 4 }, "end": { - "line": 91, + "line": 92, "column": 5 } }, "test": { "type": "UnaryExpression", - "start": 1738, - "end": 1763, + "start": 1754, + "end": 1779, "loc": { "start": { - "line": 89, + "line": 90, "column": 8 }, "end": { - "line": 89, + "line": 90, "column": 33 } }, @@ -2588,43 +2639,43 @@ "prefix": true, "argument": { "type": "CallExpression", - "start": 1739, - "end": 1763, + "start": 1755, + "end": 1779, "loc": { "start": { - "line": 89, + "line": 90, "column": 9 }, "end": { - "line": 89, + "line": 90, "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 1739, - "end": 1752, + "start": 1755, + "end": 1768, "loc": { "start": { - "line": 89, + "line": 90, "column": 9 }, "end": { - "line": 89, + "line": 90, "column": 22 } }, "object": { "type": "Identifier", - "start": 1739, - "end": 1743, + "start": 1755, + "end": 1759, "loc": { "start": { - "line": 89, + "line": 90, "column": 9 }, "end": { - "line": 89, + "line": 90, "column": 13 }, "identifierName": "days" @@ -2633,15 +2684,15 @@ }, "property": { "type": "Identifier", - "start": 1744, - "end": 1752, + "start": 1760, + "end": 1768, "loc": { "start": { - "line": 89, + "line": 90, "column": 14 }, "end": { - "line": 89, + "line": 90, "column": 22 }, "identifierName": "includes" @@ -2653,44 +2704,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 1753, - "end": 1762, + "start": 1769, + "end": 1778, "loc": { "start": { - "line": 89, + "line": 90, "column": 23 }, "end": { - "line": 89, + "line": 90, "column": 32 } }, "object": { "type": "ThisExpression", - "start": 1753, - "end": 1757, + "start": 1769, + "end": 1773, "loc": { "start": { - "line": 89, + "line": 90, "column": 23 }, "end": { - "line": 89, + "line": 90, "column": 27 } } }, "property": { "type": "Identifier", - "start": 1758, - "end": 1762, + "start": 1774, + "end": 1778, "loc": { "start": { - "line": 89, + "line": 90, "column": 28 }, "end": { - "line": 89, + "line": 90, "column": 32 }, "identifierName": "name" @@ -2707,58 +2758,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 1765, - "end": 1845, + "start": 1781, + "end": 1861, "loc": { "start": { - "line": 89, + "line": 90, "column": 35 }, "end": { - "line": 91, + "line": 92, "column": 5 } }, "body": [ { "type": "ThrowStatement", - "start": 1773, - "end": 1839, + "start": 1789, + "end": 1855, "loc": { "start": { - "line": 90, + "line": 91, "column": 6 }, "end": { - "line": 90, + "line": 91, "column": 72 } }, "argument": { "type": "NewExpression", - "start": 1779, - "end": 1838, + "start": 1795, + "end": 1854, "loc": { "start": { - "line": 90, + "line": 91, "column": 12 }, "end": { - "line": 90, + "line": 91, "column": 71 } }, "callee": { "type": "Identifier", - "start": 1783, - "end": 1788, + "start": 1799, + "end": 1804, "loc": { "start": { - "line": 90, + "line": 91, "column": 16 }, "end": { - "line": 90, + "line": 91, "column": 21 }, "identifierName": "Error" @@ -2768,59 +2819,59 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 1789, - "end": 1837, + "start": 1805, + "end": 1853, "loc": { "start": { - "line": 90, + "line": 91, "column": 22 }, "end": { - "line": 90, + "line": 91, "column": 70 } }, "expressions": [ { "type": "MemberExpression", - "start": 1806, - "end": 1815, + "start": 1822, + "end": 1831, "loc": { "start": { - "line": 90, + "line": 91, "column": 39 }, "end": { - "line": 90, + "line": 91, "column": 48 } }, "object": { "type": "ThisExpression", - "start": 1806, - "end": 1810, + "start": 1822, + "end": 1826, "loc": { "start": { - "line": 90, + "line": 91, "column": 39 }, "end": { - "line": 90, + "line": 91, "column": 43 } } }, "property": { "type": "Identifier", - "start": 1811, - "end": 1815, + "start": 1827, + "end": 1831, "loc": { "start": { - "line": 90, + "line": 91, "column": 44 }, "end": { - "line": 90, + "line": 91, "column": 48 }, "identifierName": "name" @@ -2831,15 +2882,15 @@ }, { "type": "Identifier", - "start": 1831, - "end": 1835, + "start": 1847, + "end": 1851, "loc": { "start": { - "line": 90, + "line": 91, "column": 64 }, "end": { - "line": 90, + "line": 91, "column": 68 }, "identifierName": "days" @@ -2850,15 +2901,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 1790, - "end": 1804, + "start": 1806, + "end": 1820, "loc": { "start": { - "line": 90, + "line": 91, "column": 23 }, "end": { - "line": 90, + "line": 91, "column": 37 } }, @@ -2870,15 +2921,15 @@ }, { "type": "TemplateElement", - "start": 1816, - "end": 1829, + "start": 1832, + "end": 1845, "loc": { "start": { - "line": 90, + "line": 91, "column": 49 }, "end": { - "line": 90, + "line": 91, "column": 62 } }, @@ -2890,15 +2941,15 @@ }, { "type": "TemplateElement", - "start": 1836, - "end": 1836, + "start": 1852, + "end": 1852, "loc": { "start": { - "line": 90, + "line": 91, "column": 69 }, "end": { - "line": 90, + "line": 91, "column": 69 } }, @@ -2926,15 +2977,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Tzolk'in day name is defined and is within the list of\n * acceptable day names.\n ", - "start": 1504, - "end": 1611, + "start": 1520, + "end": 1627, "loc": { "start": { - "line": 81, + "line": 82, "column": 2 }, "end": { - "line": 84, + "line": 85, "column": 5 } } @@ -2944,15 +2995,15 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the 260-day cycle\n * @returns {TzolkinDay}\n ", - "start": 1853, - "end": 1935, + "start": 1869, + "end": 1951, "loc": { "start": { - "line": 94, + "line": 95, "column": 2 }, "end": { - "line": 97, + "line": 98, "column": 5 } } @@ -2961,15 +3012,15 @@ }, { "type": "ClassMethod", - "start": 1938, - "end": 1976, + "start": 1954, + "end": 1992, "loc": { "start": { - "line": 98, + "line": 99, "column": 2 }, "end": { - "line": 100, + "line": 101, "column": 3 } }, @@ -2977,15 +3028,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1938, - "end": 1942, + "start": 1954, + "end": 1958, "loc": { "start": { - "line": 98, + "line": 99, "column": 2 }, "end": { - "line": 98, + "line": 99, "column": 6 }, "identifierName": "next" @@ -3001,87 +3052,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1945, - "end": 1976, + "start": 1961, + "end": 1992, "loc": { "start": { - "line": 98, + "line": 99, "column": 9 }, "end": { - "line": 100, + "line": 101, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 1951, - "end": 1972, + "start": 1967, + "end": 1988, "loc": { "start": { - "line": 99, + "line": 100, "column": 4 }, "end": { - "line": 99, + "line": 100, "column": 25 } }, "argument": { "type": "CallExpression", - "start": 1958, - "end": 1971, + "start": 1974, + "end": 1987, "loc": { "start": { - "line": 99, + "line": 100, "column": 11 }, "end": { - "line": 99, + "line": 100, "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 1958, - "end": 1968, + "start": 1974, + "end": 1984, "loc": { "start": { - "line": 99, + "line": 100, "column": 11 }, "end": { - "line": 99, + "line": 100, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 1958, - "end": 1962, + "start": 1974, + "end": 1978, "loc": { "start": { - "line": 99, + "line": 100, "column": 11 }, "end": { - "line": 99, + "line": 100, "column": 15 } } }, "property": { "type": "Identifier", - "start": 1963, - "end": 1968, + "start": 1979, + "end": 1984, "loc": { "start": { - "line": 99, + "line": 100, "column": 16 }, "end": { - "line": 99, + "line": 100, "column": 21 }, "identifierName": "shift" @@ -3093,15 +3144,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 1969, - "end": 1970, + "start": 1985, + "end": 1986, "loc": { "start": { - "line": 99, + "line": 100, "column": 22 }, "end": { - "line": 99, + "line": 100, "column": 23 } }, @@ -3122,15 +3173,15 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the 260-day cycle\n * @returns {TzolkinDay}\n ", - "start": 1853, - "end": 1935, + "start": 1869, + "end": 1951, "loc": { "start": { - "line": 94, + "line": 95, "column": 2 }, "end": { - "line": 97, + "line": 98, "column": 5 } } @@ -3140,15 +3191,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {number} incremental\n ", - "start": 1980, - "end": 2027, + "start": 1996, + "end": 2043, "loc": { "start": { - "line": 102, + "line": 103, "column": 2 }, "end": { - "line": 105, + "line": 106, "column": 5 } } @@ -3157,15 +3208,15 @@ }, { "type": "ClassMethod", - "start": 2030, - "end": 2393, + "start": 2046, + "end": 2409, "loc": { "start": { - "line": 106, + "line": 107, "column": 2 }, "end": { - "line": 116, + "line": 117, "column": 3 } }, @@ -3173,15 +3224,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2030, - "end": 2035, + "start": 2046, + "end": 2051, "loc": { "start": { - "line": 106, + "line": 107, "column": 2 }, "end": { - "line": 106, + "line": 107, "column": 7 }, "identifierName": "shift" @@ -3197,15 +3248,15 @@ "params": [ { "type": "Identifier", - "start": 2036, - "end": 2047, + "start": 2052, + "end": 2063, "loc": { "start": { - "line": 106, + "line": 107, "column": 8 }, "end": { - "line": 106, + "line": 107, "column": 19 }, "identifierName": "incremental" @@ -3215,58 +3266,58 @@ ], "body": { "type": "BlockStatement", - "start": 2049, - "end": 2393, + "start": 2065, + "end": 2409, "loc": { "start": { - "line": 106, + "line": 107, "column": 21 }, "end": { - "line": 116, + "line": 117, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 2055, - "end": 2104, + "start": 2071, + "end": 2120, "loc": { "start": { - "line": 107, + "line": 108, "column": 4 }, "end": { - "line": 109, + "line": 110, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 2059, - "end": 2076, + "start": 2075, + "end": 2092, "loc": { "start": { - "line": 107, + "line": 108, "column": 8 }, "end": { - "line": 107, + "line": 108, "column": 25 } }, "left": { "type": "Identifier", - "start": 2059, - "end": 2070, + "start": 2075, + "end": 2086, "loc": { "start": { - "line": 107, + "line": 108, "column": 8 }, "end": { - "line": 107, + "line": 108, "column": 19 }, "identifierName": "incremental" @@ -3276,15 +3327,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 2075, - "end": 2076, + "start": 2091, + "end": 2092, "loc": { "start": { - "line": 107, + "line": 108, "column": 24 }, "end": { - "line": 107, + "line": 108, "column": 25 } }, @@ -3297,44 +3348,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 2078, - "end": 2104, + "start": 2094, + "end": 2120, "loc": { "start": { - "line": 107, + "line": 108, "column": 27 }, "end": { - "line": 109, + "line": 110, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 2086, - "end": 2098, + "start": 2102, + "end": 2114, "loc": { "start": { - "line": 108, + "line": 109, "column": 6 }, "end": { - "line": 108, + "line": 109, "column": 18 } }, "argument": { "type": "ThisExpression", - "start": 2093, - "end": 2097, + "start": 2109, + "end": 2113, "loc": { "start": { - "line": 108, + "line": 109, "column": 13 }, "end": { - "line": 108, + "line": 109, "column": 17 } } @@ -3347,72 +3398,72 @@ }, { "type": "IfStatement", - "start": 2109, - "end": 2336, + "start": 2125, + "end": 2352, "loc": { "start": { - "line": 110, + "line": 111, "column": 4 }, "end": { - "line": 114, + "line": 115, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 2113, - "end": 2144, + "start": 2129, + "end": 2160, "loc": { "start": { - "line": 110, + "line": 111, "column": 8 }, "end": { - "line": 110, + "line": 111, "column": 39 } }, "left": { "type": "MemberExpression", - "start": 2113, - "end": 2130, + "start": 2129, + "end": 2146, "loc": { "start": { - "line": 110, + "line": 111, "column": 8 }, "end": { - "line": 110, + "line": 111, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 2113, - "end": 2117, + "start": 2129, + "end": 2133, "loc": { "start": { - "line": 110, + "line": 111, "column": 8 }, "end": { - "line": 110, + "line": 111, "column": 12 } } }, "property": { "type": "Identifier", - "start": 2118, - "end": 2130, + "start": 2134, + "end": 2146, "loc": { "start": { - "line": 110, + "line": 111, "column": 13 }, "end": { - "line": 110, + "line": 111, "column": 25 }, "identifierName": "private_next" @@ -3424,15 +3475,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 2135, - "end": 2144, + "start": 2151, + "end": 2160, "loc": { "start": { - "line": 110, + "line": 111, "column": 30 }, "end": { - "line": 110, + "line": 111, "column": 39 }, "identifierName": "undefined" @@ -3442,59 +3493,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 2146, - "end": 2336, + "start": 2162, + "end": 2352, "loc": { "start": { - "line": 110, + "line": 111, "column": 41 }, "end": { - "line": 114, + "line": 115, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 2154, - "end": 2204, + "start": 2170, + "end": 2220, "loc": { "start": { - "line": 111, + "line": 112, "column": 6 }, "end": { - "line": 111, + "line": 112, "column": 56 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 2158, - "end": 2203, + "start": 2174, + "end": 2219, "loc": { "start": { - "line": 111, + "line": 112, "column": 10 }, "end": { - "line": 111, + "line": 112, "column": 55 } }, "id": { "type": "Identifier", - "start": 2158, - "end": 2172, + "start": 2174, + "end": 2188, "loc": { "start": { - "line": 111, + "line": 112, "column": 10 }, "end": { - "line": 111, + "line": 112, "column": 24 }, "identifierName": "newIncremental" @@ -3503,72 +3554,72 @@ }, "init": { "type": "BinaryExpression", - "start": 2175, - "end": 2203, + "start": 2191, + "end": 2219, "loc": { "start": { - "line": 111, + "line": 112, "column": 27 }, "end": { - "line": 111, + "line": 112, "column": 55 } }, "left": { "type": "BinaryExpression", - "start": 2176, - "end": 2197, + "start": 2192, + "end": 2213, "loc": { "start": { - "line": 111, + "line": 112, "column": 28 }, "end": { - "line": 111, + "line": 112, "column": 49 } }, "left": { "type": "MemberExpression", - "start": 2176, - "end": 2193, + "start": 2192, + "end": 2209, "loc": { "start": { - "line": 111, + "line": 112, "column": 28 }, "end": { - "line": 111, + "line": 112, "column": 45 } }, "object": { "type": "ThisExpression", - "start": 2176, - "end": 2180, + "start": 2192, + "end": 2196, "loc": { "start": { - "line": 111, + "line": 112, "column": 28 }, "end": { - "line": 111, + "line": 112, "column": 32 } } }, "property": { "type": "Identifier", - "start": 2181, - "end": 2193, + "start": 2197, + "end": 2209, "loc": { "start": { - "line": 111, + "line": 112, "column": 33 }, "end": { - "line": 111, + "line": 112, "column": 45 }, "identifierName": "day_position" @@ -3580,15 +3631,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 2196, - "end": 2197, + "start": 2212, + "end": 2213, "loc": { "start": { - "line": 111, + "line": 112, "column": 48 }, "end": { - "line": 111, + "line": 112, "column": 49 } }, @@ -3600,21 +3651,21 @@ }, "extra": { "parenthesized": true, - "parenStart": 2175 + "parenStart": 2191 } }, "operator": "%", "right": { "type": "NumericLiteral", - "start": 2201, - "end": 2203, + "start": 2217, + "end": 2219, "loc": { "start": { - "line": 111, + "line": 112, "column": 53 }, "end": { - "line": 111, + "line": 112, "column": 55 } }, @@ -3631,44 +3682,44 @@ }, { "type": "ExpressionStatement", - "start": 2211, - "end": 2273, + "start": 2227, + "end": 2289, "loc": { "start": { - "line": 112, + "line": 113, "column": 6 }, "end": { - "line": 112, + "line": 113, "column": 68 } }, "expression": { "type": "AssignmentExpression", - "start": 2211, - "end": 2272, + "start": 2227, + "end": 2288, "loc": { "start": { - "line": 112, + "line": 113, "column": 6 }, "end": { - "line": 112, + "line": 113, "column": 67 } }, "operator": "=", "left": { "type": "Identifier", - "start": 2211, - "end": 2225, + "start": 2227, + "end": 2241, "loc": { "start": { - "line": 112, + "line": 113, "column": 6 }, "end": { - "line": 112, + "line": 113, "column": 20 }, "identifierName": "newIncremental" @@ -3677,43 +3728,43 @@ }, "right": { "type": "ConditionalExpression", - "start": 2228, - "end": 2272, + "start": 2244, + "end": 2288, "loc": { "start": { - "line": 112, + "line": 113, "column": 23 }, "end": { - "line": 112, + "line": 113, "column": 67 } }, "test": { "type": "BinaryExpression", - "start": 2229, - "end": 2249, + "start": 2245, + "end": 2265, "loc": { "start": { - "line": 112, + "line": 113, "column": 24 }, "end": { - "line": 112, + "line": 113, "column": 44 } }, "left": { "type": "Identifier", - "start": 2229, - "end": 2243, + "start": 2245, + "end": 2259, "loc": { "start": { - "line": 112, + "line": 113, "column": 24 }, "end": { - "line": 112, + "line": 113, "column": 38 }, "identifierName": "newIncremental" @@ -3723,15 +3774,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 2248, - "end": 2249, + "start": 2264, + "end": 2265, "loc": { "start": { - "line": 112, + "line": 113, "column": 43 }, "end": { - "line": 112, + "line": 113, "column": 44 } }, @@ -3743,20 +3794,20 @@ }, "extra": { "parenthesized": true, - "parenStart": 2228 + "parenStart": 2244 } }, "consequent": { "type": "NumericLiteral", - "start": 2253, - "end": 2255, + "start": 2269, + "end": 2271, "loc": { "start": { - "line": 112, + "line": 113, "column": 48 }, "end": { - "line": 112, + "line": 113, "column": 50 } }, @@ -3768,15 +3819,15 @@ }, "alternate": { "type": "Identifier", - "start": 2258, - "end": 2272, + "start": 2274, + "end": 2288, "loc": { "start": { - "line": 112, + "line": 113, "column": 53 }, "end": { - "line": 112, + "line": 113, "column": 67 }, "identifierName": "newIncremental" @@ -3788,73 +3839,73 @@ }, { "type": "ExpressionStatement", - "start": 2280, - "end": 2330, + "start": 2296, + "end": 2346, "loc": { "start": { - "line": 113, + "line": 114, "column": 6 }, "end": { - "line": 113, + "line": 114, "column": 56 } }, "expression": { "type": "AssignmentExpression", - "start": 2280, - "end": 2329, + "start": 2296, + "end": 2345, "loc": { "start": { - "line": 113, + "line": 114, "column": 6 }, "end": { - "line": 113, + "line": 114, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 2280, - "end": 2297, + "start": 2296, + "end": 2313, "loc": { "start": { - "line": 113, + "line": 114, "column": 6 }, "end": { - "line": 113, + "line": 114, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 2280, - "end": 2284, + "start": 2296, + "end": 2300, "loc": { "start": { - "line": 113, + "line": 114, "column": 6 }, "end": { - "line": 113, + "line": 114, "column": 10 } } }, "property": { "type": "Identifier", - "start": 2285, - "end": 2297, + "start": 2301, + "end": 2313, "loc": { "start": { - "line": 113, + "line": 114, "column": 11 }, "end": { - "line": 113, + "line": 114, "column": 23 }, "identifierName": "private_next" @@ -3865,29 +3916,29 @@ }, "right": { "type": "CallExpression", - "start": 2300, - "end": 2329, + "start": 2316, + "end": 2345, "loc": { "start": { - "line": 113, + "line": 114, "column": 26 }, "end": { - "line": 113, + "line": 114, "column": 55 } }, "callee": { "type": "Identifier", - "start": 2300, - "end": 2313, + "start": 2316, + "end": 2329, "loc": { "start": { - "line": 113, + "line": 114, "column": 26 }, "end": { - "line": 113, + "line": 114, "column": 39 }, "identifierName": "getTzolkinDay" @@ -3897,15 +3948,15 @@ "arguments": [ { "type": "Identifier", - "start": 2314, - "end": 2328, + "start": 2330, + "end": 2344, "loc": { "start": { - "line": 113, + "line": 114, "column": 40 }, "end": { - "line": 113, + "line": 114, "column": 54 }, "identifierName": "newIncremental" @@ -3923,86 +3974,86 @@ }, { "type": "ReturnStatement", - "start": 2341, - "end": 2389, + "start": 2357, + "end": 2405, "loc": { "start": { - "line": 115, + "line": 116, "column": 4 }, "end": { - "line": 115, + "line": 116, "column": 52 } }, "argument": { "type": "CallExpression", - "start": 2348, - "end": 2388, + "start": 2364, + "end": 2404, "loc": { "start": { - "line": 115, + "line": 116, "column": 11 }, "end": { - "line": 115, + "line": 116, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 2348, - "end": 2371, + "start": 2364, + "end": 2387, "loc": { "start": { - "line": 115, + "line": 116, "column": 11 }, "end": { - "line": 115, + "line": 116, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 2348, - "end": 2365, + "start": 2364, + "end": 2381, "loc": { "start": { - "line": 115, + "line": 116, "column": 11 }, "end": { - "line": 115, + "line": 116, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 2348, - "end": 2352, + "start": 2364, + "end": 2368, "loc": { "start": { - "line": 115, + "line": 116, "column": 11 }, "end": { - "line": 115, + "line": 116, "column": 15 } } }, "property": { "type": "Identifier", - "start": 2353, - "end": 2365, + "start": 2369, + "end": 2381, "loc": { "start": { - "line": 115, + "line": 116, "column": 16 }, "end": { - "line": 115, + "line": 116, "column": 28 }, "identifierName": "private_next" @@ -4013,15 +4064,15 @@ }, "property": { "type": "Identifier", - "start": 2366, - "end": 2371, + "start": 2382, + "end": 2387, "loc": { "start": { - "line": 115, + "line": 116, "column": 29 }, "end": { - "line": 115, + "line": 116, "column": 34 }, "identifierName": "shift" @@ -4033,29 +4084,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 2372, - "end": 2387, + "start": 2388, + "end": 2403, "loc": { "start": { - "line": 115, + "line": 116, "column": 35 }, "end": { - "line": 115, + "line": 116, "column": 50 } }, "left": { "type": "Identifier", - "start": 2372, - "end": 2383, + "start": 2388, + "end": 2399, "loc": { "start": { - "line": 115, + "line": 116, "column": 35 }, "end": { - "line": 115, + "line": 116, "column": 46 }, "identifierName": "incremental" @@ -4065,15 +4116,15 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 2386, - "end": 2387, + "start": 2402, + "end": 2403, "loc": { "start": { - "line": 115, + "line": 116, "column": 49 }, "end": { - "line": 115, + "line": 116, "column": 50 } }, @@ -4095,15 +4146,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {number} incremental\n ", - "start": 1980, - "end": 2027, + "start": 1996, + "end": 2043, "loc": { "start": { - "line": 102, + "line": 103, "column": 2 }, "end": { - "line": 105, + "line": 106, "column": 5 } } @@ -4113,15 +4164,15 @@ { "type": "CommentBlock", "value": "*\n * Return the name of this Tzolkin day\n * @return {string}\n ", - "start": 2397, - "end": 2469, + "start": 2413, + "end": 2485, "loc": { "start": { - "line": 118, + "line": 119, "column": 2 }, "end": { - "line": 121, + "line": 122, "column": 5 } } @@ -4130,15 +4181,15 @@ }, { "type": "ClassMethod", - "start": 2472, - "end": 2510, + "start": 2488, + "end": 2526, "loc": { "start": { - "line": 122, + "line": 123, "column": 2 }, "end": { - "line": 124, + "line": 125, "column": 3 } }, @@ -4146,15 +4197,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2472, - "end": 2480, + "start": 2488, + "end": 2496, "loc": { "start": { - "line": 122, + "line": 123, "column": 2 }, "end": { - "line": 122, + "line": 123, "column": 10 }, "identifierName": "toString" @@ -4170,73 +4221,73 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2483, - "end": 2510, + "start": 2499, + "end": 2526, "loc": { "start": { - "line": 122, + "line": 123, "column": 13 }, "end": { - "line": 124, + "line": 125, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 2489, - "end": 2506, + "start": 2505, + "end": 2522, "loc": { "start": { - "line": 123, + "line": 124, "column": 4 }, "end": { - "line": 123, + "line": 124, "column": 21 } }, "argument": { "type": "MemberExpression", - "start": 2496, - "end": 2505, + "start": 2512, + "end": 2521, "loc": { "start": { - "line": 123, + "line": 124, "column": 11 }, "end": { - "line": 123, + "line": 124, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 2496, - "end": 2500, + "start": 2512, + "end": 2516, "loc": { "start": { - "line": 123, + "line": 124, "column": 11 }, "end": { - "line": 123, + "line": 124, "column": 15 } } }, "property": { "type": "Identifier", - "start": 2501, - "end": 2505, + "start": 2517, + "end": 2521, "loc": { "start": { - "line": 123, + "line": 124, "column": 16 }, "end": { - "line": 123, + "line": 124, "column": 20 }, "identifierName": "name" @@ -4253,15 +4304,15 @@ { "type": "CommentBlock", "value": "*\n * Return the name of this Tzolkin day\n * @return {string}\n ", - "start": 2397, - "end": 2469, + "start": 2413, + "end": 2485, "loc": { "start": { - "line": 118, + "line": 119, "column": 2 }, "end": { - "line": 121, + "line": 122, "column": 5 } } @@ -4274,118 +4325,20 @@ { "type": "CommentBlock", "value": "*\n * Describes only the day component of a 260-day cycle\n ", - "start": 791, - "end": 853, + "start": 807, + "end": 869, "loc": { "start": { - "line": 47, + "line": 48, "column": 0 }, "end": { - "line": 49, + "line": 50, "column": 3 } } } ] - }, - { - "type": "ExpressionStatement", - "start": 2514, - "end": 2545, - "loc": { - "start": { - "line": 127, - "column": 0 - }, - "end": { - "line": 127, - "column": 31 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 2514, - "end": 2544, - "loc": { - "start": { - "line": 127, - "column": 0 - }, - "end": { - "line": 127, - "column": 30 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 2514, - "end": 2528, - "loc": { - "start": { - "line": 127, - "column": 0 - }, - "end": { - "line": 127, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 2514, - "end": 2520, - "loc": { - "start": { - "line": 127, - "column": 0 - }, - "end": { - "line": 127, - "column": 6 - }, - "identifierName": "module" - }, - "name": "module" - }, - "property": { - "type": "Identifier", - "start": 2521, - "end": 2528, - "loc": { - "start": { - "line": 127, - "column": 7 - }, - "end": { - "line": 127, - "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 2531, - "end": 2544, - "loc": { - "start": { - "line": 127, - "column": 17 - }, - "end": { - "line": 127, - "column": 30 - }, - "identifierName": "getTzolkinDay" - }, - "name": "getTzolkinDay" - } - } } ], "directives": [] @@ -4442,15 +4395,15 @@ { "type": "CommentLine", "value": " eslint-disable-next-line no-use-before-define", - "start": 655, - "end": 703, + "start": 671, + "end": 719, "loc": { "start": { - "line": 40, + "line": 41, "column": 4 }, "end": { - "line": 40, + "line": 41, "column": 52 } } @@ -4458,15 +4411,15 @@ { "type": "CommentBlock", "value": "*\n * Describes only the day component of a 260-day cycle\n ", - "start": 791, - "end": 853, + "start": 807, + "end": 869, "loc": { "start": { - "line": 47, + "line": 48, "column": 0 }, "end": { - "line": 49, + "line": 50, "column": 3 } } @@ -4474,15 +4427,15 @@ { "type": "CommentBlock", "value": "*\n * @param {string|number} newName - Name or position of the 260-day cycle day\n ", - "start": 875, - "end": 964, + "start": 891, + "end": 980, "loc": { "start": { - "line": 51, + "line": 52, "column": 2 }, "end": { - "line": 53, + "line": 54, "column": 5 } } @@ -4490,15 +4443,15 @@ { "type": "CommentBlock", "value": "*\n * Name of the day in the 260-day cycle\n * @type {string}\n ", - "start": 1086, - "end": 1163, + "start": 1102, + "end": 1179, "loc": { "start": { - "line": 60, + "line": 61, "column": 4 }, "end": { - "line": 63, + "line": 64, "column": 7 } } @@ -4506,15 +4459,15 @@ { "type": "CommentBlock", "value": "*\n * Index of the day in the list of Tzolkin' days\n * @type {number}\n ", - "start": 1191, - "end": 1277, + "start": 1207, + "end": 1293, "loc": { "start": { - "line": 66, + "line": 67, "column": 4 }, "end": { - "line": 69, + "line": 70, "column": 7 } } @@ -4522,15 +4475,15 @@ { "type": "CommentBlock", "value": "*\n * Lazy loaded instance of the next Tzolkin Day in the cycle\n * @type {TzolkinDay}\n ", - "start": 1359, - "end": 1461, + "start": 1375, + "end": 1477, "loc": { "start": { - "line": 74, + "line": 75, "column": 4 }, "end": { - "line": 77, + "line": 78, "column": 7 } } @@ -4538,15 +4491,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Tzolk'in day name is defined and is within the list of\n * acceptable day names.\n ", - "start": 1504, - "end": 1611, + "start": 1520, + "end": 1627, "loc": { "start": { - "line": 81, + "line": 82, "column": 2 }, "end": { - "line": 84, + "line": 85, "column": 5 } } @@ -4554,15 +4507,15 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the 260-day cycle\n * @returns {TzolkinDay}\n ", - "start": 1853, - "end": 1935, + "start": 1869, + "end": 1951, "loc": { "start": { - "line": 94, + "line": 95, "column": 2 }, "end": { - "line": 97, + "line": 98, "column": 5 } } @@ -4570,15 +4523,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {number} incremental\n ", - "start": 1980, - "end": 2027, + "start": 1996, + "end": 2043, "loc": { "start": { - "line": 102, + "line": 103, "column": 2 }, "end": { - "line": 105, + "line": 106, "column": 5 } } @@ -4586,15 +4539,15 @@ { "type": "CommentBlock", "value": "*\n * Return the name of this Tzolkin day\n * @return {string}\n ", - "start": 2397, - "end": 2469, + "start": 2413, + "end": 2485, "loc": { "start": { - "line": 118, + "line": 119, "column": 2 }, "end": { - "line": 121, + "line": 122, "column": 5 } } @@ -6077,6 +6030,62 @@ } } }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 489, + "end": 495, + "loc": { + "start": { + "line": 38, + "column": 0 + }, + "end": { + "line": 38, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 496, + "end": 503, + "loc": { + "start": { + "line": 38, + "column": 7 + }, + "end": { + "line": 38, + "column": 14 + } + } + }, { "type": { "label": "function", @@ -6091,16 +6100,16 @@ "binop": null }, "value": "function", - "start": 488, - "end": 496, + "start": 504, + "end": 512, "loc": { "start": { - "line": 37, - "column": 3 + "line": 38, + "column": 15 }, "end": { - "line": 37, - "column": 11 + "line": 38, + "column": 23 } } }, @@ -6117,16 +6126,16 @@ "binop": null }, "value": "getTzolkinDay", - "start": 497, - "end": 510, + "start": 513, + "end": 526, "loc": { "start": { - "line": 37, - "column": 12 + "line": 38, + "column": 24 }, "end": { - "line": 37, - "column": 25 + "line": 38, + "column": 37 } } }, @@ -6142,16 +6151,16 @@ "postfix": false, "binop": null }, - "start": 510, - "end": 511, + "start": 526, + "end": 527, "loc": { "start": { - "line": 37, - "column": 25 + "line": 38, + "column": 37 }, "end": { - "line": 37, - "column": 26 + "line": 38, + "column": 38 } } }, @@ -6168,16 +6177,16 @@ "binop": null }, "value": "newDayName", - "start": 511, - "end": 521, + "start": 527, + "end": 537, "loc": { "start": { - "line": 37, - "column": 26 + "line": 38, + "column": 38 }, "end": { - "line": 37, - "column": 36 + "line": 38, + "column": 48 } } }, @@ -6193,16 +6202,16 @@ "postfix": false, "binop": null }, - "start": 521, - "end": 522, + "start": 537, + "end": 538, "loc": { "start": { - "line": 37, - "column": 36 + "line": 38, + "column": 48 }, "end": { - "line": 37, - "column": 37 + "line": 38, + "column": 49 } } }, @@ -6218,16 +6227,16 @@ "postfix": false, "binop": null }, - "start": 523, - "end": 524, + "start": 539, + "end": 540, "loc": { "start": { - "line": 37, - "column": 38 + "line": 38, + "column": 50 }, "end": { - "line": 37, - "column": 39 + "line": 38, + "column": 51 } } }, @@ -6246,15 +6255,15 @@ "updateContext": null }, "value": "const", - "start": 527, - "end": 532, + "start": 543, + "end": 548, "loc": { "start": { - "line": 38, + "line": 39, "column": 2 }, "end": { - "line": 38, + "line": 39, "column": 7 } } @@ -6272,15 +6281,15 @@ "binop": null }, "value": "dayName", - "start": 533, - "end": 540, + "start": 549, + "end": 556, "loc": { "start": { - "line": 38, + "line": 39, "column": 8 }, "end": { - "line": 38, + "line": 39, "column": 15 } } @@ -6299,15 +6308,15 @@ "updateContext": null }, "value": "=", - "start": 541, - "end": 542, + "start": 557, + "end": 558, "loc": { "start": { - "line": 38, + "line": 39, "column": 16 }, "end": { - "line": 38, + "line": 39, "column": 17 } } @@ -6324,15 +6333,15 @@ "postfix": false, "binop": null }, - "start": 543, - "end": 544, + "start": 559, + "end": 560, "loc": { "start": { - "line": 38, + "line": 39, "column": 18 }, "end": { - "line": 38, + "line": 39, "column": 19 } } @@ -6352,15 +6361,15 @@ "updateContext": null }, "value": "typeof", - "start": 544, - "end": 550, + "start": 560, + "end": 566, "loc": { "start": { - "line": 38, + "line": 39, "column": 19 }, "end": { - "line": 38, + "line": 39, "column": 25 } } @@ -6378,15 +6387,15 @@ "binop": null }, "value": "newDayName", - "start": 551, - "end": 561, + "start": 567, + "end": 577, "loc": { "start": { - "line": 38, + "line": 39, "column": 26 }, "end": { - "line": 38, + "line": 39, "column": 36 } } @@ -6405,15 +6414,15 @@ "updateContext": null }, "value": "===", - "start": 562, - "end": 565, + "start": 578, + "end": 581, "loc": { "start": { - "line": 38, + "line": 39, "column": 37 }, "end": { - "line": 38, + "line": 39, "column": 40 } } @@ -6432,15 +6441,15 @@ "updateContext": null }, "value": "number", - "start": 566, - "end": 574, + "start": 582, + "end": 590, "loc": { "start": { - "line": 38, + "line": 39, "column": 41 }, "end": { - "line": 38, + "line": 39, "column": 49 } } @@ -6457,15 +6466,15 @@ "postfix": false, "binop": null }, - "start": 574, - "end": 575, + "start": 590, + "end": 591, "loc": { "start": { - "line": 38, + "line": 39, "column": 49 }, "end": { - "line": 38, + "line": 39, "column": 50 } } @@ -6483,15 +6492,15 @@ "binop": null, "updateContext": null }, - "start": 576, - "end": 577, + "start": 592, + "end": 593, "loc": { "start": { - "line": 38, + "line": 39, "column": 51 }, "end": { - "line": 38, + "line": 39, "column": 52 } } @@ -6509,15 +6518,15 @@ "binop": null }, "value": "days", - "start": 578, - "end": 582, + "start": 594, + "end": 598, "loc": { "start": { - "line": 38, + "line": 39, "column": 53 }, "end": { - "line": 38, + "line": 39, "column": 57 } } @@ -6535,15 +6544,15 @@ "binop": null, "updateContext": null }, - "start": 582, - "end": 583, + "start": 598, + "end": 599, "loc": { "start": { - "line": 38, + "line": 39, "column": 57 }, "end": { - "line": 38, + "line": 39, "column": 58 } } @@ -6561,15 +6570,15 @@ "binop": null }, "value": "newDayName", - "start": 583, - "end": 593, + "start": 599, + "end": 609, "loc": { "start": { - "line": 38, + "line": 39, "column": 58 }, "end": { - "line": 38, + "line": 39, "column": 68 } } @@ -6587,15 +6596,15 @@ "binop": null, "updateContext": null }, - "start": 593, - "end": 594, + "start": 609, + "end": 610, "loc": { "start": { - "line": 38, + "line": 39, "column": 68 }, "end": { - "line": 38, + "line": 39, "column": 69 } } @@ -6613,15 +6622,15 @@ "binop": null, "updateContext": null }, - "start": 595, - "end": 596, + "start": 611, + "end": 612, "loc": { "start": { - "line": 38, + "line": 39, "column": 70 }, "end": { - "line": 38, + "line": 39, "column": 71 } } @@ -6639,15 +6648,15 @@ "binop": null }, "value": "newDayName", - "start": 597, - "end": 607, + "start": 613, + "end": 623, "loc": { "start": { - "line": 38, + "line": 39, "column": 72 }, "end": { - "line": 38, + "line": 39, "column": 82 } } @@ -6665,15 +6674,15 @@ "binop": null, "updateContext": null }, - "start": 607, - "end": 608, + "start": 623, + "end": 624, "loc": { "start": { - "line": 38, + "line": 39, "column": 82 }, "end": { - "line": 38, + "line": 39, "column": 83 } } @@ -6693,15 +6702,15 @@ "updateContext": null }, "value": "if", - "start": 611, - "end": 613, + "start": 627, + "end": 629, "loc": { "start": { - "line": 39, + "line": 40, "column": 2 }, "end": { - "line": 39, + "line": 40, "column": 4 } } @@ -6718,15 +6727,15 @@ "postfix": false, "binop": null }, - "start": 614, - "end": 615, + "start": 630, + "end": 631, "loc": { "start": { - "line": 39, + "line": 40, "column": 5 }, "end": { - "line": 39, + "line": 40, "column": 6 } } @@ -6744,15 +6753,15 @@ "binop": null }, "value": "singleton", - "start": 615, - "end": 624, + "start": 631, + "end": 640, "loc": { "start": { - "line": 39, + "line": 40, "column": 6 }, "end": { - "line": 39, + "line": 40, "column": 15 } } @@ -6770,15 +6779,15 @@ "binop": null, "updateContext": null }, - "start": 624, - "end": 625, + "start": 640, + "end": 641, "loc": { "start": { - "line": 39, + "line": 40, "column": 15 }, "end": { - "line": 39, + "line": 40, "column": 16 } } @@ -6796,15 +6805,15 @@ "binop": null }, "value": "dayName", - "start": 625, - "end": 632, + "start": 641, + "end": 648, "loc": { "start": { - "line": 39, + "line": 40, "column": 16 }, "end": { - "line": 39, + "line": 40, "column": 23 } } @@ -6822,15 +6831,15 @@ "binop": null, "updateContext": null }, - "start": 632, - "end": 633, + "start": 648, + "end": 649, "loc": { "start": { - "line": 39, + "line": 40, "column": 23 }, "end": { - "line": 39, + "line": 40, "column": 24 } } @@ -6849,15 +6858,15 @@ "updateContext": null }, "value": "===", - "start": 634, - "end": 637, + "start": 650, + "end": 653, "loc": { "start": { - "line": 39, + "line": 40, "column": 25 }, "end": { - "line": 39, + "line": 40, "column": 28 } } @@ -6875,15 +6884,15 @@ "binop": null }, "value": "undefined", - "start": 638, - "end": 647, + "start": 654, + "end": 663, "loc": { "start": { - "line": 39, + "line": 40, "column": 29 }, "end": { - "line": 39, + "line": 40, "column": 38 } } @@ -6900,15 +6909,15 @@ "postfix": false, "binop": null }, - "start": 647, - "end": 648, + "start": 663, + "end": 664, "loc": { "start": { - "line": 39, + "line": 40, "column": 38 }, "end": { - "line": 39, + "line": 40, "column": 39 } } @@ -6925,15 +6934,15 @@ "postfix": false, "binop": null }, - "start": 649, - "end": 650, + "start": 665, + "end": 666, "loc": { "start": { - "line": 39, + "line": 40, "column": 40 }, "end": { - "line": 39, + "line": 40, "column": 41 } } @@ -6941,15 +6950,15 @@ { "type": "CommentLine", "value": " eslint-disable-next-line no-use-before-define", - "start": 655, - "end": 703, + "start": 671, + "end": 719, "loc": { "start": { - "line": 40, + "line": 41, "column": 4 }, "end": { - "line": 40, + "line": 41, "column": 52 } } @@ -6967,15 +6976,15 @@ "binop": null }, "value": "singleton", - "start": 708, - "end": 717, + "start": 724, + "end": 733, "loc": { "start": { - "line": 41, + "line": 42, "column": 4 }, "end": { - "line": 41, + "line": 42, "column": 13 } } @@ -6993,15 +7002,15 @@ "binop": null, "updateContext": null }, - "start": 717, - "end": 718, + "start": 733, + "end": 734, "loc": { "start": { - "line": 41, + "line": 42, "column": 13 }, "end": { - "line": 41, + "line": 42, "column": 14 } } @@ -7019,15 +7028,15 @@ "binop": null }, "value": "dayName", - "start": 718, - "end": 725, + "start": 734, + "end": 741, "loc": { "start": { - "line": 41, + "line": 42, "column": 14 }, "end": { - "line": 41, + "line": 42, "column": 21 } } @@ -7045,15 +7054,15 @@ "binop": null, "updateContext": null }, - "start": 725, - "end": 726, + "start": 741, + "end": 742, "loc": { "start": { - "line": 41, + "line": 42, "column": 21 }, "end": { - "line": 41, + "line": 42, "column": 22 } } @@ -7072,15 +7081,15 @@ "updateContext": null }, "value": "=", - "start": 727, - "end": 728, + "start": 743, + "end": 744, "loc": { "start": { - "line": 41, + "line": 42, "column": 23 }, "end": { - "line": 41, + "line": 42, "column": 24 } } @@ -7100,15 +7109,15 @@ "updateContext": null }, "value": "new", - "start": 729, - "end": 732, + "start": 745, + "end": 748, "loc": { "start": { - "line": 41, + "line": 42, "column": 25 }, "end": { - "line": 41, + "line": 42, "column": 28 } } @@ -7126,15 +7135,15 @@ "binop": null }, "value": "TzolkinDay", - "start": 733, - "end": 743, + "start": 749, + "end": 759, "loc": { "start": { - "line": 41, + "line": 42, "column": 29 }, "end": { - "line": 41, + "line": 42, "column": 39 } } @@ -7151,15 +7160,15 @@ "postfix": false, "binop": null }, - "start": 743, - "end": 744, + "start": 759, + "end": 760, "loc": { "start": { - "line": 41, + "line": 42, "column": 39 }, "end": { - "line": 41, + "line": 42, "column": 40 } } @@ -7177,15 +7186,15 @@ "binop": null }, "value": "dayName", - "start": 744, - "end": 751, + "start": 760, + "end": 767, "loc": { "start": { - "line": 41, + "line": 42, "column": 40 }, "end": { - "line": 41, + "line": 42, "column": 47 } } @@ -7202,15 +7211,15 @@ "postfix": false, "binop": null }, - "start": 751, - "end": 752, + "start": 767, + "end": 768, "loc": { "start": { - "line": 41, + "line": 42, "column": 47 }, "end": { - "line": 41, + "line": 42, "column": 48 } } @@ -7228,15 +7237,15 @@ "binop": null, "updateContext": null }, - "start": 752, - "end": 753, + "start": 768, + "end": 769, "loc": { "start": { - "line": 41, + "line": 42, "column": 48 }, "end": { - "line": 41, + "line": 42, "column": 49 } } @@ -7253,15 +7262,15 @@ "postfix": false, "binop": null }, - "start": 756, - "end": 757, + "start": 772, + "end": 773, "loc": { "start": { - "line": 42, + "line": 43, "column": 2 }, "end": { - "line": 42, + "line": 43, "column": 3 } } @@ -7281,15 +7290,15 @@ "updateContext": null }, "value": "return", - "start": 760, - "end": 766, + "start": 776, + "end": 782, "loc": { "start": { - "line": 43, + "line": 44, "column": 2 }, "end": { - "line": 43, + "line": 44, "column": 8 } } @@ -7307,15 +7316,15 @@ "binop": null }, "value": "singleton", - "start": 767, - "end": 776, + "start": 783, + "end": 792, "loc": { "start": { - "line": 43, + "line": 44, "column": 9 }, "end": { - "line": 43, + "line": 44, "column": 18 } } @@ -7333,15 +7342,15 @@ "binop": null, "updateContext": null }, - "start": 776, - "end": 777, + "start": 792, + "end": 793, "loc": { "start": { - "line": 43, + "line": 44, "column": 18 }, "end": { - "line": 43, + "line": 44, "column": 19 } } @@ -7359,15 +7368,15 @@ "binop": null }, "value": "dayName", - "start": 777, - "end": 784, + "start": 793, + "end": 800, "loc": { "start": { - "line": 43, + "line": 44, "column": 19 }, "end": { - "line": 43, + "line": 44, "column": 26 } } @@ -7385,15 +7394,15 @@ "binop": null, "updateContext": null }, - "start": 784, - "end": 785, + "start": 800, + "end": 801, "loc": { "start": { - "line": 43, + "line": 44, "column": 26 }, "end": { - "line": 43, + "line": 44, "column": 27 } } @@ -7411,15 +7420,15 @@ "binop": null, "updateContext": null }, - "start": 785, - "end": 786, + "start": 801, + "end": 802, "loc": { "start": { - "line": 43, + "line": 44, "column": 27 }, "end": { - "line": 43, + "line": 44, "column": 28 } } @@ -7436,15 +7445,15 @@ "postfix": false, "binop": null }, - "start": 787, - "end": 788, + "start": 803, + "end": 804, "loc": { "start": { - "line": 44, + "line": 45, "column": 0 }, "end": { - "line": 44, + "line": 45, "column": 1 } } @@ -7452,15 +7461,15 @@ { "type": "CommentBlock", "value": "*\n * Describes only the day component of a 260-day cycle\n ", - "start": 791, - "end": 853, + "start": 807, + "end": 869, "loc": { "start": { - "line": 47, + "line": 48, "column": 0 }, "end": { - "line": 49, + "line": 50, "column": 3 } } @@ -7480,15 +7489,15 @@ "updateContext": null }, "value": "class", - "start": 854, - "end": 859, + "start": 870, + "end": 875, "loc": { "start": { - "line": 50, + "line": 51, "column": 0 }, "end": { - "line": 50, + "line": 51, "column": 5 } } @@ -7506,15 +7515,15 @@ "binop": null }, "value": "TzolkinDay", - "start": 860, - "end": 870, + "start": 876, + "end": 886, "loc": { "start": { - "line": 50, + "line": 51, "column": 6 }, "end": { - "line": 50, + "line": 51, "column": 16 } } @@ -7531,15 +7540,15 @@ "postfix": false, "binop": null }, - "start": 871, - "end": 872, + "start": 887, + "end": 888, "loc": { "start": { - "line": 50, + "line": 51, "column": 17 }, "end": { - "line": 50, + "line": 51, "column": 18 } } @@ -7547,15 +7556,15 @@ { "type": "CommentBlock", "value": "*\n * @param {string|number} newName - Name or position of the 260-day cycle day\n ", - "start": 875, - "end": 964, + "start": 891, + "end": 980, "loc": { "start": { - "line": 51, + "line": 52, "column": 2 }, "end": { - "line": 53, + "line": 54, "column": 5 } } @@ -7573,15 +7582,15 @@ "binop": null }, "value": "constructor", - "start": 967, - "end": 978, + "start": 983, + "end": 994, "loc": { "start": { - "line": 54, + "line": 55, "column": 2 }, "end": { - "line": 54, + "line": 55, "column": 13 } } @@ -7598,15 +7607,15 @@ "postfix": false, "binop": null }, - "start": 978, - "end": 979, + "start": 994, + "end": 995, "loc": { "start": { - "line": 54, + "line": 55, "column": 13 }, "end": { - "line": 54, + "line": 55, "column": 14 } } @@ -7624,15 +7633,15 @@ "binop": null }, "value": "newName", - "start": 979, - "end": 986, + "start": 995, + "end": 1002, "loc": { "start": { - "line": 54, + "line": 55, "column": 14 }, "end": { - "line": 54, + "line": 55, "column": 21 } } @@ -7649,15 +7658,15 @@ "postfix": false, "binop": null }, - "start": 986, - "end": 987, + "start": 1002, + "end": 1003, "loc": { "start": { - "line": 54, + "line": 55, "column": 21 }, "end": { - "line": 54, + "line": 55, "column": 22 } } @@ -7674,15 +7683,15 @@ "postfix": false, "binop": null }, - "start": 988, - "end": 989, + "start": 1004, + "end": 1005, "loc": { "start": { - "line": 54, + "line": 55, "column": 23 }, "end": { - "line": 54, + "line": 55, "column": 24 } } @@ -7702,15 +7711,15 @@ "updateContext": null }, "value": "let", - "start": 994, - "end": 997, + "start": 1010, + "end": 1013, "loc": { "start": { - "line": 55, + "line": 56, "column": 4 }, "end": { - "line": 55, + "line": 56, "column": 7 } } @@ -7728,15 +7737,15 @@ "binop": null }, "value": "name", - "start": 998, - "end": 1002, + "start": 1014, + "end": 1018, "loc": { "start": { - "line": 55, + "line": 56, "column": 8 }, "end": { - "line": 55, + "line": 56, "column": 12 } } @@ -7755,15 +7764,15 @@ "updateContext": null }, "value": "=", - "start": 1003, - "end": 1004, + "start": 1019, + "end": 1020, "loc": { "start": { - "line": 55, + "line": 56, "column": 13 }, "end": { - "line": 55, + "line": 56, "column": 14 } } @@ -7781,15 +7790,15 @@ "binop": null }, "value": "newName", - "start": 1005, - "end": 1012, + "start": 1021, + "end": 1028, "loc": { "start": { - "line": 55, + "line": 56, "column": 15 }, "end": { - "line": 55, + "line": 56, "column": 22 } } @@ -7807,15 +7816,15 @@ "binop": null, "updateContext": null }, - "start": 1012, - "end": 1013, + "start": 1028, + "end": 1029, "loc": { "start": { - "line": 55, + "line": 56, "column": 22 }, "end": { - "line": 55, + "line": 56, "column": 23 } } @@ -7835,15 +7844,15 @@ "updateContext": null }, "value": "if", - "start": 1018, - "end": 1020, + "start": 1034, + "end": 1036, "loc": { "start": { - "line": 56, + "line": 57, "column": 4 }, "end": { - "line": 56, + "line": 57, "column": 6 } } @@ -7860,15 +7869,15 @@ "postfix": false, "binop": null }, - "start": 1021, - "end": 1022, + "start": 1037, + "end": 1038, "loc": { "start": { - "line": 56, + "line": 57, "column": 7 }, "end": { - "line": 56, + "line": 57, "column": 8 } } @@ -7888,15 +7897,15 @@ "updateContext": null }, "value": "typeof", - "start": 1022, - "end": 1028, + "start": 1038, + "end": 1044, "loc": { "start": { - "line": 56, + "line": 57, "column": 8 }, "end": { - "line": 56, + "line": 57, "column": 14 } } @@ -7914,15 +7923,15 @@ "binop": null }, "value": "name", - "start": 1029, - "end": 1033, + "start": 1045, + "end": 1049, "loc": { "start": { - "line": 56, + "line": 57, "column": 15 }, "end": { - "line": 56, + "line": 57, "column": 19 } } @@ -7941,15 +7950,15 @@ "updateContext": null }, "value": "===", - "start": 1034, - "end": 1037, + "start": 1050, + "end": 1053, "loc": { "start": { - "line": 56, + "line": 57, "column": 20 }, "end": { - "line": 56, + "line": 57, "column": 23 } } @@ -7968,15 +7977,15 @@ "updateContext": null }, "value": "number", - "start": 1038, - "end": 1046, + "start": 1054, + "end": 1062, "loc": { "start": { - "line": 56, + "line": 57, "column": 24 }, "end": { - "line": 56, + "line": 57, "column": 32 } } @@ -7993,15 +8002,15 @@ "postfix": false, "binop": null }, - "start": 1046, - "end": 1047, + "start": 1062, + "end": 1063, "loc": { "start": { - "line": 56, + "line": 57, "column": 32 }, "end": { - "line": 56, + "line": 57, "column": 33 } } @@ -8018,15 +8027,15 @@ "postfix": false, "binop": null }, - "start": 1048, - "end": 1049, + "start": 1064, + "end": 1065, "loc": { "start": { - "line": 56, + "line": 57, "column": 34 }, "end": { - "line": 56, + "line": 57, "column": 35 } } @@ -8044,15 +8053,15 @@ "binop": null }, "value": "name", - "start": 1056, - "end": 1060, + "start": 1072, + "end": 1076, "loc": { "start": { - "line": 57, + "line": 58, "column": 6 }, "end": { - "line": 57, + "line": 58, "column": 10 } } @@ -8071,15 +8080,15 @@ "updateContext": null }, "value": "=", - "start": 1061, - "end": 1062, + "start": 1077, + "end": 1078, "loc": { "start": { - "line": 57, + "line": 58, "column": 11 }, "end": { - "line": 57, + "line": 58, "column": 12 } } @@ -8097,15 +8106,15 @@ "binop": null }, "value": "days", - "start": 1063, - "end": 1067, + "start": 1079, + "end": 1083, "loc": { "start": { - "line": 57, + "line": 58, "column": 13 }, "end": { - "line": 57, + "line": 58, "column": 17 } } @@ -8123,15 +8132,15 @@ "binop": null, "updateContext": null }, - "start": 1067, - "end": 1068, + "start": 1083, + "end": 1084, "loc": { "start": { - "line": 57, + "line": 58, "column": 17 }, "end": { - "line": 57, + "line": 58, "column": 18 } } @@ -8149,15 +8158,15 @@ "binop": null }, "value": "name", - "start": 1068, - "end": 1072, + "start": 1084, + "end": 1088, "loc": { "start": { - "line": 57, + "line": 58, "column": 18 }, "end": { - "line": 57, + "line": 58, "column": 22 } } @@ -8175,15 +8184,15 @@ "binop": null, "updateContext": null }, - "start": 1072, - "end": 1073, + "start": 1088, + "end": 1089, "loc": { "start": { - "line": 57, + "line": 58, "column": 22 }, "end": { - "line": 57, + "line": 58, "column": 23 } } @@ -8201,15 +8210,15 @@ "binop": null, "updateContext": null }, - "start": 1073, - "end": 1074, + "start": 1089, + "end": 1090, "loc": { "start": { - "line": 57, + "line": 58, "column": 23 }, "end": { - "line": 57, + "line": 58, "column": 24 } } @@ -8226,15 +8235,15 @@ "postfix": false, "binop": null }, - "start": 1079, - "end": 1080, + "start": 1095, + "end": 1096, "loc": { "start": { - "line": 58, + "line": 59, "column": 4 }, "end": { - "line": 58, + "line": 59, "column": 5 } } @@ -8242,15 +8251,15 @@ { "type": "CommentBlock", "value": "*\n * Name of the day in the 260-day cycle\n * @type {string}\n ", - "start": 1086, - "end": 1163, + "start": 1102, + "end": 1179, "loc": { "start": { - "line": 60, + "line": 61, "column": 4 }, "end": { - "line": 63, + "line": 64, "column": 7 } } @@ -8270,15 +8279,15 @@ "updateContext": null }, "value": "this", - "start": 1168, - "end": 1172, + "start": 1184, + "end": 1188, "loc": { "start": { - "line": 64, + "line": 65, "column": 4 }, "end": { - "line": 64, + "line": 65, "column": 8 } } @@ -8296,15 +8305,15 @@ "binop": null, "updateContext": null }, - "start": 1172, - "end": 1173, + "start": 1188, + "end": 1189, "loc": { "start": { - "line": 64, + "line": 65, "column": 8 }, "end": { - "line": 64, + "line": 65, "column": 9 } } @@ -8322,15 +8331,15 @@ "binop": null }, "value": "name", - "start": 1173, - "end": 1177, + "start": 1189, + "end": 1193, "loc": { "start": { - "line": 64, + "line": 65, "column": 9 }, "end": { - "line": 64, + "line": 65, "column": 13 } } @@ -8349,15 +8358,15 @@ "updateContext": null }, "value": "=", - "start": 1178, - "end": 1179, + "start": 1194, + "end": 1195, "loc": { "start": { - "line": 64, + "line": 65, "column": 14 }, "end": { - "line": 64, + "line": 65, "column": 15 } } @@ -8375,15 +8384,15 @@ "binop": null }, "value": "name", - "start": 1180, - "end": 1184, + "start": 1196, + "end": 1200, "loc": { "start": { - "line": 64, + "line": 65, "column": 16 }, "end": { - "line": 64, + "line": 65, "column": 20 } } @@ -8401,15 +8410,15 @@ "binop": null, "updateContext": null }, - "start": 1184, - "end": 1185, + "start": 1200, + "end": 1201, "loc": { "start": { - "line": 64, + "line": 65, "column": 20 }, "end": { - "line": 64, + "line": 65, "column": 21 } } @@ -8417,15 +8426,15 @@ { "type": "CommentBlock", "value": "*\n * Index of the day in the list of Tzolkin' days\n * @type {number}\n ", - "start": 1191, - "end": 1277, + "start": 1207, + "end": 1293, "loc": { "start": { - "line": 66, + "line": 67, "column": 4 }, "end": { - "line": 69, + "line": 70, "column": 7 } } @@ -8445,15 +8454,15 @@ "updateContext": null }, "value": "this", - "start": 1282, - "end": 1286, + "start": 1298, + "end": 1302, "loc": { "start": { - "line": 70, + "line": 71, "column": 4 }, "end": { - "line": 70, + "line": 71, "column": 8 } } @@ -8471,15 +8480,15 @@ "binop": null, "updateContext": null }, - "start": 1286, - "end": 1287, + "start": 1302, + "end": 1303, "loc": { "start": { - "line": 70, + "line": 71, "column": 8 }, "end": { - "line": 70, + "line": 71, "column": 9 } } @@ -8497,15 +8506,15 @@ "binop": null }, "value": "day_position", - "start": 1287, - "end": 1299, + "start": 1303, + "end": 1315, "loc": { "start": { - "line": 70, + "line": 71, "column": 9 }, "end": { - "line": 70, + "line": 71, "column": 21 } } @@ -8524,15 +8533,15 @@ "updateContext": null }, "value": "=", - "start": 1300, - "end": 1301, + "start": 1316, + "end": 1317, "loc": { "start": { - "line": 70, + "line": 71, "column": 22 }, "end": { - "line": 70, + "line": 71, "column": 23 } } @@ -8550,15 +8559,15 @@ "binop": null }, "value": "days", - "start": 1302, - "end": 1306, + "start": 1318, + "end": 1322, "loc": { "start": { - "line": 70, + "line": 71, "column": 24 }, "end": { - "line": 70, + "line": 71, "column": 28 } } @@ -8576,15 +8585,15 @@ "binop": null, "updateContext": null }, - "start": 1306, - "end": 1307, + "start": 1322, + "end": 1323, "loc": { "start": { - "line": 70, + "line": 71, "column": 28 }, "end": { - "line": 70, + "line": 71, "column": 29 } } @@ -8602,15 +8611,15 @@ "binop": null }, "value": "findIndex", - "start": 1307, - "end": 1316, + "start": 1323, + "end": 1332, "loc": { "start": { - "line": 70, + "line": 71, "column": 29 }, "end": { - "line": 70, + "line": 71, "column": 38 } } @@ -8627,15 +8636,15 @@ "postfix": false, "binop": null }, - "start": 1316, - "end": 1317, + "start": 1332, + "end": 1333, "loc": { "start": { - "line": 70, + "line": 71, "column": 38 }, "end": { - "line": 70, + "line": 71, "column": 39 } } @@ -8652,15 +8661,15 @@ "postfix": false, "binop": null }, - "start": 1324, - "end": 1325, + "start": 1340, + "end": 1341, "loc": { "start": { - "line": 71, + "line": 72, "column": 6 }, "end": { - "line": 71, + "line": 72, "column": 7 } } @@ -8678,15 +8687,15 @@ "binop": null }, "value": "d", - "start": 1325, - "end": 1326, + "start": 1341, + "end": 1342, "loc": { "start": { - "line": 71, + "line": 72, "column": 7 }, "end": { - "line": 71, + "line": 72, "column": 8 } } @@ -8703,15 +8712,15 @@ "postfix": false, "binop": null }, - "start": 1326, - "end": 1327, + "start": 1342, + "end": 1343, "loc": { "start": { - "line": 71, + "line": 72, "column": 8 }, "end": { - "line": 71, + "line": 72, "column": 9 } } @@ -8729,15 +8738,15 @@ "binop": null, "updateContext": null }, - "start": 1328, - "end": 1330, + "start": 1344, + "end": 1346, "loc": { "start": { - "line": 71, + "line": 72, "column": 10 }, "end": { - "line": 71, + "line": 72, "column": 12 } } @@ -8755,15 +8764,15 @@ "binop": null }, "value": "d", - "start": 1331, - "end": 1332, + "start": 1347, + "end": 1348, "loc": { "start": { - "line": 71, + "line": 72, "column": 13 }, "end": { - "line": 71, + "line": 72, "column": 14 } } @@ -8782,15 +8791,15 @@ "updateContext": null }, "value": "===", - "start": 1333, - "end": 1336, + "start": 1349, + "end": 1352, "loc": { "start": { - "line": 71, + "line": 72, "column": 15 }, "end": { - "line": 71, + "line": 72, "column": 18 } } @@ -8810,15 +8819,15 @@ "updateContext": null }, "value": "this", - "start": 1337, - "end": 1341, + "start": 1353, + "end": 1357, "loc": { "start": { - "line": 71, + "line": 72, "column": 19 }, "end": { - "line": 71, + "line": 72, "column": 23 } } @@ -8836,15 +8845,15 @@ "binop": null, "updateContext": null }, - "start": 1341, - "end": 1342, + "start": 1357, + "end": 1358, "loc": { "start": { - "line": 71, + "line": 72, "column": 23 }, "end": { - "line": 71, + "line": 72, "column": 24 } } @@ -8862,15 +8871,15 @@ "binop": null }, "value": "name", - "start": 1342, - "end": 1346, + "start": 1358, + "end": 1362, "loc": { "start": { - "line": 71, + "line": 72, "column": 24 }, "end": { - "line": 71, + "line": 72, "column": 28 } } @@ -8887,15 +8896,15 @@ "postfix": false, "binop": null }, - "start": 1351, - "end": 1352, + "start": 1367, + "end": 1368, "loc": { "start": { - "line": 72, + "line": 73, "column": 4 }, "end": { - "line": 72, + "line": 73, "column": 5 } } @@ -8913,15 +8922,15 @@ "binop": null, "updateContext": null }, - "start": 1352, - "end": 1353, + "start": 1368, + "end": 1369, "loc": { "start": { - "line": 72, + "line": 73, "column": 5 }, "end": { - "line": 72, + "line": 73, "column": 6 } } @@ -8929,15 +8938,15 @@ { "type": "CommentBlock", "value": "*\n * Lazy loaded instance of the next Tzolkin Day in the cycle\n * @type {TzolkinDay}\n ", - "start": 1359, - "end": 1461, + "start": 1375, + "end": 1477, "loc": { "start": { - "line": 74, + "line": 75, "column": 4 }, "end": { - "line": 77, + "line": 78, "column": 7 } } @@ -8957,15 +8966,15 @@ "updateContext": null }, "value": "this", - "start": 1466, - "end": 1470, + "start": 1482, + "end": 1486, "loc": { "start": { - "line": 78, + "line": 79, "column": 4 }, "end": { - "line": 78, + "line": 79, "column": 8 } } @@ -8983,15 +8992,15 @@ "binop": null, "updateContext": null }, - "start": 1470, - "end": 1471, + "start": 1486, + "end": 1487, "loc": { "start": { - "line": 78, + "line": 79, "column": 8 }, "end": { - "line": 78, + "line": 79, "column": 9 } } @@ -9009,15 +9018,15 @@ "binop": null }, "value": "private_next", - "start": 1471, - "end": 1483, + "start": 1487, + "end": 1499, "loc": { "start": { - "line": 78, + "line": 79, "column": 9 }, "end": { - "line": 78, + "line": 79, "column": 21 } } @@ -9036,15 +9045,15 @@ "updateContext": null }, "value": "=", - "start": 1484, - "end": 1485, + "start": 1500, + "end": 1501, "loc": { "start": { - "line": 78, + "line": 79, "column": 22 }, "end": { - "line": 78, + "line": 79, "column": 23 } } @@ -9062,15 +9071,15 @@ "binop": null }, "value": "undefined", - "start": 1486, - "end": 1495, + "start": 1502, + "end": 1511, "loc": { "start": { - "line": 78, + "line": 79, "column": 24 }, "end": { - "line": 78, + "line": 79, "column": 33 } } @@ -9088,15 +9097,15 @@ "binop": null, "updateContext": null }, - "start": 1495, - "end": 1496, + "start": 1511, + "end": 1512, "loc": { "start": { - "line": 78, + "line": 79, "column": 33 }, "end": { - "line": 78, + "line": 79, "column": 34 } } @@ -9113,15 +9122,15 @@ "postfix": false, "binop": null }, - "start": 1499, - "end": 1500, + "start": 1515, + "end": 1516, "loc": { "start": { - "line": 79, + "line": 80, "column": 2 }, "end": { - "line": 79, + "line": 80, "column": 3 } } @@ -9129,15 +9138,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Tzolk'in day name is defined and is within the list of\n * acceptable day names.\n ", - "start": 1504, - "end": 1611, + "start": 1520, + "end": 1627, "loc": { "start": { - "line": 81, + "line": 82, "column": 2 }, "end": { - "line": 84, + "line": 85, "column": 5 } } @@ -9155,15 +9164,15 @@ "binop": null }, "value": "validate", - "start": 1614, - "end": 1622, + "start": 1630, + "end": 1638, "loc": { "start": { - "line": 85, + "line": 86, "column": 2 }, "end": { - "line": 85, + "line": 86, "column": 10 } } @@ -9180,15 +9189,15 @@ "postfix": false, "binop": null }, - "start": 1622, - "end": 1623, + "start": 1638, + "end": 1639, "loc": { "start": { - "line": 85, + "line": 86, "column": 10 }, "end": { - "line": 85, + "line": 86, "column": 11 } } @@ -9205,15 +9214,15 @@ "postfix": false, "binop": null }, - "start": 1623, - "end": 1624, + "start": 1639, + "end": 1640, "loc": { "start": { - "line": 85, + "line": 86, "column": 11 }, "end": { - "line": 85, + "line": 86, "column": 12 } } @@ -9230,15 +9239,15 @@ "postfix": false, "binop": null }, - "start": 1625, - "end": 1626, + "start": 1641, + "end": 1642, "loc": { "start": { - "line": 85, + "line": 86, "column": 13 }, "end": { - "line": 85, + "line": 86, "column": 14 } } @@ -9258,15 +9267,15 @@ "updateContext": null }, "value": "if", - "start": 1631, - "end": 1633, + "start": 1647, + "end": 1649, "loc": { "start": { - "line": 86, + "line": 87, "column": 4 }, "end": { - "line": 86, + "line": 87, "column": 6 } } @@ -9283,15 +9292,15 @@ "postfix": false, "binop": null }, - "start": 1634, - "end": 1635, + "start": 1650, + "end": 1651, "loc": { "start": { - "line": 86, + "line": 87, "column": 7 }, "end": { - "line": 86, + "line": 87, "column": 8 } } @@ -9311,15 +9320,15 @@ "updateContext": null }, "value": "this", - "start": 1635, - "end": 1639, + "start": 1651, + "end": 1655, "loc": { "start": { - "line": 86, + "line": 87, "column": 8 }, "end": { - "line": 86, + "line": 87, "column": 12 } } @@ -9337,15 +9346,15 @@ "binop": null, "updateContext": null }, - "start": 1639, - "end": 1640, + "start": 1655, + "end": 1656, "loc": { "start": { - "line": 86, + "line": 87, "column": 12 }, "end": { - "line": 86, + "line": 87, "column": 13 } } @@ -9363,15 +9372,15 @@ "binop": null }, "value": "name", - "start": 1640, - "end": 1644, + "start": 1656, + "end": 1660, "loc": { "start": { - "line": 86, + "line": 87, "column": 13 }, "end": { - "line": 86, + "line": 87, "column": 17 } } @@ -9390,15 +9399,15 @@ "updateContext": null }, "value": "===", - "start": 1645, - "end": 1648, + "start": 1661, + "end": 1664, "loc": { "start": { - "line": 86, + "line": 87, "column": 18 }, "end": { - "line": 86, + "line": 87, "column": 21 } } @@ -9416,15 +9425,15 @@ "binop": null }, "value": "undefined", - "start": 1649, - "end": 1658, + "start": 1665, + "end": 1674, "loc": { "start": { - "line": 86, + "line": 87, "column": 22 }, "end": { - "line": 86, + "line": 87, "column": 31 } } @@ -9441,15 +9450,15 @@ "postfix": false, "binop": null }, - "start": 1658, - "end": 1659, + "start": 1674, + "end": 1675, "loc": { "start": { - "line": 86, + "line": 87, "column": 31 }, "end": { - "line": 86, + "line": 87, "column": 32 } } @@ -9466,15 +9475,15 @@ "postfix": false, "binop": null }, - "start": 1660, - "end": 1661, + "start": 1676, + "end": 1677, "loc": { "start": { - "line": 86, + "line": 87, "column": 33 }, "end": { - "line": 86, + "line": 87, "column": 34 } } @@ -9494,15 +9503,15 @@ "updateContext": null }, "value": "throw", - "start": 1668, - "end": 1673, + "start": 1684, + "end": 1689, "loc": { "start": { - "line": 87, + "line": 88, "column": 6 }, "end": { - "line": 87, + "line": 88, "column": 11 } } @@ -9522,15 +9531,15 @@ "updateContext": null }, "value": "new", - "start": 1674, - "end": 1677, + "start": 1690, + "end": 1693, "loc": { "start": { - "line": 87, + "line": 88, "column": 12 }, "end": { - "line": 87, + "line": 88, "column": 15 } } @@ -9548,15 +9557,15 @@ "binop": null }, "value": "Error", - "start": 1678, - "end": 1683, + "start": 1694, + "end": 1699, "loc": { "start": { - "line": 87, + "line": 88, "column": 16 }, "end": { - "line": 87, + "line": 88, "column": 21 } } @@ -9573,15 +9582,15 @@ "postfix": false, "binop": null }, - "start": 1683, - "end": 1684, + "start": 1699, + "end": 1700, "loc": { "start": { - "line": 87, + "line": 88, "column": 21 }, "end": { - "line": 87, + "line": 88, "column": 22 } } @@ -9600,15 +9609,15 @@ "updateContext": null }, "value": "Tzolk'in day name must be provided", - "start": 1684, - "end": 1721, + "start": 1700, + "end": 1737, "loc": { "start": { - "line": 87, + "line": 88, "column": 22 }, "end": { - "line": 87, + "line": 88, "column": 59 } } @@ -9625,15 +9634,15 @@ "postfix": false, "binop": null }, - "start": 1721, - "end": 1722, + "start": 1737, + "end": 1738, "loc": { "start": { - "line": 87, + "line": 88, "column": 59 }, "end": { - "line": 87, + "line": 88, "column": 60 } } @@ -9651,15 +9660,15 @@ "binop": null, "updateContext": null }, - "start": 1722, - "end": 1723, + "start": 1738, + "end": 1739, "loc": { "start": { - "line": 87, + "line": 88, "column": 60 }, "end": { - "line": 87, + "line": 88, "column": 61 } } @@ -9676,15 +9685,15 @@ "postfix": false, "binop": null }, - "start": 1728, - "end": 1729, + "start": 1744, + "end": 1745, "loc": { "start": { - "line": 88, + "line": 89, "column": 4 }, "end": { - "line": 88, + "line": 89, "column": 5 } } @@ -9704,15 +9713,15 @@ "updateContext": null }, "value": "if", - "start": 1734, - "end": 1736, + "start": 1750, + "end": 1752, "loc": { "start": { - "line": 89, + "line": 90, "column": 4 }, "end": { - "line": 89, + "line": 90, "column": 6 } } @@ -9729,15 +9738,15 @@ "postfix": false, "binop": null }, - "start": 1737, - "end": 1738, + "start": 1753, + "end": 1754, "loc": { "start": { - "line": 89, + "line": 90, "column": 7 }, "end": { - "line": 89, + "line": 90, "column": 8 } } @@ -9756,15 +9765,15 @@ "updateContext": null }, "value": "!", - "start": 1738, - "end": 1739, + "start": 1754, + "end": 1755, "loc": { "start": { - "line": 89, + "line": 90, "column": 8 }, "end": { - "line": 89, + "line": 90, "column": 9 } } @@ -9782,15 +9791,15 @@ "binop": null }, "value": "days", - "start": 1739, - "end": 1743, + "start": 1755, + "end": 1759, "loc": { "start": { - "line": 89, + "line": 90, "column": 9 }, "end": { - "line": 89, + "line": 90, "column": 13 } } @@ -9808,15 +9817,15 @@ "binop": null, "updateContext": null }, - "start": 1743, - "end": 1744, + "start": 1759, + "end": 1760, "loc": { "start": { - "line": 89, + "line": 90, "column": 13 }, "end": { - "line": 89, + "line": 90, "column": 14 } } @@ -9834,15 +9843,15 @@ "binop": null }, "value": "includes", - "start": 1744, - "end": 1752, + "start": 1760, + "end": 1768, "loc": { "start": { - "line": 89, + "line": 90, "column": 14 }, "end": { - "line": 89, + "line": 90, "column": 22 } } @@ -9859,15 +9868,15 @@ "postfix": false, "binop": null }, - "start": 1752, - "end": 1753, + "start": 1768, + "end": 1769, "loc": { "start": { - "line": 89, + "line": 90, "column": 22 }, "end": { - "line": 89, + "line": 90, "column": 23 } } @@ -9887,15 +9896,15 @@ "updateContext": null }, "value": "this", - "start": 1753, - "end": 1757, + "start": 1769, + "end": 1773, "loc": { "start": { - "line": 89, + "line": 90, "column": 23 }, "end": { - "line": 89, + "line": 90, "column": 27 } } @@ -9913,15 +9922,15 @@ "binop": null, "updateContext": null }, - "start": 1757, - "end": 1758, + "start": 1773, + "end": 1774, "loc": { "start": { - "line": 89, + "line": 90, "column": 27 }, "end": { - "line": 89, + "line": 90, "column": 28 } } @@ -9939,15 +9948,15 @@ "binop": null }, "value": "name", - "start": 1758, - "end": 1762, + "start": 1774, + "end": 1778, "loc": { "start": { - "line": 89, + "line": 90, "column": 28 }, "end": { - "line": 89, + "line": 90, "column": 32 } } @@ -9964,15 +9973,15 @@ "postfix": false, "binop": null }, - "start": 1762, - "end": 1763, + "start": 1778, + "end": 1779, "loc": { "start": { - "line": 89, + "line": 90, "column": 32 }, "end": { - "line": 89, + "line": 90, "column": 33 } } @@ -9989,15 +9998,15 @@ "postfix": false, "binop": null }, - "start": 1763, - "end": 1764, + "start": 1779, + "end": 1780, "loc": { "start": { - "line": 89, + "line": 90, "column": 33 }, "end": { - "line": 89, + "line": 90, "column": 34 } } @@ -10014,15 +10023,15 @@ "postfix": false, "binop": null }, - "start": 1765, - "end": 1766, + "start": 1781, + "end": 1782, "loc": { "start": { - "line": 89, + "line": 90, "column": 35 }, "end": { - "line": 89, + "line": 90, "column": 36 } } @@ -10042,15 +10051,15 @@ "updateContext": null }, "value": "throw", - "start": 1773, - "end": 1778, + "start": 1789, + "end": 1794, "loc": { "start": { - "line": 90, + "line": 91, "column": 6 }, "end": { - "line": 90, + "line": 91, "column": 11 } } @@ -10070,15 +10079,15 @@ "updateContext": null }, "value": "new", - "start": 1779, - "end": 1782, + "start": 1795, + "end": 1798, "loc": { "start": { - "line": 90, + "line": 91, "column": 12 }, "end": { - "line": 90, + "line": 91, "column": 15 } } @@ -10096,15 +10105,15 @@ "binop": null }, "value": "Error", - "start": 1783, - "end": 1788, + "start": 1799, + "end": 1804, "loc": { "start": { - "line": 90, + "line": 91, "column": 16 }, "end": { - "line": 90, + "line": 91, "column": 21 } } @@ -10121,15 +10130,15 @@ "postfix": false, "binop": null }, - "start": 1788, - "end": 1789, + "start": 1804, + "end": 1805, "loc": { "start": { - "line": 90, + "line": 91, "column": 21 }, "end": { - "line": 90, + "line": 91, "column": 22 } } @@ -10146,15 +10155,15 @@ "postfix": false, "binop": null }, - "start": 1789, - "end": 1790, + "start": 1805, + "end": 1806, "loc": { "start": { - "line": 90, + "line": 91, "column": 22 }, "end": { - "line": 90, + "line": 91, "column": 23 } } @@ -10173,15 +10182,15 @@ "updateContext": null }, "value": "Tzolk'in day (", - "start": 1790, - "end": 1804, + "start": 1806, + "end": 1820, "loc": { "start": { - "line": 90, + "line": 91, "column": 23 }, "end": { - "line": 90, + "line": 91, "column": 37 } } @@ -10198,15 +10207,15 @@ "postfix": false, "binop": null }, - "start": 1804, - "end": 1806, + "start": 1820, + "end": 1822, "loc": { "start": { - "line": 90, + "line": 91, "column": 37 }, "end": { - "line": 90, + "line": 91, "column": 39 } } @@ -10226,15 +10235,15 @@ "updateContext": null }, "value": "this", - "start": 1806, - "end": 1810, + "start": 1822, + "end": 1826, "loc": { "start": { - "line": 90, + "line": 91, "column": 39 }, "end": { - "line": 90, + "line": 91, "column": 43 } } @@ -10252,15 +10261,15 @@ "binop": null, "updateContext": null }, - "start": 1810, - "end": 1811, + "start": 1826, + "end": 1827, "loc": { "start": { - "line": 90, + "line": 91, "column": 43 }, "end": { - "line": 90, + "line": 91, "column": 44 } } @@ -10278,15 +10287,15 @@ "binop": null }, "value": "name", - "start": 1811, - "end": 1815, + "start": 1827, + "end": 1831, "loc": { "start": { - "line": 90, + "line": 91, "column": 44 }, "end": { - "line": 90, + "line": 91, "column": 48 } } @@ -10303,15 +10312,15 @@ "postfix": false, "binop": null }, - "start": 1815, - "end": 1816, + "start": 1831, + "end": 1832, "loc": { "start": { - "line": 90, + "line": 91, "column": 48 }, "end": { - "line": 90, + "line": 91, "column": 49 } } @@ -10330,15 +10339,15 @@ "updateContext": null }, "value": ") must be in ", - "start": 1816, - "end": 1829, + "start": 1832, + "end": 1845, "loc": { "start": { - "line": 90, + "line": 91, "column": 49 }, "end": { - "line": 90, + "line": 91, "column": 62 } } @@ -10355,15 +10364,15 @@ "postfix": false, "binop": null }, - "start": 1829, - "end": 1831, + "start": 1845, + "end": 1847, "loc": { "start": { - "line": 90, + "line": 91, "column": 62 }, "end": { - "line": 90, + "line": 91, "column": 64 } } @@ -10381,15 +10390,15 @@ "binop": null }, "value": "days", - "start": 1831, - "end": 1835, + "start": 1847, + "end": 1851, "loc": { "start": { - "line": 90, + "line": 91, "column": 64 }, "end": { - "line": 90, + "line": 91, "column": 68 } } @@ -10406,15 +10415,15 @@ "postfix": false, "binop": null }, - "start": 1835, - "end": 1836, + "start": 1851, + "end": 1852, "loc": { "start": { - "line": 90, + "line": 91, "column": 68 }, "end": { - "line": 90, + "line": 91, "column": 69 } } @@ -10433,15 +10442,15 @@ "updateContext": null }, "value": "", - "start": 1836, - "end": 1836, + "start": 1852, + "end": 1852, "loc": { "start": { - "line": 90, + "line": 91, "column": 69 }, "end": { - "line": 90, + "line": 91, "column": 69 } } @@ -10458,15 +10467,15 @@ "postfix": false, "binop": null }, - "start": 1836, - "end": 1837, + "start": 1852, + "end": 1853, "loc": { "start": { - "line": 90, + "line": 91, "column": 69 }, "end": { - "line": 90, + "line": 91, "column": 70 } } @@ -10483,15 +10492,15 @@ "postfix": false, "binop": null }, - "start": 1837, - "end": 1838, + "start": 1853, + "end": 1854, "loc": { "start": { - "line": 90, + "line": 91, "column": 70 }, "end": { - "line": 90, + "line": 91, "column": 71 } } @@ -10509,15 +10518,15 @@ "binop": null, "updateContext": null }, - "start": 1838, - "end": 1839, + "start": 1854, + "end": 1855, "loc": { "start": { - "line": 90, + "line": 91, "column": 71 }, "end": { - "line": 90, + "line": 91, "column": 72 } } @@ -10534,15 +10543,15 @@ "postfix": false, "binop": null }, - "start": 1844, - "end": 1845, + "start": 1860, + "end": 1861, "loc": { "start": { - "line": 91, + "line": 92, "column": 4 }, "end": { - "line": 91, + "line": 92, "column": 5 } } @@ -10559,15 +10568,15 @@ "postfix": false, "binop": null }, - "start": 1848, - "end": 1849, + "start": 1864, + "end": 1865, "loc": { "start": { - "line": 92, + "line": 93, "column": 2 }, "end": { - "line": 92, + "line": 93, "column": 3 } } @@ -10575,15 +10584,15 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the 260-day cycle\n * @returns {TzolkinDay}\n ", - "start": 1853, - "end": 1935, + "start": 1869, + "end": 1951, "loc": { "start": { - "line": 94, + "line": 95, "column": 2 }, "end": { - "line": 97, + "line": 98, "column": 5 } } @@ -10601,15 +10610,15 @@ "binop": null }, "value": "next", - "start": 1938, - "end": 1942, + "start": 1954, + "end": 1958, "loc": { "start": { - "line": 98, + "line": 99, "column": 2 }, "end": { - "line": 98, + "line": 99, "column": 6 } } @@ -10626,15 +10635,15 @@ "postfix": false, "binop": null }, - "start": 1942, - "end": 1943, + "start": 1958, + "end": 1959, "loc": { "start": { - "line": 98, + "line": 99, "column": 6 }, "end": { - "line": 98, + "line": 99, "column": 7 } } @@ -10651,15 +10660,15 @@ "postfix": false, "binop": null }, - "start": 1943, - "end": 1944, + "start": 1959, + "end": 1960, "loc": { "start": { - "line": 98, + "line": 99, "column": 7 }, "end": { - "line": 98, + "line": 99, "column": 8 } } @@ -10676,15 +10685,15 @@ "postfix": false, "binop": null }, - "start": 1945, - "end": 1946, + "start": 1961, + "end": 1962, "loc": { "start": { - "line": 98, + "line": 99, "column": 9 }, "end": { - "line": 98, + "line": 99, "column": 10 } } @@ -10704,15 +10713,15 @@ "updateContext": null }, "value": "return", - "start": 1951, - "end": 1957, + "start": 1967, + "end": 1973, "loc": { "start": { - "line": 99, + "line": 100, "column": 4 }, "end": { - "line": 99, + "line": 100, "column": 10 } } @@ -10732,15 +10741,15 @@ "updateContext": null }, "value": "this", - "start": 1958, - "end": 1962, + "start": 1974, + "end": 1978, "loc": { "start": { - "line": 99, + "line": 100, "column": 11 }, "end": { - "line": 99, + "line": 100, "column": 15 } } @@ -10758,15 +10767,15 @@ "binop": null, "updateContext": null }, - "start": 1962, - "end": 1963, + "start": 1978, + "end": 1979, "loc": { "start": { - "line": 99, + "line": 100, "column": 15 }, "end": { - "line": 99, + "line": 100, "column": 16 } } @@ -10784,15 +10793,15 @@ "binop": null }, "value": "shift", - "start": 1963, - "end": 1968, + "start": 1979, + "end": 1984, "loc": { "start": { - "line": 99, + "line": 100, "column": 16 }, "end": { - "line": 99, + "line": 100, "column": 21 } } @@ -10809,15 +10818,15 @@ "postfix": false, "binop": null }, - "start": 1968, - "end": 1969, + "start": 1984, + "end": 1985, "loc": { "start": { - "line": 99, + "line": 100, "column": 21 }, "end": { - "line": 99, + "line": 100, "column": 22 } } @@ -10836,15 +10845,15 @@ "updateContext": null }, "value": 1, - "start": 1969, - "end": 1970, + "start": 1985, + "end": 1986, "loc": { "start": { - "line": 99, + "line": 100, "column": 22 }, "end": { - "line": 99, + "line": 100, "column": 23 } } @@ -10861,15 +10870,15 @@ "postfix": false, "binop": null }, - "start": 1970, - "end": 1971, + "start": 1986, + "end": 1987, "loc": { "start": { - "line": 99, + "line": 100, "column": 23 }, "end": { - "line": 99, + "line": 100, "column": 24 } } @@ -10887,15 +10896,15 @@ "binop": null, "updateContext": null }, - "start": 1971, - "end": 1972, + "start": 1987, + "end": 1988, "loc": { "start": { - "line": 99, + "line": 100, "column": 24 }, "end": { - "line": 99, + "line": 100, "column": 25 } } @@ -10912,15 +10921,15 @@ "postfix": false, "binop": null }, - "start": 1975, - "end": 1976, + "start": 1991, + "end": 1992, "loc": { "start": { - "line": 100, + "line": 101, "column": 2 }, "end": { - "line": 100, + "line": 101, "column": 3 } } @@ -10928,15 +10937,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {number} incremental\n ", - "start": 1980, - "end": 2027, + "start": 1996, + "end": 2043, "loc": { "start": { - "line": 102, + "line": 103, "column": 2 }, "end": { - "line": 105, + "line": 106, "column": 5 } } @@ -10954,15 +10963,15 @@ "binop": null }, "value": "shift", - "start": 2030, - "end": 2035, + "start": 2046, + "end": 2051, "loc": { "start": { - "line": 106, + "line": 107, "column": 2 }, "end": { - "line": 106, + "line": 107, "column": 7 } } @@ -10979,15 +10988,15 @@ "postfix": false, "binop": null }, - "start": 2035, - "end": 2036, + "start": 2051, + "end": 2052, "loc": { "start": { - "line": 106, + "line": 107, "column": 7 }, "end": { - "line": 106, + "line": 107, "column": 8 } } @@ -11005,15 +11014,15 @@ "binop": null }, "value": "incremental", - "start": 2036, - "end": 2047, + "start": 2052, + "end": 2063, "loc": { "start": { - "line": 106, + "line": 107, "column": 8 }, "end": { - "line": 106, + "line": 107, "column": 19 } } @@ -11030,15 +11039,15 @@ "postfix": false, "binop": null }, - "start": 2047, - "end": 2048, + "start": 2063, + "end": 2064, "loc": { "start": { - "line": 106, + "line": 107, "column": 19 }, "end": { - "line": 106, + "line": 107, "column": 20 } } @@ -11055,15 +11064,15 @@ "postfix": false, "binop": null }, - "start": 2049, - "end": 2050, + "start": 2065, + "end": 2066, "loc": { "start": { - "line": 106, + "line": 107, "column": 21 }, "end": { - "line": 106, + "line": 107, "column": 22 } } @@ -11083,15 +11092,15 @@ "updateContext": null }, "value": "if", - "start": 2055, - "end": 2057, + "start": 2071, + "end": 2073, "loc": { "start": { - "line": 107, + "line": 108, "column": 4 }, "end": { - "line": 107, + "line": 108, "column": 6 } } @@ -11108,15 +11117,15 @@ "postfix": false, "binop": null }, - "start": 2058, - "end": 2059, + "start": 2074, + "end": 2075, "loc": { "start": { - "line": 107, + "line": 108, "column": 7 }, "end": { - "line": 107, + "line": 108, "column": 8 } } @@ -11134,15 +11143,15 @@ "binop": null }, "value": "incremental", - "start": 2059, - "end": 2070, + "start": 2075, + "end": 2086, "loc": { "start": { - "line": 107, + "line": 108, "column": 8 }, "end": { - "line": 107, + "line": 108, "column": 19 } } @@ -11161,15 +11170,15 @@ "updateContext": null }, "value": "===", - "start": 2071, - "end": 2074, + "start": 2087, + "end": 2090, "loc": { "start": { - "line": 107, + "line": 108, "column": 20 }, "end": { - "line": 107, + "line": 108, "column": 23 } } @@ -11188,15 +11197,15 @@ "updateContext": null }, "value": 0, - "start": 2075, - "end": 2076, + "start": 2091, + "end": 2092, "loc": { "start": { - "line": 107, + "line": 108, "column": 24 }, "end": { - "line": 107, + "line": 108, "column": 25 } } @@ -11213,15 +11222,15 @@ "postfix": false, "binop": null }, - "start": 2076, - "end": 2077, + "start": 2092, + "end": 2093, "loc": { "start": { - "line": 107, + "line": 108, "column": 25 }, "end": { - "line": 107, + "line": 108, "column": 26 } } @@ -11238,15 +11247,15 @@ "postfix": false, "binop": null }, - "start": 2078, - "end": 2079, + "start": 2094, + "end": 2095, "loc": { "start": { - "line": 107, + "line": 108, "column": 27 }, "end": { - "line": 107, + "line": 108, "column": 28 } } @@ -11266,15 +11275,15 @@ "updateContext": null }, "value": "return", - "start": 2086, - "end": 2092, + "start": 2102, + "end": 2108, "loc": { "start": { - "line": 108, + "line": 109, "column": 6 }, "end": { - "line": 108, + "line": 109, "column": 12 } } @@ -11294,15 +11303,15 @@ "updateContext": null }, "value": "this", - "start": 2093, - "end": 2097, + "start": 2109, + "end": 2113, "loc": { "start": { - "line": 108, + "line": 109, "column": 13 }, "end": { - "line": 108, + "line": 109, "column": 17 } } @@ -11320,15 +11329,15 @@ "binop": null, "updateContext": null }, - "start": 2097, - "end": 2098, + "start": 2113, + "end": 2114, "loc": { "start": { - "line": 108, + "line": 109, "column": 17 }, "end": { - "line": 108, + "line": 109, "column": 18 } } @@ -11345,15 +11354,15 @@ "postfix": false, "binop": null }, - "start": 2103, - "end": 2104, + "start": 2119, + "end": 2120, "loc": { "start": { - "line": 109, + "line": 110, "column": 4 }, "end": { - "line": 109, + "line": 110, "column": 5 } } @@ -11373,15 +11382,15 @@ "updateContext": null }, "value": "if", - "start": 2109, - "end": 2111, + "start": 2125, + "end": 2127, "loc": { "start": { - "line": 110, + "line": 111, "column": 4 }, "end": { - "line": 110, + "line": 111, "column": 6 } } @@ -11398,15 +11407,15 @@ "postfix": false, "binop": null }, - "start": 2112, - "end": 2113, + "start": 2128, + "end": 2129, "loc": { "start": { - "line": 110, + "line": 111, "column": 7 }, "end": { - "line": 110, + "line": 111, "column": 8 } } @@ -11426,15 +11435,15 @@ "updateContext": null }, "value": "this", - "start": 2113, - "end": 2117, + "start": 2129, + "end": 2133, "loc": { "start": { - "line": 110, + "line": 111, "column": 8 }, "end": { - "line": 110, + "line": 111, "column": 12 } } @@ -11452,15 +11461,15 @@ "binop": null, "updateContext": null }, - "start": 2117, - "end": 2118, + "start": 2133, + "end": 2134, "loc": { "start": { - "line": 110, + "line": 111, "column": 12 }, "end": { - "line": 110, + "line": 111, "column": 13 } } @@ -11478,15 +11487,15 @@ "binop": null }, "value": "private_next", - "start": 2118, - "end": 2130, + "start": 2134, + "end": 2146, "loc": { "start": { - "line": 110, + "line": 111, "column": 13 }, "end": { - "line": 110, + "line": 111, "column": 25 } } @@ -11505,15 +11514,15 @@ "updateContext": null }, "value": "===", - "start": 2131, - "end": 2134, + "start": 2147, + "end": 2150, "loc": { "start": { - "line": 110, + "line": 111, "column": 26 }, "end": { - "line": 110, + "line": 111, "column": 29 } } @@ -11531,15 +11540,15 @@ "binop": null }, "value": "undefined", - "start": 2135, - "end": 2144, + "start": 2151, + "end": 2160, "loc": { "start": { - "line": 110, + "line": 111, "column": 30 }, "end": { - "line": 110, + "line": 111, "column": 39 } } @@ -11556,15 +11565,15 @@ "postfix": false, "binop": null }, - "start": 2144, - "end": 2145, + "start": 2160, + "end": 2161, "loc": { "start": { - "line": 110, + "line": 111, "column": 39 }, "end": { - "line": 110, + "line": 111, "column": 40 } } @@ -11581,15 +11590,15 @@ "postfix": false, "binop": null }, - "start": 2146, - "end": 2147, + "start": 2162, + "end": 2163, "loc": { "start": { - "line": 110, + "line": 111, "column": 41 }, "end": { - "line": 110, + "line": 111, "column": 42 } } @@ -11609,15 +11618,15 @@ "updateContext": null }, "value": "let", - "start": 2154, - "end": 2157, + "start": 2170, + "end": 2173, "loc": { "start": { - "line": 111, + "line": 112, "column": 6 }, "end": { - "line": 111, + "line": 112, "column": 9 } } @@ -11635,15 +11644,15 @@ "binop": null }, "value": "newIncremental", - "start": 2158, - "end": 2172, + "start": 2174, + "end": 2188, "loc": { "start": { - "line": 111, + "line": 112, "column": 10 }, "end": { - "line": 111, + "line": 112, "column": 24 } } @@ -11662,15 +11671,15 @@ "updateContext": null }, "value": "=", - "start": 2173, - "end": 2174, + "start": 2189, + "end": 2190, "loc": { "start": { - "line": 111, + "line": 112, "column": 25 }, "end": { - "line": 111, + "line": 112, "column": 26 } } @@ -11687,15 +11696,15 @@ "postfix": false, "binop": null }, - "start": 2175, - "end": 2176, + "start": 2191, + "end": 2192, "loc": { "start": { - "line": 111, + "line": 112, "column": 27 }, "end": { - "line": 111, + "line": 112, "column": 28 } } @@ -11715,15 +11724,15 @@ "updateContext": null }, "value": "this", - "start": 2176, - "end": 2180, + "start": 2192, + "end": 2196, "loc": { "start": { - "line": 111, + "line": 112, "column": 28 }, "end": { - "line": 111, + "line": 112, "column": 32 } } @@ -11741,15 +11750,15 @@ "binop": null, "updateContext": null }, - "start": 2180, - "end": 2181, + "start": 2196, + "end": 2197, "loc": { "start": { - "line": 111, + "line": 112, "column": 32 }, "end": { - "line": 111, + "line": 112, "column": 33 } } @@ -11767,15 +11776,15 @@ "binop": null }, "value": "day_position", - "start": 2181, - "end": 2193, + "start": 2197, + "end": 2209, "loc": { "start": { - "line": 111, + "line": 112, "column": 33 }, "end": { - "line": 111, + "line": 112, "column": 45 } } @@ -11794,15 +11803,15 @@ "updateContext": null }, "value": "+", - "start": 2194, - "end": 2195, + "start": 2210, + "end": 2211, "loc": { "start": { - "line": 111, + "line": 112, "column": 46 }, "end": { - "line": 111, + "line": 112, "column": 47 } } @@ -11821,15 +11830,15 @@ "updateContext": null }, "value": 1, - "start": 2196, - "end": 2197, + "start": 2212, + "end": 2213, "loc": { "start": { - "line": 111, + "line": 112, "column": 48 }, "end": { - "line": 111, + "line": 112, "column": 49 } } @@ -11846,15 +11855,15 @@ "postfix": false, "binop": null }, - "start": 2197, - "end": 2198, + "start": 2213, + "end": 2214, "loc": { "start": { - "line": 111, + "line": 112, "column": 49 }, "end": { - "line": 111, + "line": 112, "column": 50 } } @@ -11873,15 +11882,15 @@ "updateContext": null }, "value": "%", - "start": 2199, - "end": 2200, + "start": 2215, + "end": 2216, "loc": { "start": { - "line": 111, + "line": 112, "column": 51 }, "end": { - "line": 111, + "line": 112, "column": 52 } } @@ -11900,15 +11909,15 @@ "updateContext": null }, "value": 20, - "start": 2201, - "end": 2203, + "start": 2217, + "end": 2219, "loc": { "start": { - "line": 111, + "line": 112, "column": 53 }, "end": { - "line": 111, + "line": 112, "column": 55 } } @@ -11926,15 +11935,15 @@ "binop": null, "updateContext": null }, - "start": 2203, - "end": 2204, + "start": 2219, + "end": 2220, "loc": { "start": { - "line": 111, + "line": 112, "column": 55 }, "end": { - "line": 111, + "line": 112, "column": 56 } } @@ -11952,15 +11961,15 @@ "binop": null }, "value": "newIncremental", - "start": 2211, - "end": 2225, + "start": 2227, + "end": 2241, "loc": { "start": { - "line": 112, + "line": 113, "column": 6 }, "end": { - "line": 112, + "line": 113, "column": 20 } } @@ -11979,15 +11988,15 @@ "updateContext": null }, "value": "=", - "start": 2226, - "end": 2227, + "start": 2242, + "end": 2243, "loc": { "start": { - "line": 112, + "line": 113, "column": 21 }, "end": { - "line": 112, + "line": 113, "column": 22 } } @@ -12004,15 +12013,15 @@ "postfix": false, "binop": null }, - "start": 2228, - "end": 2229, + "start": 2244, + "end": 2245, "loc": { "start": { - "line": 112, + "line": 113, "column": 23 }, "end": { - "line": 112, + "line": 113, "column": 24 } } @@ -12030,15 +12039,15 @@ "binop": null }, "value": "newIncremental", - "start": 2229, - "end": 2243, + "start": 2245, + "end": 2259, "loc": { "start": { - "line": 112, + "line": 113, "column": 24 }, "end": { - "line": 112, + "line": 113, "column": 38 } } @@ -12057,15 +12066,15 @@ "updateContext": null }, "value": "===", - "start": 2244, - "end": 2247, + "start": 2260, + "end": 2263, "loc": { "start": { - "line": 112, + "line": 113, "column": 39 }, "end": { - "line": 112, + "line": 113, "column": 42 } } @@ -12084,15 +12093,15 @@ "updateContext": null }, "value": 0, - "start": 2248, - "end": 2249, + "start": 2264, + "end": 2265, "loc": { "start": { - "line": 112, + "line": 113, "column": 43 }, "end": { - "line": 112, + "line": 113, "column": 44 } } @@ -12109,15 +12118,15 @@ "postfix": false, "binop": null }, - "start": 2249, - "end": 2250, + "start": 2265, + "end": 2266, "loc": { "start": { - "line": 112, + "line": 113, "column": 44 }, "end": { - "line": 112, + "line": 113, "column": 45 } } @@ -12135,15 +12144,15 @@ "binop": null, "updateContext": null }, - "start": 2251, - "end": 2252, + "start": 2267, + "end": 2268, "loc": { "start": { - "line": 112, + "line": 113, "column": 46 }, "end": { - "line": 112, + "line": 113, "column": 47 } } @@ -12162,15 +12171,15 @@ "updateContext": null }, "value": 20, - "start": 2253, - "end": 2255, + "start": 2269, + "end": 2271, "loc": { "start": { - "line": 112, + "line": 113, "column": 48 }, "end": { - "line": 112, + "line": 113, "column": 50 } } @@ -12188,15 +12197,15 @@ "binop": null, "updateContext": null }, - "start": 2256, - "end": 2257, + "start": 2272, + "end": 2273, "loc": { "start": { - "line": 112, + "line": 113, "column": 51 }, "end": { - "line": 112, + "line": 113, "column": 52 } } @@ -12214,15 +12223,15 @@ "binop": null }, "value": "newIncremental", - "start": 2258, - "end": 2272, + "start": 2274, + "end": 2288, "loc": { "start": { - "line": 112, + "line": 113, "column": 53 }, "end": { - "line": 112, + "line": 113, "column": 67 } } @@ -12240,15 +12249,15 @@ "binop": null, "updateContext": null }, - "start": 2272, - "end": 2273, + "start": 2288, + "end": 2289, "loc": { "start": { - "line": 112, + "line": 113, "column": 67 }, "end": { - "line": 112, + "line": 113, "column": 68 } } @@ -12268,15 +12277,15 @@ "updateContext": null }, "value": "this", - "start": 2280, - "end": 2284, + "start": 2296, + "end": 2300, "loc": { "start": { - "line": 113, + "line": 114, "column": 6 }, "end": { - "line": 113, + "line": 114, "column": 10 } } @@ -12294,15 +12303,15 @@ "binop": null, "updateContext": null }, - "start": 2284, - "end": 2285, + "start": 2300, + "end": 2301, "loc": { "start": { - "line": 113, + "line": 114, "column": 10 }, "end": { - "line": 113, + "line": 114, "column": 11 } } @@ -12320,15 +12329,15 @@ "binop": null }, "value": "private_next", - "start": 2285, - "end": 2297, + "start": 2301, + "end": 2313, "loc": { "start": { - "line": 113, + "line": 114, "column": 11 }, "end": { - "line": 113, + "line": 114, "column": 23 } } @@ -12347,15 +12356,15 @@ "updateContext": null }, "value": "=", - "start": 2298, - "end": 2299, + "start": 2314, + "end": 2315, "loc": { "start": { - "line": 113, + "line": 114, "column": 24 }, "end": { - "line": 113, + "line": 114, "column": 25 } } @@ -12373,15 +12382,15 @@ "binop": null }, "value": "getTzolkinDay", - "start": 2300, - "end": 2313, + "start": 2316, + "end": 2329, "loc": { "start": { - "line": 113, + "line": 114, "column": 26 }, "end": { - "line": 113, + "line": 114, "column": 39 } } @@ -12398,15 +12407,15 @@ "postfix": false, "binop": null }, - "start": 2313, - "end": 2314, + "start": 2329, + "end": 2330, "loc": { "start": { - "line": 113, + "line": 114, "column": 39 }, "end": { - "line": 113, + "line": 114, "column": 40 } } @@ -12424,15 +12433,15 @@ "binop": null }, "value": "newIncremental", - "start": 2314, - "end": 2328, + "start": 2330, + "end": 2344, "loc": { "start": { - "line": 113, + "line": 114, "column": 40 }, "end": { - "line": 113, + "line": 114, "column": 54 } } @@ -12449,15 +12458,15 @@ "postfix": false, "binop": null }, - "start": 2328, - "end": 2329, + "start": 2344, + "end": 2345, "loc": { "start": { - "line": 113, + "line": 114, "column": 54 }, "end": { - "line": 113, + "line": 114, "column": 55 } } @@ -12475,15 +12484,15 @@ "binop": null, "updateContext": null }, - "start": 2329, - "end": 2330, + "start": 2345, + "end": 2346, "loc": { "start": { - "line": 113, + "line": 114, "column": 55 }, "end": { - "line": 113, + "line": 114, "column": 56 } } @@ -12500,15 +12509,15 @@ "postfix": false, "binop": null }, - "start": 2335, - "end": 2336, + "start": 2351, + "end": 2352, "loc": { "start": { - "line": 114, + "line": 115, "column": 4 }, "end": { - "line": 114, + "line": 115, "column": 5 } } @@ -12528,15 +12537,15 @@ "updateContext": null }, "value": "return", - "start": 2341, - "end": 2347, + "start": 2357, + "end": 2363, "loc": { "start": { - "line": 115, + "line": 116, "column": 4 }, "end": { - "line": 115, + "line": 116, "column": 10 } } @@ -12556,15 +12565,15 @@ "updateContext": null }, "value": "this", - "start": 2348, - "end": 2352, + "start": 2364, + "end": 2368, "loc": { "start": { - "line": 115, + "line": 116, "column": 11 }, "end": { - "line": 115, + "line": 116, "column": 15 } } @@ -12582,15 +12591,15 @@ "binop": null, "updateContext": null }, - "start": 2352, - "end": 2353, + "start": 2368, + "end": 2369, "loc": { "start": { - "line": 115, + "line": 116, "column": 15 }, "end": { - "line": 115, + "line": 116, "column": 16 } } @@ -12608,15 +12617,15 @@ "binop": null }, "value": "private_next", - "start": 2353, - "end": 2365, + "start": 2369, + "end": 2381, "loc": { "start": { - "line": 115, + "line": 116, "column": 16 }, "end": { - "line": 115, + "line": 116, "column": 28 } } @@ -12634,15 +12643,15 @@ "binop": null, "updateContext": null }, - "start": 2365, - "end": 2366, + "start": 2381, + "end": 2382, "loc": { "start": { - "line": 115, + "line": 116, "column": 28 }, "end": { - "line": 115, + "line": 116, "column": 29 } } @@ -12660,15 +12669,15 @@ "binop": null }, "value": "shift", - "start": 2366, - "end": 2371, + "start": 2382, + "end": 2387, "loc": { "start": { - "line": 115, + "line": 116, "column": 29 }, "end": { - "line": 115, + "line": 116, "column": 34 } } @@ -12685,15 +12694,15 @@ "postfix": false, "binop": null }, - "start": 2371, - "end": 2372, + "start": 2387, + "end": 2388, "loc": { "start": { - "line": 115, + "line": 116, "column": 34 }, "end": { - "line": 115, + "line": 116, "column": 35 } } @@ -12711,15 +12720,15 @@ "binop": null }, "value": "incremental", - "start": 2372, - "end": 2383, + "start": 2388, + "end": 2399, "loc": { "start": { - "line": 115, + "line": 116, "column": 35 }, "end": { - "line": 115, + "line": 116, "column": 46 } } @@ -12738,15 +12747,15 @@ "updateContext": null }, "value": "-", - "start": 2384, - "end": 2385, + "start": 2400, + "end": 2401, "loc": { "start": { - "line": 115, + "line": 116, "column": 47 }, "end": { - "line": 115, + "line": 116, "column": 48 } } @@ -12765,15 +12774,15 @@ "updateContext": null }, "value": 1, - "start": 2386, - "end": 2387, + "start": 2402, + "end": 2403, "loc": { "start": { - "line": 115, + "line": 116, "column": 49 }, "end": { - "line": 115, + "line": 116, "column": 50 } } @@ -12790,15 +12799,15 @@ "postfix": false, "binop": null }, - "start": 2387, - "end": 2388, + "start": 2403, + "end": 2404, "loc": { "start": { - "line": 115, + "line": 116, "column": 50 }, "end": { - "line": 115, + "line": 116, "column": 51 } } @@ -12816,15 +12825,15 @@ "binop": null, "updateContext": null }, - "start": 2388, - "end": 2389, + "start": 2404, + "end": 2405, "loc": { "start": { - "line": 115, + "line": 116, "column": 51 }, "end": { - "line": 115, + "line": 116, "column": 52 } } @@ -12841,15 +12850,15 @@ "postfix": false, "binop": null }, - "start": 2392, - "end": 2393, + "start": 2408, + "end": 2409, "loc": { "start": { - "line": 116, + "line": 117, "column": 2 }, "end": { - "line": 116, + "line": 117, "column": 3 } } @@ -12857,15 +12866,15 @@ { "type": "CommentBlock", "value": "*\n * Return the name of this Tzolkin day\n * @return {string}\n ", - "start": 2397, - "end": 2469, + "start": 2413, + "end": 2485, "loc": { "start": { - "line": 118, + "line": 119, "column": 2 }, "end": { - "line": 121, + "line": 122, "column": 5 } } @@ -12883,15 +12892,15 @@ "binop": null }, "value": "toString", - "start": 2472, - "end": 2480, + "start": 2488, + "end": 2496, "loc": { "start": { - "line": 122, + "line": 123, "column": 2 }, "end": { - "line": 122, + "line": 123, "column": 10 } } @@ -12908,15 +12917,15 @@ "postfix": false, "binop": null }, - "start": 2480, - "end": 2481, + "start": 2496, + "end": 2497, "loc": { "start": { - "line": 122, + "line": 123, "column": 10 }, "end": { - "line": 122, + "line": 123, "column": 11 } } @@ -12933,15 +12942,15 @@ "postfix": false, "binop": null }, - "start": 2481, - "end": 2482, + "start": 2497, + "end": 2498, "loc": { "start": { - "line": 122, + "line": 123, "column": 11 }, "end": { - "line": 122, + "line": 123, "column": 12 } } @@ -12958,15 +12967,15 @@ "postfix": false, "binop": null }, - "start": 2483, - "end": 2484, + "start": 2499, + "end": 2500, "loc": { "start": { - "line": 122, + "line": 123, "column": 13 }, "end": { - "line": 122, + "line": 123, "column": 14 } } @@ -12986,15 +12995,15 @@ "updateContext": null }, "value": "return", - "start": 2489, - "end": 2495, + "start": 2505, + "end": 2511, "loc": { "start": { - "line": 123, + "line": 124, "column": 4 }, "end": { - "line": 123, + "line": 124, "column": 10 } } @@ -13014,15 +13023,15 @@ "updateContext": null }, "value": "this", - "start": 2496, - "end": 2500, + "start": 2512, + "end": 2516, "loc": { "start": { - "line": 123, + "line": 124, "column": 11 }, "end": { - "line": 123, + "line": 124, "column": 15 } } @@ -13040,15 +13049,15 @@ "binop": null, "updateContext": null }, - "start": 2500, - "end": 2501, + "start": 2516, + "end": 2517, "loc": { "start": { - "line": 123, + "line": 124, "column": 15 }, "end": { - "line": 123, + "line": 124, "column": 16 } } @@ -13066,15 +13075,15 @@ "binop": null }, "value": "name", - "start": 2501, - "end": 2505, + "start": 2517, + "end": 2521, "loc": { "start": { - "line": 123, + "line": 124, "column": 16 }, "end": { - "line": 123, + "line": 124, "column": 20 } } @@ -13092,15 +13101,15 @@ "binop": null, "updateContext": null }, - "start": 2505, - "end": 2506, + "start": 2521, + "end": 2522, "loc": { "start": { - "line": 123, + "line": 124, "column": 20 }, "end": { - "line": 123, + "line": 124, "column": 21 } } @@ -13117,15 +13126,15 @@ "postfix": false, "binop": null }, - "start": 2509, - "end": 2510, + "start": 2525, + "end": 2526, "loc": { "start": { - "line": 124, + "line": 125, "column": 2 }, "end": { - "line": 124, + "line": 125, "column": 3 } } @@ -13142,48 +13151,22 @@ "postfix": false, "binop": null }, - "start": 2511, - "end": 2512, + "start": 2527, + "end": 2528, "loc": { "start": { - "line": 125, + "line": 126, "column": 0 }, "end": { - "line": 125, + "line": 126, "column": 1 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "module", - "start": 2514, - "end": 2520, - "loc": { - "start": { - "line": 127, - "column": 0 - }, - "end": { - "line": 127, - "column": 6 - } - } - }, - { - "type": { - "label": ".", + "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -13194,146 +13177,15 @@ "binop": null, "updateContext": null }, - "start": 2520, - "end": 2521, - "loc": { - "start": { - "line": 127, - "column": 6 - }, - "end": { - "line": 127, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "exports", - "start": 2521, - "end": 2528, - "loc": { - "start": { - "line": 127, - "column": 7 - }, - "end": { - "line": 127, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", "start": 2529, - "end": 2530, - "loc": { - "start": { - "line": 127, - "column": 15 - }, - "end": { - "line": 127, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getTzolkinDay", - "start": 2531, - "end": 2544, - "loc": { - "start": { - "line": 127, - "column": 17 - }, - "end": { - "line": 127, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2544, - "end": 2545, + "end": 2529, "loc": { "start": { "line": 127, - "column": 30 - }, - "end": { - "line": 127, - "column": 31 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2546, - "end": 2546, - "loc": { - "start": { - "line": 128, "column": 0 }, "end": { - "line": 128, + "line": 127, "column": 0 } } diff --git a/docs/ast/source/cr/tzolkin.js.json b/docs/ast/source/cr/tzolkin.js.json index 46a8018..de57bb2 100644 --- a/docs/ast/source/cr/tzolkin.js.json +++ b/docs/ast/source/cr/tzolkin.js.json @@ -1,311 +1,183 @@ { "type": "File", "start": 0, - "end": 4163, + "end": 4120, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 181, + "line": 178, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 4163, + "end": 4120, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 181, + "line": 178, "column": 0 } }, "sourceType": "module", "body": [ { - "type": "VariableDeclaration", - "start": 15, - "end": 55, + "type": "ImportDeclaration", + "start": 0, + "end": 35, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 40 + "line": 1, + "column": 35 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 21, - "end": 54, + "type": "ImportDefaultSpecifier", + "start": 7, + "end": 15, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 39 + "line": 1, + "column": 15 } }, - "id": { + "local": { "type": "Identifier", - "start": 21, - "end": 29, + "start": 7, + "end": 15, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 14 + "line": 1, + "column": 15 }, "identifierName": "wildcard" }, - "name": "wildcard", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 32, - "end": 54, - "loc": { - "start": { - "line": 2, - "column": 17 - }, - "end": { - "line": 2, - "column": 39 - } - }, - "callee": { - "type": "Identifier", - "start": 32, - "end": 39, - "loc": { - "start": { - "line": 2, - "column": 17 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 40, - "end": 53, - "loc": { - "start": { - "line": 2, - "column": 25 - }, - "end": { - "line": 2, - "column": 38 - } - }, - "extra": { - "rawValue": "../wildcard", - "raw": "'../wildcard'" - }, - "value": "../wildcard" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } + "name": "wildcard" } } ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 56, - "end": 70, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 21, + "end": 34, + "loc": { + "start": { + "line": 1, + "column": 21 + }, + "end": { + "line": 1, + "column": 34 } - } - ] + }, + "extra": { + "rawValue": "../wildcard", + "raw": "'../wildcard'" + }, + "value": "../wildcard" + } }, { - "type": "VariableDeclaration", - "start": 71, - "end": 118, + "type": "ImportDeclaration", + "start": 36, + "end": 78, "loc": { "start": { - "line": 4, + "line": 2, "column": 0 }, "end": { - "line": 4, - "column": 47 + "line": 2, + "column": 42 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 77, - "end": 117, + "type": "ImportDefaultSpecifier", + "start": 43, + "end": 56, "loc": { "start": { - "line": 4, - "column": 6 + "line": 2, + "column": 7 }, "end": { - "line": 4, - "column": 46 + "line": 2, + "column": 20 } }, - "id": { + "local": { "type": "Identifier", - "start": 77, - "end": 90, + "start": 43, + "end": 56, "loc": { "start": { - "line": 4, - "column": 6 + "line": 2, + "column": 7 }, "end": { - "line": 4, - "column": 19 + "line": 2, + "column": 20 }, "identifierName": "getTzolkinDay" }, - "name": "getTzolkinDay", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 93, - "end": 117, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 46 - } - }, - "callee": { - "type": "Identifier", - "start": 93, - "end": 100, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 29 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 101, - "end": 116, - "loc": { - "start": { - "line": 4, - "column": 30 - }, - "end": { - "line": 4, - "column": 45 - } - }, - "extra": { - "rawValue": "./tzolkin-day", - "raw": "'./tzolkin-day'" - }, - "value": "./tzolkin-day" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 56, - "end": 70, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } + "name": "getTzolkinDay" } } ], + "source": { + "type": "StringLiteral", + "start": 62, + "end": 77, + "loc": { + "start": { + "line": 2, + "column": 26 + }, + "end": { + "line": 2, + "column": 41 + } + }, + "extra": { + "rawValue": "./tzolkin-day", + "raw": "'./tzolkin-day'" + }, + "value": "./tzolkin-day" + }, "trailingComments": [ { "type": "CommentBlock", "value": "* @ignore ", - "start": 120, - "end": 134, + "start": 80, + "end": 94, "loc": { "start": { - "line": 6, + "line": 4, "column": 0 }, "end": { - "line": 6, + "line": 4, "column": 14 } } @@ -314,44 +186,44 @@ }, { "type": "VariableDeclaration", - "start": 135, - "end": 156, + "start": 95, + "end": 116, "loc": { "start": { - "line": 7, + "line": 5, "column": 0 }, "end": { - "line": 7, + "line": 5, "column": 21 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 141, - "end": 155, + "start": 101, + "end": 115, "loc": { "start": { - "line": 7, + "line": 5, "column": 6 }, "end": { - "line": 7, + "line": 5, "column": 20 } }, "id": { "type": "Identifier", - "start": 141, - "end": 150, + "start": 101, + "end": 110, "loc": { "start": { - "line": 7, + "line": 5, "column": 6 }, "end": { - "line": 7, + "line": 5, "column": 15 }, "identifierName": "singleton" @@ -361,15 +233,15 @@ }, "init": { "type": "ObjectExpression", - "start": 153, - "end": 155, + "start": 113, + "end": 115, "loc": { "start": { - "line": 7, + "line": 5, "column": 18 }, "end": { - "line": 7, + "line": 5, "column": 20 } }, @@ -383,15 +255,15 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 120, - "end": 134, + "start": 80, + "end": 94, "loc": { "start": { - "line": 6, + "line": 4, "column": 0 }, "end": { - "line": 6, + "line": 4, "column": 14 } } @@ -401,15 +273,15 @@ { "type": "CommentBlock", "value": "*\n * Return a comparable instance of a Tzolkin date.\n * @param {number} coeff\n * @param {TzolkinDay|string} day\n * @return {Tzolkin}\n ", - "start": 158, - "end": 296, + "start": 118, + "end": 256, "loc": { "start": { - "line": 9, + "line": 7, "column": 0 }, "end": { - "line": 14, + "line": 12, "column": 3 } } @@ -418,29 +290,29 @@ }, { "type": "FunctionDeclaration", - "start": 297, - "end": 628, + "start": 257, + "end": 588, "loc": { "start": { - "line": 15, + "line": 13, "column": 0 }, "end": { - "line": 23, + "line": 21, "column": 1 } }, "id": { "type": "Identifier", - "start": 306, - "end": 316, + "start": 266, + "end": 276, "loc": { "start": { - "line": 15, + "line": 13, "column": 9 }, "end": { - "line": 15, + "line": 13, "column": 19 }, "identifierName": "getTzolkin" @@ -454,15 +326,15 @@ "params": [ { "type": "Identifier", - "start": 317, - "end": 322, + "start": 277, + "end": 282, "loc": { "start": { - "line": 15, + "line": 13, "column": 20 }, "end": { - "line": 15, + "line": 13, "column": 25 }, "identifierName": "coeff" @@ -471,15 +343,15 @@ }, { "type": "Identifier", - "start": 324, - "end": 327, + "start": 284, + "end": 287, "loc": { "start": { - "line": 15, + "line": 13, "column": 27 }, "end": { - "line": 15, + "line": 13, "column": 30 }, "identifierName": "day" @@ -489,59 +361,59 @@ ], "body": { "type": "BlockStatement", - "start": 329, - "end": 628, + "start": 289, + "end": 588, "loc": { "start": { - "line": 15, + "line": 13, "column": 32 }, "end": { - "line": 23, + "line": 21, "column": 1 } }, "body": [ { "type": "VariableDeclaration", - "start": 333, - "end": 369, + "start": 293, + "end": 329, "loc": { "start": { - "line": 16, + "line": 14, "column": 2 }, "end": { - "line": 16, + "line": 14, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 339, - "end": 368, + "start": 299, + "end": 328, "loc": { "start": { - "line": 16, + "line": 14, "column": 8 }, "end": { - "line": 16, + "line": 14, "column": 37 } }, "id": { "type": "Identifier", - "start": 339, - "end": 348, + "start": 299, + "end": 308, "loc": { "start": { - "line": 16, + "line": 14, "column": 8 }, "end": { - "line": 16, + "line": 14, "column": 17 }, "identifierName": "monthName" @@ -550,30 +422,30 @@ }, "init": { "type": "TemplateLiteral", - "start": 351, - "end": 368, + "start": 311, + "end": 328, "loc": { "start": { - "line": 16, + "line": 14, "column": 20 }, "end": { - "line": 16, + "line": 14, "column": 37 } }, "expressions": [ { "type": "Identifier", - "start": 354, - "end": 359, + "start": 314, + "end": 319, "loc": { "start": { - "line": 16, + "line": 14, "column": 23 }, "end": { - "line": 16, + "line": 14, "column": 28 }, "identifierName": "coeff" @@ -582,15 +454,15 @@ }, { "type": "Identifier", - "start": 363, - "end": 366, + "start": 323, + "end": 326, "loc": { "start": { - "line": 16, + "line": 14, "column": 32 }, "end": { - "line": 16, + "line": 14, "column": 35 }, "identifierName": "day" @@ -601,15 +473,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 352, - "end": 352, + "start": 312, + "end": 312, "loc": { "start": { - "line": 16, + "line": 14, "column": 21 }, "end": { - "line": 16, + "line": 14, "column": 21 } }, @@ -621,15 +493,15 @@ }, { "type": "TemplateElement", - "start": 360, - "end": 361, + "start": 320, + "end": 321, "loc": { "start": { - "line": 16, + "line": 14, "column": 29 }, "end": { - "line": 16, + "line": 14, "column": 30 } }, @@ -641,15 +513,15 @@ }, { "type": "TemplateElement", - "start": 367, - "end": 367, + "start": 327, + "end": 327, "loc": { "start": { - "line": 16, + "line": 14, "column": 36 }, "end": { - "line": 16, + "line": 14, "column": 36 } }, @@ -668,15 +540,15 @@ { "type": "CommentLine", "value": " const monthName = (typeof name === 'number') ? months[name] : name;", - "start": 372, - "end": 442, + "start": 332, + "end": 402, "loc": { "start": { - "line": 17, + "line": 15, "column": 2 }, "end": { - "line": 17, + "line": 15, "column": 72 } } @@ -685,57 +557,57 @@ }, { "type": "IfStatement", - "start": 445, - "end": 595, + "start": 405, + "end": 555, "loc": { "start": { - "line": 18, + "line": 16, "column": 2 }, "end": { - "line": 21, + "line": 19, "column": 3 } }, "test": { "type": "BinaryExpression", - "start": 449, - "end": 483, + "start": 409, + "end": 443, "loc": { "start": { - "line": 18, + "line": 16, "column": 6 }, "end": { - "line": 18, + "line": 16, "column": 40 } }, "left": { "type": "MemberExpression", - "start": 449, - "end": 469, + "start": 409, + "end": 429, "loc": { "start": { - "line": 18, + "line": 16, "column": 6 }, "end": { - "line": 18, + "line": 16, "column": 26 } }, "object": { "type": "Identifier", - "start": 449, - "end": 458, + "start": 409, + "end": 418, "loc": { "start": { - "line": 18, + "line": 16, "column": 6 }, "end": { - "line": 18, + "line": 16, "column": 15 }, "identifierName": "singleton" @@ -745,15 +617,15 @@ }, "property": { "type": "Identifier", - "start": 459, - "end": 468, + "start": 419, + "end": 428, "loc": { "start": { - "line": 18, + "line": 16, "column": 16 }, "end": { - "line": 18, + "line": 16, "column": 25 }, "identifierName": "monthName" @@ -766,15 +638,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 474, - "end": 483, + "start": 434, + "end": 443, "loc": { "start": { - "line": 18, + "line": 16, "column": 31 }, "end": { - "line": 18, + "line": 16, "column": 40 }, "identifierName": "undefined" @@ -785,73 +657,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 485, - "end": 595, + "start": 445, + "end": 555, "loc": { "start": { - "line": 18, + "line": 16, "column": 42 }, "end": { - "line": 21, + "line": 19, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 544, - "end": 591, + "start": 504, + "end": 551, "loc": { "start": { - "line": 20, + "line": 18, "column": 4 }, "end": { - "line": 20, + "line": 18, "column": 51 } }, "expression": { "type": "AssignmentExpression", - "start": 544, - "end": 590, + "start": 504, + "end": 550, "loc": { "start": { - "line": 20, + "line": 18, "column": 4 }, "end": { - "line": 20, + "line": 18, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 544, - "end": 564, + "start": 504, + "end": 524, "loc": { "start": { - "line": 20, + "line": 18, "column": 4 }, "end": { - "line": 20, + "line": 18, "column": 24 } }, "object": { "type": "Identifier", - "start": 544, - "end": 553, + "start": 504, + "end": 513, "loc": { "start": { - "line": 20, + "line": 18, "column": 4 }, "end": { - "line": 20, + "line": 18, "column": 13 }, "identifierName": "singleton" @@ -861,15 +733,15 @@ }, "property": { "type": "Identifier", - "start": 554, - "end": 563, + "start": 514, + "end": 523, "loc": { "start": { - "line": 20, + "line": 18, "column": 14 }, "end": { - "line": 20, + "line": 18, "column": 23 }, "identifierName": "monthName" @@ -881,29 +753,29 @@ }, "right": { "type": "NewExpression", - "start": 567, - "end": 590, + "start": 527, + "end": 550, "loc": { "start": { - "line": 20, + "line": 18, "column": 27 }, "end": { - "line": 20, + "line": 18, "column": 50 } }, "callee": { "type": "Identifier", - "start": 571, - "end": 578, + "start": 531, + "end": 538, "loc": { "start": { - "line": 20, + "line": 18, "column": 31 }, "end": { - "line": 20, + "line": 18, "column": 38 }, "identifierName": "Tzolkin" @@ -913,15 +785,15 @@ "arguments": [ { "type": "Identifier", - "start": 579, - "end": 584, + "start": 539, + "end": 544, "loc": { "start": { - "line": 20, + "line": 18, "column": 39 }, "end": { - "line": 20, + "line": 18, "column": 44 }, "identifierName": "coeff" @@ -930,15 +802,15 @@ }, { "type": "Identifier", - "start": 586, - "end": 589, + "start": 546, + "end": 549, "loc": { "start": { - "line": 20, + "line": 18, "column": 46 }, "end": { - "line": 20, + "line": 18, "column": 49 }, "identifierName": "day" @@ -953,15 +825,15 @@ { "type": "CommentLine", "value": " eslint-disable-next-line no-use-before-define", - "start": 491, - "end": 539, + "start": 451, + "end": 499, "loc": { "start": { - "line": 19, + "line": 17, "column": 4 }, "end": { - "line": 19, + "line": 17, "column": 52 } } @@ -976,15 +848,15 @@ { "type": "CommentLine", "value": " const monthName = (typeof name === 'number') ? months[name] : name;", - "start": 372, - "end": 442, + "start": 332, + "end": 402, "loc": { "start": { - "line": 17, + "line": 15, "column": 2 }, "end": { - "line": 17, + "line": 15, "column": 72 } } @@ -993,43 +865,43 @@ }, { "type": "ReturnStatement", - "start": 598, - "end": 626, + "start": 558, + "end": 586, "loc": { "start": { - "line": 22, + "line": 20, "column": 2 }, "end": { - "line": 22, + "line": 20, "column": 30 } }, "argument": { "type": "MemberExpression", - "start": 605, - "end": 625, + "start": 565, + "end": 585, "loc": { "start": { - "line": 22, + "line": 20, "column": 9 }, "end": { - "line": 22, + "line": 20, "column": 29 } }, "object": { "type": "Identifier", - "start": 605, - "end": 614, + "start": 565, + "end": 574, "loc": { "start": { - "line": 22, + "line": 20, "column": 9 }, "end": { - "line": 22, + "line": 20, "column": 18 }, "identifierName": "singleton" @@ -1038,15 +910,15 @@ }, "property": { "type": "Identifier", - "start": 615, - "end": 624, + "start": 575, + "end": 584, "loc": { "start": { - "line": 22, + "line": 20, "column": 19 }, "end": { - "line": 22, + "line": 20, "column": 28 }, "identifierName": "monthName" @@ -1064,15 +936,15 @@ { "type": "CommentBlock", "value": "*\n * Return a comparable instance of a Tzolkin date.\n * @param {number} coeff\n * @param {TzolkinDay|string} day\n * @return {Tzolkin}\n ", - "start": 158, - "end": 296, + "start": 118, + "end": 256, "loc": { "start": { - "line": 9, + "line": 7, "column": 0 }, "end": { - "line": 14, + "line": 12, "column": 3 } } @@ -1082,15 +954,15 @@ { "type": "CommentBlock", "value": "*\n * Describes a fullDate in the 260-day cycle with a position and a day\n * @example\n * let day = new Tzolkin(4, \"Ajaw\");\n *\n * @example\n * let day = new Tzolkin(4, new TzolkinDay(\"Ajaw\"));\n *\n ", - "start": 630, - "end": 834, + "start": 590, + "end": 794, "loc": { "start": { - "line": 25, + "line": 23, "column": 0 }, "end": { - "line": 33, + "line": 31, "column": 3 } } @@ -1099,29 +971,29 @@ }, { "type": "ClassDeclaration", - "start": 835, - "end": 4107, + "start": 795, + "end": 4067, "loc": { "start": { - "line": 34, + "line": 32, "column": 0 }, "end": { - "line": 174, + "line": 172, "column": 1 } }, "id": { "type": "Identifier", - "start": 841, - "end": 848, + "start": 801, + "end": 808, "loc": { "start": { - "line": 34, + "line": 32, "column": 6 }, "end": { - "line": 34, + "line": 32, "column": 13 }, "identifierName": "Tzolkin" @@ -1132,30 +1004,30 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 849, - "end": 4107, + "start": 809, + "end": 4067, "loc": { "start": { - "line": 34, + "line": 32, "column": 14 }, "end": { - "line": 174, + "line": 172, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 987, - "end": 1727, + "start": 947, + "end": 1687, "loc": { "start": { - "line": 40, + "line": 38, "column": 2 }, "end": { - "line": 75, + "line": 73, "column": 3 } }, @@ -1163,15 +1035,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 987, - "end": 998, + "start": 947, + "end": 958, "loc": { "start": { - "line": 40, + "line": 38, "column": 2 }, "end": { - "line": 40, + "line": 38, "column": 13 }, "identifierName": "constructor" @@ -1187,15 +1059,15 @@ "params": [ { "type": "Identifier", - "start": 999, - "end": 1007, + "start": 959, + "end": 967, "loc": { "start": { - "line": 40, + "line": 38, "column": 14 }, "end": { - "line": 40, + "line": 38, "column": 22 }, "identifierName": "newCoeff" @@ -1204,15 +1076,15 @@ }, { "type": "Identifier", - "start": 1009, - "end": 1015, + "start": 969, + "end": 975, "loc": { "start": { - "line": 40, + "line": 38, "column": 24 }, "end": { - "line": 40, + "line": 38, "column": 30 }, "identifierName": "newDay" @@ -1222,59 +1094,59 @@ ], "body": { "type": "BlockStatement", - "start": 1017, - "end": 1727, + "start": 977, + "end": 1687, "loc": { "start": { - "line": 40, + "line": 38, "column": 32 }, "end": { - "line": 75, + "line": 73, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 1023, - "end": 1044, + "start": 983, + "end": 1004, "loc": { "start": { - "line": 41, + "line": 39, "column": 4 }, "end": { - "line": 41, + "line": 39, "column": 25 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1027, - "end": 1043, + "start": 987, + "end": 1003, "loc": { "start": { - "line": 41, + "line": 39, "column": 8 }, "end": { - "line": 41, + "line": 39, "column": 24 } }, "id": { "type": "Identifier", - "start": 1027, - "end": 1032, + "start": 987, + "end": 992, "loc": { "start": { - "line": 41, + "line": 39, "column": 8 }, "end": { - "line": 41, + "line": 39, "column": 13 }, "identifierName": "coeff" @@ -1283,15 +1155,15 @@ }, "init": { "type": "Identifier", - "start": 1035, - "end": 1043, + "start": 995, + "end": 1003, "loc": { "start": { - "line": 41, + "line": 39, "column": 16 }, "end": { - "line": 41, + "line": 39, "column": 24 }, "identifierName": "newCoeff" @@ -1304,43 +1176,43 @@ }, { "type": "IfStatement", - "start": 1049, - "end": 1218, + "start": 1009, + "end": 1178, "loc": { "start": { - "line": 42, + "line": 40, "column": 4 }, "end": { - "line": 48, + "line": 46, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 1053, - "end": 1072, + "start": 1013, + "end": 1032, "loc": { "start": { - "line": 42, + "line": 40, "column": 8 }, "end": { - "line": 42, + "line": 40, "column": 27 } }, "left": { "type": "Identifier", - "start": 1053, - "end": 1058, + "start": 1013, + "end": 1018, "loc": { "start": { - "line": 42, + "line": 40, "column": 8 }, "end": { - "line": 42, + "line": 40, "column": 13 }, "identifierName": "coeff" @@ -1350,15 +1222,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 1063, - "end": 1072, + "start": 1023, + "end": 1032, "loc": { "start": { - "line": 42, + "line": 40, "column": 18 }, "end": { - "line": 42, + "line": 40, "column": 27 }, "identifierName": "undefined" @@ -1368,58 +1240,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 1074, - "end": 1218, + "start": 1034, + "end": 1178, "loc": { "start": { - "line": 42, + "line": 40, "column": 29 }, "end": { - "line": 48, + "line": 46, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 1082, - "end": 1212, + "start": 1042, + "end": 1172, "loc": { "start": { - "line": 43, + "line": 41, "column": 6 }, "end": { - "line": 47, + "line": 45, "column": 7 } }, "test": { "type": "BinaryExpression", - "start": 1086, - "end": 1099, + "start": 1046, + "end": 1059, "loc": { "start": { - "line": 43, + "line": 41, "column": 10 }, "end": { - "line": 43, + "line": 41, "column": 23 } }, "left": { "type": "Identifier", - "start": 1086, - "end": 1091, + "start": 1046, + "end": 1051, "loc": { "start": { - "line": 43, + "line": 41, "column": 10 }, "end": { - "line": 43, + "line": 41, "column": 15 }, "identifierName": "coeff" @@ -1429,15 +1301,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1096, - "end": 1099, + "start": 1056, + "end": 1059, "loc": { "start": { - "line": 43, + "line": 41, "column": 20 }, "end": { - "line": 43, + "line": 41, "column": 23 } }, @@ -1450,59 +1322,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 1101, - "end": 1136, + "start": 1061, + "end": 1096, "loc": { "start": { - "line": 43, + "line": 41, "column": 25 }, "end": { - "line": 45, + "line": 43, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 1111, - "end": 1128, + "start": 1071, + "end": 1088, "loc": { "start": { - "line": 44, + "line": 42, "column": 8 }, "end": { - "line": 44, + "line": 42, "column": 25 } }, "expression": { "type": "AssignmentExpression", - "start": 1111, - "end": 1127, + "start": 1071, + "end": 1087, "loc": { "start": { - "line": 44, + "line": 42, "column": 8 }, "end": { - "line": 44, + "line": 42, "column": 24 } }, "operator": "=", "left": { "type": "Identifier", - "start": 1111, - "end": 1116, + "start": 1071, + "end": 1076, "loc": { "start": { - "line": 44, + "line": 42, "column": 8 }, "end": { - "line": 44, + "line": 42, "column": 13 }, "identifierName": "coeff" @@ -1511,15 +1383,15 @@ }, "right": { "type": "Identifier", - "start": 1119, - "end": 1127, + "start": 1079, + "end": 1087, "loc": { "start": { - "line": 44, + "line": 42, "column": 16 }, "end": { - "line": 44, + "line": 42, "column": 24 }, "identifierName": "wildcard" @@ -1533,43 +1405,43 @@ }, "alternate": { "type": "IfStatement", - "start": 1142, - "end": 1212, + "start": 1102, + "end": 1172, "loc": { "start": { - "line": 45, + "line": 43, "column": 13 }, "end": { - "line": 47, + "line": 45, "column": 7 } }, "test": { "type": "BinaryExpression", - "start": 1146, - "end": 1164, + "start": 1106, + "end": 1124, "loc": { "start": { - "line": 45, + "line": 43, "column": 17 }, "end": { - "line": 45, + "line": 43, "column": 35 } }, "left": { "type": "Identifier", - "start": 1146, - "end": 1151, + "start": 1106, + "end": 1111, "loc": { "start": { - "line": 45, + "line": 43, "column": 17 }, "end": { - "line": 45, + "line": 43, "column": 22 }, "identifierName": "coeff" @@ -1579,15 +1451,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 1156, - "end": 1164, + "start": 1116, + "end": 1124, "loc": { "start": { - "line": 45, + "line": 43, "column": 27 }, "end": { - "line": 45, + "line": 43, "column": 35 }, "identifierName": "wildcard" @@ -1597,59 +1469,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 1166, - "end": 1212, + "start": 1126, + "end": 1172, "loc": { "start": { - "line": 45, + "line": 43, "column": 37 }, "end": { - "line": 47, + "line": 45, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 1176, - "end": 1204, + "start": 1136, + "end": 1164, "loc": { "start": { - "line": 46, + "line": 44, "column": 8 }, "end": { - "line": 46, + "line": 44, "column": 36 } }, "expression": { "type": "AssignmentExpression", - "start": 1176, - "end": 1203, + "start": 1136, + "end": 1163, "loc": { "start": { - "line": 46, + "line": 44, "column": 8 }, "end": { - "line": 46, + "line": 44, "column": 35 } }, "operator": "=", "left": { "type": "Identifier", - "start": 1176, - "end": 1181, + "start": 1136, + "end": 1141, "loc": { "start": { - "line": 46, + "line": 44, "column": 8 }, "end": { - "line": 46, + "line": 44, "column": 13 }, "identifierName": "coeff" @@ -1658,29 +1530,29 @@ }, "right": { "type": "CallExpression", - "start": 1184, - "end": 1203, + "start": 1144, + "end": 1163, "loc": { "start": { - "line": 46, + "line": 44, "column": 16 }, "end": { - "line": 46, + "line": 44, "column": 35 } }, "callee": { "type": "Identifier", - "start": 1184, - "end": 1192, + "start": 1144, + "end": 1152, "loc": { "start": { - "line": 46, + "line": 44, "column": 16 }, "end": { - "line": 46, + "line": 44, "column": 24 }, "identifierName": "parseInt" @@ -1690,15 +1562,15 @@ "arguments": [ { "type": "Identifier", - "start": 1193, - "end": 1198, + "start": 1153, + "end": 1158, "loc": { "start": { - "line": 46, + "line": 44, "column": 25 }, "end": { - "line": 46, + "line": 44, "column": 30 }, "identifierName": "coeff" @@ -1707,15 +1579,15 @@ }, { "type": "NumericLiteral", - "start": 1200, - "end": 1202, + "start": 1160, + "end": 1162, "loc": { "start": { - "line": 46, + "line": 44, "column": 32 }, "end": { - "line": 46, + "line": 44, "column": 34 } }, @@ -1742,44 +1614,44 @@ }, { "type": "VariableDeclaration", - "start": 1223, - "end": 1240, + "start": 1183, + "end": 1200, "loc": { "start": { - "line": 49, + "line": 47, "column": 4 }, "end": { - "line": 49, + "line": 47, "column": 21 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1227, - "end": 1239, + "start": 1187, + "end": 1199, "loc": { "start": { - "line": 49, + "line": 47, "column": 8 }, "end": { - "line": 49, + "line": 47, "column": 20 } }, "id": { "type": "Identifier", - "start": 1227, - "end": 1230, + "start": 1187, + "end": 1190, "loc": { "start": { - "line": 49, + "line": 47, "column": 8 }, "end": { - "line": 49, + "line": 47, "column": 11 }, "identifierName": "day" @@ -1788,15 +1660,15 @@ }, "init": { "type": "Identifier", - "start": 1233, - "end": 1239, + "start": 1193, + "end": 1199, "loc": { "start": { - "line": 49, + "line": 47, "column": 14 }, "end": { - "line": 49, + "line": 47, "column": 20 }, "identifierName": "newDay" @@ -1809,43 +1681,43 @@ }, { "type": "IfStatement", - "start": 1245, - "end": 1436, + "start": 1205, + "end": 1396, "loc": { "start": { - "line": 50, + "line": 48, "column": 4 }, "end": { - "line": 58, + "line": 56, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 1249, - "end": 1266, + "start": 1209, + "end": 1226, "loc": { "start": { - "line": 50, + "line": 48, "column": 8 }, "end": { - "line": 50, + "line": 48, "column": 25 } }, "left": { "type": "Identifier", - "start": 1249, - "end": 1252, + "start": 1209, + "end": 1212, "loc": { "start": { - "line": 50, + "line": 48, "column": 8 }, "end": { - "line": 50, + "line": 48, "column": 11 }, "identifierName": "day" @@ -1855,15 +1727,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 1257, - "end": 1266, + "start": 1217, + "end": 1226, "loc": { "start": { - "line": 50, + "line": 48, "column": 16 }, "end": { - "line": 50, + "line": 48, "column": 25 }, "identifierName": "undefined" @@ -1873,58 +1745,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 1268, - "end": 1436, + "start": 1228, + "end": 1396, "loc": { "start": { - "line": 50, + "line": 48, "column": 27 }, "end": { - "line": 58, + "line": 56, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 1276, - "end": 1430, + "start": 1236, + "end": 1390, "loc": { "start": { - "line": 51, + "line": 49, "column": 6 }, "end": { - "line": 57, + "line": 55, "column": 7 } }, "test": { "type": "BinaryExpression", - "start": 1280, - "end": 1303, + "start": 1240, + "end": 1263, "loc": { "start": { - "line": 51, + "line": 49, "column": 10 }, "end": { - "line": 51, + "line": 49, "column": 33 } }, "left": { "type": "UnaryExpression", - "start": 1280, - "end": 1290, + "start": 1240, + "end": 1250, "loc": { "start": { - "line": 51, + "line": 49, "column": 10 }, "end": { - "line": 51, + "line": 49, "column": 20 } }, @@ -1932,15 +1804,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 1287, - "end": 1290, + "start": 1247, + "end": 1250, "loc": { "start": { - "line": 51, + "line": 49, "column": 17 }, "end": { - "line": 51, + "line": 49, "column": 20 }, "identifierName": "day" @@ -1954,15 +1826,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1295, - "end": 1303, + "start": 1255, + "end": 1263, "loc": { "start": { - "line": 51, + "line": 49, "column": 25 }, "end": { - "line": 51, + "line": 49, "column": 33 } }, @@ -1975,58 +1847,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 1305, - "end": 1430, + "start": 1265, + "end": 1390, "loc": { "start": { - "line": 51, + "line": 49, "column": 35 }, "end": { - "line": 57, + "line": 55, "column": 7 } }, "body": [ { "type": "IfStatement", - "start": 1315, - "end": 1422, + "start": 1275, + "end": 1382, "loc": { "start": { - "line": 52, + "line": 50, "column": 8 }, "end": { - "line": 56, + "line": 54, "column": 9 } }, "test": { "type": "BinaryExpression", - "start": 1319, - "end": 1330, + "start": 1279, + "end": 1290, "loc": { "start": { - "line": 52, + "line": 50, "column": 12 }, "end": { - "line": 52, + "line": 50, "column": 23 } }, "left": { "type": "Identifier", - "start": 1319, - "end": 1322, + "start": 1279, + "end": 1282, "loc": { "start": { - "line": 52, + "line": 50, "column": 12 }, "end": { - "line": 52, + "line": 50, "column": 15 }, "identifierName": "day" @@ -2036,15 +1908,15 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 1327, - "end": 1330, + "start": 1287, + "end": 1290, "loc": { "start": { - "line": 52, + "line": 50, "column": 20 }, "end": { - "line": 52, + "line": 50, "column": 23 } }, @@ -2057,59 +1929,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 1332, - "end": 1369, + "start": 1292, + "end": 1329, "loc": { "start": { - "line": 52, + "line": 50, "column": 25 }, "end": { - "line": 54, + "line": 52, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 1344, - "end": 1359, + "start": 1304, + "end": 1319, "loc": { "start": { - "line": 53, + "line": 51, "column": 10 }, "end": { - "line": 53, + "line": 51, "column": 25 } }, "expression": { "type": "AssignmentExpression", - "start": 1344, - "end": 1358, + "start": 1304, + "end": 1318, "loc": { "start": { - "line": 53, + "line": 51, "column": 10 }, "end": { - "line": 53, + "line": 51, "column": 24 } }, "operator": "=", "left": { "type": "Identifier", - "start": 1344, - "end": 1347, + "start": 1304, + "end": 1307, "loc": { "start": { - "line": 53, + "line": 51, "column": 10 }, "end": { - "line": 53, + "line": 51, "column": 13 }, "identifierName": "day" @@ -2118,15 +1990,15 @@ }, "right": { "type": "Identifier", - "start": 1350, - "end": 1358, + "start": 1310, + "end": 1318, "loc": { "start": { - "line": 53, + "line": 51, "column": 16 }, "end": { - "line": 53, + "line": 51, "column": 24 }, "identifierName": "wildcard" @@ -2140,59 +2012,59 @@ }, "alternate": { "type": "BlockStatement", - "start": 1375, - "end": 1422, + "start": 1335, + "end": 1382, "loc": { "start": { - "line": 54, + "line": 52, "column": 15 }, "end": { - "line": 56, + "line": 54, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 1387, - "end": 1412, + "start": 1347, + "end": 1372, "loc": { "start": { - "line": 55, + "line": 53, "column": 10 }, "end": { - "line": 55, + "line": 53, "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 1387, - "end": 1411, + "start": 1347, + "end": 1371, "loc": { "start": { - "line": 55, + "line": 53, "column": 10 }, "end": { - "line": 55, + "line": 53, "column": 34 } }, "operator": "=", "left": { "type": "Identifier", - "start": 1387, - "end": 1390, + "start": 1347, + "end": 1350, "loc": { "start": { - "line": 55, + "line": 53, "column": 10 }, "end": { - "line": 55, + "line": 53, "column": 13 }, "identifierName": "day" @@ -2201,29 +2073,29 @@ }, "right": { "type": "CallExpression", - "start": 1393, - "end": 1411, + "start": 1353, + "end": 1371, "loc": { "start": { - "line": 55, + "line": 53, "column": 16 }, "end": { - "line": 55, + "line": 53, "column": 34 } }, "callee": { "type": "Identifier", - "start": 1393, - "end": 1406, + "start": 1353, + "end": 1366, "loc": { "start": { - "line": 55, + "line": 53, "column": 16 }, "end": { - "line": 55, + "line": 53, "column": 29 }, "identifierName": "getTzolkinDay" @@ -2233,15 +2105,15 @@ "arguments": [ { "type": "Identifier", - "start": 1407, - "end": 1410, + "start": 1367, + "end": 1370, "loc": { "start": { - "line": 55, + "line": 53, "column": 30 }, "end": { - "line": 55, + "line": 53, "column": 33 }, "identifierName": "day" @@ -2270,15 +2142,15 @@ { "type": "CommentBlock", "value": "*\n * @type {TzolkinDay}\n ", - "start": 1441, - "end": 1478, + "start": 1401, + "end": 1438, "loc": { "start": { - "line": 59, + "line": 57, "column": 4 }, "end": { - "line": 61, + "line": 59, "column": 7 } } @@ -2287,58 +2159,58 @@ }, { "type": "ExpressionStatement", - "start": 1483, - "end": 1498, + "start": 1443, + "end": 1458, "loc": { "start": { - "line": 62, + "line": 60, "column": 4 }, "end": { - "line": 62, + "line": 60, "column": 19 } }, "expression": { "type": "AssignmentExpression", - "start": 1483, - "end": 1497, + "start": 1443, + "end": 1457, "loc": { "start": { - "line": 62, + "line": 60, "column": 4 }, "end": { - "line": 62, + "line": 60, "column": 18 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1483, - "end": 1491, + "start": 1443, + "end": 1451, "loc": { "start": { - "line": 62, + "line": 60, "column": 4 }, "end": { - "line": 62, + "line": 60, "column": 12 } }, "object": { "type": "ThisExpression", - "start": 1483, - "end": 1487, + "start": 1443, + "end": 1447, "loc": { "start": { - "line": 62, + "line": 60, "column": 4 }, "end": { - "line": 62, + "line": 60, "column": 8 } }, @@ -2346,15 +2218,15 @@ }, "property": { "type": "Identifier", - "start": 1488, - "end": 1491, + "start": 1448, + "end": 1451, "loc": { "start": { - "line": 62, + "line": 60, "column": 9 }, "end": { - "line": 62, + "line": 60, "column": 12 }, "identifierName": "day" @@ -2366,15 +2238,15 @@ }, "right": { "type": "Identifier", - "start": 1494, - "end": 1497, + "start": 1454, + "end": 1457, "loc": { "start": { - "line": 62, + "line": 60, "column": 15 }, "end": { - "line": 62, + "line": 60, "column": 18 }, "identifierName": "day" @@ -2387,15 +2259,15 @@ { "type": "CommentBlock", "value": "*\n * @type {TzolkinDay}\n ", - "start": 1441, - "end": 1478, + "start": 1401, + "end": 1438, "loc": { "start": { - "line": 59, + "line": 57, "column": 4 }, "end": { - "line": 61, + "line": 59, "column": 7 } } @@ -2405,15 +2277,15 @@ { "type": "CommentBlock", "value": "*\n * @type {number}\n ", - "start": 1503, - "end": 1536, + "start": 1463, + "end": 1496, "loc": { "start": { - "line": 63, + "line": 61, "column": 4 }, "end": { - "line": 65, + "line": 63, "column": 7 } } @@ -2422,58 +2294,58 @@ }, { "type": "ExpressionStatement", - "start": 1541, - "end": 1560, + "start": 1501, + "end": 1520, "loc": { "start": { - "line": 66, + "line": 64, "column": 4 }, "end": { - "line": 66, + "line": 64, "column": 23 } }, "expression": { "type": "AssignmentExpression", - "start": 1541, - "end": 1559, + "start": 1501, + "end": 1519, "loc": { "start": { - "line": 66, + "line": 64, "column": 4 }, "end": { - "line": 66, + "line": 64, "column": 22 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1541, - "end": 1551, + "start": 1501, + "end": 1511, "loc": { "start": { - "line": 66, + "line": 64, "column": 4 }, "end": { - "line": 66, + "line": 64, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 1541, - "end": 1545, + "start": 1501, + "end": 1505, "loc": { "start": { - "line": 66, + "line": 64, "column": 4 }, "end": { - "line": 66, + "line": 64, "column": 8 } }, @@ -2481,15 +2353,15 @@ }, "property": { "type": "Identifier", - "start": 1546, - "end": 1551, + "start": 1506, + "end": 1511, "loc": { "start": { - "line": 66, + "line": 64, "column": 9 }, "end": { - "line": 66, + "line": 64, "column": 14 }, "identifierName": "coeff" @@ -2501,15 +2373,15 @@ }, "right": { "type": "Identifier", - "start": 1554, - "end": 1559, + "start": 1514, + "end": 1519, "loc": { "start": { - "line": 66, + "line": 64, "column": 17 }, "end": { - "line": 66, + "line": 64, "column": 22 }, "identifierName": "coeff" @@ -2522,15 +2394,15 @@ { "type": "CommentBlock", "value": "*\n * @type {number}\n ", - "start": 1503, - "end": 1536, + "start": 1463, + "end": 1496, "loc": { "start": { - "line": 63, + "line": 61, "column": 4 }, "end": { - "line": 65, + "line": 63, "column": 7 } } @@ -2540,15 +2412,15 @@ { "type": "CommentBlock", "value": "*\n * Lazy loaded instance of the next Tzolkin date in the cycle\n * @type {Tzolkin}\n ", - "start": 1566, - "end": 1666, + "start": 1526, + "end": 1626, "loc": { "start": { - "line": 68, + "line": 66, "column": 4 }, "end": { - "line": 71, + "line": 69, "column": 7 } } @@ -2557,58 +2429,58 @@ }, { "type": "ExpressionStatement", - "start": 1671, - "end": 1701, + "start": 1631, + "end": 1661, "loc": { "start": { - "line": 72, + "line": 70, "column": 4 }, "end": { - "line": 72, + "line": 70, "column": 34 } }, "expression": { "type": "AssignmentExpression", - "start": 1671, - "end": 1700, + "start": 1631, + "end": 1660, "loc": { "start": { - "line": 72, + "line": 70, "column": 4 }, "end": { - "line": 72, + "line": 70, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1671, - "end": 1688, + "start": 1631, + "end": 1648, "loc": { "start": { - "line": 72, + "line": 70, "column": 4 }, "end": { - "line": 72, + "line": 70, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 1671, - "end": 1675, + "start": 1631, + "end": 1635, "loc": { "start": { - "line": 72, + "line": 70, "column": 4 }, "end": { - "line": 72, + "line": 70, "column": 8 } }, @@ -2616,15 +2488,15 @@ }, "property": { "type": "Identifier", - "start": 1676, - "end": 1688, + "start": 1636, + "end": 1648, "loc": { "start": { - "line": 72, + "line": 70, "column": 9 }, "end": { - "line": 72, + "line": 70, "column": 21 }, "identifierName": "private_next" @@ -2636,15 +2508,15 @@ }, "right": { "type": "Identifier", - "start": 1691, - "end": 1700, + "start": 1651, + "end": 1660, "loc": { "start": { - "line": 72, + "line": 70, "column": 24 }, "end": { - "line": 72, + "line": 70, "column": 33 }, "identifierName": "undefined" @@ -2657,15 +2529,15 @@ { "type": "CommentBlock", "value": "*\n * Lazy loaded instance of the next Tzolkin date in the cycle\n * @type {Tzolkin}\n ", - "start": 1566, - "end": 1666, + "start": 1526, + "end": 1626, "loc": { "start": { - "line": 68, + "line": 66, "column": 4 }, "end": { - "line": 71, + "line": 69, "column": 7 } } @@ -2674,72 +2546,72 @@ }, { "type": "ExpressionStatement", - "start": 1707, - "end": 1723, + "start": 1667, + "end": 1683, "loc": { "start": { - "line": 74, + "line": 72, "column": 4 }, "end": { - "line": 74, + "line": 72, "column": 20 } }, "expression": { "type": "CallExpression", - "start": 1707, - "end": 1722, + "start": 1667, + "end": 1682, "loc": { "start": { - "line": 74, + "line": 72, "column": 4 }, "end": { - "line": 74, + "line": 72, "column": 19 } }, "callee": { "type": "MemberExpression", - "start": 1707, - "end": 1720, + "start": 1667, + "end": 1680, "loc": { "start": { - "line": 74, + "line": 72, "column": 4 }, "end": { - "line": 74, + "line": 72, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 1707, - "end": 1711, + "start": 1667, + "end": 1671, "loc": { "start": { - "line": 74, + "line": 72, "column": 4 }, "end": { - "line": 74, + "line": 72, "column": 8 } } }, "property": { "type": "Identifier", - "start": 1712, - "end": 1720, + "start": 1672, + "end": 1680, "loc": { "start": { - "line": 74, + "line": 72, "column": 9 }, "end": { - "line": 74, + "line": 72, "column": 17 }, "identifierName": "validate" @@ -2759,15 +2631,15 @@ { "type": "CommentBlock", "value": "*\n * Constructor\n * @param {number} newCoeff - The position in the 260-day cycle\n * @param {string|TzolkinDay} newDay\n ", - "start": 853, - "end": 984, + "start": 813, + "end": 944, "loc": { "start": { - "line": 35, + "line": 33, "column": 2 }, "end": { - "line": 39, + "line": 37, "column": 5 } } @@ -2777,15 +2649,15 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the 260-day cycle\n * @returns {Tzolkin}\n ", - "start": 1731, - "end": 1810, + "start": 1691, + "end": 1770, "loc": { "start": { - "line": 77, + "line": 75, "column": 2 }, "end": { - "line": 80, + "line": 78, "column": 5 } } @@ -2794,15 +2666,15 @@ }, { "type": "ClassMethod", - "start": 1813, - "end": 1851, + "start": 1773, + "end": 1811, "loc": { "start": { - "line": 81, + "line": 79, "column": 2 }, "end": { - "line": 83, + "line": 81, "column": 3 } }, @@ -2810,15 +2682,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1813, - "end": 1817, + "start": 1773, + "end": 1777, "loc": { "start": { - "line": 81, + "line": 79, "column": 2 }, "end": { - "line": 81, + "line": 79, "column": 6 }, "identifierName": "next" @@ -2834,87 +2706,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1820, - "end": 1851, + "start": 1780, + "end": 1811, "loc": { "start": { - "line": 81, + "line": 79, "column": 9 }, "end": { - "line": 83, + "line": 81, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 1826, - "end": 1847, + "start": 1786, + "end": 1807, "loc": { "start": { - "line": 82, + "line": 80, "column": 4 }, "end": { - "line": 82, + "line": 80, "column": 25 } }, "argument": { "type": "CallExpression", - "start": 1833, - "end": 1846, + "start": 1793, + "end": 1806, "loc": { "start": { - "line": 82, + "line": 80, "column": 11 }, "end": { - "line": 82, + "line": 80, "column": 24 } }, "callee": { "type": "MemberExpression", - "start": 1833, - "end": 1843, + "start": 1793, + "end": 1803, "loc": { "start": { - "line": 82, + "line": 80, "column": 11 }, "end": { - "line": 82, + "line": 80, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 1833, - "end": 1837, + "start": 1793, + "end": 1797, "loc": { "start": { - "line": 82, + "line": 80, "column": 11 }, "end": { - "line": 82, + "line": 80, "column": 15 } } }, "property": { "type": "Identifier", - "start": 1838, - "end": 1843, + "start": 1798, + "end": 1803, "loc": { "start": { - "line": 82, + "line": 80, "column": 16 }, "end": { - "line": 82, + "line": 80, "column": 21 }, "identifierName": "shift" @@ -2926,15 +2798,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 1844, - "end": 1845, + "start": 1804, + "end": 1805, "loc": { "start": { - "line": 82, + "line": 80, "column": 22 }, "end": { - "line": 82, + "line": 80, "column": 23 } }, @@ -2955,15 +2827,15 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the 260-day cycle\n * @returns {Tzolkin}\n ", - "start": 1731, - "end": 1810, + "start": 1691, + "end": 1770, "loc": { "start": { - "line": 77, + "line": 75, "column": 2 }, "end": { - "line": 80, + "line": 78, "column": 5 } } @@ -2973,15 +2845,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Tzolkin's coefficients are within range and the day is defined\n * @return {boolean}\n ", - "start": 1855, - "end": 1966, + "start": 1815, + "end": 1926, "loc": { "start": { - "line": 85, + "line": 83, "column": 2 }, "end": { - "line": 88, + "line": 86, "column": 5 } } @@ -2990,15 +2862,15 @@ }, { "type": "ClassMethod", - "start": 1969, - "end": 2299, + "start": 1929, + "end": 2259, "loc": { "start": { - "line": 89, + "line": 87, "column": 2 }, "end": { - "line": 100, + "line": 98, "column": 3 } }, @@ -3006,15 +2878,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1969, - "end": 1977, + "start": 1929, + "end": 1937, "loc": { "start": { - "line": 89, + "line": 87, "column": 2 }, "end": { - "line": 89, + "line": 87, "column": 10 }, "identifierName": "validate" @@ -3030,101 +2902,101 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1980, - "end": 2299, + "start": 1940, + "end": 2259, "loc": { "start": { - "line": 89, + "line": 87, "column": 13 }, "end": { - "line": 100, + "line": 98, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 1986, - "end": 2115, + "start": 1946, + "end": 2075, "loc": { "start": { - "line": 90, + "line": 88, "column": 4 }, "end": { - "line": 92, + "line": 90, "column": 5 } }, "test": { "type": "LogicalExpression", - "start": 1990, - "end": 2023, + "start": 1950, + "end": 1983, "loc": { "start": { - "line": 90, + "line": 88, "column": 8 }, "end": { - "line": 90, + "line": 88, "column": 41 } }, "left": { "type": "BinaryExpression", - "start": 1990, - "end": 2005, + "start": 1950, + "end": 1965, "loc": { "start": { - "line": 90, + "line": 88, "column": 8 }, "end": { - "line": 90, + "line": 88, "column": 23 } }, "left": { "type": "MemberExpression", - "start": 1990, - "end": 2000, + "start": 1950, + "end": 1960, "loc": { "start": { - "line": 90, + "line": 88, "column": 8 }, "end": { - "line": 90, + "line": 88, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 1990, - "end": 1994, + "start": 1950, + "end": 1954, "loc": { "start": { - "line": 90, + "line": 88, "column": 8 }, "end": { - "line": 90, + "line": 88, "column": 12 } } }, "property": { "type": "Identifier", - "start": 1995, - "end": 2000, + "start": 1955, + "end": 1960, "loc": { "start": { - "line": 90, + "line": 88, "column": 13 }, "end": { - "line": 90, + "line": 88, "column": 18 }, "identifierName": "coeff" @@ -3136,15 +3008,15 @@ "operator": ">", "right": { "type": "NumericLiteral", - "start": 2003, - "end": 2005, + "start": 1963, + "end": 1965, "loc": { "start": { - "line": 90, + "line": 88, "column": 21 }, "end": { - "line": 90, + "line": 88, "column": 23 } }, @@ -3158,58 +3030,58 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 2009, - "end": 2023, + "start": 1969, + "end": 1983, "loc": { "start": { - "line": 90, + "line": 88, "column": 27 }, "end": { - "line": 90, + "line": 88, "column": 41 } }, "left": { "type": "MemberExpression", - "start": 2009, - "end": 2019, + "start": 1969, + "end": 1979, "loc": { "start": { - "line": 90, + "line": 88, "column": 27 }, "end": { - "line": 90, + "line": 88, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 2009, - "end": 2013, + "start": 1969, + "end": 1973, "loc": { "start": { - "line": 90, + "line": 88, "column": 27 }, "end": { - "line": 90, + "line": 88, "column": 31 } } }, "property": { "type": "Identifier", - "start": 2014, - "end": 2019, + "start": 1974, + "end": 1979, "loc": { "start": { - "line": 90, + "line": 88, "column": 32 }, "end": { - "line": 90, + "line": 88, "column": 37 }, "identifierName": "coeff" @@ -3221,15 +3093,15 @@ "operator": "<", "right": { "type": "NumericLiteral", - "start": 2022, - "end": 2023, + "start": 1982, + "end": 1983, "loc": { "start": { - "line": 90, + "line": 88, "column": 40 }, "end": { - "line": 90, + "line": 88, "column": 41 } }, @@ -3243,58 +3115,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 2025, - "end": 2115, + "start": 1985, + "end": 2075, "loc": { "start": { - "line": 90, + "line": 88, "column": 43 }, "end": { - "line": 92, + "line": 90, "column": 5 } }, "body": [ { "type": "ThrowStatement", - "start": 2033, - "end": 2109, + "start": 1993, + "end": 2069, "loc": { "start": { - "line": 91, + "line": 89, "column": 6 }, "end": { - "line": 91, + "line": 89, "column": 82 } }, "argument": { "type": "NewExpression", - "start": 2039, - "end": 2108, + "start": 1999, + "end": 2068, "loc": { "start": { - "line": 91, + "line": 89, "column": 12 }, "end": { - "line": 91, + "line": 89, "column": 81 } }, "callee": { "type": "Identifier", - "start": 2043, - "end": 2048, + "start": 2003, + "end": 2008, "loc": { "start": { - "line": 91, + "line": 89, "column": 16 }, "end": { - "line": 91, + "line": 89, "column": 21 }, "identifierName": "Error" @@ -3304,15 +3176,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 2049, - "end": 2107, + "start": 2009, + "end": 2067, "loc": { "start": { - "line": 91, + "line": 89, "column": 22 }, "end": { - "line": 91, + "line": 89, "column": 80 } }, @@ -3332,72 +3204,72 @@ }, { "type": "IfStatement", - "start": 2120, - "end": 2212, + "start": 2080, + "end": 2172, "loc": { "start": { - "line": 93, + "line": 91, "column": 4 }, "end": { - "line": 95, + "line": 93, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 2124, - "end": 2146, + "start": 2084, + "end": 2106, "loc": { "start": { - "line": 93, + "line": 91, "column": 8 }, "end": { - "line": 93, + "line": 91, "column": 30 } }, "left": { "type": "MemberExpression", - "start": 2124, - "end": 2132, + "start": 2084, + "end": 2092, "loc": { "start": { - "line": 93, + "line": 91, "column": 8 }, "end": { - "line": 93, + "line": 91, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 2124, - "end": 2128, + "start": 2084, + "end": 2088, "loc": { "start": { - "line": 93, + "line": 91, "column": 8 }, "end": { - "line": 93, + "line": 91, "column": 12 } } }, "property": { "type": "Identifier", - "start": 2129, - "end": 2132, + "start": 2089, + "end": 2092, "loc": { "start": { - "line": 93, + "line": 91, "column": 13 }, "end": { - "line": 93, + "line": 91, "column": 16 }, "identifierName": "day" @@ -3409,15 +3281,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 2137, - "end": 2146, + "start": 2097, + "end": 2106, "loc": { "start": { - "line": 93, + "line": 91, "column": 21 }, "end": { - "line": 93, + "line": 91, "column": 30 }, "identifierName": "undefined" @@ -3427,58 +3299,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 2148, - "end": 2212, + "start": 2108, + "end": 2172, "loc": { "start": { - "line": 93, + "line": 91, "column": 32 }, "end": { - "line": 95, + "line": 93, "column": 5 } }, "body": [ { "type": "ThrowStatement", - "start": 2156, - "end": 2206, + "start": 2116, + "end": 2166, "loc": { "start": { - "line": 94, + "line": 92, "column": 6 }, "end": { - "line": 94, + "line": 92, "column": 56 } }, "argument": { "type": "NewExpression", - "start": 2162, - "end": 2205, + "start": 2122, + "end": 2165, "loc": { "start": { - "line": 94, + "line": 92, "column": 12 }, "end": { - "line": 94, + "line": 92, "column": 55 } }, "callee": { "type": "Identifier", - "start": 2166, - "end": 2171, + "start": 2126, + "end": 2131, "loc": { "start": { - "line": 94, + "line": 92, "column": 16 }, "end": { - "line": 94, + "line": 92, "column": 21 }, "identifierName": "Error" @@ -3488,15 +3360,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 2172, - "end": 2204, + "start": 2132, + "end": 2164, "loc": { "start": { - "line": 94, + "line": 92, "column": 22 }, "end": { - "line": 94, + "line": 92, "column": 54 } }, @@ -3516,72 +3388,72 @@ }, { "type": "IfStatement", - "start": 2217, - "end": 2278, + "start": 2177, + "end": 2238, "loc": { "start": { - "line": 96, + "line": 94, "column": 4 }, "end": { - "line": 98, + "line": 96, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 2221, - "end": 2242, + "start": 2181, + "end": 2202, "loc": { "start": { - "line": 96, + "line": 94, "column": 8 }, "end": { - "line": 96, + "line": 94, "column": 29 } }, "left": { "type": "MemberExpression", - "start": 2221, - "end": 2229, + "start": 2181, + "end": 2189, "loc": { "start": { - "line": 96, + "line": 94, "column": 8 }, "end": { - "line": 96, + "line": 94, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 2221, - "end": 2225, + "start": 2181, + "end": 2185, "loc": { "start": { - "line": 96, + "line": 94, "column": 8 }, "end": { - "line": 96, + "line": 94, "column": 12 } } }, "property": { "type": "Identifier", - "start": 2226, - "end": 2229, + "start": 2186, + "end": 2189, "loc": { "start": { - "line": 96, + "line": 94, "column": 13 }, "end": { - "line": 96, + "line": 94, "column": 16 }, "identifierName": "day" @@ -3593,15 +3465,15 @@ "operator": "!==", "right": { "type": "Identifier", - "start": 2234, - "end": 2242, + "start": 2194, + "end": 2202, "loc": { "start": { - "line": 96, + "line": 94, "column": 21 }, "end": { - "line": 96, + "line": 94, "column": 29 }, "identifierName": "wildcard" @@ -3611,101 +3483,101 @@ }, "consequent": { "type": "BlockStatement", - "start": 2244, - "end": 2278, + "start": 2204, + "end": 2238, "loc": { "start": { - "line": 96, + "line": 94, "column": 31 }, "end": { - "line": 98, + "line": 96, "column": 5 } }, "body": [ { "type": "ExpressionStatement", - "start": 2252, - "end": 2272, + "start": 2212, + "end": 2232, "loc": { "start": { - "line": 97, + "line": 95, "column": 6 }, "end": { - "line": 97, + "line": 95, "column": 26 } }, "expression": { "type": "CallExpression", - "start": 2252, - "end": 2271, + "start": 2212, + "end": 2231, "loc": { "start": { - "line": 97, + "line": 95, "column": 6 }, "end": { - "line": 97, + "line": 95, "column": 25 } }, "callee": { "type": "MemberExpression", - "start": 2252, - "end": 2269, + "start": 2212, + "end": 2229, "loc": { "start": { - "line": 97, + "line": 95, "column": 6 }, "end": { - "line": 97, + "line": 95, "column": 23 } }, "object": { "type": "MemberExpression", - "start": 2252, - "end": 2260, + "start": 2212, + "end": 2220, "loc": { "start": { - "line": 97, + "line": 95, "column": 6 }, "end": { - "line": 97, + "line": 95, "column": 14 } }, "object": { "type": "ThisExpression", - "start": 2252, - "end": 2256, + "start": 2212, + "end": 2216, "loc": { "start": { - "line": 97, + "line": 95, "column": 6 }, "end": { - "line": 97, + "line": 95, "column": 10 } } }, "property": { "type": "Identifier", - "start": 2257, - "end": 2260, + "start": 2217, + "end": 2220, "loc": { "start": { - "line": 97, + "line": 95, "column": 11 }, "end": { - "line": 97, + "line": 95, "column": 14 }, "identifierName": "day" @@ -3716,15 +3588,15 @@ }, "property": { "type": "Identifier", - "start": 2261, - "end": 2269, + "start": 2221, + "end": 2229, "loc": { "start": { - "line": 97, + "line": 95, "column": 15 }, "end": { - "line": 97, + "line": 95, "column": 23 }, "identifierName": "validate" @@ -3743,29 +3615,29 @@ }, { "type": "ReturnStatement", - "start": 2283, - "end": 2295, + "start": 2243, + "end": 2255, "loc": { "start": { - "line": 99, + "line": 97, "column": 4 }, "end": { - "line": 99, + "line": 97, "column": 16 } }, "argument": { "type": "BooleanLiteral", - "start": 2290, - "end": 2294, + "start": 2250, + "end": 2254, "loc": { "start": { - "line": 99, + "line": 97, "column": 11 }, "end": { - "line": 99, + "line": 97, "column": 15 } }, @@ -3780,15 +3652,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Tzolkin's coefficients are within range and the day is defined\n * @return {boolean}\n ", - "start": 1855, - "end": 1966, + "start": 1815, + "end": 1926, "loc": { "start": { - "line": 85, + "line": 83, "column": 2 }, "end": { - "line": 88, + "line": 86, "column": 5 } } @@ -3798,15 +3670,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {Number} newIncremental\n * @return {Tzolkin}\n ", - "start": 2303, - "end": 2376, + "start": 2263, + "end": 2336, "loc": { "start": { - "line": 102, + "line": 100, "column": 2 }, "end": { - "line": 106, + "line": 104, "column": 5 } } @@ -3815,15 +3687,15 @@ }, { "type": "ClassMethod", - "start": 2379, - "end": 2804, + "start": 2339, + "end": 2764, "loc": { "start": { - "line": 107, + "line": 105, "column": 2 }, "end": { - "line": 119, + "line": 117, "column": 3 } }, @@ -3831,15 +3703,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2379, - "end": 2384, + "start": 2339, + "end": 2344, "loc": { "start": { - "line": 107, + "line": 105, "column": 2 }, "end": { - "line": 107, + "line": 105, "column": 7 }, "identifierName": "shift" @@ -3855,15 +3727,15 @@ "params": [ { "type": "Identifier", - "start": 2385, - "end": 2399, + "start": 2345, + "end": 2359, "loc": { "start": { - "line": 107, + "line": 105, "column": 8 }, "end": { - "line": 107, + "line": 105, "column": 22 }, "identifierName": "newIncremental" @@ -3873,59 +3745,59 @@ ], "body": { "type": "BlockStatement", - "start": 2401, - "end": 2804, + "start": 2361, + "end": 2764, "loc": { "start": { - "line": 107, + "line": 105, "column": 24 }, "end": { - "line": 119, + "line": 117, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 2407, - "end": 2448, + "start": 2367, + "end": 2408, "loc": { "start": { - "line": 108, + "line": 106, "column": 4 }, "end": { - "line": 108, + "line": 106, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 2413, - "end": 2447, + "start": 2373, + "end": 2407, "loc": { "start": { - "line": 108, + "line": 106, "column": 10 }, "end": { - "line": 108, + "line": 106, "column": 44 } }, "id": { "type": "Identifier", - "start": 2413, - "end": 2424, + "start": 2373, + "end": 2384, "loc": { "start": { - "line": 108, + "line": 106, "column": 10 }, "end": { - "line": 108, + "line": 106, "column": 21 }, "identifierName": "incremental" @@ -3934,29 +3806,29 @@ }, "init": { "type": "BinaryExpression", - "start": 2427, - "end": 2447, + "start": 2387, + "end": 2407, "loc": { "start": { - "line": 108, + "line": 106, "column": 24 }, "end": { - "line": 108, + "line": 106, "column": 44 } }, "left": { "type": "Identifier", - "start": 2427, - "end": 2441, + "start": 2387, + "end": 2401, "loc": { "start": { - "line": 108, + "line": 106, "column": 24 }, "end": { - "line": 108, + "line": 106, "column": 38 }, "identifierName": "newIncremental" @@ -3966,15 +3838,15 @@ "operator": "%", "right": { "type": "NumericLiteral", - "start": 2444, - "end": 2447, + "start": 2404, + "end": 2407, "loc": { "start": { - "line": 108, + "line": 106, "column": 41 }, "end": { - "line": 108, + "line": 106, "column": 44 } }, @@ -3991,72 +3863,72 @@ }, { "type": "IfStatement", - "start": 2453, - "end": 2693, + "start": 2413, + "end": 2653, "loc": { "start": { - "line": 109, + "line": 107, "column": 4 }, "end": { - "line": 114, + "line": 112, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 2457, - "end": 2488, + "start": 2417, + "end": 2448, "loc": { "start": { - "line": 109, + "line": 107, "column": 8 }, "end": { - "line": 109, + "line": 107, "column": 39 } }, "left": { "type": "MemberExpression", - "start": 2457, - "end": 2474, + "start": 2417, + "end": 2434, "loc": { "start": { - "line": 109, + "line": 107, "column": 8 }, "end": { - "line": 109, + "line": 107, "column": 25 } }, "object": { "type": "ThisExpression", - "start": 2457, - "end": 2461, + "start": 2417, + "end": 2421, "loc": { "start": { - "line": 109, + "line": 107, "column": 8 }, "end": { - "line": 109, + "line": 107, "column": 12 } } }, "property": { "type": "Identifier", - "start": 2462, - "end": 2474, + "start": 2422, + "end": 2434, "loc": { "start": { - "line": 109, + "line": 107, "column": 13 }, "end": { - "line": 109, + "line": 107, "column": 25 }, "identifierName": "private_next" @@ -4068,15 +3940,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 2479, - "end": 2488, + "start": 2439, + "end": 2448, "loc": { "start": { - "line": 109, + "line": 107, "column": 30 }, "end": { - "line": 109, + "line": 107, "column": 39 }, "identifierName": "undefined" @@ -4086,59 +3958,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 2490, - "end": 2693, + "start": 2450, + "end": 2653, "loc": { "start": { - "line": 109, + "line": 107, "column": 41 }, "end": { - "line": 114, + "line": 112, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 2498, - "end": 2535, + "start": 2458, + "end": 2495, "loc": { "start": { - "line": 110, + "line": 108, "column": 6 }, "end": { - "line": 110, + "line": 108, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 2502, - "end": 2534, + "start": 2462, + "end": 2494, "loc": { "start": { - "line": 110, + "line": 108, "column": 10 }, "end": { - "line": 110, + "line": 108, "column": 42 } }, "id": { "type": "Identifier", - "start": 2502, - "end": 2510, + "start": 2462, + "end": 2470, "loc": { "start": { - "line": 110, + "line": 108, "column": 10 }, "end": { - "line": 110, + "line": 108, "column": 18 }, "identifierName": "newCoeff" @@ -4147,72 +4019,72 @@ }, "init": { "type": "BinaryExpression", - "start": 2513, - "end": 2534, + "start": 2473, + "end": 2494, "loc": { "start": { - "line": 110, + "line": 108, "column": 21 }, "end": { - "line": 110, + "line": 108, "column": 42 } }, "left": { "type": "BinaryExpression", - "start": 2514, - "end": 2528, + "start": 2474, + "end": 2488, "loc": { "start": { - "line": 110, + "line": 108, "column": 22 }, "end": { - "line": 110, + "line": 108, "column": 36 } }, "left": { "type": "MemberExpression", - "start": 2514, - "end": 2524, + "start": 2474, + "end": 2484, "loc": { "start": { - "line": 110, + "line": 108, "column": 22 }, "end": { - "line": 110, + "line": 108, "column": 32 } }, "object": { "type": "ThisExpression", - "start": 2514, - "end": 2518, + "start": 2474, + "end": 2478, "loc": { "start": { - "line": 110, + "line": 108, "column": 22 }, "end": { - "line": 110, + "line": 108, "column": 26 } } }, "property": { "type": "Identifier", - "start": 2519, - "end": 2524, + "start": 2479, + "end": 2484, "loc": { "start": { - "line": 110, + "line": 108, "column": 27 }, "end": { - "line": 110, + "line": 108, "column": 32 }, "identifierName": "coeff" @@ -4224,15 +4096,15 @@ "operator": "+", "right": { "type": "NumericLiteral", - "start": 2527, - "end": 2528, + "start": 2487, + "end": 2488, "loc": { "start": { - "line": 110, + "line": 108, "column": 35 }, "end": { - "line": 110, + "line": 108, "column": 36 } }, @@ -4244,21 +4116,21 @@ }, "extra": { "parenthesized": true, - "parenStart": 2513 + "parenStart": 2473 } }, "operator": "%", "right": { "type": "NumericLiteral", - "start": 2532, - "end": 2534, + "start": 2492, + "end": 2494, "loc": { "start": { - "line": 110, + "line": 108, "column": 40 }, "end": { - "line": 110, + "line": 108, "column": 42 } }, @@ -4275,44 +4147,44 @@ }, { "type": "ExpressionStatement", - "start": 2542, - "end": 2591, + "start": 2502, + "end": 2551, "loc": { "start": { - "line": 111, + "line": 109, "column": 6 }, "end": { - "line": 111, + "line": 109, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 2542, - "end": 2590, + "start": 2502, + "end": 2550, "loc": { "start": { - "line": 111, + "line": 109, "column": 6 }, "end": { - "line": 111, + "line": 109, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", - "start": 2542, - "end": 2550, + "start": 2502, + "end": 2510, "loc": { "start": { - "line": 111, + "line": 109, "column": 6 }, "end": { - "line": 111, + "line": 109, "column": 14 }, "identifierName": "newCoeff" @@ -4321,57 +4193,57 @@ }, "right": { "type": "ConditionalExpression", - "start": 2553, - "end": 2590, + "start": 2513, + "end": 2550, "loc": { "start": { - "line": 111, + "line": 109, "column": 17 }, "end": { - "line": 111, + "line": 109, "column": 54 } }, "test": { "type": "BinaryExpression", - "start": 2553, - "end": 2574, + "start": 2513, + "end": 2534, "loc": { "start": { - "line": 111, + "line": 109, "column": 17 }, "end": { - "line": 111, + "line": 109, "column": 38 } }, "left": { "type": "BinaryExpression", - "start": 2554, - "end": 2567, + "start": 2514, + "end": 2527, "loc": { "start": { - "line": 111, + "line": 109, "column": 18 }, "end": { - "line": 111, + "line": 109, "column": 31 } }, "left": { "type": "Identifier", - "start": 2554, - "end": 2562, + "start": 2514, + "end": 2522, "loc": { "start": { - "line": 111, + "line": 109, "column": 18 }, "end": { - "line": 111, + "line": 109, "column": 26 }, "identifierName": "newCoeff" @@ -4381,15 +4253,15 @@ "operator": "%", "right": { "type": "NumericLiteral", - "start": 2565, - "end": 2567, + "start": 2525, + "end": 2527, "loc": { "start": { - "line": 111, + "line": 109, "column": 29 }, "end": { - "line": 111, + "line": 109, "column": 31 } }, @@ -4401,21 +4273,21 @@ }, "extra": { "parenthesized": true, - "parenStart": 2553 + "parenStart": 2513 } }, "operator": "===", "right": { "type": "NumericLiteral", - "start": 2573, - "end": 2574, + "start": 2533, + "end": 2534, "loc": { "start": { - "line": 111, + "line": 109, "column": 37 }, "end": { - "line": 111, + "line": 109, "column": 38 } }, @@ -4428,15 +4300,15 @@ }, "consequent": { "type": "NumericLiteral", - "start": 2577, - "end": 2579, + "start": 2537, + "end": 2539, "loc": { "start": { - "line": 111, + "line": 109, "column": 41 }, "end": { - "line": 111, + "line": 109, "column": 43 } }, @@ -4448,15 +4320,15 @@ }, "alternate": { "type": "Identifier", - "start": 2582, - "end": 2590, + "start": 2542, + "end": 2550, "loc": { "start": { - "line": 111, + "line": 109, "column": 46 }, "end": { - "line": 111, + "line": 109, "column": 54 }, "identifierName": "newCoeff" @@ -4468,44 +4340,44 @@ }, { "type": "VariableDeclaration", - "start": 2598, - "end": 2631, + "start": 2558, + "end": 2591, "loc": { "start": { - "line": 112, + "line": 110, "column": 6 }, "end": { - "line": 112, + "line": 110, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 2604, - "end": 2630, + "start": 2564, + "end": 2590, "loc": { "start": { - "line": 112, + "line": 110, "column": 12 }, "end": { - "line": 112, + "line": 110, "column": 38 } }, "id": { "type": "Identifier", - "start": 2604, - "end": 2610, + "start": 2564, + "end": 2570, "loc": { "start": { - "line": 112, + "line": 110, "column": 12 }, "end": { - "line": 112, + "line": 110, "column": 18 }, "identifierName": "newDay" @@ -4514,72 +4386,72 @@ }, "init": { "type": "CallExpression", - "start": 2613, - "end": 2630, + "start": 2573, + "end": 2590, "loc": { "start": { - "line": 112, + "line": 110, "column": 21 }, "end": { - "line": 112, + "line": 110, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 2613, - "end": 2627, + "start": 2573, + "end": 2587, "loc": { "start": { - "line": 112, + "line": 110, "column": 21 }, "end": { - "line": 112, + "line": 110, "column": 35 } }, "object": { "type": "MemberExpression", - "start": 2613, - "end": 2621, + "start": 2573, + "end": 2581, "loc": { "start": { - "line": 112, + "line": 110, "column": 21 }, "end": { - "line": 112, + "line": 110, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 2613, - "end": 2617, + "start": 2573, + "end": 2577, "loc": { "start": { - "line": 112, + "line": 110, "column": 21 }, "end": { - "line": 112, + "line": 110, "column": 25 } } }, "property": { "type": "Identifier", - "start": 2618, - "end": 2621, + "start": 2578, + "end": 2581, "loc": { "start": { - "line": 112, + "line": 110, "column": 26 }, "end": { - "line": 112, + "line": 110, "column": 29 }, "identifierName": "day" @@ -4590,15 +4462,15 @@ }, "property": { "type": "Identifier", - "start": 2622, - "end": 2627, + "start": 2582, + "end": 2587, "loc": { "start": { - "line": 112, + "line": 110, "column": 30 }, "end": { - "line": 112, + "line": 110, "column": 35 }, "identifierName": "shift" @@ -4610,15 +4482,15 @@ "arguments": [ { "type": "NumericLiteral", - "start": 2628, - "end": 2629, + "start": 2588, + "end": 2589, "loc": { "start": { - "line": 112, + "line": 110, "column": 36 }, "end": { - "line": 112, + "line": 110, "column": 37 } }, @@ -4636,73 +4508,73 @@ }, { "type": "ExpressionStatement", - "start": 2638, - "end": 2687, + "start": 2598, + "end": 2647, "loc": { "start": { - "line": 113, + "line": 111, "column": 6 }, "end": { - "line": 113, + "line": 111, "column": 55 } }, "expression": { "type": "AssignmentExpression", - "start": 2638, - "end": 2686, + "start": 2598, + "end": 2646, "loc": { "start": { - "line": 113, + "line": 111, "column": 6 }, "end": { - "line": 113, + "line": 111, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 2638, - "end": 2655, + "start": 2598, + "end": 2615, "loc": { "start": { - "line": 113, + "line": 111, "column": 6 }, "end": { - "line": 113, + "line": 111, "column": 23 } }, "object": { "type": "ThisExpression", - "start": 2638, - "end": 2642, + "start": 2598, + "end": 2602, "loc": { "start": { - "line": 113, + "line": 111, "column": 6 }, "end": { - "line": 113, + "line": 111, "column": 10 } } }, "property": { "type": "Identifier", - "start": 2643, - "end": 2655, + "start": 2603, + "end": 2615, "loc": { "start": { - "line": 113, + "line": 111, "column": 11 }, "end": { - "line": 113, + "line": 111, "column": 23 }, "identifierName": "private_next" @@ -4713,29 +4585,29 @@ }, "right": { "type": "CallExpression", - "start": 2658, - "end": 2686, + "start": 2618, + "end": 2646, "loc": { "start": { - "line": 113, + "line": 111, "column": 26 }, "end": { - "line": 113, + "line": 111, "column": 54 } }, "callee": { "type": "Identifier", - "start": 2658, - "end": 2668, + "start": 2618, + "end": 2628, "loc": { "start": { - "line": 113, + "line": 111, "column": 26 }, "end": { - "line": 113, + "line": 111, "column": 36 }, "identifierName": "getTzolkin" @@ -4745,15 +4617,15 @@ "arguments": [ { "type": "Identifier", - "start": 2669, - "end": 2677, + "start": 2629, + "end": 2637, "loc": { "start": { - "line": 113, + "line": 111, "column": 37 }, "end": { - "line": 113, + "line": 111, "column": 45 }, "identifierName": "newCoeff" @@ -4762,15 +4634,15 @@ }, { "type": "Identifier", - "start": 2679, - "end": 2685, + "start": 2639, + "end": 2645, "loc": { "start": { - "line": 113, + "line": 111, "column": 47 }, "end": { - "line": 113, + "line": 111, "column": 53 }, "identifierName": "newDay" @@ -4788,43 +4660,43 @@ }, { "type": "IfStatement", - "start": 2698, - "end": 2747, + "start": 2658, + "end": 2707, "loc": { "start": { - "line": 115, + "line": 113, "column": 4 }, "end": { - "line": 117, + "line": 115, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 2702, - "end": 2719, + "start": 2662, + "end": 2679, "loc": { "start": { - "line": 115, + "line": 113, "column": 8 }, "end": { - "line": 115, + "line": 113, "column": 25 } }, "left": { "type": "Identifier", - "start": 2702, - "end": 2713, + "start": 2662, + "end": 2673, "loc": { "start": { - "line": 115, + "line": 113, "column": 8 }, "end": { - "line": 115, + "line": 113, "column": 19 }, "identifierName": "incremental" @@ -4834,15 +4706,15 @@ "operator": "===", "right": { "type": "NumericLiteral", - "start": 2718, - "end": 2719, + "start": 2678, + "end": 2679, "loc": { "start": { - "line": 115, + "line": 113, "column": 24 }, "end": { - "line": 115, + "line": 113, "column": 25 } }, @@ -4855,44 +4727,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 2721, - "end": 2747, + "start": 2681, + "end": 2707, "loc": { "start": { - "line": 115, + "line": 113, "column": 27 }, "end": { - "line": 117, + "line": 115, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 2729, - "end": 2741, + "start": 2689, + "end": 2701, "loc": { "start": { - "line": 116, + "line": 114, "column": 6 }, "end": { - "line": 116, + "line": 114, "column": 18 } }, "argument": { "type": "ThisExpression", - "start": 2736, - "end": 2740, + "start": 2696, + "end": 2700, "loc": { "start": { - "line": 116, + "line": 114, "column": 13 }, "end": { - "line": 116, + "line": 114, "column": 17 } } @@ -4905,86 +4777,86 @@ }, { "type": "ReturnStatement", - "start": 2752, - "end": 2800, + "start": 2712, + "end": 2760, "loc": { "start": { - "line": 118, + "line": 116, "column": 4 }, "end": { - "line": 118, + "line": 116, "column": 52 } }, "argument": { "type": "CallExpression", - "start": 2759, - "end": 2799, + "start": 2719, + "end": 2759, "loc": { "start": { - "line": 118, + "line": 116, "column": 11 }, "end": { - "line": 118, + "line": 116, "column": 51 } }, "callee": { "type": "MemberExpression", - "start": 2759, - "end": 2782, + "start": 2719, + "end": 2742, "loc": { "start": { - "line": 118, + "line": 116, "column": 11 }, "end": { - "line": 118, + "line": 116, "column": 34 } }, "object": { "type": "MemberExpression", - "start": 2759, - "end": 2776, + "start": 2719, + "end": 2736, "loc": { "start": { - "line": 118, + "line": 116, "column": 11 }, "end": { - "line": 118, + "line": 116, "column": 28 } }, "object": { "type": "ThisExpression", - "start": 2759, - "end": 2763, + "start": 2719, + "end": 2723, "loc": { "start": { - "line": 118, + "line": 116, "column": 11 }, "end": { - "line": 118, + "line": 116, "column": 15 } } }, "property": { "type": "Identifier", - "start": 2764, - "end": 2776, + "start": 2724, + "end": 2736, "loc": { "start": { - "line": 118, + "line": 116, "column": 16 }, "end": { - "line": 118, + "line": 116, "column": 28 }, "identifierName": "private_next" @@ -4995,15 +4867,15 @@ }, "property": { "type": "Identifier", - "start": 2777, - "end": 2782, + "start": 2737, + "end": 2742, "loc": { "start": { - "line": 118, + "line": 116, "column": 29 }, "end": { - "line": 118, + "line": 116, "column": 34 }, "identifierName": "shift" @@ -5015,29 +4887,29 @@ "arguments": [ { "type": "BinaryExpression", - "start": 2783, - "end": 2798, + "start": 2743, + "end": 2758, "loc": { "start": { - "line": 118, + "line": 116, "column": 35 }, "end": { - "line": 118, + "line": 116, "column": 50 } }, "left": { "type": "Identifier", - "start": 2783, - "end": 2794, + "start": 2743, + "end": 2754, "loc": { "start": { - "line": 118, + "line": 116, "column": 35 }, "end": { - "line": 118, + "line": 116, "column": 46 }, "identifierName": "incremental" @@ -5047,15 +4919,15 @@ "operator": "-", "right": { "type": "NumericLiteral", - "start": 2797, - "end": 2798, + "start": 2757, + "end": 2758, "loc": { "start": { - "line": 118, + "line": 116, "column": 49 }, "end": { - "line": 118, + "line": 116, "column": 50 } }, @@ -5077,15 +4949,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {Number} newIncremental\n * @return {Tzolkin}\n ", - "start": 2303, - "end": 2376, + "start": 2263, + "end": 2336, "loc": { "start": { - "line": 102, + "line": 100, "column": 2 }, "end": { - "line": 106, + "line": 104, "column": 5 } } @@ -5095,15 +4967,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Tzolkin object has the same configuration as another Tzolkin\n * object. Does not take wildcards into account.\n * @param {Tzolkin} newTzolkin\n * @return {boolean}\n ", - "start": 2808, - "end": 3002, + "start": 2768, + "end": 2962, "loc": { "start": { - "line": 121, + "line": 119, "column": 2 }, "end": { - "line": 126, + "line": 124, "column": 5 } } @@ -5112,15 +4984,15 @@ }, { "type": "ClassMethod", - "start": 3005, - "end": 3115, + "start": 2965, + "end": 3075, "loc": { "start": { - "line": 127, + "line": 125, "column": 2 }, "end": { - "line": 130, + "line": 128, "column": 3 } }, @@ -5128,15 +5000,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3005, - "end": 3010, + "start": 2965, + "end": 2970, "loc": { "start": { - "line": 127, + "line": 125, "column": 2 }, "end": { - "line": 127, + "line": 125, "column": 7 }, "identifierName": "equal" @@ -5152,15 +5024,15 @@ "params": [ { "type": "Identifier", - "start": 3011, - "end": 3021, + "start": 2971, + "end": 2981, "loc": { "start": { - "line": 127, + "line": 125, "column": 8 }, "end": { - "line": 127, + "line": 125, "column": 18 }, "identifierName": "newTzolkin" @@ -5170,101 +5042,101 @@ ], "body": { "type": "BlockStatement", - "start": 3023, - "end": 3115, + "start": 2983, + "end": 3075, "loc": { "start": { - "line": 127, + "line": 125, "column": 20 }, "end": { - "line": 130, + "line": 128, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 3029, - "end": 3111, + "start": 2989, + "end": 3071, "loc": { "start": { - "line": 128, + "line": 126, "column": 4 }, "end": { - "line": 129, + "line": 127, "column": 41 } }, "argument": { "type": "LogicalExpression", - "start": 3036, - "end": 3110, + "start": 2996, + "end": 3070, "loc": { "start": { - "line": 128, + "line": 126, "column": 11 }, "end": { - "line": 129, + "line": 127, "column": 40 } }, "left": { "type": "BinaryExpression", - "start": 3037, - "end": 3068, + "start": 2997, + "end": 3028, "loc": { "start": { - "line": 128, + "line": 126, "column": 12 }, "end": { - "line": 128, + "line": 126, "column": 43 } }, "left": { "type": "MemberExpression", - "start": 3037, - "end": 3047, + "start": 2997, + "end": 3007, "loc": { "start": { - "line": 128, + "line": 126, "column": 12 }, "end": { - "line": 128, + "line": 126, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 3037, - "end": 3041, + "start": 2997, + "end": 3001, "loc": { "start": { - "line": 128, + "line": 126, "column": 12 }, "end": { - "line": 128, + "line": 126, "column": 16 } } }, "property": { "type": "Identifier", - "start": 3042, - "end": 3047, + "start": 3002, + "end": 3007, "loc": { "start": { - "line": 128, + "line": 126, "column": 17 }, "end": { - "line": 128, + "line": 126, "column": 22 }, "identifierName": "coeff" @@ -5276,29 +5148,29 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 3052, - "end": 3068, + "start": 3012, + "end": 3028, "loc": { "start": { - "line": 128, + "line": 126, "column": 27 }, "end": { - "line": 128, + "line": 126, "column": 43 } }, "object": { "type": "Identifier", - "start": 3052, - "end": 3062, + "start": 3012, + "end": 3022, "loc": { "start": { - "line": 128, + "line": 126, "column": 27 }, "end": { - "line": 128, + "line": 126, "column": 37 }, "identifierName": "newTzolkin" @@ -5307,15 +5179,15 @@ }, "property": { "type": "Identifier", - "start": 3063, - "end": 3068, + "start": 3023, + "end": 3028, "loc": { "start": { - "line": 128, + "line": 126, "column": 38 }, "end": { - "line": 128, + "line": 126, "column": 43 }, "identifierName": "coeff" @@ -5326,64 +5198,64 @@ }, "extra": { "parenthesized": true, - "parenStart": 3036 + "parenStart": 2996 } }, "operator": "&&", "right": { "type": "BinaryExpression", - "start": 3080, - "end": 3109, + "start": 3040, + "end": 3069, "loc": { "start": { - "line": 129, + "line": 127, "column": 10 }, "end": { - "line": 129, + "line": 127, "column": 39 } }, "left": { "type": "MemberExpression", - "start": 3080, - "end": 3089, + "start": 3040, + "end": 3049, "loc": { "start": { - "line": 129, + "line": 127, "column": 10 }, "end": { - "line": 129, + "line": 127, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 3080, - "end": 3084, + "start": 3040, + "end": 3044, "loc": { "start": { - "line": 129, + "line": 127, "column": 10 }, "end": { - "line": 129, + "line": 127, "column": 14 } } }, "property": { "type": "Identifier", - "start": 3085, - "end": 3089, + "start": 3045, + "end": 3049, "loc": { "start": { - "line": 129, + "line": 127, "column": 15 }, "end": { - "line": 129, + "line": 127, "column": 19 }, "identifierName": "name" @@ -5395,29 +5267,29 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 3094, - "end": 3109, + "start": 3054, + "end": 3069, "loc": { "start": { - "line": 129, + "line": 127, "column": 24 }, "end": { - "line": 129, + "line": 127, "column": 39 } }, "object": { "type": "Identifier", - "start": 3094, - "end": 3104, + "start": 3054, + "end": 3064, "loc": { "start": { - "line": 129, + "line": 127, "column": 24 }, "end": { - "line": 129, + "line": 127, "column": 34 }, "identifierName": "newTzolkin" @@ -5426,15 +5298,15 @@ }, "property": { "type": "Identifier", - "start": 3105, - "end": 3109, + "start": 3065, + "end": 3069, "loc": { "start": { - "line": 129, + "line": 127, "column": 35 }, "end": { - "line": 129, + "line": 127, "column": 39 }, "identifierName": "name" @@ -5445,7 +5317,7 @@ }, "extra": { "parenthesized": true, - "parenStart": 3079 + "parenStart": 3039 } } } @@ -5458,15 +5330,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Tzolkin object has the same configuration as another Tzolkin\n * object. Does not take wildcards into account.\n * @param {Tzolkin} newTzolkin\n * @return {boolean}\n ", - "start": 2808, - "end": 3002, + "start": 2768, + "end": 2962, "loc": { "start": { - "line": 121, + "line": 119, "column": 2 }, "end": { - "line": 126, + "line": 124, "column": 5 } } @@ -5476,15 +5348,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Tzolkin object has a matching configuration as another Tzolkin\n * object. Takes wildcards into account.\n * @param {Tzolkin} newTzolkin\n * @return {boolean}\n ", - "start": 3119, - "end": 3307, + "start": 3079, + "end": 3267, "loc": { "start": { - "line": 132, + "line": 130, "column": 2 }, "end": { - "line": 137, + "line": 135, "column": 5 } } @@ -5493,15 +5365,15 @@ }, { "type": "ClassMethod", - "start": 3310, - "end": 3662, + "start": 3270, + "end": 3622, "loc": { "start": { - "line": 138, + "line": 136, "column": 2 }, "end": { - "line": 151, + "line": 149, "column": 3 } }, @@ -5509,15 +5381,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3310, - "end": 3315, + "start": 3270, + "end": 3275, "loc": { "start": { - "line": 138, + "line": 136, "column": 2 }, "end": { - "line": 138, + "line": 136, "column": 7 }, "identifierName": "match" @@ -5533,15 +5405,15 @@ "params": [ { "type": "Identifier", - "start": 3316, - "end": 3326, + "start": 3276, + "end": 3286, "loc": { "start": { - "line": 138, + "line": 136, "column": 8 }, "end": { - "line": 138, + "line": 136, "column": 18 }, "identifierName": "newTzolkin" @@ -5551,58 +5423,58 @@ ], "body": { "type": "BlockStatement", - "start": 3328, - "end": 3662, + "start": 3288, + "end": 3622, "loc": { "start": { - "line": 138, + "line": 136, "column": 20 }, "end": { - "line": 151, + "line": 149, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 3334, - "end": 3385, + "start": 3294, + "end": 3345, "loc": { "start": { - "line": 139, + "line": 137, "column": 4 }, "end": { - "line": 141, + "line": 139, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 3338, - "end": 3357, + "start": 3298, + "end": 3317, "loc": { "start": { - "line": 139, + "line": 137, "column": 8 }, "end": { - "line": 139, + "line": 137, "column": 27 } }, "left": { "type": "ThisExpression", - "start": 3338, - "end": 3342, + "start": 3298, + "end": 3302, "loc": { "start": { - "line": 139, + "line": 137, "column": 8 }, "end": { - "line": 139, + "line": 137, "column": 12 } } @@ -5610,15 +5482,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 3347, - "end": 3357, + "start": 3307, + "end": 3317, "loc": { "start": { - "line": 139, + "line": 137, "column": 17 }, "end": { - "line": 139, + "line": 137, "column": 27 }, "identifierName": "newTzolkin" @@ -5628,44 +5500,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 3359, - "end": 3385, + "start": 3319, + "end": 3345, "loc": { "start": { - "line": 139, + "line": 137, "column": 29 }, "end": { - "line": 141, + "line": 139, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 3367, - "end": 3379, + "start": 3327, + "end": 3339, "loc": { "start": { - "line": 140, + "line": 138, "column": 6 }, "end": { - "line": 140, + "line": 138, "column": 18 } }, "argument": { "type": "BooleanLiteral", - "start": 3374, - "end": 3378, + "start": 3334, + "end": 3338, "loc": { "start": { - "line": 140, + "line": 138, "column": 13 }, "end": { - "line": 140, + "line": 138, "column": 17 } }, @@ -5679,114 +5551,114 @@ }, { "type": "ReturnStatement", - "start": 3390, - "end": 3658, + "start": 3350, + "end": 3618, "loc": { "start": { - "line": 142, + "line": 140, "column": 4 }, "end": { - "line": 150, + "line": 148, "column": 6 } }, "argument": { "type": "LogicalExpression", - "start": 3397, - "end": 3657, + "start": 3357, + "end": 3617, "loc": { "start": { - "line": 142, + "line": 140, "column": 11 }, "end": { - "line": 150, + "line": 148, "column": 5 } }, "left": { "type": "ConditionalExpression", - "start": 3405, - "end": 3522, + "start": 3365, + "end": 3482, "loc": { "start": { - "line": 143, + "line": 141, "column": 6 }, "end": { - "line": 145, + "line": 143, "column": 43 } }, "test": { "type": "LogicalExpression", - "start": 3406, - "end": 3462, + "start": 3366, + "end": 3422, "loc": { "start": { - "line": 143, + "line": 141, "column": 7 }, "end": { - "line": 143, + "line": 141, "column": 63 } }, "left": { "type": "BinaryExpression", - "start": 3406, - "end": 3429, + "start": 3366, + "end": 3389, "loc": { "start": { - "line": 143, + "line": 141, "column": 7 }, "end": { - "line": 143, + "line": 141, "column": 30 } }, "left": { "type": "MemberExpression", - "start": 3406, - "end": 3416, + "start": 3366, + "end": 3376, "loc": { "start": { - "line": 143, + "line": 141, "column": 7 }, "end": { - "line": 143, + "line": 141, "column": 17 } }, "object": { "type": "ThisExpression", - "start": 3406, - "end": 3410, + "start": 3366, + "end": 3370, "loc": { "start": { - "line": 143, + "line": 141, "column": 7 }, "end": { - "line": 143, + "line": 141, "column": 11 } } }, "property": { "type": "Identifier", - "start": 3411, - "end": 3416, + "start": 3371, + "end": 3376, "loc": { "start": { - "line": 143, + "line": 141, "column": 12 }, "end": { - "line": 143, + "line": 141, "column": 17 }, "identifierName": "coeff" @@ -5798,15 +5670,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 3421, - "end": 3429, + "start": 3381, + "end": 3389, "loc": { "start": { - "line": 143, + "line": 141, "column": 22 }, "end": { - "line": 143, + "line": 141, "column": 30 }, "identifierName": "wildcard" @@ -5817,43 +5689,43 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 3433, - "end": 3462, + "start": 3393, + "end": 3422, "loc": { "start": { - "line": 143, + "line": 141, "column": 34 }, "end": { - "line": 143, + "line": 141, "column": 63 } }, "left": { "type": "MemberExpression", - "start": 3433, - "end": 3449, + "start": 3393, + "end": 3409, "loc": { "start": { - "line": 143, + "line": 141, "column": 34 }, "end": { - "line": 143, + "line": 141, "column": 50 } }, "object": { "type": "Identifier", - "start": 3433, - "end": 3443, + "start": 3393, + "end": 3403, "loc": { "start": { - "line": 143, + "line": 141, "column": 34 }, "end": { - "line": 143, + "line": 141, "column": 44 }, "identifierName": "newTzolkin" @@ -5862,15 +5734,15 @@ }, "property": { "type": "Identifier", - "start": 3444, - "end": 3449, + "start": 3404, + "end": 3409, "loc": { "start": { - "line": 143, + "line": 141, "column": 45 }, "end": { - "line": 143, + "line": 141, "column": 50 }, "identifierName": "coeff" @@ -5882,15 +5754,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 3454, - "end": 3462, + "start": 3414, + "end": 3422, "loc": { "start": { - "line": 143, + "line": 141, "column": 55 }, "end": { - "line": 143, + "line": 141, "column": 63 }, "identifierName": "wildcard" @@ -5900,20 +5772,20 @@ }, "extra": { "parenthesized": true, - "parenStart": 3405 + "parenStart": 3365 } }, "consequent": { "type": "BooleanLiteral", - "start": 3474, - "end": 3478, + "start": 3434, + "end": 3438, "loc": { "start": { - "line": 144, + "line": 142, "column": 10 }, "end": { - "line": 144, + "line": 142, "column": 14 } }, @@ -5921,58 +5793,58 @@ }, "alternate": { "type": "BinaryExpression", - "start": 3490, - "end": 3521, + "start": 3450, + "end": 3481, "loc": { "start": { - "line": 145, + "line": 143, "column": 11 }, "end": { - "line": 145, + "line": 143, "column": 42 } }, "left": { "type": "MemberExpression", - "start": 3490, - "end": 3500, + "start": 3450, + "end": 3460, "loc": { "start": { - "line": 145, + "line": 143, "column": 11 }, "end": { - "line": 145, + "line": 143, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 3490, - "end": 3494, + "start": 3450, + "end": 3454, "loc": { "start": { - "line": 145, + "line": 143, "column": 11 }, "end": { - "line": 145, + "line": 143, "column": 15 } } }, "property": { "type": "Identifier", - "start": 3495, - "end": 3500, + "start": 3455, + "end": 3460, "loc": { "start": { - "line": 145, + "line": 143, "column": 16 }, "end": { - "line": 145, + "line": 143, "column": 21 }, "identifierName": "coeff" @@ -5984,29 +5856,29 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 3505, - "end": 3521, + "start": 3465, + "end": 3481, "loc": { "start": { - "line": 145, + "line": 143, "column": 26 }, "end": { - "line": 145, + "line": 143, "column": 42 } }, "object": { "type": "Identifier", - "start": 3505, - "end": 3515, + "start": 3465, + "end": 3475, "loc": { "start": { - "line": 145, + "line": 143, "column": 26 }, "end": { - "line": 145, + "line": 143, "column": 36 }, "identifierName": "newTzolkin" @@ -6015,15 +5887,15 @@ }, "property": { "type": "Identifier", - "start": 3516, - "end": 3521, + "start": 3476, + "end": 3481, "loc": { "start": { - "line": 145, + "line": 143, "column": 37 }, "end": { - "line": 145, + "line": 143, "column": 42 }, "identifierName": "coeff" @@ -6034,97 +5906,97 @@ }, "extra": { "parenthesized": true, - "parenStart": 3489 + "parenStart": 3449 } }, "extra": { "parenthesized": true, - "parenStart": 3397 + "parenStart": 3357 } }, "operator": "&&", "right": { "type": "ConditionalExpression", - "start": 3540, - "end": 3651, + "start": 3500, + "end": 3611, "loc": { "start": { - "line": 147, + "line": 145, "column": 6 }, "end": { - "line": 149, + "line": 147, "column": 41 } }, "test": { "type": "LogicalExpression", - "start": 3541, - "end": 3593, + "start": 3501, + "end": 3553, "loc": { "start": { - "line": 147, + "line": 145, "column": 7 }, "end": { - "line": 147, + "line": 145, "column": 59 } }, "left": { "type": "BinaryExpression", - "start": 3541, - "end": 3562, + "start": 3501, + "end": 3522, "loc": { "start": { - "line": 147, + "line": 145, "column": 7 }, "end": { - "line": 147, + "line": 145, "column": 28 } }, "left": { "type": "MemberExpression", - "start": 3541, - "end": 3549, + "start": 3501, + "end": 3509, "loc": { "start": { - "line": 147, + "line": 145, "column": 7 }, "end": { - "line": 147, + "line": 145, "column": 15 } }, "object": { "type": "ThisExpression", - "start": 3541, - "end": 3545, + "start": 3501, + "end": 3505, "loc": { "start": { - "line": 147, + "line": 145, "column": 7 }, "end": { - "line": 147, + "line": 145, "column": 11 } } }, "property": { "type": "Identifier", - "start": 3546, - "end": 3549, + "start": 3506, + "end": 3509, "loc": { "start": { - "line": 147, + "line": 145, "column": 12 }, "end": { - "line": 147, + "line": 145, "column": 15 }, "identifierName": "day" @@ -6136,15 +6008,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 3554, - "end": 3562, + "start": 3514, + "end": 3522, "loc": { "start": { - "line": 147, + "line": 145, "column": 20 }, "end": { - "line": 147, + "line": 145, "column": 28 }, "identifierName": "wildcard" @@ -6155,43 +6027,43 @@ "operator": "||", "right": { "type": "BinaryExpression", - "start": 3566, - "end": 3593, + "start": 3526, + "end": 3553, "loc": { "start": { - "line": 147, + "line": 145, "column": 32 }, "end": { - "line": 147, + "line": 145, "column": 59 } }, "left": { "type": "MemberExpression", - "start": 3566, - "end": 3580, + "start": 3526, + "end": 3540, "loc": { "start": { - "line": 147, + "line": 145, "column": 32 }, "end": { - "line": 147, + "line": 145, "column": 46 } }, "object": { "type": "Identifier", - "start": 3566, - "end": 3576, + "start": 3526, + "end": 3536, "loc": { "start": { - "line": 147, + "line": 145, "column": 32 }, "end": { - "line": 147, + "line": 145, "column": 42 }, "identifierName": "newTzolkin" @@ -6200,15 +6072,15 @@ }, "property": { "type": "Identifier", - "start": 3577, - "end": 3580, + "start": 3537, + "end": 3540, "loc": { "start": { - "line": 147, + "line": 145, "column": 43 }, "end": { - "line": 147, + "line": 145, "column": 46 }, "identifierName": "day" @@ -6220,15 +6092,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 3585, - "end": 3593, + "start": 3545, + "end": 3553, "loc": { "start": { - "line": 147, + "line": 145, "column": 51 }, "end": { - "line": 147, + "line": 145, "column": 59 }, "identifierName": "wildcard" @@ -6238,20 +6110,20 @@ }, "extra": { "parenthesized": true, - "parenStart": 3540 + "parenStart": 3500 } }, "consequent": { "type": "BooleanLiteral", - "start": 3605, - "end": 3609, + "start": 3565, + "end": 3569, "loc": { "start": { - "line": 148, + "line": 146, "column": 10 }, "end": { - "line": 148, + "line": 146, "column": 14 } }, @@ -6259,58 +6131,58 @@ }, "alternate": { "type": "BinaryExpression", - "start": 3621, - "end": 3650, + "start": 3581, + "end": 3610, "loc": { "start": { - "line": 149, + "line": 147, "column": 11 }, "end": { - "line": 149, + "line": 147, "column": 40 } }, "left": { "type": "MemberExpression", - "start": 3621, - "end": 3630, + "start": 3581, + "end": 3590, "loc": { "start": { - "line": 149, + "line": 147, "column": 11 }, "end": { - "line": 149, + "line": 147, "column": 20 } }, "object": { "type": "ThisExpression", - "start": 3621, - "end": 3625, + "start": 3581, + "end": 3585, "loc": { "start": { - "line": 149, + "line": 147, "column": 11 }, "end": { - "line": 149, + "line": 147, "column": 15 } } }, "property": { "type": "Identifier", - "start": 3626, - "end": 3630, + "start": 3586, + "end": 3590, "loc": { "start": { - "line": 149, + "line": 147, "column": 16 }, "end": { - "line": 149, + "line": 147, "column": 20 }, "identifierName": "name" @@ -6322,29 +6194,29 @@ "operator": "===", "right": { "type": "MemberExpression", - "start": 3635, - "end": 3650, + "start": 3595, + "end": 3610, "loc": { "start": { - "line": 149, + "line": 147, "column": 25 }, "end": { - "line": 149, + "line": 147, "column": 40 } }, "object": { "type": "Identifier", - "start": 3635, - "end": 3645, + "start": 3595, + "end": 3605, "loc": { "start": { - "line": 149, + "line": 147, "column": 25 }, "end": { - "line": 149, + "line": 147, "column": 35 }, "identifierName": "newTzolkin" @@ -6353,15 +6225,15 @@ }, "property": { "type": "Identifier", - "start": 3646, - "end": 3650, + "start": 3606, + "end": 3610, "loc": { "start": { - "line": 149, + "line": 147, "column": 36 }, "end": { - "line": 149, + "line": 147, "column": 40 }, "identifierName": "name" @@ -6372,12 +6244,12 @@ }, "extra": { "parenthesized": true, - "parenStart": 3620 + "parenStart": 3580 } }, "extra": { "parenthesized": true, - "parenStart": 3532 + "parenStart": 3492 } } } @@ -6390,15 +6262,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Tzolkin object has a matching configuration as another Tzolkin\n * object. Takes wildcards into account.\n * @param {Tzolkin} newTzolkin\n * @return {boolean}\n ", - "start": 3119, - "end": 3307, + "start": 3079, + "end": 3267, "loc": { "start": { - "line": 132, + "line": 130, "column": 2 }, "end": { - "line": 137, + "line": 135, "column": 5 } } @@ -6408,15 +6280,15 @@ { "type": "CommentBlock", "value": "*\n * Return a string representation of the 260-day cycle name\n * @returns {string}\n ", - "start": 3666, - "end": 3760, + "start": 3626, + "end": 3720, "loc": { "start": { - "line": 153, + "line": 151, "column": 2 }, "end": { - "line": 156, + "line": 154, "column": 5 } } @@ -6425,15 +6297,15 @@ }, { "type": "ClassMethod", - "start": 3763, - "end": 3867, + "start": 3723, + "end": 3827, "loc": { "start": { - "line": 157, + "line": 155, "column": 2 }, "end": { - "line": 162, + "line": 160, "column": 3 } }, @@ -6441,15 +6313,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3767, - "end": 3771, + "start": 3727, + "end": 3731, "loc": { "start": { - "line": 157, + "line": 155, "column": 6 }, "end": { - "line": 157, + "line": 155, "column": 10 }, "identifierName": "name" @@ -6464,87 +6336,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3774, - "end": 3867, + "start": 3734, + "end": 3827, "loc": { "start": { - "line": 157, + "line": 155, "column": 13 }, "end": { - "line": 162, + "line": 160, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 3780, - "end": 3837, + "start": 3740, + "end": 3797, "loc": { "start": { - "line": 158, + "line": 156, "column": 4 }, "end": { - "line": 160, + "line": 158, "column": 5 } }, "test": { "type": "BinaryExpression", - "start": 3784, - "end": 3805, + "start": 3744, + "end": 3765, "loc": { "start": { - "line": 158, + "line": 156, "column": 8 }, "end": { - "line": 158, + "line": 156, "column": 29 } }, "left": { "type": "MemberExpression", - "start": 3784, - "end": 3792, + "start": 3744, + "end": 3752, "loc": { "start": { - "line": 158, + "line": 156, "column": 8 }, "end": { - "line": 158, + "line": 156, "column": 16 } }, "object": { "type": "ThisExpression", - "start": 3784, - "end": 3788, + "start": 3744, + "end": 3748, "loc": { "start": { - "line": 158, + "line": 156, "column": 8 }, "end": { - "line": 158, + "line": 156, "column": 12 } } }, "property": { "type": "Identifier", - "start": 3789, - "end": 3792, + "start": 3749, + "end": 3752, "loc": { "start": { - "line": 158, + "line": 156, "column": 13 }, "end": { - "line": 158, + "line": 156, "column": 16 }, "identifierName": "day" @@ -6556,15 +6428,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 3797, - "end": 3805, + "start": 3757, + "end": 3765, "loc": { "start": { - "line": 158, + "line": 156, "column": 21 }, "end": { - "line": 158, + "line": 156, "column": 29 }, "identifierName": "wildcard" @@ -6574,73 +6446,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 3807, - "end": 3837, + "start": 3767, + "end": 3797, "loc": { "start": { - "line": 158, + "line": 156, "column": 31 }, "end": { - "line": 160, + "line": 158, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 3815, - "end": 3831, + "start": 3775, + "end": 3791, "loc": { "start": { - "line": 159, + "line": 157, "column": 6 }, "end": { - "line": 159, + "line": 157, "column": 22 } }, "argument": { "type": "MemberExpression", - "start": 3822, - "end": 3830, + "start": 3782, + "end": 3790, "loc": { "start": { - "line": 159, + "line": 157, "column": 13 }, "end": { - "line": 159, + "line": 157, "column": 21 } }, "object": { "type": "ThisExpression", - "start": 3822, - "end": 3826, + "start": 3782, + "end": 3786, "loc": { "start": { - "line": 159, + "line": 157, "column": 13 }, "end": { - "line": 159, + "line": 157, "column": 17 } } }, "property": { "type": "Identifier", - "start": 3827, - "end": 3830, + "start": 3787, + "end": 3790, "loc": { "start": { - "line": 159, + "line": 157, "column": 18 }, "end": { - "line": 159, + "line": 157, "column": 21 }, "identifierName": "day" @@ -6657,72 +6529,72 @@ }, { "type": "ReturnStatement", - "start": 3842, - "end": 3863, + "start": 3802, + "end": 3823, "loc": { "start": { - "line": 161, + "line": 159, "column": 4 }, "end": { - "line": 161, + "line": 159, "column": 25 } }, "argument": { "type": "MemberExpression", - "start": 3849, - "end": 3862, + "start": 3809, + "end": 3822, "loc": { "start": { - "line": 161, + "line": 159, "column": 11 }, "end": { - "line": 161, + "line": 159, "column": 24 } }, "object": { "type": "MemberExpression", - "start": 3849, - "end": 3857, + "start": 3809, + "end": 3817, "loc": { "start": { - "line": 161, + "line": 159, "column": 11 }, "end": { - "line": 161, + "line": 159, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 3849, - "end": 3853, + "start": 3809, + "end": 3813, "loc": { "start": { - "line": 161, + "line": 159, "column": 11 }, "end": { - "line": 161, + "line": 159, "column": 15 } } }, "property": { "type": "Identifier", - "start": 3854, - "end": 3857, + "start": 3814, + "end": 3817, "loc": { "start": { - "line": 161, + "line": 159, "column": 16 }, "end": { - "line": 161, + "line": 159, "column": 19 }, "identifierName": "day" @@ -6733,15 +6605,15 @@ }, "property": { "type": "Identifier", - "start": 3858, - "end": 3862, + "start": 3818, + "end": 3822, "loc": { "start": { - "line": 161, + "line": 159, "column": 20 }, "end": { - "line": 161, + "line": 159, "column": 24 }, "identifierName": "name" @@ -6759,15 +6631,15 @@ { "type": "CommentBlock", "value": "*\n * Return a string representation of the 260-day cycle name\n * @returns {string}\n ", - "start": 3666, - "end": 3760, + "start": 3626, + "end": 3720, "loc": { "start": { - "line": 153, + "line": 151, "column": 2 }, "end": { - "line": 156, + "line": 154, "column": 5 } } @@ -6777,15 +6649,15 @@ { "type": "CommentBlock", "value": "*\n * Render the 260-day cycle fullDate as a string\n * @returns {string}\n ", - "start": 3871, - "end": 3954, + "start": 3831, + "end": 3914, "loc": { "start": { - "line": 164, + "line": 162, "column": 2 }, "end": { - "line": 167, + "line": 165, "column": 5 } } @@ -6794,15 +6666,15 @@ }, { "type": "ClassMethod", - "start": 3957, - "end": 4105, + "start": 3917, + "end": 4065, "loc": { "start": { - "line": 168, + "line": 166, "column": 2 }, "end": { - "line": 173, + "line": 171, "column": 3 } }, @@ -6810,15 +6682,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3957, - "end": 3965, + "start": 3917, + "end": 3925, "loc": { "start": { - "line": 168, + "line": 166, "column": 2 }, "end": { - "line": 168, + "line": 166, "column": 10 }, "identifierName": "toString" @@ -6834,15 +6706,15 @@ "params": [ { "type": "Identifier", - "start": 3966, - "end": 3975, + "start": 3926, + "end": 3935, "loc": { "start": { - "line": 168, + "line": 166, "column": 11 }, "end": { - "line": 168, + "line": 166, "column": 20 }, "identifierName": "isNumeric" @@ -6852,44 +6724,44 @@ ], "body": { "type": "BlockStatement", - "start": 3977, - "end": 4105, + "start": 3937, + "end": 4065, "loc": { "start": { - "line": 168, + "line": 166, "column": 22 }, "end": { - "line": 173, + "line": 171, "column": 3 } }, "body": [ { "type": "IfStatement", - "start": 3983, - "end": 4060, + "start": 3943, + "end": 4020, "loc": { "start": { - "line": 169, + "line": 167, "column": 4 }, "end": { - "line": 171, + "line": 169, "column": 5 } }, "test": { "type": "Identifier", - "start": 3987, - "end": 3996, + "start": 3947, + "end": 3956, "loc": { "start": { - "line": 169, + "line": 167, "column": 8 }, "end": { - "line": 169, + "line": 167, "column": 17 }, "identifierName": "isNumeric" @@ -6898,88 +6770,88 @@ }, "consequent": { "type": "BlockStatement", - "start": 3998, - "end": 4060, + "start": 3958, + "end": 4020, "loc": { "start": { - "line": 169, + "line": 167, "column": 19 }, "end": { - "line": 171, + "line": 169, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 4006, - "end": 4054, + "start": 3966, + "end": 4014, "loc": { "start": { - "line": 170, + "line": 168, "column": 6 }, "end": { - "line": 170, + "line": 168, "column": 54 } }, "argument": { "type": "TemplateLiteral", - "start": 4013, - "end": 4053, + "start": 3973, + "end": 4013, "loc": { "start": { - "line": 170, + "line": 168, "column": 13 }, "end": { - "line": 170, + "line": 168, "column": 53 } }, "expressions": [ { "type": "MemberExpression", - "start": 4016, - "end": 4026, + "start": 3976, + "end": 3986, "loc": { "start": { - "line": 170, + "line": 168, "column": 16 }, "end": { - "line": 170, + "line": 168, "column": 26 } }, "object": { "type": "ThisExpression", - "start": 4016, - "end": 4020, + "start": 3976, + "end": 3980, "loc": { "start": { - "line": 170, + "line": 168, "column": 16 }, "end": { - "line": 170, + "line": 168, "column": 20 } } }, "property": { "type": "Identifier", - "start": 4021, - "end": 4026, + "start": 3981, + "end": 3986, "loc": { "start": { - "line": 170, + "line": 168, "column": 21 }, "end": { - "line": 170, + "line": 168, "column": 26 }, "identifierName": "coeff" @@ -6990,58 +6862,58 @@ }, { "type": "MemberExpression", - "start": 4030, - "end": 4051, + "start": 3990, + "end": 4011, "loc": { "start": { - "line": 170, + "line": 168, "column": 30 }, "end": { - "line": 170, + "line": 168, "column": 51 } }, "object": { "type": "MemberExpression", - "start": 4030, - "end": 4038, + "start": 3990, + "end": 3998, "loc": { "start": { - "line": 170, + "line": 168, "column": 30 }, "end": { - "line": 170, + "line": 168, "column": 38 } }, "object": { "type": "ThisExpression", - "start": 4030, - "end": 4034, + "start": 3990, + "end": 3994, "loc": { "start": { - "line": 170, + "line": 168, "column": 30 }, "end": { - "line": 170, + "line": 168, "column": 34 } } }, "property": { "type": "Identifier", - "start": 4035, - "end": 4038, + "start": 3995, + "end": 3998, "loc": { "start": { - "line": 170, + "line": 168, "column": 35 }, "end": { - "line": 170, + "line": 168, "column": 38 }, "identifierName": "day" @@ -7052,15 +6924,15 @@ }, "property": { "type": "Identifier", - "start": 4039, - "end": 4051, + "start": 3999, + "end": 4011, "loc": { "start": { - "line": 170, + "line": 168, "column": 39 }, "end": { - "line": 170, + "line": 168, "column": 51 }, "identifierName": "day_position" @@ -7073,15 +6945,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 4014, - "end": 4014, + "start": 3974, + "end": 3974, "loc": { "start": { - "line": 170, + "line": 168, "column": 14 }, "end": { - "line": 170, + "line": 168, "column": 14 } }, @@ -7093,15 +6965,15 @@ }, { "type": "TemplateElement", - "start": 4027, - "end": 4028, + "start": 3987, + "end": 3988, "loc": { "start": { - "line": 170, + "line": 168, "column": 27 }, "end": { - "line": 170, + "line": 168, "column": 28 } }, @@ -7113,15 +6985,15 @@ }, { "type": "TemplateElement", - "start": 4052, - "end": 4052, + "start": 4012, + "end": 4012, "loc": { "start": { - "line": 170, + "line": 168, "column": 52 }, "end": { - "line": 170, + "line": 168, "column": 52 } }, @@ -7141,73 +7013,73 @@ }, { "type": "ReturnStatement", - "start": 4065, - "end": 4101, + "start": 4025, + "end": 4061, "loc": { "start": { - "line": 172, + "line": 170, "column": 4 }, "end": { - "line": 172, + "line": 170, "column": 40 } }, "argument": { "type": "TemplateLiteral", - "start": 4072, - "end": 4100, + "start": 4032, + "end": 4060, "loc": { "start": { - "line": 172, + "line": 170, "column": 11 }, "end": { - "line": 172, + "line": 170, "column": 39 } }, "expressions": [ { "type": "MemberExpression", - "start": 4075, - "end": 4085, + "start": 4035, + "end": 4045, "loc": { "start": { - "line": 172, + "line": 170, "column": 14 }, "end": { - "line": 172, + "line": 170, "column": 24 } }, "object": { "type": "ThisExpression", - "start": 4075, - "end": 4079, + "start": 4035, + "end": 4039, "loc": { "start": { - "line": 172, + "line": 170, "column": 14 }, "end": { - "line": 172, + "line": 170, "column": 18 } } }, "property": { "type": "Identifier", - "start": 4080, - "end": 4085, + "start": 4040, + "end": 4045, "loc": { "start": { - "line": 172, + "line": 170, "column": 19 }, "end": { - "line": 172, + "line": 170, "column": 24 }, "identifierName": "coeff" @@ -7218,44 +7090,44 @@ }, { "type": "MemberExpression", - "start": 4089, - "end": 4098, + "start": 4049, + "end": 4058, "loc": { "start": { - "line": 172, + "line": 170, "column": 28 }, "end": { - "line": 172, + "line": 170, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 4089, - "end": 4093, + "start": 4049, + "end": 4053, "loc": { "start": { - "line": 172, + "line": 170, "column": 28 }, "end": { - "line": 172, + "line": 170, "column": 32 } } }, "property": { "type": "Identifier", - "start": 4094, - "end": 4098, + "start": 4054, + "end": 4058, "loc": { "start": { - "line": 172, + "line": 170, "column": 33 }, "end": { - "line": 172, + "line": 170, "column": 37 }, "identifierName": "name" @@ -7268,15 +7140,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 4073, - "end": 4073, + "start": 4033, + "end": 4033, "loc": { "start": { - "line": 172, + "line": 170, "column": 12 }, "end": { - "line": 172, + "line": 170, "column": 12 } }, @@ -7288,15 +7160,15 @@ }, { "type": "TemplateElement", - "start": 4086, - "end": 4087, + "start": 4046, + "end": 4047, "loc": { "start": { - "line": 172, + "line": 170, "column": 25 }, "end": { - "line": 172, + "line": 170, "column": 26 } }, @@ -7308,15 +7180,15 @@ }, { "type": "TemplateElement", - "start": 4099, - "end": 4099, + "start": 4059, + "end": 4059, "loc": { "start": { - "line": 172, + "line": 170, "column": 38 }, "end": { - "line": 172, + "line": 170, "column": 38 } }, @@ -7336,15 +7208,15 @@ { "type": "CommentBlock", "value": "*\n * Render the 260-day cycle fullDate as a string\n * @returns {string}\n ", - "start": 3871, - "end": 3954, + "start": 3831, + "end": 3914, "loc": { "start": { - "line": 164, + "line": 162, "column": 2 }, "end": { - "line": 167, + "line": 165, "column": 5 } } @@ -7357,15 +7229,15 @@ { "type": "CommentBlock", "value": "*\n * Describes a fullDate in the 260-day cycle with a position and a day\n * @example\n * let day = new Tzolkin(4, \"Ajaw\");\n *\n * @example\n * let day = new Tzolkin(4, new TzolkinDay(\"Ajaw\"));\n *\n ", - "start": 630, - "end": 834, + "start": 590, + "end": 794, "loc": { "start": { - "line": 25, + "line": 23, "column": 0 }, "end": { - "line": 33, + "line": 31, "column": 3 } } @@ -7373,211 +7245,147 @@ ] }, { - "type": "ExpressionStatement", - "start": 4110, - "end": 4162, + "type": "ExportDefaultDeclaration", + "start": 4069, + "end": 4119, "loc": { "start": { - "line": 177, + "line": 174, "column": 0 }, "end": { - "line": 180, + "line": 177, "column": 2 } }, - "expression": { - "type": "AssignmentExpression", - "start": 4110, - "end": 4161, + "declaration": { + "type": "ObjectExpression", + "start": 4084, + "end": 4118, "loc": { "start": { - "line": 177, - "column": 0 + "line": 174, + "column": 15 }, "end": { - "line": 180, + "line": 177, "column": 1 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 4110, - "end": 4124, - "loc": { - "start": { - "line": 177, - "column": 0 - }, - "end": { - "line": 177, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 4110, - "end": 4116, + "properties": [ + { + "type": "ObjectProperty", + "start": 4088, + "end": 4101, "loc": { "start": { - "line": 177, - "column": 0 + "line": 175, + "column": 2 }, "end": { - "line": 177, - "column": 6 - }, - "identifierName": "module" + "line": 175, + "column": 15 + } }, - "name": "module" - }, - "property": { - "type": "Identifier", - "start": 4117, - "end": 4124, - "loc": { - "start": { - "line": 177, - "column": 7 - }, - "end": { - "line": 177, - "column": 14 + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 4088, + "end": 4101, + "loc": { + "start": { + "line": 175, + "column": 2 + }, + "end": { + "line": 175, + "column": 15 + }, + "identifierName": "getTzolkinDay" }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "ObjectExpression", - "start": 4127, - "end": 4161, - "loc": { - "start": { - "line": 177, - "column": 17 + "name": "getTzolkinDay" }, - "end": { - "line": 180, - "column": 1 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 4131, - "end": 4144, + "value": { + "type": "Identifier", + "start": 4088, + "end": 4101, "loc": { "start": { - "line": 178, + "line": 175, "column": 2 }, "end": { - "line": 178, + "line": 175, "column": 15 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 4131, - "end": 4144, - "loc": { - "start": { - "line": 178, - "column": 2 - }, - "end": { - "line": 178, - "column": 15 - }, - "identifierName": "getTzolkinDay" }, - "name": "getTzolkinDay" + "identifierName": "getTzolkinDay" }, - "value": { - "type": "Identifier", - "start": 4131, - "end": 4144, - "loc": { - "start": { - "line": 178, - "column": 2 - }, - "end": { - "line": 178, - "column": 15 - }, - "identifierName": "getTzolkinDay" - }, - "name": "getTzolkinDay" + "name": "getTzolkinDay" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 4105, + "end": 4115, + "loc": { + "start": { + "line": 176, + "column": 2 }, - "extra": { - "shorthand": true + "end": { + "line": 176, + "column": 12 } }, - { - "type": "ObjectProperty", - "start": 4148, - "end": 4158, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 4105, + "end": 4115, "loc": { "start": { - "line": 179, + "line": 176, "column": 2 }, "end": { - "line": 179, + "line": 176, "column": 12 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 4148, - "end": 4158, - "loc": { - "start": { - "line": 179, - "column": 2 - }, - "end": { - "line": 179, - "column": 12 - }, - "identifierName": "getTzolkin" }, - "name": "getTzolkin" + "identifierName": "getTzolkin" }, - "value": { - "type": "Identifier", - "start": 4148, - "end": 4158, - "loc": { - "start": { - "line": 179, - "column": 2 - }, - "end": { - "line": 179, - "column": 12 - }, - "identifierName": "getTzolkin" + "name": "getTzolkin" + }, + "value": { + "type": "Identifier", + "start": 4105, + "end": 4115, + "loc": { + "start": { + "line": 176, + "column": 2 }, - "name": "getTzolkin" + "end": { + "line": 176, + "column": 12 + }, + "identifierName": "getTzolkin" }, - "extra": { - "shorthand": true - } + "name": "getTzolkin" + }, + "extra": { + "shorthand": true } - ] - } + } + ], + "leadingComments": [], + "trailingComments": [] } } ], @@ -7587,47 +7395,15 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 56, - "end": 70, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 120, - "end": 134, + "start": 80, + "end": 94, "loc": { "start": { - "line": 6, + "line": 4, "column": 0 }, "end": { - "line": 6, + "line": 4, "column": 14 } } @@ -7635,15 +7411,15 @@ { "type": "CommentBlock", "value": "*\n * Return a comparable instance of a Tzolkin date.\n * @param {number} coeff\n * @param {TzolkinDay|string} day\n * @return {Tzolkin}\n ", - "start": 158, - "end": 296, + "start": 118, + "end": 256, "loc": { "start": { - "line": 9, + "line": 7, "column": 0 }, "end": { - "line": 14, + "line": 12, "column": 3 } } @@ -7651,15 +7427,15 @@ { "type": "CommentLine", "value": " const monthName = (typeof name === 'number') ? months[name] : name;", - "start": 372, - "end": 442, + "start": 332, + "end": 402, "loc": { "start": { - "line": 17, + "line": 15, "column": 2 }, "end": { - "line": 17, + "line": 15, "column": 72 } } @@ -7667,15 +7443,15 @@ { "type": "CommentLine", "value": " eslint-disable-next-line no-use-before-define", - "start": 491, - "end": 539, + "start": 451, + "end": 499, "loc": { "start": { - "line": 19, + "line": 17, "column": 4 }, "end": { - "line": 19, + "line": 17, "column": 52 } } @@ -7683,15 +7459,15 @@ { "type": "CommentBlock", "value": "*\n * Describes a fullDate in the 260-day cycle with a position and a day\n * @example\n * let day = new Tzolkin(4, \"Ajaw\");\n *\n * @example\n * let day = new Tzolkin(4, new TzolkinDay(\"Ajaw\"));\n *\n ", - "start": 630, - "end": 834, + "start": 590, + "end": 794, "loc": { "start": { - "line": 25, + "line": 23, "column": 0 }, "end": { - "line": 33, + "line": 31, "column": 3 } } @@ -7699,15 +7475,15 @@ { "type": "CommentBlock", "value": "*\n * Constructor\n * @param {number} newCoeff - The position in the 260-day cycle\n * @param {string|TzolkinDay} newDay\n ", - "start": 853, - "end": 984, + "start": 813, + "end": 944, "loc": { "start": { - "line": 35, + "line": 33, "column": 2 }, "end": { - "line": 39, + "line": 37, "column": 5 } } @@ -7715,15 +7491,15 @@ { "type": "CommentBlock", "value": "*\n * @type {TzolkinDay}\n ", - "start": 1441, - "end": 1478, + "start": 1401, + "end": 1438, "loc": { "start": { - "line": 59, + "line": 57, "column": 4 }, "end": { - "line": 61, + "line": 59, "column": 7 } } @@ -7731,15 +7507,15 @@ { "type": "CommentBlock", "value": "*\n * @type {number}\n ", - "start": 1503, - "end": 1536, + "start": 1463, + "end": 1496, "loc": { "start": { - "line": 63, + "line": 61, "column": 4 }, "end": { - "line": 65, + "line": 63, "column": 7 } } @@ -7747,15 +7523,15 @@ { "type": "CommentBlock", "value": "*\n * Lazy loaded instance of the next Tzolkin date in the cycle\n * @type {Tzolkin}\n ", - "start": 1566, - "end": 1666, + "start": 1526, + "end": 1626, "loc": { "start": { - "line": 68, + "line": 66, "column": 4 }, "end": { - "line": 71, + "line": 69, "column": 7 } } @@ -7763,15 +7539,15 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the 260-day cycle\n * @returns {Tzolkin}\n ", - "start": 1731, - "end": 1810, + "start": 1691, + "end": 1770, "loc": { "start": { - "line": 77, + "line": 75, "column": 2 }, "end": { - "line": 80, + "line": 78, "column": 5 } } @@ -7779,15 +7555,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Tzolkin's coefficients are within range and the day is defined\n * @return {boolean}\n ", - "start": 1855, - "end": 1966, + "start": 1815, + "end": 1926, "loc": { "start": { - "line": 85, + "line": 83, "column": 2 }, "end": { - "line": 88, + "line": 86, "column": 5 } } @@ -7795,15 +7571,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {Number} newIncremental\n * @return {Tzolkin}\n ", - "start": 2303, - "end": 2376, + "start": 2263, + "end": 2336, "loc": { "start": { - "line": 102, + "line": 100, "column": 2 }, "end": { - "line": 106, + "line": 104, "column": 5 } } @@ -7811,15 +7587,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Tzolkin object has the same configuration as another Tzolkin\n * object. Does not take wildcards into account.\n * @param {Tzolkin} newTzolkin\n * @return {boolean}\n ", - "start": 2808, - "end": 3002, + "start": 2768, + "end": 2962, "loc": { "start": { - "line": 121, + "line": 119, "column": 2 }, "end": { - "line": 126, + "line": 124, "column": 5 } } @@ -7827,15 +7603,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Tzolkin object has a matching configuration as another Tzolkin\n * object. Takes wildcards into account.\n * @param {Tzolkin} newTzolkin\n * @return {boolean}\n ", - "start": 3119, - "end": 3307, + "start": 3079, + "end": 3267, "loc": { "start": { - "line": 132, + "line": 130, "column": 2 }, "end": { - "line": 137, + "line": 135, "column": 5 } } @@ -7843,15 +7619,15 @@ { "type": "CommentBlock", "value": "*\n * Return a string representation of the 260-day cycle name\n * @returns {string}\n ", - "start": 3666, - "end": 3760, + "start": 3626, + "end": 3720, "loc": { "start": { - "line": 153, + "line": 151, "column": 2 }, "end": { - "line": 156, + "line": 154, "column": 5 } } @@ -7859,43 +7635,27 @@ { "type": "CommentBlock", "value": "*\n * Render the 260-day cycle fullDate as a string\n * @returns {string}\n ", - "start": 3871, - "end": 3954, + "start": 3831, + "end": 3914, "loc": { "start": { - "line": 164, + "line": 162, "column": 2 }, "end": { - "line": 167, + "line": 165, "column": 5 } } } ], "tokens": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7904,17 +7664,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 15, - "end": 20, + "value": "import", + "start": 0, + "end": 6, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 5 + "line": 1, + "column": 6 } } }, @@ -7931,43 +7691,16 @@ "binop": null }, "value": "wildcard", - "start": 21, - "end": 29, + "start": 7, + "end": 15, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 30, - "end": 31, - "loc": { - "start": { - "line": 2, + "line": 1, "column": 15 - }, - "end": { - "line": 2, - "column": 16 } } }, @@ -7983,42 +7716,17 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 32, - "end": 39, - "loc": { - "start": { - "line": 2, - "column": 17 - }, - "end": { - "line": 2, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 39, - "end": 40, + "value": "from", + "start": 16, + "end": 20, "loc": { "start": { - "line": 2, - "column": 24 + "line": 1, + "column": 16 }, "end": { - "line": 2, - "column": 25 + "line": 1, + "column": 20 } } }, @@ -8036,41 +7744,16 @@ "updateContext": null }, "value": "../wildcard", - "start": 40, - "end": 53, - "loc": { - "start": { - "line": 2, - "column": 25 - }, - "end": { - "line": 2, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 53, - "end": 54, + "start": 21, + "end": 34, "loc": { "start": { - "line": 2, - "column": 38 + "line": 1, + "column": 21 }, "end": { - "line": 2, - "column": 39 + "line": 1, + "column": 34 } } }, @@ -8087,41 +7770,25 @@ "binop": null, "updateContext": null }, - "start": 54, - "end": 55, + "start": 34, + "end": 35, "loc": { "start": { - "line": 2, - "column": 39 - }, - "end": { - "line": 2, - "column": 40 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 56, - "end": 70, - "loc": { - "start": { - "line": 3, - "column": 0 + "line": 1, + "column": 34 }, "end": { - "line": 3, - "column": 14 + "line": 1, + "column": 35 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8130,17 +7797,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 71, - "end": 76, + "value": "import", + "start": 36, + "end": 42, "loc": { "start": { - "line": 4, + "line": 2, "column": 0 }, "end": { - "line": 4, - "column": 5 + "line": 2, + "column": 6 } } }, @@ -8157,43 +7824,16 @@ "binop": null }, "value": "getTzolkinDay", - "start": 77, - "end": 90, + "start": 43, + "end": 56, "loc": { "start": { - "line": 4, - "column": 6 + "line": 2, + "column": 7 }, "end": { - "line": 4, - "column": 19 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 91, - "end": 92, - "loc": { - "start": { - "line": 4, + "line": 2, "column": 20 - }, - "end": { - "line": 4, - "column": 21 } } }, @@ -8209,42 +7849,17 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 93, - "end": 100, - "loc": { - "start": { - "line": 4, - "column": 22 - }, - "end": { - "line": 4, - "column": 29 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 100, - "end": 101, + "value": "from", + "start": 57, + "end": 61, "loc": { "start": { - "line": 4, - "column": 29 + "line": 2, + "column": 21 }, "end": { - "line": 4, - "column": 30 + "line": 2, + "column": 25 } } }, @@ -8262,41 +7877,16 @@ "updateContext": null }, "value": "./tzolkin-day", - "start": 101, - "end": 116, - "loc": { - "start": { - "line": 4, - "column": 30 - }, - "end": { - "line": 4, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 116, - "end": 117, + "start": 62, + "end": 77, "loc": { "start": { - "line": 4, - "column": 45 + "line": 2, + "column": 26 }, "end": { - "line": 4, - "column": 46 + "line": 2, + "column": 41 } } }, @@ -8313,31 +7903,31 @@ "binop": null, "updateContext": null }, - "start": 117, - "end": 118, + "start": 77, + "end": 78, "loc": { "start": { - "line": 4, - "column": 46 + "line": 2, + "column": 41 }, "end": { - "line": 4, - "column": 47 + "line": 2, + "column": 42 } } }, { "type": "CommentBlock", "value": "* @ignore ", - "start": 120, - "end": 134, + "start": 80, + "end": 94, "loc": { "start": { - "line": 6, + "line": 4, "column": 0 }, "end": { - "line": 6, + "line": 4, "column": 14 } } @@ -8357,15 +7947,15 @@ "updateContext": null }, "value": "const", - "start": 135, - "end": 140, + "start": 95, + "end": 100, "loc": { "start": { - "line": 7, + "line": 5, "column": 0 }, "end": { - "line": 7, + "line": 5, "column": 5 } } @@ -8383,15 +7973,15 @@ "binop": null }, "value": "singleton", - "start": 141, - "end": 150, + "start": 101, + "end": 110, "loc": { "start": { - "line": 7, + "line": 5, "column": 6 }, "end": { - "line": 7, + "line": 5, "column": 15 } } @@ -8410,15 +8000,15 @@ "updateContext": null }, "value": "=", - "start": 151, - "end": 152, + "start": 111, + "end": 112, "loc": { "start": { - "line": 7, + "line": 5, "column": 16 }, "end": { - "line": 7, + "line": 5, "column": 17 } } @@ -8435,15 +8025,15 @@ "postfix": false, "binop": null }, - "start": 153, - "end": 154, + "start": 113, + "end": 114, "loc": { "start": { - "line": 7, + "line": 5, "column": 18 }, "end": { - "line": 7, + "line": 5, "column": 19 } } @@ -8460,15 +8050,15 @@ "postfix": false, "binop": null }, - "start": 154, - "end": 155, + "start": 114, + "end": 115, "loc": { "start": { - "line": 7, + "line": 5, "column": 19 }, "end": { - "line": 7, + "line": 5, "column": 20 } } @@ -8486,15 +8076,15 @@ "binop": null, "updateContext": null }, - "start": 155, - "end": 156, + "start": 115, + "end": 116, "loc": { "start": { - "line": 7, + "line": 5, "column": 20 }, "end": { - "line": 7, + "line": 5, "column": 21 } } @@ -8502,15 +8092,15 @@ { "type": "CommentBlock", "value": "*\n * Return a comparable instance of a Tzolkin date.\n * @param {number} coeff\n * @param {TzolkinDay|string} day\n * @return {Tzolkin}\n ", - "start": 158, - "end": 296, + "start": 118, + "end": 256, "loc": { "start": { - "line": 9, + "line": 7, "column": 0 }, "end": { - "line": 14, + "line": 12, "column": 3 } } @@ -8529,15 +8119,15 @@ "binop": null }, "value": "function", - "start": 297, - "end": 305, + "start": 257, + "end": 265, "loc": { "start": { - "line": 15, + "line": 13, "column": 0 }, "end": { - "line": 15, + "line": 13, "column": 8 } } @@ -8555,15 +8145,15 @@ "binop": null }, "value": "getTzolkin", - "start": 306, - "end": 316, + "start": 266, + "end": 276, "loc": { "start": { - "line": 15, + "line": 13, "column": 9 }, "end": { - "line": 15, + "line": 13, "column": 19 } } @@ -8580,15 +8170,15 @@ "postfix": false, "binop": null }, - "start": 316, - "end": 317, + "start": 276, + "end": 277, "loc": { "start": { - "line": 15, + "line": 13, "column": 19 }, "end": { - "line": 15, + "line": 13, "column": 20 } } @@ -8606,15 +8196,15 @@ "binop": null }, "value": "coeff", - "start": 317, - "end": 322, + "start": 277, + "end": 282, "loc": { "start": { - "line": 15, + "line": 13, "column": 20 }, "end": { - "line": 15, + "line": 13, "column": 25 } } @@ -8632,15 +8222,15 @@ "binop": null, "updateContext": null }, - "start": 322, - "end": 323, + "start": 282, + "end": 283, "loc": { "start": { - "line": 15, + "line": 13, "column": 25 }, "end": { - "line": 15, + "line": 13, "column": 26 } } @@ -8658,15 +8248,15 @@ "binop": null }, "value": "day", - "start": 324, - "end": 327, + "start": 284, + "end": 287, "loc": { "start": { - "line": 15, + "line": 13, "column": 27 }, "end": { - "line": 15, + "line": 13, "column": 30 } } @@ -8683,15 +8273,15 @@ "postfix": false, "binop": null }, - "start": 327, - "end": 328, + "start": 287, + "end": 288, "loc": { "start": { - "line": 15, + "line": 13, "column": 30 }, "end": { - "line": 15, + "line": 13, "column": 31 } } @@ -8708,15 +8298,15 @@ "postfix": false, "binop": null }, - "start": 329, - "end": 330, + "start": 289, + "end": 290, "loc": { "start": { - "line": 15, + "line": 13, "column": 32 }, "end": { - "line": 15, + "line": 13, "column": 33 } } @@ -8736,15 +8326,15 @@ "updateContext": null }, "value": "const", - "start": 333, - "end": 338, + "start": 293, + "end": 298, "loc": { "start": { - "line": 16, + "line": 14, "column": 2 }, "end": { - "line": 16, + "line": 14, "column": 7 } } @@ -8762,15 +8352,15 @@ "binop": null }, "value": "monthName", - "start": 339, - "end": 348, + "start": 299, + "end": 308, "loc": { "start": { - "line": 16, + "line": 14, "column": 8 }, "end": { - "line": 16, + "line": 14, "column": 17 } } @@ -8789,15 +8379,15 @@ "updateContext": null }, "value": "=", - "start": 349, - "end": 350, + "start": 309, + "end": 310, "loc": { "start": { - "line": 16, + "line": 14, "column": 18 }, "end": { - "line": 16, + "line": 14, "column": 19 } } @@ -8814,15 +8404,15 @@ "postfix": false, "binop": null }, - "start": 351, - "end": 352, + "start": 311, + "end": 312, "loc": { "start": { - "line": 16, + "line": 14, "column": 20 }, "end": { - "line": 16, + "line": 14, "column": 21 } } @@ -8841,15 +8431,15 @@ "updateContext": null }, "value": "", - "start": 352, - "end": 352, + "start": 312, + "end": 312, "loc": { "start": { - "line": 16, + "line": 14, "column": 21 }, "end": { - "line": 16, + "line": 14, "column": 21 } } @@ -8866,15 +8456,15 @@ "postfix": false, "binop": null }, - "start": 352, - "end": 354, + "start": 312, + "end": 314, "loc": { "start": { - "line": 16, + "line": 14, "column": 21 }, "end": { - "line": 16, + "line": 14, "column": 23 } } @@ -8892,15 +8482,15 @@ "binop": null }, "value": "coeff", - "start": 354, - "end": 359, + "start": 314, + "end": 319, "loc": { "start": { - "line": 16, + "line": 14, "column": 23 }, "end": { - "line": 16, + "line": 14, "column": 28 } } @@ -8917,15 +8507,15 @@ "postfix": false, "binop": null }, - "start": 359, - "end": 360, + "start": 319, + "end": 320, "loc": { "start": { - "line": 16, + "line": 14, "column": 28 }, "end": { - "line": 16, + "line": 14, "column": 29 } } @@ -8944,15 +8534,15 @@ "updateContext": null }, "value": " ", - "start": 360, - "end": 361, + "start": 320, + "end": 321, "loc": { "start": { - "line": 16, + "line": 14, "column": 29 }, "end": { - "line": 16, + "line": 14, "column": 30 } } @@ -8969,15 +8559,15 @@ "postfix": false, "binop": null }, - "start": 361, - "end": 363, + "start": 321, + "end": 323, "loc": { "start": { - "line": 16, + "line": 14, "column": 30 }, "end": { - "line": 16, + "line": 14, "column": 32 } } @@ -8995,15 +8585,15 @@ "binop": null }, "value": "day", - "start": 363, - "end": 366, + "start": 323, + "end": 326, "loc": { "start": { - "line": 16, + "line": 14, "column": 32 }, "end": { - "line": 16, + "line": 14, "column": 35 } } @@ -9020,15 +8610,15 @@ "postfix": false, "binop": null }, - "start": 366, - "end": 367, + "start": 326, + "end": 327, "loc": { "start": { - "line": 16, + "line": 14, "column": 35 }, "end": { - "line": 16, + "line": 14, "column": 36 } } @@ -9047,15 +8637,15 @@ "updateContext": null }, "value": "", - "start": 367, - "end": 367, + "start": 327, + "end": 327, "loc": { "start": { - "line": 16, + "line": 14, "column": 36 }, "end": { - "line": 16, + "line": 14, "column": 36 } } @@ -9072,15 +8662,15 @@ "postfix": false, "binop": null }, - "start": 367, - "end": 368, + "start": 327, + "end": 328, "loc": { "start": { - "line": 16, + "line": 14, "column": 36 }, "end": { - "line": 16, + "line": 14, "column": 37 } } @@ -9098,15 +8688,15 @@ "binop": null, "updateContext": null }, - "start": 368, - "end": 369, + "start": 328, + "end": 329, "loc": { "start": { - "line": 16, + "line": 14, "column": 37 }, "end": { - "line": 16, + "line": 14, "column": 38 } } @@ -9114,15 +8704,15 @@ { "type": "CommentLine", "value": " const monthName = (typeof name === 'number') ? months[name] : name;", - "start": 372, - "end": 442, + "start": 332, + "end": 402, "loc": { "start": { - "line": 17, + "line": 15, "column": 2 }, "end": { - "line": 17, + "line": 15, "column": 72 } } @@ -9142,15 +8732,15 @@ "updateContext": null }, "value": "if", - "start": 445, - "end": 447, + "start": 405, + "end": 407, "loc": { "start": { - "line": 18, + "line": 16, "column": 2 }, "end": { - "line": 18, + "line": 16, "column": 4 } } @@ -9167,15 +8757,15 @@ "postfix": false, "binop": null }, - "start": 448, - "end": 449, + "start": 408, + "end": 409, "loc": { "start": { - "line": 18, + "line": 16, "column": 5 }, "end": { - "line": 18, + "line": 16, "column": 6 } } @@ -9193,15 +8783,15 @@ "binop": null }, "value": "singleton", - "start": 449, - "end": 458, + "start": 409, + "end": 418, "loc": { "start": { - "line": 18, + "line": 16, "column": 6 }, "end": { - "line": 18, + "line": 16, "column": 15 } } @@ -9219,15 +8809,15 @@ "binop": null, "updateContext": null }, - "start": 458, - "end": 459, + "start": 418, + "end": 419, "loc": { "start": { - "line": 18, + "line": 16, "column": 15 }, "end": { - "line": 18, + "line": 16, "column": 16 } } @@ -9245,15 +8835,15 @@ "binop": null }, "value": "monthName", - "start": 459, - "end": 468, + "start": 419, + "end": 428, "loc": { "start": { - "line": 18, + "line": 16, "column": 16 }, "end": { - "line": 18, + "line": 16, "column": 25 } } @@ -9271,15 +8861,15 @@ "binop": null, "updateContext": null }, - "start": 468, - "end": 469, + "start": 428, + "end": 429, "loc": { "start": { - "line": 18, + "line": 16, "column": 25 }, "end": { - "line": 18, + "line": 16, "column": 26 } } @@ -9298,15 +8888,15 @@ "updateContext": null }, "value": "===", - "start": 470, - "end": 473, + "start": 430, + "end": 433, "loc": { "start": { - "line": 18, + "line": 16, "column": 27 }, "end": { - "line": 18, + "line": 16, "column": 30 } } @@ -9324,15 +8914,15 @@ "binop": null }, "value": "undefined", - "start": 474, - "end": 483, + "start": 434, + "end": 443, "loc": { "start": { - "line": 18, + "line": 16, "column": 31 }, "end": { - "line": 18, + "line": 16, "column": 40 } } @@ -9349,15 +8939,15 @@ "postfix": false, "binop": null }, - "start": 483, - "end": 484, + "start": 443, + "end": 444, "loc": { "start": { - "line": 18, + "line": 16, "column": 40 }, "end": { - "line": 18, + "line": 16, "column": 41 } } @@ -9374,15 +8964,15 @@ "postfix": false, "binop": null }, - "start": 485, - "end": 486, + "start": 445, + "end": 446, "loc": { "start": { - "line": 18, + "line": 16, "column": 42 }, "end": { - "line": 18, + "line": 16, "column": 43 } } @@ -9390,15 +8980,15 @@ { "type": "CommentLine", "value": " eslint-disable-next-line no-use-before-define", - "start": 491, - "end": 539, + "start": 451, + "end": 499, "loc": { "start": { - "line": 19, + "line": 17, "column": 4 }, "end": { - "line": 19, + "line": 17, "column": 52 } } @@ -9416,15 +9006,15 @@ "binop": null }, "value": "singleton", - "start": 544, - "end": 553, + "start": 504, + "end": 513, "loc": { "start": { - "line": 20, + "line": 18, "column": 4 }, "end": { - "line": 20, + "line": 18, "column": 13 } } @@ -9442,15 +9032,15 @@ "binop": null, "updateContext": null }, - "start": 553, - "end": 554, + "start": 513, + "end": 514, "loc": { "start": { - "line": 20, + "line": 18, "column": 13 }, "end": { - "line": 20, + "line": 18, "column": 14 } } @@ -9468,15 +9058,15 @@ "binop": null }, "value": "monthName", - "start": 554, - "end": 563, + "start": 514, + "end": 523, "loc": { "start": { - "line": 20, + "line": 18, "column": 14 }, "end": { - "line": 20, + "line": 18, "column": 23 } } @@ -9494,15 +9084,15 @@ "binop": null, "updateContext": null }, - "start": 563, - "end": 564, + "start": 523, + "end": 524, "loc": { "start": { - "line": 20, + "line": 18, "column": 23 }, "end": { - "line": 20, + "line": 18, "column": 24 } } @@ -9521,15 +9111,15 @@ "updateContext": null }, "value": "=", - "start": 565, - "end": 566, + "start": 525, + "end": 526, "loc": { "start": { - "line": 20, + "line": 18, "column": 25 }, "end": { - "line": 20, + "line": 18, "column": 26 } } @@ -9549,15 +9139,15 @@ "updateContext": null }, "value": "new", - "start": 567, - "end": 570, + "start": 527, + "end": 530, "loc": { "start": { - "line": 20, + "line": 18, "column": 27 }, "end": { - "line": 20, + "line": 18, "column": 30 } } @@ -9575,15 +9165,15 @@ "binop": null }, "value": "Tzolkin", - "start": 571, - "end": 578, + "start": 531, + "end": 538, "loc": { "start": { - "line": 20, + "line": 18, "column": 31 }, "end": { - "line": 20, + "line": 18, "column": 38 } } @@ -9600,15 +9190,15 @@ "postfix": false, "binop": null }, - "start": 578, - "end": 579, + "start": 538, + "end": 539, "loc": { "start": { - "line": 20, + "line": 18, "column": 38 }, "end": { - "line": 20, + "line": 18, "column": 39 } } @@ -9626,15 +9216,15 @@ "binop": null }, "value": "coeff", - "start": 579, - "end": 584, + "start": 539, + "end": 544, "loc": { "start": { - "line": 20, + "line": 18, "column": 39 }, "end": { - "line": 20, + "line": 18, "column": 44 } } @@ -9652,15 +9242,15 @@ "binop": null, "updateContext": null }, - "start": 584, - "end": 585, + "start": 544, + "end": 545, "loc": { "start": { - "line": 20, + "line": 18, "column": 44 }, "end": { - "line": 20, + "line": 18, "column": 45 } } @@ -9678,15 +9268,15 @@ "binop": null }, "value": "day", - "start": 586, - "end": 589, + "start": 546, + "end": 549, "loc": { "start": { - "line": 20, + "line": 18, "column": 46 }, "end": { - "line": 20, + "line": 18, "column": 49 } } @@ -9703,15 +9293,15 @@ "postfix": false, "binop": null }, - "start": 589, - "end": 590, + "start": 549, + "end": 550, "loc": { "start": { - "line": 20, + "line": 18, "column": 49 }, "end": { - "line": 20, + "line": 18, "column": 50 } } @@ -9729,15 +9319,15 @@ "binop": null, "updateContext": null }, - "start": 590, - "end": 591, + "start": 550, + "end": 551, "loc": { "start": { - "line": 20, + "line": 18, "column": 50 }, "end": { - "line": 20, + "line": 18, "column": 51 } } @@ -9754,15 +9344,15 @@ "postfix": false, "binop": null }, - "start": 594, - "end": 595, + "start": 554, + "end": 555, "loc": { "start": { - "line": 21, + "line": 19, "column": 2 }, "end": { - "line": 21, + "line": 19, "column": 3 } } @@ -9782,15 +9372,15 @@ "updateContext": null }, "value": "return", - "start": 598, - "end": 604, + "start": 558, + "end": 564, "loc": { "start": { - "line": 22, + "line": 20, "column": 2 }, "end": { - "line": 22, + "line": 20, "column": 8 } } @@ -9808,15 +9398,15 @@ "binop": null }, "value": "singleton", - "start": 605, - "end": 614, + "start": 565, + "end": 574, "loc": { "start": { - "line": 22, + "line": 20, "column": 9 }, "end": { - "line": 22, + "line": 20, "column": 18 } } @@ -9834,15 +9424,15 @@ "binop": null, "updateContext": null }, - "start": 614, - "end": 615, + "start": 574, + "end": 575, "loc": { "start": { - "line": 22, + "line": 20, "column": 18 }, "end": { - "line": 22, + "line": 20, "column": 19 } } @@ -9860,15 +9450,15 @@ "binop": null }, "value": "monthName", - "start": 615, - "end": 624, + "start": 575, + "end": 584, "loc": { "start": { - "line": 22, + "line": 20, "column": 19 }, "end": { - "line": 22, + "line": 20, "column": 28 } } @@ -9886,15 +9476,15 @@ "binop": null, "updateContext": null }, - "start": 624, - "end": 625, + "start": 584, + "end": 585, "loc": { "start": { - "line": 22, + "line": 20, "column": 28 }, "end": { - "line": 22, + "line": 20, "column": 29 } } @@ -9912,15 +9502,15 @@ "binop": null, "updateContext": null }, - "start": 625, - "end": 626, + "start": 585, + "end": 586, "loc": { "start": { - "line": 22, + "line": 20, "column": 29 }, "end": { - "line": 22, + "line": 20, "column": 30 } } @@ -9937,15 +9527,15 @@ "postfix": false, "binop": null }, - "start": 627, - "end": 628, + "start": 587, + "end": 588, "loc": { "start": { - "line": 23, + "line": 21, "column": 0 }, "end": { - "line": 23, + "line": 21, "column": 1 } } @@ -9953,15 +9543,15 @@ { "type": "CommentBlock", "value": "*\n * Describes a fullDate in the 260-day cycle with a position and a day\n * @example\n * let day = new Tzolkin(4, \"Ajaw\");\n *\n * @example\n * let day = new Tzolkin(4, new TzolkinDay(\"Ajaw\"));\n *\n ", - "start": 630, - "end": 834, + "start": 590, + "end": 794, "loc": { "start": { - "line": 25, + "line": 23, "column": 0 }, "end": { - "line": 33, + "line": 31, "column": 3 } } @@ -9981,15 +9571,15 @@ "updateContext": null }, "value": "class", - "start": 835, - "end": 840, + "start": 795, + "end": 800, "loc": { "start": { - "line": 34, + "line": 32, "column": 0 }, "end": { - "line": 34, + "line": 32, "column": 5 } } @@ -10007,15 +9597,15 @@ "binop": null }, "value": "Tzolkin", - "start": 841, - "end": 848, + "start": 801, + "end": 808, "loc": { "start": { - "line": 34, + "line": 32, "column": 6 }, "end": { - "line": 34, + "line": 32, "column": 13 } } @@ -10032,15 +9622,15 @@ "postfix": false, "binop": null }, - "start": 849, - "end": 850, + "start": 809, + "end": 810, "loc": { "start": { - "line": 34, + "line": 32, "column": 14 }, "end": { - "line": 34, + "line": 32, "column": 15 } } @@ -10048,15 +9638,15 @@ { "type": "CommentBlock", "value": "*\n * Constructor\n * @param {number} newCoeff - The position in the 260-day cycle\n * @param {string|TzolkinDay} newDay\n ", - "start": 853, - "end": 984, + "start": 813, + "end": 944, "loc": { "start": { - "line": 35, + "line": 33, "column": 2 }, "end": { - "line": 39, + "line": 37, "column": 5 } } @@ -10074,15 +9664,15 @@ "binop": null }, "value": "constructor", - "start": 987, - "end": 998, + "start": 947, + "end": 958, "loc": { "start": { - "line": 40, + "line": 38, "column": 2 }, "end": { - "line": 40, + "line": 38, "column": 13 } } @@ -10099,15 +9689,15 @@ "postfix": false, "binop": null }, - "start": 998, - "end": 999, + "start": 958, + "end": 959, "loc": { "start": { - "line": 40, + "line": 38, "column": 13 }, "end": { - "line": 40, + "line": 38, "column": 14 } } @@ -10125,15 +9715,15 @@ "binop": null }, "value": "newCoeff", - "start": 999, - "end": 1007, + "start": 959, + "end": 967, "loc": { "start": { - "line": 40, + "line": 38, "column": 14 }, "end": { - "line": 40, + "line": 38, "column": 22 } } @@ -10151,15 +9741,15 @@ "binop": null, "updateContext": null }, - "start": 1007, - "end": 1008, + "start": 967, + "end": 968, "loc": { "start": { - "line": 40, + "line": 38, "column": 22 }, "end": { - "line": 40, + "line": 38, "column": 23 } } @@ -10177,15 +9767,15 @@ "binop": null }, "value": "newDay", - "start": 1009, - "end": 1015, + "start": 969, + "end": 975, "loc": { "start": { - "line": 40, + "line": 38, "column": 24 }, "end": { - "line": 40, + "line": 38, "column": 30 } } @@ -10202,15 +9792,15 @@ "postfix": false, "binop": null }, - "start": 1015, - "end": 1016, + "start": 975, + "end": 976, "loc": { "start": { - "line": 40, + "line": 38, "column": 30 }, "end": { - "line": 40, + "line": 38, "column": 31 } } @@ -10227,15 +9817,15 @@ "postfix": false, "binop": null }, - "start": 1017, - "end": 1018, + "start": 977, + "end": 978, "loc": { "start": { - "line": 40, + "line": 38, "column": 32 }, "end": { - "line": 40, + "line": 38, "column": 33 } } @@ -10255,15 +9845,15 @@ "updateContext": null }, "value": "let", - "start": 1023, - "end": 1026, + "start": 983, + "end": 986, "loc": { "start": { - "line": 41, + "line": 39, "column": 4 }, "end": { - "line": 41, + "line": 39, "column": 7 } } @@ -10281,15 +9871,15 @@ "binop": null }, "value": "coeff", - "start": 1027, - "end": 1032, + "start": 987, + "end": 992, "loc": { "start": { - "line": 41, + "line": 39, "column": 8 }, "end": { - "line": 41, + "line": 39, "column": 13 } } @@ -10308,15 +9898,15 @@ "updateContext": null }, "value": "=", - "start": 1033, - "end": 1034, + "start": 993, + "end": 994, "loc": { "start": { - "line": 41, + "line": 39, "column": 14 }, "end": { - "line": 41, + "line": 39, "column": 15 } } @@ -10334,15 +9924,15 @@ "binop": null }, "value": "newCoeff", - "start": 1035, - "end": 1043, + "start": 995, + "end": 1003, "loc": { "start": { - "line": 41, + "line": 39, "column": 16 }, "end": { - "line": 41, + "line": 39, "column": 24 } } @@ -10360,15 +9950,15 @@ "binop": null, "updateContext": null }, - "start": 1043, - "end": 1044, + "start": 1003, + "end": 1004, "loc": { "start": { - "line": 41, + "line": 39, "column": 24 }, "end": { - "line": 41, + "line": 39, "column": 25 } } @@ -10388,15 +9978,15 @@ "updateContext": null }, "value": "if", - "start": 1049, - "end": 1051, + "start": 1009, + "end": 1011, "loc": { "start": { - "line": 42, + "line": 40, "column": 4 }, "end": { - "line": 42, + "line": 40, "column": 6 } } @@ -10413,15 +10003,15 @@ "postfix": false, "binop": null }, - "start": 1052, - "end": 1053, + "start": 1012, + "end": 1013, "loc": { "start": { - "line": 42, + "line": 40, "column": 7 }, "end": { - "line": 42, + "line": 40, "column": 8 } } @@ -10439,15 +10029,15 @@ "binop": null }, "value": "coeff", - "start": 1053, - "end": 1058, + "start": 1013, + "end": 1018, "loc": { "start": { - "line": 42, + "line": 40, "column": 8 }, "end": { - "line": 42, + "line": 40, "column": 13 } } @@ -10466,15 +10056,15 @@ "updateContext": null }, "value": "!==", - "start": 1059, - "end": 1062, + "start": 1019, + "end": 1022, "loc": { "start": { - "line": 42, + "line": 40, "column": 14 }, "end": { - "line": 42, + "line": 40, "column": 17 } } @@ -10492,15 +10082,15 @@ "binop": null }, "value": "undefined", - "start": 1063, - "end": 1072, + "start": 1023, + "end": 1032, "loc": { "start": { - "line": 42, + "line": 40, "column": 18 }, "end": { - "line": 42, + "line": 40, "column": 27 } } @@ -10517,15 +10107,15 @@ "postfix": false, "binop": null }, - "start": 1072, - "end": 1073, + "start": 1032, + "end": 1033, "loc": { "start": { - "line": 42, + "line": 40, "column": 27 }, "end": { - "line": 42, + "line": 40, "column": 28 } } @@ -10542,15 +10132,15 @@ "postfix": false, "binop": null }, - "start": 1074, - "end": 1075, + "start": 1034, + "end": 1035, "loc": { "start": { - "line": 42, + "line": 40, "column": 29 }, "end": { - "line": 42, + "line": 40, "column": 30 } } @@ -10570,15 +10160,15 @@ "updateContext": null }, "value": "if", - "start": 1082, - "end": 1084, + "start": 1042, + "end": 1044, "loc": { "start": { - "line": 43, + "line": 41, "column": 6 }, "end": { - "line": 43, + "line": 41, "column": 8 } } @@ -10595,15 +10185,15 @@ "postfix": false, "binop": null }, - "start": 1085, - "end": 1086, + "start": 1045, + "end": 1046, "loc": { "start": { - "line": 43, + "line": 41, "column": 9 }, "end": { - "line": 43, + "line": 41, "column": 10 } } @@ -10621,15 +10211,15 @@ "binop": null }, "value": "coeff", - "start": 1086, - "end": 1091, + "start": 1046, + "end": 1051, "loc": { "start": { - "line": 43, + "line": 41, "column": 10 }, "end": { - "line": 43, + "line": 41, "column": 15 } } @@ -10648,15 +10238,15 @@ "updateContext": null }, "value": "===", - "start": 1092, - "end": 1095, + "start": 1052, + "end": 1055, "loc": { "start": { - "line": 43, + "line": 41, "column": 16 }, "end": { - "line": 43, + "line": 41, "column": 19 } } @@ -10675,15 +10265,15 @@ "updateContext": null }, "value": "*", - "start": 1096, - "end": 1099, + "start": 1056, + "end": 1059, "loc": { "start": { - "line": 43, + "line": 41, "column": 20 }, "end": { - "line": 43, + "line": 41, "column": 23 } } @@ -10700,15 +10290,15 @@ "postfix": false, "binop": null }, - "start": 1099, - "end": 1100, + "start": 1059, + "end": 1060, "loc": { "start": { - "line": 43, + "line": 41, "column": 23 }, "end": { - "line": 43, + "line": 41, "column": 24 } } @@ -10725,15 +10315,15 @@ "postfix": false, "binop": null }, - "start": 1101, - "end": 1102, + "start": 1061, + "end": 1062, "loc": { "start": { - "line": 43, + "line": 41, "column": 25 }, "end": { - "line": 43, + "line": 41, "column": 26 } } @@ -10751,15 +10341,15 @@ "binop": null }, "value": "coeff", - "start": 1111, - "end": 1116, + "start": 1071, + "end": 1076, "loc": { "start": { - "line": 44, + "line": 42, "column": 8 }, "end": { - "line": 44, + "line": 42, "column": 13 } } @@ -10778,15 +10368,15 @@ "updateContext": null }, "value": "=", - "start": 1117, - "end": 1118, + "start": 1077, + "end": 1078, "loc": { "start": { - "line": 44, + "line": 42, "column": 14 }, "end": { - "line": 44, + "line": 42, "column": 15 } } @@ -10804,15 +10394,15 @@ "binop": null }, "value": "wildcard", - "start": 1119, - "end": 1127, + "start": 1079, + "end": 1087, "loc": { "start": { - "line": 44, + "line": 42, "column": 16 }, "end": { - "line": 44, + "line": 42, "column": 24 } } @@ -10830,15 +10420,15 @@ "binop": null, "updateContext": null }, - "start": 1127, - "end": 1128, + "start": 1087, + "end": 1088, "loc": { "start": { - "line": 44, + "line": 42, "column": 24 }, "end": { - "line": 44, + "line": 42, "column": 25 } } @@ -10855,15 +10445,15 @@ "postfix": false, "binop": null }, - "start": 1135, - "end": 1136, + "start": 1095, + "end": 1096, "loc": { "start": { - "line": 45, + "line": 43, "column": 6 }, "end": { - "line": 45, + "line": 43, "column": 7 } } @@ -10883,15 +10473,15 @@ "updateContext": null }, "value": "else", - "start": 1137, - "end": 1141, + "start": 1097, + "end": 1101, "loc": { "start": { - "line": 45, + "line": 43, "column": 8 }, "end": { - "line": 45, + "line": 43, "column": 12 } } @@ -10911,15 +10501,15 @@ "updateContext": null }, "value": "if", - "start": 1142, - "end": 1144, + "start": 1102, + "end": 1104, "loc": { "start": { - "line": 45, + "line": 43, "column": 13 }, "end": { - "line": 45, + "line": 43, "column": 15 } } @@ -10936,15 +10526,15 @@ "postfix": false, "binop": null }, - "start": 1145, - "end": 1146, + "start": 1105, + "end": 1106, "loc": { "start": { - "line": 45, + "line": 43, "column": 16 }, "end": { - "line": 45, + "line": 43, "column": 17 } } @@ -10962,15 +10552,15 @@ "binop": null }, "value": "coeff", - "start": 1146, - "end": 1151, + "start": 1106, + "end": 1111, "loc": { "start": { - "line": 45, + "line": 43, "column": 17 }, "end": { - "line": 45, + "line": 43, "column": 22 } } @@ -10989,15 +10579,15 @@ "updateContext": null }, "value": "!==", - "start": 1152, - "end": 1155, + "start": 1112, + "end": 1115, "loc": { "start": { - "line": 45, + "line": 43, "column": 23 }, "end": { - "line": 45, + "line": 43, "column": 26 } } @@ -11015,15 +10605,15 @@ "binop": null }, "value": "wildcard", - "start": 1156, - "end": 1164, + "start": 1116, + "end": 1124, "loc": { "start": { - "line": 45, + "line": 43, "column": 27 }, "end": { - "line": 45, + "line": 43, "column": 35 } } @@ -11040,15 +10630,15 @@ "postfix": false, "binop": null }, - "start": 1164, - "end": 1165, + "start": 1124, + "end": 1125, "loc": { "start": { - "line": 45, + "line": 43, "column": 35 }, "end": { - "line": 45, + "line": 43, "column": 36 } } @@ -11065,15 +10655,15 @@ "postfix": false, "binop": null }, - "start": 1166, - "end": 1167, + "start": 1126, + "end": 1127, "loc": { "start": { - "line": 45, + "line": 43, "column": 37 }, "end": { - "line": 45, + "line": 43, "column": 38 } } @@ -11091,15 +10681,15 @@ "binop": null }, "value": "coeff", - "start": 1176, - "end": 1181, + "start": 1136, + "end": 1141, "loc": { "start": { - "line": 46, + "line": 44, "column": 8 }, "end": { - "line": 46, + "line": 44, "column": 13 } } @@ -11118,15 +10708,15 @@ "updateContext": null }, "value": "=", - "start": 1182, - "end": 1183, + "start": 1142, + "end": 1143, "loc": { "start": { - "line": 46, + "line": 44, "column": 14 }, "end": { - "line": 46, + "line": 44, "column": 15 } } @@ -11144,15 +10734,15 @@ "binop": null }, "value": "parseInt", - "start": 1184, - "end": 1192, + "start": 1144, + "end": 1152, "loc": { "start": { - "line": 46, + "line": 44, "column": 16 }, "end": { - "line": 46, + "line": 44, "column": 24 } } @@ -11169,15 +10759,15 @@ "postfix": false, "binop": null }, - "start": 1192, - "end": 1193, + "start": 1152, + "end": 1153, "loc": { "start": { - "line": 46, + "line": 44, "column": 24 }, "end": { - "line": 46, + "line": 44, "column": 25 } } @@ -11195,15 +10785,15 @@ "binop": null }, "value": "coeff", - "start": 1193, - "end": 1198, + "start": 1153, + "end": 1158, "loc": { "start": { - "line": 46, + "line": 44, "column": 25 }, "end": { - "line": 46, + "line": 44, "column": 30 } } @@ -11221,15 +10811,15 @@ "binop": null, "updateContext": null }, - "start": 1198, - "end": 1199, + "start": 1158, + "end": 1159, "loc": { "start": { - "line": 46, + "line": 44, "column": 30 }, "end": { - "line": 46, + "line": 44, "column": 31 } } @@ -11248,15 +10838,15 @@ "updateContext": null }, "value": 10, - "start": 1200, - "end": 1202, + "start": 1160, + "end": 1162, "loc": { "start": { - "line": 46, + "line": 44, "column": 32 }, "end": { - "line": 46, + "line": 44, "column": 34 } } @@ -11273,15 +10863,15 @@ "postfix": false, "binop": null }, - "start": 1202, - "end": 1203, + "start": 1162, + "end": 1163, "loc": { "start": { - "line": 46, + "line": 44, "column": 34 }, "end": { - "line": 46, + "line": 44, "column": 35 } } @@ -11299,15 +10889,15 @@ "binop": null, "updateContext": null }, - "start": 1203, - "end": 1204, + "start": 1163, + "end": 1164, "loc": { "start": { - "line": 46, + "line": 44, "column": 35 }, "end": { - "line": 46, + "line": 44, "column": 36 } } @@ -11324,15 +10914,15 @@ "postfix": false, "binop": null }, - "start": 1211, - "end": 1212, + "start": 1171, + "end": 1172, "loc": { "start": { - "line": 47, + "line": 45, "column": 6 }, "end": { - "line": 47, + "line": 45, "column": 7 } } @@ -11349,15 +10939,15 @@ "postfix": false, "binop": null }, - "start": 1217, - "end": 1218, + "start": 1177, + "end": 1178, "loc": { "start": { - "line": 48, + "line": 46, "column": 4 }, "end": { - "line": 48, + "line": 46, "column": 5 } } @@ -11377,15 +10967,15 @@ "updateContext": null }, "value": "let", - "start": 1223, - "end": 1226, + "start": 1183, + "end": 1186, "loc": { "start": { - "line": 49, + "line": 47, "column": 4 }, "end": { - "line": 49, + "line": 47, "column": 7 } } @@ -11403,15 +10993,15 @@ "binop": null }, "value": "day", - "start": 1227, - "end": 1230, + "start": 1187, + "end": 1190, "loc": { "start": { - "line": 49, + "line": 47, "column": 8 }, "end": { - "line": 49, + "line": 47, "column": 11 } } @@ -11430,15 +11020,15 @@ "updateContext": null }, "value": "=", - "start": 1231, - "end": 1232, + "start": 1191, + "end": 1192, "loc": { "start": { - "line": 49, + "line": 47, "column": 12 }, "end": { - "line": 49, + "line": 47, "column": 13 } } @@ -11456,15 +11046,15 @@ "binop": null }, "value": "newDay", - "start": 1233, - "end": 1239, + "start": 1193, + "end": 1199, "loc": { "start": { - "line": 49, + "line": 47, "column": 14 }, "end": { - "line": 49, + "line": 47, "column": 20 } } @@ -11482,15 +11072,15 @@ "binop": null, "updateContext": null }, - "start": 1239, - "end": 1240, + "start": 1199, + "end": 1200, "loc": { "start": { - "line": 49, + "line": 47, "column": 20 }, "end": { - "line": 49, + "line": 47, "column": 21 } } @@ -11510,15 +11100,15 @@ "updateContext": null }, "value": "if", - "start": 1245, - "end": 1247, + "start": 1205, + "end": 1207, "loc": { "start": { - "line": 50, + "line": 48, "column": 4 }, "end": { - "line": 50, + "line": 48, "column": 6 } } @@ -11535,15 +11125,15 @@ "postfix": false, "binop": null }, - "start": 1248, - "end": 1249, + "start": 1208, + "end": 1209, "loc": { "start": { - "line": 50, + "line": 48, "column": 7 }, "end": { - "line": 50, + "line": 48, "column": 8 } } @@ -11561,15 +11151,15 @@ "binop": null }, "value": "day", - "start": 1249, - "end": 1252, + "start": 1209, + "end": 1212, "loc": { "start": { - "line": 50, + "line": 48, "column": 8 }, "end": { - "line": 50, + "line": 48, "column": 11 } } @@ -11588,15 +11178,15 @@ "updateContext": null }, "value": "!==", - "start": 1253, - "end": 1256, + "start": 1213, + "end": 1216, "loc": { "start": { - "line": 50, + "line": 48, "column": 12 }, "end": { - "line": 50, + "line": 48, "column": 15 } } @@ -11614,15 +11204,15 @@ "binop": null }, "value": "undefined", - "start": 1257, - "end": 1266, + "start": 1217, + "end": 1226, "loc": { "start": { - "line": 50, + "line": 48, "column": 16 }, "end": { - "line": 50, + "line": 48, "column": 25 } } @@ -11639,15 +11229,15 @@ "postfix": false, "binop": null }, - "start": 1266, - "end": 1267, + "start": 1226, + "end": 1227, "loc": { "start": { - "line": 50, + "line": 48, "column": 25 }, "end": { - "line": 50, + "line": 48, "column": 26 } } @@ -11664,15 +11254,15 @@ "postfix": false, "binop": null }, - "start": 1268, - "end": 1269, + "start": 1228, + "end": 1229, "loc": { "start": { - "line": 50, + "line": 48, "column": 27 }, "end": { - "line": 50, + "line": 48, "column": 28 } } @@ -11692,15 +11282,15 @@ "updateContext": null }, "value": "if", - "start": 1276, - "end": 1278, + "start": 1236, + "end": 1238, "loc": { "start": { - "line": 51, + "line": 49, "column": 6 }, "end": { - "line": 51, + "line": 49, "column": 8 } } @@ -11717,15 +11307,15 @@ "postfix": false, "binop": null }, - "start": 1279, - "end": 1280, + "start": 1239, + "end": 1240, "loc": { "start": { - "line": 51, + "line": 49, "column": 9 }, "end": { - "line": 51, + "line": 49, "column": 10 } } @@ -11745,15 +11335,15 @@ "updateContext": null }, "value": "typeof", - "start": 1280, - "end": 1286, + "start": 1240, + "end": 1246, "loc": { "start": { - "line": 51, + "line": 49, "column": 10 }, "end": { - "line": 51, + "line": 49, "column": 16 } } @@ -11771,15 +11361,15 @@ "binop": null }, "value": "day", - "start": 1287, - "end": 1290, + "start": 1247, + "end": 1250, "loc": { "start": { - "line": 51, + "line": 49, "column": 17 }, "end": { - "line": 51, + "line": 49, "column": 20 } } @@ -11798,15 +11388,15 @@ "updateContext": null }, "value": "===", - "start": 1291, - "end": 1294, + "start": 1251, + "end": 1254, "loc": { "start": { - "line": 51, + "line": 49, "column": 21 }, "end": { - "line": 51, + "line": 49, "column": 24 } } @@ -11825,15 +11415,15 @@ "updateContext": null }, "value": "string", - "start": 1295, - "end": 1303, + "start": 1255, + "end": 1263, "loc": { "start": { - "line": 51, + "line": 49, "column": 25 }, "end": { - "line": 51, + "line": 49, "column": 33 } } @@ -11850,15 +11440,15 @@ "postfix": false, "binop": null }, - "start": 1303, - "end": 1304, + "start": 1263, + "end": 1264, "loc": { "start": { - "line": 51, + "line": 49, "column": 33 }, "end": { - "line": 51, + "line": 49, "column": 34 } } @@ -11875,15 +11465,15 @@ "postfix": false, "binop": null }, - "start": 1305, - "end": 1306, + "start": 1265, + "end": 1266, "loc": { "start": { - "line": 51, + "line": 49, "column": 35 }, "end": { - "line": 51, + "line": 49, "column": 36 } } @@ -11903,15 +11493,15 @@ "updateContext": null }, "value": "if", - "start": 1315, - "end": 1317, + "start": 1275, + "end": 1277, "loc": { "start": { - "line": 52, + "line": 50, "column": 8 }, "end": { - "line": 52, + "line": 50, "column": 10 } } @@ -11928,15 +11518,15 @@ "postfix": false, "binop": null }, - "start": 1318, - "end": 1319, + "start": 1278, + "end": 1279, "loc": { "start": { - "line": 52, + "line": 50, "column": 11 }, "end": { - "line": 52, + "line": 50, "column": 12 } } @@ -11954,15 +11544,15 @@ "binop": null }, "value": "day", - "start": 1319, - "end": 1322, + "start": 1279, + "end": 1282, "loc": { "start": { - "line": 52, + "line": 50, "column": 12 }, "end": { - "line": 52, + "line": 50, "column": 15 } } @@ -11981,15 +11571,15 @@ "updateContext": null }, "value": "===", - "start": 1323, - "end": 1326, + "start": 1283, + "end": 1286, "loc": { "start": { - "line": 52, + "line": 50, "column": 16 }, "end": { - "line": 52, + "line": 50, "column": 19 } } @@ -12008,15 +11598,15 @@ "updateContext": null }, "value": "*", - "start": 1327, - "end": 1330, + "start": 1287, + "end": 1290, "loc": { "start": { - "line": 52, + "line": 50, "column": 20 }, "end": { - "line": 52, + "line": 50, "column": 23 } } @@ -12033,15 +11623,15 @@ "postfix": false, "binop": null }, - "start": 1330, - "end": 1331, + "start": 1290, + "end": 1291, "loc": { "start": { - "line": 52, + "line": 50, "column": 23 }, "end": { - "line": 52, + "line": 50, "column": 24 } } @@ -12058,15 +11648,15 @@ "postfix": false, "binop": null }, - "start": 1332, - "end": 1333, + "start": 1292, + "end": 1293, "loc": { "start": { - "line": 52, + "line": 50, "column": 25 }, "end": { - "line": 52, + "line": 50, "column": 26 } } @@ -12084,15 +11674,15 @@ "binop": null }, "value": "day", - "start": 1344, - "end": 1347, + "start": 1304, + "end": 1307, "loc": { "start": { - "line": 53, + "line": 51, "column": 10 }, "end": { - "line": 53, + "line": 51, "column": 13 } } @@ -12111,15 +11701,15 @@ "updateContext": null }, "value": "=", - "start": 1348, - "end": 1349, + "start": 1308, + "end": 1309, "loc": { "start": { - "line": 53, + "line": 51, "column": 14 }, "end": { - "line": 53, + "line": 51, "column": 15 } } @@ -12137,15 +11727,15 @@ "binop": null }, "value": "wildcard", - "start": 1350, - "end": 1358, + "start": 1310, + "end": 1318, "loc": { "start": { - "line": 53, + "line": 51, "column": 16 }, "end": { - "line": 53, + "line": 51, "column": 24 } } @@ -12163,15 +11753,15 @@ "binop": null, "updateContext": null }, - "start": 1358, - "end": 1359, + "start": 1318, + "end": 1319, "loc": { "start": { - "line": 53, + "line": 51, "column": 24 }, "end": { - "line": 53, + "line": 51, "column": 25 } } @@ -12188,15 +11778,15 @@ "postfix": false, "binop": null }, - "start": 1368, - "end": 1369, + "start": 1328, + "end": 1329, "loc": { "start": { - "line": 54, + "line": 52, "column": 8 }, "end": { - "line": 54, + "line": 52, "column": 9 } } @@ -12216,15 +11806,15 @@ "updateContext": null }, "value": "else", - "start": 1370, - "end": 1374, + "start": 1330, + "end": 1334, "loc": { "start": { - "line": 54, + "line": 52, "column": 10 }, "end": { - "line": 54, + "line": 52, "column": 14 } } @@ -12241,15 +11831,15 @@ "postfix": false, "binop": null }, - "start": 1375, - "end": 1376, + "start": 1335, + "end": 1336, "loc": { "start": { - "line": 54, + "line": 52, "column": 15 }, "end": { - "line": 54, + "line": 52, "column": 16 } } @@ -12267,15 +11857,15 @@ "binop": null }, "value": "day", - "start": 1387, - "end": 1390, + "start": 1347, + "end": 1350, "loc": { "start": { - "line": 55, + "line": 53, "column": 10 }, "end": { - "line": 55, + "line": 53, "column": 13 } } @@ -12294,15 +11884,15 @@ "updateContext": null }, "value": "=", - "start": 1391, - "end": 1392, + "start": 1351, + "end": 1352, "loc": { "start": { - "line": 55, + "line": 53, "column": 14 }, "end": { - "line": 55, + "line": 53, "column": 15 } } @@ -12320,15 +11910,15 @@ "binop": null }, "value": "getTzolkinDay", - "start": 1393, - "end": 1406, + "start": 1353, + "end": 1366, "loc": { "start": { - "line": 55, + "line": 53, "column": 16 }, "end": { - "line": 55, + "line": 53, "column": 29 } } @@ -12345,15 +11935,15 @@ "postfix": false, "binop": null }, - "start": 1406, - "end": 1407, + "start": 1366, + "end": 1367, "loc": { "start": { - "line": 55, + "line": 53, "column": 29 }, "end": { - "line": 55, + "line": 53, "column": 30 } } @@ -12371,15 +11961,15 @@ "binop": null }, "value": "day", - "start": 1407, - "end": 1410, + "start": 1367, + "end": 1370, "loc": { "start": { - "line": 55, + "line": 53, "column": 30 }, "end": { - "line": 55, + "line": 53, "column": 33 } } @@ -12396,15 +11986,15 @@ "postfix": false, "binop": null }, - "start": 1410, - "end": 1411, + "start": 1370, + "end": 1371, "loc": { "start": { - "line": 55, + "line": 53, "column": 33 }, "end": { - "line": 55, + "line": 53, "column": 34 } } @@ -12422,15 +12012,15 @@ "binop": null, "updateContext": null }, - "start": 1411, - "end": 1412, + "start": 1371, + "end": 1372, "loc": { "start": { - "line": 55, + "line": 53, "column": 34 }, "end": { - "line": 55, + "line": 53, "column": 35 } } @@ -12447,15 +12037,15 @@ "postfix": false, "binop": null }, - "start": 1421, - "end": 1422, + "start": 1381, + "end": 1382, "loc": { "start": { - "line": 56, + "line": 54, "column": 8 }, "end": { - "line": 56, + "line": 54, "column": 9 } } @@ -12472,15 +12062,15 @@ "postfix": false, "binop": null }, - "start": 1429, - "end": 1430, + "start": 1389, + "end": 1390, "loc": { "start": { - "line": 57, + "line": 55, "column": 6 }, "end": { - "line": 57, + "line": 55, "column": 7 } } @@ -12497,15 +12087,15 @@ "postfix": false, "binop": null }, - "start": 1435, - "end": 1436, + "start": 1395, + "end": 1396, "loc": { "start": { - "line": 58, + "line": 56, "column": 4 }, "end": { - "line": 58, + "line": 56, "column": 5 } } @@ -12513,15 +12103,15 @@ { "type": "CommentBlock", "value": "*\n * @type {TzolkinDay}\n ", - "start": 1441, - "end": 1478, + "start": 1401, + "end": 1438, "loc": { "start": { - "line": 59, + "line": 57, "column": 4 }, "end": { - "line": 61, + "line": 59, "column": 7 } } @@ -12541,15 +12131,15 @@ "updateContext": null }, "value": "this", - "start": 1483, - "end": 1487, + "start": 1443, + "end": 1447, "loc": { "start": { - "line": 62, + "line": 60, "column": 4 }, "end": { - "line": 62, + "line": 60, "column": 8 } } @@ -12567,15 +12157,15 @@ "binop": null, "updateContext": null }, - "start": 1487, - "end": 1488, + "start": 1447, + "end": 1448, "loc": { "start": { - "line": 62, + "line": 60, "column": 8 }, "end": { - "line": 62, + "line": 60, "column": 9 } } @@ -12593,15 +12183,15 @@ "binop": null }, "value": "day", - "start": 1488, - "end": 1491, + "start": 1448, + "end": 1451, "loc": { "start": { - "line": 62, + "line": 60, "column": 9 }, "end": { - "line": 62, + "line": 60, "column": 12 } } @@ -12620,15 +12210,15 @@ "updateContext": null }, "value": "=", - "start": 1492, - "end": 1493, + "start": 1452, + "end": 1453, "loc": { "start": { - "line": 62, + "line": 60, "column": 13 }, "end": { - "line": 62, + "line": 60, "column": 14 } } @@ -12646,15 +12236,15 @@ "binop": null }, "value": "day", - "start": 1494, - "end": 1497, + "start": 1454, + "end": 1457, "loc": { "start": { - "line": 62, + "line": 60, "column": 15 }, "end": { - "line": 62, + "line": 60, "column": 18 } } @@ -12672,15 +12262,15 @@ "binop": null, "updateContext": null }, - "start": 1497, - "end": 1498, + "start": 1457, + "end": 1458, "loc": { "start": { - "line": 62, + "line": 60, "column": 18 }, "end": { - "line": 62, + "line": 60, "column": 19 } } @@ -12688,15 +12278,15 @@ { "type": "CommentBlock", "value": "*\n * @type {number}\n ", - "start": 1503, - "end": 1536, + "start": 1463, + "end": 1496, "loc": { "start": { - "line": 63, + "line": 61, "column": 4 }, "end": { - "line": 65, + "line": 63, "column": 7 } } @@ -12716,15 +12306,15 @@ "updateContext": null }, "value": "this", - "start": 1541, - "end": 1545, + "start": 1501, + "end": 1505, "loc": { "start": { - "line": 66, + "line": 64, "column": 4 }, "end": { - "line": 66, + "line": 64, "column": 8 } } @@ -12742,15 +12332,15 @@ "binop": null, "updateContext": null }, - "start": 1545, - "end": 1546, + "start": 1505, + "end": 1506, "loc": { "start": { - "line": 66, + "line": 64, "column": 8 }, "end": { - "line": 66, + "line": 64, "column": 9 } } @@ -12768,15 +12358,15 @@ "binop": null }, "value": "coeff", - "start": 1546, - "end": 1551, + "start": 1506, + "end": 1511, "loc": { "start": { - "line": 66, + "line": 64, "column": 9 }, "end": { - "line": 66, + "line": 64, "column": 14 } } @@ -12795,15 +12385,15 @@ "updateContext": null }, "value": "=", - "start": 1552, - "end": 1553, + "start": 1512, + "end": 1513, "loc": { "start": { - "line": 66, + "line": 64, "column": 15 }, "end": { - "line": 66, + "line": 64, "column": 16 } } @@ -12821,15 +12411,15 @@ "binop": null }, "value": "coeff", - "start": 1554, - "end": 1559, + "start": 1514, + "end": 1519, "loc": { "start": { - "line": 66, + "line": 64, "column": 17 }, "end": { - "line": 66, + "line": 64, "column": 22 } } @@ -12847,15 +12437,15 @@ "binop": null, "updateContext": null }, - "start": 1559, - "end": 1560, + "start": 1519, + "end": 1520, "loc": { "start": { - "line": 66, + "line": 64, "column": 22 }, "end": { - "line": 66, + "line": 64, "column": 23 } } @@ -12863,15 +12453,15 @@ { "type": "CommentBlock", "value": "*\n * Lazy loaded instance of the next Tzolkin date in the cycle\n * @type {Tzolkin}\n ", - "start": 1566, - "end": 1666, + "start": 1526, + "end": 1626, "loc": { "start": { - "line": 68, + "line": 66, "column": 4 }, "end": { - "line": 71, + "line": 69, "column": 7 } } @@ -12891,15 +12481,15 @@ "updateContext": null }, "value": "this", - "start": 1671, - "end": 1675, + "start": 1631, + "end": 1635, "loc": { "start": { - "line": 72, + "line": 70, "column": 4 }, "end": { - "line": 72, + "line": 70, "column": 8 } } @@ -12917,15 +12507,15 @@ "binop": null, "updateContext": null }, - "start": 1675, - "end": 1676, + "start": 1635, + "end": 1636, "loc": { "start": { - "line": 72, + "line": 70, "column": 8 }, "end": { - "line": 72, + "line": 70, "column": 9 } } @@ -12943,15 +12533,15 @@ "binop": null }, "value": "private_next", - "start": 1676, - "end": 1688, + "start": 1636, + "end": 1648, "loc": { "start": { - "line": 72, + "line": 70, "column": 9 }, "end": { - "line": 72, + "line": 70, "column": 21 } } @@ -12970,15 +12560,15 @@ "updateContext": null }, "value": "=", - "start": 1689, - "end": 1690, + "start": 1649, + "end": 1650, "loc": { "start": { - "line": 72, + "line": 70, "column": 22 }, "end": { - "line": 72, + "line": 70, "column": 23 } } @@ -12996,15 +12586,15 @@ "binop": null }, "value": "undefined", - "start": 1691, - "end": 1700, + "start": 1651, + "end": 1660, "loc": { "start": { - "line": 72, + "line": 70, "column": 24 }, "end": { - "line": 72, + "line": 70, "column": 33 } } @@ -13022,15 +12612,15 @@ "binop": null, "updateContext": null }, - "start": 1700, - "end": 1701, + "start": 1660, + "end": 1661, "loc": { "start": { - "line": 72, + "line": 70, "column": 33 }, "end": { - "line": 72, + "line": 70, "column": 34 } } @@ -13050,15 +12640,15 @@ "updateContext": null }, "value": "this", - "start": 1707, - "end": 1711, + "start": 1667, + "end": 1671, "loc": { "start": { - "line": 74, + "line": 72, "column": 4 }, "end": { - "line": 74, + "line": 72, "column": 8 } } @@ -13076,15 +12666,15 @@ "binop": null, "updateContext": null }, - "start": 1711, - "end": 1712, + "start": 1671, + "end": 1672, "loc": { "start": { - "line": 74, + "line": 72, "column": 8 }, "end": { - "line": 74, + "line": 72, "column": 9 } } @@ -13102,15 +12692,15 @@ "binop": null }, "value": "validate", - "start": 1712, - "end": 1720, + "start": 1672, + "end": 1680, "loc": { "start": { - "line": 74, + "line": 72, "column": 9 }, "end": { - "line": 74, + "line": 72, "column": 17 } } @@ -13127,15 +12717,15 @@ "postfix": false, "binop": null }, - "start": 1720, - "end": 1721, + "start": 1680, + "end": 1681, "loc": { "start": { - "line": 74, + "line": 72, "column": 17 }, "end": { - "line": 74, + "line": 72, "column": 18 } } @@ -13152,15 +12742,15 @@ "postfix": false, "binop": null }, - "start": 1721, - "end": 1722, + "start": 1681, + "end": 1682, "loc": { "start": { - "line": 74, + "line": 72, "column": 18 }, "end": { - "line": 74, + "line": 72, "column": 19 } } @@ -13178,15 +12768,15 @@ "binop": null, "updateContext": null }, - "start": 1722, - "end": 1723, + "start": 1682, + "end": 1683, "loc": { "start": { - "line": 74, + "line": 72, "column": 19 }, "end": { - "line": 74, + "line": 72, "column": 20 } } @@ -13203,15 +12793,15 @@ "postfix": false, "binop": null }, - "start": 1726, - "end": 1727, + "start": 1686, + "end": 1687, "loc": { "start": { - "line": 75, + "line": 73, "column": 2 }, "end": { - "line": 75, + "line": 73, "column": 3 } } @@ -13219,15 +12809,15 @@ { "type": "CommentBlock", "value": "*\n * Return the next day in the 260-day cycle\n * @returns {Tzolkin}\n ", - "start": 1731, - "end": 1810, + "start": 1691, + "end": 1770, "loc": { "start": { - "line": 77, + "line": 75, "column": 2 }, "end": { - "line": 80, + "line": 78, "column": 5 } } @@ -13245,15 +12835,15 @@ "binop": null }, "value": "next", - "start": 1813, - "end": 1817, + "start": 1773, + "end": 1777, "loc": { "start": { - "line": 81, + "line": 79, "column": 2 }, "end": { - "line": 81, + "line": 79, "column": 6 } } @@ -13270,15 +12860,15 @@ "postfix": false, "binop": null }, - "start": 1817, - "end": 1818, + "start": 1777, + "end": 1778, "loc": { "start": { - "line": 81, + "line": 79, "column": 6 }, "end": { - "line": 81, + "line": 79, "column": 7 } } @@ -13295,15 +12885,15 @@ "postfix": false, "binop": null }, - "start": 1818, - "end": 1819, + "start": 1778, + "end": 1779, "loc": { "start": { - "line": 81, + "line": 79, "column": 7 }, "end": { - "line": 81, + "line": 79, "column": 8 } } @@ -13320,15 +12910,15 @@ "postfix": false, "binop": null }, - "start": 1820, - "end": 1821, + "start": 1780, + "end": 1781, "loc": { "start": { - "line": 81, + "line": 79, "column": 9 }, "end": { - "line": 81, + "line": 79, "column": 10 } } @@ -13348,15 +12938,15 @@ "updateContext": null }, "value": "return", - "start": 1826, - "end": 1832, + "start": 1786, + "end": 1792, "loc": { "start": { - "line": 82, + "line": 80, "column": 4 }, "end": { - "line": 82, + "line": 80, "column": 10 } } @@ -13376,15 +12966,15 @@ "updateContext": null }, "value": "this", - "start": 1833, - "end": 1837, + "start": 1793, + "end": 1797, "loc": { "start": { - "line": 82, + "line": 80, "column": 11 }, "end": { - "line": 82, + "line": 80, "column": 15 } } @@ -13402,15 +12992,15 @@ "binop": null, "updateContext": null }, - "start": 1837, - "end": 1838, + "start": 1797, + "end": 1798, "loc": { "start": { - "line": 82, + "line": 80, "column": 15 }, "end": { - "line": 82, + "line": 80, "column": 16 } } @@ -13428,15 +13018,15 @@ "binop": null }, "value": "shift", - "start": 1838, - "end": 1843, + "start": 1798, + "end": 1803, "loc": { "start": { - "line": 82, + "line": 80, "column": 16 }, "end": { - "line": 82, + "line": 80, "column": 21 } } @@ -13453,15 +13043,15 @@ "postfix": false, "binop": null }, - "start": 1843, - "end": 1844, + "start": 1803, + "end": 1804, "loc": { "start": { - "line": 82, + "line": 80, "column": 21 }, "end": { - "line": 82, + "line": 80, "column": 22 } } @@ -13480,15 +13070,15 @@ "updateContext": null }, "value": 1, - "start": 1844, - "end": 1845, + "start": 1804, + "end": 1805, "loc": { "start": { - "line": 82, + "line": 80, "column": 22 }, "end": { - "line": 82, + "line": 80, "column": 23 } } @@ -13505,15 +13095,15 @@ "postfix": false, "binop": null }, - "start": 1845, - "end": 1846, + "start": 1805, + "end": 1806, "loc": { "start": { - "line": 82, + "line": 80, "column": 23 }, "end": { - "line": 82, + "line": 80, "column": 24 } } @@ -13531,15 +13121,15 @@ "binop": null, "updateContext": null }, - "start": 1846, - "end": 1847, + "start": 1806, + "end": 1807, "loc": { "start": { - "line": 82, + "line": 80, "column": 24 }, "end": { - "line": 82, + "line": 80, "column": 25 } } @@ -13556,15 +13146,15 @@ "postfix": false, "binop": null }, - "start": 1850, - "end": 1851, + "start": 1810, + "end": 1811, "loc": { "start": { - "line": 83, + "line": 81, "column": 2 }, "end": { - "line": 83, + "line": 81, "column": 3 } } @@ -13572,15 +13162,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure the Tzolkin's coefficients are within range and the day is defined\n * @return {boolean}\n ", - "start": 1855, - "end": 1966, + "start": 1815, + "end": 1926, "loc": { "start": { - "line": 85, + "line": 83, "column": 2 }, "end": { - "line": 88, + "line": 86, "column": 5 } } @@ -13598,15 +13188,15 @@ "binop": null }, "value": "validate", - "start": 1969, - "end": 1977, + "start": 1929, + "end": 1937, "loc": { "start": { - "line": 89, + "line": 87, "column": 2 }, "end": { - "line": 89, + "line": 87, "column": 10 } } @@ -13623,15 +13213,15 @@ "postfix": false, "binop": null }, - "start": 1977, - "end": 1978, + "start": 1937, + "end": 1938, "loc": { "start": { - "line": 89, + "line": 87, "column": 10 }, "end": { - "line": 89, + "line": 87, "column": 11 } } @@ -13648,15 +13238,15 @@ "postfix": false, "binop": null }, - "start": 1978, - "end": 1979, + "start": 1938, + "end": 1939, "loc": { "start": { - "line": 89, + "line": 87, "column": 11 }, "end": { - "line": 89, + "line": 87, "column": 12 } } @@ -13673,15 +13263,15 @@ "postfix": false, "binop": null }, - "start": 1980, - "end": 1981, + "start": 1940, + "end": 1941, "loc": { "start": { - "line": 89, + "line": 87, "column": 13 }, "end": { - "line": 89, + "line": 87, "column": 14 } } @@ -13701,15 +13291,15 @@ "updateContext": null }, "value": "if", - "start": 1986, - "end": 1988, + "start": 1946, + "end": 1948, "loc": { "start": { - "line": 90, + "line": 88, "column": 4 }, "end": { - "line": 90, + "line": 88, "column": 6 } } @@ -13726,15 +13316,15 @@ "postfix": false, "binop": null }, - "start": 1989, - "end": 1990, + "start": 1949, + "end": 1950, "loc": { "start": { - "line": 90, + "line": 88, "column": 7 }, "end": { - "line": 90, + "line": 88, "column": 8 } } @@ -13754,15 +13344,15 @@ "updateContext": null }, "value": "this", - "start": 1990, - "end": 1994, + "start": 1950, + "end": 1954, "loc": { "start": { - "line": 90, + "line": 88, "column": 8 }, "end": { - "line": 90, + "line": 88, "column": 12 } } @@ -13780,15 +13370,15 @@ "binop": null, "updateContext": null }, - "start": 1994, - "end": 1995, + "start": 1954, + "end": 1955, "loc": { "start": { - "line": 90, + "line": 88, "column": 12 }, "end": { - "line": 90, + "line": 88, "column": 13 } } @@ -13806,15 +13396,15 @@ "binop": null }, "value": "coeff", - "start": 1995, - "end": 2000, + "start": 1955, + "end": 1960, "loc": { "start": { - "line": 90, + "line": 88, "column": 13 }, "end": { - "line": 90, + "line": 88, "column": 18 } } @@ -13833,15 +13423,15 @@ "updateContext": null }, "value": ">", - "start": 2001, - "end": 2002, + "start": 1961, + "end": 1962, "loc": { "start": { - "line": 90, + "line": 88, "column": 19 }, "end": { - "line": 90, + "line": 88, "column": 20 } } @@ -13860,15 +13450,15 @@ "updateContext": null }, "value": 13, - "start": 2003, - "end": 2005, + "start": 1963, + "end": 1965, "loc": { "start": { - "line": 90, + "line": 88, "column": 21 }, "end": { - "line": 90, + "line": 88, "column": 23 } } @@ -13887,15 +13477,15 @@ "updateContext": null }, "value": "||", - "start": 2006, - "end": 2008, + "start": 1966, + "end": 1968, "loc": { "start": { - "line": 90, + "line": 88, "column": 24 }, "end": { - "line": 90, + "line": 88, "column": 26 } } @@ -13915,15 +13505,15 @@ "updateContext": null }, "value": "this", - "start": 2009, - "end": 2013, + "start": 1969, + "end": 1973, "loc": { "start": { - "line": 90, + "line": 88, "column": 27 }, "end": { - "line": 90, + "line": 88, "column": 31 } } @@ -13941,15 +13531,15 @@ "binop": null, "updateContext": null }, - "start": 2013, - "end": 2014, + "start": 1973, + "end": 1974, "loc": { "start": { - "line": 90, + "line": 88, "column": 31 }, "end": { - "line": 90, + "line": 88, "column": 32 } } @@ -13967,15 +13557,15 @@ "binop": null }, "value": "coeff", - "start": 2014, - "end": 2019, + "start": 1974, + "end": 1979, "loc": { "start": { - "line": 90, + "line": 88, "column": 32 }, "end": { - "line": 90, + "line": 88, "column": 37 } } @@ -13994,15 +13584,15 @@ "updateContext": null }, "value": "<", - "start": 2020, - "end": 2021, + "start": 1980, + "end": 1981, "loc": { "start": { - "line": 90, + "line": 88, "column": 38 }, "end": { - "line": 90, + "line": 88, "column": 39 } } @@ -14021,15 +13611,15 @@ "updateContext": null }, "value": 1, - "start": 2022, - "end": 2023, + "start": 1982, + "end": 1983, "loc": { "start": { - "line": 90, + "line": 88, "column": 40 }, "end": { - "line": 90, + "line": 88, "column": 41 } } @@ -14046,15 +13636,15 @@ "postfix": false, "binop": null }, - "start": 2023, - "end": 2024, + "start": 1983, + "end": 1984, "loc": { "start": { - "line": 90, + "line": 88, "column": 41 }, "end": { - "line": 90, + "line": 88, "column": 42 } } @@ -14071,15 +13661,15 @@ "postfix": false, "binop": null }, - "start": 2025, - "end": 2026, + "start": 1985, + "end": 1986, "loc": { "start": { - "line": 90, + "line": 88, "column": 43 }, "end": { - "line": 90, + "line": 88, "column": 44 } } @@ -14099,15 +13689,15 @@ "updateContext": null }, "value": "throw", - "start": 2033, - "end": 2038, + "start": 1993, + "end": 1998, "loc": { "start": { - "line": 91, + "line": 89, "column": 6 }, "end": { - "line": 91, + "line": 89, "column": 11 } } @@ -14127,15 +13717,15 @@ "updateContext": null }, "value": "new", - "start": 2039, - "end": 2042, + "start": 1999, + "end": 2002, "loc": { "start": { - "line": 91, + "line": 89, "column": 12 }, "end": { - "line": 91, + "line": 89, "column": 15 } } @@ -14153,15 +13743,15 @@ "binop": null }, "value": "Error", - "start": 2043, - "end": 2048, + "start": 2003, + "end": 2008, "loc": { "start": { - "line": 91, + "line": 89, "column": 16 }, "end": { - "line": 91, + "line": 89, "column": 21 } } @@ -14178,15 +13768,15 @@ "postfix": false, "binop": null }, - "start": 2048, - "end": 2049, + "start": 2008, + "end": 2009, "loc": { "start": { - "line": 91, + "line": 89, "column": 21 }, "end": { - "line": 91, + "line": 89, "column": 22 } } @@ -14205,15 +13795,15 @@ "updateContext": null }, "value": "Tzolk'in coefficient must inclusively between 1 and 13.", - "start": 2049, - "end": 2107, + "start": 2009, + "end": 2067, "loc": { "start": { - "line": 91, + "line": 89, "column": 22 }, "end": { - "line": 91, + "line": 89, "column": 80 } } @@ -14230,15 +13820,15 @@ "postfix": false, "binop": null }, - "start": 2107, - "end": 2108, + "start": 2067, + "end": 2068, "loc": { "start": { - "line": 91, + "line": 89, "column": 80 }, "end": { - "line": 91, + "line": 89, "column": 81 } } @@ -14256,15 +13846,15 @@ "binop": null, "updateContext": null }, - "start": 2108, - "end": 2109, + "start": 2068, + "end": 2069, "loc": { "start": { - "line": 91, + "line": 89, "column": 81 }, "end": { - "line": 91, + "line": 89, "column": 82 } } @@ -14281,15 +13871,15 @@ "postfix": false, "binop": null }, - "start": 2114, - "end": 2115, + "start": 2074, + "end": 2075, "loc": { "start": { - "line": 92, + "line": 90, "column": 4 }, "end": { - "line": 92, + "line": 90, "column": 5 } } @@ -14309,15 +13899,15 @@ "updateContext": null }, "value": "if", - "start": 2120, - "end": 2122, + "start": 2080, + "end": 2082, "loc": { "start": { - "line": 93, + "line": 91, "column": 4 }, "end": { - "line": 93, + "line": 91, "column": 6 } } @@ -14334,15 +13924,15 @@ "postfix": false, "binop": null }, - "start": 2123, - "end": 2124, + "start": 2083, + "end": 2084, "loc": { "start": { - "line": 93, + "line": 91, "column": 7 }, "end": { - "line": 93, + "line": 91, "column": 8 } } @@ -14362,15 +13952,15 @@ "updateContext": null }, "value": "this", - "start": 2124, - "end": 2128, + "start": 2084, + "end": 2088, "loc": { "start": { - "line": 93, + "line": 91, "column": 8 }, "end": { - "line": 93, + "line": 91, "column": 12 } } @@ -14388,15 +13978,15 @@ "binop": null, "updateContext": null }, - "start": 2128, - "end": 2129, + "start": 2088, + "end": 2089, "loc": { "start": { - "line": 93, + "line": 91, "column": 12 }, "end": { - "line": 93, + "line": 91, "column": 13 } } @@ -14414,15 +14004,15 @@ "binop": null }, "value": "day", - "start": 2129, - "end": 2132, + "start": 2089, + "end": 2092, "loc": { "start": { - "line": 93, + "line": 91, "column": 13 }, "end": { - "line": 93, + "line": 91, "column": 16 } } @@ -14441,15 +14031,15 @@ "updateContext": null }, "value": "===", - "start": 2133, - "end": 2136, + "start": 2093, + "end": 2096, "loc": { "start": { - "line": 93, + "line": 91, "column": 17 }, "end": { - "line": 93, + "line": 91, "column": 20 } } @@ -14467,15 +14057,15 @@ "binop": null }, "value": "undefined", - "start": 2137, - "end": 2146, + "start": 2097, + "end": 2106, "loc": { "start": { - "line": 93, + "line": 91, "column": 21 }, "end": { - "line": 93, + "line": 91, "column": 30 } } @@ -14492,15 +14082,15 @@ "postfix": false, "binop": null }, - "start": 2146, - "end": 2147, + "start": 2106, + "end": 2107, "loc": { "start": { - "line": 93, + "line": 91, "column": 30 }, "end": { - "line": 93, + "line": 91, "column": 31 } } @@ -14517,15 +14107,15 @@ "postfix": false, "binop": null }, - "start": 2148, - "end": 2149, + "start": 2108, + "end": 2109, "loc": { "start": { - "line": 93, + "line": 91, "column": 32 }, "end": { - "line": 93, + "line": 91, "column": 33 } } @@ -14545,15 +14135,15 @@ "updateContext": null }, "value": "throw", - "start": 2156, - "end": 2161, + "start": 2116, + "end": 2121, "loc": { "start": { - "line": 94, + "line": 92, "column": 6 }, "end": { - "line": 94, + "line": 92, "column": 11 } } @@ -14573,15 +14163,15 @@ "updateContext": null }, "value": "new", - "start": 2162, - "end": 2165, + "start": 2122, + "end": 2125, "loc": { "start": { - "line": 94, + "line": 92, "column": 12 }, "end": { - "line": 94, + "line": 92, "column": 15 } } @@ -14599,15 +14189,15 @@ "binop": null }, "value": "Error", - "start": 2166, - "end": 2171, + "start": 2126, + "end": 2131, "loc": { "start": { - "line": 94, + "line": 92, "column": 16 }, "end": { - "line": 94, + "line": 92, "column": 21 } } @@ -14624,15 +14214,15 @@ "postfix": false, "binop": null }, - "start": 2171, - "end": 2172, + "start": 2131, + "end": 2132, "loc": { "start": { - "line": 94, + "line": 92, "column": 21 }, "end": { - "line": 94, + "line": 92, "column": 22 } } @@ -14651,15 +14241,15 @@ "updateContext": null }, "value": "Tzolk'in day must be provided", - "start": 2172, - "end": 2204, + "start": 2132, + "end": 2164, "loc": { "start": { - "line": 94, + "line": 92, "column": 22 }, "end": { - "line": 94, + "line": 92, "column": 54 } } @@ -14676,15 +14266,15 @@ "postfix": false, "binop": null }, - "start": 2204, - "end": 2205, + "start": 2164, + "end": 2165, "loc": { "start": { - "line": 94, + "line": 92, "column": 54 }, "end": { - "line": 94, + "line": 92, "column": 55 } } @@ -14702,15 +14292,15 @@ "binop": null, "updateContext": null }, - "start": 2205, - "end": 2206, + "start": 2165, + "end": 2166, "loc": { "start": { - "line": 94, + "line": 92, "column": 55 }, "end": { - "line": 94, + "line": 92, "column": 56 } } @@ -14727,15 +14317,15 @@ "postfix": false, "binop": null }, - "start": 2211, - "end": 2212, + "start": 2171, + "end": 2172, "loc": { "start": { - "line": 95, + "line": 93, "column": 4 }, "end": { - "line": 95, + "line": 93, "column": 5 } } @@ -14755,15 +14345,15 @@ "updateContext": null }, "value": "if", - "start": 2217, - "end": 2219, + "start": 2177, + "end": 2179, "loc": { "start": { - "line": 96, + "line": 94, "column": 4 }, "end": { - "line": 96, + "line": 94, "column": 6 } } @@ -14780,15 +14370,15 @@ "postfix": false, "binop": null }, - "start": 2220, - "end": 2221, + "start": 2180, + "end": 2181, "loc": { "start": { - "line": 96, + "line": 94, "column": 7 }, "end": { - "line": 96, + "line": 94, "column": 8 } } @@ -14808,15 +14398,15 @@ "updateContext": null }, "value": "this", - "start": 2221, - "end": 2225, + "start": 2181, + "end": 2185, "loc": { "start": { - "line": 96, + "line": 94, "column": 8 }, "end": { - "line": 96, + "line": 94, "column": 12 } } @@ -14834,15 +14424,15 @@ "binop": null, "updateContext": null }, - "start": 2225, - "end": 2226, + "start": 2185, + "end": 2186, "loc": { "start": { - "line": 96, + "line": 94, "column": 12 }, "end": { - "line": 96, + "line": 94, "column": 13 } } @@ -14860,15 +14450,15 @@ "binop": null }, "value": "day", - "start": 2226, - "end": 2229, + "start": 2186, + "end": 2189, "loc": { "start": { - "line": 96, + "line": 94, "column": 13 }, "end": { - "line": 96, + "line": 94, "column": 16 } } @@ -14887,15 +14477,15 @@ "updateContext": null }, "value": "!==", - "start": 2230, - "end": 2233, + "start": 2190, + "end": 2193, "loc": { "start": { - "line": 96, + "line": 94, "column": 17 }, "end": { - "line": 96, + "line": 94, "column": 20 } } @@ -14913,15 +14503,15 @@ "binop": null }, "value": "wildcard", - "start": 2234, - "end": 2242, + "start": 2194, + "end": 2202, "loc": { "start": { - "line": 96, + "line": 94, "column": 21 }, "end": { - "line": 96, + "line": 94, "column": 29 } } @@ -14938,15 +14528,15 @@ "postfix": false, "binop": null }, - "start": 2242, - "end": 2243, + "start": 2202, + "end": 2203, "loc": { "start": { - "line": 96, + "line": 94, "column": 29 }, "end": { - "line": 96, + "line": 94, "column": 30 } } @@ -14963,15 +14553,15 @@ "postfix": false, "binop": null }, - "start": 2244, - "end": 2245, + "start": 2204, + "end": 2205, "loc": { "start": { - "line": 96, + "line": 94, "column": 31 }, "end": { - "line": 96, + "line": 94, "column": 32 } } @@ -14991,15 +14581,15 @@ "updateContext": null }, "value": "this", - "start": 2252, - "end": 2256, + "start": 2212, + "end": 2216, "loc": { "start": { - "line": 97, + "line": 95, "column": 6 }, "end": { - "line": 97, + "line": 95, "column": 10 } } @@ -15017,15 +14607,15 @@ "binop": null, "updateContext": null }, - "start": 2256, - "end": 2257, + "start": 2216, + "end": 2217, "loc": { "start": { - "line": 97, + "line": 95, "column": 10 }, "end": { - "line": 97, + "line": 95, "column": 11 } } @@ -15043,15 +14633,15 @@ "binop": null }, "value": "day", - "start": 2257, - "end": 2260, + "start": 2217, + "end": 2220, "loc": { "start": { - "line": 97, + "line": 95, "column": 11 }, "end": { - "line": 97, + "line": 95, "column": 14 } } @@ -15069,15 +14659,15 @@ "binop": null, "updateContext": null }, - "start": 2260, - "end": 2261, + "start": 2220, + "end": 2221, "loc": { "start": { - "line": 97, + "line": 95, "column": 14 }, "end": { - "line": 97, + "line": 95, "column": 15 } } @@ -15095,15 +14685,15 @@ "binop": null }, "value": "validate", - "start": 2261, - "end": 2269, + "start": 2221, + "end": 2229, "loc": { "start": { - "line": 97, + "line": 95, "column": 15 }, "end": { - "line": 97, + "line": 95, "column": 23 } } @@ -15120,15 +14710,15 @@ "postfix": false, "binop": null }, - "start": 2269, - "end": 2270, + "start": 2229, + "end": 2230, "loc": { "start": { - "line": 97, + "line": 95, "column": 23 }, "end": { - "line": 97, + "line": 95, "column": 24 } } @@ -15145,15 +14735,15 @@ "postfix": false, "binop": null }, - "start": 2270, - "end": 2271, + "start": 2230, + "end": 2231, "loc": { "start": { - "line": 97, + "line": 95, "column": 24 }, "end": { - "line": 97, + "line": 95, "column": 25 } } @@ -15171,15 +14761,15 @@ "binop": null, "updateContext": null }, - "start": 2271, - "end": 2272, + "start": 2231, + "end": 2232, "loc": { "start": { - "line": 97, + "line": 95, "column": 25 }, "end": { - "line": 97, + "line": 95, "column": 26 } } @@ -15196,15 +14786,15 @@ "postfix": false, "binop": null }, - "start": 2277, - "end": 2278, + "start": 2237, + "end": 2238, "loc": { "start": { - "line": 98, + "line": 96, "column": 4 }, "end": { - "line": 98, + "line": 96, "column": 5 } } @@ -15224,15 +14814,15 @@ "updateContext": null }, "value": "return", - "start": 2283, - "end": 2289, + "start": 2243, + "end": 2249, "loc": { "start": { - "line": 99, + "line": 97, "column": 4 }, "end": { - "line": 99, + "line": 97, "column": 10 } } @@ -15252,15 +14842,15 @@ "updateContext": null }, "value": "true", - "start": 2290, - "end": 2294, + "start": 2250, + "end": 2254, "loc": { "start": { - "line": 99, + "line": 97, "column": 11 }, "end": { - "line": 99, + "line": 97, "column": 15 } } @@ -15278,15 +14868,15 @@ "binop": null, "updateContext": null }, - "start": 2294, - "end": 2295, + "start": 2254, + "end": 2255, "loc": { "start": { - "line": 99, + "line": 97, "column": 15 }, "end": { - "line": 99, + "line": 97, "column": 16 } } @@ -15303,15 +14893,15 @@ "postfix": false, "binop": null }, - "start": 2298, - "end": 2299, + "start": 2258, + "end": 2259, "loc": { "start": { - "line": 100, + "line": 98, "column": 2 }, "end": { - "line": 100, + "line": 98, "column": 3 } } @@ -15319,15 +14909,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {Number} newIncremental\n * @return {Tzolkin}\n ", - "start": 2303, - "end": 2376, + "start": 2263, + "end": 2336, "loc": { "start": { - "line": 102, + "line": 100, "column": 2 }, "end": { - "line": 106, + "line": 104, "column": 5 } } @@ -15345,15 +14935,15 @@ "binop": null }, "value": "shift", - "start": 2379, - "end": 2384, + "start": 2339, + "end": 2344, "loc": { "start": { - "line": 107, + "line": 105, "column": 2 }, "end": { - "line": 107, + "line": 105, "column": 7 } } @@ -15370,15 +14960,15 @@ "postfix": false, "binop": null }, - "start": 2384, - "end": 2385, + "start": 2344, + "end": 2345, "loc": { "start": { - "line": 107, + "line": 105, "column": 7 }, "end": { - "line": 107, + "line": 105, "column": 8 } } @@ -15396,15 +14986,15 @@ "binop": null }, "value": "newIncremental", - "start": 2385, - "end": 2399, + "start": 2345, + "end": 2359, "loc": { "start": { - "line": 107, + "line": 105, "column": 8 }, "end": { - "line": 107, + "line": 105, "column": 22 } } @@ -15421,15 +15011,15 @@ "postfix": false, "binop": null }, - "start": 2399, - "end": 2400, + "start": 2359, + "end": 2360, "loc": { "start": { - "line": 107, + "line": 105, "column": 22 }, "end": { - "line": 107, + "line": 105, "column": 23 } } @@ -15446,15 +15036,15 @@ "postfix": false, "binop": null }, - "start": 2401, - "end": 2402, + "start": 2361, + "end": 2362, "loc": { "start": { - "line": 107, + "line": 105, "column": 24 }, "end": { - "line": 107, + "line": 105, "column": 25 } } @@ -15474,15 +15064,15 @@ "updateContext": null }, "value": "const", - "start": 2407, - "end": 2412, + "start": 2367, + "end": 2372, "loc": { "start": { - "line": 108, + "line": 106, "column": 4 }, "end": { - "line": 108, + "line": 106, "column": 9 } } @@ -15500,15 +15090,15 @@ "binop": null }, "value": "incremental", - "start": 2413, - "end": 2424, + "start": 2373, + "end": 2384, "loc": { "start": { - "line": 108, + "line": 106, "column": 10 }, "end": { - "line": 108, + "line": 106, "column": 21 } } @@ -15527,15 +15117,15 @@ "updateContext": null }, "value": "=", - "start": 2425, - "end": 2426, + "start": 2385, + "end": 2386, "loc": { "start": { - "line": 108, + "line": 106, "column": 22 }, "end": { - "line": 108, + "line": 106, "column": 23 } } @@ -15553,15 +15143,15 @@ "binop": null }, "value": "newIncremental", - "start": 2427, - "end": 2441, + "start": 2387, + "end": 2401, "loc": { "start": { - "line": 108, + "line": 106, "column": 24 }, "end": { - "line": 108, + "line": 106, "column": 38 } } @@ -15580,15 +15170,15 @@ "updateContext": null }, "value": "%", - "start": 2442, - "end": 2443, + "start": 2402, + "end": 2403, "loc": { "start": { - "line": 108, + "line": 106, "column": 39 }, "end": { - "line": 108, + "line": 106, "column": 40 } } @@ -15607,15 +15197,15 @@ "updateContext": null }, "value": 260, - "start": 2444, - "end": 2447, + "start": 2404, + "end": 2407, "loc": { "start": { - "line": 108, + "line": 106, "column": 41 }, "end": { - "line": 108, + "line": 106, "column": 44 } } @@ -15633,15 +15223,15 @@ "binop": null, "updateContext": null }, - "start": 2447, - "end": 2448, + "start": 2407, + "end": 2408, "loc": { "start": { - "line": 108, + "line": 106, "column": 44 }, "end": { - "line": 108, + "line": 106, "column": 45 } } @@ -15661,15 +15251,15 @@ "updateContext": null }, "value": "if", - "start": 2453, - "end": 2455, + "start": 2413, + "end": 2415, "loc": { "start": { - "line": 109, + "line": 107, "column": 4 }, "end": { - "line": 109, + "line": 107, "column": 6 } } @@ -15686,15 +15276,15 @@ "postfix": false, "binop": null }, - "start": 2456, - "end": 2457, + "start": 2416, + "end": 2417, "loc": { "start": { - "line": 109, + "line": 107, "column": 7 }, "end": { - "line": 109, + "line": 107, "column": 8 } } @@ -15714,15 +15304,15 @@ "updateContext": null }, "value": "this", - "start": 2457, - "end": 2461, + "start": 2417, + "end": 2421, "loc": { "start": { - "line": 109, + "line": 107, "column": 8 }, "end": { - "line": 109, + "line": 107, "column": 12 } } @@ -15740,15 +15330,15 @@ "binop": null, "updateContext": null }, - "start": 2461, - "end": 2462, + "start": 2421, + "end": 2422, "loc": { "start": { - "line": 109, + "line": 107, "column": 12 }, "end": { - "line": 109, + "line": 107, "column": 13 } } @@ -15766,15 +15356,15 @@ "binop": null }, "value": "private_next", - "start": 2462, - "end": 2474, + "start": 2422, + "end": 2434, "loc": { "start": { - "line": 109, + "line": 107, "column": 13 }, "end": { - "line": 109, + "line": 107, "column": 25 } } @@ -15793,15 +15383,15 @@ "updateContext": null }, "value": "===", - "start": 2475, - "end": 2478, + "start": 2435, + "end": 2438, "loc": { "start": { - "line": 109, + "line": 107, "column": 26 }, "end": { - "line": 109, + "line": 107, "column": 29 } } @@ -15819,15 +15409,15 @@ "binop": null }, "value": "undefined", - "start": 2479, - "end": 2488, + "start": 2439, + "end": 2448, "loc": { "start": { - "line": 109, + "line": 107, "column": 30 }, "end": { - "line": 109, + "line": 107, "column": 39 } } @@ -15844,15 +15434,15 @@ "postfix": false, "binop": null }, - "start": 2488, - "end": 2489, + "start": 2448, + "end": 2449, "loc": { "start": { - "line": 109, + "line": 107, "column": 39 }, "end": { - "line": 109, + "line": 107, "column": 40 } } @@ -15869,15 +15459,15 @@ "postfix": false, "binop": null }, - "start": 2490, - "end": 2491, + "start": 2450, + "end": 2451, "loc": { "start": { - "line": 109, + "line": 107, "column": 41 }, "end": { - "line": 109, + "line": 107, "column": 42 } } @@ -15897,15 +15487,15 @@ "updateContext": null }, "value": "let", - "start": 2498, - "end": 2501, + "start": 2458, + "end": 2461, "loc": { "start": { - "line": 110, + "line": 108, "column": 6 }, "end": { - "line": 110, + "line": 108, "column": 9 } } @@ -15923,15 +15513,15 @@ "binop": null }, "value": "newCoeff", - "start": 2502, - "end": 2510, + "start": 2462, + "end": 2470, "loc": { "start": { - "line": 110, + "line": 108, "column": 10 }, "end": { - "line": 110, + "line": 108, "column": 18 } } @@ -15950,15 +15540,15 @@ "updateContext": null }, "value": "=", - "start": 2511, - "end": 2512, + "start": 2471, + "end": 2472, "loc": { "start": { - "line": 110, + "line": 108, "column": 19 }, "end": { - "line": 110, + "line": 108, "column": 20 } } @@ -15975,15 +15565,15 @@ "postfix": false, "binop": null }, - "start": 2513, - "end": 2514, + "start": 2473, + "end": 2474, "loc": { "start": { - "line": 110, + "line": 108, "column": 21 }, "end": { - "line": 110, + "line": 108, "column": 22 } } @@ -16003,15 +15593,15 @@ "updateContext": null }, "value": "this", - "start": 2514, - "end": 2518, + "start": 2474, + "end": 2478, "loc": { "start": { - "line": 110, + "line": 108, "column": 22 }, "end": { - "line": 110, + "line": 108, "column": 26 } } @@ -16029,15 +15619,15 @@ "binop": null, "updateContext": null }, - "start": 2518, - "end": 2519, + "start": 2478, + "end": 2479, "loc": { "start": { - "line": 110, + "line": 108, "column": 26 }, "end": { - "line": 110, + "line": 108, "column": 27 } } @@ -16055,15 +15645,15 @@ "binop": null }, "value": "coeff", - "start": 2519, - "end": 2524, + "start": 2479, + "end": 2484, "loc": { "start": { - "line": 110, + "line": 108, "column": 27 }, "end": { - "line": 110, + "line": 108, "column": 32 } } @@ -16082,15 +15672,15 @@ "updateContext": null }, "value": "+", - "start": 2525, - "end": 2526, + "start": 2485, + "end": 2486, "loc": { "start": { - "line": 110, + "line": 108, "column": 33 }, "end": { - "line": 110, + "line": 108, "column": 34 } } @@ -16109,15 +15699,15 @@ "updateContext": null }, "value": 1, - "start": 2527, - "end": 2528, + "start": 2487, + "end": 2488, "loc": { "start": { - "line": 110, + "line": 108, "column": 35 }, "end": { - "line": 110, + "line": 108, "column": 36 } } @@ -16134,15 +15724,15 @@ "postfix": false, "binop": null }, - "start": 2528, - "end": 2529, + "start": 2488, + "end": 2489, "loc": { "start": { - "line": 110, + "line": 108, "column": 36 }, "end": { - "line": 110, + "line": 108, "column": 37 } } @@ -16161,15 +15751,15 @@ "updateContext": null }, "value": "%", - "start": 2530, - "end": 2531, + "start": 2490, + "end": 2491, "loc": { "start": { - "line": 110, + "line": 108, "column": 38 }, "end": { - "line": 110, + "line": 108, "column": 39 } } @@ -16188,15 +15778,15 @@ "updateContext": null }, "value": 13, - "start": 2532, - "end": 2534, + "start": 2492, + "end": 2494, "loc": { "start": { - "line": 110, + "line": 108, "column": 40 }, "end": { - "line": 110, + "line": 108, "column": 42 } } @@ -16214,15 +15804,15 @@ "binop": null, "updateContext": null }, - "start": 2534, - "end": 2535, + "start": 2494, + "end": 2495, "loc": { "start": { - "line": 110, + "line": 108, "column": 42 }, "end": { - "line": 110, + "line": 108, "column": 43 } } @@ -16240,15 +15830,15 @@ "binop": null }, "value": "newCoeff", - "start": 2542, - "end": 2550, + "start": 2502, + "end": 2510, "loc": { "start": { - "line": 111, + "line": 109, "column": 6 }, "end": { - "line": 111, + "line": 109, "column": 14 } } @@ -16267,15 +15857,15 @@ "updateContext": null }, "value": "=", - "start": 2551, - "end": 2552, + "start": 2511, + "end": 2512, "loc": { "start": { - "line": 111, + "line": 109, "column": 15 }, "end": { - "line": 111, + "line": 109, "column": 16 } } @@ -16292,15 +15882,15 @@ "postfix": false, "binop": null }, - "start": 2553, - "end": 2554, + "start": 2513, + "end": 2514, "loc": { "start": { - "line": 111, + "line": 109, "column": 17 }, "end": { - "line": 111, + "line": 109, "column": 18 } } @@ -16318,15 +15908,15 @@ "binop": null }, "value": "newCoeff", - "start": 2554, - "end": 2562, + "start": 2514, + "end": 2522, "loc": { "start": { - "line": 111, + "line": 109, "column": 18 }, "end": { - "line": 111, + "line": 109, "column": 26 } } @@ -16345,15 +15935,15 @@ "updateContext": null }, "value": "%", - "start": 2563, - "end": 2564, + "start": 2523, + "end": 2524, "loc": { "start": { - "line": 111, + "line": 109, "column": 27 }, "end": { - "line": 111, + "line": 109, "column": 28 } } @@ -16372,15 +15962,15 @@ "updateContext": null }, "value": 13, - "start": 2565, - "end": 2567, + "start": 2525, + "end": 2527, "loc": { "start": { - "line": 111, + "line": 109, "column": 29 }, "end": { - "line": 111, + "line": 109, "column": 31 } } @@ -16397,15 +15987,15 @@ "postfix": false, "binop": null }, - "start": 2567, - "end": 2568, + "start": 2527, + "end": 2528, "loc": { "start": { - "line": 111, + "line": 109, "column": 31 }, "end": { - "line": 111, + "line": 109, "column": 32 } } @@ -16424,15 +16014,15 @@ "updateContext": null }, "value": "===", - "start": 2569, - "end": 2572, + "start": 2529, + "end": 2532, "loc": { "start": { - "line": 111, + "line": 109, "column": 33 }, "end": { - "line": 111, + "line": 109, "column": 36 } } @@ -16451,15 +16041,15 @@ "updateContext": null }, "value": 0, - "start": 2573, - "end": 2574, + "start": 2533, + "end": 2534, "loc": { "start": { - "line": 111, + "line": 109, "column": 37 }, "end": { - "line": 111, + "line": 109, "column": 38 } } @@ -16477,15 +16067,15 @@ "binop": null, "updateContext": null }, - "start": 2575, - "end": 2576, + "start": 2535, + "end": 2536, "loc": { "start": { - "line": 111, + "line": 109, "column": 39 }, "end": { - "line": 111, + "line": 109, "column": 40 } } @@ -16504,15 +16094,15 @@ "updateContext": null }, "value": 13, - "start": 2577, - "end": 2579, + "start": 2537, + "end": 2539, "loc": { "start": { - "line": 111, + "line": 109, "column": 41 }, "end": { - "line": 111, + "line": 109, "column": 43 } } @@ -16530,15 +16120,15 @@ "binop": null, "updateContext": null }, - "start": 2580, - "end": 2581, + "start": 2540, + "end": 2541, "loc": { "start": { - "line": 111, + "line": 109, "column": 44 }, "end": { - "line": 111, + "line": 109, "column": 45 } } @@ -16556,15 +16146,15 @@ "binop": null }, "value": "newCoeff", - "start": 2582, - "end": 2590, + "start": 2542, + "end": 2550, "loc": { "start": { - "line": 111, + "line": 109, "column": 46 }, "end": { - "line": 111, + "line": 109, "column": 54 } } @@ -16582,15 +16172,15 @@ "binop": null, "updateContext": null }, - "start": 2590, - "end": 2591, + "start": 2550, + "end": 2551, "loc": { "start": { - "line": 111, + "line": 109, "column": 54 }, "end": { - "line": 111, + "line": 109, "column": 55 } } @@ -16610,15 +16200,15 @@ "updateContext": null }, "value": "const", - "start": 2598, - "end": 2603, + "start": 2558, + "end": 2563, "loc": { "start": { - "line": 112, + "line": 110, "column": 6 }, "end": { - "line": 112, + "line": 110, "column": 11 } } @@ -16636,15 +16226,15 @@ "binop": null }, "value": "newDay", - "start": 2604, - "end": 2610, + "start": 2564, + "end": 2570, "loc": { "start": { - "line": 112, + "line": 110, "column": 12 }, "end": { - "line": 112, + "line": 110, "column": 18 } } @@ -16663,15 +16253,15 @@ "updateContext": null }, "value": "=", - "start": 2611, - "end": 2612, + "start": 2571, + "end": 2572, "loc": { "start": { - "line": 112, + "line": 110, "column": 19 }, "end": { - "line": 112, + "line": 110, "column": 20 } } @@ -16691,15 +16281,15 @@ "updateContext": null }, "value": "this", - "start": 2613, - "end": 2617, + "start": 2573, + "end": 2577, "loc": { "start": { - "line": 112, + "line": 110, "column": 21 }, "end": { - "line": 112, + "line": 110, "column": 25 } } @@ -16717,15 +16307,15 @@ "binop": null, "updateContext": null }, - "start": 2617, - "end": 2618, + "start": 2577, + "end": 2578, "loc": { "start": { - "line": 112, + "line": 110, "column": 25 }, "end": { - "line": 112, + "line": 110, "column": 26 } } @@ -16743,15 +16333,15 @@ "binop": null }, "value": "day", - "start": 2618, - "end": 2621, + "start": 2578, + "end": 2581, "loc": { "start": { - "line": 112, + "line": 110, "column": 26 }, "end": { - "line": 112, + "line": 110, "column": 29 } } @@ -16769,15 +16359,15 @@ "binop": null, "updateContext": null }, - "start": 2621, - "end": 2622, + "start": 2581, + "end": 2582, "loc": { "start": { - "line": 112, + "line": 110, "column": 29 }, "end": { - "line": 112, + "line": 110, "column": 30 } } @@ -16795,15 +16385,15 @@ "binop": null }, "value": "shift", - "start": 2622, - "end": 2627, + "start": 2582, + "end": 2587, "loc": { "start": { - "line": 112, + "line": 110, "column": 30 }, "end": { - "line": 112, + "line": 110, "column": 35 } } @@ -16820,15 +16410,15 @@ "postfix": false, "binop": null }, - "start": 2627, - "end": 2628, + "start": 2587, + "end": 2588, "loc": { "start": { - "line": 112, + "line": 110, "column": 35 }, "end": { - "line": 112, + "line": 110, "column": 36 } } @@ -16847,15 +16437,15 @@ "updateContext": null }, "value": 1, - "start": 2628, - "end": 2629, + "start": 2588, + "end": 2589, "loc": { "start": { - "line": 112, + "line": 110, "column": 36 }, "end": { - "line": 112, + "line": 110, "column": 37 } } @@ -16872,15 +16462,15 @@ "postfix": false, "binop": null }, - "start": 2629, - "end": 2630, + "start": 2589, + "end": 2590, "loc": { "start": { - "line": 112, + "line": 110, "column": 37 }, "end": { - "line": 112, + "line": 110, "column": 38 } } @@ -16898,15 +16488,15 @@ "binop": null, "updateContext": null }, - "start": 2630, - "end": 2631, + "start": 2590, + "end": 2591, "loc": { "start": { - "line": 112, + "line": 110, "column": 38 }, "end": { - "line": 112, + "line": 110, "column": 39 } } @@ -16926,15 +16516,15 @@ "updateContext": null }, "value": "this", - "start": 2638, - "end": 2642, + "start": 2598, + "end": 2602, "loc": { "start": { - "line": 113, + "line": 111, "column": 6 }, "end": { - "line": 113, + "line": 111, "column": 10 } } @@ -16952,15 +16542,15 @@ "binop": null, "updateContext": null }, - "start": 2642, - "end": 2643, + "start": 2602, + "end": 2603, "loc": { "start": { - "line": 113, + "line": 111, "column": 10 }, "end": { - "line": 113, + "line": 111, "column": 11 } } @@ -16978,15 +16568,15 @@ "binop": null }, "value": "private_next", - "start": 2643, - "end": 2655, + "start": 2603, + "end": 2615, "loc": { "start": { - "line": 113, + "line": 111, "column": 11 }, "end": { - "line": 113, + "line": 111, "column": 23 } } @@ -17005,15 +16595,15 @@ "updateContext": null }, "value": "=", - "start": 2656, - "end": 2657, + "start": 2616, + "end": 2617, "loc": { "start": { - "line": 113, + "line": 111, "column": 24 }, "end": { - "line": 113, + "line": 111, "column": 25 } } @@ -17031,15 +16621,15 @@ "binop": null }, "value": "getTzolkin", - "start": 2658, - "end": 2668, + "start": 2618, + "end": 2628, "loc": { "start": { - "line": 113, + "line": 111, "column": 26 }, "end": { - "line": 113, + "line": 111, "column": 36 } } @@ -17056,15 +16646,15 @@ "postfix": false, "binop": null }, - "start": 2668, - "end": 2669, + "start": 2628, + "end": 2629, "loc": { "start": { - "line": 113, + "line": 111, "column": 36 }, "end": { - "line": 113, + "line": 111, "column": 37 } } @@ -17082,15 +16672,15 @@ "binop": null }, "value": "newCoeff", - "start": 2669, - "end": 2677, + "start": 2629, + "end": 2637, "loc": { "start": { - "line": 113, + "line": 111, "column": 37 }, "end": { - "line": 113, + "line": 111, "column": 45 } } @@ -17108,15 +16698,15 @@ "binop": null, "updateContext": null }, - "start": 2677, - "end": 2678, + "start": 2637, + "end": 2638, "loc": { "start": { - "line": 113, + "line": 111, "column": 45 }, "end": { - "line": 113, + "line": 111, "column": 46 } } @@ -17134,15 +16724,15 @@ "binop": null }, "value": "newDay", - "start": 2679, - "end": 2685, + "start": 2639, + "end": 2645, "loc": { "start": { - "line": 113, + "line": 111, "column": 47 }, "end": { - "line": 113, + "line": 111, "column": 53 } } @@ -17159,15 +16749,15 @@ "postfix": false, "binop": null }, - "start": 2685, - "end": 2686, + "start": 2645, + "end": 2646, "loc": { "start": { - "line": 113, + "line": 111, "column": 53 }, "end": { - "line": 113, + "line": 111, "column": 54 } } @@ -17185,15 +16775,15 @@ "binop": null, "updateContext": null }, - "start": 2686, - "end": 2687, + "start": 2646, + "end": 2647, "loc": { "start": { - "line": 113, + "line": 111, "column": 54 }, "end": { - "line": 113, + "line": 111, "column": 55 } } @@ -17210,15 +16800,15 @@ "postfix": false, "binop": null }, - "start": 2692, - "end": 2693, + "start": 2652, + "end": 2653, "loc": { "start": { - "line": 114, + "line": 112, "column": 4 }, "end": { - "line": 114, + "line": 112, "column": 5 } } @@ -17238,15 +16828,15 @@ "updateContext": null }, "value": "if", - "start": 2698, - "end": 2700, + "start": 2658, + "end": 2660, "loc": { "start": { - "line": 115, + "line": 113, "column": 4 }, "end": { - "line": 115, + "line": 113, "column": 6 } } @@ -17263,15 +16853,15 @@ "postfix": false, "binop": null }, - "start": 2701, - "end": 2702, + "start": 2661, + "end": 2662, "loc": { "start": { - "line": 115, + "line": 113, "column": 7 }, "end": { - "line": 115, + "line": 113, "column": 8 } } @@ -17289,15 +16879,15 @@ "binop": null }, "value": "incremental", - "start": 2702, - "end": 2713, + "start": 2662, + "end": 2673, "loc": { "start": { - "line": 115, + "line": 113, "column": 8 }, "end": { - "line": 115, + "line": 113, "column": 19 } } @@ -17316,15 +16906,15 @@ "updateContext": null }, "value": "===", - "start": 2714, - "end": 2717, + "start": 2674, + "end": 2677, "loc": { "start": { - "line": 115, + "line": 113, "column": 20 }, "end": { - "line": 115, + "line": 113, "column": 23 } } @@ -17343,15 +16933,15 @@ "updateContext": null }, "value": 0, - "start": 2718, - "end": 2719, + "start": 2678, + "end": 2679, "loc": { "start": { - "line": 115, + "line": 113, "column": 24 }, "end": { - "line": 115, + "line": 113, "column": 25 } } @@ -17368,15 +16958,15 @@ "postfix": false, "binop": null }, - "start": 2719, - "end": 2720, + "start": 2679, + "end": 2680, "loc": { "start": { - "line": 115, + "line": 113, "column": 25 }, "end": { - "line": 115, + "line": 113, "column": 26 } } @@ -17393,15 +16983,15 @@ "postfix": false, "binop": null }, - "start": 2721, - "end": 2722, + "start": 2681, + "end": 2682, "loc": { "start": { - "line": 115, + "line": 113, "column": 27 }, "end": { - "line": 115, + "line": 113, "column": 28 } } @@ -17421,15 +17011,15 @@ "updateContext": null }, "value": "return", - "start": 2729, - "end": 2735, + "start": 2689, + "end": 2695, "loc": { "start": { - "line": 116, + "line": 114, "column": 6 }, "end": { - "line": 116, + "line": 114, "column": 12 } } @@ -17449,15 +17039,15 @@ "updateContext": null }, "value": "this", - "start": 2736, - "end": 2740, + "start": 2696, + "end": 2700, "loc": { "start": { - "line": 116, + "line": 114, "column": 13 }, "end": { - "line": 116, + "line": 114, "column": 17 } } @@ -17475,15 +17065,15 @@ "binop": null, "updateContext": null }, - "start": 2740, - "end": 2741, + "start": 2700, + "end": 2701, "loc": { "start": { - "line": 116, + "line": 114, "column": 17 }, "end": { - "line": 116, + "line": 114, "column": 18 } } @@ -17500,15 +17090,15 @@ "postfix": false, "binop": null }, - "start": 2746, - "end": 2747, + "start": 2706, + "end": 2707, "loc": { "start": { - "line": 117, + "line": 115, "column": 4 }, "end": { - "line": 117, + "line": 115, "column": 5 } } @@ -17528,15 +17118,15 @@ "updateContext": null }, "value": "return", - "start": 2752, - "end": 2758, + "start": 2712, + "end": 2718, "loc": { "start": { - "line": 118, + "line": 116, "column": 4 }, "end": { - "line": 118, + "line": 116, "column": 10 } } @@ -17556,15 +17146,15 @@ "updateContext": null }, "value": "this", - "start": 2759, - "end": 2763, + "start": 2719, + "end": 2723, "loc": { "start": { - "line": 118, + "line": 116, "column": 11 }, "end": { - "line": 118, + "line": 116, "column": 15 } } @@ -17582,15 +17172,15 @@ "binop": null, "updateContext": null }, - "start": 2763, - "end": 2764, + "start": 2723, + "end": 2724, "loc": { "start": { - "line": 118, + "line": 116, "column": 15 }, "end": { - "line": 118, + "line": 116, "column": 16 } } @@ -17608,15 +17198,15 @@ "binop": null }, "value": "private_next", - "start": 2764, - "end": 2776, + "start": 2724, + "end": 2736, "loc": { "start": { - "line": 118, + "line": 116, "column": 16 }, "end": { - "line": 118, + "line": 116, "column": 28 } } @@ -17634,15 +17224,15 @@ "binop": null, "updateContext": null }, - "start": 2776, - "end": 2777, + "start": 2736, + "end": 2737, "loc": { "start": { - "line": 118, + "line": 116, "column": 28 }, "end": { - "line": 118, + "line": 116, "column": 29 } } @@ -17660,15 +17250,15 @@ "binop": null }, "value": "shift", - "start": 2777, - "end": 2782, + "start": 2737, + "end": 2742, "loc": { "start": { - "line": 118, + "line": 116, "column": 29 }, "end": { - "line": 118, + "line": 116, "column": 34 } } @@ -17685,15 +17275,15 @@ "postfix": false, "binop": null }, - "start": 2782, - "end": 2783, + "start": 2742, + "end": 2743, "loc": { "start": { - "line": 118, + "line": 116, "column": 34 }, "end": { - "line": 118, + "line": 116, "column": 35 } } @@ -17711,15 +17301,15 @@ "binop": null }, "value": "incremental", - "start": 2783, - "end": 2794, + "start": 2743, + "end": 2754, "loc": { "start": { - "line": 118, + "line": 116, "column": 35 }, "end": { - "line": 118, + "line": 116, "column": 46 } } @@ -17738,15 +17328,15 @@ "updateContext": null }, "value": "-", - "start": 2795, - "end": 2796, + "start": 2755, + "end": 2756, "loc": { "start": { - "line": 118, + "line": 116, "column": 47 }, "end": { - "line": 118, + "line": 116, "column": 48 } } @@ -17765,15 +17355,15 @@ "updateContext": null }, "value": 1, - "start": 2797, - "end": 2798, + "start": 2757, + "end": 2758, "loc": { "start": { - "line": 118, + "line": 116, "column": 49 }, "end": { - "line": 118, + "line": 116, "column": 50 } } @@ -17790,15 +17380,15 @@ "postfix": false, "binop": null }, - "start": 2798, - "end": 2799, + "start": 2758, + "end": 2759, "loc": { "start": { - "line": 118, + "line": 116, "column": 50 }, "end": { - "line": 118, + "line": 116, "column": 51 } } @@ -17816,15 +17406,15 @@ "binop": null, "updateContext": null }, - "start": 2799, - "end": 2800, + "start": 2759, + "end": 2760, "loc": { "start": { - "line": 118, + "line": 116, "column": 51 }, "end": { - "line": 118, + "line": 116, "column": 52 } } @@ -17841,15 +17431,15 @@ "postfix": false, "binop": null }, - "start": 2803, - "end": 2804, + "start": 2763, + "end": 2764, "loc": { "start": { - "line": 119, + "line": 117, "column": 2 }, "end": { - "line": 119, + "line": 117, "column": 3 } } @@ -17857,15 +17447,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Tzolkin object has the same configuration as another Tzolkin\n * object. Does not take wildcards into account.\n * @param {Tzolkin} newTzolkin\n * @return {boolean}\n ", - "start": 2808, - "end": 3002, + "start": 2768, + "end": 2962, "loc": { "start": { - "line": 121, + "line": 119, "column": 2 }, "end": { - "line": 126, + "line": 124, "column": 5 } } @@ -17883,15 +17473,15 @@ "binop": null }, "value": "equal", - "start": 3005, - "end": 3010, + "start": 2965, + "end": 2970, "loc": { "start": { - "line": 127, + "line": 125, "column": 2 }, "end": { - "line": 127, + "line": 125, "column": 7 } } @@ -17908,15 +17498,15 @@ "postfix": false, "binop": null }, - "start": 3010, - "end": 3011, + "start": 2970, + "end": 2971, "loc": { "start": { - "line": 127, + "line": 125, "column": 7 }, "end": { - "line": 127, + "line": 125, "column": 8 } } @@ -17934,15 +17524,15 @@ "binop": null }, "value": "newTzolkin", - "start": 3011, - "end": 3021, + "start": 2971, + "end": 2981, "loc": { "start": { - "line": 127, + "line": 125, "column": 8 }, "end": { - "line": 127, + "line": 125, "column": 18 } } @@ -17959,15 +17549,15 @@ "postfix": false, "binop": null }, - "start": 3021, - "end": 3022, + "start": 2981, + "end": 2982, "loc": { "start": { - "line": 127, + "line": 125, "column": 18 }, "end": { - "line": 127, + "line": 125, "column": 19 } } @@ -17984,15 +17574,15 @@ "postfix": false, "binop": null }, - "start": 3023, - "end": 3024, + "start": 2983, + "end": 2984, "loc": { "start": { - "line": 127, + "line": 125, "column": 20 }, "end": { - "line": 127, + "line": 125, "column": 21 } } @@ -18012,15 +17602,15 @@ "updateContext": null }, "value": "return", - "start": 3029, - "end": 3035, + "start": 2989, + "end": 2995, "loc": { "start": { - "line": 128, + "line": 126, "column": 4 }, "end": { - "line": 128, + "line": 126, "column": 10 } } @@ -18037,15 +17627,15 @@ "postfix": false, "binop": null }, - "start": 3036, - "end": 3037, + "start": 2996, + "end": 2997, "loc": { "start": { - "line": 128, + "line": 126, "column": 11 }, "end": { - "line": 128, + "line": 126, "column": 12 } } @@ -18065,15 +17655,15 @@ "updateContext": null }, "value": "this", - "start": 3037, - "end": 3041, + "start": 2997, + "end": 3001, "loc": { "start": { - "line": 128, + "line": 126, "column": 12 }, "end": { - "line": 128, + "line": 126, "column": 16 } } @@ -18091,15 +17681,15 @@ "binop": null, "updateContext": null }, - "start": 3041, - "end": 3042, + "start": 3001, + "end": 3002, "loc": { "start": { - "line": 128, + "line": 126, "column": 16 }, "end": { - "line": 128, + "line": 126, "column": 17 } } @@ -18117,15 +17707,15 @@ "binop": null }, "value": "coeff", - "start": 3042, - "end": 3047, + "start": 3002, + "end": 3007, "loc": { "start": { - "line": 128, + "line": 126, "column": 17 }, "end": { - "line": 128, + "line": 126, "column": 22 } } @@ -18144,15 +17734,15 @@ "updateContext": null }, "value": "===", - "start": 3048, - "end": 3051, + "start": 3008, + "end": 3011, "loc": { "start": { - "line": 128, + "line": 126, "column": 23 }, "end": { - "line": 128, + "line": 126, "column": 26 } } @@ -18170,15 +17760,15 @@ "binop": null }, "value": "newTzolkin", - "start": 3052, - "end": 3062, + "start": 3012, + "end": 3022, "loc": { "start": { - "line": 128, + "line": 126, "column": 27 }, "end": { - "line": 128, + "line": 126, "column": 37 } } @@ -18196,15 +17786,15 @@ "binop": null, "updateContext": null }, - "start": 3062, - "end": 3063, + "start": 3022, + "end": 3023, "loc": { "start": { - "line": 128, + "line": 126, "column": 37 }, "end": { - "line": 128, + "line": 126, "column": 38 } } @@ -18222,15 +17812,15 @@ "binop": null }, "value": "coeff", - "start": 3063, - "end": 3068, + "start": 3023, + "end": 3028, "loc": { "start": { - "line": 128, + "line": 126, "column": 38 }, "end": { - "line": 128, + "line": 126, "column": 43 } } @@ -18247,15 +17837,15 @@ "postfix": false, "binop": null }, - "start": 3068, - "end": 3069, + "start": 3028, + "end": 3029, "loc": { "start": { - "line": 128, + "line": 126, "column": 43 }, "end": { - "line": 128, + "line": 126, "column": 44 } } @@ -18274,15 +17864,15 @@ "updateContext": null }, "value": "&&", - "start": 3076, - "end": 3078, + "start": 3036, + "end": 3038, "loc": { "start": { - "line": 129, + "line": 127, "column": 6 }, "end": { - "line": 129, + "line": 127, "column": 8 } } @@ -18299,15 +17889,15 @@ "postfix": false, "binop": null }, - "start": 3079, - "end": 3080, + "start": 3039, + "end": 3040, "loc": { "start": { - "line": 129, + "line": 127, "column": 9 }, "end": { - "line": 129, + "line": 127, "column": 10 } } @@ -18327,15 +17917,15 @@ "updateContext": null }, "value": "this", - "start": 3080, - "end": 3084, + "start": 3040, + "end": 3044, "loc": { "start": { - "line": 129, + "line": 127, "column": 10 }, "end": { - "line": 129, + "line": 127, "column": 14 } } @@ -18353,15 +17943,15 @@ "binop": null, "updateContext": null }, - "start": 3084, - "end": 3085, + "start": 3044, + "end": 3045, "loc": { "start": { - "line": 129, + "line": 127, "column": 14 }, "end": { - "line": 129, + "line": 127, "column": 15 } } @@ -18379,15 +17969,15 @@ "binop": null }, "value": "name", - "start": 3085, - "end": 3089, + "start": 3045, + "end": 3049, "loc": { "start": { - "line": 129, + "line": 127, "column": 15 }, "end": { - "line": 129, + "line": 127, "column": 19 } } @@ -18406,15 +17996,15 @@ "updateContext": null }, "value": "===", - "start": 3090, - "end": 3093, + "start": 3050, + "end": 3053, "loc": { "start": { - "line": 129, + "line": 127, "column": 20 }, "end": { - "line": 129, + "line": 127, "column": 23 } } @@ -18432,15 +18022,15 @@ "binop": null }, "value": "newTzolkin", - "start": 3094, - "end": 3104, + "start": 3054, + "end": 3064, "loc": { "start": { - "line": 129, + "line": 127, "column": 24 }, "end": { - "line": 129, + "line": 127, "column": 34 } } @@ -18458,15 +18048,15 @@ "binop": null, "updateContext": null }, - "start": 3104, - "end": 3105, + "start": 3064, + "end": 3065, "loc": { "start": { - "line": 129, + "line": 127, "column": 34 }, "end": { - "line": 129, + "line": 127, "column": 35 } } @@ -18484,15 +18074,15 @@ "binop": null }, "value": "name", - "start": 3105, - "end": 3109, + "start": 3065, + "end": 3069, "loc": { "start": { - "line": 129, + "line": 127, "column": 35 }, "end": { - "line": 129, + "line": 127, "column": 39 } } @@ -18509,15 +18099,15 @@ "postfix": false, "binop": null }, - "start": 3109, - "end": 3110, + "start": 3069, + "end": 3070, "loc": { "start": { - "line": 129, + "line": 127, "column": 39 }, "end": { - "line": 129, + "line": 127, "column": 40 } } @@ -18535,15 +18125,15 @@ "binop": null, "updateContext": null }, - "start": 3110, - "end": 3111, + "start": 3070, + "end": 3071, "loc": { "start": { - "line": 129, + "line": 127, "column": 40 }, "end": { - "line": 129, + "line": 127, "column": 41 } } @@ -18560,15 +18150,15 @@ "postfix": false, "binop": null }, - "start": 3114, - "end": 3115, + "start": 3074, + "end": 3075, "loc": { "start": { - "line": 130, + "line": 128, "column": 2 }, "end": { - "line": 130, + "line": 128, "column": 3 } } @@ -18576,15 +18166,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure this Tzolkin object has a matching configuration as another Tzolkin\n * object. Takes wildcards into account.\n * @param {Tzolkin} newTzolkin\n * @return {boolean}\n ", - "start": 3119, - "end": 3307, + "start": 3079, + "end": 3267, "loc": { "start": { - "line": 132, + "line": 130, "column": 2 }, "end": { - "line": 137, + "line": 135, "column": 5 } } @@ -18602,15 +18192,15 @@ "binop": null }, "value": "match", - "start": 3310, - "end": 3315, + "start": 3270, + "end": 3275, "loc": { "start": { - "line": 138, + "line": 136, "column": 2 }, "end": { - "line": 138, + "line": 136, "column": 7 } } @@ -18627,15 +18217,15 @@ "postfix": false, "binop": null }, - "start": 3315, - "end": 3316, + "start": 3275, + "end": 3276, "loc": { "start": { - "line": 138, + "line": 136, "column": 7 }, "end": { - "line": 138, + "line": 136, "column": 8 } } @@ -18653,15 +18243,15 @@ "binop": null }, "value": "newTzolkin", - "start": 3316, - "end": 3326, + "start": 3276, + "end": 3286, "loc": { "start": { - "line": 138, + "line": 136, "column": 8 }, "end": { - "line": 138, + "line": 136, "column": 18 } } @@ -18678,15 +18268,15 @@ "postfix": false, "binop": null }, - "start": 3326, - "end": 3327, + "start": 3286, + "end": 3287, "loc": { "start": { - "line": 138, + "line": 136, "column": 18 }, "end": { - "line": 138, + "line": 136, "column": 19 } } @@ -18703,15 +18293,15 @@ "postfix": false, "binop": null }, - "start": 3328, - "end": 3329, + "start": 3288, + "end": 3289, "loc": { "start": { - "line": 138, + "line": 136, "column": 20 }, "end": { - "line": 138, + "line": 136, "column": 21 } } @@ -18731,15 +18321,15 @@ "updateContext": null }, "value": "if", - "start": 3334, - "end": 3336, + "start": 3294, + "end": 3296, "loc": { "start": { - "line": 139, + "line": 137, "column": 4 }, "end": { - "line": 139, + "line": 137, "column": 6 } } @@ -18756,15 +18346,15 @@ "postfix": false, "binop": null }, - "start": 3337, - "end": 3338, + "start": 3297, + "end": 3298, "loc": { "start": { - "line": 139, + "line": 137, "column": 7 }, "end": { - "line": 139, + "line": 137, "column": 8 } } @@ -18784,15 +18374,15 @@ "updateContext": null }, "value": "this", - "start": 3338, - "end": 3342, + "start": 3298, + "end": 3302, "loc": { "start": { - "line": 139, + "line": 137, "column": 8 }, "end": { - "line": 139, + "line": 137, "column": 12 } } @@ -18811,15 +18401,15 @@ "updateContext": null }, "value": "===", - "start": 3343, - "end": 3346, + "start": 3303, + "end": 3306, "loc": { "start": { - "line": 139, + "line": 137, "column": 13 }, "end": { - "line": 139, + "line": 137, "column": 16 } } @@ -18837,15 +18427,15 @@ "binop": null }, "value": "newTzolkin", - "start": 3347, - "end": 3357, + "start": 3307, + "end": 3317, "loc": { "start": { - "line": 139, + "line": 137, "column": 17 }, "end": { - "line": 139, + "line": 137, "column": 27 } } @@ -18862,15 +18452,15 @@ "postfix": false, "binop": null }, - "start": 3357, - "end": 3358, + "start": 3317, + "end": 3318, "loc": { "start": { - "line": 139, + "line": 137, "column": 27 }, "end": { - "line": 139, + "line": 137, "column": 28 } } @@ -18887,15 +18477,15 @@ "postfix": false, "binop": null }, - "start": 3359, - "end": 3360, + "start": 3319, + "end": 3320, "loc": { "start": { - "line": 139, + "line": 137, "column": 29 }, "end": { - "line": 139, + "line": 137, "column": 30 } } @@ -18915,15 +18505,15 @@ "updateContext": null }, "value": "return", - "start": 3367, - "end": 3373, + "start": 3327, + "end": 3333, "loc": { "start": { - "line": 140, + "line": 138, "column": 6 }, "end": { - "line": 140, + "line": 138, "column": 12 } } @@ -18943,15 +18533,15 @@ "updateContext": null }, "value": "true", - "start": 3374, - "end": 3378, + "start": 3334, + "end": 3338, "loc": { "start": { - "line": 140, + "line": 138, "column": 13 }, "end": { - "line": 140, + "line": 138, "column": 17 } } @@ -18969,15 +18559,15 @@ "binop": null, "updateContext": null }, - "start": 3378, - "end": 3379, + "start": 3338, + "end": 3339, "loc": { "start": { - "line": 140, + "line": 138, "column": 17 }, "end": { - "line": 140, + "line": 138, "column": 18 } } @@ -18994,15 +18584,15 @@ "postfix": false, "binop": null }, - "start": 3384, - "end": 3385, + "start": 3344, + "end": 3345, "loc": { "start": { - "line": 141, + "line": 139, "column": 4 }, "end": { - "line": 141, + "line": 139, "column": 5 } } @@ -19022,15 +18612,15 @@ "updateContext": null }, "value": "return", - "start": 3390, - "end": 3396, + "start": 3350, + "end": 3356, "loc": { "start": { - "line": 142, + "line": 140, "column": 4 }, "end": { - "line": 142, + "line": 140, "column": 10 } } @@ -19047,15 +18637,15 @@ "postfix": false, "binop": null }, - "start": 3397, - "end": 3398, + "start": 3357, + "end": 3358, "loc": { "start": { - "line": 142, + "line": 140, "column": 11 }, "end": { - "line": 142, + "line": 140, "column": 12 } } @@ -19072,15 +18662,15 @@ "postfix": false, "binop": null }, - "start": 3405, - "end": 3406, + "start": 3365, + "end": 3366, "loc": { "start": { - "line": 143, + "line": 141, "column": 6 }, "end": { - "line": 143, + "line": 141, "column": 7 } } @@ -19100,15 +18690,15 @@ "updateContext": null }, "value": "this", - "start": 3406, - "end": 3410, + "start": 3366, + "end": 3370, "loc": { "start": { - "line": 143, + "line": 141, "column": 7 }, "end": { - "line": 143, + "line": 141, "column": 11 } } @@ -19126,15 +18716,15 @@ "binop": null, "updateContext": null }, - "start": 3410, - "end": 3411, + "start": 3370, + "end": 3371, "loc": { "start": { - "line": 143, + "line": 141, "column": 11 }, "end": { - "line": 143, + "line": 141, "column": 12 } } @@ -19152,15 +18742,15 @@ "binop": null }, "value": "coeff", - "start": 3411, - "end": 3416, + "start": 3371, + "end": 3376, "loc": { "start": { - "line": 143, + "line": 141, "column": 12 }, "end": { - "line": 143, + "line": 141, "column": 17 } } @@ -19179,15 +18769,15 @@ "updateContext": null }, "value": "===", - "start": 3417, - "end": 3420, + "start": 3377, + "end": 3380, "loc": { "start": { - "line": 143, + "line": 141, "column": 18 }, "end": { - "line": 143, + "line": 141, "column": 21 } } @@ -19205,15 +18795,15 @@ "binop": null }, "value": "wildcard", - "start": 3421, - "end": 3429, + "start": 3381, + "end": 3389, "loc": { "start": { - "line": 143, + "line": 141, "column": 22 }, "end": { - "line": 143, + "line": 141, "column": 30 } } @@ -19232,15 +18822,15 @@ "updateContext": null }, "value": "||", - "start": 3430, - "end": 3432, + "start": 3390, + "end": 3392, "loc": { "start": { - "line": 143, + "line": 141, "column": 31 }, "end": { - "line": 143, + "line": 141, "column": 33 } } @@ -19258,15 +18848,15 @@ "binop": null }, "value": "newTzolkin", - "start": 3433, - "end": 3443, + "start": 3393, + "end": 3403, "loc": { "start": { - "line": 143, + "line": 141, "column": 34 }, "end": { - "line": 143, + "line": 141, "column": 44 } } @@ -19284,15 +18874,15 @@ "binop": null, "updateContext": null }, - "start": 3443, - "end": 3444, + "start": 3403, + "end": 3404, "loc": { "start": { - "line": 143, + "line": 141, "column": 44 }, "end": { - "line": 143, + "line": 141, "column": 45 } } @@ -19310,15 +18900,15 @@ "binop": null }, "value": "coeff", - "start": 3444, - "end": 3449, + "start": 3404, + "end": 3409, "loc": { "start": { - "line": 143, + "line": 141, "column": 45 }, "end": { - "line": 143, + "line": 141, "column": 50 } } @@ -19337,15 +18927,15 @@ "updateContext": null }, "value": "===", - "start": 3450, - "end": 3453, + "start": 3410, + "end": 3413, "loc": { "start": { - "line": 143, + "line": 141, "column": 51 }, "end": { - "line": 143, + "line": 141, "column": 54 } } @@ -19363,15 +18953,15 @@ "binop": null }, "value": "wildcard", - "start": 3454, - "end": 3462, + "start": 3414, + "end": 3422, "loc": { "start": { - "line": 143, + "line": 141, "column": 55 }, "end": { - "line": 143, + "line": 141, "column": 63 } } @@ -19388,15 +18978,15 @@ "postfix": false, "binop": null }, - "start": 3462, - "end": 3463, + "start": 3422, + "end": 3423, "loc": { "start": { - "line": 143, + "line": 141, "column": 63 }, "end": { - "line": 143, + "line": 141, "column": 64 } } @@ -19414,15 +19004,15 @@ "binop": null, "updateContext": null }, - "start": 3472, - "end": 3473, + "start": 3432, + "end": 3433, "loc": { "start": { - "line": 144, + "line": 142, "column": 8 }, "end": { - "line": 144, + "line": 142, "column": 9 } } @@ -19442,15 +19032,15 @@ "updateContext": null }, "value": "true", - "start": 3474, - "end": 3478, + "start": 3434, + "end": 3438, "loc": { "start": { - "line": 144, + "line": 142, "column": 10 }, "end": { - "line": 144, + "line": 142, "column": 14 } } @@ -19468,15 +19058,15 @@ "binop": null, "updateContext": null }, - "start": 3487, - "end": 3488, + "start": 3447, + "end": 3448, "loc": { "start": { - "line": 145, + "line": 143, "column": 8 }, "end": { - "line": 145, + "line": 143, "column": 9 } } @@ -19493,15 +19083,15 @@ "postfix": false, "binop": null }, - "start": 3489, - "end": 3490, + "start": 3449, + "end": 3450, "loc": { "start": { - "line": 145, + "line": 143, "column": 10 }, "end": { - "line": 145, + "line": 143, "column": 11 } } @@ -19521,15 +19111,15 @@ "updateContext": null }, "value": "this", - "start": 3490, - "end": 3494, + "start": 3450, + "end": 3454, "loc": { "start": { - "line": 145, + "line": 143, "column": 11 }, "end": { - "line": 145, + "line": 143, "column": 15 } } @@ -19547,15 +19137,15 @@ "binop": null, "updateContext": null }, - "start": 3494, - "end": 3495, + "start": 3454, + "end": 3455, "loc": { "start": { - "line": 145, + "line": 143, "column": 15 }, "end": { - "line": 145, + "line": 143, "column": 16 } } @@ -19573,15 +19163,15 @@ "binop": null }, "value": "coeff", - "start": 3495, - "end": 3500, + "start": 3455, + "end": 3460, "loc": { "start": { - "line": 145, + "line": 143, "column": 16 }, "end": { - "line": 145, + "line": 143, "column": 21 } } @@ -19600,15 +19190,15 @@ "updateContext": null }, "value": "===", - "start": 3501, - "end": 3504, + "start": 3461, + "end": 3464, "loc": { "start": { - "line": 145, + "line": 143, "column": 22 }, "end": { - "line": 145, + "line": 143, "column": 25 } } @@ -19626,15 +19216,15 @@ "binop": null }, "value": "newTzolkin", - "start": 3505, - "end": 3515, + "start": 3465, + "end": 3475, "loc": { "start": { - "line": 145, + "line": 143, "column": 26 }, "end": { - "line": 145, + "line": 143, "column": 36 } } @@ -19652,15 +19242,15 @@ "binop": null, "updateContext": null }, - "start": 3515, - "end": 3516, + "start": 3475, + "end": 3476, "loc": { "start": { - "line": 145, + "line": 143, "column": 36 }, "end": { - "line": 145, + "line": 143, "column": 37 } } @@ -19678,15 +19268,15 @@ "binop": null }, "value": "coeff", - "start": 3516, - "end": 3521, + "start": 3476, + "end": 3481, "loc": { "start": { - "line": 145, + "line": 143, "column": 37 }, "end": { - "line": 145, + "line": 143, "column": 42 } } @@ -19703,15 +19293,15 @@ "postfix": false, "binop": null }, - "start": 3521, - "end": 3522, + "start": 3481, + "end": 3482, "loc": { "start": { - "line": 145, + "line": 143, "column": 42 }, "end": { - "line": 145, + "line": 143, "column": 43 } } @@ -19728,15 +19318,15 @@ "postfix": false, "binop": null }, - "start": 3527, - "end": 3528, + "start": 3487, + "end": 3488, "loc": { "start": { - "line": 146, + "line": 144, "column": 4 }, "end": { - "line": 146, + "line": 144, "column": 5 } } @@ -19755,15 +19345,15 @@ "updateContext": null }, "value": "&&", - "start": 3529, - "end": 3531, + "start": 3489, + "end": 3491, "loc": { "start": { - "line": 146, + "line": 144, "column": 6 }, "end": { - "line": 146, + "line": 144, "column": 8 } } @@ -19780,15 +19370,15 @@ "postfix": false, "binop": null }, - "start": 3532, - "end": 3533, + "start": 3492, + "end": 3493, "loc": { "start": { - "line": 146, + "line": 144, "column": 9 }, "end": { - "line": 146, + "line": 144, "column": 10 } } @@ -19805,15 +19395,15 @@ "postfix": false, "binop": null }, - "start": 3540, - "end": 3541, + "start": 3500, + "end": 3501, "loc": { "start": { - "line": 147, + "line": 145, "column": 6 }, "end": { - "line": 147, + "line": 145, "column": 7 } } @@ -19833,15 +19423,15 @@ "updateContext": null }, "value": "this", - "start": 3541, - "end": 3545, + "start": 3501, + "end": 3505, "loc": { "start": { - "line": 147, + "line": 145, "column": 7 }, "end": { - "line": 147, + "line": 145, "column": 11 } } @@ -19859,15 +19449,15 @@ "binop": null, "updateContext": null }, - "start": 3545, - "end": 3546, + "start": 3505, + "end": 3506, "loc": { "start": { - "line": 147, + "line": 145, "column": 11 }, "end": { - "line": 147, + "line": 145, "column": 12 } } @@ -19885,15 +19475,15 @@ "binop": null }, "value": "day", - "start": 3546, - "end": 3549, + "start": 3506, + "end": 3509, "loc": { "start": { - "line": 147, + "line": 145, "column": 12 }, "end": { - "line": 147, + "line": 145, "column": 15 } } @@ -19912,15 +19502,15 @@ "updateContext": null }, "value": "===", - "start": 3550, - "end": 3553, + "start": 3510, + "end": 3513, "loc": { "start": { - "line": 147, + "line": 145, "column": 16 }, "end": { - "line": 147, + "line": 145, "column": 19 } } @@ -19938,15 +19528,15 @@ "binop": null }, "value": "wildcard", - "start": 3554, - "end": 3562, + "start": 3514, + "end": 3522, "loc": { "start": { - "line": 147, + "line": 145, "column": 20 }, "end": { - "line": 147, + "line": 145, "column": 28 } } @@ -19965,15 +19555,15 @@ "updateContext": null }, "value": "||", - "start": 3563, - "end": 3565, + "start": 3523, + "end": 3525, "loc": { "start": { - "line": 147, + "line": 145, "column": 29 }, "end": { - "line": 147, + "line": 145, "column": 31 } } @@ -19991,15 +19581,15 @@ "binop": null }, "value": "newTzolkin", - "start": 3566, - "end": 3576, + "start": 3526, + "end": 3536, "loc": { "start": { - "line": 147, + "line": 145, "column": 32 }, "end": { - "line": 147, + "line": 145, "column": 42 } } @@ -20017,15 +19607,15 @@ "binop": null, "updateContext": null }, - "start": 3576, - "end": 3577, + "start": 3536, + "end": 3537, "loc": { "start": { - "line": 147, + "line": 145, "column": 42 }, "end": { - "line": 147, + "line": 145, "column": 43 } } @@ -20043,15 +19633,15 @@ "binop": null }, "value": "day", - "start": 3577, - "end": 3580, + "start": 3537, + "end": 3540, "loc": { "start": { - "line": 147, + "line": 145, "column": 43 }, "end": { - "line": 147, + "line": 145, "column": 46 } } @@ -20070,15 +19660,15 @@ "updateContext": null }, "value": "===", - "start": 3581, - "end": 3584, + "start": 3541, + "end": 3544, "loc": { "start": { - "line": 147, + "line": 145, "column": 47 }, "end": { - "line": 147, + "line": 145, "column": 50 } } @@ -20096,15 +19686,15 @@ "binop": null }, "value": "wildcard", - "start": 3585, - "end": 3593, + "start": 3545, + "end": 3553, "loc": { "start": { - "line": 147, + "line": 145, "column": 51 }, "end": { - "line": 147, + "line": 145, "column": 59 } } @@ -20121,15 +19711,15 @@ "postfix": false, "binop": null }, - "start": 3593, - "end": 3594, + "start": 3553, + "end": 3554, "loc": { "start": { - "line": 147, + "line": 145, "column": 59 }, "end": { - "line": 147, + "line": 145, "column": 60 } } @@ -20147,15 +19737,15 @@ "binop": null, "updateContext": null }, - "start": 3603, - "end": 3604, + "start": 3563, + "end": 3564, "loc": { "start": { - "line": 148, + "line": 146, "column": 8 }, "end": { - "line": 148, + "line": 146, "column": 9 } } @@ -20175,15 +19765,15 @@ "updateContext": null }, "value": "true", - "start": 3605, - "end": 3609, + "start": 3565, + "end": 3569, "loc": { "start": { - "line": 148, + "line": 146, "column": 10 }, "end": { - "line": 148, + "line": 146, "column": 14 } } @@ -20201,15 +19791,15 @@ "binop": null, "updateContext": null }, - "start": 3618, - "end": 3619, + "start": 3578, + "end": 3579, "loc": { "start": { - "line": 149, + "line": 147, "column": 8 }, "end": { - "line": 149, + "line": 147, "column": 9 } } @@ -20226,15 +19816,15 @@ "postfix": false, "binop": null }, - "start": 3620, - "end": 3621, + "start": 3580, + "end": 3581, "loc": { "start": { - "line": 149, + "line": 147, "column": 10 }, "end": { - "line": 149, + "line": 147, "column": 11 } } @@ -20254,15 +19844,15 @@ "updateContext": null }, "value": "this", - "start": 3621, - "end": 3625, + "start": 3581, + "end": 3585, "loc": { "start": { - "line": 149, + "line": 147, "column": 11 }, "end": { - "line": 149, + "line": 147, "column": 15 } } @@ -20280,15 +19870,15 @@ "binop": null, "updateContext": null }, - "start": 3625, - "end": 3626, + "start": 3585, + "end": 3586, "loc": { "start": { - "line": 149, + "line": 147, "column": 15 }, "end": { - "line": 149, + "line": 147, "column": 16 } } @@ -20306,15 +19896,15 @@ "binop": null }, "value": "name", - "start": 3626, - "end": 3630, + "start": 3586, + "end": 3590, "loc": { "start": { - "line": 149, + "line": 147, "column": 16 }, "end": { - "line": 149, + "line": 147, "column": 20 } } @@ -20333,15 +19923,15 @@ "updateContext": null }, "value": "===", - "start": 3631, - "end": 3634, + "start": 3591, + "end": 3594, "loc": { "start": { - "line": 149, + "line": 147, "column": 21 }, "end": { - "line": 149, + "line": 147, "column": 24 } } @@ -20359,15 +19949,15 @@ "binop": null }, "value": "newTzolkin", - "start": 3635, - "end": 3645, + "start": 3595, + "end": 3605, "loc": { "start": { - "line": 149, + "line": 147, "column": 25 }, "end": { - "line": 149, + "line": 147, "column": 35 } } @@ -20385,15 +19975,15 @@ "binop": null, "updateContext": null }, - "start": 3645, - "end": 3646, + "start": 3605, + "end": 3606, "loc": { "start": { - "line": 149, + "line": 147, "column": 35 }, "end": { - "line": 149, + "line": 147, "column": 36 } } @@ -20411,15 +20001,15 @@ "binop": null }, "value": "name", - "start": 3646, - "end": 3650, + "start": 3606, + "end": 3610, "loc": { "start": { - "line": 149, + "line": 147, "column": 36 }, "end": { - "line": 149, + "line": 147, "column": 40 } } @@ -20436,15 +20026,15 @@ "postfix": false, "binop": null }, - "start": 3650, - "end": 3651, + "start": 3610, + "end": 3611, "loc": { "start": { - "line": 149, + "line": 147, "column": 40 }, "end": { - "line": 149, + "line": 147, "column": 41 } } @@ -20461,15 +20051,15 @@ "postfix": false, "binop": null }, - "start": 3656, - "end": 3657, + "start": 3616, + "end": 3617, "loc": { "start": { - "line": 150, + "line": 148, "column": 4 }, "end": { - "line": 150, + "line": 148, "column": 5 } } @@ -20487,15 +20077,15 @@ "binop": null, "updateContext": null }, - "start": 3657, - "end": 3658, + "start": 3617, + "end": 3618, "loc": { "start": { - "line": 150, + "line": 148, "column": 5 }, "end": { - "line": 150, + "line": 148, "column": 6 } } @@ -20512,15 +20102,15 @@ "postfix": false, "binop": null }, - "start": 3661, - "end": 3662, + "start": 3621, + "end": 3622, "loc": { "start": { - "line": 151, + "line": 149, "column": 2 }, "end": { - "line": 151, + "line": 149, "column": 3 } } @@ -20528,15 +20118,15 @@ { "type": "CommentBlock", "value": "*\n * Return a string representation of the 260-day cycle name\n * @returns {string}\n ", - "start": 3666, - "end": 3760, + "start": 3626, + "end": 3720, "loc": { "start": { - "line": 153, + "line": 151, "column": 2 }, "end": { - "line": 156, + "line": 154, "column": 5 } } @@ -20554,15 +20144,15 @@ "binop": null }, "value": "get", - "start": 3763, - "end": 3766, + "start": 3723, + "end": 3726, "loc": { "start": { - "line": 157, + "line": 155, "column": 2 }, "end": { - "line": 157, + "line": 155, "column": 5 } } @@ -20580,15 +20170,15 @@ "binop": null }, "value": "name", - "start": 3767, - "end": 3771, + "start": 3727, + "end": 3731, "loc": { "start": { - "line": 157, + "line": 155, "column": 6 }, "end": { - "line": 157, + "line": 155, "column": 10 } } @@ -20605,15 +20195,15 @@ "postfix": false, "binop": null }, - "start": 3771, - "end": 3772, + "start": 3731, + "end": 3732, "loc": { "start": { - "line": 157, + "line": 155, "column": 10 }, "end": { - "line": 157, + "line": 155, "column": 11 } } @@ -20630,15 +20220,15 @@ "postfix": false, "binop": null }, - "start": 3772, - "end": 3773, + "start": 3732, + "end": 3733, "loc": { "start": { - "line": 157, + "line": 155, "column": 11 }, "end": { - "line": 157, + "line": 155, "column": 12 } } @@ -20655,15 +20245,15 @@ "postfix": false, "binop": null }, - "start": 3774, - "end": 3775, + "start": 3734, + "end": 3735, "loc": { "start": { - "line": 157, + "line": 155, "column": 13 }, "end": { - "line": 157, + "line": 155, "column": 14 } } @@ -20683,15 +20273,15 @@ "updateContext": null }, "value": "if", - "start": 3780, - "end": 3782, + "start": 3740, + "end": 3742, "loc": { "start": { - "line": 158, + "line": 156, "column": 4 }, "end": { - "line": 158, + "line": 156, "column": 6 } } @@ -20708,15 +20298,15 @@ "postfix": false, "binop": null }, - "start": 3783, - "end": 3784, + "start": 3743, + "end": 3744, "loc": { "start": { - "line": 158, + "line": 156, "column": 7 }, "end": { - "line": 158, + "line": 156, "column": 8 } } @@ -20736,15 +20326,15 @@ "updateContext": null }, "value": "this", - "start": 3784, - "end": 3788, + "start": 3744, + "end": 3748, "loc": { "start": { - "line": 158, + "line": 156, "column": 8 }, "end": { - "line": 158, + "line": 156, "column": 12 } } @@ -20762,15 +20352,15 @@ "binop": null, "updateContext": null }, - "start": 3788, - "end": 3789, + "start": 3748, + "end": 3749, "loc": { "start": { - "line": 158, + "line": 156, "column": 12 }, "end": { - "line": 158, + "line": 156, "column": 13 } } @@ -20788,15 +20378,15 @@ "binop": null }, "value": "day", - "start": 3789, - "end": 3792, + "start": 3749, + "end": 3752, "loc": { "start": { - "line": 158, + "line": 156, "column": 13 }, "end": { - "line": 158, + "line": 156, "column": 16 } } @@ -20815,15 +20405,15 @@ "updateContext": null }, "value": "===", - "start": 3793, - "end": 3796, + "start": 3753, + "end": 3756, "loc": { "start": { - "line": 158, + "line": 156, "column": 17 }, "end": { - "line": 158, + "line": 156, "column": 20 } } @@ -20841,15 +20431,15 @@ "binop": null }, "value": "wildcard", - "start": 3797, - "end": 3805, + "start": 3757, + "end": 3765, "loc": { "start": { - "line": 158, + "line": 156, "column": 21 }, "end": { - "line": 158, + "line": 156, "column": 29 } } @@ -20866,15 +20456,15 @@ "postfix": false, "binop": null }, - "start": 3805, - "end": 3806, + "start": 3765, + "end": 3766, "loc": { "start": { - "line": 158, + "line": 156, "column": 29 }, "end": { - "line": 158, + "line": 156, "column": 30 } } @@ -20891,15 +20481,15 @@ "postfix": false, "binop": null }, - "start": 3807, - "end": 3808, + "start": 3767, + "end": 3768, "loc": { "start": { - "line": 158, + "line": 156, "column": 31 }, "end": { - "line": 158, + "line": 156, "column": 32 } } @@ -20919,15 +20509,15 @@ "updateContext": null }, "value": "return", - "start": 3815, - "end": 3821, + "start": 3775, + "end": 3781, "loc": { "start": { - "line": 159, + "line": 157, "column": 6 }, "end": { - "line": 159, + "line": 157, "column": 12 } } @@ -20947,15 +20537,15 @@ "updateContext": null }, "value": "this", - "start": 3822, - "end": 3826, + "start": 3782, + "end": 3786, "loc": { "start": { - "line": 159, + "line": 157, "column": 13 }, "end": { - "line": 159, + "line": 157, "column": 17 } } @@ -20973,15 +20563,15 @@ "binop": null, "updateContext": null }, - "start": 3826, - "end": 3827, + "start": 3786, + "end": 3787, "loc": { "start": { - "line": 159, + "line": 157, "column": 17 }, "end": { - "line": 159, + "line": 157, "column": 18 } } @@ -20999,15 +20589,15 @@ "binop": null }, "value": "day", - "start": 3827, - "end": 3830, + "start": 3787, + "end": 3790, "loc": { "start": { - "line": 159, + "line": 157, "column": 18 }, "end": { - "line": 159, + "line": 157, "column": 21 } } @@ -21025,15 +20615,15 @@ "binop": null, "updateContext": null }, - "start": 3830, - "end": 3831, + "start": 3790, + "end": 3791, "loc": { "start": { - "line": 159, + "line": 157, "column": 21 }, "end": { - "line": 159, + "line": 157, "column": 22 } } @@ -21050,15 +20640,15 @@ "postfix": false, "binop": null }, - "start": 3836, - "end": 3837, + "start": 3796, + "end": 3797, "loc": { "start": { - "line": 160, + "line": 158, "column": 4 }, "end": { - "line": 160, + "line": 158, "column": 5 } } @@ -21078,15 +20668,15 @@ "updateContext": null }, "value": "return", - "start": 3842, - "end": 3848, + "start": 3802, + "end": 3808, "loc": { "start": { - "line": 161, + "line": 159, "column": 4 }, "end": { - "line": 161, + "line": 159, "column": 10 } } @@ -21106,15 +20696,15 @@ "updateContext": null }, "value": "this", - "start": 3849, - "end": 3853, + "start": 3809, + "end": 3813, "loc": { "start": { - "line": 161, + "line": 159, "column": 11 }, "end": { - "line": 161, + "line": 159, "column": 15 } } @@ -21132,15 +20722,15 @@ "binop": null, "updateContext": null }, - "start": 3853, - "end": 3854, + "start": 3813, + "end": 3814, "loc": { "start": { - "line": 161, + "line": 159, "column": 15 }, "end": { - "line": 161, + "line": 159, "column": 16 } } @@ -21158,15 +20748,15 @@ "binop": null }, "value": "day", - "start": 3854, - "end": 3857, + "start": 3814, + "end": 3817, "loc": { "start": { - "line": 161, + "line": 159, "column": 16 }, "end": { - "line": 161, + "line": 159, "column": 19 } } @@ -21184,15 +20774,15 @@ "binop": null, "updateContext": null }, - "start": 3857, - "end": 3858, + "start": 3817, + "end": 3818, "loc": { "start": { - "line": 161, + "line": 159, "column": 19 }, "end": { - "line": 161, + "line": 159, "column": 20 } } @@ -21210,15 +20800,15 @@ "binop": null }, "value": "name", - "start": 3858, - "end": 3862, + "start": 3818, + "end": 3822, "loc": { "start": { - "line": 161, + "line": 159, "column": 20 }, "end": { - "line": 161, + "line": 159, "column": 24 } } @@ -21236,15 +20826,15 @@ "binop": null, "updateContext": null }, - "start": 3862, - "end": 3863, + "start": 3822, + "end": 3823, "loc": { "start": { - "line": 161, + "line": 159, "column": 24 }, "end": { - "line": 161, + "line": 159, "column": 25 } } @@ -21261,15 +20851,15 @@ "postfix": false, "binop": null }, - "start": 3866, - "end": 3867, + "start": 3826, + "end": 3827, "loc": { "start": { - "line": 162, + "line": 160, "column": 2 }, "end": { - "line": 162, + "line": 160, "column": 3 } } @@ -21277,15 +20867,15 @@ { "type": "CommentBlock", "value": "*\n * Render the 260-day cycle fullDate as a string\n * @returns {string}\n ", - "start": 3871, - "end": 3954, + "start": 3831, + "end": 3914, "loc": { "start": { - "line": 164, + "line": 162, "column": 2 }, "end": { - "line": 167, + "line": 165, "column": 5 } } @@ -21303,15 +20893,15 @@ "binop": null }, "value": "toString", - "start": 3957, - "end": 3965, + "start": 3917, + "end": 3925, "loc": { "start": { - "line": 168, + "line": 166, "column": 2 }, "end": { - "line": 168, + "line": 166, "column": 10 } } @@ -21328,15 +20918,15 @@ "postfix": false, "binop": null }, - "start": 3965, - "end": 3966, + "start": 3925, + "end": 3926, "loc": { "start": { - "line": 168, + "line": 166, "column": 10 }, "end": { - "line": 168, + "line": 166, "column": 11 } } @@ -21354,15 +20944,15 @@ "binop": null }, "value": "isNumeric", - "start": 3966, - "end": 3975, + "start": 3926, + "end": 3935, "loc": { "start": { - "line": 168, + "line": 166, "column": 11 }, "end": { - "line": 168, + "line": 166, "column": 20 } } @@ -21379,15 +20969,15 @@ "postfix": false, "binop": null }, - "start": 3975, - "end": 3976, + "start": 3935, + "end": 3936, "loc": { "start": { - "line": 168, + "line": 166, "column": 20 }, "end": { - "line": 168, + "line": 166, "column": 21 } } @@ -21404,15 +20994,15 @@ "postfix": false, "binop": null }, - "start": 3977, - "end": 3978, + "start": 3937, + "end": 3938, "loc": { "start": { - "line": 168, + "line": 166, "column": 22 }, "end": { - "line": 168, + "line": 166, "column": 23 } } @@ -21432,15 +21022,15 @@ "updateContext": null }, "value": "if", - "start": 3983, - "end": 3985, + "start": 3943, + "end": 3945, "loc": { "start": { - "line": 169, + "line": 167, "column": 4 }, "end": { - "line": 169, + "line": 167, "column": 6 } } @@ -21457,15 +21047,15 @@ "postfix": false, "binop": null }, - "start": 3986, - "end": 3987, + "start": 3946, + "end": 3947, "loc": { "start": { - "line": 169, + "line": 167, "column": 7 }, "end": { - "line": 169, + "line": 167, "column": 8 } } @@ -21483,15 +21073,15 @@ "binop": null }, "value": "isNumeric", - "start": 3987, - "end": 3996, + "start": 3947, + "end": 3956, "loc": { "start": { - "line": 169, + "line": 167, "column": 8 }, "end": { - "line": 169, + "line": 167, "column": 17 } } @@ -21508,15 +21098,15 @@ "postfix": false, "binop": null }, - "start": 3996, - "end": 3997, + "start": 3956, + "end": 3957, "loc": { "start": { - "line": 169, + "line": 167, "column": 17 }, "end": { - "line": 169, + "line": 167, "column": 18 } } @@ -21533,15 +21123,15 @@ "postfix": false, "binop": null }, - "start": 3998, - "end": 3999, + "start": 3958, + "end": 3959, "loc": { "start": { - "line": 169, + "line": 167, "column": 19 }, "end": { - "line": 169, + "line": 167, "column": 20 } } @@ -21561,15 +21151,15 @@ "updateContext": null }, "value": "return", - "start": 4006, - "end": 4012, + "start": 3966, + "end": 3972, "loc": { "start": { - "line": 170, + "line": 168, "column": 6 }, "end": { - "line": 170, + "line": 168, "column": 12 } } @@ -21586,15 +21176,15 @@ "postfix": false, "binop": null }, - "start": 4013, - "end": 4014, + "start": 3973, + "end": 3974, "loc": { "start": { - "line": 170, + "line": 168, "column": 13 }, "end": { - "line": 170, + "line": 168, "column": 14 } } @@ -21613,15 +21203,15 @@ "updateContext": null }, "value": "", - "start": 4014, - "end": 4014, + "start": 3974, + "end": 3974, "loc": { "start": { - "line": 170, + "line": 168, "column": 14 }, "end": { - "line": 170, + "line": 168, "column": 14 } } @@ -21638,15 +21228,15 @@ "postfix": false, "binop": null }, - "start": 4014, - "end": 4016, + "start": 3974, + "end": 3976, "loc": { "start": { - "line": 170, + "line": 168, "column": 14 }, "end": { - "line": 170, + "line": 168, "column": 16 } } @@ -21666,15 +21256,15 @@ "updateContext": null }, "value": "this", - "start": 4016, - "end": 4020, + "start": 3976, + "end": 3980, "loc": { "start": { - "line": 170, + "line": 168, "column": 16 }, "end": { - "line": 170, + "line": 168, "column": 20 } } @@ -21692,15 +21282,15 @@ "binop": null, "updateContext": null }, - "start": 4020, - "end": 4021, + "start": 3980, + "end": 3981, "loc": { "start": { - "line": 170, + "line": 168, "column": 20 }, "end": { - "line": 170, + "line": 168, "column": 21 } } @@ -21718,15 +21308,15 @@ "binop": null }, "value": "coeff", - "start": 4021, - "end": 4026, + "start": 3981, + "end": 3986, "loc": { "start": { - "line": 170, + "line": 168, "column": 21 }, "end": { - "line": 170, + "line": 168, "column": 26 } } @@ -21743,15 +21333,15 @@ "postfix": false, "binop": null }, - "start": 4026, - "end": 4027, + "start": 3986, + "end": 3987, "loc": { "start": { - "line": 170, + "line": 168, "column": 26 }, "end": { - "line": 170, + "line": 168, "column": 27 } } @@ -21770,15 +21360,15 @@ "updateContext": null }, "value": ":", - "start": 4027, - "end": 4028, + "start": 3987, + "end": 3988, "loc": { "start": { - "line": 170, + "line": 168, "column": 27 }, "end": { - "line": 170, + "line": 168, "column": 28 } } @@ -21795,15 +21385,15 @@ "postfix": false, "binop": null }, - "start": 4028, - "end": 4030, + "start": 3988, + "end": 3990, "loc": { "start": { - "line": 170, + "line": 168, "column": 28 }, "end": { - "line": 170, + "line": 168, "column": 30 } } @@ -21823,15 +21413,15 @@ "updateContext": null }, "value": "this", - "start": 4030, - "end": 4034, + "start": 3990, + "end": 3994, "loc": { "start": { - "line": 170, + "line": 168, "column": 30 }, "end": { - "line": 170, + "line": 168, "column": 34 } } @@ -21849,15 +21439,15 @@ "binop": null, "updateContext": null }, - "start": 4034, - "end": 4035, + "start": 3994, + "end": 3995, "loc": { "start": { - "line": 170, + "line": 168, "column": 34 }, "end": { - "line": 170, + "line": 168, "column": 35 } } @@ -21875,15 +21465,15 @@ "binop": null }, "value": "day", - "start": 4035, - "end": 4038, + "start": 3995, + "end": 3998, "loc": { "start": { - "line": 170, + "line": 168, "column": 35 }, "end": { - "line": 170, + "line": 168, "column": 38 } } @@ -21901,15 +21491,15 @@ "binop": null, "updateContext": null }, - "start": 4038, - "end": 4039, + "start": 3998, + "end": 3999, "loc": { "start": { - "line": 170, + "line": 168, "column": 38 }, "end": { - "line": 170, + "line": 168, "column": 39 } } @@ -21927,15 +21517,15 @@ "binop": null }, "value": "day_position", - "start": 4039, - "end": 4051, + "start": 3999, + "end": 4011, "loc": { "start": { - "line": 170, + "line": 168, "column": 39 }, "end": { - "line": 170, + "line": 168, "column": 51 } } @@ -21952,15 +21542,15 @@ "postfix": false, "binop": null }, - "start": 4051, - "end": 4052, + "start": 4011, + "end": 4012, "loc": { "start": { - "line": 170, + "line": 168, "column": 51 }, "end": { - "line": 170, + "line": 168, "column": 52 } } @@ -21979,15 +21569,15 @@ "updateContext": null }, "value": "", - "start": 4052, - "end": 4052, + "start": 4012, + "end": 4012, "loc": { "start": { - "line": 170, + "line": 168, "column": 52 }, "end": { - "line": 170, + "line": 168, "column": 52 } } @@ -22004,15 +21594,15 @@ "postfix": false, "binop": null }, - "start": 4052, - "end": 4053, + "start": 4012, + "end": 4013, "loc": { "start": { - "line": 170, + "line": 168, "column": 52 }, "end": { - "line": 170, + "line": 168, "column": 53 } } @@ -22030,15 +21620,15 @@ "binop": null, "updateContext": null }, - "start": 4053, - "end": 4054, + "start": 4013, + "end": 4014, "loc": { "start": { - "line": 170, + "line": 168, "column": 53 }, "end": { - "line": 170, + "line": 168, "column": 54 } } @@ -22055,15 +21645,15 @@ "postfix": false, "binop": null }, - "start": 4059, - "end": 4060, + "start": 4019, + "end": 4020, "loc": { "start": { - "line": 171, + "line": 169, "column": 4 }, "end": { - "line": 171, + "line": 169, "column": 5 } } @@ -22083,15 +21673,15 @@ "updateContext": null }, "value": "return", - "start": 4065, - "end": 4071, + "start": 4025, + "end": 4031, "loc": { "start": { - "line": 172, + "line": 170, "column": 4 }, "end": { - "line": 172, + "line": 170, "column": 10 } } @@ -22108,15 +21698,15 @@ "postfix": false, "binop": null }, - "start": 4072, - "end": 4073, + "start": 4032, + "end": 4033, "loc": { "start": { - "line": 172, + "line": 170, "column": 11 }, "end": { - "line": 172, + "line": 170, "column": 12 } } @@ -22135,15 +21725,15 @@ "updateContext": null }, "value": "", - "start": 4073, - "end": 4073, + "start": 4033, + "end": 4033, "loc": { "start": { - "line": 172, + "line": 170, "column": 12 }, "end": { - "line": 172, + "line": 170, "column": 12 } } @@ -22160,15 +21750,15 @@ "postfix": false, "binop": null }, - "start": 4073, - "end": 4075, + "start": 4033, + "end": 4035, "loc": { "start": { - "line": 172, + "line": 170, "column": 12 }, "end": { - "line": 172, + "line": 170, "column": 14 } } @@ -22188,15 +21778,15 @@ "updateContext": null }, "value": "this", - "start": 4075, - "end": 4079, + "start": 4035, + "end": 4039, "loc": { "start": { - "line": 172, + "line": 170, "column": 14 }, "end": { - "line": 172, + "line": 170, "column": 18 } } @@ -22214,15 +21804,15 @@ "binop": null, "updateContext": null }, - "start": 4079, - "end": 4080, + "start": 4039, + "end": 4040, "loc": { "start": { - "line": 172, + "line": 170, "column": 18 }, "end": { - "line": 172, + "line": 170, "column": 19 } } @@ -22240,15 +21830,15 @@ "binop": null }, "value": "coeff", - "start": 4080, - "end": 4085, + "start": 4040, + "end": 4045, "loc": { "start": { - "line": 172, + "line": 170, "column": 19 }, "end": { - "line": 172, + "line": 170, "column": 24 } } @@ -22265,15 +21855,15 @@ "postfix": false, "binop": null }, - "start": 4085, - "end": 4086, + "start": 4045, + "end": 4046, "loc": { "start": { - "line": 172, + "line": 170, "column": 24 }, "end": { - "line": 172, + "line": 170, "column": 25 } } @@ -22292,15 +21882,15 @@ "updateContext": null }, "value": " ", - "start": 4086, - "end": 4087, + "start": 4046, + "end": 4047, "loc": { "start": { - "line": 172, + "line": 170, "column": 25 }, "end": { - "line": 172, + "line": 170, "column": 26 } } @@ -22317,15 +21907,15 @@ "postfix": false, "binop": null }, - "start": 4087, - "end": 4089, + "start": 4047, + "end": 4049, "loc": { "start": { - "line": 172, + "line": 170, "column": 26 }, "end": { - "line": 172, + "line": 170, "column": 28 } } @@ -22345,15 +21935,15 @@ "updateContext": null }, "value": "this", - "start": 4089, - "end": 4093, + "start": 4049, + "end": 4053, "loc": { "start": { - "line": 172, + "line": 170, "column": 28 }, "end": { - "line": 172, + "line": 170, "column": 32 } } @@ -22371,15 +21961,15 @@ "binop": null, "updateContext": null }, - "start": 4093, - "end": 4094, + "start": 4053, + "end": 4054, "loc": { "start": { - "line": 172, + "line": 170, "column": 32 }, "end": { - "line": 172, + "line": 170, "column": 33 } } @@ -22397,15 +21987,15 @@ "binop": null }, "value": "name", - "start": 4094, - "end": 4098, + "start": 4054, + "end": 4058, "loc": { "start": { - "line": 172, + "line": 170, "column": 33 }, "end": { - "line": 172, + "line": 170, "column": 37 } } @@ -22422,15 +22012,15 @@ "postfix": false, "binop": null }, - "start": 4098, - "end": 4099, + "start": 4058, + "end": 4059, "loc": { "start": { - "line": 172, + "line": 170, "column": 37 }, "end": { - "line": 172, + "line": 170, "column": 38 } } @@ -22449,15 +22039,15 @@ "updateContext": null }, "value": "", - "start": 4099, - "end": 4099, + "start": 4059, + "end": 4059, "loc": { "start": { - "line": 172, + "line": 170, "column": 38 }, "end": { - "line": 172, + "line": 170, "column": 38 } } @@ -22474,15 +22064,15 @@ "postfix": false, "binop": null }, - "start": 4099, - "end": 4100, + "start": 4059, + "end": 4060, "loc": { "start": { - "line": 172, + "line": 170, "column": 38 }, "end": { - "line": 172, + "line": 170, "column": 39 } } @@ -22500,15 +22090,15 @@ "binop": null, "updateContext": null }, - "start": 4100, - "end": 4101, + "start": 4060, + "end": 4061, "loc": { "start": { - "line": 172, + "line": 170, "column": 39 }, "end": { - "line": 172, + "line": 170, "column": 40 } } @@ -22525,15 +22115,15 @@ "postfix": false, "binop": null }, - "start": 4104, - "end": 4105, + "start": 4064, + "end": 4065, "loc": { "start": { - "line": 173, + "line": 171, "column": 2 }, "end": { - "line": 173, + "line": 171, "column": 3 } } @@ -22550,49 +22140,52 @@ "postfix": false, "binop": null }, - "start": 4106, - "end": 4107, + "start": 4066, + "end": 4067, "loc": { "start": { - "line": 174, + "line": 172, "column": 0 }, "end": { - "line": 174, + "line": 172, "column": 1 } } }, { "type": { - "label": "name", + "label": "export", + "keyword": "export", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "module", - "start": 4110, - "end": 4116, + "value": "export", + "start": 4069, + "end": 4075, "loc": { "start": { - "line": 177, + "line": 174, "column": 0 }, "end": { - "line": 177, + "line": 174, "column": 6 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "default", + "keyword": "default", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -22602,72 +22195,20 @@ "binop": null, "updateContext": null }, - "start": 4116, - "end": 4117, - "loc": { - "start": { - "line": 177, - "column": 6 - }, - "end": { - "line": 177, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "exports", - "start": 4117, - "end": 4124, + "value": "default", + "start": 4076, + "end": 4083, "loc": { "start": { - "line": 177, + "line": 174, "column": 7 }, "end": { - "line": 177, + "line": 174, "column": 14 } } }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 4125, - "end": 4126, - "loc": { - "start": { - "line": 177, - "column": 15 - }, - "end": { - "line": 177, - "column": 16 - } - } - }, { "type": { "label": "{", @@ -22680,16 +22221,16 @@ "postfix": false, "binop": null }, - "start": 4127, - "end": 4128, + "start": 4084, + "end": 4085, "loc": { "start": { - "line": 177, - "column": 17 + "line": 174, + "column": 15 }, "end": { - "line": 177, - "column": 18 + "line": 174, + "column": 16 } } }, @@ -22706,15 +22247,15 @@ "binop": null }, "value": "getTzolkinDay", - "start": 4131, - "end": 4144, + "start": 4088, + "end": 4101, "loc": { "start": { - "line": 178, + "line": 175, "column": 2 }, "end": { - "line": 178, + "line": 175, "column": 15 } } @@ -22732,15 +22273,15 @@ "binop": null, "updateContext": null }, - "start": 4144, - "end": 4145, + "start": 4101, + "end": 4102, "loc": { "start": { - "line": 178, + "line": 175, "column": 15 }, "end": { - "line": 178, + "line": 175, "column": 16 } } @@ -22758,15 +22299,15 @@ "binop": null }, "value": "getTzolkin", - "start": 4148, - "end": 4158, + "start": 4105, + "end": 4115, "loc": { "start": { - "line": 179, + "line": 176, "column": 2 }, "end": { - "line": 179, + "line": 176, "column": 12 } } @@ -22784,15 +22325,15 @@ "binop": null, "updateContext": null }, - "start": 4158, - "end": 4159, + "start": 4115, + "end": 4116, "loc": { "start": { - "line": 179, + "line": 176, "column": 12 }, "end": { - "line": 179, + "line": 176, "column": 13 } } @@ -22809,15 +22350,15 @@ "postfix": false, "binop": null }, - "start": 4160, - "end": 4161, + "start": 4117, + "end": 4118, "loc": { "start": { - "line": 180, + "line": 177, "column": 0 }, "end": { - "line": 180, + "line": 177, "column": 1 } } @@ -22835,15 +22376,15 @@ "binop": null, "updateContext": null }, - "start": 4161, - "end": 4162, + "start": 4118, + "end": 4119, "loc": { "start": { - "line": 180, + "line": 177, "column": 1 }, "end": { - "line": 180, + "line": 177, "column": 2 } } @@ -22861,15 +22402,15 @@ "binop": null, "updateContext": null }, - "start": 4163, - "end": 4163, + "start": 4120, + "end": 4120, "loc": { "start": { - "line": 181, + "line": 178, "column": 0 }, "end": { - "line": 181, + "line": 178, "column": 0 } } diff --git a/docs/ast/source/factory/base.js.json b/docs/ast/source/factory/base.js.json index 7a81cc5..a39c5f2 100644 --- a/docs/ast/source/factory/base.js.json +++ b/docs/ast/source/factory/base.js.json @@ -1,37 +1,37 @@ { "type": "File", "start": 0, - "end": 911, + "end": 899, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 46, + "line": 44, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 911, + "end": 899, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 46, + "line": 44, "column": 0 } }, "sourceType": "module", "body": [ { - "type": "ClassDeclaration", + "type": "ExportDefaultDeclaration", "start": 77, - "end": 883, + "end": 898, "loc": { "start": { "line": 4, @@ -42,113 +42,113 @@ "column": 1 } }, - "id": { - "type": "Identifier", - "start": 83, - "end": 90, + "declaration": { + "type": "ClassDeclaration", + "start": 92, + "end": 898, "loc": { "start": { "line": 4, - "column": 6 - }, - "end": { - "line": 4, - "column": 13 - }, - "identifierName": "Factory" - }, - "name": "Factory", - "leadingComments": null - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 91, - "end": 883, - "loc": { - "start": { - "line": 4, - "column": 14 + "column": 15 }, "end": { "line": 43, "column": 1 } }, - "body": [ - { - "type": "ClassMethod", - "start": 160, - "end": 323, - "loc": { - "start": { - "line": 8, - "column": 2 - }, - "end": { - "line": 15, - "column": 3 - } + "id": { + "type": "Identifier", + "start": 98, + "end": 105, + "loc": { + "start": { + "line": 4, + "column": 21 }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 160, - "end": 171, - "loc": { - "start": { - "line": 8, - "column": 2 - }, - "end": { - "line": 8, - "column": 13 - }, - "identifierName": "constructor" - }, - "name": "constructor", - "leadingComments": null + "end": { + "line": 4, + "column": 28 + }, + "identifierName": "Factory" + }, + "name": "Factory", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 106, + "end": 898, + "loc": { + "start": { + "line": 4, + "column": 29 }, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 174, - "end": 323, + "end": { + "line": 43, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 175, + "end": 338, "loc": { "start": { "line": 8, - "column": 16 + "column": 2 }, "end": { "line": 15, "column": 3 } }, - "body": [ - { - "type": "ExpressionStatement", - "start": 299, - "end": 319, - "loc": { - "start": { - "line": 14, - "column": 4 - }, - "end": { - "line": 14, - "column": 24 - } + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 175, + "end": 186, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 13 + }, + "identifierName": "constructor" + }, + "name": "constructor", + "leadingComments": null + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 189, + "end": 338, + "loc": { + "start": { + "line": 8, + "column": 16 }, - "expression": { - "type": "AssignmentExpression", - "start": 299, - "end": 318, + "end": { + "line": 15, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 314, + "end": 334, "loc": { "start": { "line": 14, @@ -156,14 +156,13 @@ }, "end": { "line": 14, - "column": 23 + "column": 24 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 299, - "end": 311, + "expression": { + "type": "AssignmentExpression", + "start": 314, + "end": 333, "loc": { "start": { "line": 14, @@ -171,13 +170,14 @@ }, "end": { "line": 14, - "column": 16 + "column": 23 } }, - "object": { - "type": "ThisExpression", - "start": 299, - "end": 303, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 314, + "end": 326, "loc": { "start": { "line": 14, @@ -185,378 +185,378 @@ }, "end": { "line": 14, - "column": 8 + "column": 16 } }, + "object": { + "type": "ThisExpression", + "start": 314, + "end": 318, + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 14, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 319, + "end": 326, + "loc": { + "start": { + "line": 14, + "column": 9 + }, + "end": { + "line": 14, + "column": 16 + }, + "identifierName": "pattern" + }, + "name": "pattern" + }, + "computed": false, "leadingComments": null }, - "property": { - "type": "Identifier", - "start": 304, - "end": 311, + "right": { + "type": "NullLiteral", + "start": 329, + "end": 333, "loc": { "start": { "line": 14, - "column": 9 + "column": 19 }, "end": { "line": 14, - "column": 16 - }, - "identifierName": "pattern" - }, - "name": "pattern" + "column": 23 + } + } }, - "computed": false, "leadingComments": null }, - "right": { - "type": "NullLiteral", - "start": 314, - "end": 318, - "loc": { - "start": { - "line": 14, - "column": 19 - }, - "end": { - "line": 14, - "column": 23 + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Describes how to break a string into a fullDate element\n * @protected\n * @type {RegExp}\n ", + "start": 195, + "end": 309, + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 13, + "column": 7 + } } } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Define properties to be override by sub-classes\n ", + "start": 110, + "end": 172, + "loc": { + "start": { + "line": 5, + "column": 2 }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Describes how to break a string into a fullDate element\n * @protected\n * @type {RegExp}\n ", - "start": 180, - "end": 294, - "loc": { - "start": { - "line": 9, - "column": 4 - }, - "end": { - "line": 13, - "column": 7 - } - } + "end": { + "line": 7, + "column": 5 } - ] - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Define properties to be override by sub-classes\n ", - "start": 95, - "end": 157, - "loc": { - "start": { - "line": 5, - "column": 2 - }, - "end": { - "line": 7, - "column": 5 } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Split the provided fullDate into its components\n * @param {string} raw\n * @access protected\n * @returns {String[]}\n ", - "start": 327, - "end": 462, - "loc": { - "start": { - "line": 17, - "column": 2 - }, - "end": { - "line": 22, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Split the provided fullDate into its components\n * @param {string} raw\n * @access protected\n * @returns {String[]}\n ", + "start": 342, + "end": 477, + "loc": { + "start": { + "line": 17, + "column": 2 + }, + "end": { + "line": 22, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 465, - "end": 618, - "loc": { - "start": { - "line": 23, - "column": 2 - }, - "end": { - "line": 31, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 465, - "end": 470, + { + "type": "ClassMethod", + "start": 480, + "end": 633, "loc": { "start": { "line": 23, "column": 2 }, "end": { - "line": 23, - "column": 7 - }, - "identifierName": "split" + "line": 31, + "column": 3 + } }, - "name": "split", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 471, - "end": 474, + "start": 480, + "end": 485, "loc": { "start": { "line": 23, - "column": 8 + "column": 2 }, "end": { "line": 23, - "column": 11 + "column": 7 }, - "identifierName": "raw" - }, - "name": "raw" - } - ], - "body": { - "type": "BlockStatement", - "start": 476, - "end": 618, - "loc": { - "start": { - "line": 23, - "column": 13 + "identifierName": "split" }, - "end": { - "line": 31, - "column": 3 - } + "name": "split", + "leadingComments": null }, - "body": [ + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "VariableDeclaration", - "start": 482, - "end": 534, + "type": "Identifier", + "start": 486, + "end": 489, "loc": { "start": { - "line": 24, - "column": 4 + "line": 23, + "column": 8 }, "end": { - "line": 26, - "column": 6 - } + "line": 23, + "column": 11 + }, + "identifierName": "raw" }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 488, - "end": 533, - "loc": { - "start": { - "line": 24, - "column": 10 - }, - "end": { - "line": 26, - "column": 5 - } + "name": "raw" + } + ], + "body": { + "type": "BlockStatement", + "start": 491, + "end": 633, + "loc": { + "start": { + "line": 23, + "column": 13 + }, + "end": { + "line": 31, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 497, + "end": 549, + "loc": { + "start": { + "line": 24, + "column": 4 }, - "id": { - "type": "Identifier", - "start": 488, - "end": 495, + "end": { + "line": 26, + "column": 6 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 503, + "end": 548, "loc": { "start": { "line": 24, "column": 10 }, - "end": { - "line": 24, - "column": 17 - }, - "identifierName": "matches" - }, - "name": "matches" - }, - "init": { - "type": "CallExpression", - "start": 498, - "end": 533, - "loc": { - "start": { - "line": 24, - "column": 20 - }, "end": { "line": 26, "column": 5 } }, - "callee": { - "type": "MemberExpression", - "start": 498, - "end": 507, + "id": { + "type": "Identifier", + "start": 503, + "end": 510, "loc": { "start": { "line": 24, - "column": 20 + "column": 10 }, "end": { "line": 24, - "column": 29 - } + "column": 17 + }, + "identifierName": "matches" }, - "object": { - "type": "Identifier", - "start": 498, - "end": 501, - "loc": { - "start": { - "line": 24, - "column": 20 - }, - "end": { - "line": 24, - "column": 23 - }, - "identifierName": "raw" + "name": "matches" + }, + "init": { + "type": "CallExpression", + "start": 513, + "end": 548, + "loc": { + "start": { + "line": 24, + "column": 20 }, - "name": "raw" + "end": { + "line": 26, + "column": 5 + } }, - "property": { - "type": "Identifier", - "start": 502, - "end": 507, + "callee": { + "type": "MemberExpression", + "start": 513, + "end": 522, "loc": { "start": { "line": 24, - "column": 24 + "column": 20 }, "end": { "line": 24, "column": 29 - }, - "identifierName": "match" - }, - "name": "match" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 515, - "end": 527, - "loc": { - "start": { - "line": 25, - "column": 6 - }, - "end": { - "line": 25, - "column": 18 } }, "object": { - "type": "ThisExpression", - "start": 515, - "end": 519, + "type": "Identifier", + "start": 513, + "end": 516, "loc": { "start": { - "line": 25, - "column": 6 + "line": 24, + "column": 20 }, "end": { - "line": 25, - "column": 10 - } - } + "line": 24, + "column": 23 + }, + "identifierName": "raw" + }, + "name": "raw" }, "property": { "type": "Identifier", - "start": 520, - "end": 527, + "start": 517, + "end": 522, + "loc": { + "start": { + "line": 24, + "column": 24 + }, + "end": { + "line": 24, + "column": 29 + }, + "identifierName": "match" + }, + "name": "match" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 530, + "end": 542, "loc": { "start": { "line": 25, - "column": 11 + "column": 6 }, "end": { "line": 25, "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 530, + "end": 534, + "loc": { + "start": { + "line": 25, + "column": 6 + }, + "end": { + "line": 25, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 535, + "end": 542, + "loc": { + "start": { + "line": 25, + "column": 11 + }, + "end": { + "line": 25, + "column": 18 + }, + "identifierName": "pattern" }, - "identifierName": "pattern" + "name": "pattern" }, - "name": "pattern" - }, - "computed": false - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "IfStatement", - "start": 539, - "end": 585, - "loc": { - "start": { - "line": 27, - "column": 4 - }, - "end": { - "line": 29, - "column": 5 - } + "computed": false + } + ] + } + } + ], + "kind": "const" }, - "test": { - "type": "BinaryExpression", - "start": 543, - "end": 559, + { + "type": "IfStatement", + "start": 554, + "end": 600, "loc": { "start": { "line": 27, - "column": 8 + "column": 4 }, "end": { - "line": 27, - "column": 24 + "line": 29, + "column": 5 } }, - "left": { - "type": "Identifier", - "start": 543, - "end": 550, + "test": { + "type": "BinaryExpression", + "start": 558, + "end": 574, "loc": { "start": { "line": 27, @@ -564,112 +564,112 @@ }, "end": { "line": 27, - "column": 15 + "column": 24 + } + }, + "left": { + "type": "Identifier", + "start": 558, + "end": 565, + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 27, + "column": 15 + }, + "identifierName": "matches" }, - "identifierName": "matches" + "name": "matches" }, - "name": "matches" + "operator": "===", + "right": { + "type": "NullLiteral", + "start": 570, + "end": 574, + "loc": { + "start": { + "line": 27, + "column": 20 + }, + "end": { + "line": 27, + "column": 24 + } + } + } }, - "operator": "===", - "right": { - "type": "NullLiteral", - "start": 555, - "end": 559, + "consequent": { + "type": "BlockStatement", + "start": 576, + "end": 600, "loc": { "start": { "line": 27, - "column": 20 + "column": 26 }, "end": { - "line": 27, - "column": 24 + "line": 29, + "column": 5 } - } - } - }, - "consequent": { - "type": "BlockStatement", - "start": 561, - "end": 585, - "loc": { - "start": { - "line": 27, - "column": 26 }, - "end": { - "line": 29, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 569, - "end": 579, - "loc": { - "start": { - "line": 28, - "column": 6 - }, - "end": { - "line": 28, - "column": 16 - } - }, - "argument": { - "type": "ArrayExpression", - "start": 576, - "end": 578, + "body": [ + { + "type": "ReturnStatement", + "start": 584, + "end": 594, "loc": { "start": { "line": 28, - "column": 13 + "column": 6 }, "end": { "line": 28, - "column": 15 + "column": 16 } }, - "elements": [] + "argument": { + "type": "ArrayExpression", + "start": 591, + "end": 593, + "loc": { + "start": { + "line": 28, + "column": 13 + }, + "end": { + "line": 28, + "column": 15 + } + }, + "elements": [] + } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 590, - "end": 614, - "loc": { - "start": { - "line": 30, - "column": 4 + ], + "directives": [] }, - "end": { - "line": 30, - "column": 28 - } + "alternate": null }, - "argument": { - "type": "CallExpression", - "start": 597, - "end": 613, + { + "type": "ReturnStatement", + "start": 605, + "end": 629, "loc": { "start": { "line": 30, - "column": 11 + "column": 4 }, "end": { "line": 30, - "column": 27 + "column": 28 } }, - "callee": { - "type": "MemberExpression", - "start": 597, - "end": 610, + "argument": { + "type": "CallExpression", + "start": 612, + "end": 628, "loc": { "start": { "line": 30, @@ -677,13 +677,13 @@ }, "end": { "line": 30, - "column": 24 + "column": 27 } }, - "object": { - "type": "Identifier", - "start": 597, - "end": 604, + "callee": { + "type": "MemberExpression", + "start": 612, + "end": 625, "loc": { "start": { "line": 30, @@ -691,278 +691,214 @@ }, "end": { "line": 30, - "column": 18 - }, - "identifierName": "matches" + "column": 24 + } }, - "name": "matches" - }, - "property": { - "type": "Identifier", - "start": 605, - "end": 610, - "loc": { - "start": { - "line": 30, - "column": 19 + "object": { + "type": "Identifier", + "start": 612, + "end": 619, + "loc": { + "start": { + "line": 30, + "column": 11 + }, + "end": { + "line": 30, + "column": 18 + }, + "identifierName": "matches" }, - "end": { - "line": 30, - "column": 24 + "name": "matches" + }, + "property": { + "type": "Identifier", + "start": 620, + "end": 625, + "loc": { + "start": { + "line": 30, + "column": 19 + }, + "end": { + "line": 30, + "column": 24 + }, + "identifierName": "slice" }, - "identifierName": "slice" + "name": "slice" }, - "name": "slice" + "computed": false }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 611, - "end": 612, - "loc": { - "start": { - "line": 30, - "column": 25 + "arguments": [ + { + "type": "NumericLiteral", + "start": 626, + "end": 627, + "loc": { + "start": { + "line": 30, + "column": 25 + }, + "end": { + "line": 30, + "column": 26 + } }, - "end": { - "line": 30, - "column": 26 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + ] + } } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Split the provided fullDate into its components\n * @param {string} raw\n * @access protected\n * @returns {String[]}\n ", - "start": 327, - "end": 462, - "loc": { - "start": { - "line": 17, - "column": 2 - }, - "end": { - "line": 22, - "column": 5 + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Split the provided fullDate into its components\n * @param {string} raw\n * @access protected\n * @returns {String[]}\n ", + "start": 342, + "end": 477, + "loc": { + "start": { + "line": 17, + "column": 2 + }, + "end": { + "line": 22, + "column": 5 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Checks if the string contains a fullDate fullDate\n * @param {string} raw - Raw fullDate string\n * @access protected\n * @returns {boolean}\n ", - "start": 622, - "end": 780, - "loc": { - "start": { - "line": 33, - "column": 2 - }, - "end": { - "line": 38, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Checks if the string contains a fullDate fullDate\n * @param {string} raw - Raw fullDate string\n * @access protected\n * @returns {boolean}\n ", + "start": 637, + "end": 795, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 38, + "column": 5 + } } - } - }, - { - "type": "CommentLine", - "value": " _is_partial (raw) {", - "start": 783, - "end": 805, - "loc": { - "start": { - "line": 39, - "column": 2 - }, - "end": { - "line": 39, - "column": 24 + }, + { + "type": "CommentLine", + "value": " _is_partial (raw) {", + "start": 798, + "end": 820, + "loc": { + "start": { + "line": 39, + "column": 2 + }, + "end": { + "line": 39, + "column": 24 + } } - } - }, - { - "type": "CommentLine", - "value": " let parts = this.split(raw)", - "start": 808, - "end": 840, - "loc": { - "start": { - "line": 40, - "column": 2 - }, - "end": { - "line": 40, - "column": 34 + }, + { + "type": "CommentLine", + "value": " let parts = this.split(raw)", + "start": 823, + "end": 855, + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 40, + "column": 34 + } } - } - }, - { - "type": "CommentLine", - "value": " return parts.includes('*')", - "start": 843, - "end": 874, - "loc": { - "start": { - "line": 41, - "column": 2 - }, - "end": { - "line": 41, - "column": 33 + }, + { + "type": "CommentLine", + "value": " return parts.includes('*')", + "start": 858, + "end": 889, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 41, + "column": 33 + } } - } - }, - { - "type": "CommentLine", - "value": " }", - "start": 877, - "end": 881, - "loc": { - "start": { - "line": 42, - "column": 2 - }, - "end": { - "line": 42, - "column": 6 + }, + { + "type": "CommentLine", + "value": " }", + "start": 892, + "end": 896, + "loc": { + "start": { + "line": 42, + "column": 2 + }, + "end": { + "line": 42, + "column": 6 + } } } - } - ] - } - ] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * An abstract class to handle the create of an object from a string\n ", - "start": 0, - "end": 76, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 3 + ] } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 885, - "end": 910, - "loc": { - "start": { - "line": 45, - "column": 0 + ] }, - "end": { - "line": 45, - "column": 25 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 885, - "end": 909, - "loc": { - "start": { - "line": 45, - "column": 0 - }, - "end": { - "line": 45, - "column": 24 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 885, - "end": 899, - "loc": { - "start": { - "line": 45, - "column": 0 - }, - "end": { - "line": 45, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 885, - "end": 891, - "loc": { - "start": { - "line": 45, - "column": 0 - }, - "end": { - "line": 45, - "column": 6 - }, - "identifierName": "module" - }, - "name": "module" - }, - "property": { - "type": "Identifier", - "start": 892, - "end": 899, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * An abstract class to handle the create of an object from a string\n ", + "start": 0, + "end": 76, "loc": { - "start": { - "line": 45, - "column": 7 - }, - "end": { - "line": 45, - "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 902, - "end": 909, + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * An abstract class to handle the create of an object from a string\n ", + "start": 0, + "end": 76, "loc": { "start": { - "line": 45, - "column": 17 + "line": 1, + "column": 0 }, "end": { - "line": 45, - "column": 24 - }, - "identifierName": "Factory" - }, - "name": "Factory" + "line": 3, + "column": 3 + } + } } - } + ] } ], "directives": [] @@ -987,8 +923,8 @@ { "type": "CommentBlock", "value": "*\n * Define properties to be override by sub-classes\n ", - "start": 95, - "end": 157, + "start": 110, + "end": 172, "loc": { "start": { "line": 5, @@ -1003,8 +939,8 @@ { "type": "CommentBlock", "value": "*\n * Describes how to break a string into a fullDate element\n * @protected\n * @type {RegExp}\n ", - "start": 180, - "end": 294, + "start": 195, + "end": 309, "loc": { "start": { "line": 9, @@ -1019,8 +955,8 @@ { "type": "CommentBlock", "value": "*\n * Split the provided fullDate into its components\n * @param {string} raw\n * @access protected\n * @returns {String[]}\n ", - "start": 327, - "end": 462, + "start": 342, + "end": 477, "loc": { "start": { "line": 17, @@ -1035,8 +971,8 @@ { "type": "CommentBlock", "value": "*\n * Checks if the string contains a fullDate fullDate\n * @param {string} raw - Raw fullDate string\n * @access protected\n * @returns {boolean}\n ", - "start": 622, - "end": 780, + "start": 637, + "end": 795, "loc": { "start": { "line": 33, @@ -1051,8 +987,8 @@ { "type": "CommentLine", "value": " _is_partial (raw) {", - "start": 783, - "end": 805, + "start": 798, + "end": 820, "loc": { "start": { "line": 39, @@ -1067,8 +1003,8 @@ { "type": "CommentLine", "value": " let parts = this.split(raw)", - "start": 808, - "end": 840, + "start": 823, + "end": 855, "loc": { "start": { "line": 40, @@ -1083,8 +1019,8 @@ { "type": "CommentLine", "value": " return parts.includes('*')", - "start": 843, - "end": 874, + "start": 858, + "end": 889, "loc": { "start": { "line": 41, @@ -1099,8 +1035,8 @@ { "type": "CommentLine", "value": " }", - "start": 877, - "end": 881, + "start": 892, + "end": 896, "loc": { "start": { "line": 42, @@ -1130,6 +1066,62 @@ } } }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 77, + "end": 83, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 84, + "end": 91, + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 14 + } + } + }, { "type": { "label": "class", @@ -1145,16 +1137,16 @@ "updateContext": null }, "value": "class", - "start": 77, - "end": 82, + "start": 92, + "end": 97, "loc": { "start": { "line": 4, - "column": 0 + "column": 15 }, "end": { "line": 4, - "column": 5 + "column": 20 } } }, @@ -1171,16 +1163,16 @@ "binop": null }, "value": "Factory", - "start": 83, - "end": 90, + "start": 98, + "end": 105, "loc": { "start": { "line": 4, - "column": 6 + "column": 21 }, "end": { "line": 4, - "column": 13 + "column": 28 } } }, @@ -1196,24 +1188,24 @@ "postfix": false, "binop": null }, - "start": 91, - "end": 92, + "start": 106, + "end": 107, "loc": { "start": { "line": 4, - "column": 14 + "column": 29 }, "end": { "line": 4, - "column": 15 + "column": 30 } } }, { "type": "CommentBlock", "value": "*\n * Define properties to be override by sub-classes\n ", - "start": 95, - "end": 157, + "start": 110, + "end": 172, "loc": { "start": { "line": 5, @@ -1238,8 +1230,8 @@ "binop": null }, "value": "constructor", - "start": 160, - "end": 171, + "start": 175, + "end": 186, "loc": { "start": { "line": 8, @@ -1263,8 +1255,8 @@ "postfix": false, "binop": null }, - "start": 171, - "end": 172, + "start": 186, + "end": 187, "loc": { "start": { "line": 8, @@ -1288,8 +1280,8 @@ "postfix": false, "binop": null }, - "start": 172, - "end": 173, + "start": 187, + "end": 188, "loc": { "start": { "line": 8, @@ -1313,8 +1305,8 @@ "postfix": false, "binop": null }, - "start": 174, - "end": 175, + "start": 189, + "end": 190, "loc": { "start": { "line": 8, @@ -1329,8 +1321,8 @@ { "type": "CommentBlock", "value": "*\n * Describes how to break a string into a fullDate element\n * @protected\n * @type {RegExp}\n ", - "start": 180, - "end": 294, + "start": 195, + "end": 309, "loc": { "start": { "line": 9, @@ -1357,8 +1349,8 @@ "updateContext": null }, "value": "this", - "start": 299, - "end": 303, + "start": 314, + "end": 318, "loc": { "start": { "line": 14, @@ -1383,8 +1375,8 @@ "binop": null, "updateContext": null }, - "start": 303, - "end": 304, + "start": 318, + "end": 319, "loc": { "start": { "line": 14, @@ -1409,8 +1401,8 @@ "binop": null }, "value": "pattern", - "start": 304, - "end": 311, + "start": 319, + "end": 326, "loc": { "start": { "line": 14, @@ -1436,8 +1428,8 @@ "updateContext": null }, "value": "=", - "start": 312, - "end": 313, + "start": 327, + "end": 328, "loc": { "start": { "line": 14, @@ -1464,8 +1456,8 @@ "updateContext": null }, "value": "null", - "start": 314, - "end": 318, + "start": 329, + "end": 333, "loc": { "start": { "line": 14, @@ -1490,8 +1482,8 @@ "binop": null, "updateContext": null }, - "start": 318, - "end": 319, + "start": 333, + "end": 334, "loc": { "start": { "line": 14, @@ -1515,8 +1507,8 @@ "postfix": false, "binop": null }, - "start": 322, - "end": 323, + "start": 337, + "end": 338, "loc": { "start": { "line": 15, @@ -1531,8 +1523,8 @@ { "type": "CommentBlock", "value": "*\n * Split the provided fullDate into its components\n * @param {string} raw\n * @access protected\n * @returns {String[]}\n ", - "start": 327, - "end": 462, + "start": 342, + "end": 477, "loc": { "start": { "line": 17, @@ -1557,8 +1549,8 @@ "binop": null }, "value": "split", - "start": 465, - "end": 470, + "start": 480, + "end": 485, "loc": { "start": { "line": 23, @@ -1582,8 +1574,8 @@ "postfix": false, "binop": null }, - "start": 470, - "end": 471, + "start": 485, + "end": 486, "loc": { "start": { "line": 23, @@ -1608,8 +1600,8 @@ "binop": null }, "value": "raw", - "start": 471, - "end": 474, + "start": 486, + "end": 489, "loc": { "start": { "line": 23, @@ -1633,8 +1625,8 @@ "postfix": false, "binop": null }, - "start": 474, - "end": 475, + "start": 489, + "end": 490, "loc": { "start": { "line": 23, @@ -1658,8 +1650,8 @@ "postfix": false, "binop": null }, - "start": 476, - "end": 477, + "start": 491, + "end": 492, "loc": { "start": { "line": 23, @@ -1686,8 +1678,8 @@ "updateContext": null }, "value": "const", - "start": 482, - "end": 487, + "start": 497, + "end": 502, "loc": { "start": { "line": 24, @@ -1712,8 +1704,8 @@ "binop": null }, "value": "matches", - "start": 488, - "end": 495, + "start": 503, + "end": 510, "loc": { "start": { "line": 24, @@ -1739,8 +1731,8 @@ "updateContext": null }, "value": "=", - "start": 496, - "end": 497, + "start": 511, + "end": 512, "loc": { "start": { "line": 24, @@ -1765,8 +1757,8 @@ "binop": null }, "value": "raw", - "start": 498, - "end": 501, + "start": 513, + "end": 516, "loc": { "start": { "line": 24, @@ -1791,8 +1783,8 @@ "binop": null, "updateContext": null }, - "start": 501, - "end": 502, + "start": 516, + "end": 517, "loc": { "start": { "line": 24, @@ -1817,8 +1809,8 @@ "binop": null }, "value": "match", - "start": 502, - "end": 507, + "start": 517, + "end": 522, "loc": { "start": { "line": 24, @@ -1842,8 +1834,8 @@ "postfix": false, "binop": null }, - "start": 507, - "end": 508, + "start": 522, + "end": 523, "loc": { "start": { "line": 24, @@ -1870,8 +1862,8 @@ "updateContext": null }, "value": "this", - "start": 515, - "end": 519, + "start": 530, + "end": 534, "loc": { "start": { "line": 25, @@ -1896,8 +1888,8 @@ "binop": null, "updateContext": null }, - "start": 519, - "end": 520, + "start": 534, + "end": 535, "loc": { "start": { "line": 25, @@ -1922,8 +1914,8 @@ "binop": null }, "value": "pattern", - "start": 520, - "end": 527, + "start": 535, + "end": 542, "loc": { "start": { "line": 25, @@ -1947,8 +1939,8 @@ "postfix": false, "binop": null }, - "start": 532, - "end": 533, + "start": 547, + "end": 548, "loc": { "start": { "line": 26, @@ -1973,8 +1965,8 @@ "binop": null, "updateContext": null }, - "start": 533, - "end": 534, + "start": 548, + "end": 549, "loc": { "start": { "line": 26, @@ -2001,8 +1993,8 @@ "updateContext": null }, "value": "if", - "start": 539, - "end": 541, + "start": 554, + "end": 556, "loc": { "start": { "line": 27, @@ -2026,8 +2018,8 @@ "postfix": false, "binop": null }, - "start": 542, - "end": 543, + "start": 557, + "end": 558, "loc": { "start": { "line": 27, @@ -2052,8 +2044,8 @@ "binop": null }, "value": "matches", - "start": 543, - "end": 550, + "start": 558, + "end": 565, "loc": { "start": { "line": 27, @@ -2079,8 +2071,8 @@ "updateContext": null }, "value": "===", - "start": 551, - "end": 554, + "start": 566, + "end": 569, "loc": { "start": { "line": 27, @@ -2107,8 +2099,8 @@ "updateContext": null }, "value": "null", - "start": 555, - "end": 559, + "start": 570, + "end": 574, "loc": { "start": { "line": 27, @@ -2132,8 +2124,8 @@ "postfix": false, "binop": null }, - "start": 559, - "end": 560, + "start": 574, + "end": 575, "loc": { "start": { "line": 27, @@ -2157,8 +2149,8 @@ "postfix": false, "binop": null }, - "start": 561, - "end": 562, + "start": 576, + "end": 577, "loc": { "start": { "line": 27, @@ -2185,8 +2177,8 @@ "updateContext": null }, "value": "return", - "start": 569, - "end": 575, + "start": 584, + "end": 590, "loc": { "start": { "line": 28, @@ -2211,8 +2203,8 @@ "binop": null, "updateContext": null }, - "start": 576, - "end": 577, + "start": 591, + "end": 592, "loc": { "start": { "line": 28, @@ -2237,8 +2229,8 @@ "binop": null, "updateContext": null }, - "start": 577, - "end": 578, + "start": 592, + "end": 593, "loc": { "start": { "line": 28, @@ -2263,8 +2255,8 @@ "binop": null, "updateContext": null }, - "start": 578, - "end": 579, + "start": 593, + "end": 594, "loc": { "start": { "line": 28, @@ -2288,8 +2280,8 @@ "postfix": false, "binop": null }, - "start": 584, - "end": 585, + "start": 599, + "end": 600, "loc": { "start": { "line": 29, @@ -2316,8 +2308,8 @@ "updateContext": null }, "value": "return", - "start": 590, - "end": 596, + "start": 605, + "end": 611, "loc": { "start": { "line": 30, @@ -2342,8 +2334,8 @@ "binop": null }, "value": "matches", - "start": 597, - "end": 604, + "start": 612, + "end": 619, "loc": { "start": { "line": 30, @@ -2368,8 +2360,8 @@ "binop": null, "updateContext": null }, - "start": 604, - "end": 605, + "start": 619, + "end": 620, "loc": { "start": { "line": 30, @@ -2394,8 +2386,8 @@ "binop": null }, "value": "slice", - "start": 605, - "end": 610, + "start": 620, + "end": 625, "loc": { "start": { "line": 30, @@ -2419,8 +2411,8 @@ "postfix": false, "binop": null }, - "start": 610, - "end": 611, + "start": 625, + "end": 626, "loc": { "start": { "line": 30, @@ -2446,8 +2438,8 @@ "updateContext": null }, "value": 1, - "start": 611, - "end": 612, + "start": 626, + "end": 627, "loc": { "start": { "line": 30, @@ -2471,8 +2463,8 @@ "postfix": false, "binop": null }, - "start": 612, - "end": 613, + "start": 627, + "end": 628, "loc": { "start": { "line": 30, @@ -2497,8 +2489,8 @@ "binop": null, "updateContext": null }, - "start": 613, - "end": 614, + "start": 628, + "end": 629, "loc": { "start": { "line": 30, @@ -2522,8 +2514,8 @@ "postfix": false, "binop": null }, - "start": 617, - "end": 618, + "start": 632, + "end": 633, "loc": { "start": { "line": 31, @@ -2538,8 +2530,8 @@ { "type": "CommentBlock", "value": "*\n * Checks if the string contains a fullDate fullDate\n * @param {string} raw - Raw fullDate string\n * @access protected\n * @returns {boolean}\n ", - "start": 622, - "end": 780, + "start": 637, + "end": 795, "loc": { "start": { "line": 33, @@ -2554,8 +2546,8 @@ { "type": "CommentLine", "value": " _is_partial (raw) {", - "start": 783, - "end": 805, + "start": 798, + "end": 820, "loc": { "start": { "line": 39, @@ -2570,8 +2562,8 @@ { "type": "CommentLine", "value": " let parts = this.split(raw)", - "start": 808, - "end": 840, + "start": 823, + "end": 855, "loc": { "start": { "line": 40, @@ -2586,8 +2578,8 @@ { "type": "CommentLine", "value": " return parts.includes('*')", - "start": 843, - "end": 874, + "start": 858, + "end": 889, "loc": { "start": { "line": 41, @@ -2602,8 +2594,8 @@ { "type": "CommentLine", "value": " }", - "start": 877, - "end": 881, + "start": 892, + "end": 896, "loc": { "start": { "line": 42, @@ -2627,8 +2619,8 @@ "postfix": false, "binop": null }, - "start": 882, - "end": 883, + "start": 897, + "end": 898, "loc": { "start": { "line": 43, @@ -2640,163 +2632,6 @@ } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "module", - "start": 885, - "end": 891, - "loc": { - "start": { - "line": 45, - "column": 0 - }, - "end": { - "line": 45, - "column": 6 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 891, - "end": 892, - "loc": { - "start": { - "line": 45, - "column": 6 - }, - "end": { - "line": 45, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "exports", - "start": 892, - "end": 899, - "loc": { - "start": { - "line": 45, - "column": 7 - }, - "end": { - "line": 45, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 900, - "end": 901, - "loc": { - "start": { - "line": 45, - "column": 15 - }, - "end": { - "line": 45, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Factory", - "start": 902, - "end": 909, - "loc": { - "start": { - "line": 45, - "column": 17 - }, - "end": { - "line": 45, - "column": 24 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 909, - "end": 910, - "loc": { - "start": { - "line": 45, - "column": 24 - }, - "end": { - "line": 45, - "column": 25 - } - } - }, { "type": { "label": "eof", @@ -2810,15 +2645,15 @@ "binop": null, "updateContext": null }, - "start": 911, - "end": 911, + "start": 899, + "end": 899, "loc": { "start": { - "line": 46, + "line": 44, "column": 0 }, "end": { - "line": 46, + "line": 44, "column": 0 } } diff --git a/docs/ast/source/factory/calendar-round.js.json b/docs/ast/source/factory/calendar-round.js.json index 4fdf900..22a0d61 100644 --- a/docs/ast/source/factory/calendar-round.js.json +++ b/docs/ast/source/factory/calendar-round.js.json @@ -1,368 +1,183 @@ { "type": "File", "start": 0, - "end": 1009, + "end": 929, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 43, + "line": 39, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 1009, + "end": 929, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 43, + "line": 39, "column": 0 } }, "sourceType": "module", "body": [ { - "type": "VariableDeclaration", - "start": 15, - "end": 49, + "type": "ImportDeclaration", + "start": 0, + "end": 29, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 34 + "line": 1, + "column": 29 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 21, - "end": 48, + "type": "ImportDefaultSpecifier", + "start": 7, + "end": 14, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 33 + "line": 1, + "column": 14 } }, - "id": { + "local": { "type": "Identifier", - "start": 21, - "end": 28, + "start": 7, + "end": 14, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 13 + "line": 1, + "column": 14 }, "identifierName": "Factory" }, - "name": "Factory", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 31, - "end": 48, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 33 - } - }, - "callee": { - "type": "Identifier", - "start": 31, - "end": 38, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 23 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 39, - "end": 47, - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 32 - } - }, - "extra": { - "rawValue": "./base", - "raw": "'./base'" - }, - "value": "./base" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } + "name": "Factory" } } ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 50, - "end": 64, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 20, + "end": 28, + "loc": { + "start": { + "line": 1, + "column": 20 + }, + "end": { + "line": 1, + "column": 28 } - } - ] + }, + "extra": { + "rawValue": "./base", + "raw": "'./base'" + }, + "value": "./base" + } }, { - "type": "VariableDeclaration", - "start": 65, - "end": 126, + "type": "ImportDeclaration", + "start": 30, + "end": 68, "loc": { "start": { - "line": 4, + "line": 2, "column": 0 }, "end": { - "line": 4, - "column": 61 + "line": 2, + "column": 38 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 71, - "end": 125, + "type": "ImportDefaultSpecifier", + "start": 37, + "end": 39, "loc": { "start": { - "line": 4, - "column": 6 + "line": 2, + "column": 7 }, "end": { - "line": 4, - "column": 60 + "line": 2, + "column": 9 } }, - "id": { - "type": "ObjectPattern", - "start": 71, - "end": 91, - "loc": { - "start": { - "line": 4, - "column": 6 - }, - "end": { - "line": 4, - "column": 26 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 73, - "end": 89, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 24 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 73, - "end": 89, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 24 - }, - "identifierName": "getCalendarRound" - }, - "name": "getCalendarRound", - "leadingComments": null - }, - "value": { - "type": "Identifier", - "start": 73, - "end": 89, - "loc": { - "start": { - "line": 4, - "column": 8 - }, - "end": { - "line": 4, - "column": 24 - }, - "identifierName": "getCalendarRound" - }, - "name": "getCalendarRound" - }, - "leadingComments": null, - "extra": { - "shorthand": true - } - } - ], - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 94, - "end": 125, + "local": { + "type": "Identifier", + "start": 37, + "end": 39, "loc": { "start": { - "line": 4, - "column": 29 + "line": 2, + "column": 7 }, "end": { - "line": 4, - "column": 60 - } - }, - "callee": { - "type": "Identifier", - "start": 94, - "end": 101, - "loc": { - "start": { - "line": 4, - "column": 29 - }, - "end": { - "line": 4, - "column": 36 - }, - "identifierName": "require" + "line": 2, + "column": 9 }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 102, - "end": 124, - "loc": { - "start": { - "line": 4, - "column": 37 - }, - "end": { - "line": 4, - "column": 59 - } - }, - "extra": { - "rawValue": "../cr/calendar-round", - "raw": "'../cr/calendar-round'" - }, - "value": "../cr/calendar-round" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 50, - "end": 64, - "loc": { - "start": { - "line": 3, - "column": 0 + "identifierName": "cr" }, - "end": { - "line": 3, - "column": 14 - } + "name": "cr" } } ], + "source": { + "type": "StringLiteral", + "start": 45, + "end": 67, + "loc": { + "start": { + "line": 2, + "column": 15 + }, + "end": { + "line": 2, + "column": 37 + } + }, + "extra": { + "rawValue": "../cr/calendar-round", + "raw": "'../cr/calendar-round'" + }, + "value": "../cr/calendar-round" + }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * A factory to create a CalendarRound object from a string\n * @extends {Factory}\n * @example\n * let cr = new CalendarRoundFactory().parse(\"4 Ajaw 8 Kumk'u\");\n ", - "start": 128, - "end": 297, + "start": 70, + "end": 239, "loc": { "start": { - "line": 6, + "line": 4, "column": 0 }, "end": { - "line": 11, + "line": 9, "column": 3 } } @@ -370,1154 +185,1091 @@ ] }, { - "type": "ClassDeclaration", - "start": 298, - "end": 968, + "type": "ExportDefaultDeclaration", + "start": 240, + "end": 928, "loc": { "start": { - "line": 12, + "line": 10, "column": 0 }, "end": { - "line": 40, + "line": 38, "column": 1 } }, - "id": { - "type": "Identifier", - "start": 304, - "end": 324, + "declaration": { + "type": "ClassDeclaration", + "start": 255, + "end": 928, "loc": { "start": { - "line": 12, - "column": 6 + "line": 10, + "column": 15 }, "end": { - "line": 12, - "column": 26 - }, - "identifierName": "CalendarRoundFactory" + "line": 38, + "column": 1 + } }, - "name": "CalendarRoundFactory", - "leadingComments": null - }, - "superClass": { - "type": "Identifier", - "start": 333, - "end": 340, - "loc": { - "start": { - "line": 12, - "column": 35 - }, - "end": { - "line": 12, - "column": 42 + "id": { + "type": "Identifier", + "start": 261, + "end": 281, + "loc": { + "start": { + "line": 10, + "column": 21 + }, + "end": { + "line": 10, + "column": 41 + }, + "identifierName": "CalendarRoundFactory" }, - "identifierName": "Factory" + "name": "CalendarRoundFactory", + "leadingComments": null }, - "name": "Factory" - }, - "body": { - "type": "ClassBody", - "start": 341, - "end": 968, - "loc": { - "start": { - "line": 12, - "column": 43 + "superClass": { + "type": "Identifier", + "start": 290, + "end": 297, + "loc": { + "start": { + "line": 10, + "column": 50 + }, + "end": { + "line": 10, + "column": 57 + }, + "identifierName": "Factory" }, - "end": { - "line": 40, - "column": 1 - } + "name": "Factory" }, - "body": [ - { - "type": "ClassMethod", - "start": 410, - "end": 607, - "loc": { - "start": { - "line": 16, - "column": 2 - }, - "end": { - "line": 23, - "column": 3 - } + "body": { + "type": "ClassBody", + "start": 298, + "end": 928, + "loc": { + "start": { + "line": 10, + "column": 58 }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 410, - "end": 421, + "end": { + "line": 38, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 367, + "end": 564, "loc": { "start": { - "line": 16, + "line": 14, "column": 2 }, "end": { - "line": 16, - "column": 13 - }, - "identifierName": "constructor" - }, - "name": "constructor", - "leadingComments": null - }, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 424, - "end": 607, - "loc": { - "start": { - "line": 16, - "column": 16 - }, - "end": { - "line": 23, + "line": 21, "column": 3 } }, - "body": [ - { - "type": "ExpressionStatement", - "start": 430, - "end": 438, - "loc": { - "start": { - "line": 17, - "column": 4 - }, - "end": { - "line": 17, - "column": 12 - } + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 367, + "end": 378, + "loc": { + "start": { + "line": 14, + "column": 2 }, - "expression": { - "type": "CallExpression", - "start": 430, - "end": 437, - "loc": { - "start": { - "line": 17, - "column": 4 - }, - "end": { - "line": 17, - "column": 11 - } - }, - "callee": { - "type": "Super", - "start": 430, - "end": 435, - "loc": { - "start": { - "line": 17, - "column": 4 - }, - "end": { - "line": 17, - "column": 9 - } - } - }, - "arguments": [] + "end": { + "line": 14, + "column": 13 }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Describes how to break the string into a Calendar Round\n * @type {RegExp}\n ", - "start": 443, - "end": 539, - "loc": { - "start": { - "line": 18, - "column": 4 - }, - "end": { - "line": 21, - "column": 7 - } - } - } - ] + "identifierName": "constructor" }, - { - "type": "ExpressionStatement", - "start": 544, - "end": 603, - "loc": { - "start": { - "line": 22, - "column": 4 - }, - "end": { - "line": 22, - "column": 63 - } + "name": "constructor", + "leadingComments": null + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 381, + "end": 564, + "loc": { + "start": { + "line": 14, + "column": 16 }, - "expression": { - "type": "AssignmentExpression", - "start": 544, - "end": 602, + "end": { + "line": 21, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 387, + "end": 395, "loc": { "start": { - "line": 22, + "line": 15, "column": 4 }, "end": { - "line": 22, - "column": 62 + "line": 15, + "column": 12 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 544, - "end": 556, + "expression": { + "type": "CallExpression", + "start": 387, + "end": 394, "loc": { "start": { - "line": 22, + "line": 15, "column": 4 }, "end": { - "line": 22, - "column": 16 + "line": 15, + "column": 11 } }, - "object": { - "type": "ThisExpression", - "start": 544, - "end": 548, + "callee": { + "type": "Super", + "start": 387, + "end": 392, "loc": { "start": { - "line": 22, + "line": 15, "column": 4 }, "end": { - "line": 22, - "column": 8 + "line": 15, + "column": 9 } - }, - "leadingComments": null + } }, - "property": { - "type": "Identifier", - "start": 549, - "end": 556, + "arguments": [] + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Describes how to break the string into a Calendar Round\n * @type {RegExp}\n ", + "start": 400, + "end": 496, "loc": { "start": { - "line": 22, - "column": 9 + "line": 16, + "column": 4 }, "end": { - "line": 22, - "column": 16 - }, - "identifierName": "pattern" - }, - "name": "pattern" + "line": 19, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 501, + "end": 560, + "loc": { + "start": { + "line": 20, + "column": 4 }, - "computed": false, - "leadingComments": null + "end": { + "line": 20, + "column": 63 + } }, - "right": { - "type": "RegExpLiteral", - "start": 559, - "end": 602, + "expression": { + "type": "AssignmentExpression", + "start": 501, + "end": 559, "loc": { "start": { - "line": 22, - "column": 19 + "line": 20, + "column": 4 }, "end": { - "line": 22, + "line": 20, "column": 62 } }, - "extra": { - "raw": "/([*\\d]+)\\s?([^\\s]+)\\s?([*\\d]+)\\s?([^\\s]+)/" + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 501, + "end": 513, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 501, + "end": 505, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 506, + "end": 513, + "loc": { + "start": { + "line": 20, + "column": 9 + }, + "end": { + "line": 20, + "column": 16 + }, + "identifierName": "pattern" + }, + "name": "pattern" + }, + "computed": false, + "leadingComments": null }, - "pattern": "([*\\d]+)\\s?([^\\s]+)\\s?([*\\d]+)\\s?([^\\s]+)", - "flags": "" - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Describes how to break the string into a Calendar Round\n * @type {RegExp}\n ", - "start": 443, - "end": 539, - "loc": { - "start": { - "line": 18, - "column": 4 + "right": { + "type": "RegExpLiteral", + "start": 516, + "end": 559, + "loc": { + "start": { + "line": 20, + "column": 19 + }, + "end": { + "line": 20, + "column": 62 + } }, - "end": { - "line": 21, - "column": 7 + "extra": { + "raw": "/([*\\d]+)\\s?([^\\s]+)\\s?([*\\d]+)\\s?([^\\s]+)/" + }, + "pattern": "([*\\d]+)\\s?([^\\s]+)\\s?([*\\d]+)\\s?([^\\s]+)", + "flags": "" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Describes how to break the string into a Calendar Round\n * @type {RegExp}\n ", + "start": 400, + "end": 496, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 19, + "column": 7 + } } } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Defines the pattern describing a Calendar Round\n ", + "start": 302, + "end": 364, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 13, + "column": 5 } - ] - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Defines the pattern describing a Calendar Round\n ", - "start": 345, - "end": 407, - "loc": { - "start": { - "line": 13, - "column": 2 - }, - "end": { - "line": 15, - "column": 5 } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Given a string, parse it and create a Calendar Round\n * @param {string} raw - A string containing a Calendar Round\n * @returns {CalendarRound}\n ", - "start": 611, - "end": 772, - "loc": { - "start": { - "line": 25, - "column": 2 - }, - "end": { - "line": 29, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Given a string, parse it and create a Calendar Round\n * @param {string} raw - A string containing a Calendar Round\n * @returns {CalendarRound}\n ", + "start": 568, + "end": 729, + "loc": { + "start": { + "line": 23, + "column": 2 + }, + "end": { + "line": 27, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 775, - "end": 966, - "loc": { - "start": { - "line": 30, - "column": 2 - }, - "end": { - "line": 39, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 775, - "end": 780, + { + "type": "ClassMethod", + "start": 732, + "end": 926, "loc": { "start": { - "line": 30, + "line": 28, "column": 2 }, "end": { - "line": 30, - "column": 7 - }, - "identifierName": "parse" + "line": 37, + "column": 3 + } }, - "name": "parse", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 781, - "end": 784, + "start": 732, + "end": 737, "loc": { "start": { - "line": 30, - "column": 8 + "line": 28, + "column": 2 }, "end": { - "line": 30, - "column": 11 + "line": 28, + "column": 7 }, - "identifierName": "raw" - }, - "name": "raw" - } - ], - "body": { - "type": "BlockStatement", - "start": 786, - "end": 966, - "loc": { - "start": { - "line": 30, - "column": 13 + "identifierName": "parse" }, - "end": { - "line": 39, - "column": 3 - } + "name": "parse", + "leadingComments": null }, - "body": [ + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "VariableDeclaration", - "start": 792, - "end": 822, + "type": "Identifier", + "start": 738, + "end": 741, "loc": { "start": { - "line": 31, - "column": 4 + "line": 28, + "column": 8 }, "end": { - "line": 31, - "column": 34 - } + "line": 28, + "column": 11 + }, + "identifierName": "raw" }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 798, - "end": 821, - "loc": { - "start": { - "line": 31, - "column": 10 - }, - "end": { - "line": 31, - "column": 33 - } + "name": "raw" + } + ], + "body": { + "type": "BlockStatement", + "start": 743, + "end": 926, + "loc": { + "start": { + "line": 28, + "column": 13 + }, + "end": { + "line": 37, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 749, + "end": 779, + "loc": { + "start": { + "line": 29, + "column": 4 }, - "id": { - "type": "Identifier", - "start": 798, - "end": 803, + "end": { + "line": 29, + "column": 34 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 755, + "end": 778, "loc": { "start": { - "line": 31, + "line": 29, "column": 10 }, "end": { - "line": 31, - "column": 15 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "init": { - "type": "CallExpression", - "start": 806, - "end": 821, - "loc": { - "start": { - "line": 31, - "column": 18 - }, - "end": { - "line": 31, + "line": 29, "column": 33 } }, - "callee": { - "type": "MemberExpression", - "start": 806, - "end": 816, + "id": { + "type": "Identifier", + "start": 755, + "end": 760, "loc": { "start": { - "line": 31, + "line": 29, + "column": 10 + }, + "end": { + "line": 29, + "column": 15 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "init": { + "type": "CallExpression", + "start": 763, + "end": 778, + "loc": { + "start": { + "line": 29, "column": 18 }, "end": { - "line": 31, - "column": 28 + "line": 29, + "column": 33 } }, - "object": { - "type": "ThisExpression", - "start": 806, - "end": 810, + "callee": { + "type": "MemberExpression", + "start": 763, + "end": 773, "loc": { "start": { - "line": 31, + "line": 29, "column": 18 }, "end": { - "line": 31, - "column": 22 - } - } - }, - "property": { - "type": "Identifier", - "start": 811, - "end": 816, - "loc": { - "start": { - "line": 31, - "column": 23 - }, - "end": { - "line": 31, + "line": 29, "column": 28 + } + }, + "object": { + "type": "ThisExpression", + "start": 763, + "end": 767, + "loc": { + "start": { + "line": 29, + "column": 18 + }, + "end": { + "line": 29, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "start": 768, + "end": 773, + "loc": { + "start": { + "line": 29, + "column": 23 + }, + "end": { + "line": 29, + "column": 28 + }, + "identifierName": "split" }, - "identifierName": "split" + "name": "split" }, - "name": "split" + "computed": false }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 817, - "end": 820, - "loc": { - "start": { - "line": 31, - "column": 29 - }, - "end": { - "line": 31, - "column": 32 + "arguments": [ + { + "type": "Identifier", + "start": 774, + "end": 777, + "loc": { + "start": { + "line": 29, + "column": 29 + }, + "end": { + "line": 29, + "column": 32 + }, + "identifierName": "raw" }, - "identifierName": "raw" - }, - "name": "raw" - } - ] + "name": "raw" + } + ] + } } - } - ], - "kind": "const" - }, - { - "type": "IfStatement", - "start": 827, - "end": 875, - "loc": { - "start": { - "line": 32, - "column": 4 - }, - "end": { - "line": 34, - "column": 5 - } + ], + "kind": "const" }, - "test": { - "type": "BinaryExpression", - "start": 831, - "end": 847, + { + "type": "IfStatement", + "start": 784, + "end": 832, "loc": { "start": { - "line": 32, - "column": 8 + "line": 30, + "column": 4 }, "end": { "line": 32, - "column": 24 + "column": 5 } }, - "left": { - "type": "MemberExpression", - "start": 831, - "end": 843, + "test": { + "type": "BinaryExpression", + "start": 788, + "end": 804, "loc": { "start": { - "line": 32, + "line": 30, "column": 8 }, "end": { - "line": 32, - "column": 20 + "line": 30, + "column": 24 } }, - "object": { - "type": "Identifier", - "start": 831, - "end": 836, + "left": { + "type": "MemberExpression", + "start": 788, + "end": 800, "loc": { "start": { - "line": 32, + "line": 30, "column": 8 }, "end": { - "line": 32, - "column": 13 + "line": 30, + "column": 20 + } + }, + "object": { + "type": "Identifier", + "start": 788, + "end": 793, + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 30, + "column": 13 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "property": { + "type": "Identifier", + "start": 794, + "end": 800, + "loc": { + "start": { + "line": 30, + "column": 14 + }, + "end": { + "line": 30, + "column": 20 + }, + "identifierName": "length" }, - "identifierName": "parts" + "name": "length" }, - "name": "parts" + "computed": false }, - "property": { - "type": "Identifier", - "start": 837, - "end": 843, + "operator": "<", + "right": { + "type": "NumericLiteral", + "start": 803, + "end": 804, "loc": { "start": { - "line": 32, - "column": 14 + "line": 30, + "column": 23 }, "end": { - "line": 32, - "column": 20 - }, - "identifierName": "length" + "line": 30, + "column": 24 + } }, - "name": "length" - }, - "computed": false + "extra": { + "rawValue": 4, + "raw": "4" + }, + "value": 4 + } }, - "operator": "<", - "right": { - "type": "NumericLiteral", - "start": 846, - "end": 847, + "consequent": { + "type": "BlockStatement", + "start": 806, + "end": 832, "loc": { "start": { - "line": 32, - "column": 23 + "line": 30, + "column": 26 }, "end": { "line": 32, - "column": 24 + "column": 5 } }, - "extra": { - "rawValue": 4, - "raw": "4" - }, - "value": 4 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 849, - "end": 875, - "loc": { - "start": { - "line": 32, - "column": 26 - }, - "end": { - "line": 34, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 857, - "end": 869, - "loc": { - "start": { - "line": 33, - "column": 6 - }, - "end": { - "line": 33, - "column": 18 - } - }, - "argument": { - "type": "NullLiteral", - "start": 864, - "end": 868, + "body": [ + { + "type": "ReturnStatement", + "start": 814, + "end": 826, "loc": { "start": { - "line": 33, - "column": 13 + "line": 31, + "column": 6 }, "end": { - "line": 33, - "column": 17 + "line": 31, + "column": 18 + } + }, + "argument": { + "type": "NullLiteral", + "start": 821, + "end": 825, + "loc": { + "start": { + "line": 31, + "column": 13 + }, + "end": { + "line": 31, + "column": 17 + } } } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 880, - "end": 962, - "loc": { - "start": { - "line": 35, - "column": 4 + ], + "directives": [] }, - "end": { - "line": 38, - "column": 6 - } + "alternate": null }, - "argument": { - "type": "CallExpression", - "start": 887, - "end": 961, + { + "type": "ReturnStatement", + "start": 837, + "end": 922, "loc": { "start": { - "line": 35, - "column": 11 + "line": 33, + "column": 4 }, "end": { - "line": 38, - "column": 5 + "line": 36, + "column": 6 } }, - "callee": { - "type": "Identifier", - "start": 887, - "end": 903, + "argument": { + "type": "CallExpression", + "start": 844, + "end": 921, "loc": { "start": { - "line": 35, + "line": 33, "column": 11 }, "end": { - "line": 35, - "column": 27 - }, - "identifierName": "getCalendarRound" + "line": 36, + "column": 5 + } }, - "name": "getCalendarRound" - }, - "arguments": [ - { + "callee": { "type": "MemberExpression", - "start": 911, - "end": 919, + "start": 844, + "end": 863, "loc": { "start": { - "line": 36, - "column": 6 + "line": 33, + "column": 11 }, "end": { - "line": 36, - "column": 14 + "line": 33, + "column": 30 } }, "object": { "type": "Identifier", - "start": 911, - "end": 916, + "start": 844, + "end": 846, "loc": { "start": { - "line": 36, - "column": 6 + "line": 33, + "column": 11 }, "end": { - "line": 36, - "column": 11 + "line": 33, + "column": 13 }, - "identifierName": "parts" + "identifierName": "cr" }, - "name": "parts" + "name": "cr" }, "property": { - "type": "NumericLiteral", - "start": 917, - "end": 918, + "type": "Identifier", + "start": 847, + "end": 863, "loc": { "start": { - "line": 36, - "column": 12 + "line": 33, + "column": 14 }, "end": { - "line": 36, - "column": 13 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" + "line": 33, + "column": 30 + }, + "identifierName": "getCalendarRound" }, - "value": 0 + "name": "getCalendarRound" }, - "computed": true + "computed": false }, - { - "type": "MemberExpression", - "start": 921, - "end": 929, - "loc": { - "start": { - "line": 36, - "column": 16 - }, - "end": { - "line": 36, - "column": 24 - } - }, - "object": { - "type": "Identifier", - "start": 921, - "end": 926, + "arguments": [ + { + "type": "MemberExpression", + "start": 871, + "end": 879, "loc": { "start": { - "line": 36, - "column": 16 + "line": 34, + "column": 6 }, "end": { - "line": 36, - "column": 21 + "line": 34, + "column": 14 + } + }, + "object": { + "type": "Identifier", + "start": 871, + "end": 876, + "loc": { + "start": { + "line": 34, + "column": 6 + }, + "end": { + "line": 34, + "column": 11 + }, + "identifierName": "parts" }, - "identifierName": "parts" + "name": "parts" }, - "name": "parts" + "property": { + "type": "NumericLiteral", + "start": 877, + "end": 878, + "loc": { + "start": { + "line": 34, + "column": 12 + }, + "end": { + "line": 34, + "column": 13 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "computed": true }, - "property": { - "type": "NumericLiteral", - "start": 927, - "end": 928, + { + "type": "MemberExpression", + "start": 881, + "end": 889, "loc": { "start": { - "line": 36, - "column": 22 + "line": 34, + "column": 16 }, "end": { - "line": 36, - "column": 23 + "line": 34, + "column": 24 } }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "computed": true - }, - { - "type": "MemberExpression", - "start": 937, - "end": 945, - "loc": { - "start": { - "line": 37, - "column": 6 + "object": { + "type": "Identifier", + "start": 881, + "end": 886, + "loc": { + "start": { + "line": 34, + "column": 16 + }, + "end": { + "line": 34, + "column": 21 + }, + "identifierName": "parts" + }, + "name": "parts" }, - "end": { - "line": 37, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 937, - "end": 942, - "loc": { - "start": { - "line": 37, - "column": 6 + "property": { + "type": "NumericLiteral", + "start": 887, + "end": 888, + "loc": { + "start": { + "line": 34, + "column": 22 + }, + "end": { + "line": 34, + "column": 23 + } }, - "end": { - "line": 37, - "column": 11 + "extra": { + "rawValue": 1, + "raw": "1" }, - "identifierName": "parts" + "value": 1 }, - "name": "parts" + "computed": true }, - "property": { - "type": "NumericLiteral", - "start": 943, - "end": 944, + { + "type": "MemberExpression", + "start": 897, + "end": 905, "loc": { "start": { - "line": 37, - "column": 12 + "line": 35, + "column": 6 }, "end": { - "line": 37, - "column": 13 + "line": 35, + "column": 14 } }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - }, - "computed": true - }, - { - "type": "MemberExpression", - "start": 947, - "end": 955, - "loc": { - "start": { - "line": 37, - "column": 16 + "object": { + "type": "Identifier", + "start": 897, + "end": 902, + "loc": { + "start": { + "line": 35, + "column": 6 + }, + "end": { + "line": 35, + "column": 11 + }, + "identifierName": "parts" + }, + "name": "parts" }, - "end": { - "line": 37, - "column": 24 - } - }, - "object": { - "type": "Identifier", - "start": 947, - "end": 952, - "loc": { - "start": { - "line": 37, - "column": 16 + "property": { + "type": "NumericLiteral", + "start": 903, + "end": 904, + "loc": { + "start": { + "line": 35, + "column": 12 + }, + "end": { + "line": 35, + "column": 13 + } }, - "end": { - "line": 37, - "column": 21 + "extra": { + "rawValue": 2, + "raw": "2" }, - "identifierName": "parts" + "value": 2 }, - "name": "parts" + "computed": true }, - "property": { - "type": "NumericLiteral", - "start": 953, - "end": 954, + { + "type": "MemberExpression", + "start": 907, + "end": 915, "loc": { "start": { - "line": 37, - "column": 22 + "line": 35, + "column": 16 }, "end": { - "line": 37, - "column": 23 + "line": 35, + "column": 24 } }, - "extra": { - "rawValue": 3, - "raw": "3" + "object": { + "type": "Identifier", + "start": 907, + "end": 912, + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 21 + }, + "identifierName": "parts" + }, + "name": "parts" }, - "value": 3 - }, - "computed": true - } - ] + "property": { + "type": "NumericLiteral", + "start": 913, + "end": 914, + "loc": { + "start": { + "line": 35, + "column": 22 + }, + "end": { + "line": 35, + "column": 23 + } + }, + "extra": { + "rawValue": 3, + "raw": "3" + }, + "value": 3 + }, + "computed": true + } + ] + } } - } - ], - "directives": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Given a string, parse it and create a Calendar Round\n * @param {string} raw - A string containing a Calendar Round\n * @returns {CalendarRound}\n ", - "start": 611, - "end": 772, - "loc": { - "start": { - "line": 25, - "column": 2 - }, - "end": { - "line": 29, - "column": 5 + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Given a string, parse it and create a Calendar Round\n * @param {string} raw - A string containing a Calendar Round\n * @returns {CalendarRound}\n ", + "start": 568, + "end": 729, + "loc": { + "start": { + "line": 23, + "column": 2 + }, + "end": { + "line": 27, + "column": 5 + } } } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * A factory to create a CalendarRound object from a string\n * @extends {Factory}\n * @example\n * let cr = new CalendarRoundFactory().parse(\"4 Ajaw 8 Kumk'u\");\n ", + "start": 70, + "end": 239, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 9, + "column": 3 } - ] + } } - ] + ], + "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * A factory to create a CalendarRound object from a string\n * @extends {Factory}\n * @example\n * let cr = new CalendarRoundFactory().parse(\"4 Ajaw 8 Kumk'u\");\n ", - "start": 128, - "end": 297, + "start": 70, + "end": 239, "loc": { "start": { - "line": 6, + "line": 4, "column": 0 }, "end": { - "line": 11, + "line": 9, "column": 3 } } } ] - }, - { - "type": "ExpressionStatement", - "start": 970, - "end": 1008, - "loc": { - "start": { - "line": 42, - "column": 0 - }, - "end": { - "line": 42, - "column": 38 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 970, - "end": 1007, - "loc": { - "start": { - "line": 42, - "column": 0 - }, - "end": { - "line": 42, - "column": 37 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 970, - "end": 984, - "loc": { - "start": { - "line": 42, - "column": 0 - }, - "end": { - "line": 42, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 970, - "end": 976, - "loc": { - "start": { - "line": 42, - "column": 0 - }, - "end": { - "line": 42, - "column": 6 - }, - "identifierName": "module" - }, - "name": "module" - }, - "property": { - "type": "Identifier", - "start": 977, - "end": 984, - "loc": { - "start": { - "line": 42, - "column": 7 - }, - "end": { - "line": 42, - "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 987, - "end": 1007, - "loc": { - "start": { - "line": 42, - "column": 17 - }, - "end": { - "line": 42, - "column": 37 - }, - "identifierName": "CalendarRoundFactory" - }, - "name": "CalendarRoundFactory" - } - } } ], "directives": [] }, "comments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 50, - "end": 64, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, { "type": "CommentBlock", "value": "*\n * A factory to create a CalendarRound object from a string\n * @extends {Factory}\n * @example\n * let cr = new CalendarRoundFactory().parse(\"4 Ajaw 8 Kumk'u\");\n ", - "start": 128, - "end": 297, + "start": 70, + "end": 239, "loc": { "start": { - "line": 6, + "line": 4, "column": 0 }, "end": { - "line": 11, + "line": 9, "column": 3 } } @@ -1525,153 +1277,57 @@ { "type": "CommentBlock", "value": "*\n * Defines the pattern describing a Calendar Round\n ", - "start": 345, - "end": 407, - "loc": { - "start": { - "line": 13, - "column": 2 - }, - "end": { - "line": 15, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Describes how to break the string into a Calendar Round\n * @type {RegExp}\n ", - "start": 443, - "end": 539, - "loc": { - "start": { - "line": 18, - "column": 4 - }, - "end": { - "line": 21, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Given a string, parse it and create a Calendar Round\n * @param {string} raw - A string containing a Calendar Round\n * @returns {CalendarRound}\n ", - "start": 611, - "end": 772, - "loc": { - "start": { - "line": 25, - "column": 2 - }, - "end": { - "line": 29, - "column": 5 - } - } - } - ], - "tokens": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 15, - "end": 20, + "start": 302, + "end": 364, "loc": { "start": { - "line": 2, - "column": 0 + "line": 11, + "column": 2 }, "end": { - "line": 2, + "line": 13, "column": 5 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Factory", - "start": 21, - "end": 28, + "type": "CommentBlock", + "value": "*\n * Describes how to break the string into a Calendar Round\n * @type {RegExp}\n ", + "start": 400, + "end": 496, "loc": { "start": { - "line": 2, - "column": 6 + "line": 16, + "column": 4 }, "end": { - "line": 2, - "column": 13 + "line": 19, + "column": 7 } } }, { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 29, - "end": 30, + "type": "CommentBlock", + "value": "*\n * Given a string, parse it and create a Calendar Round\n * @param {string} raw - A string containing a Calendar Round\n * @returns {CalendarRound}\n ", + "start": 568, + "end": 729, "loc": { "start": { - "line": 2, - "column": 14 + "line": 23, + "column": 2 }, "end": { - "line": 2, - "column": 15 + "line": 27, + "column": 5 } } - }, + } + ], + "tokens": [ { "type": { - "label": "name", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1679,26 +1335,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "require", - "start": 31, - "end": 38, + "value": "import", + "start": 0, + "end": 6, "loc": { "start": { - "line": 2, - "column": 16 + "line": 1, + "column": 0 }, "end": { - "line": 2, - "column": 23 + "line": 1, + "column": 6 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1707,22 +1364,23 @@ "postfix": false, "binop": null }, - "start": 38, - "end": 39, + "value": "Factory", + "start": 7, + "end": 14, "loc": { "start": { - "line": 2, - "column": 23 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 24 + "line": 1, + "column": 14 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1730,45 +1388,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./base", - "start": 39, - "end": 47, + "value": "from", + "start": 15, + "end": 19, "loc": { "start": { - "line": 2, - "column": 24 + "line": 1, + "column": 15 }, "end": { - "line": 2, - "column": 32 + "line": 1, + "column": 19 } } }, { "type": { - "label": ")", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 47, - "end": 48, + "value": "./base", + "start": 20, + "end": 28, "loc": { "start": { - "line": 2, - "column": 32 + "line": 1, + "column": 20 }, "end": { - "line": 2, - "column": 33 + "line": 1, + "column": 28 } } }, @@ -1785,41 +1444,25 @@ "binop": null, "updateContext": null }, - "start": 48, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 33 - }, - "end": { - "line": 2, - "column": 34 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 50, - "end": 64, + "start": 28, + "end": 29, "loc": { "start": { - "line": 3, - "column": 0 + "line": 1, + "column": 28 }, "end": { - "line": 3, - "column": 14 + "line": 1, + "column": 29 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1828,42 +1471,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 65, - "end": 70, + "value": "import", + "start": 30, + "end": 36, "loc": { "start": { - "line": 4, + "line": 2, "column": 0 }, "end": { - "line": 4, - "column": 5 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 71, - "end": 72, - "loc": { - "start": { - "line": 4, + "line": 2, "column": 6 - }, - "end": { - "line": 4, - "column": 7 } } }, @@ -1879,25 +1497,25 @@ "postfix": false, "binop": null }, - "value": "getCalendarRound", - "start": 73, - "end": 89, + "value": "cr", + "start": 37, + "end": 39, "loc": { "start": { - "line": 4, - "column": 8 + "line": 2, + "column": 7 }, "end": { - "line": 4, - "column": 24 + "line": 2, + "column": 9 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1905,49 +1523,23 @@ "postfix": false, "binop": null }, - "start": 90, - "end": 91, - "loc": { - "start": { - "line": 4, - "column": 25 - }, - "end": { - "line": 4, - "column": 26 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 92, - "end": 93, + "value": "from", + "start": 40, + "end": 44, "loc": { "start": { - "line": 4, - "column": 27 + "line": 2, + "column": 10 }, "end": { - "line": 4, - "column": 28 + "line": 2, + "column": 14 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1955,77 +1547,69 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "require", - "start": 94, - "end": 101, + "value": "../cr/calendar-round", + "start": 45, + "end": 67, "loc": { "start": { - "line": 4, - "column": 29 + "line": 2, + "column": 15 }, "end": { - "line": 4, - "column": 36 + "line": 2, + "column": 37 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 101, - "end": 102, + "start": 67, + "end": 68, "loc": { "start": { - "line": 4, - "column": 36 + "line": 2, + "column": 37 }, "end": { - "line": 4, - "column": 37 + "line": 2, + "column": 38 } } }, { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "../cr/calendar-round", - "start": 102, - "end": 124, + "type": "CommentBlock", + "value": "*\n * A factory to create a CalendarRound object from a string\n * @extends {Factory}\n * @example\n * let cr = new CalendarRoundFactory().parse(\"4 Ajaw 8 Kumk'u\");\n ", + "start": 70, + "end": 239, "loc": { "start": { "line": 4, - "column": 37 + "column": 0 }, "end": { - "line": 4, - "column": 59 + "line": 9, + "column": 3 } } }, { "type": { - "label": ")", + "label": "export", + "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -2033,24 +1617,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 124, - "end": 125, + "value": "export", + "start": 240, + "end": 246, "loc": { "start": { - "line": 4, - "column": 59 + "line": 10, + "column": 0 }, "end": { - "line": 4, - "column": 60 + "line": 10, + "column": 6 } } }, { "type": { - "label": ";", + "label": "default", + "keyword": "default", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -2061,32 +1648,17 @@ "binop": null, "updateContext": null }, - "start": 125, - "end": 126, - "loc": { - "start": { - "line": 4, - "column": 60 - }, - "end": { - "line": 4, - "column": 61 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * A factory to create a CalendarRound object from a string\n * @extends {Factory}\n * @example\n * let cr = new CalendarRoundFactory().parse(\"4 Ajaw 8 Kumk'u\");\n ", - "start": 128, - "end": 297, + "value": "default", + "start": 247, + "end": 254, "loc": { "start": { - "line": 6, - "column": 0 + "line": 10, + "column": 7 }, "end": { - "line": 11, - "column": 3 + "line": 10, + "column": 14 } } }, @@ -2105,16 +1677,16 @@ "updateContext": null }, "value": "class", - "start": 298, - "end": 303, + "start": 255, + "end": 260, "loc": { "start": { - "line": 12, - "column": 0 + "line": 10, + "column": 15 }, "end": { - "line": 12, - "column": 5 + "line": 10, + "column": 20 } } }, @@ -2131,16 +1703,16 @@ "binop": null }, "value": "CalendarRoundFactory", - "start": 304, - "end": 324, + "start": 261, + "end": 281, "loc": { "start": { - "line": 12, - "column": 6 + "line": 10, + "column": 21 }, "end": { - "line": 12, - "column": 26 + "line": 10, + "column": 41 } } }, @@ -2159,16 +1731,16 @@ "updateContext": null }, "value": "extends", - "start": 325, - "end": 332, + "start": 282, + "end": 289, "loc": { "start": { - "line": 12, - "column": 27 + "line": 10, + "column": 42 }, "end": { - "line": 12, - "column": 34 + "line": 10, + "column": 49 } } }, @@ -2185,16 +1757,16 @@ "binop": null }, "value": "Factory", - "start": 333, - "end": 340, + "start": 290, + "end": 297, "loc": { "start": { - "line": 12, - "column": 35 + "line": 10, + "column": 50 }, "end": { - "line": 12, - "column": 42 + "line": 10, + "column": 57 } } }, @@ -2210,31 +1782,31 @@ "postfix": false, "binop": null }, - "start": 341, - "end": 342, + "start": 298, + "end": 299, "loc": { "start": { - "line": 12, - "column": 43 + "line": 10, + "column": 58 }, "end": { - "line": 12, - "column": 44 + "line": 10, + "column": 59 } } }, { "type": "CommentBlock", "value": "*\n * Defines the pattern describing a Calendar Round\n ", - "start": 345, - "end": 407, + "start": 302, + "end": 364, "loc": { "start": { - "line": 13, + "line": 11, "column": 2 }, "end": { - "line": 15, + "line": 13, "column": 5 } } @@ -2252,15 +1824,15 @@ "binop": null }, "value": "constructor", - "start": 410, - "end": 421, + "start": 367, + "end": 378, "loc": { "start": { - "line": 16, + "line": 14, "column": 2 }, "end": { - "line": 16, + "line": 14, "column": 13 } } @@ -2277,15 +1849,15 @@ "postfix": false, "binop": null }, - "start": 421, - "end": 422, + "start": 378, + "end": 379, "loc": { "start": { - "line": 16, + "line": 14, "column": 13 }, "end": { - "line": 16, + "line": 14, "column": 14 } } @@ -2302,15 +1874,15 @@ "postfix": false, "binop": null }, - "start": 422, - "end": 423, + "start": 379, + "end": 380, "loc": { "start": { - "line": 16, + "line": 14, "column": 14 }, "end": { - "line": 16, + "line": 14, "column": 15 } } @@ -2327,15 +1899,15 @@ "postfix": false, "binop": null }, - "start": 424, - "end": 425, + "start": 381, + "end": 382, "loc": { "start": { - "line": 16, + "line": 14, "column": 16 }, "end": { - "line": 16, + "line": 14, "column": 17 } } @@ -2355,15 +1927,15 @@ "updateContext": null }, "value": "super", - "start": 430, - "end": 435, + "start": 387, + "end": 392, "loc": { "start": { - "line": 17, + "line": 15, "column": 4 }, "end": { - "line": 17, + "line": 15, "column": 9 } } @@ -2380,15 +1952,15 @@ "postfix": false, "binop": null }, - "start": 435, - "end": 436, + "start": 392, + "end": 393, "loc": { "start": { - "line": 17, + "line": 15, "column": 9 }, "end": { - "line": 17, + "line": 15, "column": 10 } } @@ -2405,15 +1977,15 @@ "postfix": false, "binop": null }, - "start": 436, - "end": 437, + "start": 393, + "end": 394, "loc": { "start": { - "line": 17, + "line": 15, "column": 10 }, "end": { - "line": 17, + "line": 15, "column": 11 } } @@ -2431,15 +2003,15 @@ "binop": null, "updateContext": null }, - "start": 437, - "end": 438, + "start": 394, + "end": 395, "loc": { "start": { - "line": 17, + "line": 15, "column": 11 }, "end": { - "line": 17, + "line": 15, "column": 12 } } @@ -2447,15 +2019,15 @@ { "type": "CommentBlock", "value": "*\n * Describes how to break the string into a Calendar Round\n * @type {RegExp}\n ", - "start": 443, - "end": 539, + "start": 400, + "end": 496, "loc": { "start": { - "line": 18, + "line": 16, "column": 4 }, "end": { - "line": 21, + "line": 19, "column": 7 } } @@ -2475,15 +2047,15 @@ "updateContext": null }, "value": "this", - "start": 544, - "end": 548, + "start": 501, + "end": 505, "loc": { "start": { - "line": 22, + "line": 20, "column": 4 }, "end": { - "line": 22, + "line": 20, "column": 8 } } @@ -2501,15 +2073,15 @@ "binop": null, "updateContext": null }, - "start": 548, - "end": 549, + "start": 505, + "end": 506, "loc": { "start": { - "line": 22, + "line": 20, "column": 8 }, "end": { - "line": 22, + "line": 20, "column": 9 } } @@ -2527,15 +2099,15 @@ "binop": null }, "value": "pattern", - "start": 549, - "end": 556, + "start": 506, + "end": 513, "loc": { "start": { - "line": 22, + "line": 20, "column": 9 }, "end": { - "line": 22, + "line": 20, "column": 16 } } @@ -2554,15 +2126,15 @@ "updateContext": null }, "value": "=", - "start": 557, - "end": 558, + "start": 514, + "end": 515, "loc": { "start": { - "line": 22, + "line": 20, "column": 17 }, "end": { - "line": 22, + "line": 20, "column": 18 } } @@ -2584,15 +2156,15 @@ "pattern": "([*\\d]+)\\s?([^\\s]+)\\s?([*\\d]+)\\s?([^\\s]+)", "flags": "" }, - "start": 559, - "end": 602, + "start": 516, + "end": 559, "loc": { "start": { - "line": 22, + "line": 20, "column": 19 }, "end": { - "line": 22, + "line": 20, "column": 62 } } @@ -2610,15 +2182,15 @@ "binop": null, "updateContext": null }, - "start": 602, - "end": 603, + "start": 559, + "end": 560, "loc": { "start": { - "line": 22, + "line": 20, "column": 62 }, "end": { - "line": 22, + "line": 20, "column": 63 } } @@ -2635,15 +2207,15 @@ "postfix": false, "binop": null }, - "start": 606, - "end": 607, + "start": 563, + "end": 564, "loc": { "start": { - "line": 23, + "line": 21, "column": 2 }, "end": { - "line": 23, + "line": 21, "column": 3 } } @@ -2651,15 +2223,15 @@ { "type": "CommentBlock", "value": "*\n * Given a string, parse it and create a Calendar Round\n * @param {string} raw - A string containing a Calendar Round\n * @returns {CalendarRound}\n ", - "start": 611, - "end": 772, + "start": 568, + "end": 729, "loc": { "start": { - "line": 25, + "line": 23, "column": 2 }, "end": { - "line": 29, + "line": 27, "column": 5 } } @@ -2677,15 +2249,15 @@ "binop": null }, "value": "parse", - "start": 775, - "end": 780, + "start": 732, + "end": 737, "loc": { "start": { - "line": 30, + "line": 28, "column": 2 }, "end": { - "line": 30, + "line": 28, "column": 7 } } @@ -2702,15 +2274,15 @@ "postfix": false, "binop": null }, - "start": 780, - "end": 781, + "start": 737, + "end": 738, "loc": { "start": { - "line": 30, + "line": 28, "column": 7 }, "end": { - "line": 30, + "line": 28, "column": 8 } } @@ -2728,15 +2300,15 @@ "binop": null }, "value": "raw", - "start": 781, - "end": 784, + "start": 738, + "end": 741, "loc": { "start": { - "line": 30, + "line": 28, "column": 8 }, "end": { - "line": 30, + "line": 28, "column": 11 } } @@ -2753,15 +2325,15 @@ "postfix": false, "binop": null }, - "start": 784, - "end": 785, + "start": 741, + "end": 742, "loc": { "start": { - "line": 30, + "line": 28, "column": 11 }, "end": { - "line": 30, + "line": 28, "column": 12 } } @@ -2778,15 +2350,15 @@ "postfix": false, "binop": null }, - "start": 786, - "end": 787, + "start": 743, + "end": 744, "loc": { "start": { - "line": 30, + "line": 28, "column": 13 }, "end": { - "line": 30, + "line": 28, "column": 14 } } @@ -2806,15 +2378,15 @@ "updateContext": null }, "value": "const", - "start": 792, - "end": 797, + "start": 749, + "end": 754, "loc": { "start": { - "line": 31, + "line": 29, "column": 4 }, "end": { - "line": 31, + "line": 29, "column": 9 } } @@ -2832,15 +2404,15 @@ "binop": null }, "value": "parts", - "start": 798, - "end": 803, + "start": 755, + "end": 760, "loc": { "start": { - "line": 31, + "line": 29, "column": 10 }, "end": { - "line": 31, + "line": 29, "column": 15 } } @@ -2859,15 +2431,15 @@ "updateContext": null }, "value": "=", - "start": 804, - "end": 805, + "start": 761, + "end": 762, "loc": { "start": { - "line": 31, + "line": 29, "column": 16 }, "end": { - "line": 31, + "line": 29, "column": 17 } } @@ -2887,15 +2459,15 @@ "updateContext": null }, "value": "this", - "start": 806, - "end": 810, + "start": 763, + "end": 767, "loc": { "start": { - "line": 31, + "line": 29, "column": 18 }, "end": { - "line": 31, + "line": 29, "column": 22 } } @@ -2913,15 +2485,15 @@ "binop": null, "updateContext": null }, - "start": 810, - "end": 811, + "start": 767, + "end": 768, "loc": { "start": { - "line": 31, + "line": 29, "column": 22 }, "end": { - "line": 31, + "line": 29, "column": 23 } } @@ -2939,15 +2511,15 @@ "binop": null }, "value": "split", - "start": 811, - "end": 816, + "start": 768, + "end": 773, "loc": { "start": { - "line": 31, + "line": 29, "column": 23 }, "end": { - "line": 31, + "line": 29, "column": 28 } } @@ -2964,15 +2536,15 @@ "postfix": false, "binop": null }, - "start": 816, - "end": 817, + "start": 773, + "end": 774, "loc": { "start": { - "line": 31, + "line": 29, "column": 28 }, "end": { - "line": 31, + "line": 29, "column": 29 } } @@ -2990,15 +2562,15 @@ "binop": null }, "value": "raw", - "start": 817, - "end": 820, + "start": 774, + "end": 777, "loc": { "start": { - "line": 31, + "line": 29, "column": 29 }, "end": { - "line": 31, + "line": 29, "column": 32 } } @@ -3015,15 +2587,15 @@ "postfix": false, "binop": null }, - "start": 820, - "end": 821, + "start": 777, + "end": 778, "loc": { "start": { - "line": 31, + "line": 29, "column": 32 }, "end": { - "line": 31, + "line": 29, "column": 33 } } @@ -3041,15 +2613,15 @@ "binop": null, "updateContext": null }, - "start": 821, - "end": 822, + "start": 778, + "end": 779, "loc": { "start": { - "line": 31, + "line": 29, "column": 33 }, "end": { - "line": 31, + "line": 29, "column": 34 } } @@ -3069,15 +2641,15 @@ "updateContext": null }, "value": "if", - "start": 827, - "end": 829, + "start": 784, + "end": 786, "loc": { "start": { - "line": 32, + "line": 30, "column": 4 }, "end": { - "line": 32, + "line": 30, "column": 6 } } @@ -3094,15 +2666,15 @@ "postfix": false, "binop": null }, - "start": 830, - "end": 831, + "start": 787, + "end": 788, "loc": { "start": { - "line": 32, + "line": 30, "column": 7 }, "end": { - "line": 32, + "line": 30, "column": 8 } } @@ -3120,15 +2692,15 @@ "binop": null }, "value": "parts", - "start": 831, - "end": 836, + "start": 788, + "end": 793, "loc": { "start": { - "line": 32, + "line": 30, "column": 8 }, "end": { - "line": 32, + "line": 30, "column": 13 } } @@ -3146,15 +2718,15 @@ "binop": null, "updateContext": null }, - "start": 836, - "end": 837, + "start": 793, + "end": 794, "loc": { "start": { - "line": 32, + "line": 30, "column": 13 }, "end": { - "line": 32, + "line": 30, "column": 14 } } @@ -3172,15 +2744,15 @@ "binop": null }, "value": "length", - "start": 837, - "end": 843, + "start": 794, + "end": 800, "loc": { "start": { - "line": 32, + "line": 30, "column": 14 }, "end": { - "line": 32, + "line": 30, "column": 20 } } @@ -3199,15 +2771,15 @@ "updateContext": null }, "value": "<", - "start": 844, - "end": 845, + "start": 801, + "end": 802, "loc": { "start": { - "line": 32, + "line": 30, "column": 21 }, "end": { - "line": 32, + "line": 30, "column": 22 } } @@ -3226,15 +2798,15 @@ "updateContext": null }, "value": 4, - "start": 846, - "end": 847, + "start": 803, + "end": 804, "loc": { "start": { - "line": 32, + "line": 30, "column": 23 }, "end": { - "line": 32, + "line": 30, "column": 24 } } @@ -3251,15 +2823,15 @@ "postfix": false, "binop": null }, - "start": 847, - "end": 848, + "start": 804, + "end": 805, "loc": { "start": { - "line": 32, + "line": 30, "column": 24 }, "end": { - "line": 32, + "line": 30, "column": 25 } } @@ -3276,15 +2848,15 @@ "postfix": false, "binop": null }, - "start": 849, - "end": 850, + "start": 806, + "end": 807, "loc": { "start": { - "line": 32, + "line": 30, "column": 26 }, "end": { - "line": 32, + "line": 30, "column": 27 } } @@ -3304,15 +2876,15 @@ "updateContext": null }, "value": "return", - "start": 857, - "end": 863, + "start": 814, + "end": 820, "loc": { "start": { - "line": 33, + "line": 31, "column": 6 }, "end": { - "line": 33, + "line": 31, "column": 12 } } @@ -3332,15 +2904,15 @@ "updateContext": null }, "value": "null", - "start": 864, - "end": 868, + "start": 821, + "end": 825, "loc": { "start": { - "line": 33, + "line": 31, "column": 13 }, "end": { - "line": 33, + "line": 31, "column": 17 } } @@ -3358,15 +2930,15 @@ "binop": null, "updateContext": null }, - "start": 868, - "end": 869, + "start": 825, + "end": 826, "loc": { "start": { - "line": 33, + "line": 31, "column": 17 }, "end": { - "line": 33, + "line": 31, "column": 18 } } @@ -3383,15 +2955,15 @@ "postfix": false, "binop": null }, - "start": 874, - "end": 875, + "start": 831, + "end": 832, "loc": { "start": { - "line": 34, + "line": 32, "column": 4 }, "end": { - "line": 34, + "line": 32, "column": 5 } } @@ -3411,19 +2983,71 @@ "updateContext": null }, "value": "return", - "start": 880, - "end": 886, + "start": 837, + "end": 843, "loc": { "start": { - "line": 35, + "line": 33, "column": 4 }, "end": { - "line": 35, + "line": 33, "column": 10 } } }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cr", + "start": 844, + "end": 846, + "loc": { + "start": { + "line": 33, + "column": 11 + }, + "end": { + "line": 33, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 846, + "end": 847, + "loc": { + "start": { + "line": 33, + "column": 13 + }, + "end": { + "line": 33, + "column": 14 + } + } + }, { "type": { "label": "name", @@ -3437,16 +3061,16 @@ "binop": null }, "value": "getCalendarRound", - "start": 887, - "end": 903, + "start": 847, + "end": 863, "loc": { "start": { - "line": 35, - "column": 11 + "line": 33, + "column": 14 }, "end": { - "line": 35, - "column": 27 + "line": 33, + "column": 30 } } }, @@ -3462,16 +3086,16 @@ "postfix": false, "binop": null }, - "start": 903, - "end": 904, + "start": 863, + "end": 864, "loc": { "start": { - "line": 35, - "column": 27 + "line": 33, + "column": 30 }, "end": { - "line": 35, - "column": 28 + "line": 33, + "column": 31 } } }, @@ -3488,15 +3112,15 @@ "binop": null }, "value": "parts", - "start": 911, - "end": 916, + "start": 871, + "end": 876, "loc": { "start": { - "line": 36, + "line": 34, "column": 6 }, "end": { - "line": 36, + "line": 34, "column": 11 } } @@ -3514,15 +3138,15 @@ "binop": null, "updateContext": null }, - "start": 916, - "end": 917, + "start": 876, + "end": 877, "loc": { "start": { - "line": 36, + "line": 34, "column": 11 }, "end": { - "line": 36, + "line": 34, "column": 12 } } @@ -3541,15 +3165,15 @@ "updateContext": null }, "value": 0, - "start": 917, - "end": 918, + "start": 877, + "end": 878, "loc": { "start": { - "line": 36, + "line": 34, "column": 12 }, "end": { - "line": 36, + "line": 34, "column": 13 } } @@ -3567,15 +3191,15 @@ "binop": null, "updateContext": null }, - "start": 918, - "end": 919, + "start": 878, + "end": 879, "loc": { "start": { - "line": 36, + "line": 34, "column": 13 }, "end": { - "line": 36, + "line": 34, "column": 14 } } @@ -3593,15 +3217,15 @@ "binop": null, "updateContext": null }, - "start": 919, - "end": 920, + "start": 879, + "end": 880, "loc": { "start": { - "line": 36, + "line": 34, "column": 14 }, "end": { - "line": 36, + "line": 34, "column": 15 } } @@ -3619,15 +3243,15 @@ "binop": null }, "value": "parts", - "start": 921, - "end": 926, + "start": 881, + "end": 886, "loc": { "start": { - "line": 36, + "line": 34, "column": 16 }, "end": { - "line": 36, + "line": 34, "column": 21 } } @@ -3645,15 +3269,15 @@ "binop": null, "updateContext": null }, - "start": 926, - "end": 927, + "start": 886, + "end": 887, "loc": { "start": { - "line": 36, + "line": 34, "column": 21 }, "end": { - "line": 36, + "line": 34, "column": 22 } } @@ -3672,15 +3296,15 @@ "updateContext": null }, "value": 1, - "start": 927, - "end": 928, + "start": 887, + "end": 888, "loc": { "start": { - "line": 36, + "line": 34, "column": 22 }, "end": { - "line": 36, + "line": 34, "column": 23 } } @@ -3698,15 +3322,15 @@ "binop": null, "updateContext": null }, - "start": 928, - "end": 929, + "start": 888, + "end": 889, "loc": { "start": { - "line": 36, + "line": 34, "column": 23 }, "end": { - "line": 36, + "line": 34, "column": 24 } } @@ -3724,15 +3348,15 @@ "binop": null, "updateContext": null }, - "start": 929, - "end": 930, + "start": 889, + "end": 890, "loc": { "start": { - "line": 36, + "line": 34, "column": 24 }, "end": { - "line": 36, + "line": 34, "column": 25 } } @@ -3750,15 +3374,15 @@ "binop": null }, "value": "parts", - "start": 937, - "end": 942, + "start": 897, + "end": 902, "loc": { "start": { - "line": 37, + "line": 35, "column": 6 }, "end": { - "line": 37, + "line": 35, "column": 11 } } @@ -3776,15 +3400,15 @@ "binop": null, "updateContext": null }, - "start": 942, - "end": 943, + "start": 902, + "end": 903, "loc": { "start": { - "line": 37, + "line": 35, "column": 11 }, "end": { - "line": 37, + "line": 35, "column": 12 } } @@ -3803,15 +3427,15 @@ "updateContext": null }, "value": 2, - "start": 943, - "end": 944, + "start": 903, + "end": 904, "loc": { "start": { - "line": 37, + "line": 35, "column": 12 }, "end": { - "line": 37, + "line": 35, "column": 13 } } @@ -3829,15 +3453,15 @@ "binop": null, "updateContext": null }, - "start": 944, - "end": 945, + "start": 904, + "end": 905, "loc": { "start": { - "line": 37, + "line": 35, "column": 13 }, "end": { - "line": 37, + "line": 35, "column": 14 } } @@ -3855,15 +3479,15 @@ "binop": null, "updateContext": null }, - "start": 945, - "end": 946, + "start": 905, + "end": 906, "loc": { "start": { - "line": 37, + "line": 35, "column": 14 }, "end": { - "line": 37, + "line": 35, "column": 15 } } @@ -3881,15 +3505,15 @@ "binop": null }, "value": "parts", - "start": 947, - "end": 952, + "start": 907, + "end": 912, "loc": { "start": { - "line": 37, + "line": 35, "column": 16 }, "end": { - "line": 37, + "line": 35, "column": 21 } } @@ -3907,15 +3531,15 @@ "binop": null, "updateContext": null }, - "start": 952, - "end": 953, + "start": 912, + "end": 913, "loc": { "start": { - "line": 37, + "line": 35, "column": 21 }, "end": { - "line": 37, + "line": 35, "column": 22 } } @@ -3934,15 +3558,15 @@ "updateContext": null }, "value": 3, - "start": 953, - "end": 954, + "start": 913, + "end": 914, "loc": { "start": { - "line": 37, + "line": 35, "column": 22 }, "end": { - "line": 37, + "line": 35, "column": 23 } } @@ -3960,15 +3584,15 @@ "binop": null, "updateContext": null }, - "start": 954, - "end": 955, + "start": 914, + "end": 915, "loc": { "start": { - "line": 37, + "line": 35, "column": 23 }, "end": { - "line": 37, + "line": 35, "column": 24 } } @@ -3985,15 +3609,15 @@ "postfix": false, "binop": null }, - "start": 960, - "end": 961, + "start": 920, + "end": 921, "loc": { "start": { - "line": 38, + "line": 36, "column": 4 }, "end": { - "line": 38, + "line": 36, "column": 5 } } @@ -4011,15 +3635,15 @@ "binop": null, "updateContext": null }, - "start": 961, - "end": 962, + "start": 921, + "end": 922, "loc": { "start": { - "line": 38, + "line": 36, "column": 5 }, "end": { - "line": 38, + "line": 36, "column": 6 } } @@ -4036,15 +3660,15 @@ "postfix": false, "binop": null }, - "start": 965, - "end": 966, + "start": 925, + "end": 926, "loc": { "start": { - "line": 39, + "line": 37, "column": 2 }, "end": { - "line": 39, + "line": 37, "column": 3 } } @@ -4061,176 +3685,19 @@ "postfix": false, "binop": null }, - "start": 967, - "end": 968, + "start": 927, + "end": 928, "loc": { "start": { - "line": 40, + "line": 38, "column": 0 }, "end": { - "line": 40, + "line": 38, "column": 1 } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "module", - "start": 970, - "end": 976, - "loc": { - "start": { - "line": 42, - "column": 0 - }, - "end": { - "line": 42, - "column": 6 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 976, - "end": 977, - "loc": { - "start": { - "line": 42, - "column": 6 - }, - "end": { - "line": 42, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "exports", - "start": 977, - "end": 984, - "loc": { - "start": { - "line": 42, - "column": 7 - }, - "end": { - "line": 42, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 985, - "end": 986, - "loc": { - "start": { - "line": 42, - "column": 15 - }, - "end": { - "line": 42, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "CalendarRoundFactory", - "start": 987, - "end": 1007, - "loc": { - "start": { - "line": 42, - "column": 17 - }, - "end": { - "line": 42, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1007, - "end": 1008, - "loc": { - "start": { - "line": 42, - "column": 37 - }, - "end": { - "line": 42, - "column": 38 - } - } - }, { "type": { "label": "eof", @@ -4244,15 +3711,15 @@ "binop": null, "updateContext": null }, - "start": 1009, - "end": 1009, + "start": 929, + "end": 929, "loc": { "start": { - "line": 43, + "line": 39, "column": 0 }, "end": { - "line": 43, + "line": 39, "column": 0 } } diff --git a/docs/ast/source/factory/full-date.js.json b/docs/ast/source/factory/full-date.js.json index 41c0638..e2ac5ce 100644 --- a/docs/ast/source/factory/full-date.js.json +++ b/docs/ast/source/factory/full-date.js.json @@ -1,453 +1,252 @@ { "type": "File", "start": 0, - "end": 741, + "end": 661, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 32, + "line": 27, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 741, + "end": 661, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 32, + "line": 27, "column": 0 } }, "sourceType": "module", "body": [ { - "type": "VariableDeclaration", - "start": 15, - "end": 72, + "type": "ImportDeclaration", + "start": 0, + "end": 52, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 57 + "line": 1, + "column": 52 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 21, - "end": 71, + "type": "ImportDefaultSpecifier", + "start": 7, + "end": 27, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 56 + "line": 1, + "column": 27 } }, - "id": { + "local": { "type": "Identifier", - "start": 21, - "end": 41, + "start": 7, + "end": 27, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 26 + "line": 1, + "column": 27 }, "identifierName": "CalendarRoundFactory" }, - "name": "CalendarRoundFactory", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 44, - "end": 71, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 56 - } - }, - "callee": { - "type": "Identifier", - "start": 44, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 36 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 52, - "end": 70, - "loc": { - "start": { - "line": 2, - "column": 37 - }, - "end": { - "line": 2, - "column": 55 - } - }, - "extra": { - "rawValue": "./calendar-round", - "raw": "'./calendar-round'" - }, - "value": "./calendar-round" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } + "name": "CalendarRoundFactory" } } ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 73, - "end": 87, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 33, + "end": 51, + "loc": { + "start": { + "line": 1, + "column": 33 + }, + "end": { + "line": 1, + "column": 51 } - } - ] + }, + "extra": { + "rawValue": "./calendar-round", + "raw": "'./calendar-round'" + }, + "value": "./calendar-round" + } }, { - "type": "VariableDeclaration", - "start": 88, - "end": 137, + "type": "ImportDeclaration", + "start": 53, + "end": 97, "loc": { "start": { - "line": 4, + "line": 2, "column": 0 }, "end": { - "line": 4, - "column": 49 + "line": 2, + "column": 44 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 94, - "end": 136, + "type": "ImportDefaultSpecifier", + "start": 60, + "end": 76, "loc": { "start": { - "line": 4, - "column": 6 + "line": 2, + "column": 7 }, "end": { - "line": 4, - "column": 48 + "line": 2, + "column": 23 } }, - "id": { + "local": { "type": "Identifier", - "start": 94, - "end": 110, + "start": 60, + "end": 76, "loc": { "start": { - "line": 4, - "column": 6 + "line": 2, + "column": 7 }, "end": { - "line": 4, - "column": 22 + "line": 2, + "column": 23 }, "identifierName": "LongCountFactory" }, - "name": "LongCountFactory", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 113, - "end": 136, - "loc": { - "start": { - "line": 4, - "column": 25 - }, - "end": { - "line": 4, - "column": 48 - } - }, - "callee": { - "type": "Identifier", - "start": 113, - "end": 120, - "loc": { - "start": { - "line": 4, - "column": 25 - }, - "end": { - "line": 4, - "column": 32 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 121, - "end": 135, - "loc": { - "start": { - "line": 4, - "column": 33 - }, - "end": { - "line": 4, - "column": 47 - } - }, - "extra": { - "rawValue": "./long-count", - "raw": "'./long-count'" - }, - "value": "./long-count" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 73, - "end": 87, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } + "name": "LongCountFactory" } } ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 138, - "end": 152, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 82, + "end": 96, + "loc": { + "start": { + "line": 2, + "column": 29 + }, + "end": { + "line": 2, + "column": 43 } - } - ] + }, + "extra": { + "rawValue": "./long-count", + "raw": "'./long-count'" + }, + "value": "./long-count" + } }, { - "type": "VariableDeclaration", - "start": 153, - "end": 194, + "type": "ImportDeclaration", + "start": 98, + "end": 134, "loc": { "start": { - "line": 6, + "line": 3, "column": 0 }, "end": { - "line": 6, - "column": 41 + "line": 3, + "column": 36 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 159, - "end": 193, + "type": "ImportDefaultSpecifier", + "start": 105, + "end": 113, "loc": { "start": { - "line": 6, - "column": 6 + "line": 3, + "column": 7 }, "end": { - "line": 6, - "column": 40 + "line": 3, + "column": 15 } }, - "id": { + "local": { "type": "Identifier", - "start": 159, - "end": 167, + "start": 105, + "end": 113, "loc": { "start": { - "line": 6, - "column": 6 + "line": 3, + "column": 7 }, "end": { - "line": 6, - "column": 14 + "line": 3, + "column": 15 }, "identifierName": "FullDate" }, - "name": "FullDate", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 170, - "end": 193, - "loc": { - "start": { - "line": 6, - "column": 17 - }, - "end": { - "line": 6, - "column": 40 - } - }, - "callee": { - "type": "Identifier", - "start": 170, - "end": 177, - "loc": { - "start": { - "line": 6, - "column": 17 - }, - "end": { - "line": 6, - "column": 24 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 178, - "end": 192, - "loc": { - "start": { - "line": 6, - "column": 25 - }, - "end": { - "line": 6, - "column": 39 - } - }, - "extra": { - "rawValue": "../full-date", - "raw": "'../full-date'" - }, - "value": "../full-date" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 138, - "end": 152, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } + "name": "FullDate" } } ], + "source": { + "type": "StringLiteral", + "start": 119, + "end": 133, + "loc": { + "start": { + "line": 3, + "column": 21 + }, + "end": { + "line": 3, + "column": 35 + } + }, + "extra": { + "rawValue": "../full-date", + "raw": "'../full-date'" + }, + "value": "../full-date" + }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Given a fullDate composed of a Long Count and a Calendar Round, create a\n * {FullDate} object.\n * @extends {Factory}\n ", - "start": 196, - "end": 323, + "start": 136, + "end": 263, "loc": { "start": { - "line": 8, + "line": 5, "column": 0 }, "end": { - "line": 12, + "line": 9, "column": 3 } } @@ -455,887 +254,775 @@ ] }, { - "type": "ClassDeclaration", - "start": 324, - "end": 705, + "type": "ExportDefaultDeclaration", + "start": 264, + "end": 660, "loc": { "start": { - "line": 13, + "line": 10, "column": 0 }, "end": { - "line": 29, + "line": 26, "column": 1 } }, - "id": { - "type": "Identifier", - "start": 330, - "end": 345, - "loc": { - "start": { - "line": 13, - "column": 6 - }, - "end": { - "line": 13, - "column": 21 - }, - "identifierName": "FullDateFactory" - }, - "name": "FullDateFactory", - "leadingComments": null - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 346, - "end": 705, + "declaration": { + "type": "ClassDeclaration", + "start": 279, + "end": 660, "loc": { "start": { - "line": 13, - "column": 22 + "line": 10, + "column": 15 }, "end": { - "line": 29, + "line": 26, "column": 1 } }, - "body": [ - { - "type": "ClassMethod", - "start": 469, - "end": 703, - "loc": { - "start": { - "line": 20, - "column": 2 - }, - "end": { - "line": 28, - "column": 3 - } + "id": { + "type": "Identifier", + "start": 285, + "end": 300, + "loc": { + "start": { + "line": 10, + "column": 21 + }, + "end": { + "line": 10, + "column": 36 + }, + "identifierName": "FullDateFactory" + }, + "name": "FullDateFactory", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 301, + "end": 660, + "loc": { + "start": { + "line": 10, + "column": 37 }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 469, - "end": 474, + "end": { + "line": 26, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 424, + "end": 658, "loc": { "start": { - "line": 20, + "line": 17, "column": 2 }, "end": { - "line": 20, - "column": 7 - }, - "identifierName": "parse" + "line": 25, + "column": 3 + } }, - "name": "parse", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 475, - "end": 478, + "start": 424, + "end": 429, "loc": { "start": { - "line": 20, - "column": 8 + "line": 17, + "column": 2 }, "end": { - "line": 20, - "column": 11 + "line": 17, + "column": 7 }, - "identifierName": "raw" + "identifierName": "parse" }, - "name": "raw" - } - ], - "body": { - "type": "BlockStatement", - "start": 480, - "end": 703, - "loc": { - "start": { - "line": 20, - "column": 13 - }, - "end": { - "line": 28, - "column": 3 - } + "name": "parse", + "leadingComments": null }, - "body": [ + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "VariableDeclaration", - "start": 486, - "end": 530, + "type": "Identifier", + "start": 430, + "end": 433, "loc": { "start": { - "line": 21, - "column": 4 + "line": 17, + "column": 8 }, "end": { - "line": 21, - "column": 48 - } + "line": 17, + "column": 11 + }, + "identifierName": "raw" }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 492, - "end": 529, - "loc": { - "start": { - "line": 21, - "column": 10 - }, - "end": { - "line": 21, - "column": 47 - } + "name": "raw" + } + ], + "body": { + "type": "BlockStatement", + "start": 435, + "end": 658, + "loc": { + "start": { + "line": 17, + "column": 13 + }, + "end": { + "line": 25, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 441, + "end": 485, + "loc": { + "start": { + "line": 18, + "column": 4 }, - "id": { - "type": "Identifier", - "start": 492, - "end": 502, + "end": { + "line": 18, + "column": 48 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 447, + "end": 484, "loc": { "start": { - "line": 21, + "line": 18, "column": 10 }, "end": { - "line": 21, - "column": 20 - }, - "identifierName": "cleanedRaw" + "line": 18, + "column": 47 + } }, - "name": "cleanedRaw" - }, - "init": { - "type": "CallExpression", - "start": 505, - "end": 529, - "loc": { - "start": { - "line": 21, - "column": 23 + "id": { + "type": "Identifier", + "start": 447, + "end": 457, + "loc": { + "start": { + "line": 18, + "column": 10 + }, + "end": { + "line": 18, + "column": 20 + }, + "identifierName": "cleanedRaw" }, - "end": { - "line": 21, - "column": 47 - } + "name": "cleanedRaw" }, - "callee": { - "type": "MemberExpression", - "start": 505, - "end": 516, + "init": { + "type": "CallExpression", + "start": 460, + "end": 484, "loc": { "start": { - "line": 21, + "line": 18, "column": 23 }, "end": { - "line": 21, - "column": 34 + "line": 18, + "column": 47 } }, - "object": { - "type": "Identifier", - "start": 505, - "end": 508, + "callee": { + "type": "MemberExpression", + "start": 460, + "end": 471, "loc": { "start": { - "line": 21, + "line": 18, "column": 23 }, "end": { - "line": 21, - "column": 26 - }, - "identifierName": "raw" - }, - "name": "raw" - }, - "property": { - "type": "Identifier", - "start": 509, - "end": 516, - "loc": { - "start": { - "line": 21, - "column": 27 - }, - "end": { - "line": 21, + "line": 18, "column": 34 - }, - "identifierName": "replace" + } }, - "name": "replace" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 517, - "end": 521, - "loc": { - "start": { - "line": 21, - "column": 35 + "object": { + "type": "Identifier", + "start": 460, + "end": 463, + "loc": { + "start": { + "line": 18, + "column": 23 + }, + "end": { + "line": 18, + "column": 26 + }, + "identifierName": "raw" }, - "end": { - "line": 21, - "column": 39 - } + "name": "raw" }, - "extra": { - "rawValue": "**", - "raw": "'**'" + "property": { + "type": "Identifier", + "start": 464, + "end": 471, + "loc": { + "start": { + "line": 18, + "column": 27 + }, + "end": { + "line": 18, + "column": 34 + }, + "identifierName": "replace" + }, + "name": "replace" }, - "value": "**" + "computed": false }, - { - "type": "StringLiteral", - "start": 523, - "end": 528, - "loc": { - "start": { - "line": 21, - "column": 41 + "arguments": [ + { + "type": "StringLiteral", + "start": 472, + "end": 476, + "loc": { + "start": { + "line": 18, + "column": 35 + }, + "end": { + "line": 18, + "column": 39 + } }, - "end": { - "line": 21, - "column": 46 - } - }, - "extra": { - "rawValue": "* *", - "raw": "'* *'" + "extra": { + "rawValue": "**", + "raw": "'**'" + }, + "value": "**" }, - "value": "* *" - } - ] + { + "type": "StringLiteral", + "start": 478, + "end": 483, + "loc": { + "start": { + "line": 18, + "column": 41 + }, + "end": { + "line": 18, + "column": 46 + } + }, + "extra": { + "rawValue": "* *", + "raw": "'* *'" + }, + "value": "* *" + } + ] + } } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 535, - "end": 591, - "loc": { - "start": { - "line": 22, - "column": 4 - }, - "end": { - "line": 22, - "column": 60 - } + ], + "kind": "const" }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 541, - "end": 590, - "loc": { - "start": { - "line": 22, - "column": 10 - }, - "end": { - "line": 22, - "column": 59 - } + { + "type": "VariableDeclaration", + "start": 490, + "end": 546, + "loc": { + "start": { + "line": 19, + "column": 4 }, - "id": { - "type": "Identifier", - "start": 541, - "end": 543, + "end": { + "line": 19, + "column": 60 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 496, + "end": 545, "loc": { "start": { - "line": 22, + "line": 19, "column": 10 }, "end": { - "line": 22, - "column": 12 - }, - "identifierName": "cr" - }, - "name": "cr" - }, - "init": { - "type": "CallExpression", - "start": 546, - "end": 590, - "loc": { - "start": { - "line": 22, - "column": 15 - }, - "end": { - "line": 22, + "line": 19, "column": 59 } }, - "callee": { - "type": "MemberExpression", - "start": 546, - "end": 578, + "id": { + "type": "Identifier", + "start": 496, + "end": 498, "loc": { "start": { - "line": 22, + "line": 19, + "column": 10 + }, + "end": { + "line": 19, + "column": 12 + }, + "identifierName": "cr" + }, + "name": "cr" + }, + "init": { + "type": "CallExpression", + "start": 501, + "end": 545, + "loc": { + "start": { + "line": 19, "column": 15 }, "end": { - "line": 22, - "column": 47 + "line": 19, + "column": 59 } }, - "object": { - "type": "NewExpression", - "start": 546, - "end": 572, + "callee": { + "type": "MemberExpression", + "start": 501, + "end": 533, "loc": { "start": { - "line": 22, + "line": 19, "column": 15 }, "end": { - "line": 22, - "column": 41 + "line": 19, + "column": 47 } }, - "callee": { - "type": "Identifier", - "start": 550, - "end": 570, + "object": { + "type": "NewExpression", + "start": 501, + "end": 527, "loc": { "start": { - "line": 22, - "column": 19 + "line": 19, + "column": 15 }, "end": { - "line": 22, - "column": 39 + "line": 19, + "column": 41 + } + }, + "callee": { + "type": "Identifier", + "start": 505, + "end": 525, + "loc": { + "start": { + "line": 19, + "column": 19 + }, + "end": { + "line": 19, + "column": 39 + }, + "identifierName": "CalendarRoundFactory" }, - "identifierName": "CalendarRoundFactory" + "name": "CalendarRoundFactory" }, - "name": "CalendarRoundFactory" + "arguments": [] }, - "arguments": [] - }, - "property": { - "type": "Identifier", - "start": 573, - "end": 578, - "loc": { - "start": { - "line": 22, - "column": 42 - }, - "end": { - "line": 22, - "column": 47 + "property": { + "type": "Identifier", + "start": 528, + "end": 533, + "loc": { + "start": { + "line": 19, + "column": 42 + }, + "end": { + "line": 19, + "column": 47 + }, + "identifierName": "parse" }, - "identifierName": "parse" + "name": "parse" }, - "name": "parse" + "computed": false }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 579, - "end": 589, - "loc": { - "start": { - "line": 22, - "column": 48 - }, - "end": { - "line": 22, - "column": 58 + "arguments": [ + { + "type": "Identifier", + "start": 534, + "end": 544, + "loc": { + "start": { + "line": 19, + "column": 48 + }, + "end": { + "line": 19, + "column": 58 + }, + "identifierName": "cleanedRaw" }, - "identifierName": "cleanedRaw" - }, - "name": "cleanedRaw" - } - ] + "name": "cleanedRaw" + } + ] + } } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 596, - "end": 648, - "loc": { - "start": { - "line": 23, - "column": 4 - }, - "end": { - "line": 23, - "column": 56 - } + ], + "kind": "const" }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 602, - "end": 647, - "loc": { - "start": { - "line": 23, - "column": 10 - }, - "end": { - "line": 23, - "column": 55 - } + { + "type": "VariableDeclaration", + "start": 551, + "end": 603, + "loc": { + "start": { + "line": 20, + "column": 4 }, - "id": { - "type": "Identifier", - "start": 602, - "end": 604, + "end": { + "line": 20, + "column": 56 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 557, + "end": 602, "loc": { "start": { - "line": 23, + "line": 20, "column": 10 }, "end": { - "line": 23, - "column": 12 - }, - "identifierName": "lc" - }, - "name": "lc" - }, - "init": { - "type": "CallExpression", - "start": 607, - "end": 647, - "loc": { - "start": { - "line": 23, - "column": 15 - }, - "end": { - "line": 23, + "line": 20, "column": 55 } }, - "callee": { - "type": "MemberExpression", - "start": 607, - "end": 635, + "id": { + "type": "Identifier", + "start": 557, + "end": 559, "loc": { "start": { - "line": 23, + "line": 20, + "column": 10 + }, + "end": { + "line": 20, + "column": 12 + }, + "identifierName": "lc" + }, + "name": "lc" + }, + "init": { + "type": "CallExpression", + "start": 562, + "end": 602, + "loc": { + "start": { + "line": 20, "column": 15 }, "end": { - "line": 23, - "column": 43 + "line": 20, + "column": 55 } }, - "object": { - "type": "NewExpression", - "start": 607, - "end": 629, + "callee": { + "type": "MemberExpression", + "start": 562, + "end": 590, "loc": { "start": { - "line": 23, + "line": 20, "column": 15 }, "end": { - "line": 23, - "column": 37 + "line": 20, + "column": 43 } }, - "callee": { - "type": "Identifier", - "start": 611, - "end": 627, + "object": { + "type": "NewExpression", + "start": 562, + "end": 584, "loc": { "start": { - "line": 23, - "column": 19 + "line": 20, + "column": 15 }, "end": { - "line": 23, - "column": 35 + "line": 20, + "column": 37 + } + }, + "callee": { + "type": "Identifier", + "start": 566, + "end": 582, + "loc": { + "start": { + "line": 20, + "column": 19 + }, + "end": { + "line": 20, + "column": 35 + }, + "identifierName": "LongCountFactory" }, - "identifierName": "LongCountFactory" + "name": "LongCountFactory" }, - "name": "LongCountFactory" + "arguments": [] }, - "arguments": [] - }, - "property": { - "type": "Identifier", - "start": 630, - "end": 635, - "loc": { - "start": { - "line": 23, - "column": 38 - }, - "end": { - "line": 23, - "column": 43 + "property": { + "type": "Identifier", + "start": 585, + "end": 590, + "loc": { + "start": { + "line": 20, + "column": 38 + }, + "end": { + "line": 20, + "column": 43 + }, + "identifierName": "parse" }, - "identifierName": "parse" + "name": "parse" }, - "name": "parse" + "computed": false }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 636, - "end": 646, - "loc": { - "start": { - "line": 23, - "column": 44 - }, - "end": { - "line": 23, - "column": 54 + "arguments": [ + { + "type": "Identifier", + "start": 591, + "end": 601, + "loc": { + "start": { + "line": 20, + "column": 44 + }, + "end": { + "line": 20, + "column": 54 + }, + "identifierName": "cleanedRaw" }, - "identifierName": "cleanedRaw" - }, - "name": "cleanedRaw" - } - ] + "name": "cleanedRaw" + } + ] + } } - } - ], - "kind": "const" - }, - { - "type": "ReturnStatement", - "start": 653, - "end": 699, - "loc": { - "start": { - "line": 24, - "column": 4 - }, - "end": { - "line": 27, - "column": 6 - } + ], + "kind": "const" }, - "argument": { - "type": "NewExpression", - "start": 660, - "end": 698, + { + "type": "ReturnStatement", + "start": 608, + "end": 654, "loc": { "start": { - "line": 24, - "column": 11 + "line": 21, + "column": 4 }, "end": { - "line": 27, - "column": 5 + "line": 24, + "column": 6 } }, - "callee": { - "type": "Identifier", - "start": 664, - "end": 672, + "argument": { + "type": "NewExpression", + "start": 615, + "end": 653, "loc": { "start": { - "line": 24, - "column": 15 + "line": 21, + "column": 11 }, "end": { "line": 24, - "column": 23 - }, - "identifierName": "FullDate" + "column": 5 + } }, - "name": "FullDate" - }, - "arguments": [ - { + "callee": { "type": "Identifier", - "start": 680, - "end": 682, + "start": 619, + "end": 627, "loc": { "start": { - "line": 25, - "column": 6 + "line": 21, + "column": 15 }, "end": { - "line": 25, - "column": 8 + "line": 21, + "column": 23 }, - "identifierName": "cr" + "identifierName": "FullDate" }, - "name": "cr" + "name": "FullDate" }, - { - "type": "Identifier", - "start": 690, - "end": 692, - "loc": { - "start": { - "line": 26, - "column": 6 - }, - "end": { - "line": 26, - "column": 8 + "arguments": [ + { + "type": "Identifier", + "start": 635, + "end": 637, + "loc": { + "start": { + "line": 22, + "column": 6 + }, + "end": { + "line": 22, + "column": 8 + }, + "identifierName": "cr" }, - "identifierName": "lc" + "name": "cr" }, - "name": "lc" - } - ] - } - } - ], - "directives": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n *\n * @param {String} raw\n * @return {FullDate}\n ", - "start": 350, - "end": 413, - "loc": { - "start": { - "line": 14, - "column": 2 - }, - "end": { - "line": 18, - "column": 5 + { + "type": "Identifier", + "start": 645, + "end": 647, + "loc": { + "start": { + "line": 23, + "column": 6 + }, + "end": { + "line": 23, + "column": 8 + }, + "identifierName": "lc" + }, + "name": "lc" + } + ] + } } - } + ], + "directives": [] }, - { - "type": "CommentLine", - "value": " eslint-disable-next-line class-methods-use-this", - "start": 416, - "end": 466, - "loc": { - "start": { - "line": 19, - "column": 2 - }, - "end": { - "line": 19, - "column": 52 + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n *\n * @param {String} raw\n * @return {FullDate}\n ", + "start": 305, + "end": 368, + "loc": { + "start": { + "line": 11, + "column": 2 + }, + "end": { + "line": 15, + "column": 5 + } + } + }, + { + "type": "CommentLine", + "value": " eslint-disable-next-line class-methods-use-this", + "start": 371, + "end": 421, + "loc": { + "start": { + "line": 16, + "column": 2 + }, + "end": { + "line": 16, + "column": 52 + } } } - } - ] - } - ] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Given a fullDate composed of a Long Count and a Calendar Round, create a\n * {FullDate} object.\n * @extends {Factory}\n ", - "start": 196, - "end": 323, - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 12, - "column": 3 + ] } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 707, - "end": 740, - "loc": { - "start": { - "line": 31, - "column": 0 - }, - "end": { - "line": 31, - "column": 33 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 707, - "end": 739, - "loc": { - "start": { - "line": 31, - "column": 0 - }, - "end": { - "line": 31, - "column": 32 - } + ] }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 707, - "end": 721, - "loc": { - "start": { - "line": 31, - "column": 0 - }, - "end": { - "line": 31, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 707, - "end": 713, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Given a fullDate composed of a Long Count and a Calendar Round, create a\n * {FullDate} object.\n * @extends {Factory}\n ", + "start": 136, + "end": 263, "loc": { "start": { - "line": 31, + "line": 5, "column": 0 }, "end": { - "line": 31, - "column": 6 - }, - "identifierName": "module" - }, - "name": "module" - }, - "property": { - "type": "Identifier", - "start": 714, - "end": 721, - "loc": { - "start": { - "line": 31, - "column": 7 - }, - "end": { - "line": 31, - "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 724, - "end": 739, - "loc": { - "start": { - "line": 31, - "column": 17 - }, - "end": { - "line": 31, - "column": 32 - }, - "identifierName": "FullDateFactory" - }, - "name": "FullDateFactory" - } - } - } - ], - "directives": [] - }, - "comments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 73, - "end": 87, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 138, - "end": 152, - "loc": { - "start": { - "line": 5, - "column": 0 + "line": 9, + "column": 3 + } + } + } + ], + "trailingComments": [] }, - "end": { - "line": 5, - "column": 14 - } + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Given a fullDate composed of a Long Count and a Calendar Round, create a\n * {FullDate} object.\n * @extends {Factory}\n ", + "start": 136, + "end": 263, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 9, + "column": 3 + } + } + } + ] } - }, + ], + "directives": [] + }, + "comments": [ { "type": "CommentBlock", "value": "*\n * Given a fullDate composed of a Long Count and a Calendar Round, create a\n * {FullDate} object.\n * @extends {Factory}\n ", - "start": 196, - "end": 323, + "start": 136, + "end": 263, "loc": { "start": { - "line": 8, + "line": 5, "column": 0 }, "end": { - "line": 12, + "line": 9, "column": 3 } } @@ -1343,15 +1030,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @param {String} raw\n * @return {FullDate}\n ", - "start": 350, - "end": 413, + "start": 305, + "end": 368, "loc": { "start": { - "line": 14, + "line": 11, "column": 2 }, "end": { - "line": 18, + "line": 15, "column": 5 } } @@ -1359,43 +1046,27 @@ { "type": "CommentLine", "value": " eslint-disable-next-line class-methods-use-this", - "start": 416, - "end": 466, + "start": 371, + "end": 421, "loc": { "start": { - "line": 19, + "line": 16, "column": 2 }, "end": { - "line": 19, + "line": 16, "column": 52 } } } ], "tokens": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1404,17 +1075,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 15, - "end": 20, + "value": "import", + "start": 0, + "end": 6, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 5 + "line": 1, + "column": 6 } } }, @@ -1431,43 +1102,16 @@ "binop": null }, "value": "CalendarRoundFactory", - "start": 21, - "end": 41, + "start": 7, + "end": 27, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 26 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 42, - "end": 43, - "loc": { - "start": { - "line": 2, + "line": 1, "column": 27 - }, - "end": { - "line": 2, - "column": 28 } } }, @@ -1483,42 +1127,17 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 44, - "end": 51, - "loc": { - "start": { - "line": 2, - "column": 29 - }, - "end": { - "line": 2, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 51, - "end": 52, + "value": "from", + "start": 28, + "end": 32, "loc": { "start": { - "line": 2, - "column": 36 + "line": 1, + "column": 28 }, "end": { - "line": 2, - "column": 37 + "line": 1, + "column": 32 } } }, @@ -1536,41 +1155,16 @@ "updateContext": null }, "value": "./calendar-round", - "start": 52, - "end": 70, - "loc": { - "start": { - "line": 2, - "column": 37 - }, - "end": { - "line": 2, - "column": 55 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 70, - "end": 71, + "start": 33, + "end": 51, "loc": { "start": { - "line": 2, - "column": 55 + "line": 1, + "column": 33 }, "end": { - "line": 2, - "column": 56 + "line": 1, + "column": 51 } } }, @@ -1587,41 +1181,25 @@ "binop": null, "updateContext": null }, - "start": 71, - "end": 72, - "loc": { - "start": { - "line": 2, - "column": 56 - }, - "end": { - "line": 2, - "column": 57 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 73, - "end": 87, + "start": 51, + "end": 52, "loc": { "start": { - "line": 3, - "column": 0 + "line": 1, + "column": 51 }, "end": { - "line": 3, - "column": 14 + "line": 1, + "column": 52 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1630,17 +1208,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 88, - "end": 93, + "value": "import", + "start": 53, + "end": 59, "loc": { "start": { - "line": 4, + "line": 2, "column": 0 }, "end": { - "line": 4, - "column": 5 + "line": 2, + "column": 6 } } }, @@ -1657,43 +1235,16 @@ "binop": null }, "value": "LongCountFactory", - "start": 94, - "end": 110, + "start": 60, + "end": 76, "loc": { "start": { - "line": 4, - "column": 6 + "line": 2, + "column": 7 }, "end": { - "line": 4, - "column": 22 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 111, - "end": 112, - "loc": { - "start": { - "line": 4, + "line": 2, "column": 23 - }, - "end": { - "line": 4, - "column": 24 } } }, @@ -1709,42 +1260,17 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 113, - "end": 120, - "loc": { - "start": { - "line": 4, - "column": 25 - }, - "end": { - "line": 4, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 120, - "end": 121, + "value": "from", + "start": 77, + "end": 81, "loc": { "start": { - "line": 4, - "column": 32 + "line": 2, + "column": 24 }, "end": { - "line": 4, - "column": 33 + "line": 2, + "column": 28 } } }, @@ -1761,42 +1287,17 @@ "binop": null, "updateContext": null }, - "value": "./long-count", - "start": 121, - "end": 135, - "loc": { - "start": { - "line": 4, - "column": 33 - }, - "end": { - "line": 4, - "column": 47 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 135, - "end": 136, + "value": "./long-count", + "start": 82, + "end": 96, "loc": { "start": { - "line": 4, - "column": 47 + "line": 2, + "column": 29 }, "end": { - "line": 4, - "column": 48 + "line": 2, + "column": 43 } } }, @@ -1813,41 +1314,25 @@ "binop": null, "updateContext": null }, - "start": 136, - "end": 137, - "loc": { - "start": { - "line": 4, - "column": 48 - }, - "end": { - "line": 4, - "column": 49 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 138, - "end": 152, + "start": 96, + "end": 97, "loc": { "start": { - "line": 5, - "column": 0 + "line": 2, + "column": 43 }, "end": { - "line": 5, - "column": 14 + "line": 2, + "column": 44 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1856,17 +1341,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 153, - "end": 158, + "value": "import", + "start": 98, + "end": 104, "loc": { "start": { - "line": 6, + "line": 3, "column": 0 }, "end": { - "line": 6, - "column": 5 + "line": 3, + "column": 6 } } }, @@ -1883,49 +1368,48 @@ "binop": null }, "value": "FullDate", - "start": 159, - "end": 167, + "start": 105, + "end": 113, "loc": { "start": { - "line": 6, - "column": 6 + "line": 3, + "column": 7 }, "end": { - "line": 6, - "column": 14 + "line": 3, + "column": 15 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 168, - "end": 169, + "value": "from", + "start": 114, + "end": 118, "loc": { "start": { - "line": 6, - "column": 15 + "line": 3, + "column": 16 }, "end": { - "line": 6, - "column": 16 + "line": 3, + "column": 20 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1933,77 +1417,69 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "require", - "start": 170, - "end": 177, + "value": "../full-date", + "start": 119, + "end": 133, "loc": { "start": { - "line": 6, - "column": 17 + "line": 3, + "column": 21 }, "end": { - "line": 6, - "column": 24 + "line": 3, + "column": 35 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 177, - "end": 178, + "start": 133, + "end": 134, "loc": { "start": { - "line": 6, - "column": 24 + "line": 3, + "column": 35 }, "end": { - "line": 6, - "column": 25 + "line": 3, + "column": 36 } } }, { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "../full-date", - "start": 178, - "end": 192, + "type": "CommentBlock", + "value": "*\n * Given a fullDate composed of a Long Count and a Calendar Round, create a\n * {FullDate} object.\n * @extends {Factory}\n ", + "start": 136, + "end": 263, "loc": { "start": { - "line": 6, - "column": 25 + "line": 5, + "column": 0 }, "end": { - "line": 6, - "column": 39 + "line": 9, + "column": 3 } } }, { "type": { - "label": ")", + "label": "export", + "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -2011,24 +1487,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 192, - "end": 193, + "value": "export", + "start": 264, + "end": 270, "loc": { "start": { - "line": 6, - "column": 39 + "line": 10, + "column": 0 }, "end": { - "line": 6, - "column": 40 + "line": 10, + "column": 6 } } }, { "type": { - "label": ";", + "label": "default", + "keyword": "default", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -2039,32 +1518,17 @@ "binop": null, "updateContext": null }, - "start": 193, - "end": 194, - "loc": { - "start": { - "line": 6, - "column": 40 - }, - "end": { - "line": 6, - "column": 41 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Given a fullDate composed of a Long Count and a Calendar Round, create a\n * {FullDate} object.\n * @extends {Factory}\n ", - "start": 196, - "end": 323, + "value": "default", + "start": 271, + "end": 278, "loc": { "start": { - "line": 8, - "column": 0 + "line": 10, + "column": 7 }, "end": { - "line": 12, - "column": 3 + "line": 10, + "column": 14 } } }, @@ -2083,16 +1547,16 @@ "updateContext": null }, "value": "class", - "start": 324, - "end": 329, + "start": 279, + "end": 284, "loc": { "start": { - "line": 13, - "column": 0 + "line": 10, + "column": 15 }, "end": { - "line": 13, - "column": 5 + "line": 10, + "column": 20 } } }, @@ -2109,16 +1573,16 @@ "binop": null }, "value": "FullDateFactory", - "start": 330, - "end": 345, + "start": 285, + "end": 300, "loc": { "start": { - "line": 13, - "column": 6 + "line": 10, + "column": 21 }, "end": { - "line": 13, - "column": 21 + "line": 10, + "column": 36 } } }, @@ -2134,31 +1598,31 @@ "postfix": false, "binop": null }, - "start": 346, - "end": 347, + "start": 301, + "end": 302, "loc": { "start": { - "line": 13, - "column": 22 + "line": 10, + "column": 37 }, "end": { - "line": 13, - "column": 23 + "line": 10, + "column": 38 } } }, { "type": "CommentBlock", "value": "*\n *\n * @param {String} raw\n * @return {FullDate}\n ", - "start": 350, - "end": 413, + "start": 305, + "end": 368, "loc": { "start": { - "line": 14, + "line": 11, "column": 2 }, "end": { - "line": 18, + "line": 15, "column": 5 } } @@ -2166,15 +1630,15 @@ { "type": "CommentLine", "value": " eslint-disable-next-line class-methods-use-this", - "start": 416, - "end": 466, + "start": 371, + "end": 421, "loc": { "start": { - "line": 19, + "line": 16, "column": 2 }, "end": { - "line": 19, + "line": 16, "column": 52 } } @@ -2192,15 +1656,15 @@ "binop": null }, "value": "parse", - "start": 469, - "end": 474, + "start": 424, + "end": 429, "loc": { "start": { - "line": 20, + "line": 17, "column": 2 }, "end": { - "line": 20, + "line": 17, "column": 7 } } @@ -2217,15 +1681,15 @@ "postfix": false, "binop": null }, - "start": 474, - "end": 475, + "start": 429, + "end": 430, "loc": { "start": { - "line": 20, + "line": 17, "column": 7 }, "end": { - "line": 20, + "line": 17, "column": 8 } } @@ -2243,15 +1707,15 @@ "binop": null }, "value": "raw", - "start": 475, - "end": 478, + "start": 430, + "end": 433, "loc": { "start": { - "line": 20, + "line": 17, "column": 8 }, "end": { - "line": 20, + "line": 17, "column": 11 } } @@ -2268,15 +1732,15 @@ "postfix": false, "binop": null }, - "start": 478, - "end": 479, + "start": 433, + "end": 434, "loc": { "start": { - "line": 20, + "line": 17, "column": 11 }, "end": { - "line": 20, + "line": 17, "column": 12 } } @@ -2293,15 +1757,15 @@ "postfix": false, "binop": null }, - "start": 480, - "end": 481, + "start": 435, + "end": 436, "loc": { "start": { - "line": 20, + "line": 17, "column": 13 }, "end": { - "line": 20, + "line": 17, "column": 14 } } @@ -2321,15 +1785,15 @@ "updateContext": null }, "value": "const", - "start": 486, - "end": 491, + "start": 441, + "end": 446, "loc": { "start": { - "line": 21, + "line": 18, "column": 4 }, "end": { - "line": 21, + "line": 18, "column": 9 } } @@ -2347,15 +1811,15 @@ "binop": null }, "value": "cleanedRaw", - "start": 492, - "end": 502, + "start": 447, + "end": 457, "loc": { "start": { - "line": 21, + "line": 18, "column": 10 }, "end": { - "line": 21, + "line": 18, "column": 20 } } @@ -2374,15 +1838,15 @@ "updateContext": null }, "value": "=", - "start": 503, - "end": 504, + "start": 458, + "end": 459, "loc": { "start": { - "line": 21, + "line": 18, "column": 21 }, "end": { - "line": 21, + "line": 18, "column": 22 } } @@ -2400,15 +1864,15 @@ "binop": null }, "value": "raw", - "start": 505, - "end": 508, + "start": 460, + "end": 463, "loc": { "start": { - "line": 21, + "line": 18, "column": 23 }, "end": { - "line": 21, + "line": 18, "column": 26 } } @@ -2426,15 +1890,15 @@ "binop": null, "updateContext": null }, - "start": 508, - "end": 509, + "start": 463, + "end": 464, "loc": { "start": { - "line": 21, + "line": 18, "column": 26 }, "end": { - "line": 21, + "line": 18, "column": 27 } } @@ -2452,15 +1916,15 @@ "binop": null }, "value": "replace", - "start": 509, - "end": 516, + "start": 464, + "end": 471, "loc": { "start": { - "line": 21, + "line": 18, "column": 27 }, "end": { - "line": 21, + "line": 18, "column": 34 } } @@ -2477,15 +1941,15 @@ "postfix": false, "binop": null }, - "start": 516, - "end": 517, + "start": 471, + "end": 472, "loc": { "start": { - "line": 21, + "line": 18, "column": 34 }, "end": { - "line": 21, + "line": 18, "column": 35 } } @@ -2504,15 +1968,15 @@ "updateContext": null }, "value": "**", - "start": 517, - "end": 521, + "start": 472, + "end": 476, "loc": { "start": { - "line": 21, + "line": 18, "column": 35 }, "end": { - "line": 21, + "line": 18, "column": 39 } } @@ -2530,15 +1994,15 @@ "binop": null, "updateContext": null }, - "start": 521, - "end": 522, + "start": 476, + "end": 477, "loc": { "start": { - "line": 21, + "line": 18, "column": 39 }, "end": { - "line": 21, + "line": 18, "column": 40 } } @@ -2557,15 +2021,15 @@ "updateContext": null }, "value": "* *", - "start": 523, - "end": 528, + "start": 478, + "end": 483, "loc": { "start": { - "line": 21, + "line": 18, "column": 41 }, "end": { - "line": 21, + "line": 18, "column": 46 } } @@ -2582,15 +2046,15 @@ "postfix": false, "binop": null }, - "start": 528, - "end": 529, + "start": 483, + "end": 484, "loc": { "start": { - "line": 21, + "line": 18, "column": 46 }, "end": { - "line": 21, + "line": 18, "column": 47 } } @@ -2608,15 +2072,15 @@ "binop": null, "updateContext": null }, - "start": 529, - "end": 530, + "start": 484, + "end": 485, "loc": { "start": { - "line": 21, + "line": 18, "column": 47 }, "end": { - "line": 21, + "line": 18, "column": 48 } } @@ -2636,15 +2100,15 @@ "updateContext": null }, "value": "const", - "start": 535, - "end": 540, + "start": 490, + "end": 495, "loc": { "start": { - "line": 22, + "line": 19, "column": 4 }, "end": { - "line": 22, + "line": 19, "column": 9 } } @@ -2662,15 +2126,15 @@ "binop": null }, "value": "cr", - "start": 541, - "end": 543, + "start": 496, + "end": 498, "loc": { "start": { - "line": 22, + "line": 19, "column": 10 }, "end": { - "line": 22, + "line": 19, "column": 12 } } @@ -2689,15 +2153,15 @@ "updateContext": null }, "value": "=", - "start": 544, - "end": 545, + "start": 499, + "end": 500, "loc": { "start": { - "line": 22, + "line": 19, "column": 13 }, "end": { - "line": 22, + "line": 19, "column": 14 } } @@ -2717,15 +2181,15 @@ "updateContext": null }, "value": "new", - "start": 546, - "end": 549, + "start": 501, + "end": 504, "loc": { "start": { - "line": 22, + "line": 19, "column": 15 }, "end": { - "line": 22, + "line": 19, "column": 18 } } @@ -2743,15 +2207,15 @@ "binop": null }, "value": "CalendarRoundFactory", - "start": 550, - "end": 570, + "start": 505, + "end": 525, "loc": { "start": { - "line": 22, + "line": 19, "column": 19 }, "end": { - "line": 22, + "line": 19, "column": 39 } } @@ -2768,15 +2232,15 @@ "postfix": false, "binop": null }, - "start": 570, - "end": 571, + "start": 525, + "end": 526, "loc": { "start": { - "line": 22, + "line": 19, "column": 39 }, "end": { - "line": 22, + "line": 19, "column": 40 } } @@ -2793,15 +2257,15 @@ "postfix": false, "binop": null }, - "start": 571, - "end": 572, + "start": 526, + "end": 527, "loc": { "start": { - "line": 22, + "line": 19, "column": 40 }, "end": { - "line": 22, + "line": 19, "column": 41 } } @@ -2819,15 +2283,15 @@ "binop": null, "updateContext": null }, - "start": 572, - "end": 573, + "start": 527, + "end": 528, "loc": { "start": { - "line": 22, + "line": 19, "column": 41 }, "end": { - "line": 22, + "line": 19, "column": 42 } } @@ -2845,15 +2309,15 @@ "binop": null }, "value": "parse", - "start": 573, - "end": 578, + "start": 528, + "end": 533, "loc": { "start": { - "line": 22, + "line": 19, "column": 42 }, "end": { - "line": 22, + "line": 19, "column": 47 } } @@ -2870,15 +2334,15 @@ "postfix": false, "binop": null }, - "start": 578, - "end": 579, + "start": 533, + "end": 534, "loc": { "start": { - "line": 22, + "line": 19, "column": 47 }, "end": { - "line": 22, + "line": 19, "column": 48 } } @@ -2896,15 +2360,15 @@ "binop": null }, "value": "cleanedRaw", - "start": 579, - "end": 589, + "start": 534, + "end": 544, "loc": { "start": { - "line": 22, + "line": 19, "column": 48 }, "end": { - "line": 22, + "line": 19, "column": 58 } } @@ -2921,15 +2385,15 @@ "postfix": false, "binop": null }, - "start": 589, - "end": 590, + "start": 544, + "end": 545, "loc": { "start": { - "line": 22, + "line": 19, "column": 58 }, "end": { - "line": 22, + "line": 19, "column": 59 } } @@ -2947,15 +2411,15 @@ "binop": null, "updateContext": null }, - "start": 590, - "end": 591, + "start": 545, + "end": 546, "loc": { "start": { - "line": 22, + "line": 19, "column": 59 }, "end": { - "line": 22, + "line": 19, "column": 60 } } @@ -2975,15 +2439,15 @@ "updateContext": null }, "value": "const", - "start": 596, - "end": 601, + "start": 551, + "end": 556, "loc": { "start": { - "line": 23, + "line": 20, "column": 4 }, "end": { - "line": 23, + "line": 20, "column": 9 } } @@ -3001,15 +2465,15 @@ "binop": null }, "value": "lc", - "start": 602, - "end": 604, + "start": 557, + "end": 559, "loc": { "start": { - "line": 23, + "line": 20, "column": 10 }, "end": { - "line": 23, + "line": 20, "column": 12 } } @@ -3028,15 +2492,15 @@ "updateContext": null }, "value": "=", - "start": 605, - "end": 606, + "start": 560, + "end": 561, "loc": { "start": { - "line": 23, + "line": 20, "column": 13 }, "end": { - "line": 23, + "line": 20, "column": 14 } } @@ -3056,15 +2520,15 @@ "updateContext": null }, "value": "new", - "start": 607, - "end": 610, + "start": 562, + "end": 565, "loc": { "start": { - "line": 23, + "line": 20, "column": 15 }, "end": { - "line": 23, + "line": 20, "column": 18 } } @@ -3082,15 +2546,15 @@ "binop": null }, "value": "LongCountFactory", - "start": 611, - "end": 627, + "start": 566, + "end": 582, "loc": { "start": { - "line": 23, + "line": 20, "column": 19 }, "end": { - "line": 23, + "line": 20, "column": 35 } } @@ -3107,15 +2571,15 @@ "postfix": false, "binop": null }, - "start": 627, - "end": 628, + "start": 582, + "end": 583, "loc": { "start": { - "line": 23, + "line": 20, "column": 35 }, "end": { - "line": 23, + "line": 20, "column": 36 } } @@ -3132,15 +2596,15 @@ "postfix": false, "binop": null }, - "start": 628, - "end": 629, + "start": 583, + "end": 584, "loc": { "start": { - "line": 23, + "line": 20, "column": 36 }, "end": { - "line": 23, + "line": 20, "column": 37 } } @@ -3158,15 +2622,15 @@ "binop": null, "updateContext": null }, - "start": 629, - "end": 630, + "start": 584, + "end": 585, "loc": { "start": { - "line": 23, + "line": 20, "column": 37 }, "end": { - "line": 23, + "line": 20, "column": 38 } } @@ -3184,15 +2648,15 @@ "binop": null }, "value": "parse", - "start": 630, - "end": 635, + "start": 585, + "end": 590, "loc": { "start": { - "line": 23, + "line": 20, "column": 38 }, "end": { - "line": 23, + "line": 20, "column": 43 } } @@ -3209,15 +2673,15 @@ "postfix": false, "binop": null }, - "start": 635, - "end": 636, + "start": 590, + "end": 591, "loc": { "start": { - "line": 23, + "line": 20, "column": 43 }, "end": { - "line": 23, + "line": 20, "column": 44 } } @@ -3235,15 +2699,15 @@ "binop": null }, "value": "cleanedRaw", - "start": 636, - "end": 646, + "start": 591, + "end": 601, "loc": { "start": { - "line": 23, + "line": 20, "column": 44 }, "end": { - "line": 23, + "line": 20, "column": 54 } } @@ -3260,15 +2724,15 @@ "postfix": false, "binop": null }, - "start": 646, - "end": 647, + "start": 601, + "end": 602, "loc": { "start": { - "line": 23, + "line": 20, "column": 54 }, "end": { - "line": 23, + "line": 20, "column": 55 } } @@ -3286,15 +2750,15 @@ "binop": null, "updateContext": null }, - "start": 647, - "end": 648, + "start": 602, + "end": 603, "loc": { "start": { - "line": 23, + "line": 20, "column": 55 }, "end": { - "line": 23, + "line": 20, "column": 56 } } @@ -3314,15 +2778,15 @@ "updateContext": null }, "value": "return", - "start": 653, - "end": 659, + "start": 608, + "end": 614, "loc": { "start": { - "line": 24, + "line": 21, "column": 4 }, "end": { - "line": 24, + "line": 21, "column": 10 } } @@ -3342,15 +2806,15 @@ "updateContext": null }, "value": "new", - "start": 660, - "end": 663, + "start": 615, + "end": 618, "loc": { "start": { - "line": 24, + "line": 21, "column": 11 }, "end": { - "line": 24, + "line": 21, "column": 14 } } @@ -3368,15 +2832,15 @@ "binop": null }, "value": "FullDate", - "start": 664, - "end": 672, + "start": 619, + "end": 627, "loc": { "start": { - "line": 24, + "line": 21, "column": 15 }, "end": { - "line": 24, + "line": 21, "column": 23 } } @@ -3393,15 +2857,15 @@ "postfix": false, "binop": null }, - "start": 672, - "end": 673, + "start": 627, + "end": 628, "loc": { "start": { - "line": 24, + "line": 21, "column": 23 }, "end": { - "line": 24, + "line": 21, "column": 24 } } @@ -3419,15 +2883,15 @@ "binop": null }, "value": "cr", - "start": 680, - "end": 682, + "start": 635, + "end": 637, "loc": { "start": { - "line": 25, + "line": 22, "column": 6 }, "end": { - "line": 25, + "line": 22, "column": 8 } } @@ -3445,15 +2909,15 @@ "binop": null, "updateContext": null }, - "start": 682, - "end": 683, + "start": 637, + "end": 638, "loc": { "start": { - "line": 25, + "line": 22, "column": 8 }, "end": { - "line": 25, + "line": 22, "column": 9 } } @@ -3471,15 +2935,15 @@ "binop": null }, "value": "lc", - "start": 690, - "end": 692, + "start": 645, + "end": 647, "loc": { "start": { - "line": 26, + "line": 23, "column": 6 }, "end": { - "line": 26, + "line": 23, "column": 8 } } @@ -3496,15 +2960,15 @@ "postfix": false, "binop": null }, - "start": 697, - "end": 698, + "start": 652, + "end": 653, "loc": { "start": { - "line": 27, + "line": 24, "column": 4 }, "end": { - "line": 27, + "line": 24, "column": 5 } } @@ -3522,15 +2986,15 @@ "binop": null, "updateContext": null }, - "start": 698, - "end": 699, + "start": 653, + "end": 654, "loc": { "start": { - "line": 27, + "line": 24, "column": 5 }, "end": { - "line": 27, + "line": 24, "column": 6 } } @@ -3547,15 +3011,15 @@ "postfix": false, "binop": null }, - "start": 702, - "end": 703, + "start": 657, + "end": 658, "loc": { "start": { - "line": 28, + "line": 25, "column": 2 }, "end": { - "line": 28, + "line": 25, "column": 3 } } @@ -3572,176 +3036,19 @@ "postfix": false, "binop": null }, - "start": 704, - "end": 705, + "start": 659, + "end": 660, "loc": { "start": { - "line": 29, + "line": 26, "column": 0 }, "end": { - "line": 29, + "line": 26, "column": 1 } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "module", - "start": 707, - "end": 713, - "loc": { - "start": { - "line": 31, - "column": 0 - }, - "end": { - "line": 31, - "column": 6 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 713, - "end": 714, - "loc": { - "start": { - "line": 31, - "column": 6 - }, - "end": { - "line": 31, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "exports", - "start": 714, - "end": 721, - "loc": { - "start": { - "line": 31, - "column": 7 - }, - "end": { - "line": 31, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 722, - "end": 723, - "loc": { - "start": { - "line": 31, - "column": 15 - }, - "end": { - "line": 31, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "FullDateFactory", - "start": 724, - "end": 739, - "loc": { - "start": { - "line": 31, - "column": 17 - }, - "end": { - "line": 31, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 739, - "end": 740, - "loc": { - "start": { - "line": 31, - "column": 32 - }, - "end": { - "line": 31, - "column": 33 - } - } - }, { "type": { "label": "eof", @@ -3755,15 +3062,15 @@ "binop": null, "updateContext": null }, - "start": 741, - "end": 741, + "start": 661, + "end": 661, "loc": { "start": { - "line": 32, + "line": 27, "column": 0 }, "end": { - "line": 32, + "line": 27, "column": 0 } } diff --git a/docs/ast/source/factory/index.js.json b/docs/ast/source/factory/index.js.json index 708b1bd..c6a9080 100644 --- a/docs/ast/source/factory/index.js.json +++ b/docs/ast/source/factory/index.js.json @@ -1,1031 +1,448 @@ { "type": "File", "start": 0, - "end": 286, + "end": 224, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 13, + "line": 10, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 286, + "end": 224, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 13, + "line": 10, "column": 0 } }, "sourceType": "module", "body": [ { - "type": "VariableDeclaration", - "start": 15, - "end": 62, + "type": "ImportDeclaration", + "start": 0, + "end": 42, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 47 + "line": 1, + "column": 42 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 21, - "end": 61, + "type": "ImportDefaultSpecifier", + "start": 7, + "end": 22, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 46 + "line": 1, + "column": 22 } }, - "id": { + "local": { "type": "Identifier", - "start": 21, - "end": 36, + "start": 7, + "end": 22, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 21 + "line": 1, + "column": 22 }, "identifierName": "FullDateFactory" }, - "name": "FullDateFactory", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 39, - "end": 61, - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 46 - } - }, - "callee": { - "type": "Identifier", - "start": 39, - "end": 46, - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 31 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 47, - "end": 60, - "loc": { - "start": { - "line": 2, - "column": 32 - }, - "end": { - "line": 2, - "column": 45 - } - }, - "extra": { - "rawValue": "./full-date", - "raw": "'./full-date'" - }, - "value": "./full-date" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } + "name": "FullDateFactory" } } ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 63, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 28, + "end": 41, + "loc": { + "start": { + "line": 1, + "column": 28 + }, + "end": { + "line": 1, + "column": 41 } - } - ] + }, + "extra": { + "rawValue": "./full-date", + "raw": "'./full-date'" + }, + "value": "./full-date" + } }, { - "type": "VariableDeclaration", - "start": 78, - "end": 135, + "type": "ImportDeclaration", + "start": 43, + "end": 95, "loc": { "start": { - "line": 4, + "line": 2, "column": 0 }, "end": { - "line": 4, - "column": 57 + "line": 2, + "column": 52 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 84, - "end": 134, + "type": "ImportDefaultSpecifier", + "start": 50, + "end": 70, "loc": { "start": { - "line": 4, - "column": 6 + "line": 2, + "column": 7 }, "end": { - "line": 4, - "column": 56 + "line": 2, + "column": 27 } }, - "id": { + "local": { "type": "Identifier", - "start": 84, - "end": 104, + "start": 50, + "end": 70, "loc": { "start": { - "line": 4, - "column": 6 + "line": 2, + "column": 7 }, "end": { - "line": 4, - "column": 26 + "line": 2, + "column": 27 }, "identifierName": "CalendarRoundFactory" }, - "name": "CalendarRoundFactory", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 107, - "end": 134, - "loc": { - "start": { - "line": 4, - "column": 29 - }, - "end": { - "line": 4, - "column": 56 - } - }, - "callee": { - "type": "Identifier", - "start": 107, - "end": 114, - "loc": { - "start": { - "line": 4, - "column": 29 - }, - "end": { - "line": 4, - "column": 36 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 115, - "end": 133, - "loc": { - "start": { - "line": 4, - "column": 37 - }, - "end": { - "line": 4, - "column": 55 - } - }, - "extra": { - "rawValue": "./calendar-round", - "raw": "'./calendar-round'" - }, - "value": "./calendar-round" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 63, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } + "name": "CalendarRoundFactory" } } ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 136, - "end": 150, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 76, + "end": 94, + "loc": { + "start": { + "line": 2, + "column": 33 + }, + "end": { + "line": 2, + "column": 51 } - } - ] + }, + "extra": { + "rawValue": "./calendar-round", + "raw": "'./calendar-round'" + }, + "value": "./calendar-round" + } }, { - "type": "VariableDeclaration", - "start": 151, - "end": 200, + "type": "ImportDeclaration", + "start": 96, + "end": 140, "loc": { "start": { - "line": 6, + "line": 3, "column": 0 }, "end": { - "line": 6, - "column": 49 + "line": 3, + "column": 44 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 157, - "end": 199, + "type": "ImportDefaultSpecifier", + "start": 103, + "end": 119, "loc": { "start": { - "line": 6, - "column": 6 + "line": 3, + "column": 7 }, "end": { - "line": 6, - "column": 48 + "line": 3, + "column": 23 } }, - "id": { + "local": { "type": "Identifier", - "start": 157, - "end": 173, + "start": 103, + "end": 119, "loc": { "start": { - "line": 6, - "column": 6 + "line": 3, + "column": 7 }, "end": { - "line": 6, - "column": 22 + "line": 3, + "column": 23 }, "identifierName": "LongCountFactory" }, - "name": "LongCountFactory", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 176, - "end": 199, - "loc": { - "start": { - "line": 6, - "column": 25 - }, - "end": { - "line": 6, - "column": 48 - } - }, - "callee": { - "type": "Identifier", - "start": 176, - "end": 183, - "loc": { - "start": { - "line": 6, - "column": 25 - }, - "end": { - "line": 6, - "column": 32 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 184, - "end": 198, - "loc": { - "start": { - "line": 6, - "column": 33 - }, - "end": { - "line": 6, - "column": 47 - } - }, - "extra": { - "rawValue": "./long-count", - "raw": "'./long-count'" - }, - "value": "./long-count" - } - ] - }, - "leadingComments": null + "name": "LongCountFactory" + } } ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 136, - "end": 150, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 125, + "end": 139, + "loc": { + "start": { + "line": 3, + "column": 29 + }, + "end": { + "line": 3, + "column": 43 } - } - ] + }, + "extra": { + "rawValue": "./long-count", + "raw": "'./long-count'" + }, + "value": "./long-count" + } }, { - "type": "ExpressionStatement", - "start": 202, - "end": 285, + "type": "ExportDefaultDeclaration", + "start": 142, + "end": 223, "loc": { "start": { - "line": 8, + "line": 5, "column": 0 }, "end": { - "line": 12, + "line": 9, "column": 2 } }, - "expression": { - "type": "AssignmentExpression", - "start": 202, - "end": 284, + "declaration": { + "type": "ObjectExpression", + "start": 157, + "end": 222, "loc": { "start": { - "line": 8, - "column": 0 + "line": 5, + "column": 15 }, "end": { - "line": 12, + "line": 9, "column": 1 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 202, - "end": 216, - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 8, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 202, - "end": 208, + "properties": [ + { + "type": "ObjectProperty", + "start": 161, + "end": 181, "loc": { "start": { - "line": 8, - "column": 0 + "line": 6, + "column": 2 }, "end": { - "line": 8, - "column": 6 + "line": 6, + "column": 22 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 161, + "end": 181, + "loc": { + "start": { + "line": 6, + "column": 2 + }, + "end": { + "line": 6, + "column": 22 + }, + "identifierName": "CalendarRoundFactory" }, - "identifierName": "module" + "name": "CalendarRoundFactory" }, - "name": "module" + "value": { + "type": "Identifier", + "start": 161, + "end": 181, + "loc": { + "start": { + "line": 6, + "column": 2 + }, + "end": { + "line": 6, + "column": 22 + }, + "identifierName": "CalendarRoundFactory" + }, + "name": "CalendarRoundFactory" + }, + "extra": { + "shorthand": true + } }, - "property": { - "type": "Identifier", - "start": 209, - "end": 216, + { + "type": "ObjectProperty", + "start": 185, + "end": 201, "loc": { "start": { - "line": 8, - "column": 7 + "line": 7, + "column": 2 }, "end": { - "line": 8, - "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "ObjectExpression", - "start": 219, - "end": 284, - "loc": { - "start": { - "line": 8, - "column": 17 + "line": 7, + "column": 18 + } }, - "end": { - "line": 12, - "column": 1 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 223, - "end": 243, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 185, + "end": 201, "loc": { "start": { - "line": 9, + "line": 7, "column": 2 }, "end": { - "line": 9, - "column": 22 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 223, - "end": 243, - "loc": { - "start": { - "line": 9, - "column": 2 - }, - "end": { - "line": 9, - "column": 22 - }, - "identifierName": "CalendarRoundFactory" - }, - "name": "CalendarRoundFactory" - }, - "value": { - "type": "Identifier", - "start": 223, - "end": 243, - "loc": { - "start": { - "line": 9, - "column": 2 - }, - "end": { - "line": 9, - "column": 22 - }, - "identifierName": "CalendarRoundFactory" + "line": 7, + "column": 18 }, - "name": "CalendarRoundFactory" + "identifierName": "LongCountFactory" }, - "extra": { - "shorthand": true - } + "name": "LongCountFactory" }, - { - "type": "ObjectProperty", - "start": 247, - "end": 263, + "value": { + "type": "Identifier", + "start": 185, + "end": 201, "loc": { "start": { - "line": 10, + "line": 7, "column": 2 }, "end": { - "line": 10, + "line": 7, "column": 18 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 247, - "end": 263, - "loc": { - "start": { - "line": 10, - "column": 2 - }, - "end": { - "line": 10, - "column": 18 - }, - "identifierName": "LongCountFactory" }, - "name": "LongCountFactory" + "identifierName": "LongCountFactory" }, - "value": { - "type": "Identifier", - "start": 247, - "end": 263, - "loc": { - "start": { - "line": 10, - "column": 2 - }, - "end": { - "line": 10, - "column": 18 - }, - "identifierName": "LongCountFactory" - }, - "name": "LongCountFactory" + "name": "LongCountFactory" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 205, + "end": 220, + "loc": { + "start": { + "line": 8, + "column": 2 }, - "extra": { - "shorthand": true + "end": { + "line": 8, + "column": 17 } }, - { - "type": "ObjectProperty", - "start": 267, - "end": 282, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 205, + "end": 220, "loc": { "start": { - "line": 11, + "line": 8, "column": 2 }, "end": { - "line": 11, + "line": 8, "column": 17 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 267, - "end": 282, - "loc": { - "start": { - "line": 11, - "column": 2 - }, - "end": { - "line": 11, - "column": 17 - }, - "identifierName": "FullDateFactory" }, - "name": "FullDateFactory" + "identifierName": "FullDateFactory" }, - "value": { - "type": "Identifier", - "start": 267, - "end": 282, - "loc": { - "start": { - "line": 11, - "column": 2 - }, - "end": { - "line": 11, - "column": 17 - }, - "identifierName": "FullDateFactory" + "name": "FullDateFactory" + }, + "value": { + "type": "Identifier", + "start": 205, + "end": 220, + "loc": { + "start": { + "line": 8, + "column": 2 }, - "name": "FullDateFactory" + "end": { + "line": 8, + "column": 17 + }, + "identifierName": "FullDateFactory" }, - "extra": { - "shorthand": true - } - } - ] - } - } - } - ], - "directives": [] - }, - "comments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 63, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 136, - "end": 150, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } - } - } - ], - "tokens": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 15, - "end": 20, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "FullDateFactory", - "start": 21, - "end": 36, - "loc": { - "start": { - "line": 2, - "column": 6 - }, - "end": { - "line": 2, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 37, - "end": 38, - "loc": { - "start": { - "line": 2, - "column": 22 - }, - "end": { - "line": 2, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "require", - "start": 39, - "end": 46, - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 31 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 46, - "end": 47, - "loc": { - "start": { - "line": 2, - "column": 31 - }, - "end": { - "line": 2, - "column": 32 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./full-date", - "start": 47, - "end": 60, - "loc": { - "start": { - "line": 2, - "column": 32 - }, - "end": { - "line": 2, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 60, - "end": 61, - "loc": { - "start": { - "line": 2, - "column": 45 - }, - "end": { - "line": 2, - "column": 46 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 61, - "end": 62, - "loc": { - "start": { - "line": 2, - "column": 46 - }, - "end": { - "line": 2, - "column": 47 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 63, - "end": 77, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 78, - "end": 83, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 5 + "name": "FullDateFactory" + }, + "extra": { + "shorthand": true + } + } + ], + "leadingComments": [], + "trailingComments": [] } } - }, + ], + "directives": [] + }, + "comments": [], + "tokens": [ { "type": { - "label": "name", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1033,46 +450,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "value": "CalendarRoundFactory", - "start": 84, - "end": 104, - "loc": { - "start": { - "line": 4, - "column": 6 - }, - "end": { - "line": 4, - "column": 26 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 105, - "end": 106, + "value": "import", + "start": 0, + "end": 6, "loc": { "start": { - "line": 4, - "column": 27 + "line": 1, + "column": 0 }, "end": { - "line": 4, - "column": 28 + "line": 1, + "column": 6 } } }, @@ -1088,24 +479,24 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 107, - "end": 114, + "value": "FullDateFactory", + "start": 7, + "end": 22, "loc": { "start": { - "line": 4, - "column": 29 + "line": 1, + "column": 7 }, "end": { - "line": 4, - "column": 36 + "line": 1, + "column": 22 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1114,16 +505,17 @@ "postfix": false, "binop": null }, - "start": 114, - "end": 115, + "value": "from", + "start": 23, + "end": 27, "loc": { "start": { - "line": 4, - "column": 36 + "line": 1, + "column": 23 }, "end": { - "line": 4, - "column": 37 + "line": 1, + "column": 27 } } }, @@ -1140,42 +532,17 @@ "binop": null, "updateContext": null }, - "value": "./calendar-round", - "start": 115, - "end": 133, - "loc": { - "start": { - "line": 4, - "column": 37 - }, - "end": { - "line": 4, - "column": 55 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 133, - "end": 134, + "value": "./full-date", + "start": 28, + "end": 41, "loc": { "start": { - "line": 4, - "column": 55 + "line": 1, + "column": 28 }, "end": { - "line": 4, - "column": 56 + "line": 1, + "column": 41 } } }, @@ -1192,41 +559,25 @@ "binop": null, "updateContext": null }, - "start": 134, - "end": 135, - "loc": { - "start": { - "line": 4, - "column": 56 - }, - "end": { - "line": 4, - "column": 57 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 136, - "end": 150, + "start": 41, + "end": 42, "loc": { "start": { - "line": 5, - "column": 0 + "line": 1, + "column": 41 }, "end": { - "line": 5, - "column": 14 + "line": 1, + "column": 42 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1235,17 +586,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 151, - "end": 156, + "value": "import", + "start": 43, + "end": 49, "loc": { "start": { - "line": 6, + "line": 2, "column": 0 }, "end": { - "line": 6, - "column": 5 + "line": 2, + "column": 6 } } }, @@ -1261,50 +612,49 @@ "postfix": false, "binop": null }, - "value": "LongCountFactory", - "start": 157, - "end": 173, + "value": "CalendarRoundFactory", + "start": 50, + "end": 70, "loc": { "start": { - "line": 6, - "column": 6 + "line": 2, + "column": 7 }, "end": { - "line": 6, - "column": 22 + "line": 2, + "column": 27 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 174, - "end": 175, + "value": "from", + "start": 71, + "end": 75, "loc": { "start": { - "line": 6, - "column": 23 + "line": 2, + "column": 28 }, "end": { - "line": 6, - "column": 24 + "line": 2, + "column": 32 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1312,50 +662,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "require", - "start": 176, - "end": 183, + "value": "./calendar-round", + "start": 76, + "end": 94, "loc": { "start": { - "line": 6, - "column": 25 + "line": 2, + "column": 33 }, "end": { - "line": 6, - "column": 32 + "line": 2, + "column": 51 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 183, - "end": 184, + "start": 94, + "end": 95, "loc": { "start": { - "line": 6, - "column": 32 + "line": 2, + "column": 51 }, "end": { - "line": 6, - "column": 33 + "line": 2, + "column": 52 } } }, { "type": { - "label": "string", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1366,25 +719,25 @@ "binop": null, "updateContext": null }, - "value": "./long-count", - "start": 184, - "end": 198, + "value": "import", + "start": 96, + "end": 102, "loc": { "start": { - "line": 6, - "column": 33 + "line": 3, + "column": 0 }, "end": { - "line": 6, - "column": 47 + "line": 3, + "column": 6 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1392,48 +745,49 @@ "postfix": false, "binop": null }, - "start": 198, - "end": 199, + "value": "LongCountFactory", + "start": 103, + "end": 119, "loc": { "start": { - "line": 6, - "column": 47 + "line": 3, + "column": 7 }, "end": { - "line": 6, - "column": 48 + "line": 3, + "column": 23 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 199, - "end": 200, + "value": "from", + "start": 120, + "end": 124, "loc": { "start": { - "line": 6, - "column": 48 + "line": 3, + "column": 24 }, "end": { - "line": 6, - "column": 49 + "line": 3, + "column": 28 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1441,26 +795,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "module", - "start": 202, - "end": 208, + "value": "./long-count", + "start": 125, + "end": 139, "loc": { "start": { - "line": 8, - "column": 0 + "line": 3, + "column": 29 }, "end": { - "line": 8, - "column": 6 + "line": 3, + "column": 43 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -1470,69 +825,72 @@ "binop": null, "updateContext": null }, - "start": 208, - "end": 209, + "start": 139, + "end": 140, "loc": { "start": { - "line": 8, - "column": 6 + "line": 3, + "column": 43 }, "end": { - "line": 8, - "column": 7 + "line": 3, + "column": 44 } } }, { "type": { - "label": "name", + "label": "export", + "keyword": "export", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "exports", - "start": 209, - "end": 216, + "value": "export", + "start": 142, + "end": 148, "loc": { "start": { - "line": 8, - "column": 7 + "line": 5, + "column": 0 }, "end": { - "line": 8, - "column": 14 + "line": 5, + "column": 6 } } }, { "type": { - "label": "=", + "label": "default", + "keyword": "default", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 217, - "end": 218, + "value": "default", + "start": 149, + "end": 156, "loc": { "start": { - "line": 8, - "column": 15 + "line": 5, + "column": 7 }, "end": { - "line": 8, - "column": 16 + "line": 5, + "column": 14 } } }, @@ -1548,16 +906,16 @@ "postfix": false, "binop": null }, - "start": 219, - "end": 220, + "start": 157, + "end": 158, "loc": { "start": { - "line": 8, - "column": 17 + "line": 5, + "column": 15 }, "end": { - "line": 8, - "column": 18 + "line": 5, + "column": 16 } } }, @@ -1574,15 +932,15 @@ "binop": null }, "value": "CalendarRoundFactory", - "start": 223, - "end": 243, + "start": 161, + "end": 181, "loc": { "start": { - "line": 9, + "line": 6, "column": 2 }, "end": { - "line": 9, + "line": 6, "column": 22 } } @@ -1600,15 +958,15 @@ "binop": null, "updateContext": null }, - "start": 243, - "end": 244, + "start": 181, + "end": 182, "loc": { "start": { - "line": 9, + "line": 6, "column": 22 }, "end": { - "line": 9, + "line": 6, "column": 23 } } @@ -1626,15 +984,15 @@ "binop": null }, "value": "LongCountFactory", - "start": 247, - "end": 263, + "start": 185, + "end": 201, "loc": { "start": { - "line": 10, + "line": 7, "column": 2 }, "end": { - "line": 10, + "line": 7, "column": 18 } } @@ -1652,15 +1010,15 @@ "binop": null, "updateContext": null }, - "start": 263, - "end": 264, + "start": 201, + "end": 202, "loc": { "start": { - "line": 10, + "line": 7, "column": 18 }, "end": { - "line": 10, + "line": 7, "column": 19 } } @@ -1678,15 +1036,15 @@ "binop": null }, "value": "FullDateFactory", - "start": 267, - "end": 282, + "start": 205, + "end": 220, "loc": { "start": { - "line": 11, + "line": 8, "column": 2 }, "end": { - "line": 11, + "line": 8, "column": 17 } } @@ -1703,15 +1061,15 @@ "postfix": false, "binop": null }, - "start": 283, - "end": 284, + "start": 221, + "end": 222, "loc": { "start": { - "line": 12, + "line": 9, "column": 0 }, "end": { - "line": 12, + "line": 9, "column": 1 } } @@ -1729,15 +1087,15 @@ "binop": null, "updateContext": null }, - "start": 284, - "end": 285, + "start": 222, + "end": 223, "loc": { "start": { - "line": 12, + "line": 9, "column": 1 }, "end": { - "line": 12, + "line": 9, "column": 2 } } @@ -1755,15 +1113,15 @@ "binop": null, "updateContext": null }, - "start": 286, - "end": 286, + "start": 224, + "end": 224, "loc": { "start": { - "line": 13, + "line": 10, "column": 0 }, "end": { - "line": 13, + "line": 10, "column": 0 } } diff --git a/docs/ast/source/factory/long-count.js.json b/docs/ast/source/factory/long-count.js.json index b726311..cfbb4e2 100644 --- a/docs/ast/source/factory/long-count.js.json +++ b/docs/ast/source/factory/long-count.js.json @@ -1,453 +1,252 @@ { "type": "File", "start": 0, - "end": 1136, + "end": 1055, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 44, + "line": 39, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 1136, + "end": 1055, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 44, + "line": 39, "column": 0 } }, "sourceType": "module", "body": [ { - "type": "VariableDeclaration", - "start": 15, - "end": 49, + "type": "ImportDeclaration", + "start": 0, + "end": 29, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 34 + "line": 1, + "column": 29 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 21, - "end": 48, + "type": "ImportDefaultSpecifier", + "start": 7, + "end": 14, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 33 + "line": 1, + "column": 14 } }, - "id": { + "local": { "type": "Identifier", - "start": 21, - "end": 28, + "start": 7, + "end": 14, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 13 + "line": 1, + "column": 14 }, "identifierName": "Factory" }, - "name": "Factory", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 31, - "end": 48, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 33 - } - }, - "callee": { - "type": "Identifier", - "start": 31, - "end": 38, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 23 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 39, - "end": 47, - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 32 - } - }, - "extra": { - "rawValue": "./base", - "raw": "'./base'" - }, - "value": "./base" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } + "name": "Factory" } } ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 50, - "end": 64, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 20, + "end": 28, + "loc": { + "start": { + "line": 1, + "column": 20 + }, + "end": { + "line": 1, + "column": 28 } - } - ] + }, + "extra": { + "rawValue": "./base", + "raw": "'./base'" + }, + "value": "./base" + } }, { - "type": "VariableDeclaration", - "start": 65, - "end": 111, + "type": "ImportDeclaration", + "start": 30, + "end": 71, "loc": { "start": { - "line": 4, + "line": 2, "column": 0 }, "end": { - "line": 4, - "column": 46 + "line": 2, + "column": 41 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 71, - "end": 110, + "type": "ImportDefaultSpecifier", + "start": 37, + "end": 46, "loc": { "start": { - "line": 4, - "column": 6 + "line": 2, + "column": 7 }, "end": { - "line": 4, - "column": 45 + "line": 2, + "column": 16 } }, - "id": { + "local": { "type": "Identifier", - "start": 71, - "end": 80, + "start": 37, + "end": 46, "loc": { "start": { - "line": 4, - "column": 6 + "line": 2, + "column": 7 }, "end": { - "line": 4, - "column": 15 + "line": 2, + "column": 16 }, "identifierName": "LongCount" }, - "name": "LongCount", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 83, - "end": 110, - "loc": { - "start": { - "line": 4, - "column": 18 - }, - "end": { - "line": 4, - "column": 45 - } - }, - "callee": { - "type": "Identifier", - "start": 83, - "end": 90, - "loc": { - "start": { - "line": 4, - "column": 18 - }, - "end": { - "line": 4, - "column": 25 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 91, - "end": 109, - "loc": { - "start": { - "line": 4, - "column": 26 - }, - "end": { - "line": 4, - "column": 44 - } - }, - "extra": { - "rawValue": "../lc/long-count", - "raw": "'../lc/long-count'" - }, - "value": "../lc/long-count" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 50, - "end": 64, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } + "name": "LongCount" } } ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 112, - "end": 126, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 52, + "end": 70, + "loc": { + "start": { + "line": 2, + "column": 22 + }, + "end": { + "line": 2, + "column": 40 } - } - ] + }, + "extra": { + "rawValue": "../lc/long-count", + "raw": "'../lc/long-count'" + }, + "value": "../lc/long-count" + } }, { - "type": "VariableDeclaration", - "start": 127, - "end": 167, + "type": "ImportDeclaration", + "start": 72, + "end": 107, "loc": { "start": { - "line": 6, + "line": 3, "column": 0 }, "end": { - "line": 6, - "column": 40 + "line": 3, + "column": 35 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 133, - "end": 166, + "type": "ImportDefaultSpecifier", + "start": 79, + "end": 87, "loc": { "start": { - "line": 6, - "column": 6 + "line": 3, + "column": 7 }, "end": { - "line": 6, - "column": 39 + "line": 3, + "column": 15 } }, - "id": { + "local": { "type": "Identifier", - "start": 133, - "end": 141, + "start": 79, + "end": 87, "loc": { "start": { - "line": 6, - "column": 6 + "line": 3, + "column": 7 }, "end": { - "line": 6, - "column": 14 + "line": 3, + "column": 15 }, "identifierName": "wildcard" }, - "name": "wildcard", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 144, - "end": 166, - "loc": { - "start": { - "line": 6, - "column": 17 - }, - "end": { - "line": 6, - "column": 39 - } - }, - "callee": { - "type": "Identifier", - "start": 144, - "end": 151, - "loc": { - "start": { - "line": 6, - "column": 17 - }, - "end": { - "line": 6, - "column": 24 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 152, - "end": 165, - "loc": { - "start": { - "line": 6, - "column": 25 - }, - "end": { - "line": 6, - "column": 38 - } - }, - "extra": { - "rawValue": "../wildcard", - "raw": "'../wildcard'" - }, - "value": "../wildcard" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 112, - "end": 126, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } + "name": "wildcard" } } ], + "source": { + "type": "StringLiteral", + "start": 93, + "end": 106, + "loc": { + "start": { + "line": 3, + "column": 21 + }, + "end": { + "line": 3, + "column": 34 + } + }, + "extra": { + "rawValue": "../wildcard", + "raw": "'../wildcard'" + }, + "value": "../wildcard" + }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * A factory to create a LongCount object from a string\n * @extends {Factory}\n * @example\n * let cr = new LongCountFactory().parse(\"9.4.2.4.1\");\n * @example\n * let cr = new LongCountFactory().parse(\"9.4.2.*.1\");\n ", - "start": 169, - "end": 394, + "start": 109, + "end": 334, "loc": { "start": { - "line": 8, + "line": 5, "column": 0 }, "end": { - "line": 15, + "line": 12, "column": 3 } } @@ -455,1596 +254,1484 @@ ] }, { - "type": "ClassDeclaration", - "start": 395, - "end": 1099, + "type": "ExportDefaultDeclaration", + "start": 335, + "end": 1054, "loc": { "start": { - "line": 16, + "line": 13, "column": 0 }, "end": { - "line": 41, + "line": 38, "column": 1 } }, - "id": { - "type": "Identifier", - "start": 401, - "end": 417, + "declaration": { + "type": "ClassDeclaration", + "start": 350, + "end": 1054, "loc": { "start": { - "line": 16, - "column": 6 + "line": 13, + "column": 15 }, "end": { - "line": 16, - "column": 22 - }, - "identifierName": "LongCountFactory" + "line": 38, + "column": 1 + } }, - "name": "LongCountFactory", - "leadingComments": null - }, - "superClass": { - "type": "Identifier", - "start": 426, - "end": 433, - "loc": { - "start": { - "line": 16, - "column": 31 - }, - "end": { - "line": 16, - "column": 38 + "id": { + "type": "Identifier", + "start": 356, + "end": 372, + "loc": { + "start": { + "line": 13, + "column": 21 + }, + "end": { + "line": 13, + "column": 37 + }, + "identifierName": "LongCountFactory" }, - "identifierName": "Factory" + "name": "LongCountFactory", + "leadingComments": null }, - "name": "Factory" - }, - "body": { - "type": "ClassBody", - "start": 434, - "end": 1099, - "loc": { - "start": { - "line": 16, - "column": 39 + "superClass": { + "type": "Identifier", + "start": 381, + "end": 388, + "loc": { + "start": { + "line": 13, + "column": 46 + }, + "end": { + "line": 13, + "column": 53 + }, + "identifierName": "Factory" }, - "end": { - "line": 41, - "column": 1 - } + "name": "Factory" }, - "body": [ - { - "type": "ClassMethod", - "start": 643, - "end": 1097, - "loc": { - "start": { - "line": 23, - "column": 2 - }, - "end": { - "line": 40, - "column": 3 - } + "body": { + "type": "ClassBody", + "start": 389, + "end": 1054, + "loc": { + "start": { + "line": 13, + "column": 54 }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 643, - "end": 648, + "end": { + "line": 38, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 598, + "end": 1052, "loc": { "start": { - "line": 23, + "line": 20, "column": 2 }, "end": { - "line": 23, - "column": 7 - }, - "identifierName": "parse" + "line": 37, + "column": 3 + } }, - "name": "parse", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 649, - "end": 652, + "start": 598, + "end": 603, "loc": { "start": { - "line": 23, - "column": 8 + "line": 20, + "column": 2 }, "end": { - "line": 23, - "column": 11 + "line": 20, + "column": 7 }, - "identifierName": "raw" - }, - "name": "raw" - } - ], - "body": { - "type": "BlockStatement", - "start": 654, - "end": 1097, - "loc": { - "start": { - "line": 23, - "column": 13 + "identifierName": "parse" }, - "end": { - "line": 40, - "column": 3 - } + "name": "parse", + "leadingComments": null }, - "body": [ + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "VariableDeclaration", - "start": 660, - "end": 742, + "type": "Identifier", + "start": 604, + "end": 607, "loc": { "start": { - "line": 24, - "column": 4 + "line": 20, + "column": 8 }, "end": { - "line": 24, - "column": 86 - } + "line": 20, + "column": 11 + }, + "identifierName": "raw" }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 666, - "end": 741, - "loc": { - "start": { - "line": 24, - "column": 10 - }, - "end": { - "line": 24, - "column": 85 - } + "name": "raw" + } + ], + "body": { + "type": "BlockStatement", + "start": 609, + "end": 1052, + "loc": { + "start": { + "line": 20, + "column": 13 + }, + "end": { + "line": 37, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 615, + "end": 697, + "loc": { + "start": { + "line": 21, + "column": 4 }, - "id": { - "type": "Identifier", - "start": 666, - "end": 671, + "end": { + "line": 21, + "column": 86 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 621, + "end": 696, "loc": { "start": { - "line": 24, + "line": 21, "column": 10 }, "end": { - "line": 24, - "column": 15 - }, - "identifierName": "dates" - }, - "name": "dates" - }, - "init": { - "type": "CallExpression", - "start": 674, - "end": 741, - "loc": { - "start": { - "line": 24, - "column": 18 - }, - "end": { - "line": 24, + "line": 21, "column": 85 } }, - "callee": { - "type": "MemberExpression", - "start": 674, - "end": 683, + "id": { + "type": "Identifier", + "start": 621, + "end": 626, + "loc": { + "start": { + "line": 21, + "column": 10 + }, + "end": { + "line": 21, + "column": 15 + }, + "identifierName": "dates" + }, + "name": "dates" + }, + "init": { + "type": "CallExpression", + "start": 629, + "end": 696, "loc": { "start": { - "line": 24, + "line": 21, "column": 18 }, "end": { - "line": 24, - "column": 27 + "line": 21, + "column": 85 } }, - "object": { - "type": "Identifier", - "start": 674, - "end": 677, + "callee": { + "type": "MemberExpression", + "start": 629, + "end": 638, "loc": { "start": { - "line": 24, + "line": 21, "column": 18 }, "end": { - "line": 24, - "column": 21 - }, - "identifierName": "raw" + "line": 21, + "column": 27 + } }, - "name": "raw" - }, - "property": { - "type": "Identifier", - "start": 678, - "end": 683, - "loc": { - "start": { - "line": 24, - "column": 22 + "object": { + "type": "Identifier", + "start": 629, + "end": 632, + "loc": { + "start": { + "line": 21, + "column": 18 + }, + "end": { + "line": 21, + "column": 21 + }, + "identifierName": "raw" }, - "end": { - "line": 24, - "column": 27 + "name": "raw" + }, + "property": { + "type": "Identifier", + "start": 633, + "end": 638, + "loc": { + "start": { + "line": 21, + "column": 22 + }, + "end": { + "line": 21, + "column": 27 + }, + "identifierName": "match" }, - "identifierName": "match" + "name": "match" }, - "name": "match" + "computed": false }, - "computed": false - }, - "arguments": [ - { - "type": "RegExpLiteral", - "start": 684, - "end": 740, - "loc": { - "start": { - "line": 24, - "column": 28 + "arguments": [ + { + "type": "RegExpLiteral", + "start": 639, + "end": 695, + "loc": { + "start": { + "line": 21, + "column": 28 + }, + "end": { + "line": 21, + "column": 84 + } }, - "end": { - "line": 24, - "column": 84 - } - }, - "extra": { - "raw": "/(?:(?:\\*|(?:[\\d]{1,2}))\\.){1,}(?:(?:\\*)|(?:[\\d]{1,2}))/" - }, - "pattern": "(?:(?:\\*|(?:[\\d]{1,2}))\\.){1,}(?:(?:\\*)|(?:[\\d]{1,2}))", - "flags": "" - } - ] + "extra": { + "raw": "/(?:(?:\\*|(?:[\\d]{1,2}))\\.){1,}(?:(?:\\*)|(?:[\\d]{1,2}))/" + }, + "pattern": "(?:(?:\\*|(?:[\\d]{1,2}))\\.){1,}(?:(?:\\*)|(?:[\\d]{1,2}))", + "flags": "" + } + ] + } } - } - ], - "kind": "const" - }, - { - "type": "IfStatement", - "start": 747, - "end": 815, - "loc": { - "start": { - "line": 25, - "column": 4 - }, - "end": { - "line": 27, - "column": 5 - } + ], + "kind": "const" }, - "test": { - "type": "LogicalExpression", - "start": 751, - "end": 787, + { + "type": "IfStatement", + "start": 702, + "end": 770, "loc": { "start": { - "line": 25, - "column": 8 + "line": 22, + "column": 4 }, "end": { - "line": 25, - "column": 44 + "line": 24, + "column": 5 } }, - "left": { - "type": "BinaryExpression", - "start": 751, - "end": 765, + "test": { + "type": "LogicalExpression", + "start": 706, + "end": 742, "loc": { "start": { - "line": 25, + "line": 22, "column": 8 }, "end": { - "line": 25, - "column": 22 + "line": 22, + "column": 44 } }, "left": { - "type": "Identifier", - "start": 751, - "end": 756, + "type": "BinaryExpression", + "start": 706, + "end": 720, "loc": { "start": { - "line": 25, + "line": 22, "column": 8 }, "end": { - "line": 25, - "column": 13 - }, - "identifierName": "dates" - }, - "name": "dates" - }, - "operator": "===", - "right": { - "type": "NullLiteral", - "start": 761, - "end": 765, - "loc": { - "start": { - "line": 25, - "column": 18 - }, - "end": { - "line": 25, + "line": 22, "column": 22 } - } - } - }, - "operator": "||", - "right": { - "type": "BinaryExpression", - "start": 769, - "end": 787, - "loc": { - "start": { - "line": 25, - "column": 26 }, - "end": { - "line": 25, - "column": 44 + "left": { + "type": "Identifier", + "start": 706, + "end": 711, + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 13 + }, + "identifierName": "dates" + }, + "name": "dates" + }, + "operator": "===", + "right": { + "type": "NullLiteral", + "start": 716, + "end": 720, + "loc": { + "start": { + "line": 22, + "column": 18 + }, + "end": { + "line": 22, + "column": 22 + } + } } }, - "left": { - "type": "MemberExpression", - "start": 769, - "end": 781, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 724, + "end": 742, "loc": { "start": { - "line": 25, + "line": 22, "column": 26 }, "end": { - "line": 25, - "column": 38 + "line": 22, + "column": 44 } }, - "object": { - "type": "Identifier", - "start": 769, - "end": 774, + "left": { + "type": "MemberExpression", + "start": 724, + "end": 736, "loc": { "start": { - "line": 25, + "line": 22, "column": 26 }, "end": { - "line": 25, - "column": 31 + "line": 22, + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 724, + "end": 729, + "loc": { + "start": { + "line": 22, + "column": 26 + }, + "end": { + "line": 22, + "column": 31 + }, + "identifierName": "dates" }, - "identifierName": "dates" + "name": "dates" }, - "name": "dates" + "property": { + "type": "Identifier", + "start": 730, + "end": 736, + "loc": { + "start": { + "line": 22, + "column": 32 + }, + "end": { + "line": 22, + "column": 38 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 775, - "end": 781, + "operator": "!==", + "right": { + "type": "NumericLiteral", + "start": 741, + "end": 742, "loc": { "start": { - "line": 25, - "column": 32 + "line": 22, + "column": 43 }, "end": { - "line": 25, - "column": 38 - }, - "identifierName": "length" + "line": 22, + "column": 44 + } }, - "name": "length" + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 744, + "end": 770, + "loc": { + "start": { + "line": 22, + "column": 46 }, - "computed": false + "end": { + "line": 24, + "column": 5 + } }, - "operator": "!==", - "right": { - "type": "NumericLiteral", - "start": 786, - "end": 787, - "loc": { - "start": { - "line": 25, - "column": 43 + "body": [ + { + "type": "ReturnStatement", + "start": 752, + "end": 764, + "loc": { + "start": { + "line": 23, + "column": 6 + }, + "end": { + "line": 23, + "column": 18 + } }, - "end": { - "line": 25, - "column": 44 + "argument": { + "type": "NullLiteral", + "start": 759, + "end": 763, + "loc": { + "start": { + "line": 23, + "column": 13 + }, + "end": { + "line": 23, + "column": 17 + } + } } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - } + } + ], + "directives": [] + }, + "alternate": null }, - "consequent": { - "type": "BlockStatement", - "start": 789, - "end": 815, + { + "type": "VariableDeclaration", + "start": 776, + "end": 810, "loc": { "start": { - "line": 25, - "column": 46 + "line": 26, + "column": 4 }, "end": { - "line": 27, - "column": 5 + "line": 26, + "column": 38 } }, - "body": [ + "declarations": [ { - "type": "ReturnStatement", - "start": 797, + "type": "VariableDeclarator", + "start": 782, "end": 809, "loc": { "start": { "line": 26, - "column": 6 + "column": 10 }, "end": { "line": 26, - "column": 18 + "column": 37 } }, - "argument": { - "type": "NullLiteral", - "start": 804, - "end": 808, + "id": { + "type": "Identifier", + "start": 782, + "end": 787, "loc": { "start": { "line": 26, - "column": 13 + "column": 10 }, "end": { "line": 26, - "column": 17 - } - } - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "VariableDeclaration", - "start": 821, - "end": 855, - "loc": { - "start": { - "line": 29, - "column": 4 - }, - "end": { - "line": 29, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 827, - "end": 854, - "loc": { - "start": { - "line": 29, - "column": 10 - }, - "end": { - "line": 29, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 827, - "end": 832, - "loc": { - "start": { - "line": 29, - "column": 10 - }, - "end": { - "line": 29, - "column": 15 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "init": { - "type": "CallExpression", - "start": 835, - "end": 854, - "loc": { - "start": { - "line": 29, - "column": 18 + "column": 15 + }, + "identifierName": "parts" }, - "end": { - "line": 29, - "column": 37 - } + "name": "parts" }, - "callee": { - "type": "MemberExpression", - "start": 835, - "end": 849, + "init": { + "type": "CallExpression", + "start": 790, + "end": 809, "loc": { "start": { - "line": 29, + "line": 26, "column": 18 }, "end": { - "line": 29, - "column": 32 + "line": 26, + "column": 37 } }, - "object": { + "callee": { "type": "MemberExpression", - "start": 835, - "end": 843, + "start": 790, + "end": 804, "loc": { "start": { - "line": 29, + "line": 26, "column": 18 }, "end": { - "line": 29, - "column": 26 + "line": 26, + "column": 32 } }, "object": { - "type": "Identifier", - "start": 835, - "end": 840, + "type": "MemberExpression", + "start": 790, + "end": 798, "loc": { "start": { - "line": 29, + "line": 26, "column": 18 }, "end": { - "line": 29, - "column": 23 + "line": 26, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 790, + "end": 795, + "loc": { + "start": { + "line": 26, + "column": 18 + }, + "end": { + "line": 26, + "column": 23 + }, + "identifierName": "dates" + }, + "name": "dates" + }, + "property": { + "type": "NumericLiteral", + "start": 796, + "end": 797, + "loc": { + "start": { + "line": 26, + "column": 24 + }, + "end": { + "line": 26, + "column": 25 + } }, - "identifierName": "dates" + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 }, - "name": "dates" + "computed": true }, "property": { - "type": "NumericLiteral", - "start": 841, - "end": 842, + "type": "Identifier", + "start": 799, + "end": 804, "loc": { "start": { - "line": 29, - "column": 24 + "line": 26, + "column": 27 }, "end": { - "line": 29, - "column": 25 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" + "line": 26, + "column": 32 + }, + "identifierName": "split" }, - "value": 0 + "name": "split" }, - "computed": true + "computed": false }, - "property": { - "type": "Identifier", - "start": 844, - "end": 849, - "loc": { - "start": { - "line": 29, - "column": 27 - }, - "end": { - "line": 29, - "column": 32 + "arguments": [ + { + "type": "StringLiteral", + "start": 805, + "end": 808, + "loc": { + "start": { + "line": 26, + "column": 33 + }, + "end": { + "line": 26, + "column": 36 + } }, - "identifierName": "split" - }, - "name": "split" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 850, - "end": 853, - "loc": { - "start": { - "line": 29, - "column": 33 + "extra": { + "rawValue": ".", + "raw": "'.'" }, - "end": { - "line": 29, - "column": 36 - } - }, - "extra": { - "rawValue": ".", - "raw": "'.'" - }, - "value": "." - } - ] + "value": "." + } + ] + } } - } - ], - "kind": "const" - }, - { - "type": "ReturnStatement", - "start": 861, - "end": 1093, - "loc": { - "start": { - "line": 31, - "column": 4 - }, - "end": { - "line": 39, - "column": 6 - } + ], + "kind": "const" }, - "argument": { - "type": "NewExpression", - "start": 868, - "end": 1092, + { + "type": "ReturnStatement", + "start": 816, + "end": 1048, "loc": { "start": { - "line": 31, - "column": 11 + "line": 28, + "column": 4 }, "end": { - "line": 39, - "column": 5 + "line": 36, + "column": 6 } }, - "callee": { - "type": "Identifier", - "start": 872, - "end": 881, + "argument": { + "type": "NewExpression", + "start": 823, + "end": 1047, "loc": { "start": { - "line": 31, - "column": 15 + "line": 28, + "column": 11 }, "end": { - "line": 31, - "column": 24 - }, - "identifierName": "LongCount" + "line": 36, + "column": 5 + } }, - "name": "LongCount" - }, - "arguments": [ - { - "type": "SpreadElement", - "start": 889, - "end": 1086, + "callee": { + "type": "Identifier", + "start": 827, + "end": 836, "loc": { "start": { - "line": 32, - "column": 6 + "line": 28, + "column": 15 }, "end": { - "line": 38, - "column": 18 - } + "line": 28, + "column": 24 + }, + "identifierName": "LongCount" }, - "argument": { - "type": "CallExpression", - "start": 892, - "end": 1086, + "name": "LongCount" + }, + "arguments": [ + { + "type": "SpreadElement", + "start": 844, + "end": 1041, "loc": { "start": { - "line": 32, - "column": 9 + "line": 29, + "column": 6 }, "end": { - "line": 38, + "line": 35, "column": 18 } }, - "callee": { - "type": "MemberExpression", - "start": 892, - "end": 1084, + "argument": { + "type": "CallExpression", + "start": 847, + "end": 1041, "loc": { "start": { - "line": 32, + "line": 29, "column": 9 }, "end": { - "line": 38, - "column": 16 + "line": 35, + "column": 18 } }, - "object": { - "type": "CallExpression", - "start": 892, - "end": 1067, + "callee": { + "type": "MemberExpression", + "start": 847, + "end": 1039, "loc": { "start": { - "line": 32, + "line": 29, "column": 9 }, "end": { - "line": 37, - "column": 9 + "line": 35, + "column": 16 } }, - "callee": { - "type": "MemberExpression", - "start": 892, - "end": 987, + "object": { + "type": "CallExpression", + "start": 847, + "end": 1022, "loc": { "start": { - "line": 32, + "line": 29, "column": 9 }, "end": { - "line": 35, - "column": 12 + "line": 34, + "column": 9 } }, - "object": { - "type": "CallExpression", - "start": 892, - "end": 974, + "callee": { + "type": "MemberExpression", + "start": 847, + "end": 942, "loc": { "start": { - "line": 32, + "line": 29, "column": 9 }, "end": { - "line": 34, - "column": 22 + "line": 32, + "column": 12 } }, - "callee": { - "type": "MemberExpression", - "start": 892, - "end": 967, + "object": { + "type": "CallExpression", + "start": 847, + "end": 929, "loc": { "start": { - "line": 32, + "line": 29, "column": 9 }, "end": { - "line": 34, - "column": 15 + "line": 31, + "column": 22 } }, - "object": { - "type": "CallExpression", - "start": 892, - "end": 951, + "callee": { + "type": "MemberExpression", + "start": 847, + "end": 922, "loc": { "start": { - "line": 32, + "line": 29, "column": 9 }, "end": { - "line": 33, - "column": 18 + "line": 31, + "column": 15 } }, - "callee": { - "type": "MemberExpression", - "start": 892, - "end": 946, + "object": { + "type": "CallExpression", + "start": 847, + "end": 906, "loc": { "start": { - "line": 32, + "line": 29, "column": 9 }, "end": { - "line": 33, - "column": 13 + "line": 30, + "column": 18 } }, - "object": { - "type": "NewExpression", - "start": 892, - "end": 932, + "callee": { + "type": "MemberExpression", + "start": 847, + "end": 901, "loc": { "start": { - "line": 32, + "line": 29, "column": 9 }, "end": { - "line": 32, - "column": 49 + "line": 30, + "column": 13 } }, - "callee": { - "type": "Identifier", - "start": 896, - "end": 901, + "object": { + "type": "NewExpression", + "start": 847, + "end": 887, "loc": { "start": { - "line": 32, - "column": 13 + "line": 29, + "column": 9 }, "end": { - "line": 32, - "column": 18 - }, - "identifierName": "Array" + "line": 29, + "column": 49 + } }, - "name": "Array" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 902, - "end": 931, + "callee": { + "type": "Identifier", + "start": 851, + "end": 856, "loc": { "start": { - "line": 32, - "column": 19 + "line": 29, + "column": 13 }, "end": { - "line": 32, - "column": 48 - } + "line": 29, + "column": 18 + }, + "identifierName": "Array" }, - "callee": { - "type": "MemberExpression", - "start": 902, - "end": 910, + "name": "Array" + }, + "arguments": [ + { + "type": "CallExpression", + "start": 857, + "end": 886, "loc": { "start": { - "line": 32, + "line": 29, "column": 19 }, "end": { - "line": 32, - "column": 27 + "line": 29, + "column": 48 } }, - "object": { - "type": "Identifier", - "start": 902, - "end": 906, + "callee": { + "type": "MemberExpression", + "start": 857, + "end": 865, "loc": { "start": { - "line": 32, + "line": 29, "column": 19 }, "end": { - "line": 32, - "column": 23 - }, - "identifierName": "Math" - }, - "name": "Math" - }, - "property": { - "type": "Identifier", - "start": 907, - "end": 910, - "loc": { - "start": { - "line": 32, - "column": 24 - }, - "end": { - "line": 32, + "line": 29, "column": 27 - }, - "identifierName": "max" - }, - "name": "max" - }, - "computed": false - }, - "arguments": [ - { - "type": "BinaryExpression", - "start": 911, - "end": 927, - "loc": { - "start": { - "line": 32, - "column": 28 - }, - "end": { - "line": 32, - "column": 44 } }, - "left": { - "type": "NumericLiteral", - "start": 911, - "end": 912, + "object": { + "type": "Identifier", + "start": 857, + "end": 861, "loc": { "start": { - "line": 32, - "column": 28 + "line": 29, + "column": 19 }, "end": { - "line": 32, - "column": 29 - } + "line": 29, + "column": 23 + }, + "identifierName": "Math" }, - "extra": { - "rawValue": 5, - "raw": "5" + "name": "Math" + }, + "property": { + "type": "Identifier", + "start": 862, + "end": 865, + "loc": { + "start": { + "line": 29, + "column": 24 + }, + "end": { + "line": 29, + "column": 27 + }, + "identifierName": "max" }, - "value": 5 + "name": "max" }, - "operator": "-", - "right": { - "type": "MemberExpression", - "start": 915, - "end": 927, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 866, + "end": 882, "loc": { "start": { - "line": 32, - "column": 32 + "line": 29, + "column": 28 }, "end": { - "line": 32, + "line": 29, "column": 44 } }, - "object": { - "type": "Identifier", - "start": 915, - "end": 920, + "left": { + "type": "NumericLiteral", + "start": 866, + "end": 867, "loc": { "start": { - "line": 32, - "column": 32 + "line": 29, + "column": 28 }, "end": { - "line": 32, - "column": 37 - }, - "identifierName": "parts" + "line": 29, + "column": 29 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" }, - "name": "parts" + "value": 5 }, - "property": { - "type": "Identifier", - "start": 921, - "end": 927, + "operator": "-", + "right": { + "type": "MemberExpression", + "start": 870, + "end": 882, "loc": { "start": { - "line": 32, - "column": 38 + "line": 29, + "column": 32 }, "end": { - "line": 32, + "line": 29, "column": 44 + } + }, + "object": { + "type": "Identifier", + "start": 870, + "end": 875, + "loc": { + "start": { + "line": 29, + "column": 32 + }, + "end": { + "line": 29, + "column": 37 + }, + "identifierName": "parts" }, - "identifierName": "length" + "name": "parts" }, - "name": "length" - }, - "computed": false - } - }, - { - "type": "NumericLiteral", - "start": 929, - "end": 930, - "loc": { - "start": { - "line": 32, - "column": 46 - }, - "end": { - "line": 32, - "column": 47 + "property": { + "type": "Identifier", + "start": 876, + "end": 882, + "loc": { + "start": { + "line": 29, + "column": 38 + }, + "end": { + "line": 29, + "column": 44 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false } }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - ] - } - ] - }, - "property": { - "type": "Identifier", - "start": 942, - "end": 946, - "loc": { - "start": { - "line": 33, - "column": 9 - }, - "end": { - "line": 33, - "column": 13 + { + "type": "NumericLiteral", + "start": 884, + "end": 885, + "loc": { + "start": { + "line": 29, + "column": 46 + }, + "end": { + "line": 29, + "column": 47 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + ] + } + ] + }, + "property": { + "type": "Identifier", + "start": 897, + "end": 901, + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 13 + }, + "identifierName": "fill" }, - "identifierName": "fill" + "name": "fill" }, - "name": "fill" + "computed": false }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 947, - "end": 950, - "loc": { - "start": { - "line": 33, - "column": 14 + "arguments": [ + { + "type": "StringLiteral", + "start": 902, + "end": 905, + "loc": { + "start": { + "line": 30, + "column": 14 + }, + "end": { + "line": 30, + "column": 17 + } }, - "end": { - "line": 33, - "column": 17 - } + "extra": { + "rawValue": "0", + "raw": "'0'" + }, + "value": "0" + } + ] + }, + "property": { + "type": "Identifier", + "start": 916, + "end": 922, + "loc": { + "start": { + "line": 31, + "column": 9 }, - "extra": { - "rawValue": "0", - "raw": "'0'" + "end": { + "line": 31, + "column": 15 }, - "value": "0" - } - ] - }, - "property": { - "type": "Identifier", - "start": 961, - "end": 967, - "loc": { - "start": { - "line": 34, - "column": 9 - }, - "end": { - "line": 34, - "column": 15 + "identifierName": "concat" }, - "identifierName": "concat" + "name": "concat" }, - "name": "concat" + "computed": false }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 968, - "end": 973, - "loc": { - "start": { - "line": 34, - "column": 16 - }, - "end": { - "line": 34, - "column": 21 + "arguments": [ + { + "type": "Identifier", + "start": 923, + "end": 928, + "loc": { + "start": { + "line": 31, + "column": 16 + }, + "end": { + "line": 31, + "column": 21 + }, + "identifierName": "parts" }, - "identifierName": "parts" + "name": "parts" + } + ] + }, + "property": { + "type": "Identifier", + "start": 939, + "end": 942, + "loc": { + "start": { + "line": 32, + "column": 9 }, - "name": "parts" - } - ] - }, - "property": { - "type": "Identifier", - "start": 984, - "end": 987, - "loc": { - "start": { - "line": 35, - "column": 9 - }, - "end": { - "line": 35, - "column": 12 + "end": { + "line": 32, + "column": 12 + }, + "identifierName": "map" }, - "identifierName": "map" + "name": "map" }, - "name": "map" + "computed": false }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 999, - "end": 1057, - "loc": { - "start": { - "line": 36, - "column": 10 - }, - "end": { - "line": 36, - "column": 68 - } - }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 1000, - "end": 1004, - "loc": { - "start": { - "line": 36, - "column": 11 - }, - "end": { - "line": 36, - "column": 15 - }, - "identifierName": "part" - }, - "name": "part" - } - ], - "body": { - "type": "ConditionalExpression", - "start": 1010, - "end": 1056, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 954, + "end": 1012, "loc": { "start": { - "line": 36, - "column": 21 + "line": 33, + "column": 10 }, "end": { - "line": 36, - "column": 67 + "line": 33, + "column": 68 } }, - "test": { - "type": "BinaryExpression", - "start": 1011, - "end": 1023, - "loc": { - "start": { - "line": 36, - "column": 22 - }, - "end": { - "line": 36, - "column": 34 - } - }, - "left": { + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { "type": "Identifier", - "start": 1011, - "end": 1015, + "start": 955, + "end": 959, "loc": { "start": { - "line": 36, - "column": 22 + "line": 33, + "column": 11 }, "end": { - "line": 36, - "column": 26 + "line": 33, + "column": 15 }, "identifierName": "part" }, "name": "part" - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 1020, - "end": 1023, - "loc": { - "start": { - "line": 36, - "column": 31 - }, - "end": { - "line": 36, - "column": 34 - } - }, - "extra": { - "rawValue": "*", - "raw": "'*'" - }, - "value": "*" - }, - "extra": { - "parenthesized": true, - "parenStart": 1010 } - }, - "consequent": { - "type": "Identifier", - "start": 1027, - "end": 1035, - "loc": { - "start": { - "line": 36, - "column": 38 - }, - "end": { - "line": 36, - "column": 46 - }, - "identifierName": "wildcard" - }, - "name": "wildcard" - }, - "alternate": { - "type": "CallExpression", - "start": 1038, - "end": 1056, + ], + "body": { + "type": "ConditionalExpression", + "start": 965, + "end": 1011, "loc": { "start": { - "line": 36, - "column": 49 + "line": 33, + "column": 21 }, "end": { - "line": 36, + "line": 33, "column": 67 } }, - "callee": { - "type": "Identifier", - "start": 1038, - "end": 1046, + "test": { + "type": "BinaryExpression", + "start": 966, + "end": 978, "loc": { "start": { - "line": 36, - "column": 49 + "line": 33, + "column": 22 }, "end": { - "line": 36, - "column": 57 - }, - "identifierName": "parseInt" + "line": 33, + "column": 34 + } }, - "name": "parseInt" - }, - "arguments": [ - { + "left": { "type": "Identifier", - "start": 1047, - "end": 1051, + "start": 966, + "end": 970, "loc": { "start": { - "line": 36, - "column": 58 + "line": 33, + "column": 22 }, "end": { - "line": 36, - "column": 62 + "line": 33, + "column": 26 }, "identifierName": "part" }, "name": "part" }, - { - "type": "NumericLiteral", - "start": 1053, - "end": 1055, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 975, + "end": 978, "loc": { "start": { - "line": 36, - "column": 64 + "line": 33, + "column": 31 }, "end": { - "line": 36, - "column": 66 + "line": 33, + "column": 34 } }, "extra": { - "rawValue": 10, - "raw": "10" + "rawValue": "*", + "raw": "'*'" }, - "value": 10 + "value": "*" + }, + "extra": { + "parenthesized": true, + "parenStart": 965 } - ] - }, - "extra": { - "parenthesized": true, - "parenStart": 1009 + }, + "consequent": { + "type": "Identifier", + "start": 982, + "end": 990, + "loc": { + "start": { + "line": 33, + "column": 38 + }, + "end": { + "line": 33, + "column": 46 + }, + "identifierName": "wildcard" + }, + "name": "wildcard" + }, + "alternate": { + "type": "CallExpression", + "start": 993, + "end": 1011, + "loc": { + "start": { + "line": 33, + "column": 49 + }, + "end": { + "line": 33, + "column": 67 + } + }, + "callee": { + "type": "Identifier", + "start": 993, + "end": 1001, + "loc": { + "start": { + "line": 33, + "column": 49 + }, + "end": { + "line": 33, + "column": 57 + }, + "identifierName": "parseInt" + }, + "name": "parseInt" + }, + "arguments": [ + { + "type": "Identifier", + "start": 1002, + "end": 1006, + "loc": { + "start": { + "line": 33, + "column": 58 + }, + "end": { + "line": 33, + "column": 62 + }, + "identifierName": "part" + }, + "name": "part" + }, + { + "type": "NumericLiteral", + "start": 1008, + "end": 1010, + "loc": { + "start": { + "line": 33, + "column": 64 + }, + "end": { + "line": 33, + "column": 66 + } + }, + "extra": { + "rawValue": 10, + "raw": "10" + }, + "value": 10 + } + ] + }, + "extra": { + "parenthesized": true, + "parenStart": 964 + } } } - } - ] - }, - "property": { - "type": "Identifier", - "start": 1077, - "end": 1084, - "loc": { - "start": { - "line": 38, - "column": 9 - }, - "end": { - "line": 38, - "column": 16 + ] + }, + "property": { + "type": "Identifier", + "start": 1032, + "end": 1039, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 16 + }, + "identifierName": "reverse" }, - "identifierName": "reverse" + "name": "reverse" }, - "name": "reverse" + "computed": false }, - "computed": false - }, - "arguments": [] + "arguments": [] + } } - } - ] - } - } - ], - "directives": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Given a string, parse it and create a Long Count\n * @param {string} raw - A string containing a Long Count\n * @returns {LongCount}\n ", - "start": 438, - "end": 587, - "loc": { - "start": { - "line": 17, - "column": 2 - }, - "end": { - "line": 21, - "column": 5 + ] + } } - } + ], + "directives": [] }, - { - "type": "CommentLine", - "value": " eslint-disable-next-line class-methods-use-this", - "start": 590, - "end": 640, - "loc": { - "start": { - "line": 22, - "column": 2 - }, - "end": { - "line": 22, - "column": 52 + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Given a string, parse it and create a Long Count\n * @param {string} raw - A string containing a Long Count\n * @returns {LongCount}\n ", + "start": 393, + "end": 542, + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 18, + "column": 5 + } + } + }, + { + "type": "CommentLine", + "value": " eslint-disable-next-line class-methods-use-this", + "start": 545, + "end": 595, + "loc": { + "start": { + "line": 19, + "column": 2 + }, + "end": { + "line": 19, + "column": 52 + } } } - } - ] - } - ] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * A factory to create a LongCount object from a string\n * @extends {Factory}\n * @example\n * let cr = new LongCountFactory().parse(\"9.4.2.4.1\");\n * @example\n * let cr = new LongCountFactory().parse(\"9.4.2.*.1\");\n ", - "start": 169, - "end": 394, - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 15, - "column": 3 + ] } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 1101, - "end": 1135, - "loc": { - "start": { - "line": 43, - "column": 0 - }, - "end": { - "line": 43, - "column": 34 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1101, - "end": 1134, - "loc": { - "start": { - "line": 43, - "column": 0 - }, - "end": { - "line": 43, - "column": 33 - } + ] }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1101, - "end": 1115, - "loc": { - "start": { - "line": 43, - "column": 0 - }, - "end": { - "line": 43, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 1101, - "end": 1107, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * A factory to create a LongCount object from a string\n * @extends {Factory}\n * @example\n * let cr = new LongCountFactory().parse(\"9.4.2.4.1\");\n * @example\n * let cr = new LongCountFactory().parse(\"9.4.2.*.1\");\n ", + "start": 109, + "end": 334, "loc": { "start": { - "line": 43, + "line": 5, "column": 0 }, "end": { - "line": 43, - "column": 6 - }, - "identifierName": "module" - }, - "name": "module" - }, - "property": { - "type": "Identifier", - "start": 1108, - "end": 1115, - "loc": { - "start": { - "line": 43, - "column": 7 - }, - "end": { - "line": 43, - "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 1118, - "end": 1134, - "loc": { - "start": { - "line": 43, - "column": 17 - }, - "end": { - "line": 43, - "column": 33 - }, - "identifierName": "LongCountFactory" - }, - "name": "LongCountFactory" - } - } - } - ], - "directives": [] - }, - "comments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 50, - "end": 64, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 112, - "end": 126, - "loc": { - "start": { - "line": 5, - "column": 0 + "line": 12, + "column": 3 + } + } + } + ], + "trailingComments": [] }, - "end": { - "line": 5, - "column": 14 - } + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * A factory to create a LongCount object from a string\n * @extends {Factory}\n * @example\n * let cr = new LongCountFactory().parse(\"9.4.2.4.1\");\n * @example\n * let cr = new LongCountFactory().parse(\"9.4.2.*.1\");\n ", + "start": 109, + "end": 334, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 12, + "column": 3 + } + } + } + ] } - }, + ], + "directives": [] + }, + "comments": [ { "type": "CommentBlock", "value": "*\n * A factory to create a LongCount object from a string\n * @extends {Factory}\n * @example\n * let cr = new LongCountFactory().parse(\"9.4.2.4.1\");\n * @example\n * let cr = new LongCountFactory().parse(\"9.4.2.*.1\");\n ", - "start": 169, - "end": 394, + "start": 109, + "end": 334, "loc": { "start": { - "line": 8, + "line": 5, "column": 0 }, "end": { - "line": 15, + "line": 12, "column": 3 } } @@ -2052,15 +1739,15 @@ { "type": "CommentBlock", "value": "*\n * Given a string, parse it and create a Long Count\n * @param {string} raw - A string containing a Long Count\n * @returns {LongCount}\n ", - "start": 438, - "end": 587, + "start": 393, + "end": 542, "loc": { "start": { - "line": 17, + "line": 14, "column": 2 }, "end": { - "line": 21, + "line": 18, "column": 5 } } @@ -2068,43 +1755,27 @@ { "type": "CommentLine", "value": " eslint-disable-next-line class-methods-use-this", - "start": 590, - "end": 640, + "start": 545, + "end": 595, "loc": { "start": { - "line": 22, + "line": 19, "column": 2 }, "end": { - "line": 22, + "line": 19, "column": 52 } } } ], "tokens": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2113,17 +1784,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 15, - "end": 20, + "value": "import", + "start": 0, + "end": 6, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 5 + "line": 1, + "column": 6 } } }, @@ -2140,43 +1811,16 @@ "binop": null }, "value": "Factory", - "start": 21, - "end": 28, + "start": 7, + "end": 14, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 13 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 29, - "end": 30, - "loc": { - "start": { - "line": 2, + "line": 1, "column": 14 - }, - "end": { - "line": 2, - "column": 15 } } }, @@ -2192,42 +1836,17 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 31, - "end": 38, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 38, - "end": 39, + "value": "from", + "start": 15, + "end": 19, "loc": { "start": { - "line": 2, - "column": 23 + "line": 1, + "column": 15 }, "end": { - "line": 2, - "column": 24 + "line": 1, + "column": 19 } } }, @@ -2245,41 +1864,16 @@ "updateContext": null }, "value": "./base", - "start": 39, - "end": 47, - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 32 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 47, - "end": 48, + "start": 20, + "end": 28, "loc": { "start": { - "line": 2, - "column": 32 + "line": 1, + "column": 20 }, "end": { - "line": 2, - "column": 33 + "line": 1, + "column": 28 } } }, @@ -2296,41 +1890,25 @@ "binop": null, "updateContext": null }, - "start": 48, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 33 - }, - "end": { - "line": 2, - "column": 34 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 50, - "end": 64, + "start": 28, + "end": 29, "loc": { "start": { - "line": 3, - "column": 0 + "line": 1, + "column": 28 }, "end": { - "line": 3, - "column": 14 + "line": 1, + "column": 29 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2339,70 +1917,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 65, - "end": 70, + "value": "import", + "start": 30, + "end": 36, "loc": { "start": { - "line": 4, + "line": 2, "column": 0 }, "end": { - "line": 4, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "LongCount", - "start": 71, - "end": 80, - "loc": { - "start": { - "line": 4, + "line": 2, "column": 6 - }, - "end": { - "line": 4, - "column": 15 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 81, - "end": 82, - "loc": { - "start": { - "line": 4, - "column": 16 - }, - "end": { - "line": 4, - "column": 17 } } }, @@ -2418,48 +1943,23 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 83, - "end": 90, - "loc": { - "start": { - "line": 4, - "column": 18 - }, - "end": { - "line": 4, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 90, - "end": 91, + "value": "LongCount", + "start": 37, + "end": 46, "loc": { "start": { - "line": 4, - "column": 25 + "line": 2, + "column": 7 }, "end": { - "line": 4, - "column": 26 + "line": 2, + "column": 16 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2467,45 +1967,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "../lc/long-count", - "start": 91, - "end": 109, + "value": "from", + "start": 47, + "end": 51, "loc": { "start": { - "line": 4, - "column": 26 + "line": 2, + "column": 17 }, "end": { - "line": 4, - "column": 44 + "line": 2, + "column": 21 } } }, { "type": { - "label": ")", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 109, - "end": 110, + "value": "../lc/long-count", + "start": 52, + "end": 70, "loc": { "start": { - "line": 4, - "column": 44 + "line": 2, + "column": 22 }, "end": { - "line": 4, - "column": 45 + "line": 2, + "column": 40 } } }, @@ -2522,41 +2023,25 @@ "binop": null, "updateContext": null }, - "start": 110, - "end": 111, - "loc": { - "start": { - "line": 4, - "column": 45 - }, - "end": { - "line": 4, - "column": 46 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 112, - "end": 126, + "start": 70, + "end": 71, "loc": { "start": { - "line": 5, - "column": 0 + "line": 2, + "column": 40 }, "end": { - "line": 5, - "column": 14 + "line": 2, + "column": 41 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2565,17 +2050,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 127, - "end": 132, + "value": "import", + "start": 72, + "end": 78, "loc": { "start": { - "line": 6, + "line": 3, "column": 0 }, "end": { - "line": 6, - "column": 5 + "line": 3, + "column": 6 } } }, @@ -2592,49 +2077,48 @@ "binop": null }, "value": "wildcard", - "start": 133, - "end": 141, + "start": 79, + "end": 87, "loc": { "start": { - "line": 6, - "column": 6 + "line": 3, + "column": 7 }, "end": { - "line": 6, - "column": 14 + "line": 3, + "column": 15 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 142, - "end": 143, + "value": "from", + "start": 88, + "end": 92, "loc": { "start": { - "line": 6, - "column": 15 + "line": 3, + "column": 16 }, "end": { - "line": 6, - "column": 16 + "line": 3, + "column": 20 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2642,77 +2126,69 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "require", - "start": 144, - "end": 151, + "value": "../wildcard", + "start": 93, + "end": 106, "loc": { "start": { - "line": 6, - "column": 17 + "line": 3, + "column": 21 }, "end": { - "line": 6, - "column": 24 + "line": 3, + "column": 34 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 151, - "end": 152, + "start": 106, + "end": 107, "loc": { "start": { - "line": 6, - "column": 24 + "line": 3, + "column": 34 }, "end": { - "line": 6, - "column": 25 + "line": 3, + "column": 35 } } }, { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "../wildcard", - "start": 152, - "end": 165, + "type": "CommentBlock", + "value": "*\n * A factory to create a LongCount object from a string\n * @extends {Factory}\n * @example\n * let cr = new LongCountFactory().parse(\"9.4.2.4.1\");\n * @example\n * let cr = new LongCountFactory().parse(\"9.4.2.*.1\");\n ", + "start": 109, + "end": 334, "loc": { "start": { - "line": 6, - "column": 25 + "line": 5, + "column": 0 }, "end": { - "line": 6, - "column": 38 + "line": 12, + "column": 3 } } }, { "type": { - "label": ")", + "label": "export", + "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -2720,24 +2196,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 165, - "end": 166, + "value": "export", + "start": 335, + "end": 341, "loc": { "start": { - "line": 6, - "column": 38 + "line": 13, + "column": 0 }, "end": { - "line": 6, - "column": 39 + "line": 13, + "column": 6 } } }, { "type": { - "label": ";", + "label": "default", + "keyword": "default", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -2748,32 +2227,17 @@ "binop": null, "updateContext": null }, - "start": 166, - "end": 167, - "loc": { - "start": { - "line": 6, - "column": 39 - }, - "end": { - "line": 6, - "column": 40 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * A factory to create a LongCount object from a string\n * @extends {Factory}\n * @example\n * let cr = new LongCountFactory().parse(\"9.4.2.4.1\");\n * @example\n * let cr = new LongCountFactory().parse(\"9.4.2.*.1\");\n ", - "start": 169, - "end": 394, + "value": "default", + "start": 342, + "end": 349, "loc": { "start": { - "line": 8, - "column": 0 + "line": 13, + "column": 7 }, "end": { - "line": 15, - "column": 3 + "line": 13, + "column": 14 } } }, @@ -2792,16 +2256,16 @@ "updateContext": null }, "value": "class", - "start": 395, - "end": 400, + "start": 350, + "end": 355, "loc": { "start": { - "line": 16, - "column": 0 + "line": 13, + "column": 15 }, "end": { - "line": 16, - "column": 5 + "line": 13, + "column": 20 } } }, @@ -2818,16 +2282,16 @@ "binop": null }, "value": "LongCountFactory", - "start": 401, - "end": 417, + "start": 356, + "end": 372, "loc": { "start": { - "line": 16, - "column": 6 + "line": 13, + "column": 21 }, "end": { - "line": 16, - "column": 22 + "line": 13, + "column": 37 } } }, @@ -2846,16 +2310,16 @@ "updateContext": null }, "value": "extends", - "start": 418, - "end": 425, + "start": 373, + "end": 380, "loc": { "start": { - "line": 16, - "column": 23 + "line": 13, + "column": 38 }, "end": { - "line": 16, - "column": 30 + "line": 13, + "column": 45 } } }, @@ -2872,16 +2336,16 @@ "binop": null }, "value": "Factory", - "start": 426, - "end": 433, + "start": 381, + "end": 388, "loc": { "start": { - "line": 16, - "column": 31 + "line": 13, + "column": 46 }, "end": { - "line": 16, - "column": 38 + "line": 13, + "column": 53 } } }, @@ -2897,31 +2361,31 @@ "postfix": false, "binop": null }, - "start": 434, - "end": 435, + "start": 389, + "end": 390, "loc": { "start": { - "line": 16, - "column": 39 + "line": 13, + "column": 54 }, "end": { - "line": 16, - "column": 40 + "line": 13, + "column": 55 } } }, { "type": "CommentBlock", "value": "*\n * Given a string, parse it and create a Long Count\n * @param {string} raw - A string containing a Long Count\n * @returns {LongCount}\n ", - "start": 438, - "end": 587, + "start": 393, + "end": 542, "loc": { "start": { - "line": 17, + "line": 14, "column": 2 }, "end": { - "line": 21, + "line": 18, "column": 5 } } @@ -2929,15 +2393,15 @@ { "type": "CommentLine", "value": " eslint-disable-next-line class-methods-use-this", - "start": 590, - "end": 640, + "start": 545, + "end": 595, "loc": { "start": { - "line": 22, + "line": 19, "column": 2 }, "end": { - "line": 22, + "line": 19, "column": 52 } } @@ -2955,15 +2419,15 @@ "binop": null }, "value": "parse", - "start": 643, - "end": 648, + "start": 598, + "end": 603, "loc": { "start": { - "line": 23, + "line": 20, "column": 2 }, "end": { - "line": 23, + "line": 20, "column": 7 } } @@ -2980,15 +2444,15 @@ "postfix": false, "binop": null }, - "start": 648, - "end": 649, + "start": 603, + "end": 604, "loc": { "start": { - "line": 23, + "line": 20, "column": 7 }, "end": { - "line": 23, + "line": 20, "column": 8 } } @@ -3006,15 +2470,15 @@ "binop": null }, "value": "raw", - "start": 649, - "end": 652, + "start": 604, + "end": 607, "loc": { "start": { - "line": 23, + "line": 20, "column": 8 }, "end": { - "line": 23, + "line": 20, "column": 11 } } @@ -3031,15 +2495,15 @@ "postfix": false, "binop": null }, - "start": 652, - "end": 653, + "start": 607, + "end": 608, "loc": { "start": { - "line": 23, + "line": 20, "column": 11 }, "end": { - "line": 23, + "line": 20, "column": 12 } } @@ -3056,15 +2520,15 @@ "postfix": false, "binop": null }, - "start": 654, - "end": 655, + "start": 609, + "end": 610, "loc": { "start": { - "line": 23, + "line": 20, "column": 13 }, "end": { - "line": 23, + "line": 20, "column": 14 } } @@ -3084,15 +2548,15 @@ "updateContext": null }, "value": "const", - "start": 660, - "end": 665, + "start": 615, + "end": 620, "loc": { "start": { - "line": 24, + "line": 21, "column": 4 }, "end": { - "line": 24, + "line": 21, "column": 9 } } @@ -3110,15 +2574,15 @@ "binop": null }, "value": "dates", - "start": 666, - "end": 671, + "start": 621, + "end": 626, "loc": { "start": { - "line": 24, + "line": 21, "column": 10 }, "end": { - "line": 24, + "line": 21, "column": 15 } } @@ -3137,15 +2601,15 @@ "updateContext": null }, "value": "=", - "start": 672, - "end": 673, + "start": 627, + "end": 628, "loc": { "start": { - "line": 24, + "line": 21, "column": 16 }, "end": { - "line": 24, + "line": 21, "column": 17 } } @@ -3163,15 +2627,15 @@ "binop": null }, "value": "raw", - "start": 674, - "end": 677, + "start": 629, + "end": 632, "loc": { "start": { - "line": 24, + "line": 21, "column": 18 }, "end": { - "line": 24, + "line": 21, "column": 21 } } @@ -3189,15 +2653,15 @@ "binop": null, "updateContext": null }, - "start": 677, - "end": 678, + "start": 632, + "end": 633, "loc": { "start": { - "line": 24, + "line": 21, "column": 21 }, "end": { - "line": 24, + "line": 21, "column": 22 } } @@ -3215,15 +2679,15 @@ "binop": null }, "value": "match", - "start": 678, - "end": 683, + "start": 633, + "end": 638, "loc": { "start": { - "line": 24, + "line": 21, "column": 22 }, "end": { - "line": 24, + "line": 21, "column": 27 } } @@ -3240,15 +2704,15 @@ "postfix": false, "binop": null }, - "start": 683, - "end": 684, + "start": 638, + "end": 639, "loc": { "start": { - "line": 24, + "line": 21, "column": 27 }, "end": { - "line": 24, + "line": 21, "column": 28 } } @@ -3270,15 +2734,15 @@ "pattern": "(?:(?:\\*|(?:[\\d]{1,2}))\\.){1,}(?:(?:\\*)|(?:[\\d]{1,2}))", "flags": "" }, - "start": 684, - "end": 740, + "start": 639, + "end": 695, "loc": { "start": { - "line": 24, + "line": 21, "column": 28 }, "end": { - "line": 24, + "line": 21, "column": 84 } } @@ -3295,15 +2759,15 @@ "postfix": false, "binop": null }, - "start": 740, - "end": 741, + "start": 695, + "end": 696, "loc": { "start": { - "line": 24, + "line": 21, "column": 84 }, "end": { - "line": 24, + "line": 21, "column": 85 } } @@ -3321,15 +2785,15 @@ "binop": null, "updateContext": null }, - "start": 741, - "end": 742, + "start": 696, + "end": 697, "loc": { "start": { - "line": 24, + "line": 21, "column": 85 }, "end": { - "line": 24, + "line": 21, "column": 86 } } @@ -3349,15 +2813,15 @@ "updateContext": null }, "value": "if", - "start": 747, - "end": 749, + "start": 702, + "end": 704, "loc": { "start": { - "line": 25, + "line": 22, "column": 4 }, "end": { - "line": 25, + "line": 22, "column": 6 } } @@ -3374,15 +2838,15 @@ "postfix": false, "binop": null }, - "start": 750, - "end": 751, + "start": 705, + "end": 706, "loc": { "start": { - "line": 25, + "line": 22, "column": 7 }, "end": { - "line": 25, + "line": 22, "column": 8 } } @@ -3400,15 +2864,15 @@ "binop": null }, "value": "dates", - "start": 751, - "end": 756, + "start": 706, + "end": 711, "loc": { "start": { - "line": 25, + "line": 22, "column": 8 }, "end": { - "line": 25, + "line": 22, "column": 13 } } @@ -3427,15 +2891,15 @@ "updateContext": null }, "value": "===", - "start": 757, - "end": 760, + "start": 712, + "end": 715, "loc": { "start": { - "line": 25, + "line": 22, "column": 14 }, "end": { - "line": 25, + "line": 22, "column": 17 } } @@ -3455,15 +2919,15 @@ "updateContext": null }, "value": "null", - "start": 761, - "end": 765, + "start": 716, + "end": 720, "loc": { "start": { - "line": 25, + "line": 22, "column": 18 }, "end": { - "line": 25, + "line": 22, "column": 22 } } @@ -3482,15 +2946,15 @@ "updateContext": null }, "value": "||", - "start": 766, - "end": 768, + "start": 721, + "end": 723, "loc": { "start": { - "line": 25, + "line": 22, "column": 23 }, "end": { - "line": 25, + "line": 22, "column": 25 } } @@ -3508,15 +2972,15 @@ "binop": null }, "value": "dates", - "start": 769, - "end": 774, + "start": 724, + "end": 729, "loc": { "start": { - "line": 25, + "line": 22, "column": 26 }, "end": { - "line": 25, + "line": 22, "column": 31 } } @@ -3534,15 +2998,15 @@ "binop": null, "updateContext": null }, - "start": 774, - "end": 775, + "start": 729, + "end": 730, "loc": { "start": { - "line": 25, + "line": 22, "column": 31 }, "end": { - "line": 25, + "line": 22, "column": 32 } } @@ -3560,15 +3024,15 @@ "binop": null }, "value": "length", - "start": 775, - "end": 781, + "start": 730, + "end": 736, "loc": { "start": { - "line": 25, + "line": 22, "column": 32 }, "end": { - "line": 25, + "line": 22, "column": 38 } } @@ -3587,15 +3051,15 @@ "updateContext": null }, "value": "!==", - "start": 782, - "end": 785, + "start": 737, + "end": 740, "loc": { "start": { - "line": 25, + "line": 22, "column": 39 }, "end": { - "line": 25, + "line": 22, "column": 42 } } @@ -3614,15 +3078,15 @@ "updateContext": null }, "value": 1, - "start": 786, - "end": 787, + "start": 741, + "end": 742, "loc": { "start": { - "line": 25, + "line": 22, "column": 43 }, "end": { - "line": 25, + "line": 22, "column": 44 } } @@ -3639,15 +3103,15 @@ "postfix": false, "binop": null }, - "start": 787, - "end": 788, + "start": 742, + "end": 743, "loc": { "start": { - "line": 25, + "line": 22, "column": 44 }, "end": { - "line": 25, + "line": 22, "column": 45 } } @@ -3664,15 +3128,15 @@ "postfix": false, "binop": null }, - "start": 789, - "end": 790, + "start": 744, + "end": 745, "loc": { "start": { - "line": 25, + "line": 22, "column": 46 }, "end": { - "line": 25, + "line": 22, "column": 47 } } @@ -3692,15 +3156,15 @@ "updateContext": null }, "value": "return", - "start": 797, - "end": 803, + "start": 752, + "end": 758, "loc": { "start": { - "line": 26, + "line": 23, "column": 6 }, "end": { - "line": 26, + "line": 23, "column": 12 } } @@ -3720,15 +3184,15 @@ "updateContext": null }, "value": "null", - "start": 804, - "end": 808, + "start": 759, + "end": 763, "loc": { "start": { - "line": 26, + "line": 23, "column": 13 }, "end": { - "line": 26, + "line": 23, "column": 17 } } @@ -3746,15 +3210,15 @@ "binop": null, "updateContext": null }, - "start": 808, - "end": 809, + "start": 763, + "end": 764, "loc": { "start": { - "line": 26, + "line": 23, "column": 17 }, "end": { - "line": 26, + "line": 23, "column": 18 } } @@ -3771,15 +3235,15 @@ "postfix": false, "binop": null }, - "start": 814, - "end": 815, + "start": 769, + "end": 770, "loc": { "start": { - "line": 27, + "line": 24, "column": 4 }, "end": { - "line": 27, + "line": 24, "column": 5 } } @@ -3799,15 +3263,15 @@ "updateContext": null }, "value": "const", - "start": 821, - "end": 826, + "start": 776, + "end": 781, "loc": { "start": { - "line": 29, + "line": 26, "column": 4 }, "end": { - "line": 29, + "line": 26, "column": 9 } } @@ -3825,15 +3289,15 @@ "binop": null }, "value": "parts", - "start": 827, - "end": 832, + "start": 782, + "end": 787, "loc": { "start": { - "line": 29, + "line": 26, "column": 10 }, "end": { - "line": 29, + "line": 26, "column": 15 } } @@ -3852,15 +3316,15 @@ "updateContext": null }, "value": "=", - "start": 833, - "end": 834, + "start": 788, + "end": 789, "loc": { "start": { - "line": 29, + "line": 26, "column": 16 }, "end": { - "line": 29, + "line": 26, "column": 17 } } @@ -3878,15 +3342,15 @@ "binop": null }, "value": "dates", - "start": 835, - "end": 840, + "start": 790, + "end": 795, "loc": { "start": { - "line": 29, + "line": 26, "column": 18 }, "end": { - "line": 29, + "line": 26, "column": 23 } } @@ -3904,15 +3368,15 @@ "binop": null, "updateContext": null }, - "start": 840, - "end": 841, + "start": 795, + "end": 796, "loc": { "start": { - "line": 29, + "line": 26, "column": 23 }, "end": { - "line": 29, + "line": 26, "column": 24 } } @@ -3931,15 +3395,15 @@ "updateContext": null }, "value": 0, - "start": 841, - "end": 842, + "start": 796, + "end": 797, "loc": { "start": { - "line": 29, + "line": 26, "column": 24 }, "end": { - "line": 29, + "line": 26, "column": 25 } } @@ -3957,15 +3421,15 @@ "binop": null, "updateContext": null }, - "start": 842, - "end": 843, + "start": 797, + "end": 798, "loc": { "start": { - "line": 29, + "line": 26, "column": 25 }, "end": { - "line": 29, + "line": 26, "column": 26 } } @@ -3983,15 +3447,15 @@ "binop": null, "updateContext": null }, - "start": 843, - "end": 844, + "start": 798, + "end": 799, "loc": { "start": { - "line": 29, + "line": 26, "column": 26 }, "end": { - "line": 29, + "line": 26, "column": 27 } } @@ -4009,15 +3473,15 @@ "binop": null }, "value": "split", - "start": 844, - "end": 849, + "start": 799, + "end": 804, "loc": { "start": { - "line": 29, + "line": 26, "column": 27 }, "end": { - "line": 29, + "line": 26, "column": 32 } } @@ -4034,15 +3498,15 @@ "postfix": false, "binop": null }, - "start": 849, - "end": 850, + "start": 804, + "end": 805, "loc": { "start": { - "line": 29, + "line": 26, "column": 32 }, "end": { - "line": 29, + "line": 26, "column": 33 } } @@ -4061,15 +3525,15 @@ "updateContext": null }, "value": ".", - "start": 850, - "end": 853, + "start": 805, + "end": 808, "loc": { "start": { - "line": 29, + "line": 26, "column": 33 }, "end": { - "line": 29, + "line": 26, "column": 36 } } @@ -4086,15 +3550,15 @@ "postfix": false, "binop": null }, - "start": 853, - "end": 854, + "start": 808, + "end": 809, "loc": { "start": { - "line": 29, + "line": 26, "column": 36 }, "end": { - "line": 29, + "line": 26, "column": 37 } } @@ -4112,15 +3576,15 @@ "binop": null, "updateContext": null }, - "start": 854, - "end": 855, + "start": 809, + "end": 810, "loc": { "start": { - "line": 29, + "line": 26, "column": 37 }, "end": { - "line": 29, + "line": 26, "column": 38 } } @@ -4140,15 +3604,15 @@ "updateContext": null }, "value": "return", - "start": 861, - "end": 867, + "start": 816, + "end": 822, "loc": { "start": { - "line": 31, + "line": 28, "column": 4 }, "end": { - "line": 31, + "line": 28, "column": 10 } } @@ -4168,15 +3632,15 @@ "updateContext": null }, "value": "new", - "start": 868, - "end": 871, + "start": 823, + "end": 826, "loc": { "start": { - "line": 31, + "line": 28, "column": 11 }, "end": { - "line": 31, + "line": 28, "column": 14 } } @@ -4194,15 +3658,15 @@ "binop": null }, "value": "LongCount", - "start": 872, - "end": 881, + "start": 827, + "end": 836, "loc": { "start": { - "line": 31, + "line": 28, "column": 15 }, "end": { - "line": 31, + "line": 28, "column": 24 } } @@ -4219,15 +3683,15 @@ "postfix": false, "binop": null }, - "start": 881, - "end": 882, + "start": 836, + "end": 837, "loc": { "start": { - "line": 31, + "line": 28, "column": 24 }, "end": { - "line": 31, + "line": 28, "column": 25 } } @@ -4245,15 +3709,15 @@ "binop": null, "updateContext": null }, - "start": 889, - "end": 892, + "start": 844, + "end": 847, "loc": { "start": { - "line": 32, + "line": 29, "column": 6 }, "end": { - "line": 32, + "line": 29, "column": 9 } } @@ -4273,15 +3737,15 @@ "updateContext": null }, "value": "new", - "start": 892, - "end": 895, + "start": 847, + "end": 850, "loc": { "start": { - "line": 32, + "line": 29, "column": 9 }, "end": { - "line": 32, + "line": 29, "column": 12 } } @@ -4299,15 +3763,15 @@ "binop": null }, "value": "Array", - "start": 896, - "end": 901, + "start": 851, + "end": 856, "loc": { "start": { - "line": 32, + "line": 29, "column": 13 }, "end": { - "line": 32, + "line": 29, "column": 18 } } @@ -4324,15 +3788,15 @@ "postfix": false, "binop": null }, - "start": 901, - "end": 902, + "start": 856, + "end": 857, "loc": { "start": { - "line": 32, + "line": 29, "column": 18 }, "end": { - "line": 32, + "line": 29, "column": 19 } } @@ -4350,15 +3814,15 @@ "binop": null }, "value": "Math", - "start": 902, - "end": 906, + "start": 857, + "end": 861, "loc": { "start": { - "line": 32, + "line": 29, "column": 19 }, "end": { - "line": 32, + "line": 29, "column": 23 } } @@ -4376,15 +3840,15 @@ "binop": null, "updateContext": null }, - "start": 906, - "end": 907, + "start": 861, + "end": 862, "loc": { "start": { - "line": 32, + "line": 29, "column": 23 }, "end": { - "line": 32, + "line": 29, "column": 24 } } @@ -4402,15 +3866,15 @@ "binop": null }, "value": "max", - "start": 907, - "end": 910, + "start": 862, + "end": 865, "loc": { "start": { - "line": 32, + "line": 29, "column": 24 }, "end": { - "line": 32, + "line": 29, "column": 27 } } @@ -4427,15 +3891,15 @@ "postfix": false, "binop": null }, - "start": 910, - "end": 911, + "start": 865, + "end": 866, "loc": { "start": { - "line": 32, + "line": 29, "column": 27 }, "end": { - "line": 32, + "line": 29, "column": 28 } } @@ -4454,15 +3918,15 @@ "updateContext": null }, "value": 5, - "start": 911, - "end": 912, + "start": 866, + "end": 867, "loc": { "start": { - "line": 32, + "line": 29, "column": 28 }, "end": { - "line": 32, + "line": 29, "column": 29 } } @@ -4481,15 +3945,15 @@ "updateContext": null }, "value": "-", - "start": 913, - "end": 914, + "start": 868, + "end": 869, "loc": { "start": { - "line": 32, + "line": 29, "column": 30 }, "end": { - "line": 32, + "line": 29, "column": 31 } } @@ -4507,15 +3971,15 @@ "binop": null }, "value": "parts", - "start": 915, - "end": 920, + "start": 870, + "end": 875, "loc": { "start": { - "line": 32, + "line": 29, "column": 32 }, "end": { - "line": 32, + "line": 29, "column": 37 } } @@ -4533,15 +3997,15 @@ "binop": null, "updateContext": null }, - "start": 920, - "end": 921, + "start": 875, + "end": 876, "loc": { "start": { - "line": 32, + "line": 29, "column": 37 }, "end": { - "line": 32, + "line": 29, "column": 38 } } @@ -4559,15 +4023,15 @@ "binop": null }, "value": "length", - "start": 921, - "end": 927, + "start": 876, + "end": 882, "loc": { "start": { - "line": 32, + "line": 29, "column": 38 }, "end": { - "line": 32, + "line": 29, "column": 44 } } @@ -4585,15 +4049,15 @@ "binop": null, "updateContext": null }, - "start": 927, - "end": 928, + "start": 882, + "end": 883, "loc": { "start": { - "line": 32, + "line": 29, "column": 44 }, "end": { - "line": 32, + "line": 29, "column": 45 } } @@ -4612,15 +4076,15 @@ "updateContext": null }, "value": 0, - "start": 929, - "end": 930, + "start": 884, + "end": 885, "loc": { "start": { - "line": 32, + "line": 29, "column": 46 }, "end": { - "line": 32, + "line": 29, "column": 47 } } @@ -4637,15 +4101,15 @@ "postfix": false, "binop": null }, - "start": 930, - "end": 931, + "start": 885, + "end": 886, "loc": { "start": { - "line": 32, + "line": 29, "column": 47 }, "end": { - "line": 32, + "line": 29, "column": 48 } } @@ -4662,15 +4126,15 @@ "postfix": false, "binop": null }, - "start": 931, - "end": 932, + "start": 886, + "end": 887, "loc": { "start": { - "line": 32, + "line": 29, "column": 48 }, "end": { - "line": 32, + "line": 29, "column": 49 } } @@ -4688,15 +4152,15 @@ "binop": null, "updateContext": null }, - "start": 941, - "end": 942, + "start": 896, + "end": 897, "loc": { "start": { - "line": 33, + "line": 30, "column": 8 }, "end": { - "line": 33, + "line": 30, "column": 9 } } @@ -4714,15 +4178,15 @@ "binop": null }, "value": "fill", - "start": 942, - "end": 946, + "start": 897, + "end": 901, "loc": { "start": { - "line": 33, + "line": 30, "column": 9 }, "end": { - "line": 33, + "line": 30, "column": 13 } } @@ -4739,15 +4203,15 @@ "postfix": false, "binop": null }, - "start": 946, - "end": 947, + "start": 901, + "end": 902, "loc": { "start": { - "line": 33, + "line": 30, "column": 13 }, "end": { - "line": 33, + "line": 30, "column": 14 } } @@ -4766,15 +4230,15 @@ "updateContext": null }, "value": "0", - "start": 947, - "end": 950, + "start": 902, + "end": 905, "loc": { "start": { - "line": 33, + "line": 30, "column": 14 }, "end": { - "line": 33, + "line": 30, "column": 17 } } @@ -4791,15 +4255,15 @@ "postfix": false, "binop": null }, - "start": 950, - "end": 951, + "start": 905, + "end": 906, "loc": { "start": { - "line": 33, + "line": 30, "column": 17 }, "end": { - "line": 33, + "line": 30, "column": 18 } } @@ -4817,15 +4281,15 @@ "binop": null, "updateContext": null }, - "start": 960, - "end": 961, + "start": 915, + "end": 916, "loc": { "start": { - "line": 34, + "line": 31, "column": 8 }, "end": { - "line": 34, + "line": 31, "column": 9 } } @@ -4843,15 +4307,15 @@ "binop": null }, "value": "concat", - "start": 961, - "end": 967, + "start": 916, + "end": 922, "loc": { "start": { - "line": 34, + "line": 31, "column": 9 }, "end": { - "line": 34, + "line": 31, "column": 15 } } @@ -4868,15 +4332,15 @@ "postfix": false, "binop": null }, - "start": 967, - "end": 968, + "start": 922, + "end": 923, "loc": { "start": { - "line": 34, + "line": 31, "column": 15 }, "end": { - "line": 34, + "line": 31, "column": 16 } } @@ -4894,15 +4358,15 @@ "binop": null }, "value": "parts", - "start": 968, - "end": 973, + "start": 923, + "end": 928, "loc": { "start": { - "line": 34, + "line": 31, "column": 16 }, "end": { - "line": 34, + "line": 31, "column": 21 } } @@ -4919,15 +4383,15 @@ "postfix": false, "binop": null }, - "start": 973, - "end": 974, + "start": 928, + "end": 929, "loc": { "start": { - "line": 34, + "line": 31, "column": 21 }, "end": { - "line": 34, + "line": 31, "column": 22 } } @@ -4945,15 +4409,15 @@ "binop": null, "updateContext": null }, - "start": 983, - "end": 984, + "start": 938, + "end": 939, "loc": { "start": { - "line": 35, + "line": 32, "column": 8 }, "end": { - "line": 35, + "line": 32, "column": 9 } } @@ -4971,15 +4435,15 @@ "binop": null }, "value": "map", - "start": 984, - "end": 987, + "start": 939, + "end": 942, "loc": { "start": { - "line": 35, + "line": 32, "column": 9 }, "end": { - "line": 35, + "line": 32, "column": 12 } } @@ -4996,15 +4460,15 @@ "postfix": false, "binop": null }, - "start": 987, - "end": 988, + "start": 942, + "end": 943, "loc": { "start": { - "line": 35, + "line": 32, "column": 12 }, "end": { - "line": 35, + "line": 32, "column": 13 } } @@ -5021,15 +4485,15 @@ "postfix": false, "binop": null }, - "start": 999, - "end": 1000, + "start": 954, + "end": 955, "loc": { "start": { - "line": 36, + "line": 33, "column": 10 }, "end": { - "line": 36, + "line": 33, "column": 11 } } @@ -5047,15 +4511,15 @@ "binop": null }, "value": "part", - "start": 1000, - "end": 1004, + "start": 955, + "end": 959, "loc": { "start": { - "line": 36, + "line": 33, "column": 11 }, "end": { - "line": 36, + "line": 33, "column": 15 } } @@ -5072,15 +4536,15 @@ "postfix": false, "binop": null }, - "start": 1004, - "end": 1005, + "start": 959, + "end": 960, "loc": { "start": { - "line": 36, + "line": 33, "column": 15 }, "end": { - "line": 36, + "line": 33, "column": 16 } } @@ -5098,15 +4562,15 @@ "binop": null, "updateContext": null }, - "start": 1006, - "end": 1008, + "start": 961, + "end": 963, "loc": { "start": { - "line": 36, + "line": 33, "column": 17 }, "end": { - "line": 36, + "line": 33, "column": 19 } } @@ -5123,15 +4587,15 @@ "postfix": false, "binop": null }, - "start": 1009, - "end": 1010, + "start": 964, + "end": 965, "loc": { "start": { - "line": 36, + "line": 33, "column": 20 }, "end": { - "line": 36, + "line": 33, "column": 21 } } @@ -5148,15 +4612,15 @@ "postfix": false, "binop": null }, - "start": 1010, - "end": 1011, + "start": 965, + "end": 966, "loc": { "start": { - "line": 36, + "line": 33, "column": 21 }, "end": { - "line": 36, + "line": 33, "column": 22 } } @@ -5174,15 +4638,15 @@ "binop": null }, "value": "part", - "start": 1011, - "end": 1015, + "start": 966, + "end": 970, "loc": { "start": { - "line": 36, + "line": 33, "column": 22 }, "end": { - "line": 36, + "line": 33, "column": 26 } } @@ -5201,15 +4665,15 @@ "updateContext": null }, "value": "===", - "start": 1016, - "end": 1019, + "start": 971, + "end": 974, "loc": { "start": { - "line": 36, + "line": 33, "column": 27 }, "end": { - "line": 36, + "line": 33, "column": 30 } } @@ -5228,15 +4692,15 @@ "updateContext": null }, "value": "*", - "start": 1020, - "end": 1023, + "start": 975, + "end": 978, "loc": { "start": { - "line": 36, + "line": 33, "column": 31 }, "end": { - "line": 36, + "line": 33, "column": 34 } } @@ -5253,15 +4717,15 @@ "postfix": false, "binop": null }, - "start": 1023, - "end": 1024, + "start": 978, + "end": 979, "loc": { "start": { - "line": 36, + "line": 33, "column": 34 }, "end": { - "line": 36, + "line": 33, "column": 35 } } @@ -5279,15 +4743,15 @@ "binop": null, "updateContext": null }, - "start": 1025, - "end": 1026, + "start": 980, + "end": 981, "loc": { "start": { - "line": 36, + "line": 33, "column": 36 }, "end": { - "line": 36, + "line": 33, "column": 37 } } @@ -5305,15 +4769,15 @@ "binop": null }, "value": "wildcard", - "start": 1027, - "end": 1035, + "start": 982, + "end": 990, "loc": { "start": { - "line": 36, + "line": 33, "column": 38 }, "end": { - "line": 36, + "line": 33, "column": 46 } } @@ -5331,15 +4795,15 @@ "binop": null, "updateContext": null }, - "start": 1036, - "end": 1037, + "start": 991, + "end": 992, "loc": { "start": { - "line": 36, + "line": 33, "column": 47 }, "end": { - "line": 36, + "line": 33, "column": 48 } } @@ -5357,15 +4821,15 @@ "binop": null }, "value": "parseInt", - "start": 1038, - "end": 1046, + "start": 993, + "end": 1001, "loc": { "start": { - "line": 36, + "line": 33, "column": 49 }, "end": { - "line": 36, + "line": 33, "column": 57 } } @@ -5382,15 +4846,15 @@ "postfix": false, "binop": null }, - "start": 1046, - "end": 1047, + "start": 1001, + "end": 1002, "loc": { "start": { - "line": 36, + "line": 33, "column": 57 }, "end": { - "line": 36, + "line": 33, "column": 58 } } @@ -5408,15 +4872,15 @@ "binop": null }, "value": "part", - "start": 1047, - "end": 1051, + "start": 1002, + "end": 1006, "loc": { "start": { - "line": 36, + "line": 33, "column": 58 }, "end": { - "line": 36, + "line": 33, "column": 62 } } @@ -5434,15 +4898,15 @@ "binop": null, "updateContext": null }, - "start": 1051, - "end": 1052, + "start": 1006, + "end": 1007, "loc": { "start": { - "line": 36, + "line": 33, "column": 62 }, "end": { - "line": 36, + "line": 33, "column": 63 } } @@ -5461,15 +4925,15 @@ "updateContext": null }, "value": 10, - "start": 1053, - "end": 1055, + "start": 1008, + "end": 1010, "loc": { "start": { - "line": 36, + "line": 33, "column": 64 }, "end": { - "line": 36, + "line": 33, "column": 66 } } @@ -5486,15 +4950,15 @@ "postfix": false, "binop": null }, - "start": 1055, - "end": 1056, + "start": 1010, + "end": 1011, "loc": { "start": { - "line": 36, + "line": 33, "column": 66 }, "end": { - "line": 36, + "line": 33, "column": 67 } } @@ -5511,15 +4975,15 @@ "postfix": false, "binop": null }, - "start": 1056, - "end": 1057, + "start": 1011, + "end": 1012, "loc": { "start": { - "line": 36, + "line": 33, "column": 67 }, "end": { - "line": 36, + "line": 33, "column": 68 } } @@ -5536,15 +5000,15 @@ "postfix": false, "binop": null }, - "start": 1066, - "end": 1067, + "start": 1021, + "end": 1022, "loc": { "start": { - "line": 37, + "line": 34, "column": 8 }, "end": { - "line": 37, + "line": 34, "column": 9 } } @@ -5562,15 +5026,15 @@ "binop": null, "updateContext": null }, - "start": 1076, - "end": 1077, + "start": 1031, + "end": 1032, "loc": { "start": { - "line": 38, + "line": 35, "column": 8 }, "end": { - "line": 38, + "line": 35, "column": 9 } } @@ -5588,15 +5052,15 @@ "binop": null }, "value": "reverse", - "start": 1077, - "end": 1084, + "start": 1032, + "end": 1039, "loc": { "start": { - "line": 38, + "line": 35, "column": 9 }, "end": { - "line": 38, + "line": 35, "column": 16 } } @@ -5613,15 +5077,15 @@ "postfix": false, "binop": null }, - "start": 1084, - "end": 1085, + "start": 1039, + "end": 1040, "loc": { "start": { - "line": 38, + "line": 35, "column": 16 }, "end": { - "line": 38, + "line": 35, "column": 17 } } @@ -5638,15 +5102,15 @@ "postfix": false, "binop": null }, - "start": 1085, - "end": 1086, + "start": 1040, + "end": 1041, "loc": { "start": { - "line": 38, + "line": 35, "column": 17 }, "end": { - "line": 38, + "line": 35, "column": 18 } } @@ -5663,15 +5127,15 @@ "postfix": false, "binop": null }, - "start": 1091, - "end": 1092, + "start": 1046, + "end": 1047, "loc": { "start": { - "line": 39, + "line": 36, "column": 4 }, "end": { - "line": 39, + "line": 36, "column": 5 } } @@ -5689,15 +5153,15 @@ "binop": null, "updateContext": null }, - "start": 1092, - "end": 1093, + "start": 1047, + "end": 1048, "loc": { "start": { - "line": 39, + "line": 36, "column": 5 }, "end": { - "line": 39, + "line": 36, "column": 6 } } @@ -5714,15 +5178,15 @@ "postfix": false, "binop": null }, - "start": 1096, - "end": 1097, + "start": 1051, + "end": 1052, "loc": { "start": { - "line": 40, + "line": 37, "column": 2 }, "end": { - "line": 40, + "line": 37, "column": 3 } } @@ -5739,176 +5203,19 @@ "postfix": false, "binop": null }, - "start": 1098, - "end": 1099, + "start": 1053, + "end": 1054, "loc": { "start": { - "line": 41, + "line": 38, "column": 0 }, "end": { - "line": 41, + "line": 38, "column": 1 } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "module", - "start": 1101, - "end": 1107, - "loc": { - "start": { - "line": 43, - "column": 0 - }, - "end": { - "line": 43, - "column": 6 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1107, - "end": 1108, - "loc": { - "start": { - "line": 43, - "column": 6 - }, - "end": { - "line": 43, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "exports", - "start": 1108, - "end": 1115, - "loc": { - "start": { - "line": 43, - "column": 7 - }, - "end": { - "line": 43, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1116, - "end": 1117, - "loc": { - "start": { - "line": 43, - "column": 15 - }, - "end": { - "line": 43, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "LongCountFactory", - "start": 1118, - "end": 1134, - "loc": { - "start": { - "line": 43, - "column": 17 - }, - "end": { - "line": 43, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1134, - "end": 1135, - "loc": { - "start": { - "line": 43, - "column": 33 - }, - "end": { - "line": 43, - "column": 34 - } - } - }, { "type": { "label": "eof", @@ -5922,15 +5229,15 @@ "binop": null, "updateContext": null }, - "start": 1136, - "end": 1136, + "start": 1055, + "end": 1055, "loc": { "start": { - "line": 44, + "line": 39, "column": 0 }, "end": { - "line": 44, + "line": 39, "column": 0 } } diff --git a/docs/ast/source/full-date.js.json b/docs/ast/source/full-date.js.json index 6cfc3fc..9c08499 100644 --- a/docs/ast/source/full-date.js.json +++ b/docs/ast/source/full-date.js.json @@ -1,37 +1,37 @@ { "type": "File", "start": 0, - "end": 508, + "end": 495, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 31, + "line": 29, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 508, + "end": 495, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 31, + "line": 29, "column": 0 } }, "sourceType": "module", "body": [ { - "type": "ClassDeclaration", + "type": "ExportDefaultDeclaration", "start": 86, - "end": 479, + "end": 494, "loc": { "start": { "line": 4, @@ -42,29 +42,10 @@ "column": 1 } }, - "id": { - "type": "Identifier", - "start": 92, - "end": 100, - "loc": { - "start": { - "line": 4, - "column": 6 - }, - "end": { - "line": 4, - "column": 14 - }, - "identifierName": "FullDate" - }, - "name": "FullDate", - "leadingComments": null - }, - "superClass": null, - "body": { - "type": "ClassBody", + "declaration": { + "type": "ClassDeclaration", "start": 101, - "end": 479, + "end": 494, "loc": { "start": { "line": 4, @@ -75,115 +56,134 @@ "column": 1 } }, - "body": [ - { - "type": "ClassMethod", - "start": 175, - "end": 323, - "loc": { - "start": { - "line": 9, - "column": 2 - }, - "end": { - "line": 19, - "column": 3 - } + "id": { + "type": "Identifier", + "start": 107, + "end": 115, + "loc": { + "start": { + "line": 4, + "column": 21 + }, + "end": { + "line": 4, + "column": 29 + }, + "identifierName": "FullDate" + }, + "name": "FullDate", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 116, + "end": 494, + "loc": { + "start": { + "line": 4, + "column": 30 }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 175, - "end": 186, + "end": { + "line": 28, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 190, + "end": 338, "loc": { "start": { "line": 9, "column": 2 }, "end": { - "line": 9, - "column": 13 - }, - "identifierName": "constructor" + "line": 19, + "column": 3 + } }, - "name": "constructor", - "leadingComments": null - }, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 187, - "end": 189, + "start": 190, + "end": 201, "loc": { "start": { "line": 9, - "column": 14 + "column": 2 }, "end": { "line": 9, - "column": 16 + "column": 13 }, - "identifierName": "cr" + "identifierName": "constructor" }, - "name": "cr" + "name": "constructor", + "leadingComments": null }, - { - "type": "Identifier", - "start": 191, - "end": 193, - "loc": { - "start": { - "line": 9, - "column": 18 - }, - "end": { - "line": 9, - "column": 20 + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 202, + "end": 204, + "loc": { + "start": { + "line": 9, + "column": 14 + }, + "end": { + "line": 9, + "column": 16 + }, + "identifierName": "cr" }, - "identifierName": "lc" - }, - "name": "lc" - } - ], - "body": { - "type": "BlockStatement", - "start": 195, - "end": 323, - "loc": { - "start": { - "line": 9, - "column": 22 + "name": "cr" }, - "end": { - "line": 19, - "column": 3 - } - }, - "body": [ { - "type": "ExpressionStatement", - "start": 246, - "end": 259, + "type": "Identifier", + "start": 206, + "end": 208, "loc": { "start": { - "line": 13, - "column": 4 + "line": 9, + "column": 18 }, "end": { - "line": 13, - "column": 17 - } + "line": 9, + "column": 20 + }, + "identifierName": "lc" + }, + "name": "lc" + } + ], + "body": { + "type": "BlockStatement", + "start": 210, + "end": 338, + "loc": { + "start": { + "line": 9, + "column": 22 }, - "expression": { - "type": "AssignmentExpression", - "start": 246, - "end": 258, + "end": { + "line": 19, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 261, + "end": 274, "loc": { "start": { "line": 13, @@ -191,14 +191,13 @@ }, "end": { "line": 13, - "column": 16 + "column": 17 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 246, - "end": 253, + "expression": { + "type": "AssignmentExpression", + "start": 261, + "end": 273, "loc": { "start": { "line": 13, @@ -206,13 +205,14 @@ }, "end": { "line": 13, - "column": 11 + "column": 16 } }, - "object": { - "type": "ThisExpression", - "start": 246, - "end": 250, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 261, + "end": 268, "loc": { "start": { "line": 13, @@ -220,105 +220,105 @@ }, "end": { "line": 13, - "column": 8 + "column": 11 } }, + "object": { + "type": "ThisExpression", + "start": 261, + "end": 265, + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 13, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 266, + "end": 268, + "loc": { + "start": { + "line": 13, + "column": 9 + }, + "end": { + "line": 13, + "column": 11 + }, + "identifierName": "cr" + }, + "name": "cr" + }, + "computed": false, "leadingComments": null }, - "property": { + "right": { "type": "Identifier", - "start": 251, - "end": 253, + "start": 271, + "end": 273, "loc": { "start": { "line": 13, - "column": 9 + "column": 14 }, "end": { "line": 13, - "column": 11 + "column": 16 }, "identifierName": "cr" }, "name": "cr" }, - "computed": false, "leadingComments": null }, - "right": { - "type": "Identifier", - "start": 256, - "end": 258, - "loc": { - "start": { - "line": 13, - "column": 14 - }, - "end": { - "line": 13, - "column": 16 - }, - "identifierName": "cr" - }, - "name": "cr" - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @type {CalendarRound}\n ", - "start": 201, - "end": 241, - "loc": { - "start": { - "line": 10, - "column": 4 - }, - "end": { - "line": 12, - "column": 7 + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @type {CalendarRound}\n ", + "start": 216, + "end": 256, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 12, + "column": 7 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @type {LongCount}\n ", - "start": 265, - "end": 301, - "loc": { - "start": { - "line": 15, - "column": 4 - }, - "end": { - "line": 17, - "column": 7 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @type {LongCount}\n ", + "start": 280, + "end": 316, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 + } } } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 306, - "end": 319, - "loc": { - "start": { - "line": 18, - "column": 4 - }, - "end": { - "line": 18, - "column": 17 - } + ] }, - "expression": { - "type": "AssignmentExpression", - "start": 306, - "end": 318, + { + "type": "ExpressionStatement", + "start": 321, + "end": 334, "loc": { "start": { "line": 18, @@ -326,14 +326,13 @@ }, "end": { "line": 18, - "column": 16 + "column": 17 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 306, - "end": 313, + "expression": { + "type": "AssignmentExpression", + "start": 321, + "end": 333, "loc": { "start": { "line": 18, @@ -341,13 +340,14 @@ }, "end": { "line": 18, - "column": 11 + "column": 16 } }, - "object": { - "type": "ThisExpression", - "start": 306, - "end": 310, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 321, + "end": 328, "loc": { "start": { "line": 18, @@ -355,212 +355,212 @@ }, "end": { "line": 18, - "column": 8 + "column": 11 } }, + "object": { + "type": "ThisExpression", + "start": 321, + "end": 325, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 326, + "end": 328, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 11 + }, + "identifierName": "lc" + }, + "name": "lc" + }, + "computed": false, "leadingComments": null }, - "property": { + "right": { "type": "Identifier", - "start": 311, - "end": 313, + "start": 331, + "end": 333, "loc": { "start": { "line": 18, - "column": 9 + "column": 14 }, "end": { "line": 18, - "column": 11 + "column": 16 }, "identifierName": "lc" }, "name": "lc" }, - "computed": false, "leadingComments": null }, - "right": { - "type": "Identifier", - "start": 316, - "end": 318, - "loc": { - "start": { - "line": 18, - "column": 14 - }, - "end": { - "line": 18, - "column": 16 - }, - "identifierName": "lc" - }, - "name": "lc" - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @type {LongCount}\n ", - "start": 265, - "end": 301, - "loc": { - "start": { - "line": 15, - "column": 4 - }, - "end": { - "line": 17, - "column": 7 + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @type {LongCount}\n ", + "start": 280, + "end": 316, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 + } } } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {CalendarRound} cr\n * @param {LongCount} lc\n ", + "start": 120, + "end": 187, + "loc": { + "start": { + "line": 5, + "column": 2 + }, + "end": { + "line": 8, + "column": 5 } - ] - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @param {CalendarRound} cr\n * @param {LongCount} lc\n ", - "start": 105, - "end": 172, - "loc": { - "start": { - "line": 5, - "column": 2 - }, - "end": { - "line": 8, - "column": 5 } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Render the FullDate as a string of both the CR and the LC\n * @returns {string}\n ", - "start": 327, - "end": 422, - "loc": { - "start": { - "line": 21, - "column": 2 - }, - "end": { - "line": 24, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Render the FullDate as a string of both the CR and the LC\n * @returns {string}\n ", + "start": 342, + "end": 437, + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 24, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 425, - "end": 477, - "loc": { - "start": { - "line": 25, - "column": 2 - }, - "end": { - "line": 27, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 425, - "end": 433, + { + "type": "ClassMethod", + "start": 440, + "end": 492, "loc": { "start": { "line": 25, "column": 2 }, - "end": { - "line": 25, - "column": 10 - }, - "identifierName": "toString" - }, - "name": "toString", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 436, - "end": 477, - "loc": { - "start": { - "line": 25, - "column": 13 - }, "end": { "line": 27, "column": 3 } }, - "body": [ - { - "type": "ReturnStatement", - "start": 442, - "end": 473, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 26, - "column": 35 - } + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 440, + "end": 448, + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 10 }, - "argument": { - "type": "TemplateLiteral", - "start": 449, - "end": 472, + "identifierName": "toString" + }, + "name": "toString", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 451, + "end": 492, + "loc": { + "start": { + "line": 25, + "column": 13 + }, + "end": { + "line": 27, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 457, + "end": 488, "loc": { "start": { "line": 26, - "column": 11 + "column": 4 }, "end": { "line": 26, - "column": 34 + "column": 35 } }, - "expressions": [ - { - "type": "MemberExpression", - "start": 452, - "end": 459, - "loc": { - "start": { - "line": 26, - "column": 14 - }, - "end": { - "line": 26, - "column": 21 - } + "argument": { + "type": "TemplateLiteral", + "start": 464, + "end": 487, + "loc": { + "start": { + "line": 26, + "column": 11 }, - "object": { - "type": "ThisExpression", - "start": 452, - "end": 456, + "end": { + "line": 26, + "column": 34 + } + }, + "expressions": [ + { + "type": "MemberExpression", + "start": 467, + "end": 474, "loc": { "start": { "line": 26, @@ -568,282 +568,218 @@ }, "end": { "line": 26, - "column": 18 + "column": 21 } - } + }, + "object": { + "type": "ThisExpression", + "start": 467, + "end": 471, + "loc": { + "start": { + "line": 26, + "column": 14 + }, + "end": { + "line": 26, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "start": 472, + "end": 474, + "loc": { + "start": { + "line": 26, + "column": 19 + }, + "end": { + "line": 26, + "column": 21 + }, + "identifierName": "cr" + }, + "name": "cr" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 457, - "end": 459, + { + "type": "MemberExpression", + "start": 478, + "end": 485, "loc": { "start": { "line": 26, - "column": 19 + "column": 25 }, "end": { "line": 26, - "column": 21 - }, - "identifierName": "cr" + "column": 32 + } }, - "name": "cr" - }, - "computed": false - }, - { - "type": "MemberExpression", - "start": 463, - "end": 470, - "loc": { - "start": { - "line": 26, - "column": 25 + "object": { + "type": "ThisExpression", + "start": 478, + "end": 482, + "loc": { + "start": { + "line": 26, + "column": 25 + }, + "end": { + "line": 26, + "column": 29 + } + } }, - "end": { - "line": 26, - "column": 32 - } - }, - "object": { - "type": "ThisExpression", - "start": 463, - "end": 467, + "property": { + "type": "Identifier", + "start": 483, + "end": 485, + "loc": { + "start": { + "line": 26, + "column": 30 + }, + "end": { + "line": 26, + "column": 32 + }, + "identifierName": "lc" + }, + "name": "lc" + }, + "computed": false + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 465, + "end": 465, "loc": { "start": { "line": 26, - "column": 25 + "column": 12 }, "end": { "line": 26, - "column": 29 + "column": 12 } - } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": false }, - "property": { - "type": "Identifier", - "start": 468, - "end": 470, + { + "type": "TemplateElement", + "start": 475, + "end": 476, "loc": { "start": { "line": 26, - "column": 30 + "column": 22 }, "end": { "line": 26, - "column": 32 - }, - "identifierName": "lc" + "column": 23 + } }, - "name": "lc" - }, - "computed": false - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 450, - "end": 450, - "loc": { - "start": { - "line": 26, - "column": 12 + "value": { + "raw": " ", + "cooked": " " }, - "end": { - "line": 26, - "column": 12 - } + "tail": false }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 460, - "end": 461, - "loc": { - "start": { - "line": 26, - "column": 22 + { + "type": "TemplateElement", + "start": 486, + "end": 486, + "loc": { + "start": { + "line": 26, + "column": 33 + }, + "end": { + "line": 26, + "column": 33 + } }, - "end": { - "line": 26, - "column": 23 - } - }, - "value": { - "raw": " ", - "cooked": " " - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 471, - "end": 471, - "loc": { - "start": { - "line": 26, - "column": 33 + "value": { + "raw": "", + "cooked": "" }, - "end": { - "line": 26, - "column": 33 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": true - } - ] + "tail": true + } + ] + } } - } - ], - "directives": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Render the FullDate as a string of both the CR and the LC\n * @returns {string}\n ", - "start": 327, - "end": 422, - "loc": { - "start": { - "line": 21, - "column": 2 - }, - "end": { - "line": 24, - "column": 5 + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Render the FullDate as a string of both the CR and the LC\n * @returns {string}\n ", + "start": 342, + "end": 437, + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 24, + "column": 5 + } } } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * An encapsulation of a LongCount and Calendar Round which match each other.\n ", + "start": 0, + "end": 85, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 3, + "column": 3 } - ] + } } - ] + ], + "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * An encapsulation of a LongCount and Calendar Round which match each other.\n ", "start": 0, - "end": 85, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 3, - "column": 3 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 481, - "end": 507, - "loc": { - "start": { - "line": 30, - "column": 0 - }, - "end": { - "line": 30, - "column": 26 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 481, - "end": 506, - "loc": { - "start": { - "line": 30, - "column": 0 - }, - "end": { - "line": 30, - "column": 25 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 481, - "end": 495, - "loc": { - "start": { - "line": 30, - "column": 0 - }, - "end": { - "line": 30, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 481, - "end": 487, - "loc": { - "start": { - "line": 30, - "column": 0 - }, - "end": { - "line": 30, - "column": 6 - }, - "identifierName": "module" - }, - "name": "module" - }, - "property": { - "type": "Identifier", - "start": 488, - "end": 495, - "loc": { - "start": { - "line": 30, - "column": 7 - }, - "end": { - "line": 30, - "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 498, - "end": 506, + "end": 85, "loc": { "start": { - "line": 30, - "column": 17 + "line": 1, + "column": 0 }, "end": { - "line": 30, - "column": 25 - }, - "identifierName": "FullDate" - }, - "name": "FullDate" + "line": 3, + "column": 3 + } + } } - } + ] } ], "directives": [] @@ -868,8 +804,8 @@ { "type": "CommentBlock", "value": "*\n * @param {CalendarRound} cr\n * @param {LongCount} lc\n ", - "start": 105, - "end": 172, + "start": 120, + "end": 187, "loc": { "start": { "line": 5, @@ -884,8 +820,8 @@ { "type": "CommentBlock", "value": "*\n * @type {CalendarRound}\n ", - "start": 201, - "end": 241, + "start": 216, + "end": 256, "loc": { "start": { "line": 10, @@ -900,8 +836,8 @@ { "type": "CommentBlock", "value": "*\n * @type {LongCount}\n ", - "start": 265, - "end": 301, + "start": 280, + "end": 316, "loc": { "start": { "line": 15, @@ -916,8 +852,8 @@ { "type": "CommentBlock", "value": "*\n * Render the FullDate as a string of both the CR and the LC\n * @returns {string}\n ", - "start": 327, - "end": 422, + "start": 342, + "end": 437, "loc": { "start": { "line": 21, @@ -947,6 +883,62 @@ } } }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 86, + "end": 92, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 93, + "end": 100, + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 14 + } + } + }, { "type": { "label": "class", @@ -962,16 +954,16 @@ "updateContext": null }, "value": "class", - "start": 86, - "end": 91, + "start": 101, + "end": 106, "loc": { "start": { "line": 4, - "column": 0 + "column": 15 }, "end": { "line": 4, - "column": 5 + "column": 20 } } }, @@ -988,16 +980,16 @@ "binop": null }, "value": "FullDate", - "start": 92, - "end": 100, + "start": 107, + "end": 115, "loc": { "start": { "line": 4, - "column": 6 + "column": 21 }, "end": { "line": 4, - "column": 14 + "column": 29 } } }, @@ -1013,24 +1005,24 @@ "postfix": false, "binop": null }, - "start": 101, - "end": 102, + "start": 116, + "end": 117, "loc": { "start": { "line": 4, - "column": 15 + "column": 30 }, "end": { "line": 4, - "column": 16 + "column": 31 } } }, { "type": "CommentBlock", "value": "*\n * @param {CalendarRound} cr\n * @param {LongCount} lc\n ", - "start": 105, - "end": 172, + "start": 120, + "end": 187, "loc": { "start": { "line": 5, @@ -1055,8 +1047,8 @@ "binop": null }, "value": "constructor", - "start": 175, - "end": 186, + "start": 190, + "end": 201, "loc": { "start": { "line": 9, @@ -1080,8 +1072,8 @@ "postfix": false, "binop": null }, - "start": 186, - "end": 187, + "start": 201, + "end": 202, "loc": { "start": { "line": 9, @@ -1106,8 +1098,8 @@ "binop": null }, "value": "cr", - "start": 187, - "end": 189, + "start": 202, + "end": 204, "loc": { "start": { "line": 9, @@ -1132,8 +1124,8 @@ "binop": null, "updateContext": null }, - "start": 189, - "end": 190, + "start": 204, + "end": 205, "loc": { "start": { "line": 9, @@ -1158,8 +1150,8 @@ "binop": null }, "value": "lc", - "start": 191, - "end": 193, + "start": 206, + "end": 208, "loc": { "start": { "line": 9, @@ -1183,8 +1175,8 @@ "postfix": false, "binop": null }, - "start": 193, - "end": 194, + "start": 208, + "end": 209, "loc": { "start": { "line": 9, @@ -1208,8 +1200,8 @@ "postfix": false, "binop": null }, - "start": 195, - "end": 196, + "start": 210, + "end": 211, "loc": { "start": { "line": 9, @@ -1224,8 +1216,8 @@ { "type": "CommentBlock", "value": "*\n * @type {CalendarRound}\n ", - "start": 201, - "end": 241, + "start": 216, + "end": 256, "loc": { "start": { "line": 10, @@ -1252,8 +1244,8 @@ "updateContext": null }, "value": "this", - "start": 246, - "end": 250, + "start": 261, + "end": 265, "loc": { "start": { "line": 13, @@ -1278,8 +1270,8 @@ "binop": null, "updateContext": null }, - "start": 250, - "end": 251, + "start": 265, + "end": 266, "loc": { "start": { "line": 13, @@ -1304,8 +1296,8 @@ "binop": null }, "value": "cr", - "start": 251, - "end": 253, + "start": 266, + "end": 268, "loc": { "start": { "line": 13, @@ -1331,8 +1323,8 @@ "updateContext": null }, "value": "=", - "start": 254, - "end": 255, + "start": 269, + "end": 270, "loc": { "start": { "line": 13, @@ -1357,8 +1349,8 @@ "binop": null }, "value": "cr", - "start": 256, - "end": 258, + "start": 271, + "end": 273, "loc": { "start": { "line": 13, @@ -1383,8 +1375,8 @@ "binop": null, "updateContext": null }, - "start": 258, - "end": 259, + "start": 273, + "end": 274, "loc": { "start": { "line": 13, @@ -1399,8 +1391,8 @@ { "type": "CommentBlock", "value": "*\n * @type {LongCount}\n ", - "start": 265, - "end": 301, + "start": 280, + "end": 316, "loc": { "start": { "line": 15, @@ -1427,8 +1419,8 @@ "updateContext": null }, "value": "this", - "start": 306, - "end": 310, + "start": 321, + "end": 325, "loc": { "start": { "line": 18, @@ -1453,8 +1445,8 @@ "binop": null, "updateContext": null }, - "start": 310, - "end": 311, + "start": 325, + "end": 326, "loc": { "start": { "line": 18, @@ -1479,8 +1471,8 @@ "binop": null }, "value": "lc", - "start": 311, - "end": 313, + "start": 326, + "end": 328, "loc": { "start": { "line": 18, @@ -1506,8 +1498,8 @@ "updateContext": null }, "value": "=", - "start": 314, - "end": 315, + "start": 329, + "end": 330, "loc": { "start": { "line": 18, @@ -1532,8 +1524,8 @@ "binop": null }, "value": "lc", - "start": 316, - "end": 318, + "start": 331, + "end": 333, "loc": { "start": { "line": 18, @@ -1558,8 +1550,8 @@ "binop": null, "updateContext": null }, - "start": 318, - "end": 319, + "start": 333, + "end": 334, "loc": { "start": { "line": 18, @@ -1583,8 +1575,8 @@ "postfix": false, "binop": null }, - "start": 322, - "end": 323, + "start": 337, + "end": 338, "loc": { "start": { "line": 19, @@ -1599,8 +1591,8 @@ { "type": "CommentBlock", "value": "*\n * Render the FullDate as a string of both the CR and the LC\n * @returns {string}\n ", - "start": 327, - "end": 422, + "start": 342, + "end": 437, "loc": { "start": { "line": 21, @@ -1625,8 +1617,8 @@ "binop": null }, "value": "toString", - "start": 425, - "end": 433, + "start": 440, + "end": 448, "loc": { "start": { "line": 25, @@ -1650,8 +1642,8 @@ "postfix": false, "binop": null }, - "start": 433, - "end": 434, + "start": 448, + "end": 449, "loc": { "start": { "line": 25, @@ -1675,8 +1667,8 @@ "postfix": false, "binop": null }, - "start": 434, - "end": 435, + "start": 449, + "end": 450, "loc": { "start": { "line": 25, @@ -1700,8 +1692,8 @@ "postfix": false, "binop": null }, - "start": 436, - "end": 437, + "start": 451, + "end": 452, "loc": { "start": { "line": 25, @@ -1728,8 +1720,8 @@ "updateContext": null }, "value": "return", - "start": 442, - "end": 448, + "start": 457, + "end": 463, "loc": { "start": { "line": 26, @@ -1753,8 +1745,8 @@ "postfix": false, "binop": null }, - "start": 449, - "end": 450, + "start": 464, + "end": 465, "loc": { "start": { "line": 26, @@ -1780,8 +1772,8 @@ "updateContext": null }, "value": "", - "start": 450, - "end": 450, + "start": 465, + "end": 465, "loc": { "start": { "line": 26, @@ -1805,8 +1797,8 @@ "postfix": false, "binop": null }, - "start": 450, - "end": 452, + "start": 465, + "end": 467, "loc": { "start": { "line": 26, @@ -1833,8 +1825,8 @@ "updateContext": null }, "value": "this", - "start": 452, - "end": 456, + "start": 467, + "end": 471, "loc": { "start": { "line": 26, @@ -1859,8 +1851,8 @@ "binop": null, "updateContext": null }, - "start": 456, - "end": 457, + "start": 471, + "end": 472, "loc": { "start": { "line": 26, @@ -1885,8 +1877,8 @@ "binop": null }, "value": "cr", - "start": 457, - "end": 459, + "start": 472, + "end": 474, "loc": { "start": { "line": 26, @@ -1910,8 +1902,8 @@ "postfix": false, "binop": null }, - "start": 459, - "end": 460, + "start": 474, + "end": 475, "loc": { "start": { "line": 26, @@ -1937,8 +1929,8 @@ "updateContext": null }, "value": " ", - "start": 460, - "end": 461, + "start": 475, + "end": 476, "loc": { "start": { "line": 26, @@ -1962,8 +1954,8 @@ "postfix": false, "binop": null }, - "start": 461, - "end": 463, + "start": 476, + "end": 478, "loc": { "start": { "line": 26, @@ -1990,8 +1982,8 @@ "updateContext": null }, "value": "this", - "start": 463, - "end": 467, + "start": 478, + "end": 482, "loc": { "start": { "line": 26, @@ -2016,8 +2008,8 @@ "binop": null, "updateContext": null }, - "start": 467, - "end": 468, + "start": 482, + "end": 483, "loc": { "start": { "line": 26, @@ -2042,8 +2034,8 @@ "binop": null }, "value": "lc", - "start": 468, - "end": 470, + "start": 483, + "end": 485, "loc": { "start": { "line": 26, @@ -2067,8 +2059,8 @@ "postfix": false, "binop": null }, - "start": 470, - "end": 471, + "start": 485, + "end": 486, "loc": { "start": { "line": 26, @@ -2094,8 +2086,8 @@ "updateContext": null }, "value": "", - "start": 471, - "end": 471, + "start": 486, + "end": 486, "loc": { "start": { "line": 26, @@ -2119,8 +2111,8 @@ "postfix": false, "binop": null }, - "start": 471, - "end": 472, + "start": 486, + "end": 487, "loc": { "start": { "line": 26, @@ -2145,8 +2137,8 @@ "binop": null, "updateContext": null }, - "start": 472, - "end": 473, + "start": 487, + "end": 488, "loc": { "start": { "line": 26, @@ -2170,8 +2162,8 @@ "postfix": false, "binop": null }, - "start": 476, - "end": 477, + "start": 491, + "end": 492, "loc": { "start": { "line": 27, @@ -2195,8 +2187,8 @@ "postfix": false, "binop": null }, - "start": 478, - "end": 479, + "start": 493, + "end": 494, "loc": { "start": { "line": 28, @@ -2208,163 +2200,6 @@ } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "module", - "start": 481, - "end": 487, - "loc": { - "start": { - "line": 30, - "column": 0 - }, - "end": { - "line": 30, - "column": 6 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 487, - "end": 488, - "loc": { - "start": { - "line": 30, - "column": 6 - }, - "end": { - "line": 30, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "exports", - "start": 488, - "end": 495, - "loc": { - "start": { - "line": 30, - "column": 7 - }, - "end": { - "line": 30, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 496, - "end": 497, - "loc": { - "start": { - "line": 30, - "column": 15 - }, - "end": { - "line": 30, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "FullDate", - "start": 498, - "end": 506, - "loc": { - "start": { - "line": 30, - "column": 17 - }, - "end": { - "line": 30, - "column": 25 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 506, - "end": 507, - "loc": { - "start": { - "line": 30, - "column": 25 - }, - "end": { - "line": 30, - "column": 26 - } - } - }, { "type": { "label": "eof", @@ -2378,15 +2213,15 @@ "binop": null, "updateContext": null }, - "start": 508, - "end": 508, + "start": 495, + "end": 495, "loc": { "start": { - "line": 31, + "line": 29, "column": 0 }, "end": { - "line": 31, + "line": 29, "column": 0 } } diff --git a/docs/ast/source/index.js.json b/docs/ast/source/index.js.json index 71f094f..888f112 100644 --- a/docs/ast/source/index.js.json +++ b/docs/ast/source/index.js.json @@ -1,179 +1,244 @@ { "type": "File", "start": 0, - "end": 400, + "end": 278, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 22, + "line": 16, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 400, + "end": 278, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 22, + "line": 16, "column": 0 } }, "sourceType": "module", "body": [ { - "type": "VariableDeclaration", - "start": 15, - "end": 55, + "type": "ImportDeclaration", + "start": 0, + "end": 35, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 40 + "line": 1, + "column": 35 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 21, - "end": 54, + "type": "ImportDefaultSpecifier", + "start": 7, + "end": 15, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 39 + "line": 1, + "column": 15 } }, - "id": { + "local": { "type": "Identifier", - "start": 21, - "end": 29, + "start": 7, + "end": 15, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 14 + "line": 1, + "column": 15 }, "identifierName": "FullDate" }, - "name": "FullDate", - "leadingComments": null + "name": "FullDate" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 21, + "end": 34, + "loc": { + "start": { + "line": 1, + "column": 21 + }, + "end": { + "line": 1, + "column": 34 + } + }, + "extra": { + "rawValue": "./full-date", + "raw": "'./full-date'" + }, + "value": "./full-date" + } + }, + { + "type": "ImportDeclaration", + "start": 36, + "end": 74, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 38 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 43, + "end": 50, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 14 + } }, - "init": { - "type": "CallExpression", - "start": 32, - "end": 54, + "local": { + "type": "Identifier", + "start": 43, + "end": 50, "loc": { "start": { "line": 2, - "column": 17 + "column": 7 }, "end": { "line": 2, - "column": 39 - } - }, - "callee": { - "type": "Identifier", - "start": 32, - "end": 39, - "loc": { - "start": { - "line": 2, - "column": 17 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "require" + "column": 14 }, - "name": "require" + "identifierName": "factory" }, - "arguments": [ - { - "type": "StringLiteral", - "start": 40, - "end": 53, - "loc": { - "start": { - "line": 2, - "column": 25 - }, - "end": { - "line": 2, - "column": 38 - } - }, - "extra": { - "rawValue": "./full-date", - "raw": "'./full-date'" - }, - "value": "./full-date" - } - ] - }, - "leadingComments": null + "name": "factory" + } } ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 56, + "end": 73, + "loc": { + "start": { + "line": 2, + "column": 20 + }, + "end": { + "line": 2, + "column": 37 } + }, + "extra": { + "rawValue": "./factory/index", + "raw": "'./factory/index'" + }, + "value": "./factory/index" + } + }, + { + "type": "ImportDeclaration", + "start": 75, + "end": 103, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 28 } - ], - "trailingComments": [ + }, + "specifiers": [ { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 56, - "end": 70, + "type": "ImportDefaultSpecifier", + "start": 82, + "end": 84, "loc": { "start": { "line": 3, - "column": 0 + "column": 7 }, "end": { "line": 3, - "column": 14 + "column": 9 } + }, + "local": { + "type": "Identifier", + "start": 82, + "end": 84, + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 9 + }, + "identifierName": "cr" + }, + "name": "cr" } } - ] + ], + "source": { + "type": "StringLiteral", + "start": 90, + "end": 102, + "loc": { + "start": { + "line": 3, + "column": 15 + }, + "end": { + "line": 3, + "column": 27 + } + }, + "extra": { + "rawValue": "./cr/index", + "raw": "'./cr/index'" + }, + "value": "./cr/index" + } }, { - "type": "VariableDeclaration", - "start": 71, - "end": 114, + "type": "ImportDeclaration", + "start": 104, + "end": 132, "loc": { "start": { "line": 4, @@ -181,141 +246,137 @@ }, "end": { "line": 4, - "column": 43 + "column": 28 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 77, + "type": "ImportDefaultSpecifier", + "start": 111, "end": 113, "loc": { "start": { "line": 4, - "column": 6 + "column": 7 }, "end": { "line": 4, - "column": 42 + "column": 9 } }, - "id": { + "local": { "type": "Identifier", - "start": 77, - "end": 84, - "loc": { - "start": { - "line": 4, - "column": 6 - }, - "end": { - "line": 4, - "column": 13 - }, - "identifierName": "factory" - }, - "name": "factory", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 87, + "start": 111, "end": 113, "loc": { "start": { "line": 4, - "column": 16 + "column": 7 }, "end": { "line": 4, - "column": 42 - } - }, - "callee": { - "type": "Identifier", - "start": 87, - "end": 94, - "loc": { - "start": { - "line": 4, - "column": 16 - }, - "end": { - "line": 4, - "column": 23 - }, - "identifierName": "require" + "column": 9 }, - "name": "require" + "identifierName": "lc" }, - "arguments": [ - { - "type": "StringLiteral", - "start": 95, - "end": 112, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 41 - } - }, - "extra": { - "rawValue": "./factory/index", - "raw": "'./factory/index'" - }, - "value": "./factory/index" - } - ] - }, - "leadingComments": null + "name": "lc" + } } ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 56, - "end": 70, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 119, + "end": 131, + "loc": { + "start": { + "line": 4, + "column": 15 + }, + "end": { + "line": 4, + "column": 27 } + }, + "extra": { + "rawValue": "./lc/index", + "raw": "'./lc/index'" + }, + "value": "./lc/index" + } + }, + { + "type": "ImportDeclaration", + "start": 133, + "end": 169, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 36 } - ], - "trailingComments": [ + }, + "specifiers": [ { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 115, - "end": 129, + "type": "ImportDefaultSpecifier", + "start": 140, + "end": 142, "loc": { "start": { "line": 5, - "column": 0 + "column": 7 }, "end": { "line": 5, - "column": 14 + "column": 9 } + }, + "local": { + "type": "Identifier", + "start": 140, + "end": 142, + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 9 + }, + "identifierName": "op" + }, + "name": "op" } } - ] + ], + "source": { + "type": "StringLiteral", + "start": 148, + "end": 168, + "loc": { + "start": { + "line": 5, + "column": 15 + }, + "end": { + "line": 5, + "column": 35 + } + }, + "extra": { + "rawValue": "./operations/index", + "raw": "'./operations/index'" + }, + "value": "./operations/index" + } }, { - "type": "VariableDeclaration", - "start": 130, - "end": 163, + "type": "ImportDeclaration", + "start": 170, + "end": 204, "loc": { "start": { "line": 6, @@ -323,1574 +384,437 @@ }, "end": { "line": 6, - "column": 33 + "column": 34 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 136, - "end": 162, + "type": "ImportDefaultSpecifier", + "start": 177, + "end": 185, "loc": { "start": { "line": 6, - "column": 6 + "column": 7 }, "end": { "line": 6, - "column": 32 + "column": 15 } }, - "id": { + "local": { "type": "Identifier", - "start": 136, - "end": 138, - "loc": { - "start": { - "line": 6, - "column": 6 - }, - "end": { - "line": 6, - "column": 8 - }, - "identifierName": "cr" - }, - "name": "cr", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 141, - "end": 162, + "start": 177, + "end": 185, "loc": { "start": { "line": 6, - "column": 11 + "column": 7 }, "end": { "line": 6, - "column": 32 - } - }, - "callee": { - "type": "Identifier", - "start": 141, - "end": 148, - "loc": { - "start": { - "line": 6, - "column": 11 - }, - "end": { - "line": 6, - "column": 18 - }, - "identifierName": "require" + "column": 15 }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 149, - "end": 161, - "loc": { - "start": { - "line": 6, - "column": 19 - }, - "end": { - "line": 6, - "column": 31 - } - }, - "extra": { - "rawValue": "./cr/index", - "raw": "'./cr/index'" - }, - "value": "./cr/index" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 115, - "end": 129, - "loc": { - "start": { - "line": 5, - "column": 0 + "identifierName": "wildcard" }, - "end": { - "line": 5, - "column": 14 - } + "name": "wildcard" } } ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 164, - "end": 178, - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 191, + "end": 203, + "loc": { + "start": { + "line": 6, + "column": 21 + }, + "end": { + "line": 6, + "column": 33 } - } - ] + }, + "extra": { + "rawValue": "./wildcard", + "raw": "'./wildcard'" + }, + "value": "./wildcard" + } }, { - "type": "VariableDeclaration", - "start": 179, - "end": 212, + "type": "ExportDefaultDeclaration", + "start": 206, + "end": 277, "loc": { "start": { "line": 8, "column": 0 }, "end": { - "line": 8, - "column": 33 + "line": 15, + "column": 2 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 185, - "end": 211, - "loc": { - "start": { - "line": 8, - "column": 6 - }, - "end": { - "line": 8, - "column": 32 - } - }, - "id": { - "type": "Identifier", - "start": 185, - "end": 187, - "loc": { - "start": { - "line": 8, - "column": 6 - }, - "end": { - "line": 8, - "column": 8 - }, - "identifierName": "lc" - }, - "name": "lc", - "leadingComments": null + "declaration": { + "type": "ObjectExpression", + "start": 221, + "end": 276, + "loc": { + "start": { + "line": 8, + "column": 15 }, - "init": { - "type": "CallExpression", - "start": 190, - "end": 211, + "end": { + "line": 15, + "column": 1 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 225, + "end": 232, "loc": { "start": { - "line": 8, - "column": 11 + "line": 9, + "column": 2 }, "end": { - "line": 8, - "column": 32 + "line": 9, + "column": 9 } }, - "callee": { + "method": false, + "shorthand": true, + "computed": false, + "key": { "type": "Identifier", - "start": 190, - "end": 197, + "start": 225, + "end": 232, "loc": { "start": { - "line": 8, - "column": 11 + "line": 9, + "column": 2 }, "end": { - "line": 8, - "column": 18 + "line": 9, + "column": 9 }, - "identifierName": "require" + "identifierName": "factory" }, - "name": "require" + "name": "factory" }, - "arguments": [ - { - "type": "StringLiteral", - "start": 198, - "end": 210, - "loc": { - "start": { - "line": 8, - "column": 19 - }, - "end": { - "line": 8, - "column": 31 - } + "value": { + "type": "Identifier", + "start": 225, + "end": 232, + "loc": { + "start": { + "line": 9, + "column": 2 }, - "extra": { - "rawValue": "./lc/index", - "raw": "'./lc/index'" + "end": { + "line": 9, + "column": 9 }, - "value": "./lc/index" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 164, - "end": 178, - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 14 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 213, - "end": 227, - "loc": { - "start": { - "line": 9, - "column": 0 - }, - "end": { - "line": 9, - "column": 14 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 228, - "end": 269, - "loc": { - "start": { - "line": 10, - "column": 0 - }, - "end": { - "line": 10, - "column": 41 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 234, - "end": 268, - "loc": { - "start": { - "line": 10, - "column": 6 - }, - "end": { - "line": 10, - "column": 40 - } - }, - "id": { - "type": "Identifier", - "start": 234, - "end": 236, - "loc": { - "start": { - "line": 10, - "column": 6 - }, - "end": { - "line": 10, - "column": 8 + "identifierName": "factory" }, - "identifierName": "op" + "name": "factory" }, - "name": "op", - "leadingComments": null + "extra": { + "shorthand": true + } }, - "init": { - "type": "CallExpression", - "start": 239, - "end": 268, + { + "type": "ObjectProperty", + "start": 236, + "end": 238, "loc": { "start": { "line": 10, - "column": 11 + "column": 2 }, "end": { "line": 10, - "column": 40 + "column": 4 } }, - "callee": { + "method": false, + "shorthand": true, + "computed": false, + "key": { "type": "Identifier", - "start": 239, - "end": 246, + "start": 236, + "end": 238, "loc": { "start": { "line": 10, - "column": 11 + "column": 2 }, "end": { "line": 10, - "column": 18 + "column": 4 }, - "identifierName": "require" + "identifierName": "cr" }, - "name": "require" + "name": "cr" }, - "arguments": [ - { - "type": "StringLiteral", - "start": 247, - "end": 267, - "loc": { - "start": { - "line": 10, - "column": 19 - }, - "end": { - "line": 10, - "column": 39 - } + "value": { + "type": "Identifier", + "start": 236, + "end": 238, + "loc": { + "start": { + "line": 10, + "column": 2 }, - "extra": { - "rawValue": "./operations/index", - "raw": "'./operations/index'" + "end": { + "line": 10, + "column": 4 }, - "value": "./operations/index" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 213, - "end": 227, - "loc": { - "start": { - "line": 9, - "column": 0 - }, - "end": { - "line": 9, - "column": 14 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 270, - "end": 284, - "loc": { - "start": { - "line": 11, - "column": 0 - }, - "end": { - "line": 11, - "column": 14 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 285, - "end": 324, - "loc": { - "start": { - "line": 12, - "column": 0 - }, - "end": { - "line": 12, - "column": 39 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 291, - "end": 323, - "loc": { - "start": { - "line": 12, - "column": 6 - }, - "end": { - "line": 12, - "column": 38 - } - }, - "id": { - "type": "Identifier", - "start": 291, - "end": 299, - "loc": { - "start": { - "line": 12, - "column": 6 - }, - "end": { - "line": 12, - "column": 14 + "identifierName": "cr" }, - "identifierName": "wildcard" + "name": "cr" }, - "name": "wildcard", - "leadingComments": null + "extra": { + "shorthand": true + } }, - "init": { - "type": "CallExpression", - "start": 302, - "end": 323, + { + "type": "ObjectProperty", + "start": 242, + "end": 244, "loc": { "start": { - "line": 12, - "column": 17 + "line": 11, + "column": 2 }, "end": { - "line": 12, - "column": 38 + "line": 11, + "column": 4 } }, - "callee": { + "method": false, + "shorthand": true, + "computed": false, + "key": { "type": "Identifier", - "start": 302, - "end": 309, + "start": 242, + "end": 244, "loc": { "start": { - "line": 12, - "column": 17 + "line": 11, + "column": 2 }, "end": { - "line": 12, - "column": 24 + "line": 11, + "column": 4 }, - "identifierName": "require" + "identifierName": "lc" }, - "name": "require" + "name": "lc" }, - "arguments": [ - { - "type": "StringLiteral", - "start": 310, - "end": 322, - "loc": { - "start": { - "line": 12, - "column": 25 - }, - "end": { - "line": 12, - "column": 37 - } + "value": { + "type": "Identifier", + "start": 242, + "end": 244, + "loc": { + "start": { + "line": 11, + "column": 2 }, - "extra": { - "rawValue": "./wildcard", - "raw": "'./wildcard'" + "end": { + "line": 11, + "column": 4 }, - "value": "./wildcard" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 270, - "end": 284, - "loc": { - "start": { - "line": 11, - "column": 0 - }, - "end": { - "line": 11, - "column": 14 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 326, - "end": 399, - "loc": { - "start": { - "line": 14, - "column": 0 - }, - "end": { - "line": 21, - "column": 2 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 326, - "end": 398, - "loc": { - "start": { - "line": 14, - "column": 0 - }, - "end": { - "line": 21, - "column": 1 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 326, - "end": 340, - "loc": { - "start": { - "line": 14, - "column": 0 - }, - "end": { - "line": 14, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 326, - "end": 332, - "loc": { - "start": { - "line": 14, - "column": 0 + "identifierName": "lc" }, - "end": { - "line": 14, - "column": 6 - }, - "identifierName": "module" + "name": "lc" }, - "name": "module" + "extra": { + "shorthand": true + } }, - "property": { - "type": "Identifier", - "start": 333, - "end": 340, + { + "type": "ObjectProperty", + "start": 248, + "end": 250, "loc": { "start": { - "line": 14, - "column": 7 + "line": 12, + "column": 2 }, "end": { - "line": 14, - "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "ObjectExpression", - "start": 343, - "end": 398, - "loc": { - "start": { - "line": 14, - "column": 17 - }, - "end": { - "line": 21, - "column": 1 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 347, - "end": 354, - "loc": { - "start": { - "line": 15, - "column": 2 - }, - "end": { - "line": 15, - "column": 9 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 347, - "end": 354, - "loc": { - "start": { - "line": 15, - "column": 2 - }, - "end": { - "line": 15, - "column": 9 - }, - "identifierName": "factory" - }, - "name": "factory" - }, - "value": { - "type": "Identifier", - "start": 347, - "end": 354, - "loc": { - "start": { - "line": 15, - "column": 2 - }, - "end": { - "line": 15, - "column": 9 - }, - "identifierName": "factory" - }, - "name": "factory" - }, - "extra": { - "shorthand": true + "line": 12, + "column": 4 } }, - { - "type": "ObjectProperty", - "start": 358, - "end": 360, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 248, + "end": 250, "loc": { "start": { - "line": 16, + "line": 12, "column": 2 }, "end": { - "line": 16, + "line": 12, "column": 4 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 358, - "end": 360, - "loc": { - "start": { - "line": 16, - "column": 2 - }, - "end": { - "line": 16, - "column": 4 - }, - "identifierName": "cr" }, - "name": "cr" + "identifierName": "op" }, - "value": { - "type": "Identifier", - "start": 358, - "end": 360, - "loc": { - "start": { - "line": 16, - "column": 2 - }, - "end": { - "line": 16, - "column": 4 - }, - "identifierName": "cr" - }, - "name": "cr" - }, - "extra": { - "shorthand": true - } + "name": "op" }, - { - "type": "ObjectProperty", - "start": 364, - "end": 366, + "value": { + "type": "Identifier", + "start": 248, + "end": 250, "loc": { "start": { - "line": 17, + "line": 12, "column": 2 }, "end": { - "line": 17, + "line": 12, "column": 4 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 364, - "end": 366, - "loc": { - "start": { - "line": 17, - "column": 2 - }, - "end": { - "line": 17, - "column": 4 - }, - "identifierName": "lc" }, - "name": "lc" + "identifierName": "op" }, - "value": { - "type": "Identifier", - "start": 364, - "end": 366, - "loc": { - "start": { - "line": 17, - "column": 2 - }, - "end": { - "line": 17, - "column": 4 - }, - "identifierName": "lc" - }, - "name": "lc" + "name": "op" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 254, + "end": 262, + "loc": { + "start": { + "line": 13, + "column": 2 }, - "extra": { - "shorthand": true + "end": { + "line": 13, + "column": 10 } }, - { - "type": "ObjectProperty", - "start": 370, - "end": 372, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 254, + "end": 262, "loc": { "start": { - "line": 18, + "line": 13, "column": 2 }, "end": { - "line": 18, - "column": 4 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 370, - "end": 372, - "loc": { - "start": { - "line": 18, - "column": 2 - }, - "end": { - "line": 18, - "column": 4 - }, - "identifierName": "op" - }, - "name": "op" - }, - "value": { - "type": "Identifier", - "start": 370, - "end": 372, - "loc": { - "start": { - "line": 18, - "column": 2 - }, - "end": { - "line": 18, - "column": 4 - }, - "identifierName": "op" + "line": 13, + "column": 10 }, - "name": "op" + "identifierName": "wildcard" }, - "extra": { - "shorthand": true - } + "name": "wildcard" }, - { - "type": "ObjectProperty", - "start": 376, - "end": 384, + "value": { + "type": "Identifier", + "start": 254, + "end": 262, "loc": { "start": { - "line": 19, + "line": 13, "column": 2 }, "end": { - "line": 19, + "line": 13, "column": 10 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 376, - "end": 384, - "loc": { - "start": { - "line": 19, - "column": 2 - }, - "end": { - "line": 19, - "column": 10 - }, - "identifierName": "wildcard" }, - "name": "wildcard" + "identifierName": "wildcard" }, - "value": { - "type": "Identifier", - "start": 376, - "end": 384, - "loc": { - "start": { - "line": 19, - "column": 2 - }, - "end": { - "line": 19, - "column": 10 - }, - "identifierName": "wildcard" - }, - "name": "wildcard" + "name": "wildcard" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 266, + "end": 274, + "loc": { + "start": { + "line": 14, + "column": 2 }, - "extra": { - "shorthand": true + "end": { + "line": 14, + "column": 10 } }, - { - "type": "ObjectProperty", - "start": 388, - "end": 396, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 266, + "end": 274, "loc": { "start": { - "line": 20, + "line": 14, "column": 2 }, "end": { - "line": 20, + "line": 14, "column": 10 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 388, - "end": 396, - "loc": { - "start": { - "line": 20, - "column": 2 - }, - "end": { - "line": 20, - "column": 10 - }, - "identifierName": "FullDate" - }, - "name": "FullDate" - }, - "value": { - "type": "Identifier", - "start": 388, - "end": 396, - "loc": { - "start": { - "line": 20, - "column": 2 - }, - "end": { - "line": 20, - "column": 10 - }, - "identifierName": "FullDate" - }, - "name": "FullDate" - }, - "extra": { - "shorthand": true - } - } - ] - } - } - } - ], - "directives": [] - }, - "comments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 56, - "end": 70, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 115, - "end": 129, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 164, - "end": 178, - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 213, - "end": 227, - "loc": { - "start": { - "line": 9, - "column": 0 - }, - "end": { - "line": 9, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 270, - "end": 284, - "loc": { - "start": { - "line": 11, - "column": 0 - }, - "end": { - "line": 11, - "column": 14 - } - } - } - ], - "tokens": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 15, - "end": 20, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "FullDate", - "start": 21, - "end": 29, - "loc": { - "start": { - "line": 2, - "column": 6 - }, - "end": { - "line": 2, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 30, - "end": 31, - "loc": { - "start": { - "line": 2, - "column": 15 - }, - "end": { - "line": 2, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "require", - "start": 32, - "end": 39, - "loc": { - "start": { - "line": 2, - "column": 17 - }, - "end": { - "line": 2, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 39, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 25 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./full-date", - "start": 40, - "end": 53, - "loc": { - "start": { - "line": 2, - "column": 25 - }, - "end": { - "line": 2, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 53, - "end": 54, - "loc": { - "start": { - "line": 2, - "column": 38 - }, - "end": { - "line": 2, - "column": 39 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 54, - "end": 55, - "loc": { - "start": { - "line": 2, - "column": 39 - }, - "end": { - "line": 2, - "column": 40 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 56, - "end": 70, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 71, - "end": 76, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "factory", - "start": 77, - "end": 84, - "loc": { - "start": { - "line": 4, - "column": 6 - }, - "end": { - "line": 4, - "column": 13 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 85, - "end": 86, - "loc": { - "start": { - "line": 4, - "column": 14 - }, - "end": { - "line": 4, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "require", - "start": 87, - "end": 94, - "loc": { - "start": { - "line": 4, - "column": 16 - }, - "end": { - "line": 4, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 94, - "end": 95, - "loc": { - "start": { - "line": 4, - "column": 23 - }, - "end": { - "line": 4, - "column": 24 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./factory/index", - "start": 95, - "end": 112, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 112, - "end": 113, - "loc": { - "start": { - "line": 4, - "column": 41 - }, - "end": { - "line": 4, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 113, - "end": 114, - "loc": { - "start": { - "line": 4, - "column": 42 - }, - "end": { - "line": 4, - "column": 43 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 115, - "end": 129, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 130, - "end": 135, - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 5 + }, + "identifierName": "FullDate" + }, + "name": "FullDate" + }, + "value": { + "type": "Identifier", + "start": 266, + "end": 274, + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 14, + "column": 10 + }, + "identifierName": "FullDate" + }, + "name": "FullDate" + }, + "extra": { + "shorthand": true + } + } + ], + "leadingComments": [], + "trailingComments": [] } } - }, + ], + "directives": [] + }, + "comments": [], + "tokens": [ { "type": { - "label": "name", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1898,46 +822,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "value": "cr", - "start": 136, - "end": 138, - "loc": { - "start": { - "line": 6, - "column": 6 - }, - "end": { - "line": 6, - "column": 8 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 139, - "end": 140, + "value": "import", + "start": 0, + "end": 6, "loc": { "start": { - "line": 6, - "column": 9 + "line": 1, + "column": 0 }, "end": { - "line": 6, - "column": 10 + "line": 1, + "column": 6 } } }, @@ -1953,24 +851,24 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 141, - "end": 148, + "value": "FullDate", + "start": 7, + "end": 15, "loc": { "start": { - "line": 6, - "column": 11 + "line": 1, + "column": 7 }, "end": { - "line": 6, - "column": 18 + "line": 1, + "column": 15 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1979,16 +877,17 @@ "postfix": false, "binop": null }, - "start": 148, - "end": 149, + "value": "from", + "start": 16, + "end": 20, "loc": { "start": { - "line": 6, - "column": 18 + "line": 1, + "column": 16 }, "end": { - "line": 6, - "column": 19 + "line": 1, + "column": 20 } } }, @@ -2005,42 +904,17 @@ "binop": null, "updateContext": null }, - "value": "./cr/index", - "start": 149, - "end": 161, - "loc": { - "start": { - "line": 6, - "column": 19 - }, - "end": { - "line": 6, - "column": 31 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 161, - "end": 162, + "value": "./full-date", + "start": 21, + "end": 34, "loc": { "start": { - "line": 6, - "column": 31 + "line": 1, + "column": 21 }, "end": { - "line": 6, - "column": 32 + "line": 1, + "column": 34 } } }, @@ -2057,41 +931,25 @@ "binop": null, "updateContext": null }, - "start": 162, - "end": 163, - "loc": { - "start": { - "line": 6, - "column": 32 - }, - "end": { - "line": 6, - "column": 33 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 164, - "end": 178, + "start": 34, + "end": 35, "loc": { "start": { - "line": 7, - "column": 0 + "line": 1, + "column": 34 }, "end": { - "line": 7, - "column": 14 + "line": 1, + "column": 35 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2100,17 +958,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 179, - "end": 184, + "value": "import", + "start": 36, + "end": 42, "loc": { "start": { - "line": 8, + "line": 2, "column": 0 }, "end": { - "line": 8, - "column": 5 + "line": 2, + "column": 6 } } }, @@ -2126,50 +984,49 @@ "postfix": false, "binop": null }, - "value": "lc", - "start": 185, - "end": 187, + "value": "factory", + "start": 43, + "end": 50, "loc": { "start": { - "line": 8, - "column": 6 + "line": 2, + "column": 7 }, "end": { - "line": 8, - "column": 8 + "line": 2, + "column": 14 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 188, - "end": 189, + "value": "from", + "start": 51, + "end": 55, "loc": { "start": { - "line": 8, - "column": 9 + "line": 2, + "column": 15 }, "end": { - "line": 8, - "column": 10 + "line": 2, + "column": 19 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2177,50 +1034,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "require", - "start": 190, - "end": 197, + "value": "./factory/index", + "start": 56, + "end": 73, "loc": { "start": { - "line": 8, - "column": 11 + "line": 2, + "column": 20 }, "end": { - "line": 8, - "column": 18 + "line": 2, + "column": 37 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 197, - "end": 198, + "start": 73, + "end": 74, "loc": { "start": { - "line": 8, - "column": 18 + "line": 2, + "column": 37 }, "end": { - "line": 8, - "column": 19 + "line": 2, + "column": 38 } } }, { "type": { - "label": "string", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2231,25 +1091,25 @@ "binop": null, "updateContext": null }, - "value": "./lc/index", - "start": 198, - "end": 210, + "value": "import", + "start": 75, + "end": 81, "loc": { "start": { - "line": 8, - "column": 19 + "line": 3, + "column": 0 }, "end": { - "line": 8, - "column": 31 + "line": 3, + "column": 6 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2257,67 +1117,51 @@ "postfix": false, "binop": null }, - "start": 210, - "end": 211, + "value": "cr", + "start": 82, + "end": 84, "loc": { "start": { - "line": 8, - "column": 31 + "line": 3, + "column": 7 }, "end": { - "line": 8, - "column": 32 + "line": 3, + "column": 9 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 211, - "end": 212, - "loc": { - "start": { - "line": 8, - "column": 32 - }, - "end": { - "line": 8, - "column": 33 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 213, - "end": 227, + "value": "from", + "start": 85, + "end": 89, "loc": { "start": { - "line": 9, - "column": 0 + "line": 3, + "column": 10 }, "end": { - "line": 9, + "line": 3, "column": 14 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2326,76 +1170,50 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 228, - "end": 233, - "loc": { - "start": { - "line": 10, - "column": 0 - }, - "end": { - "line": 10, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "op", - "start": 234, - "end": 236, + "value": "./cr/index", + "start": 90, + "end": 102, "loc": { "start": { - "line": 10, - "column": 6 + "line": 3, + "column": 15 }, "end": { - "line": 10, - "column": 8 + "line": 3, + "column": 27 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 237, - "end": 238, + "start": 102, + "end": 103, "loc": { "start": { - "line": 10, - "column": 9 + "line": 3, + "column": 27 }, "end": { - "line": 10, - "column": 10 + "line": 3, + "column": 28 } } }, { "type": { - "label": "name", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2403,26 +1221,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "require", - "start": 239, - "end": 246, + "value": "import", + "start": 104, + "end": 110, "loc": { "start": { - "line": 10, - "column": 11 + "line": 4, + "column": 0 }, "end": { - "line": 10, - "column": 18 + "line": 4, + "column": 6 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -2431,22 +1250,23 @@ "postfix": false, "binop": null }, - "start": 246, - "end": 247, + "value": "lc", + "start": 111, + "end": 113, "loc": { "start": { - "line": 10, - "column": 18 + "line": 4, + "column": 7 }, "end": { - "line": 10, - "column": 19 + "line": 4, + "column": 9 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2454,45 +1274,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./operations/index", - "start": 247, - "end": 267, + "value": "from", + "start": 114, + "end": 118, "loc": { "start": { - "line": 10, - "column": 19 + "line": 4, + "column": 10 }, "end": { - "line": 10, - "column": 39 + "line": 4, + "column": 14 } } }, { "type": { - "label": ")", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 267, - "end": 268, + "value": "./lc/index", + "start": 119, + "end": 131, "loc": { "start": { - "line": 10, - "column": 39 + "line": 4, + "column": 15 }, "end": { - "line": 10, - "column": 40 + "line": 4, + "column": 27 } } }, @@ -2509,41 +1330,25 @@ "binop": null, "updateContext": null }, - "start": 268, - "end": 269, - "loc": { - "start": { - "line": 10, - "column": 40 - }, - "end": { - "line": 10, - "column": 41 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 270, - "end": 284, + "start": 131, + "end": 132, "loc": { "start": { - "line": 11, - "column": 0 + "line": 4, + "column": 27 }, "end": { - "line": 11, - "column": 14 + "line": 4, + "column": 28 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2552,17 +1357,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 285, - "end": 290, + "value": "import", + "start": 133, + "end": 139, "loc": { "start": { - "line": 12, + "line": 5, "column": 0 }, "end": { - "line": 12, - "column": 5 + "line": 5, + "column": 6 } } }, @@ -2578,50 +1383,49 @@ "postfix": false, "binop": null }, - "value": "wildcard", - "start": 291, - "end": 299, + "value": "op", + "start": 140, + "end": 142, "loc": { "start": { - "line": 12, - "column": 6 + "line": 5, + "column": 7 }, "end": { - "line": 12, - "column": 14 + "line": 5, + "column": 9 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 300, - "end": 301, + "value": "from", + "start": 143, + "end": 147, "loc": { "start": { - "line": 12, - "column": 15 + "line": 5, + "column": 10 }, "end": { - "line": 12, - "column": 16 + "line": 5, + "column": 14 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2629,50 +1433,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "require", - "start": 302, - "end": 309, + "value": "./operations/index", + "start": 148, + "end": 168, "loc": { "start": { - "line": 12, - "column": 17 + "line": 5, + "column": 15 }, "end": { - "line": 12, - "column": 24 + "line": 5, + "column": 35 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 309, - "end": 310, + "start": 168, + "end": 169, "loc": { "start": { - "line": 12, - "column": 24 + "line": 5, + "column": 35 }, "end": { - "line": 12, - "column": 25 + "line": 5, + "column": 36 } } }, { "type": { - "label": "string", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2683,25 +1490,25 @@ "binop": null, "updateContext": null }, - "value": "./wildcard", - "start": 310, - "end": 322, + "value": "import", + "start": 170, + "end": 176, "loc": { "start": { - "line": 12, - "column": 25 + "line": 6, + "column": 0 }, "end": { - "line": 12, - "column": 37 + "line": 6, + "column": 6 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2709,48 +1516,49 @@ "postfix": false, "binop": null }, - "start": 322, - "end": 323, + "value": "wildcard", + "start": 177, + "end": 185, "loc": { "start": { - "line": 12, - "column": 37 + "line": 6, + "column": 7 }, "end": { - "line": 12, - "column": 38 + "line": 6, + "column": 15 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 323, - "end": 324, + "value": "from", + "start": 186, + "end": 190, "loc": { "start": { - "line": 12, - "column": 38 + "line": 6, + "column": 16 }, "end": { - "line": 12, - "column": 39 + "line": 6, + "column": 20 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2758,26 +1566,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "module", - "start": 326, - "end": 332, + "value": "./wildcard", + "start": 191, + "end": 203, "loc": { "start": { - "line": 14, - "column": 0 + "line": 6, + "column": 21 }, "end": { - "line": 14, - "column": 6 + "line": 6, + "column": 33 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -2787,69 +1596,72 @@ "binop": null, "updateContext": null }, - "start": 332, - "end": 333, + "start": 203, + "end": 204, "loc": { "start": { - "line": 14, - "column": 6 + "line": 6, + "column": 33 }, "end": { - "line": 14, - "column": 7 + "line": 6, + "column": 34 } } }, { "type": { - "label": "name", + "label": "export", + "keyword": "export", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "exports", - "start": 333, - "end": 340, + "value": "export", + "start": 206, + "end": 212, "loc": { "start": { - "line": 14, - "column": 7 + "line": 8, + "column": 0 }, "end": { - "line": 14, - "column": 14 + "line": 8, + "column": 6 } } }, { "type": { - "label": "=", + "label": "default", + "keyword": "default", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 341, - "end": 342, + "value": "default", + "start": 213, + "end": 220, "loc": { "start": { - "line": 14, - "column": 15 + "line": 8, + "column": 7 }, "end": { - "line": 14, - "column": 16 + "line": 8, + "column": 14 } } }, @@ -2865,16 +1677,16 @@ "postfix": false, "binop": null }, - "start": 343, - "end": 344, + "start": 221, + "end": 222, "loc": { "start": { - "line": 14, - "column": 17 + "line": 8, + "column": 15 }, "end": { - "line": 14, - "column": 18 + "line": 8, + "column": 16 } } }, @@ -2891,15 +1703,15 @@ "binop": null }, "value": "factory", - "start": 347, - "end": 354, + "start": 225, + "end": 232, "loc": { "start": { - "line": 15, + "line": 9, "column": 2 }, "end": { - "line": 15, + "line": 9, "column": 9 } } @@ -2917,15 +1729,15 @@ "binop": null, "updateContext": null }, - "start": 354, - "end": 355, + "start": 232, + "end": 233, "loc": { "start": { - "line": 15, + "line": 9, "column": 9 }, "end": { - "line": 15, + "line": 9, "column": 10 } } @@ -2943,15 +1755,15 @@ "binop": null }, "value": "cr", - "start": 358, - "end": 360, + "start": 236, + "end": 238, "loc": { "start": { - "line": 16, + "line": 10, "column": 2 }, "end": { - "line": 16, + "line": 10, "column": 4 } } @@ -2969,15 +1781,15 @@ "binop": null, "updateContext": null }, - "start": 360, - "end": 361, + "start": 238, + "end": 239, "loc": { "start": { - "line": 16, + "line": 10, "column": 4 }, "end": { - "line": 16, + "line": 10, "column": 5 } } @@ -2995,15 +1807,15 @@ "binop": null }, "value": "lc", - "start": 364, - "end": 366, + "start": 242, + "end": 244, "loc": { "start": { - "line": 17, + "line": 11, "column": 2 }, "end": { - "line": 17, + "line": 11, "column": 4 } } @@ -3021,15 +1833,15 @@ "binop": null, "updateContext": null }, - "start": 366, - "end": 367, + "start": 244, + "end": 245, "loc": { "start": { - "line": 17, + "line": 11, "column": 4 }, "end": { - "line": 17, + "line": 11, "column": 5 } } @@ -3047,15 +1859,15 @@ "binop": null }, "value": "op", - "start": 370, - "end": 372, + "start": 248, + "end": 250, "loc": { "start": { - "line": 18, + "line": 12, "column": 2 }, "end": { - "line": 18, + "line": 12, "column": 4 } } @@ -3073,15 +1885,15 @@ "binop": null, "updateContext": null }, - "start": 372, - "end": 373, + "start": 250, + "end": 251, "loc": { "start": { - "line": 18, + "line": 12, "column": 4 }, "end": { - "line": 18, + "line": 12, "column": 5 } } @@ -3099,15 +1911,15 @@ "binop": null }, "value": "wildcard", - "start": 376, - "end": 384, + "start": 254, + "end": 262, "loc": { "start": { - "line": 19, + "line": 13, "column": 2 }, "end": { - "line": 19, + "line": 13, "column": 10 } } @@ -3125,15 +1937,15 @@ "binop": null, "updateContext": null }, - "start": 384, - "end": 385, + "start": 262, + "end": 263, "loc": { "start": { - "line": 19, + "line": 13, "column": 10 }, "end": { - "line": 19, + "line": 13, "column": 11 } } @@ -3151,15 +1963,15 @@ "binop": null }, "value": "FullDate", - "start": 388, - "end": 396, + "start": 266, + "end": 274, "loc": { "start": { - "line": 20, + "line": 14, "column": 2 }, "end": { - "line": 20, + "line": 14, "column": 10 } } @@ -3176,15 +1988,15 @@ "postfix": false, "binop": null }, - "start": 397, - "end": 398, + "start": 275, + "end": 276, "loc": { "start": { - "line": 21, + "line": 15, "column": 0 }, "end": { - "line": 21, + "line": 15, "column": 1 } } @@ -3202,15 +2014,15 @@ "binop": null, "updateContext": null }, - "start": 398, - "end": 399, + "start": 276, + "end": 277, "loc": { "start": { - "line": 21, + "line": 15, "column": 1 }, "end": { - "line": 21, + "line": 15, "column": 2 } } @@ -3228,15 +2040,15 @@ "binop": null, "updateContext": null }, - "start": 400, - "end": 400, + "start": 278, + "end": 278, "loc": { "start": { - "line": 22, + "line": 16, "column": 0 }, "end": { - "line": 22, + "line": 16, "column": 0 } } diff --git a/docs/ast/source/lc/correlation-constant.js.json b/docs/ast/source/lc/correlation-constant.js.json index c80c58b..aa8e353 100644 --- a/docs/ast/source/lc/correlation-constant.js.json +++ b/docs/ast/source/lc/correlation-constant.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 1512, + "end": 1484, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 61, + "line": 58, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 1512, + "end": 1484, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 61, + "line": 58, "column": 0 } }, @@ -1642,9 +1642,9 @@ ] }, { - "type": "FunctionDeclaration", + "type": "ExportDefaultDeclaration", "start": 1001, - "end": 1468, + "end": 1483, "loc": { "start": { "line": 46, @@ -1655,110 +1655,110 @@ "column": 1 } }, - "id": { - "type": "Identifier", - "start": 1010, - "end": 1032, + "declaration": { + "type": "FunctionDeclaration", + "start": 1016, + "end": 1483, "loc": { "start": { "line": 46, - "column": 9 + "column": 15 }, "end": { - "line": 46, - "column": 31 - }, - "identifierName": "getCorrelationConstant" + "line": 57, + "column": 1 + } }, - "name": "getCorrelationConstant", - "leadingComments": null - }, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "id": { "type": "Identifier", - "start": 1033, - "end": 1035, + "start": 1025, + "end": 1047, "loc": { "start": { "line": 46, - "column": 32 + "column": 24 }, "end": { "line": 46, - "column": 34 + "column": 46 }, - "identifierName": "id" + "identifierName": "getCorrelationConstant" }, - "name": "id" + "name": "getCorrelationConstant", + "leadingComments": null }, - { - "type": "Identifier", - "start": 1037, - "end": 1041, - "loc": { - "start": { - "line": 46, - "column": 36 - }, - "end": { - "line": 46, - "column": 40 + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1048, + "end": 1050, + "loc": { + "start": { + "line": 46, + "column": 47 + }, + "end": { + "line": 46, + "column": 49 + }, + "identifierName": "id" }, - "identifierName": "name" + "name": "id" }, - "name": "name" - } - ], - "body": { - "type": "BlockStatement", - "start": 1043, - "end": 1468, - "loc": { - "start": { - "line": 46, - "column": 42 - }, - "end": { - "line": 57, - "column": 1 - } - }, - "body": [ { - "type": "IfStatement", - "start": 1047, - "end": 1121, + "type": "Identifier", + "start": 1052, + "end": 1056, "loc": { "start": { - "line": 47, - "column": 2 + "line": 46, + "column": 51 }, "end": { - "line": 49, - "column": 3 - } + "line": 46, + "column": 55 + }, + "identifierName": "name" }, - "test": { - "type": "BinaryExpression", - "start": 1051, - "end": 1077, + "name": "name" + } + ], + "body": { + "type": "BlockStatement", + "start": 1058, + "end": 1483, + "loc": { + "start": { + "line": 46, + "column": 57 + }, + "end": { + "line": 57, + "column": 1 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 1062, + "end": 1136, "loc": { "start": { "line": 47, - "column": 6 + "column": 2 }, "end": { - "line": 47, - "column": 32 + "line": 49, + "column": 3 } }, - "left": { - "type": "Identifier", - "start": 1051, - "end": 1053, + "test": { + "type": "BinaryExpression", + "start": 1066, + "end": 1092, "loc": { "start": { "line": 47, @@ -1766,78 +1766,78 @@ }, "end": { "line": 47, - "column": 8 + "column": 32 + } + }, + "left": { + "type": "Identifier", + "start": 1066, + "end": 1068, + "loc": { + "start": { + "line": 47, + "column": 6 + }, + "end": { + "line": 47, + "column": 8 + }, + "identifierName": "id" }, - "identifierName": "id" + "name": "id" }, - "name": "id" + "operator": "in", + "right": { + "type": "Identifier", + "start": 1072, + "end": 1092, + "loc": { + "start": { + "line": 47, + "column": 12 + }, + "end": { + "line": 47, + "column": 32 + }, + "identifierName": "correlationConstants" + }, + "name": "correlationConstants" + } }, - "operator": "in", - "right": { - "type": "Identifier", - "start": 1057, - "end": 1077, + "consequent": { + "type": "BlockStatement", + "start": 1094, + "end": 1136, "loc": { "start": { "line": 47, - "column": 12 + "column": 34 }, "end": { - "line": 47, - "column": 32 - }, - "identifierName": "correlationConstants" - }, - "name": "correlationConstants" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 1079, - "end": 1121, - "loc": { - "start": { - "line": 47, - "column": 34 + "line": 49, + "column": 3 + } }, - "end": { - "line": 49, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 1085, - "end": 1117, - "loc": { - "start": { - "line": 48, - "column": 4 - }, - "end": { - "line": 48, - "column": 36 - } - }, - "argument": { - "type": "MemberExpression", - "start": 1092, - "end": 1116, + "body": [ + { + "type": "ReturnStatement", + "start": 1100, + "end": 1132, "loc": { "start": { "line": 48, - "column": 11 + "column": 4 }, "end": { "line": 48, - "column": 35 + "column": 36 } }, - "object": { - "type": "Identifier", - "start": 1092, - "end": 1112, + "argument": { + "type": "MemberExpression", + "start": 1107, + "end": 1131, "loc": { "start": { "line": 48, @@ -1845,69 +1845,69 @@ }, "end": { "line": 48, - "column": 31 - }, - "identifierName": "correlationConstants" + "column": 35 + } }, - "name": "correlationConstants" - }, - "property": { - "type": "Identifier", - "start": 1113, - "end": 1115, - "loc": { - "start": { - "line": 48, - "column": 32 + "object": { + "type": "Identifier", + "start": 1107, + "end": 1127, + "loc": { + "start": { + "line": 48, + "column": 11 + }, + "end": { + "line": 48, + "column": 31 + }, + "identifierName": "correlationConstants" }, - "end": { - "line": 48, - "column": 34 + "name": "correlationConstants" + }, + "property": { + "type": "Identifier", + "start": 1128, + "end": 1130, + "loc": { + "start": { + "line": 48, + "column": 32 + }, + "end": { + "line": 48, + "column": 34 + }, + "identifierName": "id" }, - "identifierName": "id" + "name": "id" }, - "name": "id" - }, - "computed": true + "computed": true + } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 1124, - "end": 1268, - "loc": { - "start": { - "line": 50, - "column": 2 + ], + "directives": [] }, - "end": { - "line": 52, - "column": 3 - } + "alternate": null }, - "test": { - "type": "BinaryExpression", - "start": 1128, - "end": 1146, + { + "type": "IfStatement", + "start": 1139, + "end": 1283, "loc": { "start": { "line": 50, - "column": 6 + "column": 2 }, "end": { - "line": 50, - "column": 24 + "line": 52, + "column": 3 } }, - "left": { - "type": "Identifier", - "start": 1128, - "end": 1132, + "test": { + "type": "BinaryExpression", + "start": 1143, + "end": 1161, "loc": { "start": { "line": 50, @@ -1915,312 +1915,312 @@ }, "end": { "line": 50, - "column": 10 + "column": 24 + } + }, + "left": { + "type": "Identifier", + "start": 1143, + "end": 1147, + "loc": { + "start": { + "line": 50, + "column": 6 + }, + "end": { + "line": 50, + "column": 10 + }, + "identifierName": "name" }, - "identifierName": "name" + "name": "name" }, - "name": "name" + "operator": "===", + "right": { + "type": "Identifier", + "start": 1152, + "end": 1161, + "loc": { + "start": { + "line": 50, + "column": 15 + }, + "end": { + "line": 50, + "column": 24 + }, + "identifierName": "undefined" + }, + "name": "undefined" + } }, - "operator": "===", - "right": { - "type": "Identifier", - "start": 1137, - "end": 1146, + "consequent": { + "type": "BlockStatement", + "start": 1163, + "end": 1283, "loc": { "start": { "line": 50, - "column": 15 + "column": 26 }, "end": { - "line": 50, - "column": 24 - }, - "identifierName": "undefined" - }, - "name": "undefined" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 1148, - "end": 1268, - "loc": { - "start": { - "line": 50, - "column": 26 + "line": 52, + "column": 3 + } }, - "end": { - "line": 52, - "column": 3 - } - }, - "body": [ - { - "type": "ThrowStatement", - "start": 1154, - "end": 1264, - "loc": { - "start": { - "line": 51, - "column": 4 - }, - "end": { - "line": 51, - "column": 114 - } - }, - "argument": { - "type": "NewExpression", - "start": 1160, - "end": 1263, + "body": [ + { + "type": "ThrowStatement", + "start": 1169, + "end": 1279, "loc": { "start": { "line": 51, - "column": 10 + "column": 4 }, "end": { "line": 51, - "column": 113 + "column": 114 } }, - "callee": { - "type": "Identifier", - "start": 1164, - "end": 1169, + "argument": { + "type": "NewExpression", + "start": 1175, + "end": 1278, "loc": { "start": { "line": 51, - "column": 14 + "column": 10 }, "end": { "line": 51, - "column": 19 - }, - "identifierName": "Error" + "column": 113 + } }, - "name": "Error" - }, - "arguments": [ - { - "type": "TemplateLiteral", - "start": 1170, - "end": 1262, + "callee": { + "type": "Identifier", + "start": 1179, + "end": 1184, "loc": { "start": { "line": 51, - "column": 20 + "column": 14 }, "end": { "line": 51, - "column": 112 - } + "column": 19 + }, + "identifierName": "Error" }, - "expressions": [ - { - "type": "Identifier", - "start": 1188, - "end": 1190, - "loc": { - "start": { - "line": 51, - "column": 38 + "name": "Error" + }, + "arguments": [ + { + "type": "TemplateLiteral", + "start": 1185, + "end": 1277, + "loc": { + "start": { + "line": 51, + "column": 20 + }, + "end": { + "line": 51, + "column": 112 + } + }, + "expressions": [ + { + "type": "Identifier", + "start": 1203, + "end": 1205, + "loc": { + "start": { + "line": 51, + "column": 38 + }, + "end": { + "line": 51, + "column": 40 + }, + "identifierName": "id" }, - "end": { - "line": 51, - "column": 40 + "name": "id" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1186, + "end": 1201, + "loc": { + "start": { + "line": 51, + "column": 21 + }, + "end": { + "line": 51, + "column": 36 + } }, - "identifierName": "id" - }, - "name": "id" - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 1171, - "end": 1186, - "loc": { - "start": { - "line": 51, - "column": 21 + "value": { + "raw": "Could not find ", + "cooked": "Could not find " }, - "end": { - "line": 51, - "column": 36 - } - }, - "value": { - "raw": "Could not find ", - "cooked": "Could not find " + "tail": false }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 1191, - "end": 1261, - "loc": { - "start": { - "line": 51, - "column": 41 + { + "type": "TemplateElement", + "start": 1206, + "end": 1276, + "loc": { + "start": { + "line": 51, + "column": 41 + }, + "end": { + "line": 51, + "column": 111 + } }, - "end": { - "line": 51, - "column": 111 - } - }, - "value": { - "raw": " in defaults, and 'name' was not provided for new Correlation Constant", - "cooked": " in defaults, and 'name' was not provided for new Correlation Constant" - }, - "tail": true - } - ] - } - ] + "value": { + "raw": " in defaults, and 'name' was not provided for new Correlation Constant", + "cooked": " in defaults, and 'name' was not provided for new Correlation Constant" + }, + "tail": true + } + ] + } + ] + } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "VariableDeclaration", - "start": 1271, - "end": 1326, - "loc": { - "start": { - "line": 53, - "column": 2 + ], + "directives": [] }, - "end": { - "line": 53, - "column": 57 - } + "alternate": null }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1277, - "end": 1325, - "loc": { - "start": { - "line": 53, - "column": 8 - }, - "end": { - "line": 53, - "column": 56 - } - }, - "id": { - "type": "Identifier", - "start": 1277, - "end": 1289, - "loc": { - "start": { - "line": 53, - "column": 8 - }, - "end": { - "line": 53, - "column": 20 - }, - "identifierName": "newCorrConst" - }, - "name": "newCorrConst" + { + "type": "VariableDeclaration", + "start": 1286, + "end": 1341, + "loc": { + "start": { + "line": 53, + "column": 2 }, - "init": { - "type": "NewExpression", + "end": { + "line": 53, + "column": 57 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", "start": 1292, - "end": 1325, + "end": 1340, "loc": { "start": { "line": 53, - "column": 23 + "column": 8 }, "end": { "line": 53, "column": 56 } }, - "callee": { + "id": { "type": "Identifier", - "start": 1296, - "end": 1315, + "start": 1292, + "end": 1304, "loc": { "start": { "line": 53, - "column": 27 + "column": 8 }, "end": { "line": 53, - "column": 46 + "column": 20 }, - "identifierName": "CorrelationConstant" + "identifierName": "newCorrConst" }, - "name": "CorrelationConstant" + "name": "newCorrConst" }, - "arguments": [ - { + "init": { + "type": "NewExpression", + "start": 1307, + "end": 1340, + "loc": { + "start": { + "line": 53, + "column": 23 + }, + "end": { + "line": 53, + "column": 56 + } + }, + "callee": { "type": "Identifier", - "start": 1316, - "end": 1318, + "start": 1311, + "end": 1330, "loc": { "start": { "line": 53, - "column": 47 + "column": 27 }, "end": { "line": 53, - "column": 49 + "column": 46 }, - "identifierName": "id" + "identifierName": "CorrelationConstant" }, - "name": "id" + "name": "CorrelationConstant" }, - { - "type": "Identifier", - "start": 1320, - "end": 1324, - "loc": { - "start": { - "line": 53, - "column": 51 - }, - "end": { - "line": 53, - "column": 55 + "arguments": [ + { + "type": "Identifier", + "start": 1331, + "end": 1333, + "loc": { + "start": { + "line": 53, + "column": 47 + }, + "end": { + "line": 53, + "column": 49 + }, + "identifierName": "id" }, - "identifierName": "name" + "name": "id" }, - "name": "name" - } - ] + { + "type": "Identifier", + "start": 1335, + "end": 1339, + "loc": { + "start": { + "line": 53, + "column": 51 + }, + "end": { + "line": 53, + "column": 55 + }, + "identifierName": "name" + }, + "name": "name" + } + ] + } } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 1329, - "end": 1384, - "loc": { - "start": { - "line": 54, - "column": 2 - }, - "end": { - "line": 54, - "column": 57 - } + ], + "kind": "const" }, - "expression": { - "type": "AssignmentExpression", - "start": 1329, - "end": 1383, + { + "type": "ExpressionStatement", + "start": 1344, + "end": 1399, "loc": { "start": { "line": 54, @@ -2228,14 +2228,13 @@ }, "end": { "line": 54, - "column": 56 + "column": 57 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1329, - "end": 1368, + "expression": { + "type": "AssignmentExpression", + "start": 1344, + "end": 1398, "loc": { "start": { "line": 54, @@ -2243,115 +2242,116 @@ }, "end": { "line": 54, - "column": 41 + "column": 56 } }, - "object": { - "type": "Identifier", - "start": 1329, - "end": 1349, - "loc": { - "start": { - "line": 54, - "column": 2 - }, - "end": { - "line": 54, - "column": 22 - }, - "identifierName": "correlationConstants" - }, - "name": "correlationConstants" - }, - "property": { + "operator": "=", + "left": { "type": "MemberExpression", - "start": 1350, - "end": 1367, + "start": 1344, + "end": 1383, "loc": { "start": { "line": 54, - "column": 23 + "column": 2 }, "end": { "line": 54, - "column": 40 + "column": 41 } }, "object": { "type": "Identifier", - "start": 1350, - "end": 1362, + "start": 1344, + "end": 1364, "loc": { "start": { "line": 54, - "column": 23 + "column": 2 }, "end": { "line": 54, - "column": 35 + "column": 22 }, - "identifierName": "newCorrConst" + "identifierName": "correlationConstants" }, - "name": "newCorrConst" + "name": "correlationConstants" }, "property": { - "type": "Identifier", - "start": 1363, - "end": 1367, + "type": "MemberExpression", + "start": 1365, + "end": 1382, "loc": { "start": { "line": 54, - "column": 36 + "column": 23 }, "end": { "line": 54, "column": 40 + } + }, + "object": { + "type": "Identifier", + "start": 1365, + "end": 1377, + "loc": { + "start": { + "line": 54, + "column": 23 + }, + "end": { + "line": 54, + "column": 35 + }, + "identifierName": "newCorrConst" + }, + "name": "newCorrConst" + }, + "property": { + "type": "Identifier", + "start": 1378, + "end": 1382, + "loc": { + "start": { + "line": 54, + "column": 36 + }, + "end": { + "line": 54, + "column": 40 + }, + "identifierName": "name" }, - "identifierName": "name" + "name": "name" }, - "name": "name" + "computed": false }, - "computed": false + "computed": true }, - "computed": true - }, - "right": { - "type": "Identifier", - "start": 1371, - "end": 1383, - "loc": { - "start": { - "line": 54, - "column": 44 - }, - "end": { - "line": 54, - "column": 56 + "right": { + "type": "Identifier", + "start": 1386, + "end": 1398, + "loc": { + "start": { + "line": 54, + "column": 44 + }, + "end": { + "line": 54, + "column": 56 + }, + "identifierName": "newCorrConst" }, - "identifierName": "newCorrConst" - }, - "name": "newCorrConst" - } - } - }, - { - "type": "ExpressionStatement", - "start": 1387, - "end": 1443, - "loc": { - "start": { - "line": 55, - "column": 2 - }, - "end": { - "line": 55, - "column": 58 + "name": "newCorrConst" + } } }, - "expression": { - "type": "AssignmentExpression", - "start": 1387, - "end": 1442, + { + "type": "ExpressionStatement", + "start": 1402, + "end": 1458, "loc": { "start": { "line": 55, @@ -2359,14 +2359,13 @@ }, "end": { "line": 55, - "column": 57 + "column": 58 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1387, - "end": 1427, + "expression": { + "type": "AssignmentExpression", + "start": 1402, + "end": 1457, "loc": { "start": { "line": 55, @@ -2374,131 +2373,166 @@ }, "end": { "line": 55, - "column": 42 + "column": 57 } }, - "object": { - "type": "Identifier", - "start": 1387, - "end": 1407, - "loc": { - "start": { - "line": 55, - "column": 2 - }, - "end": { - "line": 55, - "column": 22 - }, - "identifierName": "correlationConstants" - }, - "name": "correlationConstants" - }, - "property": { + "operator": "=", + "left": { "type": "MemberExpression", - "start": 1408, - "end": 1426, + "start": 1402, + "end": 1442, "loc": { "start": { "line": 55, - "column": 23 + "column": 2 }, "end": { "line": 55, - "column": 41 + "column": 42 } }, "object": { "type": "Identifier", - "start": 1408, - "end": 1420, + "start": 1402, + "end": 1422, "loc": { "start": { "line": 55, - "column": 23 + "column": 2 }, "end": { "line": 55, - "column": 35 + "column": 22 }, - "identifierName": "newCorrConst" + "identifierName": "correlationConstants" }, - "name": "newCorrConst" + "name": "correlationConstants" }, "property": { - "type": "Identifier", - "start": 1421, - "end": 1426, + "type": "MemberExpression", + "start": 1423, + "end": 1441, "loc": { "start": { "line": 55, - "column": 36 + "column": 23 }, "end": { "line": 55, "column": 41 + } + }, + "object": { + "type": "Identifier", + "start": 1423, + "end": 1435, + "loc": { + "start": { + "line": 55, + "column": 23 + }, + "end": { + "line": 55, + "column": 35 + }, + "identifierName": "newCorrConst" + }, + "name": "newCorrConst" + }, + "property": { + "type": "Identifier", + "start": 1436, + "end": 1441, + "loc": { + "start": { + "line": 55, + "column": 36 + }, + "end": { + "line": 55, + "column": 41 + }, + "identifierName": "value" }, - "identifierName": "value" + "name": "value" + }, + "computed": false + }, + "computed": true + }, + "right": { + "type": "Identifier", + "start": 1445, + "end": 1457, + "loc": { + "start": { + "line": 55, + "column": 45 }, - "name": "value" + "end": { + "line": 55, + "column": 57 + }, + "identifierName": "newCorrConst" }, - "computed": false + "name": "newCorrConst" + } + } + }, + { + "type": "ReturnStatement", + "start": 1461, + "end": 1481, + "loc": { + "start": { + "line": 56, + "column": 2 }, - "computed": true + "end": { + "line": 56, + "column": 22 + } }, - "right": { + "argument": { "type": "Identifier", - "start": 1430, - "end": 1442, + "start": 1468, + "end": 1480, "loc": { "start": { - "line": 55, - "column": 45 + "line": 56, + "column": 9 }, "end": { - "line": 55, - "column": 57 + "line": 56, + "column": 21 }, "identifierName": "newCorrConst" }, "name": "newCorrConst" } } - }, + ], + "directives": [] + }, + "leadingComments": [ { - "type": "ReturnStatement", - "start": 1446, - "end": 1466, + "type": "CommentBlock", + "value": "*\n * Return a Lord of the Night by its G id.\n * @param {string|number} id - Has the form 'G1', 'G2', etc.\n * @param {string} name - Optional name when creating a new Correlation Constant\n * @return {CorrelationConstant}\n ", + "start": 775, + "end": 1000, "loc": { "start": { - "line": 56, - "column": 2 + "line": 40, + "column": 0 }, "end": { - "line": 56, - "column": 22 + "line": 45, + "column": 3 } - }, - "argument": { - "type": "Identifier", - "start": 1453, - "end": 1465, - "loc": { - "start": { - "line": 56, - "column": 9 - }, - "end": { - "line": 56, - "column": 21 - }, - "identifierName": "newCorrConst" - }, - "name": "newCorrConst" } } ], - "directives": [] + "trailingComments": [] }, "leadingComments": [ { @@ -2515,107 +2549,9 @@ "line": 45, "column": 3 } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 1471, - "end": 1511, - "loc": { - "start": { - "line": 60, - "column": 0 - }, - "end": { - "line": 60, - "column": 40 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1471, - "end": 1510, - "loc": { - "start": { - "line": 60, - "column": 0 - }, - "end": { - "line": 60, - "column": 39 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1471, - "end": 1485, - "loc": { - "start": { - "line": 60, - "column": 0 - }, - "end": { - "line": 60, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 1471, - "end": 1477, - "loc": { - "start": { - "line": 60, - "column": 0 - }, - "end": { - "line": 60, - "column": 6 - }, - "identifierName": "module" - }, - "name": "module" - }, - "property": { - "type": "Identifier", - "start": 1478, - "end": 1485, - "loc": { - "start": { - "line": 60, - "column": 7 - }, - "end": { - "line": 60, - "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 1488, - "end": 1510, - "loc": { - "start": { - "line": 60, - "column": 17 - }, - "end": { - "line": 60, - "column": 39 - }, - "identifierName": "getCorrelationConstant" - }, - "name": "getCorrelationConstant" + } } - } + ] } ], "directives": [] @@ -6116,6 +6052,62 @@ } } }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 1001, + "end": 1007, + "loc": { + "start": { + "line": 46, + "column": 0 + }, + "end": { + "line": 46, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 1008, + "end": 1015, + "loc": { + "start": { + "line": 46, + "column": 7 + }, + "end": { + "line": 46, + "column": 14 + } + } + }, { "type": { "label": "function", @@ -6130,16 +6122,16 @@ "binop": null }, "value": "function", - "start": 1001, - "end": 1009, + "start": 1016, + "end": 1024, "loc": { "start": { "line": 46, - "column": 0 + "column": 15 }, "end": { "line": 46, - "column": 8 + "column": 23 } } }, @@ -6156,16 +6148,16 @@ "binop": null }, "value": "getCorrelationConstant", - "start": 1010, - "end": 1032, + "start": 1025, + "end": 1047, "loc": { "start": { "line": 46, - "column": 9 + "column": 24 }, "end": { "line": 46, - "column": 31 + "column": 46 } } }, @@ -6181,16 +6173,16 @@ "postfix": false, "binop": null }, - "start": 1032, - "end": 1033, + "start": 1047, + "end": 1048, "loc": { "start": { "line": 46, - "column": 31 + "column": 46 }, "end": { "line": 46, - "column": 32 + "column": 47 } } }, @@ -6207,16 +6199,16 @@ "binop": null }, "value": "id", - "start": 1033, - "end": 1035, + "start": 1048, + "end": 1050, "loc": { "start": { "line": 46, - "column": 32 + "column": 47 }, "end": { "line": 46, - "column": 34 + "column": 49 } } }, @@ -6233,16 +6225,16 @@ "binop": null, "updateContext": null }, - "start": 1035, - "end": 1036, + "start": 1050, + "end": 1051, "loc": { "start": { "line": 46, - "column": 34 + "column": 49 }, "end": { "line": 46, - "column": 35 + "column": 50 } } }, @@ -6259,16 +6251,16 @@ "binop": null }, "value": "name", - "start": 1037, - "end": 1041, + "start": 1052, + "end": 1056, "loc": { "start": { "line": 46, - "column": 36 + "column": 51 }, "end": { "line": 46, - "column": 40 + "column": 55 } } }, @@ -6284,16 +6276,16 @@ "postfix": false, "binop": null }, - "start": 1041, - "end": 1042, + "start": 1056, + "end": 1057, "loc": { "start": { "line": 46, - "column": 40 + "column": 55 }, "end": { "line": 46, - "column": 41 + "column": 56 } } }, @@ -6309,16 +6301,16 @@ "postfix": false, "binop": null }, - "start": 1043, - "end": 1044, + "start": 1058, + "end": 1059, "loc": { "start": { "line": 46, - "column": 42 + "column": 57 }, "end": { "line": 46, - "column": 43 + "column": 58 } } }, @@ -6337,8 +6329,8 @@ "updateContext": null }, "value": "if", - "start": 1047, - "end": 1049, + "start": 1062, + "end": 1064, "loc": { "start": { "line": 47, @@ -6362,8 +6354,8 @@ "postfix": false, "binop": null }, - "start": 1050, - "end": 1051, + "start": 1065, + "end": 1066, "loc": { "start": { "line": 47, @@ -6388,8 +6380,8 @@ "binop": null }, "value": "id", - "start": 1051, - "end": 1053, + "start": 1066, + "end": 1068, "loc": { "start": { "line": 47, @@ -6416,8 +6408,8 @@ "updateContext": null }, "value": "in", - "start": 1054, - "end": 1056, + "start": 1069, + "end": 1071, "loc": { "start": { "line": 47, @@ -6442,8 +6434,8 @@ "binop": null }, "value": "correlationConstants", - "start": 1057, - "end": 1077, + "start": 1072, + "end": 1092, "loc": { "start": { "line": 47, @@ -6467,8 +6459,8 @@ "postfix": false, "binop": null }, - "start": 1077, - "end": 1078, + "start": 1092, + "end": 1093, "loc": { "start": { "line": 47, @@ -6492,8 +6484,8 @@ "postfix": false, "binop": null }, - "start": 1079, - "end": 1080, + "start": 1094, + "end": 1095, "loc": { "start": { "line": 47, @@ -6520,8 +6512,8 @@ "updateContext": null }, "value": "return", - "start": 1085, - "end": 1091, + "start": 1100, + "end": 1106, "loc": { "start": { "line": 48, @@ -6546,8 +6538,8 @@ "binop": null }, "value": "correlationConstants", - "start": 1092, - "end": 1112, + "start": 1107, + "end": 1127, "loc": { "start": { "line": 48, @@ -6572,8 +6564,8 @@ "binop": null, "updateContext": null }, - "start": 1112, - "end": 1113, + "start": 1127, + "end": 1128, "loc": { "start": { "line": 48, @@ -6598,8 +6590,8 @@ "binop": null }, "value": "id", - "start": 1113, - "end": 1115, + "start": 1128, + "end": 1130, "loc": { "start": { "line": 48, @@ -6624,8 +6616,8 @@ "binop": null, "updateContext": null }, - "start": 1115, - "end": 1116, + "start": 1130, + "end": 1131, "loc": { "start": { "line": 48, @@ -6650,8 +6642,8 @@ "binop": null, "updateContext": null }, - "start": 1116, - "end": 1117, + "start": 1131, + "end": 1132, "loc": { "start": { "line": 48, @@ -6675,8 +6667,8 @@ "postfix": false, "binop": null }, - "start": 1120, - "end": 1121, + "start": 1135, + "end": 1136, "loc": { "start": { "line": 49, @@ -6703,8 +6695,8 @@ "updateContext": null }, "value": "if", - "start": 1124, - "end": 1126, + "start": 1139, + "end": 1141, "loc": { "start": { "line": 50, @@ -6728,8 +6720,8 @@ "postfix": false, "binop": null }, - "start": 1127, - "end": 1128, + "start": 1142, + "end": 1143, "loc": { "start": { "line": 50, @@ -6754,8 +6746,8 @@ "binop": null }, "value": "name", - "start": 1128, - "end": 1132, + "start": 1143, + "end": 1147, "loc": { "start": { "line": 50, @@ -6781,8 +6773,8 @@ "updateContext": null }, "value": "===", - "start": 1133, - "end": 1136, + "start": 1148, + "end": 1151, "loc": { "start": { "line": 50, @@ -6807,8 +6799,8 @@ "binop": null }, "value": "undefined", - "start": 1137, - "end": 1146, + "start": 1152, + "end": 1161, "loc": { "start": { "line": 50, @@ -6832,8 +6824,8 @@ "postfix": false, "binop": null }, - "start": 1146, - "end": 1147, + "start": 1161, + "end": 1162, "loc": { "start": { "line": 50, @@ -6857,8 +6849,8 @@ "postfix": false, "binop": null }, - "start": 1148, - "end": 1149, + "start": 1163, + "end": 1164, "loc": { "start": { "line": 50, @@ -6885,8 +6877,8 @@ "updateContext": null }, "value": "throw", - "start": 1154, - "end": 1159, + "start": 1169, + "end": 1174, "loc": { "start": { "line": 51, @@ -6913,8 +6905,8 @@ "updateContext": null }, "value": "new", - "start": 1160, - "end": 1163, + "start": 1175, + "end": 1178, "loc": { "start": { "line": 51, @@ -6939,8 +6931,8 @@ "binop": null }, "value": "Error", - "start": 1164, - "end": 1169, + "start": 1179, + "end": 1184, "loc": { "start": { "line": 51, @@ -6964,8 +6956,8 @@ "postfix": false, "binop": null }, - "start": 1169, - "end": 1170, + "start": 1184, + "end": 1185, "loc": { "start": { "line": 51, @@ -6989,8 +6981,8 @@ "postfix": false, "binop": null }, - "start": 1170, - "end": 1171, + "start": 1185, + "end": 1186, "loc": { "start": { "line": 51, @@ -7016,8 +7008,8 @@ "updateContext": null }, "value": "Could not find ", - "start": 1171, - "end": 1186, + "start": 1186, + "end": 1201, "loc": { "start": { "line": 51, @@ -7041,8 +7033,8 @@ "postfix": false, "binop": null }, - "start": 1186, - "end": 1188, + "start": 1201, + "end": 1203, "loc": { "start": { "line": 51, @@ -7067,8 +7059,8 @@ "binop": null }, "value": "id", - "start": 1188, - "end": 1190, + "start": 1203, + "end": 1205, "loc": { "start": { "line": 51, @@ -7092,8 +7084,8 @@ "postfix": false, "binop": null }, - "start": 1190, - "end": 1191, + "start": 1205, + "end": 1206, "loc": { "start": { "line": 51, @@ -7119,8 +7111,8 @@ "updateContext": null }, "value": " in defaults, and 'name' was not provided for new Correlation Constant", - "start": 1191, - "end": 1261, + "start": 1206, + "end": 1276, "loc": { "start": { "line": 51, @@ -7144,8 +7136,8 @@ "postfix": false, "binop": null }, - "start": 1261, - "end": 1262, + "start": 1276, + "end": 1277, "loc": { "start": { "line": 51, @@ -7169,8 +7161,8 @@ "postfix": false, "binop": null }, - "start": 1262, - "end": 1263, + "start": 1277, + "end": 1278, "loc": { "start": { "line": 51, @@ -7195,8 +7187,8 @@ "binop": null, "updateContext": null }, - "start": 1263, - "end": 1264, + "start": 1278, + "end": 1279, "loc": { "start": { "line": 51, @@ -7220,8 +7212,8 @@ "postfix": false, "binop": null }, - "start": 1267, - "end": 1268, + "start": 1282, + "end": 1283, "loc": { "start": { "line": 52, @@ -7248,8 +7240,8 @@ "updateContext": null }, "value": "const", - "start": 1271, - "end": 1276, + "start": 1286, + "end": 1291, "loc": { "start": { "line": 53, @@ -7274,8 +7266,8 @@ "binop": null }, "value": "newCorrConst", - "start": 1277, - "end": 1289, + "start": 1292, + "end": 1304, "loc": { "start": { "line": 53, @@ -7301,8 +7293,8 @@ "updateContext": null }, "value": "=", - "start": 1290, - "end": 1291, + "start": 1305, + "end": 1306, "loc": { "start": { "line": 53, @@ -7329,8 +7321,8 @@ "updateContext": null }, "value": "new", - "start": 1292, - "end": 1295, + "start": 1307, + "end": 1310, "loc": { "start": { "line": 53, @@ -7355,8 +7347,8 @@ "binop": null }, "value": "CorrelationConstant", - "start": 1296, - "end": 1315, + "start": 1311, + "end": 1330, "loc": { "start": { "line": 53, @@ -7380,8 +7372,8 @@ "postfix": false, "binop": null }, - "start": 1315, - "end": 1316, + "start": 1330, + "end": 1331, "loc": { "start": { "line": 53, @@ -7406,8 +7398,8 @@ "binop": null }, "value": "id", - "start": 1316, - "end": 1318, + "start": 1331, + "end": 1333, "loc": { "start": { "line": 53, @@ -7432,8 +7424,8 @@ "binop": null, "updateContext": null }, - "start": 1318, - "end": 1319, + "start": 1333, + "end": 1334, "loc": { "start": { "line": 53, @@ -7458,8 +7450,8 @@ "binop": null }, "value": "name", - "start": 1320, - "end": 1324, + "start": 1335, + "end": 1339, "loc": { "start": { "line": 53, @@ -7483,8 +7475,8 @@ "postfix": false, "binop": null }, - "start": 1324, - "end": 1325, + "start": 1339, + "end": 1340, "loc": { "start": { "line": 53, @@ -7509,8 +7501,8 @@ "binop": null, "updateContext": null }, - "start": 1325, - "end": 1326, + "start": 1340, + "end": 1341, "loc": { "start": { "line": 53, @@ -7535,8 +7527,8 @@ "binop": null }, "value": "correlationConstants", - "start": 1329, - "end": 1349, + "start": 1344, + "end": 1364, "loc": { "start": { "line": 54, @@ -7561,8 +7553,8 @@ "binop": null, "updateContext": null }, - "start": 1349, - "end": 1350, + "start": 1364, + "end": 1365, "loc": { "start": { "line": 54, @@ -7587,8 +7579,8 @@ "binop": null }, "value": "newCorrConst", - "start": 1350, - "end": 1362, + "start": 1365, + "end": 1377, "loc": { "start": { "line": 54, @@ -7613,8 +7605,8 @@ "binop": null, "updateContext": null }, - "start": 1362, - "end": 1363, + "start": 1377, + "end": 1378, "loc": { "start": { "line": 54, @@ -7639,8 +7631,8 @@ "binop": null }, "value": "name", - "start": 1363, - "end": 1367, + "start": 1378, + "end": 1382, "loc": { "start": { "line": 54, @@ -7665,8 +7657,8 @@ "binop": null, "updateContext": null }, - "start": 1367, - "end": 1368, + "start": 1382, + "end": 1383, "loc": { "start": { "line": 54, @@ -7692,8 +7684,8 @@ "updateContext": null }, "value": "=", - "start": 1369, - "end": 1370, + "start": 1384, + "end": 1385, "loc": { "start": { "line": 54, @@ -7718,8 +7710,8 @@ "binop": null }, "value": "newCorrConst", - "start": 1371, - "end": 1383, + "start": 1386, + "end": 1398, "loc": { "start": { "line": 54, @@ -7744,8 +7736,8 @@ "binop": null, "updateContext": null }, - "start": 1383, - "end": 1384, + "start": 1398, + "end": 1399, "loc": { "start": { "line": 54, @@ -7770,8 +7762,8 @@ "binop": null }, "value": "correlationConstants", - "start": 1387, - "end": 1407, + "start": 1402, + "end": 1422, "loc": { "start": { "line": 55, @@ -7796,8 +7788,8 @@ "binop": null, "updateContext": null }, - "start": 1407, - "end": 1408, + "start": 1422, + "end": 1423, "loc": { "start": { "line": 55, @@ -7822,8 +7814,8 @@ "binop": null }, "value": "newCorrConst", - "start": 1408, - "end": 1420, + "start": 1423, + "end": 1435, "loc": { "start": { "line": 55, @@ -7848,8 +7840,8 @@ "binop": null, "updateContext": null }, - "start": 1420, - "end": 1421, + "start": 1435, + "end": 1436, "loc": { "start": { "line": 55, @@ -7874,8 +7866,8 @@ "binop": null }, "value": "value", - "start": 1421, - "end": 1426, + "start": 1436, + "end": 1441, "loc": { "start": { "line": 55, @@ -7900,8 +7892,8 @@ "binop": null, "updateContext": null }, - "start": 1426, - "end": 1427, + "start": 1441, + "end": 1442, "loc": { "start": { "line": 55, @@ -7927,8 +7919,8 @@ "updateContext": null }, "value": "=", - "start": 1428, - "end": 1429, + "start": 1443, + "end": 1444, "loc": { "start": { "line": 55, @@ -7953,8 +7945,8 @@ "binop": null }, "value": "newCorrConst", - "start": 1430, - "end": 1442, + "start": 1445, + "end": 1457, "loc": { "start": { "line": 55, @@ -7979,8 +7971,8 @@ "binop": null, "updateContext": null }, - "start": 1442, - "end": 1443, + "start": 1457, + "end": 1458, "loc": { "start": { "line": 55, @@ -8007,8 +7999,8 @@ "updateContext": null }, "value": "return", - "start": 1446, - "end": 1452, + "start": 1461, + "end": 1467, "loc": { "start": { "line": 56, @@ -8033,8 +8025,8 @@ "binop": null }, "value": "newCorrConst", - "start": 1453, - "end": 1465, + "start": 1468, + "end": 1480, "loc": { "start": { "line": 56, @@ -8059,8 +8051,8 @@ "binop": null, "updateContext": null }, - "start": 1465, - "end": 1466, + "start": 1480, + "end": 1481, "loc": { "start": { "line": 56, @@ -8084,8 +8076,8 @@ "postfix": false, "binop": null }, - "start": 1467, - "end": 1468, + "start": 1482, + "end": 1483, "loc": { "start": { "line": 57, @@ -8097,163 +8089,6 @@ } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "module", - "start": 1471, - "end": 1477, - "loc": { - "start": { - "line": 60, - "column": 0 - }, - "end": { - "line": 60, - "column": 6 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1477, - "end": 1478, - "loc": { - "start": { - "line": 60, - "column": 6 - }, - "end": { - "line": 60, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "exports", - "start": 1478, - "end": 1485, - "loc": { - "start": { - "line": 60, - "column": 7 - }, - "end": { - "line": 60, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1486, - "end": 1487, - "loc": { - "start": { - "line": 60, - "column": 15 - }, - "end": { - "line": 60, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getCorrelationConstant", - "start": 1488, - "end": 1510, - "loc": { - "start": { - "line": 60, - "column": 17 - }, - "end": { - "line": 60, - "column": 39 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1510, - "end": 1511, - "loc": { - "start": { - "line": 60, - "column": 39 - }, - "end": { - "line": 60, - "column": 40 - } - } - }, { "type": { "label": "eof", @@ -8267,15 +8102,15 @@ "binop": null, "updateContext": null }, - "start": 1512, - "end": 1512, + "start": 1484, + "end": 1484, "loc": { "start": { - "line": 61, + "line": 58, "column": 0 }, "end": { - "line": 61, + "line": 58, "column": 0 } } diff --git a/docs/ast/source/lc/distance-number.js.json b/docs/ast/source/lc/distance-number.js.json index e4ff2e3..167c94b 100644 --- a/docs/ast/source/lc/distance-number.js.json +++ b/docs/ast/source/lc/distance-number.js.json @@ -1,1352 +1,1053 @@ { "type": "File", "start": 0, - "end": 8998, + "end": 9060, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 387, + "line": 386, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 8998, + "end": 9060, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 387, + "line": 386, "column": 0 } }, "sourceType": "module", "body": [ { - "type": "VariableDeclaration", - "start": 15, - "end": 54, + "type": "ImportDeclaration", + "start": 0, + "end": 35, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 39 + "line": 1, + "column": 35 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 21, - "end": 53, + "type": "ImportDefaultSpecifier", + "start": 7, + "end": 15, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 38 + "line": 1, + "column": 15 } }, - "id": { + "local": { "type": "Identifier", - "start": 21, - "end": 30, + "start": 7, + "end": 15, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, + "line": 1, "column": 15 }, - "identifierName": "moonbeams" - }, - "name": "moonbeams", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 33, - "end": 53, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 38 - } - }, - "callee": { - "type": "Identifier", - "start": 33, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 25 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 41, - "end": 52, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 37 - } - }, - "extra": { - "rawValue": "moonbeams", - "raw": "'moonbeams'" - }, - "value": "moonbeams" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 + "identifierName": "wildcard" }, - "end": { - "line": 1, - "column": 14 - } + "name": "wildcard" } } ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 55, - "end": 69, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 21, + "end": 34, + "loc": { + "start": { + "line": 1, + "column": 21 + }, + "end": { + "line": 1, + "column": 34 } - } - ] + }, + "extra": { + "rawValue": "../wildcard", + "raw": "'../wildcard'" + }, + "value": "../wildcard" + } }, { - "type": "VariableDeclaration", - "start": 70, - "end": 110, + "type": "ImportDeclaration", + "start": 36, + "end": 101, "loc": { "start": { - "line": 4, + "line": 2, "column": 0 }, "end": { - "line": 4, - "column": 40 + "line": 2, + "column": 65 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 76, - "end": 109, + "type": "ImportDefaultSpecifier", + "start": 43, + "end": 60, "loc": { "start": { - "line": 4, - "column": 6 + "line": 2, + "column": 7 }, "end": { - "line": 4, - "column": 39 + "line": 2, + "column": 24 } }, - "id": { + "local": { "type": "Identifier", - "start": 76, - "end": 84, - "loc": { - "start": { - "line": 4, - "column": 6 - }, - "end": { - "line": 4, - "column": 14 - }, - "identifierName": "wildcard" - }, - "name": "wildcard", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 87, - "end": 109, + "start": 43, + "end": 60, "loc": { "start": { - "line": 4, - "column": 17 + "line": 2, + "column": 7 }, "end": { - "line": 4, - "column": 39 - } - }, - "callee": { - "type": "Identifier", - "start": 87, - "end": 94, - "loc": { - "start": { - "line": 4, - "column": 17 - }, - "end": { - "line": 4, - "column": 24 - }, - "identifierName": "require" + "line": 2, + "column": 24 }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 95, - "end": 108, - "loc": { - "start": { - "line": 4, - "column": 25 - }, - "end": { - "line": 4, - "column": 38 - } - }, - "extra": { - "rawValue": "../wildcard", - "raw": "'../wildcard'" - }, - "value": "../wildcard" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 55, - "end": 69, - "loc": { - "start": { - "line": 3, - "column": 0 + "identifierName": "LongcountAddition" }, - "end": { - "line": 3, - "column": 14 - } + "name": "LongcountAddition" } } ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 111, - "end": 125, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 66, + "end": 100, + "loc": { + "start": { + "line": 2, + "column": 30 + }, + "end": { + "line": 2, + "column": 64 } - } - ] + }, + "extra": { + "rawValue": "../operations/longcount-addition", + "raw": "'../operations/longcount-addition'" + }, + "value": "../operations/longcount-addition" + } }, { - "type": "VariableDeclaration", - "start": 126, - "end": 196, + "type": "ImportDeclaration", + "start": 102, + "end": 173, "loc": { "start": { - "line": 6, + "line": 3, "column": 0 }, "end": { - "line": 6, - "column": 70 + "line": 3, + "column": 71 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 132, - "end": 195, + "type": "ImportDefaultSpecifier", + "start": 109, + "end": 129, "loc": { "start": { - "line": 6, - "column": 6 + "line": 3, + "column": 7 }, "end": { - "line": 6, - "column": 69 + "line": 3, + "column": 27 } }, - "id": { + "local": { "type": "Identifier", - "start": 132, - "end": 149, - "loc": { - "start": { - "line": 6, - "column": 6 - }, - "end": { - "line": 6, - "column": 23 - }, - "identifierName": "LongcountAddition" - }, - "name": "LongcountAddition", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 152, - "end": 195, + "start": 109, + "end": 129, "loc": { "start": { - "line": 6, - "column": 26 + "line": 3, + "column": 7 }, "end": { - "line": 6, - "column": 69 - } - }, - "callee": { - "type": "Identifier", - "start": 152, - "end": 159, - "loc": { - "start": { - "line": 6, - "column": 26 - }, - "end": { - "line": 6, - "column": 33 - }, - "identifierName": "require" + "line": 3, + "column": 27 }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 160, - "end": 194, - "loc": { - "start": { - "line": 6, - "column": 34 - }, - "end": { - "line": 6, - "column": 68 - } - }, - "extra": { - "rawValue": "../operations/longcount-addition", - "raw": "'../operations/longcount-addition'" - }, - "value": "../operations/longcount-addition" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 111, - "end": 125, - "loc": { - "start": { - "line": 5, - "column": 0 + "identifierName": "LongcountSubtraction" }, - "end": { - "line": 5, - "column": 14 - } + "name": "LongcountSubtraction" } } ], + "source": { + "type": "StringLiteral", + "start": 135, + "end": 172, + "loc": { + "start": { + "line": 3, + "column": 33 + }, + "end": { + "line": 3, + "column": 70 + } + }, + "extra": { + "rawValue": "../operations/longcount-subtraction", + "raw": "'../operations/longcount-subtraction'" + }, + "value": "../operations/longcount-subtraction" + }, "trailingComments": [ { "type": "CommentBlock", - "value": "* @ignore ", - "start": 197, - "end": 211, + "value": "*\n * Long Count cycle\n ", + "start": 175, + "end": 202, "loc": { "start": { - "line": 7, + "line": 5, "column": 0 }, "end": { "line": 7, - "column": 14 + "column": 3 } } } ] }, { - "type": "VariableDeclaration", - "start": 212, - "end": 288, + "type": "ExportDefaultDeclaration", + "start": 203, + "end": 9059, "loc": { "start": { "line": 8, "column": 0 }, "end": { - "line": 8, - "column": 76 + "line": 385, + "column": 1 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 218, - "end": 287, + "declaration": { + "type": "ClassDeclaration", + "start": 218, + "end": 9059, + "loc": { + "start": { + "line": 8, + "column": 15 + }, + "end": { + "line": 385, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 224, + "end": 238, "loc": { "start": { "line": 8, - "column": 6 + "column": 21 }, "end": { "line": 8, - "column": 75 - } - }, - "id": { - "type": "Identifier", - "start": 218, - "end": 238, - "loc": { - "start": { - "line": 8, - "column": 6 - }, - "end": { - "line": 8, - "column": 26 - }, - "identifierName": "LongcountSubtraction" - }, - "name": "LongcountSubtraction", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 241, - "end": 287, - "loc": { - "start": { - "line": 8, - "column": 29 - }, - "end": { - "line": 8, - "column": 75 - } - }, - "callee": { - "type": "Identifier", - "start": 241, - "end": 248, - "loc": { - "start": { - "line": 8, - "column": 29 - }, - "end": { - "line": 8, - "column": 36 - }, - "identifierName": "require" - }, - "name": "require" + "column": 35 }, - "arguments": [ - { - "type": "StringLiteral", - "start": 249, - "end": 286, - "loc": { - "start": { - "line": 8, - "column": 37 - }, - "end": { - "line": 8, - "column": 74 - } - }, - "extra": { - "rawValue": "../operations/longcount-subtraction", - "raw": "'../operations/longcount-subtraction'" - }, - "value": "../operations/longcount-subtraction" - } - ] + "identifierName": "DistanceNumber" }, + "name": "DistanceNumber", "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 197, - "end": 211, - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 14 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Long Count cycle\n ", - "start": 290, - "end": 317, + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 239, + "end": 9059, "loc": { "start": { - "line": 10, - "column": 0 + "line": 8, + "column": 36 }, "end": { - "line": 12, - "column": 3 + "line": 385, + "column": 1 } - } - } - ] - }, - { - "type": "ClassDeclaration", - "start": 318, - "end": 8963, - "loc": { - "start": { - "line": 13, - "column": 0 - }, - "end": { - "line": 384, - "column": 1 - } - }, - "id": { - "type": "Identifier", - "start": 324, - "end": 338, - "loc": { - "start": { - "line": 13, - "column": 6 - }, - "end": { - "line": 13, - "column": 20 - }, - "identifierName": "DistanceNumber" - }, - "name": "DistanceNumber", - "leadingComments": null - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 339, - "end": 8963, - "loc": { - "start": { - "line": 13, - "column": 21 }, - "end": { - "line": 384, - "column": 1 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 463, - "end": 945, - "loc": { - "start": { - "line": 18, - "column": 2 - }, - "end": { - "line": 39, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 463, - "end": 474, + "body": [ + { + "type": "ClassMethod", + "start": 363, + "end": 850, "loc": { "start": { - "line": 18, + "line": 13, "column": 2 }, "end": { - "line": 18, - "column": 13 - }, - "identifierName": "constructor" + "line": 35, + "column": 3 + } }, - "name": "constructor", - "leadingComments": null - }, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "RestElement", - "start": 475, - "end": 484, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 363, + "end": 374, "loc": { "start": { - "line": 18, - "column": 14 + "line": 13, + "column": 2 }, "end": { - "line": 18, - "column": 23 - } - }, - "argument": { - "type": "Identifier", - "start": 478, - "end": 484, - "loc": { - "start": { - "line": 18, - "column": 17 - }, - "end": { - "line": 18, - "column": 23 - }, - "identifierName": "cycles" + "line": 13, + "column": 13 }, - "name": "cycles" - } - } - ], - "body": { - "type": "BlockStatement", - "start": 486, - "end": 945, - "loc": { - "start": { - "line": 18, - "column": 25 + "identifierName": "constructor" }, - "end": { - "line": 39, - "column": 3 - } + "name": "constructor", + "leadingComments": null }, - "body": [ + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "ExpressionStatement", - "start": 566, - "end": 586, + "type": "RestElement", + "start": 376, + "end": 385, "loc": { "start": { - "line": 23, - "column": 4 + "line": 13, + "column": 15 }, "end": { - "line": 23, + "line": 13, "column": 24 } }, - "expression": { - "type": "AssignmentExpression", - "start": 566, - "end": 585, + "argument": { + "type": "Identifier", + "start": 379, + "end": 385, + "loc": { + "start": { + "line": 13, + "column": 18 + }, + "end": { + "line": 13, + "column": 24 + }, + "identifierName": "cycles" + }, + "name": "cycles" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 387, + "end": 850, + "loc": { + "start": { + "line": 13, + "column": 26 + }, + "end": { + "line": 35, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 467, + "end": 486, "loc": { "start": { - "line": 23, + "line": 18, "column": 4 }, "end": { - "line": 23, + "line": 18, "column": 23 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 566, - "end": 576, + "expression": { + "type": "AssignmentExpression", + "start": 467, + "end": 486, "loc": { "start": { - "line": 23, + "line": 18, "column": 4 }, "end": { - "line": 23, - "column": 14 + "line": 18, + "column": 23 } }, - "object": { - "type": "ThisExpression", - "start": 566, - "end": 570, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 467, + "end": 477, "loc": { "start": { - "line": 23, + "line": 18, "column": 4 }, "end": { - "line": 23, - "column": 8 + "line": 18, + "column": 14 } }, + "object": { + "type": "ThisExpression", + "start": 467, + "end": 471, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 472, + "end": 477, + "loc": { + "start": { + "line": 18, + "column": 9 + }, + "end": { + "line": 18, + "column": 14 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false, "leadingComments": null }, - "property": { + "right": { "type": "Identifier", - "start": 571, - "end": 576, + "start": 480, + "end": 486, "loc": { "start": { - "line": 23, - "column": 9 + "line": 18, + "column": 17 }, "end": { - "line": 23, - "column": 14 + "line": 18, + "column": 23 }, - "identifierName": "parts" - }, - "name": "parts" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "Identifier", - "start": 579, - "end": 585, - "loc": { - "start": { - "line": 23, - "column": 17 + "identifierName": "cycles" }, - "end": { - "line": 23, - "column": 23 - }, - "identifierName": "cycles" + "name": "cycles", + "leadingComments": null, + "trailingComments": null }, - "name": "cycles" + "leadingComments": null, + "trailingComments": null }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Date Components\n * @type {number[]|Wildcard[]}\n ", - "start": 492, - "end": 561, - "loc": { - "start": { - "line": 19, - "column": 4 - }, - "end": { - "line": 22, - "column": 7 + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Date Components\n * @type {number[]|Wildcard[]}\n ", + "start": 393, + "end": 462, + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 17, + "column": 7 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Pattern to validate the fullDate\n * @type {RegExp}\n ", - "start": 592, - "end": 665, - "loc": { - "start": { - "line": 25, - "column": 4 - }, - "end": { - "line": 28, - "column": 7 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Pattern to validate the fullDate\n * @type {RegExp}\n ", + "start": 492, + "end": 565, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 23, + "column": 7 + } } } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 670, - "end": 705, - "loc": { - "start": { - "line": 29, - "column": 4 - }, - "end": { - "line": 29, - "column": 39 - } + ] }, - "expression": { - "type": "AssignmentExpression", - "start": 670, - "end": 704, + { + "type": "ExpressionStatement", + "start": 570, + "end": 604, "loc": { "start": { - "line": 29, + "line": 24, "column": 4 }, "end": { - "line": 29, + "line": 24, "column": 38 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 670, - "end": 687, + "expression": { + "type": "AssignmentExpression", + "start": 570, + "end": 604, "loc": { "start": { - "line": 29, + "line": 24, "column": 4 }, "end": { - "line": 29, - "column": 21 + "line": 24, + "column": 38 } }, - "object": { - "type": "ThisExpression", - "start": 670, - "end": 674, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 570, + "end": 587, "loc": { "start": { - "line": 29, + "line": 24, "column": 4 }, "end": { - "line": 29, - "column": 8 + "line": 24, + "column": 21 } }, + "object": { + "type": "ThisExpression", + "start": 570, + "end": 574, + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 24, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 575, + "end": 587, + "loc": { + "start": { + "line": 24, + "column": 9 + }, + "end": { + "line": 24, + "column": 21 + }, + "identifierName": "date_pattern" + }, + "name": "date_pattern" + }, + "computed": false, "leadingComments": null }, - "property": { - "type": "Identifier", - "start": 675, - "end": 687, + "right": { + "type": "RegExpLiteral", + "start": 590, + "end": 604, "loc": { "start": { - "line": 29, - "column": 9 + "line": 24, + "column": 24 }, "end": { - "line": 29, - "column": 21 - }, - "identifierName": "date_pattern" + "line": 24, + "column": 38 + } }, - "name": "date_pattern" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "RegExpLiteral", - "start": 690, - "end": 704, - "loc": { - "start": { - "line": 29, - "column": 24 + "extra": { + "raw": "/([\\d*]+\\.?)+/" }, - "end": { - "line": 29, - "column": 38 - } - }, - "extra": { - "raw": "/([\\d*]+\\.?)+/" + "leadingComments": null, + "trailingComments": null, + "pattern": "([\\d*]+\\.?)+", + "flags": "" }, - "pattern": "([\\d*]+\\.?)+", - "flags": "" + "leadingComments": null, + "trailingComments": null }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Pattern to validate the fullDate\n * @type {RegExp}\n ", - "start": 592, - "end": 665, - "loc": { - "start": { - "line": 25, - "column": 4 - }, - "end": { - "line": 28, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @private\n * @type {number}\n ", - "start": 711, - "end": 760, - "loc": { - "start": { - "line": 31, - "column": 4 - }, - "end": { - "line": 34, - "column": 7 + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Pattern to validate the fullDate\n * @type {RegExp}\n ", + "start": 492, + "end": 565, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 23, + "column": 7 + } } } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 765, - "end": 826, - "loc": { - "start": { - "line": 35, - "column": 4 - }, - "end": { - "line": 35, - "column": 65 - } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @private\n * @type {number}\n ", + "start": 610, + "end": 659, + "loc": { + "start": { + "line": 26, + "column": 4 + }, + "end": { + "line": 29, + "column": 7 + } + } + } + ] }, - "expression": { - "type": "AssignmentExpression", - "start": 765, - "end": 825, + { + "type": "ExpressionStatement", + "start": 664, + "end": 724, "loc": { "start": { - "line": 35, + "line": 30, "column": 4 }, "end": { - "line": 35, + "line": 30, "column": 64 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 765, - "end": 774, + "expression": { + "type": "AssignmentExpression", + "start": 664, + "end": 724, "loc": { "start": { - "line": 35, + "line": 30, "column": 4 }, "end": { - "line": 35, - "column": 13 + "line": 30, + "column": 64 } }, - "object": { - "type": "ThisExpression", - "start": 765, - "end": 769, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 664, + "end": 673, "loc": { "start": { - "line": 35, + "line": 30, "column": 4 }, "end": { - "line": 35, - "column": 8 + "line": 30, + "column": 13 } }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 770, - "end": 774, - "loc": { - "start": { - "line": 35, - "column": 9 - }, - "end": { - "line": 35, - "column": 13 + "object": { + "type": "ThisExpression", + "start": 664, + "end": 668, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 8 + } }, - "identifierName": "sign" + "leadingComments": null }, - "name": "sign" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "ConditionalExpression", - "start": 777, - "end": 825, - "loc": { - "start": { - "line": 35, - "column": 16 + "property": { + "type": "Identifier", + "start": 669, + "end": 673, + "loc": { + "start": { + "line": 30, + "column": 9 + }, + "end": { + "line": 30, + "column": 13 + }, + "identifierName": "sign" + }, + "name": "sign" }, - "end": { - "line": 35, - "column": 64 - } + "computed": false, + "leadingComments": null }, - "test": { - "type": "BinaryExpression", - "start": 778, - "end": 815, + "right": { + "type": "ConditionalExpression", + "start": 676, + "end": 724, "loc": { "start": { - "line": 35, - "column": 17 + "line": 30, + "column": 16 }, "end": { - "line": 35, - "column": 54 + "line": 30, + "column": 64 } }, - "left": { - "type": "MemberExpression", - "start": 778, - "end": 811, + "test": { + "type": "BinaryExpression", + "start": 677, + "end": 714, "loc": { "start": { - "line": 35, + "line": 30, "column": 17 }, "end": { - "line": 35, - "column": 50 + "line": 30, + "column": 54 } }, - "object": { + "left": { "type": "MemberExpression", - "start": 778, - "end": 788, + "start": 677, + "end": 710, "loc": { "start": { - "line": 35, + "line": 30, "column": 17 }, "end": { - "line": 35, - "column": 27 + "line": 30, + "column": 50 } }, "object": { - "type": "ThisExpression", - "start": 778, - "end": 782, + "type": "MemberExpression", + "start": 677, + "end": 687, "loc": { "start": { - "line": 35, + "line": 30, "column": 17 }, "end": { - "line": 35, - "column": 21 - } - } - }, - "property": { - "type": "Identifier", - "start": 783, - "end": 788, - "loc": { - "start": { - "line": 35, - "column": 22 - }, - "end": { - "line": 35, + "line": 30, "column": 27 - }, - "identifierName": "parts" + } }, - "name": "parts" - }, - "computed": false - }, - "property": { - "type": "BinaryExpression", - "start": 789, - "end": 810, - "loc": { - "start": { - "line": 35, - "column": 28 + "object": { + "type": "ThisExpression", + "start": 677, + "end": 681, + "loc": { + "start": { + "line": 30, + "column": 17 + }, + "end": { + "line": 30, + "column": 21 + } + } }, - "end": { - "line": 35, - "column": 49 - } + "property": { + "type": "Identifier", + "start": 682, + "end": 687, + "loc": { + "start": { + "line": 30, + "column": 22 + }, + "end": { + "line": 30, + "column": 27 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false }, - "left": { - "type": "MemberExpression", - "start": 789, - "end": 806, + "property": { + "type": "BinaryExpression", + "start": 688, + "end": 709, "loc": { "start": { - "line": 35, + "line": 30, "column": 28 }, "end": { - "line": 35, - "column": 45 + "line": 30, + "column": 49 } }, - "object": { + "left": { "type": "MemberExpression", - "start": 789, - "end": 799, + "start": 688, + "end": 705, "loc": { "start": { - "line": 35, + "line": 30, "column": 28 }, "end": { - "line": 35, - "column": 38 + "line": 30, + "column": 45 } }, "object": { - "type": "ThisExpression", - "start": 789, - "end": 793, + "type": "MemberExpression", + "start": 688, + "end": 698, "loc": { "start": { - "line": 35, + "line": 30, "column": 28 }, "end": { - "line": 35, - "column": 32 + "line": 30, + "column": 38 } - } + }, + "object": { + "type": "ThisExpression", + "start": 688, + "end": 692, + "loc": { + "start": { + "line": 30, + "column": 28 + }, + "end": { + "line": 30, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "start": 693, + "end": 698, + "loc": { + "start": { + "line": 30, + "column": 33 + }, + "end": { + "line": 30, + "column": 38 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 794, - "end": 799, + "start": 699, + "end": 705, "loc": { "start": { - "line": 35, - "column": 33 + "line": 30, + "column": 39 }, "end": { - "line": 35, - "column": 38 + "line": 30, + "column": 45 }, - "identifierName": "parts" + "identifierName": "length" }, - "name": "parts" + "name": "length" }, "computed": false }, - "property": { - "type": "Identifier", - "start": 800, - "end": 806, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 708, + "end": 709, "loc": { "start": { - "line": 35, - "column": 39 + "line": 30, + "column": 48 }, "end": { - "line": 35, - "column": 45 - }, - "identifierName": "length" + "line": 30, + "column": 49 + } }, - "name": "length" - }, - "computed": false - }, - "operator": "-", - "right": { - "type": "NumericLiteral", - "start": 809, - "end": 810, - "loc": { - "start": { - "line": 35, - "column": 48 + "extra": { + "rawValue": 1, + "raw": "1" }, - "end": { - "line": 35, - "column": 49 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" + "value": 1 + } + }, + "computed": true + }, + "operator": "<", + "right": { + "type": "NumericLiteral", + "start": 713, + "end": 714, + "loc": { + "start": { + "line": 30, + "column": 53 }, - "value": 1 - } + "end": { + "line": 30, + "column": 54 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 }, - "computed": true + "extra": { + "parenthesized": true, + "parenStart": 676 + } }, - "operator": "<", - "right": { - "type": "NumericLiteral", - "start": 814, - "end": 815, + "consequent": { + "type": "UnaryExpression", + "start": 718, + "end": 720, "loc": { "start": { - "line": 35, - "column": 53 + "line": 30, + "column": 58 }, "end": { - "line": 35, - "column": 54 + "line": 30, + "column": 60 } }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "extra": { - "parenthesized": true, - "parenStart": 777 - } - }, - "consequent": { - "type": "UnaryExpression", - "start": 819, - "end": 821, - "loc": { - "start": { - "line": 35, - "column": 58 + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 719, + "end": 720, + "loc": { + "start": { + "line": 30, + "column": 59 + }, + "end": { + "line": 30, + "column": 60 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 }, - "end": { - "line": 35, - "column": 60 + "extra": { + "parenthesizedArgument": false } }, - "operator": "-", - "prefix": true, - "argument": { + "alternate": { "type": "NumericLiteral", - "start": 820, - "end": 821, + "start": 723, + "end": 724, "loc": { "start": { - "line": 35, - "column": 59 + "line": 30, + "column": 63 }, "end": { - "line": 35, - "column": 60 + "line": 30, + "column": 64 } }, "extra": { @@ -1354,978 +1055,744 @@ "raw": "1" }, "value": 1 - }, - "extra": { - "parenthesizedArgument": false } }, - "alternate": { - "type": "NumericLiteral", - "start": 824, - "end": 825, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @private\n * @type {number}\n ", + "start": 610, + "end": 659, "loc": { "start": { - "line": 35, - "column": 63 + "line": 26, + "column": 4 }, "end": { - "line": 35, - "column": 64 + "line": 29, + "column": 7 } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @private\n * @type {number}\n ", - "start": 711, - "end": 760, - "loc": { - "start": { - "line": 31, - "column": 4 - }, - "end": { - "line": 34, - "column": 7 } } - } - ] - }, - { - "type": "IfStatement", - "start": 831, - "end": 941, - "loc": { - "start": { - "line": 36, - "column": 4 - }, - "end": { - "line": 38, - "column": 5 - } + ] }, - "test": { - "type": "MemberExpression", - "start": 835, - "end": 850, + { + "type": "IfStatement", + "start": 729, + "end": 846, "loc": { "start": { - "line": 36, - "column": 8 + "line": 31, + "column": 4 }, "end": { - "line": 36, - "column": 23 + "line": 34, + "column": 5 } }, - "object": { - "type": "ThisExpression", - "start": 835, - "end": 839, + "test": { + "type": "MemberExpression", + "start": 733, + "end": 748, "loc": { "start": { - "line": 36, + "line": 31, "column": 8 }, "end": { - "line": 36, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 840, - "end": 850, - "loc": { - "start": { - "line": 36, - "column": 13 - }, - "end": { - "line": 36, + "line": 31, "column": 23 - }, - "identifierName": "isNegative" - }, - "name": "isNegative" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 852, - "end": 941, - "loc": { - "start": { - "line": 36, - "column": 25 + } }, - "end": { - "line": 38, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 860, - "end": 935, + "object": { + "type": "ThisExpression", + "start": 733, + "end": 737, "loc": { "start": { - "line": 37, - "column": 6 + "line": 31, + "column": 8 }, "end": { - "line": 37, - "column": 81 + "line": 31, + "column": 12 } + } + }, + "property": { + "type": "Identifier", + "start": 738, + "end": 748, + "loc": { + "start": { + "line": 31, + "column": 13 + }, + "end": { + "line": 31, + "column": 23 + }, + "identifierName": "isNegative" + }, + "name": "isNegative" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 750, + "end": 846, + "loc": { + "start": { + "line": 31, + "column": 25 }, - "expression": { - "type": "AssignmentExpression", - "start": 860, - "end": 934, + "end": { + "line": 34, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 758, + "end": 840, "loc": { "start": { - "line": 37, + "line": 32, "column": 6 }, "end": { - "line": 37, - "column": 80 + "line": 33, + "column": 41 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 860, - "end": 893, + "expression": { + "type": "AssignmentExpression", + "start": 758, + "end": 840, "loc": { "start": { - "line": 37, + "line": 32, "column": 6 }, "end": { - "line": 37, - "column": 39 + "line": 33, + "column": 41 } }, - "object": { + "operator": "=", + "left": { "type": "MemberExpression", - "start": 860, - "end": 870, + "start": 758, + "end": 791, "loc": { "start": { - "line": 37, + "line": 32, "column": 6 }, "end": { - "line": 37, - "column": 16 + "line": 32, + "column": 39 } }, "object": { - "type": "ThisExpression", - "start": 860, - "end": 864, + "type": "MemberExpression", + "start": 758, + "end": 768, "loc": { "start": { - "line": 37, + "line": 32, "column": 6 }, "end": { - "line": 37, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 865, - "end": 870, - "loc": { - "start": { - "line": 37, - "column": 11 - }, - "end": { - "line": 37, + "line": 32, "column": 16 - }, - "identifierName": "parts" + } }, - "name": "parts" - }, - "computed": false - }, - "property": { - "type": "BinaryExpression", - "start": 871, - "end": 892, - "loc": { - "start": { - "line": 37, - "column": 17 + "object": { + "type": "ThisExpression", + "start": 758, + "end": 762, + "loc": { + "start": { + "line": 32, + "column": 6 + }, + "end": { + "line": 32, + "column": 10 + } + } }, - "end": { - "line": 37, - "column": 38 - } + "property": { + "type": "Identifier", + "start": 763, + "end": 768, + "loc": { + "start": { + "line": 32, + "column": 11 + }, + "end": { + "line": 32, + "column": 16 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false }, - "left": { - "type": "MemberExpression", - "start": 871, - "end": 888, + "property": { + "type": "BinaryExpression", + "start": 769, + "end": 790, "loc": { "start": { - "line": 37, + "line": 32, "column": 17 }, "end": { - "line": 37, - "column": 34 + "line": 32, + "column": 38 } }, - "object": { + "left": { "type": "MemberExpression", - "start": 871, - "end": 881, + "start": 769, + "end": 786, "loc": { "start": { - "line": 37, + "line": 32, "column": 17 }, "end": { - "line": 37, - "column": 27 + "line": 32, + "column": 34 } }, "object": { - "type": "ThisExpression", - "start": 871, - "end": 875, + "type": "MemberExpression", + "start": 769, + "end": 779, "loc": { "start": { - "line": 37, + "line": 32, "column": 17 }, "end": { - "line": 37, - "column": 21 + "line": 32, + "column": 27 } - } + }, + "object": { + "type": "ThisExpression", + "start": 769, + "end": 773, + "loc": { + "start": { + "line": 32, + "column": 17 + }, + "end": { + "line": 32, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "start": 774, + "end": 779, + "loc": { + "start": { + "line": 32, + "column": 22 + }, + "end": { + "line": 32, + "column": 27 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 876, - "end": 881, + "start": 780, + "end": 786, "loc": { "start": { - "line": 37, - "column": 22 + "line": 32, + "column": 28 }, "end": { - "line": 37, - "column": 27 + "line": 32, + "column": 34 }, - "identifierName": "parts" + "identifierName": "length" }, - "name": "parts" + "name": "length" }, "computed": false }, - "property": { - "type": "Identifier", - "start": 882, - "end": 888, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 789, + "end": 790, "loc": { "start": { - "line": 37, - "column": 28 + "line": 32, + "column": 37 }, "end": { - "line": 37, - "column": 34 - }, - "identifierName": "length" + "line": 32, + "column": 38 + } }, - "name": "length" + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + }, + "computed": true + }, + "right": { + "type": "BinaryExpression", + "start": 794, + "end": 840, + "loc": { + "start": { + "line": 32, + "column": 42 }, - "computed": false + "end": { + "line": 33, + "column": 41 + } }, - "operator": "-", - "right": { - "type": "NumericLiteral", - "start": 891, - "end": 892, + "left": { + "type": "UnaryExpression", + "start": 794, + "end": 796, "loc": { "start": { - "line": 37, - "column": 37 + "line": 32, + "column": 42 }, "end": { - "line": 37, - "column": 38 + "line": 32, + "column": 44 } }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - }, - "computed": true - }, - "right": { - "type": "BinaryExpression", - "start": 896, - "end": 934, - "loc": { - "start": { - "line": 37, - "column": 42 - }, - "end": { - "line": 37, - "column": 80 - } - }, - "left": { - "type": "UnaryExpression", - "start": 896, - "end": 898, - "loc": { - "start": { - "line": 37, - "column": 42 - }, - "end": { - "line": 37, - "column": 44 - } - }, - "operator": "-", - "prefix": true, - "argument": { - "type": "NumericLiteral", - "start": 897, - "end": 898, - "loc": { - "start": { - "line": 37, - "column": 43 + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 795, + "end": 796, + "loc": { + "start": { + "line": 32, + "column": 43 + }, + "end": { + "line": 32, + "column": 44 + } }, - "end": { - "line": 37, - "column": 44 - } + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 }, "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "*", - "right": { - "type": "MemberExpression", - "start": 901, - "end": 934, - "loc": { - "start": { - "line": 37, - "column": 47 - }, - "end": { - "line": 37, - "column": 80 + "parenthesizedArgument": false } }, - "object": { + "operator": "*", + "right": { "type": "MemberExpression", - "start": 901, - "end": 911, + "start": 807, + "end": 840, "loc": { "start": { - "line": 37, - "column": 47 + "line": 33, + "column": 8 }, "end": { - "line": 37, - "column": 57 + "line": 33, + "column": 41 } }, "object": { - "type": "ThisExpression", - "start": 901, - "end": 905, + "type": "MemberExpression", + "start": 807, + "end": 817, "loc": { "start": { - "line": 37, - "column": 47 + "line": 33, + "column": 8 }, "end": { - "line": 37, - "column": 51 + "line": 33, + "column": 18 } - } - }, - "property": { - "type": "Identifier", - "start": 906, - "end": 911, - "loc": { - "start": { - "line": 37, - "column": 52 - }, - "end": { - "line": 37, - "column": 57 - }, - "identifierName": "parts" }, - "name": "parts" - }, - "computed": false - }, - "property": { - "type": "BinaryExpression", - "start": 912, - "end": 933, - "loc": { - "start": { - "line": 37, - "column": 58 + "object": { + "type": "ThisExpression", + "start": 807, + "end": 811, + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 33, + "column": 12 + } + } }, - "end": { - "line": 37, - "column": 79 - } + "property": { + "type": "Identifier", + "start": 812, + "end": 817, + "loc": { + "start": { + "line": 33, + "column": 13 + }, + "end": { + "line": 33, + "column": 18 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false }, - "left": { - "type": "MemberExpression", - "start": 912, - "end": 929, + "property": { + "type": "BinaryExpression", + "start": 818, + "end": 839, "loc": { "start": { - "line": 37, - "column": 58 + "line": 33, + "column": 19 }, "end": { - "line": 37, - "column": 75 + "line": 33, + "column": 40 } }, - "object": { + "left": { "type": "MemberExpression", - "start": 912, - "end": 922, + "start": 818, + "end": 835, "loc": { "start": { - "line": 37, - "column": 58 + "line": 33, + "column": 19 }, "end": { - "line": 37, - "column": 68 + "line": 33, + "column": 36 } }, "object": { - "type": "ThisExpression", - "start": 912, - "end": 916, + "type": "MemberExpression", + "start": 818, + "end": 828, "loc": { "start": { - "line": 37, - "column": 58 + "line": 33, + "column": 19 }, "end": { - "line": 37, - "column": 62 + "line": 33, + "column": 29 } - } + }, + "object": { + "type": "ThisExpression", + "start": 818, + "end": 822, + "loc": { + "start": { + "line": 33, + "column": 19 + }, + "end": { + "line": 33, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "start": 823, + "end": 828, + "loc": { + "start": { + "line": 33, + "column": 24 + }, + "end": { + "line": 33, + "column": 29 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 917, - "end": 922, + "start": 829, + "end": 835, "loc": { "start": { - "line": 37, - "column": 63 + "line": 33, + "column": 30 }, "end": { - "line": 37, - "column": 68 + "line": 33, + "column": 36 }, - "identifierName": "parts" + "identifierName": "length" }, - "name": "parts" + "name": "length" }, "computed": false }, - "property": { - "type": "Identifier", - "start": 923, - "end": 929, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 838, + "end": 839, "loc": { "start": { - "line": 37, - "column": 69 + "line": 33, + "column": 39 }, "end": { - "line": 37, - "column": 75 - }, - "identifierName": "length" + "line": 33, + "column": 40 + } }, - "name": "length" - }, - "computed": false - }, - "operator": "-", - "right": { - "type": "NumericLiteral", - "start": 932, - "end": 933, - "loc": { - "start": { - "line": 37, - "column": 78 + "extra": { + "rawValue": 1, + "raw": "1" }, - "end": { - "line": 37, - "column": 79 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - }, - "computed": true + "value": 1 + } + }, + "computed": true + } } } } - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @param {...number|Wildcard} cycles - Components in the long count\n * (eg, K'in, Winal, Bak'tun, etc)\n ", - "start": 343, - "end": 460, - "loc": { - "start": { - "line": 14, - "column": 2 - }, - "end": { - "line": 17, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return true if the Long Count is positive.\n * @return {boolean}\n ", - "start": 949, - "end": 1029, - "loc": { - "start": { - "line": 41, - "column": 2 - }, - "end": { - "line": 44, - "column": 5 + ], + "directives": [] + }, + "alternate": null } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 1032, - "end": 1082, - "loc": { - "start": { - "line": 45, - "column": 2 - }, - "end": { - "line": 47, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1036, - "end": 1046, - "loc": { - "start": { - "line": 45, - "column": 6 - }, - "end": { - "line": 45, - "column": 16 - }, - "identifierName": "isPositive" - }, - "name": "isPositive" - }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1049, - "end": 1082, - "loc": { - "start": { - "line": 45, - "column": 19 - }, - "end": { - "line": 47, - "column": 3 - } + ], + "directives": [], + "trailingComments": null }, - "body": [ + "leadingComments": [ { - "type": "ReturnStatement", - "start": 1055, - "end": 1078, + "type": "CommentBlock", + "value": "*\n * @param {...number|Wildcard} cycles - Components in the long count\n * (eg, K'in, Winal, Bak'tun, etc)\n ", + "start": 243, + "end": 360, "loc": { "start": { - "line": 46, - "column": 4 + "line": 9, + "column": 2 }, "end": { - "line": 46, - "column": 27 + "line": 12, + "column": 5 } - }, - "argument": { - "type": "BinaryExpression", - "start": 1062, - "end": 1077, - "loc": { - "start": { - "line": 46, - "column": 11 - }, - "end": { - "line": 46, - "column": 26 - } - }, - "left": { - "type": "MemberExpression", - "start": 1062, - "end": 1071, - "loc": { - "start": { - "line": 46, - "column": 11 - }, - "end": { - "line": 46, - "column": 20 - } - }, - "object": { - "type": "ThisExpression", - "start": 1062, - "end": 1066, - "loc": { - "start": { - "line": 46, - "column": 11 - }, - "end": { - "line": 46, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 1067, - "end": 1071, - "loc": { - "start": { - "line": 46, - "column": 16 - }, - "end": { - "line": 46, - "column": 20 - }, - "identifierName": "sign" - }, - "name": "sign" - }, - "computed": false + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return true if the Long Count is positive.\n * @return {boolean}\n ", + "start": 854, + "end": 934, + "loc": { + "start": { + "line": 37, + "column": 2 }, - "operator": "===", - "right": { - "type": "NumericLiteral", - "start": 1076, - "end": 1077, - "loc": { - "start": { - "line": 46, - "column": 25 - }, - "end": { - "line": 46, - "column": 26 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 + "end": { + "line": 40, + "column": 5 } } } - ], - "directives": [], - "trailingComments": null + ] }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return true if the Long Count is positive.\n * @return {boolean}\n ", - "start": 949, - "end": 1029, + { + "type": "ClassMethod", + "start": 937, + "end": 987, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 43, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 941, + "end": 951, "loc": { "start": { "line": 41, - "column": 2 + "column": 6 }, "end": { - "line": 44, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return true if the Long Count is operating as a negative Distance Number.\n * @return {boolean}\n ", - "start": 1086, - "end": 1197, + "line": 41, + "column": 16 + }, + "identifierName": "isPositive" + }, + "name": "isPositive" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 955, + "end": 987, "loc": { "start": { - "line": 49, - "column": 2 + "line": 41, + "column": 20 }, "end": { - "line": 52, - "column": 5 + "line": 43, + "column": 3 } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 1200, - "end": 1251, - "loc": { - "start": { - "line": 53, - "column": 2 - }, - "end": { - "line": 55, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1204, - "end": 1214, - "loc": { - "start": { - "line": 53, - "column": 6 - }, - "end": { - "line": 53, - "column": 16 - }, - "identifierName": "isNegative" - }, - "name": "isNegative" - }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1217, - "end": 1251, - "loc": { - "start": { - "line": 53, - "column": 19 }, - "end": { - "line": 55, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 1223, - "end": 1247, - "loc": { - "start": { - "line": 54, - "column": 4 - }, - "end": { - "line": 54, - "column": 28 - } - }, - "argument": { - "type": "BinaryExpression", - "start": 1230, - "end": 1246, + "body": [ + { + "type": "ReturnStatement", + "start": 961, + "end": 983, "loc": { "start": { - "line": 54, - "column": 11 + "line": 42, + "column": 4 }, "end": { - "line": 54, - "column": 27 + "line": 42, + "column": 26 } }, - "left": { - "type": "MemberExpression", - "start": 1230, - "end": 1239, + "argument": { + "type": "BinaryExpression", + "start": 968, + "end": 983, "loc": { "start": { - "line": 54, + "line": 42, "column": 11 }, "end": { - "line": 54, - "column": 20 + "line": 42, + "column": 26 } }, - "object": { - "type": "ThisExpression", - "start": 1230, - "end": 1234, + "left": { + "type": "MemberExpression", + "start": 968, + "end": 977, "loc": { "start": { - "line": 54, + "line": 42, "column": 11 }, "end": { - "line": 54, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 1235, - "end": 1239, - "loc": { - "start": { - "line": 54, - "column": 16 - }, - "end": { - "line": 54, + "line": 42, "column": 20 - }, - "identifierName": "sign" + } }, - "name": "sign" - }, - "computed": false - }, - "operator": "===", - "right": { - "type": "UnaryExpression", - "start": 1244, - "end": 1246, - "loc": { - "start": { - "line": 54, - "column": 25 + "object": { + "type": "ThisExpression", + "start": 968, + "end": 972, + "loc": { + "start": { + "line": 42, + "column": 11 + }, + "end": { + "line": 42, + "column": 15 + } + } }, - "end": { - "line": 54, - "column": 27 - } + "property": { + "type": "Identifier", + "start": 973, + "end": 977, + "loc": { + "start": { + "line": 42, + "column": 16 + }, + "end": { + "line": 42, + "column": 20 + }, + "identifierName": "sign" + }, + "name": "sign" + }, + "computed": false }, - "operator": "-", - "prefix": true, - "argument": { + "operator": "===", + "right": { "type": "NumericLiteral", - "start": 1245, - "end": 1246, + "start": 982, + "end": 983, "loc": { "start": { - "line": 54, - "column": 26 + "line": 42, + "column": 25 }, "end": { - "line": 54, - "column": 27 + "line": 42, + "column": 26 } }, "extra": { @@ -2333,314 +1800,209 @@ "raw": "1" }, "value": 1 - }, - "extra": { - "parenthesizedArgument": false } } } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return true if the Long Count is operating as a negative Distance Number.\n * @return {boolean}\n ", - "start": 1086, - "end": 1197, - "loc": { - "start": { - "line": 49, - "column": 2 - }, - "end": { - "line": 52, - "column": 5 + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return true if the Long Count is positive.\n * @return {boolean}\n ", + "start": 854, + "end": 934, + "loc": { + "start": { + "line": 37, + "column": 2 + }, + "end": { + "line": 40, + "column": 5 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set this Long Count as being a Long Count or a positive Distance Number\n * @param {boolean} newPositive\n ", - "start": 1255, - "end": 1375, - "loc": { - "start": { - "line": 57, - "column": 2 - }, - "end": { - "line": 60, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return true if the Long Count is operating as a negative Distance Number.\n * @return {boolean}\n ", + "start": 991, + "end": 1102, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 48, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 1378, - "end": 1458, - "loc": { - "start": { - "line": 61, - "column": 2 - }, - "end": { - "line": 63, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1382, - "end": 1392, + { + "type": "ClassMethod", + "start": 1105, + "end": 1156, "loc": { "start": { - "line": 61, - "column": 6 + "line": 49, + "column": 2 }, "end": { - "line": 61, - "column": 16 - }, - "identifierName": "isPositive" + "line": 51, + "column": 3 + } }, - "name": "isPositive" - }, - "kind": "set", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 1393, - "end": 1404, + "start": 1109, + "end": 1119, "loc": { "start": { - "line": 61, - "column": 17 + "line": 49, + "column": 6 }, "end": { - "line": 61, - "column": 28 + "line": 49, + "column": 16 }, - "identifierName": "newPositive" - }, - "name": "newPositive" - } - ], - "body": { - "type": "BlockStatement", - "start": 1406, - "end": 1458, - "loc": { - "start": { - "line": 61, - "column": 30 + "identifierName": "isNegative" }, - "end": { - "line": 63, - "column": 3 - } + "name": "isNegative" }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1412, - "end": 1454, - "loc": { - "start": { - "line": 62, - "column": 4 - }, - "end": { - "line": 62, - "column": 46 - } + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1123, + "end": 1156, + "loc": { + "start": { + "line": 49, + "column": 20 }, - "expression": { - "type": "AssignmentExpression", - "start": 1412, - "end": 1453, + "end": { + "line": 51, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1129, + "end": 1152, "loc": { "start": { - "line": 62, + "line": 50, "column": 4 }, "end": { - "line": 62, - "column": 45 + "line": 50, + "column": 27 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1412, - "end": 1421, + "argument": { + "type": "BinaryExpression", + "start": 1136, + "end": 1152, "loc": { "start": { - "line": 62, - "column": 4 + "line": 50, + "column": 11 }, "end": { - "line": 62, - "column": 13 + "line": 50, + "column": 27 } }, - "object": { - "type": "ThisExpression", - "start": 1412, - "end": 1416, + "left": { + "type": "MemberExpression", + "start": 1136, + "end": 1145, "loc": { "start": { - "line": 62, - "column": 4 + "line": 50, + "column": 11 }, "end": { - "line": 62, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 1417, - "end": 1421, - "loc": { - "start": { - "line": 62, - "column": 9 - }, - "end": { - "line": 62, - "column": 13 - }, - "identifierName": "sign" - }, - "name": "sign" - }, - "computed": false - }, - "right": { - "type": "ConditionalExpression", - "start": 1424, - "end": 1453, - "loc": { - "start": { - "line": 62, - "column": 16 - }, - "end": { - "line": 62, - "column": 45 - } - }, - "test": { - "type": "BinaryExpression", - "start": 1424, - "end": 1444, - "loc": { - "start": { - "line": 62, - "column": 16 - }, - "end": { - "line": 62, - "column": 36 + "line": 50, + "column": 20 } }, - "left": { - "type": "Identifier", - "start": 1424, - "end": 1435, + "object": { + "type": "ThisExpression", + "start": 1136, + "end": 1140, "loc": { "start": { - "line": 62, - "column": 16 + "line": 50, + "column": 11 }, "end": { - "line": 62, - "column": 27 - }, - "identifierName": "newPositive" - }, - "name": "newPositive" + "line": 50, + "column": 15 + } + } }, - "operator": "===", - "right": { - "type": "BooleanLiteral", - "start": 1440, - "end": 1444, + "property": { + "type": "Identifier", + "start": 1141, + "end": 1145, "loc": { "start": { - "line": 62, - "column": 32 + "line": 50, + "column": 16 }, "end": { - "line": 62, - "column": 36 - } - }, - "value": true - } - }, - "consequent": { - "type": "NumericLiteral", - "start": 1447, - "end": 1448, - "loc": { - "start": { - "line": 62, - "column": 39 + "line": 50, + "column": 20 + }, + "identifierName": "sign" }, - "end": { - "line": 62, - "column": 40 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" + "name": "sign" }, - "value": 1 + "computed": false }, - "alternate": { + "operator": "===", + "right": { "type": "UnaryExpression", - "start": 1451, - "end": 1453, + "start": 1150, + "end": 1152, "loc": { "start": { - "line": 62, - "column": 43 + "line": 50, + "column": 25 }, "end": { - "line": 62, - "column": 45 + "line": 50, + "column": 27 } }, "operator": "-", "prefix": true, "argument": { "type": "NumericLiteral", - "start": 1452, - "end": 1453, + "start": 1151, + "end": 1152, "loc": { "start": { - "line": 62, - "column": 44 + "line": 50, + "column": 26 }, "end": { - "line": 62, - "column": 45 + "line": 50, + "column": 27 } }, "extra": { @@ -2655,10827 +2017,10837 @@ } } } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set this Long Count as being a Long Count or a positive Distance Number\n * @param {boolean} newPositive\n ", - "start": 1255, - "end": 1375, - "loc": { - "start": { - "line": 57, - "column": 2 - }, - "end": { - "line": 60, - "column": 5 + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return true if the Long Count is operating as a negative Distance Number.\n * @return {boolean}\n ", + "start": 991, + "end": 1102, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 48, + "column": 5 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set this Long Count as being a negative Distance Number\n * @param newNegative\n ", - "start": 1462, - "end": 1556, - "loc": { - "start": { - "line": 65, - "column": 2 - }, - "end": { - "line": 68, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set this Long Count as being a Long Count or a positive Distance Number\n * @param {boolean} newPositive\n ", + "start": 1160, + "end": 1280, + "loc": { + "start": { + "line": 53, + "column": 2 + }, + "end": { + "line": 56, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 1559, - "end": 1628, - "loc": { - "start": { - "line": 69, - "column": 2 - }, - "end": { - "line": 71, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1563, - "end": 1573, + { + "type": "ClassMethod", + "start": 1283, + "end": 1363, "loc": { "start": { - "line": 69, - "column": 6 + "line": 57, + "column": 2 }, "end": { - "line": 69, - "column": 16 - }, - "identifierName": "isNegative" + "line": 59, + "column": 3 + } }, - "name": "isNegative" - }, - "kind": "set", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 1574, - "end": 1585, + "start": 1287, + "end": 1297, "loc": { "start": { - "line": 69, - "column": 17 + "line": 57, + "column": 6 }, "end": { - "line": 69, - "column": 28 + "line": 57, + "column": 16 }, - "identifierName": "newNegative" - }, - "name": "newNegative" - } - ], - "body": { - "type": "BlockStatement", - "start": 1587, - "end": 1628, - "loc": { - "start": { - "line": 69, - "column": 30 + "identifierName": "isPositive" }, - "end": { - "line": 71, - "column": 3 - } + "name": "isPositive" }, - "body": [ + "kind": "set", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "ExpressionStatement", - "start": 1593, - "end": 1624, + "type": "Identifier", + "start": 1299, + "end": 1310, "loc": { "start": { - "line": 70, - "column": 4 + "line": 57, + "column": 18 }, "end": { - "line": 70, - "column": 35 - } + "line": 57, + "column": 29 + }, + "identifierName": "newPositive" + }, + "name": "newPositive" + } + ], + "body": { + "type": "BlockStatement", + "start": 1312, + "end": 1363, + "loc": { + "start": { + "line": 57, + "column": 31 }, - "expression": { - "type": "AssignmentExpression", - "start": 1593, - "end": 1623, + "end": { + "line": 59, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1318, + "end": 1359, "loc": { "start": { - "line": 70, + "line": 58, "column": 4 }, "end": { - "line": 70, - "column": 34 + "line": 58, + "column": 45 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1593, - "end": 1608, + "expression": { + "type": "AssignmentExpression", + "start": 1318, + "end": 1359, "loc": { "start": { - "line": 70, + "line": 58, "column": 4 }, "end": { - "line": 70, - "column": 19 + "line": 58, + "column": 45 } }, - "object": { - "type": "ThisExpression", - "start": 1593, - "end": 1597, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1318, + "end": 1327, "loc": { "start": { - "line": 70, + "line": 58, "column": 4 }, "end": { - "line": 70, - "column": 8 + "line": 58, + "column": 13 } - } + }, + "object": { + "type": "ThisExpression", + "start": 1318, + "end": 1322, + "loc": { + "start": { + "line": 58, + "column": 4 + }, + "end": { + "line": 58, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1323, + "end": 1327, + "loc": { + "start": { + "line": 58, + "column": 9 + }, + "end": { + "line": 58, + "column": 13 + }, + "identifierName": "sign" + }, + "name": "sign" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 1598, - "end": 1608, + "right": { + "type": "ConditionalExpression", + "start": 1330, + "end": 1359, "loc": { "start": { - "line": 70, - "column": 9 + "line": 58, + "column": 16 }, "end": { - "line": 70, - "column": 19 - }, - "identifierName": "isPositive" + "line": 58, + "column": 45 + } }, - "name": "isPositive" - }, - "computed": false - }, - "right": { - "type": "UnaryExpression", - "start": 1611, - "end": 1623, - "loc": { - "start": { - "line": 70, - "column": 22 + "test": { + "type": "BinaryExpression", + "start": 1330, + "end": 1350, + "loc": { + "start": { + "line": 58, + "column": 16 + }, + "end": { + "line": 58, + "column": 36 + } + }, + "left": { + "type": "Identifier", + "start": 1330, + "end": 1341, + "loc": { + "start": { + "line": 58, + "column": 16 + }, + "end": { + "line": 58, + "column": 27 + }, + "identifierName": "newPositive" + }, + "name": "newPositive" + }, + "operator": "===", + "right": { + "type": "BooleanLiteral", + "start": 1346, + "end": 1350, + "loc": { + "start": { + "line": 58, + "column": 32 + }, + "end": { + "line": 58, + "column": 36 + } + }, + "value": true + } }, - "end": { - "line": 70, - "column": 34 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 1612, - "end": 1623, - "loc": { - "start": { - "line": 70, - "column": 23 + "consequent": { + "type": "NumericLiteral", + "start": 1353, + "end": 1354, + "loc": { + "start": { + "line": 58, + "column": 39 + }, + "end": { + "line": 58, + "column": 40 + } }, - "end": { - "line": 70, - "column": 34 + "extra": { + "rawValue": 1, + "raw": "1" }, - "identifierName": "newNegative" + "value": 1 }, - "name": "newNegative" - }, - "extra": { - "parenthesizedArgument": false + "alternate": { + "type": "UnaryExpression", + "start": 1357, + "end": 1359, + "loc": { + "start": { + "line": 58, + "column": 43 + }, + "end": { + "line": 58, + "column": 45 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 1358, + "end": 1359, + "loc": { + "start": { + "line": 58, + "column": 44 + }, + "end": { + "line": 58, + "column": 45 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesizedArgument": false + } + } } } } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set this Long Count as being a negative Distance Number\n * @param newNegative\n ", - "start": 1462, - "end": 1556, - "loc": { - "start": { - "line": 65, - "column": 2 - }, - "end": { - "line": 68, - "column": 5 + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set this Long Count as being a Long Count or a positive Distance Number\n * @param {boolean} newPositive\n ", + "start": 1160, + "end": 1280, + "loc": { + "start": { + "line": 53, + "column": 2 + }, + "end": { + "line": 56, + "column": 5 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Given two long count dates, check if they are equal\n * @param {DistanceNumber} other\n * @return {boolean}\n ", - "start": 1632, - "end": 1756, - "loc": { - "start": { - "line": 73, - "column": 2 - }, - "end": { - "line": 77, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set this Long Count as being a negative Distance Number\n * @param newNegative\n ", + "start": 1367, + "end": 1461, + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 64, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 1759, - "end": 1814, - "loc": { - "start": { - "line": 78, - "column": 2 - }, - "end": { - "line": 80, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1759, - "end": 1764, + { + "type": "ClassMethod", + "start": 1464, + "end": 1533, "loc": { "start": { - "line": 78, + "line": 65, "column": 2 }, "end": { - "line": 78, - "column": 7 - }, - "identifierName": "equal" + "line": 67, + "column": 3 + } }, - "name": "equal", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 1765, - "end": 1770, + "start": 1468, + "end": 1478, "loc": { "start": { - "line": 78, - "column": 8 + "line": 65, + "column": 6 }, "end": { - "line": 78, - "column": 13 + "line": 65, + "column": 16 }, - "identifierName": "other" - }, - "name": "other" - } - ], - "body": { - "type": "BlockStatement", - "start": 1772, - "end": 1814, - "loc": { - "start": { - "line": 78, - "column": 15 + "identifierName": "isNegative" }, - "end": { - "line": 80, - "column": 3 - } + "name": "isNegative" }, - "body": [ + "kind": "set", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "ReturnStatement", - "start": 1778, - "end": 1810, + "type": "Identifier", + "start": 1480, + "end": 1491, "loc": { "start": { - "line": 79, - "column": 4 + "line": 65, + "column": 18 }, "end": { - "line": 79, - "column": 36 - } + "line": 65, + "column": 29 + }, + "identifierName": "newNegative" }, - "argument": { - "type": "BinaryExpression", - "start": 1785, - "end": 1809, + "name": "newNegative" + } + ], + "body": { + "type": "BlockStatement", + "start": 1493, + "end": 1533, + "loc": { + "start": { + "line": 65, + "column": 31 + }, + "end": { + "line": 67, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1499, + "end": 1529, "loc": { "start": { - "line": 79, - "column": 11 + "line": 66, + "column": 4 }, "end": { - "line": 79, - "column": 35 + "line": 66, + "column": 34 } }, - "left": { - "type": "TemplateLiteral", - "start": 1785, - "end": 1794, + "expression": { + "type": "AssignmentExpression", + "start": 1499, + "end": 1529, "loc": { "start": { - "line": 79, - "column": 11 + "line": 66, + "column": 4 }, "end": { - "line": 79, - "column": 20 + "line": 66, + "column": 34 } }, - "expressions": [ - { + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1499, + "end": 1514, + "loc": { + "start": { + "line": 66, + "column": 4 + }, + "end": { + "line": 66, + "column": 19 + } + }, + "object": { "type": "ThisExpression", - "start": 1788, - "end": 1792, + "start": 1499, + "end": 1503, "loc": { "start": { - "line": 79, - "column": 14 + "line": 66, + "column": 4 }, "end": { - "line": 79, - "column": 18 + "line": 66, + "column": 8 } } - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 1786, - "end": 1786, - "loc": { - "start": { - "line": 79, - "column": 12 - }, - "end": { - "line": 79, - "column": 12 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": false }, - { - "type": "TemplateElement", - "start": 1793, - "end": 1793, + "property": { + "type": "Identifier", + "start": 1504, + "end": 1514, "loc": { "start": { - "line": 79, - "column": 19 + "line": 66, + "column": 9 }, "end": { - "line": 79, + "line": 66, "column": 19 - } - }, - "value": { - "raw": "", - "cooked": "" + }, + "identifierName": "isPositive" }, - "tail": true - } - ] - }, - "operator": "===", - "right": { - "type": "TemplateLiteral", - "start": 1799, - "end": 1809, - "loc": { - "start": { - "line": 79, - "column": 25 + "name": "isPositive" }, - "end": { - "line": 79, - "column": 35 - } + "computed": false }, - "expressions": [ - { - "type": "Identifier", - "start": 1802, - "end": 1807, - "loc": { - "start": { - "line": 79, - "column": 28 - }, - "end": { - "line": 79, - "column": 33 - }, - "identifierName": "other" - }, - "name": "other" - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 1800, - "end": 1800, - "loc": { - "start": { - "line": 79, - "column": 26 - }, - "end": { - "line": 79, - "column": 26 - } - }, - "value": { - "raw": "", - "cooked": "" + "right": { + "type": "UnaryExpression", + "start": 1517, + "end": 1529, + "loc": { + "start": { + "line": 66, + "column": 22 }, - "tail": false + "end": { + "line": 66, + "column": 34 + } }, - { - "type": "TemplateElement", - "start": 1808, - "end": 1808, + "operator": "!", + "prefix": true, + "argument": { + "type": "Identifier", + "start": 1518, + "end": 1529, "loc": { "start": { - "line": 79, - "column": 34 + "line": 66, + "column": 23 }, "end": { - "line": 79, + "line": 66, "column": 34 - } - }, - "value": { - "raw": "", - "cooked": "" + }, + "identifierName": "newNegative" }, - "tail": true + "name": "newNegative" + }, + "extra": { + "parenthesizedArgument": false } - ] + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set this Long Count as being a negative Distance Number\n * @param newNegative\n ", + "start": 1367, + "end": 1461, + "loc": { + "start": { + "line": 61, + "column": 2 + }, + "end": { + "line": 64, + "column": 5 } } } ], - "directives": [], - "trailingComments": null + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Given two long count dates, check if they are equal\n * @param {DistanceNumber} other\n * @return {boolean}\n ", + "start": 1537, + "end": 1661, + "loc": { + "start": { + "line": 69, + "column": 2 + }, + "end": { + "line": 73, + "column": 5 + } + } + } + ] }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Given two long count dates, check if they are equal\n * @param {DistanceNumber} other\n * @return {boolean}\n ", - "start": 1632, - "end": 1756, + { + "type": "ClassMethod", + "start": 1664, + "end": 1719, + "loc": { + "start": { + "line": 74, + "column": 2 + }, + "end": { + "line": 76, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1664, + "end": 1669, "loc": { "start": { - "line": 73, + "line": 74, "column": 2 }, "end": { - "line": 77, - "column": 5 - } + "line": 74, + "column": 7 + }, + "identifierName": "equal" + }, + "name": "equal", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1671, + "end": 1676, + "loc": { + "start": { + "line": 74, + "column": 9 + }, + "end": { + "line": 74, + "column": 14 + }, + "identifierName": "other" + }, + "name": "other" } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Create a copy object of this long count fullDate\n * @returns {DistanceNumber}\n ", - "start": 1818, - "end": 1912, + ], + "body": { + "type": "BlockStatement", + "start": 1678, + "end": 1719, "loc": { "start": { - "line": 82, - "column": 2 + "line": 74, + "column": 16 }, "end": { - "line": 85, - "column": 5 + "line": 76, + "column": 3 } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 1915, - "end": 1974, - "loc": { - "start": { - "line": 86, - "column": 2 - }, - "end": { - "line": 88, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1915, - "end": 1920, - "loc": { - "start": { - "line": 86, - "column": 2 - }, - "end": { - "line": 86, - "column": 7 - }, - "identifierName": "clone" - }, - "name": "clone", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1923, - "end": 1974, - "loc": { - "start": { - "line": 86, - "column": 10 }, - "end": { - "line": 88, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 1929, - "end": 1970, - "loc": { - "start": { - "line": 87, - "column": 4 - }, - "end": { - "line": 87, - "column": 45 - } - }, - "argument": { - "type": "NewExpression", - "start": 1936, - "end": 1969, + "body": [ + { + "type": "ReturnStatement", + "start": 1684, + "end": 1715, "loc": { "start": { - "line": 87, - "column": 11 + "line": 75, + "column": 4 }, "end": { - "line": 87, - "column": 44 + "line": 75, + "column": 35 } }, - "callee": { - "type": "Identifier", - "start": 1940, - "end": 1954, + "argument": { + "type": "BinaryExpression", + "start": 1691, + "end": 1715, "loc": { "start": { - "line": 87, - "column": 15 + "line": 75, + "column": 11 }, "end": { - "line": 87, - "column": 29 - }, - "identifierName": "DistanceNumber" + "line": 75, + "column": 35 + } }, - "name": "DistanceNumber" - }, - "arguments": [ - { - "type": "SpreadElement", - "start": 1955, - "end": 1968, + "left": { + "type": "TemplateLiteral", + "start": 1691, + "end": 1700, "loc": { "start": { - "line": 87, - "column": 30 + "line": 75, + "column": 11 }, "end": { - "line": 87, - "column": 43 + "line": 75, + "column": 20 } }, - "argument": { - "type": "MemberExpression", - "start": 1958, - "end": 1968, - "loc": { - "start": { - "line": 87, - "column": 33 - }, - "end": { - "line": 87, - "column": 43 - } - }, - "object": { + "expressions": [ + { "type": "ThisExpression", - "start": 1958, - "end": 1962, + "start": 1694, + "end": 1698, "loc": { "start": { - "line": 87, - "column": 33 + "line": 75, + "column": 14 }, "end": { - "line": 87, - "column": 37 + "line": 75, + "column": 18 } } + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1692, + "end": 1692, + "loc": { + "start": { + "line": 75, + "column": 12 + }, + "end": { + "line": 75, + "column": 12 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": false }, - "property": { + { + "type": "TemplateElement", + "start": 1699, + "end": 1699, + "loc": { + "start": { + "line": 75, + "column": 19 + }, + "end": { + "line": 75, + "column": 19 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + }, + "operator": "===", + "right": { + "type": "TemplateLiteral", + "start": 1705, + "end": 1715, + "loc": { + "start": { + "line": 75, + "column": 25 + }, + "end": { + "line": 75, + "column": 35 + } + }, + "expressions": [ + { "type": "Identifier", - "start": 1963, - "end": 1968, + "start": 1708, + "end": 1713, "loc": { "start": { - "line": 87, - "column": 38 + "line": 75, + "column": 28 }, "end": { - "line": 87, - "column": 43 + "line": 75, + "column": 33 }, - "identifierName": "parts" + "identifierName": "other" }, - "name": "parts" + "name": "other" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1706, + "end": 1706, + "loc": { + "start": { + "line": 75, + "column": 26 + }, + "end": { + "line": 75, + "column": 26 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": false }, - "computed": false - } + { + "type": "TemplateElement", + "start": 1714, + "end": 1714, + "loc": { + "start": { + "line": 75, + "column": 34 + }, + "end": { + "line": 75, + "column": 34 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] } - ] + } } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Create a copy object of this long count fullDate\n * @returns {DistanceNumber}\n ", - "start": 1818, - "end": 1912, - "loc": { - "start": { - "line": 82, - "column": 2 - }, - "end": { - "line": 85, - "column": 5 + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Given two long count dates, check if they are equal\n * @param {DistanceNumber} other\n * @return {boolean}\n ", + "start": 1537, + "end": 1661, + "loc": { + "start": { + "line": 69, + "column": 2 + }, + "end": { + "line": 73, + "column": 5 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Get specific column in Long Count fullDate\n * @param {number} index\n * @returns {number}\n ", - "start": 1978, - "end": 2085, - "loc": { - "start": { - "line": 90, - "column": 2 - }, - "end": { - "line": 94, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Create a copy object of this long count fullDate\n * @returns {DistanceNumber}\n ", + "start": 1723, + "end": 1817, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 81, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 2088, - "end": 2221, - "loc": { - "start": { - "line": 95, - "column": 2 - }, - "end": { - "line": 101, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2088, - "end": 2103, + { + "type": "ClassMethod", + "start": 1820, + "end": 1879, "loc": { "start": { - "line": 95, + "line": 82, "column": 2 }, "end": { - "line": 95, - "column": 17 - }, - "identifierName": "getDateSections" + "line": 84, + "column": 3 + } }, - "name": "getDateSections", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 2104, - "end": 2109, + "start": 1820, + "end": 1825, "loc": { "start": { - "line": 95, - "column": 18 + "line": 82, + "column": 2 }, "end": { - "line": 95, - "column": 23 + "line": 82, + "column": 7 }, - "identifierName": "index" - }, - "name": "index" - } - ], - "body": { - "type": "BlockStatement", - "start": 2111, - "end": 2221, - "loc": { - "start": { - "line": 95, - "column": 25 + "identifierName": "clone" }, - "end": { - "line": 101, - "column": 3 - } + "name": "clone", + "leadingComments": null }, - "body": [ - { - "type": "VariableDeclaration", - "start": 2117, - "end": 2148, - "loc": { - "start": { - "line": 96, - "column": 4 - }, - "end": { - "line": 96, - "column": 35 - } + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1829, + "end": 1879, + "loc": { + "start": { + "line": 82, + "column": 11 }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2123, - "end": 2147, + "end": { + "line": 84, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1835, + "end": 1875, + "loc": { + "start": { + "line": 83, + "column": 4 + }, + "end": { + "line": 83, + "column": 44 + } + }, + "argument": { + "type": "NewExpression", + "start": 1842, + "end": 1875, "loc": { "start": { - "line": 96, - "column": 10 + "line": 83, + "column": 11 }, "end": { - "line": 96, - "column": 34 + "line": 83, + "column": 44 } }, - "id": { + "callee": { "type": "Identifier", - "start": 2123, - "end": 2127, + "start": 1846, + "end": 1860, "loc": { "start": { - "line": 96, - "column": 10 + "line": 83, + "column": 15 }, "end": { - "line": 96, - "column": 14 + "line": 83, + "column": 29 }, - "identifierName": "part" + "identifierName": "DistanceNumber" }, - "name": "part" + "name": "DistanceNumber" }, - "init": { - "type": "MemberExpression", - "start": 2130, - "end": 2147, - "loc": { - "start": { - "line": 96, - "column": 17 - }, - "end": { - "line": 96, - "column": 34 - } - }, - "object": { - "type": "MemberExpression", - "start": 2130, - "end": 2140, + "arguments": [ + { + "type": "SpreadElement", + "start": 1861, + "end": 1874, "loc": { "start": { - "line": 96, - "column": 17 + "line": 83, + "column": 30 }, "end": { - "line": 96, - "column": 27 + "line": 83, + "column": 43 } }, - "object": { - "type": "ThisExpression", - "start": 2130, - "end": 2134, + "argument": { + "type": "MemberExpression", + "start": 1864, + "end": 1874, "loc": { "start": { - "line": 96, - "column": 17 + "line": 83, + "column": 33 }, "end": { - "line": 96, - "column": 21 + "line": 83, + "column": 43 } - } - }, - "property": { - "type": "Identifier", - "start": 2135, - "end": 2140, - "loc": { - "start": { - "line": 96, - "column": 22 - }, - "end": { - "line": 96, - "column": 27 - }, - "identifierName": "parts" }, - "name": "parts" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2141, - "end": 2146, - "loc": { - "start": { - "line": 96, - "column": 28 + "object": { + "type": "ThisExpression", + "start": 1864, + "end": 1868, + "loc": { + "start": { + "line": 83, + "column": 33 + }, + "end": { + "line": 83, + "column": 37 + } + } }, - "end": { - "line": 96, - "column": 33 + "property": { + "type": "Identifier", + "start": 1869, + "end": 1874, + "loc": { + "start": { + "line": 83, + "column": 38 + }, + "end": { + "line": 83, + "column": 43 + }, + "identifierName": "parts" + }, + "name": "parts" }, - "identifierName": "index" - }, - "name": "index" - }, - "computed": true - } + "computed": false + } + } + ] } - ], - "kind": "const" - }, + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ { - "type": "IfStatement", - "start": 2153, - "end": 2200, + "type": "CommentBlock", + "value": "*\n * Create a copy object of this long count fullDate\n * @returns {DistanceNumber}\n ", + "start": 1723, + "end": 1817, "loc": { "start": { - "line": 97, - "column": 4 + "line": 78, + "column": 2 }, "end": { - "line": 99, + "line": 81, "column": 5 } - }, - "test": { - "type": "BinaryExpression", - "start": 2157, - "end": 2175, - "loc": { - "start": { - "line": 97, - "column": 8 - }, - "end": { - "line": 97, - "column": 26 - } - }, - "left": { - "type": "Identifier", - "start": 2157, - "end": 2161, - "loc": { - "start": { - "line": 97, - "column": 8 - }, - "end": { - "line": 97, - "column": 12 - }, - "identifierName": "part" - }, - "name": "part" - }, - "operator": "===", - "right": { - "type": "Identifier", - "start": 2166, - "end": 2175, - "loc": { - "start": { - "line": 97, - "column": 17 - }, - "end": { - "line": 97, - "column": 26 - }, - "identifierName": "undefined" - }, - "name": "undefined" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 2177, - "end": 2200, - "loc": { - "start": { - "line": 97, - "column": 28 - }, - "end": { - "line": 99, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 2185, - "end": 2194, - "loc": { - "start": { - "line": 98, - "column": 6 - }, - "end": { - "line": 98, - "column": 15 - } - }, - "argument": { - "type": "NumericLiteral", - "start": 2192, - "end": 2193, - "loc": { - "start": { - "line": 98, - "column": 13 - }, - "end": { - "line": 98, - "column": 14 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "directives": [] - }, - "alternate": null - }, + } + } + ], + "trailingComments": [ { - "type": "ReturnStatement", - "start": 2205, - "end": 2217, + "type": "CommentBlock", + "value": "*\n * Get specific column in Long Count fullDate\n * @param {number} index\n * @returns {number}\n ", + "start": 1883, + "end": 1990, "loc": { "start": { - "line": 100, - "column": 4 + "line": 86, + "column": 2 }, "end": { - "line": 100, - "column": 16 + "line": 90, + "column": 5 } - }, - "argument": { - "type": "Identifier", - "start": 2212, - "end": 2216, - "loc": { - "start": { - "line": 100, - "column": 11 - }, - "end": { - "line": 100, - "column": 15 - }, - "identifierName": "part" - }, - "name": "part" - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Get specific column in Long Count fullDate\n * @param {number} index\n * @returns {number}\n ", - "start": 1978, - "end": 2085, - "loc": { - "start": { - "line": 90, - "column": 2 - }, - "end": { - "line": 94, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set specific column in Long Count fullDate\n * @param {number} index\n * @param {number|wildcard} newValue\n * @returns {DistanceNumber}\n ", - "start": 2225, - "end": 2379, - "loc": { - "start": { - "line": 103, - "column": 2 - }, - "end": { - "line": 108, - "column": 5 } } - } - ] - }, - { - "type": "ClassMethod", - "start": 2382, - "end": 2522, - "loc": { - "start": { - "line": 109, - "column": 2 - }, - "end": { - "line": 112, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2382, - "end": 2397, + { + "type": "ClassMethod", + "start": 1993, + "end": 2124, "loc": { "start": { - "line": 109, + "line": 91, "column": 2 }, "end": { - "line": 109, - "column": 17 - }, - "identifierName": "setDateSections" - }, - "name": "setDateSections", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 2398, - "end": 2403, - "loc": { - "start": { - "line": 109, - "column": 18 - }, - "end": { - "line": 109, - "column": 23 - }, - "identifierName": "index" - }, - "name": "index" + "line": 97, + "column": 3 + } }, - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 2405, - "end": 2413, + "start": 1993, + "end": 2008, "loc": { "start": { - "line": 109, - "column": 25 + "line": 91, + "column": 2 }, "end": { - "line": 109, - "column": 33 + "line": 91, + "column": 17 }, - "identifierName": "newValue" - }, - "name": "newValue" - } - ], - "body": { - "type": "BlockStatement", - "start": 2415, - "end": 2522, - "loc": { - "start": { - "line": 109, - "column": 35 + "identifierName": "getDateSections" }, - "end": { - "line": 112, - "column": 3 - } + "name": "getDateSections", + "leadingComments": null }, - "body": [ + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "ExpressionStatement", - "start": 2421, - "end": 2501, + "type": "Identifier", + "start": 2010, + "end": 2015, "loc": { "start": { - "line": 110, - "column": 4 + "line": 91, + "column": 19 }, "end": { - "line": 110, - "column": 84 - } + "line": 91, + "column": 24 + }, + "identifierName": "index" + }, + "name": "index" + } + ], + "body": { + "type": "BlockStatement", + "start": 2017, + "end": 2124, + "loc": { + "start": { + "line": 91, + "column": 26 }, - "expression": { - "type": "AssignmentExpression", - "start": 2421, - "end": 2500, + "end": { + "line": 97, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 2023, + "end": 2053, "loc": { "start": { - "line": 110, + "line": 92, "column": 4 }, "end": { - "line": 110, - "column": 83 + "line": 92, + "column": 34 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 2421, - "end": 2438, - "loc": { - "start": { - "line": 110, - "column": 4 - }, - "end": { - "line": 110, - "column": 21 - } - }, - "object": { - "type": "MemberExpression", - "start": 2421, - "end": 2431, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2029, + "end": 2053, "loc": { "start": { - "line": 110, - "column": 4 + "line": 92, + "column": 10 }, "end": { - "line": 110, - "column": 14 - } - }, - "object": { - "type": "ThisExpression", - "start": 2421, - "end": 2425, - "loc": { - "start": { - "line": 110, - "column": 4 - }, - "end": { - "line": 110, - "column": 8 - } + "line": 92, + "column": 34 } }, - "property": { + "id": { "type": "Identifier", - "start": 2426, - "end": 2431, + "start": 2029, + "end": 2033, "loc": { "start": { - "line": 110, - "column": 9 + "line": 92, + "column": 10 }, "end": { - "line": 110, + "line": 92, "column": 14 }, - "identifierName": "parts" + "identifierName": "part" }, - "name": "parts" + "name": "part" }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2432, - "end": 2437, - "loc": { - "start": { - "line": 110, - "column": 15 + "init": { + "type": "MemberExpression", + "start": 2036, + "end": 2053, + "loc": { + "start": { + "line": 92, + "column": 17 + }, + "end": { + "line": 92, + "column": 34 + } }, - "end": { - "line": 110, - "column": 20 + "object": { + "type": "MemberExpression", + "start": 2036, + "end": 2046, + "loc": { + "start": { + "line": 92, + "column": 17 + }, + "end": { + "line": 92, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 2036, + "end": 2040, + "loc": { + "start": { + "line": 92, + "column": 17 + }, + "end": { + "line": 92, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "start": 2041, + "end": 2046, + "loc": { + "start": { + "line": 92, + "column": 22 + }, + "end": { + "line": 92, + "column": 27 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false }, - "identifierName": "index" - }, - "name": "index" + "property": { + "type": "Identifier", + "start": 2047, + "end": 2052, + "loc": { + "start": { + "line": 92, + "column": 28 + }, + "end": { + "line": 92, + "column": 33 + }, + "identifierName": "index" + }, + "name": "index" + }, + "computed": true + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 2058, + "end": 2104, + "loc": { + "start": { + "line": 93, + "column": 4 }, - "computed": true + "end": { + "line": 95, + "column": 5 + } }, - "right": { - "type": "ConditionalExpression", - "start": 2441, - "end": 2500, + "test": { + "type": "BinaryExpression", + "start": 2062, + "end": 2080, "loc": { "start": { - "line": 110, - "column": 24 + "line": 93, + "column": 8 }, "end": { - "line": 110, - "column": 83 + "line": 93, + "column": 26 } }, - "test": { - "type": "BinaryExpression", - "start": 2442, - "end": 2463, + "left": { + "type": "Identifier", + "start": 2062, + "end": 2066, "loc": { "start": { - "line": 110, - "column": 25 + "line": 93, + "column": 8 }, "end": { - "line": 110, - "column": 46 - } - }, - "left": { - "type": "Identifier", - "start": 2442, - "end": 2450, - "loc": { - "start": { - "line": 110, - "column": 25 - }, - "end": { - "line": 110, - "column": 33 - }, - "identifierName": "newValue" - }, - "name": "newValue" - }, - "operator": "!==", - "right": { - "type": "Identifier", - "start": 2455, - "end": 2463, - "loc": { - "start": { - "line": 110, - "column": 38 - }, - "end": { - "line": 110, - "column": 46 - }, - "identifierName": "wildcard" + "line": 93, + "column": 12 }, - "name": "wildcard" + "identifierName": "part" }, - "extra": { - "parenthesized": true, - "parenStart": 2441 - } + "name": "part" }, - "consequent": { + "operator": "===", + "right": { "type": "Identifier", - "start": 2467, - "end": 2475, + "start": 2071, + "end": 2080, "loc": { "start": { - "line": 110, - "column": 50 + "line": 93, + "column": 17 }, "end": { - "line": 110, - "column": 58 + "line": 93, + "column": 26 }, - "identifierName": "newValue" + "identifierName": "undefined" }, - "name": "newValue" - }, - "alternate": { - "type": "CallExpression", - "start": 2478, - "end": 2500, - "loc": { - "start": { - "line": 110, - "column": 61 - }, - "end": { - "line": 110, - "column": 83 - } + "name": "undefined" + } + }, + "consequent": { + "type": "BlockStatement", + "start": 2082, + "end": 2104, + "loc": { + "start": { + "line": 93, + "column": 28 }, - "callee": { - "type": "Identifier", - "start": 2478, - "end": 2486, + "end": { + "line": 95, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2090, + "end": 2098, "loc": { "start": { - "line": 110, - "column": 61 + "line": 94, + "column": 6 }, "end": { - "line": 110, - "column": 69 - }, - "identifierName": "parseInt" - }, - "name": "parseInt" - }, - "arguments": [ - { - "type": "Identifier", - "start": 2487, - "end": 2495, - "loc": { - "start": { - "line": 110, - "column": 70 - }, - "end": { - "line": 110, - "column": 78 - }, - "identifierName": "newValue" - }, - "name": "newValue" + "line": 94, + "column": 14 + } }, - { + "argument": { "type": "NumericLiteral", - "start": 2497, - "end": 2499, + "start": 2097, + "end": 2098, "loc": { "start": { - "line": 110, - "column": 80 + "line": 94, + "column": 13 }, "end": { - "line": 110, - "column": 82 + "line": 94, + "column": 14 } }, "extra": { - "rawValue": 10, - "raw": "10" + "rawValue": 0, + "raw": "0" }, - "value": 10 + "value": 0 } - ] - } - } - } - }, - { - "type": "ReturnStatement", - "start": 2506, - "end": 2518, - "loc": { - "start": { - "line": 111, - "column": 4 + } + ], + "directives": [] }, - "end": { - "line": 111, - "column": 16 - } + "alternate": null }, - "argument": { - "type": "ThisExpression", - "start": 2513, - "end": 2517, + { + "type": "ReturnStatement", + "start": 2109, + "end": 2120, "loc": { "start": { - "line": 111, - "column": 11 + "line": 96, + "column": 4 }, "end": { - "line": 111, + "line": 96, "column": 15 } + }, + "argument": { + "type": "Identifier", + "start": 2116, + "end": 2120, + "loc": { + "start": { + "line": 96, + "column": 11 + }, + "end": { + "line": 96, + "column": 15 + }, + "identifierName": "part" + }, + "name": "part" } } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set specific column in Long Count fullDate\n * @param {number} index\n * @param {number|wildcard} newValue\n * @returns {DistanceNumber}\n ", - "start": 2225, - "end": 2379, - "loc": { - "start": { - "line": 103, - "column": 2 - }, - "end": { - "line": 108, - "column": 5 + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Get specific column in Long Count fullDate\n * @param {number} index\n * @returns {number}\n ", + "start": 1883, + "end": 1990, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 90, + "column": 5 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Pass the map down to the parts\n * @param fn\n * @return {object[]}\n ", - "start": 2526, - "end": 2610, - "loc": { - "start": { - "line": 114, - "column": 2 - }, - "end": { - "line": 118, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set specific column in Long Count fullDate\n * @param {number} index\n * @param {number|wildcard} newValue\n * @returns {DistanceNumber}\n ", + "start": 2128, + "end": 2282, + "loc": { + "start": { + "line": 99, + "column": 2 + }, + "end": { + "line": 104, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 2613, - "end": 2657, - "loc": { - "start": { - "line": 119, - "column": 2 - }, - "end": { - "line": 121, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2613, - "end": 2616, + { + "type": "ClassMethod", + "start": 2285, + "end": 2430, "loc": { "start": { - "line": 119, + "line": 105, "column": 2 }, "end": { - "line": 119, - "column": 5 - }, - "identifierName": "map" + "line": 109, + "column": 3 + } }, - "name": "map", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 2617, - "end": 2619, + "start": 2285, + "end": 2300, "loc": { "start": { - "line": 119, - "column": 6 + "line": 105, + "column": 2 }, "end": { - "line": 119, - "column": 8 + "line": 105, + "column": 17 }, - "identifierName": "fn" - }, - "name": "fn" - } - ], - "body": { - "type": "BlockStatement", - "start": 2621, - "end": 2657, - "loc": { - "start": { - "line": 119, - "column": 10 + "identifierName": "setDateSections" }, - "end": { - "line": 121, - "column": 3 - } + "name": "setDateSections", + "leadingComments": null }, - "body": [ + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "ReturnStatement", - "start": 2627, - "end": 2653, + "type": "Identifier", + "start": 2302, + "end": 2307, "loc": { "start": { - "line": 120, - "column": 4 + "line": 105, + "column": 19 }, "end": { - "line": 120, - "column": 30 - } + "line": 105, + "column": 24 + }, + "identifierName": "index" }, - "argument": { - "type": "CallExpression", - "start": 2634, - "end": 2652, + "name": "index" + }, + { + "type": "Identifier", + "start": 2309, + "end": 2317, + "loc": { + "start": { + "line": 105, + "column": 26 + }, + "end": { + "line": 105, + "column": 34 + }, + "identifierName": "newValue" + }, + "name": "newValue" + } + ], + "body": { + "type": "BlockStatement", + "start": 2319, + "end": 2430, + "loc": { + "start": { + "line": 105, + "column": 36 + }, + "end": { + "line": 109, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2325, + "end": 2410, "loc": { "start": { - "line": 120, - "column": 11 + "line": 106, + "column": 4 }, "end": { - "line": 120, - "column": 29 + "line": 107, + "column": 9 } }, - "callee": { - "type": "MemberExpression", - "start": 2634, - "end": 2648, + "expression": { + "type": "AssignmentExpression", + "start": 2325, + "end": 2410, "loc": { "start": { - "line": 120, - "column": 11 + "line": 106, + "column": 4 }, "end": { - "line": 120, - "column": 25 + "line": 107, + "column": 9 } }, - "object": { + "operator": "=", + "left": { "type": "MemberExpression", - "start": 2634, - "end": 2644, + "start": 2325, + "end": 2342, "loc": { "start": { - "line": 120, - "column": 11 + "line": 106, + "column": 4 }, "end": { - "line": 120, + "line": 106, "column": 21 } }, "object": { - "type": "ThisExpression", - "start": 2634, - "end": 2638, + "type": "MemberExpression", + "start": 2325, + "end": 2335, "loc": { "start": { - "line": 120, - "column": 11 + "line": 106, + "column": 4 }, "end": { - "line": 120, - "column": 15 + "line": 106, + "column": 14 } - } + }, + "object": { + "type": "ThisExpression", + "start": 2325, + "end": 2329, + "loc": { + "start": { + "line": 106, + "column": 4 + }, + "end": { + "line": 106, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 2330, + "end": 2335, + "loc": { + "start": { + "line": 106, + "column": 9 + }, + "end": { + "line": 106, + "column": 14 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 2639, - "end": 2644, + "start": 2336, + "end": 2341, "loc": { "start": { - "line": 120, - "column": 16 + "line": 106, + "column": 15 }, "end": { - "line": 120, - "column": 21 + "line": 106, + "column": 20 }, - "identifierName": "parts" + "identifierName": "index" }, - "name": "parts" + "name": "index" }, - "computed": false + "computed": true }, - "property": { - "type": "Identifier", - "start": 2645, - "end": 2648, + "right": { + "type": "ConditionalExpression", + "start": 2345, + "end": 2410, "loc": { "start": { - "line": 120, - "column": 22 + "line": 106, + "column": 24 }, "end": { - "line": 120, - "column": 25 + "line": 107, + "column": 9 + } + }, + "test": { + "type": "BinaryExpression", + "start": 2346, + "end": 2367, + "loc": { + "start": { + "line": 106, + "column": 25 + }, + "end": { + "line": 106, + "column": 46 + } + }, + "left": { + "type": "Identifier", + "start": 2346, + "end": 2354, + "loc": { + "start": { + "line": 106, + "column": 25 + }, + "end": { + "line": 106, + "column": 33 + }, + "identifierName": "newValue" + }, + "name": "newValue" + }, + "operator": "!==", + "right": { + "type": "Identifier", + "start": 2359, + "end": 2367, + "loc": { + "start": { + "line": 106, + "column": 38 + }, + "end": { + "line": 106, + "column": 46 + }, + "identifierName": "wildcard" + }, + "name": "wildcard" }, - "identifierName": "map" + "extra": { + "parenthesized": true, + "parenStart": 2345 + } }, - "name": "map" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 2649, - "end": 2651, - "loc": { - "start": { - "line": 120, - "column": 26 + "consequent": { + "type": "Identifier", + "start": 2371, + "end": 2379, + "loc": { + "start": { + "line": 106, + "column": 50 + }, + "end": { + "line": 106, + "column": 58 + }, + "identifierName": "newValue" }, - "end": { - "line": 120, - "column": 28 + "name": "newValue" + }, + "alternate": { + "type": "CallExpression", + "start": 2382, + "end": 2410, + "loc": { + "start": { + "line": 106, + "column": 61 + }, + "end": { + "line": 107, + "column": 9 + } + }, + "callee": { + "type": "Identifier", + "start": 2382, + "end": 2390, + "loc": { + "start": { + "line": 106, + "column": 61 + }, + "end": { + "line": 106, + "column": 69 + }, + "identifierName": "parseInt" + }, + "name": "parseInt" }, - "identifierName": "fn" + "arguments": [ + { + "type": "Identifier", + "start": 2391, + "end": 2399, + "loc": { + "start": { + "line": 106, + "column": 70 + }, + "end": { + "line": 106, + "column": 78 + }, + "identifierName": "newValue" + }, + "name": "newValue" + }, + { + "type": "NumericLiteral", + "start": 2407, + "end": 2409, + "loc": { + "start": { + "line": 107, + "column": 6 + }, + "end": { + "line": 107, + "column": 8 + } + }, + "extra": { + "rawValue": 10, + "raw": "10" + }, + "value": 10 + } + ] + } + } + } + }, + { + "type": "ReturnStatement", + "start": 2415, + "end": 2426, + "loc": { + "start": { + "line": 108, + "column": 4 + }, + "end": { + "line": 108, + "column": 15 + } + }, + "argument": { + "type": "ThisExpression", + "start": 2422, + "end": 2426, + "loc": { + "start": { + "line": 108, + "column": 11 }, - "name": "fn" + "end": { + "line": 108, + "column": 15 + } } - ] + } } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Pass the map down to the parts\n * @param fn\n * @return {object[]}\n ", - "start": 2526, - "end": 2610, - "loc": { - "start": { - "line": 114, - "column": 2 - }, - "end": { - "line": 118, - "column": 5 + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set specific column in Long Count fullDate\n * @param {number} index\n * @param {number|wildcard} newValue\n * @returns {DistanceNumber}\n ", + "start": 2128, + "end": 2282, + "loc": { + "start": { + "line": 99, + "column": 2 + }, + "end": { + "line": 104, + "column": 5 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Compare if this LC is greater than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n ", - "start": 2661, - "end": 2792, - "loc": { - "start": { - "line": 123, - "column": 2 - }, - "end": { - "line": 127, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Pass the map down to the parts\n * @param fn\n * @return {object[]}\n ", + "start": 2434, + "end": 2518, + "loc": { + "start": { + "line": 111, + "column": 2 + }, + "end": { + "line": 115, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 2795, - "end": 2877, - "loc": { - "start": { - "line": 128, - "column": 2 - }, - "end": { - "line": 130, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2795, - "end": 2797, + { + "type": "ClassMethod", + "start": 2521, + "end": 2565, "loc": { "start": { - "line": 128, + "line": 116, "column": 2 }, "end": { - "line": 128, - "column": 4 - }, - "identifierName": "lt" + "line": 118, + "column": 3 + } }, - "name": "lt", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 2798, - "end": 2810, + "start": 2521, + "end": 2524, "loc": { "start": { - "line": 128, - "column": 5 + "line": 116, + "column": 2 }, "end": { - "line": 128, - "column": 17 + "line": 116, + "column": 5 }, - "identifierName": "newLongCount" - }, - "name": "newLongCount" - } - ], - "body": { - "type": "BlockStatement", - "start": 2812, - "end": 2877, - "loc": { - "start": { - "line": 128, - "column": 19 + "identifierName": "map" }, - "end": { - "line": 130, - "column": 3 - } + "name": "map", + "leadingComments": null }, - "body": [ + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "ReturnStatement", - "start": 2818, - "end": 2873, + "type": "Identifier", + "start": 2526, + "end": 2528, "loc": { "start": { - "line": 129, - "column": 4 + "line": 116, + "column": 7 }, "end": { - "line": 129, - "column": 59 - } + "line": 116, + "column": 9 + }, + "identifierName": "fn" }, - "argument": { - "type": "BinaryExpression", - "start": 2825, - "end": 2872, - "loc": { + "name": "fn" + } + ], + "body": { + "type": "BlockStatement", + "start": 2530, + "end": 2565, + "loc": { + "start": { + "line": 116, + "column": 11 + }, + "end": { + "line": 118, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2536, + "end": 2561, + "loc": { "start": { - "line": 129, - "column": 11 + "line": 117, + "column": 4 }, "end": { - "line": 129, - "column": 58 + "line": 117, + "column": 29 } }, - "left": { + "argument": { "type": "CallExpression", - "start": 2825, - "end": 2843, + "start": 2543, + "end": 2561, "loc": { "start": { - "line": 129, + "line": 117, "column": 11 }, "end": { - "line": 129, + "line": 117, "column": 29 } }, "callee": { "type": "MemberExpression", - "start": 2825, - "end": 2841, + "start": 2543, + "end": 2557, "loc": { "start": { - "line": 129, + "line": 117, "column": 11 }, "end": { - "line": 129, - "column": 27 + "line": 117, + "column": 25 } }, "object": { - "type": "ThisExpression", - "start": 2825, - "end": 2829, + "type": "MemberExpression", + "start": 2543, + "end": 2553, "loc": { "start": { - "line": 129, + "line": 117, "column": 11 }, "end": { - "line": 129, - "column": 15 + "line": 117, + "column": 21 } - } + }, + "object": { + "type": "ThisExpression", + "start": 2543, + "end": 2547, + "loc": { + "start": { + "line": 117, + "column": 11 + }, + "end": { + "line": 117, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 2548, + "end": 2553, + "loc": { + "start": { + "line": 117, + "column": 16 + }, + "end": { + "line": 117, + "column": 21 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 2830, - "end": 2841, + "start": 2554, + "end": 2557, "loc": { "start": { - "line": 129, - "column": 16 + "line": 117, + "column": 22 }, "end": { - "line": 129, - "column": 27 + "line": 117, + "column": 25 }, - "identifierName": "getPosition" + "identifierName": "map" }, - "name": "getPosition" + "name": "map" }, "computed": false }, - "arguments": [] + "arguments": [ + { + "type": "Identifier", + "start": 2558, + "end": 2560, + "loc": { + "start": { + "line": 117, + "column": 26 + }, + "end": { + "line": 117, + "column": 28 + }, + "identifierName": "fn" + }, + "name": "fn" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Pass the map down to the parts\n * @param fn\n * @return {object[]}\n ", + "start": 2434, + "end": 2518, + "loc": { + "start": { + "line": 111, + "column": 2 }, - "operator": "<", - "right": { - "type": "CallExpression", - "start": 2846, - "end": 2872, + "end": { + "line": 115, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Compare if this LC is greater than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n ", + "start": 2569, + "end": 2700, + "loc": { + "start": { + "line": 120, + "column": 2 + }, + "end": { + "line": 124, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2703, + "end": 2785, + "loc": { + "start": { + "line": 125, + "column": 2 + }, + "end": { + "line": 127, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2703, + "end": 2705, + "loc": { + "start": { + "line": 125, + "column": 2 + }, + "end": { + "line": 125, + "column": 4 + }, + "identifierName": "lt" + }, + "name": "lt", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2707, + "end": 2719, + "loc": { + "start": { + "line": 125, + "column": 6 + }, + "end": { + "line": 125, + "column": 18 + }, + "identifierName": "newLongCount" + }, + "name": "newLongCount" + } + ], + "body": { + "type": "BlockStatement", + "start": 2721, + "end": 2785, + "loc": { + "start": { + "line": 125, + "column": 20 + }, + "end": { + "line": 127, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2727, + "end": 2781, + "loc": { + "start": { + "line": 126, + "column": 4 + }, + "end": { + "line": 126, + "column": 58 + } + }, + "argument": { + "type": "BinaryExpression", + "start": 2734, + "end": 2781, "loc": { "start": { - "line": 129, - "column": 32 + "line": 126, + "column": 11 }, "end": { - "line": 129, + "line": 126, "column": 58 } }, - "callee": { - "type": "MemberExpression", - "start": 2846, - "end": 2870, + "left": { + "type": "CallExpression", + "start": 2734, + "end": 2752, "loc": { "start": { - "line": 129, - "column": 32 + "line": 126, + "column": 11 }, "end": { - "line": 129, - "column": 56 + "line": 126, + "column": 29 } }, - "object": { - "type": "Identifier", - "start": 2846, - "end": 2858, + "callee": { + "type": "MemberExpression", + "start": 2734, + "end": 2750, "loc": { "start": { - "line": 129, - "column": 32 + "line": 126, + "column": 11 }, "end": { - "line": 129, - "column": 44 + "line": 126, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 2734, + "end": 2738, + "loc": { + "start": { + "line": 126, + "column": 11 + }, + "end": { + "line": 126, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 2739, + "end": 2750, + "loc": { + "start": { + "line": 126, + "column": 16 + }, + "end": { + "line": 126, + "column": 27 + }, + "identifierName": "getPosition" }, - "identifierName": "newLongCount" + "name": "getPosition" }, - "name": "newLongCount" + "computed": false }, - "property": { - "type": "Identifier", - "start": 2859, - "end": 2870, + "arguments": [] + }, + "operator": "<", + "right": { + "type": "CallExpression", + "start": 2755, + "end": 2781, + "loc": { + "start": { + "line": 126, + "column": 32 + }, + "end": { + "line": 126, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2755, + "end": 2779, "loc": { "start": { - "line": 129, - "column": 45 + "line": 126, + "column": 32 }, "end": { - "line": 129, + "line": 126, "column": 56 + } + }, + "object": { + "type": "Identifier", + "start": 2755, + "end": 2767, + "loc": { + "start": { + "line": 126, + "column": 32 + }, + "end": { + "line": 126, + "column": 44 + }, + "identifierName": "newLongCount" + }, + "name": "newLongCount" + }, + "property": { + "type": "Identifier", + "start": 2768, + "end": 2779, + "loc": { + "start": { + "line": 126, + "column": 45 + }, + "end": { + "line": 126, + "column": 56 + }, + "identifierName": "getPosition" }, - "identifierName": "getPosition" + "name": "getPosition" }, - "name": "getPosition" + "computed": false }, - "computed": false - }, - "arguments": [] + "arguments": [] + } } } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Compare if this LC is greater than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n ", - "start": 2661, - "end": 2792, - "loc": { - "start": { - "line": 123, - "column": 2 - }, - "end": { - "line": 127, - "column": 5 + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Compare if this LC is greater than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n ", + "start": 2569, + "end": 2700, + "loc": { + "start": { + "line": 120, + "column": 2 + }, + "end": { + "line": 124, + "column": 5 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Compare is this LC is less than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n ", - "start": 2881, - "end": 3009, - "loc": { - "start": { - "line": 132, - "column": 2 - }, - "end": { - "line": 136, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Compare is this LC is less than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n ", + "start": 2789, + "end": 2917, + "loc": { + "start": { + "line": 129, + "column": 2 + }, + "end": { + "line": 133, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 3012, - "end": 3094, - "loc": { - "start": { - "line": 137, - "column": 2 - }, - "end": { - "line": 139, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3012, - "end": 3014, + { + "type": "ClassMethod", + "start": 2920, + "end": 3002, "loc": { "start": { - "line": 137, + "line": 134, "column": 2 }, "end": { - "line": 137, - "column": 4 - }, - "identifierName": "gt" + "line": 136, + "column": 3 + } }, - "name": "gt", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 3015, - "end": 3027, + "start": 2920, + "end": 2922, "loc": { "start": { - "line": 137, - "column": 5 + "line": 134, + "column": 2 }, "end": { - "line": 137, - "column": 17 + "line": 134, + "column": 4 }, - "identifierName": "newLongCount" - }, - "name": "newLongCount" - } - ], - "body": { - "type": "BlockStatement", - "start": 3029, - "end": 3094, - "loc": { - "start": { - "line": 137, - "column": 19 + "identifierName": "gt" }, - "end": { - "line": 139, - "column": 3 - } + "name": "gt", + "leadingComments": null }, - "body": [ + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "ReturnStatement", - "start": 3035, - "end": 3090, + "type": "Identifier", + "start": 2924, + "end": 2936, "loc": { "start": { - "line": 138, - "column": 4 + "line": 134, + "column": 6 }, "end": { - "line": 138, - "column": 59 - } + "line": 134, + "column": 18 + }, + "identifierName": "newLongCount" }, - "argument": { - "type": "BinaryExpression", - "start": 3042, - "end": 3089, + "name": "newLongCount" + } + ], + "body": { + "type": "BlockStatement", + "start": 2938, + "end": 3002, + "loc": { + "start": { + "line": 134, + "column": 20 + }, + "end": { + "line": 136, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2944, + "end": 2998, "loc": { "start": { - "line": 138, - "column": 11 + "line": 135, + "column": 4 }, "end": { - "line": 138, + "line": 135, "column": 58 } }, - "left": { - "type": "CallExpression", - "start": 3042, - "end": 3060, + "argument": { + "type": "BinaryExpression", + "start": 2951, + "end": 2998, "loc": { "start": { - "line": 138, + "line": 135, "column": 11 }, "end": { - "line": 138, - "column": 29 + "line": 135, + "column": 58 } }, - "callee": { - "type": "MemberExpression", - "start": 3042, - "end": 3058, + "left": { + "type": "CallExpression", + "start": 2951, + "end": 2969, "loc": { "start": { - "line": 138, + "line": 135, "column": 11 }, "end": { - "line": 138, - "column": 27 + "line": 135, + "column": 29 } }, - "object": { - "type": "ThisExpression", - "start": 3042, - "end": 3046, + "callee": { + "type": "MemberExpression", + "start": 2951, + "end": 2967, "loc": { "start": { - "line": 138, + "line": 135, "column": 11 }, "end": { - "line": 138, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 3047, - "end": 3058, - "loc": { - "start": { - "line": 138, - "column": 16 - }, - "end": { - "line": 138, + "line": 135, "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 2951, + "end": 2955, + "loc": { + "start": { + "line": 135, + "column": 11 + }, + "end": { + "line": 135, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 2956, + "end": 2967, + "loc": { + "start": { + "line": 135, + "column": 16 + }, + "end": { + "line": 135, + "column": 27 + }, + "identifierName": "getPosition" }, - "identifierName": "getPosition" + "name": "getPosition" }, - "name": "getPosition" - }, - "computed": false - }, - "arguments": [] - }, - "operator": ">", - "right": { - "type": "CallExpression", - "start": 3063, - "end": 3089, - "loc": { - "start": { - "line": 138, - "column": 32 + "computed": false }, - "end": { - "line": 138, - "column": 58 - } + "arguments": [] }, - "callee": { - "type": "MemberExpression", - "start": 3063, - "end": 3087, + "operator": ">", + "right": { + "type": "CallExpression", + "start": 2972, + "end": 2998, "loc": { "start": { - "line": 138, + "line": 135, "column": 32 }, "end": { - "line": 138, - "column": 56 + "line": 135, + "column": 58 } }, - "object": { - "type": "Identifier", - "start": 3063, - "end": 3075, + "callee": { + "type": "MemberExpression", + "start": 2972, + "end": 2996, "loc": { "start": { - "line": 138, + "line": 135, "column": 32 }, "end": { - "line": 138, - "column": 44 - }, - "identifierName": "newLongCount" + "line": 135, + "column": 56 + } }, - "name": "newLongCount" - }, - "property": { - "type": "Identifier", - "start": 3076, - "end": 3087, - "loc": { - "start": { - "line": 138, - "column": 45 + "object": { + "type": "Identifier", + "start": 2972, + "end": 2984, + "loc": { + "start": { + "line": 135, + "column": 32 + }, + "end": { + "line": 135, + "column": 44 + }, + "identifierName": "newLongCount" }, - "end": { - "line": 138, - "column": 56 + "name": "newLongCount" + }, + "property": { + "type": "Identifier", + "start": 2985, + "end": 2996, + "loc": { + "start": { + "line": 135, + "column": 45 + }, + "end": { + "line": 135, + "column": 56 + }, + "identifierName": "getPosition" }, - "identifierName": "getPosition" + "name": "getPosition" }, - "name": "getPosition" + "computed": false }, - "computed": false - }, - "arguments": [] + "arguments": [] + } } } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Compare is this LC is less than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n ", - "start": 2881, - "end": 3009, - "loc": { - "start": { - "line": 132, - "column": 2 - }, - "end": { - "line": 136, - "column": 5 + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Compare is this LC is less than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n ", + "start": 2789, + "end": 2917, + "loc": { + "start": { + "line": 129, + "column": 2 + }, + "end": { + "line": 133, + "column": 5 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the k'in component of the fullDate\n ", - "start": 3098, - "end": 3151, - "loc": { - "start": { - "line": 141, - "column": 2 - }, - "end": { - "line": 143, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the k'in component of the fullDate\n ", + "start": 3006, + "end": 3059, + "loc": { + "start": { + "line": 138, + "column": 2 + }, + "end": { + "line": 140, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 3154, - "end": 3212, - "loc": { - "start": { - "line": 144, - "column": 2 - }, - "end": { - "line": 146, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3158, - "end": 3161, + { + "type": "ClassMethod", + "start": 3062, + "end": 3120, "loc": { "start": { - "line": 144, - "column": 6 + "line": 141, + "column": 2 }, "end": { - "line": 144, - "column": 9 - }, - "identifierName": "kIn" + "line": 143, + "column": 3 + } }, - "name": "kIn" - }, - "kind": "set", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 3162, - "end": 3168, + "start": 3066, + "end": 3069, "loc": { "start": { - "line": 144, - "column": 10 + "line": 141, + "column": 6 }, "end": { - "line": 144, - "column": 16 + "line": 141, + "column": 9 }, - "identifierName": "newKIn" - }, - "name": "newKIn" - } - ], - "body": { - "type": "BlockStatement", - "start": 3170, - "end": 3212, - "loc": { - "start": { - "line": 144, - "column": 18 + "identifierName": "kIn" }, - "end": { - "line": 146, - "column": 3 - } + "name": "kIn" }, - "body": [ + "kind": "set", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "ExpressionStatement", - "start": 3176, - "end": 3208, + "type": "Identifier", + "start": 3071, + "end": 3077, "loc": { "start": { - "line": 145, - "column": 4 + "line": 141, + "column": 11 }, "end": { - "line": 145, - "column": 36 - } + "line": 141, + "column": 17 + }, + "identifierName": "newKIn" + }, + "name": "newKIn" + } + ], + "body": { + "type": "BlockStatement", + "start": 3079, + "end": 3120, + "loc": { + "start": { + "line": 141, + "column": 19 }, - "expression": { - "type": "CallExpression", - "start": 3176, - "end": 3207, + "end": { + "line": 143, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3085, + "end": 3116, "loc": { "start": { - "line": 145, + "line": 142, "column": 4 }, "end": { - "line": 145, + "line": 142, "column": 35 } }, - "callee": { - "type": "MemberExpression", - "start": 3176, - "end": 3196, + "expression": { + "type": "CallExpression", + "start": 3085, + "end": 3116, "loc": { "start": { - "line": 145, + "line": 142, "column": 4 }, "end": { - "line": 145, - "column": 24 + "line": 142, + "column": 35 } }, - "object": { - "type": "ThisExpression", - "start": 3176, - "end": 3180, + "callee": { + "type": "MemberExpression", + "start": 3085, + "end": 3105, "loc": { "start": { - "line": 145, + "line": 142, "column": 4 }, "end": { - "line": 145, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 3181, - "end": 3196, - "loc": { - "start": { - "line": 145, - "column": 9 - }, - "end": { - "line": 145, + "line": 142, "column": 24 - }, - "identifierName": "setDateSections" + } }, - "name": "setDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 3197, - "end": 3198, - "loc": { - "start": { - "line": 145, - "column": 25 - }, - "end": { - "line": 145, - "column": 26 + "object": { + "type": "ThisExpression", + "start": 3085, + "end": 3089, + "loc": { + "start": { + "line": 142, + "column": 4 + }, + "end": { + "line": 142, + "column": 8 + } } }, - "extra": { - "rawValue": 0, - "raw": "0" + "property": { + "type": "Identifier", + "start": 3090, + "end": 3105, + "loc": { + "start": { + "line": 142, + "column": 9 + }, + "end": { + "line": 142, + "column": 24 + }, + "identifierName": "setDateSections" + }, + "name": "setDateSections" }, - "value": 0 + "computed": false }, - { - "type": "Identifier", - "start": 3200, - "end": 3206, - "loc": { - "start": { - "line": 145, - "column": 28 + "arguments": [ + { + "type": "NumericLiteral", + "start": 3106, + "end": 3107, + "loc": { + "start": { + "line": 142, + "column": 25 + }, + "end": { + "line": 142, + "column": 26 + } }, - "end": { - "line": 145, - "column": 34 + "extra": { + "rawValue": 0, + "raw": "0" }, - "identifierName": "newKIn" + "value": 0 }, - "name": "newKIn" - } - ] + { + "type": "Identifier", + "start": 3109, + "end": 3115, + "loc": { + "start": { + "line": 142, + "column": 28 + }, + "end": { + "line": 142, + "column": 34 + }, + "identifierName": "newKIn" + }, + "name": "newKIn" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the k'in component of the fullDate\n ", + "start": 3006, + "end": 3059, + "loc": { + "start": { + "line": 138, + "column": 2 + }, + "end": { + "line": 140, + "column": 5 + } } } ], - "directives": [], - "trailingComments": null + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the k'in component of the fullDate\n * @returns {number}\n ", + "start": 3124, + "end": 3203, + "loc": { + "start": { + "line": 145, + "column": 2 + }, + "end": { + "line": 148, + "column": 5 + } + } + } + ] }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the k'in component of the fullDate\n ", - "start": 3098, - "end": 3151, + { + "type": "ClassMethod", + "start": 3206, + "end": 3257, + "loc": { + "start": { + "line": 149, + "column": 2 + }, + "end": { + "line": 151, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3210, + "end": 3213, "loc": { "start": { - "line": 141, - "column": 2 + "line": 149, + "column": 6 }, "end": { - "line": 143, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the k'in component of the fullDate\n * @returns {number}\n ", - "start": 3216, - "end": 3295, + "line": 149, + "column": 9 + }, + "identifierName": "kIn" + }, + "name": "kIn" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3217, + "end": 3257, "loc": { "start": { - "line": 148, - "column": 2 + "line": 149, + "column": 13 }, "end": { "line": 151, - "column": 5 + "column": 3 } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 3298, - "end": 3349, - "loc": { - "start": { - "line": 152, - "column": 2 - }, - "end": { - "line": 154, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3302, - "end": 3305, - "loc": { - "start": { - "line": 152, - "column": 6 - }, - "end": { - "line": 152, - "column": 9 - }, - "identifierName": "kIn" - }, - "name": "kIn" - }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 3308, - "end": 3349, - "loc": { - "start": { - "line": 152, - "column": 12 }, - "end": { - "line": 154, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 3314, - "end": 3345, - "loc": { - "start": { - "line": 153, - "column": 4 - }, - "end": { - "line": 153, - "column": 35 - } - }, - "argument": { - "type": "CallExpression", - "start": 3321, - "end": 3344, + "body": [ + { + "type": "ReturnStatement", + "start": 3223, + "end": 3253, "loc": { "start": { - "line": 153, - "column": 11 + "line": 150, + "column": 4 }, "end": { - "line": 153, + "line": 150, "column": 34 } }, - "callee": { - "type": "MemberExpression", - "start": 3321, - "end": 3341, + "argument": { + "type": "CallExpression", + "start": 3230, + "end": 3253, "loc": { "start": { - "line": 153, + "line": 150, "column": 11 }, "end": { - "line": 153, - "column": 31 + "line": 150, + "column": 34 } }, - "object": { - "type": "ThisExpression", - "start": 3321, - "end": 3325, + "callee": { + "type": "MemberExpression", + "start": 3230, + "end": 3250, "loc": { "start": { - "line": 153, + "line": 150, "column": 11 }, "end": { - "line": 153, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 3326, - "end": 3341, - "loc": { - "start": { - "line": 153, - "column": 16 - }, - "end": { - "line": 153, + "line": 150, "column": 31 - }, - "identifierName": "getDateSections" + } }, - "name": "getDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 3342, - "end": 3343, - "loc": { - "start": { - "line": 153, - "column": 32 - }, - "end": { - "line": 153, - "column": 33 + "object": { + "type": "ThisExpression", + "start": 3230, + "end": 3234, + "loc": { + "start": { + "line": 150, + "column": 11 + }, + "end": { + "line": 150, + "column": 15 + } } }, - "extra": { - "rawValue": 0, - "raw": "0" + "property": { + "type": "Identifier", + "start": 3235, + "end": 3250, + "loc": { + "start": { + "line": 150, + "column": 16 + }, + "end": { + "line": 150, + "column": 31 + }, + "identifierName": "getDateSections" + }, + "name": "getDateSections" }, - "value": 0 - } - ] + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 3251, + "end": 3252, + "loc": { + "start": { + "line": 150, + "column": 32 + }, + "end": { + "line": 150, + "column": 33 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + ] + } } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the k'in component of the fullDate\n * @returns {number}\n ", - "start": 3216, - "end": 3295, - "loc": { - "start": { - "line": 148, - "column": 2 - }, - "end": { - "line": 151, - "column": 5 + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the k'in component of the fullDate\n * @returns {number}\n ", + "start": 3124, + "end": 3203, + "loc": { + "start": { + "line": 145, + "column": 2 + }, + "end": { + "line": 148, + "column": 5 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the winal component of the fullDate\n ", - "start": 3353, - "end": 3407, - "loc": { - "start": { - "line": 156, - "column": 2 - }, - "end": { - "line": 158, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the winal component of the fullDate\n ", + "start": 3261, + "end": 3315, + "loc": { + "start": { + "line": 153, + "column": 2 + }, + "end": { + "line": 155, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 3410, - "end": 3474, - "loc": { - "start": { - "line": 159, - "column": 2 - }, - "end": { - "line": 161, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3414, - "end": 3419, + { + "type": "ClassMethod", + "start": 3318, + "end": 3382, "loc": { "start": { - "line": 159, - "column": 6 + "line": 156, + "column": 2 }, "end": { - "line": 159, - "column": 11 - }, - "identifierName": "winal" + "line": 158, + "column": 3 + } }, - "name": "winal" - }, - "kind": "set", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 3420, - "end": 3428, + "start": 3322, + "end": 3327, "loc": { "start": { - "line": 159, - "column": 12 + "line": 156, + "column": 6 }, "end": { - "line": 159, - "column": 20 + "line": 156, + "column": 11 }, - "identifierName": "newWinal" - }, - "name": "newWinal" - } - ], - "body": { - "type": "BlockStatement", - "start": 3430, - "end": 3474, - "loc": { - "start": { - "line": 159, - "column": 22 + "identifierName": "winal" }, - "end": { - "line": 161, - "column": 3 - } + "name": "winal" }, - "body": [ + "kind": "set", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "ExpressionStatement", - "start": 3436, - "end": 3470, + "type": "Identifier", + "start": 3329, + "end": 3337, "loc": { "start": { - "line": 160, - "column": 4 + "line": 156, + "column": 13 }, "end": { - "line": 160, - "column": 38 - } + "line": 156, + "column": 21 + }, + "identifierName": "newWinal" }, - "expression": { - "type": "CallExpression", - "start": 3436, - "end": 3469, + "name": "newWinal" + } + ], + "body": { + "type": "BlockStatement", + "start": 3339, + "end": 3382, + "loc": { + "start": { + "line": 156, + "column": 23 + }, + "end": { + "line": 158, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3345, + "end": 3378, "loc": { "start": { - "line": 160, + "line": 157, "column": 4 }, "end": { - "line": 160, + "line": 157, "column": 37 } }, - "callee": { - "type": "MemberExpression", - "start": 3436, - "end": 3456, + "expression": { + "type": "CallExpression", + "start": 3345, + "end": 3378, "loc": { "start": { - "line": 160, + "line": 157, "column": 4 }, "end": { - "line": 160, - "column": 24 + "line": 157, + "column": 37 } }, - "object": { - "type": "ThisExpression", - "start": 3436, - "end": 3440, + "callee": { + "type": "MemberExpression", + "start": 3345, + "end": 3365, "loc": { "start": { - "line": 160, + "line": 157, "column": 4 }, "end": { - "line": 160, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 3441, - "end": 3456, - "loc": { - "start": { - "line": 160, - "column": 9 - }, - "end": { - "line": 160, + "line": 157, "column": 24 - }, - "identifierName": "setDateSections" + } }, - "name": "setDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 3457, - "end": 3458, - "loc": { - "start": { - "line": 160, - "column": 25 - }, - "end": { - "line": 160, - "column": 26 + "object": { + "type": "ThisExpression", + "start": 3345, + "end": 3349, + "loc": { + "start": { + "line": 157, + "column": 4 + }, + "end": { + "line": 157, + "column": 8 + } } }, - "extra": { - "rawValue": 1, - "raw": "1" + "property": { + "type": "Identifier", + "start": 3350, + "end": 3365, + "loc": { + "start": { + "line": 157, + "column": 9 + }, + "end": { + "line": 157, + "column": 24 + }, + "identifierName": "setDateSections" + }, + "name": "setDateSections" }, - "value": 1 + "computed": false }, - { - "type": "Identifier", - "start": 3460, - "end": 3468, - "loc": { - "start": { - "line": 160, - "column": 28 + "arguments": [ + { + "type": "NumericLiteral", + "start": 3366, + "end": 3367, + "loc": { + "start": { + "line": 157, + "column": 25 + }, + "end": { + "line": 157, + "column": 26 + } }, - "end": { - "line": 160, - "column": 36 + "extra": { + "rawValue": 1, + "raw": "1" }, - "identifierName": "newWinal" + "value": 1 }, - "name": "newWinal" - } - ] + { + "type": "Identifier", + "start": 3369, + "end": 3377, + "loc": { + "start": { + "line": 157, + "column": 28 + }, + "end": { + "line": 157, + "column": 36 + }, + "identifierName": "newWinal" + }, + "name": "newWinal" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the winal component of the fullDate\n ", + "start": 3261, + "end": 3315, + "loc": { + "start": { + "line": 153, + "column": 2 + }, + "end": { + "line": 155, + "column": 5 + } } } ], - "directives": [], - "trailingComments": null + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the winal component of the fullDate\n * @returns {number}\n ", + "start": 3386, + "end": 3466, + "loc": { + "start": { + "line": 160, + "column": 2 + }, + "end": { + "line": 163, + "column": 5 + } + } + } + ] }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the winal component of the fullDate\n ", - "start": 3353, - "end": 3407, + { + "type": "ClassMethod", + "start": 3469, + "end": 3522, + "loc": { + "start": { + "line": 164, + "column": 2 + }, + "end": { + "line": 166, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3473, + "end": 3478, "loc": { "start": { - "line": 156, - "column": 2 + "line": 164, + "column": 6 }, "end": { - "line": 158, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the winal component of the fullDate\n * @returns {number}\n ", - "start": 3478, - "end": 3558, + "line": 164, + "column": 11 + }, + "identifierName": "winal" + }, + "name": "winal" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3482, + "end": 3522, "loc": { "start": { - "line": 163, - "column": 2 + "line": 164, + "column": 15 }, "end": { "line": 166, - "column": 5 + "column": 3 } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 3561, - "end": 3614, - "loc": { - "start": { - "line": 167, - "column": 2 - }, - "end": { - "line": 169, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3565, - "end": 3570, - "loc": { - "start": { - "line": 167, - "column": 6 - }, - "end": { - "line": 167, - "column": 11 - }, - "identifierName": "winal" - }, - "name": "winal" - }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 3573, - "end": 3614, - "loc": { - "start": { - "line": 167, - "column": 14 }, - "end": { - "line": 169, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 3579, - "end": 3610, - "loc": { - "start": { - "line": 168, - "column": 4 - }, - "end": { - "line": 168, - "column": 35 - } - }, - "argument": { - "type": "CallExpression", - "start": 3586, - "end": 3609, + "body": [ + { + "type": "ReturnStatement", + "start": 3488, + "end": 3518, "loc": { "start": { - "line": 168, - "column": 11 + "line": 165, + "column": 4 }, "end": { - "line": 168, + "line": 165, "column": 34 } }, - "callee": { - "type": "MemberExpression", - "start": 3586, - "end": 3606, + "argument": { + "type": "CallExpression", + "start": 3495, + "end": 3518, "loc": { "start": { - "line": 168, + "line": 165, "column": 11 }, "end": { - "line": 168, - "column": 31 + "line": 165, + "column": 34 } }, - "object": { - "type": "ThisExpression", - "start": 3586, - "end": 3590, + "callee": { + "type": "MemberExpression", + "start": 3495, + "end": 3515, "loc": { "start": { - "line": 168, + "line": 165, "column": 11 }, "end": { - "line": 168, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 3591, - "end": 3606, - "loc": { - "start": { - "line": 168, - "column": 16 - }, - "end": { - "line": 168, + "line": 165, "column": 31 - }, - "identifierName": "getDateSections" + } }, - "name": "getDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 3607, - "end": 3608, - "loc": { - "start": { - "line": 168, - "column": 32 - }, - "end": { - "line": 168, - "column": 33 + "object": { + "type": "ThisExpression", + "start": 3495, + "end": 3499, + "loc": { + "start": { + "line": 165, + "column": 11 + }, + "end": { + "line": 165, + "column": 15 + } } }, - "extra": { - "rawValue": 1, - "raw": "1" + "property": { + "type": "Identifier", + "start": 3500, + "end": 3515, + "loc": { + "start": { + "line": 165, + "column": 16 + }, + "end": { + "line": 165, + "column": 31 + }, + "identifierName": "getDateSections" + }, + "name": "getDateSections" }, - "value": 1 - } - ] + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 3516, + "end": 3517, + "loc": { + "start": { + "line": 165, + "column": 32 + }, + "end": { + "line": 165, + "column": 33 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + ] + } } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the winal component of the fullDate\n * @returns {number}\n ", - "start": 3478, - "end": 3558, - "loc": { - "start": { - "line": 163, - "column": 2 - }, - "end": { - "line": 166, - "column": 5 + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the winal component of the fullDate\n * @returns {number}\n ", + "start": 3386, + "end": 3466, + "loc": { + "start": { + "line": 160, + "column": 2 + }, + "end": { + "line": 163, + "column": 5 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the tun component of the fullDate\n ", - "start": 3618, - "end": 3670, - "loc": { - "start": { - "line": 171, - "column": 2 - }, - "end": { - "line": 173, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the tun component of the fullDate\n ", + "start": 3526, + "end": 3578, + "loc": { + "start": { + "line": 168, + "column": 2 + }, + "end": { + "line": 170, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 3673, - "end": 3731, - "loc": { - "start": { - "line": 174, - "column": 2 - }, - "end": { - "line": 176, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3677, - "end": 3680, + { + "type": "ClassMethod", + "start": 3581, + "end": 3639, "loc": { "start": { - "line": 174, - "column": 6 + "line": 171, + "column": 2 }, "end": { - "line": 174, - "column": 9 - }, - "identifierName": "tun" + "line": 173, + "column": 3 + } }, - "name": "tun" - }, - "kind": "set", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 3681, - "end": 3687, + "start": 3585, + "end": 3588, "loc": { "start": { - "line": 174, - "column": 10 + "line": 171, + "column": 6 }, "end": { - "line": 174, - "column": 16 + "line": 171, + "column": 9 }, - "identifierName": "newTun" - }, - "name": "newTun" - } - ], - "body": { - "type": "BlockStatement", - "start": 3689, - "end": 3731, - "loc": { - "start": { - "line": 174, - "column": 18 + "identifierName": "tun" }, - "end": { - "line": 176, - "column": 3 - } + "name": "tun" }, - "body": [ + "kind": "set", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "ExpressionStatement", - "start": 3695, - "end": 3727, + "type": "Identifier", + "start": 3590, + "end": 3596, "loc": { "start": { - "line": 175, - "column": 4 + "line": 171, + "column": 11 }, "end": { - "line": 175, - "column": 36 - } + "line": 171, + "column": 17 + }, + "identifierName": "newTun" + }, + "name": "newTun" + } + ], + "body": { + "type": "BlockStatement", + "start": 3598, + "end": 3639, + "loc": { + "start": { + "line": 171, + "column": 19 }, - "expression": { - "type": "CallExpression", - "start": 3695, - "end": 3726, + "end": { + "line": 173, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3604, + "end": 3635, "loc": { "start": { - "line": 175, + "line": 172, "column": 4 }, "end": { - "line": 175, + "line": 172, "column": 35 } }, - "callee": { - "type": "MemberExpression", - "start": 3695, - "end": 3715, + "expression": { + "type": "CallExpression", + "start": 3604, + "end": 3635, "loc": { "start": { - "line": 175, + "line": 172, "column": 4 }, "end": { - "line": 175, - "column": 24 + "line": 172, + "column": 35 } }, - "object": { - "type": "ThisExpression", - "start": 3695, - "end": 3699, + "callee": { + "type": "MemberExpression", + "start": 3604, + "end": 3624, "loc": { "start": { - "line": 175, + "line": 172, "column": 4 }, "end": { - "line": 175, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 3700, - "end": 3715, - "loc": { - "start": { - "line": 175, - "column": 9 - }, - "end": { - "line": 175, + "line": 172, "column": 24 - }, - "identifierName": "setDateSections" + } }, - "name": "setDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 3716, - "end": 3717, - "loc": { - "start": { - "line": 175, - "column": 25 - }, - "end": { - "line": 175, - "column": 26 + "object": { + "type": "ThisExpression", + "start": 3604, + "end": 3608, + "loc": { + "start": { + "line": 172, + "column": 4 + }, + "end": { + "line": 172, + "column": 8 + } } }, - "extra": { - "rawValue": 2, - "raw": "2" + "property": { + "type": "Identifier", + "start": 3609, + "end": 3624, + "loc": { + "start": { + "line": 172, + "column": 9 + }, + "end": { + "line": 172, + "column": 24 + }, + "identifierName": "setDateSections" + }, + "name": "setDateSections" }, - "value": 2 + "computed": false }, - { - "type": "Identifier", - "start": 3719, - "end": 3725, - "loc": { - "start": { - "line": 175, - "column": 28 + "arguments": [ + { + "type": "NumericLiteral", + "start": 3625, + "end": 3626, + "loc": { + "start": { + "line": 172, + "column": 25 + }, + "end": { + "line": 172, + "column": 26 + } }, - "end": { - "line": 175, - "column": 34 + "extra": { + "rawValue": 2, + "raw": "2" }, - "identifierName": "newTun" + "value": 2 }, - "name": "newTun" - } - ] + { + "type": "Identifier", + "start": 3628, + "end": 3634, + "loc": { + "start": { + "line": 172, + "column": 28 + }, + "end": { + "line": 172, + "column": 34 + }, + "identifierName": "newTun" + }, + "name": "newTun" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the tun component of the fullDate\n ", + "start": 3526, + "end": 3578, + "loc": { + "start": { + "line": 168, + "column": 2 + }, + "end": { + "line": 170, + "column": 5 + } } } ], - "directives": [], - "trailingComments": null + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the tun component of the fullDate\n * @returns {number}\n ", + "start": 3643, + "end": 3721, + "loc": { + "start": { + "line": 175, + "column": 2 + }, + "end": { + "line": 178, + "column": 5 + } + } + } + ] }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the tun component of the fullDate\n ", - "start": 3618, - "end": 3670, + { + "type": "ClassMethod", + "start": 3724, + "end": 3775, + "loc": { + "start": { + "line": 179, + "column": 2 + }, + "end": { + "line": 181, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3728, + "end": 3731, "loc": { "start": { - "line": 171, - "column": 2 + "line": 179, + "column": 6 }, "end": { - "line": 173, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the tun component of the fullDate\n * @returns {number}\n ", + "line": 179, + "column": 9 + }, + "identifierName": "tun" + }, + "name": "tun" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", "start": 3735, - "end": 3813, + "end": 3775, "loc": { "start": { - "line": 178, - "column": 2 + "line": 179, + "column": 13 }, "end": { "line": 181, - "column": 5 + "column": 3 } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 3816, - "end": 3867, - "loc": { - "start": { - "line": 182, - "column": 2 - }, - "end": { - "line": 184, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3820, - "end": 3823, - "loc": { - "start": { - "line": 182, - "column": 6 - }, - "end": { - "line": 182, - "column": 9 - }, - "identifierName": "tun" - }, - "name": "tun" - }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 3826, - "end": 3867, - "loc": { - "start": { - "line": 182, - "column": 12 }, - "end": { - "line": 184, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 3832, - "end": 3863, - "loc": { - "start": { - "line": 183, - "column": 4 - }, - "end": { - "line": 183, - "column": 35 - } - }, - "argument": { - "type": "CallExpression", - "start": 3839, - "end": 3862, + "body": [ + { + "type": "ReturnStatement", + "start": 3741, + "end": 3771, "loc": { "start": { - "line": 183, - "column": 11 + "line": 180, + "column": 4 }, "end": { - "line": 183, + "line": 180, "column": 34 } }, - "callee": { - "type": "MemberExpression", - "start": 3839, - "end": 3859, + "argument": { + "type": "CallExpression", + "start": 3748, + "end": 3771, "loc": { "start": { - "line": 183, + "line": 180, "column": 11 }, "end": { - "line": 183, - "column": 31 + "line": 180, + "column": 34 } }, - "object": { - "type": "ThisExpression", - "start": 3839, - "end": 3843, + "callee": { + "type": "MemberExpression", + "start": 3748, + "end": 3768, "loc": { "start": { - "line": 183, + "line": 180, "column": 11 }, "end": { - "line": 183, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 3844, - "end": 3859, - "loc": { - "start": { - "line": 183, - "column": 16 - }, - "end": { - "line": 183, + "line": 180, "column": 31 - }, - "identifierName": "getDateSections" + } }, - "name": "getDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 3860, - "end": 3861, - "loc": { - "start": { - "line": 183, - "column": 32 - }, - "end": { - "line": 183, - "column": 33 + "object": { + "type": "ThisExpression", + "start": 3748, + "end": 3752, + "loc": { + "start": { + "line": 180, + "column": 11 + }, + "end": { + "line": 180, + "column": 15 + } } }, - "extra": { - "rawValue": 2, - "raw": "2" + "property": { + "type": "Identifier", + "start": 3753, + "end": 3768, + "loc": { + "start": { + "line": 180, + "column": 16 + }, + "end": { + "line": 180, + "column": 31 + }, + "identifierName": "getDateSections" + }, + "name": "getDateSections" }, - "value": 2 - } - ] + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 3769, + "end": 3770, + "loc": { + "start": { + "line": 180, + "column": 32 + }, + "end": { + "line": 180, + "column": 33 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } + ] + } } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the tun component of the fullDate\n * @returns {number}\n ", - "start": 3735, - "end": 3813, - "loc": { - "start": { - "line": 178, - "column": 2 - }, - "end": { - "line": 181, - "column": 5 + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the tun component of the fullDate\n * @returns {number}\n ", + "start": 3643, + "end": 3721, + "loc": { + "start": { + "line": 175, + "column": 2 + }, + "end": { + "line": 178, + "column": 5 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the k'atun component of the fullDate\n ", - "start": 3871, - "end": 3926, - "loc": { - "start": { - "line": 186, - "column": 2 - }, - "end": { - "line": 188, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the k'atun component of the fullDate\n ", + "start": 3779, + "end": 3834, + "loc": { + "start": { + "line": 183, + "column": 2 + }, + "end": { + "line": 185, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 3929, - "end": 3993, - "loc": { - "start": { - "line": 189, - "column": 2 - }, - "end": { - "line": 191, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3933, - "end": 3938, + { + "type": "ClassMethod", + "start": 3837, + "end": 3901, "loc": { "start": { - "line": 189, - "column": 6 + "line": 186, + "column": 2 }, "end": { - "line": 189, - "column": 11 - }, - "identifierName": "kAtun" + "line": 188, + "column": 3 + } }, - "name": "kAtun" - }, - "kind": "set", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 3939, - "end": 3947, + "start": 3841, + "end": 3846, "loc": { "start": { - "line": 189, - "column": 12 + "line": 186, + "column": 6 }, "end": { - "line": 189, - "column": 20 + "line": 186, + "column": 11 }, - "identifierName": "newKAtun" - }, - "name": "newKAtun" - } - ], - "body": { - "type": "BlockStatement", - "start": 3949, - "end": 3993, - "loc": { - "start": { - "line": 189, - "column": 22 + "identifierName": "kAtun" }, - "end": { - "line": 191, - "column": 3 - } + "name": "kAtun" }, - "body": [ + "kind": "set", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "ExpressionStatement", - "start": 3955, - "end": 3989, + "type": "Identifier", + "start": 3848, + "end": 3856, "loc": { "start": { - "line": 190, - "column": 4 + "line": 186, + "column": 13 }, "end": { - "line": 190, - "column": 38 - } + "line": 186, + "column": 21 + }, + "identifierName": "newKAtun" + }, + "name": "newKAtun" + } + ], + "body": { + "type": "BlockStatement", + "start": 3858, + "end": 3901, + "loc": { + "start": { + "line": 186, + "column": 23 }, - "expression": { - "type": "CallExpression", - "start": 3955, - "end": 3988, + "end": { + "line": 188, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 3864, + "end": 3897, "loc": { "start": { - "line": 190, + "line": 187, "column": 4 }, "end": { - "line": 190, + "line": 187, "column": 37 } }, - "callee": { - "type": "MemberExpression", - "start": 3955, - "end": 3975, + "expression": { + "type": "CallExpression", + "start": 3864, + "end": 3897, "loc": { "start": { - "line": 190, + "line": 187, "column": 4 }, "end": { - "line": 190, - "column": 24 + "line": 187, + "column": 37 } }, - "object": { - "type": "ThisExpression", - "start": 3955, - "end": 3959, + "callee": { + "type": "MemberExpression", + "start": 3864, + "end": 3884, "loc": { "start": { - "line": 190, + "line": 187, "column": 4 }, "end": { - "line": 190, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 3960, - "end": 3975, - "loc": { - "start": { - "line": 190, - "column": 9 - }, - "end": { - "line": 190, + "line": 187, "column": 24 - }, - "identifierName": "setDateSections" + } }, - "name": "setDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 3976, - "end": 3977, - "loc": { - "start": { - "line": 190, - "column": 25 - }, - "end": { - "line": 190, - "column": 26 + "object": { + "type": "ThisExpression", + "start": 3864, + "end": 3868, + "loc": { + "start": { + "line": 187, + "column": 4 + }, + "end": { + "line": 187, + "column": 8 + } } }, - "extra": { - "rawValue": 3, - "raw": "3" + "property": { + "type": "Identifier", + "start": 3869, + "end": 3884, + "loc": { + "start": { + "line": 187, + "column": 9 + }, + "end": { + "line": 187, + "column": 24 + }, + "identifierName": "setDateSections" + }, + "name": "setDateSections" }, - "value": 3 + "computed": false }, - { - "type": "Identifier", - "start": 3979, - "end": 3987, - "loc": { - "start": { - "line": 190, - "column": 28 + "arguments": [ + { + "type": "NumericLiteral", + "start": 3885, + "end": 3886, + "loc": { + "start": { + "line": 187, + "column": 25 + }, + "end": { + "line": 187, + "column": 26 + } }, - "end": { - "line": 190, - "column": 36 + "extra": { + "rawValue": 3, + "raw": "3" }, - "identifierName": "newKAtun" + "value": 3 }, - "name": "newKAtun" - } - ] + { + "type": "Identifier", + "start": 3888, + "end": 3896, + "loc": { + "start": { + "line": 187, + "column": 28 + }, + "end": { + "line": 187, + "column": 36 + }, + "identifierName": "newKAtun" + }, + "name": "newKAtun" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the k'atun component of the fullDate\n ", + "start": 3779, + "end": 3834, + "loc": { + "start": { + "line": 183, + "column": 2 + }, + "end": { + "line": 185, + "column": 5 + } } } ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the k'atun component of the fullDate\n ", - "start": 3871, - "end": 3926, - "loc": { - "start": { - "line": 186, - "column": 2 - }, - "end": { - "line": 188, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the k'atun component of the fullDate\n * @returns {number}\n ", - "start": 3997, - "end": 4078, - "loc": { - "start": { - "line": 193, - "column": 2 - }, - "end": { - "line": 196, - "column": 5 + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the k'atun component of the fullDate\n * @returns {number}\n ", + "start": 3905, + "end": 3986, + "loc": { + "start": { + "line": 190, + "column": 2 + }, + "end": { + "line": 193, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 4081, - "end": 4134, - "loc": { - "start": { - "line": 197, - "column": 2 - }, - "end": { - "line": 199, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 4085, - "end": 4090, - "loc": { - "start": { - "line": 197, - "column": 6 - }, - "end": { - "line": 197, - "column": 11 - }, - "identifierName": "kAtun" - }, - "name": "kAtun" + ] }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 4093, - "end": 4134, + { + "type": "ClassMethod", + "start": 3989, + "end": 4042, "loc": { "start": { - "line": 197, - "column": 14 + "line": 194, + "column": 2 }, "end": { - "line": 199, + "line": 196, "column": 3 } }, - "body": [ - { - "type": "ReturnStatement", - "start": 4099, - "end": 4130, - "loc": { - "start": { - "line": 198, - "column": 4 - }, - "end": { - "line": 198, - "column": 35 - } + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3993, + "end": 3998, + "loc": { + "start": { + "line": 194, + "column": 6 }, - "argument": { - "type": "CallExpression", - "start": 4106, - "end": 4129, + "end": { + "line": 194, + "column": 11 + }, + "identifierName": "kAtun" + }, + "name": "kAtun" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 4002, + "end": 4042, + "loc": { + "start": { + "line": 194, + "column": 15 + }, + "end": { + "line": 196, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 4008, + "end": 4038, "loc": { "start": { - "line": 198, - "column": 11 + "line": 195, + "column": 4 }, "end": { - "line": 198, + "line": 195, "column": 34 } }, - "callee": { - "type": "MemberExpression", - "start": 4106, - "end": 4126, + "argument": { + "type": "CallExpression", + "start": 4015, + "end": 4038, "loc": { "start": { - "line": 198, + "line": 195, "column": 11 }, "end": { - "line": 198, - "column": 31 + "line": 195, + "column": 34 } }, - "object": { - "type": "ThisExpression", - "start": 4106, - "end": 4110, + "callee": { + "type": "MemberExpression", + "start": 4015, + "end": 4035, "loc": { "start": { - "line": 198, + "line": 195, "column": 11 }, "end": { - "line": 198, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 4111, - "end": 4126, - "loc": { - "start": { - "line": 198, - "column": 16 - }, - "end": { - "line": 198, + "line": 195, "column": 31 - }, - "identifierName": "getDateSections" + } }, - "name": "getDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 4127, - "end": 4128, - "loc": { - "start": { - "line": 198, - "column": 32 - }, - "end": { - "line": 198, - "column": 33 + "object": { + "type": "ThisExpression", + "start": 4015, + "end": 4019, + "loc": { + "start": { + "line": 195, + "column": 11 + }, + "end": { + "line": 195, + "column": 15 + } } }, - "extra": { - "rawValue": 3, - "raw": "3" + "property": { + "type": "Identifier", + "start": 4020, + "end": 4035, + "loc": { + "start": { + "line": 195, + "column": 16 + }, + "end": { + "line": 195, + "column": 31 + }, + "identifierName": "getDateSections" + }, + "name": "getDateSections" }, - "value": 3 - } - ] + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 4036, + "end": 4037, + "loc": { + "start": { + "line": 195, + "column": 32 + }, + "end": { + "line": 195, + "column": 33 + } + }, + "extra": { + "rawValue": 3, + "raw": "3" + }, + "value": 3 + } + ] + } } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the k'atun component of the fullDate\n * @returns {number}\n ", - "start": 3997, - "end": 4078, - "loc": { - "start": { - "line": 193, - "column": 2 - }, - "end": { - "line": 196, - "column": 5 + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the k'atun component of the fullDate\n * @returns {number}\n ", + "start": 3905, + "end": 3986, + "loc": { + "start": { + "line": 190, + "column": 2 + }, + "end": { + "line": 193, + "column": 5 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the bak'tun component of the fullDate\n ", - "start": 4138, - "end": 4194, - "loc": { - "start": { - "line": 201, - "column": 2 - }, - "end": { - "line": 203, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the bak'tun component of the fullDate\n ", + "start": 4046, + "end": 4102, + "loc": { + "start": { + "line": 198, + "column": 2 + }, + "end": { + "line": 200, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 4197, - "end": 4264, - "loc": { - "start": { - "line": 204, - "column": 2 - }, - "end": { - "line": 206, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 4201, - "end": 4207, + { + "type": "ClassMethod", + "start": 4105, + "end": 4172, "loc": { "start": { - "line": 204, - "column": 6 + "line": 201, + "column": 2 }, "end": { - "line": 204, - "column": 12 - }, - "identifierName": "bakTun" + "line": 203, + "column": 3 + } }, - "name": "bakTun" - }, - "kind": "set", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 4208, - "end": 4217, + "start": 4109, + "end": 4115, "loc": { "start": { - "line": 204, - "column": 13 + "line": 201, + "column": 6 }, "end": { - "line": 204, - "column": 22 + "line": 201, + "column": 12 }, - "identifierName": "newBakTun" - }, - "name": "newBakTun" - } - ], - "body": { - "type": "BlockStatement", - "start": 4219, - "end": 4264, - "loc": { - "start": { - "line": 204, - "column": 24 + "identifierName": "bakTun" }, - "end": { - "line": 206, - "column": 3 - } + "name": "bakTun" }, - "body": [ + "kind": "set", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "ExpressionStatement", - "start": 4225, - "end": 4260, + "type": "Identifier", + "start": 4117, + "end": 4126, "loc": { "start": { - "line": 205, - "column": 4 + "line": 201, + "column": 14 }, "end": { - "line": 205, - "column": 39 - } + "line": 201, + "column": 23 + }, + "identifierName": "newBakTun" + }, + "name": "newBakTun" + } + ], + "body": { + "type": "BlockStatement", + "start": 4128, + "end": 4172, + "loc": { + "start": { + "line": 201, + "column": 25 }, - "expression": { - "type": "CallExpression", - "start": 4225, - "end": 4259, + "end": { + "line": 203, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4134, + "end": 4168, "loc": { "start": { - "line": 205, + "line": 202, "column": 4 }, "end": { - "line": 205, + "line": 202, "column": 38 } }, - "callee": { - "type": "MemberExpression", - "start": 4225, - "end": 4245, + "expression": { + "type": "CallExpression", + "start": 4134, + "end": 4168, "loc": { "start": { - "line": 205, + "line": 202, "column": 4 }, "end": { - "line": 205, - "column": 24 + "line": 202, + "column": 38 } }, - "object": { - "type": "ThisExpression", - "start": 4225, - "end": 4229, + "callee": { + "type": "MemberExpression", + "start": 4134, + "end": 4154, "loc": { "start": { - "line": 205, + "line": 202, "column": 4 }, "end": { - "line": 205, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 4230, - "end": 4245, - "loc": { - "start": { - "line": 205, - "column": 9 - }, - "end": { - "line": 205, + "line": 202, "column": 24 - }, - "identifierName": "setDateSections" + } }, - "name": "setDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 4246, - "end": 4247, - "loc": { - "start": { - "line": 205, - "column": 25 - }, - "end": { - "line": 205, - "column": 26 + "object": { + "type": "ThisExpression", + "start": 4134, + "end": 4138, + "loc": { + "start": { + "line": 202, + "column": 4 + }, + "end": { + "line": 202, + "column": 8 + } } }, - "extra": { - "rawValue": 4, - "raw": "4" + "property": { + "type": "Identifier", + "start": 4139, + "end": 4154, + "loc": { + "start": { + "line": 202, + "column": 9 + }, + "end": { + "line": 202, + "column": 24 + }, + "identifierName": "setDateSections" + }, + "name": "setDateSections" }, - "value": 4 + "computed": false }, - { - "type": "Identifier", - "start": 4249, - "end": 4258, - "loc": { - "start": { - "line": 205, - "column": 28 + "arguments": [ + { + "type": "NumericLiteral", + "start": 4155, + "end": 4156, + "loc": { + "start": { + "line": 202, + "column": 25 + }, + "end": { + "line": 202, + "column": 26 + } }, - "end": { - "line": 205, - "column": 37 + "extra": { + "rawValue": 4, + "raw": "4" }, - "identifierName": "newBakTun" + "value": 4 }, - "name": "newBakTun" - } - ] + { + "type": "Identifier", + "start": 4158, + "end": 4167, + "loc": { + "start": { + "line": 202, + "column": 28 + }, + "end": { + "line": 202, + "column": 37 + }, + "identifierName": "newBakTun" + }, + "name": "newBakTun" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the bak'tun component of the fullDate\n ", + "start": 4046, + "end": 4102, + "loc": { + "start": { + "line": 198, + "column": 2 + }, + "end": { + "line": 200, + "column": 5 + } } } ], - "directives": [], - "trailingComments": null + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the bak'tun component of the fullDate\n * @returns {number}\n ", + "start": 4176, + "end": 4258, + "loc": { + "start": { + "line": 205, + "column": 2 + }, + "end": { + "line": 208, + "column": 5 + } + } + } + ] }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the bak'tun component of the fullDate\n ", - "start": 4138, - "end": 4194, + { + "type": "ClassMethod", + "start": 4261, + "end": 4315, + "loc": { + "start": { + "line": 209, + "column": 2 + }, + "end": { + "line": 211, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4265, + "end": 4271, "loc": { "start": { - "line": 201, - "column": 2 + "line": 209, + "column": 6 }, "end": { - "line": 203, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the bak'tun component of the fullDate\n * @returns {number}\n ", - "start": 4268, - "end": 4350, + "line": 209, + "column": 12 + }, + "identifierName": "bakTun" + }, + "name": "bakTun" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 4275, + "end": 4315, "loc": { "start": { - "line": 208, - "column": 2 + "line": 209, + "column": 16 }, "end": { "line": 211, - "column": 5 + "column": 3 } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 4353, - "end": 4407, - "loc": { - "start": { - "line": 212, - "column": 2 - }, - "end": { - "line": 214, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 4357, - "end": 4363, - "loc": { - "start": { - "line": 212, - "column": 6 - }, - "end": { - "line": 212, - "column": 12 - }, - "identifierName": "bakTun" - }, - "name": "bakTun" - }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 4366, - "end": 4407, - "loc": { - "start": { - "line": 212, - "column": 15 }, - "end": { - "line": 214, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 4372, - "end": 4403, - "loc": { - "start": { - "line": 213, - "column": 4 - }, - "end": { - "line": 213, - "column": 35 - } - }, - "argument": { - "type": "CallExpression", - "start": 4379, - "end": 4402, + "body": [ + { + "type": "ReturnStatement", + "start": 4281, + "end": 4311, "loc": { "start": { - "line": 213, - "column": 11 + "line": 210, + "column": 4 }, "end": { - "line": 213, + "line": 210, "column": 34 } }, - "callee": { - "type": "MemberExpression", - "start": 4379, - "end": 4399, + "argument": { + "type": "CallExpression", + "start": 4288, + "end": 4311, "loc": { "start": { - "line": 213, + "line": 210, "column": 11 }, "end": { - "line": 213, - "column": 31 + "line": 210, + "column": 34 } }, - "object": { - "type": "ThisExpression", - "start": 4379, - "end": 4383, + "callee": { + "type": "MemberExpression", + "start": 4288, + "end": 4308, "loc": { "start": { - "line": 213, + "line": 210, "column": 11 }, "end": { - "line": 213, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 4384, - "end": 4399, - "loc": { - "start": { - "line": 213, - "column": 16 - }, - "end": { - "line": 213, + "line": 210, "column": 31 - }, - "identifierName": "getDateSections" + } }, - "name": "getDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 4400, - "end": 4401, - "loc": { - "start": { - "line": 213, - "column": 32 - }, - "end": { - "line": 213, - "column": 33 + "object": { + "type": "ThisExpression", + "start": 4288, + "end": 4292, + "loc": { + "start": { + "line": 210, + "column": 11 + }, + "end": { + "line": 210, + "column": 15 + } } }, - "extra": { - "rawValue": 4, - "raw": "4" + "property": { + "type": "Identifier", + "start": 4293, + "end": 4308, + "loc": { + "start": { + "line": 210, + "column": 16 + }, + "end": { + "line": 210, + "column": 31 + }, + "identifierName": "getDateSections" + }, + "name": "getDateSections" }, - "value": 4 - } - ] + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 4309, + "end": 4310, + "loc": { + "start": { + "line": 210, + "column": 32 + }, + "end": { + "line": 210, + "column": 33 + } + }, + "extra": { + "rawValue": 4, + "raw": "4" + }, + "value": 4 + } + ] + } } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the bak'tun component of the fullDate\n * @returns {number}\n ", - "start": 4268, - "end": 4350, - "loc": { - "start": { - "line": 208, - "column": 2 - }, - "end": { - "line": 211, - "column": 5 + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the bak'tun component of the fullDate\n * @returns {number}\n ", + "start": 4176, + "end": 4258, + "loc": { + "start": { + "line": 205, + "column": 2 + }, + "end": { + "line": 208, + "column": 5 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the piktun component of the fullDate\n ", - "start": 4411, - "end": 4466, - "loc": { - "start": { - "line": 216, - "column": 2 - }, - "end": { - "line": 218, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the piktun component of the fullDate\n ", + "start": 4319, + "end": 4374, + "loc": { + "start": { + "line": 213, + "column": 2 + }, + "end": { + "line": 215, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 4469, - "end": 4536, - "loc": { - "start": { - "line": 219, - "column": 2 - }, - "end": { - "line": 221, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 4473, - "end": 4479, + { + "type": "ClassMethod", + "start": 4377, + "end": 4444, "loc": { "start": { - "line": 219, - "column": 6 + "line": 216, + "column": 2 }, "end": { - "line": 219, - "column": 12 - }, - "identifierName": "piktun" + "line": 218, + "column": 3 + } }, - "name": "piktun" - }, - "kind": "set", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 4480, - "end": 4489, + "start": 4381, + "end": 4387, "loc": { "start": { - "line": 219, - "column": 13 + "line": 216, + "column": 6 }, "end": { - "line": 219, - "column": 22 + "line": 216, + "column": 12 }, - "identifierName": "newBakTun" - }, - "name": "newBakTun" - } - ], - "body": { - "type": "BlockStatement", - "start": 4491, - "end": 4536, - "loc": { - "start": { - "line": 219, - "column": 24 + "identifierName": "piktun" }, - "end": { - "line": 221, - "column": 3 - } + "name": "piktun" }, - "body": [ + "kind": "set", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "ExpressionStatement", - "start": 4497, - "end": 4532, + "type": "Identifier", + "start": 4389, + "end": 4398, "loc": { "start": { - "line": 220, - "column": 4 + "line": 216, + "column": 14 }, "end": { - "line": 220, - "column": 39 - } + "line": 216, + "column": 23 + }, + "identifierName": "newBakTun" + }, + "name": "newBakTun" + } + ], + "body": { + "type": "BlockStatement", + "start": 4400, + "end": 4444, + "loc": { + "start": { + "line": 216, + "column": 25 }, - "expression": { - "type": "CallExpression", - "start": 4497, - "end": 4531, + "end": { + "line": 218, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4406, + "end": 4440, "loc": { "start": { - "line": 220, + "line": 217, "column": 4 }, "end": { - "line": 220, + "line": 217, "column": 38 } }, - "callee": { - "type": "MemberExpression", - "start": 4497, - "end": 4517, + "expression": { + "type": "CallExpression", + "start": 4406, + "end": 4440, "loc": { "start": { - "line": 220, + "line": 217, "column": 4 }, "end": { - "line": 220, - "column": 24 + "line": 217, + "column": 38 } }, - "object": { - "type": "ThisExpression", - "start": 4497, - "end": 4501, + "callee": { + "type": "MemberExpression", + "start": 4406, + "end": 4426, "loc": { "start": { - "line": 220, + "line": 217, "column": 4 }, "end": { - "line": 220, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 4502, - "end": 4517, - "loc": { - "start": { - "line": 220, - "column": 9 - }, - "end": { - "line": 220, + "line": 217, "column": 24 - }, - "identifierName": "setDateSections" + } }, - "name": "setDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 4518, - "end": 4519, - "loc": { - "start": { - "line": 220, - "column": 25 - }, - "end": { - "line": 220, - "column": 26 + "object": { + "type": "ThisExpression", + "start": 4406, + "end": 4410, + "loc": { + "start": { + "line": 217, + "column": 4 + }, + "end": { + "line": 217, + "column": 8 + } } }, - "extra": { - "rawValue": 5, - "raw": "5" + "property": { + "type": "Identifier", + "start": 4411, + "end": 4426, + "loc": { + "start": { + "line": 217, + "column": 9 + }, + "end": { + "line": 217, + "column": 24 + }, + "identifierName": "setDateSections" + }, + "name": "setDateSections" }, - "value": 5 + "computed": false }, - { - "type": "Identifier", - "start": 4521, - "end": 4530, - "loc": { - "start": { - "line": 220, - "column": 28 + "arguments": [ + { + "type": "NumericLiteral", + "start": 4427, + "end": 4428, + "loc": { + "start": { + "line": 217, + "column": 25 + }, + "end": { + "line": 217, + "column": 26 + } }, - "end": { - "line": 220, - "column": 37 + "extra": { + "rawValue": 5, + "raw": "5" }, - "identifierName": "newBakTun" + "value": 5 }, - "name": "newBakTun" - } - ] + { + "type": "Identifier", + "start": 4430, + "end": 4439, + "loc": { + "start": { + "line": 217, + "column": 28 + }, + "end": { + "line": 217, + "column": 37 + }, + "identifierName": "newBakTun" + }, + "name": "newBakTun" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the piktun component of the fullDate\n ", + "start": 4319, + "end": 4374, + "loc": { + "start": { + "line": 213, + "column": 2 + }, + "end": { + "line": 215, + "column": 5 + } } } ], - "directives": [], - "trailingComments": null + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the piktun component of the fullDate\n * @returns {number}\n ", + "start": 4448, + "end": 4529, + "loc": { + "start": { + "line": 220, + "column": 2 + }, + "end": { + "line": 223, + "column": 5 + } + } + } + ] }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the piktun component of the fullDate\n ", - "start": 4411, - "end": 4466, + { + "type": "ClassMethod", + "start": 4532, + "end": 4586, + "loc": { + "start": { + "line": 224, + "column": 2 + }, + "end": { + "line": 226, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4536, + "end": 4542, "loc": { "start": { - "line": 216, - "column": 2 + "line": 224, + "column": 6 }, "end": { - "line": 218, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the piktun component of the fullDate\n * @returns {number}\n ", - "start": 4540, - "end": 4621, + "line": 224, + "column": 12 + }, + "identifierName": "piktun" + }, + "name": "piktun" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 4546, + "end": 4586, "loc": { "start": { - "line": 223, - "column": 2 + "line": 224, + "column": 16 }, "end": { "line": 226, - "column": 5 + "column": 3 } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 4624, - "end": 4678, - "loc": { - "start": { - "line": 227, - "column": 2 - }, - "end": { - "line": 229, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 4628, - "end": 4634, - "loc": { - "start": { - "line": 227, - "column": 6 - }, - "end": { - "line": 227, - "column": 12 - }, - "identifierName": "piktun" - }, - "name": "piktun" - }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 4637, - "end": 4678, - "loc": { - "start": { - "line": 227, - "column": 15 }, - "end": { - "line": 229, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 4643, - "end": 4674, - "loc": { - "start": { - "line": 228, - "column": 4 - }, - "end": { - "line": 228, - "column": 35 - } - }, - "argument": { - "type": "CallExpression", - "start": 4650, - "end": 4673, + "body": [ + { + "type": "ReturnStatement", + "start": 4552, + "end": 4582, "loc": { "start": { - "line": 228, - "column": 11 + "line": 225, + "column": 4 }, "end": { - "line": 228, + "line": 225, "column": 34 } }, - "callee": { - "type": "MemberExpression", - "start": 4650, - "end": 4670, + "argument": { + "type": "CallExpression", + "start": 4559, + "end": 4582, "loc": { "start": { - "line": 228, + "line": 225, "column": 11 }, "end": { - "line": 228, - "column": 31 + "line": 225, + "column": 34 } }, - "object": { - "type": "ThisExpression", - "start": 4650, - "end": 4654, + "callee": { + "type": "MemberExpression", + "start": 4559, + "end": 4579, "loc": { "start": { - "line": 228, + "line": 225, "column": 11 }, "end": { - "line": 228, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 4655, - "end": 4670, - "loc": { - "start": { - "line": 228, - "column": 16 - }, - "end": { - "line": 228, + "line": 225, "column": 31 - }, - "identifierName": "getDateSections" + } }, - "name": "getDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 4671, - "end": 4672, - "loc": { - "start": { - "line": 228, - "column": 32 - }, - "end": { - "line": 228, - "column": 33 + "object": { + "type": "ThisExpression", + "start": 4559, + "end": 4563, + "loc": { + "start": { + "line": 225, + "column": 11 + }, + "end": { + "line": 225, + "column": 15 + } } }, - "extra": { - "rawValue": 5, - "raw": "5" + "property": { + "type": "Identifier", + "start": 4564, + "end": 4579, + "loc": { + "start": { + "line": 225, + "column": 16 + }, + "end": { + "line": 225, + "column": 31 + }, + "identifierName": "getDateSections" + }, + "name": "getDateSections" }, - "value": 5 - } - ] + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 4580, + "end": 4581, + "loc": { + "start": { + "line": 225, + "column": 32 + }, + "end": { + "line": 225, + "column": 33 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 + } + ] + } } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the piktun component of the fullDate\n * @returns {number}\n ", - "start": 4540, - "end": 4621, - "loc": { - "start": { - "line": 223, - "column": 2 - }, - "end": { - "line": 226, - "column": 5 + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the piktun component of the fullDate\n * @returns {number}\n ", + "start": 4448, + "end": 4529, + "loc": { + "start": { + "line": 220, + "column": 2 + }, + "end": { + "line": 223, + "column": 5 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the kalabtun component of the fullDate\n ", - "start": 4682, - "end": 4739, - "loc": { - "start": { - "line": 231, - "column": 2 - }, - "end": { - "line": 233, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the kalabtun component of the fullDate\n ", + "start": 4590, + "end": 4647, + "loc": { + "start": { + "line": 228, + "column": 2 + }, + "end": { + "line": 230, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 4742, - "end": 4811, - "loc": { - "start": { - "line": 234, - "column": 2 - }, - "end": { - "line": 236, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 4746, - "end": 4754, + { + "type": "ClassMethod", + "start": 4650, + "end": 4719, "loc": { "start": { - "line": 234, - "column": 6 + "line": 231, + "column": 2 }, "end": { - "line": 234, - "column": 14 - }, - "identifierName": "kalabtun" + "line": 233, + "column": 3 + } }, - "name": "kalabtun" - }, - "kind": "set", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 4755, - "end": 4764, + "start": 4654, + "end": 4662, "loc": { "start": { - "line": 234, - "column": 15 + "line": 231, + "column": 6 }, "end": { - "line": 234, - "column": 24 + "line": 231, + "column": 14 }, - "identifierName": "newBakTun" - }, - "name": "newBakTun" - } - ], - "body": { - "type": "BlockStatement", - "start": 4766, - "end": 4811, - "loc": { - "start": { - "line": 234, - "column": 26 + "identifierName": "kalabtun" }, - "end": { - "line": 236, - "column": 3 - } + "name": "kalabtun" }, - "body": [ + "kind": "set", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "ExpressionStatement", - "start": 4772, - "end": 4807, + "type": "Identifier", + "start": 4664, + "end": 4673, "loc": { "start": { - "line": 235, - "column": 4 + "line": 231, + "column": 16 }, "end": { - "line": 235, - "column": 39 - } + "line": 231, + "column": 25 + }, + "identifierName": "newBakTun" }, - "expression": { - "type": "CallExpression", - "start": 4772, - "end": 4806, + "name": "newBakTun" + } + ], + "body": { + "type": "BlockStatement", + "start": 4675, + "end": 4719, + "loc": { + "start": { + "line": 231, + "column": 27 + }, + "end": { + "line": 233, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4681, + "end": 4715, "loc": { "start": { - "line": 235, + "line": 232, "column": 4 }, "end": { - "line": 235, + "line": 232, "column": 38 } }, - "callee": { - "type": "MemberExpression", - "start": 4772, - "end": 4792, + "expression": { + "type": "CallExpression", + "start": 4681, + "end": 4715, "loc": { "start": { - "line": 235, + "line": 232, "column": 4 }, "end": { - "line": 235, - "column": 24 + "line": 232, + "column": 38 } }, - "object": { - "type": "ThisExpression", - "start": 4772, - "end": 4776, + "callee": { + "type": "MemberExpression", + "start": 4681, + "end": 4701, "loc": { "start": { - "line": 235, + "line": 232, "column": 4 }, "end": { - "line": 235, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 4777, - "end": 4792, - "loc": { - "start": { - "line": 235, - "column": 9 - }, - "end": { - "line": 235, + "line": 232, "column": 24 - }, - "identifierName": "setDateSections" + } }, - "name": "setDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 4793, - "end": 4794, - "loc": { - "start": { - "line": 235, - "column": 25 - }, - "end": { - "line": 235, - "column": 26 + "object": { + "type": "ThisExpression", + "start": 4681, + "end": 4685, + "loc": { + "start": { + "line": 232, + "column": 4 + }, + "end": { + "line": 232, + "column": 8 + } } }, - "extra": { - "rawValue": 6, - "raw": "6" + "property": { + "type": "Identifier", + "start": 4686, + "end": 4701, + "loc": { + "start": { + "line": 232, + "column": 9 + }, + "end": { + "line": 232, + "column": 24 + }, + "identifierName": "setDateSections" + }, + "name": "setDateSections" }, - "value": 6 + "computed": false }, - { - "type": "Identifier", - "start": 4796, - "end": 4805, - "loc": { - "start": { - "line": 235, - "column": 28 + "arguments": [ + { + "type": "NumericLiteral", + "start": 4702, + "end": 4703, + "loc": { + "start": { + "line": 232, + "column": 25 + }, + "end": { + "line": 232, + "column": 26 + } }, - "end": { - "line": 235, - "column": 37 + "extra": { + "rawValue": 6, + "raw": "6" }, - "identifierName": "newBakTun" + "value": 6 }, - "name": "newBakTun" - } - ] + { + "type": "Identifier", + "start": 4705, + "end": 4714, + "loc": { + "start": { + "line": 232, + "column": 28 + }, + "end": { + "line": 232, + "column": 37 + }, + "identifierName": "newBakTun" + }, + "name": "newBakTun" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the kalabtun component of the fullDate\n ", + "start": 4590, + "end": 4647, + "loc": { + "start": { + "line": 228, + "column": 2 + }, + "end": { + "line": 230, + "column": 5 + } } } ], - "directives": [], - "trailingComments": null + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the kalabtun component of the fullDate\n * @returns {number}\n ", + "start": 4723, + "end": 4806, + "loc": { + "start": { + "line": 235, + "column": 2 + }, + "end": { + "line": 238, + "column": 5 + } + } + } + ] }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the kalabtun component of the fullDate\n ", - "start": 4682, - "end": 4739, + { + "type": "ClassMethod", + "start": 4809, + "end": 4865, + "loc": { + "start": { + "line": 239, + "column": 2 + }, + "end": { + "line": 241, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4813, + "end": 4821, "loc": { "start": { - "line": 231, - "column": 2 + "line": 239, + "column": 6 }, "end": { - "line": 233, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the kalabtun component of the fullDate\n * @returns {number}\n ", - "start": 4815, - "end": 4898, + "line": 239, + "column": 14 + }, + "identifierName": "kalabtun" + }, + "name": "kalabtun" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 4825, + "end": 4865, "loc": { "start": { - "line": 238, - "column": 2 + "line": 239, + "column": 18 }, "end": { "line": 241, - "column": 5 + "column": 3 } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 4901, - "end": 4957, - "loc": { - "start": { - "line": 242, - "column": 2 - }, - "end": { - "line": 244, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 4905, - "end": 4913, - "loc": { - "start": { - "line": 242, - "column": 6 - }, - "end": { - "line": 242, - "column": 14 - }, - "identifierName": "kalabtun" - }, - "name": "kalabtun" - }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 4916, - "end": 4957, - "loc": { - "start": { - "line": 242, - "column": 17 }, - "end": { - "line": 244, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 4922, - "end": 4953, - "loc": { - "start": { - "line": 243, - "column": 4 - }, - "end": { - "line": 243, - "column": 35 - } - }, - "argument": { - "type": "CallExpression", - "start": 4929, - "end": 4952, + "body": [ + { + "type": "ReturnStatement", + "start": 4831, + "end": 4861, "loc": { "start": { - "line": 243, - "column": 11 + "line": 240, + "column": 4 }, "end": { - "line": 243, + "line": 240, "column": 34 } }, - "callee": { - "type": "MemberExpression", - "start": 4929, - "end": 4949, + "argument": { + "type": "CallExpression", + "start": 4838, + "end": 4861, "loc": { "start": { - "line": 243, + "line": 240, "column": 11 }, "end": { - "line": 243, - "column": 31 + "line": 240, + "column": 34 } }, - "object": { - "type": "ThisExpression", - "start": 4929, - "end": 4933, + "callee": { + "type": "MemberExpression", + "start": 4838, + "end": 4858, "loc": { "start": { - "line": 243, + "line": 240, "column": 11 }, "end": { - "line": 243, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 4934, - "end": 4949, - "loc": { - "start": { - "line": 243, - "column": 16 - }, - "end": { - "line": 243, + "line": 240, "column": 31 - }, - "identifierName": "getDateSections" + } }, - "name": "getDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 4950, - "end": 4951, - "loc": { - "start": { - "line": 243, - "column": 32 - }, - "end": { - "line": 243, - "column": 33 + "object": { + "type": "ThisExpression", + "start": 4838, + "end": 4842, + "loc": { + "start": { + "line": 240, + "column": 11 + }, + "end": { + "line": 240, + "column": 15 + } } }, - "extra": { - "rawValue": 6, - "raw": "6" + "property": { + "type": "Identifier", + "start": 4843, + "end": 4858, + "loc": { + "start": { + "line": 240, + "column": 16 + }, + "end": { + "line": 240, + "column": 31 + }, + "identifierName": "getDateSections" + }, + "name": "getDateSections" }, - "value": 6 - } - ] + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 4859, + "end": 4860, + "loc": { + "start": { + "line": 240, + "column": 32 + }, + "end": { + "line": 240, + "column": 33 + } + }, + "extra": { + "rawValue": 6, + "raw": "6" + }, + "value": 6 + } + ] + } } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the kalabtun component of the fullDate\n * @returns {number}\n ", - "start": 4815, - "end": 4898, - "loc": { - "start": { - "line": 238, - "column": 2 - }, - "end": { - "line": 241, - "column": 5 + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the kalabtun component of the fullDate\n * @returns {number}\n ", + "start": 4723, + "end": 4806, + "loc": { + "start": { + "line": 235, + "column": 2 + }, + "end": { + "line": 238, + "column": 5 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the kinchiltun component of the fullDate\n ", - "start": 4961, - "end": 5020, - "loc": { - "start": { - "line": 246, - "column": 2 - }, - "end": { - "line": 248, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the kinchiltun component of the fullDate\n ", + "start": 4869, + "end": 4928, + "loc": { + "start": { + "line": 243, + "column": 2 + }, + "end": { + "line": 245, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 5023, - "end": 5094, - "loc": { - "start": { - "line": 249, - "column": 2 - }, - "end": { - "line": 251, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 5027, - "end": 5037, + { + "type": "ClassMethod", + "start": 4931, + "end": 5002, "loc": { "start": { - "line": 249, - "column": 6 + "line": 246, + "column": 2 }, "end": { - "line": 249, - "column": 16 - }, - "identifierName": "kinchiltun" + "line": 248, + "column": 3 + } }, - "name": "kinchiltun" - }, - "kind": "set", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 5038, - "end": 5047, + "start": 4935, + "end": 4945, "loc": { "start": { - "line": 249, - "column": 17 + "line": 246, + "column": 6 }, "end": { - "line": 249, - "column": 26 + "line": 246, + "column": 16 }, - "identifierName": "newBakTun" - }, - "name": "newBakTun" - } - ], - "body": { - "type": "BlockStatement", - "start": 5049, - "end": 5094, - "loc": { - "start": { - "line": 249, - "column": 28 + "identifierName": "kinchiltun" }, - "end": { - "line": 251, - "column": 3 - } + "name": "kinchiltun" }, - "body": [ + "kind": "set", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "ExpressionStatement", - "start": 5055, - "end": 5090, + "type": "Identifier", + "start": 4947, + "end": 4956, "loc": { "start": { - "line": 250, - "column": 4 + "line": 246, + "column": 18 }, "end": { - "line": 250, - "column": 39 - } + "line": 246, + "column": 27 + }, + "identifierName": "newBakTun" }, - "expression": { - "type": "CallExpression", - "start": 5055, - "end": 5089, + "name": "newBakTun" + } + ], + "body": { + "type": "BlockStatement", + "start": 4958, + "end": 5002, + "loc": { + "start": { + "line": 246, + "column": 29 + }, + "end": { + "line": 248, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4964, + "end": 4998, "loc": { "start": { - "line": 250, + "line": 247, "column": 4 }, "end": { - "line": 250, + "line": 247, "column": 38 } }, - "callee": { - "type": "MemberExpression", - "start": 5055, - "end": 5075, + "expression": { + "type": "CallExpression", + "start": 4964, + "end": 4998, "loc": { "start": { - "line": 250, + "line": 247, "column": 4 }, "end": { - "line": 250, - "column": 24 + "line": 247, + "column": 38 } }, - "object": { - "type": "ThisExpression", - "start": 5055, - "end": 5059, + "callee": { + "type": "MemberExpression", + "start": 4964, + "end": 4984, "loc": { "start": { - "line": 250, + "line": 247, "column": 4 }, "end": { - "line": 250, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 5060, - "end": 5075, - "loc": { - "start": { - "line": 250, - "column": 9 - }, - "end": { - "line": 250, + "line": 247, "column": 24 - }, - "identifierName": "setDateSections" + } }, - "name": "setDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 5076, - "end": 5077, - "loc": { - "start": { - "line": 250, - "column": 25 - }, - "end": { - "line": 250, - "column": 26 + "object": { + "type": "ThisExpression", + "start": 4964, + "end": 4968, + "loc": { + "start": { + "line": 247, + "column": 4 + }, + "end": { + "line": 247, + "column": 8 + } } }, - "extra": { - "rawValue": 7, - "raw": "7" + "property": { + "type": "Identifier", + "start": 4969, + "end": 4984, + "loc": { + "start": { + "line": 247, + "column": 9 + }, + "end": { + "line": 247, + "column": 24 + }, + "identifierName": "setDateSections" + }, + "name": "setDateSections" }, - "value": 7 + "computed": false }, - { - "type": "Identifier", - "start": 5079, - "end": 5088, - "loc": { - "start": { - "line": 250, - "column": 28 + "arguments": [ + { + "type": "NumericLiteral", + "start": 4985, + "end": 4986, + "loc": { + "start": { + "line": 247, + "column": 25 + }, + "end": { + "line": 247, + "column": 26 + } }, - "end": { - "line": 250, - "column": 37 + "extra": { + "rawValue": 7, + "raw": "7" }, - "identifierName": "newBakTun" + "value": 7 }, - "name": "newBakTun" - } - ] + { + "type": "Identifier", + "start": 4988, + "end": 4997, + "loc": { + "start": { + "line": 247, + "column": 28 + }, + "end": { + "line": 247, + "column": 37 + }, + "identifierName": "newBakTun" + }, + "name": "newBakTun" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Set the kinchiltun component of the fullDate\n ", + "start": 4869, + "end": 4928, + "loc": { + "start": { + "line": 243, + "column": 2 + }, + "end": { + "line": 245, + "column": 5 + } } } ], - "directives": [], - "trailingComments": null + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the kinchiltun component of the fullDate\n * @returns {number}\n ", + "start": 5006, + "end": 5091, + "loc": { + "start": { + "line": 250, + "column": 2 + }, + "end": { + "line": 253, + "column": 5 + } + } + } + ] }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Set the kinchiltun component of the fullDate\n ", - "start": 4961, - "end": 5020, + { + "type": "ClassMethod", + "start": 5094, + "end": 5152, + "loc": { + "start": { + "line": 254, + "column": 2 + }, + "end": { + "line": 256, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 5098, + "end": 5108, "loc": { "start": { - "line": 246, - "column": 2 + "line": 254, + "column": 6 }, "end": { - "line": 248, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the kinchiltun component of the fullDate\n * @returns {number}\n ", - "start": 5098, - "end": 5183, + "line": 254, + "column": 16 + }, + "identifierName": "kinchiltun" + }, + "name": "kinchiltun" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 5112, + "end": 5152, "loc": { "start": { - "line": 253, - "column": 2 + "line": 254, + "column": 20 }, "end": { "line": 256, - "column": 5 + "column": 3 } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 5186, - "end": 5244, - "loc": { - "start": { - "line": 257, - "column": 2 - }, - "end": { - "line": 259, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 5190, - "end": 5200, - "loc": { - "start": { - "line": 257, - "column": 6 - }, - "end": { - "line": 257, - "column": 16 - }, - "identifierName": "kinchiltun" - }, - "name": "kinchiltun" - }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 5203, - "end": 5244, - "loc": { - "start": { - "line": 257, - "column": 19 }, - "end": { - "line": 259, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 5209, - "end": 5240, - "loc": { - "start": { - "line": 258, - "column": 4 - }, - "end": { - "line": 258, - "column": 35 - } - }, - "argument": { - "type": "CallExpression", - "start": 5216, - "end": 5239, + "body": [ + { + "type": "ReturnStatement", + "start": 5118, + "end": 5148, "loc": { "start": { - "line": 258, - "column": 11 + "line": 255, + "column": 4 }, "end": { - "line": 258, + "line": 255, "column": 34 } }, - "callee": { - "type": "MemberExpression", - "start": 5216, - "end": 5236, + "argument": { + "type": "CallExpression", + "start": 5125, + "end": 5148, "loc": { "start": { - "line": 258, + "line": 255, "column": 11 }, "end": { - "line": 258, - "column": 31 + "line": 255, + "column": 34 } }, - "object": { - "type": "ThisExpression", - "start": 5216, - "end": 5220, + "callee": { + "type": "MemberExpression", + "start": 5125, + "end": 5145, "loc": { "start": { - "line": 258, + "line": 255, "column": 11 }, "end": { - "line": 258, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 5221, - "end": 5236, - "loc": { - "start": { - "line": 258, - "column": 16 - }, - "end": { - "line": 258, + "line": 255, "column": 31 - }, - "identifierName": "getDateSections" + } }, - "name": "getDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 5237, - "end": 5238, - "loc": { - "start": { - "line": 258, - "column": 32 - }, - "end": { - "line": 258, - "column": 33 + "object": { + "type": "ThisExpression", + "start": 5125, + "end": 5129, + "loc": { + "start": { + "line": 255, + "column": 11 + }, + "end": { + "line": 255, + "column": 15 + } } }, - "extra": { - "rawValue": 7, - "raw": "7" + "property": { + "type": "Identifier", + "start": 5130, + "end": 5145, + "loc": { + "start": { + "line": 255, + "column": 16 + }, + "end": { + "line": 255, + "column": 31 + }, + "identifierName": "getDateSections" + }, + "name": "getDateSections" }, - "value": 7 - } - ] + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 5146, + "end": 5147, + "loc": { + "start": { + "line": 255, + "column": 32 + }, + "end": { + "line": 255, + "column": 33 + } + }, + "extra": { + "rawValue": 7, + "raw": "7" + }, + "value": 7 + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the kinchiltun component of the fullDate\n * @returns {number}\n ", + "start": 5006, + "end": 5091, + "loc": { + "start": { + "line": 250, + "column": 2 + }, + "end": { + "line": 253, + "column": 5 + } } } ], - "directives": [], - "trailingComments": null + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Ensure the fullDate has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", + "start": 5156, + "end": 5266, + "loc": { + "start": { + "line": 258, + "column": 2 + }, + "end": { + "line": 261, + "column": 5 + } + } + } + ] }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the kinchiltun component of the fullDate\n * @returns {number}\n ", - "start": 5098, - "end": 5183, + { + "type": "ClassMethod", + "start": 5269, + "end": 5336, + "loc": { + "start": { + "line": 262, + "column": 2 + }, + "end": { + "line": 264, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 5269, + "end": 5276, "loc": { "start": { - "line": 253, + "line": 262, "column": 2 }, "end": { - "line": 256, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Ensure the fullDate has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", - "start": 5248, - "end": 5358, + "line": 262, + "column": 9 + }, + "identifierName": "isValid" + }, + "name": "isValid", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 5280, + "end": 5336, "loc": { "start": { - "line": 261, - "column": 2 + "line": 262, + "column": 13 }, "end": { "line": 264, - "column": 5 + "column": 3 } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 5361, - "end": 5428, - "loc": { - "start": { - "line": 265, - "column": 2 - }, - "end": { - "line": 267, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 5361, - "end": 5368, - "loc": { - "start": { - "line": 265, - "column": 2 - }, - "end": { - "line": 265, - "column": 9 - }, - "identifierName": "isValid" - }, - "name": "isValid", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 5371, - "end": 5428, - "loc": { - "start": { - "line": 265, - "column": 12 }, - "end": { - "line": 267, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 5377, - "end": 5424, - "loc": { - "start": { - "line": 266, - "column": 4 - }, - "end": { - "line": 266, - "column": 51 - } - }, - "argument": { - "type": "CallExpression", - "start": 5384, - "end": 5423, + "body": [ + { + "type": "ReturnStatement", + "start": 5286, + "end": 5332, "loc": { "start": { - "line": 266, - "column": 11 + "line": 263, + "column": 4 }, "end": { - "line": 266, + "line": 263, "column": 50 } }, - "callee": { - "type": "MemberExpression", - "start": 5384, - "end": 5406, + "argument": { + "type": "CallExpression", + "start": 5293, + "end": 5332, "loc": { "start": { - "line": 266, + "line": 263, "column": 11 }, "end": { - "line": 266, - "column": 33 + "line": 263, + "column": 50 } }, - "object": { + "callee": { "type": "MemberExpression", - "start": 5384, - "end": 5401, + "start": 5293, + "end": 5315, "loc": { "start": { - "line": 266, + "line": 263, "column": 11 }, "end": { - "line": 266, - "column": 28 + "line": 263, + "column": 33 } }, "object": { - "type": "ThisExpression", - "start": 5384, - "end": 5388, + "type": "MemberExpression", + "start": 5293, + "end": 5310, "loc": { "start": { - "line": 266, + "line": 263, "column": 11 }, "end": { - "line": 266, - "column": 15 - } - } - }, - "property": { - "type": "Identifier", - "start": 5389, - "end": 5401, - "loc": { - "start": { - "line": 266, - "column": 16 - }, - "end": { - "line": 266, + "line": 263, "column": 28 - }, - "identifierName": "date_pattern" - }, - "name": "date_pattern" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 5402, - "end": 5406, - "loc": { - "start": { - "line": 266, - "column": 29 - }, - "end": { - "line": 266, - "column": 33 - }, - "identifierName": "test" - }, - "name": "test" - }, - "computed": false - }, - "arguments": [ - { - "type": "CallExpression", - "start": 5407, - "end": 5422, - "loc": { - "start": { - "line": 266, - "column": 34 - }, - "end": { - "line": 266, - "column": 49 - } - }, - "callee": { - "type": "MemberExpression", - "start": 5407, - "end": 5420, - "loc": { - "start": { - "line": 266, - "column": 34 - }, - "end": { - "line": 266, - "column": 47 } }, "object": { "type": "ThisExpression", - "start": 5407, - "end": 5411, + "start": 5293, + "end": 5297, "loc": { "start": { - "line": 266, - "column": 34 + "line": 263, + "column": 11 }, "end": { - "line": 266, - "column": 38 + "line": 263, + "column": 15 } } }, "property": { "type": "Identifier", - "start": 5412, - "end": 5420, + "start": 5298, + "end": 5310, "loc": { "start": { - "line": 266, - "column": 39 + "line": 263, + "column": 16 }, "end": { - "line": 266, - "column": 47 + "line": 263, + "column": 28 }, - "identifierName": "toString" + "identifierName": "date_pattern" }, - "name": "toString" + "name": "date_pattern" }, "computed": false }, - "arguments": [] - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Ensure the fullDate has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", - "start": 5248, - "end": 5358, - "loc": { - "start": { - "line": 261, - "column": 2 - }, - "end": { - "line": 264, - "column": 5 + "property": { + "type": "Identifier", + "start": 5311, + "end": 5315, + "loc": { + "start": { + "line": 263, + "column": 29 + }, + "end": { + "line": 263, + "column": 33 + }, + "identifierName": "test" + }, + "name": "test" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 5316, + "end": 5331, + "loc": { + "start": { + "line": 263, + "column": 34 + }, + "end": { + "line": 263, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 5316, + "end": 5329, + "loc": { + "start": { + "line": 263, + "column": 34 + }, + "end": { + "line": 263, + "column": 47 + } + }, + "object": { + "type": "ThisExpression", + "start": 5316, + "end": 5320, + "loc": { + "start": { + "line": 263, + "column": 34 + }, + "end": { + "line": 263, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "start": 5321, + "end": 5329, + "loc": { + "start": { + "line": 263, + "column": 39 + }, + "end": { + "line": 263, + "column": 47 + }, + "identifierName": "toString" + }, + "name": "toString" + }, + "computed": false + }, + "arguments": [] + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Ensure the fullDate has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", + "start": 5156, + "end": 5266, + "loc": { + "start": { + "line": 258, + "column": 2 + }, + "end": { + "line": 261, + "column": 5 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n ", - "start": 5432, - "end": 5569, - "loc": { - "start": { - "line": 269, - "column": 2 - }, - "end": { - "line": 273, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n ", + "start": 5340, + "end": 5477, + "loc": { + "start": { + "line": 266, + "column": 2 + }, + "end": { + "line": 270, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 5572, - "end": 5646, - "loc": { - "start": { - "line": 274, - "column": 2 - }, - "end": { - "line": 276, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 5572, - "end": 5581, + { + "type": "ClassMethod", + "start": 5480, + "end": 5554, "loc": { "start": { - "line": 274, + "line": 271, "column": 2 }, "end": { - "line": 274, - "column": 11 - }, - "identifierName": "isPartial" - }, - "name": "isPartial", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 5584, - "end": 5646, - "loc": { - "start": { - "line": 274, - "column": 14 - }, - "end": { - "line": 276, + "line": 273, "column": 3 } }, - "body": [ - { - "type": "ReturnStatement", - "start": 5590, - "end": 5642, - "loc": { - "start": { - "line": 275, - "column": 4 - }, - "end": { - "line": 275, - "column": 56 - } + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 5480, + "end": 5489, + "loc": { + "start": { + "line": 271, + "column": 2 }, - "argument": { - "type": "CallExpression", - "start": 5597, - "end": 5641, + "end": { + "line": 271, + "column": 11 + }, + "identifierName": "isPartial" + }, + "name": "isPartial", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 5493, + "end": 5554, + "loc": { + "start": { + "line": 271, + "column": 15 + }, + "end": { + "line": 273, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 5499, + "end": 5550, "loc": { "start": { - "line": 275, - "column": 11 + "line": 272, + "column": 4 }, "end": { - "line": 275, + "line": 272, "column": 55 } }, - "callee": { - "type": "MemberExpression", - "start": 5597, - "end": 5612, + "argument": { + "type": "CallExpression", + "start": 5506, + "end": 5550, "loc": { "start": { - "line": 275, + "line": 272, "column": 11 }, "end": { - "line": 275, - "column": 26 + "line": 272, + "column": 55 } }, - "object": { + "callee": { "type": "MemberExpression", - "start": 5597, - "end": 5607, + "start": 5506, + "end": 5521, "loc": { "start": { - "line": 275, + "line": 272, "column": 11 }, "end": { - "line": 275, - "column": 21 + "line": 272, + "column": 26 } }, "object": { - "type": "ThisExpression", - "start": 5597, - "end": 5601, + "type": "MemberExpression", + "start": 5506, + "end": 5516, "loc": { "start": { - "line": 275, + "line": 272, "column": 11 }, "end": { - "line": 275, - "column": 15 + "line": 272, + "column": 21 } - } + }, + "object": { + "type": "ThisExpression", + "start": 5506, + "end": 5510, + "loc": { + "start": { + "line": 272, + "column": 11 + }, + "end": { + "line": 272, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 5511, + "end": 5516, + "loc": { + "start": { + "line": 272, + "column": 16 + }, + "end": { + "line": 272, + "column": 21 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 5602, - "end": 5607, + "start": 5517, + "end": 5521, "loc": { "start": { - "line": 275, - "column": 16 + "line": 272, + "column": 22 }, "end": { - "line": 275, - "column": 21 + "line": 272, + "column": 26 }, - "identifierName": "parts" + "identifierName": "some" }, - "name": "parts" + "name": "some" }, "computed": false }, - "property": { - "type": "Identifier", - "start": 5608, - "end": 5612, - "loc": { - "start": { - "line": 275, - "column": 22 - }, - "end": { - "line": 275, - "column": 26 - }, - "identifierName": "some" - }, - "name": "some" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 5613, - "end": 5640, - "loc": { - "start": { - "line": 275, - "column": 27 - }, - "end": { - "line": 275, - "column": 54 - } - }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 5614, - "end": 5618, - "loc": { - "start": { - "line": 275, - "column": 28 - }, - "end": { - "line": 275, - "column": 32 - }, - "identifierName": "part" - }, - "name": "part" - } - ], - "body": { - "type": "BinaryExpression", - "start": 5623, - "end": 5640, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 5522, + "end": 5549, "loc": { "start": { - "line": 275, - "column": 37 + "line": 272, + "column": 27 }, "end": { - "line": 275, + "line": 272, "column": 54 } }, - "left": { - "type": "Identifier", - "start": 5623, - "end": 5627, - "loc": { - "start": { - "line": 275, - "column": 37 - }, - "end": { - "line": 275, - "column": 41 + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 5523, + "end": 5527, + "loc": { + "start": { + "line": 272, + "column": 28 + }, + "end": { + "line": 272, + "column": 32 + }, + "identifierName": "part" }, - "identifierName": "part" - }, - "name": "part" - }, - "operator": "===", - "right": { - "type": "Identifier", - "start": 5632, - "end": 5640, + "name": "part" + } + ], + "body": { + "type": "BinaryExpression", + "start": 5532, + "end": 5549, "loc": { "start": { - "line": 275, - "column": 46 + "line": 272, + "column": 37 }, "end": { - "line": 275, + "line": 272, "column": 54 + } + }, + "left": { + "type": "Identifier", + "start": 5532, + "end": 5536, + "loc": { + "start": { + "line": 272, + "column": 37 + }, + "end": { + "line": 272, + "column": 41 + }, + "identifierName": "part" }, - "identifierName": "wildcard" + "name": "part" }, - "name": "wildcard" + "operator": "===", + "right": { + "type": "Identifier", + "start": 5541, + "end": 5549, + "loc": { + "start": { + "line": 272, + "column": 46 + }, + "end": { + "line": 272, + "column": 54 + }, + "identifierName": "wildcard" + }, + "name": "wildcard" + } } } - } - ] + ] + } } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n ", - "start": 5432, - "end": 5569, - "loc": { - "start": { - "line": 269, - "column": 2 - }, - "end": { - "line": 273, - "column": 5 + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n ", + "start": 5340, + "end": 5477, + "loc": { + "start": { + "line": 266, + "column": 2 + }, + "end": { + "line": 270, + "column": 5 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", - "start": 5650, - "end": 5740, - "loc": { - "start": { - "line": 278, - "column": 2 - }, - "end": { - "line": 281, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", + "start": 5558, + "end": 5648, + "loc": { + "start": { + "line": 275, + "column": 2 + }, + "end": { + "line": 278, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 5743, - "end": 6098, - "loc": { - "start": { - "line": 282, - "column": 2 - }, - "end": { - "line": 294, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 5743, - "end": 5754, + { + "type": "ClassMethod", + "start": 5651, + "end": 6005, "loc": { "start": { - "line": 282, + "line": 279, "column": 2 }, "end": { - "line": 282, - "column": 13 - }, - "identifierName": "getPosition" - }, - "name": "getPosition", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 5757, - "end": 6098, - "loc": { - "start": { - "line": 282, - "column": 16 - }, - "end": { - "line": 294, + "line": 291, "column": 3 } }, - "body": [ - { - "type": "IfStatement", - "start": 5763, - "end": 5857, - "loc": { - "start": { - "line": 283, - "column": 4 - }, - "end": { - "line": 285, - "column": 5 - } + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 5651, + "end": 5662, + "loc": { + "start": { + "line": 279, + "column": 2 + }, + "end": { + "line": 279, + "column": 13 + }, + "identifierName": "getPosition" + }, + "name": "getPosition", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 5666, + "end": 6005, + "loc": { + "start": { + "line": 279, + "column": 17 }, - "test": { - "type": "CallExpression", - "start": 5767, - "end": 5783, + "end": { + "line": 291, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 5672, + "end": 5765, "loc": { "start": { - "line": 283, - "column": 8 + "line": 280, + "column": 4 }, "end": { - "line": 283, - "column": 24 + "line": 282, + "column": 5 } }, - "callee": { - "type": "MemberExpression", - "start": 5767, - "end": 5781, + "test": { + "type": "CallExpression", + "start": 5676, + "end": 5692, "loc": { "start": { - "line": 283, + "line": 280, "column": 8 }, "end": { - "line": 283, - "column": 22 + "line": 280, + "column": 24 } }, - "object": { - "type": "ThisExpression", - "start": 5767, - "end": 5771, + "callee": { + "type": "MemberExpression", + "start": 5676, + "end": 5690, "loc": { "start": { - "line": 283, + "line": 280, "column": 8 }, "end": { - "line": 283, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 5772, - "end": 5781, - "loc": { - "start": { - "line": 283, - "column": 13 - }, - "end": { - "line": 283, + "line": 280, "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 5676, + "end": 5680, + "loc": { + "start": { + "line": 280, + "column": 8 + }, + "end": { + "line": 280, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 5681, + "end": 5690, + "loc": { + "start": { + "line": 280, + "column": 13 + }, + "end": { + "line": 280, + "column": 22 + }, + "identifierName": "isPartial" }, - "identifierName": "isPartial" + "name": "isPartial" }, - "name": "isPartial" - }, - "computed": false - }, - "arguments": [] - }, - "consequent": { - "type": "BlockStatement", - "start": 5785, - "end": 5857, - "loc": { - "start": { - "line": 283, - "column": 26 + "computed": false }, - "end": { - "line": 285, - "column": 5 - } + "arguments": [] }, - "body": [ - { - "type": "ThrowStatement", - "start": 5793, - "end": 5851, - "loc": { - "start": { - "line": 284, - "column": 6 - }, - "end": { - "line": 284, - "column": 64 - } + "consequent": { + "type": "BlockStatement", + "start": 5694, + "end": 5765, + "loc": { + "start": { + "line": 280, + "column": 26 }, - "argument": { - "type": "NewExpression", - "start": 5799, - "end": 5850, + "end": { + "line": 282, + "column": 5 + } + }, + "body": [ + { + "type": "ThrowStatement", + "start": 5702, + "end": 5759, "loc": { "start": { - "line": 284, - "column": 12 + "line": 281, + "column": 6 }, "end": { - "line": 284, + "line": 281, "column": 63 } }, - "callee": { - "type": "Identifier", - "start": 5803, - "end": 5808, + "argument": { + "type": "NewExpression", + "start": 5708, + "end": 5759, "loc": { "start": { - "line": 284, - "column": 16 + "line": 281, + "column": 12 }, "end": { - "line": 284, - "column": 21 - }, - "identifierName": "Error" + "line": 281, + "column": 63 + } }, - "name": "Error" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 5809, - "end": 5849, + "callee": { + "type": "Identifier", + "start": 5712, + "end": 5717, "loc": { "start": { - "line": 284, - "column": 22 + "line": 281, + "column": 16 }, "end": { - "line": 284, - "column": 62 - } - }, - "extra": { - "rawValue": "Can not get position of fullDate dates", - "raw": "'Can not get position of fullDate dates'" + "line": 281, + "column": 21 + }, + "identifierName": "Error" }, - "value": "Can not get position of fullDate dates" - } - ] + "name": "Error" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 5718, + "end": 5758, + "loc": { + "start": { + "line": 281, + "column": 22 + }, + "end": { + "line": 281, + "column": 62 + } + }, + "extra": { + "rawValue": "Can not get position of fullDate dates", + "raw": "'Can not get position of fullDate dates'" + }, + "value": "Can not get position of fullDate dates" + } + ] + } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 5862, - "end": 6094, - "loc": { - "start": { - "line": 286, - "column": 4 + ], + "directives": [] }, - "end": { - "line": 293, - "column": 50 - } + "alternate": null }, - "argument": { - "type": "BinaryExpression", - "start": 5869, - "end": 6093, + { + "type": "ReturnStatement", + "start": 5770, + "end": 6001, "loc": { "start": { - "line": 286, - "column": 11 + "line": 283, + "column": 4 }, "end": { - "line": 293, + "line": 290, "column": 49 } }, - "left": { + "argument": { "type": "BinaryExpression", - "start": 5870, - "end": 6080, + "start": 5777, + "end": 6001, "loc": { "start": { - "line": 286, - "column": 12 + "line": 283, + "column": 11 }, "end": { - "line": 293, - "column": 36 + "line": 290, + "column": 49 } }, "left": { "type": "BinaryExpression", - "start": 5870, - "end": 6043, + "start": 5778, + "end": 5988, "loc": { "start": { - "line": 286, + "line": 283, "column": 12 }, "end": { - "line": 292, - "column": 32 + "line": 290, + "column": 36 } }, "left": { "type": "BinaryExpression", - "start": 5870, - "end": 6010, + "start": 5778, + "end": 5951, "loc": { "start": { - "line": 286, + "line": 283, "column": 12 }, "end": { - "line": 291, - "column": 29 + "line": 289, + "column": 32 } }, "left": { "type": "BinaryExpression", - "start": 5870, - "end": 5980, + "start": 5778, + "end": 5918, "loc": { "start": { - "line": 286, + "line": 283, "column": 12 }, "end": { - "line": 290, - "column": 28 + "line": 288, + "column": 29 } }, "left": { "type": "BinaryExpression", - "start": 5870, - "end": 5951, + "start": 5778, + "end": 5888, "loc": { "start": { - "line": 286, + "line": 283, "column": 12 }, "end": { - "line": 289, - "column": 25 + "line": 287, + "column": 28 } }, "left": { "type": "BinaryExpression", - "start": 5870, - "end": 5925, + "start": 5778, + "end": 5859, "loc": { "start": { - "line": 286, + "line": 283, "column": 12 }, "end": { - "line": 288, - "column": 22 + "line": 286, + "column": 25 } }, "left": { "type": "BinaryExpression", - "start": 5870, - "end": 5902, + "start": 5778, + "end": 5833, "loc": { "start": { - "line": 286, + "line": 283, "column": 12 }, "end": { - "line": 287, - "column": 23 + "line": 285, + "column": 22 } }, "left": { - "type": "MemberExpression", - "start": 5870, - "end": 5878, + "type": "BinaryExpression", + "start": 5778, + "end": 5810, "loc": { "start": { - "line": 286, + "line": 283, "column": 12 }, "end": { - "line": 286, - "column": 20 + "line": 284, + "column": 23 } }, - "object": { - "type": "ThisExpression", - "start": 5870, - "end": 5874, + "left": { + "type": "MemberExpression", + "start": 5778, + "end": 5786, "loc": { "start": { - "line": 286, + "line": 283, "column": 12 }, "end": { - "line": 286, - "column": 16 + "line": 283, + "column": 20 } - } + }, + "object": { + "type": "ThisExpression", + "start": 5778, + "end": 5782, + "loc": { + "start": { + "line": 283, + "column": 12 + }, + "end": { + "line": 283, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 5783, + "end": 5786, + "loc": { + "start": { + "line": 283, + "column": 17 + }, + "end": { + "line": 283, + "column": 20 + }, + "identifierName": "kIn" + }, + "name": "kIn" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 5875, - "end": 5878, + "operator": "+", + "right": { + "type": "BinaryExpression", + "start": 5795, + "end": 5810, "loc": { "start": { - "line": 286, - "column": 17 + "line": 284, + "column": 8 }, "end": { - "line": 286, - "column": 20 + "line": 284, + "column": 23 + } + }, + "left": { + "type": "MemberExpression", + "start": 5795, + "end": 5805, + "loc": { + "start": { + "line": 284, + "column": 8 + }, + "end": { + "line": 284, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 5795, + "end": 5799, + "loc": { + "start": { + "line": 284, + "column": 8 + }, + "end": { + "line": 284, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 5800, + "end": 5805, + "loc": { + "start": { + "line": 284, + "column": 13 + }, + "end": { + "line": 284, + "column": 18 + }, + "identifierName": "winal" + }, + "name": "winal" }, - "identifierName": "kIn" + "computed": false }, - "name": "kIn" - }, - "computed": false + "operator": "*", + "right": { + "type": "NumericLiteral", + "start": 5808, + "end": 5810, + "loc": { + "start": { + "line": 284, + "column": 21 + }, + "end": { + "line": 284, + "column": 23 + } + }, + "extra": { + "rawValue": 20, + "raw": "20" + }, + "value": 20 + } + } }, "operator": "+", "right": { "type": "BinaryExpression", - "start": 5887, - "end": 5902, + "start": 5819, + "end": 5833, "loc": { "start": { - "line": 287, + "line": 285, "column": 8 }, "end": { - "line": 287, - "column": 23 + "line": 285, + "column": 22 } }, "left": { "type": "MemberExpression", - "start": 5887, - "end": 5897, + "start": 5819, + "end": 5827, "loc": { "start": { - "line": 287, + "line": 285, "column": 8 }, "end": { - "line": 287, - "column": 18 + "line": 285, + "column": 16 } }, "object": { "type": "ThisExpression", - "start": 5887, - "end": 5891, + "start": 5819, + "end": 5823, "loc": { "start": { - "line": 287, + "line": 285, "column": 8 }, "end": { - "line": 287, + "line": 285, "column": 12 } } }, "property": { "type": "Identifier", - "start": 5892, - "end": 5897, + "start": 5824, + "end": 5827, "loc": { "start": { - "line": 287, + "line": 285, "column": 13 }, "end": { - "line": 287, - "column": 18 + "line": 285, + "column": 16 }, - "identifierName": "winal" + "identifierName": "tun" }, - "name": "winal" + "name": "tun" }, "computed": false }, "operator": "*", "right": { "type": "NumericLiteral", - "start": 5900, - "end": 5902, + "start": 5830, + "end": 5833, "loc": { "start": { - "line": 287, - "column": 21 + "line": 285, + "column": 19 }, "end": { - "line": 287, - "column": 23 + "line": 285, + "column": 22 } }, "extra": { - "rawValue": 20, - "raw": "20" + "rawValue": 360, + "raw": "360" }, - "value": 20 + "value": 360 } } }, "operator": "+", "right": { "type": "BinaryExpression", - "start": 5911, - "end": 5925, + "start": 5842, + "end": 5859, "loc": { "start": { - "line": 288, + "line": 286, "column": 8 }, "end": { - "line": 288, - "column": 22 + "line": 286, + "column": 25 } }, "left": { "type": "MemberExpression", - "start": 5911, - "end": 5919, + "start": 5842, + "end": 5852, "loc": { "start": { - "line": 288, + "line": 286, "column": 8 }, "end": { - "line": 288, - "column": 16 + "line": 286, + "column": 18 } }, "object": { "type": "ThisExpression", - "start": 5911, - "end": 5915, + "start": 5842, + "end": 5846, "loc": { "start": { - "line": 288, + "line": 286, "column": 8 }, "end": { - "line": 288, + "line": 286, "column": 12 } } }, "property": { "type": "Identifier", - "start": 5916, - "end": 5919, + "start": 5847, + "end": 5852, "loc": { "start": { - "line": 288, + "line": 286, "column": 13 }, "end": { - "line": 288, - "column": 16 + "line": 286, + "column": 18 }, - "identifierName": "tun" + "identifierName": "kAtun" }, - "name": "tun" + "name": "kAtun" }, "computed": false }, "operator": "*", "right": { "type": "NumericLiteral", - "start": 5922, - "end": 5925, + "start": 5855, + "end": 5859, "loc": { "start": { - "line": 288, - "column": 19 + "line": 286, + "column": 21 }, "end": { - "line": 288, - "column": 22 + "line": 286, + "column": 25 } }, "extra": { - "rawValue": 360, - "raw": "360" + "rawValue": 7200, + "raw": "7200" }, - "value": 360 + "value": 7200 } } }, "operator": "+", "right": { "type": "BinaryExpression", - "start": 5934, - "end": 5951, + "start": 5868, + "end": 5888, "loc": { "start": { - "line": 289, + "line": 287, "column": 8 }, "end": { - "line": 289, - "column": 25 + "line": 287, + "column": 28 } }, "left": { "type": "MemberExpression", - "start": 5934, - "end": 5944, + "start": 5868, + "end": 5879, "loc": { "start": { - "line": 289, + "line": 287, "column": 8 }, "end": { - "line": 289, - "column": 18 + "line": 287, + "column": 19 } }, "object": { "type": "ThisExpression", - "start": 5934, - "end": 5938, + "start": 5868, + "end": 5872, "loc": { "start": { - "line": 289, + "line": 287, "column": 8 }, "end": { - "line": 289, + "line": 287, "column": 12 } } }, "property": { "type": "Identifier", - "start": 5939, - "end": 5944, + "start": 5873, + "end": 5879, "loc": { "start": { - "line": 289, + "line": 287, "column": 13 }, "end": { - "line": 289, - "column": 18 + "line": 287, + "column": 19 }, - "identifierName": "kAtun" + "identifierName": "bakTun" }, - "name": "kAtun" + "name": "bakTun" }, "computed": false }, "operator": "*", "right": { "type": "NumericLiteral", - "start": 5947, - "end": 5951, + "start": 5882, + "end": 5888, "loc": { "start": { - "line": 289, - "column": 21 + "line": 287, + "column": 22 }, "end": { - "line": 289, - "column": 25 + "line": 287, + "column": 28 } }, "extra": { - "rawValue": 7200, - "raw": "7200" + "rawValue": 144000, + "raw": "144000" }, - "value": 7200 + "value": 144000 } } }, "operator": "+", "right": { "type": "BinaryExpression", - "start": 5960, - "end": 5980, + "start": 5897, + "end": 5918, "loc": { "start": { - "line": 290, + "line": 288, "column": 8 }, "end": { - "line": 290, - "column": 28 + "line": 288, + "column": 29 } }, "left": { "type": "MemberExpression", - "start": 5960, - "end": 5971, + "start": 5897, + "end": 5908, "loc": { "start": { - "line": 290, + "line": 288, "column": 8 }, "end": { - "line": 290, + "line": 288, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 5960, - "end": 5964, + "start": 5897, + "end": 5901, "loc": { "start": { - "line": 290, + "line": 288, "column": 8 }, "end": { - "line": 290, + "line": 288, "column": 12 } } }, "property": { "type": "Identifier", - "start": 5965, - "end": 5971, + "start": 5902, + "end": 5908, "loc": { "start": { - "line": 290, + "line": 288, "column": 13 }, "end": { - "line": 290, + "line": 288, "column": 19 }, - "identifierName": "bakTun" + "identifierName": "piktun" }, - "name": "bakTun" + "name": "piktun" }, "computed": false }, "operator": "*", "right": { "type": "NumericLiteral", - "start": 5974, - "end": 5980, + "start": 5911, + "end": 5918, "loc": { "start": { - "line": 290, + "line": 288, "column": 22 }, "end": { - "line": 290, - "column": 28 + "line": 288, + "column": 29 } }, "extra": { - "rawValue": 144000, - "raw": "144000" + "rawValue": 2880000, + "raw": "2880000" }, - "value": 144000 + "value": 2880000 } } }, "operator": "+", "right": { "type": "BinaryExpression", - "start": 5989, - "end": 6010, + "start": 5927, + "end": 5951, "loc": { "start": { - "line": 291, + "line": 289, "column": 8 }, "end": { - "line": 291, - "column": 29 + "line": 289, + "column": 32 } }, "left": { "type": "MemberExpression", - "start": 5989, - "end": 6000, + "start": 5927, + "end": 5940, "loc": { "start": { - "line": 291, + "line": 289, "column": 8 }, "end": { - "line": 291, - "column": 19 + "line": 289, + "column": 21 } }, "object": { "type": "ThisExpression", - "start": 5989, - "end": 5993, + "start": 5927, + "end": 5931, "loc": { "start": { - "line": 291, + "line": 289, "column": 8 }, "end": { - "line": 291, + "line": 289, "column": 12 } } }, "property": { "type": "Identifier", - "start": 5994, - "end": 6000, + "start": 5932, + "end": 5940, "loc": { "start": { - "line": 291, + "line": 289, "column": 13 }, "end": { - "line": 291, - "column": 19 + "line": 289, + "column": 21 }, - "identifierName": "piktun" + "identifierName": "kalabtun" }, - "name": "piktun" + "name": "kalabtun" }, "computed": false }, "operator": "*", "right": { "type": "NumericLiteral", - "start": 6003, - "end": 6010, + "start": 5943, + "end": 5951, "loc": { "start": { - "line": 291, - "column": 22 + "line": 289, + "column": 24 }, "end": { - "line": 291, - "column": 29 + "line": 289, + "column": 32 } }, "extra": { - "rawValue": 2880000, - "raw": "2880000" + "rawValue": 57600000, + "raw": "57600000" }, - "value": 2880000 + "value": 57600000 } } }, "operator": "+", "right": { "type": "BinaryExpression", - "start": 6019, - "end": 6043, + "start": 5960, + "end": 5988, "loc": { "start": { - "line": 292, + "line": 290, "column": 8 }, "end": { - "line": 292, - "column": 32 + "line": 290, + "column": 36 } }, "left": { "type": "MemberExpression", - "start": 6019, - "end": 6032, + "start": 5960, + "end": 5975, "loc": { "start": { - "line": 292, + "line": 290, "column": 8 }, "end": { - "line": 292, - "column": 21 + "line": 290, + "column": 23 } }, "object": { "type": "ThisExpression", - "start": 6019, - "end": 6023, + "start": 5960, + "end": 5964, "loc": { "start": { - "line": 292, + "line": 290, "column": 8 }, "end": { - "line": 292, + "line": 290, "column": 12 } } }, "property": { "type": "Identifier", - "start": 6024, - "end": 6032, + "start": 5965, + "end": 5975, "loc": { "start": { - "line": 292, + "line": 290, "column": 13 }, "end": { - "line": 292, - "column": 21 + "line": 290, + "column": 23 }, - "identifierName": "kalabtun" + "identifierName": "kinchiltun" }, - "name": "kalabtun" + "name": "kinchiltun" }, "computed": false }, "operator": "*", "right": { "type": "NumericLiteral", - "start": 6035, - "end": 6043, + "start": 5978, + "end": 5988, "loc": { "start": { - "line": 292, - "column": 24 + "line": 290, + "column": 26 }, "end": { - "line": 292, - "column": 32 + "line": 290, + "column": 36 } }, "extra": { - "rawValue": 57600000, - "raw": "57600000" + "rawValue": 1152000000, + "raw": "1152000000" }, - "value": 57600000 + "value": 1152000000 } + }, + "extra": { + "parenthesized": true, + "parenStart": 5777 } }, - "operator": "+", + "operator": "*", "right": { - "type": "BinaryExpression", - "start": 6052, - "end": 6080, + "type": "MemberExpression", + "start": 5992, + "end": 6001, "loc": { "start": { - "line": 293, - "column": 8 + "line": 290, + "column": 40 }, "end": { - "line": 293, - "column": 36 + "line": 290, + "column": 49 } }, - "left": { - "type": "MemberExpression", - "start": 6052, - "end": 6067, + "object": { + "type": "ThisExpression", + "start": 5992, + "end": 5996, "loc": { "start": { - "line": 293, - "column": 8 + "line": 290, + "column": 40 }, "end": { - "line": 293, - "column": 23 - } - }, - "object": { - "type": "ThisExpression", - "start": 6052, - "end": 6056, - "loc": { - "start": { - "line": 293, - "column": 8 - }, - "end": { - "line": 293, - "column": 12 - } + "line": 290, + "column": 44 } - }, - "property": { - "type": "Identifier", - "start": 6057, - "end": 6067, - "loc": { - "start": { - "line": 293, - "column": 13 - }, - "end": { - "line": 293, - "column": 23 - }, - "identifierName": "kinchiltun" - }, - "name": "kinchiltun" - }, - "computed": false + } }, - "operator": "*", - "right": { - "type": "NumericLiteral", - "start": 6070, - "end": 6080, + "property": { + "type": "Identifier", + "start": 5997, + "end": 6001, "loc": { "start": { - "line": 293, - "column": 26 + "line": 290, + "column": 45 }, "end": { - "line": 293, - "column": 36 - } - }, - "extra": { - "rawValue": 1152000000, - "raw": "1152000000" + "line": 290, + "column": 49 + }, + "identifierName": "sign" }, - "value": 1152000000 - } - }, - "extra": { - "parenthesized": true, - "parenStart": 5869 + "name": "sign" + }, + "computed": false } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", + "start": 5558, + "end": 5648, + "loc": { + "start": { + "line": 275, + "column": 2 }, - "operator": "*", - "right": { - "type": "MemberExpression", - "start": 6084, - "end": 6093, - "loc": { - "start": { - "line": 293, - "column": 40 - }, - "end": { - "line": 293, - "column": 49 - } - }, - "object": { - "type": "ThisExpression", - "start": 6084, - "end": 6088, - "loc": { - "start": { - "line": 293, - "column": 40 - }, - "end": { - "line": 293, - "column": 44 - } - } - }, - "property": { - "type": "Identifier", - "start": 6089, - "end": 6093, - "loc": { - "start": { - "line": 293, - "column": 45 - }, - "end": { - "line": 293, - "column": 49 - }, - "identifierName": "sign" - }, - "name": "sign" - }, - "computed": false + "end": { + "line": 278, + "column": 5 } } } ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", - "start": 5650, - "end": 5740, - "loc": { - "start": { - "line": 278, - "column": 2 - }, - "end": { - "line": 281, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the sum of this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n ", - "start": 6102, - "end": 6235, - "loc": { - "start": { - "line": 296, - "column": 2 - }, - "end": { - "line": 300, - "column": 5 + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the sum of this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n ", + "start": 6009, + "end": 6142, + "loc": { + "start": { + "line": 293, + "column": 2 + }, + "end": { + "line": 297, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 6238, - "end": 6445, - "loc": { - "start": { - "line": 301, - "column": 2 - }, - "end": { - "line": 306, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 6238, - "end": 6242, + { + "type": "ClassMethod", + "start": 6145, + "end": 6352, "loc": { "start": { - "line": 301, + "line": 298, "column": 2 }, "end": { - "line": 301, - "column": 6 - }, - "identifierName": "plus" + "line": 303, + "column": 3 + } }, - "name": "plus", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 6243, - "end": 6248, + "start": 6145, + "end": 6149, "loc": { "start": { - "line": 301, - "column": 7 + "line": 298, + "column": 2 }, "end": { - "line": 301, - "column": 12 + "line": 298, + "column": 6 }, - "identifierName": "newLc" - }, - "name": "newLc" - } - ], - "body": { - "type": "BlockStatement", - "start": 6250, - "end": 6445, - "loc": { - "start": { - "line": 301, - "column": 14 + "identifierName": "plus" }, - "end": { - "line": 306, - "column": 3 - } + "name": "plus", + "leadingComments": null }, - "body": [ + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "ReturnStatement", - "start": 6383, - "end": 6441, + "type": "Identifier", + "start": 6151, + "end": 6156, "loc": { "start": { - "line": 305, - "column": 4 + "line": 298, + "column": 8 }, "end": { - "line": 305, - "column": 62 - } + "line": 298, + "column": 13 + }, + "identifierName": "newLc" }, - "argument": { - "type": "NewExpression", - "start": 6390, - "end": 6440, + "name": "newLc" + } + ], + "body": { + "type": "BlockStatement", + "start": 6158, + "end": 6352, + "loc": { + "start": { + "line": 298, + "column": 15 + }, + "end": { + "line": 303, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 6291, + "end": 6348, "loc": { "start": { - "line": 305, - "column": 11 + "line": 302, + "column": 4 }, "end": { - "line": 305, + "line": 302, "column": 61 } }, - "callee": { - "type": "Identifier", - "start": 6394, - "end": 6411, + "argument": { + "type": "NewExpression", + "start": 6298, + "end": 6348, "loc": { "start": { - "line": 305, - "column": 15 + "line": 302, + "column": 11 }, "end": { - "line": 305, - "column": 32 - }, - "identifierName": "LongcountAddition" + "line": 302, + "column": 61 + } }, - "name": "LongcountAddition" - }, - "arguments": [ - { + "callee": { "type": "Identifier", - "start": 6412, - "end": 6426, + "start": 6302, + "end": 6319, "loc": { "start": { - "line": 305, - "column": 33 + "line": 302, + "column": 15 }, "end": { - "line": 305, - "column": 47 + "line": 302, + "column": 32 }, - "identifierName": "DistanceNumber" + "identifierName": "LongcountAddition" }, - "name": "DistanceNumber" + "name": "LongcountAddition" }, - { - "type": "ThisExpression", - "start": 6428, - "end": 6432, - "loc": { - "start": { - "line": 305, - "column": 49 + "arguments": [ + { + "type": "Identifier", + "start": 6320, + "end": 6334, + "loc": { + "start": { + "line": 302, + "column": 33 + }, + "end": { + "line": 302, + "column": 47 + }, + "identifierName": "DistanceNumber" }, - "end": { - "line": 305, - "column": 53 + "name": "DistanceNumber" + }, + { + "type": "ThisExpression", + "start": 6336, + "end": 6340, + "loc": { + "start": { + "line": 302, + "column": 49 + }, + "end": { + "line": 302, + "column": 53 + } } + }, + { + "type": "Identifier", + "start": 6342, + "end": 6347, + "loc": { + "start": { + "line": 302, + "column": 55 + }, + "end": { + "line": 302, + "column": 60 + }, + "identifierName": "newLc" + }, + "name": "newLc" } - }, + ], + "leadingComments": null + }, + "leadingComments": [ { - "type": "Identifier", - "start": 6434, - "end": 6439, + "type": "CommentBlock", + "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", + "start": 6164, + "end": 6286, "loc": { "start": { - "line": 305, - "column": 55 + "line": 299, + "column": 4 }, "end": { - "line": 305, - "column": 60 - }, - "identifierName": "newLc" - }, - "name": "newLc" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", - "start": 6256, - "end": 6378, - "loc": { - "start": { - "line": 302, - "column": 4 - }, - "end": { - "line": 304, - "column": 7 + "line": 301, + "column": 7 + } } } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the sum of this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n ", + "start": 6009, + "end": 6142, + "loc": { + "start": { + "line": 293, + "column": 2 + }, + "end": { + "line": 297, + "column": 5 } - ] - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the sum of this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n ", - "start": 6102, - "end": 6235, - "loc": { - "start": { - "line": 296, - "column": 2 - }, - "end": { - "line": 300, - "column": 5 } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the difference between this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n ", - "start": 6449, - "end": 6594, - "loc": { - "start": { - "line": 308, - "column": 2 - }, - "end": { - "line": 312, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the difference between this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n ", + "start": 6356, + "end": 6501, + "loc": { + "start": { + "line": 305, + "column": 2 + }, + "end": { + "line": 309, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 6597, - "end": 6808, - "loc": { - "start": { - "line": 313, - "column": 2 - }, - "end": { - "line": 318, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 6597, - "end": 6602, + { + "type": "ClassMethod", + "start": 6504, + "end": 6715, "loc": { "start": { - "line": 313, + "line": 310, "column": 2 }, "end": { - "line": 313, - "column": 7 - }, - "identifierName": "minus" + "line": 315, + "column": 3 + } }, - "name": "minus", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 6603, - "end": 6608, + "start": 6504, + "end": 6509, "loc": { "start": { - "line": 313, - "column": 8 + "line": 310, + "column": 2 }, "end": { - "line": 313, - "column": 13 + "line": 310, + "column": 7 }, - "identifierName": "newLc" + "identifierName": "minus" }, - "name": "newLc" - } - ], - "body": { - "type": "BlockStatement", - "start": 6610, - "end": 6808, - "loc": { - "start": { - "line": 313, - "column": 15 - }, - "end": { - "line": 318, - "column": 3 - } + "name": "minus", + "leadingComments": null }, - "body": [ + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "ReturnStatement", - "start": 6743, - "end": 6804, + "type": "Identifier", + "start": 6511, + "end": 6516, "loc": { "start": { - "line": 317, - "column": 4 + "line": 310, + "column": 9 }, "end": { - "line": 317, - "column": 65 - } + "line": 310, + "column": 14 + }, + "identifierName": "newLc" }, - "argument": { - "type": "NewExpression", - "start": 6750, - "end": 6803, + "name": "newLc" + } + ], + "body": { + "type": "BlockStatement", + "start": 6518, + "end": 6715, + "loc": { + "start": { + "line": 310, + "column": 16 + }, + "end": { + "line": 315, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 6651, + "end": 6711, "loc": { "start": { - "line": 317, - "column": 11 + "line": 314, + "column": 4 }, "end": { - "line": 317, + "line": 314, "column": 64 } }, - "callee": { - "type": "Identifier", - "start": 6754, - "end": 6774, + "argument": { + "type": "NewExpression", + "start": 6658, + "end": 6711, "loc": { "start": { - "line": 317, - "column": 15 + "line": 314, + "column": 11 }, "end": { - "line": 317, - "column": 35 - }, - "identifierName": "LongcountSubtraction" + "line": 314, + "column": 64 + } }, - "name": "LongcountSubtraction" - }, - "arguments": [ - { + "callee": { "type": "Identifier", - "start": 6775, - "end": 6789, + "start": 6662, + "end": 6682, "loc": { "start": { - "line": 317, - "column": 36 + "line": 314, + "column": 15 }, "end": { - "line": 317, - "column": 50 + "line": 314, + "column": 35 }, - "identifierName": "DistanceNumber" + "identifierName": "LongcountSubtraction" }, - "name": "DistanceNumber" + "name": "LongcountSubtraction" }, - { - "type": "ThisExpression", - "start": 6791, - "end": 6795, - "loc": { - "start": { - "line": 317, - "column": 52 - }, - "end": { - "line": 317, - "column": 56 - } + "arguments": [ + { + "type": "Identifier", + "start": 6683, + "end": 6697, + "loc": { + "start": { + "line": 314, + "column": 36 + }, + "end": { + "line": 314, + "column": 50 + }, + "identifierName": "DistanceNumber" + }, + "name": "DistanceNumber" + }, + { + "type": "ThisExpression", + "start": 6699, + "end": 6703, + "loc": { + "start": { + "line": 314, + "column": 52 + }, + "end": { + "line": 314, + "column": 56 + } + } + }, + { + "type": "Identifier", + "start": 6705, + "end": 6710, + "loc": { + "start": { + "line": 314, + "column": 58 + }, + "end": { + "line": 314, + "column": 63 + }, + "identifierName": "newLc" + }, + "name": "newLc" } - }, + ], + "leadingComments": null + }, + "leadingComments": [ { - "type": "Identifier", - "start": 6797, - "end": 6802, + "type": "CommentBlock", + "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", + "start": 6524, + "end": 6646, "loc": { "start": { - "line": 317, - "column": 58 + "line": 311, + "column": 4 }, "end": { - "line": 317, - "column": 63 - }, - "identifierName": "newLc" - }, - "name": "newLc" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", - "start": 6616, - "end": 6738, - "loc": { - "start": { - "line": 314, - "column": 4 - }, - "end": { - "line": 316, - "column": 7 + "line": 313, + "column": 7 + } } } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the difference between this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n ", + "start": 6356, + "end": 6501, + "loc": { + "start": { + "line": 305, + "column": 2 + }, + "end": { + "line": 309, + "column": 5 } - ] - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the difference between this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n ", - "start": 6449, - "end": 6594, - "loc": { - "start": { - "line": 308, - "column": 2 - }, - "end": { - "line": 312, - "column": 5 } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Make sure the elements of the Long Count do not exceed\n * @return {DistanceNumber}\n ", - "start": 6812, - "end": 6911, - "loc": { - "start": { - "line": 320, - "column": 2 - }, - "end": { - "line": 323, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Make sure the elements of the Long Count do not exceed\n * @return {DistanceNumber}\n ", + "start": 6719, + "end": 6818, + "loc": { + "start": { + "line": 317, + "column": 2 + }, + "end": { + "line": 320, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 6914, - "end": 7898, - "loc": { - "start": { - "line": 324, - "column": 2 - }, - "end": { - "line": 344, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 6914, - "end": 6923, + { + "type": "ClassMethod", + "start": 6821, + "end": 7971, "loc": { "start": { - "line": 324, + "line": 321, "column": 2 }, "end": { - "line": 324, - "column": 11 - }, - "identifierName": "normalise" - }, - "name": "normalise", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 6926, - "end": 7898, - "loc": { - "start": { - "line": 324, - "column": 14 - }, - "end": { - "line": 344, + "line": 346, "column": 3 } }, - "body": [ - { - "type": "VariableDeclaration", - "start": 6932, - "end": 6968, - "loc": { - "start": { - "line": 325, - "column": 4 - }, - "end": { - "line": 325, - "column": 40 - } + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 6821, + "end": 6830, + "loc": { + "start": { + "line": 321, + "column": 2 }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 6938, - "end": 6967, - "loc": { - "start": { - "line": 325, - "column": 10 - }, - "end": { - "line": 325, - "column": 39 - } + "end": { + "line": 321, + "column": 11 + }, + "identifierName": "normalise" + }, + "name": "normalise", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 6834, + "end": 7971, + "loc": { + "start": { + "line": 321, + "column": 15 + }, + "end": { + "line": 346, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 6840, + "end": 6875, + "loc": { + "start": { + "line": 322, + "column": 4 }, - "id": { - "type": "Identifier", - "start": 6938, - "end": 6946, + "end": { + "line": 322, + "column": 39 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 6846, + "end": 6875, "loc": { "start": { - "line": 325, + "line": 322, "column": 10 }, "end": { - "line": 325, - "column": 18 - }, - "identifierName": "totalKIn" - }, - "name": "totalKIn" - }, - "init": { - "type": "CallExpression", - "start": 6949, - "end": 6967, - "loc": { - "start": { - "line": 325, - "column": 21 - }, - "end": { - "line": 325, + "line": 322, "column": 39 } }, - "callee": { - "type": "MemberExpression", - "start": 6949, - "end": 6965, + "id": { + "type": "Identifier", + "start": 6846, + "end": 6854, + "loc": { + "start": { + "line": 322, + "column": 10 + }, + "end": { + "line": 322, + "column": 18 + }, + "identifierName": "totalKIn" + }, + "name": "totalKIn" + }, + "init": { + "type": "CallExpression", + "start": 6857, + "end": 6875, "loc": { "start": { - "line": 325, + "line": 322, "column": 21 }, "end": { - "line": 325, - "column": 37 + "line": 322, + "column": 39 } }, - "object": { - "type": "ThisExpression", - "start": 6949, - "end": 6953, + "callee": { + "type": "MemberExpression", + "start": 6857, + "end": 6873, "loc": { "start": { - "line": 325, + "line": 322, "column": 21 }, "end": { - "line": 325, - "column": 25 - } - } - }, - "property": { - "type": "Identifier", - "start": 6954, - "end": 6965, - "loc": { - "start": { - "line": 325, - "column": 26 - }, - "end": { - "line": 325, + "line": 322, "column": 37 + } + }, + "object": { + "type": "ThisExpression", + "start": 6857, + "end": 6861, + "loc": { + "start": { + "line": 322, + "column": 21 + }, + "end": { + "line": 322, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "start": 6862, + "end": 6873, + "loc": { + "start": { + "line": 322, + "column": 26 + }, + "end": { + "line": 322, + "column": 37 + }, + "identifierName": "getPosition" }, - "identifierName": "getPosition" + "name": "getPosition" }, - "name": "getPosition" + "computed": false }, - "computed": false - }, - "arguments": [] + "arguments": [] + } } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 6973, - "end": 7007, - "loc": { - "start": { - "line": 326, - "column": 4 - }, - "end": { - "line": 326, - "column": 38 - } + ], + "kind": "const" }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 6979, - "end": 7006, - "loc": { - "start": { - "line": 326, - "column": 10 - }, - "end": { - "line": 326, - "column": 37 - } + { + "type": "VariableDeclaration", + "start": 6880, + "end": 6913, + "loc": { + "start": { + "line": 323, + "column": 4 }, - "id": { - "type": "Identifier", - "start": 6979, - "end": 6983, + "end": { + "line": 323, + "column": 37 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 6886, + "end": 6913, "loc": { "start": { - "line": 326, + "line": 323, "column": 10 }, "end": { - "line": 326, - "column": 14 - }, - "identifierName": "norm" - }, - "name": "norm" - }, - "init": { - "type": "NewExpression", - "start": 6986, - "end": 7006, - "loc": { - "start": { - "line": 326, - "column": 17 - }, - "end": { - "line": 326, + "line": 323, "column": 37 } }, - "callee": { + "id": { "type": "Identifier", - "start": 6990, - "end": 7004, + "start": 6886, + "end": 6890, "loc": { "start": { - "line": 326, - "column": 21 + "line": 323, + "column": 10 }, "end": { - "line": 326, - "column": 35 + "line": 323, + "column": 14 }, - "identifierName": "DistanceNumber" + "identifierName": "norm" }, - "name": "DistanceNumber" + "name": "norm" }, - "arguments": [] + "init": { + "type": "NewExpression", + "start": 6893, + "end": 6913, + "loc": { + "start": { + "line": 323, + "column": 17 + }, + "end": { + "line": 323, + "column": 37 + } + }, + "callee": { + "type": "Identifier", + "start": 6897, + "end": 6911, + "loc": { + "start": { + "line": 323, + "column": 21 + }, + "end": { + "line": 323, + "column": 35 + }, + "identifierName": "DistanceNumber" + }, + "name": "DistanceNumber" + }, + "arguments": [] + } } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 7012, - "end": 7037, - "loc": { - "start": { - "line": 327, - "column": 4 - }, - "end": { - "line": 327, - "column": 29 - } + ], + "kind": "const" }, - "expression": { - "type": "AssignmentExpression", - "start": 7012, - "end": 7036, + { + "type": "ExpressionStatement", + "start": 6918, + "end": 6942, "loc": { "start": { - "line": 327, + "line": 324, "column": 4 }, "end": { - "line": 327, + "line": 324, "column": 28 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 7012, - "end": 7020, + "expression": { + "type": "AssignmentExpression", + "start": 6918, + "end": 6942, "loc": { "start": { - "line": 327, + "line": 324, "column": 4 }, "end": { - "line": 327, - "column": 12 + "line": 324, + "column": 28 } }, - "object": { - "type": "Identifier", - "start": 7012, - "end": 7016, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 6918, + "end": 6926, "loc": { "start": { - "line": 327, + "line": 324, "column": 4 }, "end": { - "line": 327, - "column": 8 - }, - "identifierName": "norm" - }, - "name": "norm" - }, - "property": { - "type": "Identifier", - "start": 7017, - "end": 7020, - "loc": { - "start": { - "line": 327, - "column": 9 - }, - "end": { - "line": 327, + "line": 324, "column": 12 + } + }, + "object": { + "type": "Identifier", + "start": 6918, + "end": 6922, + "loc": { + "start": { + "line": 324, + "column": 4 + }, + "end": { + "line": 324, + "column": 8 + }, + "identifierName": "norm" }, - "identifierName": "kIn" + "name": "norm" }, - "name": "kIn" - }, - "computed": false - }, - "right": { - "type": "BinaryExpression", - "start": 7023, - "end": 7036, - "loc": { - "start": { - "line": 327, - "column": 15 + "property": { + "type": "Identifier", + "start": 6923, + "end": 6926, + "loc": { + "start": { + "line": 324, + "column": 9 + }, + "end": { + "line": 324, + "column": 12 + }, + "identifierName": "kIn" + }, + "name": "kIn" }, - "end": { - "line": 327, - "column": 28 - } + "computed": false }, - "left": { - "type": "Identifier", - "start": 7023, - "end": 7031, + "right": { + "type": "BinaryExpression", + "start": 6929, + "end": 6942, "loc": { "start": { - "line": 327, + "line": 324, "column": 15 }, "end": { - "line": 327, - "column": 23 + "line": 324, + "column": 28 + } + }, + "left": { + "type": "Identifier", + "start": 6929, + "end": 6937, + "loc": { + "start": { + "line": 324, + "column": 15 + }, + "end": { + "line": 324, + "column": 23 + }, + "identifierName": "totalKIn" + }, + "name": "totalKIn" + }, + "operator": "%", + "right": { + "type": "NumericLiteral", + "start": 6940, + "end": 6942, + "loc": { + "start": { + "line": 324, + "column": 26 + }, + "end": { + "line": 324, + "column": 28 + } + }, + "extra": { + "rawValue": 20, + "raw": "20" }, - "identifierName": "totalKIn" + "value": 20, + "leadingComments": null, + "trailingComments": null }, - "name": "totalKIn" + "trailingComments": null }, - "operator": "%", - "right": { - "type": "NumericLiteral", - "start": 7034, - "end": 7036, + "trailingComments": null + }, + "trailingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 6947, + "end": 6993, "loc": { "start": { - "line": 327, - "column": 26 + "line": 325, + "column": 4 }, "end": { - "line": 327, - "column": 28 + "line": 325, + "column": 50 } - }, - "extra": { - "rawValue": 20, - "raw": "20" - }, - "value": 20 - } - } - }, - "trailingComments": [ - { - "type": "CommentLine", - "value": " eslint-disable-next-line no-mixed-operators", - "start": 7042, - "end": 7088, - "loc": { - "start": { - "line": 328, - "column": 4 - }, - "end": { - "line": 328, - "column": 50 } } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 7093, - "end": 7148, - "loc": { - "start": { - "line": 329, - "column": 4 - }, - "end": { - "line": 329, - "column": 59 - } + ] }, - "expression": { - "type": "AssignmentExpression", - "start": 7093, - "end": 7147, + { + "type": "ExpressionStatement", + "start": 6998, + "end": 7052, "loc": { "start": { - "line": 329, + "line": 326, "column": 4 }, "end": { - "line": 329, + "line": 326, "column": 58 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 7093, - "end": 7103, + "expression": { + "type": "AssignmentExpression", + "start": 6998, + "end": 7052, "loc": { "start": { - "line": 329, + "line": 326, "column": 4 }, "end": { - "line": 329, - "column": 14 + "line": 326, + "column": 58 } }, - "object": { - "type": "Identifier", - "start": 7093, - "end": 7097, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 6998, + "end": 7008, "loc": { "start": { - "line": 329, + "line": 326, "column": 4 }, "end": { - "line": 329, - "column": 8 - }, - "identifierName": "norm" - }, - "name": "norm", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 7098, - "end": 7103, - "loc": { - "start": { - "line": 329, - "column": 9 - }, - "end": { - "line": 329, + "line": 326, "column": 14 + } + }, + "object": { + "type": "Identifier", + "start": 6998, + "end": 7002, + "loc": { + "start": { + "line": 326, + "column": 4 + }, + "end": { + "line": 326, + "column": 8 + }, + "identifierName": "norm" }, - "identifierName": "winal" + "name": "norm", + "leadingComments": null }, - "name": "winal" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "BinaryExpression", - "start": 7106, - "end": 7147, - "loc": { - "start": { - "line": 329, - "column": 17 + "property": { + "type": "Identifier", + "start": 7003, + "end": 7008, + "loc": { + "start": { + "line": 326, + "column": 9 + }, + "end": { + "line": 326, + "column": 14 + }, + "identifierName": "winal" + }, + "name": "winal" }, - "end": { - "line": 329, - "column": 58 - } + "computed": false, + "leadingComments": null }, - "left": { + "right": { "type": "BinaryExpression", - "start": 7106, - "end": 7142, + "start": 7011, + "end": 7052, "loc": { "start": { - "line": 329, + "line": 326, "column": 17 }, "end": { - "line": 329, - "column": 53 + "line": 326, + "column": 58 } }, "left": { "type": "BinaryExpression", - "start": 7107, - "end": 7136, + "start": 7011, + "end": 7047, "loc": { "start": { - "line": 329, - "column": 18 + "line": 326, + "column": 17 }, "end": { - "line": 329, - "column": 47 + "line": 326, + "column": 53 } }, "left": { - "type": "Identifier", - "start": 7107, - "end": 7115, + "type": "BinaryExpression", + "start": 7012, + "end": 7041, "loc": { "start": { - "line": 329, + "line": 326, "column": 18 }, "end": { - "line": 329, - "column": 26 - }, - "identifierName": "totalKIn" - }, - "name": "totalKIn" - }, - "operator": "-", - "right": { - "type": "CallExpression", - "start": 7118, - "end": 7136, - "loc": { - "start": { - "line": 329, - "column": 29 - }, - "end": { - "line": 329, + "line": 326, "column": 47 } }, - "callee": { - "type": "MemberExpression", - "start": 7118, - "end": 7134, + "left": { + "type": "Identifier", + "start": 7012, + "end": 7020, + "loc": { + "start": { + "line": 326, + "column": 18 + }, + "end": { + "line": 326, + "column": 26 + }, + "identifierName": "totalKIn" + }, + "name": "totalKIn" + }, + "operator": "-", + "right": { + "type": "CallExpression", + "start": 7023, + "end": 7041, "loc": { "start": { - "line": 329, + "line": 326, "column": 29 }, "end": { - "line": 329, - "column": 45 + "line": 326, + "column": 47 } }, - "object": { - "type": "Identifier", - "start": 7118, - "end": 7122, + "callee": { + "type": "MemberExpression", + "start": 7023, + "end": 7039, "loc": { "start": { - "line": 329, + "line": 326, "column": 29 }, "end": { - "line": 329, - "column": 33 - }, - "identifierName": "norm" + "line": 326, + "column": 45 + } }, - "name": "norm" - }, - "property": { - "type": "Identifier", - "start": 7123, - "end": 7134, - "loc": { - "start": { - "line": 329, - "column": 34 + "object": { + "type": "Identifier", + "start": 7023, + "end": 7027, + "loc": { + "start": { + "line": 326, + "column": 29 + }, + "end": { + "line": 326, + "column": 33 + }, + "identifierName": "norm" }, - "end": { - "line": 329, - "column": 45 + "name": "norm" + }, + "property": { + "type": "Identifier", + "start": 7028, + "end": 7039, + "loc": { + "start": { + "line": 326, + "column": 34 + }, + "end": { + "line": 326, + "column": 45 + }, + "identifierName": "getPosition" }, - "identifierName": "getPosition" + "name": "getPosition" }, - "name": "getPosition" + "computed": false }, - "computed": false + "arguments": [] }, - "arguments": [] + "extra": { + "parenthesized": true, + "parenStart": 7011 + } }, - "extra": { - "parenthesized": true, - "parenStart": 7106 + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 7045, + "end": 7047, + "loc": { + "start": { + "line": 326, + "column": 51 + }, + "end": { + "line": 326, + "column": 53 + } + }, + "extra": { + "rawValue": 20, + "raw": "20" + }, + "value": 20 } }, - "operator": "/", + "operator": "%", "right": { "type": "NumericLiteral", - "start": 7140, - "end": 7142, + "start": 7050, + "end": 7052, "loc": { "start": { - "line": 329, - "column": 51 + "line": 326, + "column": 56 }, "end": { - "line": 329, - "column": 53 + "line": 326, + "column": 58 } }, "extra": { - "rawValue": 20, - "raw": "20" + "rawValue": 18, + "raw": "18" }, - "value": 20 - } + "value": 18, + "leadingComments": null, + "trailingComments": null + }, + "trailingComments": null }, - "operator": "%", - "right": { - "type": "NumericLiteral", - "start": 7145, - "end": 7147, + "leadingComments": null, + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 6947, + "end": 6993, "loc": { "start": { - "line": 329, - "column": 56 + "line": 325, + "column": 4 }, "end": { - "line": 329, - "column": 58 + "line": 325, + "column": 50 } - }, - "extra": { - "rawValue": 18, - "raw": "18" - }, - "value": 18 - } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " eslint-disable-next-line no-mixed-operators", - "start": 7042, - "end": 7088, - "loc": { - "start": { - "line": 328, - "column": 4 - }, - "end": { - "line": 328, - "column": 50 } } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " eslint-disable-next-line no-mixed-operators", - "start": 7153, - "end": 7199, - "loc": { - "start": { - "line": 330, - "column": 4 - }, - "end": { - "line": 330, - "column": 50 + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7057, + "end": 7103, + "loc": { + "start": { + "line": 327, + "column": 4 + }, + "end": { + "line": 327, + "column": 50 + } } } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 7204, - "end": 7258, - "loc": { - "start": { - "line": 331, - "column": 4 - }, - "end": { - "line": 331, - "column": 58 - } + ] }, - "expression": { - "type": "AssignmentExpression", - "start": 7204, - "end": 7257, + { + "type": "ExpressionStatement", + "start": 7108, + "end": 7161, "loc": { "start": { - "line": 331, + "line": 328, "column": 4 }, "end": { - "line": 331, + "line": 328, "column": 57 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 7204, - "end": 7212, + "expression": { + "type": "AssignmentExpression", + "start": 7108, + "end": 7161, "loc": { "start": { - "line": 331, + "line": 328, "column": 4 }, "end": { - "line": 331, - "column": 12 + "line": 328, + "column": 57 } }, - "object": { - "type": "Identifier", - "start": 7204, - "end": 7208, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 7108, + "end": 7116, "loc": { "start": { - "line": 331, + "line": 328, "column": 4 }, "end": { - "line": 331, - "column": 8 - }, - "identifierName": "norm" - }, - "name": "norm", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 7209, - "end": 7212, - "loc": { - "start": { - "line": 331, - "column": 9 - }, - "end": { - "line": 331, + "line": 328, "column": 12 + } + }, + "object": { + "type": "Identifier", + "start": 7108, + "end": 7112, + "loc": { + "start": { + "line": 328, + "column": 4 + }, + "end": { + "line": 328, + "column": 8 + }, + "identifierName": "norm" }, - "identifierName": "tun" + "name": "norm", + "leadingComments": null }, - "name": "tun" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "BinaryExpression", - "start": 7215, - "end": 7257, - "loc": { - "start": { - "line": 331, - "column": 15 + "property": { + "type": "Identifier", + "start": 7113, + "end": 7116, + "loc": { + "start": { + "line": 328, + "column": 9 + }, + "end": { + "line": 328, + "column": 12 + }, + "identifierName": "tun" + }, + "name": "tun" }, - "end": { - "line": 331, - "column": 57 - } + "computed": false, + "leadingComments": null }, - "left": { + "right": { "type": "BinaryExpression", - "start": 7215, - "end": 7252, + "start": 7119, + "end": 7161, "loc": { "start": { - "line": 331, + "line": 328, "column": 15 }, "end": { - "line": 331, - "column": 52 + "line": 328, + "column": 57 } }, "left": { "type": "BinaryExpression", - "start": 7216, - "end": 7245, + "start": 7119, + "end": 7156, "loc": { "start": { - "line": 331, - "column": 16 + "line": 328, + "column": 15 }, "end": { - "line": 331, - "column": 45 + "line": 328, + "column": 52 } }, "left": { - "type": "Identifier", - "start": 7216, - "end": 7224, + "type": "BinaryExpression", + "start": 7120, + "end": 7149, "loc": { "start": { - "line": 331, + "line": 328, "column": 16 }, "end": { - "line": 331, - "column": 24 - }, - "identifierName": "totalKIn" - }, - "name": "totalKIn" - }, - "operator": "-", - "right": { - "type": "CallExpression", - "start": 7227, - "end": 7245, - "loc": { - "start": { - "line": 331, - "column": 27 - }, - "end": { - "line": 331, + "line": 328, "column": 45 } }, - "callee": { - "type": "MemberExpression", - "start": 7227, - "end": 7243, + "left": { + "type": "Identifier", + "start": 7120, + "end": 7128, + "loc": { + "start": { + "line": 328, + "column": 16 + }, + "end": { + "line": 328, + "column": 24 + }, + "identifierName": "totalKIn" + }, + "name": "totalKIn" + }, + "operator": "-", + "right": { + "type": "CallExpression", + "start": 7131, + "end": 7149, "loc": { "start": { - "line": 331, + "line": 328, "column": 27 }, "end": { - "line": 331, - "column": 43 + "line": 328, + "column": 45 } }, - "object": { - "type": "Identifier", - "start": 7227, - "end": 7231, + "callee": { + "type": "MemberExpression", + "start": 7131, + "end": 7147, "loc": { "start": { - "line": 331, + "line": 328, "column": 27 }, "end": { - "line": 331, - "column": 31 - }, - "identifierName": "norm" + "line": 328, + "column": 43 + } }, - "name": "norm" - }, - "property": { - "type": "Identifier", - "start": 7232, - "end": 7243, - "loc": { - "start": { - "line": 331, - "column": 32 + "object": { + "type": "Identifier", + "start": 7131, + "end": 7135, + "loc": { + "start": { + "line": 328, + "column": 27 + }, + "end": { + "line": 328, + "column": 31 + }, + "identifierName": "norm" }, - "end": { - "line": 331, - "column": 43 + "name": "norm" + }, + "property": { + "type": "Identifier", + "start": 7136, + "end": 7147, + "loc": { + "start": { + "line": 328, + "column": 32 + }, + "end": { + "line": 328, + "column": 43 + }, + "identifierName": "getPosition" }, - "identifierName": "getPosition" + "name": "getPosition" }, - "name": "getPosition" + "computed": false }, - "computed": false + "arguments": [] }, - "arguments": [] + "extra": { + "parenthesized": true, + "parenStart": 7119 + } }, - "extra": { - "parenthesized": true, - "parenStart": 7215 + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 7153, + "end": 7156, + "loc": { + "start": { + "line": 328, + "column": 49 + }, + "end": { + "line": 328, + "column": 52 + } + }, + "extra": { + "rawValue": 360, + "raw": "360" + }, + "value": 360 } }, - "operator": "/", + "operator": "%", "right": { "type": "NumericLiteral", - "start": 7249, - "end": 7252, + "start": 7159, + "end": 7161, "loc": { "start": { - "line": 331, - "column": 49 + "line": 328, + "column": 55 }, "end": { - "line": 331, - "column": 52 + "line": 328, + "column": 57 } }, "extra": { - "rawValue": 360, - "raw": "360" + "rawValue": 20, + "raw": "20" }, - "value": 360 - } + "value": 20, + "leadingComments": null, + "trailingComments": null + }, + "trailingComments": null }, - "operator": "%", - "right": { - "type": "NumericLiteral", - "start": 7255, - "end": 7257, + "leadingComments": null, + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7057, + "end": 7103, "loc": { "start": { - "line": 331, - "column": 55 + "line": 327, + "column": 4 }, "end": { - "line": 331, - "column": 57 + "line": 327, + "column": 50 } - }, - "extra": { - "rawValue": 20, - "raw": "20" - }, - "value": 20 - } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " eslint-disable-next-line no-mixed-operators", - "start": 7153, - "end": 7199, - "loc": { - "start": { - "line": 330, - "column": 4 - }, - "end": { - "line": 330, - "column": 50 } } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " eslint-disable-next-line no-mixed-operators", - "start": 7263, - "end": 7309, - "loc": { - "start": { - "line": 332, - "column": 4 - }, - "end": { - "line": 332, - "column": 50 + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7166, + "end": 7212, + "loc": { + "start": { + "line": 329, + "column": 4 + }, + "end": { + "line": 329, + "column": 50 + } } } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 7314, - "end": 7371, - "loc": { - "start": { - "line": 333, - "column": 4 - }, - "end": { - "line": 333, - "column": 61 - } + ] }, - "expression": { - "type": "AssignmentExpression", - "start": 7314, - "end": 7370, + { + "type": "ExpressionStatement", + "start": 7217, + "end": 7273, "loc": { "start": { - "line": 333, + "line": 330, "column": 4 }, "end": { - "line": 333, + "line": 330, "column": 60 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 7314, - "end": 7324, + "expression": { + "type": "AssignmentExpression", + "start": 7217, + "end": 7273, "loc": { "start": { - "line": 333, + "line": 330, "column": 4 }, "end": { - "line": 333, - "column": 14 + "line": 330, + "column": 60 } }, - "object": { - "type": "Identifier", - "start": 7314, - "end": 7318, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 7217, + "end": 7227, "loc": { "start": { - "line": 333, + "line": 330, "column": 4 }, "end": { - "line": 333, - "column": 8 - }, - "identifierName": "norm" - }, - "name": "norm", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 7319, - "end": 7324, - "loc": { - "start": { - "line": 333, - "column": 9 - }, - "end": { - "line": 333, + "line": 330, "column": 14 + } + }, + "object": { + "type": "Identifier", + "start": 7217, + "end": 7221, + "loc": { + "start": { + "line": 330, + "column": 4 + }, + "end": { + "line": 330, + "column": 8 + }, + "identifierName": "norm" }, - "identifierName": "kAtun" + "name": "norm", + "leadingComments": null }, - "name": "kAtun" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "BinaryExpression", - "start": 7327, - "end": 7370, - "loc": { - "start": { - "line": 333, - "column": 17 + "property": { + "type": "Identifier", + "start": 7222, + "end": 7227, + "loc": { + "start": { + "line": 330, + "column": 9 + }, + "end": { + "line": 330, + "column": 14 + }, + "identifierName": "kAtun" + }, + "name": "kAtun" }, - "end": { - "line": 333, - "column": 60 - } + "computed": false, + "leadingComments": null }, - "left": { + "right": { "type": "BinaryExpression", - "start": 7327, - "end": 7365, + "start": 7230, + "end": 7273, "loc": { "start": { - "line": 333, + "line": 330, "column": 17 }, "end": { - "line": 333, - "column": 55 + "line": 330, + "column": 60 } }, "left": { "type": "BinaryExpression", - "start": 7328, - "end": 7357, + "start": 7230, + "end": 7268, "loc": { "start": { - "line": 333, - "column": 18 + "line": 330, + "column": 17 }, "end": { - "line": 333, - "column": 47 + "line": 330, + "column": 55 } }, "left": { - "type": "Identifier", - "start": 7328, - "end": 7336, + "type": "BinaryExpression", + "start": 7231, + "end": 7260, "loc": { "start": { - "line": 333, + "line": 330, "column": 18 }, "end": { - "line": 333, - "column": 26 - }, - "identifierName": "totalKIn" - }, - "name": "totalKIn" - }, - "operator": "-", - "right": { - "type": "CallExpression", - "start": 7339, - "end": 7357, - "loc": { - "start": { - "line": 333, - "column": 29 - }, - "end": { - "line": 333, + "line": 330, "column": 47 } }, - "callee": { - "type": "MemberExpression", - "start": 7339, - "end": 7355, + "left": { + "type": "Identifier", + "start": 7231, + "end": 7239, + "loc": { + "start": { + "line": 330, + "column": 18 + }, + "end": { + "line": 330, + "column": 26 + }, + "identifierName": "totalKIn" + }, + "name": "totalKIn" + }, + "operator": "-", + "right": { + "type": "CallExpression", + "start": 7242, + "end": 7260, "loc": { "start": { - "line": 333, + "line": 330, "column": 29 }, "end": { - "line": 333, - "column": 45 + "line": 330, + "column": 47 } }, - "object": { - "type": "Identifier", - "start": 7339, - "end": 7343, + "callee": { + "type": "MemberExpression", + "start": 7242, + "end": 7258, "loc": { "start": { - "line": 333, + "line": 330, "column": 29 }, "end": { - "line": 333, - "column": 33 - }, - "identifierName": "norm" + "line": 330, + "column": 45 + } }, - "name": "norm" - }, - "property": { - "type": "Identifier", - "start": 7344, - "end": 7355, - "loc": { - "start": { - "line": 333, - "column": 34 + "object": { + "type": "Identifier", + "start": 7242, + "end": 7246, + "loc": { + "start": { + "line": 330, + "column": 29 + }, + "end": { + "line": 330, + "column": 33 + }, + "identifierName": "norm" }, - "end": { - "line": 333, - "column": 45 + "name": "norm" + }, + "property": { + "type": "Identifier", + "start": 7247, + "end": 7258, + "loc": { + "start": { + "line": 330, + "column": 34 + }, + "end": { + "line": 330, + "column": 45 + }, + "identifierName": "getPosition" }, - "identifierName": "getPosition" + "name": "getPosition" }, - "name": "getPosition" + "computed": false }, - "computed": false + "arguments": [] }, - "arguments": [] + "extra": { + "parenthesized": true, + "parenStart": 7230 + } }, - "extra": { - "parenthesized": true, - "parenStart": 7327 + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 7264, + "end": 7268, + "loc": { + "start": { + "line": 330, + "column": 51 + }, + "end": { + "line": 330, + "column": 55 + } + }, + "extra": { + "rawValue": 7200, + "raw": "7200" + }, + "value": 7200 } }, - "operator": "/", + "operator": "%", "right": { "type": "NumericLiteral", - "start": 7361, - "end": 7365, + "start": 7271, + "end": 7273, "loc": { "start": { - "line": 333, - "column": 51 + "line": 330, + "column": 58 }, "end": { - "line": 333, - "column": 55 + "line": 330, + "column": 60 } }, "extra": { - "rawValue": 7200, - "raw": "7200" + "rawValue": 20, + "raw": "20" }, - "value": 7200 - } + "value": 20, + "leadingComments": null, + "trailingComments": null + }, + "trailingComments": null }, - "operator": "%", - "right": { - "type": "NumericLiteral", - "start": 7368, - "end": 7370, + "leadingComments": null, + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7166, + "end": 7212, "loc": { "start": { - "line": 333, - "column": 58 + "line": 329, + "column": 4 }, "end": { - "line": 333, - "column": 60 + "line": 329, + "column": 50 } - }, - "extra": { - "rawValue": 20, - "raw": "20" - }, - "value": 20 - } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " eslint-disable-next-line no-mixed-operators", - "start": 7263, - "end": 7309, - "loc": { - "start": { - "line": 332, - "column": 4 - }, - "end": { - "line": 332, - "column": 50 } } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " eslint-disable-next-line no-mixed-operators", - "start": 7376, - "end": 7422, - "loc": { - "start": { - "line": 334, - "column": 4 - }, - "end": { - "line": 334, - "column": 50 + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7278, + "end": 7324, + "loc": { + "start": { + "line": 331, + "column": 4 + }, + "end": { + "line": 331, + "column": 50 + } } } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 7427, - "end": 7487, - "loc": { - "start": { - "line": 335, - "column": 4 - }, - "end": { - "line": 335, - "column": 64 - } + ] }, - "expression": { - "type": "AssignmentExpression", - "start": 7427, - "end": 7486, + { + "type": "ExpressionStatement", + "start": 7329, + "end": 7388, "loc": { "start": { - "line": 335, + "line": 332, "column": 4 }, "end": { - "line": 335, + "line": 332, "column": 63 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 7427, - "end": 7438, + "expression": { + "type": "AssignmentExpression", + "start": 7329, + "end": 7388, "loc": { "start": { - "line": 335, + "line": 332, "column": 4 }, "end": { - "line": 335, - "column": 15 + "line": 332, + "column": 63 } }, - "object": { - "type": "Identifier", - "start": 7427, - "end": 7431, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 7329, + "end": 7340, "loc": { "start": { - "line": 335, + "line": 332, "column": 4 }, "end": { - "line": 335, - "column": 8 - }, - "identifierName": "norm" - }, - "name": "norm", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 7432, - "end": 7438, - "loc": { - "start": { - "line": 335, - "column": 9 - }, - "end": { - "line": 335, + "line": 332, "column": 15 + } + }, + "object": { + "type": "Identifier", + "start": 7329, + "end": 7333, + "loc": { + "start": { + "line": 332, + "column": 4 + }, + "end": { + "line": 332, + "column": 8 + }, + "identifierName": "norm" }, - "identifierName": "bakTun" + "name": "norm", + "leadingComments": null }, - "name": "bakTun" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "BinaryExpression", - "start": 7441, - "end": 7486, - "loc": { - "start": { - "line": 335, - "column": 18 + "property": { + "type": "Identifier", + "start": 7334, + "end": 7340, + "loc": { + "start": { + "line": 332, + "column": 9 + }, + "end": { + "line": 332, + "column": 15 + }, + "identifierName": "bakTun" + }, + "name": "bakTun" }, - "end": { - "line": 335, - "column": 63 - } + "computed": false, + "leadingComments": null }, - "left": { + "right": { "type": "BinaryExpression", - "start": 7441, - "end": 7481, + "start": 7343, + "end": 7388, "loc": { "start": { - "line": 335, + "line": 332, "column": 18 }, "end": { - "line": 335, - "column": 58 + "line": 332, + "column": 63 } }, "left": { "type": "BinaryExpression", - "start": 7442, - "end": 7471, + "start": 7343, + "end": 7383, "loc": { "start": { - "line": 335, - "column": 19 + "line": 332, + "column": 18 }, "end": { - "line": 335, - "column": 48 + "line": 332, + "column": 58 } }, "left": { - "type": "Identifier", - "start": 7442, - "end": 7450, + "type": "BinaryExpression", + "start": 7344, + "end": 7373, "loc": { "start": { - "line": 335, + "line": 332, "column": 19 }, "end": { - "line": 335, - "column": 27 - }, - "identifierName": "totalKIn" - }, - "name": "totalKIn" - }, - "operator": "-", - "right": { - "type": "CallExpression", - "start": 7453, - "end": 7471, - "loc": { - "start": { - "line": 335, - "column": 30 - }, - "end": { - "line": 335, + "line": 332, "column": 48 } }, - "callee": { - "type": "MemberExpression", - "start": 7453, - "end": 7469, + "left": { + "type": "Identifier", + "start": 7344, + "end": 7352, + "loc": { + "start": { + "line": 332, + "column": 19 + }, + "end": { + "line": 332, + "column": 27 + }, + "identifierName": "totalKIn" + }, + "name": "totalKIn" + }, + "operator": "-", + "right": { + "type": "CallExpression", + "start": 7355, + "end": 7373, "loc": { "start": { - "line": 335, + "line": 332, "column": 30 }, "end": { - "line": 335, - "column": 46 + "line": 332, + "column": 48 } }, - "object": { - "type": "Identifier", - "start": 7453, - "end": 7457, + "callee": { + "type": "MemberExpression", + "start": 7355, + "end": 7371, "loc": { "start": { - "line": 335, + "line": 332, "column": 30 }, "end": { - "line": 335, - "column": 34 - }, - "identifierName": "norm" + "line": 332, + "column": 46 + } }, - "name": "norm" - }, - "property": { - "type": "Identifier", - "start": 7458, - "end": 7469, - "loc": { - "start": { - "line": 335, - "column": 35 + "object": { + "type": "Identifier", + "start": 7355, + "end": 7359, + "loc": { + "start": { + "line": 332, + "column": 30 + }, + "end": { + "line": 332, + "column": 34 + }, + "identifierName": "norm" }, - "end": { - "line": 335, - "column": 46 + "name": "norm" + }, + "property": { + "type": "Identifier", + "start": 7360, + "end": 7371, + "loc": { + "start": { + "line": 332, + "column": 35 + }, + "end": { + "line": 332, + "column": 46 + }, + "identifierName": "getPosition" }, - "identifierName": "getPosition" + "name": "getPosition" }, - "name": "getPosition" + "computed": false }, - "computed": false + "arguments": [] }, - "arguments": [] + "extra": { + "parenthesized": true, + "parenStart": 7343 + } }, - "extra": { - "parenthesized": true, - "parenStart": 7441 + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 7377, + "end": 7383, + "loc": { + "start": { + "line": 332, + "column": 52 + }, + "end": { + "line": 332, + "column": 58 + } + }, + "extra": { + "rawValue": 144000, + "raw": "144000" + }, + "value": 144000 } }, - "operator": "/", + "operator": "%", "right": { "type": "NumericLiteral", - "start": 7475, - "end": 7481, + "start": 7386, + "end": 7388, "loc": { "start": { - "line": 335, - "column": 52 + "line": 332, + "column": 61 }, "end": { - "line": 335, - "column": 58 + "line": 332, + "column": 63 } }, "extra": { - "rawValue": 144000, - "raw": "144000" + "rawValue": 20, + "raw": "20" }, - "value": 144000 - } + "value": 20, + "leadingComments": null, + "trailingComments": null + }, + "trailingComments": null }, - "operator": "%", - "right": { - "type": "NumericLiteral", - "start": 7484, - "end": 7486, + "leadingComments": null, + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7278, + "end": 7324, "loc": { "start": { - "line": 335, - "column": 61 + "line": 331, + "column": 4 }, "end": { - "line": 335, - "column": 63 + "line": 331, + "column": 50 } - }, - "extra": { - "rawValue": 20, - "raw": "20" - }, - "value": 20 - } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " eslint-disable-next-line no-mixed-operators", - "start": 7376, - "end": 7422, - "loc": { - "start": { - "line": 334, - "column": 4 - }, - "end": { - "line": 334, - "column": 50 } } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " eslint-disable-next-line no-mixed-operators", - "start": 7492, - "end": 7538, - "loc": { - "start": { - "line": 336, - "column": 4 - }, - "end": { - "line": 336, - "column": 50 + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7393, + "end": 7439, + "loc": { + "start": { + "line": 333, + "column": 4 + }, + "end": { + "line": 333, + "column": 50 + } } } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 7543, - "end": 7604, - "loc": { - "start": { - "line": 337, - "column": 4 - }, - "end": { - "line": 337, - "column": 65 - } + ] }, - "expression": { - "type": "AssignmentExpression", - "start": 7543, - "end": 7603, + { + "type": "ExpressionStatement", + "start": 7444, + "end": 7504, "loc": { "start": { - "line": 337, + "line": 334, "column": 4 }, "end": { - "line": 337, + "line": 334, "column": 64 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 7543, - "end": 7554, + "expression": { + "type": "AssignmentExpression", + "start": 7444, + "end": 7504, "loc": { "start": { - "line": 337, + "line": 334, "column": 4 }, "end": { - "line": 337, - "column": 15 + "line": 334, + "column": 64 } }, - "object": { - "type": "Identifier", - "start": 7543, - "end": 7547, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 7444, + "end": 7455, "loc": { "start": { - "line": 337, + "line": 334, "column": 4 }, "end": { - "line": 337, - "column": 8 - }, - "identifierName": "norm" - }, - "name": "norm", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 7548, - "end": 7554, - "loc": { - "start": { - "line": 337, - "column": 9 - }, - "end": { - "line": 337, + "line": 334, "column": 15 + } + }, + "object": { + "type": "Identifier", + "start": 7444, + "end": 7448, + "loc": { + "start": { + "line": 334, + "column": 4 + }, + "end": { + "line": 334, + "column": 8 + }, + "identifierName": "norm" }, - "identifierName": "piktun" + "name": "norm", + "leadingComments": null }, - "name": "piktun" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "BinaryExpression", - "start": 7557, - "end": 7603, - "loc": { - "start": { - "line": 337, - "column": 18 + "property": { + "type": "Identifier", + "start": 7449, + "end": 7455, + "loc": { + "start": { + "line": 334, + "column": 9 + }, + "end": { + "line": 334, + "column": 15 + }, + "identifierName": "piktun" + }, + "name": "piktun" }, - "end": { - "line": 337, - "column": 64 - } + "computed": false, + "leadingComments": null }, - "left": { + "right": { "type": "BinaryExpression", - "start": 7557, - "end": 7598, + "start": 7458, + "end": 7504, "loc": { "start": { - "line": 337, + "line": 334, "column": 18 }, "end": { - "line": 337, - "column": 59 + "line": 334, + "column": 64 } }, "left": { "type": "BinaryExpression", - "start": 7558, - "end": 7587, + "start": 7458, + "end": 7499, "loc": { "start": { - "line": 337, - "column": 19 + "line": 334, + "column": 18 }, "end": { - "line": 337, - "column": 48 + "line": 334, + "column": 59 } }, "left": { - "type": "Identifier", - "start": 7558, - "end": 7566, + "type": "BinaryExpression", + "start": 7459, + "end": 7488, "loc": { "start": { - "line": 337, + "line": 334, "column": 19 }, "end": { - "line": 337, - "column": 27 - }, - "identifierName": "totalKIn" - }, - "name": "totalKIn" - }, - "operator": "-", - "right": { - "type": "CallExpression", - "start": 7569, - "end": 7587, - "loc": { - "start": { - "line": 337, - "column": 30 - }, - "end": { - "line": 337, + "line": 334, "column": 48 } }, - "callee": { - "type": "MemberExpression", - "start": 7569, - "end": 7585, + "left": { + "type": "Identifier", + "start": 7459, + "end": 7467, + "loc": { + "start": { + "line": 334, + "column": 19 + }, + "end": { + "line": 334, + "column": 27 + }, + "identifierName": "totalKIn" + }, + "name": "totalKIn" + }, + "operator": "-", + "right": { + "type": "CallExpression", + "start": 7470, + "end": 7488, "loc": { "start": { - "line": 337, + "line": 334, "column": 30 }, "end": { - "line": 337, - "column": 46 + "line": 334, + "column": 48 } }, - "object": { - "type": "Identifier", - "start": 7569, - "end": 7573, + "callee": { + "type": "MemberExpression", + "start": 7470, + "end": 7486, "loc": { "start": { - "line": 337, + "line": 334, "column": 30 }, "end": { - "line": 337, - "column": 34 - }, - "identifierName": "norm" + "line": 334, + "column": 46 + } }, - "name": "norm" - }, - "property": { - "type": "Identifier", - "start": 7574, - "end": 7585, - "loc": { - "start": { - "line": 337, - "column": 35 + "object": { + "type": "Identifier", + "start": 7470, + "end": 7474, + "loc": { + "start": { + "line": 334, + "column": 30 + }, + "end": { + "line": 334, + "column": 34 + }, + "identifierName": "norm" }, - "end": { - "line": 337, - "column": 46 + "name": "norm" + }, + "property": { + "type": "Identifier", + "start": 7475, + "end": 7486, + "loc": { + "start": { + "line": 334, + "column": 35 + }, + "end": { + "line": 334, + "column": 46 + }, + "identifierName": "getPosition" }, - "identifierName": "getPosition" + "name": "getPosition" }, - "name": "getPosition" + "computed": false }, - "computed": false + "arguments": [] }, - "arguments": [] + "extra": { + "parenthesized": true, + "parenStart": 7458 + } }, - "extra": { - "parenthesized": true, - "parenStart": 7557 + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 7492, + "end": 7499, + "loc": { + "start": { + "line": 334, + "column": 52 + }, + "end": { + "line": 334, + "column": 59 + } + }, + "extra": { + "rawValue": 2880000, + "raw": "2880000" + }, + "value": 2880000 } }, - "operator": "/", + "operator": "%", "right": { "type": "NumericLiteral", - "start": 7591, - "end": 7598, + "start": 7502, + "end": 7504, "loc": { "start": { - "line": 337, - "column": 52 + "line": 334, + "column": 62 }, "end": { - "line": 337, - "column": 59 + "line": 334, + "column": 64 } }, "extra": { - "rawValue": 2880000, - "raw": "2880000" + "rawValue": 20, + "raw": "20" }, - "value": 2880000 - } + "value": 20, + "leadingComments": null, + "trailingComments": null + }, + "trailingComments": null }, - "operator": "%", - "right": { - "type": "NumericLiteral", - "start": 7601, - "end": 7603, + "leadingComments": null, + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7393, + "end": 7439, "loc": { "start": { - "line": 337, - "column": 62 + "line": 333, + "column": 4 }, "end": { - "line": 337, - "column": 64 + "line": 333, + "column": 50 } - }, - "extra": { - "rawValue": 20, - "raw": "20" - }, - "value": 20 - } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " eslint-disable-next-line no-mixed-operators", - "start": 7492, - "end": 7538, - "loc": { - "start": { - "line": 336, - "column": 4 - }, - "end": { - "line": 336, - "column": 50 } } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " eslint-disable-next-line no-mixed-operators", - "start": 7609, - "end": 7655, - "loc": { - "start": { - "line": 338, - "column": 4 - }, - "end": { - "line": 338, - "column": 50 + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7509, + "end": 7555, + "loc": { + "start": { + "line": 335, + "column": 4 + }, + "end": { + "line": 335, + "column": 50 + } } } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 7660, - "end": 7724, - "loc": { - "start": { - "line": 339, - "column": 4 - }, - "end": { - "line": 339, - "column": 68 - } + ] }, - "expression": { - "type": "AssignmentExpression", - "start": 7660, - "end": 7723, + { + "type": "ExpressionStatement", + "start": 7560, + "end": 7623, "loc": { "start": { - "line": 339, + "line": 336, "column": 4 }, "end": { - "line": 339, + "line": 336, "column": 67 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 7660, - "end": 7673, + "expression": { + "type": "AssignmentExpression", + "start": 7560, + "end": 7623, "loc": { "start": { - "line": 339, + "line": 336, "column": 4 }, "end": { - "line": 339, - "column": 17 + "line": 336, + "column": 67 } }, - "object": { - "type": "Identifier", - "start": 7660, - "end": 7664, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 7560, + "end": 7573, "loc": { "start": { - "line": 339, + "line": 336, "column": 4 }, "end": { - "line": 339, - "column": 8 + "line": 336, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 7560, + "end": 7564, + "loc": { + "start": { + "line": 336, + "column": 4 + }, + "end": { + "line": 336, + "column": 8 + }, + "identifierName": "norm" + }, + "name": "norm", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 7565, + "end": 7573, + "loc": { + "start": { + "line": 336, + "column": 9 + }, + "end": { + "line": 336, + "column": 17 + }, + "identifierName": "kalabtun" }, - "identifierName": "norm" + "name": "kalabtun" }, - "name": "norm", + "computed": false, "leadingComments": null }, - "property": { - "type": "Identifier", - "start": 7665, - "end": 7673, - "loc": { - "start": { - "line": 339, - "column": 9 - }, - "end": { - "line": 339, - "column": 17 - }, - "identifierName": "kalabtun" - }, - "name": "kalabtun" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "BinaryExpression", - "start": 7676, - "end": 7723, - "loc": { - "start": { - "line": 339, - "column": 20 - }, - "end": { - "line": 339, - "column": 67 - } - }, - "left": { + "right": { "type": "BinaryExpression", - "start": 7676, - "end": 7718, + "start": 7576, + "end": 7623, "loc": { "start": { - "line": 339, + "line": 336, "column": 20 }, "end": { - "line": 339, - "column": 62 + "line": 336, + "column": 67 } }, "left": { "type": "BinaryExpression", - "start": 7677, - "end": 7706, + "start": 7576, + "end": 7618, "loc": { "start": { - "line": 339, - "column": 21 + "line": 336, + "column": 20 }, "end": { - "line": 339, - "column": 50 + "line": 336, + "column": 62 } }, "left": { - "type": "Identifier", - "start": 7677, - "end": 7685, + "type": "BinaryExpression", + "start": 7577, + "end": 7606, "loc": { "start": { - "line": 339, + "line": 336, "column": 21 }, "end": { - "line": 339, - "column": 29 - }, - "identifierName": "totalKIn" - }, - "name": "totalKIn" - }, - "operator": "-", - "right": { - "type": "CallExpression", - "start": 7688, - "end": 7706, - "loc": { - "start": { - "line": 339, - "column": 32 - }, - "end": { - "line": 339, + "line": 336, "column": 50 } }, - "callee": { - "type": "MemberExpression", - "start": 7688, - "end": 7704, + "left": { + "type": "Identifier", + "start": 7577, + "end": 7585, "loc": { "start": { - "line": 339, + "line": 336, + "column": 21 + }, + "end": { + "line": 336, + "column": 29 + }, + "identifierName": "totalKIn" + }, + "name": "totalKIn" + }, + "operator": "-", + "right": { + "type": "CallExpression", + "start": 7588, + "end": 7606, + "loc": { + "start": { + "line": 336, "column": 32 }, "end": { - "line": 339, - "column": 48 + "line": 336, + "column": 50 } }, - "object": { - "type": "Identifier", - "start": 7688, - "end": 7692, + "callee": { + "type": "MemberExpression", + "start": 7588, + "end": 7604, "loc": { "start": { - "line": 339, + "line": 336, "column": 32 }, "end": { - "line": 339, - "column": 36 - }, - "identifierName": "norm" + "line": 336, + "column": 48 + } }, - "name": "norm" - }, - "property": { - "type": "Identifier", - "start": 7693, - "end": 7704, - "loc": { - "start": { - "line": 339, - "column": 37 + "object": { + "type": "Identifier", + "start": 7588, + "end": 7592, + "loc": { + "start": { + "line": 336, + "column": 32 + }, + "end": { + "line": 336, + "column": 36 + }, + "identifierName": "norm" }, - "end": { - "line": 339, - "column": 48 + "name": "norm" + }, + "property": { + "type": "Identifier", + "start": 7593, + "end": 7604, + "loc": { + "start": { + "line": 336, + "column": 37 + }, + "end": { + "line": 336, + "column": 48 + }, + "identifierName": "getPosition" }, - "identifierName": "getPosition" + "name": "getPosition" }, - "name": "getPosition" + "computed": false }, - "computed": false + "arguments": [] }, - "arguments": [] + "extra": { + "parenthesized": true, + "parenStart": 7576 + } }, - "extra": { - "parenthesized": true, - "parenStart": 7676 + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 7610, + "end": 7618, + "loc": { + "start": { + "line": 336, + "column": 54 + }, + "end": { + "line": 336, + "column": 62 + } + }, + "extra": { + "rawValue": 57600000, + "raw": "57600000" + }, + "value": 57600000 } }, - "operator": "/", + "operator": "%", "right": { "type": "NumericLiteral", - "start": 7710, - "end": 7718, + "start": 7621, + "end": 7623, "loc": { "start": { - "line": 339, - "column": 54 + "line": 336, + "column": 65 }, "end": { - "line": 339, - "column": 62 + "line": 336, + "column": 67 } }, "extra": { - "rawValue": 57600000, - "raw": "57600000" + "rawValue": 20, + "raw": "20" }, - "value": 57600000 - } + "value": 20, + "leadingComments": null, + "trailingComments": null + }, + "trailingComments": null }, - "operator": "%", - "right": { - "type": "NumericLiteral", - "start": 7721, - "end": 7723, + "leadingComments": null, + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7509, + "end": 7555, "loc": { "start": { - "line": 339, - "column": 65 + "line": 335, + "column": 4 }, "end": { - "line": 339, - "column": 67 + "line": 335, + "column": 50 } - }, - "extra": { - "rawValue": 20, - "raw": "20" - }, - "value": 20 - } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " eslint-disable-next-line no-mixed-operators", - "start": 7609, - "end": 7655, - "loc": { - "start": { - "line": 338, - "column": 4 - }, - "end": { - "line": 338, - "column": 50 } } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " eslint-disable-next-line no-mixed-operators", - "start": 7729, - "end": 7775, - "loc": { - "start": { - "line": 340, - "column": 4 - }, - "end": { - "line": 340, - "column": 50 + ], + "trailingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7628, + "end": 7674, + "loc": { + "start": { + "line": 337, + "column": 4 + }, + "end": { + "line": 337, + "column": 50 + } } } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 7780, - "end": 7848, - "loc": { - "start": { - "line": 341, - "column": 4 - }, - "end": { - "line": 341, - "column": 72 - } + ] }, - "expression": { - "type": "AssignmentExpression", - "start": 7780, - "end": 7847, + { + "type": "ExpressionStatement", + "start": 7679, + "end": 7746, "loc": { "start": { - "line": 341, + "line": 338, "column": 4 }, "end": { - "line": 341, + "line": 338, "column": 71 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 7780, - "end": 7795, + "expression": { + "type": "AssignmentExpression", + "start": 7679, + "end": 7746, "loc": { "start": { - "line": 341, + "line": 338, "column": 4 }, "end": { - "line": 341, - "column": 19 + "line": 338, + "column": 71 } }, - "object": { - "type": "Identifier", - "start": 7780, - "end": 7784, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 7679, + "end": 7694, "loc": { "start": { - "line": 341, + "line": 338, "column": 4 }, "end": { - "line": 341, - "column": 8 - }, - "identifierName": "norm" - }, - "name": "norm", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 7785, - "end": 7795, - "loc": { - "start": { - "line": 341, - "column": 9 - }, - "end": { - "line": 341, + "line": 338, "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 7679, + "end": 7683, + "loc": { + "start": { + "line": 338, + "column": 4 + }, + "end": { + "line": 338, + "column": 8 + }, + "identifierName": "norm" }, - "identifierName": "kinchiltun" + "name": "norm", + "leadingComments": null }, - "name": "kinchiltun" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "BinaryExpression", - "start": 7798, - "end": 7847, - "loc": { - "start": { - "line": 341, - "column": 22 + "property": { + "type": "Identifier", + "start": 7684, + "end": 7694, + "loc": { + "start": { + "line": 338, + "column": 9 + }, + "end": { + "line": 338, + "column": 19 + }, + "identifierName": "kinchiltun" + }, + "name": "kinchiltun" }, - "end": { - "line": 341, - "column": 71 - } + "computed": false, + "leadingComments": null }, - "left": { + "right": { "type": "BinaryExpression", - "start": 7798, - "end": 7842, + "start": 7697, + "end": 7746, "loc": { "start": { - "line": 341, + "line": 338, "column": 22 }, "end": { - "line": 341, - "column": 66 + "line": 338, + "column": 71 } }, "left": { "type": "BinaryExpression", - "start": 7799, - "end": 7828, + "start": 7697, + "end": 7741, "loc": { "start": { - "line": 341, - "column": 23 + "line": 338, + "column": 22 }, "end": { - "line": 341, - "column": 52 + "line": 338, + "column": 66 } }, "left": { - "type": "Identifier", - "start": 7799, - "end": 7807, + "type": "BinaryExpression", + "start": 7698, + "end": 7727, "loc": { "start": { - "line": 341, + "line": 338, "column": 23 }, "end": { - "line": 341, - "column": 31 - }, - "identifierName": "totalKIn" - }, - "name": "totalKIn" - }, - "operator": "-", - "right": { - "type": "CallExpression", - "start": 7810, - "end": 7828, - "loc": { - "start": { - "line": 341, - "column": 34 - }, - "end": { - "line": 341, + "line": 338, "column": 52 } }, - "callee": { - "type": "MemberExpression", - "start": 7810, - "end": 7826, + "left": { + "type": "Identifier", + "start": 7698, + "end": 7706, "loc": { "start": { - "line": 341, + "line": 338, + "column": 23 + }, + "end": { + "line": 338, + "column": 31 + }, + "identifierName": "totalKIn" + }, + "name": "totalKIn" + }, + "operator": "-", + "right": { + "type": "CallExpression", + "start": 7709, + "end": 7727, + "loc": { + "start": { + "line": 338, "column": 34 }, "end": { - "line": 341, - "column": 50 + "line": 338, + "column": 52 } }, - "object": { - "type": "Identifier", - "start": 7810, - "end": 7814, + "callee": { + "type": "MemberExpression", + "start": 7709, + "end": 7725, "loc": { "start": { - "line": 341, + "line": 338, "column": 34 }, "end": { - "line": 341, - "column": 38 - }, - "identifierName": "norm" + "line": 338, + "column": 50 + } }, - "name": "norm" - }, - "property": { - "type": "Identifier", - "start": 7815, - "end": 7826, - "loc": { - "start": { - "line": 341, - "column": 39 + "object": { + "type": "Identifier", + "start": 7709, + "end": 7713, + "loc": { + "start": { + "line": 338, + "column": 34 + }, + "end": { + "line": 338, + "column": 38 + }, + "identifierName": "norm" }, - "end": { - "line": 341, - "column": 50 + "name": "norm" + }, + "property": { + "type": "Identifier", + "start": 7714, + "end": 7725, + "loc": { + "start": { + "line": 338, + "column": 39 + }, + "end": { + "line": 338, + "column": 50 + }, + "identifierName": "getPosition" }, - "identifierName": "getPosition" + "name": "getPosition" }, - "name": "getPosition" + "computed": false }, - "computed": false + "arguments": [] }, - "arguments": [] + "extra": { + "parenthesized": true, + "parenStart": 7697 + } }, - "extra": { - "parenthesized": true, - "parenStart": 7798 + "operator": "/", + "right": { + "type": "NumericLiteral", + "start": 7731, + "end": 7741, + "loc": { + "start": { + "line": 338, + "column": 56 + }, + "end": { + "line": 338, + "column": 66 + } + }, + "extra": { + "rawValue": 1152000000, + "raw": "1152000000" + }, + "value": 1152000000 } }, - "operator": "/", + "operator": "%", "right": { "type": "NumericLiteral", - "start": 7832, - "end": 7842, + "start": 7744, + "end": 7746, "loc": { "start": { - "line": 341, - "column": 56 + "line": 338, + "column": 69 }, "end": { - "line": 341, - "column": 66 + "line": 338, + "column": 71 } }, "extra": { - "rawValue": 1152000000, - "raw": "1152000000" + "rawValue": 20, + "raw": "20" }, - "value": 1152000000 + "value": 20 } }, - "operator": "%", - "right": { - "type": "NumericLiteral", - "start": 7845, - "end": 7847, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7628, + "end": 7674, "loc": { "start": { - "line": 341, - "column": 69 + "line": 337, + "column": 4 }, "end": { - "line": 341, - "column": 71 + "line": 337, + "column": 50 } - }, - "extra": { - "rawValue": 20, - "raw": "20" - }, - "value": 20 - } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " eslint-disable-next-line no-mixed-operators", - "start": 7729, - "end": 7775, - "loc": { - "start": { - "line": 340, - "column": 4 - }, - "end": { - "line": 340, - "column": 50 } } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 7853, - "end": 7877, - "loc": { - "start": { - "line": 342, - "column": 4 - }, - "end": { - "line": 342, - "column": 28 - } + ] }, - "expression": { - "type": "AssignmentExpression", - "start": 7853, - "end": 7876, + { + "type": "VariableDeclaration", + "start": 7751, + "end": 7854, "loc": { "start": { - "line": 342, + "line": 339, "column": 4 }, "end": { "line": 342, - "column": 27 + "column": 5 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 7853, - "end": 7863, - "loc": { - "start": { - "line": 342, - "column": 4 - }, - "end": { - "line": 342, - "column": 14 - } - }, - "object": { - "type": "ThisExpression", - "start": 7853, - "end": 7857, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 7757, + "end": 7854, "loc": { "start": { - "line": 342, - "column": 4 + "line": 339, + "column": 10 }, "end": { "line": 342, - "column": 8 + "column": 5 } - } - }, - "property": { - "type": "Identifier", - "start": 7858, - "end": 7863, - "loc": { - "start": { - "line": 342, - "column": 9 - }, - "end": { - "line": 342, - "column": 14 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "computed": false - }, - "right": { - "type": "MemberExpression", - "start": 7866, - "end": 7876, - "loc": { - "start": { - "line": 342, - "column": 17 }, - "end": { - "line": 342, - "column": 27 - } - }, - "object": { - "type": "Identifier", - "start": 7866, - "end": 7870, - "loc": { - "start": { - "line": 342, - "column": 17 - }, - "end": { - "line": 342, - "column": 21 + "id": { + "type": "Identifier", + "start": 7757, + "end": 7770, + "loc": { + "start": { + "line": 339, + "column": 10 + }, + "end": { + "line": 339, + "column": 23 + }, + "identifierName": "foundNegative" }, - "identifierName": "norm" + "name": "foundNegative" }, - "name": "norm" - }, - "property": { - "type": "Identifier", - "start": 7871, - "end": 7876, - "loc": { - "start": { - "line": 342, - "column": 22 - }, - "end": { - "line": 342, - "column": 27 + "init": { + "type": "CallExpression", + "start": 7773, + "end": 7854, + "loc": { + "start": { + "line": 339, + "column": 26 + }, + "end": { + "line": 342, + "column": 5 + } }, - "identifierName": "parts" - }, - "name": "parts" - }, - "computed": false - } - } - }, - { - "type": "ReturnStatement", - "start": 7882, - "end": 7894, - "loc": { - "start": { - "line": 343, - "column": 4 - }, - "end": { - "line": 343, - "column": 16 - } - }, - "argument": { - "type": "ThisExpression", - "start": 7889, - "end": 7893, - "loc": { - "start": { - "line": 343, - "column": 11 - }, - "end": { - "line": 343, - "column": 15 - } - } - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Make sure the elements of the Long Count do not exceed\n * @return {DistanceNumber}\n ", - "start": 6812, - "end": 6911, - "loc": { - "start": { - "line": 320, - "column": 2 - }, - "end": { - "line": 323, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Convert the LongCount to a string and pad the sections of the fullDate\n * @returns {string}\n ", - "start": 7903, - "end": 8011, - "loc": { - "start": { - "line": 347, - "column": 2 - }, - "end": { - "line": 350, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 8014, - "end": 8961, - "loc": { - "start": { - "line": 351, - "column": 2 - }, - "end": { - "line": 383, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 8014, - "end": 8022, - "loc": { - "start": { - "line": 351, - "column": 2 - }, - "end": { - "line": 351, - "column": 10 - }, - "identifierName": "toString" - }, - "name": "toString", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 8025, - "end": 8961, - "loc": { - "start": { - "line": 351, - "column": 13 - }, - "end": { - "line": 383, - "column": 3 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 8031, - "end": 8058, - "loc": { - "start": { - "line": 352, - "column": 4 - }, - "end": { - "line": 352, - "column": 31 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 8035, - "end": 8057, - "loc": { - "start": { - "line": 352, - "column": 8 - }, - "end": { - "line": 352, - "column": 30 - } - }, - "id": { - "type": "Identifier", - "start": 8035, - "end": 8052, - "loc": { - "start": { - "line": 352, - "column": 8 - }, - "end": { - "line": 352, - "column": 25 - }, - "identifierName": "significantDigits" - }, - "name": "significantDigits" - }, - "init": { - "type": "ArrayExpression", - "start": 8055, - "end": 8057, - "loc": { - "start": { - "line": 352, - "column": 28 - }, - "end": { - "line": 352, - "column": 30 - } - }, - "elements": [] - } - } - ], - "kind": "let" - }, - { - "type": "ForStatement", - "start": 8063, - "end": 8269, - "loc": { - "start": { - "line": 353, - "column": 4 - }, - "end": { - "line": 359, - "column": 5 - } - }, - "init": { - "type": "VariableDeclaration", - "start": 8068, - "end": 8097, - "loc": { - "start": { - "line": 353, - "column": 9 - }, - "end": { - "line": 353, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 8072, - "end": 8097, - "loc": { - "start": { - "line": 353, - "column": 13 - }, - "end": { - "line": 353, - "column": 38 - } - }, - "id": { - "type": "Identifier", - "start": 8072, - "end": 8073, - "loc": { - "start": { - "line": 353, - "column": 13 - }, - "end": { - "line": 353, - "column": 14 - }, - "identifierName": "i" - }, - "name": "i" - }, - "init": { - "type": "BinaryExpression", - "start": 8076, - "end": 8097, - "loc": { - "start": { - "line": 353, - "column": 17 - }, - "end": { - "line": 353, - "column": 38 - } - }, - "left": { + "callee": { "type": "MemberExpression", - "start": 8076, - "end": 8093, + "start": 7773, + "end": 7790, "loc": { "start": { - "line": 353, - "column": 17 + "line": 339, + "column": 26 }, "end": { - "line": 353, - "column": 34 + "line": 339, + "column": 43 } }, "object": { "type": "MemberExpression", - "start": 8076, - "end": 8086, + "start": 7773, + "end": 7783, "loc": { "start": { - "line": 353, - "column": 17 + "line": 339, + "column": 26 }, "end": { - "line": 353, - "column": 27 + "line": 339, + "column": 36 } }, "object": { - "type": "ThisExpression", - "start": 8076, - "end": 8080, + "type": "Identifier", + "start": 7773, + "end": 7777, "loc": { "start": { - "line": 353, - "column": 17 + "line": 339, + "column": 26 }, "end": { - "line": 353, - "column": 21 - } - } + "line": 339, + "column": 30 + }, + "identifierName": "norm" + }, + "name": "norm" }, "property": { "type": "Identifier", - "start": 8081, - "end": 8086, + "start": 7778, + "end": 7783, "loc": { "start": { - "line": 353, - "column": 22 + "line": 339, + "column": 31 }, "end": { - "line": 353, - "column": 27 + "line": 339, + "column": 36 }, "identifierName": "parts" }, @@ -13485,1205 +12857,1805 @@ }, "property": { "type": "Identifier", - "start": 8087, - "end": 8093, + "start": 7784, + "end": 7790, "loc": { "start": { - "line": 353, - "column": 28 + "line": 339, + "column": 37 }, "end": { - "line": 353, - "column": 34 + "line": 339, + "column": 43 }, - "identifierName": "length" + "identifierName": "reduce" }, - "name": "length" + "name": "reduce" }, "computed": false }, - "operator": "-", - "right": { - "type": "NumericLiteral", - "start": 8096, - "end": 8097, - "loc": { - "start": { - "line": 353, - "column": 37 + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 7798, + "end": 7834, + "loc": { + "start": { + "line": 340, + "column": 6 + }, + "end": { + "line": 340, + "column": 42 + } }, - "end": { - "line": 353, - "column": 38 + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 7799, + "end": 7804, + "loc": { + "start": { + "line": 340, + "column": 7 + }, + "end": { + "line": 340, + "column": 12 + }, + "identifierName": "found" + }, + "name": "found" + }, + { + "type": "Identifier", + "start": 7806, + "end": 7810, + "loc": { + "start": { + "line": 340, + "column": 14 + }, + "end": { + "line": 340, + "column": 18 + }, + "identifierName": "part" + }, + "name": "part" + } + ], + "body": { + "type": "LogicalExpression", + "start": 7815, + "end": 7834, + "loc": { + "start": { + "line": 340, + "column": 23 + }, + "end": { + "line": 340, + "column": 42 + } + }, + "left": { + "type": "Identifier", + "start": 7815, + "end": 7820, + "loc": { + "start": { + "line": 340, + "column": 23 + }, + "end": { + "line": 340, + "column": 28 + }, + "identifierName": "found" + }, + "name": "found" + }, + "operator": "||", + "right": { + "type": "BinaryExpression", + "start": 7825, + "end": 7833, + "loc": { + "start": { + "line": 340, + "column": 33 + }, + "end": { + "line": 340, + "column": 41 + } + }, + "left": { + "type": "Identifier", + "start": 7825, + "end": 7829, + "loc": { + "start": { + "line": 340, + "column": 33 + }, + "end": { + "line": 340, + "column": 37 + }, + "identifierName": "part" + }, + "name": "part" + }, + "operator": "<", + "right": { + "type": "NumericLiteral", + "start": 7832, + "end": 7833, + "loc": { + "start": { + "line": 340, + "column": 40 + }, + "end": { + "line": 340, + "column": 41 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "extra": { + "parenthesized": true, + "parenStart": 7824 + } + } } }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } + { + "type": "BooleanLiteral", + "start": 7842, + "end": 7847, + "loc": { + "start": { + "line": 341, + "column": 6 + }, + "end": { + "line": 341, + "column": 11 + } + }, + "value": false + } + ] } } ], - "kind": "let" + "kind": "const" }, - "test": { - "type": "BinaryExpression", - "start": 8099, - "end": 8105, + { + "type": "ExpressionStatement", + "start": 7859, + "end": 7893, "loc": { "start": { - "line": 353, - "column": 40 + "line": 343, + "column": 4 }, "end": { - "line": 353, - "column": 46 + "line": 343, + "column": 38 } }, - "left": { - "type": "Identifier", - "start": 8099, - "end": 8100, + "expression": { + "type": "AssignmentExpression", + "start": 7859, + "end": 7893, "loc": { "start": { - "line": 353, - "column": 40 + "line": 343, + "column": 4 }, "end": { - "line": 353, - "column": 41 + "line": 343, + "column": 38 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 7859, + "end": 7868, + "loc": { + "start": { + "line": 343, + "column": 4 + }, + "end": { + "line": 343, + "column": 13 + } + }, + "object": { + "type": "ThisExpression", + "start": 7859, + "end": 7863, + "loc": { + "start": { + "line": 343, + "column": 4 + }, + "end": { + "line": 343, + "column": 8 + } + } }, - "identifierName": "i" + "property": { + "type": "Identifier", + "start": 7864, + "end": 7868, + "loc": { + "start": { + "line": 343, + "column": 9 + }, + "end": { + "line": 343, + "column": 13 + }, + "identifierName": "sign" + }, + "name": "sign" + }, + "computed": false }, - "name": "i" - }, - "operator": ">=", - "right": { - "type": "NumericLiteral", - "start": 8104, - "end": 8105, - "loc": { - "start": { - "line": 353, - "column": 45 + "right": { + "type": "ConditionalExpression", + "start": 7871, + "end": 7893, + "loc": { + "start": { + "line": 343, + "column": 16 + }, + "end": { + "line": 343, + "column": 38 + } }, - "end": { - "line": 353, - "column": 46 + "test": { + "type": "Identifier", + "start": 7871, + "end": 7884, + "loc": { + "start": { + "line": 343, + "column": 16 + }, + "end": { + "line": 343, + "column": 29 + }, + "identifierName": "foundNegative" + }, + "name": "foundNegative" + }, + "consequent": { + "type": "UnaryExpression", + "start": 7887, + "end": 7889, + "loc": { + "start": { + "line": 343, + "column": 32 + }, + "end": { + "line": 343, + "column": 34 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 7888, + "end": 7889, + "loc": { + "start": { + "line": 343, + "column": 33 + }, + "end": { + "line": 343, + "column": 34 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesizedArgument": false + } + }, + "alternate": { + "type": "NumericLiteral", + "start": 7892, + "end": 7893, + "loc": { + "start": { + "line": 343, + "column": 37 + }, + "end": { + "line": 343, + "column": 38 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 + } } }, - "update": { - "type": "AssignmentExpression", - "start": 8107, - "end": 8113, + { + "type": "ExpressionStatement", + "start": 7898, + "end": 7951, "loc": { "start": { - "line": 353, - "column": 48 + "line": 344, + "column": 4 }, "end": { - "line": 353, - "column": 54 + "line": 344, + "column": 57 } }, - "operator": "-=", - "left": { - "type": "Identifier", - "start": 8107, - "end": 8108, - "loc": { - "start": { - "line": 353, - "column": 48 - }, - "end": { - "line": 353, - "column": 49 - }, - "identifierName": "i" - }, - "name": "i" - }, - "right": { - "type": "NumericLiteral", - "start": 8112, - "end": 8113, + "expression": { + "type": "AssignmentExpression", + "start": 7898, + "end": 7951, "loc": { "start": { - "line": 353, - "column": 53 + "line": 344, + "column": 4 }, "end": { - "line": 353, - "column": 54 + "line": 344, + "column": 57 } }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - }, - "body": { - "type": "BlockStatement", - "start": 8115, - "end": 8269, - "loc": { - "start": { - "line": 353, - "column": 56 + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 7898, + "end": 7908, + "loc": { + "start": { + "line": 344, + "column": 4 + }, + "end": { + "line": 344, + "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 7898, + "end": 7902, + "loc": { + "start": { + "line": 344, + "column": 4 + }, + "end": { + "line": 344, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 7903, + "end": 7908, + "loc": { + "start": { + "line": 344, + "column": 9 + }, + "end": { + "line": 344, + "column": 14 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false }, - "end": { - "line": 359, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 8123, - "end": 8150, + "right": { + "type": "CallExpression", + "start": 7911, + "end": 7951, "loc": { "start": { - "line": 354, - "column": 6 + "line": 344, + "column": 17 }, "end": { - "line": 354, - "column": 33 + "line": 344, + "column": 57 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 8129, - "end": 8149, + "callee": { + "type": "MemberExpression", + "start": 7911, + "end": 7925, + "loc": { + "start": { + "line": 344, + "column": 17 + }, + "end": { + "line": 344, + "column": 31 + } + }, + "object": { + "type": "MemberExpression", + "start": 7911, + "end": 7921, "loc": { "start": { - "line": 354, - "column": 12 + "line": 344, + "column": 17 }, "end": { - "line": 354, - "column": 32 + "line": 344, + "column": 27 } }, - "id": { + "object": { "type": "Identifier", - "start": 8129, - "end": 8133, + "start": 7911, + "end": 7915, "loc": { "start": { - "line": 354, - "column": 12 + "line": 344, + "column": 17 }, "end": { - "line": 354, - "column": 16 + "line": 344, + "column": 21 }, - "identifierName": "part" + "identifierName": "norm" }, - "name": "part" + "name": "norm" }, - "init": { - "type": "MemberExpression", - "start": 8136, - "end": 8149, + "property": { + "type": "Identifier", + "start": 7916, + "end": 7921, "loc": { "start": { - "line": 354, - "column": 19 + "line": 344, + "column": 22 }, "end": { - "line": 354, - "column": 32 - } + "line": 344, + "column": 27 + }, + "identifierName": "parts" }, - "object": { - "type": "MemberExpression", - "start": 8136, - "end": 8146, + "name": "parts" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 7922, + "end": 7925, + "loc": { + "start": { + "line": 344, + "column": 28 + }, + "end": { + "line": 344, + "column": 31 + }, + "identifierName": "map" + }, + "name": "map" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 7926, + "end": 7950, + "loc": { + "start": { + "line": 344, + "column": 32 + }, + "end": { + "line": 344, + "column": 56 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 7927, + "end": 7931, "loc": { "start": { - "line": 354, - "column": 19 + "line": 344, + "column": 33 }, "end": { - "line": 354, - "column": 29 - } - }, - "object": { - "type": "ThisExpression", - "start": 8136, - "end": 8140, - "loc": { - "start": { - "line": 354, - "column": 19 - }, - "end": { - "line": 354, - "column": 23 - } - } - }, - "property": { - "type": "Identifier", - "start": 8141, - "end": 8146, - "loc": { - "start": { - "line": 354, - "column": 24 - }, - "end": { - "line": 354, - "column": 29 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 8147, - "end": 8148, - "loc": { - "start": { - "line": 354, - "column": 30 - }, - "end": { - "line": 354, - "column": 31 + "line": 344, + "column": 37 }, - "identifierName": "i" + "identifierName": "part" }, - "name": "i" - }, - "computed": true - } - } - ], - "kind": "const" - }, - { - "type": "IfStatement", - "start": 8157, - "end": 8263, - "loc": { - "start": { - "line": 355, - "column": 6 - }, - "end": { - "line": 358, - "column": 7 - } - }, - "test": { - "type": "BinaryExpression", - "start": 8161, - "end": 8171, - "loc": { - "start": { - "line": 355, - "column": 10 - }, - "end": { - "line": 355, - "column": 20 - } - }, - "left": { - "type": "Identifier", - "start": 8161, - "end": 8165, - "loc": { - "start": { - "line": 355, - "column": 10 - }, - "end": { - "line": 355, - "column": 14 - }, - "identifierName": "part" - }, - "name": "part" - }, - "operator": "!==", - "right": { - "type": "NumericLiteral", - "start": 8170, - "end": 8171, - "loc": { - "start": { - "line": 355, - "column": 19 - }, - "end": { - "line": 355, - "column": 20 + "name": "part" } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 8173, - "end": 8263, - "loc": { - "start": { - "line": 355, - "column": 22 - }, - "end": { - "line": 358, - "column": 7 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 8183, - "end": 8240, + ], + "body": { + "type": "CallExpression", + "start": 7936, + "end": 7950, "loc": { "start": { - "line": 356, - "column": 8 + "line": 344, + "column": 42 }, "end": { - "line": 356, - "column": 65 + "line": 344, + "column": 56 } }, - "expression": { - "type": "AssignmentExpression", - "start": 8183, - "end": 8239, + "callee": { + "type": "MemberExpression", + "start": 7936, + "end": 7944, "loc": { "start": { - "line": 356, - "column": 8 + "line": 344, + "column": 42 }, "end": { - "line": 356, - "column": 64 + "line": 344, + "column": 50 } }, - "operator": "=", - "left": { + "object": { "type": "Identifier", - "start": 8183, - "end": 8200, + "start": 7936, + "end": 7940, "loc": { "start": { - "line": 356, - "column": 8 + "line": 344, + "column": 42 }, "end": { - "line": 356, - "column": 25 + "line": 344, + "column": 46 }, - "identifierName": "significantDigits" + "identifierName": "Math" }, - "name": "significantDigits" + "name": "Math" }, - "right": { - "type": "CallExpression", - "start": 8203, - "end": 8239, + "property": { + "type": "Identifier", + "start": 7941, + "end": 7944, "loc": { "start": { - "line": 356, - "column": 28 + "line": 344, + "column": 47 }, "end": { - "line": 356, - "column": 64 - } - }, - "callee": { - "type": "MemberExpression", - "start": 8203, - "end": 8237, - "loc": { - "start": { - "line": 356, - "column": 28 - }, - "end": { - "line": 356, - "column": 62 - } + "line": 344, + "column": 50 }, - "object": { - "type": "CallExpression", - "start": 8203, - "end": 8229, - "loc": { - "start": { - "line": 356, - "column": 28 - }, - "end": { - "line": 356, - "column": 54 - } - }, - "callee": { - "type": "MemberExpression", - "start": 8203, - "end": 8219, - "loc": { - "start": { - "line": 356, - "column": 28 - }, - "end": { - "line": 356, - "column": 44 - } - }, - "object": { - "type": "MemberExpression", - "start": 8203, - "end": 8213, - "loc": { - "start": { - "line": 356, - "column": 28 - }, - "end": { - "line": 356, - "column": 38 - } - }, - "object": { - "type": "ThisExpression", - "start": 8203, - "end": 8207, - "loc": { - "start": { - "line": 356, - "column": 28 - }, - "end": { - "line": 356, - "column": 32 - } - } - }, - "property": { - "type": "Identifier", - "start": 8208, - "end": 8213, - "loc": { - "start": { - "line": 356, - "column": 33 - }, - "end": { - "line": 356, - "column": 38 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 8214, - "end": 8219, - "loc": { - "start": { - "line": 356, - "column": 39 - }, - "end": { - "line": 356, - "column": 44 - }, - "identifierName": "slice" - }, - "name": "slice" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 8220, - "end": 8221, - "loc": { - "start": { - "line": 356, - "column": 45 - }, - "end": { - "line": 356, - "column": 46 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - { - "type": "BinaryExpression", - "start": 8223, - "end": 8228, - "loc": { - "start": { - "line": 356, - "column": 48 - }, - "end": { - "line": 356, - "column": 53 - } - }, - "left": { - "type": "Identifier", - "start": 8223, - "end": 8224, - "loc": { - "start": { - "line": 356, - "column": 48 - }, - "end": { - "line": 356, - "column": 49 - }, - "identifierName": "i" - }, - "name": "i" - }, - "operator": "+", - "right": { - "type": "NumericLiteral", - "start": 8227, - "end": 8228, - "loc": { - "start": { - "line": 356, - "column": 52 - }, - "end": { - "line": 356, - "column": 53 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - } - ] + "identifierName": "abs" + }, + "name": "abs" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 7945, + "end": 7949, + "loc": { + "start": { + "line": 344, + "column": 51 }, - "property": { - "type": "Identifier", - "start": 8230, - "end": 8237, - "loc": { - "start": { - "line": 356, - "column": 55 - }, - "end": { - "line": 356, - "column": 62 - }, - "identifierName": "reverse" - }, - "name": "reverse" + "end": { + "line": 344, + "column": 55 }, - "computed": false + "identifierName": "part" }, - "arguments": [] + "name": "part" } - } - }, - { - "type": "BreakStatement", - "start": 8249, - "end": 8255, - "loc": { - "start": { - "line": 357, - "column": 8 - }, - "end": { - "line": 357, - "column": 14 - } - }, - "label": null + ] } - ], - "directives": [] + } + ] + } + } + }, + { + "type": "ReturnStatement", + "start": 7956, + "end": 7967, + "loc": { + "start": { + "line": 345, + "column": 4 + }, + "end": { + "line": 345, + "column": 15 + } + }, + "argument": { + "type": "ThisExpression", + "start": 7963, + "end": 7967, + "loc": { + "start": { + "line": 345, + "column": 11 }, - "alternate": null + "end": { + "line": 345, + "column": 15 + } } - ], - "directives": [] + } } - }, + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Make sure the elements of the Long Count do not exceed\n * @return {DistanceNumber}\n ", + "start": 6719, + "end": 6818, + "loc": { + "start": { + "line": 317, + "column": 2 + }, + "end": { + "line": 320, + "column": 5 + } + } + } + ], + "trailingComments": [ { - "type": "ForStatement", - "start": 8275, - "end": 8428, + "type": "CommentBlock", + "value": "*\n * Convert the LongCount to a string and pad the sections of the fullDate\n * @returns {string}\n ", + "start": 7975, + "end": 8083, "loc": { "start": { - "line": 361, - "column": 4 + "line": 348, + "column": 2 }, "end": { - "line": 365, + "line": 351, "column": 5 } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 8086, + "end": 9057, + "loc": { + "start": { + "line": 352, + "column": 2 + }, + "end": { + "line": 384, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 8086, + "end": 8094, + "loc": { + "start": { + "line": 352, + "column": 2 + }, + "end": { + "line": 352, + "column": 10 + }, + "identifierName": "toString" + }, + "name": "toString", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 8098, + "end": 9057, + "loc": { + "start": { + "line": 352, + "column": 14 }, - "init": { + "end": { + "line": 384, + "column": 3 + } + }, + "body": [ + { "type": "VariableDeclaration", - "start": 8280, - "end": 8289, + "start": 8104, + "end": 8130, "loc": { "start": { - "line": 361, - "column": 9 + "line": 353, + "column": 4 }, "end": { - "line": 361, - "column": 18 + "line": 353, + "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8284, - "end": 8289, + "start": 8108, + "end": 8130, "loc": { "start": { - "line": 361, - "column": 13 + "line": 353, + "column": 8 }, "end": { - "line": 361, - "column": 18 + "line": 353, + "column": 30 } }, "id": { "type": "Identifier", - "start": 8284, - "end": 8285, + "start": 8108, + "end": 8125, "loc": { "start": { - "line": 361, - "column": 13 + "line": 353, + "column": 8 }, "end": { - "line": 361, - "column": 14 + "line": 353, + "column": 25 }, - "identifierName": "i" + "identifierName": "significantDigits" }, - "name": "i" + "name": "significantDigits" }, "init": { - "type": "NumericLiteral", - "start": 8288, - "end": 8289, + "type": "ArrayExpression", + "start": 8128, + "end": 8130, "loc": { "start": { - "line": 361, - "column": 17 + "line": 353, + "column": 28 }, "end": { - "line": 361, - "column": 18 + "line": 353, + "column": 30 } }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 + "elements": [] } } ], "kind": "let" }, - "test": { - "type": "BinaryExpression", - "start": 8291, - "end": 8319, + { + "type": "ForStatement", + "start": 8135, + "end": 8338, "loc": { "start": { - "line": 361, - "column": 20 + "line": 354, + "column": 4 }, "end": { - "line": 361, - "column": 48 + "line": 360, + "column": 5 } }, - "left": { - "type": "Identifier", - "start": 8291, - "end": 8292, + "init": { + "type": "VariableDeclaration", + "start": 8140, + "end": 8169, "loc": { "start": { - "line": 361, - "column": 20 + "line": 354, + "column": 9 }, "end": { - "line": 361, - "column": 21 - }, - "identifierName": "i" + "line": 354, + "column": 38 + } }, - "name": "i" + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8144, + "end": 8169, + "loc": { + "start": { + "line": 354, + "column": 13 + }, + "end": { + "line": 354, + "column": 38 + } + }, + "id": { + "type": "Identifier", + "start": 8144, + "end": 8145, + "loc": { + "start": { + "line": 354, + "column": 13 + }, + "end": { + "line": 354, + "column": 14 + }, + "identifierName": "i" + }, + "name": "i" + }, + "init": { + "type": "BinaryExpression", + "start": 8148, + "end": 8169, + "loc": { + "start": { + "line": 354, + "column": 17 + }, + "end": { + "line": 354, + "column": 38 + } + }, + "left": { + "type": "MemberExpression", + "start": 8148, + "end": 8165, + "loc": { + "start": { + "line": 354, + "column": 17 + }, + "end": { + "line": 354, + "column": 34 + } + }, + "object": { + "type": "MemberExpression", + "start": 8148, + "end": 8158, + "loc": { + "start": { + "line": 354, + "column": 17 + }, + "end": { + "line": 354, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 8148, + "end": 8152, + "loc": { + "start": { + "line": 354, + "column": 17 + }, + "end": { + "line": 354, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "start": 8153, + "end": 8158, + "loc": { + "start": { + "line": 354, + "column": 22 + }, + "end": { + "line": 354, + "column": 27 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8159, + "end": 8165, + "loc": { + "start": { + "line": 354, + "column": 28 + }, + "end": { + "line": 354, + "column": 34 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 8168, + "end": 8169, + "loc": { + "start": { + "line": 354, + "column": 37 + }, + "end": { + "line": 354, + "column": 38 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + } + ], + "kind": "let" }, - "operator": "<", - "right": { - "type": "MemberExpression", - "start": 8295, - "end": 8319, + "test": { + "type": "BinaryExpression", + "start": 8171, + "end": 8177, "loc": { "start": { - "line": 361, - "column": 24 + "line": 354, + "column": 40 }, "end": { - "line": 361, - "column": 48 + "line": 354, + "column": 46 } }, - "object": { + "left": { "type": "Identifier", - "start": 8295, - "end": 8312, + "start": 8171, + "end": 8172, "loc": { "start": { - "line": 361, - "column": 24 + "line": 354, + "column": 40 }, "end": { - "line": 361, + "line": 354, "column": 41 }, - "identifierName": "significantDigits" + "identifierName": "i" }, - "name": "significantDigits" + "name": "i" }, - "property": { - "type": "Identifier", - "start": 8313, - "end": 8319, + "operator": ">=", + "right": { + "type": "NumericLiteral", + "start": 8176, + "end": 8177, "loc": { "start": { - "line": 361, - "column": 42 + "line": 354, + "column": 45 }, "end": { - "line": 361, - "column": 48 - }, - "identifierName": "length" + "line": 354, + "column": 46 + } }, - "name": "length" - }, - "computed": false - } - }, - "update": { - "type": "AssignmentExpression", - "start": 8321, - "end": 8327, - "loc": { - "start": { - "line": 361, - "column": 50 - }, - "end": { - "line": 361, - "column": 56 + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 } }, - "operator": "+=", - "left": { - "type": "Identifier", - "start": 8321, - "end": 8322, + "update": { + "type": "AssignmentExpression", + "start": 8179, + "end": 8185, "loc": { "start": { - "line": 361, - "column": 50 + "line": 354, + "column": 48 }, "end": { - "line": 361, - "column": 51 + "line": 354, + "column": 54 + } + }, + "operator": "-=", + "left": { + "type": "Identifier", + "start": 8179, + "end": 8180, + "loc": { + "start": { + "line": 354, + "column": 48 + }, + "end": { + "line": 354, + "column": 49 + }, + "identifierName": "i" }, - "identifierName": "i" + "name": "i" }, - "name": "i" + "right": { + "type": "NumericLiteral", + "start": 8184, + "end": 8185, + "loc": { + "start": { + "line": 354, + "column": 53 + }, + "end": { + "line": 354, + "column": 54 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } }, - "right": { - "type": "NumericLiteral", - "start": 8326, - "end": 8327, + "body": { + "type": "BlockStatement", + "start": 8187, + "end": 8338, "loc": { "start": { - "line": 361, - "column": 55 + "line": 354, + "column": 56 }, "end": { - "line": 361, - "column": 56 + "line": 360, + "column": 5 } }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - }, - "body": { - "type": "BlockStatement", - "start": 8329, - "end": 8428, - "loc": { - "start": { - "line": 361, - "column": 58 - }, - "end": { - "line": 365, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 8337, - "end": 8422, - "loc": { - "start": { - "line": 362, - "column": 6 + "body": [ + { + "type": "VariableDeclaration", + "start": 8195, + "end": 8221, + "loc": { + "start": { + "line": 355, + "column": 6 + }, + "end": { + "line": 355, + "column": 32 + } }, - "end": { - "line": 364, - "column": 7 - } + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8201, + "end": 8221, + "loc": { + "start": { + "line": 355, + "column": 12 + }, + "end": { + "line": 355, + "column": 32 + } + }, + "id": { + "type": "Identifier", + "start": 8201, + "end": 8205, + "loc": { + "start": { + "line": 355, + "column": 12 + }, + "end": { + "line": 355, + "column": 16 + }, + "identifierName": "part" + }, + "name": "part" + }, + "init": { + "type": "MemberExpression", + "start": 8208, + "end": 8221, + "loc": { + "start": { + "line": 355, + "column": 19 + }, + "end": { + "line": 355, + "column": 32 + } + }, + "object": { + "type": "MemberExpression", + "start": 8208, + "end": 8218, + "loc": { + "start": { + "line": 355, + "column": 19 + }, + "end": { + "line": 355, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 8208, + "end": 8212, + "loc": { + "start": { + "line": 355, + "column": 19 + }, + "end": { + "line": 355, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "start": 8213, + "end": 8218, + "loc": { + "start": { + "line": 355, + "column": 24 + }, + "end": { + "line": 355, + "column": 29 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8219, + "end": 8220, + "loc": { + "start": { + "line": 355, + "column": 30 + }, + "end": { + "line": 355, + "column": 31 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + } + } + ], + "kind": "const" }, - "test": { - "type": "BinaryExpression", - "start": 8341, - "end": 8375, + { + "type": "IfStatement", + "start": 8228, + "end": 8332, "loc": { "start": { - "line": 362, - "column": 10 + "line": 356, + "column": 6 }, "end": { - "line": 362, - "column": 44 + "line": 359, + "column": 7 } }, - "left": { - "type": "MemberExpression", - "start": 8341, - "end": 8361, + "test": { + "type": "BinaryExpression", + "start": 8232, + "end": 8242, "loc": { "start": { - "line": 362, + "line": 356, "column": 10 }, "end": { - "line": 362, - "column": 30 + "line": 356, + "column": 20 } }, - "object": { + "left": { "type": "Identifier", - "start": 8341, - "end": 8358, + "start": 8232, + "end": 8236, "loc": { "start": { - "line": 362, + "line": 356, "column": 10 }, "end": { - "line": 362, - "column": 27 + "line": 356, + "column": 14 }, - "identifierName": "significantDigits" + "identifierName": "part" }, - "name": "significantDigits" + "name": "part" }, - "property": { - "type": "Identifier", - "start": 8359, - "end": 8360, + "operator": "!==", + "right": { + "type": "NumericLiteral", + "start": 8241, + "end": 8242, "loc": { "start": { - "line": 362, - "column": 28 + "line": 356, + "column": 19 }, "end": { - "line": 362, - "column": 29 - }, - "identifierName": "i" + "line": 356, + "column": 20 + } }, - "name": "i" - }, - "computed": true + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } }, - "operator": "===", - "right": { - "type": "Identifier", - "start": 8366, - "end": 8375, + "consequent": { + "type": "BlockStatement", + "start": 8244, + "end": 8332, "loc": { "start": { - "line": 362, - "column": 35 + "line": 356, + "column": 22 }, "end": { - "line": 362, - "column": 44 - }, - "identifierName": "undefined" - }, - "name": "undefined" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 8377, - "end": 8422, - "loc": { - "start": { - "line": 362, - "column": 46 + "line": 359, + "column": 7 + } }, - "end": { - "line": 364, - "column": 7 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 8387, - "end": 8414, - "loc": { - "start": { - "line": 363, - "column": 8 - }, - "end": { - "line": 363, - "column": 35 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 8387, - "end": 8413, + "body": [ + { + "type": "ExpressionStatement", + "start": 8254, + "end": 8310, "loc": { "start": { - "line": 363, + "line": 357, "column": 8 }, "end": { - "line": 363, - "column": 34 + "line": 357, + "column": 64 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 8387, - "end": 8407, + "expression": { + "type": "AssignmentExpression", + "start": 8254, + "end": 8310, "loc": { "start": { - "line": 363, + "line": 357, "column": 8 }, "end": { - "line": 363, - "column": 28 + "line": 357, + "column": 64 } }, - "object": { + "operator": "=", + "left": { "type": "Identifier", - "start": 8387, - "end": 8404, + "start": 8254, + "end": 8271, "loc": { "start": { - "line": 363, + "line": 357, "column": 8 }, "end": { - "line": 363, + "line": 357, "column": 25 }, "identifierName": "significantDigits" }, "name": "significantDigits" }, - "property": { - "type": "Identifier", - "start": 8405, - "end": 8406, + "right": { + "type": "CallExpression", + "start": 8274, + "end": 8310, "loc": { "start": { - "line": 363, - "column": 26 + "line": 357, + "column": 28 }, "end": { - "line": 363, - "column": 27 + "line": 357, + "column": 64 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8274, + "end": 8308, + "loc": { + "start": { + "line": 357, + "column": 28 + }, + "end": { + "line": 357, + "column": 62 + } + }, + "object": { + "type": "CallExpression", + "start": 8274, + "end": 8300, + "loc": { + "start": { + "line": 357, + "column": 28 + }, + "end": { + "line": 357, + "column": 54 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8274, + "end": 8290, + "loc": { + "start": { + "line": 357, + "column": 28 + }, + "end": { + "line": 357, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 8274, + "end": 8284, + "loc": { + "start": { + "line": 357, + "column": 28 + }, + "end": { + "line": 357, + "column": 38 + } + }, + "object": { + "type": "ThisExpression", + "start": 8274, + "end": 8278, + "loc": { + "start": { + "line": 357, + "column": 28 + }, + "end": { + "line": 357, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "start": 8279, + "end": 8284, + "loc": { + "start": { + "line": 357, + "column": 33 + }, + "end": { + "line": 357, + "column": 38 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 8285, + "end": 8290, + "loc": { + "start": { + "line": 357, + "column": 39 + }, + "end": { + "line": 357, + "column": 44 + }, + "identifierName": "slice" + }, + "name": "slice" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 8291, + "end": 8292, + "loc": { + "start": { + "line": 357, + "column": 45 + }, + "end": { + "line": 357, + "column": 46 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + { + "type": "BinaryExpression", + "start": 8294, + "end": 8299, + "loc": { + "start": { + "line": 357, + "column": 48 + }, + "end": { + "line": 357, + "column": 53 + } + }, + "left": { + "type": "Identifier", + "start": 8294, + "end": 8295, + "loc": { + "start": { + "line": 357, + "column": 48 + }, + "end": { + "line": 357, + "column": 49 + }, + "identifierName": "i" + }, + "name": "i" + }, + "operator": "+", + "right": { + "type": "NumericLiteral", + "start": 8298, + "end": 8299, + "loc": { + "start": { + "line": 357, + "column": 52 + }, + "end": { + "line": 357, + "column": 53 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + ] }, - "identifierName": "i" + "property": { + "type": "Identifier", + "start": 8301, + "end": 8308, + "loc": { + "start": { + "line": 357, + "column": 55 + }, + "end": { + "line": 357, + "column": 62 + }, + "identifierName": "reverse" + }, + "name": "reverse" + }, + "computed": false }, - "name": "i" + "arguments": [] + } + } + }, + { + "type": "BreakStatement", + "start": 8319, + "end": 8324, + "loc": { + "start": { + "line": 358, + "column": 8 }, - "computed": true + "end": { + "line": 358, + "column": 13 + } }, - "right": { - "type": "StringLiteral", - "start": 8410, - "end": 8413, - "loc": { - "start": { - "line": 363, - "column": 31 - }, - "end": { - "line": 363, - "column": 34 - } - }, - "extra": { - "rawValue": "0", - "raw": "'0'" - }, - "value": "0" - } + "label": null } - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [] - } - }, - { - "type": "VariableDeclaration", - "start": 8434, - "end": 8478, - "loc": { - "start": { - "line": 367, - "column": 4 - }, - "end": { - "line": 367, - "column": 48 + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 8440, - "end": 8477, + { + "type": "ForStatement", + "start": 8344, + "end": 8496, + "loc": { + "start": { + "line": 362, + "column": 4 + }, + "end": { + "line": 366, + "column": 5 + } + }, + "init": { + "type": "VariableDeclaration", + "start": 8349, + "end": 8358, + "loc": { + "start": { + "line": 362, + "column": 9 + }, + "end": { + "line": 362, + "column": 18 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8353, + "end": 8358, + "loc": { + "start": { + "line": 362, + "column": 13 + }, + "end": { + "line": 362, + "column": 18 + } + }, + "id": { + "type": "Identifier", + "start": 8353, + "end": 8354, + "loc": { + "start": { + "line": 362, + "column": 13 + }, + "end": { + "line": 362, + "column": 14 + }, + "identifierName": "i" + }, + "name": "i" + }, + "init": { + "type": "NumericLiteral", + "start": 8357, + "end": 8358, + "loc": { + "start": { + "line": 362, + "column": 17 + }, + "end": { + "line": 362, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + "test": { + "type": "BinaryExpression", + "start": 8360, + "end": 8388, "loc": { "start": { - "line": 367, - "column": 10 + "line": 362, + "column": 20 }, "end": { - "line": 367, - "column": 47 + "line": 362, + "column": 48 } }, - "id": { + "left": { "type": "Identifier", - "start": 8440, - "end": 8450, + "start": 8360, + "end": 8361, "loc": { "start": { - "line": 367, - "column": 10 + "line": 362, + "column": 20 }, "end": { - "line": 367, - "column": 20 + "line": 362, + "column": 21 }, - "identifierName": "dateLength" + "identifierName": "i" }, - "name": "dateLength" + "name": "i" }, - "init": { + "operator": "<", + "right": { "type": "MemberExpression", - "start": 8453, - "end": 8477, + "start": 8364, + "end": 8388, "loc": { "start": { - "line": 367, - "column": 23 + "line": 362, + "column": 24 }, "end": { - "line": 367, - "column": 47 + "line": 362, + "column": 48 } }, "object": { "type": "Identifier", - "start": 8453, - "end": 8470, + "start": 8364, + "end": 8381, "loc": { "start": { - "line": 367, - "column": 23 + "line": 362, + "column": 24 }, "end": { - "line": 367, - "column": 40 + "line": 362, + "column": 41 }, "identifierName": "significantDigits" }, @@ -14691,16 +14663,16 @@ }, "property": { "type": "Identifier", - "start": 8471, - "end": 8477, + "start": 8382, + "end": 8388, "loc": { "start": { - "line": 367, - "column": 41 + "line": 362, + "column": 42 }, "end": { - "line": 367, - "column": 47 + "line": 362, + "column": 48 }, "identifierName": "length" }, @@ -14708,178 +14680,129 @@ }, "computed": false } - } - ], - "kind": "const" - }, - { - "type": "IfStatement", - "start": 8483, - "end": 8718, - "loc": { - "start": { - "line": 368, - "column": 4 - }, - "end": { - "line": 374, - "column": 5 - } - }, - "test": { - "type": "BinaryExpression", - "start": 8487, - "end": 8501, - "loc": { - "start": { - "line": 368, - "column": 8 - }, - "end": { - "line": 368, - "column": 22 - } - }, - "left": { - "type": "Identifier", - "start": 8487, - "end": 8497, - "loc": { - "start": { - "line": 368, - "column": 8 - }, - "end": { - "line": 368, - "column": 18 - }, - "identifierName": "dateLength" - }, - "name": "dateLength" }, - "operator": "<", - "right": { - "type": "NumericLiteral", - "start": 8500, - "end": 8501, + "update": { + "type": "AssignmentExpression", + "start": 8390, + "end": 8396, "loc": { "start": { - "line": 368, - "column": 21 + "line": 362, + "column": 50 }, "end": { - "line": 368, - "column": 22 + "line": 362, + "column": 56 } }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 8503, - "end": 8718, - "loc": { - "start": { - "line": 368, - "column": 24 - }, - "end": { - "line": 374, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 8511, - "end": 8559, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 8390, + "end": 8391, "loc": { "start": { - "line": 369, - "column": 6 + "line": 362, + "column": 50 }, "end": { - "line": 369, - "column": 54 + "line": 362, + "column": 51 + }, + "identifierName": "i" + }, + "name": "i" + }, + "right": { + "type": "NumericLiteral", + "start": 8395, + "end": 8396, + "loc": { + "start": { + "line": 362, + "column": 55 + }, + "end": { + "line": 362, + "column": 56 } }, - "expression": { - "type": "AssignmentExpression", - "start": 8511, - "end": 8558, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + }, + "body": { + "type": "BlockStatement", + "start": 8398, + "end": 8496, + "loc": { + "start": { + "line": 362, + "column": 58 + }, + "end": { + "line": 366, + "column": 5 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 8406, + "end": 8490, "loc": { "start": { - "line": 369, + "line": 363, "column": 6 }, "end": { - "line": 369, - "column": 53 + "line": 365, + "column": 7 } }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 8511, - "end": 8528, - "loc": { - "start": { - "line": 369, - "column": 6 - }, - "end": { - "line": 369, - "column": 23 - }, - "identifierName": "significantDigits" - }, - "name": "significantDigits" - }, - "right": { - "type": "CallExpression", - "start": 8531, - "end": 8558, + "test": { + "type": "BinaryExpression", + "start": 8410, + "end": 8444, "loc": { "start": { - "line": 369, - "column": 26 + "line": 363, + "column": 10 }, "end": { - "line": 369, - "column": 53 + "line": 363, + "column": 44 } }, - "callee": { + "left": { "type": "MemberExpression", - "start": 8531, - "end": 8556, + "start": 8410, + "end": 8430, "loc": { "start": { - "line": 369, - "column": 26 + "line": 363, + "column": 10 }, "end": { - "line": 369, - "column": 51 + "line": 363, + "column": 30 } }, "object": { "type": "Identifier", - "start": 8531, - "end": 8548, + "start": 8410, + "end": 8427, "loc": { "start": { - "line": 369, - "column": 26 + "line": 363, + "column": 10 }, "end": { - "line": 369, - "column": 43 + "line": 363, + "column": 27 }, "identifierName": "significantDigits" }, @@ -14887,1478 +14810,2010 @@ }, "property": { "type": "Identifier", - "start": 8549, - "end": 8556, - "loc": { - "start": { - "line": 369, - "column": 44 - }, - "end": { - "line": 369, - "column": 51 - }, - "identifierName": "reverse" - }, - "name": "reverse" - }, - "computed": false - }, - "arguments": [] - } - } - }, - { - "type": "ForStatement", - "start": 8566, - "end": 8657, - "loc": { - "start": { - "line": 370, - "column": 6 - }, - "end": { - "line": 372, - "column": 7 - } - }, - "init": { - "type": "VariableDeclaration", - "start": 8571, - "end": 8580, - "loc": { - "start": { - "line": 370, - "column": 11 - }, - "end": { - "line": 370, - "column": 20 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 8575, - "end": 8580, - "loc": { - "start": { - "line": 370, - "column": 15 - }, - "end": { - "line": 370, - "column": 20 - } - }, - "id": { - "type": "Identifier", - "start": 8575, - "end": 8576, + "start": 8428, + "end": 8429, "loc": { "start": { - "line": 370, - "column": 15 + "line": 363, + "column": 28 }, "end": { - "line": 370, - "column": 16 + "line": 363, + "column": 29 }, "identifierName": "i" }, "name": "i" }, - "init": { - "type": "NumericLiteral", - "start": 8579, - "end": 8580, - "loc": { - "start": { - "line": 370, - "column": 19 - }, - "end": { - "line": 370, - "column": 20 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "kind": "let" - }, - "test": { - "type": "BinaryExpression", - "start": 8582, - "end": 8600, - "loc": { - "start": { - "line": 370, - "column": 22 - }, - "end": { - "line": 370, - "column": 40 - } - }, - "left": { - "type": "Identifier", - "start": 8582, - "end": 8583, - "loc": { - "start": { - "line": 370, - "column": 22 - }, - "end": { - "line": 370, - "column": 23 - }, - "identifierName": "i" - }, - "name": "i" - }, - "operator": "<", - "right": { - "type": "BinaryExpression", - "start": 8586, - "end": 8600, - "loc": { - "start": { - "line": 370, - "column": 26 - }, - "end": { - "line": 370, - "column": 40 - } - }, - "left": { - "type": "NumericLiteral", - "start": 8586, - "end": 8587, - "loc": { - "start": { - "line": 370, - "column": 26 - }, - "end": { - "line": 370, - "column": 27 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 + "computed": true }, - "operator": "-", + "operator": "===", "right": { "type": "Identifier", - "start": 8590, - "end": 8600, + "start": 8435, + "end": 8444, "loc": { "start": { - "line": 370, - "column": 30 + "line": 363, + "column": 35 }, "end": { - "line": 370, - "column": 40 + "line": 363, + "column": 44 }, - "identifierName": "dateLength" + "identifierName": "undefined" }, - "name": "dateLength" - } - } - }, - "update": { - "type": "AssignmentExpression", - "start": 8602, - "end": 8608, - "loc": { - "start": { - "line": 370, - "column": 42 - }, - "end": { - "line": 370, - "column": 48 + "name": "undefined" } }, - "operator": "+=", - "left": { - "type": "Identifier", - "start": 8602, - "end": 8603, - "loc": { - "start": { - "line": 370, - "column": 42 - }, - "end": { - "line": 370, - "column": 43 - }, - "identifierName": "i" - }, - "name": "i" - }, - "right": { - "type": "NumericLiteral", - "start": 8607, - "end": 8608, + "consequent": { + "type": "BlockStatement", + "start": 8446, + "end": 8490, "loc": { "start": { - "line": 370, - "column": 47 + "line": 363, + "column": 46 }, "end": { - "line": 370, - "column": 48 + "line": 365, + "column": 7 } }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - }, - "body": { - "type": "BlockStatement", - "start": 8610, - "end": 8657, - "loc": { - "start": { - "line": 370, - "column": 50 - }, - "end": { - "line": 372, - "column": 7 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 8620, - "end": 8649, - "loc": { - "start": { - "line": 371, - "column": 8 - }, - "end": { - "line": 371, - "column": 37 - } - }, - "expression": { - "type": "CallExpression", - "start": 8620, - "end": 8648, + "body": [ + { + "type": "ExpressionStatement", + "start": 8456, + "end": 8482, "loc": { "start": { - "line": 371, + "line": 364, "column": 8 }, "end": { - "line": 371, - "column": 36 + "line": 364, + "column": 34 } }, - "callee": { - "type": "MemberExpression", - "start": 8620, - "end": 8642, + "expression": { + "type": "AssignmentExpression", + "start": 8456, + "end": 8482, "loc": { "start": { - "line": 371, + "line": 364, "column": 8 }, "end": { - "line": 371, - "column": 30 + "line": 364, + "column": 34 } }, - "object": { - "type": "Identifier", - "start": 8620, - "end": 8637, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 8456, + "end": 8476, "loc": { "start": { - "line": 371, + "line": 364, "column": 8 }, "end": { - "line": 371, - "column": 25 - }, - "identifierName": "significantDigits" + "line": 364, + "column": 28 + } }, - "name": "significantDigits" - }, - "property": { - "type": "Identifier", - "start": 8638, - "end": 8642, - "loc": { - "start": { - "line": 371, - "column": 26 + "object": { + "type": "Identifier", + "start": 8456, + "end": 8473, + "loc": { + "start": { + "line": 364, + "column": 8 + }, + "end": { + "line": 364, + "column": 25 + }, + "identifierName": "significantDigits" }, - "end": { - "line": 371, - "column": 30 + "name": "significantDigits" + }, + "property": { + "type": "Identifier", + "start": 8474, + "end": 8475, + "loc": { + "start": { + "line": 364, + "column": 26 + }, + "end": { + "line": 364, + "column": 27 + }, + "identifierName": "i" }, - "identifierName": "push" + "name": "i" }, - "name": "push" + "computed": true }, - "computed": false - }, - "arguments": [ - { + "right": { "type": "StringLiteral", - "start": 8643, - "end": 8647, + "start": 8479, + "end": 8482, "loc": { "start": { - "line": 371, + "line": 364, "column": 31 }, "end": { - "line": 371, - "column": 35 + "line": 364, + "column": 34 } }, "extra": { - "rawValue": " 0", - "raw": "' 0'" + "rawValue": "0", + "raw": "'0'" }, - "value": " 0" + "value": "0" } - ] + } } - } - ], - "directives": [] - } - }, - { - "type": "ExpressionStatement", - "start": 8664, - "end": 8712, - "loc": { - "start": { - "line": 373, - "column": 6 - }, - "end": { - "line": 373, - "column": 54 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 8664, - "end": 8711, - "loc": { - "start": { - "line": 373, - "column": 6 - }, - "end": { - "line": 373, - "column": 53 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 8664, - "end": 8681, - "loc": { - "start": { - "line": 373, - "column": 6 - }, - "end": { - "line": 373, - "column": 23 - }, - "identifierName": "significantDigits" - }, - "name": "significantDigits" + ], + "directives": [] }, - "right": { - "type": "CallExpression", - "start": 8684, - "end": 8711, - "loc": { - "start": { - "line": 373, - "column": 26 - }, - "end": { - "line": 373, - "column": 53 - } - }, - "callee": { - "type": "MemberExpression", - "start": 8684, - "end": 8709, - "loc": { - "start": { - "line": 373, - "column": 26 - }, - "end": { - "line": 373, - "column": 51 - } - }, - "object": { - "type": "Identifier", - "start": 8684, - "end": 8701, - "loc": { - "start": { - "line": 373, - "column": 26 - }, - "end": { - "line": 373, - "column": 43 - }, - "identifierName": "significantDigits" - }, - "name": "significantDigits" - }, - "property": { - "type": "Identifier", - "start": 8702, - "end": 8709, - "loc": { - "start": { - "line": 373, - "column": 44 - }, - "end": { - "line": 373, - "column": 51 - }, - "identifierName": "reverse" - }, - "name": "reverse" - }, - "computed": false - }, - "arguments": [] - } + "alternate": null } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ForStatement", - "start": 8724, - "end": 8917, - "loc": { - "start": { - "line": 376, - "column": 4 - }, - "end": { - "line": 381, - "column": 5 + ], + "directives": [] } }, - "init": { + { "type": "VariableDeclaration", - "start": 8729, - "end": 8738, + "start": 8502, + "end": 8545, "loc": { "start": { - "line": 376, - "column": 9 + "line": 368, + "column": 4 }, "end": { - "line": 376, - "column": 18 + "line": 368, + "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 8733, - "end": 8738, + "start": 8508, + "end": 8545, "loc": { "start": { - "line": 376, - "column": 13 + "line": 368, + "column": 10 }, "end": { - "line": 376, - "column": 18 + "line": 368, + "column": 47 } }, "id": { "type": "Identifier", - "start": 8733, - "end": 8734, + "start": 8508, + "end": 8518, "loc": { "start": { - "line": 376, - "column": 13 + "line": 368, + "column": 10 }, "end": { - "line": 376, - "column": 14 + "line": 368, + "column": 20 }, - "identifierName": "i" + "identifierName": "dateLength" }, - "name": "i" + "name": "dateLength" }, "init": { - "type": "NumericLiteral", - "start": 8737, - "end": 8738, + "type": "MemberExpression", + "start": 8521, + "end": 8545, "loc": { "start": { - "line": 376, - "column": 17 + "line": 368, + "column": 23 }, "end": { - "line": 376, - "column": 18 + "line": 368, + "column": 47 } }, - "extra": { - "rawValue": 0, - "raw": "0" + "object": { + "type": "Identifier", + "start": 8521, + "end": 8538, + "loc": { + "start": { + "line": 368, + "column": 23 + }, + "end": { + "line": 368, + "column": 40 + }, + "identifierName": "significantDigits" + }, + "name": "significantDigits" }, - "value": 0 + "property": { + "type": "Identifier", + "start": 8539, + "end": 8545, + "loc": { + "start": { + "line": 368, + "column": 41 + }, + "end": { + "line": 368, + "column": 47 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false } } ], - "kind": "let" + "kind": "const" }, - "test": { - "type": "BinaryExpression", - "start": 8740, - "end": 8768, + { + "type": "IfStatement", + "start": 8550, + "end": 8782, "loc": { "start": { - "line": 376, - "column": 20 + "line": 369, + "column": 4 }, "end": { - "line": 376, - "column": 48 + "line": 375, + "column": 5 } }, - "left": { - "type": "Identifier", - "start": 8740, - "end": 8741, - "loc": { - "start": { - "line": 376, - "column": 20 - }, - "end": { - "line": 376, - "column": 21 - }, - "identifierName": "i" - }, - "name": "i" - }, - "operator": "<", - "right": { - "type": "MemberExpression", - "start": 8744, - "end": 8768, + "test": { + "type": "BinaryExpression", + "start": 8554, + "end": 8568, "loc": { "start": { - "line": 376, - "column": 24 + "line": 369, + "column": 8 }, "end": { - "line": 376, - "column": 48 + "line": 369, + "column": 22 } }, - "object": { + "left": { "type": "Identifier", - "start": 8744, - "end": 8761, + "start": 8554, + "end": 8564, "loc": { "start": { - "line": 376, - "column": 24 + "line": 369, + "column": 8 }, "end": { - "line": 376, - "column": 41 + "line": 369, + "column": 18 }, - "identifierName": "significantDigits" + "identifierName": "dateLength" }, - "name": "significantDigits" + "name": "dateLength" }, - "property": { - "type": "Identifier", - "start": 8762, - "end": 8768, + "operator": "<", + "right": { + "type": "NumericLiteral", + "start": 8567, + "end": 8568, "loc": { "start": { - "line": 376, - "column": 42 + "line": 369, + "column": 21 }, "end": { - "line": 376, - "column": 48 - }, - "identifierName": "length" + "line": 369, + "column": 22 + } }, - "name": "length" - }, - "computed": false - } - }, - "update": { - "type": "AssignmentExpression", - "start": 8770, - "end": 8776, - "loc": { - "start": { - "line": 376, - "column": 50 - }, - "end": { - "line": 376, - "column": 56 - } - }, - "operator": "+=", - "left": { - "type": "Identifier", - "start": 8770, - "end": 8771, - "loc": { - "start": { - "line": 376, - "column": 50 - }, - "end": { - "line": 376, - "column": 51 + "extra": { + "rawValue": 5, + "raw": "5" }, - "identifierName": "i" - }, - "name": "i" + "value": 5 + } }, - "right": { - "type": "NumericLiteral", - "start": 8775, - "end": 8776, + "consequent": { + "type": "BlockStatement", + "start": 8570, + "end": 8782, "loc": { "start": { - "line": 376, - "column": 55 + "line": 369, + "column": 24 }, "end": { - "line": 376, - "column": 56 + "line": 375, + "column": 5 } }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - }, - "body": { - "type": "BlockStatement", - "start": 8778, - "end": 8917, - "loc": { - "start": { - "line": 376, - "column": 58 - }, - "end": { - "line": 381, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 8786, - "end": 8831, - "loc": { - "start": { - "line": 377, - "column": 6 + "body": [ + { + "type": "ExpressionStatement", + "start": 8578, + "end": 8625, + "loc": { + "start": { + "line": 370, + "column": 6 + }, + "end": { + "line": 370, + "column": 53 + } }, - "end": { - "line": 377, - "column": 51 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 8792, - "end": 8830, + "expression": { + "type": "AssignmentExpression", + "start": 8578, + "end": 8625, "loc": { "start": { - "line": 377, - "column": 12 + "line": 370, + "column": 6 }, "end": { - "line": 377, - "column": 50 + "line": 370, + "column": 53 } }, - "id": { + "operator": "=", + "left": { "type": "Identifier", - "start": 8792, - "end": 8796, + "start": 8578, + "end": 8595, "loc": { "start": { - "line": 377, - "column": 12 + "line": 370, + "column": 6 }, "end": { - "line": 377, - "column": 16 + "line": 370, + "column": 23 }, - "identifierName": "part" + "identifierName": "significantDigits" }, - "name": "part" + "name": "significantDigits" }, - "init": { + "right": { "type": "CallExpression", - "start": 8799, - "end": 8830, + "start": 8598, + "end": 8625, "loc": { "start": { - "line": 377, - "column": 19 + "line": 370, + "column": 26 }, "end": { - "line": 377, - "column": 50 + "line": 370, + "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 8799, - "end": 8828, + "start": 8598, + "end": 8623, "loc": { "start": { - "line": 377, - "column": 19 + "line": 370, + "column": 26 }, "end": { - "line": 377, - "column": 48 + "line": 370, + "column": 51 } }, "object": { - "type": "MemberExpression", - "start": 8799, - "end": 8819, + "type": "Identifier", + "start": 8598, + "end": 8615, "loc": { "start": { - "line": 377, - "column": 19 + "line": 370, + "column": 26 }, "end": { - "line": 377, - "column": 39 - } - }, - "object": { - "type": "Identifier", - "start": 8799, - "end": 8816, - "loc": { - "start": { - "line": 377, - "column": 19 - }, - "end": { - "line": 377, - "column": 36 - }, - "identifierName": "significantDigits" - }, - "name": "significantDigits" - }, - "property": { - "type": "Identifier", - "start": 8817, - "end": 8818, - "loc": { - "start": { - "line": 377, - "column": 37 - }, - "end": { - "line": 377, - "column": 38 - }, - "identifierName": "i" + "line": 370, + "column": 43 }, - "name": "i" + "identifierName": "significantDigits" }, - "computed": true + "name": "significantDigits" }, "property": { "type": "Identifier", - "start": 8820, - "end": 8828, + "start": 8616, + "end": 8623, "loc": { "start": { - "line": 377, - "column": 40 + "line": 370, + "column": 44 }, "end": { - "line": 377, - "column": 48 + "line": 370, + "column": 51 }, - "identifierName": "toString" + "identifierName": "reverse" }, - "name": "toString" + "name": "reverse" }, "computed": false }, "arguments": [] } } - ], - "kind": "const" - }, - { - "type": "IfStatement", - "start": 8838, - "end": 8911, - "loc": { - "start": { - "line": 378, - "column": 6 - }, - "end": { - "line": 380, - "column": 7 - } }, - "test": { - "type": "BinaryExpression", - "start": 8842, - "end": 8857, + { + "type": "ForStatement", + "start": 8632, + "end": 8722, "loc": { "start": { - "line": 378, - "column": 10 + "line": 371, + "column": 6 }, "end": { - "line": 378, - "column": 25 + "line": 373, + "column": 7 } }, - "left": { - "type": "MemberExpression", - "start": 8842, - "end": 8853, + "init": { + "type": "VariableDeclaration", + "start": 8637, + "end": 8646, "loc": { "start": { - "line": 378, - "column": 10 + "line": 371, + "column": 11 }, "end": { - "line": 378, - "column": 21 + "line": 371, + "column": 20 } }, - "object": { + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8641, + "end": 8646, + "loc": { + "start": { + "line": 371, + "column": 15 + }, + "end": { + "line": 371, + "column": 20 + } + }, + "id": { + "type": "Identifier", + "start": 8641, + "end": 8642, + "loc": { + "start": { + "line": 371, + "column": 15 + }, + "end": { + "line": 371, + "column": 16 + }, + "identifierName": "i" + }, + "name": "i" + }, + "init": { + "type": "NumericLiteral", + "start": 8645, + "end": 8646, + "loc": { + "start": { + "line": 371, + "column": 19 + }, + "end": { + "line": 371, + "column": 20 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + "test": { + "type": "BinaryExpression", + "start": 8648, + "end": 8666, + "loc": { + "start": { + "line": 371, + "column": 22 + }, + "end": { + "line": 371, + "column": 40 + } + }, + "left": { "type": "Identifier", - "start": 8842, - "end": 8846, + "start": 8648, + "end": 8649, "loc": { "start": { - "line": 378, - "column": 10 + "line": 371, + "column": 22 }, "end": { - "line": 378, - "column": 14 + "line": 371, + "column": 23 }, - "identifierName": "part" + "identifierName": "i" }, - "name": "part" + "name": "i" }, - "property": { - "type": "Identifier", - "start": 8847, - "end": 8853, + "operator": "<", + "right": { + "type": "BinaryExpression", + "start": 8652, + "end": 8666, "loc": { "start": { - "line": 378, - "column": 15 + "line": 371, + "column": 26 }, "end": { - "line": 378, - "column": 21 + "line": 371, + "column": 40 + } + }, + "left": { + "type": "NumericLiteral", + "start": 8652, + "end": 8653, + "loc": { + "start": { + "line": 371, + "column": 26 + }, + "end": { + "line": 371, + "column": 27 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" }, - "identifierName": "length" + "value": 5 }, - "name": "length" - }, - "computed": false + "operator": "-", + "right": { + "type": "Identifier", + "start": 8656, + "end": 8666, + "loc": { + "start": { + "line": 371, + "column": 30 + }, + "end": { + "line": 371, + "column": 40 + }, + "identifierName": "dateLength" + }, + "name": "dateLength" + } + } }, - "operator": "<", - "right": { - "type": "NumericLiteral", - "start": 8856, - "end": 8857, + "update": { + "type": "AssignmentExpression", + "start": 8668, + "end": 8674, "loc": { "start": { - "line": 378, - "column": 24 + "line": 371, + "column": 42 }, "end": { - "line": 378, - "column": 25 + "line": 371, + "column": 48 } }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 8859, - "end": 8911, - "loc": { - "start": { - "line": 378, - "column": 27 + "operator": "+=", + "left": { + "type": "Identifier", + "start": 8668, + "end": 8669, + "loc": { + "start": { + "line": 371, + "column": 42 + }, + "end": { + "line": 371, + "column": 43 + }, + "identifierName": "i" + }, + "name": "i" }, - "end": { - "line": 380, - "column": 7 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 8869, - "end": 8903, + "right": { + "type": "NumericLiteral", + "start": 8673, + "end": 8674, "loc": { "start": { - "line": 379, - "column": 8 + "line": 371, + "column": 47 }, "end": { - "line": 379, - "column": 42 + "line": 371, + "column": 48 } }, - "expression": { - "type": "AssignmentExpression", - "start": 8869, - "end": 8902, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + }, + "body": { + "type": "BlockStatement", + "start": 8676, + "end": 8722, + "loc": { + "start": { + "line": 371, + "column": 50 + }, + "end": { + "line": 373, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8686, + "end": 8714, "loc": { "start": { - "line": 379, + "line": 372, "column": 8 }, "end": { - "line": 379, - "column": 41 + "line": 372, + "column": 36 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 8869, - "end": 8889, + "expression": { + "type": "CallExpression", + "start": 8686, + "end": 8714, "loc": { "start": { - "line": 379, + "line": 372, "column": 8 }, "end": { - "line": 379, - "column": 28 + "line": 372, + "column": 36 } }, - "object": { - "type": "Identifier", - "start": 8869, - "end": 8886, + "callee": { + "type": "MemberExpression", + "start": 8686, + "end": 8708, "loc": { "start": { - "line": 379, + "line": 372, "column": 8 }, "end": { - "line": 379, - "column": 25 - }, - "identifierName": "significantDigits" - }, - "name": "significantDigits" - }, - "property": { - "type": "Identifier", - "start": 8887, - "end": 8888, - "loc": { - "start": { - "line": 379, - "column": 26 - }, - "end": { - "line": 379, - "column": 27 - }, - "identifierName": "i" - }, - "name": "i" - }, - "computed": true - }, - "right": { - "type": "TemplateLiteral", - "start": 8892, - "end": 8902, - "loc": { - "start": { - "line": 379, - "column": 31 + "line": 372, + "column": 30 + } }, - "end": { - "line": 379, - "column": 41 - } - }, - "expressions": [ - { + "object": { "type": "Identifier", - "start": 8896, - "end": 8900, + "start": 8686, + "end": 8703, "loc": { "start": { - "line": 379, - "column": 35 + "line": 372, + "column": 8 }, "end": { - "line": 379, - "column": 39 + "line": 372, + "column": 25 }, - "identifierName": "part" + "identifierName": "significantDigits" }, - "name": "part" - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 8893, - "end": 8894, + "name": "significantDigits" + }, + "property": { + "type": "Identifier", + "start": 8704, + "end": 8708, "loc": { "start": { - "line": 379, - "column": 32 + "line": 372, + "column": 26 }, "end": { - "line": 379, - "column": 33 - } - }, - "value": { - "raw": " ", - "cooked": " " + "line": 372, + "column": 30 + }, + "identifierName": "push" }, - "tail": false + "name": "push" }, + "computed": false + }, + "arguments": [ { - "type": "TemplateElement", - "start": 8901, - "end": 8901, + "type": "StringLiteral", + "start": 8709, + "end": 8713, "loc": { "start": { - "line": 379, - "column": 40 + "line": 372, + "column": 31 }, "end": { - "line": 379, - "column": 40 + "line": 372, + "column": 35 } }, - "value": { - "raw": "", - "cooked": "" + "extra": { + "rawValue": " 0", + "raw": "' 0'" }, - "tail": true + "value": " 0" } ] } } - } - ], - "directives": [] + ], + "directives": [] + } }, - "alternate": null - } - ], - "directives": [] - } - }, - { - "type": "ReturnStatement", - "start": 8922, - "end": 8957, - "loc": { - "start": { - "line": 382, - "column": 4 + { + "type": "ExpressionStatement", + "start": 8729, + "end": 8776, + "loc": { + "start": { + "line": 374, + "column": 6 + }, + "end": { + "line": 374, + "column": 53 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 8729, + "end": 8776, + "loc": { + "start": { + "line": 374, + "column": 6 + }, + "end": { + "line": 374, + "column": 53 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 8729, + "end": 8746, + "loc": { + "start": { + "line": 374, + "column": 6 + }, + "end": { + "line": 374, + "column": 23 + }, + "identifierName": "significantDigits" + }, + "name": "significantDigits" + }, + "right": { + "type": "CallExpression", + "start": 8749, + "end": 8776, + "loc": { + "start": { + "line": 374, + "column": 26 + }, + "end": { + "line": 374, + "column": 53 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8749, + "end": 8774, + "loc": { + "start": { + "line": 374, + "column": 26 + }, + "end": { + "line": 374, + "column": 51 + } + }, + "object": { + "type": "Identifier", + "start": 8749, + "end": 8766, + "loc": { + "start": { + "line": 374, + "column": 26 + }, + "end": { + "line": 374, + "column": 43 + }, + "identifierName": "significantDigits" + }, + "name": "significantDigits" + }, + "property": { + "type": "Identifier", + "start": 8767, + "end": 8774, + "loc": { + "start": { + "line": 374, + "column": 44 + }, + "end": { + "line": 374, + "column": 51 + }, + "identifierName": "reverse" + }, + "name": "reverse" + }, + "computed": false + }, + "arguments": [] + } + } + } + ], + "directives": [] }, - "end": { - "line": 382, - "column": 39 - } + "alternate": null }, - "argument": { - "type": "CallExpression", - "start": 8929, - "end": 8956, + { + "type": "ForStatement", + "start": 8788, + "end": 8979, "loc": { "start": { - "line": 382, - "column": 11 + "line": 377, + "column": 4 }, "end": { "line": 382, - "column": 38 + "column": 5 } }, - "callee": { - "type": "MemberExpression", - "start": 8929, - "end": 8951, + "init": { + "type": "VariableDeclaration", + "start": 8793, + "end": 8802, "loc": { "start": { - "line": 382, - "column": 11 + "line": 377, + "column": 9 }, "end": { - "line": 382, - "column": 33 + "line": 377, + "column": 18 } }, - "object": { - "type": "Identifier", - "start": 8929, - "end": 8946, - "loc": { - "start": { - "line": 382, - "column": 11 + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8797, + "end": 8802, + "loc": { + "start": { + "line": 377, + "column": 13 + }, + "end": { + "line": 377, + "column": 18 + } }, - "end": { - "line": 382, - "column": 28 + "id": { + "type": "Identifier", + "start": 8797, + "end": 8798, + "loc": { + "start": { + "line": 377, + "column": 13 + }, + "end": { + "line": 377, + "column": 14 + }, + "identifierName": "i" + }, + "name": "i" }, - "identifierName": "significantDigits" + "init": { + "type": "NumericLiteral", + "start": 8801, + "end": 8802, + "loc": { + "start": { + "line": 377, + "column": 17 + }, + "end": { + "line": 377, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "kind": "let" + }, + "test": { + "type": "BinaryExpression", + "start": 8804, + "end": 8832, + "loc": { + "start": { + "line": 377, + "column": 20 }, - "name": "significantDigits" + "end": { + "line": 377, + "column": 48 + } }, - "property": { + "left": { "type": "Identifier", - "start": 8947, - "end": 8951, + "start": 8804, + "end": 8805, "loc": { "start": { - "line": 382, - "column": 29 + "line": 377, + "column": 20 }, "end": { - "line": 382, - "column": 33 + "line": 377, + "column": 21 }, - "identifierName": "join" + "identifierName": "i" }, - "name": "join" + "name": "i" }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 8952, - "end": 8955, + "operator": "<", + "right": { + "type": "MemberExpression", + "start": 8808, + "end": 8832, "loc": { "start": { - "line": 382, - "column": 34 + "line": 377, + "column": 24 }, "end": { - "line": 382, - "column": 37 + "line": 377, + "column": 48 + } + }, + "object": { + "type": "Identifier", + "start": 8808, + "end": 8825, + "loc": { + "start": { + "line": 377, + "column": 24 + }, + "end": { + "line": 377, + "column": 41 + }, + "identifierName": "significantDigits" + }, + "name": "significantDigits" + }, + "property": { + "type": "Identifier", + "start": 8826, + "end": 8832, + "loc": { + "start": { + "line": 377, + "column": 42 + }, + "end": { + "line": 377, + "column": 48 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + }, + "update": { + "type": "AssignmentExpression", + "start": 8834, + "end": 8840, + "loc": { + "start": { + "line": 377, + "column": 50 + }, + "end": { + "line": 377, + "column": 56 + } + }, + "operator": "+=", + "left": { + "type": "Identifier", + "start": 8834, + "end": 8835, + "loc": { + "start": { + "line": 377, + "column": 50 + }, + "end": { + "line": 377, + "column": 51 + }, + "identifierName": "i" + }, + "name": "i" + }, + "right": { + "type": "NumericLiteral", + "start": 8839, + "end": 8840, + "loc": { + "start": { + "line": 377, + "column": 55 + }, + "end": { + "line": 377, + "column": 56 } }, "extra": { - "rawValue": ".", - "raw": "'.'" + "rawValue": 1, + "raw": "1" }, - "value": "." + "value": 1 } - ] - } - } - ], - "directives": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Convert the LongCount to a string and pad the sections of the fullDate\n * @returns {string}\n ", - "start": 7903, - "end": 8011, - "loc": { - "start": { - "line": 347, - "column": 2 + }, + "body": { + "type": "BlockStatement", + "start": 8842, + "end": 8979, + "loc": { + "start": { + "line": 377, + "column": 58 + }, + "end": { + "line": 382, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 8850, + "end": 8894, + "loc": { + "start": { + "line": 378, + "column": 6 + }, + "end": { + "line": 378, + "column": 50 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 8856, + "end": 8894, + "loc": { + "start": { + "line": 378, + "column": 12 + }, + "end": { + "line": 378, + "column": 50 + } + }, + "id": { + "type": "Identifier", + "start": 8856, + "end": 8860, + "loc": { + "start": { + "line": 378, + "column": 12 + }, + "end": { + "line": 378, + "column": 16 + }, + "identifierName": "part" + }, + "name": "part" + }, + "init": { + "type": "CallExpression", + "start": 8863, + "end": 8894, + "loc": { + "start": { + "line": 378, + "column": 19 + }, + "end": { + "line": 378, + "column": 50 + } + }, + "callee": { + "type": "MemberExpression", + "start": 8863, + "end": 8892, + "loc": { + "start": { + "line": 378, + "column": 19 + }, + "end": { + "line": 378, + "column": 48 + } + }, + "object": { + "type": "MemberExpression", + "start": 8863, + "end": 8883, + "loc": { + "start": { + "line": 378, + "column": 19 + }, + "end": { + "line": 378, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 8863, + "end": 8880, + "loc": { + "start": { + "line": 378, + "column": 19 + }, + "end": { + "line": 378, + "column": 36 + }, + "identifierName": "significantDigits" + }, + "name": "significantDigits" + }, + "property": { + "type": "Identifier", + "start": 8881, + "end": 8882, + "loc": { + "start": { + "line": 378, + "column": 37 + }, + "end": { + "line": 378, + "column": 38 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + }, + "property": { + "type": "Identifier", + "start": 8884, + "end": 8892, + "loc": { + "start": { + "line": 378, + "column": 40 + }, + "end": { + "line": 378, + "column": 48 + }, + "identifierName": "toString" + }, + "name": "toString" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 8901, + "end": 8973, + "loc": { + "start": { + "line": 379, + "column": 6 + }, + "end": { + "line": 381, + "column": 7 + } + }, + "test": { + "type": "BinaryExpression", + "start": 8905, + "end": 8920, + "loc": { + "start": { + "line": 379, + "column": 10 + }, + "end": { + "line": 379, + "column": 25 + } + }, + "left": { + "type": "MemberExpression", + "start": 8905, + "end": 8916, + "loc": { + "start": { + "line": 379, + "column": 10 + }, + "end": { + "line": 379, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 8905, + "end": 8909, + "loc": { + "start": { + "line": 379, + "column": 10 + }, + "end": { + "line": 379, + "column": 14 + }, + "identifierName": "part" + }, + "name": "part" + }, + "property": { + "type": "Identifier", + "start": 8910, + "end": 8916, + "loc": { + "start": { + "line": 379, + "column": 15 + }, + "end": { + "line": 379, + "column": 21 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "operator": "<", + "right": { + "type": "NumericLiteral", + "start": 8919, + "end": 8920, + "loc": { + "start": { + "line": 379, + "column": 24 + }, + "end": { + "line": 379, + "column": 25 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } + }, + "consequent": { + "type": "BlockStatement", + "start": 8922, + "end": 8973, + "loc": { + "start": { + "line": 379, + "column": 27 + }, + "end": { + "line": 381, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 8932, + "end": 8965, + "loc": { + "start": { + "line": 380, + "column": 8 + }, + "end": { + "line": 380, + "column": 41 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 8932, + "end": 8965, + "loc": { + "start": { + "line": 380, + "column": 8 + }, + "end": { + "line": 380, + "column": 41 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 8932, + "end": 8952, + "loc": { + "start": { + "line": 380, + "column": 8 + }, + "end": { + "line": 380, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 8932, + "end": 8949, + "loc": { + "start": { + "line": 380, + "column": 8 + }, + "end": { + "line": 380, + "column": 25 + }, + "identifierName": "significantDigits" + }, + "name": "significantDigits" + }, + "property": { + "type": "Identifier", + "start": 8950, + "end": 8951, + "loc": { + "start": { + "line": 380, + "column": 26 + }, + "end": { + "line": 380, + "column": 27 + }, + "identifierName": "i" + }, + "name": "i" + }, + "computed": true + }, + "right": { + "type": "TemplateLiteral", + "start": 8955, + "end": 8965, + "loc": { + "start": { + "line": 380, + "column": 31 + }, + "end": { + "line": 380, + "column": 41 + } + }, + "expressions": [ + { + "type": "Identifier", + "start": 8959, + "end": 8963, + "loc": { + "start": { + "line": 380, + "column": 35 + }, + "end": { + "line": 380, + "column": 39 + }, + "identifierName": "part" + }, + "name": "part" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 8956, + "end": 8957, + "loc": { + "start": { + "line": 380, + "column": 32 + }, + "end": { + "line": 380, + "column": 33 + } + }, + "value": { + "raw": " ", + "cooked": " " + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 8964, + "end": 8964, + "loc": { + "start": { + "line": 380, + "column": 40 + }, + "end": { + "line": 380, + "column": 40 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + } + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] + } }, - "end": { - "line": 350, - "column": 5 + { + "type": "ReturnStatement", + "start": 8984, + "end": 9053, + "loc": { + "start": { + "line": 383, + "column": 4 + }, + "end": { + "line": 383, + "column": 73 + } + }, + "argument": { + "type": "TemplateLiteral", + "start": 8991, + "end": 9053, + "loc": { + "start": { + "line": 383, + "column": 11 + }, + "end": { + "line": 383, + "column": 73 + } + }, + "expressions": [ + { + "type": "ConditionalExpression", + "start": 8994, + "end": 9021, + "loc": { + "start": { + "line": 383, + "column": 14 + }, + "end": { + "line": 383, + "column": 41 + } + }, + "test": { + "type": "BinaryExpression", + "start": 8994, + "end": 9010, + "loc": { + "start": { + "line": 383, + "column": 14 + }, + "end": { + "line": 383, + "column": 30 + } + }, + "left": { + "type": "MemberExpression", + "start": 8994, + "end": 9003, + "loc": { + "start": { + "line": 383, + "column": 14 + }, + "end": { + "line": 383, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 8994, + "end": 8998, + "loc": { + "start": { + "line": 383, + "column": 14 + }, + "end": { + "line": 383, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "start": 8999, + "end": 9003, + "loc": { + "start": { + "line": 383, + "column": 19 + }, + "end": { + "line": 383, + "column": 23 + }, + "identifierName": "sign" + }, + "name": "sign" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "UnaryExpression", + "start": 9008, + "end": 9010, + "loc": { + "start": { + "line": 383, + "column": 28 + }, + "end": { + "line": 383, + "column": 30 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 9009, + "end": 9010, + "loc": { + "start": { + "line": 383, + "column": 29 + }, + "end": { + "line": 383, + "column": 30 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesizedArgument": false + } + } + }, + "consequent": { + "type": "StringLiteral", + "start": 9013, + "end": 9016, + "loc": { + "start": { + "line": 383, + "column": 33 + }, + "end": { + "line": 383, + "column": 36 + } + }, + "extra": { + "rawValue": "-", + "raw": "'-'" + }, + "value": "-" + }, + "alternate": { + "type": "StringLiteral", + "start": 9019, + "end": 9021, + "loc": { + "start": { + "line": 383, + "column": 39 + }, + "end": { + "line": 383, + "column": 41 + } + }, + "extra": { + "rawValue": "", + "raw": "''" + }, + "value": "" + } + }, + { + "type": "CallExpression", + "start": 9024, + "end": 9051, + "loc": { + "start": { + "line": 383, + "column": 44 + }, + "end": { + "line": 383, + "column": 71 + } + }, + "callee": { + "type": "MemberExpression", + "start": 9024, + "end": 9046, + "loc": { + "start": { + "line": 383, + "column": 44 + }, + "end": { + "line": 383, + "column": 66 + } + }, + "object": { + "type": "Identifier", + "start": 9024, + "end": 9041, + "loc": { + "start": { + "line": 383, + "column": 44 + }, + "end": { + "line": 383, + "column": 61 + }, + "identifierName": "significantDigits" + }, + "name": "significantDigits" + }, + "property": { + "type": "Identifier", + "start": 9042, + "end": 9046, + "loc": { + "start": { + "line": 383, + "column": 62 + }, + "end": { + "line": 383, + "column": 66 + }, + "identifierName": "join" + }, + "name": "join" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 9047, + "end": 9050, + "loc": { + "start": { + "line": 383, + "column": 67 + }, + "end": { + "line": 383, + "column": 70 + } + }, + "extra": { + "rawValue": ".", + "raw": "'.'" + }, + "value": "." + } + ] + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 8992, + "end": 8992, + "loc": { + "start": { + "line": 383, + "column": 12 + }, + "end": { + "line": 383, + "column": 12 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 9022, + "end": 9022, + "loc": { + "start": { + "line": 383, + "column": 42 + }, + "end": { + "line": 383, + "column": 42 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 9052, + "end": 9052, + "loc": { + "start": { + "line": 383, + "column": 72 + }, + "end": { + "line": 383, + "column": 72 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Convert the LongCount to a string and pad the sections of the fullDate\n * @returns {string}\n ", + "start": 7975, + "end": 8083, + "loc": { + "start": { + "line": 348, + "column": 2 + }, + "end": { + "line": 351, + "column": 5 + } } } - } - ] - } - ] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Long Count cycle\n ", - "start": 290, - "end": 317, - "loc": { - "start": { - "line": 10, - "column": 0 - }, - "end": { - "line": 12, - "column": 3 + ] } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 8965, - "end": 8997, - "loc": { - "start": { - "line": 386, - "column": 0 - }, - "end": { - "line": 386, - "column": 32 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 8965, - "end": 8996, - "loc": { - "start": { - "line": 386, - "column": 0 - }, - "end": { - "line": 386, - "column": 31 - } + ] }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 8965, - "end": 8979, - "loc": { - "start": { - "line": 386, - "column": 0 - }, - "end": { - "line": 386, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 8965, - "end": 8971, - "loc": { - "start": { - "line": 386, - "column": 0 - }, - "end": { - "line": 386, - "column": 6 - }, - "identifierName": "module" - }, - "name": "module" - }, - "property": { - "type": "Identifier", - "start": 8972, - "end": 8979, - "loc": { - "start": { - "line": 386, - "column": 7 - }, - "end": { - "line": 386, - "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 8982, - "end": 8996, - "loc": { - "start": { - "line": 386, - "column": 17 - }, - "end": { - "line": 386, - "column": 31 - }, - "identifierName": "DistanceNumber" - }, - "name": "DistanceNumber" - } - } - } - ], - "directives": [] - }, - "comments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 55, - "end": 69, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 111, - "end": 125, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 197, - "end": 211, - "loc": { - "start": { - "line": 7, - "column": 0 + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Long Count cycle\n ", + "start": 175, + "end": 202, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ], + "trailingComments": [] }, - "end": { - "line": 7, - "column": 14 - } + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Long Count cycle\n ", + "start": 175, + "end": 202, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 + } + } + } + ] } - }, + ], + "directives": [] + }, + "comments": [ { "type": "CommentBlock", "value": "*\n * Long Count cycle\n ", - "start": 290, - "end": 317, + "start": 175, + "end": 202, "loc": { "start": { - "line": 10, + "line": 5, "column": 0 }, "end": { - "line": 12, + "line": 7, "column": 3 } } @@ -16366,15 +16821,15 @@ { "type": "CommentBlock", "value": "*\n * @param {...number|Wildcard} cycles - Components in the long count\n * (eg, K'in, Winal, Bak'tun, etc)\n ", - "start": 343, - "end": 460, + "start": 243, + "end": 360, "loc": { "start": { - "line": 14, + "line": 9, "column": 2 }, "end": { - "line": 17, + "line": 12, "column": 5 } } @@ -16382,15 +16837,15 @@ { "type": "CommentBlock", "value": "*\n * Date Components\n * @type {number[]|Wildcard[]}\n ", - "start": 492, - "end": 561, + "start": 393, + "end": 462, "loc": { "start": { - "line": 19, + "line": 14, "column": 4 }, "end": { - "line": 22, + "line": 17, "column": 7 } } @@ -16398,15 +16853,15 @@ { "type": "CommentBlock", "value": "*\n * Pattern to validate the fullDate\n * @type {RegExp}\n ", - "start": 592, - "end": 665, + "start": 492, + "end": 565, "loc": { "start": { - "line": 25, + "line": 20, "column": 4 }, "end": { - "line": 28, + "line": 23, "column": 7 } } @@ -16414,15 +16869,15 @@ { "type": "CommentBlock", "value": "*\n * @private\n * @type {number}\n ", - "start": 711, - "end": 760, + "start": 610, + "end": 659, "loc": { "start": { - "line": 31, + "line": 26, "column": 4 }, "end": { - "line": 34, + "line": 29, "column": 7 } } @@ -16430,15 +16885,15 @@ { "type": "CommentBlock", "value": "*\n * Return true if the Long Count is positive.\n * @return {boolean}\n ", - "start": 949, - "end": 1029, + "start": 854, + "end": 934, "loc": { "start": { - "line": 41, + "line": 37, "column": 2 }, "end": { - "line": 44, + "line": 40, "column": 5 } } @@ -16446,15 +16901,15 @@ { "type": "CommentBlock", "value": "*\n * Return true if the Long Count is operating as a negative Distance Number.\n * @return {boolean}\n ", - "start": 1086, - "end": 1197, + "start": 991, + "end": 1102, "loc": { "start": { - "line": 49, + "line": 45, "column": 2 }, "end": { - "line": 52, + "line": 48, "column": 5 } } @@ -16462,15 +16917,15 @@ { "type": "CommentBlock", "value": "*\n * Set this Long Count as being a Long Count or a positive Distance Number\n * @param {boolean} newPositive\n ", - "start": 1255, - "end": 1375, + "start": 1160, + "end": 1280, "loc": { "start": { - "line": 57, + "line": 53, "column": 2 }, "end": { - "line": 60, + "line": 56, "column": 5 } } @@ -16478,15 +16933,15 @@ { "type": "CommentBlock", "value": "*\n * Set this Long Count as being a negative Distance Number\n * @param newNegative\n ", - "start": 1462, - "end": 1556, + "start": 1367, + "end": 1461, "loc": { "start": { - "line": 65, + "line": 61, "column": 2 }, "end": { - "line": 68, + "line": 64, "column": 5 } } @@ -16494,15 +16949,15 @@ { "type": "CommentBlock", "value": "*\n * Given two long count dates, check if they are equal\n * @param {DistanceNumber} other\n * @return {boolean}\n ", - "start": 1632, - "end": 1756, + "start": 1537, + "end": 1661, "loc": { "start": { - "line": 73, + "line": 69, "column": 2 }, "end": { - "line": 77, + "line": 73, "column": 5 } } @@ -16510,15 +16965,15 @@ { "type": "CommentBlock", "value": "*\n * Create a copy object of this long count fullDate\n * @returns {DistanceNumber}\n ", - "start": 1818, - "end": 1912, + "start": 1723, + "end": 1817, "loc": { "start": { - "line": 82, + "line": 78, "column": 2 }, "end": { - "line": 85, + "line": 81, "column": 5 } } @@ -16526,15 +16981,15 @@ { "type": "CommentBlock", "value": "*\n * Get specific column in Long Count fullDate\n * @param {number} index\n * @returns {number}\n ", - "start": 1978, - "end": 2085, + "start": 1883, + "end": 1990, "loc": { "start": { - "line": 90, + "line": 86, "column": 2 }, "end": { - "line": 94, + "line": 90, "column": 5 } } @@ -16542,15 +16997,15 @@ { "type": "CommentBlock", "value": "*\n * Set specific column in Long Count fullDate\n * @param {number} index\n * @param {number|wildcard} newValue\n * @returns {DistanceNumber}\n ", - "start": 2225, - "end": 2379, + "start": 2128, + "end": 2282, "loc": { "start": { - "line": 103, + "line": 99, "column": 2 }, "end": { - "line": 108, + "line": 104, "column": 5 } } @@ -16558,15 +17013,15 @@ { "type": "CommentBlock", "value": "*\n * Pass the map down to the parts\n * @param fn\n * @return {object[]}\n ", - "start": 2526, - "end": 2610, + "start": 2434, + "end": 2518, "loc": { "start": { - "line": 114, + "line": 111, "column": 2 }, "end": { - "line": 118, + "line": 115, "column": 5 } } @@ -16574,15 +17029,15 @@ { "type": "CommentBlock", "value": "*\n * Compare if this LC is greater than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n ", - "start": 2661, - "end": 2792, + "start": 2569, + "end": 2700, "loc": { "start": { - "line": 123, + "line": 120, "column": 2 }, "end": { - "line": 127, + "line": 124, "column": 5 } } @@ -16590,15 +17045,15 @@ { "type": "CommentBlock", "value": "*\n * Compare is this LC is less than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n ", - "start": 2881, - "end": 3009, + "start": 2789, + "end": 2917, "loc": { "start": { - "line": 132, + "line": 129, "column": 2 }, "end": { - "line": 136, + "line": 133, "column": 5 } } @@ -16606,15 +17061,15 @@ { "type": "CommentBlock", "value": "*\n * Set the k'in component of the fullDate\n ", - "start": 3098, - "end": 3151, + "start": 3006, + "end": 3059, "loc": { "start": { - "line": 141, + "line": 138, "column": 2 }, "end": { - "line": 143, + "line": 140, "column": 5 } } @@ -16622,15 +17077,15 @@ { "type": "CommentBlock", "value": "*\n * Return the k'in component of the fullDate\n * @returns {number}\n ", - "start": 3216, - "end": 3295, + "start": 3124, + "end": 3203, "loc": { "start": { - "line": 148, + "line": 145, "column": 2 }, "end": { - "line": 151, + "line": 148, "column": 5 } } @@ -16638,15 +17093,15 @@ { "type": "CommentBlock", "value": "*\n * Set the winal component of the fullDate\n ", - "start": 3353, - "end": 3407, + "start": 3261, + "end": 3315, "loc": { "start": { - "line": 156, + "line": 153, "column": 2 }, "end": { - "line": 158, + "line": 155, "column": 5 } } @@ -16654,15 +17109,15 @@ { "type": "CommentBlock", "value": "*\n * Return the winal component of the fullDate\n * @returns {number}\n ", - "start": 3478, - "end": 3558, + "start": 3386, + "end": 3466, "loc": { "start": { - "line": 163, + "line": 160, "column": 2 }, "end": { - "line": 166, + "line": 163, "column": 5 } } @@ -16670,15 +17125,15 @@ { "type": "CommentBlock", "value": "*\n * Set the tun component of the fullDate\n ", - "start": 3618, - "end": 3670, + "start": 3526, + "end": 3578, "loc": { "start": { - "line": 171, + "line": 168, "column": 2 }, "end": { - "line": 173, + "line": 170, "column": 5 } } @@ -16686,15 +17141,15 @@ { "type": "CommentBlock", "value": "*\n * Return the tun component of the fullDate\n * @returns {number}\n ", - "start": 3735, - "end": 3813, + "start": 3643, + "end": 3721, "loc": { "start": { - "line": 178, + "line": 175, "column": 2 }, "end": { - "line": 181, + "line": 178, "column": 5 } } @@ -16702,15 +17157,15 @@ { "type": "CommentBlock", "value": "*\n * Set the k'atun component of the fullDate\n ", - "start": 3871, - "end": 3926, + "start": 3779, + "end": 3834, "loc": { "start": { - "line": 186, + "line": 183, "column": 2 }, "end": { - "line": 188, + "line": 185, "column": 5 } } @@ -16718,15 +17173,15 @@ { "type": "CommentBlock", "value": "*\n * Return the k'atun component of the fullDate\n * @returns {number}\n ", - "start": 3997, - "end": 4078, + "start": 3905, + "end": 3986, "loc": { "start": { - "line": 193, + "line": 190, "column": 2 }, "end": { - "line": 196, + "line": 193, "column": 5 } } @@ -16734,15 +17189,15 @@ { "type": "CommentBlock", "value": "*\n * Set the bak'tun component of the fullDate\n ", - "start": 4138, - "end": 4194, + "start": 4046, + "end": 4102, "loc": { "start": { - "line": 201, + "line": 198, "column": 2 }, "end": { - "line": 203, + "line": 200, "column": 5 } } @@ -16750,15 +17205,15 @@ { "type": "CommentBlock", "value": "*\n * Return the bak'tun component of the fullDate\n * @returns {number}\n ", - "start": 4268, - "end": 4350, + "start": 4176, + "end": 4258, "loc": { "start": { - "line": 208, + "line": 205, "column": 2 }, "end": { - "line": 211, + "line": 208, "column": 5 } } @@ -16766,15 +17221,15 @@ { "type": "CommentBlock", "value": "*\n * Set the piktun component of the fullDate\n ", - "start": 4411, - "end": 4466, + "start": 4319, + "end": 4374, "loc": { "start": { - "line": 216, + "line": 213, "column": 2 }, "end": { - "line": 218, + "line": 215, "column": 5 } } @@ -16782,15 +17237,15 @@ { "type": "CommentBlock", "value": "*\n * Return the piktun component of the fullDate\n * @returns {number}\n ", - "start": 4540, - "end": 4621, + "start": 4448, + "end": 4529, "loc": { "start": { - "line": 223, + "line": 220, "column": 2 }, "end": { - "line": 226, + "line": 223, "column": 5 } } @@ -16798,15 +17253,15 @@ { "type": "CommentBlock", "value": "*\n * Set the kalabtun component of the fullDate\n ", - "start": 4682, - "end": 4739, + "start": 4590, + "end": 4647, "loc": { "start": { - "line": 231, + "line": 228, "column": 2 }, "end": { - "line": 233, + "line": 230, "column": 5 } } @@ -16814,15 +17269,15 @@ { "type": "CommentBlock", "value": "*\n * Return the kalabtun component of the fullDate\n * @returns {number}\n ", - "start": 4815, - "end": 4898, + "start": 4723, + "end": 4806, "loc": { "start": { - "line": 238, + "line": 235, "column": 2 }, "end": { - "line": 241, + "line": 238, "column": 5 } } @@ -16830,15 +17285,15 @@ { "type": "CommentBlock", "value": "*\n * Set the kinchiltun component of the fullDate\n ", - "start": 4961, - "end": 5020, + "start": 4869, + "end": 4928, "loc": { "start": { - "line": 246, + "line": 243, "column": 2 }, "end": { - "line": 248, + "line": 245, "column": 5 } } @@ -16846,15 +17301,15 @@ { "type": "CommentBlock", "value": "*\n * Return the kinchiltun component of the fullDate\n * @returns {number}\n ", - "start": 5098, - "end": 5183, + "start": 5006, + "end": 5091, "loc": { "start": { - "line": 253, + "line": 250, "column": 2 }, "end": { - "line": 256, + "line": 253, "column": 5 } } @@ -16862,15 +17317,15 @@ { "type": "CommentBlock", "value": "*\n * Ensure the fullDate has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", - "start": 5248, - "end": 5358, + "start": 5156, + "end": 5266, "loc": { "start": { - "line": 261, + "line": 258, "column": 2 }, "end": { - "line": 264, + "line": 261, "column": 5 } } @@ -16878,15 +17333,15 @@ { "type": "CommentBlock", "value": "*\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n ", - "start": 5432, - "end": 5569, + "start": 5340, + "end": 5477, "loc": { "start": { - "line": 269, + "line": 266, "column": 2 }, "end": { - "line": 273, + "line": 270, "column": 5 } } @@ -16894,15 +17349,15 @@ { "type": "CommentBlock", "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", - "start": 5650, - "end": 5740, + "start": 5558, + "end": 5648, "loc": { "start": { - "line": 278, + "line": 275, "column": 2 }, "end": { - "line": 281, + "line": 278, "column": 5 } } @@ -16910,15 +17365,15 @@ { "type": "CommentBlock", "value": "*\n * Return the sum of this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n ", - "start": 6102, - "end": 6235, + "start": 6009, + "end": 6142, "loc": { "start": { - "line": 296, + "line": 293, "column": 2 }, "end": { - "line": 300, + "line": 297, "column": 5 } } @@ -16926,15 +17381,15 @@ { "type": "CommentBlock", "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", - "start": 6256, - "end": 6378, + "start": 6164, + "end": 6286, "loc": { "start": { - "line": 302, + "line": 299, "column": 4 }, "end": { - "line": 304, + "line": 301, "column": 7 } } @@ -16942,15 +17397,15 @@ { "type": "CommentBlock", "value": "*\n * Return the difference between this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n ", - "start": 6449, - "end": 6594, + "start": 6356, + "end": 6501, "loc": { "start": { - "line": 308, + "line": 305, "column": 2 }, "end": { - "line": 312, + "line": 309, "column": 5 } } @@ -16958,15 +17413,15 @@ { "type": "CommentBlock", "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", - "start": 6616, - "end": 6738, + "start": 6524, + "end": 6646, "loc": { "start": { - "line": 314, + "line": 311, "column": 4 }, "end": { - "line": 316, + "line": 313, "column": 7 } } @@ -16974,15 +17429,15 @@ { "type": "CommentBlock", "value": "*\n * Make sure the elements of the Long Count do not exceed\n * @return {DistanceNumber}\n ", - "start": 6812, - "end": 6911, + "start": 6719, + "end": 6818, "loc": { "start": { - "line": 320, + "line": 317, "column": 2 }, "end": { - "line": 323, + "line": 320, "column": 5 } } @@ -16990,31 +17445,15 @@ { "type": "CommentLine", "value": " eslint-disable-next-line no-mixed-operators", - "start": 7042, - "end": 7088, - "loc": { - "start": { - "line": 328, - "column": 4 - }, - "end": { - "line": 328, - "column": 50 - } - } - }, - { - "type": "CommentLine", - "value": " eslint-disable-next-line no-mixed-operators", - "start": 7153, - "end": 7199, + "start": 6947, + "end": 6993, "loc": { "start": { - "line": 330, + "line": 325, "column": 4 }, "end": { - "line": 330, + "line": 325, "column": 50 } } @@ -17022,15 +17461,15 @@ { "type": "CommentLine", "value": " eslint-disable-next-line no-mixed-operators", - "start": 7263, - "end": 7309, + "start": 7057, + "end": 7103, "loc": { "start": { - "line": 332, + "line": 327, "column": 4 }, "end": { - "line": 332, + "line": 327, "column": 50 } } @@ -17038,15 +17477,15 @@ { "type": "CommentLine", "value": " eslint-disable-next-line no-mixed-operators", - "start": 7376, - "end": 7422, + "start": 7166, + "end": 7212, "loc": { "start": { - "line": 334, + "line": 329, "column": 4 }, "end": { - "line": 334, + "line": 329, "column": 50 } } @@ -17054,15 +17493,15 @@ { "type": "CommentLine", "value": " eslint-disable-next-line no-mixed-operators", - "start": 7492, - "end": 7538, + "start": 7278, + "end": 7324, "loc": { "start": { - "line": 336, + "line": 331, "column": 4 }, "end": { - "line": 336, + "line": 331, "column": 50 } } @@ -17070,430 +17509,73 @@ { "type": "CommentLine", "value": " eslint-disable-next-line no-mixed-operators", - "start": 7609, - "end": 7655, + "start": 7393, + "end": 7439, "loc": { "start": { - "line": 338, + "line": 333, "column": 4 }, "end": { - "line": 338, + "line": 333, "column": 50 } } }, { "type": "CommentLine", - "value": " eslint-disable-next-line no-mixed-operators", - "start": 7729, - "end": 7775, - "loc": { - "start": { - "line": 340, - "column": 4 - }, - "end": { - "line": 340, - "column": 50 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Convert the LongCount to a string and pad the sections of the fullDate\n * @returns {string}\n ", - "start": 7903, - "end": 8011, - "loc": { - "start": { - "line": 347, - "column": 2 - }, - "end": { - "line": 350, - "column": 5 - } - } - } - ], - "tokens": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 15, - "end": 20, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "moonbeams", - "start": 21, - "end": 30, - "loc": { - "start": { - "line": 2, - "column": 6 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 31, - "end": 32, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "require", - "start": 33, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 40, - "end": 41, - "loc": { - "start": { - "line": 2, - "column": 25 - }, - "end": { - "line": 2, - "column": 26 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "moonbeams", - "start": 41, - "end": 52, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 52, - "end": 53, - "loc": { - "start": { - "line": 2, - "column": 37 - }, - "end": { - "line": 2, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 53, - "end": 54, - "loc": { - "start": { - "line": 2, - "column": 38 - }, - "end": { - "line": 2, - "column": 39 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 55, - "end": 69, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 70, - "end": 75, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "wildcard", - "start": 76, - "end": 84, - "loc": { - "start": { - "line": 4, - "column": 6 - }, - "end": { - "line": 4, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 85, - "end": 86, + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7509, + "end": 7555, "loc": { "start": { - "line": 4, - "column": 15 + "line": 335, + "column": 4 }, "end": { - "line": 4, - "column": 16 + "line": 335, + "column": 50 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "require", - "start": 87, - "end": 94, + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7628, + "end": 7674, "loc": { "start": { - "line": 4, - "column": 17 + "line": 337, + "column": 4 }, "end": { - "line": 4, - "column": 24 + "line": 337, + "column": 50 } } }, { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 94, - "end": 95, + "type": "CommentBlock", + "value": "*\n * Convert the LongCount to a string and pad the sections of the fullDate\n * @returns {string}\n ", + "start": 7975, + "end": 8083, "loc": { "start": { - "line": 4, - "column": 24 + "line": 348, + "column": 2 }, "end": { - "line": 4, - "column": 25 + "line": 351, + "column": 5 } } - }, + } + ], + "tokens": [ { "type": { - "label": "string", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -17504,25 +17586,25 @@ "binop": null, "updateContext": null }, - "value": "../wildcard", - "start": 95, - "end": 108, + "value": "import", + "start": 0, + "end": 6, "loc": { "start": { - "line": 4, - "column": 25 + "line": 1, + "column": 0 }, "end": { - "line": 4, - "column": 38 + "line": 1, + "column": 6 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17530,67 +17612,51 @@ "postfix": false, "binop": null }, - "start": 108, - "end": 109, + "value": "wildcard", + "start": 7, + "end": 15, "loc": { "start": { - "line": 4, - "column": 38 + "line": 1, + "column": 7 }, "end": { - "line": 4, - "column": 39 + "line": 1, + "column": 15 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 109, - "end": 110, - "loc": { - "start": { - "line": 4, - "column": 39 - }, - "end": { - "line": 4, - "column": 40 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 111, - "end": 125, + "value": "from", + "start": 16, + "end": 20, "loc": { "start": { - "line": 5, - "column": 0 + "line": 1, + "column": 16 }, "end": { - "line": 5, - "column": 14 + "line": 1, + "column": 20 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17599,70 +17665,71 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 126, - "end": 131, + "value": "../wildcard", + "start": 21, + "end": 34, "loc": { "start": { - "line": 6, - "column": 0 + "line": 1, + "column": 21 }, "end": { - "line": 6, - "column": 5 + "line": 1, + "column": 34 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "LongcountAddition", - "start": 132, - "end": 149, + "start": 34, + "end": 35, "loc": { "start": { - "line": 6, - "column": 6 + "line": 1, + "column": 34 }, "end": { - "line": 6, - "column": 23 + "line": 1, + "column": 35 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 150, - "end": 151, + "value": "import", + "start": 36, + "end": 42, "loc": { "start": { - "line": 6, - "column": 24 + "line": 2, + "column": 0 }, "end": { - "line": 6, - "column": 25 + "line": 2, + "column": 6 } } }, @@ -17678,24 +17745,24 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 152, - "end": 159, + "value": "LongcountAddition", + "start": 43, + "end": 60, "loc": { "start": { - "line": 6, - "column": 26 + "line": 2, + "column": 7 }, "end": { - "line": 6, - "column": 33 + "line": 2, + "column": 24 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -17704,16 +17771,17 @@ "postfix": false, "binop": null }, - "start": 159, - "end": 160, + "value": "from", + "start": 61, + "end": 65, "loc": { "start": { - "line": 6, - "column": 33 + "line": 2, + "column": 25 }, "end": { - "line": 6, - "column": 34 + "line": 2, + "column": 29 } } }, @@ -17731,41 +17799,16 @@ "updateContext": null }, "value": "../operations/longcount-addition", - "start": 160, - "end": 194, + "start": 66, + "end": 100, "loc": { "start": { - "line": 6, - "column": 34 - }, - "end": { - "line": 6, - "column": 68 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 194, - "end": 195, - "loc": { - "start": { - "line": 6, - "column": 68 + "line": 2, + "column": 30 }, "end": { - "line": 6, - "column": 69 + "line": 2, + "column": 64 } } }, @@ -17782,41 +17825,25 @@ "binop": null, "updateContext": null }, - "start": 195, - "end": 196, - "loc": { - "start": { - "line": 6, - "column": 69 - }, - "end": { - "line": 6, - "column": 70 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 197, - "end": 211, + "start": 100, + "end": 101, "loc": { "start": { - "line": 7, - "column": 0 + "line": 2, + "column": 64 }, "end": { - "line": 7, - "column": 14 + "line": 2, + "column": 65 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -17825,17 +17852,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 212, - "end": 217, + "value": "import", + "start": 102, + "end": 108, "loc": { "start": { - "line": 8, + "line": 3, "column": 0 }, "end": { - "line": 8, - "column": 5 + "line": 3, + "column": 6 } } }, @@ -17852,49 +17879,48 @@ "binop": null }, "value": "LongcountSubtraction", - "start": 218, - "end": 238, + "start": 109, + "end": 129, "loc": { "start": { - "line": 8, - "column": 6 + "line": 3, + "column": 7 }, "end": { - "line": 8, - "column": 26 + "line": 3, + "column": 27 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 239, - "end": 240, + "value": "from", + "start": 130, + "end": 134, "loc": { "start": { - "line": 8, - "column": 27 + "line": 3, + "column": 28 }, "end": { - "line": 8, - "column": 28 + "line": 3, + "column": 32 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -17902,77 +17928,69 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "require", - "start": 241, - "end": 248, + "value": "../operations/longcount-subtraction", + "start": 135, + "end": 172, "loc": { "start": { - "line": 8, - "column": 29 + "line": 3, + "column": 33 }, "end": { - "line": 8, - "column": 36 + "line": 3, + "column": 70 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 248, - "end": 249, + "start": 172, + "end": 173, "loc": { "start": { - "line": 8, - "column": 36 + "line": 3, + "column": 70 }, "end": { - "line": 8, - "column": 37 + "line": 3, + "column": 71 } } }, { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "../operations/longcount-subtraction", - "start": 249, - "end": 286, + "type": "CommentBlock", + "value": "*\n * Long Count cycle\n ", + "start": 175, + "end": 202, "loc": { "start": { - "line": 8, - "column": 37 + "line": 5, + "column": 0 }, "end": { - "line": 8, - "column": 74 + "line": 7, + "column": 3 } } }, { "type": { - "label": ")", + "label": "export", + "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -17980,24 +17998,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 286, - "end": 287, + "value": "export", + "start": 203, + "end": 209, "loc": { "start": { "line": 8, - "column": 74 + "column": 0 }, "end": { "line": 8, - "column": 75 + "column": 6 } } }, { "type": { - "label": ";", + "label": "default", + "keyword": "default", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -18008,32 +18029,17 @@ "binop": null, "updateContext": null }, - "start": 287, - "end": 288, + "value": "default", + "start": 210, + "end": 217, "loc": { "start": { "line": 8, - "column": 75 + "column": 7 }, "end": { "line": 8, - "column": 76 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Long Count cycle\n ", - "start": 290, - "end": 317, - "loc": { - "start": { - "line": 10, - "column": 0 - }, - "end": { - "line": 12, - "column": 3 + "column": 14 } } }, @@ -18052,16 +18058,16 @@ "updateContext": null }, "value": "class", - "start": 318, - "end": 323, + "start": 218, + "end": 223, "loc": { "start": { - "line": 13, - "column": 0 + "line": 8, + "column": 15 }, "end": { - "line": 13, - "column": 5 + "line": 8, + "column": 20 } } }, @@ -18078,16 +18084,16 @@ "binop": null }, "value": "DistanceNumber", - "start": 324, - "end": 338, + "start": 224, + "end": 238, "loc": { "start": { - "line": 13, - "column": 6 + "line": 8, + "column": 21 }, "end": { - "line": 13, - "column": 20 + "line": 8, + "column": 35 } } }, @@ -18103,31 +18109,31 @@ "postfix": false, "binop": null }, - "start": 339, - "end": 340, + "start": 239, + "end": 240, "loc": { "start": { - "line": 13, - "column": 21 + "line": 8, + "column": 36 }, "end": { - "line": 13, - "column": 22 + "line": 8, + "column": 37 } } }, { "type": "CommentBlock", "value": "*\n * @param {...number|Wildcard} cycles - Components in the long count\n * (eg, K'in, Winal, Bak'tun, etc)\n ", - "start": 343, - "end": 460, + "start": 243, + "end": 360, "loc": { "start": { - "line": 14, + "line": 9, "column": 2 }, "end": { - "line": 17, + "line": 12, "column": 5 } } @@ -18145,15 +18151,15 @@ "binop": null }, "value": "constructor", - "start": 463, - "end": 474, + "start": 363, + "end": 374, "loc": { "start": { - "line": 18, + "line": 13, "column": 2 }, "end": { - "line": 18, + "line": 13, "column": 13 } } @@ -18170,16 +18176,16 @@ "postfix": false, "binop": null }, - "start": 474, - "end": 475, + "start": 375, + "end": 376, "loc": { "start": { - "line": 18, - "column": 13 + "line": 13, + "column": 14 }, "end": { - "line": 18, - "column": 14 + "line": 13, + "column": 15 } } }, @@ -18196,16 +18202,16 @@ "binop": null, "updateContext": null }, - "start": 475, - "end": 478, + "start": 376, + "end": 379, "loc": { "start": { - "line": 18, - "column": 14 + "line": 13, + "column": 15 }, "end": { - "line": 18, - "column": 17 + "line": 13, + "column": 18 } } }, @@ -18222,16 +18228,16 @@ "binop": null }, "value": "cycles", - "start": 478, - "end": 484, + "start": 379, + "end": 385, "loc": { "start": { - "line": 18, - "column": 17 + "line": 13, + "column": 18 }, "end": { - "line": 18, - "column": 23 + "line": 13, + "column": 24 } } }, @@ -18247,16 +18253,16 @@ "postfix": false, "binop": null }, - "start": 484, - "end": 485, + "start": 385, + "end": 386, "loc": { "start": { - "line": 18, - "column": 23 + "line": 13, + "column": 24 }, "end": { - "line": 18, - "column": 24 + "line": 13, + "column": 25 } } }, @@ -18272,31 +18278,31 @@ "postfix": false, "binop": null }, - "start": 486, - "end": 487, + "start": 387, + "end": 388, "loc": { "start": { - "line": 18, - "column": 25 + "line": 13, + "column": 26 }, "end": { - "line": 18, - "column": 26 + "line": 13, + "column": 27 } } }, { "type": "CommentBlock", "value": "*\n * Date Components\n * @type {number[]|Wildcard[]}\n ", - "start": 492, - "end": 561, + "start": 393, + "end": 462, "loc": { "start": { - "line": 19, + "line": 14, "column": 4 }, "end": { - "line": 22, + "line": 17, "column": 7 } } @@ -18316,15 +18322,15 @@ "updateContext": null }, "value": "this", - "start": 566, - "end": 570, + "start": 467, + "end": 471, "loc": { "start": { - "line": 23, + "line": 18, "column": 4 }, "end": { - "line": 23, + "line": 18, "column": 8 } } @@ -18342,15 +18348,15 @@ "binop": null, "updateContext": null }, - "start": 570, - "end": 571, + "start": 471, + "end": 472, "loc": { "start": { - "line": 23, + "line": 18, "column": 8 }, "end": { - "line": 23, + "line": 18, "column": 9 } } @@ -18368,15 +18374,15 @@ "binop": null }, "value": "parts", - "start": 571, - "end": 576, + "start": 472, + "end": 477, "loc": { "start": { - "line": 23, + "line": 18, "column": 9 }, "end": { - "line": 23, + "line": 18, "column": 14 } } @@ -18395,15 +18401,15 @@ "updateContext": null }, "value": "=", - "start": 577, - "end": 578, + "start": 478, + "end": 479, "loc": { "start": { - "line": 23, + "line": 18, "column": 15 }, "end": { - "line": 23, + "line": 18, "column": 16 } } @@ -18421,57 +18427,31 @@ "binop": null }, "value": "cycles", - "start": 579, - "end": 585, + "start": 480, + "end": 486, "loc": { "start": { - "line": 23, + "line": 18, "column": 17 }, "end": { - "line": 23, - "column": 23 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 585, - "end": 586, - "loc": { - "start": { - "line": 23, + "line": 18, "column": 23 - }, - "end": { - "line": 23, - "column": 24 } } }, { "type": "CommentBlock", "value": "*\n * Pattern to validate the fullDate\n * @type {RegExp}\n ", - "start": 592, - "end": 665, + "start": 492, + "end": 565, "loc": { "start": { - "line": 25, + "line": 20, "column": 4 }, "end": { - "line": 28, + "line": 23, "column": 7 } } @@ -18491,15 +18471,15 @@ "updateContext": null }, "value": "this", - "start": 670, - "end": 674, + "start": 570, + "end": 574, "loc": { "start": { - "line": 29, + "line": 24, "column": 4 }, "end": { - "line": 29, + "line": 24, "column": 8 } } @@ -18517,15 +18497,15 @@ "binop": null, "updateContext": null }, - "start": 674, - "end": 675, + "start": 574, + "end": 575, "loc": { "start": { - "line": 29, + "line": 24, "column": 8 }, "end": { - "line": 29, + "line": 24, "column": 9 } } @@ -18543,15 +18523,15 @@ "binop": null }, "value": "date_pattern", - "start": 675, - "end": 687, + "start": 575, + "end": 587, "loc": { "start": { - "line": 29, + "line": 24, "column": 9 }, "end": { - "line": 29, + "line": 24, "column": 21 } } @@ -18570,15 +18550,15 @@ "updateContext": null }, "value": "=", - "start": 688, - "end": 689, + "start": 588, + "end": 589, "loc": { "start": { - "line": 29, + "line": 24, "column": 22 }, "end": { - "line": 29, + "line": 24, "column": 23 } } @@ -18600,57 +18580,31 @@ "pattern": "([\\d*]+\\.?)+", "flags": "" }, - "start": 690, - "end": 704, + "start": 590, + "end": 604, "loc": { "start": { - "line": 29, + "line": 24, "column": 24 }, "end": { - "line": 29, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 704, - "end": 705, - "loc": { - "start": { - "line": 29, + "line": 24, "column": 38 - }, - "end": { - "line": 29, - "column": 39 } } }, { "type": "CommentBlock", "value": "*\n * @private\n * @type {number}\n ", - "start": 711, - "end": 760, + "start": 610, + "end": 659, "loc": { "start": { - "line": 31, + "line": 26, "column": 4 }, "end": { - "line": 34, + "line": 29, "column": 7 } } @@ -18670,15 +18624,15 @@ "updateContext": null }, "value": "this", - "start": 765, - "end": 769, + "start": 664, + "end": 668, "loc": { "start": { - "line": 35, + "line": 30, "column": 4 }, "end": { - "line": 35, + "line": 30, "column": 8 } } @@ -18696,15 +18650,15 @@ "binop": null, "updateContext": null }, - "start": 769, - "end": 770, + "start": 668, + "end": 669, "loc": { "start": { - "line": 35, + "line": 30, "column": 8 }, "end": { - "line": 35, + "line": 30, "column": 9 } } @@ -18722,15 +18676,15 @@ "binop": null }, "value": "sign", - "start": 770, - "end": 774, + "start": 669, + "end": 673, "loc": { "start": { - "line": 35, + "line": 30, "column": 9 }, "end": { - "line": 35, + "line": 30, "column": 13 } } @@ -18749,15 +18703,15 @@ "updateContext": null }, "value": "=", - "start": 775, - "end": 776, + "start": 674, + "end": 675, "loc": { "start": { - "line": 35, + "line": 30, "column": 14 }, "end": { - "line": 35, + "line": 30, "column": 15 } } @@ -18774,15 +18728,15 @@ "postfix": false, "binop": null }, - "start": 777, - "end": 778, + "start": 676, + "end": 677, "loc": { "start": { - "line": 35, + "line": 30, "column": 16 }, "end": { - "line": 35, + "line": 30, "column": 17 } } @@ -18802,15 +18756,15 @@ "updateContext": null }, "value": "this", - "start": 778, - "end": 782, + "start": 677, + "end": 681, "loc": { "start": { - "line": 35, + "line": 30, "column": 17 }, "end": { - "line": 35, + "line": 30, "column": 21 } } @@ -18828,15 +18782,15 @@ "binop": null, "updateContext": null }, - "start": 782, - "end": 783, + "start": 681, + "end": 682, "loc": { "start": { - "line": 35, + "line": 30, "column": 21 }, "end": { - "line": 35, + "line": 30, "column": 22 } } @@ -18854,15 +18808,15 @@ "binop": null }, "value": "parts", - "start": 783, - "end": 788, + "start": 682, + "end": 687, "loc": { "start": { - "line": 35, + "line": 30, "column": 22 }, "end": { - "line": 35, + "line": 30, "column": 27 } } @@ -18880,15 +18834,15 @@ "binop": null, "updateContext": null }, - "start": 788, - "end": 789, + "start": 687, + "end": 688, "loc": { "start": { - "line": 35, + "line": 30, "column": 27 }, "end": { - "line": 35, + "line": 30, "column": 28 } } @@ -18908,15 +18862,15 @@ "updateContext": null }, "value": "this", - "start": 789, - "end": 793, + "start": 688, + "end": 692, "loc": { "start": { - "line": 35, + "line": 30, "column": 28 }, "end": { - "line": 35, + "line": 30, "column": 32 } } @@ -18934,15 +18888,15 @@ "binop": null, "updateContext": null }, - "start": 793, - "end": 794, + "start": 692, + "end": 693, "loc": { "start": { - "line": 35, + "line": 30, "column": 32 }, "end": { - "line": 35, + "line": 30, "column": 33 } } @@ -18960,15 +18914,15 @@ "binop": null }, "value": "parts", - "start": 794, - "end": 799, + "start": 693, + "end": 698, "loc": { "start": { - "line": 35, + "line": 30, "column": 33 }, "end": { - "line": 35, + "line": 30, "column": 38 } } @@ -18986,15 +18940,15 @@ "binop": null, "updateContext": null }, - "start": 799, - "end": 800, + "start": 698, + "end": 699, "loc": { "start": { - "line": 35, + "line": 30, "column": 38 }, "end": { - "line": 35, + "line": 30, "column": 39 } } @@ -19012,15 +18966,15 @@ "binop": null }, "value": "length", - "start": 800, - "end": 806, + "start": 699, + "end": 705, "loc": { "start": { - "line": 35, + "line": 30, "column": 39 }, "end": { - "line": 35, + "line": 30, "column": 45 } } @@ -19039,15 +18993,15 @@ "updateContext": null }, "value": "-", - "start": 807, - "end": 808, + "start": 706, + "end": 707, "loc": { "start": { - "line": 35, + "line": 30, "column": 46 }, "end": { - "line": 35, + "line": 30, "column": 47 } } @@ -19066,15 +19020,15 @@ "updateContext": null }, "value": 1, - "start": 809, - "end": 810, + "start": 708, + "end": 709, "loc": { "start": { - "line": 35, + "line": 30, "column": 48 }, "end": { - "line": 35, + "line": 30, "column": 49 } } @@ -19092,15 +19046,15 @@ "binop": null, "updateContext": null }, - "start": 810, - "end": 811, + "start": 709, + "end": 710, "loc": { "start": { - "line": 35, + "line": 30, "column": 49 }, "end": { - "line": 35, + "line": 30, "column": 50 } } @@ -19119,15 +19073,15 @@ "updateContext": null }, "value": "<", - "start": 812, - "end": 813, + "start": 711, + "end": 712, "loc": { "start": { - "line": 35, + "line": 30, "column": 51 }, "end": { - "line": 35, + "line": 30, "column": 52 } } @@ -19146,15 +19100,15 @@ "updateContext": null }, "value": 0, - "start": 814, - "end": 815, + "start": 713, + "end": 714, "loc": { "start": { - "line": 35, + "line": 30, "column": 53 }, "end": { - "line": 35, + "line": 30, "column": 54 } } @@ -19171,15 +19125,15 @@ "postfix": false, "binop": null }, - "start": 815, - "end": 816, + "start": 714, + "end": 715, "loc": { "start": { - "line": 35, + "line": 30, "column": 54 }, "end": { - "line": 35, + "line": 30, "column": 55 } } @@ -19197,15 +19151,15 @@ "binop": null, "updateContext": null }, - "start": 817, - "end": 818, + "start": 716, + "end": 717, "loc": { "start": { - "line": 35, + "line": 30, "column": 56 }, "end": { - "line": 35, + "line": 30, "column": 57 } } @@ -19224,15 +19178,15 @@ "updateContext": null }, "value": "-", - "start": 819, - "end": 820, + "start": 718, + "end": 719, "loc": { "start": { - "line": 35, + "line": 30, "column": 58 }, "end": { - "line": 35, + "line": 30, "column": 59 } } @@ -19251,15 +19205,15 @@ "updateContext": null }, "value": 1, - "start": 820, - "end": 821, + "start": 719, + "end": 720, "loc": { "start": { - "line": 35, + "line": 30, "column": 59 }, "end": { - "line": 35, + "line": 30, "column": 60 } } @@ -19277,15 +19231,15 @@ "binop": null, "updateContext": null }, - "start": 822, - "end": 823, + "start": 721, + "end": 722, "loc": { "start": { - "line": 35, + "line": 30, "column": 61 }, "end": { - "line": 35, + "line": 30, "column": 62 } } @@ -19304,42 +19258,16 @@ "updateContext": null }, "value": 1, - "start": 824, - "end": 825, + "start": 723, + "end": 724, "loc": { "start": { - "line": 35, + "line": 30, "column": 63 }, "end": { - "line": 35, - "column": 64 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 825, - "end": 826, - "loc": { - "start": { - "line": 35, + "line": 30, "column": 64 - }, - "end": { - "line": 35, - "column": 65 } } }, @@ -19358,15 +19286,15 @@ "updateContext": null }, "value": "if", - "start": 831, - "end": 833, + "start": 729, + "end": 731, "loc": { "start": { - "line": 36, + "line": 31, "column": 4 }, "end": { - "line": 36, + "line": 31, "column": 6 } } @@ -19383,15 +19311,15 @@ "postfix": false, "binop": null }, - "start": 834, - "end": 835, + "start": 732, + "end": 733, "loc": { "start": { - "line": 36, + "line": 31, "column": 7 }, "end": { - "line": 36, + "line": 31, "column": 8 } } @@ -19411,15 +19339,15 @@ "updateContext": null }, "value": "this", - "start": 835, - "end": 839, + "start": 733, + "end": 737, "loc": { "start": { - "line": 36, + "line": 31, "column": 8 }, "end": { - "line": 36, + "line": 31, "column": 12 } } @@ -19437,15 +19365,15 @@ "binop": null, "updateContext": null }, - "start": 839, - "end": 840, + "start": 737, + "end": 738, "loc": { "start": { - "line": 36, + "line": 31, "column": 12 }, "end": { - "line": 36, + "line": 31, "column": 13 } } @@ -19463,15 +19391,15 @@ "binop": null }, "value": "isNegative", - "start": 840, - "end": 850, + "start": 738, + "end": 748, "loc": { "start": { - "line": 36, + "line": 31, "column": 13 }, "end": { - "line": 36, + "line": 31, "column": 23 } } @@ -19488,15 +19416,15 @@ "postfix": false, "binop": null }, - "start": 850, - "end": 851, + "start": 748, + "end": 749, "loc": { "start": { - "line": 36, + "line": 31, "column": 23 }, "end": { - "line": 36, + "line": 31, "column": 24 } } @@ -19513,15 +19441,15 @@ "postfix": false, "binop": null }, - "start": 852, - "end": 853, + "start": 750, + "end": 751, "loc": { "start": { - "line": 36, + "line": 31, "column": 25 }, "end": { - "line": 36, + "line": 31, "column": 26 } } @@ -19541,15 +19469,15 @@ "updateContext": null }, "value": "this", - "start": 860, - "end": 864, + "start": 758, + "end": 762, "loc": { "start": { - "line": 37, + "line": 32, "column": 6 }, "end": { - "line": 37, + "line": 32, "column": 10 } } @@ -19567,15 +19495,15 @@ "binop": null, "updateContext": null }, - "start": 864, - "end": 865, + "start": 762, + "end": 763, "loc": { "start": { - "line": 37, + "line": 32, "column": 10 }, "end": { - "line": 37, + "line": 32, "column": 11 } } @@ -19593,15 +19521,15 @@ "binop": null }, "value": "parts", - "start": 865, - "end": 870, + "start": 763, + "end": 768, "loc": { "start": { - "line": 37, + "line": 32, "column": 11 }, "end": { - "line": 37, + "line": 32, "column": 16 } } @@ -19619,15 +19547,15 @@ "binop": null, "updateContext": null }, - "start": 870, - "end": 871, + "start": 768, + "end": 769, "loc": { "start": { - "line": 37, + "line": 32, "column": 16 }, "end": { - "line": 37, + "line": 32, "column": 17 } } @@ -19647,15 +19575,15 @@ "updateContext": null }, "value": "this", - "start": 871, - "end": 875, + "start": 769, + "end": 773, "loc": { "start": { - "line": 37, + "line": 32, "column": 17 }, "end": { - "line": 37, + "line": 32, "column": 21 } } @@ -19673,15 +19601,15 @@ "binop": null, "updateContext": null }, - "start": 875, - "end": 876, + "start": 773, + "end": 774, "loc": { "start": { - "line": 37, + "line": 32, "column": 21 }, "end": { - "line": 37, + "line": 32, "column": 22 } } @@ -19699,15 +19627,15 @@ "binop": null }, "value": "parts", - "start": 876, - "end": 881, + "start": 774, + "end": 779, "loc": { "start": { - "line": 37, + "line": 32, "column": 22 }, "end": { - "line": 37, + "line": 32, "column": 27 } } @@ -19725,15 +19653,15 @@ "binop": null, "updateContext": null }, - "start": 881, - "end": 882, + "start": 779, + "end": 780, "loc": { "start": { - "line": 37, + "line": 32, "column": 27 }, "end": { - "line": 37, + "line": 32, "column": 28 } } @@ -19751,15 +19679,15 @@ "binop": null }, "value": "length", - "start": 882, - "end": 888, + "start": 780, + "end": 786, "loc": { "start": { - "line": 37, + "line": 32, "column": 28 }, "end": { - "line": 37, + "line": 32, "column": 34 } } @@ -19778,15 +19706,15 @@ "updateContext": null }, "value": "-", - "start": 889, - "end": 890, + "start": 787, + "end": 788, "loc": { "start": { - "line": 37, + "line": 32, "column": 35 }, "end": { - "line": 37, + "line": 32, "column": 36 } } @@ -19805,15 +19733,15 @@ "updateContext": null }, "value": 1, - "start": 891, - "end": 892, + "start": 789, + "end": 790, "loc": { "start": { - "line": 37, + "line": 32, "column": 37 }, "end": { - "line": 37, + "line": 32, "column": 38 } } @@ -19831,15 +19759,15 @@ "binop": null, "updateContext": null }, - "start": 892, - "end": 893, + "start": 790, + "end": 791, "loc": { "start": { - "line": 37, + "line": 32, "column": 38 }, "end": { - "line": 37, + "line": 32, "column": 39 } } @@ -19858,15 +19786,15 @@ "updateContext": null }, "value": "=", - "start": 894, - "end": 895, + "start": 792, + "end": 793, "loc": { "start": { - "line": 37, + "line": 32, "column": 40 }, "end": { - "line": 37, + "line": 32, "column": 41 } } @@ -19885,15 +19813,15 @@ "updateContext": null }, "value": "-", - "start": 896, - "end": 897, + "start": 794, + "end": 795, "loc": { "start": { - "line": 37, + "line": 32, "column": 42 }, "end": { - "line": 37, + "line": 32, "column": 43 } } @@ -19912,15 +19840,15 @@ "updateContext": null }, "value": 1, - "start": 897, - "end": 898, + "start": 795, + "end": 796, "loc": { "start": { - "line": 37, + "line": 32, "column": 43 }, "end": { - "line": 37, + "line": 32, "column": 44 } } @@ -19939,15 +19867,15 @@ "updateContext": null }, "value": "*", - "start": 899, - "end": 900, + "start": 797, + "end": 798, "loc": { "start": { - "line": 37, + "line": 32, "column": 45 }, "end": { - "line": 37, + "line": 32, "column": 46 } } @@ -19967,16 +19895,16 @@ "updateContext": null }, "value": "this", - "start": 901, - "end": 905, + "start": 807, + "end": 811, "loc": { "start": { - "line": 37, - "column": 47 + "line": 33, + "column": 8 }, "end": { - "line": 37, - "column": 51 + "line": 33, + "column": 12 } } }, @@ -19993,16 +19921,16 @@ "binop": null, "updateContext": null }, - "start": 905, - "end": 906, + "start": 811, + "end": 812, "loc": { "start": { - "line": 37, - "column": 51 + "line": 33, + "column": 12 }, "end": { - "line": 37, - "column": 52 + "line": 33, + "column": 13 } } }, @@ -20019,16 +19947,16 @@ "binop": null }, "value": "parts", - "start": 906, - "end": 911, + "start": 812, + "end": 817, "loc": { "start": { - "line": 37, - "column": 52 + "line": 33, + "column": 13 }, "end": { - "line": 37, - "column": 57 + "line": 33, + "column": 18 } } }, @@ -20045,16 +19973,16 @@ "binop": null, "updateContext": null }, - "start": 911, - "end": 912, + "start": 817, + "end": 818, "loc": { "start": { - "line": 37, - "column": 57 + "line": 33, + "column": 18 }, "end": { - "line": 37, - "column": 58 + "line": 33, + "column": 19 } } }, @@ -20073,16 +20001,16 @@ "updateContext": null }, "value": "this", - "start": 912, - "end": 916, + "start": 818, + "end": 822, "loc": { "start": { - "line": 37, - "column": 58 + "line": 33, + "column": 19 }, "end": { - "line": 37, - "column": 62 + "line": 33, + "column": 23 } } }, @@ -20099,16 +20027,16 @@ "binop": null, "updateContext": null }, - "start": 916, - "end": 917, + "start": 822, + "end": 823, "loc": { "start": { - "line": 37, - "column": 62 + "line": 33, + "column": 23 }, "end": { - "line": 37, - "column": 63 + "line": 33, + "column": 24 } } }, @@ -20125,16 +20053,16 @@ "binop": null }, "value": "parts", - "start": 917, - "end": 922, + "start": 823, + "end": 828, "loc": { "start": { - "line": 37, - "column": 63 + "line": 33, + "column": 24 }, "end": { - "line": 37, - "column": 68 + "line": 33, + "column": 29 } } }, @@ -20151,77 +20079,379 @@ "binop": null, "updateContext": null }, - "start": 922, - "end": 923, + "start": 828, + "end": 829, "loc": { "start": { - "line": 37, - "column": 68 + "line": 33, + "column": 29 }, "end": { + "line": 33, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 829, + "end": 835, + "loc": { + "start": { + "line": 33, + "column": 30 + }, + "end": { + "line": 33, + "column": 36 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 836, + "end": 837, + "loc": { + "start": { + "line": 33, + "column": 37 + }, + "end": { + "line": 33, + "column": 38 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 838, + "end": 839, + "loc": { + "start": { + "line": 33, + "column": 39 + }, + "end": { + "line": 33, + "column": 40 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 839, + "end": 840, + "loc": { + "start": { + "line": 33, + "column": 40 + }, + "end": { + "line": 33, + "column": 41 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 845, + "end": 846, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 849, + "end": 850, + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 35, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return true if the Long Count is positive.\n * @return {boolean}\n ", + "start": 854, + "end": 934, + "loc": { + "start": { "line": 37, - "column": 69 + "column": 2 + }, + "end": { + "line": 40, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 937, + "end": 940, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 41, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isPositive", + "start": 941, + "end": 951, + "loc": { + "start": { + "line": 41, + "column": 6 + }, + "end": { + "line": 41, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 952, + "end": 953, + "loc": { + "start": { + "line": 41, + "column": 17 + }, + "end": { + "line": 41, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 953, + "end": 954, + "loc": { + "start": { + "line": 41, + "column": 18 + }, + "end": { + "line": 41, + "column": 19 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 955, + "end": 956, + "loc": { + "start": { + "line": 41, + "column": 20 + }, + "end": { + "line": 41, + "column": 21 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "length", - "start": 923, - "end": 929, + "value": "return", + "start": 961, + "end": 967, "loc": { "start": { - "line": 37, - "column": 69 + "line": 42, + "column": 4 }, "end": { - "line": 37, - "column": 75 + "line": 42, + "column": 10 } } }, { "type": { - "label": "+/-", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "-", - "start": 930, - "end": 931, + "value": "this", + "start": 968, + "end": 972, "loc": { "start": { - "line": 37, - "column": 76 + "line": 42, + "column": 11 }, "end": { - "line": 37, - "column": 77 + "line": 42, + "column": 15 } } }, { "type": { - "label": "num", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20230,49 +20460,48 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 932, - "end": 933, + "start": 972, + "end": 973, "loc": { "start": { - "line": 37, - "column": 78 + "line": 42, + "column": 15 }, "end": { - "line": 37, - "column": 79 + "line": 42, + "column": 16 } } }, { "type": { - "label": "]", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 933, - "end": 934, + "value": "sign", + "start": 973, + "end": 977, "loc": { "start": { - "line": 37, - "column": 79 + "line": 42, + "column": 16 }, "end": { - "line": 37, - "column": 80 + "line": 42, + "column": 20 } } }, { "type": { - "label": ";", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -20280,44 +20509,47 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 934, - "end": 935, + "value": "===", + "start": 978, + "end": 981, "loc": { "start": { - "line": 37, - "column": 80 + "line": 42, + "column": 21 }, "end": { - "line": 37, - "column": 81 + "line": 42, + "column": 24 } } }, { "type": { - "label": "}", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 940, - "end": 941, + "value": 1, + "start": 982, + "end": 983, "loc": { "start": { - "line": 38, - "column": 4 + "line": 42, + "column": 25 }, "end": { - "line": 38, - "column": 5 + "line": 42, + "column": 26 } } }, @@ -20333,31 +20565,31 @@ "postfix": false, "binop": null }, - "start": 944, - "end": 945, + "start": 986, + "end": 987, "loc": { "start": { - "line": 39, + "line": 43, "column": 2 }, "end": { - "line": 39, + "line": 43, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Return true if the Long Count is positive.\n * @return {boolean}\n ", - "start": 949, - "end": 1029, + "value": "*\n * Return true if the Long Count is operating as a negative Distance Number.\n * @return {boolean}\n ", + "start": 991, + "end": 1102, "loc": { "start": { - "line": 41, + "line": 45, "column": 2 }, "end": { - "line": 44, + "line": 48, "column": 5 } } @@ -20375,15 +20607,15 @@ "binop": null }, "value": "get", - "start": 1032, - "end": 1035, + "start": 1105, + "end": 1108, "loc": { "start": { - "line": 45, + "line": 49, "column": 2 }, "end": { - "line": 45, + "line": 49, "column": 5 } } @@ -20400,16 +20632,16 @@ "postfix": false, "binop": null }, - "value": "isPositive", - "start": 1036, - "end": 1046, + "value": "isNegative", + "start": 1109, + "end": 1119, "loc": { "start": { - "line": 45, + "line": 49, "column": 6 }, "end": { - "line": 45, + "line": 49, "column": 16 } } @@ -20426,16 +20658,16 @@ "postfix": false, "binop": null }, - "start": 1046, - "end": 1047, + "start": 1120, + "end": 1121, "loc": { "start": { - "line": 45, - "column": 16 + "line": 49, + "column": 17 }, "end": { - "line": 45, - "column": 17 + "line": 49, + "column": 18 } } }, @@ -20451,16 +20683,16 @@ "postfix": false, "binop": null }, - "start": 1047, - "end": 1048, + "start": 1121, + "end": 1122, "loc": { "start": { - "line": 45, - "column": 17 + "line": 49, + "column": 18 }, "end": { - "line": 45, - "column": 18 + "line": 49, + "column": 19 } } }, @@ -20476,16 +20708,16 @@ "postfix": false, "binop": null }, - "start": 1049, - "end": 1050, + "start": 1123, + "end": 1124, "loc": { "start": { - "line": 45, - "column": 19 + "line": 49, + "column": 20 }, "end": { - "line": 45, - "column": 20 + "line": 49, + "column": 21 } } }, @@ -20504,15 +20736,15 @@ "updateContext": null }, "value": "return", - "start": 1055, - "end": 1061, + "start": 1129, + "end": 1135, "loc": { "start": { - "line": 46, + "line": 50, "column": 4 }, "end": { - "line": 46, + "line": 50, "column": 10 } } @@ -20532,15 +20764,15 @@ "updateContext": null }, "value": "this", - "start": 1062, - "end": 1066, + "start": 1136, + "end": 1140, "loc": { "start": { - "line": 46, + "line": 50, "column": 11 }, "end": { - "line": 46, + "line": 50, "column": 15 } } @@ -20558,15 +20790,15 @@ "binop": null, "updateContext": null }, - "start": 1066, - "end": 1067, + "start": 1140, + "end": 1141, "loc": { "start": { - "line": 46, + "line": 50, "column": 15 }, "end": { - "line": 46, + "line": 50, "column": 16 } } @@ -20584,15 +20816,15 @@ "binop": null }, "value": "sign", - "start": 1067, - "end": 1071, + "start": 1141, + "end": 1145, "loc": { "start": { - "line": 46, + "line": 50, "column": 16 }, "end": { - "line": 46, + "line": 50, "column": 20 } } @@ -20611,51 +20843,51 @@ "updateContext": null }, "value": "===", - "start": 1072, - "end": 1075, + "start": 1146, + "end": 1149, "loc": { "start": { - "line": 46, + "line": 50, "column": 21 }, "end": { - "line": 46, + "line": 50, "column": 24 } } }, { "type": { - "label": "num", - "beforeExpr": false, + "label": "+/-", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "value": 1, - "start": 1076, - "end": 1077, + "value": "-", + "start": 1150, + "end": 1151, "loc": { "start": { - "line": 46, + "line": 50, "column": 25 }, "end": { - "line": 46, + "line": 50, "column": 26 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20664,15 +20896,16 @@ "binop": null, "updateContext": null }, - "start": 1077, - "end": 1078, + "value": 1, + "start": 1151, + "end": 1152, "loc": { "start": { - "line": 46, + "line": 50, "column": 26 }, "end": { - "line": 46, + "line": 50, "column": 27 } } @@ -20689,31 +20922,31 @@ "postfix": false, "binop": null }, - "start": 1081, - "end": 1082, + "start": 1155, + "end": 1156, "loc": { "start": { - "line": 47, + "line": 51, "column": 2 }, "end": { - "line": 47, + "line": 51, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Return true if the Long Count is operating as a negative Distance Number.\n * @return {boolean}\n ", - "start": 1086, - "end": 1197, + "value": "*\n * Set this Long Count as being a Long Count or a positive Distance Number\n * @param {boolean} newPositive\n ", + "start": 1160, + "end": 1280, "loc": { "start": { - "line": 49, + "line": 53, "column": 2 }, "end": { - "line": 52, + "line": 56, "column": 5 } } @@ -20730,16 +20963,16 @@ "postfix": false, "binop": null }, - "value": "get", - "start": 1200, - "end": 1203, + "value": "set", + "start": 1283, + "end": 1286, "loc": { "start": { - "line": 53, + "line": 57, "column": 2 }, "end": { - "line": 53, + "line": 57, "column": 5 } } @@ -20756,16 +20989,16 @@ "postfix": false, "binop": null }, - "value": "isNegative", - "start": 1204, - "end": 1214, + "value": "isPositive", + "start": 1287, + "end": 1297, "loc": { "start": { - "line": 53, + "line": 57, "column": 6 }, "end": { - "line": 53, + "line": 57, "column": 16 } } @@ -20782,24 +21015,24 @@ "postfix": false, "binop": null }, - "start": 1214, - "end": 1215, + "start": 1298, + "end": 1299, "loc": { "start": { - "line": 53, - "column": 16 + "line": 57, + "column": 17 }, "end": { - "line": 53, - "column": 17 + "line": 57, + "column": 18 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20807,24 +21040,25 @@ "postfix": false, "binop": null }, - "start": 1215, - "end": 1216, + "value": "newPositive", + "start": 1299, + "end": 1310, "loc": { "start": { - "line": 53, - "column": 17 + "line": 57, + "column": 18 }, "end": { - "line": 53, - "column": 18 + "line": 57, + "column": 29 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -20832,44 +21066,41 @@ "postfix": false, "binop": null }, - "start": 1217, - "end": 1218, + "start": 1310, + "end": 1311, "loc": { "start": { - "line": 53, - "column": 19 + "line": 57, + "column": 29 }, "end": { - "line": 53, - "column": 20 + "line": 57, + "column": 30 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 1223, - "end": 1229, + "start": 1312, + "end": 1313, "loc": { "start": { - "line": 54, - "column": 4 + "line": 57, + "column": 31 }, "end": { - "line": 54, - "column": 10 + "line": 57, + "column": 32 } } }, @@ -20888,16 +21119,16 @@ "updateContext": null }, "value": "this", - "start": 1230, - "end": 1234, + "start": 1318, + "end": 1322, "loc": { "start": { - "line": 54, - "column": 11 + "line": 58, + "column": 4 }, "end": { - "line": 54, - "column": 15 + "line": 58, + "column": 8 } } }, @@ -20914,16 +21145,16 @@ "binop": null, "updateContext": null }, - "start": 1234, - "end": 1235, + "start": 1322, + "end": 1323, "loc": { "start": { - "line": 54, - "column": 15 + "line": 58, + "column": 8 }, "end": { - "line": 54, - "column": 16 + "line": 58, + "column": 9 } } }, @@ -20940,16 +21171,69 @@ "binop": null }, "value": "sign", - "start": 1235, - "end": 1239, + "start": 1323, + "end": 1327, + "loc": { + "start": { + "line": 58, + "column": 9 + }, + "end": { + "line": 58, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1328, + "end": 1329, + "loc": { + "start": { + "line": 58, + "column": 14 + }, + "end": { + "line": 58, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newPositive", + "start": 1330, + "end": 1341, "loc": { "start": { - "line": 54, + "line": 58, "column": 16 }, "end": { - "line": 54, - "column": 20 + "line": 58, + "column": 27 } } }, @@ -20967,43 +21251,70 @@ "updateContext": null }, "value": "===", - "start": 1240, - "end": 1243, + "start": 1342, + "end": 1345, "loc": { "start": { - "line": 54, - "column": 21 + "line": 58, + "column": 28 }, "end": { - "line": 54, - "column": 24 + "line": 58, + "column": 31 } } }, { "type": { - "label": "+/-", - "beforeExpr": true, + "label": "true", + "keyword": "true", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "-", - "start": 1244, - "end": 1245, + "value": "true", + "start": 1346, + "end": 1350, "loc": { "start": { - "line": 54, - "column": 25 + "line": 58, + "column": 32 }, "end": { - "line": 54, - "column": 26 + "line": 58, + "column": 36 + } + } + }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1351, + "end": 1352, + "loc": { + "start": { + "line": 58, + "column": 37 + }, + "end": { + "line": 58, + "column": 38 } } }, @@ -21021,22 +21332,22 @@ "updateContext": null }, "value": 1, - "start": 1245, - "end": 1246, + "start": 1353, + "end": 1354, "loc": { "start": { - "line": 54, - "column": 26 + "line": 58, + "column": 39 }, "end": { - "line": 54, - "column": 27 + "line": 58, + "column": 40 } } }, { "type": { - "label": ";", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -21047,16 +21358,70 @@ "binop": null, "updateContext": null }, - "start": 1246, - "end": 1247, + "start": 1355, + "end": 1356, "loc": { "start": { - "line": 54, - "column": 27 + "line": 58, + "column": 41 }, "end": { - "line": 54, - "column": 28 + "line": 58, + "column": 42 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 1357, + "end": 1358, + "loc": { + "start": { + "line": 58, + "column": 43 + }, + "end": { + "line": 58, + "column": 44 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 1358, + "end": 1359, + "loc": { + "start": { + "line": 58, + "column": 44 + }, + "end": { + "line": 58, + "column": 45 } } }, @@ -21072,31 +21437,31 @@ "postfix": false, "binop": null }, - "start": 1250, - "end": 1251, + "start": 1362, + "end": 1363, "loc": { "start": { - "line": 55, + "line": 59, "column": 2 }, "end": { - "line": 55, + "line": 59, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Set this Long Count as being a Long Count or a positive Distance Number\n * @param {boolean} newPositive\n ", - "start": 1255, - "end": 1375, + "value": "*\n * Set this Long Count as being a negative Distance Number\n * @param newNegative\n ", + "start": 1367, + "end": 1461, "loc": { "start": { - "line": 57, + "line": 61, "column": 2 }, "end": { - "line": 60, + "line": 64, "column": 5 } } @@ -21114,15 +21479,15 @@ "binop": null }, "value": "set", - "start": 1378, - "end": 1381, + "start": 1464, + "end": 1467, "loc": { "start": { - "line": 61, + "line": 65, "column": 2 }, "end": { - "line": 61, + "line": 65, "column": 5 } } @@ -21139,16 +21504,16 @@ "postfix": false, "binop": null }, - "value": "isPositive", - "start": 1382, - "end": 1392, + "value": "isNegative", + "start": 1468, + "end": 1478, "loc": { "start": { - "line": 61, + "line": 65, "column": 6 }, "end": { - "line": 61, + "line": 65, "column": 16 } } @@ -21165,16 +21530,16 @@ "postfix": false, "binop": null }, - "start": 1392, - "end": 1393, + "start": 1479, + "end": 1480, "loc": { "start": { - "line": 61, - "column": 16 + "line": 65, + "column": 17 }, "end": { - "line": 61, - "column": 17 + "line": 65, + "column": 18 } } }, @@ -21190,17 +21555,17 @@ "postfix": false, "binop": null }, - "value": "newPositive", - "start": 1393, - "end": 1404, + "value": "newNegative", + "start": 1480, + "end": 1491, "loc": { "start": { - "line": 61, - "column": 17 + "line": 65, + "column": 18 }, "end": { - "line": 61, - "column": 28 + "line": 65, + "column": 29 } } }, @@ -21216,16 +21581,16 @@ "postfix": false, "binop": null }, - "start": 1404, - "end": 1405, + "start": 1491, + "end": 1492, "loc": { "start": { - "line": 61, - "column": 28 + "line": 65, + "column": 29 }, "end": { - "line": 61, - "column": 29 + "line": 65, + "column": 30 } } }, @@ -21241,16 +21606,16 @@ "postfix": false, "binop": null }, - "start": 1406, - "end": 1407, + "start": 1493, + "end": 1494, "loc": { "start": { - "line": 61, - "column": 30 + "line": 65, + "column": 31 }, "end": { - "line": 61, - "column": 31 + "line": 65, + "column": 32 } } }, @@ -21269,15 +21634,15 @@ "updateContext": null }, "value": "this", - "start": 1412, - "end": 1416, + "start": 1499, + "end": 1503, "loc": { "start": { - "line": 62, + "line": 66, "column": 4 }, "end": { - "line": 62, + "line": 66, "column": 8 } } @@ -21292,19 +21657,166 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null, + "updateContext": null + }, + "start": 1503, + "end": 1504, + "loc": { + "start": { + "line": 66, + "column": 8 + }, + "end": { + "line": 66, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isPositive", + "start": 1504, + "end": 1514, + "loc": { + "start": { + "line": 66, + "column": 9 + }, + "end": { + "line": 66, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1515, + "end": 1516, + "loc": { + "start": { + "line": 66, + "column": 20 + }, + "end": { + "line": 66, + "column": 21 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 1517, + "end": 1518, + "loc": { + "start": { + "line": 66, + "column": 22 + }, + "end": { + "line": 66, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newNegative", + "start": 1518, + "end": 1529, + "loc": { + "start": { + "line": 66, + "column": 23 + }, + "end": { + "line": 66, + "column": 34 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null }, - "start": 1416, - "end": 1417, + "start": 1532, + "end": 1533, "loc": { "start": { - "line": 62, - "column": 8 + "line": 67, + "column": 2 }, "end": { - "line": 62, - "column": 9 + "line": 67, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Given two long count dates, check if they are equal\n * @param {DistanceNumber} other\n * @return {boolean}\n ", + "start": 1537, + "end": 1661, + "loc": { + "start": { + "line": 69, + "column": 2 + }, + "end": { + "line": 73, + "column": 5 } } }, @@ -21320,44 +21832,42 @@ "postfix": false, "binop": null }, - "value": "sign", - "start": 1417, - "end": 1421, + "value": "equal", + "start": 1664, + "end": 1669, "loc": { "start": { - "line": 62, - "column": 9 + "line": 74, + "column": 2 }, "end": { - "line": 62, - "column": 13 + "line": 74, + "column": 7 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1422, - "end": 1423, + "start": 1670, + "end": 1671, "loc": { "start": { - "line": 62, - "column": 14 + "line": 74, + "column": 8 }, "end": { - "line": 62, - "column": 15 + "line": 74, + "column": 9 } } }, @@ -21373,78 +21883,74 @@ "postfix": false, "binop": null }, - "value": "newPositive", - "start": 1424, - "end": 1435, + "value": "other", + "start": 1671, + "end": 1676, "loc": { "start": { - "line": 62, - "column": 16 + "line": 74, + "column": 9 }, "end": { - "line": 62, - "column": 27 + "line": 74, + "column": 14 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "===", - "start": 1436, - "end": 1439, + "start": 1676, + "end": 1677, "loc": { "start": { - "line": 62, - "column": 28 + "line": 74, + "column": 14 }, "end": { - "line": 62, - "column": 31 + "line": 74, + "column": 15 } } }, { "type": { - "label": "true", - "keyword": "true", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "true", - "start": 1440, - "end": 1444, + "start": 1678, + "end": 1679, "loc": { "start": { - "line": 62, - "column": 32 + "line": 74, + "column": 16 }, "end": { - "line": 62, - "column": 36 + "line": 74, + "column": 17 } } }, { "type": { - "label": "?", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -21455,22 +21961,23 @@ "binop": null, "updateContext": null }, - "start": 1445, - "end": 1446, + "value": "return", + "start": 1684, + "end": 1690, "loc": { "start": { - "line": 62, - "column": 37 + "line": 75, + "column": 4 }, "end": { - "line": 62, - "column": 38 + "line": 75, + "column": 10 } } }, { "type": { - "label": "num", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -21478,27 +21985,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 1, - "start": 1447, - "end": 1448, + "start": 1691, + "end": 1692, "loc": { "start": { - "line": 62, - "column": 39 + "line": 75, + "column": 11 }, "end": { - "line": 62, - "column": 40 + "line": 75, + "column": 12 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": "template", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -21508,49 +22013,49 @@ "binop": null, "updateContext": null }, - "start": 1449, - "end": 1450, + "value": "", + "start": 1692, + "end": 1692, "loc": { "start": { - "line": 62, - "column": 41 + "line": 75, + "column": 12 }, "end": { - "line": 62, - "column": 42 + "line": 75, + "column": 12 } } }, { "type": { - "label": "+/-", + "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, - "updateContext": null + "binop": null }, - "value": "-", - "start": 1451, - "end": 1452, + "start": 1692, + "end": 1694, "loc": { "start": { - "line": 62, - "column": 43 + "line": 75, + "column": 12 }, "end": { - "line": 62, - "column": 44 + "line": 75, + "column": 14 } } }, { "type": { - "label": "num", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -21561,49 +22066,48 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 1452, - "end": 1453, + "value": "this", + "start": 1694, + "end": 1698, "loc": { "start": { - "line": 62, - "column": 44 + "line": 75, + "column": 14 }, "end": { - "line": 62, - "column": 45 + "line": 75, + "column": 18 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1453, - "end": 1454, + "start": 1698, + "end": 1699, "loc": { "start": { - "line": 62, - "column": 45 + "line": 75, + "column": 18 }, "end": { - "line": 62, - "column": 46 + "line": 75, + "column": 19 } } }, { "type": { - "label": "}", + "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -21611,40 +22115,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1457, - "end": 1458, - "loc": { - "start": { - "line": 63, - "column": 2 - }, - "end": { - "line": 63, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Set this Long Count as being a negative Distance Number\n * @param newNegative\n ", - "start": 1462, - "end": 1556, + "value": "", + "start": 1699, + "end": 1699, "loc": { "start": { - "line": 65, - "column": 2 + "line": 75, + "column": 19 }, "end": { - "line": 68, - "column": 5 + "line": 75, + "column": 19 } } }, { "type": { - "label": "name", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -21654,50 +22144,50 @@ "postfix": false, "binop": null }, - "value": "set", - "start": 1559, - "end": 1562, + "start": 1699, + "end": 1700, "loc": { "start": { - "line": 69, - "column": 2 + "line": 75, + "column": 19 }, "end": { - "line": 69, - "column": 5 + "line": 75, + "column": 20 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 6, + "updateContext": null }, - "value": "isNegative", - "start": 1563, - "end": 1573, + "value": "===", + "start": 1701, + "end": 1704, "loc": { "start": { - "line": 69, - "column": 6 + "line": 75, + "column": 21 }, "end": { - "line": 69, - "column": 16 + "line": 75, + "column": 24 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "`", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -21706,50 +22196,51 @@ "postfix": false, "binop": null }, - "start": 1573, - "end": 1574, + "start": 1705, + "end": 1706, "loc": { "start": { - "line": 69, - "column": 16 + "line": 75, + "column": 25 }, "end": { - "line": 69, - "column": 17 + "line": 75, + "column": 26 } } }, { "type": { - "label": "name", + "label": "template", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "newNegative", - "start": 1574, - "end": 1585, + "value": "", + "start": 1706, + "end": 1706, "loc": { "start": { - "line": 69, - "column": 17 + "line": 75, + "column": 26 }, "end": { - "line": 69, - "column": 28 + "line": 75, + "column": 26 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "${", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21757,23 +22248,23 @@ "postfix": false, "binop": null }, - "start": 1585, - "end": 1586, + "start": 1706, + "end": 1708, "loc": { "start": { - "line": 69, - "column": 28 + "line": 75, + "column": 26 }, "end": { - "line": 69, - "column": 29 + "line": 75, + "column": 28 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -21782,50 +22273,48 @@ "postfix": false, "binop": null }, - "start": 1587, - "end": 1588, + "value": "other", + "start": 1708, + "end": 1713, "loc": { "start": { - "line": 69, - "column": 30 + "line": 75, + "column": 28 }, "end": { - "line": 69, - "column": 31 + "line": 75, + "column": 33 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1593, - "end": 1597, + "start": 1713, + "end": 1714, "loc": { "start": { - "line": 70, - "column": 4 + "line": 75, + "column": 33 }, "end": { - "line": 70, - "column": 8 + "line": 75, + "column": 34 } } }, { "type": { - "label": ".", + "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -21836,22 +22325,23 @@ "binop": null, "updateContext": null }, - "start": 1597, - "end": 1598, + "value": "", + "start": 1714, + "end": 1714, "loc": { "start": { - "line": 70, - "column": 8 + "line": 75, + "column": 34 }, "end": { - "line": 70, - "column": 9 + "line": 75, + "column": 34 } } }, { "type": { - "label": "name", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -21861,71 +22351,57 @@ "postfix": false, "binop": null }, - "value": "isPositive", - "start": 1598, - "end": 1608, + "start": 1714, + "end": 1715, "loc": { "start": { - "line": 70, - "column": 9 + "line": 75, + "column": 34 }, "end": { - "line": 70, - "column": 19 + "line": 75, + "column": 35 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1609, - "end": 1610, + "start": 1718, + "end": 1719, "loc": { "start": { - "line": 70, - "column": 20 + "line": 76, + "column": 2 }, "end": { - "line": 70, - "column": 21 + "line": 76, + "column": 3 } } }, { - "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "!", - "start": 1611, - "end": 1612, + "type": "CommentBlock", + "value": "*\n * Create a copy object of this long count fullDate\n * @returns {DistanceNumber}\n ", + "start": 1723, + "end": 1817, "loc": { "start": { - "line": 70, - "column": 22 + "line": 78, + "column": 2 }, "end": { - "line": 70, - "column": 23 + "line": 81, + "column": 5 } } }, @@ -21941,49 +22417,48 @@ "postfix": false, "binop": null }, - "value": "newNegative", - "start": 1612, - "end": 1623, + "value": "clone", + "start": 1820, + "end": 1825, "loc": { "start": { - "line": 70, - "column": 23 + "line": 82, + "column": 2 }, "end": { - "line": 70, - "column": 34 + "line": 82, + "column": 7 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1623, - "end": 1624, + "start": 1826, + "end": 1827, "loc": { "start": { - "line": 70, - "column": 34 + "line": 82, + "column": 8 }, "end": { - "line": 70, - "column": 35 + "line": 82, + "column": 9 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -21993,39 +22468,23 @@ "postfix": false, "binop": null }, - "start": 1627, - "end": 1628, - "loc": { - "start": { - "line": 71, - "column": 2 - }, - "end": { - "line": 71, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Given two long count dates, check if they are equal\n * @param {DistanceNumber} other\n * @return {boolean}\n ", - "start": 1632, - "end": 1756, + "start": 1827, + "end": 1828, "loc": { "start": { - "line": 73, - "column": 2 + "line": 82, + "column": 9 }, "end": { - "line": 77, - "column": 5 + "line": 82, + "column": 10 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -22034,76 +22493,80 @@ "postfix": false, "binop": null }, - "value": "equal", - "start": 1759, - "end": 1764, + "start": 1829, + "end": 1830, "loc": { "start": { - "line": 78, - "column": 2 + "line": 82, + "column": 11 }, "end": { - "line": 78, - "column": 7 + "line": 82, + "column": 12 } } }, { "type": { - "label": "(", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1764, - "end": 1765, + "value": "return", + "start": 1835, + "end": 1841, "loc": { "start": { - "line": 78, - "column": 7 + "line": 83, + "column": 4 }, "end": { - "line": 78, - "column": 8 + "line": 83, + "column": 10 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "other", - "start": 1765, - "end": 1770, + "value": "new", + "start": 1842, + "end": 1845, "loc": { "start": { - "line": 78, - "column": 8 + "line": 83, + "column": 11 }, "end": { - "line": 78, - "column": 13 + "line": 83, + "column": 14 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -22111,22 +22574,23 @@ "postfix": false, "binop": null }, - "start": 1770, - "end": 1771, + "value": "DistanceNumber", + "start": 1846, + "end": 1860, "loc": { "start": { - "line": 78, - "column": 13 + "line": 83, + "column": 15 }, "end": { - "line": 78, - "column": 14 + "line": 83, + "column": 29 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -22136,23 +22600,22 @@ "postfix": false, "binop": null }, - "start": 1772, - "end": 1773, + "start": 1860, + "end": 1861, "loc": { "start": { - "line": 78, - "column": 15 + "line": 83, + "column": 29 }, "end": { - "line": 78, - "column": 16 + "line": 83, + "column": 30 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "...", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -22163,23 +22626,23 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 1778, - "end": 1784, + "start": 1861, + "end": 1864, "loc": { "start": { - "line": 79, - "column": 4 + "line": 83, + "column": 30 }, "end": { - "line": 79, - "column": 10 + "line": 83, + "column": 33 } } }, { "type": { - "label": "`", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -22187,24 +22650,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1785, - "end": 1786, + "value": "this", + "start": 1864, + "end": 1868, "loc": { "start": { - "line": 79, - "column": 11 + "line": 83, + "column": 33 }, "end": { - "line": 79, - "column": 12 + "line": 83, + "column": 37 } } }, { "type": { - "label": "template", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -22215,24 +22680,23 @@ "binop": null, "updateContext": null }, - "value": "", - "start": 1786, - "end": 1786, + "start": 1868, + "end": 1869, "loc": { "start": { - "line": 79, - "column": 12 + "line": 83, + "column": 37 }, "end": { - "line": 79, - "column": 12 + "line": 83, + "column": 38 } } }, { "type": { - "label": "${", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -22241,44 +22705,42 @@ "postfix": false, "binop": null }, - "start": 1786, - "end": 1788, + "value": "parts", + "start": 1869, + "end": 1874, "loc": { "start": { - "line": 79, - "column": 12 + "line": 83, + "column": 38 }, "end": { - "line": 79, - "column": 14 + "line": 83, + "column": 43 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1788, - "end": 1792, + "start": 1874, + "end": 1875, "loc": { "start": { - "line": 79, - "column": 14 + "line": 83, + "column": 43 }, "end": { - "line": 79, - "column": 18 + "line": 83, + "column": 44 } } }, @@ -22294,49 +22756,89 @@ "postfix": false, "binop": null }, - "start": 1792, - "end": 1793, + "start": 1878, + "end": 1879, "loc": { "start": { - "line": 79, - "column": 18 + "line": 84, + "column": 2 }, "end": { - "line": 79, - "column": 19 + "line": 84, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Get specific column in Long Count fullDate\n * @param {number} index\n * @returns {number}\n ", + "start": 1883, + "end": 1990, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 90, + "column": 5 } } }, { "type": { - "label": "template", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "", - "start": 1793, - "end": 1793, + "value": "getDateSections", + "start": 1993, + "end": 2008, "loc": { "start": { - "line": 79, - "column": 19 + "line": 91, + "column": 2 + }, + "end": { + "line": 91, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2009, + "end": 2010, + "loc": { + "start": { + "line": 91, + "column": 18 }, "end": { - "line": 79, + "line": 91, "column": 19 } } }, { "type": { - "label": "`", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -22346,50 +22848,49 @@ "postfix": false, "binop": null }, - "start": 1793, - "end": 1794, + "value": "index", + "start": 2010, + "end": 2015, "loc": { "start": { - "line": 79, + "line": 91, "column": 19 }, "end": { - "line": 79, - "column": 20 + "line": 91, + "column": 24 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "===", - "start": 1795, - "end": 1798, + "start": 2015, + "end": 2016, "loc": { "start": { - "line": 79, - "column": 21 + "line": 91, + "column": 24 }, "end": { - "line": 79, - "column": 24 + "line": 91, + "column": 25 } } }, { - "type": { - "label": "`", - "beforeExpr": false, + "type": { + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -22398,22 +22899,23 @@ "postfix": false, "binop": null }, - "start": 1799, - "end": 1800, + "start": 2017, + "end": 2018, "loc": { "start": { - "line": 79, - "column": 25 + "line": 91, + "column": 26 }, "end": { - "line": 79, - "column": 26 + "line": 91, + "column": 27 } } }, { "type": { - "label": "template", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -22424,24 +22926,24 @@ "binop": null, "updateContext": null }, - "value": "", - "start": 1800, - "end": 1800, + "value": "const", + "start": 2023, + "end": 2028, "loc": { "start": { - "line": 79, - "column": 26 + "line": 92, + "column": 4 }, "end": { - "line": 79, - "column": 26 + "line": 92, + "column": 9 } } }, { "type": { - "label": "${", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -22450,73 +22952,78 @@ "postfix": false, "binop": null }, - "start": 1800, - "end": 1802, + "value": "part", + "start": 2029, + "end": 2033, "loc": { "start": { - "line": 79, - "column": 26 + "line": 92, + "column": 10 }, "end": { - "line": 79, - "column": 28 + "line": 92, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "other", - "start": 1802, - "end": 1807, + "value": "=", + "start": 2034, + "end": 2035, "loc": { "start": { - "line": 79, - "column": 28 + "line": 92, + "column": 15 }, "end": { - "line": 79, - "column": 33 + "line": 92, + "column": 16 } } }, { "type": { - "label": "}", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1807, - "end": 1808, + "value": "this", + "start": 2036, + "end": 2040, "loc": { "start": { - "line": 79, - "column": 33 + "line": 92, + "column": 17 }, "end": { - "line": 79, - "column": 34 + "line": 92, + "column": 21 } } }, { "type": { - "label": "template", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -22527,23 +23034,22 @@ "binop": null, "updateContext": null }, - "value": "", - "start": 1808, - "end": 1808, + "start": 2040, + "end": 2041, "loc": { "start": { - "line": 79, - "column": 34 + "line": 92, + "column": 21 }, "end": { - "line": 79, - "column": 34 + "line": 92, + "column": 22 } } }, { "type": { - "label": "`", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -22553,24 +23059,25 @@ "postfix": false, "binop": null }, - "start": 1808, - "end": 1809, + "value": "parts", + "start": 2041, + "end": 2046, "loc": { "start": { - "line": 79, - "column": 34 + "line": 92, + "column": 22 }, "end": { - "line": 79, - "column": 35 + "line": 92, + "column": 27 } } }, { "type": { - "label": ";", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -22579,24 +23086,24 @@ "binop": null, "updateContext": null }, - "start": 1809, - "end": 1810, + "start": 2046, + "end": 2047, "loc": { "start": { - "line": 79, - "column": 35 + "line": 92, + "column": 27 }, "end": { - "line": 79, - "column": 36 + "line": 92, + "column": 28 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -22604,58 +23111,71 @@ "postfix": false, "binop": null }, - "start": 1813, - "end": 1814, + "value": "index", + "start": 2047, + "end": 2052, "loc": { "start": { - "line": 80, - "column": 2 + "line": 92, + "column": 28 }, "end": { - "line": 80, - "column": 3 + "line": 92, + "column": 33 } } }, { - "type": "CommentBlock", - "value": "*\n * Create a copy object of this long count fullDate\n * @returns {DistanceNumber}\n ", - "start": 1818, - "end": 1912, + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2052, + "end": 2053, "loc": { "start": { - "line": 82, - "column": 2 + "line": 92, + "column": 33 }, "end": { - "line": 85, - "column": 5 + "line": 92, + "column": 34 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "clone", - "start": 1915, - "end": 1920, + "value": "if", + "start": 2058, + "end": 2060, "loc": { "start": { - "line": 86, - "column": 2 + "line": 93, + "column": 4 }, "end": { - "line": 86, - "column": 7 + "line": 93, + "column": 6 } } }, @@ -22671,24 +23191,24 @@ "postfix": false, "binop": null }, - "start": 1920, - "end": 1921, + "start": 2061, + "end": 2062, "loc": { "start": { - "line": 86, + "line": 93, "column": 7 }, "end": { - "line": 86, + "line": 93, "column": 8 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -22696,104 +23216,102 @@ "postfix": false, "binop": null }, - "start": 1921, - "end": 1922, + "value": "part", + "start": 2062, + "end": 2066, "loc": { "start": { - "line": 86, + "line": 93, "column": 8 }, "end": { - "line": 86, - "column": 9 + "line": 93, + "column": 12 } } }, { "type": { - "label": "{", + "label": "==/!=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 6, + "updateContext": null }, - "start": 1923, - "end": 1924, + "value": "===", + "start": 2067, + "end": 2070, "loc": { "start": { - "line": 86, - "column": 10 + "line": 93, + "column": 13 }, "end": { - "line": 86, - "column": 11 + "line": 93, + "column": 16 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 1929, - "end": 1935, + "value": "undefined", + "start": 2071, + "end": 2080, "loc": { "start": { - "line": 87, - "column": 4 + "line": 93, + "column": 17 }, "end": { - "line": 87, - "column": 10 + "line": 93, + "column": 26 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 1936, - "end": 1939, + "start": 2080, + "end": 2081, "loc": { "start": { - "line": 87, - "column": 11 + "line": 93, + "column": 26 }, "end": { - "line": 87, - "column": 14 + "line": 93, + "column": 27 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -22802,50 +23320,52 @@ "postfix": false, "binop": null }, - "value": "DistanceNumber", - "start": 1940, - "end": 1954, + "start": 2082, + "end": 2083, "loc": { "start": { - "line": 87, - "column": 15 + "line": 93, + "column": 28 }, "end": { - "line": 87, + "line": 93, "column": 29 } } }, { "type": { - "label": "(", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1954, - "end": 1955, + "value": "return", + "start": 2090, + "end": 2096, "loc": { "start": { - "line": 87, - "column": 29 + "line": 94, + "column": 6 }, "end": { - "line": 87, - "column": 30 + "line": 94, + "column": 12 } } }, { "type": { - "label": "...", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -22854,51 +23374,50 @@ "binop": null, "updateContext": null }, - "start": 1955, - "end": 1958, + "value": 0, + "start": 2097, + "end": 2098, "loc": { "start": { - "line": 87, - "column": 30 + "line": 94, + "column": 13 }, "end": { - "line": 87, - "column": 33 + "line": 94, + "column": 14 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 1958, - "end": 1962, + "start": 2103, + "end": 2104, "loc": { "start": { - "line": 87, - "column": 33 + "line": 95, + "column": 4 }, "end": { - "line": 87, - "column": 37 + "line": 95, + "column": 5 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -22908,16 +23427,17 @@ "binop": null, "updateContext": null }, - "start": 1962, - "end": 1963, + "value": "return", + "start": 2109, + "end": 2115, "loc": { "start": { - "line": 87, - "column": 37 + "line": 96, + "column": 4 }, "end": { - "line": 87, - "column": 38 + "line": 96, + "column": 10 } } }, @@ -22933,23 +23453,23 @@ "postfix": false, "binop": null }, - "value": "parts", - "start": 1963, - "end": 1968, + "value": "part", + "start": 2116, + "end": 2120, "loc": { "start": { - "line": 87, - "column": 38 + "line": 96, + "column": 11 }, "end": { - "line": 87, - "column": 43 + "line": 96, + "column": 15 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -22959,50 +23479,40 @@ "postfix": false, "binop": null }, - "start": 1968, - "end": 1969, + "start": 2123, + "end": 2124, "loc": { "start": { - "line": 87, - "column": 43 + "line": 97, + "column": 2 }, "end": { - "line": 87, - "column": 44 + "line": 97, + "column": 3 } } }, { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1969, - "end": 1970, + "type": "CommentBlock", + "value": "*\n * Set specific column in Long Count fullDate\n * @param {number} index\n * @param {number|wildcard} newValue\n * @returns {DistanceNumber}\n ", + "start": 2128, + "end": 2282, "loc": { "start": { - "line": 87, - "column": 44 + "line": 99, + "column": 2 }, "end": { - "line": 87, - "column": 45 + "line": 104, + "column": 5 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23010,32 +23520,42 @@ "postfix": false, "binop": null }, - "start": 1973, - "end": 1974, + "value": "setDateSections", + "start": 2285, + "end": 2300, "loc": { "start": { - "line": 88, + "line": 105, "column": 2 }, "end": { - "line": 88, - "column": 3 + "line": 105, + "column": 17 } } }, { - "type": "CommentBlock", - "value": "*\n * Get specific column in Long Count fullDate\n * @param {number} index\n * @returns {number}\n ", - "start": 1978, - "end": 2085, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2301, + "end": 2302, "loc": { "start": { - "line": 90, - "column": 2 + "line": 105, + "column": 18 }, "end": { - "line": 94, - "column": 5 + "line": 105, + "column": 19 } } }, @@ -23051,42 +23571,43 @@ "postfix": false, "binop": null }, - "value": "getDateSections", - "start": 2088, - "end": 2103, + "value": "index", + "start": 2302, + "end": 2307, "loc": { "start": { - "line": 95, - "column": 2 + "line": 105, + "column": 19 }, "end": { - "line": 95, - "column": 17 + "line": 105, + "column": 24 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2103, - "end": 2104, + "start": 2307, + "end": 2308, "loc": { "start": { - "line": 95, - "column": 17 + "line": 105, + "column": 24 }, "end": { - "line": 95, - "column": 18 + "line": 105, + "column": 25 } } }, @@ -23102,17 +23623,17 @@ "postfix": false, "binop": null }, - "value": "index", - "start": 2104, - "end": 2109, + "value": "newValue", + "start": 2309, + "end": 2317, "loc": { "start": { - "line": 95, - "column": 18 + "line": 105, + "column": 26 }, "end": { - "line": 95, - "column": 23 + "line": 105, + "column": 34 } } }, @@ -23128,16 +23649,16 @@ "postfix": false, "binop": null }, - "start": 2109, - "end": 2110, + "start": 2317, + "end": 2318, "loc": { "start": { - "line": 95, - "column": 23 + "line": 105, + "column": 34 }, "end": { - "line": 95, - "column": 24 + "line": 105, + "column": 35 } } }, @@ -23153,25 +23674,25 @@ "postfix": false, "binop": null }, - "start": 2111, - "end": 2112, + "start": 2319, + "end": 2320, "loc": { "start": { - "line": 95, - "column": 25 + "line": 105, + "column": 36 }, "end": { - "line": 95, - "column": 26 + "line": 105, + "column": 37 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23180,16 +23701,42 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 2117, - "end": 2122, + "value": "this", + "start": 2325, + "end": 2329, "loc": { "start": { - "line": 96, + "line": 106, "column": 4 }, "end": { - "line": 96, + "line": 106, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2329, + "end": 2330, + "loc": { + "start": { + "line": 106, + "column": 8 + }, + "end": { + "line": 106, "column": 9 } } @@ -23206,51 +23753,49 @@ "postfix": false, "binop": null }, - "value": "part", - "start": 2123, - "end": 2127, + "value": "parts", + "start": 2330, + "end": 2335, "loc": { "start": { - "line": 96, - "column": 10 + "line": 106, + "column": 9 }, "end": { - "line": 96, + "line": 106, "column": 14 } } }, { "type": { - "label": "=", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 2128, - "end": 2129, + "start": 2335, + "end": 2336, "loc": { "start": { - "line": 96, - "column": 15 + "line": 106, + "column": 14 }, "end": { - "line": 96, - "column": 16 + "line": 106, + "column": 15 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -23258,26 +23803,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2130, - "end": 2134, + "value": "index", + "start": 2336, + "end": 2341, "loc": { "start": { - "line": 96, - "column": 17 + "line": 106, + "column": 15 }, "end": { - "line": 96, - "column": 21 + "line": 106, + "column": 20 } } }, { "type": { - "label": ".", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -23288,48 +23832,49 @@ "binop": null, "updateContext": null }, - "start": 2134, - "end": 2135, + "start": 2341, + "end": 2342, "loc": { "start": { - "line": 96, - "column": 21 + "line": 106, + "column": 20 }, "end": { - "line": 96, - "column": 22 + "line": 106, + "column": 21 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "parts", - "start": 2135, - "end": 2140, + "value": "=", + "start": 2343, + "end": 2344, "loc": { "start": { - "line": 96, + "line": 106, "column": 22 }, "end": { - "line": 96, - "column": 27 + "line": 106, + "column": 23 } } }, { "type": { - "label": "[", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -23337,19 +23882,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2140, - "end": 2141, + "start": 2345, + "end": 2346, "loc": { "start": { - "line": 96, - "column": 27 + "line": 106, + "column": 24 }, "end": { - "line": 96, - "column": 28 + "line": 106, + "column": 25 } } }, @@ -23365,76 +23909,76 @@ "postfix": false, "binop": null }, - "value": "index", - "start": 2141, - "end": 2146, + "value": "newValue", + "start": 2346, + "end": 2354, "loc": { "start": { - "line": 96, - "column": 28 + "line": 106, + "column": 25 }, "end": { - "line": 96, + "line": 106, "column": 33 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": "==/!=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 2146, - "end": 2147, + "value": "!==", + "start": 2355, + "end": 2358, "loc": { "start": { - "line": 96, - "column": 33 + "line": 106, + "column": 34 }, "end": { - "line": 96, - "column": 34 + "line": 106, + "column": 37 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2147, - "end": 2148, + "value": "wildcard", + "start": 2359, + "end": 2367, "loc": { "start": { - "line": 96, - "column": 34 + "line": 106, + "column": 38 }, "end": { - "line": 96, - "column": 35 + "line": 106, + "column": 46 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -23442,45 +23986,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 2153, - "end": 2155, + "start": 2367, + "end": 2368, "loc": { "start": { - "line": 97, - "column": 4 + "line": 106, + "column": 46 }, "end": { - "line": 97, - "column": 6 + "line": 106, + "column": 47 } } }, { "type": { - "label": "(", + "label": "?", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2156, - "end": 2157, + "start": 2369, + "end": 2370, "loc": { "start": { - "line": 97, - "column": 7 + "line": 106, + "column": 48 }, "end": { - "line": 97, - "column": 8 + "line": 106, + "column": 49 } } }, @@ -23496,23 +24039,23 @@ "postfix": false, "binop": null }, - "value": "part", - "start": 2157, - "end": 2161, + "value": "newValue", + "start": 2371, + "end": 2379, "loc": { "start": { - "line": 97, - "column": 8 + "line": 106, + "column": 50 }, "end": { - "line": 97, - "column": 12 + "line": 106, + "column": 58 } } }, { "type": { - "label": "==/!=", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -23520,20 +24063,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "===", - "start": 2162, - "end": 2165, + "start": 2380, + "end": 2381, "loc": { "start": { - "line": 97, - "column": 13 + "line": 106, + "column": 59 }, "end": { - "line": 97, - "column": 16 + "line": 106, + "column": 60 } } }, @@ -23549,25 +24091,25 @@ "postfix": false, "binop": null }, - "value": "undefined", - "start": 2166, - "end": 2175, + "value": "parseInt", + "start": 2382, + "end": 2390, "loc": { "start": { - "line": 97, - "column": 17 + "line": 106, + "column": 61 }, "end": { - "line": 97, - "column": 26 + "line": 106, + "column": 69 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23575,23 +24117,23 @@ "postfix": false, "binop": null }, - "start": 2175, - "end": 2176, + "start": 2390, + "end": 2391, "loc": { "start": { - "line": 97, - "column": 26 + "line": 106, + "column": 69 }, "end": { - "line": 97, - "column": 27 + "line": 106, + "column": 70 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -23600,23 +24142,23 @@ "postfix": false, "binop": null }, - "start": 2177, - "end": 2178, + "value": "newValue", + "start": 2391, + "end": 2399, "loc": { "start": { - "line": 97, - "column": 28 + "line": 106, + "column": 70 }, "end": { - "line": 97, - "column": 29 + "line": 106, + "column": 78 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -23627,17 +24169,16 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 2185, - "end": 2191, + "start": 2399, + "end": 2400, "loc": { "start": { - "line": 98, - "column": 6 + "line": 106, + "column": 78 }, "end": { - "line": 98, - "column": 12 + "line": 106, + "column": 79 } } }, @@ -23654,49 +24195,23 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 2192, - "end": 2193, - "loc": { - "start": { - "line": 98, - "column": 13 - }, - "end": { - "line": 98, - "column": 14 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2193, - "end": 2194, + "value": 10, + "start": 2407, + "end": 2409, "loc": { "start": { - "line": 98, - "column": 14 + "line": 107, + "column": 6 }, "end": { - "line": 98, - "column": 15 + "line": 107, + "column": 8 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -23706,16 +24221,16 @@ "postfix": false, "binop": null }, - "start": 2199, - "end": 2200, + "start": 2409, + "end": 2410, "loc": { "start": { - "line": 99, - "column": 4 + "line": 107, + "column": 8 }, "end": { - "line": 99, - "column": 5 + "line": 107, + "column": 9 } } }, @@ -23734,22 +24249,23 @@ "updateContext": null }, "value": "return", - "start": 2205, - "end": 2211, + "start": 2415, + "end": 2421, "loc": { "start": { - "line": 100, + "line": 108, "column": 4 }, "end": { - "line": 100, + "line": 108, "column": 10 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -23757,45 +24273,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "value": "part", - "start": 2212, - "end": 2216, - "loc": { - "start": { - "line": 100, - "column": 11 - }, - "end": { - "line": 100, - "column": 15 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "start": 2216, - "end": 2217, + "value": "this", + "start": 2422, + "end": 2426, "loc": { "start": { - "line": 100, - "column": 15 + "line": 108, + "column": 11 }, "end": { - "line": 100, - "column": 16 + "line": 108, + "column": 15 } } }, @@ -23811,31 +24302,31 @@ "postfix": false, "binop": null }, - "start": 2220, - "end": 2221, + "start": 2429, + "end": 2430, "loc": { "start": { - "line": 101, + "line": 109, "column": 2 }, "end": { - "line": 101, + "line": 109, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Set specific column in Long Count fullDate\n * @param {number} index\n * @param {number|wildcard} newValue\n * @returns {DistanceNumber}\n ", - "start": 2225, - "end": 2379, + "value": "*\n * Pass the map down to the parts\n * @param fn\n * @return {object[]}\n ", + "start": 2434, + "end": 2518, "loc": { "start": { - "line": 103, + "line": 111, "column": 2 }, "end": { - "line": 108, + "line": 115, "column": 5 } } @@ -23852,17 +24343,17 @@ "postfix": false, "binop": null }, - "value": "setDateSections", - "start": 2382, - "end": 2397, + "value": "map", + "start": 2521, + "end": 2524, "loc": { "start": { - "line": 109, + "line": 116, "column": 2 }, "end": { - "line": 109, - "column": 17 + "line": 116, + "column": 5 } } }, @@ -23878,16 +24369,16 @@ "postfix": false, "binop": null }, - "start": 2397, - "end": 2398, + "start": 2525, + "end": 2526, "loc": { "start": { - "line": 109, - "column": 17 + "line": 116, + "column": 6 }, "end": { - "line": 109, - "column": 18 + "line": 116, + "column": 7 } } }, @@ -23903,50 +24394,49 @@ "postfix": false, "binop": null }, - "value": "index", - "start": 2398, - "end": 2403, + "value": "fn", + "start": 2526, + "end": 2528, "loc": { "start": { - "line": 109, - "column": 18 + "line": 116, + "column": 7 }, "end": { - "line": 109, - "column": 23 + "line": 116, + "column": 9 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2403, - "end": 2404, + "start": 2528, + "end": 2529, "loc": { "start": { - "line": 109, - "column": 23 + "line": 116, + "column": 9 }, "end": { - "line": 109, - "column": 24 + "line": 116, + "column": 10 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -23955,76 +24445,80 @@ "postfix": false, "binop": null }, - "value": "newValue", - "start": 2405, - "end": 2413, + "start": 2530, + "end": 2531, "loc": { "start": { - "line": 109, - "column": 25 + "line": 116, + "column": 11 }, "end": { - "line": 109, - "column": 33 + "line": 116, + "column": 12 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2413, - "end": 2414, + "value": "return", + "start": 2536, + "end": 2542, "loc": { "start": { - "line": 109, - "column": 33 + "line": 117, + "column": 4 }, "end": { - "line": 109, - "column": 34 + "line": 117, + "column": 10 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2415, - "end": 2416, + "value": "this", + "start": 2543, + "end": 2547, "loc": { "start": { - "line": 109, - "column": 35 + "line": 117, + "column": 11 }, "end": { - "line": 109, - "column": 36 + "line": 117, + "column": 15 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24033,17 +24527,42 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 2421, - "end": 2425, + "start": 2547, + "end": 2548, "loc": { "start": { - "line": 110, - "column": 4 + "line": 117, + "column": 15 }, "end": { - "line": 110, - "column": 8 + "line": 117, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "parts", + "start": 2548, + "end": 2553, + "loc": { + "start": { + "line": 117, + "column": 16 + }, + "end": { + "line": 117, + "column": 21 } } }, @@ -24060,16 +24579,16 @@ "binop": null, "updateContext": null }, - "start": 2425, - "end": 2426, + "start": 2553, + "end": 2554, "loc": { "start": { - "line": 110, - "column": 8 + "line": 117, + "column": 21 }, "end": { - "line": 110, - "column": 9 + "line": 117, + "column": 22 } } }, @@ -24085,23 +24604,23 @@ "postfix": false, "binop": null }, - "value": "parts", - "start": 2426, - "end": 2431, + "value": "map", + "start": 2554, + "end": 2557, "loc": { "start": { - "line": 110, - "column": 9 + "line": 117, + "column": 22 }, "end": { - "line": 110, - "column": 14 + "line": 117, + "column": 25 } } }, { "type": { - "label": "[", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -24109,19 +24628,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2431, - "end": 2432, + "start": 2557, + "end": 2558, "loc": { "start": { - "line": 110, - "column": 14 + "line": 117, + "column": 25 }, "end": { - "line": 110, - "column": 15 + "line": 117, + "column": 26 } } }, @@ -24137,23 +24655,23 @@ "postfix": false, "binop": null }, - "value": "index", - "start": 2432, - "end": 2437, + "value": "fn", + "start": 2558, + "end": 2560, "loc": { "start": { - "line": 110, - "column": 15 + "line": 117, + "column": 26 }, "end": { - "line": 110, - "column": 20 + "line": 117, + "column": 28 } } }, { "type": { - "label": "]", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -24161,71 +24679,59 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2437, - "end": 2438, + "start": 2560, + "end": 2561, "loc": { "start": { - "line": 110, - "column": 20 + "line": 117, + "column": 28 }, "end": { - "line": 110, - "column": 21 + "line": 117, + "column": 29 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 2439, - "end": 2440, + "start": 2564, + "end": 2565, "loc": { "start": { - "line": 110, - "column": 22 + "line": 118, + "column": 2 }, "end": { - "line": 110, - "column": 23 + "line": 118, + "column": 3 } } }, { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2441, - "end": 2442, + "type": "CommentBlock", + "value": "*\n * Compare if this LC is greater than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n ", + "start": 2569, + "end": 2700, "loc": { "start": { - "line": 110, - "column": 24 + "line": 120, + "column": 2 }, "end": { - "line": 110, - "column": 25 + "line": 124, + "column": 5 } } }, @@ -24241,44 +24747,42 @@ "postfix": false, "binop": null }, - "value": "newValue", - "start": 2442, - "end": 2450, + "value": "lt", + "start": 2703, + "end": 2705, "loc": { "start": { - "line": 110, - "column": 25 + "line": 125, + "column": 2 }, "end": { - "line": 110, - "column": 33 + "line": 125, + "column": 4 } } }, { "type": { - "label": "==/!=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, - "updateContext": null + "binop": null }, - "value": "!==", - "start": 2451, - "end": 2454, + "start": 2706, + "end": 2707, "loc": { "start": { - "line": 110, - "column": 34 + "line": 125, + "column": 5 }, "end": { - "line": 110, - "column": 37 + "line": 125, + "column": 6 } } }, @@ -24294,17 +24798,17 @@ "postfix": false, "binop": null }, - "value": "wildcard", - "start": 2455, - "end": 2463, + "value": "newLongCount", + "start": 2707, + "end": 2719, "loc": { "start": { - "line": 110, - "column": 38 + "line": 125, + "column": 6 }, "end": { - "line": 110, - "column": 46 + "line": 125, + "column": 18 } } }, @@ -24320,76 +24824,78 @@ "postfix": false, "binop": null }, - "start": 2463, - "end": 2464, + "start": 2719, + "end": 2720, "loc": { "start": { - "line": 110, - "column": 46 + "line": 125, + "column": 18 }, "end": { - "line": 110, - "column": 47 + "line": 125, + "column": 19 } } }, { "type": { - "label": "?", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2465, - "end": 2466, + "start": 2721, + "end": 2722, "loc": { "start": { - "line": 110, - "column": 48 + "line": 125, + "column": 20 }, "end": { - "line": 110, - "column": 49 + "line": 125, + "column": 21 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "newValue", - "start": 2467, - "end": 2475, + "value": "return", + "start": 2727, + "end": 2733, "loc": { "start": { - "line": 110, - "column": 50 + "line": 126, + "column": 4 }, "end": { - "line": 110, - "column": 58 + "line": 126, + "column": 10 } } }, { "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24398,49 +24904,50 @@ "binop": null, "updateContext": null }, - "start": 2476, - "end": 2477, + "value": "this", + "start": 2734, + "end": 2738, "loc": { "start": { - "line": 110, - "column": 59 + "line": 126, + "column": 11 }, "end": { - "line": 110, - "column": 60 + "line": 126, + "column": 15 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "parseInt", - "start": 2478, - "end": 2486, + "start": 2738, + "end": 2739, "loc": { "start": { - "line": 110, - "column": 61 + "line": 126, + "column": 15 }, "end": { - "line": 110, - "column": 69 + "line": 126, + "column": 16 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -24449,23 +24956,24 @@ "postfix": false, "binop": null }, - "start": 2486, - "end": 2487, + "value": "getPosition", + "start": 2739, + "end": 2750, "loc": { "start": { - "line": 110, - "column": 69 + "line": 126, + "column": 16 }, "end": { - "line": 110, - "column": 70 + "line": 126, + "column": 27 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -24474,78 +24982,76 @@ "postfix": false, "binop": null }, - "value": "newValue", - "start": 2487, - "end": 2495, + "start": 2750, + "end": 2751, "loc": { "start": { - "line": 110, - "column": 70 + "line": 126, + "column": 27 }, "end": { - "line": 110, - "column": 78 + "line": 126, + "column": 28 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2495, - "end": 2496, + "start": 2751, + "end": 2752, "loc": { "start": { - "line": 110, - "column": 78 + "line": 126, + "column": 28 }, "end": { - "line": 110, - "column": 79 + "line": 126, + "column": 29 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": "", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 7, "updateContext": null }, - "value": 10, - "start": 2497, - "end": 2499, + "value": "<", + "start": 2753, + "end": 2754, "loc": { "start": { - "line": 110, - "column": 80 + "line": 126, + "column": 30 }, "end": { - "line": 110, - "column": 82 + "line": 126, + "column": 31 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24553,23 +25059,24 @@ "postfix": false, "binop": null }, - "start": 2499, - "end": 2500, + "value": "newLongCount", + "start": 2755, + "end": 2767, "loc": { "start": { - "line": 110, - "column": 82 + "line": 126, + "column": 32 }, "end": { - "line": 110, - "column": 83 + "line": 126, + "column": 44 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -24579,98 +25086,92 @@ "binop": null, "updateContext": null }, - "start": 2500, - "end": 2501, + "start": 2767, + "end": 2768, "loc": { "start": { - "line": 110, - "column": 83 + "line": 126, + "column": 44 }, "end": { - "line": 110, - "column": 84 + "line": 126, + "column": 45 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 2506, - "end": 2512, + "value": "getPosition", + "start": 2768, + "end": 2779, "loc": { "start": { - "line": 111, - "column": 4 + "line": 126, + "column": 45 }, "end": { - "line": 111, - "column": 10 + "line": 126, + "column": 56 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2513, - "end": 2517, + "start": 2779, + "end": 2780, "loc": { "start": { - "line": 111, - "column": 11 + "line": 126, + "column": 56 }, "end": { - "line": 111, - "column": 15 + "line": 126, + "column": 57 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2517, - "end": 2518, + "start": 2780, + "end": 2781, "loc": { "start": { - "line": 111, - "column": 15 + "line": 126, + "column": 57 }, "end": { - "line": 111, - "column": 16 + "line": 126, + "column": 58 } } }, @@ -24686,31 +25187,31 @@ "postfix": false, "binop": null }, - "start": 2521, - "end": 2522, + "start": 2784, + "end": 2785, "loc": { "start": { - "line": 112, + "line": 127, "column": 2 }, "end": { - "line": 112, + "line": 127, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Pass the map down to the parts\n * @param fn\n * @return {object[]}\n ", - "start": 2526, - "end": 2610, + "value": "*\n * Compare is this LC is less than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n ", + "start": 2789, + "end": 2917, "loc": { "start": { - "line": 114, + "line": 129, "column": 2 }, "end": { - "line": 118, + "line": 133, "column": 5 } } @@ -24727,17 +25228,17 @@ "postfix": false, "binop": null }, - "value": "map", - "start": 2613, - "end": 2616, + "value": "gt", + "start": 2920, + "end": 2922, "loc": { "start": { - "line": 119, + "line": 134, "column": 2 }, "end": { - "line": 119, - "column": 5 + "line": 134, + "column": 4 } } }, @@ -24753,15 +25254,15 @@ "postfix": false, "binop": null }, - "start": 2616, - "end": 2617, + "start": 2923, + "end": 2924, "loc": { "start": { - "line": 119, + "line": 134, "column": 5 }, "end": { - "line": 119, + "line": 134, "column": 6 } } @@ -24778,17 +25279,17 @@ "postfix": false, "binop": null }, - "value": "fn", - "start": 2617, - "end": 2619, + "value": "newLongCount", + "start": 2924, + "end": 2936, "loc": { "start": { - "line": 119, + "line": 134, "column": 6 }, "end": { - "line": 119, - "column": 8 + "line": 134, + "column": 18 } } }, @@ -24804,16 +25305,16 @@ "postfix": false, "binop": null }, - "start": 2619, - "end": 2620, + "start": 2936, + "end": 2937, "loc": { "start": { - "line": 119, - "column": 8 + "line": 134, + "column": 18 }, "end": { - "line": 119, - "column": 9 + "line": 134, + "column": 19 } } }, @@ -24829,16 +25330,16 @@ "postfix": false, "binop": null }, - "start": 2621, - "end": 2622, + "start": 2938, + "end": 2939, "loc": { "start": { - "line": 119, - "column": 10 + "line": 134, + "column": 20 }, "end": { - "line": 119, - "column": 11 + "line": 134, + "column": 21 } } }, @@ -24857,15 +25358,15 @@ "updateContext": null }, "value": "return", - "start": 2627, - "end": 2633, + "start": 2944, + "end": 2950, "loc": { "start": { - "line": 120, + "line": 135, "column": 4 }, "end": { - "line": 120, + "line": 135, "column": 10 } } @@ -24885,15 +25386,15 @@ "updateContext": null }, "value": "this", - "start": 2634, - "end": 2638, + "start": 2951, + "end": 2955, "loc": { "start": { - "line": 120, + "line": 135, "column": 11 }, "end": { - "line": 120, + "line": 135, "column": 15 } } @@ -24911,15 +25412,15 @@ "binop": null, "updateContext": null }, - "start": 2638, - "end": 2639, + "start": 2955, + "end": 2956, "loc": { "start": { - "line": 120, + "line": 135, "column": 15 }, "end": { - "line": 120, + "line": 135, "column": 16 } } @@ -24936,51 +25437,50 @@ "postfix": false, "binop": null }, - "value": "parts", - "start": 2639, - "end": 2644, + "value": "getPosition", + "start": 2956, + "end": 2967, "loc": { "start": { - "line": 120, + "line": 135, "column": 16 }, "end": { - "line": 120, - "column": 21 + "line": 135, + "column": 27 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2644, - "end": 2645, + "start": 2967, + "end": 2968, "loc": { "start": { - "line": 120, - "column": 21 + "line": 135, + "column": 27 }, "end": { - "line": 120, - "column": 22 + "line": 135, + "column": 28 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24988,42 +25488,43 @@ "postfix": false, "binop": null }, - "value": "map", - "start": 2645, - "end": 2648, + "start": 2968, + "end": 2969, "loc": { "start": { - "line": 120, - "column": 22 + "line": 135, + "column": 28 }, "end": { - "line": 120, - "column": 25 + "line": 135, + "column": 29 } } }, { "type": { - "label": "(", + "label": "", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 7, + "updateContext": null }, - "start": 2648, - "end": 2649, + "value": ">", + "start": 2970, + "end": 2971, "loc": { "start": { - "line": 120, - "column": 25 + "line": 135, + "column": 30 }, "end": { - "line": 120, - "column": 26 + "line": 135, + "column": 31 } } }, @@ -25039,23 +25540,23 @@ "postfix": false, "binop": null }, - "value": "fn", - "start": 2649, - "end": 2651, + "value": "newLongCount", + "start": 2972, + "end": 2984, "loc": { "start": { - "line": 120, - "column": 26 + "line": 135, + "column": 32 }, "end": { - "line": 120, - "column": 28 + "line": 135, + "column": 44 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -25063,52 +25564,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "start": 2651, - "end": 2652, - "loc": { - "start": { - "line": 120, - "column": 28 - }, - "end": { - "line": 120, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "start": 2652, - "end": 2653, + "start": 2984, + "end": 2985, "loc": { "start": { - "line": 120, - "column": 29 + "line": 135, + "column": 44 }, "end": { - "line": 120, - "column": 30 + "line": 135, + "column": 45 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25116,39 +25592,24 @@ "postfix": false, "binop": null }, - "start": 2656, - "end": 2657, - "loc": { - "start": { - "line": 121, - "column": 2 - }, - "end": { - "line": 121, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Compare if this LC is greater than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n ", - "start": 2661, - "end": 2792, + "value": "getPosition", + "start": 2985, + "end": 2996, "loc": { "start": { - "line": 123, - "column": 2 + "line": 135, + "column": 45 }, "end": { - "line": 127, - "column": 5 + "line": 135, + "column": 56 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -25157,25 +25618,24 @@ "postfix": false, "binop": null }, - "value": "lt", - "start": 2795, - "end": 2797, + "start": 2996, + "end": 2997, "loc": { "start": { - "line": 128, - "column": 2 + "line": 135, + "column": 56 }, "end": { - "line": 128, - "column": 4 + "line": 135, + "column": 57 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25183,24 +25643,24 @@ "postfix": false, "binop": null }, - "start": 2797, - "end": 2798, + "start": 2997, + "end": 2998, "loc": { "start": { - "line": 128, - "column": 4 + "line": 135, + "column": 57 }, "end": { - "line": 128, - "column": 5 + "line": 135, + "column": 58 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25208,49 +25668,39 @@ "postfix": false, "binop": null }, - "value": "newLongCount", - "start": 2798, - "end": 2810, + "start": 3001, + "end": 3002, "loc": { "start": { - "line": 128, - "column": 5 + "line": 136, + "column": 2 }, "end": { - "line": 128, - "column": 17 + "line": 136, + "column": 3 } } }, { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2810, - "end": 2811, + "type": "CommentBlock", + "value": "*\n * Set the k'in component of the fullDate\n ", + "start": 3006, + "end": 3059, "loc": { "start": { - "line": 128, - "column": 17 + "line": 138, + "column": 2 }, "end": { - "line": 128, - "column": 18 + "line": 140, + "column": 5 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -25259,106 +25709,102 @@ "postfix": false, "binop": null }, - "start": 2812, - "end": 2813, + "value": "set", + "start": 3062, + "end": 3065, "loc": { "start": { - "line": 128, - "column": 19 + "line": 141, + "column": 2 }, "end": { - "line": 128, - "column": 20 + "line": 141, + "column": 5 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 2818, - "end": 2824, + "value": "kIn", + "start": 3066, + "end": 3069, "loc": { "start": { - "line": 129, - "column": 4 + "line": 141, + "column": 6 }, "end": { - "line": 129, - "column": 10 + "line": 141, + "column": 9 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 2825, - "end": 2829, + "start": 3070, + "end": 3071, "loc": { "start": { - "line": 129, - "column": 11 + "line": 141, + "column": 10 }, "end": { - "line": 129, - "column": 15 + "line": 141, + "column": 11 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2829, - "end": 2830, + "value": "newKIn", + "start": 3071, + "end": 3077, "loc": { "start": { - "line": 129, - "column": 15 + "line": 141, + "column": 11 }, "end": { - "line": 129, - "column": 16 + "line": 141, + "column": 17 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25366,23 +25812,22 @@ "postfix": false, "binop": null }, - "value": "getPosition", - "start": 2830, - "end": 2841, + "start": 3077, + "end": 3078, "loc": { "start": { - "line": 129, - "column": 16 + "line": 141, + "column": 17 }, "end": { - "line": 129, - "column": 27 + "line": 141, + "column": 18 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -25392,68 +25837,70 @@ "postfix": false, "binop": null }, - "start": 2841, - "end": 2842, + "start": 3079, + "end": 3080, "loc": { "start": { - "line": 129, - "column": 27 + "line": 141, + "column": 19 }, "end": { - "line": 129, - "column": 28 + "line": 141, + "column": 20 } } }, { "type": { - "label": ")", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2842, - "end": 2843, + "value": "this", + "start": 3085, + "end": 3089, "loc": { "start": { - "line": 129, - "column": 28 + "line": 142, + "column": 4 }, "end": { - "line": 129, - "column": 29 + "line": 142, + "column": 8 } } }, { "type": { - "label": "", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": "<", - "start": 2844, - "end": 2845, + "start": 3089, + "end": 3090, "loc": { "start": { - "line": 129, - "column": 30 + "line": 142, + "column": 8 }, "end": { - "line": 129, - "column": 31 + "line": 142, + "column": 9 } } }, @@ -25469,49 +25916,48 @@ "postfix": false, "binop": null }, - "value": "newLongCount", - "start": 2846, - "end": 2858, + "value": "setDateSections", + "start": 3090, + "end": 3105, "loc": { "start": { - "line": 129, - "column": 32 + "line": 142, + "column": 9 }, "end": { - "line": 129, - "column": 44 + "line": 142, + "column": 24 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2858, - "end": 2859, + "start": 3105, + "end": 3106, "loc": { "start": { - "line": 129, - "column": 44 + "line": 142, + "column": 24 }, "end": { - "line": 129, - "column": 45 + "line": 142, + "column": 25 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -25519,52 +25965,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "getPosition", - "start": 2859, - "end": 2870, + "value": 0, + "start": 3106, + "end": 3107, "loc": { "start": { - "line": 129, - "column": 45 + "line": 142, + "column": 25 }, "end": { - "line": 129, - "column": 56 + "line": 142, + "column": 26 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2870, - "end": 2871, + "start": 3107, + "end": 3108, "loc": { "start": { - "line": 129, - "column": 56 + "line": 142, + "column": 26 }, "end": { - "line": 129, - "column": 57 + "line": 142, + "column": 27 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25572,42 +26020,42 @@ "postfix": false, "binop": null }, - "start": 2871, - "end": 2872, + "value": "newKIn", + "start": 3109, + "end": 3115, "loc": { "start": { - "line": 129, - "column": 57 + "line": 142, + "column": 28 }, "end": { - "line": 129, - "column": 58 + "line": 142, + "column": 34 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2872, - "end": 2873, + "start": 3115, + "end": 3116, "loc": { "start": { - "line": 129, - "column": 58 + "line": 142, + "column": 34 }, "end": { - "line": 129, - "column": 59 + "line": 142, + "column": 35 } } }, @@ -25623,31 +26071,31 @@ "postfix": false, "binop": null }, - "start": 2876, - "end": 2877, + "start": 3119, + "end": 3120, "loc": { "start": { - "line": 130, + "line": 143, "column": 2 }, "end": { - "line": 130, + "line": 143, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Compare is this LC is less than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n ", - "start": 2881, - "end": 3009, + "value": "*\n * Return the k'in component of the fullDate\n * @returns {number}\n ", + "start": 3124, + "end": 3203, "loc": { "start": { - "line": 132, + "line": 145, "column": 2 }, "end": { - "line": 136, + "line": 148, "column": 5 } } @@ -25664,24 +26112,24 @@ "postfix": false, "binop": null }, - "value": "gt", - "start": 3012, - "end": 3014, + "value": "get", + "start": 3206, + "end": 3209, "loc": { "start": { - "line": 137, + "line": 149, "column": 2 }, "end": { - "line": 137, - "column": 4 + "line": 149, + "column": 5 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -25690,23 +26138,24 @@ "postfix": false, "binop": null }, - "start": 3014, - "end": 3015, + "value": "kIn", + "start": 3210, + "end": 3213, "loc": { "start": { - "line": 137, - "column": 4 + "line": 149, + "column": 6 }, "end": { - "line": 137, - "column": 5 + "line": 149, + "column": 9 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -25715,17 +26164,16 @@ "postfix": false, "binop": null }, - "value": "newLongCount", - "start": 3015, - "end": 3027, + "start": 3214, + "end": 3215, "loc": { "start": { - "line": 137, - "column": 5 + "line": 149, + "column": 10 }, "end": { - "line": 137, - "column": 17 + "line": 149, + "column": 11 } } }, @@ -25741,16 +26189,16 @@ "postfix": false, "binop": null }, - "start": 3027, - "end": 3028, + "start": 3215, + "end": 3216, "loc": { "start": { - "line": 137, - "column": 17 + "line": 149, + "column": 11 }, "end": { - "line": 137, - "column": 18 + "line": 149, + "column": 12 } } }, @@ -25766,16 +26214,16 @@ "postfix": false, "binop": null }, - "start": 3029, - "end": 3030, + "start": 3217, + "end": 3218, "loc": { "start": { - "line": 137, - "column": 19 + "line": 149, + "column": 13 }, "end": { - "line": 137, - "column": 20 + "line": 149, + "column": 14 } } }, @@ -25794,15 +26242,15 @@ "updateContext": null }, "value": "return", - "start": 3035, - "end": 3041, + "start": 3223, + "end": 3229, "loc": { "start": { - "line": 138, + "line": 150, "column": 4 }, "end": { - "line": 138, + "line": 150, "column": 10 } } @@ -25822,15 +26270,15 @@ "updateContext": null }, "value": "this", - "start": 3042, - "end": 3046, + "start": 3230, + "end": 3234, "loc": { "start": { - "line": 138, + "line": 150, "column": 11 }, "end": { - "line": 138, + "line": 150, "column": 15 } } @@ -25848,15 +26296,15 @@ "binop": null, "updateContext": null }, - "start": 3046, - "end": 3047, + "start": 3234, + "end": 3235, "loc": { "start": { - "line": 138, + "line": 150, "column": 15 }, "end": { - "line": 138, + "line": 150, "column": 16 } } @@ -25873,17 +26321,17 @@ "postfix": false, "binop": null }, - "value": "getPosition", - "start": 3047, - "end": 3058, + "value": "getDateSections", + "start": 3235, + "end": 3250, "loc": { "start": { - "line": 138, + "line": 150, "column": 16 }, "end": { - "line": 138, - "column": 27 + "line": 150, + "column": 31 } } }, @@ -25899,102 +26347,24 @@ "postfix": false, "binop": null }, - "start": 3058, - "end": 3059, - "loc": { - "start": { - "line": 138, - "column": 27 - }, - "end": { - "line": 138, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3059, - "end": 3060, + "start": 3250, + "end": 3251, "loc": { "start": { - "line": 138, - "column": 28 - }, - "end": { - "line": 138, - "column": 29 - } - } - }, - { - "type": { - "label": "", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 7, - "updateContext": null - }, - "value": ">", - "start": 3061, - "end": 3062, - "loc": { - "start": { - "line": 138, - "column": 30 - }, - "end": { - "line": 138, + "line": 150, "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "newLongCount", - "start": 3063, - "end": 3075, - "loc": { - "start": { - "line": 138, - "column": 32 }, "end": { - "line": 138, - "column": 44 + "line": 150, + "column": 32 } } }, { "type": { - "label": ".", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -26003,67 +26373,17 @@ "binop": null, "updateContext": null }, - "start": 3075, - "end": 3076, - "loc": { - "start": { - "line": 138, - "column": 44 - }, - "end": { - "line": 138, - "column": 45 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getPosition", - "start": 3076, - "end": 3087, - "loc": { - "start": { - "line": 138, - "column": 45 - }, - "end": { - "line": 138, - "column": 56 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3087, - "end": 3088, + "value": 0, + "start": 3251, + "end": 3252, "loc": { "start": { - "line": 138, - "column": 56 + "line": 150, + "column": 32 }, "end": { - "line": 138, - "column": 57 + "line": 150, + "column": 33 } } }, @@ -26079,42 +26399,16 @@ "postfix": false, "binop": null }, - "start": 3088, - "end": 3089, + "start": 3252, + "end": 3253, "loc": { "start": { - "line": 138, - "column": 57 - }, - "end": { - "line": 138, - "column": 58 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3089, - "end": 3090, - "loc": { - "start": { - "line": 138, - "column": 58 + "line": 150, + "column": 33 }, "end": { - "line": 138, - "column": 59 + "line": 150, + "column": 34 } } }, @@ -26130,31 +26424,31 @@ "postfix": false, "binop": null }, - "start": 3093, - "end": 3094, + "start": 3256, + "end": 3257, "loc": { "start": { - "line": 139, + "line": 151, "column": 2 }, "end": { - "line": 139, + "line": 151, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Set the k'in component of the fullDate\n ", - "start": 3098, - "end": 3151, + "value": "*\n * Set the winal component of the fullDate\n ", + "start": 3261, + "end": 3315, "loc": { "start": { - "line": 141, + "line": 153, "column": 2 }, "end": { - "line": 143, + "line": 155, "column": 5 } } @@ -26172,15 +26466,15 @@ "binop": null }, "value": "set", - "start": 3154, - "end": 3157, + "start": 3318, + "end": 3321, "loc": { "start": { - "line": 144, + "line": 156, "column": 2 }, "end": { - "line": 144, + "line": 156, "column": 5 } } @@ -26197,17 +26491,17 @@ "postfix": false, "binop": null }, - "value": "kIn", - "start": 3158, - "end": 3161, + "value": "winal", + "start": 3322, + "end": 3327, "loc": { "start": { - "line": 144, + "line": 156, "column": 6 }, "end": { - "line": 144, - "column": 9 + "line": 156, + "column": 11 } } }, @@ -26223,16 +26517,16 @@ "postfix": false, "binop": null }, - "start": 3161, - "end": 3162, + "start": 3328, + "end": 3329, "loc": { "start": { - "line": 144, - "column": 9 + "line": 156, + "column": 12 }, "end": { - "line": 144, - "column": 10 + "line": 156, + "column": 13 } } }, @@ -26248,17 +26542,17 @@ "postfix": false, "binop": null }, - "value": "newKIn", - "start": 3162, - "end": 3168, + "value": "newWinal", + "start": 3329, + "end": 3337, "loc": { "start": { - "line": 144, - "column": 10 + "line": 156, + "column": 13 }, "end": { - "line": 144, - "column": 16 + "line": 156, + "column": 21 } } }, @@ -26274,16 +26568,16 @@ "postfix": false, "binop": null }, - "start": 3168, - "end": 3169, + "start": 3337, + "end": 3338, "loc": { "start": { - "line": 144, - "column": 16 + "line": 156, + "column": 21 }, "end": { - "line": 144, - "column": 17 + "line": 156, + "column": 22 } } }, @@ -26299,16 +26593,16 @@ "postfix": false, "binop": null }, - "start": 3170, - "end": 3171, + "start": 3339, + "end": 3340, "loc": { "start": { - "line": 144, - "column": 18 + "line": 156, + "column": 23 }, "end": { - "line": 144, - "column": 19 + "line": 156, + "column": 24 } } }, @@ -26327,15 +26621,15 @@ "updateContext": null }, "value": "this", - "start": 3176, - "end": 3180, + "start": 3345, + "end": 3349, "loc": { "start": { - "line": 145, + "line": 157, "column": 4 }, "end": { - "line": 145, + "line": 157, "column": 8 } } @@ -26353,15 +26647,15 @@ "binop": null, "updateContext": null }, - "start": 3180, - "end": 3181, + "start": 3349, + "end": 3350, "loc": { "start": { - "line": 145, + "line": 157, "column": 8 }, "end": { - "line": 145, + "line": 157, "column": 9 } } @@ -26379,15 +26673,15 @@ "binop": null }, "value": "setDateSections", - "start": 3181, - "end": 3196, + "start": 3350, + "end": 3365, "loc": { "start": { - "line": 145, + "line": 157, "column": 9 }, "end": { - "line": 145, + "line": 157, "column": 24 } } @@ -26404,15 +26698,15 @@ "postfix": false, "binop": null }, - "start": 3196, - "end": 3197, + "start": 3365, + "end": 3366, "loc": { "start": { - "line": 145, + "line": 157, "column": 24 }, "end": { - "line": 145, + "line": 157, "column": 25 } } @@ -26430,16 +26724,16 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 3197, - "end": 3198, + "value": 1, + "start": 3366, + "end": 3367, "loc": { "start": { - "line": 145, + "line": 157, "column": 25 }, "end": { - "line": 145, + "line": 157, "column": 26 } } @@ -26457,15 +26751,15 @@ "binop": null, "updateContext": null }, - "start": 3198, - "end": 3199, + "start": 3367, + "end": 3368, "loc": { "start": { - "line": 145, + "line": 157, "column": 26 }, "end": { - "line": 145, + "line": 157, "column": 27 } } @@ -26482,17 +26776,17 @@ "postfix": false, "binop": null }, - "value": "newKIn", - "start": 3200, - "end": 3206, + "value": "newWinal", + "start": 3369, + "end": 3377, "loc": { "start": { - "line": 145, + "line": 157, "column": 28 }, "end": { - "line": 145, - "column": 34 + "line": 157, + "column": 36 } } }, @@ -26508,42 +26802,16 @@ "postfix": false, "binop": null }, - "start": 3206, - "end": 3207, - "loc": { - "start": { - "line": 145, - "column": 34 - }, - "end": { - "line": 145, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3207, - "end": 3208, + "start": 3377, + "end": 3378, "loc": { "start": { - "line": 145, - "column": 35 + "line": 157, + "column": 36 }, "end": { - "line": 145, - "column": 36 + "line": 157, + "column": 37 } } }, @@ -26559,31 +26827,31 @@ "postfix": false, "binop": null }, - "start": 3211, - "end": 3212, + "start": 3381, + "end": 3382, "loc": { "start": { - "line": 146, + "line": 158, "column": 2 }, "end": { - "line": 146, + "line": 158, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Return the k'in component of the fullDate\n * @returns {number}\n ", - "start": 3216, - "end": 3295, + "value": "*\n * Return the winal component of the fullDate\n * @returns {number}\n ", + "start": 3386, + "end": 3466, "loc": { "start": { - "line": 148, + "line": 160, "column": 2 }, "end": { - "line": 151, + "line": 163, "column": 5 } } @@ -26601,15 +26869,15 @@ "binop": null }, "value": "get", - "start": 3298, - "end": 3301, + "start": 3469, + "end": 3472, "loc": { "start": { - "line": 152, + "line": 164, "column": 2 }, "end": { - "line": 152, + "line": 164, "column": 5 } } @@ -26626,17 +26894,17 @@ "postfix": false, "binop": null }, - "value": "kIn", - "start": 3302, - "end": 3305, + "value": "winal", + "start": 3473, + "end": 3478, "loc": { "start": { - "line": 152, + "line": 164, "column": 6 }, "end": { - "line": 152, - "column": 9 + "line": 164, + "column": 11 } } }, @@ -26652,16 +26920,16 @@ "postfix": false, "binop": null }, - "start": 3305, - "end": 3306, + "start": 3479, + "end": 3480, "loc": { "start": { - "line": 152, - "column": 9 + "line": 164, + "column": 12 }, "end": { - "line": 152, - "column": 10 + "line": 164, + "column": 13 } } }, @@ -26677,16 +26945,16 @@ "postfix": false, "binop": null }, - "start": 3306, - "end": 3307, + "start": 3480, + "end": 3481, "loc": { "start": { - "line": 152, - "column": 10 + "line": 164, + "column": 13 }, "end": { - "line": 152, - "column": 11 + "line": 164, + "column": 14 } } }, @@ -26702,16 +26970,16 @@ "postfix": false, "binop": null }, - "start": 3308, - "end": 3309, + "start": 3482, + "end": 3483, "loc": { "start": { - "line": 152, - "column": 12 + "line": 164, + "column": 15 }, "end": { - "line": 152, - "column": 13 + "line": 164, + "column": 16 } } }, @@ -26730,15 +26998,15 @@ "updateContext": null }, "value": "return", - "start": 3314, - "end": 3320, + "start": 3488, + "end": 3494, "loc": { "start": { - "line": 153, + "line": 165, "column": 4 }, "end": { - "line": 153, + "line": 165, "column": 10 } } @@ -26758,15 +27026,15 @@ "updateContext": null }, "value": "this", - "start": 3321, - "end": 3325, + "start": 3495, + "end": 3499, "loc": { "start": { - "line": 153, + "line": 165, "column": 11 }, "end": { - "line": 153, + "line": 165, "column": 15 } } @@ -26784,15 +27052,15 @@ "binop": null, "updateContext": null }, - "start": 3325, - "end": 3326, + "start": 3499, + "end": 3500, "loc": { "start": { - "line": 153, + "line": 165, "column": 15 }, "end": { - "line": 153, + "line": 165, "column": 16 } } @@ -26810,15 +27078,15 @@ "binop": null }, "value": "getDateSections", - "start": 3326, - "end": 3341, + "start": 3500, + "end": 3515, "loc": { "start": { - "line": 153, + "line": 165, "column": 16 }, "end": { - "line": 153, + "line": 165, "column": 31 } } @@ -26835,15 +27103,15 @@ "postfix": false, "binop": null }, - "start": 3341, - "end": 3342, + "start": 3515, + "end": 3516, "loc": { "start": { - "line": 153, + "line": 165, "column": 31 }, "end": { - "line": 153, + "line": 165, "column": 32 } } @@ -26861,16 +27129,16 @@ "binop": null, "updateContext": null }, - "value": 0, - "start": 3342, - "end": 3343, + "value": 1, + "start": 3516, + "end": 3517, "loc": { "start": { - "line": 153, + "line": 165, "column": 32 }, "end": { - "line": 153, + "line": 165, "column": 33 } } @@ -26887,42 +27155,16 @@ "postfix": false, "binop": null }, - "start": 3343, - "end": 3344, + "start": 3517, + "end": 3518, "loc": { "start": { - "line": 153, + "line": 165, "column": 33 }, "end": { - "line": 153, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3344, - "end": 3345, - "loc": { - "start": { - "line": 153, + "line": 165, "column": 34 - }, - "end": { - "line": 153, - "column": 35 } } }, @@ -26938,31 +27180,31 @@ "postfix": false, "binop": null }, - "start": 3348, - "end": 3349, + "start": 3521, + "end": 3522, "loc": { "start": { - "line": 154, + "line": 166, "column": 2 }, "end": { - "line": 154, + "line": 166, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Set the winal component of the fullDate\n ", - "start": 3353, - "end": 3407, + "value": "*\n * Set the tun component of the fullDate\n ", + "start": 3526, + "end": 3578, "loc": { "start": { - "line": 156, + "line": 168, "column": 2 }, "end": { - "line": 158, + "line": 170, "column": 5 } } @@ -26980,15 +27222,15 @@ "binop": null }, "value": "set", - "start": 3410, - "end": 3413, + "start": 3581, + "end": 3584, "loc": { "start": { - "line": 159, + "line": 171, "column": 2 }, "end": { - "line": 159, + "line": 171, "column": 5 } } @@ -27005,17 +27247,17 @@ "postfix": false, "binop": null }, - "value": "winal", - "start": 3414, - "end": 3419, + "value": "tun", + "start": 3585, + "end": 3588, "loc": { "start": { - "line": 159, + "line": 171, "column": 6 }, "end": { - "line": 159, - "column": 11 + "line": 171, + "column": 9 } } }, @@ -27031,16 +27273,16 @@ "postfix": false, "binop": null }, - "start": 3419, - "end": 3420, + "start": 3589, + "end": 3590, "loc": { "start": { - "line": 159, - "column": 11 + "line": 171, + "column": 10 }, "end": { - "line": 159, - "column": 12 + "line": 171, + "column": 11 } } }, @@ -27056,17 +27298,17 @@ "postfix": false, "binop": null }, - "value": "newWinal", - "start": 3420, - "end": 3428, + "value": "newTun", + "start": 3590, + "end": 3596, "loc": { "start": { - "line": 159, - "column": 12 + "line": 171, + "column": 11 }, "end": { - "line": 159, - "column": 20 + "line": 171, + "column": 17 } } }, @@ -27082,16 +27324,16 @@ "postfix": false, "binop": null }, - "start": 3428, - "end": 3429, + "start": 3596, + "end": 3597, "loc": { "start": { - "line": 159, - "column": 20 + "line": 171, + "column": 17 }, "end": { - "line": 159, - "column": 21 + "line": 171, + "column": 18 } } }, @@ -27107,16 +27349,16 @@ "postfix": false, "binop": null }, - "start": 3430, - "end": 3431, + "start": 3598, + "end": 3599, "loc": { "start": { - "line": 159, - "column": 22 + "line": 171, + "column": 19 }, "end": { - "line": 159, - "column": 23 + "line": 171, + "column": 20 } } }, @@ -27135,15 +27377,15 @@ "updateContext": null }, "value": "this", - "start": 3436, - "end": 3440, + "start": 3604, + "end": 3608, "loc": { "start": { - "line": 160, + "line": 172, "column": 4 }, "end": { - "line": 160, + "line": 172, "column": 8 } } @@ -27161,15 +27403,15 @@ "binop": null, "updateContext": null }, - "start": 3440, - "end": 3441, + "start": 3608, + "end": 3609, "loc": { "start": { - "line": 160, + "line": 172, "column": 8 }, "end": { - "line": 160, + "line": 172, "column": 9 } } @@ -27187,15 +27429,15 @@ "binop": null }, "value": "setDateSections", - "start": 3441, - "end": 3456, + "start": 3609, + "end": 3624, "loc": { "start": { - "line": 160, + "line": 172, "column": 9 }, "end": { - "line": 160, + "line": 172, "column": 24 } } @@ -27212,15 +27454,15 @@ "postfix": false, "binop": null }, - "start": 3456, - "end": 3457, + "start": 3624, + "end": 3625, "loc": { "start": { - "line": 160, + "line": 172, "column": 24 }, "end": { - "line": 160, + "line": 172, "column": 25 } } @@ -27238,16 +27480,16 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 3457, - "end": 3458, + "value": 2, + "start": 3625, + "end": 3626, "loc": { "start": { - "line": 160, + "line": 172, "column": 25 }, "end": { - "line": 160, + "line": 172, "column": 26 } } @@ -27265,15 +27507,15 @@ "binop": null, "updateContext": null }, - "start": 3458, - "end": 3459, + "start": 3626, + "end": 3627, "loc": { "start": { - "line": 160, + "line": 172, "column": 26 }, "end": { - "line": 160, + "line": 172, "column": 27 } } @@ -27290,17 +27532,17 @@ "postfix": false, "binop": null }, - "value": "newWinal", - "start": 3460, - "end": 3468, + "value": "newTun", + "start": 3628, + "end": 3634, "loc": { "start": { - "line": 160, + "line": 172, "column": 28 }, "end": { - "line": 160, - "column": 36 + "line": 172, + "column": 34 } } }, @@ -27316,42 +27558,16 @@ "postfix": false, "binop": null }, - "start": 3468, - "end": 3469, + "start": 3634, + "end": 3635, "loc": { "start": { - "line": 160, - "column": 36 - }, - "end": { - "line": 160, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3469, - "end": 3470, - "loc": { - "start": { - "line": 160, - "column": 37 + "line": 172, + "column": 34 }, "end": { - "line": 160, - "column": 38 + "line": 172, + "column": 35 } } }, @@ -27367,31 +27583,31 @@ "postfix": false, "binop": null }, - "start": 3473, - "end": 3474, + "start": 3638, + "end": 3639, "loc": { "start": { - "line": 161, + "line": 173, "column": 2 }, "end": { - "line": 161, + "line": 173, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Return the winal component of the fullDate\n * @returns {number}\n ", - "start": 3478, - "end": 3558, + "value": "*\n * Return the tun component of the fullDate\n * @returns {number}\n ", + "start": 3643, + "end": 3721, "loc": { "start": { - "line": 163, + "line": 175, "column": 2 }, "end": { - "line": 166, + "line": 178, "column": 5 } } @@ -27409,15 +27625,15 @@ "binop": null }, "value": "get", - "start": 3561, - "end": 3564, + "start": 3724, + "end": 3727, "loc": { "start": { - "line": 167, + "line": 179, "column": 2 }, "end": { - "line": 167, + "line": 179, "column": 5 } } @@ -27434,17 +27650,17 @@ "postfix": false, "binop": null }, - "value": "winal", - "start": 3565, - "end": 3570, + "value": "tun", + "start": 3728, + "end": 3731, "loc": { "start": { - "line": 167, + "line": 179, "column": 6 }, "end": { - "line": 167, - "column": 11 + "line": 179, + "column": 9 } } }, @@ -27460,16 +27676,16 @@ "postfix": false, "binop": null }, - "start": 3570, - "end": 3571, + "start": 3732, + "end": 3733, "loc": { "start": { - "line": 167, - "column": 11 + "line": 179, + "column": 10 }, "end": { - "line": 167, - "column": 12 + "line": 179, + "column": 11 } } }, @@ -27485,16 +27701,16 @@ "postfix": false, "binop": null }, - "start": 3571, - "end": 3572, + "start": 3733, + "end": 3734, "loc": { "start": { - "line": 167, - "column": 12 + "line": 179, + "column": 11 }, "end": { - "line": 167, - "column": 13 + "line": 179, + "column": 12 } } }, @@ -27510,16 +27726,16 @@ "postfix": false, "binop": null }, - "start": 3573, - "end": 3574, + "start": 3735, + "end": 3736, "loc": { "start": { - "line": 167, - "column": 14 + "line": 179, + "column": 13 }, "end": { - "line": 167, - "column": 15 + "line": 179, + "column": 14 } } }, @@ -27538,15 +27754,15 @@ "updateContext": null }, "value": "return", - "start": 3579, - "end": 3585, + "start": 3741, + "end": 3747, "loc": { "start": { - "line": 168, + "line": 180, "column": 4 }, "end": { - "line": 168, + "line": 180, "column": 10 } } @@ -27566,15 +27782,15 @@ "updateContext": null }, "value": "this", - "start": 3586, - "end": 3590, + "start": 3748, + "end": 3752, "loc": { "start": { - "line": 168, + "line": 180, "column": 11 }, "end": { - "line": 168, + "line": 180, "column": 15 } } @@ -27592,15 +27808,15 @@ "binop": null, "updateContext": null }, - "start": 3590, - "end": 3591, + "start": 3752, + "end": 3753, "loc": { "start": { - "line": 168, + "line": 180, "column": 15 }, "end": { - "line": 168, + "line": 180, "column": 16 } } @@ -27618,15 +27834,15 @@ "binop": null }, "value": "getDateSections", - "start": 3591, - "end": 3606, + "start": 3753, + "end": 3768, "loc": { "start": { - "line": 168, + "line": 180, "column": 16 }, "end": { - "line": 168, + "line": 180, "column": 31 } } @@ -27643,15 +27859,15 @@ "postfix": false, "binop": null }, - "start": 3606, - "end": 3607, + "start": 3768, + "end": 3769, "loc": { "start": { - "line": 168, + "line": 180, "column": 31 }, "end": { - "line": 168, + "line": 180, "column": 32 } } @@ -27669,16 +27885,16 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 3607, - "end": 3608, + "value": 2, + "start": 3769, + "end": 3770, "loc": { "start": { - "line": 168, + "line": 180, "column": 32 }, "end": { - "line": 168, + "line": 180, "column": 33 } } @@ -27695,45 +27911,19 @@ "postfix": false, "binop": null }, - "start": 3608, - "end": 3609, + "start": 3770, + "end": 3771, "loc": { "start": { - "line": 168, + "line": 180, "column": 33 }, "end": { - "line": 168, + "line": 180, "column": 34 } } }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3609, - "end": 3610, - "loc": { - "start": { - "line": 168, - "column": 34 - }, - "end": { - "line": 168, - "column": 35 - } - } - }, { "type": { "label": "}", @@ -27746,31 +27936,31 @@ "postfix": false, "binop": null }, - "start": 3613, - "end": 3614, + "start": 3774, + "end": 3775, "loc": { "start": { - "line": 169, + "line": 181, "column": 2 }, "end": { - "line": 169, + "line": 181, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Set the tun component of the fullDate\n ", - "start": 3618, - "end": 3670, + "value": "*\n * Set the k'atun component of the fullDate\n ", + "start": 3779, + "end": 3834, "loc": { "start": { - "line": 171, + "line": 183, "column": 2 }, "end": { - "line": 173, + "line": 185, "column": 5 } } @@ -27788,15 +27978,15 @@ "binop": null }, "value": "set", - "start": 3673, - "end": 3676, + "start": 3837, + "end": 3840, "loc": { "start": { - "line": 174, + "line": 186, "column": 2 }, "end": { - "line": 174, + "line": 186, "column": 5 } } @@ -27813,17 +28003,17 @@ "postfix": false, "binop": null }, - "value": "tun", - "start": 3677, - "end": 3680, + "value": "kAtun", + "start": 3841, + "end": 3846, "loc": { "start": { - "line": 174, + "line": 186, "column": 6 }, "end": { - "line": 174, - "column": 9 + "line": 186, + "column": 11 } } }, @@ -27839,16 +28029,16 @@ "postfix": false, "binop": null }, - "start": 3680, - "end": 3681, + "start": 3847, + "end": 3848, "loc": { "start": { - "line": 174, - "column": 9 + "line": 186, + "column": 12 }, "end": { - "line": 174, - "column": 10 + "line": 186, + "column": 13 } } }, @@ -27864,17 +28054,17 @@ "postfix": false, "binop": null }, - "value": "newTun", - "start": 3681, - "end": 3687, + "value": "newKAtun", + "start": 3848, + "end": 3856, "loc": { "start": { - "line": 174, - "column": 10 + "line": 186, + "column": 13 }, "end": { - "line": 174, - "column": 16 + "line": 186, + "column": 21 } } }, @@ -27890,16 +28080,16 @@ "postfix": false, "binop": null }, - "start": 3687, - "end": 3688, + "start": 3856, + "end": 3857, "loc": { "start": { - "line": 174, - "column": 16 + "line": 186, + "column": 21 }, "end": { - "line": 174, - "column": 17 + "line": 186, + "column": 22 } } }, @@ -27915,16 +28105,16 @@ "postfix": false, "binop": null }, - "start": 3689, - "end": 3690, + "start": 3858, + "end": 3859, "loc": { "start": { - "line": 174, - "column": 18 + "line": 186, + "column": 23 }, "end": { - "line": 174, - "column": 19 + "line": 186, + "column": 24 } } }, @@ -27943,15 +28133,15 @@ "updateContext": null }, "value": "this", - "start": 3695, - "end": 3699, + "start": 3864, + "end": 3868, "loc": { "start": { - "line": 175, + "line": 187, "column": 4 }, "end": { - "line": 175, + "line": 187, "column": 8 } } @@ -27969,15 +28159,15 @@ "binop": null, "updateContext": null }, - "start": 3699, - "end": 3700, + "start": 3868, + "end": 3869, "loc": { "start": { - "line": 175, + "line": 187, "column": 8 }, "end": { - "line": 175, + "line": 187, "column": 9 } } @@ -27995,15 +28185,15 @@ "binop": null }, "value": "setDateSections", - "start": 3700, - "end": 3715, + "start": 3869, + "end": 3884, "loc": { "start": { - "line": 175, + "line": 187, "column": 9 }, "end": { - "line": 175, + "line": 187, "column": 24 } } @@ -28020,15 +28210,15 @@ "postfix": false, "binop": null }, - "start": 3715, - "end": 3716, + "start": 3884, + "end": 3885, "loc": { "start": { - "line": 175, + "line": 187, "column": 24 }, "end": { - "line": 175, + "line": 187, "column": 25 } } @@ -28046,16 +28236,16 @@ "binop": null, "updateContext": null }, - "value": 2, - "start": 3716, - "end": 3717, + "value": 3, + "start": 3885, + "end": 3886, "loc": { "start": { - "line": 175, + "line": 187, "column": 25 }, "end": { - "line": 175, + "line": 187, "column": 26 } } @@ -28073,15 +28263,15 @@ "binop": null, "updateContext": null }, - "start": 3717, - "end": 3718, + "start": 3886, + "end": 3887, "loc": { "start": { - "line": 175, + "line": 187, "column": 26 }, "end": { - "line": 175, + "line": 187, "column": 27 } } @@ -28098,17 +28288,17 @@ "postfix": false, "binop": null }, - "value": "newTun", - "start": 3719, - "end": 3725, + "value": "newKAtun", + "start": 3888, + "end": 3896, "loc": { "start": { - "line": 175, + "line": 187, "column": 28 }, "end": { - "line": 175, - "column": 34 + "line": 187, + "column": 36 } } }, @@ -28124,42 +28314,16 @@ "postfix": false, "binop": null }, - "start": 3725, - "end": 3726, + "start": 3896, + "end": 3897, "loc": { "start": { - "line": 175, - "column": 34 - }, - "end": { - "line": 175, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3726, - "end": 3727, - "loc": { - "start": { - "line": 175, - "column": 35 + "line": 187, + "column": 36 }, "end": { - "line": 175, - "column": 36 + "line": 187, + "column": 37 } } }, @@ -28175,31 +28339,31 @@ "postfix": false, "binop": null }, - "start": 3730, - "end": 3731, + "start": 3900, + "end": 3901, "loc": { "start": { - "line": 176, + "line": 188, "column": 2 }, "end": { - "line": 176, + "line": 188, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Return the tun component of the fullDate\n * @returns {number}\n ", - "start": 3735, - "end": 3813, + "value": "*\n * Return the k'atun component of the fullDate\n * @returns {number}\n ", + "start": 3905, + "end": 3986, "loc": { "start": { - "line": 178, + "line": 190, "column": 2 }, "end": { - "line": 181, + "line": 193, "column": 5 } } @@ -28217,15 +28381,15 @@ "binop": null }, "value": "get", - "start": 3816, - "end": 3819, + "start": 3989, + "end": 3992, "loc": { "start": { - "line": 182, + "line": 194, "column": 2 }, "end": { - "line": 182, + "line": 194, "column": 5 } } @@ -28242,17 +28406,17 @@ "postfix": false, "binop": null }, - "value": "tun", - "start": 3820, - "end": 3823, + "value": "kAtun", + "start": 3993, + "end": 3998, "loc": { "start": { - "line": 182, + "line": 194, "column": 6 }, "end": { - "line": 182, - "column": 9 + "line": 194, + "column": 11 } } }, @@ -28268,16 +28432,16 @@ "postfix": false, "binop": null }, - "start": 3823, - "end": 3824, + "start": 3999, + "end": 4000, "loc": { "start": { - "line": 182, - "column": 9 + "line": 194, + "column": 12 }, "end": { - "line": 182, - "column": 10 + "line": 194, + "column": 13 } } }, @@ -28293,16 +28457,16 @@ "postfix": false, "binop": null }, - "start": 3824, - "end": 3825, + "start": 4000, + "end": 4001, "loc": { "start": { - "line": 182, - "column": 10 + "line": 194, + "column": 13 }, "end": { - "line": 182, - "column": 11 + "line": 194, + "column": 14 } } }, @@ -28318,16 +28482,16 @@ "postfix": false, "binop": null }, - "start": 3826, - "end": 3827, + "start": 4002, + "end": 4003, "loc": { "start": { - "line": 182, - "column": 12 + "line": 194, + "column": 15 }, "end": { - "line": 182, - "column": 13 + "line": 194, + "column": 16 } } }, @@ -28346,15 +28510,15 @@ "updateContext": null }, "value": "return", - "start": 3832, - "end": 3838, + "start": 4008, + "end": 4014, "loc": { "start": { - "line": 183, + "line": 195, "column": 4 }, "end": { - "line": 183, + "line": 195, "column": 10 } } @@ -28374,15 +28538,15 @@ "updateContext": null }, "value": "this", - "start": 3839, - "end": 3843, + "start": 4015, + "end": 4019, "loc": { "start": { - "line": 183, + "line": 195, "column": 11 }, "end": { - "line": 183, + "line": 195, "column": 15 } } @@ -28400,15 +28564,15 @@ "binop": null, "updateContext": null }, - "start": 3843, - "end": 3844, + "start": 4019, + "end": 4020, "loc": { "start": { - "line": 183, + "line": 195, "column": 15 }, "end": { - "line": 183, + "line": 195, "column": 16 } } @@ -28426,15 +28590,15 @@ "binop": null }, "value": "getDateSections", - "start": 3844, - "end": 3859, + "start": 4020, + "end": 4035, "loc": { "start": { - "line": 183, + "line": 195, "column": 16 }, "end": { - "line": 183, + "line": 195, "column": 31 } } @@ -28451,15 +28615,15 @@ "postfix": false, "binop": null }, - "start": 3859, - "end": 3860, + "start": 4035, + "end": 4036, "loc": { "start": { - "line": 183, + "line": 195, "column": 31 }, "end": { - "line": 183, + "line": 195, "column": 32 } } @@ -28477,16 +28641,16 @@ "binop": null, "updateContext": null }, - "value": 2, - "start": 3860, - "end": 3861, + "value": 3, + "start": 4036, + "end": 4037, "loc": { "start": { - "line": 183, + "line": 195, "column": 32 }, "end": { - "line": 183, + "line": 195, "column": 33 } } @@ -28503,42 +28667,16 @@ "postfix": false, "binop": null }, - "start": 3861, - "end": 3862, + "start": 4037, + "end": 4038, "loc": { "start": { - "line": 183, + "line": 195, "column": 33 }, "end": { - "line": 183, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3862, - "end": 3863, - "loc": { - "start": { - "line": 183, + "line": 195, "column": 34 - }, - "end": { - "line": 183, - "column": 35 } } }, @@ -28554,31 +28692,31 @@ "postfix": false, "binop": null }, - "start": 3866, - "end": 3867, + "start": 4041, + "end": 4042, "loc": { "start": { - "line": 184, + "line": 196, "column": 2 }, "end": { - "line": 184, + "line": 196, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Set the k'atun component of the fullDate\n ", - "start": 3871, - "end": 3926, + "value": "*\n * Set the bak'tun component of the fullDate\n ", + "start": 4046, + "end": 4102, "loc": { "start": { - "line": 186, + "line": 198, "column": 2 }, "end": { - "line": 188, + "line": 200, "column": 5 } } @@ -28596,15 +28734,15 @@ "binop": null }, "value": "set", - "start": 3929, - "end": 3932, + "start": 4105, + "end": 4108, "loc": { "start": { - "line": 189, + "line": 201, "column": 2 }, "end": { - "line": 189, + "line": 201, "column": 5 } } @@ -28621,17 +28759,17 @@ "postfix": false, "binop": null }, - "value": "kAtun", - "start": 3933, - "end": 3938, + "value": "bakTun", + "start": 4109, + "end": 4115, "loc": { "start": { - "line": 189, + "line": 201, "column": 6 }, "end": { - "line": 189, - "column": 11 + "line": 201, + "column": 12 } } }, @@ -28647,16 +28785,16 @@ "postfix": false, "binop": null }, - "start": 3938, - "end": 3939, + "start": 4116, + "end": 4117, "loc": { "start": { - "line": 189, - "column": 11 + "line": 201, + "column": 13 }, "end": { - "line": 189, - "column": 12 + "line": 201, + "column": 14 } } }, @@ -28672,17 +28810,17 @@ "postfix": false, "binop": null }, - "value": "newKAtun", - "start": 3939, - "end": 3947, + "value": "newBakTun", + "start": 4117, + "end": 4126, "loc": { "start": { - "line": 189, - "column": 12 + "line": 201, + "column": 14 }, "end": { - "line": 189, - "column": 20 + "line": 201, + "column": 23 } } }, @@ -28698,16 +28836,16 @@ "postfix": false, "binop": null }, - "start": 3947, - "end": 3948, + "start": 4126, + "end": 4127, "loc": { "start": { - "line": 189, - "column": 20 + "line": 201, + "column": 23 }, "end": { - "line": 189, - "column": 21 + "line": 201, + "column": 24 } } }, @@ -28723,16 +28861,16 @@ "postfix": false, "binop": null }, - "start": 3949, - "end": 3950, + "start": 4128, + "end": 4129, "loc": { "start": { - "line": 189, - "column": 22 + "line": 201, + "column": 25 }, "end": { - "line": 189, - "column": 23 + "line": 201, + "column": 26 } } }, @@ -28751,15 +28889,15 @@ "updateContext": null }, "value": "this", - "start": 3955, - "end": 3959, + "start": 4134, + "end": 4138, "loc": { "start": { - "line": 190, + "line": 202, "column": 4 }, "end": { - "line": 190, + "line": 202, "column": 8 } } @@ -28777,15 +28915,15 @@ "binop": null, "updateContext": null }, - "start": 3959, - "end": 3960, + "start": 4138, + "end": 4139, "loc": { "start": { - "line": 190, + "line": 202, "column": 8 }, "end": { - "line": 190, + "line": 202, "column": 9 } } @@ -28803,15 +28941,15 @@ "binop": null }, "value": "setDateSections", - "start": 3960, - "end": 3975, + "start": 4139, + "end": 4154, "loc": { "start": { - "line": 190, + "line": 202, "column": 9 }, "end": { - "line": 190, + "line": 202, "column": 24 } } @@ -28828,15 +28966,15 @@ "postfix": false, "binop": null }, - "start": 3975, - "end": 3976, + "start": 4154, + "end": 4155, "loc": { "start": { - "line": 190, + "line": 202, "column": 24 }, "end": { - "line": 190, + "line": 202, "column": 25 } } @@ -28854,16 +28992,16 @@ "binop": null, "updateContext": null }, - "value": 3, - "start": 3976, - "end": 3977, + "value": 4, + "start": 4155, + "end": 4156, "loc": { "start": { - "line": 190, + "line": 202, "column": 25 }, "end": { - "line": 190, + "line": 202, "column": 26 } } @@ -28881,15 +29019,15 @@ "binop": null, "updateContext": null }, - "start": 3977, - "end": 3978, + "start": 4156, + "end": 4157, "loc": { "start": { - "line": 190, + "line": 202, "column": 26 }, "end": { - "line": 190, + "line": 202, "column": 27 } } @@ -28906,17 +29044,17 @@ "postfix": false, "binop": null }, - "value": "newKAtun", - "start": 3979, - "end": 3987, + "value": "newBakTun", + "start": 4158, + "end": 4167, "loc": { "start": { - "line": 190, + "line": 202, "column": 28 }, "end": { - "line": 190, - "column": 36 + "line": 202, + "column": 37 } } }, @@ -28932,41 +29070,15 @@ "postfix": false, "binop": null }, - "start": 3987, - "end": 3988, - "loc": { - "start": { - "line": 190, - "column": 36 - }, - "end": { - "line": 190, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3988, - "end": 3989, + "start": 4167, + "end": 4168, "loc": { "start": { - "line": 190, + "line": 202, "column": 37 }, "end": { - "line": 190, + "line": 202, "column": 38 } } @@ -28983,31 +29095,31 @@ "postfix": false, "binop": null }, - "start": 3992, - "end": 3993, + "start": 4171, + "end": 4172, "loc": { "start": { - "line": 191, + "line": 203, "column": 2 }, "end": { - "line": 191, + "line": 203, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Return the k'atun component of the fullDate\n * @returns {number}\n ", - "start": 3997, - "end": 4078, + "value": "*\n * Return the bak'tun component of the fullDate\n * @returns {number}\n ", + "start": 4176, + "end": 4258, "loc": { "start": { - "line": 193, + "line": 205, "column": 2 }, "end": { - "line": 196, + "line": 208, "column": 5 } } @@ -29025,15 +29137,15 @@ "binop": null }, "value": "get", - "start": 4081, - "end": 4084, + "start": 4261, + "end": 4264, "loc": { "start": { - "line": 197, + "line": 209, "column": 2 }, "end": { - "line": 197, + "line": 209, "column": 5 } } @@ -29050,17 +29162,17 @@ "postfix": false, "binop": null }, - "value": "kAtun", - "start": 4085, - "end": 4090, + "value": "bakTun", + "start": 4265, + "end": 4271, "loc": { "start": { - "line": 197, + "line": 209, "column": 6 }, "end": { - "line": 197, - "column": 11 + "line": 209, + "column": 12 } } }, @@ -29076,16 +29188,16 @@ "postfix": false, "binop": null }, - "start": 4090, - "end": 4091, + "start": 4272, + "end": 4273, "loc": { "start": { - "line": 197, - "column": 11 + "line": 209, + "column": 13 }, "end": { - "line": 197, - "column": 12 + "line": 209, + "column": 14 } } }, @@ -29101,16 +29213,16 @@ "postfix": false, "binop": null }, - "start": 4091, - "end": 4092, + "start": 4273, + "end": 4274, "loc": { "start": { - "line": 197, - "column": 12 + "line": 209, + "column": 14 }, "end": { - "line": 197, - "column": 13 + "line": 209, + "column": 15 } } }, @@ -29126,16 +29238,16 @@ "postfix": false, "binop": null }, - "start": 4093, - "end": 4094, + "start": 4275, + "end": 4276, "loc": { "start": { - "line": 197, - "column": 14 + "line": 209, + "column": 16 }, "end": { - "line": 197, - "column": 15 + "line": 209, + "column": 17 } } }, @@ -29154,15 +29266,15 @@ "updateContext": null }, "value": "return", - "start": 4099, - "end": 4105, + "start": 4281, + "end": 4287, "loc": { "start": { - "line": 198, + "line": 210, "column": 4 }, "end": { - "line": 198, + "line": 210, "column": 10 } } @@ -29182,15 +29294,15 @@ "updateContext": null }, "value": "this", - "start": 4106, - "end": 4110, + "start": 4288, + "end": 4292, "loc": { "start": { - "line": 198, + "line": 210, "column": 11 }, "end": { - "line": 198, + "line": 210, "column": 15 } } @@ -29208,15 +29320,15 @@ "binop": null, "updateContext": null }, - "start": 4110, - "end": 4111, + "start": 4292, + "end": 4293, "loc": { "start": { - "line": 198, + "line": 210, "column": 15 }, "end": { - "line": 198, + "line": 210, "column": 16 } } @@ -29234,15 +29346,15 @@ "binop": null }, "value": "getDateSections", - "start": 4111, - "end": 4126, + "start": 4293, + "end": 4308, "loc": { "start": { - "line": 198, + "line": 210, "column": 16 }, "end": { - "line": 198, + "line": 210, "column": 31 } } @@ -29259,15 +29371,15 @@ "postfix": false, "binop": null }, - "start": 4126, - "end": 4127, + "start": 4308, + "end": 4309, "loc": { "start": { - "line": 198, + "line": 210, "column": 31 }, "end": { - "line": 198, + "line": 210, "column": 32 } } @@ -29285,16 +29397,16 @@ "binop": null, "updateContext": null }, - "value": 3, - "start": 4127, - "end": 4128, + "value": 4, + "start": 4309, + "end": 4310, "loc": { "start": { - "line": 198, + "line": 210, "column": 32 }, "end": { - "line": 198, + "line": 210, "column": 33 } } @@ -29311,42 +29423,16 @@ "postfix": false, "binop": null }, - "start": 4128, - "end": 4129, + "start": 4310, + "end": 4311, "loc": { "start": { - "line": 198, + "line": 210, "column": 33 }, "end": { - "line": 198, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4129, - "end": 4130, - "loc": { - "start": { - "line": 198, + "line": 210, "column": 34 - }, - "end": { - "line": 198, - "column": 35 } } }, @@ -29362,31 +29448,31 @@ "postfix": false, "binop": null }, - "start": 4133, - "end": 4134, + "start": 4314, + "end": 4315, "loc": { "start": { - "line": 199, + "line": 211, "column": 2 }, "end": { - "line": 199, + "line": 211, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Set the bak'tun component of the fullDate\n ", - "start": 4138, - "end": 4194, + "value": "*\n * Set the piktun component of the fullDate\n ", + "start": 4319, + "end": 4374, "loc": { "start": { - "line": 201, + "line": 213, "column": 2 }, "end": { - "line": 203, + "line": 215, "column": 5 } } @@ -29404,15 +29490,15 @@ "binop": null }, "value": "set", - "start": 4197, - "end": 4200, + "start": 4377, + "end": 4380, "loc": { "start": { - "line": 204, + "line": 216, "column": 2 }, "end": { - "line": 204, + "line": 216, "column": 5 } } @@ -29429,16 +29515,16 @@ "postfix": false, "binop": null }, - "value": "bakTun", - "start": 4201, - "end": 4207, + "value": "piktun", + "start": 4381, + "end": 4387, "loc": { "start": { - "line": 204, + "line": 216, "column": 6 }, "end": { - "line": 204, + "line": 216, "column": 12 } } @@ -29455,16 +29541,16 @@ "postfix": false, "binop": null }, - "start": 4207, - "end": 4208, + "start": 4388, + "end": 4389, "loc": { "start": { - "line": 204, - "column": 12 + "line": 216, + "column": 13 }, "end": { - "line": 204, - "column": 13 + "line": 216, + "column": 14 } } }, @@ -29481,16 +29567,16 @@ "binop": null }, "value": "newBakTun", - "start": 4208, - "end": 4217, + "start": 4389, + "end": 4398, "loc": { "start": { - "line": 204, - "column": 13 + "line": 216, + "column": 14 }, "end": { - "line": 204, - "column": 22 + "line": 216, + "column": 23 } } }, @@ -29506,16 +29592,16 @@ "postfix": false, "binop": null }, - "start": 4217, - "end": 4218, + "start": 4398, + "end": 4399, "loc": { "start": { - "line": 204, - "column": 22 + "line": 216, + "column": 23 }, "end": { - "line": 204, - "column": 23 + "line": 216, + "column": 24 } } }, @@ -29531,16 +29617,16 @@ "postfix": false, "binop": null }, - "start": 4219, - "end": 4220, + "start": 4400, + "end": 4401, "loc": { "start": { - "line": 204, - "column": 24 + "line": 216, + "column": 25 }, "end": { - "line": 204, - "column": 25 + "line": 216, + "column": 26 } } }, @@ -29559,15 +29645,15 @@ "updateContext": null }, "value": "this", - "start": 4225, - "end": 4229, + "start": 4406, + "end": 4410, "loc": { "start": { - "line": 205, + "line": 217, "column": 4 }, "end": { - "line": 205, + "line": 217, "column": 8 } } @@ -29585,15 +29671,15 @@ "binop": null, "updateContext": null }, - "start": 4229, - "end": 4230, + "start": 4410, + "end": 4411, "loc": { "start": { - "line": 205, + "line": 217, "column": 8 }, "end": { - "line": 205, + "line": 217, "column": 9 } } @@ -29611,15 +29697,15 @@ "binop": null }, "value": "setDateSections", - "start": 4230, - "end": 4245, + "start": 4411, + "end": 4426, "loc": { "start": { - "line": 205, + "line": 217, "column": 9 }, "end": { - "line": 205, + "line": 217, "column": 24 } } @@ -29636,15 +29722,15 @@ "postfix": false, "binop": null }, - "start": 4245, - "end": 4246, + "start": 4426, + "end": 4427, "loc": { "start": { - "line": 205, + "line": 217, "column": 24 }, "end": { - "line": 205, + "line": 217, "column": 25 } } @@ -29662,16 +29748,16 @@ "binop": null, "updateContext": null }, - "value": 4, - "start": 4246, - "end": 4247, + "value": 5, + "start": 4427, + "end": 4428, "loc": { "start": { - "line": 205, + "line": 217, "column": 25 }, "end": { - "line": 205, + "line": 217, "column": 26 } } @@ -29689,15 +29775,15 @@ "binop": null, "updateContext": null }, - "start": 4247, - "end": 4248, + "start": 4428, + "end": 4429, "loc": { "start": { - "line": 205, + "line": 217, "column": 26 }, "end": { - "line": 205, + "line": 217, "column": 27 } } @@ -29715,15 +29801,15 @@ "binop": null }, "value": "newBakTun", - "start": 4249, - "end": 4258, + "start": 4430, + "end": 4439, "loc": { "start": { - "line": 205, + "line": 217, "column": 28 }, "end": { - "line": 205, + "line": 217, "column": 37 } } @@ -29740,42 +29826,16 @@ "postfix": false, "binop": null }, - "start": 4258, - "end": 4259, + "start": 4439, + "end": 4440, "loc": { "start": { - "line": 205, + "line": 217, "column": 37 }, "end": { - "line": 205, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4259, - "end": 4260, - "loc": { - "start": { - "line": 205, + "line": 217, "column": 38 - }, - "end": { - "line": 205, - "column": 39 } } }, @@ -29791,31 +29851,31 @@ "postfix": false, "binop": null }, - "start": 4263, - "end": 4264, + "start": 4443, + "end": 4444, "loc": { "start": { - "line": 206, + "line": 218, "column": 2 }, "end": { - "line": 206, + "line": 218, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Return the bak'tun component of the fullDate\n * @returns {number}\n ", - "start": 4268, - "end": 4350, + "value": "*\n * Return the piktun component of the fullDate\n * @returns {number}\n ", + "start": 4448, + "end": 4529, "loc": { "start": { - "line": 208, + "line": 220, "column": 2 }, "end": { - "line": 211, + "line": 223, "column": 5 } } @@ -29833,15 +29893,15 @@ "binop": null }, "value": "get", - "start": 4353, - "end": 4356, + "start": 4532, + "end": 4535, "loc": { "start": { - "line": 212, + "line": 224, "column": 2 }, "end": { - "line": 212, + "line": 224, "column": 5 } } @@ -29858,16 +29918,16 @@ "postfix": false, "binop": null }, - "value": "bakTun", - "start": 4357, - "end": 4363, + "value": "piktun", + "start": 4536, + "end": 4542, "loc": { "start": { - "line": 212, + "line": 224, "column": 6 }, "end": { - "line": 212, + "line": 224, "column": 12 } } @@ -29884,16 +29944,16 @@ "postfix": false, "binop": null }, - "start": 4363, - "end": 4364, + "start": 4543, + "end": 4544, "loc": { "start": { - "line": 212, - "column": 12 + "line": 224, + "column": 13 }, "end": { - "line": 212, - "column": 13 + "line": 224, + "column": 14 } } }, @@ -29909,16 +29969,16 @@ "postfix": false, "binop": null }, - "start": 4364, - "end": 4365, + "start": 4544, + "end": 4545, "loc": { "start": { - "line": 212, - "column": 13 + "line": 224, + "column": 14 }, "end": { - "line": 212, - "column": 14 + "line": 224, + "column": 15 } } }, @@ -29934,16 +29994,16 @@ "postfix": false, "binop": null }, - "start": 4366, - "end": 4367, + "start": 4546, + "end": 4547, "loc": { "start": { - "line": 212, - "column": 15 + "line": 224, + "column": 16 }, "end": { - "line": 212, - "column": 16 + "line": 224, + "column": 17 } } }, @@ -29962,15 +30022,15 @@ "updateContext": null }, "value": "return", - "start": 4372, - "end": 4378, + "start": 4552, + "end": 4558, "loc": { "start": { - "line": 213, + "line": 225, "column": 4 }, "end": { - "line": 213, + "line": 225, "column": 10 } } @@ -29990,15 +30050,15 @@ "updateContext": null }, "value": "this", - "start": 4379, - "end": 4383, + "start": 4559, + "end": 4563, "loc": { "start": { - "line": 213, + "line": 225, "column": 11 }, "end": { - "line": 213, + "line": 225, "column": 15 } } @@ -30016,15 +30076,15 @@ "binop": null, "updateContext": null }, - "start": 4383, - "end": 4384, + "start": 4563, + "end": 4564, "loc": { "start": { - "line": 213, + "line": 225, "column": 15 }, "end": { - "line": 213, + "line": 225, "column": 16 } } @@ -30042,15 +30102,15 @@ "binop": null }, "value": "getDateSections", - "start": 4384, - "end": 4399, + "start": 4564, + "end": 4579, "loc": { "start": { - "line": 213, + "line": 225, "column": 16 }, "end": { - "line": 213, + "line": 225, "column": 31 } } @@ -30067,15 +30127,15 @@ "postfix": false, "binop": null }, - "start": 4399, - "end": 4400, + "start": 4579, + "end": 4580, "loc": { "start": { - "line": 213, + "line": 225, "column": 31 }, "end": { - "line": 213, + "line": 225, "column": 32 } } @@ -30084,77 +30144,51 @@ "type": { "label": "num", "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 4, - "start": 4400, - "end": 4401, - "loc": { - "start": { - "line": 213, - "column": 32 - }, - "end": { - "line": 213, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4401, - "end": 4402, + "value": 5, + "start": 4580, + "end": 4581, "loc": { "start": { - "line": 213, - "column": 33 + "line": 225, + "column": 32 }, "end": { - "line": 213, - "column": 34 + "line": 225, + "column": 33 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4402, - "end": 4403, + "start": 4581, + "end": 4582, "loc": { "start": { - "line": 213, - "column": 34 + "line": 225, + "column": 33 }, "end": { - "line": 213, - "column": 35 + "line": 225, + "column": 34 } } }, @@ -30170,31 +30204,31 @@ "postfix": false, "binop": null }, - "start": 4406, - "end": 4407, + "start": 4585, + "end": 4586, "loc": { "start": { - "line": 214, + "line": 226, "column": 2 }, "end": { - "line": 214, + "line": 226, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Set the piktun component of the fullDate\n ", - "start": 4411, - "end": 4466, + "value": "*\n * Set the kalabtun component of the fullDate\n ", + "start": 4590, + "end": 4647, "loc": { "start": { - "line": 216, + "line": 228, "column": 2 }, "end": { - "line": 218, + "line": 230, "column": 5 } } @@ -30212,15 +30246,15 @@ "binop": null }, "value": "set", - "start": 4469, - "end": 4472, + "start": 4650, + "end": 4653, "loc": { "start": { - "line": 219, + "line": 231, "column": 2 }, "end": { - "line": 219, + "line": 231, "column": 5 } } @@ -30237,17 +30271,17 @@ "postfix": false, "binop": null }, - "value": "piktun", - "start": 4473, - "end": 4479, + "value": "kalabtun", + "start": 4654, + "end": 4662, "loc": { "start": { - "line": 219, + "line": 231, "column": 6 }, "end": { - "line": 219, - "column": 12 + "line": 231, + "column": 14 } } }, @@ -30263,16 +30297,16 @@ "postfix": false, "binop": null }, - "start": 4479, - "end": 4480, + "start": 4663, + "end": 4664, "loc": { "start": { - "line": 219, - "column": 12 + "line": 231, + "column": 15 }, "end": { - "line": 219, - "column": 13 + "line": 231, + "column": 16 } } }, @@ -30289,16 +30323,16 @@ "binop": null }, "value": "newBakTun", - "start": 4480, - "end": 4489, + "start": 4664, + "end": 4673, "loc": { "start": { - "line": 219, - "column": 13 + "line": 231, + "column": 16 }, "end": { - "line": 219, - "column": 22 + "line": 231, + "column": 25 } } }, @@ -30314,16 +30348,16 @@ "postfix": false, "binop": null }, - "start": 4489, - "end": 4490, + "start": 4673, + "end": 4674, "loc": { "start": { - "line": 219, - "column": 22 + "line": 231, + "column": 25 }, "end": { - "line": 219, - "column": 23 + "line": 231, + "column": 26 } } }, @@ -30339,16 +30373,16 @@ "postfix": false, "binop": null }, - "start": 4491, - "end": 4492, + "start": 4675, + "end": 4676, "loc": { "start": { - "line": 219, - "column": 24 + "line": 231, + "column": 27 }, "end": { - "line": 219, - "column": 25 + "line": 231, + "column": 28 } } }, @@ -30367,15 +30401,15 @@ "updateContext": null }, "value": "this", - "start": 4497, - "end": 4501, + "start": 4681, + "end": 4685, "loc": { "start": { - "line": 220, + "line": 232, "column": 4 }, "end": { - "line": 220, + "line": 232, "column": 8 } } @@ -30393,15 +30427,15 @@ "binop": null, "updateContext": null }, - "start": 4501, - "end": 4502, + "start": 4685, + "end": 4686, "loc": { "start": { - "line": 220, + "line": 232, "column": 8 }, "end": { - "line": 220, + "line": 232, "column": 9 } } @@ -30419,15 +30453,15 @@ "binop": null }, "value": "setDateSections", - "start": 4502, - "end": 4517, + "start": 4686, + "end": 4701, "loc": { "start": { - "line": 220, + "line": 232, "column": 9 }, "end": { - "line": 220, + "line": 232, "column": 24 } } @@ -30444,15 +30478,15 @@ "postfix": false, "binop": null }, - "start": 4517, - "end": 4518, + "start": 4701, + "end": 4702, "loc": { "start": { - "line": 220, + "line": 232, "column": 24 }, "end": { - "line": 220, + "line": 232, "column": 25 } } @@ -30470,16 +30504,16 @@ "binop": null, "updateContext": null }, - "value": 5, - "start": 4518, - "end": 4519, + "value": 6, + "start": 4702, + "end": 4703, "loc": { "start": { - "line": 220, + "line": 232, "column": 25 }, "end": { - "line": 220, + "line": 232, "column": 26 } } @@ -30497,15 +30531,15 @@ "binop": null, "updateContext": null }, - "start": 4519, - "end": 4520, + "start": 4703, + "end": 4704, "loc": { "start": { - "line": 220, + "line": 232, "column": 26 }, "end": { - "line": 220, + "line": 232, "column": 27 } } @@ -30523,15 +30557,15 @@ "binop": null }, "value": "newBakTun", - "start": 4521, - "end": 4530, + "start": 4705, + "end": 4714, "loc": { "start": { - "line": 220, + "line": 232, "column": 28 }, "end": { - "line": 220, + "line": 232, "column": 37 } } @@ -30548,42 +30582,16 @@ "postfix": false, "binop": null }, - "start": 4530, - "end": 4531, + "start": 4714, + "end": 4715, "loc": { "start": { - "line": 220, + "line": 232, "column": 37 }, "end": { - "line": 220, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4531, - "end": 4532, - "loc": { - "start": { - "line": 220, + "line": 232, "column": 38 - }, - "end": { - "line": 220, - "column": 39 } } }, @@ -30599,31 +30607,31 @@ "postfix": false, "binop": null }, - "start": 4535, - "end": 4536, + "start": 4718, + "end": 4719, "loc": { "start": { - "line": 221, + "line": 233, "column": 2 }, "end": { - "line": 221, + "line": 233, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Return the piktun component of the fullDate\n * @returns {number}\n ", - "start": 4540, - "end": 4621, + "value": "*\n * Return the kalabtun component of the fullDate\n * @returns {number}\n ", + "start": 4723, + "end": 4806, "loc": { "start": { - "line": 223, + "line": 235, "column": 2 }, "end": { - "line": 226, + "line": 238, "column": 5 } } @@ -30641,15 +30649,15 @@ "binop": null }, "value": "get", - "start": 4624, - "end": 4627, + "start": 4809, + "end": 4812, "loc": { "start": { - "line": 227, + "line": 239, "column": 2 }, "end": { - "line": 227, + "line": 239, "column": 5 } } @@ -30666,17 +30674,17 @@ "postfix": false, "binop": null }, - "value": "piktun", - "start": 4628, - "end": 4634, + "value": "kalabtun", + "start": 4813, + "end": 4821, "loc": { "start": { - "line": 227, + "line": 239, "column": 6 }, "end": { - "line": 227, - "column": 12 + "line": 239, + "column": 14 } } }, @@ -30692,16 +30700,16 @@ "postfix": false, "binop": null }, - "start": 4634, - "end": 4635, + "start": 4822, + "end": 4823, "loc": { "start": { - "line": 227, - "column": 12 + "line": 239, + "column": 15 }, "end": { - "line": 227, - "column": 13 + "line": 239, + "column": 16 } } }, @@ -30717,16 +30725,16 @@ "postfix": false, "binop": null }, - "start": 4635, - "end": 4636, + "start": 4823, + "end": 4824, "loc": { "start": { - "line": 227, - "column": 13 + "line": 239, + "column": 16 }, "end": { - "line": 227, - "column": 14 + "line": 239, + "column": 17 } } }, @@ -30742,16 +30750,16 @@ "postfix": false, "binop": null }, - "start": 4637, - "end": 4638, + "start": 4825, + "end": 4826, "loc": { "start": { - "line": 227, - "column": 15 + "line": 239, + "column": 18 }, "end": { - "line": 227, - "column": 16 + "line": 239, + "column": 19 } } }, @@ -30770,15 +30778,15 @@ "updateContext": null }, "value": "return", - "start": 4643, - "end": 4649, + "start": 4831, + "end": 4837, "loc": { "start": { - "line": 228, + "line": 240, "column": 4 }, "end": { - "line": 228, + "line": 240, "column": 10 } } @@ -30798,15 +30806,15 @@ "updateContext": null }, "value": "this", - "start": 4650, - "end": 4654, + "start": 4838, + "end": 4842, "loc": { "start": { - "line": 228, + "line": 240, "column": 11 }, "end": { - "line": 228, + "line": 240, "column": 15 } } @@ -30824,15 +30832,15 @@ "binop": null, "updateContext": null }, - "start": 4654, - "end": 4655, + "start": 4842, + "end": 4843, "loc": { "start": { - "line": 228, + "line": 240, "column": 15 }, "end": { - "line": 228, + "line": 240, "column": 16 } } @@ -30850,15 +30858,15 @@ "binop": null }, "value": "getDateSections", - "start": 4655, - "end": 4670, + "start": 4843, + "end": 4858, "loc": { "start": { - "line": 228, + "line": 240, "column": 16 }, "end": { - "line": 228, + "line": 240, "column": 31 } } @@ -30875,15 +30883,15 @@ "postfix": false, "binop": null }, - "start": 4670, - "end": 4671, + "start": 4858, + "end": 4859, "loc": { "start": { - "line": 228, + "line": 240, "column": 31 }, "end": { - "line": 228, + "line": 240, "column": 32 } } @@ -30901,16 +30909,16 @@ "binop": null, "updateContext": null }, - "value": 5, - "start": 4671, - "end": 4672, + "value": 6, + "start": 4859, + "end": 4860, "loc": { "start": { - "line": 228, + "line": 240, "column": 32 }, "end": { - "line": 228, + "line": 240, "column": 33 } } @@ -30927,42 +30935,16 @@ "postfix": false, "binop": null }, - "start": 4672, - "end": 4673, + "start": 4860, + "end": 4861, "loc": { "start": { - "line": 228, + "line": 240, "column": 33 }, "end": { - "line": 228, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4673, - "end": 4674, - "loc": { - "start": { - "line": 228, + "line": 240, "column": 34 - }, - "end": { - "line": 228, - "column": 35 } } }, @@ -30978,31 +30960,31 @@ "postfix": false, "binop": null }, - "start": 4677, - "end": 4678, + "start": 4864, + "end": 4865, "loc": { "start": { - "line": 229, + "line": 241, "column": 2 }, "end": { - "line": 229, + "line": 241, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * Set the kalabtun component of the fullDate\n ", - "start": 4682, - "end": 4739, + "value": "*\n * Set the kinchiltun component of the fullDate\n ", + "start": 4869, + "end": 4928, "loc": { "start": { - "line": 231, + "line": 243, "column": 2 }, "end": { - "line": 233, + "line": 245, "column": 5 } } @@ -31020,15 +31002,15 @@ "binop": null }, "value": "set", - "start": 4742, - "end": 4745, + "start": 4931, + "end": 4934, "loc": { "start": { - "line": 234, + "line": 246, "column": 2 }, "end": { - "line": 234, + "line": 246, "column": 5 } } @@ -31045,17 +31027,17 @@ "postfix": false, "binop": null }, - "value": "kalabtun", - "start": 4746, - "end": 4754, + "value": "kinchiltun", + "start": 4935, + "end": 4945, "loc": { "start": { - "line": 234, + "line": 246, "column": 6 }, "end": { - "line": 234, - "column": 14 + "line": 246, + "column": 16 } } }, @@ -31071,16 +31053,16 @@ "postfix": false, "binop": null }, - "start": 4754, - "end": 4755, + "start": 4946, + "end": 4947, "loc": { "start": { - "line": 234, - "column": 14 + "line": 246, + "column": 17 }, "end": { - "line": 234, - "column": 15 + "line": 246, + "column": 18 } } }, @@ -31097,16 +31079,16 @@ "binop": null }, "value": "newBakTun", - "start": 4755, - "end": 4764, + "start": 4947, + "end": 4956, "loc": { "start": { - "line": 234, - "column": 15 + "line": 246, + "column": 18 }, "end": { - "line": 234, - "column": 24 + "line": 246, + "column": 27 } } }, @@ -31122,16 +31104,16 @@ "postfix": false, "binop": null }, - "start": 4764, - "end": 4765, + "start": 4956, + "end": 4957, "loc": { "start": { - "line": 234, - "column": 24 + "line": 246, + "column": 27 }, "end": { - "line": 234, - "column": 25 + "line": 246, + "column": 28 } } }, @@ -31147,16 +31129,16 @@ "postfix": false, "binop": null }, - "start": 4766, - "end": 4767, + "start": 4958, + "end": 4959, "loc": { "start": { - "line": 234, - "column": 26 + "line": 246, + "column": 29 }, "end": { - "line": 234, - "column": 27 + "line": 246, + "column": 30 } } }, @@ -31175,15 +31157,15 @@ "updateContext": null }, "value": "this", - "start": 4772, - "end": 4776, + "start": 4964, + "end": 4968, "loc": { "start": { - "line": 235, + "line": 247, "column": 4 }, "end": { - "line": 235, + "line": 247, "column": 8 } } @@ -31201,15 +31183,15 @@ "binop": null, "updateContext": null }, - "start": 4776, - "end": 4777, + "start": 4968, + "end": 4969, "loc": { "start": { - "line": 235, + "line": 247, "column": 8 }, "end": { - "line": 235, + "line": 247, "column": 9 } } @@ -31227,15 +31209,15 @@ "binop": null }, "value": "setDateSections", - "start": 4777, - "end": 4792, + "start": 4969, + "end": 4984, "loc": { "start": { - "line": 235, + "line": 247, "column": 9 }, "end": { - "line": 235, + "line": 247, "column": 24 } } @@ -31252,15 +31234,15 @@ "postfix": false, "binop": null }, - "start": 4792, - "end": 4793, + "start": 4984, + "end": 4985, "loc": { "start": { - "line": 235, + "line": 247, "column": 24 }, "end": { - "line": 235, + "line": 247, "column": 25 } } @@ -31278,16 +31260,16 @@ "binop": null, "updateContext": null }, - "value": 6, - "start": 4793, - "end": 4794, + "value": 7, + "start": 4985, + "end": 4986, "loc": { "start": { - "line": 235, + "line": 247, "column": 25 }, "end": { - "line": 235, + "line": 247, "column": 26 } } @@ -31305,15 +31287,15 @@ "binop": null, "updateContext": null }, - "start": 4794, - "end": 4795, + "start": 4986, + "end": 4987, "loc": { "start": { - "line": 235, + "line": 247, "column": 26 }, "end": { - "line": 235, + "line": 247, "column": 27 } } @@ -31331,15 +31313,15 @@ "binop": null }, "value": "newBakTun", - "start": 4796, - "end": 4805, + "start": 4988, + "end": 4997, "loc": { "start": { - "line": 235, + "line": 247, "column": 28 }, "end": { - "line": 235, + "line": 247, "column": 37 } } @@ -31356,22 +31338,191 @@ "postfix": false, "binop": null }, - "start": 4805, - "end": 4806, + "start": 4997, + "end": 4998, "loc": { "start": { - "line": 235, + "line": 247, "column": 37 }, "end": { - "line": 235, + "line": 247, "column": 38 } } }, { "type": { - "label": ";", + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5001, + "end": 5002, + "loc": { + "start": { + "line": 248, + "column": 2 + }, + "end": { + "line": 248, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the kinchiltun component of the fullDate\n * @returns {number}\n ", + "start": 5006, + "end": 5091, + "loc": { + "start": { + "line": 250, + "column": 2 + }, + "end": { + "line": 253, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "get", + "start": 5094, + "end": 5097, + "loc": { + "start": { + "line": 254, + "column": 2 + }, + "end": { + "line": 254, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "kinchiltun", + "start": 5098, + "end": 5108, + "loc": { + "start": { + "line": 254, + "column": 6 + }, + "end": { + "line": 254, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5109, + "end": 5110, + "loc": { + "start": { + "line": 254, + "column": 17 + }, + "end": { + "line": 254, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5110, + "end": 5111, + "loc": { + "start": { + "line": 254, + "column": 18 + }, + "end": { + "line": 254, + "column": 19 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5112, + "end": 5113, + "loc": { + "start": { + "line": 254, + "column": 20 + }, + "end": { + "line": 254, + "column": 21 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -31382,22 +31533,51 @@ "binop": null, "updateContext": null }, - "start": 4806, - "end": 4807, + "value": "return", + "start": 5118, + "end": 5124, "loc": { "start": { - "line": 235, - "column": 38 + "line": 255, + "column": 4 }, "end": { - "line": 235, - "column": 39 + "line": 255, + "column": 10 } } }, { "type": { - "label": "}", + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 5125, + "end": 5129, + "loc": { + "start": { + "line": 255, + "column": 11 + }, + "end": { + "line": 255, + "column": 15 + } + } + }, + { + "type": { + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -31405,42 +31585,130 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5129, + "end": 5130, + "loc": { + "start": { + "line": 255, + "column": 15 + }, + "end": { + "line": 255, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getDateSections", + "start": 5130, + "end": 5145, + "loc": { + "start": { + "line": 255, + "column": 16 + }, + "end": { + "line": 255, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null }, - "start": 4810, - "end": 4811, + "start": 5145, + "end": 5146, "loc": { "start": { - "line": 236, - "column": 2 + "line": 255, + "column": 31 }, "end": { - "line": 236, - "column": 3 + "line": 255, + "column": 32 } } }, { - "type": "CommentBlock", - "value": "*\n * Return the kalabtun component of the fullDate\n * @returns {number}\n ", - "start": 4815, - "end": 4898, + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 7, + "start": 5146, + "end": 5147, "loc": { "start": { - "line": 238, - "column": 2 + "line": 255, + "column": 32 + }, + "end": { + "line": 255, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5147, + "end": 5148, + "loc": { + "start": { + "line": 255, + "column": 33 }, "end": { - "line": 241, - "column": 5 + "line": 255, + "column": 34 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -31448,16 +31716,31 @@ "postfix": false, "binop": null }, - "value": "get", - "start": 4901, - "end": 4904, + "start": 5151, + "end": 5152, + "loc": { + "start": { + "line": 256, + "column": 2 + }, + "end": { + "line": 256, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Ensure the fullDate has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", + "start": 5156, + "end": 5266, "loc": { "start": { - "line": 242, + "line": 258, "column": 2 }, "end": { - "line": 242, + "line": 261, "column": 5 } } @@ -31474,17 +31757,17 @@ "postfix": false, "binop": null }, - "value": "kalabtun", - "start": 4905, - "end": 4913, + "value": "isValid", + "start": 5269, + "end": 5276, "loc": { "start": { - "line": 242, - "column": 6 + "line": 262, + "column": 2 }, "end": { - "line": 242, - "column": 14 + "line": 262, + "column": 9 } } }, @@ -31500,16 +31783,16 @@ "postfix": false, "binop": null }, - "start": 4913, - "end": 4914, + "start": 5277, + "end": 5278, "loc": { "start": { - "line": 242, - "column": 14 + "line": 262, + "column": 10 }, "end": { - "line": 242, - "column": 15 + "line": 262, + "column": 11 } } }, @@ -31525,16 +31808,16 @@ "postfix": false, "binop": null }, - "start": 4914, - "end": 4915, + "start": 5278, + "end": 5279, "loc": { "start": { - "line": 242, - "column": 15 + "line": 262, + "column": 11 }, "end": { - "line": 242, - "column": 16 + "line": 262, + "column": 12 } } }, @@ -31550,16 +31833,16 @@ "postfix": false, "binop": null }, - "start": 4916, - "end": 4917, + "start": 5280, + "end": 5281, "loc": { "start": { - "line": 242, - "column": 17 + "line": 262, + "column": 13 }, "end": { - "line": 242, - "column": 18 + "line": 262, + "column": 14 } } }, @@ -31578,15 +31861,15 @@ "updateContext": null }, "value": "return", - "start": 4922, - "end": 4928, + "start": 5286, + "end": 5292, "loc": { "start": { - "line": 243, + "line": 263, "column": 4 }, "end": { - "line": 243, + "line": 263, "column": 10 } } @@ -31606,15 +31889,15 @@ "updateContext": null }, "value": "this", - "start": 4929, - "end": 4933, + "start": 5293, + "end": 5297, "loc": { "start": { - "line": 243, + "line": 263, "column": 11 }, "end": { - "line": 243, + "line": 263, "column": 15 } } @@ -31632,15 +31915,15 @@ "binop": null, "updateContext": null }, - "start": 4933, - "end": 4934, + "start": 5297, + "end": 5298, "loc": { "start": { - "line": 243, + "line": 263, "column": 15 }, "end": { - "line": 243, + "line": 263, "column": 16 } } @@ -31657,48 +31940,49 @@ "postfix": false, "binop": null }, - "value": "getDateSections", - "start": 4934, - "end": 4949, + "value": "date_pattern", + "start": 5298, + "end": 5310, "loc": { "start": { - "line": 243, + "line": 263, "column": 16 }, "end": { - "line": 243, - "column": 31 + "line": 263, + "column": 28 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4949, - "end": 4950, + "start": 5310, + "end": 5311, "loc": { "start": { - "line": 243, - "column": 31 + "line": 263, + "column": 28 }, "end": { - "line": 243, - "column": 32 + "line": 263, + "column": 29 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -31706,28 +31990,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 6, - "start": 4950, - "end": 4951, + "value": "test", + "start": 5311, + "end": 5315, "loc": { "start": { - "line": 243, - "column": 32 + "line": 263, + "column": 29 }, "end": { - "line": 243, + "line": 263, "column": 33 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -31735,24 +32018,25 @@ "postfix": false, "binop": null }, - "start": 4951, - "end": 4952, + "start": 5315, + "end": 5316, "loc": { "start": { - "line": 243, + "line": 263, "column": 33 }, "end": { - "line": 243, + "line": 263, "column": 34 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -31761,22 +32045,23 @@ "binop": null, "updateContext": null }, - "start": 4952, - "end": 4953, + "value": "this", + "start": 5316, + "end": 5320, "loc": { "start": { - "line": 243, + "line": 263, "column": 34 }, "end": { - "line": 243, - "column": 35 + "line": 263, + "column": 38 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -31784,34 +32069,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4956, - "end": 4957, - "loc": { - "start": { - "line": 244, - "column": 2 - }, - "end": { - "line": 244, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Set the kinchiltun component of the fullDate\n ", - "start": 4961, - "end": 5020, + "start": 5320, + "end": 5321, "loc": { "start": { - "line": 246, - "column": 2 + "line": 263, + "column": 38 }, "end": { - "line": 248, - "column": 5 + "line": 263, + "column": 39 } } }, @@ -31827,24 +32097,24 @@ "postfix": false, "binop": null }, - "value": "set", - "start": 5023, - "end": 5026, + "value": "toString", + "start": 5321, + "end": 5329, "loc": { "start": { - "line": 249, - "column": 2 + "line": 263, + "column": 39 }, "end": { - "line": 249, - "column": 5 + "line": 263, + "column": 47 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -31853,25 +32123,24 @@ "postfix": false, "binop": null }, - "value": "kinchiltun", - "start": 5027, - "end": 5037, + "start": 5329, + "end": 5330, "loc": { "start": { - "line": 249, - "column": 6 + "line": 263, + "column": 47 }, "end": { - "line": 249, - "column": 16 + "line": 263, + "column": 48 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -31879,24 +32148,24 @@ "postfix": false, "binop": null }, - "start": 5037, - "end": 5038, + "start": 5330, + "end": 5331, "loc": { "start": { - "line": 249, - "column": 16 + "line": 263, + "column": 48 }, "end": { - "line": 249, - "column": 17 + "line": 263, + "column": 49 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -31904,23 +32173,22 @@ "postfix": false, "binop": null }, - "value": "newBakTun", - "start": 5038, - "end": 5047, + "start": 5331, + "end": 5332, "loc": { "start": { - "line": 249, - "column": 17 + "line": 263, + "column": 49 }, "end": { - "line": 249, - "column": 26 + "line": 263, + "column": 50 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -31930,23 +32198,39 @@ "postfix": false, "binop": null }, - "start": 5047, - "end": 5048, + "start": 5335, + "end": 5336, "loc": { "start": { - "line": 249, - "column": 26 + "line": 264, + "column": 2 }, "end": { - "line": 249, - "column": 27 + "line": 264, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n ", + "start": 5340, + "end": 5477, + "loc": { + "start": { + "line": 266, + "column": 2 + }, + "end": { + "line": 270, + "column": 5 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -31955,50 +32239,48 @@ "postfix": false, "binop": null }, - "start": 5049, - "end": 5050, + "value": "isPartial", + "start": 5480, + "end": 5489, "loc": { "start": { - "line": 249, - "column": 28 + "line": 271, + "column": 2 }, "end": { - "line": 249, - "column": 29 + "line": 271, + "column": 11 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 5055, - "end": 5059, + "start": 5490, + "end": 5491, "loc": { "start": { - "line": 250, - "column": 4 + "line": 271, + "column": 12 }, "end": { - "line": 250, - "column": 8 + "line": 271, + "column": 13 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -32006,26 +32288,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5059, - "end": 5060, + "start": 5491, + "end": 5492, "loc": { "start": { - "line": 250, - "column": 8 + "line": 271, + "column": 13 }, "end": { - "line": 250, - "column": 9 + "line": 271, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -32034,48 +32315,51 @@ "postfix": false, "binop": null }, - "value": "setDateSections", - "start": 5060, - "end": 5075, + "start": 5493, + "end": 5494, "loc": { "start": { - "line": 250, - "column": 9 + "line": 271, + "column": 15 }, "end": { - "line": 250, - "column": 24 + "line": 271, + "column": 16 } } }, { "type": { - "label": "(", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5075, - "end": 5076, + "value": "return", + "start": 5499, + "end": 5505, "loc": { "start": { - "line": 250, - "column": 24 + "line": 272, + "column": 4 }, "end": { - "line": 250, - "column": 25 + "line": 272, + "column": 10 } } }, { "type": { - "label": "num", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -32086,24 +32370,24 @@ "binop": null, "updateContext": null }, - "value": 7, - "start": 5076, - "end": 5077, + "value": "this", + "start": 5506, + "end": 5510, "loc": { "start": { - "line": 250, - "column": 25 + "line": 272, + "column": 11 }, "end": { - "line": 250, - "column": 26 + "line": 272, + "column": 15 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -32113,16 +32397,16 @@ "binop": null, "updateContext": null }, - "start": 5077, - "end": 5078, + "start": 5510, + "end": 5511, "loc": { "start": { - "line": 250, - "column": 26 + "line": 272, + "column": 15 }, "end": { - "line": 250, - "column": 27 + "line": 272, + "column": 16 } } }, @@ -32138,23 +32422,23 @@ "postfix": false, "binop": null }, - "value": "newBakTun", - "start": 5079, - "end": 5088, + "value": "parts", + "start": 5511, + "end": 5516, "loc": { "start": { - "line": 250, - "column": 28 + "line": 272, + "column": 16 }, "end": { - "line": 250, - "column": 37 + "line": 272, + "column": 21 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -32162,52 +32446,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5088, - "end": 5089, + "start": 5516, + "end": 5517, "loc": { "start": { - "line": 250, - "column": 37 + "line": 272, + "column": 21 }, "end": { - "line": 250, - "column": 38 + "line": 272, + "column": 22 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5089, - "end": 5090, + "value": "some", + "start": 5517, + "end": 5521, "loc": { "start": { - "line": 250, - "column": 38 + "line": 272, + "column": 22 }, "end": { - "line": 250, - "column": 39 + "line": 272, + "column": 26 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -32215,39 +32500,23 @@ "postfix": false, "binop": null }, - "start": 5093, - "end": 5094, - "loc": { - "start": { - "line": 251, - "column": 2 - }, - "end": { - "line": 251, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return the kinchiltun component of the fullDate\n * @returns {number}\n ", - "start": 5098, - "end": 5183, + "start": 5521, + "end": 5522, "loc": { "start": { - "line": 253, - "column": 2 + "line": 272, + "column": 26 }, "end": { - "line": 256, - "column": 5 + "line": 272, + "column": 27 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -32256,17 +32525,16 @@ "postfix": false, "binop": null }, - "value": "get", - "start": 5186, - "end": 5189, + "start": 5522, + "end": 5523, "loc": { "start": { - "line": 257, - "column": 2 + "line": 272, + "column": 27 }, "end": { - "line": 257, - "column": 5 + "line": 272, + "column": 28 } } }, @@ -32282,25 +32550,25 @@ "postfix": false, "binop": null }, - "value": "kinchiltun", - "start": 5190, - "end": 5200, + "value": "part", + "start": 5523, + "end": 5527, "loc": { "start": { - "line": 257, - "column": 6 + "line": 272, + "column": 28 }, "end": { - "line": 257, - "column": 16 + "line": 272, + "column": 32 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -32308,48 +32576,49 @@ "postfix": false, "binop": null }, - "start": 5200, - "end": 5201, + "start": 5527, + "end": 5528, "loc": { "start": { - "line": 257, - "column": 16 + "line": 272, + "column": 32 }, "end": { - "line": 257, - "column": 17 + "line": 272, + "column": 33 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=>", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5201, - "end": 5202, + "start": 5529, + "end": 5531, "loc": { "start": { - "line": 257, - "column": 17 + "line": 272, + "column": 34 }, "end": { - "line": 257, - "column": 18 + "line": 272, + "column": 36 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -32358,23 +32627,23 @@ "postfix": false, "binop": null }, - "start": 5203, - "end": 5204, + "value": "part", + "start": 5532, + "end": 5536, "loc": { "start": { - "line": 257, - "column": 19 + "line": 272, + "column": 37 }, "end": { - "line": 257, - "column": 20 + "line": 272, + "column": 41 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -32382,27 +32651,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "value": "return", - "start": 5209, - "end": 5215, + "value": "===", + "start": 5537, + "end": 5540, "loc": { "start": { - "line": 258, - "column": 4 + "line": 272, + "column": 42 }, "end": { - "line": 258, - "column": 10 + "line": 272, + "column": 45 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -32410,26 +32678,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 5216, - "end": 5220, + "value": "wildcard", + "start": 5541, + "end": 5549, "loc": { "start": { - "line": 258, - "column": 11 + "line": 272, + "column": 46 }, "end": { - "line": 258, - "column": 15 + "line": 272, + "column": 54 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -32437,27 +32704,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5220, - "end": 5221, + "start": 5549, + "end": 5550, "loc": { "start": { - "line": 258, - "column": 15 + "line": 272, + "column": 54 }, "end": { - "line": 258, - "column": 16 + "line": 272, + "column": 55 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -32465,24 +32731,39 @@ "postfix": false, "binop": null }, - "value": "getDateSections", - "start": 5221, - "end": 5236, + "start": 5553, + "end": 5554, "loc": { "start": { - "line": 258, - "column": 16 + "line": 273, + "column": 2 }, "end": { - "line": 258, - "column": 31 + "line": 273, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", + "start": 5558, + "end": 5648, + "loc": { + "start": { + "line": 275, + "column": 2 + }, + "end": { + "line": 278, + "column": 5 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -32491,43 +32772,42 @@ "postfix": false, "binop": null }, - "start": 5236, - "end": 5237, + "value": "getPosition", + "start": 5651, + "end": 5662, "loc": { "start": { - "line": 258, - "column": 31 + "line": 279, + "column": 2 }, "end": { - "line": 258, - "column": 32 + "line": 279, + "column": 13 } } }, { "type": { - "label": "num", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 7, - "start": 5237, - "end": 5238, + "start": 5663, + "end": 5664, "loc": { "start": { - "line": 258, - "column": 32 + "line": 279, + "column": 14 }, "end": { - "line": 258, - "column": 33 + "line": 279, + "column": 15 } } }, @@ -32543,48 +32823,48 @@ "postfix": false, "binop": null }, - "start": 5238, - "end": 5239, + "start": 5664, + "end": 5665, "loc": { "start": { - "line": 258, - "column": 33 + "line": 279, + "column": 15 }, "end": { - "line": 258, - "column": 34 + "line": 279, + "column": 16 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5239, - "end": 5240, + "start": 5666, + "end": 5667, "loc": { "start": { - "line": 258, - "column": 34 + "line": 279, + "column": 17 }, "end": { - "line": 258, - "column": 35 + "line": 279, + "column": 18 } } }, { "type": { - "label": "}", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -32592,40 +32872,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5243, - "end": 5244, + "value": "if", + "start": 5672, + "end": 5674, "loc": { "start": { - "line": 259, - "column": 2 + "line": 280, + "column": 4 }, "end": { - "line": 259, - "column": 3 + "line": 280, + "column": 6 } } }, { - "type": "CommentBlock", - "value": "*\n * Ensure the fullDate has only numbers and wildcards separated by points.\n * @returns {boolean}\n ", - "start": 5248, - "end": 5358, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5675, + "end": 5676, "loc": { "start": { - "line": 261, - "column": 2 + "line": 280, + "column": 7 }, "end": { - "line": 264, - "column": 5 + "line": 280, + "column": 8 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -32633,52 +32925,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "isValid", - "start": 5361, - "end": 5368, + "value": "this", + "start": 5676, + "end": 5680, "loc": { "start": { - "line": 265, - "column": 2 + "line": 280, + "column": 8 }, "end": { - "line": 265, - "column": 9 + "line": 280, + "column": 12 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5368, - "end": 5369, + "start": 5680, + "end": 5681, "loc": { "start": { - "line": 265, - "column": 9 + "line": 280, + "column": 12 }, "end": { - "line": 265, - "column": 10 + "line": 280, + "column": 13 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -32686,22 +32980,23 @@ "postfix": false, "binop": null }, - "start": 5369, - "end": 5370, + "value": "isPartial", + "start": 5681, + "end": 5690, "loc": { "start": { - "line": 265, - "column": 10 + "line": 280, + "column": 13 }, "end": { - "line": 265, - "column": 11 + "line": 280, + "column": 22 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -32711,132 +33006,128 @@ "postfix": false, "binop": null }, - "start": 5371, - "end": 5372, + "start": 5690, + "end": 5691, "loc": { "start": { - "line": 265, - "column": 12 + "line": 280, + "column": 22 }, "end": { - "line": 265, - "column": 13 + "line": 280, + "column": 23 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 5377, - "end": 5383, + "start": 5691, + "end": 5692, "loc": { "start": { - "line": 266, - "column": 4 + "line": 280, + "column": 23 }, "end": { - "line": 266, - "column": 10 + "line": 280, + "column": 24 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 5384, - "end": 5388, + "start": 5692, + "end": 5693, "loc": { "start": { - "line": 266, - "column": 11 + "line": 280, + "column": 24 }, "end": { - "line": 266, - "column": 15 + "line": 280, + "column": 25 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5388, - "end": 5389, + "start": 5694, + "end": 5695, "loc": { "start": { - "line": 266, - "column": 15 + "line": 280, + "column": 26 }, "end": { - "line": 266, - "column": 16 + "line": 280, + "column": 27 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "throw", + "keyword": "throw", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "date_pattern", - "start": 5389, - "end": 5401, + "value": "throw", + "start": 5702, + "end": 5707, "loc": { "start": { - "line": 266, - "column": 16 + "line": 281, + "column": 6 }, "end": { - "line": 266, - "column": 28 + "line": 281, + "column": 11 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -32845,16 +33136,17 @@ "binop": null, "updateContext": null }, - "start": 5401, - "end": 5402, + "value": "new", + "start": 5708, + "end": 5711, "loc": { "start": { - "line": 266, - "column": 28 + "line": 281, + "column": 12 }, "end": { - "line": 266, - "column": 29 + "line": 281, + "column": 15 } } }, @@ -32870,17 +33162,17 @@ "postfix": false, "binop": null }, - "value": "test", - "start": 5402, - "end": 5406, + "value": "Error", + "start": 5712, + "end": 5717, "loc": { "start": { - "line": 266, - "column": 29 + "line": 281, + "column": 16 }, "end": { - "line": 266, - "column": 33 + "line": 281, + "column": 21 } } }, @@ -32896,23 +33188,22 @@ "postfix": false, "binop": null }, - "start": 5406, - "end": 5407, + "start": 5717, + "end": 5718, "loc": { "start": { - "line": 266, - "column": 33 + "line": 281, + "column": 21 }, "end": { - "line": 266, - "column": 34 + "line": 281, + "column": 22 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -32923,23 +33214,23 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 5407, - "end": 5411, + "value": "Can not get position of fullDate dates", + "start": 5718, + "end": 5758, "loc": { "start": { - "line": 266, - "column": 34 + "line": 281, + "column": 22 }, "end": { - "line": 266, - "column": 38 + "line": 281, + "column": 62 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -32947,27 +33238,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5411, - "end": 5412, + "start": 5758, + "end": 5759, "loc": { "start": { - "line": 266, - "column": 38 + "line": 281, + "column": 62 }, "end": { - "line": 266, - "column": 39 + "line": 281, + "column": 63 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -32975,50 +33265,52 @@ "postfix": false, "binop": null }, - "value": "toString", - "start": 5412, - "end": 5420, + "start": 5764, + "end": 5765, "loc": { "start": { - "line": 266, - "column": 39 + "line": 282, + "column": 4 }, "end": { - "line": 266, - "column": 47 + "line": 282, + "column": 5 } } }, { "type": { - "label": "(", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5420, - "end": 5421, + "value": "return", + "start": 5770, + "end": 5776, "loc": { "start": { - "line": 266, - "column": 47 + "line": 283, + "column": 4 }, "end": { - "line": 266, - "column": 48 + "line": 283, + "column": 10 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -33026,48 +33318,51 @@ "postfix": false, "binop": null }, - "start": 5421, - "end": 5422, + "start": 5777, + "end": 5778, "loc": { "start": { - "line": 266, - "column": 48 + "line": 283, + "column": 11 }, "end": { - "line": 266, - "column": 49 + "line": 283, + "column": 12 } } }, { "type": { - "label": ")", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5422, - "end": 5423, + "value": "this", + "start": 5778, + "end": 5782, "loc": { "start": { - "line": 266, - "column": 49 + "line": 283, + "column": 12 }, "end": { - "line": 266, - "column": 50 + "line": 283, + "column": 16 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -33077,24 +33372,24 @@ "binop": null, "updateContext": null }, - "start": 5423, - "end": 5424, + "start": 5782, + "end": 5783, "loc": { "start": { - "line": 266, - "column": 50 + "line": 283, + "column": 16 }, "end": { - "line": 266, - "column": 51 + "line": 283, + "column": 17 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -33102,89 +33397,78 @@ "postfix": false, "binop": null }, - "start": 5427, - "end": 5428, - "loc": { - "start": { - "line": 267, - "column": 2 - }, - "end": { - "line": 267, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n ", - "start": 5432, - "end": 5569, + "value": "kIn", + "start": 5783, + "end": 5786, "loc": { "start": { - "line": 269, - "column": 2 + "line": 283, + "column": 17 }, "end": { - "line": 273, - "column": 5 + "line": 283, + "column": 20 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "+/-", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "value": "isPartial", - "start": 5572, - "end": 5581, + "value": "+", + "start": 5793, + "end": 5794, "loc": { "start": { - "line": 274, - "column": 2 + "line": 284, + "column": 6 }, "end": { - "line": 274, - "column": 11 + "line": 284, + "column": 7 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5581, - "end": 5582, + "value": "this", + "start": 5795, + "end": 5799, "loc": { "start": { - "line": 274, - "column": 11 + "line": 284, + "column": 8 }, "end": { - "line": 274, + "line": 284, "column": 12 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -33192,25 +33476,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5582, - "end": 5583, + "start": 5799, + "end": 5800, "loc": { "start": { - "line": 274, + "line": 284, "column": 12 }, "end": { - "line": 274, + "line": 284, "column": 13 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -33219,23 +33504,23 @@ "postfix": false, "binop": null }, - "start": 5584, - "end": 5585, + "value": "winal", + "start": 5800, + "end": 5805, "loc": { "start": { - "line": 274, - "column": 14 + "line": 284, + "column": 13 }, "end": { - "line": 274, - "column": 15 + "line": 284, + "column": 18 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -33243,27 +33528,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "value": "return", - "start": 5590, - "end": 5596, + "value": "*", + "start": 5806, + "end": 5807, "loc": { "start": { - "line": 275, - "column": 4 + "line": 284, + "column": 19 }, "end": { - "line": 275, - "column": 10 + "line": 284, + "column": 20 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -33274,49 +33558,51 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 5597, - "end": 5601, + "value": 20, + "start": 5808, + "end": 5810, "loc": { "start": { - "line": 275, - "column": 11 + "line": 284, + "column": 21 }, "end": { - "line": 275, - "column": 15 + "line": 284, + "column": 23 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "start": 5601, - "end": 5602, + "value": "+", + "start": 5817, + "end": 5818, "loc": { "start": { - "line": 275, - "column": 15 + "line": 285, + "column": 6 }, "end": { - "line": 275, - "column": 16 + "line": 285, + "column": 7 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -33324,19 +33610,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "parts", - "start": 5602, - "end": 5607, + "value": "this", + "start": 5819, + "end": 5823, "loc": { "start": { - "line": 275, - "column": 16 + "line": 285, + "column": 8 }, "end": { - "line": 275, - "column": 21 + "line": 285, + "column": 12 } } }, @@ -33353,16 +33640,16 @@ "binop": null, "updateContext": null }, - "start": 5607, - "end": 5608, + "start": 5823, + "end": 5824, "loc": { "start": { - "line": 275, - "column": 21 + "line": 285, + "column": 12 }, "end": { - "line": 275, - "column": 22 + "line": 285, + "column": 13 } } }, @@ -33378,125 +33665,133 @@ "postfix": false, "binop": null }, - "value": "some", - "start": 5608, - "end": 5612, + "value": "tun", + "start": 5824, + "end": 5827, "loc": { "start": { - "line": 275, - "column": 22 + "line": 285, + "column": 13 }, "end": { - "line": 275, - "column": 26 + "line": 285, + "column": 16 } } }, { "type": { - "label": "(", + "label": "*", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 10, + "updateContext": null }, - "start": 5612, - "end": 5613, + "value": "*", + "start": 5828, + "end": 5829, "loc": { "start": { - "line": 275, - "column": 26 + "line": 285, + "column": 17 }, "end": { - "line": 275, - "column": 27 + "line": 285, + "column": 18 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "num", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5613, - "end": 5614, + "value": 360, + "start": 5830, + "end": 5833, "loc": { "start": { - "line": 275, - "column": 27 + "line": 285, + "column": 19 }, "end": { - "line": 275, - "column": 28 + "line": 285, + "column": 22 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "+/-", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "value": "part", - "start": 5614, - "end": 5618, + "value": "+", + "start": 5840, + "end": 5841, "loc": { "start": { - "line": 275, - "column": 28 + "line": 286, + "column": 6 }, "end": { - "line": 275, - "column": 32 + "line": 286, + "column": 7 } } }, { "type": { - "label": ")", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5618, - "end": 5619, + "value": "this", + "start": 5842, + "end": 5846, "loc": { "start": { - "line": 275, - "column": 32 + "line": 286, + "column": 8 }, "end": { - "line": 275, - "column": 33 + "line": 286, + "column": 12 } } }, { "type": { - "label": "=>", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -33506,16 +33801,16 @@ "binop": null, "updateContext": null }, - "start": 5620, - "end": 5622, + "start": 5846, + "end": 5847, "loc": { "start": { - "line": 275, - "column": 34 + "line": 286, + "column": 12 }, "end": { - "line": 275, - "column": 36 + "line": 286, + "column": 13 } } }, @@ -33531,23 +33826,23 @@ "postfix": false, "binop": null }, - "value": "part", - "start": 5623, - "end": 5627, + "value": "kAtun", + "start": 5847, + "end": 5852, "loc": { "start": { - "line": 275, - "column": 37 + "line": 286, + "column": 13 }, "end": { - "line": 275, - "column": 41 + "line": 286, + "column": 18 } } }, { "type": { - "label": "==/!=", + "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -33555,26 +33850,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": 10, "updateContext": null }, - "value": "===", - "start": 5628, - "end": 5631, + "value": "*", + "start": 5853, + "end": 5854, "loc": { "start": { - "line": 275, - "column": 42 + "line": 286, + "column": 19 }, "end": { - "line": 275, - "column": 45 + "line": 286, + "column": 20 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -33582,52 +33877,56 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "wildcard", - "start": 5632, - "end": 5640, + "value": 7200, + "start": 5855, + "end": 5859, "loc": { "start": { - "line": 275, - "column": 46 + "line": 286, + "column": 21 }, "end": { - "line": 275, - "column": 54 + "line": 286, + "column": 25 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "start": 5640, - "end": 5641, + "value": "+", + "start": 5866, + "end": 5867, "loc": { "start": { - "line": 275, - "column": 54 + "line": 287, + "column": 6 }, "end": { - "line": 275, - "column": 55 + "line": 287, + "column": 7 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -33636,22 +33935,23 @@ "binop": null, "updateContext": null }, - "start": 5641, - "end": 5642, + "value": "this", + "start": 5868, + "end": 5872, "loc": { "start": { - "line": 275, - "column": 55 + "line": 287, + "column": 8 }, "end": { - "line": 275, - "column": 56 + "line": 287, + "column": 12 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -33659,34 +33959,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5645, - "end": 5646, - "loc": { - "start": { - "line": 276, - "column": 2 - }, - "end": { - "line": 276, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n ", - "start": 5650, - "end": 5740, + "start": 5872, + "end": 5873, "loc": { "start": { - "line": 278, - "column": 2 + "line": 287, + "column": 12 }, "end": { - "line": 281, - "column": 5 + "line": 287, + "column": 13 } } }, @@ -33702,101 +33987,107 @@ "postfix": false, "binop": null }, - "value": "getPosition", - "start": 5743, - "end": 5754, + "value": "bakTun", + "start": 5873, + "end": 5879, "loc": { "start": { - "line": 282, - "column": 2 + "line": 287, + "column": 13 }, "end": { - "line": 282, - "column": 13 + "line": 287, + "column": 19 } } }, { "type": { - "label": "(", + "label": "*", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 10, + "updateContext": null }, - "start": 5754, - "end": 5755, + "value": "*", + "start": 5880, + "end": 5881, "loc": { "start": { - "line": 282, - "column": 13 + "line": 287, + "column": 20 }, "end": { - "line": 282, - "column": 14 + "line": 287, + "column": 21 } } }, { "type": { - "label": ")", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5755, - "end": 5756, + "value": 144000, + "start": 5882, + "end": 5888, "loc": { "start": { - "line": 282, - "column": 14 + "line": 287, + "column": 22 }, "end": { - "line": 282, - "column": 15 + "line": 287, + "column": 28 } } }, { "type": { - "label": "{", + "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "start": 5757, - "end": 5758, + "value": "+", + "start": 5895, + "end": 5896, "loc": { "start": { - "line": 282, - "column": 16 + "line": 288, + "column": 6 }, "end": { - "line": 282, - "column": 17 + "line": 288, + "column": 7 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -33805,49 +34096,49 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 5763, - "end": 5765, + "value": "this", + "start": 5897, + "end": 5901, "loc": { "start": { - "line": 283, - "column": 4 + "line": 288, + "column": 8 }, "end": { - "line": 283, - "column": 6 + "line": 288, + "column": 12 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5766, - "end": 5767, + "start": 5901, + "end": 5902, "loc": { "start": { - "line": 283, - "column": 7 + "line": 288, + "column": 12 }, "end": { - "line": 283, - "column": 8 + "line": 288, + "column": 13 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -33855,52 +34146,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 5767, - "end": 5771, + "value": "piktun", + "start": 5902, + "end": 5908, "loc": { "start": { - "line": 283, - "column": 8 + "line": 288, + "column": 13 }, "end": { - "line": 283, - "column": 12 + "line": 288, + "column": 19 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "*", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "start": 5771, - "end": 5772, + "value": "*", + "start": 5909, + "end": 5910, "loc": { "start": { - "line": 283, - "column": 12 + "line": 288, + "column": 20 }, "end": { - "line": 283, - "column": 13 + "line": 288, + "column": 21 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -33908,75 +34199,81 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "isPartial", - "start": 5772, - "end": 5781, + "value": 2880000, + "start": 5911, + "end": 5918, "loc": { "start": { - "line": 283, - "column": 13 + "line": 288, + "column": 22 }, "end": { - "line": 283, - "column": 22 + "line": 288, + "column": 29 } } }, { "type": { - "label": "(", + "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "start": 5781, - "end": 5782, + "value": "+", + "start": 5925, + "end": 5926, "loc": { "start": { - "line": 283, - "column": 22 + "line": 289, + "column": 6 }, "end": { - "line": 283, - "column": 23 + "line": 289, + "column": 7 } } }, { "type": { - "label": ")", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5782, - "end": 5783, + "value": "this", + "start": 5927, + "end": 5931, "loc": { "start": { - "line": 283, - "column": 23 + "line": 289, + "column": 8 }, "end": { - "line": 283, - "column": 24 + "line": 289, + "column": 12 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -33984,25 +34281,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5783, - "end": 5784, + "start": 5931, + "end": 5932, "loc": { "start": { - "line": 283, - "column": 24 + "line": 289, + "column": 12 }, "end": { - "line": 283, - "column": 25 + "line": 289, + "column": 13 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -34011,23 +34309,23 @@ "postfix": false, "binop": null }, - "start": 5785, - "end": 5786, + "value": "kalabtun", + "start": 5932, + "end": 5940, "loc": { "start": { - "line": 283, - "column": 26 + "line": 289, + "column": 13 }, "end": { - "line": 283, - "column": 27 + "line": 289, + "column": 21 } } }, { "type": { - "label": "throw", - "keyword": "throw", + "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -34035,28 +34333,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "value": "throw", - "start": 5793, - "end": 5798, + "value": "*", + "start": 5941, + "end": 5942, "loc": { "start": { - "line": 284, - "column": 6 + "line": 289, + "column": 22 }, "end": { - "line": 284, - "column": 11 + "line": 289, + "column": 23 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, + "label": "num", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -34066,76 +34363,80 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 5799, - "end": 5802, + "value": 57600000, + "start": 5943, + "end": 5951, "loc": { "start": { - "line": 284, - "column": 12 + "line": 289, + "column": 24 }, "end": { - "line": 284, - "column": 15 + "line": 289, + "column": 32 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "+/-", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "value": "Error", - "start": 5803, - "end": 5808, + "value": "+", + "start": 5958, + "end": 5959, "loc": { "start": { - "line": 284, - "column": 16 + "line": 290, + "column": 6 }, "end": { - "line": 284, - "column": 21 + "line": 290, + "column": 7 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5808, - "end": 5809, + "value": "this", + "start": 5960, + "end": 5964, "loc": { "start": { - "line": 284, - "column": 21 + "line": 290, + "column": 8 }, "end": { - "line": 284, - "column": 22 + "line": 290, + "column": 12 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -34144,25 +34445,24 @@ "binop": null, "updateContext": null }, - "value": "Can not get position of fullDate dates", - "start": 5809, - "end": 5849, + "start": 5964, + "end": 5965, "loc": { "start": { - "line": 284, - "column": 22 + "line": 290, + "column": 12 }, "end": { - "line": 284, - "column": 62 + "line": 290, + "column": 13 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -34170,22 +34470,23 @@ "postfix": false, "binop": null }, - "start": 5849, - "end": 5850, + "value": "kinchiltun", + "start": 5965, + "end": 5975, "loc": { "start": { - "line": 284, - "column": 62 + "line": 290, + "column": 13 }, "end": { - "line": 284, - "column": 63 + "line": 290, + "column": 23 } } }, { "type": { - "label": ";", + "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -34193,97 +34494,99 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "start": 5850, - "end": 5851, + "value": "*", + "start": 5976, + "end": 5977, "loc": { "start": { - "line": 284, - "column": 63 + "line": 290, + "column": 24 }, "end": { - "line": 284, - "column": 64 + "line": 290, + "column": 25 } } }, { "type": { - "label": "}", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 5856, - "end": 5857, + "value": 1152000000, + "start": 5978, + "end": 5988, "loc": { "start": { - "line": 285, - "column": 4 + "line": 290, + "column": 26 }, "end": { - "line": 285, - "column": 5 + "line": 290, + "column": 36 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 5862, - "end": 5868, + "start": 5988, + "end": 5989, "loc": { "start": { - "line": 286, - "column": 4 + "line": 290, + "column": 36 }, "end": { - "line": 286, - "column": 10 + "line": 290, + "column": 37 } } }, { "type": { - "label": "(", + "label": "*", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 10, + "updateContext": null }, - "start": 5869, - "end": 5870, + "value": "*", + "start": 5990, + "end": 5991, "loc": { "start": { - "line": 286, - "column": 11 + "line": 290, + "column": 38 }, "end": { - "line": 286, - "column": 12 + "line": 290, + "column": 39 } } }, @@ -34302,16 +34605,16 @@ "updateContext": null }, "value": "this", - "start": 5870, - "end": 5874, + "start": 5992, + "end": 5996, "loc": { "start": { - "line": 286, - "column": 12 + "line": 290, + "column": 40 }, "end": { - "line": 286, - "column": 16 + "line": 290, + "column": 44 } } }, @@ -34328,16 +34631,16 @@ "binop": null, "updateContext": null }, - "start": 5874, - "end": 5875, + "start": 5996, + "end": 5997, "loc": { "start": { - "line": 286, - "column": 16 + "line": 290, + "column": 44 }, "end": { - "line": 286, - "column": 17 + "line": 290, + "column": 45 } } }, @@ -34353,51 +34656,64 @@ "postfix": false, "binop": null }, - "value": "kIn", - "start": 5875, - "end": 5878, + "value": "sign", + "start": 5997, + "end": 6001, "loc": { "start": { - "line": 286, - "column": 17 + "line": 290, + "column": 45 }, "end": { - "line": 286, - "column": 20 + "line": 290, + "column": 49 } } }, { "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, - "updateContext": null + "binop": null }, - "value": "+", - "start": 5885, - "end": 5886, + "start": 6004, + "end": 6005, "loc": { "start": { - "line": 287, - "column": 6 + "line": 291, + "column": 2 }, "end": { - "line": 287, - "column": 7 + "line": 291, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return the sum of this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n ", + "start": 6009, + "end": 6142, + "loc": { + "start": { + "line": 293, + "column": 2 + }, + "end": { + "line": 297, + "column": 5 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -34405,46 +34721,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 5887, - "end": 5891, + "value": "plus", + "start": 6145, + "end": 6149, "loc": { "start": { - "line": 287, - "column": 8 + "line": 298, + "column": 2 }, - "end": { - "line": 287, - "column": 12 + "end": { + "line": 298, + "column": 6 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5891, - "end": 5892, + "start": 6150, + "end": 6151, "loc": { "start": { - "line": 287, - "column": 12 + "line": 298, + "column": 7 }, "end": { - "line": 287, - "column": 13 + "line": 298, + "column": 8 } } }, @@ -34460,107 +34774,92 @@ "postfix": false, "binop": null }, - "value": "winal", - "start": 5892, - "end": 5897, + "value": "newLc", + "start": 6151, + "end": 6156, "loc": { "start": { - "line": 287, - "column": 13 + "line": 298, + "column": 8 }, "end": { - "line": 287, - "column": 18 + "line": 298, + "column": 13 } } }, { "type": { - "label": "*", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, - "updateContext": null + "binop": null }, - "value": "*", - "start": 5898, - "end": 5899, + "start": 6156, + "end": 6157, "loc": { "start": { - "line": 287, - "column": 19 + "line": 298, + "column": 13 }, "end": { - "line": 287, - "column": 20 + "line": 298, + "column": 14 } } }, { "type": { - "label": "num", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 20, - "start": 5900, - "end": 5902, + "start": 6158, + "end": 6159, "loc": { "start": { - "line": 287, - "column": 21 + "line": 298, + "column": 15 }, "end": { - "line": 287, - "column": 23 + "line": 298, + "column": 16 } } }, { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 5909, - "end": 5910, + "type": "CommentBlock", + "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", + "start": 6164, + "end": 6286, "loc": { "start": { - "line": 288, - "column": 6 + "line": 299, + "column": 4 }, "end": { - "line": 288, + "line": 301, "column": 7 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -34569,25 +34868,26 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 5911, - "end": 5915, + "value": "return", + "start": 6291, + "end": 6297, "loc": { "start": { - "line": 288, - "column": 8 + "line": 302, + "column": 4 }, "end": { - "line": 288, - "column": 12 + "line": 302, + "column": 10 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -34596,16 +34896,17 @@ "binop": null, "updateContext": null }, - "start": 5915, - "end": 5916, + "value": "new", + "start": 6298, + "end": 6301, "loc": { "start": { - "line": 288, - "column": 12 + "line": 302, + "column": 11 }, "end": { - "line": 288, - "column": 13 + "line": 302, + "column": 14 } } }, @@ -34621,50 +34922,48 @@ "postfix": false, "binop": null }, - "value": "tun", - "start": 5916, - "end": 5919, + "value": "LongcountAddition", + "start": 6302, + "end": 6319, "loc": { "start": { - "line": 288, - "column": 13 + "line": 302, + "column": 15 }, "end": { - "line": 288, - "column": 16 + "line": 302, + "column": 32 } } }, { "type": { - "label": "*", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, - "updateContext": null + "binop": null }, - "value": "*", - "start": 5920, - "end": 5921, + "start": 6319, + "end": 6320, "loc": { "start": { - "line": 288, - "column": 17 + "line": 302, + "column": 32 }, "end": { - "line": 288, - "column": 18 + "line": 302, + "column": 33 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -34672,47 +34971,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 360, - "start": 5922, - "end": 5925, + "value": "DistanceNumber", + "start": 6320, + "end": 6334, "loc": { "start": { - "line": 288, - "column": 19 + "line": 302, + "column": 33 }, "end": { - "line": 288, - "column": 22 + "line": 302, + "column": 47 } } }, { "type": { - "label": "+/-", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "+", - "start": 5932, - "end": 5933, + "start": 6334, + "end": 6335, "loc": { "start": { - "line": 289, - "column": 6 + "line": 302, + "column": 47 }, "end": { - "line": 289, - "column": 7 + "line": 302, + "column": 48 } } }, @@ -34731,23 +35028,23 @@ "updateContext": null }, "value": "this", - "start": 5934, - "end": 5938, + "start": 6336, + "end": 6340, "loc": { "start": { - "line": 289, - "column": 8 + "line": 302, + "column": 49 }, "end": { - "line": 289, - "column": 12 + "line": 302, + "column": 53 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -34757,16 +35054,16 @@ "binop": null, "updateContext": null }, - "start": 5938, - "end": 5939, + "start": 6340, + "end": 6341, "loc": { "start": { - "line": 289, - "column": 12 + "line": 302, + "column": 53 }, "end": { - "line": 289, - "column": 13 + "line": 302, + "column": 54 } } }, @@ -34782,105 +35079,89 @@ "postfix": false, "binop": null }, - "value": "kAtun", - "start": 5939, - "end": 5944, + "value": "newLc", + "start": 6342, + "end": 6347, "loc": { "start": { - "line": 289, - "column": 13 + "line": 302, + "column": 55 }, "end": { - "line": 289, - "column": 18 + "line": 302, + "column": 60 } } }, { "type": { - "label": "*", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, - "updateContext": null + "binop": null }, - "value": "*", - "start": 5945, - "end": 5946, + "start": 6347, + "end": 6348, "loc": { "start": { - "line": 289, - "column": 19 + "line": 302, + "column": 60 }, "end": { - "line": 289, - "column": 20 + "line": 302, + "column": 61 } } }, { "type": { - "label": "num", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 7200, - "start": 5947, - "end": 5951, + "start": 6351, + "end": 6352, "loc": { "start": { - "line": 289, - "column": 21 + "line": 303, + "column": 2 }, "end": { - "line": 289, - "column": 25 + "line": 303, + "column": 3 } } }, { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 5958, - "end": 5959, + "type": "CommentBlock", + "value": "*\n * Return the difference between this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n ", + "start": 6356, + "end": 6501, "loc": { "start": { - "line": 290, - "column": 6 + "line": 305, + "column": 2 }, "end": { - "line": 290, - "column": 7 + "line": 309, + "column": 5 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -34888,46 +35169,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 5960, - "end": 5964, + "value": "minus", + "start": 6504, + "end": 6509, "loc": { "start": { - "line": 290, - "column": 8 + "line": 310, + "column": 2 }, "end": { - "line": 290, - "column": 12 + "line": 310, + "column": 7 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 5964, - "end": 5965, + "start": 6510, + "end": 6511, "loc": { "start": { - "line": 290, - "column": 12 + "line": 310, + "column": 8 }, "end": { - "line": 290, - "column": 13 + "line": 310, + "column": 9 } } }, @@ -34943,107 +35222,92 @@ "postfix": false, "binop": null }, - "value": "bakTun", - "start": 5965, - "end": 5971, + "value": "newLc", + "start": 6511, + "end": 6516, "loc": { "start": { - "line": 290, - "column": 13 + "line": 310, + "column": 9 }, "end": { - "line": 290, - "column": 19 + "line": 310, + "column": 14 } } }, { "type": { - "label": "*", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, - "updateContext": null + "binop": null }, - "value": "*", - "start": 5972, - "end": 5973, + "start": 6516, + "end": 6517, "loc": { "start": { - "line": 290, - "column": 20 + "line": 310, + "column": 14 }, "end": { - "line": 290, - "column": 21 + "line": 310, + "column": 15 } } }, { "type": { - "label": "num", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 144000, - "start": 5974, - "end": 5980, + "start": 6518, + "end": 6519, "loc": { "start": { - "line": 290, - "column": 22 + "line": 310, + "column": 16 }, "end": { - "line": 290, - "column": 28 + "line": 310, + "column": 17 } } }, { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 5987, - "end": 5988, + "type": "CommentBlock", + "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", + "start": 6524, + "end": 6646, "loc": { "start": { - "line": 291, - "column": 6 + "line": 311, + "column": 4 }, "end": { - "line": 291, + "line": 313, "column": 7 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -35052,25 +35316,26 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 5989, - "end": 5993, + "value": "return", + "start": 6651, + "end": 6657, "loc": { "start": { - "line": 291, - "column": 8 + "line": 314, + "column": 4 }, "end": { - "line": 291, - "column": 12 + "line": 314, + "column": 10 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -35079,16 +35344,17 @@ "binop": null, "updateContext": null }, - "start": 5993, - "end": 5994, + "value": "new", + "start": 6658, + "end": 6661, "loc": { "start": { - "line": 291, - "column": 12 + "line": 314, + "column": 11 }, "end": { - "line": 291, - "column": 13 + "line": 314, + "column": 14 } } }, @@ -35104,50 +35370,48 @@ "postfix": false, "binop": null }, - "value": "piktun", - "start": 5994, - "end": 6000, + "value": "LongcountSubtraction", + "start": 6662, + "end": 6682, "loc": { "start": { - "line": 291, - "column": 13 + "line": 314, + "column": 15 }, "end": { - "line": 291, - "column": 19 + "line": 314, + "column": 35 } } }, { "type": { - "label": "*", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, - "updateContext": null + "binop": null }, - "value": "*", - "start": 6001, - "end": 6002, + "start": 6682, + "end": 6683, "loc": { "start": { - "line": 291, - "column": 20 + "line": 314, + "column": 35 }, "end": { - "line": 291, - "column": 21 + "line": 314, + "column": 36 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -35155,47 +35419,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 2880000, - "start": 6003, - "end": 6010, + "value": "DistanceNumber", + "start": 6683, + "end": 6697, "loc": { "start": { - "line": 291, - "column": 22 + "line": 314, + "column": 36 }, "end": { - "line": 291, - "column": 29 + "line": 314, + "column": 50 } } }, { "type": { - "label": "+/-", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "+", - "start": 6017, - "end": 6018, + "start": 6697, + "end": 6698, "loc": { "start": { - "line": 292, - "column": 6 + "line": 314, + "column": 50 }, "end": { - "line": 292, - "column": 7 + "line": 314, + "column": 51 } } }, @@ -35214,23 +35476,23 @@ "updateContext": null }, "value": "this", - "start": 6019, - "end": 6023, + "start": 6699, + "end": 6703, "loc": { "start": { - "line": 292, - "column": 8 + "line": 314, + "column": 52 }, "end": { - "line": 292, - "column": 12 + "line": 314, + "column": 56 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -35240,16 +35502,16 @@ "binop": null, "updateContext": null }, - "start": 6023, - "end": 6024, + "start": 6703, + "end": 6704, "loc": { "start": { - "line": 292, - "column": 12 + "line": 314, + "column": 56 }, "end": { - "line": 292, - "column": 13 + "line": 314, + "column": 57 } } }, @@ -35265,105 +35527,89 @@ "postfix": false, "binop": null }, - "value": "kalabtun", - "start": 6024, - "end": 6032, + "value": "newLc", + "start": 6705, + "end": 6710, "loc": { "start": { - "line": 292, - "column": 13 + "line": 314, + "column": 58 }, "end": { - "line": 292, - "column": 21 + "line": 314, + "column": 63 } } }, { "type": { - "label": "*", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, - "updateContext": null + "binop": null }, - "value": "*", - "start": 6033, - "end": 6034, + "start": 6710, + "end": 6711, "loc": { "start": { - "line": 292, - "column": 22 + "line": 314, + "column": 63 }, "end": { - "line": 292, - "column": 23 + "line": 314, + "column": 64 } } }, { "type": { - "label": "num", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 57600000, - "start": 6035, - "end": 6043, + "start": 6714, + "end": 6715, "loc": { "start": { - "line": 292, - "column": 24 + "line": 315, + "column": 2 }, "end": { - "line": 292, - "column": 32 + "line": 315, + "column": 3 } } }, { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "+", - "start": 6050, - "end": 6051, + "type": "CommentBlock", + "value": "*\n * Make sure the elements of the Long Count do not exceed\n * @return {DistanceNumber}\n ", + "start": 6719, + "end": 6818, "loc": { "start": { - "line": 293, - "column": 6 + "line": 317, + "column": 2 }, "end": { - "line": 293, - "column": 7 + "line": 320, + "column": 5 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -35371,54 +35617,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 6052, - "end": 6056, + "value": "normalise", + "start": 6821, + "end": 6830, "loc": { "start": { - "line": 293, - "column": 8 + "line": 321, + "column": 2 }, "end": { - "line": 293, - "column": 12 + "line": 321, + "column": 11 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6056, - "end": 6057, + "start": 6831, + "end": 6832, "loc": { "start": { - "line": 293, + "line": 321, "column": 12 }, "end": { - "line": 293, + "line": 321, "column": 13 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -35426,52 +35670,50 @@ "postfix": false, "binop": null }, - "value": "kinchiltun", - "start": 6057, - "end": 6067, + "start": 6832, + "end": 6833, "loc": { "start": { - "line": 293, + "line": 321, "column": 13 }, "end": { - "line": 293, - "column": 23 + "line": 321, + "column": 14 } } }, { "type": { - "label": "*", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, - "updateContext": null + "binop": null }, - "value": "*", - "start": 6068, - "end": 6069, + "start": 6834, + "end": 6835, "loc": { "start": { - "line": 293, - "column": 24 + "line": 321, + "column": 15 }, "end": { - "line": 293, - "column": 25 + "line": 321, + "column": 16 } } }, { "type": { - "label": "num", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -35480,25 +35722,25 @@ "binop": null, "updateContext": null }, - "value": 1152000000, - "start": 6070, - "end": 6080, + "value": "const", + "start": 6840, + "end": 6845, "loc": { "start": { - "line": 293, - "column": 26 + "line": 322, + "column": 4 }, "end": { - "line": 293, - "column": 36 + "line": 322, + "column": 9 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -35506,43 +35748,44 @@ "postfix": false, "binop": null }, - "start": 6080, - "end": 6081, + "value": "totalKIn", + "start": 6846, + "end": 6854, "loc": { "start": { - "line": 293, - "column": 36 + "line": 322, + "column": 10 }, "end": { - "line": 293, - "column": 37 + "line": 322, + "column": 18 } } }, { "type": { - "label": "*", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": 10, + "binop": null, "updateContext": null }, - "value": "*", - "start": 6082, - "end": 6083, + "value": "=", + "start": 6855, + "end": 6856, "loc": { "start": { - "line": 293, - "column": 38 + "line": 322, + "column": 19 }, "end": { - "line": 293, - "column": 39 + "line": 322, + "column": 20 } } }, @@ -35561,16 +35804,16 @@ "updateContext": null }, "value": "this", - "start": 6084, - "end": 6088, + "start": 6857, + "end": 6861, "loc": { "start": { - "line": 293, - "column": 40 + "line": 322, + "column": 21 }, "end": { - "line": 293, - "column": 44 + "line": 322, + "column": 25 } } }, @@ -35587,16 +35830,16 @@ "binop": null, "updateContext": null }, - "start": 6088, - "end": 6089, + "start": 6861, + "end": 6862, "loc": { "start": { - "line": 293, - "column": 44 + "line": 322, + "column": 25 }, "end": { - "line": 293, - "column": 45 + "line": 322, + "column": 26 } } }, @@ -35612,49 +35855,48 @@ "postfix": false, "binop": null }, - "value": "sign", - "start": 6089, - "end": 6093, + "value": "getPosition", + "start": 6862, + "end": 6873, "loc": { "start": { - "line": 293, - "column": 45 + "line": 322, + "column": 26 }, "end": { - "line": 293, - "column": 49 + "line": 322, + "column": 37 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6093, - "end": 6094, + "start": 6873, + "end": 6874, "loc": { "start": { - "line": 293, - "column": 49 + "line": 322, + "column": 37 }, "end": { - "line": 293, - "column": 50 + "line": 322, + "column": 38 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -35664,32 +35906,44 @@ "postfix": false, "binop": null }, - "start": 6097, - "end": 6098, + "start": 6874, + "end": 6875, "loc": { "start": { - "line": 294, - "column": 2 + "line": 322, + "column": 38 }, "end": { - "line": 294, - "column": 3 + "line": 322, + "column": 39 } } }, { - "type": "CommentBlock", - "value": "*\n * Return the sum of this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n ", - "start": 6102, - "end": 6235, + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 6880, + "end": 6885, "loc": { "start": { - "line": 296, - "column": 2 + "line": 323, + "column": 4 }, "end": { - "line": 300, - "column": 5 + "line": 323, + "column": 9 } } }, @@ -35705,76 +35959,80 @@ "postfix": false, "binop": null }, - "value": "plus", - "start": 6238, - "end": 6242, + "value": "norm", + "start": 6886, + "end": 6890, "loc": { "start": { - "line": 301, - "column": 2 + "line": 323, + "column": 10 }, "end": { - "line": 301, - "column": 6 + "line": 323, + "column": 14 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6242, - "end": 6243, + "value": "=", + "start": 6891, + "end": 6892, "loc": { "start": { - "line": 301, - "column": 6 + "line": 323, + "column": 15 }, "end": { - "line": 301, - "column": 7 + "line": 323, + "column": 16 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "newLc", - "start": 6243, - "end": 6248, + "value": "new", + "start": 6893, + "end": 6896, "loc": { "start": { - "line": 301, - "column": 7 + "line": 323, + "column": 17 }, "end": { - "line": 301, - "column": 12 + "line": 323, + "column": 20 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -35782,22 +36040,23 @@ "postfix": false, "binop": null }, - "start": 6248, - "end": 6249, + "value": "DistanceNumber", + "start": 6897, + "end": 6911, "loc": { "start": { - "line": 301, - "column": 12 + "line": 323, + "column": 21 }, "end": { - "line": 301, - "column": 13 + "line": 323, + "column": 35 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -35807,69 +36066,75 @@ "postfix": false, "binop": null }, - "start": 6250, - "end": 6251, + "start": 6911, + "end": 6912, "loc": { "start": { - "line": 301, - "column": 14 + "line": 323, + "column": 35 }, "end": { - "line": 301, - "column": 15 + "line": 323, + "column": 36 } } }, { - "type": "CommentBlock", - "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", - "start": 6256, - "end": 6378, + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 6912, + "end": 6913, "loc": { "start": { - "line": 302, - "column": 4 + "line": 323, + "column": 36 }, "end": { - "line": 304, - "column": 7 + "line": 323, + "column": 37 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 6383, - "end": 6389, + "value": "norm", + "start": 6918, + "end": 6922, "loc": { "start": { - "line": 305, + "line": 324, "column": 4 }, "end": { - "line": 305, - "column": 10 + "line": 324, + "column": 8 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -35878,17 +36143,16 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 6390, - "end": 6393, + "start": 6922, + "end": 6923, "loc": { "start": { - "line": 305, - "column": 11 + "line": 324, + "column": 8 }, "end": { - "line": 305, - "column": 14 + "line": 324, + "column": 9 } } }, @@ -35904,42 +36168,44 @@ "postfix": false, "binop": null }, - "value": "LongcountAddition", - "start": 6394, - "end": 6411, + "value": "kIn", + "start": 6923, + "end": 6926, "loc": { "start": { - "line": 305, - "column": 15 + "line": 324, + "column": 9 }, "end": { - "line": 305, - "column": 32 + "line": 324, + "column": 12 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6411, - "end": 6412, + "value": "=", + "start": 6927, + "end": 6928, "loc": { "start": { - "line": 305, - "column": 32 + "line": 324, + "column": 13 }, "end": { - "line": 305, - "column": 33 + "line": 324, + "column": 14 } } }, @@ -35955,23 +36221,23 @@ "postfix": false, "binop": null }, - "value": "DistanceNumber", - "start": 6412, - "end": 6426, + "value": "totalKIn", + "start": 6929, + "end": 6937, "loc": { "start": { - "line": 305, - "column": 33 + "line": 324, + "column": 15 }, "end": { - "line": 305, - "column": 47 + "line": 324, + "column": 23 } } }, { "type": { - "label": ",", + "label": "%", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -35979,26 +36245,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "start": 6426, - "end": 6427, + "value": "%", + "start": 6938, + "end": 6939, "loc": { "start": { - "line": 305, - "column": 47 + "line": 324, + "column": 24 }, "end": { - "line": 305, - "column": 48 + "line": 324, + "column": 25 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -36009,43 +36275,33 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 6428, - "end": 6432, + "value": 20, + "start": 6940, + "end": 6942, "loc": { "start": { - "line": 305, - "column": 49 + "line": 324, + "column": 26 }, "end": { - "line": 305, - "column": 53 + "line": 324, + "column": 28 } } }, { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6432, - "end": 6433, + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 6947, + "end": 6993, "loc": { "start": { - "line": 305, - "column": 53 + "line": 325, + "column": 4 }, "end": { - "line": 305, - "column": 54 + "line": 325, + "column": 50 } } }, @@ -36061,23 +36317,23 @@ "postfix": false, "binop": null }, - "value": "newLc", - "start": 6434, - "end": 6439, + "value": "norm", + "start": 6998, + "end": 7002, "loc": { "start": { - "line": 305, - "column": 55 + "line": 326, + "column": 4 }, "end": { - "line": 305, - "column": 60 + "line": 326, + "column": 8 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -36085,52 +36341,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "start": 6439, - "end": 6440, - "loc": { - "start": { - "line": 305, - "column": 60 - }, - "end": { - "line": 305, - "column": 61 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "start": 6440, - "end": 6441, + "start": 7002, + "end": 7003, "loc": { "start": { - "line": 305, - "column": 61 + "line": 326, + "column": 8 }, "end": { - "line": 305, - "column": 62 + "line": 326, + "column": 9 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -36138,58 +36369,44 @@ "postfix": false, "binop": null }, - "start": 6444, - "end": 6445, - "loc": { - "start": { - "line": 306, - "column": 2 - }, - "end": { - "line": 306, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return the difference between this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n ", - "start": 6449, - "end": 6594, + "value": "winal", + "start": 7003, + "end": 7008, "loc": { "start": { - "line": 308, - "column": 2 + "line": 326, + "column": 9 }, "end": { - "line": 312, - "column": 5 + "line": 326, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "minus", - "start": 6597, - "end": 6602, + "value": "=", + "start": 7009, + "end": 7010, "loc": { "start": { - "line": 313, - "column": 2 + "line": 326, + "column": 15 }, "end": { - "line": 313, - "column": 7 + "line": 326, + "column": 16 } } }, @@ -36205,16 +36422,16 @@ "postfix": false, "binop": null }, - "start": 6602, - "end": 6603, + "start": 7011, + "end": 7012, "loc": { "start": { - "line": 313, - "column": 7 + "line": 326, + "column": 17 }, "end": { - "line": 313, - "column": 8 + "line": 326, + "column": 18 } } }, @@ -36230,49 +36447,51 @@ "postfix": false, "binop": null }, - "value": "newLc", - "start": 6603, - "end": 6608, + "value": "totalKIn", + "start": 7012, + "end": 7020, "loc": { "start": { - "line": 313, - "column": 8 + "line": 326, + "column": 18 }, "end": { - "line": 313, - "column": 13 + "line": 326, + "column": 26 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "start": 6608, - "end": 6609, + "value": "-", + "start": 7021, + "end": 7022, "loc": { "start": { - "line": 313, - "column": 13 + "line": 326, + "column": 27 }, "end": { - "line": 313, - "column": 14 + "line": 326, + "column": 28 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -36281,40 +36500,24 @@ "postfix": false, "binop": null }, - "start": 6610, - "end": 6611, - "loc": { - "start": { - "line": 313, - "column": 15 - }, - "end": { - "line": 313, - "column": 16 - } - } - }, - { - "type": "CommentBlock", - "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", - "start": 6616, - "end": 6738, + "value": "norm", + "start": 7023, + "end": 7027, "loc": { "start": { - "line": 314, - "column": 4 + "line": 326, + "column": 29 }, "end": { - "line": 316, - "column": 7 + "line": 326, + "column": 33 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -36324,52 +36527,49 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 6743, - "end": 6749, + "start": 7027, + "end": 7028, "loc": { "start": { - "line": 317, - "column": 4 + "line": 326, + "column": 33 }, "end": { - "line": 317, - "column": 10 + "line": 326, + "column": 34 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 6750, - "end": 6753, + "value": "getPosition", + "start": 7028, + "end": 7039, "loc": { "start": { - "line": 317, - "column": 11 + "line": 326, + "column": 34 }, "end": { - "line": 317, - "column": 14 + "line": 326, + "column": 45 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -36378,25 +36578,24 @@ "postfix": false, "binop": null }, - "value": "LongcountSubtraction", - "start": 6754, - "end": 6774, + "start": 7039, + "end": 7040, "loc": { "start": { - "line": 317, - "column": 15 + "line": 326, + "column": 45 }, "end": { - "line": 317, - "column": 35 + "line": 326, + "column": 46 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -36404,24 +36603,24 @@ "postfix": false, "binop": null }, - "start": 6774, - "end": 6775, + "start": 7040, + "end": 7041, "loc": { "start": { - "line": 317, - "column": 35 + "line": 326, + "column": 46 }, "end": { - "line": 317, - "column": 36 + "line": 326, + "column": 47 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -36429,23 +36628,22 @@ "postfix": false, "binop": null }, - "value": "DistanceNumber", - "start": 6775, - "end": 6789, + "start": 7041, + "end": 7042, "loc": { "start": { - "line": 317, - "column": 36 + "line": 326, + "column": 47 }, "end": { - "line": 317, - "column": 50 + "line": 326, + "column": 48 } } }, { "type": { - "label": ",", + "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -36453,26 +36651,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "start": 6789, - "end": 6790, + "value": "/", + "start": 7043, + "end": 7044, "loc": { "start": { - "line": 317, - "column": 50 + "line": 326, + "column": 49 }, "end": { - "line": 317, - "column": 51 + "line": 326, + "column": 50 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -36483,23 +36681,23 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 6791, - "end": 6795, + "value": 20, + "start": 7045, + "end": 7047, "loc": { "start": { - "line": 317, - "column": 52 + "line": 326, + "column": 51 }, "end": { - "line": 317, - "column": 56 + "line": 326, + "column": 53 } } }, { "type": { - "label": ",", + "label": "%", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -36507,25 +36705,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "start": 6795, - "end": 6796, + "value": "%", + "start": 7048, + "end": 7049, "loc": { "start": { - "line": 317, - "column": 56 + "line": 326, + "column": 54 }, "end": { - "line": 317, - "column": 57 + "line": 326, + "column": 55 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -36533,27 +36732,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "newLc", - "start": 6797, - "end": 6802, + "value": 18, + "start": 7050, + "end": 7052, "loc": { "start": { - "line": 317, + "line": 326, + "column": 56 + }, + "end": { + "line": 326, "column": 58 + } + } + }, + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7057, + "end": 7103, + "loc": { + "start": { + "line": 327, + "column": 4 }, "end": { - "line": 317, - "column": 63 + "line": 327, + "column": 50 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -36561,23 +36777,24 @@ "postfix": false, "binop": null }, - "start": 6802, - "end": 6803, + "value": "norm", + "start": 7108, + "end": 7112, "loc": { "start": { - "line": 317, - "column": 63 + "line": 328, + "column": 4 }, "end": { - "line": 317, - "column": 64 + "line": 328, + "column": 8 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -36587,24 +36804,24 @@ "binop": null, "updateContext": null }, - "start": 6803, - "end": 6804, + "start": 7112, + "end": 7113, "loc": { "start": { - "line": 317, - "column": 64 + "line": 328, + "column": 8 }, "end": { - "line": 317, - "column": 65 + "line": 328, + "column": 9 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -36612,39 +36829,51 @@ "postfix": false, "binop": null }, - "start": 6807, - "end": 6808, + "value": "tun", + "start": 7113, + "end": 7116, "loc": { "start": { - "line": 318, - "column": 2 + "line": 328, + "column": 9 }, "end": { - "line": 318, - "column": 3 + "line": 328, + "column": 12 } } }, { - "type": "CommentBlock", - "value": "*\n * Make sure the elements of the Long Count do not exceed\n * @return {DistanceNumber}\n ", - "start": 6812, - "end": 6911, + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 7117, + "end": 7118, "loc": { "start": { - "line": 320, - "column": 2 + "line": 328, + "column": 13 }, "end": { - "line": 323, - "column": 5 + "line": 328, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -36653,24 +36882,23 @@ "postfix": false, "binop": null }, - "value": "normalise", - "start": 6914, - "end": 6923, + "start": 7119, + "end": 7120, "loc": { "start": { - "line": 324, - "column": 2 + "line": 328, + "column": 15 }, "end": { - "line": 324, - "column": 11 + "line": 328, + "column": 16 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -36679,48 +36907,51 @@ "postfix": false, "binop": null }, - "start": 6923, - "end": 6924, + "value": "totalKIn", + "start": 7120, + "end": 7128, "loc": { "start": { - "line": 324, - "column": 11 + "line": 328, + "column": 16 }, "end": { - "line": 324, - "column": 12 + "line": 328, + "column": 24 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null + "binop": 9, + "updateContext": null }, - "start": 6924, - "end": 6925, + "value": "-", + "start": 7129, + "end": 7130, "loc": { "start": { - "line": 324, - "column": 12 + "line": 328, + "column": 25 }, "end": { - "line": 324, - "column": 13 + "line": 328, + "column": 26 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -36729,23 +36960,23 @@ "postfix": false, "binop": null }, - "start": 6926, - "end": 6927, + "value": "norm", + "start": 7131, + "end": 7135, "loc": { "start": { - "line": 324, - "column": 14 + "line": 328, + "column": 27 }, "end": { - "line": 324, - "column": 15 + "line": 328, + "column": 31 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -36756,17 +36987,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 6932, - "end": 6937, + "start": 7135, + "end": 7136, "loc": { "start": { - "line": 325, - "column": 4 + "line": 328, + "column": 31 }, "end": { - "line": 325, - "column": 9 + "line": 328, + "column": 32 } } }, @@ -36782,78 +37012,73 @@ "postfix": false, "binop": null }, - "value": "totalKIn", - "start": 6938, - "end": 6946, + "value": "getPosition", + "start": 7136, + "end": 7147, "loc": { "start": { - "line": 325, - "column": 10 + "line": 328, + "column": 32 }, "end": { - "line": 325, - "column": 18 + "line": 328, + "column": 43 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 6947, - "end": 6948, + "start": 7147, + "end": 7148, "loc": { "start": { - "line": 325, - "column": 19 + "line": 328, + "column": 43 }, "end": { - "line": 325, - "column": 20 + "line": 328, + "column": 44 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 6949, - "end": 6953, + "start": 7148, + "end": 7149, "loc": { "start": { - "line": 325, - "column": 21 + "line": 328, + "column": 44 }, "end": { - "line": 325, - "column": 25 + "line": 328, + "column": 45 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -36861,25 +37086,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": null + }, + "start": 7149, + "end": 7150, + "loc": { + "start": { + "line": 328, + "column": 45 + }, + "end": { + "line": 328, + "column": 46 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, "updateContext": null }, - "start": 6953, - "end": 6954, + "value": "/", + "start": 7151, + "end": 7152, "loc": { "start": { - "line": 325, - "column": 25 + "line": 328, + "column": 47 }, "end": { - "line": 325, - "column": 26 + "line": 328, + "column": 48 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -36887,102 +37138,122 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "getPosition", - "start": 6954, - "end": 6965, + "value": 360, + "start": 7153, + "end": 7156, "loc": { "start": { - "line": 325, - "column": 26 + "line": 328, + "column": 49 }, "end": { - "line": 325, - "column": 37 + "line": 328, + "column": 52 } } }, { "type": { - "label": "(", + "label": "%", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 10, + "updateContext": null }, - "start": 6965, - "end": 6966, + "value": "%", + "start": 7157, + "end": 7158, "loc": { "start": { - "line": 325, - "column": 37 + "line": 328, + "column": 53 }, "end": { - "line": 325, - "column": 38 + "line": 328, + "column": 54 } } }, { "type": { - "label": ")", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 6966, - "end": 6967, + "value": 20, + "start": 7159, + "end": 7161, "loc": { "start": { - "line": 325, - "column": 38 + "line": 328, + "column": 55 }, "end": { - "line": 325, - "column": 39 + "line": 328, + "column": 57 + } + } + }, + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-mixed-operators", + "start": 7166, + "end": 7212, + "loc": { + "start": { + "line": 329, + "column": 4 + }, + "end": { + "line": 329, + "column": 50 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 6967, - "end": 6968, + "value": "norm", + "start": 7217, + "end": 7221, "loc": { "start": { - "line": 325, - "column": 39 + "line": 330, + "column": 4 }, "end": { - "line": 325, - "column": 40 + "line": 330, + "column": 8 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -36993,16 +37264,15 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 6973, - "end": 6978, + "start": 7221, + "end": 7222, "loc": { "start": { - "line": 326, - "column": 4 + "line": 330, + "column": 8 }, "end": { - "line": 326, + "line": 330, "column": 9 } } @@ -37019,16 +37289,16 @@ "postfix": false, "binop": null }, - "value": "norm", - "start": 6979, - "end": 6983, + "value": "kAtun", + "start": 7222, + "end": 7227, "loc": { "start": { - "line": 326, - "column": 10 + "line": 330, + "column": 9 }, "end": { - "line": 326, + "line": 330, "column": 14 } } @@ -37047,23 +37317,22 @@ "updateContext": null }, "value": "=", - "start": 6984, - "end": 6985, + "start": 7228, + "end": 7229, "loc": { "start": { - "line": 326, + "line": 330, "column": 15 }, "end": { - "line": 326, + "line": 330, "column": 16 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -37071,20 +37340,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 6986, - "end": 6989, + "start": 7230, + "end": 7231, "loc": { "start": { - "line": 326, + "line": 330, "column": 17 }, "end": { - "line": 326, - "column": 20 + "line": 330, + "column": 18 } } }, @@ -37100,24 +37367,51 @@ "postfix": false, "binop": null }, - "value": "DistanceNumber", - "start": 6990, - "end": 7004, + "value": "totalKIn", + "start": 7231, + "end": 7239, "loc": { "start": { - "line": 326, - "column": 21 + "line": 330, + "column": 18 + }, + "end": { + "line": 330, + "column": 26 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 7240, + "end": 7241, + "loc": { + "start": { + "line": 330, + "column": 27 }, "end": { - "line": 326, - "column": 35 + "line": 330, + "column": 28 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -37126,22 +37420,23 @@ "postfix": false, "binop": null }, - "start": 7004, - "end": 7005, + "value": "norm", + "start": 7242, + "end": 7246, "loc": { "start": { - "line": 326, - "column": 35 + "line": 330, + "column": 29 }, "end": { - "line": 326, - "column": 36 + "line": 330, + "column": 33 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -37149,51 +37444,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7005, - "end": 7006, + "start": 7246, + "end": 7247, "loc": { "start": { - "line": 326, - "column": 36 + "line": 330, + "column": 33 }, "end": { - "line": 326, - "column": 37 + "line": 330, + "column": 34 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 7006, - "end": 7007, + "value": "getPosition", + "start": 7247, + "end": 7258, "loc": { "start": { - "line": 326, - "column": 37 + "line": 330, + "column": 34 }, "end": { - "line": 326, - "column": 38 + "line": 330, + "column": 45 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -37202,23 +37498,22 @@ "postfix": false, "binop": null }, - "value": "norm", - "start": 7012, - "end": 7016, + "start": 7258, + "end": 7259, "loc": { "start": { - "line": 327, - "column": 4 + "line": 330, + "column": 45 }, "end": { - "line": 327, - "column": 8 + "line": 330, + "column": 46 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -37226,27 +37521,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 7016, - "end": 7017, + "start": 7259, + "end": 7260, "loc": { "start": { - "line": 327, - "column": 8 + "line": 330, + "column": 46 }, "end": { - "line": 327, - "column": 9 + "line": 330, + "column": 47 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -37254,50 +37548,49 @@ "postfix": false, "binop": null }, - "value": "kIn", - "start": 7017, - "end": 7020, + "start": 7260, + "end": 7261, "loc": { "start": { - "line": 327, - "column": 9 + "line": 330, + "column": 47 }, "end": { - "line": 327, - "column": 12 + "line": 330, + "column": 48 } } }, { "type": { - "label": "=", + "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "value": "=", - "start": 7021, - "end": 7022, + "value": "/", + "start": 7262, + "end": 7263, "loc": { "start": { - "line": 327, - "column": 13 + "line": 330, + "column": 49 }, "end": { - "line": 327, - "column": 14 + "line": 330, + "column": 50 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -37305,19 +37598,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "totalKIn", - "start": 7023, - "end": 7031, + "value": 7200, + "start": 7264, + "end": 7268, "loc": { "start": { - "line": 327, - "column": 15 + "line": 330, + "column": 51 }, "end": { - "line": 327, - "column": 23 + "line": 330, + "column": 55 } } }, @@ -37335,16 +37629,16 @@ "updateContext": null }, "value": "%", - "start": 7032, - "end": 7033, + "start": 7269, + "end": 7270, "loc": { "start": { - "line": 327, - "column": 24 + "line": 330, + "column": 56 }, "end": { - "line": 327, - "column": 25 + "line": 330, + "column": 57 } } }, @@ -37362,57 +37656,31 @@ "updateContext": null }, "value": 20, - "start": 7034, - "end": 7036, - "loc": { - "start": { - "line": 327, - "column": 26 - }, - "end": { - "line": 327, - "column": 28 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7036, - "end": 7037, + "start": 7271, + "end": 7273, "loc": { "start": { - "line": 327, - "column": 28 + "line": 330, + "column": 58 }, "end": { - "line": 327, - "column": 29 + "line": 330, + "column": 60 } } }, { "type": "CommentLine", "value": " eslint-disable-next-line no-mixed-operators", - "start": 7042, - "end": 7088, + "start": 7278, + "end": 7324, "loc": { "start": { - "line": 328, + "line": 331, "column": 4 }, "end": { - "line": 328, + "line": 331, "column": 50 } } @@ -37430,15 +37698,15 @@ "binop": null }, "value": "norm", - "start": 7093, - "end": 7097, + "start": 7329, + "end": 7333, "loc": { "start": { - "line": 329, + "line": 332, "column": 4 }, "end": { - "line": 329, + "line": 332, "column": 8 } } @@ -37456,15 +37724,15 @@ "binop": null, "updateContext": null }, - "start": 7097, - "end": 7098, + "start": 7333, + "end": 7334, "loc": { "start": { - "line": 329, + "line": 332, "column": 8 }, "end": { - "line": 329, + "line": 332, "column": 9 } } @@ -37481,17 +37749,17 @@ "postfix": false, "binop": null }, - "value": "winal", - "start": 7098, - "end": 7103, + "value": "bakTun", + "start": 7334, + "end": 7340, "loc": { "start": { - "line": 329, + "line": 332, "column": 9 }, "end": { - "line": 329, - "column": 14 + "line": 332, + "column": 15 } } }, @@ -37509,16 +37777,16 @@ "updateContext": null }, "value": "=", - "start": 7104, - "end": 7105, + "start": 7341, + "end": 7342, "loc": { "start": { - "line": 329, - "column": 15 + "line": 332, + "column": 16 }, "end": { - "line": 329, - "column": 16 + "line": 332, + "column": 17 } } }, @@ -37534,16 +37802,16 @@ "postfix": false, "binop": null }, - "start": 7106, - "end": 7107, + "start": 7343, + "end": 7344, "loc": { "start": { - "line": 329, - "column": 17 + "line": 332, + "column": 18 }, "end": { - "line": 329, - "column": 18 + "line": 332, + "column": 19 } } }, @@ -37560,16 +37828,16 @@ "binop": null }, "value": "totalKIn", - "start": 7107, - "end": 7115, + "start": 7344, + "end": 7352, "loc": { "start": { - "line": 329, - "column": 18 + "line": 332, + "column": 19 }, "end": { - "line": 329, - "column": 26 + "line": 332, + "column": 27 } } }, @@ -37587,16 +37855,16 @@ "updateContext": null }, "value": "-", - "start": 7116, - "end": 7117, + "start": 7353, + "end": 7354, "loc": { "start": { - "line": 329, - "column": 27 + "line": 332, + "column": 28 }, "end": { - "line": 329, - "column": 28 + "line": 332, + "column": 29 } } }, @@ -37613,16 +37881,16 @@ "binop": null }, "value": "norm", - "start": 7118, - "end": 7122, + "start": 7355, + "end": 7359, "loc": { "start": { - "line": 329, - "column": 29 + "line": 332, + "column": 30 }, "end": { - "line": 329, - "column": 33 + "line": 332, + "column": 34 } } }, @@ -37639,16 +37907,16 @@ "binop": null, "updateContext": null }, - "start": 7122, - "end": 7123, + "start": 7359, + "end": 7360, "loc": { "start": { - "line": 329, - "column": 33 + "line": 332, + "column": 34 }, "end": { - "line": 329, - "column": 34 + "line": 332, + "column": 35 } } }, @@ -37665,16 +37933,16 @@ "binop": null }, "value": "getPosition", - "start": 7123, - "end": 7134, + "start": 7360, + "end": 7371, "loc": { "start": { - "line": 329, - "column": 34 + "line": 332, + "column": 35 }, "end": { - "line": 329, - "column": 45 + "line": 332, + "column": 46 } } }, @@ -37690,16 +37958,16 @@ "postfix": false, "binop": null }, - "start": 7134, - "end": 7135, + "start": 7371, + "end": 7372, "loc": { "start": { - "line": 329, - "column": 45 + "line": 332, + "column": 46 }, "end": { - "line": 329, - "column": 46 + "line": 332, + "column": 47 } } }, @@ -37715,16 +37983,16 @@ "postfix": false, "binop": null }, - "start": 7135, - "end": 7136, + "start": 7372, + "end": 7373, "loc": { "start": { - "line": 329, - "column": 46 + "line": 332, + "column": 47 }, "end": { - "line": 329, - "column": 47 + "line": 332, + "column": 48 } } }, @@ -37740,16 +38008,16 @@ "postfix": false, "binop": null }, - "start": 7136, - "end": 7137, + "start": 7373, + "end": 7374, "loc": { "start": { - "line": 329, - "column": 47 + "line": 332, + "column": 48 }, "end": { - "line": 329, - "column": 48 + "line": 332, + "column": 49 } } }, @@ -37767,16 +38035,16 @@ "updateContext": null }, "value": "/", - "start": 7138, - "end": 7139, + "start": 7375, + "end": 7376, "loc": { "start": { - "line": 329, - "column": 49 + "line": 332, + "column": 50 }, "end": { - "line": 329, - "column": 50 + "line": 332, + "column": 51 } } }, @@ -37793,17 +38061,17 @@ "binop": null, "updateContext": null }, - "value": 20, - "start": 7140, - "end": 7142, + "value": 144000, + "start": 7377, + "end": 7383, "loc": { "start": { - "line": 329, - "column": 51 + "line": 332, + "column": 52 }, "end": { - "line": 329, - "column": 53 + "line": 332, + "column": 58 } } }, @@ -37821,16 +38089,16 @@ "updateContext": null }, "value": "%", - "start": 7143, - "end": 7144, + "start": 7384, + "end": 7385, "loc": { "start": { - "line": 329, - "column": 54 + "line": 332, + "column": 59 }, "end": { - "line": 329, - "column": 55 + "line": 332, + "column": 60 } } }, @@ -37847,58 +38115,32 @@ "binop": null, "updateContext": null }, - "value": 18, - "start": 7145, - "end": 7147, - "loc": { - "start": { - "line": 329, - "column": 56 - }, - "end": { - "line": 329, - "column": 58 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7147, - "end": 7148, + "value": 20, + "start": 7386, + "end": 7388, "loc": { "start": { - "line": 329, - "column": 58 + "line": 332, + "column": 61 }, "end": { - "line": 329, - "column": 59 + "line": 332, + "column": 63 } } }, { "type": "CommentLine", "value": " eslint-disable-next-line no-mixed-operators", - "start": 7153, - "end": 7199, + "start": 7393, + "end": 7439, "loc": { "start": { - "line": 330, + "line": 333, "column": 4 }, "end": { - "line": 330, + "line": 333, "column": 50 } } @@ -37916,15 +38158,15 @@ "binop": null }, "value": "norm", - "start": 7204, - "end": 7208, + "start": 7444, + "end": 7448, "loc": { "start": { - "line": 331, + "line": 334, "column": 4 }, "end": { - "line": 331, + "line": 334, "column": 8 } } @@ -37942,15 +38184,15 @@ "binop": null, "updateContext": null }, - "start": 7208, - "end": 7209, + "start": 7448, + "end": 7449, "loc": { "start": { - "line": 331, + "line": 334, "column": 8 }, "end": { - "line": 331, + "line": 334, "column": 9 } } @@ -37967,17 +38209,17 @@ "postfix": false, "binop": null }, - "value": "tun", - "start": 7209, - "end": 7212, + "value": "piktun", + "start": 7449, + "end": 7455, "loc": { "start": { - "line": 331, + "line": 334, "column": 9 }, "end": { - "line": 331, - "column": 12 + "line": 334, + "column": 15 } } }, @@ -37995,16 +38237,16 @@ "updateContext": null }, "value": "=", - "start": 7213, - "end": 7214, + "start": 7456, + "end": 7457, "loc": { "start": { - "line": 331, - "column": 13 + "line": 334, + "column": 16 }, "end": { - "line": 331, - "column": 14 + "line": 334, + "column": 17 } } }, @@ -38020,16 +38262,16 @@ "postfix": false, "binop": null }, - "start": 7215, - "end": 7216, + "start": 7458, + "end": 7459, "loc": { "start": { - "line": 331, - "column": 15 + "line": 334, + "column": 18 }, "end": { - "line": 331, - "column": 16 + "line": 334, + "column": 19 } } }, @@ -38046,16 +38288,16 @@ "binop": null }, "value": "totalKIn", - "start": 7216, - "end": 7224, + "start": 7459, + "end": 7467, "loc": { "start": { - "line": 331, - "column": 16 + "line": 334, + "column": 19 }, "end": { - "line": 331, - "column": 24 + "line": 334, + "column": 27 } } }, @@ -38073,16 +38315,16 @@ "updateContext": null }, "value": "-", - "start": 7225, - "end": 7226, + "start": 7468, + "end": 7469, "loc": { "start": { - "line": 331, - "column": 25 + "line": 334, + "column": 28 }, "end": { - "line": 331, - "column": 26 + "line": 334, + "column": 29 } } }, @@ -38099,16 +38341,16 @@ "binop": null }, "value": "norm", - "start": 7227, - "end": 7231, + "start": 7470, + "end": 7474, "loc": { "start": { - "line": 331, - "column": 27 + "line": 334, + "column": 30 }, "end": { - "line": 331, - "column": 31 + "line": 334, + "column": 34 } } }, @@ -38125,16 +38367,16 @@ "binop": null, "updateContext": null }, - "start": 7231, - "end": 7232, + "start": 7474, + "end": 7475, "loc": { "start": { - "line": 331, - "column": 31 + "line": 334, + "column": 34 }, "end": { - "line": 331, - "column": 32 + "line": 334, + "column": 35 } } }, @@ -38151,16 +38393,16 @@ "binop": null }, "value": "getPosition", - "start": 7232, - "end": 7243, + "start": 7475, + "end": 7486, "loc": { "start": { - "line": 331, - "column": 32 + "line": 334, + "column": 35 }, "end": { - "line": 331, - "column": 43 + "line": 334, + "column": 46 } } }, @@ -38176,16 +38418,16 @@ "postfix": false, "binop": null }, - "start": 7243, - "end": 7244, + "start": 7486, + "end": 7487, "loc": { "start": { - "line": 331, - "column": 43 + "line": 334, + "column": 46 }, "end": { - "line": 331, - "column": 44 + "line": 334, + "column": 47 } } }, @@ -38201,16 +38443,16 @@ "postfix": false, "binop": null }, - "start": 7244, - "end": 7245, + "start": 7487, + "end": 7488, "loc": { "start": { - "line": 331, - "column": 44 + "line": 334, + "column": 47 }, "end": { - "line": 331, - "column": 45 + "line": 334, + "column": 48 } } }, @@ -38226,16 +38468,16 @@ "postfix": false, "binop": null }, - "start": 7245, - "end": 7246, + "start": 7488, + "end": 7489, "loc": { "start": { - "line": 331, - "column": 45 + "line": 334, + "column": 48 }, "end": { - "line": 331, - "column": 46 + "line": 334, + "column": 49 } } }, @@ -38253,16 +38495,16 @@ "updateContext": null }, "value": "/", - "start": 7247, - "end": 7248, + "start": 7490, + "end": 7491, "loc": { "start": { - "line": 331, - "column": 47 + "line": 334, + "column": 50 }, "end": { - "line": 331, - "column": 48 + "line": 334, + "column": 51 } } }, @@ -38279,17 +38521,17 @@ "binop": null, "updateContext": null }, - "value": 360, - "start": 7249, - "end": 7252, + "value": 2880000, + "start": 7492, + "end": 7499, "loc": { "start": { - "line": 331, - "column": 49 + "line": 334, + "column": 52 }, "end": { - "line": 331, - "column": 52 + "line": 334, + "column": 59 } } }, @@ -38307,16 +38549,16 @@ "updateContext": null }, "value": "%", - "start": 7253, - "end": 7254, + "start": 7500, + "end": 7501, "loc": { "start": { - "line": 331, - "column": 53 + "line": 334, + "column": 60 }, "end": { - "line": 331, - "column": 54 + "line": 334, + "column": 61 } } }, @@ -38334,57 +38576,31 @@ "updateContext": null }, "value": 20, - "start": 7255, - "end": 7257, - "loc": { - "start": { - "line": 331, - "column": 55 - }, - "end": { - "line": 331, - "column": 57 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7257, - "end": 7258, + "start": 7502, + "end": 7504, "loc": { "start": { - "line": 331, - "column": 57 + "line": 334, + "column": 62 }, "end": { - "line": 331, - "column": 58 + "line": 334, + "column": 64 } } }, { "type": "CommentLine", "value": " eslint-disable-next-line no-mixed-operators", - "start": 7263, - "end": 7309, + "start": 7509, + "end": 7555, "loc": { "start": { - "line": 332, + "line": 335, "column": 4 }, "end": { - "line": 332, + "line": 335, "column": 50 } } @@ -38402,15 +38618,15 @@ "binop": null }, "value": "norm", - "start": 7314, - "end": 7318, + "start": 7560, + "end": 7564, "loc": { "start": { - "line": 333, + "line": 336, "column": 4 }, "end": { - "line": 333, + "line": 336, "column": 8 } } @@ -38428,15 +38644,15 @@ "binop": null, "updateContext": null }, - "start": 7318, - "end": 7319, + "start": 7564, + "end": 7565, "loc": { "start": { - "line": 333, + "line": 336, "column": 8 }, "end": { - "line": 333, + "line": 336, "column": 9 } } @@ -38453,17 +38669,17 @@ "postfix": false, "binop": null }, - "value": "kAtun", - "start": 7319, - "end": 7324, + "value": "kalabtun", + "start": 7565, + "end": 7573, "loc": { "start": { - "line": 333, + "line": 336, "column": 9 }, "end": { - "line": 333, - "column": 14 + "line": 336, + "column": 17 } } }, @@ -38481,16 +38697,16 @@ "updateContext": null }, "value": "=", - "start": 7325, - "end": 7326, + "start": 7574, + "end": 7575, "loc": { "start": { - "line": 333, - "column": 15 + "line": 336, + "column": 18 }, "end": { - "line": 333, - "column": 16 + "line": 336, + "column": 19 } } }, @@ -38506,16 +38722,16 @@ "postfix": false, "binop": null }, - "start": 7327, - "end": 7328, + "start": 7576, + "end": 7577, "loc": { "start": { - "line": 333, - "column": 17 + "line": 336, + "column": 20 }, "end": { - "line": 333, - "column": 18 + "line": 336, + "column": 21 } } }, @@ -38532,16 +38748,16 @@ "binop": null }, "value": "totalKIn", - "start": 7328, - "end": 7336, + "start": 7577, + "end": 7585, "loc": { "start": { - "line": 333, - "column": 18 + "line": 336, + "column": 21 }, "end": { - "line": 333, - "column": 26 + "line": 336, + "column": 29 } } }, @@ -38559,16 +38775,16 @@ "updateContext": null }, "value": "-", - "start": 7337, - "end": 7338, + "start": 7586, + "end": 7587, "loc": { "start": { - "line": 333, - "column": 27 + "line": 336, + "column": 30 }, "end": { - "line": 333, - "column": 28 + "line": 336, + "column": 31 } } }, @@ -38585,16 +38801,16 @@ "binop": null }, "value": "norm", - "start": 7339, - "end": 7343, + "start": 7588, + "end": 7592, "loc": { "start": { - "line": 333, - "column": 29 + "line": 336, + "column": 32 }, "end": { - "line": 333, - "column": 33 + "line": 336, + "column": 36 } } }, @@ -38611,16 +38827,16 @@ "binop": null, "updateContext": null }, - "start": 7343, - "end": 7344, + "start": 7592, + "end": 7593, "loc": { "start": { - "line": 333, - "column": 33 + "line": 336, + "column": 36 }, "end": { - "line": 333, - "column": 34 + "line": 336, + "column": 37 } } }, @@ -38637,16 +38853,16 @@ "binop": null }, "value": "getPosition", - "start": 7344, - "end": 7355, + "start": 7593, + "end": 7604, "loc": { "start": { - "line": 333, - "column": 34 + "line": 336, + "column": 37 }, "end": { - "line": 333, - "column": 45 + "line": 336, + "column": 48 } } }, @@ -38662,16 +38878,16 @@ "postfix": false, "binop": null }, - "start": 7355, - "end": 7356, + "start": 7604, + "end": 7605, "loc": { "start": { - "line": 333, - "column": 45 + "line": 336, + "column": 48 }, "end": { - "line": 333, - "column": 46 + "line": 336, + "column": 49 } } }, @@ -38687,16 +38903,16 @@ "postfix": false, "binop": null }, - "start": 7356, - "end": 7357, + "start": 7605, + "end": 7606, "loc": { "start": { - "line": 333, - "column": 46 + "line": 336, + "column": 49 }, "end": { - "line": 333, - "column": 47 + "line": 336, + "column": 50 } } }, @@ -38712,16 +38928,16 @@ "postfix": false, "binop": null }, - "start": 7357, - "end": 7358, + "start": 7606, + "end": 7607, "loc": { "start": { - "line": 333, - "column": 47 + "line": 336, + "column": 50 }, "end": { - "line": 333, - "column": 48 + "line": 336, + "column": 51 } } }, @@ -38739,16 +38955,16 @@ "updateContext": null }, "value": "/", - "start": 7359, - "end": 7360, + "start": 7608, + "end": 7609, "loc": { "start": { - "line": 333, - "column": 49 + "line": 336, + "column": 52 }, "end": { - "line": 333, - "column": 50 + "line": 336, + "column": 53 } } }, @@ -38765,17 +38981,17 @@ "binop": null, "updateContext": null }, - "value": 7200, - "start": 7361, - "end": 7365, + "value": 57600000, + "start": 7610, + "end": 7618, "loc": { "start": { - "line": 333, - "column": 51 + "line": 336, + "column": 54 }, "end": { - "line": 333, - "column": 55 + "line": 336, + "column": 62 } } }, @@ -38793,16 +39009,16 @@ "updateContext": null }, "value": "%", - "start": 7366, - "end": 7367, + "start": 7619, + "end": 7620, "loc": { "start": { - "line": 333, - "column": 56 + "line": 336, + "column": 63 }, "end": { - "line": 333, - "column": 57 + "line": 336, + "column": 64 } } }, @@ -38820,57 +39036,31 @@ "updateContext": null }, "value": 20, - "start": 7368, - "end": 7370, - "loc": { - "start": { - "line": 333, - "column": 58 - }, - "end": { - "line": 333, - "column": 60 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7370, - "end": 7371, + "start": 7621, + "end": 7623, "loc": { "start": { - "line": 333, - "column": 60 + "line": 336, + "column": 65 }, "end": { - "line": 333, - "column": 61 + "line": 336, + "column": 67 } } }, { "type": "CommentLine", "value": " eslint-disable-next-line no-mixed-operators", - "start": 7376, - "end": 7422, + "start": 7628, + "end": 7674, "loc": { "start": { - "line": 334, + "line": 337, "column": 4 }, "end": { - "line": 334, + "line": 337, "column": 50 } } @@ -38888,15 +39078,15 @@ "binop": null }, "value": "norm", - "start": 7427, - "end": 7431, + "start": 7679, + "end": 7683, "loc": { "start": { - "line": 335, + "line": 338, "column": 4 }, "end": { - "line": 335, + "line": 338, "column": 8 } } @@ -38914,15 +39104,15 @@ "binop": null, "updateContext": null }, - "start": 7431, - "end": 7432, + "start": 7683, + "end": 7684, "loc": { "start": { - "line": 335, + "line": 338, "column": 8 }, "end": { - "line": 335, + "line": 338, "column": 9 } } @@ -38939,17 +39129,17 @@ "postfix": false, "binop": null }, - "value": "bakTun", - "start": 7432, - "end": 7438, + "value": "kinchiltun", + "start": 7684, + "end": 7694, "loc": { "start": { - "line": 335, + "line": 338, "column": 9 }, "end": { - "line": 335, - "column": 15 + "line": 338, + "column": 19 } } }, @@ -38967,16 +39157,16 @@ "updateContext": null }, "value": "=", - "start": 7439, - "end": 7440, + "start": 7695, + "end": 7696, "loc": { "start": { - "line": 335, - "column": 16 + "line": 338, + "column": 20 }, "end": { - "line": 335, - "column": 17 + "line": 338, + "column": 21 } } }, @@ -38992,16 +39182,16 @@ "postfix": false, "binop": null }, - "start": 7441, - "end": 7442, + "start": 7697, + "end": 7698, "loc": { "start": { - "line": 335, - "column": 18 + "line": 338, + "column": 22 }, "end": { - "line": 335, - "column": 19 + "line": 338, + "column": 23 } } }, @@ -39018,16 +39208,16 @@ "binop": null }, "value": "totalKIn", - "start": 7442, - "end": 7450, + "start": 7698, + "end": 7706, "loc": { "start": { - "line": 335, - "column": 19 + "line": 338, + "column": 23 }, "end": { - "line": 335, - "column": 27 + "line": 338, + "column": 31 } } }, @@ -39045,16 +39235,16 @@ "updateContext": null }, "value": "-", - "start": 7451, - "end": 7452, + "start": 7707, + "end": 7708, "loc": { "start": { - "line": 335, - "column": 28 + "line": 338, + "column": 32 }, "end": { - "line": 335, - "column": 29 + "line": 338, + "column": 33 } } }, @@ -39071,16 +39261,16 @@ "binop": null }, "value": "norm", - "start": 7453, - "end": 7457, + "start": 7709, + "end": 7713, "loc": { "start": { - "line": 335, - "column": 30 + "line": 338, + "column": 34 }, "end": { - "line": 335, - "column": 34 + "line": 338, + "column": 38 } } }, @@ -39097,16 +39287,16 @@ "binop": null, "updateContext": null }, - "start": 7457, - "end": 7458, + "start": 7713, + "end": 7714, "loc": { "start": { - "line": 335, - "column": 34 + "line": 338, + "column": 38 }, "end": { - "line": 335, - "column": 35 + "line": 338, + "column": 39 } } }, @@ -39123,16 +39313,16 @@ "binop": null }, "value": "getPosition", - "start": 7458, - "end": 7469, + "start": 7714, + "end": 7725, "loc": { "start": { - "line": 335, - "column": 35 + "line": 338, + "column": 39 }, "end": { - "line": 335, - "column": 46 + "line": 338, + "column": 50 } } }, @@ -39148,16 +39338,16 @@ "postfix": false, "binop": null }, - "start": 7469, - "end": 7470, + "start": 7725, + "end": 7726, "loc": { "start": { - "line": 335, - "column": 46 + "line": 338, + "column": 50 }, "end": { - "line": 335, - "column": 47 + "line": 338, + "column": 51 } } }, @@ -39173,16 +39363,16 @@ "postfix": false, "binop": null }, - "start": 7470, - "end": 7471, + "start": 7726, + "end": 7727, "loc": { "start": { - "line": 335, - "column": 47 + "line": 338, + "column": 51 }, "end": { - "line": 335, - "column": 48 + "line": 338, + "column": 52 } } }, @@ -39198,16 +39388,16 @@ "postfix": false, "binop": null }, - "start": 7471, - "end": 7472, + "start": 7727, + "end": 7728, "loc": { "start": { - "line": 335, - "column": 48 + "line": 338, + "column": 52 }, "end": { - "line": 335, - "column": 49 + "line": 338, + "column": 53 } } }, @@ -39225,16 +39415,16 @@ "updateContext": null }, "value": "/", - "start": 7473, - "end": 7474, + "start": 7729, + "end": 7730, "loc": { "start": { - "line": 335, - "column": 50 + "line": 338, + "column": 54 }, "end": { - "line": 335, - "column": 51 + "line": 338, + "column": 55 } } }, @@ -39251,17 +39441,17 @@ "binop": null, "updateContext": null }, - "value": 144000, - "start": 7475, - "end": 7481, + "value": 1152000000, + "start": 7731, + "end": 7741, "loc": { "start": { - "line": 335, - "column": 52 + "line": 338, + "column": 56 }, "end": { - "line": 335, - "column": 58 + "line": 338, + "column": 66 } } }, @@ -39279,16 +39469,16 @@ "updateContext": null }, "value": "%", - "start": 7482, - "end": 7483, + "start": 7742, + "end": 7743, "loc": { "start": { - "line": 335, - "column": 59 + "line": 338, + "column": 67 }, "end": { - "line": 335, - "column": 60 + "line": 338, + "column": 68 } } }, @@ -39306,241 +39496,44 @@ "updateContext": null }, "value": 20, - "start": 7484, - "end": 7486, - "loc": { - "start": { - "line": 335, - "column": 61 - }, - "end": { - "line": 335, - "column": 63 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7486, - "end": 7487, - "loc": { - "start": { - "line": 335, - "column": 63 - }, - "end": { - "line": 335, - "column": 64 - } - } - }, - { - "type": "CommentLine", - "value": " eslint-disable-next-line no-mixed-operators", - "start": 7492, - "end": 7538, - "loc": { - "start": { - "line": 336, - "column": 4 - }, - "end": { - "line": 336, - "column": 50 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "norm", - "start": 7543, - "end": 7547, - "loc": { - "start": { - "line": 337, - "column": 4 - }, - "end": { - "line": 337, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7547, - "end": 7548, - "loc": { - "start": { - "line": 337, - "column": 8 - }, - "end": { - "line": 337, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "piktun", - "start": 7548, - "end": 7554, - "loc": { - "start": { - "line": 337, - "column": 9 - }, - "end": { - "line": 337, - "column": 15 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 7555, - "end": 7556, - "loc": { - "start": { - "line": 337, - "column": 16 - }, - "end": { - "line": 337, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7557, - "end": 7558, - "loc": { - "start": { - "line": 337, - "column": 18 - }, - "end": { - "line": 337, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "totalKIn", - "start": 7558, - "end": 7566, + "start": 7744, + "end": 7746, "loc": { "start": { - "line": 337, - "column": 19 + "line": 338, + "column": 69 }, "end": { - "line": 337, - "column": 27 + "line": 338, + "column": 71 } } }, { "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "-", - "start": 7567, - "end": 7568, + "value": "const", + "start": 7751, + "end": 7756, "loc": { "start": { - "line": 337, - "column": 28 + "line": 339, + "column": 4 }, "end": { - "line": 337, - "column": 29 + "line": 339, + "column": 9 } } }, @@ -39556,43 +39549,44 @@ "postfix": false, "binop": null }, - "value": "norm", - "start": 7569, - "end": 7573, + "value": "foundNegative", + "start": 7757, + "end": 7770, "loc": { "start": { - "line": 337, - "column": 30 + "line": 339, + "column": 10 }, "end": { - "line": 337, - "column": 34 + "line": 339, + "column": 23 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 7573, - "end": 7574, + "value": "=", + "start": 7771, + "end": 7772, "loc": { "start": { - "line": 337, - "column": 34 + "line": 339, + "column": 24 }, "end": { - "line": 337, - "column": 35 + "line": 339, + "column": 25 } } }, @@ -39608,50 +39602,51 @@ "postfix": false, "binop": null }, - "value": "getPosition", - "start": 7574, - "end": 7585, + "value": "norm", + "start": 7773, + "end": 7777, "loc": { "start": { - "line": 337, - "column": 35 + "line": 339, + "column": 26 }, "end": { - "line": 337, - "column": 46 + "line": 339, + "column": 30 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7585, - "end": 7586, + "start": 7777, + "end": 7778, "loc": { "start": { - "line": 337, - "column": 46 + "line": 339, + "column": 30 }, "end": { - "line": 337, - "column": 47 + "line": 339, + "column": 31 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -39659,22 +39654,23 @@ "postfix": false, "binop": null }, - "start": 7586, - "end": 7587, + "value": "parts", + "start": 7778, + "end": 7783, "loc": { "start": { - "line": 337, - "column": 47 + "line": 339, + "column": 31 }, "end": { - "line": 337, - "column": 48 + "line": 339, + "column": 36 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -39682,105 +39678,101 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7587, - "end": 7588, + "start": 7783, + "end": 7784, "loc": { "start": { - "line": 337, - "column": 48 + "line": 339, + "column": 36 }, "end": { - "line": 337, - "column": 49 + "line": 339, + "column": 37 } } }, { "type": { - "label": "/", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, - "updateContext": null + "binop": null }, - "value": "/", - "start": 7589, - "end": 7590, + "value": "reduce", + "start": 7784, + "end": 7790, "loc": { "start": { - "line": 337, - "column": 50 + "line": 339, + "column": 37 }, "end": { - "line": 337, - "column": 51 + "line": 339, + "column": 43 } } }, { "type": { - "label": "num", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 2880000, - "start": 7591, - "end": 7598, + "start": 7790, + "end": 7791, "loc": { "start": { - "line": 337, - "column": 52 + "line": 339, + "column": 43 }, "end": { - "line": 337, - "column": 59 + "line": 339, + "column": 44 } } }, { "type": { - "label": "%", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, - "updateContext": null + "binop": null }, - "value": "%", - "start": 7599, - "end": 7600, + "start": 7798, + "end": 7799, "loc": { "start": { - "line": 337, - "column": 60 + "line": 340, + "column": 6 }, "end": { - "line": 337, - "column": 61 + "line": 340, + "column": 7 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -39788,26 +39780,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 20, - "start": 7601, - "end": 7603, + "value": "found", + "start": 7799, + "end": 7804, "loc": { "start": { - "line": 337, - "column": 62 + "line": 340, + "column": 7 }, "end": { - "line": 337, - "column": 64 + "line": 340, + "column": 12 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -39818,40 +39809,50 @@ "binop": null, "updateContext": null }, - "start": 7603, - "end": 7604, + "start": 7804, + "end": 7805, "loc": { "start": { - "line": 337, - "column": 64 + "line": 340, + "column": 12 }, "end": { - "line": 337, - "column": 65 + "line": 340, + "column": 13 } } }, { - "type": "CommentLine", - "value": " eslint-disable-next-line no-mixed-operators", - "start": 7609, - "end": 7655, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "part", + "start": 7806, + "end": 7810, "loc": { "start": { - "line": 338, - "column": 4 + "line": 340, + "column": 14 }, "end": { - "line": 338, - "column": 50 + "line": 340, + "column": 18 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -39859,24 +39860,23 @@ "postfix": false, "binop": null }, - "value": "norm", - "start": 7660, - "end": 7664, + "start": 7810, + "end": 7811, "loc": { "start": { - "line": 339, - "column": 4 + "line": 340, + "column": 18 }, "end": { - "line": 339, - "column": 8 + "line": 340, + "column": 19 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=>", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -39886,16 +39886,16 @@ "binop": null, "updateContext": null }, - "start": 7664, - "end": 7665, + "start": 7812, + "end": 7814, "loc": { "start": { - "line": 339, - "column": 8 + "line": 340, + "column": 20 }, "end": { - "line": 339, - "column": 9 + "line": 340, + "column": 22 } } }, @@ -39911,44 +39911,44 @@ "postfix": false, "binop": null }, - "value": "kalabtun", - "start": 7665, - "end": 7673, + "value": "found", + "start": 7815, + "end": 7820, "loc": { "start": { - "line": 339, - "column": 9 + "line": 340, + "column": 23 }, "end": { - "line": 339, - "column": 17 + "line": 340, + "column": 28 } } }, { "type": { - "label": "=", + "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 1, "updateContext": null }, - "value": "=", - "start": 7674, - "end": 7675, + "value": "||", + "start": 7821, + "end": 7823, "loc": { "start": { - "line": 339, - "column": 18 + "line": 340, + "column": 29 }, "end": { - "line": 339, - "column": 19 + "line": 340, + "column": 31 } } }, @@ -39964,16 +39964,16 @@ "postfix": false, "binop": null }, - "start": 7676, - "end": 7677, + "start": 7824, + "end": 7825, "loc": { "start": { - "line": 339, - "column": 20 + "line": 340, + "column": 32 }, "end": { - "line": 339, - "column": 21 + "line": 340, + "column": 33 } } }, @@ -39989,50 +39989,50 @@ "postfix": false, "binop": null }, - "value": "totalKIn", - "start": 7677, - "end": 7685, + "value": "part", + "start": 7825, + "end": 7829, "loc": { "start": { - "line": 339, - "column": 21 + "line": 340, + "column": 33 }, "end": { - "line": 339, - "column": 29 + "line": 340, + "column": 37 } } }, { "type": { - "label": "+/-", + "label": "", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": 7, "updateContext": null }, - "value": "-", - "start": 7686, - "end": 7687, + "value": "<", + "start": 7830, + "end": 7831, "loc": { "start": { - "line": 339, - "column": 30 + "line": 340, + "column": 38 }, "end": { - "line": 339, - "column": 31 + "line": 340, + "column": 39 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -40040,25 +40040,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "norm", - "start": 7688, - "end": 7692, + "value": 0, + "start": 7832, + "end": 7833, "loc": { "start": { - "line": 339, - "column": 32 + "line": 340, + "column": 40 }, "end": { - "line": 339, - "column": 36 + "line": 340, + "column": 41 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -40066,25 +40067,51 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null + }, + "start": 7833, + "end": 7834, + "loc": { + "start": { + "line": 340, + "column": 41 + }, + "end": { + "line": 340, + "column": 42 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, - "start": 7692, - "end": 7693, + "start": 7834, + "end": 7835, "loc": { "start": { - "line": 339, - "column": 36 + "line": 340, + "column": 42 }, "end": { - "line": 339, - "column": 37 + "line": 340, + "column": 43 } } }, { "type": { - "label": "name", + "label": "false", + "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -40092,44 +40119,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "getPosition", - "start": 7693, - "end": 7704, + "value": "false", + "start": 7842, + "end": 7847, "loc": { "start": { - "line": 339, - "column": 37 + "line": 341, + "column": 6 }, "end": { - "line": 339, - "column": 48 + "line": 341, + "column": 11 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7704, - "end": 7705, + "start": 7847, + "end": 7848, "loc": { "start": { - "line": 339, - "column": 48 + "line": 341, + "column": 11 }, "end": { - "line": 339, - "column": 49 + "line": 341, + "column": 12 } } }, @@ -40145,74 +40174,76 @@ "postfix": false, "binop": null }, - "start": 7705, - "end": 7706, + "start": 7853, + "end": 7854, "loc": { "start": { - "line": 339, - "column": 49 + "line": 342, + "column": 4 }, "end": { - "line": 339, - "column": 50 + "line": 342, + "column": 5 } } }, { "type": { - "label": ")", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7706, - "end": 7707, + "value": "this", + "start": 7859, + "end": 7863, "loc": { "start": { - "line": 339, - "column": 50 + "line": 343, + "column": 4 }, "end": { - "line": 339, - "column": 51 + "line": 343, + "column": 8 } } }, { "type": { - "label": "/", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, + "binop": null, "updateContext": null }, - "value": "/", - "start": 7708, - "end": 7709, + "start": 7863, + "end": 7864, "loc": { "start": { - "line": 339, - "column": 52 + "line": 343, + "column": 8 }, "end": { - "line": 339, - "column": 53 + "line": 343, + "column": 9 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -40220,53 +40251,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 57600000, - "start": 7710, - "end": 7718, + "value": "sign", + "start": 7864, + "end": 7868, "loc": { "start": { - "line": 339, - "column": 54 + "line": 343, + "column": 9 }, "end": { - "line": 339, - "column": 62 + "line": 343, + "column": 13 } } }, { "type": { - "label": "%", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": 10, + "binop": null, "updateContext": null }, - "value": "%", - "start": 7719, - "end": 7720, + "value": "=", + "start": 7869, + "end": 7870, "loc": { "start": { - "line": 339, - "column": 63 + "line": 343, + "column": 14 }, "end": { - "line": 339, - "column": 64 + "line": 343, + "column": 15 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -40274,26 +40304,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 20, - "start": 7721, - "end": 7723, + "value": "foundNegative", + "start": 7871, + "end": 7884, "loc": { "start": { - "line": 339, - "column": 65 + "line": 343, + "column": 16 }, "end": { - "line": 339, - "column": 67 + "line": 343, + "column": 29 } } }, { "type": { - "label": ";", + "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -40304,38 +40333,49 @@ "binop": null, "updateContext": null }, - "start": 7723, - "end": 7724, + "start": 7885, + "end": 7886, "loc": { "start": { - "line": 339, - "column": 67 + "line": 343, + "column": 30 }, "end": { - "line": 339, - "column": 68 + "line": 343, + "column": 31 } } }, { - "type": "CommentLine", - "value": " eslint-disable-next-line no-mixed-operators", - "start": 7729, - "end": 7775, + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 7887, + "end": 7888, "loc": { "start": { - "line": 340, - "column": 4 + "line": 343, + "column": 32 }, "end": { - "line": 340, - "column": 50 + "line": 343, + "column": 33 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -40343,26 +40383,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "norm", - "start": 7780, - "end": 7784, + "value": 1, + "start": 7888, + "end": 7889, "loc": { "start": { - "line": 341, - "column": 4 + "line": 343, + "column": 33 }, "end": { - "line": 341, - "column": 8 + "line": 343, + "column": 34 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -40372,22 +40413,22 @@ "binop": null, "updateContext": null }, - "start": 7784, - "end": 7785, + "start": 7890, + "end": 7891, "loc": { "start": { - "line": 341, - "column": 8 + "line": 343, + "column": 35 }, "end": { - "line": 341, - "column": 9 + "line": 343, + "column": 36 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -40395,71 +40436,74 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "kinchiltun", - "start": 7785, - "end": 7795, + "value": 1, + "start": 7892, + "end": 7893, "loc": { "start": { - "line": 341, - "column": 9 + "line": 343, + "column": 37 }, "end": { - "line": 341, - "column": 19 + "line": 343, + "column": 38 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 7796, - "end": 7797, + "value": "this", + "start": 7898, + "end": 7902, "loc": { "start": { - "line": 341, - "column": 20 + "line": 344, + "column": 4 }, "end": { - "line": 341, - "column": 21 + "line": 344, + "column": 8 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7798, - "end": 7799, + "start": 7902, + "end": 7903, "loc": { "start": { - "line": 341, - "column": 22 + "line": 344, + "column": 8 }, "end": { - "line": 341, - "column": 23 + "line": 344, + "column": 9 } } }, @@ -40475,44 +40519,44 @@ "postfix": false, "binop": null }, - "value": "totalKIn", - "start": 7799, - "end": 7807, + "value": "parts", + "start": 7903, + "end": 7908, "loc": { "start": { - "line": 341, - "column": 23 + "line": 344, + "column": 9 }, "end": { - "line": 341, - "column": 31 + "line": 344, + "column": 14 } } }, { "type": { - "label": "+/-", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, - "prefix": true, + "isAssign": true, + "prefix": false, "postfix": false, - "binop": 9, + "binop": null, "updateContext": null }, - "value": "-", - "start": 7808, - "end": 7809, + "value": "=", + "start": 7909, + "end": 7910, "loc": { "start": { - "line": 341, - "column": 32 + "line": 344, + "column": 15 }, "end": { - "line": 341, - "column": 33 + "line": 344, + "column": 16 } } }, @@ -40529,16 +40573,16 @@ "binop": null }, "value": "norm", - "start": 7810, - "end": 7814, + "start": 7911, + "end": 7915, "loc": { "start": { - "line": 341, - "column": 34 + "line": 344, + "column": 17 }, "end": { - "line": 341, - "column": 38 + "line": 344, + "column": 21 } } }, @@ -40555,16 +40599,16 @@ "binop": null, "updateContext": null }, - "start": 7814, - "end": 7815, + "start": 7915, + "end": 7916, "loc": { "start": { - "line": 341, - "column": 38 + "line": 344, + "column": 21 }, "end": { - "line": 341, - "column": 39 + "line": 344, + "column": 22 } } }, @@ -40580,48 +40624,23 @@ "postfix": false, "binop": null }, - "value": "getPosition", - "start": 7815, - "end": 7826, - "loc": { - "start": { - "line": 341, - "column": 39 - }, - "end": { - "line": 341, - "column": 50 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7826, - "end": 7827, + "value": "parts", + "start": 7916, + "end": 7921, "loc": { "start": { - "line": 341, - "column": 50 + "line": 344, + "column": 22 }, "end": { - "line": 341, - "column": 51 + "line": 344, + "column": 27 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -40629,26 +40648,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 7827, - "end": 7828, + "start": 7921, + "end": 7922, "loc": { "start": { - "line": 341, - "column": 51 + "line": 344, + "column": 27 }, "end": { - "line": 341, - "column": 52 + "line": 344, + "column": 28 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -40656,130 +40676,124 @@ "postfix": false, "binop": null }, - "start": 7828, - "end": 7829, + "value": "map", + "start": 7922, + "end": 7925, "loc": { "start": { - "line": 341, - "column": 52 + "line": 344, + "column": 28 }, "end": { - "line": 341, - "column": 53 + "line": 344, + "column": 31 } } }, { "type": { - "label": "/", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, - "updateContext": null + "binop": null }, - "value": "/", - "start": 7830, - "end": 7831, + "start": 7925, + "end": 7926, "loc": { "start": { - "line": 341, - "column": 54 + "line": 344, + "column": 31 }, "end": { - "line": 341, - "column": 55 + "line": 344, + "column": 32 } } }, { "type": { - "label": "num", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 1152000000, - "start": 7832, - "end": 7842, + "start": 7926, + "end": 7927, "loc": { "start": { - "line": 341, - "column": 56 + "line": 344, + "column": 32 }, "end": { - "line": 341, - "column": 66 + "line": 344, + "column": 33 } } }, { "type": { - "label": "%", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, - "updateContext": null + "binop": null }, - "value": "%", - "start": 7843, - "end": 7844, + "value": "part", + "start": 7927, + "end": 7931, "loc": { "start": { - "line": 341, - "column": 67 + "line": 344, + "column": 33 }, "end": { - "line": 341, - "column": 68 + "line": 344, + "column": 37 } } }, { "type": { - "label": "num", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 20, - "start": 7845, - "end": 7847, + "start": 7931, + "end": 7932, "loc": { "start": { - "line": 341, - "column": 69 + "line": 344, + "column": 37 }, "end": { - "line": 341, - "column": 71 + "line": 344, + "column": 38 } } }, { "type": { - "label": ";", + "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -40790,23 +40804,22 @@ "binop": null, "updateContext": null }, - "start": 7847, - "end": 7848, + "start": 7933, + "end": 7935, "loc": { "start": { - "line": 341, - "column": 71 + "line": 344, + "column": 39 }, "end": { - "line": 341, - "column": 72 + "line": 344, + "column": 41 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -40814,20 +40827,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 7853, - "end": 7857, + "value": "Math", + "start": 7936, + "end": 7940, "loc": { "start": { - "line": 342, - "column": 4 + "line": 344, + "column": 42 }, "end": { - "line": 342, - "column": 8 + "line": 344, + "column": 46 } } }, @@ -40844,16 +40856,16 @@ "binop": null, "updateContext": null }, - "start": 7857, - "end": 7858, + "start": 7940, + "end": 7941, "loc": { "start": { - "line": 342, - "column": 8 + "line": 344, + "column": 46 }, "end": { - "line": 342, - "column": 9 + "line": 344, + "column": 47 } } }, @@ -40869,44 +40881,42 @@ "postfix": false, "binop": null }, - "value": "parts", - "start": 7858, - "end": 7863, + "value": "abs", + "start": 7941, + "end": 7944, "loc": { "start": { - "line": 342, - "column": 9 + "line": 344, + "column": 47 }, "end": { - "line": 342, - "column": 14 + "line": 344, + "column": 50 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 7864, - "end": 7865, + "start": 7944, + "end": 7945, "loc": { "start": { - "line": 342, - "column": 15 + "line": 344, + "column": 50 }, "end": { - "line": 342, - "column": 16 + "line": 344, + "column": 51 } } }, @@ -40922,23 +40932,23 @@ "postfix": false, "binop": null }, - "value": "norm", - "start": 7866, - "end": 7870, + "value": "part", + "start": 7945, + "end": 7949, "loc": { "start": { - "line": 342, - "column": 17 + "line": 344, + "column": 51 }, "end": { - "line": 342, - "column": 21 + "line": 344, + "column": 55 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -40946,71 +40956,43 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7870, - "end": 7871, - "loc": { - "start": { - "line": 342, - "column": 21 - }, - "end": { - "line": 342, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null }, - "value": "parts", - "start": 7871, - "end": 7876, + "start": 7949, + "end": 7950, "loc": { "start": { - "line": 342, - "column": 22 + "line": 344, + "column": 55 }, "end": { - "line": 342, - "column": 27 + "line": 344, + "column": 56 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 7876, - "end": 7877, + "start": 7950, + "end": 7951, "loc": { "start": { - "line": 342, - "column": 27 + "line": 344, + "column": 56 }, "end": { - "line": 342, - "column": 28 + "line": 344, + "column": 57 } } }, @@ -41029,15 +41011,15 @@ "updateContext": null }, "value": "return", - "start": 7882, - "end": 7888, + "start": 7956, + "end": 7962, "loc": { "start": { - "line": 343, + "line": 345, "column": 4 }, "end": { - "line": 343, + "line": 345, "column": 10 } } @@ -41057,42 +41039,16 @@ "updateContext": null }, "value": "this", - "start": 7889, - "end": 7893, + "start": 7963, + "end": 7967, "loc": { "start": { - "line": 343, + "line": 345, "column": 11 }, "end": { - "line": 343, - "column": 15 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7893, - "end": 7894, - "loc": { - "start": { - "line": 343, + "line": 345, "column": 15 - }, - "end": { - "line": 343, - "column": 16 } } }, @@ -41108,15 +41064,15 @@ "postfix": false, "binop": null }, - "start": 7897, - "end": 7898, + "start": 7970, + "end": 7971, "loc": { "start": { - "line": 344, + "line": 346, "column": 2 }, "end": { - "line": 344, + "line": 346, "column": 3 } } @@ -41124,15 +41080,15 @@ { "type": "CommentBlock", "value": "*\n * Convert the LongCount to a string and pad the sections of the fullDate\n * @returns {string}\n ", - "start": 7903, - "end": 8011, + "start": 7975, + "end": 8083, "loc": { "start": { - "line": 347, + "line": 348, "column": 2 }, "end": { - "line": 350, + "line": 351, "column": 5 } } @@ -41150,15 +41106,15 @@ "binop": null }, "value": "toString", - "start": 8014, - "end": 8022, + "start": 8086, + "end": 8094, "loc": { "start": { - "line": 351, + "line": 352, "column": 2 }, "end": { - "line": 351, + "line": 352, "column": 10 } } @@ -41175,16 +41131,16 @@ "postfix": false, "binop": null }, - "start": 8022, - "end": 8023, + "start": 8095, + "end": 8096, "loc": { "start": { - "line": 351, - "column": 10 + "line": 352, + "column": 11 }, "end": { - "line": 351, - "column": 11 + "line": 352, + "column": 12 } } }, @@ -41200,16 +41156,16 @@ "postfix": false, "binop": null }, - "start": 8023, - "end": 8024, + "start": 8096, + "end": 8097, "loc": { "start": { - "line": 351, - "column": 11 + "line": 352, + "column": 12 }, "end": { - "line": 351, - "column": 12 + "line": 352, + "column": 13 } } }, @@ -41225,16 +41181,16 @@ "postfix": false, "binop": null }, - "start": 8025, - "end": 8026, + "start": 8098, + "end": 8099, "loc": { "start": { - "line": 351, - "column": 13 + "line": 352, + "column": 14 }, "end": { - "line": 351, - "column": 14 + "line": 352, + "column": 15 } } }, @@ -41253,15 +41209,15 @@ "updateContext": null }, "value": "let", - "start": 8031, - "end": 8034, + "start": 8104, + "end": 8107, "loc": { "start": { - "line": 352, + "line": 353, "column": 4 }, "end": { - "line": 352, + "line": 353, "column": 7 } } @@ -41279,15 +41235,15 @@ "binop": null }, "value": "significantDigits", - "start": 8035, - "end": 8052, + "start": 8108, + "end": 8125, "loc": { "start": { - "line": 352, + "line": 353, "column": 8 }, "end": { - "line": 352, + "line": 353, "column": 25 } } @@ -41306,15 +41262,15 @@ "updateContext": null }, "value": "=", - "start": 8053, - "end": 8054, + "start": 8126, + "end": 8127, "loc": { "start": { - "line": 352, + "line": 353, "column": 26 }, "end": { - "line": 352, + "line": 353, "column": 27 } } @@ -41332,15 +41288,15 @@ "binop": null, "updateContext": null }, - "start": 8055, - "end": 8056, + "start": 8128, + "end": 8129, "loc": { "start": { - "line": 352, + "line": 353, "column": 28 }, "end": { - "line": 352, + "line": 353, "column": 29 } } @@ -41358,42 +41314,16 @@ "binop": null, "updateContext": null }, - "start": 8056, - "end": 8057, + "start": 8129, + "end": 8130, "loc": { "start": { - "line": 352, + "line": 353, "column": 29 }, "end": { - "line": 352, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8057, - "end": 8058, - "loc": { - "start": { - "line": 352, + "line": 353, "column": 30 - }, - "end": { - "line": 352, - "column": 31 } } }, @@ -41412,15 +41342,15 @@ "updateContext": null }, "value": "for", - "start": 8063, - "end": 8066, + "start": 8135, + "end": 8138, "loc": { "start": { - "line": 353, + "line": 354, "column": 4 }, "end": { - "line": 353, + "line": 354, "column": 7 } } @@ -41437,15 +41367,15 @@ "postfix": false, "binop": null }, - "start": 8067, - "end": 8068, + "start": 8139, + "end": 8140, "loc": { "start": { - "line": 353, + "line": 354, "column": 8 }, "end": { - "line": 353, + "line": 354, "column": 9 } } @@ -41465,15 +41395,15 @@ "updateContext": null }, "value": "let", - "start": 8068, - "end": 8071, + "start": 8140, + "end": 8143, "loc": { "start": { - "line": 353, + "line": 354, "column": 9 }, "end": { - "line": 353, + "line": 354, "column": 12 } } @@ -41491,15 +41421,15 @@ "binop": null }, "value": "i", - "start": 8072, - "end": 8073, + "start": 8144, + "end": 8145, "loc": { "start": { - "line": 353, + "line": 354, "column": 13 }, "end": { - "line": 353, + "line": 354, "column": 14 } } @@ -41518,15 +41448,15 @@ "updateContext": null }, "value": "=", - "start": 8074, - "end": 8075, + "start": 8146, + "end": 8147, "loc": { "start": { - "line": 353, + "line": 354, "column": 15 }, "end": { - "line": 353, + "line": 354, "column": 16 } } @@ -41546,15 +41476,15 @@ "updateContext": null }, "value": "this", - "start": 8076, - "end": 8080, + "start": 8148, + "end": 8152, "loc": { "start": { - "line": 353, + "line": 354, "column": 17 }, "end": { - "line": 353, + "line": 354, "column": 21 } } @@ -41572,15 +41502,15 @@ "binop": null, "updateContext": null }, - "start": 8080, - "end": 8081, + "start": 8152, + "end": 8153, "loc": { "start": { - "line": 353, + "line": 354, "column": 21 }, "end": { - "line": 353, + "line": 354, "column": 22 } } @@ -41598,15 +41528,15 @@ "binop": null }, "value": "parts", - "start": 8081, - "end": 8086, + "start": 8153, + "end": 8158, "loc": { "start": { - "line": 353, + "line": 354, "column": 22 }, "end": { - "line": 353, + "line": 354, "column": 27 } } @@ -41624,15 +41554,15 @@ "binop": null, "updateContext": null }, - "start": 8086, - "end": 8087, + "start": 8158, + "end": 8159, "loc": { "start": { - "line": 353, + "line": 354, "column": 27 }, "end": { - "line": 353, + "line": 354, "column": 28 } } @@ -41650,15 +41580,15 @@ "binop": null }, "value": "length", - "start": 8087, - "end": 8093, + "start": 8159, + "end": 8165, "loc": { "start": { - "line": 353, + "line": 354, "column": 28 }, "end": { - "line": 353, + "line": 354, "column": 34 } } @@ -41677,15 +41607,15 @@ "updateContext": null }, "value": "-", - "start": 8094, - "end": 8095, + "start": 8166, + "end": 8167, "loc": { "start": { - "line": 353, + "line": 354, "column": 35 }, "end": { - "line": 353, + "line": 354, "column": 36 } } @@ -41704,15 +41634,15 @@ "updateContext": null }, "value": 1, - "start": 8096, - "end": 8097, + "start": 8168, + "end": 8169, "loc": { "start": { - "line": 353, + "line": 354, "column": 37 }, "end": { - "line": 353, + "line": 354, "column": 38 } } @@ -41730,15 +41660,15 @@ "binop": null, "updateContext": null }, - "start": 8097, - "end": 8098, + "start": 8169, + "end": 8170, "loc": { "start": { - "line": 353, + "line": 354, "column": 38 }, "end": { - "line": 353, + "line": 354, "column": 39 } } @@ -41756,15 +41686,15 @@ "binop": null }, "value": "i", - "start": 8099, - "end": 8100, + "start": 8171, + "end": 8172, "loc": { "start": { - "line": 353, + "line": 354, "column": 40 }, "end": { - "line": 353, + "line": 354, "column": 41 } } @@ -41783,15 +41713,15 @@ "updateContext": null }, "value": ">=", - "start": 8101, - "end": 8103, + "start": 8173, + "end": 8175, "loc": { "start": { - "line": 353, + "line": 354, "column": 42 }, "end": { - "line": 353, + "line": 354, "column": 44 } } @@ -41810,15 +41740,15 @@ "updateContext": null }, "value": 0, - "start": 8104, - "end": 8105, + "start": 8176, + "end": 8177, "loc": { "start": { - "line": 353, + "line": 354, "column": 45 }, "end": { - "line": 353, + "line": 354, "column": 46 } } @@ -41836,15 +41766,15 @@ "binop": null, "updateContext": null }, - "start": 8105, - "end": 8106, + "start": 8177, + "end": 8178, "loc": { "start": { - "line": 353, + "line": 354, "column": 46 }, "end": { - "line": 353, + "line": 354, "column": 47 } } @@ -41862,15 +41792,15 @@ "binop": null }, "value": "i", - "start": 8107, - "end": 8108, + "start": 8179, + "end": 8180, "loc": { "start": { - "line": 353, + "line": 354, "column": 48 }, "end": { - "line": 353, + "line": 354, "column": 49 } } @@ -41889,15 +41819,15 @@ "updateContext": null }, "value": "-=", - "start": 8109, - "end": 8111, + "start": 8181, + "end": 8183, "loc": { "start": { - "line": 353, + "line": 354, "column": 50 }, "end": { - "line": 353, + "line": 354, "column": 52 } } @@ -41916,15 +41846,15 @@ "updateContext": null }, "value": 1, - "start": 8112, - "end": 8113, + "start": 8184, + "end": 8185, "loc": { "start": { - "line": 353, + "line": 354, "column": 53 }, "end": { - "line": 353, + "line": 354, "column": 54 } } @@ -41941,15 +41871,15 @@ "postfix": false, "binop": null }, - "start": 8113, - "end": 8114, + "start": 8185, + "end": 8186, "loc": { "start": { - "line": 353, + "line": 354, "column": 54 }, "end": { - "line": 353, + "line": 354, "column": 55 } } @@ -41966,15 +41896,15 @@ "postfix": false, "binop": null }, - "start": 8115, - "end": 8116, + "start": 8187, + "end": 8188, "loc": { "start": { - "line": 353, + "line": 354, "column": 56 }, "end": { - "line": 353, + "line": 354, "column": 57 } } @@ -41994,15 +41924,15 @@ "updateContext": null }, "value": "const", - "start": 8123, - "end": 8128, + "start": 8195, + "end": 8200, "loc": { "start": { - "line": 354, + "line": 355, "column": 6 }, "end": { - "line": 354, + "line": 355, "column": 11 } } @@ -42020,15 +41950,15 @@ "binop": null }, "value": "part", - "start": 8129, - "end": 8133, + "start": 8201, + "end": 8205, "loc": { "start": { - "line": 354, + "line": 355, "column": 12 }, "end": { - "line": 354, + "line": 355, "column": 16 } } @@ -42047,15 +41977,15 @@ "updateContext": null }, "value": "=", - "start": 8134, - "end": 8135, + "start": 8206, + "end": 8207, "loc": { "start": { - "line": 354, + "line": 355, "column": 17 }, "end": { - "line": 354, + "line": 355, "column": 18 } } @@ -42075,15 +42005,15 @@ "updateContext": null }, "value": "this", - "start": 8136, - "end": 8140, + "start": 8208, + "end": 8212, "loc": { "start": { - "line": 354, + "line": 355, "column": 19 }, "end": { - "line": 354, + "line": 355, "column": 23 } } @@ -42101,15 +42031,15 @@ "binop": null, "updateContext": null }, - "start": 8140, - "end": 8141, + "start": 8212, + "end": 8213, "loc": { "start": { - "line": 354, + "line": 355, "column": 23 }, "end": { - "line": 354, + "line": 355, "column": 24 } } @@ -42127,15 +42057,15 @@ "binop": null }, "value": "parts", - "start": 8141, - "end": 8146, + "start": 8213, + "end": 8218, "loc": { "start": { - "line": 354, + "line": 355, "column": 24 }, "end": { - "line": 354, + "line": 355, "column": 29 } } @@ -42153,15 +42083,15 @@ "binop": null, "updateContext": null }, - "start": 8146, - "end": 8147, + "start": 8218, + "end": 8219, "loc": { "start": { - "line": 354, + "line": 355, "column": 29 }, "end": { - "line": 354, + "line": 355, "column": 30 } } @@ -42179,15 +42109,15 @@ "binop": null }, "value": "i", - "start": 8147, - "end": 8148, + "start": 8219, + "end": 8220, "loc": { "start": { - "line": 354, + "line": 355, "column": 30 }, "end": { - "line": 354, + "line": 355, "column": 31 } } @@ -42205,42 +42135,16 @@ "binop": null, "updateContext": null }, - "start": 8148, - "end": 8149, + "start": 8220, + "end": 8221, "loc": { "start": { - "line": 354, + "line": 355, "column": 31 }, "end": { - "line": 354, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8149, - "end": 8150, - "loc": { - "start": { - "line": 354, + "line": 355, "column": 32 - }, - "end": { - "line": 354, - "column": 33 } } }, @@ -42259,15 +42163,15 @@ "updateContext": null }, "value": "if", - "start": 8157, - "end": 8159, + "start": 8228, + "end": 8230, "loc": { "start": { - "line": 355, + "line": 356, "column": 6 }, "end": { - "line": 355, + "line": 356, "column": 8 } } @@ -42284,15 +42188,15 @@ "postfix": false, "binop": null }, - "start": 8160, - "end": 8161, + "start": 8231, + "end": 8232, "loc": { "start": { - "line": 355, + "line": 356, "column": 9 }, "end": { - "line": 355, + "line": 356, "column": 10 } } @@ -42310,15 +42214,15 @@ "binop": null }, "value": "part", - "start": 8161, - "end": 8165, + "start": 8232, + "end": 8236, "loc": { "start": { - "line": 355, + "line": 356, "column": 10 }, "end": { - "line": 355, + "line": 356, "column": 14 } } @@ -42337,15 +42241,15 @@ "updateContext": null }, "value": "!==", - "start": 8166, - "end": 8169, + "start": 8237, + "end": 8240, "loc": { "start": { - "line": 355, + "line": 356, "column": 15 }, "end": { - "line": 355, + "line": 356, "column": 18 } } @@ -42364,15 +42268,15 @@ "updateContext": null }, "value": 0, - "start": 8170, - "end": 8171, + "start": 8241, + "end": 8242, "loc": { "start": { - "line": 355, + "line": 356, "column": 19 }, "end": { - "line": 355, + "line": 356, "column": 20 } } @@ -42389,15 +42293,15 @@ "postfix": false, "binop": null }, - "start": 8171, - "end": 8172, + "start": 8242, + "end": 8243, "loc": { "start": { - "line": 355, + "line": 356, "column": 20 }, "end": { - "line": 355, + "line": 356, "column": 21 } } @@ -42414,15 +42318,15 @@ "postfix": false, "binop": null }, - "start": 8173, - "end": 8174, + "start": 8244, + "end": 8245, "loc": { "start": { - "line": 355, + "line": 356, "column": 22 }, "end": { - "line": 355, + "line": 356, "column": 23 } } @@ -42440,15 +42344,15 @@ "binop": null }, "value": "significantDigits", - "start": 8183, - "end": 8200, + "start": 8254, + "end": 8271, "loc": { "start": { - "line": 356, + "line": 357, "column": 8 }, "end": { - "line": 356, + "line": 357, "column": 25 } } @@ -42467,15 +42371,15 @@ "updateContext": null }, "value": "=", - "start": 8201, - "end": 8202, + "start": 8272, + "end": 8273, "loc": { "start": { - "line": 356, + "line": 357, "column": 26 }, "end": { - "line": 356, + "line": 357, "column": 27 } } @@ -42495,15 +42399,15 @@ "updateContext": null }, "value": "this", - "start": 8203, - "end": 8207, + "start": 8274, + "end": 8278, "loc": { "start": { - "line": 356, + "line": 357, "column": 28 }, "end": { - "line": 356, + "line": 357, "column": 32 } } @@ -42521,15 +42425,15 @@ "binop": null, "updateContext": null }, - "start": 8207, - "end": 8208, + "start": 8278, + "end": 8279, "loc": { "start": { - "line": 356, + "line": 357, "column": 32 }, "end": { - "line": 356, + "line": 357, "column": 33 } } @@ -42547,15 +42451,15 @@ "binop": null }, "value": "parts", - "start": 8208, - "end": 8213, + "start": 8279, + "end": 8284, "loc": { "start": { - "line": 356, + "line": 357, "column": 33 }, "end": { - "line": 356, + "line": 357, "column": 38 } } @@ -42573,15 +42477,15 @@ "binop": null, "updateContext": null }, - "start": 8213, - "end": 8214, + "start": 8284, + "end": 8285, "loc": { "start": { - "line": 356, + "line": 357, "column": 38 }, "end": { - "line": 356, + "line": 357, "column": 39 } } @@ -42599,15 +42503,15 @@ "binop": null }, "value": "slice", - "start": 8214, - "end": 8219, + "start": 8285, + "end": 8290, "loc": { "start": { - "line": 356, + "line": 357, "column": 39 }, "end": { - "line": 356, + "line": 357, "column": 44 } } @@ -42624,15 +42528,15 @@ "postfix": false, "binop": null }, - "start": 8219, - "end": 8220, + "start": 8290, + "end": 8291, "loc": { "start": { - "line": 356, + "line": 357, "column": 44 }, "end": { - "line": 356, + "line": 357, "column": 45 } } @@ -42651,15 +42555,15 @@ "updateContext": null }, "value": 0, - "start": 8220, - "end": 8221, + "start": 8291, + "end": 8292, "loc": { "start": { - "line": 356, + "line": 357, "column": 45 }, "end": { - "line": 356, + "line": 357, "column": 46 } } @@ -42677,15 +42581,15 @@ "binop": null, "updateContext": null }, - "start": 8221, - "end": 8222, + "start": 8292, + "end": 8293, "loc": { "start": { - "line": 356, + "line": 357, "column": 46 }, "end": { - "line": 356, + "line": 357, "column": 47 } } @@ -42703,15 +42607,15 @@ "binop": null }, "value": "i", - "start": 8223, - "end": 8224, + "start": 8294, + "end": 8295, "loc": { "start": { - "line": 356, + "line": 357, "column": 48 }, "end": { - "line": 356, + "line": 357, "column": 49 } } @@ -42730,15 +42634,15 @@ "updateContext": null }, "value": "+", - "start": 8225, - "end": 8226, + "start": 8296, + "end": 8297, "loc": { "start": { - "line": 356, + "line": 357, "column": 50 }, "end": { - "line": 356, + "line": 357, "column": 51 } } @@ -42757,15 +42661,15 @@ "updateContext": null }, "value": 1, - "start": 8227, - "end": 8228, + "start": 8298, + "end": 8299, "loc": { "start": { - "line": 356, + "line": 357, "column": 52 }, "end": { - "line": 356, + "line": 357, "column": 53 } } @@ -42782,15 +42686,15 @@ "postfix": false, "binop": null }, - "start": 8228, - "end": 8229, + "start": 8299, + "end": 8300, "loc": { "start": { - "line": 356, + "line": 357, "column": 53 }, "end": { - "line": 356, + "line": 357, "column": 54 } } @@ -42808,15 +42712,15 @@ "binop": null, "updateContext": null }, - "start": 8229, - "end": 8230, + "start": 8300, + "end": 8301, "loc": { "start": { - "line": 356, + "line": 357, "column": 54 }, "end": { - "line": 356, + "line": 357, "column": 55 } } @@ -42834,15 +42738,15 @@ "binop": null }, "value": "reverse", - "start": 8230, - "end": 8237, + "start": 8301, + "end": 8308, "loc": { "start": { - "line": 356, + "line": 357, "column": 55 }, "end": { - "line": 356, + "line": 357, "column": 62 } } @@ -42859,15 +42763,15 @@ "postfix": false, "binop": null }, - "start": 8237, - "end": 8238, + "start": 8308, + "end": 8309, "loc": { "start": { - "line": 356, + "line": 357, "column": 62 }, "end": { - "line": 356, + "line": 357, "column": 63 } } @@ -42884,42 +42788,16 @@ "postfix": false, "binop": null }, - "start": 8238, - "end": 8239, + "start": 8309, + "end": 8310, "loc": { "start": { - "line": 356, + "line": 357, "column": 63 }, "end": { - "line": 356, - "column": 64 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8239, - "end": 8240, - "loc": { - "start": { - "line": 356, + "line": 357, "column": 64 - }, - "end": { - "line": 356, - "column": 65 } } }, @@ -42938,42 +42816,16 @@ "updateContext": null }, "value": "break", - "start": 8249, - "end": 8254, + "start": 8319, + "end": 8324, "loc": { "start": { - "line": 357, + "line": 358, "column": 8 }, "end": { - "line": 357, - "column": 13 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8254, - "end": 8255, - "loc": { - "start": { - "line": 357, + "line": 358, "column": 13 - }, - "end": { - "line": 357, - "column": 14 } } }, @@ -42989,15 +42841,15 @@ "postfix": false, "binop": null }, - "start": 8262, - "end": 8263, + "start": 8331, + "end": 8332, "loc": { "start": { - "line": 358, + "line": 359, "column": 6 }, "end": { - "line": 358, + "line": 359, "column": 7 } } @@ -43014,15 +42866,15 @@ "postfix": false, "binop": null }, - "start": 8268, - "end": 8269, + "start": 8337, + "end": 8338, "loc": { "start": { - "line": 359, + "line": 360, "column": 4 }, "end": { - "line": 359, + "line": 360, "column": 5 } } @@ -43042,15 +42894,15 @@ "updateContext": null }, "value": "for", - "start": 8275, - "end": 8278, + "start": 8344, + "end": 8347, "loc": { "start": { - "line": 361, + "line": 362, "column": 4 }, "end": { - "line": 361, + "line": 362, "column": 7 } } @@ -43067,15 +42919,15 @@ "postfix": false, "binop": null }, - "start": 8279, - "end": 8280, + "start": 8348, + "end": 8349, "loc": { "start": { - "line": 361, + "line": 362, "column": 8 }, "end": { - "line": 361, + "line": 362, "column": 9 } } @@ -43095,15 +42947,15 @@ "updateContext": null }, "value": "let", - "start": 8280, - "end": 8283, + "start": 8349, + "end": 8352, "loc": { "start": { - "line": 361, + "line": 362, "column": 9 }, "end": { - "line": 361, + "line": 362, "column": 12 } } @@ -43121,15 +42973,15 @@ "binop": null }, "value": "i", - "start": 8284, - "end": 8285, + "start": 8353, + "end": 8354, "loc": { "start": { - "line": 361, + "line": 362, "column": 13 }, "end": { - "line": 361, + "line": 362, "column": 14 } } @@ -43148,15 +43000,15 @@ "updateContext": null }, "value": "=", - "start": 8286, - "end": 8287, + "start": 8355, + "end": 8356, "loc": { "start": { - "line": 361, + "line": 362, "column": 15 }, "end": { - "line": 361, + "line": 362, "column": 16 } } @@ -43175,15 +43027,15 @@ "updateContext": null }, "value": 0, - "start": 8288, - "end": 8289, + "start": 8357, + "end": 8358, "loc": { "start": { - "line": 361, + "line": 362, "column": 17 }, "end": { - "line": 361, + "line": 362, "column": 18 } } @@ -43201,15 +43053,15 @@ "binop": null, "updateContext": null }, - "start": 8289, - "end": 8290, + "start": 8358, + "end": 8359, "loc": { "start": { - "line": 361, + "line": 362, "column": 18 }, "end": { - "line": 361, + "line": 362, "column": 19 } } @@ -43227,15 +43079,15 @@ "binop": null }, "value": "i", - "start": 8291, - "end": 8292, + "start": 8360, + "end": 8361, "loc": { "start": { - "line": 361, + "line": 362, "column": 20 }, "end": { - "line": 361, + "line": 362, "column": 21 } } @@ -43254,15 +43106,15 @@ "updateContext": null }, "value": "<", - "start": 8293, - "end": 8294, + "start": 8362, + "end": 8363, "loc": { "start": { - "line": 361, + "line": 362, "column": 22 }, "end": { - "line": 361, + "line": 362, "column": 23 } } @@ -43280,15 +43132,15 @@ "binop": null }, "value": "significantDigits", - "start": 8295, - "end": 8312, + "start": 8364, + "end": 8381, "loc": { "start": { - "line": 361, + "line": 362, "column": 24 }, "end": { - "line": 361, + "line": 362, "column": 41 } } @@ -43306,15 +43158,15 @@ "binop": null, "updateContext": null }, - "start": 8312, - "end": 8313, + "start": 8381, + "end": 8382, "loc": { "start": { - "line": 361, + "line": 362, "column": 41 }, "end": { - "line": 361, + "line": 362, "column": 42 } } @@ -43332,15 +43184,15 @@ "binop": null }, "value": "length", - "start": 8313, - "end": 8319, + "start": 8382, + "end": 8388, "loc": { "start": { - "line": 361, + "line": 362, "column": 42 }, "end": { - "line": 361, + "line": 362, "column": 48 } } @@ -43358,15 +43210,15 @@ "binop": null, "updateContext": null }, - "start": 8319, - "end": 8320, + "start": 8388, + "end": 8389, "loc": { "start": { - "line": 361, + "line": 362, "column": 48 }, "end": { - "line": 361, + "line": 362, "column": 49 } } @@ -43384,15 +43236,15 @@ "binop": null }, "value": "i", - "start": 8321, - "end": 8322, + "start": 8390, + "end": 8391, "loc": { "start": { - "line": 361, + "line": 362, "column": 50 }, "end": { - "line": 361, + "line": 362, "column": 51 } } @@ -43411,15 +43263,15 @@ "updateContext": null }, "value": "+=", - "start": 8323, - "end": 8325, + "start": 8392, + "end": 8394, "loc": { "start": { - "line": 361, + "line": 362, "column": 52 }, "end": { - "line": 361, + "line": 362, "column": 54 } } @@ -43438,15 +43290,15 @@ "updateContext": null }, "value": 1, - "start": 8326, - "end": 8327, + "start": 8395, + "end": 8396, "loc": { "start": { - "line": 361, + "line": 362, "column": 55 }, "end": { - "line": 361, + "line": 362, "column": 56 } } @@ -43463,15 +43315,15 @@ "postfix": false, "binop": null }, - "start": 8327, - "end": 8328, + "start": 8396, + "end": 8397, "loc": { "start": { - "line": 361, + "line": 362, "column": 56 }, "end": { - "line": 361, + "line": 362, "column": 57 } } @@ -43488,15 +43340,15 @@ "postfix": false, "binop": null }, - "start": 8329, - "end": 8330, + "start": 8398, + "end": 8399, "loc": { "start": { - "line": 361, + "line": 362, "column": 58 }, "end": { - "line": 361, + "line": 362, "column": 59 } } @@ -43516,15 +43368,15 @@ "updateContext": null }, "value": "if", - "start": 8337, - "end": 8339, + "start": 8406, + "end": 8408, "loc": { "start": { - "line": 362, + "line": 363, "column": 6 }, "end": { - "line": 362, + "line": 363, "column": 8 } } @@ -43541,15 +43393,15 @@ "postfix": false, "binop": null }, - "start": 8340, - "end": 8341, + "start": 8409, + "end": 8410, "loc": { "start": { - "line": 362, + "line": 363, "column": 9 }, "end": { - "line": 362, + "line": 363, "column": 10 } } @@ -43567,15 +43419,15 @@ "binop": null }, "value": "significantDigits", - "start": 8341, - "end": 8358, + "start": 8410, + "end": 8427, "loc": { "start": { - "line": 362, + "line": 363, "column": 10 }, "end": { - "line": 362, + "line": 363, "column": 27 } } @@ -43593,15 +43445,15 @@ "binop": null, "updateContext": null }, - "start": 8358, - "end": 8359, + "start": 8427, + "end": 8428, "loc": { "start": { - "line": 362, + "line": 363, "column": 27 }, "end": { - "line": 362, + "line": 363, "column": 28 } } @@ -43619,15 +43471,15 @@ "binop": null }, "value": "i", - "start": 8359, - "end": 8360, + "start": 8428, + "end": 8429, "loc": { "start": { - "line": 362, + "line": 363, "column": 28 }, "end": { - "line": 362, + "line": 363, "column": 29 } } @@ -43645,15 +43497,15 @@ "binop": null, "updateContext": null }, - "start": 8360, - "end": 8361, + "start": 8429, + "end": 8430, "loc": { "start": { - "line": 362, + "line": 363, "column": 29 }, "end": { - "line": 362, + "line": 363, "column": 30 } } @@ -43672,15 +43524,15 @@ "updateContext": null }, "value": "===", - "start": 8362, - "end": 8365, + "start": 8431, + "end": 8434, "loc": { "start": { - "line": 362, + "line": 363, "column": 31 }, "end": { - "line": 362, + "line": 363, "column": 34 } } @@ -43698,15 +43550,15 @@ "binop": null }, "value": "undefined", - "start": 8366, - "end": 8375, + "start": 8435, + "end": 8444, "loc": { "start": { - "line": 362, + "line": 363, "column": 35 }, "end": { - "line": 362, + "line": 363, "column": 44 } } @@ -43723,15 +43575,15 @@ "postfix": false, "binop": null }, - "start": 8375, - "end": 8376, + "start": 8444, + "end": 8445, "loc": { "start": { - "line": 362, + "line": 363, "column": 44 }, "end": { - "line": 362, + "line": 363, "column": 45 } } @@ -43748,15 +43600,15 @@ "postfix": false, "binop": null }, - "start": 8377, - "end": 8378, + "start": 8446, + "end": 8447, "loc": { "start": { - "line": 362, + "line": 363, "column": 46 }, "end": { - "line": 362, + "line": 363, "column": 47 } } @@ -43774,15 +43626,15 @@ "binop": null }, "value": "significantDigits", - "start": 8387, - "end": 8404, + "start": 8456, + "end": 8473, "loc": { "start": { - "line": 363, + "line": 364, "column": 8 }, "end": { - "line": 363, + "line": 364, "column": 25 } } @@ -43800,15 +43652,15 @@ "binop": null, "updateContext": null }, - "start": 8404, - "end": 8405, + "start": 8473, + "end": 8474, "loc": { "start": { - "line": 363, + "line": 364, "column": 25 }, "end": { - "line": 363, + "line": 364, "column": 26 } } @@ -43826,15 +43678,15 @@ "binop": null }, "value": "i", - "start": 8405, - "end": 8406, + "start": 8474, + "end": 8475, "loc": { "start": { - "line": 363, + "line": 364, "column": 26 }, "end": { - "line": 363, + "line": 364, "column": 27 } } @@ -43852,15 +43704,15 @@ "binop": null, "updateContext": null }, - "start": 8406, - "end": 8407, + "start": 8475, + "end": 8476, "loc": { "start": { - "line": 363, + "line": 364, "column": 27 }, "end": { - "line": 363, + "line": 364, "column": 28 } } @@ -43879,15 +43731,15 @@ "updateContext": null }, "value": "=", - "start": 8408, - "end": 8409, + "start": 8477, + "end": 8478, "loc": { "start": { - "line": 363, + "line": 364, "column": 29 }, "end": { - "line": 363, + "line": 364, "column": 30 } } @@ -43906,42 +43758,16 @@ "updateContext": null }, "value": "0", - "start": 8410, - "end": 8413, + "start": 8479, + "end": 8482, "loc": { "start": { - "line": 363, + "line": 364, "column": 31 }, "end": { - "line": 363, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8413, - "end": 8414, - "loc": { - "start": { - "line": 363, + "line": 364, "column": 34 - }, - "end": { - "line": 363, - "column": 35 } } }, @@ -43957,15 +43783,15 @@ "postfix": false, "binop": null }, - "start": 8421, - "end": 8422, + "start": 8489, + "end": 8490, "loc": { "start": { - "line": 364, + "line": 365, "column": 6 }, "end": { - "line": 364, + "line": 365, "column": 7 } } @@ -43982,15 +43808,15 @@ "postfix": false, "binop": null }, - "start": 8427, - "end": 8428, + "start": 8495, + "end": 8496, "loc": { "start": { - "line": 365, + "line": 366, "column": 4 }, "end": { - "line": 365, + "line": 366, "column": 5 } } @@ -44010,15 +43836,15 @@ "updateContext": null }, "value": "const", - "start": 8434, - "end": 8439, + "start": 8502, + "end": 8507, "loc": { "start": { - "line": 367, + "line": 368, "column": 4 }, "end": { - "line": 367, + "line": 368, "column": 9 } } @@ -44036,15 +43862,15 @@ "binop": null }, "value": "dateLength", - "start": 8440, - "end": 8450, + "start": 8508, + "end": 8518, "loc": { "start": { - "line": 367, + "line": 368, "column": 10 }, "end": { - "line": 367, + "line": 368, "column": 20 } } @@ -44063,15 +43889,15 @@ "updateContext": null }, "value": "=", - "start": 8451, - "end": 8452, + "start": 8519, + "end": 8520, "loc": { "start": { - "line": 367, + "line": 368, "column": 21 }, "end": { - "line": 367, + "line": 368, "column": 22 } } @@ -44089,15 +43915,15 @@ "binop": null }, "value": "significantDigits", - "start": 8453, - "end": 8470, + "start": 8521, + "end": 8538, "loc": { "start": { - "line": 367, + "line": 368, "column": 23 }, "end": { - "line": 367, + "line": 368, "column": 40 } } @@ -44115,15 +43941,15 @@ "binop": null, "updateContext": null }, - "start": 8470, - "end": 8471, + "start": 8538, + "end": 8539, "loc": { "start": { - "line": 367, + "line": 368, "column": 40 }, "end": { - "line": 367, + "line": 368, "column": 41 } } @@ -44141,42 +43967,16 @@ "binop": null }, "value": "length", - "start": 8471, - "end": 8477, + "start": 8539, + "end": 8545, "loc": { "start": { - "line": 367, + "line": 368, "column": 41 }, "end": { - "line": 367, - "column": 47 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8477, - "end": 8478, - "loc": { - "start": { - "line": 367, + "line": 368, "column": 47 - }, - "end": { - "line": 367, - "column": 48 } } }, @@ -44195,15 +43995,15 @@ "updateContext": null }, "value": "if", - "start": 8483, - "end": 8485, + "start": 8550, + "end": 8552, "loc": { "start": { - "line": 368, + "line": 369, "column": 4 }, "end": { - "line": 368, + "line": 369, "column": 6 } } @@ -44220,15 +44020,15 @@ "postfix": false, "binop": null }, - "start": 8486, - "end": 8487, + "start": 8553, + "end": 8554, "loc": { "start": { - "line": 368, + "line": 369, "column": 7 }, "end": { - "line": 368, + "line": 369, "column": 8 } } @@ -44246,15 +44046,15 @@ "binop": null }, "value": "dateLength", - "start": 8487, - "end": 8497, + "start": 8554, + "end": 8564, "loc": { "start": { - "line": 368, + "line": 369, "column": 8 }, "end": { - "line": 368, + "line": 369, "column": 18 } } @@ -44273,15 +44073,15 @@ "updateContext": null }, "value": "<", - "start": 8498, - "end": 8499, + "start": 8565, + "end": 8566, "loc": { "start": { - "line": 368, + "line": 369, "column": 19 }, "end": { - "line": 368, + "line": 369, "column": 20 } } @@ -44300,15 +44100,15 @@ "updateContext": null }, "value": 5, - "start": 8500, - "end": 8501, + "start": 8567, + "end": 8568, "loc": { "start": { - "line": 368, + "line": 369, "column": 21 }, "end": { - "line": 368, + "line": 369, "column": 22 } } @@ -44325,15 +44125,15 @@ "postfix": false, "binop": null }, - "start": 8501, - "end": 8502, + "start": 8568, + "end": 8569, "loc": { "start": { - "line": 368, + "line": 369, "column": 22 }, "end": { - "line": 368, + "line": 369, "column": 23 } } @@ -44350,15 +44150,15 @@ "postfix": false, "binop": null }, - "start": 8503, - "end": 8504, + "start": 8570, + "end": 8571, "loc": { "start": { - "line": 368, + "line": 369, "column": 24 }, "end": { - "line": 368, + "line": 369, "column": 25 } } @@ -44376,15 +44176,15 @@ "binop": null }, "value": "significantDigits", - "start": 8511, - "end": 8528, + "start": 8578, + "end": 8595, "loc": { "start": { - "line": 369, + "line": 370, "column": 6 }, "end": { - "line": 369, + "line": 370, "column": 23 } } @@ -44403,15 +44203,15 @@ "updateContext": null }, "value": "=", - "start": 8529, - "end": 8530, + "start": 8596, + "end": 8597, "loc": { "start": { - "line": 369, + "line": 370, "column": 24 }, "end": { - "line": 369, + "line": 370, "column": 25 } } @@ -44429,15 +44229,15 @@ "binop": null }, "value": "significantDigits", - "start": 8531, - "end": 8548, + "start": 8598, + "end": 8615, "loc": { "start": { - "line": 369, + "line": 370, "column": 26 }, "end": { - "line": 369, + "line": 370, "column": 43 } } @@ -44455,15 +44255,15 @@ "binop": null, "updateContext": null }, - "start": 8548, - "end": 8549, + "start": 8615, + "end": 8616, "loc": { "start": { - "line": 369, + "line": 370, "column": 43 }, "end": { - "line": 369, + "line": 370, "column": 44 } } @@ -44481,15 +44281,15 @@ "binop": null }, "value": "reverse", - "start": 8549, - "end": 8556, + "start": 8616, + "end": 8623, "loc": { "start": { - "line": 369, + "line": 370, "column": 44 }, "end": { - "line": 369, + "line": 370, "column": 51 } } @@ -44506,15 +44306,15 @@ "postfix": false, "binop": null }, - "start": 8556, - "end": 8557, + "start": 8623, + "end": 8624, "loc": { "start": { - "line": 369, + "line": 370, "column": 51 }, "end": { - "line": 369, + "line": 370, "column": 52 } } @@ -44531,42 +44331,16 @@ "postfix": false, "binop": null }, - "start": 8557, - "end": 8558, + "start": 8624, + "end": 8625, "loc": { "start": { - "line": 369, + "line": 370, "column": 52 }, "end": { - "line": 369, - "column": 53 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8558, - "end": 8559, - "loc": { - "start": { - "line": 369, + "line": 370, "column": 53 - }, - "end": { - "line": 369, - "column": 54 } } }, @@ -44585,15 +44359,15 @@ "updateContext": null }, "value": "for", - "start": 8566, - "end": 8569, + "start": 8632, + "end": 8635, "loc": { "start": { - "line": 370, + "line": 371, "column": 6 }, "end": { - "line": 370, + "line": 371, "column": 9 } } @@ -44610,15 +44384,15 @@ "postfix": false, "binop": null }, - "start": 8570, - "end": 8571, + "start": 8636, + "end": 8637, "loc": { "start": { - "line": 370, + "line": 371, "column": 10 }, "end": { - "line": 370, + "line": 371, "column": 11 } } @@ -44638,15 +44412,15 @@ "updateContext": null }, "value": "let", - "start": 8571, - "end": 8574, + "start": 8637, + "end": 8640, "loc": { "start": { - "line": 370, + "line": 371, "column": 11 }, "end": { - "line": 370, + "line": 371, "column": 14 } } @@ -44664,15 +44438,15 @@ "binop": null }, "value": "i", - "start": 8575, - "end": 8576, + "start": 8641, + "end": 8642, "loc": { "start": { - "line": 370, + "line": 371, "column": 15 }, "end": { - "line": 370, + "line": 371, "column": 16 } } @@ -44691,15 +44465,15 @@ "updateContext": null }, "value": "=", - "start": 8577, - "end": 8578, + "start": 8643, + "end": 8644, "loc": { "start": { - "line": 370, + "line": 371, "column": 17 }, "end": { - "line": 370, + "line": 371, "column": 18 } } @@ -44718,15 +44492,15 @@ "updateContext": null }, "value": 0, - "start": 8579, - "end": 8580, + "start": 8645, + "end": 8646, "loc": { "start": { - "line": 370, + "line": 371, "column": 19 }, "end": { - "line": 370, + "line": 371, "column": 20 } } @@ -44744,15 +44518,15 @@ "binop": null, "updateContext": null }, - "start": 8580, - "end": 8581, + "start": 8646, + "end": 8647, "loc": { "start": { - "line": 370, + "line": 371, "column": 20 }, "end": { - "line": 370, + "line": 371, "column": 21 } } @@ -44770,15 +44544,15 @@ "binop": null }, "value": "i", - "start": 8582, - "end": 8583, + "start": 8648, + "end": 8649, "loc": { "start": { - "line": 370, + "line": 371, "column": 22 }, "end": { - "line": 370, + "line": 371, "column": 23 } } @@ -44797,15 +44571,15 @@ "updateContext": null }, "value": "<", - "start": 8584, - "end": 8585, + "start": 8650, + "end": 8651, "loc": { "start": { - "line": 370, + "line": 371, "column": 24 }, "end": { - "line": 370, + "line": 371, "column": 25 } } @@ -44824,15 +44598,15 @@ "updateContext": null }, "value": 5, - "start": 8586, - "end": 8587, + "start": 8652, + "end": 8653, "loc": { "start": { - "line": 370, + "line": 371, "column": 26 }, "end": { - "line": 370, + "line": 371, "column": 27 } } @@ -44851,15 +44625,15 @@ "updateContext": null }, "value": "-", - "start": 8588, - "end": 8589, + "start": 8654, + "end": 8655, "loc": { "start": { - "line": 370, + "line": 371, "column": 28 }, "end": { - "line": 370, + "line": 371, "column": 29 } } @@ -44877,15 +44651,15 @@ "binop": null }, "value": "dateLength", - "start": 8590, - "end": 8600, + "start": 8656, + "end": 8666, "loc": { "start": { - "line": 370, + "line": 371, "column": 30 }, "end": { - "line": 370, + "line": 371, "column": 40 } } @@ -44903,15 +44677,15 @@ "binop": null, "updateContext": null }, - "start": 8600, - "end": 8601, + "start": 8666, + "end": 8667, "loc": { "start": { - "line": 370, + "line": 371, "column": 40 }, "end": { - "line": 370, + "line": 371, "column": 41 } } @@ -44929,15 +44703,15 @@ "binop": null }, "value": "i", - "start": 8602, - "end": 8603, + "start": 8668, + "end": 8669, "loc": { "start": { - "line": 370, + "line": 371, "column": 42 }, "end": { - "line": 370, + "line": 371, "column": 43 } } @@ -44956,15 +44730,15 @@ "updateContext": null }, "value": "+=", - "start": 8604, - "end": 8606, + "start": 8670, + "end": 8672, "loc": { "start": { - "line": 370, + "line": 371, "column": 44 }, "end": { - "line": 370, + "line": 371, "column": 46 } } @@ -44983,15 +44757,15 @@ "updateContext": null }, "value": 1, - "start": 8607, - "end": 8608, + "start": 8673, + "end": 8674, "loc": { "start": { - "line": 370, + "line": 371, "column": 47 }, "end": { - "line": 370, + "line": 371, "column": 48 } } @@ -45008,15 +44782,15 @@ "postfix": false, "binop": null }, - "start": 8608, - "end": 8609, + "start": 8674, + "end": 8675, "loc": { "start": { - "line": 370, + "line": 371, "column": 48 }, "end": { - "line": 370, + "line": 371, "column": 49 } } @@ -45033,15 +44807,15 @@ "postfix": false, "binop": null }, - "start": 8610, - "end": 8611, + "start": 8676, + "end": 8677, "loc": { "start": { - "line": 370, + "line": 371, "column": 50 }, "end": { - "line": 370, + "line": 371, "column": 51 } } @@ -45059,15 +44833,15 @@ "binop": null }, "value": "significantDigits", - "start": 8620, - "end": 8637, + "start": 8686, + "end": 8703, "loc": { "start": { - "line": 371, + "line": 372, "column": 8 }, "end": { - "line": 371, + "line": 372, "column": 25 } } @@ -45085,15 +44859,15 @@ "binop": null, "updateContext": null }, - "start": 8637, - "end": 8638, + "start": 8703, + "end": 8704, "loc": { "start": { - "line": 371, + "line": 372, "column": 25 }, "end": { - "line": 371, + "line": 372, "column": 26 } } @@ -45111,15 +44885,15 @@ "binop": null }, "value": "push", - "start": 8638, - "end": 8642, + "start": 8704, + "end": 8708, "loc": { "start": { - "line": 371, + "line": 372, "column": 26 }, "end": { - "line": 371, + "line": 372, "column": 30 } } @@ -45136,15 +44910,15 @@ "postfix": false, "binop": null }, - "start": 8642, - "end": 8643, + "start": 8708, + "end": 8709, "loc": { "start": { - "line": 371, + "line": 372, "column": 30 }, "end": { - "line": 371, + "line": 372, "column": 31 } } @@ -45163,15 +44937,15 @@ "updateContext": null }, "value": " 0", - "start": 8643, - "end": 8647, + "start": 8709, + "end": 8713, "loc": { "start": { - "line": 371, + "line": 372, "column": 31 }, "end": { - "line": 371, + "line": 372, "column": 35 } } @@ -45188,42 +44962,16 @@ "postfix": false, "binop": null }, - "start": 8647, - "end": 8648, + "start": 8713, + "end": 8714, "loc": { "start": { - "line": 371, + "line": 372, "column": 35 }, "end": { - "line": 371, - "column": 36 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8648, - "end": 8649, - "loc": { - "start": { - "line": 371, + "line": 372, "column": 36 - }, - "end": { - "line": 371, - "column": 37 } } }, @@ -45239,15 +44987,15 @@ "postfix": false, "binop": null }, - "start": 8656, - "end": 8657, + "start": 8721, + "end": 8722, "loc": { "start": { - "line": 372, + "line": 373, "column": 6 }, "end": { - "line": 372, + "line": 373, "column": 7 } } @@ -45265,15 +45013,15 @@ "binop": null }, "value": "significantDigits", - "start": 8664, - "end": 8681, + "start": 8729, + "end": 8746, "loc": { "start": { - "line": 373, + "line": 374, "column": 6 }, "end": { - "line": 373, + "line": 374, "column": 23 } } @@ -45292,15 +45040,15 @@ "updateContext": null }, "value": "=", - "start": 8682, - "end": 8683, + "start": 8747, + "end": 8748, "loc": { "start": { - "line": 373, + "line": 374, "column": 24 }, "end": { - "line": 373, + "line": 374, "column": 25 } } @@ -45318,15 +45066,15 @@ "binop": null }, "value": "significantDigits", - "start": 8684, - "end": 8701, + "start": 8749, + "end": 8766, "loc": { "start": { - "line": 373, + "line": 374, "column": 26 }, "end": { - "line": 373, + "line": 374, "column": 43 } } @@ -45344,15 +45092,15 @@ "binop": null, "updateContext": null }, - "start": 8701, - "end": 8702, + "start": 8766, + "end": 8767, "loc": { "start": { - "line": 373, + "line": 374, "column": 43 }, "end": { - "line": 373, + "line": 374, "column": 44 } } @@ -45370,15 +45118,15 @@ "binop": null }, "value": "reverse", - "start": 8702, - "end": 8709, + "start": 8767, + "end": 8774, "loc": { "start": { - "line": 373, + "line": 374, "column": 44 }, "end": { - "line": 373, + "line": 374, "column": 51 } } @@ -45395,15 +45143,15 @@ "postfix": false, "binop": null }, - "start": 8709, - "end": 8710, + "start": 8774, + "end": 8775, "loc": { "start": { - "line": 373, + "line": 374, "column": 51 }, "end": { - "line": 373, + "line": 374, "column": 52 } } @@ -45420,42 +45168,16 @@ "postfix": false, "binop": null }, - "start": 8710, - "end": 8711, + "start": 8775, + "end": 8776, "loc": { "start": { - "line": 373, + "line": 374, "column": 52 }, "end": { - "line": 373, - "column": 53 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8711, - "end": 8712, - "loc": { - "start": { - "line": 373, + "line": 374, "column": 53 - }, - "end": { - "line": 373, - "column": 54 } } }, @@ -45471,15 +45193,15 @@ "postfix": false, "binop": null }, - "start": 8717, - "end": 8718, + "start": 8781, + "end": 8782, "loc": { "start": { - "line": 374, + "line": 375, "column": 4 }, "end": { - "line": 374, + "line": 375, "column": 5 } } @@ -45499,15 +45221,15 @@ "updateContext": null }, "value": "for", - "start": 8724, - "end": 8727, + "start": 8788, + "end": 8791, "loc": { "start": { - "line": 376, + "line": 377, "column": 4 }, "end": { - "line": 376, + "line": 377, "column": 7 } } @@ -45524,15 +45246,15 @@ "postfix": false, "binop": null }, - "start": 8728, - "end": 8729, + "start": 8792, + "end": 8793, "loc": { "start": { - "line": 376, + "line": 377, "column": 8 }, "end": { - "line": 376, + "line": 377, "column": 9 } } @@ -45552,15 +45274,15 @@ "updateContext": null }, "value": "let", - "start": 8729, - "end": 8732, + "start": 8793, + "end": 8796, "loc": { "start": { - "line": 376, + "line": 377, "column": 9 }, "end": { - "line": 376, + "line": 377, "column": 12 } } @@ -45578,15 +45300,15 @@ "binop": null }, "value": "i", - "start": 8733, - "end": 8734, + "start": 8797, + "end": 8798, "loc": { "start": { - "line": 376, + "line": 377, "column": 13 }, "end": { - "line": 376, + "line": 377, "column": 14 } } @@ -45605,15 +45327,15 @@ "updateContext": null }, "value": "=", - "start": 8735, - "end": 8736, + "start": 8799, + "end": 8800, "loc": { "start": { - "line": 376, + "line": 377, "column": 15 }, "end": { - "line": 376, + "line": 377, "column": 16 } } @@ -45632,15 +45354,15 @@ "updateContext": null }, "value": 0, - "start": 8737, - "end": 8738, + "start": 8801, + "end": 8802, "loc": { "start": { - "line": 376, + "line": 377, "column": 17 }, "end": { - "line": 376, + "line": 377, "column": 18 } } @@ -45658,15 +45380,15 @@ "binop": null, "updateContext": null }, - "start": 8738, - "end": 8739, + "start": 8802, + "end": 8803, "loc": { "start": { - "line": 376, + "line": 377, "column": 18 }, "end": { - "line": 376, + "line": 377, "column": 19 } } @@ -45684,15 +45406,15 @@ "binop": null }, "value": "i", - "start": 8740, - "end": 8741, + "start": 8804, + "end": 8805, "loc": { "start": { - "line": 376, + "line": 377, "column": 20 }, "end": { - "line": 376, + "line": 377, "column": 21 } } @@ -45711,15 +45433,15 @@ "updateContext": null }, "value": "<", - "start": 8742, - "end": 8743, + "start": 8806, + "end": 8807, "loc": { "start": { - "line": 376, + "line": 377, "column": 22 }, "end": { - "line": 376, + "line": 377, "column": 23 } } @@ -45737,15 +45459,15 @@ "binop": null }, "value": "significantDigits", - "start": 8744, - "end": 8761, + "start": 8808, + "end": 8825, "loc": { "start": { - "line": 376, + "line": 377, "column": 24 }, "end": { - "line": 376, + "line": 377, "column": 41 } } @@ -45763,15 +45485,15 @@ "binop": null, "updateContext": null }, - "start": 8761, - "end": 8762, + "start": 8825, + "end": 8826, "loc": { "start": { - "line": 376, + "line": 377, "column": 41 }, "end": { - "line": 376, + "line": 377, "column": 42 } } @@ -45789,15 +45511,15 @@ "binop": null }, "value": "length", - "start": 8762, - "end": 8768, + "start": 8826, + "end": 8832, "loc": { "start": { - "line": 376, + "line": 377, "column": 42 }, "end": { - "line": 376, + "line": 377, "column": 48 } } @@ -45815,15 +45537,15 @@ "binop": null, "updateContext": null }, - "start": 8768, - "end": 8769, + "start": 8832, + "end": 8833, "loc": { "start": { - "line": 376, + "line": 377, "column": 48 }, "end": { - "line": 376, + "line": 377, "column": 49 } } @@ -45841,15 +45563,15 @@ "binop": null }, "value": "i", - "start": 8770, - "end": 8771, + "start": 8834, + "end": 8835, "loc": { "start": { - "line": 376, + "line": 377, "column": 50 }, "end": { - "line": 376, + "line": 377, "column": 51 } } @@ -45868,15 +45590,15 @@ "updateContext": null }, "value": "+=", - "start": 8772, - "end": 8774, + "start": 8836, + "end": 8838, "loc": { "start": { - "line": 376, + "line": 377, "column": 52 }, "end": { - "line": 376, + "line": 377, "column": 54 } } @@ -45895,15 +45617,15 @@ "updateContext": null }, "value": 1, - "start": 8775, - "end": 8776, + "start": 8839, + "end": 8840, "loc": { "start": { - "line": 376, + "line": 377, "column": 55 }, "end": { - "line": 376, + "line": 377, "column": 56 } } @@ -45920,15 +45642,15 @@ "postfix": false, "binop": null }, - "start": 8776, - "end": 8777, + "start": 8840, + "end": 8841, "loc": { "start": { - "line": 376, + "line": 377, "column": 56 }, "end": { - "line": 376, + "line": 377, "column": 57 } } @@ -45945,15 +45667,15 @@ "postfix": false, "binop": null }, - "start": 8778, - "end": 8779, + "start": 8842, + "end": 8843, "loc": { "start": { - "line": 376, + "line": 377, "column": 58 }, "end": { - "line": 376, + "line": 377, "column": 59 } } @@ -45973,15 +45695,15 @@ "updateContext": null }, "value": "const", - "start": 8786, - "end": 8791, + "start": 8850, + "end": 8855, "loc": { "start": { - "line": 377, + "line": 378, "column": 6 }, "end": { - "line": 377, + "line": 378, "column": 11 } } @@ -45999,15 +45721,15 @@ "binop": null }, "value": "part", - "start": 8792, - "end": 8796, + "start": 8856, + "end": 8860, "loc": { "start": { - "line": 377, + "line": 378, "column": 12 }, "end": { - "line": 377, + "line": 378, "column": 16 } } @@ -46026,15 +45748,15 @@ "updateContext": null }, "value": "=", - "start": 8797, - "end": 8798, + "start": 8861, + "end": 8862, "loc": { "start": { - "line": 377, + "line": 378, "column": 17 }, "end": { - "line": 377, + "line": 378, "column": 18 } } @@ -46052,15 +45774,15 @@ "binop": null }, "value": "significantDigits", - "start": 8799, - "end": 8816, + "start": 8863, + "end": 8880, "loc": { "start": { - "line": 377, + "line": 378, "column": 19 }, "end": { - "line": 377, + "line": 378, "column": 36 } } @@ -46078,15 +45800,15 @@ "binop": null, "updateContext": null }, - "start": 8816, - "end": 8817, + "start": 8880, + "end": 8881, "loc": { "start": { - "line": 377, + "line": 378, "column": 36 }, "end": { - "line": 377, + "line": 378, "column": 37 } } @@ -46104,15 +45826,15 @@ "binop": null }, "value": "i", - "start": 8817, - "end": 8818, + "start": 8881, + "end": 8882, "loc": { "start": { - "line": 377, + "line": 378, "column": 37 }, "end": { - "line": 377, + "line": 378, "column": 38 } } @@ -46130,15 +45852,15 @@ "binop": null, "updateContext": null }, - "start": 8818, - "end": 8819, + "start": 8882, + "end": 8883, "loc": { "start": { - "line": 377, + "line": 378, "column": 38 }, "end": { - "line": 377, + "line": 378, "column": 39 } } @@ -46156,15 +45878,15 @@ "binop": null, "updateContext": null }, - "start": 8819, - "end": 8820, + "start": 8883, + "end": 8884, "loc": { "start": { - "line": 377, + "line": 378, "column": 39 }, "end": { - "line": 377, + "line": 378, "column": 40 } } @@ -46182,15 +45904,15 @@ "binop": null }, "value": "toString", - "start": 8820, - "end": 8828, + "start": 8884, + "end": 8892, "loc": { "start": { - "line": 377, + "line": 378, "column": 40 }, "end": { - "line": 377, + "line": 378, "column": 48 } } @@ -46207,15 +45929,15 @@ "postfix": false, "binop": null }, - "start": 8828, - "end": 8829, + "start": 8892, + "end": 8893, "loc": { "start": { - "line": 377, + "line": 378, "column": 48 }, "end": { - "line": 377, + "line": 378, "column": 49 } } @@ -46232,42 +45954,16 @@ "postfix": false, "binop": null }, - "start": 8829, - "end": 8830, + "start": 8893, + "end": 8894, "loc": { "start": { - "line": 377, + "line": 378, "column": 49 }, "end": { - "line": 377, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8830, - "end": 8831, - "loc": { - "start": { - "line": 377, + "line": 378, "column": 50 - }, - "end": { - "line": 377, - "column": 51 } } }, @@ -46286,15 +45982,15 @@ "updateContext": null }, "value": "if", - "start": 8838, - "end": 8840, + "start": 8901, + "end": 8903, "loc": { "start": { - "line": 378, + "line": 379, "column": 6 }, "end": { - "line": 378, + "line": 379, "column": 8 } } @@ -46311,15 +46007,15 @@ "postfix": false, "binop": null }, - "start": 8841, - "end": 8842, + "start": 8904, + "end": 8905, "loc": { "start": { - "line": 378, + "line": 379, "column": 9 }, "end": { - "line": 378, + "line": 379, "column": 10 } } @@ -46337,15 +46033,15 @@ "binop": null }, "value": "part", - "start": 8842, - "end": 8846, + "start": 8905, + "end": 8909, "loc": { "start": { - "line": 378, + "line": 379, "column": 10 }, "end": { - "line": 378, + "line": 379, "column": 14 } } @@ -46363,15 +46059,15 @@ "binop": null, "updateContext": null }, - "start": 8846, - "end": 8847, + "start": 8909, + "end": 8910, "loc": { "start": { - "line": 378, + "line": 379, "column": 14 }, "end": { - "line": 378, + "line": 379, "column": 15 } } @@ -46389,15 +46085,15 @@ "binop": null }, "value": "length", - "start": 8847, - "end": 8853, + "start": 8910, + "end": 8916, "loc": { "start": { - "line": 378, + "line": 379, "column": 15 }, "end": { - "line": 378, + "line": 379, "column": 21 } } @@ -46412,28 +46108,364 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, - "updateContext": null + "binop": 7, + "updateContext": null + }, + "value": "<", + "start": 8917, + "end": 8918, + "loc": { + "start": { + "line": 379, + "column": 22 + }, + "end": { + "line": 379, + "column": 23 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 2, + "start": 8919, + "end": 8920, + "loc": { + "start": { + "line": 379, + "column": 24 + }, + "end": { + "line": 379, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8920, + "end": 8921, + "loc": { + "start": { + "line": 379, + "column": 25 + }, + "end": { + "line": 379, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8922, + "end": 8923, + "loc": { + "start": { + "line": 379, + "column": 27 + }, + "end": { + "line": 379, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "significantDigits", + "start": 8932, + "end": 8949, + "loc": { + "start": { + "line": 380, + "column": 8 + }, + "end": { + "line": 380, + "column": 25 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8949, + "end": 8950, + "loc": { + "start": { + "line": 380, + "column": 25 + }, + "end": { + "line": 380, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 8950, + "end": 8951, + "loc": { + "start": { + "line": 380, + "column": 26 + }, + "end": { + "line": 380, + "column": 27 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 8951, + "end": 8952, + "loc": { + "start": { + "line": 380, + "column": 27 + }, + "end": { + "line": 380, + "column": 28 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 8953, + "end": 8954, + "loc": { + "start": { + "line": 380, + "column": 29 + }, + "end": { + "line": 380, + "column": 30 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8955, + "end": 8956, + "loc": { + "start": { + "line": 380, + "column": 31 + }, + "end": { + "line": 380, + "column": 32 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": " ", + "start": 8956, + "end": 8957, + "loc": { + "start": { + "line": 380, + "column": 32 + }, + "end": { + "line": 380, + "column": 33 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 8957, + "end": 8959, + "loc": { + "start": { + "line": 380, + "column": 33 + }, + "end": { + "line": 380, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "part", + "start": 8959, + "end": 8963, + "loc": { + "start": { + "line": 380, + "column": 35 + }, + "end": { + "line": 380, + "column": 39 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null }, - "value": "<", - "start": 8854, - "end": 8855, + "start": 8963, + "end": 8964, "loc": { "start": { - "line": 378, - "column": 22 + "line": 380, + "column": 39 }, "end": { - "line": 378, - "column": 23 + "line": 380, + "column": 40 } } }, { "type": { - "label": "num", + "label": "template", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46442,25 +46474,25 @@ "binop": null, "updateContext": null }, - "value": 2, - "start": 8856, - "end": 8857, + "value": "", + "start": 8964, + "end": 8964, "loc": { "start": { - "line": 378, - "column": 24 + "line": 380, + "column": 40 }, "end": { - "line": 378, - "column": 25 + "line": 380, + "column": 40 } } }, { "type": { - "label": ")", + "label": "`", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46468,24 +46500,24 @@ "postfix": false, "binop": null }, - "start": 8857, - "end": 8858, + "start": 8964, + "end": 8965, "loc": { "start": { - "line": 378, - "column": 25 + "line": 380, + "column": 40 }, "end": { - "line": 378, - "column": 26 + "line": 380, + "column": 41 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46493,24 +46525,24 @@ "postfix": false, "binop": null }, - "start": 8859, - "end": 8860, + "start": 8972, + "end": 8973, "loc": { "start": { - "line": 378, - "column": 27 + "line": 381, + "column": 6 }, "end": { - "line": 378, - "column": 28 + "line": 381, + "column": 7 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46518,25 +46550,25 @@ "postfix": false, "binop": null }, - "value": "significantDigits", - "start": 8869, - "end": 8886, + "start": 8978, + "end": 8979, "loc": { "start": { - "line": 379, - "column": 8 + "line": 382, + "column": 4 }, "end": { - "line": 379, - "column": 25 + "line": 382, + "column": 5 } } }, { "type": { - "label": "[", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46545,22 +46577,23 @@ "binop": null, "updateContext": null }, - "start": 8886, - "end": 8887, + "value": "return", + "start": 8984, + "end": 8990, "loc": { "start": { - "line": 379, - "column": 25 + "line": 383, + "column": 4 }, "end": { - "line": 379, - "column": 26 + "line": 383, + "column": 10 } } }, { "type": { - "label": "name", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -46570,23 +46603,22 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 8887, - "end": 8888, + "start": 8991, + "end": 8992, "loc": { "start": { - "line": 379, - "column": 26 + "line": 383, + "column": 11 }, "end": { - "line": 379, - "column": 27 + "line": 383, + "column": 12 } } }, { "type": { - "label": "]", + "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -46597,50 +46629,24 @@ "binop": null, "updateContext": null }, - "start": 8888, - "end": 8889, + "value": "", + "start": 8992, + "end": 8992, "loc": { "start": { - "line": 379, - "column": 27 + "line": 383, + "column": 12 }, "end": { - "line": 379, - "column": 28 + "line": 383, + "column": 12 } } }, { "type": { - "label": "=", + "label": "${", "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 8890, - "end": 8891, - "loc": { - "start": { - "line": 379, - "column": 29 - }, - "end": { - "line": 379, - "column": 30 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -46649,24 +46655,25 @@ "postfix": false, "binop": null }, - "start": 8892, - "end": 8893, + "start": 8992, + "end": 8994, "loc": { "start": { - "line": 379, - "column": 31 + "line": 383, + "column": 12 }, "end": { - "line": 379, - "column": 32 + "line": 383, + "column": 14 } } }, { "type": { - "label": "template", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46675,42 +46682,43 @@ "binop": null, "updateContext": null }, - "value": " ", - "start": 8893, - "end": 8894, + "value": "this", + "start": 8994, + "end": 8998, "loc": { "start": { - "line": 379, - "column": 32 + "line": 383, + "column": 14 }, "end": { - "line": 379, - "column": 33 + "line": 383, + "column": 18 } } }, { "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 8894, - "end": 8896, + "start": 8998, + "end": 8999, "loc": { "start": { - "line": 379, - "column": 33 + "line": 383, + "column": 18 }, "end": { - "line": 379, - "column": 35 + "line": 383, + "column": 19 } } }, @@ -46726,75 +46734,77 @@ "postfix": false, "binop": null }, - "value": "part", - "start": 8896, - "end": 8900, + "value": "sign", + "start": 8999, + "end": 9003, "loc": { "start": { - "line": 379, - "column": 35 + "line": 383, + "column": 19 }, "end": { - "line": 379, - "column": 39 + "line": 383, + "column": 23 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "==/!=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 6, + "updateContext": null }, - "start": 8900, - "end": 8901, + "value": "===", + "start": 9004, + "end": 9007, "loc": { "start": { - "line": 379, - "column": 39 + "line": 383, + "column": 24 }, "end": { - "line": 379, - "column": 40 + "line": 383, + "column": 27 } } }, { "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, - "prefix": false, + "prefix": true, "postfix": false, - "binop": null, + "binop": 9, "updateContext": null }, - "value": "", - "start": 8901, - "end": 8901, + "value": "-", + "start": 9008, + "end": 9009, "loc": { "start": { - "line": 379, - "column": 40 + "line": 383, + "column": 28 }, "end": { - "line": 379, - "column": 40 + "line": 383, + "column": 29 } } }, { "type": { - "label": "`", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -46802,24 +46812,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 8901, - "end": 8902, + "value": 1, + "start": 9009, + "end": 9010, "loc": { "start": { - "line": 379, - "column": 40 + "line": 383, + "column": 29 }, "end": { - "line": 379, - "column": 41 + "line": 383, + "column": 30 } } }, { "type": { - "label": ";", + "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -46830,75 +46842,77 @@ "binop": null, "updateContext": null }, - "start": 8902, - "end": 8903, + "start": 9011, + "end": 9012, "loc": { "start": { - "line": 379, - "column": 41 + "line": 383, + "column": 31 }, "end": { - "line": 379, - "column": 42 + "line": 383, + "column": 32 } } }, { "type": { - "label": "}", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 8910, - "end": 8911, + "value": "-", + "start": 9013, + "end": 9016, "loc": { "start": { - "line": 380, - "column": 6 + "line": 383, + "column": 33 }, "end": { - "line": 380, - "column": 7 + "line": 383, + "column": 36 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 8916, - "end": 8917, + "start": 9017, + "end": 9018, "loc": { "start": { - "line": 381, - "column": 4 + "line": 383, + "column": 37 }, "end": { - "line": 381, - "column": 5 + "line": 383, + "column": 38 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46907,25 +46921,25 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 8922, - "end": 8928, + "value": "", + "start": 9019, + "end": 9021, "loc": { "start": { - "line": 382, - "column": 4 + "line": 383, + "column": 39 }, "end": { - "line": 382, - "column": 10 + "line": 383, + "column": 41 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -46933,23 +46947,22 @@ "postfix": false, "binop": null }, - "value": "significantDigits", - "start": 8929, - "end": 8946, + "start": 9021, + "end": 9022, "loc": { "start": { - "line": 382, - "column": 11 + "line": 383, + "column": 41 }, "end": { - "line": 382, - "column": 28 + "line": 383, + "column": 42 } } }, { "type": { - "label": ".", + "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -46960,23 +46973,24 @@ "binop": null, "updateContext": null }, - "start": 8946, - "end": 8947, + "value": "", + "start": 9022, + "end": 9022, "loc": { "start": { - "line": 382, - "column": 28 + "line": 383, + "column": 42 }, "end": { - "line": 382, - "column": 29 + "line": 383, + "column": 42 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "${", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -46985,24 +46999,23 @@ "postfix": false, "binop": null }, - "value": "join", - "start": 8947, - "end": 8951, + "start": 9022, + "end": 9024, "loc": { "start": { - "line": 382, - "column": 29 + "line": 383, + "column": 42 }, "end": { - "line": 382, - "column": 33 + "line": 383, + "column": 44 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -47011,24 +47024,25 @@ "postfix": false, "binop": null }, - "start": 8951, - "end": 8952, + "value": "significantDigits", + "start": 9024, + "end": 9041, "loc": { "start": { - "line": 382, - "column": 33 + "line": 383, + "column": 44 }, "end": { - "line": 382, - "column": 34 + "line": 383, + "column": 61 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47037,25 +47051,24 @@ "binop": null, "updateContext": null }, - "value": ".", - "start": 8952, - "end": 8955, + "start": 9041, + "end": 9042, "loc": { "start": { - "line": 382, - "column": 34 + "line": 383, + "column": 61 }, "end": { - "line": 382, - "column": 37 + "line": 383, + "column": 62 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47063,73 +47076,75 @@ "postfix": false, "binop": null }, - "start": 8955, - "end": 8956, + "value": "join", + "start": 9042, + "end": 9046, "loc": { "start": { - "line": 382, - "column": 37 + "line": 383, + "column": 62 }, "end": { - "line": 382, - "column": 38 + "line": 383, + "column": 66 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 8956, - "end": 8957, + "start": 9046, + "end": 9047, "loc": { "start": { - "line": 382, - "column": 38 + "line": 383, + "column": 66 }, "end": { - "line": 382, - "column": 39 + "line": 383, + "column": 67 } } }, { "type": { - "label": "}", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 8960, - "end": 8961, + "value": ".", + "start": 9047, + "end": 9050, "loc": { "start": { "line": 383, - "column": 2 + "column": 67 }, "end": { "line": 383, - "column": 3 + "column": 70 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -47139,24 +47154,24 @@ "postfix": false, "binop": null }, - "start": 8962, - "end": 8963, + "start": 9050, + "end": 9051, "loc": { "start": { - "line": 384, - "column": 0 + "line": 383, + "column": 70 }, "end": { - "line": 384, - "column": 1 + "line": 383, + "column": 71 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47164,23 +47179,22 @@ "postfix": false, "binop": null }, - "value": "module", - "start": 8965, - "end": 8971, + "start": 9051, + "end": 9052, "loc": { "start": { - "line": 386, - "column": 0 + "line": 383, + "column": 71 }, "end": { - "line": 386, - "column": 6 + "line": 383, + "column": 72 } } }, { "type": { - "label": ".", + "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -47191,22 +47205,23 @@ "binop": null, "updateContext": null }, - "start": 8971, - "end": 8972, + "value": "", + "start": 9052, + "end": 9052, "loc": { "start": { - "line": 386, - "column": 6 + "line": 383, + "column": 72 }, "end": { - "line": 386, - "column": 7 + "line": 383, + "column": 72 } } }, { "type": { - "label": "name", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -47216,52 +47231,24 @@ "postfix": false, "binop": null }, - "value": "exports", - "start": 8972, - "end": 8979, - "loc": { - "start": { - "line": 386, - "column": 7 - }, - "end": { - "line": 386, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 8980, - "end": 8981, + "start": 9052, + "end": 9053, "loc": { "start": { - "line": 386, - "column": 15 + "line": 383, + "column": 72 }, "end": { - "line": 386, - "column": 16 + "line": 383, + "column": 73 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -47269,43 +47256,41 @@ "postfix": false, "binop": null }, - "value": "DistanceNumber", - "start": 8982, - "end": 8996, + "start": 9056, + "end": 9057, "loc": { "start": { - "line": 386, - "column": 17 + "line": 384, + "column": 2 }, "end": { - "line": 386, - "column": 31 + "line": 384, + "column": 3 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 8996, - "end": 8997, + "start": 9058, + "end": 9059, "loc": { "start": { - "line": 386, - "column": 31 + "line": 385, + "column": 0 }, "end": { - "line": 386, - "column": 32 + "line": 385, + "column": 1 } } }, @@ -47322,15 +47307,15 @@ "binop": null, "updateContext": null }, - "start": 8998, - "end": 8998, + "start": 9060, + "end": 9060, "loc": { "start": { - "line": 387, + "line": 386, "column": 0 }, "end": { - "line": 387, + "line": 386, "column": 0 } } diff --git a/docs/ast/source/lc/index.js.json b/docs/ast/source/lc/index.js.json index 7ff3169..7b40fba 100644 --- a/docs/ast/source/lc/index.js.json +++ b/docs/ast/source/lc/index.js.json @@ -1,179 +1,244 @@ { "type": "File", "start": 0, - "end": 341, + "end": 347, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 16, + "line": 14, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 341, + "end": 347, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 16, + "line": 14, "column": 0 } }, "sourceType": "module", "body": [ { - "type": "VariableDeclaration", - "start": 15, - "end": 57, + "type": "ImportDeclaration", + "start": 0, + "end": 37, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 42 + "line": 1, + "column": 37 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 21, - "end": 56, + "type": "ImportDefaultSpecifier", + "start": 7, + "end": 16, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 41 + "line": 1, + "column": 16 } }, - "id": { + "local": { "type": "Identifier", - "start": 21, - "end": 30, + "start": 7, + "end": 16, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 15 + "line": 1, + "column": 16 }, "identifierName": "LongCount" }, - "name": "LongCount", - "leadingComments": null + "name": "LongCount" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 22, + "end": 36, + "loc": { + "start": { + "line": 1, + "column": 22 }, - "init": { - "type": "CallExpression", - "start": 33, + "end": { + "line": 1, + "column": 36 + } + }, + "extra": { + "rawValue": "./long-count", + "raw": "'./long-count'" + }, + "value": "./long-count" + } + }, + { + "type": "ImportDeclaration", + "start": 38, + "end": 86, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 48 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 45, + "end": 56, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 18 + } + }, + "local": { + "type": "Identifier", + "start": 45, "end": 56, "loc": { "start": { "line": 2, - "column": 18 + "column": 7 }, "end": { "line": 2, - "column": 41 - } - }, - "callee": { - "type": "Identifier", - "start": 33, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 25 - }, - "identifierName": "require" + "column": 18 }, - "name": "require" + "identifierName": "LordOfNight" }, - "arguments": [ - { - "type": "StringLiteral", - "start": 41, - "end": 55, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 40 - } - }, - "extra": { - "rawValue": "./long-count", - "raw": "'./long-count'" - }, - "value": "./long-count" - } - ] - }, - "leadingComments": null + "name": "LordOfNight" + } } ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 62, + "end": 85, + "loc": { + "start": { + "line": 2, + "column": 24 + }, + "end": { + "line": 2, + "column": 47 } + }, + "extra": { + "rawValue": "./night/lord-of-night", + "raw": "'./night/lord-of-night'" + }, + "value": "./night/lord-of-night" + } + }, + { + "type": "ImportDeclaration", + "start": 87, + "end": 127, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 40 } - ], - "trailingComments": [ + }, + "specifiers": [ { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 58, - "end": 72, + "type": "ImportDefaultSpecifier", + "start": 94, + "end": 101, "loc": { "start": { "line": 3, - "column": 0 + "column": 7 }, "end": { "line": 3, "column": 14 } + }, + "local": { + "type": "Identifier", + "start": 94, + "end": 101, + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 14 + }, + "identifierName": "western" + }, + "name": "western" } } - ] + ], + "source": { + "type": "StringLiteral", + "start": 107, + "end": 126, + "loc": { + "start": { + "line": 3, + "column": 20 + }, + "end": { + "line": 3, + "column": 39 + } + }, + "extra": { + "rawValue": "./western/western", + "raw": "'./western/western'" + }, + "value": "./western/western" + } }, { - "type": "VariableDeclaration", - "start": 73, - "end": 126, + "type": "ImportDeclaration", + "start": 128, + "end": 175, "loc": { "start": { "line": 4, @@ -181,501 +246,345 @@ }, "end": { "line": 4, - "column": 53 + "column": 47 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 79, - "end": 125, + "type": "ImportDefaultSpecifier", + "start": 135, + "end": 149, "loc": { "start": { "line": 4, - "column": 6 + "column": 7 }, "end": { "line": 4, - "column": 52 + "column": 21 } }, - "id": { + "local": { "type": "Identifier", - "start": 79, - "end": 90, + "start": 135, + "end": 149, "loc": { "start": { "line": 4, - "column": 6 + "column": 7 }, "end": { "line": 4, - "column": 17 - }, - "identifierName": "LordOfNight" - }, - "name": "LordOfNight", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 93, - "end": 125, - "loc": { - "start": { - "line": 4, - "column": 20 + "column": 21 }, - "end": { - "line": 4, - "column": 52 - } - }, - "callee": { - "type": "Identifier", - "start": 93, - "end": 100, - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 4, - "column": 27 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 101, - "end": 124, - "loc": { - "start": { - "line": 4, - "column": 28 - }, - "end": { - "line": 4, - "column": 51 - } - }, - "extra": { - "rawValue": "./night/lord-of-night", - "raw": "'./night/lord-of-night'" - }, - "value": "./night/lord-of-night" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 58, - "end": 72, - "loc": { - "start": { - "line": 3, - "column": 0 + "identifierName": "DistanceNumber" }, - "end": { - "line": 3, - "column": 14 - } + "name": "DistanceNumber" } } ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 127, - "end": 141, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 155, + "end": 174, + "loc": { + "start": { + "line": 4, + "column": 27 + }, + "end": { + "line": 4, + "column": 46 } - } - ] + }, + "extra": { + "rawValue": "./distance-number", + "raw": "'./distance-number'" + }, + "value": "./distance-number" + } }, { - "type": "VariableDeclaration", - "start": 142, - "end": 185, + "type": "ImportDeclaration", + "start": 176, + "end": 236, "loc": { "start": { - "line": 6, + "line": 5, "column": 0 }, "end": { - "line": 6, - "column": 43 + "line": 5, + "column": 60 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 148, - "end": 184, + "type": "ImportDefaultSpecifier", + "start": 183, + "end": 205, "loc": { "start": { - "line": 6, - "column": 6 + "line": 5, + "column": 7 }, "end": { - "line": 6, - "column": 42 + "line": 5, + "column": 29 } }, - "id": { + "local": { "type": "Identifier", - "start": 148, - "end": 155, - "loc": { - "start": { - "line": 6, - "column": 6 - }, - "end": { - "line": 6, - "column": 13 - }, - "identifierName": "western" - }, - "name": "western", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 158, - "end": 184, + "start": 183, + "end": 205, "loc": { "start": { - "line": 6, - "column": 16 + "line": 5, + "column": 7 }, "end": { - "line": 6, - "column": 42 - } - }, - "callee": { - "type": "Identifier", - "start": 158, - "end": 165, - "loc": { - "start": { - "line": 6, - "column": 16 - }, - "end": { - "line": 6, - "column": 23 - }, - "identifierName": "require" + "line": 5, + "column": 29 }, - "name": "require" + "identifierName": "getCorrelationConstant" }, - "arguments": [ - { - "type": "StringLiteral", - "start": 166, - "end": 183, - "loc": { - "start": { - "line": 6, - "column": 24 - }, - "end": { - "line": 6, - "column": 41 - } - }, - "extra": { - "rawValue": "./western/index", - "raw": "'./western/index'" - }, - "value": "./western/index" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 127, - "end": 141, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } + "name": "getCorrelationConstant" } } ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 186, - "end": 200, - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 211, + "end": 235, + "loc": { + "start": { + "line": 5, + "column": 35 + }, + "end": { + "line": 5, + "column": 59 } - } - ] + }, + "extra": { + "rawValue": "./correlation-constant", + "raw": "'./correlation-constant'" + }, + "value": "./correlation-constant" + } }, { - "type": "VariableDeclaration", - "start": 201, - "end": 253, + "type": "ExportDefaultDeclaration", + "start": 238, + "end": 346, "loc": { "start": { - "line": 8, + "line": 7, "column": 0 }, "end": { - "line": 8, - "column": 52 + "line": 13, + "column": 2 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 207, - "end": 252, - "loc": { - "start": { - "line": 8, - "column": 6 - }, - "end": { - "line": 8, - "column": 51 - } + "declaration": { + "type": "ObjectExpression", + "start": 253, + "end": 345, + "loc": { + "start": { + "line": 7, + "column": 15 }, - "id": { - "type": "Identifier", - "start": 207, - "end": 221, + "end": { + "line": 13, + "column": 1 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 257, + "end": 271, "loc": { "start": { "line": 8, - "column": 6 + "column": 2 }, "end": { "line": 8, - "column": 20 + "column": 16 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 257, + "end": 271, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 16 + }, + "identifierName": "DistanceNumber" }, - "identifierName": "DistanceNumber" + "name": "DistanceNumber" }, - "name": "DistanceNumber", - "leadingComments": null + "value": { + "type": "Identifier", + "start": 257, + "end": 271, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 16 + }, + "identifierName": "DistanceNumber" + }, + "name": "DistanceNumber" + }, + "extra": { + "shorthand": true + } }, - "init": { - "type": "CallExpression", - "start": 224, - "end": 252, + { + "type": "ObjectProperty", + "start": 275, + "end": 284, "loc": { "start": { - "line": 8, - "column": 23 + "line": 9, + "column": 2 }, "end": { - "line": 8, - "column": 51 + "line": 9, + "column": 11 } }, - "callee": { + "method": false, + "shorthand": true, + "computed": false, + "key": { "type": "Identifier", - "start": 224, - "end": 231, + "start": 275, + "end": 284, "loc": { "start": { - "line": 8, - "column": 23 + "line": 9, + "column": 2 }, "end": { - "line": 8, - "column": 30 + "line": 9, + "column": 11 }, - "identifierName": "require" + "identifierName": "LongCount" }, - "name": "require" + "name": "LongCount" }, - "arguments": [ - { - "type": "StringLiteral", - "start": 232, - "end": 251, - "loc": { - "start": { - "line": 8, - "column": 31 - }, - "end": { - "line": 8, - "column": 50 - } + "value": { + "type": "Identifier", + "start": 275, + "end": 284, + "loc": { + "start": { + "line": 9, + "column": 2 }, - "extra": { - "rawValue": "./distance-number", - "raw": "'./distance-number'" + "end": { + "line": 9, + "column": 11 }, - "value": "./distance-number" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 186, - "end": 200, - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 14 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 255, - "end": 340, - "loc": { - "start": { - "line": 10, - "column": 0 - }, - "end": { - "line": 15, - "column": 2 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 255, - "end": 339, - "loc": { - "start": { - "line": 10, - "column": 0 - }, - "end": { - "line": 15, - "column": 1 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 255, - "end": 269, - "loc": { - "start": { - "line": 10, - "column": 0 + "identifierName": "LongCount" + }, + "name": "LongCount" }, - "end": { - "line": 10, - "column": 14 + "extra": { + "shorthand": true } }, - "object": { - "type": "Identifier", - "start": 255, - "end": 261, + { + "type": "ObjectProperty", + "start": 288, + "end": 306, "loc": { "start": { "line": 10, - "column": 0 + "column": 2 }, "end": { "line": 10, - "column": 6 + "column": 20 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 288, + "end": 293, + "loc": { + "start": { + "line": 10, + "column": 2 + }, + "end": { + "line": 10, + "column": 7 + }, + "identifierName": "night" }, - "identifierName": "module" + "name": "night" }, - "name": "module" + "value": { + "type": "Identifier", + "start": 295, + "end": 306, + "loc": { + "start": { + "line": 10, + "column": 9 + }, + "end": { + "line": 10, + "column": 20 + }, + "identifierName": "LordOfNight" + }, + "name": "LordOfNight" + } }, - "property": { - "type": "Identifier", - "start": 262, - "end": 269, + { + "type": "ObjectProperty", + "start": 310, + "end": 317, "loc": { "start": { - "line": 10, - "column": 7 + "line": 11, + "column": 2 }, "end": { - "line": 10, - "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "ObjectExpression", - "start": 272, - "end": 339, - "loc": { - "start": { - "line": 10, - "column": 17 + "line": 11, + "column": 9 + } }, - "end": { - "line": 15, - "column": 1 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 276, - "end": 290, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 310, + "end": 317, "loc": { "start": { "line": 11, @@ -683,380 +592,123 @@ }, "end": { "line": 11, - "column": 16 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 276, - "end": 290, - "loc": { - "start": { - "line": 11, - "column": 2 - }, - "end": { - "line": 11, - "column": 16 - }, - "identifierName": "DistanceNumber" - }, - "name": "DistanceNumber" - }, - "value": { - "type": "Identifier", - "start": 276, - "end": 290, - "loc": { - "start": { - "line": 11, - "column": 2 - }, - "end": { - "line": 11, - "column": 16 - }, - "identifierName": "DistanceNumber" + "column": 9 }, - "name": "DistanceNumber" + "identifierName": "western" }, - "extra": { - "shorthand": true - } + "name": "western" }, - { - "type": "ObjectProperty", - "start": 294, - "end": 303, + "value": { + "type": "Identifier", + "start": 310, + "end": 317, "loc": { "start": { - "line": 12, + "line": 11, "column": 2 }, "end": { - "line": 12, - "column": 11 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 294, - "end": 303, - "loc": { - "start": { - "line": 12, - "column": 2 - }, - "end": { - "line": 12, - "column": 11 - }, - "identifierName": "LongCount" + "line": 11, + "column": 9 }, - "name": "LongCount" + "identifierName": "western" }, - "value": { - "type": "Identifier", - "start": 294, - "end": 303, - "loc": { - "start": { - "line": 12, - "column": 2 - }, - "end": { - "line": 12, - "column": 11 - }, - "identifierName": "LongCount" - }, - "name": "LongCount" + "name": "western" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 321, + "end": 343, + "loc": { + "start": { + "line": 12, + "column": 2 }, - "extra": { - "shorthand": true + "end": { + "line": 12, + "column": 24 } }, - { - "type": "ObjectProperty", - "start": 307, - "end": 325, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 321, + "end": 343, "loc": { "start": { - "line": 13, + "line": 12, "column": 2 }, "end": { - "line": 13, - "column": 20 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 307, - "end": 312, - "loc": { - "start": { - "line": 13, - "column": 2 - }, - "end": { - "line": 13, - "column": 7 - }, - "identifierName": "night" + "line": 12, + "column": 24 }, - "name": "night" + "identifierName": "getCorrelationConstant" }, - "value": { - "type": "Identifier", - "start": 314, - "end": 325, - "loc": { - "start": { - "line": 13, - "column": 9 - }, - "end": { - "line": 13, - "column": 20 - }, - "identifierName": "LordOfNight" - }, - "name": "LordOfNight" - } + "name": "getCorrelationConstant" }, - { - "type": "ObjectProperty", - "start": 329, - "end": 336, + "value": { + "type": "Identifier", + "start": 321, + "end": 343, "loc": { "start": { - "line": 14, + "line": 12, "column": 2 }, "end": { - "line": 14, - "column": 9 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 329, - "end": 336, - "loc": { - "start": { - "line": 14, - "column": 2 - }, - "end": { - "line": 14, - "column": 9 - }, - "identifierName": "western" - }, - "name": "western" - }, - "value": { - "type": "Identifier", - "start": 329, - "end": 336, - "loc": { - "start": { - "line": 14, - "column": 2 - }, - "end": { - "line": 14, - "column": 9 - }, - "identifierName": "western" + "line": 12, + "column": 24 }, - "name": "western" + "identifierName": "getCorrelationConstant" }, - "extra": { - "shorthand": true - } + "name": "getCorrelationConstant" + }, + "extra": { + "shorthand": true } - ] - } - } - } - ], - "directives": [] - }, - "comments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 58, - "end": 72, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 127, - "end": 141, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 186, - "end": 200, - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 14 - } - } - } - ], - "tokens": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 15, - "end": 20, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "LongCount", - "start": 21, - "end": 30, - "loc": { - "start": { - "line": 2, - "column": 6 - }, - "end": { - "line": 2, - "column": 15 + } + ], + "leadingComments": [], + "trailingComments": [] } } - }, + ], + "directives": [] + }, + "comments": [], + "tokens": [ { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 31, - "end": 32, + "value": "import", + "start": 0, + "end": 6, "loc": { "start": { - "line": 2, - "column": 16 + "line": 1, + "column": 0 }, "end": { - "line": 2, - "column": 17 + "line": 1, + "column": 6 } } }, @@ -1072,24 +724,24 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 33, - "end": 40, + "value": "LongCount", + "start": 7, + "end": 16, "loc": { "start": { - "line": 2, - "column": 18 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 25 + "line": 1, + "column": 16 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1098,16 +750,17 @@ "postfix": false, "binop": null }, - "start": 40, - "end": 41, + "value": "from", + "start": 17, + "end": 21, "loc": { "start": { - "line": 2, - "column": 25 + "line": 1, + "column": 17 }, "end": { - "line": 2, - "column": 26 + "line": 1, + "column": 21 } } }, @@ -1125,41 +778,16 @@ "updateContext": null }, "value": "./long-count", - "start": 41, - "end": 55, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 55, - "end": 56, + "start": 22, + "end": 36, "loc": { "start": { - "line": 2, - "column": 40 + "line": 1, + "column": 22 }, "end": { - "line": 2, - "column": 41 + "line": 1, + "column": 36 } } }, @@ -1176,41 +804,25 @@ "binop": null, "updateContext": null }, - "start": 56, - "end": 57, - "loc": { - "start": { - "line": 2, - "column": 41 - }, - "end": { - "line": 2, - "column": 42 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 58, - "end": 72, + "start": 36, + "end": 37, "loc": { "start": { - "line": 3, - "column": 0 + "line": 1, + "column": 36 }, "end": { - "line": 3, - "column": 14 + "line": 1, + "column": 37 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1219,17 +831,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 73, - "end": 78, + "value": "import", + "start": 38, + "end": 44, "loc": { "start": { - "line": 4, + "line": 2, "column": 0 }, "end": { - "line": 4, - "column": 5 + "line": 2, + "column": 6 } } }, @@ -1246,43 +858,16 @@ "binop": null }, "value": "LordOfNight", - "start": 79, - "end": 90, + "start": 45, + "end": 56, "loc": { "start": { - "line": 4, - "column": 6 + "line": 2, + "column": 7 }, "end": { - "line": 4, - "column": 17 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 91, - "end": 92, - "loc": { - "start": { - "line": 4, + "line": 2, "column": 18 - }, - "end": { - "line": 4, - "column": 19 } } }, @@ -1298,42 +883,17 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 93, - "end": 100, - "loc": { - "start": { - "line": 4, - "column": 20 - }, - "end": { - "line": 4, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 100, - "end": 101, + "value": "from", + "start": 57, + "end": 61, "loc": { "start": { - "line": 4, - "column": 27 + "line": 2, + "column": 19 }, "end": { - "line": 4, - "column": 28 + "line": 2, + "column": 23 } } }, @@ -1351,41 +911,16 @@ "updateContext": null }, "value": "./night/lord-of-night", - "start": 101, - "end": 124, - "loc": { - "start": { - "line": 4, - "column": 28 - }, - "end": { - "line": 4, - "column": 51 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 124, - "end": 125, + "start": 62, + "end": 85, "loc": { "start": { - "line": 4, - "column": 51 + "line": 2, + "column": 24 }, "end": { - "line": 4, - "column": 52 + "line": 2, + "column": 47 } } }, @@ -1402,66 +937,23 @@ "binop": null, "updateContext": null }, - "start": 125, - "end": 126, - "loc": { - "start": { - "line": 4, - "column": 52 - }, - "end": { - "line": 4, - "column": 53 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 127, - "end": 141, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 142, - "end": 147, + "start": 85, + "end": 86, "loc": { "start": { - "line": 6, - "column": 0 + "line": 2, + "column": 47 }, "end": { - "line": 6, - "column": 5 + "line": 2, + "column": 48 } } }, { "type": { - "label": "name", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1469,79 +961,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "value": "western", - "start": 148, - "end": 155, - "loc": { - "start": { - "line": 6, - "column": 6 - }, - "end": { - "line": 6, - "column": 13 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 156, - "end": 157, - "loc": { - "start": { - "line": 6, - "column": 14 - }, - "end": { - "line": 6, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "require", - "start": 158, - "end": 165, + "value": "import", + "start": 87, + "end": 93, "loc": { "start": { - "line": 6, - "column": 16 + "line": 3, + "column": 0 }, "end": { - "line": 6, - "column": 23 + "line": 3, + "column": 6 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1550,22 +990,23 @@ "postfix": false, "binop": null }, - "start": 165, - "end": 166, + "value": "western", + "start": 94, + "end": 101, "loc": { "start": { - "line": 6, - "column": 23 + "line": 3, + "column": 7 }, "end": { - "line": 6, - "column": 24 + "line": 3, + "column": 14 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1573,45 +1014,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./western/index", - "start": 166, - "end": 183, + "value": "from", + "start": 102, + "end": 106, "loc": { "start": { - "line": 6, - "column": 24 + "line": 3, + "column": 15 }, "end": { - "line": 6, - "column": 41 + "line": 3, + "column": 19 } } }, { "type": { - "label": ")", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 183, - "end": 184, + "value": "./western/western", + "start": 107, + "end": 126, "loc": { "start": { - "line": 6, - "column": 41 + "line": 3, + "column": 20 }, "end": { - "line": 6, - "column": 42 + "line": 3, + "column": 39 } } }, @@ -1628,41 +1070,25 @@ "binop": null, "updateContext": null }, - "start": 184, - "end": 185, - "loc": { - "start": { - "line": 6, - "column": 42 - }, - "end": { - "line": 6, - "column": 43 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 186, - "end": 200, + "start": 126, + "end": 127, "loc": { "start": { - "line": 7, - "column": 0 + "line": 3, + "column": 39 }, "end": { - "line": 7, - "column": 14 + "line": 3, + "column": 40 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1671,17 +1097,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 201, - "end": 206, + "value": "import", + "start": 128, + "end": 134, "loc": { "start": { - "line": 8, + "line": 4, "column": 0 }, "end": { - "line": 8, - "column": 5 + "line": 4, + "column": 6 } } }, @@ -1698,49 +1124,48 @@ "binop": null }, "value": "DistanceNumber", - "start": 207, - "end": 221, + "start": 135, + "end": 149, "loc": { "start": { - "line": 8, - "column": 6 + "line": 4, + "column": 7 }, "end": { - "line": 8, - "column": 20 + "line": 4, + "column": 21 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 222, - "end": 223, + "value": "from", + "start": 150, + "end": 154, "loc": { "start": { - "line": 8, - "column": 21 + "line": 4, + "column": 22 }, "end": { - "line": 8, - "column": 22 + "line": 4, + "column": 26 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1748,50 +1173,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "require", - "start": 224, - "end": 231, + "value": "./distance-number", + "start": 155, + "end": 174, "loc": { "start": { - "line": 8, - "column": 23 + "line": 4, + "column": 27 }, "end": { - "line": 8, - "column": 30 + "line": 4, + "column": 46 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 231, - "end": 232, + "start": 174, + "end": 175, "loc": { "start": { - "line": 8, - "column": 30 + "line": 4, + "column": 46 }, "end": { - "line": 8, - "column": 31 + "line": 4, + "column": 47 } } }, { "type": { - "label": "string", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1802,25 +1230,25 @@ "binop": null, "updateContext": null }, - "value": "./distance-number", - "start": 232, - "end": 251, + "value": "import", + "start": 176, + "end": 182, "loc": { "start": { - "line": 8, - "column": 31 + "line": 5, + "column": 0 }, "end": { - "line": 8, - "column": 50 + "line": 5, + "column": 6 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1828,48 +1256,49 @@ "postfix": false, "binop": null }, - "start": 251, - "end": 252, + "value": "getCorrelationConstant", + "start": 183, + "end": 205, "loc": { "start": { - "line": 8, - "column": 50 + "line": 5, + "column": 7 }, "end": { - "line": 8, - "column": 51 + "line": 5, + "column": 29 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 252, - "end": 253, + "value": "from", + "start": 206, + "end": 210, "loc": { "start": { - "line": 8, - "column": 51 + "line": 5, + "column": 30 }, "end": { - "line": 8, - "column": 52 + "line": 5, + "column": 34 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1877,26 +1306,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "module", - "start": 255, - "end": 261, + "value": "./correlation-constant", + "start": 211, + "end": 235, "loc": { "start": { - "line": 10, - "column": 0 + "line": 5, + "column": 35 }, "end": { - "line": 10, - "column": 6 + "line": 5, + "column": 59 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -1906,69 +1336,72 @@ "binop": null, "updateContext": null }, - "start": 261, - "end": 262, + "start": 235, + "end": 236, "loc": { "start": { - "line": 10, - "column": 6 + "line": 5, + "column": 59 }, "end": { - "line": 10, - "column": 7 + "line": 5, + "column": 60 } } }, { "type": { - "label": "name", + "label": "export", + "keyword": "export", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "exports", - "start": 262, - "end": 269, + "value": "export", + "start": 238, + "end": 244, "loc": { "start": { - "line": 10, - "column": 7 + "line": 7, + "column": 0 }, "end": { - "line": 10, - "column": 14 + "line": 7, + "column": 6 } } }, { "type": { - "label": "=", + "label": "default", + "keyword": "default", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 270, - "end": 271, + "value": "default", + "start": 245, + "end": 252, "loc": { "start": { - "line": 10, - "column": 15 + "line": 7, + "column": 7 }, "end": { - "line": 10, - "column": 16 + "line": 7, + "column": 14 } } }, @@ -1984,16 +1417,16 @@ "postfix": false, "binop": null }, - "start": 272, - "end": 273, + "start": 253, + "end": 254, "loc": { "start": { - "line": 10, - "column": 17 + "line": 7, + "column": 15 }, "end": { - "line": 10, - "column": 18 + "line": 7, + "column": 16 } } }, @@ -2010,15 +1443,15 @@ "binop": null }, "value": "DistanceNumber", - "start": 276, - "end": 290, + "start": 257, + "end": 271, "loc": { "start": { - "line": 11, + "line": 8, "column": 2 }, "end": { - "line": 11, + "line": 8, "column": 16 } } @@ -2036,15 +1469,15 @@ "binop": null, "updateContext": null }, - "start": 290, - "end": 291, + "start": 271, + "end": 272, "loc": { "start": { - "line": 11, + "line": 8, "column": 16 }, "end": { - "line": 11, + "line": 8, "column": 17 } } @@ -2062,15 +1495,15 @@ "binop": null }, "value": "LongCount", - "start": 294, - "end": 303, + "start": 275, + "end": 284, "loc": { "start": { - "line": 12, + "line": 9, "column": 2 }, "end": { - "line": 12, + "line": 9, "column": 11 } } @@ -2088,15 +1521,15 @@ "binop": null, "updateContext": null }, - "start": 303, - "end": 304, + "start": 284, + "end": 285, "loc": { "start": { - "line": 12, + "line": 9, "column": 11 }, "end": { - "line": 12, + "line": 9, "column": 12 } } @@ -2114,15 +1547,15 @@ "binop": null }, "value": "night", - "start": 307, - "end": 312, + "start": 288, + "end": 293, "loc": { "start": { - "line": 13, + "line": 10, "column": 2 }, "end": { - "line": 13, + "line": 10, "column": 7 } } @@ -2140,15 +1573,15 @@ "binop": null, "updateContext": null }, - "start": 312, - "end": 313, + "start": 293, + "end": 294, "loc": { "start": { - "line": 13, + "line": 10, "column": 7 }, "end": { - "line": 13, + "line": 10, "column": 8 } } @@ -2166,15 +1599,15 @@ "binop": null }, "value": "LordOfNight", - "start": 314, - "end": 325, + "start": 295, + "end": 306, "loc": { "start": { - "line": 13, + "line": 10, "column": 9 }, "end": { - "line": 13, + "line": 10, "column": 20 } } @@ -2192,15 +1625,15 @@ "binop": null, "updateContext": null }, - "start": 325, - "end": 326, + "start": 306, + "end": 307, "loc": { "start": { - "line": 13, + "line": 10, "column": 20 }, "end": { - "line": 13, + "line": 10, "column": 21 } } @@ -2218,15 +1651,15 @@ "binop": null }, "value": "western", - "start": 329, - "end": 336, + "start": 310, + "end": 317, "loc": { "start": { - "line": 14, + "line": 11, "column": 2 }, "end": { - "line": 14, + "line": 11, "column": 9 } } @@ -2244,19 +1677,45 @@ "binop": null, "updateContext": null }, - "start": 336, - "end": 337, + "start": 317, + "end": 318, "loc": { "start": { - "line": 14, + "line": 11, "column": 9 }, "end": { - "line": 14, + "line": 11, "column": 10 } } }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "getCorrelationConstant", + "start": 321, + "end": 343, + "loc": { + "start": { + "line": 12, + "column": 2 + }, + "end": { + "line": 12, + "column": 24 + } + } + }, { "type": { "label": "}", @@ -2269,15 +1728,15 @@ "postfix": false, "binop": null }, - "start": 338, - "end": 339, + "start": 344, + "end": 345, "loc": { "start": { - "line": 15, + "line": 13, "column": 0 }, "end": { - "line": 15, + "line": 13, "column": 1 } } @@ -2295,15 +1754,15 @@ "binop": null, "updateContext": null }, - "start": 339, - "end": 340, + "start": 345, + "end": 346, "loc": { "start": { - "line": 15, + "line": 13, "column": 1 }, "end": { - "line": 15, + "line": 13, "column": 2 } } @@ -2321,15 +1780,15 @@ "binop": null, "updateContext": null }, - "start": 341, - "end": 341, + "start": 347, + "end": 347, "loc": { "start": { - "line": 16, + "line": 14, "column": 0 }, "end": { - "line": 16, + "line": 14, "column": 0 } } diff --git a/docs/ast/source/lc/long-count.js.json b/docs/ast/source/lc/long-count.js.json index dcf2576..29ef22a 100644 --- a/docs/ast/source/lc/long-count.js.json +++ b/docs/ast/source/lc/long-count.js.json @@ -1,179 +1,244 @@ { "type": "File", "start": 0, - "end": 3538, + "end": 3231, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 148, + "line": 133, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 3538, + "end": 3231, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 148, + "line": 133, "column": 0 } }, "sourceType": "module", "body": [ { - "type": "VariableDeclaration", - "start": 15, - "end": 54, + "type": "ImportDeclaration", + "start": 0, + "end": 39, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, + "line": 1, "column": 39 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 21, - "end": 53, + "type": "ImportDefaultSpecifier", + "start": 7, + "end": 9, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 38 + "line": 1, + "column": 9 } }, - "id": { + "local": { "type": "Identifier", - "start": 21, - "end": 30, + "start": 7, + "end": 9, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 15 + "line": 1, + "column": 9 }, - "identifierName": "moonbeams" + "identifierName": "cr" + }, + "name": "cr" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 16, + "end": 38, + "loc": { + "start": { + "line": 1, + "column": 16 + }, + "end": { + "line": 1, + "column": 38 + } + }, + "extra": { + "rawValue": "../cr/calendar-round", + "raw": "'../cr/calendar-round'" + }, + "value": "../cr/calendar-round" + } + }, + { + "type": "ImportDeclaration", + "start": 40, + "end": 76, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 36 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 47, + "end": 55, + "loc": { + "start": { + "line": 2, + "column": 7 }, - "name": "moonbeams", - "leadingComments": null + "end": { + "line": 2, + "column": 15 + } }, - "init": { - "type": "CallExpression", - "start": 33, - "end": 53, + "local": { + "type": "Identifier", + "start": 47, + "end": 55, "loc": { "start": { "line": 2, - "column": 18 + "column": 7 }, "end": { "line": 2, - "column": 38 - } - }, - "callee": { - "type": "Identifier", - "start": 33, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 25 - }, - "identifierName": "require" + "column": 15 }, - "name": "require" + "identifierName": "FullDate" }, - "arguments": [ - { - "type": "StringLiteral", - "start": 41, - "end": 52, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 37 - } - }, - "extra": { - "rawValue": "moonbeams", - "raw": "'moonbeams'" - }, - "value": "moonbeams" - } - ] - }, - "leadingComments": null + "name": "FullDate" + } } ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 61, + "end": 75, + "loc": { + "start": { + "line": 2, + "column": 21 + }, + "end": { + "line": 2, + "column": 35 } + }, + "extra": { + "rawValue": "../full-date", + "raw": "'../full-date'" + }, + "value": "../full-date" + } + }, + { + "type": "ImportDeclaration", + "start": 77, + "end": 119, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 42 } - ], - "trailingComments": [ + }, + "specifiers": [ { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 55, - "end": 69, + "type": "ImportDefaultSpecifier", + "start": 84, + "end": 89, "loc": { "start": { "line": 3, - "column": 0 + "column": 7 }, "end": { "line": 3, - "column": 14 + "column": 12 } + }, + "local": { + "type": "Identifier", + "start": 84, + "end": 89, + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 12 + }, + "identifierName": "night" + }, + "name": "night" } } - ] + ], + "source": { + "type": "StringLiteral", + "start": 95, + "end": 118, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 41 + } + }, + "extra": { + "rawValue": "./night/lord-of-night", + "raw": "'./night/lord-of-night'" + }, + "value": "./night/lord-of-night" + } }, { - "type": "VariableDeclaration", - "start": 70, - "end": 110, + "type": "ImportDeclaration", + "start": 120, + "end": 185, "loc": { "start": { "line": 4, @@ -181,141 +246,137 @@ }, "end": { "line": 4, - "column": 40 + "column": 65 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 76, - "end": 109, + "type": "ImportDefaultSpecifier", + "start": 127, + "end": 144, "loc": { "start": { "line": 4, - "column": 6 + "column": 7 }, "end": { "line": 4, - "column": 39 + "column": 24 } }, - "id": { + "local": { "type": "Identifier", - "start": 76, - "end": 84, - "loc": { - "start": { - "line": 4, - "column": 6 - }, - "end": { - "line": 4, - "column": 14 - }, - "identifierName": "wildcard" - }, - "name": "wildcard", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 87, - "end": 109, + "start": 127, + "end": 144, "loc": { "start": { "line": 4, - "column": 17 + "column": 7 }, "end": { "line": 4, - "column": 39 - } - }, - "callee": { - "type": "Identifier", - "start": 87, - "end": 94, - "loc": { - "start": { - "line": 4, - "column": 17 - }, - "end": { - "line": 4, - "column": 24 - }, - "identifierName": "require" + "column": 24 }, - "name": "require" + "identifierName": "LongcountAddition" }, - "arguments": [ - { - "type": "StringLiteral", - "start": 95, - "end": 108, - "loc": { - "start": { - "line": 4, - "column": 25 - }, - "end": { - "line": 4, - "column": 38 - } - }, - "extra": { - "rawValue": "../wildcard", - "raw": "'../wildcard'" - }, - "value": "../wildcard" - } - ] - }, - "leadingComments": null + "name": "LongcountAddition" + } } ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 55, - "end": 69, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 150, + "end": 184, + "loc": { + "start": { + "line": 4, + "column": 30 + }, + "end": { + "line": 4, + "column": 64 } + }, + "extra": { + "rawValue": "../operations/longcount-addition", + "raw": "'../operations/longcount-addition'" + }, + "value": "../operations/longcount-addition" + } + }, + { + "type": "ImportDeclaration", + "start": 186, + "end": 257, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 71 } - ], - "trailingComments": [ + }, + "specifiers": [ { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 111, - "end": 125, + "type": "ImportDefaultSpecifier", + "start": 193, + "end": 213, "loc": { "start": { "line": 5, - "column": 0 + "column": 7 }, "end": { "line": 5, - "column": 14 + "column": 27 } + }, + "local": { + "type": "Identifier", + "start": 193, + "end": 213, + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 27 + }, + "identifierName": "LongcountSubtraction" + }, + "name": "LongcountSubtraction" } } - ] + ], + "source": { + "type": "StringLiteral", + "start": 219, + "end": 256, + "loc": { + "start": { + "line": 5, + "column": 33 + }, + "end": { + "line": 5, + "column": 70 + } + }, + "extra": { + "rawValue": "../operations/longcount-subtraction", + "raw": "'../operations/longcount-subtraction'" + }, + "value": "../operations/longcount-subtraction" + } }, { - "type": "VariableDeclaration", - "start": 126, - "end": 175, + "type": "ImportDeclaration", + "start": 258, + "end": 318, "loc": { "start": { "line": 6, @@ -323,198 +384,137 @@ }, "end": { "line": 6, - "column": 49 + "column": 60 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 132, - "end": 174, + "type": "ImportDefaultSpecifier", + "start": 265, + "end": 287, "loc": { "start": { "line": 6, - "column": 6 + "column": 7 }, "end": { "line": 6, - "column": 48 + "column": 29 } }, - "id": { - "type": "ObjectPattern", - "start": 132, - "end": 140, - "loc": { - "start": { - "line": 6, - "column": 6 - }, - "end": { - "line": 6, - "column": 14 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 133, - "end": 139, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 13 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 133, - "end": 139, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 13 - }, - "identifierName": "origin" - }, - "name": "origin", - "leadingComments": null - }, - "value": { - "type": "Identifier", - "start": 133, - "end": 139, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 13 - }, - "identifierName": "origin" - }, - "name": "origin" - }, - "leadingComments": null, - "extra": { - "shorthand": true - } - } - ], - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 143, - "end": 174, + "local": { + "type": "Identifier", + "start": 265, + "end": 287, "loc": { "start": { "line": 6, - "column": 17 + "column": 7 }, "end": { "line": 6, - "column": 48 - } - }, - "callee": { - "type": "Identifier", - "start": 143, - "end": 150, - "loc": { - "start": { - "line": 6, - "column": 17 - }, - "end": { - "line": 6, - "column": 24 - }, - "identifierName": "require" + "column": 29 }, - "name": "require" + "identifierName": "getCorrelationConstant" }, - "arguments": [ - { - "type": "StringLiteral", - "start": 151, - "end": 173, - "loc": { - "start": { - "line": 6, - "column": 25 - }, - "end": { - "line": 6, - "column": 47 - } - }, - "extra": { - "rawValue": "../cr/calendar-round", - "raw": "'../cr/calendar-round'" - }, - "value": "../cr/calendar-round" - } - ] - }, - "leadingComments": null + "name": "getCorrelationConstant" + } } ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 111, - "end": 125, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 293, + "end": 317, + "loc": { + "start": { + "line": 6, + "column": 35 + }, + "end": { + "line": 6, + "column": 59 } + }, + "extra": { + "rawValue": "./correlation-constant", + "raw": "'./correlation-constant'" + }, + "value": "./correlation-constant" + } + }, + { + "type": "ImportDeclaration", + "start": 319, + "end": 375, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 56 } - ], - "trailingComments": [ + }, + "specifiers": [ { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 176, - "end": 190, + "type": "ImportDefaultSpecifier", + "start": 326, + "end": 347, "loc": { "start": { "line": 7, - "column": 0 + "column": 7 }, "end": { "line": 7, - "column": 14 + "column": 28 } + }, + "local": { + "type": "Identifier", + "start": 326, + "end": 347, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 28 + }, + "identifierName": "GregorianCalendarDate" + }, + "name": "GregorianCalendarDate" } } - ] + ], + "source": { + "type": "StringLiteral", + "start": 353, + "end": 374, + "loc": { + "start": { + "line": 7, + "column": 34 + }, + "end": { + "line": 7, + "column": 55 + } + }, + "extra": { + "rawValue": "./western/gregorian", + "raw": "'./western/gregorian'" + }, + "value": "./western/gregorian" + } }, { - "type": "VariableDeclaration", - "start": 191, - "end": 232, + "type": "ImportDeclaration", + "start": 376, + "end": 426, "loc": { "start": { "line": 8, @@ -522,6091 +522,3655 @@ }, "end": { "line": 8, - "column": 41 + "column": 50 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 197, - "end": 231, + "type": "ImportDefaultSpecifier", + "start": 383, + "end": 401, "loc": { "start": { "line": 8, - "column": 6 + "column": 7 }, "end": { "line": 8, - "column": 40 + "column": 25 } }, - "id": { + "local": { "type": "Identifier", - "start": 197, - "end": 205, - "loc": { - "start": { - "line": 8, - "column": 6 - }, - "end": { - "line": 8, - "column": 14 - }, - "identifierName": "FullDate" - }, - "name": "FullDate", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 208, - "end": 231, + "start": 383, + "end": 401, "loc": { "start": { "line": 8, - "column": 17 + "column": 7 }, "end": { "line": 8, - "column": 40 - } - }, - "callee": { - "type": "Identifier", - "start": 208, - "end": 215, - "loc": { - "start": { - "line": 8, - "column": 17 - }, - "end": { - "line": 8, - "column": 24 - }, - "identifierName": "require" + "column": 25 }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 216, - "end": 230, - "loc": { - "start": { - "line": 8, - "column": 25 - }, - "end": { - "line": 8, - "column": 39 - } - }, - "extra": { - "rawValue": "../full-date", - "raw": "'../full-date'" - }, - "value": "../full-date" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 176, - "end": 190, - "loc": { - "start": { - "line": 7, - "column": 0 + "identifierName": "JulianCalendarDate" }, - "end": { - "line": 7, - "column": 14 - } + "name": "JulianCalendarDate" } } ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 233, - "end": 247, - "loc": { - "start": { - "line": 9, - "column": 0 - }, - "end": { - "line": 9, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 407, + "end": 425, + "loc": { + "start": { + "line": 8, + "column": 31 + }, + "end": { + "line": 8, + "column": 49 } - } - ] + }, + "extra": { + "rawValue": "./western/julian", + "raw": "'./western/julian'" + }, + "value": "./western/julian" + } }, { - "type": "VariableDeclaration", - "start": 248, - "end": 295, + "type": "ImportDeclaration", + "start": 427, + "end": 474, "loc": { "start": { - "line": 10, + "line": 9, "column": 0 }, "end": { - "line": 10, + "line": 9, "column": 47 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 254, - "end": 294, + "type": "ImportDefaultSpecifier", + "start": 434, + "end": 448, "loc": { "start": { - "line": 10, - "column": 6 + "line": 9, + "column": 7 }, "end": { - "line": 10, - "column": 46 + "line": 9, + "column": 21 } }, - "id": { + "local": { "type": "Identifier", - "start": 254, - "end": 259, - "loc": { - "start": { - "line": 10, - "column": 6 - }, - "end": { - "line": 10, - "column": 11 - }, - "identifierName": "night" - }, - "name": "night", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 262, - "end": 294, + "start": 434, + "end": 448, "loc": { "start": { - "line": 10, - "column": 14 + "line": 9, + "column": 7 }, "end": { - "line": 10, - "column": 46 - } - }, - "callee": { - "type": "Identifier", - "start": 262, - "end": 269, - "loc": { - "start": { - "line": 10, - "column": 14 - }, - "end": { - "line": 10, - "column": 21 - }, - "identifierName": "require" + "line": 9, + "column": 21 }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 270, - "end": 293, - "loc": { - "start": { - "line": 10, - "column": 22 - }, - "end": { - "line": 10, - "column": 45 - } - }, - "extra": { - "rawValue": "./night/lord-of-night", - "raw": "'./night/lord-of-night'" - }, - "value": "./night/lord-of-night" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 233, - "end": 247, - "loc": { - "start": { - "line": 9, - "column": 0 + "identifierName": "DistanceNumber" }, - "end": { - "line": 9, - "column": 14 - } + "name": "DistanceNumber" } } ], + "source": { + "type": "StringLiteral", + "start": 454, + "end": 473, + "loc": { + "start": { + "line": 9, + "column": 27 + }, + "end": { + "line": 9, + "column": 46 + } + }, + "extra": { + "rawValue": "./distance-number", + "raw": "'./distance-number'" + }, + "value": "./distance-number" + }, "trailingComments": [ { "type": "CommentBlock", - "value": "* @ignore ", - "start": 296, - "end": 310, + "value": "*\n * Long Count cycle\n ", + "start": 476, + "end": 503, "loc": { "start": { "line": 11, "column": 0 }, "end": { - "line": 11, - "column": 14 + "line": 13, + "column": 3 } } } ] }, { - "type": "VariableDeclaration", - "start": 311, - "end": 381, + "type": "ExportDefaultDeclaration", + "start": 504, + "end": 3230, "loc": { "start": { - "line": 12, + "line": 14, "column": 0 }, "end": { - "line": 12, - "column": 70 + "line": 132, + "column": 1 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 317, - "end": 380, + "declaration": { + "type": "ClassDeclaration", + "start": 519, + "end": 3230, + "loc": { + "start": { + "line": 14, + "column": 15 + }, + "end": { + "line": 132, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 525, + "end": 534, "loc": { "start": { - "line": 12, - "column": 6 + "line": 14, + "column": 21 }, "end": { - "line": 12, - "column": 69 - } + "line": 14, + "column": 30 + }, + "identifierName": "LongCount" }, - "id": { - "type": "Identifier", - "start": 317, - "end": 334, - "loc": { - "start": { - "line": 12, - "column": 6 - }, - "end": { - "line": 12, - "column": 23 - }, - "identifierName": "LongcountAddition" + "name": "LongCount", + "leadingComments": null + }, + "superClass": { + "type": "Identifier", + "start": 543, + "end": 557, + "loc": { + "start": { + "line": 14, + "column": 39 + }, + "end": { + "line": 14, + "column": 53 }, - "name": "LongcountAddition", - "leadingComments": null + "identifierName": "DistanceNumber" }, - "init": { - "type": "CallExpression", - "start": 337, - "end": 380, - "loc": { - "start": { - "line": 12, - "column": 26 - }, - "end": { - "line": 12, - "column": 69 - } + "name": "DistanceNumber" + }, + "body": { + "type": "ClassBody", + "start": 558, + "end": 3230, + "loc": { + "start": { + "line": 14, + "column": 54 }, - "callee": { - "type": "Identifier", - "start": 337, - "end": 344, + "end": { + "line": 132, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 682, + "end": 916, "loc": { "start": { - "line": 12, - "column": 26 + "line": 19, + "column": 2 }, "end": { - "line": 12, - "column": 33 + "line": 26, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 682, + "end": 693, + "loc": { + "start": { + "line": 19, + "column": 2 + }, + "end": { + "line": 19, + "column": 13 + }, + "identifierName": "constructor" }, - "identifierName": "require" + "name": "constructor", + "leadingComments": null }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 345, - "end": 379, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "RestElement", + "start": 694, + "end": 703, + "loc": { + "start": { + "line": 19, + "column": 14 + }, + "end": { + "line": 19, + "column": 23 + } + }, + "argument": { + "type": "Identifier", + "start": 697, + "end": 703, + "loc": { + "start": { + "line": 19, + "column": 17 + }, + "end": { + "line": 19, + "column": 23 + }, + "identifierName": "cycles" + }, + "name": "cycles" + } + } + ], + "body": { + "type": "BlockStatement", + "start": 705, + "end": 916, "loc": { "start": { - "line": 12, - "column": 34 + "line": 19, + "column": 25 }, "end": { - "line": 12, - "column": 68 + "line": 26, + "column": 3 } }, - "extra": { - "rawValue": "../operations/longcount-addition", - "raw": "'../operations/longcount-addition'" - }, - "value": "../operations/longcount-addition" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 296, - "end": 310, - "loc": { - "start": { - "line": 11, - "column": 0 - }, - "end": { - "line": 11, - "column": 14 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 382, - "end": 396, - "loc": { - "start": { - "line": 13, - "column": 0 - }, - "end": { - "line": 13, - "column": 14 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 397, - "end": 473, - "loc": { - "start": { - "line": 14, - "column": 0 - }, - "end": { - "line": 14, - "column": 76 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 403, - "end": 472, - "loc": { - "start": { - "line": 14, - "column": 6 - }, - "end": { - "line": 14, - "column": 75 - } - }, - "id": { - "type": "Identifier", - "start": 403, - "end": 423, - "loc": { - "start": { - "line": 14, - "column": 6 - }, - "end": { - "line": 14, - "column": 26 - }, - "identifierName": "LongcountSubtraction" - }, - "name": "LongcountSubtraction", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 426, - "end": 472, - "loc": { - "start": { - "line": 14, - "column": 29 + "body": [ + { + "type": "ExpressionStatement", + "start": 711, + "end": 728, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 21 + } + }, + "expression": { + "type": "CallExpression", + "start": 711, + "end": 727, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 20 + } + }, + "callee": { + "type": "Super", + "start": 711, + "end": 716, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 9 + } + } + }, + "arguments": [ + { + "type": "SpreadElement", + "start": 717, + "end": 726, + "loc": { + "start": { + "line": 20, + "column": 10 + }, + "end": { + "line": 20, + "column": 19 + } + }, + "argument": { + "type": "Identifier", + "start": 720, + "end": 726, + "loc": { + "start": { + "line": 20, + "column": 13 + }, + "end": { + "line": 20, + "column": 19 + }, + "identifierName": "cycles" + }, + "name": "cycles" + } + } + ] + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Correlation constant to allow alignment with western calendars\n * @type {CorrelationConstant}\n ", + "start": 733, + "end": 849, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 24, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 854, + "end": 912, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 62 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 854, + "end": 911, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 61 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 854, + "end": 878, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 28 + } + }, + "object": { + "type": "ThisExpression", + "start": 854, + "end": 858, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 25, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 859, + "end": 878, + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 28 + }, + "identifierName": "correlationConstant" + }, + "name": "correlationConstant" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "CallExpression", + "start": 881, + "end": 911, + "loc": { + "start": { + "line": 25, + "column": 31 + }, + "end": { + "line": 25, + "column": 61 + } + }, + "callee": { + "type": "Identifier", + "start": 881, + "end": 903, + "loc": { + "start": { + "line": 25, + "column": 31 + }, + "end": { + "line": 25, + "column": 53 + }, + "identifierName": "getCorrelationConstant" + }, + "name": "getCorrelationConstant" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 904, + "end": 910, + "loc": { + "start": { + "line": 25, + "column": 54 + }, + "end": { + "line": 25, + "column": 60 + } + }, + "extra": { + "rawValue": 584283, + "raw": "584283" + }, + "value": 584283 + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Correlation constant to allow alignment with western calendars\n * @type {CorrelationConstant}\n ", + "start": 733, + "end": 849, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 24, + "column": 7 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": null }, - "end": { - "line": 14, - "column": 75 - } + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {...number|Wildcard} cycles - Components in the long count\n * (eg, K'in, Winal, Bak'tun, etc)\n ", + "start": 562, + "end": 679, + "loc": { + "start": { + "line": 15, + "column": 2 + }, + "end": { + "line": 18, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Chainable method to set the correlation constant\n * @param {CorrelationConstant} newConstant\n * @return {LongCount}\n ", + "start": 920, + "end": 1054, + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 32, + "column": 5 + } + } + } + ] }, - "callee": { - "type": "Identifier", - "start": 426, - "end": 433, + { + "type": "ClassMethod", + "start": 1057, + "end": 1159, "loc": { "start": { - "line": 14, - "column": 29 + "line": 33, + "column": 2 }, "end": { - "line": 14, - "column": 36 + "line": 36, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1057, + "end": 1079, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 33, + "column": 24 + }, + "identifierName": "setCorrelationConstant" }, - "identifierName": "require" + "name": "setCorrelationConstant", + "leadingComments": null }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 434, - "end": 471, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1080, + "end": 1091, + "loc": { + "start": { + "line": 33, + "column": 25 + }, + "end": { + "line": 33, + "column": 36 + }, + "identifierName": "newConstant" + }, + "name": "newConstant" + } + ], + "body": { + "type": "BlockStatement", + "start": 1093, + "end": 1159, "loc": { "start": { - "line": 14, - "column": 37 + "line": 33, + "column": 38 }, "end": { - "line": 14, - "column": 74 + "line": 36, + "column": 3 } }, - "extra": { - "rawValue": "../operations/longcount-subtraction", - "raw": "'../operations/longcount-subtraction'" - }, - "value": "../operations/longcount-subtraction" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 382, - "end": 396, - "loc": { - "start": { - "line": 13, - "column": 0 - }, - "end": { - "line": 13, - "column": 14 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 474, - "end": 488, - "loc": { - "start": { - "line": 15, - "column": 0 - }, - "end": { - "line": 15, - "column": 14 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 489, - "end": 554, - "loc": { - "start": { - "line": 16, - "column": 0 - }, - "end": { - "line": 16, - "column": 65 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 495, - "end": 553, - "loc": { - "start": { - "line": 16, - "column": 6 - }, - "end": { - "line": 16, - "column": 64 - } - }, - "id": { - "type": "Identifier", - "start": 495, - "end": 517, - "loc": { - "start": { - "line": 16, - "column": 6 - }, - "end": { - "line": 16, - "column": 28 - }, - "identifierName": "getCorrelationConstant" - }, - "name": "getCorrelationConstant", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 520, - "end": 553, - "loc": { - "start": { - "line": 16, - "column": 31 + "body": [ + { + "type": "ExpressionStatement", + "start": 1099, + "end": 1138, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 43 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1099, + "end": 1137, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 42 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1099, + "end": 1123, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 28 + } + }, + "object": { + "type": "ThisExpression", + "start": 1099, + "end": 1103, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1104, + "end": 1123, + "loc": { + "start": { + "line": 34, + "column": 9 + }, + "end": { + "line": 34, + "column": 28 + }, + "identifierName": "correlationConstant" + }, + "name": "correlationConstant" + }, + "computed": false + }, + "right": { + "type": "Identifier", + "start": 1126, + "end": 1137, + "loc": { + "start": { + "line": 34, + "column": 31 + }, + "end": { + "line": 34, + "column": 42 + }, + "identifierName": "newConstant" + }, + "name": "newConstant" + } + } + }, + { + "type": "ReturnStatement", + "start": 1143, + "end": 1155, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 16 + } + }, + "argument": { + "type": "ThisExpression", + "start": 1150, + "end": 1154, + "loc": { + "start": { + "line": 35, + "column": 11 + }, + "end": { + "line": 35, + "column": 15 + } + } + } + } + ], + "directives": [], + "trailingComments": null }, - "end": { - "line": 16, - "column": 64 - } + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Chainable method to set the correlation constant\n * @param {CorrelationConstant} newConstant\n * @return {LongCount}\n ", + "start": 920, + "end": 1054, + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 32, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return a representation of this Long Count in Julian Days.\n * @return {number}\n ", + "start": 1163, + "end": 1258, + "loc": { + "start": { + "line": 38, + "column": 2 + }, + "end": { + "line": 41, + "column": 5 + } + } + } + ] }, - "callee": { - "type": "Identifier", - "start": 520, - "end": 527, + { + "type": "ClassMethod", + "start": 1261, + "end": 1346, "loc": { "start": { - "line": 16, - "column": 31 + "line": 42, + "column": 2 }, "end": { - "line": 16, - "column": 38 - }, - "identifierName": "require" + "line": 44, + "column": 3 + } }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 528, - "end": 552, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1265, + "end": 1274, "loc": { "start": { - "line": 16, - "column": 39 + "line": 42, + "column": 6 }, "end": { - "line": 16, - "column": 63 - } - }, - "extra": { - "rawValue": "./correlation-constant", - "raw": "'./correlation-constant'" - }, - "value": "./correlation-constant" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 474, - "end": 488, - "loc": { - "start": { - "line": 15, - "column": 0 - }, - "end": { - "line": 15, - "column": 14 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 555, - "end": 569, - "loc": { - "start": { - "line": 17, - "column": 0 - }, - "end": { - "line": 17, - "column": 14 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 570, - "end": 631, - "loc": { - "start": { - "line": 18, - "column": 0 - }, - "end": { - "line": 18, - "column": 61 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 576, - "end": 630, - "loc": { - "start": { - "line": 18, - "column": 6 - }, - "end": { - "line": 18, - "column": 60 - } - }, - "id": { - "type": "Identifier", - "start": 576, - "end": 597, - "loc": { - "start": { - "line": 18, - "column": 6 - }, - "end": { - "line": 18, - "column": 27 - }, - "identifierName": "GregorianCalendarDate" - }, - "name": "GregorianCalendarDate", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 600, - "end": 630, - "loc": { - "start": { - "line": 18, - "column": 30 - }, - "end": { - "line": 18, - "column": 60 - } - }, - "callee": { - "type": "Identifier", - "start": 600, - "end": 607, - "loc": { - "start": { - "line": 18, - "column": 30 - }, - "end": { - "line": 18, - "column": 37 + "line": 42, + "column": 15 + }, + "identifierName": "julianDay" }, - "identifierName": "require" + "name": "julianDay" }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 608, - "end": 629, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1277, + "end": 1346, "loc": { "start": { - "line": 18, - "column": 38 + "line": 42, + "column": 18 }, "end": { - "line": 18, - "column": 59 + "line": 44, + "column": 3 } }, - "extra": { - "rawValue": "./western/gregorian", - "raw": "'./western/gregorian'" - }, - "value": "./western/gregorian" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 555, - "end": 569, - "loc": { - "start": { - "line": 17, - "column": 0 - }, - "end": { - "line": 17, - "column": 14 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 632, - "end": 646, - "loc": { - "start": { - "line": 19, - "column": 0 - }, - "end": { - "line": 19, - "column": 14 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 647, - "end": 702, - "loc": { - "start": { - "line": 20, - "column": 0 - }, - "end": { - "line": 20, - "column": 55 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 653, - "end": 701, - "loc": { - "start": { - "line": 20, - "column": 6 - }, - "end": { - "line": 20, - "column": 54 - } - }, - "id": { - "type": "Identifier", - "start": 653, - "end": 671, - "loc": { - "start": { - "line": 20, - "column": 6 - }, - "end": { - "line": 20, - "column": 24 - }, - "identifierName": "JulianCalendarDate" - }, - "name": "JulianCalendarDate", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 674, - "end": 701, - "loc": { - "start": { - "line": 20, - "column": 27 + "body": [ + { + "type": "ReturnStatement", + "start": 1283, + "end": 1342, + "loc": { + "start": { + "line": 43, + "column": 4 + }, + "end": { + "line": 43, + "column": 63 + } + }, + "argument": { + "type": "BinaryExpression", + "start": 1290, + "end": 1341, + "loc": { + "start": { + "line": 43, + "column": 11 + }, + "end": { + "line": 43, + "column": 62 + } + }, + "left": { + "type": "MemberExpression", + "start": 1290, + "end": 1320, + "loc": { + "start": { + "line": 43, + "column": 11 + }, + "end": { + "line": 43, + "column": 41 + } + }, + "object": { + "type": "MemberExpression", + "start": 1290, + "end": 1314, + "loc": { + "start": { + "line": 43, + "column": 11 + }, + "end": { + "line": 43, + "column": 35 + } + }, + "object": { + "type": "ThisExpression", + "start": 1290, + "end": 1294, + "loc": { + "start": { + "line": 43, + "column": 11 + }, + "end": { + "line": 43, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 1295, + "end": 1314, + "loc": { + "start": { + "line": 43, + "column": 16 + }, + "end": { + "line": 43, + "column": 35 + }, + "identifierName": "correlationConstant" + }, + "name": "correlationConstant" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1315, + "end": 1320, + "loc": { + "start": { + "line": 43, + "column": 36 + }, + "end": { + "line": 43, + "column": 41 + }, + "identifierName": "value" + }, + "name": "value" + }, + "computed": false + }, + "operator": "+", + "right": { + "type": "CallExpression", + "start": 1323, + "end": 1341, + "loc": { + "start": { + "line": 43, + "column": 44 + }, + "end": { + "line": 43, + "column": 62 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1323, + "end": 1339, + "loc": { + "start": { + "line": 43, + "column": 44 + }, + "end": { + "line": 43, + "column": 60 + } + }, + "object": { + "type": "ThisExpression", + "start": 1323, + "end": 1327, + "loc": { + "start": { + "line": 43, + "column": 44 + }, + "end": { + "line": 43, + "column": 48 + } + } + }, + "property": { + "type": "Identifier", + "start": 1328, + "end": 1339, + "loc": { + "start": { + "line": 43, + "column": 49 + }, + "end": { + "line": 43, + "column": 60 + }, + "identifierName": "getPosition" + }, + "name": "getPosition" + }, + "computed": false + }, + "arguments": [] + } + } + } + ], + "directives": [], + "trailingComments": null }, - "end": { - "line": 20, - "column": 54 - } + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return a representation of this Long Count in Julian Days.\n * @return {number}\n ", + "start": 1163, + "end": 1258, + "loc": { + "start": { + "line": 38, + "column": 2 + }, + "end": { + "line": 41, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return a Gregorian representation of this long count date, offset by the correlation constant.\n * @return {GregorianCalendarDate}\n ", + "start": 1350, + "end": 1496, + "loc": { + "start": { + "line": 46, + "column": 2 + }, + "end": { + "line": 49, + "column": 5 + } + } + } + ] }, - "callee": { - "type": "Identifier", - "start": 674, - "end": 681, + { + "type": "ClassMethod", + "start": 1499, + "end": 1574, "loc": { "start": { - "line": 20, - "column": 27 + "line": 50, + "column": 2 }, "end": { - "line": 20, - "column": 34 - }, - "identifierName": "require" + "line": 52, + "column": 3 + } }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 682, - "end": 700, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1503, + "end": 1512, "loc": { "start": { - "line": 20, - "column": 35 + "line": 50, + "column": 6 }, "end": { - "line": 20, - "column": 53 - } - }, - "extra": { - "rawValue": "./western/julian", - "raw": "'./western/julian'" - }, - "value": "./western/julian" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 632, - "end": 646, - "loc": { - "start": { - "line": 19, - "column": 0 - }, - "end": { - "line": 19, - "column": 14 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 703, - "end": 717, - "loc": { - "start": { - "line": 21, - "column": 0 - }, - "end": { - "line": 21, - "column": 14 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 718, - "end": 770, - "loc": { - "start": { - "line": 22, - "column": 0 - }, - "end": { - "line": 22, - "column": 52 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 724, - "end": 769, - "loc": { - "start": { - "line": 22, - "column": 6 - }, - "end": { - "line": 22, - "column": 51 - } - }, - "id": { - "type": "Identifier", - "start": 724, - "end": 738, - "loc": { - "start": { - "line": 22, - "column": 6 - }, - "end": { - "line": 22, - "column": 20 - }, - "identifierName": "DistanceNumber" - }, - "name": "DistanceNumber", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 741, - "end": 769, - "loc": { - "start": { - "line": 22, - "column": 23 - }, - "end": { - "line": 22, - "column": 51 - } - }, - "callee": { - "type": "Identifier", - "start": 741, - "end": 748, - "loc": { - "start": { - "line": 22, - "column": 23 - }, - "end": { - "line": 22, - "column": 30 + "line": 50, + "column": 15 + }, + "identifierName": "gregorian" }, - "identifierName": "require" + "name": "gregorian" }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 749, - "end": 768, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1515, + "end": 1574, "loc": { "start": { - "line": 22, - "column": 31 + "line": 50, + "column": 18 }, "end": { - "line": 22, - "column": 50 + "line": 52, + "column": 3 } }, - "extra": { - "rawValue": "./distance-number", - "raw": "'./distance-number'" - }, - "value": "./distance-number" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 703, - "end": 717, - "loc": { - "start": { - "line": 21, - "column": 0 - }, - "end": { - "line": 21, - "column": 14 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Long Count cycle\n ", - "start": 772, - "end": 799, - "loc": { - "start": { - "line": 24, - "column": 0 - }, - "end": { - "line": 26, - "column": 3 - } - } - } - ] - }, - { - "type": "ClassDeclaration", - "start": 800, - "end": 3508, - "loc": { - "start": { - "line": 27, - "column": 0 - }, - "end": { - "line": 145, - "column": 1 - } - }, - "id": { - "type": "Identifier", - "start": 806, - "end": 815, - "loc": { - "start": { - "line": 27, - "column": 6 - }, - "end": { - "line": 27, - "column": 15 - }, - "identifierName": "LongCount" - }, - "name": "LongCount", - "leadingComments": null - }, - "superClass": { - "type": "Identifier", - "start": 824, - "end": 838, - "loc": { - "start": { - "line": 27, - "column": 24 - }, - "end": { - "line": 27, - "column": 38 - }, - "identifierName": "DistanceNumber" - }, - "name": "DistanceNumber" - }, - "body": { - "type": "ClassBody", - "start": 839, - "end": 3508, - "loc": { - "start": { - "line": 27, - "column": 39 - }, - "end": { - "line": 145, - "column": 1 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 963, - "end": 1197, - "loc": { - "start": { - "line": 32, - "column": 2 - }, - "end": { - "line": 39, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 963, - "end": 974, - "loc": { - "start": { - "line": 32, - "column": 2 - }, - "end": { - "line": 32, - "column": 13 - }, - "identifierName": "constructor" - }, - "name": "constructor", - "leadingComments": null - }, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "RestElement", - "start": 975, - "end": 984, - "loc": { - "start": { - "line": 32, - "column": 14 - }, - "end": { - "line": 32, - "column": 23 - } - }, - "argument": { - "type": "Identifier", - "start": 978, - "end": 984, - "loc": { - "start": { - "line": 32, - "column": 17 - }, - "end": { - "line": 32, - "column": 23 - }, - "identifierName": "cycles" - }, - "name": "cycles" - } - } - ], - "body": { - "type": "BlockStatement", - "start": 986, - "end": 1197, - "loc": { - "start": { - "line": 32, - "column": 25 - }, - "end": { - "line": 39, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 992, - "end": 1009, - "loc": { - "start": { - "line": 33, - "column": 4 - }, - "end": { - "line": 33, - "column": 21 - } - }, - "expression": { - "type": "CallExpression", - "start": 992, - "end": 1008, + "body": [ + { + "type": "ReturnStatement", + "start": 1521, + "end": 1570, "loc": { "start": { - "line": 33, + "line": 51, "column": 4 }, "end": { - "line": 33, - "column": 20 + "line": 51, + "column": 53 } }, - "callee": { - "type": "Super", - "start": 992, - "end": 997, + "argument": { + "type": "NewExpression", + "start": 1528, + "end": 1569, "loc": { "start": { - "line": 33, - "column": 4 + "line": 51, + "column": 11 }, "end": { - "line": 33, - "column": 9 + "line": 51, + "column": 52 } - } - }, - "arguments": [ - { - "type": "SpreadElement", - "start": 998, - "end": 1007, + }, + "callee": { + "type": "Identifier", + "start": 1532, + "end": 1553, "loc": { "start": { - "line": 33, - "column": 10 + "line": 51, + "column": 15 }, "end": { - "line": 33, - "column": 19 - } + "line": 51, + "column": 36 + }, + "identifierName": "GregorianCalendarDate" }, - "argument": { - "type": "Identifier", - "start": 1001, - "end": 1007, + "name": "GregorianCalendarDate" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 1554, + "end": 1568, "loc": { "start": { - "line": 33, - "column": 13 + "line": 51, + "column": 37 }, "end": { - "line": 33, - "column": 19 + "line": 51, + "column": 51 + } + }, + "object": { + "type": "ThisExpression", + "start": 1554, + "end": 1558, + "loc": { + "start": { + "line": 51, + "column": 37 + }, + "end": { + "line": 51, + "column": 41 + } + } + }, + "property": { + "type": "Identifier", + "start": 1559, + "end": 1568, + "loc": { + "start": { + "line": 51, + "column": 42 + }, + "end": { + "line": 51, + "column": 51 + }, + "identifierName": "julianDay" }, - "identifierName": "cycles" + "name": "julianDay" }, - "name": "cycles" - } - } - ] - }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Correlation constant to allow alignment with western calendars\n * @type {CorrelationConstant}\n ", - "start": 1014, - "end": 1130, - "loc": { - "start": { - "line": 34, - "column": 4 - }, - "end": { - "line": 37, - "column": 7 + "computed": false } - } + ] } - ] - }, + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ { - "type": "ExpressionStatement", - "start": 1135, - "end": 1193, + "type": "CommentBlock", + "value": "*\n * Return a Gregorian representation of this long count date, offset by the correlation constant.\n * @return {GregorianCalendarDate}\n ", + "start": 1350, + "end": 1496, "loc": { "start": { - "line": 38, - "column": 4 + "line": 46, + "column": 2 }, "end": { - "line": 38, - "column": 62 + "line": 49, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return a Julian representation of this long count date, offset by the correlation constant.\n * @return {JulianCalendarDate}\n ", + "start": 1578, + "end": 1718, + "loc": { + "start": { + "line": 54, + "column": 2 + }, + "end": { + "line": 57, + "column": 5 } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1721, + "end": 1790, + "loc": { + "start": { + "line": 58, + "column": 2 + }, + "end": { + "line": 60, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1725, + "end": 1731, + "loc": { + "start": { + "line": 58, + "column": 6 + }, + "end": { + "line": 58, + "column": 12 + }, + "identifierName": "julian" + }, + "name": "julian" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1734, + "end": 1790, + "loc": { + "start": { + "line": 58, + "column": 15 }, - "expression": { - "type": "AssignmentExpression", - "start": 1135, - "end": 1192, + "end": { + "line": 60, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1740, + "end": 1786, "loc": { "start": { - "line": 38, + "line": 59, "column": 4 }, "end": { - "line": 38, - "column": 61 + "line": 59, + "column": 50 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1135, - "end": 1159, - "loc": { - "start": { - "line": 38, - "column": 4 - }, - "end": { - "line": 38, - "column": 28 - } - }, - "object": { - "type": "ThisExpression", - "start": 1135, - "end": 1139, - "loc": { - "start": { - "line": 38, - "column": 4 - }, - "end": { - "line": 38, - "column": 8 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 1140, - "end": 1159, - "loc": { - "start": { - "line": 38, - "column": 9 - }, - "end": { - "line": 38, - "column": 28 - }, - "identifierName": "correlationConstant" - }, - "name": "correlationConstant" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "CallExpression", - "start": 1162, - "end": 1192, + "argument": { + "type": "NewExpression", + "start": 1747, + "end": 1785, "loc": { "start": { - "line": 38, - "column": 31 + "line": 59, + "column": 11 }, "end": { - "line": 38, - "column": 61 + "line": 59, + "column": 49 } }, "callee": { "type": "Identifier", - "start": 1162, - "end": 1184, + "start": 1751, + "end": 1769, "loc": { "start": { - "line": 38, - "column": 31 + "line": 59, + "column": 15 }, "end": { - "line": 38, - "column": 53 + "line": 59, + "column": 33 }, - "identifierName": "getCorrelationConstant" + "identifierName": "JulianCalendarDate" }, - "name": "getCorrelationConstant" + "name": "JulianCalendarDate" }, "arguments": [ { - "type": "NumericLiteral", - "start": 1185, - "end": 1191, + "type": "MemberExpression", + "start": 1770, + "end": 1784, "loc": { "start": { - "line": 38, - "column": 54 + "line": 59, + "column": 34 }, "end": { - "line": 38, - "column": 60 + "line": 59, + "column": 48 + } + }, + "object": { + "type": "ThisExpression", + "start": 1770, + "end": 1774, + "loc": { + "start": { + "line": 59, + "column": 34 + }, + "end": { + "line": 59, + "column": 38 + } } }, - "extra": { - "rawValue": 584283, - "raw": "584283" + "property": { + "type": "Identifier", + "start": 1775, + "end": 1784, + "loc": { + "start": { + "line": 59, + "column": 39 + }, + "end": { + "line": 59, + "column": 48 + }, + "identifierName": "julianDay" + }, + "name": "julianDay" }, - "value": 584283 + "computed": false } ] - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Correlation constant to allow alignment with western calendars\n * @type {CorrelationConstant}\n ", - "start": 1014, - "end": 1130, - "loc": { - "start": { - "line": 34, - "column": 4 - }, - "end": { - "line": 37, - "column": 7 - } - } } - ] - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @param {...number|Wildcard} cycles - Components in the long count\n * (eg, K'in, Winal, Bak'tun, etc)\n ", - "start": 843, - "end": 960, - "loc": { - "start": { - "line": 28, - "column": 2 - }, - "end": { - "line": 31, - "column": 5 + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return a Julian representation of this long count date, offset by the correlation constant.\n * @return {JulianCalendarDate}\n ", + "start": 1578, + "end": 1718, + "loc": { + "start": { + "line": 54, + "column": 2 + }, + "end": { + "line": 57, + "column": 5 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Chainable method to set the correlation constant\n * @param {CorrelationConstant} newConstant\n * @return {LongCount}\n ", - "start": 1201, - "end": 1335, - "loc": { - "start": { - "line": 41, - "column": 2 - }, - "end": { - "line": 45, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Create a copy object of this long count fullDate\n * @returns {LongCount}\n ", + "start": 1794, + "end": 1883, + "loc": { + "start": { + "line": 62, + "column": 2 + }, + "end": { + "line": 65, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 1338, - "end": 1440, - "loc": { - "start": { - "line": 46, - "column": 2 - }, - "end": { - "line": 49, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1338, - "end": 1360, + { + "type": "ClassMethod", + "start": 1886, + "end": 1940, "loc": { "start": { - "line": 46, + "line": 66, "column": 2 }, "end": { - "line": 46, - "column": 24 - }, - "identifierName": "setCorrelationConstant" + "line": 68, + "column": 3 + } }, - "name": "setCorrelationConstant", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 1361, - "end": 1372, + "start": 1886, + "end": 1891, "loc": { "start": { - "line": 46, - "column": 25 + "line": 66, + "column": 2 }, "end": { - "line": 46, - "column": 36 + "line": 66, + "column": 7 }, - "identifierName": "newConstant" - }, - "name": "newConstant" - } - ], - "body": { - "type": "BlockStatement", - "start": 1374, - "end": 1440, - "loc": { - "start": { - "line": 46, - "column": 38 + "identifierName": "clone" }, - "end": { - "line": 49, - "column": 3 - } + "name": "clone", + "leadingComments": null }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1380, - "end": 1419, - "loc": { - "start": { - "line": 47, - "column": 4 - }, - "end": { - "line": 47, - "column": 43 - } + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1894, + "end": 1940, + "loc": { + "start": { + "line": 66, + "column": 10 }, - "expression": { - "type": "AssignmentExpression", - "start": 1380, - "end": 1418, + "end": { + "line": 68, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1900, + "end": 1936, "loc": { "start": { - "line": 47, + "line": 67, "column": 4 }, "end": { - "line": 47, - "column": 42 + "line": 67, + "column": 40 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1380, - "end": 1404, + "argument": { + "type": "NewExpression", + "start": 1907, + "end": 1935, "loc": { "start": { - "line": 47, - "column": 4 + "line": 67, + "column": 11 }, "end": { - "line": 47, - "column": 28 - } - }, - "object": { - "type": "ThisExpression", - "start": 1380, - "end": 1384, - "loc": { - "start": { - "line": 47, - "column": 4 - }, - "end": { - "line": 47, - "column": 8 - } + "line": 67, + "column": 39 } }, - "property": { + "callee": { "type": "Identifier", - "start": 1385, - "end": 1404, + "start": 1911, + "end": 1920, "loc": { "start": { - "line": 47, - "column": 9 + "line": 67, + "column": 15 }, "end": { - "line": 47, - "column": 28 + "line": 67, + "column": 24 }, - "identifierName": "correlationConstant" - }, - "name": "correlationConstant" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 1407, - "end": 1418, - "loc": { - "start": { - "line": 47, - "column": 31 - }, - "end": { - "line": 47, - "column": 42 + "identifierName": "LongCount" }, - "identifierName": "newConstant" + "name": "LongCount" }, - "name": "newConstant" + "arguments": [ + { + "type": "SpreadElement", + "start": 1921, + "end": 1934, + "loc": { + "start": { + "line": 67, + "column": 25 + }, + "end": { + "line": 67, + "column": 38 + } + }, + "argument": { + "type": "MemberExpression", + "start": 1924, + "end": 1934, + "loc": { + "start": { + "line": 67, + "column": 28 + }, + "end": { + "line": 67, + "column": 38 + } + }, + "object": { + "type": "ThisExpression", + "start": 1924, + "end": 1928, + "loc": { + "start": { + "line": 67, + "column": 28 + }, + "end": { + "line": 67, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "start": 1929, + "end": 1934, + "loc": { + "start": { + "line": 67, + "column": 33 + }, + "end": { + "line": 67, + "column": 38 + }, + "identifierName": "parts" + }, + "name": "parts" + }, + "computed": false + } + } + ] } } - }, + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ { - "type": "ReturnStatement", - "start": 1424, - "end": 1436, + "type": "CommentBlock", + "value": "*\n * Create a copy object of this long count fullDate\n * @returns {LongCount}\n ", + "start": 1794, + "end": 1883, "loc": { "start": { - "line": 48, - "column": 4 + "line": 62, + "column": 2 }, "end": { - "line": 48, - "column": 16 - } - }, - "argument": { - "type": "ThisExpression", - "start": 1431, - "end": 1435, - "loc": { - "start": { - "line": 48, - "column": 11 - }, - "end": { - "line": 48, - "column": 15 - } + "line": 65, + "column": 5 } } } ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Chainable method to set the correlation constant\n * @param {CorrelationConstant} newConstant\n * @return {LongCount}\n ", - "start": 1201, - "end": 1335, - "loc": { - "start": { - "line": 41, - "column": 2 - }, - "end": { - "line": 45, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return a representation of this Long Count in Julian Days.\n * @return {number}\n ", - "start": 1444, - "end": 1539, - "loc": { - "start": { - "line": 51, - "column": 2 - }, - "end": { - "line": 54, - "column": 5 + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n *\n * @return {LordOfNight}\n ", + "start": 1944, + "end": 1985, + "loc": { + "start": { + "line": 70, + "column": 2 + }, + "end": { + "line": 73, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 1542, - "end": 1627, - "loc": { - "start": { - "line": 55, - "column": 2 - }, - "end": { - "line": 57, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1546, - "end": 1555, + { + "type": "ClassMethod", + "start": 1988, + "end": 2087, "loc": { "start": { - "line": 55, - "column": 6 - }, - "end": { - "line": 55, - "column": 15 - }, - "identifierName": "julianDay" - }, - "name": "julianDay" - }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1558, - "end": 1627, - "loc": { - "start": { - "line": 55, - "column": 18 + "line": 74, + "column": 2 }, "end": { - "line": 57, + "line": 78, "column": 3 } }, - "body": [ - { - "type": "ReturnStatement", - "start": 1564, - "end": 1623, - "loc": { - "start": { - "line": 56, - "column": 4 - }, - "end": { - "line": 56, - "column": 63 - } + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1992, + "end": 2003, + "loc": { + "start": { + "line": 74, + "column": 6 }, - "argument": { - "type": "BinaryExpression", - "start": 1571, - "end": 1622, + "end": { + "line": 74, + "column": 17 + }, + "identifierName": "lordOfNight" + }, + "name": "lordOfNight" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2006, + "end": 2087, + "loc": { + "start": { + "line": 74, + "column": 20 + }, + "end": { + "line": 78, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2012, + "end": 2083, "loc": { "start": { - "line": 56, - "column": 11 + "line": 75, + "column": 4 }, "end": { - "line": 56, - "column": 62 + "line": 77, + "column": 6 } }, - "left": { - "type": "MemberExpression", - "start": 1571, - "end": 1601, + "argument": { + "type": "CallExpression", + "start": 2019, + "end": 2082, "loc": { "start": { - "line": 56, + "line": 75, "column": 11 }, "end": { - "line": 56, - "column": 41 + "line": 77, + "column": 5 } }, - "object": { + "callee": { "type": "MemberExpression", - "start": 1571, - "end": 1595, + "start": 2019, + "end": 2028, "loc": { "start": { - "line": 56, + "line": 75, "column": 11 }, "end": { - "line": 56, - "column": 35 + "line": 75, + "column": 20 } }, "object": { - "type": "ThisExpression", - "start": 1571, - "end": 1575, + "type": "Identifier", + "start": 2019, + "end": 2024, "loc": { "start": { - "line": 56, + "line": 75, "column": 11 }, "end": { - "line": 56, - "column": 15 - } - } + "line": 75, + "column": 16 + }, + "identifierName": "night" + }, + "name": "night" }, "property": { "type": "Identifier", - "start": 1576, - "end": 1595, + "start": 2025, + "end": 2028, "loc": { "start": { - "line": 56, - "column": 16 + "line": 75, + "column": 17 }, "end": { - "line": 56, - "column": 35 + "line": 75, + "column": 20 }, - "identifierName": "correlationConstant" + "identifierName": "get" }, - "name": "correlationConstant" + "name": "get" }, "computed": false }, - "property": { - "type": "Identifier", - "start": 1596, - "end": 1601, - "loc": { - "start": { - "line": 56, - "column": 36 - }, - "end": { - "line": 56, - "column": 41 - }, - "identifierName": "value" - }, - "name": "value" - }, - "computed": false - }, - "operator": "+", - "right": { - "type": "CallExpression", - "start": 1604, - "end": 1622, - "loc": { - "start": { - "line": 56, - "column": 44 - }, - "end": { - "line": 56, - "column": 62 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1604, - "end": 1620, - "loc": { - "start": { - "line": 56, - "column": 44 - }, - "end": { - "line": 56, - "column": 60 - } - }, - "object": { - "type": "ThisExpression", - "start": 1604, - "end": 1608, + "arguments": [ + { + "type": "TemplateLiteral", + "start": 2036, + "end": 2076, "loc": { "start": { - "line": 56, - "column": 44 + "line": 76, + "column": 6 }, "end": { - "line": 56, - "column": 48 + "line": 76, + "column": 46 } - } - }, - "property": { - "type": "Identifier", - "start": 1609, - "end": 1620, - "loc": { - "start": { - "line": 56, - "column": 49 - }, - "end": { - "line": 56, - "column": 60 - }, - "identifierName": "getPosition" }, - "name": "getPosition" - }, - "computed": false - }, - "arguments": [] + "expressions": [ + { + "type": "BinaryExpression", + "start": 2040, + "end": 2074, + "loc": { + "start": { + "line": 76, + "column": 10 + }, + "end": { + "line": 76, + "column": 44 + } + }, + "left": { + "type": "BinaryExpression", + "start": 2041, + "end": 2069, + "loc": { + "start": { + "line": 76, + "column": 11 + }, + "end": { + "line": 76, + "column": 39 + } + }, + "left": { + "type": "BinaryExpression", + "start": 2042, + "end": 2064, + "loc": { + "start": { + "line": 76, + "column": 12 + }, + "end": { + "line": 76, + "column": 34 + } + }, + "left": { + "type": "CallExpression", + "start": 2042, + "end": 2060, + "loc": { + "start": { + "line": 76, + "column": 12 + }, + "end": { + "line": 76, + "column": 30 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2042, + "end": 2058, + "loc": { + "start": { + "line": 76, + "column": 12 + }, + "end": { + "line": 76, + "column": 28 + } + }, + "object": { + "type": "ThisExpression", + "start": 2042, + "end": 2046, + "loc": { + "start": { + "line": 76, + "column": 12 + }, + "end": { + "line": 76, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 2047, + "end": 2058, + "loc": { + "start": { + "line": 76, + "column": 17 + }, + "end": { + "line": 76, + "column": 28 + }, + "identifierName": "getPosition" + }, + "name": "getPosition" + }, + "computed": false + }, + "arguments": [] + }, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 2063, + "end": 2064, + "loc": { + "start": { + "line": 76, + "column": 33 + }, + "end": { + "line": 76, + "column": 34 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesized": true, + "parenStart": 2041 + } + }, + "operator": "%", + "right": { + "type": "NumericLiteral", + "start": 2068, + "end": 2069, + "loc": { + "start": { + "line": 76, + "column": 38 + }, + "end": { + "line": 76, + "column": 39 + } + }, + "extra": { + "rawValue": 9, + "raw": "9" + }, + "value": 9 + }, + "extra": { + "parenthesized": true, + "parenStart": 2040 + } + }, + "operator": "+", + "right": { + "type": "NumericLiteral", + "start": 2073, + "end": 2074, + "loc": { + "start": { + "line": 76, + "column": 43 + }, + "end": { + "line": 76, + "column": 44 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 2037, + "end": 2038, + "loc": { + "start": { + "line": 76, + "column": 7 + }, + "end": { + "line": 76, + "column": 8 + } + }, + "value": { + "raw": "G", + "cooked": "G" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 2075, + "end": 2075, + "loc": { + "start": { + "line": 76, + "column": 45 + }, + "end": { + "line": 76, + "column": 45 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n *\n * @return {LordOfNight}\n ", + "start": 1944, + "end": 1985, + "loc": { + "start": { + "line": 70, + "column": 2 + }, + "end": { + "line": 73, + "column": 5 } } } ], - "directives": [], - "trailingComments": null + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n *\n * @return {CalendarRound}\n ", + "start": 2091, + "end": 2134, + "loc": { + "start": { + "line": 80, + "column": 2 + }, + "end": { + "line": 83, + "column": 5 + } + } + } + ] }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return a representation of this Long Count in Julian Days.\n * @return {number}\n ", - "start": 1444, - "end": 1539, + { + "type": "ClassMethod", + "start": 2137, + "end": 2223, + "loc": { + "start": { + "line": 84, + "column": 2 + }, + "end": { + "line": 88, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2137, + "end": 2155, "loc": { "start": { - "line": 51, + "line": 84, "column": 2 }, "end": { - "line": 54, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return a Gregorian representation of this long count date, offset by the correlation constant.\n * @return {GregorianCalendarDate}\n ", - "start": 1631, - "end": 1777, + "line": 84, + "column": 20 + }, + "identifierName": "buildCalendarRound" + }, + "name": "buildCalendarRound", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2158, + "end": 2223, "loc": { "start": { - "line": 59, - "column": 2 + "line": 84, + "column": 23 }, "end": { - "line": 62, - "column": 5 + "line": 88, + "column": 3 } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 1780, - "end": 1855, - "loc": { - "start": { - "line": 63, - "column": 2 - }, - "end": { - "line": 65, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1784, - "end": 1793, - "loc": { - "start": { - "line": 63, - "column": 6 - }, - "end": { - "line": 63, - "column": 15 - }, - "identifierName": "gregorian" - }, - "name": "gregorian" - }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1796, - "end": 1855, - "loc": { - "start": { - "line": 63, - "column": 18 }, - "end": { - "line": 65, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 1802, - "end": 1851, - "loc": { - "start": { - "line": 64, - "column": 4 - }, - "end": { - "line": 64, - "column": 53 - } - }, - "argument": { - "type": "NewExpression", - "start": 1809, - "end": 1850, + "body": [ + { + "type": "ReturnStatement", + "start": 2164, + "end": 2219, "loc": { "start": { - "line": 64, - "column": 11 + "line": 85, + "column": 4 }, "end": { - "line": 64, - "column": 52 + "line": 87, + "column": 6 } }, - "callee": { - "type": "Identifier", - "start": 1813, - "end": 1834, + "argument": { + "type": "CallExpression", + "start": 2171, + "end": 2218, "loc": { "start": { - "line": 64, - "column": 15 + "line": 85, + "column": 11 }, "end": { - "line": 64, - "column": 36 - }, - "identifierName": "GregorianCalendarDate" + "line": 87, + "column": 5 + } }, - "name": "GregorianCalendarDate" - }, - "arguments": [ - { + "callee": { "type": "MemberExpression", - "start": 1835, - "end": 1849, + "start": 2171, + "end": 2186, "loc": { "start": { - "line": 64, - "column": 37 + "line": 85, + "column": 11 }, "end": { - "line": 64, - "column": 51 + "line": 85, + "column": 26 } }, "object": { - "type": "ThisExpression", - "start": 1835, - "end": 1839, + "type": "MemberExpression", + "start": 2171, + "end": 2180, "loc": { "start": { - "line": 64, - "column": 37 + "line": 85, + "column": 11 }, "end": { - "line": 64, - "column": 41 + "line": 85, + "column": 20 } - } + }, + "object": { + "type": "Identifier", + "start": 2171, + "end": 2173, + "loc": { + "start": { + "line": 85, + "column": 11 + }, + "end": { + "line": 85, + "column": 13 + }, + "identifierName": "cr" + }, + "name": "cr" + }, + "property": { + "type": "Identifier", + "start": 2174, + "end": 2180, + "loc": { + "start": { + "line": 85, + "column": 14 + }, + "end": { + "line": 85, + "column": 20 + }, + "identifierName": "origin" + }, + "name": "origin" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 1840, - "end": 1849, + "start": 2181, + "end": 2186, "loc": { "start": { - "line": 64, - "column": 42 + "line": 85, + "column": 21 }, "end": { - "line": 64, - "column": 51 + "line": 85, + "column": 26 }, - "identifierName": "julianDay" + "identifierName": "shift" }, - "name": "julianDay" + "name": "shift" }, "computed": false - } - ] + }, + "arguments": [ + { + "type": "CallExpression", + "start": 2194, + "end": 2212, + "loc": { + "start": { + "line": 86, + "column": 6 + }, + "end": { + "line": 86, + "column": 24 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2194, + "end": 2210, + "loc": { + "start": { + "line": 86, + "column": 6 + }, + "end": { + "line": 86, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 2194, + "end": 2198, + "loc": { + "start": { + "line": 86, + "column": 6 + }, + "end": { + "line": 86, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2199, + "end": 2210, + "loc": { + "start": { + "line": 86, + "column": 11 + }, + "end": { + "line": 86, + "column": 22 + }, + "identifierName": "getPosition" + }, + "name": "getPosition" + }, + "computed": false + }, + "arguments": [] + } + ] + } } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return a Gregorian representation of this long count date, offset by the correlation constant.\n * @return {GregorianCalendarDate}\n ", - "start": 1631, - "end": 1777, - "loc": { - "start": { - "line": 59, - "column": 2 - }, - "end": { - "line": 62, - "column": 5 + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n *\n * @return {CalendarRound}\n ", + "start": 2091, + "end": 2134, + "loc": { + "start": { + "line": 80, + "column": 2 + }, + "end": { + "line": 83, + "column": 5 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return a Julian representation of this long count date, offset by the correlation constant.\n * @return {JulianCalendarDate}\n ", - "start": 1859, - "end": 1999, - "loc": { - "start": { - "line": 67, - "column": 2 - }, - "end": { - "line": 70, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n *\n * @return {FullDate}\n ", + "start": 2227, + "end": 2265, + "loc": { + "start": { + "line": 90, + "column": 2 + }, + "end": { + "line": 93, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 2002, - "end": 2071, - "loc": { - "start": { - "line": 71, - "column": 2 - }, - "end": { - "line": 73, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2006, - "end": 2012, - "loc": { - "start": { - "line": 71, - "column": 6 - }, - "end": { - "line": 71, - "column": 12 - }, - "identifierName": "julian" - }, - "name": "julian" + ] }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 2015, - "end": 2071, + { + "type": "ClassMethod", + "start": 2268, + "end": 2373, "loc": { "start": { - "line": 71, - "column": 15 + "line": 94, + "column": 2 }, "end": { - "line": 73, + "line": 99, "column": 3 } }, - "body": [ - { - "type": "ReturnStatement", - "start": 2021, - "end": 2067, - "loc": { - "start": { - "line": 72, - "column": 4 - }, - "end": { - "line": 72, - "column": 50 - } + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2268, + "end": 2281, + "loc": { + "start": { + "line": 94, + "column": 2 }, - "argument": { - "type": "NewExpression", - "start": 2028, - "end": 2066, + "end": { + "line": 94, + "column": 15 + }, + "identifierName": "buildFullDate" + }, + "name": "buildFullDate", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2284, + "end": 2373, + "loc": { + "start": { + "line": 94, + "column": 18 + }, + "end": { + "line": 99, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2290, + "end": 2369, "loc": { "start": { - "line": 72, - "column": 11 + "line": 95, + "column": 4 }, "end": { - "line": 72, - "column": 49 + "line": 98, + "column": 6 } }, - "callee": { - "type": "Identifier", - "start": 2032, - "end": 2050, + "argument": { + "type": "NewExpression", + "start": 2297, + "end": 2368, "loc": { "start": { - "line": 72, - "column": 15 + "line": 95, + "column": 11 }, "end": { - "line": 72, - "column": 33 - }, - "identifierName": "JulianCalendarDate" + "line": 98, + "column": 5 + } }, - "name": "JulianCalendarDate" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 2051, - "end": 2065, + "callee": { + "type": "Identifier", + "start": 2301, + "end": 2309, "loc": { "start": { - "line": 72, - "column": 34 + "line": 95, + "column": 15 }, "end": { - "line": 72, - "column": 48 - } + "line": 95, + "column": 23 + }, + "identifierName": "FullDate" }, - "object": { - "type": "ThisExpression", - "start": 2051, - "end": 2055, + "name": "FullDate" + }, + "arguments": [ + { + "type": "CallExpression", + "start": 2317, + "end": 2342, "loc": { "start": { - "line": 72, - "column": 34 + "line": 96, + "column": 6 }, "end": { - "line": 72, - "column": 38 + "line": 96, + "column": 31 } - } + }, + "callee": { + "type": "MemberExpression", + "start": 2317, + "end": 2340, + "loc": { + "start": { + "line": 96, + "column": 6 + }, + "end": { + "line": 96, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 2317, + "end": 2321, + "loc": { + "start": { + "line": 96, + "column": 6 + }, + "end": { + "line": 96, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2322, + "end": 2340, + "loc": { + "start": { + "line": 96, + "column": 11 + }, + "end": { + "line": 96, + "column": 29 + }, + "identifierName": "buildCalendarRound" + }, + "name": "buildCalendarRound" + }, + "computed": false + }, + "arguments": [] }, - "property": { - "type": "Identifier", - "start": 2056, - "end": 2065, + { + "type": "CallExpression", + "start": 2350, + "end": 2362, "loc": { "start": { - "line": 72, - "column": 39 + "line": 97, + "column": 6 }, "end": { - "line": 72, - "column": 48 + "line": 97, + "column": 18 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2350, + "end": 2360, + "loc": { + "start": { + "line": 97, + "column": 6 + }, + "end": { + "line": 97, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 2350, + "end": 2354, + "loc": { + "start": { + "line": 97, + "column": 6 + }, + "end": { + "line": 97, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 2355, + "end": 2360, + "loc": { + "start": { + "line": 97, + "column": 11 + }, + "end": { + "line": 97, + "column": 16 + }, + "identifierName": "clone" + }, + "name": "clone" }, - "identifierName": "julianDay" + "computed": false }, - "name": "julianDay" - }, - "computed": false - } - ] + "arguments": [] + } + ] + } } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return a Julian representation of this long count date, offset by the correlation constant.\n * @return {JulianCalendarDate}\n ", - "start": 1859, - "end": 1999, - "loc": { - "start": { - "line": 67, - "column": 2 - }, - "end": { - "line": 70, - "column": 5 + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n *\n * @return {FullDate}\n ", + "start": 2227, + "end": 2265, + "loc": { + "start": { + "line": 90, + "column": 2 + }, + "end": { + "line": 93, + "column": 5 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Create a copy object of this long count fullDate\n * @returns {LongCount}\n ", - "start": 2075, - "end": 2164, - "loc": { - "start": { - "line": 75, - "column": 2 - }, - "end": { - "line": 78, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the sum of this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", + "start": 2377, + "end": 2505, + "loc": { + "start": { + "line": 101, + "column": 2 + }, + "end": { + "line": 105, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 2167, - "end": 2221, - "loc": { - "start": { - "line": 79, - "column": 2 - }, - "end": { - "line": 81, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2167, - "end": 2172, + { + "type": "ClassMethod", + "start": 2508, + "end": 2710, "loc": { "start": { - "line": 79, + "line": 106, "column": 2 }, "end": { - "line": 79, - "column": 7 - }, - "identifierName": "clone" - }, - "name": "clone", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 2175, - "end": 2221, - "loc": { - "start": { - "line": 79, - "column": 10 - }, - "end": { - "line": 81, + "line": 111, "column": 3 } }, - "body": [ + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2508, + "end": 2512, + "loc": { + "start": { + "line": 106, + "column": 2 + }, + "end": { + "line": 106, + "column": 6 + }, + "identifierName": "plus" + }, + "name": "plus", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "ReturnStatement", - "start": 2181, - "end": 2217, + "type": "Identifier", + "start": 2513, + "end": 2518, "loc": { "start": { - "line": 80, - "column": 4 + "line": 106, + "column": 7 }, "end": { - "line": 80, - "column": 40 - } + "line": 106, + "column": 12 + }, + "identifierName": "newLc" }, - "argument": { - "type": "NewExpression", - "start": 2188, - "end": 2216, + "name": "newLc" + } + ], + "body": { + "type": "BlockStatement", + "start": 2520, + "end": 2710, + "loc": { + "start": { + "line": 106, + "column": 14 + }, + "end": { + "line": 111, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2653, + "end": 2706, "loc": { "start": { - "line": 80, - "column": 11 + "line": 110, + "column": 4 }, "end": { - "line": 80, - "column": 39 + "line": 110, + "column": 57 } }, - "callee": { - "type": "Identifier", - "start": 2192, - "end": 2201, + "argument": { + "type": "NewExpression", + "start": 2660, + "end": 2705, "loc": { "start": { - "line": 80, - "column": 15 + "line": 110, + "column": 11 }, "end": { - "line": 80, - "column": 24 - }, - "identifierName": "LongCount" + "line": 110, + "column": 56 + } }, - "name": "LongCount" - }, - "arguments": [ - { - "type": "SpreadElement", - "start": 2202, - "end": 2215, + "callee": { + "type": "Identifier", + "start": 2664, + "end": 2681, "loc": { "start": { - "line": 80, - "column": 25 + "line": 110, + "column": 15 }, "end": { - "line": 80, - "column": 38 - } + "line": 110, + "column": 32 + }, + "identifierName": "LongcountAddition" }, - "argument": { - "type": "MemberExpression", - "start": 2205, - "end": 2215, + "name": "LongcountAddition" + }, + "arguments": [ + { + "type": "Identifier", + "start": 2682, + "end": 2691, "loc": { "start": { - "line": 80, - "column": 28 + "line": 110, + "column": 33 }, "end": { - "line": 80, - "column": 38 - } + "line": 110, + "column": 42 + }, + "identifierName": "LongCount" }, - "object": { - "type": "ThisExpression", - "start": 2205, - "end": 2209, - "loc": { - "start": { - "line": 80, - "column": 28 - }, - "end": { - "line": 80, - "column": 32 - } + "name": "LongCount" + }, + { + "type": "ThisExpression", + "start": 2693, + "end": 2697, + "loc": { + "start": { + "line": 110, + "column": 44 + }, + "end": { + "line": 110, + "column": 48 } - }, - "property": { - "type": "Identifier", - "start": 2210, - "end": 2215, - "loc": { - "start": { - "line": 80, - "column": 33 - }, - "end": { - "line": 80, - "column": 38 - }, - "identifierName": "parts" + } + }, + { + "type": "Identifier", + "start": 2699, + "end": 2704, + "loc": { + "start": { + "line": 110, + "column": 50 + }, + "end": { + "line": 110, + "column": 55 }, - "name": "parts" + "identifierName": "newLc" }, - "computed": false + "name": "newLc" + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", + "start": 2526, + "end": 2648, + "loc": { + "start": { + "line": 107, + "column": 4 + }, + "end": { + "line": 109, + "column": 7 + } } } ] } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Create a copy object of this long count fullDate\n * @returns {LongCount}\n ", - "start": 2075, - "end": 2164, - "loc": { - "start": { - "line": 75, - "column": 2 - }, - "end": { - "line": 78, - "column": 5 + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the sum of this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", + "start": 2377, + "end": 2505, + "loc": { + "start": { + "line": 101, + "column": 2 + }, + "end": { + "line": 105, + "column": 5 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n *\n * @return {LordOfNight}\n ", - "start": 2225, - "end": 2266, - "loc": { - "start": { - "line": 83, - "column": 2 - }, - "end": { - "line": 86, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the difference between this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", + "start": 2714, + "end": 2854, + "loc": { + "start": { + "line": 113, + "column": 2 + }, + "end": { + "line": 117, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 2269, - "end": 2368, - "loc": { - "start": { - "line": 87, - "column": 2 - }, - "end": { - "line": 91, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2273, - "end": 2284, - "loc": { - "start": { - "line": 87, - "column": 6 - }, - "end": { - "line": 87, - "column": 17 - }, - "identifierName": "lordOfNight" - }, - "name": "lordOfNight" + ] }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 2287, - "end": 2368, + { + "type": "ClassMethod", + "start": 2857, + "end": 3063, "loc": { "start": { - "line": 87, - "column": 20 + "line": 118, + "column": 2 }, "end": { - "line": 91, + "line": 123, "column": 3 } }, - "body": [ + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2857, + "end": 2862, + "loc": { + "start": { + "line": 118, + "column": 2 + }, + "end": { + "line": 118, + "column": 7 + }, + "identifierName": "minus" + }, + "name": "minus", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "ReturnStatement", - "start": 2293, - "end": 2364, + "type": "Identifier", + "start": 2863, + "end": 2868, "loc": { "start": { - "line": 88, - "column": 4 + "line": 118, + "column": 8 }, "end": { - "line": 90, - "column": 6 - } + "line": 118, + "column": 13 + }, + "identifierName": "newLc" }, - "argument": { - "type": "CallExpression", - "start": 2300, - "end": 2363, + "name": "newLc" + } + ], + "body": { + "type": "BlockStatement", + "start": 2870, + "end": 3063, + "loc": { + "start": { + "line": 118, + "column": 15 + }, + "end": { + "line": 123, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 3003, + "end": 3059, "loc": { "start": { - "line": 88, - "column": 11 + "line": 122, + "column": 4 }, "end": { - "line": 90, - "column": 5 + "line": 122, + "column": 60 } }, - "callee": { - "type": "MemberExpression", - "start": 2300, - "end": 2309, + "argument": { + "type": "NewExpression", + "start": 3010, + "end": 3058, "loc": { "start": { - "line": 88, + "line": 122, "column": 11 }, "end": { - "line": 88, - "column": 20 + "line": 122, + "column": 59 } }, - "object": { + "callee": { "type": "Identifier", - "start": 2300, - "end": 2305, + "start": 3014, + "end": 3034, "loc": { "start": { - "line": 88, - "column": 11 + "line": 122, + "column": 15 }, "end": { - "line": 88, - "column": 16 + "line": 122, + "column": 35 }, - "identifierName": "night" + "identifierName": "LongcountSubtraction" }, - "name": "night" + "name": "LongcountSubtraction" }, - "property": { - "type": "Identifier", - "start": 2306, - "end": 2309, + "arguments": [ + { + "type": "Identifier", + "start": 3035, + "end": 3044, + "loc": { + "start": { + "line": 122, + "column": 36 + }, + "end": { + "line": 122, + "column": 45 + }, + "identifierName": "LongCount" + }, + "name": "LongCount" + }, + { + "type": "ThisExpression", + "start": 3046, + "end": 3050, + "loc": { + "start": { + "line": 122, + "column": 47 + }, + "end": { + "line": 122, + "column": 51 + } + } + }, + { + "type": "Identifier", + "start": 3052, + "end": 3057, + "loc": { + "start": { + "line": 122, + "column": 53 + }, + "end": { + "line": 122, + "column": 58 + }, + "identifierName": "newLc" + }, + "name": "newLc" + } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", + "start": 2876, + "end": 2998, "loc": { "start": { - "line": 88, - "column": 17 + "line": 119, + "column": 4 }, "end": { - "line": 88, - "column": 20 - }, - "identifierName": "get" - }, - "name": "get" + "line": 121, + "column": 7 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the difference between this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", + "start": 2714, + "end": 2854, + "loc": { + "start": { + "line": 113, + "column": 2 + }, + "end": { + "line": 117, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return this Long Count as a Distance Number\n * @return {DistanceNumber}\n ", + "start": 3067, + "end": 3155, + "loc": { + "start": { + "line": 125, + "column": 2 + }, + "end": { + "line": 128, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 3158, + "end": 3228, + "loc": { + "start": { + "line": 129, + "column": 2 + }, + "end": { + "line": 131, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3158, + "end": 3174, + "loc": { + "start": { + "line": 129, + "column": 2 + }, + "end": { + "line": 129, + "column": 18 + }, + "identifierName": "asDistanceNumber" + }, + "name": "asDistanceNumber", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3177, + "end": 3228, + "loc": { + "start": { + "line": 129, + "column": 21 + }, + "end": { + "line": 131, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 3183, + "end": 3224, + "loc": { + "start": { + "line": 130, + "column": 4 }, - "computed": false + "end": { + "line": 130, + "column": 45 + } }, - "arguments": [ - { - "type": "TemplateLiteral", - "start": 2317, - "end": 2357, + "argument": { + "type": "NewExpression", + "start": 3190, + "end": 3223, + "loc": { + "start": { + "line": 130, + "column": 11 + }, + "end": { + "line": 130, + "column": 44 + } + }, + "callee": { + "type": "Identifier", + "start": 3194, + "end": 3208, "loc": { "start": { - "line": 89, - "column": 6 + "line": 130, + "column": 15 }, "end": { - "line": 89, - "column": 46 - } + "line": 130, + "column": 29 + }, + "identifierName": "DistanceNumber" }, - "expressions": [ - { - "type": "BinaryExpression", - "start": 2321, - "end": 2355, + "name": "DistanceNumber" + }, + "arguments": [ + { + "type": "SpreadElement", + "start": 3209, + "end": 3222, + "loc": { + "start": { + "line": 130, + "column": 30 + }, + "end": { + "line": 130, + "column": 43 + } + }, + "argument": { + "type": "MemberExpression", + "start": 3212, + "end": 3222, "loc": { "start": { - "line": 89, - "column": 10 + "line": 130, + "column": 33 }, "end": { - "line": 89, - "column": 44 + "line": 130, + "column": 43 } }, - "left": { - "type": "BinaryExpression", - "start": 2322, - "end": 2350, + "object": { + "type": "ThisExpression", + "start": 3212, + "end": 3216, "loc": { "start": { - "line": 89, - "column": 11 + "line": 130, + "column": 33 }, "end": { - "line": 89, - "column": 39 + "line": 130, + "column": 37 } - }, - "left": { - "type": "BinaryExpression", - "start": 2323, - "end": 2345, - "loc": { - "start": { - "line": 89, - "column": 12 - }, - "end": { - "line": 89, - "column": 34 - } - }, - "left": { - "type": "CallExpression", - "start": 2323, - "end": 2341, - "loc": { - "start": { - "line": 89, - "column": 12 - }, - "end": { - "line": 89, - "column": 30 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2323, - "end": 2339, - "loc": { - "start": { - "line": 89, - "column": 12 - }, - "end": { - "line": 89, - "column": 28 - } - }, - "object": { - "type": "ThisExpression", - "start": 2323, - "end": 2327, - "loc": { - "start": { - "line": 89, - "column": 12 - }, - "end": { - "line": 89, - "column": 16 - } - } - }, - "property": { - "type": "Identifier", - "start": 2328, - "end": 2339, - "loc": { - "start": { - "line": 89, - "column": 17 - }, - "end": { - "line": 89, - "column": 28 - }, - "identifierName": "getPosition" - }, - "name": "getPosition" - }, - "computed": false - }, - "arguments": [] - }, - "operator": "-", - "right": { - "type": "NumericLiteral", - "start": 2344, - "end": 2345, - "loc": { - "start": { - "line": 89, - "column": 33 - }, - "end": { - "line": 89, - "column": 34 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "extra": { - "parenthesized": true, - "parenStart": 2322 - } - }, - "operator": "%", - "right": { - "type": "NumericLiteral", - "start": 2349, - "end": 2350, - "loc": { - "start": { - "line": 89, - "column": 38 - }, - "end": { - "line": 89, - "column": 39 - } - }, - "extra": { - "rawValue": 9, - "raw": "9" - }, - "value": 9 - }, - "extra": { - "parenthesized": true, - "parenStart": 2321 } }, - "operator": "+", - "right": { - "type": "NumericLiteral", - "start": 2354, - "end": 2355, + "property": { + "type": "Identifier", + "start": 3217, + "end": 3222, "loc": { "start": { - "line": 89, - "column": 43 + "line": 130, + "column": 38 }, "end": { - "line": 89, - "column": 44 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 2318, - "end": 2319, - "loc": { - "start": { - "line": 89, - "column": 7 - }, - "end": { - "line": 89, - "column": 8 - } - }, - "value": { - "raw": "G", - "cooked": "G" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 2356, - "end": 2356, - "loc": { - "start": { - "line": 89, - "column": 45 + "line": 130, + "column": 43 + }, + "identifierName": "parts" }, - "end": { - "line": 89, - "column": 45 - } - }, - "value": { - "raw": "", - "cooked": "" + "name": "parts" }, - "tail": true + "computed": false } - ] - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n *\n * @return {LordOfNight}\n ", - "start": 2225, - "end": 2266, - "loc": { - "start": { - "line": 83, - "column": 2 - }, - "end": { - "line": 86, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n *\n * @return {CalendarRound}\n ", - "start": 2372, - "end": 2415, - "loc": { - "start": { - "line": 93, - "column": 2 - }, - "end": { - "line": 96, - "column": 5 + } + ] + } } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 2418, - "end": 2501, - "loc": { - "start": { - "line": 97, - "column": 2 - }, - "end": { - "line": 101, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2418, - "end": 2436, - "loc": { - "start": { - "line": 97, - "column": 2 - }, - "end": { - "line": 97, - "column": 20 - }, - "identifierName": "buildCalendarRound" + ], + "directives": [] }, - "name": "buildCalendarRound", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 2439, - "end": 2501, - "loc": { - "start": { - "line": 97, - "column": 23 - }, - "end": { - "line": 101, - "column": 3 - } - }, - "body": [ + "leadingComments": [ { - "type": "ReturnStatement", - "start": 2445, - "end": 2497, + "type": "CommentBlock", + "value": "*\n * Return this Long Count as a Distance Number\n * @return {DistanceNumber}\n ", + "start": 3067, + "end": 3155, "loc": { "start": { - "line": 98, - "column": 4 + "line": 125, + "column": 2 }, "end": { - "line": 100, - "column": 6 + "line": 128, + "column": 5 } - }, - "argument": { - "type": "CallExpression", - "start": 2452, - "end": 2496, - "loc": { - "start": { - "line": 98, - "column": 11 - }, - "end": { - "line": 100, - "column": 5 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2452, - "end": 2464, - "loc": { - "start": { - "line": 98, - "column": 11 - }, - "end": { - "line": 98, - "column": 23 - } - }, - "object": { - "type": "Identifier", - "start": 2452, - "end": 2458, - "loc": { - "start": { - "line": 98, - "column": 11 - }, - "end": { - "line": 98, - "column": 17 - }, - "identifierName": "origin" - }, - "name": "origin" - }, - "property": { - "type": "Identifier", - "start": 2459, - "end": 2464, - "loc": { - "start": { - "line": 98, - "column": 18 - }, - "end": { - "line": 98, - "column": 23 - }, - "identifierName": "shift" - }, - "name": "shift" - }, - "computed": false - }, - "arguments": [ - { - "type": "CallExpression", - "start": 2472, - "end": 2490, - "loc": { - "start": { - "line": 99, - "column": 6 - }, - "end": { - "line": 99, - "column": 24 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2472, - "end": 2488, - "loc": { - "start": { - "line": 99, - "column": 6 - }, - "end": { - "line": 99, - "column": 22 - } - }, - "object": { - "type": "ThisExpression", - "start": 2472, - "end": 2476, - "loc": { - "start": { - "line": 99, - "column": 6 - }, - "end": { - "line": 99, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 2477, - "end": 2488, - "loc": { - "start": { - "line": 99, - "column": 11 - }, - "end": { - "line": 99, - "column": 22 - }, - "identifierName": "getPosition" - }, - "name": "getPosition" - }, - "computed": false - }, - "arguments": [] - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n *\n * @return {CalendarRound}\n ", - "start": 2372, - "end": 2415, - "loc": { - "start": { - "line": 93, - "column": 2 - }, - "end": { - "line": 96, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n *\n * @return {FullDate}\n ", - "start": 2505, - "end": 2543, - "loc": { - "start": { - "line": 103, - "column": 2 - }, - "end": { - "line": 106, - "column": 5 } } - } - ] - }, + ] + } + ] + }, + "leadingComments": [ { - "type": "ClassMethod", - "start": 2546, - "end": 2651, + "type": "CommentBlock", + "value": "*\n * Long Count cycle\n ", + "start": 476, + "end": 503, "loc": { "start": { - "line": 107, - "column": 2 + "line": 11, + "column": 0 }, "end": { - "line": 112, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2546, - "end": 2559, - "loc": { - "start": { - "line": 107, - "column": 2 - }, - "end": { - "line": 107, - "column": 15 - }, - "identifierName": "buildFullDate" - }, - "name": "buildFullDate", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 2562, - "end": 2651, - "loc": { - "start": { - "line": 107, - "column": 18 - }, - "end": { - "line": 112, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 2568, - "end": 2647, - "loc": { - "start": { - "line": 108, - "column": 4 - }, - "end": { - "line": 111, - "column": 6 - } - }, - "argument": { - "type": "NewExpression", - "start": 2575, - "end": 2646, - "loc": { - "start": { - "line": 108, - "column": 11 - }, - "end": { - "line": 111, - "column": 5 - } - }, - "callee": { - "type": "Identifier", - "start": 2579, - "end": 2587, - "loc": { - "start": { - "line": 108, - "column": 15 - }, - "end": { - "line": 108, - "column": 23 - }, - "identifierName": "FullDate" - }, - "name": "FullDate" - }, - "arguments": [ - { - "type": "CallExpression", - "start": 2595, - "end": 2620, - "loc": { - "start": { - "line": 109, - "column": 6 - }, - "end": { - "line": 109, - "column": 31 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2595, - "end": 2618, - "loc": { - "start": { - "line": 109, - "column": 6 - }, - "end": { - "line": 109, - "column": 29 - } - }, - "object": { - "type": "ThisExpression", - "start": 2595, - "end": 2599, - "loc": { - "start": { - "line": 109, - "column": 6 - }, - "end": { - "line": 109, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 2600, - "end": 2618, - "loc": { - "start": { - "line": 109, - "column": 11 - }, - "end": { - "line": 109, - "column": 29 - }, - "identifierName": "buildCalendarRound" - }, - "name": "buildCalendarRound" - }, - "computed": false - }, - "arguments": [] - }, - { - "type": "CallExpression", - "start": 2628, - "end": 2640, - "loc": { - "start": { - "line": 110, - "column": 6 - }, - "end": { - "line": 110, - "column": 18 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2628, - "end": 2638, - "loc": { - "start": { - "line": 110, - "column": 6 - }, - "end": { - "line": 110, - "column": 16 - } - }, - "object": { - "type": "ThisExpression", - "start": 2628, - "end": 2632, - "loc": { - "start": { - "line": 110, - "column": 6 - }, - "end": { - "line": 110, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 2633, - "end": 2638, - "loc": { - "start": { - "line": 110, - "column": 11 - }, - "end": { - "line": 110, - "column": 16 - }, - "identifierName": "clone" - }, - "name": "clone" - }, - "computed": false - }, - "arguments": [] - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n *\n * @return {FullDate}\n ", - "start": 2505, - "end": 2543, - "loc": { - "start": { - "line": 103, - "column": 2 - }, - "end": { - "line": 106, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the sum of this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", - "start": 2655, - "end": 2783, - "loc": { - "start": { - "line": 114, - "column": 2 - }, - "end": { - "line": 118, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 2786, - "end": 2988, - "loc": { - "start": { - "line": 119, - "column": 2 - }, - "end": { - "line": 124, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2786, - "end": 2790, - "loc": { - "start": { - "line": 119, - "column": 2 - }, - "end": { - "line": 119, - "column": 6 - }, - "identifierName": "plus" - }, - "name": "plus", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 2791, - "end": 2796, - "loc": { - "start": { - "line": 119, - "column": 7 - }, - "end": { - "line": 119, - "column": 12 - }, - "identifierName": "newLc" - }, - "name": "newLc" - } - ], - "body": { - "type": "BlockStatement", - "start": 2798, - "end": 2988, - "loc": { - "start": { - "line": 119, - "column": 14 - }, - "end": { - "line": 124, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 2931, - "end": 2984, - "loc": { - "start": { - "line": 123, - "column": 4 - }, - "end": { - "line": 123, - "column": 57 - } - }, - "argument": { - "type": "NewExpression", - "start": 2938, - "end": 2983, - "loc": { - "start": { - "line": 123, - "column": 11 - }, - "end": { - "line": 123, - "column": 56 - } - }, - "callee": { - "type": "Identifier", - "start": 2942, - "end": 2959, - "loc": { - "start": { - "line": 123, - "column": 15 - }, - "end": { - "line": 123, - "column": 32 - }, - "identifierName": "LongcountAddition" - }, - "name": "LongcountAddition" - }, - "arguments": [ - { - "type": "Identifier", - "start": 2960, - "end": 2969, - "loc": { - "start": { - "line": 123, - "column": 33 - }, - "end": { - "line": 123, - "column": 42 - }, - "identifierName": "LongCount" - }, - "name": "LongCount" - }, - { - "type": "ThisExpression", - "start": 2971, - "end": 2975, - "loc": { - "start": { - "line": 123, - "column": 44 - }, - "end": { - "line": 123, - "column": 48 - } - } - }, - { - "type": "Identifier", - "start": 2977, - "end": 2982, - "loc": { - "start": { - "line": 123, - "column": 50 - }, - "end": { - "line": 123, - "column": 55 - }, - "identifierName": "newLc" - }, - "name": "newLc" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", - "start": 2804, - "end": 2926, - "loc": { - "start": { - "line": 120, - "column": 4 - }, - "end": { - "line": 122, - "column": 7 - } - } - } - ] - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the sum of this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", - "start": 2655, - "end": 2783, - "loc": { - "start": { - "line": 114, - "column": 2 - }, - "end": { - "line": 118, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the difference between this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", - "start": 2992, - "end": 3132, - "loc": { - "start": { - "line": 126, - "column": 2 - }, - "end": { - "line": 130, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 3135, - "end": 3341, - "loc": { - "start": { - "line": 131, - "column": 2 - }, - "end": { - "line": 136, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3135, - "end": 3140, - "loc": { - "start": { - "line": 131, - "column": 2 - }, - "end": { - "line": 131, - "column": 7 - }, - "identifierName": "minus" - }, - "name": "minus", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 3141, - "end": 3146, - "loc": { - "start": { - "line": 131, - "column": 8 - }, - "end": { - "line": 131, - "column": 13 - }, - "identifierName": "newLc" - }, - "name": "newLc" - } - ], - "body": { - "type": "BlockStatement", - "start": 3148, - "end": 3341, - "loc": { - "start": { - "line": 131, - "column": 15 - }, - "end": { - "line": 136, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 3281, - "end": 3337, - "loc": { - "start": { - "line": 135, - "column": 4 - }, - "end": { - "line": 135, - "column": 60 - } - }, - "argument": { - "type": "NewExpression", - "start": 3288, - "end": 3336, - "loc": { - "start": { - "line": 135, - "column": 11 - }, - "end": { - "line": 135, - "column": 59 - } - }, - "callee": { - "type": "Identifier", - "start": 3292, - "end": 3312, - "loc": { - "start": { - "line": 135, - "column": 15 - }, - "end": { - "line": 135, - "column": 35 - }, - "identifierName": "LongcountSubtraction" - }, - "name": "LongcountSubtraction" - }, - "arguments": [ - { - "type": "Identifier", - "start": 3313, - "end": 3322, - "loc": { - "start": { - "line": 135, - "column": 36 - }, - "end": { - "line": 135, - "column": 45 - }, - "identifierName": "LongCount" - }, - "name": "LongCount" - }, - { - "type": "ThisExpression", - "start": 3324, - "end": 3328, - "loc": { - "start": { - "line": 135, - "column": 47 - }, - "end": { - "line": 135, - "column": 51 - } - } - }, - { - "type": "Identifier", - "start": 3330, - "end": 3335, - "loc": { - "start": { - "line": 135, - "column": 53 - }, - "end": { - "line": 135, - "column": 58 - }, - "identifierName": "newLc" - }, - "name": "newLc" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", - "start": 3154, - "end": 3276, - "loc": { - "start": { - "line": 132, - "column": 4 - }, - "end": { - "line": 134, - "column": 7 - } - } - } - ] - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the difference between this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", - "start": 2992, - "end": 3132, - "loc": { - "start": { - "line": 126, - "column": 2 - }, - "end": { - "line": 130, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return this Long Count as a Distance Number\n * @return {DistanceNumber}\n ", - "start": 3345, - "end": 3433, - "loc": { - "start": { - "line": 138, - "column": 2 - }, - "end": { - "line": 141, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 3436, - "end": 3506, - "loc": { - "start": { - "line": 142, - "column": 2 - }, - "end": { - "line": 144, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3436, - "end": 3452, - "loc": { - "start": { - "line": 142, - "column": 2 - }, - "end": { - "line": 142, - "column": 18 - }, - "identifierName": "asDistanceNumber" - }, - "name": "asDistanceNumber", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 3455, - "end": 3506, - "loc": { - "start": { - "line": 142, - "column": 21 - }, - "end": { - "line": 144, - "column": 3 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 3461, - "end": 3502, - "loc": { - "start": { - "line": 143, - "column": 4 - }, - "end": { - "line": 143, - "column": 45 - } - }, - "argument": { - "type": "NewExpression", - "start": 3468, - "end": 3501, - "loc": { - "start": { - "line": 143, - "column": 11 - }, - "end": { - "line": 143, - "column": 44 - } - }, - "callee": { - "type": "Identifier", - "start": 3472, - "end": 3486, - "loc": { - "start": { - "line": 143, - "column": 15 - }, - "end": { - "line": 143, - "column": 29 - }, - "identifierName": "DistanceNumber" - }, - "name": "DistanceNumber" - }, - "arguments": [ - { - "type": "SpreadElement", - "start": 3487, - "end": 3500, - "loc": { - "start": { - "line": 143, - "column": 30 - }, - "end": { - "line": 143, - "column": 43 - } - }, - "argument": { - "type": "MemberExpression", - "start": 3490, - "end": 3500, - "loc": { - "start": { - "line": 143, - "column": 33 - }, - "end": { - "line": 143, - "column": 43 - } - }, - "object": { - "type": "ThisExpression", - "start": 3490, - "end": 3494, - "loc": { - "start": { - "line": 143, - "column": 33 - }, - "end": { - "line": 143, - "column": 37 - } - } - }, - "property": { - "type": "Identifier", - "start": 3495, - "end": 3500, - "loc": { - "start": { - "line": 143, - "column": 38 - }, - "end": { - "line": 143, - "column": 43 - }, - "identifierName": "parts" - }, - "name": "parts" - }, - "computed": false - } - } - ] - } - } - ], - "directives": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return this Long Count as a Distance Number\n * @return {DistanceNumber}\n ", - "start": 3345, - "end": 3433, - "loc": { - "start": { - "line": 138, - "column": 2 - }, - "end": { - "line": 141, - "column": 5 - } - } - } - ] - } - ] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Long Count cycle\n ", - "start": 772, - "end": 799, - "loc": { - "start": { - "line": 24, - "column": 0 - }, - "end": { - "line": 26, - "column": 3 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 3510, - "end": 3537, - "loc": { - "start": { - "line": 147, - "column": 0 - }, - "end": { - "line": 147, - "column": 27 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 3510, - "end": 3536, - "loc": { - "start": { - "line": 147, - "column": 0 - }, - "end": { - "line": 147, - "column": 26 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 3510, - "end": 3524, - "loc": { - "start": { - "line": 147, - "column": 0 - }, - "end": { - "line": 147, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 3510, - "end": 3516, - "loc": { - "start": { - "line": 147, - "column": 0 - }, - "end": { - "line": 147, - "column": 6 - }, - "identifierName": "module" - }, - "name": "module" - }, - "property": { - "type": "Identifier", - "start": 3517, - "end": 3524, - "loc": { - "start": { - "line": 147, - "column": 7 - }, - "end": { - "line": 147, - "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 3527, - "end": 3536, - "loc": { - "start": { - "line": 147, - "column": 17 - }, - "end": { - "line": 147, - "column": 26 - }, - "identifierName": "LongCount" - }, - "name": "LongCount" - } - } - } - ], - "directives": [] - }, - "comments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 55, - "end": 69, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 111, - "end": 125, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 176, - "end": 190, - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 233, - "end": 247, - "loc": { - "start": { - "line": 9, - "column": 0 - }, - "end": { - "line": 9, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 296, - "end": 310, - "loc": { - "start": { - "line": 11, - "column": 0 - }, - "end": { - "line": 11, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 382, - "end": 396, - "loc": { - "start": { - "line": 13, - "column": 0 - }, - "end": { - "line": 13, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 474, - "end": 488, - "loc": { - "start": { - "line": 15, - "column": 0 - }, - "end": { - "line": 15, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 555, - "end": 569, - "loc": { - "start": { - "line": 17, - "column": 0 - }, - "end": { - "line": 17, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 632, - "end": 646, - "loc": { - "start": { - "line": 19, - "column": 0 - }, - "end": { - "line": 19, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 703, - "end": 717, - "loc": { - "start": { - "line": 21, - "column": 0 - }, - "end": { - "line": 21, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Long Count cycle\n ", - "start": 772, - "end": 799, - "loc": { - "start": { - "line": 24, - "column": 0 - }, - "end": { - "line": 26, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @param {...number|Wildcard} cycles - Components in the long count\n * (eg, K'in, Winal, Bak'tun, etc)\n ", - "start": 843, - "end": 960, - "loc": { - "start": { - "line": 28, - "column": 2 - }, - "end": { - "line": 31, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Correlation constant to allow alignment with western calendars\n * @type {CorrelationConstant}\n ", - "start": 1014, - "end": 1130, - "loc": { - "start": { - "line": 34, - "column": 4 - }, - "end": { - "line": 37, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Chainable method to set the correlation constant\n * @param {CorrelationConstant} newConstant\n * @return {LongCount}\n ", - "start": 1201, - "end": 1335, - "loc": { - "start": { - "line": 41, - "column": 2 - }, - "end": { - "line": 45, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return a representation of this Long Count in Julian Days.\n * @return {number}\n ", - "start": 1444, - "end": 1539, - "loc": { - "start": { - "line": 51, - "column": 2 - }, - "end": { - "line": 54, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return a Gregorian representation of this long count date, offset by the correlation constant.\n * @return {GregorianCalendarDate}\n ", - "start": 1631, - "end": 1777, - "loc": { - "start": { - "line": 59, - "column": 2 - }, - "end": { - "line": 62, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return a Julian representation of this long count date, offset by the correlation constant.\n * @return {JulianCalendarDate}\n ", - "start": 1859, - "end": 1999, - "loc": { - "start": { - "line": 67, - "column": 2 - }, - "end": { - "line": 70, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Create a copy object of this long count fullDate\n * @returns {LongCount}\n ", - "start": 2075, - "end": 2164, - "loc": { - "start": { - "line": 75, - "column": 2 - }, - "end": { - "line": 78, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n *\n * @return {LordOfNight}\n ", - "start": 2225, - "end": 2266, - "loc": { - "start": { - "line": 83, - "column": 2 - }, - "end": { - "line": 86, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n *\n * @return {CalendarRound}\n ", - "start": 2372, - "end": 2415, - "loc": { - "start": { - "line": 93, - "column": 2 - }, - "end": { - "line": 96, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n *\n * @return {FullDate}\n ", - "start": 2505, - "end": 2543, - "loc": { - "start": { - "line": 103, - "column": 2 - }, - "end": { - "line": 106, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return the sum of this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", - "start": 2655, - "end": 2783, - "loc": { - "start": { - "line": 114, - "column": 2 - }, - "end": { - "line": 118, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", - "start": 2804, - "end": 2926, - "loc": { - "start": { - "line": 120, - "column": 4 - }, - "end": { - "line": 122, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return the difference between this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", - "start": 2992, - "end": 3132, - "loc": { - "start": { - "line": 126, - "column": 2 - }, - "end": { - "line": 130, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", - "start": 3154, - "end": 3276, - "loc": { - "start": { - "line": 132, - "column": 4 - }, - "end": { - "line": 134, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Return this Long Count as a Distance Number\n * @return {DistanceNumber}\n ", - "start": 3345, - "end": 3433, - "loc": { - "start": { - "line": 138, - "column": 2 - }, - "end": { - "line": 141, - "column": 5 - } - } - } - ], - "tokens": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 15, - "end": 20, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "moonbeams", - "start": 21, - "end": 30, - "loc": { - "start": { - "line": 2, - "column": 6 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 31, - "end": 32, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "require", - "start": 33, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 40, - "end": 41, - "loc": { - "start": { - "line": 2, - "column": 25 - }, - "end": { - "line": 2, - "column": 26 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "moonbeams", - "start": 41, - "end": 52, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 52, - "end": 53, - "loc": { - "start": { - "line": 2, - "column": 37 - }, - "end": { - "line": 2, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 53, - "end": 54, - "loc": { - "start": { - "line": 2, - "column": 38 - }, - "end": { - "line": 2, - "column": 39 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 55, - "end": 69, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 70, - "end": 75, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "wildcard", - "start": 76, - "end": 84, - "loc": { - "start": { - "line": 4, - "column": 6 - }, - "end": { - "line": 4, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 85, - "end": 86, - "loc": { - "start": { - "line": 4, - "column": 15 - }, - "end": { - "line": 4, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "require", - "start": 87, - "end": 94, - "loc": { - "start": { - "line": 4, - "column": 17 - }, - "end": { - "line": 4, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 94, - "end": 95, - "loc": { - "start": { - "line": 4, - "column": 24 - }, - "end": { - "line": 4, - "column": 25 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "../wildcard", - "start": 95, - "end": 108, - "loc": { - "start": { - "line": 4, - "column": 25 - }, - "end": { - "line": 4, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 108, - "end": 109, - "loc": { - "start": { - "line": 4, - "column": 38 - }, - "end": { - "line": 4, - "column": 39 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 109, - "end": 110, - "loc": { - "start": { - "line": 4, - "column": 39 - }, - "end": { - "line": 4, - "column": 40 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 111, - "end": 125, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 126, - "end": 131, - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 5 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 132, - "end": 133, - "loc": { - "start": { - "line": 6, - "column": 6 - }, - "end": { - "line": 6, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "origin", - "start": 133, - "end": 139, - "loc": { - "start": { - "line": 6, - "column": 7 - }, - "end": { - "line": 6, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 139, - "end": 140, - "loc": { - "start": { - "line": 6, - "column": 13 - }, - "end": { - "line": 6, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 141, - "end": 142, - "loc": { - "start": { - "line": 6, - "column": 15 - }, - "end": { - "line": 6, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "require", - "start": 143, - "end": 150, - "loc": { - "start": { - "line": 6, - "column": 17 - }, - "end": { - "line": 6, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 150, - "end": 151, - "loc": { - "start": { - "line": 6, - "column": 24 - }, - "end": { - "line": 6, - "column": 25 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "../cr/calendar-round", - "start": 151, - "end": 173, - "loc": { - "start": { - "line": 6, - "column": 25 - }, - "end": { - "line": 6, - "column": 47 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 173, - "end": 174, - "loc": { - "start": { - "line": 6, - "column": 47 - }, - "end": { - "line": 6, - "column": 48 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 174, - "end": 175, - "loc": { - "start": { - "line": 6, - "column": 48 - }, - "end": { - "line": 6, - "column": 49 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 176, - "end": 190, - "loc": { - "start": { - "line": 7, - "column": 0 - }, - "end": { - "line": 7, - "column": 14 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 191, - "end": 196, - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 8, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "FullDate", - "start": 197, - "end": 205, - "loc": { - "start": { - "line": 8, - "column": 6 - }, - "end": { - "line": 8, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 206, - "end": 207, - "loc": { - "start": { - "line": 8, - "column": 15 - }, - "end": { - "line": 8, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "require", - "start": 208, - "end": 215, - "loc": { - "start": { - "line": 8, - "column": 17 - }, - "end": { - "line": 8, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 215, - "end": 216, - "loc": { - "start": { - "line": 8, - "column": 24 + "line": 13, + "column": 3 + } + } + } + ], + "trailingComments": [] }, - "end": { - "line": 8, - "column": 25 - } + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Long Count cycle\n ", + "start": 476, + "end": 503, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ] } - }, + ], + "directives": [] + }, + "comments": [ { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "../full-date", - "start": 216, - "end": 230, + "type": "CommentBlock", + "value": "*\n * Long Count cycle\n ", + "start": 476, + "end": 503, "loc": { "start": { - "line": 8, - "column": 25 + "line": 11, + "column": 0 }, "end": { - "line": 8, - "column": 39 + "line": 13, + "column": 3 } } }, { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 230, - "end": 231, + "type": "CommentBlock", + "value": "*\n * @param {...number|Wildcard} cycles - Components in the long count\n * (eg, K'in, Winal, Bak'tun, etc)\n ", + "start": 562, + "end": 679, "loc": { "start": { - "line": 8, - "column": 39 + "line": 15, + "column": 2 }, "end": { - "line": 8, - "column": 40 + "line": 18, + "column": 5 } } }, { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 231, - "end": 232, + "type": "CommentBlock", + "value": "*\n * Correlation constant to allow alignment with western calendars\n * @type {CorrelationConstant}\n ", + "start": 733, + "end": 849, "loc": { "start": { - "line": 8, - "column": 40 + "line": 21, + "column": 4 }, "end": { - "line": 8, - "column": 41 + "line": 24, + "column": 7 } } }, { "type": "CommentBlock", - "value": "* @ignore ", - "start": 233, - "end": 247, + "value": "*\n * Chainable method to set the correlation constant\n * @param {CorrelationConstant} newConstant\n * @return {LongCount}\n ", + "start": 920, + "end": 1054, "loc": { "start": { - "line": 9, - "column": 0 + "line": 28, + "column": 2 }, "end": { - "line": 9, - "column": 14 + "line": 32, + "column": 5 } } }, { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 248, - "end": 253, + "type": "CommentBlock", + "value": "*\n * Return a representation of this Long Count in Julian Days.\n * @return {number}\n ", + "start": 1163, + "end": 1258, "loc": { "start": { - "line": 10, - "column": 0 + "line": 38, + "column": 2 }, "end": { - "line": 10, + "line": 41, "column": 5 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "night", - "start": 254, - "end": 259, + "type": "CommentBlock", + "value": "*\n * Return a Gregorian representation of this long count date, offset by the correlation constant.\n * @return {GregorianCalendarDate}\n ", + "start": 1350, + "end": 1496, "loc": { "start": { - "line": 10, - "column": 6 + "line": 46, + "column": 2 }, "end": { - "line": 10, - "column": 11 + "line": 49, + "column": 5 } } }, { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 260, - "end": 261, + "type": "CommentBlock", + "value": "*\n * Return a Julian representation of this long count date, offset by the correlation constant.\n * @return {JulianCalendarDate}\n ", + "start": 1578, + "end": 1718, "loc": { "start": { - "line": 10, - "column": 12 + "line": 54, + "column": 2 }, "end": { - "line": 10, - "column": 13 + "line": 57, + "column": 5 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "require", - "start": 262, - "end": 269, + "type": "CommentBlock", + "value": "*\n * Create a copy object of this long count fullDate\n * @returns {LongCount}\n ", + "start": 1794, + "end": 1883, "loc": { "start": { - "line": 10, - "column": 14 + "line": 62, + "column": 2 }, "end": { - "line": 10, - "column": 21 + "line": 65, + "column": 5 } } }, { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 269, - "end": 270, + "type": "CommentBlock", + "value": "*\n *\n * @return {LordOfNight}\n ", + "start": 1944, + "end": 1985, "loc": { "start": { - "line": 10, - "column": 21 + "line": 70, + "column": 2 }, "end": { - "line": 10, - "column": 22 + "line": 73, + "column": 5 } } }, { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./night/lord-of-night", - "start": 270, - "end": 293, + "type": "CommentBlock", + "value": "*\n *\n * @return {CalendarRound}\n ", + "start": 2091, + "end": 2134, "loc": { "start": { - "line": 10, - "column": 22 + "line": 80, + "column": 2 }, "end": { - "line": 10, - "column": 45 + "line": 83, + "column": 5 } } }, { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 293, - "end": 294, + "type": "CommentBlock", + "value": "*\n *\n * @return {FullDate}\n ", + "start": 2227, + "end": 2265, "loc": { "start": { - "line": 10, - "column": 45 + "line": 90, + "column": 2 }, "end": { - "line": 10, - "column": 46 + "line": 93, + "column": 5 } } }, { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 294, - "end": 295, + "type": "CommentBlock", + "value": "*\n * Return the sum of this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", + "start": 2377, + "end": 2505, "loc": { "start": { - "line": 10, - "column": 46 + "line": 101, + "column": 2 }, "end": { - "line": 10, - "column": 47 + "line": 105, + "column": 5 } } }, { "type": "CommentBlock", - "value": "* @ignore ", - "start": 296, - "end": 310, + "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", + "start": 2526, + "end": 2648, "loc": { "start": { - "line": 11, - "column": 0 + "line": 107, + "column": 4 }, "end": { - "line": 11, - "column": 14 + "line": 109, + "column": 7 } } }, { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 311, - "end": 316, + "type": "CommentBlock", + "value": "*\n * Return the difference between this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", + "start": 2714, + "end": 2854, "loc": { "start": { - "line": 12, - "column": 0 + "line": 113, + "column": 2 }, "end": { - "line": 12, + "line": 117, "column": 5 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "LongcountAddition", - "start": 317, - "end": 334, + "type": "CommentBlock", + "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", + "start": 2876, + "end": 2998, "loc": { "start": { - "line": 12, - "column": 6 + "line": 119, + "column": 4 }, "end": { - "line": 12, - "column": 23 + "line": 121, + "column": 7 } } }, + { + "type": "CommentBlock", + "value": "*\n * Return this Long Count as a Distance Number\n * @return {DistanceNumber}\n ", + "start": 3067, + "end": 3155, + "loc": { + "start": { + "line": 125, + "column": 2 + }, + "end": { + "line": 128, + "column": 5 + } + } + } + ], + "tokens": [ { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 335, - "end": 336, + "value": "import", + "start": 0, + "end": 6, "loc": { "start": { - "line": 12, - "column": 24 + "line": 1, + "column": 0 }, "end": { - "line": 12, - "column": 25 + "line": 1, + "column": 6 } } }, @@ -6622,24 +4186,24 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 337, - "end": 344, + "value": "cr", + "start": 7, + "end": 9, "loc": { "start": { - "line": 12, - "column": 26 + "line": 1, + "column": 7 }, "end": { - "line": 12, - "column": 33 + "line": 1, + "column": 9 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -6648,16 +4212,17 @@ "postfix": false, "binop": null }, - "start": 344, - "end": 345, + "value": "from", + "start": 11, + "end": 15, "loc": { "start": { - "line": 12, - "column": 33 + "line": 1, + "column": 11 }, "end": { - "line": 12, - "column": 34 + "line": 1, + "column": 15 } } }, @@ -6674,50 +4239,52 @@ "binop": null, "updateContext": null }, - "value": "../operations/longcount-addition", - "start": 345, - "end": 379, + "value": "../cr/calendar-round", + "start": 16, + "end": 38, "loc": { "start": { - "line": 12, - "column": 34 + "line": 1, + "column": 16 }, "end": { - "line": 12, - "column": 68 + "line": 1, + "column": 38 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 379, - "end": 380, + "start": 38, + "end": 39, "loc": { "start": { - "line": 12, - "column": 68 + "line": 1, + "column": 38 }, "end": { - "line": 12, - "column": 69 + "line": 1, + "column": 39 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -6726,66 +4293,75 @@ "binop": null, "updateContext": null }, - "start": 380, - "end": 381, + "value": "import", + "start": 40, + "end": 46, "loc": { "start": { - "line": 12, - "column": 69 + "line": 2, + "column": 0 }, "end": { - "line": 12, - "column": 70 + "line": 2, + "column": 6 } } }, { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 382, - "end": 396, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "FullDate", + "start": 47, + "end": 55, "loc": { "start": { - "line": 13, - "column": 0 + "line": 2, + "column": 7 }, "end": { - "line": 13, - "column": 14 + "line": 2, + "column": 15 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 397, - "end": 402, + "value": "from", + "start": 56, + "end": 60, "loc": { "start": { - "line": 14, - "column": 0 + "line": 2, + "column": 16 }, "end": { - "line": 14, - "column": 5 + "line": 2, + "column": 20 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -6793,52 +4369,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "LongcountSubtraction", - "start": 403, - "end": 423, + "value": "../full-date", + "start": 61, + "end": 75, "loc": { "start": { - "line": 14, - "column": 6 + "line": 2, + "column": 21 }, "end": { - "line": 14, - "column": 26 + "line": 2, + "column": 35 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 424, - "end": 425, + "start": 75, + "end": 76, "loc": { "start": { - "line": 14, - "column": 27 + "line": 2, + "column": 35 }, "end": { - "line": 14, - "column": 28 + "line": 2, + "column": 36 } } }, { "type": { - "label": "name", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -6846,26 +4423,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "require", - "start": 426, - "end": 433, + "value": "import", + "start": 77, + "end": 83, "loc": { "start": { - "line": 14, - "column": 29 + "line": 3, + "column": 0 }, "end": { - "line": 14, - "column": 36 + "line": 3, + "column": 6 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -6874,22 +4452,23 @@ "postfix": false, "binop": null }, - "start": 433, - "end": 434, + "value": "night", + "start": 84, + "end": 89, "loc": { "start": { - "line": 14, - "column": 36 + "line": 3, + "column": 7 }, "end": { - "line": 14, - "column": 37 + "line": 3, + "column": 12 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -6897,45 +4476,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "../operations/longcount-subtraction", - "start": 434, - "end": 471, + "value": "from", + "start": 90, + "end": 94, "loc": { "start": { - "line": 14, - "column": 37 + "line": 3, + "column": 13 }, "end": { - "line": 14, - "column": 74 + "line": 3, + "column": 17 } } }, { "type": { - "label": ")", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 471, - "end": 472, + "value": "./night/lord-of-night", + "start": 95, + "end": 118, "loc": { "start": { - "line": 14, - "column": 74 + "line": 3, + "column": 18 }, "end": { - "line": 14, - "column": 75 + "line": 3, + "column": 41 } } }, @@ -6952,41 +4532,25 @@ "binop": null, "updateContext": null }, - "start": 472, - "end": 473, - "loc": { - "start": { - "line": 14, - "column": 75 - }, - "end": { - "line": 14, - "column": 76 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 474, - "end": 488, + "start": 118, + "end": 119, "loc": { "start": { - "line": 15, - "column": 0 + "line": 3, + "column": 41 }, "end": { - "line": 15, - "column": 14 + "line": 3, + "column": 42 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -6995,17 +4559,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 489, - "end": 494, + "value": "import", + "start": 120, + "end": 126, "loc": { "start": { - "line": 16, + "line": 4, "column": 0 }, "end": { - "line": 16, - "column": 5 + "line": 4, + "column": 6 } } }, @@ -7021,50 +4585,49 @@ "postfix": false, "binop": null }, - "value": "getCorrelationConstant", - "start": 495, - "end": 517, + "value": "LongcountAddition", + "start": 127, + "end": 144, "loc": { "start": { - "line": 16, - "column": 6 + "line": 4, + "column": 7 }, "end": { - "line": 16, - "column": 28 + "line": 4, + "column": 24 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 518, - "end": 519, + "value": "from", + "start": 145, + "end": 149, "loc": { "start": { - "line": 16, - "column": 29 + "line": 4, + "column": 25 }, "end": { - "line": 16, - "column": 30 + "line": 4, + "column": 29 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -7072,50 +4635,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "require", - "start": 520, - "end": 527, + "value": "../operations/longcount-addition", + "start": 150, + "end": 184, "loc": { "start": { - "line": 16, - "column": 31 + "line": 4, + "column": 30 }, "end": { - "line": 16, - "column": 38 + "line": 4, + "column": 64 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 527, - "end": 528, + "start": 184, + "end": 185, "loc": { "start": { - "line": 16, - "column": 38 + "line": 4, + "column": 64 }, "end": { - "line": 16, - "column": 39 + "line": 4, + "column": 65 } } }, { "type": { - "label": "string", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -7126,25 +4692,25 @@ "binop": null, "updateContext": null }, - "value": "./correlation-constant", - "start": 528, - "end": 552, + "value": "import", + "start": 186, + "end": 192, "loc": { "start": { - "line": 16, - "column": 39 + "line": 5, + "column": 0 }, "end": { - "line": 16, - "column": 63 + "line": 5, + "column": 6 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7152,67 +4718,51 @@ "postfix": false, "binop": null }, - "start": 552, - "end": 553, + "value": "LongcountSubtraction", + "start": 193, + "end": 213, "loc": { "start": { - "line": 16, - "column": 63 + "line": 5, + "column": 7 }, "end": { - "line": 16, - "column": 64 + "line": 5, + "column": 27 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 553, - "end": 554, - "loc": { - "start": { - "line": 16, - "column": 64 - }, - "end": { - "line": 16, - "column": 65 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 555, - "end": 569, + "value": "from", + "start": 214, + "end": 218, "loc": { "start": { - "line": 17, - "column": 0 + "line": 5, + "column": 28 }, "end": { - "line": 17, - "column": 14 + "line": 5, + "column": 32 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7221,70 +4771,71 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 570, - "end": 575, + "value": "../operations/longcount-subtraction", + "start": 219, + "end": 256, "loc": { "start": { - "line": 18, - "column": 0 + "line": 5, + "column": 33 }, "end": { - "line": 18, - "column": 5 + "line": 5, + "column": 70 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "GregorianCalendarDate", - "start": 576, - "end": 597, + "start": 256, + "end": 257, "loc": { "start": { - "line": 18, - "column": 6 + "line": 5, + "column": 70 }, "end": { - "line": 18, - "column": 27 + "line": 5, + "column": 71 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 598, - "end": 599, + "value": "import", + "start": 258, + "end": 264, "loc": { "start": { - "line": 18, - "column": 28 + "line": 6, + "column": 0 }, "end": { - "line": 18, - "column": 29 + "line": 6, + "column": 6 } } }, @@ -7300,24 +4851,24 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 600, - "end": 607, + "value": "getCorrelationConstant", + "start": 265, + "end": 287, "loc": { "start": { - "line": 18, - "column": 30 + "line": 6, + "column": 7 }, "end": { - "line": 18, - "column": 37 + "line": 6, + "column": 29 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -7326,16 +4877,17 @@ "postfix": false, "binop": null }, - "start": 607, - "end": 608, + "value": "from", + "start": 288, + "end": 292, "loc": { "start": { - "line": 18, - "column": 37 + "line": 6, + "column": 30 }, "end": { - "line": 18, - "column": 38 + "line": 6, + "column": 34 } } }, @@ -7352,50 +4904,52 @@ "binop": null, "updateContext": null }, - "value": "./western/gregorian", - "start": 608, - "end": 629, + "value": "./correlation-constant", + "start": 293, + "end": 317, "loc": { "start": { - "line": 18, - "column": 38 + "line": 6, + "column": 35 }, "end": { - "line": 18, + "line": 6, "column": 59 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 629, - "end": 630, + "start": 317, + "end": 318, "loc": { "start": { - "line": 18, + "line": 6, "column": 59 }, "end": { - "line": 18, + "line": 6, "column": 60 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7404,66 +4958,75 @@ "binop": null, "updateContext": null }, - "start": 630, - "end": 631, + "value": "import", + "start": 319, + "end": 325, "loc": { "start": { - "line": 18, - "column": 60 + "line": 7, + "column": 0 }, "end": { - "line": 18, - "column": 61 + "line": 7, + "column": 6 } } }, { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 632, - "end": 646, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "GregorianCalendarDate", + "start": 326, + "end": 347, "loc": { "start": { - "line": 19, - "column": 0 + "line": 7, + "column": 7 }, "end": { - "line": 19, - "column": 14 + "line": 7, + "column": 28 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 647, - "end": 652, + "value": "from", + "start": 348, + "end": 352, "loc": { "start": { - "line": 20, - "column": 0 + "line": 7, + "column": 29 }, "end": { - "line": 20, - "column": 5 + "line": 7, + "column": 33 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -7471,52 +5034,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "JulianCalendarDate", - "start": 653, - "end": 671, + "value": "./western/gregorian", + "start": 353, + "end": 374, "loc": { "start": { - "line": 20, - "column": 6 + "line": 7, + "column": 34 }, "end": { - "line": 20, - "column": 24 + "line": 7, + "column": 55 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 672, - "end": 673, + "start": 374, + "end": 375, "loc": { "start": { - "line": 20, - "column": 25 + "line": 7, + "column": 55 }, "end": { - "line": 20, - "column": 26 + "line": 7, + "column": 56 } } }, { "type": { - "label": "name", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -7524,26 +5088,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "require", - "start": 674, - "end": 681, + "value": "import", + "start": 376, + "end": 382, "loc": { "start": { - "line": 20, - "column": 27 + "line": 8, + "column": 0 }, "end": { - "line": 20, - "column": 34 + "line": 8, + "column": 6 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -7552,22 +5117,23 @@ "postfix": false, "binop": null }, - "start": 681, - "end": 682, + "value": "JulianCalendarDate", + "start": 383, + "end": 401, "loc": { "start": { - "line": 20, - "column": 34 + "line": 8, + "column": 7 }, "end": { - "line": 20, - "column": 35 + "line": 8, + "column": 25 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -7575,45 +5141,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./western/julian", - "start": 682, - "end": 700, + "value": "from", + "start": 402, + "end": 406, "loc": { "start": { - "line": 20, - "column": 35 + "line": 8, + "column": 26 }, "end": { - "line": 20, - "column": 53 + "line": 8, + "column": 30 } } }, { "type": { - "label": ")", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 700, - "end": 701, + "value": "./western/julian", + "start": 407, + "end": 425, "loc": { "start": { - "line": 20, - "column": 53 + "line": 8, + "column": 31 }, "end": { - "line": 20, - "column": 54 + "line": 8, + "column": 49 } } }, @@ -7630,41 +5197,25 @@ "binop": null, "updateContext": null }, - "start": 701, - "end": 702, - "loc": { - "start": { - "line": 20, - "column": 54 - }, - "end": { - "line": 20, - "column": 55 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 703, - "end": 717, + "start": 425, + "end": 426, "loc": { "start": { - "line": 21, - "column": 0 + "line": 8, + "column": 49 }, "end": { - "line": 21, - "column": 14 + "line": 8, + "column": 50 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7673,17 +5224,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 718, - "end": 723, + "value": "import", + "start": 427, + "end": 433, "loc": { "start": { - "line": 22, + "line": 9, "column": 0 }, "end": { - "line": 22, - "column": 5 + "line": 9, + "column": 6 } } }, @@ -7700,49 +5251,48 @@ "binop": null }, "value": "DistanceNumber", - "start": 724, - "end": 738, + "start": 434, + "end": 448, "loc": { "start": { - "line": 22, - "column": 6 + "line": 9, + "column": 7 }, "end": { - "line": 22, - "column": 20 + "line": 9, + "column": 21 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 739, - "end": 740, + "value": "from", + "start": 449, + "end": 453, "loc": { "start": { - "line": 22, - "column": 21 + "line": 9, + "column": 22 }, "end": { - "line": 22, - "column": 22 + "line": 9, + "column": 26 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -7750,77 +5300,69 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "require", - "start": 741, - "end": 748, + "value": "./distance-number", + "start": 454, + "end": 473, "loc": { "start": { - "line": 22, - "column": 23 + "line": 9, + "column": 27 }, "end": { - "line": 22, - "column": 30 + "line": 9, + "column": 46 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 748, - "end": 749, + "start": 473, + "end": 474, "loc": { "start": { - "line": 22, - "column": 30 + "line": 9, + "column": 46 }, "end": { - "line": 22, - "column": 31 + "line": 9, + "column": 47 } } }, { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./distance-number", - "start": 749, - "end": 768, + "type": "CommentBlock", + "value": "*\n * Long Count cycle\n ", + "start": 476, + "end": 503, "loc": { "start": { - "line": 22, - "column": 31 + "line": 11, + "column": 0 }, "end": { - "line": 22, - "column": 50 + "line": 13, + "column": 3 } } }, { "type": { - "label": ")", + "label": "export", + "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -7828,24 +5370,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 768, - "end": 769, + "value": "export", + "start": 504, + "end": 510, "loc": { "start": { - "line": 22, - "column": 50 + "line": 14, + "column": 0 }, "end": { - "line": 22, - "column": 51 + "line": 14, + "column": 6 } } }, { "type": { - "label": ";", + "label": "default", + "keyword": "default", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -7856,32 +5401,17 @@ "binop": null, "updateContext": null }, - "start": 769, - "end": 770, - "loc": { - "start": { - "line": 22, - "column": 51 - }, - "end": { - "line": 22, - "column": 52 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Long Count cycle\n ", - "start": 772, - "end": 799, + "value": "default", + "start": 511, + "end": 518, "loc": { "start": { - "line": 24, - "column": 0 + "line": 14, + "column": 7 }, "end": { - "line": 26, - "column": 3 + "line": 14, + "column": 14 } } }, @@ -7900,16 +5430,16 @@ "updateContext": null }, "value": "class", - "start": 800, - "end": 805, + "start": 519, + "end": 524, "loc": { "start": { - "line": 27, - "column": 0 + "line": 14, + "column": 15 }, "end": { - "line": 27, - "column": 5 + "line": 14, + "column": 20 } } }, @@ -7926,16 +5456,16 @@ "binop": null }, "value": "LongCount", - "start": 806, - "end": 815, + "start": 525, + "end": 534, "loc": { "start": { - "line": 27, - "column": 6 + "line": 14, + "column": 21 }, "end": { - "line": 27, - "column": 15 + "line": 14, + "column": 30 } } }, @@ -7954,16 +5484,16 @@ "updateContext": null }, "value": "extends", - "start": 816, - "end": 823, + "start": 535, + "end": 542, "loc": { "start": { - "line": 27, - "column": 16 + "line": 14, + "column": 31 }, "end": { - "line": 27, - "column": 23 + "line": 14, + "column": 38 } } }, @@ -7980,16 +5510,16 @@ "binop": null }, "value": "DistanceNumber", - "start": 824, - "end": 838, + "start": 543, + "end": 557, "loc": { "start": { - "line": 27, - "column": 24 + "line": 14, + "column": 39 }, "end": { - "line": 27, - "column": 38 + "line": 14, + "column": 53 } } }, @@ -8005,31 +5535,31 @@ "postfix": false, "binop": null }, - "start": 839, - "end": 840, + "start": 558, + "end": 559, "loc": { "start": { - "line": 27, - "column": 39 + "line": 14, + "column": 54 }, "end": { - "line": 27, - "column": 40 + "line": 14, + "column": 55 } } }, { "type": "CommentBlock", "value": "*\n * @param {...number|Wildcard} cycles - Components in the long count\n * (eg, K'in, Winal, Bak'tun, etc)\n ", - "start": 843, - "end": 960, + "start": 562, + "end": 679, "loc": { "start": { - "line": 28, + "line": 15, "column": 2 }, "end": { - "line": 31, + "line": 18, "column": 5 } } @@ -8047,15 +5577,15 @@ "binop": null }, "value": "constructor", - "start": 963, - "end": 974, + "start": 682, + "end": 693, "loc": { "start": { - "line": 32, + "line": 19, "column": 2 }, "end": { - "line": 32, + "line": 19, "column": 13 } } @@ -8072,15 +5602,15 @@ "postfix": false, "binop": null }, - "start": 974, - "end": 975, + "start": 693, + "end": 694, "loc": { "start": { - "line": 32, + "line": 19, "column": 13 }, "end": { - "line": 32, + "line": 19, "column": 14 } } @@ -8098,15 +5628,15 @@ "binop": null, "updateContext": null }, - "start": 975, - "end": 978, + "start": 694, + "end": 697, "loc": { "start": { - "line": 32, + "line": 19, "column": 14 }, "end": { - "line": 32, + "line": 19, "column": 17 } } @@ -8124,15 +5654,15 @@ "binop": null }, "value": "cycles", - "start": 978, - "end": 984, + "start": 697, + "end": 703, "loc": { "start": { - "line": 32, + "line": 19, "column": 17 }, "end": { - "line": 32, + "line": 19, "column": 23 } } @@ -8149,15 +5679,15 @@ "postfix": false, "binop": null }, - "start": 984, - "end": 985, + "start": 703, + "end": 704, "loc": { "start": { - "line": 32, + "line": 19, "column": 23 }, "end": { - "line": 32, + "line": 19, "column": 24 } } @@ -8174,15 +5704,15 @@ "postfix": false, "binop": null }, - "start": 986, - "end": 987, + "start": 705, + "end": 706, "loc": { "start": { - "line": 32, + "line": 19, "column": 25 }, "end": { - "line": 32, + "line": 19, "column": 26 } } @@ -8202,15 +5732,15 @@ "updateContext": null }, "value": "super", - "start": 992, - "end": 997, + "start": 711, + "end": 716, "loc": { "start": { - "line": 33, + "line": 20, "column": 4 }, "end": { - "line": 33, + "line": 20, "column": 9 } } @@ -8227,15 +5757,15 @@ "postfix": false, "binop": null }, - "start": 997, - "end": 998, + "start": 716, + "end": 717, "loc": { "start": { - "line": 33, + "line": 20, "column": 9 }, "end": { - "line": 33, + "line": 20, "column": 10 } } @@ -8253,15 +5783,15 @@ "binop": null, "updateContext": null }, - "start": 998, - "end": 1001, + "start": 717, + "end": 720, "loc": { "start": { - "line": 33, + "line": 20, "column": 10 }, "end": { - "line": 33, + "line": 20, "column": 13 } } @@ -8279,15 +5809,15 @@ "binop": null }, "value": "cycles", - "start": 1001, - "end": 1007, + "start": 720, + "end": 726, "loc": { "start": { - "line": 33, + "line": 20, "column": 13 }, "end": { - "line": 33, + "line": 20, "column": 19 } } @@ -8304,15 +5834,15 @@ "postfix": false, "binop": null }, - "start": 1007, - "end": 1008, + "start": 726, + "end": 727, "loc": { "start": { - "line": 33, + "line": 20, "column": 19 }, "end": { - "line": 33, + "line": 20, "column": 20 } } @@ -8330,15 +5860,15 @@ "binop": null, "updateContext": null }, - "start": 1008, - "end": 1009, + "start": 727, + "end": 728, "loc": { "start": { - "line": 33, + "line": 20, "column": 20 }, "end": { - "line": 33, + "line": 20, "column": 21 } } @@ -8346,15 +5876,15 @@ { "type": "CommentBlock", "value": "*\n * Correlation constant to allow alignment with western calendars\n * @type {CorrelationConstant}\n ", - "start": 1014, - "end": 1130, + "start": 733, + "end": 849, "loc": { "start": { - "line": 34, + "line": 21, "column": 4 }, "end": { - "line": 37, + "line": 24, "column": 7 } } @@ -8374,15 +5904,15 @@ "updateContext": null }, "value": "this", - "start": 1135, - "end": 1139, + "start": 854, + "end": 858, "loc": { "start": { - "line": 38, + "line": 25, "column": 4 }, "end": { - "line": 38, + "line": 25, "column": 8 } } @@ -8400,15 +5930,15 @@ "binop": null, "updateContext": null }, - "start": 1139, - "end": 1140, + "start": 858, + "end": 859, "loc": { "start": { - "line": 38, + "line": 25, "column": 8 }, "end": { - "line": 38, + "line": 25, "column": 9 } } @@ -8426,15 +5956,15 @@ "binop": null }, "value": "correlationConstant", - "start": 1140, - "end": 1159, + "start": 859, + "end": 878, "loc": { "start": { - "line": 38, + "line": 25, "column": 9 }, "end": { - "line": 38, + "line": 25, "column": 28 } } @@ -8453,15 +5983,15 @@ "updateContext": null }, "value": "=", - "start": 1160, - "end": 1161, + "start": 879, + "end": 880, "loc": { "start": { - "line": 38, + "line": 25, "column": 29 }, "end": { - "line": 38, + "line": 25, "column": 30 } } @@ -8479,15 +6009,15 @@ "binop": null }, "value": "getCorrelationConstant", - "start": 1162, - "end": 1184, + "start": 881, + "end": 903, "loc": { "start": { - "line": 38, + "line": 25, "column": 31 }, "end": { - "line": 38, + "line": 25, "column": 53 } } @@ -8504,15 +6034,15 @@ "postfix": false, "binop": null }, - "start": 1184, - "end": 1185, + "start": 903, + "end": 904, "loc": { "start": { - "line": 38, + "line": 25, "column": 53 }, "end": { - "line": 38, + "line": 25, "column": 54 } } @@ -8531,15 +6061,15 @@ "updateContext": null }, "value": 584283, - "start": 1185, - "end": 1191, + "start": 904, + "end": 910, "loc": { "start": { - "line": 38, + "line": 25, "column": 54 }, "end": { - "line": 38, + "line": 25, "column": 60 } } @@ -8556,15 +6086,15 @@ "postfix": false, "binop": null }, - "start": 1191, - "end": 1192, + "start": 910, + "end": 911, "loc": { "start": { - "line": 38, + "line": 25, "column": 60 }, "end": { - "line": 38, + "line": 25, "column": 61 } } @@ -8582,15 +6112,15 @@ "binop": null, "updateContext": null }, - "start": 1192, - "end": 1193, + "start": 911, + "end": 912, "loc": { "start": { - "line": 38, + "line": 25, "column": 61 }, "end": { - "line": 38, + "line": 25, "column": 62 } } @@ -8607,15 +6137,15 @@ "postfix": false, "binop": null }, - "start": 1196, - "end": 1197, + "start": 915, + "end": 916, "loc": { "start": { - "line": 39, + "line": 26, "column": 2 }, "end": { - "line": 39, + "line": 26, "column": 3 } } @@ -8623,15 +6153,15 @@ { "type": "CommentBlock", "value": "*\n * Chainable method to set the correlation constant\n * @param {CorrelationConstant} newConstant\n * @return {LongCount}\n ", - "start": 1201, - "end": 1335, + "start": 920, + "end": 1054, "loc": { "start": { - "line": 41, + "line": 28, "column": 2 }, "end": { - "line": 45, + "line": 32, "column": 5 } } @@ -8649,15 +6179,15 @@ "binop": null }, "value": "setCorrelationConstant", - "start": 1338, - "end": 1360, + "start": 1057, + "end": 1079, "loc": { "start": { - "line": 46, + "line": 33, "column": 2 }, "end": { - "line": 46, + "line": 33, "column": 24 } } @@ -8674,15 +6204,15 @@ "postfix": false, "binop": null }, - "start": 1360, - "end": 1361, + "start": 1079, + "end": 1080, "loc": { "start": { - "line": 46, + "line": 33, "column": 24 }, "end": { - "line": 46, + "line": 33, "column": 25 } } @@ -8700,15 +6230,15 @@ "binop": null }, "value": "newConstant", - "start": 1361, - "end": 1372, + "start": 1080, + "end": 1091, "loc": { "start": { - "line": 46, + "line": 33, "column": 25 }, "end": { - "line": 46, + "line": 33, "column": 36 } } @@ -8725,15 +6255,15 @@ "postfix": false, "binop": null }, - "start": 1372, - "end": 1373, + "start": 1091, + "end": 1092, "loc": { "start": { - "line": 46, + "line": 33, "column": 36 }, "end": { - "line": 46, + "line": 33, "column": 37 } } @@ -8750,15 +6280,15 @@ "postfix": false, "binop": null }, - "start": 1374, - "end": 1375, + "start": 1093, + "end": 1094, "loc": { "start": { - "line": 46, + "line": 33, "column": 38 }, "end": { - "line": 46, + "line": 33, "column": 39 } } @@ -8778,15 +6308,15 @@ "updateContext": null }, "value": "this", - "start": 1380, - "end": 1384, + "start": 1099, + "end": 1103, "loc": { "start": { - "line": 47, + "line": 34, "column": 4 }, "end": { - "line": 47, + "line": 34, "column": 8 } } @@ -8804,15 +6334,15 @@ "binop": null, "updateContext": null }, - "start": 1384, - "end": 1385, + "start": 1103, + "end": 1104, "loc": { "start": { - "line": 47, + "line": 34, "column": 8 }, "end": { - "line": 47, + "line": 34, "column": 9 } } @@ -8830,15 +6360,15 @@ "binop": null }, "value": "correlationConstant", - "start": 1385, - "end": 1404, + "start": 1104, + "end": 1123, "loc": { "start": { - "line": 47, + "line": 34, "column": 9 }, "end": { - "line": 47, + "line": 34, "column": 28 } } @@ -8857,15 +6387,15 @@ "updateContext": null }, "value": "=", - "start": 1405, - "end": 1406, + "start": 1124, + "end": 1125, "loc": { "start": { - "line": 47, + "line": 34, "column": 29 }, "end": { - "line": 47, + "line": 34, "column": 30 } } @@ -8883,15 +6413,15 @@ "binop": null }, "value": "newConstant", - "start": 1407, - "end": 1418, + "start": 1126, + "end": 1137, "loc": { "start": { - "line": 47, + "line": 34, "column": 31 }, "end": { - "line": 47, + "line": 34, "column": 42 } } @@ -8909,15 +6439,15 @@ "binop": null, "updateContext": null }, - "start": 1418, - "end": 1419, + "start": 1137, + "end": 1138, "loc": { "start": { - "line": 47, + "line": 34, "column": 42 }, "end": { - "line": 47, + "line": 34, "column": 43 } } @@ -8937,15 +6467,15 @@ "updateContext": null }, "value": "return", - "start": 1424, - "end": 1430, + "start": 1143, + "end": 1149, "loc": { "start": { - "line": 48, + "line": 35, "column": 4 }, "end": { - "line": 48, + "line": 35, "column": 10 } } @@ -8965,15 +6495,15 @@ "updateContext": null }, "value": "this", - "start": 1431, - "end": 1435, + "start": 1150, + "end": 1154, "loc": { "start": { - "line": 48, + "line": 35, "column": 11 }, "end": { - "line": 48, + "line": 35, "column": 15 } } @@ -8991,15 +6521,15 @@ "binop": null, "updateContext": null }, - "start": 1435, - "end": 1436, + "start": 1154, + "end": 1155, "loc": { "start": { - "line": 48, + "line": 35, "column": 15 }, "end": { - "line": 48, + "line": 35, "column": 16 } } @@ -9016,15 +6546,15 @@ "postfix": false, "binop": null }, - "start": 1439, - "end": 1440, + "start": 1158, + "end": 1159, "loc": { "start": { - "line": 49, + "line": 36, "column": 2 }, "end": { - "line": 49, + "line": 36, "column": 3 } } @@ -9032,15 +6562,15 @@ { "type": "CommentBlock", "value": "*\n * Return a representation of this Long Count in Julian Days.\n * @return {number}\n ", - "start": 1444, - "end": 1539, + "start": 1163, + "end": 1258, "loc": { "start": { - "line": 51, + "line": 38, "column": 2 }, "end": { - "line": 54, + "line": 41, "column": 5 } } @@ -9058,15 +6588,15 @@ "binop": null }, "value": "get", - "start": 1542, - "end": 1545, + "start": 1261, + "end": 1264, "loc": { "start": { - "line": 55, + "line": 42, "column": 2 }, "end": { - "line": 55, + "line": 42, "column": 5 } } @@ -9084,15 +6614,15 @@ "binop": null }, "value": "julianDay", - "start": 1546, - "end": 1555, + "start": 1265, + "end": 1274, "loc": { "start": { - "line": 55, + "line": 42, "column": 6 }, "end": { - "line": 55, + "line": 42, "column": 15 } } @@ -9109,15 +6639,15 @@ "postfix": false, "binop": null }, - "start": 1555, - "end": 1556, + "start": 1274, + "end": 1275, "loc": { "start": { - "line": 55, + "line": 42, "column": 15 }, "end": { - "line": 55, + "line": 42, "column": 16 } } @@ -9134,15 +6664,15 @@ "postfix": false, "binop": null }, - "start": 1556, - "end": 1557, + "start": 1275, + "end": 1276, "loc": { "start": { - "line": 55, + "line": 42, "column": 16 }, "end": { - "line": 55, + "line": 42, "column": 17 } } @@ -9159,15 +6689,15 @@ "postfix": false, "binop": null }, - "start": 1558, - "end": 1559, + "start": 1277, + "end": 1278, "loc": { "start": { - "line": 55, + "line": 42, "column": 18 }, "end": { - "line": 55, + "line": 42, "column": 19 } } @@ -9187,15 +6717,15 @@ "updateContext": null }, "value": "return", - "start": 1564, - "end": 1570, + "start": 1283, + "end": 1289, "loc": { "start": { - "line": 56, + "line": 43, "column": 4 }, "end": { - "line": 56, + "line": 43, "column": 10 } } @@ -9215,15 +6745,15 @@ "updateContext": null }, "value": "this", - "start": 1571, - "end": 1575, + "start": 1290, + "end": 1294, "loc": { "start": { - "line": 56, + "line": 43, "column": 11 }, "end": { - "line": 56, + "line": 43, "column": 15 } } @@ -9241,15 +6771,15 @@ "binop": null, "updateContext": null }, - "start": 1575, - "end": 1576, + "start": 1294, + "end": 1295, "loc": { "start": { - "line": 56, + "line": 43, "column": 15 }, "end": { - "line": 56, + "line": 43, "column": 16 } } @@ -9267,15 +6797,15 @@ "binop": null }, "value": "correlationConstant", - "start": 1576, - "end": 1595, + "start": 1295, + "end": 1314, "loc": { "start": { - "line": 56, + "line": 43, "column": 16 }, "end": { - "line": 56, + "line": 43, "column": 35 } } @@ -9293,15 +6823,15 @@ "binop": null, "updateContext": null }, - "start": 1595, - "end": 1596, + "start": 1314, + "end": 1315, "loc": { "start": { - "line": 56, + "line": 43, "column": 35 }, "end": { - "line": 56, + "line": 43, "column": 36 } } @@ -9319,15 +6849,15 @@ "binop": null }, "value": "value", - "start": 1596, - "end": 1601, + "start": 1315, + "end": 1320, "loc": { "start": { - "line": 56, + "line": 43, "column": 36 }, "end": { - "line": 56, + "line": 43, "column": 41 } } @@ -9346,15 +6876,15 @@ "updateContext": null }, "value": "+", - "start": 1602, - "end": 1603, + "start": 1321, + "end": 1322, "loc": { "start": { - "line": 56, + "line": 43, "column": 42 }, "end": { - "line": 56, + "line": 43, "column": 43 } } @@ -9374,15 +6904,15 @@ "updateContext": null }, "value": "this", - "start": 1604, - "end": 1608, + "start": 1323, + "end": 1327, "loc": { "start": { - "line": 56, + "line": 43, "column": 44 }, "end": { - "line": 56, + "line": 43, "column": 48 } } @@ -9400,15 +6930,15 @@ "binop": null, "updateContext": null }, - "start": 1608, - "end": 1609, + "start": 1327, + "end": 1328, "loc": { "start": { - "line": 56, + "line": 43, "column": 48 }, "end": { - "line": 56, + "line": 43, "column": 49 } } @@ -9426,15 +6956,15 @@ "binop": null }, "value": "getPosition", - "start": 1609, - "end": 1620, + "start": 1328, + "end": 1339, "loc": { "start": { - "line": 56, + "line": 43, "column": 49 }, "end": { - "line": 56, + "line": 43, "column": 60 } } @@ -9451,15 +6981,15 @@ "postfix": false, "binop": null }, - "start": 1620, - "end": 1621, + "start": 1339, + "end": 1340, "loc": { "start": { - "line": 56, + "line": 43, "column": 60 }, "end": { - "line": 56, + "line": 43, "column": 61 } } @@ -9476,15 +7006,15 @@ "postfix": false, "binop": null }, - "start": 1621, - "end": 1622, + "start": 1340, + "end": 1341, "loc": { "start": { - "line": 56, + "line": 43, "column": 61 }, "end": { - "line": 56, + "line": 43, "column": 62 } } @@ -9502,15 +7032,15 @@ "binop": null, "updateContext": null }, - "start": 1622, - "end": 1623, + "start": 1341, + "end": 1342, "loc": { "start": { - "line": 56, + "line": 43, "column": 62 }, "end": { - "line": 56, + "line": 43, "column": 63 } } @@ -9527,15 +7057,15 @@ "postfix": false, "binop": null }, - "start": 1626, - "end": 1627, + "start": 1345, + "end": 1346, "loc": { "start": { - "line": 57, + "line": 44, "column": 2 }, "end": { - "line": 57, + "line": 44, "column": 3 } } @@ -9543,15 +7073,15 @@ { "type": "CommentBlock", "value": "*\n * Return a Gregorian representation of this long count date, offset by the correlation constant.\n * @return {GregorianCalendarDate}\n ", - "start": 1631, - "end": 1777, + "start": 1350, + "end": 1496, "loc": { "start": { - "line": 59, + "line": 46, "column": 2 }, "end": { - "line": 62, + "line": 49, "column": 5 } } @@ -9569,15 +7099,15 @@ "binop": null }, "value": "get", - "start": 1780, - "end": 1783, + "start": 1499, + "end": 1502, "loc": { "start": { - "line": 63, + "line": 50, "column": 2 }, "end": { - "line": 63, + "line": 50, "column": 5 } } @@ -9595,15 +7125,15 @@ "binop": null }, "value": "gregorian", - "start": 1784, - "end": 1793, + "start": 1503, + "end": 1512, "loc": { "start": { - "line": 63, + "line": 50, "column": 6 }, "end": { - "line": 63, + "line": 50, "column": 15 } } @@ -9620,15 +7150,15 @@ "postfix": false, "binop": null }, - "start": 1793, - "end": 1794, + "start": 1512, + "end": 1513, "loc": { "start": { - "line": 63, + "line": 50, "column": 15 }, "end": { - "line": 63, + "line": 50, "column": 16 } } @@ -9645,15 +7175,15 @@ "postfix": false, "binop": null }, - "start": 1794, - "end": 1795, + "start": 1513, + "end": 1514, "loc": { "start": { - "line": 63, + "line": 50, "column": 16 }, "end": { - "line": 63, + "line": 50, "column": 17 } } @@ -9670,15 +7200,15 @@ "postfix": false, "binop": null }, - "start": 1796, - "end": 1797, + "start": 1515, + "end": 1516, "loc": { "start": { - "line": 63, + "line": 50, "column": 18 }, "end": { - "line": 63, + "line": 50, "column": 19 } } @@ -9698,15 +7228,15 @@ "updateContext": null }, "value": "return", - "start": 1802, - "end": 1808, + "start": 1521, + "end": 1527, "loc": { "start": { - "line": 64, + "line": 51, "column": 4 }, "end": { - "line": 64, + "line": 51, "column": 10 } } @@ -9726,15 +7256,15 @@ "updateContext": null }, "value": "new", - "start": 1809, - "end": 1812, + "start": 1528, + "end": 1531, "loc": { "start": { - "line": 64, + "line": 51, "column": 11 }, "end": { - "line": 64, + "line": 51, "column": 14 } } @@ -9752,15 +7282,15 @@ "binop": null }, "value": "GregorianCalendarDate", - "start": 1813, - "end": 1834, + "start": 1532, + "end": 1553, "loc": { "start": { - "line": 64, + "line": 51, "column": 15 }, "end": { - "line": 64, + "line": 51, "column": 36 } } @@ -9777,15 +7307,15 @@ "postfix": false, "binop": null }, - "start": 1834, - "end": 1835, + "start": 1553, + "end": 1554, "loc": { "start": { - "line": 64, + "line": 51, "column": 36 }, "end": { - "line": 64, + "line": 51, "column": 37 } } @@ -9805,15 +7335,15 @@ "updateContext": null }, "value": "this", - "start": 1835, - "end": 1839, + "start": 1554, + "end": 1558, "loc": { "start": { - "line": 64, + "line": 51, "column": 37 }, "end": { - "line": 64, + "line": 51, "column": 41 } } @@ -9831,15 +7361,15 @@ "binop": null, "updateContext": null }, - "start": 1839, - "end": 1840, + "start": 1558, + "end": 1559, "loc": { "start": { - "line": 64, + "line": 51, "column": 41 }, "end": { - "line": 64, + "line": 51, "column": 42 } } @@ -9857,15 +7387,15 @@ "binop": null }, "value": "julianDay", - "start": 1840, - "end": 1849, + "start": 1559, + "end": 1568, "loc": { "start": { - "line": 64, + "line": 51, "column": 42 }, "end": { - "line": 64, + "line": 51, "column": 51 } } @@ -9882,15 +7412,15 @@ "postfix": false, "binop": null }, - "start": 1849, - "end": 1850, + "start": 1568, + "end": 1569, "loc": { "start": { - "line": 64, + "line": 51, "column": 51 }, "end": { - "line": 64, + "line": 51, "column": 52 } } @@ -9908,15 +7438,15 @@ "binop": null, "updateContext": null }, - "start": 1850, - "end": 1851, + "start": 1569, + "end": 1570, "loc": { "start": { - "line": 64, + "line": 51, "column": 52 }, "end": { - "line": 64, + "line": 51, "column": 53 } } @@ -9933,15 +7463,15 @@ "postfix": false, "binop": null }, - "start": 1854, - "end": 1855, + "start": 1573, + "end": 1574, "loc": { "start": { - "line": 65, + "line": 52, "column": 2 }, "end": { - "line": 65, + "line": 52, "column": 3 } } @@ -9949,15 +7479,15 @@ { "type": "CommentBlock", "value": "*\n * Return a Julian representation of this long count date, offset by the correlation constant.\n * @return {JulianCalendarDate}\n ", - "start": 1859, - "end": 1999, + "start": 1578, + "end": 1718, "loc": { "start": { - "line": 67, + "line": 54, "column": 2 }, "end": { - "line": 70, + "line": 57, "column": 5 } } @@ -9975,15 +7505,15 @@ "binop": null }, "value": "get", - "start": 2002, - "end": 2005, + "start": 1721, + "end": 1724, "loc": { "start": { - "line": 71, + "line": 58, "column": 2 }, "end": { - "line": 71, + "line": 58, "column": 5 } } @@ -10001,15 +7531,15 @@ "binop": null }, "value": "julian", - "start": 2006, - "end": 2012, + "start": 1725, + "end": 1731, "loc": { "start": { - "line": 71, + "line": 58, "column": 6 }, "end": { - "line": 71, + "line": 58, "column": 12 } } @@ -10026,15 +7556,15 @@ "postfix": false, "binop": null }, - "start": 2012, - "end": 2013, + "start": 1731, + "end": 1732, "loc": { "start": { - "line": 71, + "line": 58, "column": 12 }, "end": { - "line": 71, + "line": 58, "column": 13 } } @@ -10051,15 +7581,15 @@ "postfix": false, "binop": null }, - "start": 2013, - "end": 2014, + "start": 1732, + "end": 1733, "loc": { "start": { - "line": 71, + "line": 58, "column": 13 }, "end": { - "line": 71, + "line": 58, "column": 14 } } @@ -10076,15 +7606,15 @@ "postfix": false, "binop": null }, - "start": 2015, - "end": 2016, + "start": 1734, + "end": 1735, "loc": { "start": { - "line": 71, + "line": 58, "column": 15 }, "end": { - "line": 71, + "line": 58, "column": 16 } } @@ -10104,15 +7634,15 @@ "updateContext": null }, "value": "return", - "start": 2021, - "end": 2027, + "start": 1740, + "end": 1746, "loc": { "start": { - "line": 72, + "line": 59, "column": 4 }, "end": { - "line": 72, + "line": 59, "column": 10 } } @@ -10132,15 +7662,15 @@ "updateContext": null }, "value": "new", - "start": 2028, - "end": 2031, + "start": 1747, + "end": 1750, "loc": { "start": { - "line": 72, + "line": 59, "column": 11 }, "end": { - "line": 72, + "line": 59, "column": 14 } } @@ -10158,15 +7688,15 @@ "binop": null }, "value": "JulianCalendarDate", - "start": 2032, - "end": 2050, + "start": 1751, + "end": 1769, "loc": { "start": { - "line": 72, + "line": 59, "column": 15 }, "end": { - "line": 72, + "line": 59, "column": 33 } } @@ -10183,15 +7713,15 @@ "postfix": false, "binop": null }, - "start": 2050, - "end": 2051, + "start": 1769, + "end": 1770, "loc": { "start": { - "line": 72, + "line": 59, "column": 33 }, "end": { - "line": 72, + "line": 59, "column": 34 } } @@ -10211,15 +7741,15 @@ "updateContext": null }, "value": "this", - "start": 2051, - "end": 2055, + "start": 1770, + "end": 1774, "loc": { "start": { - "line": 72, + "line": 59, "column": 34 }, "end": { - "line": 72, + "line": 59, "column": 38 } } @@ -10237,15 +7767,15 @@ "binop": null, "updateContext": null }, - "start": 2055, - "end": 2056, + "start": 1774, + "end": 1775, "loc": { "start": { - "line": 72, + "line": 59, "column": 38 }, "end": { - "line": 72, + "line": 59, "column": 39 } } @@ -10263,15 +7793,15 @@ "binop": null }, "value": "julianDay", - "start": 2056, - "end": 2065, + "start": 1775, + "end": 1784, "loc": { "start": { - "line": 72, + "line": 59, "column": 39 }, "end": { - "line": 72, + "line": 59, "column": 48 } } @@ -10288,15 +7818,15 @@ "postfix": false, "binop": null }, - "start": 2065, - "end": 2066, + "start": 1784, + "end": 1785, "loc": { "start": { - "line": 72, + "line": 59, "column": 48 }, "end": { - "line": 72, + "line": 59, "column": 49 } } @@ -10314,15 +7844,15 @@ "binop": null, "updateContext": null }, - "start": 2066, - "end": 2067, + "start": 1785, + "end": 1786, "loc": { "start": { - "line": 72, + "line": 59, "column": 49 }, "end": { - "line": 72, + "line": 59, "column": 50 } } @@ -10339,15 +7869,15 @@ "postfix": false, "binop": null }, - "start": 2070, - "end": 2071, + "start": 1789, + "end": 1790, "loc": { "start": { - "line": 73, + "line": 60, "column": 2 }, "end": { - "line": 73, + "line": 60, "column": 3 } } @@ -10355,15 +7885,15 @@ { "type": "CommentBlock", "value": "*\n * Create a copy object of this long count fullDate\n * @returns {LongCount}\n ", - "start": 2075, - "end": 2164, + "start": 1794, + "end": 1883, "loc": { "start": { - "line": 75, + "line": 62, "column": 2 }, "end": { - "line": 78, + "line": 65, "column": 5 } } @@ -10381,15 +7911,15 @@ "binop": null }, "value": "clone", - "start": 2167, - "end": 2172, + "start": 1886, + "end": 1891, "loc": { "start": { - "line": 79, + "line": 66, "column": 2 }, "end": { - "line": 79, + "line": 66, "column": 7 } } @@ -10406,15 +7936,15 @@ "postfix": false, "binop": null }, - "start": 2172, - "end": 2173, + "start": 1891, + "end": 1892, "loc": { "start": { - "line": 79, + "line": 66, "column": 7 }, "end": { - "line": 79, + "line": 66, "column": 8 } } @@ -10431,15 +7961,15 @@ "postfix": false, "binop": null }, - "start": 2173, - "end": 2174, + "start": 1892, + "end": 1893, "loc": { "start": { - "line": 79, + "line": 66, "column": 8 }, "end": { - "line": 79, + "line": 66, "column": 9 } } @@ -10456,15 +7986,15 @@ "postfix": false, "binop": null }, - "start": 2175, - "end": 2176, + "start": 1894, + "end": 1895, "loc": { "start": { - "line": 79, + "line": 66, "column": 10 }, "end": { - "line": 79, + "line": 66, "column": 11 } } @@ -10484,15 +8014,15 @@ "updateContext": null }, "value": "return", - "start": 2181, - "end": 2187, + "start": 1900, + "end": 1906, "loc": { "start": { - "line": 80, + "line": 67, "column": 4 }, "end": { - "line": 80, + "line": 67, "column": 10 } } @@ -10512,15 +8042,15 @@ "updateContext": null }, "value": "new", - "start": 2188, - "end": 2191, + "start": 1907, + "end": 1910, "loc": { "start": { - "line": 80, + "line": 67, "column": 11 }, "end": { - "line": 80, + "line": 67, "column": 14 } } @@ -10538,15 +8068,15 @@ "binop": null }, "value": "LongCount", - "start": 2192, - "end": 2201, + "start": 1911, + "end": 1920, "loc": { "start": { - "line": 80, + "line": 67, "column": 15 }, "end": { - "line": 80, + "line": 67, "column": 24 } } @@ -10563,15 +8093,15 @@ "postfix": false, "binop": null }, - "start": 2201, - "end": 2202, + "start": 1920, + "end": 1921, "loc": { "start": { - "line": 80, + "line": 67, "column": 24 }, "end": { - "line": 80, + "line": 67, "column": 25 } } @@ -10589,15 +8119,15 @@ "binop": null, "updateContext": null }, - "start": 2202, - "end": 2205, + "start": 1921, + "end": 1924, "loc": { "start": { - "line": 80, + "line": 67, "column": 25 }, "end": { - "line": 80, + "line": 67, "column": 28 } } @@ -10617,15 +8147,15 @@ "updateContext": null }, "value": "this", - "start": 2205, - "end": 2209, + "start": 1924, + "end": 1928, "loc": { "start": { - "line": 80, + "line": 67, "column": 28 }, "end": { - "line": 80, + "line": 67, "column": 32 } } @@ -10643,15 +8173,15 @@ "binop": null, "updateContext": null }, - "start": 2209, - "end": 2210, + "start": 1928, + "end": 1929, "loc": { "start": { - "line": 80, + "line": 67, "column": 32 }, "end": { - "line": 80, + "line": 67, "column": 33 } } @@ -10669,15 +8199,15 @@ "binop": null }, "value": "parts", - "start": 2210, - "end": 2215, + "start": 1929, + "end": 1934, "loc": { "start": { - "line": 80, + "line": 67, "column": 33 }, "end": { - "line": 80, + "line": 67, "column": 38 } } @@ -10694,15 +8224,15 @@ "postfix": false, "binop": null }, - "start": 2215, - "end": 2216, + "start": 1934, + "end": 1935, "loc": { "start": { - "line": 80, + "line": 67, "column": 38 }, "end": { - "line": 80, + "line": 67, "column": 39 } } @@ -10720,15 +8250,15 @@ "binop": null, "updateContext": null }, - "start": 2216, - "end": 2217, + "start": 1935, + "end": 1936, "loc": { "start": { - "line": 80, + "line": 67, "column": 39 }, "end": { - "line": 80, + "line": 67, "column": 40 } } @@ -10745,15 +8275,15 @@ "postfix": false, "binop": null }, - "start": 2220, - "end": 2221, + "start": 1939, + "end": 1940, "loc": { "start": { - "line": 81, + "line": 68, "column": 2 }, "end": { - "line": 81, + "line": 68, "column": 3 } } @@ -10761,15 +8291,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {LordOfNight}\n ", - "start": 2225, - "end": 2266, + "start": 1944, + "end": 1985, "loc": { "start": { - "line": 83, + "line": 70, "column": 2 }, "end": { - "line": 86, + "line": 73, "column": 5 } } @@ -10787,15 +8317,15 @@ "binop": null }, "value": "get", - "start": 2269, - "end": 2272, + "start": 1988, + "end": 1991, "loc": { "start": { - "line": 87, + "line": 74, "column": 2 }, "end": { - "line": 87, + "line": 74, "column": 5 } } @@ -10813,15 +8343,15 @@ "binop": null }, "value": "lordOfNight", - "start": 2273, - "end": 2284, + "start": 1992, + "end": 2003, "loc": { "start": { - "line": 87, + "line": 74, "column": 6 }, "end": { - "line": 87, + "line": 74, "column": 17 } } @@ -10838,15 +8368,15 @@ "postfix": false, "binop": null }, - "start": 2284, - "end": 2285, + "start": 2003, + "end": 2004, "loc": { "start": { - "line": 87, + "line": 74, "column": 17 }, "end": { - "line": 87, + "line": 74, "column": 18 } } @@ -10863,15 +8393,15 @@ "postfix": false, "binop": null }, - "start": 2285, - "end": 2286, + "start": 2004, + "end": 2005, "loc": { "start": { - "line": 87, + "line": 74, "column": 18 }, "end": { - "line": 87, + "line": 74, "column": 19 } } @@ -10888,15 +8418,15 @@ "postfix": false, "binop": null }, - "start": 2287, - "end": 2288, + "start": 2006, + "end": 2007, "loc": { "start": { - "line": 87, + "line": 74, "column": 20 }, "end": { - "line": 87, + "line": 74, "column": 21 } } @@ -10916,15 +8446,15 @@ "updateContext": null }, "value": "return", - "start": 2293, - "end": 2299, + "start": 2012, + "end": 2018, "loc": { "start": { - "line": 88, + "line": 75, "column": 4 }, "end": { - "line": 88, + "line": 75, "column": 10 } } @@ -10942,15 +8472,15 @@ "binop": null }, "value": "night", - "start": 2300, - "end": 2305, + "start": 2019, + "end": 2024, "loc": { "start": { - "line": 88, + "line": 75, "column": 11 }, "end": { - "line": 88, + "line": 75, "column": 16 } } @@ -10968,15 +8498,15 @@ "binop": null, "updateContext": null }, - "start": 2305, - "end": 2306, + "start": 2024, + "end": 2025, "loc": { "start": { - "line": 88, + "line": 75, "column": 16 }, "end": { - "line": 88, + "line": 75, "column": 17 } } @@ -10994,15 +8524,15 @@ "binop": null }, "value": "get", - "start": 2306, - "end": 2309, + "start": 2025, + "end": 2028, "loc": { "start": { - "line": 88, + "line": 75, "column": 17 }, "end": { - "line": 88, + "line": 75, "column": 20 } } @@ -11019,15 +8549,15 @@ "postfix": false, "binop": null }, - "start": 2309, - "end": 2310, + "start": 2028, + "end": 2029, "loc": { "start": { - "line": 88, + "line": 75, "column": 20 }, "end": { - "line": 88, + "line": 75, "column": 21 } } @@ -11044,15 +8574,15 @@ "postfix": false, "binop": null }, - "start": 2317, - "end": 2318, + "start": 2036, + "end": 2037, "loc": { "start": { - "line": 89, + "line": 76, "column": 6 }, "end": { - "line": 89, + "line": 76, "column": 7 } } @@ -11071,15 +8601,15 @@ "updateContext": null }, "value": "G", - "start": 2318, - "end": 2319, + "start": 2037, + "end": 2038, "loc": { "start": { - "line": 89, + "line": 76, "column": 7 }, "end": { - "line": 89, + "line": 76, "column": 8 } } @@ -11096,15 +8626,15 @@ "postfix": false, "binop": null }, - "start": 2319, - "end": 2321, + "start": 2038, + "end": 2040, "loc": { "start": { - "line": 89, + "line": 76, "column": 8 }, "end": { - "line": 89, + "line": 76, "column": 10 } } @@ -11121,15 +8651,15 @@ "postfix": false, "binop": null }, - "start": 2321, - "end": 2322, + "start": 2040, + "end": 2041, "loc": { "start": { - "line": 89, + "line": 76, "column": 10 }, "end": { - "line": 89, + "line": 76, "column": 11 } } @@ -11146,15 +8676,15 @@ "postfix": false, "binop": null }, - "start": 2322, - "end": 2323, + "start": 2041, + "end": 2042, "loc": { "start": { - "line": 89, + "line": 76, "column": 11 }, "end": { - "line": 89, + "line": 76, "column": 12 } } @@ -11174,15 +8704,15 @@ "updateContext": null }, "value": "this", - "start": 2323, - "end": 2327, + "start": 2042, + "end": 2046, "loc": { "start": { - "line": 89, + "line": 76, "column": 12 }, "end": { - "line": 89, + "line": 76, "column": 16 } } @@ -11200,15 +8730,15 @@ "binop": null, "updateContext": null }, - "start": 2327, - "end": 2328, + "start": 2046, + "end": 2047, "loc": { "start": { - "line": 89, + "line": 76, "column": 16 }, "end": { - "line": 89, + "line": 76, "column": 17 } } @@ -11226,15 +8756,15 @@ "binop": null }, "value": "getPosition", - "start": 2328, - "end": 2339, + "start": 2047, + "end": 2058, "loc": { "start": { - "line": 89, + "line": 76, "column": 17 }, "end": { - "line": 89, + "line": 76, "column": 28 } } @@ -11251,15 +8781,15 @@ "postfix": false, "binop": null }, - "start": 2339, - "end": 2340, + "start": 2058, + "end": 2059, "loc": { "start": { - "line": 89, + "line": 76, "column": 28 }, "end": { - "line": 89, + "line": 76, "column": 29 } } @@ -11276,15 +8806,15 @@ "postfix": false, "binop": null }, - "start": 2340, - "end": 2341, + "start": 2059, + "end": 2060, "loc": { "start": { - "line": 89, + "line": 76, "column": 29 }, "end": { - "line": 89, + "line": 76, "column": 30 } } @@ -11303,15 +8833,15 @@ "updateContext": null }, "value": "-", - "start": 2342, - "end": 2343, + "start": 2061, + "end": 2062, "loc": { "start": { - "line": 89, + "line": 76, "column": 31 }, "end": { - "line": 89, + "line": 76, "column": 32 } } @@ -11330,15 +8860,15 @@ "updateContext": null }, "value": 1, - "start": 2344, - "end": 2345, + "start": 2063, + "end": 2064, "loc": { "start": { - "line": 89, + "line": 76, "column": 33 }, "end": { - "line": 89, + "line": 76, "column": 34 } } @@ -11355,15 +8885,15 @@ "postfix": false, "binop": null }, - "start": 2345, - "end": 2346, + "start": 2064, + "end": 2065, "loc": { "start": { - "line": 89, + "line": 76, "column": 34 }, "end": { - "line": 89, + "line": 76, "column": 35 } } @@ -11382,15 +8912,15 @@ "updateContext": null }, "value": "%", - "start": 2347, - "end": 2348, + "start": 2066, + "end": 2067, "loc": { "start": { - "line": 89, + "line": 76, "column": 36 }, "end": { - "line": 89, + "line": 76, "column": 37 } } @@ -11409,15 +8939,15 @@ "updateContext": null }, "value": 9, - "start": 2349, - "end": 2350, + "start": 2068, + "end": 2069, "loc": { "start": { - "line": 89, + "line": 76, "column": 38 }, "end": { - "line": 89, + "line": 76, "column": 39 } } @@ -11434,15 +8964,15 @@ "postfix": false, "binop": null }, - "start": 2350, - "end": 2351, + "start": 2069, + "end": 2070, "loc": { "start": { - "line": 89, + "line": 76, "column": 39 }, "end": { - "line": 89, + "line": 76, "column": 40 } } @@ -11461,15 +8991,15 @@ "updateContext": null }, "value": "+", - "start": 2352, - "end": 2353, + "start": 2071, + "end": 2072, "loc": { "start": { - "line": 89, + "line": 76, "column": 41 }, "end": { - "line": 89, + "line": 76, "column": 42 } } @@ -11488,15 +9018,15 @@ "updateContext": null }, "value": 1, - "start": 2354, - "end": 2355, + "start": 2073, + "end": 2074, "loc": { "start": { - "line": 89, + "line": 76, "column": 43 }, "end": { - "line": 89, + "line": 76, "column": 44 } } @@ -11513,15 +9043,15 @@ "postfix": false, "binop": null }, - "start": 2355, - "end": 2356, + "start": 2074, + "end": 2075, "loc": { "start": { - "line": 89, + "line": 76, "column": 44 }, "end": { - "line": 89, + "line": 76, "column": 45 } } @@ -11540,15 +9070,15 @@ "updateContext": null }, "value": "", - "start": 2356, - "end": 2356, + "start": 2075, + "end": 2075, "loc": { "start": { - "line": 89, + "line": 76, "column": 45 }, "end": { - "line": 89, + "line": 76, "column": 45 } } @@ -11565,15 +9095,15 @@ "postfix": false, "binop": null }, - "start": 2356, - "end": 2357, + "start": 2075, + "end": 2076, "loc": { "start": { - "line": 89, + "line": 76, "column": 45 }, "end": { - "line": 89, + "line": 76, "column": 46 } } @@ -11590,15 +9120,15 @@ "postfix": false, "binop": null }, - "start": 2362, - "end": 2363, + "start": 2081, + "end": 2082, "loc": { "start": { - "line": 90, + "line": 77, "column": 4 }, "end": { - "line": 90, + "line": 77, "column": 5 } } @@ -11616,15 +9146,15 @@ "binop": null, "updateContext": null }, - "start": 2363, - "end": 2364, + "start": 2082, + "end": 2083, "loc": { "start": { - "line": 90, + "line": 77, "column": 5 }, "end": { - "line": 90, + "line": 77, "column": 6 } } @@ -11641,15 +9171,15 @@ "postfix": false, "binop": null }, - "start": 2367, - "end": 2368, + "start": 2086, + "end": 2087, "loc": { "start": { - "line": 91, + "line": 78, "column": 2 }, "end": { - "line": 91, + "line": 78, "column": 3 } } @@ -11657,15 +9187,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {CalendarRound}\n ", - "start": 2372, - "end": 2415, + "start": 2091, + "end": 2134, "loc": { "start": { - "line": 93, + "line": 80, "column": 2 }, "end": { - "line": 96, + "line": 83, "column": 5 } } @@ -11683,15 +9213,15 @@ "binop": null }, "value": "buildCalendarRound", - "start": 2418, - "end": 2436, + "start": 2137, + "end": 2155, "loc": { "start": { - "line": 97, + "line": 84, "column": 2 }, "end": { - "line": 97, + "line": 84, "column": 20 } } @@ -11708,15 +9238,15 @@ "postfix": false, "binop": null }, - "start": 2436, - "end": 2437, + "start": 2155, + "end": 2156, "loc": { "start": { - "line": 97, + "line": 84, "column": 20 }, "end": { - "line": 97, + "line": 84, "column": 21 } } @@ -11733,15 +9263,15 @@ "postfix": false, "binop": null }, - "start": 2437, - "end": 2438, + "start": 2156, + "end": 2157, "loc": { "start": { - "line": 97, + "line": 84, "column": 21 }, "end": { - "line": 97, + "line": 84, "column": 22 } } @@ -11758,15 +9288,15 @@ "postfix": false, "binop": null }, - "start": 2439, - "end": 2440, + "start": 2158, + "end": 2159, "loc": { "start": { - "line": 97, + "line": 84, "column": 23 }, "end": { - "line": 97, + "line": 84, "column": 24 } } @@ -11786,15 +9316,15 @@ "updateContext": null }, "value": "return", - "start": 2445, - "end": 2451, + "start": 2164, + "end": 2170, "loc": { "start": { - "line": 98, + "line": 85, "column": 4 }, "end": { - "line": 98, + "line": 85, "column": 10 } } @@ -11811,17 +9341,17 @@ "postfix": false, "binop": null }, - "value": "origin", - "start": 2452, - "end": 2458, + "value": "cr", + "start": 2171, + "end": 2173, "loc": { "start": { - "line": 98, + "line": 85, "column": 11 }, "end": { - "line": 98, - "column": 17 + "line": 85, + "column": 13 } } }, @@ -11838,16 +9368,68 @@ "binop": null, "updateContext": null }, - "start": 2458, - "end": 2459, + "start": 2173, + "end": 2174, "loc": { "start": { - "line": 98, - "column": 17 + "line": 85, + "column": 13 }, "end": { - "line": 98, - "column": 18 + "line": 85, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "origin", + "start": 2174, + "end": 2180, + "loc": { + "start": { + "line": 85, + "column": 14 + }, + "end": { + "line": 85, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2180, + "end": 2181, + "loc": { + "start": { + "line": 85, + "column": 20 + }, + "end": { + "line": 85, + "column": 21 } } }, @@ -11864,16 +9446,16 @@ "binop": null }, "value": "shift", - "start": 2459, - "end": 2464, + "start": 2181, + "end": 2186, "loc": { "start": { - "line": 98, - "column": 18 + "line": 85, + "column": 21 }, "end": { - "line": 98, - "column": 23 + "line": 85, + "column": 26 } } }, @@ -11889,16 +9471,16 @@ "postfix": false, "binop": null }, - "start": 2464, - "end": 2465, + "start": 2186, + "end": 2187, "loc": { "start": { - "line": 98, - "column": 23 + "line": 85, + "column": 26 }, "end": { - "line": 98, - "column": 24 + "line": 85, + "column": 27 } } }, @@ -11917,15 +9499,15 @@ "updateContext": null }, "value": "this", - "start": 2472, - "end": 2476, + "start": 2194, + "end": 2198, "loc": { "start": { - "line": 99, + "line": 86, "column": 6 }, "end": { - "line": 99, + "line": 86, "column": 10 } } @@ -11943,15 +9525,15 @@ "binop": null, "updateContext": null }, - "start": 2476, - "end": 2477, + "start": 2198, + "end": 2199, "loc": { "start": { - "line": 99, + "line": 86, "column": 10 }, "end": { - "line": 99, + "line": 86, "column": 11 } } @@ -11969,15 +9551,15 @@ "binop": null }, "value": "getPosition", - "start": 2477, - "end": 2488, + "start": 2199, + "end": 2210, "loc": { "start": { - "line": 99, + "line": 86, "column": 11 }, "end": { - "line": 99, + "line": 86, "column": 22 } } @@ -11994,15 +9576,15 @@ "postfix": false, "binop": null }, - "start": 2488, - "end": 2489, + "start": 2210, + "end": 2211, "loc": { "start": { - "line": 99, + "line": 86, "column": 22 }, "end": { - "line": 99, + "line": 86, "column": 23 } } @@ -12019,15 +9601,15 @@ "postfix": false, "binop": null }, - "start": 2489, - "end": 2490, + "start": 2211, + "end": 2212, "loc": { "start": { - "line": 99, + "line": 86, "column": 23 }, "end": { - "line": 99, + "line": 86, "column": 24 } } @@ -12044,15 +9626,15 @@ "postfix": false, "binop": null }, - "start": 2495, - "end": 2496, + "start": 2217, + "end": 2218, "loc": { "start": { - "line": 100, + "line": 87, "column": 4 }, "end": { - "line": 100, + "line": 87, "column": 5 } } @@ -12070,15 +9652,15 @@ "binop": null, "updateContext": null }, - "start": 2496, - "end": 2497, + "start": 2218, + "end": 2219, "loc": { "start": { - "line": 100, + "line": 87, "column": 5 }, "end": { - "line": 100, + "line": 87, "column": 6 } } @@ -12095,15 +9677,15 @@ "postfix": false, "binop": null }, - "start": 2500, - "end": 2501, + "start": 2222, + "end": 2223, "loc": { "start": { - "line": 101, + "line": 88, "column": 2 }, "end": { - "line": 101, + "line": 88, "column": 3 } } @@ -12111,15 +9693,15 @@ { "type": "CommentBlock", "value": "*\n *\n * @return {FullDate}\n ", - "start": 2505, - "end": 2543, + "start": 2227, + "end": 2265, "loc": { "start": { - "line": 103, + "line": 90, "column": 2 }, "end": { - "line": 106, + "line": 93, "column": 5 } } @@ -12137,15 +9719,15 @@ "binop": null }, "value": "buildFullDate", - "start": 2546, - "end": 2559, + "start": 2268, + "end": 2281, "loc": { "start": { - "line": 107, + "line": 94, "column": 2 }, "end": { - "line": 107, + "line": 94, "column": 15 } } @@ -12162,15 +9744,15 @@ "postfix": false, "binop": null }, - "start": 2559, - "end": 2560, + "start": 2281, + "end": 2282, "loc": { "start": { - "line": 107, + "line": 94, "column": 15 }, "end": { - "line": 107, + "line": 94, "column": 16 } } @@ -12187,15 +9769,15 @@ "postfix": false, "binop": null }, - "start": 2560, - "end": 2561, + "start": 2282, + "end": 2283, "loc": { "start": { - "line": 107, + "line": 94, "column": 16 }, "end": { - "line": 107, + "line": 94, "column": 17 } } @@ -12212,15 +9794,15 @@ "postfix": false, "binop": null }, - "start": 2562, - "end": 2563, + "start": 2284, + "end": 2285, "loc": { "start": { - "line": 107, + "line": 94, "column": 18 }, "end": { - "line": 107, + "line": 94, "column": 19 } } @@ -12240,15 +9822,15 @@ "updateContext": null }, "value": "return", - "start": 2568, - "end": 2574, + "start": 2290, + "end": 2296, "loc": { "start": { - "line": 108, + "line": 95, "column": 4 }, "end": { - "line": 108, + "line": 95, "column": 10 } } @@ -12268,15 +9850,15 @@ "updateContext": null }, "value": "new", - "start": 2575, - "end": 2578, + "start": 2297, + "end": 2300, "loc": { "start": { - "line": 108, + "line": 95, "column": 11 }, "end": { - "line": 108, + "line": 95, "column": 14 } } @@ -12294,15 +9876,15 @@ "binop": null }, "value": "FullDate", - "start": 2579, - "end": 2587, + "start": 2301, + "end": 2309, "loc": { "start": { - "line": 108, + "line": 95, "column": 15 }, "end": { - "line": 108, + "line": 95, "column": 23 } } @@ -12319,15 +9901,15 @@ "postfix": false, "binop": null }, - "start": 2587, - "end": 2588, + "start": 2309, + "end": 2310, "loc": { "start": { - "line": 108, + "line": 95, "column": 23 }, "end": { - "line": 108, + "line": 95, "column": 24 } } @@ -12347,15 +9929,15 @@ "updateContext": null }, "value": "this", - "start": 2595, - "end": 2599, + "start": 2317, + "end": 2321, "loc": { "start": { - "line": 109, + "line": 96, "column": 6 }, "end": { - "line": 109, + "line": 96, "column": 10 } } @@ -12373,15 +9955,15 @@ "binop": null, "updateContext": null }, - "start": 2599, - "end": 2600, + "start": 2321, + "end": 2322, "loc": { "start": { - "line": 109, + "line": 96, "column": 10 }, "end": { - "line": 109, + "line": 96, "column": 11 } } @@ -12399,15 +9981,15 @@ "binop": null }, "value": "buildCalendarRound", - "start": 2600, - "end": 2618, + "start": 2322, + "end": 2340, "loc": { "start": { - "line": 109, + "line": 96, "column": 11 }, "end": { - "line": 109, + "line": 96, "column": 29 } } @@ -12424,15 +10006,15 @@ "postfix": false, "binop": null }, - "start": 2618, - "end": 2619, + "start": 2340, + "end": 2341, "loc": { "start": { - "line": 109, + "line": 96, "column": 29 }, "end": { - "line": 109, + "line": 96, "column": 30 } } @@ -12449,15 +10031,15 @@ "postfix": false, "binop": null }, - "start": 2619, - "end": 2620, + "start": 2341, + "end": 2342, "loc": { "start": { - "line": 109, + "line": 96, "column": 30 }, "end": { - "line": 109, + "line": 96, "column": 31 } } @@ -12475,15 +10057,15 @@ "binop": null, "updateContext": null }, - "start": 2620, - "end": 2621, + "start": 2342, + "end": 2343, "loc": { "start": { - "line": 109, + "line": 96, "column": 31 }, "end": { - "line": 109, + "line": 96, "column": 32 } } @@ -12503,15 +10085,15 @@ "updateContext": null }, "value": "this", - "start": 2628, - "end": 2632, + "start": 2350, + "end": 2354, "loc": { "start": { - "line": 110, + "line": 97, "column": 6 }, "end": { - "line": 110, + "line": 97, "column": 10 } } @@ -12529,15 +10111,15 @@ "binop": null, "updateContext": null }, - "start": 2632, - "end": 2633, + "start": 2354, + "end": 2355, "loc": { "start": { - "line": 110, + "line": 97, "column": 10 }, "end": { - "line": 110, + "line": 97, "column": 11 } } @@ -12555,15 +10137,15 @@ "binop": null }, "value": "clone", - "start": 2633, - "end": 2638, + "start": 2355, + "end": 2360, "loc": { "start": { - "line": 110, + "line": 97, "column": 11 }, "end": { - "line": 110, + "line": 97, "column": 16 } } @@ -12580,15 +10162,15 @@ "postfix": false, "binop": null }, - "start": 2638, - "end": 2639, + "start": 2360, + "end": 2361, "loc": { "start": { - "line": 110, + "line": 97, "column": 16 }, "end": { - "line": 110, + "line": 97, "column": 17 } } @@ -12605,15 +10187,15 @@ "postfix": false, "binop": null }, - "start": 2639, - "end": 2640, + "start": 2361, + "end": 2362, "loc": { "start": { - "line": 110, + "line": 97, "column": 17 }, "end": { - "line": 110, + "line": 97, "column": 18 } } @@ -12630,15 +10212,15 @@ "postfix": false, "binop": null }, - "start": 2645, - "end": 2646, + "start": 2367, + "end": 2368, "loc": { "start": { - "line": 111, + "line": 98, "column": 4 }, "end": { - "line": 111, + "line": 98, "column": 5 } } @@ -12656,15 +10238,15 @@ "binop": null, "updateContext": null }, - "start": 2646, - "end": 2647, + "start": 2368, + "end": 2369, "loc": { "start": { - "line": 111, + "line": 98, "column": 5 }, "end": { - "line": 111, + "line": 98, "column": 6 } } @@ -12681,15 +10263,15 @@ "postfix": false, "binop": null }, - "start": 2650, - "end": 2651, + "start": 2372, + "end": 2373, "loc": { "start": { - "line": 112, + "line": 99, "column": 2 }, "end": { - "line": 112, + "line": 99, "column": 3 } } @@ -12697,15 +10279,15 @@ { "type": "CommentBlock", "value": "*\n * Return the sum of this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", - "start": 2655, - "end": 2783, + "start": 2377, + "end": 2505, "loc": { "start": { - "line": 114, + "line": 101, "column": 2 }, "end": { - "line": 118, + "line": 105, "column": 5 } } @@ -12723,15 +10305,15 @@ "binop": null }, "value": "plus", - "start": 2786, - "end": 2790, + "start": 2508, + "end": 2512, "loc": { "start": { - "line": 119, + "line": 106, "column": 2 }, "end": { - "line": 119, + "line": 106, "column": 6 } } @@ -12748,15 +10330,15 @@ "postfix": false, "binop": null }, - "start": 2790, - "end": 2791, + "start": 2512, + "end": 2513, "loc": { "start": { - "line": 119, + "line": 106, "column": 6 }, "end": { - "line": 119, + "line": 106, "column": 7 } } @@ -12774,15 +10356,15 @@ "binop": null }, "value": "newLc", - "start": 2791, - "end": 2796, + "start": 2513, + "end": 2518, "loc": { "start": { - "line": 119, + "line": 106, "column": 7 }, "end": { - "line": 119, + "line": 106, "column": 12 } } @@ -12799,15 +10381,15 @@ "postfix": false, "binop": null }, - "start": 2796, - "end": 2797, + "start": 2518, + "end": 2519, "loc": { "start": { - "line": 119, + "line": 106, "column": 12 }, "end": { - "line": 119, + "line": 106, "column": 13 } } @@ -12824,15 +10406,15 @@ "postfix": false, "binop": null }, - "start": 2798, - "end": 2799, + "start": 2520, + "end": 2521, "loc": { "start": { - "line": 119, + "line": 106, "column": 14 }, "end": { - "line": 119, + "line": 106, "column": 15 } } @@ -12840,15 +10422,15 @@ { "type": "CommentBlock", "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", - "start": 2804, - "end": 2926, + "start": 2526, + "end": 2648, "loc": { "start": { - "line": 120, + "line": 107, "column": 4 }, "end": { - "line": 122, + "line": 109, "column": 7 } } @@ -12868,15 +10450,15 @@ "updateContext": null }, "value": "return", - "start": 2931, - "end": 2937, + "start": 2653, + "end": 2659, "loc": { "start": { - "line": 123, + "line": 110, "column": 4 }, "end": { - "line": 123, + "line": 110, "column": 10 } } @@ -12896,15 +10478,15 @@ "updateContext": null }, "value": "new", - "start": 2938, - "end": 2941, + "start": 2660, + "end": 2663, "loc": { "start": { - "line": 123, + "line": 110, "column": 11 }, "end": { - "line": 123, + "line": 110, "column": 14 } } @@ -12922,15 +10504,15 @@ "binop": null }, "value": "LongcountAddition", - "start": 2942, - "end": 2959, + "start": 2664, + "end": 2681, "loc": { "start": { - "line": 123, + "line": 110, "column": 15 }, "end": { - "line": 123, + "line": 110, "column": 32 } } @@ -12947,15 +10529,15 @@ "postfix": false, "binop": null }, - "start": 2959, - "end": 2960, + "start": 2681, + "end": 2682, "loc": { "start": { - "line": 123, + "line": 110, "column": 32 }, "end": { - "line": 123, + "line": 110, "column": 33 } } @@ -12973,15 +10555,15 @@ "binop": null }, "value": "LongCount", - "start": 2960, - "end": 2969, + "start": 2682, + "end": 2691, "loc": { "start": { - "line": 123, + "line": 110, "column": 33 }, "end": { - "line": 123, + "line": 110, "column": 42 } } @@ -12999,15 +10581,15 @@ "binop": null, "updateContext": null }, - "start": 2969, - "end": 2970, + "start": 2691, + "end": 2692, "loc": { "start": { - "line": 123, + "line": 110, "column": 42 }, "end": { - "line": 123, + "line": 110, "column": 43 } } @@ -13027,15 +10609,15 @@ "updateContext": null }, "value": "this", - "start": 2971, - "end": 2975, + "start": 2693, + "end": 2697, "loc": { "start": { - "line": 123, + "line": 110, "column": 44 }, "end": { - "line": 123, + "line": 110, "column": 48 } } @@ -13053,15 +10635,15 @@ "binop": null, "updateContext": null }, - "start": 2975, - "end": 2976, + "start": 2697, + "end": 2698, "loc": { "start": { - "line": 123, + "line": 110, "column": 48 }, "end": { - "line": 123, + "line": 110, "column": 49 } } @@ -13079,15 +10661,15 @@ "binop": null }, "value": "newLc", - "start": 2977, - "end": 2982, + "start": 2699, + "end": 2704, "loc": { "start": { - "line": 123, + "line": 110, "column": 50 }, "end": { - "line": 123, + "line": 110, "column": 55 } } @@ -13104,15 +10686,15 @@ "postfix": false, "binop": null }, - "start": 2982, - "end": 2983, + "start": 2704, + "end": 2705, "loc": { "start": { - "line": 123, + "line": 110, "column": 55 }, "end": { - "line": 123, + "line": 110, "column": 56 } } @@ -13130,15 +10712,15 @@ "binop": null, "updateContext": null }, - "start": 2983, - "end": 2984, + "start": 2705, + "end": 2706, "loc": { "start": { - "line": 123, + "line": 110, "column": 56 }, "end": { - "line": 123, + "line": 110, "column": 57 } } @@ -13155,15 +10737,15 @@ "postfix": false, "binop": null }, - "start": 2987, - "end": 2988, + "start": 2709, + "end": 2710, "loc": { "start": { - "line": 124, + "line": 111, "column": 2 }, "end": { - "line": 124, + "line": 111, "column": 3 } } @@ -13171,15 +10753,15 @@ { "type": "CommentBlock", "value": "*\n * Return the difference between this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n ", - "start": 2992, - "end": 3132, + "start": 2714, + "end": 2854, "loc": { "start": { - "line": 126, + "line": 113, "column": 2 }, "end": { - "line": 130, + "line": 117, "column": 5 } } @@ -13197,15 +10779,15 @@ "binop": null }, "value": "minus", - "start": 3135, - "end": 3140, + "start": 2857, + "end": 2862, "loc": { "start": { - "line": 131, + "line": 118, "column": 2 }, "end": { - "line": 131, + "line": 118, "column": 7 } } @@ -13222,15 +10804,15 @@ "postfix": false, "binop": null }, - "start": 3140, - "end": 3141, + "start": 2862, + "end": 2863, "loc": { "start": { - "line": 131, + "line": 118, "column": 7 }, "end": { - "line": 131, + "line": 118, "column": 8 } } @@ -13248,15 +10830,15 @@ "binop": null }, "value": "newLc", - "start": 3141, - "end": 3146, + "start": 2863, + "end": 2868, "loc": { "start": { - "line": 131, + "line": 118, "column": 8 }, "end": { - "line": 131, + "line": 118, "column": 13 } } @@ -13273,15 +10855,15 @@ "postfix": false, "binop": null }, - "start": 3146, - "end": 3147, + "start": 2868, + "end": 2869, "loc": { "start": { - "line": 131, + "line": 118, "column": 13 }, "end": { - "line": 131, + "line": 118, "column": 14 } } @@ -13298,15 +10880,15 @@ "postfix": false, "binop": null }, - "start": 3148, - "end": 3149, + "start": 2870, + "end": 2871, "loc": { "start": { - "line": 131, + "line": 118, "column": 15 }, "end": { - "line": 131, + "line": 118, "column": 16 } } @@ -13314,15 +10896,15 @@ { "type": "CommentBlock", "value": " We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n ", - "start": 3154, - "end": 3276, + "start": 2876, + "end": 2998, "loc": { "start": { - "line": 132, + "line": 119, "column": 4 }, "end": { - "line": 134, + "line": 121, "column": 7 } } @@ -13342,15 +10924,15 @@ "updateContext": null }, "value": "return", - "start": 3281, - "end": 3287, + "start": 3003, + "end": 3009, "loc": { "start": { - "line": 135, + "line": 122, "column": 4 }, "end": { - "line": 135, + "line": 122, "column": 10 } } @@ -13370,15 +10952,15 @@ "updateContext": null }, "value": "new", - "start": 3288, - "end": 3291, + "start": 3010, + "end": 3013, "loc": { "start": { - "line": 135, + "line": 122, "column": 11 }, "end": { - "line": 135, + "line": 122, "column": 14 } } @@ -13396,15 +10978,15 @@ "binop": null }, "value": "LongcountSubtraction", - "start": 3292, - "end": 3312, + "start": 3014, + "end": 3034, "loc": { "start": { - "line": 135, + "line": 122, "column": 15 }, "end": { - "line": 135, + "line": 122, "column": 35 } } @@ -13421,15 +11003,15 @@ "postfix": false, "binop": null }, - "start": 3312, - "end": 3313, + "start": 3034, + "end": 3035, "loc": { "start": { - "line": 135, + "line": 122, "column": 35 }, "end": { - "line": 135, + "line": 122, "column": 36 } } @@ -13447,15 +11029,15 @@ "binop": null }, "value": "LongCount", - "start": 3313, - "end": 3322, + "start": 3035, + "end": 3044, "loc": { "start": { - "line": 135, + "line": 122, "column": 36 }, "end": { - "line": 135, + "line": 122, "column": 45 } } @@ -13473,15 +11055,15 @@ "binop": null, "updateContext": null }, - "start": 3322, - "end": 3323, + "start": 3044, + "end": 3045, "loc": { "start": { - "line": 135, + "line": 122, "column": 45 }, "end": { - "line": 135, + "line": 122, "column": 46 } } @@ -13501,15 +11083,15 @@ "updateContext": null }, "value": "this", - "start": 3324, - "end": 3328, + "start": 3046, + "end": 3050, "loc": { "start": { - "line": 135, + "line": 122, "column": 47 }, "end": { - "line": 135, + "line": 122, "column": 51 } } @@ -13527,15 +11109,15 @@ "binop": null, "updateContext": null }, - "start": 3328, - "end": 3329, + "start": 3050, + "end": 3051, "loc": { "start": { - "line": 135, + "line": 122, "column": 51 }, "end": { - "line": 135, + "line": 122, "column": 52 } } @@ -13553,15 +11135,15 @@ "binop": null }, "value": "newLc", - "start": 3330, - "end": 3335, + "start": 3052, + "end": 3057, "loc": { "start": { - "line": 135, + "line": 122, "column": 53 }, "end": { - "line": 135, + "line": 122, "column": 58 } } @@ -13578,15 +11160,15 @@ "postfix": false, "binop": null }, - "start": 3335, - "end": 3336, + "start": 3057, + "end": 3058, "loc": { "start": { - "line": 135, + "line": 122, "column": 58 }, "end": { - "line": 135, + "line": 122, "column": 59 } } @@ -13604,15 +11186,15 @@ "binop": null, "updateContext": null }, - "start": 3336, - "end": 3337, + "start": 3058, + "end": 3059, "loc": { "start": { - "line": 135, + "line": 122, "column": 59 }, "end": { - "line": 135, + "line": 122, "column": 60 } } @@ -13629,15 +11211,15 @@ "postfix": false, "binop": null }, - "start": 3340, - "end": 3341, + "start": 3062, + "end": 3063, "loc": { "start": { - "line": 136, + "line": 123, "column": 2 }, "end": { - "line": 136, + "line": 123, "column": 3 } } @@ -13645,15 +11227,15 @@ { "type": "CommentBlock", "value": "*\n * Return this Long Count as a Distance Number\n * @return {DistanceNumber}\n ", - "start": 3345, - "end": 3433, + "start": 3067, + "end": 3155, "loc": { "start": { - "line": 138, + "line": 125, "column": 2 }, "end": { - "line": 141, + "line": 128, "column": 5 } } @@ -13671,15 +11253,15 @@ "binop": null }, "value": "asDistanceNumber", - "start": 3436, - "end": 3452, + "start": 3158, + "end": 3174, "loc": { "start": { - "line": 142, + "line": 129, "column": 2 }, "end": { - "line": 142, + "line": 129, "column": 18 } } @@ -13696,15 +11278,15 @@ "postfix": false, "binop": null }, - "start": 3452, - "end": 3453, + "start": 3174, + "end": 3175, "loc": { "start": { - "line": 142, + "line": 129, "column": 18 }, "end": { - "line": 142, + "line": 129, "column": 19 } } @@ -13721,15 +11303,15 @@ "postfix": false, "binop": null }, - "start": 3453, - "end": 3454, + "start": 3175, + "end": 3176, "loc": { "start": { - "line": 142, + "line": 129, "column": 19 }, "end": { - "line": 142, + "line": 129, "column": 20 } } @@ -13746,15 +11328,15 @@ "postfix": false, "binop": null }, - "start": 3455, - "end": 3456, + "start": 3177, + "end": 3178, "loc": { "start": { - "line": 142, + "line": 129, "column": 21 }, "end": { - "line": 142, + "line": 129, "column": 22 } } @@ -13774,15 +11356,15 @@ "updateContext": null }, "value": "return", - "start": 3461, - "end": 3467, + "start": 3183, + "end": 3189, "loc": { "start": { - "line": 143, + "line": 130, "column": 4 }, "end": { - "line": 143, + "line": 130, "column": 10 } } @@ -13802,15 +11384,15 @@ "updateContext": null }, "value": "new", - "start": 3468, - "end": 3471, + "start": 3190, + "end": 3193, "loc": { "start": { - "line": 143, + "line": 130, "column": 11 }, "end": { - "line": 143, + "line": 130, "column": 14 } } @@ -13828,15 +11410,15 @@ "binop": null }, "value": "DistanceNumber", - "start": 3472, - "end": 3486, + "start": 3194, + "end": 3208, "loc": { "start": { - "line": 143, + "line": 130, "column": 15 }, "end": { - "line": 143, + "line": 130, "column": 29 } } @@ -13853,15 +11435,15 @@ "postfix": false, "binop": null }, - "start": 3486, - "end": 3487, + "start": 3208, + "end": 3209, "loc": { "start": { - "line": 143, + "line": 130, "column": 29 }, "end": { - "line": 143, + "line": 130, "column": 30 } } @@ -13879,15 +11461,15 @@ "binop": null, "updateContext": null }, - "start": 3487, - "end": 3490, + "start": 3209, + "end": 3212, "loc": { "start": { - "line": 143, + "line": 130, "column": 30 }, "end": { - "line": 143, + "line": 130, "column": 33 } } @@ -13907,15 +11489,15 @@ "updateContext": null }, "value": "this", - "start": 3490, - "end": 3494, + "start": 3212, + "end": 3216, "loc": { "start": { - "line": 143, + "line": 130, "column": 33 }, "end": { - "line": 143, + "line": 130, "column": 37 } } @@ -13933,15 +11515,15 @@ "binop": null, "updateContext": null }, - "start": 3494, - "end": 3495, + "start": 3216, + "end": 3217, "loc": { "start": { - "line": 143, + "line": 130, "column": 37 }, "end": { - "line": 143, + "line": 130, "column": 38 } } @@ -13959,15 +11541,15 @@ "binop": null }, "value": "parts", - "start": 3495, - "end": 3500, + "start": 3217, + "end": 3222, "loc": { "start": { - "line": 143, + "line": 130, "column": 38 }, "end": { - "line": 143, + "line": 130, "column": 43 } } @@ -13984,15 +11566,15 @@ "postfix": false, "binop": null }, - "start": 3500, - "end": 3501, + "start": 3222, + "end": 3223, "loc": { "start": { - "line": 143, + "line": 130, "column": 43 }, "end": { - "line": 143, + "line": 130, "column": 44 } } @@ -14010,15 +11592,15 @@ "binop": null, "updateContext": null }, - "start": 3501, - "end": 3502, + "start": 3223, + "end": 3224, "loc": { "start": { - "line": 143, + "line": 130, "column": 44 }, "end": { - "line": 143, + "line": 130, "column": 45 } } @@ -14035,15 +11617,15 @@ "postfix": false, "binop": null }, - "start": 3505, - "end": 3506, + "start": 3227, + "end": 3228, "loc": { "start": { - "line": 144, + "line": 131, "column": 2 }, "end": { - "line": 144, + "line": 131, "column": 3 } } @@ -14060,176 +11642,19 @@ "postfix": false, "binop": null }, - "start": 3507, - "end": 3508, + "start": 3229, + "end": 3230, "loc": { "start": { - "line": 145, + "line": 132, "column": 0 }, "end": { - "line": 145, + "line": 132, "column": 1 } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "module", - "start": 3510, - "end": 3516, - "loc": { - "start": { - "line": 147, - "column": 0 - }, - "end": { - "line": 147, - "column": 6 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3516, - "end": 3517, - "loc": { - "start": { - "line": 147, - "column": 6 - }, - "end": { - "line": 147, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "exports", - "start": 3517, - "end": 3524, - "loc": { - "start": { - "line": 147, - "column": 7 - }, - "end": { - "line": 147, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 3525, - "end": 3526, - "loc": { - "start": { - "line": 147, - "column": 15 - }, - "end": { - "line": 147, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "LongCount", - "start": 3527, - "end": 3536, - "loc": { - "start": { - "line": 147, - "column": 17 - }, - "end": { - "line": 147, - "column": 26 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3536, - "end": 3537, - "loc": { - "start": { - "line": 147, - "column": 26 - }, - "end": { - "line": 147, - "column": 27 - } - } - }, { "type": { "label": "eof", @@ -14243,15 +11668,15 @@ "binop": null, "updateContext": null }, - "start": 3538, - "end": 3538, + "start": 3231, + "end": 3231, "loc": { "start": { - "line": 148, + "line": 133, "column": 0 }, "end": { - "line": 148, + "line": 133, "column": 0 } } diff --git a/docs/ast/source/lc/night/lord-of-night.js.json b/docs/ast/source/lc/night/lord-of-night.js.json index 700eb86..24a36c6 100644 --- a/docs/ast/source/lc/night/lord-of-night.js.json +++ b/docs/ast/source/lc/night/lord-of-night.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 1067, + "end": 1261, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 53, + "line": 56, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 1067, + "end": 1261, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 53, + "line": 56, "column": 0 } }, @@ -30,29 +30,29 @@ "body": [ { "type": "ClassDeclaration", - "start": 319, - "end": 632, + "start": 368, + "end": 681, "loc": { "start": { - "line": 10, + "line": 11, "column": 0 }, "end": { - "line": 29, + "line": 30, "column": 1 } }, "id": { "type": "Identifier", - "start": 325, - "end": 336, + "start": 374, + "end": 385, "loc": { "start": { - "line": 10, + "line": 11, "column": 6 }, "end": { - "line": 10, + "line": 11, "column": 17 }, "identifierName": "LordOfNight" @@ -63,30 +63,30 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 337, - "end": 632, + "start": 386, + "end": 681, "loc": { "start": { - "line": 10, + "line": 11, "column": 18 }, "end": { - "line": 29, + "line": 30, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 377, - "end": 493, + "start": 426, + "end": 542, "loc": { "start": { - "line": 14, + "line": 15, "column": 2 }, "end": { - "line": 20, + "line": 21, "column": 3 } }, @@ -94,15 +94,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 377, - "end": 388, + "start": 426, + "end": 437, "loc": { "start": { - "line": 14, + "line": 15, "column": 2 }, "end": { - "line": 14, + "line": 15, "column": 13 }, "identifierName": "constructor" @@ -118,15 +118,15 @@ "params": [ { "type": "Identifier", - "start": 389, - "end": 391, + "start": 438, + "end": 440, "loc": { "start": { - "line": 14, + "line": 15, "column": 14 }, "end": { - "line": 14, + "line": 15, "column": 16 }, "identifierName": "id" @@ -136,73 +136,73 @@ ], "body": { "type": "BlockStatement", - "start": 393, - "end": 493, + "start": 442, + "end": 542, "loc": { "start": { - "line": 14, + "line": 15, "column": 18 }, "end": { - "line": 20, + "line": 21, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 476, - "end": 489, + "start": 525, + "end": 538, "loc": { "start": { - "line": 19, + "line": 20, "column": 4 }, "end": { - "line": 19, + "line": 20, "column": 17 } }, "expression": { "type": "AssignmentExpression", - "start": 476, - "end": 488, + "start": 525, + "end": 537, "loc": { "start": { - "line": 19, + "line": 20, "column": 4 }, "end": { - "line": 19, + "line": 20, "column": 16 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 476, - "end": 483, + "start": 525, + "end": 532, "loc": { "start": { - "line": 19, + "line": 20, "column": 4 }, "end": { - "line": 19, + "line": 20, "column": 11 } }, "object": { "type": "ThisExpression", - "start": 476, - "end": 480, + "start": 525, + "end": 529, "loc": { "start": { - "line": 19, + "line": 20, "column": 4 }, "end": { - "line": 19, + "line": 20, "column": 8 } }, @@ -210,15 +210,15 @@ }, "property": { "type": "Identifier", - "start": 481, - "end": 483, + "start": 530, + "end": 532, "loc": { "start": { - "line": 19, + "line": 20, "column": 9 }, "end": { - "line": 19, + "line": 20, "column": 11 }, "identifierName": "id" @@ -230,15 +230,15 @@ }, "right": { "type": "Identifier", - "start": 486, - "end": 488, + "start": 535, + "end": 537, "loc": { "start": { - "line": 19, + "line": 20, "column": 14 }, "end": { - "line": 19, + "line": 20, "column": 16 }, "identifierName": "id" @@ -251,15 +251,15 @@ { "type": "CommentBlock", "value": "*\n * Number of the Lord of the Night\n * @type {number}\n ", - "start": 399, - "end": 471, + "start": 448, + "end": 520, "loc": { "start": { - "line": 15, + "line": 16, "column": 4 }, "end": { - "line": 18, + "line": 19, "column": 7 } } @@ -274,15 +274,15 @@ { "type": "CommentBlock", "value": "*\n * @param {number} id\n ", - "start": 341, - "end": 374, + "start": 390, + "end": 423, "loc": { "start": { - "line": 11, + "line": 12, "column": 2 }, "end": { - "line": 13, + "line": 14, "column": 5 } } @@ -292,15 +292,15 @@ { "type": "CommentBlock", "value": "*\n * Represent the Lord of the night as a string G1..G9.\n * @return {string}\n ", - "start": 497, - "end": 585, + "start": 546, + "end": 634, "loc": { "start": { - "line": 22, + "line": 23, "column": 2 }, "end": { - "line": 25, + "line": 26, "column": 5 } } @@ -309,15 +309,15 @@ }, { "type": "ClassMethod", - "start": 588, - "end": 630, + "start": 637, + "end": 679, "loc": { "start": { - "line": 26, + "line": 27, "column": 2 }, "end": { - "line": 28, + "line": 29, "column": 3 } }, @@ -325,15 +325,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 588, - "end": 596, + "start": 637, + "end": 645, "loc": { "start": { - "line": 26, + "line": 27, "column": 2 }, "end": { - "line": 26, + "line": 27, "column": 10 }, "identifierName": "toString" @@ -349,88 +349,88 @@ "params": [], "body": { "type": "BlockStatement", - "start": 599, - "end": 630, + "start": 648, + "end": 679, "loc": { "start": { - "line": 26, + "line": 27, "column": 13 }, "end": { - "line": 28, + "line": 29, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 605, - "end": 626, + "start": 654, + "end": 675, "loc": { "start": { - "line": 27, + "line": 28, "column": 4 }, "end": { - "line": 27, + "line": 28, "column": 25 } }, "argument": { "type": "TemplateLiteral", - "start": 612, - "end": 625, + "start": 661, + "end": 674, "loc": { "start": { - "line": 27, + "line": 28, "column": 11 }, "end": { - "line": 27, + "line": 28, "column": 24 } }, "expressions": [ { "type": "MemberExpression", - "start": 616, - "end": 623, + "start": 665, + "end": 672, "loc": { "start": { - "line": 27, + "line": 28, "column": 15 }, "end": { - "line": 27, + "line": 28, "column": 22 } }, "object": { "type": "ThisExpression", - "start": 616, - "end": 620, + "start": 665, + "end": 669, "loc": { "start": { - "line": 27, + "line": 28, "column": 15 }, "end": { - "line": 27, + "line": 28, "column": 19 } } }, "property": { "type": "Identifier", - "start": 621, - "end": 623, + "start": 670, + "end": 672, "loc": { "start": { - "line": 27, + "line": 28, "column": 20 }, "end": { - "line": 27, + "line": 28, "column": 22 }, "identifierName": "id" @@ -443,15 +443,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 613, - "end": 614, + "start": 662, + "end": 663, "loc": { "start": { - "line": 27, + "line": 28, "column": 12 }, "end": { - "line": 27, + "line": 28, "column": 13 } }, @@ -463,15 +463,15 @@ }, { "type": "TemplateElement", - "start": 624, - "end": 624, + "start": 673, + "end": 673, "loc": { "start": { - "line": 27, + "line": 28, "column": 23 }, "end": { - "line": 27, + "line": 28, "column": 23 } }, @@ -491,23 +491,22 @@ { "type": "CommentBlock", "value": "*\n * Represent the Lord of the night as a string G1..G9.\n * @return {string}\n ", - "start": 497, - "end": 585, + "start": 546, + "end": 634, "loc": { "start": { - "line": 22, + "line": 23, "column": 2 }, "end": { - "line": 25, + "line": 26, "column": 5 } } } ] } - ], - "trailingComments": null + ] }, "leadingComments": [ { @@ -525,1300 +524,4036 @@ "column": 3 } } - } - ], - "trailingComments": [ + }, { - "type": "CommentBlock", - "value": "*\n * Return a Lord of the Night by its G id.\n * @param {string} id - Has the form 'G1', 'G2', etc.\n * @return {LordOfNight}\n ", - "start": 634, - "end": 763, + "type": "CommentLine", + "value": " eslint-disable-next-line max-classes-per-file", + "start": 319, + "end": 367, "loc": { "start": { - "line": 31, + "line": 10, "column": 0 }, "end": { - "line": 35, - "column": 3 + "line": 10, + "column": 48 } } } ] }, { - "type": "FunctionDeclaration", - "start": 764, - "end": 819, + "type": "Identifier", + "start": 683, + "end": 1220, "loc": { "start": { - "line": 36, + "line": 32, "column": 0 }, "end": { - "line": 38, + "line": 53, "column": 1 } }, "id": { "type": "Identifier", - "start": 773, - "end": 776, + "start": 689, + "end": 705, "loc": { "start": { - "line": 36, - "column": 9 + "line": 32, + "column": 6 }, "end": { - "line": 36, - "column": 12 + "line": 32, + "column": 22 }, - "identifierName": "get" + "identifierName": "_LordsOfTheNight" }, - "name": "get", - "leadingComments": null + "name": "_LordsOfTheNight" }, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 777, - "end": 779, - "loc": { - "start": { - "line": 36, - "column": 13 - }, - "end": { - "line": 36, - "column": 15 - }, - "identifierName": "id" - }, - "name": "id" - } - ], + "superClass": null, "body": { - "type": "BlockStatement", - "start": 781, - "end": 819, + "type": "ClassBody", + "start": 706, + "end": 1220, "loc": { "start": { - "line": 36, - "column": 17 + "line": 32, + "column": 23 }, "end": { - "line": 38, + "line": 53, "column": 1 } }, "body": [ { - "type": "ReturnStatement", - "start": 785, - "end": 817, + "type": "ClassMethod", + "start": 710, + "end": 1035, "loc": { "start": { - "line": 37, + "line": 33, "column": 2 }, "end": { - "line": 37, - "column": 34 + "line": 43, + "column": 3 } }, - "argument": { - "type": "MemberExpression", - "start": 792, - "end": 816, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 710, + "end": 721, "loc": { "start": { - "line": 37, - "column": 9 + "line": 33, + "column": 2 }, "end": { - "line": 37, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 792, - "end": 807, - "loc": { - "start": { - "line": 37, - "column": 9 - }, - "end": { - "line": 37, - "column": 24 - }, - "identifierName": "lordsOfTheNight" - }, - "name": "lordsOfTheNight" - }, - "property": { - "type": "TemplateLiteral", - "start": 808, - "end": 815, - "loc": { - "start": { - "line": 37, - "column": 25 - }, - "end": { - "line": 37, - "column": 32 - } + "line": 33, + "column": 13 }, - "expressions": [ - { - "type": "Identifier", - "start": 811, - "end": 813, - "loc": { - "start": { - "line": 37, - "column": 28 - }, - "end": { - "line": 37, - "column": 30 - }, - "identifierName": "id" - }, - "name": "id" - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 809, - "end": 809, - "loc": { - "start": { - "line": 37, - "column": 26 - }, - "end": { - "line": 37, - "column": 26 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 814, - "end": 814, - "loc": { - "start": { - "line": 37, - "column": 31 - }, - "end": { - "line": 37, - "column": 31 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": true - } - ] - }, - "computed": true - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return a Lord of the Night by its G id.\n * @param {string} id - Has the form 'G1', 'G2', etc.\n * @return {LordOfNight}\n ", - "start": 634, - "end": 763, - "loc": { - "start": { - "line": 31, - "column": 0 - }, - "end": { - "line": 35, - "column": 3 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 821, - "end": 835, - "loc": { - "start": { - "line": 40, - "column": 0 - }, - "end": { - "line": 40, - "column": 14 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 836, - "end": 1031, - "loc": { - "start": { - "line": 41, - "column": 0 - }, - "end": { - "line": 50, - "column": 3 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 842, - "end": 1030, - "loc": { - "start": { - "line": 41, - "column": 6 - }, - "end": { - "line": 50, - "column": 2 - } - }, - "id": { - "type": "Identifier", - "start": 842, - "end": 857, - "loc": { - "start": { - "line": 41, - "column": 6 - }, - "end": { - "line": 41, - "column": 21 - }, - "identifierName": "lordsOfTheNight" - }, - "name": "lordsOfTheNight", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 860, - "end": 1030, - "loc": { - "start": { - "line": 41, - "column": 24 + "identifierName": "constructor" }, - "end": { - "line": 50, - "column": 2 - } + "name": "constructor" }, - "callee": { - "type": "MemberExpression", - "start": 860, - "end": 899, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 724, + "end": 1035, "loc": { "start": { - "line": 41, - "column": 24 + "line": 33, + "column": 16 }, "end": { "line": 43, - "column": 8 + "column": 3 } }, - "object": { - "type": "ArrayExpression", - "start": 860, - "end": 892, - "loc": { - "start": { - "line": 41, - "column": 24 + "body": [ + { + "type": "ExpressionStatement", + "start": 730, + "end": 759, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 33 + } }, - "end": { - "line": 43, - "column": 1 - } - }, - "elements": [ - { - "type": "NumericLiteral", - "start": 864, - "end": 865, + "expression": { + "type": "AssignmentExpression", + "start": 730, + "end": 758, "loc": { "start": { - "line": 42, - "column": 2 + "line": 34, + "column": 4 }, "end": { - "line": 42, - "column": 3 + "line": 34, + "column": 32 } }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - { - "type": "NumericLiteral", - "start": 867, - "end": 868, - "loc": { - "start": { - "line": 42, - "column": 5 + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 730, + "end": 737, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 11 + } }, - "end": { - "line": 42, - "column": 6 - } + "object": { + "type": "ThisExpression", + "start": 730, + "end": 734, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 735, + "end": 737, + "loc": { + "start": { + "line": 34, + "column": 9 + }, + "end": { + "line": 34, + "column": 11 + }, + "identifierName": "G1" + }, + "name": "G1" + }, + "computed": false }, - "extra": { - "rawValue": 2, - "raw": "2" + "right": { + "type": "NewExpression", + "start": 740, + "end": 758, + "loc": { + "start": { + "line": 34, + "column": 14 + }, + "end": { + "line": 34, + "column": 32 + } + }, + "callee": { + "type": "Identifier", + "start": 744, + "end": 755, + "loc": { + "start": { + "line": 34, + "column": 18 + }, + "end": { + "line": 34, + "column": 29 + }, + "identifierName": "LordOfNight" + }, + "name": "LordOfNight" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 756, + "end": 757, + "loc": { + "start": { + "line": 34, + "column": 30 + }, + "end": { + "line": 34, + "column": 31 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 764, + "end": 793, + "loc": { + "start": { + "line": 35, + "column": 4 }, - "value": 2 + "end": { + "line": 35, + "column": 33 + } }, - { - "type": "NumericLiteral", - "start": 870, - "end": 871, + "expression": { + "type": "AssignmentExpression", + "start": 764, + "end": 792, "loc": { "start": { - "line": 42, - "column": 8 + "line": 35, + "column": 4 }, "end": { - "line": 42, - "column": 9 + "line": 35, + "column": 32 } }, - "extra": { - "rawValue": 3, - "raw": "3" - }, - "value": 3 - }, - { - "type": "NumericLiteral", - "start": 873, - "end": 874, - "loc": { - "start": { - "line": 42, - "column": 11 - }, - "end": { - "line": 42, - "column": 12 - } - }, - "extra": { - "rawValue": 4, - "raw": "4" - }, - "value": 4 - }, - { - "type": "NumericLiteral", - "start": 876, - "end": 877, - "loc": { - "start": { - "line": 42, - "column": 14 - }, - "end": { - "line": 42, - "column": 15 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - }, - { - "type": "NumericLiteral", - "start": 879, - "end": 880, - "loc": { - "start": { - "line": 42, - "column": 17 - }, - "end": { - "line": 42, - "column": 18 - } - }, - "extra": { - "rawValue": 6, - "raw": "6" - }, - "value": 6 - }, - { - "type": "NumericLiteral", - "start": 882, - "end": 883, - "loc": { - "start": { - "line": 42, - "column": 20 - }, - "end": { - "line": 42, - "column": 21 - } - }, - "extra": { - "rawValue": 7, - "raw": "7" - }, - "value": 7 - }, - { - "type": "NumericLiteral", - "start": 885, - "end": 886, - "loc": { - "start": { - "line": 42, - "column": 23 - }, - "end": { - "line": 42, - "column": 24 - } - }, - "extra": { - "rawValue": 8, - "raw": "8" - }, - "value": 8 - }, - { - "type": "NumericLiteral", - "start": 888, - "end": 889, - "loc": { - "start": { - "line": 42, - "column": 26 - }, - "end": { - "line": 42, - "column": 27 - } - }, - "extra": { - "rawValue": 9, - "raw": "9" - }, - "value": 9 - } - ] - }, - "property": { - "type": "Identifier", - "start": 893, - "end": 899, - "loc": { - "start": { - "line": 43, - "column": 2 - }, - "end": { - "line": 43, - "column": 8 - }, - "identifierName": "reduce" - }, - "name": "reduce" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 900, - "end": 1017, - "loc": { - "start": { - "line": 43, - "column": 9 - }, - "end": { - "line": 48, - "column": 1 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 901, - "end": 904, - "loc": { - "start": { - "line": 43, - "column": 10 - }, - "end": { - "line": 43, - "column": 13 + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 764, + "end": 771, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 11 + } }, - "identifierName": "obj" - }, - "name": "obj" - }, - { - "type": "Identifier", - "start": 906, - "end": 907, - "loc": { - "start": { - "line": 43, - "column": 15 + "object": { + "type": "ThisExpression", + "start": 764, + "end": 768, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 8 + } + } }, - "end": { - "line": 43, - "column": 16 + "property": { + "type": "Identifier", + "start": 769, + "end": 771, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 11 + }, + "identifierName": "G2" + }, + "name": "G2" }, - "identifierName": "n" - }, - "name": "n" - } - ], - "body": { - "type": "BlockStatement", - "start": 912, - "end": 1017, - "loc": { - "start": { - "line": 43, - "column": 21 + "computed": false }, - "end": { - "line": 48, - "column": 1 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 916, - "end": 948, + "right": { + "type": "NewExpression", + "start": 774, + "end": 792, "loc": { "start": { - "line": 44, - "column": 2 + "line": 35, + "column": 14 }, "end": { - "line": 44, - "column": 34 + "line": 35, + "column": 32 } }, - "declarations": [ + "callee": { + "type": "Identifier", + "start": 778, + "end": 789, + "loc": { + "start": { + "line": 35, + "column": 18 + }, + "end": { + "line": 35, + "column": 29 + }, + "identifierName": "LordOfNight" + }, + "name": "LordOfNight" + }, + "arguments": [ { - "type": "VariableDeclarator", - "start": 922, - "end": 947, + "type": "NumericLiteral", + "start": 790, + "end": 791, "loc": { "start": { - "line": 44, - "column": 8 + "line": 35, + "column": 30 }, "end": { - "line": 44, - "column": 33 + "line": 35, + "column": 31 } }, - "id": { - "type": "Identifier", - "start": 922, - "end": 926, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 12 - }, - "identifierName": "lord" - }, - "name": "lord" + "extra": { + "rawValue": 2, + "raw": "2" }, - "init": { - "type": "NewExpression", - "start": 929, - "end": 947, - "loc": { - "start": { - "line": 44, - "column": 15 - }, - "end": { - "line": 44, - "column": 33 - } - }, - "callee": { - "type": "Identifier", - "start": 933, - "end": 944, - "loc": { - "start": { - "line": 44, - "column": 19 - }, - "end": { - "line": 44, - "column": 30 - }, - "identifierName": "LordOfNight" - }, - "name": "LordOfNight" - }, - "arguments": [ - { - "type": "Identifier", - "start": 945, - "end": 946, - "loc": { - "start": { - "line": 44, - "column": 31 - }, - "end": { - "line": 44, - "column": 32 - }, - "identifierName": "n" - }, - "name": "n" - } - ] - } + "value": 2 } - ], - "kind": "const" + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 798, + "end": 827, + "loc": { + "start": { + "line": 36, + "column": 4 }, - { - "type": "VariableDeclaration", - "start": 951, - "end": 970, + "end": { + "line": 36, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 798, + "end": 826, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 798, + "end": 805, "loc": { "start": { - "line": 45, - "column": 2 + "line": 36, + "column": 4 }, "end": { - "line": 45, - "column": 21 + "line": 36, + "column": 11 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 957, - "end": 969, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 20 - } - }, - "id": { - "type": "Identifier", - "start": 957, - "end": 963, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 14 - }, - "identifierName": "newObj" - }, - "name": "newObj" + "object": { + "type": "ThisExpression", + "start": 798, + "end": 802, + "loc": { + "start": { + "line": 36, + "column": 4 }, - "init": { - "type": "Identifier", - "start": 966, - "end": 969, - "loc": { - "start": { - "line": 45, - "column": 17 - }, - "end": { - "line": 45, - "column": 20 - }, - "identifierName": "obj" - }, - "name": "obj" + "end": { + "line": 36, + "column": 8 } } - ], - "kind": "const" + }, + "property": { + "type": "Identifier", + "start": 803, + "end": 805, + "loc": { + "start": { + "line": 36, + "column": 9 + }, + "end": { + "line": 36, + "column": 11 + }, + "identifierName": "G3" + }, + "name": "G3" + }, + "computed": false }, - { - "type": "ExpressionStatement", - "start": 973, - "end": 998, + "right": { + "type": "NewExpression", + "start": 808, + "end": 826, "loc": { "start": { - "line": 46, - "column": 2 + "line": 36, + "column": 14 }, "end": { - "line": 46, - "column": 27 + "line": 36, + "column": 32 } }, - "expression": { - "type": "AssignmentExpression", - "start": 973, - "end": 997, + "callee": { + "type": "Identifier", + "start": 812, + "end": 823, "loc": { "start": { - "line": 46, - "column": 2 + "line": 36, + "column": 18 }, "end": { - "line": 46, - "column": 26 - } + "line": 36, + "column": 29 + }, + "identifierName": "LordOfNight" }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 973, - "end": 990, + "name": "LordOfNight" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 824, + "end": 825, "loc": { "start": { - "line": 46, - "column": 2 + "line": 36, + "column": 30 }, "end": { - "line": 46, - "column": 19 + "line": 36, + "column": 31 } }, - "object": { - "type": "Identifier", - "start": 973, - "end": 979, - "loc": { - "start": { - "line": 46, - "column": 2 - }, - "end": { - "line": 46, - "column": 8 - }, - "identifierName": "newObj" - }, - "name": "newObj" + "extra": { + "rawValue": 3, + "raw": "3" }, - "property": { - "type": "TemplateLiteral", - "start": 980, - "end": 989, - "loc": { - "start": { - "line": 46, - "column": 9 - }, - "end": { - "line": 46, - "column": 18 - } - }, - "expressions": [ - { - "type": "Identifier", - "start": 983, - "end": 987, - "loc": { - "start": { - "line": 46, - "column": 12 - }, - "end": { - "line": 46, - "column": 16 - }, - "identifierName": "lord" - }, - "name": "lord" - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 981, - "end": 981, - "loc": { - "start": { - "line": 46, - "column": 10 - }, - "end": { - "line": 46, - "column": 10 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 988, - "end": 988, - "loc": { - "start": { - "line": 46, - "column": 17 - }, - "end": { - "line": 46, - "column": 17 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": true - } - ] + "value": 3 + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 832, + "end": 861, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 832, + "end": 860, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 832, + "end": 839, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 11 + } + }, + "object": { + "type": "ThisExpression", + "start": 832, + "end": 836, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 837, + "end": 839, + "loc": { + "start": { + "line": 37, + "column": 9 + }, + "end": { + "line": 37, + "column": 11 }, - "computed": true + "identifierName": "G4" }, - "right": { - "type": "Identifier", - "start": 993, - "end": 997, + "name": "G4" + }, + "computed": false + }, + "right": { + "type": "NewExpression", + "start": 842, + "end": 860, + "loc": { + "start": { + "line": 37, + "column": 14 + }, + "end": { + "line": 37, + "column": 32 + } + }, + "callee": { + "type": "Identifier", + "start": 846, + "end": 857, + "loc": { + "start": { + "line": 37, + "column": 18 + }, + "end": { + "line": 37, + "column": 29 + }, + "identifierName": "LordOfNight" + }, + "name": "LordOfNight" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 858, + "end": 859, "loc": { "start": { - "line": 46, - "column": 22 + "line": 37, + "column": 30 }, "end": { - "line": 46, - "column": 26 - }, - "identifierName": "lord" + "line": 37, + "column": 31 + } }, - "name": "lord" + "extra": { + "rawValue": 4, + "raw": "4" + }, + "value": 4 } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 866, + "end": 895, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 866, + "end": 894, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 32 } }, - { - "type": "ReturnStatement", - "start": 1001, - "end": 1015, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 866, + "end": 873, "loc": { "start": { - "line": 47, - "column": 2 + "line": 38, + "column": 4 }, "end": { - "line": 47, - "column": 16 + "line": 38, + "column": 11 + } + }, + "object": { + "type": "ThisExpression", + "start": 866, + "end": 870, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 8 + } } }, - "argument": { + "property": { "type": "Identifier", - "start": 1008, - "end": 1014, + "start": 871, + "end": 873, "loc": { "start": { - "line": 47, + "line": 38, "column": 9 }, "end": { - "line": 47, - "column": 15 + "line": 38, + "column": 11 }, - "identifierName": "newObj" + "identifierName": "G5" }, - "name": "newObj" - } + "name": "G5" + }, + "computed": false + }, + "right": { + "type": "NewExpression", + "start": 876, + "end": 894, + "loc": { + "start": { + "line": 38, + "column": 14 + }, + "end": { + "line": 38, + "column": 32 + } + }, + "callee": { + "type": "Identifier", + "start": 880, + "end": 891, + "loc": { + "start": { + "line": 38, + "column": 18 + }, + "end": { + "line": 38, + "column": 29 + }, + "identifierName": "LordOfNight" + }, + "name": "LordOfNight" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 892, + "end": 893, + "loc": { + "start": { + "line": 38, + "column": 30 + }, + "end": { + "line": 38, + "column": 31 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 + } + ] } - ], - "directives": [] - } - }, - { - "type": "ObjectExpression", - "start": 1019, - "end": 1029, - "loc": { - "start": { - "line": 48, - "column": 3 - }, - "end": { - "line": 50, - "column": 1 } }, - "properties": [ - { - "type": "ObjectProperty", - "start": 1023, - "end": 1026, + { + "type": "ExpressionStatement", + "start": 900, + "end": 929, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 39, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 900, + "end": 928, "loc": { "start": { - "line": 49, - "column": 2 + "line": 39, + "column": 4 }, "end": { - "line": 49, - "column": 5 + "line": 39, + "column": 32 } }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 1023, - "end": 1026, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 900, + "end": 907, "loc": { "start": { - "line": 49, - "column": 2 + "line": 39, + "column": 4 }, "end": { - "line": 49, - "column": 5 + "line": 39, + "column": 11 + } + }, + "object": { + "type": "ThisExpression", + "start": 900, + "end": 904, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 39, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 905, + "end": 907, + "loc": { + "start": { + "line": 39, + "column": 9 + }, + "end": { + "line": 39, + "column": 11 + }, + "identifierName": "G6" }, - "identifierName": "get" + "name": "G6" }, - "name": "get" + "computed": false }, - "value": { - "type": "Identifier", - "start": 1023, - "end": 1026, + "right": { + "type": "NewExpression", + "start": 910, + "end": 928, "loc": { "start": { - "line": 49, - "column": 2 + "line": 39, + "column": 14 }, "end": { - "line": 49, - "column": 5 + "line": 39, + "column": 32 + } + }, + "callee": { + "type": "Identifier", + "start": 914, + "end": 925, + "loc": { + "start": { + "line": 39, + "column": 18 + }, + "end": { + "line": 39, + "column": 29 + }, + "identifierName": "LordOfNight" }, - "identifierName": "get" + "name": "LordOfNight" }, - "name": "get" - }, - "extra": { - "shorthand": true + "arguments": [ + { + "type": "NumericLiteral", + "start": 926, + "end": 927, + "loc": { + "start": { + "line": 39, + "column": 30 + }, + "end": { + "line": 39, + "column": 31 + } + }, + "extra": { + "rawValue": 6, + "raw": "6" + }, + "value": 6 + } + ] } } - ] - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 821, - "end": 835, - "loc": { - "start": { - "line": 40, - "column": 0 - }, - "end": { - "line": 40, - "column": 14 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 1033, - "end": 1066, - "loc": { - "start": { - "line": 52, - "column": 0 - }, - "end": { - "line": 52, - "column": 33 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1033, - "end": 1065, - "loc": { - "start": { - "line": 52, - "column": 0 - }, - "end": { - "line": 52, - "column": 32 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1033, - "end": 1047, - "loc": { - "start": { - "line": 52, - "column": 0 + }, + { + "type": "ExpressionStatement", + "start": 934, + "end": 963, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 934, + "end": 962, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 934, + "end": 941, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 11 + } + }, + "object": { + "type": "ThisExpression", + "start": 934, + "end": 938, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 939, + "end": 941, + "loc": { + "start": { + "line": 40, + "column": 9 + }, + "end": { + "line": 40, + "column": 11 + }, + "identifierName": "G7" + }, + "name": "G7" + }, + "computed": false + }, + "right": { + "type": "NewExpression", + "start": 944, + "end": 962, + "loc": { + "start": { + "line": 40, + "column": 14 + }, + "end": { + "line": 40, + "column": 32 + } + }, + "callee": { + "type": "Identifier", + "start": 948, + "end": 959, + "loc": { + "start": { + "line": 40, + "column": 18 + }, + "end": { + "line": 40, + "column": 29 + }, + "identifierName": "LordOfNight" + }, + "name": "LordOfNight" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 960, + "end": 961, + "loc": { + "start": { + "line": 40, + "column": 30 + }, + "end": { + "line": 40, + "column": 31 + } + }, + "extra": { + "rawValue": 7, + "raw": "7" + }, + "value": 7 + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 968, + "end": 997, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 968, + "end": 996, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 968, + "end": 975, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 11 + } + }, + "object": { + "type": "ThisExpression", + "start": 968, + "end": 972, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 973, + "end": 975, + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 11 + }, + "identifierName": "G8" + }, + "name": "G8" + }, + "computed": false + }, + "right": { + "type": "NewExpression", + "start": 978, + "end": 996, + "loc": { + "start": { + "line": 41, + "column": 14 + }, + "end": { + "line": 41, + "column": 32 + } + }, + "callee": { + "type": "Identifier", + "start": 982, + "end": 993, + "loc": { + "start": { + "line": 41, + "column": 18 + }, + "end": { + "line": 41, + "column": 29 + }, + "identifierName": "LordOfNight" + }, + "name": "LordOfNight" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 994, + "end": 995, + "loc": { + "start": { + "line": 41, + "column": 30 + }, + "end": { + "line": 41, + "column": 31 + } + }, + "extra": { + "rawValue": 8, + "raw": "8" + }, + "value": 8 + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 1002, + "end": 1031, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1002, + "end": 1030, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1002, + "end": 1009, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 11 + } + }, + "object": { + "type": "ThisExpression", + "start": 1002, + "end": 1006, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1007, + "end": 1009, + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 11 + }, + "identifierName": "G9" + }, + "name": "G9" + }, + "computed": false + }, + "right": { + "type": "NewExpression", + "start": 1012, + "end": 1030, + "loc": { + "start": { + "line": 42, + "column": 14 + }, + "end": { + "line": 42, + "column": 32 + } + }, + "callee": { + "type": "Identifier", + "start": 1016, + "end": 1027, + "loc": { + "start": { + "line": 42, + "column": 18 + }, + "end": { + "line": 42, + "column": 29 + }, + "identifierName": "LordOfNight" + }, + "name": "LordOfNight" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 1028, + "end": 1029, + "loc": { + "start": { + "line": 42, + "column": 30 + }, + "end": { + "line": 42, + "column": 31 + } + }, + "extra": { + "rawValue": 9, + "raw": "9" + }, + "value": 9 + } + ] + } + } + } + ], + "directives": [], + "trailingComments": null }, - "end": { - "line": 52, - "column": 14 - } + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return a Lord of the Night by its G id.\n * @param {string} id - Has the form 'G1', 'G2', etc.\n * @return {LordOfNight}\n ", + "start": 1039, + "end": 1176, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 49, + "column": 5 + } + } + } + ] }, - "object": { - "type": "Identifier", - "start": 1033, - "end": 1039, + { + "type": "ClassMethod", + "start": 1179, + "end": 1218, "loc": { "start": { - "line": 52, - "column": 0 + "line": 50, + "column": 2 }, "end": { "line": 52, - "column": 6 - }, - "identifierName": "module" + "column": 3 + } }, - "name": "module" - }, - "property": { - "type": "Identifier", - "start": 1040, - "end": 1047, - "loc": { - "start": { - "line": 52, - "column": 7 + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1179, + "end": 1182, + "loc": { + "start": { + "line": 50, + "column": 2 + }, + "end": { + "line": 50, + "column": 5 + }, + "identifierName": "get" }, - "end": { - "line": 52, - "column": 14 + "name": "get", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1183, + "end": 1185, + "loc": { + "start": { + "line": 50, + "column": 6 + }, + "end": { + "line": 50, + "column": 8 + }, + "identifierName": "id" + }, + "name": "id" + } + ], + "body": { + "type": "BlockStatement", + "start": 1187, + "end": 1218, + "loc": { + "start": { + "line": 50, + "column": 10 + }, + "end": { + "line": 52, + "column": 3 + } }, - "identifierName": "exports" + "body": [ + { + "type": "ReturnStatement", + "start": 1193, + "end": 1214, + "loc": { + "start": { + "line": 51, + "column": 4 + }, + "end": { + "line": 51, + "column": 25 + } + }, + "argument": { + "type": "MemberExpression", + "start": 1200, + "end": 1213, + "loc": { + "start": { + "line": 51, + "column": 11 + }, + "end": { + "line": 51, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 1200, + "end": 1204, + "loc": { + "start": { + "line": 51, + "column": 11 + }, + "end": { + "line": 51, + "column": 15 + } + } + }, + "property": { + "type": "TemplateLiteral", + "start": 1205, + "end": 1212, + "loc": { + "start": { + "line": 51, + "column": 16 + }, + "end": { + "line": 51, + "column": 23 + } + }, + "expressions": [ + { + "type": "Identifier", + "start": 1208, + "end": 1210, + "loc": { + "start": { + "line": 51, + "column": 19 + }, + "end": { + "line": 51, + "column": 21 + }, + "identifierName": "id" + }, + "name": "id" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1206, + "end": 1206, + "loc": { + "start": { + "line": 51, + "column": 17 + }, + "end": { + "line": 51, + "column": 17 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1211, + "end": 1211, + "loc": { + "start": { + "line": 51, + "column": 22 + }, + "end": { + "line": 51, + "column": 22 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + }, + "computed": true + } + } + ], + "directives": [] }, - "name": "exports" + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return a Lord of the Night by its G id.\n * @param {string} id - Has the form 'G1', 'G2', etc.\n * @return {LordOfNight}\n ", + "start": 1039, + "end": 1176, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 49, + "column": 5 + } + } + } + ] + } + ] + }, + "name": "_", + "leadingComments": [], + "trailingComments": [] + }, + { + "type": "Identifier", + "start": 1222, + "end": 1260, + "loc": { + "start": { + "line": 55, + "column": 0 + }, + "end": { + "line": 55, + "column": 38 + } + }, + "declaration": { + "type": "NewExpression", + "start": 1237, + "end": 1259, + "loc": { + "start": { + "line": 55, + "column": 15 }, - "computed": false + "end": { + "line": 55, + "column": 37 + } }, - "right": { + "callee": { "type": "Identifier", - "start": 1050, - "end": 1065, + "start": 1241, + "end": 1257, "loc": { "start": { - "line": 52, - "column": 17 + "line": 55, + "column": 19 }, "end": { - "line": 52, - "column": 32 + "line": 55, + "column": 35 }, - "identifierName": "lordsOfTheNight" + "identifierName": "_LordsOfTheNight" }, - "name": "lordsOfTheNight" + "name": "_LordsOfTheNight" + }, + "arguments": [] + }, + "name": "_", + "leadingComments": [], + "trailingComments": [] + }, + { + "type": "ExportDefaultDeclaration", + "start": 1222, + "end": 1260, + "loc": { + "start": { + "line": 55, + "column": 0 + }, + "end": { + "line": 55, + "column": 38 } + }, + "declaration": { + "type": "ClassDeclaration", + "start": 683, + "end": 1220, + "loc": { + "start": { + "line": 32, + "column": 0 + }, + "end": { + "line": 53, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 689, + "end": 705, + "loc": { + "start": { + "line": 32, + "column": 6 + }, + "end": { + "line": 32, + "column": 22 + }, + "identifierName": "_LordsOfTheNight" + }, + "name": "_LordsOfTheNight" + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 706, + "end": 1220, + "loc": { + "start": { + "line": 32, + "column": 23 + }, + "end": { + "line": 53, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 710, + "end": 1035, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 43, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 710, + "end": 721, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 33, + "column": 13 + }, + "identifierName": "constructor" + }, + "name": "constructor" + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 724, + "end": 1035, + "loc": { + "start": { + "line": 33, + "column": 16 + }, + "end": { + "line": 43, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 730, + "end": 759, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 730, + "end": 758, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 730, + "end": 737, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 11 + } + }, + "object": { + "type": "ThisExpression", + "start": 730, + "end": 734, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 735, + "end": 737, + "loc": { + "start": { + "line": 34, + "column": 9 + }, + "end": { + "line": 34, + "column": 11 + }, + "identifierName": "G1" + }, + "name": "G1" + }, + "computed": false + }, + "right": { + "type": "NewExpression", + "start": 740, + "end": 758, + "loc": { + "start": { + "line": 34, + "column": 14 + }, + "end": { + "line": 34, + "column": 32 + } + }, + "callee": { + "type": "Identifier", + "start": 744, + "end": 755, + "loc": { + "start": { + "line": 34, + "column": 18 + }, + "end": { + "line": 34, + "column": 29 + }, + "identifierName": "LordOfNight" + }, + "name": "LordOfNight" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 756, + "end": 757, + "loc": { + "start": { + "line": 34, + "column": 30 + }, + "end": { + "line": 34, + "column": 31 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 764, + "end": 793, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 764, + "end": 792, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 764, + "end": 771, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 11 + } + }, + "object": { + "type": "ThisExpression", + "start": 764, + "end": 768, + "loc": { + "start": { + "line": 35, + "column": 4 + }, + "end": { + "line": 35, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 769, + "end": 771, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 11 + }, + "identifierName": "G2" + }, + "name": "G2" + }, + "computed": false + }, + "right": { + "type": "NewExpression", + "start": 774, + "end": 792, + "loc": { + "start": { + "line": 35, + "column": 14 + }, + "end": { + "line": 35, + "column": 32 + } + }, + "callee": { + "type": "Identifier", + "start": 778, + "end": 789, + "loc": { + "start": { + "line": 35, + "column": 18 + }, + "end": { + "line": 35, + "column": 29 + }, + "identifierName": "LordOfNight" + }, + "name": "LordOfNight" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 790, + "end": 791, + "loc": { + "start": { + "line": 35, + "column": 30 + }, + "end": { + "line": 35, + "column": 31 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 798, + "end": 827, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 798, + "end": 826, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 798, + "end": 805, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 11 + } + }, + "object": { + "type": "ThisExpression", + "start": 798, + "end": 802, + "loc": { + "start": { + "line": 36, + "column": 4 + }, + "end": { + "line": 36, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 803, + "end": 805, + "loc": { + "start": { + "line": 36, + "column": 9 + }, + "end": { + "line": 36, + "column": 11 + }, + "identifierName": "G3" + }, + "name": "G3" + }, + "computed": false + }, + "right": { + "type": "NewExpression", + "start": 808, + "end": 826, + "loc": { + "start": { + "line": 36, + "column": 14 + }, + "end": { + "line": 36, + "column": 32 + } + }, + "callee": { + "type": "Identifier", + "start": 812, + "end": 823, + "loc": { + "start": { + "line": 36, + "column": 18 + }, + "end": { + "line": 36, + "column": 29 + }, + "identifierName": "LordOfNight" + }, + "name": "LordOfNight" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 824, + "end": 825, + "loc": { + "start": { + "line": 36, + "column": 30 + }, + "end": { + "line": 36, + "column": 31 + } + }, + "extra": { + "rawValue": 3, + "raw": "3" + }, + "value": 3 + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 832, + "end": 861, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 832, + "end": 860, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 832, + "end": 839, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 11 + } + }, + "object": { + "type": "ThisExpression", + "start": 832, + "end": 836, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 837, + "end": 839, + "loc": { + "start": { + "line": 37, + "column": 9 + }, + "end": { + "line": 37, + "column": 11 + }, + "identifierName": "G4" + }, + "name": "G4" + }, + "computed": false + }, + "right": { + "type": "NewExpression", + "start": 842, + "end": 860, + "loc": { + "start": { + "line": 37, + "column": 14 + }, + "end": { + "line": 37, + "column": 32 + } + }, + "callee": { + "type": "Identifier", + "start": 846, + "end": 857, + "loc": { + "start": { + "line": 37, + "column": 18 + }, + "end": { + "line": 37, + "column": 29 + }, + "identifierName": "LordOfNight" + }, + "name": "LordOfNight" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 858, + "end": 859, + "loc": { + "start": { + "line": 37, + "column": 30 + }, + "end": { + "line": 37, + "column": 31 + } + }, + "extra": { + "rawValue": 4, + "raw": "4" + }, + "value": 4 + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 866, + "end": 895, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 866, + "end": 894, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 866, + "end": 873, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 11 + } + }, + "object": { + "type": "ThisExpression", + "start": 866, + "end": 870, + "loc": { + "start": { + "line": 38, + "column": 4 + }, + "end": { + "line": 38, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 871, + "end": 873, + "loc": { + "start": { + "line": 38, + "column": 9 + }, + "end": { + "line": 38, + "column": 11 + }, + "identifierName": "G5" + }, + "name": "G5" + }, + "computed": false + }, + "right": { + "type": "NewExpression", + "start": 876, + "end": 894, + "loc": { + "start": { + "line": 38, + "column": 14 + }, + "end": { + "line": 38, + "column": 32 + } + }, + "callee": { + "type": "Identifier", + "start": 880, + "end": 891, + "loc": { + "start": { + "line": 38, + "column": 18 + }, + "end": { + "line": 38, + "column": 29 + }, + "identifierName": "LordOfNight" + }, + "name": "LordOfNight" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 892, + "end": 893, + "loc": { + "start": { + "line": 38, + "column": 30 + }, + "end": { + "line": 38, + "column": 31 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 900, + "end": 929, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 39, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 900, + "end": 928, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 39, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 900, + "end": 907, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 39, + "column": 11 + } + }, + "object": { + "type": "ThisExpression", + "start": 900, + "end": 904, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 39, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 905, + "end": 907, + "loc": { + "start": { + "line": 39, + "column": 9 + }, + "end": { + "line": 39, + "column": 11 + }, + "identifierName": "G6" + }, + "name": "G6" + }, + "computed": false + }, + "right": { + "type": "NewExpression", + "start": 910, + "end": 928, + "loc": { + "start": { + "line": 39, + "column": 14 + }, + "end": { + "line": 39, + "column": 32 + } + }, + "callee": { + "type": "Identifier", + "start": 914, + "end": 925, + "loc": { + "start": { + "line": 39, + "column": 18 + }, + "end": { + "line": 39, + "column": 29 + }, + "identifierName": "LordOfNight" + }, + "name": "LordOfNight" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 926, + "end": 927, + "loc": { + "start": { + "line": 39, + "column": 30 + }, + "end": { + "line": 39, + "column": 31 + } + }, + "extra": { + "rawValue": 6, + "raw": "6" + }, + "value": 6 + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 934, + "end": 963, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 934, + "end": 962, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 934, + "end": 941, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 11 + } + }, + "object": { + "type": "ThisExpression", + "start": 934, + "end": 938, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 939, + "end": 941, + "loc": { + "start": { + "line": 40, + "column": 9 + }, + "end": { + "line": 40, + "column": 11 + }, + "identifierName": "G7" + }, + "name": "G7" + }, + "computed": false + }, + "right": { + "type": "NewExpression", + "start": 944, + "end": 962, + "loc": { + "start": { + "line": 40, + "column": 14 + }, + "end": { + "line": 40, + "column": 32 + } + }, + "callee": { + "type": "Identifier", + "start": 948, + "end": 959, + "loc": { + "start": { + "line": 40, + "column": 18 + }, + "end": { + "line": 40, + "column": 29 + }, + "identifierName": "LordOfNight" + }, + "name": "LordOfNight" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 960, + "end": 961, + "loc": { + "start": { + "line": 40, + "column": 30 + }, + "end": { + "line": 40, + "column": 31 + } + }, + "extra": { + "rawValue": 7, + "raw": "7" + }, + "value": 7 + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 968, + "end": 997, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 968, + "end": 996, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 968, + "end": 975, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 11 + } + }, + "object": { + "type": "ThisExpression", + "start": 968, + "end": 972, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 973, + "end": 975, + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 11 + }, + "identifierName": "G8" + }, + "name": "G8" + }, + "computed": false + }, + "right": { + "type": "NewExpression", + "start": 978, + "end": 996, + "loc": { + "start": { + "line": 41, + "column": 14 + }, + "end": { + "line": 41, + "column": 32 + } + }, + "callee": { + "type": "Identifier", + "start": 982, + "end": 993, + "loc": { + "start": { + "line": 41, + "column": 18 + }, + "end": { + "line": 41, + "column": 29 + }, + "identifierName": "LordOfNight" + }, + "name": "LordOfNight" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 994, + "end": 995, + "loc": { + "start": { + "line": 41, + "column": 30 + }, + "end": { + "line": 41, + "column": 31 + } + }, + "extra": { + "rawValue": 8, + "raw": "8" + }, + "value": 8 + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 1002, + "end": 1031, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 33 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1002, + "end": 1030, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 32 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1002, + "end": 1009, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 11 + } + }, + "object": { + "type": "ThisExpression", + "start": 1002, + "end": 1006, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 1007, + "end": 1009, + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 11 + }, + "identifierName": "G9" + }, + "name": "G9" + }, + "computed": false + }, + "right": { + "type": "NewExpression", + "start": 1012, + "end": 1030, + "loc": { + "start": { + "line": 42, + "column": 14 + }, + "end": { + "line": 42, + "column": 32 + } + }, + "callee": { + "type": "Identifier", + "start": 1016, + "end": 1027, + "loc": { + "start": { + "line": 42, + "column": 18 + }, + "end": { + "line": 42, + "column": 29 + }, + "identifierName": "LordOfNight" + }, + "name": "LordOfNight" + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 1028, + "end": 1029, + "loc": { + "start": { + "line": 42, + "column": 30 + }, + "end": { + "line": 42, + "column": 31 + } + }, + "extra": { + "rawValue": 9, + "raw": "9" + }, + "value": 9 + } + ] + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return a Lord of the Night by its G id.\n * @param {string} id - Has the form 'G1', 'G2', etc.\n * @return {LordOfNight}\n ", + "start": 1039, + "end": 1176, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 49, + "column": 5 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1179, + "end": 1218, + "loc": { + "start": { + "line": 50, + "column": 2 + }, + "end": { + "line": 52, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1179, + "end": 1182, + "loc": { + "start": { + "line": 50, + "column": 2 + }, + "end": { + "line": 50, + "column": 5 + }, + "identifierName": "get" + }, + "name": "get", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1183, + "end": 1185, + "loc": { + "start": { + "line": 50, + "column": 6 + }, + "end": { + "line": 50, + "column": 8 + }, + "identifierName": "id" + }, + "name": "id" + } + ], + "body": { + "type": "BlockStatement", + "start": 1187, + "end": 1218, + "loc": { + "start": { + "line": 50, + "column": 10 + }, + "end": { + "line": 52, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1193, + "end": 1214, + "loc": { + "start": { + "line": 51, + "column": 4 + }, + "end": { + "line": 51, + "column": 25 + } + }, + "argument": { + "type": "MemberExpression", + "start": 1200, + "end": 1213, + "loc": { + "start": { + "line": 51, + "column": 11 + }, + "end": { + "line": 51, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 1200, + "end": 1204, + "loc": { + "start": { + "line": 51, + "column": 11 + }, + "end": { + "line": 51, + "column": 15 + } + } + }, + "property": { + "type": "TemplateLiteral", + "start": 1205, + "end": 1212, + "loc": { + "start": { + "line": 51, + "column": 16 + }, + "end": { + "line": 51, + "column": 23 + } + }, + "expressions": [ + { + "type": "Identifier", + "start": 1208, + "end": 1210, + "loc": { + "start": { + "line": 51, + "column": 19 + }, + "end": { + "line": 51, + "column": 21 + }, + "identifierName": "id" + }, + "name": "id" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1206, + "end": 1206, + "loc": { + "start": { + "line": 51, + "column": 17 + }, + "end": { + "line": 51, + "column": 17 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1211, + "end": 1211, + "loc": { + "start": { + "line": 51, + "column": 22 + }, + "end": { + "line": 51, + "column": 22 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + }, + "computed": true + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return a Lord of the Night by its G id.\n * @param {string} id - Has the form 'G1', 'G2', etc.\n * @return {LordOfNight}\n ", + "start": 1039, + "end": 1176, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 49, + "column": 5 + } + } + } + ] + } + ] + }, + "__PseudoExport__": true, + "leadingComments": [], + "trailingComments": [] + }, + "leadingComments": null + }, + { + "type": "ExportDefaultDeclaration", + "start": 1222, + "end": 1260, + "loc": { + "start": { + "line": 55, + "column": 0 + }, + "end": { + "line": 55, + "column": 38 + } + }, + "declaration": { + "type": "VariableDeclaration", + "kind": "let", + "loc": { + "start": { + "line": 55, + "column": 0 + }, + "end": { + "line": 55, + "column": 38 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "_LordsOfTheNight" + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "_LordsOfTheNight" + } + } + } + ], + "leadingComments": [], + "trailingComments": [] + } + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * Describes one of the 9 Lords of the night.\n * This class is accessible through its instantiated values, or the get()\n * method.\n * @example\n * let lord_of_night_g8_1 = mayadates.lc.night.get('G8')\n * let lord_of_night_g8_2 = mayadates.lc.night.G8\n * console.log(lord_of_night_g8_1 === lord_of_night_g8_2)\n ", + "start": 0, + "end": 318, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 9, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " eslint-disable-next-line max-classes-per-file", + "start": 319, + "end": 367, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 48 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {number} id\n ", + "start": 390, + "end": 423, + "loc": { + "start": { + "line": 12, + "column": 2 + }, + "end": { + "line": 14, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Number of the Lord of the Night\n * @type {number}\n ", + "start": 448, + "end": 520, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 19, + "column": 7 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Represent the Lord of the night as a string G1..G9.\n * @return {string}\n ", + "start": 546, + "end": 634, + "loc": { + "start": { + "line": 23, + "column": 2 + }, + "end": { + "line": 26, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return a Lord of the Night by its G id.\n * @param {string} id - Has the form 'G1', 'G2', etc.\n * @return {LordOfNight}\n ", + "start": 1039, + "end": 1176, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 49, + "column": 5 + } + } + } + ], + "tokens": [ + { + "type": "CommentBlock", + "value": "*\n * Describes one of the 9 Lords of the night.\n * This class is accessible through its instantiated values, or the get()\n * method.\n * @example\n * let lord_of_night_g8_1 = mayadates.lc.night.get('G8')\n * let lord_of_night_g8_2 = mayadates.lc.night.G8\n * console.log(lord_of_night_g8_1 === lord_of_night_g8_2)\n ", + "start": 0, + "end": 318, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 9, + "column": 3 + } + } + }, + { + "type": "CommentLine", + "value": " eslint-disable-next-line max-classes-per-file", + "start": 319, + "end": 367, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 48 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 368, + "end": 373, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "LordOfNight", + "start": 374, + "end": 385, + "loc": { + "start": { + "line": 11, + "column": 6 + }, + "end": { + "line": 11, + "column": 17 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 386, + "end": 387, + "loc": { + "start": { + "line": 11, + "column": 18 + }, + "end": { + "line": 11, + "column": 19 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {number} id\n ", + "start": 390, + "end": 423, + "loc": { + "start": { + "line": 12, + "column": 2 + }, + "end": { + "line": 14, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 426, + "end": 437, + "loc": { + "start": { + "line": 15, + "column": 2 + }, + "end": { + "line": 15, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 437, + "end": 438, + "loc": { + "start": { + "line": 15, + "column": 13 + }, + "end": { + "line": 15, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "id", + "start": 438, + "end": 440, + "loc": { + "start": { + "line": 15, + "column": 14 + }, + "end": { + "line": 15, + "column": 16 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 440, + "end": 441, + "loc": { + "start": { + "line": 15, + "column": 16 + }, + "end": { + "line": 15, + "column": 17 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 442, + "end": 443, + "loc": { + "start": { + "line": 15, + "column": 18 + }, + "end": { + "line": 15, + "column": 19 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Number of the Lord of the Night\n * @type {number}\n ", + "start": 448, + "end": 520, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 19, + "column": 7 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 525, + "end": 529, + "loc": { + "start": { + "line": 20, + "column": 4 + }, + "end": { + "line": 20, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 529, + "end": 530, + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 20, + "column": 9 } } - ], - "directives": [] - }, - "comments": [ + }, { - "type": "CommentBlock", - "value": "*\n * Describes one of the 9 Lords of the night.\n * This class is accessible through its instantiated values, or the get()\n * method.\n * @example\n * let lord_of_night_g8_1 = mayadates.lc.night.get('G8')\n * let lord_of_night_g8_2 = mayadates.lc.night.G8\n * console.log(lord_of_night_g8_1 === lord_of_night_g8_2)\n ", - "start": 0, - "end": 318, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "id", + "start": 530, + "end": 532, "loc": { "start": { - "line": 1, - "column": 0 + "line": 20, + "column": 9 }, "end": { - "line": 9, + "line": 20, + "column": 11 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 533, + "end": 534, + "loc": { + "start": { + "line": 20, + "column": 12 + }, + "end": { + "line": 20, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "id", + "start": 535, + "end": 537, + "loc": { + "start": { + "line": 20, + "column": 14 + }, + "end": { + "line": 20, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 537, + "end": 538, + "loc": { + "start": { + "line": 20, + "column": 16 + }, + "end": { + "line": 20, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 541, + "end": 542, + "loc": { + "start": { + "line": 21, + "column": 2 + }, + "end": { + "line": 21, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n * @param {number} id\n ", - "start": 341, - "end": 374, + "value": "*\n * Represent the Lord of the night as a string G1..G9.\n * @return {string}\n ", + "start": 546, + "end": 634, "loc": { "start": { - "line": 11, + "line": 23, "column": 2 }, "end": { - "line": 13, + "line": 26, "column": 5 } } }, { - "type": "CommentBlock", - "value": "*\n * Number of the Lord of the Night\n * @type {number}\n ", - "start": 399, - "end": 471, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "toString", + "start": 637, + "end": 645, "loc": { "start": { - "line": 15, + "line": 27, + "column": 2 + }, + "end": { + "line": 27, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 645, + "end": 646, + "loc": { + "start": { + "line": 27, + "column": 10 + }, + "end": { + "line": 27, + "column": 11 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 646, + "end": 647, + "loc": { + "start": { + "line": 27, + "column": 11 + }, + "end": { + "line": 27, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 648, + "end": 649, + "loc": { + "start": { + "line": 27, + "column": 13 + }, + "end": { + "line": 27, + "column": 14 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 654, + "end": 660, + "loc": { + "start": { + "line": 28, "column": 4 }, "end": { - "line": 18, - "column": 7 + "line": 28, + "column": 10 } } }, { - "type": "CommentBlock", - "value": "*\n * Represent the Lord of the night as a string G1..G9.\n * @return {string}\n ", - "start": 497, - "end": 585, + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 661, + "end": 662, "loc": { "start": { - "line": 22, - "column": 2 + "line": 28, + "column": 11 }, "end": { - "line": 25, - "column": 5 + "line": 28, + "column": 12 } } }, { - "type": "CommentBlock", - "value": "*\n * Return a Lord of the Night by its G id.\n * @param {string} id - Has the form 'G1', 'G2', etc.\n * @return {LordOfNight}\n ", - "start": 634, - "end": 763, + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "G", + "start": 662, + "end": 663, "loc": { "start": { - "line": 31, - "column": 0 + "line": 28, + "column": 12 }, "end": { - "line": 35, - "column": 3 + "line": 28, + "column": 13 } } }, { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 821, - "end": 835, + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 663, + "end": 665, "loc": { "start": { - "line": 40, - "column": 0 + "line": 28, + "column": 13 }, "end": { - "line": 40, - "column": 14 + "line": 28, + "column": 15 } } - } - ], - "tokens": [ + }, { - "type": "CommentBlock", - "value": "*\n * Describes one of the 9 Lords of the night.\n * This class is accessible through its instantiated values, or the get()\n * method.\n * @example\n * let lord_of_night_g8_1 = mayadates.lc.night.get('G8')\n * let lord_of_night_g8_2 = mayadates.lc.night.G8\n * console.log(lord_of_night_g8_1 === lord_of_night_g8_2)\n ", - "start": 0, - "end": 318, + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 665, + "end": 669, "loc": { "start": { - "line": 1, - "column": 0 + "line": 28, + "column": 15 }, "end": { - "line": 9, - "column": 3 + "line": 28, + "column": 19 } } }, { "type": { - "label": "class", - "keyword": "class", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1829,17 +4564,16 @@ "binop": null, "updateContext": null }, - "value": "class", - "start": 319, - "end": 324, + "start": 669, + "end": 670, "loc": { "start": { - "line": 10, - "column": 0 + "line": 28, + "column": 19 }, "end": { - "line": 10, - "column": 5 + "line": 28, + "column": 20 } } }, @@ -1855,25 +4589,25 @@ "postfix": false, "binop": null }, - "value": "LordOfNight", - "start": 325, - "end": 336, + "value": "id", + "start": 670, + "end": 672, "loc": { "start": { - "line": 10, - "column": 6 + "line": 28, + "column": 20 }, "end": { - "line": 10, - "column": 17 + "line": 28, + "column": 22 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1881,38 +4615,49 @@ "postfix": false, "binop": null }, - "start": 337, - "end": 338, + "start": 672, + "end": 673, "loc": { "start": { - "line": 10, - "column": 18 + "line": 28, + "column": 22 }, "end": { - "line": 10, - "column": 19 + "line": 28, + "column": 23 } } }, { - "type": "CommentBlock", - "value": "*\n * @param {number} id\n ", - "start": 341, - "end": 374, + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 673, + "end": 673, "loc": { "start": { - "line": 11, - "column": 2 + "line": 28, + "column": 23 }, "end": { - "line": 13, - "column": 5 + "line": 28, + "column": 23 } } }, { "type": { - "label": "name", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1922,50 +4667,50 @@ "postfix": false, "binop": null }, - "value": "constructor", - "start": 377, - "end": 388, + "start": 673, + "end": 674, "loc": { "start": { - "line": 14, - "column": 2 + "line": 28, + "column": 23 }, "end": { - "line": 14, - "column": 13 + "line": 28, + "column": 24 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 388, - "end": 389, + "start": 674, + "end": 675, "loc": { "start": { - "line": 14, - "column": 13 + "line": 28, + "column": 24 }, "end": { - "line": 14, - "column": 14 + "line": 28, + "column": 25 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1973,23 +4718,22 @@ "postfix": false, "binop": null }, - "value": "id", - "start": 389, - "end": 391, + "start": 678, + "end": 679, "loc": { "start": { - "line": 14, - "column": 14 + "line": 29, + "column": 2 }, "end": { - "line": 14, - "column": 16 + "line": 29, + "column": 3 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -1999,64 +4743,50 @@ "postfix": false, "binop": null }, - "start": 391, - "end": 392, + "start": 680, + "end": 681, "loc": { "start": { - "line": 14, - "column": 16 + "line": 30, + "column": 0 }, "end": { - "line": 14, - "column": 17 + "line": 30, + "column": 1 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 393, - "end": 394, - "loc": { - "start": { - "line": 14, - "column": 18 - }, - "end": { - "line": 14, - "column": 19 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Number of the Lord of the Night\n * @type {number}\n ", - "start": 399, - "end": 471, + "value": "class", + "start": 683, + "end": 688, "loc": { "start": { - "line": 15, - "column": 4 + "line": 32, + "column": 0 }, "end": { - "line": 18, - "column": 7 + "line": 32, + "column": 5 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2064,46 +4794,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 476, - "end": 480, + "value": "_LordsOfTheNight", + "start": 689, + "end": 705, "loc": { "start": { - "line": 19, - "column": 4 + "line": 32, + "column": 6 }, "end": { - "line": 19, - "column": 8 + "line": 32, + "column": 22 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 480, - "end": 481, + "start": 706, + "end": 707, "loc": { "start": { - "line": 19, - "column": 8 + "line": 32, + "column": 23 }, "end": { - "line": 19, - "column": 9 + "line": 32, + "column": 24 } } }, @@ -2119,52 +4847,50 @@ "postfix": false, "binop": null }, - "value": "id", - "start": 481, - "end": 483, + "value": "constructor", + "start": 710, + "end": 721, "loc": { "start": { - "line": 19, - "column": 9 + "line": 33, + "column": 2 }, "end": { - "line": 19, - "column": 11 + "line": 33, + "column": 13 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 484, - "end": 485, + "start": 721, + "end": 722, "loc": { "start": { - "line": 19, - "column": 12 + "line": 33, + "column": 13 }, "end": { - "line": 19, - "column": 13 + "line": 33, + "column": 14 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2172,84 +4898,95 @@ "postfix": false, "binop": null }, - "value": "id", - "start": 486, - "end": 488, + "start": 722, + "end": 723, "loc": { "start": { - "line": 19, + "line": 33, "column": 14 }, "end": { - "line": 19, - "column": 16 + "line": 33, + "column": 15 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 488, - "end": 489, + "start": 724, + "end": 725, "loc": { "start": { - "line": 19, + "line": 33, "column": 16 }, "end": { - "line": 19, + "line": 33, "column": 17 } } }, { "type": { - "label": "}", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 492, - "end": 493, + "value": "this", + "start": 730, + "end": 734, "loc": { "start": { - "line": 20, - "column": 2 + "line": 34, + "column": 4 }, "end": { - "line": 20, - "column": 3 + "line": 34, + "column": 8 } } }, { - "type": "CommentBlock", - "value": "*\n * Represent the Lord of the night as a string G1..G9.\n * @return {string}\n ", - "start": 497, - "end": 585, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 734, + "end": 735, "loc": { "start": { - "line": 22, - "column": 2 + "line": 34, + "column": 8 }, "end": { - "line": 25, - "column": 5 + "line": 34, + "column": 9 } } }, @@ -2265,74 +5002,79 @@ "postfix": false, "binop": null }, - "value": "toString", - "start": 588, - "end": 596, + "value": "G1", + "start": 735, + "end": 737, "loc": { "start": { - "line": 26, - "column": 2 + "line": 34, + "column": 9 }, "end": { - "line": 26, - "column": 10 + "line": 34, + "column": 11 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 596, - "end": 597, + "value": "=", + "start": 738, + "end": 739, "loc": { "start": { - "line": 26, - "column": 10 + "line": 34, + "column": 12 }, "end": { - "line": 26, - "column": 11 + "line": 34, + "column": 13 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 597, - "end": 598, + "value": "new", + "start": 740, + "end": 743, "loc": { "start": { - "line": 26, - "column": 11 + "line": 34, + "column": 14 }, "end": { - "line": 26, - "column": 12 + "line": 34, + "column": 17 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -2341,50 +5083,48 @@ "postfix": false, "binop": null }, - "start": 599, - "end": 600, + "value": "LordOfNight", + "start": 744, + "end": 755, "loc": { "start": { - "line": 26, - "column": 13 + "line": 34, + "column": 18 }, "end": { - "line": 26, - "column": 14 + "line": 34, + "column": 29 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 605, - "end": 611, + "start": 755, + "end": 756, "loc": { "start": { - "line": 27, - "column": 4 + "line": 34, + "column": 29 }, "end": { - "line": 27, - "column": 10 + "line": 34, + "column": 30 } } }, { "type": { - "label": "`", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2392,24 +5132,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 612, - "end": 613, + "value": 1, + "start": 756, + "end": 757, "loc": { "start": { - "line": 27, - "column": 11 + "line": 34, + "column": 30 }, "end": { - "line": 27, - "column": 12 + "line": 34, + "column": 31 } } }, { "type": { - "label": "template", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -2417,45 +5159,44 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "G", - "start": 613, - "end": 614, + "start": 757, + "end": 758, "loc": { "start": { - "line": 27, - "column": 12 + "line": 34, + "column": 31 }, "end": { - "line": 27, - "column": 13 + "line": 34, + "column": 32 } } }, { "type": { - "label": "${", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 614, - "end": 616, + "start": 758, + "end": 759, "loc": { "start": { - "line": 27, - "column": 13 + "line": 34, + "column": 32 }, "end": { - "line": 27, - "column": 15 + "line": 34, + "column": 33 } } }, @@ -2474,16 +5215,16 @@ "updateContext": null }, "value": "this", - "start": 616, - "end": 620, + "start": 764, + "end": 768, "loc": { "start": { - "line": 27, - "column": 15 + "line": 35, + "column": 4 }, "end": { - "line": 27, - "column": 19 + "line": 35, + "column": 8 } } }, @@ -2500,16 +5241,16 @@ "binop": null, "updateContext": null }, - "start": 620, - "end": 621, + "start": 768, + "end": 769, "loc": { "start": { - "line": 27, - "column": 19 + "line": 35, + "column": 8 }, "end": { - "line": 27, - "column": 20 + "line": 35, + "column": 9 } } }, @@ -2525,50 +5266,53 @@ "postfix": false, "binop": null }, - "value": "id", - "start": 621, - "end": 623, + "value": "G2", + "start": 769, + "end": 771, "loc": { "start": { - "line": 27, - "column": 20 + "line": 35, + "column": 9 }, "end": { - "line": 27, - "column": 22 + "line": 35, + "column": 11 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 623, - "end": 624, + "value": "=", + "start": 772, + "end": 773, "loc": { "start": { - "line": 27, - "column": 22 + "line": 35, + "column": 12 }, "end": { - "line": 27, - "column": 23 + "line": 35, + "column": 13 } } }, { "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2577,23 +5321,23 @@ "binop": null, "updateContext": null }, - "value": "", - "start": 624, - "end": 624, + "value": "new", + "start": 774, + "end": 777, "loc": { "start": { - "line": 27, - "column": 23 + "line": 35, + "column": 14 }, "end": { - "line": 27, - "column": 23 + "line": 35, + "column": 17 } } }, { "type": { - "label": "`", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2603,24 +5347,50 @@ "postfix": false, "binop": null }, - "start": 624, - "end": 625, + "value": "LordOfNight", + "start": 778, + "end": 789, + "loc": { + "start": { + "line": 35, + "column": 18 + }, + "end": { + "line": 35, + "column": 29 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 789, + "end": 790, "loc": { "start": { - "line": 27, - "column": 23 + "line": 35, + "column": 29 }, "end": { - "line": 27, - "column": 24 + "line": 35, + "column": 30 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2629,22 +5399,23 @@ "binop": null, "updateContext": null }, - "start": 625, - "end": 626, + "value": 2, + "start": 790, + "end": 791, "loc": { "start": { - "line": 27, - "column": 24 + "line": 35, + "column": 30 }, "end": { - "line": 27, - "column": 25 + "line": 35, + "column": 31 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -2654,84 +5425,96 @@ "postfix": false, "binop": null }, - "start": 629, - "end": 630, + "start": 791, + "end": 792, "loc": { "start": { - "line": 28, - "column": 2 + "line": 35, + "column": 31 }, "end": { - "line": 28, - "column": 3 + "line": 35, + "column": 32 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 631, - "end": 632, + "start": 792, + "end": 793, "loc": { "start": { - "line": 29, - "column": 0 + "line": 35, + "column": 32 }, "end": { - "line": 29, - "column": 1 + "line": 35, + "column": 33 } } }, { - "type": "CommentBlock", - "value": "*\n * Return a Lord of the Night by its G id.\n * @param {string} id - Has the form 'G1', 'G2', etc.\n * @return {LordOfNight}\n ", - "start": 634, - "end": 763, + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 798, + "end": 802, "loc": { "start": { - "line": 31, - "column": 0 + "line": 36, + "column": 4 }, "end": { - "line": 35, - "column": 3 + "line": 36, + "column": 8 } } }, { "type": { - "label": "function", - "keyword": "function", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "function", - "start": 764, - "end": 772, + "start": 802, + "end": 803, "loc": { "start": { "line": 36, - "column": 0 + "column": 8 }, "end": { "line": 36, - "column": 8 + "column": 9 } } }, @@ -2747,9 +5530,9 @@ "postfix": false, "binop": null }, - "value": "get", - "start": 773, - "end": 776, + "value": "G3", + "start": 803, + "end": 805, "loc": { "start": { "line": 36, @@ -2757,24 +5540,26 @@ }, "end": { "line": 36, - "column": 12 + "column": 11 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 776, - "end": 777, + "value": "=", + "start": 806, + "end": 807, "loc": { "start": { "line": 36, @@ -2788,35 +5573,37 @@ }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "id", - "start": 777, - "end": 779, + "value": "new", + "start": 808, + "end": 811, "loc": { "start": { "line": 36, - "column": 13 + "column": 14 }, "end": { "line": 36, - "column": 15 + "column": 17 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2824,22 +5611,23 @@ "postfix": false, "binop": null }, - "start": 779, - "end": 780, + "value": "LordOfNight", + "start": 812, + "end": 823, "loc": { "start": { "line": 36, - "column": 15 + "column": 18 }, "end": { "line": 36, - "column": 16 + "column": 29 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -2849,25 +5637,24 @@ "postfix": false, "binop": null }, - "start": 781, - "end": 782, + "start": 823, + "end": 824, "loc": { "start": { "line": 36, - "column": 17 + "column": 29 }, "end": { "line": 36, - "column": 18 + "column": 30 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2876,25 +5663,25 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 785, - "end": 791, + "value": 3, + "start": 824, + "end": 825, "loc": { "start": { - "line": 37, - "column": 2 + "line": 36, + "column": 30 }, "end": { - "line": 37, - "column": 8 + "line": 36, + "column": 31 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2902,25 +5689,24 @@ "postfix": false, "binop": null }, - "value": "lordsOfTheNight", - "start": 792, - "end": 807, + "start": 825, + "end": 826, "loc": { "start": { - "line": 37, - "column": 9 + "line": 36, + "column": 31 }, "end": { - "line": 37, - "column": 24 + "line": 36, + "column": 32 } } }, { "type": { - "label": "[", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2929,22 +5715,23 @@ "binop": null, "updateContext": null }, - "start": 807, - "end": 808, + "start": 826, + "end": 827, "loc": { "start": { - "line": 37, - "column": 24 + "line": 36, + "column": 32 }, "end": { - "line": 37, - "column": 25 + "line": 36, + "column": 33 } } }, { "type": { - "label": "`", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2952,24 +5739,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 808, - "end": 809, + "value": "this", + "start": 832, + "end": 836, "loc": { "start": { "line": 37, - "column": 25 + "column": 4 }, "end": { "line": 37, - "column": 26 + "column": 8 } } }, { "type": { - "label": "template", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -2980,42 +5769,16 @@ "binop": null, "updateContext": null }, - "value": "", - "start": 809, - "end": 809, - "loc": { - "start": { - "line": 37, - "column": 26 - }, - "end": { - "line": 37, - "column": 26 - } - } - }, - { - "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 809, - "end": 811, + "start": 836, + "end": 837, "loc": { "start": { "line": 37, - "column": 26 + "column": 8 }, "end": { "line": 37, - "column": 28 + "column": 9 } } }, @@ -3031,50 +5794,53 @@ "postfix": false, "binop": null }, - "value": "id", - "start": 811, - "end": 813, + "value": "G4", + "start": 837, + "end": 839, "loc": { "start": { "line": 37, - "column": 28 + "column": 9 }, "end": { "line": 37, - "column": 30 + "column": 11 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 813, - "end": 814, + "value": "=", + "start": 840, + "end": 841, "loc": { "start": { "line": 37, - "column": 30 + "column": 12 }, "end": { "line": 37, - "column": 31 + "column": 13 } } }, { "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3083,23 +5849,23 @@ "binop": null, "updateContext": null }, - "value": "", - "start": 814, - "end": 814, + "value": "new", + "start": 842, + "end": 845, "loc": { "start": { "line": 37, - "column": 31 + "column": 14 }, "end": { "line": 37, - "column": 31 + "column": 17 } } }, { "type": { - "label": "`", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3109,50 +5875,50 @@ "postfix": false, "binop": null }, - "start": 814, - "end": 815, + "value": "LordOfNight", + "start": 846, + "end": 857, "loc": { "start": { "line": 37, - "column": 31 + "column": 18 }, "end": { "line": 37, - "column": 32 + "column": 29 } } }, { "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 815, - "end": 816, + "start": 857, + "end": 858, "loc": { "start": { "line": 37, - "column": 32 + "column": 29 }, "end": { "line": 37, - "column": 33 + "column": 30 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3161,22 +5927,23 @@ "binop": null, "updateContext": null }, - "start": 816, - "end": 817, + "value": 4, + "start": 858, + "end": 859, "loc": { "start": { "line": 37, - "column": 33 + "column": 30 }, "end": { "line": 37, - "column": 34 + "column": 31 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -3186,40 +5953,23 @@ "postfix": false, "binop": null }, - "start": 818, - "end": 819, - "loc": { - "start": { - "line": 38, - "column": 0 - }, - "end": { - "line": 38, - "column": 1 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 821, - "end": 835, + "start": 859, + "end": 860, "loc": { "start": { - "line": 40, - "column": 0 + "line": 37, + "column": 31 }, "end": { - "line": 40, - "column": 14 + "line": 37, + "column": 32 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -3229,23 +5979,23 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 836, - "end": 841, + "start": 860, + "end": 861, "loc": { "start": { - "line": 41, - "column": 0 + "line": 37, + "column": 32 }, "end": { - "line": 41, - "column": 5 + "line": 37, + "column": 33 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3253,54 +6003,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "value": "lordsOfTheNight", - "start": 842, - "end": 857, - "loc": { - "start": { - "line": 41, - "column": 6 - }, - "end": { - "line": 41, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 858, - "end": 859, + "value": "this", + "start": 866, + "end": 870, "loc": { "start": { - "line": 41, - "column": 22 + "line": 38, + "column": 4 }, "end": { - "line": 41, - "column": 23 + "line": 38, + "column": 8 } } }, { "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3309,22 +6033,22 @@ "binop": null, "updateContext": null }, - "start": 860, - "end": 861, + "start": 870, + "end": 871, "loc": { "start": { - "line": 41, - "column": 24 + "line": 38, + "column": 8 }, "end": { - "line": 41, - "column": 25 + "line": 38, + "column": 9 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3332,53 +6056,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 1, - "start": 864, - "end": 865, + "value": "G5", + "start": 871, + "end": 873, "loc": { "start": { - "line": 42, - "column": 2 + "line": 38, + "column": 9 }, "end": { - "line": 42, - "column": 3 + "line": 38, + "column": 11 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 865, - "end": 866, + "value": "=", + "start": 874, + "end": 875, "loc": { "start": { - "line": 42, - "column": 3 + "line": 38, + "column": 12 }, "end": { - "line": 42, - "column": 4 + "line": 38, + "column": 13 } } }, { "type": { - "label": "num", - "beforeExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3388,78 +6113,76 @@ "binop": null, "updateContext": null }, - "value": 2, - "start": 867, - "end": 868, + "value": "new", + "start": 876, + "end": 879, "loc": { "start": { - "line": 42, - "column": 5 + "line": 38, + "column": 14 }, "end": { - "line": 42, - "column": 6 + "line": 38, + "column": 17 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 868, - "end": 869, + "value": "LordOfNight", + "start": 880, + "end": 891, "loc": { "start": { - "line": 42, - "column": 6 + "line": 38, + "column": 18 }, "end": { - "line": 42, - "column": 7 + "line": 38, + "column": 29 } } }, { "type": { - "label": "num", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 3, - "start": 870, - "end": 871, + "start": 891, + "end": 892, "loc": { "start": { - "line": 42, - "column": 8 + "line": 38, + "column": 29 }, "end": { - "line": 42, - "column": 9 + "line": 38, + "column": 30 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3468,49 +6191,48 @@ "binop": null, "updateContext": null }, - "start": 871, - "end": 872, + "value": 5, + "start": 892, + "end": 893, "loc": { "start": { - "line": 42, - "column": 9 + "line": 38, + "column": 30 }, "end": { - "line": 42, - "column": 10 + "line": 38, + "column": 31 } } }, { "type": { - "label": "num", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 4, - "start": 873, - "end": 874, + "start": 893, + "end": 894, "loc": { "start": { - "line": 42, - "column": 11 + "line": 38, + "column": 31 }, "end": { - "line": 42, - "column": 12 + "line": 38, + "column": 32 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -3521,22 +6243,23 @@ "binop": null, "updateContext": null }, - "start": 874, - "end": 875, + "start": 894, + "end": 895, "loc": { "start": { - "line": 42, - "column": 12 + "line": 38, + "column": 32 }, "end": { - "line": 42, - "column": 13 + "line": 38, + "column": 33 } } }, { "type": { - "label": "num", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3547,24 +6270,24 @@ "binop": null, "updateContext": null }, - "value": 5, - "start": 876, - "end": 877, + "value": "this", + "start": 900, + "end": 904, "loc": { "start": { - "line": 42, - "column": 14 + "line": 39, + "column": 4 }, "end": { - "line": 42, - "column": 15 + "line": 39, + "column": 8 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -3574,22 +6297,22 @@ "binop": null, "updateContext": null }, - "start": 877, - "end": 878, + "start": 904, + "end": 905, "loc": { "start": { - "line": 42, - "column": 15 + "line": 39, + "column": 8 }, "end": { - "line": 42, - "column": 16 + "line": 39, + "column": 9 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3597,53 +6320,54 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 6, - "start": 879, - "end": 880, + "value": "G6", + "start": 905, + "end": 907, "loc": { "start": { - "line": 42, - "column": 17 + "line": 39, + "column": 9 }, "end": { - "line": 42, - "column": 18 + "line": 39, + "column": 11 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 880, - "end": 881, + "value": "=", + "start": 908, + "end": 909, "loc": { "start": { - "line": 42, - "column": 18 + "line": 39, + "column": 12 }, "end": { - "line": 42, - "column": 19 + "line": 39, + "column": 13 } } }, { "type": { - "label": "num", - "beforeExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3653,78 +6377,76 @@ "binop": null, "updateContext": null }, - "value": 7, - "start": 882, - "end": 883, + "value": "new", + "start": 910, + "end": 913, "loc": { "start": { - "line": 42, - "column": 20 + "line": 39, + "column": 14 }, "end": { - "line": 42, - "column": 21 + "line": 39, + "column": 17 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 883, - "end": 884, + "value": "LordOfNight", + "start": 914, + "end": 925, "loc": { "start": { - "line": 42, - "column": 21 + "line": 39, + "column": 18 }, "end": { - "line": 42, - "column": 22 + "line": 39, + "column": 29 } } }, { "type": { - "label": "num", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 8, - "start": 885, - "end": 886, + "start": 925, + "end": 926, "loc": { "start": { - "line": 42, - "column": 23 + "line": 39, + "column": 29 }, "end": { - "line": 42, - "column": 24 + "line": 39, + "column": 30 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3733,49 +6455,48 @@ "binop": null, "updateContext": null }, - "start": 886, - "end": 887, + "value": 6, + "start": 926, + "end": 927, "loc": { "start": { - "line": 42, - "column": 24 + "line": 39, + "column": 30 }, "end": { - "line": 42, - "column": 25 + "line": 39, + "column": 31 } } }, { "type": { - "label": "num", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 9, - "start": 888, - "end": 889, + "start": 927, + "end": 928, "loc": { "start": { - "line": 42, - "column": 26 + "line": 39, + "column": 31 }, "end": { - "line": 42, - "column": 27 + "line": 39, + "column": 32 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -3786,24 +6507,25 @@ "binop": null, "updateContext": null }, - "start": 889, - "end": 890, + "start": 928, + "end": 929, "loc": { "start": { - "line": 42, - "column": 27 + "line": 39, + "column": 32 }, "end": { - "line": 42, - "column": 28 + "line": 39, + "column": 33 } } }, { "type": { - "label": "]", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3812,16 +6534,17 @@ "binop": null, "updateContext": null }, - "start": 891, - "end": 892, + "value": "this", + "start": 934, + "end": 938, "loc": { "start": { - "line": 43, - "column": 0 + "line": 40, + "column": 4 }, "end": { - "line": 43, - "column": 1 + "line": 40, + "column": 8 } } }, @@ -3838,16 +6561,16 @@ "binop": null, "updateContext": null }, - "start": 892, - "end": 893, + "start": 938, + "end": 939, "loc": { "start": { - "line": 43, - "column": 1 + "line": 40, + "column": 8 }, "end": { - "line": 43, - "column": 2 + "line": 40, + "column": 9 } } }, @@ -3863,48 +6586,51 @@ "postfix": false, "binop": null }, - "value": "reduce", - "start": 893, - "end": 899, + "value": "G7", + "start": 939, + "end": 941, "loc": { "start": { - "line": 43, - "column": 2 + "line": 40, + "column": 9 }, "end": { - "line": 43, - "column": 8 + "line": 40, + "column": 11 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 899, - "end": 900, + "value": "=", + "start": 942, + "end": 943, "loc": { "start": { - "line": 43, - "column": 8 + "line": 40, + "column": 12 }, "end": { - "line": 43, - "column": 9 + "line": 40, + "column": 13 } } }, { "type": { - "label": "(", + "label": "new", + "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -3912,18 +6638,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 900, - "end": 901, + "value": "new", + "start": 944, + "end": 947, "loc": { "start": { - "line": 43, - "column": 9 + "line": 40, + "column": 14 }, "end": { - "line": 43, - "column": 10 + "line": 40, + "column": 17 } } }, @@ -3939,49 +6667,48 @@ "postfix": false, "binop": null }, - "value": "obj", - "start": 901, - "end": 904, + "value": "LordOfNight", + "start": 948, + "end": 959, "loc": { "start": { - "line": 43, - "column": 10 + "line": 40, + "column": 18 }, "end": { - "line": 43, - "column": 13 + "line": 40, + "column": 29 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 904, - "end": 905, + "start": 959, + "end": 960, "loc": { "start": { - "line": 43, - "column": 13 + "line": 40, + "column": 29 }, "end": { - "line": 43, - "column": 14 + "line": 40, + "column": 30 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3989,19 +6716,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "n", - "start": 906, - "end": 907, + "value": 7, + "start": 960, + "end": 961, "loc": { "start": { - "line": 43, - "column": 15 + "line": 40, + "column": 30 }, "end": { - "line": 43, - "column": 16 + "line": 40, + "column": 31 } } }, @@ -4017,22 +6745,22 @@ "postfix": false, "binop": null }, - "start": 907, - "end": 908, + "start": 961, + "end": 962, "loc": { "start": { - "line": 43, - "column": 16 + "line": 40, + "column": 31 }, "end": { - "line": 43, - "column": 17 + "line": 40, + "column": 32 } } }, { "type": { - "label": "=>", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -4043,48 +6771,50 @@ "binop": null, "updateContext": null }, - "start": 909, - "end": 911, + "start": 962, + "end": 963, "loc": { "start": { - "line": 43, - "column": 18 + "line": 40, + "column": 32 }, "end": { - "line": 43, - "column": 20 + "line": 40, + "column": 33 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 912, - "end": 913, + "value": "this", + "start": 968, + "end": 972, "loc": { "start": { - "line": 43, - "column": 21 + "line": 41, + "column": 4 }, "end": { - "line": 43, - "column": 22 + "line": 41, + "column": 8 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -4095,17 +6825,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 916, - "end": 921, + "start": 972, + "end": 973, "loc": { "start": { - "line": 44, - "column": 2 + "line": 41, + "column": 8 }, "end": { - "line": 44, - "column": 7 + "line": 41, + "column": 9 } } }, @@ -4121,17 +6850,17 @@ "postfix": false, "binop": null }, - "value": "lord", - "start": 922, - "end": 926, + "value": "G8", + "start": 973, + "end": 975, "loc": { "start": { - "line": 44, - "column": 8 + "line": 41, + "column": 9 }, "end": { - "line": 44, - "column": 12 + "line": 41, + "column": 11 } } }, @@ -4149,16 +6878,16 @@ "updateContext": null }, "value": "=", - "start": 927, - "end": 928, + "start": 976, + "end": 977, "loc": { "start": { - "line": 44, - "column": 13 + "line": 41, + "column": 12 }, "end": { - "line": 44, - "column": 14 + "line": 41, + "column": 13 } } }, @@ -4177,16 +6906,16 @@ "updateContext": null }, "value": "new", - "start": 929, - "end": 932, + "start": 978, + "end": 981, "loc": { "start": { - "line": 44, - "column": 15 + "line": 41, + "column": 14 }, "end": { - "line": 44, - "column": 18 + "line": 41, + "column": 17 } } }, @@ -4203,16 +6932,16 @@ "binop": null }, "value": "LordOfNight", - "start": 933, - "end": 944, + "start": 982, + "end": 993, "loc": { "start": { - "line": 44, - "column": 19 + "line": 41, + "column": 18 }, "end": { - "line": 44, - "column": 30 + "line": 41, + "column": 29 } } }, @@ -4228,22 +6957,22 @@ "postfix": false, "binop": null }, - "start": 944, - "end": 945, + "start": 993, + "end": 994, "loc": { "start": { - "line": 44, - "column": 30 + "line": 41, + "column": 29 }, "end": { - "line": 44, - "column": 31 + "line": 41, + "column": 30 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -4251,19 +6980,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "n", - "start": 945, - "end": 946, + "value": 8, + "start": 994, + "end": 995, "loc": { "start": { - "line": 44, - "column": 31 + "line": 41, + "column": 30 }, "end": { - "line": 44, - "column": 32 + "line": 41, + "column": 31 } } }, @@ -4279,16 +7009,16 @@ "postfix": false, "binop": null }, - "start": 946, - "end": 947, + "start": 995, + "end": 996, "loc": { "start": { - "line": 44, - "column": 32 + "line": 41, + "column": 31 }, "end": { - "line": 44, - "column": 33 + "line": 41, + "column": 32 } } }, @@ -4305,23 +7035,50 @@ "binop": null, "updateContext": null }, - "start": 947, - "end": 948, + "start": 996, + "end": 997, "loc": { "start": { - "line": 44, + "line": 41, + "column": 32 + }, + "end": { + "line": 41, "column": 33 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1002, + "end": 1006, + "loc": { + "start": { + "line": 42, + "column": 4 }, "end": { - "line": 44, - "column": 34 + "line": 42, + "column": 8 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -4332,17 +7089,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 951, - "end": 956, + "start": 1006, + "end": 1007, "loc": { "start": { - "line": 45, - "column": 2 + "line": 42, + "column": 8 }, "end": { - "line": 45, - "column": 7 + "line": 42, + "column": 9 } } }, @@ -4358,17 +7114,17 @@ "postfix": false, "binop": null }, - "value": "newObj", - "start": 957, - "end": 963, + "value": "G9", + "start": 1007, + "end": 1009, "loc": { "start": { - "line": 45, - "column": 8 + "line": 42, + "column": 9 }, "end": { - "line": 45, - "column": 14 + "line": 42, + "column": 11 } } }, @@ -4386,75 +7142,77 @@ "updateContext": null }, "value": "=", - "start": 964, - "end": 965, + "start": 1010, + "end": 1011, "loc": { "start": { - "line": 45, - "column": 15 + "line": 42, + "column": 12 }, "end": { - "line": 45, - "column": 16 + "line": 42, + "column": 13 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "obj", - "start": 966, - "end": 969, + "value": "new", + "start": 1012, + "end": 1015, "loc": { "start": { - "line": 45, - "column": 17 + "line": 42, + "column": 14 }, "end": { - "line": 45, - "column": 20 + "line": 42, + "column": 17 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 969, - "end": 970, + "value": "LordOfNight", + "start": 1016, + "end": 1027, "loc": { "start": { - "line": 45, - "column": 20 + "line": 42, + "column": 18 }, "end": { - "line": 45, - "column": 21 + "line": 42, + "column": 29 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -4463,24 +7221,23 @@ "postfix": false, "binop": null }, - "value": "newObj", - "start": 973, - "end": 979, + "start": 1027, + "end": 1028, "loc": { "start": { - "line": 46, - "column": 2 + "line": 42, + "column": 29 }, "end": { - "line": 46, - "column": 8 + "line": 42, + "column": 30 } } }, { "type": { - "label": "[", - "beforeExpr": true, + "label": "num", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -4490,24 +7247,25 @@ "binop": null, "updateContext": null }, - "start": 979, - "end": 980, + "value": 9, + "start": 1028, + "end": 1029, "loc": { "start": { - "line": 46, - "column": 8 + "line": 42, + "column": 30 }, "end": { - "line": 46, - "column": 9 + "line": 42, + "column": 31 } } }, { "type": { - "label": "`", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4515,23 +7273,23 @@ "postfix": false, "binop": null }, - "start": 980, - "end": 981, + "start": 1029, + "end": 1030, "loc": { "start": { - "line": 46, - "column": 9 + "line": 42, + "column": 31 }, "end": { - "line": 46, - "column": 10 + "line": 42, + "column": 32 } } }, { "type": { - "label": "template", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4541,25 +7299,24 @@ "binop": null, "updateContext": null }, - "value": "", - "start": 981, - "end": 981, + "start": 1030, + "end": 1031, "loc": { "start": { - "line": 46, - "column": 10 + "line": 42, + "column": 32 }, "end": { - "line": 46, - "column": 10 + "line": 42, + "column": 33 } } }, { "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4567,16 +7324,32 @@ "postfix": false, "binop": null }, - "start": 981, - "end": 983, + "start": 1034, + "end": 1035, "loc": { "start": { - "line": 46, - "column": 10 + "line": 43, + "column": 2 }, "end": { - "line": 46, - "column": 12 + "line": 43, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Return a Lord of the Night by its G id.\n * @param {string} id - Has the form 'G1', 'G2', etc.\n * @return {LordOfNight}\n ", + "start": 1039, + "end": 1176, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 49, + "column": 5 } } }, @@ -4592,25 +7365,50 @@ "postfix": false, "binop": null }, - "value": "lord", - "start": 983, - "end": 987, + "value": "get", + "start": 1179, + "end": 1182, "loc": { "start": { - "line": 46, - "column": 12 + "line": 50, + "column": 2 }, "end": { - "line": 46, - "column": 16 + "line": 50, + "column": 5 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1182, + "end": 1183, + "loc": { + "start": { + "line": 50, + "column": 5 + }, + "end": { + "line": 50, + "column": 6 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4618,22 +7416,23 @@ "postfix": false, "binop": null }, - "start": 987, - "end": 988, + "value": "id", + "start": 1183, + "end": 1185, "loc": { "start": { - "line": 46, - "column": 16 + "line": 50, + "column": 6 }, "end": { - "line": 46, - "column": 17 + "line": 50, + "column": 8 } } }, { "type": { - "label": "template", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -4641,27 +7440,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "", - "start": 988, - "end": 988, + "start": 1185, + "end": 1186, "loc": { "start": { - "line": 46, - "column": 17 + "line": 50, + "column": 8 }, "end": { - "line": 46, - "column": 17 + "line": 50, + "column": 9 } } }, { "type": { - "label": "`", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -4670,23 +7467,24 @@ "postfix": false, "binop": null }, - "start": 988, - "end": 989, + "start": 1187, + "end": 1188, "loc": { "start": { - "line": 46, - "column": 17 + "line": 50, + "column": 10 }, "end": { - "line": 46, - "column": 18 + "line": 50, + "column": 11 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4696,103 +7494,103 @@ "binop": null, "updateContext": null }, - "start": 989, - "end": 990, + "value": "return", + "start": 1193, + "end": 1199, "loc": { "start": { - "line": 46, - "column": 18 + "line": 51, + "column": 4 }, "end": { - "line": 46, - "column": 19 + "line": 51, + "column": 10 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 991, - "end": 992, + "value": "this", + "start": 1200, + "end": 1204, "loc": { "start": { - "line": 46, - "column": 20 + "line": 51, + "column": 11 }, "end": { - "line": 46, - "column": 21 + "line": 51, + "column": 15 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "lord", - "start": 993, - "end": 997, + "start": 1204, + "end": 1205, "loc": { "start": { - "line": 46, - "column": 22 + "line": 51, + "column": 15 }, "end": { - "line": 46, - "column": 26 + "line": 51, + "column": 16 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "`", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 997, - "end": 998, + "start": 1205, + "end": 1206, "loc": { "start": { - "line": 46, - "column": 26 + "line": 51, + "column": 16 }, "end": { - "line": 46, - "column": 27 + "line": 51, + "column": 17 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": "template", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4802,24 +7600,24 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 1001, - "end": 1007, + "value": "", + "start": 1206, + "end": 1206, "loc": { "start": { - "line": 47, - "column": 2 + "line": 51, + "column": 17 }, "end": { - "line": 47, - "column": 8 + "line": 51, + "column": 17 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "${", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -4828,43 +7626,42 @@ "postfix": false, "binop": null }, - "value": "newObj", - "start": 1008, - "end": 1014, + "start": 1206, + "end": 1208, "loc": { "start": { - "line": 47, - "column": 9 + "line": 51, + "column": 17 }, "end": { - "line": 47, - "column": 15 + "line": 51, + "column": 19 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1014, - "end": 1015, + "value": "id", + "start": 1208, + "end": 1210, "loc": { "start": { - "line": 47, - "column": 15 + "line": 51, + "column": 19 }, "end": { - "line": 47, - "column": 16 + "line": 51, + "column": 21 } } }, @@ -4880,23 +7677,23 @@ "postfix": false, "binop": null }, - "start": 1016, - "end": 1017, + "start": 1210, + "end": 1211, "loc": { "start": { - "line": 48, - "column": 0 + "line": 51, + "column": 21 }, "end": { - "line": 48, - "column": 1 + "line": 51, + "column": 22 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "template", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4906,23 +7703,24 @@ "binop": null, "updateContext": null }, - "start": 1017, - "end": 1018, + "value": "", + "start": 1211, + "end": 1211, "loc": { "start": { - "line": 48, - "column": 1 + "line": 51, + "column": 22 }, "end": { - "line": 48, - "column": 2 + "line": 51, + "column": 22 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "`", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -4931,48 +7729,48 @@ "postfix": false, "binop": null }, - "start": 1019, - "end": 1020, + "start": 1211, + "end": 1212, "loc": { "start": { - "line": 48, - "column": 3 + "line": 51, + "column": 22 }, "end": { - "line": 48, - "column": 4 + "line": 51, + "column": 23 } } }, { "type": { - "label": "name", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "get", - "start": 1023, - "end": 1026, + "start": 1212, + "end": 1213, "loc": { "start": { - "line": 49, - "column": 2 + "line": 51, + "column": 23 }, "end": { - "line": 49, - "column": 5 + "line": 51, + "column": 24 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -4983,16 +7781,16 @@ "binop": null, "updateContext": null }, - "start": 1026, - "end": 1027, + "start": 1213, + "end": 1214, "loc": { "start": { - "line": 49, - "column": 5 + "line": 51, + "column": 24 }, "end": { - "line": 49, - "column": 6 + "line": 51, + "column": 25 } } }, @@ -5008,22 +7806,22 @@ "postfix": false, "binop": null }, - "start": 1028, - "end": 1029, + "start": 1217, + "end": 1218, "loc": { "start": { - "line": 50, - "column": 0 + "line": 52, + "column": 2 }, "end": { - "line": 50, - "column": 1 + "line": 52, + "column": 3 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -5033,23 +7831,24 @@ "postfix": false, "binop": null }, - "start": 1029, - "end": 1030, + "start": 1219, + "end": 1220, "loc": { "start": { - "line": 50, - "column": 1 + "line": 53, + "column": 0 }, "end": { - "line": 50, - "column": 2 + "line": 53, + "column": 1 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "export", + "keyword": "export", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -5059,50 +7858,54 @@ "binop": null, "updateContext": null }, - "start": 1030, - "end": 1031, + "value": "export", + "start": 1222, + "end": 1228, "loc": { "start": { - "line": 50, - "column": 2 + "line": 55, + "column": 0 }, "end": { - "line": 50, - "column": 3 + "line": 55, + "column": 6 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "module", - "start": 1033, - "end": 1039, + "value": "default", + "start": 1229, + "end": 1236, "loc": { "start": { - "line": 52, - "column": 0 + "line": 55, + "column": 7 }, "end": { - "line": 52, - "column": 6 + "line": 55, + "column": 14 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5111,16 +7914,17 @@ "binop": null, "updateContext": null }, - "start": 1039, - "end": 1040, + "value": "new", + "start": 1237, + "end": 1240, "loc": { "start": { - "line": 52, - "column": 6 + "line": 55, + "column": 15 }, "end": { - "line": 52, - "column": 7 + "line": 55, + "column": 18 } } }, @@ -5136,52 +7940,50 @@ "postfix": false, "binop": null }, - "value": "exports", - "start": 1040, - "end": 1047, + "value": "_LordsOfTheNight", + "start": 1241, + "end": 1257, "loc": { "start": { - "line": 52, - "column": 7 + "line": 55, + "column": 19 }, "end": { - "line": 52, - "column": 14 + "line": 55, + "column": 35 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1048, - "end": 1049, + "start": 1257, + "end": 1258, "loc": { "start": { - "line": 52, - "column": 15 + "line": 55, + "column": 35 }, "end": { - "line": 52, - "column": 16 + "line": 55, + "column": 36 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5189,17 +7991,16 @@ "postfix": false, "binop": null }, - "value": "lordsOfTheNight", - "start": 1050, - "end": 1065, + "start": 1258, + "end": 1259, "loc": { "start": { - "line": 52, - "column": 17 + "line": 55, + "column": 36 }, "end": { - "line": 52, - "column": 32 + "line": 55, + "column": 37 } } }, @@ -5216,16 +8017,16 @@ "binop": null, "updateContext": null }, - "start": 1065, - "end": 1066, + "start": 1259, + "end": 1260, "loc": { "start": { - "line": 52, - "column": 32 + "line": 55, + "column": 37 }, "end": { - "line": 52, - "column": 33 + "line": 55, + "column": 38 } } }, @@ -5242,15 +8043,15 @@ "binop": null, "updateContext": null }, - "start": 1067, - "end": 1067, + "start": 1261, + "end": 1261, "loc": { "start": { - "line": 53, + "line": 56, "column": 0 }, "end": { - "line": 53, + "line": 56, "column": 0 } } diff --git a/docs/ast/source/lc/western/gregorian.js.json b/docs/ast/source/lc/western/gregorian.js.json index 986a87e..96105ef 100644 --- a/docs/ast/source/lc/western/gregorian.js.json +++ b/docs/ast/source/lc/western/gregorian.js.json @@ -1,169 +1,114 @@ { "type": "File", "start": 0, - "end": 1019, + "end": 973, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 53, + "line": 50, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 1019, + "end": 973, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 53, + "line": 50, "column": 0 } }, "sourceType": "module", "body": [ { - "type": "VariableDeclaration", - "start": 15, - "end": 60, + "type": "ImportDeclaration", + "start": 0, + "end": 40, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 45 + "line": 1, + "column": 40 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 21, - "end": 59, + "type": "ImportDefaultSpecifier", + "start": 7, + "end": 22, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 44 + "line": 1, + "column": 22 } }, - "id": { + "local": { "type": "Identifier", - "start": 21, - "end": 36, + "start": 7, + "end": 22, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 21 + "line": 1, + "column": 22 }, "identifierName": "WesternCalendar" }, - "name": "WesternCalendar", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 39, - "end": 59, - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 44 - } - }, - "callee": { - "type": "Identifier", - "start": 39, - "end": 46, - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 31 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 47, - "end": 58, - "loc": { - "start": { - "line": 2, - "column": 32 - }, - "end": { - "line": 2, - "column": 43 - } - }, - "extra": { - "rawValue": "./western", - "raw": "'./western'" - }, - "value": "./western" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } + "name": "WesternCalendar" } } ], + "source": { + "type": "StringLiteral", + "start": 28, + "end": 39, + "loc": { + "start": { + "line": 1, + "column": 28 + }, + "end": { + "line": 1, + "column": 39 + } + }, + "extra": { + "rawValue": "./western", + "raw": "'./western'" + }, + "value": "./western" + }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Represent a Gregorian date.\n * @extends {WesternCalendar}\n ", - "start": 62, - "end": 130, + "start": 42, + "end": 110, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 7, + "line": 6, "column": 3 } } @@ -171,2094 +116,2014 @@ ] }, { - "type": "ClassDeclaration", - "start": 131, - "end": 977, + "type": "ExportDefaultDeclaration", + "start": 111, + "end": 972, "loc": { "start": { - "line": 8, + "line": 7, "column": 0 }, "end": { - "line": 50, + "line": 49, "column": 1 } }, - "id": { - "type": "Identifier", - "start": 137, - "end": 158, + "declaration": { + "type": "ClassDeclaration", + "start": 126, + "end": 972, "loc": { "start": { - "line": 8, - "column": 6 + "line": 7, + "column": 15 }, "end": { - "line": 8, - "column": 27 - }, - "identifierName": "GregorianCalendarDate" + "line": 49, + "column": 1 + } }, - "name": "GregorianCalendarDate", - "leadingComments": null - }, - "superClass": { - "type": "Identifier", - "start": 167, - "end": 182, - "loc": { - "start": { - "line": 8, - "column": 36 - }, - "end": { - "line": 8, - "column": 51 + "id": { + "type": "Identifier", + "start": 132, + "end": 153, + "loc": { + "start": { + "line": 7, + "column": 21 + }, + "end": { + "line": 7, + "column": 42 + }, + "identifierName": "GregorianCalendarDate" }, - "identifierName": "WesternCalendar" + "name": "GregorianCalendarDate", + "leadingComments": null }, - "name": "WesternCalendar" - }, - "body": { - "type": "ClassBody", - "start": 183, - "end": 977, - "loc": { - "start": { - "line": 8, - "column": 52 + "superClass": { + "type": "Identifier", + "start": 162, + "end": 177, + "loc": { + "start": { + "line": 7, + "column": 51 + }, + "end": { + "line": 7, + "column": 66 + }, + "identifierName": "WesternCalendar" }, - "end": { - "line": 50, - "column": 1 - } + "name": "WesternCalendar" }, - "body": [ - { - "type": "ClassMethod", - "start": 288, - "end": 975, - "loc": { - "start": { - "line": 14, - "column": 2 - }, - "end": { - "line": 49, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 292, - "end": 298, - "loc": { - "start": { - "line": 14, - "column": 6 - }, - "end": { - "line": 14, - "column": 12 - }, - "identifierName": "offset" - }, - "name": "offset" + "body": { + "type": "ClassBody", + "start": 178, + "end": 972, + "loc": { + "start": { + "line": 7, + "column": 67 }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 301, - "end": 975, + "end": { + "line": 49, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 283, + "end": 970, "loc": { "start": { - "line": 14, - "column": 15 + "line": 13, + "column": 2 }, "end": { - "line": 49, + "line": 48, "column": 3 } }, - "body": [ - { - "type": "IfStatement", - "start": 307, - "end": 362, - "loc": { - "start": { - "line": 15, - "column": 4 - }, - "end": { - "line": 17, - "column": 5 - } + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 287, + "end": 293, + "loc": { + "start": { + "line": 13, + "column": 6 + }, + "end": { + "line": 13, + "column": 12 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 296, + "end": 970, + "loc": { + "start": { + "line": 13, + "column": 15 }, - "test": { - "type": "BinaryExpression", - "start": 311, - "end": 337, + "end": { + "line": 48, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 302, + "end": 357, "loc": { "start": { - "line": 15, - "column": 8 + "line": 14, + "column": 4 }, "end": { - "line": 15, - "column": 34 + "line": 16, + "column": 5 } }, - "left": { - "type": "MemberExpression", - "start": 311, - "end": 325, + "test": { + "type": "BinaryExpression", + "start": 306, + "end": 332, "loc": { "start": { - "line": 15, + "line": 14, "column": 8 }, "end": { - "line": 15, - "column": 22 + "line": 14, + "column": 34 } }, - "object": { - "type": "ThisExpression", - "start": 311, - "end": 315, + "left": { + "type": "MemberExpression", + "start": 306, + "end": 320, "loc": { "start": { - "line": 15, + "line": 14, "column": 8 }, "end": { - "line": 15, - "column": 12 + "line": 14, + "column": 22 } - } + }, + "object": { + "type": "ThisExpression", + "start": 306, + "end": 310, + "loc": { + "start": { + "line": 14, + "column": 8 + }, + "end": { + "line": 14, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 311, + "end": 320, + "loc": { + "start": { + "line": 14, + "column": 13 + }, + "end": { + "line": 14, + "column": 22 + }, + "identifierName": "julianDay" + }, + "name": "julianDay" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 316, - "end": 325, + "operator": "===", + "right": { + "type": "NumericLiteral", + "start": 325, + "end": 332, "loc": { "start": { - "line": 15, - "column": 13 + "line": 14, + "column": 27 }, "end": { - "line": 15, - "column": 22 - }, - "identifierName": "julianDay" + "line": 14, + "column": 34 + } }, - "name": "julianDay" - }, - "computed": false + "extra": { + "rawValue": 2299160, + "raw": "2299160" + }, + "value": 2299160 + } }, - "operator": "===", - "right": { - "type": "NumericLiteral", - "start": 330, - "end": 337, + "consequent": { + "type": "BlockStatement", + "start": 334, + "end": 357, "loc": { "start": { - "line": 15, - "column": 27 + "line": 14, + "column": 36 }, "end": { - "line": 15, - "column": 34 + "line": 16, + "column": 5 } }, - "extra": { - "rawValue": 2299160, - "raw": "2299160" - }, - "value": 2299160 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 339, - "end": 362, - "loc": { - "start": { - "line": 15, - "column": 36 - }, - "end": { - "line": 17, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 347, - "end": 356, - "loc": { - "start": { - "line": 16, - "column": 6 - }, - "end": { - "line": 16, - "column": 15 - } - }, - "argument": { - "type": "NumericLiteral", - "start": 354, - "end": 355, + "body": [ + { + "type": "ReturnStatement", + "start": 342, + "end": 351, "loc": { "start": { - "line": 16, - "column": 13 + "line": 15, + "column": 6 }, "end": { - "line": 16, - "column": 14 + "line": 15, + "column": 15 } }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 + "argument": { + "type": "NumericLiteral", + "start": 349, + "end": 350, + "loc": { + "start": { + "line": 15, + "column": 13 + }, + "end": { + "line": 15, + "column": 14 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 367, - "end": 422, - "loc": { - "start": { - "line": 18, - "column": 4 + ], + "directives": [] }, - "end": { - "line": 20, - "column": 5 - } + "alternate": null }, - "test": { - "type": "BinaryExpression", - "start": 371, - "end": 396, + { + "type": "IfStatement", + "start": 362, + "end": 417, "loc": { "start": { - "line": 18, - "column": 8 + "line": 17, + "column": 4 }, "end": { - "line": 18, - "column": 33 + "line": 19, + "column": 5 } }, - "left": { - "type": "MemberExpression", - "start": 371, - "end": 385, + "test": { + "type": "BinaryExpression", + "start": 366, + "end": 391, "loc": { "start": { - "line": 18, + "line": 17, "column": 8 }, "end": { - "line": 18, - "column": 22 + "line": 17, + "column": 33 } }, - "object": { - "type": "ThisExpression", - "start": 371, - "end": 375, + "left": { + "type": "MemberExpression", + "start": 366, + "end": 380, "loc": { "start": { - "line": 18, + "line": 17, "column": 8 }, "end": { - "line": 18, - "column": 12 + "line": 17, + "column": 22 } - } + }, + "object": { + "type": "ThisExpression", + "start": 366, + "end": 370, + "loc": { + "start": { + "line": 17, + "column": 8 + }, + "end": { + "line": 17, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 371, + "end": 380, + "loc": { + "start": { + "line": 17, + "column": 13 + }, + "end": { + "line": 17, + "column": 22 + }, + "identifierName": "julianDay" + }, + "name": "julianDay" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 376, - "end": 385, + "operator": "<=", + "right": { + "type": "NumericLiteral", + "start": 384, + "end": 391, "loc": { "start": { - "line": 18, - "column": 13 + "line": 17, + "column": 26 }, "end": { - "line": 18, - "column": 22 - }, - "identifierName": "julianDay" + "line": 17, + "column": 33 + } }, - "name": "julianDay" - }, - "computed": false + "extra": { + "rawValue": 1448283, + "raw": "1448283" + }, + "value": 1448283 + } }, - "operator": "<=", - "right": { - "type": "NumericLiteral", - "start": 389, - "end": 396, + "consequent": { + "type": "BlockStatement", + "start": 393, + "end": 417, "loc": { "start": { - "line": 18, - "column": 26 + "line": 17, + "column": 35 }, "end": { - "line": 18, - "column": 33 + "line": 19, + "column": 5 } }, - "extra": { - "rawValue": 1448283, - "raw": "1448283" - }, - "value": 1448283 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 398, - "end": 422, - "loc": { - "start": { - "line": 18, - "column": 35 - }, - "end": { - "line": 20, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 406, - "end": 416, - "loc": { - "start": { - "line": 19, - "column": 6 - }, - "end": { - "line": 19, - "column": 16 - } - }, - "argument": { - "type": "UnaryExpression", - "start": 413, - "end": 415, + "body": [ + { + "type": "ReturnStatement", + "start": 401, + "end": 411, "loc": { "start": { - "line": 19, - "column": 13 + "line": 18, + "column": 6 }, "end": { - "line": 19, - "column": 15 + "line": 18, + "column": 16 } }, - "operator": "-", - "prefix": true, "argument": { - "type": "NumericLiteral", - "start": 414, - "end": 415, + "type": "UnaryExpression", + "start": 408, + "end": 410, "loc": { "start": { - "line": 19, - "column": 14 + "line": 18, + "column": 13 }, "end": { - "line": 19, + "line": 18, "column": 15 } }, - "extra": { - "rawValue": 8, - "raw": "8" + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 409, + "end": 410, + "loc": { + "start": { + "line": 18, + "column": 14 + }, + "end": { + "line": 18, + "column": 15 + } + }, + "extra": { + "rawValue": 8, + "raw": "8" + }, + "value": 8 }, - "value": 8 - }, - "extra": { - "parenthesizedArgument": false + "extra": { + "parenthesizedArgument": false + } } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 427, - "end": 482, - "loc": { - "start": { - "line": 21, - "column": 4 + ], + "directives": [] }, - "end": { - "line": 23, - "column": 5 - } + "alternate": null }, - "test": { - "type": "BinaryExpression", - "start": 431, - "end": 456, + { + "type": "IfStatement", + "start": 422, + "end": 477, "loc": { "start": { - "line": 21, - "column": 8 + "line": 20, + "column": 4 }, "end": { - "line": 21, - "column": 33 + "line": 22, + "column": 5 } }, - "left": { - "type": "MemberExpression", - "start": 431, - "end": 445, + "test": { + "type": "BinaryExpression", + "start": 426, + "end": 451, "loc": { "start": { - "line": 21, + "line": 20, "column": 8 }, "end": { - "line": 21, - "column": 22 + "line": 20, + "column": 33 } }, - "object": { - "type": "ThisExpression", - "start": 431, - "end": 435, + "left": { + "type": "MemberExpression", + "start": 426, + "end": 440, "loc": { "start": { - "line": 21, + "line": 20, "column": 8 }, "end": { - "line": 21, - "column": 12 + "line": 20, + "column": 22 } - } + }, + "object": { + "type": "ThisExpression", + "start": 426, + "end": 430, + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 20, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 431, + "end": 440, + "loc": { + "start": { + "line": 20, + "column": 13 + }, + "end": { + "line": 20, + "column": 22 + }, + "identifierName": "julianDay" + }, + "name": "julianDay" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 436, - "end": 445, + "operator": "<=", + "right": { + "type": "NumericLiteral", + "start": 444, + "end": 451, "loc": { "start": { - "line": 21, - "column": 13 + "line": 20, + "column": 26 }, "end": { - "line": 21, - "column": 22 - }, - "identifierName": "julianDay" + "line": 20, + "column": 33 + } }, - "name": "julianDay" - }, - "computed": false + "extra": { + "rawValue": 1455864, + "raw": "1455864" + }, + "value": 1455864 + } }, - "operator": "<=", - "right": { - "type": "NumericLiteral", - "start": 449, - "end": 456, + "consequent": { + "type": "BlockStatement", + "start": 453, + "end": 477, "loc": { "start": { - "line": 21, - "column": 26 + "line": 20, + "column": 35 }, "end": { - "line": 21, - "column": 33 + "line": 22, + "column": 5 } }, - "extra": { - "rawValue": 1455864, - "raw": "1455864" - }, - "value": 1455864 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 458, - "end": 482, - "loc": { - "start": { - "line": 21, - "column": 35 - }, - "end": { - "line": 23, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 466, - "end": 476, - "loc": { - "start": { - "line": 22, - "column": 6 - }, - "end": { - "line": 22, - "column": 16 - } - }, - "argument": { - "type": "UnaryExpression", - "start": 473, - "end": 475, + "body": [ + { + "type": "ReturnStatement", + "start": 461, + "end": 471, "loc": { "start": { - "line": 22, - "column": 13 + "line": 21, + "column": 6 }, "end": { - "line": 22, - "column": 15 + "line": 21, + "column": 16 } }, - "operator": "-", - "prefix": true, "argument": { - "type": "NumericLiteral", - "start": 474, - "end": 475, + "type": "UnaryExpression", + "start": 468, + "end": 470, "loc": { "start": { - "line": 22, - "column": 14 + "line": 21, + "column": 13 }, "end": { - "line": 22, + "line": 21, "column": 15 } }, - "extra": { - "rawValue": 8, - "raw": "8" + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 469, + "end": 470, + "loc": { + "start": { + "line": 21, + "column": 14 + }, + "end": { + "line": 21, + "column": 15 + } + }, + "extra": { + "rawValue": 8, + "raw": "8" + }, + "value": 8 }, - "value": 8 - }, - "extra": { - "parenthesizedArgument": false + "extra": { + "parenthesizedArgument": false + } } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 487, - "end": 542, - "loc": { - "start": { - "line": 24, - "column": 4 + ], + "directives": [] }, - "end": { - "line": 26, - "column": 5 - } + "alternate": null }, - "test": { - "type": "BinaryExpression", - "start": 491, - "end": 516, + { + "type": "IfStatement", + "start": 482, + "end": 537, "loc": { "start": { - "line": 24, - "column": 8 + "line": 23, + "column": 4 }, "end": { - "line": 24, - "column": 33 + "line": 25, + "column": 5 } }, - "left": { - "type": "MemberExpression", - "start": 491, - "end": 505, + "test": { + "type": "BinaryExpression", + "start": 486, + "end": 511, "loc": { "start": { - "line": 24, + "line": 23, "column": 8 }, "end": { - "line": 24, - "column": 22 + "line": 23, + "column": 33 } }, - "object": { - "type": "ThisExpression", - "start": 491, - "end": 495, + "left": { + "type": "MemberExpression", + "start": 486, + "end": 500, "loc": { "start": { - "line": 24, + "line": 23, "column": 8 }, "end": { - "line": 24, - "column": 12 + "line": 23, + "column": 22 } - } + }, + "object": { + "type": "ThisExpression", + "start": 486, + "end": 490, + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 491, + "end": 500, + "loc": { + "start": { + "line": 23, + "column": 13 + }, + "end": { + "line": 23, + "column": 22 + }, + "identifierName": "julianDay" + }, + "name": "julianDay" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 496, - "end": 505, + "operator": "<=", + "right": { + "type": "NumericLiteral", + "start": 504, + "end": 511, "loc": { "start": { - "line": 24, - "column": 13 + "line": 23, + "column": 26 }, "end": { - "line": 24, - "column": 22 - }, - "identifierName": "julianDay" + "line": 23, + "column": 33 + } }, - "name": "julianDay" - }, - "computed": false + "extra": { + "rawValue": 1599864, + "raw": "1599864" + }, + "value": 1599864 + } }, - "operator": "<=", - "right": { - "type": "NumericLiteral", - "start": 509, - "end": 516, + "consequent": { + "type": "BlockStatement", + "start": 513, + "end": 537, "loc": { "start": { - "line": 24, - "column": 26 + "line": 23, + "column": 35 }, "end": { - "line": 24, - "column": 33 + "line": 25, + "column": 5 } }, - "extra": { - "rawValue": 1599864, - "raw": "1599864" - }, - "value": 1599864 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 518, - "end": 542, - "loc": { - "start": { - "line": 24, - "column": 35 - }, - "end": { - "line": 26, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 526, - "end": 536, - "loc": { - "start": { - "line": 25, - "column": 6 - }, - "end": { - "line": 25, - "column": 16 - } - }, - "argument": { - "type": "UnaryExpression", - "start": 533, - "end": 535, + "body": [ + { + "type": "ReturnStatement", + "start": 521, + "end": 531, "loc": { "start": { - "line": 25, - "column": 13 + "line": 24, + "column": 6 }, "end": { - "line": 25, - "column": 15 + "line": 24, + "column": 16 } }, - "operator": "-", - "prefix": true, "argument": { - "type": "NumericLiteral", - "start": 534, - "end": 535, + "type": "UnaryExpression", + "start": 528, + "end": 530, "loc": { "start": { - "line": 25, - "column": 14 + "line": 24, + "column": 13 }, "end": { - "line": 25, + "line": 24, "column": 15 } }, - "extra": { - "rawValue": 5, - "raw": "5" + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 529, + "end": 530, + "loc": { + "start": { + "line": 24, + "column": 14 + }, + "end": { + "line": 24, + "column": 15 + } + }, + "extra": { + "rawValue": 5, + "raw": "5" + }, + "value": 5 }, - "value": 5 - }, - "extra": { - "parenthesizedArgument": false + "extra": { + "parenthesizedArgument": false + } } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 547, - "end": 602, - "loc": { - "start": { - "line": 27, - "column": 4 + ], + "directives": [] }, - "end": { - "line": 29, - "column": 5 - } + "alternate": null }, - "test": { - "type": "BinaryExpression", - "start": 551, - "end": 576, + { + "type": "IfStatement", + "start": 542, + "end": 597, "loc": { "start": { - "line": 27, - "column": 8 + "line": 26, + "column": 4 }, "end": { - "line": 27, - "column": 33 + "line": 28, + "column": 5 } }, - "left": { - "type": "MemberExpression", - "start": 551, - "end": 565, + "test": { + "type": "BinaryExpression", + "start": 546, + "end": 571, "loc": { "start": { - "line": 27, + "line": 26, "column": 8 }, "end": { - "line": 27, - "column": 22 + "line": 26, + "column": 33 } }, - "object": { - "type": "ThisExpression", - "start": 551, - "end": 555, + "left": { + "type": "MemberExpression", + "start": 546, + "end": 560, "loc": { "start": { - "line": 27, + "line": 26, "column": 8 }, "end": { - "line": 27, - "column": 12 + "line": 26, + "column": 22 } - } + }, + "object": { + "type": "ThisExpression", + "start": 546, + "end": 550, + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 26, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 551, + "end": 560, + "loc": { + "start": { + "line": 26, + "column": 13 + }, + "end": { + "line": 26, + "column": 22 + }, + "identifierName": "julianDay" + }, + "name": "julianDay" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 556, - "end": 565, + "operator": "<=", + "right": { + "type": "NumericLiteral", + "start": 564, + "end": 571, "loc": { "start": { - "line": 27, - "column": 13 + "line": 26, + "column": 26 }, "end": { - "line": 27, - "column": 22 - }, - "identifierName": "julianDay" + "line": 26, + "column": 33 + } }, - "name": "julianDay" - }, - "computed": false + "extra": { + "rawValue": 1743864, + "raw": "1743864" + }, + "value": 1743864 + } }, - "operator": "<=", - "right": { - "type": "NumericLiteral", - "start": 569, - "end": 576, + "consequent": { + "type": "BlockStatement", + "start": 573, + "end": 597, "loc": { "start": { - "line": 27, - "column": 26 + "line": 26, + "column": 35 }, "end": { - "line": 27, - "column": 33 + "line": 28, + "column": 5 } }, - "extra": { - "rawValue": 1743864, - "raw": "1743864" - }, - "value": 1743864 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 578, - "end": 602, - "loc": { - "start": { - "line": 27, - "column": 35 - }, - "end": { - "line": 29, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 586, - "end": 596, - "loc": { - "start": { - "line": 28, - "column": 6 - }, - "end": { - "line": 28, - "column": 16 - } - }, - "argument": { - "type": "UnaryExpression", - "start": 593, - "end": 595, + "body": [ + { + "type": "ReturnStatement", + "start": 581, + "end": 591, "loc": { "start": { - "line": 28, - "column": 13 + "line": 27, + "column": 6 }, "end": { - "line": 28, - "column": 15 + "line": 27, + "column": 16 } }, - "operator": "-", - "prefix": true, "argument": { - "type": "NumericLiteral", - "start": 594, - "end": 595, + "type": "UnaryExpression", + "start": 588, + "end": 590, "loc": { "start": { - "line": 28, - "column": 14 + "line": 27, + "column": 13 }, "end": { - "line": 28, + "line": 27, "column": 15 } }, - "extra": { - "rawValue": 2, - "raw": "2" + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 589, + "end": 590, + "loc": { + "start": { + "line": 27, + "column": 14 + }, + "end": { + "line": 27, + "column": 15 + } + }, + "extra": { + "rawValue": 2, + "raw": "2" + }, + "value": 2 }, - "value": 2 - }, - "extra": { - "parenthesizedArgument": false + "extra": { + "parenthesizedArgument": false + } } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 607, - "end": 661, - "loc": { - "start": { - "line": 30, - "column": 4 + ], + "directives": [] }, - "end": { - "line": 32, - "column": 5 - } + "alternate": null }, - "test": { - "type": "BinaryExpression", - "start": 611, - "end": 636, + { + "type": "IfStatement", + "start": 602, + "end": 656, "loc": { "start": { - "line": 30, - "column": 8 + "line": 29, + "column": 4 }, "end": { - "line": 30, - "column": 33 + "line": 31, + "column": 5 } }, - "left": { - "type": "MemberExpression", - "start": 611, - "end": 625, + "test": { + "type": "BinaryExpression", + "start": 606, + "end": 631, "loc": { "start": { - "line": 30, + "line": 29, "column": 8 }, "end": { - "line": 30, - "column": 22 + "line": 29, + "column": 33 } }, - "object": { - "type": "ThisExpression", - "start": 611, - "end": 615, + "left": { + "type": "MemberExpression", + "start": 606, + "end": 620, "loc": { "start": { - "line": 30, + "line": 29, "column": 8 }, "end": { - "line": 30, - "column": 12 + "line": 29, + "column": 22 } - } + }, + "object": { + "type": "ThisExpression", + "start": 606, + "end": 610, + "loc": { + "start": { + "line": 29, + "column": 8 + }, + "end": { + "line": 29, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 611, + "end": 620, + "loc": { + "start": { + "line": 29, + "column": 13 + }, + "end": { + "line": 29, + "column": 22 + }, + "identifierName": "julianDay" + }, + "name": "julianDay" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 616, - "end": 625, + "operator": "<=", + "right": { + "type": "NumericLiteral", + "start": 624, + "end": 631, "loc": { "start": { - "line": 30, - "column": 13 + "line": 29, + "column": 26 }, "end": { - "line": 30, - "column": 22 - }, - "identifierName": "julianDay" + "line": 29, + "column": 33 + } }, - "name": "julianDay" - }, - "computed": false + "extra": { + "rawValue": 1887864, + "raw": "1887864" + }, + "value": 1887864 + } }, - "operator": "<=", - "right": { - "type": "NumericLiteral", - "start": 629, - "end": 636, + "consequent": { + "type": "BlockStatement", + "start": 633, + "end": 656, "loc": { "start": { - "line": 30, - "column": 26 + "line": 29, + "column": 35 }, "end": { - "line": 30, - "column": 33 + "line": 31, + "column": 5 } }, - "extra": { - "rawValue": 1887864, - "raw": "1887864" - }, - "value": 1887864 - } + "body": [ + { + "type": "ReturnStatement", + "start": 641, + "end": 650, + "loc": { + "start": { + "line": 30, + "column": 6 + }, + "end": { + "line": 30, + "column": 15 + } + }, + "argument": { + "type": "NumericLiteral", + "start": 648, + "end": 649, + "loc": { + "start": { + "line": 30, + "column": 13 + }, + "end": { + "line": 30, + "column": 14 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } + } + ], + "directives": [] + }, + "alternate": null }, - "consequent": { - "type": "BlockStatement", - "start": 638, - "end": 661, + { + "type": "IfStatement", + "start": 661, + "end": 715, "loc": { "start": { - "line": 30, - "column": 35 + "line": 32, + "column": 4 }, "end": { - "line": 32, + "line": 34, "column": 5 } }, - "body": [ - { - "type": "ReturnStatement", - "start": 646, - "end": 655, + "test": { + "type": "BinaryExpression", + "start": 665, + "end": 690, + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 33 + } + }, + "left": { + "type": "MemberExpression", + "start": 665, + "end": 679, "loc": { "start": { - "line": 31, - "column": 6 + "line": 32, + "column": 8 }, "end": { - "line": 31, - "column": 15 + "line": 32, + "column": 22 } }, - "argument": { - "type": "NumericLiteral", - "start": 653, - "end": 654, + "object": { + "type": "ThisExpression", + "start": 665, + "end": 669, "loc": { "start": { - "line": 31, - "column": 13 + "line": 32, + "column": 8 }, "end": { - "line": 31, - "column": 14 + "line": 32, + "column": 12 } + } + }, + "property": { + "type": "Identifier", + "start": 670, + "end": 679, + "loc": { + "start": { + "line": 32, + "column": 13 + }, + "end": { + "line": 32, + "column": 22 + }, + "identifierName": "julianDay" }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 666, - "end": 720, - "loc": { - "start": { - "line": 33, - "column": 4 - }, - "end": { - "line": 35, - "column": 5 - } - }, - "test": { - "type": "BinaryExpression", - "start": 670, - "end": 695, - "loc": { - "start": { - "line": 33, - "column": 8 - }, - "end": { - "line": 33, - "column": 33 - } - }, - "left": { - "type": "MemberExpression", - "start": 670, - "end": 684, - "loc": { - "start": { - "line": 33, - "column": 8 + "name": "julianDay" }, - "end": { - "line": 33, - "column": 22 - } + "computed": false }, - "object": { - "type": "ThisExpression", - "start": 670, - "end": 674, + "operator": "<=", + "right": { + "type": "NumericLiteral", + "start": 683, + "end": 690, "loc": { "start": { - "line": 33, - "column": 8 + "line": 32, + "column": 26 }, "end": { - "line": 33, - "column": 12 + "line": 32, + "column": 33 } - } - }, - "property": { - "type": "Identifier", - "start": 675, - "end": 684, - "loc": { - "start": { - "line": 33, - "column": 13 - }, - "end": { - "line": 33, - "column": 22 - }, - "identifierName": "julianDay" }, - "name": "julianDay" - }, - "computed": false + "extra": { + "rawValue": 2031864, + "raw": "2031864" + }, + "value": 2031864 + } }, - "operator": "<=", - "right": { - "type": "NumericLiteral", - "start": 688, - "end": 695, + "consequent": { + "type": "BlockStatement", + "start": 692, + "end": 715, "loc": { "start": { - "line": 33, - "column": 26 + "line": 32, + "column": 35 }, "end": { - "line": 33, - "column": 33 + "line": 34, + "column": 5 } }, - "extra": { - "rawValue": 2031864, - "raw": "2031864" - }, - "value": 2031864 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 697, - "end": 720, - "loc": { - "start": { - "line": 33, - "column": 35 - }, - "end": { - "line": 35, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 705, - "end": 714, - "loc": { - "start": { - "line": 34, - "column": 6 - }, - "end": { - "line": 34, - "column": 15 - } - }, - "argument": { - "type": "NumericLiteral", - "start": 712, - "end": 713, + "body": [ + { + "type": "ReturnStatement", + "start": 700, + "end": 709, "loc": { "start": { - "line": 34, - "column": 13 + "line": 33, + "column": 6 }, "end": { - "line": 34, - "column": 14 + "line": 33, + "column": 15 } }, - "extra": { - "rawValue": 4, - "raw": "4" - }, - "value": 4 + "argument": { + "type": "NumericLiteral", + "start": 707, + "end": 708, + "loc": { + "start": { + "line": 33, + "column": 13 + }, + "end": { + "line": 33, + "column": 14 + } + }, + "extra": { + "rawValue": 4, + "raw": "4" + }, + "value": 4 + } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 725, - "end": 779, - "loc": { - "start": { - "line": 36, - "column": 4 + ], + "directives": [] }, - "end": { - "line": 38, - "column": 5 - } + "alternate": null }, - "test": { - "type": "BinaryExpression", - "start": 729, - "end": 754, + { + "type": "IfStatement", + "start": 720, + "end": 774, "loc": { "start": { - "line": 36, - "column": 8 + "line": 35, + "column": 4 }, "end": { - "line": 36, - "column": 33 + "line": 37, + "column": 5 } }, - "left": { - "type": "MemberExpression", - "start": 729, - "end": 743, + "test": { + "type": "BinaryExpression", + "start": 724, + "end": 749, "loc": { "start": { - "line": 36, + "line": 35, "column": 8 }, "end": { - "line": 36, - "column": 22 + "line": 35, + "column": 33 } }, - "object": { - "type": "ThisExpression", - "start": 729, - "end": 733, + "left": { + "type": "MemberExpression", + "start": 724, + "end": 738, "loc": { "start": { - "line": 36, + "line": 35, "column": 8 }, "end": { - "line": 36, - "column": 12 + "line": 35, + "column": 22 } - } + }, + "object": { + "type": "ThisExpression", + "start": 724, + "end": 728, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 729, + "end": 738, + "loc": { + "start": { + "line": 35, + "column": 13 + }, + "end": { + "line": 35, + "column": 22 + }, + "identifierName": "julianDay" + }, + "name": "julianDay" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 734, - "end": 743, + "operator": "<=", + "right": { + "type": "NumericLiteral", + "start": 742, + "end": 749, "loc": { "start": { - "line": 36, - "column": 13 + "line": 35, + "column": 26 }, "end": { - "line": 36, - "column": 22 - }, - "identifierName": "julianDay" + "line": 35, + "column": 33 + } }, - "name": "julianDay" - }, - "computed": false + "extra": { + "rawValue": 2096664, + "raw": "2096664" + }, + "value": 2096664 + } }, - "operator": "<=", - "right": { - "type": "NumericLiteral", - "start": 747, - "end": 754, + "consequent": { + "type": "BlockStatement", + "start": 751, + "end": 774, "loc": { "start": { - "line": 36, - "column": 26 + "line": 35, + "column": 35 }, "end": { - "line": 36, - "column": 33 + "line": 37, + "column": 5 } }, - "extra": { - "rawValue": 2096664, - "raw": "2096664" - }, - "value": 2096664 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 756, - "end": 779, - "loc": { - "start": { - "line": 36, - "column": 35 - }, - "end": { - "line": 38, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 764, - "end": 773, - "loc": { - "start": { - "line": 37, - "column": 6 - }, - "end": { - "line": 37, - "column": 15 - } - }, - "argument": { - "type": "NumericLiteral", - "start": 771, - "end": 772, + "body": [ + { + "type": "ReturnStatement", + "start": 759, + "end": 768, "loc": { "start": { - "line": 37, - "column": 13 + "line": 36, + "column": 6 }, "end": { - "line": 37, - "column": 14 + "line": 36, + "column": 15 } }, - "extra": { - "rawValue": 6, - "raw": "6" - }, - "value": 6 + "argument": { + "type": "NumericLiteral", + "start": 766, + "end": 767, + "loc": { + "start": { + "line": 36, + "column": 13 + }, + "end": { + "line": 36, + "column": 14 + } + }, + "extra": { + "rawValue": 6, + "raw": "6" + }, + "value": 6 + } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 784, - "end": 838, - "loc": { - "start": { - "line": 39, - "column": 4 + ], + "directives": [] }, - "end": { - "line": 41, - "column": 5 - } + "alternate": null }, - "test": { - "type": "BinaryExpression", - "start": 788, - "end": 813, + { + "type": "IfStatement", + "start": 779, + "end": 833, "loc": { "start": { - "line": 39, - "column": 8 + "line": 38, + "column": 4 }, "end": { - "line": 39, - "column": 33 + "line": 40, + "column": 5 } }, - "left": { - "type": "MemberExpression", - "start": 788, - "end": 802, + "test": { + "type": "BinaryExpression", + "start": 783, + "end": 808, "loc": { "start": { - "line": 39, + "line": 38, "column": 8 }, "end": { - "line": 39, - "column": 22 + "line": 38, + "column": 33 } }, - "object": { - "type": "ThisExpression", - "start": 788, - "end": 792, + "left": { + "type": "MemberExpression", + "start": 783, + "end": 797, "loc": { "start": { - "line": 39, + "line": 38, "column": 8 }, "end": { - "line": 39, - "column": 12 + "line": 38, + "column": 22 } - } + }, + "object": { + "type": "ThisExpression", + "start": 783, + "end": 787, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 788, + "end": 797, + "loc": { + "start": { + "line": 38, + "column": 13 + }, + "end": { + "line": 38, + "column": 22 + }, + "identifierName": "julianDay" + }, + "name": "julianDay" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 793, - "end": 802, + "operator": "<=", + "right": { + "type": "NumericLiteral", + "start": 801, + "end": 808, "loc": { "start": { - "line": 39, - "column": 13 + "line": 38, + "column": 26 }, "end": { - "line": 39, - "column": 22 - }, - "identifierName": "julianDay" + "line": 38, + "column": 33 + } }, - "name": "julianDay" - }, - "computed": false + "extra": { + "rawValue": 2175864, + "raw": "2175864" + }, + "value": 2175864 + } }, - "operator": "<=", - "right": { - "type": "NumericLiteral", - "start": 806, - "end": 813, + "consequent": { + "type": "BlockStatement", + "start": 810, + "end": 833, "loc": { "start": { - "line": 39, - "column": 26 + "line": 38, + "column": 35 }, "end": { - "line": 39, - "column": 33 + "line": 40, + "column": 5 } }, - "extra": { - "rawValue": 2175864, - "raw": "2175864" - }, - "value": 2175864 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 815, - "end": 838, - "loc": { - "start": { - "line": 39, - "column": 35 - }, - "end": { - "line": 41, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 823, - "end": 832, - "loc": { - "start": { - "line": 40, - "column": 6 - }, - "end": { - "line": 40, - "column": 15 - } - }, - "argument": { - "type": "NumericLiteral", - "start": 830, - "end": 831, + "body": [ + { + "type": "ReturnStatement", + "start": 818, + "end": 827, "loc": { "start": { - "line": 40, - "column": 13 + "line": 39, + "column": 6 }, "end": { - "line": 40, - "column": 14 + "line": 39, + "column": 15 } }, - "extra": { - "rawValue": 7, - "raw": "7" - }, - "value": 7 + "argument": { + "type": "NumericLiteral", + "start": 825, + "end": 826, + "loc": { + "start": { + "line": 39, + "column": 13 + }, + "end": { + "line": 39, + "column": 14 + } + }, + "extra": { + "rawValue": 7, + "raw": "7" + }, + "value": 7 + } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 843, - "end": 897, - "loc": { - "start": { - "line": 42, - "column": 4 + ], + "directives": [] }, - "end": { - "line": 44, - "column": 5 - } + "alternate": null }, - "test": { - "type": "BinaryExpression", - "start": 847, - "end": 872, + { + "type": "IfStatement", + "start": 838, + "end": 892, "loc": { "start": { - "line": 42, - "column": 8 + "line": 41, + "column": 4 }, "end": { - "line": 42, - "column": 33 + "line": 43, + "column": 5 } }, - "left": { - "type": "MemberExpression", - "start": 847, - "end": 861, + "test": { + "type": "BinaryExpression", + "start": 842, + "end": 867, "loc": { "start": { - "line": 42, + "line": 41, "column": 8 }, "end": { - "line": 42, - "column": 22 + "line": 41, + "column": 33 } }, - "object": { - "type": "ThisExpression", - "start": 847, - "end": 851, + "left": { + "type": "MemberExpression", + "start": 842, + "end": 856, "loc": { "start": { - "line": 42, + "line": 41, "column": 8 }, "end": { - "line": 42, - "column": 12 + "line": 41, + "column": 22 } - } + }, + "object": { + "type": "ThisExpression", + "start": 842, + "end": 846, + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 847, + "end": 856, + "loc": { + "start": { + "line": 41, + "column": 13 + }, + "end": { + "line": 41, + "column": 22 + }, + "identifierName": "julianDay" + }, + "name": "julianDay" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 852, - "end": 861, + "operator": "<=", + "right": { + "type": "NumericLiteral", + "start": 860, + "end": 867, "loc": { "start": { - "line": 42, - "column": 13 + "line": 41, + "column": 26 }, "end": { - "line": 42, - "column": 22 - }, - "identifierName": "julianDay" + "line": 41, + "column": 33 + } }, - "name": "julianDay" - }, - "computed": false + "extra": { + "rawValue": 2240664, + "raw": "2240664" + }, + "value": 2240664 + } }, - "operator": "<=", - "right": { - "type": "NumericLiteral", - "start": 865, - "end": 872, + "consequent": { + "type": "BlockStatement", + "start": 869, + "end": 892, "loc": { "start": { - "line": 42, - "column": 26 + "line": 41, + "column": 35 }, "end": { - "line": 42, - "column": 33 + "line": 43, + "column": 5 } }, - "extra": { - "rawValue": 2240664, - "raw": "2240664" - }, - "value": 2240664 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 874, - "end": 897, - "loc": { - "start": { - "line": 42, - "column": 35 - }, - "end": { - "line": 44, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 882, - "end": 891, - "loc": { - "start": { - "line": 43, - "column": 6 - }, - "end": { - "line": 43, - "column": 15 - } - }, - "argument": { - "type": "NumericLiteral", - "start": 889, - "end": 890, + "body": [ + { + "type": "ReturnStatement", + "start": 877, + "end": 886, "loc": { "start": { - "line": 43, - "column": 13 + "line": 42, + "column": 6 }, "end": { - "line": 43, - "column": 14 + "line": 42, + "column": 15 } }, - "extra": { - "rawValue": 9, - "raw": "9" - }, - "value": 9 + "argument": { + "type": "NumericLiteral", + "start": 884, + "end": 885, + "loc": { + "start": { + "line": 42, + "column": 13 + }, + "end": { + "line": 42, + "column": 14 + } + }, + "extra": { + "rawValue": 9, + "raw": "9" + }, + "value": 9 + } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 902, - "end": 957, - "loc": { - "start": { - "line": 45, - "column": 4 + ], + "directives": [] }, - "end": { - "line": 47, - "column": 5 - } + "alternate": null }, - "test": { - "type": "BinaryExpression", - "start": 906, - "end": 931, + { + "type": "IfStatement", + "start": 897, + "end": 952, "loc": { "start": { - "line": 45, - "column": 8 + "line": 44, + "column": 4 }, "end": { - "line": 45, - "column": 33 + "line": 46, + "column": 5 } }, - "left": { - "type": "MemberExpression", - "start": 906, - "end": 920, + "test": { + "type": "BinaryExpression", + "start": 901, + "end": 926, "loc": { "start": { - "line": 45, + "line": 44, "column": 8 }, "end": { - "line": 45, - "column": 22 + "line": 44, + "column": 33 } }, - "object": { - "type": "ThisExpression", - "start": 906, - "end": 910, + "left": { + "type": "MemberExpression", + "start": 901, + "end": 915, "loc": { "start": { - "line": 45, + "line": 44, "column": 8 }, "end": { - "line": 45, - "column": 12 + "line": 44, + "column": 22 } - } + }, + "object": { + "type": "ThisExpression", + "start": 901, + "end": 905, + "loc": { + "start": { + "line": 44, + "column": 8 + }, + "end": { + "line": 44, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 906, + "end": 915, + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 22 + }, + "identifierName": "julianDay" + }, + "name": "julianDay" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 911, - "end": 920, + "operator": "<=", + "right": { + "type": "NumericLiteral", + "start": 919, + "end": 926, "loc": { "start": { - "line": 45, - "column": 13 + "line": 44, + "column": 26 }, "end": { - "line": 45, - "column": 22 - }, - "identifierName": "julianDay" + "line": 44, + "column": 33 + } }, - "name": "julianDay" - }, - "computed": false + "extra": { + "rawValue": 2299160, + "raw": "2299160" + }, + "value": 2299160 + } }, - "operator": "<=", - "right": { - "type": "NumericLiteral", - "start": 924, - "end": 931, + "consequent": { + "type": "BlockStatement", + "start": 928, + "end": 952, "loc": { "start": { - "line": 45, - "column": 26 + "line": 44, + "column": 35 }, "end": { - "line": 45, - "column": 33 + "line": 46, + "column": 5 } }, - "extra": { - "rawValue": 2299160, - "raw": "2299160" - }, - "value": 2299160 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 933, - "end": 957, - "loc": { - "start": { - "line": 45, - "column": 35 - }, - "end": { - "line": 47, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 941, - "end": 951, - "loc": { - "start": { - "line": 46, - "column": 6 - }, - "end": { - "line": 46, - "column": 16 - } - }, - "argument": { - "type": "NumericLiteral", - "start": 948, - "end": 950, + "body": [ + { + "type": "ReturnStatement", + "start": 936, + "end": 946, "loc": { "start": { - "line": 46, - "column": 13 + "line": 45, + "column": 6 }, "end": { - "line": 46, - "column": 15 + "line": 45, + "column": 16 } }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 + "argument": { + "type": "NumericLiteral", + "start": 943, + "end": 945, + "loc": { + "start": { + "line": 45, + "column": 13 + }, + "end": { + "line": 45, + "column": 15 + } + }, + "extra": { + "rawValue": 10, + "raw": "10" + }, + "value": 10 + } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 962, - "end": 971, - "loc": { - "start": { - "line": 48, - "column": 4 + ], + "directives": [] }, - "end": { - "line": 48, - "column": 13 - } + "alternate": null }, - "argument": { - "type": "NumericLiteral", - "start": 969, - "end": 970, + { + "type": "ReturnStatement", + "start": 957, + "end": 966, "loc": { "start": { - "line": 48, - "column": 11 + "line": 47, + "column": 4 }, "end": { - "line": 48, - "column": 12 + "line": 47, + "column": 13 } }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "directives": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Handle the sliding offset between gregorian and julian dates\n * @return {number}\n ", - "start": 188, - "end": 285, - "loc": { - "start": { - "line": 10, - "column": 2 - }, - "end": { - "line": 13, - "column": 5 - } - } - } - ] - } - ] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Represent a Gregorian date.\n * @extends {WesternCalendar}\n ", - "start": 62, - "end": 130, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 7, - "column": 3 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 979, - "end": 1018, - "loc": { - "start": { - "line": 52, - "column": 0 - }, - "end": { - "line": 52, - "column": 39 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 979, - "end": 1017, - "loc": { - "start": { - "line": 52, - "column": 0 - }, - "end": { - "line": 52, - "column": 38 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 979, - "end": 993, - "loc": { - "start": { - "line": 52, - "column": 0 - }, - "end": { - "line": 52, - "column": 14 + "argument": { + "type": "NumericLiteral", + "start": 964, + "end": 965, + "loc": { + "start": { + "line": 47, + "column": 11 + }, + "end": { + "line": 47, + "column": 12 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Handle the sliding offset between gregorian and julian dates\n * @return {number}\n ", + "start": 183, + "end": 280, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 12, + "column": 5 + } + } + } + ] } - }, - "object": { - "type": "Identifier", - "start": 979, - "end": 985, + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Represent a Gregorian date.\n * @extends {WesternCalendar}\n ", + "start": 42, + "end": 110, "loc": { "start": { - "line": 52, + "line": 3, "column": 0 }, "end": { - "line": 52, - "column": 6 - }, - "identifierName": "module" - }, - "name": "module" - }, - "property": { - "type": "Identifier", - "start": 986, - "end": 993, - "loc": { - "start": { - "line": 52, - "column": 7 - }, - "end": { - "line": 52, - "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 996, - "end": 1017, + "line": 6, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Represent a Gregorian date.\n * @extends {WesternCalendar}\n ", + "start": 42, + "end": 110, "loc": { "start": { - "line": 52, - "column": 17 + "line": 3, + "column": 0 }, "end": { - "line": 52, - "column": 38 - }, - "identifierName": "GregorianCalendarDate" - }, - "name": "GregorianCalendarDate" + "line": 6, + "column": 3 + } + } } - } + ] } ], "directives": [] }, "comments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, { "type": "CommentBlock", "value": "*\n * Represent a Gregorian date.\n * @extends {WesternCalendar}\n ", - "start": 62, - "end": 130, + "start": 42, + "end": 110, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 7, + "line": 6, "column": 3 } } @@ -2266,43 +2131,27 @@ { "type": "CommentBlock", "value": "*\n * Handle the sliding offset between gregorian and julian dates\n * @return {number}\n ", - "start": 188, - "end": 285, + "start": 183, + "end": 280, "loc": { "start": { - "line": 10, + "line": 9, "column": 2 }, "end": { - "line": 13, + "line": 12, "column": 5 } } } ], "tokens": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2311,17 +2160,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 15, - "end": 20, + "value": "import", + "start": 0, + "end": 6, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 5 + "line": 1, + "column": 6 } } }, @@ -2338,49 +2187,48 @@ "binop": null }, "value": "WesternCalendar", - "start": 21, - "end": 36, + "start": 7, + "end": 22, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 21 + "line": 1, + "column": 22 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 37, - "end": 38, + "value": "from", + "start": 23, + "end": 27, "loc": { "start": { - "line": 2, - "column": 22 + "line": 1, + "column": 23 }, "end": { - "line": 2, - "column": 23 + "line": 1, + "column": 27 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2388,77 +2236,69 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "require", - "start": 39, - "end": 46, + "value": "./western", + "start": 28, + "end": 39, "loc": { "start": { - "line": 2, - "column": 24 + "line": 1, + "column": 28 }, "end": { - "line": 2, - "column": 31 + "line": 1, + "column": 39 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 46, - "end": 47, + "start": 39, + "end": 40, "loc": { "start": { - "line": 2, - "column": 31 + "line": 1, + "column": 39 }, "end": { - "line": 2, - "column": 32 + "line": 1, + "column": 40 } } }, { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./western", - "start": 47, - "end": 58, + "type": "CommentBlock", + "value": "*\n * Represent a Gregorian date.\n * @extends {WesternCalendar}\n ", + "start": 42, + "end": 110, "loc": { "start": { - "line": 2, - "column": 32 + "line": 3, + "column": 0 }, "end": { - "line": 2, - "column": 43 + "line": 6, + "column": 3 } } }, { "type": { - "label": ")", + "label": "export", + "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -2466,24 +2306,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 58, - "end": 59, + "value": "export", + "start": 111, + "end": 117, "loc": { "start": { - "line": 2, - "column": 43 + "line": 7, + "column": 0 }, "end": { - "line": 2, - "column": 44 + "line": 7, + "column": 6 } } }, { "type": { - "label": ";", + "label": "default", + "keyword": "default", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -2494,32 +2337,17 @@ "binop": null, "updateContext": null }, - "start": 59, - "end": 60, - "loc": { - "start": { - "line": 2, - "column": 44 - }, - "end": { - "line": 2, - "column": 45 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Represent a Gregorian date.\n * @extends {WesternCalendar}\n ", - "start": 62, - "end": 130, + "value": "default", + "start": 118, + "end": 125, "loc": { "start": { - "line": 4, - "column": 0 + "line": 7, + "column": 7 }, "end": { "line": 7, - "column": 3 + "column": 14 } } }, @@ -2538,16 +2366,16 @@ "updateContext": null }, "value": "class", - "start": 131, - "end": 136, + "start": 126, + "end": 131, "loc": { "start": { - "line": 8, - "column": 0 + "line": 7, + "column": 15 }, "end": { - "line": 8, - "column": 5 + "line": 7, + "column": 20 } } }, @@ -2564,16 +2392,16 @@ "binop": null }, "value": "GregorianCalendarDate", - "start": 137, - "end": 158, + "start": 132, + "end": 153, "loc": { "start": { - "line": 8, - "column": 6 + "line": 7, + "column": 21 }, "end": { - "line": 8, - "column": 27 + "line": 7, + "column": 42 } } }, @@ -2592,16 +2420,16 @@ "updateContext": null }, "value": "extends", - "start": 159, - "end": 166, + "start": 154, + "end": 161, "loc": { "start": { - "line": 8, - "column": 28 + "line": 7, + "column": 43 }, "end": { - "line": 8, - "column": 35 + "line": 7, + "column": 50 } } }, @@ -2618,16 +2446,16 @@ "binop": null }, "value": "WesternCalendar", - "start": 167, - "end": 182, + "start": 162, + "end": 177, "loc": { "start": { - "line": 8, - "column": 36 + "line": 7, + "column": 51 }, "end": { - "line": 8, - "column": 51 + "line": 7, + "column": 66 } } }, @@ -2643,31 +2471,31 @@ "postfix": false, "binop": null }, - "start": 183, - "end": 184, + "start": 178, + "end": 179, "loc": { "start": { - "line": 8, - "column": 52 + "line": 7, + "column": 67 }, "end": { - "line": 8, - "column": 53 + "line": 7, + "column": 68 } } }, { "type": "CommentBlock", "value": "*\n * Handle the sliding offset between gregorian and julian dates\n * @return {number}\n ", - "start": 188, - "end": 285, + "start": 183, + "end": 280, "loc": { "start": { - "line": 10, + "line": 9, "column": 2 }, "end": { - "line": 13, + "line": 12, "column": 5 } } @@ -2685,15 +2513,15 @@ "binop": null }, "value": "get", - "start": 288, - "end": 291, + "start": 283, + "end": 286, "loc": { "start": { - "line": 14, + "line": 13, "column": 2 }, "end": { - "line": 14, + "line": 13, "column": 5 } } @@ -2711,15 +2539,15 @@ "binop": null }, "value": "offset", - "start": 292, - "end": 298, + "start": 287, + "end": 293, "loc": { "start": { - "line": 14, + "line": 13, "column": 6 }, "end": { - "line": 14, + "line": 13, "column": 12 } } @@ -2736,15 +2564,15 @@ "postfix": false, "binop": null }, - "start": 298, - "end": 299, + "start": 293, + "end": 294, "loc": { "start": { - "line": 14, + "line": 13, "column": 12 }, "end": { - "line": 14, + "line": 13, "column": 13 } } @@ -2761,15 +2589,15 @@ "postfix": false, "binop": null }, - "start": 299, - "end": 300, + "start": 294, + "end": 295, "loc": { "start": { - "line": 14, + "line": 13, "column": 13 }, "end": { - "line": 14, + "line": 13, "column": 14 } } @@ -2786,15 +2614,15 @@ "postfix": false, "binop": null }, - "start": 301, - "end": 302, + "start": 296, + "end": 297, "loc": { "start": { - "line": 14, + "line": 13, "column": 15 }, "end": { - "line": 14, + "line": 13, "column": 16 } } @@ -2814,15 +2642,15 @@ "updateContext": null }, "value": "if", - "start": 307, - "end": 309, + "start": 302, + "end": 304, "loc": { "start": { - "line": 15, + "line": 14, "column": 4 }, "end": { - "line": 15, + "line": 14, "column": 6 } } @@ -2839,15 +2667,15 @@ "postfix": false, "binop": null }, - "start": 310, - "end": 311, + "start": 305, + "end": 306, "loc": { "start": { - "line": 15, + "line": 14, "column": 7 }, "end": { - "line": 15, + "line": 14, "column": 8 } } @@ -2867,15 +2695,15 @@ "updateContext": null }, "value": "this", - "start": 311, - "end": 315, + "start": 306, + "end": 310, "loc": { "start": { - "line": 15, + "line": 14, "column": 8 }, "end": { - "line": 15, + "line": 14, "column": 12 } } @@ -2893,15 +2721,15 @@ "binop": null, "updateContext": null }, - "start": 315, - "end": 316, + "start": 310, + "end": 311, "loc": { "start": { - "line": 15, + "line": 14, "column": 12 }, "end": { - "line": 15, + "line": 14, "column": 13 } } @@ -2919,15 +2747,15 @@ "binop": null }, "value": "julianDay", - "start": 316, - "end": 325, + "start": 311, + "end": 320, "loc": { "start": { - "line": 15, + "line": 14, "column": 13 }, "end": { - "line": 15, + "line": 14, "column": 22 } } @@ -2946,15 +2774,15 @@ "updateContext": null }, "value": "===", - "start": 326, - "end": 329, + "start": 321, + "end": 324, "loc": { "start": { - "line": 15, + "line": 14, "column": 23 }, "end": { - "line": 15, + "line": 14, "column": 26 } } @@ -2973,15 +2801,15 @@ "updateContext": null }, "value": 2299160, - "start": 330, - "end": 337, + "start": 325, + "end": 332, "loc": { "start": { - "line": 15, + "line": 14, "column": 27 }, "end": { - "line": 15, + "line": 14, "column": 34 } } @@ -2998,15 +2826,15 @@ "postfix": false, "binop": null }, - "start": 337, - "end": 338, + "start": 332, + "end": 333, "loc": { "start": { - "line": 15, + "line": 14, "column": 34 }, "end": { - "line": 15, + "line": 14, "column": 35 } } @@ -3023,15 +2851,15 @@ "postfix": false, "binop": null }, - "start": 339, - "end": 340, + "start": 334, + "end": 335, "loc": { "start": { - "line": 15, + "line": 14, "column": 36 }, "end": { - "line": 15, + "line": 14, "column": 37 } } @@ -3051,15 +2879,15 @@ "updateContext": null }, "value": "return", - "start": 347, - "end": 353, + "start": 342, + "end": 348, "loc": { "start": { - "line": 16, + "line": 15, "column": 6 }, "end": { - "line": 16, + "line": 15, "column": 12 } } @@ -3078,15 +2906,15 @@ "updateContext": null }, "value": 0, - "start": 354, - "end": 355, + "start": 349, + "end": 350, "loc": { "start": { - "line": 16, + "line": 15, "column": 13 }, "end": { - "line": 16, + "line": 15, "column": 14 } } @@ -3104,15 +2932,15 @@ "binop": null, "updateContext": null }, - "start": 355, - "end": 356, + "start": 350, + "end": 351, "loc": { "start": { - "line": 16, + "line": 15, "column": 14 }, "end": { - "line": 16, + "line": 15, "column": 15 } } @@ -3129,15 +2957,15 @@ "postfix": false, "binop": null }, - "start": 361, - "end": 362, + "start": 356, + "end": 357, "loc": { "start": { - "line": 17, + "line": 16, "column": 4 }, "end": { - "line": 17, + "line": 16, "column": 5 } } @@ -3157,15 +2985,15 @@ "updateContext": null }, "value": "if", - "start": 367, - "end": 369, + "start": 362, + "end": 364, "loc": { "start": { - "line": 18, + "line": 17, "column": 4 }, "end": { - "line": 18, + "line": 17, "column": 6 } } @@ -3182,15 +3010,15 @@ "postfix": false, "binop": null }, - "start": 370, - "end": 371, + "start": 365, + "end": 366, "loc": { "start": { - "line": 18, + "line": 17, "column": 7 }, "end": { - "line": 18, + "line": 17, "column": 8 } } @@ -3210,15 +3038,15 @@ "updateContext": null }, "value": "this", - "start": 371, - "end": 375, + "start": 366, + "end": 370, "loc": { "start": { - "line": 18, + "line": 17, "column": 8 }, "end": { - "line": 18, + "line": 17, "column": 12 } } @@ -3236,15 +3064,15 @@ "binop": null, "updateContext": null }, - "start": 375, - "end": 376, + "start": 370, + "end": 371, "loc": { "start": { - "line": 18, + "line": 17, "column": 12 }, "end": { - "line": 18, + "line": 17, "column": 13 } } @@ -3262,15 +3090,15 @@ "binop": null }, "value": "julianDay", - "start": 376, - "end": 385, + "start": 371, + "end": 380, "loc": { "start": { - "line": 18, + "line": 17, "column": 13 }, "end": { - "line": 18, + "line": 17, "column": 22 } } @@ -3289,15 +3117,15 @@ "updateContext": null }, "value": "<=", - "start": 386, - "end": 388, + "start": 381, + "end": 383, "loc": { "start": { - "line": 18, + "line": 17, "column": 23 }, "end": { - "line": 18, + "line": 17, "column": 25 } } @@ -3316,15 +3144,15 @@ "updateContext": null }, "value": 1448283, - "start": 389, - "end": 396, + "start": 384, + "end": 391, "loc": { "start": { - "line": 18, + "line": 17, "column": 26 }, "end": { - "line": 18, + "line": 17, "column": 33 } } @@ -3341,15 +3169,15 @@ "postfix": false, "binop": null }, - "start": 396, - "end": 397, + "start": 391, + "end": 392, "loc": { "start": { - "line": 18, + "line": 17, "column": 33 }, "end": { - "line": 18, + "line": 17, "column": 34 } } @@ -3366,15 +3194,15 @@ "postfix": false, "binop": null }, - "start": 398, - "end": 399, + "start": 393, + "end": 394, "loc": { "start": { - "line": 18, + "line": 17, "column": 35 }, "end": { - "line": 18, + "line": 17, "column": 36 } } @@ -3394,15 +3222,15 @@ "updateContext": null }, "value": "return", - "start": 406, - "end": 412, + "start": 401, + "end": 407, "loc": { "start": { - "line": 19, + "line": 18, "column": 6 }, "end": { - "line": 19, + "line": 18, "column": 12 } } @@ -3421,15 +3249,15 @@ "updateContext": null }, "value": "-", - "start": 413, - "end": 414, + "start": 408, + "end": 409, "loc": { "start": { - "line": 19, + "line": 18, "column": 13 }, "end": { - "line": 19, + "line": 18, "column": 14 } } @@ -3448,15 +3276,15 @@ "updateContext": null }, "value": 8, - "start": 414, - "end": 415, + "start": 409, + "end": 410, "loc": { "start": { - "line": 19, + "line": 18, "column": 14 }, "end": { - "line": 19, + "line": 18, "column": 15 } } @@ -3474,15 +3302,15 @@ "binop": null, "updateContext": null }, - "start": 415, - "end": 416, + "start": 410, + "end": 411, "loc": { "start": { - "line": 19, + "line": 18, "column": 15 }, "end": { - "line": 19, + "line": 18, "column": 16 } } @@ -3499,15 +3327,15 @@ "postfix": false, "binop": null }, - "start": 421, - "end": 422, + "start": 416, + "end": 417, "loc": { "start": { - "line": 20, + "line": 19, "column": 4 }, "end": { - "line": 20, + "line": 19, "column": 5 } } @@ -3527,15 +3355,15 @@ "updateContext": null }, "value": "if", - "start": 427, - "end": 429, + "start": 422, + "end": 424, "loc": { "start": { - "line": 21, + "line": 20, "column": 4 }, "end": { - "line": 21, + "line": 20, "column": 6 } } @@ -3552,15 +3380,15 @@ "postfix": false, "binop": null }, - "start": 430, - "end": 431, + "start": 425, + "end": 426, "loc": { "start": { - "line": 21, + "line": 20, "column": 7 }, "end": { - "line": 21, + "line": 20, "column": 8 } } @@ -3580,15 +3408,15 @@ "updateContext": null }, "value": "this", - "start": 431, - "end": 435, + "start": 426, + "end": 430, "loc": { "start": { - "line": 21, + "line": 20, "column": 8 }, "end": { - "line": 21, + "line": 20, "column": 12 } } @@ -3606,15 +3434,15 @@ "binop": null, "updateContext": null }, - "start": 435, - "end": 436, + "start": 430, + "end": 431, "loc": { "start": { - "line": 21, + "line": 20, "column": 12 }, "end": { - "line": 21, + "line": 20, "column": 13 } } @@ -3632,15 +3460,15 @@ "binop": null }, "value": "julianDay", - "start": 436, - "end": 445, + "start": 431, + "end": 440, "loc": { "start": { - "line": 21, + "line": 20, "column": 13 }, "end": { - "line": 21, + "line": 20, "column": 22 } } @@ -3659,15 +3487,15 @@ "updateContext": null }, "value": "<=", - "start": 446, - "end": 448, + "start": 441, + "end": 443, "loc": { "start": { - "line": 21, + "line": 20, "column": 23 }, "end": { - "line": 21, + "line": 20, "column": 25 } } @@ -3686,15 +3514,15 @@ "updateContext": null }, "value": 1455864, - "start": 449, - "end": 456, + "start": 444, + "end": 451, "loc": { "start": { - "line": 21, + "line": 20, "column": 26 }, "end": { - "line": 21, + "line": 20, "column": 33 } } @@ -3711,15 +3539,15 @@ "postfix": false, "binop": null }, - "start": 456, - "end": 457, + "start": 451, + "end": 452, "loc": { "start": { - "line": 21, + "line": 20, "column": 33 }, "end": { - "line": 21, + "line": 20, "column": 34 } } @@ -3736,15 +3564,15 @@ "postfix": false, "binop": null }, - "start": 458, - "end": 459, + "start": 453, + "end": 454, "loc": { "start": { - "line": 21, + "line": 20, "column": 35 }, "end": { - "line": 21, + "line": 20, "column": 36 } } @@ -3764,15 +3592,15 @@ "updateContext": null }, "value": "return", - "start": 466, - "end": 472, + "start": 461, + "end": 467, "loc": { "start": { - "line": 22, + "line": 21, "column": 6 }, "end": { - "line": 22, + "line": 21, "column": 12 } } @@ -3791,15 +3619,15 @@ "updateContext": null }, "value": "-", - "start": 473, - "end": 474, + "start": 468, + "end": 469, "loc": { "start": { - "line": 22, + "line": 21, "column": 13 }, "end": { - "line": 22, + "line": 21, "column": 14 } } @@ -3818,15 +3646,15 @@ "updateContext": null }, "value": 8, - "start": 474, - "end": 475, + "start": 469, + "end": 470, "loc": { "start": { - "line": 22, + "line": 21, "column": 14 }, "end": { - "line": 22, + "line": 21, "column": 15 } } @@ -3844,15 +3672,15 @@ "binop": null, "updateContext": null }, - "start": 475, - "end": 476, + "start": 470, + "end": 471, "loc": { "start": { - "line": 22, + "line": 21, "column": 15 }, "end": { - "line": 22, + "line": 21, "column": 16 } } @@ -3869,15 +3697,15 @@ "postfix": false, "binop": null }, - "start": 481, - "end": 482, + "start": 476, + "end": 477, "loc": { "start": { - "line": 23, + "line": 22, "column": 4 }, "end": { - "line": 23, + "line": 22, "column": 5 } } @@ -3897,15 +3725,15 @@ "updateContext": null }, "value": "if", - "start": 487, - "end": 489, + "start": 482, + "end": 484, "loc": { "start": { - "line": 24, + "line": 23, "column": 4 }, "end": { - "line": 24, + "line": 23, "column": 6 } } @@ -3922,15 +3750,15 @@ "postfix": false, "binop": null }, - "start": 490, - "end": 491, + "start": 485, + "end": 486, "loc": { "start": { - "line": 24, + "line": 23, "column": 7 }, "end": { - "line": 24, + "line": 23, "column": 8 } } @@ -3950,15 +3778,15 @@ "updateContext": null }, "value": "this", - "start": 491, - "end": 495, + "start": 486, + "end": 490, "loc": { "start": { - "line": 24, + "line": 23, "column": 8 }, "end": { - "line": 24, + "line": 23, "column": 12 } } @@ -3976,15 +3804,15 @@ "binop": null, "updateContext": null }, - "start": 495, - "end": 496, + "start": 490, + "end": 491, "loc": { "start": { - "line": 24, + "line": 23, "column": 12 }, "end": { - "line": 24, + "line": 23, "column": 13 } } @@ -4002,15 +3830,15 @@ "binop": null }, "value": "julianDay", - "start": 496, - "end": 505, + "start": 491, + "end": 500, "loc": { "start": { - "line": 24, + "line": 23, "column": 13 }, "end": { - "line": 24, + "line": 23, "column": 22 } } @@ -4029,15 +3857,15 @@ "updateContext": null }, "value": "<=", - "start": 506, - "end": 508, + "start": 501, + "end": 503, "loc": { "start": { - "line": 24, + "line": 23, "column": 23 }, "end": { - "line": 24, + "line": 23, "column": 25 } } @@ -4056,15 +3884,15 @@ "updateContext": null }, "value": 1599864, - "start": 509, - "end": 516, + "start": 504, + "end": 511, "loc": { "start": { - "line": 24, + "line": 23, "column": 26 }, "end": { - "line": 24, + "line": 23, "column": 33 } } @@ -4081,15 +3909,15 @@ "postfix": false, "binop": null }, - "start": 516, - "end": 517, + "start": 511, + "end": 512, "loc": { "start": { - "line": 24, + "line": 23, "column": 33 }, "end": { - "line": 24, + "line": 23, "column": 34 } } @@ -4106,15 +3934,15 @@ "postfix": false, "binop": null }, - "start": 518, - "end": 519, + "start": 513, + "end": 514, "loc": { "start": { - "line": 24, + "line": 23, "column": 35 }, "end": { - "line": 24, + "line": 23, "column": 36 } } @@ -4134,15 +3962,15 @@ "updateContext": null }, "value": "return", - "start": 526, - "end": 532, + "start": 521, + "end": 527, "loc": { "start": { - "line": 25, + "line": 24, "column": 6 }, "end": { - "line": 25, + "line": 24, "column": 12 } } @@ -4161,15 +3989,15 @@ "updateContext": null }, "value": "-", - "start": 533, - "end": 534, + "start": 528, + "end": 529, "loc": { "start": { - "line": 25, + "line": 24, "column": 13 }, "end": { - "line": 25, + "line": 24, "column": 14 } } @@ -4188,15 +4016,15 @@ "updateContext": null }, "value": 5, - "start": 534, - "end": 535, + "start": 529, + "end": 530, "loc": { "start": { - "line": 25, + "line": 24, "column": 14 }, "end": { - "line": 25, + "line": 24, "column": 15 } } @@ -4214,15 +4042,15 @@ "binop": null, "updateContext": null }, - "start": 535, - "end": 536, + "start": 530, + "end": 531, "loc": { "start": { - "line": 25, + "line": 24, "column": 15 }, "end": { - "line": 25, + "line": 24, "column": 16 } } @@ -4239,15 +4067,15 @@ "postfix": false, "binop": null }, - "start": 541, - "end": 542, + "start": 536, + "end": 537, "loc": { "start": { - "line": 26, + "line": 25, "column": 4 }, "end": { - "line": 26, + "line": 25, "column": 5 } } @@ -4267,15 +4095,15 @@ "updateContext": null }, "value": "if", - "start": 547, - "end": 549, + "start": 542, + "end": 544, "loc": { "start": { - "line": 27, + "line": 26, "column": 4 }, "end": { - "line": 27, + "line": 26, "column": 6 } } @@ -4292,15 +4120,15 @@ "postfix": false, "binop": null }, - "start": 550, - "end": 551, + "start": 545, + "end": 546, "loc": { "start": { - "line": 27, + "line": 26, "column": 7 }, "end": { - "line": 27, + "line": 26, "column": 8 } } @@ -4320,15 +4148,15 @@ "updateContext": null }, "value": "this", - "start": 551, - "end": 555, + "start": 546, + "end": 550, "loc": { "start": { - "line": 27, + "line": 26, "column": 8 }, "end": { - "line": 27, + "line": 26, "column": 12 } } @@ -4346,15 +4174,15 @@ "binop": null, "updateContext": null }, - "start": 555, - "end": 556, + "start": 550, + "end": 551, "loc": { "start": { - "line": 27, + "line": 26, "column": 12 }, "end": { - "line": 27, + "line": 26, "column": 13 } } @@ -4372,15 +4200,15 @@ "binop": null }, "value": "julianDay", - "start": 556, - "end": 565, + "start": 551, + "end": 560, "loc": { "start": { - "line": 27, + "line": 26, "column": 13 }, "end": { - "line": 27, + "line": 26, "column": 22 } } @@ -4399,15 +4227,15 @@ "updateContext": null }, "value": "<=", - "start": 566, - "end": 568, + "start": 561, + "end": 563, "loc": { "start": { - "line": 27, + "line": 26, "column": 23 }, "end": { - "line": 27, + "line": 26, "column": 25 } } @@ -4426,15 +4254,15 @@ "updateContext": null }, "value": 1743864, - "start": 569, - "end": 576, + "start": 564, + "end": 571, "loc": { "start": { - "line": 27, + "line": 26, "column": 26 }, "end": { - "line": 27, + "line": 26, "column": 33 } } @@ -4451,15 +4279,15 @@ "postfix": false, "binop": null }, - "start": 576, - "end": 577, + "start": 571, + "end": 572, "loc": { "start": { - "line": 27, + "line": 26, "column": 33 }, "end": { - "line": 27, + "line": 26, "column": 34 } } @@ -4476,15 +4304,15 @@ "postfix": false, "binop": null }, - "start": 578, - "end": 579, + "start": 573, + "end": 574, "loc": { "start": { - "line": 27, + "line": 26, "column": 35 }, "end": { - "line": 27, + "line": 26, "column": 36 } } @@ -4504,15 +4332,15 @@ "updateContext": null }, "value": "return", - "start": 586, - "end": 592, + "start": 581, + "end": 587, "loc": { "start": { - "line": 28, + "line": 27, "column": 6 }, "end": { - "line": 28, + "line": 27, "column": 12 } } @@ -4531,15 +4359,15 @@ "updateContext": null }, "value": "-", - "start": 593, - "end": 594, + "start": 588, + "end": 589, "loc": { "start": { - "line": 28, + "line": 27, "column": 13 }, "end": { - "line": 28, + "line": 27, "column": 14 } } @@ -4558,15 +4386,15 @@ "updateContext": null }, "value": 2, - "start": 594, - "end": 595, + "start": 589, + "end": 590, "loc": { "start": { - "line": 28, + "line": 27, "column": 14 }, "end": { - "line": 28, + "line": 27, "column": 15 } } @@ -4584,15 +4412,15 @@ "binop": null, "updateContext": null }, - "start": 595, - "end": 596, + "start": 590, + "end": 591, "loc": { "start": { - "line": 28, + "line": 27, "column": 15 }, "end": { - "line": 28, + "line": 27, "column": 16 } } @@ -4609,15 +4437,15 @@ "postfix": false, "binop": null }, - "start": 601, - "end": 602, + "start": 596, + "end": 597, "loc": { "start": { - "line": 29, + "line": 28, "column": 4 }, "end": { - "line": 29, + "line": 28, "column": 5 } } @@ -4637,15 +4465,15 @@ "updateContext": null }, "value": "if", - "start": 607, - "end": 609, + "start": 602, + "end": 604, "loc": { "start": { - "line": 30, + "line": 29, "column": 4 }, "end": { - "line": 30, + "line": 29, "column": 6 } } @@ -4662,15 +4490,15 @@ "postfix": false, "binop": null }, - "start": 610, - "end": 611, + "start": 605, + "end": 606, "loc": { "start": { - "line": 30, + "line": 29, "column": 7 }, "end": { - "line": 30, + "line": 29, "column": 8 } } @@ -4690,15 +4518,15 @@ "updateContext": null }, "value": "this", - "start": 611, - "end": 615, + "start": 606, + "end": 610, "loc": { "start": { - "line": 30, + "line": 29, "column": 8 }, "end": { - "line": 30, + "line": 29, "column": 12 } } @@ -4716,15 +4544,15 @@ "binop": null, "updateContext": null }, - "start": 615, - "end": 616, + "start": 610, + "end": 611, "loc": { "start": { - "line": 30, + "line": 29, "column": 12 }, "end": { - "line": 30, + "line": 29, "column": 13 } } @@ -4742,15 +4570,15 @@ "binop": null }, "value": "julianDay", - "start": 616, - "end": 625, + "start": 611, + "end": 620, "loc": { "start": { - "line": 30, + "line": 29, "column": 13 }, "end": { - "line": 30, + "line": 29, "column": 22 } } @@ -4769,15 +4597,15 @@ "updateContext": null }, "value": "<=", - "start": 626, - "end": 628, + "start": 621, + "end": 623, "loc": { "start": { - "line": 30, + "line": 29, "column": 23 }, "end": { - "line": 30, + "line": 29, "column": 25 } } @@ -4796,15 +4624,15 @@ "updateContext": null }, "value": 1887864, - "start": 629, - "end": 636, + "start": 624, + "end": 631, "loc": { "start": { - "line": 30, + "line": 29, "column": 26 }, "end": { - "line": 30, + "line": 29, "column": 33 } } @@ -4821,15 +4649,15 @@ "postfix": false, "binop": null }, - "start": 636, - "end": 637, + "start": 631, + "end": 632, "loc": { "start": { - "line": 30, + "line": 29, "column": 33 }, "end": { - "line": 30, + "line": 29, "column": 34 } } @@ -4846,15 +4674,15 @@ "postfix": false, "binop": null }, - "start": 638, - "end": 639, + "start": 633, + "end": 634, "loc": { "start": { - "line": 30, + "line": 29, "column": 35 }, "end": { - "line": 30, + "line": 29, "column": 36 } } @@ -4874,15 +4702,15 @@ "updateContext": null }, "value": "return", - "start": 646, - "end": 652, + "start": 641, + "end": 647, "loc": { "start": { - "line": 31, + "line": 30, "column": 6 }, "end": { - "line": 31, + "line": 30, "column": 12 } } @@ -4901,15 +4729,15 @@ "updateContext": null }, "value": 1, - "start": 653, - "end": 654, + "start": 648, + "end": 649, "loc": { "start": { - "line": 31, + "line": 30, "column": 13 }, "end": { - "line": 31, + "line": 30, "column": 14 } } @@ -4927,15 +4755,15 @@ "binop": null, "updateContext": null }, - "start": 654, - "end": 655, + "start": 649, + "end": 650, "loc": { "start": { - "line": 31, + "line": 30, "column": 14 }, "end": { - "line": 31, + "line": 30, "column": 15 } } @@ -4952,15 +4780,15 @@ "postfix": false, "binop": null }, - "start": 660, - "end": 661, + "start": 655, + "end": 656, "loc": { "start": { - "line": 32, + "line": 31, "column": 4 }, "end": { - "line": 32, + "line": 31, "column": 5 } } @@ -4980,15 +4808,15 @@ "updateContext": null }, "value": "if", - "start": 666, - "end": 668, + "start": 661, + "end": 663, "loc": { "start": { - "line": 33, + "line": 32, "column": 4 }, "end": { - "line": 33, + "line": 32, "column": 6 } } @@ -5005,15 +4833,15 @@ "postfix": false, "binop": null }, - "start": 669, - "end": 670, + "start": 664, + "end": 665, "loc": { "start": { - "line": 33, + "line": 32, "column": 7 }, "end": { - "line": 33, + "line": 32, "column": 8 } } @@ -5033,15 +4861,15 @@ "updateContext": null }, "value": "this", - "start": 670, - "end": 674, + "start": 665, + "end": 669, "loc": { "start": { - "line": 33, + "line": 32, "column": 8 }, "end": { - "line": 33, + "line": 32, "column": 12 } } @@ -5059,15 +4887,15 @@ "binop": null, "updateContext": null }, - "start": 674, - "end": 675, + "start": 669, + "end": 670, "loc": { "start": { - "line": 33, + "line": 32, "column": 12 }, "end": { - "line": 33, + "line": 32, "column": 13 } } @@ -5085,15 +4913,15 @@ "binop": null }, "value": "julianDay", - "start": 675, - "end": 684, + "start": 670, + "end": 679, "loc": { "start": { - "line": 33, + "line": 32, "column": 13 }, "end": { - "line": 33, + "line": 32, "column": 22 } } @@ -5112,15 +4940,15 @@ "updateContext": null }, "value": "<=", - "start": 685, - "end": 687, + "start": 680, + "end": 682, "loc": { "start": { - "line": 33, + "line": 32, "column": 23 }, "end": { - "line": 33, + "line": 32, "column": 25 } } @@ -5139,15 +4967,15 @@ "updateContext": null }, "value": 2031864, - "start": 688, - "end": 695, + "start": 683, + "end": 690, "loc": { "start": { - "line": 33, + "line": 32, "column": 26 }, "end": { - "line": 33, + "line": 32, "column": 33 } } @@ -5164,15 +4992,15 @@ "postfix": false, "binop": null }, - "start": 695, - "end": 696, + "start": 690, + "end": 691, "loc": { "start": { - "line": 33, + "line": 32, "column": 33 }, "end": { - "line": 33, + "line": 32, "column": 34 } } @@ -5189,15 +5017,15 @@ "postfix": false, "binop": null }, - "start": 697, - "end": 698, + "start": 692, + "end": 693, "loc": { "start": { - "line": 33, + "line": 32, "column": 35 }, "end": { - "line": 33, + "line": 32, "column": 36 } } @@ -5217,15 +5045,15 @@ "updateContext": null }, "value": "return", - "start": 705, - "end": 711, + "start": 700, + "end": 706, "loc": { "start": { - "line": 34, + "line": 33, "column": 6 }, "end": { - "line": 34, + "line": 33, "column": 12 } } @@ -5244,15 +5072,15 @@ "updateContext": null }, "value": 4, - "start": 712, - "end": 713, + "start": 707, + "end": 708, "loc": { "start": { - "line": 34, + "line": 33, "column": 13 }, "end": { - "line": 34, + "line": 33, "column": 14 } } @@ -5270,15 +5098,15 @@ "binop": null, "updateContext": null }, - "start": 713, - "end": 714, + "start": 708, + "end": 709, "loc": { "start": { - "line": 34, + "line": 33, "column": 14 }, "end": { - "line": 34, + "line": 33, "column": 15 } } @@ -5295,15 +5123,15 @@ "postfix": false, "binop": null }, - "start": 719, - "end": 720, + "start": 714, + "end": 715, "loc": { "start": { - "line": 35, + "line": 34, "column": 4 }, "end": { - "line": 35, + "line": 34, "column": 5 } } @@ -5323,15 +5151,15 @@ "updateContext": null }, "value": "if", - "start": 725, - "end": 727, + "start": 720, + "end": 722, "loc": { "start": { - "line": 36, + "line": 35, "column": 4 }, "end": { - "line": 36, + "line": 35, "column": 6 } } @@ -5348,15 +5176,15 @@ "postfix": false, "binop": null }, - "start": 728, - "end": 729, + "start": 723, + "end": 724, "loc": { "start": { - "line": 36, + "line": 35, "column": 7 }, "end": { - "line": 36, + "line": 35, "column": 8 } } @@ -5376,15 +5204,15 @@ "updateContext": null }, "value": "this", - "start": 729, - "end": 733, + "start": 724, + "end": 728, "loc": { "start": { - "line": 36, + "line": 35, "column": 8 }, "end": { - "line": 36, + "line": 35, "column": 12 } } @@ -5402,15 +5230,15 @@ "binop": null, "updateContext": null }, - "start": 733, - "end": 734, + "start": 728, + "end": 729, "loc": { "start": { - "line": 36, + "line": 35, "column": 12 }, "end": { - "line": 36, + "line": 35, "column": 13 } } @@ -5428,15 +5256,15 @@ "binop": null }, "value": "julianDay", - "start": 734, - "end": 743, + "start": 729, + "end": 738, "loc": { "start": { - "line": 36, + "line": 35, "column": 13 }, "end": { - "line": 36, + "line": 35, "column": 22 } } @@ -5455,15 +5283,15 @@ "updateContext": null }, "value": "<=", - "start": 744, - "end": 746, + "start": 739, + "end": 741, "loc": { "start": { - "line": 36, + "line": 35, "column": 23 }, "end": { - "line": 36, + "line": 35, "column": 25 } } @@ -5482,15 +5310,15 @@ "updateContext": null }, "value": 2096664, - "start": 747, - "end": 754, + "start": 742, + "end": 749, "loc": { "start": { - "line": 36, + "line": 35, "column": 26 }, "end": { - "line": 36, + "line": 35, "column": 33 } } @@ -5507,15 +5335,15 @@ "postfix": false, "binop": null }, - "start": 754, - "end": 755, + "start": 749, + "end": 750, "loc": { "start": { - "line": 36, + "line": 35, "column": 33 }, "end": { - "line": 36, + "line": 35, "column": 34 } } @@ -5532,15 +5360,15 @@ "postfix": false, "binop": null }, - "start": 756, - "end": 757, + "start": 751, + "end": 752, "loc": { "start": { - "line": 36, + "line": 35, "column": 35 }, "end": { - "line": 36, + "line": 35, "column": 36 } } @@ -5560,15 +5388,15 @@ "updateContext": null }, "value": "return", - "start": 764, - "end": 770, + "start": 759, + "end": 765, "loc": { "start": { - "line": 37, + "line": 36, "column": 6 }, "end": { - "line": 37, + "line": 36, "column": 12 } } @@ -5587,15 +5415,15 @@ "updateContext": null }, "value": 6, - "start": 771, - "end": 772, + "start": 766, + "end": 767, "loc": { "start": { - "line": 37, + "line": 36, "column": 13 }, "end": { - "line": 37, + "line": 36, "column": 14 } } @@ -5613,15 +5441,15 @@ "binop": null, "updateContext": null }, - "start": 772, - "end": 773, + "start": 767, + "end": 768, "loc": { "start": { - "line": 37, + "line": 36, "column": 14 }, "end": { - "line": 37, + "line": 36, "column": 15 } } @@ -5638,15 +5466,15 @@ "postfix": false, "binop": null }, - "start": 778, - "end": 779, + "start": 773, + "end": 774, "loc": { "start": { - "line": 38, + "line": 37, "column": 4 }, "end": { - "line": 38, + "line": 37, "column": 5 } } @@ -5666,15 +5494,15 @@ "updateContext": null }, "value": "if", - "start": 784, - "end": 786, + "start": 779, + "end": 781, "loc": { "start": { - "line": 39, + "line": 38, "column": 4 }, "end": { - "line": 39, + "line": 38, "column": 6 } } @@ -5691,15 +5519,15 @@ "postfix": false, "binop": null }, - "start": 787, - "end": 788, + "start": 782, + "end": 783, "loc": { "start": { - "line": 39, + "line": 38, "column": 7 }, "end": { - "line": 39, + "line": 38, "column": 8 } } @@ -5719,15 +5547,15 @@ "updateContext": null }, "value": "this", - "start": 788, - "end": 792, + "start": 783, + "end": 787, "loc": { "start": { - "line": 39, + "line": 38, "column": 8 }, "end": { - "line": 39, + "line": 38, "column": 12 } } @@ -5745,15 +5573,15 @@ "binop": null, "updateContext": null }, - "start": 792, - "end": 793, + "start": 787, + "end": 788, "loc": { "start": { - "line": 39, + "line": 38, "column": 12 }, "end": { - "line": 39, + "line": 38, "column": 13 } } @@ -5771,15 +5599,15 @@ "binop": null }, "value": "julianDay", - "start": 793, - "end": 802, + "start": 788, + "end": 797, "loc": { "start": { - "line": 39, + "line": 38, "column": 13 }, "end": { - "line": 39, + "line": 38, "column": 22 } } @@ -5798,15 +5626,15 @@ "updateContext": null }, "value": "<=", - "start": 803, - "end": 805, + "start": 798, + "end": 800, "loc": { "start": { - "line": 39, + "line": 38, "column": 23 }, "end": { - "line": 39, + "line": 38, "column": 25 } } @@ -5825,15 +5653,15 @@ "updateContext": null }, "value": 2175864, - "start": 806, - "end": 813, + "start": 801, + "end": 808, "loc": { "start": { - "line": 39, + "line": 38, "column": 26 }, "end": { - "line": 39, + "line": 38, "column": 33 } } @@ -5850,15 +5678,15 @@ "postfix": false, "binop": null }, - "start": 813, - "end": 814, + "start": 808, + "end": 809, "loc": { "start": { - "line": 39, + "line": 38, "column": 33 }, "end": { - "line": 39, + "line": 38, "column": 34 } } @@ -5875,15 +5703,15 @@ "postfix": false, "binop": null }, - "start": 815, - "end": 816, + "start": 810, + "end": 811, "loc": { "start": { - "line": 39, + "line": 38, "column": 35 }, "end": { - "line": 39, + "line": 38, "column": 36 } } @@ -5903,15 +5731,15 @@ "updateContext": null }, "value": "return", - "start": 823, - "end": 829, + "start": 818, + "end": 824, "loc": { "start": { - "line": 40, + "line": 39, "column": 6 }, "end": { - "line": 40, + "line": 39, "column": 12 } } @@ -5930,15 +5758,15 @@ "updateContext": null }, "value": 7, - "start": 830, - "end": 831, + "start": 825, + "end": 826, "loc": { "start": { - "line": 40, + "line": 39, "column": 13 }, "end": { - "line": 40, + "line": 39, "column": 14 } } @@ -5956,15 +5784,15 @@ "binop": null, "updateContext": null }, - "start": 831, - "end": 832, + "start": 826, + "end": 827, "loc": { "start": { - "line": 40, + "line": 39, "column": 14 }, "end": { - "line": 40, + "line": 39, "column": 15 } } @@ -5981,15 +5809,15 @@ "postfix": false, "binop": null }, - "start": 837, - "end": 838, + "start": 832, + "end": 833, "loc": { "start": { - "line": 41, + "line": 40, "column": 4 }, "end": { - "line": 41, + "line": 40, "column": 5 } } @@ -6009,15 +5837,15 @@ "updateContext": null }, "value": "if", - "start": 843, - "end": 845, + "start": 838, + "end": 840, "loc": { "start": { - "line": 42, + "line": 41, "column": 4 }, "end": { - "line": 42, + "line": 41, "column": 6 } } @@ -6034,15 +5862,15 @@ "postfix": false, "binop": null }, - "start": 846, - "end": 847, + "start": 841, + "end": 842, "loc": { "start": { - "line": 42, + "line": 41, "column": 7 }, "end": { - "line": 42, + "line": 41, "column": 8 } } @@ -6062,15 +5890,15 @@ "updateContext": null }, "value": "this", - "start": 847, - "end": 851, + "start": 842, + "end": 846, "loc": { "start": { - "line": 42, + "line": 41, "column": 8 }, "end": { - "line": 42, + "line": 41, "column": 12 } } @@ -6088,15 +5916,15 @@ "binop": null, "updateContext": null }, - "start": 851, - "end": 852, + "start": 846, + "end": 847, "loc": { "start": { - "line": 42, + "line": 41, "column": 12 }, "end": { - "line": 42, + "line": 41, "column": 13 } } @@ -6114,15 +5942,15 @@ "binop": null }, "value": "julianDay", - "start": 852, - "end": 861, + "start": 847, + "end": 856, "loc": { "start": { - "line": 42, + "line": 41, "column": 13 }, "end": { - "line": 42, + "line": 41, "column": 22 } } @@ -6141,15 +5969,15 @@ "updateContext": null }, "value": "<=", - "start": 862, - "end": 864, + "start": 857, + "end": 859, "loc": { "start": { - "line": 42, + "line": 41, "column": 23 }, "end": { - "line": 42, + "line": 41, "column": 25 } } @@ -6168,15 +5996,15 @@ "updateContext": null }, "value": 2240664, - "start": 865, - "end": 872, + "start": 860, + "end": 867, "loc": { "start": { - "line": 42, + "line": 41, "column": 26 }, "end": { - "line": 42, + "line": 41, "column": 33 } } @@ -6193,15 +6021,15 @@ "postfix": false, "binop": null }, - "start": 872, - "end": 873, + "start": 867, + "end": 868, "loc": { "start": { - "line": 42, + "line": 41, "column": 33 }, "end": { - "line": 42, + "line": 41, "column": 34 } } @@ -6218,15 +6046,15 @@ "postfix": false, "binop": null }, - "start": 874, - "end": 875, + "start": 869, + "end": 870, "loc": { "start": { - "line": 42, + "line": 41, "column": 35 }, "end": { - "line": 42, + "line": 41, "column": 36 } } @@ -6246,15 +6074,15 @@ "updateContext": null }, "value": "return", - "start": 882, - "end": 888, + "start": 877, + "end": 883, "loc": { "start": { - "line": 43, + "line": 42, "column": 6 }, "end": { - "line": 43, + "line": 42, "column": 12 } } @@ -6273,15 +6101,15 @@ "updateContext": null }, "value": 9, - "start": 889, - "end": 890, + "start": 884, + "end": 885, "loc": { "start": { - "line": 43, + "line": 42, "column": 13 }, "end": { - "line": 43, + "line": 42, "column": 14 } } @@ -6299,15 +6127,15 @@ "binop": null, "updateContext": null }, - "start": 890, - "end": 891, + "start": 885, + "end": 886, "loc": { "start": { - "line": 43, + "line": 42, "column": 14 }, "end": { - "line": 43, + "line": 42, "column": 15 } } @@ -6324,15 +6152,15 @@ "postfix": false, "binop": null }, - "start": 896, - "end": 897, + "start": 891, + "end": 892, "loc": { "start": { - "line": 44, + "line": 43, "column": 4 }, "end": { - "line": 44, + "line": 43, "column": 5 } } @@ -6352,15 +6180,15 @@ "updateContext": null }, "value": "if", - "start": 902, - "end": 904, + "start": 897, + "end": 899, "loc": { "start": { - "line": 45, + "line": 44, "column": 4 }, "end": { - "line": 45, + "line": 44, "column": 6 } } @@ -6377,15 +6205,15 @@ "postfix": false, "binop": null }, - "start": 905, - "end": 906, + "start": 900, + "end": 901, "loc": { "start": { - "line": 45, + "line": 44, "column": 7 }, "end": { - "line": 45, + "line": 44, "column": 8 } } @@ -6405,15 +6233,15 @@ "updateContext": null }, "value": "this", - "start": 906, - "end": 910, + "start": 901, + "end": 905, "loc": { "start": { - "line": 45, + "line": 44, "column": 8 }, "end": { - "line": 45, + "line": 44, "column": 12 } } @@ -6431,15 +6259,15 @@ "binop": null, "updateContext": null }, - "start": 910, - "end": 911, + "start": 905, + "end": 906, "loc": { "start": { - "line": 45, + "line": 44, "column": 12 }, "end": { - "line": 45, + "line": 44, "column": 13 } } @@ -6457,15 +6285,15 @@ "binop": null }, "value": "julianDay", - "start": 911, - "end": 920, + "start": 906, + "end": 915, "loc": { "start": { - "line": 45, + "line": 44, "column": 13 }, "end": { - "line": 45, + "line": 44, "column": 22 } } @@ -6484,15 +6312,15 @@ "updateContext": null }, "value": "<=", - "start": 921, - "end": 923, + "start": 916, + "end": 918, "loc": { "start": { - "line": 45, + "line": 44, "column": 23 }, "end": { - "line": 45, + "line": 44, "column": 25 } } @@ -6511,15 +6339,15 @@ "updateContext": null }, "value": 2299160, - "start": 924, - "end": 931, + "start": 919, + "end": 926, "loc": { "start": { - "line": 45, + "line": 44, "column": 26 }, "end": { - "line": 45, + "line": 44, "column": 33 } } @@ -6536,15 +6364,15 @@ "postfix": false, "binop": null }, - "start": 931, - "end": 932, + "start": 926, + "end": 927, "loc": { "start": { - "line": 45, + "line": 44, "column": 33 }, "end": { - "line": 45, + "line": 44, "column": 34 } } @@ -6561,15 +6389,15 @@ "postfix": false, "binop": null }, - "start": 933, - "end": 934, + "start": 928, + "end": 929, "loc": { "start": { - "line": 45, + "line": 44, "column": 35 }, "end": { - "line": 45, + "line": 44, "column": 36 } } @@ -6589,15 +6417,15 @@ "updateContext": null }, "value": "return", - "start": 941, - "end": 947, + "start": 936, + "end": 942, "loc": { "start": { - "line": 46, + "line": 45, "column": 6 }, "end": { - "line": 46, + "line": 45, "column": 12 } } @@ -6616,15 +6444,15 @@ "updateContext": null }, "value": 10, - "start": 948, - "end": 950, + "start": 943, + "end": 945, "loc": { "start": { - "line": 46, + "line": 45, "column": 13 }, "end": { - "line": 46, + "line": 45, "column": 15 } } @@ -6642,15 +6470,15 @@ "binop": null, "updateContext": null }, - "start": 950, - "end": 951, + "start": 945, + "end": 946, "loc": { "start": { - "line": 46, + "line": 45, "column": 15 }, "end": { - "line": 46, + "line": 45, "column": 16 } } @@ -6667,15 +6495,15 @@ "postfix": false, "binop": null }, - "start": 956, - "end": 957, + "start": 951, + "end": 952, "loc": { "start": { - "line": 47, + "line": 46, "column": 4 }, "end": { - "line": 47, + "line": 46, "column": 5 } } @@ -6695,15 +6523,15 @@ "updateContext": null }, "value": "return", - "start": 962, - "end": 968, + "start": 957, + "end": 963, "loc": { "start": { - "line": 48, + "line": 47, "column": 4 }, "end": { - "line": 48, + "line": 47, "column": 10 } } @@ -6722,15 +6550,15 @@ "updateContext": null }, "value": 0, - "start": 969, - "end": 970, + "start": 964, + "end": 965, "loc": { "start": { - "line": 48, + "line": 47, "column": 11 }, "end": { - "line": 48, + "line": 47, "column": 12 } } @@ -6748,15 +6576,15 @@ "binop": null, "updateContext": null }, - "start": 970, - "end": 971, + "start": 965, + "end": 966, "loc": { "start": { - "line": 48, + "line": 47, "column": 12 }, "end": { - "line": 48, + "line": 47, "column": 13 } } @@ -6773,15 +6601,15 @@ "postfix": false, "binop": null }, - "start": 974, - "end": 975, + "start": 969, + "end": 970, "loc": { "start": { - "line": 49, + "line": 48, "column": 2 }, "end": { - "line": 49, + "line": 48, "column": 3 } } @@ -6798,176 +6626,19 @@ "postfix": false, "binop": null }, - "start": 976, - "end": 977, + "start": 971, + "end": 972, "loc": { "start": { - "line": 50, + "line": 49, "column": 0 }, "end": { - "line": 50, + "line": 49, "column": 1 } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "module", - "start": 979, - "end": 985, - "loc": { - "start": { - "line": 52, - "column": 0 - }, - "end": { - "line": 52, - "column": 6 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 985, - "end": 986, - "loc": { - "start": { - "line": 52, - "column": 6 - }, - "end": { - "line": 52, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "exports", - "start": 986, - "end": 993, - "loc": { - "start": { - "line": 52, - "column": 7 - }, - "end": { - "line": 52, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 994, - "end": 995, - "loc": { - "start": { - "line": 52, - "column": 15 - }, - "end": { - "line": 52, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "GregorianCalendarDate", - "start": 996, - "end": 1017, - "loc": { - "start": { - "line": 52, - "column": 17 - }, - "end": { - "line": 52, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1017, - "end": 1018, - "loc": { - "start": { - "line": 52, - "column": 38 - }, - "end": { - "line": 52, - "column": 39 - } - } - }, { "type": { "label": "eof", @@ -6981,15 +6652,15 @@ "binop": null, "updateContext": null }, - "start": 1019, - "end": 1019, + "start": 973, + "end": 973, "loc": { "start": { - "line": 53, + "line": 50, "column": 0 }, "end": { - "line": 53, + "line": 50, "column": 0 } } diff --git a/docs/ast/source/lc/western/index.js.json b/docs/ast/source/lc/western/index.js.json index 4f6cf06..40cd60b 100644 --- a/docs/ast/source/lc/western/index.js.json +++ b/docs/ast/source/lc/western/index.js.json @@ -1,567 +1,326 @@ { "type": "File", "start": 0, - "end": 202, + "end": 159, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 10, + "line": 8, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 202, + "end": 159, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 10, + "line": 8, "column": 0 } }, "sourceType": "module", "body": [ { - "type": "VariableDeclaration", - "start": 15, - "end": 68, + "type": "ImportDeclaration", + "start": 0, + "end": 48, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 53 + "line": 1, + "column": 48 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 21, - "end": 67, + "type": "ImportDefaultSpecifier", + "start": 7, + "end": 28, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 52 + "line": 1, + "column": 28 } }, - "id": { + "local": { "type": "Identifier", - "start": 21, - "end": 42, + "start": 7, + "end": 28, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 27 + "line": 1, + "column": 28 }, "identifierName": "GregorianCalendarDate" }, - "name": "GregorianCalendarDate", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 45, - "end": 67, - "loc": { - "start": { - "line": 2, - "column": 30 - }, - "end": { - "line": 2, - "column": 52 - } - }, - "callee": { - "type": "Identifier", - "start": 45, - "end": 52, - "loc": { - "start": { - "line": 2, - "column": 30 - }, - "end": { - "line": 2, - "column": 37 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 53, - "end": 66, - "loc": { - "start": { - "line": 2, - "column": 38 - }, - "end": { - "line": 2, - "column": 51 - } - }, - "extra": { - "rawValue": "./gregorian", - "raw": "'./gregorian'" - }, - "value": "./gregorian" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } + "name": "GregorianCalendarDate" } } ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 69, - "end": 83, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 34, + "end": 47, + "loc": { + "start": { + "line": 1, + "column": 34 + }, + "end": { + "line": 1, + "column": 47 } - } - ] + }, + "extra": { + "rawValue": "./gregorian", + "raw": "'./gregorian'" + }, + "value": "./gregorian" + } }, { - "type": "VariableDeclaration", - "start": 84, - "end": 131, + "type": "ImportDeclaration", + "start": 49, + "end": 91, "loc": { "start": { - "line": 4, + "line": 2, "column": 0 }, "end": { - "line": 4, - "column": 47 + "line": 2, + "column": 42 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 90, - "end": 130, + "type": "ImportDefaultSpecifier", + "start": 56, + "end": 74, "loc": { "start": { - "line": 4, - "column": 6 + "line": 2, + "column": 7 }, "end": { - "line": 4, - "column": 46 + "line": 2, + "column": 25 } }, - "id": { + "local": { "type": "Identifier", - "start": 90, - "end": 108, + "start": 56, + "end": 74, "loc": { "start": { - "line": 4, - "column": 6 + "line": 2, + "column": 7 }, "end": { - "line": 4, - "column": 24 + "line": 2, + "column": 25 }, "identifierName": "JulianCalendarDate" }, - "name": "JulianCalendarDate", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 111, - "end": 130, - "loc": { - "start": { - "line": 4, - "column": 27 - }, - "end": { - "line": 4, - "column": 46 - } - }, - "callee": { - "type": "Identifier", - "start": 111, - "end": 118, - "loc": { - "start": { - "line": 4, - "column": 27 - }, - "end": { - "line": 4, - "column": 34 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 119, - "end": 129, - "loc": { - "start": { - "line": 4, - "column": 35 - }, - "end": { - "line": 4, - "column": 45 - } - }, - "extra": { - "rawValue": "./julian", - "raw": "'./julian'" - }, - "value": "./julian" - } - ] - }, - "leadingComments": null + "name": "JulianCalendarDate" + } } ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 69, - "end": 83, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 80, + "end": 90, + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 41 } - } - ] + }, + "extra": { + "rawValue": "./julian", + "raw": "'./julian'" + }, + "value": "./julian" + } }, { - "type": "ExpressionStatement", - "start": 133, - "end": 201, + "type": "ExportDefaultDeclaration", + "start": 93, + "end": 158, "loc": { "start": { - "line": 6, + "line": 4, "column": 0 }, "end": { - "line": 9, + "line": 7, "column": 2 } }, - "expression": { - "type": "AssignmentExpression", - "start": 133, - "end": 200, + "declaration": { + "type": "ObjectExpression", + "start": 108, + "end": 157, "loc": { "start": { - "line": 6, - "column": 0 + "line": 4, + "column": 15 }, "end": { - "line": 9, + "line": 7, "column": 1 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 133, - "end": 147, - "loc": { - "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 133, - "end": 139, + "properties": [ + { + "type": "ObjectProperty", + "start": 112, + "end": 133, "loc": { "start": { - "line": 6, - "column": 0 + "line": 5, + "column": 2 }, "end": { - "line": 6, - "column": 6 + "line": 5, + "column": 23 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 112, + "end": 133, + "loc": { + "start": { + "line": 5, + "column": 2 + }, + "end": { + "line": 5, + "column": 23 + }, + "identifierName": "GregorianCalendarDate" }, - "identifierName": "module" + "name": "GregorianCalendarDate" }, - "name": "module" + "value": { + "type": "Identifier", + "start": 112, + "end": 133, + "loc": { + "start": { + "line": 5, + "column": 2 + }, + "end": { + "line": 5, + "column": 23 + }, + "identifierName": "GregorianCalendarDate" + }, + "name": "GregorianCalendarDate" + }, + "extra": { + "shorthand": true + } }, - "property": { - "type": "Identifier", - "start": 140, - "end": 147, + { + "type": "ObjectProperty", + "start": 137, + "end": 155, "loc": { "start": { "line": 6, - "column": 7 + "column": 2 }, "end": { "line": 6, - "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "ObjectExpression", - "start": 150, - "end": 200, - "loc": { - "start": { - "line": 6, - "column": 17 + "column": 20 + } }, - "end": { - "line": 9, - "column": 1 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 154, - "end": 175, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 137, + "end": 155, "loc": { "start": { - "line": 7, + "line": 6, "column": 2 }, "end": { - "line": 7, - "column": 23 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 154, - "end": 175, - "loc": { - "start": { - "line": 7, - "column": 2 - }, - "end": { - "line": 7, - "column": 23 - }, - "identifierName": "GregorianCalendarDate" - }, - "name": "GregorianCalendarDate" - }, - "value": { - "type": "Identifier", - "start": 154, - "end": 175, - "loc": { - "start": { - "line": 7, - "column": 2 - }, - "end": { - "line": 7, - "column": 23 - }, - "identifierName": "GregorianCalendarDate" + "line": 6, + "column": 20 }, - "name": "GregorianCalendarDate" + "identifierName": "JulianCalendarDate" }, - "extra": { - "shorthand": true - } + "name": "JulianCalendarDate" }, - { - "type": "ObjectProperty", - "start": 179, - "end": 197, + "value": { + "type": "Identifier", + "start": 137, + "end": 155, "loc": { "start": { - "line": 8, + "line": 6, "column": 2 }, "end": { - "line": 8, + "line": 6, "column": 20 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 179, - "end": 197, - "loc": { - "start": { - "line": 8, - "column": 2 - }, - "end": { - "line": 8, - "column": 20 - }, - "identifierName": "JulianCalendarDate" - }, - "name": "JulianCalendarDate" - }, - "value": { - "type": "Identifier", - "start": 179, - "end": 197, - "loc": { - "start": { - "line": 8, - "column": 2 - }, - "end": { - "line": 8, - "column": 20 - }, - "identifierName": "JulianCalendarDate" }, - "name": "JulianCalendarDate" + "identifierName": "JulianCalendarDate" }, - "extra": { - "shorthand": true - } + "name": "JulianCalendarDate" + }, + "extra": { + "shorthand": true } - ] - } + } + ], + "leadingComments": [], + "trailingComments": [] } } ], "directives": [] }, - "comments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 69, - "end": 83, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } - } - } - ], + "comments": [], "tokens": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -570,17 +329,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 15, - "end": 20, + "value": "import", + "start": 0, + "end": 6, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 5 + "line": 1, + "column": 6 } } }, @@ -597,43 +356,16 @@ "binop": null }, "value": "GregorianCalendarDate", - "start": 21, - "end": 42, + "start": 7, + "end": 28, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 27 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 43, - "end": 44, - "loc": { - "start": { - "line": 2, + "line": 1, "column": 28 - }, - "end": { - "line": 2, - "column": 29 } } }, @@ -649,42 +381,17 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 45, - "end": 52, - "loc": { - "start": { - "line": 2, - "column": 30 - }, - "end": { - "line": 2, - "column": 37 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 52, - "end": 53, + "value": "from", + "start": 29, + "end": 33, "loc": { "start": { - "line": 2, - "column": 37 + "line": 1, + "column": 29 }, "end": { - "line": 2, - "column": 38 + "line": 1, + "column": 33 } } }, @@ -702,41 +409,16 @@ "updateContext": null }, "value": "./gregorian", - "start": 53, - "end": 66, + "start": 34, + "end": 47, "loc": { "start": { - "line": 2, - "column": 38 - }, - "end": { - "line": 2, - "column": 51 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 66, - "end": 67, - "loc": { - "start": { - "line": 2, - "column": 51 + "line": 1, + "column": 34 }, "end": { - "line": 2, - "column": 52 + "line": 1, + "column": 47 } } }, @@ -753,41 +435,25 @@ "binop": null, "updateContext": null }, - "start": 67, - "end": 68, + "start": 47, + "end": 48, "loc": { "start": { - "line": 2, - "column": 52 - }, - "end": { - "line": 2, - "column": 53 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 69, - "end": 83, - "loc": { - "start": { - "line": 3, - "column": 0 + "line": 1, + "column": 47 }, "end": { - "line": 3, - "column": 14 + "line": 1, + "column": 48 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -796,17 +462,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 84, - "end": 89, + "value": "import", + "start": 49, + "end": 55, "loc": { "start": { - "line": 4, + "line": 2, "column": 0 }, "end": { - "line": 4, - "column": 5 + "line": 2, + "column": 6 } } }, @@ -823,43 +489,16 @@ "binop": null }, "value": "JulianCalendarDate", - "start": 90, - "end": 108, + "start": 56, + "end": 74, "loc": { "start": { - "line": 4, - "column": 6 + "line": 2, + "column": 7 }, "end": { - "line": 4, - "column": 24 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 109, - "end": 110, - "loc": { - "start": { - "line": 4, + "line": 2, "column": 25 - }, - "end": { - "line": 4, - "column": 26 } } }, @@ -875,42 +514,17 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 111, - "end": 118, + "value": "from", + "start": 75, + "end": 79, "loc": { "start": { - "line": 4, - "column": 27 - }, - "end": { - "line": 4, - "column": 34 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 118, - "end": 119, - "loc": { - "start": { - "line": 4, - "column": 34 + "line": 2, + "column": 26 }, "end": { - "line": 4, - "column": 35 + "line": 2, + "column": 30 } } }, @@ -928,41 +542,16 @@ "updateContext": null }, "value": "./julian", - "start": 119, - "end": 129, - "loc": { - "start": { - "line": 4, - "column": 35 - }, - "end": { - "line": 4, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 129, - "end": 130, + "start": 80, + "end": 90, "loc": { "start": { - "line": 4, - "column": 45 + "line": 2, + "column": 31 }, "end": { - "line": 4, - "column": 46 + "line": 2, + "column": 41 } } }, @@ -979,49 +568,52 @@ "binop": null, "updateContext": null }, - "start": 130, - "end": 131, + "start": 90, + "end": 91, "loc": { "start": { - "line": 4, - "column": 46 + "line": 2, + "column": 41 }, "end": { - "line": 4, - "column": 47 + "line": 2, + "column": 42 } } }, { "type": { - "label": "name", + "label": "export", + "keyword": "export", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "module", - "start": 133, - "end": 139, + "value": "export", + "start": 93, + "end": 99, "loc": { "start": { - "line": 6, + "line": 4, "column": 0 }, "end": { - "line": 6, + "line": 4, "column": 6 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "default", + "keyword": "default", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -1031,72 +623,20 @@ "binop": null, "updateContext": null }, - "start": 139, - "end": 140, - "loc": { - "start": { - "line": 6, - "column": 6 - }, - "end": { - "line": 6, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "exports", - "start": 140, - "end": 147, + "value": "default", + "start": 100, + "end": 107, "loc": { "start": { - "line": 6, + "line": 4, "column": 7 }, "end": { - "line": 6, + "line": 4, "column": 14 } } }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 148, - "end": 149, - "loc": { - "start": { - "line": 6, - "column": 15 - }, - "end": { - "line": 6, - "column": 16 - } - } - }, { "type": { "label": "{", @@ -1109,16 +649,16 @@ "postfix": false, "binop": null }, - "start": 150, - "end": 151, + "start": 108, + "end": 109, "loc": { "start": { - "line": 6, - "column": 17 + "line": 4, + "column": 15 }, "end": { - "line": 6, - "column": 18 + "line": 4, + "column": 16 } } }, @@ -1135,15 +675,15 @@ "binop": null }, "value": "GregorianCalendarDate", - "start": 154, - "end": 175, + "start": 112, + "end": 133, "loc": { "start": { - "line": 7, + "line": 5, "column": 2 }, "end": { - "line": 7, + "line": 5, "column": 23 } } @@ -1161,15 +701,15 @@ "binop": null, "updateContext": null }, - "start": 175, - "end": 176, + "start": 133, + "end": 134, "loc": { "start": { - "line": 7, + "line": 5, "column": 23 }, "end": { - "line": 7, + "line": 5, "column": 24 } } @@ -1187,42 +727,16 @@ "binop": null }, "value": "JulianCalendarDate", - "start": 179, - "end": 197, + "start": 137, + "end": 155, "loc": { "start": { - "line": 8, + "line": 6, "column": 2 }, "end": { - "line": 8, - "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 197, - "end": 198, - "loc": { - "start": { - "line": 8, + "line": 6, "column": 20 - }, - "end": { - "line": 8, - "column": 21 } } }, @@ -1238,15 +752,15 @@ "postfix": false, "binop": null }, - "start": 199, - "end": 200, + "start": 156, + "end": 157, "loc": { "start": { - "line": 9, + "line": 7, "column": 0 }, "end": { - "line": 9, + "line": 7, "column": 1 } } @@ -1264,15 +778,15 @@ "binop": null, "updateContext": null }, - "start": 200, - "end": 201, + "start": 157, + "end": 158, "loc": { "start": { - "line": 9, + "line": 7, "column": 1 }, "end": { - "line": 9, + "line": 7, "column": 2 } } @@ -1290,15 +804,15 @@ "binop": null, "updateContext": null }, - "start": 202, - "end": 202, + "start": 159, + "end": 159, "loc": { "start": { - "line": 10, + "line": 8, "column": 0 }, "end": { - "line": 10, + "line": 8, "column": 0 } } diff --git a/docs/ast/source/lc/western/julian.js.json b/docs/ast/source/lc/western/julian.js.json index a16e62d..1093d26 100644 --- a/docs/ast/source/lc/western/julian.js.json +++ b/docs/ast/source/lc/western/julian.js.json @@ -1,169 +1,114 @@ { "type": "File", "start": 0, - "end": 888, + "end": 845, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 47, + "line": 44, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 888, + "end": 845, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 47, + "line": 44, "column": 0 } }, "sourceType": "module", "body": [ { - "type": "VariableDeclaration", - "start": 15, - "end": 60, + "type": "ImportDeclaration", + "start": 0, + "end": 40, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 45 + "line": 1, + "column": 40 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 21, - "end": 59, + "type": "ImportDefaultSpecifier", + "start": 7, + "end": 22, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 44 + "line": 1, + "column": 22 } }, - "id": { + "local": { "type": "Identifier", - "start": 21, - "end": 36, + "start": 7, + "end": 22, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 21 + "line": 1, + "column": 22 }, "identifierName": "WesternCalendar" }, - "name": "WesternCalendar", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 39, - "end": 59, - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 44 - } - }, - "callee": { - "type": "Identifier", - "start": 39, - "end": 46, - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 31 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 47, - "end": 58, - "loc": { - "start": { - "line": 2, - "column": 32 - }, - "end": { - "line": 2, - "column": 43 - } - }, - "extra": { - "rawValue": "./western", - "raw": "'./western'" - }, - "value": "./western" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } + "name": "WesternCalendar" } } ], + "source": { + "type": "StringLiteral", + "start": 28, + "end": 39, + "loc": { + "start": { + "line": 1, + "column": 28 + }, + "end": { + "line": 1, + "column": 39 + } + }, + "extra": { + "rawValue": "./western", + "raw": "'./western'" + }, + "value": "./western" + }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Represent a Julian date.\n * @extends {WesternCalendar}\n ", - "start": 62, - "end": 127, + "start": 42, + "end": 107, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 7, + "line": 6, "column": 3 } } @@ -171,1808 +116,1728 @@ ] }, { - "type": "ClassDeclaration", - "start": 128, - "end": 849, + "type": "ExportDefaultDeclaration", + "start": 108, + "end": 844, "loc": { "start": { - "line": 8, + "line": 7, "column": 0 }, "end": { - "line": 44, + "line": 43, "column": 1 } }, - "id": { - "type": "Identifier", - "start": 134, - "end": 152, + "declaration": { + "type": "ClassDeclaration", + "start": 123, + "end": 844, "loc": { "start": { - "line": 8, - "column": 6 + "line": 7, + "column": 15 }, "end": { - "line": 8, - "column": 24 - }, - "identifierName": "JulianCalendarDate" + "line": 43, + "column": 1 + } }, - "name": "JulianCalendarDate", - "leadingComments": null - }, - "superClass": { - "type": "Identifier", - "start": 161, - "end": 176, - "loc": { - "start": { - "line": 8, - "column": 33 - }, - "end": { - "line": 8, - "column": 48 + "id": { + "type": "Identifier", + "start": 129, + "end": 147, + "loc": { + "start": { + "line": 7, + "column": 21 + }, + "end": { + "line": 7, + "column": 39 + }, + "identifierName": "JulianCalendarDate" }, - "identifierName": "WesternCalendar" + "name": "JulianCalendarDate", + "leadingComments": null }, - "name": "WesternCalendar" - }, - "body": { - "type": "ClassBody", - "start": 177, - "end": 849, - "loc": { - "start": { - "line": 8, - "column": 49 + "superClass": { + "type": "Identifier", + "start": 156, + "end": 171, + "loc": { + "start": { + "line": 7, + "column": 48 + }, + "end": { + "line": 7, + "column": 63 + }, + "identifierName": "WesternCalendar" }, - "end": { - "line": 44, - "column": 1 - } + "name": "WesternCalendar" }, - "body": [ - { - "type": "ClassMethod", - "start": 282, - "end": 847, - "loc": { - "start": { - "line": 14, - "column": 2 - }, - "end": { - "line": 43, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 286, - "end": 292, - "loc": { - "start": { - "line": 14, - "column": 6 - }, - "end": { - "line": 14, - "column": 12 - }, - "identifierName": "offset" - }, - "name": "offset" + "body": { + "type": "ClassBody", + "start": 172, + "end": 844, + "loc": { + "start": { + "line": 7, + "column": 64 }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 295, - "end": 847, + "end": { + "line": 43, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 277, + "end": 842, "loc": { "start": { - "line": 14, - "column": 15 + "line": 13, + "column": 2 }, "end": { - "line": 43, + "line": 42, "column": 3 } }, - "body": [ - { - "type": "IfStatement", - "start": 301, - "end": 356, - "loc": { - "start": { - "line": 15, - "column": 4 - }, - "end": { - "line": 17, - "column": 5 - } + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 281, + "end": 287, + "loc": { + "start": { + "line": 13, + "column": 6 }, - "test": { - "type": "BinaryExpression", - "start": 305, - "end": 331, + "end": { + "line": 13, + "column": 12 + }, + "identifierName": "offset" + }, + "name": "offset" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 290, + "end": 842, + "loc": { + "start": { + "line": 13, + "column": 15 + }, + "end": { + "line": 42, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 296, + "end": 351, "loc": { "start": { - "line": 15, - "column": 8 + "line": 14, + "column": 4 }, "end": { - "line": 15, - "column": 34 + "line": 16, + "column": 5 } }, - "left": { - "type": "MemberExpression", - "start": 305, - "end": 319, + "test": { + "type": "BinaryExpression", + "start": 300, + "end": 326, "loc": { "start": { - "line": 15, + "line": 14, "column": 8 }, "end": { - "line": 15, - "column": 22 + "line": 14, + "column": 34 } }, - "object": { - "type": "ThisExpression", - "start": 305, - "end": 309, + "left": { + "type": "MemberExpression", + "start": 300, + "end": 314, "loc": { "start": { - "line": 15, + "line": 14, "column": 8 }, "end": { - "line": 15, - "column": 12 + "line": 14, + "column": 22 } - } + }, + "object": { + "type": "ThisExpression", + "start": 300, + "end": 304, + "loc": { + "start": { + "line": 14, + "column": 8 + }, + "end": { + "line": 14, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 305, + "end": 314, + "loc": { + "start": { + "line": 14, + "column": 13 + }, + "end": { + "line": 14, + "column": 22 + }, + "identifierName": "julianDay" + }, + "name": "julianDay" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 310, - "end": 319, + "operator": "===", + "right": { + "type": "NumericLiteral", + "start": 319, + "end": 326, "loc": { "start": { - "line": 15, - "column": 13 + "line": 14, + "column": 27 }, "end": { - "line": 15, - "column": 22 - }, - "identifierName": "julianDay" + "line": 14, + "column": 34 + } }, - "name": "julianDay" - }, - "computed": false + "extra": { + "rawValue": 2299160, + "raw": "2299160" + }, + "value": 2299160 + } }, - "operator": "===", - "right": { - "type": "NumericLiteral", - "start": 324, - "end": 331, + "consequent": { + "type": "BlockStatement", + "start": 328, + "end": 351, "loc": { "start": { - "line": 15, - "column": 27 + "line": 14, + "column": 36 }, "end": { - "line": 15, - "column": 34 + "line": 16, + "column": 5 } }, - "extra": { - "rawValue": 2299160, - "raw": "2299160" - }, - "value": 2299160 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 333, - "end": 356, - "loc": { - "start": { - "line": 15, - "column": 36 - }, - "end": { - "line": 17, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 341, - "end": 350, - "loc": { - "start": { - "line": 16, - "column": 6 - }, - "end": { - "line": 16, - "column": 15 - } - }, - "argument": { - "type": "NumericLiteral", - "start": 348, - "end": 349, + "body": [ + { + "type": "ReturnStatement", + "start": 336, + "end": 345, "loc": { "start": { - "line": 16, - "column": 13 + "line": 15, + "column": 6 }, "end": { - "line": 16, - "column": 14 + "line": 15, + "column": 15 } }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 + "argument": { + "type": "NumericLiteral", + "start": 343, + "end": 344, + "loc": { + "start": { + "line": 15, + "column": 13 + }, + "end": { + "line": 15, + "column": 14 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 361, - "end": 416, - "loc": { - "start": { - "line": 18, - "column": 4 + ], + "directives": [] }, - "end": { - "line": 20, - "column": 5 - } + "alternate": null }, - "test": { - "type": "BinaryExpression", - "start": 365, - "end": 389, + { + "type": "IfStatement", + "start": 356, + "end": 411, "loc": { "start": { - "line": 18, - "column": 8 + "line": 17, + "column": 4 }, "end": { - "line": 18, - "column": 32 + "line": 19, + "column": 5 } }, - "left": { - "type": "MemberExpression", - "start": 365, - "end": 379, + "test": { + "type": "BinaryExpression", + "start": 360, + "end": 384, "loc": { "start": { - "line": 18, + "line": 17, "column": 8 }, "end": { - "line": 18, - "column": 22 + "line": 17, + "column": 32 } }, - "object": { - "type": "ThisExpression", - "start": 365, - "end": 369, + "left": { + "type": "MemberExpression", + "start": 360, + "end": 374, "loc": { "start": { - "line": 18, + "line": 17, "column": 8 }, "end": { - "line": 18, - "column": 12 + "line": 17, + "column": 22 } - } + }, + "object": { + "type": "ThisExpression", + "start": 360, + "end": 364, + "loc": { + "start": { + "line": 17, + "column": 8 + }, + "end": { + "line": 17, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 365, + "end": 374, + "loc": { + "start": { + "line": 17, + "column": 13 + }, + "end": { + "line": 17, + "column": 22 + }, + "identifierName": "julianDay" + }, + "name": "julianDay" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 370, - "end": 379, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 377, + "end": 384, "loc": { "start": { - "line": 18, - "column": 13 + "line": 17, + "column": 25 }, "end": { - "line": 18, - "column": 22 - }, - "identifierName": "julianDay" + "line": 17, + "column": 32 + } }, - "name": "julianDay" - }, - "computed": false + "extra": { + "rawValue": 2463863, + "raw": "2463863" + }, + "value": 2463863 + } }, - "operator": ">", - "right": { - "type": "NumericLiteral", - "start": 382, - "end": 389, + "consequent": { + "type": "BlockStatement", + "start": 386, + "end": 411, "loc": { "start": { - "line": 18, - "column": 25 + "line": 17, + "column": 34 }, "end": { - "line": 18, - "column": 32 + "line": 19, + "column": 5 } }, - "extra": { - "rawValue": 2463863, - "raw": "2463863" - }, - "value": 2463863 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 391, - "end": 416, - "loc": { - "start": { - "line": 18, - "column": 34 - }, - "end": { - "line": 20, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 399, - "end": 410, - "loc": { - "start": { - "line": 19, - "column": 6 - }, - "end": { - "line": 19, - "column": 17 - } - }, - "argument": { - "type": "UnaryExpression", - "start": 406, - "end": 409, + "body": [ + { + "type": "ReturnStatement", + "start": 394, + "end": 405, "loc": { "start": { - "line": 19, - "column": 13 + "line": 18, + "column": 6 }, "end": { - "line": 19, - "column": 16 + "line": 18, + "column": 17 } }, - "operator": "-", - "prefix": true, "argument": { - "type": "NumericLiteral", - "start": 407, - "end": 409, + "type": "UnaryExpression", + "start": 401, + "end": 404, "loc": { "start": { - "line": 19, - "column": 14 + "line": 18, + "column": 13 }, "end": { - "line": 19, + "line": 18, "column": 16 } }, - "extra": { - "rawValue": 13, - "raw": "13" + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 402, + "end": 404, + "loc": { + "start": { + "line": 18, + "column": 14 + }, + "end": { + "line": 18, + "column": 16 + } + }, + "extra": { + "rawValue": 13, + "raw": "13" + }, + "value": 13 }, - "value": 13 - }, - "extra": { - "parenthesizedArgument": false + "extra": { + "parenthesizedArgument": false + } } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 421, - "end": 476, - "loc": { - "start": { - "line": 21, - "column": 4 + ], + "directives": [] }, - "end": { - "line": 23, - "column": 5 - } + "alternate": null }, - "test": { - "type": "BinaryExpression", - "start": 425, - "end": 449, + { + "type": "IfStatement", + "start": 416, + "end": 471, "loc": { "start": { - "line": 21, - "column": 8 + "line": 20, + "column": 4 }, "end": { - "line": 21, - "column": 32 + "line": 22, + "column": 5 } }, - "left": { - "type": "MemberExpression", - "start": 425, - "end": 439, + "test": { + "type": "BinaryExpression", + "start": 420, + "end": 444, "loc": { "start": { - "line": 21, + "line": 20, "column": 8 }, "end": { - "line": 21, - "column": 22 + "line": 20, + "column": 32 } }, - "object": { - "type": "ThisExpression", - "start": 425, - "end": 429, + "left": { + "type": "MemberExpression", + "start": 420, + "end": 434, "loc": { "start": { - "line": 21, + "line": 20, "column": 8 }, "end": { - "line": 21, - "column": 12 + "line": 20, + "column": 22 } - } + }, + "object": { + "type": "ThisExpression", + "start": 420, + "end": 424, + "loc": { + "start": { + "line": 20, + "column": 8 + }, + "end": { + "line": 20, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 425, + "end": 434, + "loc": { + "start": { + "line": 20, + "column": 13 + }, + "end": { + "line": 20, + "column": 22 + }, + "identifierName": "julianDay" + }, + "name": "julianDay" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 430, - "end": 439, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 437, + "end": 444, "loc": { "start": { - "line": 21, - "column": 13 + "line": 20, + "column": 25 }, "end": { - "line": 21, - "column": 22 - }, - "identifierName": "julianDay" + "line": 20, + "column": 32 + } }, - "name": "julianDay" - }, - "computed": false + "extra": { + "rawValue": 2415078, + "raw": "2415078" + }, + "value": 2415078 + } }, - "operator": ">", - "right": { - "type": "NumericLiteral", - "start": 442, - "end": 449, + "consequent": { + "type": "BlockStatement", + "start": 446, + "end": 471, "loc": { "start": { - "line": 21, - "column": 25 + "line": 20, + "column": 34 }, "end": { - "line": 21, - "column": 32 + "line": 22, + "column": 5 } }, - "extra": { - "rawValue": 2415078, - "raw": "2415078" - }, - "value": 2415078 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 451, - "end": 476, - "loc": { - "start": { - "line": 21, - "column": 34 - }, - "end": { - "line": 23, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 459, - "end": 470, - "loc": { - "start": { - "line": 22, - "column": 6 - }, - "end": { - "line": 22, - "column": 17 - } - }, - "argument": { - "type": "UnaryExpression", - "start": 466, - "end": 469, + "body": [ + { + "type": "ReturnStatement", + "start": 454, + "end": 465, "loc": { "start": { - "line": 22, - "column": 13 + "line": 21, + "column": 6 }, "end": { - "line": 22, - "column": 16 + "line": 21, + "column": 17 } }, - "operator": "-", - "prefix": true, "argument": { - "type": "NumericLiteral", - "start": 467, - "end": 469, + "type": "UnaryExpression", + "start": 461, + "end": 464, "loc": { "start": { - "line": 22, - "column": 14 + "line": 21, + "column": 13 }, "end": { - "line": 22, + "line": 21, "column": 16 } }, - "extra": { - "rawValue": 12, - "raw": "12" + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 462, + "end": 464, + "loc": { + "start": { + "line": 21, + "column": 14 + }, + "end": { + "line": 21, + "column": 16 + } + }, + "extra": { + "rawValue": 12, + "raw": "12" + }, + "value": 12 }, - "value": 12 - }, - "extra": { - "parenthesizedArgument": false + "extra": { + "parenthesizedArgument": false + } } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 481, - "end": 536, - "loc": { - "start": { - "line": 24, - "column": 4 + ], + "directives": [] }, - "end": { - "line": 26, - "column": 5 - } + "alternate": null }, - "test": { - "type": "BinaryExpression", - "start": 485, - "end": 509, + { + "type": "IfStatement", + "start": 476, + "end": 531, "loc": { "start": { - "line": 24, - "column": 8 + "line": 23, + "column": 4 }, "end": { - "line": 24, - "column": 32 + "line": 25, + "column": 5 } }, - "left": { - "type": "MemberExpression", - "start": 485, - "end": 499, + "test": { + "type": "BinaryExpression", + "start": 480, + "end": 504, "loc": { "start": { - "line": 24, + "line": 23, "column": 8 }, "end": { - "line": 24, - "column": 22 + "line": 23, + "column": 32 } }, - "object": { - "type": "ThisExpression", - "start": 485, - "end": 489, + "left": { + "type": "MemberExpression", + "start": 480, + "end": 494, "loc": { "start": { - "line": 24, + "line": 23, "column": 8 }, "end": { - "line": 24, - "column": 12 + "line": 23, + "column": 22 } - } + }, + "object": { + "type": "ThisExpression", + "start": 480, + "end": 484, + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 485, + "end": 494, + "loc": { + "start": { + "line": 23, + "column": 13 + }, + "end": { + "line": 23, + "column": 22 + }, + "identifierName": "julianDay" + }, + "name": "julianDay" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 490, - "end": 499, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 497, + "end": 504, "loc": { "start": { - "line": 24, - "column": 13 + "line": 23, + "column": 25 }, "end": { - "line": 24, - "column": 22 - }, - "identifierName": "julianDay" + "line": 23, + "column": 32 + } }, - "name": "julianDay" - }, - "computed": false + "extra": { + "rawValue": 2378554, + "raw": "2378554" + }, + "value": 2378554 + } }, - "operator": ">", - "right": { - "type": "NumericLiteral", - "start": 502, - "end": 509, + "consequent": { + "type": "BlockStatement", + "start": 506, + "end": 531, "loc": { "start": { - "line": 24, - "column": 25 + "line": 23, + "column": 34 }, "end": { - "line": 24, - "column": 32 + "line": 25, + "column": 5 } }, - "extra": { - "rawValue": 2378554, - "raw": "2378554" - }, - "value": 2378554 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 511, - "end": 536, - "loc": { - "start": { - "line": 24, - "column": 34 - }, - "end": { - "line": 26, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 519, - "end": 530, - "loc": { - "start": { - "line": 25, - "column": 6 - }, - "end": { - "line": 25, - "column": 17 - } - }, - "argument": { - "type": "UnaryExpression", - "start": 526, - "end": 529, + "body": [ + { + "type": "ReturnStatement", + "start": 514, + "end": 525, "loc": { "start": { - "line": 25, - "column": 13 + "line": 24, + "column": 6 }, "end": { - "line": 25, - "column": 16 + "line": 24, + "column": 17 } }, - "operator": "-", - "prefix": true, "argument": { - "type": "NumericLiteral", - "start": 527, - "end": 529, + "type": "UnaryExpression", + "start": 521, + "end": 524, "loc": { "start": { - "line": 25, - "column": 14 + "line": 24, + "column": 13 }, "end": { - "line": 25, + "line": 24, "column": 16 } }, - "extra": { - "rawValue": 11, - "raw": "11" + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 522, + "end": 524, + "loc": { + "start": { + "line": 24, + "column": 14 + }, + "end": { + "line": 24, + "column": 16 + } + }, + "extra": { + "rawValue": 11, + "raw": "11" + }, + "value": 11 }, - "value": 11 - }, - "extra": { - "parenthesizedArgument": false + "extra": { + "parenthesizedArgument": false + } } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 541, - "end": 596, - "loc": { - "start": { - "line": 27, - "column": 4 + ], + "directives": [] }, - "end": { - "line": 29, - "column": 5 - } + "alternate": null }, - "test": { - "type": "BinaryExpression", - "start": 545, - "end": 569, + { + "type": "IfStatement", + "start": 536, + "end": 591, "loc": { "start": { - "line": 27, - "column": 8 + "line": 26, + "column": 4 }, "end": { - "line": 27, - "column": 32 + "line": 28, + "column": 5 } }, - "left": { - "type": "MemberExpression", - "start": 545, - "end": 559, + "test": { + "type": "BinaryExpression", + "start": 540, + "end": 564, "loc": { "start": { - "line": 27, + "line": 26, "column": 8 }, "end": { - "line": 27, - "column": 22 + "line": 26, + "column": 32 } }, - "object": { - "type": "ThisExpression", - "start": 545, - "end": 549, + "left": { + "type": "MemberExpression", + "start": 540, + "end": 554, "loc": { "start": { - "line": 27, + "line": 26, "column": 8 }, "end": { - "line": 27, - "column": 12 + "line": 26, + "column": 22 } - } + }, + "object": { + "type": "ThisExpression", + "start": 540, + "end": 544, + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 26, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 545, + "end": 554, + "loc": { + "start": { + "line": 26, + "column": 13 + }, + "end": { + "line": 26, + "column": 22 + }, + "identifierName": "julianDay" + }, + "name": "julianDay" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 550, - "end": 559, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 557, + "end": 564, "loc": { "start": { - "line": 27, - "column": 13 + "line": 26, + "column": 25 }, "end": { - "line": 27, - "column": 22 - }, - "identifierName": "julianDay" + "line": 26, + "column": 32 + } }, - "name": "julianDay" - }, - "computed": false + "extra": { + "rawValue": 2312663, + "raw": "2312663" + }, + "value": 2312663 + } }, - "operator": ">", - "right": { - "type": "NumericLiteral", - "start": 562, - "end": 569, + "consequent": { + "type": "BlockStatement", + "start": 566, + "end": 591, "loc": { "start": { - "line": 27, - "column": 25 + "line": 26, + "column": 34 }, "end": { - "line": 27, - "column": 32 + "line": 28, + "column": 5 } }, - "extra": { - "rawValue": 2312663, - "raw": "2312663" - }, - "value": 2312663 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 571, - "end": 596, - "loc": { - "start": { - "line": 27, - "column": 34 - }, - "end": { - "line": 29, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 579, - "end": 590, - "loc": { - "start": { - "line": 28, - "column": 6 - }, - "end": { - "line": 28, - "column": 17 - } - }, - "argument": { - "type": "UnaryExpression", - "start": 586, - "end": 589, + "body": [ + { + "type": "ReturnStatement", + "start": 574, + "end": 585, "loc": { "start": { - "line": 28, - "column": 13 + "line": 27, + "column": 6 }, "end": { - "line": 28, - "column": 16 + "line": 27, + "column": 17 } }, - "operator": "-", - "prefix": true, "argument": { - "type": "NumericLiteral", - "start": 587, - "end": 589, + "type": "UnaryExpression", + "start": 581, + "end": 584, "loc": { "start": { - "line": 28, - "column": 14 + "line": 27, + "column": 13 }, "end": { - "line": 28, + "line": 27, "column": 16 } }, - "extra": { - "rawValue": 10, - "raw": "10" + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 582, + "end": 584, + "loc": { + "start": { + "line": 27, + "column": 14 + }, + "end": { + "line": 27, + "column": 16 + } + }, + "extra": { + "rawValue": 10, + "raw": "10" + }, + "value": 10 }, - "value": 10 - }, - "extra": { - "parenthesizedArgument": false + "extra": { + "parenthesizedArgument": false + } } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 601, - "end": 654, - "loc": { - "start": { - "line": 30, - "column": 4 + ], + "directives": [] }, - "end": { - "line": 32, - "column": 5 - } + "alternate": null }, - "test": { - "type": "BinaryExpression", - "start": 605, - "end": 629, + { + "type": "IfStatement", + "start": 596, + "end": 649, "loc": { "start": { - "line": 30, - "column": 8 + "line": 29, + "column": 4 }, "end": { - "line": 30, - "column": 32 + "line": 31, + "column": 5 } }, - "left": { - "type": "MemberExpression", - "start": 605, - "end": 619, + "test": { + "type": "BinaryExpression", + "start": 600, + "end": 624, "loc": { "start": { - "line": 30, + "line": 29, "column": 8 }, "end": { - "line": 30, - "column": 22 + "line": 29, + "column": 32 } }, - "object": { - "type": "ThisExpression", - "start": 605, - "end": 609, + "left": { + "type": "MemberExpression", + "start": 600, + "end": 614, "loc": { "start": { - "line": 30, + "line": 29, "column": 8 }, "end": { - "line": 30, - "column": 12 + "line": 29, + "column": 22 } - } + }, + "object": { + "type": "ThisExpression", + "start": 600, + "end": 604, + "loc": { + "start": { + "line": 29, + "column": 8 + }, + "end": { + "line": 29, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 605, + "end": 614, + "loc": { + "start": { + "line": 29, + "column": 13 + }, + "end": { + "line": 29, + "column": 22 + }, + "identifierName": "julianDay" + }, + "name": "julianDay" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 610, - "end": 619, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 617, + "end": 624, "loc": { "start": { - "line": 30, - "column": 13 + "line": 29, + "column": 25 }, "end": { - "line": 30, - "column": 22 - }, - "identifierName": "julianDay" + "line": 29, + "column": 32 + } }, - "name": "julianDay" - }, - "computed": false + "extra": { + "rawValue": 2240663, + "raw": "2240663" + }, + "value": 2240663 + } }, - "operator": ">", - "right": { - "type": "NumericLiteral", - "start": 622, - "end": 629, + "consequent": { + "type": "BlockStatement", + "start": 626, + "end": 649, "loc": { "start": { - "line": 30, - "column": 25 + "line": 29, + "column": 34 }, "end": { - "line": 30, - "column": 32 + "line": 31, + "column": 5 } }, - "extra": { - "rawValue": 2240663, - "raw": "2240663" - }, - "value": 2240663 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 631, - "end": 654, - "loc": { - "start": { - "line": 30, - "column": 34 - }, - "end": { - "line": 32, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 639, - "end": 648, - "loc": { - "start": { - "line": 31, - "column": 6 - }, - "end": { - "line": 31, - "column": 15 - } - }, - "argument": { - "type": "NumericLiteral", - "start": 646, - "end": 647, + "body": [ + { + "type": "ReturnStatement", + "start": 634, + "end": 643, "loc": { "start": { - "line": 31, - "column": 13 + "line": 30, + "column": 6 }, "end": { - "line": 31, - "column": 14 + "line": 30, + "column": 15 } }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 + "argument": { + "type": "NumericLiteral", + "start": 641, + "end": 642, + "loc": { + "start": { + "line": 30, + "column": 13 + }, + "end": { + "line": 30, + "column": 14 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 659, - "end": 713, - "loc": { - "start": { - "line": 33, - "column": 4 + ], + "directives": [] }, - "end": { - "line": 35, - "column": 5 - } + "alternate": null }, - "test": { - "type": "BinaryExpression", - "start": 663, - "end": 687, + { + "type": "IfStatement", + "start": 654, + "end": 708, "loc": { "start": { - "line": 33, - "column": 8 + "line": 32, + "column": 4 }, "end": { - "line": 33, - "column": 32 + "line": 34, + "column": 5 } }, - "left": { - "type": "MemberExpression", - "start": 663, - "end": 677, + "test": { + "type": "BinaryExpression", + "start": 658, + "end": 682, "loc": { "start": { - "line": 33, + "line": 32, "column": 8 }, "end": { - "line": 33, - "column": 22 + "line": 32, + "column": 32 } }, - "object": { - "type": "ThisExpression", - "start": 663, - "end": 667, + "left": { + "type": "MemberExpression", + "start": 658, + "end": 672, "loc": { "start": { - "line": 33, + "line": 32, "column": 8 }, "end": { - "line": 33, - "column": 12 + "line": 32, + "column": 22 } - } + }, + "object": { + "type": "ThisExpression", + "start": 658, + "end": 662, + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 663, + "end": 672, + "loc": { + "start": { + "line": 32, + "column": 13 + }, + "end": { + "line": 32, + "column": 22 + }, + "identifierName": "julianDay" + }, + "name": "julianDay" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 668, - "end": 677, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 675, + "end": 682, "loc": { "start": { - "line": 33, - "column": 13 + "line": 32, + "column": 25 }, "end": { - "line": 33, - "column": 22 - }, - "identifierName": "julianDay" + "line": 32, + "column": 32 + } }, - "name": "julianDay" - }, - "computed": false + "extra": { + "rawValue": 2232466, + "raw": "2232466" + }, + "value": 2232466 + } }, - "operator": ">", - "right": { - "type": "NumericLiteral", - "start": 680, - "end": 687, + "consequent": { + "type": "BlockStatement", + "start": 684, + "end": 708, "loc": { "start": { - "line": 33, - "column": 25 + "line": 32, + "column": 34 }, "end": { - "line": 33, - "column": 32 + "line": 34, + "column": 5 } }, - "extra": { - "rawValue": 2232466, - "raw": "2232466" - }, - "value": 2232466 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 689, - "end": 713, - "loc": { - "start": { - "line": 33, - "column": 34 - }, - "end": { - "line": 35, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 697, - "end": 707, - "loc": { - "start": { - "line": 34, - "column": 6 - }, - "end": { - "line": 34, - "column": 16 - } - }, - "argument": { - "type": "UnaryExpression", - "start": 704, - "end": 706, + "body": [ + { + "type": "ReturnStatement", + "start": 692, + "end": 702, "loc": { "start": { - "line": 34, - "column": 13 + "line": 33, + "column": 6 }, "end": { - "line": 34, - "column": 15 + "line": 33, + "column": 16 } }, - "operator": "-", - "prefix": true, "argument": { - "type": "NumericLiteral", - "start": 705, - "end": 706, + "type": "UnaryExpression", + "start": 699, + "end": 701, "loc": { "start": { - "line": 34, - "column": 14 + "line": 33, + "column": 13 }, "end": { - "line": 34, + "line": 33, "column": 15 } }, - "extra": { - "rawValue": 1, - "raw": "1" + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 700, + "end": 701, + "loc": { + "start": { + "line": 33, + "column": 14 + }, + "end": { + "line": 33, + "column": 15 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 }, - "value": 1 - }, - "extra": { - "parenthesizedArgument": false + "extra": { + "parenthesizedArgument": false + } } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 718, - "end": 771, - "loc": { - "start": { - "line": 36, - "column": 4 + ], + "directives": [] }, - "end": { - "line": 38, - "column": 5 - } + "alternate": null }, - "test": { - "type": "BinaryExpression", - "start": 722, - "end": 746, + { + "type": "IfStatement", + "start": 713, + "end": 766, "loc": { "start": { - "line": 36, - "column": 8 + "line": 35, + "column": 4 }, "end": { - "line": 36, - "column": 32 + "line": 37, + "column": 5 } }, - "left": { - "type": "MemberExpression", - "start": 722, - "end": 736, + "test": { + "type": "BinaryExpression", + "start": 717, + "end": 741, "loc": { "start": { - "line": 36, + "line": 35, "column": 8 }, "end": { - "line": 36, - "column": 22 + "line": 35, + "column": 32 } }, - "object": { - "type": "ThisExpression", - "start": 722, - "end": 726, + "left": { + "type": "MemberExpression", + "start": 717, + "end": 731, "loc": { "start": { - "line": 36, + "line": 35, "column": 8 }, "end": { - "line": 36, - "column": 12 + "line": 35, + "column": 22 } - } + }, + "object": { + "type": "ThisExpression", + "start": 717, + "end": 721, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 722, + "end": 731, + "loc": { + "start": { + "line": 35, + "column": 13 + }, + "end": { + "line": 35, + "column": 22 + }, + "identifierName": "julianDay" + }, + "name": "julianDay" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 727, - "end": 736, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 734, + "end": 741, "loc": { "start": { - "line": 36, - "column": 13 + "line": 35, + "column": 25 }, "end": { - "line": 36, - "column": 22 - }, - "identifierName": "julianDay" + "line": 35, + "column": 32 + } }, - "name": "julianDay" - }, - "computed": false + "extra": { + "rawValue": 2175863, + "raw": "2175863" + }, + "value": 2175863 + } }, - "operator": ">", - "right": { - "type": "NumericLiteral", - "start": 739, - "end": 746, + "consequent": { + "type": "BlockStatement", + "start": 743, + "end": 766, "loc": { "start": { - "line": 36, - "column": 25 + "line": 35, + "column": 34 }, "end": { - "line": 36, - "column": 32 + "line": 37, + "column": 5 } }, - "extra": { - "rawValue": 2175863, - "raw": "2175863" - }, - "value": 2175863 - } + "body": [ + { + "type": "ReturnStatement", + "start": 751, + "end": 760, + "loc": { + "start": { + "line": 36, + "column": 6 + }, + "end": { + "line": 36, + "column": 15 + } + }, + "argument": { + "type": "NumericLiteral", + "start": 758, + "end": 759, + "loc": { + "start": { + "line": 36, + "column": 13 + }, + "end": { + "line": 36, + "column": 14 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + } + ], + "directives": [] + }, + "alternate": null }, - "consequent": { - "type": "BlockStatement", - "start": 748, - "end": 771, + { + "type": "IfStatement", + "start": 771, + "end": 824, "loc": { "start": { - "line": 36, - "column": 34 + "line": 38, + "column": 4 }, "end": { - "line": 38, + "line": 40, "column": 5 } }, - "body": [ - { - "type": "ReturnStatement", - "start": 756, - "end": 765, + "test": { + "type": "BinaryExpression", + "start": 775, + "end": 799, + "loc": { + "start": { + "line": 38, + "column": 8 + }, + "end": { + "line": 38, + "column": 32 + } + }, + "left": { + "type": "MemberExpression", + "start": 775, + "end": 789, "loc": { "start": { - "line": 37, - "column": 6 + "line": 38, + "column": 8 }, "end": { - "line": 37, - "column": 15 + "line": 38, + "column": 22 } }, - "argument": { - "type": "NumericLiteral", - "start": 763, - "end": 764, + "object": { + "type": "ThisExpression", + "start": 775, + "end": 779, "loc": { "start": { - "line": 37, - "column": 13 + "line": 38, + "column": 8 }, "end": { - "line": 37, - "column": 14 + "line": 38, + "column": 12 } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 776, - "end": 829, - "loc": { - "start": { - "line": 39, - "column": 4 - }, - "end": { - "line": 41, - "column": 5 - } - }, - "test": { - "type": "BinaryExpression", - "start": 780, - "end": 804, - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 39, - "column": 32 - } - }, - "left": { - "type": "MemberExpression", - "start": 780, - "end": 794, - "loc": { - "start": { - "line": 39, - "column": 8 + } + }, + "property": { + "type": "Identifier", + "start": 780, + "end": 789, + "loc": { + "start": { + "line": 38, + "column": 13 + }, + "end": { + "line": 38, + "column": 22 + }, + "identifierName": "julianDay" + }, + "name": "julianDay" }, - "end": { - "line": 39, - "column": 22 - } + "computed": false }, - "object": { - "type": "ThisExpression", - "start": 780, - "end": 784, + "operator": ">", + "right": { + "type": "NumericLiteral", + "start": 792, + "end": 799, "loc": { "start": { - "line": 39, - "column": 8 + "line": 38, + "column": 25 }, "end": { - "line": 39, - "column": 12 + "line": 38, + "column": 32 } - } - }, - "property": { - "type": "Identifier", - "start": 785, - "end": 794, - "loc": { - "start": { - "line": 39, - "column": 13 - }, - "end": { - "line": 39, - "column": 22 - }, - "identifierName": "julianDay" }, - "name": "julianDay" - }, - "computed": false + "extra": { + "rawValue": 2096663, + "raw": "2096663" + }, + "value": 2096663 + } }, - "operator": ">", - "right": { - "type": "NumericLiteral", - "start": 797, - "end": 804, + "consequent": { + "type": "BlockStatement", + "start": 801, + "end": 824, "loc": { "start": { - "line": 39, - "column": 25 + "line": 38, + "column": 34 }, "end": { - "line": 39, - "column": 32 + "line": 40, + "column": 5 } }, - "extra": { - "rawValue": 2096663, - "raw": "2096663" - }, - "value": 2096663 - } - }, - "consequent": { - "type": "BlockStatement", - "start": 806, - "end": 829, - "loc": { - "start": { - "line": 39, - "column": 34 - }, - "end": { - "line": 41, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 814, - "end": 823, - "loc": { - "start": { - "line": 40, - "column": 6 - }, - "end": { - "line": 40, - "column": 15 - } - }, - "argument": { - "type": "NumericLiteral", - "start": 821, - "end": 822, + "body": [ + { + "type": "ReturnStatement", + "start": 809, + "end": 818, "loc": { "start": { - "line": 40, - "column": 13 + "line": 39, + "column": 6 }, "end": { - "line": 40, - "column": 14 + "line": 39, + "column": 15 } }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 + "argument": { + "type": "NumericLiteral", + "start": 816, + "end": 817, + "loc": { + "start": { + "line": 39, + "column": 13 + }, + "end": { + "line": 39, + "column": 14 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 834, - "end": 843, - "loc": { - "start": { - "line": 42, - "column": 4 + ], + "directives": [] }, - "end": { - "line": 42, - "column": 13 - } + "alternate": null }, - "argument": { - "type": "NumericLiteral", - "start": 841, - "end": 842, + { + "type": "ReturnStatement", + "start": 829, + "end": 838, "loc": { "start": { - "line": 42, - "column": 11 + "line": 41, + "column": 4 }, "end": { - "line": 42, - "column": 12 + "line": 41, + "column": 13 } }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 + "argument": { + "type": "NumericLiteral", + "start": 836, + "end": 837, + "loc": { + "start": { + "line": 41, + "column": 11 + }, + "end": { + "line": 41, + "column": 12 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } } - } - ], - "directives": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Handle the sliding offset between gregorian and julian dates\n * @return {number}\n ", - "start": 182, - "end": 279, - "loc": { - "start": { - "line": 10, - "column": 2 - }, - "end": { - "line": 13, - "column": 5 + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Handle the sliding offset between gregorian and julian dates\n * @return {number}\n ", + "start": 177, + "end": 274, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 12, + "column": 5 + } } } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Represent a Julian date.\n * @extends {WesternCalendar}\n ", + "start": 42, + "end": 107, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 } - ] + } } - ] + ], + "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Represent a Julian date.\n * @extends {WesternCalendar}\n ", - "start": 62, - "end": 127, + "start": 42, + "end": 107, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 7, + "line": 6, "column": 3 } } } ] - }, - { - "type": "ExpressionStatement", - "start": 851, - "end": 887, - "loc": { - "start": { - "line": 46, - "column": 0 - }, - "end": { - "line": 46, - "column": 36 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 851, - "end": 886, - "loc": { - "start": { - "line": 46, - "column": 0 - }, - "end": { - "line": 46, - "column": 35 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 851, - "end": 865, - "loc": { - "start": { - "line": 46, - "column": 0 - }, - "end": { - "line": 46, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 851, - "end": 857, - "loc": { - "start": { - "line": 46, - "column": 0 - }, - "end": { - "line": 46, - "column": 6 - }, - "identifierName": "module" - }, - "name": "module" - }, - "property": { - "type": "Identifier", - "start": 858, - "end": 865, - "loc": { - "start": { - "line": 46, - "column": 7 - }, - "end": { - "line": 46, - "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 868, - "end": 886, - "loc": { - "start": { - "line": 46, - "column": 17 - }, - "end": { - "line": 46, - "column": 35 - }, - "identifierName": "JulianCalendarDate" - }, - "name": "JulianCalendarDate" - } - } } ], "directives": [] }, "comments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, { "type": "CommentBlock", "value": "*\n * Represent a Julian date.\n * @extends {WesternCalendar}\n ", - "start": 62, - "end": 127, + "start": 42, + "end": 107, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 7, + "line": 6, "column": 3 } } @@ -1980,43 +1845,27 @@ { "type": "CommentBlock", "value": "*\n * Handle the sliding offset between gregorian and julian dates\n * @return {number}\n ", - "start": 182, - "end": 279, + "start": 177, + "end": 274, "loc": { "start": { - "line": 10, + "line": 9, "column": 2 }, "end": { - "line": 13, + "line": 12, "column": 5 } } } ], "tokens": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2025,17 +1874,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 15, - "end": 20, + "value": "import", + "start": 0, + "end": 6, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 5 + "line": 1, + "column": 6 } } }, @@ -2052,49 +1901,48 @@ "binop": null }, "value": "WesternCalendar", - "start": 21, - "end": 36, + "start": 7, + "end": 22, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 21 + "line": 1, + "column": 22 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 37, - "end": 38, + "value": "from", + "start": 23, + "end": 27, "loc": { "start": { - "line": 2, - "column": 22 + "line": 1, + "column": 23 }, "end": { - "line": 2, - "column": 23 + "line": 1, + "column": 27 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2102,77 +1950,69 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "require", - "start": 39, - "end": 46, + "value": "./western", + "start": 28, + "end": 39, "loc": { "start": { - "line": 2, - "column": 24 + "line": 1, + "column": 28 }, "end": { - "line": 2, - "column": 31 + "line": 1, + "column": 39 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 46, - "end": 47, + "start": 39, + "end": 40, "loc": { "start": { - "line": 2, - "column": 31 + "line": 1, + "column": 39 }, "end": { - "line": 2, - "column": 32 + "line": 1, + "column": 40 } } }, { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./western", - "start": 47, - "end": 58, + "type": "CommentBlock", + "value": "*\n * Represent a Julian date.\n * @extends {WesternCalendar}\n ", + "start": 42, + "end": 107, "loc": { "start": { - "line": 2, - "column": 32 + "line": 3, + "column": 0 }, "end": { - "line": 2, - "column": 43 + "line": 6, + "column": 3 } } }, { "type": { - "label": ")", + "label": "export", + "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -2180,24 +2020,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 58, - "end": 59, + "value": "export", + "start": 108, + "end": 114, "loc": { "start": { - "line": 2, - "column": 43 + "line": 7, + "column": 0 }, "end": { - "line": 2, - "column": 44 + "line": 7, + "column": 6 } } }, { "type": { - "label": ";", + "label": "default", + "keyword": "default", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -2208,32 +2051,17 @@ "binop": null, "updateContext": null }, - "start": 59, - "end": 60, - "loc": { - "start": { - "line": 2, - "column": 44 - }, - "end": { - "line": 2, - "column": 45 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Represent a Julian date.\n * @extends {WesternCalendar}\n ", - "start": 62, - "end": 127, + "value": "default", + "start": 115, + "end": 122, "loc": { "start": { - "line": 4, - "column": 0 + "line": 7, + "column": 7 }, "end": { "line": 7, - "column": 3 + "column": 14 } } }, @@ -2252,16 +2080,16 @@ "updateContext": null }, "value": "class", - "start": 128, - "end": 133, + "start": 123, + "end": 128, "loc": { "start": { - "line": 8, - "column": 0 + "line": 7, + "column": 15 }, "end": { - "line": 8, - "column": 5 + "line": 7, + "column": 20 } } }, @@ -2278,16 +2106,16 @@ "binop": null }, "value": "JulianCalendarDate", - "start": 134, - "end": 152, + "start": 129, + "end": 147, "loc": { "start": { - "line": 8, - "column": 6 + "line": 7, + "column": 21 }, "end": { - "line": 8, - "column": 24 + "line": 7, + "column": 39 } } }, @@ -2306,16 +2134,16 @@ "updateContext": null }, "value": "extends", - "start": 153, - "end": 160, + "start": 148, + "end": 155, "loc": { "start": { - "line": 8, - "column": 25 + "line": 7, + "column": 40 }, "end": { - "line": 8, - "column": 32 + "line": 7, + "column": 47 } } }, @@ -2332,16 +2160,16 @@ "binop": null }, "value": "WesternCalendar", - "start": 161, - "end": 176, + "start": 156, + "end": 171, "loc": { "start": { - "line": 8, - "column": 33 + "line": 7, + "column": 48 }, "end": { - "line": 8, - "column": 48 + "line": 7, + "column": 63 } } }, @@ -2357,31 +2185,31 @@ "postfix": false, "binop": null }, - "start": 177, - "end": 178, + "start": 172, + "end": 173, "loc": { "start": { - "line": 8, - "column": 49 + "line": 7, + "column": 64 }, "end": { - "line": 8, - "column": 50 + "line": 7, + "column": 65 } } }, { "type": "CommentBlock", "value": "*\n * Handle the sliding offset between gregorian and julian dates\n * @return {number}\n ", - "start": 182, - "end": 279, + "start": 177, + "end": 274, "loc": { "start": { - "line": 10, + "line": 9, "column": 2 }, "end": { - "line": 13, + "line": 12, "column": 5 } } @@ -2399,15 +2227,15 @@ "binop": null }, "value": "get", - "start": 282, - "end": 285, + "start": 277, + "end": 280, "loc": { "start": { - "line": 14, + "line": 13, "column": 2 }, "end": { - "line": 14, + "line": 13, "column": 5 } } @@ -2425,15 +2253,15 @@ "binop": null }, "value": "offset", - "start": 286, - "end": 292, + "start": 281, + "end": 287, "loc": { "start": { - "line": 14, + "line": 13, "column": 6 }, "end": { - "line": 14, + "line": 13, "column": 12 } } @@ -2450,15 +2278,15 @@ "postfix": false, "binop": null }, - "start": 292, - "end": 293, + "start": 287, + "end": 288, "loc": { "start": { - "line": 14, + "line": 13, "column": 12 }, "end": { - "line": 14, + "line": 13, "column": 13 } } @@ -2475,15 +2303,15 @@ "postfix": false, "binop": null }, - "start": 293, - "end": 294, + "start": 288, + "end": 289, "loc": { "start": { - "line": 14, + "line": 13, "column": 13 }, "end": { - "line": 14, + "line": 13, "column": 14 } } @@ -2500,15 +2328,15 @@ "postfix": false, "binop": null }, - "start": 295, - "end": 296, + "start": 290, + "end": 291, "loc": { "start": { - "line": 14, + "line": 13, "column": 15 }, "end": { - "line": 14, + "line": 13, "column": 16 } } @@ -2528,15 +2356,15 @@ "updateContext": null }, "value": "if", - "start": 301, - "end": 303, + "start": 296, + "end": 298, "loc": { "start": { - "line": 15, + "line": 14, "column": 4 }, "end": { - "line": 15, + "line": 14, "column": 6 } } @@ -2553,15 +2381,15 @@ "postfix": false, "binop": null }, - "start": 304, - "end": 305, + "start": 299, + "end": 300, "loc": { "start": { - "line": 15, + "line": 14, "column": 7 }, "end": { - "line": 15, + "line": 14, "column": 8 } } @@ -2581,15 +2409,15 @@ "updateContext": null }, "value": "this", - "start": 305, - "end": 309, + "start": 300, + "end": 304, "loc": { "start": { - "line": 15, + "line": 14, "column": 8 }, "end": { - "line": 15, + "line": 14, "column": 12 } } @@ -2607,15 +2435,15 @@ "binop": null, "updateContext": null }, - "start": 309, - "end": 310, + "start": 304, + "end": 305, "loc": { "start": { - "line": 15, + "line": 14, "column": 12 }, "end": { - "line": 15, + "line": 14, "column": 13 } } @@ -2633,15 +2461,15 @@ "binop": null }, "value": "julianDay", - "start": 310, - "end": 319, + "start": 305, + "end": 314, "loc": { "start": { - "line": 15, + "line": 14, "column": 13 }, "end": { - "line": 15, + "line": 14, "column": 22 } } @@ -2660,15 +2488,15 @@ "updateContext": null }, "value": "===", - "start": 320, - "end": 323, + "start": 315, + "end": 318, "loc": { "start": { - "line": 15, + "line": 14, "column": 23 }, "end": { - "line": 15, + "line": 14, "column": 26 } } @@ -2687,15 +2515,15 @@ "updateContext": null }, "value": 2299160, - "start": 324, - "end": 331, + "start": 319, + "end": 326, "loc": { "start": { - "line": 15, + "line": 14, "column": 27 }, "end": { - "line": 15, + "line": 14, "column": 34 } } @@ -2712,15 +2540,15 @@ "postfix": false, "binop": null }, - "start": 331, - "end": 332, + "start": 326, + "end": 327, "loc": { "start": { - "line": 15, + "line": 14, "column": 34 }, "end": { - "line": 15, + "line": 14, "column": 35 } } @@ -2737,15 +2565,15 @@ "postfix": false, "binop": null }, - "start": 333, - "end": 334, + "start": 328, + "end": 329, "loc": { "start": { - "line": 15, + "line": 14, "column": 36 }, "end": { - "line": 15, + "line": 14, "column": 37 } } @@ -2765,15 +2593,15 @@ "updateContext": null }, "value": "return", - "start": 341, - "end": 347, + "start": 336, + "end": 342, "loc": { "start": { - "line": 16, + "line": 15, "column": 6 }, "end": { - "line": 16, + "line": 15, "column": 12 } } @@ -2792,15 +2620,15 @@ "updateContext": null }, "value": 0, - "start": 348, - "end": 349, + "start": 343, + "end": 344, "loc": { "start": { - "line": 16, + "line": 15, "column": 13 }, "end": { - "line": 16, + "line": 15, "column": 14 } } @@ -2818,15 +2646,15 @@ "binop": null, "updateContext": null }, - "start": 349, - "end": 350, + "start": 344, + "end": 345, "loc": { "start": { - "line": 16, + "line": 15, "column": 14 }, "end": { - "line": 16, + "line": 15, "column": 15 } } @@ -2843,15 +2671,15 @@ "postfix": false, "binop": null }, - "start": 355, - "end": 356, + "start": 350, + "end": 351, "loc": { "start": { - "line": 17, + "line": 16, "column": 4 }, "end": { - "line": 17, + "line": 16, "column": 5 } } @@ -2871,15 +2699,15 @@ "updateContext": null }, "value": "if", - "start": 361, - "end": 363, + "start": 356, + "end": 358, "loc": { "start": { - "line": 18, + "line": 17, "column": 4 }, "end": { - "line": 18, + "line": 17, "column": 6 } } @@ -2896,15 +2724,15 @@ "postfix": false, "binop": null }, - "start": 364, - "end": 365, + "start": 359, + "end": 360, "loc": { "start": { - "line": 18, + "line": 17, "column": 7 }, "end": { - "line": 18, + "line": 17, "column": 8 } } @@ -2924,15 +2752,15 @@ "updateContext": null }, "value": "this", - "start": 365, - "end": 369, + "start": 360, + "end": 364, "loc": { "start": { - "line": 18, + "line": 17, "column": 8 }, "end": { - "line": 18, + "line": 17, "column": 12 } } @@ -2950,15 +2778,15 @@ "binop": null, "updateContext": null }, - "start": 369, - "end": 370, + "start": 364, + "end": 365, "loc": { "start": { - "line": 18, + "line": 17, "column": 12 }, "end": { - "line": 18, + "line": 17, "column": 13 } } @@ -2976,15 +2804,15 @@ "binop": null }, "value": "julianDay", - "start": 370, - "end": 379, + "start": 365, + "end": 374, "loc": { "start": { - "line": 18, + "line": 17, "column": 13 }, "end": { - "line": 18, + "line": 17, "column": 22 } } @@ -3003,15 +2831,15 @@ "updateContext": null }, "value": ">", - "start": 380, - "end": 381, + "start": 375, + "end": 376, "loc": { "start": { - "line": 18, + "line": 17, "column": 23 }, "end": { - "line": 18, + "line": 17, "column": 24 } } @@ -3030,15 +2858,15 @@ "updateContext": null }, "value": 2463863, - "start": 382, - "end": 389, + "start": 377, + "end": 384, "loc": { "start": { - "line": 18, + "line": 17, "column": 25 }, "end": { - "line": 18, + "line": 17, "column": 32 } } @@ -3055,15 +2883,15 @@ "postfix": false, "binop": null }, - "start": 389, - "end": 390, + "start": 384, + "end": 385, "loc": { "start": { - "line": 18, + "line": 17, "column": 32 }, "end": { - "line": 18, + "line": 17, "column": 33 } } @@ -3080,15 +2908,15 @@ "postfix": false, "binop": null }, - "start": 391, - "end": 392, + "start": 386, + "end": 387, "loc": { "start": { - "line": 18, + "line": 17, "column": 34 }, "end": { - "line": 18, + "line": 17, "column": 35 } } @@ -3108,15 +2936,15 @@ "updateContext": null }, "value": "return", - "start": 399, - "end": 405, + "start": 394, + "end": 400, "loc": { "start": { - "line": 19, + "line": 18, "column": 6 }, "end": { - "line": 19, + "line": 18, "column": 12 } } @@ -3135,15 +2963,15 @@ "updateContext": null }, "value": "-", - "start": 406, - "end": 407, + "start": 401, + "end": 402, "loc": { "start": { - "line": 19, + "line": 18, "column": 13 }, "end": { - "line": 19, + "line": 18, "column": 14 } } @@ -3162,15 +2990,15 @@ "updateContext": null }, "value": 13, - "start": 407, - "end": 409, + "start": 402, + "end": 404, "loc": { "start": { - "line": 19, + "line": 18, "column": 14 }, "end": { - "line": 19, + "line": 18, "column": 16 } } @@ -3188,15 +3016,15 @@ "binop": null, "updateContext": null }, - "start": 409, - "end": 410, + "start": 404, + "end": 405, "loc": { "start": { - "line": 19, + "line": 18, "column": 16 }, "end": { - "line": 19, + "line": 18, "column": 17 } } @@ -3213,15 +3041,15 @@ "postfix": false, "binop": null }, - "start": 415, - "end": 416, + "start": 410, + "end": 411, "loc": { "start": { - "line": 20, + "line": 19, "column": 4 }, "end": { - "line": 20, + "line": 19, "column": 5 } } @@ -3241,15 +3069,15 @@ "updateContext": null }, "value": "if", - "start": 421, - "end": 423, + "start": 416, + "end": 418, "loc": { "start": { - "line": 21, + "line": 20, "column": 4 }, "end": { - "line": 21, + "line": 20, "column": 6 } } @@ -3266,15 +3094,15 @@ "postfix": false, "binop": null }, - "start": 424, - "end": 425, + "start": 419, + "end": 420, "loc": { "start": { - "line": 21, + "line": 20, "column": 7 }, "end": { - "line": 21, + "line": 20, "column": 8 } } @@ -3294,15 +3122,15 @@ "updateContext": null }, "value": "this", - "start": 425, - "end": 429, + "start": 420, + "end": 424, "loc": { "start": { - "line": 21, + "line": 20, "column": 8 }, "end": { - "line": 21, + "line": 20, "column": 12 } } @@ -3320,15 +3148,15 @@ "binop": null, "updateContext": null }, - "start": 429, - "end": 430, + "start": 424, + "end": 425, "loc": { "start": { - "line": 21, + "line": 20, "column": 12 }, "end": { - "line": 21, + "line": 20, "column": 13 } } @@ -3346,15 +3174,15 @@ "binop": null }, "value": "julianDay", - "start": 430, - "end": 439, + "start": 425, + "end": 434, "loc": { "start": { - "line": 21, + "line": 20, "column": 13 }, "end": { - "line": 21, + "line": 20, "column": 22 } } @@ -3373,15 +3201,15 @@ "updateContext": null }, "value": ">", - "start": 440, - "end": 441, + "start": 435, + "end": 436, "loc": { "start": { - "line": 21, + "line": 20, "column": 23 }, "end": { - "line": 21, + "line": 20, "column": 24 } } @@ -3400,15 +3228,15 @@ "updateContext": null }, "value": 2415078, - "start": 442, - "end": 449, + "start": 437, + "end": 444, "loc": { "start": { - "line": 21, + "line": 20, "column": 25 }, "end": { - "line": 21, + "line": 20, "column": 32 } } @@ -3425,15 +3253,15 @@ "postfix": false, "binop": null }, - "start": 449, - "end": 450, + "start": 444, + "end": 445, "loc": { "start": { - "line": 21, + "line": 20, "column": 32 }, "end": { - "line": 21, + "line": 20, "column": 33 } } @@ -3450,15 +3278,15 @@ "postfix": false, "binop": null }, - "start": 451, - "end": 452, + "start": 446, + "end": 447, "loc": { "start": { - "line": 21, + "line": 20, "column": 34 }, "end": { - "line": 21, + "line": 20, "column": 35 } } @@ -3478,15 +3306,15 @@ "updateContext": null }, "value": "return", - "start": 459, - "end": 465, + "start": 454, + "end": 460, "loc": { "start": { - "line": 22, + "line": 21, "column": 6 }, "end": { - "line": 22, + "line": 21, "column": 12 } } @@ -3505,15 +3333,15 @@ "updateContext": null }, "value": "-", - "start": 466, - "end": 467, + "start": 461, + "end": 462, "loc": { "start": { - "line": 22, + "line": 21, "column": 13 }, "end": { - "line": 22, + "line": 21, "column": 14 } } @@ -3532,15 +3360,15 @@ "updateContext": null }, "value": 12, - "start": 467, - "end": 469, + "start": 462, + "end": 464, "loc": { "start": { - "line": 22, + "line": 21, "column": 14 }, "end": { - "line": 22, + "line": 21, "column": 16 } } @@ -3558,15 +3386,15 @@ "binop": null, "updateContext": null }, - "start": 469, - "end": 470, + "start": 464, + "end": 465, "loc": { "start": { - "line": 22, + "line": 21, "column": 16 }, "end": { - "line": 22, + "line": 21, "column": 17 } } @@ -3583,15 +3411,15 @@ "postfix": false, "binop": null }, - "start": 475, - "end": 476, + "start": 470, + "end": 471, "loc": { "start": { - "line": 23, + "line": 22, "column": 4 }, "end": { - "line": 23, + "line": 22, "column": 5 } } @@ -3611,15 +3439,15 @@ "updateContext": null }, "value": "if", - "start": 481, - "end": 483, + "start": 476, + "end": 478, "loc": { "start": { - "line": 24, + "line": 23, "column": 4 }, "end": { - "line": 24, + "line": 23, "column": 6 } } @@ -3636,15 +3464,15 @@ "postfix": false, "binop": null }, - "start": 484, - "end": 485, + "start": 479, + "end": 480, "loc": { "start": { - "line": 24, + "line": 23, "column": 7 }, "end": { - "line": 24, + "line": 23, "column": 8 } } @@ -3664,15 +3492,15 @@ "updateContext": null }, "value": "this", - "start": 485, - "end": 489, + "start": 480, + "end": 484, "loc": { "start": { - "line": 24, + "line": 23, "column": 8 }, "end": { - "line": 24, + "line": 23, "column": 12 } } @@ -3690,15 +3518,15 @@ "binop": null, "updateContext": null }, - "start": 489, - "end": 490, + "start": 484, + "end": 485, "loc": { "start": { - "line": 24, + "line": 23, "column": 12 }, "end": { - "line": 24, + "line": 23, "column": 13 } } @@ -3716,15 +3544,15 @@ "binop": null }, "value": "julianDay", - "start": 490, - "end": 499, + "start": 485, + "end": 494, "loc": { "start": { - "line": 24, + "line": 23, "column": 13 }, "end": { - "line": 24, + "line": 23, "column": 22 } } @@ -3743,15 +3571,15 @@ "updateContext": null }, "value": ">", - "start": 500, - "end": 501, + "start": 495, + "end": 496, "loc": { "start": { - "line": 24, + "line": 23, "column": 23 }, "end": { - "line": 24, + "line": 23, "column": 24 } } @@ -3770,15 +3598,15 @@ "updateContext": null }, "value": 2378554, - "start": 502, - "end": 509, + "start": 497, + "end": 504, "loc": { "start": { - "line": 24, + "line": 23, "column": 25 }, "end": { - "line": 24, + "line": 23, "column": 32 } } @@ -3795,15 +3623,15 @@ "postfix": false, "binop": null }, - "start": 509, - "end": 510, + "start": 504, + "end": 505, "loc": { "start": { - "line": 24, + "line": 23, "column": 32 }, "end": { - "line": 24, + "line": 23, "column": 33 } } @@ -3820,15 +3648,15 @@ "postfix": false, "binop": null }, - "start": 511, - "end": 512, + "start": 506, + "end": 507, "loc": { "start": { - "line": 24, + "line": 23, "column": 34 }, "end": { - "line": 24, + "line": 23, "column": 35 } } @@ -3848,15 +3676,15 @@ "updateContext": null }, "value": "return", - "start": 519, - "end": 525, + "start": 514, + "end": 520, "loc": { "start": { - "line": 25, + "line": 24, "column": 6 }, "end": { - "line": 25, + "line": 24, "column": 12 } } @@ -3875,15 +3703,15 @@ "updateContext": null }, "value": "-", - "start": 526, - "end": 527, + "start": 521, + "end": 522, "loc": { "start": { - "line": 25, + "line": 24, "column": 13 }, "end": { - "line": 25, + "line": 24, "column": 14 } } @@ -3902,15 +3730,15 @@ "updateContext": null }, "value": 11, - "start": 527, - "end": 529, + "start": 522, + "end": 524, "loc": { "start": { - "line": 25, + "line": 24, "column": 14 }, "end": { - "line": 25, + "line": 24, "column": 16 } } @@ -3928,15 +3756,15 @@ "binop": null, "updateContext": null }, - "start": 529, - "end": 530, + "start": 524, + "end": 525, "loc": { "start": { - "line": 25, + "line": 24, "column": 16 }, "end": { - "line": 25, + "line": 24, "column": 17 } } @@ -3953,15 +3781,15 @@ "postfix": false, "binop": null }, - "start": 535, - "end": 536, + "start": 530, + "end": 531, "loc": { "start": { - "line": 26, + "line": 25, "column": 4 }, "end": { - "line": 26, + "line": 25, "column": 5 } } @@ -3981,15 +3809,15 @@ "updateContext": null }, "value": "if", - "start": 541, - "end": 543, + "start": 536, + "end": 538, "loc": { "start": { - "line": 27, + "line": 26, "column": 4 }, "end": { - "line": 27, + "line": 26, "column": 6 } } @@ -4006,15 +3834,15 @@ "postfix": false, "binop": null }, - "start": 544, - "end": 545, + "start": 539, + "end": 540, "loc": { "start": { - "line": 27, + "line": 26, "column": 7 }, "end": { - "line": 27, + "line": 26, "column": 8 } } @@ -4034,15 +3862,15 @@ "updateContext": null }, "value": "this", - "start": 545, - "end": 549, + "start": 540, + "end": 544, "loc": { "start": { - "line": 27, + "line": 26, "column": 8 }, "end": { - "line": 27, + "line": 26, "column": 12 } } @@ -4060,15 +3888,15 @@ "binop": null, "updateContext": null }, - "start": 549, - "end": 550, + "start": 544, + "end": 545, "loc": { "start": { - "line": 27, + "line": 26, "column": 12 }, "end": { - "line": 27, + "line": 26, "column": 13 } } @@ -4086,15 +3914,15 @@ "binop": null }, "value": "julianDay", - "start": 550, - "end": 559, + "start": 545, + "end": 554, "loc": { "start": { - "line": 27, + "line": 26, "column": 13 }, "end": { - "line": 27, + "line": 26, "column": 22 } } @@ -4113,15 +3941,15 @@ "updateContext": null }, "value": ">", - "start": 560, - "end": 561, + "start": 555, + "end": 556, "loc": { "start": { - "line": 27, + "line": 26, "column": 23 }, "end": { - "line": 27, + "line": 26, "column": 24 } } @@ -4140,15 +3968,15 @@ "updateContext": null }, "value": 2312663, - "start": 562, - "end": 569, + "start": 557, + "end": 564, "loc": { "start": { - "line": 27, + "line": 26, "column": 25 }, "end": { - "line": 27, + "line": 26, "column": 32 } } @@ -4165,15 +3993,15 @@ "postfix": false, "binop": null }, - "start": 569, - "end": 570, + "start": 564, + "end": 565, "loc": { "start": { - "line": 27, + "line": 26, "column": 32 }, "end": { - "line": 27, + "line": 26, "column": 33 } } @@ -4190,15 +4018,15 @@ "postfix": false, "binop": null }, - "start": 571, - "end": 572, + "start": 566, + "end": 567, "loc": { "start": { - "line": 27, + "line": 26, "column": 34 }, "end": { - "line": 27, + "line": 26, "column": 35 } } @@ -4218,15 +4046,15 @@ "updateContext": null }, "value": "return", - "start": 579, - "end": 585, + "start": 574, + "end": 580, "loc": { "start": { - "line": 28, + "line": 27, "column": 6 }, "end": { - "line": 28, + "line": 27, "column": 12 } } @@ -4245,15 +4073,15 @@ "updateContext": null }, "value": "-", - "start": 586, - "end": 587, + "start": 581, + "end": 582, "loc": { "start": { - "line": 28, + "line": 27, "column": 13 }, "end": { - "line": 28, + "line": 27, "column": 14 } } @@ -4272,15 +4100,15 @@ "updateContext": null }, "value": 10, - "start": 587, - "end": 589, + "start": 582, + "end": 584, "loc": { "start": { - "line": 28, + "line": 27, "column": 14 }, "end": { - "line": 28, + "line": 27, "column": 16 } } @@ -4298,15 +4126,15 @@ "binop": null, "updateContext": null }, - "start": 589, - "end": 590, + "start": 584, + "end": 585, "loc": { "start": { - "line": 28, + "line": 27, "column": 16 }, "end": { - "line": 28, + "line": 27, "column": 17 } } @@ -4323,15 +4151,15 @@ "postfix": false, "binop": null }, - "start": 595, - "end": 596, + "start": 590, + "end": 591, "loc": { "start": { - "line": 29, + "line": 28, "column": 4 }, "end": { - "line": 29, + "line": 28, "column": 5 } } @@ -4351,15 +4179,15 @@ "updateContext": null }, "value": "if", - "start": 601, - "end": 603, + "start": 596, + "end": 598, "loc": { "start": { - "line": 30, + "line": 29, "column": 4 }, "end": { - "line": 30, + "line": 29, "column": 6 } } @@ -4376,15 +4204,15 @@ "postfix": false, "binop": null }, - "start": 604, - "end": 605, + "start": 599, + "end": 600, "loc": { "start": { - "line": 30, + "line": 29, "column": 7 }, "end": { - "line": 30, + "line": 29, "column": 8 } } @@ -4404,15 +4232,15 @@ "updateContext": null }, "value": "this", - "start": 605, - "end": 609, + "start": 600, + "end": 604, "loc": { "start": { - "line": 30, + "line": 29, "column": 8 }, "end": { - "line": 30, + "line": 29, "column": 12 } } @@ -4430,15 +4258,15 @@ "binop": null, "updateContext": null }, - "start": 609, - "end": 610, + "start": 604, + "end": 605, "loc": { "start": { - "line": 30, + "line": 29, "column": 12 }, "end": { - "line": 30, + "line": 29, "column": 13 } } @@ -4456,15 +4284,15 @@ "binop": null }, "value": "julianDay", - "start": 610, - "end": 619, + "start": 605, + "end": 614, "loc": { "start": { - "line": 30, + "line": 29, "column": 13 }, "end": { - "line": 30, + "line": 29, "column": 22 } } @@ -4483,15 +4311,15 @@ "updateContext": null }, "value": ">", - "start": 620, - "end": 621, + "start": 615, + "end": 616, "loc": { "start": { - "line": 30, + "line": 29, "column": 23 }, "end": { - "line": 30, + "line": 29, "column": 24 } } @@ -4510,15 +4338,15 @@ "updateContext": null }, "value": 2240663, - "start": 622, - "end": 629, + "start": 617, + "end": 624, "loc": { "start": { - "line": 30, + "line": 29, "column": 25 }, "end": { - "line": 30, + "line": 29, "column": 32 } } @@ -4535,15 +4363,15 @@ "postfix": false, "binop": null }, - "start": 629, - "end": 630, + "start": 624, + "end": 625, "loc": { "start": { - "line": 30, + "line": 29, "column": 32 }, "end": { - "line": 30, + "line": 29, "column": 33 } } @@ -4560,15 +4388,15 @@ "postfix": false, "binop": null }, - "start": 631, - "end": 632, + "start": 626, + "end": 627, "loc": { "start": { - "line": 30, + "line": 29, "column": 34 }, "end": { - "line": 30, + "line": 29, "column": 35 } } @@ -4588,15 +4416,15 @@ "updateContext": null }, "value": "return", - "start": 639, - "end": 645, + "start": 634, + "end": 640, "loc": { "start": { - "line": 31, + "line": 30, "column": 6 }, "end": { - "line": 31, + "line": 30, "column": 12 } } @@ -4615,15 +4443,15 @@ "updateContext": null }, "value": 0, - "start": 646, - "end": 647, + "start": 641, + "end": 642, "loc": { "start": { - "line": 31, + "line": 30, "column": 13 }, "end": { - "line": 31, + "line": 30, "column": 14 } } @@ -4641,15 +4469,15 @@ "binop": null, "updateContext": null }, - "start": 647, - "end": 648, + "start": 642, + "end": 643, "loc": { "start": { - "line": 31, + "line": 30, "column": 14 }, "end": { - "line": 31, + "line": 30, "column": 15 } } @@ -4666,15 +4494,15 @@ "postfix": false, "binop": null }, - "start": 653, - "end": 654, + "start": 648, + "end": 649, "loc": { "start": { - "line": 32, + "line": 31, "column": 4 }, "end": { - "line": 32, + "line": 31, "column": 5 } } @@ -4694,15 +4522,15 @@ "updateContext": null }, "value": "if", - "start": 659, - "end": 661, + "start": 654, + "end": 656, "loc": { "start": { - "line": 33, + "line": 32, "column": 4 }, "end": { - "line": 33, + "line": 32, "column": 6 } } @@ -4719,15 +4547,15 @@ "postfix": false, "binop": null }, - "start": 662, - "end": 663, + "start": 657, + "end": 658, "loc": { "start": { - "line": 33, + "line": 32, "column": 7 }, "end": { - "line": 33, + "line": 32, "column": 8 } } @@ -4747,15 +4575,15 @@ "updateContext": null }, "value": "this", - "start": 663, - "end": 667, + "start": 658, + "end": 662, "loc": { "start": { - "line": 33, + "line": 32, "column": 8 }, "end": { - "line": 33, + "line": 32, "column": 12 } } @@ -4773,15 +4601,15 @@ "binop": null, "updateContext": null }, - "start": 667, - "end": 668, + "start": 662, + "end": 663, "loc": { "start": { - "line": 33, + "line": 32, "column": 12 }, "end": { - "line": 33, + "line": 32, "column": 13 } } @@ -4799,15 +4627,15 @@ "binop": null }, "value": "julianDay", - "start": 668, - "end": 677, + "start": 663, + "end": 672, "loc": { "start": { - "line": 33, + "line": 32, "column": 13 }, "end": { - "line": 33, + "line": 32, "column": 22 } } @@ -4826,15 +4654,15 @@ "updateContext": null }, "value": ">", - "start": 678, - "end": 679, + "start": 673, + "end": 674, "loc": { "start": { - "line": 33, + "line": 32, "column": 23 }, "end": { - "line": 33, + "line": 32, "column": 24 } } @@ -4853,15 +4681,15 @@ "updateContext": null }, "value": 2232466, - "start": 680, - "end": 687, + "start": 675, + "end": 682, "loc": { "start": { - "line": 33, + "line": 32, "column": 25 }, "end": { - "line": 33, + "line": 32, "column": 32 } } @@ -4878,15 +4706,15 @@ "postfix": false, "binop": null }, - "start": 687, - "end": 688, + "start": 682, + "end": 683, "loc": { "start": { - "line": 33, + "line": 32, "column": 32 }, "end": { - "line": 33, + "line": 32, "column": 33 } } @@ -4903,15 +4731,15 @@ "postfix": false, "binop": null }, - "start": 689, - "end": 690, + "start": 684, + "end": 685, "loc": { "start": { - "line": 33, + "line": 32, "column": 34 }, "end": { - "line": 33, + "line": 32, "column": 35 } } @@ -4931,15 +4759,15 @@ "updateContext": null }, "value": "return", - "start": 697, - "end": 703, + "start": 692, + "end": 698, "loc": { "start": { - "line": 34, + "line": 33, "column": 6 }, "end": { - "line": 34, + "line": 33, "column": 12 } } @@ -4958,15 +4786,15 @@ "updateContext": null }, "value": "-", - "start": 704, - "end": 705, + "start": 699, + "end": 700, "loc": { "start": { - "line": 34, + "line": 33, "column": 13 }, "end": { - "line": 34, + "line": 33, "column": 14 } } @@ -4985,15 +4813,15 @@ "updateContext": null }, "value": 1, - "start": 705, - "end": 706, + "start": 700, + "end": 701, "loc": { "start": { - "line": 34, + "line": 33, "column": 14 }, "end": { - "line": 34, + "line": 33, "column": 15 } } @@ -5011,15 +4839,15 @@ "binop": null, "updateContext": null }, - "start": 706, - "end": 707, + "start": 701, + "end": 702, "loc": { "start": { - "line": 34, + "line": 33, "column": 15 }, "end": { - "line": 34, + "line": 33, "column": 16 } } @@ -5036,15 +4864,15 @@ "postfix": false, "binop": null }, - "start": 712, - "end": 713, + "start": 707, + "end": 708, "loc": { "start": { - "line": 35, + "line": 34, "column": 4 }, "end": { - "line": 35, + "line": 34, "column": 5 } } @@ -5064,15 +4892,15 @@ "updateContext": null }, "value": "if", - "start": 718, - "end": 720, + "start": 713, + "end": 715, "loc": { "start": { - "line": 36, + "line": 35, "column": 4 }, "end": { - "line": 36, + "line": 35, "column": 6 } } @@ -5089,15 +4917,15 @@ "postfix": false, "binop": null }, - "start": 721, - "end": 722, + "start": 716, + "end": 717, "loc": { "start": { - "line": 36, + "line": 35, "column": 7 }, "end": { - "line": 36, + "line": 35, "column": 8 } } @@ -5117,15 +4945,15 @@ "updateContext": null }, "value": "this", - "start": 722, - "end": 726, + "start": 717, + "end": 721, "loc": { "start": { - "line": 36, + "line": 35, "column": 8 }, "end": { - "line": 36, + "line": 35, "column": 12 } } @@ -5143,15 +4971,15 @@ "binop": null, "updateContext": null }, - "start": 726, - "end": 727, + "start": 721, + "end": 722, "loc": { "start": { - "line": 36, + "line": 35, "column": 12 }, "end": { - "line": 36, + "line": 35, "column": 13 } } @@ -5169,15 +4997,15 @@ "binop": null }, "value": "julianDay", - "start": 727, - "end": 736, + "start": 722, + "end": 731, "loc": { "start": { - "line": 36, + "line": 35, "column": 13 }, "end": { - "line": 36, + "line": 35, "column": 22 } } @@ -5196,15 +5024,15 @@ "updateContext": null }, "value": ">", - "start": 737, - "end": 738, + "start": 732, + "end": 733, "loc": { "start": { - "line": 36, + "line": 35, "column": 23 }, "end": { - "line": 36, + "line": 35, "column": 24 } } @@ -5223,15 +5051,15 @@ "updateContext": null }, "value": 2175863, - "start": 739, - "end": 746, + "start": 734, + "end": 741, "loc": { "start": { - "line": 36, + "line": 35, "column": 25 }, "end": { - "line": 36, + "line": 35, "column": 32 } } @@ -5248,15 +5076,15 @@ "postfix": false, "binop": null }, - "start": 746, - "end": 747, + "start": 741, + "end": 742, "loc": { "start": { - "line": 36, + "line": 35, "column": 32 }, "end": { - "line": 36, + "line": 35, "column": 33 } } @@ -5273,15 +5101,15 @@ "postfix": false, "binop": null }, - "start": 748, - "end": 749, + "start": 743, + "end": 744, "loc": { "start": { - "line": 36, + "line": 35, "column": 34 }, "end": { - "line": 36, + "line": 35, "column": 35 } } @@ -5301,15 +5129,15 @@ "updateContext": null }, "value": "return", - "start": 756, - "end": 762, + "start": 751, + "end": 757, "loc": { "start": { - "line": 37, + "line": 36, "column": 6 }, "end": { - "line": 37, + "line": 36, "column": 12 } } @@ -5328,15 +5156,15 @@ "updateContext": null }, "value": 0, - "start": 763, - "end": 764, + "start": 758, + "end": 759, "loc": { "start": { - "line": 37, + "line": 36, "column": 13 }, "end": { - "line": 37, + "line": 36, "column": 14 } } @@ -5354,15 +5182,15 @@ "binop": null, "updateContext": null }, - "start": 764, - "end": 765, + "start": 759, + "end": 760, "loc": { "start": { - "line": 37, + "line": 36, "column": 14 }, "end": { - "line": 37, + "line": 36, "column": 15 } } @@ -5379,15 +5207,15 @@ "postfix": false, "binop": null }, - "start": 770, - "end": 771, + "start": 765, + "end": 766, "loc": { "start": { - "line": 38, + "line": 37, "column": 4 }, "end": { - "line": 38, + "line": 37, "column": 5 } } @@ -5407,15 +5235,15 @@ "updateContext": null }, "value": "if", - "start": 776, - "end": 778, + "start": 771, + "end": 773, "loc": { "start": { - "line": 39, + "line": 38, "column": 4 }, "end": { - "line": 39, + "line": 38, "column": 6 } } @@ -5432,15 +5260,15 @@ "postfix": false, "binop": null }, - "start": 779, - "end": 780, + "start": 774, + "end": 775, "loc": { "start": { - "line": 39, + "line": 38, "column": 7 }, "end": { - "line": 39, + "line": 38, "column": 8 } } @@ -5460,15 +5288,15 @@ "updateContext": null }, "value": "this", - "start": 780, - "end": 784, + "start": 775, + "end": 779, "loc": { "start": { - "line": 39, + "line": 38, "column": 8 }, "end": { - "line": 39, + "line": 38, "column": 12 } } @@ -5486,15 +5314,15 @@ "binop": null, "updateContext": null }, - "start": 784, - "end": 785, + "start": 779, + "end": 780, "loc": { "start": { - "line": 39, + "line": 38, "column": 12 }, "end": { - "line": 39, + "line": 38, "column": 13 } } @@ -5512,15 +5340,15 @@ "binop": null }, "value": "julianDay", - "start": 785, - "end": 794, + "start": 780, + "end": 789, "loc": { "start": { - "line": 39, + "line": 38, "column": 13 }, "end": { - "line": 39, + "line": 38, "column": 22 } } @@ -5539,15 +5367,15 @@ "updateContext": null }, "value": ">", - "start": 795, - "end": 796, + "start": 790, + "end": 791, "loc": { "start": { - "line": 39, + "line": 38, "column": 23 }, "end": { - "line": 39, + "line": 38, "column": 24 } } @@ -5566,15 +5394,15 @@ "updateContext": null }, "value": 2096663, - "start": 797, - "end": 804, + "start": 792, + "end": 799, "loc": { "start": { - "line": 39, + "line": 38, "column": 25 }, "end": { - "line": 39, + "line": 38, "column": 32 } } @@ -5591,15 +5419,15 @@ "postfix": false, "binop": null }, - "start": 804, - "end": 805, + "start": 799, + "end": 800, "loc": { "start": { - "line": 39, + "line": 38, "column": 32 }, "end": { - "line": 39, + "line": 38, "column": 33 } } @@ -5616,15 +5444,15 @@ "postfix": false, "binop": null }, - "start": 806, - "end": 807, + "start": 801, + "end": 802, "loc": { "start": { - "line": 39, + "line": 38, "column": 34 }, "end": { - "line": 39, + "line": 38, "column": 35 } } @@ -5644,15 +5472,15 @@ "updateContext": null }, "value": "return", - "start": 814, - "end": 820, + "start": 809, + "end": 815, "loc": { "start": { - "line": 40, + "line": 39, "column": 6 }, "end": { - "line": 40, + "line": 39, "column": 12 } } @@ -5671,15 +5499,15 @@ "updateContext": null }, "value": 1, - "start": 821, - "end": 822, + "start": 816, + "end": 817, "loc": { "start": { - "line": 40, + "line": 39, "column": 13 }, "end": { - "line": 40, + "line": 39, "column": 14 } } @@ -5697,15 +5525,15 @@ "binop": null, "updateContext": null }, - "start": 822, - "end": 823, + "start": 817, + "end": 818, "loc": { "start": { - "line": 40, + "line": 39, "column": 14 }, "end": { - "line": 40, + "line": 39, "column": 15 } } @@ -5722,15 +5550,15 @@ "postfix": false, "binop": null }, - "start": 828, - "end": 829, + "start": 823, + "end": 824, "loc": { "start": { - "line": 41, + "line": 40, "column": 4 }, "end": { - "line": 41, + "line": 40, "column": 5 } } @@ -5750,15 +5578,15 @@ "updateContext": null }, "value": "return", - "start": 834, - "end": 840, + "start": 829, + "end": 835, "loc": { "start": { - "line": 42, + "line": 41, "column": 4 }, "end": { - "line": 42, + "line": 41, "column": 10 } } @@ -5777,15 +5605,15 @@ "updateContext": null }, "value": 0, - "start": 841, - "end": 842, + "start": 836, + "end": 837, "loc": { "start": { - "line": 42, + "line": 41, "column": 11 }, "end": { - "line": 42, + "line": 41, "column": 12 } } @@ -5803,15 +5631,15 @@ "binop": null, "updateContext": null }, - "start": 842, - "end": 843, + "start": 837, + "end": 838, "loc": { "start": { - "line": 42, + "line": 41, "column": 12 }, "end": { - "line": 42, + "line": 41, "column": 13 } } @@ -5828,15 +5656,15 @@ "postfix": false, "binop": null }, - "start": 846, - "end": 847, + "start": 841, + "end": 842, "loc": { "start": { - "line": 43, + "line": 42, "column": 2 }, "end": { - "line": 43, + "line": 42, "column": 3 } } @@ -5853,176 +5681,19 @@ "postfix": false, "binop": null }, - "start": 848, - "end": 849, + "start": 843, + "end": 844, "loc": { "start": { - "line": 44, + "line": 43, "column": 0 }, "end": { - "line": 44, + "line": 43, "column": 1 } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "module", - "start": 851, - "end": 857, - "loc": { - "start": { - "line": 46, - "column": 0 - }, - "end": { - "line": 46, - "column": 6 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 857, - "end": 858, - "loc": { - "start": { - "line": 46, - "column": 6 - }, - "end": { - "line": 46, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "exports", - "start": 858, - "end": 865, - "loc": { - "start": { - "line": 46, - "column": 7 - }, - "end": { - "line": 46, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 866, - "end": 867, - "loc": { - "start": { - "line": 46, - "column": 15 - }, - "end": { - "line": 46, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "JulianCalendarDate", - "start": 868, - "end": 886, - "loc": { - "start": { - "line": 46, - "column": 17 - }, - "end": { - "line": 46, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 886, - "end": 887, - "loc": { - "start": { - "line": 46, - "column": 35 - }, - "end": { - "line": 46, - "column": 36 - } - } - }, { "type": { "label": "eof", @@ -6036,15 +5707,15 @@ "binop": null, "updateContext": null }, - "start": 888, - "end": 888, + "start": 845, + "end": 845, "loc": { "start": { - "line": 47, + "line": 44, "column": 0 }, "end": { - "line": 47, + "line": 44, "column": 0 } } diff --git a/docs/ast/source/lc/western/western.js.json b/docs/ast/source/lc/western/western.js.json index 9097add..a48ef96 100644 --- a/docs/ast/source/lc/western/western.js.json +++ b/docs/ast/source/lc/western/western.js.json @@ -1,169 +1,114 @@ { "type": "File", "start": 0, - "end": 1631, + "end": 1590, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 84, + "line": 80, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 1631, + "end": 1590, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 84, + "line": 80, "column": 0 } }, "sourceType": "module", "body": [ { - "type": "VariableDeclaration", - "start": 15, - "end": 54, + "type": "ImportDeclaration", + "start": 0, + "end": 34, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 39 + "line": 1, + "column": 34 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 21, - "end": 53, + "type": "ImportDefaultSpecifier", + "start": 7, + "end": 16, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 38 + "line": 1, + "column": 16 } }, - "id": { + "local": { "type": "Identifier", - "start": 21, - "end": 30, + "start": 7, + "end": 16, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 15 + "line": 1, + "column": 16 }, "identifierName": "moonbeams" }, - "name": "moonbeams", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 33, - "end": 53, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 38 - } - }, - "callee": { - "type": "Identifier", - "start": 33, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 18 - }, - "end": { - "line": 2, - "column": 25 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 41, - "end": 52, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 37 - } - }, - "extra": { - "rawValue": "moonbeams", - "raw": "'moonbeams'" - }, - "value": "moonbeams" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } + "name": "moonbeams" } } ], + "source": { + "type": "StringLiteral", + "start": 22, + "end": 33, + "loc": { + "start": { + "line": 1, + "column": 22 + }, + "end": { + "line": 1, + "column": 33 + } + }, + "extra": { + "rawValue": "moonbeams", + "raw": "'moonbeams'" + }, + "value": "moonbeams" + }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Represents either a Julian or Gregorian calendar.\n * @abstract\n ", - "start": 56, - "end": 129, + "start": 36, + "end": 109, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 7, + "line": 6, "column": 3 } } @@ -171,852 +116,885 @@ ] }, { - "type": "ClassDeclaration", - "start": 130, - "end": 1594, + "type": "ExportDefaultDeclaration", + "start": 110, + "end": 1589, "loc": { "start": { - "line": 8, + "line": 7, "column": 0 }, "end": { - "line": 80, + "line": 79, "column": 1 } }, - "id": { - "type": "Identifier", - "start": 136, - "end": 151, - "loc": { - "start": { - "line": 8, - "column": 6 - }, - "end": { - "line": 8, - "column": 21 - }, - "identifierName": "WesternCalendar" - }, - "name": "WesternCalendar", - "leadingComments": null - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 152, - "end": 1594, + "declaration": { + "type": "ClassDeclaration", + "start": 125, + "end": 1589, "loc": { "start": { - "line": 8, - "column": 22 + "line": 7, + "column": 15 }, "end": { - "line": 80, + "line": 79, "column": 1 } }, - "body": [ - { - "type": "ClassMethod", - "start": 249, - "end": 449, - "loc": { - "start": { - "line": 13, - "column": 2 - }, - "end": { - "line": 23, - "column": 3 - } + "id": { + "type": "Identifier", + "start": 131, + "end": 146, + "loc": { + "start": { + "line": 7, + "column": 21 + }, + "end": { + "line": 7, + "column": 36 + }, + "identifierName": "WesternCalendar" + }, + "name": "WesternCalendar", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 147, + "end": 1589, + "loc": { + "start": { + "line": 7, + "column": 37 }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 249, - "end": 260, + "end": { + "line": 79, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 244, + "end": 444, "loc": { "start": { - "line": 13, + "line": 12, "column": 2 }, "end": { - "line": 13, - "column": 13 - }, - "identifierName": "constructor" + "line": 22, + "column": 3 + } }, - "name": "constructor", - "leadingComments": null - }, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 261, - "end": 270, + "start": 244, + "end": 255, "loc": { "start": { - "line": 13, - "column": 14 + "line": 12, + "column": 2 }, "end": { - "line": 13, - "column": 23 + "line": 12, + "column": 13 }, - "identifierName": "julianDay" - }, - "name": "julianDay" - } - ], - "body": { - "type": "BlockStatement", - "start": 272, - "end": 449, - "loc": { - "start": { - "line": 13, - "column": 25 + "identifierName": "constructor" }, - "end": { - "line": 23, - "column": 3 - } + "name": "constructor", + "leadingComments": null }, - "body": [ + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "ExpressionStatement", - "start": 316, - "end": 343, + "type": "Identifier", + "start": 256, + "end": 265, "loc": { "start": { - "line": 17, - "column": 4 + "line": 12, + "column": 14 }, "end": { - "line": 17, - "column": 31 - } + "line": 12, + "column": 23 + }, + "identifierName": "julianDay" + }, + "name": "julianDay" + } + ], + "body": { + "type": "BlockStatement", + "start": 267, + "end": 444, + "loc": { + "start": { + "line": 12, + "column": 25 }, - "expression": { - "type": "AssignmentExpression", - "start": 316, - "end": 342, + "end": { + "line": 22, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 311, + "end": 338, "loc": { "start": { - "line": 17, + "line": 16, "column": 4 }, "end": { - "line": 17, - "column": 30 + "line": 16, + "column": 31 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 316, - "end": 330, + "expression": { + "type": "AssignmentExpression", + "start": 311, + "end": 337, "loc": { "start": { - "line": 17, + "line": 16, "column": 4 }, "end": { - "line": 17, - "column": 18 + "line": 16, + "column": 30 } }, - "object": { - "type": "ThisExpression", - "start": 316, - "end": 320, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 311, + "end": 325, "loc": { "start": { - "line": 17, + "line": 16, "column": 4 }, "end": { - "line": 17, - "column": 8 + "line": 16, + "column": 18 } }, + "object": { + "type": "ThisExpression", + "start": 311, + "end": 315, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 316, + "end": 325, + "loc": { + "start": { + "line": 16, + "column": 9 + }, + "end": { + "line": 16, + "column": 18 + }, + "identifierName": "julianDay" + }, + "name": "julianDay" + }, + "computed": false, "leadingComments": null }, - "property": { + "right": { "type": "Identifier", - "start": 321, - "end": 330, + "start": 328, + "end": 337, "loc": { "start": { - "line": 17, - "column": 9 + "line": 16, + "column": 21 }, "end": { - "line": 17, - "column": 18 + "line": 16, + "column": 30 }, "identifierName": "julianDay" }, "name": "julianDay" }, - "computed": false, "leadingComments": null }, - "right": { - "type": "Identifier", - "start": 333, - "end": 342, - "loc": { - "start": { - "line": 17, - "column": 21 - }, - "end": { - "line": 17, - "column": 30 - }, - "identifierName": "julianDay" - }, - "name": "julianDay" - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @type {number}\n ", - "start": 278, - "end": 311, - "loc": { - "start": { - "line": 14, - "column": 4 - }, - "end": { - "line": 16, - "column": 7 + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @type {number}\n ", + "start": 273, + "end": 306, + "loc": { + "start": { + "line": 13, + "column": 4 + }, + "end": { + "line": 15, + "column": 7 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @type {Date}\n ", - "start": 349, - "end": 380, - "loc": { - "start": { - "line": 19, - "column": 4 - }, - "end": { - "line": 21, - "column": 7 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @type {Date}\n ", + "start": 344, + "end": 375, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 20, + "column": 7 + } } } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 385, - "end": 445, - "loc": { - "start": { - "line": 22, - "column": 4 - }, - "end": { - "line": 22, - "column": 64 - } + ] }, - "expression": { - "type": "AssignmentExpression", - "start": 385, - "end": 444, + { + "type": "ExpressionStatement", + "start": 380, + "end": 440, "loc": { "start": { - "line": 22, + "line": 21, "column": 4 }, "end": { - "line": 22, - "column": 63 + "line": 21, + "column": 64 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 385, - "end": 394, + "expression": { + "type": "AssignmentExpression", + "start": 380, + "end": 439, "loc": { "start": { - "line": 22, + "line": 21, "column": 4 }, "end": { - "line": 22, - "column": 13 + "line": 21, + "column": 63 } }, - "object": { - "type": "ThisExpression", - "start": 385, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 380, "end": 389, "loc": { "start": { - "line": 22, + "line": 21, "column": 4 }, "end": { - "line": 22, - "column": 8 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 390, - "end": 394, - "loc": { - "start": { - "line": 22, - "column": 9 - }, - "end": { - "line": 22, + "line": 21, "column": 13 - }, - "identifierName": "date" - }, - "name": "date" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "CallExpression", - "start": 397, - "end": 444, - "loc": { - "start": { - "line": 22, - "column": 16 - }, - "end": { - "line": 22, - "column": 63 - } - }, - "callee": { - "type": "MemberExpression", - "start": 397, - "end": 419, - "loc": { - "start": { - "line": 22, - "column": 16 - }, - "end": { - "line": 22, - "column": 38 } }, "object": { - "type": "Identifier", - "start": 397, - "end": 406, + "type": "ThisExpression", + "start": 380, + "end": 384, "loc": { "start": { - "line": 22, - "column": 16 + "line": 21, + "column": 4 }, "end": { - "line": 22, - "column": 25 - }, - "identifierName": "moonbeams" + "line": 21, + "column": 8 + } }, - "name": "moonbeams" + "leadingComments": null }, "property": { "type": "Identifier", - "start": 407, - "end": 419, + "start": 385, + "end": 389, "loc": { "start": { - "line": 22, - "column": 26 + "line": 21, + "column": 9 }, "end": { - "line": 22, - "column": 38 + "line": 21, + "column": 13 }, - "identifierName": "jdToCalendar" + "identifierName": "date" }, - "name": "jdToCalendar" + "name": "date" }, - "computed": false + "computed": false, + "leadingComments": null }, - "arguments": [ - { - "type": "BinaryExpression", - "start": 420, - "end": 443, + "right": { + "type": "CallExpression", + "start": 392, + "end": 439, + "loc": { + "start": { + "line": 21, + "column": 16 + }, + "end": { + "line": 21, + "column": 63 + } + }, + "callee": { + "type": "MemberExpression", + "start": 392, + "end": 414, "loc": { "start": { - "line": 22, - "column": 39 + "line": 21, + "column": 16 }, "end": { - "line": 22, - "column": 62 + "line": 21, + "column": 38 } }, - "left": { + "object": { "type": "Identifier", - "start": 420, - "end": 429, + "start": 392, + "end": 401, "loc": { "start": { - "line": 22, - "column": 39 + "line": 21, + "column": 16 }, "end": { - "line": 22, - "column": 48 + "line": 21, + "column": 25 }, - "identifierName": "julianDay" + "identifierName": "moonbeams" }, - "name": "julianDay" + "name": "moonbeams" }, - "operator": "+", - "right": { - "type": "MemberExpression", - "start": 432, - "end": 443, + "property": { + "type": "Identifier", + "start": 402, + "end": 414, "loc": { "start": { - "line": 22, - "column": 51 + "line": 21, + "column": 26 + }, + "end": { + "line": 21, + "column": 38 + }, + "identifierName": "jdToCalendar" + }, + "name": "jdToCalendar" + }, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 415, + "end": 438, + "loc": { + "start": { + "line": 21, + "column": 39 }, "end": { - "line": 22, + "line": 21, "column": 62 } }, - "object": { - "type": "ThisExpression", - "start": 432, - "end": 436, + "left": { + "type": "Identifier", + "start": 415, + "end": 424, "loc": { "start": { - "line": 22, - "column": 51 + "line": 21, + "column": 39 }, "end": { - "line": 22, - "column": 55 - } - } + "line": 21, + "column": 48 + }, + "identifierName": "julianDay" + }, + "name": "julianDay" }, - "property": { - "type": "Identifier", - "start": 437, - "end": 443, + "operator": "+", + "right": { + "type": "MemberExpression", + "start": 427, + "end": 438, "loc": { "start": { - "line": 22, - "column": 56 + "line": 21, + "column": 51 }, "end": { - "line": 22, + "line": 21, "column": 62 + } + }, + "object": { + "type": "ThisExpression", + "start": 427, + "end": 431, + "loc": { + "start": { + "line": 21, + "column": 51 + }, + "end": { + "line": 21, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "start": 432, + "end": 438, + "loc": { + "start": { + "line": 21, + "column": 56 + }, + "end": { + "line": 21, + "column": 62 + }, + "identifierName": "offset" }, - "identifierName": "offset" + "name": "offset" }, - "name": "offset" - }, - "computed": false + "computed": false + } } - } - ] + ] + }, + "leadingComments": null }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @type {Date}\n ", - "start": 349, - "end": 380, - "loc": { - "start": { - "line": 19, - "column": 4 - }, - "end": { - "line": 21, - "column": 7 + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @type {Date}\n ", + "start": 344, + "end": 375, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 20, + "column": 7 + } } } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Store a date with reference to a Julian Day.\n * @param {number} julianDay\n ", + "start": 151, + "end": 241, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 11, + "column": 5 } - ] - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Store a date with reference to a Julian Day.\n * @param {number} julianDay\n ", - "start": 156, - "end": 246, - "loc": { - "start": { - "line": 9, - "column": 2 - }, - "end": { - "line": 12, - "column": 5 } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the year\n * @return {number}\n ", - "start": 453, - "end": 505, - "loc": { - "start": { - "line": 25, - "column": 2 - }, - "end": { - "line": 28, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the year\n * @return {number}\n ", + "start": 448, + "end": 500, + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 27, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 508, - "end": 630, - "loc": { - "start": { - "line": 29, - "column": 2 - }, - "end": { - "line": 34, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 512, - "end": 516, + { + "type": "ClassMethod", + "start": 503, + "end": 625, "loc": { "start": { - "line": 29, - "column": 6 - }, - "end": { - "line": 29, - "column": 10 - }, - "identifierName": "year" - }, - "name": "year" - }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 519, - "end": 630, - "loc": { - "start": { - "line": 29, - "column": 13 + "line": 28, + "column": 2 }, "end": { - "line": 34, + "line": 33, "column": 3 } }, - "body": [ - { - "type": "IfStatement", - "start": 525, - "end": 599, - "loc": { - "start": { - "line": 30, - "column": 4 - }, - "end": { - "line": 32, - "column": 5 - } + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 507, + "end": 511, + "loc": { + "start": { + "line": 28, + "column": 6 + }, + "end": { + "line": 28, + "column": 10 + }, + "identifierName": "year" + }, + "name": "year" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 514, + "end": 625, + "loc": { + "start": { + "line": 28, + "column": 13 }, - "test": { - "type": "BinaryExpression", - "start": 529, - "end": 547, + "end": { + "line": 33, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 520, + "end": 594, "loc": { "start": { - "line": 30, - "column": 8 + "line": 29, + "column": 4 }, "end": { - "line": 30, - "column": 26 + "line": 31, + "column": 5 } }, - "left": { - "type": "MemberExpression", - "start": 529, - "end": 537, + "test": { + "type": "BinaryExpression", + "start": 524, + "end": 542, "loc": { "start": { - "line": 30, + "line": 29, "column": 8 }, "end": { - "line": 30, - "column": 16 + "line": 29, + "column": 26 } }, - "object": { - "type": "ThisExpression", - "start": 529, - "end": 533, + "left": { + "type": "MemberExpression", + "start": 524, + "end": 532, "loc": { "start": { - "line": 30, + "line": 29, "column": 8 }, "end": { - "line": 30, - "column": 12 + "line": 29, + "column": 16 } - } + }, + "object": { + "type": "ThisExpression", + "start": 524, + "end": 528, + "loc": { + "start": { + "line": 29, + "column": 8 + }, + "end": { + "line": 29, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 529, + "end": 532, + "loc": { + "start": { + "line": 29, + "column": 13 + }, + "end": { + "line": 29, + "column": 16 + }, + "identifierName": "era" + }, + "name": "era" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 534, - "end": 537, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 537, + "end": 542, "loc": { "start": { - "line": 30, - "column": 13 + "line": 29, + "column": 21 }, "end": { - "line": 30, - "column": 16 - }, - "identifierName": "era" + "line": 29, + "column": 26 + } }, - "name": "era" - }, - "computed": false + "extra": { + "rawValue": "BCE", + "raw": "'BCE'" + }, + "value": "BCE" + } }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 542, - "end": 547, + "consequent": { + "type": "BlockStatement", + "start": 544, + "end": 594, "loc": { "start": { - "line": 30, - "column": 21 + "line": 29, + "column": 28 }, "end": { - "line": 30, - "column": 26 + "line": 31, + "column": 5 } }, - "extra": { - "rawValue": "BCE", - "raw": "'BCE'" - }, - "value": "BCE" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 549, - "end": 599, - "loc": { - "start": { - "line": 30, - "column": 28 - }, - "end": { - "line": 32, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 557, - "end": 593, - "loc": { - "start": { - "line": 31, - "column": 6 - }, - "end": { - "line": 31, - "column": 42 - } - }, - "argument": { - "type": "CallExpression", - "start": 564, - "end": 592, + "body": [ + { + "type": "ReturnStatement", + "start": 552, + "end": 588, "loc": { "start": { - "line": 31, - "column": 13 + "line": 30, + "column": 6 }, "end": { - "line": 31, - "column": 41 + "line": 30, + "column": 42 } }, - "callee": { - "type": "MemberExpression", - "start": 564, - "end": 572, + "argument": { + "type": "CallExpression", + "start": 559, + "end": 587, "loc": { "start": { - "line": 31, + "line": 30, "column": 13 }, "end": { - "line": 31, - "column": 21 + "line": 30, + "column": 41 } }, - "object": { - "type": "Identifier", - "start": 564, - "end": 568, + "callee": { + "type": "MemberExpression", + "start": 559, + "end": 567, "loc": { "start": { - "line": 31, + "line": 30, "column": 13 }, "end": { - "line": 31, - "column": 17 - }, - "identifierName": "Math" - }, - "name": "Math" - }, - "property": { - "type": "Identifier", - "start": 569, - "end": 572, - "loc": { - "start": { - "line": 31, - "column": 18 - }, - "end": { - "line": 31, + "line": 30, "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 559, + "end": 563, + "loc": { + "start": { + "line": 30, + "column": 13 + }, + "end": { + "line": 30, + "column": 17 + }, + "identifierName": "Math" }, - "identifierName": "abs" + "name": "Math" }, - "name": "abs" - }, - "computed": false - }, - "arguments": [ - { - "type": "BinaryExpression", - "start": 573, - "end": 591, - "loc": { - "start": { - "line": 31, - "column": 22 + "property": { + "type": "Identifier", + "start": 564, + "end": 567, + "loc": { + "start": { + "line": 30, + "column": 18 + }, + "end": { + "line": 30, + "column": 21 + }, + "identifierName": "abs" }, - "end": { - "line": 31, - "column": 40 - } + "name": "abs" }, - "left": { - "type": "MemberExpression", - "start": 573, - "end": 587, + "computed": false + }, + "arguments": [ + { + "type": "BinaryExpression", + "start": 568, + "end": 586, "loc": { "start": { - "line": 31, + "line": 30, "column": 22 }, "end": { - "line": 31, - "column": 36 + "line": 30, + "column": 40 } }, - "object": { + "left": { "type": "MemberExpression", - "start": 573, + "start": 568, "end": 582, "loc": { "start": { - "line": 31, + "line": 30, "column": 22 }, "end": { - "line": 31, - "column": 31 + "line": 30, + "column": 36 } }, "object": { - "type": "ThisExpression", - "start": 573, + "type": "MemberExpression", + "start": 568, "end": 577, "loc": { "start": { - "line": 31, + "line": 30, "column": 22 }, "end": { - "line": 31, - "column": 26 + "line": 30, + "column": 31 } - } + }, + "object": { + "type": "ThisExpression", + "start": 568, + "end": 572, + "loc": { + "start": { + "line": 30, + "column": 22 + }, + "end": { + "line": 30, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 573, + "end": 577, + "loc": { + "start": { + "line": 30, + "column": 27 + }, + "end": { + "line": 30, + "column": 31 + }, + "identifierName": "date" + }, + "name": "date" + }, + "computed": false }, "property": { "type": "Identifier", @@ -1024,124 +1002,124 @@ "end": 582, "loc": { "start": { - "line": 31, - "column": 27 + "line": 30, + "column": 32 }, "end": { - "line": 31, - "column": 31 + "line": 30, + "column": 36 }, - "identifierName": "date" + "identifierName": "year" }, - "name": "date" + "name": "year" }, "computed": false }, - "property": { - "type": "Identifier", - "start": 583, - "end": 587, + "operator": "-", + "right": { + "type": "NumericLiteral", + "start": 585, + "end": 586, "loc": { "start": { - "line": 31, - "column": 32 + "line": 30, + "column": 39 }, "end": { - "line": 31, - "column": 36 - }, - "identifierName": "year" + "line": 30, + "column": 40 + } }, - "name": "year" - }, - "computed": false - }, - "operator": "-", - "right": { - "type": "NumericLiteral", - "start": 590, - "end": 591, - "loc": { - "start": { - "line": 31, - "column": 39 + "extra": { + "rawValue": 1, + "raw": "1" }, - "end": { - "line": 31, - "column": 40 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 + "value": 1 + } } - } - ] + ] + } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 604, - "end": 626, - "loc": { - "start": { - "line": 33, - "column": 4 + ], + "directives": [] }, - "end": { - "line": 33, - "column": 26 - } + "alternate": null }, - "argument": { - "type": "MemberExpression", - "start": 611, - "end": 625, + { + "type": "ReturnStatement", + "start": 599, + "end": 621, "loc": { "start": { - "line": 33, - "column": 11 + "line": 32, + "column": 4 }, "end": { - "line": 33, - "column": 25 + "line": 32, + "column": 26 } }, - "object": { + "argument": { "type": "MemberExpression", - "start": 611, + "start": 606, "end": 620, "loc": { "start": { - "line": 33, + "line": 32, "column": 11 }, "end": { - "line": 33, - "column": 20 + "line": 32, + "column": 25 } }, "object": { - "type": "ThisExpression", - "start": 611, + "type": "MemberExpression", + "start": 606, "end": 615, "loc": { "start": { - "line": 33, + "line": 32, "column": 11 }, "end": { - "line": 33, - "column": 15 + "line": 32, + "column": 20 } - } + }, + "object": { + "type": "ThisExpression", + "start": 606, + "end": 610, + "loc": { + "start": { + "line": 32, + "column": 11 + }, + "end": { + "line": 32, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 611, + "end": 615, + "loc": { + "start": { + "line": 32, + "column": 16 + }, + "end": { + "line": 32, + "column": 20 + }, + "identifierName": "date" + }, + "name": "date" + }, + "computed": false }, "property": { "type": "Identifier", @@ -1149,667 +1127,667 @@ "end": 620, "loc": { "start": { - "line": 33, - "column": 16 + "line": 32, + "column": 21 }, "end": { - "line": 33, - "column": 20 + "line": 32, + "column": 25 }, - "identifierName": "date" + "identifierName": "year" }, - "name": "date" + "name": "year" }, "computed": false + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the year\n * @return {number}\n ", + "start": 448, + "end": 500, + "loc": { + "start": { + "line": 24, + "column": 2 }, - "property": { - "type": "Identifier", - "start": 621, - "end": 625, - "loc": { - "start": { - "line": 33, - "column": 21 - }, - "end": { - "line": 33, - "column": 25 - }, - "identifierName": "year" - }, - "name": "year" - }, - "computed": false + "end": { + "line": 27, + "column": 5 + } } } ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the year\n * @return {number}\n ", - "start": 453, - "end": 505, - "loc": { - "start": { - "line": 25, - "column": 2 - }, - "end": { - "line": 28, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the month\n * @return {number}\n ", - "start": 634, - "end": 687, - "loc": { - "start": { - "line": 36, - "column": 2 - }, - "end": { - "line": 39, - "column": 5 + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the month\n * @return {number}\n ", + "start": 629, + "end": 682, + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 38, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 690, - "end": 735, - "loc": { - "start": { - "line": 40, - "column": 2 - }, - "end": { - "line": 42, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 694, - "end": 699, - "loc": { - "start": { - "line": 40, - "column": 6 - }, - "end": { - "line": 40, - "column": 11 - }, - "identifierName": "month" - }, - "name": "month" + ] }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 702, - "end": 735, + { + "type": "ClassMethod", + "start": 685, + "end": 730, "loc": { "start": { - "line": 40, - "column": 14 + "line": 39, + "column": 2 }, "end": { - "line": 42, + "line": 41, "column": 3 } }, - "body": [ - { - "type": "ReturnStatement", - "start": 708, - "end": 731, - "loc": { - "start": { - "line": 41, - "column": 4 - }, - "end": { - "line": 41, - "column": 27 - } + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 689, + "end": 694, + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 39, + "column": 11 + }, + "identifierName": "month" + }, + "name": "month" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 697, + "end": 730, + "loc": { + "start": { + "line": 39, + "column": 14 }, - "argument": { - "type": "MemberExpression", - "start": 715, - "end": 730, + "end": { + "line": 41, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 703, + "end": 726, "loc": { "start": { - "line": 41, - "column": 11 + "line": 40, + "column": 4 }, "end": { - "line": 41, - "column": 26 + "line": 40, + "column": 27 } }, - "object": { + "argument": { "type": "MemberExpression", - "start": 715, - "end": 724, + "start": 710, + "end": 725, "loc": { "start": { - "line": 41, + "line": 40, "column": 11 }, "end": { - "line": 41, - "column": 20 + "line": 40, + "column": 26 } }, "object": { - "type": "ThisExpression", - "start": 715, + "type": "MemberExpression", + "start": 710, "end": 719, "loc": { "start": { - "line": 41, + "line": 40, "column": 11 }, "end": { - "line": 41, - "column": 15 + "line": 40, + "column": 20 } - } + }, + "object": { + "type": "ThisExpression", + "start": 710, + "end": 714, + "loc": { + "start": { + "line": 40, + "column": 11 + }, + "end": { + "line": 40, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 715, + "end": 719, + "loc": { + "start": { + "line": 40, + "column": 16 + }, + "end": { + "line": 40, + "column": 20 + }, + "identifierName": "date" + }, + "name": "date" + }, + "computed": false }, "property": { "type": "Identifier", "start": 720, - "end": 724, + "end": 725, "loc": { "start": { - "line": 41, - "column": 16 + "line": 40, + "column": 21 }, "end": { - "line": 41, - "column": 20 + "line": 40, + "column": 26 }, - "identifierName": "date" + "identifierName": "month" }, - "name": "date" + "name": "month" }, "computed": false + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the month\n * @return {number}\n ", + "start": 629, + "end": 682, + "loc": { + "start": { + "line": 35, + "column": 2 }, - "property": { - "type": "Identifier", - "start": 725, - "end": 730, - "loc": { - "start": { - "line": 41, - "column": 21 - }, - "end": { - "line": 41, - "column": 26 - }, - "identifierName": "month" - }, - "name": "month" - }, - "computed": false + "end": { + "line": 38, + "column": 5 + } } } ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the month\n * @return {number}\n ", - "start": 634, - "end": 687, - "loc": { - "start": { - "line": 36, - "column": 2 - }, - "end": { - "line": 39, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the day of the month\n * @return {number}\n ", - "start": 739, - "end": 803, - "loc": { - "start": { - "line": 44, - "column": 2 - }, - "end": { - "line": 47, - "column": 5 + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the day of the month\n * @return {number}\n ", + "start": 734, + "end": 798, + "loc": { + "start": { + "line": 43, + "column": 2 + }, + "end": { + "line": 46, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 806, - "end": 859, - "loc": { - "start": { - "line": 48, - "column": 2 - }, - "end": { - "line": 50, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 810, - "end": 813, - "loc": { - "start": { - "line": 48, - "column": 6 - }, - "end": { - "line": 48, - "column": 9 - }, - "identifierName": "day" - }, - "name": "day" + ] }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 816, - "end": 859, + { + "type": "ClassMethod", + "start": 801, + "end": 854, "loc": { "start": { - "line": 48, - "column": 12 + "line": 47, + "column": 2 }, "end": { - "line": 50, + "line": 49, "column": 3 } }, - "body": [ - { - "type": "ReturnStatement", - "start": 822, - "end": 855, - "loc": { - "start": { - "line": 49, - "column": 4 - }, - "end": { - "line": 49, - "column": 37 - } + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 805, + "end": 808, + "loc": { + "start": { + "line": 47, + "column": 6 }, - "argument": { - "type": "CallExpression", - "start": 829, - "end": 854, + "end": { + "line": 47, + "column": 9 + }, + "identifierName": "day" + }, + "name": "day" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 811, + "end": 854, + "loc": { + "start": { + "line": 47, + "column": 12 + }, + "end": { + "line": 49, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 817, + "end": 850, "loc": { "start": { - "line": 49, - "column": 11 + "line": 48, + "column": 4 }, "end": { - "line": 49, - "column": 36 + "line": 48, + "column": 37 } }, - "callee": { - "type": "MemberExpression", - "start": 829, - "end": 839, + "argument": { + "type": "CallExpression", + "start": 824, + "end": 849, "loc": { "start": { - "line": 49, + "line": 48, "column": 11 }, "end": { - "line": 49, - "column": 21 + "line": 48, + "column": 36 } }, - "object": { - "type": "Identifier", - "start": 829, - "end": 833, + "callee": { + "type": "MemberExpression", + "start": 824, + "end": 834, "loc": { "start": { - "line": 49, + "line": 48, "column": 11 }, "end": { - "line": 49, - "column": 15 - }, - "identifierName": "Math" - }, - "name": "Math" - }, - "property": { - "type": "Identifier", - "start": 834, - "end": 839, - "loc": { - "start": { - "line": 49, - "column": 16 - }, - "end": { - "line": 49, + "line": 48, "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 824, + "end": 828, + "loc": { + "start": { + "line": 48, + "column": 11 + }, + "end": { + "line": 48, + "column": 15 + }, + "identifierName": "Math" }, - "identifierName": "floor" + "name": "Math" }, - "name": "floor" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 840, - "end": 853, - "loc": { - "start": { - "line": 49, - "column": 22 + "property": { + "type": "Identifier", + "start": 829, + "end": 834, + "loc": { + "start": { + "line": 48, + "column": 16 + }, + "end": { + "line": 48, + "column": 21 + }, + "identifierName": "floor" }, - "end": { - "line": 49, - "column": 35 - } + "name": "floor" }, - "object": { + "computed": false + }, + "arguments": [ + { "type": "MemberExpression", - "start": 840, - "end": 849, + "start": 835, + "end": 848, "loc": { "start": { - "line": 49, + "line": 48, "column": 22 }, "end": { - "line": 49, - "column": 31 + "line": 48, + "column": 35 } }, "object": { - "type": "ThisExpression", - "start": 840, + "type": "MemberExpression", + "start": 835, "end": 844, "loc": { "start": { - "line": 49, + "line": 48, "column": 22 }, "end": { - "line": 49, - "column": 26 + "line": 48, + "column": 31 } - } + }, + "object": { + "type": "ThisExpression", + "start": 835, + "end": 839, + "loc": { + "start": { + "line": 48, + "column": 22 + }, + "end": { + "line": 48, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 840, + "end": 844, + "loc": { + "start": { + "line": 48, + "column": 27 + }, + "end": { + "line": 48, + "column": 31 + }, + "identifierName": "date" + }, + "name": "date" + }, + "computed": false }, "property": { "type": "Identifier", "start": 845, - "end": 849, + "end": 848, "loc": { "start": { - "line": 49, - "column": 27 + "line": 48, + "column": 32 }, "end": { - "line": 49, - "column": 31 + "line": 48, + "column": 35 }, - "identifierName": "date" + "identifierName": "day" }, - "name": "date" + "name": "day" }, "computed": false - }, - "property": { - "type": "Identifier", - "start": 850, - "end": 853, - "loc": { - "start": { - "line": 49, - "column": 32 - }, - "end": { - "line": 49, - "column": 35 - }, - "identifierName": "day" - }, - "name": "day" - }, - "computed": false - } - ] + } + ] + } } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return the day of the month\n * @return {number}\n ", - "start": 739, - "end": 803, - "loc": { - "start": { - "line": 44, - "column": 2 - }, - "end": { - "line": 47, - "column": 5 + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return the day of the month\n * @return {number}\n ", + "start": 734, + "end": 798, + "loc": { + "start": { + "line": 43, + "column": 2 + }, + "end": { + "line": 46, + "column": 5 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return whether the date is the common era or before the common era.\n * @return {string}\n ", - "start": 863, - "end": 967, - "loc": { - "start": { - "line": 52, - "column": 2 - }, - "end": { - "line": 55, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return whether the date is the common era or before the common era.\n * @return {string}\n ", + "start": 858, + "end": 962, + "loc": { + "start": { + "line": 51, + "column": 2 + }, + "end": { + "line": 54, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 970, - "end": 1033, - "loc": { - "start": { - "line": 56, - "column": 2 - }, - "end": { - "line": 58, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 974, - "end": 977, + { + "type": "ClassMethod", + "start": 965, + "end": 1028, "loc": { "start": { - "line": 56, - "column": 6 - }, - "end": { - "line": 56, - "column": 9 - }, - "identifierName": "era" - }, - "name": "era" - }, - "kind": "get", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 980, - "end": 1033, - "loc": { - "start": { - "line": 56, - "column": 12 + "line": 55, + "column": 2 }, "end": { - "line": 58, + "line": 57, "column": 3 } }, - "body": [ - { - "type": "ReturnStatement", - "start": 986, - "end": 1029, - "loc": { - "start": { - "line": 57, - "column": 4 - }, - "end": { - "line": 57, - "column": 47 - } + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 969, + "end": 972, + "loc": { + "start": { + "line": 55, + "column": 6 + }, + "end": { + "line": 55, + "column": 9 + }, + "identifierName": "era" + }, + "name": "era" + }, + "kind": "get", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 975, + "end": 1028, + "loc": { + "start": { + "line": 55, + "column": 12 }, - "argument": { - "type": "ConditionalExpression", - "start": 993, - "end": 1028, + "end": { + "line": 57, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 981, + "end": 1024, "loc": { "start": { - "line": 57, - "column": 11 + "line": 56, + "column": 4 }, "end": { - "line": 57, - "column": 46 + "line": 56, + "column": 47 } }, - "test": { - "type": "BinaryExpression", - "start": 994, - "end": 1012, + "argument": { + "type": "ConditionalExpression", + "start": 988, + "end": 1023, "loc": { "start": { - "line": 57, - "column": 12 + "line": 56, + "column": 11 }, "end": { - "line": 57, - "column": 30 + "line": 56, + "column": 46 } }, - "left": { - "type": "MemberExpression", - "start": 994, - "end": 1008, + "test": { + "type": "BinaryExpression", + "start": 989, + "end": 1007, "loc": { "start": { - "line": 57, + "line": 56, "column": 12 }, "end": { - "line": 57, - "column": 26 + "line": 56, + "column": 30 } }, - "object": { + "left": { "type": "MemberExpression", - "start": 994, + "start": 989, "end": 1003, "loc": { "start": { - "line": 57, + "line": 56, "column": 12 }, "end": { - "line": 57, - "column": 21 + "line": 56, + "column": 26 } }, "object": { - "type": "ThisExpression", - "start": 994, + "type": "MemberExpression", + "start": 989, "end": 998, "loc": { "start": { - "line": 57, + "line": 56, "column": 12 }, "end": { - "line": 57, - "column": 16 + "line": 56, + "column": 21 } - } + }, + "object": { + "type": "ThisExpression", + "start": 989, + "end": 993, + "loc": { + "start": { + "line": 56, + "column": 12 + }, + "end": { + "line": 56, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 994, + "end": 998, + "loc": { + "start": { + "line": 56, + "column": 17 + }, + "end": { + "line": 56, + "column": 21 + }, + "identifierName": "date" + }, + "name": "date" + }, + "computed": false }, "property": { "type": "Identifier", @@ -1817,1423 +1795,1310 @@ "end": 1003, "loc": { "start": { - "line": 57, - "column": 17 + "line": 56, + "column": 22 }, "end": { - "line": 57, - "column": 21 + "line": 56, + "column": 26 }, - "identifierName": "date" + "identifierName": "year" }, - "name": "date" + "name": "year" }, "computed": false }, - "property": { - "type": "Identifier", - "start": 1004, - "end": 1008, + "operator": "<", + "right": { + "type": "NumericLiteral", + "start": 1006, + "end": 1007, "loc": { "start": { - "line": 57, - "column": 22 + "line": 56, + "column": 29 }, "end": { - "line": 57, - "column": 26 - }, - "identifierName": "year" + "line": 56, + "column": 30 + } }, - "name": "year" + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 }, - "computed": false + "extra": { + "parenthesized": true, + "parenStart": 988 + } }, - "operator": "<", - "right": { - "type": "NumericLiteral", + "consequent": { + "type": "StringLiteral", "start": 1011, - "end": 1012, + "end": 1016, "loc": { "start": { - "line": 57, - "column": 29 + "line": 56, + "column": 34 }, "end": { - "line": 57, - "column": 30 + "line": 56, + "column": 39 } }, "extra": { - "rawValue": 0, - "raw": "0" + "rawValue": "BCE", + "raw": "'BCE'" }, - "value": 0 + "value": "BCE" }, - "extra": { - "parenthesized": true, - "parenStart": 993 - } - }, - "consequent": { - "type": "StringLiteral", - "start": 1016, - "end": 1021, - "loc": { - "start": { - "line": 57, - "column": 34 + "alternate": { + "type": "StringLiteral", + "start": 1019, + "end": 1023, + "loc": { + "start": { + "line": 56, + "column": 42 + }, + "end": { + "line": 56, + "column": 46 + } }, - "end": { - "line": 57, - "column": 39 - } - }, - "extra": { - "rawValue": "BCE", - "raw": "'BCE'" - }, - "value": "BCE" - }, - "alternate": { - "type": "StringLiteral", - "start": 1024, - "end": 1028, - "loc": { - "start": { - "line": 57, - "column": 42 + "extra": { + "rawValue": "CE", + "raw": "'CE'" }, - "end": { - "line": 57, - "column": 46 - } - }, - "extra": { - "rawValue": "CE", - "raw": "'CE'" - }, - "value": "CE" + "value": "CE" + } } } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return whether the date is the common era or before the common era.\n * @return {string}\n ", - "start": 863, - "end": 967, - "loc": { - "start": { - "line": 52, - "column": 2 - }, - "end": { - "line": 55, - "column": 5 + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return whether the date is the common era or before the common era.\n * @return {string}\n ", + "start": 858, + "end": 962, + "loc": { + "start": { + "line": 51, + "column": 2 + }, + "end": { + "line": 54, + "column": 5 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return true if this date is on the Julian/Gregorian threshold\n * @return {boolean}\n ", - "start": 1037, - "end": 1136, - "loc": { - "start": { - "line": 60, - "column": 2 - }, - "end": { - "line": 63, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return true if this date is on the Julian/Gregorian threshold\n * @return {boolean}\n ", + "start": 1032, + "end": 1131, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 62, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 1139, - "end": 1240, - "loc": { - "start": { - "line": 64, - "column": 2 - }, - "end": { - "line": 66, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1139, - "end": 1150, + { + "type": "ClassMethod", + "start": 1134, + "end": 1235, "loc": { "start": { - "line": 64, + "line": 63, "column": 2 }, "end": { - "line": 64, - "column": 13 - }, - "identifierName": "isThreshold" - }, - "name": "isThreshold", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1153, - "end": 1240, - "loc": { - "start": { - "line": 64, - "column": 16 - }, - "end": { - "line": 66, + "line": 65, "column": 3 } }, - "body": [ - { - "type": "ReturnStatement", - "start": 1159, - "end": 1236, - "loc": { - "start": { - "line": 65, - "column": 4 - }, - "end": { - "line": 65, - "column": 81 - } + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1134, + "end": 1145, + "loc": { + "start": { + "line": 63, + "column": 2 + }, + "end": { + "line": 63, + "column": 13 + }, + "identifierName": "isThreshold" + }, + "name": "isThreshold", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1148, + "end": 1235, + "loc": { + "start": { + "line": 63, + "column": 16 }, - "argument": { - "type": "LogicalExpression", - "start": 1166, - "end": 1235, + "end": { + "line": 65, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1154, + "end": 1231, "loc": { "start": { - "line": 65, - "column": 11 + "line": 64, + "column": 4 }, "end": { - "line": 65, - "column": 80 + "line": 64, + "column": 81 } }, - "left": { + "argument": { "type": "LogicalExpression", - "start": 1166, - "end": 1205, + "start": 1161, + "end": 1230, "loc": { "start": { - "line": 65, + "line": 64, "column": 11 }, "end": { - "line": 65, - "column": 50 + "line": 64, + "column": 80 } }, "left": { - "type": "BinaryExpression", - "start": 1166, - "end": 1184, + "type": "LogicalExpression", + "start": 1161, + "end": 1200, "loc": { "start": { - "line": 65, + "line": 64, "column": 11 }, "end": { - "line": 65, - "column": 29 + "line": 64, + "column": 50 } }, "left": { - "type": "MemberExpression", - "start": 1166, - "end": 1175, + "type": "BinaryExpression", + "start": 1161, + "end": 1179, "loc": { "start": { - "line": 65, + "line": 64, "column": 11 }, "end": { - "line": 65, - "column": 20 + "line": 64, + "column": 29 } }, - "object": { - "type": "ThisExpression", - "start": 1166, + "left": { + "type": "MemberExpression", + "start": 1161, "end": 1170, "loc": { "start": { - "line": 65, + "line": 64, "column": 11 }, "end": { - "line": 65, - "column": 15 + "line": 64, + "column": 20 } - } + }, + "object": { + "type": "ThisExpression", + "start": 1161, + "end": 1165, + "loc": { + "start": { + "line": 64, + "column": 11 + }, + "end": { + "line": 64, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 1166, + "end": 1170, + "loc": { + "start": { + "line": 64, + "column": 16 + }, + "end": { + "line": 64, + "column": 20 + }, + "identifierName": "year" + }, + "name": "year" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 1171, - "end": 1175, + "operator": "===", + "right": { + "type": "NumericLiteral", + "start": 1175, + "end": 1179, "loc": { "start": { - "line": 65, - "column": 16 + "line": 64, + "column": 25 }, "end": { - "line": 65, - "column": 20 - }, - "identifierName": "year" + "line": 64, + "column": 29 + } }, - "name": "year" - }, - "computed": false + "extra": { + "rawValue": 1582, + "raw": "1582" + }, + "value": 1582 + } }, - "operator": "===", + "operator": "&&", "right": { - "type": "NumericLiteral", - "start": 1180, - "end": 1184, + "type": "BinaryExpression", + "start": 1183, + "end": 1200, "loc": { "start": { - "line": 65, - "column": 25 + "line": 64, + "column": 33 }, "end": { - "line": 65, - "column": 29 + "line": 64, + "column": 50 } }, - "extra": { - "rawValue": 1582, - "raw": "1582" + "left": { + "type": "MemberExpression", + "start": 1183, + "end": 1193, + "loc": { + "start": { + "line": 64, + "column": 33 + }, + "end": { + "line": 64, + "column": 43 + } + }, + "object": { + "type": "ThisExpression", + "start": 1183, + "end": 1187, + "loc": { + "start": { + "line": 64, + "column": 33 + }, + "end": { + "line": 64, + "column": 37 + } + } + }, + "property": { + "type": "Identifier", + "start": 1188, + "end": 1193, + "loc": { + "start": { + "line": 64, + "column": 38 + }, + "end": { + "line": 64, + "column": 43 + }, + "identifierName": "month" + }, + "name": "month" + }, + "computed": false }, - "value": 1582 + "operator": "===", + "right": { + "type": "NumericLiteral", + "start": 1198, + "end": 1200, + "loc": { + "start": { + "line": 64, + "column": 48 + }, + "end": { + "line": 64, + "column": 50 + } + }, + "extra": { + "rawValue": 10, + "raw": "10" + }, + "value": 10 + } } }, "operator": "&&", "right": { - "type": "BinaryExpression", - "start": 1188, - "end": 1205, + "type": "CallExpression", + "start": 1204, + "end": 1230, "loc": { "start": { - "line": 65, - "column": 33 + "line": 64, + "column": 54 }, "end": { - "line": 65, - "column": 50 + "line": 64, + "column": 80 } }, - "left": { + "callee": { "type": "MemberExpression", - "start": 1188, - "end": 1198, + "start": 1204, + "end": 1220, "loc": { "start": { - "line": 65, - "column": 33 + "line": 64, + "column": 54 }, "end": { - "line": 65, - "column": 43 + "line": 64, + "column": 70 } }, "object": { - "type": "ThisExpression", - "start": 1188, - "end": 1192, + "type": "ArrayExpression", + "start": 1204, + "end": 1211, "loc": { "start": { - "line": 65, - "column": 33 + "line": 64, + "column": 54 }, "end": { - "line": 65, - "column": 37 + "line": 64, + "column": 61 } - } + }, + "elements": [ + { + "type": "NumericLiteral", + "start": 1205, + "end": 1207, + "loc": { + "start": { + "line": 64, + "column": 55 + }, + "end": { + "line": 64, + "column": 57 + } + }, + "extra": { + "rawValue": 15, + "raw": "15" + }, + "value": 15 + }, + { + "type": "NumericLiteral", + "start": 1209, + "end": 1210, + "loc": { + "start": { + "line": 64, + "column": 59 + }, + "end": { + "line": 64, + "column": 60 + } + }, + "extra": { + "rawValue": 4, + "raw": "4" + }, + "value": 4 + } + ] }, "property": { "type": "Identifier", - "start": 1193, - "end": 1198, + "start": 1212, + "end": 1220, "loc": { "start": { - "line": 65, - "column": 38 + "line": 64, + "column": 62 }, "end": { - "line": 65, - "column": 43 + "line": 64, + "column": 70 }, - "identifierName": "month" + "identifierName": "includes" }, - "name": "month" + "name": "includes" }, "computed": false }, - "operator": "===", - "right": { - "type": "NumericLiteral", - "start": 1203, - "end": 1205, - "loc": { - "start": { - "line": 65, - "column": 48 - }, - "end": { - "line": 65, - "column": 50 - } - }, - "extra": { - "rawValue": 10, - "raw": "10" - }, - "value": 10 - } - } - }, - "operator": "&&", - "right": { - "type": "CallExpression", - "start": 1209, - "end": 1235, - "loc": { - "start": { - "line": 65, - "column": 54 - }, - "end": { - "line": 65, - "column": 80 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1209, - "end": 1225, - "loc": { - "start": { - "line": 65, - "column": 54 - }, - "end": { - "line": 65, - "column": 70 - } - }, - "object": { - "type": "ArrayExpression", - "start": 1209, - "end": 1216, - "loc": { - "start": { - "line": 65, - "column": 54 + "arguments": [ + { + "type": "MemberExpression", + "start": 1221, + "end": 1229, + "loc": { + "start": { + "line": 64, + "column": 71 + }, + "end": { + "line": 64, + "column": 79 + } }, - "end": { - "line": 65, - "column": 61 - } - }, - "elements": [ - { - "type": "NumericLiteral", - "start": 1210, - "end": 1212, + "object": { + "type": "ThisExpression", + "start": 1221, + "end": 1225, "loc": { "start": { - "line": 65, - "column": 55 + "line": 64, + "column": 71 }, "end": { - "line": 65, - "column": 57 + "line": 64, + "column": 75 } - }, - "extra": { - "rawValue": 15, - "raw": "15" - }, - "value": 15 + } }, - { - "type": "NumericLiteral", - "start": 1214, - "end": 1215, + "property": { + "type": "Identifier", + "start": 1226, + "end": 1229, "loc": { "start": { - "line": 65, - "column": 59 + "line": 64, + "column": 76 }, "end": { - "line": 65, - "column": 60 - } - }, - "extra": { - "rawValue": 4, - "raw": "4" - }, - "value": 4 - } - ] - }, - "property": { - "type": "Identifier", - "start": 1217, - "end": 1225, - "loc": { - "start": { - "line": 65, - "column": 62 - }, - "end": { - "line": 65, - "column": 70 - }, - "identifierName": "includes" - }, - "name": "includes" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1226, - "end": 1234, - "loc": { - "start": { - "line": 65, - "column": 71 - }, - "end": { - "line": 65, - "column": 79 - } - }, - "object": { - "type": "ThisExpression", - "start": 1226, - "end": 1230, - "loc": { - "start": { - "line": 65, - "column": 71 - }, - "end": { - "line": 65, - "column": 75 - } - } - }, - "property": { - "type": "Identifier", - "start": 1231, - "end": 1234, - "loc": { - "start": { - "line": 65, - "column": 76 - }, - "end": { - "line": 65, - "column": 79 + "line": 64, + "column": 79 + }, + "identifierName": "day" }, - "identifierName": "day" + "name": "day" }, - "name": "day" - }, - "computed": false - } - ] + "computed": false + } + ] + } } } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Return true if this date is on the Julian/Gregorian threshold\n * @return {boolean}\n ", - "start": 1037, - "end": 1136, - "loc": { - "start": { - "line": 60, - "column": 2 - }, - "end": { - "line": 63, - "column": 5 + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Return true if this date is on the Julian/Gregorian threshold\n * @return {boolean}\n ", + "start": 1032, + "end": 1131, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 62, + "column": 5 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Represent this date as a string with era markers. If the date is suffixed with\n * a '*', this date is on the Julian/Gregorian threshold date.\n * @return {string}\n ", - "start": 1244, - "end": 1424, - "loc": { - "start": { - "line": 68, - "column": 2 - }, - "end": { - "line": 72, - "column": 5 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Represent this date as a string with era markers. If the date is suffixed with\n * a '*', this date is on the Julian/Gregorian threshold date.\n * @return {string}\n ", + "start": 1239, + "end": 1419, + "loc": { + "start": { + "line": 67, + "column": 2 + }, + "end": { + "line": 71, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 1427, - "end": 1592, - "loc": { - "start": { - "line": 73, - "column": 2 - }, - "end": { - "line": 79, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1427, - "end": 1435, + { + "type": "ClassMethod", + "start": 1422, + "end": 1587, "loc": { "start": { - "line": 73, + "line": 72, "column": 2 }, "end": { - "line": 73, - "column": 10 - }, - "identifierName": "toString" - }, - "name": "toString", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1438, - "end": 1592, - "loc": { - "start": { - "line": 73, - "column": 13 - }, - "end": { - "line": 79, + "line": 78, "column": 3 } }, - "body": [ - { - "type": "VariableDeclaration", - "start": 1444, - "end": 1510, - "loc": { - "start": { - "line": 74, - "column": 4 - }, - "end": { - "line": 74, - "column": 70 - } + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1422, + "end": 1430, + "loc": { + "start": { + "line": 72, + "column": 2 }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1450, - "end": 1509, - "loc": { - "start": { - "line": 74, - "column": 10 - }, - "end": { - "line": 74, - "column": 69 - } + "end": { + "line": 72, + "column": 10 + }, + "identifierName": "toString" + }, + "name": "toString", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1433, + "end": 1587, + "loc": { + "start": { + "line": 72, + "column": 13 + }, + "end": { + "line": 78, + "column": 3 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 1439, + "end": 1505, + "loc": { + "start": { + "line": 73, + "column": 4 }, - "id": { - "type": "Identifier", - "start": 1450, - "end": 1454, + "end": { + "line": 73, + "column": 70 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1445, + "end": 1504, "loc": { "start": { - "line": 74, + "line": 73, "column": 10 }, "end": { - "line": 74, - "column": 14 - }, - "identifierName": "date" - }, - "name": "date" - }, - "init": { - "type": "TemplateLiteral", - "start": 1457, - "end": 1509, - "loc": { - "start": { - "line": 74, - "column": 17 - }, - "end": { - "line": 74, + "line": 73, "column": 69 } }, - "expressions": [ - { - "type": "MemberExpression", - "start": 1460, - "end": 1468, - "loc": { - "start": { - "line": 74, - "column": 20 - }, - "end": { - "line": 74, - "column": 28 - } + "id": { + "type": "Identifier", + "start": 1445, + "end": 1449, + "loc": { + "start": { + "line": 73, + "column": 10 }, - "object": { - "type": "ThisExpression", - "start": 1460, - "end": 1464, + "end": { + "line": 73, + "column": 14 + }, + "identifierName": "date" + }, + "name": "date" + }, + "init": { + "type": "TemplateLiteral", + "start": 1452, + "end": 1504, + "loc": { + "start": { + "line": 73, + "column": 17 + }, + "end": { + "line": 73, + "column": 69 + } + }, + "expressions": [ + { + "type": "MemberExpression", + "start": 1455, + "end": 1463, "loc": { "start": { - "line": 74, + "line": 73, "column": 20 }, "end": { - "line": 74, - "column": 24 + "line": 73, + "column": 28 } - } + }, + "object": { + "type": "ThisExpression", + "start": 1455, + "end": 1459, + "loc": { + "start": { + "line": 73, + "column": 20 + }, + "end": { + "line": 73, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "start": 1460, + "end": 1463, + "loc": { + "start": { + "line": 73, + "column": 25 + }, + "end": { + "line": 73, + "column": 28 + }, + "identifierName": "day" + }, + "name": "day" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 1465, - "end": 1468, + { + "type": "MemberExpression", + "start": 1467, + "end": 1477, "loc": { "start": { - "line": 74, - "column": 25 + "line": 73, + "column": 32 }, "end": { - "line": 74, - "column": 28 - }, - "identifierName": "day" + "line": 73, + "column": 42 + } }, - "name": "day" - }, - "computed": false - }, - { - "type": "MemberExpression", - "start": 1472, - "end": 1482, - "loc": { - "start": { - "line": 74, - "column": 32 + "object": { + "type": "ThisExpression", + "start": 1467, + "end": 1471, + "loc": { + "start": { + "line": 73, + "column": 32 + }, + "end": { + "line": 73, + "column": 36 + } + } }, - "end": { - "line": 74, - "column": 42 - } + "property": { + "type": "Identifier", + "start": 1472, + "end": 1477, + "loc": { + "start": { + "line": 73, + "column": 37 + }, + "end": { + "line": 73, + "column": 42 + }, + "identifierName": "month" + }, + "name": "month" + }, + "computed": false }, - "object": { - "type": "ThisExpression", - "start": 1472, - "end": 1476, + { + "type": "MemberExpression", + "start": 1481, + "end": 1490, "loc": { "start": { - "line": 74, - "column": 32 + "line": 73, + "column": 46 }, "end": { - "line": 74, - "column": 36 + "line": 73, + "column": 55 } - } + }, + "object": { + "type": "ThisExpression", + "start": 1481, + "end": 1485, + "loc": { + "start": { + "line": 73, + "column": 46 + }, + "end": { + "line": 73, + "column": 50 + } + } + }, + "property": { + "type": "Identifier", + "start": 1486, + "end": 1490, + "loc": { + "start": { + "line": 73, + "column": 51 + }, + "end": { + "line": 73, + "column": 55 + }, + "identifierName": "year" + }, + "name": "year" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 1477, - "end": 1482, + { + "type": "MemberExpression", + "start": 1494, + "end": 1502, "loc": { "start": { - "line": 74, - "column": 37 + "line": 73, + "column": 59 }, "end": { - "line": 74, - "column": 42 + "line": 73, + "column": 67 + } + }, + "object": { + "type": "ThisExpression", + "start": 1494, + "end": 1498, + "loc": { + "start": { + "line": 73, + "column": 59 + }, + "end": { + "line": 73, + "column": 63 + } + } + }, + "property": { + "type": "Identifier", + "start": 1499, + "end": 1502, + "loc": { + "start": { + "line": 73, + "column": 64 + }, + "end": { + "line": 73, + "column": 67 + }, + "identifierName": "era" }, - "identifierName": "month" + "name": "era" }, - "name": "month" - }, - "computed": false - }, - { - "type": "MemberExpression", - "start": 1486, - "end": 1495, - "loc": { - "start": { - "line": 74, - "column": 46 + "computed": false + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1453, + "end": 1453, + "loc": { + "start": { + "line": 73, + "column": 18 + }, + "end": { + "line": 73, + "column": 18 + } }, - "end": { - "line": 74, - "column": 55 - } - }, - "object": { - "type": "ThisExpression", - "start": 1486, - "end": 1490, + "value": { + "raw": "", + "cooked": "" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1464, + "end": 1465, "loc": { "start": { - "line": 74, - "column": 46 + "line": 73, + "column": 29 }, "end": { - "line": 74, - "column": 50 + "line": 73, + "column": 30 } - } + }, + "value": { + "raw": "/", + "cooked": "/" + }, + "tail": false }, - "property": { - "type": "Identifier", - "start": 1491, - "end": 1495, + { + "type": "TemplateElement", + "start": 1478, + "end": 1479, "loc": { "start": { - "line": 74, - "column": 51 + "line": 73, + "column": 43 }, "end": { - "line": 74, - "column": 55 - }, - "identifierName": "year" + "line": 73, + "column": 44 + } }, - "name": "year" - }, - "computed": false - }, - { - "type": "MemberExpression", - "start": 1499, - "end": 1507, - "loc": { - "start": { - "line": 74, - "column": 59 + "value": { + "raw": "/", + "cooked": "/" }, - "end": { - "line": 74, - "column": 67 - } + "tail": false }, - "object": { - "type": "ThisExpression", - "start": 1499, - "end": 1503, + { + "type": "TemplateElement", + "start": 1491, + "end": 1492, "loc": { "start": { - "line": 74, - "column": 59 + "line": 73, + "column": 56 }, "end": { - "line": 74, - "column": 63 + "line": 73, + "column": 57 } - } + }, + "value": { + "raw": " ", + "cooked": " " + }, + "tail": false }, - "property": { - "type": "Identifier", - "start": 1504, - "end": 1507, + { + "type": "TemplateElement", + "start": 1503, + "end": 1503, "loc": { "start": { - "line": 74, - "column": 64 + "line": 73, + "column": 68 }, "end": { - "line": 74, - "column": 67 - }, - "identifierName": "era" - }, - "name": "era" - }, - "computed": false - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 1458, - "end": 1458, - "loc": { - "start": { - "line": 74, - "column": 18 - }, - "end": { - "line": 74, - "column": 18 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 1469, - "end": 1470, - "loc": { - "start": { - "line": 74, - "column": 29 - }, - "end": { - "line": 74, - "column": 30 - } - }, - "value": { - "raw": "/", - "cooked": "/" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 1483, - "end": 1484, - "loc": { - "start": { - "line": 74, - "column": 43 - }, - "end": { - "line": 74, - "column": 44 - } - }, - "value": { - "raw": "/", - "cooked": "/" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 1496, - "end": 1497, - "loc": { - "start": { - "line": 74, - "column": 56 + "line": 73, + "column": 68 + } }, - "end": { - "line": 74, - "column": 57 - } - }, - "value": { - "raw": " ", - "cooked": " " - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 1508, - "end": 1508, - "loc": { - "start": { - "line": 74, - "column": 68 + "value": { + "raw": "", + "cooked": "" }, - "end": { - "line": 74, - "column": 68 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": true - } - ] + "tail": true + } + ] + } } - } - ], - "kind": "const" - }, - { - "type": "IfStatement", - "start": 1515, - "end": 1571, - "loc": { - "start": { - "line": 75, - "column": 4 - }, - "end": { - "line": 77, - "column": 5 - } + ], + "kind": "const" }, - "test": { - "type": "CallExpression", - "start": 1519, - "end": 1537, + { + "type": "IfStatement", + "start": 1510, + "end": 1566, "loc": { "start": { - "line": 75, - "column": 8 + "line": 74, + "column": 4 }, "end": { - "line": 75, - "column": 26 + "line": 76, + "column": 5 } }, - "callee": { - "type": "MemberExpression", - "start": 1519, - "end": 1535, + "test": { + "type": "CallExpression", + "start": 1514, + "end": 1532, "loc": { "start": { - "line": 75, + "line": 74, "column": 8 }, "end": { - "line": 75, - "column": 24 + "line": 74, + "column": 26 } }, - "object": { - "type": "ThisExpression", - "start": 1519, - "end": 1523, + "callee": { + "type": "MemberExpression", + "start": 1514, + "end": 1530, "loc": { "start": { - "line": 75, + "line": 74, "column": 8 }, "end": { - "line": 75, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 1524, - "end": 1535, - "loc": { - "start": { - "line": 75, - "column": 13 - }, - "end": { - "line": 75, + "line": 74, "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 1514, + "end": 1518, + "loc": { + "start": { + "line": 74, + "column": 8 + }, + "end": { + "line": 74, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 1519, + "end": 1530, + "loc": { + "start": { + "line": 74, + "column": 13 + }, + "end": { + "line": 74, + "column": 24 + }, + "identifierName": "isThreshold" }, - "identifierName": "isThreshold" + "name": "isThreshold" }, - "name": "isThreshold" - }, - "computed": false - }, - "arguments": [] - }, - "consequent": { - "type": "BlockStatement", - "start": 1539, - "end": 1571, - "loc": { - "start": { - "line": 75, - "column": 28 + "computed": false }, - "end": { - "line": 77, - "column": 5 - } + "arguments": [] }, - "body": [ - { - "type": "ReturnStatement", - "start": 1547, - "end": 1565, - "loc": { - "start": { - "line": 76, - "column": 6 - }, - "end": { - "line": 76, - "column": 24 - } + "consequent": { + "type": "BlockStatement", + "start": 1534, + "end": 1566, + "loc": { + "start": { + "line": 74, + "column": 28 }, - "argument": { - "type": "TemplateLiteral", - "start": 1554, - "end": 1564, + "end": { + "line": 76, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1542, + "end": 1560, "loc": { "start": { - "line": 76, - "column": 13 + "line": 75, + "column": 6 }, "end": { - "line": 76, - "column": 23 + "line": 75, + "column": 24 } }, - "expressions": [ - { - "type": "Identifier", - "start": 1557, - "end": 1561, - "loc": { - "start": { - "line": 76, - "column": 16 - }, - "end": { - "line": 76, - "column": 20 - }, - "identifierName": "date" - }, - "name": "date" - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 1555, - "end": 1555, - "loc": { - "start": { - "line": 76, - "column": 14 - }, - "end": { - "line": 76, - "column": 14 - } - }, - "value": { - "raw": "", - "cooked": "" + "argument": { + "type": "TemplateLiteral", + "start": 1549, + "end": 1559, + "loc": { + "start": { + "line": 75, + "column": 13 }, - "tail": false + "end": { + "line": 75, + "column": 23 + } }, - { - "type": "TemplateElement", - "start": 1562, - "end": 1563, - "loc": { - "start": { - "line": 76, - "column": 21 + "expressions": [ + { + "type": "Identifier", + "start": 1552, + "end": 1556, + "loc": { + "start": { + "line": 75, + "column": 16 + }, + "end": { + "line": 75, + "column": 20 + }, + "identifierName": "date" }, - "end": { - "line": 76, - "column": 22 - } - }, - "value": { - "raw": "*", - "cooked": "*" + "name": "date" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1550, + "end": 1550, + "loc": { + "start": { + "line": 75, + "column": 14 + }, + "end": { + "line": 75, + "column": 14 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": false }, - "tail": true - } - ] + { + "type": "TemplateElement", + "start": 1557, + "end": 1558, + "loc": { + "start": { + "line": 75, + "column": 21 + }, + "end": { + "line": 75, + "column": 22 + } + }, + "value": { + "raw": "*", + "cooked": "*" + }, + "tail": true + } + ] + } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 1576, - "end": 1588, - "loc": { - "start": { - "line": 78, - "column": 4 + ], + "directives": [] }, - "end": { - "line": 78, - "column": 16 - } + "alternate": null }, - "argument": { - "type": "Identifier", - "start": 1583, - "end": 1587, + { + "type": "ReturnStatement", + "start": 1571, + "end": 1583, "loc": { "start": { - "line": 78, - "column": 11 + "line": 77, + "column": 4 }, "end": { - "line": 78, - "column": 15 - }, - "identifierName": "date" + "line": 77, + "column": 16 + } }, - "name": "date" + "argument": { + "type": "Identifier", + "start": 1578, + "end": 1582, + "loc": { + "start": { + "line": 77, + "column": 11 + }, + "end": { + "line": 77, + "column": 15 + }, + "identifierName": "date" + }, + "name": "date" + } } - } - ], - "directives": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Represent this date as a string with era markers. If the date is suffixed with\n * a '*', this date is on the Julian/Gregorian threshold date.\n * @return {string}\n ", - "start": 1244, - "end": 1424, - "loc": { - "start": { - "line": 68, - "column": 2 - }, - "end": { - "line": 72, - "column": 5 + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Represent this date as a string with era markers. If the date is suffixed with\n * a '*', this date is on the Julian/Gregorian threshold date.\n * @return {string}\n ", + "start": 1239, + "end": 1419, + "loc": { + "start": { + "line": 67, + "column": 2 + }, + "end": { + "line": 71, + "column": 5 + } } } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Represents either a Julian or Gregorian calendar.\n * @abstract\n ", + "start": 36, + "end": 109, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 } - ] + } } - ] + ], + "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Represents either a Julian or Gregorian calendar.\n * @abstract\n ", - "start": 56, - "end": 129, + "start": 36, + "end": 109, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 7, + "line": 6, "column": 3 } } } ] - }, - { - "type": "ExpressionStatement", - "start": 1597, - "end": 1630, - "loc": { - "start": { - "line": 83, - "column": 0 - }, - "end": { - "line": 83, - "column": 33 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1597, - "end": 1629, - "loc": { - "start": { - "line": 83, - "column": 0 - }, - "end": { - "line": 83, - "column": 32 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1597, - "end": 1611, - "loc": { - "start": { - "line": 83, - "column": 0 - }, - "end": { - "line": 83, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 1597, - "end": 1603, - "loc": { - "start": { - "line": 83, - "column": 0 - }, - "end": { - "line": 83, - "column": 6 - }, - "identifierName": "module" - }, - "name": "module" - }, - "property": { - "type": "Identifier", - "start": 1604, - "end": 1611, - "loc": { - "start": { - "line": 83, - "column": 7 - }, - "end": { - "line": 83, - "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 1614, - "end": 1629, - "loc": { - "start": { - "line": 83, - "column": 17 - }, - "end": { - "line": 83, - "column": 32 - }, - "identifierName": "WesternCalendar" - }, - "name": "WesternCalendar" - } - } } ], "directives": [] }, "comments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, { "type": "CommentBlock", "value": "*\n * Represents either a Julian or Gregorian calendar.\n * @abstract\n ", - "start": 56, - "end": 129, + "start": 36, + "end": 109, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 7, + "line": 6, "column": 3 } } @@ -3241,15 +3106,15 @@ { "type": "CommentBlock", "value": "*\n * Store a date with reference to a Julian Day.\n * @param {number} julianDay\n ", - "start": 156, - "end": 246, + "start": 151, + "end": 241, "loc": { "start": { - "line": 9, + "line": 8, "column": 2 }, "end": { - "line": 12, + "line": 11, "column": 5 } } @@ -3257,15 +3122,15 @@ { "type": "CommentBlock", "value": "*\n * @type {number}\n ", - "start": 278, - "end": 311, + "start": 273, + "end": 306, "loc": { "start": { - "line": 14, + "line": 13, "column": 4 }, "end": { - "line": 16, + "line": 15, "column": 7 } } @@ -3273,15 +3138,15 @@ { "type": "CommentBlock", "value": "*\n * @type {Date}\n ", - "start": 349, - "end": 380, + "start": 344, + "end": 375, "loc": { "start": { - "line": 19, + "line": 18, "column": 4 }, "end": { - "line": 21, + "line": 20, "column": 7 } } @@ -3289,15 +3154,15 @@ { "type": "CommentBlock", "value": "*\n * Return the year\n * @return {number}\n ", - "start": 453, - "end": 505, + "start": 448, + "end": 500, "loc": { "start": { - "line": 25, + "line": 24, "column": 2 }, "end": { - "line": 28, + "line": 27, "column": 5 } } @@ -3305,15 +3170,15 @@ { "type": "CommentBlock", "value": "*\n * Return the month\n * @return {number}\n ", - "start": 634, - "end": 687, + "start": 629, + "end": 682, "loc": { "start": { - "line": 36, + "line": 35, "column": 2 }, "end": { - "line": 39, + "line": 38, "column": 5 } } @@ -3321,15 +3186,15 @@ { "type": "CommentBlock", "value": "*\n * Return the day of the month\n * @return {number}\n ", - "start": 739, - "end": 803, + "start": 734, + "end": 798, "loc": { "start": { - "line": 44, + "line": 43, "column": 2 }, "end": { - "line": 47, + "line": 46, "column": 5 } } @@ -3337,15 +3202,15 @@ { "type": "CommentBlock", "value": "*\n * Return whether the date is the common era or before the common era.\n * @return {string}\n ", - "start": 863, - "end": 967, + "start": 858, + "end": 962, "loc": { "start": { - "line": 52, + "line": 51, "column": 2 }, "end": { - "line": 55, + "line": 54, "column": 5 } } @@ -3353,15 +3218,15 @@ { "type": "CommentBlock", "value": "*\n * Return true if this date is on the Julian/Gregorian threshold\n * @return {boolean}\n ", - "start": 1037, - "end": 1136, + "start": 1032, + "end": 1131, "loc": { "start": { - "line": 60, + "line": 59, "column": 2 }, "end": { - "line": 63, + "line": 62, "column": 5 } } @@ -3369,43 +3234,27 @@ { "type": "CommentBlock", "value": "*\n * Represent this date as a string with era markers. If the date is suffixed with\n * a '*', this date is on the Julian/Gregorian threshold date.\n * @return {string}\n ", - "start": 1244, - "end": 1424, + "start": 1239, + "end": 1419, "loc": { "start": { - "line": 68, + "line": 67, "column": 2 }, "end": { - "line": 72, + "line": 71, "column": 5 } } } ], "tokens": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3414,17 +3263,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 15, - "end": 20, + "value": "import", + "start": 0, + "end": 6, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 5 + "line": 1, + "column": 6 } } }, @@ -3441,43 +3290,16 @@ "binop": null }, "value": "moonbeams", - "start": 21, - "end": 30, + "start": 7, + "end": 16, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 31, - "end": 32, - "loc": { - "start": { - "line": 2, + "line": 1, "column": 16 - }, - "end": { - "line": 2, - "column": 17 } } }, @@ -3493,50 +3315,52 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 33, - "end": 40, + "value": "from", + "start": 17, + "end": 21, "loc": { "start": { - "line": 2, - "column": 18 + "line": 1, + "column": 17 }, "end": { - "line": 2, - "column": 25 + "line": 1, + "column": 21 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 40, - "end": 41, + "value": "moonbeams", + "start": 22, + "end": 33, "loc": { "start": { - "line": 2, - "column": 25 + "line": 1, + "column": 22 }, "end": { - "line": 2, - "column": 26 + "line": 1, + "column": 33 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3545,49 +3369,40 @@ "binop": null, "updateContext": null }, - "value": "moonbeams", - "start": 41, - "end": 52, + "start": 33, + "end": 34, "loc": { "start": { - "line": 2, - "column": 26 + "line": 1, + "column": 33 }, "end": { - "line": 2, - "column": 37 + "line": 1, + "column": 34 } } }, { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 52, - "end": 53, + "type": "CommentBlock", + "value": "*\n * Represents either a Julian or Gregorian calendar.\n * @abstract\n ", + "start": 36, + "end": 109, "loc": { "start": { - "line": 2, - "column": 37 + "line": 3, + "column": 0 }, "end": { - "line": 2, - "column": 38 + "line": 6, + "column": 3 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "export", + "keyword": "export", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -3597,32 +3412,45 @@ "binop": null, "updateContext": null }, - "start": 53, - "end": 54, + "value": "export", + "start": 110, + "end": 116, "loc": { "start": { - "line": 2, - "column": 38 + "line": 7, + "column": 0 }, "end": { - "line": 2, - "column": 39 + "line": 7, + "column": 6 } } }, { - "type": "CommentBlock", - "value": "*\n * Represents either a Julian or Gregorian calendar.\n * @abstract\n ", - "start": 56, - "end": 129, + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 117, + "end": 124, "loc": { "start": { - "line": 4, - "column": 0 + "line": 7, + "column": 7 }, "end": { "line": 7, - "column": 3 + "column": 14 } } }, @@ -3641,16 +3469,16 @@ "updateContext": null }, "value": "class", - "start": 130, - "end": 135, + "start": 125, + "end": 130, "loc": { "start": { - "line": 8, - "column": 0 + "line": 7, + "column": 15 }, "end": { - "line": 8, - "column": 5 + "line": 7, + "column": 20 } } }, @@ -3667,16 +3495,16 @@ "binop": null }, "value": "WesternCalendar", - "start": 136, - "end": 151, + "start": 131, + "end": 146, "loc": { "start": { - "line": 8, - "column": 6 + "line": 7, + "column": 21 }, "end": { - "line": 8, - "column": 21 + "line": 7, + "column": 36 } } }, @@ -3692,31 +3520,31 @@ "postfix": false, "binop": null }, - "start": 152, - "end": 153, + "start": 147, + "end": 148, "loc": { "start": { - "line": 8, - "column": 22 + "line": 7, + "column": 37 }, "end": { - "line": 8, - "column": 23 + "line": 7, + "column": 38 } } }, { "type": "CommentBlock", "value": "*\n * Store a date with reference to a Julian Day.\n * @param {number} julianDay\n ", - "start": 156, - "end": 246, + "start": 151, + "end": 241, "loc": { "start": { - "line": 9, + "line": 8, "column": 2 }, "end": { - "line": 12, + "line": 11, "column": 5 } } @@ -3734,15 +3562,15 @@ "binop": null }, "value": "constructor", - "start": 249, - "end": 260, + "start": 244, + "end": 255, "loc": { "start": { - "line": 13, + "line": 12, "column": 2 }, "end": { - "line": 13, + "line": 12, "column": 13 } } @@ -3759,15 +3587,15 @@ "postfix": false, "binop": null }, - "start": 260, - "end": 261, + "start": 255, + "end": 256, "loc": { "start": { - "line": 13, + "line": 12, "column": 13 }, "end": { - "line": 13, + "line": 12, "column": 14 } } @@ -3785,15 +3613,15 @@ "binop": null }, "value": "julianDay", - "start": 261, - "end": 270, + "start": 256, + "end": 265, "loc": { "start": { - "line": 13, + "line": 12, "column": 14 }, "end": { - "line": 13, + "line": 12, "column": 23 } } @@ -3810,15 +3638,15 @@ "postfix": false, "binop": null }, - "start": 270, - "end": 271, + "start": 265, + "end": 266, "loc": { "start": { - "line": 13, + "line": 12, "column": 23 }, "end": { - "line": 13, + "line": 12, "column": 24 } } @@ -3835,15 +3663,15 @@ "postfix": false, "binop": null }, - "start": 272, - "end": 273, + "start": 267, + "end": 268, "loc": { "start": { - "line": 13, + "line": 12, "column": 25 }, "end": { - "line": 13, + "line": 12, "column": 26 } } @@ -3851,15 +3679,15 @@ { "type": "CommentBlock", "value": "*\n * @type {number}\n ", - "start": 278, - "end": 311, + "start": 273, + "end": 306, "loc": { "start": { - "line": 14, + "line": 13, "column": 4 }, "end": { - "line": 16, + "line": 15, "column": 7 } } @@ -3879,15 +3707,15 @@ "updateContext": null }, "value": "this", - "start": 316, - "end": 320, + "start": 311, + "end": 315, "loc": { "start": { - "line": 17, + "line": 16, "column": 4 }, "end": { - "line": 17, + "line": 16, "column": 8 } } @@ -3905,15 +3733,15 @@ "binop": null, "updateContext": null }, - "start": 320, - "end": 321, + "start": 315, + "end": 316, "loc": { "start": { - "line": 17, + "line": 16, "column": 8 }, "end": { - "line": 17, + "line": 16, "column": 9 } } @@ -3931,15 +3759,15 @@ "binop": null }, "value": "julianDay", - "start": 321, - "end": 330, + "start": 316, + "end": 325, "loc": { "start": { - "line": 17, + "line": 16, "column": 9 }, "end": { - "line": 17, + "line": 16, "column": 18 } } @@ -3958,15 +3786,15 @@ "updateContext": null }, "value": "=", - "start": 331, - "end": 332, + "start": 326, + "end": 327, "loc": { "start": { - "line": 17, + "line": 16, "column": 19 }, "end": { - "line": 17, + "line": 16, "column": 20 } } @@ -3984,15 +3812,15 @@ "binop": null }, "value": "julianDay", - "start": 333, - "end": 342, + "start": 328, + "end": 337, "loc": { "start": { - "line": 17, + "line": 16, "column": 21 }, "end": { - "line": 17, + "line": 16, "column": 30 } } @@ -4010,15 +3838,15 @@ "binop": null, "updateContext": null }, - "start": 342, - "end": 343, + "start": 337, + "end": 338, "loc": { "start": { - "line": 17, + "line": 16, "column": 30 }, "end": { - "line": 17, + "line": 16, "column": 31 } } @@ -4026,15 +3854,15 @@ { "type": "CommentBlock", "value": "*\n * @type {Date}\n ", - "start": 349, - "end": 380, + "start": 344, + "end": 375, "loc": { "start": { - "line": 19, + "line": 18, "column": 4 }, "end": { - "line": 21, + "line": 20, "column": 7 } } @@ -4054,15 +3882,15 @@ "updateContext": null }, "value": "this", - "start": 385, - "end": 389, + "start": 380, + "end": 384, "loc": { "start": { - "line": 22, + "line": 21, "column": 4 }, "end": { - "line": 22, + "line": 21, "column": 8 } } @@ -4080,15 +3908,15 @@ "binop": null, "updateContext": null }, - "start": 389, - "end": 390, + "start": 384, + "end": 385, "loc": { "start": { - "line": 22, + "line": 21, "column": 8 }, "end": { - "line": 22, + "line": 21, "column": 9 } } @@ -4106,15 +3934,15 @@ "binop": null }, "value": "date", - "start": 390, - "end": 394, + "start": 385, + "end": 389, "loc": { "start": { - "line": 22, + "line": 21, "column": 9 }, "end": { - "line": 22, + "line": 21, "column": 13 } } @@ -4133,15 +3961,15 @@ "updateContext": null }, "value": "=", - "start": 395, - "end": 396, + "start": 390, + "end": 391, "loc": { "start": { - "line": 22, + "line": 21, "column": 14 }, "end": { - "line": 22, + "line": 21, "column": 15 } } @@ -4159,15 +3987,15 @@ "binop": null }, "value": "moonbeams", - "start": 397, - "end": 406, + "start": 392, + "end": 401, "loc": { "start": { - "line": 22, + "line": 21, "column": 16 }, "end": { - "line": 22, + "line": 21, "column": 25 } } @@ -4185,15 +4013,15 @@ "binop": null, "updateContext": null }, - "start": 406, - "end": 407, + "start": 401, + "end": 402, "loc": { "start": { - "line": 22, + "line": 21, "column": 25 }, "end": { - "line": 22, + "line": 21, "column": 26 } } @@ -4211,15 +4039,15 @@ "binop": null }, "value": "jdToCalendar", - "start": 407, - "end": 419, + "start": 402, + "end": 414, "loc": { "start": { - "line": 22, + "line": 21, "column": 26 }, "end": { - "line": 22, + "line": 21, "column": 38 } } @@ -4236,15 +4064,15 @@ "postfix": false, "binop": null }, - "start": 419, - "end": 420, + "start": 414, + "end": 415, "loc": { "start": { - "line": 22, + "line": 21, "column": 38 }, "end": { - "line": 22, + "line": 21, "column": 39 } } @@ -4262,15 +4090,15 @@ "binop": null }, "value": "julianDay", - "start": 420, - "end": 429, + "start": 415, + "end": 424, "loc": { "start": { - "line": 22, + "line": 21, "column": 39 }, "end": { - "line": 22, + "line": 21, "column": 48 } } @@ -4289,15 +4117,15 @@ "updateContext": null }, "value": "+", - "start": 430, - "end": 431, + "start": 425, + "end": 426, "loc": { "start": { - "line": 22, + "line": 21, "column": 49 }, "end": { - "line": 22, + "line": 21, "column": 50 } } @@ -4317,15 +4145,15 @@ "updateContext": null }, "value": "this", - "start": 432, - "end": 436, + "start": 427, + "end": 431, "loc": { "start": { - "line": 22, + "line": 21, "column": 51 }, "end": { - "line": 22, + "line": 21, "column": 55 } } @@ -4343,15 +4171,15 @@ "binop": null, "updateContext": null }, - "start": 436, - "end": 437, + "start": 431, + "end": 432, "loc": { "start": { - "line": 22, + "line": 21, "column": 55 }, "end": { - "line": 22, + "line": 21, "column": 56 } } @@ -4369,15 +4197,15 @@ "binop": null }, "value": "offset", - "start": 437, - "end": 443, + "start": 432, + "end": 438, "loc": { "start": { - "line": 22, + "line": 21, "column": 56 }, "end": { - "line": 22, + "line": 21, "column": 62 } } @@ -4394,15 +4222,15 @@ "postfix": false, "binop": null }, - "start": 443, - "end": 444, + "start": 438, + "end": 439, "loc": { "start": { - "line": 22, + "line": 21, "column": 62 }, "end": { - "line": 22, + "line": 21, "column": 63 } } @@ -4420,15 +4248,15 @@ "binop": null, "updateContext": null }, - "start": 444, - "end": 445, + "start": 439, + "end": 440, "loc": { "start": { - "line": 22, + "line": 21, "column": 63 }, "end": { - "line": 22, + "line": 21, "column": 64 } } @@ -4445,15 +4273,15 @@ "postfix": false, "binop": null }, - "start": 448, - "end": 449, + "start": 443, + "end": 444, "loc": { "start": { - "line": 23, + "line": 22, "column": 2 }, "end": { - "line": 23, + "line": 22, "column": 3 } } @@ -4461,15 +4289,15 @@ { "type": "CommentBlock", "value": "*\n * Return the year\n * @return {number}\n ", - "start": 453, - "end": 505, + "start": 448, + "end": 500, "loc": { "start": { - "line": 25, + "line": 24, "column": 2 }, "end": { - "line": 28, + "line": 27, "column": 5 } } @@ -4487,15 +4315,15 @@ "binop": null }, "value": "get", - "start": 508, - "end": 511, + "start": 503, + "end": 506, "loc": { "start": { - "line": 29, + "line": 28, "column": 2 }, "end": { - "line": 29, + "line": 28, "column": 5 } } @@ -4513,15 +4341,15 @@ "binop": null }, "value": "year", - "start": 512, - "end": 516, + "start": 507, + "end": 511, "loc": { "start": { - "line": 29, + "line": 28, "column": 6 }, "end": { - "line": 29, + "line": 28, "column": 10 } } @@ -4538,15 +4366,15 @@ "postfix": false, "binop": null }, - "start": 516, - "end": 517, + "start": 511, + "end": 512, "loc": { "start": { - "line": 29, + "line": 28, "column": 10 }, "end": { - "line": 29, + "line": 28, "column": 11 } } @@ -4563,15 +4391,15 @@ "postfix": false, "binop": null }, - "start": 517, - "end": 518, + "start": 512, + "end": 513, "loc": { "start": { - "line": 29, + "line": 28, "column": 11 }, "end": { - "line": 29, + "line": 28, "column": 12 } } @@ -4588,15 +4416,15 @@ "postfix": false, "binop": null }, - "start": 519, - "end": 520, + "start": 514, + "end": 515, "loc": { "start": { - "line": 29, + "line": 28, "column": 13 }, "end": { - "line": 29, + "line": 28, "column": 14 } } @@ -4616,15 +4444,15 @@ "updateContext": null }, "value": "if", - "start": 525, - "end": 527, + "start": 520, + "end": 522, "loc": { "start": { - "line": 30, + "line": 29, "column": 4 }, "end": { - "line": 30, + "line": 29, "column": 6 } } @@ -4641,15 +4469,15 @@ "postfix": false, "binop": null }, - "start": 528, - "end": 529, + "start": 523, + "end": 524, "loc": { "start": { - "line": 30, + "line": 29, "column": 7 }, "end": { - "line": 30, + "line": 29, "column": 8 } } @@ -4669,15 +4497,15 @@ "updateContext": null }, "value": "this", - "start": 529, - "end": 533, + "start": 524, + "end": 528, "loc": { "start": { - "line": 30, + "line": 29, "column": 8 }, "end": { - "line": 30, + "line": 29, "column": 12 } } @@ -4695,15 +4523,15 @@ "binop": null, "updateContext": null }, - "start": 533, - "end": 534, + "start": 528, + "end": 529, "loc": { "start": { - "line": 30, + "line": 29, "column": 12 }, "end": { - "line": 30, + "line": 29, "column": 13 } } @@ -4721,15 +4549,15 @@ "binop": null }, "value": "era", - "start": 534, - "end": 537, + "start": 529, + "end": 532, "loc": { "start": { - "line": 30, + "line": 29, "column": 13 }, "end": { - "line": 30, + "line": 29, "column": 16 } } @@ -4748,15 +4576,15 @@ "updateContext": null }, "value": "===", - "start": 538, - "end": 541, + "start": 533, + "end": 536, "loc": { "start": { - "line": 30, + "line": 29, "column": 17 }, "end": { - "line": 30, + "line": 29, "column": 20 } } @@ -4775,15 +4603,15 @@ "updateContext": null }, "value": "BCE", - "start": 542, - "end": 547, + "start": 537, + "end": 542, "loc": { "start": { - "line": 30, + "line": 29, "column": 21 }, "end": { - "line": 30, + "line": 29, "column": 26 } } @@ -4800,15 +4628,15 @@ "postfix": false, "binop": null }, - "start": 547, - "end": 548, + "start": 542, + "end": 543, "loc": { "start": { - "line": 30, + "line": 29, "column": 26 }, "end": { - "line": 30, + "line": 29, "column": 27 } } @@ -4825,15 +4653,15 @@ "postfix": false, "binop": null }, - "start": 549, - "end": 550, + "start": 544, + "end": 545, "loc": { "start": { - "line": 30, + "line": 29, "column": 28 }, "end": { - "line": 30, + "line": 29, "column": 29 } } @@ -4853,15 +4681,15 @@ "updateContext": null }, "value": "return", - "start": 557, - "end": 563, + "start": 552, + "end": 558, "loc": { "start": { - "line": 31, + "line": 30, "column": 6 }, "end": { - "line": 31, + "line": 30, "column": 12 } } @@ -4879,15 +4707,15 @@ "binop": null }, "value": "Math", - "start": 564, - "end": 568, + "start": 559, + "end": 563, "loc": { "start": { - "line": 31, + "line": 30, "column": 13 }, "end": { - "line": 31, + "line": 30, "column": 17 } } @@ -4905,15 +4733,15 @@ "binop": null, "updateContext": null }, - "start": 568, - "end": 569, + "start": 563, + "end": 564, "loc": { "start": { - "line": 31, + "line": 30, "column": 17 }, "end": { - "line": 31, + "line": 30, "column": 18 } } @@ -4931,15 +4759,15 @@ "binop": null }, "value": "abs", - "start": 569, - "end": 572, + "start": 564, + "end": 567, "loc": { "start": { - "line": 31, + "line": 30, "column": 18 }, "end": { - "line": 31, + "line": 30, "column": 21 } } @@ -4956,15 +4784,15 @@ "postfix": false, "binop": null }, - "start": 572, - "end": 573, + "start": 567, + "end": 568, "loc": { "start": { - "line": 31, + "line": 30, "column": 21 }, "end": { - "line": 31, + "line": 30, "column": 22 } } @@ -4984,15 +4812,15 @@ "updateContext": null }, "value": "this", - "start": 573, - "end": 577, + "start": 568, + "end": 572, "loc": { "start": { - "line": 31, + "line": 30, "column": 22 }, "end": { - "line": 31, + "line": 30, "column": 26 } } @@ -5010,15 +4838,15 @@ "binop": null, "updateContext": null }, - "start": 577, - "end": 578, + "start": 572, + "end": 573, "loc": { "start": { - "line": 31, + "line": 30, "column": 26 }, "end": { - "line": 31, + "line": 30, "column": 27 } } @@ -5036,15 +4864,15 @@ "binop": null }, "value": "date", - "start": 578, - "end": 582, + "start": 573, + "end": 577, "loc": { "start": { - "line": 31, + "line": 30, "column": 27 }, "end": { - "line": 31, + "line": 30, "column": 31 } } @@ -5062,15 +4890,15 @@ "binop": null, "updateContext": null }, - "start": 582, - "end": 583, + "start": 577, + "end": 578, "loc": { "start": { - "line": 31, + "line": 30, "column": 31 }, "end": { - "line": 31, + "line": 30, "column": 32 } } @@ -5088,15 +4916,15 @@ "binop": null }, "value": "year", - "start": 583, - "end": 587, + "start": 578, + "end": 582, "loc": { "start": { - "line": 31, + "line": 30, "column": 32 }, "end": { - "line": 31, + "line": 30, "column": 36 } } @@ -5115,15 +4943,15 @@ "updateContext": null }, "value": "-", - "start": 588, - "end": 589, + "start": 583, + "end": 584, "loc": { "start": { - "line": 31, + "line": 30, "column": 37 }, "end": { - "line": 31, + "line": 30, "column": 38 } } @@ -5142,15 +4970,15 @@ "updateContext": null }, "value": 1, - "start": 590, - "end": 591, + "start": 585, + "end": 586, "loc": { "start": { - "line": 31, + "line": 30, "column": 39 }, "end": { - "line": 31, + "line": 30, "column": 40 } } @@ -5167,15 +4995,15 @@ "postfix": false, "binop": null }, - "start": 591, - "end": 592, + "start": 586, + "end": 587, "loc": { "start": { - "line": 31, + "line": 30, "column": 40 }, "end": { - "line": 31, + "line": 30, "column": 41 } } @@ -5193,15 +5021,15 @@ "binop": null, "updateContext": null }, - "start": 592, - "end": 593, + "start": 587, + "end": 588, "loc": { "start": { - "line": 31, + "line": 30, "column": 41 }, "end": { - "line": 31, + "line": 30, "column": 42 } } @@ -5218,15 +5046,15 @@ "postfix": false, "binop": null }, - "start": 598, - "end": 599, + "start": 593, + "end": 594, "loc": { "start": { - "line": 32, + "line": 31, "column": 4 }, "end": { - "line": 32, + "line": 31, "column": 5 } } @@ -5246,15 +5074,15 @@ "updateContext": null }, "value": "return", - "start": 604, - "end": 610, + "start": 599, + "end": 605, "loc": { "start": { - "line": 33, + "line": 32, "column": 4 }, "end": { - "line": 33, + "line": 32, "column": 10 } } @@ -5274,15 +5102,15 @@ "updateContext": null }, "value": "this", - "start": 611, - "end": 615, + "start": 606, + "end": 610, "loc": { "start": { - "line": 33, + "line": 32, "column": 11 }, "end": { - "line": 33, + "line": 32, "column": 15 } } @@ -5300,15 +5128,15 @@ "binop": null, "updateContext": null }, - "start": 615, - "end": 616, + "start": 610, + "end": 611, "loc": { "start": { - "line": 33, + "line": 32, "column": 15 }, "end": { - "line": 33, + "line": 32, "column": 16 } } @@ -5326,15 +5154,15 @@ "binop": null }, "value": "date", - "start": 616, - "end": 620, + "start": 611, + "end": 615, "loc": { "start": { - "line": 33, + "line": 32, "column": 16 }, "end": { - "line": 33, + "line": 32, "column": 20 } } @@ -5352,15 +5180,15 @@ "binop": null, "updateContext": null }, - "start": 620, - "end": 621, + "start": 615, + "end": 616, "loc": { "start": { - "line": 33, + "line": 32, "column": 20 }, "end": { - "line": 33, + "line": 32, "column": 21 } } @@ -5378,15 +5206,15 @@ "binop": null }, "value": "year", - "start": 621, - "end": 625, + "start": 616, + "end": 620, "loc": { "start": { - "line": 33, + "line": 32, "column": 21 }, "end": { - "line": 33, + "line": 32, "column": 25 } } @@ -5404,15 +5232,15 @@ "binop": null, "updateContext": null }, - "start": 625, - "end": 626, + "start": 620, + "end": 621, "loc": { "start": { - "line": 33, + "line": 32, "column": 25 }, "end": { - "line": 33, + "line": 32, "column": 26 } } @@ -5429,15 +5257,15 @@ "postfix": false, "binop": null }, - "start": 629, - "end": 630, + "start": 624, + "end": 625, "loc": { "start": { - "line": 34, + "line": 33, "column": 2 }, "end": { - "line": 34, + "line": 33, "column": 3 } } @@ -5445,15 +5273,15 @@ { "type": "CommentBlock", "value": "*\n * Return the month\n * @return {number}\n ", - "start": 634, - "end": 687, + "start": 629, + "end": 682, "loc": { "start": { - "line": 36, + "line": 35, "column": 2 }, "end": { - "line": 39, + "line": 38, "column": 5 } } @@ -5471,15 +5299,15 @@ "binop": null }, "value": "get", - "start": 690, - "end": 693, + "start": 685, + "end": 688, "loc": { "start": { - "line": 40, + "line": 39, "column": 2 }, "end": { - "line": 40, + "line": 39, "column": 5 } } @@ -5497,15 +5325,15 @@ "binop": null }, "value": "month", - "start": 694, - "end": 699, + "start": 689, + "end": 694, "loc": { "start": { - "line": 40, + "line": 39, "column": 6 }, "end": { - "line": 40, + "line": 39, "column": 11 } } @@ -5522,15 +5350,15 @@ "postfix": false, "binop": null }, - "start": 699, - "end": 700, + "start": 694, + "end": 695, "loc": { "start": { - "line": 40, + "line": 39, "column": 11 }, "end": { - "line": 40, + "line": 39, "column": 12 } } @@ -5547,15 +5375,15 @@ "postfix": false, "binop": null }, - "start": 700, - "end": 701, + "start": 695, + "end": 696, "loc": { "start": { - "line": 40, + "line": 39, "column": 12 }, "end": { - "line": 40, + "line": 39, "column": 13 } } @@ -5572,15 +5400,15 @@ "postfix": false, "binop": null }, - "start": 702, - "end": 703, + "start": 697, + "end": 698, "loc": { "start": { - "line": 40, + "line": 39, "column": 14 }, "end": { - "line": 40, + "line": 39, "column": 15 } } @@ -5600,15 +5428,15 @@ "updateContext": null }, "value": "return", - "start": 708, - "end": 714, + "start": 703, + "end": 709, "loc": { "start": { - "line": 41, + "line": 40, "column": 4 }, "end": { - "line": 41, + "line": 40, "column": 10 } } @@ -5628,15 +5456,15 @@ "updateContext": null }, "value": "this", - "start": 715, - "end": 719, + "start": 710, + "end": 714, "loc": { "start": { - "line": 41, + "line": 40, "column": 11 }, "end": { - "line": 41, + "line": 40, "column": 15 } } @@ -5654,15 +5482,15 @@ "binop": null, "updateContext": null }, - "start": 719, - "end": 720, + "start": 714, + "end": 715, "loc": { "start": { - "line": 41, + "line": 40, "column": 15 }, "end": { - "line": 41, + "line": 40, "column": 16 } } @@ -5680,15 +5508,15 @@ "binop": null }, "value": "date", - "start": 720, - "end": 724, + "start": 715, + "end": 719, "loc": { "start": { - "line": 41, + "line": 40, "column": 16 }, "end": { - "line": 41, + "line": 40, "column": 20 } } @@ -5706,15 +5534,15 @@ "binop": null, "updateContext": null }, - "start": 724, - "end": 725, + "start": 719, + "end": 720, "loc": { "start": { - "line": 41, + "line": 40, "column": 20 }, "end": { - "line": 41, + "line": 40, "column": 21 } } @@ -5732,15 +5560,15 @@ "binop": null }, "value": "month", - "start": 725, - "end": 730, + "start": 720, + "end": 725, "loc": { "start": { - "line": 41, + "line": 40, "column": 21 }, "end": { - "line": 41, + "line": 40, "column": 26 } } @@ -5758,15 +5586,15 @@ "binop": null, "updateContext": null }, - "start": 730, - "end": 731, + "start": 725, + "end": 726, "loc": { "start": { - "line": 41, + "line": 40, "column": 26 }, "end": { - "line": 41, + "line": 40, "column": 27 } } @@ -5783,15 +5611,15 @@ "postfix": false, "binop": null }, - "start": 734, - "end": 735, + "start": 729, + "end": 730, "loc": { "start": { - "line": 42, + "line": 41, "column": 2 }, "end": { - "line": 42, + "line": 41, "column": 3 } } @@ -5799,15 +5627,15 @@ { "type": "CommentBlock", "value": "*\n * Return the day of the month\n * @return {number}\n ", - "start": 739, - "end": 803, + "start": 734, + "end": 798, "loc": { "start": { - "line": 44, + "line": 43, "column": 2 }, "end": { - "line": 47, + "line": 46, "column": 5 } } @@ -5825,15 +5653,15 @@ "binop": null }, "value": "get", - "start": 806, - "end": 809, + "start": 801, + "end": 804, "loc": { "start": { - "line": 48, + "line": 47, "column": 2 }, "end": { - "line": 48, + "line": 47, "column": 5 } } @@ -5851,15 +5679,15 @@ "binop": null }, "value": "day", - "start": 810, - "end": 813, + "start": 805, + "end": 808, "loc": { "start": { - "line": 48, + "line": 47, "column": 6 }, "end": { - "line": 48, + "line": 47, "column": 9 } } @@ -5876,15 +5704,15 @@ "postfix": false, "binop": null }, - "start": 813, - "end": 814, + "start": 808, + "end": 809, "loc": { "start": { - "line": 48, + "line": 47, "column": 9 }, "end": { - "line": 48, + "line": 47, "column": 10 } } @@ -5901,15 +5729,15 @@ "postfix": false, "binop": null }, - "start": 814, - "end": 815, + "start": 809, + "end": 810, "loc": { "start": { - "line": 48, + "line": 47, "column": 10 }, "end": { - "line": 48, + "line": 47, "column": 11 } } @@ -5926,15 +5754,15 @@ "postfix": false, "binop": null }, - "start": 816, - "end": 817, + "start": 811, + "end": 812, "loc": { "start": { - "line": 48, + "line": 47, "column": 12 }, "end": { - "line": 48, + "line": 47, "column": 13 } } @@ -5954,15 +5782,15 @@ "updateContext": null }, "value": "return", - "start": 822, - "end": 828, + "start": 817, + "end": 823, "loc": { "start": { - "line": 49, + "line": 48, "column": 4 }, "end": { - "line": 49, + "line": 48, "column": 10 } } @@ -5980,15 +5808,15 @@ "binop": null }, "value": "Math", - "start": 829, - "end": 833, + "start": 824, + "end": 828, "loc": { "start": { - "line": 49, + "line": 48, "column": 11 }, "end": { - "line": 49, + "line": 48, "column": 15 } } @@ -6006,15 +5834,15 @@ "binop": null, "updateContext": null }, - "start": 833, - "end": 834, + "start": 828, + "end": 829, "loc": { "start": { - "line": 49, + "line": 48, "column": 15 }, "end": { - "line": 49, + "line": 48, "column": 16 } } @@ -6032,15 +5860,15 @@ "binop": null }, "value": "floor", - "start": 834, - "end": 839, + "start": 829, + "end": 834, "loc": { "start": { - "line": 49, + "line": 48, "column": 16 }, "end": { - "line": 49, + "line": 48, "column": 21 } } @@ -6057,15 +5885,15 @@ "postfix": false, "binop": null }, - "start": 839, - "end": 840, + "start": 834, + "end": 835, "loc": { "start": { - "line": 49, + "line": 48, "column": 21 }, "end": { - "line": 49, + "line": 48, "column": 22 } } @@ -6085,15 +5913,15 @@ "updateContext": null }, "value": "this", - "start": 840, - "end": 844, + "start": 835, + "end": 839, "loc": { "start": { - "line": 49, + "line": 48, "column": 22 }, "end": { - "line": 49, + "line": 48, "column": 26 } } @@ -6111,15 +5939,15 @@ "binop": null, "updateContext": null }, - "start": 844, - "end": 845, + "start": 839, + "end": 840, "loc": { "start": { - "line": 49, + "line": 48, "column": 26 }, "end": { - "line": 49, + "line": 48, "column": 27 } } @@ -6137,15 +5965,15 @@ "binop": null }, "value": "date", - "start": 845, - "end": 849, + "start": 840, + "end": 844, "loc": { "start": { - "line": 49, + "line": 48, "column": 27 }, "end": { - "line": 49, + "line": 48, "column": 31 } } @@ -6163,15 +5991,15 @@ "binop": null, "updateContext": null }, - "start": 849, - "end": 850, + "start": 844, + "end": 845, "loc": { "start": { - "line": 49, + "line": 48, "column": 31 }, "end": { - "line": 49, + "line": 48, "column": 32 } } @@ -6189,15 +6017,15 @@ "binop": null }, "value": "day", - "start": 850, - "end": 853, + "start": 845, + "end": 848, "loc": { "start": { - "line": 49, + "line": 48, "column": 32 }, "end": { - "line": 49, + "line": 48, "column": 35 } } @@ -6214,15 +6042,15 @@ "postfix": false, "binop": null }, - "start": 853, - "end": 854, + "start": 848, + "end": 849, "loc": { "start": { - "line": 49, + "line": 48, "column": 35 }, "end": { - "line": 49, + "line": 48, "column": 36 } } @@ -6240,15 +6068,15 @@ "binop": null, "updateContext": null }, - "start": 854, - "end": 855, + "start": 849, + "end": 850, "loc": { "start": { - "line": 49, + "line": 48, "column": 36 }, "end": { - "line": 49, + "line": 48, "column": 37 } } @@ -6265,15 +6093,15 @@ "postfix": false, "binop": null }, - "start": 858, - "end": 859, + "start": 853, + "end": 854, "loc": { "start": { - "line": 50, + "line": 49, "column": 2 }, "end": { - "line": 50, + "line": 49, "column": 3 } } @@ -6281,15 +6109,15 @@ { "type": "CommentBlock", "value": "*\n * Return whether the date is the common era or before the common era.\n * @return {string}\n ", - "start": 863, - "end": 967, + "start": 858, + "end": 962, "loc": { "start": { - "line": 52, + "line": 51, "column": 2 }, "end": { - "line": 55, + "line": 54, "column": 5 } } @@ -6307,15 +6135,15 @@ "binop": null }, "value": "get", - "start": 970, - "end": 973, + "start": 965, + "end": 968, "loc": { "start": { - "line": 56, + "line": 55, "column": 2 }, "end": { - "line": 56, + "line": 55, "column": 5 } } @@ -6333,15 +6161,15 @@ "binop": null }, "value": "era", - "start": 974, - "end": 977, + "start": 969, + "end": 972, "loc": { "start": { - "line": 56, + "line": 55, "column": 6 }, "end": { - "line": 56, + "line": 55, "column": 9 } } @@ -6358,15 +6186,15 @@ "postfix": false, "binop": null }, - "start": 977, - "end": 978, + "start": 972, + "end": 973, "loc": { "start": { - "line": 56, + "line": 55, "column": 9 }, "end": { - "line": 56, + "line": 55, "column": 10 } } @@ -6383,15 +6211,15 @@ "postfix": false, "binop": null }, - "start": 978, - "end": 979, + "start": 973, + "end": 974, "loc": { "start": { - "line": 56, + "line": 55, "column": 10 }, "end": { - "line": 56, + "line": 55, "column": 11 } } @@ -6408,15 +6236,15 @@ "postfix": false, "binop": null }, - "start": 980, - "end": 981, + "start": 975, + "end": 976, "loc": { "start": { - "line": 56, + "line": 55, "column": 12 }, "end": { - "line": 56, + "line": 55, "column": 13 } } @@ -6436,15 +6264,15 @@ "updateContext": null }, "value": "return", - "start": 986, - "end": 992, + "start": 981, + "end": 987, "loc": { "start": { - "line": 57, + "line": 56, "column": 4 }, "end": { - "line": 57, + "line": 56, "column": 10 } } @@ -6461,15 +6289,15 @@ "postfix": false, "binop": null }, - "start": 993, - "end": 994, + "start": 988, + "end": 989, "loc": { "start": { - "line": 57, + "line": 56, "column": 11 }, "end": { - "line": 57, + "line": 56, "column": 12 } } @@ -6489,15 +6317,15 @@ "updateContext": null }, "value": "this", - "start": 994, - "end": 998, + "start": 989, + "end": 993, "loc": { "start": { - "line": 57, + "line": 56, "column": 12 }, "end": { - "line": 57, + "line": 56, "column": 16 } } @@ -6515,15 +6343,15 @@ "binop": null, "updateContext": null }, - "start": 998, - "end": 999, + "start": 993, + "end": 994, "loc": { "start": { - "line": 57, + "line": 56, "column": 16 }, "end": { - "line": 57, + "line": 56, "column": 17 } } @@ -6541,15 +6369,15 @@ "binop": null }, "value": "date", - "start": 999, - "end": 1003, + "start": 994, + "end": 998, "loc": { "start": { - "line": 57, + "line": 56, "column": 17 }, "end": { - "line": 57, + "line": 56, "column": 21 } } @@ -6567,15 +6395,15 @@ "binop": null, "updateContext": null }, - "start": 1003, - "end": 1004, + "start": 998, + "end": 999, "loc": { "start": { - "line": 57, + "line": 56, "column": 21 }, "end": { - "line": 57, + "line": 56, "column": 22 } } @@ -6593,15 +6421,15 @@ "binop": null }, "value": "year", - "start": 1004, - "end": 1008, + "start": 999, + "end": 1003, "loc": { "start": { - "line": 57, + "line": 56, "column": 22 }, "end": { - "line": 57, + "line": 56, "column": 26 } } @@ -6620,15 +6448,15 @@ "updateContext": null }, "value": "<", - "start": 1009, - "end": 1010, + "start": 1004, + "end": 1005, "loc": { "start": { - "line": 57, + "line": 56, "column": 27 }, "end": { - "line": 57, + "line": 56, "column": 28 } } @@ -6647,15 +6475,15 @@ "updateContext": null }, "value": 0, - "start": 1011, - "end": 1012, + "start": 1006, + "end": 1007, "loc": { "start": { - "line": 57, + "line": 56, "column": 29 }, "end": { - "line": 57, + "line": 56, "column": 30 } } @@ -6672,15 +6500,15 @@ "postfix": false, "binop": null }, - "start": 1012, - "end": 1013, + "start": 1007, + "end": 1008, "loc": { "start": { - "line": 57, + "line": 56, "column": 30 }, "end": { - "line": 57, + "line": 56, "column": 31 } } @@ -6698,15 +6526,15 @@ "binop": null, "updateContext": null }, - "start": 1014, - "end": 1015, + "start": 1009, + "end": 1010, "loc": { "start": { - "line": 57, + "line": 56, "column": 32 }, "end": { - "line": 57, + "line": 56, "column": 33 } } @@ -6725,15 +6553,15 @@ "updateContext": null }, "value": "BCE", - "start": 1016, - "end": 1021, + "start": 1011, + "end": 1016, "loc": { "start": { - "line": 57, + "line": 56, "column": 34 }, "end": { - "line": 57, + "line": 56, "column": 39 } } @@ -6751,15 +6579,15 @@ "binop": null, "updateContext": null }, - "start": 1022, - "end": 1023, + "start": 1017, + "end": 1018, "loc": { "start": { - "line": 57, + "line": 56, "column": 40 }, "end": { - "line": 57, + "line": 56, "column": 41 } } @@ -6778,15 +6606,15 @@ "updateContext": null }, "value": "CE", - "start": 1024, - "end": 1028, + "start": 1019, + "end": 1023, "loc": { "start": { - "line": 57, + "line": 56, "column": 42 }, "end": { - "line": 57, + "line": 56, "column": 46 } } @@ -6804,15 +6632,15 @@ "binop": null, "updateContext": null }, - "start": 1028, - "end": 1029, + "start": 1023, + "end": 1024, "loc": { "start": { - "line": 57, + "line": 56, "column": 46 }, "end": { - "line": 57, + "line": 56, "column": 47 } } @@ -6829,15 +6657,15 @@ "postfix": false, "binop": null }, - "start": 1032, - "end": 1033, + "start": 1027, + "end": 1028, "loc": { "start": { - "line": 58, + "line": 57, "column": 2 }, "end": { - "line": 58, + "line": 57, "column": 3 } } @@ -6845,15 +6673,15 @@ { "type": "CommentBlock", "value": "*\n * Return true if this date is on the Julian/Gregorian threshold\n * @return {boolean}\n ", - "start": 1037, - "end": 1136, + "start": 1032, + "end": 1131, "loc": { "start": { - "line": 60, + "line": 59, "column": 2 }, "end": { - "line": 63, + "line": 62, "column": 5 } } @@ -6871,15 +6699,15 @@ "binop": null }, "value": "isThreshold", - "start": 1139, - "end": 1150, + "start": 1134, + "end": 1145, "loc": { "start": { - "line": 64, + "line": 63, "column": 2 }, "end": { - "line": 64, + "line": 63, "column": 13 } } @@ -6896,15 +6724,15 @@ "postfix": false, "binop": null }, - "start": 1150, - "end": 1151, + "start": 1145, + "end": 1146, "loc": { "start": { - "line": 64, + "line": 63, "column": 13 }, "end": { - "line": 64, + "line": 63, "column": 14 } } @@ -6921,15 +6749,15 @@ "postfix": false, "binop": null }, - "start": 1151, - "end": 1152, + "start": 1146, + "end": 1147, "loc": { "start": { - "line": 64, + "line": 63, "column": 14 }, "end": { - "line": 64, + "line": 63, "column": 15 } } @@ -6946,15 +6774,15 @@ "postfix": false, "binop": null }, - "start": 1153, - "end": 1154, + "start": 1148, + "end": 1149, "loc": { "start": { - "line": 64, + "line": 63, "column": 16 }, "end": { - "line": 64, + "line": 63, "column": 17 } } @@ -6974,15 +6802,15 @@ "updateContext": null }, "value": "return", - "start": 1159, - "end": 1165, + "start": 1154, + "end": 1160, "loc": { "start": { - "line": 65, + "line": 64, "column": 4 }, "end": { - "line": 65, + "line": 64, "column": 10 } } @@ -7002,15 +6830,15 @@ "updateContext": null }, "value": "this", - "start": 1166, - "end": 1170, + "start": 1161, + "end": 1165, "loc": { "start": { - "line": 65, + "line": 64, "column": 11 }, "end": { - "line": 65, + "line": 64, "column": 15 } } @@ -7028,15 +6856,15 @@ "binop": null, "updateContext": null }, - "start": 1170, - "end": 1171, + "start": 1165, + "end": 1166, "loc": { "start": { - "line": 65, + "line": 64, "column": 15 }, "end": { - "line": 65, + "line": 64, "column": 16 } } @@ -7054,15 +6882,15 @@ "binop": null }, "value": "year", - "start": 1171, - "end": 1175, + "start": 1166, + "end": 1170, "loc": { "start": { - "line": 65, + "line": 64, "column": 16 }, "end": { - "line": 65, + "line": 64, "column": 20 } } @@ -7081,15 +6909,15 @@ "updateContext": null }, "value": "===", - "start": 1176, - "end": 1179, + "start": 1171, + "end": 1174, "loc": { "start": { - "line": 65, + "line": 64, "column": 21 }, "end": { - "line": 65, + "line": 64, "column": 24 } } @@ -7108,15 +6936,15 @@ "updateContext": null }, "value": 1582, - "start": 1180, - "end": 1184, + "start": 1175, + "end": 1179, "loc": { "start": { - "line": 65, + "line": 64, "column": 25 }, "end": { - "line": 65, + "line": 64, "column": 29 } } @@ -7135,15 +6963,15 @@ "updateContext": null }, "value": "&&", - "start": 1185, - "end": 1187, + "start": 1180, + "end": 1182, "loc": { "start": { - "line": 65, + "line": 64, "column": 30 }, "end": { - "line": 65, + "line": 64, "column": 32 } } @@ -7163,15 +6991,15 @@ "updateContext": null }, "value": "this", - "start": 1188, - "end": 1192, + "start": 1183, + "end": 1187, "loc": { "start": { - "line": 65, + "line": 64, "column": 33 }, "end": { - "line": 65, + "line": 64, "column": 37 } } @@ -7189,15 +7017,15 @@ "binop": null, "updateContext": null }, - "start": 1192, - "end": 1193, + "start": 1187, + "end": 1188, "loc": { "start": { - "line": 65, + "line": 64, "column": 37 }, "end": { - "line": 65, + "line": 64, "column": 38 } } @@ -7215,15 +7043,15 @@ "binop": null }, "value": "month", - "start": 1193, - "end": 1198, + "start": 1188, + "end": 1193, "loc": { "start": { - "line": 65, + "line": 64, "column": 38 }, "end": { - "line": 65, + "line": 64, "column": 43 } } @@ -7242,15 +7070,15 @@ "updateContext": null }, "value": "===", - "start": 1199, - "end": 1202, + "start": 1194, + "end": 1197, "loc": { "start": { - "line": 65, + "line": 64, "column": 44 }, "end": { - "line": 65, + "line": 64, "column": 47 } } @@ -7269,15 +7097,15 @@ "updateContext": null }, "value": 10, - "start": 1203, - "end": 1205, + "start": 1198, + "end": 1200, "loc": { "start": { - "line": 65, + "line": 64, "column": 48 }, "end": { - "line": 65, + "line": 64, "column": 50 } } @@ -7296,15 +7124,15 @@ "updateContext": null }, "value": "&&", - "start": 1206, - "end": 1208, + "start": 1201, + "end": 1203, "loc": { "start": { - "line": 65, + "line": 64, "column": 51 }, "end": { - "line": 65, + "line": 64, "column": 53 } } @@ -7322,15 +7150,15 @@ "binop": null, "updateContext": null }, - "start": 1209, - "end": 1210, + "start": 1204, + "end": 1205, "loc": { "start": { - "line": 65, + "line": 64, "column": 54 }, "end": { - "line": 65, + "line": 64, "column": 55 } } @@ -7349,15 +7177,15 @@ "updateContext": null }, "value": 15, - "start": 1210, - "end": 1212, + "start": 1205, + "end": 1207, "loc": { "start": { - "line": 65, + "line": 64, "column": 55 }, "end": { - "line": 65, + "line": 64, "column": 57 } } @@ -7375,15 +7203,15 @@ "binop": null, "updateContext": null }, - "start": 1212, - "end": 1213, + "start": 1207, + "end": 1208, "loc": { "start": { - "line": 65, + "line": 64, "column": 57 }, "end": { - "line": 65, + "line": 64, "column": 58 } } @@ -7402,15 +7230,15 @@ "updateContext": null }, "value": 4, - "start": 1214, - "end": 1215, + "start": 1209, + "end": 1210, "loc": { "start": { - "line": 65, + "line": 64, "column": 59 }, "end": { - "line": 65, + "line": 64, "column": 60 } } @@ -7428,15 +7256,15 @@ "binop": null, "updateContext": null }, - "start": 1215, - "end": 1216, + "start": 1210, + "end": 1211, "loc": { "start": { - "line": 65, + "line": 64, "column": 60 }, "end": { - "line": 65, + "line": 64, "column": 61 } } @@ -7454,15 +7282,15 @@ "binop": null, "updateContext": null }, - "start": 1216, - "end": 1217, + "start": 1211, + "end": 1212, "loc": { "start": { - "line": 65, + "line": 64, "column": 61 }, "end": { - "line": 65, + "line": 64, "column": 62 } } @@ -7480,15 +7308,15 @@ "binop": null }, "value": "includes", - "start": 1217, - "end": 1225, + "start": 1212, + "end": 1220, "loc": { "start": { - "line": 65, + "line": 64, "column": 62 }, "end": { - "line": 65, + "line": 64, "column": 70 } } @@ -7505,15 +7333,15 @@ "postfix": false, "binop": null }, - "start": 1225, - "end": 1226, + "start": 1220, + "end": 1221, "loc": { "start": { - "line": 65, + "line": 64, "column": 70 }, "end": { - "line": 65, + "line": 64, "column": 71 } } @@ -7533,15 +7361,15 @@ "updateContext": null }, "value": "this", - "start": 1226, - "end": 1230, + "start": 1221, + "end": 1225, "loc": { "start": { - "line": 65, + "line": 64, "column": 71 }, "end": { - "line": 65, + "line": 64, "column": 75 } } @@ -7559,15 +7387,15 @@ "binop": null, "updateContext": null }, - "start": 1230, - "end": 1231, + "start": 1225, + "end": 1226, "loc": { "start": { - "line": 65, + "line": 64, "column": 75 }, "end": { - "line": 65, + "line": 64, "column": 76 } } @@ -7585,15 +7413,15 @@ "binop": null }, "value": "day", - "start": 1231, - "end": 1234, + "start": 1226, + "end": 1229, "loc": { "start": { - "line": 65, + "line": 64, "column": 76 }, "end": { - "line": 65, + "line": 64, "column": 79 } } @@ -7610,15 +7438,15 @@ "postfix": false, "binop": null }, - "start": 1234, - "end": 1235, + "start": 1229, + "end": 1230, "loc": { "start": { - "line": 65, + "line": 64, "column": 79 }, "end": { - "line": 65, + "line": 64, "column": 80 } } @@ -7636,15 +7464,15 @@ "binop": null, "updateContext": null }, - "start": 1235, - "end": 1236, + "start": 1230, + "end": 1231, "loc": { "start": { - "line": 65, + "line": 64, "column": 80 }, "end": { - "line": 65, + "line": 64, "column": 81 } } @@ -7661,15 +7489,15 @@ "postfix": false, "binop": null }, - "start": 1239, - "end": 1240, + "start": 1234, + "end": 1235, "loc": { "start": { - "line": 66, + "line": 65, "column": 2 }, "end": { - "line": 66, + "line": 65, "column": 3 } } @@ -7677,15 +7505,15 @@ { "type": "CommentBlock", "value": "*\n * Represent this date as a string with era markers. If the date is suffixed with\n * a '*', this date is on the Julian/Gregorian threshold date.\n * @return {string}\n ", - "start": 1244, - "end": 1424, + "start": 1239, + "end": 1419, "loc": { "start": { - "line": 68, + "line": 67, "column": 2 }, "end": { - "line": 72, + "line": 71, "column": 5 } } @@ -7703,15 +7531,15 @@ "binop": null }, "value": "toString", - "start": 1427, - "end": 1435, + "start": 1422, + "end": 1430, "loc": { "start": { - "line": 73, + "line": 72, "column": 2 }, "end": { - "line": 73, + "line": 72, "column": 10 } } @@ -7728,15 +7556,15 @@ "postfix": false, "binop": null }, - "start": 1435, - "end": 1436, + "start": 1430, + "end": 1431, "loc": { "start": { - "line": 73, + "line": 72, "column": 10 }, "end": { - "line": 73, + "line": 72, "column": 11 } } @@ -7753,15 +7581,15 @@ "postfix": false, "binop": null }, - "start": 1436, - "end": 1437, + "start": 1431, + "end": 1432, "loc": { "start": { - "line": 73, + "line": 72, "column": 11 }, "end": { - "line": 73, + "line": 72, "column": 12 } } @@ -7778,15 +7606,15 @@ "postfix": false, "binop": null }, - "start": 1438, - "end": 1439, + "start": 1433, + "end": 1434, "loc": { "start": { - "line": 73, + "line": 72, "column": 13 }, "end": { - "line": 73, + "line": 72, "column": 14 } } @@ -7806,15 +7634,15 @@ "updateContext": null }, "value": "const", - "start": 1444, - "end": 1449, + "start": 1439, + "end": 1444, "loc": { "start": { - "line": 74, + "line": 73, "column": 4 }, "end": { - "line": 74, + "line": 73, "column": 9 } } @@ -7832,15 +7660,15 @@ "binop": null }, "value": "date", - "start": 1450, - "end": 1454, + "start": 1445, + "end": 1449, "loc": { "start": { - "line": 74, + "line": 73, "column": 10 }, "end": { - "line": 74, + "line": 73, "column": 14 } } @@ -7859,15 +7687,15 @@ "updateContext": null }, "value": "=", - "start": 1455, - "end": 1456, + "start": 1450, + "end": 1451, "loc": { "start": { - "line": 74, + "line": 73, "column": 15 }, "end": { - "line": 74, + "line": 73, "column": 16 } } @@ -7884,15 +7712,15 @@ "postfix": false, "binop": null }, - "start": 1457, - "end": 1458, + "start": 1452, + "end": 1453, "loc": { "start": { - "line": 74, + "line": 73, "column": 17 }, "end": { - "line": 74, + "line": 73, "column": 18 } } @@ -7911,15 +7739,15 @@ "updateContext": null }, "value": "", - "start": 1458, - "end": 1458, + "start": 1453, + "end": 1453, "loc": { "start": { - "line": 74, + "line": 73, "column": 18 }, "end": { - "line": 74, + "line": 73, "column": 18 } } @@ -7936,15 +7764,15 @@ "postfix": false, "binop": null }, - "start": 1458, - "end": 1460, + "start": 1453, + "end": 1455, "loc": { "start": { - "line": 74, + "line": 73, "column": 18 }, "end": { - "line": 74, + "line": 73, "column": 20 } } @@ -7964,15 +7792,15 @@ "updateContext": null }, "value": "this", - "start": 1460, - "end": 1464, + "start": 1455, + "end": 1459, "loc": { "start": { - "line": 74, + "line": 73, "column": 20 }, "end": { - "line": 74, + "line": 73, "column": 24 } } @@ -7990,15 +7818,15 @@ "binop": null, "updateContext": null }, - "start": 1464, - "end": 1465, + "start": 1459, + "end": 1460, "loc": { "start": { - "line": 74, + "line": 73, "column": 24 }, "end": { - "line": 74, + "line": 73, "column": 25 } } @@ -8016,15 +7844,15 @@ "binop": null }, "value": "day", - "start": 1465, - "end": 1468, + "start": 1460, + "end": 1463, "loc": { "start": { - "line": 74, + "line": 73, "column": 25 }, "end": { - "line": 74, + "line": 73, "column": 28 } } @@ -8041,15 +7869,15 @@ "postfix": false, "binop": null }, - "start": 1468, - "end": 1469, + "start": 1463, + "end": 1464, "loc": { "start": { - "line": 74, + "line": 73, "column": 28 }, "end": { - "line": 74, + "line": 73, "column": 29 } } @@ -8068,15 +7896,15 @@ "updateContext": null }, "value": "/", - "start": 1469, - "end": 1470, + "start": 1464, + "end": 1465, "loc": { "start": { - "line": 74, + "line": 73, "column": 29 }, "end": { - "line": 74, + "line": 73, "column": 30 } } @@ -8093,15 +7921,15 @@ "postfix": false, "binop": null }, - "start": 1470, - "end": 1472, + "start": 1465, + "end": 1467, "loc": { "start": { - "line": 74, + "line": 73, "column": 30 }, "end": { - "line": 74, + "line": 73, "column": 32 } } @@ -8121,15 +7949,15 @@ "updateContext": null }, "value": "this", - "start": 1472, - "end": 1476, + "start": 1467, + "end": 1471, "loc": { "start": { - "line": 74, + "line": 73, "column": 32 }, "end": { - "line": 74, + "line": 73, "column": 36 } } @@ -8147,15 +7975,15 @@ "binop": null, "updateContext": null }, - "start": 1476, - "end": 1477, + "start": 1471, + "end": 1472, "loc": { "start": { - "line": 74, + "line": 73, "column": 36 }, "end": { - "line": 74, + "line": 73, "column": 37 } } @@ -8173,15 +8001,15 @@ "binop": null }, "value": "month", - "start": 1477, - "end": 1482, + "start": 1472, + "end": 1477, "loc": { "start": { - "line": 74, + "line": 73, "column": 37 }, "end": { - "line": 74, + "line": 73, "column": 42 } } @@ -8198,15 +8026,15 @@ "postfix": false, "binop": null }, - "start": 1482, - "end": 1483, + "start": 1477, + "end": 1478, "loc": { "start": { - "line": 74, + "line": 73, "column": 42 }, "end": { - "line": 74, + "line": 73, "column": 43 } } @@ -8225,15 +8053,15 @@ "updateContext": null }, "value": "/", - "start": 1483, - "end": 1484, + "start": 1478, + "end": 1479, "loc": { "start": { - "line": 74, + "line": 73, "column": 43 }, "end": { - "line": 74, + "line": 73, "column": 44 } } @@ -8250,15 +8078,15 @@ "postfix": false, "binop": null }, - "start": 1484, - "end": 1486, + "start": 1479, + "end": 1481, "loc": { "start": { - "line": 74, + "line": 73, "column": 44 }, "end": { - "line": 74, + "line": 73, "column": 46 } } @@ -8278,15 +8106,15 @@ "updateContext": null }, "value": "this", - "start": 1486, - "end": 1490, + "start": 1481, + "end": 1485, "loc": { "start": { - "line": 74, + "line": 73, "column": 46 }, "end": { - "line": 74, + "line": 73, "column": 50 } } @@ -8304,15 +8132,15 @@ "binop": null, "updateContext": null }, - "start": 1490, - "end": 1491, + "start": 1485, + "end": 1486, "loc": { "start": { - "line": 74, + "line": 73, "column": 50 }, "end": { - "line": 74, + "line": 73, "column": 51 } } @@ -8330,15 +8158,15 @@ "binop": null }, "value": "year", - "start": 1491, - "end": 1495, + "start": 1486, + "end": 1490, "loc": { "start": { - "line": 74, + "line": 73, "column": 51 }, "end": { - "line": 74, + "line": 73, "column": 55 } } @@ -8355,15 +8183,15 @@ "postfix": false, "binop": null }, - "start": 1495, - "end": 1496, + "start": 1490, + "end": 1491, "loc": { "start": { - "line": 74, + "line": 73, "column": 55 }, "end": { - "line": 74, + "line": 73, "column": 56 } } @@ -8382,15 +8210,15 @@ "updateContext": null }, "value": " ", - "start": 1496, - "end": 1497, + "start": 1491, + "end": 1492, "loc": { "start": { - "line": 74, + "line": 73, "column": 56 }, "end": { - "line": 74, + "line": 73, "column": 57 } } @@ -8407,15 +8235,15 @@ "postfix": false, "binop": null }, - "start": 1497, - "end": 1499, + "start": 1492, + "end": 1494, "loc": { "start": { - "line": 74, + "line": 73, "column": 57 }, "end": { - "line": 74, + "line": 73, "column": 59 } } @@ -8435,15 +8263,15 @@ "updateContext": null }, "value": "this", - "start": 1499, - "end": 1503, + "start": 1494, + "end": 1498, "loc": { "start": { - "line": 74, + "line": 73, "column": 59 }, "end": { - "line": 74, + "line": 73, "column": 63 } } @@ -8461,15 +8289,15 @@ "binop": null, "updateContext": null }, - "start": 1503, - "end": 1504, + "start": 1498, + "end": 1499, "loc": { "start": { - "line": 74, + "line": 73, "column": 63 }, "end": { - "line": 74, + "line": 73, "column": 64 } } @@ -8487,15 +8315,15 @@ "binop": null }, "value": "era", - "start": 1504, - "end": 1507, + "start": 1499, + "end": 1502, "loc": { "start": { - "line": 74, + "line": 73, "column": 64 }, "end": { - "line": 74, + "line": 73, "column": 67 } } @@ -8512,15 +8340,15 @@ "postfix": false, "binop": null }, - "start": 1507, - "end": 1508, + "start": 1502, + "end": 1503, "loc": { "start": { - "line": 74, + "line": 73, "column": 67 }, "end": { - "line": 74, + "line": 73, "column": 68 } } @@ -8539,15 +8367,15 @@ "updateContext": null }, "value": "", - "start": 1508, - "end": 1508, + "start": 1503, + "end": 1503, "loc": { "start": { - "line": 74, + "line": 73, "column": 68 }, "end": { - "line": 74, + "line": 73, "column": 68 } } @@ -8564,15 +8392,15 @@ "postfix": false, "binop": null }, - "start": 1508, - "end": 1509, + "start": 1503, + "end": 1504, "loc": { "start": { - "line": 74, + "line": 73, "column": 68 }, "end": { - "line": 74, + "line": 73, "column": 69 } } @@ -8590,15 +8418,15 @@ "binop": null, "updateContext": null }, - "start": 1509, - "end": 1510, + "start": 1504, + "end": 1505, "loc": { "start": { - "line": 74, + "line": 73, "column": 69 }, "end": { - "line": 74, + "line": 73, "column": 70 } } @@ -8618,15 +8446,15 @@ "updateContext": null }, "value": "if", - "start": 1515, - "end": 1517, + "start": 1510, + "end": 1512, "loc": { "start": { - "line": 75, + "line": 74, "column": 4 }, "end": { - "line": 75, + "line": 74, "column": 6 } } @@ -8643,15 +8471,15 @@ "postfix": false, "binop": null }, - "start": 1518, - "end": 1519, + "start": 1513, + "end": 1514, "loc": { "start": { - "line": 75, + "line": 74, "column": 7 }, "end": { - "line": 75, + "line": 74, "column": 8 } } @@ -8671,15 +8499,15 @@ "updateContext": null }, "value": "this", - "start": 1519, - "end": 1523, + "start": 1514, + "end": 1518, "loc": { "start": { - "line": 75, + "line": 74, "column": 8 }, "end": { - "line": 75, + "line": 74, "column": 12 } } @@ -8697,15 +8525,15 @@ "binop": null, "updateContext": null }, - "start": 1523, - "end": 1524, + "start": 1518, + "end": 1519, "loc": { "start": { - "line": 75, + "line": 74, "column": 12 }, "end": { - "line": 75, + "line": 74, "column": 13 } } @@ -8723,15 +8551,15 @@ "binop": null }, "value": "isThreshold", - "start": 1524, - "end": 1535, + "start": 1519, + "end": 1530, "loc": { "start": { - "line": 75, + "line": 74, "column": 13 }, "end": { - "line": 75, + "line": 74, "column": 24 } } @@ -8748,15 +8576,15 @@ "postfix": false, "binop": null }, - "start": 1535, - "end": 1536, + "start": 1530, + "end": 1531, "loc": { "start": { - "line": 75, + "line": 74, "column": 24 }, "end": { - "line": 75, + "line": 74, "column": 25 } } @@ -8773,15 +8601,15 @@ "postfix": false, "binop": null }, - "start": 1536, - "end": 1537, + "start": 1531, + "end": 1532, "loc": { "start": { - "line": 75, + "line": 74, "column": 25 }, "end": { - "line": 75, + "line": 74, "column": 26 } } @@ -8798,15 +8626,15 @@ "postfix": false, "binop": null }, - "start": 1537, - "end": 1538, + "start": 1532, + "end": 1533, "loc": { "start": { - "line": 75, + "line": 74, "column": 26 }, "end": { - "line": 75, + "line": 74, "column": 27 } } @@ -8823,15 +8651,15 @@ "postfix": false, "binop": null }, - "start": 1539, - "end": 1540, + "start": 1534, + "end": 1535, "loc": { "start": { - "line": 75, + "line": 74, "column": 28 }, "end": { - "line": 75, + "line": 74, "column": 29 } } @@ -8851,15 +8679,15 @@ "updateContext": null }, "value": "return", - "start": 1547, - "end": 1553, + "start": 1542, + "end": 1548, "loc": { "start": { - "line": 76, + "line": 75, "column": 6 }, "end": { - "line": 76, + "line": 75, "column": 12 } } @@ -8876,15 +8704,15 @@ "postfix": false, "binop": null }, - "start": 1554, - "end": 1555, + "start": 1549, + "end": 1550, "loc": { "start": { - "line": 76, + "line": 75, "column": 13 }, "end": { - "line": 76, + "line": 75, "column": 14 } } @@ -8903,15 +8731,15 @@ "updateContext": null }, "value": "", - "start": 1555, - "end": 1555, + "start": 1550, + "end": 1550, "loc": { "start": { - "line": 76, + "line": 75, "column": 14 }, "end": { - "line": 76, + "line": 75, "column": 14 } } @@ -8928,15 +8756,15 @@ "postfix": false, "binop": null }, - "start": 1555, - "end": 1557, + "start": 1550, + "end": 1552, "loc": { "start": { - "line": 76, + "line": 75, "column": 14 }, "end": { - "line": 76, + "line": 75, "column": 16 } } @@ -8954,15 +8782,15 @@ "binop": null }, "value": "date", - "start": 1557, - "end": 1561, + "start": 1552, + "end": 1556, "loc": { "start": { - "line": 76, + "line": 75, "column": 16 }, "end": { - "line": 76, + "line": 75, "column": 20 } } @@ -8979,15 +8807,15 @@ "postfix": false, "binop": null }, - "start": 1561, - "end": 1562, + "start": 1556, + "end": 1557, "loc": { "start": { - "line": 76, + "line": 75, "column": 20 }, "end": { - "line": 76, + "line": 75, "column": 21 } } @@ -9006,15 +8834,15 @@ "updateContext": null }, "value": "*", - "start": 1562, - "end": 1563, + "start": 1557, + "end": 1558, "loc": { "start": { - "line": 76, + "line": 75, "column": 21 }, "end": { - "line": 76, + "line": 75, "column": 22 } } @@ -9031,15 +8859,15 @@ "postfix": false, "binop": null }, - "start": 1563, - "end": 1564, + "start": 1558, + "end": 1559, "loc": { "start": { - "line": 76, + "line": 75, "column": 22 }, "end": { - "line": 76, + "line": 75, "column": 23 } } @@ -9057,15 +8885,15 @@ "binop": null, "updateContext": null }, - "start": 1564, - "end": 1565, + "start": 1559, + "end": 1560, "loc": { "start": { - "line": 76, + "line": 75, "column": 23 }, "end": { - "line": 76, + "line": 75, "column": 24 } } @@ -9082,15 +8910,15 @@ "postfix": false, "binop": null }, - "start": 1570, - "end": 1571, + "start": 1565, + "end": 1566, "loc": { "start": { - "line": 77, + "line": 76, "column": 4 }, "end": { - "line": 77, + "line": 76, "column": 5 } } @@ -9110,15 +8938,15 @@ "updateContext": null }, "value": "return", - "start": 1576, - "end": 1582, + "start": 1571, + "end": 1577, "loc": { "start": { - "line": 78, + "line": 77, "column": 4 }, "end": { - "line": 78, + "line": 77, "column": 10 } } @@ -9136,15 +8964,15 @@ "binop": null }, "value": "date", - "start": 1583, - "end": 1587, + "start": 1578, + "end": 1582, "loc": { "start": { - "line": 78, + "line": 77, "column": 11 }, "end": { - "line": 78, + "line": 77, "column": 15 } } @@ -9162,15 +8990,15 @@ "binop": null, "updateContext": null }, - "start": 1587, - "end": 1588, + "start": 1582, + "end": 1583, "loc": { "start": { - "line": 78, + "line": 77, "column": 15 }, "end": { - "line": 78, + "line": 77, "column": 16 } } @@ -9187,15 +9015,15 @@ "postfix": false, "binop": null }, - "start": 1591, - "end": 1592, + "start": 1586, + "end": 1587, "loc": { "start": { - "line": 79, + "line": 78, "column": 2 }, "end": { - "line": 79, + "line": 78, "column": 3 } } @@ -9212,176 +9040,19 @@ "postfix": false, "binop": null }, - "start": 1593, - "end": 1594, + "start": 1588, + "end": 1589, "loc": { "start": { - "line": 80, + "line": 79, "column": 0 }, "end": { - "line": 80, + "line": 79, "column": 1 } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "module", - "start": 1597, - "end": 1603, - "loc": { - "start": { - "line": 83, - "column": 0 - }, - "end": { - "line": 83, - "column": 6 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1603, - "end": 1604, - "loc": { - "start": { - "line": 83, - "column": 6 - }, - "end": { - "line": 83, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "exports", - "start": 1604, - "end": 1611, - "loc": { - "start": { - "line": 83, - "column": 7 - }, - "end": { - "line": 83, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1612, - "end": 1613, - "loc": { - "start": { - "line": 83, - "column": 15 - }, - "end": { - "line": 83, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "WesternCalendar", - "start": 1614, - "end": 1629, - "loc": { - "start": { - "line": 83, - "column": 17 - }, - "end": { - "line": 83, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1629, - "end": 1630, - "loc": { - "start": { - "line": 83, - "column": 32 - }, - "end": { - "line": 83, - "column": 33 - } - } - }, { "type": { "label": "eof", @@ -9395,15 +9066,15 @@ "binop": null, "updateContext": null }, - "start": 1631, - "end": 1631, + "start": 1590, + "end": 1590, "loc": { "start": { - "line": 84, + "line": 80, "column": 0 }, "end": { - "line": 84, + "line": 80, "column": 0 } } diff --git a/docs/ast/source/operations/calendar-round-iterator.js.json b/docs/ast/source/operations/calendar-round-iter.js.json similarity index 64% rename from docs/ast/source/operations/calendar-round-iterator.js.json rename to docs/ast/source/operations/calendar-round-iter.js.json index 72e6793..96c7879 100644 --- a/docs/ast/source/operations/calendar-round-iterator.js.json +++ b/docs/ast/source/operations/calendar-round-iter.js.json @@ -1,226 +1,114 @@ { "type": "File", "start": 0, - "end": 1289, + "end": 1240, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 63, + "line": 60, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 1289, + "end": 1240, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 63, + "line": 60, "column": 0 } }, "sourceType": "module", "body": [ { - "type": "VariableDeclaration", - "start": 15, - "end": 55, + "type": "ImportDeclaration", + "start": 0, + "end": 29, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 40 + "line": 1, + "column": 29 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 21, - "end": 54, + "type": "ImportDefaultSpecifier", + "start": 7, + "end": 9, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 39 + "line": 1, + "column": 9 } }, - "id": { - "type": "ObjectPattern", - "start": 21, - "end": 29, - "loc": { - "start": { - "line": 2, - "column": 6 - }, - "end": { - "line": 2, - "column": 14 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 22, - "end": 28, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 13 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 22, - "end": 28, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 13 - }, - "identifierName": "origin" - }, - "name": "origin", - "leadingComments": null - }, - "value": { - "type": "Identifier", - "start": 22, - "end": 28, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 13 - }, - "identifierName": "origin" - }, - "name": "origin" - }, - "leadingComments": null, - "extra": { - "shorthand": true - } - } - ], - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 32, - "end": 54, + "local": { + "type": "Identifier", + "start": 7, + "end": 9, "loc": { "start": { - "line": 2, - "column": 17 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 39 - } - }, - "callee": { - "type": "Identifier", - "start": 32, - "end": 39, - "loc": { - "start": { - "line": 2, - "column": 17 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "require" + "line": 1, + "column": 9 }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 40, - "end": 53, - "loc": { - "start": { - "line": 2, - "column": 25 - }, - "end": { - "line": 2, - "column": 38 - } - }, - "extra": { - "rawValue": "../cr/index", - "raw": "'../cr/index'" - }, - "value": "../cr/index" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 + "identifierName": "cr" }, - "end": { - "line": 1, - "column": 14 - } + "name": "cr" } } ], + "source": { + "type": "StringLiteral", + "start": 15, + "end": 28, + "loc": { + "start": { + "line": 1, + "column": 15 + }, + "end": { + "line": 1, + "column": 28 + } + }, + "extra": { + "rawValue": "../cr/index", + "raw": "'../cr/index'" + }, + "value": "../cr/index" + }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Used to iterate through the entire cycle of 18,980 days for the full\n * permutation of Haab and 260-day count.\n * @ignore\n ", - "start": 57, - "end": 189, + "start": 31, + "end": 163, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 8, + "line": 7, "column": 3 } } @@ -228,397 +116,477 @@ ] }, { - "type": "ClassDeclaration", - "start": 190, - "end": 1248, + "type": "ExportDefaultDeclaration", + "start": 164, + "end": 1239, "loc": { "start": { - "line": 9, + "line": 8, "column": 0 }, "end": { - "line": 60, + "line": 59, "column": 1 } }, - "id": { - "type": "Identifier", - "start": 196, - "end": 217, - "loc": { - "start": { - "line": 9, - "column": 6 - }, - "end": { - "line": 9, - "column": 27 - }, - "identifierName": "CalendarRoundIterator" - }, - "name": "CalendarRoundIterator", - "leadingComments": null - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 218, - "end": 1248, + "declaration": { + "type": "ClassDeclaration", + "start": 179, + "end": 1239, "loc": { "start": { - "line": 9, - "column": 28 + "line": 8, + "column": 15 }, "end": { - "line": 60, + "line": 59, "column": 1 } }, - "body": [ - { - "type": "ClassMethod", - "start": 276, - "end": 633, - "loc": { - "start": { - "line": 14, - "column": 2 - }, - "end": { - "line": 34, - "column": 3 - } + "id": { + "type": "Identifier", + "start": 185, + "end": 206, + "loc": { + "start": { + "line": 8, + "column": 21 + }, + "end": { + "line": 8, + "column": 42 + }, + "identifierName": "CalendarRoundIterator" + }, + "name": "CalendarRoundIterator", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 207, + "end": 1239, + "loc": { + "start": { + "line": 8, + "column": 43 }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 276, - "end": 287, + "end": { + "line": 59, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 264, + "end": 624, "loc": { "start": { - "line": 14, + "line": 13, "column": 2 }, "end": { - "line": 14, - "column": 13 - }, - "identifierName": "constructor" + "line": 33, + "column": 3 + } }, - "name": "constructor", - "leadingComments": null - }, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 288, - "end": 295, + "start": 264, + "end": 275, "loc": { "start": { - "line": 14, - "column": 14 + "line": 13, + "column": 2 }, "end": { - "line": 14, - "column": 21 + "line": 13, + "column": 13 }, - "identifierName": "newDate" - }, - "name": "newDate" - } - ], - "body": { - "type": "BlockStatement", - "start": 297, - "end": 633, - "loc": { - "start": { - "line": 14, - "column": 23 + "identifierName": "constructor" }, - "end": { - "line": 34, - "column": 3 - } + "name": "constructor", + "leadingComments": null }, - "body": [ + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "ExpressionStatement", - "start": 348, - "end": 373, + "type": "Identifier", + "start": 276, + "end": 283, "loc": { "start": { - "line": 18, - "column": 4 + "line": 13, + "column": 14 }, "end": { - "line": 18, - "column": 29 - } + "line": 13, + "column": 21 + }, + "identifierName": "newDate" + }, + "name": "newDate" + } + ], + "body": { + "type": "BlockStatement", + "start": 285, + "end": 624, + "loc": { + "start": { + "line": 13, + "column": 23 }, - "expression": { - "type": "AssignmentExpression", - "start": 348, - "end": 372, + "end": { + "line": 33, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 336, + "end": 361, "loc": { "start": { - "line": 18, + "line": 17, "column": 4 }, "end": { - "line": 18, - "column": 28 + "line": 17, + "column": 29 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 348, + "expression": { + "type": "AssignmentExpression", + "start": 336, "end": 360, "loc": { "start": { - "line": 18, + "line": 17, "column": 4 }, "end": { - "line": 18, - "column": 16 + "line": 17, + "column": 28 } }, - "object": { - "type": "ThisExpression", - "start": 348, - "end": 352, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 336, + "end": 348, "loc": { "start": { - "line": 18, + "line": 17, "column": 4 }, "end": { - "line": 18, - "column": 8 + "line": 17, + "column": 16 } }, + "object": { + "type": "ThisExpression", + "start": 336, + "end": 340, + "loc": { + "start": { + "line": 17, + "column": 4 + }, + "end": { + "line": 17, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 341, + "end": 348, + "loc": { + "start": { + "line": 17, + "column": 9 + }, + "end": { + "line": 17, + "column": 16 + }, + "identifierName": "current" + }, + "name": "current" + }, + "computed": false, "leadingComments": null }, - "property": { + "right": { "type": "Identifier", - "start": 353, + "start": 351, "end": 360, "loc": { "start": { - "line": 18, - "column": 9 + "line": 17, + "column": 19 }, "end": { - "line": 18, - "column": 16 + "line": 17, + "column": 28 }, - "identifierName": "current" + "identifierName": "undefined" }, - "name": "current" + "name": "undefined" }, - "computed": false, "leadingComments": null }, - "right": { - "type": "Identifier", - "start": 363, - "end": 372, - "loc": { - "start": { - "line": 18, - "column": 19 - }, - "end": { - "line": 18, - "column": 28 - }, - "identifierName": "undefined" - }, - "name": "undefined" - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @type {CalendarRound}\n ", - "start": 303, - "end": 343, - "loc": { - "start": { - "line": 15, - "column": 4 - }, - "end": { - "line": 17, - "column": 7 + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @type {CalendarRound}\n ", + "start": 291, + "end": 331, + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 16, + "column": 7 + } } } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @type boolean\n ", - "start": 379, - "end": 411, - "loc": { - "start": { - "line": 20, - "column": 4 - }, - "end": { - "line": 22, - "column": 7 + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @type boolean\n ", + "start": 367, + "end": 399, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 21, + "column": 7 + } } } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 416, - "end": 442, - "loc": { - "start": { - "line": 23, - "column": 4 - }, - "end": { - "line": 23, - "column": 30 - } + ] }, - "expression": { - "type": "AssignmentExpression", - "start": 416, - "end": 441, + { + "type": "ExpressionStatement", + "start": 404, + "end": 430, "loc": { "start": { - "line": 23, + "line": 22, "column": 4 }, "end": { - "line": 23, - "column": 29 + "line": 22, + "column": 30 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 416, + "expression": { + "type": "AssignmentExpression", + "start": 404, "end": 429, "loc": { "start": { - "line": 23, + "line": 22, "column": 4 }, "end": { - "line": 23, - "column": 17 + "line": 22, + "column": 29 } }, - "object": { - "type": "ThisExpression", - "start": 416, - "end": 420, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 404, + "end": 417, "loc": { "start": { - "line": 23, + "line": 22, "column": 4 }, "end": { - "line": 23, - "column": 8 + "line": 22, + "column": 17 } }, + "object": { + "type": "ThisExpression", + "start": 404, + "end": 408, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 409, + "end": 417, + "loc": { + "start": { + "line": 22, + "column": 9 + }, + "end": { + "line": 22, + "column": 17 + }, + "identifierName": "is_first" + }, + "name": "is_first" + }, + "computed": false, "leadingComments": null }, - "property": { + "right": { "type": "Identifier", - "start": 421, + "start": 420, "end": 429, "loc": { "start": { - "line": 23, - "column": 9 + "line": 22, + "column": 20 }, "end": { - "line": 23, - "column": 17 + "line": 22, + "column": 29 }, - "identifierName": "is_first" + "identifierName": "undefined" }, - "name": "is_first" + "name": "undefined" }, - "computed": false, "leadingComments": null }, - "right": { - "type": "Identifier", - "start": 432, - "end": 441, - "loc": { - "start": { - "line": 23, - "column": 20 - }, - "end": { - "line": 23, - "column": 29 - }, - "identifierName": "undefined" + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @type boolean\n ", + "start": 367, + "end": 399, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 21, + "column": 7 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 436, + "end": 459, + "loc": { + "start": { + "line": 24, + "column": 4 }, - "name": "undefined" + "end": { + "line": 24, + "column": 27 + } }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @type boolean\n ", - "start": 379, - "end": 411, - "loc": { - "start": { - "line": 20, - "column": 4 + "declarations": [ + { + "type": "VariableDeclarator", + "start": 440, + "end": 458, + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 26 + } }, - "end": { - "line": 22, - "column": 7 + "id": { + "type": "Identifier", + "start": 440, + "end": 448, + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 16 + }, + "identifierName": "fullDate" + }, + "name": "fullDate" + }, + "init": { + "type": "Identifier", + "start": 451, + "end": 458, + "loc": { + "start": { + "line": 24, + "column": 19 + }, + "end": { + "line": 24, + "column": 26 + }, + "identifierName": "newDate" + }, + "name": "newDate" } } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 448, - "end": 471, - "loc": { - "start": { - "line": 25, - "column": 4 - }, - "end": { - "line": 25, - "column": 27 - } + ], + "kind": "let" }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 452, - "end": 470, + { + "type": "IfStatement", + "start": 464, + "end": 527, + "loc": { + "start": { + "line": 25, + "column": 4 + }, + "end": { + "line": 27, + "column": 5 + } + }, + "test": { + "type": "BinaryExpression", + "start": 468, + "end": 490, "loc": { "start": { "line": 25, @@ -626,13 +594,13 @@ }, "end": { "line": 25, - "column": 26 + "column": 30 } }, - "id": { + "left": { "type": "Identifier", - "start": 452, - "end": 460, + "start": 468, + "end": 476, "loc": { "start": { "line": 25, @@ -646,1997 +614,1870 @@ }, "name": "fullDate" }, - "init": { + "operator": "===", + "right": { "type": "Identifier", - "start": 463, - "end": 470, + "start": 481, + "end": 490, "loc": { "start": { "line": 25, - "column": 19 + "column": 21 }, "end": { "line": 25, - "column": 26 + "column": 30 }, - "identifierName": "newDate" + "identifierName": "undefined" }, - "name": "newDate" - } - } - ], - "kind": "let" - }, - { - "type": "IfStatement", - "start": 476, - "end": 536, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 28, - "column": 5 - } - }, - "test": { - "type": "BinaryExpression", - "start": 480, - "end": 502, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 30 + "name": "undefined" } }, - "left": { - "type": "Identifier", - "start": 480, - "end": 488, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 16 - }, - "identifierName": "fullDate" - }, - "name": "fullDate" - }, - "operator": "===", - "right": { - "type": "Identifier", - "start": 493, - "end": 502, + "consequent": { + "type": "BlockStatement", + "start": 492, + "end": 527, "loc": { "start": { - "line": 26, - "column": 21 + "line": 25, + "column": 32 }, "end": { - "line": 26, - "column": 30 - }, - "identifierName": "undefined" - }, - "name": "undefined" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 504, - "end": 536, - "loc": { - "start": { - "line": 26, - "column": 32 + "line": 27, + "column": 5 + } }, - "end": { - "line": 28, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 512, - "end": 530, - "loc": { - "start": { - "line": 27, - "column": 6 - }, - "end": { - "line": 27, - "column": 24 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 512, - "end": 529, + "body": [ + { + "type": "ExpressionStatement", + "start": 500, + "end": 521, "loc": { "start": { - "line": 27, + "line": 26, "column": 6 }, "end": { - "line": 27, - "column": 23 + "line": 26, + "column": 27 } }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 512, + "expression": { + "type": "AssignmentExpression", + "start": 500, "end": 520, "loc": { "start": { - "line": 27, + "line": 26, "column": 6 }, "end": { - "line": 27, - "column": 14 + "line": 26, + "column": 26 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 500, + "end": 508, + "loc": { + "start": { + "line": 26, + "column": 6 + }, + "end": { + "line": 26, + "column": 14 + }, + "identifierName": "fullDate" }, - "identifierName": "fullDate" + "name": "fullDate" }, - "name": "fullDate" - }, - "right": { - "type": "Identifier", - "start": 523, - "end": 529, - "loc": { - "start": { - "line": 27, - "column": 17 + "right": { + "type": "MemberExpression", + "start": 511, + "end": 520, + "loc": { + "start": { + "line": 26, + "column": 17 + }, + "end": { + "line": 26, + "column": 26 + } }, - "end": { - "line": 27, - "column": 23 + "object": { + "type": "Identifier", + "start": 511, + "end": 513, + "loc": { + "start": { + "line": 26, + "column": 17 + }, + "end": { + "line": 26, + "column": 19 + }, + "identifierName": "cr" + }, + "name": "cr" }, - "identifierName": "origin" - }, - "name": "origin" + "property": { + "type": "Identifier", + "start": 514, + "end": 520, + "loc": { + "start": { + "line": 26, + "column": 20 + }, + "end": { + "line": 26, + "column": 26 + }, + "identifierName": "origin" + }, + "name": "origin" + }, + "computed": false + } } } - } - ], - "directives": [], - "trailingComments": null - }, - "alternate": null, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @type {CalendarRound}\n ", - "start": 541, - "end": 581, - "loc": { - "start": { - "line": 29, - "column": 4 - }, - "end": { - "line": 31, - "column": 7 + ], + "directives": [], + "trailingComments": null + }, + "alternate": null, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @type {CalendarRound}\n ", + "start": 532, + "end": 572, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 30, + "column": 7 + } } } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 586, - "end": 611, - "loc": { - "start": { - "line": 32, - "column": 4 - }, - "end": { - "line": 32, - "column": 29 - } + ] }, - "expression": { - "type": "AssignmentExpression", - "start": 586, - "end": 610, + { + "type": "ExpressionStatement", + "start": 577, + "end": 602, "loc": { "start": { - "line": 32, + "line": 31, "column": 4 }, "end": { - "line": 32, - "column": 28 + "line": 31, + "column": 29 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 586, - "end": 599, + "expression": { + "type": "AssignmentExpression", + "start": 577, + "end": 601, "loc": { "start": { - "line": 32, + "line": 31, "column": 4 }, "end": { - "line": 32, - "column": 17 + "line": 31, + "column": 28 } }, - "object": { - "type": "ThisExpression", - "start": 586, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 577, "end": 590, "loc": { "start": { - "line": 32, + "line": 31, "column": 4 }, "end": { - "line": 32, - "column": 8 + "line": 31, + "column": 17 } }, + "object": { + "type": "ThisExpression", + "start": 577, + "end": 581, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 31, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 582, + "end": 590, + "loc": { + "start": { + "line": 31, + "column": 9 + }, + "end": { + "line": 31, + "column": 17 + }, + "identifierName": "fullDate" + }, + "name": "fullDate" + }, + "computed": false, "leadingComments": null }, - "property": { + "right": { "type": "Identifier", - "start": 591, - "end": 599, + "start": 593, + "end": 601, "loc": { "start": { - "line": 32, - "column": 9 + "line": 31, + "column": 20 }, "end": { - "line": 32, - "column": 17 + "line": 31, + "column": 28 }, "identifierName": "fullDate" }, "name": "fullDate" }, - "computed": false, "leadingComments": null }, - "right": { - "type": "Identifier", - "start": 602, - "end": 610, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @type {CalendarRound}\n ", + "start": 532, + "end": 572, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 30, + "column": 7 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 607, + "end": 620, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 17 + } + }, + "expression": { + "type": "CallExpression", + "start": 607, + "end": 619, "loc": { "start": { "line": 32, - "column": 20 + "column": 4 }, "end": { "line": 32, - "column": 28 - }, - "identifierName": "fullDate" - }, - "name": "fullDate" - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @type {CalendarRound}\n ", - "start": 541, - "end": 581, - "loc": { - "start": { - "line": 29, - "column": 4 - }, - "end": { - "line": 31, - "column": 7 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 616, - "end": 629, - "loc": { - "start": { - "line": 33, - "column": 4 - }, - "end": { - "line": 33, - "column": 17 - } - }, - "expression": { - "type": "CallExpression", - "start": 616, - "end": 628, - "loc": { - "start": { - "line": 33, - "column": 4 - }, - "end": { - "line": 33, - "column": 16 - } - }, - "callee": { - "type": "MemberExpression", - "start": 616, - "end": 626, - "loc": { - "start": { - "line": 33, - "column": 4 - }, - "end": { - "line": 33, - "column": 14 + "column": 16 } }, - "object": { - "type": "ThisExpression", - "start": 616, - "end": 620, + "callee": { + "type": "MemberExpression", + "start": 607, + "end": 617, "loc": { "start": { - "line": 33, + "line": 32, "column": 4 }, "end": { - "line": 33, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 621, - "end": 626, - "loc": { - "start": { - "line": 33, - "column": 9 - }, - "end": { - "line": 33, + "line": 32, "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 607, + "end": 611, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 612, + "end": 617, + "loc": { + "start": { + "line": 32, + "column": 9 + }, + "end": { + "line": 32, + "column": 14 + }, + "identifierName": "reset" }, - "identifierName": "reset" + "name": "reset" }, - "name": "reset" + "computed": false }, - "computed": false + "arguments": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n *\n * @param {CalendarRound} newDate\n ", + "start": 211, + "end": 261, + "loc": { + "start": { + "line": 9, + "column": 2 }, - "arguments": [] + "end": { + "line": 12, + "column": 5 + } } } ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n *\n * @param {CalendarRound} fullDate\n ", - "start": 222, - "end": 273, - "loc": { - "start": { - "line": 10, - "column": 2 - }, - "end": { - "line": 13, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Reset this iterator so that it can be reused.\n ", - "start": 637, - "end": 697, - "loc": { - "start": { - "line": 36, - "column": 2 - }, - "end": { - "line": 38, - "column": 5 + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Reset this iterator so that it can be reused.\n ", + "start": 628, + "end": 688, + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 37, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 700, - "end": 773, - "loc": { - "start": { - "line": 39, - "column": 2 - }, - "end": { - "line": 42, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 700, - "end": 705, + { + "type": "ClassMethod", + "start": 691, + "end": 764, "loc": { "start": { - "line": 39, + "line": 38, "column": 2 }, "end": { - "line": 39, - "column": 7 - }, - "identifierName": "reset" - }, - "name": "reset", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 708, - "end": 773, - "loc": { - "start": { - "line": 39, - "column": 10 - }, - "end": { - "line": 42, + "line": 41, "column": 3 } }, - "body": [ - { - "type": "ExpressionStatement", - "start": 714, - "end": 743, - "loc": { - "start": { - "line": 40, - "column": 4 - }, - "end": { - "line": 40, - "column": 33 - } + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 691, + "end": 696, + "loc": { + "start": { + "line": 38, + "column": 2 + }, + "end": { + "line": 38, + "column": 7 + }, + "identifierName": "reset" + }, + "name": "reset", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 699, + "end": 764, + "loc": { + "start": { + "line": 38, + "column": 10 }, - "expression": { - "type": "AssignmentExpression", - "start": 714, - "end": 742, + "end": { + "line": 41, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 705, + "end": 734, "loc": { "start": { - "line": 40, + "line": 39, "column": 4 }, "end": { - "line": 40, - "column": 32 + "line": 39, + "column": 33 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 714, - "end": 726, + "expression": { + "type": "AssignmentExpression", + "start": 705, + "end": 733, "loc": { "start": { - "line": 40, + "line": 39, "column": 4 }, "end": { - "line": 40, - "column": 16 + "line": 39, + "column": 32 } }, - "object": { - "type": "ThisExpression", - "start": 714, - "end": 718, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 705, + "end": 717, "loc": { "start": { - "line": 40, + "line": 39, "column": 4 }, "end": { - "line": 40, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 719, - "end": 726, - "loc": { - "start": { - "line": 40, - "column": 9 - }, - "end": { - "line": 40, + "line": 39, "column": 16 - }, - "identifierName": "current" + } }, - "name": "current" - }, - "computed": false - }, - "right": { - "type": "MemberExpression", - "start": 729, - "end": 742, - "loc": { - "start": { - "line": 40, - "column": 19 + "object": { + "type": "ThisExpression", + "start": 705, + "end": 709, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 39, + "column": 8 + } + } }, - "end": { - "line": 40, - "column": 32 - } + "property": { + "type": "Identifier", + "start": 710, + "end": 717, + "loc": { + "start": { + "line": 39, + "column": 9 + }, + "end": { + "line": 39, + "column": 16 + }, + "identifierName": "current" + }, + "name": "current" + }, + "computed": false }, - "object": { - "type": "ThisExpression", - "start": 729, + "right": { + "type": "MemberExpression", + "start": 720, "end": 733, "loc": { "start": { - "line": 40, + "line": 39, "column": 19 }, "end": { - "line": 40, - "column": 23 - } - } - }, - "property": { - "type": "Identifier", - "start": 734, - "end": 742, - "loc": { - "start": { - "line": 40, - "column": 24 - }, - "end": { - "line": 40, + "line": 39, "column": 32 + } + }, + "object": { + "type": "ThisExpression", + "start": 720, + "end": 724, + "loc": { + "start": { + "line": 39, + "column": 19 + }, + "end": { + "line": 39, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "start": 725, + "end": 733, + "loc": { + "start": { + "line": 39, + "column": 24 + }, + "end": { + "line": 39, + "column": 32 + }, + "identifierName": "fullDate" }, - "identifierName": "fullDate" + "name": "fullDate" }, - "name": "fullDate" - }, - "computed": false - } - } - }, - { - "type": "ExpressionStatement", - "start": 748, - "end": 769, - "loc": { - "start": { - "line": 41, - "column": 4 - }, - "end": { - "line": 41, - "column": 25 + "computed": false + } } }, - "expression": { - "type": "AssignmentExpression", - "start": 748, - "end": 768, + { + "type": "ExpressionStatement", + "start": 739, + "end": 760, "loc": { "start": { - "line": 41, + "line": 40, "column": 4 }, "end": { - "line": 41, - "column": 24 + "line": 40, + "column": 25 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 748, - "end": 761, + "expression": { + "type": "AssignmentExpression", + "start": 739, + "end": 759, "loc": { "start": { - "line": 41, + "line": 40, "column": 4 }, "end": { - "line": 41, - "column": 17 + "line": 40, + "column": 24 } }, - "object": { - "type": "ThisExpression", - "start": 748, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 739, "end": 752, "loc": { "start": { - "line": 41, + "line": 40, "column": 4 }, "end": { - "line": 41, - "column": 8 + "line": 40, + "column": 17 } - } + }, + "object": { + "type": "ThisExpression", + "start": 739, + "end": 743, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 8 + } + } + }, + "property": { + "type": "Identifier", + "start": 744, + "end": 752, + "loc": { + "start": { + "line": 40, + "column": 9 + }, + "end": { + "line": 40, + "column": 17 + }, + "identifierName": "is_first" + }, + "name": "is_first" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 753, - "end": 761, + "right": { + "type": "BooleanLiteral", + "start": 755, + "end": 759, "loc": { "start": { - "line": 41, - "column": 9 + "line": 40, + "column": 20 }, "end": { - "line": 41, - "column": 17 - }, - "identifierName": "is_first" + "line": 40, + "column": 24 + } }, - "name": "is_first" - }, - "computed": false + "value": true + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Reset this iterator so that it can be reused.\n ", + "start": 628, + "end": 688, + "loc": { + "start": { + "line": 35, + "column": 2 }, - "right": { - "type": "BooleanLiteral", - "start": 764, - "end": 768, - "loc": { - "start": { - "line": 41, - "column": 20 - }, - "end": { - "line": 41, - "column": 24 - } - }, - "value": true + "end": { + "line": 37, + "column": 5 } } } ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Reset this iterator so that it can be reused.\n ", - "start": 637, - "end": 697, - "loc": { - "start": { - "line": 36, - "column": 2 - }, - "end": { - "line": 38, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Move to the next position in the iterator or end the iteration.\n * @return {{value: null, done: boolean}|{value: CalendarRound, done: boolean}}\n ", - "start": 777, - "end": 937, - "loc": { - "start": { - "line": 44, - "column": 2 - }, - "end": { - "line": 47, - "column": 5 + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Move to the next position in the iterator or end the iteration.\n * @return {{value: null, done: boolean}|{value: CalendarRound, done: boolean}}\n ", + "start": 768, + "end": 928, + "loc": { + "start": { + "line": 43, + "column": 2 + }, + "end": { + "line": 46, + "column": 5 + } } } - } - ] - }, - { - "type": "ClassMethod", - "start": 940, - "end": 1246, - "loc": { - "start": { - "line": 48, - "column": 2 - }, - "end": { - "line": 59, - "column": 3 - } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 940, - "end": 944, + { + "type": "ClassMethod", + "start": 931, + "end": 1237, "loc": { "start": { - "line": 48, + "line": 47, "column": 2 }, "end": { - "line": 48, - "column": 6 - }, - "identifierName": "next" - }, - "name": "next", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 947, - "end": 1246, - "loc": { - "start": { - "line": 48, - "column": 9 - }, - "end": { - "line": 59, + "line": 58, "column": 3 } }, - "body": [ - { - "type": "IfStatement", - "start": 953, - "end": 1057, - "loc": { - "start": { - "line": 49, - "column": 4 - }, - "end": { - "line": 52, - "column": 5 - } + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 931, + "end": 935, + "loc": { + "start": { + "line": 47, + "column": 2 + }, + "end": { + "line": 47, + "column": 6 + }, + "identifierName": "next" + }, + "name": "next", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 938, + "end": 1237, + "loc": { + "start": { + "line": 47, + "column": 9 }, - "test": { - "type": "MemberExpression", - "start": 957, - "end": 970, + "end": { + "line": 58, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 944, + "end": 1048, "loc": { "start": { - "line": 49, - "column": 8 + "line": 48, + "column": 4 }, "end": { - "line": 49, - "column": 21 + "line": 51, + "column": 5 } }, - "object": { - "type": "ThisExpression", - "start": 957, + "test": { + "type": "MemberExpression", + "start": 948, "end": 961, "loc": { "start": { - "line": 49, + "line": 48, "column": 8 }, "end": { - "line": 49, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 962, - "end": 970, - "loc": { - "start": { - "line": 49, - "column": 13 - }, - "end": { - "line": 49, + "line": 48, "column": 21 - }, - "identifierName": "is_first" - }, - "name": "is_first" - }, - "computed": false - }, - "consequent": { - "type": "BlockStatement", - "start": 972, - "end": 1057, - "loc": { - "start": { - "line": 49, - "column": 23 + } }, - "end": { - "line": 52, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 980, - "end": 1002, + "object": { + "type": "ThisExpression", + "start": 948, + "end": 952, "loc": { "start": { - "line": 50, - "column": 6 + "line": 48, + "column": 8 }, "end": { - "line": 50, - "column": 28 + "line": 48, + "column": 12 } - }, - "expression": { - "type": "AssignmentExpression", - "start": 980, - "end": 1001, - "loc": { - "start": { - "line": 50, - "column": 6 - }, - "end": { - "line": 50, - "column": 27 - } + } + }, + "property": { + "type": "Identifier", + "start": 953, + "end": 961, + "loc": { + "start": { + "line": 48, + "column": 13 }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 980, - "end": 993, - "loc": { - "start": { - "line": 50, - "column": 6 - }, - "end": { - "line": 50, - "column": 19 - } - }, - "object": { - "type": "ThisExpression", - "start": 980, - "end": 984, - "loc": { - "start": { - "line": 50, - "column": 6 - }, - "end": { - "line": 50, - "column": 10 - } - } - }, - "property": { - "type": "Identifier", - "start": 985, - "end": 993, - "loc": { - "start": { - "line": 50, - "column": 11 - }, - "end": { - "line": 50, - "column": 19 - }, - "identifierName": "is_first" - }, - "name": "is_first" - }, - "computed": false + "end": { + "line": 48, + "column": 21 }, - "right": { - "type": "BooleanLiteral", - "start": 996, - "end": 1001, - "loc": { - "start": { - "line": 50, - "column": 22 - }, - "end": { - "line": 50, - "column": 27 - } - }, - "value": false - } + "identifierName": "is_first" + }, + "name": "is_first" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 963, + "end": 1048, + "loc": { + "start": { + "line": 48, + "column": 23 + }, + "end": { + "line": 51, + "column": 5 } }, - { - "type": "ReturnStatement", - "start": 1009, - "end": 1051, - "loc": { - "start": { - "line": 51, - "column": 6 - }, - "end": { - "line": 51, - "column": 48 - } - }, - "argument": { - "type": "ObjectExpression", - "start": 1016, - "end": 1050, + "body": [ + { + "type": "ExpressionStatement", + "start": 971, + "end": 993, "loc": { "start": { - "line": 51, - "column": 13 + "line": 49, + "column": 6 }, "end": { - "line": 51, - "column": 47 + "line": 49, + "column": 28 } }, - "properties": [ - { - "type": "ObjectProperty", - "start": 1017, - "end": 1036, + "expression": { + "type": "AssignmentExpression", + "start": 971, + "end": 992, + "loc": { + "start": { + "line": 49, + "column": 6 + }, + "end": { + "line": 49, + "column": 27 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 971, + "end": 984, "loc": { "start": { - "line": 51, - "column": 14 + "line": 49, + "column": 6 }, "end": { - "line": 51, - "column": 33 + "line": 49, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 971, + "end": 975, + "loc": { + "start": { + "line": 49, + "column": 6 + }, + "end": { + "line": 49, + "column": 10 + } } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { + "property": { "type": "Identifier", - "start": 1017, - "end": 1022, + "start": 976, + "end": 984, "loc": { "start": { - "line": 51, - "column": 14 + "line": 49, + "column": 11 }, "end": { - "line": 51, + "line": 49, "column": 19 }, - "identifierName": "value" + "identifierName": "is_first" + }, + "name": "is_first" + }, + "computed": false + }, + "right": { + "type": "BooleanLiteral", + "start": 987, + "end": 992, + "loc": { + "start": { + "line": 49, + "column": 22 }, - "name": "value" + "end": { + "line": 49, + "column": 27 + } + }, + "value": false + } + } + }, + { + "type": "ReturnStatement", + "start": 1000, + "end": 1042, + "loc": { + "start": { + "line": 50, + "column": 6 + }, + "end": { + "line": 50, + "column": 48 + } + }, + "argument": { + "type": "ObjectExpression", + "start": 1007, + "end": 1041, + "loc": { + "start": { + "line": 50, + "column": 13 }, - "value": { - "type": "MemberExpression", - "start": 1024, - "end": 1036, + "end": { + "line": 50, + "column": 47 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 1008, + "end": 1027, "loc": { "start": { - "line": 51, - "column": 21 + "line": 50, + "column": 14 }, "end": { - "line": 51, + "line": 50, "column": 33 } }, - "object": { - "type": "ThisExpression", - "start": 1024, - "end": 1028, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1008, + "end": 1013, "loc": { "start": { - "line": 51, - "column": 21 + "line": 50, + "column": 14 }, "end": { - "line": 51, - "column": 25 - } - } + "line": 50, + "column": 19 + }, + "identifierName": "value" + }, + "name": "value" }, - "property": { - "type": "Identifier", - "start": 1029, - "end": 1036, + "value": { + "type": "MemberExpression", + "start": 1015, + "end": 1027, "loc": { "start": { - "line": 51, - "column": 26 + "line": 50, + "column": 21 }, "end": { - "line": 51, + "line": 50, "column": 33 + } + }, + "object": { + "type": "ThisExpression", + "start": 1015, + "end": 1019, + "loc": { + "start": { + "line": 50, + "column": 21 + }, + "end": { + "line": 50, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "start": 1020, + "end": 1027, + "loc": { + "start": { + "line": 50, + "column": 26 + }, + "end": { + "line": 50, + "column": 33 + }, + "identifierName": "current" }, - "identifierName": "current" + "name": "current" }, - "name": "current" - }, - "computed": false - } - }, - { - "type": "ObjectProperty", - "start": 1038, - "end": 1049, - "loc": { - "start": { - "line": 51, - "column": 35 - }, - "end": { - "line": 51, - "column": 46 + "computed": false } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1038, - "end": 1042, + { + "type": "ObjectProperty", + "start": 1029, + "end": 1040, "loc": { "start": { - "line": 51, + "line": 50, "column": 35 }, "end": { - "line": 51, - "column": 39 - }, - "identifierName": "done" - }, - "name": "done" - }, - "value": { - "type": "BooleanLiteral", - "start": 1044, - "end": 1049, - "loc": { - "start": { - "line": 51, - "column": 41 - }, - "end": { - "line": 51, + "line": 50, "column": 46 } }, - "value": false + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1029, + "end": 1033, + "loc": { + "start": { + "line": 50, + "column": 35 + }, + "end": { + "line": 50, + "column": 39 + }, + "identifierName": "done" + }, + "name": "done" + }, + "value": { + "type": "BooleanLiteral", + "start": 1035, + "end": 1040, + "loc": { + "start": { + "line": 50, + "column": 41 + }, + "end": { + "line": 50, + "column": 46 + } + }, + "value": false + } } - } - ] + ] + } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "VariableDeclaration", - "start": 1062, - "end": 1095, - "loc": { - "start": { - "line": 53, - "column": 4 + ], + "directives": [] }, - "end": { - "line": 53, - "column": 37 - } + "alternate": null }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1068, - "end": 1094, - "loc": { - "start": { - "line": 53, - "column": 10 - }, - "end": { - "line": 53, - "column": 36 - } + { + "type": "VariableDeclaration", + "start": 1053, + "end": 1086, + "loc": { + "start": { + "line": 52, + "column": 4 }, - "id": { - "type": "Identifier", - "start": 1068, - "end": 1072, + "end": { + "line": 52, + "column": 37 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1059, + "end": 1085, "loc": { "start": { - "line": 53, + "line": 52, "column": 10 }, "end": { - "line": 53, - "column": 14 - }, - "identifierName": "next" - }, - "name": "next" - }, - "init": { - "type": "CallExpression", - "start": 1075, - "end": 1094, - "loc": { - "start": { - "line": 53, - "column": 17 - }, - "end": { - "line": 53, + "line": 52, "column": 36 } }, - "callee": { - "type": "MemberExpression", - "start": 1075, - "end": 1092, + "id": { + "type": "Identifier", + "start": 1059, + "end": 1063, "loc": { "start": { - "line": 53, + "line": 52, + "column": 10 + }, + "end": { + "line": 52, + "column": 14 + }, + "identifierName": "next" + }, + "name": "next" + }, + "init": { + "type": "CallExpression", + "start": 1066, + "end": 1085, + "loc": { + "start": { + "line": 52, "column": 17 }, "end": { - "line": 53, - "column": 34 + "line": 52, + "column": 36 } }, - "object": { + "callee": { "type": "MemberExpression", - "start": 1075, - "end": 1087, + "start": 1066, + "end": 1083, "loc": { "start": { - "line": 53, + "line": 52, "column": 17 }, "end": { - "line": 53, - "column": 29 + "line": 52, + "column": 34 } }, "object": { - "type": "ThisExpression", - "start": 1075, - "end": 1079, + "type": "MemberExpression", + "start": 1066, + "end": 1078, "loc": { "start": { - "line": 53, + "line": 52, "column": 17 }, "end": { - "line": 53, - "column": 21 + "line": 52, + "column": 29 } - } + }, + "object": { + "type": "ThisExpression", + "start": 1066, + "end": 1070, + "loc": { + "start": { + "line": 52, + "column": 17 + }, + "end": { + "line": 52, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "start": 1071, + "end": 1078, + "loc": { + "start": { + "line": 52, + "column": 22 + }, + "end": { + "line": 52, + "column": 29 + }, + "identifierName": "current" + }, + "name": "current" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 1080, - "end": 1087, + "start": 1079, + "end": 1083, "loc": { "start": { - "line": 53, - "column": 22 + "line": 52, + "column": 30 }, "end": { - "line": 53, - "column": 29 + "line": 52, + "column": 34 }, - "identifierName": "current" + "identifierName": "next" }, - "name": "current" + "name": "next" }, "computed": false }, - "property": { - "type": "Identifier", - "start": 1088, - "end": 1092, - "loc": { - "start": { - "line": 53, - "column": 30 - }, - "end": { - "line": 53, - "column": 34 - }, - "identifierName": "next" - }, - "name": "next" - }, - "computed": false - }, - "arguments": [] + "arguments": [] + } } - } - ], - "kind": "const" - }, - { - "type": "IfStatement", - "start": 1100, - "end": 1178, - "loc": { - "start": { - "line": 54, - "column": 4 - }, - "end": { - "line": 56, - "column": 5 - } + ], + "kind": "const" }, - "test": { - "type": "CallExpression", - "start": 1104, - "end": 1129, + { + "type": "IfStatement", + "start": 1091, + "end": 1169, "loc": { "start": { - "line": 54, - "column": 8 - }, - "end": { - "line": 54, - "column": 33 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1104, - "end": 1114, - "loc": { - "start": { - "line": 54, - "column": 8 - }, - "end": { - "line": 54, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 1104, - "end": 1108, - "loc": { - "start": { - "line": 54, - "column": 8 - }, - "end": { - "line": 54, - "column": 12 - }, - "identifierName": "next" - }, - "name": "next" - }, - "property": { - "type": "Identifier", - "start": 1109, - "end": 1114, - "loc": { - "start": { - "line": 54, - "column": 13 - }, - "end": { - "line": 54, - "column": 18 - }, - "identifierName": "equal" - }, - "name": "equal" + "line": 53, + "column": 4 }, - "computed": false + "end": { + "line": 55, + "column": 5 + } }, - "arguments": [ - { + "test": { + "type": "CallExpression", + "start": 1095, + "end": 1120, + "loc": { + "start": { + "line": 53, + "column": 8 + }, + "end": { + "line": 53, + "column": 33 + } + }, + "callee": { "type": "MemberExpression", - "start": 1115, - "end": 1128, + "start": 1095, + "end": 1105, "loc": { "start": { - "line": 54, - "column": 19 + "line": 53, + "column": 8 }, "end": { - "line": 54, - "column": 32 + "line": 53, + "column": 18 } }, "object": { - "type": "ThisExpression", - "start": 1115, - "end": 1119, + "type": "Identifier", + "start": 1095, + "end": 1099, "loc": { "start": { - "line": 54, - "column": 19 + "line": 53, + "column": 8 }, "end": { - "line": 54, - "column": 23 - } - } + "line": 53, + "column": 12 + }, + "identifierName": "next" + }, + "name": "next" }, "property": { "type": "Identifier", - "start": 1120, - "end": 1128, + "start": 1100, + "end": 1105, "loc": { "start": { - "line": 54, - "column": 24 + "line": 53, + "column": 13 }, "end": { - "line": 54, - "column": 32 + "line": 53, + "column": 18 }, - "identifierName": "fullDate" + "identifierName": "equal" }, - "name": "fullDate" + "name": "equal" }, "computed": false - } - ] - }, - "consequent": { - "type": "BlockStatement", - "start": 1131, - "end": 1178, - "loc": { - "start": { - "line": 54, - "column": 35 }, - "end": { - "line": 56, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 1139, - "end": 1172, - "loc": { - "start": { - "line": 55, - "column": 6 + "arguments": [ + { + "type": "MemberExpression", + "start": 1106, + "end": 1119, + "loc": { + "start": { + "line": 53, + "column": 19 + }, + "end": { + "line": 53, + "column": 32 + } }, - "end": { - "line": 55, - "column": 39 - } + "object": { + "type": "ThisExpression", + "start": 1106, + "end": 1110, + "loc": { + "start": { + "line": 53, + "column": 19 + }, + "end": { + "line": 53, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "start": 1111, + "end": 1119, + "loc": { + "start": { + "line": 53, + "column": 24 + }, + "end": { + "line": 53, + "column": 32 + }, + "identifierName": "fullDate" + }, + "name": "fullDate" + }, + "computed": false + } + ] + }, + "consequent": { + "type": "BlockStatement", + "start": 1122, + "end": 1169, + "loc": { + "start": { + "line": 53, + "column": 35 }, - "argument": { - "type": "ObjectExpression", - "start": 1146, - "end": 1171, + "end": { + "line": 55, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1130, + "end": 1163, "loc": { "start": { - "line": 55, - "column": 13 + "line": 54, + "column": 6 }, "end": { - "line": 55, - "column": 38 + "line": 54, + "column": 39 } }, - "properties": [ - { - "type": "ObjectProperty", - "start": 1147, - "end": 1158, - "loc": { - "start": { - "line": 55, - "column": 14 - }, - "end": { - "line": 55, - "column": 25 - } + "argument": { + "type": "ObjectExpression", + "start": 1137, + "end": 1162, + "loc": { + "start": { + "line": 54, + "column": 13 }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1147, - "end": 1152, + "end": { + "line": 54, + "column": 38 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 1138, + "end": 1149, "loc": { "start": { - "line": 55, + "line": 54, "column": 14 }, "end": { - "line": 55, - "column": 19 - }, - "identifierName": "value" - }, - "name": "value" - }, - "value": { - "type": "NullLiteral", - "start": 1154, - "end": 1158, - "loc": { - "start": { - "line": 55, - "column": 21 - }, - "end": { - "line": 55, + "line": 54, "column": 25 } - } - } - }, - { - "type": "ObjectProperty", - "start": 1160, - "end": 1170, - "loc": { - "start": { - "line": 55, - "column": 27 }, - "end": { - "line": 55, - "column": 37 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1160, - "end": 1164, - "loc": { - "start": { - "line": 55, - "column": 27 - }, - "end": { - "line": 55, - "column": 31 + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1138, + "end": 1143, + "loc": { + "start": { + "line": 54, + "column": 14 + }, + "end": { + "line": 54, + "column": 19 + }, + "identifierName": "value" }, - "identifierName": "done" + "name": "value" }, - "name": "done" + "value": { + "type": "NullLiteral", + "start": 1145, + "end": 1149, + "loc": { + "start": { + "line": 54, + "column": 21 + }, + "end": { + "line": 54, + "column": 25 + } + } + } }, - "value": { - "type": "BooleanLiteral", - "start": 1166, - "end": 1170, + { + "type": "ObjectProperty", + "start": 1151, + "end": 1161, "loc": { "start": { - "line": 55, - "column": 33 + "line": 54, + "column": 27 }, "end": { - "line": 55, + "line": 54, "column": 37 } }, - "value": true + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1151, + "end": 1155, + "loc": { + "start": { + "line": 54, + "column": 27 + }, + "end": { + "line": 54, + "column": 31 + }, + "identifierName": "done" + }, + "name": "done" + }, + "value": { + "type": "BooleanLiteral", + "start": 1157, + "end": 1161, + "loc": { + "start": { + "line": 54, + "column": 33 + }, + "end": { + "line": 54, + "column": 37 + } + }, + "value": true + } } - } - ] + ] + } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ExpressionStatement", - "start": 1183, - "end": 1203, - "loc": { - "start": { - "line": 57, - "column": 4 + ], + "directives": [] }, - "end": { - "line": 57, - "column": 24 - } + "alternate": null }, - "expression": { - "type": "AssignmentExpression", - "start": 1183, - "end": 1202, + { + "type": "ExpressionStatement", + "start": 1174, + "end": 1194, "loc": { "start": { - "line": 57, + "line": 56, "column": 4 }, "end": { - "line": 57, - "column": 23 + "line": 56, + "column": 24 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1183, - "end": 1195, + "expression": { + "type": "AssignmentExpression", + "start": 1174, + "end": 1193, "loc": { "start": { - "line": 57, + "line": 56, "column": 4 }, "end": { - "line": 57, - "column": 16 + "line": 56, + "column": 23 } }, - "object": { - "type": "ThisExpression", - "start": 1183, - "end": 1187, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1174, + "end": 1186, "loc": { "start": { - "line": 57, + "line": 56, "column": 4 }, "end": { - "line": 57, - "column": 8 - } - } - }, - "property": { - "type": "Identifier", - "start": 1188, - "end": 1195, - "loc": { - "start": { - "line": 57, - "column": 9 - }, - "end": { - "line": 57, + "line": 56, "column": 16 - }, - "identifierName": "current" - }, - "name": "current" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 1198, - "end": 1202, - "loc": { - "start": { - "line": 57, - "column": 19 - }, - "end": { - "line": 57, - "column": 23 - }, - "identifierName": "next" - }, - "name": "next" - } - } - }, - { - "type": "ReturnStatement", - "start": 1208, - "end": 1242, - "loc": { - "start": { - "line": 58, - "column": 4 - }, - "end": { - "line": 58, - "column": 38 - } - }, - "argument": { - "type": "ObjectExpression", - "start": 1215, - "end": 1241, - "loc": { - "start": { - "line": 58, - "column": 11 - }, - "end": { - "line": 58, - "column": 37 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 1216, - "end": 1227, - "loc": { - "start": { - "line": 58, - "column": 12 - }, - "end": { - "line": 58, - "column": 23 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1216, - "end": 1221, + "object": { + "type": "ThisExpression", + "start": 1174, + "end": 1178, "loc": { "start": { - "line": 58, - "column": 12 + "line": 56, + "column": 4 }, "end": { - "line": 58, - "column": 17 - }, - "identifierName": "value" - }, - "name": "value" + "line": 56, + "column": 8 + } + } }, - "value": { + "property": { "type": "Identifier", - "start": 1223, - "end": 1227, + "start": 1179, + "end": 1186, "loc": { "start": { - "line": 58, - "column": 19 + "line": 56, + "column": 9 }, "end": { - "line": 58, - "column": 23 + "line": 56, + "column": 16 }, - "identifierName": "next" + "identifierName": "current" }, - "name": "next" - } + "name": "current" + }, + "computed": false }, - { - "type": "ObjectProperty", - "start": 1229, - "end": 1240, + "right": { + "type": "Identifier", + "start": 1189, + "end": 1193, "loc": { "start": { - "line": 58, - "column": 25 + "line": 56, + "column": 19 }, "end": { - "line": 58, - "column": 36 - } + "line": 56, + "column": 23 + }, + "identifierName": "next" }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1229, - "end": 1233, + "name": "next" + } + } + }, + { + "type": "ReturnStatement", + "start": 1199, + "end": 1233, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 38 + } + }, + "argument": { + "type": "ObjectExpression", + "start": 1206, + "end": 1232, + "loc": { + "start": { + "line": 57, + "column": 11 + }, + "end": { + "line": 57, + "column": 37 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 1207, + "end": 1218, "loc": { "start": { - "line": 58, - "column": 25 + "line": 57, + "column": 12 }, "end": { - "line": 58, - "column": 29 + "line": 57, + "column": 23 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1207, + "end": 1212, + "loc": { + "start": { + "line": 57, + "column": 12 + }, + "end": { + "line": 57, + "column": 17 + }, + "identifierName": "value" }, - "identifierName": "done" + "name": "value" }, - "name": "done" + "value": { + "type": "Identifier", + "start": 1214, + "end": 1218, + "loc": { + "start": { + "line": 57, + "column": 19 + }, + "end": { + "line": 57, + "column": 23 + }, + "identifierName": "next" + }, + "name": "next" + } }, - "value": { - "type": "BooleanLiteral", - "start": 1235, - "end": 1240, + { + "type": "ObjectProperty", + "start": 1220, + "end": 1231, "loc": { "start": { - "line": 58, - "column": 31 + "line": 57, + "column": 25 }, "end": { - "line": 58, + "line": 57, "column": 36 } }, - "value": false + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1220, + "end": 1224, + "loc": { + "start": { + "line": 57, + "column": 25 + }, + "end": { + "line": 57, + "column": 29 + }, + "identifierName": "done" + }, + "name": "done" + }, + "value": { + "type": "BooleanLiteral", + "start": 1226, + "end": 1231, + "loc": { + "start": { + "line": 57, + "column": 31 + }, + "end": { + "line": 57, + "column": 36 + } + }, + "value": false + } } - } - ] + ] + } } - } - ], - "directives": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Move to the next position in the iterator or end the iteration.\n * @return {{value: null, done: boolean}|{value: CalendarRound, done: boolean}}\n ", - "start": 777, - "end": 937, - "loc": { - "start": { - "line": 44, - "column": 2 - }, - "end": { - "line": 47, - "column": 5 + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Move to the next position in the iterator or end the iteration.\n * @return {{value: null, done: boolean}|{value: CalendarRound, done: boolean}}\n ", + "start": 768, + "end": 928, + "loc": { + "start": { + "line": 43, + "column": 2 + }, + "end": { + "line": 46, + "column": 5 + } } } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Used to iterate through the entire cycle of 18,980 days for the full\n * permutation of Haab and 260-day count.\n * @ignore\n ", + "start": 31, + "end": 163, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 7, + "column": 3 } - ] + } } - ] + ], + "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Used to iterate through the entire cycle of 18,980 days for the full\n * permutation of Haab and 260-day count.\n * @ignore\n ", - "start": 57, - "end": 189, + "start": 31, + "end": 163, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 8, + "line": 7, "column": 3 } } } ] - }, - { - "type": "ExpressionStatement", - "start": 1250, - "end": 1288, - "loc": { - "start": { - "line": 62, - "column": 0 - }, - "end": { - "line": 62, - "column": 38 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1250, - "end": 1288, - "loc": { - "start": { - "line": 62, - "column": 0 - }, - "end": { - "line": 62, - "column": 38 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1250, - "end": 1264, - "loc": { - "start": { - "line": 62, - "column": 0 - }, - "end": { - "line": 62, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 1250, - "end": 1256, - "loc": { - "start": { - "line": 62, - "column": 0 - }, - "end": { - "line": 62, - "column": 6 - }, - "identifierName": "module" - }, - "name": "module" - }, - "property": { - "type": "Identifier", - "start": 1257, - "end": 1264, - "loc": { - "start": { - "line": 62, - "column": 7 - }, - "end": { - "line": 62, - "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 1267, - "end": 1288, - "loc": { - "start": { - "line": 62, - "column": 17 - }, - "end": { - "line": 62, - "column": 38 - }, - "identifierName": "CalendarRoundIterator" - }, - "name": "CalendarRoundIterator" - } - } } ], "directives": [] }, "comments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, { "type": "CommentBlock", "value": "*\n * Used to iterate through the entire cycle of 18,980 days for the full\n * permutation of Haab and 260-day count.\n * @ignore\n ", - "start": 57, - "end": 189, + "start": 31, + "end": 163, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 8, + "line": 7, "column": 3 } } }, { "type": "CommentBlock", - "value": "*\n *\n * @param {CalendarRound} fullDate\n ", - "start": 222, - "end": 273, + "value": "*\n *\n * @param {CalendarRound} newDate\n ", + "start": 211, + "end": 261, "loc": { "start": { - "line": 10, + "line": 9, "column": 2 }, "end": { - "line": 13, + "line": 12, "column": 5 } } @@ -2644,15 +2485,15 @@ { "type": "CommentBlock", "value": "*\n * @type {CalendarRound}\n ", - "start": 303, - "end": 343, + "start": 291, + "end": 331, "loc": { "start": { - "line": 15, + "line": 14, "column": 4 }, "end": { - "line": 17, + "line": 16, "column": 7 } } @@ -2660,15 +2501,15 @@ { "type": "CommentBlock", "value": "*\n * @type boolean\n ", - "start": 379, - "end": 411, + "start": 367, + "end": 399, "loc": { "start": { - "line": 20, + "line": 19, "column": 4 }, "end": { - "line": 22, + "line": 21, "column": 7 } } @@ -2676,125 +2517,57 @@ { "type": "CommentBlock", "value": "*\n * @type {CalendarRound}\n ", - "start": 541, - "end": 581, + "start": 532, + "end": 572, "loc": { "start": { - "line": 29, + "line": 28, "column": 4 }, "end": { - "line": 31, + "line": 30, "column": 7 } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Reset this iterator so that it can be reused.\n ", - "start": 637, - "end": 697, - "loc": { - "start": { - "line": 36, - "column": 2 - }, - "end": { - "line": 38, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Move to the next position in the iterator or end the iteration.\n * @return {{value: null, done: boolean}|{value: CalendarRound, done: boolean}}\n ", - "start": 777, - "end": 937, - "loc": { - "start": { - "line": 44, - "column": 2 - }, - "end": { - "line": 47, - "column": 5 - } - } - } - ], - "tokens": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 15, - "end": 20, + } + }, + { + "type": "CommentBlock", + "value": "*\n * Reset this iterator so that it can be reused.\n ", + "start": 628, + "end": 688, "loc": { "start": { - "line": 2, - "column": 0 + "line": 35, + "column": 2 }, "end": { - "line": 2, + "line": 37, "column": 5 } } }, { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 21, - "end": 22, + "type": "CommentBlock", + "value": "*\n * Move to the next position in the iterator or end the iteration.\n * @return {{value: null, done: boolean}|{value: CalendarRound, done: boolean}}\n ", + "start": 768, + "end": 928, "loc": { "start": { - "line": 2, - "column": 6 + "line": 43, + "column": 2 }, "end": { - "line": 2, - "column": 7 + "line": 46, + "column": 5 } } - }, + } + ], + "tokens": [ { "type": { - "label": "name", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2802,27 +2575,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "origin", - "start": 22, - "end": 28, + "value": "import", + "start": 0, + "end": 6, "loc": { "start": { - "line": 2, - "column": 7 + "line": 1, + "column": 0 }, "end": { - "line": 2, - "column": 13 + "line": 1, + "column": 6 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2830,49 +2604,49 @@ "postfix": false, "binop": null }, - "start": 28, - "end": 29, + "value": "cr", + "start": 7, + "end": 9, "loc": { "start": { - "line": 2, - "column": 13 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 14 + "line": 1, + "column": 9 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 30, - "end": 31, + "value": "from", + "start": 10, + "end": 14, "loc": { "start": { - "line": 2, - "column": 15 + "line": 1, + "column": 10 }, "end": { - "line": 2, - "column": 16 + "line": 1, + "column": 14 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2880,77 +2654,69 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "require", - "start": 32, - "end": 39, + "value": "../cr/index", + "start": 15, + "end": 28, "loc": { "start": { - "line": 2, - "column": 17 + "line": 1, + "column": 15 }, "end": { - "line": 2, - "column": 24 + "line": 1, + "column": 28 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 39, - "end": 40, + "start": 28, + "end": 29, "loc": { "start": { - "line": 2, - "column": 24 + "line": 1, + "column": 28 }, "end": { - "line": 2, - "column": 25 + "line": 1, + "column": 29 } } }, { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "../cr/index", - "start": 40, - "end": 53, + "type": "CommentBlock", + "value": "*\n * Used to iterate through the entire cycle of 18,980 days for the full\n * permutation of Haab and 260-day count.\n * @ignore\n ", + "start": 31, + "end": 163, "loc": { "start": { - "line": 2, - "column": 25 + "line": 3, + "column": 0 }, "end": { - "line": 2, - "column": 38 + "line": 7, + "column": 3 } } }, { "type": { - "label": ")", + "label": "export", + "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -2958,24 +2724,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 53, - "end": 54, + "value": "export", + "start": 164, + "end": 170, "loc": { "start": { - "line": 2, - "column": 38 + "line": 8, + "column": 0 }, "end": { - "line": 2, - "column": 39 + "line": 8, + "column": 6 } } }, { "type": { - "label": ";", + "label": "default", + "keyword": "default", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -2986,32 +2755,17 @@ "binop": null, "updateContext": null }, - "start": 54, - "end": 55, - "loc": { - "start": { - "line": 2, - "column": 39 - }, - "end": { - "line": 2, - "column": 40 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Used to iterate through the entire cycle of 18,980 days for the full\n * permutation of Haab and 260-day count.\n * @ignore\n ", - "start": 57, - "end": 189, + "value": "default", + "start": 171, + "end": 178, "loc": { "start": { - "line": 4, - "column": 0 + "line": 8, + "column": 7 }, "end": { "line": 8, - "column": 3 + "column": 14 } } }, @@ -3030,16 +2784,16 @@ "updateContext": null }, "value": "class", - "start": 190, - "end": 195, + "start": 179, + "end": 184, "loc": { "start": { - "line": 9, - "column": 0 + "line": 8, + "column": 15 }, "end": { - "line": 9, - "column": 5 + "line": 8, + "column": 20 } } }, @@ -3056,16 +2810,16 @@ "binop": null }, "value": "CalendarRoundIterator", - "start": 196, - "end": 217, + "start": 185, + "end": 206, "loc": { "start": { - "line": 9, - "column": 6 + "line": 8, + "column": 21 }, "end": { - "line": 9, - "column": 27 + "line": 8, + "column": 42 } } }, @@ -3081,31 +2835,31 @@ "postfix": false, "binop": null }, - "start": 218, - "end": 219, + "start": 207, + "end": 208, "loc": { "start": { - "line": 9, - "column": 28 + "line": 8, + "column": 43 }, "end": { - "line": 9, - "column": 29 + "line": 8, + "column": 44 } } }, { "type": "CommentBlock", - "value": "*\n *\n * @param {CalendarRound} fullDate\n ", - "start": 222, - "end": 273, + "value": "*\n *\n * @param {CalendarRound} newDate\n ", + "start": 211, + "end": 261, "loc": { "start": { - "line": 10, + "line": 9, "column": 2 }, "end": { - "line": 13, + "line": 12, "column": 5 } } @@ -3123,15 +2877,15 @@ "binop": null }, "value": "constructor", - "start": 276, - "end": 287, + "start": 264, + "end": 275, "loc": { "start": { - "line": 14, + "line": 13, "column": 2 }, "end": { - "line": 14, + "line": 13, "column": 13 } } @@ -3148,15 +2902,15 @@ "postfix": false, "binop": null }, - "start": 287, - "end": 288, + "start": 275, + "end": 276, "loc": { "start": { - "line": 14, + "line": 13, "column": 13 }, "end": { - "line": 14, + "line": 13, "column": 14 } } @@ -3174,15 +2928,15 @@ "binop": null }, "value": "newDate", - "start": 288, - "end": 295, + "start": 276, + "end": 283, "loc": { "start": { - "line": 14, + "line": 13, "column": 14 }, "end": { - "line": 14, + "line": 13, "column": 21 } } @@ -3199,15 +2953,15 @@ "postfix": false, "binop": null }, - "start": 295, - "end": 296, + "start": 283, + "end": 284, "loc": { "start": { - "line": 14, + "line": 13, "column": 21 }, "end": { - "line": 14, + "line": 13, "column": 22 } } @@ -3224,15 +2978,15 @@ "postfix": false, "binop": null }, - "start": 297, - "end": 298, + "start": 285, + "end": 286, "loc": { "start": { - "line": 14, + "line": 13, "column": 23 }, "end": { - "line": 14, + "line": 13, "column": 24 } } @@ -3240,15 +2994,15 @@ { "type": "CommentBlock", "value": "*\n * @type {CalendarRound}\n ", - "start": 303, - "end": 343, + "start": 291, + "end": 331, "loc": { "start": { - "line": 15, + "line": 14, "column": 4 }, "end": { - "line": 17, + "line": 16, "column": 7 } } @@ -3268,15 +3022,15 @@ "updateContext": null }, "value": "this", - "start": 348, - "end": 352, + "start": 336, + "end": 340, "loc": { "start": { - "line": 18, + "line": 17, "column": 4 }, "end": { - "line": 18, + "line": 17, "column": 8 } } @@ -3294,15 +3048,15 @@ "binop": null, "updateContext": null }, - "start": 352, - "end": 353, + "start": 340, + "end": 341, "loc": { "start": { - "line": 18, + "line": 17, "column": 8 }, "end": { - "line": 18, + "line": 17, "column": 9 } } @@ -3320,15 +3074,15 @@ "binop": null }, "value": "current", - "start": 353, - "end": 360, + "start": 341, + "end": 348, "loc": { "start": { - "line": 18, + "line": 17, "column": 9 }, "end": { - "line": 18, + "line": 17, "column": 16 } } @@ -3347,15 +3101,15 @@ "updateContext": null }, "value": "=", - "start": 361, - "end": 362, + "start": 349, + "end": 350, "loc": { "start": { - "line": 18, + "line": 17, "column": 17 }, "end": { - "line": 18, + "line": 17, "column": 18 } } @@ -3373,15 +3127,15 @@ "binop": null }, "value": "undefined", - "start": 363, - "end": 372, + "start": 351, + "end": 360, "loc": { "start": { - "line": 18, + "line": 17, "column": 19 }, "end": { - "line": 18, + "line": 17, "column": 28 } } @@ -3399,15 +3153,15 @@ "binop": null, "updateContext": null }, - "start": 372, - "end": 373, + "start": 360, + "end": 361, "loc": { "start": { - "line": 18, + "line": 17, "column": 28 }, "end": { - "line": 18, + "line": 17, "column": 29 } } @@ -3415,15 +3169,15 @@ { "type": "CommentBlock", "value": "*\n * @type boolean\n ", - "start": 379, - "end": 411, + "start": 367, + "end": 399, "loc": { "start": { - "line": 20, + "line": 19, "column": 4 }, "end": { - "line": 22, + "line": 21, "column": 7 } } @@ -3443,15 +3197,15 @@ "updateContext": null }, "value": "this", - "start": 416, - "end": 420, + "start": 404, + "end": 408, "loc": { "start": { - "line": 23, + "line": 22, "column": 4 }, "end": { - "line": 23, + "line": 22, "column": 8 } } @@ -3469,15 +3223,15 @@ "binop": null, "updateContext": null }, - "start": 420, - "end": 421, + "start": 408, + "end": 409, "loc": { "start": { - "line": 23, + "line": 22, "column": 8 }, "end": { - "line": 23, + "line": 22, "column": 9 } } @@ -3495,15 +3249,15 @@ "binop": null }, "value": "is_first", - "start": 421, - "end": 429, + "start": 409, + "end": 417, "loc": { "start": { - "line": 23, + "line": 22, "column": 9 }, "end": { - "line": 23, + "line": 22, "column": 17 } } @@ -3522,15 +3276,15 @@ "updateContext": null }, "value": "=", - "start": 430, - "end": 431, + "start": 418, + "end": 419, "loc": { "start": { - "line": 23, + "line": 22, "column": 18 }, "end": { - "line": 23, + "line": 22, "column": 19 } } @@ -3548,15 +3302,15 @@ "binop": null }, "value": "undefined", - "start": 432, - "end": 441, + "start": 420, + "end": 429, "loc": { "start": { - "line": 23, + "line": 22, "column": 20 }, "end": { - "line": 23, + "line": 22, "column": 29 } } @@ -3574,15 +3328,15 @@ "binop": null, "updateContext": null }, - "start": 441, - "end": 442, + "start": 429, + "end": 430, "loc": { "start": { - "line": 23, + "line": 22, "column": 29 }, "end": { - "line": 23, + "line": 22, "column": 30 } } @@ -3602,15 +3356,15 @@ "updateContext": null }, "value": "let", - "start": 448, - "end": 451, + "start": 436, + "end": 439, "loc": { "start": { - "line": 25, + "line": 24, "column": 4 }, "end": { - "line": 25, + "line": 24, "column": 7 } } @@ -3628,15 +3382,15 @@ "binop": null }, "value": "fullDate", - "start": 452, - "end": 460, + "start": 440, + "end": 448, "loc": { "start": { - "line": 25, + "line": 24, "column": 8 }, "end": { - "line": 25, + "line": 24, "column": 16 } } @@ -3655,15 +3409,15 @@ "updateContext": null }, "value": "=", - "start": 461, - "end": 462, + "start": 449, + "end": 450, "loc": { "start": { - "line": 25, + "line": 24, "column": 17 }, "end": { - "line": 25, + "line": 24, "column": 18 } } @@ -3681,15 +3435,15 @@ "binop": null }, "value": "newDate", - "start": 463, - "end": 470, + "start": 451, + "end": 458, "loc": { "start": { - "line": 25, + "line": 24, "column": 19 }, "end": { - "line": 25, + "line": 24, "column": 26 } } @@ -3707,15 +3461,15 @@ "binop": null, "updateContext": null }, - "start": 470, - "end": 471, + "start": 458, + "end": 459, "loc": { "start": { - "line": 25, + "line": 24, "column": 26 }, "end": { - "line": 25, + "line": 24, "column": 27 } } @@ -3735,15 +3489,15 @@ "updateContext": null }, "value": "if", - "start": 476, - "end": 478, + "start": 464, + "end": 466, "loc": { "start": { - "line": 26, + "line": 25, "column": 4 }, "end": { - "line": 26, + "line": 25, "column": 6 } } @@ -3760,15 +3514,15 @@ "postfix": false, "binop": null }, - "start": 479, - "end": 480, + "start": 467, + "end": 468, "loc": { "start": { - "line": 26, + "line": 25, "column": 7 }, "end": { - "line": 26, + "line": 25, "column": 8 } } @@ -3786,15 +3540,15 @@ "binop": null }, "value": "fullDate", - "start": 480, - "end": 488, + "start": 468, + "end": 476, "loc": { "start": { - "line": 26, + "line": 25, "column": 8 }, "end": { - "line": 26, + "line": 25, "column": 16 } } @@ -3813,15 +3567,15 @@ "updateContext": null }, "value": "===", - "start": 489, - "end": 492, + "start": 477, + "end": 480, "loc": { "start": { - "line": 26, + "line": 25, "column": 17 }, "end": { - "line": 26, + "line": 25, "column": 20 } } @@ -3839,15 +3593,15 @@ "binop": null }, "value": "undefined", - "start": 493, - "end": 502, + "start": 481, + "end": 490, "loc": { "start": { - "line": 26, + "line": 25, "column": 21 }, "end": { - "line": 26, + "line": 25, "column": 30 } } @@ -3864,15 +3618,15 @@ "postfix": false, "binop": null }, - "start": 502, - "end": 503, + "start": 490, + "end": 491, "loc": { "start": { - "line": 26, + "line": 25, "column": 30 }, "end": { - "line": 26, + "line": 25, "column": 31 } } @@ -3889,15 +3643,15 @@ "postfix": false, "binop": null }, - "start": 504, - "end": 505, + "start": 492, + "end": 493, "loc": { "start": { - "line": 26, + "line": 25, "column": 32 }, "end": { - "line": 26, + "line": 25, "column": 33 } } @@ -3915,15 +3669,15 @@ "binop": null }, "value": "fullDate", - "start": 512, - "end": 520, + "start": 500, + "end": 508, "loc": { "start": { - "line": 27, + "line": 26, "column": 6 }, "end": { - "line": 27, + "line": 26, "column": 14 } } @@ -3942,15 +3696,15 @@ "updateContext": null }, "value": "=", - "start": 521, - "end": 522, + "start": 509, + "end": 510, "loc": { "start": { - "line": 27, + "line": 26, "column": 15 }, "end": { - "line": 27, + "line": 26, "column": 16 } } @@ -3967,17 +3721,69 @@ "postfix": false, "binop": null }, - "value": "origin", - "start": 523, - "end": 529, + "value": "cr", + "start": 511, + "end": 513, "loc": { "start": { - "line": 27, + "line": 26, "column": 17 }, "end": { - "line": 27, - "column": 23 + "line": 26, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 513, + "end": 514, + "loc": { + "start": { + "line": 26, + "column": 19 + }, + "end": { + "line": 26, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "origin", + "start": 514, + "end": 520, + "loc": { + "start": { + "line": 26, + "column": 20 + }, + "end": { + "line": 26, + "column": 26 } } }, @@ -3994,16 +3800,16 @@ "binop": null, "updateContext": null }, - "start": 529, - "end": 530, + "start": 520, + "end": 521, "loc": { "start": { - "line": 27, - "column": 23 + "line": 26, + "column": 26 }, "end": { - "line": 27, - "column": 24 + "line": 26, + "column": 27 } } }, @@ -4019,15 +3825,15 @@ "postfix": false, "binop": null }, - "start": 535, - "end": 536, + "start": 526, + "end": 527, "loc": { "start": { - "line": 28, + "line": 27, "column": 4 }, "end": { - "line": 28, + "line": 27, "column": 5 } } @@ -4035,15 +3841,15 @@ { "type": "CommentBlock", "value": "*\n * @type {CalendarRound}\n ", - "start": 541, - "end": 581, + "start": 532, + "end": 572, "loc": { "start": { - "line": 29, + "line": 28, "column": 4 }, "end": { - "line": 31, + "line": 30, "column": 7 } } @@ -4063,15 +3869,15 @@ "updateContext": null }, "value": "this", - "start": 586, - "end": 590, + "start": 577, + "end": 581, "loc": { "start": { - "line": 32, + "line": 31, "column": 4 }, "end": { - "line": 32, + "line": 31, "column": 8 } } @@ -4089,15 +3895,15 @@ "binop": null, "updateContext": null }, - "start": 590, - "end": 591, + "start": 581, + "end": 582, "loc": { "start": { - "line": 32, + "line": 31, "column": 8 }, "end": { - "line": 32, + "line": 31, "column": 9 } } @@ -4115,15 +3921,15 @@ "binop": null }, "value": "fullDate", - "start": 591, - "end": 599, + "start": 582, + "end": 590, "loc": { "start": { - "line": 32, + "line": 31, "column": 9 }, "end": { - "line": 32, + "line": 31, "column": 17 } } @@ -4142,15 +3948,15 @@ "updateContext": null }, "value": "=", - "start": 600, - "end": 601, + "start": 591, + "end": 592, "loc": { "start": { - "line": 32, + "line": 31, "column": 18 }, "end": { - "line": 32, + "line": 31, "column": 19 } } @@ -4168,15 +3974,15 @@ "binop": null }, "value": "fullDate", - "start": 602, - "end": 610, + "start": 593, + "end": 601, "loc": { "start": { - "line": 32, + "line": 31, "column": 20 }, "end": { - "line": 32, + "line": 31, "column": 28 } } @@ -4194,15 +4000,15 @@ "binop": null, "updateContext": null }, - "start": 610, - "end": 611, + "start": 601, + "end": 602, "loc": { "start": { - "line": 32, + "line": 31, "column": 28 }, "end": { - "line": 32, + "line": 31, "column": 29 } } @@ -4222,15 +4028,15 @@ "updateContext": null }, "value": "this", - "start": 616, - "end": 620, + "start": 607, + "end": 611, "loc": { "start": { - "line": 33, + "line": 32, "column": 4 }, "end": { - "line": 33, + "line": 32, "column": 8 } } @@ -4248,15 +4054,15 @@ "binop": null, "updateContext": null }, - "start": 620, - "end": 621, + "start": 611, + "end": 612, "loc": { "start": { - "line": 33, + "line": 32, "column": 8 }, "end": { - "line": 33, + "line": 32, "column": 9 } } @@ -4274,15 +4080,15 @@ "binop": null }, "value": "reset", - "start": 621, - "end": 626, + "start": 612, + "end": 617, "loc": { "start": { - "line": 33, + "line": 32, "column": 9 }, "end": { - "line": 33, + "line": 32, "column": 14 } } @@ -4299,15 +4105,15 @@ "postfix": false, "binop": null }, - "start": 626, - "end": 627, + "start": 617, + "end": 618, "loc": { "start": { - "line": 33, + "line": 32, "column": 14 }, "end": { - "line": 33, + "line": 32, "column": 15 } } @@ -4324,15 +4130,15 @@ "postfix": false, "binop": null }, - "start": 627, - "end": 628, + "start": 618, + "end": 619, "loc": { "start": { - "line": 33, + "line": 32, "column": 15 }, "end": { - "line": 33, + "line": 32, "column": 16 } } @@ -4350,15 +4156,15 @@ "binop": null, "updateContext": null }, - "start": 628, - "end": 629, + "start": 619, + "end": 620, "loc": { "start": { - "line": 33, + "line": 32, "column": 16 }, "end": { - "line": 33, + "line": 32, "column": 17 } } @@ -4375,15 +4181,15 @@ "postfix": false, "binop": null }, - "start": 632, - "end": 633, + "start": 623, + "end": 624, "loc": { "start": { - "line": 34, + "line": 33, "column": 2 }, "end": { - "line": 34, + "line": 33, "column": 3 } } @@ -4391,15 +4197,15 @@ { "type": "CommentBlock", "value": "*\n * Reset this iterator so that it can be reused.\n ", - "start": 637, - "end": 697, + "start": 628, + "end": 688, "loc": { "start": { - "line": 36, + "line": 35, "column": 2 }, "end": { - "line": 38, + "line": 37, "column": 5 } } @@ -4417,15 +4223,15 @@ "binop": null }, "value": "reset", - "start": 700, - "end": 705, + "start": 691, + "end": 696, "loc": { "start": { - "line": 39, + "line": 38, "column": 2 }, "end": { - "line": 39, + "line": 38, "column": 7 } } @@ -4442,15 +4248,15 @@ "postfix": false, "binop": null }, - "start": 705, - "end": 706, + "start": 696, + "end": 697, "loc": { "start": { - "line": 39, + "line": 38, "column": 7 }, "end": { - "line": 39, + "line": 38, "column": 8 } } @@ -4467,15 +4273,15 @@ "postfix": false, "binop": null }, - "start": 706, - "end": 707, + "start": 697, + "end": 698, "loc": { "start": { - "line": 39, + "line": 38, "column": 8 }, "end": { - "line": 39, + "line": 38, "column": 9 } } @@ -4492,15 +4298,15 @@ "postfix": false, "binop": null }, - "start": 708, - "end": 709, + "start": 699, + "end": 700, "loc": { "start": { - "line": 39, + "line": 38, "column": 10 }, "end": { - "line": 39, + "line": 38, "column": 11 } } @@ -4520,15 +4326,15 @@ "updateContext": null }, "value": "this", - "start": 714, - "end": 718, + "start": 705, + "end": 709, "loc": { "start": { - "line": 40, + "line": 39, "column": 4 }, "end": { - "line": 40, + "line": 39, "column": 8 } } @@ -4546,15 +4352,15 @@ "binop": null, "updateContext": null }, - "start": 718, - "end": 719, + "start": 709, + "end": 710, "loc": { "start": { - "line": 40, + "line": 39, "column": 8 }, "end": { - "line": 40, + "line": 39, "column": 9 } } @@ -4572,15 +4378,15 @@ "binop": null }, "value": "current", - "start": 719, - "end": 726, + "start": 710, + "end": 717, "loc": { "start": { - "line": 40, + "line": 39, "column": 9 }, "end": { - "line": 40, + "line": 39, "column": 16 } } @@ -4599,15 +4405,15 @@ "updateContext": null }, "value": "=", - "start": 727, - "end": 728, + "start": 718, + "end": 719, "loc": { "start": { - "line": 40, + "line": 39, "column": 17 }, "end": { - "line": 40, + "line": 39, "column": 18 } } @@ -4627,15 +4433,15 @@ "updateContext": null }, "value": "this", - "start": 729, - "end": 733, + "start": 720, + "end": 724, "loc": { "start": { - "line": 40, + "line": 39, "column": 19 }, "end": { - "line": 40, + "line": 39, "column": 23 } } @@ -4653,15 +4459,15 @@ "binop": null, "updateContext": null }, - "start": 733, - "end": 734, + "start": 724, + "end": 725, "loc": { "start": { - "line": 40, + "line": 39, "column": 23 }, "end": { - "line": 40, + "line": 39, "column": 24 } } @@ -4679,15 +4485,15 @@ "binop": null }, "value": "fullDate", - "start": 734, - "end": 742, + "start": 725, + "end": 733, "loc": { "start": { - "line": 40, + "line": 39, "column": 24 }, "end": { - "line": 40, + "line": 39, "column": 32 } } @@ -4705,15 +4511,15 @@ "binop": null, "updateContext": null }, - "start": 742, - "end": 743, + "start": 733, + "end": 734, "loc": { "start": { - "line": 40, + "line": 39, "column": 32 }, "end": { - "line": 40, + "line": 39, "column": 33 } } @@ -4733,15 +4539,15 @@ "updateContext": null }, "value": "this", - "start": 748, - "end": 752, + "start": 739, + "end": 743, "loc": { "start": { - "line": 41, + "line": 40, "column": 4 }, "end": { - "line": 41, + "line": 40, "column": 8 } } @@ -4759,15 +4565,15 @@ "binop": null, "updateContext": null }, - "start": 752, - "end": 753, + "start": 743, + "end": 744, "loc": { "start": { - "line": 41, + "line": 40, "column": 8 }, "end": { - "line": 41, + "line": 40, "column": 9 } } @@ -4785,15 +4591,15 @@ "binop": null }, "value": "is_first", - "start": 753, - "end": 761, + "start": 744, + "end": 752, "loc": { "start": { - "line": 41, + "line": 40, "column": 9 }, "end": { - "line": 41, + "line": 40, "column": 17 } } @@ -4812,15 +4618,15 @@ "updateContext": null }, "value": "=", - "start": 762, - "end": 763, + "start": 753, + "end": 754, "loc": { "start": { - "line": 41, + "line": 40, "column": 18 }, "end": { - "line": 41, + "line": 40, "column": 19 } } @@ -4840,15 +4646,15 @@ "updateContext": null }, "value": "true", - "start": 764, - "end": 768, + "start": 755, + "end": 759, "loc": { "start": { - "line": 41, + "line": 40, "column": 20 }, "end": { - "line": 41, + "line": 40, "column": 24 } } @@ -4866,15 +4672,15 @@ "binop": null, "updateContext": null }, - "start": 768, - "end": 769, + "start": 759, + "end": 760, "loc": { "start": { - "line": 41, + "line": 40, "column": 24 }, "end": { - "line": 41, + "line": 40, "column": 25 } } @@ -4891,15 +4697,15 @@ "postfix": false, "binop": null }, - "start": 772, - "end": 773, + "start": 763, + "end": 764, "loc": { "start": { - "line": 42, + "line": 41, "column": 2 }, "end": { - "line": 42, + "line": 41, "column": 3 } } @@ -4907,15 +4713,15 @@ { "type": "CommentBlock", "value": "*\n * Move to the next position in the iterator or end the iteration.\n * @return {{value: null, done: boolean}|{value: CalendarRound, done: boolean}}\n ", - "start": 777, - "end": 937, + "start": 768, + "end": 928, "loc": { "start": { - "line": 44, + "line": 43, "column": 2 }, "end": { - "line": 47, + "line": 46, "column": 5 } } @@ -4933,15 +4739,15 @@ "binop": null }, "value": "next", - "start": 940, - "end": 944, + "start": 931, + "end": 935, "loc": { "start": { - "line": 48, + "line": 47, "column": 2 }, "end": { - "line": 48, + "line": 47, "column": 6 } } @@ -4958,15 +4764,15 @@ "postfix": false, "binop": null }, - "start": 944, - "end": 945, + "start": 935, + "end": 936, "loc": { "start": { - "line": 48, + "line": 47, "column": 6 }, "end": { - "line": 48, + "line": 47, "column": 7 } } @@ -4983,15 +4789,15 @@ "postfix": false, "binop": null }, - "start": 945, - "end": 946, + "start": 936, + "end": 937, "loc": { "start": { - "line": 48, + "line": 47, "column": 7 }, "end": { - "line": 48, + "line": 47, "column": 8 } } @@ -5008,15 +4814,15 @@ "postfix": false, "binop": null }, - "start": 947, - "end": 948, + "start": 938, + "end": 939, "loc": { "start": { - "line": 48, + "line": 47, "column": 9 }, "end": { - "line": 48, + "line": 47, "column": 10 } } @@ -5036,15 +4842,15 @@ "updateContext": null }, "value": "if", - "start": 953, - "end": 955, + "start": 944, + "end": 946, "loc": { "start": { - "line": 49, + "line": 48, "column": 4 }, "end": { - "line": 49, + "line": 48, "column": 6 } } @@ -5061,15 +4867,15 @@ "postfix": false, "binop": null }, - "start": 956, - "end": 957, + "start": 947, + "end": 948, "loc": { "start": { - "line": 49, + "line": 48, "column": 7 }, "end": { - "line": 49, + "line": 48, "column": 8 } } @@ -5089,15 +4895,15 @@ "updateContext": null }, "value": "this", - "start": 957, - "end": 961, + "start": 948, + "end": 952, "loc": { "start": { - "line": 49, + "line": 48, "column": 8 }, "end": { - "line": 49, + "line": 48, "column": 12 } } @@ -5115,15 +4921,15 @@ "binop": null, "updateContext": null }, - "start": 961, - "end": 962, + "start": 952, + "end": 953, "loc": { "start": { - "line": 49, + "line": 48, "column": 12 }, "end": { - "line": 49, + "line": 48, "column": 13 } } @@ -5141,15 +4947,15 @@ "binop": null }, "value": "is_first", - "start": 962, - "end": 970, + "start": 953, + "end": 961, "loc": { "start": { - "line": 49, + "line": 48, "column": 13 }, "end": { - "line": 49, + "line": 48, "column": 21 } } @@ -5166,15 +4972,15 @@ "postfix": false, "binop": null }, - "start": 970, - "end": 971, + "start": 961, + "end": 962, "loc": { "start": { - "line": 49, + "line": 48, "column": 21 }, "end": { - "line": 49, + "line": 48, "column": 22 } } @@ -5191,15 +4997,15 @@ "postfix": false, "binop": null }, - "start": 972, - "end": 973, + "start": 963, + "end": 964, "loc": { "start": { - "line": 49, + "line": 48, "column": 23 }, "end": { - "line": 49, + "line": 48, "column": 24 } } @@ -5219,15 +5025,15 @@ "updateContext": null }, "value": "this", - "start": 980, - "end": 984, + "start": 971, + "end": 975, "loc": { "start": { - "line": 50, + "line": 49, "column": 6 }, "end": { - "line": 50, + "line": 49, "column": 10 } } @@ -5245,15 +5051,15 @@ "binop": null, "updateContext": null }, - "start": 984, - "end": 985, + "start": 975, + "end": 976, "loc": { "start": { - "line": 50, + "line": 49, "column": 10 }, "end": { - "line": 50, + "line": 49, "column": 11 } } @@ -5271,15 +5077,15 @@ "binop": null }, "value": "is_first", - "start": 985, - "end": 993, + "start": 976, + "end": 984, "loc": { "start": { - "line": 50, + "line": 49, "column": 11 }, "end": { - "line": 50, + "line": 49, "column": 19 } } @@ -5298,15 +5104,15 @@ "updateContext": null }, "value": "=", - "start": 994, - "end": 995, + "start": 985, + "end": 986, "loc": { "start": { - "line": 50, + "line": 49, "column": 20 }, "end": { - "line": 50, + "line": 49, "column": 21 } } @@ -5326,15 +5132,15 @@ "updateContext": null }, "value": "false", - "start": 996, - "end": 1001, + "start": 987, + "end": 992, "loc": { "start": { - "line": 50, + "line": 49, "column": 22 }, "end": { - "line": 50, + "line": 49, "column": 27 } } @@ -5352,15 +5158,15 @@ "binop": null, "updateContext": null }, - "start": 1001, - "end": 1002, + "start": 992, + "end": 993, "loc": { "start": { - "line": 50, + "line": 49, "column": 27 }, "end": { - "line": 50, + "line": 49, "column": 28 } } @@ -5380,15 +5186,15 @@ "updateContext": null }, "value": "return", - "start": 1009, - "end": 1015, + "start": 1000, + "end": 1006, "loc": { "start": { - "line": 51, + "line": 50, "column": 6 }, "end": { - "line": 51, + "line": 50, "column": 12 } } @@ -5405,15 +5211,15 @@ "postfix": false, "binop": null }, - "start": 1016, - "end": 1017, + "start": 1007, + "end": 1008, "loc": { "start": { - "line": 51, + "line": 50, "column": 13 }, "end": { - "line": 51, + "line": 50, "column": 14 } } @@ -5431,15 +5237,15 @@ "binop": null }, "value": "value", - "start": 1017, - "end": 1022, + "start": 1008, + "end": 1013, "loc": { "start": { - "line": 51, + "line": 50, "column": 14 }, "end": { - "line": 51, + "line": 50, "column": 19 } } @@ -5457,15 +5263,15 @@ "binop": null, "updateContext": null }, - "start": 1022, - "end": 1023, + "start": 1013, + "end": 1014, "loc": { "start": { - "line": 51, + "line": 50, "column": 19 }, "end": { - "line": 51, + "line": 50, "column": 20 } } @@ -5485,15 +5291,15 @@ "updateContext": null }, "value": "this", - "start": 1024, - "end": 1028, + "start": 1015, + "end": 1019, "loc": { "start": { - "line": 51, + "line": 50, "column": 21 }, "end": { - "line": 51, + "line": 50, "column": 25 } } @@ -5511,15 +5317,15 @@ "binop": null, "updateContext": null }, - "start": 1028, - "end": 1029, + "start": 1019, + "end": 1020, "loc": { "start": { - "line": 51, + "line": 50, "column": 25 }, "end": { - "line": 51, + "line": 50, "column": 26 } } @@ -5537,15 +5343,15 @@ "binop": null }, "value": "current", - "start": 1029, - "end": 1036, + "start": 1020, + "end": 1027, "loc": { "start": { - "line": 51, + "line": 50, "column": 26 }, "end": { - "line": 51, + "line": 50, "column": 33 } } @@ -5563,15 +5369,15 @@ "binop": null, "updateContext": null }, - "start": 1036, - "end": 1037, + "start": 1027, + "end": 1028, "loc": { "start": { - "line": 51, + "line": 50, "column": 33 }, "end": { - "line": 51, + "line": 50, "column": 34 } } @@ -5589,15 +5395,15 @@ "binop": null }, "value": "done", - "start": 1038, - "end": 1042, + "start": 1029, + "end": 1033, "loc": { "start": { - "line": 51, + "line": 50, "column": 35 }, "end": { - "line": 51, + "line": 50, "column": 39 } } @@ -5615,15 +5421,15 @@ "binop": null, "updateContext": null }, - "start": 1042, - "end": 1043, + "start": 1033, + "end": 1034, "loc": { "start": { - "line": 51, + "line": 50, "column": 39 }, "end": { - "line": 51, + "line": 50, "column": 40 } } @@ -5643,15 +5449,15 @@ "updateContext": null }, "value": "false", - "start": 1044, - "end": 1049, + "start": 1035, + "end": 1040, "loc": { "start": { - "line": 51, + "line": 50, "column": 41 }, "end": { - "line": 51, + "line": 50, "column": 46 } } @@ -5668,15 +5474,15 @@ "postfix": false, "binop": null }, - "start": 1049, - "end": 1050, + "start": 1040, + "end": 1041, "loc": { "start": { - "line": 51, + "line": 50, "column": 46 }, "end": { - "line": 51, + "line": 50, "column": 47 } } @@ -5694,15 +5500,15 @@ "binop": null, "updateContext": null }, - "start": 1050, - "end": 1051, + "start": 1041, + "end": 1042, "loc": { "start": { - "line": 51, + "line": 50, "column": 47 }, "end": { - "line": 51, + "line": 50, "column": 48 } } @@ -5719,15 +5525,15 @@ "postfix": false, "binop": null }, - "start": 1056, - "end": 1057, + "start": 1047, + "end": 1048, "loc": { "start": { - "line": 52, + "line": 51, "column": 4 }, "end": { - "line": 52, + "line": 51, "column": 5 } } @@ -5747,15 +5553,15 @@ "updateContext": null }, "value": "const", - "start": 1062, - "end": 1067, + "start": 1053, + "end": 1058, "loc": { "start": { - "line": 53, + "line": 52, "column": 4 }, "end": { - "line": 53, + "line": 52, "column": 9 } } @@ -5773,15 +5579,15 @@ "binop": null }, "value": "next", - "start": 1068, - "end": 1072, + "start": 1059, + "end": 1063, "loc": { "start": { - "line": 53, + "line": 52, "column": 10 }, "end": { - "line": 53, + "line": 52, "column": 14 } } @@ -5800,15 +5606,15 @@ "updateContext": null }, "value": "=", - "start": 1073, - "end": 1074, + "start": 1064, + "end": 1065, "loc": { "start": { - "line": 53, + "line": 52, "column": 15 }, "end": { - "line": 53, + "line": 52, "column": 16 } } @@ -5828,15 +5634,15 @@ "updateContext": null }, "value": "this", - "start": 1075, - "end": 1079, + "start": 1066, + "end": 1070, "loc": { "start": { - "line": 53, + "line": 52, "column": 17 }, "end": { - "line": 53, + "line": 52, "column": 21 } } @@ -5854,15 +5660,15 @@ "binop": null, "updateContext": null }, - "start": 1079, - "end": 1080, + "start": 1070, + "end": 1071, "loc": { "start": { - "line": 53, + "line": 52, "column": 21 }, "end": { - "line": 53, + "line": 52, "column": 22 } } @@ -5880,15 +5686,15 @@ "binop": null }, "value": "current", - "start": 1080, - "end": 1087, + "start": 1071, + "end": 1078, "loc": { "start": { - "line": 53, + "line": 52, "column": 22 }, "end": { - "line": 53, + "line": 52, "column": 29 } } @@ -5906,15 +5712,15 @@ "binop": null, "updateContext": null }, - "start": 1087, - "end": 1088, + "start": 1078, + "end": 1079, "loc": { "start": { - "line": 53, + "line": 52, "column": 29 }, "end": { - "line": 53, + "line": 52, "column": 30 } } @@ -5932,15 +5738,15 @@ "binop": null }, "value": "next", - "start": 1088, - "end": 1092, + "start": 1079, + "end": 1083, "loc": { "start": { - "line": 53, + "line": 52, "column": 30 }, "end": { - "line": 53, + "line": 52, "column": 34 } } @@ -5957,15 +5763,15 @@ "postfix": false, "binop": null }, - "start": 1092, - "end": 1093, + "start": 1083, + "end": 1084, "loc": { "start": { - "line": 53, + "line": 52, "column": 34 }, "end": { - "line": 53, + "line": 52, "column": 35 } } @@ -5982,15 +5788,15 @@ "postfix": false, "binop": null }, - "start": 1093, - "end": 1094, + "start": 1084, + "end": 1085, "loc": { "start": { - "line": 53, + "line": 52, "column": 35 }, "end": { - "line": 53, + "line": 52, "column": 36 } } @@ -6008,15 +5814,15 @@ "binop": null, "updateContext": null }, - "start": 1094, - "end": 1095, + "start": 1085, + "end": 1086, "loc": { "start": { - "line": 53, + "line": 52, "column": 36 }, "end": { - "line": 53, + "line": 52, "column": 37 } } @@ -6036,15 +5842,15 @@ "updateContext": null }, "value": "if", - "start": 1100, - "end": 1102, + "start": 1091, + "end": 1093, "loc": { "start": { - "line": 54, + "line": 53, "column": 4 }, "end": { - "line": 54, + "line": 53, "column": 6 } } @@ -6061,15 +5867,15 @@ "postfix": false, "binop": null }, - "start": 1103, - "end": 1104, + "start": 1094, + "end": 1095, "loc": { "start": { - "line": 54, + "line": 53, "column": 7 }, "end": { - "line": 54, + "line": 53, "column": 8 } } @@ -6087,15 +5893,15 @@ "binop": null }, "value": "next", - "start": 1104, - "end": 1108, + "start": 1095, + "end": 1099, "loc": { "start": { - "line": 54, + "line": 53, "column": 8 }, "end": { - "line": 54, + "line": 53, "column": 12 } } @@ -6113,15 +5919,15 @@ "binop": null, "updateContext": null }, - "start": 1108, - "end": 1109, + "start": 1099, + "end": 1100, "loc": { "start": { - "line": 54, + "line": 53, "column": 12 }, "end": { - "line": 54, + "line": 53, "column": 13 } } @@ -6139,15 +5945,15 @@ "binop": null }, "value": "equal", - "start": 1109, - "end": 1114, + "start": 1100, + "end": 1105, "loc": { "start": { - "line": 54, + "line": 53, "column": 13 }, "end": { - "line": 54, + "line": 53, "column": 18 } } @@ -6164,15 +5970,15 @@ "postfix": false, "binop": null }, - "start": 1114, - "end": 1115, + "start": 1105, + "end": 1106, "loc": { "start": { - "line": 54, + "line": 53, "column": 18 }, "end": { - "line": 54, + "line": 53, "column": 19 } } @@ -6192,15 +5998,15 @@ "updateContext": null }, "value": "this", - "start": 1115, - "end": 1119, + "start": 1106, + "end": 1110, "loc": { "start": { - "line": 54, + "line": 53, "column": 19 }, "end": { - "line": 54, + "line": 53, "column": 23 } } @@ -6218,15 +6024,15 @@ "binop": null, "updateContext": null }, - "start": 1119, - "end": 1120, + "start": 1110, + "end": 1111, "loc": { "start": { - "line": 54, + "line": 53, "column": 23 }, "end": { - "line": 54, + "line": 53, "column": 24 } } @@ -6244,15 +6050,15 @@ "binop": null }, "value": "fullDate", - "start": 1120, - "end": 1128, + "start": 1111, + "end": 1119, "loc": { "start": { - "line": 54, + "line": 53, "column": 24 }, "end": { - "line": 54, + "line": 53, "column": 32 } } @@ -6269,15 +6075,15 @@ "postfix": false, "binop": null }, - "start": 1128, - "end": 1129, + "start": 1119, + "end": 1120, "loc": { "start": { - "line": 54, + "line": 53, "column": 32 }, "end": { - "line": 54, + "line": 53, "column": 33 } } @@ -6294,15 +6100,15 @@ "postfix": false, "binop": null }, - "start": 1129, - "end": 1130, + "start": 1120, + "end": 1121, "loc": { "start": { - "line": 54, + "line": 53, "column": 33 }, "end": { - "line": 54, + "line": 53, "column": 34 } } @@ -6319,15 +6125,15 @@ "postfix": false, "binop": null }, - "start": 1131, - "end": 1132, + "start": 1122, + "end": 1123, "loc": { "start": { - "line": 54, + "line": 53, "column": 35 }, "end": { - "line": 54, + "line": 53, "column": 36 } } @@ -6347,15 +6153,15 @@ "updateContext": null }, "value": "return", - "start": 1139, - "end": 1145, + "start": 1130, + "end": 1136, "loc": { "start": { - "line": 55, + "line": 54, "column": 6 }, "end": { - "line": 55, + "line": 54, "column": 12 } } @@ -6372,15 +6178,15 @@ "postfix": false, "binop": null }, - "start": 1146, - "end": 1147, + "start": 1137, + "end": 1138, "loc": { "start": { - "line": 55, + "line": 54, "column": 13 }, "end": { - "line": 55, + "line": 54, "column": 14 } } @@ -6398,15 +6204,15 @@ "binop": null }, "value": "value", - "start": 1147, - "end": 1152, + "start": 1138, + "end": 1143, "loc": { "start": { - "line": 55, + "line": 54, "column": 14 }, "end": { - "line": 55, + "line": 54, "column": 19 } } @@ -6424,15 +6230,15 @@ "binop": null, "updateContext": null }, - "start": 1152, - "end": 1153, + "start": 1143, + "end": 1144, "loc": { "start": { - "line": 55, + "line": 54, "column": 19 }, "end": { - "line": 55, + "line": 54, "column": 20 } } @@ -6452,15 +6258,15 @@ "updateContext": null }, "value": "null", - "start": 1154, - "end": 1158, + "start": 1145, + "end": 1149, "loc": { "start": { - "line": 55, + "line": 54, "column": 21 }, "end": { - "line": 55, + "line": 54, "column": 25 } } @@ -6478,15 +6284,15 @@ "binop": null, "updateContext": null }, - "start": 1158, - "end": 1159, + "start": 1149, + "end": 1150, "loc": { "start": { - "line": 55, + "line": 54, "column": 25 }, "end": { - "line": 55, + "line": 54, "column": 26 } } @@ -6504,15 +6310,15 @@ "binop": null }, "value": "done", - "start": 1160, - "end": 1164, + "start": 1151, + "end": 1155, "loc": { "start": { - "line": 55, + "line": 54, "column": 27 }, "end": { - "line": 55, + "line": 54, "column": 31 } } @@ -6530,15 +6336,15 @@ "binop": null, "updateContext": null }, - "start": 1164, - "end": 1165, + "start": 1155, + "end": 1156, "loc": { "start": { - "line": 55, + "line": 54, "column": 31 }, "end": { - "line": 55, + "line": 54, "column": 32 } } @@ -6558,15 +6364,15 @@ "updateContext": null }, "value": "true", - "start": 1166, - "end": 1170, + "start": 1157, + "end": 1161, "loc": { "start": { - "line": 55, + "line": 54, "column": 33 }, "end": { - "line": 55, + "line": 54, "column": 37 } } @@ -6583,15 +6389,15 @@ "postfix": false, "binop": null }, - "start": 1170, - "end": 1171, + "start": 1161, + "end": 1162, "loc": { "start": { - "line": 55, + "line": 54, "column": 37 }, "end": { - "line": 55, + "line": 54, "column": 38 } } @@ -6609,15 +6415,15 @@ "binop": null, "updateContext": null }, - "start": 1171, - "end": 1172, + "start": 1162, + "end": 1163, "loc": { "start": { - "line": 55, + "line": 54, "column": 38 }, "end": { - "line": 55, + "line": 54, "column": 39 } } @@ -6634,15 +6440,15 @@ "postfix": false, "binop": null }, - "start": 1177, - "end": 1178, + "start": 1168, + "end": 1169, "loc": { "start": { - "line": 56, + "line": 55, "column": 4 }, "end": { - "line": 56, + "line": 55, "column": 5 } } @@ -6662,15 +6468,15 @@ "updateContext": null }, "value": "this", - "start": 1183, - "end": 1187, + "start": 1174, + "end": 1178, "loc": { "start": { - "line": 57, + "line": 56, "column": 4 }, "end": { - "line": 57, + "line": 56, "column": 8 } } @@ -6688,15 +6494,15 @@ "binop": null, "updateContext": null }, - "start": 1187, - "end": 1188, + "start": 1178, + "end": 1179, "loc": { "start": { - "line": 57, + "line": 56, "column": 8 }, "end": { - "line": 57, + "line": 56, "column": 9 } } @@ -6714,15 +6520,15 @@ "binop": null }, "value": "current", - "start": 1188, - "end": 1195, + "start": 1179, + "end": 1186, "loc": { "start": { - "line": 57, + "line": 56, "column": 9 }, "end": { - "line": 57, + "line": 56, "column": 16 } } @@ -6741,15 +6547,15 @@ "updateContext": null }, "value": "=", - "start": 1196, - "end": 1197, + "start": 1187, + "end": 1188, "loc": { "start": { - "line": 57, + "line": 56, "column": 17 }, "end": { - "line": 57, + "line": 56, "column": 18 } } @@ -6767,15 +6573,15 @@ "binop": null }, "value": "next", - "start": 1198, - "end": 1202, + "start": 1189, + "end": 1193, "loc": { "start": { - "line": 57, + "line": 56, "column": 19 }, "end": { - "line": 57, + "line": 56, "column": 23 } } @@ -6793,15 +6599,15 @@ "binop": null, "updateContext": null }, - "start": 1202, - "end": 1203, + "start": 1193, + "end": 1194, "loc": { "start": { - "line": 57, + "line": 56, "column": 23 }, "end": { - "line": 57, + "line": 56, "column": 24 } } @@ -6821,15 +6627,15 @@ "updateContext": null }, "value": "return", - "start": 1208, - "end": 1214, + "start": 1199, + "end": 1205, "loc": { "start": { - "line": 58, + "line": 57, "column": 4 }, "end": { - "line": 58, + "line": 57, "column": 10 } } @@ -6846,15 +6652,15 @@ "postfix": false, "binop": null }, - "start": 1215, - "end": 1216, + "start": 1206, + "end": 1207, "loc": { "start": { - "line": 58, + "line": 57, "column": 11 }, "end": { - "line": 58, + "line": 57, "column": 12 } } @@ -6872,15 +6678,15 @@ "binop": null }, "value": "value", - "start": 1216, - "end": 1221, + "start": 1207, + "end": 1212, "loc": { "start": { - "line": 58, + "line": 57, "column": 12 }, "end": { - "line": 58, + "line": 57, "column": 17 } } @@ -6898,15 +6704,15 @@ "binop": null, "updateContext": null }, - "start": 1221, - "end": 1222, + "start": 1212, + "end": 1213, "loc": { "start": { - "line": 58, + "line": 57, "column": 17 }, "end": { - "line": 58, + "line": 57, "column": 18 } } @@ -6924,15 +6730,15 @@ "binop": null }, "value": "next", - "start": 1223, - "end": 1227, + "start": 1214, + "end": 1218, "loc": { "start": { - "line": 58, + "line": 57, "column": 19 }, "end": { - "line": 58, + "line": 57, "column": 23 } } @@ -6950,15 +6756,15 @@ "binop": null, "updateContext": null }, - "start": 1227, - "end": 1228, + "start": 1218, + "end": 1219, "loc": { "start": { - "line": 58, + "line": 57, "column": 23 }, "end": { - "line": 58, + "line": 57, "column": 24 } } @@ -6976,15 +6782,15 @@ "binop": null }, "value": "done", - "start": 1229, - "end": 1233, + "start": 1220, + "end": 1224, "loc": { "start": { - "line": 58, + "line": 57, "column": 25 }, "end": { - "line": 58, + "line": 57, "column": 29 } } @@ -7002,15 +6808,15 @@ "binop": null, "updateContext": null }, - "start": 1233, - "end": 1234, + "start": 1224, + "end": 1225, "loc": { "start": { - "line": 58, + "line": 57, "column": 29 }, "end": { - "line": 58, + "line": 57, "column": 30 } } @@ -7030,15 +6836,15 @@ "updateContext": null }, "value": "false", - "start": 1235, - "end": 1240, + "start": 1226, + "end": 1231, "loc": { "start": { - "line": 58, + "line": 57, "column": 31 }, "end": { - "line": 58, + "line": 57, "column": 36 } } @@ -7055,15 +6861,15 @@ "postfix": false, "binop": null }, - "start": 1240, - "end": 1241, + "start": 1231, + "end": 1232, "loc": { "start": { - "line": 58, + "line": 57, "column": 36 }, "end": { - "line": 58, + "line": 57, "column": 37 } } @@ -7081,15 +6887,15 @@ "binop": null, "updateContext": null }, - "start": 1241, - "end": 1242, + "start": 1232, + "end": 1233, "loc": { "start": { - "line": 58, + "line": 57, "column": 37 }, "end": { - "line": 58, + "line": 57, "column": 38 } } @@ -7106,15 +6912,15 @@ "postfix": false, "binop": null }, - "start": 1245, - "end": 1246, + "start": 1236, + "end": 1237, "loc": { "start": { - "line": 59, + "line": 58, "column": 2 }, "end": { - "line": 59, + "line": 58, "column": 3 } } @@ -7131,150 +6937,19 @@ "postfix": false, "binop": null }, - "start": 1247, - "end": 1248, + "start": 1238, + "end": 1239, "loc": { "start": { - "line": 60, + "line": 59, "column": 0 }, "end": { - "line": 60, + "line": 59, "column": 1 } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "module", - "start": 1250, - "end": 1256, - "loc": { - "start": { - "line": 62, - "column": 0 - }, - "end": { - "line": 62, - "column": 6 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1256, - "end": 1257, - "loc": { - "start": { - "line": 62, - "column": 6 - }, - "end": { - "line": 62, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "exports", - "start": 1257, - "end": 1264, - "loc": { - "start": { - "line": 62, - "column": 7 - }, - "end": { - "line": 62, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1265, - "end": 1266, - "loc": { - "start": { - "line": 62, - "column": 15 - }, - "end": { - "line": 62, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "CalendarRoundIterator", - "start": 1267, - "end": 1288, - "loc": { - "start": { - "line": 62, - "column": 17 - }, - "end": { - "line": 62, - "column": 38 - } - } - }, { "type": { "label": "eof", @@ -7288,15 +6963,15 @@ "binop": null, "updateContext": null }, - "start": 1289, - "end": 1289, + "start": 1240, + "end": 1240, "loc": { "start": { - "line": 63, + "line": 60, "column": 0 }, "end": { - "line": 63, + "line": 60, "column": 0 } } diff --git a/docs/ast/source/operations/calendar-round-wildcard.js.json b/docs/ast/source/operations/calendar-round-wildcard.js.json index 4c6ce39..3bcfd95 100644 --- a/docs/ast/source/operations/calendar-round-wildcard.js.json +++ b/docs/ast/source/operations/calendar-round-wildcard.js.json @@ -1,169 +1,114 @@ { "type": "File", "start": 0, - "end": 955, + "end": 904, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 47, + "line": 43, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 955, + "end": 904, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 47, + "line": 43, "column": 0 } }, "sourceType": "module", "body": [ { - "type": "VariableDeclaration", - "start": 15, - "end": 82, + "type": "ImportDeclaration", + "start": 0, + "end": 58, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 67 + "line": 1, + "column": 58 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 21, - "end": 81, + "type": "ImportDefaultSpecifier", + "start": 7, + "end": 28, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 66 + "line": 1, + "column": 28 } }, - "id": { + "local": { "type": "Identifier", - "start": 21, - "end": 42, + "start": 7, + "end": 28, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 27 + "line": 1, + "column": 28 }, "identifierName": "CalendarRoundIterator" }, - "name": "CalendarRoundIterator", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 45, - "end": 81, - "loc": { - "start": { - "line": 2, - "column": 30 - }, - "end": { - "line": 2, - "column": 66 - } - }, - "callee": { - "type": "Identifier", - "start": 45, - "end": 52, - "loc": { - "start": { - "line": 2, - "column": 30 - }, - "end": { - "line": 2, - "column": 37 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 53, - "end": 80, - "loc": { - "start": { - "line": 2, - "column": 38 - }, - "end": { - "line": 2, - "column": 65 - } - }, - "extra": { - "rawValue": "./calendar-round-iterator", - "raw": "'./calendar-round-iterator'" - }, - "value": "./calendar-round-iterator" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } + "name": "CalendarRoundIterator" } } ], + "source": { + "type": "StringLiteral", + "start": 34, + "end": 57, + "loc": { + "start": { + "line": 1, + "column": 34 + }, + "end": { + "line": 1, + "column": 57 + } + }, + "extra": { + "rawValue": "./calendar-round-iter", + "raw": "'./calendar-round-iter'" + }, + "value": "./calendar-round-iter" + }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * A reusable singleton instance of the CalendarRoundIterator\n * @ignore\n * @type {CalendarRoundIterator}\n ", - "start": 85, - "end": 198, + "start": 60, + "end": 173, "loc": { "start": { - "line": 5, + "line": 3, "column": 0 }, "end": { - "line": 9, + "line": 7, "column": 3 } } @@ -172,44 +117,44 @@ }, { "type": "VariableDeclaration", - "start": 199, - "end": 240, + "start": 174, + "end": 215, "loc": { "start": { - "line": 10, + "line": 8, "column": 0 }, "end": { - "line": 10, + "line": 8, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 205, - "end": 239, + "start": 180, + "end": 214, "loc": { "start": { - "line": 10, + "line": 8, "column": 6 }, "end": { - "line": 10, + "line": 8, "column": 40 } }, "id": { "type": "Identifier", - "start": 205, - "end": 209, + "start": 180, + "end": 184, "loc": { "start": { - "line": 10, + "line": 8, "column": 6 }, "end": { - "line": 10, + "line": 8, "column": 10 }, "identifierName": "iter" @@ -219,29 +164,29 @@ }, "init": { "type": "NewExpression", - "start": 212, - "end": 239, + "start": 187, + "end": 214, "loc": { "start": { - "line": 10, + "line": 8, "column": 13 }, "end": { - "line": 10, + "line": 8, "column": 40 } }, "callee": { "type": "Identifier", - "start": 216, - "end": 237, + "start": 191, + "end": 212, "loc": { "start": { - "line": 10, + "line": 8, "column": 17 }, "end": { - "line": 10, + "line": 8, "column": 38 }, "identifierName": "CalendarRoundIterator" @@ -258,15 +203,15 @@ { "type": "CommentBlock", "value": "*\n * A reusable singleton instance of the CalendarRoundIterator\n * @ignore\n * @type {CalendarRoundIterator}\n ", - "start": 85, - "end": 198, + "start": 60, + "end": 173, "loc": { "start": { - "line": 5, + "line": 3, "column": 0 }, "end": { - "line": 9, + "line": 7, "column": 3 } } @@ -276,15 +221,15 @@ { "type": "CommentBlock", "value": "*\n * Given a Calendar Round with a wildcard, calculate all possible matching\n * fully qualified Calendar Rounds.\n ", - "start": 242, - "end": 360, + "start": 217, + "end": 335, "loc": { "start": { - "line": 12, + "line": 10, "column": 0 }, "end": { - "line": 15, + "line": 13, "column": 3 } } @@ -292,1376 +237,1296 @@ ] }, { - "type": "ClassDeclaration", - "start": 361, - "end": 913, + "type": "ExportDefaultDeclaration", + "start": 336, + "end": 903, "loc": { "start": { - "line": 16, + "line": 14, "column": 0 }, "end": { - "line": 44, + "line": 42, "column": 1 } }, - "id": { - "type": "Identifier", - "start": 367, - "end": 388, - "loc": { - "start": { - "line": 16, - "column": 6 - }, - "end": { - "line": 16, - "column": 27 - }, - "identifierName": "CalendarRoundWildcard" - }, - "name": "CalendarRoundWildcard", - "leadingComments": null - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 389, - "end": 913, + "declaration": { + "type": "ClassDeclaration", + "start": 351, + "end": 903, "loc": { "start": { - "line": 16, - "column": 28 + "line": 14, + "column": 15 }, "end": { - "line": 44, + "line": 42, "column": 1 } }, - "body": [ - { - "type": "ClassMethod", - "start": 436, - "end": 520, - "loc": { - "start": { - "line": 20, - "column": 2 - }, - "end": { - "line": 25, - "column": 3 - } + "id": { + "type": "Identifier", + "start": 357, + "end": 378, + "loc": { + "start": { + "line": 14, + "column": 21 }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 436, - "end": 447, + "end": { + "line": 14, + "column": 42 + }, + "identifierName": "CalendarRoundWildcard" + }, + "name": "CalendarRoundWildcard", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 379, + "end": 903, + "loc": { + "start": { + "line": 14, + "column": 43 + }, + "end": { + "line": 42, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 426, + "end": 510, "loc": { "start": { - "line": 20, + "line": 18, "column": 2 }, "end": { - "line": 20, - "column": 13 - }, - "identifierName": "constructor" + "line": 23, + "column": 3 + } }, - "name": "constructor", - "leadingComments": null - }, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 448, - "end": 450, + "start": 426, + "end": 437, "loc": { "start": { - "line": 20, - "column": 14 + "line": 18, + "column": 2 }, "end": { - "line": 20, - "column": 16 + "line": 18, + "column": 13 }, - "identifierName": "cr" - }, - "name": "cr" - } - ], - "body": { - "type": "BlockStatement", - "start": 452, - "end": 520, - "loc": { - "start": { - "line": 20, - "column": 18 + "identifierName": "constructor" }, - "end": { - "line": 25, - "column": 3 - } + "name": "constructor", + "leadingComments": null }, - "body": [ + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "ExpressionStatement", - "start": 503, - "end": 516, + "type": "Identifier", + "start": 438, + "end": 440, "loc": { "start": { - "line": 24, - "column": 4 + "line": 18, + "column": 14 }, "end": { - "line": 24, - "column": 17 - } + "line": 18, + "column": 16 + }, + "identifierName": "cr" + }, + "name": "cr" + } + ], + "body": { + "type": "BlockStatement", + "start": 442, + "end": 510, + "loc": { + "start": { + "line": 18, + "column": 18 }, - "expression": { - "type": "AssignmentExpression", - "start": 503, - "end": 515, + "end": { + "line": 23, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 493, + "end": 506, "loc": { "start": { - "line": 24, + "line": 22, "column": 4 }, "end": { - "line": 24, - "column": 16 + "line": 22, + "column": 17 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 503, - "end": 510, + "expression": { + "type": "AssignmentExpression", + "start": 493, + "end": 505, "loc": { "start": { - "line": 24, + "line": 22, "column": 4 }, "end": { - "line": 24, - "column": 11 + "line": 22, + "column": 16 } }, - "object": { - "type": "ThisExpression", - "start": 503, - "end": 507, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 493, + "end": 500, "loc": { "start": { - "line": 24, + "line": 22, "column": 4 }, "end": { - "line": 24, - "column": 8 + "line": 22, + "column": 11 } }, + "object": { + "type": "ThisExpression", + "start": 493, + "end": 497, + "loc": { + "start": { + "line": 22, + "column": 4 + }, + "end": { + "line": 22, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 498, + "end": 500, + "loc": { + "start": { + "line": 22, + "column": 9 + }, + "end": { + "line": 22, + "column": 11 + }, + "identifierName": "cr" + }, + "name": "cr" + }, + "computed": false, "leadingComments": null }, - "property": { + "right": { "type": "Identifier", - "start": 508, - "end": 510, + "start": 503, + "end": 505, "loc": { "start": { - "line": 24, - "column": 9 + "line": 22, + "column": 14 }, "end": { - "line": 24, - "column": 11 + "line": 22, + "column": 16 }, "identifierName": "cr" }, "name": "cr" }, - "computed": false, "leadingComments": null }, - "right": { - "type": "Identifier", - "start": 513, - "end": 515, - "loc": { - "start": { - "line": 24, - "column": 14 - }, - "end": { - "line": 24, - "column": 16 - }, - "identifierName": "cr" - }, - "name": "cr" - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @type {CalendarRound}\n ", - "start": 458, - "end": 498, - "loc": { - "start": { - "line": 21, - "column": 4 - }, - "end": { - "line": 23, - "column": 7 + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @type {CalendarRound}\n ", + "start": 448, + "end": 488, + "loc": { + "start": { + "line": 19, + "column": 4 + }, + "end": { + "line": 21, + "column": 7 + } } } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {CalendarRound} cr\n ", + "start": 383, + "end": 423, + "loc": { + "start": { + "line": 15, + "column": 2 + }, + "end": { + "line": 17, + "column": 5 } - ] + } } ], - "directives": [], - "trailingComments": null + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Run calculation to find all fully qualified Calendar Rounds\n * @return {CalendarRound[]}\n ", + "start": 514, + "end": 619, + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 28, + "column": 5 + } + } + } + ] }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @param {CalendarRound} cr\n ", - "start": 393, - "end": 433, + { + "type": "ClassMethod", + "start": 622, + "end": 901, + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 41, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 622, + "end": 625, "loc": { "start": { - "line": 17, + "line": 29, "column": 2 }, "end": { - "line": 19, + "line": 29, "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Run calculation to find all fully qualified Calendar Rounds\n * @return {CalendarRound[]}\n ", - "start": 524, - "end": 629, + }, + "identifierName": "run" + }, + "name": "run", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 628, + "end": 901, "loc": { "start": { - "line": 27, - "column": 2 + "line": 29, + "column": 8 }, "end": { - "line": 30, - "column": 5 + "line": 41, + "column": 3 } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 632, - "end": 911, - "loc": { - "start": { - "line": 31, - "column": 2 - }, - "end": { - "line": 43, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 632, - "end": 635, - "loc": { - "start": { - "line": 31, - "column": 2 - }, - "end": { - "line": 31, - "column": 5 - }, - "identifierName": "run" - }, - "name": "run", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 638, - "end": 911, - "loc": { - "start": { - "line": 31, - "column": 8 }, - "end": { - "line": 43, - "column": 3 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 644, - "end": 666, - "loc": { - "start": { - "line": 32, - "column": 4 - }, - "end": { - "line": 32, - "column": 26 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 650, - "end": 665, - "loc": { - "start": { - "line": 32, - "column": 10 - }, - "end": { - "line": 32, - "column": 25 - } + "body": [ + { + "type": "VariableDeclaration", + "start": 634, + "end": 656, + "loc": { + "start": { + "line": 30, + "column": 4 }, - "id": { - "type": "Identifier", - "start": 650, - "end": 660, + "end": { + "line": 30, + "column": 26 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 640, + "end": 655, "loc": { "start": { - "line": 32, + "line": 30, "column": 10 }, "end": { - "line": 32, - "column": 20 - }, - "identifierName": "potentials" - }, - "name": "potentials" - }, - "init": { - "type": "ArrayExpression", - "start": 663, - "end": 665, - "loc": { - "start": { - "line": 32, - "column": 23 - }, - "end": { - "line": 32, + "line": 30, "column": 25 } }, - "elements": [] - } - } - ], - "kind": "const", - "trailingComments": [ - { - "type": "CommentLine", - "value": " Iterate through dates and compare", - "start": 671, - "end": 707, - "loc": { - "start": { - "line": 33, - "column": 4 + "id": { + "type": "Identifier", + "start": 640, + "end": 650, + "loc": { + "start": { + "line": 30, + "column": 10 + }, + "end": { + "line": 30, + "column": 20 + }, + "identifierName": "potentials" + }, + "name": "potentials" }, - "end": { - "line": 33, - "column": 40 + "init": { + "type": "ArrayExpression", + "start": 653, + "end": 655, + "loc": { + "start": { + "line": 30, + "column": 23 + }, + "end": { + "line": 30, + "column": 25 + } + }, + "elements": [] } } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 712, - "end": 733, - "loc": { - "start": { - "line": 34, - "column": 4 - }, - "end": { - "line": 34, - "column": 25 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 716, - "end": 732, - "loc": { - "start": { - "line": 34, - "column": 8 - }, - "end": { - "line": 34, - "column": 24 - } - }, - "id": { - "type": "Identifier", - "start": 716, - "end": 718, + ], + "kind": "const", + "trailingComments": [ + { + "type": "CommentLine", + "value": " Iterate through dates and compare", + "start": 661, + "end": 697, "loc": { "start": { - "line": 34, - "column": 8 + "line": 31, + "column": 4 }, "end": { - "line": 34, - "column": 10 - }, - "identifierName": "cr" - }, - "name": "cr", - "leadingComments": null + "line": 31, + "column": 40 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 702, + "end": 723, + "loc": { + "start": { + "line": 32, + "column": 4 }, - "init": { - "type": "CallExpression", - "start": 721, - "end": 732, + "end": { + "line": 32, + "column": 25 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 706, + "end": 722, "loc": { "start": { - "line": 34, - "column": 13 + "line": 32, + "column": 8 }, "end": { - "line": 34, + "line": 32, "column": 24 } }, - "callee": { - "type": "MemberExpression", - "start": 721, - "end": 730, + "id": { + "type": "Identifier", + "start": 706, + "end": 708, "loc": { "start": { - "line": 34, + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 10 + }, + "identifierName": "cr" + }, + "name": "cr", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 711, + "end": 722, + "loc": { + "start": { + "line": 32, "column": 13 }, "end": { - "line": 34, - "column": 22 + "line": 32, + "column": 24 } }, - "object": { - "type": "Identifier", - "start": 721, - "end": 725, + "callee": { + "type": "MemberExpression", + "start": 711, + "end": 720, "loc": { "start": { - "line": 34, + "line": 32, "column": 13 }, "end": { - "line": 34, - "column": 17 - }, - "identifierName": "iter" + "line": 32, + "column": 22 + } }, - "name": "iter" - }, - "property": { - "type": "Identifier", - "start": 726, - "end": 730, - "loc": { - "start": { - "line": 34, - "column": 18 + "object": { + "type": "Identifier", + "start": 711, + "end": 715, + "loc": { + "start": { + "line": 32, + "column": 13 + }, + "end": { + "line": 32, + "column": 17 + }, + "identifierName": "iter" }, - "end": { - "line": 34, - "column": 22 + "name": "iter" + }, + "property": { + "type": "Identifier", + "start": 716, + "end": 720, + "loc": { + "start": { + "line": 32, + "column": 18 + }, + "end": { + "line": 32, + "column": 22 + }, + "identifierName": "next" }, - "identifierName": "next" + "name": "next" }, - "name": "next" + "computed": false }, - "computed": false - }, - "arguments": [] - }, - "leadingComments": null - } - ], - "kind": "let", - "leadingComments": [ - { - "type": "CommentLine", - "value": " Iterate through dates and compare", - "start": 671, - "end": 707, - "loc": { - "start": { - "line": 33, - "column": 4 + "arguments": [] }, - "end": { - "line": 33, - "column": 40 + "leadingComments": null + } + ], + "kind": "let", + "leadingComments": [ + { + "type": "CommentLine", + "value": " Iterate through dates and compare", + "start": 661, + "end": 697, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 31, + "column": 40 + } } } - } - ] - }, - { - "type": "WhileStatement", - "start": 738, - "end": 866, - "loc": { - "start": { - "line": 35, - "column": 4 - }, - "end": { - "line": 40, - "column": 5 - } + ] }, - "test": { - "type": "UnaryExpression", - "start": 745, - "end": 753, + { + "type": "WhileStatement", + "start": 728, + "end": 856, "loc": { "start": { - "line": 35, - "column": 11 + "line": 33, + "column": 4 }, "end": { - "line": 35, - "column": 19 + "line": 38, + "column": 5 } }, - "operator": "!", - "prefix": true, - "argument": { - "type": "MemberExpression", - "start": 746, - "end": 753, + "test": { + "type": "UnaryExpression", + "start": 735, + "end": 743, "loc": { "start": { - "line": 35, - "column": 12 + "line": 33, + "column": 11 }, "end": { - "line": 35, + "line": 33, "column": 19 } }, - "object": { - "type": "Identifier", - "start": 746, - "end": 748, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 736, + "end": 743, "loc": { "start": { - "line": 35, + "line": 33, "column": 12 }, "end": { - "line": 35, - "column": 14 - }, - "identifierName": "cr" + "line": 33, + "column": 19 + } }, - "name": "cr" - }, - "property": { - "type": "Identifier", - "start": 749, - "end": 753, - "loc": { - "start": { - "line": 35, - "column": 15 + "object": { + "type": "Identifier", + "start": 736, + "end": 738, + "loc": { + "start": { + "line": 33, + "column": 12 + }, + "end": { + "line": 33, + "column": 14 + }, + "identifierName": "cr" }, - "end": { - "line": 35, - "column": 19 + "name": "cr" + }, + "property": { + "type": "Identifier", + "start": 739, + "end": 743, + "loc": { + "start": { + "line": 33, + "column": 15 + }, + "end": { + "line": 33, + "column": 19 + }, + "identifierName": "done" }, - "identifierName": "done" + "name": "done" }, - "name": "done" - }, - "computed": false - }, - "extra": { - "parenthesizedArgument": false - } - }, - "body": { - "type": "BlockStatement", - "start": 755, - "end": 866, - "loc": { - "start": { - "line": 35, - "column": 21 + "computed": false }, - "end": { - "line": 40, - "column": 5 + "extra": { + "parenthesizedArgument": false } }, - "body": [ - { - "type": "IfStatement", - "start": 763, - "end": 836, - "loc": { - "start": { - "line": 36, - "column": 6 - }, - "end": { - "line": 38, - "column": 7 - } + "body": { + "type": "BlockStatement", + "start": 745, + "end": 856, + "loc": { + "start": { + "line": 33, + "column": 21 }, - "test": { - "type": "CallExpression", - "start": 767, - "end": 790, + "end": { + "line": 38, + "column": 5 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 753, + "end": 826, "loc": { "start": { - "line": 36, - "column": 10 + "line": 34, + "column": 6 }, "end": { "line": 36, - "column": 33 + "column": 7 } }, - "callee": { - "type": "MemberExpression", - "start": 767, + "test": { + "type": "CallExpression", + "start": 757, "end": 780, "loc": { "start": { - "line": 36, + "line": 34, "column": 10 }, "end": { - "line": 36, - "column": 23 + "line": 34, + "column": 33 } }, - "object": { + "callee": { "type": "MemberExpression", - "start": 767, - "end": 774, + "start": 757, + "end": 770, "loc": { "start": { - "line": 36, + "line": 34, "column": 10 }, "end": { - "line": 36, - "column": 17 + "line": 34, + "column": 23 } }, "object": { - "type": "ThisExpression", - "start": 767, - "end": 771, + "type": "MemberExpression", + "start": 757, + "end": 764, "loc": { "start": { - "line": 36, + "line": 34, "column": 10 }, "end": { - "line": 36, - "column": 14 + "line": 34, + "column": 17 } - } + }, + "object": { + "type": "ThisExpression", + "start": 757, + "end": 761, + "loc": { + "start": { + "line": 34, + "column": 10 + }, + "end": { + "line": 34, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 762, + "end": 764, + "loc": { + "start": { + "line": 34, + "column": 15 + }, + "end": { + "line": 34, + "column": 17 + }, + "identifierName": "cr" + }, + "name": "cr" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 772, - "end": 774, + "start": 765, + "end": 770, "loc": { "start": { - "line": 36, - "column": 15 + "line": 34, + "column": 18 }, "end": { - "line": 36, - "column": 17 + "line": 34, + "column": 23 }, - "identifierName": "cr" + "identifierName": "match" }, - "name": "cr" + "name": "match" }, "computed": false }, - "property": { - "type": "Identifier", - "start": 775, - "end": 780, - "loc": { - "start": { - "line": 36, - "column": 18 - }, - "end": { - "line": 36, - "column": 23 - }, - "identifierName": "match" - }, - "name": "match" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 781, - "end": 789, - "loc": { - "start": { - "line": 36, - "column": 24 - }, - "end": { - "line": 36, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 781, - "end": 783, + "arguments": [ + { + "type": "MemberExpression", + "start": 771, + "end": 779, "loc": { "start": { - "line": 36, + "line": 34, "column": 24 }, "end": { - "line": 36, - "column": 26 - }, - "identifierName": "cr" + "line": 34, + "column": 32 + } }, - "name": "cr" - }, - "property": { - "type": "Identifier", - "start": 784, - "end": 789, - "loc": { - "start": { - "line": 36, - "column": 27 + "object": { + "type": "Identifier", + "start": 771, + "end": 773, + "loc": { + "start": { + "line": 34, + "column": 24 + }, + "end": { + "line": 34, + "column": 26 + }, + "identifierName": "cr" }, - "end": { - "line": 36, - "column": 32 + "name": "cr" + }, + "property": { + "type": "Identifier", + "start": 774, + "end": 779, + "loc": { + "start": { + "line": 34, + "column": 27 + }, + "end": { + "line": 34, + "column": 32 + }, + "identifierName": "value" }, - "identifierName": "value" + "name": "value" }, - "name": "value" - }, - "computed": false - } - ] - }, - "consequent": { - "type": "BlockStatement", - "start": 792, - "end": 836, - "loc": { - "start": { - "line": 36, - "column": 35 - }, - "end": { - "line": 38, - "column": 7 - } + "computed": false + } + ] }, - "body": [ - { - "type": "ExpressionStatement", - "start": 802, - "end": 828, - "loc": { - "start": { - "line": 37, - "column": 8 - }, - "end": { - "line": 37, - "column": 34 - } + "consequent": { + "type": "BlockStatement", + "start": 782, + "end": 826, + "loc": { + "start": { + "line": 34, + "column": 35 }, - "expression": { - "type": "CallExpression", - "start": 802, - "end": 827, + "end": { + "line": 36, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 792, + "end": 818, "loc": { "start": { - "line": 37, + "line": 35, "column": 8 }, "end": { - "line": 37, - "column": 33 + "line": 35, + "column": 34 } }, - "callee": { - "type": "MemberExpression", - "start": 802, + "expression": { + "type": "CallExpression", + "start": 792, "end": 817, "loc": { "start": { - "line": 37, + "line": 35, "column": 8 }, "end": { - "line": 37, - "column": 23 + "line": 35, + "column": 33 } }, - "object": { - "type": "Identifier", - "start": 802, - "end": 812, + "callee": { + "type": "MemberExpression", + "start": 792, + "end": 807, "loc": { "start": { - "line": 37, + "line": 35, "column": 8 }, "end": { - "line": 37, - "column": 18 - }, - "identifierName": "potentials" - }, - "name": "potentials" - }, - "property": { - "type": "Identifier", - "start": 813, - "end": 817, - "loc": { - "start": { - "line": 37, - "column": 19 - }, - "end": { - "line": 37, + "line": 35, "column": 23 - }, - "identifierName": "push" - }, - "name": "push" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 818, - "end": 826, - "loc": { - "start": { - "line": 37, - "column": 24 - }, - "end": { - "line": 37, - "column": 32 } }, "object": { "type": "Identifier", - "start": 818, - "end": 820, + "start": 792, + "end": 802, "loc": { "start": { - "line": 37, - "column": 24 + "line": 35, + "column": 8 }, "end": { - "line": 37, - "column": 26 + "line": 35, + "column": 18 }, - "identifierName": "cr" + "identifierName": "potentials" }, - "name": "cr" + "name": "potentials" }, "property": { "type": "Identifier", - "start": 821, - "end": 826, + "start": 803, + "end": 807, "loc": { "start": { - "line": 37, - "column": 27 + "line": 35, + "column": 19 }, "end": { - "line": 37, - "column": 32 + "line": 35, + "column": 23 }, - "identifierName": "value" + "identifierName": "push" }, - "name": "value" + "name": "push" }, "computed": false - } - ] + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 808, + "end": 816, + "loc": { + "start": { + "line": 35, + "column": 24 + }, + "end": { + "line": 35, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 808, + "end": 810, + "loc": { + "start": { + "line": 35, + "column": 24 + }, + "end": { + "line": 35, + "column": 26 + }, + "identifierName": "cr" + }, + "name": "cr" + }, + "property": { + "type": "Identifier", + "start": 811, + "end": 816, + "loc": { + "start": { + "line": 35, + "column": 27 + }, + "end": { + "line": 35, + "column": 32 + }, + "identifierName": "value" + }, + "name": "value" + }, + "computed": false + } + ] + } } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ExpressionStatement", - "start": 843, - "end": 860, - "loc": { - "start": { - "line": 39, - "column": 6 + ], + "directives": [] }, - "end": { - "line": 39, - "column": 23 - } + "alternate": null }, - "expression": { - "type": "AssignmentExpression", - "start": 843, - "end": 859, + { + "type": "ExpressionStatement", + "start": 833, + "end": 850, "loc": { "start": { - "line": 39, + "line": 37, "column": 6 }, "end": { - "line": 39, - "column": 22 + "line": 37, + "column": 23 } }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 843, - "end": 845, + "expression": { + "type": "AssignmentExpression", + "start": 833, + "end": 849, "loc": { "start": { - "line": 39, + "line": 37, "column": 6 }, "end": { - "line": 39, - "column": 8 - }, - "identifierName": "cr" - }, - "name": "cr" - }, - "right": { - "type": "CallExpression", - "start": 848, - "end": 859, - "loc": { - "start": { - "line": 39, - "column": 11 - }, - "end": { - "line": 39, + "line": 37, "column": 22 } }, - "callee": { - "type": "MemberExpression", - "start": 848, - "end": 857, + "operator": "=", + "left": { + "type": "Identifier", + "start": 833, + "end": 835, + "loc": { + "start": { + "line": 37, + "column": 6 + }, + "end": { + "line": 37, + "column": 8 + }, + "identifierName": "cr" + }, + "name": "cr" + }, + "right": { + "type": "CallExpression", + "start": 838, + "end": 849, "loc": { "start": { - "line": 39, + "line": 37, "column": 11 }, "end": { - "line": 39, - "column": 20 + "line": 37, + "column": 22 } }, - "object": { - "type": "Identifier", - "start": 848, - "end": 852, + "callee": { + "type": "MemberExpression", + "start": 838, + "end": 847, "loc": { "start": { - "line": 39, + "line": 37, "column": 11 }, "end": { - "line": 39, - "column": 15 - }, - "identifierName": "iter" + "line": 37, + "column": 20 + } }, - "name": "iter" - }, - "property": { - "type": "Identifier", - "start": 853, - "end": 857, - "loc": { - "start": { - "line": 39, - "column": 16 + "object": { + "type": "Identifier", + "start": 838, + "end": 842, + "loc": { + "start": { + "line": 37, + "column": 11 + }, + "end": { + "line": 37, + "column": 15 + }, + "identifierName": "iter" }, - "end": { - "line": 39, - "column": 20 + "name": "iter" + }, + "property": { + "type": "Identifier", + "start": 843, + "end": 847, + "loc": { + "start": { + "line": 37, + "column": 16 + }, + "end": { + "line": 37, + "column": 20 + }, + "identifierName": "next" }, - "identifierName": "next" + "name": "next" }, - "name": "next" + "computed": false }, - "computed": false - }, - "arguments": [] + "arguments": [] + } } } - } - ], - "directives": [] - } - }, - { - "type": "ExpressionStatement", - "start": 871, - "end": 884, - "loc": { - "start": { - "line": 41, - "column": 4 - }, - "end": { - "line": 41, - "column": 17 + ], + "directives": [] } }, - "expression": { - "type": "CallExpression", - "start": 871, - "end": 883, + { + "type": "ExpressionStatement", + "start": 861, + "end": 874, "loc": { "start": { - "line": 41, + "line": 39, "column": 4 }, "end": { - "line": 41, - "column": 16 + "line": 39, + "column": 17 } }, - "callee": { - "type": "MemberExpression", - "start": 871, - "end": 881, + "expression": { + "type": "CallExpression", + "start": 861, + "end": 873, "loc": { "start": { - "line": 41, + "line": 39, "column": 4 }, "end": { - "line": 41, - "column": 14 + "line": 39, + "column": 16 } }, - "object": { - "type": "Identifier", - "start": 871, - "end": 875, + "callee": { + "type": "MemberExpression", + "start": 861, + "end": 871, "loc": { "start": { - "line": 41, + "line": 39, "column": 4 }, "end": { - "line": 41, - "column": 8 - }, - "identifierName": "iter" + "line": 39, + "column": 14 + } }, - "name": "iter" - }, - "property": { - "type": "Identifier", - "start": 876, - "end": 881, - "loc": { - "start": { - "line": 41, - "column": 9 + "object": { + "type": "Identifier", + "start": 861, + "end": 865, + "loc": { + "start": { + "line": 39, + "column": 4 + }, + "end": { + "line": 39, + "column": 8 + }, + "identifierName": "iter" }, - "end": { - "line": 41, - "column": 14 + "name": "iter" + }, + "property": { + "type": "Identifier", + "start": 866, + "end": 871, + "loc": { + "start": { + "line": 39, + "column": 9 + }, + "end": { + "line": 39, + "column": 14 + }, + "identifierName": "reset" }, - "identifierName": "reset" + "name": "reset" }, - "name": "reset" + "computed": false }, - "computed": false - }, - "arguments": [] - } - }, - { - "type": "ReturnStatement", - "start": 889, - "end": 907, - "loc": { - "start": { - "line": 42, - "column": 4 - }, - "end": { - "line": 42, - "column": 22 + "arguments": [] } }, - "argument": { - "type": "Identifier", - "start": 896, - "end": 906, + { + "type": "ReturnStatement", + "start": 879, + "end": 897, "loc": { "start": { - "line": 42, - "column": 11 + "line": 40, + "column": 4 }, "end": { - "line": 42, - "column": 21 - }, - "identifierName": "potentials" + "line": 40, + "column": 22 + } }, - "name": "potentials" + "argument": { + "type": "Identifier", + "start": 886, + "end": 896, + "loc": { + "start": { + "line": 40, + "column": 11 + }, + "end": { + "line": 40, + "column": 21 + }, + "identifierName": "potentials" + }, + "name": "potentials" + } } - } - ], - "directives": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Run calculation to find all fully qualified Calendar Rounds\n * @return {CalendarRound[]}\n ", - "start": 524, - "end": 629, - "loc": { - "start": { - "line": 27, - "column": 2 - }, - "end": { - "line": 30, - "column": 5 + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Run calculation to find all fully qualified Calendar Rounds\n * @return {CalendarRound[]}\n ", + "start": 514, + "end": 619, + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 28, + "column": 5 + } } } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Given a Calendar Round with a wildcard, calculate all possible matching\n * fully qualified Calendar Rounds.\n ", + "start": 217, + "end": 335, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 } - ] + } } - ] + ], + "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Given a Calendar Round with a wildcard, calculate all possible matching\n * fully qualified Calendar Rounds.\n ", - "start": 242, - "end": 360, + "start": 217, + "end": 335, "loc": { "start": { - "line": 12, + "line": 10, "column": 0 }, "end": { - "line": 15, + "line": 13, "column": 3 } } } ] - }, - { - "type": "ExpressionStatement", - "start": 915, - "end": 954, - "loc": { - "start": { - "line": 46, - "column": 0 - }, - "end": { - "line": 46, - "column": 39 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 915, - "end": 953, - "loc": { - "start": { - "line": 46, - "column": 0 - }, - "end": { - "line": 46, - "column": 38 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 915, - "end": 929, - "loc": { - "start": { - "line": 46, - "column": 0 - }, - "end": { - "line": 46, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 915, - "end": 921, - "loc": { - "start": { - "line": 46, - "column": 0 - }, - "end": { - "line": 46, - "column": 6 - }, - "identifierName": "module" - }, - "name": "module" - }, - "property": { - "type": "Identifier", - "start": 922, - "end": 929, - "loc": { - "start": { - "line": 46, - "column": 7 - }, - "end": { - "line": 46, - "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 932, - "end": 953, - "loc": { - "start": { - "line": 46, - "column": 17 - }, - "end": { - "line": 46, - "column": 38 - }, - "identifierName": "CalendarRoundWildcard" - }, - "name": "CalendarRoundWildcard" - } - } } ], "directives": [] }, "comments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, { "type": "CommentBlock", "value": "*\n * A reusable singleton instance of the CalendarRoundIterator\n * @ignore\n * @type {CalendarRoundIterator}\n ", - "start": 85, - "end": 198, + "start": 60, + "end": 173, "loc": { "start": { - "line": 5, + "line": 3, "column": 0 }, "end": { - "line": 9, + "line": 7, "column": 3 } } @@ -1669,15 +1534,15 @@ { "type": "CommentBlock", "value": "*\n * Given a Calendar Round with a wildcard, calculate all possible matching\n * fully qualified Calendar Rounds.\n ", - "start": 242, - "end": 360, + "start": 217, + "end": 335, "loc": { "start": { - "line": 12, + "line": 10, "column": 0 }, "end": { - "line": 15, + "line": 13, "column": 3 } } @@ -1685,15 +1550,15 @@ { "type": "CommentBlock", "value": "*\n * @param {CalendarRound} cr\n ", - "start": 393, - "end": 433, + "start": 383, + "end": 423, "loc": { "start": { - "line": 17, + "line": 15, "column": 2 }, "end": { - "line": 19, + "line": 17, "column": 5 } } @@ -1701,15 +1566,15 @@ { "type": "CommentBlock", "value": "*\n * @type {CalendarRound}\n ", - "start": 458, - "end": 498, + "start": 448, + "end": 488, "loc": { "start": { - "line": 21, + "line": 19, "column": 4 }, "end": { - "line": 23, + "line": 21, "column": 7 } } @@ -1717,15 +1582,15 @@ { "type": "CommentBlock", "value": "*\n * Run calculation to find all fully qualified Calendar Rounds\n * @return {CalendarRound[]}\n ", - "start": 524, - "end": 629, + "start": 514, + "end": 619, "loc": { "start": { - "line": 27, + "line": 25, "column": 2 }, "end": { - "line": 30, + "line": 28, "column": 5 } } @@ -1733,43 +1598,27 @@ { "type": "CommentLine", "value": " Iterate through dates and compare", - "start": 671, - "end": 707, + "start": 661, + "end": 697, "loc": { "start": { - "line": 33, + "line": 31, "column": 4 }, "end": { - "line": 33, + "line": 31, "column": 40 } } } ], "tokens": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1778,17 +1627,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 15, - "end": 20, + "value": "import", + "start": 0, + "end": 6, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 5 + "line": 1, + "column": 6 } } }, @@ -1805,43 +1654,16 @@ "binop": null }, "value": "CalendarRoundIterator", - "start": 21, - "end": 42, + "start": 7, + "end": 28, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 27 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 43, - "end": 44, - "loc": { - "start": { - "line": 2, + "line": 1, "column": 28 - }, - "end": { - "line": 2, - "column": 29 } } }, @@ -1857,42 +1679,17 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 45, - "end": 52, - "loc": { - "start": { - "line": 2, - "column": 30 - }, - "end": { - "line": 2, - "column": 37 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 52, - "end": 53, + "value": "from", + "start": 29, + "end": 33, "loc": { "start": { - "line": 2, - "column": 37 + "line": 1, + "column": 29 }, "end": { - "line": 2, - "column": 38 + "line": 1, + "column": 33 } } }, @@ -1909,42 +1706,17 @@ "binop": null, "updateContext": null }, - "value": "./calendar-round-iterator", - "start": 53, - "end": 80, - "loc": { - "start": { - "line": 2, - "column": 38 - }, - "end": { - "line": 2, - "column": 65 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 80, - "end": 81, + "value": "./calendar-round-iter", + "start": 34, + "end": 57, "loc": { "start": { - "line": 2, - "column": 65 + "line": 1, + "column": 34 }, "end": { - "line": 2, - "column": 66 + "line": 1, + "column": 57 } } }, @@ -1961,31 +1733,31 @@ "binop": null, "updateContext": null }, - "start": 81, - "end": 82, + "start": 57, + "end": 58, "loc": { "start": { - "line": 2, - "column": 66 + "line": 1, + "column": 57 }, "end": { - "line": 2, - "column": 67 + "line": 1, + "column": 58 } } }, { "type": "CommentBlock", "value": "*\n * A reusable singleton instance of the CalendarRoundIterator\n * @ignore\n * @type {CalendarRoundIterator}\n ", - "start": 85, - "end": 198, + "start": 60, + "end": 173, "loc": { "start": { - "line": 5, + "line": 3, "column": 0 }, "end": { - "line": 9, + "line": 7, "column": 3 } } @@ -2005,15 +1777,15 @@ "updateContext": null }, "value": "const", - "start": 199, - "end": 204, + "start": 174, + "end": 179, "loc": { "start": { - "line": 10, + "line": 8, "column": 0 }, "end": { - "line": 10, + "line": 8, "column": 5 } } @@ -2031,15 +1803,15 @@ "binop": null }, "value": "iter", - "start": 205, - "end": 209, + "start": 180, + "end": 184, "loc": { "start": { - "line": 10, + "line": 8, "column": 6 }, "end": { - "line": 10, + "line": 8, "column": 10 } } @@ -2058,15 +1830,15 @@ "updateContext": null }, "value": "=", - "start": 210, - "end": 211, + "start": 185, + "end": 186, "loc": { "start": { - "line": 10, + "line": 8, "column": 11 }, "end": { - "line": 10, + "line": 8, "column": 12 } } @@ -2086,15 +1858,15 @@ "updateContext": null }, "value": "new", - "start": 212, - "end": 215, + "start": 187, + "end": 190, "loc": { "start": { - "line": 10, + "line": 8, "column": 13 }, "end": { - "line": 10, + "line": 8, "column": 16 } } @@ -2112,15 +1884,15 @@ "binop": null }, "value": "CalendarRoundIterator", - "start": 216, - "end": 237, + "start": 191, + "end": 212, "loc": { "start": { - "line": 10, + "line": 8, "column": 17 }, "end": { - "line": 10, + "line": 8, "column": 38 } } @@ -2137,15 +1909,15 @@ "postfix": false, "binop": null }, - "start": 237, - "end": 238, + "start": 212, + "end": 213, "loc": { "start": { - "line": 10, + "line": 8, "column": 38 }, "end": { - "line": 10, + "line": 8, "column": 39 } } @@ -2162,15 +1934,15 @@ "postfix": false, "binop": null }, - "start": 238, - "end": 239, + "start": 213, + "end": 214, "loc": { "start": { - "line": 10, + "line": 8, "column": 39 }, "end": { - "line": 10, + "line": 8, "column": 40 } } @@ -2188,15 +1960,15 @@ "binop": null, "updateContext": null }, - "start": 239, - "end": 240, + "start": 214, + "end": 215, "loc": { "start": { - "line": 10, + "line": 8, "column": 40 }, "end": { - "line": 10, + "line": 8, "column": 41 } } @@ -2204,19 +1976,75 @@ { "type": "CommentBlock", "value": "*\n * Given a Calendar Round with a wildcard, calculate all possible matching\n * fully qualified Calendar Rounds.\n ", - "start": 242, - "end": 360, + "start": 217, + "end": 335, "loc": { "start": { - "line": 12, + "line": 10, "column": 0 }, "end": { - "line": 15, + "line": 13, "column": 3 } } }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 336, + "end": 342, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 14, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 343, + "end": 350, + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 14 + } + } + }, { "type": { "label": "class", @@ -2232,16 +2060,16 @@ "updateContext": null }, "value": "class", - "start": 361, - "end": 366, + "start": 351, + "end": 356, "loc": { "start": { - "line": 16, - "column": 0 + "line": 14, + "column": 15 }, "end": { - "line": 16, - "column": 5 + "line": 14, + "column": 20 } } }, @@ -2258,16 +2086,16 @@ "binop": null }, "value": "CalendarRoundWildcard", - "start": 367, - "end": 388, + "start": 357, + "end": 378, "loc": { "start": { - "line": 16, - "column": 6 + "line": 14, + "column": 21 }, "end": { - "line": 16, - "column": 27 + "line": 14, + "column": 42 } } }, @@ -2283,31 +2111,31 @@ "postfix": false, "binop": null }, - "start": 389, - "end": 390, + "start": 379, + "end": 380, "loc": { "start": { - "line": 16, - "column": 28 + "line": 14, + "column": 43 }, "end": { - "line": 16, - "column": 29 + "line": 14, + "column": 44 } } }, { "type": "CommentBlock", "value": "*\n * @param {CalendarRound} cr\n ", - "start": 393, - "end": 433, + "start": 383, + "end": 423, "loc": { "start": { - "line": 17, + "line": 15, "column": 2 }, "end": { - "line": 19, + "line": 17, "column": 5 } } @@ -2325,15 +2153,15 @@ "binop": null }, "value": "constructor", - "start": 436, - "end": 447, + "start": 426, + "end": 437, "loc": { "start": { - "line": 20, + "line": 18, "column": 2 }, "end": { - "line": 20, + "line": 18, "column": 13 } } @@ -2350,15 +2178,15 @@ "postfix": false, "binop": null }, - "start": 447, - "end": 448, + "start": 437, + "end": 438, "loc": { "start": { - "line": 20, + "line": 18, "column": 13 }, "end": { - "line": 20, + "line": 18, "column": 14 } } @@ -2376,15 +2204,15 @@ "binop": null }, "value": "cr", - "start": 448, - "end": 450, + "start": 438, + "end": 440, "loc": { "start": { - "line": 20, + "line": 18, "column": 14 }, "end": { - "line": 20, + "line": 18, "column": 16 } } @@ -2401,15 +2229,15 @@ "postfix": false, "binop": null }, - "start": 450, - "end": 451, + "start": 440, + "end": 441, "loc": { "start": { - "line": 20, + "line": 18, "column": 16 }, "end": { - "line": 20, + "line": 18, "column": 17 } } @@ -2426,15 +2254,15 @@ "postfix": false, "binop": null }, - "start": 452, - "end": 453, + "start": 442, + "end": 443, "loc": { "start": { - "line": 20, + "line": 18, "column": 18 }, "end": { - "line": 20, + "line": 18, "column": 19 } } @@ -2442,15 +2270,15 @@ { "type": "CommentBlock", "value": "*\n * @type {CalendarRound}\n ", - "start": 458, - "end": 498, + "start": 448, + "end": 488, "loc": { "start": { - "line": 21, + "line": 19, "column": 4 }, "end": { - "line": 23, + "line": 21, "column": 7 } } @@ -2470,15 +2298,15 @@ "updateContext": null }, "value": "this", - "start": 503, - "end": 507, + "start": 493, + "end": 497, "loc": { "start": { - "line": 24, + "line": 22, "column": 4 }, "end": { - "line": 24, + "line": 22, "column": 8 } } @@ -2496,15 +2324,15 @@ "binop": null, "updateContext": null }, - "start": 507, - "end": 508, + "start": 497, + "end": 498, "loc": { "start": { - "line": 24, + "line": 22, "column": 8 }, "end": { - "line": 24, + "line": 22, "column": 9 } } @@ -2522,15 +2350,15 @@ "binop": null }, "value": "cr", - "start": 508, - "end": 510, + "start": 498, + "end": 500, "loc": { "start": { - "line": 24, + "line": 22, "column": 9 }, "end": { - "line": 24, + "line": 22, "column": 11 } } @@ -2549,15 +2377,15 @@ "updateContext": null }, "value": "=", - "start": 511, - "end": 512, + "start": 501, + "end": 502, "loc": { "start": { - "line": 24, + "line": 22, "column": 12 }, "end": { - "line": 24, + "line": 22, "column": 13 } } @@ -2575,15 +2403,15 @@ "binop": null }, "value": "cr", - "start": 513, - "end": 515, + "start": 503, + "end": 505, "loc": { "start": { - "line": 24, + "line": 22, "column": 14 }, "end": { - "line": 24, + "line": 22, "column": 16 } } @@ -2601,15 +2429,15 @@ "binop": null, "updateContext": null }, - "start": 515, - "end": 516, + "start": 505, + "end": 506, "loc": { "start": { - "line": 24, + "line": 22, "column": 16 }, "end": { - "line": 24, + "line": 22, "column": 17 } } @@ -2626,15 +2454,15 @@ "postfix": false, "binop": null }, - "start": 519, - "end": 520, + "start": 509, + "end": 510, "loc": { "start": { - "line": 25, + "line": 23, "column": 2 }, "end": { - "line": 25, + "line": 23, "column": 3 } } @@ -2642,15 +2470,15 @@ { "type": "CommentBlock", "value": "*\n * Run calculation to find all fully qualified Calendar Rounds\n * @return {CalendarRound[]}\n ", - "start": 524, - "end": 629, + "start": 514, + "end": 619, "loc": { "start": { - "line": 27, + "line": 25, "column": 2 }, "end": { - "line": 30, + "line": 28, "column": 5 } } @@ -2668,15 +2496,15 @@ "binop": null }, "value": "run", - "start": 632, - "end": 635, + "start": 622, + "end": 625, "loc": { "start": { - "line": 31, + "line": 29, "column": 2 }, "end": { - "line": 31, + "line": 29, "column": 5 } } @@ -2693,15 +2521,15 @@ "postfix": false, "binop": null }, - "start": 635, - "end": 636, + "start": 625, + "end": 626, "loc": { "start": { - "line": 31, + "line": 29, "column": 5 }, "end": { - "line": 31, + "line": 29, "column": 6 } } @@ -2718,15 +2546,15 @@ "postfix": false, "binop": null }, - "start": 636, - "end": 637, + "start": 626, + "end": 627, "loc": { "start": { - "line": 31, + "line": 29, "column": 6 }, "end": { - "line": 31, + "line": 29, "column": 7 } } @@ -2743,15 +2571,15 @@ "postfix": false, "binop": null }, - "start": 638, - "end": 639, + "start": 628, + "end": 629, "loc": { "start": { - "line": 31, + "line": 29, "column": 8 }, "end": { - "line": 31, + "line": 29, "column": 9 } } @@ -2771,15 +2599,15 @@ "updateContext": null }, "value": "const", - "start": 644, - "end": 649, + "start": 634, + "end": 639, "loc": { "start": { - "line": 32, + "line": 30, "column": 4 }, "end": { - "line": 32, + "line": 30, "column": 9 } } @@ -2797,15 +2625,15 @@ "binop": null }, "value": "potentials", - "start": 650, - "end": 660, + "start": 640, + "end": 650, "loc": { "start": { - "line": 32, + "line": 30, "column": 10 }, "end": { - "line": 32, + "line": 30, "column": 20 } } @@ -2824,15 +2652,15 @@ "updateContext": null }, "value": "=", - "start": 661, - "end": 662, + "start": 651, + "end": 652, "loc": { "start": { - "line": 32, + "line": 30, "column": 21 }, "end": { - "line": 32, + "line": 30, "column": 22 } } @@ -2850,15 +2678,15 @@ "binop": null, "updateContext": null }, - "start": 663, - "end": 664, + "start": 653, + "end": 654, "loc": { "start": { - "line": 32, + "line": 30, "column": 23 }, "end": { - "line": 32, + "line": 30, "column": 24 } } @@ -2876,15 +2704,15 @@ "binop": null, "updateContext": null }, - "start": 664, - "end": 665, + "start": 654, + "end": 655, "loc": { "start": { - "line": 32, + "line": 30, "column": 24 }, "end": { - "line": 32, + "line": 30, "column": 25 } } @@ -2902,15 +2730,15 @@ "binop": null, "updateContext": null }, - "start": 665, - "end": 666, + "start": 655, + "end": 656, "loc": { "start": { - "line": 32, + "line": 30, "column": 25 }, "end": { - "line": 32, + "line": 30, "column": 26 } } @@ -2918,15 +2746,15 @@ { "type": "CommentLine", "value": " Iterate through dates and compare", - "start": 671, - "end": 707, + "start": 661, + "end": 697, "loc": { "start": { - "line": 33, + "line": 31, "column": 4 }, "end": { - "line": 33, + "line": 31, "column": 40 } } @@ -2946,15 +2774,15 @@ "updateContext": null }, "value": "let", - "start": 712, - "end": 715, + "start": 702, + "end": 705, "loc": { "start": { - "line": 34, + "line": 32, "column": 4 }, "end": { - "line": 34, + "line": 32, "column": 7 } } @@ -2972,15 +2800,15 @@ "binop": null }, "value": "cr", - "start": 716, - "end": 718, + "start": 706, + "end": 708, "loc": { "start": { - "line": 34, + "line": 32, "column": 8 }, "end": { - "line": 34, + "line": 32, "column": 10 } } @@ -2999,15 +2827,15 @@ "updateContext": null }, "value": "=", - "start": 719, - "end": 720, + "start": 709, + "end": 710, "loc": { "start": { - "line": 34, + "line": 32, "column": 11 }, "end": { - "line": 34, + "line": 32, "column": 12 } } @@ -3025,15 +2853,15 @@ "binop": null }, "value": "iter", - "start": 721, - "end": 725, + "start": 711, + "end": 715, "loc": { "start": { - "line": 34, + "line": 32, "column": 13 }, "end": { - "line": 34, + "line": 32, "column": 17 } } @@ -3051,15 +2879,15 @@ "binop": null, "updateContext": null }, - "start": 725, - "end": 726, + "start": 715, + "end": 716, "loc": { "start": { - "line": 34, + "line": 32, "column": 17 }, "end": { - "line": 34, + "line": 32, "column": 18 } } @@ -3077,15 +2905,15 @@ "binop": null }, "value": "next", - "start": 726, - "end": 730, + "start": 716, + "end": 720, "loc": { "start": { - "line": 34, + "line": 32, "column": 18 }, "end": { - "line": 34, + "line": 32, "column": 22 } } @@ -3102,15 +2930,15 @@ "postfix": false, "binop": null }, - "start": 730, - "end": 731, + "start": 720, + "end": 721, "loc": { "start": { - "line": 34, + "line": 32, "column": 22 }, "end": { - "line": 34, + "line": 32, "column": 23 } } @@ -3127,15 +2955,15 @@ "postfix": false, "binop": null }, - "start": 731, - "end": 732, + "start": 721, + "end": 722, "loc": { "start": { - "line": 34, + "line": 32, "column": 23 }, "end": { - "line": 34, + "line": 32, "column": 24 } } @@ -3153,15 +2981,15 @@ "binop": null, "updateContext": null }, - "start": 732, - "end": 733, + "start": 722, + "end": 723, "loc": { "start": { - "line": 34, + "line": 32, "column": 24 }, "end": { - "line": 34, + "line": 32, "column": 25 } } @@ -3181,15 +3009,15 @@ "updateContext": null }, "value": "while", - "start": 738, - "end": 743, + "start": 728, + "end": 733, "loc": { "start": { - "line": 35, + "line": 33, "column": 4 }, "end": { - "line": 35, + "line": 33, "column": 9 } } @@ -3206,15 +3034,15 @@ "postfix": false, "binop": null }, - "start": 744, - "end": 745, + "start": 734, + "end": 735, "loc": { "start": { - "line": 35, + "line": 33, "column": 10 }, "end": { - "line": 35, + "line": 33, "column": 11 } } @@ -3233,15 +3061,15 @@ "updateContext": null }, "value": "!", - "start": 745, - "end": 746, + "start": 735, + "end": 736, "loc": { "start": { - "line": 35, + "line": 33, "column": 11 }, "end": { - "line": 35, + "line": 33, "column": 12 } } @@ -3259,15 +3087,15 @@ "binop": null }, "value": "cr", - "start": 746, - "end": 748, + "start": 736, + "end": 738, "loc": { "start": { - "line": 35, + "line": 33, "column": 12 }, "end": { - "line": 35, + "line": 33, "column": 14 } } @@ -3285,15 +3113,15 @@ "binop": null, "updateContext": null }, - "start": 748, - "end": 749, + "start": 738, + "end": 739, "loc": { "start": { - "line": 35, + "line": 33, "column": 14 }, "end": { - "line": 35, + "line": 33, "column": 15 } } @@ -3311,15 +3139,15 @@ "binop": null }, "value": "done", - "start": 749, - "end": 753, + "start": 739, + "end": 743, "loc": { "start": { - "line": 35, + "line": 33, "column": 15 }, "end": { - "line": 35, + "line": 33, "column": 19 } } @@ -3336,15 +3164,15 @@ "postfix": false, "binop": null }, - "start": 753, - "end": 754, + "start": 743, + "end": 744, "loc": { "start": { - "line": 35, + "line": 33, "column": 19 }, "end": { - "line": 35, + "line": 33, "column": 20 } } @@ -3361,15 +3189,15 @@ "postfix": false, "binop": null }, - "start": 755, - "end": 756, + "start": 745, + "end": 746, "loc": { "start": { - "line": 35, + "line": 33, "column": 21 }, "end": { - "line": 35, + "line": 33, "column": 22 } } @@ -3389,15 +3217,15 @@ "updateContext": null }, "value": "if", - "start": 763, - "end": 765, + "start": 753, + "end": 755, "loc": { "start": { - "line": 36, + "line": 34, "column": 6 }, "end": { - "line": 36, + "line": 34, "column": 8 } } @@ -3414,15 +3242,15 @@ "postfix": false, "binop": null }, - "start": 766, - "end": 767, + "start": 756, + "end": 757, "loc": { "start": { - "line": 36, + "line": 34, "column": 9 }, "end": { - "line": 36, + "line": 34, "column": 10 } } @@ -3442,15 +3270,15 @@ "updateContext": null }, "value": "this", - "start": 767, - "end": 771, + "start": 757, + "end": 761, "loc": { "start": { - "line": 36, + "line": 34, "column": 10 }, "end": { - "line": 36, + "line": 34, "column": 14 } } @@ -3468,15 +3296,15 @@ "binop": null, "updateContext": null }, - "start": 771, - "end": 772, + "start": 761, + "end": 762, "loc": { "start": { - "line": 36, + "line": 34, "column": 14 }, "end": { - "line": 36, + "line": 34, "column": 15 } } @@ -3494,15 +3322,15 @@ "binop": null }, "value": "cr", - "start": 772, - "end": 774, + "start": 762, + "end": 764, "loc": { "start": { - "line": 36, + "line": 34, "column": 15 }, "end": { - "line": 36, + "line": 34, "column": 17 } } @@ -3520,15 +3348,15 @@ "binop": null, "updateContext": null }, - "start": 774, - "end": 775, + "start": 764, + "end": 765, "loc": { "start": { - "line": 36, + "line": 34, "column": 17 }, "end": { - "line": 36, + "line": 34, "column": 18 } } @@ -3546,15 +3374,15 @@ "binop": null }, "value": "match", - "start": 775, - "end": 780, + "start": 765, + "end": 770, "loc": { "start": { - "line": 36, + "line": 34, "column": 18 }, "end": { - "line": 36, + "line": 34, "column": 23 } } @@ -3571,15 +3399,15 @@ "postfix": false, "binop": null }, - "start": 780, - "end": 781, + "start": 770, + "end": 771, "loc": { "start": { - "line": 36, + "line": 34, "column": 23 }, "end": { - "line": 36, + "line": 34, "column": 24 } } @@ -3597,15 +3425,15 @@ "binop": null }, "value": "cr", - "start": 781, - "end": 783, + "start": 771, + "end": 773, "loc": { "start": { - "line": 36, + "line": 34, "column": 24 }, "end": { - "line": 36, + "line": 34, "column": 26 } } @@ -3623,15 +3451,15 @@ "binop": null, "updateContext": null }, - "start": 783, - "end": 784, + "start": 773, + "end": 774, "loc": { "start": { - "line": 36, + "line": 34, "column": 26 }, "end": { - "line": 36, + "line": 34, "column": 27 } } @@ -3649,15 +3477,15 @@ "binop": null }, "value": "value", - "start": 784, - "end": 789, + "start": 774, + "end": 779, "loc": { "start": { - "line": 36, + "line": 34, "column": 27 }, "end": { - "line": 36, + "line": 34, "column": 32 } } @@ -3674,15 +3502,15 @@ "postfix": false, "binop": null }, - "start": 789, - "end": 790, + "start": 779, + "end": 780, "loc": { "start": { - "line": 36, + "line": 34, "column": 32 }, "end": { - "line": 36, + "line": 34, "column": 33 } } @@ -3699,15 +3527,15 @@ "postfix": false, "binop": null }, - "start": 790, - "end": 791, + "start": 780, + "end": 781, "loc": { "start": { - "line": 36, + "line": 34, "column": 33 }, "end": { - "line": 36, + "line": 34, "column": 34 } } @@ -3724,15 +3552,15 @@ "postfix": false, "binop": null }, - "start": 792, - "end": 793, + "start": 782, + "end": 783, "loc": { "start": { - "line": 36, + "line": 34, "column": 35 }, "end": { - "line": 36, + "line": 34, "column": 36 } } @@ -3750,15 +3578,15 @@ "binop": null }, "value": "potentials", - "start": 802, - "end": 812, + "start": 792, + "end": 802, "loc": { "start": { - "line": 37, + "line": 35, "column": 8 }, "end": { - "line": 37, + "line": 35, "column": 18 } } @@ -3776,15 +3604,15 @@ "binop": null, "updateContext": null }, - "start": 812, - "end": 813, + "start": 802, + "end": 803, "loc": { "start": { - "line": 37, + "line": 35, "column": 18 }, "end": { - "line": 37, + "line": 35, "column": 19 } } @@ -3802,15 +3630,15 @@ "binop": null }, "value": "push", - "start": 813, - "end": 817, + "start": 803, + "end": 807, "loc": { "start": { - "line": 37, + "line": 35, "column": 19 }, "end": { - "line": 37, + "line": 35, "column": 23 } } @@ -3827,15 +3655,15 @@ "postfix": false, "binop": null }, - "start": 817, - "end": 818, + "start": 807, + "end": 808, "loc": { "start": { - "line": 37, + "line": 35, "column": 23 }, "end": { - "line": 37, + "line": 35, "column": 24 } } @@ -3853,15 +3681,15 @@ "binop": null }, "value": "cr", - "start": 818, - "end": 820, + "start": 808, + "end": 810, "loc": { "start": { - "line": 37, + "line": 35, "column": 24 }, "end": { - "line": 37, + "line": 35, "column": 26 } } @@ -3879,15 +3707,15 @@ "binop": null, "updateContext": null }, - "start": 820, - "end": 821, + "start": 810, + "end": 811, "loc": { "start": { - "line": 37, + "line": 35, "column": 26 }, "end": { - "line": 37, + "line": 35, "column": 27 } } @@ -3905,15 +3733,15 @@ "binop": null }, "value": "value", - "start": 821, - "end": 826, + "start": 811, + "end": 816, "loc": { "start": { - "line": 37, + "line": 35, "column": 27 }, "end": { - "line": 37, + "line": 35, "column": 32 } } @@ -3930,15 +3758,15 @@ "postfix": false, "binop": null }, - "start": 826, - "end": 827, + "start": 816, + "end": 817, "loc": { "start": { - "line": 37, + "line": 35, "column": 32 }, "end": { - "line": 37, + "line": 35, "column": 33 } } @@ -3956,15 +3784,15 @@ "binop": null, "updateContext": null }, - "start": 827, - "end": 828, + "start": 817, + "end": 818, "loc": { "start": { - "line": 37, + "line": 35, "column": 33 }, "end": { - "line": 37, + "line": 35, "column": 34 } } @@ -3981,15 +3809,15 @@ "postfix": false, "binop": null }, - "start": 835, - "end": 836, + "start": 825, + "end": 826, "loc": { "start": { - "line": 38, + "line": 36, "column": 6 }, "end": { - "line": 38, + "line": 36, "column": 7 } } @@ -4007,15 +3835,15 @@ "binop": null }, "value": "cr", - "start": 843, - "end": 845, + "start": 833, + "end": 835, "loc": { "start": { - "line": 39, + "line": 37, "column": 6 }, "end": { - "line": 39, + "line": 37, "column": 8 } } @@ -4034,15 +3862,15 @@ "updateContext": null }, "value": "=", - "start": 846, - "end": 847, + "start": 836, + "end": 837, "loc": { "start": { - "line": 39, + "line": 37, "column": 9 }, "end": { - "line": 39, + "line": 37, "column": 10 } } @@ -4060,15 +3888,15 @@ "binop": null }, "value": "iter", - "start": 848, - "end": 852, + "start": 838, + "end": 842, "loc": { "start": { - "line": 39, + "line": 37, "column": 11 }, "end": { - "line": 39, + "line": 37, "column": 15 } } @@ -4086,15 +3914,15 @@ "binop": null, "updateContext": null }, - "start": 852, - "end": 853, + "start": 842, + "end": 843, "loc": { "start": { - "line": 39, + "line": 37, "column": 15 }, "end": { - "line": 39, + "line": 37, "column": 16 } } @@ -4112,15 +3940,15 @@ "binop": null }, "value": "next", - "start": 853, - "end": 857, + "start": 843, + "end": 847, "loc": { "start": { - "line": 39, + "line": 37, "column": 16 }, "end": { - "line": 39, + "line": 37, "column": 20 } } @@ -4137,15 +3965,15 @@ "postfix": false, "binop": null }, - "start": 857, - "end": 858, + "start": 847, + "end": 848, "loc": { "start": { - "line": 39, + "line": 37, "column": 20 }, "end": { - "line": 39, + "line": 37, "column": 21 } } @@ -4162,15 +3990,15 @@ "postfix": false, "binop": null }, - "start": 858, - "end": 859, + "start": 848, + "end": 849, "loc": { "start": { - "line": 39, + "line": 37, "column": 21 }, "end": { - "line": 39, + "line": 37, "column": 22 } } @@ -4188,15 +4016,15 @@ "binop": null, "updateContext": null }, - "start": 859, - "end": 860, + "start": 849, + "end": 850, "loc": { "start": { - "line": 39, + "line": 37, "column": 22 }, "end": { - "line": 39, + "line": 37, "column": 23 } } @@ -4213,15 +4041,15 @@ "postfix": false, "binop": null }, - "start": 865, - "end": 866, + "start": 855, + "end": 856, "loc": { "start": { - "line": 40, + "line": 38, "column": 4 }, "end": { - "line": 40, + "line": 38, "column": 5 } } @@ -4239,15 +4067,15 @@ "binop": null }, "value": "iter", - "start": 871, - "end": 875, + "start": 861, + "end": 865, "loc": { "start": { - "line": 41, + "line": 39, "column": 4 }, "end": { - "line": 41, + "line": 39, "column": 8 } } @@ -4265,15 +4093,15 @@ "binop": null, "updateContext": null }, - "start": 875, - "end": 876, + "start": 865, + "end": 866, "loc": { "start": { - "line": 41, + "line": 39, "column": 8 }, "end": { - "line": 41, + "line": 39, "column": 9 } } @@ -4291,15 +4119,15 @@ "binop": null }, "value": "reset", - "start": 876, - "end": 881, + "start": 866, + "end": 871, "loc": { "start": { - "line": 41, + "line": 39, "column": 9 }, "end": { - "line": 41, + "line": 39, "column": 14 } } @@ -4316,15 +4144,15 @@ "postfix": false, "binop": null }, - "start": 881, - "end": 882, + "start": 871, + "end": 872, "loc": { "start": { - "line": 41, + "line": 39, "column": 14 }, "end": { - "line": 41, + "line": 39, "column": 15 } } @@ -4341,15 +4169,15 @@ "postfix": false, "binop": null }, - "start": 882, - "end": 883, + "start": 872, + "end": 873, "loc": { "start": { - "line": 41, + "line": 39, "column": 15 }, "end": { - "line": 41, + "line": 39, "column": 16 } } @@ -4367,15 +4195,15 @@ "binop": null, "updateContext": null }, - "start": 883, - "end": 884, + "start": 873, + "end": 874, "loc": { "start": { - "line": 41, + "line": 39, "column": 16 }, "end": { - "line": 41, + "line": 39, "column": 17 } } @@ -4395,15 +4223,15 @@ "updateContext": null }, "value": "return", - "start": 889, - "end": 895, + "start": 879, + "end": 885, "loc": { "start": { - "line": 42, + "line": 40, "column": 4 }, "end": { - "line": 42, + "line": 40, "column": 10 } } @@ -4421,15 +4249,15 @@ "binop": null }, "value": "potentials", - "start": 896, - "end": 906, + "start": 886, + "end": 896, "loc": { "start": { - "line": 42, + "line": 40, "column": 11 }, "end": { - "line": 42, + "line": 40, "column": 21 } } @@ -4447,15 +4275,15 @@ "binop": null, "updateContext": null }, - "start": 906, - "end": 907, + "start": 896, + "end": 897, "loc": { "start": { - "line": 42, + "line": 40, "column": 21 }, "end": { - "line": 42, + "line": 40, "column": 22 } } @@ -4472,15 +4300,15 @@ "postfix": false, "binop": null }, - "start": 910, - "end": 911, + "start": 900, + "end": 901, "loc": { "start": { - "line": 43, + "line": 41, "column": 2 }, "end": { - "line": 43, + "line": 41, "column": 3 } } @@ -4497,176 +4325,19 @@ "postfix": false, "binop": null }, - "start": 912, - "end": 913, + "start": 902, + "end": 903, "loc": { "start": { - "line": 44, + "line": 42, "column": 0 }, "end": { - "line": 44, + "line": 42, "column": 1 } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "module", - "start": 915, - "end": 921, - "loc": { - "start": { - "line": 46, - "column": 0 - }, - "end": { - "line": 46, - "column": 6 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 921, - "end": 922, - "loc": { - "start": { - "line": 46, - "column": 6 - }, - "end": { - "line": 46, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "exports", - "start": 922, - "end": 929, - "loc": { - "start": { - "line": 46, - "column": 7 - }, - "end": { - "line": 46, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 930, - "end": 931, - "loc": { - "start": { - "line": 46, - "column": 15 - }, - "end": { - "line": 46, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "CalendarRoundWildcard", - "start": 932, - "end": 953, - "loc": { - "start": { - "line": 46, - "column": 17 - }, - "end": { - "line": 46, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 953, - "end": 954, - "loc": { - "start": { - "line": 46, - "column": 38 - }, - "end": { - "line": 46, - "column": 39 - } - } - }, { "type": { "label": "eof", @@ -4680,15 +4351,15 @@ "binop": null, "updateContext": null }, - "start": 955, - "end": 955, + "start": 904, + "end": 904, "loc": { "start": { - "line": 47, + "line": 43, "column": 0 }, "end": { - "line": 47, + "line": 43, "column": 0 } } diff --git a/docs/ast/source/operations/fulldate-wildcard.js.json b/docs/ast/source/operations/fulldate-wildcard.js.json index 6642d0e..7f07af4 100644 --- a/docs/ast/source/operations/fulldate-wildcard.js.json +++ b/docs/ast/source/operations/fulldate-wildcard.js.json @@ -1,169 +1,252 @@ { "type": "File", "start": 0, - "end": 2029, + "end": 1881, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 72, + "line": 64, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 2029, + "end": 1881, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 72, + "line": 64, "column": 0 } }, "sourceType": "module", "body": [ { - "type": "VariableDeclaration", - "start": 15, - "end": 56, + "type": "ImportDeclaration", + "start": 0, + "end": 36, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 41 + "line": 1, + "column": 36 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 21, - "end": 55, + "type": "ImportDefaultSpecifier", + "start": 7, + "end": 15, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 40 + "line": 1, + "column": 15 } }, - "id": { + "local": { "type": "Identifier", - "start": 21, - "end": 29, + "start": 7, + "end": 15, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 14 + "line": 1, + "column": 15 }, "identifierName": "FullDate" }, - "name": "FullDate", - "leadingComments": null + "name": "FullDate" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 21, + "end": 35, + "loc": { + "start": { + "line": 1, + "column": 21 }, - "init": { - "type": "CallExpression", - "start": 32, - "end": 55, + "end": { + "line": 1, + "column": 35 + } + }, + "extra": { + "rawValue": "../full-date", + "raw": "'../full-date'" + }, + "value": "../full-date" + } + }, + { + "type": "ImportDeclaration", + "start": 37, + "end": 90, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 53 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 44, + "end": 61, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 24 + } + }, + "local": { + "type": "Identifier", + "start": 44, + "end": 61, "loc": { "start": { "line": 2, - "column": 17 + "column": 7 }, "end": { "line": 2, - "column": 40 - } - }, - "callee": { - "type": "Identifier", - "start": 32, - "end": 39, - "loc": { - "start": { - "line": 2, - "column": 17 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "require" + "column": 24 }, - "name": "require" + "identifierName": "LongCountWildcard" }, - "arguments": [ - { - "type": "StringLiteral", - "start": 40, - "end": 54, - "loc": { - "start": { - "line": 2, - "column": 25 - }, - "end": { - "line": 2, - "column": 39 - } - }, - "extra": { - "rawValue": "../full-date", - "raw": "'../full-date'" - }, - "value": "../full-date" - } - ] - }, - "leadingComments": null + "name": "LongCountWildcard" + } } ], - "kind": "const", - "leadingComments": [ + "source": { + "type": "StringLiteral", + "start": 67, + "end": 89, + "loc": { + "start": { + "line": 2, + "column": 30 + }, + "end": { + "line": 2, + "column": 52 + } + }, + "extra": { + "rawValue": "./longcount-wildcard", + "raw": "'./longcount-wildcard'" + }, + "value": "./longcount-wildcard" + } + }, + { + "type": "ImportDeclaration", + "start": 91, + "end": 153, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 62 + } + }, + "specifiers": [ { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, + "type": "ImportDefaultSpecifier", + "start": 98, + "end": 119, "loc": { "start": { - "line": 1, - "column": 0 + "line": 3, + "column": 7 }, "end": { - "line": 1, - "column": 14 + "line": 3, + "column": 28 } + }, + "local": { + "type": "Identifier", + "start": 98, + "end": 119, + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 28 + }, + "identifierName": "CalendarRoundWildcard" + }, + "name": "CalendarRoundWildcard" } } ], + "source": { + "type": "StringLiteral", + "start": 125, + "end": 152, + "loc": { + "start": { + "line": 3, + "column": 34 + }, + "end": { + "line": 3, + "column": 61 + } + }, + "extra": { + "rawValue": "./calendar-round-wildcard", + "raw": "'./calendar-round-wildcard'" + }, + "value": "./calendar-round-wildcard" + }, "trailingComments": [ { "type": "CommentBlock", "value": "* @ignore ", - "start": 57, - "end": 71, + "start": 155, + "end": 169, "loc": { "start": { - "line": 3, + "line": 5, "column": 0 }, "end": { - "line": 3, + "line": 5, "column": 14 } } @@ -172,104 +255,206 @@ }, { "type": "VariableDeclaration", - "start": 72, - "end": 142, + "start": 170, + "end": 207, "loc": { "start": { - "line": 4, + "line": 6, "column": 0 }, "end": { - "line": 4, - "column": 70 + "line": 6, + "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 78, - "end": 141, + "start": 176, + "end": 206, "loc": { "start": { - "line": 4, + "line": 6, "column": 6 }, "end": { - "line": 4, - "column": 69 + "line": 6, + "column": 36 } }, "id": { "type": "Identifier", - "start": 78, - "end": 95, + "start": 176, + "end": 182, "loc": { "start": { - "line": 4, + "line": 6, "column": 6 }, "end": { - "line": 4, - "column": 23 + "line": 6, + "column": 12 }, - "identifierName": "LongCountWildcard" + "identifierName": "concat" }, - "name": "LongCountWildcard", + "name": "concat", "leadingComments": null }, "init": { - "type": "CallExpression", - "start": 98, - "end": 141, + "type": "ArrowFunctionExpression", + "start": 185, + "end": 206, "loc": { "start": { - "line": 4, - "column": 26 + "line": 6, + "column": 15 }, "end": { - "line": 4, - "column": 69 + "line": 6, + "column": 36 } }, - "callee": { + "id": { "type": "Identifier", - "start": 98, - "end": 105, + "start": 176, + "end": 182, "loc": { "start": { - "line": 4, - "column": 26 + "line": 6, + "column": 6 }, "end": { - "line": 4, - "column": 33 + "line": 6, + "column": 12 }, - "identifierName": "require" + "identifierName": "concat" }, - "name": "require" + "name": "concat", + "leadingComments": null }, - "arguments": [ + "generator": false, + "expression": true, + "async": false, + "params": [ { - "type": "StringLiteral", - "start": 106, - "end": 140, + "type": "Identifier", + "start": 186, + "end": 187, "loc": { "start": { - "line": 4, - "column": 34 + "line": 6, + "column": 16 }, "end": { - "line": 4, - "column": 68 - } + "line": 6, + "column": 17 + }, + "identifierName": "x" }, - "extra": { - "rawValue": "../operations/longcount-wildcard", - "raw": "'../operations/longcount-wildcard'" + "name": "x" + }, + { + "type": "Identifier", + "start": 189, + "end": 190, + "loc": { + "start": { + "line": 6, + "column": 19 + }, + "end": { + "line": 6, + "column": 20 + }, + "identifierName": "y" }, - "value": "../operations/longcount-wildcard" + "name": "y" } - ] + ], + "body": { + "type": "CallExpression", + "start": 195, + "end": 206, + "loc": { + "start": { + "line": 6, + "column": 25 + }, + "end": { + "line": 6, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 195, + "end": 203, + "loc": { + "start": { + "line": 6, + "column": 25 + }, + "end": { + "line": 6, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 195, + "end": 196, + "loc": { + "start": { + "line": 6, + "column": 25 + }, + "end": { + "line": 6, + "column": 26 + }, + "identifierName": "x" + }, + "name": "x" + }, + "property": { + "type": "Identifier", + "start": 197, + "end": 203, + "loc": { + "start": { + "line": 6, + "column": 27 + }, + "end": { + "line": 6, + "column": 33 + }, + "identifierName": "concat" + }, + "name": "concat" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 204, + "end": 205, + "loc": { + "start": { + "line": 6, + "column": 34 + }, + "end": { + "line": 6, + "column": 35 + }, + "identifierName": "y" + }, + "name": "y" + } + ] + } }, "leadingComments": null } @@ -279,15 +464,15 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 57, - "end": 71, + "start": 155, + "end": 169, "loc": { "start": { - "line": 3, + "line": 5, "column": 0 }, "end": { - "line": 3, + "line": 5, "column": 14 } } @@ -297,15 +482,15 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 143, - "end": 157, + "start": 209, + "end": 223, "loc": { "start": { - "line": 5, + "line": 8, "column": 0 }, "end": { - "line": 5, + "line": 8, "column": 14 } } @@ -314,165 +499,23 @@ }, { "type": "VariableDeclaration", - "start": 158, - "end": 237, + "start": 224, + "end": 280, "loc": { "start": { - "line": 6, - "column": 0 - }, - "end": { - "line": 6, - "column": 79 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 164, - "end": 236, - "loc": { - "start": { - "line": 6, - "column": 6 - }, - "end": { - "line": 6, - "column": 78 - } - }, - "id": { - "type": "Identifier", - "start": 164, - "end": 185, - "loc": { - "start": { - "line": 6, - "column": 6 - }, - "end": { - "line": 6, - "column": 27 - }, - "identifierName": "CalendarRoundWildcard" - }, - "name": "CalendarRoundWildcard", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 188, - "end": 236, - "loc": { - "start": { - "line": 6, - "column": 30 - }, - "end": { - "line": 6, - "column": 78 - } - }, - "callee": { - "type": "Identifier", - "start": 188, - "end": 195, - "loc": { - "start": { - "line": 6, - "column": 30 - }, - "end": { - "line": 6, - "column": 37 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 196, - "end": 235, - "loc": { - "start": { - "line": 6, - "column": 38 - }, - "end": { - "line": 6, - "column": 77 - } - }, - "extra": { - "rawValue": "../operations/calendar-round-wildcard", - "raw": "'../operations/calendar-round-wildcard'" - }, - "value": "../operations/calendar-round-wildcard" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 143, - "end": 157, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 239, - "end": 253, - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 8, - "column": 14 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 254, - "end": 291, - "loc": { - "start": { - "line": 9, + "line": 9, "column": 0 }, "end": { "line": 9, - "column": 37 + "column": 56 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 260, - "end": 290, + "start": 230, + "end": 279, "loc": { "start": { "line": 9, @@ -480,13 +523,13 @@ }, "end": { "line": 9, - "column": 36 + "column": 55 } }, "id": { "type": "Identifier", - "start": 260, - "end": 266, + "start": 230, + "end": 237, "loc": { "start": { "line": 9, @@ -494,31 +537,31 @@ }, "end": { "line": 9, - "column": 12 + "column": 13 }, - "identifierName": "concat" + "identifierName": "flatMap" }, - "name": "concat", + "name": "flatMap", "leadingComments": null }, "init": { "type": "ArrowFunctionExpression", - "start": 269, - "end": 290, + "start": 240, + "end": 279, "loc": { "start": { "line": 9, - "column": 15 + "column": 16 }, "end": { "line": 9, - "column": 36 + "column": 55 } }, "id": { "type": "Identifier", - "start": 260, - "end": 266, + "start": 230, + "end": 237, "loc": { "start": { "line": 9, @@ -526,11 +569,11 @@ }, "end": { "line": 9, - "column": 12 + "column": 13 }, - "identifierName": "concat" + "identifierName": "flatMap" }, - "name": "concat", + "name": "flatMap", "leadingComments": null }, "generator": false, @@ -539,120 +582,203 @@ "params": [ { "type": "Identifier", - "start": 270, - "end": 271, + "start": 241, + "end": 242, "loc": { "start": { "line": 9, - "column": 16 + "column": 17 }, "end": { "line": 9, - "column": 17 + "column": 18 }, - "identifierName": "x" + "identifierName": "f" }, - "name": "x" + "name": "f" }, { "type": "Identifier", - "start": 273, - "end": 274, + "start": 244, + "end": 246, "loc": { "start": { "line": 9, - "column": 19 + "column": 20 }, "end": { "line": 9, - "column": 20 + "column": 22 }, - "identifierName": "y" + "identifierName": "xs" }, - "name": "y" + "name": "xs" } ], "body": { "type": "CallExpression", - "start": 279, - "end": 290, + "start": 251, + "end": 279, "loc": { "start": { "line": 9, - "column": 25 + "column": 27 }, "end": { "line": 9, - "column": 36 + "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 279, - "end": 287, + "start": 251, + "end": 267, "loc": { "start": { "line": 9, - "column": 25 + "column": 27 }, "end": { "line": 9, - "column": 33 + "column": 43 } }, "object": { - "type": "Identifier", - "start": 279, - "end": 280, + "type": "CallExpression", + "start": 251, + "end": 260, "loc": { "start": { "line": 9, - "column": 25 + "column": 27 }, "end": { "line": 9, - "column": 26 + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 251, + "end": 257, + "loc": { + "start": { + "line": 9, + "column": 27 + }, + "end": { + "line": 9, + "column": 33 + } }, - "identifierName": "x" + "object": { + "type": "Identifier", + "start": 251, + "end": 253, + "loc": { + "start": { + "line": 9, + "column": 27 + }, + "end": { + "line": 9, + "column": 29 + }, + "identifierName": "xs" + }, + "name": "xs" + }, + "property": { + "type": "Identifier", + "start": 254, + "end": 257, + "loc": { + "start": { + "line": 9, + "column": 30 + }, + "end": { + "line": 9, + "column": 33 + }, + "identifierName": "map" + }, + "name": "map" + }, + "computed": false }, - "name": "x" + "arguments": [ + { + "type": "Identifier", + "start": 258, + "end": 259, + "loc": { + "start": { + "line": 9, + "column": 34 + }, + "end": { + "line": 9, + "column": 35 + }, + "identifierName": "f" + }, + "name": "f" + } + ] }, "property": { "type": "Identifier", - "start": 281, - "end": 287, + "start": 261, + "end": 267, "loc": { "start": { "line": 9, - "column": 27 + "column": 37 }, "end": { "line": 9, - "column": 33 + "column": 43 }, - "identifierName": "concat" + "identifierName": "reduce" }, - "name": "concat" + "name": "reduce" }, "computed": false }, "arguments": [ { "type": "Identifier", - "start": 288, - "end": 289, + "start": 268, + "end": 274, "loc": { "start": { "line": 9, - "column": 34 + "column": 44 }, "end": { "line": 9, - "column": 35 + "column": 50 }, - "identifierName": "y" + "identifierName": "concat" }, - "name": "y" + "name": "concat" + }, + { + "type": "ArrayExpression", + "start": 276, + "end": 278, + "loc": { + "start": { + "line": 9, + "column": 52 + }, + "end": { + "line": 9, + "column": 54 + } + }, + "elements": [] } ] } @@ -665,8 +791,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 239, - "end": 253, + "start": 209, + "end": 223, "loc": { "start": { "line": 8, @@ -683,8 +809,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 293, - "end": 307, + "start": 282, + "end": 296, "loc": { "start": { "line": 11, @@ -695,305 +821,301 @@ "column": 14 } } + }, + { + "type": "CommentLine", + "value": " eslint-disable-next-line no-extend-native,func-names", + "start": 297, + "end": 352, + "loc": { + "start": { + "line": 12, + "column": 0 + }, + "end": { + "line": 12, + "column": 55 + } + } } ] }, { - "type": "VariableDeclaration", - "start": 308, - "end": 364, + "type": "ExpressionStatement", + "start": 353, + "end": 423, "loc": { "start": { - "line": 12, + "line": 13, "column": 0 }, "end": { - "line": 12, - "column": 56 + "line": 15, + "column": 2 } }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 314, - "end": 363, + "expression": { + "type": "AssignmentExpression", + "start": 353, + "end": 422, + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 15, + "column": 1 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 353, + "end": 376, "loc": { "start": { - "line": 12, - "column": 6 + "line": 13, + "column": 0 }, "end": { - "line": 12, - "column": 55 + "line": 13, + "column": 23 } }, - "id": { + "object": { + "type": "MemberExpression", + "start": 353, + "end": 368, + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 13, + "column": 15 + } + }, + "object": { + "type": "Identifier", + "start": 353, + "end": 358, + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 13, + "column": 5 + }, + "identifierName": "Array" + }, + "name": "Array", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 359, + "end": 368, + "loc": { + "start": { + "line": 13, + "column": 6 + }, + "end": { + "line": 13, + "column": 15 + }, + "identifierName": "prototype" + }, + "name": "prototype" + }, + "computed": false, + "leadingComments": null + }, + "property": { "type": "Identifier", - "start": 314, - "end": 321, + "start": 369, + "end": 376, "loc": { "start": { - "line": 12, - "column": 6 + "line": 13, + "column": 16 }, "end": { - "line": 12, - "column": 13 + "line": 13, + "column": 23 }, "identifierName": "flatMap" }, - "name": "flatMap", - "leadingComments": null + "name": "flatMap" }, - "init": { - "type": "ArrowFunctionExpression", - "start": 324, - "end": 363, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "FunctionExpression", + "start": 379, + "end": 422, + "loc": { + "start": { + "line": 13, + "column": 26 + }, + "end": { + "line": 15, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 369, + "end": 376, "loc": { "start": { - "line": 12, + "line": 13, "column": 16 }, "end": { - "line": 12, - "column": 55 - } + "line": 13, + "column": 23 + }, + "identifierName": "flatMap" }, - "id": { + "name": "flatMap" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { "type": "Identifier", - "start": 314, - "end": 321, + "start": 389, + "end": 390, "loc": { "start": { - "line": 12, - "column": 6 + "line": 13, + "column": 36 }, "end": { - "line": 12, - "column": 13 + "line": 13, + "column": 37 }, - "identifierName": "flatMap" + "identifierName": "f" }, - "name": "flatMap", - "leadingComments": null - }, - "generator": false, - "expression": true, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 325, - "end": 326, - "loc": { - "start": { - "line": 12, - "column": 17 - }, - "end": { - "line": 12, - "column": 18 - }, - "identifierName": "f" - }, - "name": "f" + "name": "f" + } + ], + "body": { + "type": "BlockStatement", + "start": 392, + "end": 422, + "loc": { + "start": { + "line": 13, + "column": 39 }, - { - "type": "Identifier", - "start": 328, - "end": 330, - "loc": { - "start": { - "line": 12, - "column": 20 - }, - "end": { - "line": 12, - "column": 22 - }, - "identifierName": "xs" - }, - "name": "xs" + "end": { + "line": 15, + "column": 1 } - ], - "body": { - "type": "CallExpression", - "start": 335, - "end": 363, - "loc": { - "start": { - "line": 12, - "column": 27 - }, - "end": { - "line": 12, - "column": 55 - } - }, - "callee": { - "type": "MemberExpression", - "start": 335, - "end": 351, + }, + "body": [ + { + "type": "ReturnStatement", + "start": 396, + "end": 420, "loc": { "start": { - "line": 12, - "column": 27 + "line": 14, + "column": 2 }, "end": { - "line": 12, - "column": 43 + "line": 14, + "column": 26 } }, - "object": { + "argument": { "type": "CallExpression", - "start": 335, - "end": 344, + "start": 403, + "end": 419, "loc": { "start": { - "line": 12, - "column": 27 + "line": 14, + "column": 9 }, "end": { - "line": 12, - "column": 36 + "line": 14, + "column": 25 } }, "callee": { - "type": "MemberExpression", - "start": 335, - "end": 341, + "type": "Identifier", + "start": 403, + "end": 410, "loc": { "start": { - "line": 12, - "column": 27 + "line": 14, + "column": 9 }, "end": { - "line": 12, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 335, - "end": 337, - "loc": { - "start": { - "line": 12, - "column": 27 - }, - "end": { - "line": 12, - "column": 29 - }, - "identifierName": "xs" + "line": 14, + "column": 16 }, - "name": "xs" + "identifierName": "flatMap" }, - "property": { + "name": "flatMap" + }, + "arguments": [ + { "type": "Identifier", - "start": 338, - "end": 341, + "start": 411, + "end": 412, "loc": { "start": { - "line": 12, - "column": 30 + "line": 14, + "column": 17 }, "end": { - "line": 12, - "column": 33 + "line": 14, + "column": 18 }, - "identifierName": "map" + "identifierName": "f" }, - "name": "map" + "name": "f" }, - "computed": false - }, - "arguments": [ { - "type": "Identifier", - "start": 342, - "end": 343, + "type": "ThisExpression", + "start": 414, + "end": 418, "loc": { "start": { - "line": 12, - "column": 34 + "line": 14, + "column": 20 }, "end": { - "line": 12, - "column": 35 - }, - "identifierName": "f" - }, - "name": "f" + "line": 14, + "column": 24 + } + } } ] - }, - "property": { - "type": "Identifier", - "start": 345, - "end": 351, - "loc": { - "start": { - "line": 12, - "column": 37 - }, - "end": { - "line": 12, - "column": 43 - }, - "identifierName": "reduce" - }, - "name": "reduce" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 352, - "end": 358, - "loc": { - "start": { - "line": 12, - "column": 44 - }, - "end": { - "line": 12, - "column": 50 - }, - "identifierName": "concat" - }, - "name": "concat" - }, - { - "type": "ArrayExpression", - "start": 360, - "end": 362, - "loc": { - "start": { - "line": 12, - "column": 52 - }, - "end": { - "line": 12, - "column": 54 - } - }, - "elements": [] } - ] - } - }, - "leadingComments": null - } - ], - "kind": "const", + } + ], + "directives": [] + } + }, + "leadingComments": null + }, "leadingComments": [ { "type": "CommentBlock", "value": "* @ignore ", - "start": 293, - "end": 307, + "start": 282, + "end": 296, "loc": { "start": { "line": 11, @@ -1004,2370 +1126,1941 @@ "column": 14 } } - } - ], - "trailingComments": [ + }, { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 366, - "end": 380, + "type": "CommentLine", + "value": " eslint-disable-next-line no-extend-native,func-names", + "start": 297, + "end": 352, "loc": { "start": { - "line": 14, + "line": 12, "column": 0 }, "end": { - "line": 14, - "column": 14 + "line": 12, + "column": 55 } } - }, + } + ], + "trailingComments": [ { - "type": "CommentLine", - "value": " eslint-disable-next-line no-extend-native,func-names", - "start": 381, - "end": 436, + "type": "CommentBlock", + "value": "*\n * Given a Calendar Round and Long Count with a wildcard, calculate all possible\n * matching fully qualified Long Counts with CalendarRounds.\n ", + "start": 425, + "end": 574, "loc": { "start": { - "line": 15, + "line": 17, "column": 0 }, "end": { - "line": 15, - "column": 55 + "line": 20, + "column": 3 } } } ] }, { - "type": "ExpressionStatement", - "start": 437, - "end": 507, + "type": "ExportDefaultDeclaration", + "start": 575, + "end": 1880, "loc": { "start": { - "line": 16, + "line": 21, "column": 0 }, "end": { - "line": 18, - "column": 2 + "line": 63, + "column": 1 } }, - "expression": { - "type": "AssignmentExpression", - "start": 437, - "end": 506, + "declaration": { + "type": "ClassDeclaration", + "start": 590, + "end": 1880, "loc": { "start": { - "line": 16, - "column": 0 + "line": 21, + "column": 15 }, "end": { - "line": 18, + "line": 63, "column": 1 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 437, - "end": 460, + "id": { + "type": "Identifier", + "start": 596, + "end": 612, "loc": { "start": { - "line": 16, - "column": 0 + "line": 21, + "column": 21 }, "end": { - "line": 16, - "column": 23 - } - }, - "object": { - "type": "MemberExpression", - "start": 437, - "end": 452, - "loc": { - "start": { - "line": 16, - "column": 0 - }, - "end": { - "line": 16, - "column": 15 - } - }, - "object": { - "type": "Identifier", - "start": 437, - "end": 442, - "loc": { - "start": { - "line": 16, - "column": 0 - }, - "end": { - "line": 16, - "column": 5 - }, - "identifierName": "Array" - }, - "name": "Array", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 443, - "end": 452, - "loc": { - "start": { - "line": 16, - "column": 6 - }, - "end": { - "line": 16, - "column": 15 - }, - "identifierName": "prototype" - }, - "name": "prototype" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 453, - "end": 460, - "loc": { - "start": { - "line": 16, - "column": 16 - }, - "end": { - "line": 16, - "column": 23 - }, - "identifierName": "flatMap" + "line": 21, + "column": 37 }, - "name": "flatMap" + "identifierName": "FullDateWildcard" }, - "computed": false, + "name": "FullDateWildcard", "leadingComments": null }, - "right": { - "type": "FunctionExpression", - "start": 463, - "end": 506, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 613, + "end": 1880, "loc": { "start": { - "line": 16, - "column": 26 + "line": 21, + "column": 38 }, "end": { - "line": 18, + "line": 63, "column": 1 } }, - "id": { - "type": "Identifier", - "start": 453, - "end": 460, - "loc": { - "start": { - "line": 16, - "column": 16 - }, - "end": { - "line": 16, - "column": 23 - }, - "identifierName": "flatMap" - }, - "name": "flatMap" - }, - "generator": false, - "expression": false, - "async": false, - "params": [ + "body": [ { - "type": "Identifier", - "start": 473, - "end": 474, + "type": "ClassMethod", + "start": 664, + "end": 767, "loc": { "start": { - "line": 16, - "column": 36 + "line": 25, + "column": 2 }, "end": { - "line": 16, - "column": 37 - }, - "identifierName": "f" - }, - "name": "f" - } - ], - "body": { - "type": "BlockStatement", - "start": 476, - "end": 506, - "loc": { - "start": { - "line": 16, - "column": 39 + "line": 30, + "column": 3 + } }, - "end": { - "line": 18, - "column": 1 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 480, - "end": 504, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 664, + "end": 675, "loc": { "start": { - "line": 17, + "line": 25, "column": 2 }, "end": { - "line": 17, - "column": 26 - } + "line": 25, + "column": 13 + }, + "identifierName": "constructor" }, - "argument": { - "type": "CallExpression", - "start": 487, - "end": 503, + "name": "constructor", + "leadingComments": null + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 676, + "end": 687, "loc": { "start": { - "line": 17, - "column": 9 + "line": 25, + "column": 14 }, "end": { - "line": 17, + "line": 25, "column": 25 - } + }, + "identifierName": "partialDate" }, - "callee": { - "type": "Identifier", - "start": 487, - "end": 494, + "name": "partialDate" + } + ], + "body": { + "type": "BlockStatement", + "start": 689, + "end": 767, + "loc": { + "start": { + "line": 25, + "column": 27 + }, + "end": { + "line": 30, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 735, + "end": 763, "loc": { "start": { - "line": 17, - "column": 9 + "line": 29, + "column": 4 }, "end": { - "line": 17, - "column": 16 - }, - "identifierName": "flatMap" + "line": 29, + "column": 32 + } }, - "name": "flatMap" - }, - "arguments": [ - { - "type": "Identifier", - "start": 495, - "end": 496, + "expression": { + "type": "AssignmentExpression", + "start": 735, + "end": 762, "loc": { "start": { - "line": 17, - "column": 17 + "line": 29, + "column": 4 }, "end": { - "line": 17, - "column": 18 + "line": 29, + "column": 31 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 735, + "end": 748, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 17 + } }, - "identifierName": "f" + "object": { + "type": "ThisExpression", + "start": 735, + "end": 739, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 740, + "end": 748, + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 29, + "column": 17 + }, + "identifierName": "fullDate" + }, + "name": "fullDate" + }, + "computed": false, + "leadingComments": null }, - "name": "f" - }, - { - "type": "ThisExpression", - "start": 498, - "end": 502, - "loc": { - "start": { - "line": 17, - "column": 20 + "right": { + "type": "Identifier", + "start": 751, + "end": 762, + "loc": { + "start": { + "line": 29, + "column": 20 + }, + "end": { + "line": 29, + "column": 31 + }, + "identifierName": "partialDate" }, - "end": { - "line": 17, - "column": 24 - } - } - } - ] - } - } - ], - "directives": [] - } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 366, - "end": 380, - "loc": { - "start": { - "line": 14, - "column": 0 - }, - "end": { - "line": 14, - "column": 14 - } - } - }, - { - "type": "CommentLine", - "value": " eslint-disable-next-line no-extend-native,func-names", - "start": 381, - "end": 436, - "loc": { - "start": { - "line": 15, - "column": 0 - }, - "end": { - "line": 15, - "column": 55 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Given a Calendar Round and Long Count with a wildcard, calculate all possible\n * matching fully qualified Long Counts with CalendarRounds.\n ", - "start": 509, - "end": 658, - "loc": { - "start": { - "line": 20, - "column": 0 - }, - "end": { - "line": 23, - "column": 3 - } - } - } - ] - }, - { - "type": "ClassDeclaration", - "start": 659, - "end": 1992, - "loc": { - "start": { - "line": 24, - "column": 0 - }, - "end": { - "line": 69, - "column": 1 - } - }, - "id": { - "type": "Identifier", - "start": 665, - "end": 681, - "loc": { - "start": { - "line": 24, - "column": 6 - }, - "end": { - "line": 24, - "column": 22 - }, - "identifierName": "FullDateWildcard" - }, - "name": "FullDateWildcard", - "leadingComments": null - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 682, - "end": 1992, - "loc": { - "start": { - "line": 24, - "column": 23 - }, - "end": { - "line": 69, - "column": 1 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 733, - "end": 836, - "loc": { - "start": { - "line": 28, - "column": 2 + "name": "partialDate" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @type {FullDate}\n ", + "start": 695, + "end": 730, + "loc": { + "start": { + "line": 26, + "column": 4 + }, + "end": { + "line": 28, + "column": 7 + } + } + } + ] + } + ], + "directives": [], + "trailingComments": null }, - "end": { - "line": 33, - "column": 3 - } + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {FullDate} partialDate\n ", + "start": 617, + "end": 661, + "loc": { + "start": { + "line": 22, + "column": 2 + }, + "end": { + "line": 24, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Run calculation to find all fully qualified Long Counts with Calendar Rounds\n * @return {FullDate[]}\n ", + "start": 771, + "end": 888, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 35, + "column": 5 + } + } + } + ] }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 733, - "end": 744, + { + "type": "ClassMethod", + "start": 891, + "end": 1878, "loc": { "start": { - "line": 28, + "line": 36, "column": 2 }, "end": { - "line": 28, - "column": 13 - }, - "identifierName": "constructor" + "line": 62, + "column": 3 + } }, - "name": "constructor", - "leadingComments": null - }, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 745, - "end": 756, + "start": 891, + "end": 894, "loc": { "start": { - "line": 28, - "column": 14 + "line": 36, + "column": 2 }, "end": { - "line": 28, - "column": 25 + "line": 36, + "column": 5 }, - "identifierName": "partialDate" - }, - "name": "partialDate" - } - ], - "body": { - "type": "BlockStatement", - "start": 758, - "end": 836, - "loc": { - "start": { - "line": 28, - "column": 27 + "identifierName": "run" }, - "end": { - "line": 33, - "column": 3 - } + "name": "run", + "leadingComments": null }, - "body": [ - { - "type": "ExpressionStatement", - "start": 804, - "end": 832, - "loc": { - "start": { - "line": 32, - "column": 4 - }, - "end": { - "line": 32, - "column": 32 - } + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 897, + "end": 1878, + "loc": { + "start": { + "line": 36, + "column": 8 }, - "expression": { - "type": "AssignmentExpression", - "start": 804, - "end": 831, + "end": { + "line": 62, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 903, + "end": 1511, "loc": { "start": { - "line": 32, + "line": 37, "column": 4 }, "end": { - "line": 32, - "column": 31 + "line": 54, + "column": 5 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 804, - "end": 817, + "test": { + "type": "CallExpression", + "start": 907, + "end": 935, "loc": { "start": { - "line": 32, - "column": 4 + "line": 37, + "column": 8 }, "end": { - "line": 32, - "column": 17 + "line": 37, + "column": 36 } }, - "object": { - "type": "ThisExpression", - "start": 804, - "end": 808, + "callee": { + "type": "MemberExpression", + "start": 907, + "end": 933, "loc": { "start": { - "line": 32, - "column": 4 + "line": 37, + "column": 8 }, "end": { - "line": 32, - "column": 8 + "line": 37, + "column": 34 } }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 809, - "end": 817, - "loc": { - "start": { - "line": 32, - "column": 9 + "object": { + "type": "MemberExpression", + "start": 907, + "end": 923, + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 24 + } }, - "end": { - "line": 32, - "column": 17 + "object": { + "type": "MemberExpression", + "start": 907, + "end": 920, + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 907, + "end": 911, + "loc": { + "start": { + "line": 37, + "column": 8 + }, + "end": { + "line": 37, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 912, + "end": 920, + "loc": { + "start": { + "line": 37, + "column": 13 + }, + "end": { + "line": 37, + "column": 21 + }, + "identifierName": "fullDate" + }, + "name": "fullDate" + }, + "computed": false }, - "identifierName": "fullDate" - }, - "name": "fullDate" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "Identifier", - "start": 820, - "end": 831, - "loc": { - "start": { - "line": 32, - "column": 20 + "property": { + "type": "Identifier", + "start": 921, + "end": 923, + "loc": { + "start": { + "line": 37, + "column": 22 + }, + "end": { + "line": 37, + "column": 24 + }, + "identifierName": "lc" + }, + "name": "lc" + }, + "computed": false }, - "end": { - "line": 32, - "column": 31 + "property": { + "type": "Identifier", + "start": 924, + "end": 933, + "loc": { + "start": { + "line": 37, + "column": 25 + }, + "end": { + "line": 37, + "column": 34 + }, + "identifierName": "isPartial" + }, + "name": "isPartial" }, - "identifierName": "partialDate" + "computed": false }, - "name": "partialDate" + "arguments": [] }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @type {FullDate}\n ", - "start": 764, - "end": 799, + "consequent": { + "type": "BlockStatement", + "start": 937, + "end": 1511, "loc": { "start": { - "line": 29, - "column": 4 + "line": 37, + "column": 38 }, "end": { - "line": 31, - "column": 7 - } - } - } - ] - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @param {FullDate} partialDate\n ", - "start": 686, - "end": 730, - "loc": { - "start": { - "line": 25, - "column": 2 - }, - "end": { - "line": 27, - "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Run calculation to find all fully qualified Long Counts with Calendar Rounds\n * @return {FullDate[]}\n ", - "start": 840, - "end": 957, - "loc": { - "start": { - "line": 35, - "column": 2 - }, - "end": { - "line": 38, - "column": 5 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 960, - "end": 1990, - "loc": { - "start": { - "line": 39, - "column": 2 - }, - "end": { - "line": 68, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 960, - "end": 963, - "loc": { - "start": { - "line": 39, - "column": 2 - }, - "end": { - "line": 39, - "column": 5 - }, - "identifierName": "run" - }, - "name": "run", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 966, - "end": 1990, - "loc": { - "start": { - "line": 39, - "column": 8 - }, - "end": { - "line": 68, - "column": 3 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 972, - "end": 1623, - "loc": { - "start": { - "line": 40, - "column": 4 - }, - "end": { - "line": 60, - "column": 5 - } - }, - "test": { - "type": "CallExpression", - "start": 976, - "end": 1004, - "loc": { - "start": { - "line": 40, - "column": 8 - }, - "end": { - "line": 40, - "column": 36 - } - }, - "callee": { - "type": "MemberExpression", - "start": 976, - "end": 1002, - "loc": { - "start": { - "line": 40, - "column": 8 - }, - "end": { - "line": 40, - "column": 34 + "line": 54, + "column": 5 } }, - "object": { - "type": "MemberExpression", - "start": 976, - "end": 992, - "loc": { - "start": { - "line": 40, - "column": 8 - }, - "end": { - "line": 40, - "column": 24 - } - }, - "object": { - "type": "MemberExpression", - "start": 976, - "end": 989, + "body": [ + { + "type": "VariableDeclaration", + "start": 945, + "end": 1003, "loc": { "start": { - "line": 40, - "column": 8 + "line": 38, + "column": 6 }, "end": { - "line": 40, - "column": 21 - } - }, - "object": { - "type": "ThisExpression", - "start": 976, - "end": 980, - "loc": { - "start": { - "line": 40, - "column": 8 - }, - "end": { - "line": 40, - "column": 12 - } + "line": 38, + "column": 64 } }, - "property": { - "type": "Identifier", - "start": 981, - "end": 989, - "loc": { - "start": { - "line": 40, - "column": 13 - }, - "end": { - "line": 40, - "column": 21 - }, - "identifierName": "fullDate" - }, - "name": "fullDate" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 990, - "end": 992, - "loc": { - "start": { - "line": 40, - "column": 22 - }, - "end": { - "line": 40, - "column": 24 - }, - "identifierName": "lc" - }, - "name": "lc" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 993, - "end": 1002, - "loc": { - "start": { - "line": 40, - "column": 25 - }, - "end": { - "line": 40, - "column": 34 - }, - "identifierName": "isPartial" - }, - "name": "isPartial" - }, - "computed": false - }, - "arguments": [] - }, - "consequent": { - "type": "BlockStatement", - "start": 1006, - "end": 1623, - "loc": { - "start": { - "line": 40, - "column": 38 - }, - "end": { - "line": 60, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 1014, - "end": 1072, - "loc": { - "start": { - "line": 41, - "column": 6 - }, - "end": { - "line": 41, - "column": 64 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1020, - "end": 1071, - "loc": { - "start": { - "line": 41, - "column": 12 - }, - "end": { - "line": 41, - "column": 63 - } - }, - "id": { - "type": "Identifier", - "start": 1020, - "end": 1023, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 951, + "end": 1002, "loc": { "start": { - "line": 41, + "line": 38, "column": 12 }, "end": { - "line": 41, - "column": 15 - }, - "identifierName": "lcs" - }, - "name": "lcs" - }, - "init": { - "type": "CallExpression", - "start": 1026, - "end": 1071, - "loc": { - "start": { - "line": 41, - "column": 18 - }, - "end": { - "line": 41, + "line": 38, "column": 63 } }, - "callee": { - "type": "MemberExpression", - "start": 1026, - "end": 1069, + "id": { + "type": "Identifier", + "start": 951, + "end": 954, "loc": { "start": { - "line": 41, + "line": 38, + "column": 12 + }, + "end": { + "line": 38, + "column": 15 + }, + "identifierName": "lcs" + }, + "name": "lcs" + }, + "init": { + "type": "CallExpression", + "start": 957, + "end": 1002, + "loc": { + "start": { + "line": 38, "column": 18 }, "end": { - "line": 41, - "column": 61 + "line": 38, + "column": 63 } }, - "object": { - "type": "NewExpression", - "start": 1026, - "end": 1065, + "callee": { + "type": "MemberExpression", + "start": 957, + "end": 1000, "loc": { "start": { - "line": 41, + "line": 38, "column": 18 }, "end": { - "line": 41, - "column": 57 + "line": 38, + "column": 61 } }, - "callee": { - "type": "Identifier", - "start": 1030, - "end": 1047, + "object": { + "type": "NewExpression", + "start": 957, + "end": 996, "loc": { "start": { - "line": 41, - "column": 22 + "line": 38, + "column": 18 }, "end": { - "line": 41, - "column": 39 - }, - "identifierName": "LongCountWildcard" + "line": 38, + "column": 57 + } }, - "name": "LongCountWildcard" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1048, - "end": 1064, + "callee": { + "type": "Identifier", + "start": 961, + "end": 978, "loc": { "start": { - "line": 41, - "column": 40 + "line": 38, + "column": 22 }, "end": { - "line": 41, - "column": 56 - } + "line": 38, + "column": 39 + }, + "identifierName": "LongCountWildcard" }, - "object": { + "name": "LongCountWildcard" + }, + "arguments": [ + { "type": "MemberExpression", - "start": 1048, - "end": 1061, + "start": 979, + "end": 995, "loc": { "start": { - "line": 41, + "line": 38, "column": 40 }, "end": { - "line": 41, - "column": 53 + "line": 38, + "column": 56 } }, "object": { - "type": "ThisExpression", - "start": 1048, - "end": 1052, + "type": "MemberExpression", + "start": 979, + "end": 992, "loc": { "start": { - "line": 41, + "line": 38, "column": 40 }, "end": { - "line": 41, - "column": 44 + "line": 38, + "column": 53 } - } + }, + "object": { + "type": "ThisExpression", + "start": 979, + "end": 983, + "loc": { + "start": { + "line": 38, + "column": 40 + }, + "end": { + "line": 38, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "start": 984, + "end": 992, + "loc": { + "start": { + "line": 38, + "column": 45 + }, + "end": { + "line": 38, + "column": 53 + }, + "identifierName": "fullDate" + }, + "name": "fullDate" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 1053, - "end": 1061, + "start": 993, + "end": 995, "loc": { "start": { - "line": 41, - "column": 45 + "line": 38, + "column": 54 }, "end": { - "line": 41, - "column": 53 + "line": 38, + "column": 56 }, - "identifierName": "fullDate" + "identifierName": "lc" }, - "name": "fullDate" + "name": "lc" }, "computed": false + } + ] + }, + "property": { + "type": "Identifier", + "start": 997, + "end": 1000, + "loc": { + "start": { + "line": 38, + "column": 58 }, - "property": { - "type": "Identifier", - "start": 1062, - "end": 1064, - "loc": { - "start": { - "line": 41, - "column": 54 - }, - "end": { - "line": 41, - "column": 56 - }, - "identifierName": "lc" - }, - "name": "lc" + "end": { + "line": 38, + "column": 61 }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 1066, - "end": 1069, - "loc": { - "start": { - "line": 41, - "column": 58 - }, - "end": { - "line": 41, - "column": 61 + "identifierName": "run" }, - "identifierName": "run" + "name": "run" }, - "name": "run" + "computed": false }, - "computed": false - }, - "arguments": [] + "arguments": [] + } } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 1080, - "end": 1195, - "loc": { - "start": { - "line": 43, - "column": 6 - }, - "end": { - "line": 46, - "column": 8 - } + ], + "kind": "const" }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1086, - "end": 1194, - "loc": { - "start": { - "line": 43, - "column": 12 - }, - "end": { - "line": 46, - "column": 7 - } + { + "type": "VariableDeclaration", + "start": 1011, + "end": 1083, + "loc": { + "start": { + "line": 40, + "column": 6 }, - "id": { - "type": "Identifier", - "start": 1086, - "end": 1095, + "end": { + "line": 40, + "column": 78 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1017, + "end": 1082, "loc": { "start": { - "line": 43, + "line": 40, "column": 12 }, "end": { - "line": 43, - "column": 21 - }, - "identifierName": "mappedLcs" + "line": 40, + "column": 77 + } }, - "name": "mappedLcs" - }, - "init": { - "type": "CallExpression", - "start": 1098, - "end": 1194, - "loc": { - "start": { - "line": 43, - "column": 24 + "id": { + "type": "Identifier", + "start": 1017, + "end": 1026, + "loc": { + "start": { + "line": 40, + "column": 12 + }, + "end": { + "line": 40, + "column": 21 + }, + "identifierName": "mappedLcs" }, - "end": { - "line": 46, - "column": 7 - } + "name": "mappedLcs" }, - "callee": { - "type": "MemberExpression", - "start": 1098, - "end": 1105, + "init": { + "type": "CallExpression", + "start": 1029, + "end": 1082, "loc": { "start": { - "line": 43, + "line": 40, "column": 24 }, "end": { - "line": 43, - "column": 31 + "line": 40, + "column": 77 } }, - "object": { - "type": "Identifier", - "start": 1098, - "end": 1101, + "callee": { + "type": "MemberExpression", + "start": 1029, + "end": 1036, "loc": { "start": { - "line": 43, + "line": 40, "column": 24 }, "end": { - "line": 43, - "column": 27 - }, - "identifierName": "lcs" - }, - "name": "lcs" - }, - "property": { - "type": "Identifier", - "start": 1102, - "end": 1105, - "loc": { - "start": { - "line": 43, - "column": 28 - }, - "end": { - "line": 43, + "line": 40, "column": 31 - }, - "identifierName": "map" + } }, - "name": "map" - }, - "computed": false - }, - "arguments": [ - { - "type": "FunctionExpression", - "start": 1106, - "end": 1186, - "loc": { - "start": { - "line": 43, - "column": 32 + "object": { + "type": "Identifier", + "start": 1029, + "end": 1032, + "loc": { + "start": { + "line": 40, + "column": 24 + }, + "end": { + "line": 40, + "column": 27 + }, + "identifierName": "lcs" }, - "end": { - "line": 45, - "column": 9 - } + "name": "lcs" }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 1116, - "end": 1127, - "loc": { - "start": { - "line": 43, - "column": 42 - }, - "end": { - "line": 43, - "column": 53 - }, - "identifierName": "potentialLc" + "property": { + "type": "Identifier", + "start": 1033, + "end": 1036, + "loc": { + "start": { + "line": 40, + "column": 28 }, - "name": "potentialLc" - } - ], - "body": { - "type": "BlockStatement", - "start": 1129, - "end": 1186, + "end": { + "line": 40, + "column": 31 + }, + "identifierName": "map" + }, + "name": "map" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 1037, + "end": 1081, "loc": { "start": { - "line": 43, - "column": 55 + "line": 40, + "column": 32 }, "end": { - "line": 45, - "column": 9 + "line": 40, + "column": 76 } }, - "body": [ + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ { - "type": "ReturnStatement", - "start": 1141, - "end": 1176, + "type": "Identifier", + "start": 1038, + "end": 1049, + "loc": { + "start": { + "line": 40, + "column": 33 + }, + "end": { + "line": 40, + "column": 44 + }, + "identifierName": "potentialLc" + }, + "name": "potentialLc" + } + ], + "body": { + "type": "CallExpression", + "start": 1054, + "end": 1081, + "loc": { + "start": { + "line": 40, + "column": 49 + }, + "end": { + "line": 40, + "column": 76 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1054, + "end": 1079, "loc": { "start": { - "line": 44, - "column": 10 + "line": 40, + "column": 49 }, "end": { - "line": 44, - "column": 45 + "line": 40, + "column": 74 } }, - "argument": { - "type": "CallExpression", - "start": 1148, - "end": 1175, + "object": { + "type": "Identifier", + "start": 1054, + "end": 1065, "loc": { "start": { - "line": 44, - "column": 17 + "line": 40, + "column": 49 }, "end": { - "line": 44, - "column": 44 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1148, - "end": 1173, - "loc": { - "start": { - "line": 44, - "column": 17 - }, - "end": { - "line": 44, - "column": 42 - } + "line": 40, + "column": 60 }, - "object": { - "type": "Identifier", - "start": 1148, - "end": 1159, - "loc": { - "start": { - "line": 44, - "column": 17 - }, - "end": { - "line": 44, - "column": 28 - }, - "identifierName": "potentialLc" - }, - "name": "potentialLc" + "identifierName": "potentialLc" + }, + "name": "potentialLc" + }, + "property": { + "type": "Identifier", + "start": 1066, + "end": 1079, + "loc": { + "start": { + "line": 40, + "column": 61 }, - "property": { - "type": "Identifier", - "start": 1160, - "end": 1173, - "loc": { - "start": { - "line": 44, - "column": 29 - }, - "end": { - "line": 44, - "column": 42 - }, - "identifierName": "buildFullDate" - }, - "name": "buildFullDate" + "end": { + "line": 40, + "column": 74 }, - "computed": false + "identifierName": "buildFullDate" }, - "arguments": [] - } - } - ], - "directives": [] + "name": "buildFullDate" + }, + "computed": false + }, + "arguments": [] + } } - } - ] + ] + } } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 1202, - "end": 1478, - "loc": { - "start": { - "line": 47, - "column": 6 - }, - "end": { - "line": 55, - "column": 8 - } + ], + "kind": "const" }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1208, - "end": 1477, - "loc": { - "start": { - "line": 47, - "column": 12 - }, - "end": { - "line": 55, - "column": 7 - } + { + "type": "VariableDeclaration", + "start": 1090, + "end": 1366, + "loc": { + "start": { + "line": 41, + "column": 6 }, - "id": { - "type": "Identifier", - "start": 1208, - "end": 1221, + "end": { + "line": 49, + "column": 8 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1096, + "end": 1365, "loc": { "start": { - "line": 47, + "line": 41, "column": 12 }, "end": { - "line": 47, - "column": 25 - }, - "identifierName": "flatMappedLcs" - }, - "name": "flatMappedLcs" - }, - "init": { - "type": "CallExpression", - "start": 1224, - "end": 1477, - "loc": { - "start": { - "line": 47, - "column": 28 - }, - "end": { - "line": 55, + "line": 49, "column": 7 } }, - "callee": { - "type": "MemberExpression", - "start": 1224, - "end": 1241, + "id": { + "type": "Identifier", + "start": 1096, + "end": 1109, + "loc": { + "start": { + "line": 41, + "column": 12 + }, + "end": { + "line": 41, + "column": 25 + }, + "identifierName": "flatMappedLcs" + }, + "name": "flatMappedLcs" + }, + "init": { + "type": "CallExpression", + "start": 1112, + "end": 1365, "loc": { "start": { - "line": 47, + "line": 41, "column": 28 }, "end": { - "line": 47, - "column": 45 + "line": 49, + "column": 7 } }, - "object": { - "type": "Identifier", - "start": 1224, - "end": 1233, + "callee": { + "type": "MemberExpression", + "start": 1112, + "end": 1129, "loc": { "start": { - "line": 47, + "line": 41, "column": 28 }, "end": { - "line": 47, - "column": 37 - }, - "identifierName": "mappedLcs" - }, - "name": "mappedLcs" - }, - "property": { - "type": "Identifier", - "start": 1234, - "end": 1241, - "loc": { - "start": { - "line": 47, - "column": 38 - }, - "end": { - "line": 47, + "line": 41, "column": 45 - }, - "identifierName": "flatMap" + } }, - "name": "flatMap" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 1251, - "end": 1469, - "loc": { - "start": { - "line": 48, - "column": 8 + "object": { + "type": "Identifier", + "start": 1112, + "end": 1121, + "loc": { + "start": { + "line": 41, + "column": 28 + }, + "end": { + "line": 41, + "column": 37 + }, + "identifierName": "mappedLcs" }, - "end": { - "line": 54, - "column": 9 - } + "name": "mappedLcs" }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 1252, - "end": 1260, - "loc": { - "start": { - "line": 48, - "column": 9 - }, - "end": { - "line": 48, - "column": 17 - }, - "identifierName": "fullDate" + "property": { + "type": "Identifier", + "start": 1122, + "end": 1129, + "loc": { + "start": { + "line": 41, + "column": 38 }, - "name": "fullDate" - } - ], - "body": { - "type": "CallExpression", - "start": 1265, - "end": 1469, + "end": { + "line": 41, + "column": 45 + }, + "identifierName": "flatMap" + }, + "name": "flatMap" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 1139, + "end": 1357, "loc": { "start": { - "line": 48, - "column": 22 + "line": 42, + "column": 8 }, "end": { - "line": 54, + "line": 48, "column": 9 } }, - "callee": { - "type": "MemberExpression", - "start": 1265, - "end": 1416, - "loc": { - "start": { - "line": 48, - "column": 22 + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1140, + "end": 1148, + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 17 + }, + "identifierName": "fullDate" + }, + "name": "fullDate" + } + ], + "body": { + "type": "CallExpression", + "start": 1153, + "end": 1357, + "loc": { + "start": { + "line": 42, + "column": 22 }, "end": { - "line": 52, - "column": 13 + "line": 48, + "column": 9 } }, - "object": { - "type": "ConditionalExpression", - "start": 1277, - "end": 1402, + "callee": { + "type": "MemberExpression", + "start": 1153, + "end": 1304, "loc": { "start": { - "line": 49, - "column": 10 + "line": 42, + "column": 22 }, "end": { - "line": 51, - "column": 32 + "line": 46, + "column": 13 } }, - "test": { - "type": "CallExpression", - "start": 1277, - "end": 1305, + "object": { + "type": "ConditionalExpression", + "start": 1165, + "end": 1290, "loc": { "start": { - "line": 49, + "line": 43, "column": 10 }, "end": { - "line": 49, - "column": 38 + "line": 45, + "column": 32 } }, - "callee": { - "type": "MemberExpression", - "start": 1277, - "end": 1303, + "test": { + "type": "CallExpression", + "start": 1165, + "end": 1193, "loc": { "start": { - "line": 49, + "line": 43, "column": 10 }, "end": { - "line": 49, - "column": 36 + "line": 43, + "column": 38 } }, - "object": { + "callee": { "type": "MemberExpression", - "start": 1277, - "end": 1293, + "start": 1165, + "end": 1191, "loc": { "start": { - "line": 49, + "line": 43, "column": 10 }, "end": { - "line": 49, - "column": 26 + "line": 43, + "column": 36 } }, "object": { "type": "MemberExpression", - "start": 1277, - "end": 1290, + "start": 1165, + "end": 1181, "loc": { "start": { - "line": 49, + "line": 43, "column": 10 }, "end": { - "line": 49, - "column": 23 + "line": 43, + "column": 26 } }, "object": { - "type": "ThisExpression", - "start": 1277, - "end": 1281, + "type": "MemberExpression", + "start": 1165, + "end": 1178, "loc": { "start": { - "line": 49, + "line": 43, "column": 10 }, "end": { - "line": 49, - "column": 14 + "line": 43, + "column": 23 } - } + }, + "object": { + "type": "ThisExpression", + "start": 1165, + "end": 1169, + "loc": { + "start": { + "line": 43, + "column": 10 + }, + "end": { + "line": 43, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 1170, + "end": 1178, + "loc": { + "start": { + "line": 43, + "column": 15 + }, + "end": { + "line": 43, + "column": 23 + }, + "identifierName": "fullDate" + }, + "name": "fullDate" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 1282, - "end": 1290, + "start": 1179, + "end": 1181, "loc": { "start": { - "line": 49, - "column": 15 + "line": 43, + "column": 24 }, "end": { - "line": 49, - "column": 23 + "line": 43, + "column": 26 }, - "identifierName": "fullDate" + "identifierName": "cr" }, - "name": "fullDate" + "name": "cr" }, "computed": false }, "property": { "type": "Identifier", - "start": 1291, - "end": 1293, + "start": 1182, + "end": 1191, "loc": { "start": { - "line": 49, - "column": 24 + "line": 43, + "column": 27 }, "end": { - "line": 49, - "column": 26 + "line": 43, + "column": 36 }, - "identifierName": "cr" + "identifierName": "isPartial" }, - "name": "cr" + "name": "isPartial" }, "computed": false }, - "property": { - "type": "Identifier", - "start": 1294, - "end": 1303, - "loc": { - "start": { - "line": 49, - "column": 27 - }, - "end": { - "line": 49, - "column": 36 - }, - "identifierName": "isPartial" - }, - "name": "isPartial" - }, - "computed": false - }, - "arguments": [] - }, - "consequent": { - "type": "CallExpression", - "start": 1320, - "end": 1369, - "loc": { - "start": { - "line": 50, - "column": 14 - }, - "end": { - "line": 50, - "column": 63 - } + "arguments": [] }, - "callee": { - "type": "MemberExpression", - "start": 1320, - "end": 1367, + "consequent": { + "type": "CallExpression", + "start": 1208, + "end": 1257, "loc": { "start": { - "line": 50, + "line": 44, "column": 14 }, "end": { - "line": 50, - "column": 61 + "line": 44, + "column": 63 } }, - "object": { - "type": "NewExpression", - "start": 1320, - "end": 1363, + "callee": { + "type": "MemberExpression", + "start": 1208, + "end": 1255, "loc": { "start": { - "line": 50, + "line": 44, "column": 14 }, "end": { - "line": 50, - "column": 57 + "line": 44, + "column": 61 } }, - "callee": { - "type": "Identifier", - "start": 1324, - "end": 1345, + "object": { + "type": "NewExpression", + "start": 1208, + "end": 1251, "loc": { "start": { - "line": 50, - "column": 18 + "line": 44, + "column": 14 }, "end": { - "line": 50, - "column": 39 - }, - "identifierName": "CalendarRoundWildcard" + "line": 44, + "column": 57 + } }, - "name": "CalendarRoundWildcard" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1346, - "end": 1362, + "callee": { + "type": "Identifier", + "start": 1212, + "end": 1233, "loc": { "start": { - "line": 50, - "column": 40 + "line": 44, + "column": 18 }, "end": { - "line": 50, - "column": 56 - } + "line": 44, + "column": 39 + }, + "identifierName": "CalendarRoundWildcard" }, - "object": { + "name": "CalendarRoundWildcard" + }, + "arguments": [ + { "type": "MemberExpression", - "start": 1346, - "end": 1359, + "start": 1234, + "end": 1250, "loc": { "start": { - "line": 50, + "line": 44, "column": 40 }, "end": { - "line": 50, - "column": 53 + "line": 44, + "column": 56 } }, "object": { - "type": "ThisExpression", - "start": 1346, - "end": 1350, + "type": "MemberExpression", + "start": 1234, + "end": 1247, "loc": { "start": { - "line": 50, + "line": 44, "column": 40 }, "end": { - "line": 50, - "column": 44 + "line": 44, + "column": 53 } - } + }, + "object": { + "type": "ThisExpression", + "start": 1234, + "end": 1238, + "loc": { + "start": { + "line": 44, + "column": 40 + }, + "end": { + "line": 44, + "column": 44 + } + } + }, + "property": { + "type": "Identifier", + "start": 1239, + "end": 1247, + "loc": { + "start": { + "line": 44, + "column": 45 + }, + "end": { + "line": 44, + "column": 53 + }, + "identifierName": "fullDate" + }, + "name": "fullDate" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 1351, - "end": 1359, + "start": 1248, + "end": 1250, "loc": { "start": { - "line": 50, - "column": 45 + "line": 44, + "column": 54 }, "end": { - "line": 50, - "column": 53 + "line": 44, + "column": 56 }, - "identifierName": "fullDate" + "identifierName": "cr" }, - "name": "fullDate" + "name": "cr" }, "computed": false + } + ] + }, + "property": { + "type": "Identifier", + "start": 1252, + "end": 1255, + "loc": { + "start": { + "line": 44, + "column": 58 }, - "property": { - "type": "Identifier", - "start": 1360, - "end": 1362, - "loc": { - "start": { - "line": 50, - "column": 54 - }, - "end": { - "line": 50, - "column": 56 - }, - "identifierName": "cr" - }, - "name": "cr" + "end": { + "line": 44, + "column": 61 }, - "computed": false - } - ] - }, - "property": { - "type": "Identifier", - "start": 1364, - "end": 1367, - "loc": { - "start": { - "line": 50, - "column": 58 - }, - "end": { - "line": 50, - "column": 61 + "identifierName": "run" }, - "identifierName": "run" + "name": "run" }, - "name": "run" - }, - "computed": false - }, - "arguments": [] - }, - "alternate": { - "type": "ArrayExpression", - "start": 1384, - "end": 1402, - "loc": { - "start": { - "line": 51, - "column": 14 + "computed": false }, - "end": { - "line": 51, - "column": 32 - } + "arguments": [] }, - "elements": [ - { - "type": "MemberExpression", - "start": 1385, - "end": 1401, - "loc": { - "start": { - "line": 51, - "column": 15 - }, - "end": { - "line": 51, - "column": 31 - } + "alternate": { + "type": "ArrayExpression", + "start": 1272, + "end": 1290, + "loc": { + "start": { + "line": 45, + "column": 14 }, - "object": { + "end": { + "line": 45, + "column": 32 + } + }, + "elements": [ + { "type": "MemberExpression", - "start": 1385, - "end": 1398, + "start": 1273, + "end": 1289, "loc": { "start": { - "line": 51, + "line": 45, "column": 15 }, "end": { - "line": 51, - "column": 28 + "line": 45, + "column": 31 } }, "object": { - "type": "ThisExpression", - "start": 1385, - "end": 1389, + "type": "MemberExpression", + "start": 1273, + "end": 1286, "loc": { "start": { - "line": 51, + "line": 45, "column": 15 }, "end": { - "line": 51, - "column": 19 + "line": 45, + "column": 28 } - } + }, + "object": { + "type": "ThisExpression", + "start": 1273, + "end": 1277, + "loc": { + "start": { + "line": 45, + "column": 15 + }, + "end": { + "line": 45, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "start": 1278, + "end": 1286, + "loc": { + "start": { + "line": 45, + "column": 20 + }, + "end": { + "line": 45, + "column": 28 + }, + "identifierName": "fullDate" + }, + "name": "fullDate" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 1390, - "end": 1398, + "start": 1287, + "end": 1289, "loc": { "start": { - "line": 51, - "column": 20 + "line": 45, + "column": 29 }, "end": { - "line": 51, - "column": 28 + "line": 45, + "column": 31 }, - "identifierName": "fullDate" + "identifierName": "cr" }, - "name": "fullDate" + "name": "cr" }, "computed": false - }, - "property": { - "type": "Identifier", - "start": 1399, - "end": 1401, - "loc": { - "start": { - "line": 51, - "column": 29 - }, - "end": { - "line": 51, - "column": 31 - }, - "identifierName": "cr" - }, - "name": "cr" - }, - "computed": false - } - ] - }, - "extra": { - "parenthesized": true, - "parenStart": 1265 - } - }, - "property": { - "type": "Identifier", - "start": 1413, - "end": 1416, - "loc": { - "start": { - "line": 52, - "column": 10 - }, - "end": { - "line": 52, - "column": 13 - }, - "identifierName": "map" - }, - "name": "map" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 1428, - "end": 1459, - "loc": { - "start": { - "line": 53, - "column": 10 + } + ] }, - "end": { - "line": 53, - "column": 41 + "extra": { + "parenthesized": true, + "parenStart": 1153 } }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 1429, - "end": 1431, - "loc": { - "start": { - "line": 53, - "column": 11 - }, - "end": { - "line": 53, - "column": 13 - }, - "identifierName": "cr" + "property": { + "type": "Identifier", + "start": 1301, + "end": 1304, + "loc": { + "start": { + "line": 46, + "column": 10 }, - "name": "cr" - } - ], - "body": { - "type": "CallExpression", - "start": 1436, - "end": 1459, + "end": { + "line": 46, + "column": 13 + }, + "identifierName": "map" + }, + "name": "map" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 1316, + "end": 1347, "loc": { "start": { - "line": 53, - "column": 18 + "line": 47, + "column": 10 }, "end": { - "line": 53, + "line": 47, "column": 41 } }, - "callee": { - "type": "MemberExpression", - "start": 1436, - "end": 1445, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1317, + "end": 1319, + "loc": { + "start": { + "line": 47, + "column": 11 + }, + "end": { + "line": 47, + "column": 13 + }, + "identifierName": "cr" + }, + "name": "cr" + } + ], + "body": { + "type": "CallExpression", + "start": 1324, + "end": 1347, "loc": { "start": { - "line": 53, + "line": 47, "column": 18 }, "end": { - "line": 53, - "column": 27 + "line": 47, + "column": 41 } }, - "object": { - "type": "ArrayExpression", - "start": 1436, - "end": 1438, + "callee": { + "type": "MemberExpression", + "start": 1324, + "end": 1333, "loc": { "start": { - "line": 53, + "line": 47, "column": 18 }, "end": { - "line": 53, - "column": 20 + "line": 47, + "column": 27 } }, - "elements": [] - }, - "property": { - "type": "Identifier", - "start": 1439, - "end": 1445, - "loc": { - "start": { - "line": 53, - "column": 21 - }, - "end": { - "line": 53, - "column": 27 + "object": { + "type": "ArrayExpression", + "start": 1324, + "end": 1326, + "loc": { + "start": { + "line": 47, + "column": 18 + }, + "end": { + "line": 47, + "column": 20 + } }, - "identifierName": "concat" + "elements": [] }, - "name": "concat" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 1446, - "end": 1448, - "loc": { - "start": { - "line": 53, - "column": 28 - }, - "end": { - "line": 53, - "column": 30 + "property": { + "type": "Identifier", + "start": 1327, + "end": 1333, + "loc": { + "start": { + "line": 47, + "column": 21 + }, + "end": { + "line": 47, + "column": 27 + }, + "identifierName": "concat" }, - "identifierName": "cr" + "name": "concat" }, - "name": "cr" + "computed": false }, - { - "type": "Identifier", - "start": 1450, - "end": 1458, - "loc": { - "start": { - "line": 53, - "column": 32 - }, - "end": { - "line": 53, - "column": 40 + "arguments": [ + { + "type": "Identifier", + "start": 1334, + "end": 1336, + "loc": { + "start": { + "line": 47, + "column": 28 + }, + "end": { + "line": 47, + "column": 30 + }, + "identifierName": "cr" }, - "identifierName": "fullDate" + "name": "cr" }, - "name": "fullDate" - } - ] + { + "type": "Identifier", + "start": 1338, + "end": 1346, + "loc": { + "start": { + "line": 47, + "column": 32 + }, + "end": { + "line": 47, + "column": 40 + }, + "identifierName": "fullDate" + }, + "name": "fullDate" + } + ] + } } - } - ] + ] + } } - } - ] + ] + } } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 1485, - "end": 1585, - "loc": { - "start": { - "line": 56, - "column": 6 - }, - "end": { - "line": 58, - "column": 8 - } + ], + "kind": "const" }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1491, - "end": 1584, - "loc": { - "start": { - "line": 56, - "column": 12 - }, - "end": { - "line": 58, - "column": 7 - } + { + "type": "VariableDeclaration", + "start": 1373, + "end": 1473, + "loc": { + "start": { + "line": 50, + "column": 6 }, - "id": { - "type": "Identifier", - "start": 1491, - "end": 1508, + "end": { + "line": 52, + "column": 8 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1379, + "end": 1472, "loc": { "start": { - "line": 56, + "line": 50, "column": 12 }, "end": { - "line": 56, - "column": 29 - }, - "identifierName": "filteredMappedLcs" - }, - "name": "filteredMappedLcs" - }, - "init": { - "type": "CallExpression", - "start": 1511, - "end": 1584, - "loc": { - "start": { - "line": 56, - "column": 32 - }, - "end": { - "line": 58, + "line": 52, "column": 7 } }, - "callee": { - "type": "MemberExpression", - "start": 1511, - "end": 1531, + "id": { + "type": "Identifier", + "start": 1379, + "end": 1396, + "loc": { + "start": { + "line": 50, + "column": 12 + }, + "end": { + "line": 50, + "column": 29 + }, + "identifierName": "filteredMappedLcs" + }, + "name": "filteredMappedLcs" + }, + "init": { + "type": "CallExpression", + "start": 1399, + "end": 1472, "loc": { "start": { - "line": 56, + "line": 50, "column": 32 }, "end": { - "line": 56, - "column": 52 + "line": 52, + "column": 7 } }, - "object": { - "type": "Identifier", - "start": 1511, - "end": 1524, + "callee": { + "type": "MemberExpression", + "start": 1399, + "end": 1419, "loc": { "start": { - "line": 56, + "line": 50, "column": 32 }, "end": { - "line": 56, - "column": 45 - }, - "identifierName": "flatMappedLcs" - }, - "name": "flatMappedLcs" - }, - "property": { - "type": "Identifier", - "start": 1525, - "end": 1531, - "loc": { - "start": { - "line": 56, - "column": 46 - }, - "end": { - "line": 56, + "line": 50, "column": 52 - }, - "identifierName": "filter" + } }, - "name": "filter" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 1541, - "end": 1576, - "loc": { - "start": { - "line": 57, - "column": 8 + "object": { + "type": "Identifier", + "start": 1399, + "end": 1412, + "loc": { + "start": { + "line": 50, + "column": 32 + }, + "end": { + "line": 50, + "column": 45 + }, + "identifierName": "flatMappedLcs" }, - "end": { - "line": 57, - "column": 43 - } + "name": "flatMappedLcs" }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 1542, - "end": 1546, - "loc": { - "start": { - "line": 57, - "column": 9 - }, - "end": { - "line": 57, - "column": 13 - }, - "identifierName": "pair" + "property": { + "type": "Identifier", + "start": 1413, + "end": 1419, + "loc": { + "start": { + "line": 50, + "column": 46 }, - "name": "pair" - } - ], - "body": { - "type": "CallExpression", - "start": 1551, - "end": 1576, + "end": { + "line": 50, + "column": 52 + }, + "identifierName": "filter" + }, + "name": "filter" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 1429, + "end": 1464, "loc": { "start": { - "line": 57, - "column": 18 + "line": 51, + "column": 8 }, "end": { - "line": 57, + "line": 51, "column": 43 } }, - "callee": { - "type": "MemberExpression", - "start": 1551, - "end": 1564, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1430, + "end": 1434, + "loc": { + "start": { + "line": 51, + "column": 9 + }, + "end": { + "line": 51, + "column": 13 + }, + "identifierName": "pair" + }, + "name": "pair" + } + ], + "body": { + "type": "CallExpression", + "start": 1439, + "end": 1464, "loc": { "start": { - "line": 57, + "line": 51, "column": 18 }, "end": { - "line": 57, - "column": 31 + "line": 51, + "column": 43 } }, - "object": { + "callee": { "type": "MemberExpression", - "start": 1551, - "end": 1558, + "start": 1439, + "end": 1452, "loc": { "start": { - "line": 57, + "line": 51, "column": 18 }, "end": { - "line": 57, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 1551, - "end": 1555, - "loc": { - "start": { - "line": 57, - "column": 18 - }, - "end": { - "line": 57, - "column": 22 - }, - "identifierName": "pair" - }, - "name": "pair" - }, - "property": { - "type": "NumericLiteral", - "start": 1556, - "end": 1557, - "loc": { - "start": { - "line": 57, - "column": 23 - }, - "end": { - "line": 57, - "column": 24 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true - }, - "property": { - "type": "Identifier", - "start": 1559, - "end": 1564, - "loc": { - "start": { - "line": 57, - "column": 26 - }, - "end": { - "line": 57, + "line": 51, "column": 31 - }, - "identifierName": "equal" - }, - "name": "equal" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1565, - "end": 1575, - "loc": { - "start": { - "line": 57, - "column": 32 - }, - "end": { - "line": 57, - "column": 42 } }, "object": { "type": "MemberExpression", - "start": 1565, - "end": 1572, + "start": 1439, + "end": 1446, "loc": { "start": { - "line": 57, - "column": 32 + "line": 51, + "column": 18 }, "end": { - "line": 57, - "column": 39 + "line": 51, + "column": 25 } }, "object": { "type": "Identifier", - "start": 1565, - "end": 1569, + "start": 1439, + "end": 1443, "loc": { "start": { - "line": 57, - "column": 32 + "line": 51, + "column": 18 }, "end": { - "line": 57, - "column": 36 + "line": 51, + "column": 22 }, "identifierName": "pair" }, @@ -3375,861 +3068,870 @@ }, "property": { "type": "NumericLiteral", - "start": 1570, - "end": 1571, + "start": 1444, + "end": 1445, "loc": { "start": { - "line": 57, - "column": 37 + "line": 51, + "column": 23 }, "end": { - "line": 57, - "column": 38 + "line": 51, + "column": 24 } }, "extra": { - "rawValue": 1, - "raw": "1" + "rawValue": 0, + "raw": "0" }, - "value": 1 + "value": 0 }, "computed": true }, "property": { "type": "Identifier", - "start": 1573, - "end": 1575, + "start": 1447, + "end": 1452, "loc": { "start": { - "line": 57, - "column": 40 + "line": 51, + "column": 26 }, "end": { - "line": 57, - "column": 42 + "line": 51, + "column": 31 }, - "identifierName": "cr" + "identifierName": "equal" }, - "name": "cr" + "name": "equal" }, "computed": false - } - ] - } - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "ReturnStatement", - "start": 1592, - "end": 1617, - "loc": { - "start": { - "line": 59, - "column": 6 - }, - "end": { - "line": 59, - "column": 31 - } - }, - "argument": { - "type": "Identifier", - "start": 1599, - "end": 1616, - "loc": { - "start": { - "line": 59, - "column": 13 - }, - "end": { - "line": 59, - "column": 30 - }, - "identifierName": "filteredMappedLcs" - }, - "name": "filteredMappedLcs" - } - } - ], - "directives": [], - "trailingComments": null - }, - "alternate": null, - "trailingComments": [ - { - "type": "CommentLine", - "value": " If we have a full formed LC fullDate, and a fullDate CR, then generate the", - "start": 1628, - "end": 1705, - "loc": { - "start": { - "line": 61, - "column": 4 - }, - "end": { - "line": 61, - "column": 81 - } - } - }, - { - "type": "CommentLine", - "value": " CR for the LC, and compare them. The fullDate CR will either match the", - "start": 1710, - "end": 1783, - "loc": { - "start": { - "line": 62, - "column": 4 - }, - "end": { - "line": 62, - "column": 77 - } - } - }, - { - "type": "CommentLine", - "value": " CR for the LC or it won't.", - "start": 1788, - "end": 1817, - "loc": { - "start": { - "line": 63, - "column": 4 + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 1453, + "end": 1463, + "loc": { + "start": { + "line": 51, + "column": 32 + }, + "end": { + "line": 51, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 1453, + "end": 1460, + "loc": { + "start": { + "line": 51, + "column": 32 + }, + "end": { + "line": 51, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 1453, + "end": 1457, + "loc": { + "start": { + "line": 51, + "column": 32 + }, + "end": { + "line": 51, + "column": 36 + }, + "identifierName": "pair" + }, + "name": "pair" + }, + "property": { + "type": "NumericLiteral", + "start": 1458, + "end": 1459, + "loc": { + "start": { + "line": 51, + "column": 37 + }, + "end": { + "line": 51, + "column": 38 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "computed": true + }, + "property": { + "type": "Identifier", + "start": 1461, + "end": 1463, + "loc": { + "start": { + "line": 51, + "column": 40 + }, + "end": { + "line": 51, + "column": 42 + }, + "identifierName": "cr" + }, + "name": "cr" + }, + "computed": false + } + ] + } + } + ] + } + } + ], + "kind": "const" }, - "end": { - "line": 63, - "column": 33 + { + "type": "ReturnStatement", + "start": 1480, + "end": 1505, + "loc": { + "start": { + "line": 53, + "column": 6 + }, + "end": { + "line": 53, + "column": 31 + } + }, + "argument": { + "type": "Identifier", + "start": 1487, + "end": 1504, + "loc": { + "start": { + "line": 53, + "column": 13 + }, + "end": { + "line": 53, + "column": 30 + }, + "identifierName": "filteredMappedLcs" + }, + "name": "filteredMappedLcs" + } } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 1822, - "end": 1877, - "loc": { - "start": { - "line": 64, - "column": 4 + ], + "directives": [], + "trailingComments": null }, - "end": { - "line": 64, - "column": 59 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1828, - "end": 1876, - "loc": { - "start": { - "line": 64, - "column": 10 - }, - "end": { - "line": 64, - "column": 58 + "alternate": null, + "trailingComments": [ + { + "type": "CommentLine", + "value": " If we have a full formed LC fullDate, and a fullDate CR, then generate the", + "start": 1516, + "end": 1593, + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 55, + "column": 81 + } } }, - "id": { - "type": "Identifier", - "start": 1828, - "end": 1836, + { + "type": "CommentLine", + "value": " CR for the LC, and compare them. The fullDate CR will either match the", + "start": 1598, + "end": 1671, "loc": { "start": { - "line": 64, - "column": 10 + "line": 56, + "column": 4 }, "end": { - "line": 64, - "column": 18 + "line": 56, + "column": 77 + } + } + }, + { + "type": "CommentLine", + "value": " CR for the LC or it won't.", + "start": 1676, + "end": 1705, + "loc": { + "start": { + "line": 57, + "column": 4 }, - "identifierName": "staticCr" - }, - "name": "staticCr", - "leadingComments": null + "end": { + "line": 57, + "column": 33 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 1710, + "end": 1765, + "loc": { + "start": { + "line": 58, + "column": 4 }, - "init": { - "type": "CallExpression", - "start": 1839, - "end": 1876, + "end": { + "line": 58, + "column": 59 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1716, + "end": 1764, "loc": { "start": { - "line": 64, - "column": 21 + "line": 58, + "column": 10 }, "end": { - "line": 64, + "line": 58, "column": 58 } }, - "callee": { - "type": "MemberExpression", - "start": 1839, - "end": 1874, + "id": { + "type": "Identifier", + "start": 1716, + "end": 1724, + "loc": { + "start": { + "line": 58, + "column": 10 + }, + "end": { + "line": 58, + "column": 18 + }, + "identifierName": "staticCr" + }, + "name": "staticCr", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 1727, + "end": 1764, "loc": { "start": { - "line": 64, + "line": 58, "column": 21 }, "end": { - "line": 64, - "column": 56 + "line": 58, + "column": 58 } }, - "object": { + "callee": { "type": "MemberExpression", - "start": 1839, - "end": 1855, + "start": 1727, + "end": 1762, "loc": { "start": { - "line": 64, + "line": 58, "column": 21 }, "end": { - "line": 64, - "column": 37 + "line": 58, + "column": 56 } }, "object": { "type": "MemberExpression", - "start": 1839, - "end": 1852, + "start": 1727, + "end": 1743, "loc": { "start": { - "line": 64, + "line": 58, "column": 21 }, "end": { - "line": 64, - "column": 34 + "line": 58, + "column": 37 } }, "object": { - "type": "ThisExpression", - "start": 1839, - "end": 1843, + "type": "MemberExpression", + "start": 1727, + "end": 1740, "loc": { "start": { - "line": 64, + "line": 58, "column": 21 }, "end": { - "line": 64, - "column": 25 + "line": 58, + "column": 34 } - } + }, + "object": { + "type": "ThisExpression", + "start": 1727, + "end": 1731, + "loc": { + "start": { + "line": 58, + "column": 21 + }, + "end": { + "line": 58, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "start": 1732, + "end": 1740, + "loc": { + "start": { + "line": 58, + "column": 26 + }, + "end": { + "line": 58, + "column": 34 + }, + "identifierName": "fullDate" + }, + "name": "fullDate" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 1844, - "end": 1852, + "start": 1741, + "end": 1743, "loc": { "start": { - "line": 64, - "column": 26 + "line": 58, + "column": 35 }, "end": { - "line": 64, - "column": 34 + "line": 58, + "column": 37 }, - "identifierName": "fullDate" + "identifierName": "lc" }, - "name": "fullDate" + "name": "lc" }, "computed": false }, "property": { "type": "Identifier", - "start": 1853, - "end": 1855, + "start": 1744, + "end": 1762, "loc": { "start": { - "line": 64, - "column": 35 + "line": 58, + "column": 38 }, "end": { - "line": 64, - "column": 37 + "line": 58, + "column": 56 }, - "identifierName": "lc" + "identifierName": "buildCalendarRound" }, - "name": "lc" + "name": "buildCalendarRound" }, "computed": false }, - "property": { - "type": "Identifier", - "start": 1856, - "end": 1874, - "loc": { - "start": { - "line": 64, - "column": 38 - }, - "end": { - "line": 64, - "column": 56 - }, - "identifierName": "buildCalendarRound" - }, - "name": "buildCalendarRound" - }, - "computed": false - }, - "arguments": [] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentLine", - "value": " If we have a full formed LC fullDate, and a fullDate CR, then generate the", - "start": 1628, - "end": 1705, - "loc": { - "start": { - "line": 61, - "column": 4 + "arguments": [] }, - "end": { - "line": 61, - "column": 81 - } + "leadingComments": null } - }, - { - "type": "CommentLine", - "value": " CR for the LC, and compare them. The fullDate CR will either match the", - "start": 1710, - "end": 1783, - "loc": { - "start": { - "line": 62, - "column": 4 - }, - "end": { - "line": 62, - "column": 77 + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentLine", + "value": " If we have a full formed LC fullDate, and a fullDate CR, then generate the", + "start": 1516, + "end": 1593, + "loc": { + "start": { + "line": 55, + "column": 4 + }, + "end": { + "line": 55, + "column": 81 + } } - } - }, - { - "type": "CommentLine", - "value": " CR for the LC or it won't.", - "start": 1788, - "end": 1817, - "loc": { - "start": { - "line": 63, - "column": 4 - }, - "end": { - "line": 63, - "column": 33 + }, + { + "type": "CommentLine", + "value": " CR for the LC, and compare them. The fullDate CR will either match the", + "start": 1598, + "end": 1671, + "loc": { + "start": { + "line": 56, + "column": 4 + }, + "end": { + "line": 56, + "column": 77 + } + } + }, + { + "type": "CommentLine", + "value": " CR for the LC or it won't.", + "start": 1676, + "end": 1705, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 33 + } } } - } - ] - }, - { - "type": "ReturnStatement", - "start": 1882, - "end": 1986, - "loc": { - "start": { - "line": 65, - "column": 4 - }, - "end": { - "line": 67, - "column": 11 - } + ] }, - "argument": { - "type": "ConditionalExpression", - "start": 1889, - "end": 1985, + { + "type": "ReturnStatement", + "start": 1770, + "end": 1874, "loc": { "start": { - "line": 65, - "column": 11 + "line": 59, + "column": 4 }, "end": { - "line": 67, - "column": 10 + "line": 61, + "column": 11 } }, - "test": { - "type": "CallExpression", - "start": 1890, - "end": 1922, + "argument": { + "type": "ConditionalExpression", + "start": 1777, + "end": 1873, "loc": { "start": { - "line": 65, - "column": 12 + "line": 59, + "column": 11 }, "end": { - "line": 65, - "column": 44 + "line": 61, + "column": 10 } }, - "callee": { - "type": "MemberExpression", - "start": 1890, - "end": 1904, + "test": { + "type": "CallExpression", + "start": 1778, + "end": 1810, "loc": { "start": { - "line": 65, + "line": 59, "column": 12 }, "end": { - "line": 65, - "column": 26 + "line": 59, + "column": 44 } }, - "object": { - "type": "Identifier", - "start": 1890, - "end": 1898, + "callee": { + "type": "MemberExpression", + "start": 1778, + "end": 1792, "loc": { "start": { - "line": 65, + "line": 59, "column": 12 }, "end": { - "line": 65, - "column": 20 - }, - "identifierName": "staticCr" - }, - "name": "staticCr" - }, - "property": { - "type": "Identifier", - "start": 1899, - "end": 1904, - "loc": { - "start": { - "line": 65, - "column": 21 - }, - "end": { - "line": 65, + "line": 59, "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 1778, + "end": 1786, + "loc": { + "start": { + "line": 59, + "column": 12 + }, + "end": { + "line": 59, + "column": 20 + }, + "identifierName": "staticCr" }, - "identifierName": "match" + "name": "staticCr" }, - "name": "match" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1905, - "end": 1921, - "loc": { - "start": { - "line": 65, - "column": 27 + "property": { + "type": "Identifier", + "start": 1787, + "end": 1792, + "loc": { + "start": { + "line": 59, + "column": 21 + }, + "end": { + "line": 59, + "column": 26 + }, + "identifierName": "match" }, - "end": { - "line": 65, - "column": 43 - } + "name": "match" }, - "object": { + "computed": false + }, + "arguments": [ + { "type": "MemberExpression", - "start": 1905, - "end": 1918, + "start": 1793, + "end": 1809, "loc": { "start": { - "line": 65, + "line": 59, "column": 27 }, "end": { - "line": 65, - "column": 40 + "line": 59, + "column": 43 } }, "object": { - "type": "ThisExpression", - "start": 1905, - "end": 1909, + "type": "MemberExpression", + "start": 1793, + "end": 1806, "loc": { "start": { - "line": 65, + "line": 59, "column": 27 }, "end": { - "line": 65, - "column": 31 + "line": 59, + "column": 40 } - } + }, + "object": { + "type": "ThisExpression", + "start": 1793, + "end": 1797, + "loc": { + "start": { + "line": 59, + "column": 27 + }, + "end": { + "line": 59, + "column": 31 + } + } + }, + "property": { + "type": "Identifier", + "start": 1798, + "end": 1806, + "loc": { + "start": { + "line": 59, + "column": 32 + }, + "end": { + "line": 59, + "column": 40 + }, + "identifierName": "fullDate" + }, + "name": "fullDate" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 1910, - "end": 1918, + "start": 1807, + "end": 1809, "loc": { "start": { - "line": 65, - "column": 32 + "line": 59, + "column": 41 }, "end": { - "line": 65, - "column": 40 + "line": 59, + "column": 43 }, - "identifierName": "fullDate" + "identifierName": "cr" }, - "name": "fullDate" + "name": "cr" }, "computed": false - }, - "property": { - "type": "Identifier", - "start": 1919, - "end": 1921, - "loc": { - "start": { - "line": 65, - "column": 41 - }, - "end": { - "line": 65, - "column": 43 - }, - "identifierName": "cr" - }, - "name": "cr" - }, - "computed": false - } - ], - "extra": { - "parenthesized": true, - "parenStart": 1889 - } - }, - "consequent": { - "type": "ArrayExpression", - "start": 1932, - "end": 1974, - "loc": { - "start": { - "line": 66, - "column": 8 - }, - "end": { - "line": 66, - "column": 50 + } + ], + "extra": { + "parenthesized": true, + "parenStart": 1777 } }, - "elements": [ - { - "type": "NewExpression", - "start": 1933, - "end": 1973, - "loc": { - "start": { - "line": 66, - "column": 9 - }, - "end": { - "line": 66, - "column": 49 - } + "consequent": { + "type": "ArrayExpression", + "start": 1820, + "end": 1862, + "loc": { + "start": { + "line": 60, + "column": 8 }, - "callee": { - "type": "Identifier", - "start": 1937, - "end": 1945, + "end": { + "line": 60, + "column": 50 + } + }, + "elements": [ + { + "type": "NewExpression", + "start": 1821, + "end": 1861, "loc": { "start": { - "line": 66, - "column": 13 + "line": 60, + "column": 9 }, "end": { - "line": 66, - "column": 21 - }, - "identifierName": "FullDate" + "line": 60, + "column": 49 + } }, - "name": "FullDate" - }, - "arguments": [ - { + "callee": { "type": "Identifier", - "start": 1946, - "end": 1954, + "start": 1825, + "end": 1833, "loc": { "start": { - "line": 66, - "column": 22 + "line": 60, + "column": 13 }, "end": { - "line": 66, - "column": 30 + "line": 60, + "column": 21 }, - "identifierName": "staticCr" + "identifierName": "FullDate" }, - "name": "staticCr" + "name": "FullDate" }, - { - "type": "MemberExpression", - "start": 1956, - "end": 1972, - "loc": { - "start": { - "line": 66, - "column": 32 + "arguments": [ + { + "type": "Identifier", + "start": 1834, + "end": 1842, + "loc": { + "start": { + "line": 60, + "column": 22 + }, + "end": { + "line": 60, + "column": 30 + }, + "identifierName": "staticCr" }, - "end": { - "line": 66, - "column": 48 - } + "name": "staticCr" }, - "object": { + { "type": "MemberExpression", - "start": 1956, - "end": 1969, + "start": 1844, + "end": 1860, "loc": { "start": { - "line": 66, + "line": 60, "column": 32 }, "end": { - "line": 66, - "column": 45 + "line": 60, + "column": 48 } }, "object": { - "type": "ThisExpression", - "start": 1956, - "end": 1960, + "type": "MemberExpression", + "start": 1844, + "end": 1857, "loc": { "start": { - "line": 66, + "line": 60, "column": 32 }, "end": { - "line": 66, - "column": 36 + "line": 60, + "column": 45 } - } + }, + "object": { + "type": "ThisExpression", + "start": 1844, + "end": 1848, + "loc": { + "start": { + "line": 60, + "column": 32 + }, + "end": { + "line": 60, + "column": 36 + } + } + }, + "property": { + "type": "Identifier", + "start": 1849, + "end": 1857, + "loc": { + "start": { + "line": 60, + "column": 37 + }, + "end": { + "line": 60, + "column": 45 + }, + "identifierName": "fullDate" + }, + "name": "fullDate" + }, + "computed": false }, "property": { "type": "Identifier", - "start": 1961, - "end": 1969, + "start": 1858, + "end": 1860, "loc": { "start": { - "line": 66, - "column": 37 + "line": 60, + "column": 46 }, "end": { - "line": 66, - "column": 45 + "line": 60, + "column": 48 }, - "identifierName": "fullDate" + "identifierName": "lc" }, - "name": "fullDate" + "name": "lc" }, "computed": false - }, - "property": { - "type": "Identifier", - "start": 1970, - "end": 1972, - "loc": { - "start": { - "line": 66, - "column": 46 - }, - "end": { - "line": 66, - "column": 48 - }, - "identifierName": "lc" - }, - "name": "lc" - }, - "computed": false - } - ] - } - ] - }, - "alternate": { - "type": "ArrayExpression", - "start": 1983, - "end": 1985, - "loc": { - "start": { - "line": 67, - "column": 8 - }, - "end": { - "line": 67, - "column": 10 - } + } + ] + } + ] }, - "elements": [] + "alternate": { + "type": "ArrayExpression", + "start": 1871, + "end": 1873, + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 61, + "column": 10 + } + }, + "elements": [] + } + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Run calculation to find all fully qualified Long Counts with Calendar Rounds\n * @return {FullDate[]}\n ", + "start": 771, + "end": 888, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 35, + "column": 5 } } } - ], - "directives": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Run calculation to find all fully qualified Long Counts with Calendar Rounds\n * @return {FullDate[]}\n ", - "start": 840, - "end": 957, - "loc": { - "start": { - "line": 35, - "column": 2 - }, - "end": { - "line": 38, - "column": 5 - } - } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Given a Calendar Round and Long Count with a wildcard, calculate all possible\n * matching fully qualified Long Counts with CalendarRounds.\n ", + "start": 425, + "end": 574, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 20, + "column": 3 } - ] + } } - ] + ], + "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Given a Calendar Round and Long Count with a wildcard, calculate all possible\n * matching fully qualified Long Counts with CalendarRounds.\n ", - "start": 509, - "end": 658, + "start": 425, + "end": 574, "loc": { "start": { - "line": 20, + "line": 17, "column": 0 }, "end": { - "line": 23, + "line": 20, "column": 3 } } } ] - }, - { - "type": "ExpressionStatement", - "start": 1994, - "end": 2028, - "loc": { - "start": { - "line": 71, - "column": 0 - }, - "end": { - "line": 71, - "column": 34 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1994, - "end": 2027, - "loc": { - "start": { - "line": 71, - "column": 0 - }, - "end": { - "line": 71, - "column": 33 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1994, - "end": 2008, - "loc": { - "start": { - "line": 71, - "column": 0 - }, - "end": { - "line": 71, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 1994, - "end": 2000, - "loc": { - "start": { - "line": 71, - "column": 0 - }, - "end": { - "line": 71, - "column": 6 - }, - "identifierName": "module" - }, - "name": "module" - }, - "property": { - "type": "Identifier", - "start": 2001, - "end": 2008, - "loc": { - "start": { - "line": 71, - "column": 7 - }, - "end": { - "line": 71, - "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 2011, - "end": 2027, - "loc": { - "start": { - "line": 71, - "column": 17 - }, - "end": { - "line": 71, - "column": 33 - }, - "identifierName": "FullDateWildcard" - }, - "name": "FullDateWildcard" - } - } } ], "directives": [] @@ -4238,40 +3940,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 57, - "end": 71, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 143, - "end": 157, + "start": 155, + "end": 169, "loc": { "start": { "line": 5, @@ -4286,8 +3956,8 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 239, - "end": 253, + "start": 209, + "end": 223, "loc": { "start": { "line": 8, @@ -4302,485 +3972,174 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 293, - "end": 307, - "loc": { - "start": { - "line": 11, - "column": 0 - }, - "end": { - "line": 11, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 366, - "end": 380, - "loc": { - "start": { - "line": 14, - "column": 0 - }, - "end": { - "line": 14, - "column": 14 - } - } - }, - { - "type": "CommentLine", - "value": " eslint-disable-next-line no-extend-native,func-names", - "start": 381, - "end": 436, - "loc": { - "start": { - "line": 15, - "column": 0 - }, - "end": { - "line": 15, - "column": 55 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Given a Calendar Round and Long Count with a wildcard, calculate all possible\n * matching fully qualified Long Counts with CalendarRounds.\n ", - "start": 509, - "end": 658, - "loc": { - "start": { - "line": 20, - "column": 0 - }, - "end": { - "line": 23, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @param {FullDate} partialDate\n ", - "start": 686, - "end": 730, - "loc": { - "start": { - "line": 25, - "column": 2 - }, - "end": { - "line": 27, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @type {FullDate}\n ", - "start": 764, - "end": 799, - "loc": { - "start": { - "line": 29, - "column": 4 - }, - "end": { - "line": 31, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Run calculation to find all fully qualified Long Counts with Calendar Rounds\n * @return {FullDate[]}\n ", - "start": 840, - "end": 957, - "loc": { - "start": { - "line": 35, - "column": 2 - }, - "end": { - "line": 38, - "column": 5 - } - } - }, - { - "type": "CommentLine", - "value": " If we have a full formed LC fullDate, and a fullDate CR, then generate the", - "start": 1628, - "end": 1705, - "loc": { - "start": { - "line": 61, - "column": 4 - }, - "end": { - "line": 61, - "column": 81 - } - } - }, - { - "type": "CommentLine", - "value": " CR for the LC, and compare them. The fullDate CR will either match the", - "start": 1710, - "end": 1783, - "loc": { - "start": { - "line": 62, - "column": 4 - }, - "end": { - "line": 62, - "column": 77 - } - } - }, - { - "type": "CommentLine", - "value": " CR for the LC or it won't.", - "start": 1788, - "end": 1817, - "loc": { - "start": { - "line": 63, - "column": 4 - }, - "end": { - "line": 63, - "column": 33 - } - } - } - ], - "tokens": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, + "start": 282, + "end": 296, "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 15, - "end": 20, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "FullDate", - "start": 21, - "end": 29, - "loc": { - "start": { - "line": 2, - "column": 6 - }, - "end": { - "line": 2, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 30, - "end": 31, - "loc": { - "start": { - "line": 2, - "column": 15 - }, - "end": { - "line": 2, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "require", - "start": 32, - "end": 39, - "loc": { - "start": { - "line": 2, - "column": 17 + "start": { + "line": 11, + "column": 0 }, "end": { - "line": 2, - "column": 24 + "line": 11, + "column": 14 } } }, { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 39, - "end": 40, + "type": "CommentLine", + "value": " eslint-disable-next-line no-extend-native,func-names", + "start": 297, + "end": 352, "loc": { "start": { - "line": 2, - "column": 24 + "line": 12, + "column": 0 }, "end": { - "line": 2, - "column": 25 + "line": 12, + "column": 55 } } }, { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "../full-date", - "start": 40, - "end": 54, + "type": "CommentBlock", + "value": "*\n * Given a Calendar Round and Long Count with a wildcard, calculate all possible\n * matching fully qualified Long Counts with CalendarRounds.\n ", + "start": 425, + "end": 574, "loc": { "start": { - "line": 2, - "column": 25 + "line": 17, + "column": 0 }, "end": { - "line": 2, - "column": 39 + "line": 20, + "column": 3 } } }, { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 54, - "end": 55, + "type": "CommentBlock", + "value": "*\n * @param {FullDate} partialDate\n ", + "start": 617, + "end": 661, "loc": { "start": { - "line": 2, - "column": 39 + "line": 22, + "column": 2 }, "end": { - "line": 2, - "column": 40 + "line": 24, + "column": 5 } } }, { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 55, - "end": 56, + "type": "CommentBlock", + "value": "*\n * @type {FullDate}\n ", + "start": 695, + "end": 730, "loc": { "start": { - "line": 2, - "column": 40 + "line": 26, + "column": 4 }, "end": { - "line": 2, - "column": 41 + "line": 28, + "column": 7 } } }, { "type": "CommentBlock", - "value": "* @ignore ", - "start": 57, - "end": 71, + "value": "*\n * Run calculation to find all fully qualified Long Counts with Calendar Rounds\n * @return {FullDate[]}\n ", + "start": 771, + "end": 888, "loc": { "start": { - "line": 3, - "column": 0 + "line": 32, + "column": 2 }, "end": { - "line": 3, - "column": 14 + "line": 35, + "column": 5 } } }, { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 72, - "end": 77, + "type": "CommentLine", + "value": " If we have a full formed LC fullDate, and a fullDate CR, then generate the", + "start": 1516, + "end": 1593, "loc": { "start": { - "line": 4, - "column": 0 + "line": 55, + "column": 4 }, "end": { - "line": 4, - "column": 5 + "line": 55, + "column": 81 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "LongCountWildcard", - "start": 78, - "end": 95, + "type": "CommentLine", + "value": " CR for the LC, and compare them. The fullDate CR will either match the", + "start": 1598, + "end": 1671, "loc": { "start": { - "line": 4, - "column": 6 + "line": 56, + "column": 4 }, "end": { - "line": 4, - "column": 23 + "line": 56, + "column": 77 } } }, + { + "type": "CommentLine", + "value": " CR for the LC or it won't.", + "start": 1676, + "end": 1705, + "loc": { + "start": { + "line": 57, + "column": 4 + }, + "end": { + "line": 57, + "column": 33 + } + } + } + ], + "tokens": [ { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 96, - "end": 97, + "value": "import", + "start": 0, + "end": 6, "loc": { "start": { - "line": 4, - "column": 24 + "line": 1, + "column": 0 }, "end": { - "line": 4, - "column": 25 + "line": 1, + "column": 6 } } }, @@ -4796,24 +4155,24 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 98, - "end": 105, + "value": "FullDate", + "start": 7, + "end": 15, "loc": { "start": { - "line": 4, - "column": 26 + "line": 1, + "column": 7 }, "end": { - "line": 4, - "column": 33 + "line": 1, + "column": 15 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -4822,16 +4181,17 @@ "postfix": false, "binop": null }, - "start": 105, - "end": 106, + "value": "from", + "start": 16, + "end": 20, "loc": { "start": { - "line": 4, - "column": 33 + "line": 1, + "column": 16 }, "end": { - "line": 4, - "column": 34 + "line": 1, + "column": 20 } } }, @@ -4848,50 +4208,52 @@ "binop": null, "updateContext": null }, - "value": "../operations/longcount-wildcard", - "start": 106, - "end": 140, + "value": "../full-date", + "start": 21, + "end": 35, "loc": { "start": { - "line": 4, - "column": 34 + "line": 1, + "column": 21 }, "end": { - "line": 4, - "column": 68 + "line": 1, + "column": 35 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 140, - "end": 141, + "start": 35, + "end": 36, "loc": { "start": { - "line": 4, - "column": 68 + "line": 1, + "column": 35 }, "end": { - "line": 4, - "column": 69 + "line": 1, + "column": 36 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4900,66 +4262,75 @@ "binop": null, "updateContext": null }, - "start": 141, - "end": 142, + "value": "import", + "start": 37, + "end": 43, "loc": { "start": { - "line": 4, - "column": 69 + "line": 2, + "column": 0 }, "end": { - "line": 4, - "column": 70 + "line": 2, + "column": 6 } } }, { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 143, - "end": 157, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "LongCountWildcard", + "start": 44, + "end": 61, "loc": { "start": { - "line": 5, - "column": 0 + "line": 2, + "column": 7 }, "end": { - "line": 5, - "column": 14 + "line": 2, + "column": 24 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 158, - "end": 163, + "value": "from", + "start": 62, + "end": 66, "loc": { "start": { - "line": 6, - "column": 0 + "line": 2, + "column": 25 }, "end": { - "line": 6, - "column": 5 + "line": 2, + "column": 29 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -4967,52 +4338,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "CalendarRoundWildcard", - "start": 164, - "end": 185, + "value": "./longcount-wildcard", + "start": 67, + "end": 89, "loc": { "start": { - "line": 6, - "column": 6 + "line": 2, + "column": 30 }, "end": { - "line": 6, - "column": 27 + "line": 2, + "column": 52 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 186, - "end": 187, + "start": 89, + "end": 90, "loc": { "start": { - "line": 6, - "column": 28 + "line": 2, + "column": 52 }, "end": { - "line": 6, - "column": 29 + "line": 2, + "column": 53 } } }, { "type": { - "label": "name", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -5020,26 +4392,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "require", - "start": 188, - "end": 195, + "value": "import", + "start": 91, + "end": 97, "loc": { "start": { - "line": 6, - "column": 30 + "line": 3, + "column": 0 }, "end": { - "line": 6, - "column": 37 + "line": 3, + "column": 6 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -5048,22 +4421,23 @@ "postfix": false, "binop": null }, - "start": 195, - "end": 196, + "value": "CalendarRoundWildcard", + "start": 98, + "end": 119, "loc": { "start": { - "line": 6, - "column": 37 + "line": 3, + "column": 7 }, "end": { - "line": 6, - "column": 38 + "line": 3, + "column": 28 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -5071,45 +4445,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "../operations/calendar-round-wildcard", - "start": 196, - "end": 235, + "value": "from", + "start": 120, + "end": 124, "loc": { "start": { - "line": 6, - "column": 38 + "line": 3, + "column": 29 }, "end": { - "line": 6, - "column": 77 + "line": 3, + "column": 33 } } }, { "type": { - "label": ")", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 235, - "end": 236, + "value": "./calendar-round-wildcard", + "start": 125, + "end": 152, "loc": { "start": { - "line": 6, - "column": 77 + "line": 3, + "column": 34 }, "end": { - "line": 6, - "column": 78 + "line": 3, + "column": 61 } } }, @@ -5126,31 +4501,31 @@ "binop": null, "updateContext": null }, - "start": 236, - "end": 237, + "start": 152, + "end": 153, "loc": { "start": { - "line": 6, - "column": 78 + "line": 3, + "column": 61 }, "end": { - "line": 6, - "column": 79 + "line": 3, + "column": 62 } } }, { "type": "CommentBlock", "value": "* @ignore ", - "start": 239, - "end": 253, + "start": 155, + "end": 169, "loc": { "start": { - "line": 8, + "line": 5, "column": 0 }, "end": { - "line": 8, + "line": 5, "column": 14 } } @@ -5170,15 +4545,15 @@ "updateContext": null }, "value": "const", - "start": 254, - "end": 259, + "start": 170, + "end": 175, "loc": { "start": { - "line": 9, + "line": 6, "column": 0 }, "end": { - "line": 9, + "line": 6, "column": 5 } } @@ -5196,15 +4571,15 @@ "binop": null }, "value": "concat", - "start": 260, - "end": 266, + "start": 176, + "end": 182, "loc": { "start": { - "line": 9, + "line": 6, "column": 6 }, "end": { - "line": 9, + "line": 6, "column": 12 } } @@ -5223,15 +4598,15 @@ "updateContext": null }, "value": "=", - "start": 267, - "end": 268, + "start": 183, + "end": 184, "loc": { "start": { - "line": 9, + "line": 6, "column": 13 }, "end": { - "line": 9, + "line": 6, "column": 14 } } @@ -5248,15 +4623,15 @@ "postfix": false, "binop": null }, - "start": 269, - "end": 270, + "start": 185, + "end": 186, "loc": { "start": { - "line": 9, + "line": 6, "column": 15 }, "end": { - "line": 9, + "line": 6, "column": 16 } } @@ -5274,15 +4649,15 @@ "binop": null }, "value": "x", - "start": 270, - "end": 271, + "start": 186, + "end": 187, "loc": { "start": { - "line": 9, + "line": 6, "column": 16 }, "end": { - "line": 9, + "line": 6, "column": 17 } } @@ -5300,15 +4675,15 @@ "binop": null, "updateContext": null }, - "start": 271, - "end": 272, + "start": 187, + "end": 188, "loc": { "start": { - "line": 9, + "line": 6, "column": 17 }, "end": { - "line": 9, + "line": 6, "column": 18 } } @@ -5326,15 +4701,15 @@ "binop": null }, "value": "y", - "start": 273, - "end": 274, + "start": 189, + "end": 190, "loc": { "start": { - "line": 9, + "line": 6, "column": 19 }, "end": { - "line": 9, + "line": 6, "column": 20 } } @@ -5351,15 +4726,15 @@ "postfix": false, "binop": null }, - "start": 274, - "end": 275, + "start": 190, + "end": 191, "loc": { "start": { - "line": 9, + "line": 6, "column": 20 }, "end": { - "line": 9, + "line": 6, "column": 21 } } @@ -5377,15 +4752,15 @@ "binop": null, "updateContext": null }, - "start": 276, - "end": 278, + "start": 192, + "end": 194, "loc": { "start": { - "line": 9, + "line": 6, "column": 22 }, "end": { - "line": 9, + "line": 6, "column": 24 } } @@ -5403,15 +4778,15 @@ "binop": null }, "value": "x", - "start": 279, - "end": 280, + "start": 195, + "end": 196, "loc": { "start": { - "line": 9, + "line": 6, "column": 25 }, "end": { - "line": 9, + "line": 6, "column": 26 } } @@ -5429,15 +4804,15 @@ "binop": null, "updateContext": null }, - "start": 280, - "end": 281, + "start": 196, + "end": 197, "loc": { "start": { - "line": 9, + "line": 6, "column": 26 }, "end": { - "line": 9, + "line": 6, "column": 27 } } @@ -5455,15 +4830,15 @@ "binop": null }, "value": "concat", - "start": 281, - "end": 287, + "start": 197, + "end": 203, "loc": { "start": { - "line": 9, + "line": 6, "column": 27 }, "end": { - "line": 9, + "line": 6, "column": 33 } } @@ -5480,15 +4855,15 @@ "postfix": false, "binop": null }, - "start": 287, - "end": 288, + "start": 203, + "end": 204, "loc": { "start": { - "line": 9, + "line": 6, "column": 33 }, "end": { - "line": 9, + "line": 6, "column": 34 } } @@ -5506,15 +4881,15 @@ "binop": null }, "value": "y", - "start": 288, - "end": 289, + "start": 204, + "end": 205, "loc": { "start": { - "line": 9, + "line": 6, "column": 34 }, "end": { - "line": 9, + "line": 6, "column": 35 } } @@ -5531,15 +4906,15 @@ "postfix": false, "binop": null }, - "start": 289, - "end": 290, + "start": 205, + "end": 206, "loc": { "start": { - "line": 9, + "line": 6, "column": 35 }, "end": { - "line": 9, + "line": 6, "column": 36 } } @@ -5557,15 +4932,15 @@ "binop": null, "updateContext": null }, - "start": 290, - "end": 291, + "start": 206, + "end": 207, "loc": { "start": { - "line": 9, + "line": 6, "column": 36 }, "end": { - "line": 9, + "line": 6, "column": 37 } } @@ -5573,15 +4948,15 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 293, - "end": 307, + "start": 209, + "end": 223, "loc": { "start": { - "line": 11, + "line": 8, "column": 0 }, "end": { - "line": 11, + "line": 8, "column": 14 } } @@ -5601,15 +4976,15 @@ "updateContext": null }, "value": "const", - "start": 308, - "end": 313, + "start": 224, + "end": 229, "loc": { "start": { - "line": 12, + "line": 9, "column": 0 }, "end": { - "line": 12, + "line": 9, "column": 5 } } @@ -5627,15 +5002,15 @@ "binop": null }, "value": "flatMap", - "start": 314, - "end": 321, + "start": 230, + "end": 237, "loc": { "start": { - "line": 12, + "line": 9, "column": 6 }, "end": { - "line": 12, + "line": 9, "column": 13 } } @@ -5654,15 +5029,15 @@ "updateContext": null }, "value": "=", - "start": 322, - "end": 323, + "start": 238, + "end": 239, "loc": { "start": { - "line": 12, + "line": 9, "column": 14 }, "end": { - "line": 12, + "line": 9, "column": 15 } } @@ -5679,15 +5054,15 @@ "postfix": false, "binop": null }, - "start": 324, - "end": 325, + "start": 240, + "end": 241, "loc": { "start": { - "line": 12, + "line": 9, "column": 16 }, "end": { - "line": 12, + "line": 9, "column": 17 } } @@ -5705,15 +5080,15 @@ "binop": null }, "value": "f", - "start": 325, - "end": 326, + "start": 241, + "end": 242, "loc": { "start": { - "line": 12, + "line": 9, "column": 17 }, "end": { - "line": 12, + "line": 9, "column": 18 } } @@ -5731,15 +5106,15 @@ "binop": null, "updateContext": null }, - "start": 326, - "end": 327, + "start": 242, + "end": 243, "loc": { "start": { - "line": 12, + "line": 9, "column": 18 }, "end": { - "line": 12, + "line": 9, "column": 19 } } @@ -5757,15 +5132,15 @@ "binop": null }, "value": "xs", - "start": 328, - "end": 330, + "start": 244, + "end": 246, "loc": { "start": { - "line": 12, + "line": 9, "column": 20 }, "end": { - "line": 12, + "line": 9, "column": 22 } } @@ -5782,15 +5157,15 @@ "postfix": false, "binop": null }, - "start": 330, - "end": 331, + "start": 246, + "end": 247, "loc": { "start": { - "line": 12, + "line": 9, "column": 22 }, "end": { - "line": 12, + "line": 9, "column": 23 } } @@ -5808,15 +5183,15 @@ "binop": null, "updateContext": null }, - "start": 332, - "end": 334, + "start": 248, + "end": 250, "loc": { "start": { - "line": 12, + "line": 9, "column": 24 }, "end": { - "line": 12, + "line": 9, "column": 26 } } @@ -5834,15 +5209,15 @@ "binop": null }, "value": "xs", - "start": 335, - "end": 337, + "start": 251, + "end": 253, "loc": { "start": { - "line": 12, + "line": 9, "column": 27 }, "end": { - "line": 12, + "line": 9, "column": 29 } } @@ -5860,15 +5235,15 @@ "binop": null, "updateContext": null }, - "start": 337, - "end": 338, + "start": 253, + "end": 254, "loc": { "start": { - "line": 12, + "line": 9, "column": 29 }, "end": { - "line": 12, + "line": 9, "column": 30 } } @@ -5886,15 +5261,15 @@ "binop": null }, "value": "map", - "start": 338, - "end": 341, + "start": 254, + "end": 257, "loc": { "start": { - "line": 12, + "line": 9, "column": 30 }, "end": { - "line": 12, + "line": 9, "column": 33 } } @@ -5911,15 +5286,15 @@ "postfix": false, "binop": null }, - "start": 341, - "end": 342, + "start": 257, + "end": 258, "loc": { "start": { - "line": 12, + "line": 9, "column": 33 }, "end": { - "line": 12, + "line": 9, "column": 34 } } @@ -5937,15 +5312,15 @@ "binop": null }, "value": "f", - "start": 342, - "end": 343, + "start": 258, + "end": 259, "loc": { "start": { - "line": 12, + "line": 9, "column": 34 }, "end": { - "line": 12, + "line": 9, "column": 35 } } @@ -5962,15 +5337,15 @@ "postfix": false, "binop": null }, - "start": 343, - "end": 344, + "start": 259, + "end": 260, "loc": { "start": { - "line": 12, + "line": 9, "column": 35 }, "end": { - "line": 12, + "line": 9, "column": 36 } } @@ -5988,15 +5363,15 @@ "binop": null, "updateContext": null }, - "start": 344, - "end": 345, + "start": 260, + "end": 261, "loc": { "start": { - "line": 12, + "line": 9, "column": 36 }, "end": { - "line": 12, + "line": 9, "column": 37 } } @@ -6014,15 +5389,15 @@ "binop": null }, "value": "reduce", - "start": 345, - "end": 351, + "start": 261, + "end": 267, "loc": { "start": { - "line": 12, + "line": 9, "column": 37 }, "end": { - "line": 12, + "line": 9, "column": 43 } } @@ -6039,15 +5414,15 @@ "postfix": false, "binop": null }, - "start": 351, - "end": 352, + "start": 267, + "end": 268, "loc": { "start": { - "line": 12, + "line": 9, "column": 43 }, "end": { - "line": 12, + "line": 9, "column": 44 } } @@ -6065,15 +5440,15 @@ "binop": null }, "value": "concat", - "start": 352, - "end": 358, + "start": 268, + "end": 274, "loc": { "start": { - "line": 12, + "line": 9, "column": 44 }, "end": { - "line": 12, + "line": 9, "column": 50 } } @@ -6091,15 +5466,15 @@ "binop": null, "updateContext": null }, - "start": 358, - "end": 359, + "start": 274, + "end": 275, "loc": { "start": { - "line": 12, + "line": 9, "column": 50 }, "end": { - "line": 12, + "line": 9, "column": 51 } } @@ -6117,15 +5492,15 @@ "binop": null, "updateContext": null }, - "start": 360, - "end": 361, + "start": 276, + "end": 277, "loc": { "start": { - "line": 12, + "line": 9, "column": 52 }, "end": { - "line": 12, + "line": 9, "column": 53 } } @@ -6143,15 +5518,15 @@ "binop": null, "updateContext": null }, - "start": 361, - "end": 362, + "start": 277, + "end": 278, "loc": { "start": { - "line": 12, + "line": 9, "column": 53 }, "end": { - "line": 12, + "line": 9, "column": 54 } } @@ -6168,15 +5543,15 @@ "postfix": false, "binop": null }, - "start": 362, - "end": 363, + "start": 278, + "end": 279, "loc": { "start": { - "line": 12, + "line": 9, "column": 54 }, "end": { - "line": 12, + "line": 9, "column": 55 } } @@ -6194,15 +5569,15 @@ "binop": null, "updateContext": null }, - "start": 363, - "end": 364, + "start": 279, + "end": 280, "loc": { "start": { - "line": 12, + "line": 9, "column": 55 }, "end": { - "line": 12, + "line": 9, "column": 56 } } @@ -6210,15 +5585,15 @@ { "type": "CommentBlock", "value": "* @ignore ", - "start": 366, - "end": 380, + "start": 282, + "end": 296, "loc": { "start": { - "line": 14, + "line": 11, "column": 0 }, "end": { - "line": 14, + "line": 11, "column": 14 } } @@ -6226,15 +5601,15 @@ { "type": "CommentLine", "value": " eslint-disable-next-line no-extend-native,func-names", - "start": 381, - "end": 436, + "start": 297, + "end": 352, "loc": { "start": { - "line": 15, + "line": 12, "column": 0 }, "end": { - "line": 15, + "line": 12, "column": 55 } } @@ -6252,15 +5627,15 @@ "binop": null }, "value": "Array", - "start": 437, - "end": 442, + "start": 353, + "end": 358, "loc": { "start": { - "line": 16, + "line": 13, "column": 0 }, "end": { - "line": 16, + "line": 13, "column": 5 } } @@ -6278,15 +5653,15 @@ "binop": null, "updateContext": null }, - "start": 442, - "end": 443, + "start": 358, + "end": 359, "loc": { "start": { - "line": 16, + "line": 13, "column": 5 }, "end": { - "line": 16, + "line": 13, "column": 6 } } @@ -6304,15 +5679,15 @@ "binop": null }, "value": "prototype", - "start": 443, - "end": 452, + "start": 359, + "end": 368, "loc": { "start": { - "line": 16, + "line": 13, "column": 6 }, "end": { - "line": 16, + "line": 13, "column": 15 } } @@ -6330,15 +5705,15 @@ "binop": null, "updateContext": null }, - "start": 452, - "end": 453, + "start": 368, + "end": 369, "loc": { "start": { - "line": 16, + "line": 13, "column": 15 }, "end": { - "line": 16, + "line": 13, "column": 16 } } @@ -6356,15 +5731,15 @@ "binop": null }, "value": "flatMap", - "start": 453, - "end": 460, + "start": 369, + "end": 376, "loc": { "start": { - "line": 16, + "line": 13, "column": 16 }, "end": { - "line": 16, + "line": 13, "column": 23 } } @@ -6383,15 +5758,15 @@ "updateContext": null }, "value": "=", - "start": 461, - "end": 462, + "start": 377, + "end": 378, "loc": { "start": { - "line": 16, + "line": 13, "column": 24 }, "end": { - "line": 16, + "line": 13, "column": 25 } } @@ -6410,15 +5785,15 @@ "binop": null }, "value": "function", - "start": 463, - "end": 471, + "start": 379, + "end": 387, "loc": { "start": { - "line": 16, + "line": 13, "column": 26 }, "end": { - "line": 16, + "line": 13, "column": 34 } } @@ -6435,15 +5810,15 @@ "postfix": false, "binop": null }, - "start": 472, - "end": 473, + "start": 388, + "end": 389, "loc": { "start": { - "line": 16, + "line": 13, "column": 35 }, "end": { - "line": 16, + "line": 13, "column": 36 } } @@ -6461,15 +5836,15 @@ "binop": null }, "value": "f", - "start": 473, - "end": 474, + "start": 389, + "end": 390, "loc": { "start": { - "line": 16, + "line": 13, "column": 36 }, "end": { - "line": 16, + "line": 13, "column": 37 } } @@ -6486,15 +5861,15 @@ "postfix": false, "binop": null }, - "start": 474, - "end": 475, + "start": 390, + "end": 391, "loc": { "start": { - "line": 16, + "line": 13, "column": 37 }, "end": { - "line": 16, + "line": 13, "column": 38 } } @@ -6511,15 +5886,15 @@ "postfix": false, "binop": null }, - "start": 476, - "end": 477, + "start": 392, + "end": 393, "loc": { "start": { - "line": 16, + "line": 13, "column": 39 }, "end": { - "line": 16, + "line": 13, "column": 40 } } @@ -6539,15 +5914,15 @@ "updateContext": null }, "value": "return", - "start": 480, - "end": 486, + "start": 396, + "end": 402, "loc": { "start": { - "line": 17, + "line": 14, "column": 2 }, "end": { - "line": 17, + "line": 14, "column": 8 } } @@ -6565,15 +5940,15 @@ "binop": null }, "value": "flatMap", - "start": 487, - "end": 494, + "start": 403, + "end": 410, "loc": { "start": { - "line": 17, + "line": 14, "column": 9 }, "end": { - "line": 17, + "line": 14, "column": 16 } } @@ -6590,15 +5965,15 @@ "postfix": false, "binop": null }, - "start": 494, - "end": 495, + "start": 410, + "end": 411, "loc": { "start": { - "line": 17, + "line": 14, "column": 16 }, "end": { - "line": 17, + "line": 14, "column": 17 } } @@ -6616,15 +5991,15 @@ "binop": null }, "value": "f", - "start": 495, - "end": 496, + "start": 411, + "end": 412, "loc": { "start": { - "line": 17, + "line": 14, "column": 17 }, "end": { - "line": 17, + "line": 14, "column": 18 } } @@ -6642,15 +6017,15 @@ "binop": null, "updateContext": null }, - "start": 496, - "end": 497, + "start": 412, + "end": 413, "loc": { "start": { - "line": 17, + "line": 14, "column": 18 }, "end": { - "line": 17, + "line": 14, "column": 19 } } @@ -6670,15 +6045,15 @@ "updateContext": null }, "value": "this", - "start": 498, - "end": 502, + "start": 414, + "end": 418, "loc": { "start": { - "line": 17, + "line": 14, "column": 20 }, "end": { - "line": 17, + "line": 14, "column": 24 } } @@ -6695,15 +6070,15 @@ "postfix": false, "binop": null }, - "start": 502, - "end": 503, + "start": 418, + "end": 419, "loc": { "start": { - "line": 17, + "line": 14, "column": 24 }, "end": { - "line": 17, + "line": 14, "column": 25 } } @@ -6721,15 +6096,15 @@ "binop": null, "updateContext": null }, - "start": 503, - "end": 504, + "start": 419, + "end": 420, "loc": { "start": { - "line": 17, + "line": 14, "column": 25 }, "end": { - "line": 17, + "line": 14, "column": 26 } } @@ -6746,15 +6121,15 @@ "postfix": false, "binop": null }, - "start": 505, - "end": 506, + "start": 421, + "end": 422, "loc": { "start": { - "line": 18, + "line": 15, "column": 0 }, "end": { - "line": 18, + "line": 15, "column": 1 } } @@ -6772,15 +6147,15 @@ "binop": null, "updateContext": null }, - "start": 506, - "end": 507, + "start": 422, + "end": 423, "loc": { "start": { - "line": 18, + "line": 15, "column": 1 }, "end": { - "line": 18, + "line": 15, "column": 2 } } @@ -6788,19 +6163,75 @@ { "type": "CommentBlock", "value": "*\n * Given a Calendar Round and Long Count with a wildcard, calculate all possible\n * matching fully qualified Long Counts with CalendarRounds.\n ", - "start": 509, - "end": 658, + "start": 425, + "end": 574, "loc": { "start": { - "line": 20, + "line": 17, "column": 0 }, "end": { - "line": 23, + "line": 20, "column": 3 } } }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 575, + "end": 581, + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 21, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 582, + "end": 589, + "loc": { + "start": { + "line": 21, + "column": 7 + }, + "end": { + "line": 21, + "column": 14 + } + } + }, { "type": { "label": "class", @@ -6816,16 +6247,16 @@ "updateContext": null }, "value": "class", - "start": 659, - "end": 664, + "start": 590, + "end": 595, "loc": { "start": { - "line": 24, - "column": 0 + "line": 21, + "column": 15 }, "end": { - "line": 24, - "column": 5 + "line": 21, + "column": 20 } } }, @@ -6842,16 +6273,16 @@ "binop": null }, "value": "FullDateWildcard", - "start": 665, - "end": 681, + "start": 596, + "end": 612, "loc": { "start": { - "line": 24, - "column": 6 + "line": 21, + "column": 21 }, "end": { - "line": 24, - "column": 22 + "line": 21, + "column": 37 } } }, @@ -6867,31 +6298,31 @@ "postfix": false, "binop": null }, - "start": 682, - "end": 683, + "start": 613, + "end": 614, "loc": { "start": { - "line": 24, - "column": 23 + "line": 21, + "column": 38 }, "end": { - "line": 24, - "column": 24 + "line": 21, + "column": 39 } } }, { "type": "CommentBlock", "value": "*\n * @param {FullDate} partialDate\n ", - "start": 686, - "end": 730, + "start": 617, + "end": 661, "loc": { "start": { - "line": 25, + "line": 22, "column": 2 }, "end": { - "line": 27, + "line": 24, "column": 5 } } @@ -6909,15 +6340,15 @@ "binop": null }, "value": "constructor", - "start": 733, - "end": 744, + "start": 664, + "end": 675, "loc": { "start": { - "line": 28, + "line": 25, "column": 2 }, "end": { - "line": 28, + "line": 25, "column": 13 } } @@ -6934,15 +6365,15 @@ "postfix": false, "binop": null }, - "start": 744, - "end": 745, + "start": 675, + "end": 676, "loc": { "start": { - "line": 28, + "line": 25, "column": 13 }, "end": { - "line": 28, + "line": 25, "column": 14 } } @@ -6960,15 +6391,15 @@ "binop": null }, "value": "partialDate", - "start": 745, - "end": 756, + "start": 676, + "end": 687, "loc": { "start": { - "line": 28, + "line": 25, "column": 14 }, "end": { - "line": 28, + "line": 25, "column": 25 } } @@ -6985,15 +6416,15 @@ "postfix": false, "binop": null }, - "start": 756, - "end": 757, + "start": 687, + "end": 688, "loc": { "start": { - "line": 28, + "line": 25, "column": 25 }, "end": { - "line": 28, + "line": 25, "column": 26 } } @@ -7010,15 +6441,15 @@ "postfix": false, "binop": null }, - "start": 758, - "end": 759, + "start": 689, + "end": 690, "loc": { "start": { - "line": 28, + "line": 25, "column": 27 }, "end": { - "line": 28, + "line": 25, "column": 28 } } @@ -7026,15 +6457,15 @@ { "type": "CommentBlock", "value": "*\n * @type {FullDate}\n ", - "start": 764, - "end": 799, + "start": 695, + "end": 730, "loc": { "start": { - "line": 29, + "line": 26, "column": 4 }, "end": { - "line": 31, + "line": 28, "column": 7 } } @@ -7054,15 +6485,15 @@ "updateContext": null }, "value": "this", - "start": 804, - "end": 808, + "start": 735, + "end": 739, "loc": { "start": { - "line": 32, + "line": 29, "column": 4 }, "end": { - "line": 32, + "line": 29, "column": 8 } } @@ -7080,15 +6511,15 @@ "binop": null, "updateContext": null }, - "start": 808, - "end": 809, + "start": 739, + "end": 740, "loc": { "start": { - "line": 32, + "line": 29, "column": 8 }, "end": { - "line": 32, + "line": 29, "column": 9 } } @@ -7106,15 +6537,15 @@ "binop": null }, "value": "fullDate", - "start": 809, - "end": 817, + "start": 740, + "end": 748, "loc": { "start": { - "line": 32, + "line": 29, "column": 9 }, "end": { - "line": 32, + "line": 29, "column": 17 } } @@ -7133,15 +6564,15 @@ "updateContext": null }, "value": "=", - "start": 818, - "end": 819, + "start": 749, + "end": 750, "loc": { "start": { - "line": 32, + "line": 29, "column": 18 }, "end": { - "line": 32, + "line": 29, "column": 19 } } @@ -7159,15 +6590,15 @@ "binop": null }, "value": "partialDate", - "start": 820, - "end": 831, + "start": 751, + "end": 762, "loc": { "start": { - "line": 32, + "line": 29, "column": 20 }, "end": { - "line": 32, + "line": 29, "column": 31 } } @@ -7185,15 +6616,15 @@ "binop": null, "updateContext": null }, - "start": 831, - "end": 832, + "start": 762, + "end": 763, "loc": { "start": { - "line": 32, + "line": 29, "column": 31 }, "end": { - "line": 32, + "line": 29, "column": 32 } } @@ -7210,15 +6641,15 @@ "postfix": false, "binop": null }, - "start": 835, - "end": 836, + "start": 766, + "end": 767, "loc": { "start": { - "line": 33, + "line": 30, "column": 2 }, "end": { - "line": 33, + "line": 30, "column": 3 } } @@ -7226,15 +6657,15 @@ { "type": "CommentBlock", "value": "*\n * Run calculation to find all fully qualified Long Counts with Calendar Rounds\n * @return {FullDate[]}\n ", - "start": 840, - "end": 957, + "start": 771, + "end": 888, "loc": { "start": { - "line": 35, + "line": 32, "column": 2 }, "end": { - "line": 38, + "line": 35, "column": 5 } } @@ -7252,15 +6683,15 @@ "binop": null }, "value": "run", - "start": 960, - "end": 963, + "start": 891, + "end": 894, "loc": { "start": { - "line": 39, + "line": 36, "column": 2 }, "end": { - "line": 39, + "line": 36, "column": 5 } } @@ -7277,15 +6708,15 @@ "postfix": false, "binop": null }, - "start": 963, - "end": 964, + "start": 894, + "end": 895, "loc": { "start": { - "line": 39, + "line": 36, "column": 5 }, "end": { - "line": 39, + "line": 36, "column": 6 } } @@ -7302,15 +6733,15 @@ "postfix": false, "binop": null }, - "start": 964, - "end": 965, + "start": 895, + "end": 896, "loc": { "start": { - "line": 39, + "line": 36, "column": 6 }, "end": { - "line": 39, + "line": 36, "column": 7 } } @@ -7327,15 +6758,15 @@ "postfix": false, "binop": null }, - "start": 966, - "end": 967, + "start": 897, + "end": 898, "loc": { "start": { - "line": 39, + "line": 36, "column": 8 }, "end": { - "line": 39, + "line": 36, "column": 9 } } @@ -7355,15 +6786,15 @@ "updateContext": null }, "value": "if", - "start": 972, - "end": 974, + "start": 903, + "end": 905, "loc": { "start": { - "line": 40, + "line": 37, "column": 4 }, "end": { - "line": 40, + "line": 37, "column": 6 } } @@ -7380,15 +6811,15 @@ "postfix": false, "binop": null }, - "start": 975, - "end": 976, + "start": 906, + "end": 907, "loc": { "start": { - "line": 40, + "line": 37, "column": 7 }, "end": { - "line": 40, + "line": 37, "column": 8 } } @@ -7408,15 +6839,15 @@ "updateContext": null }, "value": "this", - "start": 976, - "end": 980, + "start": 907, + "end": 911, "loc": { "start": { - "line": 40, + "line": 37, "column": 8 }, "end": { - "line": 40, + "line": 37, "column": 12 } } @@ -7434,15 +6865,15 @@ "binop": null, "updateContext": null }, - "start": 980, - "end": 981, + "start": 911, + "end": 912, "loc": { "start": { - "line": 40, + "line": 37, "column": 12 }, "end": { - "line": 40, + "line": 37, "column": 13 } } @@ -7460,15 +6891,15 @@ "binop": null }, "value": "fullDate", - "start": 981, - "end": 989, + "start": 912, + "end": 920, "loc": { "start": { - "line": 40, + "line": 37, "column": 13 }, "end": { - "line": 40, + "line": 37, "column": 21 } } @@ -7486,15 +6917,15 @@ "binop": null, "updateContext": null }, - "start": 989, - "end": 990, + "start": 920, + "end": 921, "loc": { "start": { - "line": 40, + "line": 37, "column": 21 }, "end": { - "line": 40, + "line": 37, "column": 22 } } @@ -7512,15 +6943,15 @@ "binop": null }, "value": "lc", - "start": 990, - "end": 992, + "start": 921, + "end": 923, "loc": { "start": { - "line": 40, + "line": 37, "column": 22 }, "end": { - "line": 40, + "line": 37, "column": 24 } } @@ -7538,15 +6969,15 @@ "binop": null, "updateContext": null }, - "start": 992, - "end": 993, + "start": 923, + "end": 924, "loc": { "start": { - "line": 40, + "line": 37, "column": 24 }, "end": { - "line": 40, + "line": 37, "column": 25 } } @@ -7564,15 +6995,15 @@ "binop": null }, "value": "isPartial", - "start": 993, - "end": 1002, + "start": 924, + "end": 933, "loc": { "start": { - "line": 40, + "line": 37, "column": 25 }, "end": { - "line": 40, + "line": 37, "column": 34 } } @@ -7589,15 +7020,15 @@ "postfix": false, "binop": null }, - "start": 1002, - "end": 1003, + "start": 933, + "end": 934, "loc": { "start": { - "line": 40, + "line": 37, "column": 34 }, "end": { - "line": 40, + "line": 37, "column": 35 } } @@ -7614,15 +7045,15 @@ "postfix": false, "binop": null }, - "start": 1003, - "end": 1004, + "start": 934, + "end": 935, "loc": { "start": { - "line": 40, + "line": 37, "column": 35 }, "end": { - "line": 40, + "line": 37, "column": 36 } } @@ -7639,15 +7070,15 @@ "postfix": false, "binop": null }, - "start": 1004, - "end": 1005, + "start": 935, + "end": 936, "loc": { "start": { - "line": 40, + "line": 37, "column": 36 }, "end": { - "line": 40, + "line": 37, "column": 37 } } @@ -7664,15 +7095,15 @@ "postfix": false, "binop": null }, - "start": 1006, - "end": 1007, + "start": 937, + "end": 938, "loc": { "start": { - "line": 40, + "line": 37, "column": 38 }, "end": { - "line": 40, + "line": 37, "column": 39 } } @@ -7692,15 +7123,15 @@ "updateContext": null }, "value": "const", - "start": 1014, - "end": 1019, + "start": 945, + "end": 950, "loc": { "start": { - "line": 41, + "line": 38, "column": 6 }, "end": { - "line": 41, + "line": 38, "column": 11 } } @@ -7718,15 +7149,15 @@ "binop": null }, "value": "lcs", - "start": 1020, - "end": 1023, + "start": 951, + "end": 954, "loc": { "start": { - "line": 41, + "line": 38, "column": 12 }, "end": { - "line": 41, + "line": 38, "column": 15 } } @@ -7745,15 +7176,15 @@ "updateContext": null }, "value": "=", - "start": 1024, - "end": 1025, + "start": 955, + "end": 956, "loc": { "start": { - "line": 41, + "line": 38, "column": 16 }, "end": { - "line": 41, + "line": 38, "column": 17 } } @@ -7773,15 +7204,15 @@ "updateContext": null }, "value": "new", - "start": 1026, - "end": 1029, + "start": 957, + "end": 960, "loc": { "start": { - "line": 41, + "line": 38, "column": 18 }, "end": { - "line": 41, + "line": 38, "column": 21 } } @@ -7799,15 +7230,15 @@ "binop": null }, "value": "LongCountWildcard", - "start": 1030, - "end": 1047, + "start": 961, + "end": 978, "loc": { "start": { - "line": 41, + "line": 38, "column": 22 }, "end": { - "line": 41, + "line": 38, "column": 39 } } @@ -7824,15 +7255,15 @@ "postfix": false, "binop": null }, - "start": 1047, - "end": 1048, + "start": 978, + "end": 979, "loc": { "start": { - "line": 41, + "line": 38, "column": 39 }, "end": { - "line": 41, + "line": 38, "column": 40 } } @@ -7852,15 +7283,15 @@ "updateContext": null }, "value": "this", - "start": 1048, - "end": 1052, + "start": 979, + "end": 983, "loc": { "start": { - "line": 41, + "line": 38, "column": 40 }, "end": { - "line": 41, + "line": 38, "column": 44 } } @@ -7878,15 +7309,15 @@ "binop": null, "updateContext": null }, - "start": 1052, - "end": 1053, + "start": 983, + "end": 984, "loc": { "start": { - "line": 41, + "line": 38, "column": 44 }, "end": { - "line": 41, + "line": 38, "column": 45 } } @@ -7904,15 +7335,15 @@ "binop": null }, "value": "fullDate", - "start": 1053, - "end": 1061, + "start": 984, + "end": 992, "loc": { "start": { - "line": 41, + "line": 38, "column": 45 }, "end": { - "line": 41, + "line": 38, "column": 53 } } @@ -7930,15 +7361,15 @@ "binop": null, "updateContext": null }, - "start": 1061, - "end": 1062, + "start": 992, + "end": 993, "loc": { "start": { - "line": 41, + "line": 38, "column": 53 }, "end": { - "line": 41, + "line": 38, "column": 54 } } @@ -7956,15 +7387,15 @@ "binop": null }, "value": "lc", - "start": 1062, - "end": 1064, + "start": 993, + "end": 995, "loc": { "start": { - "line": 41, + "line": 38, "column": 54 }, "end": { - "line": 41, + "line": 38, "column": 56 } } @@ -7981,15 +7412,15 @@ "postfix": false, "binop": null }, - "start": 1064, - "end": 1065, + "start": 995, + "end": 996, "loc": { "start": { - "line": 41, + "line": 38, "column": 56 }, "end": { - "line": 41, + "line": 38, "column": 57 } } @@ -8007,15 +7438,15 @@ "binop": null, "updateContext": null }, - "start": 1065, - "end": 1066, + "start": 996, + "end": 997, "loc": { "start": { - "line": 41, + "line": 38, "column": 57 }, "end": { - "line": 41, + "line": 38, "column": 58 } } @@ -8033,15 +7464,15 @@ "binop": null }, "value": "run", - "start": 1066, - "end": 1069, + "start": 997, + "end": 1000, "loc": { "start": { - "line": 41, + "line": 38, "column": 58 }, "end": { - "line": 41, + "line": 38, "column": 61 } } @@ -8058,15 +7489,15 @@ "postfix": false, "binop": null }, - "start": 1069, - "end": 1070, + "start": 1000, + "end": 1001, "loc": { "start": { - "line": 41, + "line": 38, "column": 61 }, "end": { - "line": 41, + "line": 38, "column": 62 } } @@ -8083,15 +7514,15 @@ "postfix": false, "binop": null }, - "start": 1070, - "end": 1071, + "start": 1001, + "end": 1002, "loc": { "start": { - "line": 41, + "line": 38, "column": 62 }, "end": { - "line": 41, + "line": 38, "column": 63 } } @@ -8109,15 +7540,15 @@ "binop": null, "updateContext": null }, - "start": 1071, - "end": 1072, + "start": 1002, + "end": 1003, "loc": { "start": { - "line": 41, + "line": 38, "column": 63 }, "end": { - "line": 41, + "line": 38, "column": 64 } } @@ -8137,15 +7568,15 @@ "updateContext": null }, "value": "const", - "start": 1080, - "end": 1085, + "start": 1011, + "end": 1016, "loc": { "start": { - "line": 43, + "line": 40, "column": 6 }, "end": { - "line": 43, + "line": 40, "column": 11 } } @@ -8163,15 +7594,15 @@ "binop": null }, "value": "mappedLcs", - "start": 1086, - "end": 1095, + "start": 1017, + "end": 1026, "loc": { "start": { - "line": 43, + "line": 40, "column": 12 }, "end": { - "line": 43, + "line": 40, "column": 21 } } @@ -8190,15 +7621,15 @@ "updateContext": null }, "value": "=", - "start": 1096, - "end": 1097, + "start": 1027, + "end": 1028, "loc": { "start": { - "line": 43, + "line": 40, "column": 22 }, "end": { - "line": 43, + "line": 40, "column": 23 } } @@ -8216,15 +7647,15 @@ "binop": null }, "value": "lcs", - "start": 1098, - "end": 1101, + "start": 1029, + "end": 1032, "loc": { "start": { - "line": 43, + "line": 40, "column": 24 }, "end": { - "line": 43, + "line": 40, "column": 27 } } @@ -8242,15 +7673,15 @@ "binop": null, "updateContext": null }, - "start": 1101, - "end": 1102, + "start": 1032, + "end": 1033, "loc": { "start": { - "line": 43, + "line": 40, "column": 27 }, "end": { - "line": 43, + "line": 40, "column": 28 } } @@ -8268,15 +7699,15 @@ "binop": null }, "value": "map", - "start": 1102, - "end": 1105, + "start": 1033, + "end": 1036, "loc": { "start": { - "line": 43, + "line": 40, "column": 28 }, "end": { - "line": 43, + "line": 40, "column": 31 } } @@ -8293,43 +7724,16 @@ "postfix": false, "binop": null }, - "start": 1105, - "end": 1106, + "start": 1036, + "end": 1037, "loc": { "start": { - "line": 43, + "line": 40, "column": 31 }, "end": { - "line": 43, - "column": 32 - } - } - }, - { - "type": { - "label": "function", - "keyword": "function", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "function", - "start": 1106, - "end": 1114, - "loc": { - "start": { - "line": 43, + "line": 40, "column": 32 - }, - "end": { - "line": 43, - "column": 40 } } }, @@ -8345,16 +7749,16 @@ "postfix": false, "binop": null }, - "start": 1115, - "end": 1116, + "start": 1037, + "end": 1038, "loc": { "start": { - "line": 43, - "column": 41 + "line": 40, + "column": 32 }, "end": { - "line": 43, - "column": 42 + "line": 40, + "column": 33 } } }, @@ -8371,16 +7775,16 @@ "binop": null }, "value": "potentialLc", - "start": 1116, - "end": 1127, + "start": 1038, + "end": 1049, "loc": { "start": { - "line": 43, - "column": 42 + "line": 40, + "column": 33 }, "end": { - "line": 43, - "column": 53 + "line": 40, + "column": 44 } } }, @@ -8396,48 +7800,22 @@ "postfix": false, "binop": null }, - "start": 1127, - "end": 1128, - "loc": { - "start": { - "line": 43, - "column": 53 - }, - "end": { - "line": 43, - "column": 54 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1129, - "end": 1130, + "start": 1049, + "end": 1050, "loc": { "start": { - "line": 43, - "column": 55 + "line": 40, + "column": 44 }, "end": { - "line": 43, - "column": 56 + "line": 40, + "column": 45 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -8448,17 +7826,16 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 1141, - "end": 1147, + "start": 1051, + "end": 1053, "loc": { "start": { - "line": 44, - "column": 10 + "line": 40, + "column": 46 }, "end": { - "line": 44, - "column": 16 + "line": 40, + "column": 48 } } }, @@ -8475,16 +7852,16 @@ "binop": null }, "value": "potentialLc", - "start": 1148, - "end": 1159, + "start": 1054, + "end": 1065, "loc": { "start": { - "line": 44, - "column": 17 + "line": 40, + "column": 49 }, "end": { - "line": 44, - "column": 28 + "line": 40, + "column": 60 } } }, @@ -8501,16 +7878,16 @@ "binop": null, "updateContext": null }, - "start": 1159, - "end": 1160, + "start": 1065, + "end": 1066, "loc": { "start": { - "line": 44, - "column": 28 + "line": 40, + "column": 60 }, "end": { - "line": 44, - "column": 29 + "line": 40, + "column": 61 } } }, @@ -8518,58 +7895,7 @@ "type": { "label": "name", "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "buildFullDate", - "start": 1160, - "end": 1173, - "loc": { - "start": { - "line": 44, - "column": 29 - }, - "end": { - "line": 44, - "column": 42 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1173, - "end": 1174, - "loc": { - "start": { - "line": 44, - "column": 42 - }, - "end": { - "line": 44, - "column": 43 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8577,48 +7903,48 @@ "postfix": false, "binop": null }, - "start": 1174, - "end": 1175, + "value": "buildFullDate", + "start": 1066, + "end": 1079, "loc": { "start": { - "line": 44, - "column": 43 + "line": 40, + "column": 61 }, "end": { - "line": 44, - "column": 44 + "line": 40, + "column": 74 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1175, - "end": 1176, + "start": 1079, + "end": 1080, "loc": { "start": { - "line": 44, - "column": 44 + "line": 40, + "column": 74 }, "end": { - "line": 44, - "column": 45 + "line": 40, + "column": 75 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -8628,16 +7954,16 @@ "postfix": false, "binop": null }, - "start": 1185, - "end": 1186, + "start": 1080, + "end": 1081, "loc": { "start": { - "line": 45, - "column": 8 + "line": 40, + "column": 75 }, "end": { - "line": 45, - "column": 9 + "line": 40, + "column": 76 } } }, @@ -8653,16 +7979,16 @@ "postfix": false, "binop": null }, - "start": 1193, - "end": 1194, + "start": 1081, + "end": 1082, "loc": { "start": { - "line": 46, - "column": 6 + "line": 40, + "column": 76 }, "end": { - "line": 46, - "column": 7 + "line": 40, + "column": 77 } } }, @@ -8679,16 +8005,16 @@ "binop": null, "updateContext": null }, - "start": 1194, - "end": 1195, + "start": 1082, + "end": 1083, "loc": { "start": { - "line": 46, - "column": 7 + "line": 40, + "column": 77 }, "end": { - "line": 46, - "column": 8 + "line": 40, + "column": 78 } } }, @@ -8707,15 +8033,15 @@ "updateContext": null }, "value": "const", - "start": 1202, - "end": 1207, + "start": 1090, + "end": 1095, "loc": { "start": { - "line": 47, + "line": 41, "column": 6 }, "end": { - "line": 47, + "line": 41, "column": 11 } } @@ -8733,15 +8059,15 @@ "binop": null }, "value": "flatMappedLcs", - "start": 1208, - "end": 1221, + "start": 1096, + "end": 1109, "loc": { "start": { - "line": 47, + "line": 41, "column": 12 }, "end": { - "line": 47, + "line": 41, "column": 25 } } @@ -8760,15 +8086,15 @@ "updateContext": null }, "value": "=", - "start": 1222, - "end": 1223, + "start": 1110, + "end": 1111, "loc": { "start": { - "line": 47, + "line": 41, "column": 26 }, "end": { - "line": 47, + "line": 41, "column": 27 } } @@ -8786,15 +8112,15 @@ "binop": null }, "value": "mappedLcs", - "start": 1224, - "end": 1233, + "start": 1112, + "end": 1121, "loc": { "start": { - "line": 47, + "line": 41, "column": 28 }, "end": { - "line": 47, + "line": 41, "column": 37 } } @@ -8812,15 +8138,15 @@ "binop": null, "updateContext": null }, - "start": 1233, - "end": 1234, + "start": 1121, + "end": 1122, "loc": { "start": { - "line": 47, + "line": 41, "column": 37 }, "end": { - "line": 47, + "line": 41, "column": 38 } } @@ -8838,15 +8164,15 @@ "binop": null }, "value": "flatMap", - "start": 1234, - "end": 1241, + "start": 1122, + "end": 1129, "loc": { "start": { - "line": 47, + "line": 41, "column": 38 }, "end": { - "line": 47, + "line": 41, "column": 45 } } @@ -8863,15 +8189,15 @@ "postfix": false, "binop": null }, - "start": 1241, - "end": 1242, + "start": 1129, + "end": 1130, "loc": { "start": { - "line": 47, + "line": 41, "column": 45 }, "end": { - "line": 47, + "line": 41, "column": 46 } } @@ -8888,15 +8214,15 @@ "postfix": false, "binop": null }, - "start": 1251, - "end": 1252, + "start": 1139, + "end": 1140, "loc": { "start": { - "line": 48, + "line": 42, "column": 8 }, "end": { - "line": 48, + "line": 42, "column": 9 } } @@ -8914,15 +8240,15 @@ "binop": null }, "value": "fullDate", - "start": 1252, - "end": 1260, + "start": 1140, + "end": 1148, "loc": { "start": { - "line": 48, + "line": 42, "column": 9 }, "end": { - "line": 48, + "line": 42, "column": 17 } } @@ -8939,15 +8265,15 @@ "postfix": false, "binop": null }, - "start": 1260, - "end": 1261, + "start": 1148, + "end": 1149, "loc": { "start": { - "line": 48, + "line": 42, "column": 17 }, "end": { - "line": 48, + "line": 42, "column": 18 } } @@ -8965,15 +8291,15 @@ "binop": null, "updateContext": null }, - "start": 1262, - "end": 1264, + "start": 1150, + "end": 1152, "loc": { "start": { - "line": 48, + "line": 42, "column": 19 }, "end": { - "line": 48, + "line": 42, "column": 21 } } @@ -8990,15 +8316,15 @@ "postfix": false, "binop": null }, - "start": 1265, - "end": 1266, + "start": 1153, + "end": 1154, "loc": { "start": { - "line": 48, + "line": 42, "column": 22 }, "end": { - "line": 48, + "line": 42, "column": 23 } } @@ -9018,15 +8344,15 @@ "updateContext": null }, "value": "this", - "start": 1277, - "end": 1281, + "start": 1165, + "end": 1169, "loc": { "start": { - "line": 49, + "line": 43, "column": 10 }, "end": { - "line": 49, + "line": 43, "column": 14 } } @@ -9044,15 +8370,15 @@ "binop": null, "updateContext": null }, - "start": 1281, - "end": 1282, + "start": 1169, + "end": 1170, "loc": { "start": { - "line": 49, + "line": 43, "column": 14 }, "end": { - "line": 49, + "line": 43, "column": 15 } } @@ -9070,15 +8396,15 @@ "binop": null }, "value": "fullDate", - "start": 1282, - "end": 1290, + "start": 1170, + "end": 1178, "loc": { "start": { - "line": 49, + "line": 43, "column": 15 }, "end": { - "line": 49, + "line": 43, "column": 23 } } @@ -9096,15 +8422,15 @@ "binop": null, "updateContext": null }, - "start": 1290, - "end": 1291, + "start": 1178, + "end": 1179, "loc": { "start": { - "line": 49, + "line": 43, "column": 23 }, "end": { - "line": 49, + "line": 43, "column": 24 } } @@ -9122,15 +8448,15 @@ "binop": null }, "value": "cr", - "start": 1291, - "end": 1293, + "start": 1179, + "end": 1181, "loc": { "start": { - "line": 49, + "line": 43, "column": 24 }, "end": { - "line": 49, + "line": 43, "column": 26 } } @@ -9148,15 +8474,15 @@ "binop": null, "updateContext": null }, - "start": 1293, - "end": 1294, + "start": 1181, + "end": 1182, "loc": { "start": { - "line": 49, + "line": 43, "column": 26 }, "end": { - "line": 49, + "line": 43, "column": 27 } } @@ -9174,15 +8500,15 @@ "binop": null }, "value": "isPartial", - "start": 1294, - "end": 1303, + "start": 1182, + "end": 1191, "loc": { "start": { - "line": 49, + "line": 43, "column": 27 }, "end": { - "line": 49, + "line": 43, "column": 36 } } @@ -9199,15 +8525,15 @@ "postfix": false, "binop": null }, - "start": 1303, - "end": 1304, + "start": 1191, + "end": 1192, "loc": { "start": { - "line": 49, + "line": 43, "column": 36 }, "end": { - "line": 49, + "line": 43, "column": 37 } } @@ -9224,15 +8550,15 @@ "postfix": false, "binop": null }, - "start": 1304, - "end": 1305, + "start": 1192, + "end": 1193, "loc": { "start": { - "line": 49, + "line": 43, "column": 37 }, "end": { - "line": 49, + "line": 43, "column": 38 } } @@ -9250,15 +8576,15 @@ "binop": null, "updateContext": null }, - "start": 1318, - "end": 1319, + "start": 1206, + "end": 1207, "loc": { "start": { - "line": 50, + "line": 44, "column": 12 }, "end": { - "line": 50, + "line": 44, "column": 13 } } @@ -9278,15 +8604,15 @@ "updateContext": null }, "value": "new", - "start": 1320, - "end": 1323, + "start": 1208, + "end": 1211, "loc": { "start": { - "line": 50, + "line": 44, "column": 14 }, "end": { - "line": 50, + "line": 44, "column": 17 } } @@ -9304,15 +8630,15 @@ "binop": null }, "value": "CalendarRoundWildcard", - "start": 1324, - "end": 1345, + "start": 1212, + "end": 1233, "loc": { "start": { - "line": 50, + "line": 44, "column": 18 }, "end": { - "line": 50, + "line": 44, "column": 39 } } @@ -9329,15 +8655,15 @@ "postfix": false, "binop": null }, - "start": 1345, - "end": 1346, + "start": 1233, + "end": 1234, "loc": { "start": { - "line": 50, + "line": 44, "column": 39 }, "end": { - "line": 50, + "line": 44, "column": 40 } } @@ -9357,15 +8683,15 @@ "updateContext": null }, "value": "this", - "start": 1346, - "end": 1350, + "start": 1234, + "end": 1238, "loc": { "start": { - "line": 50, + "line": 44, "column": 40 }, "end": { - "line": 50, + "line": 44, "column": 44 } } @@ -9383,15 +8709,15 @@ "binop": null, "updateContext": null }, - "start": 1350, - "end": 1351, + "start": 1238, + "end": 1239, "loc": { "start": { - "line": 50, + "line": 44, "column": 44 }, "end": { - "line": 50, + "line": 44, "column": 45 } } @@ -9409,15 +8735,15 @@ "binop": null }, "value": "fullDate", - "start": 1351, - "end": 1359, + "start": 1239, + "end": 1247, "loc": { "start": { - "line": 50, + "line": 44, "column": 45 }, "end": { - "line": 50, + "line": 44, "column": 53 } } @@ -9435,15 +8761,15 @@ "binop": null, "updateContext": null }, - "start": 1359, - "end": 1360, + "start": 1247, + "end": 1248, "loc": { "start": { - "line": 50, + "line": 44, "column": 53 }, "end": { - "line": 50, + "line": 44, "column": 54 } } @@ -9461,15 +8787,15 @@ "binop": null }, "value": "cr", - "start": 1360, - "end": 1362, + "start": 1248, + "end": 1250, "loc": { "start": { - "line": 50, + "line": 44, "column": 54 }, "end": { - "line": 50, + "line": 44, "column": 56 } } @@ -9486,15 +8812,15 @@ "postfix": false, "binop": null }, - "start": 1362, - "end": 1363, + "start": 1250, + "end": 1251, "loc": { "start": { - "line": 50, + "line": 44, "column": 56 }, "end": { - "line": 50, + "line": 44, "column": 57 } } @@ -9512,15 +8838,15 @@ "binop": null, "updateContext": null }, - "start": 1363, - "end": 1364, + "start": 1251, + "end": 1252, "loc": { "start": { - "line": 50, + "line": 44, "column": 57 }, "end": { - "line": 50, + "line": 44, "column": 58 } } @@ -9538,15 +8864,15 @@ "binop": null }, "value": "run", - "start": 1364, - "end": 1367, + "start": 1252, + "end": 1255, "loc": { "start": { - "line": 50, + "line": 44, "column": 58 }, "end": { - "line": 50, + "line": 44, "column": 61 } } @@ -9563,15 +8889,15 @@ "postfix": false, "binop": null }, - "start": 1367, - "end": 1368, + "start": 1255, + "end": 1256, "loc": { "start": { - "line": 50, + "line": 44, "column": 61 }, "end": { - "line": 50, + "line": 44, "column": 62 } } @@ -9588,15 +8914,15 @@ "postfix": false, "binop": null }, - "start": 1368, - "end": 1369, + "start": 1256, + "end": 1257, "loc": { "start": { - "line": 50, + "line": 44, "column": 62 }, "end": { - "line": 50, + "line": 44, "column": 63 } } @@ -9614,15 +8940,15 @@ "binop": null, "updateContext": null }, - "start": 1382, - "end": 1383, + "start": 1270, + "end": 1271, "loc": { "start": { - "line": 51, + "line": 45, "column": 12 }, "end": { - "line": 51, + "line": 45, "column": 13 } } @@ -9640,15 +8966,15 @@ "binop": null, "updateContext": null }, - "start": 1384, - "end": 1385, + "start": 1272, + "end": 1273, "loc": { "start": { - "line": 51, + "line": 45, "column": 14 }, "end": { - "line": 51, + "line": 45, "column": 15 } } @@ -9668,15 +8994,15 @@ "updateContext": null }, "value": "this", - "start": 1385, - "end": 1389, + "start": 1273, + "end": 1277, "loc": { "start": { - "line": 51, + "line": 45, "column": 15 }, "end": { - "line": 51, + "line": 45, "column": 19 } } @@ -9694,15 +9020,15 @@ "binop": null, "updateContext": null }, - "start": 1389, - "end": 1390, + "start": 1277, + "end": 1278, "loc": { "start": { - "line": 51, + "line": 45, "column": 19 }, "end": { - "line": 51, + "line": 45, "column": 20 } } @@ -9720,15 +9046,15 @@ "binop": null }, "value": "fullDate", - "start": 1390, - "end": 1398, + "start": 1278, + "end": 1286, "loc": { "start": { - "line": 51, + "line": 45, "column": 20 }, "end": { - "line": 51, + "line": 45, "column": 28 } } @@ -9746,15 +9072,15 @@ "binop": null, "updateContext": null }, - "start": 1398, - "end": 1399, + "start": 1286, + "end": 1287, "loc": { "start": { - "line": 51, + "line": 45, "column": 28 }, "end": { - "line": 51, + "line": 45, "column": 29 } } @@ -9772,15 +9098,15 @@ "binop": null }, "value": "cr", - "start": 1399, - "end": 1401, + "start": 1287, + "end": 1289, "loc": { "start": { - "line": 51, + "line": 45, "column": 29 }, "end": { - "line": 51, + "line": 45, "column": 31 } } @@ -9798,15 +9124,15 @@ "binop": null, "updateContext": null }, - "start": 1401, - "end": 1402, + "start": 1289, + "end": 1290, "loc": { "start": { - "line": 51, + "line": 45, "column": 31 }, "end": { - "line": 51, + "line": 45, "column": 32 } } @@ -9823,15 +9149,15 @@ "postfix": false, "binop": null }, - "start": 1411, - "end": 1412, + "start": 1299, + "end": 1300, "loc": { "start": { - "line": 52, + "line": 46, "column": 8 }, "end": { - "line": 52, + "line": 46, "column": 9 } } @@ -9849,15 +9175,15 @@ "binop": null, "updateContext": null }, - "start": 1412, - "end": 1413, + "start": 1300, + "end": 1301, "loc": { "start": { - "line": 52, + "line": 46, "column": 9 }, "end": { - "line": 52, + "line": 46, "column": 10 } } @@ -9875,15 +9201,15 @@ "binop": null }, "value": "map", - "start": 1413, - "end": 1416, + "start": 1301, + "end": 1304, "loc": { "start": { - "line": 52, + "line": 46, "column": 10 }, "end": { - "line": 52, + "line": 46, "column": 13 } } @@ -9900,15 +9226,15 @@ "postfix": false, "binop": null }, - "start": 1416, - "end": 1417, + "start": 1304, + "end": 1305, "loc": { "start": { - "line": 52, + "line": 46, "column": 13 }, "end": { - "line": 52, + "line": 46, "column": 14 } } @@ -9925,15 +9251,15 @@ "postfix": false, "binop": null }, - "start": 1428, - "end": 1429, + "start": 1316, + "end": 1317, "loc": { "start": { - "line": 53, + "line": 47, "column": 10 }, "end": { - "line": 53, + "line": 47, "column": 11 } } @@ -9951,15 +9277,15 @@ "binop": null }, "value": "cr", - "start": 1429, - "end": 1431, + "start": 1317, + "end": 1319, "loc": { "start": { - "line": 53, + "line": 47, "column": 11 }, "end": { - "line": 53, + "line": 47, "column": 13 } } @@ -9976,15 +9302,15 @@ "postfix": false, "binop": null }, - "start": 1431, - "end": 1432, + "start": 1319, + "end": 1320, "loc": { "start": { - "line": 53, + "line": 47, "column": 13 }, "end": { - "line": 53, + "line": 47, "column": 14 } } @@ -10002,15 +9328,15 @@ "binop": null, "updateContext": null }, - "start": 1433, - "end": 1435, + "start": 1321, + "end": 1323, "loc": { "start": { - "line": 53, + "line": 47, "column": 15 }, "end": { - "line": 53, + "line": 47, "column": 17 } } @@ -10028,15 +9354,15 @@ "binop": null, "updateContext": null }, - "start": 1436, - "end": 1437, + "start": 1324, + "end": 1325, "loc": { "start": { - "line": 53, + "line": 47, "column": 18 }, "end": { - "line": 53, + "line": 47, "column": 19 } } @@ -10054,15 +9380,15 @@ "binop": null, "updateContext": null }, - "start": 1437, - "end": 1438, + "start": 1325, + "end": 1326, "loc": { "start": { - "line": 53, + "line": 47, "column": 19 }, "end": { - "line": 53, + "line": 47, "column": 20 } } @@ -10080,15 +9406,15 @@ "binop": null, "updateContext": null }, - "start": 1438, - "end": 1439, + "start": 1326, + "end": 1327, "loc": { "start": { - "line": 53, + "line": 47, "column": 20 }, "end": { - "line": 53, + "line": 47, "column": 21 } } @@ -10106,15 +9432,15 @@ "binop": null }, "value": "concat", - "start": 1439, - "end": 1445, + "start": 1327, + "end": 1333, "loc": { "start": { - "line": 53, + "line": 47, "column": 21 }, "end": { - "line": 53, + "line": 47, "column": 27 } } @@ -10131,15 +9457,15 @@ "postfix": false, "binop": null }, - "start": 1445, - "end": 1446, + "start": 1333, + "end": 1334, "loc": { "start": { - "line": 53, + "line": 47, "column": 27 }, "end": { - "line": 53, + "line": 47, "column": 28 } } @@ -10157,15 +9483,15 @@ "binop": null }, "value": "cr", - "start": 1446, - "end": 1448, + "start": 1334, + "end": 1336, "loc": { "start": { - "line": 53, + "line": 47, "column": 28 }, "end": { - "line": 53, + "line": 47, "column": 30 } } @@ -10183,15 +9509,15 @@ "binop": null, "updateContext": null }, - "start": 1448, - "end": 1449, + "start": 1336, + "end": 1337, "loc": { "start": { - "line": 53, + "line": 47, "column": 30 }, "end": { - "line": 53, + "line": 47, "column": 31 } } @@ -10209,15 +9535,15 @@ "binop": null }, "value": "fullDate", - "start": 1450, - "end": 1458, + "start": 1338, + "end": 1346, "loc": { "start": { - "line": 53, + "line": 47, "column": 32 }, "end": { - "line": 53, + "line": 47, "column": 40 } } @@ -10234,15 +9560,15 @@ "postfix": false, "binop": null }, - "start": 1458, - "end": 1459, + "start": 1346, + "end": 1347, "loc": { "start": { - "line": 53, + "line": 47, "column": 40 }, "end": { - "line": 53, + "line": 47, "column": 41 } } @@ -10259,15 +9585,15 @@ "postfix": false, "binop": null }, - "start": 1468, - "end": 1469, + "start": 1356, + "end": 1357, "loc": { "start": { - "line": 54, + "line": 48, "column": 8 }, "end": { - "line": 54, + "line": 48, "column": 9 } } @@ -10284,15 +9610,15 @@ "postfix": false, "binop": null }, - "start": 1476, - "end": 1477, + "start": 1364, + "end": 1365, "loc": { "start": { - "line": 55, + "line": 49, "column": 6 }, "end": { - "line": 55, + "line": 49, "column": 7 } } @@ -10310,15 +9636,15 @@ "binop": null, "updateContext": null }, - "start": 1477, - "end": 1478, + "start": 1365, + "end": 1366, "loc": { "start": { - "line": 55, + "line": 49, "column": 7 }, "end": { - "line": 55, + "line": 49, "column": 8 } } @@ -10338,15 +9664,15 @@ "updateContext": null }, "value": "const", - "start": 1485, - "end": 1490, + "start": 1373, + "end": 1378, "loc": { "start": { - "line": 56, + "line": 50, "column": 6 }, "end": { - "line": 56, + "line": 50, "column": 11 } } @@ -10364,15 +9690,15 @@ "binop": null }, "value": "filteredMappedLcs", - "start": 1491, - "end": 1508, + "start": 1379, + "end": 1396, "loc": { "start": { - "line": 56, + "line": 50, "column": 12 }, "end": { - "line": 56, + "line": 50, "column": 29 } } @@ -10391,15 +9717,15 @@ "updateContext": null }, "value": "=", - "start": 1509, - "end": 1510, + "start": 1397, + "end": 1398, "loc": { "start": { - "line": 56, + "line": 50, "column": 30 }, "end": { - "line": 56, + "line": 50, "column": 31 } } @@ -10417,15 +9743,15 @@ "binop": null }, "value": "flatMappedLcs", - "start": 1511, - "end": 1524, + "start": 1399, + "end": 1412, "loc": { "start": { - "line": 56, + "line": 50, "column": 32 }, "end": { - "line": 56, + "line": 50, "column": 45 } } @@ -10443,15 +9769,15 @@ "binop": null, "updateContext": null }, - "start": 1524, - "end": 1525, + "start": 1412, + "end": 1413, "loc": { "start": { - "line": 56, + "line": 50, "column": 45 }, "end": { - "line": 56, + "line": 50, "column": 46 } } @@ -10469,15 +9795,15 @@ "binop": null }, "value": "filter", - "start": 1525, - "end": 1531, + "start": 1413, + "end": 1419, "loc": { "start": { - "line": 56, + "line": 50, "column": 46 }, "end": { - "line": 56, + "line": 50, "column": 52 } } @@ -10494,15 +9820,15 @@ "postfix": false, "binop": null }, - "start": 1531, - "end": 1532, + "start": 1419, + "end": 1420, "loc": { "start": { - "line": 56, + "line": 50, "column": 52 }, "end": { - "line": 56, + "line": 50, "column": 53 } } @@ -10519,15 +9845,15 @@ "postfix": false, "binop": null }, - "start": 1541, - "end": 1542, + "start": 1429, + "end": 1430, "loc": { "start": { - "line": 57, + "line": 51, "column": 8 }, "end": { - "line": 57, + "line": 51, "column": 9 } } @@ -10545,15 +9871,15 @@ "binop": null }, "value": "pair", - "start": 1542, - "end": 1546, + "start": 1430, + "end": 1434, "loc": { "start": { - "line": 57, + "line": 51, "column": 9 }, "end": { - "line": 57, + "line": 51, "column": 13 } } @@ -10570,15 +9896,15 @@ "postfix": false, "binop": null }, - "start": 1546, - "end": 1547, + "start": 1434, + "end": 1435, "loc": { "start": { - "line": 57, + "line": 51, "column": 13 }, "end": { - "line": 57, + "line": 51, "column": 14 } } @@ -10596,15 +9922,15 @@ "binop": null, "updateContext": null }, - "start": 1548, - "end": 1550, + "start": 1436, + "end": 1438, "loc": { "start": { - "line": 57, + "line": 51, "column": 15 }, "end": { - "line": 57, + "line": 51, "column": 17 } } @@ -10622,15 +9948,15 @@ "binop": null }, "value": "pair", - "start": 1551, - "end": 1555, + "start": 1439, + "end": 1443, "loc": { "start": { - "line": 57, + "line": 51, "column": 18 }, "end": { - "line": 57, + "line": 51, "column": 22 } } @@ -10648,15 +9974,15 @@ "binop": null, "updateContext": null }, - "start": 1555, - "end": 1556, + "start": 1443, + "end": 1444, "loc": { "start": { - "line": 57, + "line": 51, "column": 22 }, "end": { - "line": 57, + "line": 51, "column": 23 } } @@ -10675,15 +10001,15 @@ "updateContext": null }, "value": 0, - "start": 1556, - "end": 1557, + "start": 1444, + "end": 1445, "loc": { "start": { - "line": 57, + "line": 51, "column": 23 }, "end": { - "line": 57, + "line": 51, "column": 24 } } @@ -10701,15 +10027,15 @@ "binop": null, "updateContext": null }, - "start": 1557, - "end": 1558, + "start": 1445, + "end": 1446, "loc": { "start": { - "line": 57, + "line": 51, "column": 24 }, "end": { - "line": 57, + "line": 51, "column": 25 } } @@ -10727,15 +10053,15 @@ "binop": null, "updateContext": null }, - "start": 1558, - "end": 1559, + "start": 1446, + "end": 1447, "loc": { "start": { - "line": 57, + "line": 51, "column": 25 }, "end": { - "line": 57, + "line": 51, "column": 26 } } @@ -10753,15 +10079,15 @@ "binop": null }, "value": "equal", - "start": 1559, - "end": 1564, + "start": 1447, + "end": 1452, "loc": { "start": { - "line": 57, + "line": 51, "column": 26 }, "end": { - "line": 57, + "line": 51, "column": 31 } } @@ -10778,15 +10104,15 @@ "postfix": false, "binop": null }, - "start": 1564, - "end": 1565, + "start": 1452, + "end": 1453, "loc": { "start": { - "line": 57, + "line": 51, "column": 31 }, "end": { - "line": 57, + "line": 51, "column": 32 } } @@ -10804,15 +10130,15 @@ "binop": null }, "value": "pair", - "start": 1565, - "end": 1569, + "start": 1453, + "end": 1457, "loc": { "start": { - "line": 57, + "line": 51, "column": 32 }, "end": { - "line": 57, + "line": 51, "column": 36 } } @@ -10830,15 +10156,15 @@ "binop": null, "updateContext": null }, - "start": 1569, - "end": 1570, + "start": 1457, + "end": 1458, "loc": { "start": { - "line": 57, + "line": 51, "column": 36 }, "end": { - "line": 57, + "line": 51, "column": 37 } } @@ -10857,15 +10183,15 @@ "updateContext": null }, "value": 1, - "start": 1570, - "end": 1571, + "start": 1458, + "end": 1459, "loc": { "start": { - "line": 57, + "line": 51, "column": 37 }, "end": { - "line": 57, + "line": 51, "column": 38 } } @@ -10883,15 +10209,15 @@ "binop": null, "updateContext": null }, - "start": 1571, - "end": 1572, + "start": 1459, + "end": 1460, "loc": { "start": { - "line": 57, + "line": 51, "column": 38 }, "end": { - "line": 57, + "line": 51, "column": 39 } } @@ -10909,15 +10235,15 @@ "binop": null, "updateContext": null }, - "start": 1572, - "end": 1573, + "start": 1460, + "end": 1461, "loc": { "start": { - "line": 57, + "line": 51, "column": 39 }, "end": { - "line": 57, + "line": 51, "column": 40 } } @@ -10935,15 +10261,15 @@ "binop": null }, "value": "cr", - "start": 1573, - "end": 1575, + "start": 1461, + "end": 1463, "loc": { "start": { - "line": 57, + "line": 51, "column": 40 }, "end": { - "line": 57, + "line": 51, "column": 42 } } @@ -10960,15 +10286,15 @@ "postfix": false, "binop": null }, - "start": 1575, - "end": 1576, + "start": 1463, + "end": 1464, "loc": { "start": { - "line": 57, + "line": 51, "column": 42 }, "end": { - "line": 57, + "line": 51, "column": 43 } } @@ -10985,15 +10311,15 @@ "postfix": false, "binop": null }, - "start": 1583, - "end": 1584, + "start": 1471, + "end": 1472, "loc": { "start": { - "line": 58, + "line": 52, "column": 6 }, "end": { - "line": 58, + "line": 52, "column": 7 } } @@ -11011,15 +10337,15 @@ "binop": null, "updateContext": null }, - "start": 1584, - "end": 1585, + "start": 1472, + "end": 1473, "loc": { "start": { - "line": 58, + "line": 52, "column": 7 }, "end": { - "line": 58, + "line": 52, "column": 8 } } @@ -11039,15 +10365,15 @@ "updateContext": null }, "value": "return", - "start": 1592, - "end": 1598, + "start": 1480, + "end": 1486, "loc": { "start": { - "line": 59, + "line": 53, "column": 6 }, "end": { - "line": 59, + "line": 53, "column": 12 } } @@ -11065,15 +10391,15 @@ "binop": null }, "value": "filteredMappedLcs", - "start": 1599, - "end": 1616, + "start": 1487, + "end": 1504, "loc": { "start": { - "line": 59, + "line": 53, "column": 13 }, "end": { - "line": 59, + "line": 53, "column": 30 } } @@ -11091,15 +10417,15 @@ "binop": null, "updateContext": null }, - "start": 1616, - "end": 1617, + "start": 1504, + "end": 1505, "loc": { "start": { - "line": 59, + "line": 53, "column": 30 }, "end": { - "line": 59, + "line": 53, "column": 31 } } @@ -11116,15 +10442,15 @@ "postfix": false, "binop": null }, - "start": 1622, - "end": 1623, + "start": 1510, + "end": 1511, "loc": { "start": { - "line": 60, + "line": 54, "column": 4 }, "end": { - "line": 60, + "line": 54, "column": 5 } } @@ -11132,15 +10458,15 @@ { "type": "CommentLine", "value": " If we have a full formed LC fullDate, and a fullDate CR, then generate the", - "start": 1628, - "end": 1705, + "start": 1516, + "end": 1593, "loc": { "start": { - "line": 61, + "line": 55, "column": 4 }, "end": { - "line": 61, + "line": 55, "column": 81 } } @@ -11148,15 +10474,15 @@ { "type": "CommentLine", "value": " CR for the LC, and compare them. The fullDate CR will either match the", - "start": 1710, - "end": 1783, + "start": 1598, + "end": 1671, "loc": { "start": { - "line": 62, + "line": 56, "column": 4 }, "end": { - "line": 62, + "line": 56, "column": 77 } } @@ -11164,15 +10490,15 @@ { "type": "CommentLine", "value": " CR for the LC or it won't.", - "start": 1788, - "end": 1817, + "start": 1676, + "end": 1705, "loc": { "start": { - "line": 63, + "line": 57, "column": 4 }, "end": { - "line": 63, + "line": 57, "column": 33 } } @@ -11192,15 +10518,15 @@ "updateContext": null }, "value": "const", - "start": 1822, - "end": 1827, + "start": 1710, + "end": 1715, "loc": { "start": { - "line": 64, + "line": 58, "column": 4 }, "end": { - "line": 64, + "line": 58, "column": 9 } } @@ -11218,15 +10544,15 @@ "binop": null }, "value": "staticCr", - "start": 1828, - "end": 1836, + "start": 1716, + "end": 1724, "loc": { "start": { - "line": 64, + "line": 58, "column": 10 }, "end": { - "line": 64, + "line": 58, "column": 18 } } @@ -11245,15 +10571,15 @@ "updateContext": null }, "value": "=", - "start": 1837, - "end": 1838, + "start": 1725, + "end": 1726, "loc": { "start": { - "line": 64, + "line": 58, "column": 19 }, "end": { - "line": 64, + "line": 58, "column": 20 } } @@ -11273,15 +10599,15 @@ "updateContext": null }, "value": "this", - "start": 1839, - "end": 1843, + "start": 1727, + "end": 1731, "loc": { "start": { - "line": 64, + "line": 58, "column": 21 }, "end": { - "line": 64, + "line": 58, "column": 25 } } @@ -11299,15 +10625,15 @@ "binop": null, "updateContext": null }, - "start": 1843, - "end": 1844, + "start": 1731, + "end": 1732, "loc": { "start": { - "line": 64, + "line": 58, "column": 25 }, "end": { - "line": 64, + "line": 58, "column": 26 } } @@ -11325,15 +10651,15 @@ "binop": null }, "value": "fullDate", - "start": 1844, - "end": 1852, + "start": 1732, + "end": 1740, "loc": { "start": { - "line": 64, + "line": 58, "column": 26 }, "end": { - "line": 64, + "line": 58, "column": 34 } } @@ -11351,15 +10677,15 @@ "binop": null, "updateContext": null }, - "start": 1852, - "end": 1853, + "start": 1740, + "end": 1741, "loc": { "start": { - "line": 64, + "line": 58, "column": 34 }, "end": { - "line": 64, + "line": 58, "column": 35 } } @@ -11377,15 +10703,15 @@ "binop": null }, "value": "lc", - "start": 1853, - "end": 1855, + "start": 1741, + "end": 1743, "loc": { "start": { - "line": 64, + "line": 58, "column": 35 }, "end": { - "line": 64, + "line": 58, "column": 37 } } @@ -11403,15 +10729,15 @@ "binop": null, "updateContext": null }, - "start": 1855, - "end": 1856, + "start": 1743, + "end": 1744, "loc": { "start": { - "line": 64, + "line": 58, "column": 37 }, "end": { - "line": 64, + "line": 58, "column": 38 } } @@ -11429,15 +10755,15 @@ "binop": null }, "value": "buildCalendarRound", - "start": 1856, - "end": 1874, + "start": 1744, + "end": 1762, "loc": { "start": { - "line": 64, + "line": 58, "column": 38 }, "end": { - "line": 64, + "line": 58, "column": 56 } } @@ -11454,15 +10780,15 @@ "postfix": false, "binop": null }, - "start": 1874, - "end": 1875, + "start": 1762, + "end": 1763, "loc": { "start": { - "line": 64, + "line": 58, "column": 56 }, "end": { - "line": 64, + "line": 58, "column": 57 } } @@ -11479,15 +10805,15 @@ "postfix": false, "binop": null }, - "start": 1875, - "end": 1876, + "start": 1763, + "end": 1764, "loc": { "start": { - "line": 64, + "line": 58, "column": 57 }, "end": { - "line": 64, + "line": 58, "column": 58 } } @@ -11505,15 +10831,15 @@ "binop": null, "updateContext": null }, - "start": 1876, - "end": 1877, + "start": 1764, + "end": 1765, "loc": { "start": { - "line": 64, + "line": 58, "column": 58 }, "end": { - "line": 64, + "line": 58, "column": 59 } } @@ -11533,15 +10859,15 @@ "updateContext": null }, "value": "return", - "start": 1882, - "end": 1888, + "start": 1770, + "end": 1776, "loc": { "start": { - "line": 65, + "line": 59, "column": 4 }, "end": { - "line": 65, + "line": 59, "column": 10 } } @@ -11558,15 +10884,15 @@ "postfix": false, "binop": null }, - "start": 1889, - "end": 1890, + "start": 1777, + "end": 1778, "loc": { "start": { - "line": 65, + "line": 59, "column": 11 }, "end": { - "line": 65, + "line": 59, "column": 12 } } @@ -11584,15 +10910,15 @@ "binop": null }, "value": "staticCr", - "start": 1890, - "end": 1898, + "start": 1778, + "end": 1786, "loc": { "start": { - "line": 65, + "line": 59, "column": 12 }, "end": { - "line": 65, + "line": 59, "column": 20 } } @@ -11610,15 +10936,15 @@ "binop": null, "updateContext": null }, - "start": 1898, - "end": 1899, + "start": 1786, + "end": 1787, "loc": { "start": { - "line": 65, + "line": 59, "column": 20 }, "end": { - "line": 65, + "line": 59, "column": 21 } } @@ -11636,15 +10962,15 @@ "binop": null }, "value": "match", - "start": 1899, - "end": 1904, + "start": 1787, + "end": 1792, "loc": { "start": { - "line": 65, + "line": 59, "column": 21 }, "end": { - "line": 65, + "line": 59, "column": 26 } } @@ -11661,15 +10987,15 @@ "postfix": false, "binop": null }, - "start": 1904, - "end": 1905, + "start": 1792, + "end": 1793, "loc": { "start": { - "line": 65, + "line": 59, "column": 26 }, "end": { - "line": 65, + "line": 59, "column": 27 } } @@ -11689,15 +11015,15 @@ "updateContext": null }, "value": "this", - "start": 1905, - "end": 1909, + "start": 1793, + "end": 1797, "loc": { "start": { - "line": 65, + "line": 59, "column": 27 }, "end": { - "line": 65, + "line": 59, "column": 31 } } @@ -11715,15 +11041,15 @@ "binop": null, "updateContext": null }, - "start": 1909, - "end": 1910, + "start": 1797, + "end": 1798, "loc": { "start": { - "line": 65, + "line": 59, "column": 31 }, "end": { - "line": 65, + "line": 59, "column": 32 } } @@ -11741,15 +11067,15 @@ "binop": null }, "value": "fullDate", - "start": 1910, - "end": 1918, + "start": 1798, + "end": 1806, "loc": { "start": { - "line": 65, + "line": 59, "column": 32 }, "end": { - "line": 65, + "line": 59, "column": 40 } } @@ -11767,15 +11093,15 @@ "binop": null, "updateContext": null }, - "start": 1918, - "end": 1919, + "start": 1806, + "end": 1807, "loc": { "start": { - "line": 65, + "line": 59, "column": 40 }, "end": { - "line": 65, + "line": 59, "column": 41 } } @@ -11793,15 +11119,15 @@ "binop": null }, "value": "cr", - "start": 1919, - "end": 1921, + "start": 1807, + "end": 1809, "loc": { "start": { - "line": 65, + "line": 59, "column": 41 }, "end": { - "line": 65, + "line": 59, "column": 43 } } @@ -11818,15 +11144,15 @@ "postfix": false, "binop": null }, - "start": 1921, - "end": 1922, + "start": 1809, + "end": 1810, "loc": { "start": { - "line": 65, + "line": 59, "column": 43 }, "end": { - "line": 65, + "line": 59, "column": 44 } } @@ -11843,15 +11169,15 @@ "postfix": false, "binop": null }, - "start": 1922, - "end": 1923, + "start": 1810, + "end": 1811, "loc": { "start": { - "line": 65, + "line": 59, "column": 44 }, "end": { - "line": 65, + "line": 59, "column": 45 } } @@ -11869,15 +11195,15 @@ "binop": null, "updateContext": null }, - "start": 1930, - "end": 1931, + "start": 1818, + "end": 1819, "loc": { "start": { - "line": 66, + "line": 60, "column": 6 }, "end": { - "line": 66, + "line": 60, "column": 7 } } @@ -11895,15 +11221,15 @@ "binop": null, "updateContext": null }, - "start": 1932, - "end": 1933, + "start": 1820, + "end": 1821, "loc": { "start": { - "line": 66, + "line": 60, "column": 8 }, "end": { - "line": 66, + "line": 60, "column": 9 } } @@ -11923,15 +11249,15 @@ "updateContext": null }, "value": "new", - "start": 1933, - "end": 1936, + "start": 1821, + "end": 1824, "loc": { "start": { - "line": 66, + "line": 60, "column": 9 }, "end": { - "line": 66, + "line": 60, "column": 12 } } @@ -11949,15 +11275,15 @@ "binop": null }, "value": "FullDate", - "start": 1937, - "end": 1945, + "start": 1825, + "end": 1833, "loc": { "start": { - "line": 66, + "line": 60, "column": 13 }, "end": { - "line": 66, + "line": 60, "column": 21 } } @@ -11974,15 +11300,15 @@ "postfix": false, "binop": null }, - "start": 1945, - "end": 1946, + "start": 1833, + "end": 1834, "loc": { "start": { - "line": 66, + "line": 60, "column": 21 }, "end": { - "line": 66, + "line": 60, "column": 22 } } @@ -12000,15 +11326,15 @@ "binop": null }, "value": "staticCr", - "start": 1946, - "end": 1954, + "start": 1834, + "end": 1842, "loc": { "start": { - "line": 66, + "line": 60, "column": 22 }, "end": { - "line": 66, + "line": 60, "column": 30 } } @@ -12026,15 +11352,15 @@ "binop": null, "updateContext": null }, - "start": 1954, - "end": 1955, + "start": 1842, + "end": 1843, "loc": { "start": { - "line": 66, + "line": 60, "column": 30 }, "end": { - "line": 66, + "line": 60, "column": 31 } } @@ -12054,15 +11380,15 @@ "updateContext": null }, "value": "this", - "start": 1956, - "end": 1960, + "start": 1844, + "end": 1848, "loc": { "start": { - "line": 66, + "line": 60, "column": 32 }, "end": { - "line": 66, + "line": 60, "column": 36 } } @@ -12080,15 +11406,15 @@ "binop": null, "updateContext": null }, - "start": 1960, - "end": 1961, + "start": 1848, + "end": 1849, "loc": { "start": { - "line": 66, + "line": 60, "column": 36 }, "end": { - "line": 66, + "line": 60, "column": 37 } } @@ -12106,15 +11432,15 @@ "binop": null }, "value": "fullDate", - "start": 1961, - "end": 1969, + "start": 1849, + "end": 1857, "loc": { "start": { - "line": 66, + "line": 60, "column": 37 }, "end": { - "line": 66, + "line": 60, "column": 45 } } @@ -12132,15 +11458,15 @@ "binop": null, "updateContext": null }, - "start": 1969, - "end": 1970, + "start": 1857, + "end": 1858, "loc": { "start": { - "line": 66, + "line": 60, "column": 45 }, "end": { - "line": 66, + "line": 60, "column": 46 } } @@ -12158,15 +11484,15 @@ "binop": null }, "value": "lc", - "start": 1970, - "end": 1972, + "start": 1858, + "end": 1860, "loc": { "start": { - "line": 66, + "line": 60, "column": 46 }, "end": { - "line": 66, + "line": 60, "column": 48 } } @@ -12183,15 +11509,15 @@ "postfix": false, "binop": null }, - "start": 1972, - "end": 1973, + "start": 1860, + "end": 1861, "loc": { "start": { - "line": 66, + "line": 60, "column": 48 }, "end": { - "line": 66, + "line": 60, "column": 49 } } @@ -12209,15 +11535,15 @@ "binop": null, "updateContext": null }, - "start": 1973, - "end": 1974, + "start": 1861, + "end": 1862, "loc": { "start": { - "line": 66, + "line": 60, "column": 49 }, "end": { - "line": 66, + "line": 60, "column": 50 } } @@ -12235,15 +11561,15 @@ "binop": null, "updateContext": null }, - "start": 1981, - "end": 1982, + "start": 1869, + "end": 1870, "loc": { "start": { - "line": 67, + "line": 61, "column": 6 }, "end": { - "line": 67, + "line": 61, "column": 7 } } @@ -12261,15 +11587,15 @@ "binop": null, "updateContext": null }, - "start": 1983, - "end": 1984, + "start": 1871, + "end": 1872, "loc": { "start": { - "line": 67, + "line": 61, "column": 8 }, "end": { - "line": 67, + "line": 61, "column": 9 } } @@ -12287,15 +11613,15 @@ "binop": null, "updateContext": null }, - "start": 1984, - "end": 1985, + "start": 1872, + "end": 1873, "loc": { "start": { - "line": 67, + "line": 61, "column": 9 }, "end": { - "line": 67, + "line": 61, "column": 10 } } @@ -12313,15 +11639,15 @@ "binop": null, "updateContext": null }, - "start": 1985, - "end": 1986, + "start": 1873, + "end": 1874, "loc": { "start": { - "line": 67, + "line": 61, "column": 10 }, "end": { - "line": 67, + "line": 61, "column": 11 } } @@ -12338,15 +11664,15 @@ "postfix": false, "binop": null }, - "start": 1989, - "end": 1990, + "start": 1877, + "end": 1878, "loc": { "start": { - "line": 68, + "line": 62, "column": 2 }, "end": { - "line": 68, + "line": 62, "column": 3 } } @@ -12363,176 +11689,19 @@ "postfix": false, "binop": null }, - "start": 1991, - "end": 1992, + "start": 1879, + "end": 1880, "loc": { "start": { - "line": 69, + "line": 63, "column": 0 }, "end": { - "line": 69, + "line": 63, "column": 1 } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "module", - "start": 1994, - "end": 2000, - "loc": { - "start": { - "line": 71, - "column": 0 - }, - "end": { - "line": 71, - "column": 6 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2000, - "end": 2001, - "loc": { - "start": { - "line": 71, - "column": 6 - }, - "end": { - "line": 71, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "exports", - "start": 2001, - "end": 2008, - "loc": { - "start": { - "line": 71, - "column": 7 - }, - "end": { - "line": 71, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 2009, - "end": 2010, - "loc": { - "start": { - "line": 71, - "column": 15 - }, - "end": { - "line": 71, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "FullDateWildcard", - "start": 2011, - "end": 2027, - "loc": { - "start": { - "line": 71, - "column": 17 - }, - "end": { - "line": 71, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2027, - "end": 2028, - "loc": { - "start": { - "line": 71, - "column": 33 - }, - "end": { - "line": 71, - "column": 34 - } - } - }, { "type": { "label": "eof", @@ -12546,15 +11715,15 @@ "binop": null, "updateContext": null }, - "start": 2029, - "end": 2029, + "start": 1881, + "end": 1881, "loc": { "start": { - "line": 72, + "line": 64, "column": 0 }, "end": { - "line": 72, + "line": 64, "column": 0 } } diff --git a/docs/ast/source/operations/index.js.json b/docs/ast/source/operations/index.js.json index e279967..0b6db23 100644 --- a/docs/ast/source/operations/index.js.json +++ b/docs/ast/source/operations/index.js.json @@ -1,1031 +1,448 @@ { "type": "File", "start": 0, - "end": 317, + "end": 255, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 13, + "line": 10, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 317, + "end": 255, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 13, + "line": 10, "column": 0 } }, "sourceType": "module", "body": [ { - "type": "VariableDeclaration", - "start": 15, - "end": 73, + "type": "ImportDeclaration", + "start": 0, + "end": 53, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 58 + "line": 1, + "column": 53 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 21, - "end": 72, + "type": "ImportDefaultSpecifier", + "start": 7, + "end": 24, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 57 + "line": 1, + "column": 24 } }, - "id": { + "local": { "type": "Identifier", - "start": 21, - "end": 38, + "start": 7, + "end": 24, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 23 + "line": 1, + "column": 24 }, "identifierName": "LongCountWildcard" }, - "name": "LongCountWildcard", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 41, - "end": 72, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 57 - } - }, - "callee": { - "type": "Identifier", - "start": 41, - "end": 48, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 33 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 49, - "end": 71, - "loc": { - "start": { - "line": 2, - "column": 34 - }, - "end": { - "line": 2, - "column": 56 - } - }, - "extra": { - "rawValue": "./longcount-wildcard", - "raw": "'./longcount-wildcard'" - }, - "value": "./longcount-wildcard" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } + "name": "LongCountWildcard" } } ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 74, - "end": 88, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 30, + "end": 52, + "loc": { + "start": { + "line": 1, + "column": 30 + }, + "end": { + "line": 1, + "column": 52 } - } - ] + }, + "extra": { + "rawValue": "./longcount-wildcard", + "raw": "'./longcount-wildcard'" + }, + "value": "./longcount-wildcard" + } }, { - "type": "VariableDeclaration", - "start": 89, - "end": 156, + "type": "ImportDeclaration", + "start": 54, + "end": 116, "loc": { "start": { - "line": 4, + "line": 2, "column": 0 }, "end": { - "line": 4, - "column": 67 + "line": 2, + "column": 62 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 95, - "end": 155, + "type": "ImportDefaultSpecifier", + "start": 61, + "end": 82, "loc": { "start": { - "line": 4, - "column": 6 + "line": 2, + "column": 7 }, "end": { - "line": 4, - "column": 66 + "line": 2, + "column": 28 } }, - "id": { + "local": { "type": "Identifier", - "start": 95, - "end": 116, + "start": 61, + "end": 82, "loc": { "start": { - "line": 4, - "column": 6 + "line": 2, + "column": 7 }, "end": { - "line": 4, - "column": 27 + "line": 2, + "column": 28 }, "identifierName": "CalendarRoundWildcard" }, - "name": "CalendarRoundWildcard", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 119, - "end": 155, - "loc": { - "start": { - "line": 4, - "column": 30 - }, - "end": { - "line": 4, - "column": 66 - } - }, - "callee": { - "type": "Identifier", - "start": 119, - "end": 126, - "loc": { - "start": { - "line": 4, - "column": 30 - }, - "end": { - "line": 4, - "column": 37 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 127, - "end": 154, - "loc": { - "start": { - "line": 4, - "column": 38 - }, - "end": { - "line": 4, - "column": 65 - } - }, - "extra": { - "rawValue": "./calendar-round-wildcard", - "raw": "'./calendar-round-wildcard'" - }, - "value": "./calendar-round-wildcard" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 74, - "end": 88, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } + "name": "CalendarRoundWildcard" } } ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 157, - "end": 171, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 88, + "end": 115, + "loc": { + "start": { + "line": 2, + "column": 34 + }, + "end": { + "line": 2, + "column": 61 } - } - ] + }, + "extra": { + "rawValue": "./calendar-round-wildcard", + "raw": "'./calendar-round-wildcard'" + }, + "value": "./calendar-round-wildcard" + } }, { - "type": "VariableDeclaration", - "start": 172, - "end": 228, + "type": "ImportDeclaration", + "start": 117, + "end": 168, "loc": { "start": { - "line": 6, + "line": 3, "column": 0 }, "end": { - "line": 6, - "column": 56 + "line": 3, + "column": 51 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 178, - "end": 227, + "type": "ImportDefaultSpecifier", + "start": 124, + "end": 140, "loc": { "start": { - "line": 6, - "column": 6 + "line": 3, + "column": 7 }, "end": { - "line": 6, - "column": 55 + "line": 3, + "column": 23 } }, - "id": { + "local": { "type": "Identifier", - "start": 178, - "end": 194, + "start": 124, + "end": 140, "loc": { "start": { - "line": 6, - "column": 6 + "line": 3, + "column": 7 }, "end": { - "line": 6, - "column": 22 + "line": 3, + "column": 23 }, "identifierName": "FullDateWildcard" }, - "name": "FullDateWildcard", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 197, - "end": 227, - "loc": { - "start": { - "line": 6, - "column": 25 - }, - "end": { - "line": 6, - "column": 55 - } - }, - "callee": { - "type": "Identifier", - "start": 197, - "end": 204, - "loc": { - "start": { - "line": 6, - "column": 25 - }, - "end": { - "line": 6, - "column": 32 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 205, - "end": 226, - "loc": { - "start": { - "line": 6, - "column": 33 - }, - "end": { - "line": 6, - "column": 54 - } - }, - "extra": { - "rawValue": "./fulldate-wildcard", - "raw": "'./fulldate-wildcard'" - }, - "value": "./fulldate-wildcard" - } - ] - }, - "leadingComments": null + "name": "FullDateWildcard" + } } ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 157, - "end": 171, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } + "source": { + "type": "StringLiteral", + "start": 146, + "end": 167, + "loc": { + "start": { + "line": 3, + "column": 29 + }, + "end": { + "line": 3, + "column": 50 } - } - ] + }, + "extra": { + "rawValue": "./fulldate-wildcard", + "raw": "'./fulldate-wildcard'" + }, + "value": "./fulldate-wildcard" + } }, { - "type": "ExpressionStatement", - "start": 230, - "end": 316, + "type": "ExportDefaultDeclaration", + "start": 170, + "end": 254, "loc": { "start": { - "line": 8, + "line": 5, "column": 0 }, "end": { - "line": 12, + "line": 9, "column": 2 } }, - "expression": { - "type": "AssignmentExpression", - "start": 230, - "end": 315, + "declaration": { + "type": "ObjectExpression", + "start": 185, + "end": 253, "loc": { "start": { - "line": 8, - "column": 0 + "line": 5, + "column": 15 }, "end": { - "line": 12, + "line": 9, "column": 1 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 230, - "end": 244, - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 8, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 230, - "end": 236, + "properties": [ + { + "type": "ObjectProperty", + "start": 189, + "end": 206, "loc": { "start": { - "line": 8, - "column": 0 + "line": 6, + "column": 2 }, "end": { - "line": 8, - "column": 6 + "line": 6, + "column": 19 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 189, + "end": 206, + "loc": { + "start": { + "line": 6, + "column": 2 + }, + "end": { + "line": 6, + "column": 19 + }, + "identifierName": "LongCountWildcard" + }, + "name": "LongCountWildcard" + }, + "value": { + "type": "Identifier", + "start": 189, + "end": 206, + "loc": { + "start": { + "line": 6, + "column": 2 + }, + "end": { + "line": 6, + "column": 19 + }, + "identifierName": "LongCountWildcard" }, - "identifierName": "module" + "name": "LongCountWildcard" }, - "name": "module" + "extra": { + "shorthand": true + } }, - "property": { - "type": "Identifier", - "start": 237, - "end": 244, + { + "type": "ObjectProperty", + "start": 210, + "end": 231, "loc": { "start": { - "line": 8, - "column": 7 + "line": 7, + "column": 2 }, "end": { - "line": 8, - "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "ObjectExpression", - "start": 247, - "end": 315, - "loc": { - "start": { - "line": 8, - "column": 17 + "line": 7, + "column": 23 + } }, - "end": { - "line": 12, - "column": 1 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 251, - "end": 268, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 210, + "end": 231, "loc": { "start": { - "line": 9, + "line": 7, "column": 2 }, "end": { - "line": 9, - "column": 19 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 251, - "end": 268, - "loc": { - "start": { - "line": 9, - "column": 2 - }, - "end": { - "line": 9, - "column": 19 - }, - "identifierName": "LongCountWildcard" - }, - "name": "LongCountWildcard" - }, - "value": { - "type": "Identifier", - "start": 251, - "end": 268, - "loc": { - "start": { - "line": 9, - "column": 2 - }, - "end": { - "line": 9, - "column": 19 - }, - "identifierName": "LongCountWildcard" + "line": 7, + "column": 23 }, - "name": "LongCountWildcard" + "identifierName": "CalendarRoundWildcard" }, - "extra": { - "shorthand": true - } + "name": "CalendarRoundWildcard" }, - { - "type": "ObjectProperty", - "start": 272, - "end": 293, + "value": { + "type": "Identifier", + "start": 210, + "end": 231, "loc": { "start": { - "line": 10, + "line": 7, "column": 2 }, "end": { - "line": 10, + "line": 7, "column": 23 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 272, - "end": 293, - "loc": { - "start": { - "line": 10, - "column": 2 - }, - "end": { - "line": 10, - "column": 23 - }, - "identifierName": "CalendarRoundWildcard" }, - "name": "CalendarRoundWildcard" + "identifierName": "CalendarRoundWildcard" }, - "value": { - "type": "Identifier", - "start": 272, - "end": 293, - "loc": { - "start": { - "line": 10, - "column": 2 - }, - "end": { - "line": 10, - "column": 23 - }, - "identifierName": "CalendarRoundWildcard" - }, - "name": "CalendarRoundWildcard" + "name": "CalendarRoundWildcard" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 235, + "end": 251, + "loc": { + "start": { + "line": 8, + "column": 2 }, - "extra": { - "shorthand": true + "end": { + "line": 8, + "column": 18 } }, - { - "type": "ObjectProperty", - "start": 297, - "end": 313, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 235, + "end": 251, "loc": { "start": { - "line": 11, + "line": 8, "column": 2 }, "end": { - "line": 11, + "line": 8, "column": 18 - } - }, - "method": false, - "shorthand": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 297, - "end": 313, - "loc": { - "start": { - "line": 11, - "column": 2 - }, - "end": { - "line": 11, - "column": 18 - }, - "identifierName": "FullDateWildcard" - }, - "name": "FullDateWildcard" - }, - "value": { - "type": "Identifier", - "start": 297, - "end": 313, - "loc": { - "start": { - "line": 11, - "column": 2 - }, - "end": { - "line": 11, - "column": 18 - }, - "identifierName": "FullDateWildcard" }, - "name": "FullDateWildcard" + "identifierName": "FullDateWildcard" }, - "extra": { - "shorthand": true - } - } - ] - } - } - } - ], - "directives": [] - }, - "comments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 74, - "end": 88, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 157, - "end": 171, - "loc": { - "start": { - "line": 5, - "column": 0 - }, - "end": { - "line": 5, - "column": 14 - } - } - } - ], - "tokens": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 15, - "end": 20, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "LongCountWildcard", - "start": 21, - "end": 38, - "loc": { - "start": { - "line": 2, - "column": 6 - }, - "end": { - "line": 2, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 39, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "require", - "start": 41, - "end": 48, - "loc": { - "start": { - "line": 2, - "column": 26 - }, - "end": { - "line": 2, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 48, - "end": 49, - "loc": { - "start": { - "line": 2, - "column": 33 - }, - "end": { - "line": 2, - "column": 34 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./longcount-wildcard", - "start": 49, - "end": 71, - "loc": { - "start": { - "line": 2, - "column": 34 - }, - "end": { - "line": 2, - "column": 56 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 71, - "end": 72, - "loc": { - "start": { - "line": 2, - "column": 56 - }, - "end": { - "line": 2, - "column": 57 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 72, - "end": 73, - "loc": { - "start": { - "line": 2, - "column": 57 - }, - "end": { - "line": 2, - "column": 58 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 74, - "end": 88, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 14 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 89, - "end": 94, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 5 + "name": "FullDateWildcard" + }, + "value": { + "type": "Identifier", + "start": 235, + "end": 251, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 18 + }, + "identifierName": "FullDateWildcard" + }, + "name": "FullDateWildcard" + }, + "extra": { + "shorthand": true + } + } + ], + "leadingComments": [], + "trailingComments": [] } } - }, + ], + "directives": [] + }, + "comments": [], + "tokens": [ { "type": { - "label": "name", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1033,46 +450,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "value": "CalendarRoundWildcard", - "start": 95, - "end": 116, - "loc": { - "start": { - "line": 4, - "column": 6 - }, - "end": { - "line": 4, - "column": 27 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 117, - "end": 118, + "value": "import", + "start": 0, + "end": 6, "loc": { "start": { - "line": 4, - "column": 28 + "line": 1, + "column": 0 }, "end": { - "line": 4, - "column": 29 + "line": 1, + "column": 6 } } }, @@ -1088,24 +479,24 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 119, - "end": 126, + "value": "LongCountWildcard", + "start": 7, + "end": 24, "loc": { "start": { - "line": 4, - "column": 30 + "line": 1, + "column": 7 }, "end": { - "line": 4, - "column": 37 + "line": 1, + "column": 24 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1114,16 +505,17 @@ "postfix": false, "binop": null }, - "start": 126, - "end": 127, + "value": "from", + "start": 25, + "end": 29, "loc": { "start": { - "line": 4, - "column": 37 + "line": 1, + "column": 25 }, "end": { - "line": 4, - "column": 38 + "line": 1, + "column": 29 } } }, @@ -1140,42 +532,17 @@ "binop": null, "updateContext": null }, - "value": "./calendar-round-wildcard", - "start": 127, - "end": 154, - "loc": { - "start": { - "line": 4, - "column": 38 - }, - "end": { - "line": 4, - "column": 65 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 154, - "end": 155, + "value": "./longcount-wildcard", + "start": 30, + "end": 52, "loc": { "start": { - "line": 4, - "column": 65 + "line": 1, + "column": 30 }, "end": { - "line": 4, - "column": 66 + "line": 1, + "column": 52 } } }, @@ -1192,41 +559,25 @@ "binop": null, "updateContext": null }, - "start": 155, - "end": 156, - "loc": { - "start": { - "line": 4, - "column": 66 - }, - "end": { - "line": 4, - "column": 67 - } - } - }, - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 157, - "end": 171, + "start": 52, + "end": 53, "loc": { "start": { - "line": 5, - "column": 0 + "line": 1, + "column": 52 }, "end": { - "line": 5, - "column": 14 + "line": 1, + "column": 53 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "import", + "keyword": "import", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1235,17 +586,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 172, - "end": 177, + "value": "import", + "start": 54, + "end": 60, "loc": { "start": { - "line": 6, + "line": 2, "column": 0 }, "end": { - "line": 6, - "column": 5 + "line": 2, + "column": 6 } } }, @@ -1261,50 +612,49 @@ "postfix": false, "binop": null }, - "value": "FullDateWildcard", - "start": 178, - "end": 194, + "value": "CalendarRoundWildcard", + "start": 61, + "end": 82, "loc": { "start": { - "line": 6, - "column": 6 + "line": 2, + "column": 7 }, "end": { - "line": 6, - "column": 22 + "line": 2, + "column": 28 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 195, - "end": 196, + "value": "from", + "start": 83, + "end": 87, "loc": { "start": { - "line": 6, - "column": 23 + "line": 2, + "column": 29 }, "end": { - "line": 6, - "column": 24 + "line": 2, + "column": 33 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1312,50 +662,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "require", - "start": 197, - "end": 204, + "value": "./calendar-round-wildcard", + "start": 88, + "end": 115, "loc": { "start": { - "line": 6, - "column": 25 + "line": 2, + "column": 34 }, "end": { - "line": 6, - "column": 32 + "line": 2, + "column": 61 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 204, - "end": 205, + "start": 115, + "end": 116, "loc": { "start": { - "line": 6, - "column": 32 + "line": 2, + "column": 61 }, "end": { - "line": 6, - "column": 33 + "line": 2, + "column": 62 } } }, { "type": { - "label": "string", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1366,25 +719,25 @@ "binop": null, "updateContext": null }, - "value": "./fulldate-wildcard", - "start": 205, - "end": 226, + "value": "import", + "start": 117, + "end": 123, "loc": { "start": { - "line": 6, - "column": 33 + "line": 3, + "column": 0 }, "end": { - "line": 6, - "column": 54 + "line": 3, + "column": 6 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1392,48 +745,49 @@ "postfix": false, "binop": null }, - "start": 226, - "end": 227, + "value": "FullDateWildcard", + "start": 124, + "end": 140, "loc": { "start": { - "line": 6, - "column": 54 + "line": 3, + "column": 7 }, "end": { - "line": 6, - "column": 55 + "line": 3, + "column": 23 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 227, - "end": 228, + "value": "from", + "start": 141, + "end": 145, "loc": { "start": { - "line": 6, - "column": 55 + "line": 3, + "column": 24 }, "end": { - "line": 6, - "column": 56 + "line": 3, + "column": 28 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -1441,26 +795,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "module", - "start": 230, - "end": 236, + "value": "./fulldate-wildcard", + "start": 146, + "end": 167, "loc": { "start": { - "line": 8, - "column": 0 + "line": 3, + "column": 29 }, "end": { - "line": 8, - "column": 6 + "line": 3, + "column": 50 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -1470,69 +825,72 @@ "binop": null, "updateContext": null }, - "start": 236, - "end": 237, + "start": 167, + "end": 168, "loc": { "start": { - "line": 8, - "column": 6 + "line": 3, + "column": 50 }, "end": { - "line": 8, - "column": 7 + "line": 3, + "column": 51 } } }, { "type": { - "label": "name", + "label": "export", + "keyword": "export", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "exports", - "start": 237, - "end": 244, + "value": "export", + "start": 170, + "end": 176, "loc": { "start": { - "line": 8, - "column": 7 + "line": 5, + "column": 0 }, "end": { - "line": 8, - "column": 14 + "line": 5, + "column": 6 } } }, { "type": { - "label": "=", + "label": "default", + "keyword": "default", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 245, - "end": 246, + "value": "default", + "start": 177, + "end": 184, "loc": { "start": { - "line": 8, - "column": 15 + "line": 5, + "column": 7 }, "end": { - "line": 8, - "column": 16 + "line": 5, + "column": 14 } } }, @@ -1548,16 +906,16 @@ "postfix": false, "binop": null }, - "start": 247, - "end": 248, + "start": 185, + "end": 186, "loc": { "start": { - "line": 8, - "column": 17 + "line": 5, + "column": 15 }, "end": { - "line": 8, - "column": 18 + "line": 5, + "column": 16 } } }, @@ -1574,15 +932,15 @@ "binop": null }, "value": "LongCountWildcard", - "start": 251, - "end": 268, + "start": 189, + "end": 206, "loc": { "start": { - "line": 9, + "line": 6, "column": 2 }, "end": { - "line": 9, + "line": 6, "column": 19 } } @@ -1600,15 +958,15 @@ "binop": null, "updateContext": null }, - "start": 268, - "end": 269, + "start": 206, + "end": 207, "loc": { "start": { - "line": 9, + "line": 6, "column": 19 }, "end": { - "line": 9, + "line": 6, "column": 20 } } @@ -1626,15 +984,15 @@ "binop": null }, "value": "CalendarRoundWildcard", - "start": 272, - "end": 293, + "start": 210, + "end": 231, "loc": { "start": { - "line": 10, + "line": 7, "column": 2 }, "end": { - "line": 10, + "line": 7, "column": 23 } } @@ -1652,15 +1010,15 @@ "binop": null, "updateContext": null }, - "start": 293, - "end": 294, + "start": 231, + "end": 232, "loc": { "start": { - "line": 10, + "line": 7, "column": 23 }, "end": { - "line": 10, + "line": 7, "column": 24 } } @@ -1678,15 +1036,15 @@ "binop": null }, "value": "FullDateWildcard", - "start": 297, - "end": 313, + "start": 235, + "end": 251, "loc": { "start": { - "line": 11, + "line": 8, "column": 2 }, "end": { - "line": 11, + "line": 8, "column": 18 } } @@ -1703,15 +1061,15 @@ "postfix": false, "binop": null }, - "start": 314, - "end": 315, + "start": 252, + "end": 253, "loc": { "start": { - "line": 12, + "line": 9, "column": 0 }, "end": { - "line": 12, + "line": 9, "column": 1 } } @@ -1729,15 +1087,15 @@ "binop": null, "updateContext": null }, - "start": 315, - "end": 316, + "start": 253, + "end": 254, "loc": { "start": { - "line": 12, + "line": 9, "column": 1 }, "end": { - "line": 12, + "line": 9, "column": 2 } } @@ -1755,15 +1113,15 @@ "binop": null, "updateContext": null }, - "start": 317, - "end": 317, + "start": 255, + "end": 255, "loc": { "start": { - "line": 13, + "line": 10, "column": 0 }, "end": { - "line": 13, + "line": 10, "column": 0 } } diff --git a/docs/ast/source/operations/longcount-wildcard.js.json b/docs/ast/source/operations/longcount-wildcard.js.json index 7f63bb9..071b85e 100644 --- a/docs/ast/source/operations/longcount-wildcard.js.json +++ b/docs/ast/source/operations/longcount-wildcard.js.json @@ -1,169 +1,114 @@ { "type": "File", "start": 0, - "end": 1263, + "end": 838, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 56, + "line": 40, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 1263, + "end": 838, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 56, + "line": 40, "column": 0 } }, "sourceType": "module", "body": [ { - "type": "VariableDeclaration", - "start": 15, - "end": 55, + "type": "ImportDeclaration", + "start": 0, + "end": 35, "loc": { "start": { - "line": 2, + "line": 1, "column": 0 }, "end": { - "line": 2, - "column": 40 + "line": 1, + "column": 35 } }, - "declarations": [ + "specifiers": [ { - "type": "VariableDeclarator", - "start": 21, - "end": 54, + "type": "ImportDefaultSpecifier", + "start": 7, + "end": 15, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 39 + "line": 1, + "column": 15 } }, - "id": { + "local": { "type": "Identifier", - "start": 21, - "end": 29, + "start": 7, + "end": 15, "loc": { "start": { - "line": 2, - "column": 6 + "line": 1, + "column": 7 }, "end": { - "line": 2, - "column": 14 + "line": 1, + "column": 15 }, "identifierName": "wildcard" }, - "name": "wildcard", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 32, - "end": 54, - "loc": { - "start": { - "line": 2, - "column": 17 - }, - "end": { - "line": 2, - "column": 39 - } - }, - "callee": { - "type": "Identifier", - "start": 32, - "end": 39, - "loc": { - "start": { - "line": 2, - "column": 17 - }, - "end": { - "line": 2, - "column": 24 - }, - "identifierName": "require" - }, - "name": "require" - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 40, - "end": 53, - "loc": { - "start": { - "line": 2, - "column": 25 - }, - "end": { - "line": 2, - "column": 38 - } - }, - "extra": { - "rawValue": "../wildcard", - "raw": "'../wildcard'" - }, - "value": "../wildcard" - } - ] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } + "name": "wildcard" } } ], + "source": { + "type": "StringLiteral", + "start": 21, + "end": 34, + "loc": { + "start": { + "line": 1, + "column": 21 + }, + "end": { + "line": 1, + "column": 34 + } + }, + "extra": { + "rawValue": "../wildcard", + "raw": "'../wildcard'" + }, + "value": "../wildcard" + }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Given a Long Count with a wildcard, calculate all possible matching fully\n * qualified Long Counts.\n ", - "start": 57, - "end": 167, + "start": 37, + "end": 147, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 7, + "line": 6, "column": 3 } } @@ -171,3846 +116,1726 @@ ] }, { - "type": "ClassDeclaration", - "start": 168, - "end": 1225, + "type": "ExportDefaultDeclaration", + "start": 148, + "end": 837, "loc": { "start": { - "line": 8, + "line": 7, "column": 0 }, "end": { - "line": 53, + "line": 39, "column": 1 } }, - "id": { - "type": "Identifier", - "start": 174, - "end": 191, - "loc": { - "start": { - "line": 8, - "column": 6 - }, - "end": { - "line": 8, - "column": 23 - }, - "identifierName": "LongCountWildcard" - }, - "name": "LongCountWildcard", - "leadingComments": null - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 192, - "end": 1225, + "declaration": { + "type": "ClassDeclaration", + "start": 163, + "end": 837, "loc": { "start": { - "line": 8, - "column": 24 + "line": 7, + "column": 15 }, "end": { - "line": 53, + "line": 39, "column": 1 } }, - "body": [ - { - "type": "ClassMethod", - "start": 235, - "end": 315, - "loc": { - "start": { - "line": 12, - "column": 2 - }, - "end": { - "line": 17, - "column": 3 - } + "id": { + "type": "Identifier", + "start": 169, + "end": 186, + "loc": { + "start": { + "line": 7, + "column": 21 + }, + "end": { + "line": 7, + "column": 38 + }, + "identifierName": "LongCountWildcard" + }, + "name": "LongCountWildcard", + "leadingComments": null + }, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 187, + "end": 837, + "loc": { + "start": { + "line": 7, + "column": 39 }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 235, - "end": 246, + "end": { + "line": 39, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 230, + "end": 310, "loc": { "start": { - "line": 12, + "line": 11, "column": 2 }, "end": { - "line": 12, - "column": 13 - }, - "identifierName": "constructor" + "line": 16, + "column": 3 + } }, - "name": "constructor", - "leadingComments": null - }, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { + "static": false, + "computed": false, + "key": { "type": "Identifier", - "start": 247, - "end": 249, + "start": 230, + "end": 241, "loc": { "start": { - "line": 12, - "column": 14 + "line": 11, + "column": 2 }, "end": { - "line": 12, - "column": 16 + "line": 11, + "column": 13 }, - "identifierName": "lc" - }, - "name": "lc" - } - ], - "body": { - "type": "BlockStatement", - "start": 251, - "end": 315, - "loc": { - "start": { - "line": 12, - "column": 18 + "identifierName": "constructor" }, - "end": { - "line": 17, - "column": 3 - } + "name": "constructor", + "leadingComments": null }, - "body": [ + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "ExpressionStatement", - "start": 298, - "end": 311, + "type": "Identifier", + "start": 242, + "end": 244, "loc": { "start": { - "line": 16, - "column": 4 + "line": 11, + "column": 14 }, "end": { - "line": 16, - "column": 17 - } + "line": 11, + "column": 16 + }, + "identifierName": "lc" + }, + "name": "lc" + } + ], + "body": { + "type": "BlockStatement", + "start": 246, + "end": 310, + "loc": { + "start": { + "line": 11, + "column": 18 }, - "expression": { - "type": "AssignmentExpression", - "start": 298, - "end": 310, + "end": { + "line": 16, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 293, + "end": 306, "loc": { "start": { - "line": 16, + "line": 15, "column": 4 }, "end": { - "line": 16, - "column": 16 + "line": 15, + "column": 17 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 298, + "expression": { + "type": "AssignmentExpression", + "start": 293, "end": 305, "loc": { "start": { - "line": 16, + "line": 15, "column": 4 }, "end": { - "line": 16, - "column": 11 + "line": 15, + "column": 16 } }, - "object": { - "type": "ThisExpression", - "start": 298, - "end": 302, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 293, + "end": 300, "loc": { "start": { - "line": 16, + "line": 15, "column": 4 }, "end": { - "line": 16, - "column": 8 + "line": 15, + "column": 11 } }, + "object": { + "type": "ThisExpression", + "start": 293, + "end": 297, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 8 + } + }, + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 298, + "end": 300, + "loc": { + "start": { + "line": 15, + "column": 9 + }, + "end": { + "line": 15, + "column": 11 + }, + "identifierName": "lc" + }, + "name": "lc" + }, + "computed": false, "leadingComments": null }, - "property": { + "right": { "type": "Identifier", "start": 303, "end": 305, "loc": { "start": { - "line": 16, - "column": 9 + "line": 15, + "column": 14 }, "end": { - "line": 16, - "column": 11 + "line": 15, + "column": 16 }, "identifierName": "lc" }, "name": "lc" }, - "computed": false, "leadingComments": null }, - "right": { - "type": "Identifier", - "start": 308, - "end": 310, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 16 - }, - "identifierName": "lc" - }, - "name": "lc" - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @type {LongCount}\n ", - "start": 257, - "end": 293, - "loc": { - "start": { - "line": 13, - "column": 4 - }, - "end": { - "line": 15, - "column": 7 + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @type {LongCount}\n ", + "start": 252, + "end": 288, + "loc": { + "start": { + "line": 12, + "column": 4 + }, + "end": { + "line": 14, + "column": 7 + } } } + ] + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {LongCount} lc\n ", + "start": 191, + "end": 227, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 10, + "column": 5 } - ] + } } ], - "directives": [], - "trailingComments": null + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Run calculation to find all fully qualified Long Counts\n * @return {LongCount[]}\n ", + "start": 314, + "end": 411, + "loc": { + "start": { + "line": 18, + "column": 2 + }, + "end": { + "line": 21, + "column": 5 + } + } + } + ] }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @param {LongCount} lc\n ", - "start": 196, - "end": 232, + { + "type": "ClassMethod", + "start": 414, + "end": 835, + "loc": { + "start": { + "line": 22, + "column": 2 + }, + "end": { + "line": 38, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 414, + "end": 417, "loc": { "start": { - "line": 9, + "line": 22, "column": 2 }, "end": { - "line": 11, + "line": 22, "column": 5 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Run calculation to find all fully qualified Long Counts\n * @return {LongCount[]}\n ", - "start": 319, - "end": 416, + }, + "identifierName": "run" + }, + "name": "run", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 420, + "end": 835, "loc": { "start": { - "line": 19, - "column": 2 + "line": 22, + "column": 8 }, "end": { - "line": 22, - "column": 5 + "line": 38, + "column": 3 } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 419, - "end": 1223, - "loc": { - "start": { - "line": 23, - "column": 2 - }, - "end": { - "line": 52, - "column": 3 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 419, - "end": 422, - "loc": { - "start": { - "line": 23, - "column": 2 - }, - "end": { - "line": 23, - "column": 5 - }, - "identifierName": "run" - }, - "name": "run", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 425, - "end": 1223, - "loc": { - "start": { - "line": 23, - "column": 8 }, - "end": { - "line": 52, - "column": 3 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 431, - "end": 521, - "loc": { - "start": { - "line": 24, - "column": 4 + "body": [ + { + "type": "ReturnStatement", + "start": 426, + "end": 831, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 37, + "column": 6 + } }, - "end": { - "line": 26, - "column": 6 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 437, - "end": 520, + "argument": { + "type": "CallExpression", + "start": 433, + "end": 830, "loc": { "start": { - "line": 24, - "column": 10 + "line": 23, + "column": 11 }, "end": { - "line": 26, + "line": 37, "column": 5 } }, - "id": { - "type": "Identifier", - "start": 437, - "end": 446, - "loc": { - "start": { - "line": 24, - "column": 10 - }, - "end": { - "line": 24, - "column": 19 - }, - "identifierName": "wcIndexes" - }, - "name": "wcIndexes" - }, - "init": { - "type": "CallExpression", - "start": 449, - "end": 520, + "callee": { + "type": "MemberExpression", + "start": 433, + "end": 550, "loc": { "start": { - "line": 24, - "column": 22 + "line": 23, + "column": 11 }, "end": { - "line": 26, - "column": 5 + "line": 27, + "column": 12 } }, - "callee": { - "type": "MemberExpression", - "start": 449, - "end": 460, + "object": { + "type": "CallExpression", + "start": 433, + "end": 543, "loc": { "start": { - "line": 24, - "column": 22 + "line": 23, + "column": 11 }, "end": { - "line": 24, - "column": 33 + "line": 27, + "column": 5 } }, - "object": { + "callee": { "type": "MemberExpression", - "start": 449, - "end": 456, + "start": 433, + "end": 511, "loc": { "start": { - "line": 24, - "column": 22 + "line": 23, + "column": 11 }, "end": { - "line": 24, - "column": 29 + "line": 25, + "column": 12 } }, "object": { - "type": "ThisExpression", - "start": 449, - "end": 453, + "type": "CallExpression", + "start": 433, + "end": 504, "loc": { "start": { - "line": 24, - "column": 22 + "line": 23, + "column": 11 }, "end": { - "line": 24, - "column": 26 + "line": 25, + "column": 5 } - } - }, - "property": { - "type": "Identifier", - "start": 454, - "end": 456, - "loc": { - "start": { - "line": 24, - "column": 27 - }, - "end": { - "line": 24, - "column": 29 - }, - "identifierName": "lc" }, - "name": "lc" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 457, - "end": 460, - "loc": { - "start": { - "line": 24, - "column": 30 - }, - "end": { - "line": 24, - "column": 33 - }, - "identifierName": "map" - }, - "name": "map" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 468, - "end": 514, - "loc": { - "start": { - "line": 25, - "column": 6 - }, - "end": { - "line": 25, - "column": 52 - } - }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 469, - "end": 473, + "callee": { + "type": "MemberExpression", + "start": 433, + "end": 444, "loc": { "start": { - "line": 25, - "column": 7 - }, - "end": { - "line": 25, + "line": 23, "column": 11 }, - "identifierName": "part" + "end": { + "line": 23, + "column": 22 + } }, - "name": "part" - }, - { - "type": "Identifier", - "start": 475, - "end": 476, - "loc": { - "start": { - "line": 25, - "column": 13 + "object": { + "type": "MemberExpression", + "start": 433, + "end": 440, + "loc": { + "start": { + "line": 23, + "column": 11 + }, + "end": { + "line": 23, + "column": 18 + } }, - "end": { - "line": 25, - "column": 14 + "object": { + "type": "ThisExpression", + "start": 433, + "end": 437, + "loc": { + "start": { + "line": 23, + "column": 11 + }, + "end": { + "line": 23, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 438, + "end": 440, + "loc": { + "start": { + "line": 23, + "column": 16 + }, + "end": { + "line": 23, + "column": 18 + }, + "identifierName": "lc" + }, + "name": "lc" }, - "identifierName": "i" + "computed": false }, - "name": "i" - } - ], - "body": { - "type": "ConditionalExpression", - "start": 482, - "end": 513, + "property": { + "type": "Identifier", + "start": 441, + "end": 444, + "loc": { + "start": { + "line": 23, + "column": 19 + }, + "end": { + "line": 23, + "column": 22 + }, + "identifierName": "map" + }, + "name": "map" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 452, + "end": 498, + "loc": { + "start": { + "line": 24, + "column": 6 + }, + "end": { + "line": 24, + "column": 52 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 453, + "end": 457, + "loc": { + "start": { + "line": 24, + "column": 7 + }, + "end": { + "line": 24, + "column": 11 + }, + "identifierName": "part" + }, + "name": "part" + }, + { + "type": "Identifier", + "start": 459, + "end": 460, + "loc": { + "start": { + "line": 24, + "column": 13 + }, + "end": { + "line": 24, + "column": 14 + }, + "identifierName": "i" + }, + "name": "i" + } + ], + "body": { + "type": "ConditionalExpression", + "start": 466, + "end": 497, + "loc": { + "start": { + "line": 24, + "column": 20 + }, + "end": { + "line": 24, + "column": 51 + } + }, + "test": { + "type": "BinaryExpression", + "start": 467, + "end": 484, + "loc": { + "start": { + "line": 24, + "column": 21 + }, + "end": { + "line": 24, + "column": 38 + } + }, + "left": { + "type": "Identifier", + "start": 467, + "end": 471, + "loc": { + "start": { + "line": 24, + "column": 21 + }, + "end": { + "line": 24, + "column": 25 + }, + "identifierName": "part" + }, + "name": "part" + }, + "operator": "===", + "right": { + "type": "Identifier", + "start": 476, + "end": 484, + "loc": { + "start": { + "line": 24, + "column": 30 + }, + "end": { + "line": 24, + "column": 38 + }, + "identifierName": "wildcard" + }, + "name": "wildcard" + }, + "extra": { + "parenthesized": true, + "parenStart": 466 + } + }, + "consequent": { + "type": "Identifier", + "start": 488, + "end": 489, + "loc": { + "start": { + "line": 24, + "column": 42 + }, + "end": { + "line": 24, + "column": 43 + }, + "identifierName": "i" + }, + "name": "i" + }, + "alternate": { + "type": "BooleanLiteral", + "start": 492, + "end": 497, + "loc": { + "start": { + "line": 24, + "column": 46 + }, + "end": { + "line": 24, + "column": 51 + } + }, + "value": false + }, + "extra": { + "parenthesized": true, + "parenStart": 465 + } + } + } + ] + }, + "property": { + "type": "Identifier", + "start": 505, + "end": 511, "loc": { "start": { "line": 25, - "column": 20 + "column": 6 }, "end": { "line": 25, - "column": 51 + "column": 12 + }, + "identifierName": "filter" + }, + "name": "filter" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 519, + "end": 537, + "loc": { + "start": { + "line": 26, + "column": 6 + }, + "end": { + "line": 26, + "column": 24 } }, - "test": { + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 520, + "end": 521, + "loc": { + "start": { + "line": 26, + "column": 7 + }, + "end": { + "line": 26, + "column": 8 + }, + "identifierName": "i" + }, + "name": "i" + } + ], + "body": { "type": "BinaryExpression", - "start": 483, - "end": 500, + "start": 526, + "end": 537, "loc": { "start": { - "line": 25, - "column": 21 + "line": 26, + "column": 13 }, "end": { - "line": 25, - "column": 38 + "line": 26, + "column": 24 } }, "left": { "type": "Identifier", - "start": 483, - "end": 487, + "start": 526, + "end": 527, "loc": { "start": { - "line": 25, - "column": 21 + "line": 26, + "column": 13 }, "end": { - "line": 25, - "column": 25 + "line": 26, + "column": 14 }, - "identifierName": "part" + "identifierName": "i" }, - "name": "part" + "name": "i" }, - "operator": "===", + "operator": "!==", "right": { - "type": "Identifier", - "start": 492, - "end": 500, + "type": "BooleanLiteral", + "start": 532, + "end": 537, "loc": { "start": { - "line": 25, - "column": 30 + "line": 26, + "column": 19 }, "end": { - "line": 25, - "column": 38 - }, - "identifierName": "wildcard" + "line": 26, + "column": 24 + } }, - "name": "wildcard" - }, - "extra": { - "parenthesized": true, - "parenStart": 482 + "value": false } - }, - "consequent": { - "type": "Identifier", - "start": 504, - "end": 505, - "loc": { - "start": { - "line": 25, - "column": 42 - }, - "end": { - "line": 25, - "column": 43 - }, - "identifierName": "i" - }, - "name": "i" - }, - "alternate": { - "type": "BooleanLiteral", - "start": 508, - "end": 513, - "loc": { - "start": { - "line": 25, - "column": 46 - }, - "end": { - "line": 25, - "column": 51 - } - }, - "value": false - }, - "extra": { - "parenthesized": true, - "parenStart": 481 } } - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 527, - "end": 602, - "loc": { - "start": { - "line": 28, - "column": 4 - }, - "end": { - "line": 30, - "column": 6 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 533, - "end": 601, - "loc": { - "start": { - "line": 28, - "column": 10 + ] }, - "end": { - "line": 30, - "column": 5 - } - }, - "id": { - "type": "Identifier", - "start": 533, - "end": 550, - "loc": { - "start": { - "line": 28, - "column": 10 - }, - "end": { - "line": 28, - "column": 27 + "property": { + "type": "Identifier", + "start": 544, + "end": 550, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 12 + }, + "identifierName": "reduce" }, - "identifierName": "filteredWcIndexes" + "name": "reduce" }, - "name": "filteredWcIndexes" + "computed": false }, - "init": { - "type": "CallExpression", - "start": 553, - "end": 601, - "loc": { - "start": { - "line": 28, - "column": 30 - }, - "end": { - "line": 30, - "column": 5 - } - }, - "callee": { - "type": "MemberExpression", - "start": 553, - "end": 569, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 558, + "end": 807, "loc": { "start": { "line": 28, - "column": 30 + "column": 6 }, "end": { - "line": 28, - "column": 46 + "line": 35, + "column": 7 } }, - "object": { - "type": "Identifier", - "start": 553, - "end": 562, - "loc": { - "start": { - "line": 28, - "column": 30 - }, - "end": { - "line": 28, - "column": 39 + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 559, + "end": 569, + "loc": { + "start": { + "line": 28, + "column": 7 + }, + "end": { + "line": 28, + "column": 17 + }, + "identifierName": "potentials" }, - "identifierName": "wcIndexes" + "name": "potentials" }, - "name": "wcIndexes" - }, - "property": { - "type": "Identifier", - "start": 563, - "end": 569, - "loc": { - "start": { - "line": 28, - "column": 40 - }, - "end": { - "line": 28, - "column": 46 + { + "type": "Identifier", + "start": 571, + "end": 579, + "loc": { + "start": { + "line": 28, + "column": 19 + }, + "end": { + "line": 28, + "column": 27 + }, + "identifierName": "position" }, - "identifierName": "filter" - }, - "name": "filter" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 577, - "end": 595, + "name": "position" + } + ], + "body": { + "type": "CallExpression", + "start": 584, + "end": 807, "loc": { "start": { - "line": 29, - "column": 6 + "line": 28, + "column": 32 }, "end": { - "line": 29, - "column": 24 + "line": 35, + "column": 7 } }, - "id": null, - "generator": false, - "expression": true, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 578, - "end": 579, - "loc": { - "start": { - "line": 29, - "column": 7 - }, - "end": { - "line": 29, - "column": 8 - }, - "identifierName": "i" - }, - "name": "i" - } - ], - "body": { - "type": "BinaryExpression", + "callee": { + "type": "MemberExpression", "start": 584, - "end": 595, + "end": 601, "loc": { "start": { - "line": 29, - "column": 13 + "line": 28, + "column": 32 }, "end": { - "line": 29, - "column": 24 + "line": 28, + "column": 49 } }, - "left": { + "object": { "type": "Identifier", "start": 584, - "end": 585, + "end": 594, "loc": { "start": { - "line": 29, - "column": 13 + "line": 28, + "column": 32 }, "end": { - "line": 29, - "column": 14 + "line": 28, + "column": 42 }, - "identifierName": "i" + "identifierName": "potentials" }, - "name": "i" + "name": "potentials" }, - "operator": "!==", - "right": { - "type": "BooleanLiteral", - "start": 590, - "end": 595, + "property": { + "type": "Identifier", + "start": 595, + "end": 601, "loc": { "start": { - "line": 29, - "column": 19 + "line": 28, + "column": 43 }, "end": { - "line": 29, - "column": 24 - } + "line": 28, + "column": 49 + }, + "identifierName": "reduce" }, - "value": false - } - } - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "ReturnStatement", - "start": 608, - "end": 1218, - "loc": { - "start": { - "line": 32, - "column": 4 - }, - "end": { - "line": 50, - "column": 6 - } - }, - "argument": { - "type": "CallExpression", - "start": 615, - "end": 1217, - "loc": { - "start": { - "line": 32, - "column": 11 - }, - "end": { - "line": 50, - "column": 5 - } - }, - "callee": { - "type": "MemberExpression", - "start": 615, - "end": 639, - "loc": { - "start": { - "line": 32, - "column": 11 - }, - "end": { - "line": 32, - "column": 35 - } - }, - "object": { - "type": "Identifier", - "start": 615, - "end": 632, - "loc": { - "start": { - "line": 32, - "column": 11 - }, - "end": { - "line": 32, - "column": 28 - }, - "identifierName": "filteredWcIndexes" - }, - "name": "filteredWcIndexes" - }, - "property": { - "type": "Identifier", - "start": 633, - "end": 639, - "loc": { - "start": { - "line": 32, - "column": 29 - }, - "end": { - "line": 32, - "column": 35 - }, - "identifierName": "reduce" - }, - "name": "reduce" - }, - "computed": false - }, - "arguments": [ - { - "type": "FunctionExpression", - "start": 647, - "end": 1194, - "loc": { - "start": { - "line": 33, - "column": 6 - }, - "end": { - "line": 48, - "column": 7 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 657, - "end": 667, - "loc": { - "start": { - "line": 33, - "column": 16 - }, - "end": { - "line": 33, - "column": 26 + "name": "reduce" }, - "identifierName": "potentials" + "computed": false }, - "name": "potentials" - }, - { - "type": "Identifier", - "start": 669, - "end": 677, - "loc": { - "start": { - "line": 33, - "column": 28 - }, - "end": { - "line": 33, - "column": 36 - }, - "identifierName": "position" - }, - "name": "position" - } - ], - "body": { - "type": "BlockStatement", - "start": 679, - "end": 1194, - "loc": { - "start": { - "line": 33, - "column": 38 - }, - "end": { - "line": 48, - "column": 7 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 689, - "end": 1168, - "loc": { - "start": { - "line": 34, - "column": 8 + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 611, + "end": 787, + "loc": { + "start": { + "line": 29, + "column": 8 + }, + "end": { + "line": 33, + "column": 21 + } }, - "end": { - "line": 46, - "column": 10 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 695, - "end": 1167, - "loc": { - "start": { - "line": 34, - "column": 14 + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 612, + "end": 615, + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 29, + "column": 12 + }, + "identifierName": "acc" }, - "end": { - "line": 46, - "column": 9 - } + "name": "acc" }, - "id": { + { "type": "Identifier", - "start": 695, - "end": 696, + "start": 617, + "end": 625, "loc": { "start": { - "line": 34, + "line": 29, "column": 14 }, "end": { - "line": 34, - "column": 15 + "line": 29, + "column": 22 }, - "identifierName": "a" + "identifierName": "possible" + }, + "name": "possible" + } + ], + "body": { + "type": "CallExpression", + "start": 630, + "end": 787, + "loc": { + "start": { + "line": 29, + "column": 27 }, - "name": "a" + "end": { + "line": 33, + "column": 21 + } }, - "init": { - "type": "CallExpression", - "start": 699, - "end": 1167, + "callee": { + "type": "MemberExpression", + "start": 630, + "end": 782, "loc": { "start": { - "line": 34, - "column": 18 + "line": 29, + "column": 27 }, "end": { - "line": 46, - "column": 9 + "line": 33, + "column": 16 } }, - "callee": { - "type": "MemberExpression", - "start": 699, - "end": 716, + "object": { + "type": "CallExpression", + "start": 630, + "end": 775, "loc": { "start": { - "line": 34, - "column": 18 + "line": 29, + "column": 27 }, "end": { - "line": 34, - "column": 35 + "line": 33, + "column": 9 } }, - "object": { - "type": "Identifier", - "start": 699, - "end": 709, - "loc": { - "start": { - "line": 34, - "column": 18 - }, - "end": { - "line": 34, - "column": 28 - }, - "identifierName": "potentials" - }, - "name": "potentials" - }, - "property": { - "type": "Identifier", - "start": 710, - "end": 716, - "loc": { - "start": { - "line": 34, - "column": 29 - }, - "end": { - "line": 34, - "column": 35 - }, - "identifierName": "reduce" - }, - "name": "reduce" - }, - "computed": false - }, - "arguments": [ - { - "type": "FunctionExpression", - "start": 728, - "end": 1143, + "callee": { + "type": "MemberExpression", + "start": 630, + "end": 698, "loc": { "start": { - "line": 35, - "column": 10 + "line": 29, + "column": 27 }, "end": { - "line": 44, - "column": 11 + "line": 31, + "column": 20 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 738, - "end": 741, - "loc": { - "start": { - "line": 35, - "column": 20 - }, - "end": { - "line": 35, - "column": 23 - }, - "identifierName": "acc" + "object": { + "type": "CallExpression", + "start": 630, + "end": 694, + "loc": { + "start": { + "line": 29, + "column": 27 }, - "name": "acc" + "end": { + "line": 31, + "column": 16 + } }, - { - "type": "Identifier", - "start": 743, - "end": 751, + "callee": { + "type": "MemberExpression", + "start": 630, + "end": 692, "loc": { "start": { - "line": 35, - "column": 25 + "line": 29, + "column": 27 }, "end": { - "line": 35, - "column": 33 - }, - "identifierName": "possible" - }, - "name": "possible" - } - ], - "body": { - "type": "BlockStatement", - "start": 753, - "end": 1143, - "loc": { - "start": { - "line": 35, - "column": 35 + "line": 31, + "column": 14 + } }, - "end": { - "line": 44, - "column": 11 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 767, - "end": 823, + "object": { + "type": "NewExpression", + "start": 630, + "end": 687, "loc": { "start": { - "line": 36, - "column": 12 + "line": 29, + "column": 27 }, "end": { - "line": 36, - "column": 68 + "line": 31, + "column": 9 } }, - "declarations": [ + "callee": { + "type": "Identifier", + "start": 634, + "end": 639, + "loc": { + "start": { + "line": 29, + "column": 31 + }, + "end": { + "line": 29, + "column": 36 + }, + "identifierName": "Array" + }, + "name": "Array" + }, + "arguments": [ { - "type": "VariableDeclarator", - "start": 773, - "end": 822, + "type": "ConditionalExpression", + "start": 651, + "end": 677, "loc": { "start": { - "line": 36, - "column": 18 + "line": 30, + "column": 10 }, "end": { - "line": 36, - "column": 67 + "line": 30, + "column": 36 } }, - "id": { - "type": "Identifier", - "start": 773, - "end": 782, - "loc": { - "start": { - "line": 36, - "column": 18 - }, - "end": { - "line": 36, - "column": 27 - }, - "identifierName": "dayMonths" - }, - "name": "dayMonths" - }, - "init": { - "type": "NewExpression", - "start": 785, - "end": 822, + "test": { + "type": "BinaryExpression", + "start": 652, + "end": 666, "loc": { "start": { - "line": 36, - "column": 30 + "line": 30, + "column": 11 }, "end": { - "line": 36, - "column": 67 + "line": 30, + "column": 25 } }, - "callee": { + "left": { "type": "Identifier", - "start": 789, - "end": 794, + "start": 652, + "end": 660, "loc": { "start": { - "line": 36, - "column": 34 + "line": 30, + "column": 11 }, "end": { - "line": 36, - "column": 39 + "line": 30, + "column": 19 }, - "identifierName": "Array" + "identifierName": "position" }, - "name": "Array" + "name": "position" }, - "arguments": [ - { - "type": "ConditionalExpression", - "start": 795, - "end": 821, - "loc": { - "start": { - "line": 36, - "column": 40 - }, - "end": { - "line": 36, - "column": 66 - } - }, - "test": { - "type": "BinaryExpression", - "start": 796, - "end": 810, - "loc": { - "start": { - "line": 36, - "column": 41 - }, - "end": { - "line": 36, - "column": 55 - } - }, - "left": { - "type": "Identifier", - "start": 796, - "end": 804, - "loc": { - "start": { - "line": 36, - "column": 41 - }, - "end": { - "line": 36, - "column": 49 - }, - "identifierName": "position" - }, - "name": "position" - }, - "operator": "===", - "right": { - "type": "NumericLiteral", - "start": 809, - "end": 810, - "loc": { - "start": { - "line": 36, - "column": 54 - }, - "end": { - "line": 36, - "column": 55 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "extra": { - "parenthesized": true, - "parenStart": 795 - } - }, - "consequent": { - "type": "NumericLiteral", - "start": 814, - "end": 816, - "loc": { - "start": { - "line": 36, - "column": 59 - }, - "end": { - "line": 36, - "column": 61 - } - }, - "extra": { - "rawValue": 15, - "raw": "15" - }, - "value": 15 + "operator": "===", + "right": { + "type": "NumericLiteral", + "start": 665, + "end": 666, + "loc": { + "start": { + "line": 30, + "column": 24 }, - "alternate": { - "type": "NumericLiteral", - "start": 819, - "end": 821, - "loc": { - "start": { - "line": 36, - "column": 64 - }, - "end": { - "line": 36, - "column": 66 - } - }, - "extra": { - "rawValue": 20, - "raw": "20" - }, - "value": 20 + "end": { + "line": 30, + "column": 25 } - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 836, - "end": 877, - "loc": { - "start": { - "line": 37, - "column": 12 - }, - "end": { - "line": 37, - "column": 53 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 842, - "end": 876, - "loc": { - "start": { - "line": 37, - "column": 18 + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 }, - "end": { - "line": 37, - "column": 52 + "extra": { + "parenthesized": true, + "parenStart": 651 } }, - "id": { - "type": "Identifier", - "start": 842, - "end": 857, + "consequent": { + "type": "NumericLiteral", + "start": 670, + "end": 672, "loc": { "start": { - "line": 37, - "column": 18 + "line": 30, + "column": 29 }, "end": { - "line": 37, - "column": 33 - }, - "identifierName": "filledDayMonths" + "line": 30, + "column": 31 + } }, - "name": "filledDayMonths" + "extra": { + "rawValue": 15, + "raw": "15" + }, + "value": 15 }, - "init": { - "type": "CallExpression", - "start": 860, - "end": 876, + "alternate": { + "type": "NumericLiteral", + "start": 675, + "end": 677, "loc": { "start": { - "line": 37, - "column": 36 + "line": 30, + "column": 34 }, "end": { - "line": 37, - "column": 52 + "line": 30, + "column": 36 } }, - "callee": { - "type": "MemberExpression", - "start": 860, - "end": 874, - "loc": { - "start": { - "line": 37, - "column": 36 - }, - "end": { - "line": 37, - "column": 50 - } - }, - "object": { - "type": "Identifier", - "start": 860, - "end": 869, - "loc": { - "start": { - "line": 37, - "column": 36 - }, - "end": { - "line": 37, - "column": 45 - }, - "identifierName": "dayMonths" - }, - "name": "dayMonths" - }, - "property": { - "type": "Identifier", - "start": 870, - "end": 874, - "loc": { - "start": { - "line": 37, - "column": 46 - }, - "end": { - "line": 37, - "column": 50 - }, - "identifierName": "fill" - }, - "name": "fill" - }, - "computed": false + "extra": { + "rawValue": 20, + "raw": "20" }, - "arguments": [] + "value": 20 } } - ], - "kind": "const" + ] + }, + "property": { + "type": "Identifier", + "start": 688, + "end": 692, + "loc": { + "start": { + "line": 31, + "column": 10 + }, + "end": { + "line": 31, + "column": 14 + }, + "identifierName": "fill" + }, + "name": "fill" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 695, + "end": 698, + "loc": { + "start": { + "line": 31, + "column": 17 + }, + "end": { + "line": 31, + "column": 20 + }, + "identifierName": "map" + }, + "name": "map" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 710, + "end": 765, + "loc": { + "start": { + "line": 32, + "column": 10 }, + "end": { + "line": 32, + "column": 65 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ { - "type": "VariableDeclaration", - "start": 890, - "end": 1109, + "type": "Identifier", + "start": 711, + "end": 712, "loc": { "start": { - "line": 38, - "column": 12 + "line": 32, + "column": 11 }, "end": { - "line": 42, - "column": 27 - } + "line": 32, + "column": 12 + }, + "identifierName": "_" }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 896, - "end": 1108, + "name": "_" + }, + { + "type": "Identifier", + "start": 714, + "end": 715, + "loc": { + "start": { + "line": 32, + "column": 14 + }, + "end": { + "line": 32, + "column": 15 + }, + "identifierName": "i" + }, + "name": "i" + } + ], + "body": { + "type": "CallExpression", + "start": 720, + "end": 765, + "loc": { + "start": { + "line": 32, + "column": 20 + }, + "end": { + "line": 32, + "column": 65 + } + }, + "callee": { + "type": "MemberExpression", + "start": 720, + "end": 752, + "loc": { + "start": { + "line": 32, + "column": 20 + }, + "end": { + "line": 32, + "column": 52 + } + }, + "object": { + "type": "CallExpression", + "start": 720, + "end": 736, + "loc": { + "start": { + "line": 32, + "column": 20 + }, + "end": { + "line": 32, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 720, + "end": 734, "loc": { "start": { - "line": 38, - "column": 18 + "line": 32, + "column": 20 }, "end": { - "line": 42, - "column": 26 + "line": 32, + "column": 34 } }, - "id": { + "object": { "type": "Identifier", - "start": 896, - "end": 897, + "start": 720, + "end": 728, "loc": { "start": { - "line": 38, - "column": 18 + "line": 32, + "column": 20 }, "end": { - "line": 38, - "column": 19 + "line": 32, + "column": 28 }, - "identifierName": "b" + "identifierName": "possible" }, - "name": "b" + "name": "possible" }, - "init": { - "type": "CallExpression", - "start": 900, - "end": 1108, + "property": { + "type": "Identifier", + "start": 729, + "end": 734, "loc": { "start": { - "line": 38, - "column": 22 + "line": 32, + "column": 29 }, "end": { - "line": 42, - "column": 26 - } - }, - "callee": { - "type": "MemberExpression", - "start": 900, - "end": 1103, - "loc": { - "start": { - "line": 38, - "column": 22 - }, - "end": { - "line": 42, - "column": 21 - } - }, - "object": { - "type": "CallExpression", - "start": 900, - "end": 1096, - "loc": { - "start": { - "line": 38, - "column": 22 - }, - "end": { - "line": 42, - "column": 14 - } - }, - "callee": { - "type": "MemberExpression", - "start": 900, - "end": 919, - "loc": { - "start": { - "line": 38, - "column": 22 - }, - "end": { - "line": 38, - "column": 41 - } - }, - "object": { - "type": "Identifier", - "start": 900, - "end": 915, - "loc": { - "start": { - "line": 38, - "column": 22 - }, - "end": { - "line": 38, - "column": 37 - }, - "identifierName": "filledDayMonths" - }, - "name": "filledDayMonths" - }, - "property": { - "type": "Identifier", - "start": 916, - "end": 919, - "loc": { - "start": { - "line": 38, - "column": 38 - }, - "end": { - "line": 38, - "column": 41 - }, - "identifierName": "map" - }, - "name": "map" - }, - "computed": false - }, - "arguments": [ - { - "type": "FunctionExpression", - "start": 920, - "end": 1095, - "loc": { - "start": { - "line": 38, - "column": 42 - }, - "end": { - "line": 42, - "column": 13 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 930, - "end": 931, - "loc": { - "start": { - "line": 38, - "column": 52 - }, - "end": { - "line": 38, - "column": 53 - }, - "identifierName": "_" - }, - "name": "_" - }, - { - "type": "Identifier", - "start": 933, - "end": 934, - "loc": { - "start": { - "line": 38, - "column": 55 - }, - "end": { - "line": 38, - "column": 56 - }, - "identifierName": "i" - }, - "name": "i" - } - ], - "body": { - "type": "BlockStatement", - "start": 936, - "end": 1095, - "loc": { - "start": { - "line": 38, - "column": 58 - }, - "end": { - "line": 42, - "column": 13 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 952, - "end": 983, - "loc": { - "start": { - "line": 39, - "column": 14 - }, - "end": { - "line": 39, - "column": 45 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 958, - "end": 982, - "loc": { - "start": { - "line": 39, - "column": 20 - }, - "end": { - "line": 39, - "column": 44 - } - }, - "id": { - "type": "Identifier", - "start": 958, - "end": 963, - "loc": { - "start": { - "line": 39, - "column": 20 - }, - "end": { - "line": 39, - "column": 25 - }, - "identifierName": "clone" - }, - "name": "clone" - }, - "init": { - "type": "CallExpression", - "start": 966, - "end": 982, - "loc": { - "start": { - "line": 39, - "column": 28 - }, - "end": { - "line": 39, - "column": 44 - } - }, - "callee": { - "type": "MemberExpression", - "start": 966, - "end": 980, - "loc": { - "start": { - "line": 39, - "column": 28 - }, - "end": { - "line": 39, - "column": 42 - } - }, - "object": { - "type": "Identifier", - "start": 966, - "end": 974, - "loc": { - "start": { - "line": 39, - "column": 28 - }, - "end": { - "line": 39, - "column": 36 - }, - "identifierName": "possible" - }, - "name": "possible" - }, - "property": { - "type": "Identifier", - "start": 975, - "end": 980, - "loc": { - "start": { - "line": 39, - "column": 37 - }, - "end": { - "line": 39, - "column": 42 - }, - "identifierName": "clone" - }, - "name": "clone" - }, - "computed": false - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 998, - "end": 1050, - "loc": { - "start": { - "line": 40, - "column": 14 - }, - "end": { - "line": 40, - "column": 66 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1004, - "end": 1049, - "loc": { - "start": { - "line": 40, - "column": 20 - }, - "end": { - "line": 40, - "column": 65 - } - }, - "id": { - "type": "Identifier", - "start": 1004, - "end": 1012, - "loc": { - "start": { - "line": 40, - "column": 20 - }, - "end": { - "line": 40, - "column": 28 - }, - "identifierName": "adjusted" - }, - "name": "adjusted" - }, - "init": { - "type": "CallExpression", - "start": 1015, - "end": 1049, - "loc": { - "start": { - "line": 40, - "column": 31 - }, - "end": { - "line": 40, - "column": 65 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1015, - "end": 1036, - "loc": { - "start": { - "line": 40, - "column": 31 - }, - "end": { - "line": 40, - "column": 52 - } - }, - "object": { - "type": "Identifier", - "start": 1015, - "end": 1020, - "loc": { - "start": { - "line": 40, - "column": 31 - }, - "end": { - "line": 40, - "column": 36 - }, - "identifierName": "clone" - }, - "name": "clone" - }, - "property": { - "type": "Identifier", - "start": 1021, - "end": 1036, - "loc": { - "start": { - "line": 40, - "column": 37 - }, - "end": { - "line": 40, - "column": 52 - }, - "identifierName": "setDateSections" - }, - "name": "setDateSections" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 1037, - "end": 1045, - "loc": { - "start": { - "line": 40, - "column": 53 - }, - "end": { - "line": 40, - "column": 61 - }, - "identifierName": "position" - }, - "name": "position" - }, - { - "type": "Identifier", - "start": 1047, - "end": 1048, - "loc": { - "start": { - "line": 40, - "column": 63 - }, - "end": { - "line": 40, - "column": 64 - }, - "identifierName": "i" - }, - "name": "i" - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "ReturnStatement", - "start": 1065, - "end": 1081, - "loc": { - "start": { - "line": 41, - "column": 14 - }, - "end": { - "line": 41, - "column": 30 - } - }, - "argument": { - "type": "Identifier", - "start": 1072, - "end": 1080, - "loc": { - "start": { - "line": 41, - "column": 21 - }, - "end": { - "line": 41, - "column": 29 - }, - "identifierName": "adjusted" - }, - "name": "adjusted" - } - } - ], - "directives": [] - } - } - ] - }, - "property": { - "type": "Identifier", - "start": 1097, - "end": 1103, - "loc": { - "start": { - "line": 42, - "column": 15 - }, - "end": { - "line": 42, - "column": 21 - }, - "identifierName": "concat" - }, - "name": "concat" + "line": 32, + "column": 34 }, - "computed": false + "identifierName": "clone" }, - "arguments": [ - { - "type": "Identifier", - "start": 1104, - "end": 1107, - "loc": { - "start": { - "line": 42, - "column": 22 - }, - "end": { - "line": 42, - "column": 25 - }, - "identifierName": "acc" - }, - "name": "acc" - } - ] - } - } - ], - "kind": "const" + "name": "clone" + }, + "computed": false + }, + "arguments": [] + }, + "property": { + "type": "Identifier", + "start": 737, + "end": 752, + "loc": { + "start": { + "line": 32, + "column": 37 + }, + "end": { + "line": 32, + "column": 52 + }, + "identifierName": "setDateSections" + }, + "name": "setDateSections" + }, + "computed": false }, - { - "type": "ReturnStatement", - "start": 1122, - "end": 1131, - "loc": { - "start": { - "line": 43, - "column": 12 + "arguments": [ + { + "type": "Identifier", + "start": 753, + "end": 761, + "loc": { + "start": { + "line": 32, + "column": 53 + }, + "end": { + "line": 32, + "column": 61 + }, + "identifierName": "position" }, - "end": { - "line": 43, - "column": 21 - } + "name": "position" }, - "argument": { + { "type": "Identifier", - "start": 1129, - "end": 1130, + "start": 763, + "end": 764, "loc": { "start": { - "line": 43, - "column": 19 + "line": 32, + "column": 63 }, "end": { - "line": 43, - "column": 20 + "line": 32, + "column": 64 }, - "identifierName": "b" + "identifierName": "i" }, - "name": "b" + "name": "i" } - } - ], - "directives": [] + ] + } } + ] + }, + "property": { + "type": "Identifier", + "start": 776, + "end": 782, + "loc": { + "start": { + "line": 33, + "column": 10 + }, + "end": { + "line": 33, + "column": 16 + }, + "identifierName": "concat" }, - { - "type": "ArrayExpression", - "start": 1155, - "end": 1157, - "loc": { - "start": { - "line": 45, - "column": 10 - }, - "end": { - "line": 45, - "column": 12 - } + "name": "concat" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 783, + "end": 786, + "loc": { + "start": { + "line": 33, + "column": 17 }, - "elements": [] - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "ReturnStatement", - "start": 1177, - "end": 1186, - "loc": { - "start": { - "line": 47, - "column": 8 - }, - "end": { - "line": 47, - "column": 17 + "end": { + "line": 33, + "column": 20 + }, + "identifierName": "acc" + }, + "name": "acc" + } + ] } }, - "argument": { - "type": "Identifier", - "start": 1184, - "end": 1185, + { + "type": "ArrayExpression", + "start": 797, + "end": 799, "loc": { "start": { - "line": 47, - "column": 15 + "line": 34, + "column": 8 }, "end": { - "line": 47, - "column": 16 - }, - "identifierName": "a" + "line": 34, + "column": 10 + } }, - "name": "a" + "elements": [] } - } - ], - "directives": [] - } - }, - { - "type": "ArrayExpression", - "start": 1202, - "end": 1211, - "loc": { - "start": { - "line": 49, - "column": 6 - }, - "end": { - "line": 49, - "column": 15 + ] } }, - "elements": [ - { - "type": "MemberExpression", - "start": 1203, - "end": 1210, - "loc": { - "start": { - "line": 49, - "column": 7 - }, - "end": { - "line": 49, - "column": 14 - } + { + "type": "ArrayExpression", + "start": 815, + "end": 824, + "loc": { + "start": { + "line": 36, + "column": 6 }, - "object": { - "type": "ThisExpression", - "start": 1203, - "end": 1207, + "end": { + "line": 36, + "column": 15 + } + }, + "elements": [ + { + "type": "MemberExpression", + "start": 816, + "end": 823, "loc": { "start": { - "line": 49, + "line": 36, "column": 7 }, "end": { - "line": 49, - "column": 11 - } - } - }, - "property": { - "type": "Identifier", - "start": 1208, - "end": 1210, - "loc": { - "start": { - "line": 49, - "column": 12 - }, - "end": { - "line": 49, + "line": 36, "column": 14 + } + }, + "object": { + "type": "ThisExpression", + "start": 816, + "end": 820, + "loc": { + "start": { + "line": 36, + "column": 7 + }, + "end": { + "line": 36, + "column": 11 + } + } + }, + "property": { + "type": "Identifier", + "start": 821, + "end": 823, + "loc": { + "start": { + "line": 36, + "column": 12 + }, + "end": { + "line": 36, + "column": 14 + }, + "identifierName": "lc" }, - "identifierName": "lc" + "name": "lc" }, - "name": "lc" - }, - "computed": false - } - ] - } - ] + "computed": false + } + ] + } + ] + } } - } - ], - "directives": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Run calculation to find all fully qualified Long Counts\n * @return {LongCount[]}\n ", - "start": 319, - "end": 416, - "loc": { - "start": { - "line": 19, - "column": 2 - }, - "end": { - "line": 22, - "column": 5 + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Run calculation to find all fully qualified Long Counts\n * @return {LongCount[]}\n ", + "start": 314, + "end": 411, + "loc": { + "start": { + "line": 18, + "column": 2 + }, + "end": { + "line": 21, + "column": 5 + } } } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Given a Long Count with a wildcard, calculate all possible matching fully\n * qualified Long Counts.\n ", + "start": 37, + "end": 147, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 6, + "column": 3 } - ] + } } - ] + ], + "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Given a Long Count with a wildcard, calculate all possible matching fully\n * qualified Long Counts.\n ", - "start": 57, - "end": 167, + "start": 37, + "end": 147, "loc": { "start": { - "line": 4, + "line": 3, "column": 0 }, "end": { - "line": 7, + "line": 6, "column": 3 } } } ] - }, - { - "type": "ExpressionStatement", - "start": 1227, - "end": 1262, - "loc": { - "start": { - "line": 55, - "column": 0 - }, - "end": { - "line": 55, - "column": 35 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1227, - "end": 1261, - "loc": { - "start": { - "line": 55, - "column": 0 - }, - "end": { - "line": 55, - "column": 34 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1227, - "end": 1241, - "loc": { - "start": { - "line": 55, - "column": 0 - }, - "end": { - "line": 55, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 1227, - "end": 1233, - "loc": { - "start": { - "line": 55, - "column": 0 - }, - "end": { - "line": 55, - "column": 6 - }, - "identifierName": "module" - }, - "name": "module" - }, - "property": { - "type": "Identifier", - "start": 1234, - "end": 1241, - "loc": { - "start": { - "line": 55, - "column": 7 - }, - "end": { - "line": 55, - "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 1244, - "end": 1261, - "loc": { - "start": { - "line": 55, - "column": 17 - }, - "end": { - "line": 55, - "column": 34 - }, - "identifierName": "LongCountWildcard" - }, - "name": "LongCountWildcard" - } - } } ], "directives": [] }, "comments": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Given a Long Count with a wildcard, calculate all possible matching fully\n * qualified Long Counts.\n ", - "start": 57, - "end": 167, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 7, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @param {LongCount} lc\n ", - "start": 196, - "end": 232, - "loc": { - "start": { - "line": 9, - "column": 2 - }, - "end": { - "line": 11, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @type {LongCount}\n ", - "start": 257, - "end": 293, - "loc": { - "start": { - "line": 13, - "column": 4 - }, - "end": { - "line": 15, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Run calculation to find all fully qualified Long Counts\n * @return {LongCount[]}\n ", - "start": 319, - "end": 416, - "loc": { - "start": { - "line": 19, - "column": 2 - }, - "end": { - "line": 22, - "column": 5 - } - } - } - ], - "tokens": [ - { - "type": "CommentBlock", - "value": "* @ignore ", - "start": 0, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 15, - "end": 20, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "wildcard", - "start": 21, - "end": 29, - "loc": { - "start": { - "line": 2, - "column": 6 - }, - "end": { - "line": 2, - "column": 14 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 30, - "end": 31, - "loc": { - "start": { - "line": 2, - "column": 15 - }, - "end": { - "line": 2, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "require", - "start": 32, - "end": 39, - "loc": { - "start": { - "line": 2, - "column": 17 - }, - "end": { - "line": 2, - "column": 24 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 39, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 24 - }, - "end": { - "line": 2, - "column": 25 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "../wildcard", - "start": 40, - "end": 53, - "loc": { - "start": { - "line": 2, - "column": 25 - }, - "end": { - "line": 2, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 53, - "end": 54, - "loc": { - "start": { - "line": 2, - "column": 38 - }, - "end": { - "line": 2, - "column": 39 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 54, - "end": 55, - "loc": { - "start": { - "line": 2, - "column": 39 - }, - "end": { - "line": 2, - "column": 40 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Given a Long Count with a wildcard, calculate all possible matching fully\n * qualified Long Counts.\n ", - "start": 57, - "end": 167, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 7, - "column": 3 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 168, - "end": 173, - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 8, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "LongCountWildcard", - "start": 174, - "end": 191, - "loc": { - "start": { - "line": 8, - "column": 6 - }, - "end": { - "line": 8, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 192, - "end": 193, - "loc": { - "start": { - "line": 8, - "column": 24 - }, - "end": { - "line": 8, - "column": 25 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @param {LongCount} lc\n ", - "start": 196, - "end": 232, - "loc": { - "start": { - "line": 9, - "column": 2 - }, - "end": { - "line": 11, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "constructor", - "start": 235, - "end": 246, - "loc": { - "start": { - "line": 12, - "column": 2 - }, - "end": { - "line": 12, - "column": 13 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 246, - "end": 247, - "loc": { - "start": { - "line": 12, - "column": 13 - }, - "end": { - "line": 12, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "lc", - "start": 247, - "end": 249, - "loc": { - "start": { - "line": 12, - "column": 14 - }, - "end": { - "line": 12, - "column": 16 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 249, - "end": 250, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 17 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 251, - "end": 252, - "loc": { - "start": { - "line": 12, - "column": 18 - }, - "end": { - "line": 12, - "column": 19 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @type {LongCount}\n ", - "start": 257, - "end": 293, - "loc": { - "start": { - "line": 13, - "column": 4 - }, - "end": { - "line": 15, - "column": 7 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 298, - "end": 302, - "loc": { - "start": { - "line": 16, - "column": 4 - }, - "end": { - "line": 16, - "column": 8 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 302, - "end": 303, - "loc": { - "start": { - "line": 16, - "column": 8 - }, - "end": { - "line": 16, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "lc", - "start": 303, - "end": 305, - "loc": { - "start": { - "line": 16, - "column": 9 - }, - "end": { - "line": 16, - "column": 11 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 306, - "end": 307, - "loc": { - "start": { - "line": 16, - "column": 12 - }, - "end": { - "line": 16, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "lc", - "start": 308, - "end": 310, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 16 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 310, - "end": 311, - "loc": { - "start": { - "line": 16, - "column": 16 - }, - "end": { - "line": 16, - "column": 17 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 314, - "end": 315, - "loc": { - "start": { - "line": 17, - "column": 2 - }, - "end": { - "line": 17, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Run calculation to find all fully qualified Long Counts\n * @return {LongCount[]}\n ", - "start": 319, - "end": 416, - "loc": { - "start": { - "line": 19, - "column": 2 - }, - "end": { - "line": 22, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "run", - "start": 419, - "end": 422, - "loc": { - "start": { - "line": 23, - "column": 2 - }, - "end": { - "line": 23, - "column": 5 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 422, - "end": 423, - "loc": { - "start": { - "line": 23, - "column": 5 - }, - "end": { - "line": 23, - "column": 6 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 423, - "end": 424, - "loc": { - "start": { - "line": 23, - "column": 6 - }, - "end": { - "line": 23, - "column": 7 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 425, - "end": 426, - "loc": { - "start": { - "line": 23, - "column": 8 - }, - "end": { - "line": 23, - "column": 9 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 431, - "end": 436, - "loc": { - "start": { - "line": 24, - "column": 4 - }, - "end": { - "line": 24, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "wcIndexes", - "start": 437, - "end": 446, - "loc": { - "start": { - "line": 24, - "column": 10 - }, - "end": { - "line": 24, - "column": 19 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 447, - "end": 448, - "loc": { - "start": { - "line": 24, - "column": 20 - }, - "end": { - "line": 24, - "column": 21 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 449, - "end": 453, - "loc": { - "start": { - "line": 24, - "column": 22 - }, - "end": { - "line": 24, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 453, - "end": 454, - "loc": { - "start": { - "line": 24, - "column": 26 - }, - "end": { - "line": 24, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "lc", - "start": 454, - "end": 456, - "loc": { - "start": { - "line": 24, - "column": 27 - }, - "end": { - "line": 24, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 456, - "end": 457, - "loc": { - "start": { - "line": 24, - "column": 29 - }, - "end": { - "line": 24, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "map", - "start": 457, - "end": 460, - "loc": { - "start": { - "line": 24, - "column": 30 - }, - "end": { - "line": 24, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 460, - "end": 461, - "loc": { - "start": { - "line": 24, - "column": 33 - }, - "end": { - "line": 24, - "column": 34 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 468, - "end": 469, - "loc": { - "start": { - "line": 25, - "column": 6 - }, - "end": { - "line": 25, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "part", - "start": 469, - "end": 473, - "loc": { - "start": { - "line": 25, - "column": 7 - }, - "end": { - "line": 25, - "column": 11 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 473, - "end": 474, - "loc": { - "start": { - "line": 25, - "column": 11 - }, - "end": { - "line": 25, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "i", - "start": 475, - "end": 476, - "loc": { - "start": { - "line": 25, - "column": 13 - }, - "end": { - "line": 25, - "column": 14 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 476, - "end": 477, - "loc": { - "start": { - "line": 25, - "column": 14 - }, - "end": { - "line": 25, - "column": 15 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 478, - "end": 480, - "loc": { - "start": { - "line": 25, - "column": 16 - }, - "end": { - "line": 25, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 481, - "end": 482, - "loc": { - "start": { - "line": 25, - "column": 19 - }, - "end": { - "line": 25, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 482, - "end": 483, - "loc": { - "start": { - "line": 25, - "column": 20 - }, - "end": { - "line": 25, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "part", - "start": 483, - "end": 487, - "loc": { - "start": { - "line": 25, - "column": 21 - }, - "end": { - "line": 25, - "column": 25 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 488, - "end": 491, - "loc": { - "start": { - "line": 25, - "column": 26 - }, - "end": { - "line": 25, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "wildcard", - "start": 492, - "end": 500, - "loc": { - "start": { - "line": 25, - "column": 30 - }, - "end": { - "line": 25, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 500, - "end": 501, + { + "type": "CommentBlock", + "value": "*\n * Given a Long Count with a wildcard, calculate all possible matching fully\n * qualified Long Counts.\n ", + "start": 37, + "end": 147, "loc": { "start": { - "line": 25, - "column": 38 + "line": 3, + "column": 0 }, "end": { - "line": 25, - "column": 39 + "line": 6, + "column": 3 } } }, { - "type": { - "label": "?", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 502, - "end": 503, + "type": "CommentBlock", + "value": "*\n * @param {LongCount} lc\n ", + "start": 191, + "end": 227, "loc": { "start": { - "line": 25, - "column": 40 + "line": 8, + "column": 2 }, "end": { - "line": 25, - "column": 41 + "line": 10, + "column": 5 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "i", - "start": 504, - "end": 505, + "type": "CommentBlock", + "value": "*\n * @type {LongCount}\n ", + "start": 252, + "end": 288, "loc": { "start": { - "line": 25, - "column": 42 + "line": 12, + "column": 4 }, "end": { - "line": 25, - "column": 43 + "line": 14, + "column": 7 } } }, { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 506, - "end": 507, + "type": "CommentBlock", + "value": "*\n * Run calculation to find all fully qualified Long Counts\n * @return {LongCount[]}\n ", + "start": 314, + "end": 411, "loc": { "start": { - "line": 25, - "column": 44 + "line": 18, + "column": 2 }, "end": { - "line": 25, - "column": 45 + "line": 21, + "column": 5 } } - }, + } + ], + "tokens": [ { "type": { - "label": "false", - "keyword": "false", + "label": "import", + "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -4021,25 +1846,25 @@ "binop": null, "updateContext": null }, - "value": "false", - "start": 508, - "end": 513, + "value": "import", + "start": 0, + "end": 6, "loc": { "start": { - "line": 25, - "column": 46 + "line": 1, + "column": 0 }, "end": { - "line": 25, - "column": 51 + "line": 1, + "column": 6 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4047,24 +1872,25 @@ "postfix": false, "binop": null }, - "start": 513, - "end": 514, + "value": "wildcard", + "start": 7, + "end": 15, "loc": { "start": { - "line": 25, - "column": 51 + "line": 1, + "column": 7 }, "end": { - "line": 25, - "column": 52 + "line": 1, + "column": 15 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4072,24 +1898,25 @@ "postfix": false, "binop": null }, - "start": 519, - "end": 520, + "value": "from", + "start": 16, + "end": 20, "loc": { "start": { - "line": 26, - "column": 4 + "line": 1, + "column": 16 }, "end": { - "line": 26, - "column": 5 + "line": 1, + "column": 20 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4098,24 +1925,24 @@ "binop": null, "updateContext": null }, - "start": 520, - "end": 521, + "value": "../wildcard", + "start": 21, + "end": 34, "loc": { "start": { - "line": 26, - "column": 5 + "line": 1, + "column": 21 }, "end": { - "line": 26, - "column": 6 + "line": 1, + "column": 34 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4125,102 +1952,95 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 527, - "end": 532, + "start": 34, + "end": 35, "loc": { "start": { - "line": 28, - "column": 4 + "line": 1, + "column": 34 }, "end": { - "line": 28, - "column": 9 + "line": 1, + "column": 35 } } }, { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "filteredWcIndexes", - "start": 533, - "end": 550, + "type": "CommentBlock", + "value": "*\n * Given a Long Count with a wildcard, calculate all possible matching fully\n * qualified Long Counts.\n ", + "start": 37, + "end": 147, "loc": { "start": { - "line": 28, - "column": 10 + "line": 3, + "column": 0 }, "end": { - "line": 28, - "column": 27 + "line": 6, + "column": 3 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "export", + "keyword": "export", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 551, - "end": 552, + "value": "export", + "start": 148, + "end": 154, "loc": { "start": { - "line": 28, - "column": 28 + "line": 7, + "column": 0 }, "end": { - "line": 28, - "column": 29 + "line": 7, + "column": 6 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "wcIndexes", - "start": 553, - "end": 562, + "value": "default", + "start": 155, + "end": 162, "loc": { "start": { - "line": 28, - "column": 30 + "line": 7, + "column": 7 }, "end": { - "line": 28, - "column": 39 + "line": 7, + "column": 14 } } }, { "type": { - "label": ".", + "label": "class", + "keyword": "class", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -4231,16 +2051,17 @@ "binop": null, "updateContext": null }, - "start": 562, - "end": 563, + "value": "class", + "start": 163, + "end": 168, "loc": { "start": { - "line": 28, - "column": 39 + "line": 7, + "column": 15 }, "end": { - "line": 28, - "column": 40 + "line": 7, + "column": 20 } } }, @@ -4256,23 +2077,23 @@ "postfix": false, "binop": null }, - "value": "filter", - "start": 563, - "end": 569, + "value": "LongCountWildcard", + "start": 169, + "end": 186, "loc": { "start": { - "line": 28, - "column": 40 + "line": 7, + "column": 21 }, "end": { - "line": 28, - "column": 46 + "line": 7, + "column": 38 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -4282,23 +2103,39 @@ "postfix": false, "binop": null }, - "start": 569, - "end": 570, + "start": 187, + "end": 188, "loc": { "start": { - "line": 28, - "column": 46 + "line": 7, + "column": 39 }, "end": { - "line": 28, - "column": 47 + "line": 7, + "column": 40 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {LongCount} lc\n ", + "start": 191, + "end": 227, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 10, + "column": 5 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -4307,23 +2144,24 @@ "postfix": false, "binop": null }, - "start": 577, - "end": 578, + "value": "constructor", + "start": 230, + "end": 241, "loc": { "start": { - "line": 29, - "column": 6 + "line": 11, + "column": 2 }, "end": { - "line": 29, - "column": 7 + "line": 11, + "column": 13 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -4332,25 +2170,24 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 578, - "end": 579, + "start": 241, + "end": 242, "loc": { "start": { - "line": 29, - "column": 7 + "line": 11, + "column": 13 }, "end": { - "line": 29, - "column": 8 + "line": 11, + "column": 14 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4358,49 +2195,49 @@ "postfix": false, "binop": null }, - "start": 579, - "end": 580, + "value": "lc", + "start": 242, + "end": 244, "loc": { "start": { - "line": 29, - "column": 8 + "line": 11, + "column": 14 }, "end": { - "line": 29, - "column": 9 + "line": 11, + "column": 16 } } }, { "type": { - "label": "=>", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 581, - "end": 583, + "start": 244, + "end": 245, "loc": { "start": { - "line": 29, - "column": 10 + "line": 11, + "column": 16 }, "end": { - "line": 29, - "column": 12 + "line": 11, + "column": 17 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -4409,51 +2246,39 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 584, - "end": 585, + "start": 246, + "end": 247, "loc": { "start": { - "line": 29, - "column": 13 + "line": 11, + "column": 18 }, "end": { - "line": 29, - "column": 14 + "line": 11, + "column": 19 } } }, { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "!==", - "start": 586, - "end": 589, + "type": "CommentBlock", + "value": "*\n * @type {LongCount}\n ", + "start": 252, + "end": 288, "loc": { "start": { - "line": 29, - "column": 15 + "line": 12, + "column": 4 }, "end": { - "line": 29, - "column": 18 + "line": 14, + "column": 7 } } }, { "type": { - "label": "false", - "keyword": "false", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -4464,23 +2289,23 @@ "binop": null, "updateContext": null }, - "value": "false", - "start": 590, - "end": 595, + "value": "this", + "start": 293, + "end": 297, "loc": { "start": { - "line": 29, - "column": 19 + "line": 15, + "column": 4 }, "end": { - "line": 29, - "column": 24 + "line": 15, + "column": 8 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -4488,72 +2313,72 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 600, - "end": 601, + "start": 297, + "end": 298, "loc": { "start": { - "line": 30, - "column": 4 + "line": 15, + "column": 8 }, "end": { - "line": 30, - "column": 5 + "line": 15, + "column": 9 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 601, - "end": 602, + "value": "lc", + "start": 298, + "end": 300, "loc": { "start": { - "line": 30, - "column": 5 + "line": 15, + "column": 9 }, "end": { - "line": 30, - "column": 6 + "line": 15, + "column": 11 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "return", - "start": 608, - "end": 614, + "value": "=", + "start": 301, + "end": 302, "loc": { "start": { - "line": 32, - "column": 4 + "line": 15, + "column": 12 }, "end": { - "line": 32, - "column": 10 + "line": 15, + "column": 13 } } }, @@ -4569,24 +2394,24 @@ "postfix": false, "binop": null }, - "value": "filteredWcIndexes", - "start": 615, - "end": 632, + "value": "lc", + "start": 303, + "end": 305, "loc": { "start": { - "line": 32, - "column": 11 + "line": 15, + "column": 14 }, "end": { - "line": 32, - "column": 28 + "line": 15, + "column": 16 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4596,24 +2421,24 @@ "binop": null, "updateContext": null }, - "start": 632, - "end": 633, + "start": 305, + "end": 306, "loc": { "start": { - "line": 32, - "column": 28 + "line": 15, + "column": 16 }, "end": { - "line": 32, - "column": 29 + "line": 15, + "column": 17 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4621,24 +2446,39 @@ "postfix": false, "binop": null }, - "value": "reduce", - "start": 633, - "end": 639, + "start": 309, + "end": 310, "loc": { "start": { - "line": 32, - "column": 29 + "line": 16, + "column": 2 }, "end": { - "line": 32, - "column": 35 + "line": 16, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Run calculation to find all fully qualified Long Counts\n * @return {LongCount[]}\n ", + "start": 314, + "end": 411, + "loc": { + "start": { + "line": 18, + "column": 2 + }, + "end": { + "line": 21, + "column": 5 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -4647,24 +2487,24 @@ "postfix": false, "binop": null }, - "start": 639, - "end": 640, + "value": "run", + "start": 414, + "end": 417, "loc": { "start": { - "line": 32, - "column": 35 + "line": 22, + "column": 2 }, "end": { - "line": 32, - "column": 36 + "line": 22, + "column": 5 } } }, { "type": { - "label": "function", - "keyword": "function", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -4673,25 +2513,24 @@ "postfix": false, "binop": null }, - "value": "function", - "start": 647, - "end": 655, + "start": 417, + "end": 418, "loc": { "start": { - "line": 33, - "column": 6 + "line": 22, + "column": 5 }, "end": { - "line": 33, - "column": 14 + "line": 22, + "column": 6 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4699,23 +2538,23 @@ "postfix": false, "binop": null }, - "start": 656, - "end": 657, + "start": 418, + "end": 419, "loc": { "start": { - "line": 33, - "column": 15 + "line": 22, + "column": 6 }, "end": { - "line": 33, - "column": 16 + "line": 22, + "column": 7 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -4724,23 +2563,23 @@ "postfix": false, "binop": null }, - "value": "potentials", - "start": 657, - "end": 667, + "start": 420, + "end": 421, "loc": { "start": { - "line": 33, - "column": 16 + "line": 22, + "column": 8 }, "end": { - "line": 33, - "column": 26 + "line": 22, + "column": 9 } } }, { "type": { - "label": ",", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -4751,22 +2590,24 @@ "binop": null, "updateContext": null }, - "start": 667, - "end": 668, + "value": "return", + "start": 426, + "end": 432, "loc": { "start": { - "line": 33, - "column": 26 + "line": 23, + "column": 4 }, "end": { - "line": 33, - "column": 27 + "line": 23, + "column": 10 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -4774,25 +2615,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "position", - "start": 669, - "end": 677, + "value": "this", + "start": 433, + "end": 437, "loc": { "start": { - "line": 33, - "column": 28 + "line": 23, + "column": 11 }, "end": { - "line": 33, - "column": 36 + "line": 23, + "column": 15 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -4800,25 +2642,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 677, - "end": 678, + "start": 437, + "end": 438, "loc": { "start": { - "line": 33, - "column": 36 + "line": 23, + "column": 15 }, "end": { - "line": 33, - "column": 37 + "line": 23, + "column": 16 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -4827,23 +2670,23 @@ "postfix": false, "binop": null }, - "start": 679, - "end": 680, + "value": "lc", + "start": 438, + "end": 440, "loc": { "start": { - "line": 33, - "column": 38 + "line": 23, + "column": 16 }, "end": { - "line": 33, - "column": 39 + "line": 23, + "column": 18 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -4854,17 +2697,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 689, - "end": 694, + "start": 440, + "end": 441, "loc": { "start": { - "line": 34, - "column": 8 + "line": 23, + "column": 18 }, "end": { - "line": 34, - "column": 13 + "line": 23, + "column": 19 } } }, @@ -4880,51 +2722,24 @@ "postfix": false, "binop": null }, - "value": "a", - "start": 695, - "end": 696, + "value": "map", + "start": 441, + "end": 444, "loc": { "start": { - "line": 34, - "column": 14 + "line": 23, + "column": 19 }, "end": { - "line": 34, - "column": 15 + "line": 23, + "column": 22 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 697, - "end": 698, - "loc": { - "start": { - "line": 34, - "column": 16 - }, - "end": { - "line": 34, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -4933,43 +2748,41 @@ "postfix": false, "binop": null }, - "value": "potentials", - "start": 699, - "end": 709, + "start": 444, + "end": 445, "loc": { "start": { - "line": 34, - "column": 18 + "line": 23, + "column": 22 }, "end": { - "line": 34, - "column": 28 + "line": 23, + "column": 23 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 709, - "end": 710, + "start": 452, + "end": 453, "loc": { "start": { - "line": 34, - "column": 28 + "line": 24, + "column": 6 }, "end": { - "line": 34, - "column": 29 + "line": 24, + "column": 7 } } }, @@ -4985,49 +2798,49 @@ "postfix": false, "binop": null }, - "value": "reduce", - "start": 710, - "end": 716, + "value": "part", + "start": 453, + "end": 457, "loc": { "start": { - "line": 34, - "column": 29 + "line": 24, + "column": 7 }, "end": { - "line": 34, - "column": 35 + "line": 24, + "column": 11 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 716, - "end": 717, + "start": 457, + "end": 458, "loc": { "start": { - "line": 34, - "column": 35 + "line": 24, + "column": 11 }, "end": { - "line": 34, - "column": 36 + "line": 24, + "column": 12 } } }, { "type": { - "label": "function", - "keyword": "function", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -5037,25 +2850,25 @@ "postfix": false, "binop": null }, - "value": "function", - "start": 728, - "end": 736, + "value": "i", + "start": 459, + "end": 460, "loc": { "start": { - "line": 35, - "column": 10 + "line": 24, + "column": 13 }, "end": { - "line": 35, - "column": 18 + "line": 24, + "column": 14 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5063,75 +2876,74 @@ "postfix": false, "binop": null }, - "start": 737, - "end": 738, + "start": 460, + "end": 461, "loc": { "start": { - "line": 35, - "column": 19 + "line": 24, + "column": 14 }, "end": { - "line": 35, - "column": 20 + "line": 24, + "column": 15 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=>", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "acc", - "start": 738, - "end": 741, + "start": 462, + "end": 464, "loc": { "start": { - "line": 35, - "column": 20 + "line": 24, + "column": 16 }, "end": { - "line": 35, - "column": 23 + "line": 24, + "column": 18 } } }, { "type": { - "label": ",", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 741, - "end": 742, + "start": 465, + "end": 466, "loc": { "start": { - "line": 35, - "column": 23 + "line": 24, + "column": 19 }, "end": { - "line": 35, - "column": 24 + "line": 24, + "column": 20 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -5140,25 +2952,24 @@ "postfix": false, "binop": null }, - "value": "possible", - "start": 743, - "end": 751, + "start": 466, + "end": 467, "loc": { "start": { - "line": 35, - "column": 25 + "line": 24, + "column": 20 }, "end": { - "line": 35, - "column": 33 + "line": 24, + "column": 21 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5166,77 +2977,78 @@ "postfix": false, "binop": null }, - "start": 751, - "end": 752, + "value": "part", + "start": 467, + "end": 471, "loc": { "start": { - "line": 35, - "column": 33 + "line": 24, + "column": 21 }, "end": { - "line": 35, - "column": 34 + "line": 24, + "column": 25 } } }, { "type": { - "label": "{", + "label": "==/!=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 6, + "updateContext": null }, - "start": 753, - "end": 754, + "value": "===", + "start": 472, + "end": 475, "loc": { "start": { - "line": 35, - "column": 35 + "line": 24, + "column": 26 }, "end": { - "line": 35, - "column": 36 + "line": 24, + "column": 29 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 767, - "end": 772, + "value": "wildcard", + "start": 476, + "end": 484, "loc": { "start": { - "line": 36, - "column": 12 + "line": 24, + "column": 30 }, "end": { - "line": 36, - "column": 17 + "line": 24, + "column": 38 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5244,131 +3056,130 @@ "postfix": false, "binop": null }, - "value": "dayMonths", - "start": 773, - "end": 782, + "start": 484, + "end": 485, "loc": { "start": { - "line": 36, - "column": 18 + "line": 24, + "column": 38 }, "end": { - "line": 36, - "column": 27 + "line": 24, + "column": 39 } } }, { "type": { - "label": "=", + "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 783, - "end": 784, + "start": 486, + "end": 487, "loc": { "start": { - "line": 36, - "column": 28 + "line": 24, + "column": 40 }, "end": { - "line": 36, - "column": 29 + "line": 24, + "column": 41 } } }, { "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "new", - "start": 785, - "end": 788, + "value": "i", + "start": 488, + "end": 489, "loc": { "start": { - "line": 36, - "column": 30 + "line": 24, + "column": 42 }, "end": { - "line": 36, - "column": 33 + "line": 24, + "column": 43 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ":", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Array", - "start": 789, - "end": 794, + "start": 490, + "end": 491, "loc": { "start": { - "line": 36, - "column": 34 + "line": 24, + "column": 44 }, "end": { - "line": 36, - "column": 39 + "line": 24, + "column": 45 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "false", + "keyword": "false", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 794, - "end": 795, + "value": "false", + "start": 492, + "end": 497, "loc": { "start": { - "line": 36, - "column": 39 + "line": 24, + "column": 46 }, "end": { - "line": 36, - "column": 40 + "line": 24, + "column": 51 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5376,24 +3187,24 @@ "postfix": false, "binop": null }, - "start": 795, - "end": 796, + "start": 497, + "end": 498, "loc": { "start": { - "line": 36, - "column": 40 + "line": 24, + "column": 51 }, "end": { - "line": 36, - "column": 41 + "line": 24, + "column": 52 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5401,50 +3212,48 @@ "postfix": false, "binop": null }, - "value": "position", - "start": 796, - "end": 804, + "start": 503, + "end": 504, "loc": { "start": { - "line": 36, - "column": 41 + "line": 25, + "column": 4 }, "end": { - "line": 36, - "column": 49 + "line": 25, + "column": 5 } } }, { "type": { - "label": "==/!=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 6, + "binop": null, "updateContext": null }, - "value": "===", - "start": 805, - "end": 808, + "start": 504, + "end": 505, "loc": { "start": { - "line": 36, - "column": 50 + "line": 25, + "column": 5 }, "end": { - "line": 36, - "column": 53 + "line": 25, + "column": 6 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -5452,28 +3261,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 1, - "start": 809, - "end": 810, + "value": "filter", + "start": 505, + "end": 511, "loc": { "start": { - "line": 36, - "column": 54 + "line": 25, + "column": 6 }, "end": { - "line": 36, - "column": 55 + "line": 25, + "column": 12 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5481,48 +3289,47 @@ "postfix": false, "binop": null }, - "start": 810, - "end": 811, + "start": 511, + "end": 512, "loc": { "start": { - "line": 36, - "column": 55 + "line": 25, + "column": 12 }, "end": { - "line": 36, - "column": 56 + "line": 25, + "column": 13 } } }, { "type": { - "label": "?", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 812, - "end": 813, + "start": 519, + "end": 520, "loc": { "start": { - "line": 36, - "column": 57 + "line": 26, + "column": 6 }, "end": { - "line": 36, - "column": 58 + "line": 26, + "column": 7 } } }, { "type": { - "label": "num", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -5530,54 +3337,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": 15, - "start": 814, - "end": 816, + "value": "i", + "start": 520, + "end": 521, "loc": { "start": { - "line": 36, - "column": 59 + "line": 26, + "column": 7 }, "end": { - "line": 36, - "column": 61 + "line": 26, + "column": 8 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 817, - "end": 818, + "start": 521, + "end": 522, "loc": { "start": { - "line": 36, - "column": 62 + "line": 26, + "column": 8 }, "end": { - "line": 36, - "column": 63 + "line": 26, + "column": 9 } } }, { "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, + "label": "=>", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5586,25 +3391,24 @@ "binop": null, "updateContext": null }, - "value": 20, - "start": 819, - "end": 821, + "start": 523, + "end": 525, "loc": { "start": { - "line": 36, - "column": 64 + "line": 26, + "column": 10 }, "end": { - "line": 36, - "column": 66 + "line": 26, + "column": 12 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5612,22 +3416,23 @@ "postfix": false, "binop": null }, - "start": 821, - "end": 822, + "value": "i", + "start": 526, + "end": 527, "loc": { "start": { - "line": 36, - "column": 66 + "line": 26, + "column": 13 }, "end": { - "line": 36, - "column": 67 + "line": 26, + "column": 14 } } }, { "type": { - "label": ";", + "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -5635,28 +3440,29 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 6, "updateContext": null }, - "start": 822, - "end": 823, + "value": "!==", + "start": 528, + "end": 531, "loc": { "start": { - "line": 36, - "column": 67 + "line": 26, + "column": 15 }, "end": { - "line": 36, - "column": 68 + "line": 26, + "column": 18 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "false", + "keyword": "false", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5665,25 +3471,25 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 836, - "end": 841, + "value": "false", + "start": 532, + "end": 537, "loc": { "start": { - "line": 37, - "column": 12 + "line": 26, + "column": 19 }, "end": { - "line": 37, - "column": 17 + "line": 26, + "column": 24 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5691,44 +3497,42 @@ "postfix": false, "binop": null }, - "value": "filledDayMonths", - "start": 842, - "end": 857, + "start": 542, + "end": 543, "loc": { "start": { - "line": 37, - "column": 18 + "line": 27, + "column": 4 }, "end": { - "line": 37, - "column": 33 + "line": 27, + "column": 5 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 858, - "end": 859, + "start": 543, + "end": 544, "loc": { "start": { - "line": 37, - "column": 34 + "line": 27, + "column": 5 }, "end": { - "line": 37, - "column": 35 + "line": 27, + "column": 6 } } }, @@ -5744,50 +3548,24 @@ "postfix": false, "binop": null }, - "value": "dayMonths", - "start": 860, - "end": 869, - "loc": { - "start": { - "line": 37, - "column": 36 - }, - "end": { - "line": 37, - "column": 45 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 869, - "end": 870, + "value": "reduce", + "start": 544, + "end": 550, "loc": { "start": { - "line": 37, - "column": 45 + "line": 27, + "column": 6 }, "end": { - "line": 37, - "column": 46 + "line": 27, + "column": 12 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -5796,17 +3574,16 @@ "postfix": false, "binop": null }, - "value": "fill", - "start": 870, - "end": 874, + "start": 550, + "end": 551, "loc": { "start": { - "line": 37, - "column": 46 + "line": 27, + "column": 12 }, "end": { - "line": 37, - "column": 50 + "line": 27, + "column": 13 } } }, @@ -5822,24 +3599,24 @@ "postfix": false, "binop": null }, - "start": 874, - "end": 875, + "start": 558, + "end": 559, "loc": { "start": { - "line": 37, - "column": 50 + "line": 28, + "column": 6 }, "end": { - "line": 37, - "column": 51 + "line": 28, + "column": 7 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5847,22 +3624,23 @@ "postfix": false, "binop": null }, - "start": 875, - "end": 876, + "value": "potentials", + "start": 559, + "end": 569, "loc": { "start": { - "line": 37, - "column": 51 + "line": 28, + "column": 7 }, "end": { - "line": 37, - "column": 52 + "line": 28, + "column": 17 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -5873,52 +3651,50 @@ "binop": null, "updateContext": null }, - "start": 876, - "end": 877, + "start": 569, + "end": 570, "loc": { "start": { - "line": 37, - "column": 52 + "line": 28, + "column": 17 }, "end": { - "line": 37, - "column": 53 + "line": 28, + "column": 18 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 890, - "end": 895, + "value": "position", + "start": 571, + "end": 579, "loc": { "start": { - "line": 38, - "column": 12 + "line": 28, + "column": 19 }, "end": { - "line": 38, - "column": 17 + "line": 28, + "column": 27 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5926,44 +3702,42 @@ "postfix": false, "binop": null }, - "value": "b", - "start": 896, - "end": 897, + "start": 579, + "end": 580, "loc": { "start": { - "line": 38, - "column": 18 + "line": 28, + "column": 27 }, "end": { - "line": 38, - "column": 19 + "line": 28, + "column": 28 } } }, { "type": { - "label": "=", + "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 898, - "end": 899, + "start": 581, + "end": 583, "loc": { "start": { - "line": 38, - "column": 20 + "line": 28, + "column": 29 }, "end": { - "line": 38, - "column": 21 + "line": 28, + "column": 31 } } }, @@ -5979,17 +3753,17 @@ "postfix": false, "binop": null }, - "value": "filledDayMonths", - "start": 900, - "end": 915, + "value": "potentials", + "start": 584, + "end": 594, "loc": { "start": { - "line": 38, - "column": 22 + "line": 28, + "column": 32 }, "end": { - "line": 38, - "column": 37 + "line": 28, + "column": 42 } } }, @@ -6006,16 +3780,16 @@ "binop": null, "updateContext": null }, - "start": 915, - "end": 916, + "start": 594, + "end": 595, "loc": { "start": { - "line": 38, - "column": 37 + "line": 28, + "column": 42 }, "end": { - "line": 38, - "column": 38 + "line": 28, + "column": 43 } } }, @@ -6031,17 +3805,17 @@ "postfix": false, "binop": null }, - "value": "map", - "start": 916, - "end": 919, + "value": "reduce", + "start": 595, + "end": 601, "loc": { "start": { - "line": 38, - "column": 38 + "line": 28, + "column": 43 }, "end": { - "line": 38, - "column": 41 + "line": 28, + "column": 49 } } }, @@ -6057,42 +3831,15 @@ "postfix": false, "binop": null }, - "start": 919, - "end": 920, - "loc": { - "start": { - "line": 38, - "column": 41 - }, - "end": { - "line": 38, - "column": 42 - } - } - }, - { - "type": { - "label": "function", - "keyword": "function", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "function", - "start": 920, - "end": 928, + "start": 601, + "end": 602, "loc": { "start": { - "line": 38, - "column": 42 + "line": 28, + "column": 49 }, "end": { - "line": 38, + "line": 28, "column": 50 } } @@ -6109,16 +3856,16 @@ "postfix": false, "binop": null }, - "start": 929, - "end": 930, + "start": 611, + "end": 612, "loc": { "start": { - "line": 38, - "column": 51 + "line": 29, + "column": 8 }, "end": { - "line": 38, - "column": 52 + "line": 29, + "column": 9 } } }, @@ -6134,17 +3881,17 @@ "postfix": false, "binop": null }, - "value": "_", - "start": 930, - "end": 931, + "value": "acc", + "start": 612, + "end": 615, "loc": { "start": { - "line": 38, - "column": 52 + "line": 29, + "column": 9 }, "end": { - "line": 38, - "column": 53 + "line": 29, + "column": 12 } } }, @@ -6161,16 +3908,16 @@ "binop": null, "updateContext": null }, - "start": 931, - "end": 932, + "start": 615, + "end": 616, "loc": { "start": { - "line": 38, - "column": 53 + "line": 29, + "column": 12 }, "end": { - "line": 38, - "column": 54 + "line": 29, + "column": 13 } } }, @@ -6186,17 +3933,17 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 933, - "end": 934, + "value": "possible", + "start": 617, + "end": 625, "loc": { "start": { - "line": 38, - "column": 55 + "line": 29, + "column": 14 }, "end": { - "line": 38, - "column": 56 + "line": 29, + "column": 22 } } }, @@ -6212,50 +3959,51 @@ "postfix": false, "binop": null }, - "start": 934, - "end": 935, + "start": 625, + "end": 626, "loc": { "start": { - "line": 38, - "column": 56 + "line": 29, + "column": 22 }, "end": { - "line": 38, - "column": 57 + "line": 29, + "column": 23 } } }, { "type": { - "label": "{", + "label": "=>", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 936, - "end": 937, + "start": 627, + "end": 629, "loc": { "start": { - "line": 38, - "column": 58 + "line": 29, + "column": 24 }, "end": { - "line": 38, - "column": 59 + "line": 29, + "column": 26 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -6264,17 +4012,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 952, - "end": 957, + "value": "new", + "start": 630, + "end": 633, "loc": { "start": { - "line": 39, - "column": 14 + "line": 29, + "column": 27 }, "end": { - "line": 39, - "column": 19 + "line": 29, + "column": 30 } } }, @@ -6290,51 +4038,49 @@ "postfix": false, "binop": null }, - "value": "clone", - "start": 958, - "end": 963, + "value": "Array", + "start": 634, + "end": 639, "loc": { "start": { - "line": 39, - "column": 20 + "line": 29, + "column": 31 }, "end": { - "line": 39, - "column": 25 + "line": 29, + "column": 36 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 964, - "end": 965, + "start": 639, + "end": 640, "loc": { "start": { - "line": 39, - "column": 26 + "line": 29, + "column": 36 }, "end": { - "line": 39, - "column": 27 + "line": 29, + "column": 37 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -6343,94 +4089,96 @@ "postfix": false, "binop": null }, - "value": "possible", - "start": 966, - "end": 974, + "start": 651, + "end": 652, "loc": { "start": { - "line": 39, - "column": 28 + "line": 30, + "column": 10 }, "end": { - "line": 39, - "column": 36 + "line": 30, + "column": 11 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 974, - "end": 975, + "value": "position", + "start": 652, + "end": 660, "loc": { "start": { - "line": 39, - "column": 36 + "line": 30, + "column": 11 }, "end": { - "line": 39, - "column": 37 + "line": 30, + "column": 19 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 6, + "updateContext": null }, - "value": "clone", - "start": 975, - "end": 980, + "value": "===", + "start": 661, + "end": 664, "loc": { "start": { - "line": 39, - "column": 37 + "line": 30, + "column": 20 }, "end": { - "line": 39, - "column": 42 + "line": 30, + "column": 23 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "num", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 980, - "end": 981, + "value": 1, + "start": 665, + "end": 666, "loc": { "start": { - "line": 39, - "column": 42 + "line": 30, + "column": 24 }, "end": { - "line": 39, - "column": 43 + "line": 30, + "column": 25 } } }, @@ -6446,22 +4194,22 @@ "postfix": false, "binop": null }, - "start": 981, - "end": 982, + "start": 666, + "end": 667, "loc": { "start": { - "line": 39, - "column": 43 + "line": 30, + "column": 25 }, "end": { - "line": 39, - "column": 44 + "line": 30, + "column": 26 } } }, { "type": { - "label": ";", + "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -6472,25 +4220,24 @@ "binop": null, "updateContext": null }, - "start": 982, - "end": 983, + "start": 668, + "end": 669, "loc": { "start": { - "line": 39, - "column": 44 + "line": 30, + "column": 27 }, "end": { - "line": 39, - "column": 45 + "line": 30, + "column": 28 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -6499,78 +4246,78 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 998, - "end": 1003, + "value": 15, + "start": 670, + "end": 672, "loc": { "start": { - "line": 40, - "column": 14 + "line": 30, + "column": 29 }, "end": { - "line": 40, - "column": 19 + "line": 30, + "column": 31 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ":", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "adjusted", - "start": 1004, - "end": 1012, + "start": 673, + "end": 674, "loc": { "start": { - "line": 40, - "column": 20 + "line": 30, + "column": 32 }, "end": { - "line": 40, - "column": 28 + "line": 30, + "column": 33 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "num", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1013, - "end": 1014, + "value": 20, + "start": 675, + "end": 677, "loc": { "start": { - "line": 40, - "column": 29 + "line": 30, + "column": 34 }, "end": { - "line": 40, - "column": 30 + "line": 30, + "column": 36 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -6578,17 +4325,16 @@ "postfix": false, "binop": null }, - "value": "clone", - "start": 1015, - "end": 1020, + "start": 686, + "end": 687, "loc": { "start": { - "line": 40, - "column": 31 + "line": 31, + "column": 8 }, "end": { - "line": 40, - "column": 36 + "line": 31, + "column": 9 } } }, @@ -6605,16 +4351,16 @@ "binop": null, "updateContext": null }, - "start": 1020, - "end": 1021, + "start": 687, + "end": 688, "loc": { "start": { - "line": 40, - "column": 36 + "line": 31, + "column": 9 }, "end": { - "line": 40, - "column": 37 + "line": 31, + "column": 10 } } }, @@ -6630,17 +4376,17 @@ "postfix": false, "binop": null }, - "value": "setDateSections", - "start": 1021, - "end": 1036, + "value": "fill", + "start": 688, + "end": 692, "loc": { "start": { - "line": 40, - "column": 37 + "line": 31, + "column": 10 }, "end": { - "line": 40, - "column": 52 + "line": 31, + "column": 14 } } }, @@ -6656,102 +4402,75 @@ "postfix": false, "binop": null }, - "start": 1036, - "end": 1037, - "loc": { - "start": { - "line": 40, - "column": 52 - }, - "end": { - "line": 40, - "column": 53 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "position", - "start": 1037, - "end": 1045, + "start": 692, + "end": 693, "loc": { "start": { - "line": 40, - "column": 53 + "line": 31, + "column": 14 }, "end": { - "line": 40, - "column": 61 + "line": 31, + "column": 15 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1045, - "end": 1046, + "start": 693, + "end": 694, "loc": { "start": { - "line": 40, - "column": 61 + "line": 31, + "column": 15 }, "end": { - "line": 40, - "column": 62 + "line": 31, + "column": 16 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "i", - "start": 1047, - "end": 1048, + "start": 694, + "end": 695, "loc": { "start": { - "line": 40, - "column": 63 + "line": 31, + "column": 16 }, "end": { - "line": 40, - "column": 64 + "line": 31, + "column": 17 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -6759,70 +4478,67 @@ "postfix": false, "binop": null }, - "start": 1048, - "end": 1049, + "value": "map", + "start": 695, + "end": 698, "loc": { "start": { - "line": 40, - "column": 64 + "line": 31, + "column": 17 }, "end": { - "line": 40, - "column": 65 + "line": 31, + "column": 20 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1049, - "end": 1050, + "start": 698, + "end": 699, "loc": { "start": { - "line": 40, - "column": 65 + "line": 31, + "column": 20 }, "end": { - "line": 40, - "column": 66 + "line": 31, + "column": 21 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 1065, - "end": 1071, + "start": 710, + "end": 711, "loc": { "start": { - "line": 41, - "column": 14 + "line": 32, + "column": 10 }, "end": { - "line": 41, - "column": 20 + "line": 32, + "column": 11 } } }, @@ -6838,23 +4554,23 @@ "postfix": false, "binop": null }, - "value": "adjusted", - "start": 1072, - "end": 1080, + "value": "_", + "start": 711, + "end": 712, "loc": { "start": { - "line": 41, - "column": 21 + "line": 32, + "column": 11 }, "end": { - "line": 41, - "column": 29 + "line": 32, + "column": 12 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -6865,24 +4581,24 @@ "binop": null, "updateContext": null }, - "start": 1080, - "end": 1081, + "start": 712, + "end": 713, "loc": { "start": { - "line": 41, - "column": 29 + "line": 32, + "column": 12 }, "end": { - "line": 41, - "column": 30 + "line": 32, + "column": 13 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -6890,16 +4606,17 @@ "postfix": false, "binop": null }, - "start": 1094, - "end": 1095, + "value": "i", + "start": 714, + "end": 715, "loc": { "start": { - "line": 42, - "column": 12 + "line": 32, + "column": 14 }, "end": { - "line": 42, - "column": 13 + "line": 32, + "column": 15 } } }, @@ -6915,23 +4632,23 @@ "postfix": false, "binop": null }, - "start": 1095, - "end": 1096, + "start": 715, + "end": 716, "loc": { "start": { - "line": 42, - "column": 13 + "line": 32, + "column": 15 }, "end": { - "line": 42, - "column": 14 + "line": 32, + "column": 16 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=>", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -6941,16 +4658,16 @@ "binop": null, "updateContext": null }, - "start": 1096, - "end": 1097, + "start": 717, + "end": 719, "loc": { "start": { - "line": 42, - "column": 14 + "line": 32, + "column": 17 }, "end": { - "line": 42, - "column": 15 + "line": 32, + "column": 19 } } }, @@ -6966,42 +4683,43 @@ "postfix": false, "binop": null }, - "value": "concat", - "start": 1097, - "end": 1103, + "value": "possible", + "start": 720, + "end": 728, "loc": { "start": { - "line": 42, - "column": 15 + "line": 32, + "column": 20 }, "end": { - "line": 42, - "column": 21 + "line": 32, + "column": 28 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1103, - "end": 1104, + "start": 728, + "end": 729, "loc": { "start": { - "line": 42, - "column": 21 + "line": 32, + "column": 28 }, "end": { - "line": 42, - "column": 22 + "line": 32, + "column": 29 } } }, @@ -7017,25 +4735,25 @@ "postfix": false, "binop": null }, - "value": "acc", - "start": 1104, - "end": 1107, + "value": "clone", + "start": 729, + "end": 734, "loc": { "start": { - "line": 42, - "column": 22 + "line": 32, + "column": 29 }, "end": { - "line": 42, - "column": 25 + "line": 32, + "column": 34 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7043,50 +4761,48 @@ "postfix": false, "binop": null }, - "start": 1107, - "end": 1108, + "start": 734, + "end": 735, "loc": { "start": { - "line": 42, - "column": 25 + "line": 32, + "column": 34 }, "end": { - "line": 42, - "column": 26 + "line": 32, + "column": 35 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1108, - "end": 1109, + "start": 735, + "end": 736, "loc": { "start": { - "line": 42, - "column": 26 + "line": 32, + "column": 35 }, "end": { - "line": 42, - "column": 27 + "line": 32, + "column": 36 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -7096,17 +4812,16 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 1122, - "end": 1128, + "start": 736, + "end": 737, "loc": { "start": { - "line": 43, - "column": 12 + "line": 32, + "column": 36 }, "end": { - "line": 43, - "column": 18 + "line": 32, + "column": 37 } } }, @@ -7122,51 +4837,50 @@ "postfix": false, "binop": null }, - "value": "b", - "start": 1129, - "end": 1130, + "value": "setDateSections", + "start": 737, + "end": 752, "loc": { "start": { - "line": 43, - "column": 19 + "line": 32, + "column": 37 }, "end": { - "line": 43, - "column": 20 + "line": 32, + "column": 52 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1130, - "end": 1131, + "start": 752, + "end": 753, "loc": { "start": { - "line": 43, - "column": 20 + "line": 32, + "column": 52 }, "end": { - "line": 43, - "column": 21 + "line": 32, + "column": 53 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7174,16 +4888,17 @@ "postfix": false, "binop": null }, - "start": 1142, - "end": 1143, + "value": "position", + "start": 753, + "end": 761, "loc": { "start": { - "line": 44, - "column": 10 + "line": 32, + "column": 53 }, "end": { - "line": 44, - "column": 11 + "line": 32, + "column": 61 } } }, @@ -7200,68 +4915,42 @@ "binop": null, "updateContext": null }, - "start": 1143, - "end": 1144, - "loc": { - "start": { - "line": 44, - "column": 11 - }, - "end": { - "line": 44, - "column": 12 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1155, - "end": 1156, + "start": 761, + "end": 762, "loc": { "start": { - "line": 45, - "column": 10 + "line": 32, + "column": 61 }, "end": { - "line": 45, - "column": 11 + "line": 32, + "column": 62 } } }, { "type": { - "label": "]", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1156, - "end": 1157, + "value": "i", + "start": 763, + "end": 764, "loc": { "start": { - "line": 45, - "column": 11 + "line": 32, + "column": 63 }, "end": { - "line": 45, - "column": 12 + "line": 32, + "column": 64 } } }, @@ -7277,50 +4966,48 @@ "postfix": false, "binop": null }, - "start": 1166, - "end": 1167, + "start": 764, + "end": 765, "loc": { "start": { - "line": 46, - "column": 8 + "line": 32, + "column": 64 }, "end": { - "line": 46, - "column": 9 + "line": 32, + "column": 65 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1167, - "end": 1168, + "start": 774, + "end": 775, "loc": { "start": { - "line": 46, - "column": 9 + "line": 33, + "column": 8 }, "end": { - "line": 46, - "column": 10 + "line": 33, + "column": 9 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -7330,17 +5017,16 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 1177, - "end": 1183, + "start": 775, + "end": 776, "loc": { "start": { - "line": 47, - "column": 8 + "line": 33, + "column": 9 }, "end": { - "line": 47, - "column": 14 + "line": 33, + "column": 10 } } }, @@ -7356,51 +5042,50 @@ "postfix": false, "binop": null }, - "value": "a", - "start": 1184, - "end": 1185, + "value": "concat", + "start": 776, + "end": 782, "loc": { "start": { - "line": 47, - "column": 15 + "line": 33, + "column": 10 }, "end": { - "line": 47, + "line": 33, "column": 16 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1185, - "end": 1186, + "start": 782, + "end": 783, "loc": { "start": { - "line": 47, + "line": 33, "column": 16 }, "end": { - "line": 47, + "line": 33, "column": 17 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7408,50 +5093,50 @@ "postfix": false, "binop": null }, - "start": 1193, - "end": 1194, + "value": "acc", + "start": 783, + "end": 786, "loc": { "start": { - "line": 48, - "column": 6 + "line": 33, + "column": 17 }, "end": { - "line": 48, - "column": 7 + "line": 33, + "column": 20 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1194, - "end": 1195, + "start": 786, + "end": 787, "loc": { "start": { - "line": 48, - "column": 7 + "line": 33, + "column": 20 }, "end": { - "line": 48, - "column": 8 + "line": 33, + "column": 21 } } }, { "type": { - "label": "[", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7460,24 +5145,23 @@ "binop": null, "updateContext": null }, - "start": 1202, - "end": 1203, + "start": 787, + "end": 788, "loc": { "start": { - "line": 49, - "column": 6 + "line": 33, + "column": 21 }, "end": { - "line": 49, - "column": 7 + "line": 33, + "column": 22 } } }, { "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -7487,23 +5171,22 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 1203, - "end": 1207, + "start": 797, + "end": 798, "loc": { "start": { - "line": 49, - "column": 7 + "line": 34, + "column": 8 }, "end": { - "line": 49, - "column": 11 + "line": 34, + "column": 9 } } }, { "type": { - "label": ".", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -7514,24 +5197,24 @@ "binop": null, "updateContext": null }, - "start": 1207, - "end": 1208, + "start": 798, + "end": 799, "loc": { "start": { - "line": 49, - "column": 11 + "line": 34, + "column": 9 }, "end": { - "line": 49, - "column": 12 + "line": 34, + "column": 10 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7539,24 +5222,23 @@ "postfix": false, "binop": null }, - "value": "lc", - "start": 1208, - "end": 1210, + "start": 806, + "end": 807, "loc": { "start": { - "line": 49, - "column": 12 + "line": 35, + "column": 6 }, "end": { - "line": 49, - "column": 14 + "line": 35, + "column": 7 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -7566,49 +5248,24 @@ "binop": null, "updateContext": null }, - "start": 1210, - "end": 1211, - "loc": { - "start": { - "line": 49, - "column": 14 - }, - "end": { - "line": 49, - "column": 15 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1216, - "end": 1217, + "start": 807, + "end": 808, "loc": { "start": { - "line": 50, - "column": 4 + "line": 35, + "column": 7 }, "end": { - "line": 50, - "column": 5 + "line": 35, + "column": 8 } } }, { "type": { - "label": ";", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7617,47 +5274,50 @@ "binop": null, "updateContext": null }, - "start": 1217, - "end": 1218, + "start": 815, + "end": 816, "loc": { "start": { - "line": 50, - "column": 5 + "line": 36, + "column": 6 }, "end": { - "line": 50, - "column": 6 + "line": 36, + "column": 7 } } }, { "type": { - "label": "}", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1222, - "end": 1223, + "value": "this", + "start": 816, + "end": 820, "loc": { "start": { - "line": 52, - "column": 2 + "line": 36, + "column": 7 }, "end": { - "line": 52, - "column": 3 + "line": 36, + "column": 11 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -7665,18 +5325,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1224, - "end": 1225, + "start": 820, + "end": 821, "loc": { "start": { - "line": 53, - "column": 0 + "line": 36, + "column": 11 }, "end": { - "line": 53, - "column": 1 + "line": 36, + "column": 12 } } }, @@ -7692,23 +5353,23 @@ "postfix": false, "binop": null }, - "value": "module", - "start": 1227, - "end": 1233, + "value": "lc", + "start": 821, + "end": 823, "loc": { "start": { - "line": 55, - "column": 0 + "line": 36, + "column": 12 }, "end": { - "line": 55, - "column": 6 + "line": 36, + "column": 14 } } }, { "type": { - "label": ".", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -7719,24 +5380,24 @@ "binop": null, "updateContext": null }, - "start": 1233, - "end": 1234, + "start": 823, + "end": 824, "loc": { "start": { - "line": 55, - "column": 6 + "line": 36, + "column": 14 }, "end": { - "line": 55, - "column": 7 + "line": 36, + "column": 15 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7744,52 +5405,50 @@ "postfix": false, "binop": null }, - "value": "exports", - "start": 1234, - "end": 1241, + "start": 829, + "end": 830, "loc": { "start": { - "line": 55, - "column": 7 + "line": 37, + "column": 4 }, "end": { - "line": 55, - "column": 14 + "line": 37, + "column": 5 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1242, - "end": 1243, + "start": 830, + "end": 831, "loc": { "start": { - "line": 55, - "column": 15 + "line": 37, + "column": 5 }, "end": { - "line": 55, - "column": 16 + "line": 37, + "column": 6 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7797,43 +5456,41 @@ "postfix": false, "binop": null }, - "value": "LongCountWildcard", - "start": 1244, - "end": 1261, + "start": 834, + "end": 835, "loc": { "start": { - "line": 55, - "column": 17 + "line": 38, + "column": 2 }, "end": { - "line": 55, - "column": 34 + "line": 38, + "column": 3 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1261, - "end": 1262, + "start": 836, + "end": 837, "loc": { "start": { - "line": 55, - "column": 34 + "line": 39, + "column": 0 }, "end": { - "line": 55, - "column": 35 + "line": 39, + "column": 1 } } }, @@ -7850,15 +5507,15 @@ "binop": null, "updateContext": null }, - "start": 1263, - "end": 1263, + "start": 838, + "end": 838, "loc": { "start": { - "line": 56, + "line": 40, "column": 0 }, "end": { - "line": 56, + "line": 40, "column": 0 } } diff --git a/docs/ast/source/wildcard.js.json b/docs/ast/source/wildcard.js.json index 6264b6f..0ff9f7c 100644 --- a/docs/ast/source/wildcard.js.json +++ b/docs/ast/source/wildcard.js.json @@ -1,58 +1,58 @@ { "type": "File", "start": 0, - "end": 628, + "end": 621, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 24, + "line": 23, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 628, + "end": 621, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 24, + "line": 23, "column": 0 } }, "sourceType": "module", "body": [ { - "type": "ClassDeclaration", - "start": 402, - "end": 593, + "type": "Identifier", + "start": 397, + "end": 588, "loc": { "start": { - "line": 12, + "line": 11, "column": 0 }, "end": { - "line": 21, + "line": 20, "column": 1 } }, "id": { "type": "Identifier", - "start": 408, - "end": 416, + "start": 403, + "end": 411, "loc": { "start": { - "line": 12, + "line": 11, "column": 6 }, "end": { - "line": 12, + "line": 11, "column": 14 }, "identifierName": "Wildcard" @@ -63,30 +63,30 @@ "superClass": null, "body": { "type": "ClassBody", - "start": 417, - "end": 593, + "start": 412, + "end": 588, "loc": { "start": { - "line": 12, + "line": 11, "column": 15 }, "end": { - "line": 21, + "line": 20, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 559, - "end": 591, + "start": 554, + "end": 586, "loc": { "start": { - "line": 18, + "line": 17, "column": 2 }, "end": { - "line": 20, + "line": 19, "column": 3 } }, @@ -94,15 +94,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 559, - "end": 567, + "start": 554, + "end": 562, "loc": { "start": { - "line": 18, + "line": 17, "column": 2 }, "end": { - "line": 18, + "line": 17, "column": 10 }, "identifierName": "toString" @@ -118,44 +118,44 @@ "params": [], "body": { "type": "BlockStatement", - "start": 570, - "end": 591, + "start": 565, + "end": 586, "loc": { "start": { - "line": 18, + "line": 17, "column": 13 }, "end": { - "line": 20, + "line": 19, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 576, - "end": 587, + "start": 571, + "end": 582, "loc": { "start": { - "line": 19, + "line": 18, "column": 4 }, "end": { - "line": 19, + "line": 18, "column": 15 } }, "argument": { "type": "StringLiteral", - "start": 583, - "end": 586, + "start": 578, + "end": 581, "loc": { "start": { - "line": 19, + "line": 18, "column": 11 }, "end": { - "line": 19, + "line": 18, "column": 14 } }, @@ -173,15 +173,15 @@ { "type": "CommentBlock", "value": "*\n * Represent the Wildcard as a string. ie, '*'.\n * @returns {string}\n ", - "start": 421, - "end": 503, + "start": 416, + "end": 498, "loc": { "start": { - "line": 13, + "line": 12, "column": 2 }, "end": { - "line": 16, + "line": 15, "column": 5 } } @@ -189,15 +189,15 @@ { "type": "CommentLine", "value": " eslint-disable-next-line class-methods-use-this", - "start": 506, - "end": 556, + "start": 501, + "end": 551, "loc": { "start": { - "line": 17, + "line": 16, "column": 2 }, "end": { - "line": 17, + "line": 16, "column": 52 } } @@ -206,137 +206,321 @@ } ] }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Describes a wildcard in the Calendar Round or Long Count.\n * This class is not directly exposed to the user. There is a singleton in this\n * library to allow for use and equality comparison.\n * @example\n * const mayadates = require('maya-dates')\n * let cr = new mayadates.factory.CalendarRoundFactory().parse(\n * '4 Ajaw 8 *')\n * console.log(cr.haab.month === mayadates.wildcard)\n * > true\n ", - "start": 0, - "end": 401, + "leadingComments": [], + "name": "_", + "trailingComments": [] + }, + { + "type": "Identifier", + "start": 590, + "end": 620, + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 22, + "column": 30 + } + }, + "declaration": { + "type": "NewExpression", + "start": 605, + "end": 619, + "loc": { + "start": { + "line": 22, + "column": 15 + }, + "end": { + "line": 22, + "column": 29 + } + }, + "callee": { + "type": "Identifier", + "start": 609, + "end": 617, "loc": { "start": { - "line": 1, - "column": 0 + "line": 22, + "column": 19 }, "end": { - "line": 11, - "column": 3 - } - } - } - ] + "line": 22, + "column": 27 + }, + "identifierName": "Wildcard" + }, + "name": "Wildcard" + }, + "arguments": [] + }, + "name": "_", + "leadingComments": [], + "trailingComments": [] }, { - "type": "ExpressionStatement", - "start": 595, - "end": 627, + "type": "ExportDefaultDeclaration", + "start": 590, + "end": 620, "loc": { "start": { - "line": 23, + "line": 22, "column": 0 }, "end": { - "line": 23, - "column": 32 + "line": 22, + "column": 30 } }, - "expression": { - "type": "AssignmentExpression", - "start": 595, - "end": 626, + "declaration": { + "type": "ClassDeclaration", + "start": 397, + "end": 588, "loc": { "start": { - "line": 23, + "line": 11, "column": 0 }, "end": { - "line": 23, - "column": 31 + "line": 20, + "column": 1 } }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 595, - "end": 609, + "id": { + "type": "Identifier", + "start": 403, + "end": 411, "loc": { "start": { - "line": 23, - "column": 0 + "line": 11, + "column": 6 }, "end": { - "line": 23, + "line": 11, "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 595, - "end": 601, - "loc": { - "start": { - "line": 23, - "column": 0 - }, - "end": { - "line": 23, - "column": 6 - }, - "identifierName": "module" }, - "name": "module" + "identifierName": "Wildcard" }, - "property": { - "type": "Identifier", - "start": 602, - "end": 609, - "loc": { - "start": { - "line": 23, - "column": 7 - }, - "end": { - "line": 23, - "column": 14 - }, - "identifierName": "exports" - }, - "name": "exports" - }, - "computed": false + "name": "Wildcard", + "leadingComments": null }, - "right": { - "type": "NewExpression", - "start": 612, - "end": 626, + "superClass": null, + "body": { + "type": "ClassBody", + "start": 412, + "end": 588, "loc": { "start": { - "line": 23, - "column": 17 + "line": 11, + "column": 15 }, "end": { - "line": 23, - "column": 31 + "line": 20, + "column": 1 } }, - "callee": { - "type": "Identifier", - "start": 616, - "end": 624, + "body": [ + { + "type": "ClassMethod", + "start": 554, + "end": 586, + "loc": { + "start": { + "line": 17, + "column": 2 + }, + "end": { + "line": 19, + "column": 3 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 554, + "end": 562, + "loc": { + "start": { + "line": 17, + "column": 2 + }, + "end": { + "line": 17, + "column": 10 + }, + "identifierName": "toString" + }, + "name": "toString", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 565, + "end": 586, + "loc": { + "start": { + "line": 17, + "column": 13 + }, + "end": { + "line": 19, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 571, + "end": 582, + "loc": { + "start": { + "line": 18, + "column": 4 + }, + "end": { + "line": 18, + "column": 15 + } + }, + "argument": { + "type": "StringLiteral", + "start": 578, + "end": 581, + "loc": { + "start": { + "line": 18, + "column": 11 + }, + "end": { + "line": 18, + "column": 14 + } + }, + "extra": { + "rawValue": "*", + "raw": "'*'" + }, + "value": "*" + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Represent the Wildcard as a string. ie, '*'.\n * @returns {string}\n ", + "start": 416, + "end": 498, + "loc": { + "start": { + "line": 12, + "column": 2 + }, + "end": { + "line": 15, + "column": 5 + } + } + }, + { + "type": "CommentLine", + "value": " eslint-disable-next-line class-methods-use-this", + "start": 501, + "end": 551, + "loc": { + "start": { + "line": 16, + "column": 2 + }, + "end": { + "line": 16, + "column": 52 + } + } + } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Describes a wildcard in the Calendar Round or Long Count.\n * This class is not directly exposed to the user. There is a singleton in this\n * library to allow for use and equality comparison.\n * @example\n * const mayadates = require('maya-dates')\n * let cr = new mayadates.factory.CalendarRoundFactory().parse('4 Ajaw 8 *')\n * console.log(cr.haab.month === mayadates.wildcard)\n * > true\n ", + "start": 0, + "end": 396, "loc": { "start": { - "line": 23, - "column": 21 + "line": 1, + "column": 0 }, "end": { - "line": 23, - "column": 29 - }, - "identifierName": "Wildcard" - }, - "name": "Wildcard" - }, - "arguments": [] + "line": 10, + "column": 3 + } + } + } + ], + "__PseudoExport__": true, + "trailingComments": [] + }, + "leadingComments": null + }, + { + "type": "ExportDefaultDeclaration", + "start": 590, + "end": 620, + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 22, + "column": 30 } + }, + "declaration": { + "type": "VariableDeclaration", + "kind": "let", + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 22, + "column": 30 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "id": { + "type": "Identifier", + "name": "wildcard" + }, + "init": { + "type": "NewExpression", + "callee": { + "type": "Identifier", + "name": "Wildcard" + } + } + } + ], + "leadingComments": [], + "trailingComments": [] } } ], @@ -345,16 +529,16 @@ "comments": [ { "type": "CommentBlock", - "value": "*\n * Describes a wildcard in the Calendar Round or Long Count.\n * This class is not directly exposed to the user. There is a singleton in this\n * library to allow for use and equality comparison.\n * @example\n * const mayadates = require('maya-dates')\n * let cr = new mayadates.factory.CalendarRoundFactory().parse(\n * '4 Ajaw 8 *')\n * console.log(cr.haab.month === mayadates.wildcard)\n * > true\n ", + "value": "*\n * Describes a wildcard in the Calendar Round or Long Count.\n * This class is not directly exposed to the user. There is a singleton in this\n * library to allow for use and equality comparison.\n * @example\n * const mayadates = require('maya-dates')\n * let cr = new mayadates.factory.CalendarRoundFactory().parse('4 Ajaw 8 *')\n * console.log(cr.haab.month === mayadates.wildcard)\n * > true\n ", "start": 0, - "end": 401, + "end": 396, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 11, + "line": 10, "column": 3 } } @@ -362,15 +546,15 @@ { "type": "CommentBlock", "value": "*\n * Represent the Wildcard as a string. ie, '*'.\n * @returns {string}\n ", - "start": 421, - "end": 503, + "start": 416, + "end": 498, "loc": { "start": { - "line": 13, + "line": 12, "column": 2 }, "end": { - "line": 16, + "line": 15, "column": 5 } } @@ -378,15 +562,15 @@ { "type": "CommentLine", "value": " eslint-disable-next-line class-methods-use-this", - "start": 506, - "end": 556, + "start": 501, + "end": 551, "loc": { "start": { - "line": 17, + "line": 16, "column": 2 }, "end": { - "line": 17, + "line": 16, "column": 52 } } @@ -395,16 +579,16 @@ "tokens": [ { "type": "CommentBlock", - "value": "*\n * Describes a wildcard in the Calendar Round or Long Count.\n * This class is not directly exposed to the user. There is a singleton in this\n * library to allow for use and equality comparison.\n * @example\n * const mayadates = require('maya-dates')\n * let cr = new mayadates.factory.CalendarRoundFactory().parse(\n * '4 Ajaw 8 *')\n * console.log(cr.haab.month === mayadates.wildcard)\n * > true\n ", + "value": "*\n * Describes a wildcard in the Calendar Round or Long Count.\n * This class is not directly exposed to the user. There is a singleton in this\n * library to allow for use and equality comparison.\n * @example\n * const mayadates = require('maya-dates')\n * let cr = new mayadates.factory.CalendarRoundFactory().parse('4 Ajaw 8 *')\n * console.log(cr.haab.month === mayadates.wildcard)\n * > true\n ", "start": 0, - "end": 401, + "end": 396, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 11, + "line": 10, "column": 3 } } @@ -424,15 +608,15 @@ "updateContext": null }, "value": "class", - "start": 402, - "end": 407, + "start": 397, + "end": 402, "loc": { "start": { - "line": 12, + "line": 11, "column": 0 }, "end": { - "line": 12, + "line": 11, "column": 5 } } @@ -450,15 +634,15 @@ "binop": null }, "value": "Wildcard", - "start": 408, - "end": 416, + "start": 403, + "end": 411, "loc": { "start": { - "line": 12, + "line": 11, "column": 6 }, "end": { - "line": 12, + "line": 11, "column": 14 } } @@ -475,15 +659,15 @@ "postfix": false, "binop": null }, - "start": 417, - "end": 418, + "start": 412, + "end": 413, "loc": { "start": { - "line": 12, + "line": 11, "column": 15 }, "end": { - "line": 12, + "line": 11, "column": 16 } } @@ -491,15 +675,15 @@ { "type": "CommentBlock", "value": "*\n * Represent the Wildcard as a string. ie, '*'.\n * @returns {string}\n ", - "start": 421, - "end": 503, + "start": 416, + "end": 498, "loc": { "start": { - "line": 13, + "line": 12, "column": 2 }, "end": { - "line": 16, + "line": 15, "column": 5 } } @@ -507,15 +691,15 @@ { "type": "CommentLine", "value": " eslint-disable-next-line class-methods-use-this", - "start": 506, - "end": 556, + "start": 501, + "end": 551, "loc": { "start": { - "line": 17, + "line": 16, "column": 2 }, "end": { - "line": 17, + "line": 16, "column": 52 } } @@ -533,15 +717,15 @@ "binop": null }, "value": "toString", - "start": 559, - "end": 567, + "start": 554, + "end": 562, "loc": { "start": { - "line": 18, + "line": 17, "column": 2 }, "end": { - "line": 18, + "line": 17, "column": 10 } } @@ -558,15 +742,15 @@ "postfix": false, "binop": null }, - "start": 567, - "end": 568, + "start": 562, + "end": 563, "loc": { "start": { - "line": 18, + "line": 17, "column": 10 }, "end": { - "line": 18, + "line": 17, "column": 11 } } @@ -583,15 +767,15 @@ "postfix": false, "binop": null }, - "start": 568, - "end": 569, + "start": 563, + "end": 564, "loc": { "start": { - "line": 18, + "line": 17, "column": 11 }, "end": { - "line": 18, + "line": 17, "column": 12 } } @@ -608,15 +792,15 @@ "postfix": false, "binop": null }, - "start": 570, - "end": 571, + "start": 565, + "end": 566, "loc": { "start": { - "line": 18, + "line": 17, "column": 13 }, "end": { - "line": 18, + "line": 17, "column": 14 } } @@ -636,15 +820,15 @@ "updateContext": null }, "value": "return", - "start": 576, - "end": 582, + "start": 571, + "end": 577, "loc": { "start": { - "line": 19, + "line": 18, "column": 4 }, "end": { - "line": 19, + "line": 18, "column": 10 } } @@ -663,15 +847,15 @@ "updateContext": null }, "value": "*", - "start": 583, - "end": 586, + "start": 578, + "end": 581, "loc": { "start": { - "line": 19, + "line": 18, "column": 11 }, "end": { - "line": 19, + "line": 18, "column": 14 } } @@ -689,15 +873,15 @@ "binop": null, "updateContext": null }, - "start": 586, - "end": 587, + "start": 581, + "end": 582, "loc": { "start": { - "line": 19, + "line": 18, "column": 14 }, "end": { - "line": 19, + "line": 18, "column": 15 } } @@ -714,15 +898,15 @@ "postfix": false, "binop": null }, - "start": 590, - "end": 591, + "start": 585, + "end": 586, "loc": { "start": { - "line": 20, + "line": 19, "column": 2 }, "end": { - "line": 20, + "line": 19, "column": 3 } } @@ -739,49 +923,52 @@ "postfix": false, "binop": null }, - "start": 592, - "end": 593, + "start": 587, + "end": 588, "loc": { "start": { - "line": 21, + "line": 20, "column": 0 }, "end": { - "line": 21, + "line": 20, "column": 1 } } }, { "type": { - "label": "name", + "label": "export", + "keyword": "export", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "module", - "start": 595, - "end": 601, + "value": "export", + "start": 590, + "end": 596, "loc": { "start": { - "line": 23, + "line": 22, "column": 0 }, "end": { - "line": 23, + "line": 22, "column": 6 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "default", + "keyword": "default", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -791,72 +978,20 @@ "binop": null, "updateContext": null }, - "start": 601, - "end": 602, + "value": "default", + "start": 597, + "end": 604, "loc": { "start": { - "line": 23, - "column": 6 - }, - "end": { - "line": 23, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "exports", - "start": 602, - "end": 609, - "loc": { - "start": { - "line": 23, + "line": 22, "column": 7 }, "end": { - "line": 23, + "line": 22, "column": 14 } } }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 610, - "end": 611, - "loc": { - "start": { - "line": 23, - "column": 15 - }, - "end": { - "line": 23, - "column": 16 - } - } - }, { "type": { "label": "new", @@ -872,16 +1007,16 @@ "updateContext": null }, "value": "new", - "start": 612, - "end": 615, + "start": 605, + "end": 608, "loc": { "start": { - "line": 23, - "column": 17 + "line": 22, + "column": 15 }, "end": { - "line": 23, - "column": 20 + "line": 22, + "column": 18 } } }, @@ -898,16 +1033,16 @@ "binop": null }, "value": "Wildcard", - "start": 616, - "end": 624, + "start": 609, + "end": 617, "loc": { "start": { - "line": 23, - "column": 21 + "line": 22, + "column": 19 }, "end": { - "line": 23, - "column": 29 + "line": 22, + "column": 27 } } }, @@ -923,16 +1058,16 @@ "postfix": false, "binop": null }, - "start": 624, - "end": 625, + "start": 617, + "end": 618, "loc": { "start": { - "line": 23, - "column": 29 + "line": 22, + "column": 27 }, "end": { - "line": 23, - "column": 30 + "line": 22, + "column": 28 } } }, @@ -948,16 +1083,16 @@ "postfix": false, "binop": null }, - "start": 625, - "end": 626, + "start": 618, + "end": 619, "loc": { "start": { - "line": 23, - "column": 30 + "line": 22, + "column": 28 }, "end": { - "line": 23, - "column": 31 + "line": 22, + "column": 29 } } }, @@ -974,16 +1109,16 @@ "binop": null, "updateContext": null }, - "start": 626, - "end": 627, + "start": 619, + "end": 620, "loc": { "start": { - "line": 23, - "column": 31 + "line": 22, + "column": 29 }, "end": { - "line": 23, - "column": 32 + "line": 22, + "column": 30 } } }, @@ -1000,15 +1135,15 @@ "binop": null, "updateContext": null }, - "start": 628, - "end": 628, + "start": 621, + "end": 621, "loc": { "start": { - "line": 24, + "line": 23, "column": 0 }, "end": { - "line": 24, + "line": 23, "column": 0 } } diff --git a/docs/badge.svg b/docs/badge.svg index 1117afa..389c94a 100644 --- a/docs/badge.svg +++ b/docs/badge.svg @@ -11,7 +11,7 @@ document document - 100% - 100% + 93% + 93% diff --git a/docs/class/src/cr/calendar-round.js~CalendarRound.html b/docs/class/src/cr/calendar-round.js~CalendarRound.html index 9230acb..a8932ef 100644 --- a/docs/class/src/cr/calendar-round.js~CalendarRound.html +++ b/docs/class/src/cr/calendar-round.js~CalendarRound.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -70,7 +69,7 @@ - | source + | source
    @@ -472,7 +471,7 @@

    - source + source

    @@ -556,7 +555,7 @@

    - source + source

    @@ -600,7 +599,7 @@

    - source + source

    @@ -647,7 +646,7 @@

    - source + source

    @@ -720,7 +719,7 @@

    - source + source

    @@ -776,7 +775,7 @@

    - source + source

    @@ -849,7 +848,7 @@

    - source + source

    @@ -921,7 +920,7 @@

    - source + source

    @@ -977,7 +976,7 @@

    - source + source

    @@ -1050,7 +1049,7 @@

    - source + source

    @@ -1106,7 +1105,7 @@

    - source + source

    diff --git a/docs/class/src/cr/haab-month.js~HaabMonth.html b/docs/class/src/cr/haab-month.js~HaabMonth.html index 3d77dd2..ae3d3a5 100644 --- a/docs/class/src/cr/haab-month.js~HaabMonth.html +++ b/docs/class/src/cr/haab-month.js~HaabMonth.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,7 +63,7 @@
    -
    + public class diff --git a/docs/class/src/cr/haab.js~Haab.html b/docs/class/src/cr/haab.js~Haab.html index 1e85c9f..aa2045b 100644 --- a/docs/class/src/cr/haab.js~Haab.html +++ b/docs/class/src/cr/haab.js~Haab.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -70,7 +69,7 @@ - | source + | source
    @@ -474,7 +473,7 @@

    - source + source

    @@ -566,7 +565,7 @@

    - source + source

    @@ -609,7 +608,7 @@

    - source + source

    @@ -652,7 +651,7 @@

    - source + source

    @@ -708,7 +707,7 @@

    - source + source

    @@ -755,7 +754,7 @@

    - source + source

    @@ -828,7 +827,7 @@

    - source + source

    @@ -901,7 +900,7 @@

    - source + source

    @@ -957,7 +956,7 @@

    - source + source

    @@ -1029,7 +1028,7 @@

    - source + source

    @@ -1085,7 +1084,7 @@

    - source + source

    diff --git a/docs/class/src/cr/tzolkin-day.js~TzolkinDay.html b/docs/class/src/cr/tzolkin-day.js~TzolkinDay.html index 7b96486..887f4f4 100644 --- a/docs/class/src/cr/tzolkin-day.js~TzolkinDay.html +++ b/docs/class/src/cr/tzolkin-day.js~TzolkinDay.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -70,7 +69,7 @@ - | source + | source
    @@ -376,7 +375,7 @@

    - source + source

    @@ -439,7 +438,7 @@

    - source + source

    @@ -483,7 +482,7 @@

    - source + source

    @@ -527,7 +526,7 @@

    - source + source

    @@ -574,7 +573,7 @@

    - source + source

    @@ -630,7 +629,7 @@

    - source + source

    @@ -701,7 +700,7 @@

    - source + source

    @@ -757,7 +756,7 @@

    - source + source

    diff --git a/docs/class/src/cr/tzolkin.js~Tzolkin.html b/docs/class/src/cr/tzolkin.js~Tzolkin.html index d9ca7f2..e30ea71 100644 --- a/docs/class/src/cr/tzolkin.js~Tzolkin.html +++ b/docs/class/src/cr/tzolkin.js~Tzolkin.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -70,7 +69,7 @@ - | source + | source
    @@ -474,7 +473,7 @@

    - source + source

    @@ -544,7 +543,7 @@

    - source + source

    @@ -587,7 +586,7 @@

    - source + source

    @@ -630,7 +629,7 @@

    - source + source

    @@ -686,7 +685,7 @@

    - source + source

    @@ -733,7 +732,7 @@

    - source + source

    @@ -806,7 +805,7 @@

    - source + source

    @@ -879,7 +878,7 @@

    - source + source

    @@ -935,7 +934,7 @@

    - source + source

    @@ -1006,7 +1005,7 @@

    - source + source

    @@ -1078,7 +1077,7 @@

    - source + source

    diff --git a/docs/class/src/factory/base.js~Factory.html b/docs/class/src/factory/base.js~Factory.html index fcf9652..a5a91dd 100644 --- a/docs/class/src/factory/base.js~Factory.html +++ b/docs/class/src/factory/base.js~Factory.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,7 +63,7 @@
    -
    + public class diff --git a/docs/class/src/factory/calendar-round.js~CalendarRoundFactory.html b/docs/class/src/factory/calendar-round.js~CalendarRoundFactory.html index 742d211..401f3a6 100644 --- a/docs/class/src/factory/calendar-round.js~CalendarRoundFactory.html +++ b/docs/class/src/factory/calendar-round.js~CalendarRoundFactory.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,13 +63,13 @@
    -
    +
    import CalendarRoundFactory from '@drewsonne/maya-dates/src/factory/calendar-round.js'
    public class - | source + | source
    @@ -303,7 +302,7 @@

    - source + source

    @@ -350,7 +349,7 @@

    - source + source

    @@ -397,7 +396,7 @@

    - source + source

    diff --git a/docs/class/src/factory/full-date.js~FullDateFactory.html b/docs/class/src/factory/full-date.js~FullDateFactory.html index 89d7a36..24f0057 100644 --- a/docs/class/src/factory/full-date.js~FullDateFactory.html +++ b/docs/class/src/factory/full-date.js~FullDateFactory.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,13 +63,13 @@
    -
    + public class - | source + | source
    @@ -228,7 +227,7 @@

    - source + source

    diff --git a/docs/class/src/factory/long-count.js~LongCountFactory.html b/docs/class/src/factory/long-count.js~LongCountFactory.html index 43a4605..428cd07 100644 --- a/docs/class/src/factory/long-count.js~LongCountFactory.html +++ b/docs/class/src/factory/long-count.js~LongCountFactory.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,13 +63,13 @@
    -
    + public class - | source + | source
    @@ -239,7 +238,7 @@

    - source + source

    diff --git a/docs/class/src/full-date.js~FullDate.html b/docs/class/src/full-date.js~FullDate.html index 56d34f1..fb1b819 100644 --- a/docs/class/src/full-date.js~FullDate.html +++ b/docs/class/src/full-date.js~FullDate.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,7 +63,7 @@
    -
    + public class diff --git a/docs/class/src/lc/correlation-constant.js~CorrelationConstant.html b/docs/class/src/lc/correlation-constant.js~CorrelationConstant.html index 465865d..d614125 100644 --- a/docs/class/src/lc/correlation-constant.js~CorrelationConstant.html +++ b/docs/class/src/lc/correlation-constant.js~CorrelationConstant.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • diff --git a/docs/class/src/lc/distance-number.js~DistanceNumber.html b/docs/class/src/lc/distance-number.js~DistanceNumber.html index 1999129..71110cd 100644 --- a/docs/class/src/lc/distance-number.js~DistanceNumber.html +++ b/docs/class/src/lc/distance-number.js~DistanceNumber.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,13 +63,13 @@
    -
    + public class - | source + | source
    @@ -81,7 +80,7 @@

    DistanceNumber

    - +

    Direct Subclass:

    @@ -1252,7 +1251,7 @@

    - source + source

    @@ -1316,7 +1315,7 @@

    - source + source

    @@ -1360,7 +1359,7 @@

    - source + source

    @@ -1416,7 +1415,7 @@

    - source + source

    @@ -1460,7 +1459,7 @@

    - source + source

    @@ -1516,7 +1515,7 @@

    - source + source

    @@ -1560,7 +1559,7 @@

    - source + source

    @@ -1616,7 +1615,7 @@

    - source + source

    @@ -1660,7 +1659,7 @@

    - source + source

    @@ -1704,7 +1703,7 @@

    - source + source

    @@ -1760,7 +1759,7 @@

    - source + source

    @@ -1804,7 +1803,7 @@

    - source + source

    @@ -1860,7 +1859,7 @@

    - source + source

    @@ -1904,7 +1903,7 @@

    - source + source

    @@ -1960,7 +1959,7 @@

    - source + source

    @@ -2004,7 +2003,7 @@

    - source + source

    @@ -2060,7 +2059,7 @@

    - source + source

    @@ -2104,7 +2103,7 @@

    - source + source

    @@ -2148,7 +2147,7 @@

    - source + source

    @@ -2204,7 +2203,7 @@

    - source + source

    @@ -2248,7 +2247,7 @@

    - source + source

    @@ -2304,7 +2303,7 @@

    - source + source

    @@ -2348,7 +2347,7 @@

    - source + source

    @@ -2406,7 +2405,7 @@

    - source + source

    @@ -2452,7 +2451,7 @@

    - source + source

    @@ -2508,7 +2507,7 @@

    - source + source

    @@ -2580,7 +2579,7 @@

    - source + source

    @@ -2652,7 +2651,7 @@

    - source + source

    @@ -2708,7 +2707,7 @@

    - source + source

    @@ -2780,7 +2779,7 @@

    - source + source

    @@ -2837,7 +2836,7 @@

    - source + source

    @@ -2893,7 +2892,7 @@

    - source + source

    @@ -2965,7 +2964,7 @@

    - source + source

    @@ -3037,7 +3036,7 @@

    - source + source

    @@ -3109,7 +3108,7 @@

    - source + source

    @@ -3165,7 +3164,7 @@

    - source + source

    @@ -3237,7 +3236,7 @@

    - source + source

    @@ -3315,7 +3314,7 @@

    - source + source

    diff --git a/docs/class/src/lc/long-count.js~LongCount.html b/docs/class/src/lc/long-count.js~LongCount.html index 46262ff..d85ccf3 100644 --- a/docs/class/src/lc/long-count.js~LongCount.html +++ b/docs/class/src/lc/long-count.js~LongCount.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,13 +63,13 @@
    -
    + public class - | source + | source
    @@ -80,7 +79,7 @@

    LongCount

    -

    Extends:

    src/cr/calendar-round.js~DistanceNumber → LongCount
    +

    Extends:

    DistanceNumber → LongCount
    @@ -500,7 +499,1086 @@

    LongCount

    - +

    Inherited Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    From class DistanceNumber
    + public + + get + + + +
    +

    + + + + bakTun: number: * +

    +
    +
    + + +

    Return the bak'tun component of the fullDate

    +
    +
    +
    + + +
    + public + + set + + + +
    +

    + + + + bakTun +

    +
    +
    + + +

    Set the bak'tun component of the fullDate

    +
    +
    +
    + + +
    + public + + get + + + +
    +

    + + + + isNegative: boolean: * +

    +
    +
    + + +

    Return true if the Long Count is operating as a negative Distance Number.

    +
    +
    +
    + + +
    + public + + set + + + +
    +

    + + + + isNegative(newNegative: *) +

    +
    +
    + + +

    Set this Long Count as being a negative Distance Number

    +
    +
    +
    + + +
    + public + + get + + + +
    +

    + + + + isPositive: boolean: * +

    +
    +
    + + +

    Return true if the Long Count is positive.

    +
    +
    +
    + + +
    + public + + set + + + +
    +

    + + + + isPositive(newPositive: boolean) +

    +
    +
    + + +

    Set this Long Count as being a Long Count or a positive Distance Number

    +
    +
    +
    + + +
    + public + + get + + + +
    +

    + + + + kAtun: number: * +

    +
    +
    + + +

    Return the k'atun component of the fullDate

    +
    +
    +
    + + +
    + public + + set + + + +
    +

    + + + + kAtun +

    +
    +
    + + +

    Set the k'atun component of the fullDate

    +
    +
    +
    + + +
    + public + + get + + + +
    +

    + + + + kIn: number: * +

    +
    +
    + + +

    Return the k'in component of the fullDate

    +
    +
    +
    + + +
    + public + + set + + + +
    +

    + + + + kIn +

    +
    +
    + + +

    Set the k'in component of the fullDate

    +
    +
    +
    + + +
    + public + + get + + + +
    +

    + + + + kalabtun: number: * +

    +
    +
    + + +

    Return the kalabtun component of the fullDate

    +
    +
    +
    + + +
    + public + + set + + + +
    +

    + + + + kalabtun +

    +
    +
    + + +

    Set the kalabtun component of the fullDate

    +
    +
    +
    + + +
    + public + + get + + + +
    +

    + + + + kinchiltun: number: * +

    +
    +
    + + +

    Return the kinchiltun component of the fullDate

    +
    +
    +
    + + +
    + public + + set + + + +
    +

    + + + + kinchiltun +

    +
    +
    + + +

    Set the kinchiltun component of the fullDate

    +
    +
    +
    + + +
    + public + + get + + + +
    +

    + + + + piktun: number: * +

    +
    +
    + + +

    Return the piktun component of the fullDate

    +
    +
    +
    + + +
    + public + + set + + + +
    +

    + + + + piktun +

    +
    +
    + + +

    Set the piktun component of the fullDate

    +
    +
    +
    + + +
    + public + + get + + + +
    +

    + + + + tun: number: * +

    +
    +
    + + +

    Return the tun component of the fullDate

    +
    +
    +
    + + +
    + public + + set + + + +
    +

    + + + + tun +

    +
    +
    + + +

    Set the tun component of the fullDate

    +
    +
    +
    + + +
    + public + + get + + + +
    +

    + + + + winal: number: * +

    +
    +
    + + +

    Return the winal component of the fullDate

    +
    +
    +
    + + +
    + public + + set + + + +
    +

    + + + + winal +

    +
    +
    + + +

    Set the winal component of the fullDate

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + date_pattern: RegExp +

    +
    +
    + + +

    Pattern to validate the fullDate

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + parts: number[] | Wildcard[] +

    +
    +
    + + +

    Date Components

    +
    +
    +
    + + +
    + private + + + + + +
    +

    + + + + sign: number +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + clone(): DistanceNumber +

    +
    +
    + + +

    Create a copy object of this long count fullDate

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + equal(other: DistanceNumber): boolean +

    +
    +
    + + +

    Given two long count dates, check if they are equal

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + getDateSections(index: number): number +

    +
    +
    + + +

    Get specific column in Long Count fullDate

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + getPosition(): number +

    +
    +
    + + +

    Count the number of days since 0.0.0.0.0 for this LC.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + gt(newLongCount: DistanceNumber): boolean +

    +
    +
    + + +

    Compare is this LC is less than the supplied LC.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + isPartial(): boolean +

    +
    +
    + + +

    Returns true if any of the positions in the Long Count have been assigned +a {Wildcard} object.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + isValid(): boolean +

    +
    +
    + + +

    Ensure the fullDate has only numbers and wildcards separated by points.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + lt(newLongCount: DistanceNumber): boolean +

    +
    +
    + + +

    Compare if this LC is greater than the supplied LC.

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + map(fn: *): object[] +

    +
    +
    + + +

    Pass the map down to the parts

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + minus(newLc: DistanceNumber): LongcountAddition +

    +
    +
    + + +

    Return the difference between this Long Count and the supplied

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + normalise(): DistanceNumber +

    +
    +
    + + +

    Make sure the elements of the Long Count do not exceed

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + plus(newLc: DistanceNumber): LongcountAddition +

    +
    +
    + + +

    Return the sum of this Long Count and the supplied

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + setDateSections(index: number, newValue: number | wildcard): DistanceNumber +

    +
    +
    + + +

    Set specific column in Long Count fullDate

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + toString(): string +

    +
    +
    + + +

    Convert the LongCount to a string and pad the sections of the fullDate

    +
    +
    +
    + + +
    +
    @@ -518,7 +1596,7 @@

    - source + source

    @@ -527,7 +1605,7 @@

    - +

    Params:

    @@ -582,7 +1660,7 @@

    - source + source

    @@ -626,7 +1704,7 @@

    - source + source

    @@ -682,7 +1760,7 @@

    - source + source

    @@ -738,7 +1816,7 @@

    - source + source

    @@ -794,7 +1872,7 @@

    - source + source

    @@ -852,7 +1930,7 @@

    - source + source

    @@ -908,7 +1986,7 @@

    - source + source

    @@ -963,7 +2041,7 @@

    - source + source

    @@ -1018,7 +2096,7 @@

    - source + source

    @@ -1028,7 +2106,7 @@

    Create a copy object of this long count fullDate

    - +
    @@ -1074,7 +2152,7 @@

    - source + source

    @@ -1084,7 +2162,7 @@

    Return the difference between this Long Count and the supplied

    - +

    Params:

    @@ -1146,7 +2224,7 @@

    - source + source

    @@ -1156,7 +2234,7 @@

    Return the sum of this Long Count and the supplied

    - +

    Params:

    @@ -1218,7 +2296,7 @@

    - source + source

    diff --git a/docs/class/src/lc/night/lord-of-night.js~LordOfNight.html b/docs/class/src/lc/night/lord-of-night.js~LordOfNight.html index 8592689..4f0c514 100644 --- a/docs/class/src/lc/night/lord-of-night.js~LordOfNight.html +++ b/docs/class/src/lc/night/lord-of-night.js~LordOfNight.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -70,7 +69,7 @@ - | source + | source
    @@ -242,7 +241,7 @@

    - source + source

    @@ -304,7 +303,7 @@

    - source + source

    @@ -351,7 +350,7 @@

    - source + source

    diff --git a/docs/class/src/lc/western/gregorian.js~GregorianCalendarDate.html b/docs/class/src/lc/western/gregorian.js~GregorianCalendarDate.html index 60d6396..45f7857 100644 --- a/docs/class/src/lc/western/gregorian.js~GregorianCalendarDate.html +++ b/docs/class/src/lc/western/gregorian.js~GregorianCalendarDate.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,13 +63,13 @@
    -
    +
    import GregorianCalendarDate from '@drewsonne/maya-dates/src/lc/western/gregorian.js'
    public class - | source + | source
    @@ -80,7 +79,7 @@

    GregorianCalendarDate

    -

    Extends:

    src/lc/western/gregorian.js~WesternCalendar → GregorianCalendarDate
    +

    Extends:

    WesternCalendar → GregorianCalendarDate
    @@ -144,7 +143,243 @@

    GregorianCalendarDate

    - +

    Inherited Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    From class WesternCalendar
    + public + + get + + + +
    +

    + + + + day: number: * +

    +
    +
    + + +

    Return the day of the month

    +
    +
    +
    + + +
    + public + + get + + + +
    +

    + + + + era: string: * +

    +
    +
    + + +

    Return whether the date is the common era or before the common era.

    +
    +
    +
    + + +
    + public + + get + + + +
    +

    + + + + month: number: * +

    +
    +
    + + +

    Return the month

    +
    +
    +
    + + +
    + public + + get + + + +
    +

    + + + + year: number: * +

    +
    +
    + + +

    Return the year

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + date: Date +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + julianDay: number +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + isThreshold(): boolean +

    +
    +
    + + +

    Return true if this date is on the Julian/Gregorian threshold

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + toString(): string +

    +
    +
    + + +

    Represent this date as a string with era markers.

    +
    +
    +
    + + +
    +
    @@ -163,7 +398,7 @@

    - source + source

    diff --git a/docs/class/src/lc/western/julian.js~JulianCalendarDate.html b/docs/class/src/lc/western/julian.js~JulianCalendarDate.html index ed087f3..c7f2ce0 100644 --- a/docs/class/src/lc/western/julian.js~JulianCalendarDate.html +++ b/docs/class/src/lc/western/julian.js~JulianCalendarDate.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,13 +63,13 @@
    -
    +
    import JulianCalendarDate from '@drewsonne/maya-dates/src/lc/western/julian.js'
    public class - | source + | source
    @@ -80,7 +79,7 @@

    JulianCalendarDate

    -

    Extends:

    src/lc/western/gregorian.js~WesternCalendar → JulianCalendarDate
    +

    Extends:

    WesternCalendar → JulianCalendarDate
    @@ -144,7 +143,243 @@

    JulianCalendarDate

    - +

    Inherited Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    From class WesternCalendar
    + public + + get + + + +
    +

    + + + + day: number: * +

    +
    +
    + + +

    Return the day of the month

    +
    +
    +
    + + +
    + public + + get + + + +
    +

    + + + + era: string: * +

    +
    +
    + + +

    Return whether the date is the common era or before the common era.

    +
    +
    +
    + + +
    + public + + get + + + +
    +

    + + + + month: number: * +

    +
    +
    + + +

    Return the month

    +
    +
    +
    + + +
    + public + + get + + + +
    +

    + + + + year: number: * +

    +
    +
    + + +

    Return the year

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + date: Date +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + julianDay: number +

    +
    +
    + + + +
    +
    + + +
    + public + + + + + +
    +

    + + + + isThreshold(): boolean +

    +
    +
    + + +

    Return true if this date is on the Julian/Gregorian threshold

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + toString(): string +

    +
    +
    + + +

    Represent this date as a string with era markers.

    +
    +
    +
    + + +
    +
    @@ -163,7 +398,7 @@

    - source + source

    diff --git a/docs/class/src/lc/western/western.js~WesternCalendar.html b/docs/class/src/lc/western/western.js~WesternCalendar.html index cf89c7a..2ec054b 100644 --- a/docs/class/src/lc/western/western.js~WesternCalendar.html +++ b/docs/class/src/lc/western/western.js~WesternCalendar.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,13 +63,13 @@
    -
    + public class - | source + | source
    @@ -81,7 +80,7 @@

    WesternCalendar

    - + @@ -404,7 +403,7 @@

    - source + source

    @@ -467,7 +466,7 @@

    - source + source

    @@ -510,7 +509,7 @@

    - source + source

    @@ -566,7 +565,7 @@

    - source + source

    @@ -622,7 +621,7 @@

    - source + source

    @@ -665,7 +664,7 @@

    - source + source

    @@ -721,7 +720,7 @@

    - source + source

    @@ -780,7 +779,7 @@

    - source + source

    @@ -836,7 +835,7 @@

    - source + source

    diff --git a/docs/class/src/operations/calendar-round-wildcard.js~CalendarRoundWildcard.html b/docs/class/src/operations/calendar-round-wildcard.js~CalendarRoundWildcard.html index 61b999d..b17dfab 100644 --- a/docs/class/src/operations/calendar-round-wildcard.js~CalendarRoundWildcard.html +++ b/docs/class/src/operations/calendar-round-wildcard.js~CalendarRoundWildcard.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,13 +63,13 @@
    -
    + public class - | source + | source
    @@ -231,7 +230,7 @@

    - source + source

    @@ -293,7 +292,7 @@

    - source + source

    @@ -339,7 +338,7 @@

    - source + source

    diff --git a/docs/class/src/operations/fulldate-wildcard.js~FullDateWildcard.html b/docs/class/src/operations/fulldate-wildcard.js~FullDateWildcard.html index 0e3c866..ba23446 100644 --- a/docs/class/src/operations/fulldate-wildcard.js~FullDateWildcard.html +++ b/docs/class/src/operations/fulldate-wildcard.js~FullDateWildcard.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,13 +63,13 @@
    -
    + public class - | source + | source
    @@ -231,7 +230,7 @@

    - source + source

    @@ -293,7 +292,7 @@

    - source + source

    @@ -339,7 +338,7 @@

    - source + source

    diff --git a/docs/class/src/operations/longcount-addition.js~LongcountAddition.html b/docs/class/src/operations/longcount-addition.js~LongcountAddition.html index 09ec300..3b12a71 100644 --- a/docs/class/src/operations/longcount-addition.js~LongcountAddition.html +++ b/docs/class/src/operations/longcount-addition.js~LongcountAddition.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • diff --git a/docs/class/src/operations/longcount-subtraction.js~LongcountSubtraction.html b/docs/class/src/operations/longcount-subtraction.js~LongcountSubtraction.html index b3365e7..d4e4731 100644 --- a/docs/class/src/operations/longcount-subtraction.js~LongcountSubtraction.html +++ b/docs/class/src/operations/longcount-subtraction.js~LongcountSubtraction.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • diff --git a/docs/class/src/operations/longcount-wildcard.js~LongCountWildcard.html b/docs/class/src/operations/longcount-wildcard.js~LongCountWildcard.html index 5d44162..3f747b1 100644 --- a/docs/class/src/operations/longcount-wildcard.js~LongCountWildcard.html +++ b/docs/class/src/operations/longcount-wildcard.js~LongCountWildcard.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,13 +63,13 @@
    -
    + public class - | source + | source
    @@ -231,7 +230,7 @@

    - source + source

    @@ -293,7 +292,7 @@

    - source + source

    @@ -339,7 +338,7 @@

    - source + source

    diff --git a/docs/class/src/wildcard.js~Wildcard.html b/docs/class/src/wildcard.js~Wildcard.html index 8d2beea..4315d29 100644 --- a/docs/class/src/wildcard.js~Wildcard.html +++ b/docs/class/src/wildcard.js~Wildcard.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -70,7 +69,7 @@ - | source + | source
    @@ -104,8 +103,7 @@

    Example:

    const mayadates = require('maya-dates')
    -let cr = new mayadates.factory.CalendarRoundFactory().parse(
    - '4 Ajaw 8 *')
    +let cr = new mayadates.factory.CalendarRoundFactory().parse('4 Ajaw 8 *')
     console.log(cr.haab.month === mayadates.wildcard)
     > true
    @@ -177,7 +175,7 @@

    - source + source

    diff --git a/docs/coverage.json b/docs/coverage.json index 366106e..16aef92 100644 --- a/docs/coverage.json +++ b/docs/coverage.json @@ -1,11 +1,11 @@ { - "coverage": "100%", - "expectCount": 261, - "actualCount": 261, + "coverage": "93.86%", + "expectCount": 212, + "actualCount": 199, "files": { "src/cr/calendar-round.js": { - "expectCount": 19, - "actualCount": 19, + "expectCount": 15, + "actualCount": 15, "undocumentLines": [] }, "src/cr/haab-month.js": { @@ -14,13 +14,8 @@ "undocumentLines": [] }, "src/cr/haab.js": { - "expectCount": 16, - "actualCount": 16, - "undocumentLines": [] - }, - "src/cr/index.js": { - "expectCount": 3, - "actualCount": 3, + "expectCount": 14, + "actualCount": 14, "undocumentLines": [] }, "src/cr/tzolkin-day.js": { @@ -29,8 +24,8 @@ "undocumentLines": [] }, "src/cr/tzolkin.js": { - "expectCount": 16, - "actualCount": 16, + "expectCount": 14, + "actualCount": 14, "undocumentLines": [] }, "src/factory/base.js": { @@ -39,23 +34,18 @@ "undocumentLines": [] }, "src/factory/calendar-round.js": { - "expectCount": 6, - "actualCount": 6, + "expectCount": 4, + "actualCount": 4, "undocumentLines": [] }, "src/factory/full-date.js": { - "expectCount": 5, - "actualCount": 5, - "undocumentLines": [] - }, - "src/factory/index.js": { - "expectCount": 3, - "actualCount": 3, + "expectCount": 2, + "actualCount": 2, "undocumentLines": [] }, "src/factory/long-count.js": { - "expectCount": 5, - "actualCount": 5, + "expectCount": 2, + "actualCount": 2, "undocumentLines": [] }, "src/full-date.js": { @@ -63,74 +53,67 @@ "actualCount": 5, "undocumentLines": [] }, - "src/index.js": { - "expectCount": 6, - "actualCount": 6, - "undocumentLines": [] - }, "src/lc/correlation-constant.js": { "expectCount": 6, "actualCount": 6, "undocumentLines": [] }, "src/lc/distance-number.js": { - "expectCount": 43, - "actualCount": 43, - "undocumentLines": [] - }, - "src/lc/index.js": { - "expectCount": 4, - "actualCount": 4, + "expectCount": 39, + "actualCount": 39, "undocumentLines": [] }, "src/lc/long-count.js": { - "expectCount": 25, - "actualCount": 25, + "expectCount": 14, + "actualCount": 14, "undocumentLines": [] }, "src/lc/night/lord-of-night.js": { - "expectCount": 6, - "actualCount": 6, - "undocumentLines": [] + "expectCount": 17, + "actualCount": 5, + "undocumentLines": [ + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 55 + ] }, "src/lc/western/gregorian.js": { - "expectCount": 3, - "actualCount": 3, - "undocumentLines": [] - }, - "src/lc/western/index.js": { "expectCount": 2, "actualCount": 2, "undocumentLines": [] }, "src/lc/western/julian.js": { - "expectCount": 3, - "actualCount": 3, + "expectCount": 2, + "actualCount": 2, "undocumentLines": [] }, "src/lc/western/western.js": { - "expectCount": 11, - "actualCount": 11, + "expectCount": 10, + "actualCount": 10, "undocumentLines": [] }, - "src/operations/calendar-round-iterator.js": { - "expectCount": 8, - "actualCount": 8, + "src/operations/calendar-round-iter.js": { + "expectCount": 7, + "actualCount": 7, "undocumentLines": [] }, "src/operations/calendar-round-wildcard.js": { - "expectCount": 6, - "actualCount": 6, + "expectCount": 5, + "actualCount": 5, "undocumentLines": [] }, "src/operations/fulldate-wildcard.js": { - "expectCount": 10, - "actualCount": 10, - "undocumentLines": [] - }, - "src/operations/index.js": { - "expectCount": 3, - "actualCount": 3, + "expectCount": 7, + "actualCount": 7, "undocumentLines": [] }, "src/operations/longcount-addition.js": { @@ -144,14 +127,16 @@ "undocumentLines": [] }, "src/operations/longcount-wildcard.js": { - "expectCount": 5, - "actualCount": 5, + "expectCount": 4, + "actualCount": 4, "undocumentLines": [] }, "src/wildcard.js": { - "expectCount": 2, + "expectCount": 3, "actualCount": 2, - "undocumentLines": [] + "undocumentLines": [ + 22 + ] } } } \ No newline at end of file diff --git a/docs/file/src/cr/calendar-round.js.html b/docs/file/src/cr/calendar-round.js.html index 72d77ac..3fb5b9f 100644 --- a/docs/file/src/cr/calendar-round.js.html +++ b/docs/file/src/cr/calendar-round.js.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,18 +63,13 @@

    src/cr/calendar-round.js

    -
    /** @ignore */
    -const tzolkin = require('../cr/tzolkin');
    -/** @ignore */
    -const haab = require('../cr/haab');
    -/** @ignore */
    -const wildcard = require('../wildcard');
    -/** @ignore */
    -const DistanceNumber = require('../lc/distance-number');
    -
    +
    import tzolkin from './tzolkin';
    +import haab from './haab';
    +import wildcard from '../wildcard';
    +import DistanceNumber from '../lc/distance-number';
     
     /** @ignore */
    -const singleton = {};
    +const singleton = {}
     
     /**
      * Return a comparable instance of a Calendar Round.
    @@ -85,13 +79,14 @@
      * @param {HaabMonth|string} haabMonth
      * @return {CalendarRound}
      */
    -function getCalendarRound(tzolkinCoeff, tzolkinDay, haabCoeff, haabMonth) {
    -  const crId = `${tzolkinCoeff} ${tzolkinDay} ${haabCoeff} ${haabMonth}`;
    +function getCalendarRound (tzolkinCoeff, tzolkinDay, haabCoeff, haabMonth) {
    +  const crId = `${tzolkinCoeff} ${tzolkinDay} ${haabCoeff} ${haabMonth}`
       if (singleton[crId] === undefined) {
         // eslint-disable-next-line no-use-before-define
    -    singleton[crId] = new CalendarRound(tzolkinCoeff, tzolkinDay, haabCoeff, haabMonth);
    +    singleton[crId] = new CalendarRound(tzolkinCoeff, tzolkinDay, haabCoeff,
    +      haabMonth)
       }
    -  return singleton[crId];
    +  return singleton[crId]
     }
     
     /**
    @@ -108,19 +103,19 @@
        * @param {number} haabCoeff Day in the Haab month
        * @param {string|HaabMonth} haabMonth Name of the Haab month
        */
    -  constructor(tzolkinCoeff, tzolkinDay, haabCoeff, haabMonth) {
    +  constructor (tzolkinCoeff, tzolkinDay, haabCoeff, haabMonth) {
         /**
          * 260-day cycle component of the Calendar Round
          * @type {Tzolkin}
          */
    -    this.tzolkin = tzolkin.getTzolkin(tzolkinCoeff, tzolkinDay);
    +    this.tzolkin = tzolkin.getTzolkin(tzolkinCoeff, tzolkinDay)
         /**
          * Haab cycle component of the Calendar Round
          * @type {Haab}
          */
    -    this.haab = haab.getHaab(haabCoeff, haabMonth);
    +    this.haab = haab.getHaab(haabCoeff, haabMonth)
     
    -    this.validate();
    +    this.validate()
       }
     
       /**
    @@ -128,38 +123,40 @@
        * configuration
        * @throws {Error} If the Calendar Round is invalid.
        */
    -  validate() {
    -    let validHaabCoeffs = [];
    +  validate () {
    +    let validHaabCoeffs = []
         if ([
    -      'Kaban', 'Ik\'', 'Manik\'', 'Eb'
    +      'Kaban', 'Ik\'', 'Manik\'', 'Eb',
         ].includes(this.tzolkin.name)) {
    -      validHaabCoeffs = [0, 5, 10, 15];
    +      validHaabCoeffs = [0, 5, 10, 15]
         } else if ([
    -      'Etz\'nab', 'Ak\'bal', 'Lamat', 'Ben'
    +      'Etz\'nab', 'Ak\'bal', 'Lamat', 'Ben',
         ].includes(this.tzolkin.name)) {
    -      validHaabCoeffs = [1, 6, 11, 16];
    +      validHaabCoeffs = [1, 6, 11, 16]
         } else if ([
    -      'Kawak', 'K\'an', 'Muluk', 'Ix'
    +      'Kawak', 'K\'an', 'Muluk', 'Ix',
         ].includes(this.tzolkin.name)) {
    -      validHaabCoeffs = [2, 7, 12, 17];
    +      validHaabCoeffs = [2, 7, 12, 17]
         } else if ([
    -      'Ajaw', 'Chikchan', 'Ok', 'Men'
    +      'Ajaw', 'Chikchan', 'Ok', 'Men',
         ].includes(this.tzolkin.name)) {
    -      validHaabCoeffs = [3, 8, 13, 18];
    +      validHaabCoeffs = [3, 8, 13, 18]
         } else if ([
    -      'Imix', 'Kimi', 'Chuwen', 'Kib'
    +      'Imix', 'Kimi', 'Chuwen', 'Kib',
         ].includes(this.tzolkin.name)) {
    -      validHaabCoeffs = [4, 9, 14, 19];
    +      validHaabCoeffs = [4, 9, 14, 19]
         } else if ([wildcard].includes(this.tzolkin.name)) {
    -      validHaabCoeffs = [...Array(19).keys()];
    +      validHaabCoeffs = [...Array(19).keys()]
         } else {
    -      throw new Error(`Could not allocate Tzolk'in (${this.tzolkin.name}) to permissible month coeffs.`);
    +      throw new Error(
    +        `Could not allocate Tzolk'in (${this.tzolkin.name}) to permissible month coeffs.`)
         }
     
    -    validHaabCoeffs.push(wildcard);
    +    validHaabCoeffs.push(wildcard)
     
         if (!validHaabCoeffs.includes(this.haab.coeff)) {
    -      throw new Error(`${this} should have Haab coeff in ${validHaabCoeffs} for day ${this.tzolkin.name}`);
    +      throw new Error(
    +        `${this} should have Haab coeff in ${validHaabCoeffs} for day ${this.tzolkin.name}`)
         }
       }
     
    @@ -167,8 +164,8 @@
        * Increment both the Haab and 260-day cycle to the next day in the Calendar Round
        * @returns {CalendarRound}
        */
    -  next() {
    -    return this.shift(1);
    +  next () {
    +    return this.shift(1)
       }
     
       /**
    @@ -177,8 +174,8 @@
        * @param {CalendarRound} newCr
        * @return {Boolean}
        */
    -  equal(newCr) {
    -    return this === newCr;
    +  equal (newCr) {
    +    return this === newCr
       }
     
       /**
    @@ -186,21 +183,29 @@
        * @param {CalendarRound} targetCr
        * @return {LongCount}
        */
    -  minus(targetCr) {
    +  minus (targetCr) {
         /** @ignore */
    -    const foundOrigin = false;
    -    const foundTarget = false;
    -    let current = this;
    -    let count = 0;
    +    let foundOrigin = false
    +    const foundTarget = false
    +    let current = this
    +    let count = 0
    +    let cycleCount = undefined
         while (!foundTarget) {
           // eslint-disable-next-line no-use-before-define
           if (current.equal(origin)) {
    -        debugger;
    +        foundOrigin = true
    +        cycleCount = count
    +        count = 0
    +        current = current.next()
           } else if (current.equal(targetCr)) {
    -        return new DistanceNumber(count).normalise();
    +        return new DistanceNumber(
    +          foundOrigin
    +            ? -(18979 - cycleCount - count)
    +            : count,
    +        ).normalise()
           } else {
    -        current = current.next();
    -        count += 1;
    +        current = current.next()
    +        count += 1
           }
         }
       }
    @@ -211,10 +216,10 @@
        * @param {CalendarRound} newCr
        * @return {boolean}
        */
    -  match(newCr) {
    -    const haabMatches = this.haab.match(newCr.haab);
    -    const tzolkinMatches = this.tzolkin.match(newCr.tzolkin);
    -    return haabMatches && tzolkinMatches;
    +  match (newCr) {
    +    const haabMatches = this.haab.match(newCr.haab)
    +    const tzolkinMatches = this.tzolkin.match(newCr.tzolkin)
    +    return haabMatches && tzolkinMatches
       }
     
       /**
    @@ -223,46 +228,48 @@
        * @param {number} increment
        * @return {CalendarRound}
        */
    -  shift(increment) {
    -    const newHaab = this.haab.shift(increment);
    -    const newTzolkin = this.tzolkin.shift(increment);
    +  shift (increment) {
    +    const newHaab = this.haab.shift(increment)
    +    const newTzolkin = this.tzolkin.shift(increment)
         // eslint-disable-next-line no-use-before-define
         return getCalendarRound(
           newTzolkin.coeff,
           newTzolkin.day,
           newHaab.coeff,
    -      newHaab.month
    -    );
    +      newHaab.month,
    +    )
       }
     
       /**
        * Return true, if this function has any wildcard portions.
        * @return {boolean}
        */
    -  isPartial() {
    +  isPartial () {
         return (this.tzolkin.day === wildcard)
           || (this.tzolkin.coeff === wildcard)
           || (this.haab.month === wildcard)
    -      || (this.haab.coeff === wildcard);
    +      || (this.haab.coeff === wildcard)
       }
     
       /**
        * Render the CalendarRound cycle fullDate as a string
        * @returns {string}
        */
    -  toString() {
    -    return `${this.tzolkin} ${this.haab}`;
    +  toString () {
    +    return `${this.tzolkin} ${this.haab}`
       }
     }
     
     /** @ignore */
     const origin = getCalendarRound(
       4, 'Ajaw',
    -  8, 'Kumk\'u'
    -);
    -
    +  8, 'Kumk\'u',
    +)
     
    -module.exports = {getCalendarRound, origin};
    +export default {
    +  getCalendarRound,
    +  origin
    +};
     
    diff --git a/docs/file/src/cr/haab-month.js.html b/docs/file/src/cr/haab-month.js.html index 8f895d4..b87b2df 100644 --- a/docs/file/src/cr/haab-month.js.html +++ b/docs/file/src/cr/haab-month.js.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -191,8 +190,7 @@ } } - -module.exports = { +export { HaabMonth, getHaabMonth, }; diff --git a/docs/file/src/cr/haab.js.html b/docs/file/src/cr/haab.js.html index 3c6bb47..e4dd0eb 100644 --- a/docs/file/src/cr/haab.js.html +++ b/docs/file/src/cr/haab.js.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,10 +63,8 @@

    src/cr/haab.js

    -
    /** @ignore */
    -const wildcard = require('../wildcard');
    -/** @ignore */
    -const {getHaabMonth} = require('./haab-month');
    +
    import wildcard from '../wildcard';
    +import { getHaabMonth } from './haab-month';
     
     /** @ignore */
     const singleton = {};
    @@ -240,7 +237,7 @@
       }
     }
     
    -module.exports = {
    +export default {
       getHaab,
       getHaabMonth
     };
    diff --git a/docs/file/src/cr/index.js.html b/docs/file/src/cr/index.js.html
    index 40b156b..0c8aea6 100644
    --- a/docs/file/src/cr/index.js.html
    +++ b/docs/file/src/cr/index.js.html
    @@ -50,7 +50,6 @@
     
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,19 +63,15 @@

    src/cr/index.js

    -
    /** @ignore */
    -const { origin, getCalendarRound } = require('./calendar-round');
    -/** @ignore */
    -const tzolkin = require('./tzolkin');
    -/** @ignore */
    -const haab = require('./haab');
    +
    import cr from './calendar-round';
    +import tzolkin from './tzolkin';
    +import haab from './haab';
     
    -
    -module.exports = {
    -  getCalendarRound,
    +export default {
    +  getCalendarRound: cr.getCalendarRound,
    +  origin: cr.origin,
       tzolkin,
       haab,
    -  origin
     };
     
    diff --git a/docs/file/src/cr/tzolkin-day.js.html b/docs/file/src/cr/tzolkin-day.js.html index f0b25c8..85e99ed 100644 --- a/docs/file/src/cr/tzolkin-day.js.html +++ b/docs/file/src/cr/tzolkin-day.js.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -100,7 +99,8 @@ * Return a comparable instance of a Tzolkin day. * @param {TzolkinDay|string} newDayName * @return {TzolkinDay} - */function getTzolkinDay(newDayName) { + */ +export default function getTzolkinDay(newDayName) { const dayName = (typeof newDayName === 'number') ? days[newDayName] : newDayName; if (singleton[dayName] === undefined) { // eslint-disable-next-line no-use-before-define @@ -189,8 +189,6 @@ return this.name; } } - -module.exports = getTzolkinDay;
    diff --git a/docs/file/src/cr/tzolkin.js.html b/docs/file/src/cr/tzolkin.js.html index c27da93..383a7c9 100644 --- a/docs/file/src/cr/tzolkin.js.html +++ b/docs/file/src/cr/tzolkin.js.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,10 +63,8 @@

    src/cr/tzolkin.js

    -
    /** @ignore */
    -const wildcard = require('../wildcard');
    -/** @ignore */
    -const getTzolkinDay = require('./tzolkin-day');
    +
    import wildcard from '../wildcard';
    +import getTzolkinDay from './tzolkin-day';
     
     /** @ignore */
     const singleton = {};
    @@ -239,8 +236,7 @@
       }
     }
     
    -
    -module.exports = {
    +export default {
       getTzolkinDay,
       getTzolkin,
     };
    diff --git a/docs/file/src/factory/base.js.html b/docs/file/src/factory/base.js.html
    index 340bcc0..f086f96 100644
    --- a/docs/file/src/factory/base.js.html
    +++ b/docs/file/src/factory/base.js.html
    @@ -50,7 +50,6 @@
     
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -67,7 +66,7 @@
    /**
      * An abstract class to handle the create of an object from a string
      */
    -class Factory {
    +export default class Factory {
       /**
        * Define properties to be override by sub-classes
        */
    @@ -107,8 +106,6 @@
       //   return parts.includes('*')
       // }
     }
    -
    -module.exports = Factory;
     
    diff --git a/docs/file/src/factory/calendar-round.js.html b/docs/file/src/factory/calendar-round.js.html index b7a5cb5..75098f6 100644 --- a/docs/file/src/factory/calendar-round.js.html +++ b/docs/file/src/factory/calendar-round.js.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,10 +63,8 @@

    src/factory/calendar-round.js

    -
    /** @ignore */
    -const Factory = require('./base');
    -/** @ignore */
    -const { getCalendarRound } = require('../cr/calendar-round');
    +
    import Factory from './base';
    +import cr from '../cr/calendar-round';
     
     /**
      * A factory to create a CalendarRound object from a string
    @@ -75,7 +72,7 @@
      * @example
      *    let cr = new CalendarRoundFactory().parse("4 Ajaw 8 Kumk'u");
      */
    -class CalendarRoundFactory extends Factory {
    +export default class CalendarRoundFactory extends Factory {
       /**
        * Defines the pattern describing a Calendar Round
        */
    @@ -98,14 +95,12 @@
         if (parts.length < 4) {
           return null;
         }
    -    return getCalendarRound(
    +    return cr.getCalendarRound(
           parts[0], parts[1],
           parts[2], parts[3]
         );
       }
     }
    -
    -module.exports = CalendarRoundFactory;
     
    diff --git a/docs/file/src/factory/full-date.js.html b/docs/file/src/factory/full-date.js.html index e3ed295..27cae37 100644 --- a/docs/file/src/factory/full-date.js.html +++ b/docs/file/src/factory/full-date.js.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,19 +63,16 @@

    src/factory/full-date.js

    -
    /** @ignore */
    -const CalendarRoundFactory = require('./calendar-round');
    -/** @ignore */
    -const LongCountFactory = require('./long-count');
    -/** @ignore */
    -const FullDate = require('../full-date');
    +
    import CalendarRoundFactory from './calendar-round';
    +import LongCountFactory from './long-count';
    +import FullDate from '../full-date';
     
     /**
      * Given a fullDate composed of a Long Count and a Calendar Round, create a
      * {FullDate} object.
      * @extends {Factory}
      */
    -class FullDateFactory {
    +export default class FullDateFactory {
       /**
        *
        * @param {String} raw
    @@ -93,8 +89,6 @@
         );
       }
     }
    -
    -module.exports = FullDateFactory;
     
    diff --git a/docs/file/src/factory/index.js.html b/docs/file/src/factory/index.js.html index b7fa429..ee44cb1 100644 --- a/docs/file/src/factory/index.js.html +++ b/docs/file/src/factory/index.js.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,14 +63,11 @@

    src/factory/index.js

    -
    /** @ignore */
    -const FullDateFactory = require('./full-date');
    -/** @ignore */
    -const CalendarRoundFactory = require('./calendar-round');
    -/** @ignore */
    -const LongCountFactory = require('./long-count');
    +
    import FullDateFactory from './full-date';
    +import CalendarRoundFactory from './calendar-round';
    +import LongCountFactory from './long-count';
     
    -module.exports = {
    +export default {
       CalendarRoundFactory,
       LongCountFactory,
       FullDateFactory
    diff --git a/docs/file/src/factory/long-count.js.html b/docs/file/src/factory/long-count.js.html
    index a84bd56..a9dfc04 100644
    --- a/docs/file/src/factory/long-count.js.html
    +++ b/docs/file/src/factory/long-count.js.html
    @@ -50,7 +50,6 @@
     
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,12 +63,9 @@

    src/factory/long-count.js

    -
    /** @ignore */
    -const Factory = require('./base');
    -/** @ignore */
    -const LongCount = require('../lc/long-count');
    -/** @ignore */
    -const wildcard = require('../wildcard');
    +
    import Factory from './base';
    +import LongCount from '../lc/long-count';
    +import wildcard from '../wildcard';
     
     /**
      * A factory to create a LongCount object from a string
    @@ -79,7 +75,7 @@
      * @example
      *    let cr = new LongCountFactory().parse("9.4.2.*.1");
      */
    -class LongCountFactory extends Factory {
    +export default class LongCountFactory extends Factory {
       /**
        * Given a string, parse it and create a Long Count
        * @param {string} raw - A string containing a Long Count
    @@ -105,8 +101,6 @@
         );
       }
     }
    -
    -module.exports = LongCountFactory;
     
    diff --git a/docs/file/src/full-date.js.html b/docs/file/src/full-date.js.html index ec0ca03..5412054 100644 --- a/docs/file/src/full-date.js.html +++ b/docs/file/src/full-date.js.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -67,7 +66,7 @@
    /**
      * An encapsulation of a LongCount and Calendar Round which match each other.
      */
    -class FullDate {
    +export default class FullDate {
       /**
        * @param {CalendarRound} cr
        * @param {LongCount} lc
    @@ -92,8 +91,6 @@
         return `${this.cr} ${this.lc}`;
       }
     }
    -
    -module.exports = FullDate;
     
    diff --git a/docs/file/src/index.js.html b/docs/file/src/index.js.html index 0e7ece0..3f85710 100644 --- a/docs/file/src/index.js.html +++ b/docs/file/src/index.js.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,20 +63,14 @@

    src/index.js

    -
    /** @ignore */
    -const FullDate = require('./full-date');
    -/** @ignore */
    -const factory = require('./factory/index');
    -/** @ignore */
    -const cr = require('./cr/index');
    -/** @ignore */
    -const lc = require('./lc/index');
    -/** @ignore */
    -const op = require('./operations/index');
    -/** @ignore */
    -const wildcard = require('./wildcard');
    +
    import FullDate from './full-date';
    +import factory from './factory/index';
    +import cr from './cr/index';
    +import lc from './lc/index';
    +import op from './operations/index';
    +import wildcard from './wildcard';
     
    -module.exports = {
    +export default {
       factory,
       cr,
       lc,
    diff --git a/docs/file/src/lc/correlation-constant.js.html b/docs/file/src/lc/correlation-constant.js.html
    index 47d110d..0485d8d 100644
    --- a/docs/file/src/lc/correlation-constant.js.html
    +++ b/docs/file/src/lc/correlation-constant.js.html
    @@ -50,7 +50,6 @@
     
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -109,7 +108,7 @@ * @param {string} name - Optional name when creating a new Correlation Constant * @return {CorrelationConstant} */ -function getCorrelationConstant(id, name) { +export default function getCorrelationConstant(id, name) { if (id in correlationConstants) { return correlationConstants[id]; } @@ -121,9 +120,6 @@ correlationConstants[newCorrConst.value] = newCorrConst; return newCorrConst; } - - -module.exports = getCorrelationConstant;
    diff --git a/docs/file/src/lc/distance-number.js.html b/docs/file/src/lc/distance-number.js.html index 6014169..d4c45b6 100644 --- a/docs/file/src/lc/distance-number.js.html +++ b/docs/file/src/lc/distance-number.js.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,43 +63,39 @@

    src/lc/distance-number.js

    -
    /** @ignore */
    -const moonbeams = require('moonbeams');
    -/** @ignore */
    -const wildcard = require('../wildcard');
    -/** @ignore */
    -const LongcountAddition = require('../operations/longcount-addition');
    -/** @ignore */
    -const LongcountSubtraction = require('../operations/longcount-subtraction');
    +
    import wildcard from '../wildcard';
    +import LongcountAddition from '../operations/longcount-addition';
    +import LongcountSubtraction from '../operations/longcount-subtraction';
     
     /**
      * Long Count cycle
      */
    -class DistanceNumber {
    +export default class DistanceNumber {
       /**
        * @param {...number|Wildcard} cycles - Components in the long count
        * (eg, K'in, Winal, Bak'tun, etc)
        */
    -  constructor(...cycles) {
    +  constructor (...cycles) {
         /**
          * Date Components
          * @type {number[]|Wildcard[]}
          */
    -    this.parts = cycles;
    +    this.parts = cycles
     
         /**
          * Pattern to validate the fullDate
          * @type {RegExp}
          */
    -    this.date_pattern = /([\d*]+\.?)+/;
    +    this.date_pattern = /([\d*]+\.?)+/
     
         /**
          * @private
          * @type {number}
          */
    -    this.sign = (this.parts[this.parts.length - 1] < 0) ? -1 : 1;
    +    this.sign = (this.parts[this.parts.length - 1] < 0) ? -1 : 1
         if (this.isNegative) {
    -      this.parts[this.parts.length - 1] = -1 * this.parts[this.parts.length - 1];
    +      this.parts[this.parts.length - 1] = -1 *
    +        this.parts[this.parts.length - 1]
         }
       }
     
    @@ -108,32 +103,32 @@
        * Return true if the Long Count is positive.
        * @return {boolean}
        */
    -  get isPositive() {
    -    return this.sign === 1;
    +  get isPositive () {
    +    return this.sign === 1
       }
     
       /**
        * Return true if the Long Count is operating as a negative Distance Number.
        * @return {boolean}
        */
    -  get isNegative() {
    -    return this.sign === -1;
    +  get isNegative () {
    +    return this.sign === -1
       }
     
       /**
        * Set this Long Count as being a Long Count or a positive Distance Number
        * @param {boolean} newPositive
        */
    -  set isPositive(newPositive) {
    -    this.sign = newPositive === true ? 1 : -1;
    +  set isPositive (newPositive) {
    +    this.sign = newPositive === true ? 1 : -1
       }
     
       /**
        * Set this Long Count as being a negative Distance Number
        * @param newNegative
        */
    -  set isNegative(newNegative) {
    -    this.isPositive = !newNegative;
    +  set isNegative (newNegative) {
    +    this.isPositive = !newNegative
       }
     
       /**
    @@ -141,16 +136,16 @@
        * @param {DistanceNumber} other
        * @return {boolean}
        */
    -  equal(other) {
    -    return `${this}` === `${other}`;
    +  equal (other) {
    +    return `${this}` === `${other}`
       }
     
       /**
        * Create a copy object of this long count fullDate
        * @returns {DistanceNumber}
        */
    -  clone() {
    -    return new DistanceNumber(...this.parts);
    +  clone () {
    +    return new DistanceNumber(...this.parts)
       }
     
       /**
    @@ -158,12 +153,12 @@
        * @param {number} index
        * @returns {number}
        */
    -  getDateSections(index) {
    -    const part = this.parts[index];
    +  getDateSections (index) {
    +    const part = this.parts[index]
         if (part === undefined) {
    -      return 0;
    +      return 0
         }
    -    return part;
    +    return part
       }
     
       /**
    @@ -172,9 +167,10 @@
        * @param {number|wildcard} newValue
        * @returns {DistanceNumber}
        */
    -  setDateSections(index, newValue) {
    -    this.parts[index] = (newValue !== wildcard) ? newValue : parseInt(newValue, 10);
    -    return this;
    +  setDateSections (index, newValue) {
    +    this.parts[index] = (newValue !== wildcard) ? newValue : parseInt(newValue,
    +      10)
    +    return this
       }
     
       /**
    @@ -182,8 +178,8 @@
        * @param fn
        * @return {object[]}
        */
    -  map(fn) {
    -    return this.parts.map(fn);
    +  map (fn) {
    +    return this.parts.map(fn)
       }
     
       /**
    @@ -191,8 +187,8 @@
        * @param {DistanceNumber} newLongCount
        * @return {boolean}
        */
    -  lt(newLongCount) {
    -    return this.getPosition() < newLongCount.getPosition();
    +  lt (newLongCount) {
    +    return this.getPosition() < newLongCount.getPosition()
       }
     
       /**
    @@ -200,136 +196,136 @@
        * @param {DistanceNumber} newLongCount
        * @return {boolean}
        */
    -  gt(newLongCount) {
    -    return this.getPosition() > newLongCount.getPosition();
    +  gt (newLongCount) {
    +    return this.getPosition() > newLongCount.getPosition()
       }
     
       /**
        * Set the k'in component of the fullDate
        */
    -  set kIn(newKIn) {
    -    this.setDateSections(0, newKIn);
    +  set kIn (newKIn) {
    +    this.setDateSections(0, newKIn)
       }
     
       /**
        * Return the k'in component of the fullDate
        * @returns {number}
        */
    -  get kIn() {
    -    return this.getDateSections(0);
    +  get kIn () {
    +    return this.getDateSections(0)
       }
     
       /**
        * Set the winal component of the fullDate
        */
    -  set winal(newWinal) {
    -    this.setDateSections(1, newWinal);
    +  set winal (newWinal) {
    +    this.setDateSections(1, newWinal)
       }
     
       /**
        * Return the winal component of the fullDate
        * @returns {number}
        */
    -  get winal() {
    -    return this.getDateSections(1);
    +  get winal () {
    +    return this.getDateSections(1)
       }
     
       /**
        * Set the tun component of the fullDate
        */
    -  set tun(newTun) {
    -    this.setDateSections(2, newTun);
    +  set tun (newTun) {
    +    this.setDateSections(2, newTun)
       }
     
       /**
        * Return the tun component of the fullDate
        * @returns {number}
        */
    -  get tun() {
    -    return this.getDateSections(2);
    +  get tun () {
    +    return this.getDateSections(2)
       }
     
       /**
        * Set the k'atun component of the fullDate
        */
    -  set kAtun(newKAtun) {
    -    this.setDateSections(3, newKAtun);
    +  set kAtun (newKAtun) {
    +    this.setDateSections(3, newKAtun)
       }
     
       /**
        * Return the k'atun component of the fullDate
        * @returns {number}
        */
    -  get kAtun() {
    -    return this.getDateSections(3);
    +  get kAtun () {
    +    return this.getDateSections(3)
       }
     
       /**
        * Set the bak'tun component of the fullDate
        */
    -  set bakTun(newBakTun) {
    -    this.setDateSections(4, newBakTun);
    +  set bakTun (newBakTun) {
    +    this.setDateSections(4, newBakTun)
       }
     
       /**
        * Return the bak'tun component of the fullDate
        * @returns {number}
        */
    -  get bakTun() {
    -    return this.getDateSections(4);
    +  get bakTun () {
    +    return this.getDateSections(4)
       }
     
       /**
        * Set the piktun component of the fullDate
        */
    -  set piktun(newBakTun) {
    -    this.setDateSections(5, newBakTun);
    +  set piktun (newBakTun) {
    +    this.setDateSections(5, newBakTun)
       }
     
       /**
        * Return the piktun component of the fullDate
        * @returns {number}
        */
    -  get piktun() {
    -    return this.getDateSections(5);
    +  get piktun () {
    +    return this.getDateSections(5)
       }
     
       /**
        * Set the kalabtun component of the fullDate
        */
    -  set kalabtun(newBakTun) {
    -    this.setDateSections(6, newBakTun);
    +  set kalabtun (newBakTun) {
    +    this.setDateSections(6, newBakTun)
       }
     
       /**
        * Return the kalabtun component of the fullDate
        * @returns {number}
        */
    -  get kalabtun() {
    -    return this.getDateSections(6);
    +  get kalabtun () {
    +    return this.getDateSections(6)
       }
     
       /**
        * Set the kinchiltun component of the fullDate
        */
    -  set kinchiltun(newBakTun) {
    -    this.setDateSections(7, newBakTun);
    +  set kinchiltun (newBakTun) {
    +    this.setDateSections(7, newBakTun)
       }
     
       /**
        * Return the kinchiltun component of the fullDate
        * @returns {number}
        */
    -  get kinchiltun() {
    -    return this.getDateSections(7);
    +  get kinchiltun () {
    +    return this.getDateSections(7)
       }
     
       /**
        * Ensure the fullDate has only numbers and wildcards separated by points.
        * @returns {boolean}
        */
    -  isValid() {
    -    return this.date_pattern.test(this.toString());
    +  isValid () {
    +    return this.date_pattern.test(this.toString())
       }
     
       /**
    @@ -337,17 +333,17 @@
        * a {Wildcard} object.
        * @return {boolean}
        */
    -  isPartial() {
    -    return this.parts.some((part) => part === wildcard);
    +  isPartial () {
    +    return this.parts.some((part) => part === wildcard)
       }
     
       /**
        * Count the number of days since 0.0.0.0.0 for this LC.
        * @return {number}
        */
    -  getPosition() {
    +  getPosition () {
         if (this.isPartial()) {
    -      throw new Error('Can not get position of fullDate dates');
    +      throw new Error('Can not get position of fullDate dates')
         }
         return (this.kIn
           + this.winal * 20
    @@ -356,7 +352,7 @@
           + this.bakTun * 144000
           + this.piktun * 2880000
           + this.kalabtun * 57600000
    -      + this.kinchiltun * 1152000000) * this.sign;
    +      + this.kinchiltun * 1152000000) * this.sign
       }
     
       /**
    @@ -364,11 +360,11 @@
        * @param {DistanceNumber} newLc
        * @return {LongcountAddition}
        */
    -  plus(newLc) {
    +  plus (newLc) {
         /*  We pass the LongCount class in, as to require this in the operation
          *  will create a circular dependency.
          */
    -    return new LongcountAddition(DistanceNumber, this, newLc);
    +    return new LongcountAddition(DistanceNumber, this, newLc)
       }
     
       /**
    @@ -376,80 +372,82 @@
        * @param {DistanceNumber} newLc
        * @return {LongcountAddition}
        */
    -  minus(newLc) {
    +  minus (newLc) {
         /*  We pass the LongCount class in, as to require this in the operation
          *  will create a circular dependency.
          */
    -    return new LongcountSubtraction(DistanceNumber, this, newLc);
    +    return new LongcountSubtraction(DistanceNumber, this, newLc)
       }
     
       /**
        * Make sure the elements of the Long Count do not exceed
        * @return {DistanceNumber}
        */
    -  normalise() {
    -    const totalKIn = this.getPosition();
    -    const norm = new DistanceNumber();
    -    norm.kIn = totalKIn % 20;
    +  normalise () {
    +    const totalKIn = this.getPosition()
    +    const norm = new DistanceNumber()
    +    norm.kIn = totalKIn % 20
         // eslint-disable-next-line no-mixed-operators
    -    norm.winal = (totalKIn - norm.getPosition()) / 20 % 18;
    +    norm.winal = (totalKIn - norm.getPosition()) / 20 % 18
         // eslint-disable-next-line no-mixed-operators
    -    norm.tun = (totalKIn - norm.getPosition()) / 360 % 20;
    +    norm.tun = (totalKIn - norm.getPosition()) / 360 % 20
         // eslint-disable-next-line no-mixed-operators
    -    norm.kAtun = (totalKIn - norm.getPosition()) / 7200 % 20;
    +    norm.kAtun = (totalKIn - norm.getPosition()) / 7200 % 20
         // eslint-disable-next-line no-mixed-operators
    -    norm.bakTun = (totalKIn - norm.getPosition()) / 144000 % 20;
    +    norm.bakTun = (totalKIn - norm.getPosition()) / 144000 % 20
         // eslint-disable-next-line no-mixed-operators
    -    norm.piktun = (totalKIn - norm.getPosition()) / 2880000 % 20;
    +    norm.piktun = (totalKIn - norm.getPosition()) / 2880000 % 20
         // eslint-disable-next-line no-mixed-operators
    -    norm.kalabtun = (totalKIn - norm.getPosition()) / 57600000 % 20;
    +    norm.kalabtun = (totalKIn - norm.getPosition()) / 57600000 % 20
         // eslint-disable-next-line no-mixed-operators
    -    norm.kinchiltun = (totalKIn - norm.getPosition()) / 1152000000 % 20;
    -    this.parts = norm.parts;
    -    return this;
    +    norm.kinchiltun = (totalKIn - norm.getPosition()) / 1152000000 % 20
    +    const foundNegative = norm.parts.reduce(
    +      (found, part) => found || (part < 0),
    +      false,
    +    )
    +    this.sign = foundNegative ? -1 : 1
    +    this.parts = norm.parts.map((part) => Math.abs(part))
    +    return this
       }
     
    -
       /**
        * Convert the LongCount to a string and pad the sections of the fullDate
        * @returns {string}
        */
    -  toString() {
    -    let significantDigits = [];
    +  toString () {
    +    let significantDigits = []
         for (let i = this.parts.length - 1; i >= 0; i -= 1) {
    -      const part = this.parts[i];
    +      const part = this.parts[i]
           if (part !== 0) {
    -        significantDigits = this.parts.slice(0, i + 1).reverse();
    -        break;
    +        significantDigits = this.parts.slice(0, i + 1).reverse()
    +        break
           }
         }
     
         for (let i = 0; i < significantDigits.length; i += 1) {
           if (significantDigits[i] === undefined) {
    -        significantDigits[i] = '0';
    +        significantDigits[i] = '0'
           }
         }
     
    -    const dateLength = significantDigits.length;
    +    const dateLength = significantDigits.length
         if (dateLength < 5) {
    -      significantDigits = significantDigits.reverse();
    +      significantDigits = significantDigits.reverse()
           for (let i = 0; i < 5 - dateLength; i += 1) {
    -        significantDigits.push(' 0');
    +        significantDigits.push(' 0')
           }
    -      significantDigits = significantDigits.reverse();
    +      significantDigits = significantDigits.reverse()
         }
     
         for (let i = 0; i < significantDigits.length; i += 1) {
    -      const part = significantDigits[i].toString();
    +      const part = significantDigits[i].toString()
           if (part.length < 2) {
    -        significantDigits[i] = ` ${part}`;
    +        significantDigits[i] = ` ${part}`
           }
         }
    -    return significantDigits.join('.');
    +    return `${this.sign === -1 ? '-' : ''}${significantDigits.join('.')}`
       }
     }
    -
    -module.exports = DistanceNumber;
     
    diff --git a/docs/file/src/lc/index.js.html b/docs/file/src/lc/index.js.html index 218d00b..c4ce635 100644 --- a/docs/file/src/lc/index.js.html +++ b/docs/file/src/lc/index.js.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,20 +63,18 @@

    src/lc/index.js

    -
    /** @ignore */
    -const LongCount = require('./long-count');
    -/** @ignore */
    -const LordOfNight = require('./night/lord-of-night');
    -/** @ignore */
    -const western = require('./western/index');
    -/** @ignore */
    -const DistanceNumber = require('./distance-number');
    +
    import LongCount from './long-count';
    +import LordOfNight from './night/lord-of-night';
    +import western from './western/western';
    +import DistanceNumber from './distance-number';
    +import getCorrelationConstant from './correlation-constant';
     
    -module.exports = {
    +export default {
       DistanceNumber,
       LongCount,
       night: LordOfNight,
       western,
    +  getCorrelationConstant
     };
     
    diff --git a/docs/file/src/lc/long-count.js.html b/docs/file/src/lc/long-count.js.html index 0e0d4b3..170185f 100644 --- a/docs/file/src/lc/long-count.js.html +++ b/docs/file/src/lc/long-count.js.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,33 +63,20 @@

    src/lc/long-count.js

    -
    /** @ignore */
    -const moonbeams = require('moonbeams');
    -/** @ignore */
    -const wildcard = require('../wildcard');
    -/** @ignore */
    -const {origin} = require('../cr/calendar-round');
    -/** @ignore */
    -const FullDate = require('../full-date');
    -/** @ignore */
    -const night = require('./night/lord-of-night');
    -/** @ignore */
    -const LongcountAddition = require('../operations/longcount-addition');
    -/** @ignore */
    -const LongcountSubtraction = require('../operations/longcount-subtraction');
    -/** @ignore */
    -const getCorrelationConstant = require('./correlation-constant');
    -/** @ignore */
    -const GregorianCalendarDate = require('./western/gregorian');
    -/** @ignore */
    -const JulianCalendarDate = require('./western/julian');
    -/** @ignore */
    -const DistanceNumber = require('./distance-number');
    +
    import cr  from '../cr/calendar-round';
    +import FullDate from '../full-date';
    +import night from './night/lord-of-night';
    +import LongcountAddition from '../operations/longcount-addition';
    +import LongcountSubtraction from '../operations/longcount-subtraction';
    +import getCorrelationConstant from './correlation-constant';
    +import GregorianCalendarDate from './western/gregorian';
    +import JulianCalendarDate from './western/julian';
    +import DistanceNumber from './distance-number';
     
     /**
      * Long Count cycle
      */
    -class LongCount extends DistanceNumber {
    +export default class LongCount extends DistanceNumber {
       /**
        * @param {...number|Wildcard} cycles - Components in the long count
        * (eg, K'in, Winal, Bak'tun, etc)
    @@ -161,7 +147,7 @@
        * @return {CalendarRound}
        */
       buildCalendarRound() {
    -    return origin.shift(
    +    return cr.origin.shift(
           this.getPosition()
         );
       }
    @@ -209,8 +195,6 @@
         return new DistanceNumber(...this.parts);
       }
     }
    -
    -module.exports = LongCount;
     
    diff --git a/docs/file/src/lc/night/lord-of-night.js.html b/docs/file/src/lc/night/lord-of-night.js.html index ce72a6c..79ee6e4 100644 --- a/docs/file/src/lc/night/lord-of-night.js.html +++ b/docs/file/src/lc/night/lord-of-night.js.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -73,6 +72,7 @@ * let lord_of_night_g8_2 = mayadates.lc.night.G8 * console.log(lord_of_night_g8_1 === lord_of_night_g8_2) */ +// eslint-disable-next-line max-classes-per-file class LordOfNight { /** * @param {number} id @@ -94,28 +94,30 @@ } } -/** - * Return a Lord of the Night by its G id. - * @param {string} id - Has the form 'G1', 'G2', etc. - * @return {LordOfNight} - */ -function get(id) { - return lordsOfTheNight[`${id}`]; -} +class _LordsOfTheNight { + constructor() { + this.G1 = new LordOfNight(1); + this.G2 = new LordOfNight(2); + this.G3 = new LordOfNight(3); + this.G4 = new LordOfNight(4); + this.G5 = new LordOfNight(5); + this.G6 = new LordOfNight(6); + this.G7 = new LordOfNight(7); + this.G8 = new LordOfNight(8); + this.G9 = new LordOfNight(9); + } -/** @ignore */ -const lordsOfTheNight = [ - 1, 2, 3, 4, 5, 6, 7, 8, 9, -].reduce((obj, n) => { - const lord = new LordOfNight(n); - const newObj = obj; - newObj[`${lord}`] = lord; - return newObj; -}, { - get, -}); + /** + * Return a Lord of the Night by its G id. + * @param {string} id - Has the form 'G1', 'G2', etc. + * @return {LordOfNight} + */ + get(id) { + return this[`${id}`]; + } +} -module.exports = lordsOfTheNight; +export default new _LordsOfTheNight();
    diff --git a/docs/file/src/lc/western/gregorian.js.html b/docs/file/src/lc/western/gregorian.js.html index 0999133..600d603 100644 --- a/docs/file/src/lc/western/gregorian.js.html +++ b/docs/file/src/lc/western/gregorian.js.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,14 +63,13 @@

    src/lc/western/gregorian.js

    -
    /** @ignore */
    -const WesternCalendar = require('./western');
    +
    import WesternCalendar from './western';
     
     /**
      * Represent a Gregorian date.
      * @extends {WesternCalendar}
      */
    -class GregorianCalendarDate extends WesternCalendar {
    +export default class GregorianCalendarDate extends WesternCalendar {
     
       /**
        * Handle the sliding offset between gregorian and julian dates
    @@ -114,8 +112,6 @@
         return 0;
       }
     }
    -
    -module.exports = GregorianCalendarDate;
     
    diff --git a/docs/file/src/lc/western/index.js.html b/docs/file/src/lc/western/index.js.html index 93f398b..19018d0 100644 --- a/docs/file/src/lc/western/index.js.html +++ b/docs/file/src/lc/western/index.js.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,14 +63,12 @@

    src/lc/western/index.js

    -
    /** @ignore */
    -const GregorianCalendarDate = require('./gregorian');
    -/** @ignore */
    -const JulianCalendarDate = require('./julian');
    +
    import GregorianCalendarDate from './gregorian';
    +import JulianCalendarDate from './julian';
     
    -module.exports = {
    +export default {
       GregorianCalendarDate,
    -  JulianCalendarDate,
    +  JulianCalendarDate
     };
     
    diff --git a/docs/file/src/lc/western/julian.js.html b/docs/file/src/lc/western/julian.js.html index 2f4c566..dc51d4e 100644 --- a/docs/file/src/lc/western/julian.js.html +++ b/docs/file/src/lc/western/julian.js.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,14 +63,13 @@

    src/lc/western/julian.js

    -
    /** @ignore */
    -const WesternCalendar = require('./western');
    +
    import WesternCalendar from './western';
     
     /**
      * Represent a Julian date.
      * @extends {WesternCalendar}
      */
    -class JulianCalendarDate extends WesternCalendar {
    +export default class JulianCalendarDate extends WesternCalendar {
     
       /**
        * Handle the sliding offset between gregorian and julian dates
    @@ -108,8 +106,6 @@
         return 0;
       }
     }
    -
    -module.exports = JulianCalendarDate;
     
    diff --git a/docs/file/src/lc/western/western.js.html b/docs/file/src/lc/western/western.js.html index a176edf..3ed087a 100644 --- a/docs/file/src/lc/western/western.js.html +++ b/docs/file/src/lc/western/western.js.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,14 +63,13 @@

    src/lc/western/western.js

    -
    /** @ignore */
    -const moonbeams = require('moonbeams');
    +
    import moonbeams from 'moonbeams';
     
     /**
      * Represents either a Julian or Gregorian calendar.
      * @abstract
      */
    -class WesternCalendar {
    +export default class WesternCalendar {
       /**
        * Store a date with reference to a Julian Day.
        * @param {number} julianDay
    @@ -144,9 +142,6 @@
         return date;
       }
     }
    -
    -
    -module.exports = WesternCalendar;
     
    diff --git a/docs/file/src/operations/calendar-round-iterator.js.html b/docs/file/src/operations/calendar-round-iter.js.html similarity index 94% rename from docs/file/src/operations/calendar-round-iterator.js.html rename to docs/file/src/operations/calendar-round-iter.js.html index 2d94a82..a470853 100644 --- a/docs/file/src/operations/calendar-round-iterator.js.html +++ b/docs/file/src/operations/calendar-round-iter.js.html @@ -3,7 +3,7 @@ - src/operations/calendar-round-iterator.js | @drewsonne/maya-dates + src/operations/calendar-round-iter.js | @drewsonne/maya-dates @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -63,19 +62,18 @@
    -

    src/operations/calendar-round-iterator.js

    -
    /** @ignore */
    -const {origin} = require('../cr/index');
    +

    src/operations/calendar-round-iter.js

    +
    import cr from '../cr/index';
     
     /**
      * Used to iterate through the entire cycle of 18,980 days for the full
      * permutation of Haab and 260-day count.
      * @ignore
      */
    -class CalendarRoundIterator {
    +export default class CalendarRoundIterator {
       /**
        *
    -   * @param {CalendarRound} fullDate
    +   * @param {CalendarRound} newDate
        */
       constructor(newDate) {
         /**
    @@ -90,7 +88,7 @@
     
         let fullDate = newDate;
         if (fullDate === undefined) {
    -      fullDate = origin;
    +      fullDate = cr.origin;
         }
         /**
          * @type {CalendarRound}
    @@ -124,8 +122,6 @@
         return {value: next, done: false};
       }
     }
    -
    -module.exports = CalendarRoundIterator
     
    diff --git a/docs/file/src/operations/calendar-round-wildcard.js.html b/docs/file/src/operations/calendar-round-wildcard.js.html index b9411dd..f60429f 100644 --- a/docs/file/src/operations/calendar-round-wildcard.js.html +++ b/docs/file/src/operations/calendar-round-wildcard.js.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,9 +63,7 @@

    src/operations/calendar-round-wildcard.js

    -
    /** @ignore */
    -const CalendarRoundIterator = require('./calendar-round-iterator');
    -
    +
    import CalendarRoundIterator from './calendar-round-iter';
     
     /**
      * A reusable singleton instance of the CalendarRoundIterator
    @@ -79,7 +76,7 @@
      * Given a Calendar Round with a wildcard, calculate all possible matching
      * fully qualified Calendar Rounds.
      */
    -class CalendarRoundWildcard {
    +export default class CalendarRoundWildcard {
       /**
        * @param {CalendarRound} cr
        */
    @@ -108,8 +105,6 @@
         return potentials;
       }
     }
    -
    -module.exports = CalendarRoundWildcard;
     
    diff --git a/docs/file/src/operations/fulldate-wildcard.js.html b/docs/file/src/operations/fulldate-wildcard.js.html index 1a5b674..16c050e 100644 --- a/docs/file/src/operations/fulldate-wildcard.js.html +++ b/docs/file/src/operations/fulldate-wildcard.js.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,12 +63,9 @@

    src/operations/fulldate-wildcard.js

    -
    /** @ignore */
    -const FullDate = require('../full-date');
    -/** @ignore */
    -const LongCountWildcard = require('../operations/longcount-wildcard');
    -/** @ignore */
    -const CalendarRoundWildcard = require('../operations/calendar-round-wildcard');
    +
    import FullDate from '../full-date';
    +import LongCountWildcard from './longcount-wildcard';
    +import CalendarRoundWildcard from './calendar-round-wildcard';
     
     /** @ignore */
     const concat = (x, y) => x.concat(y);
    @@ -87,7 +83,7 @@
      * Given a Calendar Round and Long Count with a wildcard, calculate all possible
      * matching fully qualified Long Counts with CalendarRounds.
      */
    -class FullDateWildcard {
    +export default class FullDateWildcard {
       /**
        * @param {FullDate} partialDate
        */
    @@ -106,10 +102,7 @@
         if (this.fullDate.lc.isPartial()) {
           const lcs = new LongCountWildcard(this.fullDate.lc).run();
     
    -      const mappedLcs = lcs.map(function (potentialLc) {
    -          return potentialLc.buildFullDate();
    -        }
    -      );
    +      const mappedLcs = lcs.map((potentialLc) => potentialLc.buildFullDate());
           const flatMappedLcs = mappedLcs.flatMap(
             (fullDate) => (
               this.fullDate.cr.isPartial()
    @@ -133,8 +126,6 @@
           : [];
       }
     }
    -
    -module.exports = FullDateWildcard;
     
    diff --git a/docs/file/src/operations/index.js.html b/docs/file/src/operations/index.js.html index 5e206ca..44da001 100644 --- a/docs/file/src/operations/index.js.html +++ b/docs/file/src/operations/index.js.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,14 +63,11 @@

    src/operations/index.js

    -
    /** @ignore */
    -const LongCountWildcard = require('./longcount-wildcard');
    -/** @ignore */
    -const CalendarRoundWildcard = require('./calendar-round-wildcard');
    -/** @ignore */
    -const FullDateWildcard = require('./fulldate-wildcard');
    +
    import LongCountWildcard from './longcount-wildcard';
    +import CalendarRoundWildcard from './calendar-round-wildcard';
    +import FullDateWildcard from './fulldate-wildcard';
     
    -module.exports = {
    +export default {
       LongCountWildcard,
       CalendarRoundWildcard,
       FullDateWildcard
    diff --git a/docs/file/src/operations/longcount-addition.js.html b/docs/file/src/operations/longcount-addition.js.html
    index c784098..cbb8666 100644
    --- a/docs/file/src/operations/longcount-addition.js.html
    +++ b/docs/file/src/operations/longcount-addition.js.html
    @@ -50,7 +50,6 @@
     
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • diff --git a/docs/file/src/operations/longcount-subtraction.js.html b/docs/file/src/operations/longcount-subtraction.js.html index 4008d34..df7ccc8 100644 --- a/docs/file/src/operations/longcount-subtraction.js.html +++ b/docs/file/src/operations/longcount-subtraction.js.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • diff --git a/docs/file/src/operations/longcount-wildcard.js.html b/docs/file/src/operations/longcount-wildcard.js.html index f4ed44c..c2eb192 100644 --- a/docs/file/src/operations/longcount-wildcard.js.html +++ b/docs/file/src/operations/longcount-wildcard.js.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -64,14 +63,13 @@

    src/operations/longcount-wildcard.js

    -
    /** @ignore */
    -const wildcard = require('../wildcard');
    +
    import wildcard from '../wildcard';
     
     /**
      * Given a Long Count with a wildcard, calculate all possible matching fully
      * qualified Long Counts.
      */
    -class LongCountWildcard {
    +export default class LongCountWildcard {
       /**
        * @param {LongCount} lc
        */
    @@ -87,38 +85,23 @@
        * @return {LongCount[]}
        */
       run() {
    -    const wcIndexes = this.lc.map(
    +    return this.lc.map(
           (part, i) => ((part === wildcard) ? i : false)
    -    );
    -
    -    const filteredWcIndexes = wcIndexes.filter(
    +    ).filter(
           (i) => i !== false
    -    );
    -
    -    return filteredWcIndexes.reduce(
    -      function (potentials, position) {
    -        const a = potentials.reduce(
    -          function (acc, possible) {
    -            const dayMonths = new Array((position === 1) ? 15 : 20);
    -            const filledDayMonths = dayMonths.fill();
    -            const b = filledDayMonths.map(function (_, i) {
    -              const clone = possible.clone();
    -              const adjusted = clone.setDateSections(position, i);
    -              return adjusted;
    -            }).concat(acc);
    -            return b;
    -          },
    -          []
    -        );
    -        return a;
    -      },
    +    ).reduce(
    +      (potentials, position) => potentials.reduce(
    +        (acc, possible) => new Array(
    +          (position === 1) ? 15 : 20
    +        ).fill().map(
    +          (_, i) => possible.clone().setDateSections(position, i)
    +        ).concat(acc),
    +        []
    +      ),
           [this.lc]
         );
    -
       }
     }
    -
    -module.exports = LongCountWildcard;
     
    diff --git a/docs/file/src/wildcard.js.html b/docs/file/src/wildcard.js.html index 1a33ad9..e1cfc46 100644 --- a/docs/file/src/wildcard.js.html +++ b/docs/file/src/wildcard.js.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -70,8 +69,7 @@ * library to allow for use and equality comparison. * @example * const mayadates = require('maya-dates') - * let cr = new mayadates.factory.CalendarRoundFactory().parse( - * '4 Ajaw 8 *') + * let cr = new mayadates.factory.CalendarRoundFactory().parse('4 Ajaw 8 *') * console.log(cr.haab.month === mayadates.wildcard) * > true */ @@ -86,7 +84,7 @@ } } -module.exports = new Wildcard(); +export default new Wildcard();
    diff --git a/docs/function/index.html b/docs/function/index.html index a844865..8be687d 100644 --- a/docs/function/index.html +++ b/docs/function/index.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -74,35 +73,6 @@ - - - -
    -

    - - - - get(id: string): LordOfNight -

    -
    -
    - - -

    Return a Lord of the Night by its G id.

    -
    -
    - - - - - - - - - public - - - @@ -276,79 +246,6 @@

    Static Public

    -
    -

    - public - - - - - - get(id: string): LordOfNight - - - - source - -

    - - - - -

    Return a Lord of the Night by its G id.

    -
    - - - -
    -

    Params:

    - - - - - - - - - - - - - -
    NameTypeAttributeDescription
    idstring

    Has the form 'G1', 'G2', etc.

    -
    -
    -
    - -
    -

    Return:

    - - - - - - - -
    LordOfNight
    -
    -
    -
    - - - - - - - - - - - - - - - -

    public @@ -361,7 +258,7 @@

    - source + source

    @@ -455,7 +352,7 @@

    - +
    import getCorrelationConstant from '@drewsonne/maya-dates/src/lc/correlation-constant.js'

    Return a Lord of the Night by its G id.

    @@ -531,7 +428,7 @@

    - source + source

    @@ -613,7 +510,7 @@

    - +
    import {getHaabMonth} from '@drewsonne/maya-dates/src/cr/haab-month.js'

    Return a comparable HaabMonth instantiation.

    @@ -681,7 +578,7 @@

    - source + source

    @@ -759,11 +656,11 @@

    - source + source

    - +

    Return a comparable instance of a Tzolkin day.

    diff --git a/docs/identifiers.html b/docs/identifiers.html index 1f03c20..5325c9c 100644 --- a/docs/identifiers.html +++ b/docs/identifiers.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -722,35 +721,6 @@

    lc/night

    - - - - - public - - - - - - -
    -

    - F - - - get(id: string): LordOfNight -

    -
    -
    - - -

    Return a Lord of the Night by its G id.

    -
    -
    - - - - diff --git a/docs/index.html b/docs/index.html index fa60afb..e5dca9b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -50,7 +50,6 @@
  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -102,15 +101,15 @@

    Date Creation

    Creating a fullDate can be done eith

    const mayadates = require('@drewsonne/maya-dates');
     
    -const cr = mayadates.cr.getCalendarRound(
    +const calendarRound = mayadates.calendarRound.getCalendarRound(
         13, 'Ajaw',
    -    18,  mayadates.cr.getHaabMonth('Kumk\'u')
    +    18,  mayadates.calendarRound.getHaabMonth('Kumk\'u')
     );
     const lc = mayadates.lc.LongCount(0, 0, 0, 17, 9);
    -const fullDate = new mayadates.FullDate(cr, lc);
    +const fullDate = new mayadates.FullDate(calendarRound, lc);
     
     console.log(`${lc}`);
    -console.log(`${cr}`);
    +console.log(`${calendarRound}`);
     console.log(`${fullDate}`);
     

    Operations

    Once a full date object has been created, you can either add an integer to a fullDate diff --git a/docs/index.json b/docs/index.json index 346e787..a691339 100644 --- a/docs/index.json +++ b/docs/index.json @@ -567,9 +567,9 @@ "__docId__": 48, "kind": "file", "name": "src/cr/calendar-round.js", - "content": "/** @ignore */\nconst tzolkin = require('../cr/tzolkin');\n/** @ignore */\nconst haab = require('../cr/haab');\n/** @ignore */\nconst wildcard = require('../wildcard');\n/** @ignore */\nconst DistanceNumber = require('../lc/distance-number');\n\n\n/** @ignore */\nconst singleton = {};\n\n/**\n * Return a comparable instance of a Calendar Round.\n * @param {number} tzolkinCoeff\n * @param {TzolkinDay|string} tzolkinDay\n * @param {number} haabCoeff\n * @param {HaabMonth|string} haabMonth\n * @return {CalendarRound}\n */\nfunction getCalendarRound(tzolkinCoeff, tzolkinDay, haabCoeff, haabMonth) {\n const crId = `${tzolkinCoeff} ${tzolkinDay} ${haabCoeff} ${haabMonth}`;\n if (singleton[crId] === undefined) {\n // eslint-disable-next-line no-use-before-define\n singleton[crId] = new CalendarRound(tzolkinCoeff, tzolkinDay, haabCoeff, haabMonth);\n }\n return singleton[crId];\n}\n\n/**\n * A combination of 260-day cycles and the Haab cycle. This class should not\n * be instantiated directly, and should be accessed through getCalendarRound.\n * @see {getCalendarRound}\n * @example\n * let cr = new CalendarRound(4, \"Ajaw\", 8, \"Kumk'u\");\n */\nclass CalendarRound {\n /**\n * @param {number} tzolkinCoeff Coefficient for the 260-day cycle\n * @param {string|TzolkinDay} tzolkinDay Name of the name in the 260-day cycle\n * @param {number} haabCoeff Day in the Haab month\n * @param {string|HaabMonth} haabMonth Name of the Haab month\n */\n constructor(tzolkinCoeff, tzolkinDay, haabCoeff, haabMonth) {\n /**\n * 260-day cycle component of the Calendar Round\n * @type {Tzolkin}\n */\n this.tzolkin = tzolkin.getTzolkin(tzolkinCoeff, tzolkinDay);\n /**\n * Haab cycle component of the Calendar Round\n * @type {Haab}\n */\n this.haab = haab.getHaab(haabCoeff, haabMonth);\n\n this.validate();\n }\n\n /**\n * Validate that the Calendar Round has a correct 260-day and Haab\n * configuration\n * @throws {Error} If the Calendar Round is invalid.\n */\n validate() {\n let validHaabCoeffs = [];\n if ([\n 'Kaban', 'Ik\\'', 'Manik\\'', 'Eb'\n ].includes(this.tzolkin.name)) {\n validHaabCoeffs = [0, 5, 10, 15];\n } else if ([\n 'Etz\\'nab', 'Ak\\'bal', 'Lamat', 'Ben'\n ].includes(this.tzolkin.name)) {\n validHaabCoeffs = [1, 6, 11, 16];\n } else if ([\n 'Kawak', 'K\\'an', 'Muluk', 'Ix'\n ].includes(this.tzolkin.name)) {\n validHaabCoeffs = [2, 7, 12, 17];\n } else if ([\n 'Ajaw', 'Chikchan', 'Ok', 'Men'\n ].includes(this.tzolkin.name)) {\n validHaabCoeffs = [3, 8, 13, 18];\n } else if ([\n 'Imix', 'Kimi', 'Chuwen', 'Kib'\n ].includes(this.tzolkin.name)) {\n validHaabCoeffs = [4, 9, 14, 19];\n } else if ([wildcard].includes(this.tzolkin.name)) {\n validHaabCoeffs = [...Array(19).keys()];\n } else {\n throw new Error(`Could not allocate Tzolk'in (${this.tzolkin.name}) to permissible month coeffs.`);\n }\n\n validHaabCoeffs.push(wildcard);\n\n if (!validHaabCoeffs.includes(this.haab.coeff)) {\n throw new Error(`${this} should have Haab coeff in ${validHaabCoeffs} for day ${this.tzolkin.name}`);\n }\n }\n\n /**\n * Increment both the Haab and 260-day cycle to the next day in the Calendar Round\n * @returns {CalendarRound}\n */\n next() {\n return this.shift(1);\n }\n\n /**\n * Check that this CalendarRound matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return false.\n * @param {CalendarRound} newCr\n * @return {Boolean}\n */\n equal(newCr) {\n return this === newCr;\n }\n\n /**\n * Return a long count date representing the difference between two dates.\n * @param {CalendarRound} targetCr\n * @return {LongCount}\n */\n minus(targetCr) {\n /** @ignore */\n const foundOrigin = false;\n const foundTarget = false;\n let current = this;\n let count = 0;\n while (!foundTarget) {\n // eslint-disable-next-line no-use-before-define\n if (current.equal(origin)) {\n debugger;\n } else if (current.equal(targetCr)) {\n return new DistanceNumber(count).normalise();\n } else {\n current = current.next();\n count += 1;\n }\n }\n }\n\n /**\n * Check that this Calendar Round matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return true.\n * @param {CalendarRound} newCr\n * @return {boolean}\n */\n match(newCr) {\n const haabMatches = this.haab.match(newCr.haab);\n const tzolkinMatches = this.tzolkin.match(newCr.tzolkin);\n return haabMatches && tzolkinMatches;\n }\n\n /**\n * Shift a CalendarRound forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment\n * @return {CalendarRound}\n */\n shift(increment) {\n const newHaab = this.haab.shift(increment);\n const newTzolkin = this.tzolkin.shift(increment);\n // eslint-disable-next-line no-use-before-define\n return getCalendarRound(\n newTzolkin.coeff,\n newTzolkin.day,\n newHaab.coeff,\n newHaab.month\n );\n }\n\n /**\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n */\n isPartial() {\n return (this.tzolkin.day === wildcard)\n || (this.tzolkin.coeff === wildcard)\n || (this.haab.month === wildcard)\n || (this.haab.coeff === wildcard);\n }\n\n /**\n * Render the CalendarRound cycle fullDate as a string\n * @returns {string}\n */\n toString() {\n return `${this.tzolkin} ${this.haab}`;\n }\n}\n\n/** @ignore */\nconst origin = getCalendarRound(\n 4, 'Ajaw',\n 8, 'Kumk\\'u'\n);\n\n\nmodule.exports = {getCalendarRound, origin};\n", + "content": "import tzolkin from './tzolkin';\nimport haab from './haab';\nimport wildcard from '../wildcard';\nimport DistanceNumber from '../lc/distance-number';\n\n/** @ignore */\nconst singleton = {}\n\n/**\n * Return a comparable instance of a Calendar Round.\n * @param {number} tzolkinCoeff\n * @param {TzolkinDay|string} tzolkinDay\n * @param {number} haabCoeff\n * @param {HaabMonth|string} haabMonth\n * @return {CalendarRound}\n */\nfunction getCalendarRound (tzolkinCoeff, tzolkinDay, haabCoeff, haabMonth) {\n const crId = `${tzolkinCoeff} ${tzolkinDay} ${haabCoeff} ${haabMonth}`\n if (singleton[crId] === undefined) {\n // eslint-disable-next-line no-use-before-define\n singleton[crId] = new CalendarRound(tzolkinCoeff, tzolkinDay, haabCoeff,\n haabMonth)\n }\n return singleton[crId]\n}\n\n/**\n * A combination of 260-day cycles and the Haab cycle. This class should not\n * be instantiated directly, and should be accessed through getCalendarRound.\n * @see {getCalendarRound}\n * @example\n * let cr = new CalendarRound(4, \"Ajaw\", 8, \"Kumk'u\");\n */\nclass CalendarRound {\n /**\n * @param {number} tzolkinCoeff Coefficient for the 260-day cycle\n * @param {string|TzolkinDay} tzolkinDay Name of the name in the 260-day cycle\n * @param {number} haabCoeff Day in the Haab month\n * @param {string|HaabMonth} haabMonth Name of the Haab month\n */\n constructor (tzolkinCoeff, tzolkinDay, haabCoeff, haabMonth) {\n /**\n * 260-day cycle component of the Calendar Round\n * @type {Tzolkin}\n */\n this.tzolkin = tzolkin.getTzolkin(tzolkinCoeff, tzolkinDay)\n /**\n * Haab cycle component of the Calendar Round\n * @type {Haab}\n */\n this.haab = haab.getHaab(haabCoeff, haabMonth)\n\n this.validate()\n }\n\n /**\n * Validate that the Calendar Round has a correct 260-day and Haab\n * configuration\n * @throws {Error} If the Calendar Round is invalid.\n */\n validate () {\n let validHaabCoeffs = []\n if ([\n 'Kaban', 'Ik\\'', 'Manik\\'', 'Eb',\n ].includes(this.tzolkin.name)) {\n validHaabCoeffs = [0, 5, 10, 15]\n } else if ([\n 'Etz\\'nab', 'Ak\\'bal', 'Lamat', 'Ben',\n ].includes(this.tzolkin.name)) {\n validHaabCoeffs = [1, 6, 11, 16]\n } else if ([\n 'Kawak', 'K\\'an', 'Muluk', 'Ix',\n ].includes(this.tzolkin.name)) {\n validHaabCoeffs = [2, 7, 12, 17]\n } else if ([\n 'Ajaw', 'Chikchan', 'Ok', 'Men',\n ].includes(this.tzolkin.name)) {\n validHaabCoeffs = [3, 8, 13, 18]\n } else if ([\n 'Imix', 'Kimi', 'Chuwen', 'Kib',\n ].includes(this.tzolkin.name)) {\n validHaabCoeffs = [4, 9, 14, 19]\n } else if ([wildcard].includes(this.tzolkin.name)) {\n validHaabCoeffs = [...Array(19).keys()]\n } else {\n throw new Error(\n `Could not allocate Tzolk'in (${this.tzolkin.name}) to permissible month coeffs.`)\n }\n\n validHaabCoeffs.push(wildcard)\n\n if (!validHaabCoeffs.includes(this.haab.coeff)) {\n throw new Error(\n `${this} should have Haab coeff in ${validHaabCoeffs} for day ${this.tzolkin.name}`)\n }\n }\n\n /**\n * Increment both the Haab and 260-day cycle to the next day in the Calendar Round\n * @returns {CalendarRound}\n */\n next () {\n return this.shift(1)\n }\n\n /**\n * Check that this CalendarRound matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return false.\n * @param {CalendarRound} newCr\n * @return {Boolean}\n */\n equal (newCr) {\n return this === newCr\n }\n\n /**\n * Return a long count date representing the difference between two dates.\n * @param {CalendarRound} targetCr\n * @return {LongCount}\n */\n minus (targetCr) {\n /** @ignore */\n let foundOrigin = false\n const foundTarget = false\n let current = this\n let count = 0\n let cycleCount = undefined\n while (!foundTarget) {\n // eslint-disable-next-line no-use-before-define\n if (current.equal(origin)) {\n foundOrigin = true\n cycleCount = count\n count = 0\n current = current.next()\n } else if (current.equal(targetCr)) {\n return new DistanceNumber(\n foundOrigin\n ? -(18979 - cycleCount - count)\n : count,\n ).normalise()\n } else {\n current = current.next()\n count += 1\n }\n }\n }\n\n /**\n * Check that this Calendar Round matches another CalendarRound. If one CR has\n * wildcards and the other does not, this function will return true.\n * @param {CalendarRound} newCr\n * @return {boolean}\n */\n match (newCr) {\n const haabMatches = this.haab.match(newCr.haab)\n const tzolkinMatches = this.tzolkin.match(newCr.tzolkin)\n return haabMatches && tzolkinMatches\n }\n\n /**\n * Shift a CalendarRound forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment\n * @return {CalendarRound}\n */\n shift (increment) {\n const newHaab = this.haab.shift(increment)\n const newTzolkin = this.tzolkin.shift(increment)\n // eslint-disable-next-line no-use-before-define\n return getCalendarRound(\n newTzolkin.coeff,\n newTzolkin.day,\n newHaab.coeff,\n newHaab.month,\n )\n }\n\n /**\n * Return true, if this function has any wildcard portions.\n * @return {boolean}\n */\n isPartial () {\n return (this.tzolkin.day === wildcard)\n || (this.tzolkin.coeff === wildcard)\n || (this.haab.month === wildcard)\n || (this.haab.coeff === wildcard)\n }\n\n /**\n * Render the CalendarRound cycle fullDate as a string\n * @returns {string}\n */\n toString () {\n return `${this.tzolkin} ${this.haab}`\n }\n}\n\n/** @ignore */\nconst origin = getCalendarRound(\n 4, 'Ajaw',\n 8, 'Kumk\\'u',\n)\n\nexport default {\n getCalendarRound,\n origin\n};\n", "static": true, - "longname": "/home/drews/Development/maya-dates/src/cr/calendar-round.js", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/cr/calendar-round.js", "access": "public", "description": null, "lineNumber": 1 @@ -577,86 +577,6 @@ { "__docId__": 49, "kind": "variable", - "name": "tzolkin", - "memberof": "src/cr/calendar-round.js", - "static": true, - "longname": "src/cr/calendar-round.js~tzolkin", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/cr/calendar-round.js", - "importStyle": null, - "description": null, - "lineNumber": 2, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 50, - "kind": "variable", - "name": "haab", - "memberof": "src/cr/calendar-round.js", - "static": true, - "longname": "src/cr/calendar-round.js~haab", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/cr/calendar-round.js", - "importStyle": null, - "description": null, - "lineNumber": 4, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 51, - "kind": "variable", - "name": "wildcard", - "memberof": "src/cr/calendar-round.js", - "static": true, - "longname": "src/cr/calendar-round.js~wildcard", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/cr/calendar-round.js", - "importStyle": null, - "description": null, - "lineNumber": 6, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 52, - "kind": "variable", - "name": "DistanceNumber", - "memberof": "src/cr/calendar-round.js", - "static": true, - "longname": "src/cr/calendar-round.js~DistanceNumber", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/cr/calendar-round.js", - "importStyle": null, - "description": null, - "lineNumber": 8, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 53, - "kind": "variable", "name": "singleton", "memberof": "src/cr/calendar-round.js", "static": true, @@ -666,7 +586,7 @@ "importPath": "@drewsonne/maya-dates/src/cr/calendar-round.js", "importStyle": null, "description": null, - "lineNumber": 12, + "lineNumber": 7, "ignore": true, "type": { "types": [ @@ -675,7 +595,7 @@ } }, { - "__docId__": 54, + "__docId__": 50, "kind": "function", "name": "getCalendarRound", "memberof": "src/cr/calendar-round.js", @@ -688,7 +608,7 @@ "importPath": "@drewsonne/maya-dates/src/cr/calendar-round.js", "importStyle": null, "description": "Return a comparable instance of a Calendar Round.", - "lineNumber": 22, + "lineNumber": 17, "params": [ { "nullable": null, @@ -743,7 +663,7 @@ } }, { - "__docId__": 55, + "__docId__": 51, "kind": "class", "name": "CalendarRound", "memberof": "src/cr/calendar-round.js", @@ -760,11 +680,11 @@ "see": [ "{getCalendarRound}" ], - "lineNumber": 38, + "lineNumber": 34, "interface": false }, { - "__docId__": 56, + "__docId__": 52, "kind": "constructor", "name": "constructor", "memberof": "src/cr/calendar-round.js~CalendarRound", @@ -774,7 +694,7 @@ "longname": "src/cr/calendar-round.js~CalendarRound#constructor", "access": "public", "description": "", - "lineNumber": 45, + "lineNumber": 41, "params": [ { "nullable": null, @@ -821,7 +741,7 @@ ] }, { - "__docId__": 57, + "__docId__": 53, "kind": "member", "name": "tzolkin", "memberof": "src/cr/calendar-round.js~CalendarRound", @@ -829,7 +749,7 @@ "longname": "src/cr/calendar-round.js~CalendarRound#tzolkin", "access": "public", "description": "260-day cycle component of the Calendar Round", - "lineNumber": 50, + "lineNumber": 46, "type": { "nullable": null, "types": [ @@ -840,7 +760,7 @@ } }, { - "__docId__": 58, + "__docId__": 54, "kind": "member", "name": "haab", "memberof": "src/cr/calendar-round.js~CalendarRound", @@ -848,7 +768,7 @@ "longname": "src/cr/calendar-round.js~CalendarRound#haab", "access": "public", "description": "Haab cycle component of the Calendar Round", - "lineNumber": 55, + "lineNumber": 51, "type": { "nullable": null, "types": [ @@ -859,7 +779,7 @@ } }, { - "__docId__": 59, + "__docId__": 55, "kind": "method", "name": "validate", "memberof": "src/cr/calendar-round.js~CalendarRound", @@ -869,7 +789,7 @@ "longname": "src/cr/calendar-round.js~CalendarRound#validate", "access": "public", "description": "Validate that the Calendar Round has a correct 260-day and Haab\nconfiguration", - "lineNumber": 65, + "lineNumber": 61, "throws": [ { "types": [ @@ -882,7 +802,7 @@ "return": null }, { - "__docId__": 60, + "__docId__": 56, "kind": "method", "name": "next", "memberof": "src/cr/calendar-round.js~CalendarRound", @@ -892,7 +812,7 @@ "longname": "src/cr/calendar-round.js~CalendarRound#next", "access": "public", "description": "Increment both the Haab and 260-day cycle to the next day in the Calendar Round", - "lineNumber": 104, + "lineNumber": 102, "unknown": [ { "tagName": "@returns", @@ -910,7 +830,7 @@ "params": [] }, { - "__docId__": 61, + "__docId__": 57, "kind": "method", "name": "equal", "memberof": "src/cr/calendar-round.js~CalendarRound", @@ -920,7 +840,7 @@ "longname": "src/cr/calendar-round.js~CalendarRound#equal", "access": "public", "description": "Check that this CalendarRound matches another CalendarRound. If one CR has\nwildcards and the other does not, this function will return false.", - "lineNumber": 114, + "lineNumber": 112, "params": [ { "nullable": null, @@ -943,7 +863,7 @@ } }, { - "__docId__": 62, + "__docId__": 58, "kind": "method", "name": "minus", "memberof": "src/cr/calendar-round.js~CalendarRound", @@ -953,7 +873,7 @@ "longname": "src/cr/calendar-round.js~CalendarRound#minus", "access": "public", "description": "Return a long count date representing the difference between two dates.", - "lineNumber": 123, + "lineNumber": 121, "params": [ { "nullable": null, @@ -976,7 +896,7 @@ } }, { - "__docId__": 63, + "__docId__": 59, "kind": "method", "name": "match", "memberof": "src/cr/calendar-round.js~CalendarRound", @@ -986,7 +906,7 @@ "longname": "src/cr/calendar-round.js~CalendarRound#match", "access": "public", "description": "Check that this Calendar Round matches another CalendarRound. If one CR has\nwildcards and the other does not, this function will return true.", - "lineNumber": 148, + "lineNumber": 154, "params": [ { "nullable": null, @@ -1009,7 +929,7 @@ } }, { - "__docId__": 64, + "__docId__": 60, "kind": "method", "name": "shift", "memberof": "src/cr/calendar-round.js~CalendarRound", @@ -1019,7 +939,7 @@ "longname": "src/cr/calendar-round.js~CalendarRound#shift", "access": "public", "description": "Shift a CalendarRound forward through time. Does not modify this\nobject and will return a new object.", - "lineNumber": 160, + "lineNumber": 166, "params": [ { "nullable": null, @@ -1042,7 +962,7 @@ } }, { - "__docId__": 65, + "__docId__": 61, "kind": "method", "name": "isPartial", "memberof": "src/cr/calendar-round.js~CalendarRound", @@ -1052,7 +972,7 @@ "longname": "src/cr/calendar-round.js~CalendarRound#isPartial", "access": "public", "description": "Return true, if this function has any wildcard portions.", - "lineNumber": 176, + "lineNumber": 182, "return": { "nullable": null, "types": [ @@ -1064,7 +984,7 @@ "params": [] }, { - "__docId__": 66, + "__docId__": 62, "kind": "method", "name": "toString", "memberof": "src/cr/calendar-round.js~CalendarRound", @@ -1074,7 +994,7 @@ "longname": "src/cr/calendar-round.js~CalendarRound#toString", "access": "public", "description": "Render the CalendarRound cycle fullDate as a string", - "lineNumber": 187, + "lineNumber": 193, "unknown": [ { "tagName": "@returns", @@ -1092,7 +1012,7 @@ "params": [] }, { - "__docId__": 67, + "__docId__": 63, "kind": "variable", "name": "origin", "memberof": "src/cr/calendar-round.js", @@ -1103,7 +1023,7 @@ "importPath": "@drewsonne/maya-dates/src/cr/calendar-round.js", "importStyle": null, "description": null, - "lineNumber": 193, + "lineNumber": 199, "ignore": true, "type": { "types": [ @@ -1112,18 +1032,18 @@ } }, { - "__docId__": 68, + "__docId__": 64, "kind": "file", "name": "src/cr/haab-month.js", - "content": "/** @ignore */\nconst months = [\n undefined,\n 'Pop',\n 'Wo',\n 'Sip',\n 'Sotz\\'',\n 'Sek',\n 'Xul',\n 'Yaxk\\'in',\n 'Mol',\n 'Ch\\'en',\n 'Yax',\n 'Sak',\n 'Keh',\n 'Mak',\n 'K\\'ank\\'in',\n 'Muwan',\n 'Pax',\n 'K\\'ayab',\n 'Kumk\\'u',\n 'Wayeb'\n];\n\n/** @ignore */\nconst monthIndices = {\n undefined: 0,\n Pop: 1,\n Wo: 2,\n Sip: 3,\n 'Sotz\\'': 4,\n Sek: 5,\n Xul: 6,\n 'Yaxk\\'in': 7,\n Mol: 8,\n 'Ch\\'en': 9,\n Yax: 10,\n Sak: 11,\n Keh: 12,\n Mak: 13,\n 'K\\'ank\\'in': 14,\n Muwan: 15,\n Pax: 16,\n 'K\\'ayab': 17,\n 'Kumk\\'u': 18,\n Wayeb: 19\n};\n\n/** @ignore */\nconst singleton = {};\n\n/**\n * Return a comparable HaabMonth instantiation.\n * @param name\n * @return {HaabMonth}\n */\nfunction getHaabMonth(name) {\n const monthName = (typeof name === 'number') ? months[name] : name;\n if (singleton[monthName] === undefined) {\n // eslint-disable-next-line no-use-before-define\n singleton[monthName] = new HaabMonth(monthName);\n }\n return singleton[monthName];\n}\n\n/**\n * Describes only the month component of a Haab fullDate\n */\nclass HaabMonth {\n /**\n * @param {string} name - Name of the Haab month\n */\n constructor(name) {\n /**\n * Name of the Haab month\n * @type {string}\n */\n this.name = name;\n\n /**\n * @type {number}\n */\n this.month_position = monthIndices[this.name];\n }\n\n /**\n * Return the next month in the Haab cycle\n * @returns {HaabMonth}\n */\n next() {\n return this.shift(1);\n }\n\n /**\n * Ensure a Haab month name is defined, and that the month name is within the\n * set of allowable values.\n */\n validate() {\n if (this.name === undefined) {\n throw new Error('Haab\\' month name must be provided');\n }\n if (!months.includes(this.name)) {\n throw new Error(`Haab' day (${this.name}) must be in ${months}`);\n }\n }\n\n /**\n * Shift a HaabMonth fullDate forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment - Number of months to move forward\n * @return {HaabMonth}\n */\n shift(increment) {\n let newIncremental = (this.month_position + increment) % 19;\n newIncremental = (newIncremental === 0) ? 19 : newIncremental;\n return getHaabMonth(newIncremental);\n }\n\n /**\n * Render this month as a string\n * @return {string}\n */\n toString() {\n return this.name;\n }\n}\n\n\nmodule.exports = {\n HaabMonth,\n getHaabMonth,\n};\n", + "content": "/** @ignore */\nconst months = [\n undefined,\n 'Pop',\n 'Wo',\n 'Sip',\n 'Sotz\\'',\n 'Sek',\n 'Xul',\n 'Yaxk\\'in',\n 'Mol',\n 'Ch\\'en',\n 'Yax',\n 'Sak',\n 'Keh',\n 'Mak',\n 'K\\'ank\\'in',\n 'Muwan',\n 'Pax',\n 'K\\'ayab',\n 'Kumk\\'u',\n 'Wayeb'\n];\n\n/** @ignore */\nconst monthIndices = {\n undefined: 0,\n Pop: 1,\n Wo: 2,\n Sip: 3,\n 'Sotz\\'': 4,\n Sek: 5,\n Xul: 6,\n 'Yaxk\\'in': 7,\n Mol: 8,\n 'Ch\\'en': 9,\n Yax: 10,\n Sak: 11,\n Keh: 12,\n Mak: 13,\n 'K\\'ank\\'in': 14,\n Muwan: 15,\n Pax: 16,\n 'K\\'ayab': 17,\n 'Kumk\\'u': 18,\n Wayeb: 19\n};\n\n/** @ignore */\nconst singleton = {};\n\n/**\n * Return a comparable HaabMonth instantiation.\n * @param name\n * @return {HaabMonth}\n */\nfunction getHaabMonth(name) {\n const monthName = (typeof name === 'number') ? months[name] : name;\n if (singleton[monthName] === undefined) {\n // eslint-disable-next-line no-use-before-define\n singleton[monthName] = new HaabMonth(monthName);\n }\n return singleton[monthName];\n}\n\n/**\n * Describes only the month component of a Haab fullDate\n */\nclass HaabMonth {\n /**\n * @param {string} name - Name of the Haab month\n */\n constructor(name) {\n /**\n * Name of the Haab month\n * @type {string}\n */\n this.name = name;\n\n /**\n * @type {number}\n */\n this.month_position = monthIndices[this.name];\n }\n\n /**\n * Return the next month in the Haab cycle\n * @returns {HaabMonth}\n */\n next() {\n return this.shift(1);\n }\n\n /**\n * Ensure a Haab month name is defined, and that the month name is within the\n * set of allowable values.\n */\n validate() {\n if (this.name === undefined) {\n throw new Error('Haab\\' month name must be provided');\n }\n if (!months.includes(this.name)) {\n throw new Error(`Haab' day (${this.name}) must be in ${months}`);\n }\n }\n\n /**\n * Shift a HaabMonth fullDate forward through time. Does not modify this\n * object and will return a new object.\n * @param {number} increment - Number of months to move forward\n * @return {HaabMonth}\n */\n shift(increment) {\n let newIncremental = (this.month_position + increment) % 19;\n newIncremental = (newIncremental === 0) ? 19 : newIncremental;\n return getHaabMonth(newIncremental);\n }\n\n /**\n * Render this month as a string\n * @return {string}\n */\n toString() {\n return this.name;\n }\n}\n\nexport {\n HaabMonth,\n getHaabMonth,\n};\n", "static": true, - "longname": "/home/drews/Development/maya-dates/src/cr/haab-month.js", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/cr/haab-month.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 69, + "__docId__": 65, "kind": "variable", "name": "months", "memberof": "src/cr/haab-month.js", @@ -1143,7 +1063,7 @@ } }, { - "__docId__": 70, + "__docId__": 66, "kind": "variable", "name": "monthIndices", "memberof": "src/cr/haab-month.js", @@ -1163,7 +1083,7 @@ } }, { - "__docId__": 71, + "__docId__": 67, "kind": "variable", "name": "singleton", "memberof": "src/cr/haab-month.js", @@ -1183,58 +1103,22 @@ } }, { - "__docId__": 72, - "kind": "function", - "name": "getHaabMonth", - "memberof": "src/cr/haab-month.js", - "generator": false, - "async": false, - "static": true, - "longname": "src/cr/haab-month.js~getHaabMonth", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/cr/haab-month.js", - "importStyle": null, - "description": "Return a comparable HaabMonth instantiation.", - "lineNumber": 57, - "params": [ - { - "nullable": null, - "types": [ - "*" - ], - "spread": false, - "optional": false, - "name": "name", - "description": "" - } - ], - "return": { - "nullable": null, - "types": [ - "HaabMonth" - ], - "spread": false, - "description": "" - } - }, - { - "__docId__": 73, + "__docId__": 68, "kind": "class", "name": "HaabMonth", "memberof": "src/cr/haab-month.js", "static": true, "longname": "src/cr/haab-month.js~HaabMonth", "access": "public", - "export": false, + "export": true, "importPath": "@drewsonne/maya-dates/src/cr/haab-month.js", - "importStyle": null, + "importStyle": "{HaabMonth}", "description": "Describes only the month component of a Haab fullDate", "lineNumber": 69, "interface": false }, { - "__docId__": 74, + "__docId__": 69, "kind": "constructor", "name": "constructor", "memberof": "src/cr/haab-month.js~HaabMonth", @@ -1259,7 +1143,7 @@ ] }, { - "__docId__": 75, + "__docId__": 70, "kind": "member", "name": "name", "memberof": "src/cr/haab-month.js~HaabMonth", @@ -1278,7 +1162,7 @@ } }, { - "__docId__": 76, + "__docId__": 71, "kind": "member", "name": "month_position", "memberof": "src/cr/haab-month.js~HaabMonth", @@ -1297,7 +1181,7 @@ } }, { - "__docId__": 77, + "__docId__": 72, "kind": "method", "name": "next", "memberof": "src/cr/haab-month.js~HaabMonth", @@ -1325,7 +1209,7 @@ "params": [] }, { - "__docId__": 78, + "__docId__": 73, "kind": "method", "name": "validate", "memberof": "src/cr/haab-month.js~HaabMonth", @@ -1340,7 +1224,7 @@ "return": null }, { - "__docId__": 79, + "__docId__": 74, "kind": "method", "name": "shift", "memberof": "src/cr/haab-month.js~HaabMonth", @@ -1373,7 +1257,7 @@ } }, { - "__docId__": 80, + "__docId__": 75, "kind": "method", "name": "toString", "memberof": "src/cr/haab-month.js~HaabMonth", @@ -1395,58 +1279,54 @@ "params": [] }, { - "__docId__": 81, - "kind": "file", - "name": "src/cr/haab.js", - "content": "/** @ignore */\nconst wildcard = require('../wildcard');\n/** @ignore */\nconst {getHaabMonth} = require('./haab-month');\n\n/** @ignore */\nconst singleton = {};\n\n/**\n * Return a comparable HaabMonth instantiation.\n * @param {number} coeff\n * @param {HaabMonth|string} month\n * @return {Haab}\n */\nfunction getHaab(coeff, month) {\n const monthName = `${coeff} ${month}`;\n // const monthName = (typeof name === 'number') ? months[name] : name;\n if (singleton[monthName] === undefined) {\n // eslint-disable-next-line no-use-before-define\n singleton[monthName] = new Haab(coeff, month);\n }\n return singleton[monthName];\n}\n\n/**\n * Describes a Haab fullDate with a position and a month\n * @example\n * let day = new Haab(8, \"Kumk'u\");\n *\n * @example\n * let day = new Haab(8, new HaabMonth(\"Kumk'u\"));\n *\n */\nclass Haab {\n /**\n * Constructor\n <<<<<<< HEAD\n * @param {number|Wildcard|string} coeff - The position in the Haab month for this fullDate\n =======\n * @param {number|Wildcard|string} coeff - The position in the Haab month for this date\n >>>>>>> Use consistent function naming\n * @param {string|HaabMonth|Wildcard} month\n */\n constructor(coeff, month) {\n let newCoeff = coeff;\n if (coeff === '*') {\n newCoeff = wildcard;\n } else if (coeff !== wildcard) {\n newCoeff = parseInt(newCoeff, 10);\n }\n let newMonth = month;\n if (typeof month === 'string') {\n if (month === '*') {\n newMonth = wildcard;\n } else {\n newMonth = getHaabMonth(month);\n // newMonth = new HaabMonth(month);\n }\n }\n /**\n * @type {HaabMonth|Wildcard}\n */\n this.month = newMonth;\n /**\n * @type {number|Wildcard}\n */\n this.coeff = newCoeff;\n\n /**\n * Lazy loaded instance of the next Haab date in the cycle\n * @type {Haab}\n */\n this.private_next = undefined;\n\n this.validate();\n }\n\n /**\n * Ensure the Haab's coefficients are within range and the month is defined\n * @return {boolean}\n */\n validate() {\n if (this.coeff > 19 || this.coeff < 0) {\n throw new Error('Haab\\' coefficient must inclusively between 0 and 19.');\n }\n if (this.month === getHaabMonth('Wayeb') && this.coeff > 4) {\n throw new Error('Haab\\' coefficient for Wayeb must inclusively between 0 and 4.');\n }\n if (this.month === undefined) {\n throw new Error('Haab\\' month must be provided');\n }\n if (this.month !== wildcard) {\n this.month.validate();\n }\n\n return true;\n }\n\n /**\n * Return the next day in the Haab cycle\n * @returns {Haab}\n */\n next() {\n return this.shift(1);\n }\n\n /**\n * Ensure this Haab object has the same configuration as another Haab object.\n * Does not take wildcards into account.\n * @param {Haab} newHaab\n * @return {boolean}\n */\n equal(newHaab) {\n return this === newHaab;\n }\n\n /**\n * Ensure this Haab object has a matching configuration as another Haab object.\n * Takes wildcards into account.\n * @param {Haab} newHaab\n * @return {boolean}\n */\n match(newHaab) {\n return (\n (this.coeff === wildcard || newHaab.coeff === wildcard)\n ? true\n : (this.coeff === newHaab.coeff)\n ) && (\n (this.month === wildcard || newHaab.month === wildcard)\n ? true\n : (this.name === newHaab.name)\n );\n }\n\n /**\n * Return a string representation of the Haab month name\n * @returns {string|Wildcard}\n */\n get name() {\n if (this.month === wildcard) {\n return this.month;\n }\n return this.month.name;\n }\n\n /**\n * Move this date through the Haab cycle.\n * @param {number} numDays\n * @return {Haab}\n */\n shift(numDays) {\n const incremental = numDays % 365;\n if (incremental === 0) {\n return this;\n }\n if (this.private_next === undefined) {\n const monthLength = (this.month === getHaabMonth(19)) ? 5 : 20;\n if (1 + this.coeff >= monthLength) {\n const newMonth = this.month.shift(1);\n this.private_next = getHaab(0, newMonth);\n } else {\n this.private_next = getHaab(this.coeff + 1, this.month);\n }\n }\n return this.private_next.shift(incremental - 1);\n }\n\n /**\n * Render the Haab fullDate as a string\n * @returns {string}\n */\n toString() {\n return `${this.coeff} ${this.name}`;\n }\n}\n\nmodule.exports = {\n getHaab,\n getHaabMonth\n};\n", - "static": true, - "longname": "/home/drews/Development/maya-dates/src/cr/haab.js", - "access": "public", - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 82, - "kind": "variable", - "name": "wildcard", - "memberof": "src/cr/haab.js", + "__docId__": 76, + "kind": "function", + "name": "getHaabMonth", + "memberof": "src/cr/haab-month.js", + "generator": false, + "async": false, "static": true, - "longname": "src/cr/haab.js~wildcard", + "longname": "src/cr/haab-month.js~getHaabMonth", "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/cr/haab.js", - "importStyle": null, - "description": null, - "lineNumber": 2, - "ignore": true, - "type": { + "export": true, + "importPath": "@drewsonne/maya-dates/src/cr/haab-month.js", + "importStyle": "{getHaabMonth}", + "description": "Return a comparable HaabMonth instantiation.", + "lineNumber": 57, + "params": [ + { + "nullable": null, + "types": [ + "*" + ], + "spread": false, + "optional": false, + "name": "name", + "description": "" + } + ], + "return": { + "nullable": null, "types": [ - "*" - ] + "HaabMonth" + ], + "spread": false, + "description": "" } }, { - "__docId__": 83, - "kind": "variable", - "name": "getHaabMonth", - "memberof": "src/cr/haab.js", + "__docId__": 77, + "kind": "file", + "name": "src/cr/haab.js", + "content": "import wildcard from '../wildcard';\nimport { getHaabMonth } from './haab-month';\n\n/** @ignore */\nconst singleton = {};\n\n/**\n * Return a comparable HaabMonth instantiation.\n * @param {number} coeff\n * @param {HaabMonth|string} month\n * @return {Haab}\n */\nfunction getHaab(coeff, month) {\n const monthName = `${coeff} ${month}`;\n // const monthName = (typeof name === 'number') ? months[name] : name;\n if (singleton[monthName] === undefined) {\n // eslint-disable-next-line no-use-before-define\n singleton[monthName] = new Haab(coeff, month);\n }\n return singleton[monthName];\n}\n\n/**\n * Describes a Haab fullDate with a position and a month\n * @example\n * let day = new Haab(8, \"Kumk'u\");\n *\n * @example\n * let day = new Haab(8, new HaabMonth(\"Kumk'u\"));\n *\n */\nclass Haab {\n /**\n * Constructor\n <<<<<<< HEAD\n * @param {number|Wildcard|string} coeff - The position in the Haab month for this fullDate\n =======\n * @param {number|Wildcard|string} coeff - The position in the Haab month for this date\n >>>>>>> Use consistent function naming\n * @param {string|HaabMonth|Wildcard} month\n */\n constructor(coeff, month) {\n let newCoeff = coeff;\n if (coeff === '*') {\n newCoeff = wildcard;\n } else if (coeff !== wildcard) {\n newCoeff = parseInt(newCoeff, 10);\n }\n let newMonth = month;\n if (typeof month === 'string') {\n if (month === '*') {\n newMonth = wildcard;\n } else {\n newMonth = getHaabMonth(month);\n // newMonth = new HaabMonth(month);\n }\n }\n /**\n * @type {HaabMonth|Wildcard}\n */\n this.month = newMonth;\n /**\n * @type {number|Wildcard}\n */\n this.coeff = newCoeff;\n\n /**\n * Lazy loaded instance of the next Haab date in the cycle\n * @type {Haab}\n */\n this.private_next = undefined;\n\n this.validate();\n }\n\n /**\n * Ensure the Haab's coefficients are within range and the month is defined\n * @return {boolean}\n */\n validate() {\n if (this.coeff > 19 || this.coeff < 0) {\n throw new Error('Haab\\' coefficient must inclusively between 0 and 19.');\n }\n if (this.month === getHaabMonth('Wayeb') && this.coeff > 4) {\n throw new Error('Haab\\' coefficient for Wayeb must inclusively between 0 and 4.');\n }\n if (this.month === undefined) {\n throw new Error('Haab\\' month must be provided');\n }\n if (this.month !== wildcard) {\n this.month.validate();\n }\n\n return true;\n }\n\n /**\n * Return the next day in the Haab cycle\n * @returns {Haab}\n */\n next() {\n return this.shift(1);\n }\n\n /**\n * Ensure this Haab object has the same configuration as another Haab object.\n * Does not take wildcards into account.\n * @param {Haab} newHaab\n * @return {boolean}\n */\n equal(newHaab) {\n return this === newHaab;\n }\n\n /**\n * Ensure this Haab object has a matching configuration as another Haab object.\n * Takes wildcards into account.\n * @param {Haab} newHaab\n * @return {boolean}\n */\n match(newHaab) {\n return (\n (this.coeff === wildcard || newHaab.coeff === wildcard)\n ? true\n : (this.coeff === newHaab.coeff)\n ) && (\n (this.month === wildcard || newHaab.month === wildcard)\n ? true\n : (this.name === newHaab.name)\n );\n }\n\n /**\n * Return a string representation of the Haab month name\n * @returns {string|Wildcard}\n */\n get name() {\n if (this.month === wildcard) {\n return this.month;\n }\n return this.month.name;\n }\n\n /**\n * Move this date through the Haab cycle.\n * @param {number} numDays\n * @return {Haab}\n */\n shift(numDays) {\n const incremental = numDays % 365;\n if (incremental === 0) {\n return this;\n }\n if (this.private_next === undefined) {\n const monthLength = (this.month === getHaabMonth(19)) ? 5 : 20;\n if (1 + this.coeff >= monthLength) {\n const newMonth = this.month.shift(1);\n this.private_next = getHaab(0, newMonth);\n } else {\n this.private_next = getHaab(this.coeff + 1, this.month);\n }\n }\n return this.private_next.shift(incremental - 1);\n }\n\n /**\n * Render the Haab fullDate as a string\n * @returns {string}\n */\n toString() {\n return `${this.coeff} ${this.name}`;\n }\n}\n\nexport default {\n getHaab,\n getHaabMonth\n};\n", "static": true, - "longname": "src/cr/haab.js~getHaabMonth", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/cr/haab.js", "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/cr/haab.js", - "importStyle": null, "description": null, - "lineNumber": 4, - "ignore": true, - "type": { - "types": [ - "*" - ] - } + "lineNumber": 1 }, { - "__docId__": 84, + "__docId__": 78, "kind": "variable", "name": "singleton", "memberof": "src/cr/haab.js", @@ -1457,7 +1337,7 @@ "importPath": "@drewsonne/maya-dates/src/cr/haab.js", "importStyle": null, "description": null, - "lineNumber": 7, + "lineNumber": 5, "ignore": true, "type": { "types": [ @@ -1466,7 +1346,7 @@ } }, { - "__docId__": 85, + "__docId__": 79, "kind": "function", "name": "getHaab", "memberof": "src/cr/haab.js", @@ -1479,7 +1359,7 @@ "importPath": "@drewsonne/maya-dates/src/cr/haab.js", "importStyle": null, "description": "Return a comparable HaabMonth instantiation.", - "lineNumber": 15, + "lineNumber": 13, "params": [ { "nullable": null, @@ -1513,7 +1393,7 @@ } }, { - "__docId__": 86, + "__docId__": 80, "kind": "class", "name": "Haab", "memberof": "src/cr/haab.js", @@ -1528,11 +1408,11 @@ " let day = new Haab(8, \"Kumk'u\");", " let day = new Haab(8, new HaabMonth(\"Kumk'u\"));" ], - "lineNumber": 34, + "lineNumber": 32, "interface": false }, { - "__docId__": 87, + "__docId__": 81, "kind": "constructor", "name": "constructor", "memberof": "src/cr/haab.js~Haab", @@ -1542,7 +1422,7 @@ "longname": "src/cr/haab.js~Haab#constructor", "access": "public", "description": "Constructor\n<<<<<<< HEAD", - "lineNumber": 44, + "lineNumber": 42, "params": [ { "nullable": null, @@ -1583,7 +1463,7 @@ ] }, { - "__docId__": 88, + "__docId__": 82, "kind": "member", "name": "month", "memberof": "src/cr/haab.js~Haab", @@ -1591,7 +1471,7 @@ "longname": "src/cr/haab.js~Haab#month", "access": "public", "description": "", - "lineNumber": 63, + "lineNumber": 61, "type": { "nullable": null, "types": [ @@ -1603,7 +1483,7 @@ } }, { - "__docId__": 89, + "__docId__": 83, "kind": "member", "name": "coeff", "memberof": "src/cr/haab.js~Haab", @@ -1611,7 +1491,7 @@ "longname": "src/cr/haab.js~Haab#coeff", "access": "public", "description": "", - "lineNumber": 67, + "lineNumber": 65, "type": { "nullable": null, "types": [ @@ -1623,7 +1503,7 @@ } }, { - "__docId__": 90, + "__docId__": 84, "kind": "member", "name": "private_next", "memberof": "src/cr/haab.js~Haab", @@ -1631,7 +1511,7 @@ "longname": "src/cr/haab.js~Haab#private_next", "access": "public", "description": "Lazy loaded instance of the next Haab date in the cycle", - "lineNumber": 73, + "lineNumber": 71, "type": { "nullable": null, "types": [ @@ -1642,7 +1522,7 @@ } }, { - "__docId__": 91, + "__docId__": 85, "kind": "method", "name": "validate", "memberof": "src/cr/haab.js~Haab", @@ -1652,7 +1532,7 @@ "longname": "src/cr/haab.js~Haab#validate", "access": "public", "description": "Ensure the Haab's coefficients are within range and the month is defined", - "lineNumber": 82, + "lineNumber": 80, "return": { "nullable": null, "types": [ @@ -1664,7 +1544,7 @@ "params": [] }, { - "__docId__": 92, + "__docId__": 86, "kind": "method", "name": "next", "memberof": "src/cr/haab.js~Haab", @@ -1674,7 +1554,7 @@ "longname": "src/cr/haab.js~Haab#next", "access": "public", "description": "Return the next day in the Haab cycle", - "lineNumber": 103, + "lineNumber": 101, "unknown": [ { "tagName": "@returns", @@ -1692,7 +1572,7 @@ "params": [] }, { - "__docId__": 93, + "__docId__": 87, "kind": "method", "name": "equal", "memberof": "src/cr/haab.js~Haab", @@ -1702,7 +1582,7 @@ "longname": "src/cr/haab.js~Haab#equal", "access": "public", "description": "Ensure this Haab object has the same configuration as another Haab object.\nDoes not take wildcards into account.", - "lineNumber": 113, + "lineNumber": 111, "params": [ { "nullable": null, @@ -1725,7 +1605,7 @@ } }, { - "__docId__": 94, + "__docId__": 88, "kind": "method", "name": "match", "memberof": "src/cr/haab.js~Haab", @@ -1735,7 +1615,7 @@ "longname": "src/cr/haab.js~Haab#match", "access": "public", "description": "Ensure this Haab object has a matching configuration as another Haab object.\nTakes wildcards into account.", - "lineNumber": 123, + "lineNumber": 121, "params": [ { "nullable": null, @@ -1758,7 +1638,7 @@ } }, { - "__docId__": 95, + "__docId__": 89, "kind": "get", "name": "name", "memberof": "src/cr/haab.js~Haab", @@ -1768,7 +1648,7 @@ "longname": "src/cr/haab.js~Haab#name", "access": "public", "description": "Return a string representation of the Haab month name", - "lineNumber": 139, + "lineNumber": 137, "unknown": [ { "tagName": "@returns", @@ -1791,7 +1671,7 @@ } }, { - "__docId__": 96, + "__docId__": 90, "kind": "method", "name": "shift", "memberof": "src/cr/haab.js~Haab", @@ -1801,7 +1681,7 @@ "longname": "src/cr/haab.js~Haab#shift", "access": "public", "description": "Move this date through the Haab cycle.", - "lineNumber": 151, + "lineNumber": 149, "params": [ { "nullable": null, @@ -1824,7 +1704,7 @@ } }, { - "__docId__": 99, + "__docId__": 93, "kind": "method", "name": "toString", "memberof": "src/cr/haab.js~Haab", @@ -1834,7 +1714,7 @@ "longname": "src/cr/haab.js~Haab#toString", "access": "public", "description": "Render the Haab fullDate as a string", - "lineNumber": 172, + "lineNumber": 170, "unknown": [ { "tagName": "@returns", @@ -1852,89 +1732,29 @@ "params": [] }, { - "__docId__": 100, + "__docId__": 94, "kind": "file", "name": "src/cr/index.js", - "content": "/** @ignore */\nconst { origin, getCalendarRound } = require('./calendar-round');\n/** @ignore */\nconst tzolkin = require('./tzolkin');\n/** @ignore */\nconst haab = require('./haab');\n\n\nmodule.exports = {\n getCalendarRound,\n tzolkin,\n haab,\n origin\n};\n", + "content": "import cr from './calendar-round';\nimport tzolkin from './tzolkin';\nimport haab from './haab';\n\nexport default {\n getCalendarRound: cr.getCalendarRound,\n origin: cr.origin,\n tzolkin,\n haab,\n};\n", "static": true, - "longname": "/home/drews/Development/maya-dates/src/cr/index.js", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/cr/index.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 101, - "kind": "variable", - "name": "origin", - "memberof": "src/cr/index.js", - "static": true, - "longname": "src/cr/index.js~origin", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/cr/index.js", - "importStyle": null, - "description": null, - "lineNumber": 2, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 102, - "kind": "variable", - "name": "tzolkin", - "memberof": "src/cr/index.js", - "static": true, - "longname": "src/cr/index.js~tzolkin", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/cr/index.js", - "importStyle": null, - "description": null, - "lineNumber": 4, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 103, - "kind": "variable", - "name": "haab", - "memberof": "src/cr/index.js", - "static": true, - "longname": "src/cr/index.js~haab", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/cr/index.js", - "importStyle": null, - "description": null, - "lineNumber": 6, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 104, + "__docId__": 95, "kind": "file", "name": "src/cr/tzolkin-day.js", - "content": "/**\n * Mapping of day names to indexes\n * @type {Map\n * @ignore\n */\nconst days = [\n undefined,\n 'Imix',\n 'Ik\\'',\n 'Ak\\'bal',\n 'K\\'an',\n 'Chikchan',\n 'Kimi',\n 'Manik\\'',\n 'Lamat',\n 'Muluk',\n 'Ok',\n 'Chuwen',\n 'Eb',\n 'Ben',\n 'Ix',\n 'Men',\n 'Kib',\n 'Kaban',\n 'Etz\\'nab',\n 'Kawak',\n 'Ajaw',\n];\n\n/** @ignore */\nconst singleton = {};\n\n/**\n * Return a comparable instance of a Tzolkin day.\n * @param {TzolkinDay|string} newDayName\n * @return {TzolkinDay}\n */function getTzolkinDay(newDayName) {\n const dayName = (typeof newDayName === 'number') ? days[newDayName] : newDayName;\n if (singleton[dayName] === undefined) {\n // eslint-disable-next-line no-use-before-define\n singleton[dayName] = new TzolkinDay(dayName);\n }\n return singleton[dayName];\n}\n\n\n/**\n * Describes only the day component of a 260-day cycle\n */\nclass TzolkinDay {\n /**\n * @param {string|number} newName - Name or position of the 260-day cycle day\n */\n constructor(newName) {\n let name = newName;\n if (typeof name === 'number') {\n name = days[name];\n }\n\n /**\n * Name of the day in the 260-day cycle\n * @type {string}\n */\n this.name = name;\n\n /**\n * Index of the day in the list of Tzolkin' days\n * @type {number}\n */\n this.day_position = days.findIndex(\n (d) => d === this.name\n );\n\n /**\n * Lazy loaded instance of the next Tzolkin Day in the cycle\n * @type {TzolkinDay}\n */\n this.private_next = undefined;\n }\n\n /**\n * Ensure the Tzolk'in day name is defined and is within the list of\n * acceptable day names.\n */\n validate() {\n if (this.name === undefined) {\n throw new Error('Tzolk\\'in day name must be provided');\n }\n if (!days.includes(this.name)) {\n throw new Error(`Tzolk'in day (${this.name}) must be in ${days}`);\n }\n }\n\n /**\n * Return the next day in the 260-day cycle\n * @returns {TzolkinDay}\n */\n next() {\n return this.shift(1);\n }\n\n /**\n *\n * @param {number} incremental\n */\n shift(incremental) {\n if (incremental === 0) {\n return this;\n }\n if (this.private_next === undefined) {\n let newIncremental = (this.day_position + 1) % 20;\n newIncremental = (newIncremental === 0) ? 20 : newIncremental;\n this.private_next = getTzolkinDay(newIncremental);\n }\n return this.private_next.shift(incremental - 1);\n }\n\n /**\n * Return the name of this Tzolkin day\n * @return {string}\n */\n toString() {\n return this.name;\n }\n}\n\nmodule.exports = getTzolkinDay;\n", + "content": "/**\n * Mapping of day names to indexes\n * @type {Map\n * @ignore\n */\nconst days = [\n undefined,\n 'Imix',\n 'Ik\\'',\n 'Ak\\'bal',\n 'K\\'an',\n 'Chikchan',\n 'Kimi',\n 'Manik\\'',\n 'Lamat',\n 'Muluk',\n 'Ok',\n 'Chuwen',\n 'Eb',\n 'Ben',\n 'Ix',\n 'Men',\n 'Kib',\n 'Kaban',\n 'Etz\\'nab',\n 'Kawak',\n 'Ajaw',\n];\n\n/** @ignore */\nconst singleton = {};\n\n/**\n * Return a comparable instance of a Tzolkin day.\n * @param {TzolkinDay|string} newDayName\n * @return {TzolkinDay}\n */\nexport default function getTzolkinDay(newDayName) {\n const dayName = (typeof newDayName === 'number') ? days[newDayName] : newDayName;\n if (singleton[dayName] === undefined) {\n // eslint-disable-next-line no-use-before-define\n singleton[dayName] = new TzolkinDay(dayName);\n }\n return singleton[dayName];\n}\n\n\n/**\n * Describes only the day component of a 260-day cycle\n */\nclass TzolkinDay {\n /**\n * @param {string|number} newName - Name or position of the 260-day cycle day\n */\n constructor(newName) {\n let name = newName;\n if (typeof name === 'number') {\n name = days[name];\n }\n\n /**\n * Name of the day in the 260-day cycle\n * @type {string}\n */\n this.name = name;\n\n /**\n * Index of the day in the list of Tzolkin' days\n * @type {number}\n */\n this.day_position = days.findIndex(\n (d) => d === this.name\n );\n\n /**\n * Lazy loaded instance of the next Tzolkin Day in the cycle\n * @type {TzolkinDay}\n */\n this.private_next = undefined;\n }\n\n /**\n * Ensure the Tzolk'in day name is defined and is within the list of\n * acceptable day names.\n */\n validate() {\n if (this.name === undefined) {\n throw new Error('Tzolk\\'in day name must be provided');\n }\n if (!days.includes(this.name)) {\n throw new Error(`Tzolk'in day (${this.name}) must be in ${days}`);\n }\n }\n\n /**\n * Return the next day in the 260-day cycle\n * @returns {TzolkinDay}\n */\n next() {\n return this.shift(1);\n }\n\n /**\n *\n * @param {number} incremental\n */\n shift(incremental) {\n if (incremental === 0) {\n return this;\n }\n if (this.private_next === undefined) {\n let newIncremental = (this.day_position + 1) % 20;\n newIncremental = (newIncremental === 0) ? 20 : newIncremental;\n this.private_next = getTzolkinDay(newIncremental);\n }\n return this.private_next.shift(incremental - 1);\n }\n\n /**\n * Return the name of this Tzolkin day\n * @return {string}\n */\n toString() {\n return this.name;\n }\n}\n", "static": true, - "longname": "/home/drews/Development/maya-dates/src/cr/tzolkin-day.js", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/cr/tzolkin-day.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 105, + "__docId__": 96, "kind": "variable", "name": "days", "memberof": "src/cr/tzolkin-day.js", @@ -1957,7 +1777,7 @@ } }, { - "__docId__": 106, + "__docId__": 97, "kind": "variable", "name": "singleton", "memberof": "src/cr/tzolkin-day.js", @@ -1977,7 +1797,7 @@ } }, { - "__docId__": 107, + "__docId__": 98, "kind": "function", "name": "getTzolkinDay", "memberof": "src/cr/tzolkin-day.js", @@ -1986,11 +1806,11 @@ "static": true, "longname": "src/cr/tzolkin-day.js~getTzolkinDay", "access": "public", - "export": false, + "export": true, "importPath": "@drewsonne/maya-dates/src/cr/tzolkin-day.js", - "importStyle": null, + "importStyle": "getTzolkinDay", "description": "Return a comparable instance of a Tzolkin day.", - "lineNumber": 37, + "lineNumber": 38, "params": [ { "nullable": null, @@ -2014,7 +1834,7 @@ } }, { - "__docId__": 108, + "__docId__": 99, "kind": "class", "name": "TzolkinDay", "memberof": "src/cr/tzolkin-day.js", @@ -2025,11 +1845,11 @@ "importPath": "@drewsonne/maya-dates/src/cr/tzolkin-day.js", "importStyle": null, "description": "Describes only the day component of a 260-day cycle", - "lineNumber": 50, + "lineNumber": 51, "interface": false }, { - "__docId__": 109, + "__docId__": 100, "kind": "constructor", "name": "constructor", "memberof": "src/cr/tzolkin-day.js~TzolkinDay", @@ -2039,7 +1859,7 @@ "longname": "src/cr/tzolkin-day.js~TzolkinDay#constructor", "access": "public", "description": "", - "lineNumber": 54, + "lineNumber": 55, "params": [ { "nullable": null, @@ -2055,7 +1875,7 @@ ] }, { - "__docId__": 110, + "__docId__": 101, "kind": "member", "name": "name", "memberof": "src/cr/tzolkin-day.js~TzolkinDay", @@ -2063,7 +1883,7 @@ "longname": "src/cr/tzolkin-day.js~TzolkinDay#name", "access": "public", "description": "Name of the day in the 260-day cycle", - "lineNumber": 64, + "lineNumber": 65, "type": { "nullable": null, "types": [ @@ -2074,7 +1894,7 @@ } }, { - "__docId__": 111, + "__docId__": 102, "kind": "member", "name": "day_position", "memberof": "src/cr/tzolkin-day.js~TzolkinDay", @@ -2082,7 +1902,7 @@ "longname": "src/cr/tzolkin-day.js~TzolkinDay#day_position", "access": "public", "description": "Index of the day in the list of Tzolkin' days", - "lineNumber": 70, + "lineNumber": 71, "type": { "nullable": null, "types": [ @@ -2093,7 +1913,7 @@ } }, { - "__docId__": 112, + "__docId__": 103, "kind": "member", "name": "private_next", "memberof": "src/cr/tzolkin-day.js~TzolkinDay", @@ -2101,7 +1921,7 @@ "longname": "src/cr/tzolkin-day.js~TzolkinDay#private_next", "access": "public", "description": "Lazy loaded instance of the next Tzolkin Day in the cycle", - "lineNumber": 78, + "lineNumber": 79, "type": { "nullable": null, "types": [ @@ -2112,7 +1932,7 @@ } }, { - "__docId__": 113, + "__docId__": 104, "kind": "method", "name": "validate", "memberof": "src/cr/tzolkin-day.js~TzolkinDay", @@ -2122,12 +1942,12 @@ "longname": "src/cr/tzolkin-day.js~TzolkinDay#validate", "access": "public", "description": "Ensure the Tzolk'in day name is defined and is within the list of\nacceptable day names.", - "lineNumber": 85, + "lineNumber": 86, "params": [], "return": null }, { - "__docId__": 114, + "__docId__": 105, "kind": "method", "name": "next", "memberof": "src/cr/tzolkin-day.js~TzolkinDay", @@ -2137,7 +1957,7 @@ "longname": "src/cr/tzolkin-day.js~TzolkinDay#next", "access": "public", "description": "Return the next day in the 260-day cycle", - "lineNumber": 98, + "lineNumber": 99, "unknown": [ { "tagName": "@returns", @@ -2155,7 +1975,7 @@ "params": [] }, { - "__docId__": 115, + "__docId__": 106, "kind": "method", "name": "shift", "memberof": "src/cr/tzolkin-day.js~TzolkinDay", @@ -2165,7 +1985,7 @@ "longname": "src/cr/tzolkin-day.js~TzolkinDay#shift", "access": "public", "description": "", - "lineNumber": 106, + "lineNumber": 107, "params": [ { "nullable": null, @@ -2185,7 +2005,7 @@ } }, { - "__docId__": 117, + "__docId__": 108, "kind": "method", "name": "toString", "memberof": "src/cr/tzolkin-day.js~TzolkinDay", @@ -2195,7 +2015,7 @@ "longname": "src/cr/tzolkin-day.js~TzolkinDay#toString", "access": "public", "description": "Return the name of this Tzolkin day", - "lineNumber": 122, + "lineNumber": 123, "return": { "nullable": null, "types": [ @@ -2207,58 +2027,18 @@ "params": [] }, { - "__docId__": 118, + "__docId__": 109, "kind": "file", "name": "src/cr/tzolkin.js", - "content": "/** @ignore */\nconst wildcard = require('../wildcard');\n/** @ignore */\nconst getTzolkinDay = require('./tzolkin-day');\n\n/** @ignore */\nconst singleton = {};\n\n/**\n * Return a comparable instance of a Tzolkin date.\n * @param {number} coeff\n * @param {TzolkinDay|string} day\n * @return {Tzolkin}\n */\nfunction getTzolkin(coeff, day) {\n const monthName = `${coeff} ${day}`;\n // const monthName = (typeof name === 'number') ? months[name] : name;\n if (singleton[monthName] === undefined) {\n // eslint-disable-next-line no-use-before-define\n singleton[monthName] = new Tzolkin(coeff, day);\n }\n return singleton[monthName];\n}\n\n/**\n * Describes a fullDate in the 260-day cycle with a position and a day\n * @example\n * let day = new Tzolkin(4, \"Ajaw\");\n *\n * @example\n * let day = new Tzolkin(4, new TzolkinDay(\"Ajaw\"));\n *\n */\nclass Tzolkin {\n /**\n * Constructor\n * @param {number} newCoeff - The position in the 260-day cycle\n * @param {string|TzolkinDay} newDay\n */\n constructor(newCoeff, newDay) {\n let coeff = newCoeff;\n if (coeff !== undefined) {\n if (coeff === '*') {\n coeff = wildcard;\n } else if (coeff !== wildcard) {\n coeff = parseInt(coeff, 10);\n }\n }\n let day = newDay;\n if (day !== undefined) {\n if (typeof day === 'string') {\n if (day === '*') {\n day = wildcard;\n } else {\n day = getTzolkinDay(day);\n }\n }\n }\n /**\n * @type {TzolkinDay}\n */\n this.day = day;\n /**\n * @type {number}\n */\n this.coeff = coeff;\n\n /**\n * Lazy loaded instance of the next Tzolkin date in the cycle\n * @type {Tzolkin}\n */\n this.private_next = undefined;\n\n this.validate();\n }\n\n /**\n * Return the next day in the 260-day cycle\n * @returns {Tzolkin}\n */\n next() {\n return this.shift(1);\n }\n\n /**\n * Ensure the Tzolkin's coefficients are within range and the day is defined\n * @return {boolean}\n */\n validate() {\n if (this.coeff > 13 || this.coeff < 1) {\n throw new Error('Tzolk\\'in coefficient must inclusively between 1 and 13.');\n }\n if (this.day === undefined) {\n throw new Error('Tzolk\\'in day must be provided');\n }\n if (this.day !== wildcard) {\n this.day.validate();\n }\n return true;\n }\n\n /**\n *\n * @param {Number} newIncremental\n * @return {Tzolkin}\n */\n shift(newIncremental) {\n const incremental = newIncremental % 260;\n if (this.private_next === undefined) {\n let newCoeff = (this.coeff + 1) % 13;\n newCoeff = (newCoeff % 13) === 0 ? 13 : newCoeff;\n const newDay = this.day.shift(1);\n this.private_next = getTzolkin(newCoeff, newDay);\n }\n if (incremental === 0) {\n return this;\n }\n return this.private_next.shift(incremental - 1);\n }\n\n /**\n * Ensure this Tzolkin object has the same configuration as another Tzolkin\n * object. Does not take wildcards into account.\n * @param {Tzolkin} newTzolkin\n * @return {boolean}\n */\n equal(newTzolkin) {\n return (this.coeff === newTzolkin.coeff)\n && (this.name === newTzolkin.name);\n }\n\n /**\n * Ensure this Tzolkin object has a matching configuration as another Tzolkin\n * object. Takes wildcards into account.\n * @param {Tzolkin} newTzolkin\n * @return {boolean}\n */\n match(newTzolkin) {\n if (this === newTzolkin) {\n return true;\n }\n return (\n (this.coeff === wildcard || newTzolkin.coeff === wildcard)\n ? true\n : (this.coeff === newTzolkin.coeff)\n ) && (\n (this.day === wildcard || newTzolkin.day === wildcard)\n ? true\n : (this.name === newTzolkin.name)\n );\n }\n\n /**\n * Return a string representation of the 260-day cycle name\n * @returns {string}\n */\n get name() {\n if (this.day === wildcard) {\n return this.day;\n }\n return this.day.name;\n }\n\n /**\n * Render the 260-day cycle fullDate as a string\n * @returns {string}\n */\n toString(isNumeric) {\n if (isNumeric) {\n return `${this.coeff}:${this.day.day_position}`;\n }\n return `${this.coeff} ${this.name}`;\n }\n}\n\n\nmodule.exports = {\n getTzolkinDay,\n getTzolkin,\n};\n", + "content": "import wildcard from '../wildcard';\nimport getTzolkinDay from './tzolkin-day';\n\n/** @ignore */\nconst singleton = {};\n\n/**\n * Return a comparable instance of a Tzolkin date.\n * @param {number} coeff\n * @param {TzolkinDay|string} day\n * @return {Tzolkin}\n */\nfunction getTzolkin(coeff, day) {\n const monthName = `${coeff} ${day}`;\n // const monthName = (typeof name === 'number') ? months[name] : name;\n if (singleton[monthName] === undefined) {\n // eslint-disable-next-line no-use-before-define\n singleton[monthName] = new Tzolkin(coeff, day);\n }\n return singleton[monthName];\n}\n\n/**\n * Describes a fullDate in the 260-day cycle with a position and a day\n * @example\n * let day = new Tzolkin(4, \"Ajaw\");\n *\n * @example\n * let day = new Tzolkin(4, new TzolkinDay(\"Ajaw\"));\n *\n */\nclass Tzolkin {\n /**\n * Constructor\n * @param {number} newCoeff - The position in the 260-day cycle\n * @param {string|TzolkinDay} newDay\n */\n constructor(newCoeff, newDay) {\n let coeff = newCoeff;\n if (coeff !== undefined) {\n if (coeff === '*') {\n coeff = wildcard;\n } else if (coeff !== wildcard) {\n coeff = parseInt(coeff, 10);\n }\n }\n let day = newDay;\n if (day !== undefined) {\n if (typeof day === 'string') {\n if (day === '*') {\n day = wildcard;\n } else {\n day = getTzolkinDay(day);\n }\n }\n }\n /**\n * @type {TzolkinDay}\n */\n this.day = day;\n /**\n * @type {number}\n */\n this.coeff = coeff;\n\n /**\n * Lazy loaded instance of the next Tzolkin date in the cycle\n * @type {Tzolkin}\n */\n this.private_next = undefined;\n\n this.validate();\n }\n\n /**\n * Return the next day in the 260-day cycle\n * @returns {Tzolkin}\n */\n next() {\n return this.shift(1);\n }\n\n /**\n * Ensure the Tzolkin's coefficients are within range and the day is defined\n * @return {boolean}\n */\n validate() {\n if (this.coeff > 13 || this.coeff < 1) {\n throw new Error('Tzolk\\'in coefficient must inclusively between 1 and 13.');\n }\n if (this.day === undefined) {\n throw new Error('Tzolk\\'in day must be provided');\n }\n if (this.day !== wildcard) {\n this.day.validate();\n }\n return true;\n }\n\n /**\n *\n * @param {Number} newIncremental\n * @return {Tzolkin}\n */\n shift(newIncremental) {\n const incremental = newIncremental % 260;\n if (this.private_next === undefined) {\n let newCoeff = (this.coeff + 1) % 13;\n newCoeff = (newCoeff % 13) === 0 ? 13 : newCoeff;\n const newDay = this.day.shift(1);\n this.private_next = getTzolkin(newCoeff, newDay);\n }\n if (incremental === 0) {\n return this;\n }\n return this.private_next.shift(incremental - 1);\n }\n\n /**\n * Ensure this Tzolkin object has the same configuration as another Tzolkin\n * object. Does not take wildcards into account.\n * @param {Tzolkin} newTzolkin\n * @return {boolean}\n */\n equal(newTzolkin) {\n return (this.coeff === newTzolkin.coeff)\n && (this.name === newTzolkin.name);\n }\n\n /**\n * Ensure this Tzolkin object has a matching configuration as another Tzolkin\n * object. Takes wildcards into account.\n * @param {Tzolkin} newTzolkin\n * @return {boolean}\n */\n match(newTzolkin) {\n if (this === newTzolkin) {\n return true;\n }\n return (\n (this.coeff === wildcard || newTzolkin.coeff === wildcard)\n ? true\n : (this.coeff === newTzolkin.coeff)\n ) && (\n (this.day === wildcard || newTzolkin.day === wildcard)\n ? true\n : (this.name === newTzolkin.name)\n );\n }\n\n /**\n * Return a string representation of the 260-day cycle name\n * @returns {string}\n */\n get name() {\n if (this.day === wildcard) {\n return this.day;\n }\n return this.day.name;\n }\n\n /**\n * Render the 260-day cycle fullDate as a string\n * @returns {string}\n */\n toString(isNumeric) {\n if (isNumeric) {\n return `${this.coeff}:${this.day.day_position}`;\n }\n return `${this.coeff} ${this.name}`;\n }\n}\n\nexport default {\n getTzolkinDay,\n getTzolkin,\n};\n", "static": true, - "longname": "/home/drews/Development/maya-dates/src/cr/tzolkin.js", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/cr/tzolkin.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 119, - "kind": "variable", - "name": "wildcard", - "memberof": "src/cr/tzolkin.js", - "static": true, - "longname": "src/cr/tzolkin.js~wildcard", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/cr/tzolkin.js", - "importStyle": null, - "description": null, - "lineNumber": 2, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 120, - "kind": "variable", - "name": "getTzolkinDay", - "memberof": "src/cr/tzolkin.js", - "static": true, - "longname": "src/cr/tzolkin.js~getTzolkinDay", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/cr/tzolkin.js", - "importStyle": null, - "description": null, - "lineNumber": 4, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 121, + "__docId__": 110, "kind": "variable", "name": "singleton", "memberof": "src/cr/tzolkin.js", @@ -2269,7 +2049,7 @@ "importPath": "@drewsonne/maya-dates/src/cr/tzolkin.js", "importStyle": null, "description": null, - "lineNumber": 7, + "lineNumber": 5, "ignore": true, "type": { "types": [ @@ -2278,7 +2058,7 @@ } }, { - "__docId__": 122, + "__docId__": 111, "kind": "function", "name": "getTzolkin", "memberof": "src/cr/tzolkin.js", @@ -2291,7 +2071,7 @@ "importPath": "@drewsonne/maya-dates/src/cr/tzolkin.js", "importStyle": null, "description": "Return a comparable instance of a Tzolkin date.", - "lineNumber": 15, + "lineNumber": 13, "params": [ { "nullable": null, @@ -2325,7 +2105,7 @@ } }, { - "__docId__": 123, + "__docId__": 112, "kind": "class", "name": "Tzolkin", "memberof": "src/cr/tzolkin.js", @@ -2340,11 +2120,11 @@ " let day = new Tzolkin(4, \"Ajaw\");", " let day = new Tzolkin(4, new TzolkinDay(\"Ajaw\"));" ], - "lineNumber": 34, + "lineNumber": 32, "interface": false }, { - "__docId__": 124, + "__docId__": 113, "kind": "constructor", "name": "constructor", "memberof": "src/cr/tzolkin.js~Tzolkin", @@ -2354,7 +2134,7 @@ "longname": "src/cr/tzolkin.js~Tzolkin#constructor", "access": "public", "description": "Constructor", - "lineNumber": 40, + "lineNumber": 38, "params": [ { "nullable": null, @@ -2380,7 +2160,7 @@ ] }, { - "__docId__": 125, + "__docId__": 114, "kind": "member", "name": "day", "memberof": "src/cr/tzolkin.js~Tzolkin", @@ -2388,7 +2168,7 @@ "longname": "src/cr/tzolkin.js~Tzolkin#day", "access": "public", "description": "", - "lineNumber": 62, + "lineNumber": 60, "type": { "nullable": null, "types": [ @@ -2399,7 +2179,7 @@ } }, { - "__docId__": 126, + "__docId__": 115, "kind": "member", "name": "coeff", "memberof": "src/cr/tzolkin.js~Tzolkin", @@ -2407,7 +2187,7 @@ "longname": "src/cr/tzolkin.js~Tzolkin#coeff", "access": "public", "description": "", - "lineNumber": 66, + "lineNumber": 64, "type": { "nullable": null, "types": [ @@ -2418,7 +2198,7 @@ } }, { - "__docId__": 127, + "__docId__": 116, "kind": "member", "name": "private_next", "memberof": "src/cr/tzolkin.js~Tzolkin", @@ -2426,7 +2206,7 @@ "longname": "src/cr/tzolkin.js~Tzolkin#private_next", "access": "public", "description": "Lazy loaded instance of the next Tzolkin date in the cycle", - "lineNumber": 72, + "lineNumber": 70, "type": { "nullable": null, "types": [ @@ -2437,7 +2217,7 @@ } }, { - "__docId__": 128, + "__docId__": 117, "kind": "method", "name": "next", "memberof": "src/cr/tzolkin.js~Tzolkin", @@ -2447,7 +2227,7 @@ "longname": "src/cr/tzolkin.js~Tzolkin#next", "access": "public", "description": "Return the next day in the 260-day cycle", - "lineNumber": 81, + "lineNumber": 79, "unknown": [ { "tagName": "@returns", @@ -2465,7 +2245,7 @@ "params": [] }, { - "__docId__": 129, + "__docId__": 118, "kind": "method", "name": "validate", "memberof": "src/cr/tzolkin.js~Tzolkin", @@ -2475,7 +2255,7 @@ "longname": "src/cr/tzolkin.js~Tzolkin#validate", "access": "public", "description": "Ensure the Tzolkin's coefficients are within range and the day is defined", - "lineNumber": 89, + "lineNumber": 87, "return": { "nullable": null, "types": [ @@ -2487,7 +2267,7 @@ "params": [] }, { - "__docId__": 130, + "__docId__": 119, "kind": "method", "name": "shift", "memberof": "src/cr/tzolkin.js~Tzolkin", @@ -2497,7 +2277,7 @@ "longname": "src/cr/tzolkin.js~Tzolkin#shift", "access": "public", "description": "", - "lineNumber": 107, + "lineNumber": 105, "params": [ { "nullable": null, @@ -2520,7 +2300,7 @@ } }, { - "__docId__": 132, + "__docId__": 121, "kind": "method", "name": "equal", "memberof": "src/cr/tzolkin.js~Tzolkin", @@ -2530,7 +2310,7 @@ "longname": "src/cr/tzolkin.js~Tzolkin#equal", "access": "public", "description": "Ensure this Tzolkin object has the same configuration as another Tzolkin\nobject. Does not take wildcards into account.", - "lineNumber": 127, + "lineNumber": 125, "params": [ { "nullable": null, @@ -2553,7 +2333,7 @@ } }, { - "__docId__": 133, + "__docId__": 122, "kind": "method", "name": "match", "memberof": "src/cr/tzolkin.js~Tzolkin", @@ -2563,7 +2343,7 @@ "longname": "src/cr/tzolkin.js~Tzolkin#match", "access": "public", "description": "Ensure this Tzolkin object has a matching configuration as another Tzolkin\nobject. Takes wildcards into account.", - "lineNumber": 138, + "lineNumber": 136, "params": [ { "nullable": null, @@ -2586,7 +2366,7 @@ } }, { - "__docId__": 134, + "__docId__": 123, "kind": "get", "name": "name", "memberof": "src/cr/tzolkin.js~Tzolkin", @@ -2596,7 +2376,7 @@ "longname": "src/cr/tzolkin.js~Tzolkin#name", "access": "public", "description": "Return a string representation of the 260-day cycle name", - "lineNumber": 157, + "lineNumber": 155, "unknown": [ { "tagName": "@returns", @@ -2618,7 +2398,7 @@ } }, { - "__docId__": 135, + "__docId__": 124, "kind": "method", "name": "toString", "memberof": "src/cr/tzolkin.js~Tzolkin", @@ -2628,7 +2408,7 @@ "longname": "src/cr/tzolkin.js~Tzolkin#toString", "access": "public", "description": "Render the 260-day cycle fullDate as a string", - "lineNumber": 168, + "lineNumber": 166, "unknown": [ { "tagName": "@returns", @@ -2653,33 +2433,33 @@ ] }, { - "__docId__": 136, + "__docId__": 125, "kind": "file", "name": "src/factory/base.js", - "content": "/**\n * An abstract class to handle the create of an object from a string\n */\nclass Factory {\n /**\n * Define properties to be override by sub-classes\n */\n constructor() {\n /**\n * Describes how to break a string into a fullDate element\n * @protected\n * @type {RegExp}\n */\n this.pattern = null;\n }\n\n /**\n * Split the provided fullDate into its components\n * @param {string} raw\n * @access protected\n * @returns {String[]}\n */\n split(raw) {\n const matches = raw.match(\n this.pattern\n );\n if (matches === null) {\n return [];\n }\n return matches.slice(1);\n }\n\n /**\n * Checks if the string contains a fullDate fullDate\n * @param {string} raw - Raw fullDate string\n * @access protected\n * @returns {boolean}\n */\n // _is_partial (raw) {\n // let parts = this.split(raw)\n // return parts.includes('*')\n // }\n}\n\nmodule.exports = Factory;\n", + "content": "/**\n * An abstract class to handle the create of an object from a string\n */\nexport default class Factory {\n /**\n * Define properties to be override by sub-classes\n */\n constructor() {\n /**\n * Describes how to break a string into a fullDate element\n * @protected\n * @type {RegExp}\n */\n this.pattern = null;\n }\n\n /**\n * Split the provided fullDate into its components\n * @param {string} raw\n * @access protected\n * @returns {String[]}\n */\n split(raw) {\n const matches = raw.match(\n this.pattern\n );\n if (matches === null) {\n return [];\n }\n return matches.slice(1);\n }\n\n /**\n * Checks if the string contains a fullDate fullDate\n * @param {string} raw - Raw fullDate string\n * @access protected\n * @returns {boolean}\n */\n // _is_partial (raw) {\n // let parts = this.split(raw)\n // return parts.includes('*')\n // }\n}\n", "static": true, - "longname": "/home/drews/Development/maya-dates/src/factory/base.js", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/factory/base.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 137, + "__docId__": 126, "kind": "class", "name": "Factory", "memberof": "src/factory/base.js", "static": true, "longname": "src/factory/base.js~Factory", "access": "public", - "export": false, + "export": true, "importPath": "@drewsonne/maya-dates/src/factory/base.js", - "importStyle": null, + "importStyle": "Factory", "description": "An abstract class to handle the create of an object from a string", "lineNumber": 4, "interface": false }, { - "__docId__": 138, + "__docId__": 127, "kind": "constructor", "name": "constructor", "memberof": "src/factory/base.js~Factory", @@ -2692,7 +2472,7 @@ "lineNumber": 8 }, { - "__docId__": 139, + "__docId__": 128, "kind": "member", "name": "pattern", "memberof": "src/factory/base.js~Factory", @@ -2711,7 +2491,7 @@ } }, { - "__docId__": 140, + "__docId__": 129, "kind": "method", "name": "split", "memberof": "src/factory/base.js~Factory", @@ -2750,79 +2530,39 @@ } }, { - "__docId__": 141, + "__docId__": 130, "kind": "file", "name": "src/factory/calendar-round.js", - "content": "/** @ignore */\nconst Factory = require('./base');\n/** @ignore */\nconst { getCalendarRound } = require('../cr/calendar-round');\n\n/**\n * A factory to create a CalendarRound object from a string\n * @extends {Factory}\n * @example\n * let cr = new CalendarRoundFactory().parse(\"4 Ajaw 8 Kumk'u\");\n */\nclass CalendarRoundFactory extends Factory {\n /**\n * Defines the pattern describing a Calendar Round\n */\n constructor() {\n super();\n /**\n * Describes how to break the string into a Calendar Round\n * @type {RegExp}\n */\n this.pattern = /([*\\d]+)\\s?([^\\s]+)\\s?([*\\d]+)\\s?([^\\s]+)/;\n }\n\n /**\n * Given a string, parse it and create a Calendar Round\n * @param {string} raw - A string containing a Calendar Round\n * @returns {CalendarRound}\n */\n parse(raw) {\n const parts = this.split(raw);\n if (parts.length < 4) {\n return null;\n }\n return getCalendarRound(\n parts[0], parts[1],\n parts[2], parts[3]\n );\n }\n}\n\nmodule.exports = CalendarRoundFactory;\n", + "content": "import Factory from './base';\nimport cr from '../cr/calendar-round';\n\n/**\n * A factory to create a CalendarRound object from a string\n * @extends {Factory}\n * @example\n * let cr = new CalendarRoundFactory().parse(\"4 Ajaw 8 Kumk'u\");\n */\nexport default class CalendarRoundFactory extends Factory {\n /**\n * Defines the pattern describing a Calendar Round\n */\n constructor() {\n super();\n /**\n * Describes how to break the string into a Calendar Round\n * @type {RegExp}\n */\n this.pattern = /([*\\d]+)\\s?([^\\s]+)\\s?([*\\d]+)\\s?([^\\s]+)/;\n }\n\n /**\n * Given a string, parse it and create a Calendar Round\n * @param {string} raw - A string containing a Calendar Round\n * @returns {CalendarRound}\n */\n parse(raw) {\n const parts = this.split(raw);\n if (parts.length < 4) {\n return null;\n }\n return cr.getCalendarRound(\n parts[0], parts[1],\n parts[2], parts[3]\n );\n }\n}\n", "static": true, - "longname": "/home/drews/Development/maya-dates/src/factory/calendar-round.js", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/factory/calendar-round.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 142, - "kind": "variable", - "name": "Factory", + "__docId__": 131, + "kind": "class", + "name": "CalendarRoundFactory", "memberof": "src/factory/calendar-round.js", "static": true, - "longname": "src/factory/calendar-round.js~Factory", + "longname": "src/factory/calendar-round.js~CalendarRoundFactory", "access": "public", - "export": false, + "export": true, "importPath": "@drewsonne/maya-dates/src/factory/calendar-round.js", - "importStyle": null, - "description": null, - "lineNumber": 2, - "ignore": true, - "type": { - "types": [ - "*" - ] - } + "importStyle": "CalendarRoundFactory", + "description": "A factory to create a CalendarRound object from a string", + "examples": [ + " let cr = new CalendarRoundFactory().parse(\"4 Ajaw 8 Kumk'u\");" + ], + "lineNumber": 10, + "interface": false, + "extends": [ + "Factory" + ] }, { - "__docId__": 143, - "kind": "variable", - "name": "getCalendarRound", - "memberof": "src/factory/calendar-round.js", - "static": true, - "longname": "src/factory/calendar-round.js~getCalendarRound", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/factory/calendar-round.js", - "importStyle": null, - "description": null, - "lineNumber": 4, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 144, - "kind": "class", - "name": "CalendarRoundFactory", - "memberof": "src/factory/calendar-round.js", - "static": true, - "longname": "src/factory/calendar-round.js~CalendarRoundFactory", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/factory/calendar-round.js", - "importStyle": null, - "description": "A factory to create a CalendarRound object from a string", - "examples": [ - " let cr = new CalendarRoundFactory().parse(\"4 Ajaw 8 Kumk'u\");" - ], - "lineNumber": 12, - "interface": false, - "extends": [ - "Factory" - ] - }, - { - "__docId__": 145, + "__docId__": 132, "kind": "constructor", "name": "constructor", "memberof": "src/factory/calendar-round.js~CalendarRoundFactory", @@ -2832,10 +2572,10 @@ "longname": "src/factory/calendar-round.js~CalendarRoundFactory#constructor", "access": "public", "description": "Defines the pattern describing a Calendar Round", - "lineNumber": 16 + "lineNumber": 14 }, { - "__docId__": 146, + "__docId__": 133, "kind": "member", "name": "pattern", "memberof": "src/factory/calendar-round.js~CalendarRoundFactory", @@ -2843,7 +2583,7 @@ "longname": "src/factory/calendar-round.js~CalendarRoundFactory#pattern", "access": "public", "description": "Describes how to break the string into a Calendar Round", - "lineNumber": 22, + "lineNumber": 20, "type": { "nullable": null, "types": [ @@ -2854,7 +2594,7 @@ } }, { - "__docId__": 147, + "__docId__": 134, "kind": "method", "name": "parse", "memberof": "src/factory/calendar-round.js~CalendarRoundFactory", @@ -2864,7 +2604,7 @@ "longname": "src/factory/calendar-round.js~CalendarRoundFactory#parse", "access": "public", "description": "Given a string, parse it and create a Calendar Round", - "lineNumber": 30, + "lineNumber": 28, "unknown": [ { "tagName": "@returns", @@ -2893,96 +2633,36 @@ } }, { - "__docId__": 148, + "__docId__": 135, "kind": "file", "name": "src/factory/full-date.js", - "content": "/** @ignore */\nconst CalendarRoundFactory = require('./calendar-round');\n/** @ignore */\nconst LongCountFactory = require('./long-count');\n/** @ignore */\nconst FullDate = require('../full-date');\n\n/**\n * Given a fullDate composed of a Long Count and a Calendar Round, create a\n * {FullDate} object.\n * @extends {Factory}\n */\nclass FullDateFactory {\n /**\n *\n * @param {String} raw\n * @return {FullDate}\n */\n // eslint-disable-next-line class-methods-use-this\n parse(raw) {\n const cleanedRaw = raw.replace('**', '* *');\n const cr = new CalendarRoundFactory().parse(cleanedRaw);\n const lc = new LongCountFactory().parse(cleanedRaw);\n return new FullDate(\n cr,\n lc\n );\n }\n}\n\nmodule.exports = FullDateFactory;\n", + "content": "import CalendarRoundFactory from './calendar-round';\nimport LongCountFactory from './long-count';\nimport FullDate from '../full-date';\n\n/**\n * Given a fullDate composed of a Long Count and a Calendar Round, create a\n * {FullDate} object.\n * @extends {Factory}\n */\nexport default class FullDateFactory {\n /**\n *\n * @param {String} raw\n * @return {FullDate}\n */\n // eslint-disable-next-line class-methods-use-this\n parse(raw) {\n const cleanedRaw = raw.replace('**', '* *');\n const cr = new CalendarRoundFactory().parse(cleanedRaw);\n const lc = new LongCountFactory().parse(cleanedRaw);\n return new FullDate(\n cr,\n lc\n );\n }\n}\n", "static": true, - "longname": "/home/drews/Development/maya-dates/src/factory/full-date.js", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/factory/full-date.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 149, - "kind": "variable", - "name": "CalendarRoundFactory", - "memberof": "src/factory/full-date.js", - "static": true, - "longname": "src/factory/full-date.js~CalendarRoundFactory", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/factory/full-date.js", - "importStyle": null, - "description": null, - "lineNumber": 2, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 150, - "kind": "variable", - "name": "LongCountFactory", - "memberof": "src/factory/full-date.js", - "static": true, - "longname": "src/factory/full-date.js~LongCountFactory", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/factory/full-date.js", - "importStyle": null, - "description": null, - "lineNumber": 4, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 151, - "kind": "variable", - "name": "FullDate", - "memberof": "src/factory/full-date.js", - "static": true, - "longname": "src/factory/full-date.js~FullDate", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/factory/full-date.js", - "importStyle": null, - "description": null, - "lineNumber": 6, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 152, + "__docId__": 136, "kind": "class", "name": "FullDateFactory", "memberof": "src/factory/full-date.js", "static": true, "longname": "src/factory/full-date.js~FullDateFactory", "access": "public", - "export": false, + "export": true, "importPath": "@drewsonne/maya-dates/src/factory/full-date.js", - "importStyle": null, + "importStyle": "FullDateFactory", "description": "Given a fullDate composed of a Long Count and a Calendar Round, create a\n{FullDate} object.", - "lineNumber": 13, + "lineNumber": 10, "interface": false, "extends": [ "Factory" ] }, { - "__docId__": 153, + "__docId__": 137, "kind": "method", "name": "parse", "memberof": "src/factory/full-date.js~FullDateFactory", @@ -2992,7 +2672,7 @@ "longname": "src/factory/full-date.js~FullDateFactory#parse", "access": "public", "description": "", - "lineNumber": 20, + "lineNumber": 17, "params": [ { "nullable": null, @@ -3015,171 +2695,51 @@ } }, { - "__docId__": 154, + "__docId__": 138, "kind": "file", "name": "src/factory/index.js", - "content": "/** @ignore */\nconst FullDateFactory = require('./full-date');\n/** @ignore */\nconst CalendarRoundFactory = require('./calendar-round');\n/** @ignore */\nconst LongCountFactory = require('./long-count');\n\nmodule.exports = {\n CalendarRoundFactory,\n LongCountFactory,\n FullDateFactory\n};\n", + "content": "import FullDateFactory from './full-date';\nimport CalendarRoundFactory from './calendar-round';\nimport LongCountFactory from './long-count';\n\nexport default {\n CalendarRoundFactory,\n LongCountFactory,\n FullDateFactory\n};\n", "static": true, - "longname": "/home/drews/Development/maya-dates/src/factory/index.js", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/factory/index.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 155, - "kind": "variable", - "name": "FullDateFactory", - "memberof": "src/factory/index.js", - "static": true, - "longname": "src/factory/index.js~FullDateFactory", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/factory/index.js", - "importStyle": null, - "description": null, - "lineNumber": 2, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 156, - "kind": "variable", - "name": "CalendarRoundFactory", - "memberof": "src/factory/index.js", - "static": true, - "longname": "src/factory/index.js~CalendarRoundFactory", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/factory/index.js", - "importStyle": null, - "description": null, - "lineNumber": 4, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 157, - "kind": "variable", - "name": "LongCountFactory", - "memberof": "src/factory/index.js", - "static": true, - "longname": "src/factory/index.js~LongCountFactory", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/factory/index.js", - "importStyle": null, - "description": null, - "lineNumber": 6, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 158, + "__docId__": 139, "kind": "file", "name": "src/factory/long-count.js", - "content": "/** @ignore */\nconst Factory = require('./base');\n/** @ignore */\nconst LongCount = require('../lc/long-count');\n/** @ignore */\nconst wildcard = require('../wildcard');\n\n/**\n * A factory to create a LongCount object from a string\n * @extends {Factory}\n * @example\n * let cr = new LongCountFactory().parse(\"9.4.2.4.1\");\n * @example\n * let cr = new LongCountFactory().parse(\"9.4.2.*.1\");\n */\nclass LongCountFactory extends Factory {\n /**\n * Given a string, parse it and create a Long Count\n * @param {string} raw - A string containing a Long Count\n * @returns {LongCount}\n */\n // eslint-disable-next-line class-methods-use-this\n parse(raw) {\n const dates = raw.match(/(?:(?:\\*|(?:[\\d]{1,2}))\\.){1,}(?:(?:\\*)|(?:[\\d]{1,2}))/);\n if (dates === null || dates.length !== 1) {\n return null;\n }\n\n const parts = dates[0].split('.');\n\n return new LongCount(\n ...new Array(Math.max(5 - parts.length, 0))\n .fill('0')\n .concat(parts)\n .map(\n (part) => ((part === '*') ? wildcard : parseInt(part, 10))\n )\n .reverse()\n );\n }\n}\n\nmodule.exports = LongCountFactory;\n", + "content": "import Factory from './base';\nimport LongCount from '../lc/long-count';\nimport wildcard from '../wildcard';\n\n/**\n * A factory to create a LongCount object from a string\n * @extends {Factory}\n * @example\n * let cr = new LongCountFactory().parse(\"9.4.2.4.1\");\n * @example\n * let cr = new LongCountFactory().parse(\"9.4.2.*.1\");\n */\nexport default class LongCountFactory extends Factory {\n /**\n * Given a string, parse it and create a Long Count\n * @param {string} raw - A string containing a Long Count\n * @returns {LongCount}\n */\n // eslint-disable-next-line class-methods-use-this\n parse(raw) {\n const dates = raw.match(/(?:(?:\\*|(?:[\\d]{1,2}))\\.){1,}(?:(?:\\*)|(?:[\\d]{1,2}))/);\n if (dates === null || dates.length !== 1) {\n return null;\n }\n\n const parts = dates[0].split('.');\n\n return new LongCount(\n ...new Array(Math.max(5 - parts.length, 0))\n .fill('0')\n .concat(parts)\n .map(\n (part) => ((part === '*') ? wildcard : parseInt(part, 10))\n )\n .reverse()\n );\n }\n}\n", "static": true, - "longname": "/home/drews/Development/maya-dates/src/factory/long-count.js", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/factory/long-count.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 159, - "kind": "variable", - "name": "Factory", - "memberof": "src/factory/long-count.js", - "static": true, - "longname": "src/factory/long-count.js~Factory", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/factory/long-count.js", - "importStyle": null, - "description": null, - "lineNumber": 2, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 160, - "kind": "variable", - "name": "LongCount", - "memberof": "src/factory/long-count.js", - "static": true, - "longname": "src/factory/long-count.js~LongCount", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/factory/long-count.js", - "importStyle": null, - "description": null, - "lineNumber": 4, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 161, - "kind": "variable", - "name": "wildcard", - "memberof": "src/factory/long-count.js", - "static": true, - "longname": "src/factory/long-count.js~wildcard", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/factory/long-count.js", - "importStyle": null, - "description": null, - "lineNumber": 6, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 162, + "__docId__": 140, "kind": "class", "name": "LongCountFactory", "memberof": "src/factory/long-count.js", "static": true, "longname": "src/factory/long-count.js~LongCountFactory", "access": "public", - "export": false, + "export": true, "importPath": "@drewsonne/maya-dates/src/factory/long-count.js", - "importStyle": null, + "importStyle": "LongCountFactory", "description": "A factory to create a LongCount object from a string", "examples": [ " let cr = new LongCountFactory().parse(\"9.4.2.4.1\");", " let cr = new LongCountFactory().parse(\"9.4.2.*.1\");" ], - "lineNumber": 16, + "lineNumber": 13, "interface": false, "extends": [ "Factory" ] }, { - "__docId__": 163, + "__docId__": 141, "kind": "method", "name": "parse", "memberof": "src/factory/long-count.js~LongCountFactory", @@ -3189,7 +2749,7 @@ "longname": "src/factory/long-count.js~LongCountFactory#parse", "access": "public", "description": "Given a string, parse it and create a Long Count", - "lineNumber": 23, + "lineNumber": 20, "unknown": [ { "tagName": "@returns", @@ -3218,33 +2778,33 @@ } }, { - "__docId__": 164, + "__docId__": 142, "kind": "file", "name": "src/full-date.js", - "content": "/**\n * An encapsulation of a LongCount and Calendar Round which match each other.\n */\nclass FullDate {\n /**\n * @param {CalendarRound} cr\n * @param {LongCount} lc\n */\n constructor(cr, lc) {\n /**\n * @type {CalendarRound}\n */\n this.cr = cr;\n\n /**\n * @type {LongCount}\n */\n this.lc = lc;\n }\n\n /**\n * Render the FullDate as a string of both the CR and the LC\n * @returns {string}\n */\n toString() {\n return `${this.cr} ${this.lc}`;\n }\n}\n\nmodule.exports = FullDate;\n", + "content": "/**\n * An encapsulation of a LongCount and Calendar Round which match each other.\n */\nexport default class FullDate {\n /**\n * @param {CalendarRound} cr\n * @param {LongCount} lc\n */\n constructor(cr, lc) {\n /**\n * @type {CalendarRound}\n */\n this.cr = cr;\n\n /**\n * @type {LongCount}\n */\n this.lc = lc;\n }\n\n /**\n * Render the FullDate as a string of both the CR and the LC\n * @returns {string}\n */\n toString() {\n return `${this.cr} ${this.lc}`;\n }\n}\n", "static": true, - "longname": "/home/drews/Development/maya-dates/src/full-date.js", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/full-date.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 165, + "__docId__": 143, "kind": "class", "name": "FullDate", "memberof": "src/full-date.js", "static": true, "longname": "src/full-date.js~FullDate", "access": "public", - "export": false, + "export": true, "importPath": "@drewsonne/maya-dates/src/full-date.js", - "importStyle": null, + "importStyle": "FullDate", "description": "An encapsulation of a LongCount and Calendar Round which match each other.", "lineNumber": 4, "interface": false }, { - "__docId__": 166, + "__docId__": 144, "kind": "constructor", "name": "constructor", "memberof": "src/full-date.js~FullDate", @@ -3279,7 +2839,7 @@ ] }, { - "__docId__": 167, + "__docId__": 145, "kind": "member", "name": "cr", "memberof": "src/full-date.js~FullDate", @@ -3298,7 +2858,7 @@ } }, { - "__docId__": 168, + "__docId__": 146, "kind": "member", "name": "lc", "memberof": "src/full-date.js~FullDate", @@ -3317,7 +2877,7 @@ } }, { - "__docId__": 169, + "__docId__": 147, "kind": "method", "name": "toString", "memberof": "src/full-date.js~FullDate", @@ -3345,149 +2905,29 @@ "params": [] }, { - "__docId__": 170, + "__docId__": 148, "kind": "file", "name": "src/index.js", - "content": "/** @ignore */\nconst FullDate = require('./full-date');\n/** @ignore */\nconst factory = require('./factory/index');\n/** @ignore */\nconst cr = require('./cr/index');\n/** @ignore */\nconst lc = require('./lc/index');\n/** @ignore */\nconst op = require('./operations/index');\n/** @ignore */\nconst wildcard = require('./wildcard');\n\nmodule.exports = {\n factory,\n cr,\n lc,\n op,\n wildcard,\n FullDate\n};\n", + "content": "import FullDate from './full-date';\nimport factory from './factory/index';\nimport cr from './cr/index';\nimport lc from './lc/index';\nimport op from './operations/index';\nimport wildcard from './wildcard';\n\nexport default {\n factory,\n cr,\n lc,\n op,\n wildcard,\n FullDate\n};\n", "static": true, - "longname": "/home/drews/Development/maya-dates/src/index.js", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/index.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 171, - "kind": "variable", - "name": "FullDate", - "memberof": "src/index.js", + "__docId__": 149, + "kind": "file", + "name": "src/lc/correlation-constant.js", + "content": "/**\n * Correlation Constant to align Long Counts with Western Calendars\n */\nclass CorrelationConstant {\n /**\n * Set a name and value\n * @param {number} value\n * @param {string} name\n */\n constructor(value, name) {\n /**\n * @type {number}\n */\n this.value = value;\n\n /**\n * @type {string}\n */\n this.name = name;\n }\n}\n\n/** @ignore */\nconst correlationConstants = [[394483, 'Bowditch'],\n [489138, 'Makesom'],\n [489384, 'Spinden'],\n [584281, 'Martinéz-Hernando'],\n [584283, 'GMT'],\n [584285, 'Astronomical'],\n [584286, 'Martin-Skidmore'],\n [660208, 'Wells, Fuls'],\n].reduce((obj, n) => {\n const corr = new CorrelationConstant(...n);\n const newObj = obj;\n newObj[corr.name] = corr;\n newObj[corr.value] = corr;\n return newObj;\n});\n\n/**\n * Return a Lord of the Night by its G id.\n * @param {string|number} id - Has the form 'G1', 'G2', etc.\n * @param {string} name - Optional name when creating a new Correlation Constant\n * @return {CorrelationConstant}\n */\nexport default function getCorrelationConstant(id, name) {\n if (id in correlationConstants) {\n return correlationConstants[id];\n }\n if (name === undefined) {\n throw new Error(`Could not find ${id} in defaults, and 'name' was not provided for new Correlation Constant`);\n }\n const newCorrConst = new CorrelationConstant(id, name);\n correlationConstants[newCorrConst.name] = newCorrConst;\n correlationConstants[newCorrConst.value] = newCorrConst;\n return newCorrConst;\n}\n", "static": true, - "longname": "src/index.js~FullDate", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates", - "importStyle": null, - "description": null, - "lineNumber": 2, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 172, - "kind": "variable", - "name": "factory", - "memberof": "src/index.js", - "static": true, - "longname": "src/index.js~factory", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates", - "importStyle": null, - "description": null, - "lineNumber": 4, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 173, - "kind": "variable", - "name": "cr", - "memberof": "src/index.js", - "static": true, - "longname": "src/index.js~cr", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates", - "importStyle": null, - "description": null, - "lineNumber": 6, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 174, - "kind": "variable", - "name": "lc", - "memberof": "src/index.js", - "static": true, - "longname": "src/index.js~lc", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates", - "importStyle": null, - "description": null, - "lineNumber": 8, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 175, - "kind": "variable", - "name": "op", - "memberof": "src/index.js", - "static": true, - "longname": "src/index.js~op", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates", - "importStyle": null, - "description": null, - "lineNumber": 10, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 176, - "kind": "variable", - "name": "wildcard", - "memberof": "src/index.js", - "static": true, - "longname": "src/index.js~wildcard", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates", - "importStyle": null, - "description": null, - "lineNumber": 12, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 177, - "kind": "file", - "name": "src/lc/correlation-constant.js", - "content": "/**\n * Correlation Constant to align Long Counts with Western Calendars\n */\nclass CorrelationConstant {\n /**\n * Set a name and value\n * @param {number} value\n * @param {string} name\n */\n constructor(value, name) {\n /**\n * @type {number}\n */\n this.value = value;\n\n /**\n * @type {string}\n */\n this.name = name;\n }\n}\n\n/** @ignore */\nconst correlationConstants = [[394483, 'Bowditch'],\n [489138, 'Makesom'],\n [489384, 'Spinden'],\n [584281, 'Martinéz-Hernando'],\n [584283, 'GMT'],\n [584285, 'Astronomical'],\n [584286, 'Martin-Skidmore'],\n [660208, 'Wells, Fuls'],\n].reduce((obj, n) => {\n const corr = new CorrelationConstant(...n);\n const newObj = obj;\n newObj[corr.name] = corr;\n newObj[corr.value] = corr;\n return newObj;\n});\n\n/**\n * Return a Lord of the Night by its G id.\n * @param {string|number} id - Has the form 'G1', 'G2', etc.\n * @param {string} name - Optional name when creating a new Correlation Constant\n * @return {CorrelationConstant}\n */\nfunction getCorrelationConstant(id, name) {\n if (id in correlationConstants) {\n return correlationConstants[id];\n }\n if (name === undefined) {\n throw new Error(`Could not find ${id} in defaults, and 'name' was not provided for new Correlation Constant`);\n }\n const newCorrConst = new CorrelationConstant(id, name);\n correlationConstants[newCorrConst.name] = newCorrConst;\n correlationConstants[newCorrConst.value] = newCorrConst;\n return newCorrConst;\n}\n\n\nmodule.exports = getCorrelationConstant;\n", - "static": true, - "longname": "/home/drews/Development/maya-dates/src/lc/correlation-constant.js", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/lc/correlation-constant.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 178, + "__docId__": 150, "kind": "class", "name": "CorrelationConstant", "memberof": "src/lc/correlation-constant.js", @@ -3502,7 +2942,7 @@ "interface": false }, { - "__docId__": 179, + "__docId__": 151, "kind": "constructor", "name": "constructor", "memberof": "src/lc/correlation-constant.js~CorrelationConstant", @@ -3537,7 +2977,7 @@ ] }, { - "__docId__": 180, + "__docId__": 152, "kind": "member", "name": "value", "memberof": "src/lc/correlation-constant.js~CorrelationConstant", @@ -3556,7 +2996,7 @@ } }, { - "__docId__": 181, + "__docId__": 153, "kind": "member", "name": "name", "memberof": "src/lc/correlation-constant.js~CorrelationConstant", @@ -3575,7 +3015,7 @@ } }, { - "__docId__": 182, + "__docId__": 154, "kind": "variable", "name": "correlationConstants", "memberof": "src/lc/correlation-constant.js", @@ -3595,7 +3035,7 @@ } }, { - "__docId__": 183, + "__docId__": 155, "kind": "function", "name": "getCorrelationConstant", "memberof": "src/lc/correlation-constant.js", @@ -3604,9 +3044,9 @@ "static": true, "longname": "src/lc/correlation-constant.js~getCorrelationConstant", "access": "public", - "export": false, + "export": true, "importPath": "@drewsonne/maya-dates/src/lc/correlation-constant.js", - "importStyle": null, + "importStyle": "getCorrelationConstant", "description": "Return a Lord of the Night by its G id.", "lineNumber": 46, "params": [ @@ -3642,113 +3082,33 @@ } }, { - "__docId__": 184, + "__docId__": 156, "kind": "file", "name": "src/lc/distance-number.js", - "content": "/** @ignore */\nconst moonbeams = require('moonbeams');\n/** @ignore */\nconst wildcard = require('../wildcard');\n/** @ignore */\nconst LongcountAddition = require('../operations/longcount-addition');\n/** @ignore */\nconst LongcountSubtraction = require('../operations/longcount-subtraction');\n\n/**\n * Long Count cycle\n */\nclass DistanceNumber {\n /**\n * @param {...number|Wildcard} cycles - Components in the long count\n * (eg, K'in, Winal, Bak'tun, etc)\n */\n constructor(...cycles) {\n /**\n * Date Components\n * @type {number[]|Wildcard[]}\n */\n this.parts = cycles;\n\n /**\n * Pattern to validate the fullDate\n * @type {RegExp}\n */\n this.date_pattern = /([\\d*]+\\.?)+/;\n\n /**\n * @private\n * @type {number}\n */\n this.sign = (this.parts[this.parts.length - 1] < 0) ? -1 : 1;\n if (this.isNegative) {\n this.parts[this.parts.length - 1] = -1 * this.parts[this.parts.length - 1];\n }\n }\n\n /**\n * Return true if the Long Count is positive.\n * @return {boolean}\n */\n get isPositive() {\n return this.sign === 1;\n }\n\n /**\n * Return true if the Long Count is operating as a negative Distance Number.\n * @return {boolean}\n */\n get isNegative() {\n return this.sign === -1;\n }\n\n /**\n * Set this Long Count as being a Long Count or a positive Distance Number\n * @param {boolean} newPositive\n */\n set isPositive(newPositive) {\n this.sign = newPositive === true ? 1 : -1;\n }\n\n /**\n * Set this Long Count as being a negative Distance Number\n * @param newNegative\n */\n set isNegative(newNegative) {\n this.isPositive = !newNegative;\n }\n\n /**\n * Given two long count dates, check if they are equal\n * @param {DistanceNumber} other\n * @return {boolean}\n */\n equal(other) {\n return `${this}` === `${other}`;\n }\n\n /**\n * Create a copy object of this long count fullDate\n * @returns {DistanceNumber}\n */\n clone() {\n return new DistanceNumber(...this.parts);\n }\n\n /**\n * Get specific column in Long Count fullDate\n * @param {number} index\n * @returns {number}\n */\n getDateSections(index) {\n const part = this.parts[index];\n if (part === undefined) {\n return 0;\n }\n return part;\n }\n\n /**\n * Set specific column in Long Count fullDate\n * @param {number} index\n * @param {number|wildcard} newValue\n * @returns {DistanceNumber}\n */\n setDateSections(index, newValue) {\n this.parts[index] = (newValue !== wildcard) ? newValue : parseInt(newValue, 10);\n return this;\n }\n\n /**\n * Pass the map down to the parts\n * @param fn\n * @return {object[]}\n */\n map(fn) {\n return this.parts.map(fn);\n }\n\n /**\n * Compare if this LC is greater than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n */\n lt(newLongCount) {\n return this.getPosition() < newLongCount.getPosition();\n }\n\n /**\n * Compare is this LC is less than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n */\n gt(newLongCount) {\n return this.getPosition() > newLongCount.getPosition();\n }\n\n /**\n * Set the k'in component of the fullDate\n */\n set kIn(newKIn) {\n this.setDateSections(0, newKIn);\n }\n\n /**\n * Return the k'in component of the fullDate\n * @returns {number}\n */\n get kIn() {\n return this.getDateSections(0);\n }\n\n /**\n * Set the winal component of the fullDate\n */\n set winal(newWinal) {\n this.setDateSections(1, newWinal);\n }\n\n /**\n * Return the winal component of the fullDate\n * @returns {number}\n */\n get winal() {\n return this.getDateSections(1);\n }\n\n /**\n * Set the tun component of the fullDate\n */\n set tun(newTun) {\n this.setDateSections(2, newTun);\n }\n\n /**\n * Return the tun component of the fullDate\n * @returns {number}\n */\n get tun() {\n return this.getDateSections(2);\n }\n\n /**\n * Set the k'atun component of the fullDate\n */\n set kAtun(newKAtun) {\n this.setDateSections(3, newKAtun);\n }\n\n /**\n * Return the k'atun component of the fullDate\n * @returns {number}\n */\n get kAtun() {\n return this.getDateSections(3);\n }\n\n /**\n * Set the bak'tun component of the fullDate\n */\n set bakTun(newBakTun) {\n this.setDateSections(4, newBakTun);\n }\n\n /**\n * Return the bak'tun component of the fullDate\n * @returns {number}\n */\n get bakTun() {\n return this.getDateSections(4);\n }\n\n /**\n * Set the piktun component of the fullDate\n */\n set piktun(newBakTun) {\n this.setDateSections(5, newBakTun);\n }\n\n /**\n * Return the piktun component of the fullDate\n * @returns {number}\n */\n get piktun() {\n return this.getDateSections(5);\n }\n\n /**\n * Set the kalabtun component of the fullDate\n */\n set kalabtun(newBakTun) {\n this.setDateSections(6, newBakTun);\n }\n\n /**\n * Return the kalabtun component of the fullDate\n * @returns {number}\n */\n get kalabtun() {\n return this.getDateSections(6);\n }\n\n /**\n * Set the kinchiltun component of the fullDate\n */\n set kinchiltun(newBakTun) {\n this.setDateSections(7, newBakTun);\n }\n\n /**\n * Return the kinchiltun component of the fullDate\n * @returns {number}\n */\n get kinchiltun() {\n return this.getDateSections(7);\n }\n\n /**\n * Ensure the fullDate has only numbers and wildcards separated by points.\n * @returns {boolean}\n */\n isValid() {\n return this.date_pattern.test(this.toString());\n }\n\n /**\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n */\n isPartial() {\n return this.parts.some((part) => part === wildcard);\n }\n\n /**\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n */\n getPosition() {\n if (this.isPartial()) {\n throw new Error('Can not get position of fullDate dates');\n }\n return (this.kIn\n + this.winal * 20\n + this.tun * 360\n + this.kAtun * 7200\n + this.bakTun * 144000\n + this.piktun * 2880000\n + this.kalabtun * 57600000\n + this.kinchiltun * 1152000000) * this.sign;\n }\n\n /**\n * Return the sum of this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n */\n plus(newLc) {\n /* We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n */\n return new LongcountAddition(DistanceNumber, this, newLc);\n }\n\n /**\n * Return the difference between this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n */\n minus(newLc) {\n /* We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n */\n return new LongcountSubtraction(DistanceNumber, this, newLc);\n }\n\n /**\n * Make sure the elements of the Long Count do not exceed\n * @return {DistanceNumber}\n */\n normalise() {\n const totalKIn = this.getPosition();\n const norm = new DistanceNumber();\n norm.kIn = totalKIn % 20;\n // eslint-disable-next-line no-mixed-operators\n norm.winal = (totalKIn - norm.getPosition()) / 20 % 18;\n // eslint-disable-next-line no-mixed-operators\n norm.tun = (totalKIn - norm.getPosition()) / 360 % 20;\n // eslint-disable-next-line no-mixed-operators\n norm.kAtun = (totalKIn - norm.getPosition()) / 7200 % 20;\n // eslint-disable-next-line no-mixed-operators\n norm.bakTun = (totalKIn - norm.getPosition()) / 144000 % 20;\n // eslint-disable-next-line no-mixed-operators\n norm.piktun = (totalKIn - norm.getPosition()) / 2880000 % 20;\n // eslint-disable-next-line no-mixed-operators\n norm.kalabtun = (totalKIn - norm.getPosition()) / 57600000 % 20;\n // eslint-disable-next-line no-mixed-operators\n norm.kinchiltun = (totalKIn - norm.getPosition()) / 1152000000 % 20;\n this.parts = norm.parts;\n return this;\n }\n\n\n /**\n * Convert the LongCount to a string and pad the sections of the fullDate\n * @returns {string}\n */\n toString() {\n let significantDigits = [];\n for (let i = this.parts.length - 1; i >= 0; i -= 1) {\n const part = this.parts[i];\n if (part !== 0) {\n significantDigits = this.parts.slice(0, i + 1).reverse();\n break;\n }\n }\n\n for (let i = 0; i < significantDigits.length; i += 1) {\n if (significantDigits[i] === undefined) {\n significantDigits[i] = '0';\n }\n }\n\n const dateLength = significantDigits.length;\n if (dateLength < 5) {\n significantDigits = significantDigits.reverse();\n for (let i = 0; i < 5 - dateLength; i += 1) {\n significantDigits.push(' 0');\n }\n significantDigits = significantDigits.reverse();\n }\n\n for (let i = 0; i < significantDigits.length; i += 1) {\n const part = significantDigits[i].toString();\n if (part.length < 2) {\n significantDigits[i] = ` ${part}`;\n }\n }\n return significantDigits.join('.');\n }\n}\n\nmodule.exports = DistanceNumber;\n", + "content": "import wildcard from '../wildcard';\nimport LongcountAddition from '../operations/longcount-addition';\nimport LongcountSubtraction from '../operations/longcount-subtraction';\n\n/**\n * Long Count cycle\n */\nexport default class DistanceNumber {\n /**\n * @param {...number|Wildcard} cycles - Components in the long count\n * (eg, K'in, Winal, Bak'tun, etc)\n */\n constructor (...cycles) {\n /**\n * Date Components\n * @type {number[]|Wildcard[]}\n */\n this.parts = cycles\n\n /**\n * Pattern to validate the fullDate\n * @type {RegExp}\n */\n this.date_pattern = /([\\d*]+\\.?)+/\n\n /**\n * @private\n * @type {number}\n */\n this.sign = (this.parts[this.parts.length - 1] < 0) ? -1 : 1\n if (this.isNegative) {\n this.parts[this.parts.length - 1] = -1 *\n this.parts[this.parts.length - 1]\n }\n }\n\n /**\n * Return true if the Long Count is positive.\n * @return {boolean}\n */\n get isPositive () {\n return this.sign === 1\n }\n\n /**\n * Return true if the Long Count is operating as a negative Distance Number.\n * @return {boolean}\n */\n get isNegative () {\n return this.sign === -1\n }\n\n /**\n * Set this Long Count as being a Long Count or a positive Distance Number\n * @param {boolean} newPositive\n */\n set isPositive (newPositive) {\n this.sign = newPositive === true ? 1 : -1\n }\n\n /**\n * Set this Long Count as being a negative Distance Number\n * @param newNegative\n */\n set isNegative (newNegative) {\n this.isPositive = !newNegative\n }\n\n /**\n * Given two long count dates, check if they are equal\n * @param {DistanceNumber} other\n * @return {boolean}\n */\n equal (other) {\n return `${this}` === `${other}`\n }\n\n /**\n * Create a copy object of this long count fullDate\n * @returns {DistanceNumber}\n */\n clone () {\n return new DistanceNumber(...this.parts)\n }\n\n /**\n * Get specific column in Long Count fullDate\n * @param {number} index\n * @returns {number}\n */\n getDateSections (index) {\n const part = this.parts[index]\n if (part === undefined) {\n return 0\n }\n return part\n }\n\n /**\n * Set specific column in Long Count fullDate\n * @param {number} index\n * @param {number|wildcard} newValue\n * @returns {DistanceNumber}\n */\n setDateSections (index, newValue) {\n this.parts[index] = (newValue !== wildcard) ? newValue : parseInt(newValue,\n 10)\n return this\n }\n\n /**\n * Pass the map down to the parts\n * @param fn\n * @return {object[]}\n */\n map (fn) {\n return this.parts.map(fn)\n }\n\n /**\n * Compare if this LC is greater than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n */\n lt (newLongCount) {\n return this.getPosition() < newLongCount.getPosition()\n }\n\n /**\n * Compare is this LC is less than the supplied LC.\n * @param {DistanceNumber} newLongCount\n * @return {boolean}\n */\n gt (newLongCount) {\n return this.getPosition() > newLongCount.getPosition()\n }\n\n /**\n * Set the k'in component of the fullDate\n */\n set kIn (newKIn) {\n this.setDateSections(0, newKIn)\n }\n\n /**\n * Return the k'in component of the fullDate\n * @returns {number}\n */\n get kIn () {\n return this.getDateSections(0)\n }\n\n /**\n * Set the winal component of the fullDate\n */\n set winal (newWinal) {\n this.setDateSections(1, newWinal)\n }\n\n /**\n * Return the winal component of the fullDate\n * @returns {number}\n */\n get winal () {\n return this.getDateSections(1)\n }\n\n /**\n * Set the tun component of the fullDate\n */\n set tun (newTun) {\n this.setDateSections(2, newTun)\n }\n\n /**\n * Return the tun component of the fullDate\n * @returns {number}\n */\n get tun () {\n return this.getDateSections(2)\n }\n\n /**\n * Set the k'atun component of the fullDate\n */\n set kAtun (newKAtun) {\n this.setDateSections(3, newKAtun)\n }\n\n /**\n * Return the k'atun component of the fullDate\n * @returns {number}\n */\n get kAtun () {\n return this.getDateSections(3)\n }\n\n /**\n * Set the bak'tun component of the fullDate\n */\n set bakTun (newBakTun) {\n this.setDateSections(4, newBakTun)\n }\n\n /**\n * Return the bak'tun component of the fullDate\n * @returns {number}\n */\n get bakTun () {\n return this.getDateSections(4)\n }\n\n /**\n * Set the piktun component of the fullDate\n */\n set piktun (newBakTun) {\n this.setDateSections(5, newBakTun)\n }\n\n /**\n * Return the piktun component of the fullDate\n * @returns {number}\n */\n get piktun () {\n return this.getDateSections(5)\n }\n\n /**\n * Set the kalabtun component of the fullDate\n */\n set kalabtun (newBakTun) {\n this.setDateSections(6, newBakTun)\n }\n\n /**\n * Return the kalabtun component of the fullDate\n * @returns {number}\n */\n get kalabtun () {\n return this.getDateSections(6)\n }\n\n /**\n * Set the kinchiltun component of the fullDate\n */\n set kinchiltun (newBakTun) {\n this.setDateSections(7, newBakTun)\n }\n\n /**\n * Return the kinchiltun component of the fullDate\n * @returns {number}\n */\n get kinchiltun () {\n return this.getDateSections(7)\n }\n\n /**\n * Ensure the fullDate has only numbers and wildcards separated by points.\n * @returns {boolean}\n */\n isValid () {\n return this.date_pattern.test(this.toString())\n }\n\n /**\n * Returns true if any of the positions in the Long Count have been assigned\n * a {Wildcard} object.\n * @return {boolean}\n */\n isPartial () {\n return this.parts.some((part) => part === wildcard)\n }\n\n /**\n * Count the number of days since 0.0.0.0.0 for this LC.\n * @return {number}\n */\n getPosition () {\n if (this.isPartial()) {\n throw new Error('Can not get position of fullDate dates')\n }\n return (this.kIn\n + this.winal * 20\n + this.tun * 360\n + this.kAtun * 7200\n + this.bakTun * 144000\n + this.piktun * 2880000\n + this.kalabtun * 57600000\n + this.kinchiltun * 1152000000) * this.sign\n }\n\n /**\n * Return the sum of this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n */\n plus (newLc) {\n /* We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n */\n return new LongcountAddition(DistanceNumber, this, newLc)\n }\n\n /**\n * Return the difference between this Long Count and the supplied\n * @param {DistanceNumber} newLc\n * @return {LongcountAddition}\n */\n minus (newLc) {\n /* We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n */\n return new LongcountSubtraction(DistanceNumber, this, newLc)\n }\n\n /**\n * Make sure the elements of the Long Count do not exceed\n * @return {DistanceNumber}\n */\n normalise () {\n const totalKIn = this.getPosition()\n const norm = new DistanceNumber()\n norm.kIn = totalKIn % 20\n // eslint-disable-next-line no-mixed-operators\n norm.winal = (totalKIn - norm.getPosition()) / 20 % 18\n // eslint-disable-next-line no-mixed-operators\n norm.tun = (totalKIn - norm.getPosition()) / 360 % 20\n // eslint-disable-next-line no-mixed-operators\n norm.kAtun = (totalKIn - norm.getPosition()) / 7200 % 20\n // eslint-disable-next-line no-mixed-operators\n norm.bakTun = (totalKIn - norm.getPosition()) / 144000 % 20\n // eslint-disable-next-line no-mixed-operators\n norm.piktun = (totalKIn - norm.getPosition()) / 2880000 % 20\n // eslint-disable-next-line no-mixed-operators\n norm.kalabtun = (totalKIn - norm.getPosition()) / 57600000 % 20\n // eslint-disable-next-line no-mixed-operators\n norm.kinchiltun = (totalKIn - norm.getPosition()) / 1152000000 % 20\n const foundNegative = norm.parts.reduce(\n (found, part) => found || (part < 0),\n false,\n )\n this.sign = foundNegative ? -1 : 1\n this.parts = norm.parts.map((part) => Math.abs(part))\n return this\n }\n\n /**\n * Convert the LongCount to a string and pad the sections of the fullDate\n * @returns {string}\n */\n toString () {\n let significantDigits = []\n for (let i = this.parts.length - 1; i >= 0; i -= 1) {\n const part = this.parts[i]\n if (part !== 0) {\n significantDigits = this.parts.slice(0, i + 1).reverse()\n break\n }\n }\n\n for (let i = 0; i < significantDigits.length; i += 1) {\n if (significantDigits[i] === undefined) {\n significantDigits[i] = '0'\n }\n }\n\n const dateLength = significantDigits.length\n if (dateLength < 5) {\n significantDigits = significantDigits.reverse()\n for (let i = 0; i < 5 - dateLength; i += 1) {\n significantDigits.push(' 0')\n }\n significantDigits = significantDigits.reverse()\n }\n\n for (let i = 0; i < significantDigits.length; i += 1) {\n const part = significantDigits[i].toString()\n if (part.length < 2) {\n significantDigits[i] = ` ${part}`\n }\n }\n return `${this.sign === -1 ? '-' : ''}${significantDigits.join('.')}`\n }\n}\n", "static": true, - "longname": "/home/drews/Development/maya-dates/src/lc/distance-number.js", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/lc/distance-number.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 185, - "kind": "variable", - "name": "moonbeams", - "memberof": "src/lc/distance-number.js", - "static": true, - "longname": "src/lc/distance-number.js~moonbeams", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/distance-number.js", - "importStyle": null, - "description": null, - "lineNumber": 2, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 186, - "kind": "variable", - "name": "wildcard", - "memberof": "src/lc/distance-number.js", - "static": true, - "longname": "src/lc/distance-number.js~wildcard", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/distance-number.js", - "importStyle": null, - "description": null, - "lineNumber": 4, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 187, - "kind": "variable", - "name": "LongcountAddition", - "memberof": "src/lc/distance-number.js", - "static": true, - "longname": "src/lc/distance-number.js~LongcountAddition", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/distance-number.js", - "importStyle": null, - "description": null, - "lineNumber": 6, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 188, - "kind": "variable", - "name": "LongcountSubtraction", - "memberof": "src/lc/distance-number.js", - "static": true, - "longname": "src/lc/distance-number.js~LongcountSubtraction", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/distance-number.js", - "importStyle": null, - "description": null, - "lineNumber": 8, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 189, + "__docId__": 157, "kind": "class", "name": "DistanceNumber", "memberof": "src/lc/distance-number.js", "static": true, "longname": "src/lc/distance-number.js~DistanceNumber", "access": "public", - "export": false, + "export": true, "importPath": "@drewsonne/maya-dates/src/lc/distance-number.js", - "importStyle": null, + "importStyle": "DistanceNumber", "description": "Long Count cycle", - "lineNumber": 13, + "lineNumber": 8, "interface": false }, { - "__docId__": 190, + "__docId__": 158, "kind": "constructor", "name": "constructor", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -3758,7 +3118,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#constructor", "access": "public", "description": "", - "lineNumber": 18, + "lineNumber": 13, "params": [ { "nullable": null, @@ -3774,7 +3134,7 @@ ] }, { - "__docId__": 191, + "__docId__": 159, "kind": "member", "name": "parts", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -3782,7 +3142,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#parts", "access": "public", "description": "Date Components", - "lineNumber": 23, + "lineNumber": 18, "type": { "nullable": null, "types": [ @@ -3794,7 +3154,7 @@ } }, { - "__docId__": 192, + "__docId__": 160, "kind": "member", "name": "date_pattern", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -3802,7 +3162,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#date_pattern", "access": "public", "description": "Pattern to validate the fullDate", - "lineNumber": 29, + "lineNumber": 24, "type": { "nullable": null, "types": [ @@ -3813,7 +3173,7 @@ } }, { - "__docId__": 193, + "__docId__": 161, "kind": "member", "name": "sign", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -3821,7 +3181,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#sign", "access": "private", "description": "", - "lineNumber": 35, + "lineNumber": 30, "type": { "nullable": null, "types": [ @@ -3832,7 +3192,7 @@ } }, { - "__docId__": 194, + "__docId__": 162, "kind": "get", "name": "isPositive", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -3842,7 +3202,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#isPositive", "access": "public", "description": "Return true if the Long Count is positive.", - "lineNumber": 45, + "lineNumber": 41, "return": { "nullable": null, "types": [ @@ -3858,7 +3218,7 @@ } }, { - "__docId__": 195, + "__docId__": 163, "kind": "get", "name": "isNegative", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -3868,7 +3228,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#isNegative", "access": "public", "description": "Return true if the Long Count is operating as a negative Distance Number.", - "lineNumber": 53, + "lineNumber": 49, "return": { "nullable": null, "types": [ @@ -3884,7 +3244,7 @@ } }, { - "__docId__": 196, + "__docId__": 164, "kind": "set", "name": "isPositive", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -3894,7 +3254,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#isPositive", "access": "public", "description": "Set this Long Count as being a Long Count or a positive Distance Number", - "lineNumber": 61, + "lineNumber": 57, "params": [ { "nullable": null, @@ -3909,7 +3269,7 @@ ] }, { - "__docId__": 198, + "__docId__": 166, "kind": "set", "name": "isNegative", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -3919,7 +3279,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#isNegative", "access": "public", "description": "Set this Long Count as being a negative Distance Number", - "lineNumber": 69, + "lineNumber": 65, "params": [ { "nullable": null, @@ -3934,7 +3294,7 @@ ] }, { - "__docId__": 200, + "__docId__": 168, "kind": "method", "name": "equal", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -3944,7 +3304,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#equal", "access": "public", "description": "Given two long count dates, check if they are equal", - "lineNumber": 78, + "lineNumber": 74, "params": [ { "nullable": null, @@ -3967,7 +3327,7 @@ } }, { - "__docId__": 201, + "__docId__": 169, "kind": "method", "name": "clone", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -3977,7 +3337,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#clone", "access": "public", "description": "Create a copy object of this long count fullDate", - "lineNumber": 86, + "lineNumber": 82, "unknown": [ { "tagName": "@returns", @@ -3995,7 +3355,7 @@ "params": [] }, { - "__docId__": 202, + "__docId__": 170, "kind": "method", "name": "getDateSections", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -4005,7 +3365,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#getDateSections", "access": "public", "description": "Get specific column in Long Count fullDate", - "lineNumber": 95, + "lineNumber": 91, "unknown": [ { "tagName": "@returns", @@ -4034,7 +3394,7 @@ } }, { - "__docId__": 203, + "__docId__": 171, "kind": "method", "name": "setDateSections", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -4044,7 +3404,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#setDateSections", "access": "public", "description": "Set specific column in Long Count fullDate", - "lineNumber": 109, + "lineNumber": 105, "unknown": [ { "tagName": "@returns", @@ -4084,7 +3444,7 @@ } }, { - "__docId__": 204, + "__docId__": 172, "kind": "method", "name": "map", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -4094,7 +3454,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#map", "access": "public", "description": "Pass the map down to the parts", - "lineNumber": 119, + "lineNumber": 116, "params": [ { "nullable": null, @@ -4117,7 +3477,7 @@ } }, { - "__docId__": 205, + "__docId__": 173, "kind": "method", "name": "lt", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -4127,7 +3487,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#lt", "access": "public", "description": "Compare if this LC is greater than the supplied LC.", - "lineNumber": 128, + "lineNumber": 125, "params": [ { "nullable": null, @@ -4150,7 +3510,7 @@ } }, { - "__docId__": 206, + "__docId__": 174, "kind": "method", "name": "gt", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -4160,7 +3520,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#gt", "access": "public", "description": "Compare is this LC is less than the supplied LC.", - "lineNumber": 137, + "lineNumber": 134, "params": [ { "nullable": null, @@ -4183,7 +3543,7 @@ } }, { - "__docId__": 207, + "__docId__": 175, "kind": "set", "name": "kIn", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -4193,10 +3553,10 @@ "longname": "src/lc/distance-number.js~DistanceNumber#kIn", "access": "public", "description": "Set the k'in component of the fullDate", - "lineNumber": 144 + "lineNumber": 141 }, { - "__docId__": 208, + "__docId__": 176, "kind": "get", "name": "kIn", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -4206,7 +3566,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#kIn", "access": "public", "description": "Return the k'in component of the fullDate", - "lineNumber": 152, + "lineNumber": 149, "unknown": [ { "tagName": "@returns", @@ -4228,7 +3588,7 @@ } }, { - "__docId__": 209, + "__docId__": 177, "kind": "set", "name": "winal", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -4238,10 +3598,10 @@ "longname": "src/lc/distance-number.js~DistanceNumber#winal", "access": "public", "description": "Set the winal component of the fullDate", - "lineNumber": 159 + "lineNumber": 156 }, { - "__docId__": 210, + "__docId__": 178, "kind": "get", "name": "winal", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -4251,7 +3611,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#winal", "access": "public", "description": "Return the winal component of the fullDate", - "lineNumber": 167, + "lineNumber": 164, "unknown": [ { "tagName": "@returns", @@ -4273,7 +3633,7 @@ } }, { - "__docId__": 211, + "__docId__": 179, "kind": "set", "name": "tun", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -4283,10 +3643,10 @@ "longname": "src/lc/distance-number.js~DistanceNumber#tun", "access": "public", "description": "Set the tun component of the fullDate", - "lineNumber": 174 + "lineNumber": 171 }, { - "__docId__": 212, + "__docId__": 180, "kind": "get", "name": "tun", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -4296,7 +3656,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#tun", "access": "public", "description": "Return the tun component of the fullDate", - "lineNumber": 182, + "lineNumber": 179, "unknown": [ { "tagName": "@returns", @@ -4318,7 +3678,7 @@ } }, { - "__docId__": 213, + "__docId__": 181, "kind": "set", "name": "kAtun", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -4328,10 +3688,10 @@ "longname": "src/lc/distance-number.js~DistanceNumber#kAtun", "access": "public", "description": "Set the k'atun component of the fullDate", - "lineNumber": 189 + "lineNumber": 186 }, { - "__docId__": 214, + "__docId__": 182, "kind": "get", "name": "kAtun", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -4341,7 +3701,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#kAtun", "access": "public", "description": "Return the k'atun component of the fullDate", - "lineNumber": 197, + "lineNumber": 194, "unknown": [ { "tagName": "@returns", @@ -4363,7 +3723,7 @@ } }, { - "__docId__": 215, + "__docId__": 183, "kind": "set", "name": "bakTun", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -4373,10 +3733,10 @@ "longname": "src/lc/distance-number.js~DistanceNumber#bakTun", "access": "public", "description": "Set the bak'tun component of the fullDate", - "lineNumber": 204 + "lineNumber": 201 }, { - "__docId__": 216, + "__docId__": 184, "kind": "get", "name": "bakTun", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -4386,7 +3746,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#bakTun", "access": "public", "description": "Return the bak'tun component of the fullDate", - "lineNumber": 212, + "lineNumber": 209, "unknown": [ { "tagName": "@returns", @@ -4408,7 +3768,7 @@ } }, { - "__docId__": 217, + "__docId__": 185, "kind": "set", "name": "piktun", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -4418,10 +3778,10 @@ "longname": "src/lc/distance-number.js~DistanceNumber#piktun", "access": "public", "description": "Set the piktun component of the fullDate", - "lineNumber": 219 + "lineNumber": 216 }, { - "__docId__": 218, + "__docId__": 186, "kind": "get", "name": "piktun", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -4431,7 +3791,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#piktun", "access": "public", "description": "Return the piktun component of the fullDate", - "lineNumber": 227, + "lineNumber": 224, "unknown": [ { "tagName": "@returns", @@ -4453,7 +3813,7 @@ } }, { - "__docId__": 219, + "__docId__": 187, "kind": "set", "name": "kalabtun", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -4463,10 +3823,10 @@ "longname": "src/lc/distance-number.js~DistanceNumber#kalabtun", "access": "public", "description": "Set the kalabtun component of the fullDate", - "lineNumber": 234 + "lineNumber": 231 }, { - "__docId__": 220, + "__docId__": 188, "kind": "get", "name": "kalabtun", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -4476,7 +3836,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#kalabtun", "access": "public", "description": "Return the kalabtun component of the fullDate", - "lineNumber": 242, + "lineNumber": 239, "unknown": [ { "tagName": "@returns", @@ -4498,7 +3858,7 @@ } }, { - "__docId__": 221, + "__docId__": 189, "kind": "set", "name": "kinchiltun", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -4508,10 +3868,10 @@ "longname": "src/lc/distance-number.js~DistanceNumber#kinchiltun", "access": "public", "description": "Set the kinchiltun component of the fullDate", - "lineNumber": 249 + "lineNumber": 246 }, { - "__docId__": 222, + "__docId__": 190, "kind": "get", "name": "kinchiltun", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -4521,7 +3881,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#kinchiltun", "access": "public", "description": "Return the kinchiltun component of the fullDate", - "lineNumber": 257, + "lineNumber": 254, "unknown": [ { "tagName": "@returns", @@ -4543,7 +3903,7 @@ } }, { - "__docId__": 223, + "__docId__": 191, "kind": "method", "name": "isValid", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -4553,7 +3913,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#isValid", "access": "public", "description": "Ensure the fullDate has only numbers and wildcards separated by points.", - "lineNumber": 265, + "lineNumber": 262, "unknown": [ { "tagName": "@returns", @@ -4571,7 +3931,7 @@ "params": [] }, { - "__docId__": 224, + "__docId__": 192, "kind": "method", "name": "isPartial", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -4581,7 +3941,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#isPartial", "access": "public", "description": "Returns true if any of the positions in the Long Count have been assigned\na {Wildcard} object.", - "lineNumber": 274, + "lineNumber": 271, "return": { "nullable": null, "types": [ @@ -4593,7 +3953,7 @@ "params": [] }, { - "__docId__": 225, + "__docId__": 193, "kind": "method", "name": "getPosition", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -4603,7 +3963,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#getPosition", "access": "public", "description": "Count the number of days since 0.0.0.0.0 for this LC.", - "lineNumber": 282, + "lineNumber": 279, "return": { "nullable": null, "types": [ @@ -4615,7 +3975,7 @@ "params": [] }, { - "__docId__": 226, + "__docId__": 194, "kind": "method", "name": "plus", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -4625,7 +3985,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#plus", "access": "public", "description": "Return the sum of this Long Count and the supplied", - "lineNumber": 301, + "lineNumber": 298, "params": [ { "nullable": null, @@ -4648,7 +4008,7 @@ } }, { - "__docId__": 227, + "__docId__": 195, "kind": "method", "name": "minus", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -4658,7 +4018,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#minus", "access": "public", "description": "Return the difference between this Long Count and the supplied", - "lineNumber": 313, + "lineNumber": 310, "params": [ { "nullable": null, @@ -4681,7 +4041,7 @@ } }, { - "__docId__": 228, + "__docId__": 196, "kind": "method", "name": "normalise", "memberof": "src/lc/distance-number.js~DistanceNumber", @@ -4691,7 +4051,7 @@ "longname": "src/lc/distance-number.js~DistanceNumber#normalise", "access": "public", "description": "Make sure the elements of the Long Count do not exceed", - "lineNumber": 324, + "lineNumber": 321, "return": { "nullable": null, "types": [ @@ -4703,375 +4063,75 @@ "params": [] }, { - "__docId__": 230, - "kind": "method", - "name": "toString", - "memberof": "src/lc/distance-number.js~DistanceNumber", - "generator": false, - "async": false, - "static": false, - "longname": "src/lc/distance-number.js~DistanceNumber#toString", - "access": "public", - "description": "Convert the LongCount to a string and pad the sections of the fullDate", - "lineNumber": 351, - "unknown": [ - { - "tagName": "@returns", - "tagValue": "{string}" - } - ], - "return": { - "nullable": null, - "types": [ - "string" - ], - "spread": false, - "description": "" - }, - "params": [] - }, - { - "__docId__": 231, - "kind": "file", - "name": "src/lc/index.js", - "content": "/** @ignore */\nconst LongCount = require('./long-count');\n/** @ignore */\nconst LordOfNight = require('./night/lord-of-night');\n/** @ignore */\nconst western = require('./western/index');\n/** @ignore */\nconst DistanceNumber = require('./distance-number');\n\nmodule.exports = {\n DistanceNumber,\n LongCount,\n night: LordOfNight,\n western,\n};\n", - "static": true, - "longname": "/home/drews/Development/maya-dates/src/lc/index.js", - "access": "public", - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 232, - "kind": "variable", - "name": "LongCount", - "memberof": "src/lc/index.js", - "static": true, - "longname": "src/lc/index.js~LongCount", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/index.js", - "importStyle": null, - "description": null, - "lineNumber": 2, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 233, - "kind": "variable", - "name": "LordOfNight", - "memberof": "src/lc/index.js", - "static": true, - "longname": "src/lc/index.js~LordOfNight", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/index.js", - "importStyle": null, - "description": null, - "lineNumber": 4, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 234, - "kind": "variable", - "name": "western", - "memberof": "src/lc/index.js", - "static": true, - "longname": "src/lc/index.js~western", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/index.js", - "importStyle": null, - "description": null, - "lineNumber": 6, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 235, - "kind": "variable", - "name": "DistanceNumber", - "memberof": "src/lc/index.js", - "static": true, - "longname": "src/lc/index.js~DistanceNumber", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/index.js", - "importStyle": null, - "description": null, - "lineNumber": 8, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 236, - "kind": "file", - "name": "src/lc/long-count.js", - "content": "/** @ignore */\nconst moonbeams = require('moonbeams');\n/** @ignore */\nconst wildcard = require('../wildcard');\n/** @ignore */\nconst {origin} = require('../cr/calendar-round');\n/** @ignore */\nconst FullDate = require('../full-date');\n/** @ignore */\nconst night = require('./night/lord-of-night');\n/** @ignore */\nconst LongcountAddition = require('../operations/longcount-addition');\n/** @ignore */\nconst LongcountSubtraction = require('../operations/longcount-subtraction');\n/** @ignore */\nconst getCorrelationConstant = require('./correlation-constant');\n/** @ignore */\nconst GregorianCalendarDate = require('./western/gregorian');\n/** @ignore */\nconst JulianCalendarDate = require('./western/julian');\n/** @ignore */\nconst DistanceNumber = require('./distance-number');\n\n/**\n * Long Count cycle\n */\nclass LongCount extends DistanceNumber {\n /**\n * @param {...number|Wildcard} cycles - Components in the long count\n * (eg, K'in, Winal, Bak'tun, etc)\n */\n constructor(...cycles) {\n super(...cycles);\n /**\n * Correlation constant to allow alignment with western calendars\n * @type {CorrelationConstant}\n */\n this.correlationConstant = getCorrelationConstant(584283);\n }\n\n /**\n * Chainable method to set the correlation constant\n * @param {CorrelationConstant} newConstant\n * @return {LongCount}\n */\n setCorrelationConstant(newConstant) {\n this.correlationConstant = newConstant;\n return this;\n }\n\n /**\n * Return a representation of this Long Count in Julian Days.\n * @return {number}\n */\n get julianDay() {\n return this.correlationConstant.value + this.getPosition();\n }\n\n /**\n * Return a Gregorian representation of this long count date, offset by the correlation constant.\n * @return {GregorianCalendarDate}\n */\n get gregorian() {\n return new GregorianCalendarDate(this.julianDay);\n }\n\n /**\n * Return a Julian representation of this long count date, offset by the correlation constant.\n * @return {JulianCalendarDate}\n */\n get julian() {\n return new JulianCalendarDate(this.julianDay);\n }\n\n /**\n * Create a copy object of this long count fullDate\n * @returns {LongCount}\n */\n clone() {\n return new LongCount(...this.parts);\n }\n\n /**\n *\n * @return {LordOfNight}\n */\n get lordOfNight() {\n return night.get(\n `G${((this.getPosition() - 1) % 9) + 1}`\n );\n }\n\n /**\n *\n * @return {CalendarRound}\n */\n buildCalendarRound() {\n return origin.shift(\n this.getPosition()\n );\n }\n\n /**\n *\n * @return {FullDate}\n */\n buildFullDate() {\n return new FullDate(\n this.buildCalendarRound(),\n this.clone()\n );\n }\n\n /**\n * Return the sum of this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n */\n plus(newLc) {\n /* We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n */\n return new LongcountAddition(LongCount, this, newLc);\n }\n\n /**\n * Return the difference between this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n */\n minus(newLc) {\n /* We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n */\n return new LongcountSubtraction(LongCount, this, newLc);\n }\n\n /**\n * Return this Long Count as a Distance Number\n * @return {DistanceNumber}\n */\n asDistanceNumber() {\n return new DistanceNumber(...this.parts);\n }\n}\n\nmodule.exports = LongCount;\n", - "static": true, - "longname": "/home/drews/Development/maya-dates/src/lc/long-count.js", - "access": "public", - "description": null, - "lineNumber": 1 - }, - { - "__docId__": 237, - "kind": "variable", - "name": "moonbeams", - "memberof": "src/lc/long-count.js", - "static": true, - "longname": "src/lc/long-count.js~moonbeams", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", - "importStyle": null, - "description": null, - "lineNumber": 2, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 238, - "kind": "variable", - "name": "wildcard", - "memberof": "src/lc/long-count.js", - "static": true, - "longname": "src/lc/long-count.js~wildcard", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", - "importStyle": null, - "description": null, - "lineNumber": 4, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 239, - "kind": "variable", - "name": "origin", - "memberof": "src/lc/long-count.js", - "static": true, - "longname": "src/lc/long-count.js~origin", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", - "importStyle": null, - "description": null, - "lineNumber": 6, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 240, - "kind": "variable", - "name": "FullDate", - "memberof": "src/lc/long-count.js", - "static": true, - "longname": "src/lc/long-count.js~FullDate", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", - "importStyle": null, - "description": null, - "lineNumber": 8, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 241, - "kind": "variable", - "name": "night", - "memberof": "src/lc/long-count.js", - "static": true, - "longname": "src/lc/long-count.js~night", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", - "importStyle": null, - "description": null, - "lineNumber": 10, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 242, - "kind": "variable", - "name": "LongcountAddition", - "memberof": "src/lc/long-count.js", - "static": true, - "longname": "src/lc/long-count.js~LongcountAddition", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", - "importStyle": null, - "description": null, - "lineNumber": 12, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 243, - "kind": "variable", - "name": "LongcountSubtraction", - "memberof": "src/lc/long-count.js", - "static": true, - "longname": "src/lc/long-count.js~LongcountSubtraction", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", - "importStyle": null, - "description": null, - "lineNumber": 14, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 244, - "kind": "variable", - "name": "getCorrelationConstant", - "memberof": "src/lc/long-count.js", - "static": true, - "longname": "src/lc/long-count.js~getCorrelationConstant", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", - "importStyle": null, - "description": null, - "lineNumber": 16, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 245, - "kind": "variable", - "name": "GregorianCalendarDate", - "memberof": "src/lc/long-count.js", - "static": true, - "longname": "src/lc/long-count.js~GregorianCalendarDate", + "__docId__": 199, + "kind": "method", + "name": "toString", + "memberof": "src/lc/distance-number.js~DistanceNumber", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/distance-number.js~DistanceNumber#toString", "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", - "importStyle": null, - "description": null, - "lineNumber": 18, - "ignore": true, - "type": { + "description": "Convert the LongCount to a string and pad the sections of the fullDate", + "lineNumber": 352, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{string}" + } + ], + "return": { + "nullable": null, "types": [ - "*" - ] - } + "string" + ], + "spread": false, + "description": "" + }, + "params": [] }, { - "__docId__": 246, - "kind": "variable", - "name": "JulianCalendarDate", - "memberof": "src/lc/long-count.js", + "__docId__": 200, + "kind": "file", + "name": "src/lc/index.js", + "content": "import LongCount from './long-count';\nimport LordOfNight from './night/lord-of-night';\nimport western from './western/western';\nimport DistanceNumber from './distance-number';\nimport getCorrelationConstant from './correlation-constant';\n\nexport default {\n DistanceNumber,\n LongCount,\n night: LordOfNight,\n western,\n getCorrelationConstant\n};\n", "static": true, - "longname": "src/lc/long-count.js~JulianCalendarDate", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/lc/index.js", "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", - "importStyle": null, "description": null, - "lineNumber": 20, - "ignore": true, - "type": { - "types": [ - "*" - ] - } + "lineNumber": 1 }, { - "__docId__": 247, - "kind": "variable", - "name": "DistanceNumber", - "memberof": "src/lc/long-count.js", + "__docId__": 201, + "kind": "file", + "name": "src/lc/long-count.js", + "content": "import cr from '../cr/calendar-round';\nimport FullDate from '../full-date';\nimport night from './night/lord-of-night';\nimport LongcountAddition from '../operations/longcount-addition';\nimport LongcountSubtraction from '../operations/longcount-subtraction';\nimport getCorrelationConstant from './correlation-constant';\nimport GregorianCalendarDate from './western/gregorian';\nimport JulianCalendarDate from './western/julian';\nimport DistanceNumber from './distance-number';\n\n/**\n * Long Count cycle\n */\nexport default class LongCount extends DistanceNumber {\n /**\n * @param {...number|Wildcard} cycles - Components in the long count\n * (eg, K'in, Winal, Bak'tun, etc)\n */\n constructor(...cycles) {\n super(...cycles);\n /**\n * Correlation constant to allow alignment with western calendars\n * @type {CorrelationConstant}\n */\n this.correlationConstant = getCorrelationConstant(584283);\n }\n\n /**\n * Chainable method to set the correlation constant\n * @param {CorrelationConstant} newConstant\n * @return {LongCount}\n */\n setCorrelationConstant(newConstant) {\n this.correlationConstant = newConstant;\n return this;\n }\n\n /**\n * Return a representation of this Long Count in Julian Days.\n * @return {number}\n */\n get julianDay() {\n return this.correlationConstant.value + this.getPosition();\n }\n\n /**\n * Return a Gregorian representation of this long count date, offset by the correlation constant.\n * @return {GregorianCalendarDate}\n */\n get gregorian() {\n return new GregorianCalendarDate(this.julianDay);\n }\n\n /**\n * Return a Julian representation of this long count date, offset by the correlation constant.\n * @return {JulianCalendarDate}\n */\n get julian() {\n return new JulianCalendarDate(this.julianDay);\n }\n\n /**\n * Create a copy object of this long count fullDate\n * @returns {LongCount}\n */\n clone() {\n return new LongCount(...this.parts);\n }\n\n /**\n *\n * @return {LordOfNight}\n */\n get lordOfNight() {\n return night.get(\n `G${((this.getPosition() - 1) % 9) + 1}`\n );\n }\n\n /**\n *\n * @return {CalendarRound}\n */\n buildCalendarRound() {\n return cr.origin.shift(\n this.getPosition()\n );\n }\n\n /**\n *\n * @return {FullDate}\n */\n buildFullDate() {\n return new FullDate(\n this.buildCalendarRound(),\n this.clone()\n );\n }\n\n /**\n * Return the sum of this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n */\n plus(newLc) {\n /* We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n */\n return new LongcountAddition(LongCount, this, newLc);\n }\n\n /**\n * Return the difference between this Long Count and the supplied\n * @param {LongCount} newLc\n * @return {LongcountAddition}\n */\n minus(newLc) {\n /* We pass the LongCount class in, as to require this in the operation\n * will create a circular dependency.\n */\n return new LongcountSubtraction(LongCount, this, newLc);\n }\n\n /**\n * Return this Long Count as a Distance Number\n * @return {DistanceNumber}\n */\n asDistanceNumber() {\n return new DistanceNumber(...this.parts);\n }\n}\n", "static": true, - "longname": "src/lc/long-count.js~DistanceNumber", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/lc/long-count.js", "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", - "importStyle": null, "description": null, - "lineNumber": 22, - "ignore": true, - "type": { - "types": [ - "*" - ] - } + "lineNumber": 1 }, { - "__docId__": 248, + "__docId__": 202, "kind": "class", "name": "LongCount", "memberof": "src/lc/long-count.js", "static": true, "longname": "src/lc/long-count.js~LongCount", "access": "public", - "export": false, + "export": true, "importPath": "@drewsonne/maya-dates/src/lc/long-count.js", - "importStyle": null, + "importStyle": "LongCount", "description": "Long Count cycle", - "lineNumber": 27, + "lineNumber": 14, "interface": false, "extends": [ - "DistanceNumber" + "src/lc/distance-number.js~DistanceNumber" ] }, { - "__docId__": 249, + "__docId__": 203, "kind": "constructor", "name": "constructor", "memberof": "src/lc/long-count.js~LongCount", @@ -5081,7 +4141,7 @@ "longname": "src/lc/long-count.js~LongCount#constructor", "access": "public", "description": "", - "lineNumber": 32, + "lineNumber": 19, "params": [ { "nullable": null, @@ -5097,7 +4157,7 @@ ] }, { - "__docId__": 250, + "__docId__": 204, "kind": "member", "name": "correlationConstant", "memberof": "src/lc/long-count.js~LongCount", @@ -5105,7 +4165,7 @@ "longname": "src/lc/long-count.js~LongCount#correlationConstant", "access": "public", "description": "Correlation constant to allow alignment with western calendars", - "lineNumber": 38, + "lineNumber": 25, "type": { "nullable": null, "types": [ @@ -5116,7 +4176,7 @@ } }, { - "__docId__": 251, + "__docId__": 205, "kind": "method", "name": "setCorrelationConstant", "memberof": "src/lc/long-count.js~LongCount", @@ -5126,7 +4186,7 @@ "longname": "src/lc/long-count.js~LongCount#setCorrelationConstant", "access": "public", "description": "Chainable method to set the correlation constant", - "lineNumber": 46, + "lineNumber": 33, "params": [ { "nullable": null, @@ -5149,7 +4209,7 @@ } }, { - "__docId__": 253, + "__docId__": 207, "kind": "get", "name": "julianDay", "memberof": "src/lc/long-count.js~LongCount", @@ -5159,7 +4219,7 @@ "longname": "src/lc/long-count.js~LongCount#julianDay", "access": "public", "description": "Return a representation of this Long Count in Julian Days.", - "lineNumber": 55, + "lineNumber": 42, "return": { "nullable": null, "types": [ @@ -5175,7 +4235,7 @@ } }, { - "__docId__": 254, + "__docId__": 208, "kind": "get", "name": "gregorian", "memberof": "src/lc/long-count.js~LongCount", @@ -5185,7 +4245,7 @@ "longname": "src/lc/long-count.js~LongCount#gregorian", "access": "public", "description": "Return a Gregorian representation of this long count date, offset by the correlation constant.", - "lineNumber": 63, + "lineNumber": 50, "return": { "nullable": null, "types": [ @@ -5201,7 +4261,7 @@ } }, { - "__docId__": 255, + "__docId__": 209, "kind": "get", "name": "julian", "memberof": "src/lc/long-count.js~LongCount", @@ -5211,7 +4271,7 @@ "longname": "src/lc/long-count.js~LongCount#julian", "access": "public", "description": "Return a Julian representation of this long count date, offset by the correlation constant.", - "lineNumber": 71, + "lineNumber": 58, "return": { "nullable": null, "types": [ @@ -5227,7 +4287,7 @@ } }, { - "__docId__": 256, + "__docId__": 210, "kind": "method", "name": "clone", "memberof": "src/lc/long-count.js~LongCount", @@ -5237,7 +4297,7 @@ "longname": "src/lc/long-count.js~LongCount#clone", "access": "public", "description": "Create a copy object of this long count fullDate", - "lineNumber": 79, + "lineNumber": 66, "unknown": [ { "tagName": "@returns", @@ -5255,7 +4315,7 @@ "params": [] }, { - "__docId__": 257, + "__docId__": 211, "kind": "get", "name": "lordOfNight", "memberof": "src/lc/long-count.js~LongCount", @@ -5265,7 +4325,7 @@ "longname": "src/lc/long-count.js~LongCount#lordOfNight", "access": "public", "description": "", - "lineNumber": 87, + "lineNumber": 74, "return": { "nullable": null, "types": [ @@ -5281,7 +4341,7 @@ } }, { - "__docId__": 258, + "__docId__": 212, "kind": "method", "name": "buildCalendarRound", "memberof": "src/lc/long-count.js~LongCount", @@ -5291,7 +4351,7 @@ "longname": "src/lc/long-count.js~LongCount#buildCalendarRound", "access": "public", "description": "", - "lineNumber": 97, + "lineNumber": 84, "return": { "nullable": null, "types": [ @@ -5303,7 +4363,7 @@ "params": [] }, { - "__docId__": 259, + "__docId__": 213, "kind": "method", "name": "buildFullDate", "memberof": "src/lc/long-count.js~LongCount", @@ -5313,7 +4373,7 @@ "longname": "src/lc/long-count.js~LongCount#buildFullDate", "access": "public", "description": "", - "lineNumber": 107, + "lineNumber": 94, "return": { "nullable": null, "types": [ @@ -5325,7 +4385,7 @@ "params": [] }, { - "__docId__": 260, + "__docId__": 214, "kind": "method", "name": "plus", "memberof": "src/lc/long-count.js~LongCount", @@ -5335,7 +4395,7 @@ "longname": "src/lc/long-count.js~LongCount#plus", "access": "public", "description": "Return the sum of this Long Count and the supplied", - "lineNumber": 119, + "lineNumber": 106, "params": [ { "nullable": null, @@ -5358,7 +4418,7 @@ } }, { - "__docId__": 261, + "__docId__": 215, "kind": "method", "name": "minus", "memberof": "src/lc/long-count.js~LongCount", @@ -5368,7 +4428,7 @@ "longname": "src/lc/long-count.js~LongCount#minus", "access": "public", "description": "Return the difference between this Long Count and the supplied", - "lineNumber": 131, + "lineNumber": 118, "params": [ { "nullable": null, @@ -5391,7 +4451,7 @@ } }, { - "__docId__": 262, + "__docId__": 216, "kind": "method", "name": "asDistanceNumber", "memberof": "src/lc/long-count.js~LongCount", @@ -5401,7 +4461,7 @@ "longname": "src/lc/long-count.js~LongCount#asDistanceNumber", "access": "public", "description": "Return this Long Count as a Distance Number", - "lineNumber": 142, + "lineNumber": 129, "return": { "nullable": null, "types": [ @@ -5413,18 +4473,18 @@ "params": [] }, { - "__docId__": 263, + "__docId__": 217, "kind": "file", "name": "src/lc/night/lord-of-night.js", - "content": "/**\n * Describes one of the 9 Lords of the night.\n * This class is accessible through its instantiated values, or the get()\n * method.\n * @example\n * let lord_of_night_g8_1 = mayadates.lc.night.get('G8')\n * let lord_of_night_g8_2 = mayadates.lc.night.G8\n * console.log(lord_of_night_g8_1 === lord_of_night_g8_2)\n */\nclass LordOfNight {\n /**\n * @param {number} id\n */\n constructor(id) {\n /**\n * Number of the Lord of the Night\n * @type {number}\n */\n this.id = id;\n }\n\n /**\n * Represent the Lord of the night as a string G1..G9.\n * @return {string}\n */\n toString() {\n return `G${this.id}`;\n }\n}\n\n/**\n * Return a Lord of the Night by its G id.\n * @param {string} id - Has the form 'G1', 'G2', etc.\n * @return {LordOfNight}\n */\nfunction get(id) {\n return lordsOfTheNight[`${id}`];\n}\n\n/** @ignore */\nconst lordsOfTheNight = [\n 1, 2, 3, 4, 5, 6, 7, 8, 9,\n].reduce((obj, n) => {\n const lord = new LordOfNight(n);\n const newObj = obj;\n newObj[`${lord}`] = lord;\n return newObj;\n}, {\n get,\n});\n\nmodule.exports = lordsOfTheNight;\n", + "content": "/**\n * Describes one of the 9 Lords of the night.\n * This class is accessible through its instantiated values, or the get()\n * method.\n * @example\n * let lord_of_night_g8_1 = mayadates.lc.night.get('G8')\n * let lord_of_night_g8_2 = mayadates.lc.night.G8\n * console.log(lord_of_night_g8_1 === lord_of_night_g8_2)\n */\n// eslint-disable-next-line max-classes-per-file\nclass LordOfNight {\n /**\n * @param {number} id\n */\n constructor(id) {\n /**\n * Number of the Lord of the Night\n * @type {number}\n */\n this.id = id;\n }\n\n /**\n * Represent the Lord of the night as a string G1..G9.\n * @return {string}\n */\n toString() {\n return `G${this.id}`;\n }\n}\n\nclass _LordsOfTheNight {\n constructor() {\n this.G1 = new LordOfNight(1);\n this.G2 = new LordOfNight(2);\n this.G3 = new LordOfNight(3);\n this.G4 = new LordOfNight(4);\n this.G5 = new LordOfNight(5);\n this.G6 = new LordOfNight(6);\n this.G7 = new LordOfNight(7);\n this.G8 = new LordOfNight(8);\n this.G9 = new LordOfNight(9);\n }\n\n /**\n * Return a Lord of the Night by its G id.\n * @param {string} id - Has the form 'G1', 'G2', etc.\n * @return {LordOfNight}\n */\n get(id) {\n return this[`${id}`];\n }\n}\n\nexport default new _LordsOfTheNight();\n", "static": true, - "longname": "/home/drews/Development/maya-dates/src/lc/night/lord-of-night.js", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/lc/night/lord-of-night.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 264, + "__docId__": 218, "kind": "class", "name": "LordOfNight", "memberof": "src/lc/night/lord-of-night.js", @@ -5438,11 +4498,11 @@ "examples": [ " let lord_of_night_g8_1 = mayadates.lc.night.get('G8')\n let lord_of_night_g8_2 = mayadates.lc.night.G8\n console.log(lord_of_night_g8_1 === lord_of_night_g8_2)" ], - "lineNumber": 10, + "lineNumber": 11, "interface": false }, { - "__docId__": 265, + "__docId__": 219, "kind": "constructor", "name": "constructor", "memberof": "src/lc/night/lord-of-night.js~LordOfNight", @@ -5452,7 +4512,7 @@ "longname": "src/lc/night/lord-of-night.js~LordOfNight#constructor", "access": "public", "description": "", - "lineNumber": 14, + "lineNumber": 15, "params": [ { "nullable": null, @@ -5467,61 +4527,253 @@ ] }, { - "__docId__": 266, + "__docId__": 220, + "kind": "member", + "name": "id", + "memberof": "src/lc/night/lord-of-night.js~LordOfNight", + "static": false, + "longname": "src/lc/night/lord-of-night.js~LordOfNight#id", + "access": "public", + "description": "Number of the Lord of the Night", + "lineNumber": 20, + "type": { + "nullable": null, + "types": [ + "number" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 221, + "kind": "method", + "name": "toString", + "memberof": "src/lc/night/lord-of-night.js~LordOfNight", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/night/lord-of-night.js~LordOfNight#toString", + "access": "public", + "description": "Represent the Lord of the night as a string G1..G9.", + "lineNumber": 27, + "return": { + "nullable": null, + "types": [ + "string" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 222, + "kind": "class", + "name": "_LordsOfTheNight", + "memberof": "src/lc/night/lord-of-night.js", + "static": true, + "longname": "src/lc/night/lord-of-night.js~_LordsOfTheNight", + "access": "private", + "export": true, + "importPath": "@drewsonne/maya-dates/src/lc/night/lord-of-night.js", + "importStyle": null, + "description": null, + "lineNumber": 32, + "pseudoExport": true, + "undocument": true, + "interface": false, + "ignore": true + }, + { + "__docId__": 223, + "kind": "constructor", + "name": "constructor", + "memberof": "src/lc/night/lord-of-night.js~_LordsOfTheNight", + "generator": false, + "async": false, + "static": false, + "longname": "src/lc/night/lord-of-night.js~_LordsOfTheNight#constructor", + "access": "public", + "description": null, + "lineNumber": 33, + "undocument": true, + "ignore": true + }, + { + "__docId__": 224, + "kind": "member", + "name": "G1", + "memberof": "src/lc/night/lord-of-night.js~_LordsOfTheNight", + "static": false, + "longname": "src/lc/night/lord-of-night.js~_LordsOfTheNight#G1", + "access": "public", + "description": null, + "lineNumber": 34, + "undocument": true, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 225, + "kind": "member", + "name": "G2", + "memberof": "src/lc/night/lord-of-night.js~_LordsOfTheNight", + "static": false, + "longname": "src/lc/night/lord-of-night.js~_LordsOfTheNight#G2", + "access": "public", + "description": null, + "lineNumber": 35, + "undocument": true, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 226, + "kind": "member", + "name": "G3", + "memberof": "src/lc/night/lord-of-night.js~_LordsOfTheNight", + "static": false, + "longname": "src/lc/night/lord-of-night.js~_LordsOfTheNight#G3", + "access": "public", + "description": null, + "lineNumber": 36, + "undocument": true, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 227, + "kind": "member", + "name": "G4", + "memberof": "src/lc/night/lord-of-night.js~_LordsOfTheNight", + "static": false, + "longname": "src/lc/night/lord-of-night.js~_LordsOfTheNight#G4", + "access": "public", + "description": null, + "lineNumber": 37, + "undocument": true, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 228, + "kind": "member", + "name": "G5", + "memberof": "src/lc/night/lord-of-night.js~_LordsOfTheNight", + "static": false, + "longname": "src/lc/night/lord-of-night.js~_LordsOfTheNight#G5", + "access": "public", + "description": null, + "lineNumber": 38, + "undocument": true, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 229, + "kind": "member", + "name": "G6", + "memberof": "src/lc/night/lord-of-night.js~_LordsOfTheNight", + "static": false, + "longname": "src/lc/night/lord-of-night.js~_LordsOfTheNight#G6", + "access": "public", + "description": null, + "lineNumber": 39, + "undocument": true, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 230, "kind": "member", - "name": "id", - "memberof": "src/lc/night/lord-of-night.js~LordOfNight", + "name": "G7", + "memberof": "src/lc/night/lord-of-night.js~_LordsOfTheNight", "static": false, - "longname": "src/lc/night/lord-of-night.js~LordOfNight#id", + "longname": "src/lc/night/lord-of-night.js~_LordsOfTheNight#G7", "access": "public", - "description": "Number of the Lord of the Night", - "lineNumber": 19, + "description": null, + "lineNumber": 40, + "undocument": true, "type": { - "nullable": null, "types": [ - "number" - ], - "spread": false, - "description": null - } + "*" + ] + }, + "ignore": true }, { - "__docId__": 267, - "kind": "method", - "name": "toString", - "memberof": "src/lc/night/lord-of-night.js~LordOfNight", - "generator": false, - "async": false, + "__docId__": 231, + "kind": "member", + "name": "G8", + "memberof": "src/lc/night/lord-of-night.js~_LordsOfTheNight", "static": false, - "longname": "src/lc/night/lord-of-night.js~LordOfNight#toString", + "longname": "src/lc/night/lord-of-night.js~_LordsOfTheNight#G8", "access": "public", - "description": "Represent the Lord of the night as a string G1..G9.", - "lineNumber": 26, - "return": { - "nullable": null, + "description": null, + "lineNumber": 41, + "undocument": true, + "type": { "types": [ - "string" - ], - "spread": false, - "description": "" + "*" + ] }, - "params": [] + "ignore": true }, { - "__docId__": 268, - "kind": "function", + "__docId__": 232, + "kind": "member", + "name": "G9", + "memberof": "src/lc/night/lord-of-night.js~_LordsOfTheNight", + "static": false, + "longname": "src/lc/night/lord-of-night.js~_LordsOfTheNight#G9", + "access": "public", + "description": null, + "lineNumber": 42, + "undocument": true, + "type": { + "types": [ + "*" + ] + }, + "ignore": true + }, + { + "__docId__": 233, + "kind": "method", "name": "get", - "memberof": "src/lc/night/lord-of-night.js", + "memberof": "src/lc/night/lord-of-night.js~_LordsOfTheNight", "generator": false, "async": false, - "static": true, - "longname": "src/lc/night/lord-of-night.js~get", + "static": false, + "longname": "src/lc/night/lord-of-night.js~_LordsOfTheNight#get", "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/night/lord-of-night.js", - "importStyle": null, "description": "Return a Lord of the Night by its G id.", - "lineNumber": 36, + "lineNumber": 50, "params": [ { "nullable": null, @@ -5544,76 +4796,57 @@ } }, { - "__docId__": 269, + "__docId__": 234, "kind": "variable", - "name": "lordsOfTheNight", + "name": "_LordsOfTheNight", "memberof": "src/lc/night/lord-of-night.js", "static": true, - "longname": "src/lc/night/lord-of-night.js~lordsOfTheNight", - "access": "public", - "export": false, + "longname": "src/lc/night/lord-of-night.js~_LordsOfTheNight", + "access": "private", + "export": true, "importPath": "@drewsonne/maya-dates/src/lc/night/lord-of-night.js", - "importStyle": null, + "importStyle": "_LordsOfTheNight", "description": null, - "lineNumber": 41, - "ignore": true, + "lineNumber": 55, + "undocument": true, "type": { "types": [ - "*" + "src/lc/night/lord-of-night.js~_LordsOfTheNight" ] - } + }, + "ignore": true }, { - "__docId__": 270, + "__docId__": 235, "kind": "file", "name": "src/lc/western/gregorian.js", - "content": "/** @ignore */\nconst WesternCalendar = require('./western');\n\n/**\n * Represent a Gregorian date.\n * @extends {WesternCalendar}\n */\nclass GregorianCalendarDate extends WesternCalendar {\n\n /**\n * Handle the sliding offset between gregorian and julian dates\n * @return {number}\n */\n get offset() {\n if (this.julianDay === 2299160) {\n return 0;\n }\n if (this.julianDay <= 1448283) {\n return -8;\n }\n if (this.julianDay <= 1455864) {\n return -8;\n }\n if (this.julianDay <= 1599864) {\n return -5;\n }\n if (this.julianDay <= 1743864) {\n return -2;\n }\n if (this.julianDay <= 1887864) {\n return 1;\n }\n if (this.julianDay <= 2031864) {\n return 4;\n }\n if (this.julianDay <= 2096664) {\n return 6;\n }\n if (this.julianDay <= 2175864) {\n return 7;\n }\n if (this.julianDay <= 2240664) {\n return 9;\n }\n if (this.julianDay <= 2299160) {\n return 10;\n }\n return 0;\n }\n}\n\nmodule.exports = GregorianCalendarDate;\n", + "content": "import WesternCalendar from './western';\n\n/**\n * Represent a Gregorian date.\n * @extends {WesternCalendar}\n */\nexport default class GregorianCalendarDate extends WesternCalendar {\n\n /**\n * Handle the sliding offset between gregorian and julian dates\n * @return {number}\n */\n get offset() {\n if (this.julianDay === 2299160) {\n return 0;\n }\n if (this.julianDay <= 1448283) {\n return -8;\n }\n if (this.julianDay <= 1455864) {\n return -8;\n }\n if (this.julianDay <= 1599864) {\n return -5;\n }\n if (this.julianDay <= 1743864) {\n return -2;\n }\n if (this.julianDay <= 1887864) {\n return 1;\n }\n if (this.julianDay <= 2031864) {\n return 4;\n }\n if (this.julianDay <= 2096664) {\n return 6;\n }\n if (this.julianDay <= 2175864) {\n return 7;\n }\n if (this.julianDay <= 2240664) {\n return 9;\n }\n if (this.julianDay <= 2299160) {\n return 10;\n }\n return 0;\n }\n}\n", "static": true, - "longname": "/home/drews/Development/maya-dates/src/lc/western/gregorian.js", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/lc/western/gregorian.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 271, - "kind": "variable", - "name": "WesternCalendar", - "memberof": "src/lc/western/gregorian.js", - "static": true, - "longname": "src/lc/western/gregorian.js~WesternCalendar", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/western/gregorian.js", - "importStyle": null, - "description": null, - "lineNumber": 2, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 272, + "__docId__": 236, "kind": "class", "name": "GregorianCalendarDate", "memberof": "src/lc/western/gregorian.js", "static": true, "longname": "src/lc/western/gregorian.js~GregorianCalendarDate", "access": "public", - "export": false, + "export": true, "importPath": "@drewsonne/maya-dates/src/lc/western/gregorian.js", - "importStyle": null, + "importStyle": "GregorianCalendarDate", "description": "Represent a Gregorian date.", - "lineNumber": 8, + "lineNumber": 7, "interface": false, "extends": [ "WesternCalendar" ] }, { - "__docId__": 273, + "__docId__": 237, "kind": "get", "name": "offset", "memberof": "src/lc/western/gregorian.js~GregorianCalendarDate", @@ -5623,7 +4856,7 @@ "longname": "src/lc/western/gregorian.js~GregorianCalendarDate#offset", "access": "public", "description": "Handle the sliding offset between gregorian and julian dates", - "lineNumber": 14, + "lineNumber": 13, "return": { "nullable": null, "types": [ @@ -5639,107 +4872,47 @@ } }, { - "__docId__": 274, + "__docId__": 238, "kind": "file", "name": "src/lc/western/index.js", - "content": "/** @ignore */\nconst GregorianCalendarDate = require('./gregorian');\n/** @ignore */\nconst JulianCalendarDate = require('./julian');\n\nmodule.exports = {\n GregorianCalendarDate,\n JulianCalendarDate,\n};\n", + "content": "import GregorianCalendarDate from './gregorian';\nimport JulianCalendarDate from './julian';\n\nexport default {\n GregorianCalendarDate,\n JulianCalendarDate\n};\n", "static": true, - "longname": "/home/drews/Development/maya-dates/src/lc/western/index.js", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/lc/western/index.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 275, - "kind": "variable", - "name": "GregorianCalendarDate", - "memberof": "src/lc/western/index.js", - "static": true, - "longname": "src/lc/western/index.js~GregorianCalendarDate", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/western/index.js", - "importStyle": null, - "description": null, - "lineNumber": 2, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 276, - "kind": "variable", - "name": "JulianCalendarDate", - "memberof": "src/lc/western/index.js", - "static": true, - "longname": "src/lc/western/index.js~JulianCalendarDate", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/western/index.js", - "importStyle": null, - "description": null, - "lineNumber": 4, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 277, + "__docId__": 239, "kind": "file", "name": "src/lc/western/julian.js", - "content": "/** @ignore */\nconst WesternCalendar = require('./western');\n\n/**\n * Represent a Julian date.\n * @extends {WesternCalendar}\n */\nclass JulianCalendarDate extends WesternCalendar {\n\n /**\n * Handle the sliding offset between gregorian and julian dates\n * @return {number}\n */\n get offset() {\n if (this.julianDay === 2299160) {\n return 0;\n }\n if (this.julianDay > 2463863) {\n return -13;\n }\n if (this.julianDay > 2415078) {\n return -12;\n }\n if (this.julianDay > 2378554) {\n return -11;\n }\n if (this.julianDay > 2312663) {\n return -10;\n }\n if (this.julianDay > 2240663) {\n return 0;\n }\n if (this.julianDay > 2232466) {\n return -1;\n }\n if (this.julianDay > 2175863) {\n return 0;\n }\n if (this.julianDay > 2096663) {\n return 1;\n }\n return 0;\n }\n}\n\nmodule.exports = JulianCalendarDate;\n", + "content": "import WesternCalendar from './western';\n\n/**\n * Represent a Julian date.\n * @extends {WesternCalendar}\n */\nexport default class JulianCalendarDate extends WesternCalendar {\n\n /**\n * Handle the sliding offset between gregorian and julian dates\n * @return {number}\n */\n get offset() {\n if (this.julianDay === 2299160) {\n return 0;\n }\n if (this.julianDay > 2463863) {\n return -13;\n }\n if (this.julianDay > 2415078) {\n return -12;\n }\n if (this.julianDay > 2378554) {\n return -11;\n }\n if (this.julianDay > 2312663) {\n return -10;\n }\n if (this.julianDay > 2240663) {\n return 0;\n }\n if (this.julianDay > 2232466) {\n return -1;\n }\n if (this.julianDay > 2175863) {\n return 0;\n }\n if (this.julianDay > 2096663) {\n return 1;\n }\n return 0;\n }\n}\n", "static": true, - "longname": "/home/drews/Development/maya-dates/src/lc/western/julian.js", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/lc/western/julian.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 278, - "kind": "variable", - "name": "WesternCalendar", - "memberof": "src/lc/western/julian.js", - "static": true, - "longname": "src/lc/western/julian.js~WesternCalendar", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/western/julian.js", - "importStyle": null, - "description": null, - "lineNumber": 2, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 279, + "__docId__": 240, "kind": "class", "name": "JulianCalendarDate", "memberof": "src/lc/western/julian.js", "static": true, "longname": "src/lc/western/julian.js~JulianCalendarDate", "access": "public", - "export": false, + "export": true, "importPath": "@drewsonne/maya-dates/src/lc/western/julian.js", - "importStyle": null, + "importStyle": "JulianCalendarDate", "description": "Represent a Julian date.", - "lineNumber": 8, + "lineNumber": 7, "interface": false, "extends": [ "WesternCalendar" ] }, { - "__docId__": 280, + "__docId__": 241, "kind": "get", "name": "offset", "memberof": "src/lc/western/julian.js~JulianCalendarDate", @@ -5749,7 +4922,7 @@ "longname": "src/lc/western/julian.js~JulianCalendarDate#offset", "access": "public", "description": "Handle the sliding offset between gregorian and julian dates", - "lineNumber": 14, + "lineNumber": 13, "return": { "nullable": null, "types": [ @@ -5765,54 +4938,34 @@ } }, { - "__docId__": 281, + "__docId__": 242, "kind": "file", "name": "src/lc/western/western.js", - "content": "/** @ignore */\nconst moonbeams = require('moonbeams');\n\n/**\n * Represents either a Julian or Gregorian calendar.\n * @abstract\n */\nclass WesternCalendar {\n /**\n * Store a date with reference to a Julian Day.\n * @param {number} julianDay\n */\n constructor(julianDay) {\n /**\n * @type {number}\n */\n this.julianDay = julianDay;\n\n /**\n * @type {Date}\n */\n this.date = moonbeams.jdToCalendar(julianDay + this.offset);\n }\n\n /**\n * Return the year\n * @return {number}\n */\n get year() {\n if (this.era === 'BCE') {\n return Math.abs(this.date.year - 1);\n }\n return this.date.year;\n }\n\n /**\n * Return the month\n * @return {number}\n */\n get month() {\n return this.date.month;\n }\n\n /**\n * Return the day of the month\n * @return {number}\n */\n get day() {\n return Math.floor(this.date.day);\n }\n\n /**\n * Return whether the date is the common era or before the common era.\n * @return {string}\n */\n get era() {\n return (this.date.year < 0) ? 'BCE' : 'CE';\n }\n\n /**\n * Return true if this date is on the Julian/Gregorian threshold\n * @return {boolean}\n */\n isThreshold() {\n return this.year === 1582 && this.month === 10 && [15, 4].includes(this.day);\n }\n\n /**\n * Represent this date as a string with era markers. If the date is suffixed with\n * a '*', this date is on the Julian/Gregorian threshold date.\n * @return {string}\n */\n toString() {\n const date = `${this.day}/${this.month}/${this.year} ${this.era}`;\n if (this.isThreshold()) {\n return `${date}*`;\n }\n return date;\n }\n}\n\n\nmodule.exports = WesternCalendar;\n", + "content": "import moonbeams from 'moonbeams';\n\n/**\n * Represents either a Julian or Gregorian calendar.\n * @abstract\n */\nexport default class WesternCalendar {\n /**\n * Store a date with reference to a Julian Day.\n * @param {number} julianDay\n */\n constructor(julianDay) {\n /**\n * @type {number}\n */\n this.julianDay = julianDay;\n\n /**\n * @type {Date}\n */\n this.date = moonbeams.jdToCalendar(julianDay + this.offset);\n }\n\n /**\n * Return the year\n * @return {number}\n */\n get year() {\n if (this.era === 'BCE') {\n return Math.abs(this.date.year - 1);\n }\n return this.date.year;\n }\n\n /**\n * Return the month\n * @return {number}\n */\n get month() {\n return this.date.month;\n }\n\n /**\n * Return the day of the month\n * @return {number}\n */\n get day() {\n return Math.floor(this.date.day);\n }\n\n /**\n * Return whether the date is the common era or before the common era.\n * @return {string}\n */\n get era() {\n return (this.date.year < 0) ? 'BCE' : 'CE';\n }\n\n /**\n * Return true if this date is on the Julian/Gregorian threshold\n * @return {boolean}\n */\n isThreshold() {\n return this.year === 1582 && this.month === 10 && [15, 4].includes(this.day);\n }\n\n /**\n * Represent this date as a string with era markers. If the date is suffixed with\n * a '*', this date is on the Julian/Gregorian threshold date.\n * @return {string}\n */\n toString() {\n const date = `${this.day}/${this.month}/${this.year} ${this.era}`;\n if (this.isThreshold()) {\n return `${date}*`;\n }\n return date;\n }\n}\n", "static": true, - "longname": "/home/drews/Development/maya-dates/src/lc/western/western.js", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/lc/western/western.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 282, - "kind": "variable", - "name": "moonbeams", - "memberof": "src/lc/western/western.js", - "static": true, - "longname": "src/lc/western/western.js~moonbeams", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/lc/western/western.js", - "importStyle": null, - "description": null, - "lineNumber": 2, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 283, + "__docId__": 243, "kind": "class", "name": "WesternCalendar", "memberof": "src/lc/western/western.js", "static": true, "longname": "src/lc/western/western.js~WesternCalendar", "access": "public", - "export": false, + "export": true, "importPath": "@drewsonne/maya-dates/src/lc/western/western.js", - "importStyle": null, + "importStyle": "WesternCalendar", "description": "Represents either a Julian or Gregorian calendar.", - "lineNumber": 8, + "lineNumber": 7, "abstract": true, "interface": false }, { - "__docId__": 284, + "__docId__": 244, "kind": "constructor", "name": "constructor", "memberof": "src/lc/western/western.js~WesternCalendar", @@ -5822,7 +4975,7 @@ "longname": "src/lc/western/western.js~WesternCalendar#constructor", "access": "public", "description": "Store a date with reference to a Julian Day.", - "lineNumber": 13, + "lineNumber": 12, "params": [ { "nullable": null, @@ -5837,7 +4990,7 @@ ] }, { - "__docId__": 285, + "__docId__": 245, "kind": "member", "name": "julianDay", "memberof": "src/lc/western/western.js~WesternCalendar", @@ -5845,7 +4998,7 @@ "longname": "src/lc/western/western.js~WesternCalendar#julianDay", "access": "public", "description": "", - "lineNumber": 17, + "lineNumber": 16, "type": { "nullable": null, "types": [ @@ -5856,7 +5009,7 @@ } }, { - "__docId__": 286, + "__docId__": 246, "kind": "member", "name": "date", "memberof": "src/lc/western/western.js~WesternCalendar", @@ -5864,7 +5017,7 @@ "longname": "src/lc/western/western.js~WesternCalendar#date", "access": "public", "description": "", - "lineNumber": 22, + "lineNumber": 21, "type": { "nullable": null, "types": [ @@ -5875,7 +5028,7 @@ } }, { - "__docId__": 287, + "__docId__": 247, "kind": "get", "name": "year", "memberof": "src/lc/western/western.js~WesternCalendar", @@ -5885,7 +5038,7 @@ "longname": "src/lc/western/western.js~WesternCalendar#year", "access": "public", "description": "Return the year", - "lineNumber": 29, + "lineNumber": 28, "return": { "nullable": null, "types": [ @@ -5901,7 +5054,7 @@ } }, { - "__docId__": 288, + "__docId__": 248, "kind": "get", "name": "month", "memberof": "src/lc/western/western.js~WesternCalendar", @@ -5911,7 +5064,7 @@ "longname": "src/lc/western/western.js~WesternCalendar#month", "access": "public", "description": "Return the month", - "lineNumber": 40, + "lineNumber": 39, "return": { "nullable": null, "types": [ @@ -5927,7 +5080,7 @@ } }, { - "__docId__": 289, + "__docId__": 249, "kind": "get", "name": "day", "memberof": "src/lc/western/western.js~WesternCalendar", @@ -5937,7 +5090,7 @@ "longname": "src/lc/western/western.js~WesternCalendar#day", "access": "public", "description": "Return the day of the month", - "lineNumber": 48, + "lineNumber": 47, "return": { "nullable": null, "types": [ @@ -5953,7 +5106,7 @@ } }, { - "__docId__": 290, + "__docId__": 250, "kind": "get", "name": "era", "memberof": "src/lc/western/western.js~WesternCalendar", @@ -5963,7 +5116,7 @@ "longname": "src/lc/western/western.js~WesternCalendar#era", "access": "public", "description": "Return whether the date is the common era or before the common era.", - "lineNumber": 56, + "lineNumber": 55, "return": { "nullable": null, "types": [ @@ -5979,7 +5132,7 @@ } }, { - "__docId__": 291, + "__docId__": 251, "kind": "method", "name": "isThreshold", "memberof": "src/lc/western/western.js~WesternCalendar", @@ -5989,7 +5142,7 @@ "longname": "src/lc/western/western.js~WesternCalendar#isThreshold", "access": "public", "description": "Return true if this date is on the Julian/Gregorian threshold", - "lineNumber": 64, + "lineNumber": 63, "return": { "nullable": null, "types": [ @@ -6001,7 +5154,7 @@ "params": [] }, { - "__docId__": 292, + "__docId__": 252, "kind": "method", "name": "toString", "memberof": "src/lc/western/western.js~WesternCalendar", @@ -6011,7 +5164,7 @@ "longname": "src/lc/western/western.js~WesternCalendar#toString", "access": "public", "description": "Represent this date as a string with era markers. If the date is suffixed with\na '*', this date is on the Julian/Gregorian threshold date.", - "lineNumber": 73, + "lineNumber": 72, "return": { "nullable": null, "types": [ @@ -6023,64 +5176,44 @@ "params": [] }, { - "__docId__": 293, + "__docId__": 253, "kind": "file", - "name": "src/operations/calendar-round-iterator.js", - "content": "/** @ignore */\nconst {origin} = require('../cr/index');\n\n/**\n * Used to iterate through the entire cycle of 18,980 days for the full\n * permutation of Haab and 260-day count.\n * @ignore\n */\nclass CalendarRoundIterator {\n /**\n *\n * @param {CalendarRound} fullDate\n */\n constructor(newDate) {\n /**\n * @type {CalendarRound}\n */\n this.current = undefined;\n\n /**\n * @type boolean\n */\n this.is_first = undefined;\n\n let fullDate = newDate;\n if (fullDate === undefined) {\n fullDate = origin;\n }\n /**\n * @type {CalendarRound}\n */\n this.fullDate = fullDate;\n this.reset();\n }\n\n /**\n * Reset this iterator so that it can be reused.\n */\n reset() {\n this.current = this.fullDate;\n this.is_first = true;\n }\n\n /**\n * Move to the next position in the iterator or end the iteration.\n * @return {{value: null, done: boolean}|{value: CalendarRound, done: boolean}}\n */\n next() {\n if (this.is_first) {\n this.is_first = false;\n return {value: this.current, done: false};\n }\n const next = this.current.next();\n if (next.equal(this.fullDate)) {\n return {value: null, done: true};\n }\n this.current = next;\n return {value: next, done: false};\n }\n}\n\nmodule.exports = CalendarRoundIterator\n", + "name": "src/operations/calendar-round-iter.js", + "content": "import cr from '../cr/index';\n\n/**\n * Used to iterate through the entire cycle of 18,980 days for the full\n * permutation of Haab and 260-day count.\n * @ignore\n */\nexport default class CalendarRoundIterator {\n /**\n *\n * @param {CalendarRound} newDate\n */\n constructor(newDate) {\n /**\n * @type {CalendarRound}\n */\n this.current = undefined;\n\n /**\n * @type boolean\n */\n this.is_first = undefined;\n\n let fullDate = newDate;\n if (fullDate === undefined) {\n fullDate = cr.origin;\n }\n /**\n * @type {CalendarRound}\n */\n this.fullDate = fullDate;\n this.reset();\n }\n\n /**\n * Reset this iterator so that it can be reused.\n */\n reset() {\n this.current = this.fullDate;\n this.is_first = true;\n }\n\n /**\n * Move to the next position in the iterator or end the iteration.\n * @return {{value: null, done: boolean}|{value: CalendarRound, done: boolean}}\n */\n next() {\n if (this.is_first) {\n this.is_first = false;\n return {value: this.current, done: false};\n }\n const next = this.current.next();\n if (next.equal(this.fullDate)) {\n return {value: null, done: true};\n }\n this.current = next;\n return {value: next, done: false};\n }\n}\n", "static": true, - "longname": "/home/drews/Development/maya-dates/src/operations/calendar-round-iterator.js", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/operations/calendar-round-iter.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 294, - "kind": "variable", - "name": "origin", - "memberof": "src/operations/calendar-round-iterator.js", - "static": true, - "longname": "src/operations/calendar-round-iterator.js~origin", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/operations/calendar-round-iterator.js", - "importStyle": null, - "description": null, - "lineNumber": 2, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 295, + "__docId__": 254, "kind": "class", "name": "CalendarRoundIterator", - "memberof": "src/operations/calendar-round-iterator.js", + "memberof": "src/operations/calendar-round-iter.js", "static": true, - "longname": "src/operations/calendar-round-iterator.js~CalendarRoundIterator", + "longname": "src/operations/calendar-round-iter.js~CalendarRoundIterator", "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/operations/calendar-round-iterator.js", - "importStyle": null, + "export": true, + "importPath": "@drewsonne/maya-dates/src/operations/calendar-round-iter.js", + "importStyle": "CalendarRoundIterator", "description": "Used to iterate through the entire cycle of 18,980 days for the full\npermutation of Haab and 260-day count.", - "lineNumber": 9, + "lineNumber": 8, "ignore": true, "interface": false }, { - "__docId__": 296, + "__docId__": 255, "kind": "constructor", "name": "constructor", - "memberof": "src/operations/calendar-round-iterator.js~CalendarRoundIterator", + "memberof": "src/operations/calendar-round-iter.js~CalendarRoundIterator", "generator": false, "async": false, "static": false, - "longname": "src/operations/calendar-round-iterator.js~CalendarRoundIterator#constructor", + "longname": "src/operations/calendar-round-iter.js~CalendarRoundIterator#constructor", "access": "public", "description": "", - "lineNumber": 14, + "lineNumber": 13, "params": [ { "nullable": null, @@ -6089,21 +5222,21 @@ ], "spread": false, "optional": false, - "name": "fullDate", + "name": "newDate", "description": "" } ] }, { - "__docId__": 297, + "__docId__": 256, "kind": "member", "name": "current", - "memberof": "src/operations/calendar-round-iterator.js~CalendarRoundIterator", + "memberof": "src/operations/calendar-round-iter.js~CalendarRoundIterator", "static": false, - "longname": "src/operations/calendar-round-iterator.js~CalendarRoundIterator#current", + "longname": "src/operations/calendar-round-iter.js~CalendarRoundIterator#current", "access": "public", "description": "", - "lineNumber": 18, + "lineNumber": 17, "type": { "nullable": null, "types": [ @@ -6114,15 +5247,15 @@ } }, { - "__docId__": 298, + "__docId__": 257, "kind": "member", "name": "is_first", - "memberof": "src/operations/calendar-round-iterator.js~CalendarRoundIterator", + "memberof": "src/operations/calendar-round-iter.js~CalendarRoundIterator", "static": false, - "longname": "src/operations/calendar-round-iterator.js~CalendarRoundIterator#is_first", + "longname": "src/operations/calendar-round-iter.js~CalendarRoundIterator#is_first", "access": "public", "description": "", - "lineNumber": 23, + "lineNumber": 22, "type": { "nullable": null, "types": [ @@ -6133,15 +5266,15 @@ } }, { - "__docId__": 299, + "__docId__": 258, "kind": "member", "name": "fullDate", - "memberof": "src/operations/calendar-round-iterator.js~CalendarRoundIterator", + "memberof": "src/operations/calendar-round-iter.js~CalendarRoundIterator", "static": false, - "longname": "src/operations/calendar-round-iterator.js~CalendarRoundIterator#fullDate", + "longname": "src/operations/calendar-round-iter.js~CalendarRoundIterator#fullDate", "access": "public", "description": "", - "lineNumber": 32, + "lineNumber": 31, "type": { "nullable": null, "types": [ @@ -6152,32 +5285,32 @@ } }, { - "__docId__": 300, + "__docId__": 259, "kind": "method", "name": "reset", - "memberof": "src/operations/calendar-round-iterator.js~CalendarRoundIterator", + "memberof": "src/operations/calendar-round-iter.js~CalendarRoundIterator", "generator": false, "async": false, "static": false, - "longname": "src/operations/calendar-round-iterator.js~CalendarRoundIterator#reset", + "longname": "src/operations/calendar-round-iter.js~CalendarRoundIterator#reset", "access": "public", "description": "Reset this iterator so that it can be reused.", - "lineNumber": 39, + "lineNumber": 38, "params": [], "return": null }, { - "__docId__": 303, + "__docId__": 262, "kind": "method", "name": "next", - "memberof": "src/operations/calendar-round-iterator.js~CalendarRoundIterator", + "memberof": "src/operations/calendar-round-iter.js~CalendarRoundIterator", "generator": false, "async": false, "static": false, - "longname": "src/operations/calendar-round-iterator.js~CalendarRoundIterator#next", + "longname": "src/operations/calendar-round-iter.js~CalendarRoundIterator#next", "access": "public", "description": "Move to the next position in the iterator or end the iteration.", - "lineNumber": 48, + "lineNumber": 47, "return": { "nullable": null, "types": [ @@ -6189,38 +5322,18 @@ "params": [] }, { - "__docId__": 306, + "__docId__": 265, "kind": "file", "name": "src/operations/calendar-round-wildcard.js", - "content": "/** @ignore */\nconst CalendarRoundIterator = require('./calendar-round-iterator');\n\n\n/**\n * A reusable singleton instance of the CalendarRoundIterator\n * @ignore\n * @type {CalendarRoundIterator}\n */\nconst iter = new CalendarRoundIterator();\n\n/**\n * Given a Calendar Round with a wildcard, calculate all possible matching\n * fully qualified Calendar Rounds.\n */\nclass CalendarRoundWildcard {\n /**\n * @param {CalendarRound} cr\n */\n constructor(cr) {\n /**\n * @type {CalendarRound}\n */\n this.cr = cr;\n }\n\n /**\n * Run calculation to find all fully qualified Calendar Rounds\n * @return {CalendarRound[]}\n */\n run() {\n const potentials = [];\n // Iterate through dates and compare\n let cr = iter.next();\n while (!cr.done) {\n if (this.cr.match(cr.value)) {\n potentials.push(cr.value);\n }\n cr = iter.next();\n }\n iter.reset();\n return potentials;\n }\n}\n\nmodule.exports = CalendarRoundWildcard;\n", + "content": "import CalendarRoundIterator from './calendar-round-iter';\n\n/**\n * A reusable singleton instance of the CalendarRoundIterator\n * @ignore\n * @type {CalendarRoundIterator}\n */\nconst iter = new CalendarRoundIterator();\n\n/**\n * Given a Calendar Round with a wildcard, calculate all possible matching\n * fully qualified Calendar Rounds.\n */\nexport default class CalendarRoundWildcard {\n /**\n * @param {CalendarRound} cr\n */\n constructor(cr) {\n /**\n * @type {CalendarRound}\n */\n this.cr = cr;\n }\n\n /**\n * Run calculation to find all fully qualified Calendar Rounds\n * @return {CalendarRound[]}\n */\n run() {\n const potentials = [];\n // Iterate through dates and compare\n let cr = iter.next();\n while (!cr.done) {\n if (this.cr.match(cr.value)) {\n potentials.push(cr.value);\n }\n cr = iter.next();\n }\n iter.reset();\n return potentials;\n }\n}\n", "static": true, - "longname": "/home/drews/Development/maya-dates/src/operations/calendar-round-wildcard.js", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/operations/calendar-round-wildcard.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 307, - "kind": "variable", - "name": "CalendarRoundIterator", - "memberof": "src/operations/calendar-round-wildcard.js", - "static": true, - "longname": "src/operations/calendar-round-wildcard.js~CalendarRoundIterator", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/operations/calendar-round-wildcard.js", - "importStyle": null, - "description": null, - "lineNumber": 2, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 308, + "__docId__": 266, "kind": "variable", "name": "iter", "memberof": "src/operations/calendar-round-wildcard.js", @@ -6231,7 +5344,7 @@ "importPath": "@drewsonne/maya-dates/src/operations/calendar-round-wildcard.js", "importStyle": null, "description": "A reusable singleton instance of the CalendarRoundIterator", - "lineNumber": 10, + "lineNumber": 8, "ignore": true, "type": { "nullable": null, @@ -6243,22 +5356,22 @@ } }, { - "__docId__": 309, + "__docId__": 267, "kind": "class", "name": "CalendarRoundWildcard", "memberof": "src/operations/calendar-round-wildcard.js", "static": true, "longname": "src/operations/calendar-round-wildcard.js~CalendarRoundWildcard", "access": "public", - "export": false, + "export": true, "importPath": "@drewsonne/maya-dates/src/operations/calendar-round-wildcard.js", - "importStyle": null, + "importStyle": "CalendarRoundWildcard", "description": "Given a Calendar Round with a wildcard, calculate all possible matching\nfully qualified Calendar Rounds.", - "lineNumber": 16, + "lineNumber": 14, "interface": false }, { - "__docId__": 310, + "__docId__": 268, "kind": "constructor", "name": "constructor", "memberof": "src/operations/calendar-round-wildcard.js~CalendarRoundWildcard", @@ -6268,7 +5381,7 @@ "longname": "src/operations/calendar-round-wildcard.js~CalendarRoundWildcard#constructor", "access": "public", "description": "", - "lineNumber": 20, + "lineNumber": 18, "params": [ { "nullable": null, @@ -6283,7 +5396,7 @@ ] }, { - "__docId__": 311, + "__docId__": 269, "kind": "member", "name": "cr", "memberof": "src/operations/calendar-round-wildcard.js~CalendarRoundWildcard", @@ -6291,7 +5404,7 @@ "longname": "src/operations/calendar-round-wildcard.js~CalendarRoundWildcard#cr", "access": "public", "description": "", - "lineNumber": 24, + "lineNumber": 22, "type": { "nullable": null, "types": [ @@ -6302,7 +5415,7 @@ } }, { - "__docId__": 312, + "__docId__": 270, "kind": "method", "name": "run", "memberof": "src/operations/calendar-round-wildcard.js~CalendarRoundWildcard", @@ -6312,7 +5425,7 @@ "longname": "src/operations/calendar-round-wildcard.js~CalendarRoundWildcard#run", "access": "public", "description": "Run calculation to find all fully qualified Calendar Rounds", - "lineNumber": 31, + "lineNumber": 29, "return": { "nullable": null, "types": [ @@ -6324,78 +5437,18 @@ "params": [] }, { - "__docId__": 313, + "__docId__": 271, "kind": "file", "name": "src/operations/fulldate-wildcard.js", - "content": "/** @ignore */\nconst FullDate = require('../full-date');\n/** @ignore */\nconst LongCountWildcard = require('../operations/longcount-wildcard');\n/** @ignore */\nconst CalendarRoundWildcard = require('../operations/calendar-round-wildcard');\n\n/** @ignore */\nconst concat = (x, y) => x.concat(y);\n\n/** @ignore */\nconst flatMap = (f, xs) => xs.map(f).reduce(concat, []);\n\n/** @ignore */\n// eslint-disable-next-line no-extend-native,func-names\nArray.prototype.flatMap = function (f) {\n return flatMap(f, this);\n};\n\n/**\n * Given a Calendar Round and Long Count with a wildcard, calculate all possible\n * matching fully qualified Long Counts with CalendarRounds.\n */\nclass FullDateWildcard {\n /**\n * @param {FullDate} partialDate\n */\n constructor(partialDate) {\n /**\n * @type {FullDate}\n */\n this.fullDate = partialDate;\n }\n\n /**\n * Run calculation to find all fully qualified Long Counts with Calendar Rounds\n * @return {FullDate[]}\n */\n run() {\n if (this.fullDate.lc.isPartial()) {\n const lcs = new LongCountWildcard(this.fullDate.lc).run();\n\n const mappedLcs = lcs.map(function (potentialLc) {\n return potentialLc.buildFullDate();\n }\n );\n const flatMappedLcs = mappedLcs.flatMap(\n (fullDate) => (\n this.fullDate.cr.isPartial()\n ? new CalendarRoundWildcard(this.fullDate.cr).run()\n : [this.fullDate.cr]\n ).map(\n (cr) => [].concat(cr, fullDate)\n )\n );\n const filteredMappedLcs = flatMappedLcs.filter(\n (pair) => pair[0].equal(pair[1].cr)\n );\n return filteredMappedLcs;\n }\n // If we have a full formed LC fullDate, and a fullDate CR, then generate the\n // CR for the LC, and compare them. The fullDate CR will either match the\n // CR for the LC or it won't.\n const staticCr = this.fullDate.lc.buildCalendarRound();\n return (staticCr.match(this.fullDate.cr))\n ? [new FullDate(staticCr, this.fullDate.lc)]\n : [];\n }\n}\n\nmodule.exports = FullDateWildcard;\n", + "content": "import FullDate from '../full-date';\nimport LongCountWildcard from './longcount-wildcard';\nimport CalendarRoundWildcard from './calendar-round-wildcard';\n\n/** @ignore */\nconst concat = (x, y) => x.concat(y);\n\n/** @ignore */\nconst flatMap = (f, xs) => xs.map(f).reduce(concat, []);\n\n/** @ignore */\n// eslint-disable-next-line no-extend-native,func-names\nArray.prototype.flatMap = function (f) {\n return flatMap(f, this);\n};\n\n/**\n * Given a Calendar Round and Long Count with a wildcard, calculate all possible\n * matching fully qualified Long Counts with CalendarRounds.\n */\nexport default class FullDateWildcard {\n /**\n * @param {FullDate} partialDate\n */\n constructor(partialDate) {\n /**\n * @type {FullDate}\n */\n this.fullDate = partialDate;\n }\n\n /**\n * Run calculation to find all fully qualified Long Counts with Calendar Rounds\n * @return {FullDate[]}\n */\n run() {\n if (this.fullDate.lc.isPartial()) {\n const lcs = new LongCountWildcard(this.fullDate.lc).run();\n\n const mappedLcs = lcs.map((potentialLc) => potentialLc.buildFullDate());\n const flatMappedLcs = mappedLcs.flatMap(\n (fullDate) => (\n this.fullDate.cr.isPartial()\n ? new CalendarRoundWildcard(this.fullDate.cr).run()\n : [this.fullDate.cr]\n ).map(\n (cr) => [].concat(cr, fullDate)\n )\n );\n const filteredMappedLcs = flatMappedLcs.filter(\n (pair) => pair[0].equal(pair[1].cr)\n );\n return filteredMappedLcs;\n }\n // If we have a full formed LC fullDate, and a fullDate CR, then generate the\n // CR for the LC, and compare them. The fullDate CR will either match the\n // CR for the LC or it won't.\n const staticCr = this.fullDate.lc.buildCalendarRound();\n return (staticCr.match(this.fullDate.cr))\n ? [new FullDate(staticCr, this.fullDate.lc)]\n : [];\n }\n}\n", "static": true, - "longname": "/home/drews/Development/maya-dates/src/operations/fulldate-wildcard.js", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/operations/fulldate-wildcard.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 314, - "kind": "variable", - "name": "FullDate", - "memberof": "src/operations/fulldate-wildcard.js", - "static": true, - "longname": "src/operations/fulldate-wildcard.js~FullDate", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/operations/fulldate-wildcard.js", - "importStyle": null, - "description": null, - "lineNumber": 2, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 315, - "kind": "variable", - "name": "LongCountWildcard", - "memberof": "src/operations/fulldate-wildcard.js", - "static": true, - "longname": "src/operations/fulldate-wildcard.js~LongCountWildcard", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/operations/fulldate-wildcard.js", - "importStyle": null, - "description": null, - "lineNumber": 4, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 316, - "kind": "variable", - "name": "CalendarRoundWildcard", - "memberof": "src/operations/fulldate-wildcard.js", - "static": true, - "longname": "src/operations/fulldate-wildcard.js~CalendarRoundWildcard", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/operations/fulldate-wildcard.js", - "importStyle": null, - "description": null, - "lineNumber": 6, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 317, + "__docId__": 272, "kind": "function", "name": "concat", "memberof": "src/operations/fulldate-wildcard.js", @@ -6408,7 +5461,7 @@ "importPath": "@drewsonne/maya-dates/src/operations/fulldate-wildcard.js", "importStyle": null, "description": null, - "lineNumber": 9, + "lineNumber": 6, "ignore": true, "params": [ { @@ -6427,7 +5480,7 @@ "return": null }, { - "__docId__": 318, + "__docId__": 273, "kind": "function", "name": "flatMap", "memberof": "src/operations/fulldate-wildcard.js", @@ -6440,7 +5493,7 @@ "importPath": "@drewsonne/maya-dates/src/operations/fulldate-wildcard.js", "importStyle": null, "description": null, - "lineNumber": 12, + "lineNumber": 9, "ignore": true, "params": [ { @@ -6459,7 +5512,7 @@ "return": null }, { - "__docId__": 319, + "__docId__": 274, "kind": "function", "name": "flatMap", "memberof": "src/operations/fulldate-wildcard.js", @@ -6472,7 +5525,7 @@ "importPath": "@drewsonne/maya-dates/src/operations/fulldate-wildcard.js", "importStyle": null, "description": null, - "lineNumber": 16, + "lineNumber": 13, "ignore": true, "params": [ { @@ -6489,22 +5542,22 @@ } }, { - "__docId__": 320, + "__docId__": 275, "kind": "class", "name": "FullDateWildcard", "memberof": "src/operations/fulldate-wildcard.js", "static": true, "longname": "src/operations/fulldate-wildcard.js~FullDateWildcard", "access": "public", - "export": false, + "export": true, "importPath": "@drewsonne/maya-dates/src/operations/fulldate-wildcard.js", - "importStyle": null, + "importStyle": "FullDateWildcard", "description": "Given a Calendar Round and Long Count with a wildcard, calculate all possible\nmatching fully qualified Long Counts with CalendarRounds.", - "lineNumber": 24, + "lineNumber": 21, "interface": false }, { - "__docId__": 321, + "__docId__": 276, "kind": "constructor", "name": "constructor", "memberof": "src/operations/fulldate-wildcard.js~FullDateWildcard", @@ -6514,7 +5567,7 @@ "longname": "src/operations/fulldate-wildcard.js~FullDateWildcard#constructor", "access": "public", "description": "", - "lineNumber": 28, + "lineNumber": 25, "params": [ { "nullable": null, @@ -6529,7 +5582,7 @@ ] }, { - "__docId__": 322, + "__docId__": 277, "kind": "member", "name": "fullDate", "memberof": "src/operations/fulldate-wildcard.js~FullDateWildcard", @@ -6537,7 +5590,7 @@ "longname": "src/operations/fulldate-wildcard.js~FullDateWildcard#fullDate", "access": "public", "description": "", - "lineNumber": 32, + "lineNumber": 29, "type": { "nullable": null, "types": [ @@ -6548,7 +5601,7 @@ } }, { - "__docId__": 323, + "__docId__": 278, "kind": "method", "name": "run", "memberof": "src/operations/fulldate-wildcard.js~FullDateWildcard", @@ -6558,7 +5611,7 @@ "longname": "src/operations/fulldate-wildcard.js~FullDateWildcard#run", "access": "public", "description": "Run calculation to find all fully qualified Long Counts with Calendar Rounds", - "lineNumber": 39, + "lineNumber": 36, "return": { "nullable": null, "types": [ @@ -6570,89 +5623,29 @@ "params": [] }, { - "__docId__": 324, + "__docId__": 279, "kind": "file", "name": "src/operations/index.js", - "content": "/** @ignore */\nconst LongCountWildcard = require('./longcount-wildcard');\n/** @ignore */\nconst CalendarRoundWildcard = require('./calendar-round-wildcard');\n/** @ignore */\nconst FullDateWildcard = require('./fulldate-wildcard');\n\nmodule.exports = {\n LongCountWildcard,\n CalendarRoundWildcard,\n FullDateWildcard\n};\n", + "content": "import LongCountWildcard from './longcount-wildcard';\nimport CalendarRoundWildcard from './calendar-round-wildcard';\nimport FullDateWildcard from './fulldate-wildcard';\n\nexport default {\n LongCountWildcard,\n CalendarRoundWildcard,\n FullDateWildcard\n};\n", "static": true, - "longname": "/home/drews/Development/maya-dates/src/operations/index.js", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/operations/index.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 325, - "kind": "variable", - "name": "LongCountWildcard", - "memberof": "src/operations/index.js", - "static": true, - "longname": "src/operations/index.js~LongCountWildcard", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/operations/index.js", - "importStyle": null, - "description": null, - "lineNumber": 2, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 326, - "kind": "variable", - "name": "CalendarRoundWildcard", - "memberof": "src/operations/index.js", - "static": true, - "longname": "src/operations/index.js~CalendarRoundWildcard", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/operations/index.js", - "importStyle": null, - "description": null, - "lineNumber": 4, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 327, - "kind": "variable", - "name": "FullDateWildcard", - "memberof": "src/operations/index.js", - "static": true, - "longname": "src/operations/index.js~FullDateWildcard", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/operations/index.js", - "importStyle": null, - "description": null, - "lineNumber": 6, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 328, + "__docId__": 280, "kind": "file", "name": "src/operations/longcount-addition.js", "content": "/**\n * Operation to sum two Long Count Dates\n */\nclass LongcountAddition {\n /**\n * @param {object} lcClass - Special param to pass the LongCount class into this operator to\n * avoid circular require.\n * @param {LongCount} a - First date to sum\n * @param {LongCount} b - Second date to sum\n */\n constructor(lcClass, a, b) {\n /**\n * @type {LongCount}\n */\n this.a = a;\n\n /**\n * @type {LongCount}\n */\n this.b = b;\n\n /** @ignore */\n this.LcClass = lcClass;\n }\n\n /**\n * Return the sum result of this Addition operator.\n * @return {LongCount}\n */\n equals() {\n const aLen = this.a.parts.length;\n const bLen = this.b.parts.length;\n const length = Math.max(aLen, bLen);\n const aParts = this.a.parts.concat(new Array(length - aLen).fill(0));\n const bParts = this.b.parts.concat(new Array(length - bLen).fill(0));\n\n const newParts = aParts.map((p, i) => p + bParts[i]);\n\n let carry = 0;\n let i = 0;\n while (i < newParts.length || carry > 0) {\n newParts[i] += carry;\n carry = 0;\n const monthLength = (i === 1) ? 15 : 20;\n if (newParts[i] >= monthLength) {\n const positionValue = newParts[i] % monthLength;\n carry = Math.floor(newParts[i] / monthLength);\n newParts[i] = positionValue;\n }\n i += 1;\n }\n return new this.LcClass(...newParts);\n }\n}\n\nmodule.exports = LongcountAddition;\n", "static": true, - "longname": "/home/drews/Development/maya-dates/src/operations/longcount-addition.js", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/operations/longcount-addition.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 329, + "__docId__": 281, "kind": "class", "name": "LongcountAddition", "memberof": "src/operations/longcount-addition.js", @@ -6667,7 +5660,7 @@ "interface": false }, { - "__docId__": 330, + "__docId__": 282, "kind": "constructor", "name": "constructor", "memberof": "src/operations/longcount-addition.js~LongcountAddition", @@ -6712,7 +5705,7 @@ ] }, { - "__docId__": 331, + "__docId__": 283, "kind": "member", "name": "a", "memberof": "src/operations/longcount-addition.js~LongcountAddition", @@ -6731,7 +5724,7 @@ } }, { - "__docId__": 332, + "__docId__": 284, "kind": "member", "name": "b", "memberof": "src/operations/longcount-addition.js~LongcountAddition", @@ -6750,7 +5743,7 @@ } }, { - "__docId__": 333, + "__docId__": 285, "kind": "member", "name": "LcClass", "memberof": "src/operations/longcount-addition.js~LongcountAddition", @@ -6767,7 +5760,7 @@ } }, { - "__docId__": 334, + "__docId__": 286, "kind": "method", "name": "equals", "memberof": "src/operations/longcount-addition.js~LongcountAddition", @@ -6789,18 +5782,18 @@ "params": [] }, { - "__docId__": 335, + "__docId__": 287, "kind": "file", "name": "src/operations/longcount-subtraction.js", "content": "/**\n * Operation to diff two Long Count Dates\n */\nclass LongcountSubtraction {\n /**\n * @param {object} lcClass - Special param to pass the LongCount class into this operator to\n * avoid circular require.\n * @param {LongCount} a - First date to diff\n * @param {LongCount} b - Second date to diff\n */\n constructor(lcClass, a, b) {\n /**\n * @type {LongCount}\n */\n this.a = a;\n\n /**\n * @type {LongCount}\n */\n this.b = b;\n\n /** @ignore */\n this.LcClass = lcClass;\n }\n\n /**\n * Return the diff result of this Subtraction operator.\n * @return {LongCount}\n */\n equals() {\n const aLen = this.a.parts.length;\n const bLen = this.b.parts.length;\n const length = Math.max(aLen, bLen);\n const aParts = this.a.parts.concat(new Array(length - aLen).fill(0));\n const bParts = this.b.parts.concat(new Array(length - bLen).fill(0));\n const isInverted = this.a.lt(this.b);\n\n const newParts = aParts.map((p, i) => (isInverted ? (bParts[i] - p) : (p - bParts[i])));\n\n let carry = 0;\n let i = 0;\n while (i < newParts.length || carry < 0) {\n newParts[i] += carry;\n carry = 0;\n while (newParts[i] < 0) {\n carry -= 1;\n const nextPositionMonthLength = (i === 1) ? 15 : 20;\n newParts[i] += nextPositionMonthLength;\n }\n i += 1;\n }\n\n for (i = newParts.length - 1; i > 0; i -= 1) {\n if (newParts[i] === 0) {\n newParts.pop();\n } else {\n i = 0;\n }\n }\n const newLC = new this.LcClass(...newParts);\n newLC.isPositive = !isInverted;\n return newLC;\n }\n}\n\nmodule.exports = LongcountSubtraction;\n", "static": true, - "longname": "/home/drews/Development/maya-dates/src/operations/longcount-subtraction.js", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/operations/longcount-subtraction.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 336, + "__docId__": 288, "kind": "class", "name": "LongcountSubtraction", "memberof": "src/operations/longcount-subtraction.js", @@ -6815,7 +5808,7 @@ "interface": false }, { - "__docId__": 337, + "__docId__": 289, "kind": "constructor", "name": "constructor", "memberof": "src/operations/longcount-subtraction.js~LongcountSubtraction", @@ -6860,7 +5853,7 @@ ] }, { - "__docId__": 338, + "__docId__": 290, "kind": "member", "name": "a", "memberof": "src/operations/longcount-subtraction.js~LongcountSubtraction", @@ -6879,7 +5872,7 @@ } }, { - "__docId__": 339, + "__docId__": 291, "kind": "member", "name": "b", "memberof": "src/operations/longcount-subtraction.js~LongcountSubtraction", @@ -6898,7 +5891,7 @@ } }, { - "__docId__": 340, + "__docId__": 292, "kind": "member", "name": "LcClass", "memberof": "src/operations/longcount-subtraction.js~LongcountSubtraction", @@ -6915,7 +5908,7 @@ } }, { - "__docId__": 341, + "__docId__": 293, "kind": "method", "name": "equals", "memberof": "src/operations/longcount-subtraction.js~LongcountSubtraction", @@ -6937,53 +5930,33 @@ "params": [] }, { - "__docId__": 342, + "__docId__": 294, "kind": "file", "name": "src/operations/longcount-wildcard.js", - "content": "/** @ignore */\nconst wildcard = require('../wildcard');\n\n/**\n * Given a Long Count with a wildcard, calculate all possible matching fully\n * qualified Long Counts.\n */\nclass LongCountWildcard {\n /**\n * @param {LongCount} lc\n */\n constructor(lc) {\n /**\n * @type {LongCount}\n */\n this.lc = lc;\n }\n\n /**\n * Run calculation to find all fully qualified Long Counts\n * @return {LongCount[]}\n */\n run() {\n const wcIndexes = this.lc.map(\n (part, i) => ((part === wildcard) ? i : false)\n );\n\n const filteredWcIndexes = wcIndexes.filter(\n (i) => i !== false\n );\n\n return filteredWcIndexes.reduce(\n function (potentials, position) {\n const a = potentials.reduce(\n function (acc, possible) {\n const dayMonths = new Array((position === 1) ? 15 : 20);\n const filledDayMonths = dayMonths.fill();\n const b = filledDayMonths.map(function (_, i) {\n const clone = possible.clone();\n const adjusted = clone.setDateSections(position, i);\n return adjusted;\n }).concat(acc);\n return b;\n },\n []\n );\n return a;\n },\n [this.lc]\n );\n\n }\n}\n\nmodule.exports = LongCountWildcard;\n", + "content": "import wildcard from '../wildcard';\n\n/**\n * Given a Long Count with a wildcard, calculate all possible matching fully\n * qualified Long Counts.\n */\nexport default class LongCountWildcard {\n /**\n * @param {LongCount} lc\n */\n constructor(lc) {\n /**\n * @type {LongCount}\n */\n this.lc = lc;\n }\n\n /**\n * Run calculation to find all fully qualified Long Counts\n * @return {LongCount[]}\n */\n run() {\n return this.lc.map(\n (part, i) => ((part === wildcard) ? i : false)\n ).filter(\n (i) => i !== false\n ).reduce(\n (potentials, position) => potentials.reduce(\n (acc, possible) => new Array(\n (position === 1) ? 15 : 20\n ).fill().map(\n (_, i) => possible.clone().setDateSections(position, i)\n ).concat(acc),\n []\n ),\n [this.lc]\n );\n }\n}\n", "static": true, - "longname": "/home/drews/Development/maya-dates/src/operations/longcount-wildcard.js", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/operations/longcount-wildcard.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 343, - "kind": "variable", - "name": "wildcard", - "memberof": "src/operations/longcount-wildcard.js", - "static": true, - "longname": "src/operations/longcount-wildcard.js~wildcard", - "access": "public", - "export": false, - "importPath": "@drewsonne/maya-dates/src/operations/longcount-wildcard.js", - "importStyle": null, - "description": null, - "lineNumber": 2, - "ignore": true, - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 344, + "__docId__": 295, "kind": "class", "name": "LongCountWildcard", "memberof": "src/operations/longcount-wildcard.js", "static": true, "longname": "src/operations/longcount-wildcard.js~LongCountWildcard", "access": "public", - "export": false, + "export": true, "importPath": "@drewsonne/maya-dates/src/operations/longcount-wildcard.js", - "importStyle": null, + "importStyle": "LongCountWildcard", "description": "Given a Long Count with a wildcard, calculate all possible matching fully\nqualified Long Counts.", - "lineNumber": 8, + "lineNumber": 7, "interface": false }, { - "__docId__": 345, + "__docId__": 296, "kind": "constructor", "name": "constructor", "memberof": "src/operations/longcount-wildcard.js~LongCountWildcard", @@ -6993,7 +5966,7 @@ "longname": "src/operations/longcount-wildcard.js~LongCountWildcard#constructor", "access": "public", "description": "", - "lineNumber": 12, + "lineNumber": 11, "params": [ { "nullable": null, @@ -7008,7 +5981,7 @@ ] }, { - "__docId__": 346, + "__docId__": 297, "kind": "member", "name": "lc", "memberof": "src/operations/longcount-wildcard.js~LongCountWildcard", @@ -7016,7 +5989,7 @@ "longname": "src/operations/longcount-wildcard.js~LongCountWildcard#lc", "access": "public", "description": "", - "lineNumber": 16, + "lineNumber": 15, "type": { "nullable": null, "types": [ @@ -7027,7 +6000,7 @@ } }, { - "__docId__": 347, + "__docId__": 298, "kind": "method", "name": "run", "memberof": "src/operations/longcount-wildcard.js~LongCountWildcard", @@ -7037,7 +6010,7 @@ "longname": "src/operations/longcount-wildcard.js~LongCountWildcard#run", "access": "public", "description": "Run calculation to find all fully qualified Long Counts", - "lineNumber": 23, + "lineNumber": 22, "return": { "nullable": null, "types": [ @@ -7049,36 +6022,37 @@ "params": [] }, { - "__docId__": 348, + "__docId__": 299, "kind": "file", "name": "src/wildcard.js", - "content": "/**\n * Describes a wildcard in the Calendar Round or Long Count.\n * This class is not directly exposed to the user. There is a singleton in this\n * library to allow for use and equality comparison.\n * @example\n * const mayadates = require('maya-dates')\n * let cr = new mayadates.factory.CalendarRoundFactory().parse(\n * '4 Ajaw 8 *')\n * console.log(cr.haab.month === mayadates.wildcard)\n * > true\n */\nclass Wildcard {\n /**\n * Represent the Wildcard as a string. ie, '*'.\n * @returns {string}\n */\n // eslint-disable-next-line class-methods-use-this\n toString() {\n return '*';\n }\n}\n\nmodule.exports = new Wildcard();\n", + "content": "/**\n * Describes a wildcard in the Calendar Round or Long Count.\n * This class is not directly exposed to the user. There is a singleton in this\n * library to allow for use and equality comparison.\n * @example\n * const mayadates = require('maya-dates')\n * let cr = new mayadates.factory.CalendarRoundFactory().parse('4 Ajaw 8 *')\n * console.log(cr.haab.month === mayadates.wildcard)\n * > true\n */\nclass Wildcard {\n /**\n * Represent the Wildcard as a string. ie, '*'.\n * @returns {string}\n */\n // eslint-disable-next-line class-methods-use-this\n toString() {\n return '*';\n }\n}\n\nexport default new Wildcard();\n", "static": true, - "longname": "/home/drews/Development/maya-dates/src/wildcard.js", + "longname": "/Users/drews/Dropbox/Development/maya-dates/src/wildcard.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 349, + "__docId__": 300, "kind": "class", "name": "Wildcard", "memberof": "src/wildcard.js", "static": true, "longname": "src/wildcard.js~Wildcard", "access": "public", - "export": false, + "export": true, "importPath": "@drewsonne/maya-dates/src/wildcard.js", "importStyle": null, "description": "Describes a wildcard in the Calendar Round or Long Count.\nThis class is not directly exposed to the user. There is a singleton in this\nlibrary to allow for use and equality comparison.", "examples": [ - "const mayadates = require('maya-dates')\nlet cr = new mayadates.factory.CalendarRoundFactory().parse(\n '4 Ajaw 8 *')\nconsole.log(cr.haab.month === mayadates.wildcard)\n> true" + "const mayadates = require('maya-dates')\nlet cr = new mayadates.factory.CalendarRoundFactory().parse('4 Ajaw 8 *')\nconsole.log(cr.haab.month === mayadates.wildcard)\n> true" ], - "lineNumber": 12, + "lineNumber": 11, + "pseudoExport": true, "interface": false }, { - "__docId__": 350, + "__docId__": 301, "kind": "method", "name": "toString", "memberof": "src/wildcard.js~Wildcard", @@ -7088,7 +6062,7 @@ "longname": "src/wildcard.js~Wildcard#toString", "access": "public", "description": "Represent the Wildcard as a string. ie, '*'.", - "lineNumber": 18, + "lineNumber": 17, "unknown": [ { "tagName": "@returns", @@ -7105,18 +6079,39 @@ }, "params": [] }, + { + "__docId__": 302, + "kind": "variable", + "name": "wildcard", + "memberof": "src/wildcard.js", + "static": true, + "longname": "src/wildcard.js~wildcard", + "access": "public", + "export": true, + "importPath": "@drewsonne/maya-dates/src/wildcard.js", + "importStyle": "wildcard", + "description": null, + "lineNumber": 22, + "undocument": true, + "type": { + "types": [ + "src/wildcard.js~Wildcard" + ] + }, + "ignore": true + }, { "kind": "index", - "content": "# @drewsonne/maya-dates\n\nA library for interacting with and modifying both the Maya Long Count (LC)\nand Calendar Round (CR) dates.\n\n# Quickstart\n```sh\nnpm install [-g] @drewsonne/maya-dates\n```\n\n```javascript\nconst mayadates = require('@drewsonne/maya-dates');\n// Long Count from Initial Series on east side of Stele E, Quirigua\nlet lc = new mayadates.factory.LongCountFactory().parse('9.17.0.0.0');\nconsole.log(`${lc.buildFullDate()}`);\n```\nThis should print `13 Ajaw 18 Kumk'u 9.17. 0. 0. 0`.\n\n## Instructions\n\nMost implementations will consist of creating a fullDate, and passing it to an operation.\n\n### Date Creation\nCreating a fullDate can be done either by:\n\n - using a factory class ([LongCountFactory](https://drewsonne.github.io/maya-dates/class/src/factory/long-count.js~LongCountFactory.html),\n [CalendarRoundFactory](https://drewsonne.github.io/maya-dates/class/src/factory/calendar-round.js~CalendarRoundFactory.html),\n [FullDateFactory](https://drewsonne.github.io/maya-dates/class/src/factory/full-date.js~FullDateFactory.html))\n and calling its `parse(raw_string)` function, where `raw_string` is a LC, CR,\n or CR and LC combination encoded as a string. To specify missing values in a\n fullDate, using `*`. For example,\n\n```javascript\nconst mayadates = require('@drewsonne/maya-dates');\n\nconst wildcard = mayadates.wildcard;\n\nconst partial_lc = new mayadates.factory.LongCountFactory().parse('9.17.0.0.*');\nconst partial_cr = new mayadates.factory.CalendarRoundFactory().parse('13 Ajaw * Kumk\\'u');\nconst partial_date = new mayadates.factory.FullDateFactory().parse('13 Ajaw * Kumk\\'u 9.17.0.0.*');\n\nconsole.log(`LC: ${partial_lc.kIn === wildcard}`);\nconsole.log(`CR: ${partial_cr.haab.coeff === wildcard}`);\nconsole.log(`Full Date: ${partial_date.lc.kIn === wildcard}`);\n```\n\n - passing explicit values into a model factory or class ([getCalendarRound](https://drewsonne.github.io/maya-dates/docs/function/index.html#static-function-getCalendarRound),\n [LongCount](https://drewsonne.github.io/maya-dates/class/src/lc/long-count.js~LongCount.html),\n [FullDate](https://drewsonne.github.io/maya-dates/docs/class/src/full-date.js~FullDate.html)).\n\n```javascript\nconst mayadates = require('@drewsonne/maya-dates');\n\nconst cr = mayadates.cr.getCalendarRound(\n 13, 'Ajaw',\n 18, mayadates.cr.getHaabMonth('Kumk\\'u')\n);\nconst lc = mayadates.lc.LongCount(0, 0, 0, 17, 9);\nconst fullDate = new mayadates.FullDate(cr, lc);\n\nconsole.log(`${lc}`);\nconsole.log(`${cr}`);\nconsole.log(`${fullDate}`);\n```\n\n### Operations\nOnce a full date object has been created, you can either add an integer to a fullDate\nusing `shift(number)`, or filling in missing values in wildcards. The\n[`operations`](https://drewsonne.github.io/maya-dates/identifiers.html#operations)\nnamespace provides operators to expand a fullDate with a wildcard into all possible\nvalues for dates matching that wildcard pattern.\n\n## Documentation\n\nFull documentation and reference can be found at\n[https://drewsonne.github.io/maya-dates/](https://drewsonne.github.io/maya-dates/).\n\n", - "longname": "/home/drews/Development/maya-dates/README.md", + "content": "# @drewsonne/maya-dates\n\nA library for interacting with and modifying both the Maya Long Count (LC)\nand Calendar Round (CR) dates.\n\n# Quickstart\n```sh\nnpm install [-g] @drewsonne/maya-dates\n```\n\n```javascript\nconst mayadates = require('@drewsonne/maya-dates');\n// Long Count from Initial Series on east side of Stele E, Quirigua\nlet lc = new mayadates.factory.LongCountFactory().parse('9.17.0.0.0');\nconsole.log(`${lc.buildFullDate()}`);\n```\nThis should print `13 Ajaw 18 Kumk'u 9.17. 0. 0. 0`.\n\n## Instructions\n\nMost implementations will consist of creating a fullDate, and passing it to an operation.\n\n### Date Creation\nCreating a fullDate can be done either by:\n\n - using a factory class ([LongCountFactory](https://drewsonne.github.io/maya-dates/class/src/factory/long-count.js~LongCountFactory.html),\n [CalendarRoundFactory](https://drewsonne.github.io/maya-dates/class/src/factory/calendar-round.js~CalendarRoundFactory.html),\n [FullDateFactory](https://drewsonne.github.io/maya-dates/class/src/factory/full-date.js~FullDateFactory.html))\n and calling its `parse(raw_string)` function, where `raw_string` is a LC, CR,\n or CR and LC combination encoded as a string. To specify missing values in a\n fullDate, using `*`. For example,\n\n```javascript\nconst mayadates = require('@drewsonne/maya-dates');\n\nconst wildcard = mayadates.wildcard;\n\nconst partial_lc = new mayadates.factory.LongCountFactory().parse('9.17.0.0.*');\nconst partial_cr = new mayadates.factory.CalendarRoundFactory().parse('13 Ajaw * Kumk\\'u');\nconst partial_date = new mayadates.factory.FullDateFactory().parse('13 Ajaw * Kumk\\'u 9.17.0.0.*');\n\nconsole.log(`LC: ${partial_lc.kIn === wildcard}`);\nconsole.log(`CR: ${partial_cr.haab.coeff === wildcard}`);\nconsole.log(`Full Date: ${partial_date.lc.kIn === wildcard}`);\n```\n\n - passing explicit values into a model factory or class ([getCalendarRound](https://drewsonne.github.io/maya-dates/docs/function/index.html#static-function-getCalendarRound),\n [LongCount](https://drewsonne.github.io/maya-dates/class/src/lc/long-count.js~LongCount.html),\n [FullDate](https://drewsonne.github.io/maya-dates/docs/class/src/full-date.js~FullDate.html)).\n\n```javascript\nconst mayadates = require('@drewsonne/maya-dates');\n\nconst calendarRound = mayadates.calendarRound.getCalendarRound(\n 13, 'Ajaw',\n 18, mayadates.calendarRound.getHaabMonth('Kumk\\'u')\n);\nconst lc = mayadates.lc.LongCount(0, 0, 0, 17, 9);\nconst fullDate = new mayadates.FullDate(calendarRound, lc);\n\nconsole.log(`${lc}`);\nconsole.log(`${calendarRound}`);\nconsole.log(`${fullDate}`);\n```\n\n### Operations\nOnce a full date object has been created, you can either add an integer to a fullDate\nusing `shift(number)`, or filling in missing values in wildcards. The\n[`operations`](https://drewsonne.github.io/maya-dates/identifiers.html#operations)\nnamespace provides operators to expand a fullDate with a wildcard into all possible\nvalues for dates matching that wildcard pattern.\n\n## Documentation\n\nFull documentation and reference can be found at\n[https://drewsonne.github.io/maya-dates/](https://drewsonne.github.io/maya-dates/).\n\n", + "longname": "/Users/drews/Dropbox/Development/maya-dates/README.md", "name": "./README.md", "static": true, "access": "public" }, { "kind": "packageJSON", - "content": "{\n \"name\": \"@drewsonne/maya-dates\",\n \"version\": \"1.0.8\",\n \"description\": \"Node.js package to represent dates in the Maya Calendar\",\n \"main\": \"src/index.js\",\n \"scripts\": {\n \"test\": \"jest\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+ssh://git@github.com/drewsonne/maya-dates.git\"\n },\n \"keywords\": [\n \"digital-humanities\",\n \"maya\",\n \"maya-calendar\"\n ],\n \"author\": \"Drew J. Sonne\",\n \"license\": \"GPL-3.0\",\n \"bugs\": {\n \"url\": \"https://github.com/drewsonne/maya-dates/issues\"\n },\n \"homepage\": \"https://github.com/drewsonne/maya-dates#readme\",\n \"devDependencies\": {\n \"esdoc\": \"1.1.0\",\n \"esdoc-standard-plugin\": \"1.0.0\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-airbnb-base\": \"^14.0.0\",\n \"eslint-plugin-import\": \"^2.19.1\",\n \"eslint-plugin-jest\": \"^23.3.0\",\n \"jest\": \"^24.9.0\"\n },\n \"jest\": {\n \"testEnvironment\": \"node\"\n },\n \"dependencies\": {\n \"moonbeams\": \"^2.0.2\",\n \"moment-timezone\": \"^0.5.26\",\n \"moment\": \"^2.24.0\"\n }\n}\n", - "longname": "/home/drews/Development/maya-dates/package.json", + "content": "{\n \"name\": \"@drewsonne/maya-dates\",\n \"version\": \"1.0.9\",\n \"description\": \"Node.js package to represent dates in the Maya Calendar\",\n \"main\": \"src/index.js\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+ssh://git@github.com/drewsonne/maya-dates.git\"\n },\n \"keywords\": [\n \"digital-humanities\",\n \"maya\",\n \"maya-calendar\"\n ],\n \"author\": \"Drew J. Sonne \",\n \"license\": \"GPL-3.0\",\n \"private\": false,\n \"devDependencies\": {\n \"esdoc\": \"1.1.0\",\n \"esdoc-standard-plugin\": \"1.0.0\",\n \"eslint\": \"^6.8.0\",\n \"eslint-config-airbnb-base\": \"^14.0.0\",\n \"eslint-plugin-import\": \"^2.19.1\",\n \"eslint-plugin-jest\": \"^23.3.0\",\n \"jest-cli\": \"^25.1.0\",\n \"regenerator-runtime\": \"^0.13.3\",\n \"@babel/preset-env\": \"^7.8.4\"\n },\n \"scripts\": {\n \"test\": \"jest\"\n },\n \"jest\": {\n \"testEnvironment\": \"node\",\n \"transform\": {\n \"^.+\\\\.[t|j]sx?$\": \"babel-jest\"\n }\n },\n \"dependencies\": {\n \"moonbeams\": \"^2.0.2\",\n \"moment-timezone\": \"^0.5.26\",\n \"moment\": \"^2.24.0\"\n },\n \"bugs\": {\n \"url\": \"https://github.com/drewsonne/maya-dates/issues\"\n },\n \"homepage\": \"https://github.com/drewsonne/maya-dates#readme\",\n \"preset\": \"react-native\"\n}\n", + "longname": "/Users/drews/Dropbox/Development/maya-dates/package.json", "name": "package.json", "static": true, "access": "public" diff --git a/docs/script/search_index.js b/docs/script/search_index.js index 444177b..d346c16 100644 --- a/docs/script/search_index.js +++ b/docs/script/search_index.js @@ -137,12 +137,6 @@ window.esdocSearchIndex = [ "Wildcard @drewsonne/maya-dates/src/wildcard.js", "class" ], - [ - "@drewsonne/maya-dates/src/lc/night/lord-of-night.js~get", - "function/index.html#static-function-get", - "get @drewsonne/maya-dates/src/lc/night/lord-of-night.js", - "function" - ], [ "@drewsonne/maya-dates/src/cr/calendar-round.js~getcalendarround", "function/index.html#static-function-getCalendarRound", @@ -1362,9 +1356,9 @@ window.esdocSearchIndex = [ "member" ], [ - "src/operations/calendar-round-iterator.js", - "file/src/operations/calendar-round-iterator.js.html", - "src/operations/calendar-round-iterator.js", + "src/operations/calendar-round-iter.js", + "file/src/operations/calendar-round-iter.js.html", + "src/operations/calendar-round-iter.js", "file" ], [ diff --git a/docs/source.html b/docs/source.html index 39b7e21..9b77380 100644 --- a/docs/source.html +++ b/docs/source.html @@ -50,7 +50,6 @@

  • CLongCount
  • FgetCorrelationConstant
  • lc/nightCLordOfNight
  • -
  • Fget
  • lc/westernCGregorianCalendarDate
  • CJulianCalendarDate
  • CWesternCalendar
  • @@ -63,7 +62,7 @@
    -

    Source 261/261

    +

    Source 199/212

    @@ -82,216 +81,215 @@ - - - - + + + + - - - + + + - - - - + + + + - - - - + + + + - - - + + + - - - - + + + + - - - + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - + + + - - - - + + + + - - - + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - - - + + + + + + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + - + - - - - + + + + - - - - + + + + - - - - + + + + - - - - + + + + @@ -299,7 +297,7 @@ - + @@ -307,23 +305,23 @@ - + - - - - + + + + - + - - - - + + + +
    src/cr/calendar-round.js CalendarRound getCalendarRound100 %19/195624 byte1992020-01-05 08:07:49 (UTC)100 %15/155751 byte2072020-03-02 21:52:14 (UTC)
    src/cr/haab-month.js HaabMonth getHaabMonth 100 %12/122389 byte1322020-01-07 12:17:32 (UTC)2378 byte1312020-03-02 21:52:14 (UTC)
    src/cr/haab.js Haab getHaab100 %16/164352 byte1802020-01-07 12:17:32 (UTC)100 %14/144312 byte1782020-03-02 21:52:14 (UTC)
    src/cr/index.js -100 %3/3253 byte142020-01-04 09:26:24 (UTC)-197 byte102020-03-02 21:52:14 (UTC)
    src/cr/tzolkin-day.js TzolkinDay getTzolkinDay 100 %12/122546 byte1272020-01-07 12:17:32 (UTC)2529 byte1262020-03-02 21:52:14 (UTC)
    src/cr/tzolkin.js Tzolkin getTzolkin100 %16/164163 byte1802020-01-05 18:26:27 (UTC)100 %14/144120 byte1772020-03-02 21:52:14 (UTC)
    src/factory/base.js Factory 100 %4/4911 byte452020-01-07 12:17:32 (UTC)899 byte432020-03-02 21:52:14 (UTC)
    src/factory/calendar-round.js CalendarRoundFactory100 %6/61009 byte422020-01-01 18:32:54 (UTC)100 %4/4929 byte382020-03-02 21:52:14 (UTC)
    src/factory/full-date.js FullDateFactory100 %5/5741 byte312020-01-07 12:17:32 (UTC)100 %2/2661 byte262020-03-02 21:52:14 (UTC)
    src/factory/index.js -100 %3/3286 byte122020-01-07 12:17:32 (UTC)-224 byte92020-03-02 21:52:14 (UTC)
    src/factory/long-count.js LongCountFactory100 %5/51136 byte432020-01-07 12:17:32 (UTC)100 %2/21055 byte382020-03-02 21:52:14 (UTC)
    src/full-date.js FullDate 100 %5/5508 byte302020-01-05 18:26:27 (UTC)495 byte282020-03-02 21:52:14 (UTC)
    src/index.js -100 %6/6400 byte212020-01-07 12:17:32 (UTC)-278 byte152020-03-02 21:52:14 (UTC)
    src/lc/correlation-constant.js CorrelationConstant getCorrelationConstant 100 %6/61513 byte602020-01-05 21:08:00 (UTC)1485 byte572020-03-02 21:52:14 (UTC)
    src/lc/distance-number.js DistanceNumber100 %43/438998 byte3862020-01-04 09:49:52 (UTC)100 %39/399060 byte3852020-03-02 21:52:14 (UTC)
    src/lc/index.js -100 %4/4341 byte152020-01-04 09:40:39 (UTC)-347 byte132020-03-02 21:52:14 (UTC)
    src/lc/long-count.js LongCount100 %25/253538 byte1472020-01-05 08:08:26 (UTC)100 %14/143231 byte1322020-03-02 21:52:14 (UTC)
    src/lc/night/lord-of-night.jsLordOfNight -get100 %6/61067 byte522020-01-05 18:29:40 (UTC)src/lc/night/lord-of-night.jsLordOfNight29 %5/171261 byte552020-03-02 21:52:14 (UTC)
    src/lc/western/gregorian.js GregorianCalendarDate100 %3/31019 byte522020-01-05 21:19:31 (UTC)100 %2/2973 byte492020-03-02 21:52:14 (UTC)
    src/lc/western/index.js -100 %2/2202 byte92020-01-05 21:08:00 (UTC)-159 byte72020-03-02 21:52:14 (UTC)
    src/lc/western/julian.js JulianCalendarDate100 %3/3888 byte462020-01-05 21:19:31 (UTC)100 %2/2845 byte432020-03-02 21:52:14 (UTC)
    src/lc/western/western.js WesternCalendar100 %11/111631 byte832020-01-05 21:08:00 (UTC)100 %10/101590 byte792020-03-02 21:52:14 (UTC)
    src/operations/calendar-round-iterator.jssrc/operations/calendar-round-iter.js -100 %8/81289 byte622020-01-05 18:26:27 (UTC)100 %7/71240 byte592020-03-02 21:52:14 (UTC)
    src/operations/calendar-round-wildcard.js CalendarRoundWildcard100 %6/6955 byte462020-01-05 18:26:27 (UTC)100 %5/5904 byte422020-03-02 21:52:14 (UTC)
    src/operations/fulldate-wildcard.js FullDateWildcard100 %10/102029 byte712020-01-07 12:17:32 (UTC)100 %7/71881 byte632020-03-02 21:52:14 (UTC)
    src/operations/index.js -100 %3/3317 byte122020-01-05 08:08:50 (UTC)-255 byte92020-03-02 21:52:14 (UTC)
    src/operations/longcount-addition.js100 %6/6 1407 byte 562020-01-05 18:26:27 (UTC)2020-03-02 19:57:23 (UTC)
    src/operations/longcount-subtraction.js100 %6/6 1634 byte 662020-01-05 21:08:00 (UTC)2020-03-02 19:57:23 (UTC)
    src/operations/longcount-wildcard.js LongCountWildcard100 %5/51263 byte552020-01-07 12:17:32 (UTC)100 %4/4838 byte392020-03-02 21:52:14 (UTC)
    src/wildcard.jssrc/wildcard.js Wildcard100 %2/2628 byte232020-01-05 18:26:27 (UTC)66 %2/3621 byte222020-03-02 21:52:14 (UTC)
    diff --git a/package-lock.json b/package-lock.json index b3b6a12..da2e402 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,18 +1,42 @@ { "name": "@drewsonne/maya-dates", - "version": "1.0.7", + "version": "1.0.10", "lockfileVersion": 1, "requires": true, "dependencies": { "@babel/code-frame": { "version": "7.5.5", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.5.5.tgz", - "integrity": "sha1-vAeC9tafe31JUxIZaZuYj2aaj50=", + "integrity": "sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw==", "dev": true, "requires": { "@babel/highlight": "^7.0.0" } }, + "@babel/compat-data": { + "version": "7.8.5", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.8.5.tgz", + "integrity": "sha512-jWYUqQX/ObOhG1UiEkbH5SANsE/8oKXiQWjj7p7xgj9Zmnt//aUvyz4dBkK0HNsS8/cbyC5NmmH87VekW+mXFg==", + "dev": true, + "requires": { + "browserslist": "^4.8.5", + "invariant": "^2.2.4", + "semver": "^5.5.0" + }, + "dependencies": { + "browserslist": { + "version": "4.8.7", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.8.7.tgz", + "integrity": "sha512-gFOnZNYBHrEyUML0xr5NJ6edFaaKbTFX9S9kQHlYfCP0Rit/boRIz4G+Avq6/4haEKJXdGGUnoolx+5MWW2BoA==", + "dev": true, + "requires": { + "caniuse-lite": "^1.0.30001027", + "electron-to-chromium": "^1.3.349", + "node-releases": "^1.1.49" + } + } + } + }, "@babel/core": { "version": "7.7.7", "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.7.7.tgz", @@ -72,67 +96,184 @@ } } }, - "@babel/helper-function-name": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.7.4.tgz", - "integrity": "sha1-q24EHnE11DbY8KPsoV3ltno0Gi4=", - "dev": true, - "requires": { - "@babel/helper-get-function-arity": "^7.7.4", - "@babel/template": "^7.7.4", - "@babel/types": "^7.7.4" - } - }, - "@babel/helper-get-function-arity": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.7.4.tgz", - "integrity": "sha1-y0Y0jS+ICOYy8KsEgXITDmNgBfA=", - "dev": true, - "requires": { - "@babel/types": "^7.7.4" - } - }, - "@babel/helper-plugin-utils": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0.tgz", - "integrity": "sha1-u7P77phmHFaQNCN8wDlnupm08lA=", - "dev": true - }, - "@babel/helper-split-export-declaration": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.7.4.tgz", - "integrity": "sha1-Vykq9gRDxKNiLPdAQN3Cjmgzb9g=", + "@babel/helper-annotate-as-pure": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.8.3.tgz", + "integrity": "sha512-6o+mJrZBxOoEX77Ezv9zwW7WV8DdluouRKNY/IR5u/YTMuKHgugHOzYWlYvYLpLA9nPsQCAAASpCIbjI9Mv+Uw==", "dev": true, "requires": { - "@babel/types": "^7.7.4" + "@babel/types": "^7.8.3" + }, + "dependencies": { + "@babel/types": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz", + "integrity": "sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg==", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true + } } }, - "@babel/helpers": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.7.4.tgz", - "integrity": "sha1-YsIVuebHEtrcFamg3Kt2ySqUAwI=", + "@babel/helper-builder-binary-assignment-operator-visitor": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.8.3.tgz", + "integrity": "sha512-5eFOm2SyFPK4Rh3XMMRDjN7lBH0orh3ss0g3rTYZnBQ+r6YPj7lgDyCvPphynHvUrobJmeMignBr6Acw9mAPlw==", "dev": true, "requires": { - "@babel/template": "^7.7.4", - "@babel/traverse": "^7.7.4", - "@babel/types": "^7.7.4" + "@babel/helper-explode-assignable-expression": "^7.8.3", + "@babel/types": "^7.8.3" + }, + "dependencies": { + "@babel/types": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz", + "integrity": "sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg==", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true + } } }, - "@babel/highlight": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.5.0.tgz", - "integrity": "sha1-VtETEr2SSPphlZHQJHK+boyzJUA=", + "@babel/helper-call-delegate": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-call-delegate/-/helper-call-delegate-7.8.3.tgz", + "integrity": "sha512-6Q05px0Eb+N4/GTyKPPvnkig7Lylw+QzihMpws9iiZQv7ZImf84ZsZpQH7QoWN4n4tm81SnSzPgHw2qtO0Zf3A==", "dev": true, "requires": { - "chalk": "^2.0.0", - "esutils": "^2.0.2", - "js-tokens": "^4.0.0" + "@babel/helper-hoist-variables": "^7.8.3", + "@babel/traverse": "^7.8.3", + "@babel/types": "^7.8.3" }, "dependencies": { + "@babel/code-frame": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz", + "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==", + "dev": true, + "requires": { + "@babel/highlight": "^7.8.3" + } + }, + "@babel/generator": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.8.4.tgz", + "integrity": "sha512-PwhclGdRpNAf3IxZb0YVuITPZmmrXz9zf6fH8lT4XbrmfQKr6ryBzhv593P5C6poJRciFCL/eHGW2NuGrgEyxA==", + "dev": true, + "requires": { + "@babel/types": "^7.8.3", + "jsesc": "^2.5.1", + "lodash": "^4.17.13", + "source-map": "^0.5.0" + } + }, + "@babel/helper-function-name": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.8.3.tgz", + "integrity": "sha512-BCxgX1BC2hD/oBlIFUgOCQDOPV8nSINxCwM3o93xP4P9Fq6aV5sgv2cOOITDMtCfQ+3PvHp3l689XZvAM9QyOA==", + "dev": true, + "requires": { + "@babel/helper-get-function-arity": "^7.8.3", + "@babel/template": "^7.8.3", + "@babel/types": "^7.8.3" + } + }, + "@babel/helper-get-function-arity": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz", + "integrity": "sha512-FVDR+Gd9iLjUMY1fzE2SR0IuaJToR4RkCDARVfsBBPSP53GEqSFjD8gNyxg246VUyc/ALRxFaAK8rVG7UT7xRA==", + "dev": true, + "requires": { + "@babel/types": "^7.8.3" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.8.3.tgz", + "integrity": "sha512-3x3yOeyBhW851hroze7ElzdkeRXQYQbFIb7gLK1WQYsw2GWDay5gAJNw1sWJ0VFP6z5J1whqeXH/WCdCjZv6dA==", + "dev": true, + "requires": { + "@babel/types": "^7.8.3" + } + }, + "@babel/highlight": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.8.3.tgz", + "integrity": "sha512-PX4y5xQUvy0fnEVHrYOarRPXVWafSjTW9T0Hab8gVIawpl2Sj0ORyrygANq+KjcNlSSTw0YCLSNA8OyZ1I4yEg==", + "dev": true, + "requires": { + "chalk": "^2.0.0", + "esutils": "^2.0.2", + "js-tokens": "^4.0.0" + } + }, + "@babel/parser": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.8.4.tgz", + "integrity": "sha512-0fKu/QqildpXmPVaRBoXOlyBb3MC+J0A66x97qEfLOMkn3u6nfY5esWogQwi/K0BjASYy4DbnsEWnpNL6qT5Mw==", + "dev": true + }, + "@babel/template": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.8.3.tgz", + "integrity": "sha512-04m87AcQgAFdvuoyiQ2kgELr2tV8B4fP/xJAVUL3Yb3bkNdMedD3d0rlSQr3PegP0cms3eHjl1F7PWlvWbU8FQ==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.8.3", + "@babel/parser": "^7.8.3", + "@babel/types": "^7.8.3" + } + }, + "@babel/traverse": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.8.4.tgz", + "integrity": "sha512-NGLJPZwnVEyBPLI+bl9y9aSnxMhsKz42so7ApAv9D+b4vAFPpY013FTS9LdKxcABoIYFU52HcYga1pPlx454mg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.8.3", + "@babel/generator": "^7.8.4", + "@babel/helper-function-name": "^7.8.3", + "@babel/helper-split-export-declaration": "^7.8.3", + "@babel/parser": "^7.8.4", + "@babel/types": "^7.8.3", + "debug": "^4.1.0", + "globals": "^11.1.0", + "lodash": "^4.17.13" + } + }, + "@babel/types": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz", + "integrity": "sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg==", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + }, "ansi-styles": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dev": true, "requires": { "color-convert": "^1.9.0" @@ -141,7 +282,7 @@ "chalk": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dev": true, "requires": { "ansi-styles": "^3.2.1", @@ -149,70 +290,10 @@ "supports-color": "^5.3.0" } }, - "js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha1-GSA/tZmR35jjoocFDUZHzerzJJk=", - "dev": true - }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "@babel/parser": { - "version": "7.7.7", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.7.7.tgz", - "integrity": "sha1-G4hllUGc+S2BExbVtxWlP/OLSTc=", - "dev": true - }, - "@babel/plugin-syntax-object-rest-spread": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.7.4.tgz", - "integrity": "sha1-R88iDRnW0NexVDBHAfRo/BzG/0Y=", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.0.0" - } - }, - "@babel/template": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.7.4.tgz", - "integrity": "sha1-Qop9nuz/4n3qwKmOI7+ONnXSp3s=", - "dev": true, - "requires": { - "@babel/code-frame": "^7.0.0", - "@babel/parser": "^7.7.4", - "@babel/types": "^7.7.4" - } - }, - "@babel/traverse": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.7.4.tgz", - "integrity": "sha1-nB58YPtnn+T8+qQlAIMzM8IFhVg=", - "dev": true, - "requires": { - "@babel/code-frame": "^7.5.5", - "@babel/generator": "^7.7.4", - "@babel/helper-function-name": "^7.7.4", - "@babel/helper-split-export-declaration": "^7.7.4", - "@babel/parser": "^7.7.4", - "@babel/types": "^7.7.4", - "debug": "^4.1.0", - "globals": "^11.1.0", - "lodash": "^4.17.13" - }, - "dependencies": { "debug": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha1-O3ImAlUQnGtYnO4FDx1RYTlmR5E=", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", "dev": true, "requires": { "ms": "^2.1.1" @@ -221,28 +302,36 @@ "globals": { "version": "11.12.0", "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha1-q4eVM4hooLq9hSV1gBjCp+uVxC4=", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", "dev": true }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "dev": true - } - } - }, - "@babel/types": { - "version": "7.7.4", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz", - "integrity": "sha1-UWVw1TnkTd8wjAdWnCWP+U/ekZM=", - "dev": true, - "requires": { - "esutils": "^2.0.2", - "lodash": "^4.17.13", - "to-fast-properties": "^2.0.0" - }, - "dependencies": { + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + }, "to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", @@ -251,104 +340,162 @@ } } }, - "@cnakazawa/watch": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@cnakazawa/watch/-/watch-1.0.3.tgz", - "integrity": "sha1-CZE56ux+vweifBeGo/9k85Rk0u8=", + "@babel/helper-compilation-targets": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.8.4.tgz", + "integrity": "sha512-3k3BsKMvPp5bjxgMdrFyq0UaEO48HciVrOVF0+lon8pp95cyJ2ujAh0TrBHNMnJGT2rr0iKOJPFFbSqjDyf/Pg==", "dev": true, "requires": { - "exec-sh": "^0.3.2", - "minimist": "^1.2.0" + "@babel/compat-data": "^7.8.4", + "browserslist": "^4.8.5", + "invariant": "^2.2.4", + "levenary": "^1.1.1", + "semver": "^5.5.0" + }, + "dependencies": { + "browserslist": { + "version": "4.8.7", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.8.7.tgz", + "integrity": "sha512-gFOnZNYBHrEyUML0xr5NJ6edFaaKbTFX9S9kQHlYfCP0Rit/boRIz4G+Avq6/4haEKJXdGGUnoolx+5MWW2BoA==", + "dev": true, + "requires": { + "caniuse-lite": "^1.0.30001027", + "electron-to-chromium": "^1.3.349", + "node-releases": "^1.1.49" + } + } } }, - "@jest/console": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/console/-/console-24.9.0.tgz", - "integrity": "sha1-ebG8Bvt0qM+wHL3t+UVYSxuXB/A=", + "@babel/helper-create-regexp-features-plugin": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.8.3.tgz", + "integrity": "sha512-Gcsm1OHCUr9o9TcJln57xhWHtdXbA2pgQ58S0Lxlks0WMGNXuki4+GLfX0p+L2ZkINUGZvfkz8rzoqJQSthI+Q==", "dev": true, "requires": { - "@jest/source-map": "^24.9.0", - "chalk": "^2.0.1", - "slash": "^2.0.0" + "@babel/helper-regex": "^7.8.3", + "regexpu-core": "^4.6.0" }, "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } + "jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", + "dev": true }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=", + "regexpu-core": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.6.0.tgz", + "integrity": "sha512-YlVaefl8P5BnFYOITTNzDvan1ulLOiXJzCNZxduTIosN17b87h3bvG9yHMoHaRuo88H4mQ06Aodj5VtYGGGiTg==", "dev": true, "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "regenerate": "^1.4.0", + "regenerate-unicode-properties": "^8.1.0", + "regjsgen": "^0.5.0", + "regjsparser": "^0.6.0", + "unicode-match-property-ecmascript": "^1.0.4", + "unicode-match-property-value-ecmascript": "^1.1.0" } }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", + "regjsgen": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.1.tgz", + "integrity": "sha512-5qxzGZjDs9w4tzT3TPhCJqWdCc3RLYwy9J2NB0nm5Lz+S273lvWcpjaTGHsT1dc6Hhfq41uSEOw8wBmxrKOuyg==", + "dev": true + }, + "regjsparser": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.6.3.tgz", + "integrity": "sha512-8uZvYbnfAtEm9Ab8NTb3hdLwL4g/LQzEYP7Xs27T96abJCCE2d6r3cPZPQEsLKy0vRSGVNG+/zVGtLr86HQduA==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "jsesc": "~0.5.0" } } } }, - "@jest/core": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/core/-/core-24.9.0.tgz", - "integrity": "sha1-LOzNC5MYH5xIUOdPKprUPTUTacQ=", + "@babel/helper-define-map": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.8.3.tgz", + "integrity": "sha512-PoeBYtxoZGtct3md6xZOCWPcKuMuk3IHhgxsRRNtnNShebf4C8YonTSblsK4tvDbm+eJAw2HAPOfCr+Q/YRG/g==", "dev": true, "requires": { - "@jest/console": "^24.7.1", - "@jest/reporters": "^24.9.0", - "@jest/test-result": "^24.9.0", - "@jest/transform": "^24.9.0", - "@jest/types": "^24.9.0", - "ansi-escapes": "^3.0.0", - "chalk": "^2.0.1", - "exit": "^0.1.2", - "graceful-fs": "^4.1.15", - "jest-changed-files": "^24.9.0", - "jest-config": "^24.9.0", - "jest-haste-map": "^24.9.0", - "jest-message-util": "^24.9.0", - "jest-regex-util": "^24.3.0", - "jest-resolve": "^24.9.0", - "jest-resolve-dependencies": "^24.9.0", - "jest-runner": "^24.9.0", - "jest-runtime": "^24.9.0", - "jest-snapshot": "^24.9.0", - "jest-util": "^24.9.0", - "jest-validate": "^24.9.0", - "jest-watcher": "^24.9.0", - "micromatch": "^3.1.10", - "p-each-series": "^1.0.0", - "realpath-native": "^1.1.0", - "rimraf": "^2.5.4", - "slash": "^2.0.0", - "strip-ansi": "^5.0.0" + "@babel/helper-function-name": "^7.8.3", + "@babel/types": "^7.8.3", + "lodash": "^4.17.13" }, "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha1-i5+PCM8ay4Q3Vqg5yox+MWjFGZc=", + "@babel/code-frame": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz", + "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==", + "dev": true, + "requires": { + "@babel/highlight": "^7.8.3" + } + }, + "@babel/helper-function-name": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.8.3.tgz", + "integrity": "sha512-BCxgX1BC2hD/oBlIFUgOCQDOPV8nSINxCwM3o93xP4P9Fq6aV5sgv2cOOITDMtCfQ+3PvHp3l689XZvAM9QyOA==", + "dev": true, + "requires": { + "@babel/helper-get-function-arity": "^7.8.3", + "@babel/template": "^7.8.3", + "@babel/types": "^7.8.3" + } + }, + "@babel/helper-get-function-arity": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz", + "integrity": "sha512-FVDR+Gd9iLjUMY1fzE2SR0IuaJToR4RkCDARVfsBBPSP53GEqSFjD8gNyxg246VUyc/ALRxFaAK8rVG7UT7xRA==", + "dev": true, + "requires": { + "@babel/types": "^7.8.3" + } + }, + "@babel/highlight": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.8.3.tgz", + "integrity": "sha512-PX4y5xQUvy0fnEVHrYOarRPXVWafSjTW9T0Hab8gVIawpl2Sj0ORyrygANq+KjcNlSSTw0YCLSNA8OyZ1I4yEg==", + "dev": true, + "requires": { + "chalk": "^2.0.0", + "esutils": "^2.0.2", + "js-tokens": "^4.0.0" + } + }, + "@babel/parser": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.8.4.tgz", + "integrity": "sha512-0fKu/QqildpXmPVaRBoXOlyBb3MC+J0A66x97qEfLOMkn3u6nfY5esWogQwi/K0BjASYy4DbnsEWnpNL6qT5Mw==", "dev": true }, + "@babel/template": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.8.3.tgz", + "integrity": "sha512-04m87AcQgAFdvuoyiQ2kgELr2tV8B4fP/xJAVUL3Yb3bkNdMedD3d0rlSQr3PegP0cms3eHjl1F7PWlvWbU8FQ==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.8.3", + "@babel/parser": "^7.8.3", + "@babel/types": "^7.8.3" + } + }, + "@babel/types": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz", + "integrity": "sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg==", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + }, "ansi-styles": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dev": true, "requires": { "color-convert": "^1.9.0" @@ -357,7 +504,7 @@ "chalk": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dev": true, "requires": { "ansi-styles": "^3.2.1", @@ -365,82 +512,149 @@ "supports-color": "^5.3.0" } }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha1-jJpTb+tq/JYr36WxBKUJHBrZwK4=", - "dev": true, - "requires": { - "ansi-regex": "^4.1.0" - } + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true }, "supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, "requires": { "has-flag": "^3.0.0" } + }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true } } }, - "@jest/environment": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-24.9.0.tgz", - "integrity": "sha1-IeOvotZcBYbL1svv4gi6+t5Eqxg=", - "dev": true, - "requires": { - "@jest/fake-timers": "^24.9.0", - "@jest/transform": "^24.9.0", - "@jest/types": "^24.9.0", - "jest-mock": "^24.9.0" - } - }, - "@jest/fake-timers": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-24.9.0.tgz", - "integrity": "sha1-uj5r8O7NCaY2BJiWQ00wZjZUDJM=", - "dev": true, - "requires": { - "@jest/types": "^24.9.0", - "jest-message-util": "^24.9.0", - "jest-mock": "^24.9.0" - } - }, - "@jest/reporters": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-24.9.0.tgz", - "integrity": "sha1-hmYO/44rlmHQQqjpigKLjWMaW0M=", + "@babel/helper-explode-assignable-expression": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.8.3.tgz", + "integrity": "sha512-N+8eW86/Kj147bO9G2uclsg5pwfs/fqqY5rwgIL7eTBklgXjcOJ3btzS5iM6AitJcftnY7pm2lGsrJVYLGjzIw==", "dev": true, "requires": { - "@jest/environment": "^24.9.0", - "@jest/test-result": "^24.9.0", - "@jest/transform": "^24.9.0", - "@jest/types": "^24.9.0", - "chalk": "^2.0.1", - "exit": "^0.1.2", - "glob": "^7.1.2", - "istanbul-lib-coverage": "^2.0.2", - "istanbul-lib-instrument": "^3.0.1", - "istanbul-lib-report": "^2.0.4", - "istanbul-lib-source-maps": "^3.0.1", - "istanbul-reports": "^2.2.6", - "jest-haste-map": "^24.9.0", - "jest-resolve": "^24.9.0", - "jest-runtime": "^24.9.0", - "jest-util": "^24.9.0", - "jest-worker": "^24.6.0", - "node-notifier": "^5.4.2", - "slash": "^2.0.0", - "source-map": "^0.6.0", - "string-length": "^2.0.0" + "@babel/traverse": "^7.8.3", + "@babel/types": "^7.8.3" }, "dependencies": { + "@babel/code-frame": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz", + "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==", + "dev": true, + "requires": { + "@babel/highlight": "^7.8.3" + } + }, + "@babel/generator": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.8.4.tgz", + "integrity": "sha512-PwhclGdRpNAf3IxZb0YVuITPZmmrXz9zf6fH8lT4XbrmfQKr6ryBzhv593P5C6poJRciFCL/eHGW2NuGrgEyxA==", + "dev": true, + "requires": { + "@babel/types": "^7.8.3", + "jsesc": "^2.5.1", + "lodash": "^4.17.13", + "source-map": "^0.5.0" + } + }, + "@babel/helper-function-name": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.8.3.tgz", + "integrity": "sha512-BCxgX1BC2hD/oBlIFUgOCQDOPV8nSINxCwM3o93xP4P9Fq6aV5sgv2cOOITDMtCfQ+3PvHp3l689XZvAM9QyOA==", + "dev": true, + "requires": { + "@babel/helper-get-function-arity": "^7.8.3", + "@babel/template": "^7.8.3", + "@babel/types": "^7.8.3" + } + }, + "@babel/helper-get-function-arity": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz", + "integrity": "sha512-FVDR+Gd9iLjUMY1fzE2SR0IuaJToR4RkCDARVfsBBPSP53GEqSFjD8gNyxg246VUyc/ALRxFaAK8rVG7UT7xRA==", + "dev": true, + "requires": { + "@babel/types": "^7.8.3" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.8.3.tgz", + "integrity": "sha512-3x3yOeyBhW851hroze7ElzdkeRXQYQbFIb7gLK1WQYsw2GWDay5gAJNw1sWJ0VFP6z5J1whqeXH/WCdCjZv6dA==", + "dev": true, + "requires": { + "@babel/types": "^7.8.3" + } + }, + "@babel/highlight": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.8.3.tgz", + "integrity": "sha512-PX4y5xQUvy0fnEVHrYOarRPXVWafSjTW9T0Hab8gVIawpl2Sj0ORyrygANq+KjcNlSSTw0YCLSNA8OyZ1I4yEg==", + "dev": true, + "requires": { + "chalk": "^2.0.0", + "esutils": "^2.0.2", + "js-tokens": "^4.0.0" + } + }, + "@babel/parser": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.8.4.tgz", + "integrity": "sha512-0fKu/QqildpXmPVaRBoXOlyBb3MC+J0A66x97qEfLOMkn3u6nfY5esWogQwi/K0BjASYy4DbnsEWnpNL6qT5Mw==", + "dev": true + }, + "@babel/template": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.8.3.tgz", + "integrity": "sha512-04m87AcQgAFdvuoyiQ2kgELr2tV8B4fP/xJAVUL3Yb3bkNdMedD3d0rlSQr3PegP0cms3eHjl1F7PWlvWbU8FQ==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.8.3", + "@babel/parser": "^7.8.3", + "@babel/types": "^7.8.3" + } + }, + "@babel/traverse": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.8.4.tgz", + "integrity": "sha512-NGLJPZwnVEyBPLI+bl9y9aSnxMhsKz42so7ApAv9D+b4vAFPpY013FTS9LdKxcABoIYFU52HcYga1pPlx454mg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.8.3", + "@babel/generator": "^7.8.4", + "@babel/helper-function-name": "^7.8.3", + "@babel/helper-split-export-declaration": "^7.8.3", + "@babel/parser": "^7.8.4", + "@babel/types": "^7.8.3", + "debug": "^4.1.0", + "globals": "^11.1.0", + "lodash": "^4.17.13" + } + }, + "@babel/types": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz", + "integrity": "sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg==", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + }, "ansi-styles": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dev": true, "requires": { "color-convert": "^1.9.0" @@ -449,7 +663,7 @@ "chalk": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dev": true, "requires": { "ansi-styles": "^3.2.1", @@ -457,93 +671,235 @@ "supports-color": "^5.3.0" } }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha1-dHIq8y6WFOnCh6jQu95IteLxomM=", + "debug": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "dev": true + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "dev": true }, "supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, "requires": { "has-flag": "^3.0.0" } + }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true } } }, - "@jest/source-map": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-24.9.0.tgz", - "integrity": "sha1-DiY6lEML5LQdpoPMwea//ioZFxQ=", + "@babel/helper-function-name": { + "version": "7.7.4", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.7.4.tgz", + "integrity": "sha512-AnkGIdiBhEuiwdoMnKm7jfPfqItZhgRaZfMg1XX3bS25INOnLPjPG1Ppnajh8eqgt5kPJnfqrRHqFqmjKDZLzQ==", + "dev": true, + "requires": { + "@babel/helper-get-function-arity": "^7.7.4", + "@babel/template": "^7.7.4", + "@babel/types": "^7.7.4" + } + }, + "@babel/helper-get-function-arity": { + "version": "7.7.4", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.7.4.tgz", + "integrity": "sha512-QTGKEdCkjgzgfJ3bAyRwF4yyT3pg+vDgan8DSivq1eS0gwi+KGKE5x8kRcbeFTb/673mkO5SN1IZfmCfA5o+EA==", "dev": true, "requires": { - "callsites": "^3.0.0", - "graceful-fs": "^4.1.15", - "source-map": "^0.6.0" + "@babel/types": "^7.7.4" + } + }, + "@babel/helper-hoist-variables": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.8.3.tgz", + "integrity": "sha512-ky1JLOjcDUtSc+xkt0xhYff7Z6ILTAHKmZLHPxAhOP0Nd77O+3nCsd6uSVYur6nJnCI029CrNbYlc0LoPfAPQg==", + "dev": true, + "requires": { + "@babel/types": "^7.8.3" }, "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha1-dHIq8y6WFOnCh6jQu95IteLxomM=", + "@babel/types": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz", + "integrity": "sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg==", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", "dev": true } } }, - "@jest/test-result": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-24.9.0.tgz", - "integrity": "sha1-EXluiqnb+I6gJXV7MVJZWtBroMo=", + "@babel/helper-member-expression-to-functions": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.8.3.tgz", + "integrity": "sha512-fO4Egq88utkQFjbPrSHGmGLFqmrshs11d46WI+WZDESt7Wu7wN2G2Iu+NMMZJFDOVRHAMIkB5SNh30NtwCA7RA==", "dev": true, "requires": { - "@jest/console": "^24.9.0", - "@jest/types": "^24.9.0", - "@types/istanbul-lib-coverage": "^2.0.0" + "@babel/types": "^7.8.3" + }, + "dependencies": { + "@babel/types": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz", + "integrity": "sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg==", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true + } } }, - "@jest/test-sequencer": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-24.9.0.tgz", - "integrity": "sha1-+PM081tiWk8vNV8v5+YDba0uazE=", + "@babel/helper-module-imports": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.8.3.tgz", + "integrity": "sha512-R0Bx3jippsbAEtzkpZ/6FIiuzOURPcMjHp+Z6xPe6DtApDJx+w7UYyOLanZqO8+wKR9G10s/FmHXvxaMd9s6Kg==", "dev": true, "requires": { - "@jest/test-result": "^24.9.0", - "jest-haste-map": "^24.9.0", - "jest-runner": "^24.9.0", - "jest-runtime": "^24.9.0" + "@babel/types": "^7.8.3" + }, + "dependencies": { + "@babel/types": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz", + "integrity": "sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg==", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true + } } }, - "@jest/transform": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-24.9.0.tgz", - "integrity": "sha1-SuJ2iyllU/rasJ6ewRlUPJCxbFY=", + "@babel/helper-module-transforms": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.8.3.tgz", + "integrity": "sha512-C7NG6B7vfBa/pwCOshpMbOYUmrYQDfCpVL/JCRu0ek8B5p8kue1+BCXpg2vOYs7w5ACB9GTOBYQ5U6NwrMg+3Q==", "dev": true, "requires": { - "@babel/core": "^7.1.0", - "@jest/types": "^24.9.0", - "babel-plugin-istanbul": "^5.1.0", - "chalk": "^2.0.1", - "convert-source-map": "^1.4.0", - "fast-json-stable-stringify": "^2.0.0", - "graceful-fs": "^4.1.15", - "jest-haste-map": "^24.9.0", - "jest-regex-util": "^24.9.0", - "jest-util": "^24.9.0", - "micromatch": "^3.1.10", - "pirates": "^4.0.1", - "realpath-native": "^1.1.0", - "slash": "^2.0.0", - "source-map": "^0.6.1", - "write-file-atomic": "2.4.1" + "@babel/helper-module-imports": "^7.8.3", + "@babel/helper-simple-access": "^7.8.3", + "@babel/helper-split-export-declaration": "^7.8.3", + "@babel/template": "^7.8.3", + "@babel/types": "^7.8.3", + "lodash": "^4.17.13" }, "dependencies": { + "@babel/code-frame": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz", + "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==", + "dev": true, + "requires": { + "@babel/highlight": "^7.8.3" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.8.3.tgz", + "integrity": "sha512-3x3yOeyBhW851hroze7ElzdkeRXQYQbFIb7gLK1WQYsw2GWDay5gAJNw1sWJ0VFP6z5J1whqeXH/WCdCjZv6dA==", + "dev": true, + "requires": { + "@babel/types": "^7.8.3" + } + }, + "@babel/highlight": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.8.3.tgz", + "integrity": "sha512-PX4y5xQUvy0fnEVHrYOarRPXVWafSjTW9T0Hab8gVIawpl2Sj0ORyrygANq+KjcNlSSTw0YCLSNA8OyZ1I4yEg==", + "dev": true, + "requires": { + "chalk": "^2.0.0", + "esutils": "^2.0.2", + "js-tokens": "^4.0.0" + } + }, + "@babel/parser": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.8.4.tgz", + "integrity": "sha512-0fKu/QqildpXmPVaRBoXOlyBb3MC+J0A66x97qEfLOMkn3u6nfY5esWogQwi/K0BjASYy4DbnsEWnpNL6qT5Mw==", + "dev": true + }, + "@babel/template": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.8.3.tgz", + "integrity": "sha512-04m87AcQgAFdvuoyiQ2kgELr2tV8B4fP/xJAVUL3Yb3bkNdMedD3d0rlSQr3PegP0cms3eHjl1F7PWlvWbU8FQ==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.8.3", + "@babel/parser": "^7.8.3", + "@babel/types": "^7.8.3" + } + }, + "@babel/types": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz", + "integrity": "sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg==", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + }, "ansi-styles": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dev": true, "requires": { "color-convert": "^1.9.0" @@ -552,7 +908,7 @@ "chalk": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dev": true, "requires": { "ansi-styles": "^3.2.1", @@ -560,421 +916,383 @@ "supports-color": "^5.3.0" } }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha1-dHIq8y6WFOnCh6jQu95IteLxomM=", + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", "dev": true }, "supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, "requires": { "has-flag": "^3.0.0" } + }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true } } }, - "@jest/types": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-24.9.0.tgz", - "integrity": "sha1-Y8smy3UA0Gnlo4lEGnxqtekJ/Fk=", - "dev": true, - "requires": { - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^1.1.1", - "@types/yargs": "^13.0.0" - } - }, - "@types/babel__core": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.3.tgz", - "integrity": "sha1-5EHqffY80IDfzQKrGZ5tFqc1/DA=", + "@babel/helper-optimise-call-expression": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.8.3.tgz", + "integrity": "sha512-Kag20n86cbO2AvHca6EJsvqAd82gc6VMGule4HwebwMlwkpXuVqrNRj6CkCV2sKxgi9MyAUnZVnZ6lJ1/vKhHQ==", "dev": true, "requires": { - "@babel/parser": "^7.1.0", - "@babel/types": "^7.0.0", - "@types/babel__generator": "*", - "@types/babel__template": "*", - "@types/babel__traverse": "*" - } - }, - "@types/babel__generator": { - "version": "7.6.1", - "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.1.tgz", - "integrity": "sha1-SQF2ezl+hxGuuZ3405bXunt/DgQ=", - "dev": true, - "requires": { - "@babel/types": "^7.0.0" - } - }, - "@types/babel__template": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.0.2.tgz", - "integrity": "sha1-T/Y9a1Lt2sHee5daUiPtMuzqkwc=", - "dev": true, - "requires": { - "@babel/parser": "^7.1.0", - "@babel/types": "^7.0.0" - } - }, - "@types/babel__traverse": { - "version": "7.0.8", - "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.0.8.tgz", - "integrity": "sha1-R5pO4+KRpAOhCWEGAT7CLPm2QBI=", - "dev": true, - "requires": { - "@babel/types": "^7.3.0" - } - }, - "@types/istanbul-lib-coverage": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.1.tgz", - "integrity": "sha1-QplbRG25pIoRoH7Ag0mahg6ROP8=", - "dev": true - }, - "@types/istanbul-lib-report": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-1.1.1.tgz", - "integrity": "sha1-5Ucef6M8YTWN04QmGJwDelhDO4w=", - "dev": true, - "requires": { - "@types/istanbul-lib-coverage": "*" - } - }, - "@types/istanbul-reports": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-1.1.1.tgz", - "integrity": "sha1-eoy/akBvNsit2HFiWyeOrwsNJVo=", - "dev": true, - "requires": { - "@types/istanbul-lib-coverage": "*", - "@types/istanbul-lib-report": "*" - } - }, - "@types/json-schema": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.4.tgz", - "integrity": "sha1-OP1z3f2bVaux4bLtV4y1W9e30zk=", - "dev": true - }, - "@types/node": { - "version": "13.1.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-13.1.2.tgz", - "integrity": "sha1-/pQoW/XgeC4anlqMSCscNEZfo4U=", - "dev": true - }, - "@types/stack-utils": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-1.0.1.tgz", - "integrity": "sha1-CoUdO9lkmPolwzq3J47TvWXwbD4=", - "dev": true - }, - "@types/yargs": { - "version": "13.0.4", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-13.0.4.tgz", - "integrity": "sha1-U9Ixzr4aVA5+E3J/wfDROtSpujs=", - "dev": true, - "requires": { - "@types/yargs-parser": "*" + "@babel/types": "^7.8.3" + }, + "dependencies": { + "@babel/types": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz", + "integrity": "sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg==", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true + } } }, - "@types/yargs-parser": { - "version": "13.1.0", - "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-13.1.0.tgz", - "integrity": "sha1-xWOqGS85NQodGNo2xajaOCu9gig=", + "@babel/helper-plugin-utils": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0.tgz", + "integrity": "sha512-CYAOUCARwExnEixLdB6sDm2dIJ/YgEAKDM1MOeMeZu9Ld/bDgVo8aiWrXwcY7OBh+1Ea2uUcVRcxKk0GJvW7QA==", "dev": true }, - "@typescript-eslint/experimental-utils": { - "version": "2.15.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-2.15.0.tgz", - "integrity": "sha1-QeNTE7+u+RZQ3bU4CEbRx4p4AHA=", + "@babel/helper-regex": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.8.3.tgz", + "integrity": "sha512-BWt0QtYv/cg/NecOAZMdcn/waj/5P26DR4mVLXfFtDokSR6fyuG0Pj+e2FqtSME+MqED1khnSMulkmGl8qWiUQ==", "dev": true, "requires": { - "@types/json-schema": "^7.0.3", - "@typescript-eslint/typescript-estree": "2.15.0", - "eslint-scope": "^5.0.0" + "lodash": "^4.17.13" } }, - "@typescript-eslint/typescript-estree": { - "version": "2.15.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.15.0.tgz", - "integrity": "sha1-ea5S7thwGxZNkelopl2FqRBedtM=", + "@babel/helper-remap-async-to-generator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.8.3.tgz", + "integrity": "sha512-kgwDmw4fCg7AVgS4DukQR/roGp+jP+XluJE5hsRZwxCYGg+Rv9wSGErDWhlI90FODdYfd4xG4AQRiMDjjN0GzA==", "dev": true, "requires": { - "debug": "^4.1.1", - "eslint-visitor-keys": "^1.1.0", - "glob": "^7.1.6", - "is-glob": "^4.0.1", - "lodash.unescape": "4.0.1", - "semver": "^6.3.0", - "tsutils": "^3.17.1" + "@babel/helper-annotate-as-pure": "^7.8.3", + "@babel/helper-wrap-function": "^7.8.3", + "@babel/template": "^7.8.3", + "@babel/traverse": "^7.8.3", + "@babel/types": "^7.8.3" }, "dependencies": { + "@babel/code-frame": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz", + "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==", + "dev": true, + "requires": { + "@babel/highlight": "^7.8.3" + } + }, + "@babel/generator": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.8.4.tgz", + "integrity": "sha512-PwhclGdRpNAf3IxZb0YVuITPZmmrXz9zf6fH8lT4XbrmfQKr6ryBzhv593P5C6poJRciFCL/eHGW2NuGrgEyxA==", + "dev": true, + "requires": { + "@babel/types": "^7.8.3", + "jsesc": "^2.5.1", + "lodash": "^4.17.13", + "source-map": "^0.5.0" + } + }, + "@babel/helper-function-name": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.8.3.tgz", + "integrity": "sha512-BCxgX1BC2hD/oBlIFUgOCQDOPV8nSINxCwM3o93xP4P9Fq6aV5sgv2cOOITDMtCfQ+3PvHp3l689XZvAM9QyOA==", + "dev": true, + "requires": { + "@babel/helper-get-function-arity": "^7.8.3", + "@babel/template": "^7.8.3", + "@babel/types": "^7.8.3" + } + }, + "@babel/helper-get-function-arity": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz", + "integrity": "sha512-FVDR+Gd9iLjUMY1fzE2SR0IuaJToR4RkCDARVfsBBPSP53GEqSFjD8gNyxg246VUyc/ALRxFaAK8rVG7UT7xRA==", + "dev": true, + "requires": { + "@babel/types": "^7.8.3" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.8.3.tgz", + "integrity": "sha512-3x3yOeyBhW851hroze7ElzdkeRXQYQbFIb7gLK1WQYsw2GWDay5gAJNw1sWJ0VFP6z5J1whqeXH/WCdCjZv6dA==", + "dev": true, + "requires": { + "@babel/types": "^7.8.3" + } + }, + "@babel/highlight": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.8.3.tgz", + "integrity": "sha512-PX4y5xQUvy0fnEVHrYOarRPXVWafSjTW9T0Hab8gVIawpl2Sj0ORyrygANq+KjcNlSSTw0YCLSNA8OyZ1I4yEg==", + "dev": true, + "requires": { + "chalk": "^2.0.0", + "esutils": "^2.0.2", + "js-tokens": "^4.0.0" + } + }, + "@babel/parser": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.8.4.tgz", + "integrity": "sha512-0fKu/QqildpXmPVaRBoXOlyBb3MC+J0A66x97qEfLOMkn3u6nfY5esWogQwi/K0BjASYy4DbnsEWnpNL6qT5Mw==", + "dev": true + }, + "@babel/template": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.8.3.tgz", + "integrity": "sha512-04m87AcQgAFdvuoyiQ2kgELr2tV8B4fP/xJAVUL3Yb3bkNdMedD3d0rlSQr3PegP0cms3eHjl1F7PWlvWbU8FQ==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.8.3", + "@babel/parser": "^7.8.3", + "@babel/types": "^7.8.3" + } + }, + "@babel/traverse": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.8.4.tgz", + "integrity": "sha512-NGLJPZwnVEyBPLI+bl9y9aSnxMhsKz42so7ApAv9D+b4vAFPpY013FTS9LdKxcABoIYFU52HcYga1pPlx454mg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.8.3", + "@babel/generator": "^7.8.4", + "@babel/helper-function-name": "^7.8.3", + "@babel/helper-split-export-declaration": "^7.8.3", + "@babel/parser": "^7.8.4", + "@babel/types": "^7.8.3", + "debug": "^4.1.0", + "globals": "^11.1.0", + "lodash": "^4.17.13" + } + }, + "@babel/types": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz", + "integrity": "sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg==", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, "debug": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha1-O3ImAlUQnGtYnO4FDx1RYTlmR5E=", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", "dev": true, "requires": { "ms": "^2.1.1" } }, + "globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "dev": true + }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "dev": true }, - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha1-7gpkyK9ejO6mdoexM3YeG+y9HT0=", + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", "dev": true } } }, - "abab": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/abab/-/abab-1.0.4.tgz", - "integrity": "sha1-X6rZwsB/YN12dw9xzwJbYqY8/U4=", - "dev": true, - "optional": true - }, - "acorn": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-2.7.0.tgz", - "integrity": "sha1-q259nYhqrKiwhbwzEreaGYQz8Oc=", - "dev": true, - "optional": true - }, - "acorn-globals": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-1.0.9.tgz", - "integrity": "sha1-VbtemGkVB7dFedBRNBMhfDgMVM8=", - "dev": true, - "optional": true, - "requires": { - "acorn": "^2.1.0" - } - }, - "acorn-jsx": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.1.0.tgz", - "integrity": "sha1-KUrbcbVzmLBoABXwo4xWPuHbU4Q=", - "dev": true - }, - "acorn-walk": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-6.2.0.tgz", - "integrity": "sha1-Ejy487hMIXHx9/slJhWxx4prGow=", - "dev": true - }, - "ajv": { - "version": "6.10.2", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.2.tgz", - "integrity": "sha1-086gTWsBeyiUrWkED+yLYj60vVI=", + "@babel/helper-replace-supers": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.8.3.tgz", + "integrity": "sha512-xOUssL6ho41U81etpLoT2RTdvdus4VfHamCuAm4AHxGr+0it5fnwoVdwUJ7GFEqCsQYzJUhcbsN9wB9apcYKFA==", "dev": true, "requires": { - "fast-deep-equal": "^2.0.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - } - }, - "ansi-escapes": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", - "integrity": "sha1-h4C5j/nb9WOBUtHx/lwde0RCl2s=", - "dev": true - }, - "ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", - "dev": true - }, - "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", - "dev": true - }, - "anymatch": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", - "integrity": "sha1-vLJLTzeTTZqnrBe0ra+J58du8us=", - "dev": true, - "requires": { - "micromatch": "^3.1.4", - "normalize-path": "^2.1.1" - } - }, - "argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha1-vNZ5HqWuCXJeF+WtmIE0zUCz2RE=", - "dev": true, - "requires": { - "sprintf-js": "~1.0.2" - } - }, - "arr-diff": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", - "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", - "dev": true - }, - "arr-flatten": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", - "integrity": "sha1-NgSLv/TntH4TZkQxbJlmnqWukfE=", - "dev": true - }, - "arr-union": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", - "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", - "dev": true - }, - "array-equal": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-equal/-/array-equal-1.0.0.tgz", - "integrity": "sha1-jCpe8kcv2ep0KwTHenUJO6J1fJM=", - "dev": true - }, - "array-includes": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.1.tgz", - "integrity": "sha1-zdZ+aFK9+cEhVGB4ZzIlXtJFk0g=", - "dev": true, - "requires": { - "define-properties": "^1.1.3", - "es-abstract": "^1.17.0", - "is-string": "^1.0.5" - } - }, - "array-unique": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", - "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", - "dev": true - }, - "array.prototype.flat": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.3.tgz", - "integrity": "sha1-DegrQmsDGNv9uUAInjiwQ9N/bHs=", - "dev": true, - "requires": { - "define-properties": "^1.1.3", - "es-abstract": "^1.17.0-next.1" - } - }, - "asn1": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", - "integrity": "sha1-jSR136tVO7M+d7VOWeiAu4ziMTY=", - "dev": true, - "requires": { - "safer-buffer": "~2.1.0" - } - }, - "assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", - "dev": true - }, - "assign-symbols": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", - "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", - "dev": true - }, - "astral-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", - "integrity": "sha1-bIw/uCfdQ+45GPJ7gngqt2WKb9k=", - "dev": true - }, - "async-limiter": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", - "integrity": "sha1-3TeelPDbgxCwgpH51kwyCXZmF/0=", - "dev": true - }, - "asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", - "dev": true - }, - "atob": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha1-bZUX654DDSQ2ZmZR6GvZ9vE1M8k=", - "dev": true - }, - "aws-sign2": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", - "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", - "dev": true - }, - "aws4": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.9.0.tgz", - "integrity": "sha1-JDkOatYThrCnRyZXVNKhchnehiw=", - "dev": true - }, - "babel-code-frame": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", - "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", - "dev": true, - "requires": { - "chalk": "^1.1.3", - "esutils": "^2.0.2", - "js-tokens": "^3.0.2" - } - }, - "babel-generator": { - "version": "6.26.1", - "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz", - "integrity": "sha1-GERAjTuPDTWkBOp6wYDwh6YBvZA=", - "dev": true, - "requires": { - "babel-messages": "^6.23.0", - "babel-runtime": "^6.26.0", - "babel-types": "^6.26.0", - "detect-indent": "^4.0.0", - "jsesc": "^1.3.0", - "lodash": "^4.17.4", - "source-map": "^0.5.7", - "trim-right": "^1.0.1" - } - }, - "babel-jest": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-24.9.0.tgz", - "integrity": "sha1-P8Mny4RnuJ0U17xw4xUQSng8zVQ=", - "dev": true, - "requires": { - "@jest/transform": "^24.9.0", - "@jest/types": "^24.9.0", - "@types/babel__core": "^7.1.0", - "babel-plugin-istanbul": "^5.1.0", - "babel-preset-jest": "^24.9.0", - "chalk": "^2.4.2", - "slash": "^2.0.0" + "@babel/helper-member-expression-to-functions": "^7.8.3", + "@babel/helper-optimise-call-expression": "^7.8.3", + "@babel/traverse": "^7.8.3", + "@babel/types": "^7.8.3" }, "dependencies": { + "@babel/code-frame": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz", + "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==", + "dev": true, + "requires": { + "@babel/highlight": "^7.8.3" + } + }, + "@babel/generator": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.8.4.tgz", + "integrity": "sha512-PwhclGdRpNAf3IxZb0YVuITPZmmrXz9zf6fH8lT4XbrmfQKr6ryBzhv593P5C6poJRciFCL/eHGW2NuGrgEyxA==", + "dev": true, + "requires": { + "@babel/types": "^7.8.3", + "jsesc": "^2.5.1", + "lodash": "^4.17.13", + "source-map": "^0.5.0" + } + }, + "@babel/helper-function-name": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.8.3.tgz", + "integrity": "sha512-BCxgX1BC2hD/oBlIFUgOCQDOPV8nSINxCwM3o93xP4P9Fq6aV5sgv2cOOITDMtCfQ+3PvHp3l689XZvAM9QyOA==", + "dev": true, + "requires": { + "@babel/helper-get-function-arity": "^7.8.3", + "@babel/template": "^7.8.3", + "@babel/types": "^7.8.3" + } + }, + "@babel/helper-get-function-arity": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz", + "integrity": "sha512-FVDR+Gd9iLjUMY1fzE2SR0IuaJToR4RkCDARVfsBBPSP53GEqSFjD8gNyxg246VUyc/ALRxFaAK8rVG7UT7xRA==", + "dev": true, + "requires": { + "@babel/types": "^7.8.3" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.8.3.tgz", + "integrity": "sha512-3x3yOeyBhW851hroze7ElzdkeRXQYQbFIb7gLK1WQYsw2GWDay5gAJNw1sWJ0VFP6z5J1whqeXH/WCdCjZv6dA==", + "dev": true, + "requires": { + "@babel/types": "^7.8.3" + } + }, + "@babel/highlight": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.8.3.tgz", + "integrity": "sha512-PX4y5xQUvy0fnEVHrYOarRPXVWafSjTW9T0Hab8gVIawpl2Sj0ORyrygANq+KjcNlSSTw0YCLSNA8OyZ1I4yEg==", + "dev": true, + "requires": { + "chalk": "^2.0.0", + "esutils": "^2.0.2", + "js-tokens": "^4.0.0" + } + }, + "@babel/parser": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.8.4.tgz", + "integrity": "sha512-0fKu/QqildpXmPVaRBoXOlyBb3MC+J0A66x97qEfLOMkn3u6nfY5esWogQwi/K0BjASYy4DbnsEWnpNL6qT5Mw==", + "dev": true + }, + "@babel/template": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.8.3.tgz", + "integrity": "sha512-04m87AcQgAFdvuoyiQ2kgELr2tV8B4fP/xJAVUL3Yb3bkNdMedD3d0rlSQr3PegP0cms3eHjl1F7PWlvWbU8FQ==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.8.3", + "@babel/parser": "^7.8.3", + "@babel/types": "^7.8.3" + } + }, + "@babel/traverse": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.8.4.tgz", + "integrity": "sha512-NGLJPZwnVEyBPLI+bl9y9aSnxMhsKz42so7ApAv9D+b4vAFPpY013FTS9LdKxcABoIYFU52HcYga1pPlx454mg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.8.3", + "@babel/generator": "^7.8.4", + "@babel/helper-function-name": "^7.8.3", + "@babel/helper-split-export-declaration": "^7.8.3", + "@babel/parser": "^7.8.4", + "@babel/types": "^7.8.3", + "debug": "^4.1.0", + "globals": "^11.1.0", + "lodash": "^4.17.13" + } + }, + "@babel/types": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz", + "integrity": "sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg==", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + }, "ansi-styles": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dev": true, "requires": { "color-convert": "^1.9.0" @@ -983,7 +1301,7 @@ "chalk": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dev": true, "requires": { "ansi-styles": "^3.2.1", @@ -991,1204 +1309,1128 @@ "supports-color": "^5.3.0" } }, + "debug": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "dev": true + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, "supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, "requires": { "has-flag": "^3.0.0" } + }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true } } }, - "babel-messages": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", - "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", - "dev": true, - "requires": { - "babel-runtime": "^6.22.0" - } - }, - "babel-plugin-istanbul": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-5.2.0.tgz", - "integrity": "sha1-30reg9iXqS3wacTZolzyZxKTyFQ=", - "dev": true, - "requires": { - "@babel/helper-plugin-utils": "^7.0.0", - "find-up": "^3.0.0", - "istanbul-lib-instrument": "^3.3.0", - "test-exclude": "^5.2.3" - } - }, - "babel-plugin-jest-hoist": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-24.9.0.tgz", - "integrity": "sha1-T4NwketAfgFEfIhDy+xUbQAC11Y=", - "dev": true, - "requires": { - "@types/babel__traverse": "^7.0.6" - } - }, - "babel-preset-jest": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-24.9.0.tgz", - "integrity": "sha1-GStSHiIX+x0fZ89z9wwzZlCtPNw=", + "@babel/helper-simple-access": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.8.3.tgz", + "integrity": "sha512-VNGUDjx5cCWg4vvCTR8qQ7YJYZ+HBjxOgXEl7ounz+4Sn7+LMD3CFrCTEU6/qXKbA2nKg21CwhhBzO0RpRbdCw==", "dev": true, "requires": { - "@babel/plugin-syntax-object-rest-spread": "^7.0.0", - "babel-plugin-jest-hoist": "^24.9.0" - } - }, - "babel-runtime": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", - "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", - "dev": true, - "requires": { - "core-js": "^2.4.0", - "regenerator-runtime": "^0.11.0" - } - }, - "babel-traverse": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", - "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", - "dev": true, - "requires": { - "babel-code-frame": "^6.26.0", - "babel-messages": "^6.23.0", - "babel-runtime": "^6.26.0", - "babel-types": "^6.26.0", - "babylon": "^6.18.0", - "debug": "^2.6.8", - "globals": "^9.18.0", - "invariant": "^2.2.2", - "lodash": "^4.17.4" + "@babel/template": "^7.8.3", + "@babel/types": "^7.8.3" + }, + "dependencies": { + "@babel/code-frame": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz", + "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==", + "dev": true, + "requires": { + "@babel/highlight": "^7.8.3" + } + }, + "@babel/highlight": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.8.3.tgz", + "integrity": "sha512-PX4y5xQUvy0fnEVHrYOarRPXVWafSjTW9T0Hab8gVIawpl2Sj0ORyrygANq+KjcNlSSTw0YCLSNA8OyZ1I4yEg==", + "dev": true, + "requires": { + "chalk": "^2.0.0", + "esutils": "^2.0.2", + "js-tokens": "^4.0.0" + } + }, + "@babel/parser": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.8.4.tgz", + "integrity": "sha512-0fKu/QqildpXmPVaRBoXOlyBb3MC+J0A66x97qEfLOMkn3u6nfY5esWogQwi/K0BjASYy4DbnsEWnpNL6qT5Mw==", + "dev": true + }, + "@babel/template": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.8.3.tgz", + "integrity": "sha512-04m87AcQgAFdvuoyiQ2kgELr2tV8B4fP/xJAVUL3Yb3bkNdMedD3d0rlSQr3PegP0cms3eHjl1F7PWlvWbU8FQ==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.8.3", + "@babel/parser": "^7.8.3", + "@babel/types": "^7.8.3" + } + }, + "@babel/types": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz", + "integrity": "sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg==", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true + } } }, - "babel-types": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", - "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", + "@babel/helper-split-export-declaration": { + "version": "7.7.4", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.7.4.tgz", + "integrity": "sha512-guAg1SXFcVr04Guk9eq0S4/rWS++sbmyqosJzVs8+1fH5NI+ZcmkaSkc7dmtAFbHFva6yRJnjW3yAcGxjueDug==", "dev": true, "requires": { - "babel-runtime": "^6.26.0", - "esutils": "^2.0.2", - "lodash": "^4.17.4", - "to-fast-properties": "^1.0.3" + "@babel/types": "^7.7.4" } }, - "babylon": { - "version": "6.18.0", - "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", - "integrity": "sha1-ry87iPpvXB5MY00aD46sT1WzleM=", - "dev": true - }, - "balanced-match": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", - "dev": true - }, - "base": { - "version": "0.11.2", - "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", - "integrity": "sha1-e95c7RRbbVUakNuH+DxVi060io8=", + "@babel/helper-wrap-function": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.8.3.tgz", + "integrity": "sha512-LACJrbUET9cQDzb6kG7EeD7+7doC3JNvUgTEQOx2qaO1fKlzE/Bf05qs9w1oXQMmXlPO65lC3Tq9S6gZpTErEQ==", "dev": true, "requires": { - "cache-base": "^1.0.1", - "class-utils": "^0.3.5", - "component-emitter": "^1.2.1", - "define-property": "^1.0.0", - "isobject": "^3.0.1", - "mixin-deep": "^1.2.0", - "pascalcase": "^0.1.1" + "@babel/helper-function-name": "^7.8.3", + "@babel/template": "^7.8.3", + "@babel/traverse": "^7.8.3", + "@babel/types": "^7.8.3" }, "dependencies": { - "define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "@babel/code-frame": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz", + "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==", "dev": true, "requires": { - "is-descriptor": "^1.0.0" + "@babel/highlight": "^7.8.3" } }, - "is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha1-FpwvbT3x+ZJhgHI2XJsOofaHhlY=", + "@babel/generator": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.8.4.tgz", + "integrity": "sha512-PwhclGdRpNAf3IxZb0YVuITPZmmrXz9zf6fH8lT4XbrmfQKr6ryBzhv593P5C6poJRciFCL/eHGW2NuGrgEyxA==", "dev": true, "requires": { - "kind-of": "^6.0.0" + "@babel/types": "^7.8.3", + "jsesc": "^2.5.1", + "lodash": "^4.17.13", + "source-map": "^0.5.0" } }, - "is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha1-2Eh2Mh0Oet0DmQQGq7u9NrqSaMc=", + "@babel/helper-function-name": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.8.3.tgz", + "integrity": "sha512-BCxgX1BC2hD/oBlIFUgOCQDOPV8nSINxCwM3o93xP4P9Fq6aV5sgv2cOOITDMtCfQ+3PvHp3l689XZvAM9QyOA==", "dev": true, "requires": { - "kind-of": "^6.0.0" + "@babel/helper-get-function-arity": "^7.8.3", + "@babel/template": "^7.8.3", + "@babel/types": "^7.8.3" } }, - "is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha1-OxWXRqZmBLBPjIFSS6NlxfFNhuw=", + "@babel/helper-get-function-arity": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz", + "integrity": "sha512-FVDR+Gd9iLjUMY1fzE2SR0IuaJToR4RkCDARVfsBBPSP53GEqSFjD8gNyxg246VUyc/ALRxFaAK8rVG7UT7xRA==", "dev": true, "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" + "@babel/types": "^7.8.3" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.8.3.tgz", + "integrity": "sha512-3x3yOeyBhW851hroze7ElzdkeRXQYQbFIb7gLK1WQYsw2GWDay5gAJNw1sWJ0VFP6z5J1whqeXH/WCdCjZv6dA==", + "dev": true, + "requires": { + "@babel/types": "^7.8.3" + } + }, + "@babel/highlight": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.8.3.tgz", + "integrity": "sha512-PX4y5xQUvy0fnEVHrYOarRPXVWafSjTW9T0Hab8gVIawpl2Sj0ORyrygANq+KjcNlSSTw0YCLSNA8OyZ1I4yEg==", + "dev": true, + "requires": { + "chalk": "^2.0.0", + "esutils": "^2.0.2", + "js-tokens": "^4.0.0" + } + }, + "@babel/parser": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.8.4.tgz", + "integrity": "sha512-0fKu/QqildpXmPVaRBoXOlyBb3MC+J0A66x97qEfLOMkn3u6nfY5esWogQwi/K0BjASYy4DbnsEWnpNL6qT5Mw==", + "dev": true + }, + "@babel/template": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.8.3.tgz", + "integrity": "sha512-04m87AcQgAFdvuoyiQ2kgELr2tV8B4fP/xJAVUL3Yb3bkNdMedD3d0rlSQr3PegP0cms3eHjl1F7PWlvWbU8FQ==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.8.3", + "@babel/parser": "^7.8.3", + "@babel/types": "^7.8.3" + } + }, + "@babel/traverse": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.8.4.tgz", + "integrity": "sha512-NGLJPZwnVEyBPLI+bl9y9aSnxMhsKz42so7ApAv9D+b4vAFPpY013FTS9LdKxcABoIYFU52HcYga1pPlx454mg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.8.3", + "@babel/generator": "^7.8.4", + "@babel/helper-function-name": "^7.8.3", + "@babel/helper-split-export-declaration": "^7.8.3", + "@babel/parser": "^7.8.4", + "@babel/types": "^7.8.3", + "debug": "^4.1.0", + "globals": "^11.1.0", + "lodash": "^4.17.13" + } + }, + "@babel/types": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz", + "integrity": "sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg==", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "debug": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "dev": true + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" } + }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true } } }, - "bcrypt-pbkdf": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", - "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", - "dev": true, - "requires": { - "tweetnacl": "^0.14.3" - } - }, - "bindings": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", - "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", + "@babel/helpers": { + "version": "7.7.4", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.7.4.tgz", + "integrity": "sha512-ak5NGZGJ6LV85Q1Zc9gn2n+ayXOizryhjSUBTdu5ih1tlVCJeuQENzc4ItyCVhINVXvIT/ZQ4mheGIsfBkpskg==", "dev": true, - "optional": true, "requires": { - "file-uri-to-path": "1.0.0" + "@babel/template": "^7.7.4", + "@babel/traverse": "^7.7.4", + "@babel/types": "^7.7.4" } }, - "boolbase": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", - "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=", - "dev": true - }, - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha1-PH/L9SnYcibz0vUrlm/1Jx60Qd0=", + "@babel/highlight": { + "version": "7.5.0", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.5.0.tgz", + "integrity": "sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChKy1TRQ==", "dev": true, "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "braces": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha1-WXn9PxTNUxVl5fot8av/8d+u5yk=", - "dev": true, - "requires": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" + "chalk": "^2.0.0", + "esutils": "^2.0.2", + "js-tokens": "^4.0.0" }, "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", "dev": true, "requires": { - "is-extendable": "^0.1.0" + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha1-GSA/tZmR35jjoocFDUZHzerzJJk=", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", + "dev": true, + "requires": { + "has-flag": "^3.0.0" } } } }, - "browser-process-hrtime": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-0.1.3.tgz", - "integrity": "sha1-YW8A+u8d9+wbW/nP4r3DFw8mx7Q=", + "@babel/parser": { + "version": "7.7.7", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.7.7.tgz", + "integrity": "sha1-G4hllUGc+S2BExbVtxWlP/OLSTc=", "dev": true }, - "browser-resolve": { - "version": "1.11.3", - "resolved": "https://registry.npmjs.org/browser-resolve/-/browser-resolve-1.11.3.tgz", - "integrity": "sha1-m3y7PQ9RDky4a9vXlhJNKLWJCvY=", + "@babel/plugin-proposal-async-generator-functions": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.8.3.tgz", + "integrity": "sha512-NZ9zLv848JsV3hs8ryEh7Uaz/0KsmPLqv0+PdkDJL1cJy0K4kOCFa8zc1E3mp+RHPQcpdfb/6GovEsW4VDrOMw==", "dev": true, "requires": { - "resolve": "1.1.7" + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/helper-remap-async-to-generator": "^7.8.3", + "@babel/plugin-syntax-async-generators": "^7.8.0" }, "dependencies": { - "resolve": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz", - "integrity": "sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=", + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", "dev": true } } }, - "bser": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", - "integrity": "sha1-5nh9og7OnQeZhTPP2d5vXDj0vAU=", + "@babel/plugin-proposal-dynamic-import": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.8.3.tgz", + "integrity": "sha512-NyaBbyLFXFLT9FP+zk0kYlUlA8XtCUbehs67F0nnEg7KICgMc2mNkIeu9TYhKzyXMkrapZFwAhXLdnt4IYHy1w==", "dev": true, "requires": { - "node-int64": "^0.4.0" + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/plugin-syntax-dynamic-import": "^7.8.0" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } } }, - "buffer-from": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha1-MnE7wCj3XAL9txDXx7zsHyxgcO8=", - "dev": true - }, - "cache-base": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", - "integrity": "sha1-Cn9GQWgxyLZi7jb+TnxZ129marI=", + "@babel/plugin-proposal-json-strings": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.8.3.tgz", + "integrity": "sha512-KGhQNZ3TVCQG/MjRbAUwuH+14y9q0tpxs1nWWs3pbSleRdDro9SAMMDyye8HhY1gqZ7/NqIc8SKhya0wRDgP1Q==", "dev": true, "requires": { - "collection-visit": "^1.0.0", - "component-emitter": "^1.2.1", - "get-value": "^2.0.6", - "has-value": "^1.0.0", - "isobject": "^3.0.1", - "set-value": "^2.0.0", - "to-object-path": "^0.3.0", - "union-value": "^1.0.0", - "unset-value": "^1.0.0" + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/plugin-syntax-json-strings": "^7.8.0" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } } }, - "callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha1-s2MKvYlDQy9Us/BRkjjjPNffL3M=", - "dev": true - }, - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha1-48mzFWnhBoEd8kL3FXJaH0xJQyA=", - "dev": true - }, - "capture-exit": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/capture-exit/-/capture-exit-2.0.0.tgz", - "integrity": "sha1-+5U7+uvreB9iiYI52rtCbQilCaQ=", + "@babel/plugin-proposal-nullish-coalescing-operator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.8.3.tgz", + "integrity": "sha512-TS9MlfzXpXKt6YYomudb/KU7nQI6/xnapG6in1uZxoxDghuSMZsPb6D2fyUwNYSAp4l1iR7QtFOjkqcRYcUsfw==", "dev": true, "requires": { - "rsvp": "^4.8.4" + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.0" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } } }, - "caseless": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", - "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", - "dev": true - }, - "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "@babel/plugin-proposal-object-rest-spread": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.8.3.tgz", + "integrity": "sha512-8qvuPwU/xxUCt78HocNlv0mXXo0wdh9VT1R04WU8HGOfaOob26pF+9P5/lYjN/q7DHOX1bvX60hnhOvuQUJdbA==", "dev": true, "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/plugin-syntax-object-rest-spread": "^7.8.0" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } } }, - "chardet": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", - "integrity": "sha1-kAlISfCTfy7twkJdDSip5fDLrZ4=", - "dev": true - }, - "cheerio": { - "version": "1.0.0-rc.2", - "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.2.tgz", - "integrity": "sha1-S59TqBsn5NXawxwP/Qz6A8xoMNs=", + "@babel/plugin-proposal-optional-catch-binding": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.8.3.tgz", + "integrity": "sha512-0gkX7J7E+AtAw9fcwlVQj8peP61qhdg/89D5swOkjYbkboA2CVckn3kiyum1DE0wskGb7KJJxBdyEBApDLLVdw==", "dev": true, "requires": { - "css-select": "~1.2.0", - "dom-serializer": "~0.1.0", - "entities": "~1.1.1", - "htmlparser2": "^3.9.1", - "lodash": "^4.15.0", - "parse5": "^3.0.1" + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.0" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } } }, - "ci-info": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", - "integrity": "sha1-Z6npZL4xpR4V5QENWObxKDQAL0Y=", - "dev": true - }, - "class-utils": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", - "integrity": "sha1-+TNprouafOAv1B+q0MqDAzGQxGM=", + "@babel/plugin-proposal-optional-chaining": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.8.3.tgz", + "integrity": "sha512-QIoIR9abkVn+seDE3OjA08jWcs3eZ9+wJCKSRgo3WdEU2csFYgdScb+8qHB3+WXsGJD55u+5hWCISI7ejXS+kg==", "dev": true, "requires": { - "arr-union": "^3.1.0", - "define-property": "^0.2.5", - "isobject": "^3.0.0", - "static-extend": "^0.1.1" + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.0" }, "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true } } }, - "cli-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", - "integrity": "sha1-JkMFp65JDR0Dvwybp8kl0XU68wc=", + "@babel/plugin-proposal-unicode-property-regex": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.8.3.tgz", + "integrity": "sha512-1/1/rEZv2XGweRwwSkLpY+s60za9OZ1hJs4YDqFHCw0kYWYwL5IFljVY1MYBL+weT1l9pokDO2uhSTLVxzoHkQ==", "dev": true, "requires": { - "restore-cursor": "^3.1.0" + "@babel/helper-create-regexp-features-plugin": "^7.8.3", + "@babel/helper-plugin-utils": "^7.8.3" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } } }, - "cli-width": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz", - "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=", - "dev": true - }, - "cliui": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz", - "integrity": "sha1-3u/P2y6AB4SqNPRvoI4GhRx7u8U=", + "@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", + "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", "dev": true, "requires": { - "string-width": "^3.1.0", - "strip-ansi": "^5.2.0", - "wrap-ansi": "^5.1.0" + "@babel/helper-plugin-utils": "^7.8.0" }, "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha1-i5+PCM8ay4Q3Vqg5yox+MWjFGZc=", + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", "dev": true - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha1-jJpTb+tq/JYr36WxBKUJHBrZwK4=", - "dev": true, - "requires": { - "ansi-regex": "^4.1.0" - } } } }, - "co": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", - "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", - "dev": true - }, - "collection-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", - "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", + "@babel/plugin-syntax-bigint": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", + "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", "dev": true, "requires": { - "map-visit": "^1.0.0", - "object-visit": "^1.0.0" + "@babel/helper-plugin-utils": "^7.8.0" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } } }, - "color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha1-u3GFBpDh8TZWfeYp0tVHHe2kweg=", + "@babel/plugin-syntax-dynamic-import": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", + "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", "dev": true, "requires": { - "color-name": "1.1.3" + "@babel/helper-plugin-utils": "^7.8.0" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } } }, - "color-logger": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/color-logger/-/color-logger-0.0.6.tgz", - "integrity": "sha1-5WJF7ymCJlcRDHy3WpzXhstp7Rs=", - "dev": true - }, - "color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", - "dev": true - }, - "combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha1-w9RaizT9cwYxoRCoolIGgrMdWn8=", + "@babel/plugin-syntax-json-strings": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", + "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", "dev": true, "requires": { - "delayed-stream": "~1.0.0" + "@babel/helper-plugin-utils": "^7.8.0" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } } }, - "commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha1-/UhehMA+tIgcIHIrpIA16FMa6zM=", + "@babel/plugin-syntax-nullish-coalescing-operator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", + "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", "dev": true, - "optional": true - }, - "component-emitter": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", - "integrity": "sha1-FuQHD7qK4ptnnyIVhT7hgasuq8A=", - "dev": true - }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true - }, - "confusing-browser-globals": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.9.tgz", - "integrity": "sha1-crwTtIPAJ2gBaBhx1ImFFvj1T90=", - "dev": true - }, - "contains-path": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz", - "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=", - "dev": true + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } + } }, - "convert-source-map": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", - "integrity": "sha1-F6LLiC1/d9NJBYXizmxSRCSjpEI=", + "@babel/plugin-syntax-object-rest-spread": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", + "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", "dev": true, "requires": { - "safe-buffer": "~5.1.1" + "@babel/helper-plugin-utils": "^7.8.0" }, "dependencies": { - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha1-mR7GnSluAxN0fVm9/St0XDX4go0=", + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", "dev": true } } }, - "copy-descriptor": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", - "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", - "dev": true - }, - "core-js": { - "version": "2.6.11", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz", - "integrity": "sha1-OIMUafmSK97Y7iHJ3EaYXgOZMIw=", - "dev": true - }, - "core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", - "dev": true - }, - "cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha1-Sl7Hxk364iw6FBJNus3uhG2Ay8Q=", + "@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", + "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", "dev": true, "requires": { - "nice-try": "^1.0.4", - "path-key": "^2.0.1", - "semver": "^5.5.0", - "shebang-command": "^1.2.0", - "which": "^1.2.9" + "@babel/helper-plugin-utils": "^7.8.0" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } } }, - "css-select": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz", - "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=", + "@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", + "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", "dev": true, "requires": { - "boolbase": "~1.0.0", - "css-what": "2.1", - "domutils": "1.5.1", - "nth-check": "~1.0.1" + "@babel/helper-plugin-utils": "^7.8.0" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } } }, - "css-what": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.3.tgz", - "integrity": "sha1-ptdgRXM2X+dGhsPzEcVlE9iChfI=", - "dev": true - }, - "cssom": { - "version": "0.3.8", - "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz", - "integrity": "sha1-nxJ29bK0Y/IRTT8sdSUK+MGjb0o=", - "dev": true - }, - "cssstyle": { - "version": "0.2.37", - "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-0.2.37.tgz", - "integrity": "sha1-VBCXI0yyUTyDzu06zdwn/yeYfVQ=", + "@babel/plugin-syntax-top-level-await": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.8.3.tgz", + "integrity": "sha512-kwj1j9lL/6Wd0hROD3b/OZZ7MSrZLqqn9RAZ5+cYYsflQ9HZBIKCUkr3+uL1MEJ1NePiUbf98jjiMQSv0NMR9g==", "dev": true, - "optional": true, "requires": { - "cssom": "0.3.x" + "@babel/helper-plugin-utils": "^7.8.3" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } } }, - "dashdash": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", - "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "@babel/plugin-transform-arrow-functions": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.8.3.tgz", + "integrity": "sha512-0MRF+KC8EqH4dbuITCWwPSzsyO3HIWWlm30v8BbbpOrS1B++isGxPnnuq/IZvOX5J2D/p7DQalQm+/2PnlKGxg==", "dev": true, "requires": { - "assert-plus": "^1.0.0" + "@babel/helper-plugin-utils": "^7.8.3" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } } }, - "data-urls": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-1.1.0.tgz", - "integrity": "sha1-Fe4Fgrql4iu1nHcUDaj5x2lju/4=", + "@babel/plugin-transform-async-to-generator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.8.3.tgz", + "integrity": "sha512-imt9tFLD9ogt56Dd5CI/6XgpukMwd/fLGSrix2httihVe7LOGVPhyhMh1BU5kDM7iHD08i8uUtmV2sWaBFlHVQ==", "dev": true, "requires": { - "abab": "^2.0.0", - "whatwg-mimetype": "^2.2.0", - "whatwg-url": "^7.0.0" + "@babel/helper-module-imports": "^7.8.3", + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/helper-remap-async-to-generator": "^7.8.3" }, "dependencies": { - "abab": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.3.tgz", - "integrity": "sha1-Yj4gdeAustPyR15J+ZyRhGRnkHo=", - "dev": true - }, - "tr46": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz", - "integrity": "sha1-qLE/1r/SSJUZZ0zN5VujaTtwbQk=", - "dev": true, - "requires": { - "punycode": "^2.1.0" - } - }, - "webidl-conversions": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", - "integrity": "sha1-qFWYCx8LazWbodXZ+zmulB+qY60=", + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", "dev": true - }, - "whatwg-url": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz", - "integrity": "sha1-wsSS8eymEpiO/T0iZr4bn8YXDQY=", - "dev": true, - "requires": { - "lodash.sortby": "^4.7.0", - "tr46": "^1.0.1", - "webidl-conversions": "^4.0.2" - } } } }, - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=", + "@babel/plugin-transform-block-scoped-functions": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.8.3.tgz", + "integrity": "sha512-vo4F2OewqjbB1+yaJ7k2EJFHlTP3jR634Z9Cj9itpqNjuLXvhlVxgnjsHsdRgASR8xYDrx6onw4vW5H6We0Jmg==", "dev": true, "requires": { - "ms": "2.0.0" + "@babel/helper-plugin-utils": "^7.8.3" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } } }, - "decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", - "dev": true - }, - "decode-uri-component": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", - "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", - "dev": true - }, - "deep-is": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", - "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", - "dev": true - }, - "define-properties": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", - "integrity": "sha1-z4jabL7ib+bbcJT2HYcMvYTO6fE=", + "@babel/plugin-transform-block-scoping": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.8.3.tgz", + "integrity": "sha512-pGnYfm7RNRgYRi7bids5bHluENHqJhrV4bCZRwc5GamaWIIs07N4rZECcmJL6ZClwjDz1GbdMZFtPs27hTB06w==", "dev": true, "requires": { - "object-keys": "^1.0.12" + "@babel/helper-plugin-utils": "^7.8.3", + "lodash": "^4.17.13" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } } }, - "define-property": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", - "integrity": "sha1-1Flono1lS6d+AqgX+HENcCyxbp0=", + "@babel/plugin-transform-classes": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.8.3.tgz", + "integrity": "sha512-SjT0cwFJ+7Rbr1vQsvphAHwUHvSUPmMjMU/0P59G8U2HLFqSa082JO7zkbDNWs9kH/IUqpHI6xWNesGf8haF1w==", "dev": true, "requires": { - "is-descriptor": "^1.0.2", - "isobject": "^3.0.1" + "@babel/helper-annotate-as-pure": "^7.8.3", + "@babel/helper-define-map": "^7.8.3", + "@babel/helper-function-name": "^7.8.3", + "@babel/helper-optimise-call-expression": "^7.8.3", + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/helper-replace-supers": "^7.8.3", + "@babel/helper-split-export-declaration": "^7.8.3", + "globals": "^11.1.0" }, "dependencies": { - "is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha1-FpwvbT3x+ZJhgHI2XJsOofaHhlY=", + "@babel/code-frame": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz", + "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==", "dev": true, "requires": { - "kind-of": "^6.0.0" + "@babel/highlight": "^7.8.3" } }, - "is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha1-2Eh2Mh0Oet0DmQQGq7u9NrqSaMc=", + "@babel/helper-function-name": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.8.3.tgz", + "integrity": "sha512-BCxgX1BC2hD/oBlIFUgOCQDOPV8nSINxCwM3o93xP4P9Fq6aV5sgv2cOOITDMtCfQ+3PvHp3l689XZvAM9QyOA==", "dev": true, "requires": { - "kind-of": "^6.0.0" + "@babel/helper-get-function-arity": "^7.8.3", + "@babel/template": "^7.8.3", + "@babel/types": "^7.8.3" } }, - "is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha1-OxWXRqZmBLBPjIFSS6NlxfFNhuw=", + "@babel/helper-get-function-arity": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz", + "integrity": "sha512-FVDR+Gd9iLjUMY1fzE2SR0IuaJToR4RkCDARVfsBBPSP53GEqSFjD8gNyxg246VUyc/ALRxFaAK8rVG7UT7xRA==", "dev": true, "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" + "@babel/types": "^7.8.3" } - } - } - }, - "delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", - "dev": true - }, - "detect-indent": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", - "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", - "dev": true, - "requires": { - "repeating": "^2.0.0" - } - }, - "detect-newline": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-2.1.0.tgz", - "integrity": "sha1-9B8cEL5LAOh7XxPaaAdZ8sW/0+I=", - "dev": true - }, - "diff-sequences": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-24.9.0.tgz", - "integrity": "sha1-VxXWJE4qpl9Iu6C8ly2wsLEelbU=", - "dev": true - }, - "doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha1-rd6+rXKmV023g2OdyHoSF3OXOWE=", - "dev": true, - "requires": { - "esutils": "^2.0.2" - } - }, - "dom-serializer": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.1.tgz", - "integrity": "sha1-HsQFnihLq+027sKUHUqXChic58A=", - "dev": true, - "requires": { - "domelementtype": "^1.3.0", - "entities": "^1.1.1" - } - }, - "domelementtype": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz", - "integrity": "sha1-0EjESzew0Qp/Kj1f7j9DM9eQSB8=", - "dev": true - }, - "domexception": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/domexception/-/domexception-1.0.1.tgz", - "integrity": "sha1-k3RCZEymoxJh7zbj7Gd/6AVYLJA=", - "dev": true, - "requires": { - "webidl-conversions": "^4.0.2" - }, - "dependencies": { - "webidl-conversions": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", - "integrity": "sha1-qFWYCx8LazWbodXZ+zmulB+qY60=", + }, + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", "dev": true - } - } - }, - "domhandler": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz", - "integrity": "sha1-iAUJfpM9ZehVRvcm1g9euItE+AM=", - "dev": true, - "requires": { - "domelementtype": "1" - } - }, - "domutils": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz", - "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=", - "dev": true, - "requires": { - "dom-serializer": "0", - "domelementtype": "1" - } - }, - "ecc-jsbn": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", - "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", - "dev": true, - "requires": { - "jsbn": "~0.1.0", - "safer-buffer": "^2.1.0" - } - }, - "emoji-regex": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", - "integrity": "sha1-kzoEBShgyF6DwSJHnEdIqOTHIVY=", - "dev": true - }, - "end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha1-WuZKX0UFe682JuwU2gyl5LJDHrA=", - "dev": true, - "requires": { - "once": "^1.4.0" + }, + "@babel/helper-split-export-declaration": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.8.3.tgz", + "integrity": "sha512-3x3yOeyBhW851hroze7ElzdkeRXQYQbFIb7gLK1WQYsw2GWDay5gAJNw1sWJ0VFP6z5J1whqeXH/WCdCjZv6dA==", + "dev": true, + "requires": { + "@babel/types": "^7.8.3" + } + }, + "@babel/highlight": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.8.3.tgz", + "integrity": "sha512-PX4y5xQUvy0fnEVHrYOarRPXVWafSjTW9T0Hab8gVIawpl2Sj0ORyrygANq+KjcNlSSTw0YCLSNA8OyZ1I4yEg==", + "dev": true, + "requires": { + "chalk": "^2.0.0", + "esutils": "^2.0.2", + "js-tokens": "^4.0.0" + } + }, + "@babel/parser": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.8.4.tgz", + "integrity": "sha512-0fKu/QqildpXmPVaRBoXOlyBb3MC+J0A66x97qEfLOMkn3u6nfY5esWogQwi/K0BjASYy4DbnsEWnpNL6qT5Mw==", + "dev": true + }, + "@babel/template": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.8.3.tgz", + "integrity": "sha512-04m87AcQgAFdvuoyiQ2kgELr2tV8B4fP/xJAVUL3Yb3bkNdMedD3d0rlSQr3PegP0cms3eHjl1F7PWlvWbU8FQ==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.8.3", + "@babel/parser": "^7.8.3", + "@babel/types": "^7.8.3" + } + }, + "@babel/types": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz", + "integrity": "sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg==", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true + } } }, - "entities": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", - "integrity": "sha1-vfpzUplmTfr9NFKe1PhSKidf6lY=", - "dev": true - }, - "error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha1-tKxAZIEH/c3PriQvQovqihTU8b8=", + "@babel/plugin-transform-computed-properties": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.8.3.tgz", + "integrity": "sha512-O5hiIpSyOGdrQZRQ2ccwtTVkgUDBBiCuK//4RJ6UfePllUTCENOzKxfh6ulckXKc0DixTFLCfb2HVkNA7aDpzA==", "dev": true, "requires": { - "is-arrayish": "^0.2.1" + "@babel/helper-plugin-utils": "^7.8.3" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } } }, - "es-abstract": { - "version": "1.17.0", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.0.tgz", - "integrity": "sha1-9CpRfQA2pVkduyxGNZHci7UDCbE=", + "@babel/plugin-transform-destructuring": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.8.3.tgz", + "integrity": "sha512-H4X646nCkiEcHZUZaRkhE2XVsoz0J/1x3VVujnn96pSoGCtKPA99ZZA+va+gK+92Zycd6OBKCD8tDb/731bhgQ==", "dev": true, "requires": { - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1", - "is-callable": "^1.1.5", - "is-regex": "^1.0.5", - "object-inspect": "^1.7.0", - "object-keys": "^1.1.1", - "object.assign": "^4.1.0", - "string.prototype.trimleft": "^2.1.1", - "string.prototype.trimright": "^2.1.1" + "@babel/helper-plugin-utils": "^7.8.3" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } } }, - "es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha1-5VzUyc3BiLzvsDs2bHNjI/xciYo=", + "@babel/plugin-transform-dotall-regex": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.8.3.tgz", + "integrity": "sha512-kLs1j9Nn4MQoBYdRXH6AeaXMbEJFaFu/v1nQkvib6QzTj8MZI5OQzqmD83/2jEM1z0DLilra5aWO5YpyC0ALIw==", "dev": true, "requires": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" + "@babel/helper-create-regexp-features-plugin": "^7.8.3", + "@babel/helper-plugin-utils": "^7.8.3" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } } }, - "escape-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=", - "dev": true - }, - "escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true - }, - "escodegen": { - "version": "1.12.0", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.12.0.tgz", - "integrity": "sha1-92Pa+ECvFyuzorbdchnA4X9/9UE=", + "@babel/plugin-transform-duplicate-keys": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.8.3.tgz", + "integrity": "sha512-s8dHiBUbcbSgipS4SMFuWGqCvyge5V2ZeAWzR6INTVC3Ltjig/Vw1G2Gztv0vU/hRG9X8IvKvYdoksnUfgXOEQ==", "dev": true, "requires": { - "esprima": "^3.1.3", - "estraverse": "^4.2.0", - "esutils": "^2.0.2", - "optionator": "^0.8.1", - "source-map": "~0.6.1" + "@babel/helper-plugin-utils": "^7.8.3" }, "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha1-dHIq8y6WFOnCh6jQu95IteLxomM=", - "dev": true, - "optional": true + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true } } }, - "esdoc": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/esdoc/-/esdoc-1.1.0.tgz", - "integrity": "sha1-B9QOv3kXZM1TeSnCkRHiCoV2JPM=", + "@babel/plugin-transform-exponentiation-operator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.8.3.tgz", + "integrity": "sha512-zwIpuIymb3ACcInbksHaNcR12S++0MDLKkiqXHl3AzpgdKlFNhog+z/K0+TGW+b0w5pgTq4H6IwV/WhxbGYSjQ==", "dev": true, "requires": { - "babel-generator": "6.26.1", - "babel-traverse": "6.26.0", - "babylon": "6.18.0", - "cheerio": "1.0.0-rc.2", - "color-logger": "0.0.6", - "escape-html": "1.0.3", - "fs-extra": "5.0.0", - "ice-cap": "0.0.4", - "marked": "0.3.19", - "minimist": "1.2.0", - "taffydb": "2.7.3" + "@babel/helper-builder-binary-assignment-operator-visitor": "^7.8.3", + "@babel/helper-plugin-utils": "^7.8.3" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } } }, - "esdoc-accessor-plugin": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/esdoc-accessor-plugin/-/esdoc-accessor-plugin-1.0.0.tgz", - "integrity": "sha1-eRukhy5sQDUVznSbE0jW8Ck62es=", - "dev": true - }, - "esdoc-brand-plugin": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/esdoc-brand-plugin/-/esdoc-brand-plugin-1.0.1.tgz", - "integrity": "sha1-fA4a6Q6EwwstM2nTpkSfncn41RE=", + "@babel/plugin-transform-for-of": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.8.4.tgz", + "integrity": "sha512-iAXNlOWvcYUYoV8YIxwS7TxGRJcxyl8eQCfT+A5j8sKUzRFvJdcyjp97jL2IghWSRDaL2PU2O2tX8Cu9dTBq5A==", "dev": true, "requires": { - "cheerio": "0.22.0" + "@babel/helper-plugin-utils": "^7.8.3" }, "dependencies": { - "cheerio": { - "version": "0.22.0", - "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-0.22.0.tgz", - "integrity": "sha1-qbqoYKP5tZWmuBsahocxIe06Jp4=", - "dev": true, - "requires": { - "css-select": "~1.2.0", - "dom-serializer": "~0.1.0", - "entities": "~1.1.1", - "htmlparser2": "^3.9.1", - "lodash.assignin": "^4.0.9", - "lodash.bind": "^4.1.4", - "lodash.defaults": "^4.0.1", - "lodash.filter": "^4.4.0", - "lodash.flatten": "^4.2.0", - "lodash.foreach": "^4.3.0", - "lodash.map": "^4.4.0", - "lodash.merge": "^4.4.0", - "lodash.pick": "^4.2.1", - "lodash.reduce": "^4.4.0", - "lodash.reject": "^4.4.0", - "lodash.some": "^4.4.0" - } + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true } } }, - "esdoc-coverage-plugin": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/esdoc-coverage-plugin/-/esdoc-coverage-plugin-1.1.0.tgz", - "integrity": "sha1-OGmGnNf4eJH5cmJXh2laKZrs5Fw=", - "dev": true - }, - "esdoc-external-ecmascript-plugin": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/esdoc-external-ecmascript-plugin/-/esdoc-external-ecmascript-plugin-1.0.0.tgz", - "integrity": "sha1-ePVl1KDFGFrGMVJhTc4f4ahmiNs=", + "@babel/plugin-transform-function-name": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.8.3.tgz", + "integrity": "sha512-rO/OnDS78Eifbjn5Py9v8y0aR+aSYhDhqAwVfsTl0ERuMZyr05L1aFSCJnbv2mmsLkit/4ReeQ9N2BgLnOcPCQ==", "dev": true, "requires": { - "fs-extra": "1.0.0" + "@babel/helper-function-name": "^7.8.3", + "@babel/helper-plugin-utils": "^7.8.3" }, "dependencies": { - "fs-extra": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-1.0.0.tgz", - "integrity": "sha1-zTzl9+fLYUWIP8rjGR6Yd/hYeVA=", + "@babel/code-frame": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz", + "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==", "dev": true, "requires": { - "graceful-fs": "^4.1.2", - "jsonfile": "^2.1.0", - "klaw": "^1.0.0" + "@babel/highlight": "^7.8.3" } }, - "jsonfile": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", - "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", + "@babel/helper-function-name": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.8.3.tgz", + "integrity": "sha512-BCxgX1BC2hD/oBlIFUgOCQDOPV8nSINxCwM3o93xP4P9Fq6aV5sgv2cOOITDMtCfQ+3PvHp3l689XZvAM9QyOA==", "dev": true, "requires": { - "graceful-fs": "^4.1.6" - } - } - } - }, - "esdoc-integrate-manual-plugin": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/esdoc-integrate-manual-plugin/-/esdoc-integrate-manual-plugin-1.0.0.tgz", - "integrity": "sha1-GFSmqhwIEDXXyMUeO91PtlqkcRw=", - "dev": true - }, - "esdoc-integrate-test-plugin": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/esdoc-integrate-test-plugin/-/esdoc-integrate-test-plugin-1.0.0.tgz", - "integrity": "sha1-4tDQAJD38MNeXS8sAzMnp55T5Ak=", - "dev": true - }, - "esdoc-lint-plugin": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/esdoc-lint-plugin/-/esdoc-lint-plugin-1.0.2.tgz", - "integrity": "sha1-SWKTDG3Fsl2Az27/Gw88JGCQd/c=", - "dev": true - }, - "esdoc-publish-html-plugin": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/esdoc-publish-html-plugin/-/esdoc-publish-html-plugin-1.1.2.tgz", - "integrity": "sha1-veznvHoKPkGZM1AyUtt6Z3KHnas=", - "dev": true, - "requires": { - "babel-generator": "6.11.4", - "cheerio": "0.22.0", - "escape-html": "1.0.3", - "fs-extra": "1.0.0", - "ice-cap": "0.0.4", - "marked": "0.3.19", - "taffydb": "2.7.2" - }, - "dependencies": { - "babel-generator": { - "version": "6.11.4", - "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.11.4.tgz", - "integrity": "sha1-FPaTOrsgxiZm0n47e59bncBxKpo=", - "dev": true, - "requires": { - "babel-messages": "^6.8.0", - "babel-runtime": "^6.9.0", - "babel-types": "^6.10.2", - "detect-indent": "^3.0.1", - "lodash": "^4.2.0", - "source-map": "^0.5.0" + "@babel/helper-get-function-arity": "^7.8.3", + "@babel/template": "^7.8.3", + "@babel/types": "^7.8.3" } }, - "cheerio": { - "version": "0.22.0", - "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-0.22.0.tgz", - "integrity": "sha1-qbqoYKP5tZWmuBsahocxIe06Jp4=", + "@babel/helper-get-function-arity": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz", + "integrity": "sha512-FVDR+Gd9iLjUMY1fzE2SR0IuaJToR4RkCDARVfsBBPSP53GEqSFjD8gNyxg246VUyc/ALRxFaAK8rVG7UT7xRA==", "dev": true, "requires": { - "css-select": "~1.2.0", - "dom-serializer": "~0.1.0", - "entities": "~1.1.1", - "htmlparser2": "^3.9.1", - "lodash.assignin": "^4.0.9", - "lodash.bind": "^4.1.4", - "lodash.defaults": "^4.0.1", - "lodash.filter": "^4.4.0", - "lodash.flatten": "^4.2.0", - "lodash.foreach": "^4.3.0", - "lodash.map": "^4.4.0", - "lodash.merge": "^4.4.0", - "lodash.pick": "^4.2.1", - "lodash.reduce": "^4.4.0", - "lodash.reject": "^4.4.0", - "lodash.some": "^4.4.0" + "@babel/types": "^7.8.3" } }, - "detect-indent": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-3.0.1.tgz", - "integrity": "sha1-ncXl3bzu+DJXZLlFGwK8bVQIT3U=", - "dev": true, - "requires": { - "get-stdin": "^4.0.1", - "minimist": "^1.1.0", - "repeating": "^1.1.0" - } + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true }, - "fs-extra": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-1.0.0.tgz", - "integrity": "sha1-zTzl9+fLYUWIP8rjGR6Yd/hYeVA=", + "@babel/highlight": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.8.3.tgz", + "integrity": "sha512-PX4y5xQUvy0fnEVHrYOarRPXVWafSjTW9T0Hab8gVIawpl2Sj0ORyrygANq+KjcNlSSTw0YCLSNA8OyZ1I4yEg==", "dev": true, "requires": { - "graceful-fs": "^4.1.2", - "jsonfile": "^2.1.0", - "klaw": "^1.0.0" + "chalk": "^2.0.0", + "esutils": "^2.0.2", + "js-tokens": "^4.0.0" } }, - "jsonfile": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", - "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", + "@babel/parser": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.8.4.tgz", + "integrity": "sha512-0fKu/QqildpXmPVaRBoXOlyBb3MC+J0A66x97qEfLOMkn3u6nfY5esWogQwi/K0BjASYy4DbnsEWnpNL6qT5Mw==", + "dev": true + }, + "@babel/template": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.8.3.tgz", + "integrity": "sha512-04m87AcQgAFdvuoyiQ2kgELr2tV8B4fP/xJAVUL3Yb3bkNdMedD3d0rlSQr3PegP0cms3eHjl1F7PWlvWbU8FQ==", "dev": true, "requires": { - "graceful-fs": "^4.1.6" + "@babel/code-frame": "^7.8.3", + "@babel/parser": "^7.8.3", + "@babel/types": "^7.8.3" } }, - "repeating": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/repeating/-/repeating-1.1.3.tgz", - "integrity": "sha1-PUEUIYh3U3SU+X93+Xhfq4EPpKw=", + "@babel/types": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz", + "integrity": "sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg==", "dev": true, "requires": { - "is-finite": "^1.0.0" + "esutils": "^2.0.2", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" } }, - "taffydb": { - "version": "2.7.2", - "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.7.2.tgz", - "integrity": "sha1-e/gQalwaSCUbPjvAoOFzJIn9Dcg=", - "dev": true - } - } - }, - "esdoc-standard-plugin": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/esdoc-standard-plugin/-/esdoc-standard-plugin-1.0.0.tgz", - "integrity": "sha1-ZhIBysfvhokkkCRG/awVJyU8XU0=", - "dev": true, - "requires": { - "esdoc-accessor-plugin": "^1.0.0", - "esdoc-brand-plugin": "^1.0.0", - "esdoc-coverage-plugin": "^1.0.0", - "esdoc-external-ecmascript-plugin": "^1.0.0", - "esdoc-integrate-manual-plugin": "^1.0.0", - "esdoc-integrate-test-plugin": "^1.0.0", - "esdoc-lint-plugin": "^1.0.0", - "esdoc-publish-html-plugin": "^1.0.0", - "esdoc-type-inference-plugin": "^1.0.0", - "esdoc-undocumented-identifier-plugin": "^1.0.0", - "esdoc-unexported-identifier-plugin": "^1.0.0" - } - }, - "esdoc-type-inference-plugin": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/esdoc-type-inference-plugin/-/esdoc-type-inference-plugin-1.0.2.tgz", - "integrity": "sha1-kW4/dW3h2B2cDb4cAI6Nr9Miz68=", - "dev": true - }, - "esdoc-undocumented-identifier-plugin": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/esdoc-undocumented-identifier-plugin/-/esdoc-undocumented-identifier-plugin-1.0.0.tgz", - "integrity": "sha1-guBdNxwy0ShxFA8dXIHsmf2cwsg=", - "dev": true - }, - "esdoc-unexported-identifier-plugin": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/esdoc-unexported-identifier-plugin/-/esdoc-unexported-identifier-plugin-1.0.0.tgz", - "integrity": "sha1-H5h0xqfCvr+a05fDzrdcnGnaurE=", - "dev": true - }, - "eslint": { - "version": "6.8.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-6.8.0.tgz", - "integrity": "sha1-YiYtZylzn5J1cjgkMC+yJ8jJP/s=", - "dev": true, - "requires": { - "@babel/code-frame": "^7.0.0", - "ajv": "^6.10.0", - "chalk": "^2.1.0", - "cross-spawn": "^6.0.5", - "debug": "^4.0.1", - "doctrine": "^3.0.0", - "eslint-scope": "^5.0.0", - "eslint-utils": "^1.4.3", - "eslint-visitor-keys": "^1.1.0", - "espree": "^6.1.2", - "esquery": "^1.0.1", - "esutils": "^2.0.2", - "file-entry-cache": "^5.0.1", - "functional-red-black-tree": "^1.0.1", - "glob-parent": "^5.0.0", - "globals": "^12.1.0", - "ignore": "^4.0.6", - "import-fresh": "^3.0.0", - "imurmurhash": "^0.1.4", - "inquirer": "^7.0.0", - "is-glob": "^4.0.0", - "js-yaml": "^3.13.1", - "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.3.0", - "lodash": "^4.17.14", - "minimatch": "^3.0.4", - "mkdirp": "^0.5.1", - "natural-compare": "^1.4.0", - "optionator": "^0.8.3", - "progress": "^2.0.0", - "regexpp": "^2.0.1", - "semver": "^6.1.2", - "strip-ansi": "^5.2.0", - "strip-json-comments": "^3.0.1", - "table": "^5.2.3", - "text-table": "^0.2.0", - "v8-compile-cache": "^2.0.3" - }, - "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha1-i5+PCM8ay4Q3Vqg5yox+MWjFGZc=", - "dev": true - }, "ansi-styles": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "dev": true, "requires": { "color-convert": "^1.9.0" @@ -2197,7 +2439,7 @@ "chalk": { "version": "2.4.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "dev": true, "requires": { "ansi-styles": "^3.2.1", @@ -2205,531 +2447,1966 @@ "supports-color": "^5.3.0" } }, - "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha1-O3ImAlUQnGtYnO4FDx1RYTlmR5E=", - "dev": true, - "requires": { - "ms": "^2.1.1" - } - }, - "globals": { - "version": "12.3.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-12.3.0.tgz", - "integrity": "sha1-HlZO5cTd7SqwmLD4jyRwKjxWvhM=", - "dev": true, - "requires": { - "type-fest": "^0.8.1" - } - }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=", - "dev": true - }, - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha1-7gpkyK9ejO6mdoexM3YeG+y9HT0=", + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", "dev": true }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha1-jJpTb+tq/JYr36WxBKUJHBrZwK4=", - "dev": true, - "requires": { - "ansi-regex": "^4.1.0" - } - }, "supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "dev": true, "requires": { "has-flag": "^3.0.0" } + }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true } } }, - "eslint-config-airbnb-base": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-14.0.0.tgz", - "integrity": "sha1-invLlkPRPFXfTddETxOL9O+mHhc=", + "@babel/plugin-transform-literals": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.8.3.tgz", + "integrity": "sha512-3Tqf8JJ/qB7TeldGl+TT55+uQei9JfYaregDcEAyBZ7akutriFrt6C/wLYIer6OYhleVQvH/ntEhjE/xMmy10A==", "dev": true, "requires": { - "confusing-browser-globals": "^1.0.7", - "object.assign": "^4.1.0", - "object.entries": "^1.1.0" + "@babel/helper-plugin-utils": "^7.8.3" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } } }, - "eslint-import-resolver-node": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz", - "integrity": "sha1-WPFfuDm40FdsqYBBNHaqskcttmo=", + "@babel/plugin-transform-member-expression-literals": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.8.3.tgz", + "integrity": "sha512-3Wk2EXhnw+rP+IDkK6BdtPKsUE5IeZ6QOGrPYvw52NwBStw9V1ZVzxgK6fSKSxqUvH9eQPR3tm3cOq79HlsKYA==", "dev": true, "requires": { - "debug": "^2.6.9", - "resolve": "^1.5.0" + "@babel/helper-plugin-utils": "^7.8.3" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } } }, - "eslint-module-utils": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.5.0.tgz", - "integrity": "sha1-zfC0DWIwMidMzSq9fmTE5STW4Zw=", + "@babel/plugin-transform-modules-amd": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.8.3.tgz", + "integrity": "sha512-MadJiU3rLKclzT5kBH4yxdry96odTUwuqrZM+GllFI/VhxfPz+k9MshJM+MwhfkCdxxclSbSBbUGciBngR+kEQ==", "dev": true, "requires": { - "debug": "^2.6.9", - "pkg-dir": "^2.0.0" + "@babel/helper-module-transforms": "^7.8.3", + "@babel/helper-plugin-utils": "^7.8.3", + "babel-plugin-dynamic-import-node": "^2.3.0" }, "dependencies": { - "find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } + } + }, + "@babel/plugin-transform-modules-commonjs": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.8.3.tgz", + "integrity": "sha512-JpdMEfA15HZ/1gNuB9XEDlZM1h/gF/YOH7zaZzQu2xCFRfwc01NXBMHHSTT6hRjlXJJs5x/bfODM3LiCk94Sxg==", + "dev": true, + "requires": { + "@babel/helper-module-transforms": "^7.8.3", + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/helper-simple-access": "^7.8.3", + "babel-plugin-dynamic-import-node": "^2.3.0" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } + } + }, + "@babel/plugin-transform-modules-systemjs": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.8.3.tgz", + "integrity": "sha512-8cESMCJjmArMYqa9AO5YuMEkE4ds28tMpZcGZB/jl3n0ZzlsxOAi3mC+SKypTfT8gjMupCnd3YiXCkMjj2jfOg==", + "dev": true, + "requires": { + "@babel/helper-hoist-variables": "^7.8.3", + "@babel/helper-module-transforms": "^7.8.3", + "@babel/helper-plugin-utils": "^7.8.3", + "babel-plugin-dynamic-import-node": "^2.3.0" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } + } + }, + "@babel/plugin-transform-modules-umd": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.8.3.tgz", + "integrity": "sha512-evhTyWhbwbI3/U6dZAnx/ePoV7H6OUG+OjiJFHmhr9FPn0VShjwC2kdxqIuQ/+1P50TMrneGzMeyMTFOjKSnAw==", + "dev": true, + "requires": { + "@babel/helper-module-transforms": "^7.8.3", + "@babel/helper-plugin-utils": "^7.8.3" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } + } + }, + "@babel/plugin-transform-named-capturing-groups-regex": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.8.3.tgz", + "integrity": "sha512-f+tF/8UVPU86TrCb06JoPWIdDpTNSGGcAtaD9mLP0aYGA0OS0j7j7DHJR0GTFrUZPUU6loZhbsVZgTh0N+Qdnw==", + "dev": true, + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.8.3" + } + }, + "@babel/plugin-transform-new-target": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.8.3.tgz", + "integrity": "sha512-QuSGysibQpyxexRyui2vca+Cmbljo8bcRckgzYV4kRIsHpVeyeC3JDO63pY+xFZ6bWOBn7pfKZTqV4o/ix9sFw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } + } + }, + "@babel/plugin-transform-object-super": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.8.3.tgz", + "integrity": "sha512-57FXk+gItG/GejofIyLIgBKTas4+pEU47IXKDBWFTxdPd7F80H8zybyAY7UoblVfBhBGs2EKM+bJUu2+iUYPDQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/helper-replace-supers": "^7.8.3" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } + } + }, + "@babel/plugin-transform-parameters": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.8.4.tgz", + "integrity": "sha512-IsS3oTxeTsZlE5KqzTbcC2sV0P9pXdec53SU+Yxv7o/6dvGM5AkTotQKhoSffhNgZ/dftsSiOoxy7evCYJXzVA==", + "dev": true, + "requires": { + "@babel/helper-call-delegate": "^7.8.3", + "@babel/helper-get-function-arity": "^7.8.3", + "@babel/helper-plugin-utils": "^7.8.3" + }, + "dependencies": { + "@babel/helper-get-function-arity": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz", + "integrity": "sha512-FVDR+Gd9iLjUMY1fzE2SR0IuaJToR4RkCDARVfsBBPSP53GEqSFjD8gNyxg246VUyc/ALRxFaAK8rVG7UT7xRA==", "dev": true, "requires": { - "locate-path": "^2.0.0" + "@babel/types": "^7.8.3" } }, - "locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", - "dev": true, - "requires": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" - } + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true }, - "p-limit": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha1-uGvV8MJWkJEcdZD8v8IBDVSzzLg=", + "@babel/types": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz", + "integrity": "sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg==", "dev": true, "requires": { - "p-try": "^1.0.0" + "esutils": "^2.0.2", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" } }, - "p-locate": { + "to-fast-properties": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", - "dev": true, - "requires": { - "p-limit": "^1.1.0" - } - }, - "p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", "dev": true - }, - "pkg-dir": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", - "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", + } + } + }, + "@babel/plugin-transform-property-literals": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.8.3.tgz", + "integrity": "sha512-uGiiXAZMqEoQhRWMK17VospMZh5sXWg+dlh2soffpkAl96KAm+WZuJfa6lcELotSRmooLqg0MWdH6UUq85nmmg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } + } + }, + "@babel/plugin-transform-regenerator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.8.3.tgz", + "integrity": "sha512-qt/kcur/FxrQrzFR432FGZznkVAjiyFtCOANjkAKwCbt465L6ZCiUQh2oMYGU3Wo8LRFJxNDFwWn106S5wVUNA==", + "dev": true, + "requires": { + "regenerator-transform": "^0.14.0" + }, + "dependencies": { + "regenerator-transform": { + "version": "0.14.1", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.1.tgz", + "integrity": "sha512-flVuee02C3FKRISbxhXl9mGzdbWUVHubl1SMaknjxkFB1/iqpJhArQUvRxOOPEc/9tAiX0BaQ28FJH10E4isSQ==", "dev": true, "requires": { - "find-up": "^2.1.0" + "private": "^0.1.6" } } } }, - "eslint-plugin-import": { - "version": "2.19.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.19.1.tgz", - "integrity": "sha1-VlThC3g50GTdDUbNG4jsITOhFEg=", + "@babel/plugin-transform-reserved-words": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.8.3.tgz", + "integrity": "sha512-mwMxcycN3omKFDjDQUl+8zyMsBfjRFr0Zn/64I41pmjv4NJuqcYlEtezwYtw9TFd9WR1vN5kiM+O0gMZzO6L0A==", "dev": true, "requires": { - "array-includes": "^3.0.3", - "array.prototype.flat": "^1.2.1", - "contains-path": "^0.1.0", - "debug": "^2.6.9", - "doctrine": "1.5.0", - "eslint-import-resolver-node": "^0.3.2", - "eslint-module-utils": "^2.4.1", - "has": "^1.0.3", - "minimatch": "^3.0.4", - "object.values": "^1.1.0", - "read-pkg-up": "^2.0.0", - "resolve": "^1.12.0" + "@babel/helper-plugin-utils": "^7.8.3" }, "dependencies": { - "doctrine": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", - "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } + } + }, + "@babel/plugin-transform-shorthand-properties": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.8.3.tgz", + "integrity": "sha512-I9DI6Odg0JJwxCHzbzW08ggMdCezoWcuQRz3ptdudgwaHxTjxw5HgdFJmZIkIMlRymL6YiZcped4TTCB0JcC8w==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } + } + }, + "@babel/plugin-transform-spread": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.8.3.tgz", + "integrity": "sha512-CkuTU9mbmAoFOI1tklFWYYbzX5qCIZVXPVy0jpXgGwkplCndQAa58s2jr66fTeQnA64bDox0HL4U56CFYoyC7g==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } + } + }, + "@babel/plugin-transform-sticky-regex": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.8.3.tgz", + "integrity": "sha512-9Spq0vGCD5Bb4Z/ZXXSK5wbbLFMG085qd2vhL1JYu1WcQ5bXqZBAYRzU1d+p79GcHs2szYv5pVQCX13QgldaWw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/helper-regex": "^7.8.3" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } + } + }, + "@babel/plugin-transform-template-literals": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.8.3.tgz", + "integrity": "sha512-820QBtykIQOLFT8NZOcTRJ1UNuztIELe4p9DCgvj4NK+PwluSJ49we7s9FB1HIGNIYT7wFUJ0ar2QpCDj0escQ==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "^7.8.3", + "@babel/helper-plugin-utils": "^7.8.3" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } + } + }, + "@babel/plugin-transform-typeof-symbol": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.8.4.tgz", + "integrity": "sha512-2QKyfjGdvuNfHsb7qnBBlKclbD4CfshH2KvDabiijLMGXPHJXGxtDzwIF7bQP+T0ysw8fYTtxPafgfs/c1Lrqg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } + } + }, + "@babel/plugin-transform-unicode-regex": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.8.3.tgz", + "integrity": "sha512-+ufgJjYdmWfSQ+6NS9VGUR2ns8cjJjYbrbi11mZBTaWm+Fui/ncTLFF28Ei1okavY+xkojGr1eJxNsWYeA5aZw==", + "dev": true, + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.8.3", + "@babel/helper-plugin-utils": "^7.8.3" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + } + } + }, + "@babel/preset-env": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.8.4.tgz", + "integrity": "sha512-HihCgpr45AnSOHRbS5cWNTINs0TwaR8BS8xIIH+QwiW8cKL0llV91njQMpeMReEPVs+1Ao0x3RLEBLtt1hOq4w==", + "dev": true, + "requires": { + "@babel/compat-data": "^7.8.4", + "@babel/helper-compilation-targets": "^7.8.4", + "@babel/helper-module-imports": "^7.8.3", + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/plugin-proposal-async-generator-functions": "^7.8.3", + "@babel/plugin-proposal-dynamic-import": "^7.8.3", + "@babel/plugin-proposal-json-strings": "^7.8.3", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-proposal-object-rest-spread": "^7.8.3", + "@babel/plugin-proposal-optional-catch-binding": "^7.8.3", + "@babel/plugin-proposal-optional-chaining": "^7.8.3", + "@babel/plugin-proposal-unicode-property-regex": "^7.8.3", + "@babel/plugin-syntax-async-generators": "^7.8.0", + "@babel/plugin-syntax-dynamic-import": "^7.8.0", + "@babel/plugin-syntax-json-strings": "^7.8.0", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.0", + "@babel/plugin-syntax-object-rest-spread": "^7.8.0", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.0", + "@babel/plugin-syntax-optional-chaining": "^7.8.0", + "@babel/plugin-syntax-top-level-await": "^7.8.3", + "@babel/plugin-transform-arrow-functions": "^7.8.3", + "@babel/plugin-transform-async-to-generator": "^7.8.3", + "@babel/plugin-transform-block-scoped-functions": "^7.8.3", + "@babel/plugin-transform-block-scoping": "^7.8.3", + "@babel/plugin-transform-classes": "^7.8.3", + "@babel/plugin-transform-computed-properties": "^7.8.3", + "@babel/plugin-transform-destructuring": "^7.8.3", + "@babel/plugin-transform-dotall-regex": "^7.8.3", + "@babel/plugin-transform-duplicate-keys": "^7.8.3", + "@babel/plugin-transform-exponentiation-operator": "^7.8.3", + "@babel/plugin-transform-for-of": "^7.8.4", + "@babel/plugin-transform-function-name": "^7.8.3", + "@babel/plugin-transform-literals": "^7.8.3", + "@babel/plugin-transform-member-expression-literals": "^7.8.3", + "@babel/plugin-transform-modules-amd": "^7.8.3", + "@babel/plugin-transform-modules-commonjs": "^7.8.3", + "@babel/plugin-transform-modules-systemjs": "^7.8.3", + "@babel/plugin-transform-modules-umd": "^7.8.3", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.8.3", + "@babel/plugin-transform-new-target": "^7.8.3", + "@babel/plugin-transform-object-super": "^7.8.3", + "@babel/plugin-transform-parameters": "^7.8.4", + "@babel/plugin-transform-property-literals": "^7.8.3", + "@babel/plugin-transform-regenerator": "^7.8.3", + "@babel/plugin-transform-reserved-words": "^7.8.3", + "@babel/plugin-transform-shorthand-properties": "^7.8.3", + "@babel/plugin-transform-spread": "^7.8.3", + "@babel/plugin-transform-sticky-regex": "^7.8.3", + "@babel/plugin-transform-template-literals": "^7.8.3", + "@babel/plugin-transform-typeof-symbol": "^7.8.4", + "@babel/plugin-transform-unicode-regex": "^7.8.3", + "@babel/types": "^7.8.3", + "browserslist": "^4.8.5", + "core-js-compat": "^3.6.2", + "invariant": "^2.2.2", + "levenary": "^1.1.1", + "semver": "^5.5.0" + }, + "dependencies": { + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + }, + "@babel/types": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz", + "integrity": "sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg==", "dev": true, "requires": { "esutils": "^2.0.2", - "isarray": "^1.0.0" + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" } }, - "find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "browserslist": { + "version": "4.8.7", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.8.7.tgz", + "integrity": "sha512-gFOnZNYBHrEyUML0xr5NJ6edFaaKbTFX9S9kQHlYfCP0Rit/boRIz4G+Avq6/4haEKJXdGGUnoolx+5MWW2BoA==", "dev": true, "requires": { - "locate-path": "^2.0.0" + "caniuse-lite": "^1.0.30001027", + "electron-to-chromium": "^1.3.349", + "node-releases": "^1.1.49" } }, - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", - "dev": true - }, - "load-json-file": { + "to-fast-properties": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", - "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true + } + } + }, + "@babel/template": { + "version": "7.7.4", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.7.4.tgz", + "integrity": "sha512-qUzihgVPguAzXCK7WXw8pqs6cEwi54s3E+HrejlkuWO6ivMKx9hZl3Y2fSXp9i5HgyWmj7RKP+ulaYnKM4yYxw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "@babel/parser": "^7.7.4", + "@babel/types": "^7.7.4" + } + }, + "@babel/traverse": { + "version": "7.7.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.7.4.tgz", + "integrity": "sha512-P1L58hQyupn8+ezVA2z5KBm4/Zr4lCC8dwKCMYzsa5jFMDMQAzaBNy9W5VjB+KAmBjb40U7a/H6ao+Xo+9saIw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.5.5", + "@babel/generator": "^7.7.4", + "@babel/helper-function-name": "^7.7.4", + "@babel/helper-split-export-declaration": "^7.7.4", + "@babel/parser": "^7.7.4", + "@babel/types": "^7.7.4", + "debug": "^4.1.0", + "globals": "^11.1.0", + "lodash": "^4.17.13" + }, + "dependencies": { + "debug": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", "dev": true, "requires": { - "graceful-fs": "^4.1.2", - "parse-json": "^2.2.0", - "pify": "^2.0.0", - "strip-bom": "^3.0.0" + "ms": "^2.1.1" } }, - "locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha1-q4eVM4hooLq9hSV1gBjCp+uVxC4=", + "dev": true + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + } + } + }, + "@babel/types": { + "version": "7.7.4", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.7.4.tgz", + "integrity": "sha512-cz5Ji23KCi4T+YIE/BolWosrJuSmoZeN1EFnRtBwF+KKLi8GG/Z2c2hOJJeCXPk4mwk4QFvTmwIodJowXgttRA==", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + }, + "dependencies": { + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true + } + } + }, + "@bcoe/v8-coverage": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", + "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", + "dev": true + }, + "@cnakazawa/watch": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@cnakazawa/watch/-/watch-1.0.3.tgz", + "integrity": "sha512-r5160ogAvGyHsal38Kux7YYtodEKOj89RGb28ht1jh3SJb08VwRwAKKJL0bGb04Zd/3r9FL3BFIc3bBidYffCA==", + "dev": true, + "requires": { + "exec-sh": "^0.3.2", + "minimist": "^1.2.0" + } + }, + "@istanbuljs/load-nyc-config": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.0.0.tgz", + "integrity": "sha512-ZR0rq/f/E4f4XcgnDvtMWXCUJpi8eO0rssVhmztsZqLIEFA9UUP9zmpE0VxlM+kv/E1ul2I876Fwil2ayptDVg==", + "dev": true, + "requires": { + "camelcase": "^5.3.1", + "find-up": "^4.1.0", + "js-yaml": "^3.13.1", + "resolve-from": "^5.0.0" + }, + "dependencies": { + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, "requires": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" } }, - "p-limit": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, "requires": { - "p-try": "^1.0.0" + "p-locate": "^4.1.0" } }, "p-locate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, "requires": { - "p-limit": "^1.1.0" + "p-limit": "^2.2.0" } }, - "p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true }, - "parse-json": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", - "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", - "dev": true, - "requires": { - "error-ex": "^1.2.0" - } - }, - "path-type": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", - "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", + "resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true + } + } + }, + "@istanbuljs/schema": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.2.tgz", + "integrity": "sha512-tsAQNx32a8CoFhjhijUIhI4kccIAgmGhy8LZMZgGfmXcpMbPRUqn5LWmgRttILi6yeGmBJd2xsPkFMs0PzgPCw==", + "dev": true + }, + "@sinonjs/commons": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.7.0.tgz", + "integrity": "sha512-qbk9AP+cZUsKdW1GJsBpxPKFmCJ0T8swwzVje3qFd+AkQb74Q/tiuzrdfFg8AD2g5HH/XbE/I8Uc1KYHVYWfhg==", + "dev": true, + "requires": { + "type-detect": "4.0.8" + } + }, + "@types/babel__core": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.4.tgz", + "integrity": "sha512-c/5MuRz5HM4aizqL5ViYfW4iEnmfPcfbH4Xa6GgLT21dMc1NGeNnuS6egHheOmP+kCJ9CAzC4pv4SDCWTnRkbg==", + "dev": true, + "requires": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + } + }, + "@types/babel__generator": { + "version": "7.6.1", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.1.tgz", + "integrity": "sha512-bBKm+2VPJcMRVwNhxKu8W+5/zT7pwNEqeokFOmbvVSqGzFneNxYcEBro9Ac7/N9tlsaPYnZLK8J1LWKkMsLAew==", + "dev": true, + "requires": { + "@babel/types": "^7.0.0" + } + }, + "@types/babel__template": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.0.2.tgz", + "integrity": "sha512-/K6zCpeW7Imzgab2bLkLEbz0+1JlFSrUMdw7KoIIu+IUdu51GWaBZpd3y1VXGVXzynvGa4DaIaxNZHiON3GXUg==", + "dev": true, + "requires": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "@types/babel__traverse": { + "version": "7.0.8", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.0.8.tgz", + "integrity": "sha512-yGeB2dHEdvxjP0y4UbRtQaSkXJ9649fYCmIdRoul5kfAoGCwxuCbMhag0k3RPfnuh9kPGm8x89btcfDEXdVWGw==", + "dev": true, + "requires": { + "@babel/types": "^7.3.0" + } + }, + "@types/color-name": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz", + "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==", + "dev": true + }, + "@types/istanbul-lib-coverage": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.1.tgz", + "integrity": "sha512-hRJD2ahnnpLgsj6KWMYSrmXkM3rm2Dl1qkx6IOFD5FnuNPXJIG5L0dhgKXCYTRMGzU4n0wImQ/xfmRc4POUFlg==", + "dev": true + }, + "@types/istanbul-lib-report": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-1.1.1.tgz", + "integrity": "sha512-3BUTyMzbZa2DtDI2BkERNC6jJw2Mr2Y0oGI7mRxYNBPxppbtEK1F66u3bKwU2g+wxwWI7PAoRpJnOY1grJqzHg==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "*" + } + }, + "@types/istanbul-reports": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-1.1.1.tgz", + "integrity": "sha512-UpYjBi8xefVChsCoBpKShdxTllC9pwISirfoZsUa2AAdQg/Jd2KQGtSbw+ya7GPo7x/wAPlH6JBhKhAsXUEZNA==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "*", + "@types/istanbul-lib-report": "*" + } + }, + "@types/json-schema": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.4.tgz", + "integrity": "sha1-OP1z3f2bVaux4bLtV4y1W9e30zk=", + "dev": true + }, + "@types/node": { + "version": "13.1.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-13.1.2.tgz", + "integrity": "sha1-/pQoW/XgeC4anlqMSCscNEZfo4U=", + "dev": true + }, + "@types/stack-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-1.0.1.tgz", + "integrity": "sha512-l42BggppR6zLmpfU6fq9HEa2oGPEI8yrSPL3GITjfRInppYFahObbIQOQK3UGxEnyQpltZLaPe75046NOZQikw==", + "dev": true + }, + "@types/yargs-parser": { + "version": "13.1.0", + "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-13.1.0.tgz", + "integrity": "sha512-gCubfBUZ6KxzoibJ+SCUc/57Ms1jz5NjHe4+dI2krNmU5zCPAphyLJYyTOg06ueIyfj+SaCUqmzun7ImlxDcKg==", + "dev": true + }, + "@typescript-eslint/experimental-utils": { + "version": "2.15.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-2.15.0.tgz", + "integrity": "sha1-QeNTE7+u+RZQ3bU4CEbRx4p4AHA=", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.3", + "@typescript-eslint/typescript-estree": "2.15.0", + "eslint-scope": "^5.0.0" + } + }, + "@typescript-eslint/typescript-estree": { + "version": "2.15.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.15.0.tgz", + "integrity": "sha1-ea5S7thwGxZNkelopl2FqRBedtM=", + "dev": true, + "requires": { + "debug": "^4.1.1", + "eslint-visitor-keys": "^1.1.0", + "glob": "^7.1.6", + "is-glob": "^4.0.1", + "lodash.unescape": "4.0.1", + "semver": "^6.3.0", + "tsutils": "^3.17.1" + }, + "dependencies": { + "debug": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "integrity": "sha1-O3ImAlUQnGtYnO4FDx1RYTlmR5E=", "dev": true, "requires": { - "pify": "^2.0.0" + "ms": "^2.1.1" } }, - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=", "dev": true }, - "read-pkg": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", - "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", - "dev": true, - "requires": { - "load-json-file": "^2.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^2.0.0" - } - }, - "read-pkg-up": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", - "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", - "dev": true, - "requires": { - "find-up": "^2.0.0", - "read-pkg": "^2.0.0" - } + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha1-7gpkyK9ejO6mdoexM3YeG+y9HT0=", + "dev": true } } }, - "eslint-plugin-jest": { - "version": "23.3.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-23.3.0.tgz", - "integrity": "sha1-sUQ9DEbWoN6e8954F23WaIx9UyY=", + "abab": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/abab/-/abab-1.0.4.tgz", + "integrity": "sha1-X6rZwsB/YN12dw9xzwJbYqY8/U4=", "dev": true, - "requires": { - "@typescript-eslint/experimental-utils": "^2.5.0" + "optional": true + }, + "acorn": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-2.7.0.tgz", + "integrity": "sha1-q259nYhqrKiwhbwzEreaGYQz8Oc=", + "dev": true, + "optional": true + }, + "acorn-globals": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-1.0.9.tgz", + "integrity": "sha1-VbtemGkVB7dFedBRNBMhfDgMVM8=", + "dev": true, + "optional": true, + "requires": { + "acorn": "^2.1.0" + } + }, + "acorn-jsx": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.1.0.tgz", + "integrity": "sha1-KUrbcbVzmLBoABXwo4xWPuHbU4Q=", + "dev": true + }, + "acorn-walk": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-6.2.0.tgz", + "integrity": "sha512-7evsyfH1cLOCdAzZAd43Cic04yKydNx0cF+7tiA19p1XnLLPU4dpCQOqpjqwokFe//vS0QqfqqjCS2JkiIs0cA==", + "dev": true + }, + "ajv": { + "version": "6.10.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.2.tgz", + "integrity": "sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw==", + "dev": true, + "requires": { + "fast-deep-equal": "^2.0.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true + }, + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "dev": true + }, + "anymatch": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", + "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", + "dev": true, + "requires": { + "micromatch": "^3.1.4", + "normalize-path": "^2.1.1" + } + }, + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha1-vNZ5HqWuCXJeF+WtmIE0zUCz2RE=", + "dev": true, + "requires": { + "sprintf-js": "~1.0.2" + } + }, + "arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", + "dev": true + }, + "arr-flatten": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", + "dev": true + }, + "arr-union": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", + "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", + "dev": true + }, + "array-equal": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-equal/-/array-equal-1.0.0.tgz", + "integrity": "sha1-jCpe8kcv2ep0KwTHenUJO6J1fJM=", + "dev": true + }, + "array-includes": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.1.tgz", + "integrity": "sha1-zdZ+aFK9+cEhVGB4ZzIlXtJFk0g=", + "dev": true, + "requires": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.0", + "is-string": "^1.0.5" + } + }, + "array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", + "dev": true + }, + "array.prototype.flat": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.3.tgz", + "integrity": "sha1-DegrQmsDGNv9uUAInjiwQ9N/bHs=", + "dev": true, + "requires": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.0-next.1" + } + }, + "asn1": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "dev": true, + "requires": { + "safer-buffer": "~2.1.0" + } + }, + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + }, + "assign-symbols": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", + "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", + "dev": true + }, + "astral-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", + "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==", + "dev": true + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "dev": true + }, + "atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", + "dev": true + }, + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "dev": true + }, + "aws4": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.9.0.tgz", + "integrity": "sha512-Uvq6hVe90D0B2WEnUqtdgY1bATGz3mw33nH9Y+dmA+w5DHvUmBgkr5rM/KCHpCsiFNRUfokW/szpPPgMK2hm4A==", + "dev": true + }, + "babel-code-frame": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", + "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", + "dev": true, + "requires": { + "chalk": "^1.1.3", + "esutils": "^2.0.2", + "js-tokens": "^3.0.2" + } + }, + "babel-generator": { + "version": "6.26.1", + "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz", + "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==", + "dev": true, + "requires": { + "babel-messages": "^6.23.0", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "detect-indent": "^4.0.0", + "jsesc": "^1.3.0", + "lodash": "^4.17.4", + "source-map": "^0.5.7", + "trim-right": "^1.0.1" + } + }, + "babel-jest": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-25.1.0.tgz", + "integrity": "sha512-tz0VxUhhOE2y+g8R2oFrO/2VtVjA1lkJeavlhExuRBg3LdNJY9gwQ+Vcvqt9+cqy71MCTJhewvTB7Qtnnr9SWg==", + "dev": true, + "requires": { + "@jest/transform": "^25.1.0", + "@jest/types": "^25.1.0", + "@types/babel__core": "^7.1.0", + "babel-plugin-istanbul": "^6.0.0", + "babel-preset-jest": "^25.1.0", + "chalk": "^3.0.0", + "slash": "^3.0.0" + }, + "dependencies": { + "@jest/transform": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-25.1.0.tgz", + "integrity": "sha512-4ktrQ2TPREVeM+KxB4zskAT84SnmG1vaz4S+51aTefyqn3zocZUnliLLm5Fsl85I3p/kFPN4CRp1RElIfXGegQ==", + "dev": true, + "requires": { + "@babel/core": "^7.1.0", + "@jest/types": "^25.1.0", + "babel-plugin-istanbul": "^6.0.0", + "chalk": "^3.0.0", + "convert-source-map": "^1.4.0", + "fast-json-stable-stringify": "^2.0.0", + "graceful-fs": "^4.2.3", + "jest-haste-map": "^25.1.0", + "jest-regex-util": "^25.1.0", + "jest-util": "^25.1.0", + "micromatch": "^4.0.2", + "pirates": "^4.0.1", + "realpath-native": "^1.1.0", + "slash": "^3.0.0", + "source-map": "^0.6.1", + "write-file-atomic": "^3.0.0" + } + }, + "@jest/types": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.1.0.tgz", + "integrity": "sha512-VpOtt7tCrgvamWZh1reVsGADujKigBUFTi19mlRjqEGsE8qH4r3s+skY33dNdXOwyZIvuftZ5tqdF1IgsMejMA==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^1.1.1", + "@types/yargs": "^15.0.0", + "chalk": "^3.0.0" + } + }, + "@types/yargs": { + "version": "15.0.3", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.3.tgz", + "integrity": "sha512-XCMQRK6kfpNBixHLyHUsGmXrpEmFFxzMrcnSXFMziHd8CoNJo8l16FkHyQq4x+xbM7E2XL83/O78OD8u+iZTdQ==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "ansi-styles": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", + "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", + "dev": true, + "requires": { + "@types/color-name": "^1.1.1", + "color-convert": "^2.0.1" + } + }, + "anymatch": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz", + "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==", + "dev": true, + "requires": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + } + }, + "babel-plugin-istanbul": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.0.0.tgz", + "integrity": "sha512-AF55rZXpe7trmEylbaE1Gv54wn6rwU03aptvRoVIGP8YykoSxqdVLV1TfwflBCE/QtHmqtP8SWlTENqbK8GCSQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0", + "@istanbuljs/load-nyc-config": "^1.0.0", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-instrument": "^4.0.0", + "test-exclude": "^6.0.0" + } + }, + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "requires": { + "fill-range": "^7.0.1" + } + }, + "chalk": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", + "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "fsevents": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.2.tgz", + "integrity": "sha512-R4wDiBwZ0KzpgOWetKDug1FZcYhqYnUYKtfZYt4mD5SBz76q0KR4Q9o7GIPamsVPGmW3EYPPJ0dOOjvx32ldZA==", + "dev": true, + "optional": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true + }, + "istanbul-lib-coverage": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz", + "integrity": "sha512-UiUIqxMgRDET6eR+o5HbfRYP1l0hqkWOs7vNxC/mggutCMUIhWMm8gAHb8tHlyfD3/l6rlgNA5cKdDzEAf6hEg==", + "dev": true + }, + "istanbul-lib-instrument": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.1.tgz", + "integrity": "sha512-imIchxnodll7pvQBYOqUu88EufLCU56LMeFPZZM/fJZ1irYcYdqroaV+ACK1Ila8ls09iEYArp+nqyC6lW1Vfg==", + "dev": true, + "requires": { + "@babel/core": "^7.7.5", + "@babel/parser": "^7.7.5", + "@babel/template": "^7.7.4", + "@babel/traverse": "^7.7.4", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-coverage": "^3.0.0", + "semver": "^6.3.0" + } + }, + "jest-haste-map": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-25.1.0.tgz", + "integrity": "sha512-/2oYINIdnQZAqyWSn1GTku571aAfs8NxzSErGek65Iu5o8JYb+113bZysRMcC/pjE5v9w0Yz+ldbj9NxrFyPyw==", + "dev": true, + "requires": { + "@jest/types": "^25.1.0", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "fsevents": "^2.1.2", + "graceful-fs": "^4.2.3", + "jest-serializer": "^25.1.0", + "jest-util": "^25.1.0", + "jest-worker": "^25.1.0", + "micromatch": "^4.0.2", + "sane": "^4.0.3", + "walker": "^1.0.7" + } + }, + "jest-regex-util": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-25.1.0.tgz", + "integrity": "sha512-9lShaDmDpqwg+xAd73zHydKrBbbrIi08Kk9YryBEBybQFg/lBWR/2BDjjiSE7KIppM9C5+c03XiDaZ+m4Pgs1w==", + "dev": true + }, + "jest-serializer": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-25.1.0.tgz", + "integrity": "sha512-20Wkq5j7o84kssBwvyuJ7Xhn7hdPeTXndnwIblKDR2/sy1SUm6rWWiG9kSCgJPIfkDScJCIsTtOKdlzfIHOfKA==", + "dev": true + }, + "jest-util": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-25.1.0.tgz", + "integrity": "sha512-7did6pLQ++87Qsj26Fs/TIwZMUFBXQ+4XXSodRNy3luch2DnRXsSnmpVtxxQ0Yd6WTipGpbhh2IFP1mq6/fQGw==", + "dev": true, + "requires": { + "@jest/types": "^25.1.0", + "chalk": "^3.0.0", + "is-ci": "^2.0.0", + "mkdirp": "^0.5.1" + } + }, + "jest-worker": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-25.1.0.tgz", + "integrity": "sha512-ZHhHtlxOWSxCoNOKHGbiLzXnl42ga9CxDr27H36Qn+15pQZd3R/F24jrmjDelw9j/iHUIWMWs08/u2QN50HHOg==", + "dev": true, + "requires": { + "merge-stream": "^2.0.0", + "supports-color": "^7.0.0" + } + }, + "micromatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz", + "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==", + "dev": true, + "requires": { + "braces": "^3.0.1", + "picomatch": "^2.0.5" + } + }, + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true + }, + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + }, + "slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "supports-color": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", + "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "test-exclude": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", + "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", + "dev": true, + "requires": { + "@istanbuljs/schema": "^0.1.2", + "glob": "^7.1.4", + "minimatch": "^3.0.4" + } + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "requires": { + "is-number": "^7.0.0" + } + }, + "write-file-atomic": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.1.tgz", + "integrity": "sha512-JPStrIyyVJ6oCSz/691fAjFtefZ6q+fP6tm+OS4Qw6o+TGQxNp1ziY2PgS+X/m0V8OWhZiO/m4xSj+Pr4RrZvw==", + "dev": true, + "requires": { + "imurmurhash": "^0.1.4", + "is-typedarray": "^1.0.0", + "signal-exit": "^3.0.2", + "typedarray-to-buffer": "^3.1.5" + } + } + } + }, + "babel-messages": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", + "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", + "dev": true, + "requires": { + "babel-runtime": "^6.22.0" + } + }, + "babel-plugin-dynamic-import-node": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.0.tgz", + "integrity": "sha512-o6qFkpeQEBxcqt0XYlWzAVxNCSCZdUgcR8IRlhD/8DylxjjO4foPcvTW0GGKa/cVt3rvxZ7o5ippJ+/0nvLhlQ==", + "dev": true, + "requires": { + "object.assign": "^4.1.0" + } + }, + "babel-plugin-jest-hoist": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-25.1.0.tgz", + "integrity": "sha512-oIsopO41vW4YFZ9yNYoLQATnnN46lp+MZ6H4VvPKFkcc2/fkl3CfE/NZZSmnEIEsJRmJAgkVEK0R7Zbl50CpTw==", + "dev": true, + "requires": { + "@types/babel__traverse": "^7.0.6" + } + }, + "babel-preset-jest": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-25.1.0.tgz", + "integrity": "sha512-eCGn64olaqwUMaugXsTtGAM2I0QTahjEtnRu0ql8Ie+gDWAc1N6wqN0k2NilnyTunM69Pad7gJY7LOtwLimoFQ==", + "dev": true, + "requires": { + "@babel/plugin-syntax-bigint": "^7.0.0", + "@babel/plugin-syntax-object-rest-spread": "^7.0.0", + "babel-plugin-jest-hoist": "^25.1.0" + } + }, + "babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "dev": true, + "requires": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" + }, + "dependencies": { + "regenerator-runtime": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==", + "dev": true + } + } + }, + "babel-traverse": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", + "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", + "dev": true, + "requires": { + "babel-code-frame": "^6.26.0", + "babel-messages": "^6.23.0", + "babel-runtime": "^6.26.0", + "babel-types": "^6.26.0", + "babylon": "^6.18.0", + "debug": "^2.6.8", + "globals": "^9.18.0", + "invariant": "^2.2.2", + "lodash": "^4.17.4" + } + }, + "babel-types": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", + "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", + "dev": true, + "requires": { + "babel-runtime": "^6.26.0", + "esutils": "^2.0.2", + "lodash": "^4.17.4", + "to-fast-properties": "^1.0.3" + } + }, + "babylon": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", + "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==", + "dev": true + }, + "balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "dev": true + }, + "base": { + "version": "0.11.2", + "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", + "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", + "dev": true, + "requires": { + "cache-base": "^1.0.1", + "class-utils": "^0.3.5", + "component-emitter": "^1.2.1", + "define-property": "^1.0.0", + "isobject": "^3.0.1", + "mixin-deep": "^1.2.0", + "pascalcase": "^0.1.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "dev": true, + "requires": { + "tweetnacl": "^0.14.3" + } + }, + "boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=", + "dev": true + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "requires": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "browser-process-hrtime": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-0.1.3.tgz", + "integrity": "sha512-bRFnI4NnjO6cnyLmOV/7PVoDEMJChlcfN0z4s1YMBY989/SvlfMI1lgCnkFUs53e9gQF+w7qu7XdllSTiSl8Aw==", + "dev": true + }, + "browser-resolve": { + "version": "1.11.3", + "resolved": "https://registry.npmjs.org/browser-resolve/-/browser-resolve-1.11.3.tgz", + "integrity": "sha512-exDi1BYWB/6raKHmDTCicQfTkqwN5fioMFV4j8BsfMU4R2DK/QfZfK7kOVkmWCNANf0snkBzqGqAJBao9gZMdQ==", + "dev": true, + "requires": { + "resolve": "1.1.7" + }, + "dependencies": { + "resolve": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz", + "integrity": "sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=", + "dev": true + } + } + }, + "bser": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", + "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==", + "dev": true, + "requires": { + "node-int64": "^0.4.0" } }, - "eslint-scope": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz", - "integrity": "sha1-6HyIh8c+jR7ITxylkWRcNYv8j7k=", + "buffer-from": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", + "dev": true + }, + "cache-base": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", + "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", + "dev": true, + "requires": { + "collection-visit": "^1.0.0", + "component-emitter": "^1.2.1", + "get-value": "^2.0.6", + "has-value": "^1.0.0", + "isobject": "^3.0.1", + "set-value": "^2.0.0", + "to-object-path": "^0.3.0", + "union-value": "^1.0.0", + "unset-value": "^1.0.0" + } + }, + "callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true + }, + "camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true + }, + "caniuse-lite": { + "version": "1.0.30001028", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001028.tgz", + "integrity": "sha512-Vnrq+XMSHpT7E+LWoIYhs3Sne8h9lx9YJV3acH3THNCwU/9zV93/ta4xVfzTtnqd3rvnuVpVjE3DFqf56tr3aQ==", + "dev": true + }, + "capture-exit": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/capture-exit/-/capture-exit-2.0.0.tgz", + "integrity": "sha512-PiT/hQmTonHhl/HFGN+Lx3JJUznrVYJ3+AQsnthneZbvW7x+f08Tk7yLJTLEOUvBTbduLeeBkxEaYXUOUrRq6g==", + "dev": true, + "requires": { + "rsvp": "^4.8.4" + } + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "dev": true + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, + "requires": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + } + }, + "chardet": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", + "integrity": "sha1-kAlISfCTfy7twkJdDSip5fDLrZ4=", + "dev": true + }, + "cheerio": { + "version": "1.0.0-rc.2", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.2.tgz", + "integrity": "sha1-S59TqBsn5NXawxwP/Qz6A8xoMNs=", + "dev": true, + "requires": { + "css-select": "~1.2.0", + "dom-serializer": "~0.1.0", + "entities": "~1.1.1", + "htmlparser2": "^3.9.1", + "lodash": "^4.15.0", + "parse5": "^3.0.1" + } + }, + "ci-info": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", + "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", + "dev": true + }, + "class-utils": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", + "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", + "dev": true, + "requires": { + "arr-union": "^3.1.0", + "define-property": "^0.2.5", + "isobject": "^3.0.0", + "static-extend": "^0.1.1" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + } + } + }, + "cli-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", + "integrity": "sha1-JkMFp65JDR0Dvwybp8kl0XU68wc=", + "dev": true, + "requires": { + "restore-cursor": "^3.1.0" + } + }, + "cli-width": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz", + "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=", + "dev": true + }, + "co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", + "dev": true + }, + "collect-v8-coverage": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.0.tgz", + "integrity": "sha512-VKIhJgvk8E1W28m5avZ2Gv2Ruv5YiF56ug2oclvaG9md69BuZImMG2sk9g7QNKLUbtYAKQjXjYxbYZVUlMMKmQ==", + "dev": true + }, + "collection-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", + "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", "dev": true, "requires": { - "esrecurse": "^4.1.0", - "estraverse": "^4.1.1" + "map-visit": "^1.0.0", + "object-visit": "^1.0.0" } }, - "eslint-utils": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.3.tgz", - "integrity": "sha1-dP7HxU0Hdrb2fgJRBAtYBlZOmB8=", + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "dev": true, "requires": { - "eslint-visitor-keys": "^1.1.0" + "color-name": "1.1.3" } }, - "eslint-visitor-keys": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz", - "integrity": "sha1-4qgs6oT/JGrW+1f5veW0ZiFFnsI=", + "color-logger": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/color-logger/-/color-logger-0.0.6.tgz", + "integrity": "sha1-5WJF7ymCJlcRDHy3WpzXhstp7Rs=", "dev": true }, - "espree": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/espree/-/espree-6.1.2.tgz", - "integrity": "sha1-bCcmUJMrT5HDcU5ee19eLs9HJi0=", - "dev": true, - "requires": { - "acorn": "^7.1.0", - "acorn-jsx": "^5.1.0", - "eslint-visitor-keys": "^1.1.0" - }, - "dependencies": { - "acorn": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.1.0.tgz", - "integrity": "sha1-lJ028sKSU12mAig1hsJHfFfrLWw=", - "dev": true - } - } - }, - "esprima": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-3.1.3.tgz", - "integrity": "sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM=", + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", "dev": true }, - "esquery": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz", - "integrity": "sha1-QGxRZYsfWZGl+bYrHcJbAOPlxwg=", + "combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", "dev": true, "requires": { - "estraverse": "^4.0.0" + "delayed-stream": "~1.0.0" } }, - "esrecurse": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", - "integrity": "sha1-AHo7n9vCs7uH5IeeoZyS/b05Qs8=", - "dev": true, - "requires": { - "estraverse": "^4.1.0" - } + "component-emitter": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", + "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==", + "dev": true }, - "estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha1-OYrT88WiSUi+dyXoPRGn3ijNvR0=", + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", "dev": true }, - "esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha1-dNLrTeC42hKTcRkQ1Qd1ubcQ72Q=", + "confusing-browser-globals": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.9.tgz", + "integrity": "sha1-crwTtIPAJ2gBaBhx1ImFFvj1T90=", "dev": true }, - "exec-sh": { - "version": "0.3.4", - "resolved": "https://registry.npmjs.org/exec-sh/-/exec-sh-0.3.4.tgz", - "integrity": "sha1-OgGM61JsxvbfK7UEsr/o46STTsU=", + "contains-path": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz", + "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=", "dev": true }, - "execa": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", - "integrity": "sha1-xiNqW7TfbW8V6I5/AXeYIWdJ3dg=", + "convert-source-map": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", + "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==", "dev": true, "requires": { - "cross-spawn": "^6.0.0", - "get-stream": "^4.0.0", - "is-stream": "^1.1.0", - "npm-run-path": "^2.0.0", - "p-finally": "^1.0.0", - "signal-exit": "^3.0.0", - "strip-eof": "^1.0.0" + "safe-buffer": "~5.1.1" + }, + "dependencies": { + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha1-mR7GnSluAxN0fVm9/St0XDX4go0=", + "dev": true + } } }, - "exit": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", - "integrity": "sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=", + "copy-descriptor": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", + "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", "dev": true }, - "expand-brackets": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", - "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", + "core-js": { + "version": "2.6.11", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz", + "integrity": "sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg==", + "dev": true + }, + "core-js-compat": { + "version": "3.6.4", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.6.4.tgz", + "integrity": "sha512-zAa3IZPvsJ0slViBQ2z+vgyyTuhd3MFn1rBQjZSKVEgB0UMYhUkCj9jJUVPgGTGqWvsBVmfnruXgTcNyTlEiSA==", "dev": true, "requires": { - "debug": "^2.3.3", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "posix-character-classes": "^0.1.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" + "browserslist": "^4.8.3", + "semver": "7.0.0" }, "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "browserslist": { + "version": "4.8.7", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.8.7.tgz", + "integrity": "sha512-gFOnZNYBHrEyUML0xr5NJ6edFaaKbTFX9S9kQHlYfCP0Rit/boRIz4G+Avq6/4haEKJXdGGUnoolx+5MWW2BoA==", "dev": true, "requires": { - "is-descriptor": "^0.1.0" + "caniuse-lite": "^1.0.30001027", + "electron-to-chromium": "^1.3.349", + "node-releases": "^1.1.49" } }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } + "semver": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", + "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==", + "dev": true } } }, - "expect": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/expect/-/expect-24.9.0.tgz", - "integrity": "sha1-t1FltIFwdPpKFXeU9G/p8boVtso=", + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "dev": true + }, + "cross-spawn": { + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", + "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", "dev": true, "requires": { - "@jest/types": "^24.9.0", - "ansi-styles": "^3.2.0", - "jest-get-type": "^24.9.0", - "jest-matcher-utils": "^24.9.0", - "jest-message-util": "^24.9.0", - "jest-regex-util": "^24.9.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - } + "nice-try": "^1.0.4", + "path-key": "^2.0.1", + "semver": "^5.5.0", + "shebang-command": "^1.2.0", + "which": "^1.2.9" } }, - "extend": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha1-+LETa0Bx+9jrFAr/hYsQGewpFfo=", + "css-select": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz", + "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=", + "dev": true, + "requires": { + "boolbase": "~1.0.0", + "css-what": "2.1", + "domutils": "1.5.1", + "nth-check": "~1.0.1" + } + }, + "css-what": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.3.tgz", + "integrity": "sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg==", "dev": true }, - "extend-shallow": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", - "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "cssom": { + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz", + "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==", + "dev": true, + "optional": true + }, + "cssstyle": { + "version": "0.2.37", + "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-0.2.37.tgz", + "integrity": "sha1-VBCXI0yyUTyDzu06zdwn/yeYfVQ=", "dev": true, + "optional": true, "requires": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" + "cssom": "0.3.x" + } + }, + "dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0" + } + }, + "data-urls": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-1.1.0.tgz", + "integrity": "sha512-YTWYI9se1P55u58gL5GkQHW4P6VJBJ5iBT+B5a7i2Tjadhv52paJG0qHX4A0OR6/t52odI64KP2YvFpkDOi3eQ==", + "dev": true, + "requires": { + "abab": "^2.0.0", + "whatwg-mimetype": "^2.2.0", + "whatwg-url": "^7.0.0" }, "dependencies": { - "is-extendable": { + "abab": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.3.tgz", + "integrity": "sha1-Yj4gdeAustPyR15J+ZyRhGRnkHo=", + "dev": true + }, + "tr46": { "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha1-p0cPnkJnM9gb2B4RVSZOOjUHyrQ=", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz", + "integrity": "sha1-qLE/1r/SSJUZZ0zN5VujaTtwbQk=", + "dev": true, + "requires": { + "punycode": "^2.1.0" + } + }, + "webidl-conversions": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", + "integrity": "sha1-qFWYCx8LazWbodXZ+zmulB+qY60=", + "dev": true + }, + "whatwg-url": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz", + "integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==", "dev": true, "requires": { - "is-plain-object": "^2.0.4" + "lodash.sortby": "^4.7.0", + "tr46": "^1.0.1", + "webidl-conversions": "^4.0.2" } } } }, - "external-editor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", - "integrity": "sha1-ywP3QL764D6k0oPK7SdBqD8zVJU=", + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "requires": { - "chardet": "^0.7.0", - "iconv-lite": "^0.4.24", - "tmp": "^0.0.33" + "ms": "2.0.0" } }, - "extglob": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", - "integrity": "sha1-rQD+TcYSqSMuhxhxHcXLWrAoVUM=", + "decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", + "dev": true + }, + "decode-uri-component": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", + "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", + "dev": true + }, + "deep-is": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", + "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", + "dev": true + }, + "define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", "dev": true, "requires": { - "array-unique": "^0.3.2", - "define-property": "^1.0.0", - "expand-brackets": "^2.1.4", - "extend-shallow": "^2.0.1", - "fragment-cache": "^0.2.1", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" + "object-keys": "^1.0.12" + } + }, + "define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "requires": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" }, "dependencies": { - "define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dev": true, - "requires": { - "is-descriptor": "^1.0.0" - } - }, - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - }, "is-accessor-descriptor": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha1-FpwvbT3x+ZJhgHI2XJsOofaHhlY=", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "dev": true, "requires": { "kind-of": "^6.0.0" @@ -2738,7 +4415,7 @@ "is-data-descriptor": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha1-2Eh2Mh0Oet0DmQQGq7u9NrqSaMc=", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "dev": true, "requires": { "kind-of": "^6.0.0" @@ -2747,7 +4424,7 @@ "is-descriptor": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha1-OxWXRqZmBLBPjIFSS6NlxfFNhuw=", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "dev": true, "requires": { "is-accessor-descriptor": "^1.0.0", @@ -2757,735 +4434,1198 @@ } } }, - "extsprintf": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", - "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", "dev": true }, - "fast-deep-equal": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", - "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=", + "detect-indent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", + "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", + "dev": true, + "requires": { + "repeating": "^2.0.0" + } + }, + "doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha1-rd6+rXKmV023g2OdyHoSF3OXOWE=", + "dev": true, + "requires": { + "esutils": "^2.0.2" + } + }, + "dom-serializer": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.1.tgz", + "integrity": "sha512-l0IU0pPzLWSHBcieZbpOKgkIn3ts3vAh7ZuFyXNwJxJXk/c4Gwj9xaTJwIDVQCXawWD0qb3IzMGH5rglQaO0XA==", + "dev": true, + "requires": { + "domelementtype": "^1.3.0", + "entities": "^1.1.1" + } + }, + "domelementtype": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz", + "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==", "dev": true }, - "fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha1-h0v2nG9ATCtdmcSBNBOZ/VWJJjM=", + "domexception": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/domexception/-/domexception-1.0.1.tgz", + "integrity": "sha512-raigMkn7CJNNo6Ihro1fzG7wr3fHuYVytzquZKX5n0yizGsTcYgzdIUwj1X9pK0VvjeihV+XiclP+DjwbsSKug==", + "dev": true, + "requires": { + "webidl-conversions": "^4.0.2" + }, + "dependencies": { + "webidl-conversions": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", + "integrity": "sha1-qFWYCx8LazWbodXZ+zmulB+qY60=", + "dev": true + } + } + }, + "domhandler": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz", + "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==", + "dev": true, + "requires": { + "domelementtype": "1" + } + }, + "domutils": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz", + "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=", + "dev": true, + "requires": { + "dom-serializer": "0", + "domelementtype": "1" + } + }, + "ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "dev": true, + "requires": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "electron-to-chromium": { + "version": "1.3.355", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.355.tgz", + "integrity": "sha512-zKO/wS+2ChI/jz9WAo647xSW8t2RmgRLFdbUb/77cORkUTargO+SCj4ctTHjBn2VeNFrsLgDT7IuDVrd3F8mLQ==", "dev": true }, - "fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", + "emoji-regex": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", + "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", "dev": true }, - "fb-watchman": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.1.tgz", - "integrity": "sha1-/IT7OdJwnPP/bXQ3BhV7tXCKioU=", + "end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", "dev": true, "requires": { - "bser": "2.1.1" + "once": "^1.4.0" } }, - "figures": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-3.1.0.tgz", - "integrity": "sha1-SxmN0H2NcVMGQoZK8tRd2eRZxOw=", + "entities": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", + "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==", + "dev": true + }, + "error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", "dev": true, "requires": { - "escape-string-regexp": "^1.0.5" + "is-arrayish": "^0.2.1" + } + }, + "es-abstract": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.0.tgz", + "integrity": "sha1-9CpRfQA2pVkduyxGNZHci7UDCbE=", + "dev": true, + "requires": { + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1", + "is-callable": "^1.1.5", + "is-regex": "^1.0.5", + "object-inspect": "^1.7.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.0", + "string.prototype.trimleft": "^2.1.1", + "string.prototype.trimright": "^2.1.1" + } + }, + "es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, + "requires": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + } + }, + "escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=", + "dev": true + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true + }, + "escodegen": { + "version": "1.12.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.12.0.tgz", + "integrity": "sha512-TuA+EhsanGcme5T3R0L80u4t8CpbXQjegRmf7+FPTJrtCTErXFeelblRgHQa1FofEzqYYJmJ/OqjTwREp9qgmg==", + "dev": true, + "requires": { + "esprima": "^3.1.3", + "estraverse": "^4.2.0", + "esutils": "^2.0.2", + "optionator": "^0.8.1", + "source-map": "~0.6.1" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha1-dHIq8y6WFOnCh6jQu95IteLxomM=", + "dev": true, + "optional": true + } } }, - "file-entry-cache": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz", - "integrity": "sha1-yg9u+m3T1WEzP7FFFQZcL6/fQ5w=", + "esdoc": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/esdoc/-/esdoc-1.1.0.tgz", + "integrity": "sha512-vsUcp52XJkOWg9m1vDYplGZN2iDzvmjDL5M/Mp8qkoDG3p2s0yIQCIjKR5wfPBaM3eV14a6zhQNYiNTCVzPnxA==", "dev": true, "requires": { - "flat-cache": "^2.0.1" + "babel-generator": "6.26.1", + "babel-traverse": "6.26.0", + "babylon": "6.18.0", + "cheerio": "1.0.0-rc.2", + "color-logger": "0.0.6", + "escape-html": "1.0.3", + "fs-extra": "5.0.0", + "ice-cap": "0.0.4", + "marked": "0.3.19", + "minimist": "1.2.0", + "taffydb": "2.7.3" } }, - "file-uri-to-path": { + "esdoc-accessor-plugin": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", - "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", - "dev": true, - "optional": true + "resolved": "https://registry.npmjs.org/esdoc-accessor-plugin/-/esdoc-accessor-plugin-1.0.0.tgz", + "integrity": "sha1-eRukhy5sQDUVznSbE0jW8Ck62es=", + "dev": true }, - "fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "esdoc-brand-plugin": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/esdoc-brand-plugin/-/esdoc-brand-plugin-1.0.1.tgz", + "integrity": "sha512-Yv9j3M7qk5PSLmSeD6MbPsfIsEf8K43EdH8qZpE/GZwnJCRVmDPrZJ1cLDj/fPu6P35YqgcEaJK4E2NL/CKA7g==", "dev": true, "requires": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" + "cheerio": "0.22.0" }, "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "cheerio": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-0.22.0.tgz", + "integrity": "sha1-qbqoYKP5tZWmuBsahocxIe06Jp4=", "dev": true, "requires": { - "is-extendable": "^0.1.0" + "css-select": "~1.2.0", + "dom-serializer": "~0.1.0", + "entities": "~1.1.1", + "htmlparser2": "^3.9.1", + "lodash.assignin": "^4.0.9", + "lodash.bind": "^4.1.4", + "lodash.defaults": "^4.0.1", + "lodash.filter": "^4.4.0", + "lodash.flatten": "^4.2.0", + "lodash.foreach": "^4.3.0", + "lodash.map": "^4.4.0", + "lodash.merge": "^4.4.0", + "lodash.pick": "^4.2.1", + "lodash.reduce": "^4.4.0", + "lodash.reject": "^4.4.0", + "lodash.some": "^4.4.0" } } } }, - "find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha1-SRafHXmTQwZG2mHsxa41XCHJe3M=", - "dev": true, - "requires": { - "locate-path": "^3.0.0" - } + "esdoc-coverage-plugin": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/esdoc-coverage-plugin/-/esdoc-coverage-plugin-1.1.0.tgz", + "integrity": "sha1-OGmGnNf4eJH5cmJXh2laKZrs5Fw=", + "dev": true }, - "flat-cache": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz", - "integrity": "sha1-XSltbwS9pEpGMKMBQTvbwuwIXsA=", + "esdoc-external-ecmascript-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-external-ecmascript-plugin/-/esdoc-external-ecmascript-plugin-1.0.0.tgz", + "integrity": "sha1-ePVl1KDFGFrGMVJhTc4f4ahmiNs=", "dev": true, "requires": { - "flatted": "^2.0.0", - "rimraf": "2.6.3", - "write": "1.0.3" + "fs-extra": "1.0.0" }, "dependencies": { - "rimraf": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", - "integrity": "sha1-stEE/g2Psnz54KHNqCYt04M8bKs=", + "fs-extra": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-1.0.0.tgz", + "integrity": "sha1-zTzl9+fLYUWIP8rjGR6Yd/hYeVA=", "dev": true, "requires": { - "glob": "^7.1.3" + "graceful-fs": "^4.1.2", + "jsonfile": "^2.1.0", + "klaw": "^1.0.0" + } + }, + "jsonfile": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", + "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6" } } } }, - "flatted": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.1.tgz", - "integrity": "sha1-aeV8qo8OrLwoHS4stFjUb9tEngg=", + "esdoc-integrate-manual-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-integrate-manual-plugin/-/esdoc-integrate-manual-plugin-1.0.0.tgz", + "integrity": "sha1-GFSmqhwIEDXXyMUeO91PtlqkcRw=", "dev": true }, - "for-in": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", - "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", + "esdoc-integrate-test-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-integrate-test-plugin/-/esdoc-integrate-test-plugin-1.0.0.tgz", + "integrity": "sha1-4tDQAJD38MNeXS8sAzMnp55T5Ak=", "dev": true }, - "forever-agent": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", - "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "esdoc-lint-plugin": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/esdoc-lint-plugin/-/esdoc-lint-plugin-1.0.2.tgz", + "integrity": "sha512-24AYqD2WbZI9We02I7/6dzAa7yUliRTFUaJCZAcYJMQicJT5gUrNFVaI8XmWEN/mhF3szIn1uZBNWeLul4CmNw==", "dev": true }, - "form-data": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", - "integrity": "sha1-3M5SwF9kTymManq5Nr1yTO/786Y=", + "esdoc-publish-html-plugin": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/esdoc-publish-html-plugin/-/esdoc-publish-html-plugin-1.1.2.tgz", + "integrity": "sha512-hG1fZmTcEp3P/Hv/qKiMdG1qSp8MjnVZMMkxL5P5ry7I2sX0HQ4P9lt2lms+90Lt0r340HHhSuVx107UL7dphg==", "dev": true, "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" + "babel-generator": "6.11.4", + "cheerio": "0.22.0", + "escape-html": "1.0.3", + "fs-extra": "1.0.0", + "ice-cap": "0.0.4", + "marked": "0.3.19", + "taffydb": "2.7.2" + }, + "dependencies": { + "babel-generator": { + "version": "6.11.4", + "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.11.4.tgz", + "integrity": "sha1-FPaTOrsgxiZm0n47e59bncBxKpo=", + "dev": true, + "requires": { + "babel-messages": "^6.8.0", + "babel-runtime": "^6.9.0", + "babel-types": "^6.10.2", + "detect-indent": "^3.0.1", + "lodash": "^4.2.0", + "source-map": "^0.5.0" + } + }, + "cheerio": { + "version": "0.22.0", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-0.22.0.tgz", + "integrity": "sha1-qbqoYKP5tZWmuBsahocxIe06Jp4=", + "dev": true, + "requires": { + "css-select": "~1.2.0", + "dom-serializer": "~0.1.0", + "entities": "~1.1.1", + "htmlparser2": "^3.9.1", + "lodash.assignin": "^4.0.9", + "lodash.bind": "^4.1.4", + "lodash.defaults": "^4.0.1", + "lodash.filter": "^4.4.0", + "lodash.flatten": "^4.2.0", + "lodash.foreach": "^4.3.0", + "lodash.map": "^4.4.0", + "lodash.merge": "^4.4.0", + "lodash.pick": "^4.2.1", + "lodash.reduce": "^4.4.0", + "lodash.reject": "^4.4.0", + "lodash.some": "^4.4.0" + } + }, + "detect-indent": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-3.0.1.tgz", + "integrity": "sha1-ncXl3bzu+DJXZLlFGwK8bVQIT3U=", + "dev": true, + "requires": { + "get-stdin": "^4.0.1", + "minimist": "^1.1.0", + "repeating": "^1.1.0" + } + }, + "fs-extra": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-1.0.0.tgz", + "integrity": "sha1-zTzl9+fLYUWIP8rjGR6Yd/hYeVA=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "jsonfile": "^2.1.0", + "klaw": "^1.0.0" + } + }, + "jsonfile": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", + "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6" + } + }, + "repeating": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/repeating/-/repeating-1.1.3.tgz", + "integrity": "sha1-PUEUIYh3U3SU+X93+Xhfq4EPpKw=", + "dev": true, + "requires": { + "is-finite": "^1.0.0" + } + }, + "taffydb": { + "version": "2.7.2", + "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.7.2.tgz", + "integrity": "sha1-e/gQalwaSCUbPjvAoOFzJIn9Dcg=", + "dev": true + } } }, - "fragment-cache": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", - "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", + "esdoc-standard-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-standard-plugin/-/esdoc-standard-plugin-1.0.0.tgz", + "integrity": "sha1-ZhIBysfvhokkkCRG/awVJyU8XU0=", "dev": true, "requires": { - "map-cache": "^0.2.2" + "esdoc-accessor-plugin": "^1.0.0", + "esdoc-brand-plugin": "^1.0.0", + "esdoc-coverage-plugin": "^1.0.0", + "esdoc-external-ecmascript-plugin": "^1.0.0", + "esdoc-integrate-manual-plugin": "^1.0.0", + "esdoc-integrate-test-plugin": "^1.0.0", + "esdoc-lint-plugin": "^1.0.0", + "esdoc-publish-html-plugin": "^1.0.0", + "esdoc-type-inference-plugin": "^1.0.0", + "esdoc-undocumented-identifier-plugin": "^1.0.0", + "esdoc-unexported-identifier-plugin": "^1.0.0" } }, - "fs-extra": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-5.0.0.tgz", - "integrity": "sha1-QU0BEM3QZwVzTQVWUsVBEmDDGr0=", - "dev": true, - "requires": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - } + "esdoc-type-inference-plugin": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/esdoc-type-inference-plugin/-/esdoc-type-inference-plugin-1.0.2.tgz", + "integrity": "sha512-tMIcEHNe1uhUGA7lT1UTWc9hs2dzthnTgmqXpmeUhurk7fL2tinvoH+IVvG/sLROzwOGZQS9zW/F9KWnpMzLIQ==", + "dev": true }, - "fs.realpath": { + "esdoc-undocumented-identifier-plugin": { "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "resolved": "https://registry.npmjs.org/esdoc-undocumented-identifier-plugin/-/esdoc-undocumented-identifier-plugin-1.0.0.tgz", + "integrity": "sha1-guBdNxwy0ShxFA8dXIHsmf2cwsg=", "dev": true }, - "fsevents": { - "version": "1.2.11", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.11.tgz", - "integrity": "sha512-+ux3lx6peh0BpvY0JebGyZoiR4D+oYzdPZMKJwkZ+sFkNJzpL7tXc/wehS49gUAxg3tmMHPHZkA8JU2rhhgDHw==", + "esdoc-unexported-identifier-plugin": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/esdoc-unexported-identifier-plugin/-/esdoc-unexported-identifier-plugin-1.0.0.tgz", + "integrity": "sha1-H5h0xqfCvr+a05fDzrdcnGnaurE=", + "dev": true + }, + "eslint": { + "version": "6.8.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-6.8.0.tgz", + "integrity": "sha1-YiYtZylzn5J1cjgkMC+yJ8jJP/s=", "dev": true, - "optional": true, "requires": { - "bindings": "^1.5.0", - "nan": "^2.12.1", - "node-pre-gyp": "*" + "@babel/code-frame": "^7.0.0", + "ajv": "^6.10.0", + "chalk": "^2.1.0", + "cross-spawn": "^6.0.5", + "debug": "^4.0.1", + "doctrine": "^3.0.0", + "eslint-scope": "^5.0.0", + "eslint-utils": "^1.4.3", + "eslint-visitor-keys": "^1.1.0", + "espree": "^6.1.2", + "esquery": "^1.0.1", + "esutils": "^2.0.2", + "file-entry-cache": "^5.0.1", + "functional-red-black-tree": "^1.0.1", + "glob-parent": "^5.0.0", + "globals": "^12.1.0", + "ignore": "^4.0.6", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "inquirer": "^7.0.0", + "is-glob": "^4.0.0", + "js-yaml": "^3.13.1", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.3.0", + "lodash": "^4.17.14", + "minimatch": "^3.0.4", + "mkdirp": "^0.5.1", + "natural-compare": "^1.4.0", + "optionator": "^0.8.3", + "progress": "^2.0.0", + "regexpp": "^2.0.1", + "semver": "^6.1.2", + "strip-ansi": "^5.2.0", + "strip-json-comments": "^3.0.1", + "table": "^5.2.3", + "text-table": "^0.2.0", + "v8-compile-cache": "^2.0.3" }, "dependencies": { - "abbrev": { - "version": "1.1.1", - "bundled": true, - "dev": true, - "optional": true - }, "ansi-regex": { - "version": "2.1.1", - "bundled": true, - "dev": true, - "optional": true - }, - "aproba": { - "version": "1.2.0", - "bundled": true, - "dev": true, - "optional": true + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", + "integrity": "sha1-i5+PCM8ay4Q3Vqg5yox+MWjFGZc=", + "dev": true }, - "are-we-there-yet": { - "version": "1.1.5", - "bundled": true, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", "dev": true, - "optional": true, "requires": { - "delegates": "^1.0.0", - "readable-stream": "^2.0.6" + "color-convert": "^1.9.0" } }, - "balanced-match": { - "version": "1.0.0", - "bundled": true, - "dev": true, - "optional": true - }, - "brace-expansion": { - "version": "1.1.11", - "bundled": true, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=", "dev": true, - "optional": true, "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" } }, - "chownr": { - "version": "1.1.3", - "bundled": true, - "dev": true, - "optional": true - }, - "code-point-at": { - "version": "1.1.0", - "bundled": true, - "dev": true, - "optional": true - }, - "concat-map": { - "version": "0.0.1", - "bundled": true, - "dev": true, - "optional": true - }, - "console-control-strings": { - "version": "1.1.0", - "bundled": true, - "dev": true, - "optional": true - }, - "core-util-is": { - "version": "1.0.2", - "bundled": true, - "dev": true, - "optional": true - }, "debug": { - "version": "3.2.6", - "bundled": true, + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "integrity": "sha1-O3ImAlUQnGtYnO4FDx1RYTlmR5E=", "dev": true, - "optional": true, "requires": { "ms": "^2.1.1" } }, - "deep-extend": { - "version": "0.6.0", - "bundled": true, + "globals": { + "version": "12.3.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-12.3.0.tgz", + "integrity": "sha1-HlZO5cTd7SqwmLD4jyRwKjxWvhM=", "dev": true, - "optional": true + "requires": { + "type-fest": "^0.8.1" + } }, - "delegates": { - "version": "1.0.0", - "bundled": true, - "dev": true, - "optional": true + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=", + "dev": true }, - "detect-libc": { - "version": "1.0.3", - "bundled": true, - "dev": true, - "optional": true + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha1-7gpkyK9ejO6mdoexM3YeG+y9HT0=", + "dev": true }, - "fs-minipass": { - "version": "1.2.7", - "bundled": true, + "strip-ansi": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "integrity": "sha1-jJpTb+tq/JYr36WxBKUJHBrZwK4=", "dev": true, - "optional": true, "requires": { - "minipass": "^2.6.0" + "ansi-regex": "^4.1.0" } }, - "fs.realpath": { - "version": "1.0.0", - "bundled": true, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", "dev": true, - "optional": true - }, - "gauge": { - "version": "2.7.4", - "bundled": true, + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "eslint-config-airbnb-base": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-14.0.0.tgz", + "integrity": "sha1-invLlkPRPFXfTddETxOL9O+mHhc=", + "dev": true, + "requires": { + "confusing-browser-globals": "^1.0.7", + "object.assign": "^4.1.0", + "object.entries": "^1.1.0" + } + }, + "eslint-import-resolver-node": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz", + "integrity": "sha1-WPFfuDm40FdsqYBBNHaqskcttmo=", + "dev": true, + "requires": { + "debug": "^2.6.9", + "resolve": "^1.5.0" + } + }, + "eslint-module-utils": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.5.0.tgz", + "integrity": "sha1-zfC0DWIwMidMzSq9fmTE5STW4Zw=", + "dev": true, + "requires": { + "debug": "^2.6.9", + "pkg-dir": "^2.0.0" + }, + "dependencies": { + "find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", "dev": true, - "optional": true, "requires": { - "aproba": "^1.0.3", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.0", - "object-assign": "^4.1.0", - "signal-exit": "^3.0.0", - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wide-align": "^1.1.0" + "locate-path": "^2.0.0" } }, - "glob": { - "version": "7.1.6", - "bundled": true, + "locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", "dev": true, - "optional": true, "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" } }, - "has-unicode": { - "version": "2.0.1", - "bundled": true, + "p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha1-uGvV8MJWkJEcdZD8v8IBDVSzzLg=", "dev": true, - "optional": true + "requires": { + "p-try": "^1.0.0" + } }, - "iconv-lite": { - "version": "0.4.24", - "bundled": true, + "p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", "dev": true, - "optional": true, "requires": { - "safer-buffer": ">= 2.1.2 < 3" + "p-limit": "^1.1.0" } }, - "ignore-walk": { - "version": "3.0.3", - "bundled": true, + "p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "dev": true + }, + "pkg-dir": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", + "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", "dev": true, - "optional": true, "requires": { - "minimatch": "^3.0.4" + "find-up": "^2.1.0" } - }, - "inflight": { - "version": "1.0.6", - "bundled": true, + } + } + }, + "eslint-plugin-import": { + "version": "2.19.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.19.1.tgz", + "integrity": "sha1-VlThC3g50GTdDUbNG4jsITOhFEg=", + "dev": true, + "requires": { + "array-includes": "^3.0.3", + "array.prototype.flat": "^1.2.1", + "contains-path": "^0.1.0", + "debug": "^2.6.9", + "doctrine": "1.5.0", + "eslint-import-resolver-node": "^0.3.2", + "eslint-module-utils": "^2.4.1", + "has": "^1.0.3", + "minimatch": "^3.0.4", + "object.values": "^1.1.0", + "read-pkg-up": "^2.0.0", + "resolve": "^1.12.0" + }, + "dependencies": { + "doctrine": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", + "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", "dev": true, - "optional": true, "requires": { - "once": "^1.3.0", - "wrappy": "1" + "esutils": "^2.0.2", + "isarray": "^1.0.0" } }, - "inherits": { - "version": "2.0.4", - "bundled": true, - "dev": true, - "optional": true - }, - "ini": { - "version": "1.3.5", - "bundled": true, - "dev": true, - "optional": true - }, - "is-fullwidth-code-point": { - "version": "1.0.0", - "bundled": true, + "find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", "dev": true, - "optional": true, "requires": { - "number-is-nan": "^1.0.0" + "locate-path": "^2.0.0" } }, "isarray": { "version": "1.0.0", - "bundled": true, - "dev": true, - "optional": true - }, - "minimatch": { - "version": "3.0.4", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "minimist": { - "version": "0.0.8", - "bundled": true, - "dev": true, - "optional": true + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true }, - "minipass": { - "version": "2.9.0", - "bundled": true, + "load-json-file": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", + "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", "dev": true, - "optional": true, "requires": { - "safe-buffer": "^5.1.2", - "yallist": "^3.0.0" + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "strip-bom": "^3.0.0" } }, - "minizlib": { - "version": "1.3.3", - "bundled": true, + "locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", "dev": true, - "optional": true, "requires": { - "minipass": "^2.9.0" + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" } }, - "mkdirp": { - "version": "0.5.1", - "bundled": true, + "p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", "dev": true, - "optional": true, "requires": { - "minimist": "0.0.8" + "p-try": "^1.0.0" } }, - "ms": { - "version": "2.1.2", - "bundled": true, - "dev": true, - "optional": true - }, - "needle": { - "version": "2.4.0", - "bundled": true, + "p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", "dev": true, - "optional": true, "requires": { - "debug": "^3.2.6", - "iconv-lite": "^0.4.4", - "sax": "^1.2.4" + "p-limit": "^1.1.0" } }, - "node-pre-gyp": { - "version": "0.14.0", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "detect-libc": "^1.0.2", - "mkdirp": "^0.5.1", - "needle": "^2.2.1", - "nopt": "^4.0.1", - "npm-packlist": "^1.1.6", - "npmlog": "^4.0.2", - "rc": "^1.2.7", - "rimraf": "^2.6.1", - "semver": "^5.3.0", - "tar": "^4.4.2" - } + "p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "dev": true }, - "nopt": { - "version": "4.0.1", - "bundled": true, + "parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", "dev": true, - "optional": true, "requires": { - "abbrev": "1", - "osenv": "^0.1.4" + "error-ex": "^1.2.0" } }, - "npm-bundled": { - "version": "1.1.1", - "bundled": true, + "path-type": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", + "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", "dev": true, - "optional": true, "requires": { - "npm-normalize-package-bin": "^1.0.1" + "pify": "^2.0.0" } }, - "npm-normalize-package-bin": { - "version": "1.0.1", - "bundled": true, - "dev": true, - "optional": true + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true }, - "npm-packlist": { - "version": "1.4.7", - "bundled": true, + "read-pkg": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", + "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", "dev": true, - "optional": true, "requires": { - "ignore-walk": "^3.0.1", - "npm-bundled": "^1.0.1" + "load-json-file": "^2.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^2.0.0" } }, - "npmlog": { - "version": "4.1.2", - "bundled": true, + "read-pkg-up": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", + "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", "dev": true, - "optional": true, "requires": { - "are-we-there-yet": "~1.1.2", - "console-control-strings": "~1.1.0", - "gauge": "~2.7.3", - "set-blocking": "~2.0.0" + "find-up": "^2.0.0", + "read-pkg": "^2.0.0" } - }, - "number-is-nan": { - "version": "1.0.1", - "bundled": true, - "dev": true, - "optional": true - }, - "object-assign": { - "version": "4.1.1", - "bundled": true, - "dev": true, - "optional": true - }, - "once": { - "version": "1.4.0", - "bundled": true, + } + } + }, + "eslint-plugin-jest": { + "version": "23.3.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-23.3.0.tgz", + "integrity": "sha1-sUQ9DEbWoN6e8954F23WaIx9UyY=", + "dev": true, + "requires": { + "@typescript-eslint/experimental-utils": "^2.5.0" + } + }, + "eslint-scope": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz", + "integrity": "sha1-6HyIh8c+jR7ITxylkWRcNYv8j7k=", + "dev": true, + "requires": { + "esrecurse": "^4.1.0", + "estraverse": "^4.1.1" + } + }, + "eslint-utils": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.3.tgz", + "integrity": "sha1-dP7HxU0Hdrb2fgJRBAtYBlZOmB8=", + "dev": true, + "requires": { + "eslint-visitor-keys": "^1.1.0" + } + }, + "eslint-visitor-keys": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz", + "integrity": "sha1-4qgs6oT/JGrW+1f5veW0ZiFFnsI=", + "dev": true + }, + "espree": { + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/espree/-/espree-6.1.2.tgz", + "integrity": "sha1-bCcmUJMrT5HDcU5ee19eLs9HJi0=", + "dev": true, + "requires": { + "acorn": "^7.1.0", + "acorn-jsx": "^5.1.0", + "eslint-visitor-keys": "^1.1.0" + }, + "dependencies": { + "acorn": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.1.0.tgz", + "integrity": "sha1-lJ028sKSU12mAig1hsJHfFfrLWw=", + "dev": true + } + } + }, + "esprima": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-3.1.3.tgz", + "integrity": "sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM=", + "dev": true + }, + "esquery": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz", + "integrity": "sha1-QGxRZYsfWZGl+bYrHcJbAOPlxwg=", + "dev": true, + "requires": { + "estraverse": "^4.0.0" + } + }, + "esrecurse": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", + "integrity": "sha1-AHo7n9vCs7uH5IeeoZyS/b05Qs8=", + "dev": true, + "requires": { + "estraverse": "^4.1.0" + } + }, + "estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true + }, + "esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true + }, + "exec-sh": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/exec-sh/-/exec-sh-0.3.4.tgz", + "integrity": "sha512-sEFIkc61v75sWeOe72qyrqg2Qg0OuLESziUDk/O/z2qgS15y2gWVFrI6f2Qn/qw/0/NCfCEsmNA4zOjkwEZT1A==", + "dev": true + }, + "execa": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", + "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==", + "dev": true, + "requires": { + "cross-spawn": "^6.0.0", + "get-stream": "^4.0.0", + "is-stream": "^1.1.0", + "npm-run-path": "^2.0.0", + "p-finally": "^1.0.0", + "signal-exit": "^3.0.0", + "strip-eof": "^1.0.0" + } + }, + "exit": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", + "integrity": "sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=", + "dev": true + }, + "expand-brackets": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", + "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", + "dev": true, + "requires": { + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", "dev": true, - "optional": true, "requires": { - "wrappy": "1" + "is-descriptor": "^0.1.0" } }, - "os-homedir": { - "version": "1.0.2", - "bundled": true, - "dev": true, - "optional": true - }, - "os-tmpdir": { - "version": "1.0.2", - "bundled": true, - "dev": true, - "optional": true - }, - "osenv": { - "version": "0.1.5", - "bundled": true, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "dev": true, - "optional": true, "requires": { - "os-homedir": "^1.0.0", - "os-tmpdir": "^1.0.0" + "is-extendable": "^0.1.0" } - }, - "path-is-absolute": { + } + } + }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "dev": true + }, + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "dev": true, + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "dependencies": { + "is-extendable": { "version": "1.0.1", - "bundled": true, - "dev": true, - "optional": true - }, - "process-nextick-args": { - "version": "2.0.1", - "bundled": true, - "dev": true, - "optional": true - }, - "rc": { - "version": "1.2.8", - "bundled": true, + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", "dev": true, - "optional": true, "requires": { - "deep-extend": "^0.6.0", - "ini": "~1.3.0", - "minimist": "^1.2.0", - "strip-json-comments": "~2.0.1" - }, - "dependencies": { - "minimist": { - "version": "1.2.0", - "bundled": true, - "dev": true, - "optional": true - } + "is-plain-object": "^2.0.4" } - }, - "readable-stream": { - "version": "2.3.6", - "bundled": true, + } + } + }, + "external-editor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", + "integrity": "sha1-ywP3QL764D6k0oPK7SdBqD8zVJU=", + "dev": true, + "requires": { + "chardet": "^0.7.0", + "iconv-lite": "^0.4.24", + "tmp": "^0.0.33" + } + }, + "extglob": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", + "dev": true, + "requires": { + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", "dev": true, - "optional": true, "requires": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" + "is-descriptor": "^1.0.0" } }, - "rimraf": { - "version": "2.7.1", - "bundled": true, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "dev": true, - "optional": true, "requires": { - "glob": "^7.1.3" + "is-extendable": "^0.1.0" } }, - "safe-buffer": { - "version": "5.1.2", - "bundled": true, - "dev": true, - "optional": true - }, - "safer-buffer": { - "version": "2.1.2", - "bundled": true, - "dev": true, - "optional": true - }, - "sax": { - "version": "1.2.4", - "bundled": true, - "dev": true, - "optional": true - }, - "semver": { - "version": "5.7.1", - "bundled": true, - "dev": true, - "optional": true - }, - "set-blocking": { - "version": "2.0.0", - "bundled": true, - "dev": true, - "optional": true - }, - "signal-exit": { - "version": "3.0.2", - "bundled": true, - "dev": true, - "optional": true - }, - "string-width": { - "version": "1.0.2", - "bundled": true, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "dev": true, - "optional": true, "requires": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" + "kind-of": "^6.0.0" } }, - "string_decoder": { - "version": "1.1.1", - "bundled": true, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "dev": true, - "optional": true, "requires": { - "safe-buffer": "~5.1.0" + "kind-of": "^6.0.0" } }, - "strip-ansi": { - "version": "3.0.1", - "bundled": true, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "dev": true, - "optional": true, "requires": { - "ansi-regex": "^2.0.0" + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" } - }, - "strip-json-comments": { + } + } + }, + "extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", + "dev": true + }, + "fast-deep-equal": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", + "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=", + "dev": true + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha1-h0v2nG9ATCtdmcSBNBOZ/VWJJjM=", + "dev": true + }, + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", + "dev": true + }, + "fb-watchman": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.1.tgz", + "integrity": "sha512-DkPJKQeY6kKwmuMretBhr7G6Vodr7bFwDYTXIkfG1gjvNpaxBTQV3PbXg6bR1c1UP4jPOX0jHUbbHANL9vRjVg==", + "dev": true, + "requires": { + "bser": "2.1.1" + } + }, + "figures": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-3.1.0.tgz", + "integrity": "sha1-SxmN0H2NcVMGQoZK8tRd2eRZxOw=", + "dev": true, + "requires": { + "escape-string-regexp": "^1.0.5" + } + }, + "file-entry-cache": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz", + "integrity": "sha1-yg9u+m3T1WEzP7FFFQZcL6/fQ5w=", + "dev": true, + "requires": { + "flat-cache": "^2.0.1" + } + }, + "fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "dependencies": { + "extend-shallow": { "version": "2.0.1", - "bundled": true, - "dev": true, - "optional": true - }, - "tar": { - "version": "4.4.13", - "bundled": true, - "dev": true, - "optional": true, - "requires": { - "chownr": "^1.1.1", - "fs-minipass": "^1.2.5", - "minipass": "^2.8.6", - "minizlib": "^1.2.1", - "mkdirp": "^0.5.0", - "safe-buffer": "^5.1.2", - "yallist": "^3.0.3" - } - }, - "util-deprecate": { - "version": "1.0.2", - "bundled": true, - "dev": true, - "optional": true - }, - "wide-align": { - "version": "1.1.3", - "bundled": true, + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", "dev": true, - "optional": true, "requires": { - "string-width": "^1.0.2 || 2" + "is-extendable": "^0.1.0" } - }, - "wrappy": { - "version": "1.0.2", - "bundled": true, - "dev": true, - "optional": true - }, - "yallist": { - "version": "3.1.1", - "bundled": true, + } + } + }, + "flat-cache": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz", + "integrity": "sha1-XSltbwS9pEpGMKMBQTvbwuwIXsA=", + "dev": true, + "requires": { + "flatted": "^2.0.0", + "rimraf": "2.6.3", + "write": "1.0.3" + }, + "dependencies": { + "rimraf": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", + "integrity": "sha1-stEE/g2Psnz54KHNqCYt04M8bKs=", "dev": true, - "optional": true + "requires": { + "glob": "^7.1.3" + } } } }, + "flatted": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.1.tgz", + "integrity": "sha1-aeV8qo8OrLwoHS4stFjUb9tEngg=", + "dev": true + }, + "for-in": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", + "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", + "dev": true + }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "dev": true + }, + "form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "dev": true, + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + } + }, + "fragment-cache": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", + "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", + "dev": true, + "requires": { + "map-cache": "^0.2.2" + } + }, + "fs-extra": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-5.0.0.tgz", + "integrity": "sha512-66Pm4RYbjzdyeuqudYqhFiNBbCIuI9kgRqLPSHIlXHidW8NIQtVdkM1yeZ4lXwuhbTETv3EUGMNHAAw6hiundQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true + }, "function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha1-pWiZ0+o8m6uHS7l3O3xe3pL0iV0=", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", "dev": true }, "functional-red-black-tree": { @@ -3497,7 +5637,7 @@ "get-caller-file": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha1-T5RBKoLbMvNuOwuXQfipf+sDH34=", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", "dev": true }, "get-stdin": { @@ -3509,7 +5649,7 @@ "get-stream": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", - "integrity": "sha1-wbJVV189wh1Zv8ec09K0axw6VLU=", + "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", "dev": true, "requires": { "pump": "^3.0.0" @@ -3533,7 +5673,7 @@ "glob": { "version": "7.1.6", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", - "integrity": "sha1-FB8zuBp8JJLhJVlDB0gMRmeSeKY=", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", "dev": true, "requires": { "fs.realpath": "^1.0.0", @@ -3562,34 +5702,15 @@ "graceful-fs": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz", - "integrity": "sha1-ShL/G2A3bvCYYsIJPt2Qgyi+hCM=", + "integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==", "dev": true }, "growly": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz", "integrity": "sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE=", - "dev": true - }, - "handlebars": { - "version": "4.5.3", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.5.3.tgz", - "integrity": "sha1-XPdb2HFPdgVxNRGla+fDSb7LBII=", "dev": true, - "requires": { - "neo-async": "^2.6.0", - "optimist": "^0.6.1", - "source-map": "^0.6.1", - "uglify-js": "^3.1.4" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha1-dHIq8y6WFOnCh6jQu95IteLxomM=", - "dev": true - } - } + "optional": true }, "har-schema": { "version": "2.0.0", @@ -3600,7 +5721,7 @@ "har-validator": { "version": "5.1.3", "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz", - "integrity": "sha1-HvievT5JllV2de7ZiTEQ3DUPoIA=", + "integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==", "dev": true, "requires": { "ajv": "^6.5.5", @@ -3610,7 +5731,7 @@ "has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha1-ci18v8H2qoJB8W3YFOAR4fQeh5Y=", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", "dev": true, "requires": { "function-bind": "^1.1.1" @@ -3634,7 +5755,7 @@ "has-symbols": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", - "integrity": "sha1-n1IUdYpEGWxAbZvXbOv4HsLdMeg=", + "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", "dev": true }, "has-value": { @@ -3672,22 +5793,28 @@ "hosted-git-info": { "version": "2.8.5", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.5.tgz", - "integrity": "sha1-dZz88sTRVq3lmwst+r3cQqa5xww=", + "integrity": "sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg==", "dev": true }, "html-encoding-sniffer": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-1.0.2.tgz", - "integrity": "sha1-5w2EuU2lOqN14R/jo1G+ZkLKRvg=", + "integrity": "sha512-71lZziiDnsuabfdYiUeWdCVyKuqwWi23L8YeIgV9jSSZHCtb6wB1BKWooH7L3tn4/FuZJMVWyNaIDr4RGmaSYw==", "dev": true, "requires": { "whatwg-encoding": "^1.0.1" } }, + "html-escaper": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.0.tgz", + "integrity": "sha512-a4u9BeERWGu/S8JiWEAQcdrg9v4QArtP9keViQjGMdff20fBdd8waotXaNmODqBe6uZ3Nafi7K/ho4gCQHV3Ig==", + "dev": true + }, "htmlparser2": { "version": "3.10.1", "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz", - "integrity": "sha1-vWedw/WYl7ajS7EHSchVu1OpOS8=", + "integrity": "sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==", "dev": true, "requires": { "domelementtype": "^1.3.1", @@ -3709,6 +5836,12 @@ "sshpk": "^1.7.0" } }, + "human-signals": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz", + "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==", + "dev": true + }, "ice-cap": { "version": "0.0.4", "resolved": "https://registry.npmjs.org/ice-cap/-/ice-cap-0.0.4.tgz", @@ -3792,7 +5925,7 @@ "iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha1-ICK0sl+93CHS9SSXSkdKr+czkIs=", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", "dev": true, "requires": { "safer-buffer": ">= 2.1.2 < 3" @@ -3822,16 +5955,6 @@ } } }, - "import-local": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-2.0.0.tgz", - "integrity": "sha1-VQcL44pZk88Y72236WH1vuXFoJ0=", - "dev": true, - "requires": { - "pkg-dir": "^3.0.0", - "resolve-cwd": "^2.0.0" - } - }, "imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", @@ -3851,7 +5974,7 @@ "inherits": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha1-D6LGT5MpF8NDOg3tVTY6rjdBa3w=", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "dev": true }, "inquirer": { @@ -3975,12 +6098,18 @@ "invariant": { "version": "2.2.4", "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", - "integrity": "sha1-YQ88ksk1nOHbYW5TgAjSP/NRWOY=", + "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", "dev": true, "requires": { "loose-envify": "^1.0.0" } }, + "ip-regex": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz", + "integrity": "sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk=", + "dev": true + }, "is-accessor-descriptor": { "version": "0.1.6", "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", @@ -4010,7 +6139,7 @@ "is-buffer": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha1-76ouqdqg16suoTqXsritUf776L4=", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", "dev": true }, "is-callable": { @@ -4022,7 +6151,7 @@ "is-ci": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", - "integrity": "sha1-a8YzQYGBDgS1wis9WJ/cpVAmQEw=", + "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", "dev": true, "requires": { "ci-info": "^2.0.0" @@ -4057,7 +6186,7 @@ "is-descriptor": { "version": "0.1.6", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha1-Nm2CQN3kh8pRgjsaufB6EKeCUco=", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", "dev": true, "requires": { "is-accessor-descriptor": "^0.1.6", @@ -4068,7 +6197,7 @@ "kind-of": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha1-cpyR4thXt6QZofmqZWhcTDP1hF0=", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", "dev": true } } @@ -4103,7 +6232,7 @@ "is-generator-fn": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz", - "integrity": "sha1-fRQK3DiarzARqPKipM+m+q3/sRg=", + "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==", "dev": true }, "is-glob": { @@ -4138,7 +6267,7 @@ "is-plain-object": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha1-LBY7P6+xtgbZ0Xko8FwqHDjgdnc=", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", "dev": true, "requires": { "isobject": "^3.0.1" @@ -4174,7 +6303,7 @@ "is-symbol": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", - "integrity": "sha1-OOEBS55jKb4N6dJKQU/XRB7GGTc=", + "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", "dev": true, "requires": { "has-symbols": "^1.0.1" @@ -4189,13 +6318,7 @@ "is-windows": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", - "integrity": "sha1-0YUOuXkezRjmGCzhKjDzlmNLsZ0=", - "dev": true - }, - "is-wsl": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", - "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", "dev": true }, "isarray": { @@ -4222,1057 +6345,1350 @@ "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", "dev": true }, - "istanbul-lib-coverage": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.5.tgz", - "integrity": "sha1-Z18KtpUD+tSx2En3NrqsqAM0T0k=", - "dev": true - }, - "istanbul-lib-instrument": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-3.3.0.tgz", - "integrity": "sha1-pfY9kfC7wMPkee9MXeAnM17G1jA=", + "jest-cli": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-25.1.0.tgz", + "integrity": "sha512-p+aOfczzzKdo3AsLJlhs8J5EW6ffVidfSZZxXedJ0mHPBOln1DccqFmGCoO8JWd4xRycfmwy1eoQkMsF8oekPg==", "dev": true, "requires": { - "@babel/generator": "^7.4.0", - "@babel/parser": "^7.4.3", - "@babel/template": "^7.4.0", - "@babel/traverse": "^7.4.3", - "@babel/types": "^7.4.0", - "istanbul-lib-coverage": "^2.0.5", - "semver": "^6.0.0" + "@jest/core": "^25.1.0", + "@jest/test-result": "^25.1.0", + "@jest/types": "^25.1.0", + "chalk": "^3.0.0", + "exit": "^0.1.2", + "import-local": "^3.0.2", + "is-ci": "^2.0.0", + "jest-config": "^25.1.0", + "jest-util": "^25.1.0", + "jest-validate": "^25.1.0", + "prompts": "^2.0.1", + "realpath-native": "^1.1.0", + "yargs": "^15.0.0" }, "dependencies": { - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha1-7gpkyK9ejO6mdoexM3YeG+y9HT0=", + "@jest/console": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-25.1.0.tgz", + "integrity": "sha512-3P1DpqAMK/L07ag/Y9/Jup5iDEG9P4pRAuZiMQnU0JB3UOvCyYCjCoxr7sIA80SeyUCUKrr24fKAxVpmBgQonA==", + "dev": true, + "requires": { + "@jest/source-map": "^25.1.0", + "chalk": "^3.0.0", + "jest-util": "^25.1.0", + "slash": "^3.0.0" + } + }, + "@jest/core": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/@jest/core/-/core-25.1.0.tgz", + "integrity": "sha512-iz05+NmwCmZRzMXvMo6KFipW7nzhbpEawrKrkkdJzgytavPse0biEnCNr2wRlyCsp3SmKaEY+SGv7YWYQnIdig==", + "dev": true, + "requires": { + "@jest/console": "^25.1.0", + "@jest/reporters": "^25.1.0", + "@jest/test-result": "^25.1.0", + "@jest/transform": "^25.1.0", + "@jest/types": "^25.1.0", + "ansi-escapes": "^4.2.1", + "chalk": "^3.0.0", + "exit": "^0.1.2", + "graceful-fs": "^4.2.3", + "jest-changed-files": "^25.1.0", + "jest-config": "^25.1.0", + "jest-haste-map": "^25.1.0", + "jest-message-util": "^25.1.0", + "jest-regex-util": "^25.1.0", + "jest-resolve": "^25.1.0", + "jest-resolve-dependencies": "^25.1.0", + "jest-runner": "^25.1.0", + "jest-runtime": "^25.1.0", + "jest-snapshot": "^25.1.0", + "jest-util": "^25.1.0", + "jest-validate": "^25.1.0", + "jest-watcher": "^25.1.0", + "micromatch": "^4.0.2", + "p-each-series": "^2.1.0", + "realpath-native": "^1.1.0", + "rimraf": "^3.0.0", + "slash": "^3.0.0", + "strip-ansi": "^6.0.0" + } + }, + "@jest/environment": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-25.1.0.tgz", + "integrity": "sha512-cTpUtsjU4cum53VqBDlcW0E4KbQF03Cn0jckGPW/5rrE9tb+porD3+hhLtHAwhthsqfyF+bizyodTlsRA++sHg==", + "dev": true, + "requires": { + "@jest/fake-timers": "^25.1.0", + "@jest/types": "^25.1.0", + "jest-mock": "^25.1.0" + } + }, + "@jest/fake-timers": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-25.1.0.tgz", + "integrity": "sha512-Eu3dysBzSAO1lD7cylZd/CVKdZZ1/43SF35iYBNV1Lvvn2Undp3Grwsv8PrzvbLhqwRzDd4zxrY4gsiHc+wygQ==", + "dev": true, + "requires": { + "@jest/types": "^25.1.0", + "jest-message-util": "^25.1.0", + "jest-mock": "^25.1.0", + "jest-util": "^25.1.0", + "lolex": "^5.0.0" + } + }, + "@jest/reporters": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-25.1.0.tgz", + "integrity": "sha512-ORLT7hq2acJQa8N+NKfs68ZtHFnJPxsGqmofxW7v7urVhzJvpKZG9M7FAcgh9Ee1ZbCteMrirHA3m5JfBtAaDg==", + "dev": true, + "requires": { + "@bcoe/v8-coverage": "^0.2.3", + "@jest/console": "^25.1.0", + "@jest/environment": "^25.1.0", + "@jest/test-result": "^25.1.0", + "@jest/transform": "^25.1.0", + "@jest/types": "^25.1.0", + "chalk": "^3.0.0", + "collect-v8-coverage": "^1.0.0", + "exit": "^0.1.2", + "glob": "^7.1.2", + "istanbul-lib-coverage": "^3.0.0", + "istanbul-lib-instrument": "^4.0.0", + "istanbul-lib-report": "^3.0.0", + "istanbul-lib-source-maps": "^4.0.0", + "istanbul-reports": "^3.0.0", + "jest-haste-map": "^25.1.0", + "jest-resolve": "^25.1.0", + "jest-runtime": "^25.1.0", + "jest-util": "^25.1.0", + "jest-worker": "^25.1.0", + "node-notifier": "^6.0.0", + "slash": "^3.0.0", + "source-map": "^0.6.0", + "string-length": "^3.1.0", + "terminal-link": "^2.0.0", + "v8-to-istanbul": "^4.0.1" + } + }, + "@jest/source-map": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-25.1.0.tgz", + "integrity": "sha512-ohf2iKT0xnLWcIUhL6U6QN+CwFWf9XnrM2a6ybL9NXxJjgYijjLSitkYHIdzkd8wFliH73qj/+epIpTiWjRtAA==", + "dev": true, + "requires": { + "callsites": "^3.0.0", + "graceful-fs": "^4.2.3", + "source-map": "^0.6.0" + } + }, + "@jest/test-result": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-25.1.0.tgz", + "integrity": "sha512-FZzSo36h++U93vNWZ0KgvlNuZ9pnDnztvaM7P/UcTx87aPDotG18bXifkf1Ji44B7k/eIatmMzkBapnAzjkJkg==", + "dev": true, + "requires": { + "@jest/console": "^25.1.0", + "@jest/transform": "^25.1.0", + "@jest/types": "^25.1.0", + "@types/istanbul-lib-coverage": "^2.0.0", + "collect-v8-coverage": "^1.0.0" + } + }, + "@jest/test-sequencer": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-25.1.0.tgz", + "integrity": "sha512-WgZLRgVr2b4l/7ED1J1RJQBOharxS11EFhmwDqknpknE0Pm87HLZVS2Asuuw+HQdfQvm2aXL2FvvBLxOD1D0iw==", + "dev": true, + "requires": { + "@jest/test-result": "^25.1.0", + "jest-haste-map": "^25.1.0", + "jest-runner": "^25.1.0", + "jest-runtime": "^25.1.0" + } + }, + "@jest/transform": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-25.1.0.tgz", + "integrity": "sha512-4ktrQ2TPREVeM+KxB4zskAT84SnmG1vaz4S+51aTefyqn3zocZUnliLLm5Fsl85I3p/kFPN4CRp1RElIfXGegQ==", + "dev": true, + "requires": { + "@babel/core": "^7.1.0", + "@jest/types": "^25.1.0", + "babel-plugin-istanbul": "^6.0.0", + "chalk": "^3.0.0", + "convert-source-map": "^1.4.0", + "fast-json-stable-stringify": "^2.0.0", + "graceful-fs": "^4.2.3", + "jest-haste-map": "^25.1.0", + "jest-regex-util": "^25.1.0", + "jest-util": "^25.1.0", + "micromatch": "^4.0.2", + "pirates": "^4.0.1", + "realpath-native": "^1.1.0", + "slash": "^3.0.0", + "source-map": "^0.6.1", + "write-file-atomic": "^3.0.0" + } + }, + "@jest/types": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.1.0.tgz", + "integrity": "sha512-VpOtt7tCrgvamWZh1reVsGADujKigBUFTi19mlRjqEGsE8qH4r3s+skY33dNdXOwyZIvuftZ5tqdF1IgsMejMA==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^1.1.1", + "@types/yargs": "^15.0.0", + "chalk": "^3.0.0" + } + }, + "@types/yargs": { + "version": "15.0.3", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-15.0.3.tgz", + "integrity": "sha512-XCMQRK6kfpNBixHLyHUsGmXrpEmFFxzMrcnSXFMziHd8CoNJo8l16FkHyQq4x+xbM7E2XL83/O78OD8u+iZTdQ==", + "dev": true, + "requires": { + "@types/yargs-parser": "*" + } + }, + "abab": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.3.tgz", + "integrity": "sha512-tsFzPpcttalNjFBCFMqsKYQcWxxen1pgJR56by//QwvJc4/OUS3kPOOttx2tSIfjsylB0pYu7f5D3K1RCxUnUg==", "dev": true - } - } - }, - "istanbul-lib-report": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-2.0.8.tgz", - "integrity": "sha1-WoETzXRtQ8SInro2qxDn1QybTzM=", - "dev": true, - "requires": { - "istanbul-lib-coverage": "^2.0.5", - "make-dir": "^2.1.0", - "supports-color": "^6.1.0" - }, - "dependencies": { - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha1-B2Srxpxj1ayELdSGfo0CXogN+PM=", + }, + "acorn": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.1.0.tgz", + "integrity": "sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ==", + "dev": true + }, + "acorn-globals": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-4.3.4.tgz", + "integrity": "sha512-clfQEh21R+D0leSbUdWf3OcfqyaCSAQ8Ryq00bofSekfr9W8u1jyYZo6ir0xu9Gtcf7BjcHJpnbZH7JOCpP60A==", + "dev": true, + "requires": { + "acorn": "^6.0.1", + "acorn-walk": "^6.0.1" + }, + "dependencies": { + "acorn": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.0.tgz", + "integrity": "sha512-gac8OEcQ2Li1dxIEWGZzsp2BitJxwkwcOm0zHAJLcPJaVvm58FRnk6RkuLRpU1EujipU2ZFODv2P9DLMfnV8mw==", + "dev": true + } + } + }, + "ansi-escapes": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.0.tgz", + "integrity": "sha512-EiYhwo0v255HUL6eDyuLrXEkTi7WwVCLAw+SeOQ7M7qdun1z1pum4DEm/nuqIVbPvi9RPPc9k9LbyBv6H0DwVg==", + "dev": true, + "requires": { + "type-fest": "^0.8.1" + } + }, + "ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true + }, + "ansi-styles": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", + "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", + "dev": true, + "requires": { + "@types/color-name": "^1.1.1", + "color-convert": "^2.0.1" + } + }, + "anymatch": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz", + "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==", + "dev": true, + "requires": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + } + }, + "babel-plugin-istanbul": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.0.0.tgz", + "integrity": "sha512-AF55rZXpe7trmEylbaE1Gv54wn6rwU03aptvRoVIGP8YykoSxqdVLV1TfwflBCE/QtHmqtP8SWlTENqbK8GCSQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0", + "@istanbuljs/load-nyc-config": "^1.0.0", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-instrument": "^4.0.0", + "test-exclude": "^6.0.0" + } + }, + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "requires": { + "fill-range": "^7.0.1" + } + }, + "chalk": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", + "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "cliui": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", + "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", + "dev": true, + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^6.2.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "cross-spawn": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.1.tgz", + "integrity": "sha512-u7v4o84SwFpD32Z8IIcPZ6z1/ie24O6RU3RbtL5Y316l3KuHVPx9ItBgWQ6VlfAFnRnTtMUrsQ9MUUTuEZjogg==", + "dev": true, + "requires": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "dependencies": { + "which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + } + } + }, + "cssom": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.4.4.tgz", + "integrity": "sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==", + "dev": true + }, + "cssstyle": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-2.2.0.tgz", + "integrity": "sha512-sEb3XFPx3jNnCAMtqrXPDeSgQr+jojtCeNf8cvMNMh1cG970+lljssvQDzPq6lmmJu2Vhqood/gtEomBiHOGnA==", + "dev": true, + "requires": { + "cssom": "~0.3.6" + }, + "dependencies": { + "cssom": { + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz", + "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==", + "dev": true + } + } + }, + "debug": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "detect-newline": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", + "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", + "dev": true + }, + "diff-sequences": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-25.1.0.tgz", + "integrity": "sha512-nFIfVk5B/NStCsJ+zaPO4vYuLjlzQ6uFvPxzYyHlejNZ/UGa7G/n7peOXVrVNvRuyfstt+mZQYGpjxg9Z6N8Kw==", + "dev": true + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "execa": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-3.4.0.tgz", + "integrity": "sha512-r9vdGQk4bmCuK1yKQu1KTwcT2zwfWdbdaXfCtAh+5nU/4fSX+JAb7vZGvI5naJrQlvONrEB20jeruESI69530g==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.0", + "get-stream": "^5.0.0", + "human-signals": "^1.1.1", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.0", + "onetime": "^5.1.0", + "p-finally": "^2.0.0", + "signal-exit": "^3.0.2", + "strip-final-newline": "^2.0.0" + } + }, + "expect": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/expect/-/expect-25.1.0.tgz", + "integrity": "sha512-wqHzuoapQkhc3OKPlrpetsfueuEiMf3iWh0R8+duCu9PIjXoP7HgD5aeypwTnXUAjC8aMsiVDaWwlbJ1RlQ38g==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "@jest/types": "^25.1.0", + "ansi-styles": "^4.0.0", + "jest-get-type": "^25.1.0", + "jest-matcher-utils": "^25.1.0", + "jest-message-util": "^25.1.0", + "jest-regex-util": "^25.1.0" } - } - } - }, - "istanbul-lib-source-maps": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-3.0.6.tgz", - "integrity": "sha1-KEmXxIIRdS7EhiU9qX44ed77qMg=", - "dev": true, - "requires": { - "debug": "^4.1.1", - "istanbul-lib-coverage": "^2.0.5", - "make-dir": "^2.1.0", - "rimraf": "^2.6.3", - "source-map": "^0.6.1" - }, - "dependencies": { - "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha1-O3ImAlUQnGtYnO4FDx1RYTlmR5E=", + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", "dev": true, "requires": { - "ms": "^2.1.1" + "to-regex-range": "^5.0.1" } }, - "ms": { + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "fsevents": { "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.2.tgz", + "integrity": "sha512-R4wDiBwZ0KzpgOWetKDug1FZcYhqYnUYKtfZYt4mD5SBz76q0KR4Q9o7GIPamsVPGmW3EYPPJ0dOOjvx32ldZA==", + "dev": true, + "optional": true + }, + "get-stream": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.1.0.tgz", + "integrity": "sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw==", + "dev": true, + "requires": { + "pump": "^3.0.0" + } + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha1-dHIq8y6WFOnCh6jQu95IteLxomM=", + "import-local": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.0.2.tgz", + "integrity": "sha512-vjL3+w0oulAVZ0hBHnxa/Nm5TAurf9YLQJDhqRZyqb+VKGOB6LU8t9H1Nr5CIo16vh9XfJTOoHwU0B71S557gA==", + "dev": true, + "requires": { + "pkg-dir": "^4.2.0", + "resolve-cwd": "^3.0.0" + } + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "dev": true - } - } - }, - "istanbul-reports": { - "version": "2.2.6", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-2.2.6.tgz", - "integrity": "sha1-e08mYNgrKTA6j+YJH4ykvwWNoa8=", - "dev": true, - "requires": { - "handlebars": "^4.1.2" - } - }, - "jest": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest/-/jest-24.9.0.tgz", - "integrity": "sha1-mH0pDAWgi1LFYYjBAC42jtsAcXE=", - "dev": true, - "requires": { - "import-local": "^2.0.0", - "jest-cli": "^24.9.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true + }, + "is-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", + "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", + "dev": true + }, + "is-wsl": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.1.1.tgz", + "integrity": "sha512-umZHcSrwlDHo2TGMXv0DZ8dIUGunZ2Iv68YZnrmCiBPkZ4aaOhtv7pXJKeki9k3qJ3RJr0cDyitcl5wEH3AYog==", + "dev": true, + "optional": true + }, + "istanbul-lib-coverage": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz", + "integrity": "sha512-UiUIqxMgRDET6eR+o5HbfRYP1l0hqkWOs7vNxC/mggutCMUIhWMm8gAHb8tHlyfD3/l6rlgNA5cKdDzEAf6hEg==", + "dev": true + }, + "istanbul-lib-instrument": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.1.tgz", + "integrity": "sha512-imIchxnodll7pvQBYOqUu88EufLCU56LMeFPZZM/fJZ1irYcYdqroaV+ACK1Ila8ls09iEYArp+nqyC6lW1Vfg==", "dev": true, "requires": { - "color-convert": "^1.9.0" + "@babel/core": "^7.7.5", + "@babel/parser": "^7.7.5", + "@babel/template": "^7.7.4", + "@babel/traverse": "^7.7.4", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-coverage": "^3.0.0", + "semver": "^6.3.0" } }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=", + "istanbul-lib-report": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", + "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", "dev": true, "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "istanbul-lib-coverage": "^3.0.0", + "make-dir": "^3.0.0", + "supports-color": "^7.1.0" } }, - "jest-cli": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-24.9.0.tgz", - "integrity": "sha1-rS3mLQdHLUGcarwwH8QyuYsQ0q8=", + "istanbul-lib-source-maps": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.0.tgz", + "integrity": "sha512-c16LpFRkR8vQXyHZ5nLpY35JZtzj1PQY1iZmesUbf1FZHbIupcWfjgOXBY9YHkLEQ6puz1u4Dgj6qmU/DisrZg==", "dev": true, "requires": { - "@jest/core": "^24.9.0", - "@jest/test-result": "^24.9.0", - "@jest/types": "^24.9.0", - "chalk": "^2.0.1", - "exit": "^0.1.2", - "import-local": "^2.0.0", - "is-ci": "^2.0.0", - "jest-config": "^24.9.0", - "jest-util": "^24.9.0", - "jest-validate": "^24.9.0", - "prompts": "^2.0.1", - "realpath-native": "^1.1.0", - "yargs": "^13.3.0" + "debug": "^4.1.1", + "istanbul-lib-coverage": "^3.0.0", + "source-map": "^0.6.1" } }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", + "istanbul-reports": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.0.0.tgz", + "integrity": "sha512-2osTcC8zcOSUkImzN2EWQta3Vdi4WjjKw99P2yWx5mLnigAM0Rd5uYFn1cf2i/Ois45GkNjaoTqc5CxgMSX80A==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "html-escaper": "^2.0.0", + "istanbul-lib-report": "^3.0.0" } - } - } - }, - "jest-changed-files": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-24.9.0.tgz", - "integrity": "sha1-CNjBXreaf6P8mCabwUtFHugvgDk=", - "dev": true, - "requires": { - "@jest/types": "^24.9.0", - "execa": "^1.0.0", - "throat": "^4.0.0" - } - }, - "jest-config": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-24.9.0.tgz", - "integrity": "sha1-+xu8YMc6Rq8DWQcZ76SCXm5N0bU=", - "dev": true, - "requires": { - "@babel/core": "^7.1.0", - "@jest/test-sequencer": "^24.9.0", - "@jest/types": "^24.9.0", - "babel-jest": "^24.9.0", - "chalk": "^2.0.1", - "glob": "^7.1.1", - "jest-environment-jsdom": "^24.9.0", - "jest-environment-node": "^24.9.0", - "jest-get-type": "^24.9.0", - "jest-jasmine2": "^24.9.0", - "jest-regex-util": "^24.3.0", - "jest-resolve": "^24.9.0", - "jest-util": "^24.9.0", - "jest-validate": "^24.9.0", - "micromatch": "^3.1.10", - "pretty-format": "^24.9.0", - "realpath-native": "^1.1.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", + }, + "jest-changed-files": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-25.1.0.tgz", + "integrity": "sha512-bdL1aHjIVy3HaBO3eEQeemGttsq1BDlHgWcOjEOIAcga7OOEGWHD2WSu8HhL7I1F0mFFyci8VKU4tRNk+qtwDA==", "dev": true, "requires": { - "color-convert": "^1.9.0" + "@jest/types": "^25.1.0", + "execa": "^3.2.0", + "throat": "^5.0.0" } }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=", + "jest-config": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-25.1.0.tgz", + "integrity": "sha512-tLmsg4SZ5H7tuhBC5bOja0HEblM0coS3Wy5LTCb2C8ZV6eWLewHyK+3qSq9Bi29zmWQ7ojdCd3pxpx4l4d2uGw==", "dev": true, "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "@babel/core": "^7.1.0", + "@jest/test-sequencer": "^25.1.0", + "@jest/types": "^25.1.0", + "babel-jest": "^25.1.0", + "chalk": "^3.0.0", + "glob": "^7.1.1", + "jest-environment-jsdom": "^25.1.0", + "jest-environment-node": "^25.1.0", + "jest-get-type": "^25.1.0", + "jest-jasmine2": "^25.1.0", + "jest-regex-util": "^25.1.0", + "jest-resolve": "^25.1.0", + "jest-util": "^25.1.0", + "jest-validate": "^25.1.0", + "micromatch": "^4.0.2", + "pretty-format": "^25.1.0", + "realpath-native": "^1.1.0" } }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", + "jest-diff": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-25.1.0.tgz", + "integrity": "sha512-nepXgajT+h017APJTreSieh4zCqnSHEJ1iT8HDlewu630lSJ4Kjjr9KNzm+kzGwwcpsDE6Snx1GJGzzsefaEHw==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "chalk": "^3.0.0", + "diff-sequences": "^25.1.0", + "jest-get-type": "^25.1.0", + "pretty-format": "^25.1.0" } - } - } - }, - "jest-diff": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-24.9.0.tgz", - "integrity": "sha1-kxt9DVd4obr3RSy4FuMl43JAVdo=", - "dev": true, - "requires": { - "chalk": "^2.0.1", - "diff-sequences": "^24.9.0", - "jest-get-type": "^24.9.0", - "pretty-format": "^24.9.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", + }, + "jest-docblock": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-25.1.0.tgz", + "integrity": "sha512-370P/mh1wzoef6hUKiaMcsPtIapY25suP6JqM70V9RJvdKLrV4GaGbfUseUVk4FZJw4oTZ1qSCJNdrClKt5JQA==", "dev": true, "requires": { - "color-convert": "^1.9.0" + "detect-newline": "^3.0.0" } }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=", + "jest-each": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-25.1.0.tgz", + "integrity": "sha512-R9EL8xWzoPySJ5wa0DXFTj7NrzKpRD40Jy+zQDp3Qr/2QmevJgkN9GqioCGtAJ2bW9P/MQRznQHQQhoeAyra7A==", "dev": true, "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "@jest/types": "^25.1.0", + "chalk": "^3.0.0", + "jest-get-type": "^25.1.0", + "jest-util": "^25.1.0", + "pretty-format": "^25.1.0" } }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", + "jest-environment-jsdom": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-25.1.0.tgz", + "integrity": "sha512-ILb4wdrwPAOHX6W82GGDUiaXSSOE274ciuov0lztOIymTChKFtC02ddyicRRCdZlB5YSrv3vzr1Z5xjpEe1OHQ==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "@jest/environment": "^25.1.0", + "@jest/fake-timers": "^25.1.0", + "@jest/types": "^25.1.0", + "jest-mock": "^25.1.0", + "jest-util": "^25.1.0", + "jsdom": "^15.1.1" } - } - } - }, - "jest-docblock": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-24.9.0.tgz", - "integrity": "sha1-eXAgGAK6Vg4cQJLMJcvt9a9ajOI=", - "dev": true, - "requires": { - "detect-newline": "^2.1.0" - } - }, - "jest-each": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-24.9.0.tgz", - "integrity": "sha1-6y2mAuKmEImNvF8fbfO6hrVfiwU=", - "dev": true, - "requires": { - "@jest/types": "^24.9.0", - "chalk": "^2.0.1", - "jest-get-type": "^24.9.0", - "jest-util": "^24.9.0", - "pretty-format": "^24.9.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", + }, + "jest-environment-node": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-25.1.0.tgz", + "integrity": "sha512-U9kFWTtAPvhgYY5upnH9rq8qZkj6mYLup5l1caAjjx9uNnkLHN2xgZy5mo4SyLdmrh/EtB9UPpKFShvfQHD0Iw==", "dev": true, "requires": { - "color-convert": "^1.9.0" + "@jest/environment": "^25.1.0", + "@jest/fake-timers": "^25.1.0", + "@jest/types": "^25.1.0", + "jest-mock": "^25.1.0", + "jest-util": "^25.1.0" } }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=", + "jest-get-type": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-25.1.0.tgz", + "integrity": "sha512-yWkBnT+5tMr8ANB6V+OjmrIJufHtCAqI5ic2H40v+tRqxDmE0PGnIiTyvRWFOMtmVHYpwRqyazDbTnhpjsGvLw==", + "dev": true + }, + "jest-haste-map": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-25.1.0.tgz", + "integrity": "sha512-/2oYINIdnQZAqyWSn1GTku571aAfs8NxzSErGek65Iu5o8JYb+113bZysRMcC/pjE5v9w0Yz+ldbj9NxrFyPyw==", "dev": true, "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "@jest/types": "^25.1.0", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "fsevents": "^2.1.2", + "graceful-fs": "^4.2.3", + "jest-serializer": "^25.1.0", + "jest-util": "^25.1.0", + "jest-worker": "^25.1.0", + "micromatch": "^4.0.2", + "sane": "^4.0.3", + "walker": "^1.0.7" } }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", + "jest-jasmine2": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-25.1.0.tgz", + "integrity": "sha512-GdncRq7jJ7sNIQ+dnXvpKO2MyP6j3naNK41DTTjEAhLEdpImaDA9zSAZwDhijjSF/D7cf4O5fdyUApGBZleaEg==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "@babel/traverse": "^7.1.0", + "@jest/environment": "^25.1.0", + "@jest/source-map": "^25.1.0", + "@jest/test-result": "^25.1.0", + "@jest/types": "^25.1.0", + "chalk": "^3.0.0", + "co": "^4.6.0", + "expect": "^25.1.0", + "is-generator-fn": "^2.0.0", + "jest-each": "^25.1.0", + "jest-matcher-utils": "^25.1.0", + "jest-message-util": "^25.1.0", + "jest-runtime": "^25.1.0", + "jest-snapshot": "^25.1.0", + "jest-util": "^25.1.0", + "pretty-format": "^25.1.0", + "throat": "^5.0.0" } - } - } - }, - "jest-environment-jsdom": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-24.9.0.tgz", - "integrity": "sha1-SwgGx/yU+V7bNpppzCd47sK3N1s=", - "dev": true, - "requires": { - "@jest/environment": "^24.9.0", - "@jest/fake-timers": "^24.9.0", - "@jest/types": "^24.9.0", - "jest-mock": "^24.9.0", - "jest-util": "^24.9.0", - "jsdom": "^11.5.1" - }, - "dependencies": { - "abab": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.3.tgz", - "integrity": "sha1-Yj4gdeAustPyR15J+ZyRhGRnkHo=", - "dev": true }, - "acorn": { - "version": "5.7.3", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.3.tgz", - "integrity": "sha1-Z6ojG/iBKXS4UjWpZ3Hra9B+onk=", - "dev": true + "jest-leak-detector": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-25.1.0.tgz", + "integrity": "sha512-3xRI264dnhGaMHRvkFyEKpDeaRzcEBhyNrOG5oT8xPxOyUAblIAQnpiR3QXu4wDor47MDTiHbiFcbypdLcLW5w==", + "dev": true, + "requires": { + "jest-get-type": "^25.1.0", + "pretty-format": "^25.1.0" + } }, - "acorn-globals": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-4.3.4.tgz", - "integrity": "sha1-n6GSat3BHJcwjE5m163Q1Awycuc=", + "jest-matcher-utils": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-25.1.0.tgz", + "integrity": "sha512-KGOAFcSFbclXIFE7bS4C53iYobKI20ZWleAdAFun4W1Wz1Kkej8Ng6RRbhL8leaEvIOjGXhGf/a1JjO8bkxIWQ==", "dev": true, "requires": { - "acorn": "^6.0.1", - "acorn-walk": "^6.0.1" - }, - "dependencies": { - "acorn": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.0.tgz", - "integrity": "sha1-tlnS/7r6JLr12xzbsslKmD7NJ4Q=", - "dev": true - } + "chalk": "^3.0.0", + "jest-diff": "^25.1.0", + "jest-get-type": "^25.1.0", + "pretty-format": "^25.1.0" } }, - "cssstyle": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-1.4.0.tgz", - "integrity": "sha1-nTEyginTxWXGHlhrAgQaKPzNzPE=", + "jest-message-util": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-25.1.0.tgz", + "integrity": "sha512-Nr/Iwar2COfN22aCqX0kCVbXgn8IBm9nWf4xwGr5Olv/KZh0CZ32RKgZWMVDXGdOahicM10/fgjdimGNX/ttCQ==", "dev": true, "requires": { - "cssom": "0.3.x" + "@babel/code-frame": "^7.0.0", + "@jest/test-result": "^25.1.0", + "@jest/types": "^25.1.0", + "@types/stack-utils": "^1.0.1", + "chalk": "^3.0.0", + "micromatch": "^4.0.2", + "slash": "^3.0.0", + "stack-utils": "^1.0.1" } }, - "jsdom": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-11.12.0.tgz", - "integrity": "sha1-GoDUDd03ih3lllbp5txaO6hle8g=", + "jest-mock": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-25.1.0.tgz", + "integrity": "sha512-28/u0sqS+42vIfcd1mlcg4ZVDmSUYuNvImP4X2lX5hRMLW+CN0BeiKVD4p+ujKKbSPKd3rg/zuhCF+QBLJ4vag==", "dev": true, "requires": { - "abab": "^2.0.0", - "acorn": "^5.5.3", - "acorn-globals": "^4.1.0", - "array-equal": "^1.0.0", - "cssom": ">= 0.3.2 < 0.4.0", - "cssstyle": "^1.0.0", - "data-urls": "^1.0.0", - "domexception": "^1.0.1", - "escodegen": "^1.9.1", - "html-encoding-sniffer": "^1.0.2", - "left-pad": "^1.3.0", - "nwsapi": "^2.0.7", - "parse5": "4.0.0", - "pn": "^1.1.0", - "request": "^2.87.0", - "request-promise-native": "^1.0.5", - "sax": "^1.2.4", - "symbol-tree": "^3.2.2", - "tough-cookie": "^2.3.4", - "w3c-hr-time": "^1.0.1", - "webidl-conversions": "^4.0.2", - "whatwg-encoding": "^1.0.3", - "whatwg-mimetype": "^2.1.0", - "whatwg-url": "^6.4.1", - "ws": "^5.2.0", - "xml-name-validator": "^3.0.0" + "@jest/types": "^25.1.0" } }, - "parse5": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-4.0.0.tgz", - "integrity": "sha1-bXhlbj2o14tOwLkG98CO8d/j9gg=", + "jest-regex-util": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-25.1.0.tgz", + "integrity": "sha512-9lShaDmDpqwg+xAd73zHydKrBbbrIi08Kk9YryBEBybQFg/lBWR/2BDjjiSE7KIppM9C5+c03XiDaZ+m4Pgs1w==", "dev": true }, - "webidl-conversions": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", - "integrity": "sha1-qFWYCx8LazWbodXZ+zmulB+qY60=", - "dev": true + "jest-resolve": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-25.1.0.tgz", + "integrity": "sha512-XkBQaU1SRCHj2Evz2Lu4Czs+uIgJXWypfO57L7JYccmAXv4slXA6hzNblmcRmf7P3cQ1mE7fL3ABV6jAwk4foQ==", + "dev": true, + "requires": { + "@jest/types": "^25.1.0", + "browser-resolve": "^1.11.3", + "chalk": "^3.0.0", + "jest-pnp-resolver": "^1.2.1", + "realpath-native": "^1.1.0" + } }, - "xml-name-validator": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz", - "integrity": "sha1-auc+Bt5NjG5H+fsYH3jWSK1FfGo=", - "dev": true - } - } - }, - "jest-environment-node": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-24.9.0.tgz", - "integrity": "sha1-Mz0tJ5b5aH8q7r8HQrUZ8zwcv9M=", - "dev": true, - "requires": { - "@jest/environment": "^24.9.0", - "@jest/fake-timers": "^24.9.0", - "@jest/types": "^24.9.0", - "jest-mock": "^24.9.0", - "jest-util": "^24.9.0" - } - }, - "jest-get-type": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-24.9.0.tgz", - "integrity": "sha1-FoSgyKUPLkkBtmRK6GH1ee7S7w4=", - "dev": true - }, - "jest-haste-map": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-24.9.0.tgz", - "integrity": "sha1-s4pdZCdJNOIfpBeump++t3zqrH0=", - "dev": true, - "requires": { - "@jest/types": "^24.9.0", - "anymatch": "^2.0.0", - "fb-watchman": "^2.0.0", - "fsevents": "^1.2.7", - "graceful-fs": "^4.1.15", - "invariant": "^2.2.4", - "jest-serializer": "^24.9.0", - "jest-util": "^24.9.0", - "jest-worker": "^24.9.0", - "micromatch": "^3.1.10", - "sane": "^4.0.3", - "walker": "^1.0.7" - } - }, - "jest-jasmine2": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-24.9.0.tgz", - "integrity": "sha1-H3sb0yQsF3TmKsq7NkbZavw75qA=", - "dev": true, - "requires": { - "@babel/traverse": "^7.1.0", - "@jest/environment": "^24.9.0", - "@jest/test-result": "^24.9.0", - "@jest/types": "^24.9.0", - "chalk": "^2.0.1", - "co": "^4.6.0", - "expect": "^24.9.0", - "is-generator-fn": "^2.0.0", - "jest-each": "^24.9.0", - "jest-matcher-utils": "^24.9.0", - "jest-message-util": "^24.9.0", - "jest-runtime": "^24.9.0", - "jest-snapshot": "^24.9.0", - "jest-util": "^24.9.0", - "pretty-format": "^24.9.0", - "throat": "^4.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", + "jest-resolve-dependencies": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-25.1.0.tgz", + "integrity": "sha512-Cu/Je38GSsccNy4I2vL12ZnBlD170x2Oh1devzuM9TLH5rrnLW1x51lN8kpZLYTvzx9j+77Y5pqBaTqfdzVzrw==", + "dev": true, + "requires": { + "@jest/types": "^25.1.0", + "jest-regex-util": "^25.1.0", + "jest-snapshot": "^25.1.0" + } + }, + "jest-runner": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-25.1.0.tgz", + "integrity": "sha512-su3O5fy0ehwgt+e8Wy7A8CaxxAOCMzL4gUBftSs0Ip32S0epxyZPDov9Znvkl1nhVOJNf4UwAsnqfc3plfQH9w==", "dev": true, "requires": { - "color-convert": "^1.9.0" + "@jest/console": "^25.1.0", + "@jest/environment": "^25.1.0", + "@jest/test-result": "^25.1.0", + "@jest/types": "^25.1.0", + "chalk": "^3.0.0", + "exit": "^0.1.2", + "graceful-fs": "^4.2.3", + "jest-config": "^25.1.0", + "jest-docblock": "^25.1.0", + "jest-haste-map": "^25.1.0", + "jest-jasmine2": "^25.1.0", + "jest-leak-detector": "^25.1.0", + "jest-message-util": "^25.1.0", + "jest-resolve": "^25.1.0", + "jest-runtime": "^25.1.0", + "jest-util": "^25.1.0", + "jest-worker": "^25.1.0", + "source-map-support": "^0.5.6", + "throat": "^5.0.0" + } + }, + "jest-runtime": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-25.1.0.tgz", + "integrity": "sha512-mpPYYEdbExKBIBB16ryF6FLZTc1Rbk9Nx0ryIpIMiDDkOeGa0jQOKVI/QeGvVGlunKKm62ywcioeFVzIbK03bA==", + "dev": true, + "requires": { + "@jest/console": "^25.1.0", + "@jest/environment": "^25.1.0", + "@jest/source-map": "^25.1.0", + "@jest/test-result": "^25.1.0", + "@jest/transform": "^25.1.0", + "@jest/types": "^25.1.0", + "@types/yargs": "^15.0.0", + "chalk": "^3.0.0", + "collect-v8-coverage": "^1.0.0", + "exit": "^0.1.2", + "glob": "^7.1.3", + "graceful-fs": "^4.2.3", + "jest-config": "^25.1.0", + "jest-haste-map": "^25.1.0", + "jest-message-util": "^25.1.0", + "jest-mock": "^25.1.0", + "jest-regex-util": "^25.1.0", + "jest-resolve": "^25.1.0", + "jest-snapshot": "^25.1.0", + "jest-util": "^25.1.0", + "jest-validate": "^25.1.0", + "realpath-native": "^1.1.0", + "slash": "^3.0.0", + "strip-bom": "^4.0.0", + "yargs": "^15.0.0" } }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=", + "jest-serializer": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-25.1.0.tgz", + "integrity": "sha512-20Wkq5j7o84kssBwvyuJ7Xhn7hdPeTXndnwIblKDR2/sy1SUm6rWWiG9kSCgJPIfkDScJCIsTtOKdlzfIHOfKA==", + "dev": true + }, + "jest-snapshot": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-25.1.0.tgz", + "integrity": "sha512-xZ73dFYN8b/+X2hKLXz4VpBZGIAn7muD/DAg+pXtDzDGw3iIV10jM7WiHqhCcpDZfGiKEj7/2HXAEPtHTj0P2A==", + "dev": true, + "requires": { + "@babel/types": "^7.0.0", + "@jest/types": "^25.1.0", + "chalk": "^3.0.0", + "expect": "^25.1.0", + "jest-diff": "^25.1.0", + "jest-get-type": "^25.1.0", + "jest-matcher-utils": "^25.1.0", + "jest-message-util": "^25.1.0", + "jest-resolve": "^25.1.0", + "mkdirp": "^0.5.1", + "natural-compare": "^1.4.0", + "pretty-format": "^25.1.0", + "semver": "^7.1.1" + }, + "dependencies": { + "semver": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.1.3.tgz", + "integrity": "sha512-ekM0zfiA9SCBlsKa2X1hxyxiI4L3B6EbVJkkdgQXnSEEaHlGdvyodMruTiulSRWMMB4NeIuYNMC9rTKTz97GxA==", + "dev": true + } + } + }, + "jest-util": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-25.1.0.tgz", + "integrity": "sha512-7did6pLQ++87Qsj26Fs/TIwZMUFBXQ+4XXSodRNy3luch2DnRXsSnmpVtxxQ0Yd6WTipGpbhh2IFP1mq6/fQGw==", "dev": true, "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "@jest/types": "^25.1.0", + "chalk": "^3.0.0", + "is-ci": "^2.0.0", + "mkdirp": "^0.5.1" } }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", + "jest-validate": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-25.1.0.tgz", + "integrity": "sha512-kGbZq1f02/zVO2+t1KQGSVoCTERc5XeObLwITqC6BTRH3Adv7NZdYqCpKIZLUgpLXf2yISzQ465qOZpul8abXA==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "@jest/types": "^25.1.0", + "camelcase": "^5.3.1", + "chalk": "^3.0.0", + "jest-get-type": "^25.1.0", + "leven": "^3.1.0", + "pretty-format": "^25.1.0" } - } - } - }, - "jest-leak-detector": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-24.9.0.tgz", - "integrity": "sha1-tmXep8dxAMXE99/LFTtlzwfc+Wo=", - "dev": true, - "requires": { - "jest-get-type": "^24.9.0", - "pretty-format": "^24.9.0" - } - }, - "jest-matcher-utils": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-24.9.0.tgz", - "integrity": "sha1-9bNmHV5ijf/m3WUlHf2uDofDoHM=", - "dev": true, - "requires": { - "chalk": "^2.0.1", - "jest-diff": "^24.9.0", - "jest-get-type": "^24.9.0", - "pretty-format": "^24.9.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", + }, + "jest-watcher": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-25.1.0.tgz", + "integrity": "sha512-Q9eZ7pyaIr6xfU24OeTg4z1fUqBF/4MP6J801lyQfg7CsnZ/TCzAPvCfckKdL5dlBBEKBeHV0AdyjFZ5eWj4ig==", "dev": true, "requires": { - "color-convert": "^1.9.0" + "@jest/test-result": "^25.1.0", + "@jest/types": "^25.1.0", + "ansi-escapes": "^4.2.1", + "chalk": "^3.0.0", + "jest-util": "^25.1.0", + "string-length": "^3.1.0" } }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=", + "jest-worker": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-25.1.0.tgz", + "integrity": "sha512-ZHhHtlxOWSxCoNOKHGbiLzXnl42ga9CxDr27H36Qn+15pQZd3R/F24jrmjDelw9j/iHUIWMWs08/u2QN50HHOg==", "dev": true, "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "merge-stream": "^2.0.0", + "supports-color": "^7.0.0" } }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", + "jsdom": { + "version": "15.2.1", + "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-15.2.1.tgz", + "integrity": "sha512-fAl1W0/7T2G5vURSyxBzrJ1LSdQn6Tr5UX/xD4PXDx/PDgwygedfW6El/KIj3xJ7FU61TTYnc/l/B7P49Eqt6g==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "abab": "^2.0.0", + "acorn": "^7.1.0", + "acorn-globals": "^4.3.2", + "array-equal": "^1.0.0", + "cssom": "^0.4.1", + "cssstyle": "^2.0.0", + "data-urls": "^1.1.0", + "domexception": "^1.0.1", + "escodegen": "^1.11.1", + "html-encoding-sniffer": "^1.0.2", + "nwsapi": "^2.2.0", + "parse5": "5.1.0", + "pn": "^1.1.0", + "request": "^2.88.0", + "request-promise-native": "^1.0.7", + "saxes": "^3.1.9", + "symbol-tree": "^3.2.2", + "tough-cookie": "^3.0.1", + "w3c-hr-time": "^1.0.1", + "w3c-xmlserializer": "^1.1.2", + "webidl-conversions": "^4.0.2", + "whatwg-encoding": "^1.0.5", + "whatwg-mimetype": "^2.3.0", + "whatwg-url": "^7.0.0", + "ws": "^7.0.0", + "xml-name-validator": "^3.0.0" } - } - } - }, - "jest-message-util": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-24.9.0.tgz", - "integrity": "sha1-Un9UoeOA9eICqNEUmw7IcvQxGeM=", - "dev": true, - "requires": { - "@babel/code-frame": "^7.0.0", - "@jest/test-result": "^24.9.0", - "@jest/types": "^24.9.0", - "@types/stack-utils": "^1.0.1", - "chalk": "^2.0.1", - "micromatch": "^3.1.10", - "slash": "^2.0.0", - "stack-utils": "^1.0.1" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", + }, + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, "requires": { - "color-convert": "^1.9.0" + "p-locate": "^4.1.0" } }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=", + "make-dir": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.0.2.tgz", + "integrity": "sha512-rYKABKutXa6vXTXhoV18cBE7PaewPXHe/Bdq4v+ZLMhxbWApkFFplT0LcbMW+6BbjnQXzZ/sAvSE/JdguApG5w==", "dev": true, "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "semver": "^6.0.0" } }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", + "micromatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz", + "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "braces": "^3.0.1", + "picomatch": "^2.0.5" } - } - } - }, - "jest-mock": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-24.9.0.tgz", - "integrity": "sha1-wig1VB7jebkIZzrVEIeiGFwT8cY=", - "dev": true, - "requires": { - "@jest/types": "^24.9.0" - } - }, - "jest-pnp-resolver": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.1.tgz", - "integrity": "sha1-7NrmBMB3p/vHDe+21RfDwciYkjo=", - "dev": true - }, - "jest-regex-util": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-24.9.0.tgz", - "integrity": "sha1-wT+zOAveIr9ldUMsST6o/jeWVjY=", - "dev": true - }, - "jest-resolve": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-24.9.0.tgz", - "integrity": "sha1-3/BMdoevNMTdflJIktnPd+XRcyE=", - "dev": true, - "requires": { - "@jest/types": "^24.9.0", - "browser-resolve": "^1.11.3", - "chalk": "^2.0.1", - "jest-pnp-resolver": "^1.2.1", - "realpath-native": "^1.1.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "node-notifier": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-6.0.0.tgz", + "integrity": "sha512-SVfQ/wMw+DesunOm5cKqr6yDcvUTDl/yc97ybGHMrteNEY6oekXpNpS3lZwgLlwz0FLgHoiW28ZpmBHUDg37cw==", "dev": true, + "optional": true, "requires": { - "color-convert": "^1.9.0" + "growly": "^1.3.0", + "is-wsl": "^2.1.1", + "semver": "^6.3.0", + "shellwords": "^0.1.1", + "which": "^1.3.1" } }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=", + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true + }, + "npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", "dev": true, "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "path-key": "^3.0.0" } }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", + "p-each-series": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/p-each-series/-/p-each-series-2.1.0.tgz", + "integrity": "sha512-ZuRs1miPT4HrjFa+9fRfOFXxGJfORgelKV9f9nNOWw2gl6gVsRaVDOQP0+MI0G0wGKns1Yacsu0GjOFbTK0JFQ==", + "dev": true + }, + "p-finally": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-2.0.1.tgz", + "integrity": "sha512-vpm09aKwq6H9phqRQzecoDpD8TmVyGw70qmWlyq5onxY7tqyTTFVvxMykxQSQKILBSFlbXpypIw2T1Ml7+DDtw==", + "dev": true + }, + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "p-limit": "^2.2.0" } - } - } - }, - "jest-resolve-dependencies": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-24.9.0.tgz", - "integrity": "sha1-rQVRmJWcTPuopPBmxnOj8HhlB6s=", - "dev": true, - "requires": { - "@jest/types": "^24.9.0", - "jest-regex-util": "^24.3.0", - "jest-snapshot": "^24.9.0" - } - }, - "jest-runner": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-24.9.0.tgz", - "integrity": "sha1-V0+v29VEVcKzS0vfQ2WiOFf830I=", - "dev": true, - "requires": { - "@jest/console": "^24.7.1", - "@jest/environment": "^24.9.0", - "@jest/test-result": "^24.9.0", - "@jest/types": "^24.9.0", - "chalk": "^2.4.2", - "exit": "^0.1.2", - "graceful-fs": "^4.1.15", - "jest-config": "^24.9.0", - "jest-docblock": "^24.3.0", - "jest-haste-map": "^24.9.0", - "jest-jasmine2": "^24.9.0", - "jest-leak-detector": "^24.9.0", - "jest-message-util": "^24.9.0", - "jest-resolve": "^24.9.0", - "jest-runtime": "^24.9.0", - "jest-util": "^24.9.0", - "jest-worker": "^24.6.0", - "source-map-support": "^0.5.6", - "throat": "^4.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", + }, + "parse5": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.0.tgz", + "integrity": "sha512-fxNG2sQjHvlVAYmzBZS9YlDp6PTSSDwa98vkD4QgVDDCAo84z5X1t5XyJQ62ImdLXx5NdIIfihey6xpum9/gRQ==", + "dev": true + }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true + }, + "path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true + }, + "pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", "dev": true, "requires": { - "color-convert": "^1.9.0" + "find-up": "^4.0.0" } }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=", + "pretty-format": { + "version": "25.1.0", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-25.1.0.tgz", + "integrity": "sha512-46zLRSGLd02Rp+Lhad9zzuNZ+swunitn8zIpfD2B4OPCRLXbM87RJT2aBLBWYOznNUML/2l/ReMyWNC80PJBUQ==", "dev": true, "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "@jest/types": "^25.1.0", + "ansi-regex": "^5.0.0", + "ansi-styles": "^4.0.0", + "react-is": "^16.12.0" } }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", + "resolve-cwd": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", + "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "resolve-from": "^5.0.0" } - } - } - }, - "jest-runtime": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-24.9.0.tgz", - "integrity": "sha1-nxRYOvak9zFKap2fAibhp4HI5Kw=", - "dev": true, - "requires": { - "@jest/console": "^24.7.1", - "@jest/environment": "^24.9.0", - "@jest/source-map": "^24.3.0", - "@jest/transform": "^24.9.0", - "@jest/types": "^24.9.0", - "@types/yargs": "^13.0.0", - "chalk": "^2.0.1", - "exit": "^0.1.2", - "glob": "^7.1.3", - "graceful-fs": "^4.1.15", - "jest-config": "^24.9.0", - "jest-haste-map": "^24.9.0", - "jest-message-util": "^24.9.0", - "jest-mock": "^24.9.0", - "jest-regex-util": "^24.3.0", - "jest-resolve": "^24.9.0", - "jest-snapshot": "^24.9.0", - "jest-util": "^24.9.0", - "jest-validate": "^24.9.0", - "realpath-native": "^1.1.0", - "slash": "^2.0.0", - "strip-bom": "^3.0.0", - "yargs": "^13.3.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", + }, + "resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true + }, + "rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "dev": true, "requires": { - "color-convert": "^1.9.0" + "glob": "^7.1.3" } }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=", + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + }, + "shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", "dev": true, "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "shebang-regex": "^3.0.0" } }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", + "shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true + }, + "slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "string-length": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/string-length/-/string-length-3.1.0.tgz", + "integrity": "sha512-Ttp5YvkGm5v9Ijagtaz1BnN+k9ObpvS0eIBblPMp2YWL8FBmi9qblQ9fexc2k/CXFgrTIteU3jAw3payCnwSTA==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "astral-regex": "^1.0.0", + "strip-ansi": "^5.2.0" + }, + "dependencies": { + "ansi-regex": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", + "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", + "dev": true + }, + "strip-ansi": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "dev": true, + "requires": { + "ansi-regex": "^4.1.0" + } + } } - } - } - }, - "jest-serializer": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-24.9.0.tgz", - "integrity": "sha1-5tfX75bTHouQeacUdUxdXFgojnM=", - "dev": true - }, - "jest-snapshot": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-24.9.0.tgz", - "integrity": "sha1-7I6cpPLsDFyHro+SXPl0l7DpUbo=", - "dev": true, - "requires": { - "@babel/types": "^7.0.0", - "@jest/types": "^24.9.0", - "chalk": "^2.0.1", - "expect": "^24.9.0", - "jest-diff": "^24.9.0", - "jest-get-type": "^24.9.0", - "jest-matcher-utils": "^24.9.0", - "jest-message-util": "^24.9.0", - "jest-resolve": "^24.9.0", - "mkdirp": "^0.5.1", - "natural-compare": "^1.4.0", - "pretty-format": "^24.9.0", - "semver": "^6.2.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", + }, + "string-width": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", + "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", "dev": true, "requires": { - "color-convert": "^1.9.0" + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" } }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=", + "strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", "dev": true, "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "ansi-regex": "^5.0.0" } }, - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha1-7gpkyK9ejO6mdoexM3YeG+y9HT0=", + "strip-bom": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", + "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", "dev": true }, "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", - "dev": true, - "requires": { - "has-flag": "^3.0.0" - } - } - } - }, - "jest-util": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-24.9.0.tgz", - "integrity": "sha1-c5aBTkhTbS6Fo33j5MQx18sUAWI=", - "dev": true, - "requires": { - "@jest/console": "^24.9.0", - "@jest/fake-timers": "^24.9.0", - "@jest/source-map": "^24.9.0", - "@jest/test-result": "^24.9.0", - "@jest/types": "^24.9.0", - "callsites": "^3.0.0", - "chalk": "^2.0.1", - "graceful-fs": "^4.1.15", - "is-ci": "^2.0.0", - "mkdirp": "^0.5.1", - "slash": "^2.0.0", - "source-map": "^0.6.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", + "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", "dev": true, "requires": { - "color-convert": "^1.9.0" + "has-flag": "^4.0.0" } }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=", + "test-exclude": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", + "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", "dev": true, "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "@istanbuljs/schema": "^0.1.2", + "glob": "^7.1.4", + "minimatch": "^3.0.4" } }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha1-dHIq8y6WFOnCh6jQu95IteLxomM=", + "throat": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/throat/-/throat-5.0.0.tgz", + "integrity": "sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA==", "dev": true }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "is-number": "^7.0.0" } - } - } - }, - "jest-validate": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-24.9.0.tgz", - "integrity": "sha1-B3XFU2DRc82FTkAYB1bU/1Le+Ks=", - "dev": true, - "requires": { - "@jest/types": "^24.9.0", - "camelcase": "^5.3.1", - "chalk": "^2.0.1", - "jest-get-type": "^24.9.0", - "leven": "^3.1.0", - "pretty-format": "^24.9.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", + }, + "tough-cookie": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-3.0.1.tgz", + "integrity": "sha512-yQyJ0u4pZsv9D4clxO69OEjLWYw+jbgspjTue4lTQZLfV0c5l1VmK2y1JK8E9ahdpltPOaAThPcp5nKPUgSnsg==", "dev": true, "requires": { - "color-convert": "^1.9.0" + "ip-regex": "^2.1.0", + "psl": "^1.1.28", + "punycode": "^2.1.1" } }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=", + "tr46": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz", + "integrity": "sha1-qLE/1r/SSJUZZ0zN5VujaTtwbQk=", "dev": true, "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "punycode": "^2.1.0" } }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", + "webidl-conversions": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", + "integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==", + "dev": true + }, + "whatwg-url": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz", + "integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "lodash.sortby": "^4.7.0", + "tr46": "^1.0.1", + "webidl-conversions": "^4.0.2" } - } - } - }, - "jest-watcher": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-24.9.0.tgz", - "integrity": "sha1-S1bl0c7/AF9biOUo3Jr8jdTtKzs=", - "dev": true, - "requires": { - "@jest/test-result": "^24.9.0", - "@jest/types": "^24.9.0", - "@types/yargs": "^13.0.0", - "ansi-escapes": "^3.0.0", - "chalk": "^2.0.1", - "jest-util": "^24.9.0", - "string-length": "^2.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", + }, + "wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", "dev": true, "requires": { - "color-convert": "^1.9.0" + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" } }, - "chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=", + "write-file-atomic": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.1.tgz", + "integrity": "sha512-JPStrIyyVJ6oCSz/691fAjFtefZ6q+fP6tm+OS4Qw6o+TGQxNp1ziY2PgS+X/m0V8OWhZiO/m4xSj+Pr4RrZvw==", "dev": true, "requires": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "imurmurhash": "^0.1.4", + "is-typedarray": "^1.0.0", + "signal-exit": "^3.0.2", + "typedarray-to-buffer": "^3.1.5" } }, - "supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=", + "ws": { + "version": "7.2.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.2.1.tgz", + "integrity": "sha512-sucePNSafamSKoOqoNfBd8V0StlkzJKL2ZAhGQinCfNQ+oacw+Pk7lcdAElecBF2VkLNZRiIb5Oi1Q5lVUVt2A==", + "dev": true + }, + "xml-name-validator": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz", + "integrity": "sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==", + "dev": true + }, + "yargs": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.1.0.tgz", + "integrity": "sha512-T39FNN1b6hCW4SOIk1XyTOWxtXdcen0t+XYrysQmChzSipvhBO8Bj0nK1ozAasdk24dNWuMZvr4k24nz+8HHLg==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "cliui": "^6.0.0", + "decamelize": "^1.2.0", + "find-up": "^4.1.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^4.2.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^16.1.0" } - } - } - }, - "jest-worker": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-24.9.0.tgz", - "integrity": "sha1-Xb/bWy0yLphWeJgjipaXvM5ns+U=", - "dev": true, - "requires": { - "merge-stream": "^2.0.0", - "supports-color": "^6.1.0" - }, - "dependencies": { - "supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha1-B2Srxpxj1ayELdSGfo0CXogN+PM=", + }, + "yargs-parser": { + "version": "16.1.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-16.1.0.tgz", + "integrity": "sha512-H/V41UNZQPkUMIT5h5hiwg4QKIY1RPvoBV4XcjUbRM8Bk2oKqqyZ0DIEbTFZB0XjbtSPG8SAa/0DxCQmiRgzKg==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" } } } }, + "jest-pnp-resolver": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.1.tgz", + "integrity": "sha512-pgFw2tm54fzgYvc/OHrnysABEObZCUNFnhjoRjaVOCN8NYc032/gVjPaHD4Aq6ApkSieWtfKAFQtmDKAmhupnQ==", + "dev": true + }, "js-tokens": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", @@ -5342,12 +7758,6 @@ "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=", "dev": true }, - "json-parse-better-errors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha1-u4Z8+zRQ5pEHwTHRxRS6s9yLyqk=", - "dev": true - }, "json-schema": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", @@ -5357,7 +7767,7 @@ "json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha1-afaofZUTq4u4/mO9sJecRI5oRmA=", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", "dev": true }, "json-stable-stringify-without-jsonify": { @@ -5375,7 +7785,7 @@ "json5": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/json5/-/json5-2.1.1.tgz", - "integrity": "sha1-gbbLBOm6SW8ccAXQe0NoomOPkLY=", + "integrity": "sha512-l+3HXD0GEI3huGq1njuqtzYK8OYJyXMkOLtQ53pjWh89tvWS2h6l+1zMkYWqlb57+SiQodKZyvMEFb2X+KrFhQ==", "dev": true, "requires": { "minimist": "^1.2.0" @@ -5405,7 +7815,7 @@ "kind-of": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", - "integrity": "sha1-ARRrNqYhjmTljzqNZt5df8b20FE=", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", "dev": true }, "klaw": { @@ -5420,21 +7830,24 @@ "kleur": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", - "integrity": "sha1-p5yezIbuHOP6YgbRIWxQHxR/wH4=", - "dev": true - }, - "left-pad": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/left-pad/-/left-pad-1.3.0.tgz", - "integrity": "sha1-W4o6d2Xf4AEmHd6RVYnngvjJTR4=", + "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", "dev": true }, "leven": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", - "integrity": "sha1-d4kd6DQGTMy6gq54QrtrFKE+1/I=", + "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", "dev": true }, + "levenary": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/levenary/-/levenary-1.1.1.tgz", + "integrity": "sha512-mkAdOIt79FD6irqjYSs4rdbnlT5vRonMEvBVPVb3XmevfS8kgRXwfes0dhPdEtzTWD/1eNE/Bm/G1iRt6DcnQQ==", + "dev": true, + "requires": { + "leven": "^3.1.0" + } + }, "levn": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", @@ -5445,32 +7858,10 @@ "type-check": "~0.3.2" } }, - "load-json-file": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", - "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", - "dev": true, - "requires": { - "graceful-fs": "^4.1.2", - "parse-json": "^4.0.0", - "pify": "^3.0.0", - "strip-bom": "^3.0.0" - } - }, - "locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha1-2+w7OrdZdYBxtY/ln8QYca8hQA4=", - "dev": true, - "requires": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - } - }, "lodash": { "version": "4.17.15", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "integrity": "sha1-tEf2ZwoEVbv+7dETku/zMOoJdUg=", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", "dev": true }, "lodash.assignin": { @@ -5518,7 +7909,7 @@ "lodash.merge": { "version": "4.6.2", "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha1-VYqlO0O2YeGSWgr9+japoQhf5Xo=", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", "dev": true }, "lodash.pick": { @@ -5557,31 +7948,22 @@ "integrity": "sha1-vyJJiGzlFM2hEvrpIYzcBlIR/Jw=", "dev": true }, - "loose-envify": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", - "integrity": "sha1-ce5R+nvkyuwaY4OffmgtgTLTDK8=", + "lolex": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/lolex/-/lolex-5.1.2.tgz", + "integrity": "sha512-h4hmjAvHTmd+25JSwrtTIuwbKdwg5NzZVRMLn9saij4SZaepCrTCxPr35H/3bjwfMJtN+t3CX8672UIkglz28A==", "dev": true, "requires": { - "js-tokens": "^3.0.0 || ^4.0.0" + "@sinonjs/commons": "^1.7.0" } }, - "make-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha1-XwMQ4YuL6JjMBwCSlaMK5B6R5vU=", + "loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", "dev": true, "requires": { - "pify": "^4.0.1", - "semver": "^5.6.0" - }, - "dependencies": { - "pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha1-SyzSXFDVmHNcUCkiJP2MbfQeMjE=", - "dev": true - } + "js-tokens": "^3.0.0 || ^4.0.0" } }, "makeerror": { @@ -5611,19 +7993,19 @@ "marked": { "version": "0.3.19", "resolved": "https://registry.npmjs.org/marked/-/marked-0.3.19.tgz", - "integrity": "sha1-XUf3CcTJ/Dwha21GEnKA9As515A=", + "integrity": "sha512-ea2eGWOqNxPcXv8dyERdSr/6FmzvWwzjMxpfGB/sbMccXoct+xY+YukPD+QTUZwyvK7BZwcr4m21WBOW41pAkg==", "dev": true }, "merge-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha1-UoI2KaFN0AyXcPtq1H3GMQ8sH2A=", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", "dev": true }, "micromatch": { "version": "3.1.10", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha1-cIWbyVyYQJUvNZoGij/En57PrCM=", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", "dev": true, "requires": { "arr-diff": "^4.0.0", @@ -5644,13 +8026,13 @@ "mime-db": { "version": "1.42.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.42.0.tgz", - "integrity": "sha1-PiUpB7THrbkGWXtLZWNics+ee6w=", + "integrity": "sha512-UbfJCR4UAVRNgMpfImz05smAXK7+c+ZntjaA26ANtkXLlOe947Aag5zdIcKQULAiF9Cq4WxBi9jUs5zkA84bYQ==", "dev": true }, "mime-types": { "version": "2.1.25", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.25.tgz", - "integrity": "sha1-OXctRmIfk+KoCoVsU7hqYhVqZDc=", + "integrity": "sha512-5KhStqB5xpTAeGqKBAMgwaYMnQik7teQN4IAzC7npDv6kzeU6prfkR67bc87J1kWMPGkoaZSq1npmexMgkmEVg==", "dev": true, "requires": { "mime-db": "1.42.0" @@ -5665,7 +8047,7 @@ "minimatch": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha1-UWbihkV/AzBgZL5Ul+jbsMPTIIM=", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "dev": true, "requires": { "brace-expansion": "^1.1.7" @@ -5680,7 +8062,7 @@ "mixin-deep": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", - "integrity": "sha1-ESC0PcNZp4Xc5ltVuC4lfM9HlWY=", + "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", "dev": true, "requires": { "for-in": "^1.0.2", @@ -5690,7 +8072,7 @@ "is-extendable": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha1-p0cPnkJnM9gb2B4RVSZOOjUHyrQ=", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", "dev": true, "requires": { "is-plain-object": "^2.0.4" @@ -5745,17 +8127,10 @@ "integrity": "sha1-FjDEKyJR/4HiooPelqVJfqkuXg0=", "dev": true }, - "nan": { - "version": "2.14.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz", - "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==", - "dev": true, - "optional": true - }, "nanomatch": { "version": "1.2.13", "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", - "integrity": "sha1-uHqKpPwN6P5r6IiVs4mD/yZb0Rk=", + "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", "dev": true, "requires": { "arr-diff": "^4.0.0", @@ -5777,16 +8152,10 @@ "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", "dev": true }, - "neo-async": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.1.tgz", - "integrity": "sha1-rCetpmFn+ohJpq3dg39rGJrSCBw=", - "dev": true - }, "nice-try": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", - "integrity": "sha1-ozeKdpbOfSI+iPybdkvX7xCJ42Y=", + "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", "dev": true }, "node-int64": { @@ -5801,23 +8170,27 @@ "integrity": "sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA=", "dev": true }, - "node-notifier": { - "version": "5.4.3", - "resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-5.4.3.tgz", - "integrity": "sha1-y3La+UyTkECY4oucWQ/YZuRkvVA=", + "node-releases": { + "version": "1.1.49", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.49.tgz", + "integrity": "sha512-xH8t0LS0disN0mtRCh+eByxFPie+msJUBL/lJDBuap53QGiYPa9joh83K4pCZgWJ+2L4b9h88vCVdXQ60NO2bg==", "dev": true, "requires": { - "growly": "^1.3.0", - "is-wsl": "^1.1.0", - "semver": "^5.5.0", - "shellwords": "^0.1.1", - "which": "^1.3.0" + "semver": "^6.3.0" + }, + "dependencies": { + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + } } }, "normalize-package-data": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha1-5m2xg4sgDB38IzIl0SyzZSDiNKg=", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", "dev": true, "requires": { "hosted-git-info": "^2.1.4", @@ -5847,7 +8220,7 @@ "nth-check": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz", - "integrity": "sha1-sr0pXDfj3VijvwcAN2Zjuk2c8Fw=", + "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==", "dev": true, "requires": { "boolbase": "~1.0.0" @@ -5862,20 +8235,20 @@ "nwmatcher": { "version": "1.4.4", "resolved": "https://registry.npmjs.org/nwmatcher/-/nwmatcher-1.4.4.tgz", - "integrity": "sha1-IoVjHzSpXw0Dlc2QDJbtObWPNG4=", + "integrity": "sha512-3iuY4N5dhgMpCUrOVnuAdGrgxVqV2cJpM+XNccjR2DKOB1RUP0aA+wGXEiNziG/UKboFyGBIoKOaNlJxx8bciQ==", "dev": true, "optional": true }, "nwsapi": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.0.tgz", - "integrity": "sha1-IEh5qePQaP8qVROcLHcngGgaOLc=", + "integrity": "sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ==", "dev": true }, "oauth-sign": { "version": "0.9.0", "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", - "integrity": "sha1-R6ewFrqmi1+g7PPe4IqFxnmsZFU=", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", "dev": true }, "object-copy": { @@ -5912,13 +8285,13 @@ "object-inspect": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz", - "integrity": "sha1-9Pa9GBrXfwBrXs5gvQtvOY/3Smc=", + "integrity": "sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw==", "dev": true }, "object-keys": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha1-HEfyct8nfzsdrwYWd9nILiMixg4=", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", "dev": true }, "object-visit": { @@ -5933,7 +8306,7 @@ "object.assign": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz", - "integrity": "sha1-lovxEA15Vrs8oIbwBvhGs7xACNo=", + "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==", "dev": true, "requires": { "define-properties": "^1.1.2", @@ -5957,7 +8330,7 @@ "object.getownpropertydescriptors": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.0.tgz", - "integrity": "sha1-Npvx+VktiridcS3O1cuBx8U1Jkk=", + "integrity": "sha512-Z53Oah9A3TdLoblT7VKJaTDdXdT+lQO+cNpKVnya5JDe9uLvzu1YyY1yFDFrcxrlRgWrEFH0jJtD/IbuwjcEVg==", "dev": true, "requires": { "define-properties": "^1.1.3", @@ -6003,28 +8376,10 @@ "mimic-fn": "^2.1.0" } }, - "optimist": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz", - "integrity": "sha1-2j6nRob6IaGaERwybpDrFaAZZoY=", - "dev": true, - "requires": { - "minimist": "~0.0.1", - "wordwrap": "~0.0.2" - }, - "dependencies": { - "minimist": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz", - "integrity": "sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=", - "dev": true - } - } - }, "optionator": { "version": "0.8.3", "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", - "integrity": "sha1-hPodA2/p08fiHZmIS2ARZ+yPtJU=", + "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", "dev": true, "requires": { "deep-is": "~0.1.3", @@ -6041,15 +8396,6 @@ "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", "dev": true }, - "p-each-series": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-each-series/-/p-each-series-1.0.0.tgz", - "integrity": "sha1-kw89Et0fUOdDRFeiLNbwSsatf3E=", - "dev": true, - "requires": { - "p-reduce": "^1.0.0" - } - }, "p-finally": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", @@ -6059,31 +8405,16 @@ "p-limit": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.1.tgz", - "integrity": "sha1-qgeniMwxUck5tRMfY1cPDdIAlTc=", + "integrity": "sha512-85Tk+90UCVWvbDavCLKPOLC9vvY8OwEX/RtKF+/1OADJMVlFfEHOiMTPVyxg7mk/dKa+ipdHm0OUkTvCpMTuwg==", "dev": true, "requires": { "p-try": "^2.0.0" } }, - "p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha1-Mi1poFwCZLJZl9n0DNiokasAZKQ=", - "dev": true, - "requires": { - "p-limit": "^2.0.0" - } - }, - "p-reduce": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-reduce/-/p-reduce-1.0.0.tgz", - "integrity": "sha1-GMKw3ZNqRpClKfgjH1ig/bakffo=", - "dev": true - }, "p-try": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha1-yyhoVA4xPWHeWPr741zpAE1VQOY=", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", "dev": true }, "parent-module": { @@ -6095,16 +8426,6 @@ "callsites": "^3.0.0" } }, - "parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", - "dev": true, - "requires": { - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" - } - }, "parse5": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/parse5/-/parse5-3.0.3.tgz", @@ -6141,17 +8462,8 @@ "path-parse": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", - "integrity": "sha1-1i27VnlAXXLEc37FhgDp3c8G0kw=", - "dev": true - }, - "path-type": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", - "integrity": "sha1-zvMdyOCho7sNEFwM2Xzzv0f0428=", - "dev": true, - "requires": { - "pify": "^3.0.0" - } + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", + "dev": true }, "performance-now": { "version": "2.1.0", @@ -6159,34 +8471,25 @@ "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", "dev": true }, - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "picomatch": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.1.tgz", + "integrity": "sha512-ISBaA8xQNmwELC7eOjqFKMESB2VIqt4PPDD0nsS95b/9dZXvVKOlz9keMSnoGGKcOHXfTvDD6WMaRoSc9UuhRA==", "dev": true }, "pirates": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.1.tgz", - "integrity": "sha1-ZDqSyviUVm+RsrmG0sZpUKji+4c=", + "integrity": "sha512-WuNqLTbMI3tmfef2TKxlQmAiLHKtFhlsCZnPIpuv2Ow0RDVO8lfy1Opf4NUzlMXLjPl+Men7AuVdX6TA+s+uGA==", "dev": true, "requires": { "node-modules-regexp": "^1.0.0" } }, - "pkg-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", - "integrity": "sha1-J0kCDyOe2ZCIGx9xIQ1R62UjvqM=", - "dev": true, - "requires": { - "find-up": "^3.0.0" - } - }, "pn": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/pn/-/pn-1.1.0.tgz", - "integrity": "sha1-4vTO8OIZ9GPBeas3Rj5OHs3Muvs=", + "integrity": "sha512-2qHaIQr2VLRFoxe2nASzsV6ef4yOOH+Fi9FBOVH6cqeSgUnoyySPZkxzLuzd+RYOQTRpROA0ztTMqxROKSb/nA==", "dev": true }, "posix-character-classes": { @@ -6201,34 +8504,11 @@ "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", "dev": true }, - "pretty-format": { - "version": "24.9.0", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-24.9.0.tgz", - "integrity": "sha1-EvrDGzcBmk7qPBGqmpWet2KKp8k=", - "dev": true, - "requires": { - "@jest/types": "^24.9.0", - "ansi-regex": "^4.0.0", - "ansi-styles": "^3.2.0", - "react-is": "^16.8.4" - }, - "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha1-i5+PCM8ay4Q3Vqg5yox+MWjFGZc=", - "dev": true - }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - } - } + "private": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", + "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==", + "dev": true }, "progress": { "version": "2.0.3", @@ -6239,7 +8519,7 @@ "prompts": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.3.0.tgz", - "integrity": "sha1-pETpaPpMx+hmiadAUGhayABsTMQ=", + "integrity": "sha512-NfbbPPg/74fT7wk2XYQ7hAIp9zJyZp5Fu19iRbORqqy1BhtrkZ0fPafBU+7bmn8ie69DpT0R6QpJIN2oisYjJg==", "dev": true, "requires": { "kleur": "^3.0.3", @@ -6255,7 +8535,7 @@ "pump": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha1-tKIRaBW94vTh6mAjVOjHVWUQemQ=", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", "dev": true, "requires": { "end-of-stream": "^1.1.0", @@ -6265,46 +8545,25 @@ "punycode": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha1-tYsBCsQMIsVldhbI0sLALHv0eew=", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", "dev": true }, "qs": { "version": "6.5.2", "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", - "integrity": "sha1-yzroBuh0BERYTvFUzo7pjUA/PjY=", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", "dev": true }, "react-is": { "version": "16.12.0", "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.12.0.tgz", - "integrity": "sha1-LMD+D7p0LZf9UnxCoTvsTusGJBw=", + "integrity": "sha512-rPCkf/mWBtKc97aLL9/txD8DZdemK0vkA3JMLShjlJB3Pj3s+lpf1KaBzMfQrAmhMQB0n1cU/SUGgKKBCe837Q==", "dev": true }, - "read-pkg": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", - "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", - "dev": true, - "requires": { - "load-json-file": "^4.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^3.0.0" - } - }, - "read-pkg-up": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-4.0.0.tgz", - "integrity": "sha1-GyIcYIi6d5lgHICPkRYcZuWPiXg=", - "dev": true, - "requires": { - "find-up": "^3.0.0", - "read-pkg": "^3.0.0" - } - }, "readable-stream": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.4.0.tgz", - "integrity": "sha1-pRwmdUZY4KPCHb9ZFjvUW6b0R/w=", + "integrity": "sha512-jItXPLmrSR8jmTRmRWJXCnGJsfy85mB3Wd/uINMXA65yrnFo0cPClFIUWzo2najVNSl+mx7/4W8ttlLWJe99pQ==", "dev": true, "requires": { "inherits": "^2.0.3", @@ -6315,22 +8574,37 @@ "realpath-native": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/realpath-native/-/realpath-native-1.1.0.tgz", - "integrity": "sha1-IAMpT+oj+wZy8kduviL89Jii1lw=", + "integrity": "sha512-wlgPA6cCIIg9gKz0fgAPjnzh4yR/LnXovwuo9hvyGvx3h8nX4+/iLZplfUWasXpqD8BdnGnP5njOFjkUwPzvjA==", "dev": true, "requires": { "util.promisify": "^1.0.0" } }, + "regenerate": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz", + "integrity": "sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg==", + "dev": true + }, + "regenerate-unicode-properties": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-8.1.0.tgz", + "integrity": "sha512-LGZzkgtLY79GeXLm8Dp0BVLdQlWICzBnJz/ipWUgo59qBaZ+BHtq51P2q1uVZlppMuUAT37SDk39qUbjTWB7bA==", + "dev": true, + "requires": { + "regenerate": "^1.4.0" + } + }, "regenerator-runtime": { - "version": "0.11.1", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", - "integrity": "sha1-vgWtf5v30i4Fb5cmzuUBf78Z4uk=", + "version": "0.13.3", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz", + "integrity": "sha512-naKIZz2GQ8JWh///G7L3X6LaQUAMp2lvb1rvwwsURe/VXwD6VMfr+/1NuNw3ag8v2kY1aQ/go5SNn79O9JU7yw==", "dev": true }, "regex-not": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", - "integrity": "sha1-H07OJ+ALC2XgJHpoEOaoXYOldSw=", + "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", "dev": true, "requires": { "extend-shallow": "^3.0.2", @@ -6352,7 +8626,7 @@ "repeat-element": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz", - "integrity": "sha1-eC4NglwMWjuzlzH4Tv7mt0Lmsc4=", + "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==", "dev": true }, "repeat-string": { @@ -6373,7 +8647,7 @@ "request": { "version": "2.88.0", "resolved": "https://registry.npmjs.org/request/-/request-2.88.0.tgz", - "integrity": "sha1-nC/KT301tZLv5Xx/ClXoEFIST+8=", + "integrity": "sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==", "dev": true, "requires": { "aws-sign2": "~0.7.0", @@ -6407,7 +8681,7 @@ "tough-cookie": { "version": "2.4.3", "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz", - "integrity": "sha1-U/Nto/R3g7CSWvoG/587FlKA94E=", + "integrity": "sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==", "dev": true, "requires": { "psl": "^1.1.24", @@ -6419,7 +8693,7 @@ "request-promise-core": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.3.tgz", - "integrity": "sha1-6aPAgbUTgN/qZ3M2Bh/qh5qCnuk=", + "integrity": "sha512-QIs2+ArIGQVp5ZYbWD5ZLCY29D5CfWizP8eWnm8FoGD1TX61veauETVQbrV60662V0oFBkrDOuaBI8XgtuyYAQ==", "dev": true, "requires": { "lodash": "^4.17.15" @@ -6428,7 +8702,7 @@ "request-promise-native": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.8.tgz", - "integrity": "sha1-pFW5YLgm5E4r+Jma9k3/K/5YyzY=", + "integrity": "sha512-dapwLGqkHtwL5AEbfenuzjTYg35Jd6KPytsC2/TLkVMz8rm+tNt72MGUWT1RP/aYawMpN6HqbNGBQaRcBtjQMQ==", "dev": true, "requires": { "request-promise-core": "1.1.3", @@ -6445,7 +8719,7 @@ "require-main-filename": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", - "integrity": "sha1-0LMp7MfMD2Fkn2IhW+aa9UqomJs=", + "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", "dev": true }, "resolve": { @@ -6457,21 +8731,6 @@ "path-parse": "^1.0.6" } }, - "resolve-cwd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz", - "integrity": "sha1-AKn3OHVW4nA46uIyyqNypqWbZlo=", - "dev": true, - "requires": { - "resolve-from": "^3.0.0" - } - }, - "resolve-from": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", - "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=", - "dev": true - }, "resolve-url": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", @@ -6491,22 +8750,13 @@ "ret": { "version": "0.1.15", "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", - "integrity": "sha1-uKSCXVvbH8P29Twrwz+BOIaBx7w=", + "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", "dev": true }, - "rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha1-NXl/E6f9rcVmFCwp1PB8ytSD4+w=", - "dev": true, - "requires": { - "glob": "^7.1.3" - } - }, "rsvp": { "version": "4.8.5", "resolved": "https://registry.npmjs.org/rsvp/-/rsvp-4.8.5.tgz", - "integrity": "sha1-yPFVMR0Wf2jyHhaN9x7FsIMRNzQ=", + "integrity": "sha512-nfMOlASu9OnRJo1mbEk2cz0D56a1MBNrJ7orjRZQG10XDyuvwksKbuXNp6qa+kbn839HwjwhBzhFmdsaEAfauA==", "dev": true }, "run-async": { @@ -6545,13 +8795,13 @@ "safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha1-RPoWGwGHuVSd2Eu5GAL5vYOFzWo=", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "dev": true }, "sane": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/sane/-/sane-4.1.0.tgz", - "integrity": "sha1-7Ygf2SJzOmxGG8GJ3CtsAG8//e0=", + "integrity": "sha512-hhbzAgTIX8O7SHfp2c8/kREfEn4qO/9q8C9beyY6+tvZ87EpoZ3i1RIEvp27YBswnNbY9mWd6paKVmKbAgLfZA==", "dev": true, "requires": { "@cnakazawa/watch": "^1.0.3", @@ -6568,13 +8818,23 @@ "sax": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", - "integrity": "sha1-KBYjTiN4vdxOU1T6tcqold9xANk=", - "dev": true + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", + "dev": true, + "optional": true + }, + "saxes": { + "version": "3.1.11", + "resolved": "https://registry.npmjs.org/saxes/-/saxes-3.1.11.tgz", + "integrity": "sha512-Ydydq3zC+WYDJK1+gRxRapLIED9PWeSuuS41wqyoRmzvhhh9nc+QQrVMKJYzJFULazeGhzSV0QleN2wD3boh2g==", + "dev": true, + "requires": { + "xmlchars": "^2.1.1" + } }, "semver": { "version": "5.7.1", "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha1-qVT5Ma66UI0we78Gnv8MAclhFvc=", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", "dev": true }, "set-blocking": { @@ -6586,7 +8846,7 @@ "set-value": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", - "integrity": "sha1-oY1AUw5vB95CKMfe/kInr4ytAFs=", + "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", "dev": true, "requires": { "extend-shallow": "^2.0.1", @@ -6624,8 +8884,9 @@ "shellwords": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/shellwords/-/shellwords-0.1.1.tgz", - "integrity": "sha1-1rkYHBpI05cyTISHHvvPxz/AZUs=", - "dev": true + "integrity": "sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==", + "dev": true, + "optional": true }, "signal-exit": { "version": "3.0.2", @@ -6636,13 +8897,7 @@ "sisteransi": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.4.tgz", - "integrity": "sha1-OGcT8e9ojHwDBNxMBjKJiUHK0uM=", - "dev": true - }, - "slash": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz", - "integrity": "sha1-3lUoUaF1nfOo8gZTVEL17E3eq0Q=", + "integrity": "sha512-/ekMoM4NJ59ivGSfKapeG+FWtrmWvA1p6FBZwXrqojw90vJu8lBmrTxCMuBCydKtkaUe2zt4PlxeTKpjwMbyig==", "dev": true }, "slice-ansi": { @@ -6670,7 +8925,7 @@ "snapdragon": { "version": "0.8.2", "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", - "integrity": "sha1-ZJIufFZbDhQgS6GqfWlkJ40lGC0=", + "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", "dev": true, "requires": { "base": "^0.11.1", @@ -6706,7 +8961,7 @@ "snapdragon-node": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", - "integrity": "sha1-bBdfhv8UvbByRWPo88GwIaKGhTs=", + "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", "dev": true, "requires": { "define-property": "^1.0.0", @@ -6726,7 +8981,7 @@ "is-accessor-descriptor": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha1-FpwvbT3x+ZJhgHI2XJsOofaHhlY=", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "dev": true, "requires": { "kind-of": "^6.0.0" @@ -6735,7 +8990,7 @@ "is-data-descriptor": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha1-2Eh2Mh0Oet0DmQQGq7u9NrqSaMc=", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", "dev": true, "requires": { "kind-of": "^6.0.0" @@ -6744,7 +8999,7 @@ "is-descriptor": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha1-OxWXRqZmBLBPjIFSS6NlxfFNhuw=", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", "dev": true, "requires": { "is-accessor-descriptor": "^1.0.0", @@ -6757,7 +9012,7 @@ "snapdragon-util": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", - "integrity": "sha1-+VZHlIbyrNeXAGk/b3uAXkWrVuI=", + "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", "dev": true, "requires": { "kind-of": "^3.2.0" @@ -6796,7 +9051,7 @@ "source-map-support": { "version": "0.5.16", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.16.tgz", - "integrity": "sha1-CuBp5/47p1OMZMmFFeNTOerFoEI=", + "integrity": "sha512-efyLRJDr68D9hBBNIPWFjhpFzURh+KJykQwvMyW5UiZzYwoF6l4YMMDIJJEyFWxWCqfyxLzz6tSfUFR+kXXsVQ==", "dev": true, "requires": { "buffer-from": "^1.0.0", @@ -6820,7 +9075,7 @@ "spdx-correct": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz", - "integrity": "sha1-+4PlBERSaPFUsHTiGMh8ADzTHfQ=", + "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==", "dev": true, "requires": { "spdx-expression-parse": "^3.0.0", @@ -6830,13 +9085,13 @@ "spdx-exceptions": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz", - "integrity": "sha1-LqRQrudPKom/uUUZwH/Nb0EyKXc=", + "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA==", "dev": true }, "spdx-expression-parse": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", - "integrity": "sha1-meEZt6XaAOBUkcn6M4t5BII7QdA=", + "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", "dev": true, "requires": { "spdx-exceptions": "^2.1.0", @@ -6846,13 +9101,13 @@ "spdx-license-ids": { "version": "3.0.5", "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz", - "integrity": "sha1-NpS1gEVnpFjTyARYQqY1hjL2JlQ=", + "integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==", "dev": true }, "split-string": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", - "integrity": "sha1-fLCd2jqGWFcFxks5pkZgOGguj+I=", + "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", "dev": true, "requires": { "extend-shallow": "^3.0.0" @@ -6867,7 +9122,7 @@ "sshpk": { "version": "1.16.1", "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", - "integrity": "sha1-+2YcC+8ps520B2nuOfpwCT1vaHc=", + "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", "dev": true, "requires": { "asn1": "~0.2.3", @@ -6884,7 +9139,7 @@ "stack-utils": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-1.0.2.tgz", - "integrity": "sha1-M+ujiXeIVYvr/C2wWdwVjsNs67g=", + "integrity": "sha512-MTX+MeG5U994cazkjd/9KNAapsHnibjMLnfXodlkXw76JEea0UiNzrqidzo1emMwk7w5Qhc9jd4Bn9TBb1MFwA==", "dev": true }, "static-extend": { @@ -6914,37 +9169,10 @@ "integrity": "sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=", "dev": true }, - "string-length": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/string-length/-/string-length-2.0.0.tgz", - "integrity": "sha1-1A27aGo6zpYMHP/KVivyxF+DY+0=", - "dev": true, - "requires": { - "astral-regex": "^1.0.0", - "strip-ansi": "^4.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "dev": true - }, - "strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "dev": true, - "requires": { - "ansi-regex": "^3.0.0" - } - } - } - }, "string-width": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", - "integrity": "sha1-InZ74htirxCBV0MG9prFG2IgOWE=", + "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", "dev": true, "requires": { "emoji-regex": "^7.0.1", @@ -6992,7 +9220,7 @@ "string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha1-QvEUWUpGzxqOMLCoT1bHjD7awh4=", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", "dev": true, "requires": { "safe-buffer": "~5.2.0" @@ -7019,6 +9247,12 @@ "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", "dev": true }, + "strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "dev": true + }, "strip-json-comments": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.0.1.tgz", @@ -7031,10 +9265,37 @@ "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", "dev": true }, + "supports-hyperlinks": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.1.0.tgz", + "integrity": "sha512-zoE5/e+dnEijk6ASB6/qrK+oYdm2do1hjoLWrqUC/8WEIW1gbxFcKuBof7sW8ArN6e+AYvsE8HBGiVRWL/F5CA==", + "dev": true, + "requires": { + "has-flag": "^4.0.0", + "supports-color": "^7.0.0" + }, + "dependencies": { + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "supports-color": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", + "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, "symbol-tree": { "version": "3.2.4", "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", - "integrity": "sha1-QwY30ki6d+B4iDlR+5qg7tfGP6I=", + "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==", "dev": true }, "table": { @@ -7055,16 +9316,25 @@ "integrity": "sha1-KtNxaWKUmPylvIQkMJbTzeDsOjQ=", "dev": true }, - "test-exclude": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-5.2.3.tgz", - "integrity": "sha1-w9Ph4xHrfuQF4JLawQrv0JCR6sA=", + "terminal-link": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/terminal-link/-/terminal-link-2.1.1.tgz", + "integrity": "sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==", "dev": true, "requires": { - "glob": "^7.1.3", - "minimatch": "^3.0.4", - "read-pkg-up": "^4.0.0", - "require-main-filename": "^2.0.0" + "ansi-escapes": "^4.2.1", + "supports-hyperlinks": "^2.0.0" + }, + "dependencies": { + "ansi-escapes": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.0.tgz", + "integrity": "sha512-EiYhwo0v255HUL6eDyuLrXEkTi7WwVCLAw+SeOQ7M7qdun1z1pum4DEm/nuqIVbPvi9RPPc9k9LbyBv6H0DwVg==", + "dev": true, + "requires": { + "type-fest": "^0.8.1" + } + } } }, "text-table": { @@ -7073,12 +9343,6 @@ "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", "dev": true }, - "throat": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/throat/-/throat-4.1.0.tgz", - "integrity": "sha1-iQN8vJLFarGJJua6TLsgDhVnKmo=", - "dev": true - }, "through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", @@ -7129,7 +9393,7 @@ "to-regex": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", - "integrity": "sha1-E8/dmzNlUvMLUfM6iuG0Knp1mc4=", + "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", "dev": true, "requires": { "define-property": "^2.0.2", @@ -7151,7 +9415,7 @@ "tough-cookie": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", - "integrity": "sha1-zZ+yoKodWhK0c72fuW+j3P9lreI=", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", "dev": true, "requires": { "psl": "^1.1.28", @@ -7210,36 +9474,59 @@ "prelude-ls": "~1.1.2" } }, + "type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true + }, "type-fest": { "version": "0.8.1", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", "integrity": "sha1-CeJJ696FHTseSNJ8EFREZn8XuD0=", "dev": true }, - "uglify-js": { - "version": "3.7.3", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.7.3.tgz", - "integrity": "sha1-+Rj86RgvRm1RQPJLsP81wtMtzGo=", + "typedarray-to-buffer": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", + "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", "dev": true, - "optional": true, "requires": { - "commander": "~2.20.3", - "source-map": "~0.6.1" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha1-dHIq8y6WFOnCh6jQu95IteLxomM=", - "dev": true, - "optional": true - } + "is-typedarray": "^1.0.0" + } + }, + "unicode-canonical-property-names-ecmascript": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz", + "integrity": "sha512-jDrNnXWHd4oHiTZnx/ZG7gtUTVp+gCcTTKr8L0HjlwphROEW3+Him+IpvC+xcJEFegapiMZyZe02CyuOnRmbnQ==", + "dev": true + }, + "unicode-match-property-ecmascript": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.4.tgz", + "integrity": "sha512-L4Qoh15vTfntsn4P1zqnHulG0LdXgjSO035fEpdtp6YxXhMT51Q6vgM5lYdG/5X3MjS+k/Y9Xw4SFCY9IkR0rg==", + "dev": true, + "requires": { + "unicode-canonical-property-names-ecmascript": "^1.0.4", + "unicode-property-aliases-ecmascript": "^1.0.4" } }, + "unicode-match-property-value-ecmascript": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.1.0.tgz", + "integrity": "sha512-hDTHvaBk3RmFzvSl0UVrUmC3PuW9wKVnpoUDYH0JDkSIovzw+J5viQmeYHxVSBptubnr7PbH2e0fnpDRQnQl5g==", + "dev": true + }, + "unicode-property-aliases-ecmascript": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.5.tgz", + "integrity": "sha512-L5RAqCfXqAwR3RriF8pM0lU0w4Ryf/GgzONwi6KnL1taJQa7x1TCxdJnILX59WIGOwR57IVxn7Nej0fz1Ny6fw==", + "dev": true + }, "union-value": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", - "integrity": "sha1-C2/nuDWuzaYcbqTU8CwUIh4QmEc=", + "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", "dev": true, "requires": { "arr-union": "^3.1.0", @@ -7251,7 +9538,7 @@ "universalify": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha1-tkb2m+OULavOzJ1mOcgNwQXvqmY=", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", "dev": true }, "unset-value": { @@ -7303,7 +9590,7 @@ "uri-js": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", - "integrity": "sha1-lMVA4f93KVbiKZUHwBCupsiDjrA=", + "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", "dev": true, "requires": { "punycode": "^2.1.0" @@ -7318,7 +9605,7 @@ "use": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", - "integrity": "sha1-1QyMrHmhn7wg8pEfVuuXP04QBw8=", + "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", "dev": true }, "util-deprecate": { @@ -7330,7 +9617,7 @@ "util.promisify": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.0.tgz", - "integrity": "sha1-RA9xZaRZyaFtwUXrjnLzVocJcDA=", + "integrity": "sha512-i+6qA2MPhvoKLuxnJNpXAGhg7HphQOSUq2LKMZD0m15EiskXUkMvKdF4Uui0WYeCUGea+o2cw/ZuwehtfsrNkA==", "dev": true, "requires": { "define-properties": "^1.1.2", @@ -7340,7 +9627,7 @@ "uuid": { "version": "3.3.3", "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.3.tgz", - "integrity": "sha1-RWjwIW54dg7h2/Ok0s9T4iQRKGY=", + "integrity": "sha512-pW0No1RGHgzlpHJO1nsVrHKpOEIxkGg1xB+v0ZmdNH5OAeAwzAVrCnI2/6Mtx+Uys6iaylxa+D3g4j63IKKjSQ==", "dev": true }, "v8-compile-cache": { @@ -7349,10 +9636,29 @@ "integrity": "sha1-4U3jezGm0ZT1aQ1n78Tn9vxqsw4=", "dev": true }, + "v8-to-istanbul": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-4.1.2.tgz", + "integrity": "sha512-G9R+Hpw0ITAmPSr47lSlc5A1uekSYzXxTMlFxso2xoffwo4jQnzbv1p9yXIinO8UMZKfAFewaCHwWvnH4Jb4Ug==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "^2.0.1", + "convert-source-map": "^1.6.0", + "source-map": "^0.7.3" + }, + "dependencies": { + "source-map": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", + "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", + "dev": true + } + } + }, "validate-npm-package-license": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", - "integrity": "sha1-/JH2uce6FchX9MssXe/uw51PQQo=", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", "dev": true, "requires": { "spdx-correct": "^3.0.0", @@ -7379,6 +9685,31 @@ "browser-process-hrtime": "^0.1.2" } }, + "w3c-xmlserializer": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-1.1.2.tgz", + "integrity": "sha512-p10l/ayESzrBMYWRID6xbuCKh2Fp77+sA0doRuGn4tTIMrrZVeqfpKjXHY+oDh3K4nLdPgNwMTVP6Vp4pvqbNg==", + "dev": true, + "requires": { + "domexception": "^1.0.1", + "webidl-conversions": "^4.0.2", + "xml-name-validator": "^3.0.0" + }, + "dependencies": { + "webidl-conversions": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", + "integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==", + "dev": true + }, + "xml-name-validator": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz", + "integrity": "sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==", + "dev": true + } + } + }, "walker": { "version": "1.0.7", "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.7.tgz", @@ -7398,7 +9729,7 @@ "whatwg-encoding": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz", - "integrity": "sha1-WrrPd3wyFmpR0IXWtPPn0nET3bA=", + "integrity": "sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==", "dev": true, "requires": { "iconv-lite": "0.4.24" @@ -7407,37 +9738,9 @@ "whatwg-mimetype": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz", - "integrity": "sha1-PUseAxLSB5h5+Cav8Y2+7KWWD78=", + "integrity": "sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==", "dev": true }, - "whatwg-url": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-6.5.0.tgz", - "integrity": "sha1-8t8Cv/F2/WUHDfdK1cy7WhmZZag=", - "dev": true, - "requires": { - "lodash.sortby": "^4.7.0", - "tr46": "^1.0.1", - "webidl-conversions": "^4.0.2" - }, - "dependencies": { - "tr46": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz", - "integrity": "sha1-qLE/1r/SSJUZZ0zN5VujaTtwbQk=", - "dev": true, - "requires": { - "punycode": "^2.1.0" - } - }, - "webidl-conversions": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", - "integrity": "sha1-qFWYCx8LazWbodXZ+zmulB+qY60=", - "dev": true - } - } - }, "whatwg-url-compat": { "version": "0.6.5", "resolved": "https://registry.npmjs.org/whatwg-url-compat/-/whatwg-url-compat-0.6.5.tgz", @@ -7451,7 +9754,7 @@ "which": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha1-pFBD1U9YBTFtqNYvn1CRjT2nCwo=", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", "dev": true, "requires": { "isexe": "^2.0.0" @@ -7466,52 +9769,9 @@ "word-wrap": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha1-YQY29rH3A4kb00dxzLF/uTtHB5w=", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", "dev": true }, - "wordwrap": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz", - "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=", - "dev": true - }, - "wrap-ansi": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz", - "integrity": "sha1-H9H2cjXVttD+54EFYAG/tpTAOwk=", - "dev": true, - "requires": { - "ansi-styles": "^3.2.0", - "string-width": "^3.0.0", - "strip-ansi": "^5.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha1-i5+PCM8ay4Q3Vqg5yox+MWjFGZc=", - "dev": true - }, - "ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=", - "dev": true, - "requires": { - "color-convert": "^1.9.0" - } - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha1-jJpTb+tq/JYr36WxBKUJHBrZwK4=", - "dev": true, - "requires": { - "ansi-regex": "^4.1.0" - } - } - } - }, "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -7527,26 +9787,6 @@ "mkdirp": "^0.5.1" } }, - "write-file-atomic": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.1.tgz", - "integrity": "sha1-0LBUY8GIroBDlv1asqNwBir4dSk=", - "dev": true, - "requires": { - "graceful-fs": "^4.1.11", - "imurmurhash": "^0.1.4", - "signal-exit": "^3.0.2" - } - }, - "ws": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.2.tgz", - "integrity": "sha1-3/7xSGa46NyRM1glFNG++vlumA8=", - "dev": true, - "requires": { - "async-limiter": "~1.0.0" - } - }, "xml-name-validator": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-2.0.1.tgz", @@ -7554,39 +9794,17 @@ "dev": true, "optional": true }, + "xmlchars": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz", + "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==", + "dev": true + }, "y18n": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz", - "integrity": "sha1-le+U+F7MgdAHwmThkKEg8KPIVms=", + "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==", "dev": true - }, - "yargs": { - "version": "13.3.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.0.tgz", - "integrity": "sha1-TGV6VeB+Xyz5R/ijZlZ8BKDe3IM=", - "dev": true, - "requires": { - "cliui": "^5.0.0", - "find-up": "^3.0.0", - "get-caller-file": "^2.0.1", - "require-directory": "^2.1.1", - "require-main-filename": "^2.0.0", - "set-blocking": "^2.0.0", - "string-width": "^3.0.0", - "which-module": "^2.0.0", - "y18n": "^4.0.0", - "yargs-parser": "^13.1.1" - } - }, - "yargs-parser": { - "version": "13.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.1.tgz", - "integrity": "sha1-0mBYUyqgbTZf4JH2ofwGsvfl7KA=", - "dev": true, - "requires": { - "camelcase": "^5.0.0", - "decamelize": "^1.2.0" - } } } } diff --git a/package.json b/package.json index 82bc952..d8ff477 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,8 @@ { "name": "@drewsonne/maya-dates", - "version": "1.0.9", + "version": "1.0.10", "description": "Node.js package to represent dates in the Maya Calendar", "main": "src/index.js", - "scripts": { - "test": "jest" - }, "repository": { "type": "git", "url": "git+ssh://git@github.com/drewsonne/maya-dates.git" @@ -15,12 +12,9 @@ "maya", "maya-calendar" ], - "author": "Drew J. Sonne", + "author": "Drew J. Sonne ", "license": "GPL-3.0", - "bugs": { - "url": "https://github.com/drewsonne/maya-dates/issues" - }, - "homepage": "https://github.com/drewsonne/maya-dates#readme", + "private": false, "devDependencies": { "esdoc": "1.1.0", "esdoc-standard-plugin": "1.0.0", @@ -28,14 +22,27 @@ "eslint-config-airbnb-base": "^14.0.0", "eslint-plugin-import": "^2.19.1", "eslint-plugin-jest": "^23.3.0", - "jest": "^24.9.0" + "jest-cli": "^25.1.0", + "regenerator-runtime": "^0.13.3", + "@babel/preset-env": "^7.8.4" + }, + "scripts": { + "test": "jest" }, "jest": { - "testEnvironment": "node" + "testEnvironment": "node", + "transform": { + "^.+\\.[t|j]sx?$": "babel-jest" + } }, "dependencies": { "moonbeams": "^2.0.2", "moment-timezone": "^0.5.26", "moment": "^2.24.0" - } + }, + "bugs": { + "url": "https://github.com/drewsonne/maya-dates/issues" + }, + "homepage": "https://github.com/drewsonne/maya-dates#readme", + "preset": "react-native" } diff --git a/src/cr/calendar-round.js b/src/cr/calendar-round.js index 1324c7f..aea0bf9 100644 --- a/src/cr/calendar-round.js +++ b/src/cr/calendar-round.js @@ -1,11 +1,7 @@ -/** @ignore */ -const tzolkin = require('../cr/tzolkin') -/** @ignore */ -const haab = require('../cr/haab') -/** @ignore */ -const wildcard = require('../wildcard') -/** @ignore */ -const DistanceNumber = require('../lc/distance-number') +import tzolkin from './tzolkin'; +import haab from './haab'; +import wildcard from '../wildcard'; +import DistanceNumber from '../lc/distance-number'; /** @ignore */ const singleton = {} @@ -205,4 +201,7 @@ const origin = getCalendarRound( 8, 'Kumk\'u', ) -module.exports = {getCalendarRound, origin} +export default { + getCalendarRound, + origin +}; diff --git a/src/cr/haab-month.js b/src/cr/haab-month.js index 21cf627..1d5f6a2 100644 --- a/src/cr/haab-month.js +++ b/src/cr/haab-month.js @@ -125,8 +125,7 @@ class HaabMonth { } } - -module.exports = { +export { HaabMonth, getHaabMonth, }; diff --git a/src/cr/haab.js b/src/cr/haab.js index 821c971..4046731 100644 --- a/src/cr/haab.js +++ b/src/cr/haab.js @@ -1,7 +1,5 @@ -/** @ignore */ -const wildcard = require('../wildcard'); -/** @ignore */ -const {getHaabMonth} = require('./haab-month'); +import wildcard from '../wildcard'; +import { getHaabMonth } from './haab-month'; /** @ignore */ const singleton = {}; @@ -174,7 +172,7 @@ class Haab { } } -module.exports = { +export default { getHaab, getHaabMonth }; diff --git a/src/cr/index.js b/src/cr/index.js index 2cde975..3e94199 100644 --- a/src/cr/index.js +++ b/src/cr/index.js @@ -1,14 +1,10 @@ -/** @ignore */ -const { origin, getCalendarRound } = require('./calendar-round'); -/** @ignore */ -const tzolkin = require('./tzolkin'); -/** @ignore */ -const haab = require('./haab'); +import cr from './calendar-round'; +import tzolkin from './tzolkin'; +import haab from './haab'; - -module.exports = { - getCalendarRound, +export default { + getCalendarRound: cr.getCalendarRound, + origin: cr.origin, tzolkin, haab, - origin }; diff --git a/src/cr/tzolkin-day.js b/src/cr/tzolkin-day.js index ccb6937..ee7af2e 100644 --- a/src/cr/tzolkin-day.js +++ b/src/cr/tzolkin-day.js @@ -34,7 +34,8 @@ const singleton = {}; * Return a comparable instance of a Tzolkin day. * @param {TzolkinDay|string} newDayName * @return {TzolkinDay} - */function getTzolkinDay(newDayName) { + */ +export default function getTzolkinDay(newDayName) { const dayName = (typeof newDayName === 'number') ? days[newDayName] : newDayName; if (singleton[dayName] === undefined) { // eslint-disable-next-line no-use-before-define @@ -123,5 +124,3 @@ class TzolkinDay { return this.name; } } - -module.exports = getTzolkinDay; diff --git a/src/cr/tzolkin.js b/src/cr/tzolkin.js index e27d9c6..88d745a 100644 --- a/src/cr/tzolkin.js +++ b/src/cr/tzolkin.js @@ -1,7 +1,5 @@ -/** @ignore */ -const wildcard = require('../wildcard'); -/** @ignore */ -const getTzolkinDay = require('./tzolkin-day'); +import wildcard from '../wildcard'; +import getTzolkinDay from './tzolkin-day'; /** @ignore */ const singleton = {}; @@ -173,8 +171,7 @@ class Tzolkin { } } - -module.exports = { +export default { getTzolkinDay, getTzolkin, }; diff --git a/src/factory/base.js b/src/factory/base.js index 8349af0..5d8e409 100644 --- a/src/factory/base.js +++ b/src/factory/base.js @@ -1,7 +1,7 @@ /** * An abstract class to handle the create of an object from a string */ -class Factory { +export default class Factory { /** * Define properties to be override by sub-classes */ @@ -41,5 +41,3 @@ class Factory { // return parts.includes('*') // } } - -module.exports = Factory; diff --git a/src/factory/calendar-round.js b/src/factory/calendar-round.js index b2e6da2..9265628 100644 --- a/src/factory/calendar-round.js +++ b/src/factory/calendar-round.js @@ -1,7 +1,5 @@ -/** @ignore */ -const Factory = require('./base'); -/** @ignore */ -const { getCalendarRound } = require('../cr/calendar-round'); +import Factory from './base'; +import cr from '../cr/calendar-round'; /** * A factory to create a CalendarRound object from a string @@ -9,7 +7,7 @@ const { getCalendarRound } = require('../cr/calendar-round'); * @example * let cr = new CalendarRoundFactory().parse("4 Ajaw 8 Kumk'u"); */ -class CalendarRoundFactory extends Factory { +export default class CalendarRoundFactory extends Factory { /** * Defines the pattern describing a Calendar Round */ @@ -32,11 +30,9 @@ class CalendarRoundFactory extends Factory { if (parts.length < 4) { return null; } - return getCalendarRound( + return cr.getCalendarRound( parts[0], parts[1], parts[2], parts[3] ); } } - -module.exports = CalendarRoundFactory; diff --git a/src/factory/full-date.js b/src/factory/full-date.js index 39555ff..751bff7 100644 --- a/src/factory/full-date.js +++ b/src/factory/full-date.js @@ -1,16 +1,13 @@ -/** @ignore */ -const CalendarRoundFactory = require('./calendar-round'); -/** @ignore */ -const LongCountFactory = require('./long-count'); -/** @ignore */ -const FullDate = require('../full-date'); +import CalendarRoundFactory from './calendar-round'; +import LongCountFactory from './long-count'; +import FullDate from '../full-date'; /** * Given a fullDate composed of a Long Count and a Calendar Round, create a * {FullDate} object. * @extends {Factory} */ -class FullDateFactory { +export default class FullDateFactory { /** * * @param {String} raw @@ -27,5 +24,3 @@ class FullDateFactory { ); } } - -module.exports = FullDateFactory; diff --git a/src/factory/index.js b/src/factory/index.js index b810264..11d82e8 100644 --- a/src/factory/index.js +++ b/src/factory/index.js @@ -1,11 +1,8 @@ -/** @ignore */ -const FullDateFactory = require('./full-date'); -/** @ignore */ -const CalendarRoundFactory = require('./calendar-round'); -/** @ignore */ -const LongCountFactory = require('./long-count'); +import FullDateFactory from './full-date'; +import CalendarRoundFactory from './calendar-round'; +import LongCountFactory from './long-count'; -module.exports = { +export default { CalendarRoundFactory, LongCountFactory, FullDateFactory diff --git a/src/factory/long-count.js b/src/factory/long-count.js index 295f127..60e84b5 100644 --- a/src/factory/long-count.js +++ b/src/factory/long-count.js @@ -1,9 +1,6 @@ -/** @ignore */ -const Factory = require('./base'); -/** @ignore */ -const LongCount = require('../lc/long-count'); -/** @ignore */ -const wildcard = require('../wildcard'); +import Factory from './base'; +import LongCount from '../lc/long-count'; +import wildcard from '../wildcard'; /** * A factory to create a LongCount object from a string @@ -13,7 +10,7 @@ const wildcard = require('../wildcard'); * @example * let cr = new LongCountFactory().parse("9.4.2.*.1"); */ -class LongCountFactory extends Factory { +export default class LongCountFactory extends Factory { /** * Given a string, parse it and create a Long Count * @param {string} raw - A string containing a Long Count @@ -39,5 +36,3 @@ class LongCountFactory extends Factory { ); } } - -module.exports = LongCountFactory; diff --git a/src/full-date.js b/src/full-date.js index b4befdd..2a4302f 100644 --- a/src/full-date.js +++ b/src/full-date.js @@ -1,7 +1,7 @@ /** * An encapsulation of a LongCount and Calendar Round which match each other. */ -class FullDate { +export default class FullDate { /** * @param {CalendarRound} cr * @param {LongCount} lc @@ -26,5 +26,3 @@ class FullDate { return `${this.cr} ${this.lc}`; } } - -module.exports = FullDate; diff --git a/src/index.js b/src/index.js index 7960666..ce1fd6b 100644 --- a/src/index.js +++ b/src/index.js @@ -1,17 +1,11 @@ -/** @ignore */ -const FullDate = require('./full-date'); -/** @ignore */ -const factory = require('./factory/index'); -/** @ignore */ -const cr = require('./cr/index'); -/** @ignore */ -const lc = require('./lc/index'); -/** @ignore */ -const op = require('./operations/index'); -/** @ignore */ -const wildcard = require('./wildcard'); +import FullDate from './full-date'; +import factory from './factory/index'; +import cr from './cr/index'; +import lc from './lc/index'; +import op from './operations/index'; +import wildcard from './wildcard'; -module.exports = { +export default { factory, cr, lc, diff --git a/src/lc/correlation-constant.js b/src/lc/correlation-constant.js index 100e311..0f603c3 100644 --- a/src/lc/correlation-constant.js +++ b/src/lc/correlation-constant.js @@ -43,7 +43,7 @@ const correlationConstants = [[394483, 'Bowditch'], * @param {string} name - Optional name when creating a new Correlation Constant * @return {CorrelationConstant} */ -function getCorrelationConstant(id, name) { +export default function getCorrelationConstant(id, name) { if (id in correlationConstants) { return correlationConstants[id]; } @@ -55,6 +55,3 @@ function getCorrelationConstant(id, name) { correlationConstants[newCorrConst.value] = newCorrConst; return newCorrConst; } - - -module.exports = getCorrelationConstant; diff --git a/src/lc/distance-number.js b/src/lc/distance-number.js index ead8cf8..6840b75 100644 --- a/src/lc/distance-number.js +++ b/src/lc/distance-number.js @@ -1,16 +1,11 @@ -/** @ignore */ -const moonbeams = require('moonbeams') -/** @ignore */ -const wildcard = require('../wildcard') -/** @ignore */ -const LongcountAddition = require('../operations/longcount-addition') -/** @ignore */ -const LongcountSubtraction = require('../operations/longcount-subtraction') +import wildcard from '../wildcard'; +import LongcountAddition from '../operations/longcount-addition'; +import LongcountSubtraction from '../operations/longcount-subtraction'; /** * Long Count cycle */ -class DistanceNumber { +export default class DistanceNumber { /** * @param {...number|Wildcard} cycles - Components in the long count * (eg, K'in, Winal, Bak'tun, etc) @@ -388,5 +383,3 @@ class DistanceNumber { return `${this.sign === -1 ? '-' : ''}${significantDigits.join('.')}` } } - -module.exports = DistanceNumber diff --git a/src/lc/index.js b/src/lc/index.js index e70ac3f..442d991 100644 --- a/src/lc/index.js +++ b/src/lc/index.js @@ -1,15 +1,13 @@ -/** @ignore */ -const LongCount = require('./long-count'); -/** @ignore */ -const LordOfNight = require('./night/lord-of-night'); -/** @ignore */ -const western = require('./western/index'); -/** @ignore */ -const DistanceNumber = require('./distance-number'); +import LongCount from './long-count'; +import LordOfNight from './night/lord-of-night'; +import western from './western/western'; +import DistanceNumber from './distance-number'; +import getCorrelationConstant from './correlation-constant'; -module.exports = { +export default { DistanceNumber, LongCount, night: LordOfNight, western, + getCorrelationConstant }; diff --git a/src/lc/long-count.js b/src/lc/long-count.js index 15cb28f..37b583a 100644 --- a/src/lc/long-count.js +++ b/src/lc/long-count.js @@ -1,30 +1,17 @@ -/** @ignore */ -const moonbeams = require('moonbeams'); -/** @ignore */ -const wildcard = require('../wildcard'); -/** @ignore */ -const {origin} = require('../cr/calendar-round'); -/** @ignore */ -const FullDate = require('../full-date'); -/** @ignore */ -const night = require('./night/lord-of-night'); -/** @ignore */ -const LongcountAddition = require('../operations/longcount-addition'); -/** @ignore */ -const LongcountSubtraction = require('../operations/longcount-subtraction'); -/** @ignore */ -const getCorrelationConstant = require('./correlation-constant'); -/** @ignore */ -const GregorianCalendarDate = require('./western/gregorian'); -/** @ignore */ -const JulianCalendarDate = require('./western/julian'); -/** @ignore */ -const DistanceNumber = require('./distance-number'); +import cr from '../cr/calendar-round'; +import FullDate from '../full-date'; +import night from './night/lord-of-night'; +import LongcountAddition from '../operations/longcount-addition'; +import LongcountSubtraction from '../operations/longcount-subtraction'; +import getCorrelationConstant from './correlation-constant'; +import GregorianCalendarDate from './western/gregorian'; +import JulianCalendarDate from './western/julian'; +import DistanceNumber from './distance-number'; /** * Long Count cycle */ -class LongCount extends DistanceNumber { +export default class LongCount extends DistanceNumber { /** * @param {...number|Wildcard} cycles - Components in the long count * (eg, K'in, Winal, Bak'tun, etc) @@ -95,7 +82,7 @@ class LongCount extends DistanceNumber { * @return {CalendarRound} */ buildCalendarRound() { - return origin.shift( + return cr.origin.shift( this.getPosition() ); } @@ -143,5 +130,3 @@ class LongCount extends DistanceNumber { return new DistanceNumber(...this.parts); } } - -module.exports = LongCount; diff --git a/src/lc/night/lord-of-night.js b/src/lc/night/lord-of-night.js index 23fd1d0..3235b31 100644 --- a/src/lc/night/lord-of-night.js +++ b/src/lc/night/lord-of-night.js @@ -7,6 +7,7 @@ * let lord_of_night_g8_2 = mayadates.lc.night.G8 * console.log(lord_of_night_g8_1 === lord_of_night_g8_2) */ +// eslint-disable-next-line max-classes-per-file class LordOfNight { /** * @param {number} id @@ -28,25 +29,27 @@ class LordOfNight { } } -/** - * Return a Lord of the Night by its G id. - * @param {string} id - Has the form 'G1', 'G2', etc. - * @return {LordOfNight} - */ -function get(id) { - return lordsOfTheNight[`${id}`]; -} +class _LordsOfTheNight { + constructor() { + this.G1 = new LordOfNight(1); + this.G2 = new LordOfNight(2); + this.G3 = new LordOfNight(3); + this.G4 = new LordOfNight(4); + this.G5 = new LordOfNight(5); + this.G6 = new LordOfNight(6); + this.G7 = new LordOfNight(7); + this.G8 = new LordOfNight(8); + this.G9 = new LordOfNight(9); + } -/** @ignore */ -const lordsOfTheNight = [ - 1, 2, 3, 4, 5, 6, 7, 8, 9, -].reduce((obj, n) => { - const lord = new LordOfNight(n); - const newObj = obj; - newObj[`${lord}`] = lord; - return newObj; -}, { - get, -}); + /** + * Return a Lord of the Night by its G id. + * @param {string} id - Has the form 'G1', 'G2', etc. + * @return {LordOfNight} + */ + get(id) { + return this[`${id}`]; + } +} -module.exports = lordsOfTheNight; +export default new _LordsOfTheNight(); diff --git a/src/lc/western/gregorian.js b/src/lc/western/gregorian.js index 7e04b5d..fe3a829 100644 --- a/src/lc/western/gregorian.js +++ b/src/lc/western/gregorian.js @@ -1,11 +1,10 @@ -/** @ignore */ -const WesternCalendar = require('./western'); +import WesternCalendar from './western'; /** * Represent a Gregorian date. * @extends {WesternCalendar} */ -class GregorianCalendarDate extends WesternCalendar { +export default class GregorianCalendarDate extends WesternCalendar { /** * Handle the sliding offset between gregorian and julian dates @@ -48,5 +47,3 @@ class GregorianCalendarDate extends WesternCalendar { return 0; } } - -module.exports = GregorianCalendarDate; diff --git a/src/lc/western/index.js b/src/lc/western/index.js index 608f154..fdb6976 100644 --- a/src/lc/western/index.js +++ b/src/lc/western/index.js @@ -1,9 +1,7 @@ -/** @ignore */ -const GregorianCalendarDate = require('./gregorian'); -/** @ignore */ -const JulianCalendarDate = require('./julian'); +import GregorianCalendarDate from './gregorian'; +import JulianCalendarDate from './julian'; -module.exports = { +export default { GregorianCalendarDate, - JulianCalendarDate, + JulianCalendarDate }; diff --git a/src/lc/western/julian.js b/src/lc/western/julian.js index e6bf825..db2269f 100644 --- a/src/lc/western/julian.js +++ b/src/lc/western/julian.js @@ -1,11 +1,10 @@ -/** @ignore */ -const WesternCalendar = require('./western'); +import WesternCalendar from './western'; /** * Represent a Julian date. * @extends {WesternCalendar} */ -class JulianCalendarDate extends WesternCalendar { +export default class JulianCalendarDate extends WesternCalendar { /** * Handle the sliding offset between gregorian and julian dates @@ -42,5 +41,3 @@ class JulianCalendarDate extends WesternCalendar { return 0; } } - -module.exports = JulianCalendarDate; diff --git a/src/lc/western/western.js b/src/lc/western/western.js index 95b07d2..2c77c25 100644 --- a/src/lc/western/western.js +++ b/src/lc/western/western.js @@ -1,11 +1,10 @@ -/** @ignore */ -const moonbeams = require('moonbeams'); +import moonbeams from 'moonbeams'; /** * Represents either a Julian or Gregorian calendar. * @abstract */ -class WesternCalendar { +export default class WesternCalendar { /** * Store a date with reference to a Julian Day. * @param {number} julianDay @@ -78,6 +77,3 @@ class WesternCalendar { return date; } } - - -module.exports = WesternCalendar; diff --git a/src/operations/calendar-round-iterator.js b/src/operations/calendar-round-iter.js similarity index 85% rename from src/operations/calendar-round-iterator.js rename to src/operations/calendar-round-iter.js index eeca849..9214650 100644 --- a/src/operations/calendar-round-iterator.js +++ b/src/operations/calendar-round-iter.js @@ -1,15 +1,14 @@ -/** @ignore */ -const {origin} = require('../cr/index'); +import cr from '../cr/index'; /** * Used to iterate through the entire cycle of 18,980 days for the full * permutation of Haab and 260-day count. * @ignore */ -class CalendarRoundIterator { +export default class CalendarRoundIterator { /** * - * @param {CalendarRound} fullDate + * @param {CalendarRound} newDate */ constructor(newDate) { /** @@ -24,7 +23,7 @@ class CalendarRoundIterator { let fullDate = newDate; if (fullDate === undefined) { - fullDate = origin; + fullDate = cr.origin; } /** * @type {CalendarRound} @@ -58,5 +57,3 @@ class CalendarRoundIterator { return {value: next, done: false}; } } - -module.exports = CalendarRoundIterator diff --git a/src/operations/calendar-round-wildcard.js b/src/operations/calendar-round-wildcard.js index c483a1b..3b0c13a 100644 --- a/src/operations/calendar-round-wildcard.js +++ b/src/operations/calendar-round-wildcard.js @@ -1,6 +1,4 @@ -/** @ignore */ -const CalendarRoundIterator = require('./calendar-round-iterator'); - +import CalendarRoundIterator from './calendar-round-iter'; /** * A reusable singleton instance of the CalendarRoundIterator @@ -13,7 +11,7 @@ const iter = new CalendarRoundIterator(); * Given a Calendar Round with a wildcard, calculate all possible matching * fully qualified Calendar Rounds. */ -class CalendarRoundWildcard { +export default class CalendarRoundWildcard { /** * @param {CalendarRound} cr */ @@ -42,5 +40,3 @@ class CalendarRoundWildcard { return potentials; } } - -module.exports = CalendarRoundWildcard; diff --git a/src/operations/fulldate-wildcard.js b/src/operations/fulldate-wildcard.js index 3f55879..443eb1f 100644 --- a/src/operations/fulldate-wildcard.js +++ b/src/operations/fulldate-wildcard.js @@ -1,9 +1,6 @@ -/** @ignore */ -const FullDate = require('../full-date'); -/** @ignore */ -const LongCountWildcard = require('../operations/longcount-wildcard'); -/** @ignore */ -const CalendarRoundWildcard = require('../operations/calendar-round-wildcard'); +import FullDate from '../full-date'; +import LongCountWildcard from './longcount-wildcard'; +import CalendarRoundWildcard from './calendar-round-wildcard'; /** @ignore */ const concat = (x, y) => x.concat(y); @@ -21,7 +18,7 @@ Array.prototype.flatMap = function (f) { * Given a Calendar Round and Long Count with a wildcard, calculate all possible * matching fully qualified Long Counts with CalendarRounds. */ -class FullDateWildcard { +export default class FullDateWildcard { /** * @param {FullDate} partialDate */ @@ -40,10 +37,7 @@ class FullDateWildcard { if (this.fullDate.lc.isPartial()) { const lcs = new LongCountWildcard(this.fullDate.lc).run(); - const mappedLcs = lcs.map(function (potentialLc) { - return potentialLc.buildFullDate(); - } - ); + const mappedLcs = lcs.map((potentialLc) => potentialLc.buildFullDate()); const flatMappedLcs = mappedLcs.flatMap( (fullDate) => ( this.fullDate.cr.isPartial() @@ -67,5 +61,3 @@ class FullDateWildcard { : []; } } - -module.exports = FullDateWildcard; diff --git a/src/operations/index.js b/src/operations/index.js index 5577888..045f645 100644 --- a/src/operations/index.js +++ b/src/operations/index.js @@ -1,11 +1,8 @@ -/** @ignore */ -const LongCountWildcard = require('./longcount-wildcard'); -/** @ignore */ -const CalendarRoundWildcard = require('./calendar-round-wildcard'); -/** @ignore */ -const FullDateWildcard = require('./fulldate-wildcard'); +import LongCountWildcard from './longcount-wildcard'; +import CalendarRoundWildcard from './calendar-round-wildcard'; +import FullDateWildcard from './fulldate-wildcard'; -module.exports = { +export default { LongCountWildcard, CalendarRoundWildcard, FullDateWildcard diff --git a/src/operations/longcount-wildcard.js b/src/operations/longcount-wildcard.js index 71ed8c1..8c3a74a 100644 --- a/src/operations/longcount-wildcard.js +++ b/src/operations/longcount-wildcard.js @@ -1,11 +1,10 @@ -/** @ignore */ -const wildcard = require('../wildcard'); +import wildcard from '../wildcard'; /** * Given a Long Count with a wildcard, calculate all possible matching fully * qualified Long Counts. */ -class LongCountWildcard { +export default class LongCountWildcard { /** * @param {LongCount} lc */ @@ -21,35 +20,20 @@ class LongCountWildcard { * @return {LongCount[]} */ run() { - const wcIndexes = this.lc.map( + return this.lc.map( (part, i) => ((part === wildcard) ? i : false) - ); - - const filteredWcIndexes = wcIndexes.filter( + ).filter( (i) => i !== false - ); - - return filteredWcIndexes.reduce( - function (potentials, position) { - const a = potentials.reduce( - function (acc, possible) { - const dayMonths = new Array((position === 1) ? 15 : 20); - const filledDayMonths = dayMonths.fill(); - const b = filledDayMonths.map(function (_, i) { - const clone = possible.clone(); - const adjusted = clone.setDateSections(position, i); - return adjusted; - }).concat(acc); - return b; - }, - [] - ); - return a; - }, + ).reduce( + (potentials, position) => potentials.reduce( + (acc, possible) => new Array( + (position === 1) ? 15 : 20 + ).fill().map( + (_, i) => possible.clone().setDateSections(position, i) + ).concat(acc), + [] + ), [this.lc] ); - } } - -module.exports = LongCountWildcard; diff --git a/src/wildcard.js b/src/wildcard.js index 295c367..4c2c48f 100644 --- a/src/wildcard.js +++ b/src/wildcard.js @@ -4,8 +4,7 @@ * library to allow for use and equality comparison. * @example * const mayadates = require('maya-dates') - * let cr = new mayadates.factory.CalendarRoundFactory().parse( - * '4 Ajaw 8 *') + * let cr = new mayadates.factory.CalendarRoundFactory().parse('4 Ajaw 8 *') * console.log(cr.haab.month === mayadates.wildcard) * > true */ @@ -20,4 +19,4 @@ class Wildcard { } } -module.exports = new Wildcard(); +export default new Wildcard(); diff --git a/test/calendar-round.test.js b/test/calendar-round.test.js index ad0b856..c59f7e8 100644 --- a/test/calendar-round.test.js +++ b/test/calendar-round.test.js @@ -1,6 +1,5 @@ -const mayadates = require('../src/index') +import mayadates from '../src/index'; -const {wildcard} = mayadates /** * @test {CalendarRoundFactory} * @test {CalendarRound#next} @@ -72,19 +71,19 @@ describe('parse calendar-round wildcards', () => { const sources = [ [ '* Ak\'bal 6 Muwan', - [wildcard, 'Ak\'bal', 6, 'Muwan'], + [mayadates.wildcard, 'Ak\'bal', 6, 'Muwan'], '* Ak\'bal 6 Muwan'], [ '2 Ak\'bal *Muwan', - [2, 'Ak\'bal', wildcard, 'Muwan'], + [2, 'Ak\'bal', mayadates.wildcard, 'Muwan'], '2 Ak\'bal * Muwan'], [ '*Ak\'bal 6 *', - [wildcard, 'Ak\'bal', 6, wildcard], + [mayadates.wildcard, 'Ak\'bal', 6, mayadates.wildcard], '* Ak\'bal 6 *'], [ '2Ak\'bal 6*', - [2, 'Ak\'bal', 6, wildcard], + [2, 'Ak\'bal', 6, mayadates.wildcard], '2 Ak\'bal 6 *', ], ] diff --git a/test/full-date.test.js b/test/full-date.test.js index 388187d..3c0c53c 100644 --- a/test/full-date.test.js +++ b/test/full-date.test.js @@ -1,4 +1,4 @@ -const mayadate = require('../src/index'); +import mayadate from '../src/index'; test('full date rendering', () => { const fullDate = new mayadate.factory.FullDateFactory() diff --git a/test/haab.test.js b/test/haab.test.js index e74738f..49fa242 100644 --- a/test/haab.test.js +++ b/test/haab.test.js @@ -1,4 +1,4 @@ -const mayadates = require('../src/index'); +import mayadates from '../src/index'; describe('increment haab months', () => { const tzolkinDays = [ diff --git a/test/long-count.test.js b/test/long-count.test.js index fe574f7..dd90255 100644 --- a/test/long-count.test.js +++ b/test/long-count.test.js @@ -1,4 +1,4 @@ -const mayadates = require('../src/index'); +import mayadates from '../src/index'; describe('parse long-count fullDate', () => { const dates = [ @@ -95,7 +95,7 @@ test('print short long-count fullDate', () => { }); describe('test lord of night glyphs', () => { - const { night } = mayadates.lc; + const {night} = mayadates.lc; const dates = [ ['9.16.19.17.19', night.G8, 'G8'], ['9.17.0.0.0', night.get('G9'), 'G9'], diff --git a/test/operations-calendarround-wildcard.test.js b/test/operations-calendarround-wildcard.test.js index 3188581..3d1d4cf 100644 --- a/test/operations-calendarround-wildcard.test.js +++ b/test/operations-calendarround-wildcard.test.js @@ -1,4 +1,4 @@ -const mayadates = require('../src/index'); +import mayadates from '../src/index'; describe('compute missing lc wildcard', () => { const lcs = [ diff --git a/test/operations-fulldate-wildcards.test.js b/test/operations-fulldate-wildcards.test.js index 88b7f89..636b801 100644 --- a/test/operations-fulldate-wildcards.test.js +++ b/test/operations-fulldate-wildcards.test.js @@ -1,5 +1,6 @@ -const mayadates = require('../src/index'); -const {wildcard} = mayadates; +import mayadates from '../src/index'; + +const { wildcard } = mayadates; describe('complex wildcard parsing', () => { diff --git a/test/operations-lc-addition.test.js b/test/operations-lc-addition.test.js index 4d58b2b..58f63f4 100644 --- a/test/operations-lc-addition.test.js +++ b/test/operations-lc-addition.test.js @@ -1,4 +1,6 @@ -const LongCount = require('../src/lc/long-count'); +import mayadates from '../src/index'; + +const { LongCount } = mayadates.lc; describe('longcount addition', () => { const dates = [ @@ -16,6 +18,4 @@ describe('longcount addition', () => { it.each(dates)('%s + %s = %s', (from, increment, to) => { expect(from.plus(increment).equals()).toStrictEqual(to); }); - }); - diff --git a/test/operations-lc-subtraction.test.js b/test/operations-lc-subtraction.test.js index 82bc720..79866a8 100644 --- a/test/operations-lc-subtraction.test.js +++ b/test/operations-lc-subtraction.test.js @@ -1,4 +1,6 @@ -const LongCount = require('../src/lc/long-count'); +import mayadates from '../src/index'; + +const { LongCount } = mayadates.lc; describe('longcount subtraction', () => { const dates = [ diff --git a/test/operations-longcount-wildcard.test.js b/test/operations-longcount-wildcard.test.js index 77d4cdb..bdce1c8 100644 --- a/test/operations-longcount-wildcard.test.js +++ b/test/operations-longcount-wildcard.test.js @@ -1,4 +1,4 @@ -const mayadates = require('../src/index'); +import mayadates from '../src/index'; test('compute missing wildcard', () => { const lc = new mayadates.factory.LongCountFactory().parse( diff --git a/test/tzolkin.test.js b/test/tzolkin.test.js index 671600d..638cb5f 100644 --- a/test/tzolkin.test.js +++ b/test/tzolkin.test.js @@ -1,4 +1,4 @@ -const mayadates = require('../src/index'); +import mayadates from '../src/index'; describe('increment tzolkin days', () => { const tzolkinDays = [ diff --git a/test/western.test.js b/test/western.test.js index ab17618..f1b037c 100644 --- a/test/western.test.js +++ b/test/western.test.js @@ -1,5 +1,7 @@ -const getCorrelationConstant = require('../src/lc/correlation-constant'); -const LongCountFactory = require('../src/factory/long-count'); +import mayadates from '../src/index'; + +const {getCorrelationConstant} = mayadates.lc; +const {LongCountFactory} = mayadates.factory; class MockDateCorrelation { constructor(lc, gregorian, julian, jday, mayaDay) { diff --git a/test/wildcards.test.js b/test/wildcards.test.js index 2d1dd6b..ecc7e1a 100644 --- a/test/wildcards.test.js +++ b/test/wildcards.test.js @@ -1,6 +1,7 @@ -const LongCountFactory = require('../src/factory/long-count'); -const CalendarRoundFactory = require('../src/factory/calendar-round'); -const wildcard = require('../src/wildcard'); +import mayadates from '../src/index'; + +const { wildcard } = mayadates; +const { CalendarRoundFactory, LongCountFactory } = mayadates.factory; test('parse long-count fullDate', () => { const date = new LongCountFactory().parse('1.2.*.4.5');