1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00
tobspr_shapez.io/docs/ast/source/game/systems/hub.js.json
2021-02-26 15:20:37 +01:00

44445 lines
1.2 MiB

{
"type": "File",
"start": 0,
"end": 7091,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 200,
"column": 1
}
},
"program": {
"type": "Program",
"start": 0,
"end": 7091,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 200,
"column": 1
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 49,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 49
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 9,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 21
}
},
"imported": {
"type": "Identifier",
"start": 9,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 21
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"local": {
"type": "Identifier",
"start": 9,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 21
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
}
}
],
"source": {
"type": "StringLiteral",
"start": 29,
"end": 48,
"loc": {
"start": {
"line": 1,
"column": 29
},
"end": {
"line": 1,
"column": 48
}
},
"extra": {
"rawValue": "../../core/config",
"raw": "\"../../core/config\""
},
"value": "../../core/config"
}
},
{
"type": "ImportDeclaration",
"start": 51,
"end": 104,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 53
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 60,
"end": 71,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 20
}
},
"imported": {
"type": "Identifier",
"start": 60,
"end": 71,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 20
},
"identifierName": "smoothenDpi"
},
"name": "smoothenDpi"
},
"local": {
"type": "Identifier",
"start": 60,
"end": 71,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 20
},
"identifierName": "smoothenDpi"
},
"name": "smoothenDpi"
}
}
],
"source": {
"type": "StringLiteral",
"start": 79,
"end": 103,
"loc": {
"start": {
"line": 2,
"column": 28
},
"end": {
"line": 2,
"column": 52
}
},
"extra": {
"rawValue": "../../core/dpi_manager",
"raw": "\"../../core/dpi_manager\""
},
"value": "../../core/dpi_manager"
}
},
{
"type": "ImportDeclaration",
"start": 106,
"end": 166,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 60
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 115,
"end": 129,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 23
}
},
"imported": {
"type": "Identifier",
"start": 115,
"end": 129,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 23
},
"identifierName": "DrawParameters"
},
"name": "DrawParameters"
},
"local": {
"type": "Identifier",
"start": 115,
"end": 129,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 23
},
"identifierName": "DrawParameters"
},
"name": "DrawParameters"
}
}
],
"source": {
"type": "StringLiteral",
"start": 137,
"end": 165,
"loc": {
"start": {
"line": 3,
"column": 31
},
"end": {
"line": 3,
"column": 59
}
},
"extra": {
"rawValue": "../../core/draw_parameters",
"raw": "\"../../core/draw_parameters\""
},
"value": "../../core/draw_parameters"
}
},
{
"type": "ImportDeclaration",
"start": 168,
"end": 226,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 58
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 177,
"end": 194,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 26
}
},
"imported": {
"type": "Identifier",
"start": 177,
"end": 194,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 26
},
"identifierName": "drawSpriteClipped"
},
"name": "drawSpriteClipped"
},
"local": {
"type": "Identifier",
"start": 177,
"end": 194,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 26
},
"identifierName": "drawSpriteClipped"
},
"name": "drawSpriteClipped"
}
}
],
"source": {
"type": "StringLiteral",
"start": 202,
"end": 225,
"loc": {
"start": {
"line": 4,
"column": 34
},
"end": {
"line": 4,
"column": 57
}
},
"extra": {
"rawValue": "../../core/draw_utils",
"raw": "\"../../core/draw_utils\""
},
"value": "../../core/draw_utils"
}
},
{
"type": "ImportDeclaration",
"start": 228,
"end": 271,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 43
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 237,
"end": 243,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 15
}
},
"imported": {
"type": "Identifier",
"start": 237,
"end": 243,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 15
},
"identifierName": "Loader"
},
"name": "Loader"
},
"local": {
"type": "Identifier",
"start": 237,
"end": 243,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 15
},
"identifierName": "Loader"
},
"name": "Loader"
}
}
],
"source": {
"type": "StringLiteral",
"start": 251,
"end": 270,
"loc": {
"start": {
"line": 5,
"column": 23
},
"end": {
"line": 5,
"column": 42
}
},
"extra": {
"rawValue": "../../core/loader",
"raw": "\"../../core/loader\""
},
"value": "../../core/loader"
}
},
{
"type": "ImportDeclaration",
"start": 273,
"end": 322,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 49
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 282,
"end": 291,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 18
}
},
"imported": {
"type": "Identifier",
"start": 282,
"end": 291,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 18
},
"identifierName": "Rectangle"
},
"name": "Rectangle"
},
"local": {
"type": "Identifier",
"start": 282,
"end": 291,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 18
},
"identifierName": "Rectangle"
},
"name": "Rectangle"
}
}
],
"source": {
"type": "StringLiteral",
"start": 299,
"end": 321,
"loc": {
"start": {
"line": 6,
"column": 26
},
"end": {
"line": 6,
"column": 48
}
},
"extra": {
"rawValue": "../../core/rectangle",
"raw": "\"../../core/rectangle\""
},
"value": "../../core/rectangle"
}
},
{
"type": "ImportDeclaration",
"start": 324,
"end": 383,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 59
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 333,
"end": 354,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 30
}
},
"imported": {
"type": "Identifier",
"start": 333,
"end": 354,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 30
},
"identifierName": "ORIGINAL_SPRITE_SCALE"
},
"name": "ORIGINAL_SPRITE_SCALE"
},
"local": {
"type": "Identifier",
"start": 333,
"end": 354,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 30
},
"identifierName": "ORIGINAL_SPRITE_SCALE"
},
"name": "ORIGINAL_SPRITE_SCALE"
}
}
],
"source": {
"type": "StringLiteral",
"start": 362,
"end": 382,
"loc": {
"start": {
"line": 7,
"column": 38
},
"end": {
"line": 7,
"column": 58
}
},
"extra": {
"rawValue": "../../core/sprites",
"raw": "\"../../core/sprites\""
},
"value": "../../core/sprites"
}
},
{
"type": "ImportDeclaration",
"start": 385,
"end": 436,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 51
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 394,
"end": 409,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 24
}
},
"imported": {
"type": "Identifier",
"start": 394,
"end": 409,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 24
},
"identifierName": "formatBigNumber"
},
"name": "formatBigNumber"
},
"local": {
"type": "Identifier",
"start": 394,
"end": 409,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 24
},
"identifierName": "formatBigNumber"
},
"name": "formatBigNumber"
}
}
],
"source": {
"type": "StringLiteral",
"start": 417,
"end": 435,
"loc": {
"start": {
"line": 8,
"column": 32
},
"end": {
"line": 8,
"column": 50
}
},
"extra": {
"rawValue": "../../core/utils",
"raw": "\"../../core/utils\""
},
"value": "../../core/utils"
}
},
{
"type": "ImportDeclaration",
"start": 438,
"end": 477,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 39
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 447,
"end": 448,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 10
}
},
"imported": {
"type": "Identifier",
"start": 447,
"end": 448,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 10
},
"identifierName": "T"
},
"name": "T"
},
"local": {
"type": "Identifier",
"start": 447,
"end": 448,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 10
},
"identifierName": "T"
},
"name": "T"
}
}
],
"source": {
"type": "StringLiteral",
"start": 456,
"end": 476,
"loc": {
"start": {
"line": 9,
"column": 18
},
"end": {
"line": 9,
"column": 38
}
},
"extra": {
"rawValue": "../../translations",
"raw": "\"../../translations\""
},
"value": "../../translations"
}
},
{
"type": "ImportDeclaration",
"start": 479,
"end": 528,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 49
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 488,
"end": 500,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 21
}
},
"imported": {
"type": "Identifier",
"start": 488,
"end": 500,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 21
},
"identifierName": "HubComponent"
},
"name": "HubComponent"
},
"local": {
"type": "Identifier",
"start": 488,
"end": 500,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 21
},
"identifierName": "HubComponent"
},
"name": "HubComponent"
}
}
],
"source": {
"type": "StringLiteral",
"start": 508,
"end": 527,
"loc": {
"start": {
"line": 10,
"column": 29
},
"end": {
"line": 10,
"column": 48
}
},
"extra": {
"rawValue": "../components/hub",
"raw": "\"../components/hub\""
},
"value": "../components/hub"
}
},
{
"type": "ImportDeclaration",
"start": 530,
"end": 565,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 35
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 539,
"end": 545,
"loc": {
"start": {
"line": 11,
"column": 9
},
"end": {
"line": 11,
"column": 15
}
},
"imported": {
"type": "Identifier",
"start": 539,
"end": 545,
"loc": {
"start": {
"line": 11,
"column": 9
},
"end": {
"line": 11,
"column": 15
},
"identifierName": "Entity"
},
"name": "Entity"
},
"local": {
"type": "Identifier",
"start": 539,
"end": 545,
"loc": {
"start": {
"line": 11,
"column": 9
},
"end": {
"line": 11,
"column": 15
},
"identifierName": "Entity"
},
"name": "Entity"
}
}
],
"source": {
"type": "StringLiteral",
"start": 553,
"end": 564,
"loc": {
"start": {
"line": 11,
"column": 23
},
"end": {
"line": 11,
"column": 34
}
},
"extra": {
"rawValue": "../entity",
"raw": "\"../entity\""
},
"value": "../entity"
}
},
{
"type": "ImportDeclaration",
"start": 567,
"end": 633,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 66
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 576,
"end": 596,
"loc": {
"start": {
"line": 12,
"column": 9
},
"end": {
"line": 12,
"column": 29
}
},
"imported": {
"type": "Identifier",
"start": 576,
"end": 596,
"loc": {
"start": {
"line": 12,
"column": 9
},
"end": {
"line": 12,
"column": 29
},
"identifierName": "GameSystemWithFilter"
},
"name": "GameSystemWithFilter"
},
"local": {
"type": "Identifier",
"start": 576,
"end": 596,
"loc": {
"start": {
"line": 12,
"column": 9
},
"end": {
"line": 12,
"column": 29
},
"identifierName": "GameSystemWithFilter"
},
"name": "GameSystemWithFilter"
}
}
],
"source": {
"type": "StringLiteral",
"start": 604,
"end": 632,
"loc": {
"start": {
"line": 12,
"column": 37
},
"end": {
"line": 12,
"column": 65
}
},
"extra": {
"rawValue": "../game_system_with_filter",
"raw": "\"../game_system_with_filter\""
},
"value": "../game_system_with_filter"
}
},
{
"type": "VariableDeclaration",
"start": 637,
"end": 662,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 14,
"column": 25
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 643,
"end": 661,
"loc": {
"start": {
"line": 14,
"column": 6
},
"end": {
"line": 14,
"column": 24
}
},
"id": {
"type": "Identifier",
"start": 643,
"end": 657,
"loc": {
"start": {
"line": 14,
"column": 6
},
"end": {
"line": 14,
"column": 20
},
"identifierName": "HUB_SIZE_TILES"
},
"name": "HUB_SIZE_TILES"
},
"init": {
"type": "NumericLiteral",
"start": 660,
"end": 661,
"loc": {
"start": {
"line": 14,
"column": 23
},
"end": {
"line": 14,
"column": 24
}
},
"extra": {
"rawValue": 4,
"raw": "4"
},
"value": 4
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 664,
"end": 727,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 15,
"column": 63
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 670,
"end": 726,
"loc": {
"start": {
"line": 15,
"column": 6
},
"end": {
"line": 15,
"column": 62
}
},
"id": {
"type": "Identifier",
"start": 670,
"end": 685,
"loc": {
"start": {
"line": 15,
"column": 6
},
"end": {
"line": 15,
"column": 21
},
"identifierName": "HUB_SIZE_PIXELS"
},
"name": "HUB_SIZE_PIXELS"
},
"init": {
"type": "BinaryExpression",
"start": 688,
"end": 726,
"loc": {
"start": {
"line": 15,
"column": 24
},
"end": {
"line": 15,
"column": 62
}
},
"left": {
"type": "Identifier",
"start": 688,
"end": 702,
"loc": {
"start": {
"line": 15,
"column": 24
},
"end": {
"line": 15,
"column": 38
},
"identifierName": "HUB_SIZE_TILES"
},
"name": "HUB_SIZE_TILES"
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 705,
"end": 726,
"loc": {
"start": {
"line": 15,
"column": 41
},
"end": {
"line": 15,
"column": 62
}
},
"object": {
"type": "Identifier",
"start": 705,
"end": 717,
"loc": {
"start": {
"line": 15,
"column": 41
},
"end": {
"line": 15,
"column": 53
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 718,
"end": 726,
"loc": {
"start": {
"line": 15,
"column": 54
},
"end": {
"line": 15,
"column": 62
},
"identifierName": "tileSize"
},
"name": "tileSize"
},
"computed": false
}
}
}
],
"kind": "const"
},
{
"type": "ExportNamedDeclaration",
"start": 731,
"end": 7091,
"loc": {
"start": {
"line": 17,
"column": 0
},
"end": {
"line": 200,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 738,
"end": 7091,
"loc": {
"start": {
"line": 17,
"column": 7
},
"end": {
"line": 200,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 744,
"end": 753,
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 22
},
"identifierName": "HubSystem"
},
"name": "HubSystem"
},
"superClass": {
"type": "Identifier",
"start": 762,
"end": 782,
"loc": {
"start": {
"line": 17,
"column": 31
},
"end": {
"line": 17,
"column": 51
},
"identifierName": "GameSystemWithFilter"
},
"name": "GameSystemWithFilter"
},
"body": {
"type": "ClassBody",
"start": 783,
"end": 7091,
"loc": {
"start": {
"line": 17,
"column": 52
},
"end": {
"line": 200,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 790,
"end": 929,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 22,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 790,
"end": 801,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 802,
"end": 806,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 20
},
"identifierName": "root"
},
"name": "root"
}
],
"body": {
"type": "BlockStatement",
"start": 808,
"end": 929,
"loc": {
"start": {
"line": 18,
"column": 22
},
"end": {
"line": 22,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 819,
"end": 847,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 36
}
},
"expression": {
"type": "CallExpression",
"start": 819,
"end": 846,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 35
}
},
"callee": {
"type": "Super",
"start": 819,
"end": 824,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 13
}
}
},
"arguments": [
{
"type": "Identifier",
"start": 825,
"end": 829,
"loc": {
"start": {
"line": 19,
"column": 14
},
"end": {
"line": 19,
"column": 18
},
"identifierName": "root"
},
"name": "root"
},
{
"type": "ArrayExpression",
"start": 831,
"end": 845,
"loc": {
"start": {
"line": 19,
"column": 20
},
"end": {
"line": 19,
"column": 34
}
},
"elements": [
{
"type": "Identifier",
"start": 832,
"end": 844,
"loc": {
"start": {
"line": 19,
"column": 21
},
"end": {
"line": 19,
"column": 33
},
"identifierName": "HubComponent"
},
"name": "HubComponent"
}
]
}
]
}
},
{
"type": "ExpressionStatement",
"start": 859,
"end": 922,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 71
}
},
"expression": {
"type": "AssignmentExpression",
"start": 859,
"end": 921,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 70
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 859,
"end": 873,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 859,
"end": 863,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 864,
"end": 873,
"loc": {
"start": {
"line": 21,
"column": 13
},
"end": {
"line": 21,
"column": 22
},
"identifierName": "hubSprite"
},
"name": "hubSprite"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 876,
"end": 921,
"loc": {
"start": {
"line": 21,
"column": 25
},
"end": {
"line": 21,
"column": 70
}
},
"callee": {
"type": "MemberExpression",
"start": 876,
"end": 892,
"loc": {
"start": {
"line": 21,
"column": 25
},
"end": {
"line": 21,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 876,
"end": 882,
"loc": {
"start": {
"line": 21,
"column": 25
},
"end": {
"line": 21,
"column": 31
},
"identifierName": "Loader"
},
"name": "Loader"
},
"property": {
"type": "Identifier",
"start": 883,
"end": 892,
"loc": {
"start": {
"line": 21,
"column": 32
},
"end": {
"line": 21,
"column": 41
},
"identifierName": "getSprite"
},
"name": "getSprite"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 893,
"end": 920,
"loc": {
"start": {
"line": 21,
"column": 42
},
"end": {
"line": 21,
"column": 69
}
},
"extra": {
"rawValue": "sprites/buildings/hub.png",
"raw": "\"sprites/buildings/hub.png\""
},
"value": "sprites/buildings/hub.png"
}
]
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 937,
"end": 983,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 26,
"column": 5
}
},
"static": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 944,
"end": 949,
"loc": {
"start": {
"line": 24,
"column": 11
},
"end": {
"line": 24,
"column": 16
},
"identifierName": "getId"
},
"name": "getId"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 952,
"end": 983,
"loc": {
"start": {
"line": 24,
"column": 19
},
"end": {
"line": 26,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 963,
"end": 976,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 21
}
},
"argument": {
"type": "StringLiteral",
"start": 970,
"end": 975,
"loc": {
"start": {
"line": 25,
"column": 15
},
"end": {
"line": 25,
"column": 20
}
},
"extra": {
"rawValue": "hub",
"raw": "\"hub\""
},
"value": "hub"
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {DrawParameters} parameters\r\n ",
"start": 991,
"end": 1046,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 30,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1052,
"end": 1212,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 35,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1052,
"end": 1056,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 31,
"column": 8
},
"identifierName": "draw"
},
"name": "draw",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1057,
"end": 1067,
"loc": {
"start": {
"line": 31,
"column": 9
},
"end": {
"line": 31,
"column": 19
},
"identifierName": "parameters"
},
"name": "parameters"
}
],
"body": {
"type": "BlockStatement",
"start": 1069,
"end": 1212,
"loc": {
"start": {
"line": 31,
"column": 21
},
"end": {
"line": 35,
"column": 5
}
},
"body": [
{
"type": "ForStatement",
"start": 1080,
"end": 1205,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 34,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 1085,
"end": 1094,
"loc": {
"start": {
"line": 32,
"column": 13
},
"end": {
"line": 32,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1089,
"end": 1094,
"loc": {
"start": {
"line": 32,
"column": 17
},
"end": {
"line": 32,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 1089,
"end": 1090,
"loc": {
"start": {
"line": 32,
"column": 17
},
"end": {
"line": 32,
"column": 18
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 1093,
"end": 1094,
"loc": {
"start": {
"line": 32,
"column": 21
},
"end": {
"line": 32,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 1096,
"end": 1123,
"loc": {
"start": {
"line": 32,
"column": 24
},
"end": {
"line": 32,
"column": 51
}
},
"left": {
"type": "Identifier",
"start": 1096,
"end": 1097,
"loc": {
"start": {
"line": 32,
"column": 24
},
"end": {
"line": 32,
"column": 25
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 1100,
"end": 1123,
"loc": {
"start": {
"line": 32,
"column": 28
},
"end": {
"line": 32,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 1100,
"end": 1116,
"loc": {
"start": {
"line": 32,
"column": 28
},
"end": {
"line": 32,
"column": 44
}
},
"object": {
"type": "ThisExpression",
"start": 1100,
"end": 1104,
"loc": {
"start": {
"line": 32,
"column": 28
},
"end": {
"line": 32,
"column": 32
}
}
},
"property": {
"type": "Identifier",
"start": 1105,
"end": 1116,
"loc": {
"start": {
"line": 32,
"column": 33
},
"end": {
"line": 32,
"column": 44
},
"identifierName": "allEntities"
},
"name": "allEntities"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1117,
"end": 1123,
"loc": {
"start": {
"line": 32,
"column": 45
},
"end": {
"line": 32,
"column": 51
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 1125,
"end": 1128,
"loc": {
"start": {
"line": 32,
"column": 53
},
"end": {
"line": 32,
"column": 56
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1127,
"end": 1128,
"loc": {
"start": {
"line": 32,
"column": 55
},
"end": {
"line": 32,
"column": 56
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 1130,
"end": 1205,
"loc": {
"start": {
"line": 32,
"column": 58
},
"end": {
"line": 34,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1145,
"end": 1194,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 61
}
},
"expression": {
"type": "CallExpression",
"start": 1145,
"end": 1193,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 60
}
},
"callee": {
"type": "MemberExpression",
"start": 1145,
"end": 1160,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 1145,
"end": 1149,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1150,
"end": 1160,
"loc": {
"start": {
"line": 33,
"column": 17
},
"end": {
"line": 33,
"column": 27
},
"identifierName": "drawEntity"
},
"name": "drawEntity"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1161,
"end": 1171,
"loc": {
"start": {
"line": 33,
"column": 28
},
"end": {
"line": 33,
"column": 38
},
"identifierName": "parameters"
},
"name": "parameters"
},
{
"type": "MemberExpression",
"start": 1173,
"end": 1192,
"loc": {
"start": {
"line": 33,
"column": 40
},
"end": {
"line": 33,
"column": 59
}
},
"object": {
"type": "MemberExpression",
"start": 1173,
"end": 1189,
"loc": {
"start": {
"line": 33,
"column": 40
},
"end": {
"line": 33,
"column": 56
}
},
"object": {
"type": "ThisExpression",
"start": 1173,
"end": 1177,
"loc": {
"start": {
"line": 33,
"column": 40
},
"end": {
"line": 33,
"column": 44
}
}
},
"property": {
"type": "Identifier",
"start": 1178,
"end": 1189,
"loc": {
"start": {
"line": 33,
"column": 45
},
"end": {
"line": 33,
"column": 56
},
"identifierName": "allEntities"
},
"name": "allEntities"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1190,
"end": 1191,
"loc": {
"start": {
"line": 33,
"column": 57
},
"end": {
"line": 33,
"column": 58
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
]
}
}
],
"directives": []
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {DrawParameters} parameters\r\n ",
"start": 991,
"end": 1046,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 30,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1220,
"end": 1653,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 46,
"column": 9
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1220,
"end": 1226,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 37,
"column": 10
},
"identifierName": "update"
},
"name": "update"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1229,
"end": 1653,
"loc": {
"start": {
"line": 37,
"column": 13
},
"end": {
"line": 46,
"column": 9
}
},
"body": [
{
"type": "ForStatement",
"start": 1244,
"end": 1642,
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 45,
"column": 13
}
},
"init": {
"type": "VariableDeclaration",
"start": 1249,
"end": 1258,
"loc": {
"start": {
"line": 38,
"column": 17
},
"end": {
"line": 38,
"column": 26
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1253,
"end": 1258,
"loc": {
"start": {
"line": 38,
"column": 21
},
"end": {
"line": 38,
"column": 26
}
},
"id": {
"type": "Identifier",
"start": 1253,
"end": 1254,
"loc": {
"start": {
"line": 38,
"column": 21
},
"end": {
"line": 38,
"column": 22
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 1257,
"end": 1258,
"loc": {
"start": {
"line": 38,
"column": 25
},
"end": {
"line": 38,
"column": 26
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 1260,
"end": 1287,
"loc": {
"start": {
"line": 38,
"column": 28
},
"end": {
"line": 38,
"column": 55
}
},
"left": {
"type": "Identifier",
"start": 1260,
"end": 1261,
"loc": {
"start": {
"line": 38,
"column": 28
},
"end": {
"line": 38,
"column": 29
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 1264,
"end": 1287,
"loc": {
"start": {
"line": 38,
"column": 32
},
"end": {
"line": 38,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 1264,
"end": 1280,
"loc": {
"start": {
"line": 38,
"column": 32
},
"end": {
"line": 38,
"column": 48
}
},
"object": {
"type": "ThisExpression",
"start": 1264,
"end": 1268,
"loc": {
"start": {
"line": 38,
"column": 32
},
"end": {
"line": 38,
"column": 36
}
}
},
"property": {
"type": "Identifier",
"start": 1269,
"end": 1280,
"loc": {
"start": {
"line": 38,
"column": 37
},
"end": {
"line": 38,
"column": 48
},
"identifierName": "allEntities"
},
"name": "allEntities"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1281,
"end": 1287,
"loc": {
"start": {
"line": 38,
"column": 49
},
"end": {
"line": 38,
"column": 55
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 1289,
"end": 1292,
"loc": {
"start": {
"line": 38,
"column": 57
},
"end": {
"line": 38,
"column": 60
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1291,
"end": 1292,
"loc": {
"start": {
"line": 38,
"column": 59
},
"end": {
"line": 38,
"column": 60
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 1294,
"end": 1642,
"loc": {
"start": {
"line": 38,
"column": 62
},
"end": {
"line": 45,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1346,
"end": 1381,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1352,
"end": 1380,
"loc": {
"start": {
"line": 40,
"column": 22
},
"end": {
"line": 40,
"column": 50
}
},
"id": {
"type": "Identifier",
"start": 1352,
"end": 1358,
"loc": {
"start": {
"line": 40,
"column": 22
},
"end": {
"line": 40,
"column": 28
},
"identifierName": "entity"
},
"name": "entity",
"leadingComments": null
},
"init": {
"type": "MemberExpression",
"start": 1361,
"end": 1380,
"loc": {
"start": {
"line": 40,
"column": 31
},
"end": {
"line": 40,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 1361,
"end": 1377,
"loc": {
"start": {
"line": 40,
"column": 31
},
"end": {
"line": 40,
"column": 47
}
},
"object": {
"type": "ThisExpression",
"start": 1361,
"end": 1365,
"loc": {
"start": {
"line": 40,
"column": 31
},
"end": {
"line": 40,
"column": 35
}
}
},
"property": {
"type": "Identifier",
"start": 1366,
"end": 1377,
"loc": {
"start": {
"line": 40,
"column": 36
},
"end": {
"line": 40,
"column": 47
},
"identifierName": "allEntities"
},
"name": "allEntities"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1378,
"end": 1379,
"loc": {
"start": {
"line": 40,
"column": 48
},
"end": {
"line": 40,
"column": 49
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Set hub goal",
"start": 1313,
"end": 1328,
"loc": {
"start": {
"line": 39,
"column": 16
},
"end": {
"line": 39,
"column": 31
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 1399,
"end": 1444,
"loc": {
"start": {
"line": 41,
"column": 16
},
"end": {
"line": 41,
"column": 61
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1405,
"end": 1443,
"loc": {
"start": {
"line": 41,
"column": 22
},
"end": {
"line": 41,
"column": 60
}
},
"id": {
"type": "Identifier",
"start": 1405,
"end": 1413,
"loc": {
"start": {
"line": 41,
"column": 22
},
"end": {
"line": 41,
"column": 30
},
"identifierName": "pinsComp"
},
"name": "pinsComp"
},
"init": {
"type": "MemberExpression",
"start": 1416,
"end": 1443,
"loc": {
"start": {
"line": 41,
"column": 33
},
"end": {
"line": 41,
"column": 60
}
},
"object": {
"type": "MemberExpression",
"start": 1416,
"end": 1433,
"loc": {
"start": {
"line": 41,
"column": 33
},
"end": {
"line": 41,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 1416,
"end": 1422,
"loc": {
"start": {
"line": 41,
"column": 33
},
"end": {
"line": 41,
"column": 39
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 1423,
"end": 1433,
"loc": {
"start": {
"line": 41,
"column": 40
},
"end": {
"line": 41,
"column": 50
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1434,
"end": 1443,
"loc": {
"start": {
"line": 41,
"column": 51
},
"end": {
"line": 41,
"column": 60
},
"identifierName": "WiredPins"
},
"name": "WiredPins"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1462,
"end": 1627,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 44,
"column": 18
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1462,
"end": 1626,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 44,
"column": 17
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1462,
"end": 1485,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 39
}
},
"object": {
"type": "MemberExpression",
"start": 1462,
"end": 1479,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 33
}
},
"object": {
"type": "MemberExpression",
"start": 1462,
"end": 1476,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 1462,
"end": 1470,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 24
},
"identifierName": "pinsComp"
},
"name": "pinsComp"
},
"property": {
"type": "Identifier",
"start": 1471,
"end": 1476,
"loc": {
"start": {
"line": 42,
"column": 25
},
"end": {
"line": 42,
"column": 30
},
"identifierName": "slots"
},
"name": "slots"
},
"computed": false
},
"property": {
"type": "NumericLiteral",
"start": 1477,
"end": 1478,
"loc": {
"start": {
"line": 42,
"column": 31
},
"end": {
"line": 42,
"column": 32
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
},
"property": {
"type": "Identifier",
"start": 1480,
"end": 1485,
"loc": {
"start": {
"line": 42,
"column": 34
},
"end": {
"line": 42,
"column": 39
},
"identifierName": "value"
},
"name": "value"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1488,
"end": 1626,
"loc": {
"start": {
"line": 42,
"column": 42
},
"end": {
"line": 44,
"column": 17
}
},
"callee": {
"type": "MemberExpression",
"start": 1488,
"end": 1543,
"loc": {
"start": {
"line": 42,
"column": 42
},
"end": {
"line": 42,
"column": 97
}
},
"object": {
"type": "MemberExpression",
"start": 1488,
"end": 1516,
"loc": {
"start": {
"line": 42,
"column": 42
},
"end": {
"line": 42,
"column": 70
}
},
"object": {
"type": "MemberExpression",
"start": 1488,
"end": 1497,
"loc": {
"start": {
"line": 42,
"column": 42
},
"end": {
"line": 42,
"column": 51
}
},
"object": {
"type": "ThisExpression",
"start": 1488,
"end": 1492,
"loc": {
"start": {
"line": 42,
"column": 42
},
"end": {
"line": 42,
"column": 46
}
}
},
"property": {
"type": "Identifier",
"start": 1493,
"end": 1497,
"loc": {
"start": {
"line": 42,
"column": 47
},
"end": {
"line": 42,
"column": 51
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1498,
"end": 1516,
"loc": {
"start": {
"line": 42,
"column": 52
},
"end": {
"line": 42,
"column": 70
},
"identifierName": "shapeDefinitionMgr"
},
"name": "shapeDefinitionMgr"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1517,
"end": 1543,
"loc": {
"start": {
"line": 42,
"column": 71
},
"end": {
"line": 42,
"column": 97
},
"identifierName": "getShapeItemFromDefinition"
},
"name": "getShapeItemFromDefinition"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1566,
"end": 1607,
"loc": {
"start": {
"line": 43,
"column": 20
},
"end": {
"line": 43,
"column": 61
}
},
"object": {
"type": "MemberExpression",
"start": 1566,
"end": 1596,
"loc": {
"start": {
"line": 43,
"column": 20
},
"end": {
"line": 43,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 1566,
"end": 1584,
"loc": {
"start": {
"line": 43,
"column": 20
},
"end": {
"line": 43,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 1566,
"end": 1575,
"loc": {
"start": {
"line": 43,
"column": 20
},
"end": {
"line": 43,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 1566,
"end": 1570,
"loc": {
"start": {
"line": 43,
"column": 20
},
"end": {
"line": 43,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 1571,
"end": 1575,
"loc": {
"start": {
"line": 43,
"column": 25
},
"end": {
"line": 43,
"column": 29
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1576,
"end": 1584,
"loc": {
"start": {
"line": 43,
"column": 30
},
"end": {
"line": 43,
"column": 38
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1585,
"end": 1596,
"loc": {
"start": {
"line": 43,
"column": 39
},
"end": {
"line": 43,
"column": 50
},
"identifierName": "currentGoal"
},
"name": "currentGoal"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1597,
"end": 1607,
"loc": {
"start": {
"line": 43,
"column": 51
},
"end": {
"line": 43,
"column": 61
},
"identifierName": "definition"
},
"name": "definition"
},
"computed": false
}
]
}
}
}
],
"directives": []
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {HTMLCanvasElement} canvas\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} w\r\n * @param {number} h\r\n * @param {number} dpi\r\n ",
"start": 1663,
"end": 1883,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 54,
"column": 11
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1889,
"end": 5742,
"loc": {
"start": {
"line": 55,
"column": 4
},
"end": {
"line": 162,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1889,
"end": 1909,
"loc": {
"start": {
"line": 55,
"column": 4
},
"end": {
"line": 55,
"column": 24
},
"identifierName": "redrawHubBaseTexture"
},
"name": "redrawHubBaseTexture",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1910,
"end": 1916,
"loc": {
"start": {
"line": 55,
"column": 25
},
"end": {
"line": 55,
"column": 31
},
"identifierName": "canvas"
},
"name": "canvas"
},
{
"type": "Identifier",
"start": 1918,
"end": 1925,
"loc": {
"start": {
"line": 55,
"column": 33
},
"end": {
"line": 55,
"column": 40
},
"identifierName": "context"
},
"name": "context"
},
{
"type": "Identifier",
"start": 1927,
"end": 1928,
"loc": {
"start": {
"line": 55,
"column": 42
},
"end": {
"line": 55,
"column": 43
},
"identifierName": "w"
},
"name": "w"
},
{
"type": "Identifier",
"start": 1930,
"end": 1931,
"loc": {
"start": {
"line": 55,
"column": 45
},
"end": {
"line": 55,
"column": 46
},
"identifierName": "h"
},
"name": "h"
},
{
"type": "Identifier",
"start": 1933,
"end": 1936,
"loc": {
"start": {
"line": 55,
"column": 48
},
"end": {
"line": 55,
"column": 51
},
"identifierName": "dpi"
},
"name": "dpi"
}
],
"body": {
"type": "BlockStatement",
"start": 1938,
"end": 5742,
"loc": {
"start": {
"line": 55,
"column": 53
},
"end": {
"line": 162,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2008,
"end": 2032,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 32
}
},
"expression": {
"type": "CallExpression",
"start": 2008,
"end": 2031,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 31
}
},
"callee": {
"type": "MemberExpression",
"start": 2008,
"end": 2021,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 2008,
"end": 2015,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 15
},
"identifierName": "context"
},
"name": "context",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2016,
"end": 2021,
"loc": {
"start": {
"line": 58,
"column": 16
},
"end": {
"line": 58,
"column": 21
},
"identifierName": "scale"
},
"name": "scale"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "Identifier",
"start": 2022,
"end": 2025,
"loc": {
"start": {
"line": 58,
"column": 22
},
"end": {
"line": 58,
"column": 25
},
"identifierName": "dpi"
},
"name": "dpi"
},
{
"type": "Identifier",
"start": 2027,
"end": 2030,
"loc": {
"start": {
"line": 58,
"column": 27
},
"end": {
"line": 58,
"column": 30
},
"identifierName": "dpi"
},
"name": "dpi"
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " This method is quite ugly, please ignore it!",
"start": 1949,
"end": 1996,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 55
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 2044,
"end": 2292,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 66,
"column": 11
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2050,
"end": 2291,
"loc": {
"start": {
"line": 60,
"column": 14
},
"end": {
"line": 66,
"column": 10
}
},
"id": {
"type": "Identifier",
"start": 2050,
"end": 2060,
"loc": {
"start": {
"line": 60,
"column": 14
},
"end": {
"line": 60,
"column": 24
},
"identifierName": "parameters"
},
"name": "parameters"
},
"init": {
"type": "NewExpression",
"start": 2063,
"end": 2291,
"loc": {
"start": {
"line": 60,
"column": 27
},
"end": {
"line": 66,
"column": 10
}
},
"callee": {
"type": "Identifier",
"start": 2067,
"end": 2081,
"loc": {
"start": {
"line": 60,
"column": 31
},
"end": {
"line": 60,
"column": 45
},
"identifierName": "DrawParameters"
},
"name": "DrawParameters"
},
"arguments": [
{
"type": "ObjectExpression",
"start": 2082,
"end": 2290,
"loc": {
"start": {
"line": 60,
"column": 46
},
"end": {
"line": 66,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 2097,
"end": 2104,
"loc": {
"start": {
"line": 61,
"column": 12
},
"end": {
"line": 61,
"column": 19
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 2097,
"end": 2104,
"loc": {
"start": {
"line": 61,
"column": 12
},
"end": {
"line": 61,
"column": 19
},
"identifierName": "context"
},
"name": "context"
},
"value": {
"type": "Identifier",
"start": 2097,
"end": 2104,
"loc": {
"start": {
"line": 61,
"column": 12
},
"end": {
"line": 61,
"column": 19
},
"identifierName": "context"
},
"name": "context"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 2119,
"end": 2157,
"loc": {
"start": {
"line": 62,
"column": 12
},
"end": {
"line": 62,
"column": 50
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2119,
"end": 2130,
"loc": {
"start": {
"line": 62,
"column": 12
},
"end": {
"line": 62,
"column": 23
},
"identifierName": "visibleRect"
},
"name": "visibleRect"
},
"value": {
"type": "NewExpression",
"start": 2132,
"end": 2157,
"loc": {
"start": {
"line": 62,
"column": 25
},
"end": {
"line": 62,
"column": 50
}
},
"callee": {
"type": "Identifier",
"start": 2136,
"end": 2145,
"loc": {
"start": {
"line": 62,
"column": 29
},
"end": {
"line": 62,
"column": 38
},
"identifierName": "Rectangle"
},
"name": "Rectangle"
},
"arguments": [
{
"type": "NumericLiteral",
"start": 2146,
"end": 2147,
"loc": {
"start": {
"line": 62,
"column": 39
},
"end": {
"line": 62,
"column": 40
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 2149,
"end": 2150,
"loc": {
"start": {
"line": 62,
"column": 42
},
"end": {
"line": 62,
"column": 43
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "Identifier",
"start": 2152,
"end": 2153,
"loc": {
"start": {
"line": 62,
"column": 45
},
"end": {
"line": 62,
"column": 46
},
"identifierName": "w"
},
"name": "w"
},
{
"type": "Identifier",
"start": 2155,
"end": 2156,
"loc": {
"start": {
"line": 62,
"column": 48
},
"end": {
"line": 62,
"column": 49
},
"identifierName": "h"
},
"name": "h"
}
]
}
},
{
"type": "ObjectProperty",
"start": 2172,
"end": 2212,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 63,
"column": 52
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2172,
"end": 2189,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 63,
"column": 29
},
"identifierName": "desiredAtlasScale"
},
"name": "desiredAtlasScale"
},
"value": {
"type": "Identifier",
"start": 2191,
"end": 2212,
"loc": {
"start": {
"line": 63,
"column": 31
},
"end": {
"line": 63,
"column": 52
},
"identifierName": "ORIGINAL_SPRITE_SCALE"
},
"name": "ORIGINAL_SPRITE_SCALE"
}
},
{
"type": "ObjectProperty",
"start": 2227,
"end": 2248,
"loc": {
"start": {
"line": 64,
"column": 12
},
"end": {
"line": 64,
"column": 33
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2227,
"end": 2236,
"loc": {
"start": {
"line": 64,
"column": 12
},
"end": {
"line": 64,
"column": 21
},
"identifierName": "zoomLevel"
},
"name": "zoomLevel"
},
"value": {
"type": "BinaryExpression",
"start": 2238,
"end": 2248,
"loc": {
"start": {
"line": 64,
"column": 23
},
"end": {
"line": 64,
"column": 33
}
},
"left": {
"type": "Identifier",
"start": 2238,
"end": 2241,
"loc": {
"start": {
"line": 64,
"column": 23
},
"end": {
"line": 64,
"column": 26
},
"identifierName": "dpi"
},
"name": "dpi"
},
"operator": "*",
"right": {
"type": "NumericLiteral",
"start": 2244,
"end": 2248,
"loc": {
"start": {
"line": 64,
"column": 29
},
"end": {
"line": 64,
"column": 33
}
},
"extra": {
"rawValue": 0.75,
"raw": "0.75"
},
"value": 0.75
}
}
},
{
"type": "ObjectProperty",
"start": 2263,
"end": 2278,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 27
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2263,
"end": 2267,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 16
},
"identifierName": "root"
},
"name": "root"
},
"value": {
"type": "MemberExpression",
"start": 2269,
"end": 2278,
"loc": {
"start": {
"line": 65,
"column": 18
},
"end": {
"line": 65,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 2269,
"end": 2273,
"loc": {
"start": {
"line": 65,
"column": 18
},
"end": {
"line": 65,
"column": 22
}
}
},
"property": {
"type": "Identifier",
"start": 2274,
"end": 2278,
"loc": {
"start": {
"line": 65,
"column": 23
},
"end": {
"line": 65,
"column": 27
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
}
}
]
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 2304,
"end": 2334,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 38
}
},
"expression": {
"type": "CallExpression",
"start": 2304,
"end": 2333,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 2304,
"end": 2321,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 2304,
"end": 2311,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 15
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 2312,
"end": 2321,
"loc": {
"start": {
"line": 68,
"column": 16
},
"end": {
"line": 68,
"column": 25
},
"identifierName": "clearRect"
},
"name": "clearRect"
},
"computed": false
},
"arguments": [
{
"type": "NumericLiteral",
"start": 2322,
"end": 2323,
"loc": {
"start": {
"line": 68,
"column": 26
},
"end": {
"line": 68,
"column": 27
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 2325,
"end": 2326,
"loc": {
"start": {
"line": 68,
"column": 29
},
"end": {
"line": 68,
"column": 30
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "Identifier",
"start": 2328,
"end": 2329,
"loc": {
"start": {
"line": 68,
"column": 32
},
"end": {
"line": 68,
"column": 33
},
"identifierName": "w"
},
"name": "w"
},
{
"type": "Identifier",
"start": 2331,
"end": 2332,
"loc": {
"start": {
"line": 68,
"column": 35
},
"end": {
"line": 68,
"column": 36
},
"identifierName": "h"
},
"name": "h"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2346,
"end": 2387,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 49
}
},
"expression": {
"type": "CallExpression",
"start": 2346,
"end": 2386,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 2346,
"end": 2365,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 27
}
},
"object": {
"type": "MemberExpression",
"start": 2346,
"end": 2360,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 2346,
"end": 2350,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2351,
"end": 2360,
"loc": {
"start": {
"line": 70,
"column": 13
},
"end": {
"line": 70,
"column": 22
},
"identifierName": "hubSprite"
},
"name": "hubSprite"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2361,
"end": 2365,
"loc": {
"start": {
"line": 70,
"column": 23
},
"end": {
"line": 70,
"column": 27
},
"identifierName": "draw"
},
"name": "draw"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2366,
"end": 2373,
"loc": {
"start": {
"line": 70,
"column": 28
},
"end": {
"line": 70,
"column": 35
},
"identifierName": "context"
},
"name": "context"
},
{
"type": "NumericLiteral",
"start": 2375,
"end": 2376,
"loc": {
"start": {
"line": 70,
"column": 37
},
"end": {
"line": 70,
"column": 38
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 2378,
"end": 2379,
"loc": {
"start": {
"line": 70,
"column": 40
},
"end": {
"line": 70,
"column": 41
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "Identifier",
"start": 2381,
"end": 2382,
"loc": {
"start": {
"line": 70,
"column": 43
},
"end": {
"line": 70,
"column": 44
},
"identifierName": "w"
},
"name": "w"
},
{
"type": "Identifier",
"start": 2384,
"end": 2385,
"loc": {
"start": {
"line": 70,
"column": 46
},
"end": {
"line": 70,
"column": 47
},
"identifierName": "h"
},
"name": "h"
}
]
}
},
{
"type": "IfStatement",
"start": 2399,
"end": 2775,
"loc": {
"start": {
"line": 72,
"column": 8
},
"end": {
"line": 81,
"column": 9
}
},
"test": {
"type": "CallExpression",
"start": 2403,
"end": 2442,
"loc": {
"start": {
"line": 72,
"column": 12
},
"end": {
"line": 72,
"column": 51
}
},
"callee": {
"type": "MemberExpression",
"start": 2403,
"end": 2440,
"loc": {
"start": {
"line": 72,
"column": 12
},
"end": {
"line": 72,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 2403,
"end": 2421,
"loc": {
"start": {
"line": 72,
"column": 12
},
"end": {
"line": 72,
"column": 30
}
},
"object": {
"type": "MemberExpression",
"start": 2403,
"end": 2412,
"loc": {
"start": {
"line": 72,
"column": 12
},
"end": {
"line": 72,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 2403,
"end": 2407,
"loc": {
"start": {
"line": 72,
"column": 12
},
"end": {
"line": 72,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 2408,
"end": 2412,
"loc": {
"start": {
"line": 72,
"column": 17
},
"end": {
"line": 72,
"column": 21
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2413,
"end": 2421,
"loc": {
"start": {
"line": 72,
"column": 22
},
"end": {
"line": 72,
"column": 30
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2422,
"end": 2440,
"loc": {
"start": {
"line": 72,
"column": 31
},
"end": {
"line": 72,
"column": 49
},
"identifierName": "isEndOfDemoReached"
},
"name": "isEndOfDemoReached"
},
"computed": false
},
"arguments": []
},
"consequent": {
"type": "BlockStatement",
"start": 2444,
"end": 2775,
"loc": {
"start": {
"line": 72,
"column": 53
},
"end": {
"line": 81,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2487,
"end": 2523,
"loc": {
"start": {
"line": 74,
"column": 12
},
"end": {
"line": 74,
"column": 48
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2487,
"end": 2522,
"loc": {
"start": {
"line": 74,
"column": 12
},
"end": {
"line": 74,
"column": 47
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2487,
"end": 2499,
"loc": {
"start": {
"line": 74,
"column": 12
},
"end": {
"line": 74,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 2487,
"end": 2494,
"loc": {
"start": {
"line": 74,
"column": 12
},
"end": {
"line": 74,
"column": 19
},
"identifierName": "context"
},
"name": "context",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2495,
"end": 2499,
"loc": {
"start": {
"line": 74,
"column": 20
},
"end": {
"line": 74,
"column": 24
},
"identifierName": "font"
},
"name": "font"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "StringLiteral",
"start": 2502,
"end": 2522,
"loc": {
"start": {
"line": 74,
"column": 27
},
"end": {
"line": 74,
"column": 47
}
},
"extra": {
"rawValue": "bold 12px GameFont",
"raw": "\"bold 12px GameFont\""
},
"value": "bold 12px GameFont"
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " End of demo",
"start": 2459,
"end": 2473,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 73,
"column": 26
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 2537,
"end": 2567,
"loc": {
"start": {
"line": 75,
"column": 12
},
"end": {
"line": 75,
"column": 42
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2537,
"end": 2566,
"loc": {
"start": {
"line": 75,
"column": 12
},
"end": {
"line": 75,
"column": 41
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2537,
"end": 2554,
"loc": {
"start": {
"line": 75,
"column": 12
},
"end": {
"line": 75,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 2537,
"end": 2544,
"loc": {
"start": {
"line": 75,
"column": 12
},
"end": {
"line": 75,
"column": 19
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 2545,
"end": 2554,
"loc": {
"start": {
"line": 75,
"column": 20
},
"end": {
"line": 75,
"column": 29
},
"identifierName": "fillStyle"
},
"name": "fillStyle"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 2557,
"end": 2566,
"loc": {
"start": {
"line": 75,
"column": 32
},
"end": {
"line": 75,
"column": 41
}
},
"extra": {
"rawValue": "#fd0752",
"raw": "\"#fd0752\""
},
"value": "#fd0752"
}
}
},
{
"type": "ExpressionStatement",
"start": 2581,
"end": 2610,
"loc": {
"start": {
"line": 76,
"column": 12
},
"end": {
"line": 76,
"column": 41
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2581,
"end": 2609,
"loc": {
"start": {
"line": 76,
"column": 12
},
"end": {
"line": 76,
"column": 40
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2581,
"end": 2598,
"loc": {
"start": {
"line": 76,
"column": 12
},
"end": {
"line": 76,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 2581,
"end": 2588,
"loc": {
"start": {
"line": 76,
"column": 12
},
"end": {
"line": 76,
"column": 19
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 2589,
"end": 2598,
"loc": {
"start": {
"line": 76,
"column": 20
},
"end": {
"line": 76,
"column": 29
},
"identifierName": "textAlign"
},
"name": "textAlign"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 2601,
"end": 2609,
"loc": {
"start": {
"line": 76,
"column": 32
},
"end": {
"line": 76,
"column": 40
}
},
"extra": {
"rawValue": "center",
"raw": "\"center\""
},
"value": "center"
}
}
},
{
"type": "ExpressionStatement",
"start": 2624,
"end": 2700,
"loc": {
"start": {
"line": 77,
"column": 12
},
"end": {
"line": 77,
"column": 88
}
},
"expression": {
"type": "CallExpression",
"start": 2624,
"end": 2699,
"loc": {
"start": {
"line": 77,
"column": 12
},
"end": {
"line": 77,
"column": 87
}
},
"callee": {
"type": "MemberExpression",
"start": 2624,
"end": 2640,
"loc": {
"start": {
"line": 77,
"column": 12
},
"end": {
"line": 77,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 2624,
"end": 2631,
"loc": {
"start": {
"line": 77,
"column": 12
},
"end": {
"line": 77,
"column": 19
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 2632,
"end": 2640,
"loc": {
"start": {
"line": 77,
"column": 20
},
"end": {
"line": 77,
"column": 28
},
"identifierName": "fillText"
},
"name": "fillText"
},
"computed": false
},
"arguments": [
{
"type": "CallExpression",
"start": 2641,
"end": 2680,
"loc": {
"start": {
"line": 77,
"column": 29
},
"end": {
"line": 77,
"column": 68
}
},
"callee": {
"type": "MemberExpression",
"start": 2641,
"end": 2678,
"loc": {
"start": {
"line": 77,
"column": 29
},
"end": {
"line": 77,
"column": 66
}
},
"object": {
"type": "MemberExpression",
"start": 2641,
"end": 2666,
"loc": {
"start": {
"line": 77,
"column": 29
},
"end": {
"line": 77,
"column": 54
}
},
"object": {
"type": "MemberExpression",
"start": 2641,
"end": 2656,
"loc": {
"start": {
"line": 77,
"column": 29
},
"end": {
"line": 77,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 2641,
"end": 2652,
"loc": {
"start": {
"line": 77,
"column": 29
},
"end": {
"line": 77,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 2641,
"end": 2642,
"loc": {
"start": {
"line": 77,
"column": 29
},
"end": {
"line": 77,
"column": 30
},
"identifierName": "T"
},
"name": "T"
},
"property": {
"type": "Identifier",
"start": 2643,
"end": 2652,
"loc": {
"start": {
"line": 77,
"column": 31
},
"end": {
"line": 77,
"column": 40
},
"identifierName": "buildings"
},
"name": "buildings"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2653,
"end": 2656,
"loc": {
"start": {
"line": 77,
"column": 41
},
"end": {
"line": 77,
"column": 44
},
"identifierName": "hub"
},
"name": "hub"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2657,
"end": 2666,
"loc": {
"start": {
"line": 77,
"column": 45
},
"end": {
"line": 77,
"column": 54
},
"identifierName": "endOfDemo"
},
"name": "endOfDemo"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2667,
"end": 2678,
"loc": {
"start": {
"line": 77,
"column": 55
},
"end": {
"line": 77,
"column": 66
},
"identifierName": "toUpperCase"
},
"name": "toUpperCase"
},
"computed": false
},
"arguments": []
},
{
"type": "BinaryExpression",
"start": 2682,
"end": 2687,
"loc": {
"start": {
"line": 77,
"column": 70
},
"end": {
"line": 77,
"column": 75
}
},
"left": {
"type": "Identifier",
"start": 2682,
"end": 2683,
"loc": {
"start": {
"line": 77,
"column": 70
},
"end": {
"line": 77,
"column": 71
},
"identifierName": "w"
},
"name": "w"
},
"operator": "/",
"right": {
"type": "NumericLiteral",
"start": 2686,
"end": 2687,
"loc": {
"start": {
"line": 77,
"column": 74
},
"end": {
"line": 77,
"column": 75
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
}
},
{
"type": "BinaryExpression",
"start": 2689,
"end": 2698,
"loc": {
"start": {
"line": 77,
"column": 77
},
"end": {
"line": 77,
"column": 86
}
},
"left": {
"type": "BinaryExpression",
"start": 2689,
"end": 2694,
"loc": {
"start": {
"line": 77,
"column": 77
},
"end": {
"line": 77,
"column": 82
}
},
"left": {
"type": "Identifier",
"start": 2689,
"end": 2690,
"loc": {
"start": {
"line": 77,
"column": 77
},
"end": {
"line": 77,
"column": 78
},
"identifierName": "h"
},
"name": "h"
},
"operator": "/",
"right": {
"type": "NumericLiteral",
"start": 2693,
"end": 2694,
"loc": {
"start": {
"line": 77,
"column": 81
},
"end": {
"line": 77,
"column": 82
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
}
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start": 2697,
"end": 2698,
"loc": {
"start": {
"line": 77,
"column": 85
},
"end": {
"line": 77,
"column": 86
}
},
"extra": {
"rawValue": 6,
"raw": "6"
},
"value": 6
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2714,
"end": 2741,
"loc": {
"start": {
"line": 78,
"column": 12
},
"end": {
"line": 78,
"column": 39
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2714,
"end": 2740,
"loc": {
"start": {
"line": 78,
"column": 12
},
"end": {
"line": 78,
"column": 38
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2714,
"end": 2731,
"loc": {
"start": {
"line": 78,
"column": 12
},
"end": {
"line": 78,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 2714,
"end": 2721,
"loc": {
"start": {
"line": 78,
"column": 12
},
"end": {
"line": 78,
"column": 19
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 2722,
"end": 2731,
"loc": {
"start": {
"line": 78,
"column": 20
},
"end": {
"line": 78,
"column": 29
},
"identifierName": "textAlign"
},
"name": "textAlign"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 2734,
"end": 2740,
"loc": {
"start": {
"line": 78,
"column": 32
},
"end": {
"line": 78,
"column": 38
}
},
"extra": {
"rawValue": "left",
"raw": "\"left\""
},
"value": "left"
}
}
},
{
"type": "ReturnStatement",
"start": 2757,
"end": 2764,
"loc": {
"start": {
"line": 80,
"column": 12
},
"end": {
"line": 80,
"column": 19
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 2787,
"end": 2848,
"loc": {
"start": {
"line": 83,
"column": 8
},
"end": {
"line": 83,
"column": 69
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2793,
"end": 2847,
"loc": {
"start": {
"line": 83,
"column": 14
},
"end": {
"line": 83,
"column": 68
}
},
"id": {
"type": "Identifier",
"start": 2793,
"end": 2803,
"loc": {
"start": {
"line": 83,
"column": 14
},
"end": {
"line": 83,
"column": 24
},
"identifierName": "definition"
},
"name": "definition"
},
"init": {
"type": "MemberExpression",
"start": 2806,
"end": 2847,
"loc": {
"start": {
"line": 83,
"column": 27
},
"end": {
"line": 83,
"column": 68
}
},
"object": {
"type": "MemberExpression",
"start": 2806,
"end": 2836,
"loc": {
"start": {
"line": 83,
"column": 27
},
"end": {
"line": 83,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 2806,
"end": 2824,
"loc": {
"start": {
"line": 83,
"column": 27
},
"end": {
"line": 83,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 2806,
"end": 2815,
"loc": {
"start": {
"line": 83,
"column": 27
},
"end": {
"line": 83,
"column": 36
}
},
"object": {
"type": "ThisExpression",
"start": 2806,
"end": 2810,
"loc": {
"start": {
"line": 83,
"column": 27
},
"end": {
"line": 83,
"column": 31
}
}
},
"property": {
"type": "Identifier",
"start": 2811,
"end": 2815,
"loc": {
"start": {
"line": 83,
"column": 32
},
"end": {
"line": 83,
"column": 36
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2816,
"end": 2824,
"loc": {
"start": {
"line": 83,
"column": 37
},
"end": {
"line": 83,
"column": 45
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2825,
"end": 2836,
"loc": {
"start": {
"line": 83,
"column": 46
},
"end": {
"line": 83,
"column": 57
},
"identifierName": "currentGoal"
},
"name": "currentGoal"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2837,
"end": 2847,
"loc": {
"start": {
"line": 83,
"column": 58
},
"end": {
"line": 83,
"column": 68
},
"identifierName": "definition"
},
"name": "definition"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 2858,
"end": 2906,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 56
}
},
"expression": {
"type": "CallExpression",
"start": 2858,
"end": 2905,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 2858,
"end": 2881,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 2858,
"end": 2868,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 18
},
"identifierName": "definition"
},
"name": "definition"
},
"property": {
"type": "Identifier",
"start": 2869,
"end": 2881,
"loc": {
"start": {
"line": 84,
"column": 19
},
"end": {
"line": 84,
"column": 31
},
"identifierName": "drawCentered"
},
"name": "drawCentered"
},
"computed": false
},
"arguments": [
{
"type": "NumericLiteral",
"start": 2882,
"end": 2884,
"loc": {
"start": {
"line": 84,
"column": 32
},
"end": {
"line": 84,
"column": 34
}
},
"extra": {
"rawValue": 45,
"raw": "45"
},
"value": 45
},
{
"type": "NumericLiteral",
"start": 2886,
"end": 2888,
"loc": {
"start": {
"line": 84,
"column": 36
},
"end": {
"line": 84,
"column": 38
}
},
"extra": {
"rawValue": 58,
"raw": "58"
},
"value": 58
},
{
"type": "Identifier",
"start": 2890,
"end": 2900,
"loc": {
"start": {
"line": 84,
"column": 40
},
"end": {
"line": 84,
"column": 50
},
"identifierName": "parameters"
},
"name": "parameters"
},
{
"type": "NumericLiteral",
"start": 2902,
"end": 2904,
"loc": {
"start": {
"line": 84,
"column": 52
},
"end": {
"line": 84,
"column": 54
}
},
"extra": {
"rawValue": 36,
"raw": "36"
},
"value": 36
}
]
}
},
{
"type": "VariableDeclaration",
"start": 2918,
"end": 2963,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 53
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2924,
"end": 2962,
"loc": {
"start": {
"line": 86,
"column": 14
},
"end": {
"line": 86,
"column": 52
}
},
"id": {
"type": "Identifier",
"start": 2924,
"end": 2929,
"loc": {
"start": {
"line": 86,
"column": 14
},
"end": {
"line": 86,
"column": 19
},
"identifierName": "goals"
},
"name": "goals"
},
"init": {
"type": "MemberExpression",
"start": 2932,
"end": 2962,
"loc": {
"start": {
"line": 86,
"column": 22
},
"end": {
"line": 86,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 2932,
"end": 2950,
"loc": {
"start": {
"line": 86,
"column": 22
},
"end": {
"line": 86,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 2932,
"end": 2941,
"loc": {
"start": {
"line": 86,
"column": 22
},
"end": {
"line": 86,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 2932,
"end": 2936,
"loc": {
"start": {
"line": 86,
"column": 22
},
"end": {
"line": 86,
"column": 26
}
}
},
"property": {
"type": "Identifier",
"start": 2937,
"end": 2941,
"loc": {
"start": {
"line": 86,
"column": 27
},
"end": {
"line": 86,
"column": 31
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2942,
"end": 2950,
"loc": {
"start": {
"line": 86,
"column": 32
},
"end": {
"line": 86,
"column": 40
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2951,
"end": 2962,
"loc": {
"start": {
"line": 86,
"column": 41
},
"end": {
"line": 86,
"column": 52
},
"identifierName": "currentGoal"
},
"name": "currentGoal"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 2975,
"end": 2998,
"loc": {
"start": {
"line": 88,
"column": 8
},
"end": {
"line": 88,
"column": 31
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2981,
"end": 2997,
"loc": {
"start": {
"line": 88,
"column": 14
},
"end": {
"line": 88,
"column": 30
}
},
"id": {
"type": "Identifier",
"start": 2981,
"end": 2992,
"loc": {
"start": {
"line": 88,
"column": 14
},
"end": {
"line": 88,
"column": 25
},
"identifierName": "textOffsetX"
},
"name": "textOffsetX"
},
"init": {
"type": "NumericLiteral",
"start": 2995,
"end": 2997,
"loc": {
"start": {
"line": 88,
"column": 28
},
"end": {
"line": 88,
"column": 30
}
},
"extra": {
"rawValue": 70,
"raw": "70"
},
"value": 70
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 3008,
"end": 3031,
"loc": {
"start": {
"line": 89,
"column": 8
},
"end": {
"line": 89,
"column": 31
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3014,
"end": 3030,
"loc": {
"start": {
"line": 89,
"column": 14
},
"end": {
"line": 89,
"column": 30
}
},
"id": {
"type": "Identifier",
"start": 3014,
"end": 3025,
"loc": {
"start": {
"line": 89,
"column": 14
},
"end": {
"line": 89,
"column": 25
},
"identifierName": "textOffsetY"
},
"name": "textOffsetY"
},
"init": {
"type": "NumericLiteral",
"start": 3028,
"end": 3030,
"loc": {
"start": {
"line": 89,
"column": 28
},
"end": {
"line": 89,
"column": 30
}
},
"extra": {
"rawValue": 61,
"raw": "61"
},
"value": 61
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 3043,
"end": 4350,
"loc": {
"start": {
"line": 91,
"column": 8
},
"end": {
"line": 122,
"column": 9
}
},
"test": {
"type": "MemberExpression",
"start": 3047,
"end": 3067,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 91,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 3047,
"end": 3052,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 91,
"column": 17
},
"identifierName": "goals"
},
"name": "goals"
},
"property": {
"type": "Identifier",
"start": 3053,
"end": 3067,
"loc": {
"start": {
"line": 91,
"column": 18
},
"end": {
"line": 91,
"column": 32
},
"identifierName": "throughputOnly"
},
"name": "throughputOnly"
},
"computed": false
},
"consequent": {
"type": "BlockStatement",
"start": 3069,
"end": 3501,
"loc": {
"start": {
"line": 91,
"column": 34
},
"end": {
"line": 102,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 3111,
"end": 3281,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 96,
"column": 14
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3117,
"end": 3280,
"loc": {
"start": {
"line": 93,
"column": 18
},
"end": {
"line": 96,
"column": 13
}
},
"id": {
"type": "Identifier",
"start": 3117,
"end": 3130,
"loc": {
"start": {
"line": 93,
"column": 18
},
"end": {
"line": 93,
"column": 31
},
"identifierName": "deliveredText"
},
"name": "deliveredText",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 3133,
"end": 3280,
"loc": {
"start": {
"line": 93,
"column": 34
},
"end": {
"line": 96,
"column": 13
}
},
"callee": {
"type": "MemberExpression",
"start": 3133,
"end": 3186,
"loc": {
"start": {
"line": 93,
"column": 34
},
"end": {
"line": 93,
"column": 87
}
},
"object": {
"type": "MemberExpression",
"start": 3133,
"end": 3178,
"loc": {
"start": {
"line": 93,
"column": 34
},
"end": {
"line": 93,
"column": 79
}
},
"object": {
"type": "MemberExpression",
"start": 3133,
"end": 3171,
"loc": {
"start": {
"line": 93,
"column": 34
},
"end": {
"line": 93,
"column": 72
}
},
"object": {
"type": "MemberExpression",
"start": 3133,
"end": 3152,
"loc": {
"start": {
"line": 93,
"column": 34
},
"end": {
"line": 93,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 3133,
"end": 3141,
"loc": {
"start": {
"line": 93,
"column": 34
},
"end": {
"line": 93,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 3133,
"end": 3134,
"loc": {
"start": {
"line": 93,
"column": 34
},
"end": {
"line": 93,
"column": 35
},
"identifierName": "T"
},
"name": "T"
},
"property": {
"type": "Identifier",
"start": 3135,
"end": 3141,
"loc": {
"start": {
"line": 93,
"column": 36
},
"end": {
"line": 93,
"column": 42
},
"identifierName": "ingame"
},
"name": "ingame"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3142,
"end": 3152,
"loc": {
"start": {
"line": 93,
"column": 43
},
"end": {
"line": 93,
"column": 53
},
"identifierName": "statistics"
},
"name": "statistics"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3153,
"end": 3171,
"loc": {
"start": {
"line": 93,
"column": 54
},
"end": {
"line": 93,
"column": 72
},
"identifierName": "shapesDisplayUnits"
},
"name": "shapesDisplayUnits"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3172,
"end": 3178,
"loc": {
"start": {
"line": 93,
"column": 73
},
"end": {
"line": 93,
"column": 79
},
"identifierName": "second"
},
"name": "second"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3179,
"end": 3186,
"loc": {
"start": {
"line": 93,
"column": 80
},
"end": {
"line": 93,
"column": 87
},
"identifierName": "replace"
},
"name": "replace"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 3205,
"end": 3215,
"loc": {
"start": {
"line": 94,
"column": 16
},
"end": {
"line": 94,
"column": 26
}
},
"extra": {
"rawValue": "<shapes>",
"raw": "\"<shapes>\""
},
"value": "<shapes>"
},
{
"type": "CallExpression",
"start": 3234,
"end": 3265,
"loc": {
"start": {
"line": 95,
"column": 16
},
"end": {
"line": 95,
"column": 47
}
},
"callee": {
"type": "Identifier",
"start": 3234,
"end": 3249,
"loc": {
"start": {
"line": 95,
"column": 16
},
"end": {
"line": 95,
"column": 31
},
"identifierName": "formatBigNumber"
},
"name": "formatBigNumber"
},
"arguments": [
{
"type": "MemberExpression",
"start": 3250,
"end": 3264,
"loc": {
"start": {
"line": 95,
"column": 32
},
"end": {
"line": 95,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 3250,
"end": 3255,
"loc": {
"start": {
"line": 95,
"column": 32
},
"end": {
"line": 95,
"column": 37
},
"identifierName": "goals"
},
"name": "goals"
},
"property": {
"type": "Identifier",
"start": 3256,
"end": 3264,
"loc": {
"start": {
"line": 95,
"column": 38
},
"end": {
"line": 95,
"column": 46
},
"identifierName": "required"
},
"name": "required"
},
"computed": false
}
]
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Throughput",
"start": 3084,
"end": 3097,
"loc": {
"start": {
"line": 92,
"column": 12
},
"end": {
"line": 92,
"column": 25
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 3297,
"end": 3333,
"loc": {
"start": {
"line": 98,
"column": 12
},
"end": {
"line": 98,
"column": 48
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3297,
"end": 3332,
"loc": {
"start": {
"line": 98,
"column": 12
},
"end": {
"line": 98,
"column": 47
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3297,
"end": 3309,
"loc": {
"start": {
"line": 98,
"column": 12
},
"end": {
"line": 98,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 3297,
"end": 3304,
"loc": {
"start": {
"line": 98,
"column": 12
},
"end": {
"line": 98,
"column": 19
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 3305,
"end": 3309,
"loc": {
"start": {
"line": 98,
"column": 20
},
"end": {
"line": 98,
"column": 24
},
"identifierName": "font"
},
"name": "font"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 3312,
"end": 3332,
"loc": {
"start": {
"line": 98,
"column": 27
},
"end": {
"line": 98,
"column": 47
}
},
"extra": {
"rawValue": "bold 12px GameFont",
"raw": "\"bold 12px GameFont\""
},
"value": "bold 12px GameFont"
}
}
},
{
"type": "ExpressionStatement",
"start": 3347,
"end": 3377,
"loc": {
"start": {
"line": 99,
"column": 12
},
"end": {
"line": 99,
"column": 42
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3347,
"end": 3376,
"loc": {
"start": {
"line": 99,
"column": 12
},
"end": {
"line": 99,
"column": 41
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3347,
"end": 3364,
"loc": {
"start": {
"line": 99,
"column": 12
},
"end": {
"line": 99,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 3347,
"end": 3354,
"loc": {
"start": {
"line": 99,
"column": 12
},
"end": {
"line": 99,
"column": 19
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 3355,
"end": 3364,
"loc": {
"start": {
"line": 99,
"column": 20
},
"end": {
"line": 99,
"column": 29
},
"identifierName": "fillStyle"
},
"name": "fillStyle"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 3367,
"end": 3376,
"loc": {
"start": {
"line": 99,
"column": 32
},
"end": {
"line": 99,
"column": 41
}
},
"extra": {
"rawValue": "#64666e",
"raw": "\"#64666e\""
},
"value": "#64666e"
}
}
},
{
"type": "ExpressionStatement",
"start": 3391,
"end": 3418,
"loc": {
"start": {
"line": 100,
"column": 12
},
"end": {
"line": 100,
"column": 39
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3391,
"end": 3417,
"loc": {
"start": {
"line": 100,
"column": 12
},
"end": {
"line": 100,
"column": 38
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3391,
"end": 3408,
"loc": {
"start": {
"line": 100,
"column": 12
},
"end": {
"line": 100,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 3391,
"end": 3398,
"loc": {
"start": {
"line": 100,
"column": 12
},
"end": {
"line": 100,
"column": 19
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 3399,
"end": 3408,
"loc": {
"start": {
"line": 100,
"column": 20
},
"end": {
"line": 100,
"column": 29
},
"identifierName": "textAlign"
},
"name": "textAlign"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 3411,
"end": 3417,
"loc": {
"start": {
"line": 100,
"column": 32
},
"end": {
"line": 100,
"column": 38
}
},
"extra": {
"rawValue": "left",
"raw": "\"left\""
},
"value": "left"
}
}
},
{
"type": "ExpressionStatement",
"start": 3432,
"end": 3490,
"loc": {
"start": {
"line": 101,
"column": 12
},
"end": {
"line": 101,
"column": 70
}
},
"expression": {
"type": "CallExpression",
"start": 3432,
"end": 3489,
"loc": {
"start": {
"line": 101,
"column": 12
},
"end": {
"line": 101,
"column": 69
}
},
"callee": {
"type": "MemberExpression",
"start": 3432,
"end": 3448,
"loc": {
"start": {
"line": 101,
"column": 12
},
"end": {
"line": 101,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 3432,
"end": 3439,
"loc": {
"start": {
"line": 101,
"column": 12
},
"end": {
"line": 101,
"column": 19
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 3440,
"end": 3448,
"loc": {
"start": {
"line": 101,
"column": 20
},
"end": {
"line": 101,
"column": 28
},
"identifierName": "fillText"
},
"name": "fillText"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 3449,
"end": 3462,
"loc": {
"start": {
"line": 101,
"column": 29
},
"end": {
"line": 101,
"column": 42
},
"identifierName": "deliveredText"
},
"name": "deliveredText"
},
{
"type": "Identifier",
"start": 3464,
"end": 3475,
"loc": {
"start": {
"line": 101,
"column": 44
},
"end": {
"line": 101,
"column": 55
},
"identifierName": "textOffsetX"
},
"name": "textOffsetX"
},
{
"type": "Identifier",
"start": 3477,
"end": 3488,
"loc": {
"start": {
"line": 101,
"column": 57
},
"end": {
"line": 101,
"column": 68
},
"identifierName": "textOffsetY"
},
"name": "textOffsetY"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 3507,
"end": 4350,
"loc": {
"start": {
"line": 102,
"column": 15
},
"end": {
"line": 122,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 3552,
"end": 3615,
"loc": {
"start": {
"line": 104,
"column": 12
},
"end": {
"line": 104,
"column": 75
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3558,
"end": 3614,
"loc": {
"start": {
"line": 104,
"column": 18
},
"end": {
"line": 104,
"column": 74
}
},
"id": {
"type": "Identifier",
"start": 3558,
"end": 3567,
"loc": {
"start": {
"line": 104,
"column": 18
},
"end": {
"line": 104,
"column": 27
},
"identifierName": "delivered"
},
"name": "delivered",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 3570,
"end": 3614,
"loc": {
"start": {
"line": 104,
"column": 30
},
"end": {
"line": 104,
"column": 74
}
},
"callee": {
"type": "MemberExpression",
"start": 3570,
"end": 3612,
"loc": {
"start": {
"line": 104,
"column": 30
},
"end": {
"line": 104,
"column": 72
}
},
"object": {
"type": "MemberExpression",
"start": 3570,
"end": 3588,
"loc": {
"start": {
"line": 104,
"column": 30
},
"end": {
"line": 104,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 3570,
"end": 3579,
"loc": {
"start": {
"line": 104,
"column": 30
},
"end": {
"line": 104,
"column": 39
}
},
"object": {
"type": "ThisExpression",
"start": 3570,
"end": 3574,
"loc": {
"start": {
"line": 104,
"column": 30
},
"end": {
"line": 104,
"column": 34
}
}
},
"property": {
"type": "Identifier",
"start": 3575,
"end": 3579,
"loc": {
"start": {
"line": 104,
"column": 35
},
"end": {
"line": 104,
"column": 39
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3580,
"end": 3588,
"loc": {
"start": {
"line": 104,
"column": 40
},
"end": {
"line": 104,
"column": 48
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3589,
"end": 3612,
"loc": {
"start": {
"line": 104,
"column": 49
},
"end": {
"line": 104,
"column": 72
},
"identifierName": "getCurrentGoalDelivered"
},
"name": "getCurrentGoalDelivered"
},
"computed": false
},
"arguments": []
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Deliver count",
"start": 3522,
"end": 3538,
"loc": {
"start": {
"line": 103,
"column": 12
},
"end": {
"line": 103,
"column": 28
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 3629,
"end": 3683,
"loc": {
"start": {
"line": 105,
"column": 12
},
"end": {
"line": 105,
"column": 66
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3635,
"end": 3682,
"loc": {
"start": {
"line": 105,
"column": 18
},
"end": {
"line": 105,
"column": 65
}
},
"id": {
"type": "Identifier",
"start": 3635,
"end": 3648,
"loc": {
"start": {
"line": 105,
"column": 18
},
"end": {
"line": 105,
"column": 31
},
"identifierName": "deliveredText"
},
"name": "deliveredText"
},
"init": {
"type": "BinaryExpression",
"start": 3651,
"end": 3682,
"loc": {
"start": {
"line": 105,
"column": 34
},
"end": {
"line": 105,
"column": 65
}
},
"left": {
"type": "StringLiteral",
"start": 3651,
"end": 3653,
"loc": {
"start": {
"line": 105,
"column": 34
},
"end": {
"line": 105,
"column": 36
}
},
"extra": {
"rawValue": "",
"raw": "\"\""
},
"value": ""
},
"operator": "+",
"right": {
"type": "CallExpression",
"start": 3656,
"end": 3682,
"loc": {
"start": {
"line": 105,
"column": 39
},
"end": {
"line": 105,
"column": 65
}
},
"callee": {
"type": "Identifier",
"start": 3656,
"end": 3671,
"loc": {
"start": {
"line": 105,
"column": 39
},
"end": {
"line": 105,
"column": 54
},
"identifierName": "formatBigNumber"
},
"name": "formatBigNumber"
},
"arguments": [
{
"type": "Identifier",
"start": 3672,
"end": 3681,
"loc": {
"start": {
"line": 105,
"column": 55
},
"end": {
"line": 105,
"column": 64
},
"identifierName": "delivered"
},
"name": "delivered"
}
]
}
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 3699,
"end": 3964,
"loc": {
"start": {
"line": 107,
"column": 12
},
"end": {
"line": 113,
"column": 13
}
},
"test": {
"type": "BinaryExpression",
"start": 3703,
"end": 3719,
"loc": {
"start": {
"line": 107,
"column": 16
},
"end": {
"line": 107,
"column": 32
}
},
"left": {
"type": "Identifier",
"start": 3703,
"end": 3712,
"loc": {
"start": {
"line": 107,
"column": 16
},
"end": {
"line": 107,
"column": 25
},
"identifierName": "delivered"
},
"name": "delivered"
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 3715,
"end": 3719,
"loc": {
"start": {
"line": 107,
"column": 28
},
"end": {
"line": 107,
"column": 32
}
},
"extra": {
"rawValue": 9999,
"raw": "9999"
},
"value": 9999
}
},
"consequent": {
"type": "BlockStatement",
"start": 3721,
"end": 3791,
"loc": {
"start": {
"line": 107,
"column": 34
},
"end": {
"line": 109,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3740,
"end": 3776,
"loc": {
"start": {
"line": 108,
"column": 16
},
"end": {
"line": 108,
"column": 52
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3740,
"end": 3775,
"loc": {
"start": {
"line": 108,
"column": 16
},
"end": {
"line": 108,
"column": 51
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3740,
"end": 3752,
"loc": {
"start": {
"line": 108,
"column": 16
},
"end": {
"line": 108,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 3740,
"end": 3747,
"loc": {
"start": {
"line": 108,
"column": 16
},
"end": {
"line": 108,
"column": 23
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 3748,
"end": 3752,
"loc": {
"start": {
"line": 108,
"column": 24
},
"end": {
"line": 108,
"column": 28
},
"identifierName": "font"
},
"name": "font"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 3755,
"end": 3775,
"loc": {
"start": {
"line": 108,
"column": 31
},
"end": {
"line": 108,
"column": 51
}
},
"extra": {
"rawValue": "bold 16px GameFont",
"raw": "\"bold 16px GameFont\""
},
"value": "bold 16px GameFont"
}
}
}
],
"directives": []
},
"alternate": {
"type": "IfStatement",
"start": 3797,
"end": 3964,
"loc": {
"start": {
"line": 109,
"column": 19
},
"end": {
"line": 113,
"column": 13
}
},
"test": {
"type": "BinaryExpression",
"start": 3801,
"end": 3816,
"loc": {
"start": {
"line": 109,
"column": 23
},
"end": {
"line": 109,
"column": 38
}
},
"left": {
"type": "Identifier",
"start": 3801,
"end": 3810,
"loc": {
"start": {
"line": 109,
"column": 23
},
"end": {
"line": 109,
"column": 32
},
"identifierName": "delivered"
},
"name": "delivered"
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 3813,
"end": 3816,
"loc": {
"start": {
"line": 109,
"column": 35
},
"end": {
"line": 109,
"column": 38
}
},
"extra": {
"rawValue": 999,
"raw": "999"
},
"value": 999
}
},
"consequent": {
"type": "BlockStatement",
"start": 3818,
"end": 3888,
"loc": {
"start": {
"line": 109,
"column": 40
},
"end": {
"line": 111,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3837,
"end": 3873,
"loc": {
"start": {
"line": 110,
"column": 16
},
"end": {
"line": 110,
"column": 52
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3837,
"end": 3872,
"loc": {
"start": {
"line": 110,
"column": 16
},
"end": {
"line": 110,
"column": 51
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3837,
"end": 3849,
"loc": {
"start": {
"line": 110,
"column": 16
},
"end": {
"line": 110,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 3837,
"end": 3844,
"loc": {
"start": {
"line": 110,
"column": 16
},
"end": {
"line": 110,
"column": 23
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 3845,
"end": 3849,
"loc": {
"start": {
"line": 110,
"column": 24
},
"end": {
"line": 110,
"column": 28
},
"identifierName": "font"
},
"name": "font"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 3852,
"end": 3872,
"loc": {
"start": {
"line": 110,
"column": 31
},
"end": {
"line": 110,
"column": 51
}
},
"extra": {
"rawValue": "bold 20px GameFont",
"raw": "\"bold 20px GameFont\""
},
"value": "bold 20px GameFont"
}
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 3894,
"end": 3964,
"loc": {
"start": {
"line": 111,
"column": 19
},
"end": {
"line": 113,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3913,
"end": 3949,
"loc": {
"start": {
"line": 112,
"column": 16
},
"end": {
"line": 112,
"column": 52
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3913,
"end": 3948,
"loc": {
"start": {
"line": 112,
"column": 16
},
"end": {
"line": 112,
"column": 51
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3913,
"end": 3925,
"loc": {
"start": {
"line": 112,
"column": 16
},
"end": {
"line": 112,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 3913,
"end": 3920,
"loc": {
"start": {
"line": 112,
"column": 16
},
"end": {
"line": 112,
"column": 23
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 3921,
"end": 3925,
"loc": {
"start": {
"line": 112,
"column": 24
},
"end": {
"line": 112,
"column": 28
},
"identifierName": "font"
},
"name": "font"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 3928,
"end": 3948,
"loc": {
"start": {
"line": 112,
"column": 31
},
"end": {
"line": 112,
"column": 51
}
},
"extra": {
"rawValue": "bold 25px GameFont",
"raw": "\"bold 25px GameFont\""
},
"value": "bold 25px GameFont"
}
}
}
],
"directives": []
}
}
},
{
"type": "ExpressionStatement",
"start": 3978,
"end": 4008,
"loc": {
"start": {
"line": 114,
"column": 12
},
"end": {
"line": 114,
"column": 42
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3978,
"end": 4007,
"loc": {
"start": {
"line": 114,
"column": 12
},
"end": {
"line": 114,
"column": 41
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3978,
"end": 3995,
"loc": {
"start": {
"line": 114,
"column": 12
},
"end": {
"line": 114,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 3978,
"end": 3985,
"loc": {
"start": {
"line": 114,
"column": 12
},
"end": {
"line": 114,
"column": 19
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 3986,
"end": 3995,
"loc": {
"start": {
"line": 114,
"column": 20
},
"end": {
"line": 114,
"column": 29
},
"identifierName": "fillStyle"
},
"name": "fillStyle"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 3998,
"end": 4007,
"loc": {
"start": {
"line": 114,
"column": 32
},
"end": {
"line": 114,
"column": 41
}
},
"extra": {
"rawValue": "#64666e",
"raw": "\"#64666e\""
},
"value": "#64666e"
}
}
},
{
"type": "ExpressionStatement",
"start": 4022,
"end": 4049,
"loc": {
"start": {
"line": 115,
"column": 12
},
"end": {
"line": 115,
"column": 39
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4022,
"end": 4048,
"loc": {
"start": {
"line": 115,
"column": 12
},
"end": {
"line": 115,
"column": 38
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4022,
"end": 4039,
"loc": {
"start": {
"line": 115,
"column": 12
},
"end": {
"line": 115,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 4022,
"end": 4029,
"loc": {
"start": {
"line": 115,
"column": 12
},
"end": {
"line": 115,
"column": 19
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4030,
"end": 4039,
"loc": {
"start": {
"line": 115,
"column": 20
},
"end": {
"line": 115,
"column": 29
},
"identifierName": "textAlign"
},
"name": "textAlign"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 4042,
"end": 4048,
"loc": {
"start": {
"line": 115,
"column": 32
},
"end": {
"line": 115,
"column": 38
}
},
"extra": {
"rawValue": "left",
"raw": "\"left\""
},
"value": "left"
}
}
},
{
"type": "ExpressionStatement",
"start": 4063,
"end": 4121,
"loc": {
"start": {
"line": 116,
"column": 12
},
"end": {
"line": 116,
"column": 70
}
},
"expression": {
"type": "CallExpression",
"start": 4063,
"end": 4120,
"loc": {
"start": {
"line": 116,
"column": 12
},
"end": {
"line": 116,
"column": 69
}
},
"callee": {
"type": "MemberExpression",
"start": 4063,
"end": 4079,
"loc": {
"start": {
"line": 116,
"column": 12
},
"end": {
"line": 116,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 4063,
"end": 4070,
"loc": {
"start": {
"line": 116,
"column": 12
},
"end": {
"line": 116,
"column": 19
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4071,
"end": 4079,
"loc": {
"start": {
"line": 116,
"column": 20
},
"end": {
"line": 116,
"column": 28
},
"identifierName": "fillText"
},
"name": "fillText"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 4080,
"end": 4093,
"loc": {
"start": {
"line": 116,
"column": 29
},
"end": {
"line": 116,
"column": 42
},
"identifierName": "deliveredText"
},
"name": "deliveredText"
},
{
"type": "Identifier",
"start": 4095,
"end": 4106,
"loc": {
"start": {
"line": 116,
"column": 44
},
"end": {
"line": 116,
"column": 55
},
"identifierName": "textOffsetX"
},
"name": "textOffsetX"
},
{
"type": "Identifier",
"start": 4108,
"end": 4119,
"loc": {
"start": {
"line": 116,
"column": 57
},
"end": {
"line": 116,
"column": 68
},
"identifierName": "textOffsetY"
},
"name": "textOffsetY"
}
]
},
"trailingComments": [
{
"type": "CommentLine",
"value": " Required",
"start": 4137,
"end": 4148,
"loc": {
"start": {
"line": 118,
"column": 12
},
"end": {
"line": 118,
"column": 23
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 4162,
"end": 4193,
"loc": {
"start": {
"line": 119,
"column": 12
},
"end": {
"line": 119,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4162,
"end": 4192,
"loc": {
"start": {
"line": 119,
"column": 12
},
"end": {
"line": 119,
"column": 42
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4162,
"end": 4174,
"loc": {
"start": {
"line": 119,
"column": 12
},
"end": {
"line": 119,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 4162,
"end": 4169,
"loc": {
"start": {
"line": 119,
"column": 12
},
"end": {
"line": 119,
"column": 19
},
"identifierName": "context"
},
"name": "context",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 4170,
"end": 4174,
"loc": {
"start": {
"line": 119,
"column": 20
},
"end": {
"line": 119,
"column": 24
},
"identifierName": "font"
},
"name": "font"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "StringLiteral",
"start": 4177,
"end": 4192,
"loc": {
"start": {
"line": 119,
"column": 27
},
"end": {
"line": 119,
"column": 42
}
},
"extra": {
"rawValue": "13px GameFont",
"raw": "\"13px GameFont\""
},
"value": "13px GameFont"
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Required",
"start": 4137,
"end": 4148,
"loc": {
"start": {
"line": 118,
"column": 12
},
"end": {
"line": 118,
"column": 23
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 4207,
"end": 4237,
"loc": {
"start": {
"line": 120,
"column": 12
},
"end": {
"line": 120,
"column": 42
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4207,
"end": 4236,
"loc": {
"start": {
"line": 120,
"column": 12
},
"end": {
"line": 120,
"column": 41
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4207,
"end": 4224,
"loc": {
"start": {
"line": 120,
"column": 12
},
"end": {
"line": 120,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 4207,
"end": 4214,
"loc": {
"start": {
"line": 120,
"column": 12
},
"end": {
"line": 120,
"column": 19
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4215,
"end": 4224,
"loc": {
"start": {
"line": 120,
"column": 20
},
"end": {
"line": 120,
"column": 29
},
"identifierName": "fillStyle"
},
"name": "fillStyle"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 4227,
"end": 4236,
"loc": {
"start": {
"line": 120,
"column": 32
},
"end": {
"line": 120,
"column": 41
}
},
"extra": {
"rawValue": "#a4a6b0",
"raw": "\"#a4a6b0\""
},
"value": "#a4a6b0"
}
}
},
{
"type": "ExpressionStatement",
"start": 4251,
"end": 4339,
"loc": {
"start": {
"line": 121,
"column": 12
},
"end": {
"line": 121,
"column": 100
}
},
"expression": {
"type": "CallExpression",
"start": 4251,
"end": 4338,
"loc": {
"start": {
"line": 121,
"column": 12
},
"end": {
"line": 121,
"column": 99
}
},
"callee": {
"type": "MemberExpression",
"start": 4251,
"end": 4267,
"loc": {
"start": {
"line": 121,
"column": 12
},
"end": {
"line": 121,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 4251,
"end": 4258,
"loc": {
"start": {
"line": 121,
"column": 12
},
"end": {
"line": 121,
"column": 19
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4259,
"end": 4267,
"loc": {
"start": {
"line": 121,
"column": 20
},
"end": {
"line": 121,
"column": 28
},
"identifierName": "fillText"
},
"name": "fillText"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 4268,
"end": 4306,
"loc": {
"start": {
"line": 121,
"column": 29
},
"end": {
"line": 121,
"column": 67
}
},
"left": {
"type": "StringLiteral",
"start": 4268,
"end": 4272,
"loc": {
"start": {
"line": 121,
"column": 29
},
"end": {
"line": 121,
"column": 33
}
},
"extra": {
"rawValue": "/ ",
"raw": "\"/ \""
},
"value": "/ "
},
"operator": "+",
"right": {
"type": "CallExpression",
"start": 4275,
"end": 4306,
"loc": {
"start": {
"line": 121,
"column": 36
},
"end": {
"line": 121,
"column": 67
}
},
"callee": {
"type": "Identifier",
"start": 4275,
"end": 4290,
"loc": {
"start": {
"line": 121,
"column": 36
},
"end": {
"line": 121,
"column": 51
},
"identifierName": "formatBigNumber"
},
"name": "formatBigNumber"
},
"arguments": [
{
"type": "MemberExpression",
"start": 4291,
"end": 4305,
"loc": {
"start": {
"line": 121,
"column": 52
},
"end": {
"line": 121,
"column": 66
}
},
"object": {
"type": "Identifier",
"start": 4291,
"end": 4296,
"loc": {
"start": {
"line": 121,
"column": 52
},
"end": {
"line": 121,
"column": 57
},
"identifierName": "goals"
},
"name": "goals"
},
"property": {
"type": "Identifier",
"start": 4297,
"end": 4305,
"loc": {
"start": {
"line": 121,
"column": 58
},
"end": {
"line": 121,
"column": 66
},
"identifierName": "required"
},
"name": "required"
},
"computed": false
}
]
}
},
{
"type": "Identifier",
"start": 4308,
"end": 4319,
"loc": {
"start": {
"line": 121,
"column": 69
},
"end": {
"line": 121,
"column": 80
},
"identifierName": "textOffsetX"
},
"name": "textOffsetX"
},
{
"type": "BinaryExpression",
"start": 4321,
"end": 4337,
"loc": {
"start": {
"line": 121,
"column": 82
},
"end": {
"line": 121,
"column": 98
}
},
"left": {
"type": "Identifier",
"start": 4321,
"end": 4332,
"loc": {
"start": {
"line": 121,
"column": 82
},
"end": {
"line": 121,
"column": 93
},
"identifierName": "textOffsetY"
},
"name": "textOffsetY"
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start": 4335,
"end": 4337,
"loc": {
"start": {
"line": 121,
"column": 96
},
"end": {
"line": 121,
"column": 98
}
},
"extra": {
"rawValue": 13,
"raw": "13"
},
"value": 13
}
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentLine",
"value": " Reward",
"start": 4362,
"end": 4371,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 17
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 4381,
"end": 4449,
"loc": {
"start": {
"line": 125,
"column": 8
},
"end": {
"line": 125,
"column": 76
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4387,
"end": 4448,
"loc": {
"start": {
"line": 125,
"column": 14
},
"end": {
"line": 125,
"column": 75
}
},
"id": {
"type": "Identifier",
"start": 4387,
"end": 4397,
"loc": {
"start": {
"line": 125,
"column": 14
},
"end": {
"line": 125,
"column": 24
},
"identifierName": "rewardText"
},
"name": "rewardText",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 4400,
"end": 4448,
"loc": {
"start": {
"line": 125,
"column": 27
},
"end": {
"line": 125,
"column": 75
}
},
"callee": {
"type": "MemberExpression",
"start": 4400,
"end": 4446,
"loc": {
"start": {
"line": 125,
"column": 27
},
"end": {
"line": 125,
"column": 73
}
},
"object": {
"type": "MemberExpression",
"start": 4400,
"end": 4434,
"loc": {
"start": {
"line": 125,
"column": 27
},
"end": {
"line": 125,
"column": 61
}
},
"object": {
"type": "MemberExpression",
"start": 4400,
"end": 4428,
"loc": {
"start": {
"line": 125,
"column": 27
},
"end": {
"line": 125,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 4400,
"end": 4414,
"loc": {
"start": {
"line": 125,
"column": 27
},
"end": {
"line": 125,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 4400,
"end": 4401,
"loc": {
"start": {
"line": 125,
"column": 27
},
"end": {
"line": 125,
"column": 28
},
"identifierName": "T"
},
"name": "T"
},
"property": {
"type": "Identifier",
"start": 4402,
"end": 4414,
"loc": {
"start": {
"line": 125,
"column": 29
},
"end": {
"line": 125,
"column": 41
},
"identifierName": "storyRewards"
},
"name": "storyRewards"
},
"computed": false
},
"property": {
"type": "MemberExpression",
"start": 4415,
"end": 4427,
"loc": {
"start": {
"line": 125,
"column": 42
},
"end": {
"line": 125,
"column": 54
}
},
"object": {
"type": "Identifier",
"start": 4415,
"end": 4420,
"loc": {
"start": {
"line": 125,
"column": 42
},
"end": {
"line": 125,
"column": 47
},
"identifierName": "goals"
},
"name": "goals"
},
"property": {
"type": "Identifier",
"start": 4421,
"end": 4427,
"loc": {
"start": {
"line": 125,
"column": 48
},
"end": {
"line": 125,
"column": 54
},
"identifierName": "reward"
},
"name": "reward"
},
"computed": false
},
"computed": true
},
"property": {
"type": "Identifier",
"start": 4429,
"end": 4434,
"loc": {
"start": {
"line": 125,
"column": 56
},
"end": {
"line": 125,
"column": 61
},
"identifierName": "title"
},
"name": "title"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4435,
"end": 4446,
"loc": {
"start": {
"line": 125,
"column": 62
},
"end": {
"line": 125,
"column": 73
},
"identifierName": "toUpperCase"
},
"name": "toUpperCase"
},
"computed": false
},
"arguments": []
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Reward",
"start": 4362,
"end": 4371,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 17
}
}
}
]
},
{
"type": "IfStatement",
"start": 4459,
"end": 4616,
"loc": {
"start": {
"line": 126,
"column": 8
},
"end": {
"line": 130,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 4463,
"end": 4485,
"loc": {
"start": {
"line": 126,
"column": 12
},
"end": {
"line": 126,
"column": 34
}
},
"left": {
"type": "MemberExpression",
"start": 4463,
"end": 4480,
"loc": {
"start": {
"line": 126,
"column": 12
},
"end": {
"line": 126,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 4463,
"end": 4473,
"loc": {
"start": {
"line": 126,
"column": 12
},
"end": {
"line": 126,
"column": 22
},
"identifierName": "rewardText"
},
"name": "rewardText"
},
"property": {
"type": "Identifier",
"start": 4474,
"end": 4480,
"loc": {
"start": {
"line": 126,
"column": 23
},
"end": {
"line": 126,
"column": 29
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 4483,
"end": 4485,
"loc": {
"start": {
"line": 126,
"column": 32
},
"end": {
"line": 126,
"column": 34
}
},
"extra": {
"rawValue": 12,
"raw": "12"
},
"value": 12
}
},
"consequent": {
"type": "BlockStatement",
"start": 4487,
"end": 4548,
"loc": {
"start": {
"line": 126,
"column": 36
},
"end": {
"line": 128,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4502,
"end": 4537,
"loc": {
"start": {
"line": 127,
"column": 12
},
"end": {
"line": 127,
"column": 47
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4502,
"end": 4536,
"loc": {
"start": {
"line": 127,
"column": 12
},
"end": {
"line": 127,
"column": 46
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4502,
"end": 4514,
"loc": {
"start": {
"line": 127,
"column": 12
},
"end": {
"line": 127,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 4502,
"end": 4509,
"loc": {
"start": {
"line": 127,
"column": 12
},
"end": {
"line": 127,
"column": 19
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4510,
"end": 4514,
"loc": {
"start": {
"line": 127,
"column": 20
},
"end": {
"line": 127,
"column": 24
},
"identifierName": "font"
},
"name": "font"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 4517,
"end": 4536,
"loc": {
"start": {
"line": 127,
"column": 27
},
"end": {
"line": 127,
"column": 46
}
},
"extra": {
"rawValue": "bold 8px GameFont",
"raw": "\"bold 8px GameFont\""
},
"value": "bold 8px GameFont"
}
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 4554,
"end": 4616,
"loc": {
"start": {
"line": 128,
"column": 15
},
"end": {
"line": 130,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4569,
"end": 4605,
"loc": {
"start": {
"line": 129,
"column": 12
},
"end": {
"line": 129,
"column": 48
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4569,
"end": 4604,
"loc": {
"start": {
"line": 129,
"column": 12
},
"end": {
"line": 129,
"column": 47
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4569,
"end": 4581,
"loc": {
"start": {
"line": 129,
"column": 12
},
"end": {
"line": 129,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 4569,
"end": 4576,
"loc": {
"start": {
"line": 129,
"column": 12
},
"end": {
"line": 129,
"column": 19
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4577,
"end": 4581,
"loc": {
"start": {
"line": 129,
"column": 20
},
"end": {
"line": 129,
"column": 24
},
"identifierName": "font"
},
"name": "font"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 4584,
"end": 4604,
"loc": {
"start": {
"line": 129,
"column": 27
},
"end": {
"line": 129,
"column": 47
}
},
"extra": {
"rawValue": "bold 10px GameFont",
"raw": "\"bold 10px GameFont\""
},
"value": "bold 10px GameFont"
}
}
}
],
"directives": []
}
},
{
"type": "ExpressionStatement",
"start": 4626,
"end": 4656,
"loc": {
"start": {
"line": 131,
"column": 8
},
"end": {
"line": 131,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4626,
"end": 4655,
"loc": {
"start": {
"line": 131,
"column": 8
},
"end": {
"line": 131,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4626,
"end": 4643,
"loc": {
"start": {
"line": 131,
"column": 8
},
"end": {
"line": 131,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 4626,
"end": 4633,
"loc": {
"start": {
"line": 131,
"column": 8
},
"end": {
"line": 131,
"column": 15
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4634,
"end": 4643,
"loc": {
"start": {
"line": 131,
"column": 16
},
"end": {
"line": 131,
"column": 25
},
"identifierName": "fillStyle"
},
"name": "fillStyle"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 4646,
"end": 4655,
"loc": {
"start": {
"line": 131,
"column": 28
},
"end": {
"line": 131,
"column": 37
}
},
"extra": {
"rawValue": "#fd0752",
"raw": "\"#fd0752\""
},
"value": "#fd0752"
}
}
},
{
"type": "ExpressionStatement",
"start": 4666,
"end": 4695,
"loc": {
"start": {
"line": 132,
"column": 8
},
"end": {
"line": 132,
"column": 37
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4666,
"end": 4694,
"loc": {
"start": {
"line": 132,
"column": 8
},
"end": {
"line": 132,
"column": 36
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4666,
"end": 4683,
"loc": {
"start": {
"line": 132,
"column": 8
},
"end": {
"line": 132,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 4666,
"end": 4673,
"loc": {
"start": {
"line": 132,
"column": 8
},
"end": {
"line": 132,
"column": 15
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4674,
"end": 4683,
"loc": {
"start": {
"line": 132,
"column": 16
},
"end": {
"line": 132,
"column": 25
},
"identifierName": "textAlign"
},
"name": "textAlign"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 4686,
"end": 4694,
"loc": {
"start": {
"line": 132,
"column": 28
},
"end": {
"line": 132,
"column": 36
}
},
"extra": {
"rawValue": "center",
"raw": "\"center\""
},
"value": "center"
}
}
},
{
"type": "ExpressionStatement",
"start": 4707,
"end": 4762,
"loc": {
"start": {
"line": 134,
"column": 8
},
"end": {
"line": 134,
"column": 63
}
},
"expression": {
"type": "CallExpression",
"start": 4707,
"end": 4761,
"loc": {
"start": {
"line": 134,
"column": 8
},
"end": {
"line": 134,
"column": 62
}
},
"callee": {
"type": "MemberExpression",
"start": 4707,
"end": 4723,
"loc": {
"start": {
"line": 134,
"column": 8
},
"end": {
"line": 134,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 4707,
"end": 4714,
"loc": {
"start": {
"line": 134,
"column": 8
},
"end": {
"line": 134,
"column": 15
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4715,
"end": 4723,
"loc": {
"start": {
"line": 134,
"column": 16
},
"end": {
"line": 134,
"column": 24
},
"identifierName": "fillText"
},
"name": "fillText"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 4724,
"end": 4734,
"loc": {
"start": {
"line": 134,
"column": 25
},
"end": {
"line": 134,
"column": 35
},
"identifierName": "rewardText"
},
"name": "rewardText"
},
{
"type": "BinaryExpression",
"start": 4736,
"end": 4755,
"loc": {
"start": {
"line": 134,
"column": 37
},
"end": {
"line": 134,
"column": 56
}
},
"left": {
"type": "Identifier",
"start": 4736,
"end": 4751,
"loc": {
"start": {
"line": 134,
"column": 37
},
"end": {
"line": 134,
"column": 52
},
"identifierName": "HUB_SIZE_PIXELS"
},
"name": "HUB_SIZE_PIXELS"
},
"operator": "/",
"right": {
"type": "NumericLiteral",
"start": 4754,
"end": 4755,
"loc": {
"start": {
"line": 134,
"column": 55
},
"end": {
"line": 134,
"column": 56
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
}
},
{
"type": "NumericLiteral",
"start": 4757,
"end": 4760,
"loc": {
"start": {
"line": 134,
"column": 58
},
"end": {
"line": 134,
"column": 61
}
},
"extra": {
"rawValue": 105,
"raw": "105"
},
"value": 105
}
]
},
"trailingComments": [
{
"type": "CommentLine",
"value": " Level \"8\"",
"start": 4774,
"end": 4786,
"loc": {
"start": {
"line": 136,
"column": 8
},
"end": {
"line": 136,
"column": 20
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 4796,
"end": 4832,
"loc": {
"start": {
"line": 137,
"column": 8
},
"end": {
"line": 137,
"column": 44
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4796,
"end": 4831,
"loc": {
"start": {
"line": 137,
"column": 8
},
"end": {
"line": 137,
"column": 43
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4796,
"end": 4808,
"loc": {
"start": {
"line": 137,
"column": 8
},
"end": {
"line": 137,
"column": 20
}
},
"object": {
"type": "Identifier",
"start": 4796,
"end": 4803,
"loc": {
"start": {
"line": 137,
"column": 8
},
"end": {
"line": 137,
"column": 15
},
"identifierName": "context"
},
"name": "context",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 4804,
"end": 4808,
"loc": {
"start": {
"line": 137,
"column": 16
},
"end": {
"line": 137,
"column": 20
},
"identifierName": "font"
},
"name": "font"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "StringLiteral",
"start": 4811,
"end": 4831,
"loc": {
"start": {
"line": 137,
"column": 23
},
"end": {
"line": 137,
"column": 43
}
},
"extra": {
"rawValue": "bold 10px GameFont",
"raw": "\"bold 10px GameFont\""
},
"value": "bold 10px GameFont"
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Level \"8\"",
"start": 4774,
"end": 4786,
"loc": {
"start": {
"line": 136,
"column": 8
},
"end": {
"line": 136,
"column": 20
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 4842,
"end": 4869,
"loc": {
"start": {
"line": 138,
"column": 8
},
"end": {
"line": 138,
"column": 35
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4842,
"end": 4868,
"loc": {
"start": {
"line": 138,
"column": 8
},
"end": {
"line": 138,
"column": 34
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4842,
"end": 4859,
"loc": {
"start": {
"line": 138,
"column": 8
},
"end": {
"line": 138,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 4842,
"end": 4849,
"loc": {
"start": {
"line": 138,
"column": 8
},
"end": {
"line": 138,
"column": 15
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4850,
"end": 4859,
"loc": {
"start": {
"line": 138,
"column": 16
},
"end": {
"line": 138,
"column": 25
},
"identifierName": "fillStyle"
},
"name": "fillStyle"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 4862,
"end": 4868,
"loc": {
"start": {
"line": 138,
"column": 28
},
"end": {
"line": 138,
"column": 34
}
},
"extra": {
"rawValue": "#fff",
"raw": "\"#fff\""
},
"value": "#fff"
}
}
},
{
"type": "ExpressionStatement",
"start": 4879,
"end": 4935,
"loc": {
"start": {
"line": 139,
"column": 8
},
"end": {
"line": 139,
"column": 64
}
},
"expression": {
"type": "CallExpression",
"start": 4879,
"end": 4934,
"loc": {
"start": {
"line": 139,
"column": 8
},
"end": {
"line": 139,
"column": 63
}
},
"callee": {
"type": "MemberExpression",
"start": 4879,
"end": 4895,
"loc": {
"start": {
"line": 139,
"column": 8
},
"end": {
"line": 139,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 4879,
"end": 4886,
"loc": {
"start": {
"line": 139,
"column": 8
},
"end": {
"line": 139,
"column": 15
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4887,
"end": 4895,
"loc": {
"start": {
"line": 139,
"column": 16
},
"end": {
"line": 139,
"column": 24
},
"identifierName": "fillText"
},
"name": "fillText"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 4896,
"end": 4925,
"loc": {
"start": {
"line": 139,
"column": 25
},
"end": {
"line": 139,
"column": 54
}
},
"left": {
"type": "StringLiteral",
"start": 4896,
"end": 4898,
"loc": {
"start": {
"line": 139,
"column": 25
},
"end": {
"line": 139,
"column": 27
}
},
"extra": {
"rawValue": "",
"raw": "\"\""
},
"value": ""
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 4901,
"end": 4925,
"loc": {
"start": {
"line": 139,
"column": 30
},
"end": {
"line": 139,
"column": 54
}
},
"object": {
"type": "MemberExpression",
"start": 4901,
"end": 4919,
"loc": {
"start": {
"line": 139,
"column": 30
},
"end": {
"line": 139,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 4901,
"end": 4910,
"loc": {
"start": {
"line": 139,
"column": 30
},
"end": {
"line": 139,
"column": 39
}
},
"object": {
"type": "ThisExpression",
"start": 4901,
"end": 4905,
"loc": {
"start": {
"line": 139,
"column": 30
},
"end": {
"line": 139,
"column": 34
}
}
},
"property": {
"type": "Identifier",
"start": 4906,
"end": 4910,
"loc": {
"start": {
"line": 139,
"column": 35
},
"end": {
"line": 139,
"column": 39
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4911,
"end": 4919,
"loc": {
"start": {
"line": 139,
"column": 40
},
"end": {
"line": 139,
"column": 48
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4920,
"end": 4925,
"loc": {
"start": {
"line": 139,
"column": 49
},
"end": {
"line": 139,
"column": 54
},
"identifierName": "level"
},
"name": "level"
},
"computed": false
}
},
{
"type": "NumericLiteral",
"start": 4927,
"end": 4929,
"loc": {
"start": {
"line": 139,
"column": 56
},
"end": {
"line": 139,
"column": 58
}
},
"extra": {
"rawValue": 27,
"raw": "27"
},
"value": 27
},
{
"type": "NumericLiteral",
"start": 4931,
"end": 4933,
"loc": {
"start": {
"line": 139,
"column": 60
},
"end": {
"line": 139,
"column": 62
}
},
"extra": {
"rawValue": 32,
"raw": "32"
},
"value": 32
}
]
},
"trailingComments": [
{
"type": "CommentLine",
"value": " \"LVL\"",
"start": 4947,
"end": 4955,
"loc": {
"start": {
"line": 141,
"column": 8
},
"end": {
"line": 141,
"column": 16
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 4965,
"end": 4994,
"loc": {
"start": {
"line": 142,
"column": 8
},
"end": {
"line": 142,
"column": 37
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4965,
"end": 4993,
"loc": {
"start": {
"line": 142,
"column": 8
},
"end": {
"line": 142,
"column": 36
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4965,
"end": 4982,
"loc": {
"start": {
"line": 142,
"column": 8
},
"end": {
"line": 142,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 4965,
"end": 4972,
"loc": {
"start": {
"line": 142,
"column": 8
},
"end": {
"line": 142,
"column": 15
},
"identifierName": "context"
},
"name": "context",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 4973,
"end": 4982,
"loc": {
"start": {
"line": 142,
"column": 16
},
"end": {
"line": 142,
"column": 25
},
"identifierName": "textAlign"
},
"name": "textAlign"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "StringLiteral",
"start": 4985,
"end": 4993,
"loc": {
"start": {
"line": 142,
"column": 28
},
"end": {
"line": 142,
"column": 36
}
},
"extra": {
"rawValue": "center",
"raw": "\"center\""
},
"value": "center"
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " \"LVL\"",
"start": 4947,
"end": 4955,
"loc": {
"start": {
"line": 141,
"column": 8
},
"end": {
"line": 141,
"column": 16
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 5004,
"end": 5031,
"loc": {
"start": {
"line": 143,
"column": 8
},
"end": {
"line": 143,
"column": 35
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5004,
"end": 5030,
"loc": {
"start": {
"line": 143,
"column": 8
},
"end": {
"line": 143,
"column": 34
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 5004,
"end": 5021,
"loc": {
"start": {
"line": 143,
"column": 8
},
"end": {
"line": 143,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 5004,
"end": 5011,
"loc": {
"start": {
"line": 143,
"column": 8
},
"end": {
"line": 143,
"column": 15
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 5012,
"end": 5021,
"loc": {
"start": {
"line": 143,
"column": 16
},
"end": {
"line": 143,
"column": 25
},
"identifierName": "fillStyle"
},
"name": "fillStyle"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 5024,
"end": 5030,
"loc": {
"start": {
"line": 143,
"column": 28
},
"end": {
"line": 143,
"column": 34
}
},
"extra": {
"rawValue": "#fff",
"raw": "\"#fff\""
},
"value": "#fff"
}
}
},
{
"type": "ExpressionStatement",
"start": 5041,
"end": 5076,
"loc": {
"start": {
"line": 144,
"column": 8
},
"end": {
"line": 144,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5041,
"end": 5075,
"loc": {
"start": {
"line": 144,
"column": 8
},
"end": {
"line": 144,
"column": 42
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 5041,
"end": 5053,
"loc": {
"start": {
"line": 144,
"column": 8
},
"end": {
"line": 144,
"column": 20
}
},
"object": {
"type": "Identifier",
"start": 5041,
"end": 5048,
"loc": {
"start": {
"line": 144,
"column": 8
},
"end": {
"line": 144,
"column": 15
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 5049,
"end": 5053,
"loc": {
"start": {
"line": 144,
"column": 16
},
"end": {
"line": 144,
"column": 20
},
"identifierName": "font"
},
"name": "font"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 5056,
"end": 5075,
"loc": {
"start": {
"line": 144,
"column": 23
},
"end": {
"line": 144,
"column": 42
}
},
"extra": {
"rawValue": "bold 6px GameFont",
"raw": "\"bold 6px GameFont\""
},
"value": "bold 6px GameFont"
}
}
},
{
"type": "ExpressionStatement",
"start": 5086,
"end": 5142,
"loc": {
"start": {
"line": 145,
"column": 8
},
"end": {
"line": 145,
"column": 64
}
},
"expression": {
"type": "CallExpression",
"start": 5086,
"end": 5141,
"loc": {
"start": {
"line": 145,
"column": 8
},
"end": {
"line": 145,
"column": 63
}
},
"callee": {
"type": "MemberExpression",
"start": 5086,
"end": 5102,
"loc": {
"start": {
"line": 145,
"column": 8
},
"end": {
"line": 145,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 5086,
"end": 5093,
"loc": {
"start": {
"line": 145,
"column": 8
},
"end": {
"line": 145,
"column": 15
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 5094,
"end": 5102,
"loc": {
"start": {
"line": 145,
"column": 16
},
"end": {
"line": 145,
"column": 24
},
"identifierName": "fillText"
},
"name": "fillText"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 5103,
"end": 5132,
"loc": {
"start": {
"line": 145,
"column": 25
},
"end": {
"line": 145,
"column": 54
}
},
"object": {
"type": "MemberExpression",
"start": 5103,
"end": 5118,
"loc": {
"start": {
"line": 145,
"column": 25
},
"end": {
"line": 145,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 5103,
"end": 5114,
"loc": {
"start": {
"line": 145,
"column": 25
},
"end": {
"line": 145,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 5103,
"end": 5104,
"loc": {
"start": {
"line": 145,
"column": 25
},
"end": {
"line": 145,
"column": 26
},
"identifierName": "T"
},
"name": "T"
},
"property": {
"type": "Identifier",
"start": 5105,
"end": 5114,
"loc": {
"start": {
"line": 145,
"column": 27
},
"end": {
"line": 145,
"column": 36
},
"identifierName": "buildings"
},
"name": "buildings"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5115,
"end": 5118,
"loc": {
"start": {
"line": 145,
"column": 37
},
"end": {
"line": 145,
"column": 40
},
"identifierName": "hub"
},
"name": "hub"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5119,
"end": 5132,
"loc": {
"start": {
"line": 145,
"column": 41
},
"end": {
"line": 145,
"column": 54
},
"identifierName": "levelShortcut"
},
"name": "levelShortcut"
},
"computed": false
},
{
"type": "NumericLiteral",
"start": 5134,
"end": 5136,
"loc": {
"start": {
"line": 145,
"column": 56
},
"end": {
"line": 145,
"column": 58
}
},
"extra": {
"rawValue": 27,
"raw": "27"
},
"value": 27
},
{
"type": "NumericLiteral",
"start": 5138,
"end": 5140,
"loc": {
"start": {
"line": 145,
"column": 60
},
"end": {
"line": 145,
"column": 62
}
},
"extra": {
"rawValue": 22,
"raw": "22"
},
"value": 22
}
]
},
"trailingComments": [
{
"type": "CommentLine",
"value": " \"Deliver\"",
"start": 5154,
"end": 5166,
"loc": {
"start": {
"line": 147,
"column": 8
},
"end": {
"line": 147,
"column": 20
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 5176,
"end": 5206,
"loc": {
"start": {
"line": 148,
"column": 8
},
"end": {
"line": 148,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5176,
"end": 5205,
"loc": {
"start": {
"line": 148,
"column": 8
},
"end": {
"line": 148,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 5176,
"end": 5193,
"loc": {
"start": {
"line": 148,
"column": 8
},
"end": {
"line": 148,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 5176,
"end": 5183,
"loc": {
"start": {
"line": 148,
"column": 8
},
"end": {
"line": 148,
"column": 15
},
"identifierName": "context"
},
"name": "context",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 5184,
"end": 5193,
"loc": {
"start": {
"line": 148,
"column": 16
},
"end": {
"line": 148,
"column": 25
},
"identifierName": "fillStyle"
},
"name": "fillStyle"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "StringLiteral",
"start": 5196,
"end": 5205,
"loc": {
"start": {
"line": 148,
"column": 28
},
"end": {
"line": 148,
"column": 37
}
},
"extra": {
"rawValue": "#64666e",
"raw": "\"#64666e\""
},
"value": "#64666e"
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " \"Deliver\"",
"start": 5154,
"end": 5166,
"loc": {
"start": {
"line": 147,
"column": 8
},
"end": {
"line": 147,
"column": 20
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 5216,
"end": 5252,
"loc": {
"start": {
"line": 149,
"column": 8
},
"end": {
"line": 149,
"column": 44
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5216,
"end": 5251,
"loc": {
"start": {
"line": 149,
"column": 8
},
"end": {
"line": 149,
"column": 43
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 5216,
"end": 5228,
"loc": {
"start": {
"line": 149,
"column": 8
},
"end": {
"line": 149,
"column": 20
}
},
"object": {
"type": "Identifier",
"start": 5216,
"end": 5223,
"loc": {
"start": {
"line": 149,
"column": 8
},
"end": {
"line": 149,
"column": 15
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 5224,
"end": 5228,
"loc": {
"start": {
"line": 149,
"column": 16
},
"end": {
"line": 149,
"column": 20
},
"identifierName": "font"
},
"name": "font"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 5231,
"end": 5251,
"loc": {
"start": {
"line": 149,
"column": 23
},
"end": {
"line": 149,
"column": 43
}
},
"extra": {
"rawValue": "bold 10px GameFont",
"raw": "\"bold 10px GameFont\""
},
"value": "bold 10px GameFont"
}
}
},
{
"type": "ExpressionStatement",
"start": 5262,
"end": 5343,
"loc": {
"start": {
"line": 150,
"column": 8
},
"end": {
"line": 150,
"column": 89
}
},
"expression": {
"type": "CallExpression",
"start": 5262,
"end": 5342,
"loc": {
"start": {
"line": 150,
"column": 8
},
"end": {
"line": 150,
"column": 88
}
},
"callee": {
"type": "MemberExpression",
"start": 5262,
"end": 5278,
"loc": {
"start": {
"line": 150,
"column": 8
},
"end": {
"line": 150,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 5262,
"end": 5269,
"loc": {
"start": {
"line": 150,
"column": 8
},
"end": {
"line": 150,
"column": 15
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 5270,
"end": 5278,
"loc": {
"start": {
"line": 150,
"column": 16
},
"end": {
"line": 150,
"column": 24
},
"identifierName": "fillText"
},
"name": "fillText"
},
"computed": false
},
"arguments": [
{
"type": "CallExpression",
"start": 5279,
"end": 5316,
"loc": {
"start": {
"line": 150,
"column": 25
},
"end": {
"line": 150,
"column": 62
}
},
"callee": {
"type": "MemberExpression",
"start": 5279,
"end": 5314,
"loc": {
"start": {
"line": 150,
"column": 25
},
"end": {
"line": 150,
"column": 60
}
},
"object": {
"type": "MemberExpression",
"start": 5279,
"end": 5302,
"loc": {
"start": {
"line": 150,
"column": 25
},
"end": {
"line": 150,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 5279,
"end": 5294,
"loc": {
"start": {
"line": 150,
"column": 25
},
"end": {
"line": 150,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 5279,
"end": 5290,
"loc": {
"start": {
"line": 150,
"column": 25
},
"end": {
"line": 150,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 5279,
"end": 5280,
"loc": {
"start": {
"line": 150,
"column": 25
},
"end": {
"line": 150,
"column": 26
},
"identifierName": "T"
},
"name": "T"
},
"property": {
"type": "Identifier",
"start": 5281,
"end": 5290,
"loc": {
"start": {
"line": 150,
"column": 27
},
"end": {
"line": 150,
"column": 36
},
"identifierName": "buildings"
},
"name": "buildings"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5291,
"end": 5294,
"loc": {
"start": {
"line": 150,
"column": 37
},
"end": {
"line": 150,
"column": 40
},
"identifierName": "hub"
},
"name": "hub"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5295,
"end": 5302,
"loc": {
"start": {
"line": 150,
"column": 41
},
"end": {
"line": 150,
"column": 48
},
"identifierName": "deliver"
},
"name": "deliver"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5303,
"end": 5314,
"loc": {
"start": {
"line": 150,
"column": 49
},
"end": {
"line": 150,
"column": 60
},
"identifierName": "toUpperCase"
},
"name": "toUpperCase"
},
"computed": false
},
"arguments": []
},
{
"type": "BinaryExpression",
"start": 5318,
"end": 5337,
"loc": {
"start": {
"line": 150,
"column": 64
},
"end": {
"line": 150,
"column": 83
}
},
"left": {
"type": "Identifier",
"start": 5318,
"end": 5333,
"loc": {
"start": {
"line": 150,
"column": 64
},
"end": {
"line": 150,
"column": 79
},
"identifierName": "HUB_SIZE_PIXELS"
},
"name": "HUB_SIZE_PIXELS"
},
"operator": "/",
"right": {
"type": "NumericLiteral",
"start": 5336,
"end": 5337,
"loc": {
"start": {
"line": 150,
"column": 82
},
"end": {
"line": 150,
"column": 83
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
}
},
{
"type": "NumericLiteral",
"start": 5339,
"end": 5341,
"loc": {
"start": {
"line": 150,
"column": 85
},
"end": {
"line": 150,
"column": 87
}
},
"extra": {
"rawValue": 30,
"raw": "30"
},
"value": 30
}
]
},
"trailingComments": [
{
"type": "CommentLine",
"value": " \"To unlock\"",
"start": 5355,
"end": 5369,
"loc": {
"start": {
"line": 152,
"column": 8
},
"end": {
"line": 152,
"column": 22
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 5379,
"end": 5437,
"loc": {
"start": {
"line": 153,
"column": 8
},
"end": {
"line": 153,
"column": 66
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5385,
"end": 5436,
"loc": {
"start": {
"line": 153,
"column": 14
},
"end": {
"line": 153,
"column": 65
}
},
"id": {
"type": "Identifier",
"start": 5385,
"end": 5395,
"loc": {
"start": {
"line": 153,
"column": 14
},
"end": {
"line": 153,
"column": 24
},
"identifierName": "unlockText"
},
"name": "unlockText",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 5398,
"end": 5436,
"loc": {
"start": {
"line": 153,
"column": 27
},
"end": {
"line": 153,
"column": 65
}
},
"callee": {
"type": "MemberExpression",
"start": 5398,
"end": 5434,
"loc": {
"start": {
"line": 153,
"column": 27
},
"end": {
"line": 153,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 5398,
"end": 5422,
"loc": {
"start": {
"line": 153,
"column": 27
},
"end": {
"line": 153,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 5398,
"end": 5413,
"loc": {
"start": {
"line": 153,
"column": 27
},
"end": {
"line": 153,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 5398,
"end": 5409,
"loc": {
"start": {
"line": 153,
"column": 27
},
"end": {
"line": 153,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 5398,
"end": 5399,
"loc": {
"start": {
"line": 153,
"column": 27
},
"end": {
"line": 153,
"column": 28
},
"identifierName": "T"
},
"name": "T"
},
"property": {
"type": "Identifier",
"start": 5400,
"end": 5409,
"loc": {
"start": {
"line": 153,
"column": 29
},
"end": {
"line": 153,
"column": 38
},
"identifierName": "buildings"
},
"name": "buildings"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5410,
"end": 5413,
"loc": {
"start": {
"line": 153,
"column": 39
},
"end": {
"line": 153,
"column": 42
},
"identifierName": "hub"
},
"name": "hub"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5414,
"end": 5422,
"loc": {
"start": {
"line": 153,
"column": 43
},
"end": {
"line": 153,
"column": 51
},
"identifierName": "toUnlock"
},
"name": "toUnlock"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5423,
"end": 5434,
"loc": {
"start": {
"line": 153,
"column": 52
},
"end": {
"line": 153,
"column": 63
},
"identifierName": "toUpperCase"
},
"name": "toUpperCase"
},
"computed": false
},
"arguments": []
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " \"To unlock\"",
"start": 5355,
"end": 5369,
"loc": {
"start": {
"line": 152,
"column": 8
},
"end": {
"line": 152,
"column": 22
}
}
}
]
},
{
"type": "IfStatement",
"start": 5447,
"end": 5604,
"loc": {
"start": {
"line": 154,
"column": 8
},
"end": {
"line": 158,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 5451,
"end": 5473,
"loc": {
"start": {
"line": 154,
"column": 12
},
"end": {
"line": 154,
"column": 34
}
},
"left": {
"type": "MemberExpression",
"start": 5451,
"end": 5468,
"loc": {
"start": {
"line": 154,
"column": 12
},
"end": {
"line": 154,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 5451,
"end": 5461,
"loc": {
"start": {
"line": 154,
"column": 12
},
"end": {
"line": 154,
"column": 22
},
"identifierName": "unlockText"
},
"name": "unlockText"
},
"property": {
"type": "Identifier",
"start": 5462,
"end": 5468,
"loc": {
"start": {
"line": 154,
"column": 23
},
"end": {
"line": 154,
"column": 29
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 5471,
"end": 5473,
"loc": {
"start": {
"line": 154,
"column": 32
},
"end": {
"line": 154,
"column": 34
}
},
"extra": {
"rawValue": 15,
"raw": "15"
},
"value": 15
}
},
"consequent": {
"type": "BlockStatement",
"start": 5475,
"end": 5536,
"loc": {
"start": {
"line": 154,
"column": 36
},
"end": {
"line": 156,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 5490,
"end": 5525,
"loc": {
"start": {
"line": 155,
"column": 12
},
"end": {
"line": 155,
"column": 47
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5490,
"end": 5524,
"loc": {
"start": {
"line": 155,
"column": 12
},
"end": {
"line": 155,
"column": 46
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 5490,
"end": 5502,
"loc": {
"start": {
"line": 155,
"column": 12
},
"end": {
"line": 155,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 5490,
"end": 5497,
"loc": {
"start": {
"line": 155,
"column": 12
},
"end": {
"line": 155,
"column": 19
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 5498,
"end": 5502,
"loc": {
"start": {
"line": 155,
"column": 20
},
"end": {
"line": 155,
"column": 24
},
"identifierName": "font"
},
"name": "font"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 5505,
"end": 5524,
"loc": {
"start": {
"line": 155,
"column": 27
},
"end": {
"line": 155,
"column": 46
}
},
"extra": {
"rawValue": "bold 8px GameFont",
"raw": "\"bold 8px GameFont\""
},
"value": "bold 8px GameFont"
}
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 5542,
"end": 5604,
"loc": {
"start": {
"line": 156,
"column": 15
},
"end": {
"line": 158,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 5557,
"end": 5593,
"loc": {
"start": {
"line": 157,
"column": 12
},
"end": {
"line": 157,
"column": 48
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5557,
"end": 5592,
"loc": {
"start": {
"line": 157,
"column": 12
},
"end": {
"line": 157,
"column": 47
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 5557,
"end": 5569,
"loc": {
"start": {
"line": 157,
"column": 12
},
"end": {
"line": 157,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 5557,
"end": 5564,
"loc": {
"start": {
"line": 157,
"column": 12
},
"end": {
"line": 157,
"column": 19
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 5565,
"end": 5569,
"loc": {
"start": {
"line": 157,
"column": 20
},
"end": {
"line": 157,
"column": 24
},
"identifierName": "font"
},
"name": "font"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 5572,
"end": 5592,
"loc": {
"start": {
"line": 157,
"column": 27
},
"end": {
"line": 157,
"column": 47
}
},
"extra": {
"rawValue": "bold 10px GameFont",
"raw": "\"bold 10px GameFont\""
},
"value": "bold 10px GameFont"
}
}
}
],
"directives": []
}
},
{
"type": "ExpressionStatement",
"start": 5614,
"end": 5696,
"loc": {
"start": {
"line": 159,
"column": 8
},
"end": {
"line": 159,
"column": 90
}
},
"expression": {
"type": "CallExpression",
"start": 5614,
"end": 5695,
"loc": {
"start": {
"line": 159,
"column": 8
},
"end": {
"line": 159,
"column": 89
}
},
"callee": {
"type": "MemberExpression",
"start": 5614,
"end": 5630,
"loc": {
"start": {
"line": 159,
"column": 8
},
"end": {
"line": 159,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 5614,
"end": 5621,
"loc": {
"start": {
"line": 159,
"column": 8
},
"end": {
"line": 159,
"column": 15
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 5622,
"end": 5630,
"loc": {
"start": {
"line": 159,
"column": 16
},
"end": {
"line": 159,
"column": 24
},
"identifierName": "fillText"
},
"name": "fillText"
},
"computed": false
},
"arguments": [
{
"type": "CallExpression",
"start": 5631,
"end": 5669,
"loc": {
"start": {
"line": 159,
"column": 25
},
"end": {
"line": 159,
"column": 63
}
},
"callee": {
"type": "MemberExpression",
"start": 5631,
"end": 5667,
"loc": {
"start": {
"line": 159,
"column": 25
},
"end": {
"line": 159,
"column": 61
}
},
"object": {
"type": "MemberExpression",
"start": 5631,
"end": 5655,
"loc": {
"start": {
"line": 159,
"column": 25
},
"end": {
"line": 159,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 5631,
"end": 5646,
"loc": {
"start": {
"line": 159,
"column": 25
},
"end": {
"line": 159,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 5631,
"end": 5642,
"loc": {
"start": {
"line": 159,
"column": 25
},
"end": {
"line": 159,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 5631,
"end": 5632,
"loc": {
"start": {
"line": 159,
"column": 25
},
"end": {
"line": 159,
"column": 26
},
"identifierName": "T"
},
"name": "T"
},
"property": {
"type": "Identifier",
"start": 5633,
"end": 5642,
"loc": {
"start": {
"line": 159,
"column": 27
},
"end": {
"line": 159,
"column": 36
},
"identifierName": "buildings"
},
"name": "buildings"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5643,
"end": 5646,
"loc": {
"start": {
"line": 159,
"column": 37
},
"end": {
"line": 159,
"column": 40
},
"identifierName": "hub"
},
"name": "hub"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5647,
"end": 5655,
"loc": {
"start": {
"line": 159,
"column": 41
},
"end": {
"line": 159,
"column": 49
},
"identifierName": "toUnlock"
},
"name": "toUnlock"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5656,
"end": 5667,
"loc": {
"start": {
"line": 159,
"column": 50
},
"end": {
"line": 159,
"column": 61
},
"identifierName": "toUpperCase"
},
"name": "toUpperCase"
},
"computed": false
},
"arguments": []
},
{
"type": "BinaryExpression",
"start": 5671,
"end": 5690,
"loc": {
"start": {
"line": 159,
"column": 65
},
"end": {
"line": 159,
"column": 84
}
},
"left": {
"type": "Identifier",
"start": 5671,
"end": 5686,
"loc": {
"start": {
"line": 159,
"column": 65
},
"end": {
"line": 159,
"column": 80
},
"identifierName": "HUB_SIZE_PIXELS"
},
"name": "HUB_SIZE_PIXELS"
},
"operator": "/",
"right": {
"type": "NumericLiteral",
"start": 5689,
"end": 5690,
"loc": {
"start": {
"line": 159,
"column": 83
},
"end": {
"line": 159,
"column": 84
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
}
},
{
"type": "NumericLiteral",
"start": 5692,
"end": 5694,
"loc": {
"start": {
"line": 159,
"column": 86
},
"end": {
"line": 159,
"column": 88
}
},
"extra": {
"rawValue": 92,
"raw": "92"
},
"value": 92
}
]
}
},
{
"type": "ExpressionStatement",
"start": 5708,
"end": 5735,
"loc": {
"start": {
"line": 161,
"column": 8
},
"end": {
"line": 161,
"column": 35
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5708,
"end": 5734,
"loc": {
"start": {
"line": 161,
"column": 8
},
"end": {
"line": 161,
"column": 34
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 5708,
"end": 5725,
"loc": {
"start": {
"line": 161,
"column": 8
},
"end": {
"line": 161,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 5708,
"end": 5715,
"loc": {
"start": {
"line": 161,
"column": 8
},
"end": {
"line": 161,
"column": 15
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 5716,
"end": 5725,
"loc": {
"start": {
"line": 161,
"column": 16
},
"end": {
"line": 161,
"column": 25
},
"identifierName": "textAlign"
},
"name": "textAlign"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 5728,
"end": 5734,
"loc": {
"start": {
"line": 161,
"column": 28
},
"end": {
"line": 161,
"column": 34
}
},
"extra": {
"rawValue": "left",
"raw": "\"left\""
},
"value": "left"
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {HTMLCanvasElement} canvas\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} w\r\n * @param {number} h\r\n * @param {number} dpi\r\n ",
"start": 1663,
"end": 1883,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 54,
"column": 11
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {DrawParameters} parameters\r\n * @param {Entity} entity\r\n ",
"start": 5750,
"end": 5836,
"loc": {
"start": {
"line": 164,
"column": 4
},
"end": {
"line": 167,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 5842,
"end": 7088,
"loc": {
"start": {
"line": 168,
"column": 4
},
"end": {
"line": 199,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5842,
"end": 5852,
"loc": {
"start": {
"line": 168,
"column": 4
},
"end": {
"line": 168,
"column": 14
},
"identifierName": "drawEntity"
},
"name": "drawEntity",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 5853,
"end": 5863,
"loc": {
"start": {
"line": 168,
"column": 15
},
"end": {
"line": 168,
"column": 25
},
"identifierName": "parameters"
},
"name": "parameters"
},
{
"type": "Identifier",
"start": 5865,
"end": 5871,
"loc": {
"start": {
"line": 168,
"column": 27
},
"end": {
"line": 168,
"column": 33
},
"identifierName": "entity"
},
"name": "entity"
}
],
"body": {
"type": "BlockStatement",
"start": 5873,
"end": 7088,
"loc": {
"start": {
"line": 168,
"column": 35
},
"end": {
"line": 199,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 5884,
"end": 5937,
"loc": {
"start": {
"line": 169,
"column": 8
},
"end": {
"line": 169,
"column": 61
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5890,
"end": 5936,
"loc": {
"start": {
"line": 169,
"column": 14
},
"end": {
"line": 169,
"column": 60
}
},
"id": {
"type": "Identifier",
"start": 5890,
"end": 5900,
"loc": {
"start": {
"line": 169,
"column": 14
},
"end": {
"line": 169,
"column": 24
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"init": {
"type": "MemberExpression",
"start": 5903,
"end": 5936,
"loc": {
"start": {
"line": 169,
"column": 27
},
"end": {
"line": 169,
"column": 60
}
},
"object": {
"type": "MemberExpression",
"start": 5903,
"end": 5920,
"loc": {
"start": {
"line": 169,
"column": 27
},
"end": {
"line": 169,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 5903,
"end": 5909,
"loc": {
"start": {
"line": 169,
"column": 27
},
"end": {
"line": 169,
"column": 33
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 5910,
"end": 5920,
"loc": {
"start": {
"line": 169,
"column": 34
},
"end": {
"line": 169,
"column": 44
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5921,
"end": 5936,
"loc": {
"start": {
"line": 169,
"column": 45
},
"end": {
"line": 169,
"column": 60
},
"identifierName": "StaticMapEntity"
},
"name": "StaticMapEntity"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 5947,
"end": 6023,
"loc": {
"start": {
"line": 170,
"column": 8
},
"end": {
"line": 172,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 5951,
"end": 5988,
"loc": {
"start": {
"line": 170,
"column": 12
},
"end": {
"line": 170,
"column": 49
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 5952,
"end": 5988,
"loc": {
"start": {
"line": 170,
"column": 13
},
"end": {
"line": 170,
"column": 49
}
},
"callee": {
"type": "MemberExpression",
"start": 5952,
"end": 5976,
"loc": {
"start": {
"line": 170,
"column": 13
},
"end": {
"line": 170,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 5952,
"end": 5962,
"loc": {
"start": {
"line": 170,
"column": 13
},
"end": {
"line": 170,
"column": 23
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 5963,
"end": 5976,
"loc": {
"start": {
"line": 170,
"column": 24
},
"end": {
"line": 170,
"column": 37
},
"identifierName": "shouldBeDrawn"
},
"name": "shouldBeDrawn"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 5977,
"end": 5987,
"loc": {
"start": {
"line": 170,
"column": 38
},
"end": {
"line": 170,
"column": 48
},
"identifierName": "parameters"
},
"name": "parameters"
}
]
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 5990,
"end": 6023,
"loc": {
"start": {
"line": 170,
"column": 51
},
"end": {
"line": 172,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 6005,
"end": 6012,
"loc": {
"start": {
"line": 171,
"column": 12
},
"end": {
"line": 171,
"column": 19
}
},
"argument": null
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " Deliver count",
"start": 6035,
"end": 6051,
"loc": {
"start": {
"line": 174,
"column": 8
},
"end": {
"line": 174,
"column": 24
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 6061,
"end": 6124,
"loc": {
"start": {
"line": 175,
"column": 8
},
"end": {
"line": 175,
"column": 71
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6067,
"end": 6123,
"loc": {
"start": {
"line": 175,
"column": 14
},
"end": {
"line": 175,
"column": 70
}
},
"id": {
"type": "Identifier",
"start": 6067,
"end": 6076,
"loc": {
"start": {
"line": 175,
"column": 14
},
"end": {
"line": 175,
"column": 23
},
"identifierName": "delivered"
},
"name": "delivered",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 6079,
"end": 6123,
"loc": {
"start": {
"line": 175,
"column": 26
},
"end": {
"line": 175,
"column": 70
}
},
"callee": {
"type": "MemberExpression",
"start": 6079,
"end": 6121,
"loc": {
"start": {
"line": 175,
"column": 26
},
"end": {
"line": 175,
"column": 68
}
},
"object": {
"type": "MemberExpression",
"start": 6079,
"end": 6097,
"loc": {
"start": {
"line": 175,
"column": 26
},
"end": {
"line": 175,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 6079,
"end": 6088,
"loc": {
"start": {
"line": 175,
"column": 26
},
"end": {
"line": 175,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 6079,
"end": 6083,
"loc": {
"start": {
"line": 175,
"column": 26
},
"end": {
"line": 175,
"column": 30
}
}
},
"property": {
"type": "Identifier",
"start": 6084,
"end": 6088,
"loc": {
"start": {
"line": 175,
"column": 31
},
"end": {
"line": 175,
"column": 35
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6089,
"end": 6097,
"loc": {
"start": {
"line": 175,
"column": 36
},
"end": {
"line": 175,
"column": 44
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6098,
"end": 6121,
"loc": {
"start": {
"line": 175,
"column": 45
},
"end": {
"line": 175,
"column": 68
},
"identifierName": "getCurrentGoalDelivered"
},
"name": "getCurrentGoalDelivered"
},
"computed": false
},
"arguments": []
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Deliver count",
"start": 6035,
"end": 6051,
"loc": {
"start": {
"line": 174,
"column": 8
},
"end": {
"line": 174,
"column": 24
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 6134,
"end": 6188,
"loc": {
"start": {
"line": 176,
"column": 8
},
"end": {
"line": 176,
"column": 62
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6140,
"end": 6187,
"loc": {
"start": {
"line": 176,
"column": 14
},
"end": {
"line": 176,
"column": 61
}
},
"id": {
"type": "Identifier",
"start": 6140,
"end": 6153,
"loc": {
"start": {
"line": 176,
"column": 14
},
"end": {
"line": 176,
"column": 27
},
"identifierName": "deliveredText"
},
"name": "deliveredText"
},
"init": {
"type": "BinaryExpression",
"start": 6156,
"end": 6187,
"loc": {
"start": {
"line": 176,
"column": 30
},
"end": {
"line": 176,
"column": 61
}
},
"left": {
"type": "StringLiteral",
"start": 6156,
"end": 6158,
"loc": {
"start": {
"line": 176,
"column": 30
},
"end": {
"line": 176,
"column": 32
}
},
"extra": {
"rawValue": "",
"raw": "\"\""
},
"value": ""
},
"operator": "+",
"right": {
"type": "CallExpression",
"start": 6161,
"end": 6187,
"loc": {
"start": {
"line": 176,
"column": 35
},
"end": {
"line": 176,
"column": 61
}
},
"callee": {
"type": "Identifier",
"start": 6161,
"end": 6176,
"loc": {
"start": {
"line": 176,
"column": 35
},
"end": {
"line": 176,
"column": 50
},
"identifierName": "formatBigNumber"
},
"name": "formatBigNumber"
},
"arguments": [
{
"type": "Identifier",
"start": 6177,
"end": 6186,
"loc": {
"start": {
"line": 176,
"column": 51
},
"end": {
"line": 176,
"column": 60
},
"identifierName": "delivered"
},
"name": "delivered"
}
]
}
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 6200,
"end": 6277,
"loc": {
"start": {
"line": 178,
"column": 8
},
"end": {
"line": 178,
"column": 85
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6206,
"end": 6276,
"loc": {
"start": {
"line": 178,
"column": 14
},
"end": {
"line": 178,
"column": 84
}
},
"id": {
"type": "Identifier",
"start": 6206,
"end": 6209,
"loc": {
"start": {
"line": 178,
"column": 14
},
"end": {
"line": 178,
"column": 17
},
"identifierName": "dpi"
},
"name": "dpi"
},
"init": {
"type": "CallExpression",
"start": 6212,
"end": 6276,
"loc": {
"start": {
"line": 178,
"column": 20
},
"end": {
"line": 178,
"column": 84
}
},
"callee": {
"type": "Identifier",
"start": 6212,
"end": 6223,
"loc": {
"start": {
"line": 178,
"column": 20
},
"end": {
"line": 178,
"column": 31
},
"identifierName": "smoothenDpi"
},
"name": "smoothenDpi"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 6224,
"end": 6275,
"loc": {
"start": {
"line": 178,
"column": 32
},
"end": {
"line": 178,
"column": 83
}
},
"left": {
"type": "MemberExpression",
"start": 6224,
"end": 6252,
"loc": {
"start": {
"line": 178,
"column": 32
},
"end": {
"line": 178,
"column": 60
}
},
"object": {
"type": "Identifier",
"start": 6224,
"end": 6236,
"loc": {
"start": {
"line": 178,
"column": 32
},
"end": {
"line": 178,
"column": 44
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 6237,
"end": 6252,
"loc": {
"start": {
"line": 178,
"column": 45
},
"end": {
"line": 178,
"column": 60
},
"identifierName": "shapesSharpness"
},
"name": "shapesSharpness"
},
"computed": false
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 6255,
"end": 6275,
"loc": {
"start": {
"line": 178,
"column": 63
},
"end": {
"line": 178,
"column": 83
}
},
"object": {
"type": "Identifier",
"start": 6255,
"end": 6265,
"loc": {
"start": {
"line": 178,
"column": 63
},
"end": {
"line": 178,
"column": 73
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 6266,
"end": 6275,
"loc": {
"start": {
"line": 178,
"column": 74
},
"end": {
"line": 178,
"column": 83
},
"identifierName": "zoomLevel"
},
"name": "zoomLevel"
},
"computed": false
}
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 6287,
"end": 6625,
"loc": {
"start": {
"line": 179,
"column": 8
},
"end": {
"line": 186,
"column": 11
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6293,
"end": 6624,
"loc": {
"start": {
"line": 179,
"column": 14
},
"end": {
"line": 186,
"column": 10
}
},
"id": {
"type": "Identifier",
"start": 6293,
"end": 6299,
"loc": {
"start": {
"line": 179,
"column": 14
},
"end": {
"line": 179,
"column": 20
},
"identifierName": "canvas"
},
"name": "canvas"
},
"init": {
"type": "CallExpression",
"start": 6302,
"end": 6624,
"loc": {
"start": {
"line": 179,
"column": 23
},
"end": {
"line": 186,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 6302,
"end": 6335,
"loc": {
"start": {
"line": 179,
"column": 23
},
"end": {
"line": 179,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 6302,
"end": 6325,
"loc": {
"start": {
"line": 179,
"column": 23
},
"end": {
"line": 179,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 6302,
"end": 6317,
"loc": {
"start": {
"line": 179,
"column": 23
},
"end": {
"line": 179,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 6302,
"end": 6312,
"loc": {
"start": {
"line": 179,
"column": 23
},
"end": {
"line": 179,
"column": 33
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 6313,
"end": 6317,
"loc": {
"start": {
"line": 179,
"column": 34
},
"end": {
"line": 179,
"column": 38
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6318,
"end": 6325,
"loc": {
"start": {
"line": 179,
"column": 39
},
"end": {
"line": 179,
"column": 46
},
"identifierName": "buffers"
},
"name": "buffers"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6326,
"end": 6335,
"loc": {
"start": {
"line": 179,
"column": 47
},
"end": {
"line": 179,
"column": 56
},
"identifierName": "getForKey"
},
"name": "getForKey"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 6336,
"end": 6623,
"loc": {
"start": {
"line": 179,
"column": 57
},
"end": {
"line": 186,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 6351,
"end": 6361,
"loc": {
"start": {
"line": 180,
"column": 12
},
"end": {
"line": 180,
"column": 22
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6351,
"end": 6354,
"loc": {
"start": {
"line": 180,
"column": 12
},
"end": {
"line": 180,
"column": 15
},
"identifierName": "key"
},
"name": "key"
},
"value": {
"type": "StringLiteral",
"start": 6356,
"end": 6361,
"loc": {
"start": {
"line": 180,
"column": 17
},
"end": {
"line": 180,
"column": 22
}
},
"extra": {
"rawValue": "hub",
"raw": "\"hub\""
},
"value": "hub"
}
},
{
"type": "ObjectProperty",
"start": 6376,
"end": 6442,
"loc": {
"start": {
"line": 181,
"column": 12
},
"end": {
"line": 181,
"column": 78
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6376,
"end": 6382,
"loc": {
"start": {
"line": 181,
"column": 12
},
"end": {
"line": 181,
"column": 18
},
"identifierName": "subKey"
},
"name": "subKey"
},
"value": {
"type": "BinaryExpression",
"start": 6384,
"end": 6442,
"loc": {
"start": {
"line": 181,
"column": 20
},
"end": {
"line": 181,
"column": 78
}
},
"left": {
"type": "BinaryExpression",
"start": 6384,
"end": 6426,
"loc": {
"start": {
"line": 181,
"column": 20
},
"end": {
"line": 181,
"column": 62
}
},
"left": {
"type": "BinaryExpression",
"start": 6384,
"end": 6420,
"loc": {
"start": {
"line": 181,
"column": 20
},
"end": {
"line": 181,
"column": 56
}
},
"left": {
"type": "BinaryExpression",
"start": 6384,
"end": 6393,
"loc": {
"start": {
"line": 181,
"column": 20
},
"end": {
"line": 181,
"column": 29
}
},
"left": {
"type": "Identifier",
"start": 6384,
"end": 6387,
"loc": {
"start": {
"line": 181,
"column": 20
},
"end": {
"line": 181,
"column": 23
},
"identifierName": "dpi"
},
"name": "dpi"
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 6390,
"end": 6393,
"loc": {
"start": {
"line": 181,
"column": 26
},
"end": {
"line": 181,
"column": 29
}
},
"extra": {
"rawValue": "/",
"raw": "\"/\""
},
"value": "/"
}
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 6396,
"end": 6420,
"loc": {
"start": {
"line": 181,
"column": 32
},
"end": {
"line": 181,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 6396,
"end": 6414,
"loc": {
"start": {
"line": 181,
"column": 32
},
"end": {
"line": 181,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 6396,
"end": 6405,
"loc": {
"start": {
"line": 181,
"column": 32
},
"end": {
"line": 181,
"column": 41
}
},
"object": {
"type": "ThisExpression",
"start": 6396,
"end": 6400,
"loc": {
"start": {
"line": 181,
"column": 32
},
"end": {
"line": 181,
"column": 36
}
}
},
"property": {
"type": "Identifier",
"start": 6401,
"end": 6405,
"loc": {
"start": {
"line": 181,
"column": 37
},
"end": {
"line": 181,
"column": 41
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6406,
"end": 6414,
"loc": {
"start": {
"line": 181,
"column": 42
},
"end": {
"line": 181,
"column": 50
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6415,
"end": 6420,
"loc": {
"start": {
"line": 181,
"column": 51
},
"end": {
"line": 181,
"column": 56
},
"identifierName": "level"
},
"name": "level"
},
"computed": false
}
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 6423,
"end": 6426,
"loc": {
"start": {
"line": 181,
"column": 59
},
"end": {
"line": 181,
"column": 62
}
},
"extra": {
"rawValue": "/",
"raw": "\"/\""
},
"value": "/"
}
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 6429,
"end": 6442,
"loc": {
"start": {
"line": 181,
"column": 65
},
"end": {
"line": 181,
"column": 78
},
"identifierName": "deliveredText"
},
"name": "deliveredText"
}
}
},
{
"type": "ObjectProperty",
"start": 6457,
"end": 6485,
"loc": {
"start": {
"line": 182,
"column": 12
},
"end": {
"line": 182,
"column": 40
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6457,
"end": 6458,
"loc": {
"start": {
"line": 182,
"column": 12
},
"end": {
"line": 182,
"column": 13
},
"identifierName": "w"
},
"name": "w"
},
"value": {
"type": "BinaryExpression",
"start": 6460,
"end": 6485,
"loc": {
"start": {
"line": 182,
"column": 15
},
"end": {
"line": 182,
"column": 40
}
},
"left": {
"type": "MemberExpression",
"start": 6460,
"end": 6481,
"loc": {
"start": {
"line": 182,
"column": 15
},
"end": {
"line": 182,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 6460,
"end": 6472,
"loc": {
"start": {
"line": 182,
"column": 15
},
"end": {
"line": 182,
"column": 27
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 6473,
"end": 6481,
"loc": {
"start": {
"line": 182,
"column": 28
},
"end": {
"line": 182,
"column": 36
},
"identifierName": "tileSize"
},
"name": "tileSize"
},
"computed": false
},
"operator": "*",
"right": {
"type": "NumericLiteral",
"start": 6484,
"end": 6485,
"loc": {
"start": {
"line": 182,
"column": 39
},
"end": {
"line": 182,
"column": 40
}
},
"extra": {
"rawValue": 4,
"raw": "4"
},
"value": 4
}
}
},
{
"type": "ObjectProperty",
"start": 6500,
"end": 6528,
"loc": {
"start": {
"line": 183,
"column": 12
},
"end": {
"line": 183,
"column": 40
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6500,
"end": 6501,
"loc": {
"start": {
"line": 183,
"column": 12
},
"end": {
"line": 183,
"column": 13
},
"identifierName": "h"
},
"name": "h"
},
"value": {
"type": "BinaryExpression",
"start": 6503,
"end": 6528,
"loc": {
"start": {
"line": 183,
"column": 15
},
"end": {
"line": 183,
"column": 40
}
},
"left": {
"type": "MemberExpression",
"start": 6503,
"end": 6524,
"loc": {
"start": {
"line": 183,
"column": 15
},
"end": {
"line": 183,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 6503,
"end": 6515,
"loc": {
"start": {
"line": 183,
"column": 15
},
"end": {
"line": 183,
"column": 27
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 6516,
"end": 6524,
"loc": {
"start": {
"line": 183,
"column": 28
},
"end": {
"line": 183,
"column": 36
},
"identifierName": "tileSize"
},
"name": "tileSize"
},
"computed": false
},
"operator": "*",
"right": {
"type": "NumericLiteral",
"start": 6527,
"end": 6528,
"loc": {
"start": {
"line": 183,
"column": 39
},
"end": {
"line": 183,
"column": 40
}
},
"extra": {
"rawValue": 4,
"raw": "4"
},
"value": 4
}
}
},
{
"type": "ObjectProperty",
"start": 6543,
"end": 6546,
"loc": {
"start": {
"line": 184,
"column": 12
},
"end": {
"line": 184,
"column": 15
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 6543,
"end": 6546,
"loc": {
"start": {
"line": 184,
"column": 12
},
"end": {
"line": 184,
"column": 15
},
"identifierName": "dpi"
},
"name": "dpi"
},
"value": {
"type": "Identifier",
"start": 6543,
"end": 6546,
"loc": {
"start": {
"line": 184,
"column": 12
},
"end": {
"line": 184,
"column": 15
},
"identifierName": "dpi"
},
"name": "dpi"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 6561,
"end": 6611,
"loc": {
"start": {
"line": 185,
"column": 12
},
"end": {
"line": 185,
"column": 62
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6561,
"end": 6573,
"loc": {
"start": {
"line": 185,
"column": 12
},
"end": {
"line": 185,
"column": 24
},
"identifierName": "redrawMethod"
},
"name": "redrawMethod"
},
"value": {
"type": "CallExpression",
"start": 6575,
"end": 6611,
"loc": {
"start": {
"line": 185,
"column": 26
},
"end": {
"line": 185,
"column": 62
}
},
"callee": {
"type": "MemberExpression",
"start": 6575,
"end": 6605,
"loc": {
"start": {
"line": 185,
"column": 26
},
"end": {
"line": 185,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 6575,
"end": 6600,
"loc": {
"start": {
"line": 185,
"column": 26
},
"end": {
"line": 185,
"column": 51
}
},
"object": {
"type": "ThisExpression",
"start": 6575,
"end": 6579,
"loc": {
"start": {
"line": 185,
"column": 26
},
"end": {
"line": 185,
"column": 30
}
}
},
"property": {
"type": "Identifier",
"start": 6580,
"end": 6600,
"loc": {
"start": {
"line": 185,
"column": 31
},
"end": {
"line": 185,
"column": 51
},
"identifierName": "redrawHubBaseTexture"
},
"name": "redrawHubBaseTexture"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6601,
"end": 6605,
"loc": {
"start": {
"line": 185,
"column": 52
},
"end": {
"line": 185,
"column": 56
},
"identifierName": "bind"
},
"name": "bind"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 6606,
"end": 6610,
"loc": {
"start": {
"line": 185,
"column": 57
},
"end": {
"line": 185,
"column": 61
}
}
}
]
}
}
]
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 6637,
"end": 6655,
"loc": {
"start": {
"line": 188,
"column": 8
},
"end": {
"line": 188,
"column": 26
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6643,
"end": 6654,
"loc": {
"start": {
"line": 188,
"column": 14
},
"end": {
"line": 188,
"column": 25
}
},
"id": {
"type": "Identifier",
"start": 6643,
"end": 6650,
"loc": {
"start": {
"line": 188,
"column": 14
},
"end": {
"line": 188,
"column": 21
},
"identifierName": "extrude"
},
"name": "extrude"
},
"init": {
"type": "NumericLiteral",
"start": 6653,
"end": 6654,
"loc": {
"start": {
"line": 188,
"column": 24
},
"end": {
"line": 188,
"column": 25
}
},
"extra": {
"rawValue": 8,
"raw": "8"
},
"value": 8
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 6665,
"end": 7081,
"loc": {
"start": {
"line": 189,
"column": 8
},
"end": {
"line": 198,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 6665,
"end": 7080,
"loc": {
"start": {
"line": 189,
"column": 8
},
"end": {
"line": 198,
"column": 10
}
},
"callee": {
"type": "Identifier",
"start": 6665,
"end": 6682,
"loc": {
"start": {
"line": 189,
"column": 8
},
"end": {
"line": 189,
"column": 25
},
"identifierName": "drawSpriteClipped"
},
"name": "drawSpriteClipped"
},
"arguments": [
{
"type": "ObjectExpression",
"start": 6683,
"end": 7079,
"loc": {
"start": {
"line": 189,
"column": 26
},
"end": {
"line": 198,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 6698,
"end": 6708,
"loc": {
"start": {
"line": 190,
"column": 12
},
"end": {
"line": 190,
"column": 22
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 6698,
"end": 6708,
"loc": {
"start": {
"line": 190,
"column": 12
},
"end": {
"line": 190,
"column": 22
},
"identifierName": "parameters"
},
"name": "parameters"
},
"value": {
"type": "Identifier",
"start": 6698,
"end": 6708,
"loc": {
"start": {
"line": 190,
"column": 12
},
"end": {
"line": 190,
"column": 22
},
"identifierName": "parameters"
},
"name": "parameters"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 6723,
"end": 6737,
"loc": {
"start": {
"line": 191,
"column": 12
},
"end": {
"line": 191,
"column": 26
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6723,
"end": 6729,
"loc": {
"start": {
"line": 191,
"column": 12
},
"end": {
"line": 191,
"column": 18
},
"identifierName": "sprite"
},
"name": "sprite"
},
"value": {
"type": "Identifier",
"start": 6731,
"end": 6737,
"loc": {
"start": {
"line": 191,
"column": 20
},
"end": {
"line": 191,
"column": 26
},
"identifierName": "canvas"
},
"name": "canvas"
}
},
{
"type": "ObjectProperty",
"start": 6752,
"end": 6808,
"loc": {
"start": {
"line": 192,
"column": 12
},
"end": {
"line": 192,
"column": 68
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6752,
"end": 6753,
"loc": {
"start": {
"line": 192,
"column": 12
},
"end": {
"line": 192,
"column": 13
},
"identifierName": "x"
},
"name": "x"
},
"value": {
"type": "BinaryExpression",
"start": 6755,
"end": 6808,
"loc": {
"start": {
"line": 192,
"column": 15
},
"end": {
"line": 192,
"column": 68
}
},
"left": {
"type": "BinaryExpression",
"start": 6755,
"end": 6798,
"loc": {
"start": {
"line": 192,
"column": 15
},
"end": {
"line": 192,
"column": 58
}
},
"left": {
"type": "MemberExpression",
"start": 6755,
"end": 6774,
"loc": {
"start": {
"line": 192,
"column": 15
},
"end": {
"line": 192,
"column": 34
}
},
"object": {
"type": "MemberExpression",
"start": 6755,
"end": 6772,
"loc": {
"start": {
"line": 192,
"column": 15
},
"end": {
"line": 192,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 6755,
"end": 6765,
"loc": {
"start": {
"line": 192,
"column": 15
},
"end": {
"line": 192,
"column": 25
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 6766,
"end": 6772,
"loc": {
"start": {
"line": 192,
"column": 26
},
"end": {
"line": 192,
"column": 32
},
"identifierName": "origin"
},
"name": "origin"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6773,
"end": 6774,
"loc": {
"start": {
"line": 192,
"column": 33
},
"end": {
"line": 192,
"column": 34
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 6777,
"end": 6798,
"loc": {
"start": {
"line": 192,
"column": 37
},
"end": {
"line": 192,
"column": 58
}
},
"object": {
"type": "Identifier",
"start": 6777,
"end": 6789,
"loc": {
"start": {
"line": 192,
"column": 37
},
"end": {
"line": 192,
"column": 49
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 6790,
"end": 6798,
"loc": {
"start": {
"line": 192,
"column": 50
},
"end": {
"line": 192,
"column": 58
},
"identifierName": "tileSize"
},
"name": "tileSize"
},
"computed": false
}
},
"operator": "-",
"right": {
"type": "Identifier",
"start": 6801,
"end": 6808,
"loc": {
"start": {
"line": 192,
"column": 61
},
"end": {
"line": 192,
"column": 68
},
"identifierName": "extrude"
},
"name": "extrude"
}
}
},
{
"type": "ObjectProperty",
"start": 6823,
"end": 6879,
"loc": {
"start": {
"line": 193,
"column": 12
},
"end": {
"line": 193,
"column": 68
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6823,
"end": 6824,
"loc": {
"start": {
"line": 193,
"column": 12
},
"end": {
"line": 193,
"column": 13
},
"identifierName": "y"
},
"name": "y"
},
"value": {
"type": "BinaryExpression",
"start": 6826,
"end": 6879,
"loc": {
"start": {
"line": 193,
"column": 15
},
"end": {
"line": 193,
"column": 68
}
},
"left": {
"type": "BinaryExpression",
"start": 6826,
"end": 6869,
"loc": {
"start": {
"line": 193,
"column": 15
},
"end": {
"line": 193,
"column": 58
}
},
"left": {
"type": "MemberExpression",
"start": 6826,
"end": 6845,
"loc": {
"start": {
"line": 193,
"column": 15
},
"end": {
"line": 193,
"column": 34
}
},
"object": {
"type": "MemberExpression",
"start": 6826,
"end": 6843,
"loc": {
"start": {
"line": 193,
"column": 15
},
"end": {
"line": 193,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 6826,
"end": 6836,
"loc": {
"start": {
"line": 193,
"column": 15
},
"end": {
"line": 193,
"column": 25
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 6837,
"end": 6843,
"loc": {
"start": {
"line": 193,
"column": 26
},
"end": {
"line": 193,
"column": 32
},
"identifierName": "origin"
},
"name": "origin"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6844,
"end": 6845,
"loc": {
"start": {
"line": 193,
"column": 33
},
"end": {
"line": 193,
"column": 34
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 6848,
"end": 6869,
"loc": {
"start": {
"line": 193,
"column": 37
},
"end": {
"line": 193,
"column": 58
}
},
"object": {
"type": "Identifier",
"start": 6848,
"end": 6860,
"loc": {
"start": {
"line": 193,
"column": 37
},
"end": {
"line": 193,
"column": 49
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 6861,
"end": 6869,
"loc": {
"start": {
"line": 193,
"column": 50
},
"end": {
"line": 193,
"column": 58
},
"identifierName": "tileSize"
},
"name": "tileSize"
},
"computed": false
}
},
"operator": "-",
"right": {
"type": "Identifier",
"start": 6872,
"end": 6879,
"loc": {
"start": {
"line": 193,
"column": 61
},
"end": {
"line": 193,
"column": 68
},
"identifierName": "extrude"
},
"name": "extrude"
}
}
},
{
"type": "ObjectProperty",
"start": 6894,
"end": 6926,
"loc": {
"start": {
"line": 194,
"column": 12
},
"end": {
"line": 194,
"column": 44
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6894,
"end": 6895,
"loc": {
"start": {
"line": 194,
"column": 12
},
"end": {
"line": 194,
"column": 13
},
"identifierName": "w"
},
"name": "w"
},
"value": {
"type": "BinaryExpression",
"start": 6897,
"end": 6926,
"loc": {
"start": {
"line": 194,
"column": 15
},
"end": {
"line": 194,
"column": 44
}
},
"left": {
"type": "Identifier",
"start": 6897,
"end": 6912,
"loc": {
"start": {
"line": 194,
"column": 15
},
"end": {
"line": 194,
"column": 30
},
"identifierName": "HUB_SIZE_PIXELS"
},
"name": "HUB_SIZE_PIXELS"
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 6915,
"end": 6926,
"loc": {
"start": {
"line": 194,
"column": 33
},
"end": {
"line": 194,
"column": 44
}
},
"left": {
"type": "NumericLiteral",
"start": 6915,
"end": 6916,
"loc": {
"start": {
"line": 194,
"column": 33
},
"end": {
"line": 194,
"column": 34
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 6919,
"end": 6926,
"loc": {
"start": {
"line": 194,
"column": 37
},
"end": {
"line": 194,
"column": 44
},
"identifierName": "extrude"
},
"name": "extrude"
}
}
}
},
{
"type": "ObjectProperty",
"start": 6941,
"end": 6973,
"loc": {
"start": {
"line": 195,
"column": 12
},
"end": {
"line": 195,
"column": 44
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6941,
"end": 6942,
"loc": {
"start": {
"line": 195,
"column": 12
},
"end": {
"line": 195,
"column": 13
},
"identifierName": "h"
},
"name": "h"
},
"value": {
"type": "BinaryExpression",
"start": 6944,
"end": 6973,
"loc": {
"start": {
"line": 195,
"column": 15
},
"end": {
"line": 195,
"column": 44
}
},
"left": {
"type": "Identifier",
"start": 6944,
"end": 6959,
"loc": {
"start": {
"line": 195,
"column": 15
},
"end": {
"line": 195,
"column": 30
},
"identifierName": "HUB_SIZE_PIXELS"
},
"name": "HUB_SIZE_PIXELS"
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 6962,
"end": 6973,
"loc": {
"start": {
"line": 195,
"column": 33
},
"end": {
"line": 195,
"column": 44
}
},
"left": {
"type": "NumericLiteral",
"start": 6962,
"end": 6963,
"loc": {
"start": {
"line": 195,
"column": 33
},
"end": {
"line": 195,
"column": 34
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 6966,
"end": 6973,
"loc": {
"start": {
"line": 195,
"column": 37
},
"end": {
"line": 195,
"column": 44
},
"identifierName": "extrude"
},
"name": "extrude"
}
}
}
},
{
"type": "ObjectProperty",
"start": 6988,
"end": 7020,
"loc": {
"start": {
"line": 196,
"column": 12
},
"end": {
"line": 196,
"column": 44
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6988,
"end": 6997,
"loc": {
"start": {
"line": 196,
"column": 12
},
"end": {
"line": 196,
"column": 21
},
"identifierName": "originalW"
},
"name": "originalW"
},
"value": {
"type": "BinaryExpression",
"start": 6999,
"end": 7020,
"loc": {
"start": {
"line": 196,
"column": 23
},
"end": {
"line": 196,
"column": 44
}
},
"left": {
"type": "Identifier",
"start": 6999,
"end": 7014,
"loc": {
"start": {
"line": 196,
"column": 23
},
"end": {
"line": 196,
"column": 38
},
"identifierName": "HUB_SIZE_PIXELS"
},
"name": "HUB_SIZE_PIXELS"
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 7017,
"end": 7020,
"loc": {
"start": {
"line": 196,
"column": 41
},
"end": {
"line": 196,
"column": 44
},
"identifierName": "dpi"
},
"name": "dpi"
}
}
},
{
"type": "ObjectProperty",
"start": 7035,
"end": 7067,
"loc": {
"start": {
"line": 197,
"column": 12
},
"end": {
"line": 197,
"column": 44
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 7035,
"end": 7044,
"loc": {
"start": {
"line": 197,
"column": 12
},
"end": {
"line": 197,
"column": 21
},
"identifierName": "originalH"
},
"name": "originalH"
},
"value": {
"type": "BinaryExpression",
"start": 7046,
"end": 7067,
"loc": {
"start": {
"line": 197,
"column": 23
},
"end": {
"line": 197,
"column": 44
}
},
"left": {
"type": "Identifier",
"start": 7046,
"end": 7061,
"loc": {
"start": {
"line": 197,
"column": 23
},
"end": {
"line": 197,
"column": 38
},
"identifierName": "HUB_SIZE_PIXELS"
},
"name": "HUB_SIZE_PIXELS"
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 7064,
"end": 7067,
"loc": {
"start": {
"line": 197,
"column": 41
},
"end": {
"line": 197,
"column": 44
},
"identifierName": "dpi"
},
"name": "dpi"
}
}
}
]
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {DrawParameters} parameters\r\n * @param {Entity} entity\r\n ",
"start": 5750,
"end": 5836,
"loc": {
"start": {
"line": 164,
"column": 4
},
"end": {
"line": 167,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [],
"trailingComments": []
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {DrawParameters} parameters\r\n ",
"start": 991,
"end": 1046,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 30,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Set hub goal",
"start": 1313,
"end": 1328,
"loc": {
"start": {
"line": 39,
"column": 16
},
"end": {
"line": 39,
"column": 31
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {HTMLCanvasElement} canvas\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} w\r\n * @param {number} h\r\n * @param {number} dpi\r\n ",
"start": 1663,
"end": 1883,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 54,
"column": 11
}
}
},
{
"type": "CommentLine",
"value": " This method is quite ugly, please ignore it!",
"start": 1949,
"end": 1996,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 55
}
}
},
{
"type": "CommentLine",
"value": " End of demo",
"start": 2459,
"end": 2473,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 73,
"column": 26
}
}
},
{
"type": "CommentLine",
"value": " Throughput",
"start": 3084,
"end": 3097,
"loc": {
"start": {
"line": 92,
"column": 12
},
"end": {
"line": 92,
"column": 25
}
}
},
{
"type": "CommentLine",
"value": " Deliver count",
"start": 3522,
"end": 3538,
"loc": {
"start": {
"line": 103,
"column": 12
},
"end": {
"line": 103,
"column": 28
}
}
},
{
"type": "CommentLine",
"value": " Required",
"start": 4137,
"end": 4148,
"loc": {
"start": {
"line": 118,
"column": 12
},
"end": {
"line": 118,
"column": 23
}
}
},
{
"type": "CommentLine",
"value": " Reward",
"start": 4362,
"end": 4371,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " Level \"8\"",
"start": 4774,
"end": 4786,
"loc": {
"start": {
"line": 136,
"column": 8
},
"end": {
"line": 136,
"column": 20
}
}
},
{
"type": "CommentLine",
"value": " \"LVL\"",
"start": 4947,
"end": 4955,
"loc": {
"start": {
"line": 141,
"column": 8
},
"end": {
"line": 141,
"column": 16
}
}
},
{
"type": "CommentLine",
"value": " \"Deliver\"",
"start": 5154,
"end": 5166,
"loc": {
"start": {
"line": 147,
"column": 8
},
"end": {
"line": 147,
"column": 20
}
}
},
{
"type": "CommentLine",
"value": " \"To unlock\"",
"start": 5355,
"end": 5369,
"loc": {
"start": {
"line": 152,
"column": 8
},
"end": {
"line": 152,
"column": 22
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {DrawParameters} parameters\r\n * @param {Entity} entity\r\n ",
"start": 5750,
"end": 5836,
"loc": {
"start": {
"line": 164,
"column": 4
},
"end": {
"line": 167,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Deliver count",
"start": 6035,
"end": 6051,
"loc": {
"start": {
"line": 174,
"column": 8
},
"end": {
"line": 174,
"column": 24
}
}
}
],
"tokens": [
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 9,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 22,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 22
},
"end": {
"line": 1,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 24,
"end": 28,
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../core/config",
"start": 29,
"end": 48,
"loc": {
"start": {
"line": 1,
"column": 29
},
"end": {
"line": 1,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 48,
"end": 49,
"loc": {
"start": {
"line": 1,
"column": 48
},
"end": {
"line": 1,
"column": 49
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 51,
"end": 57,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 58,
"end": 59,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "smoothenDpi",
"start": 60,
"end": 71,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 72,
"end": 73,
"loc": {
"start": {
"line": 2,
"column": 21
},
"end": {
"line": 2,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 74,
"end": 78,
"loc": {
"start": {
"line": 2,
"column": 23
},
"end": {
"line": 2,
"column": 27
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../core/dpi_manager",
"start": 79,
"end": 103,
"loc": {
"start": {
"line": 2,
"column": 28
},
"end": {
"line": 2,
"column": 52
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 103,
"end": 104,
"loc": {
"start": {
"line": 2,
"column": 52
},
"end": {
"line": 2,
"column": 53
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 106,
"end": 112,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 113,
"end": 114,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "DrawParameters",
"start": 115,
"end": 129,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 130,
"end": 131,
"loc": {
"start": {
"line": 3,
"column": 24
},
"end": {
"line": 3,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 132,
"end": 136,
"loc": {
"start": {
"line": 3,
"column": 26
},
"end": {
"line": 3,
"column": 30
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../core/draw_parameters",
"start": 137,
"end": 165,
"loc": {
"start": {
"line": 3,
"column": 31
},
"end": {
"line": 3,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 165,
"end": 166,
"loc": {
"start": {
"line": 3,
"column": 59
},
"end": {
"line": 3,
"column": 60
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 168,
"end": 174,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 175,
"end": 176,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawSpriteClipped",
"start": 177,
"end": 194,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 26
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 195,
"end": 196,
"loc": {
"start": {
"line": 4,
"column": 27
},
"end": {
"line": 4,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 197,
"end": 201,
"loc": {
"start": {
"line": 4,
"column": 29
},
"end": {
"line": 4,
"column": 33
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../core/draw_utils",
"start": 202,
"end": 225,
"loc": {
"start": {
"line": 4,
"column": 34
},
"end": {
"line": 4,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 225,
"end": 226,
"loc": {
"start": {
"line": 4,
"column": 57
},
"end": {
"line": 4,
"column": 58
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 228,
"end": 234,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 235,
"end": 236,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Loader",
"start": 237,
"end": 243,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 15
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 244,
"end": 245,
"loc": {
"start": {
"line": 5,
"column": 16
},
"end": {
"line": 5,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 246,
"end": 250,
"loc": {
"start": {
"line": 5,
"column": 18
},
"end": {
"line": 5,
"column": 22
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../core/loader",
"start": 251,
"end": 270,
"loc": {
"start": {
"line": 5,
"column": 23
},
"end": {
"line": 5,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 270,
"end": 271,
"loc": {
"start": {
"line": 5,
"column": 42
},
"end": {
"line": 5,
"column": 43
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 273,
"end": 279,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 280,
"end": 281,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Rectangle",
"start": 282,
"end": 291,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 292,
"end": 293,
"loc": {
"start": {
"line": 6,
"column": 19
},
"end": {
"line": 6,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 294,
"end": 298,
"loc": {
"start": {
"line": 6,
"column": 21
},
"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": "../../core/rectangle",
"start": 299,
"end": 321,
"loc": {
"start": {
"line": 6,
"column": 26
},
"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": 321,
"end": 322,
"loc": {
"start": {
"line": 6,
"column": 48
},
"end": {
"line": 6,
"column": 49
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 324,
"end": 330,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 331,
"end": 332,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ORIGINAL_SPRITE_SCALE",
"start": 333,
"end": 354,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 30
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 355,
"end": 356,
"loc": {
"start": {
"line": 7,
"column": 31
},
"end": {
"line": 7,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 357,
"end": 361,
"loc": {
"start": {
"line": 7,
"column": 33
},
"end": {
"line": 7,
"column": 37
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../core/sprites",
"start": 362,
"end": 382,
"loc": {
"start": {
"line": 7,
"column": 38
},
"end": {
"line": 7,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 382,
"end": 383,
"loc": {
"start": {
"line": 7,
"column": 58
},
"end": {
"line": 7,
"column": 59
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 385,
"end": 391,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 392,
"end": 393,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "formatBigNumber",
"start": 394,
"end": 409,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 410,
"end": 411,
"loc": {
"start": {
"line": 8,
"column": 25
},
"end": {
"line": 8,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 412,
"end": 416,
"loc": {
"start": {
"line": 8,
"column": 27
},
"end": {
"line": 8,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../core/utils",
"start": 417,
"end": 435,
"loc": {
"start": {
"line": 8,
"column": 32
},
"end": {
"line": 8,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 435,
"end": 436,
"loc": {
"start": {
"line": 8,
"column": 50
},
"end": {
"line": 8,
"column": 51
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 438,
"end": 444,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 445,
"end": 446,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "T",
"start": 447,
"end": 448,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 10
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 449,
"end": 450,
"loc": {
"start": {
"line": 9,
"column": 11
},
"end": {
"line": 9,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 451,
"end": 455,
"loc": {
"start": {
"line": 9,
"column": 13
},
"end": {
"line": 9,
"column": 17
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../translations",
"start": 456,
"end": 476,
"loc": {
"start": {
"line": 9,
"column": 18
},
"end": {
"line": 9,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 476,
"end": 477,
"loc": {
"start": {
"line": 9,
"column": 38
},
"end": {
"line": 9,
"column": 39
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 479,
"end": 485,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 486,
"end": 487,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "HubComponent",
"start": 488,
"end": 500,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 501,
"end": 502,
"loc": {
"start": {
"line": 10,
"column": 22
},
"end": {
"line": 10,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 503,
"end": 507,
"loc": {
"start": {
"line": 10,
"column": 24
},
"end": {
"line": 10,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../components/hub",
"start": 508,
"end": 527,
"loc": {
"start": {
"line": 10,
"column": 29
},
"end": {
"line": 10,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 527,
"end": 528,
"loc": {
"start": {
"line": 10,
"column": 48
},
"end": {
"line": 10,
"column": 49
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 530,
"end": 536,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 537,
"end": 538,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 11,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Entity",
"start": 539,
"end": 545,
"loc": {
"start": {
"line": 11,
"column": 9
},
"end": {
"line": 11,
"column": 15
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 546,
"end": 547,
"loc": {
"start": {
"line": 11,
"column": 16
},
"end": {
"line": 11,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 548,
"end": 552,
"loc": {
"start": {
"line": 11,
"column": 18
},
"end": {
"line": 11,
"column": 22
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../entity",
"start": 553,
"end": 564,
"loc": {
"start": {
"line": 11,
"column": 23
},
"end": {
"line": 11,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 564,
"end": 565,
"loc": {
"start": {
"line": 11,
"column": 34
},
"end": {
"line": 11,
"column": 35
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 567,
"end": 573,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 574,
"end": 575,
"loc": {
"start": {
"line": 12,
"column": 7
},
"end": {
"line": 12,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GameSystemWithFilter",
"start": 576,
"end": 596,
"loc": {
"start": {
"line": 12,
"column": 9
},
"end": {
"line": 12,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 597,
"end": 598,
"loc": {
"start": {
"line": 12,
"column": 30
},
"end": {
"line": 12,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 599,
"end": 603,
"loc": {
"start": {
"line": 12,
"column": 32
},
"end": {
"line": 12,
"column": 36
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../game_system_with_filter",
"start": 604,
"end": 632,
"loc": {
"start": {
"line": 12,
"column": 37
},
"end": {
"line": 12,
"column": 65
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 632,
"end": 633,
"loc": {
"start": {
"line": 12,
"column": 65
},
"end": {
"line": 12,
"column": 66
}
}
},
{
"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": 637,
"end": 642,
"loc": {
"start": {
"line": 14,
"column": 0
},
"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": "HUB_SIZE_TILES",
"start": 643,
"end": 657,
"loc": {
"start": {
"line": 14,
"column": 6
},
"end": {
"line": 14,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 658,
"end": 659,
"loc": {
"start": {
"line": 14,
"column": 21
},
"end": {
"line": 14,
"column": 22
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 4,
"start": 660,
"end": 661,
"loc": {
"start": {
"line": 14,
"column": 23
},
"end": {
"line": 14,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 661,
"end": 662,
"loc": {
"start": {
"line": 14,
"column": 24
},
"end": {
"line": 14,
"column": 25
}
}
},
{
"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": 664,
"end": 669,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 15,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "HUB_SIZE_PIXELS",
"start": 670,
"end": 685,
"loc": {
"start": {
"line": 15,
"column": 6
},
"end": {
"line": 15,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 686,
"end": 687,
"loc": {
"start": {
"line": 15,
"column": 22
},
"end": {
"line": 15,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "HUB_SIZE_TILES",
"start": 688,
"end": 702,
"loc": {
"start": {
"line": 15,
"column": 24
},
"end": {
"line": 15,
"column": 38
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 703,
"end": 704,
"loc": {
"start": {
"line": 15,
"column": 39
},
"end": {
"line": 15,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 705,
"end": 717,
"loc": {
"start": {
"line": 15,
"column": 41
},
"end": {
"line": 15,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 717,
"end": 718,
"loc": {
"start": {
"line": 15,
"column": 53
},
"end": {
"line": 15,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileSize",
"start": 718,
"end": 726,
"loc": {
"start": {
"line": 15,
"column": 54
},
"end": {
"line": 15,
"column": 62
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 726,
"end": 727,
"loc": {
"start": {
"line": 15,
"column": 62
},
"end": {
"line": 15,
"column": 63
}
}
},
{
"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": 731,
"end": 737,
"loc": {
"start": {
"line": 17,
"column": 0
},
"end": {
"line": 17,
"column": 6
}
}
},
{
"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": 738,
"end": 743,
"loc": {
"start": {
"line": 17,
"column": 7
},
"end": {
"line": 17,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "HubSystem",
"start": 744,
"end": 753,
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 22
}
}
},
{
"type": {
"label": "extends",
"keyword": "extends",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "extends",
"start": 754,
"end": 761,
"loc": {
"start": {
"line": 17,
"column": 23
},
"end": {
"line": 17,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GameSystemWithFilter",
"start": 762,
"end": 782,
"loc": {
"start": {
"line": 17,
"column": 31
},
"end": {
"line": 17,
"column": 51
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 783,
"end": 784,
"loc": {
"start": {
"line": 17,
"column": 52
},
"end": {
"line": 17,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 790,
"end": 801,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 801,
"end": 802,
"loc": {
"start": {
"line": 18,
"column": 15
},
"end": {
"line": 18,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 802,
"end": 806,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 806,
"end": 807,
"loc": {
"start": {
"line": 18,
"column": 20
},
"end": {
"line": 18,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 808,
"end": 809,
"loc": {
"start": {
"line": 18,
"column": 22
},
"end": {
"line": 18,
"column": 23
}
}
},
{
"type": {
"label": "super",
"keyword": "super",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "super",
"start": 819,
"end": 824,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 824,
"end": 825,
"loc": {
"start": {
"line": 19,
"column": 13
},
"end": {
"line": 19,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 825,
"end": 829,
"loc": {
"start": {
"line": 19,
"column": 14
},
"end": {
"line": 19,
"column": 18
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 829,
"end": 830,
"loc": {
"start": {
"line": 19,
"column": 18
},
"end": {
"line": 19,
"column": 19
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 831,
"end": 832,
"loc": {
"start": {
"line": 19,
"column": 20
},
"end": {
"line": 19,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "HubComponent",
"start": 832,
"end": 844,
"loc": {
"start": {
"line": 19,
"column": 21
},
"end": {
"line": 19,
"column": 33
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 844,
"end": 845,
"loc": {
"start": {
"line": 19,
"column": 33
},
"end": {
"line": 19,
"column": 34
}
}
},
{
"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": 19,
"column": 34
},
"end": {
"line": 19,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 846,
"end": 847,
"loc": {
"start": {
"line": 19,
"column": 35
},
"end": {
"line": 19,
"column": 36
}
}
},
{
"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": 859,
"end": 863,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 863,
"end": 864,
"loc": {
"start": {
"line": 21,
"column": 12
},
"end": {
"line": 21,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubSprite",
"start": 864,
"end": 873,
"loc": {
"start": {
"line": 21,
"column": 13
},
"end": {
"line": 21,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 874,
"end": 875,
"loc": {
"start": {
"line": 21,
"column": 23
},
"end": {
"line": 21,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Loader",
"start": 876,
"end": 882,
"loc": {
"start": {
"line": 21,
"column": 25
},
"end": {
"line": 21,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 882,
"end": 883,
"loc": {
"start": {
"line": 21,
"column": 31
},
"end": {
"line": 21,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getSprite",
"start": 883,
"end": 892,
"loc": {
"start": {
"line": 21,
"column": 32
},
"end": {
"line": 21,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 892,
"end": 893,
"loc": {
"start": {
"line": 21,
"column": 41
},
"end": {
"line": 21,
"column": 42
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "sprites/buildings/hub.png",
"start": 893,
"end": 920,
"loc": {
"start": {
"line": 21,
"column": 42
},
"end": {
"line": 21,
"column": 69
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 920,
"end": 921,
"loc": {
"start": {
"line": 21,
"column": 69
},
"end": {
"line": 21,
"column": 70
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 921,
"end": 922,
"loc": {
"start": {
"line": 21,
"column": 70
},
"end": {
"line": 21,
"column": 71
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 928,
"end": 929,
"loc": {
"start": {
"line": 22,
"column": 4
},
"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": "static",
"start": 937,
"end": 943,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getId",
"start": 944,
"end": 949,
"loc": {
"start": {
"line": 24,
"column": 11
},
"end": {
"line": 24,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 949,
"end": 950,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 950,
"end": 951,
"loc": {
"start": {
"line": 24,
"column": 17
},
"end": {
"line": 24,
"column": 18
}
}
},
{
"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": 24,
"column": 19
},
"end": {
"line": 24,
"column": 20
}
}
},
{
"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": 963,
"end": 969,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 14
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "hub",
"start": 970,
"end": 975,
"loc": {
"start": {
"line": 25,
"column": 15
},
"end": {
"line": 25,
"column": 20
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 975,
"end": 976,
"loc": {
"start": {
"line": 25,
"column": 20
},
"end": {
"line": 25,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 982,
"end": 983,
"loc": {
"start": {
"line": 26,
"column": 4
},
"end": {
"line": 26,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {DrawParameters} parameters\r\n ",
"start": 991,
"end": 1046,
"loc": {
"start": {
"line": 28,
"column": 4
},
"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": "draw",
"start": 1052,
"end": 1056,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 31,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1056,
"end": 1057,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 1057,
"end": 1067,
"loc": {
"start": {
"line": 31,
"column": 9
},
"end": {
"line": 31,
"column": 19
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1067,
"end": 1068,
"loc": {
"start": {
"line": 31,
"column": 19
},
"end": {
"line": 31,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1069,
"end": 1070,
"loc": {
"start": {
"line": 31,
"column": 21
},
"end": {
"line": 31,
"column": 22
}
}
},
{
"type": {
"label": "for",
"keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "for",
"start": 1080,
"end": 1083,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1084,
"end": 1085,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 32,
"column": 13
}
}
},
{
"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": 1085,
"end": 1088,
"loc": {
"start": {
"line": 32,
"column": 13
},
"end": {
"line": 32,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1089,
"end": 1090,
"loc": {
"start": {
"line": 32,
"column": 17
},
"end": {
"line": 32,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1091,
"end": 1092,
"loc": {
"start": {
"line": 32,
"column": 19
},
"end": {
"line": 32,
"column": 20
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1093,
"end": 1094,
"loc": {
"start": {
"line": 32,
"column": 21
},
"end": {
"line": 32,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1094,
"end": 1095,
"loc": {
"start": {
"line": 32,
"column": 22
},
"end": {
"line": 32,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1096,
"end": 1097,
"loc": {
"start": {
"line": 32,
"column": 24
},
"end": {
"line": 32,
"column": 25
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 1098,
"end": 1099,
"loc": {
"start": {
"line": 32,
"column": 26
},
"end": {
"line": 32,
"column": 27
}
}
},
{
"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": 1100,
"end": 1104,
"loc": {
"start": {
"line": 32,
"column": 28
},
"end": {
"line": 32,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1104,
"end": 1105,
"loc": {
"start": {
"line": 32,
"column": 32
},
"end": {
"line": 32,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "allEntities",
"start": 1105,
"end": 1116,
"loc": {
"start": {
"line": 32,
"column": 33
},
"end": {
"line": 32,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1116,
"end": 1117,
"loc": {
"start": {
"line": 32,
"column": 44
},
"end": {
"line": 32,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 1117,
"end": 1123,
"loc": {
"start": {
"line": 32,
"column": 45
},
"end": {
"line": 32,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1123,
"end": 1124,
"loc": {
"start": {
"line": 32,
"column": 51
},
"end": {
"line": 32,
"column": 52
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 1125,
"end": 1127,
"loc": {
"start": {
"line": 32,
"column": 53
},
"end": {
"line": 32,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1127,
"end": 1128,
"loc": {
"start": {
"line": 32,
"column": 55
},
"end": {
"line": 32,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1128,
"end": 1129,
"loc": {
"start": {
"line": 32,
"column": 56
},
"end": {
"line": 32,
"column": 57
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1130,
"end": 1131,
"loc": {
"start": {
"line": 32,
"column": 58
},
"end": {
"line": 32,
"column": 59
}
}
},
{
"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": 1145,
"end": 1149,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1149,
"end": 1150,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawEntity",
"start": 1150,
"end": 1160,
"loc": {
"start": {
"line": 33,
"column": 17
},
"end": {
"line": 33,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1160,
"end": 1161,
"loc": {
"start": {
"line": 33,
"column": 27
},
"end": {
"line": 33,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 1161,
"end": 1171,
"loc": {
"start": {
"line": 33,
"column": 28
},
"end": {
"line": 33,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1171,
"end": 1172,
"loc": {
"start": {
"line": 33,
"column": 38
},
"end": {
"line": 33,
"column": 39
}
}
},
{
"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": 1173,
"end": 1177,
"loc": {
"start": {
"line": 33,
"column": 40
},
"end": {
"line": 33,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1177,
"end": 1178,
"loc": {
"start": {
"line": 33,
"column": 44
},
"end": {
"line": 33,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "allEntities",
"start": 1178,
"end": 1189,
"loc": {
"start": {
"line": 33,
"column": 45
},
"end": {
"line": 33,
"column": 56
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1189,
"end": 1190,
"loc": {
"start": {
"line": 33,
"column": 56
},
"end": {
"line": 33,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1190,
"end": 1191,
"loc": {
"start": {
"line": 33,
"column": 57
},
"end": {
"line": 33,
"column": 58
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1191,
"end": 1192,
"loc": {
"start": {
"line": 33,
"column": 58
},
"end": {
"line": 33,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1192,
"end": 1193,
"loc": {
"start": {
"line": 33,
"column": 59
},
"end": {
"line": 33,
"column": 60
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1193,
"end": 1194,
"loc": {
"start": {
"line": 33,
"column": 60
},
"end": {
"line": 33,
"column": 61
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1204,
"end": 1205,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1211,
"end": 1212,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 35,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "update",
"start": 1220,
"end": 1226,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 37,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1226,
"end": 1227,
"loc": {
"start": {
"line": 37,
"column": 10
},
"end": {
"line": 37,
"column": 11
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1227,
"end": 1228,
"loc": {
"start": {
"line": 37,
"column": 11
},
"end": {
"line": 37,
"column": 12
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1229,
"end": 1230,
"loc": {
"start": {
"line": 37,
"column": 13
},
"end": {
"line": 37,
"column": 14
}
}
},
{
"type": {
"label": "for",
"keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "for",
"start": 1244,
"end": 1247,
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 38,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1248,
"end": 1249,
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 17
}
}
},
{
"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": 1249,
"end": 1252,
"loc": {
"start": {
"line": 38,
"column": 17
},
"end": {
"line": 38,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1253,
"end": 1254,
"loc": {
"start": {
"line": 38,
"column": 21
},
"end": {
"line": 38,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1255,
"end": 1256,
"loc": {
"start": {
"line": 38,
"column": 23
},
"end": {
"line": 38,
"column": 24
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1257,
"end": 1258,
"loc": {
"start": {
"line": 38,
"column": 25
},
"end": {
"line": 38,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1258,
"end": 1259,
"loc": {
"start": {
"line": 38,
"column": 26
},
"end": {
"line": 38,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1260,
"end": 1261,
"loc": {
"start": {
"line": 38,
"column": 28
},
"end": {
"line": 38,
"column": 29
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 1262,
"end": 1263,
"loc": {
"start": {
"line": 38,
"column": 30
},
"end": {
"line": 38,
"column": 31
}
}
},
{
"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": 1264,
"end": 1268,
"loc": {
"start": {
"line": 38,
"column": 32
},
"end": {
"line": 38,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1268,
"end": 1269,
"loc": {
"start": {
"line": 38,
"column": 36
},
"end": {
"line": 38,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "allEntities",
"start": 1269,
"end": 1280,
"loc": {
"start": {
"line": 38,
"column": 37
},
"end": {
"line": 38,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1280,
"end": 1281,
"loc": {
"start": {
"line": 38,
"column": 48
},
"end": {
"line": 38,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 1281,
"end": 1287,
"loc": {
"start": {
"line": 38,
"column": 49
},
"end": {
"line": 38,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1287,
"end": 1288,
"loc": {
"start": {
"line": 38,
"column": 55
},
"end": {
"line": 38,
"column": 56
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 1289,
"end": 1291,
"loc": {
"start": {
"line": 38,
"column": 57
},
"end": {
"line": 38,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1291,
"end": 1292,
"loc": {
"start": {
"line": 38,
"column": 59
},
"end": {
"line": 38,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1292,
"end": 1293,
"loc": {
"start": {
"line": 38,
"column": 60
},
"end": {
"line": 38,
"column": 61
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1294,
"end": 1295,
"loc": {
"start": {
"line": 38,
"column": 62
},
"end": {
"line": 38,
"column": 63
}
}
},
{
"type": "CommentLine",
"value": " Set hub goal",
"start": 1313,
"end": 1328,
"loc": {
"start": {
"line": 39,
"column": 16
},
"end": {
"line": 39,
"column": 31
}
}
},
{
"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": 1346,
"end": 1351,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1352,
"end": 1358,
"loc": {
"start": {
"line": 40,
"column": 22
},
"end": {
"line": 40,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1359,
"end": 1360,
"loc": {
"start": {
"line": 40,
"column": 29
},
"end": {
"line": 40,
"column": 30
}
}
},
{
"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": 1361,
"end": 1365,
"loc": {
"start": {
"line": 40,
"column": 31
},
"end": {
"line": 40,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1365,
"end": 1366,
"loc": {
"start": {
"line": 40,
"column": 35
},
"end": {
"line": 40,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "allEntities",
"start": 1366,
"end": 1377,
"loc": {
"start": {
"line": 40,
"column": 36
},
"end": {
"line": 40,
"column": 47
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1377,
"end": 1378,
"loc": {
"start": {
"line": 40,
"column": 47
},
"end": {
"line": 40,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1378,
"end": 1379,
"loc": {
"start": {
"line": 40,
"column": 48
},
"end": {
"line": 40,
"column": 49
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1379,
"end": 1380,
"loc": {
"start": {
"line": 40,
"column": 49
},
"end": {
"line": 40,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1380,
"end": 1381,
"loc": {
"start": {
"line": 40,
"column": 50
},
"end": {
"line": 40,
"column": 51
}
}
},
{
"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": 1399,
"end": 1404,
"loc": {
"start": {
"line": 41,
"column": 16
},
"end": {
"line": 41,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinsComp",
"start": 1405,
"end": 1413,
"loc": {
"start": {
"line": 41,
"column": 22
},
"end": {
"line": 41,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1414,
"end": 1415,
"loc": {
"start": {
"line": 41,
"column": 31
},
"end": {
"line": 41,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1416,
"end": 1422,
"loc": {
"start": {
"line": 41,
"column": 33
},
"end": {
"line": 41,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1422,
"end": 1423,
"loc": {
"start": {
"line": 41,
"column": 39
},
"end": {
"line": 41,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 1423,
"end": 1433,
"loc": {
"start": {
"line": 41,
"column": 40
},
"end": {
"line": 41,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1433,
"end": 1434,
"loc": {
"start": {
"line": 41,
"column": 50
},
"end": {
"line": 41,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "WiredPins",
"start": 1434,
"end": 1443,
"loc": {
"start": {
"line": 41,
"column": 51
},
"end": {
"line": 41,
"column": 60
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1443,
"end": 1444,
"loc": {
"start": {
"line": 41,
"column": 60
},
"end": {
"line": 41,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinsComp",
"start": 1462,
"end": 1470,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1470,
"end": 1471,
"loc": {
"start": {
"line": 42,
"column": 24
},
"end": {
"line": 42,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 1471,
"end": 1476,
"loc": {
"start": {
"line": 42,
"column": 25
},
"end": {
"line": 42,
"column": 30
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1476,
"end": 1477,
"loc": {
"start": {
"line": 42,
"column": 30
},
"end": {
"line": 42,
"column": 31
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1477,
"end": 1478,
"loc": {
"start": {
"line": 42,
"column": 31
},
"end": {
"line": 42,
"column": 32
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1478,
"end": 1479,
"loc": {
"start": {
"line": 42,
"column": 32
},
"end": {
"line": 42,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1479,
"end": 1480,
"loc": {
"start": {
"line": 42,
"column": 33
},
"end": {
"line": 42,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "value",
"start": 1480,
"end": 1485,
"loc": {
"start": {
"line": 42,
"column": 34
},
"end": {
"line": 42,
"column": 39
}
}
},
{
"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": 42,
"column": 40
},
"end": {
"line": 42,
"column": 41
}
}
},
{
"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": 1488,
"end": 1492,
"loc": {
"start": {
"line": 42,
"column": 42
},
"end": {
"line": 42,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1492,
"end": 1493,
"loc": {
"start": {
"line": 42,
"column": 46
},
"end": {
"line": 42,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1493,
"end": 1497,
"loc": {
"start": {
"line": 42,
"column": 47
},
"end": {
"line": 42,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1497,
"end": 1498,
"loc": {
"start": {
"line": 42,
"column": 51
},
"end": {
"line": 42,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapeDefinitionMgr",
"start": 1498,
"end": 1516,
"loc": {
"start": {
"line": 42,
"column": 52
},
"end": {
"line": 42,
"column": 70
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1516,
"end": 1517,
"loc": {
"start": {
"line": 42,
"column": 70
},
"end": {
"line": 42,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getShapeItemFromDefinition",
"start": 1517,
"end": 1543,
"loc": {
"start": {
"line": 42,
"column": 71
},
"end": {
"line": 42,
"column": 97
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1543,
"end": 1544,
"loc": {
"start": {
"line": 42,
"column": 97
},
"end": {
"line": 42,
"column": 98
}
}
},
{
"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": 1566,
"end": 1570,
"loc": {
"start": {
"line": 43,
"column": 20
},
"end": {
"line": 43,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1570,
"end": 1571,
"loc": {
"start": {
"line": 43,
"column": 24
},
"end": {
"line": 43,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1571,
"end": 1575,
"loc": {
"start": {
"line": 43,
"column": 25
},
"end": {
"line": 43,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1575,
"end": 1576,
"loc": {
"start": {
"line": 43,
"column": 29
},
"end": {
"line": 43,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 1576,
"end": 1584,
"loc": {
"start": {
"line": 43,
"column": 30
},
"end": {
"line": 43,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1584,
"end": 1585,
"loc": {
"start": {
"line": 43,
"column": 38
},
"end": {
"line": 43,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentGoal",
"start": 1585,
"end": 1596,
"loc": {
"start": {
"line": 43,
"column": 39
},
"end": {
"line": 43,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1596,
"end": 1597,
"loc": {
"start": {
"line": 43,
"column": 50
},
"end": {
"line": 43,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 1597,
"end": 1607,
"loc": {
"start": {
"line": 43,
"column": 51
},
"end": {
"line": 43,
"column": 61
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1625,
"end": 1626,
"loc": {
"start": {
"line": 44,
"column": 16
},
"end": {
"line": 44,
"column": 17
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1626,
"end": 1627,
"loc": {
"start": {
"line": 44,
"column": 17
},
"end": {
"line": 44,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1641,
"end": 1642,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1652,
"end": 1653,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 9
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {HTMLCanvasElement} canvas\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} w\r\n * @param {number} h\r\n * @param {number} dpi\r\n ",
"start": 1663,
"end": 1883,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 54,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "redrawHubBaseTexture",
"start": 1889,
"end": 1909,
"loc": {
"start": {
"line": 55,
"column": 4
},
"end": {
"line": 55,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1909,
"end": 1910,
"loc": {
"start": {
"line": 55,
"column": 24
},
"end": {
"line": 55,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "canvas",
"start": 1910,
"end": 1916,
"loc": {
"start": {
"line": 55,
"column": 25
},
"end": {
"line": 55,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1916,
"end": 1917,
"loc": {
"start": {
"line": 55,
"column": 31
},
"end": {
"line": 55,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 1918,
"end": 1925,
"loc": {
"start": {
"line": 55,
"column": 33
},
"end": {
"line": 55,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1925,
"end": 1926,
"loc": {
"start": {
"line": 55,
"column": 40
},
"end": {
"line": 55,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 1927,
"end": 1928,
"loc": {
"start": {
"line": 55,
"column": 42
},
"end": {
"line": 55,
"column": 43
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1928,
"end": 1929,
"loc": {
"start": {
"line": 55,
"column": 43
},
"end": {
"line": 55,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 1930,
"end": 1931,
"loc": {
"start": {
"line": 55,
"column": 45
},
"end": {
"line": 55,
"column": 46
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1931,
"end": 1932,
"loc": {
"start": {
"line": 55,
"column": 46
},
"end": {
"line": 55,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dpi",
"start": 1933,
"end": 1936,
"loc": {
"start": {
"line": 55,
"column": 48
},
"end": {
"line": 55,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1936,
"end": 1937,
"loc": {
"start": {
"line": 55,
"column": 51
},
"end": {
"line": 55,
"column": 52
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1938,
"end": 1939,
"loc": {
"start": {
"line": 55,
"column": 53
},
"end": {
"line": 55,
"column": 54
}
}
},
{
"type": "CommentLine",
"value": " This method is quite ugly, please ignore it!",
"start": 1949,
"end": 1996,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 2008,
"end": 2015,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2015,
"end": 2016,
"loc": {
"start": {
"line": 58,
"column": 15
},
"end": {
"line": 58,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scale",
"start": 2016,
"end": 2021,
"loc": {
"start": {
"line": 58,
"column": 16
},
"end": {
"line": 58,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2021,
"end": 2022,
"loc": {
"start": {
"line": 58,
"column": 21
},
"end": {
"line": 58,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dpi",
"start": 2022,
"end": 2025,
"loc": {
"start": {
"line": 58,
"column": 22
},
"end": {
"line": 58,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2025,
"end": 2026,
"loc": {
"start": {
"line": 58,
"column": 25
},
"end": {
"line": 58,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dpi",
"start": 2027,
"end": 2030,
"loc": {
"start": {
"line": 58,
"column": 27
},
"end": {
"line": 58,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2030,
"end": 2031,
"loc": {
"start": {
"line": 58,
"column": 30
},
"end": {
"line": 58,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2031,
"end": 2032,
"loc": {
"start": {
"line": 58,
"column": 31
},
"end": {
"line": 58,
"column": 32
}
}
},
{
"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": 2044,
"end": 2049,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 2050,
"end": 2060,
"loc": {
"start": {
"line": 60,
"column": 14
},
"end": {
"line": 60,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2061,
"end": 2062,
"loc": {
"start": {
"line": 60,
"column": 25
},
"end": {
"line": 60,
"column": 26
}
}
},
{
"type": {
"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": 2063,
"end": 2066,
"loc": {
"start": {
"line": 60,
"column": 27
},
"end": {
"line": 60,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "DrawParameters",
"start": 2067,
"end": 2081,
"loc": {
"start": {
"line": 60,
"column": 31
},
"end": {
"line": 60,
"column": 45
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2081,
"end": 2082,
"loc": {
"start": {
"line": 60,
"column": 45
},
"end": {
"line": 60,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2082,
"end": 2083,
"loc": {
"start": {
"line": 60,
"column": 46
},
"end": {
"line": 60,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 2097,
"end": 2104,
"loc": {
"start": {
"line": 61,
"column": 12
},
"end": {
"line": 61,
"column": 19
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2104,
"end": 2105,
"loc": {
"start": {
"line": 61,
"column": 19
},
"end": {
"line": 61,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visibleRect",
"start": 2119,
"end": 2130,
"loc": {
"start": {
"line": 62,
"column": 12
},
"end": {
"line": 62,
"column": 23
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2130,
"end": 2131,
"loc": {
"start": {
"line": 62,
"column": 23
},
"end": {
"line": 62,
"column": 24
}
}
},
{
"type": {
"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": 2132,
"end": 2135,
"loc": {
"start": {
"line": 62,
"column": 25
},
"end": {
"line": 62,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Rectangle",
"start": 2136,
"end": 2145,
"loc": {
"start": {
"line": 62,
"column": 29
},
"end": {
"line": 62,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2145,
"end": 2146,
"loc": {
"start": {
"line": 62,
"column": 38
},
"end": {
"line": 62,
"column": 39
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2146,
"end": 2147,
"loc": {
"start": {
"line": 62,
"column": 39
},
"end": {
"line": 62,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2147,
"end": 2148,
"loc": {
"start": {
"line": 62,
"column": 40
},
"end": {
"line": 62,
"column": 41
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2149,
"end": 2150,
"loc": {
"start": {
"line": 62,
"column": 42
},
"end": {
"line": 62,
"column": 43
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2150,
"end": 2151,
"loc": {
"start": {
"line": 62,
"column": 43
},
"end": {
"line": 62,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 2152,
"end": 2153,
"loc": {
"start": {
"line": 62,
"column": 45
},
"end": {
"line": 62,
"column": 46
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2153,
"end": 2154,
"loc": {
"start": {
"line": 62,
"column": 46
},
"end": {
"line": 62,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 2155,
"end": 2156,
"loc": {
"start": {
"line": 62,
"column": 48
},
"end": {
"line": 62,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2156,
"end": 2157,
"loc": {
"start": {
"line": 62,
"column": 49
},
"end": {
"line": 62,
"column": 50
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2157,
"end": 2158,
"loc": {
"start": {
"line": 62,
"column": 50
},
"end": {
"line": 62,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "desiredAtlasScale",
"start": 2172,
"end": 2189,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 63,
"column": 29
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2189,
"end": 2190,
"loc": {
"start": {
"line": 63,
"column": 29
},
"end": {
"line": 63,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ORIGINAL_SPRITE_SCALE",
"start": 2191,
"end": 2212,
"loc": {
"start": {
"line": 63,
"column": 31
},
"end": {
"line": 63,
"column": 52
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2212,
"end": 2213,
"loc": {
"start": {
"line": 63,
"column": 52
},
"end": {
"line": 63,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "zoomLevel",
"start": 2227,
"end": 2236,
"loc": {
"start": {
"line": 64,
"column": 12
},
"end": {
"line": 64,
"column": 21
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2236,
"end": 2237,
"loc": {
"start": {
"line": 64,
"column": 21
},
"end": {
"line": 64,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dpi",
"start": 2238,
"end": 2241,
"loc": {
"start": {
"line": 64,
"column": 23
},
"end": {
"line": 64,
"column": 26
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 2242,
"end": 2243,
"loc": {
"start": {
"line": 64,
"column": 27
},
"end": {
"line": 64,
"column": 28
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0.75,
"start": 2244,
"end": 2248,
"loc": {
"start": {
"line": 64,
"column": 29
},
"end": {
"line": 64,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2248,
"end": 2249,
"loc": {
"start": {
"line": 64,
"column": 33
},
"end": {
"line": 64,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2263,
"end": 2267,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 16
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2267,
"end": 2268,
"loc": {
"start": {
"line": 65,
"column": 16
},
"end": {
"line": 65,
"column": 17
}
}
},
{
"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": 2269,
"end": 2273,
"loc": {
"start": {
"line": 65,
"column": 18
},
"end": {
"line": 65,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2273,
"end": 2274,
"loc": {
"start": {
"line": 65,
"column": 22
},
"end": {
"line": 65,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2274,
"end": 2278,
"loc": {
"start": {
"line": 65,
"column": 23
},
"end": {
"line": 65,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2278,
"end": 2279,
"loc": {
"start": {
"line": 65,
"column": 27
},
"end": {
"line": 65,
"column": 28
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2289,
"end": 2290,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2290,
"end": 2291,
"loc": {
"start": {
"line": 66,
"column": 9
},
"end": {
"line": 66,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2291,
"end": 2292,
"loc": {
"start": {
"line": 66,
"column": 10
},
"end": {
"line": 66,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 2304,
"end": 2311,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2311,
"end": 2312,
"loc": {
"start": {
"line": 68,
"column": 15
},
"end": {
"line": 68,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clearRect",
"start": 2312,
"end": 2321,
"loc": {
"start": {
"line": 68,
"column": 16
},
"end": {
"line": 68,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2321,
"end": 2322,
"loc": {
"start": {
"line": 68,
"column": 25
},
"end": {
"line": 68,
"column": 26
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2322,
"end": 2323,
"loc": {
"start": {
"line": 68,
"column": 26
},
"end": {
"line": 68,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2323,
"end": 2324,
"loc": {
"start": {
"line": 68,
"column": 27
},
"end": {
"line": 68,
"column": 28
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2325,
"end": 2326,
"loc": {
"start": {
"line": 68,
"column": 29
},
"end": {
"line": 68,
"column": 30
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2326,
"end": 2327,
"loc": {
"start": {
"line": 68,
"column": 30
},
"end": {
"line": 68,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 2328,
"end": 2329,
"loc": {
"start": {
"line": 68,
"column": 32
},
"end": {
"line": 68,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2329,
"end": 2330,
"loc": {
"start": {
"line": 68,
"column": 33
},
"end": {
"line": 68,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 2331,
"end": 2332,
"loc": {
"start": {
"line": 68,
"column": 35
},
"end": {
"line": 68,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2332,
"end": 2333,
"loc": {
"start": {
"line": 68,
"column": 36
},
"end": {
"line": 68,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2333,
"end": 2334,
"loc": {
"start": {
"line": 68,
"column": 37
},
"end": {
"line": 68,
"column": 38
}
}
},
{
"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": 2346,
"end": 2350,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2350,
"end": 2351,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubSprite",
"start": 2351,
"end": 2360,
"loc": {
"start": {
"line": 70,
"column": 13
},
"end": {
"line": 70,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2360,
"end": 2361,
"loc": {
"start": {
"line": 70,
"column": 22
},
"end": {
"line": 70,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "draw",
"start": 2361,
"end": 2365,
"loc": {
"start": {
"line": 70,
"column": 23
},
"end": {
"line": 70,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2365,
"end": 2366,
"loc": {
"start": {
"line": 70,
"column": 27
},
"end": {
"line": 70,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 2366,
"end": 2373,
"loc": {
"start": {
"line": 70,
"column": 28
},
"end": {
"line": 70,
"column": 35
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2373,
"end": 2374,
"loc": {
"start": {
"line": 70,
"column": 35
},
"end": {
"line": 70,
"column": 36
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2375,
"end": 2376,
"loc": {
"start": {
"line": 70,
"column": 37
},
"end": {
"line": 70,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2376,
"end": 2377,
"loc": {
"start": {
"line": 70,
"column": 38
},
"end": {
"line": 70,
"column": 39
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2378,
"end": 2379,
"loc": {
"start": {
"line": 70,
"column": 40
},
"end": {
"line": 70,
"column": 41
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2379,
"end": 2380,
"loc": {
"start": {
"line": 70,
"column": 41
},
"end": {
"line": 70,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 2381,
"end": 2382,
"loc": {
"start": {
"line": 70,
"column": 43
},
"end": {
"line": 70,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2382,
"end": 2383,
"loc": {
"start": {
"line": 70,
"column": 44
},
"end": {
"line": 70,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 2384,
"end": 2385,
"loc": {
"start": {
"line": 70,
"column": 46
},
"end": {
"line": 70,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2385,
"end": 2386,
"loc": {
"start": {
"line": 70,
"column": 47
},
"end": {
"line": 70,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2386,
"end": 2387,
"loc": {
"start": {
"line": 70,
"column": 48
},
"end": {
"line": 70,
"column": 49
}
}
},
{
"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": 2399,
"end": 2401,
"loc": {
"start": {
"line": 72,
"column": 8
},
"end": {
"line": 72,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2402,
"end": 2403,
"loc": {
"start": {
"line": 72,
"column": 11
},
"end": {
"line": 72,
"column": 12
}
}
},
{
"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": 2403,
"end": 2407,
"loc": {
"start": {
"line": 72,
"column": 12
},
"end": {
"line": 72,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2407,
"end": 2408,
"loc": {
"start": {
"line": 72,
"column": 16
},
"end": {
"line": 72,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2408,
"end": 2412,
"loc": {
"start": {
"line": 72,
"column": 17
},
"end": {
"line": 72,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2412,
"end": 2413,
"loc": {
"start": {
"line": 72,
"column": 21
},
"end": {
"line": 72,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 2413,
"end": 2421,
"loc": {
"start": {
"line": 72,
"column": 22
},
"end": {
"line": 72,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2421,
"end": 2422,
"loc": {
"start": {
"line": 72,
"column": 30
},
"end": {
"line": 72,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isEndOfDemoReached",
"start": 2422,
"end": 2440,
"loc": {
"start": {
"line": 72,
"column": 31
},
"end": {
"line": 72,
"column": 49
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2440,
"end": 2441,
"loc": {
"start": {
"line": 72,
"column": 49
},
"end": {
"line": 72,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2441,
"end": 2442,
"loc": {
"start": {
"line": 72,
"column": 50
},
"end": {
"line": 72,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2442,
"end": 2443,
"loc": {
"start": {
"line": 72,
"column": 51
},
"end": {
"line": 72,
"column": 52
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2444,
"end": 2445,
"loc": {
"start": {
"line": 72,
"column": 53
},
"end": {
"line": 72,
"column": 54
}
}
},
{
"type": "CommentLine",
"value": " End of demo",
"start": 2459,
"end": 2473,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 73,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 2487,
"end": 2494,
"loc": {
"start": {
"line": 74,
"column": 12
},
"end": {
"line": 74,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2494,
"end": 2495,
"loc": {
"start": {
"line": 74,
"column": 19
},
"end": {
"line": 74,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "font",
"start": 2495,
"end": 2499,
"loc": {
"start": {
"line": 74,
"column": 20
},
"end": {
"line": 74,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2500,
"end": 2501,
"loc": {
"start": {
"line": 74,
"column": 25
},
"end": {
"line": 74,
"column": 26
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "bold 12px GameFont",
"start": 2502,
"end": 2522,
"loc": {
"start": {
"line": 74,
"column": 27
},
"end": {
"line": 74,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2522,
"end": 2523,
"loc": {
"start": {
"line": 74,
"column": 47
},
"end": {
"line": 74,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 2537,
"end": 2544,
"loc": {
"start": {
"line": 75,
"column": 12
},
"end": {
"line": 75,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2544,
"end": 2545,
"loc": {
"start": {
"line": 75,
"column": 19
},
"end": {
"line": 75,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillStyle",
"start": 2545,
"end": 2554,
"loc": {
"start": {
"line": 75,
"column": 20
},
"end": {
"line": 75,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2555,
"end": 2556,
"loc": {
"start": {
"line": 75,
"column": 30
},
"end": {
"line": 75,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "#fd0752",
"start": 2557,
"end": 2566,
"loc": {
"start": {
"line": 75,
"column": 32
},
"end": {
"line": 75,
"column": 41
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2566,
"end": 2567,
"loc": {
"start": {
"line": 75,
"column": 41
},
"end": {
"line": 75,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 2581,
"end": 2588,
"loc": {
"start": {
"line": 76,
"column": 12
},
"end": {
"line": 76,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2588,
"end": 2589,
"loc": {
"start": {
"line": 76,
"column": 19
},
"end": {
"line": 76,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "textAlign",
"start": 2589,
"end": 2598,
"loc": {
"start": {
"line": 76,
"column": 20
},
"end": {
"line": 76,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2599,
"end": 2600,
"loc": {
"start": {
"line": 76,
"column": 30
},
"end": {
"line": 76,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "center",
"start": 2601,
"end": 2609,
"loc": {
"start": {
"line": 76,
"column": 32
},
"end": {
"line": 76,
"column": 40
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2609,
"end": 2610,
"loc": {
"start": {
"line": 76,
"column": 40
},
"end": {
"line": 76,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 2624,
"end": 2631,
"loc": {
"start": {
"line": 77,
"column": 12
},
"end": {
"line": 77,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2631,
"end": 2632,
"loc": {
"start": {
"line": 77,
"column": 19
},
"end": {
"line": 77,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillText",
"start": 2632,
"end": 2640,
"loc": {
"start": {
"line": 77,
"column": 20
},
"end": {
"line": 77,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2640,
"end": 2641,
"loc": {
"start": {
"line": 77,
"column": 28
},
"end": {
"line": 77,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "T",
"start": 2641,
"end": 2642,
"loc": {
"start": {
"line": 77,
"column": 29
},
"end": {
"line": 77,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2642,
"end": 2643,
"loc": {
"start": {
"line": 77,
"column": 30
},
"end": {
"line": 77,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buildings",
"start": 2643,
"end": 2652,
"loc": {
"start": {
"line": 77,
"column": 31
},
"end": {
"line": 77,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2652,
"end": 2653,
"loc": {
"start": {
"line": 77,
"column": 40
},
"end": {
"line": 77,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hub",
"start": 2653,
"end": 2656,
"loc": {
"start": {
"line": 77,
"column": 41
},
"end": {
"line": 77,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2656,
"end": 2657,
"loc": {
"start": {
"line": 77,
"column": 44
},
"end": {
"line": 77,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "endOfDemo",
"start": 2657,
"end": 2666,
"loc": {
"start": {
"line": 77,
"column": 45
},
"end": {
"line": 77,
"column": 54
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2666,
"end": 2667,
"loc": {
"start": {
"line": 77,
"column": 54
},
"end": {
"line": 77,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toUpperCase",
"start": 2667,
"end": 2678,
"loc": {
"start": {
"line": 77,
"column": 55
},
"end": {
"line": 77,
"column": 66
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2678,
"end": 2679,
"loc": {
"start": {
"line": 77,
"column": 66
},
"end": {
"line": 77,
"column": 67
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2679,
"end": 2680,
"loc": {
"start": {
"line": 77,
"column": 67
},
"end": {
"line": 77,
"column": 68
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2680,
"end": 2681,
"loc": {
"start": {
"line": 77,
"column": 68
},
"end": {
"line": 77,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 2682,
"end": 2683,
"loc": {
"start": {
"line": 77,
"column": 70
},
"end": {
"line": 77,
"column": 71
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 2684,
"end": 2685,
"loc": {
"start": {
"line": 77,
"column": 72
},
"end": {
"line": 77,
"column": 73
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 2686,
"end": 2687,
"loc": {
"start": {
"line": 77,
"column": 74
},
"end": {
"line": 77,
"column": 75
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2687,
"end": 2688,
"loc": {
"start": {
"line": 77,
"column": 75
},
"end": {
"line": 77,
"column": 76
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 2689,
"end": 2690,
"loc": {
"start": {
"line": 77,
"column": 77
},
"end": {
"line": 77,
"column": 78
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 2691,
"end": 2692,
"loc": {
"start": {
"line": 77,
"column": 79
},
"end": {
"line": 77,
"column": 80
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 2693,
"end": 2694,
"loc": {
"start": {
"line": 77,
"column": 81
},
"end": {
"line": 77,
"column": 82
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 2695,
"end": 2696,
"loc": {
"start": {
"line": 77,
"column": 83
},
"end": {
"line": 77,
"column": 84
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 6,
"start": 2697,
"end": 2698,
"loc": {
"start": {
"line": 77,
"column": 85
},
"end": {
"line": 77,
"column": 86
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2698,
"end": 2699,
"loc": {
"start": {
"line": 77,
"column": 86
},
"end": {
"line": 77,
"column": 87
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2699,
"end": 2700,
"loc": {
"start": {
"line": 77,
"column": 87
},
"end": {
"line": 77,
"column": 88
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 2714,
"end": 2721,
"loc": {
"start": {
"line": 78,
"column": 12
},
"end": {
"line": 78,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2721,
"end": 2722,
"loc": {
"start": {
"line": 78,
"column": 19
},
"end": {
"line": 78,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "textAlign",
"start": 2722,
"end": 2731,
"loc": {
"start": {
"line": 78,
"column": 20
},
"end": {
"line": 78,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2732,
"end": 2733,
"loc": {
"start": {
"line": 78,
"column": 30
},
"end": {
"line": 78,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "left",
"start": 2734,
"end": 2740,
"loc": {
"start": {
"line": 78,
"column": 32
},
"end": {
"line": 78,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2740,
"end": 2741,
"loc": {
"start": {
"line": 78,
"column": 38
},
"end": {
"line": 78,
"column": 39
}
}
},
{
"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": 2757,
"end": 2763,
"loc": {
"start": {
"line": 80,
"column": 12
},
"end": {
"line": 80,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2763,
"end": 2764,
"loc": {
"start": {
"line": 80,
"column": 18
},
"end": {
"line": 80,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2774,
"end": 2775,
"loc": {
"start": {
"line": 81,
"column": 8
},
"end": {
"line": 81,
"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": 2787,
"end": 2792,
"loc": {
"start": {
"line": 83,
"column": 8
},
"end": {
"line": 83,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 2793,
"end": 2803,
"loc": {
"start": {
"line": 83,
"column": 14
},
"end": {
"line": 83,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2804,
"end": 2805,
"loc": {
"start": {
"line": 83,
"column": 25
},
"end": {
"line": 83,
"column": 26
}
}
},
{
"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": 2806,
"end": 2810,
"loc": {
"start": {
"line": 83,
"column": 27
},
"end": {
"line": 83,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2810,
"end": 2811,
"loc": {
"start": {
"line": 83,
"column": 31
},
"end": {
"line": 83,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2811,
"end": 2815,
"loc": {
"start": {
"line": 83,
"column": 32
},
"end": {
"line": 83,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2815,
"end": 2816,
"loc": {
"start": {
"line": 83,
"column": 36
},
"end": {
"line": 83,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 2816,
"end": 2824,
"loc": {
"start": {
"line": 83,
"column": 37
},
"end": {
"line": 83,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2824,
"end": 2825,
"loc": {
"start": {
"line": 83,
"column": 45
},
"end": {
"line": 83,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentGoal",
"start": 2825,
"end": 2836,
"loc": {
"start": {
"line": 83,
"column": 46
},
"end": {
"line": 83,
"column": 57
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2836,
"end": 2837,
"loc": {
"start": {
"line": 83,
"column": 57
},
"end": {
"line": 83,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 2837,
"end": 2847,
"loc": {
"start": {
"line": 83,
"column": 58
},
"end": {
"line": 83,
"column": 68
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2847,
"end": 2848,
"loc": {
"start": {
"line": 83,
"column": 68
},
"end": {
"line": 83,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 2858,
"end": 2868,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2868,
"end": 2869,
"loc": {
"start": {
"line": 84,
"column": 18
},
"end": {
"line": 84,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawCentered",
"start": 2869,
"end": 2881,
"loc": {
"start": {
"line": 84,
"column": 19
},
"end": {
"line": 84,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2881,
"end": 2882,
"loc": {
"start": {
"line": 84,
"column": 31
},
"end": {
"line": 84,
"column": 32
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 45,
"start": 2882,
"end": 2884,
"loc": {
"start": {
"line": 84,
"column": 32
},
"end": {
"line": 84,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2884,
"end": 2885,
"loc": {
"start": {
"line": 84,
"column": 34
},
"end": {
"line": 84,
"column": 35
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 58,
"start": 2886,
"end": 2888,
"loc": {
"start": {
"line": 84,
"column": 36
},
"end": {
"line": 84,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2888,
"end": 2889,
"loc": {
"start": {
"line": 84,
"column": 38
},
"end": {
"line": 84,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 2890,
"end": 2900,
"loc": {
"start": {
"line": 84,
"column": 40
},
"end": {
"line": 84,
"column": 50
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2900,
"end": 2901,
"loc": {
"start": {
"line": 84,
"column": 50
},
"end": {
"line": 84,
"column": 51
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 36,
"start": 2902,
"end": 2904,
"loc": {
"start": {
"line": 84,
"column": 52
},
"end": {
"line": 84,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2904,
"end": 2905,
"loc": {
"start": {
"line": 84,
"column": 54
},
"end": {
"line": 84,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2905,
"end": 2906,
"loc": {
"start": {
"line": 84,
"column": 55
},
"end": {
"line": 84,
"column": 56
}
}
},
{
"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": 2918,
"end": 2923,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "goals",
"start": 2924,
"end": 2929,
"loc": {
"start": {
"line": 86,
"column": 14
},
"end": {
"line": 86,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2930,
"end": 2931,
"loc": {
"start": {
"line": 86,
"column": 20
},
"end": {
"line": 86,
"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": 2932,
"end": 2936,
"loc": {
"start": {
"line": 86,
"column": 22
},
"end": {
"line": 86,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2936,
"end": 2937,
"loc": {
"start": {
"line": 86,
"column": 26
},
"end": {
"line": 86,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2937,
"end": 2941,
"loc": {
"start": {
"line": 86,
"column": 27
},
"end": {
"line": 86,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2941,
"end": 2942,
"loc": {
"start": {
"line": 86,
"column": 31
},
"end": {
"line": 86,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 2942,
"end": 2950,
"loc": {
"start": {
"line": 86,
"column": 32
},
"end": {
"line": 86,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2950,
"end": 2951,
"loc": {
"start": {
"line": 86,
"column": 40
},
"end": {
"line": 86,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentGoal",
"start": 2951,
"end": 2962,
"loc": {
"start": {
"line": 86,
"column": 41
},
"end": {
"line": 86,
"column": 52
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2962,
"end": 2963,
"loc": {
"start": {
"line": 86,
"column": 52
},
"end": {
"line": 86,
"column": 53
}
}
},
{
"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": 2975,
"end": 2980,
"loc": {
"start": {
"line": 88,
"column": 8
},
"end": {
"line": 88,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "textOffsetX",
"start": 2981,
"end": 2992,
"loc": {
"start": {
"line": 88,
"column": 14
},
"end": {
"line": 88,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2993,
"end": 2994,
"loc": {
"start": {
"line": 88,
"column": 26
},
"end": {
"line": 88,
"column": 27
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 70,
"start": 2995,
"end": 2997,
"loc": {
"start": {
"line": 88,
"column": 28
},
"end": {
"line": 88,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2997,
"end": 2998,
"loc": {
"start": {
"line": 88,
"column": 30
},
"end": {
"line": 88,
"column": 31
}
}
},
{
"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": 3008,
"end": 3013,
"loc": {
"start": {
"line": 89,
"column": 8
},
"end": {
"line": 89,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "textOffsetY",
"start": 3014,
"end": 3025,
"loc": {
"start": {
"line": 89,
"column": 14
},
"end": {
"line": 89,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3026,
"end": 3027,
"loc": {
"start": {
"line": 89,
"column": 26
},
"end": {
"line": 89,
"column": 27
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 61,
"start": 3028,
"end": 3030,
"loc": {
"start": {
"line": 89,
"column": 28
},
"end": {
"line": 89,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3030,
"end": 3031,
"loc": {
"start": {
"line": 89,
"column": 30
},
"end": {
"line": 89,
"column": 31
}
}
},
{
"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": 3043,
"end": 3045,
"loc": {
"start": {
"line": 91,
"column": 8
},
"end": {
"line": 91,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3046,
"end": 3047,
"loc": {
"start": {
"line": 91,
"column": 11
},
"end": {
"line": 91,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "goals",
"start": 3047,
"end": 3052,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 91,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3052,
"end": 3053,
"loc": {
"start": {
"line": 91,
"column": 17
},
"end": {
"line": 91,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "throughputOnly",
"start": 3053,
"end": 3067,
"loc": {
"start": {
"line": 91,
"column": 18
},
"end": {
"line": 91,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3067,
"end": 3068,
"loc": {
"start": {
"line": 91,
"column": 32
},
"end": {
"line": 91,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3069,
"end": 3070,
"loc": {
"start": {
"line": 91,
"column": 34
},
"end": {
"line": 91,
"column": 35
}
}
},
{
"type": "CommentLine",
"value": " Throughput",
"start": 3084,
"end": 3097,
"loc": {
"start": {
"line": 92,
"column": 12
},
"end": {
"line": 92,
"column": 25
}
}
},
{
"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": 3111,
"end": 3116,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 93,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deliveredText",
"start": 3117,
"end": 3130,
"loc": {
"start": {
"line": 93,
"column": 18
},
"end": {
"line": 93,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3131,
"end": 3132,
"loc": {
"start": {
"line": 93,
"column": 32
},
"end": {
"line": 93,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "T",
"start": 3133,
"end": 3134,
"loc": {
"start": {
"line": 93,
"column": 34
},
"end": {
"line": 93,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3134,
"end": 3135,
"loc": {
"start": {
"line": 93,
"column": 35
},
"end": {
"line": 93,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ingame",
"start": 3135,
"end": 3141,
"loc": {
"start": {
"line": 93,
"column": 36
},
"end": {
"line": 93,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3141,
"end": 3142,
"loc": {
"start": {
"line": 93,
"column": 42
},
"end": {
"line": 93,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "statistics",
"start": 3142,
"end": 3152,
"loc": {
"start": {
"line": 93,
"column": 43
},
"end": {
"line": 93,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3152,
"end": 3153,
"loc": {
"start": {
"line": 93,
"column": 53
},
"end": {
"line": 93,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapesDisplayUnits",
"start": 3153,
"end": 3171,
"loc": {
"start": {
"line": 93,
"column": 54
},
"end": {
"line": 93,
"column": 72
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3171,
"end": 3172,
"loc": {
"start": {
"line": 93,
"column": 72
},
"end": {
"line": 93,
"column": 73
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "second",
"start": 3172,
"end": 3178,
"loc": {
"start": {
"line": 93,
"column": 73
},
"end": {
"line": 93,
"column": 79
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3178,
"end": 3179,
"loc": {
"start": {
"line": 93,
"column": 79
},
"end": {
"line": 93,
"column": 80
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "replace",
"start": 3179,
"end": 3186,
"loc": {
"start": {
"line": 93,
"column": 80
},
"end": {
"line": 93,
"column": 87
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3186,
"end": 3187,
"loc": {
"start": {
"line": 93,
"column": 87
},
"end": {
"line": 93,
"column": 88
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "<shapes>",
"start": 3205,
"end": 3215,
"loc": {
"start": {
"line": 94,
"column": 16
},
"end": {
"line": 94,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3215,
"end": 3216,
"loc": {
"start": {
"line": 94,
"column": 26
},
"end": {
"line": 94,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "formatBigNumber",
"start": 3234,
"end": 3249,
"loc": {
"start": {
"line": 95,
"column": 16
},
"end": {
"line": 95,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3249,
"end": 3250,
"loc": {
"start": {
"line": 95,
"column": 31
},
"end": {
"line": 95,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "goals",
"start": 3250,
"end": 3255,
"loc": {
"start": {
"line": 95,
"column": 32
},
"end": {
"line": 95,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3255,
"end": 3256,
"loc": {
"start": {
"line": 95,
"column": 37
},
"end": {
"line": 95,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "required",
"start": 3256,
"end": 3264,
"loc": {
"start": {
"line": 95,
"column": 38
},
"end": {
"line": 95,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3264,
"end": 3265,
"loc": {
"start": {
"line": 95,
"column": 46
},
"end": {
"line": 95,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3279,
"end": 3280,
"loc": {
"start": {
"line": 96,
"column": 12
},
"end": {
"line": 96,
"column": 13
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3280,
"end": 3281,
"loc": {
"start": {
"line": 96,
"column": 13
},
"end": {
"line": 96,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3297,
"end": 3304,
"loc": {
"start": {
"line": 98,
"column": 12
},
"end": {
"line": 98,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3304,
"end": 3305,
"loc": {
"start": {
"line": 98,
"column": 19
},
"end": {
"line": 98,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "font",
"start": 3305,
"end": 3309,
"loc": {
"start": {
"line": 98,
"column": 20
},
"end": {
"line": 98,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3310,
"end": 3311,
"loc": {
"start": {
"line": 98,
"column": 25
},
"end": {
"line": 98,
"column": 26
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "bold 12px GameFont",
"start": 3312,
"end": 3332,
"loc": {
"start": {
"line": 98,
"column": 27
},
"end": {
"line": 98,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3332,
"end": 3333,
"loc": {
"start": {
"line": 98,
"column": 47
},
"end": {
"line": 98,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3347,
"end": 3354,
"loc": {
"start": {
"line": 99,
"column": 12
},
"end": {
"line": 99,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3354,
"end": 3355,
"loc": {
"start": {
"line": 99,
"column": 19
},
"end": {
"line": 99,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillStyle",
"start": 3355,
"end": 3364,
"loc": {
"start": {
"line": 99,
"column": 20
},
"end": {
"line": 99,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3365,
"end": 3366,
"loc": {
"start": {
"line": 99,
"column": 30
},
"end": {
"line": 99,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "#64666e",
"start": 3367,
"end": 3376,
"loc": {
"start": {
"line": 99,
"column": 32
},
"end": {
"line": 99,
"column": 41
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3376,
"end": 3377,
"loc": {
"start": {
"line": 99,
"column": 41
},
"end": {
"line": 99,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3391,
"end": 3398,
"loc": {
"start": {
"line": 100,
"column": 12
},
"end": {
"line": 100,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3398,
"end": 3399,
"loc": {
"start": {
"line": 100,
"column": 19
},
"end": {
"line": 100,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "textAlign",
"start": 3399,
"end": 3408,
"loc": {
"start": {
"line": 100,
"column": 20
},
"end": {
"line": 100,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3409,
"end": 3410,
"loc": {
"start": {
"line": 100,
"column": 30
},
"end": {
"line": 100,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "left",
"start": 3411,
"end": 3417,
"loc": {
"start": {
"line": 100,
"column": 32
},
"end": {
"line": 100,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3417,
"end": 3418,
"loc": {
"start": {
"line": 100,
"column": 38
},
"end": {
"line": 100,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3432,
"end": 3439,
"loc": {
"start": {
"line": 101,
"column": 12
},
"end": {
"line": 101,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3439,
"end": 3440,
"loc": {
"start": {
"line": 101,
"column": 19
},
"end": {
"line": 101,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillText",
"start": 3440,
"end": 3448,
"loc": {
"start": {
"line": 101,
"column": 20
},
"end": {
"line": 101,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3448,
"end": 3449,
"loc": {
"start": {
"line": 101,
"column": 28
},
"end": {
"line": 101,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deliveredText",
"start": 3449,
"end": 3462,
"loc": {
"start": {
"line": 101,
"column": 29
},
"end": {
"line": 101,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3462,
"end": 3463,
"loc": {
"start": {
"line": 101,
"column": 42
},
"end": {
"line": 101,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "textOffsetX",
"start": 3464,
"end": 3475,
"loc": {
"start": {
"line": 101,
"column": 44
},
"end": {
"line": 101,
"column": 55
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3475,
"end": 3476,
"loc": {
"start": {
"line": 101,
"column": 55
},
"end": {
"line": 101,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "textOffsetY",
"start": 3477,
"end": 3488,
"loc": {
"start": {
"line": 101,
"column": 57
},
"end": {
"line": 101,
"column": 68
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3488,
"end": 3489,
"loc": {
"start": {
"line": 101,
"column": 68
},
"end": {
"line": 101,
"column": 69
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3489,
"end": 3490,
"loc": {
"start": {
"line": 101,
"column": 69
},
"end": {
"line": 101,
"column": 70
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3500,
"end": 3501,
"loc": {
"start": {
"line": 102,
"column": 8
},
"end": {
"line": 102,
"column": 9
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 3502,
"end": 3506,
"loc": {
"start": {
"line": 102,
"column": 10
},
"end": {
"line": 102,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3507,
"end": 3508,
"loc": {
"start": {
"line": 102,
"column": 15
},
"end": {
"line": 102,
"column": 16
}
}
},
{
"type": "CommentLine",
"value": " Deliver count",
"start": 3522,
"end": 3538,
"loc": {
"start": {
"line": 103,
"column": 12
},
"end": {
"line": 103,
"column": 28
}
}
},
{
"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": 3552,
"end": 3557,
"loc": {
"start": {
"line": 104,
"column": 12
},
"end": {
"line": 104,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "delivered",
"start": 3558,
"end": 3567,
"loc": {
"start": {
"line": 104,
"column": 18
},
"end": {
"line": 104,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3568,
"end": 3569,
"loc": {
"start": {
"line": 104,
"column": 28
},
"end": {
"line": 104,
"column": 29
}
}
},
{
"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": 3570,
"end": 3574,
"loc": {
"start": {
"line": 104,
"column": 30
},
"end": {
"line": 104,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3574,
"end": 3575,
"loc": {
"start": {
"line": 104,
"column": 34
},
"end": {
"line": 104,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 3575,
"end": 3579,
"loc": {
"start": {
"line": 104,
"column": 35
},
"end": {
"line": 104,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3579,
"end": 3580,
"loc": {
"start": {
"line": 104,
"column": 39
},
"end": {
"line": 104,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 3580,
"end": 3588,
"loc": {
"start": {
"line": 104,
"column": 40
},
"end": {
"line": 104,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3588,
"end": 3589,
"loc": {
"start": {
"line": 104,
"column": 48
},
"end": {
"line": 104,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getCurrentGoalDelivered",
"start": 3589,
"end": 3612,
"loc": {
"start": {
"line": 104,
"column": 49
},
"end": {
"line": 104,
"column": 72
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3612,
"end": 3613,
"loc": {
"start": {
"line": 104,
"column": 72
},
"end": {
"line": 104,
"column": 73
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3613,
"end": 3614,
"loc": {
"start": {
"line": 104,
"column": 73
},
"end": {
"line": 104,
"column": 74
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3614,
"end": 3615,
"loc": {
"start": {
"line": 104,
"column": 74
},
"end": {
"line": 104,
"column": 75
}
}
},
{
"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": 3629,
"end": 3634,
"loc": {
"start": {
"line": 105,
"column": 12
},
"end": {
"line": 105,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deliveredText",
"start": 3635,
"end": 3648,
"loc": {
"start": {
"line": 105,
"column": 18
},
"end": {
"line": 105,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3649,
"end": 3650,
"loc": {
"start": {
"line": 105,
"column": 32
},
"end": {
"line": 105,
"column": 33
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "",
"start": 3651,
"end": 3653,
"loc": {
"start": {
"line": 105,
"column": 34
},
"end": {
"line": 105,
"column": 36
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 3654,
"end": 3655,
"loc": {
"start": {
"line": 105,
"column": 37
},
"end": {
"line": 105,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "formatBigNumber",
"start": 3656,
"end": 3671,
"loc": {
"start": {
"line": 105,
"column": 39
},
"end": {
"line": 105,
"column": 54
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3671,
"end": 3672,
"loc": {
"start": {
"line": 105,
"column": 54
},
"end": {
"line": 105,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "delivered",
"start": 3672,
"end": 3681,
"loc": {
"start": {
"line": 105,
"column": 55
},
"end": {
"line": 105,
"column": 64
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3681,
"end": 3682,
"loc": {
"start": {
"line": 105,
"column": 64
},
"end": {
"line": 105,
"column": 65
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3682,
"end": 3683,
"loc": {
"start": {
"line": 105,
"column": 65
},
"end": {
"line": 105,
"column": 66
}
}
},
{
"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": 3699,
"end": 3701,
"loc": {
"start": {
"line": 107,
"column": 12
},
"end": {
"line": 107,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3702,
"end": 3703,
"loc": {
"start": {
"line": 107,
"column": 15
},
"end": {
"line": 107,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "delivered",
"start": 3703,
"end": 3712,
"loc": {
"start": {
"line": 107,
"column": 16
},
"end": {
"line": 107,
"column": 25
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 3713,
"end": 3714,
"loc": {
"start": {
"line": 107,
"column": 26
},
"end": {
"line": 107,
"column": 27
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 9999,
"start": 3715,
"end": 3719,
"loc": {
"start": {
"line": 107,
"column": 28
},
"end": {
"line": 107,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3719,
"end": 3720,
"loc": {
"start": {
"line": 107,
"column": 32
},
"end": {
"line": 107,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3721,
"end": 3722,
"loc": {
"start": {
"line": 107,
"column": 34
},
"end": {
"line": 107,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3740,
"end": 3747,
"loc": {
"start": {
"line": 108,
"column": 16
},
"end": {
"line": 108,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3747,
"end": 3748,
"loc": {
"start": {
"line": 108,
"column": 23
},
"end": {
"line": 108,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "font",
"start": 3748,
"end": 3752,
"loc": {
"start": {
"line": 108,
"column": 24
},
"end": {
"line": 108,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3753,
"end": 3754,
"loc": {
"start": {
"line": 108,
"column": 29
},
"end": {
"line": 108,
"column": 30
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "bold 16px GameFont",
"start": 3755,
"end": 3775,
"loc": {
"start": {
"line": 108,
"column": 31
},
"end": {
"line": 108,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3775,
"end": 3776,
"loc": {
"start": {
"line": 108,
"column": 51
},
"end": {
"line": 108,
"column": 52
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3790,
"end": 3791,
"loc": {
"start": {
"line": 109,
"column": 12
},
"end": {
"line": 109,
"column": 13
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 3792,
"end": 3796,
"loc": {
"start": {
"line": 109,
"column": 14
},
"end": {
"line": 109,
"column": 18
}
}
},
{
"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": 3797,
"end": 3799,
"loc": {
"start": {
"line": 109,
"column": 19
},
"end": {
"line": 109,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3800,
"end": 3801,
"loc": {
"start": {
"line": 109,
"column": 22
},
"end": {
"line": 109,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "delivered",
"start": 3801,
"end": 3810,
"loc": {
"start": {
"line": 109,
"column": 23
},
"end": {
"line": 109,
"column": 32
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 3811,
"end": 3812,
"loc": {
"start": {
"line": 109,
"column": 33
},
"end": {
"line": 109,
"column": 34
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 999,
"start": 3813,
"end": 3816,
"loc": {
"start": {
"line": 109,
"column": 35
},
"end": {
"line": 109,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3816,
"end": 3817,
"loc": {
"start": {
"line": 109,
"column": 38
},
"end": {
"line": 109,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3818,
"end": 3819,
"loc": {
"start": {
"line": 109,
"column": 40
},
"end": {
"line": 109,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3837,
"end": 3844,
"loc": {
"start": {
"line": 110,
"column": 16
},
"end": {
"line": 110,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3844,
"end": 3845,
"loc": {
"start": {
"line": 110,
"column": 23
},
"end": {
"line": 110,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "font",
"start": 3845,
"end": 3849,
"loc": {
"start": {
"line": 110,
"column": 24
},
"end": {
"line": 110,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3850,
"end": 3851,
"loc": {
"start": {
"line": 110,
"column": 29
},
"end": {
"line": 110,
"column": 30
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "bold 20px GameFont",
"start": 3852,
"end": 3872,
"loc": {
"start": {
"line": 110,
"column": 31
},
"end": {
"line": 110,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3872,
"end": 3873,
"loc": {
"start": {
"line": 110,
"column": 51
},
"end": {
"line": 110,
"column": 52
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3887,
"end": 3888,
"loc": {
"start": {
"line": 111,
"column": 12
},
"end": {
"line": 111,
"column": 13
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 3889,
"end": 3893,
"loc": {
"start": {
"line": 111,
"column": 14
},
"end": {
"line": 111,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3894,
"end": 3895,
"loc": {
"start": {
"line": 111,
"column": 19
},
"end": {
"line": 111,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3913,
"end": 3920,
"loc": {
"start": {
"line": 112,
"column": 16
},
"end": {
"line": 112,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3920,
"end": 3921,
"loc": {
"start": {
"line": 112,
"column": 23
},
"end": {
"line": 112,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "font",
"start": 3921,
"end": 3925,
"loc": {
"start": {
"line": 112,
"column": 24
},
"end": {
"line": 112,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3926,
"end": 3927,
"loc": {
"start": {
"line": 112,
"column": 29
},
"end": {
"line": 112,
"column": 30
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "bold 25px GameFont",
"start": 3928,
"end": 3948,
"loc": {
"start": {
"line": 112,
"column": 31
},
"end": {
"line": 112,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3948,
"end": 3949,
"loc": {
"start": {
"line": 112,
"column": 51
},
"end": {
"line": 112,
"column": 52
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3963,
"end": 3964,
"loc": {
"start": {
"line": 113,
"column": 12
},
"end": {
"line": 113,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3978,
"end": 3985,
"loc": {
"start": {
"line": 114,
"column": 12
},
"end": {
"line": 114,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3985,
"end": 3986,
"loc": {
"start": {
"line": 114,
"column": 19
},
"end": {
"line": 114,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillStyle",
"start": 3986,
"end": 3995,
"loc": {
"start": {
"line": 114,
"column": 20
},
"end": {
"line": 114,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3996,
"end": 3997,
"loc": {
"start": {
"line": 114,
"column": 30
},
"end": {
"line": 114,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "#64666e",
"start": 3998,
"end": 4007,
"loc": {
"start": {
"line": 114,
"column": 32
},
"end": {
"line": 114,
"column": 41
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4007,
"end": 4008,
"loc": {
"start": {
"line": 114,
"column": 41
},
"end": {
"line": 114,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4022,
"end": 4029,
"loc": {
"start": {
"line": 115,
"column": 12
},
"end": {
"line": 115,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4029,
"end": 4030,
"loc": {
"start": {
"line": 115,
"column": 19
},
"end": {
"line": 115,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "textAlign",
"start": 4030,
"end": 4039,
"loc": {
"start": {
"line": 115,
"column": 20
},
"end": {
"line": 115,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4040,
"end": 4041,
"loc": {
"start": {
"line": 115,
"column": 30
},
"end": {
"line": 115,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "left",
"start": 4042,
"end": 4048,
"loc": {
"start": {
"line": 115,
"column": 32
},
"end": {
"line": 115,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4048,
"end": 4049,
"loc": {
"start": {
"line": 115,
"column": 38
},
"end": {
"line": 115,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4063,
"end": 4070,
"loc": {
"start": {
"line": 116,
"column": 12
},
"end": {
"line": 116,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4070,
"end": 4071,
"loc": {
"start": {
"line": 116,
"column": 19
},
"end": {
"line": 116,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillText",
"start": 4071,
"end": 4079,
"loc": {
"start": {
"line": 116,
"column": 20
},
"end": {
"line": 116,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4079,
"end": 4080,
"loc": {
"start": {
"line": 116,
"column": 28
},
"end": {
"line": 116,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deliveredText",
"start": 4080,
"end": 4093,
"loc": {
"start": {
"line": 116,
"column": 29
},
"end": {
"line": 116,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4093,
"end": 4094,
"loc": {
"start": {
"line": 116,
"column": 42
},
"end": {
"line": 116,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "textOffsetX",
"start": 4095,
"end": 4106,
"loc": {
"start": {
"line": 116,
"column": 44
},
"end": {
"line": 116,
"column": 55
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4106,
"end": 4107,
"loc": {
"start": {
"line": 116,
"column": 55
},
"end": {
"line": 116,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "textOffsetY",
"start": 4108,
"end": 4119,
"loc": {
"start": {
"line": 116,
"column": 57
},
"end": {
"line": 116,
"column": 68
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4119,
"end": 4120,
"loc": {
"start": {
"line": 116,
"column": 68
},
"end": {
"line": 116,
"column": 69
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4120,
"end": 4121,
"loc": {
"start": {
"line": 116,
"column": 69
},
"end": {
"line": 116,
"column": 70
}
}
},
{
"type": "CommentLine",
"value": " Required",
"start": 4137,
"end": 4148,
"loc": {
"start": {
"line": 118,
"column": 12
},
"end": {
"line": 118,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4162,
"end": 4169,
"loc": {
"start": {
"line": 119,
"column": 12
},
"end": {
"line": 119,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4169,
"end": 4170,
"loc": {
"start": {
"line": 119,
"column": 19
},
"end": {
"line": 119,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "font",
"start": 4170,
"end": 4174,
"loc": {
"start": {
"line": 119,
"column": 20
},
"end": {
"line": 119,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4175,
"end": 4176,
"loc": {
"start": {
"line": 119,
"column": 25
},
"end": {
"line": 119,
"column": 26
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "13px GameFont",
"start": 4177,
"end": 4192,
"loc": {
"start": {
"line": 119,
"column": 27
},
"end": {
"line": 119,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4192,
"end": 4193,
"loc": {
"start": {
"line": 119,
"column": 42
},
"end": {
"line": 119,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4207,
"end": 4214,
"loc": {
"start": {
"line": 120,
"column": 12
},
"end": {
"line": 120,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4214,
"end": 4215,
"loc": {
"start": {
"line": 120,
"column": 19
},
"end": {
"line": 120,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillStyle",
"start": 4215,
"end": 4224,
"loc": {
"start": {
"line": 120,
"column": 20
},
"end": {
"line": 120,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4225,
"end": 4226,
"loc": {
"start": {
"line": 120,
"column": 30
},
"end": {
"line": 120,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "#a4a6b0",
"start": 4227,
"end": 4236,
"loc": {
"start": {
"line": 120,
"column": 32
},
"end": {
"line": 120,
"column": 41
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4236,
"end": 4237,
"loc": {
"start": {
"line": 120,
"column": 41
},
"end": {
"line": 120,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4251,
"end": 4258,
"loc": {
"start": {
"line": 121,
"column": 12
},
"end": {
"line": 121,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4258,
"end": 4259,
"loc": {
"start": {
"line": 121,
"column": 19
},
"end": {
"line": 121,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillText",
"start": 4259,
"end": 4267,
"loc": {
"start": {
"line": 121,
"column": 20
},
"end": {
"line": 121,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4267,
"end": 4268,
"loc": {
"start": {
"line": 121,
"column": 28
},
"end": {
"line": 121,
"column": 29
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "/ ",
"start": 4268,
"end": 4272,
"loc": {
"start": {
"line": 121,
"column": 29
},
"end": {
"line": 121,
"column": 33
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 4273,
"end": 4274,
"loc": {
"start": {
"line": 121,
"column": 34
},
"end": {
"line": 121,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "formatBigNumber",
"start": 4275,
"end": 4290,
"loc": {
"start": {
"line": 121,
"column": 36
},
"end": {
"line": 121,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4290,
"end": 4291,
"loc": {
"start": {
"line": 121,
"column": 51
},
"end": {
"line": 121,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "goals",
"start": 4291,
"end": 4296,
"loc": {
"start": {
"line": 121,
"column": 52
},
"end": {
"line": 121,
"column": 57
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4296,
"end": 4297,
"loc": {
"start": {
"line": 121,
"column": 57
},
"end": {
"line": 121,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "required",
"start": 4297,
"end": 4305,
"loc": {
"start": {
"line": 121,
"column": 58
},
"end": {
"line": 121,
"column": 66
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4305,
"end": 4306,
"loc": {
"start": {
"line": 121,
"column": 66
},
"end": {
"line": 121,
"column": 67
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4306,
"end": 4307,
"loc": {
"start": {
"line": 121,
"column": 67
},
"end": {
"line": 121,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "textOffsetX",
"start": 4308,
"end": 4319,
"loc": {
"start": {
"line": 121,
"column": 69
},
"end": {
"line": 121,
"column": 80
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4319,
"end": 4320,
"loc": {
"start": {
"line": 121,
"column": 80
},
"end": {
"line": 121,
"column": 81
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "textOffsetY",
"start": 4321,
"end": 4332,
"loc": {
"start": {
"line": 121,
"column": 82
},
"end": {
"line": 121,
"column": 93
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 4333,
"end": 4334,
"loc": {
"start": {
"line": 121,
"column": 94
},
"end": {
"line": 121,
"column": 95
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 13,
"start": 4335,
"end": 4337,
"loc": {
"start": {
"line": 121,
"column": 96
},
"end": {
"line": 121,
"column": 98
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4337,
"end": 4338,
"loc": {
"start": {
"line": 121,
"column": 98
},
"end": {
"line": 121,
"column": 99
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4338,
"end": 4339,
"loc": {
"start": {
"line": 121,
"column": 99
},
"end": {
"line": 121,
"column": 100
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4349,
"end": 4350,
"loc": {
"start": {
"line": 122,
"column": 8
},
"end": {
"line": 122,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " Reward",
"start": 4362,
"end": 4371,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 17
}
}
},
{
"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": 4381,
"end": 4386,
"loc": {
"start": {
"line": 125,
"column": 8
},
"end": {
"line": 125,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rewardText",
"start": 4387,
"end": 4397,
"loc": {
"start": {
"line": 125,
"column": 14
},
"end": {
"line": 125,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4398,
"end": 4399,
"loc": {
"start": {
"line": 125,
"column": 25
},
"end": {
"line": 125,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "T",
"start": 4400,
"end": 4401,
"loc": {
"start": {
"line": 125,
"column": 27
},
"end": {
"line": 125,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4401,
"end": 4402,
"loc": {
"start": {
"line": 125,
"column": 28
},
"end": {
"line": 125,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "storyRewards",
"start": 4402,
"end": 4414,
"loc": {
"start": {
"line": 125,
"column": 29
},
"end": {
"line": 125,
"column": 41
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4414,
"end": 4415,
"loc": {
"start": {
"line": 125,
"column": 41
},
"end": {
"line": 125,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "goals",
"start": 4415,
"end": 4420,
"loc": {
"start": {
"line": 125,
"column": 42
},
"end": {
"line": 125,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4420,
"end": 4421,
"loc": {
"start": {
"line": 125,
"column": 47
},
"end": {
"line": 125,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "reward",
"start": 4421,
"end": 4427,
"loc": {
"start": {
"line": 125,
"column": 48
},
"end": {
"line": 125,
"column": 54
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4427,
"end": 4428,
"loc": {
"start": {
"line": 125,
"column": 54
},
"end": {
"line": 125,
"column": 55
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4428,
"end": 4429,
"loc": {
"start": {
"line": 125,
"column": 55
},
"end": {
"line": 125,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "title",
"start": 4429,
"end": 4434,
"loc": {
"start": {
"line": 125,
"column": 56
},
"end": {
"line": 125,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4434,
"end": 4435,
"loc": {
"start": {
"line": 125,
"column": 61
},
"end": {
"line": 125,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toUpperCase",
"start": 4435,
"end": 4446,
"loc": {
"start": {
"line": 125,
"column": 62
},
"end": {
"line": 125,
"column": 73
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4446,
"end": 4447,
"loc": {
"start": {
"line": 125,
"column": 73
},
"end": {
"line": 125,
"column": 74
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4447,
"end": 4448,
"loc": {
"start": {
"line": 125,
"column": 74
},
"end": {
"line": 125,
"column": 75
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4448,
"end": 4449,
"loc": {
"start": {
"line": 125,
"column": 75
},
"end": {
"line": 125,
"column": 76
}
}
},
{
"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": 4459,
"end": 4461,
"loc": {
"start": {
"line": 126,
"column": 8
},
"end": {
"line": 126,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4462,
"end": 4463,
"loc": {
"start": {
"line": 126,
"column": 11
},
"end": {
"line": 126,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rewardText",
"start": 4463,
"end": 4473,
"loc": {
"start": {
"line": 126,
"column": 12
},
"end": {
"line": 126,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4473,
"end": 4474,
"loc": {
"start": {
"line": 126,
"column": 22
},
"end": {
"line": 126,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 4474,
"end": 4480,
"loc": {
"start": {
"line": 126,
"column": 23
},
"end": {
"line": 126,
"column": 29
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 4481,
"end": 4482,
"loc": {
"start": {
"line": 126,
"column": 30
},
"end": {
"line": 126,
"column": 31
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 12,
"start": 4483,
"end": 4485,
"loc": {
"start": {
"line": 126,
"column": 32
},
"end": {
"line": 126,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4485,
"end": 4486,
"loc": {
"start": {
"line": 126,
"column": 34
},
"end": {
"line": 126,
"column": 35
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4487,
"end": 4488,
"loc": {
"start": {
"line": 126,
"column": 36
},
"end": {
"line": 126,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4502,
"end": 4509,
"loc": {
"start": {
"line": 127,
"column": 12
},
"end": {
"line": 127,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4509,
"end": 4510,
"loc": {
"start": {
"line": 127,
"column": 19
},
"end": {
"line": 127,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "font",
"start": 4510,
"end": 4514,
"loc": {
"start": {
"line": 127,
"column": 20
},
"end": {
"line": 127,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4515,
"end": 4516,
"loc": {
"start": {
"line": 127,
"column": 25
},
"end": {
"line": 127,
"column": 26
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "bold 8px GameFont",
"start": 4517,
"end": 4536,
"loc": {
"start": {
"line": 127,
"column": 27
},
"end": {
"line": 127,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4536,
"end": 4537,
"loc": {
"start": {
"line": 127,
"column": 46
},
"end": {
"line": 127,
"column": 47
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4547,
"end": 4548,
"loc": {
"start": {
"line": 128,
"column": 8
},
"end": {
"line": 128,
"column": 9
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 4549,
"end": 4553,
"loc": {
"start": {
"line": 128,
"column": 10
},
"end": {
"line": 128,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4554,
"end": 4555,
"loc": {
"start": {
"line": 128,
"column": 15
},
"end": {
"line": 128,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4569,
"end": 4576,
"loc": {
"start": {
"line": 129,
"column": 12
},
"end": {
"line": 129,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4576,
"end": 4577,
"loc": {
"start": {
"line": 129,
"column": 19
},
"end": {
"line": 129,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "font",
"start": 4577,
"end": 4581,
"loc": {
"start": {
"line": 129,
"column": 20
},
"end": {
"line": 129,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4582,
"end": 4583,
"loc": {
"start": {
"line": 129,
"column": 25
},
"end": {
"line": 129,
"column": 26
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "bold 10px GameFont",
"start": 4584,
"end": 4604,
"loc": {
"start": {
"line": 129,
"column": 27
},
"end": {
"line": 129,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4604,
"end": 4605,
"loc": {
"start": {
"line": 129,
"column": 47
},
"end": {
"line": 129,
"column": 48
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4615,
"end": 4616,
"loc": {
"start": {
"line": 130,
"column": 8
},
"end": {
"line": 130,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4626,
"end": 4633,
"loc": {
"start": {
"line": 131,
"column": 8
},
"end": {
"line": 131,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4633,
"end": 4634,
"loc": {
"start": {
"line": 131,
"column": 15
},
"end": {
"line": 131,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillStyle",
"start": 4634,
"end": 4643,
"loc": {
"start": {
"line": 131,
"column": 16
},
"end": {
"line": 131,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4644,
"end": 4645,
"loc": {
"start": {
"line": 131,
"column": 26
},
"end": {
"line": 131,
"column": 27
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "#fd0752",
"start": 4646,
"end": 4655,
"loc": {
"start": {
"line": 131,
"column": 28
},
"end": {
"line": 131,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4655,
"end": 4656,
"loc": {
"start": {
"line": 131,
"column": 37
},
"end": {
"line": 131,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4666,
"end": 4673,
"loc": {
"start": {
"line": 132,
"column": 8
},
"end": {
"line": 132,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4673,
"end": 4674,
"loc": {
"start": {
"line": 132,
"column": 15
},
"end": {
"line": 132,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "textAlign",
"start": 4674,
"end": 4683,
"loc": {
"start": {
"line": 132,
"column": 16
},
"end": {
"line": 132,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4684,
"end": 4685,
"loc": {
"start": {
"line": 132,
"column": 26
},
"end": {
"line": 132,
"column": 27
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "center",
"start": 4686,
"end": 4694,
"loc": {
"start": {
"line": 132,
"column": 28
},
"end": {
"line": 132,
"column": 36
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4694,
"end": 4695,
"loc": {
"start": {
"line": 132,
"column": 36
},
"end": {
"line": 132,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4707,
"end": 4714,
"loc": {
"start": {
"line": 134,
"column": 8
},
"end": {
"line": 134,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4714,
"end": 4715,
"loc": {
"start": {
"line": 134,
"column": 15
},
"end": {
"line": 134,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillText",
"start": 4715,
"end": 4723,
"loc": {
"start": {
"line": 134,
"column": 16
},
"end": {
"line": 134,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4723,
"end": 4724,
"loc": {
"start": {
"line": 134,
"column": 24
},
"end": {
"line": 134,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rewardText",
"start": 4724,
"end": 4734,
"loc": {
"start": {
"line": 134,
"column": 25
},
"end": {
"line": 134,
"column": 35
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4734,
"end": 4735,
"loc": {
"start": {
"line": 134,
"column": 35
},
"end": {
"line": 134,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "HUB_SIZE_PIXELS",
"start": 4736,
"end": 4751,
"loc": {
"start": {
"line": 134,
"column": 37
},
"end": {
"line": 134,
"column": 52
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 4752,
"end": 4753,
"loc": {
"start": {
"line": 134,
"column": 53
},
"end": {
"line": 134,
"column": 54
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 4754,
"end": 4755,
"loc": {
"start": {
"line": 134,
"column": 55
},
"end": {
"line": 134,
"column": 56
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4755,
"end": 4756,
"loc": {
"start": {
"line": 134,
"column": 56
},
"end": {
"line": 134,
"column": 57
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 105,
"start": 4757,
"end": 4760,
"loc": {
"start": {
"line": 134,
"column": 58
},
"end": {
"line": 134,
"column": 61
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4760,
"end": 4761,
"loc": {
"start": {
"line": 134,
"column": 61
},
"end": {
"line": 134,
"column": 62
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4761,
"end": 4762,
"loc": {
"start": {
"line": 134,
"column": 62
},
"end": {
"line": 134,
"column": 63
}
}
},
{
"type": "CommentLine",
"value": " Level \"8\"",
"start": 4774,
"end": 4786,
"loc": {
"start": {
"line": 136,
"column": 8
},
"end": {
"line": 136,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4796,
"end": 4803,
"loc": {
"start": {
"line": 137,
"column": 8
},
"end": {
"line": 137,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4803,
"end": 4804,
"loc": {
"start": {
"line": 137,
"column": 15
},
"end": {
"line": 137,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "font",
"start": 4804,
"end": 4808,
"loc": {
"start": {
"line": 137,
"column": 16
},
"end": {
"line": 137,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4809,
"end": 4810,
"loc": {
"start": {
"line": 137,
"column": 21
},
"end": {
"line": 137,
"column": 22
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "bold 10px GameFont",
"start": 4811,
"end": 4831,
"loc": {
"start": {
"line": 137,
"column": 23
},
"end": {
"line": 137,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4831,
"end": 4832,
"loc": {
"start": {
"line": 137,
"column": 43
},
"end": {
"line": 137,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4842,
"end": 4849,
"loc": {
"start": {
"line": 138,
"column": 8
},
"end": {
"line": 138,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4849,
"end": 4850,
"loc": {
"start": {
"line": 138,
"column": 15
},
"end": {
"line": 138,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillStyle",
"start": 4850,
"end": 4859,
"loc": {
"start": {
"line": 138,
"column": 16
},
"end": {
"line": 138,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4860,
"end": 4861,
"loc": {
"start": {
"line": 138,
"column": 26
},
"end": {
"line": 138,
"column": 27
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "#fff",
"start": 4862,
"end": 4868,
"loc": {
"start": {
"line": 138,
"column": 28
},
"end": {
"line": 138,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4868,
"end": 4869,
"loc": {
"start": {
"line": 138,
"column": 34
},
"end": {
"line": 138,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4879,
"end": 4886,
"loc": {
"start": {
"line": 139,
"column": 8
},
"end": {
"line": 139,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4886,
"end": 4887,
"loc": {
"start": {
"line": 139,
"column": 15
},
"end": {
"line": 139,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillText",
"start": 4887,
"end": 4895,
"loc": {
"start": {
"line": 139,
"column": 16
},
"end": {
"line": 139,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4895,
"end": 4896,
"loc": {
"start": {
"line": 139,
"column": 24
},
"end": {
"line": 139,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "",
"start": 4896,
"end": 4898,
"loc": {
"start": {
"line": 139,
"column": 25
},
"end": {
"line": 139,
"column": 27
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 4899,
"end": 4900,
"loc": {
"start": {
"line": 139,
"column": 28
},
"end": {
"line": 139,
"column": 29
}
}
},
{
"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": 4901,
"end": 4905,
"loc": {
"start": {
"line": 139,
"column": 30
},
"end": {
"line": 139,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4905,
"end": 4906,
"loc": {
"start": {
"line": 139,
"column": 34
},
"end": {
"line": 139,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 4906,
"end": 4910,
"loc": {
"start": {
"line": 139,
"column": 35
},
"end": {
"line": 139,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4910,
"end": 4911,
"loc": {
"start": {
"line": 139,
"column": 39
},
"end": {
"line": 139,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 4911,
"end": 4919,
"loc": {
"start": {
"line": 139,
"column": 40
},
"end": {
"line": 139,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4919,
"end": 4920,
"loc": {
"start": {
"line": 139,
"column": 48
},
"end": {
"line": 139,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "level",
"start": 4920,
"end": 4925,
"loc": {
"start": {
"line": 139,
"column": 49
},
"end": {
"line": 139,
"column": 54
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4925,
"end": 4926,
"loc": {
"start": {
"line": 139,
"column": 54
},
"end": {
"line": 139,
"column": 55
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 27,
"start": 4927,
"end": 4929,
"loc": {
"start": {
"line": 139,
"column": 56
},
"end": {
"line": 139,
"column": 58
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4929,
"end": 4930,
"loc": {
"start": {
"line": 139,
"column": 58
},
"end": {
"line": 139,
"column": 59
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 32,
"start": 4931,
"end": 4933,
"loc": {
"start": {
"line": 139,
"column": 60
},
"end": {
"line": 139,
"column": 62
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4933,
"end": 4934,
"loc": {
"start": {
"line": 139,
"column": 62
},
"end": {
"line": 139,
"column": 63
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4934,
"end": 4935,
"loc": {
"start": {
"line": 139,
"column": 63
},
"end": {
"line": 139,
"column": 64
}
}
},
{
"type": "CommentLine",
"value": " \"LVL\"",
"start": 4947,
"end": 4955,
"loc": {
"start": {
"line": 141,
"column": 8
},
"end": {
"line": 141,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4965,
"end": 4972,
"loc": {
"start": {
"line": 142,
"column": 8
},
"end": {
"line": 142,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4972,
"end": 4973,
"loc": {
"start": {
"line": 142,
"column": 15
},
"end": {
"line": 142,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "textAlign",
"start": 4973,
"end": 4982,
"loc": {
"start": {
"line": 142,
"column": 16
},
"end": {
"line": 142,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4983,
"end": 4984,
"loc": {
"start": {
"line": 142,
"column": 26
},
"end": {
"line": 142,
"column": 27
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "center",
"start": 4985,
"end": 4993,
"loc": {
"start": {
"line": 142,
"column": 28
},
"end": {
"line": 142,
"column": 36
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4993,
"end": 4994,
"loc": {
"start": {
"line": 142,
"column": 36
},
"end": {
"line": 142,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 5004,
"end": 5011,
"loc": {
"start": {
"line": 143,
"column": 8
},
"end": {
"line": 143,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5011,
"end": 5012,
"loc": {
"start": {
"line": 143,
"column": 15
},
"end": {
"line": 143,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillStyle",
"start": 5012,
"end": 5021,
"loc": {
"start": {
"line": 143,
"column": 16
},
"end": {
"line": 143,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5022,
"end": 5023,
"loc": {
"start": {
"line": 143,
"column": 26
},
"end": {
"line": 143,
"column": 27
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "#fff",
"start": 5024,
"end": 5030,
"loc": {
"start": {
"line": 143,
"column": 28
},
"end": {
"line": 143,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5030,
"end": 5031,
"loc": {
"start": {
"line": 143,
"column": 34
},
"end": {
"line": 143,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 5041,
"end": 5048,
"loc": {
"start": {
"line": 144,
"column": 8
},
"end": {
"line": 144,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5048,
"end": 5049,
"loc": {
"start": {
"line": 144,
"column": 15
},
"end": {
"line": 144,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "font",
"start": 5049,
"end": 5053,
"loc": {
"start": {
"line": 144,
"column": 16
},
"end": {
"line": 144,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5054,
"end": 5055,
"loc": {
"start": {
"line": 144,
"column": 21
},
"end": {
"line": 144,
"column": 22
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "bold 6px GameFont",
"start": 5056,
"end": 5075,
"loc": {
"start": {
"line": 144,
"column": 23
},
"end": {
"line": 144,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5075,
"end": 5076,
"loc": {
"start": {
"line": 144,
"column": 42
},
"end": {
"line": 144,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 5086,
"end": 5093,
"loc": {
"start": {
"line": 145,
"column": 8
},
"end": {
"line": 145,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5093,
"end": 5094,
"loc": {
"start": {
"line": 145,
"column": 15
},
"end": {
"line": 145,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillText",
"start": 5094,
"end": 5102,
"loc": {
"start": {
"line": 145,
"column": 16
},
"end": {
"line": 145,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5102,
"end": 5103,
"loc": {
"start": {
"line": 145,
"column": 24
},
"end": {
"line": 145,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "T",
"start": 5103,
"end": 5104,
"loc": {
"start": {
"line": 145,
"column": 25
},
"end": {
"line": 145,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5104,
"end": 5105,
"loc": {
"start": {
"line": 145,
"column": 26
},
"end": {
"line": 145,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buildings",
"start": 5105,
"end": 5114,
"loc": {
"start": {
"line": 145,
"column": 27
},
"end": {
"line": 145,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5114,
"end": 5115,
"loc": {
"start": {
"line": 145,
"column": 36
},
"end": {
"line": 145,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hub",
"start": 5115,
"end": 5118,
"loc": {
"start": {
"line": 145,
"column": 37
},
"end": {
"line": 145,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5118,
"end": 5119,
"loc": {
"start": {
"line": 145,
"column": 40
},
"end": {
"line": 145,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "levelShortcut",
"start": 5119,
"end": 5132,
"loc": {
"start": {
"line": 145,
"column": 41
},
"end": {
"line": 145,
"column": 54
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5132,
"end": 5133,
"loc": {
"start": {
"line": 145,
"column": 54
},
"end": {
"line": 145,
"column": 55
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 27,
"start": 5134,
"end": 5136,
"loc": {
"start": {
"line": 145,
"column": 56
},
"end": {
"line": 145,
"column": 58
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5136,
"end": 5137,
"loc": {
"start": {
"line": 145,
"column": 58
},
"end": {
"line": 145,
"column": 59
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 22,
"start": 5138,
"end": 5140,
"loc": {
"start": {
"line": 145,
"column": 60
},
"end": {
"line": 145,
"column": 62
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5140,
"end": 5141,
"loc": {
"start": {
"line": 145,
"column": 62
},
"end": {
"line": 145,
"column": 63
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5141,
"end": 5142,
"loc": {
"start": {
"line": 145,
"column": 63
},
"end": {
"line": 145,
"column": 64
}
}
},
{
"type": "CommentLine",
"value": " \"Deliver\"",
"start": 5154,
"end": 5166,
"loc": {
"start": {
"line": 147,
"column": 8
},
"end": {
"line": 147,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 5176,
"end": 5183,
"loc": {
"start": {
"line": 148,
"column": 8
},
"end": {
"line": 148,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5183,
"end": 5184,
"loc": {
"start": {
"line": 148,
"column": 15
},
"end": {
"line": 148,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillStyle",
"start": 5184,
"end": 5193,
"loc": {
"start": {
"line": 148,
"column": 16
},
"end": {
"line": 148,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5194,
"end": 5195,
"loc": {
"start": {
"line": 148,
"column": 26
},
"end": {
"line": 148,
"column": 27
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "#64666e",
"start": 5196,
"end": 5205,
"loc": {
"start": {
"line": 148,
"column": 28
},
"end": {
"line": 148,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5205,
"end": 5206,
"loc": {
"start": {
"line": 148,
"column": 37
},
"end": {
"line": 148,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 5216,
"end": 5223,
"loc": {
"start": {
"line": 149,
"column": 8
},
"end": {
"line": 149,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5223,
"end": 5224,
"loc": {
"start": {
"line": 149,
"column": 15
},
"end": {
"line": 149,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "font",
"start": 5224,
"end": 5228,
"loc": {
"start": {
"line": 149,
"column": 16
},
"end": {
"line": 149,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5229,
"end": 5230,
"loc": {
"start": {
"line": 149,
"column": 21
},
"end": {
"line": 149,
"column": 22
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "bold 10px GameFont",
"start": 5231,
"end": 5251,
"loc": {
"start": {
"line": 149,
"column": 23
},
"end": {
"line": 149,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5251,
"end": 5252,
"loc": {
"start": {
"line": 149,
"column": 43
},
"end": {
"line": 149,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 5262,
"end": 5269,
"loc": {
"start": {
"line": 150,
"column": 8
},
"end": {
"line": 150,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5269,
"end": 5270,
"loc": {
"start": {
"line": 150,
"column": 15
},
"end": {
"line": 150,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillText",
"start": 5270,
"end": 5278,
"loc": {
"start": {
"line": 150,
"column": 16
},
"end": {
"line": 150,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5278,
"end": 5279,
"loc": {
"start": {
"line": 150,
"column": 24
},
"end": {
"line": 150,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "T",
"start": 5279,
"end": 5280,
"loc": {
"start": {
"line": 150,
"column": 25
},
"end": {
"line": 150,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5280,
"end": 5281,
"loc": {
"start": {
"line": 150,
"column": 26
},
"end": {
"line": 150,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buildings",
"start": 5281,
"end": 5290,
"loc": {
"start": {
"line": 150,
"column": 27
},
"end": {
"line": 150,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5290,
"end": 5291,
"loc": {
"start": {
"line": 150,
"column": 36
},
"end": {
"line": 150,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hub",
"start": 5291,
"end": 5294,
"loc": {
"start": {
"line": 150,
"column": 37
},
"end": {
"line": 150,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5294,
"end": 5295,
"loc": {
"start": {
"line": 150,
"column": 40
},
"end": {
"line": 150,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deliver",
"start": 5295,
"end": 5302,
"loc": {
"start": {
"line": 150,
"column": 41
},
"end": {
"line": 150,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5302,
"end": 5303,
"loc": {
"start": {
"line": 150,
"column": 48
},
"end": {
"line": 150,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toUpperCase",
"start": 5303,
"end": 5314,
"loc": {
"start": {
"line": 150,
"column": 49
},
"end": {
"line": 150,
"column": 60
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5314,
"end": 5315,
"loc": {
"start": {
"line": 150,
"column": 60
},
"end": {
"line": 150,
"column": 61
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5315,
"end": 5316,
"loc": {
"start": {
"line": 150,
"column": 61
},
"end": {
"line": 150,
"column": 62
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5316,
"end": 5317,
"loc": {
"start": {
"line": 150,
"column": 62
},
"end": {
"line": 150,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "HUB_SIZE_PIXELS",
"start": 5318,
"end": 5333,
"loc": {
"start": {
"line": 150,
"column": 64
},
"end": {
"line": 150,
"column": 79
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 5334,
"end": 5335,
"loc": {
"start": {
"line": 150,
"column": 80
},
"end": {
"line": 150,
"column": 81
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 5336,
"end": 5337,
"loc": {
"start": {
"line": 150,
"column": 82
},
"end": {
"line": 150,
"column": 83
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5337,
"end": 5338,
"loc": {
"start": {
"line": 150,
"column": 83
},
"end": {
"line": 150,
"column": 84
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 30,
"start": 5339,
"end": 5341,
"loc": {
"start": {
"line": 150,
"column": 85
},
"end": {
"line": 150,
"column": 87
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5341,
"end": 5342,
"loc": {
"start": {
"line": 150,
"column": 87
},
"end": {
"line": 150,
"column": 88
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5342,
"end": 5343,
"loc": {
"start": {
"line": 150,
"column": 88
},
"end": {
"line": 150,
"column": 89
}
}
},
{
"type": "CommentLine",
"value": " \"To unlock\"",
"start": 5355,
"end": 5369,
"loc": {
"start": {
"line": 152,
"column": 8
},
"end": {
"line": 152,
"column": 22
}
}
},
{
"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": 5379,
"end": 5384,
"loc": {
"start": {
"line": 153,
"column": 8
},
"end": {
"line": 153,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "unlockText",
"start": 5385,
"end": 5395,
"loc": {
"start": {
"line": 153,
"column": 14
},
"end": {
"line": 153,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5396,
"end": 5397,
"loc": {
"start": {
"line": 153,
"column": 25
},
"end": {
"line": 153,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "T",
"start": 5398,
"end": 5399,
"loc": {
"start": {
"line": 153,
"column": 27
},
"end": {
"line": 153,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5399,
"end": 5400,
"loc": {
"start": {
"line": 153,
"column": 28
},
"end": {
"line": 153,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buildings",
"start": 5400,
"end": 5409,
"loc": {
"start": {
"line": 153,
"column": 29
},
"end": {
"line": 153,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5409,
"end": 5410,
"loc": {
"start": {
"line": 153,
"column": 38
},
"end": {
"line": 153,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hub",
"start": 5410,
"end": 5413,
"loc": {
"start": {
"line": 153,
"column": 39
},
"end": {
"line": 153,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5413,
"end": 5414,
"loc": {
"start": {
"line": 153,
"column": 42
},
"end": {
"line": 153,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toUnlock",
"start": 5414,
"end": 5422,
"loc": {
"start": {
"line": 153,
"column": 43
},
"end": {
"line": 153,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5422,
"end": 5423,
"loc": {
"start": {
"line": 153,
"column": 51
},
"end": {
"line": 153,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toUpperCase",
"start": 5423,
"end": 5434,
"loc": {
"start": {
"line": 153,
"column": 52
},
"end": {
"line": 153,
"column": 63
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5434,
"end": 5435,
"loc": {
"start": {
"line": 153,
"column": 63
},
"end": {
"line": 153,
"column": 64
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5435,
"end": 5436,
"loc": {
"start": {
"line": 153,
"column": 64
},
"end": {
"line": 153,
"column": 65
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5436,
"end": 5437,
"loc": {
"start": {
"line": 153,
"column": 65
},
"end": {
"line": 153,
"column": 66
}
}
},
{
"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": 5447,
"end": 5449,
"loc": {
"start": {
"line": 154,
"column": 8
},
"end": {
"line": 154,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5450,
"end": 5451,
"loc": {
"start": {
"line": 154,
"column": 11
},
"end": {
"line": 154,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "unlockText",
"start": 5451,
"end": 5461,
"loc": {
"start": {
"line": 154,
"column": 12
},
"end": {
"line": 154,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5461,
"end": 5462,
"loc": {
"start": {
"line": 154,
"column": 22
},
"end": {
"line": 154,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 5462,
"end": 5468,
"loc": {
"start": {
"line": 154,
"column": 23
},
"end": {
"line": 154,
"column": 29
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 5469,
"end": 5470,
"loc": {
"start": {
"line": 154,
"column": 30
},
"end": {
"line": 154,
"column": 31
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 15,
"start": 5471,
"end": 5473,
"loc": {
"start": {
"line": 154,
"column": 32
},
"end": {
"line": 154,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5473,
"end": 5474,
"loc": {
"start": {
"line": 154,
"column": 34
},
"end": {
"line": 154,
"column": 35
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5475,
"end": 5476,
"loc": {
"start": {
"line": 154,
"column": 36
},
"end": {
"line": 154,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 5490,
"end": 5497,
"loc": {
"start": {
"line": 155,
"column": 12
},
"end": {
"line": 155,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5497,
"end": 5498,
"loc": {
"start": {
"line": 155,
"column": 19
},
"end": {
"line": 155,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "font",
"start": 5498,
"end": 5502,
"loc": {
"start": {
"line": 155,
"column": 20
},
"end": {
"line": 155,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5503,
"end": 5504,
"loc": {
"start": {
"line": 155,
"column": 25
},
"end": {
"line": 155,
"column": 26
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "bold 8px GameFont",
"start": 5505,
"end": 5524,
"loc": {
"start": {
"line": 155,
"column": 27
},
"end": {
"line": 155,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5524,
"end": 5525,
"loc": {
"start": {
"line": 155,
"column": 46
},
"end": {
"line": 155,
"column": 47
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5535,
"end": 5536,
"loc": {
"start": {
"line": 156,
"column": 8
},
"end": {
"line": 156,
"column": 9
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 5537,
"end": 5541,
"loc": {
"start": {
"line": 156,
"column": 10
},
"end": {
"line": 156,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5542,
"end": 5543,
"loc": {
"start": {
"line": 156,
"column": 15
},
"end": {
"line": 156,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 5557,
"end": 5564,
"loc": {
"start": {
"line": 157,
"column": 12
},
"end": {
"line": 157,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5564,
"end": 5565,
"loc": {
"start": {
"line": 157,
"column": 19
},
"end": {
"line": 157,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "font",
"start": 5565,
"end": 5569,
"loc": {
"start": {
"line": 157,
"column": 20
},
"end": {
"line": 157,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5570,
"end": 5571,
"loc": {
"start": {
"line": 157,
"column": 25
},
"end": {
"line": 157,
"column": 26
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "bold 10px GameFont",
"start": 5572,
"end": 5592,
"loc": {
"start": {
"line": 157,
"column": 27
},
"end": {
"line": 157,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5592,
"end": 5593,
"loc": {
"start": {
"line": 157,
"column": 47
},
"end": {
"line": 157,
"column": 48
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5603,
"end": 5604,
"loc": {
"start": {
"line": 158,
"column": 8
},
"end": {
"line": 158,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 5614,
"end": 5621,
"loc": {
"start": {
"line": 159,
"column": 8
},
"end": {
"line": 159,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5621,
"end": 5622,
"loc": {
"start": {
"line": 159,
"column": 15
},
"end": {
"line": 159,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillText",
"start": 5622,
"end": 5630,
"loc": {
"start": {
"line": 159,
"column": 16
},
"end": {
"line": 159,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5630,
"end": 5631,
"loc": {
"start": {
"line": 159,
"column": 24
},
"end": {
"line": 159,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "T",
"start": 5631,
"end": 5632,
"loc": {
"start": {
"line": 159,
"column": 25
},
"end": {
"line": 159,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5632,
"end": 5633,
"loc": {
"start": {
"line": 159,
"column": 26
},
"end": {
"line": 159,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buildings",
"start": 5633,
"end": 5642,
"loc": {
"start": {
"line": 159,
"column": 27
},
"end": {
"line": 159,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5642,
"end": 5643,
"loc": {
"start": {
"line": 159,
"column": 36
},
"end": {
"line": 159,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hub",
"start": 5643,
"end": 5646,
"loc": {
"start": {
"line": 159,
"column": 37
},
"end": {
"line": 159,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5646,
"end": 5647,
"loc": {
"start": {
"line": 159,
"column": 40
},
"end": {
"line": 159,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toUnlock",
"start": 5647,
"end": 5655,
"loc": {
"start": {
"line": 159,
"column": 41
},
"end": {
"line": 159,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5655,
"end": 5656,
"loc": {
"start": {
"line": 159,
"column": 49
},
"end": {
"line": 159,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toUpperCase",
"start": 5656,
"end": 5667,
"loc": {
"start": {
"line": 159,
"column": 50
},
"end": {
"line": 159,
"column": 61
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5667,
"end": 5668,
"loc": {
"start": {
"line": 159,
"column": 61
},
"end": {
"line": 159,
"column": 62
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5668,
"end": 5669,
"loc": {
"start": {
"line": 159,
"column": 62
},
"end": {
"line": 159,
"column": 63
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5669,
"end": 5670,
"loc": {
"start": {
"line": 159,
"column": 63
},
"end": {
"line": 159,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "HUB_SIZE_PIXELS",
"start": 5671,
"end": 5686,
"loc": {
"start": {
"line": 159,
"column": 65
},
"end": {
"line": 159,
"column": 80
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 5687,
"end": 5688,
"loc": {
"start": {
"line": 159,
"column": 81
},
"end": {
"line": 159,
"column": 82
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 5689,
"end": 5690,
"loc": {
"start": {
"line": 159,
"column": 83
},
"end": {
"line": 159,
"column": 84
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5690,
"end": 5691,
"loc": {
"start": {
"line": 159,
"column": 84
},
"end": {
"line": 159,
"column": 85
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 92,
"start": 5692,
"end": 5694,
"loc": {
"start": {
"line": 159,
"column": 86
},
"end": {
"line": 159,
"column": 88
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5694,
"end": 5695,
"loc": {
"start": {
"line": 159,
"column": 88
},
"end": {
"line": 159,
"column": 89
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5695,
"end": 5696,
"loc": {
"start": {
"line": 159,
"column": 89
},
"end": {
"line": 159,
"column": 90
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 5708,
"end": 5715,
"loc": {
"start": {
"line": 161,
"column": 8
},
"end": {
"line": 161,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5715,
"end": 5716,
"loc": {
"start": {
"line": 161,
"column": 15
},
"end": {
"line": 161,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "textAlign",
"start": 5716,
"end": 5725,
"loc": {
"start": {
"line": 161,
"column": 16
},
"end": {
"line": 161,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5726,
"end": 5727,
"loc": {
"start": {
"line": 161,
"column": 26
},
"end": {
"line": 161,
"column": 27
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "left",
"start": 5728,
"end": 5734,
"loc": {
"start": {
"line": 161,
"column": 28
},
"end": {
"line": 161,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5734,
"end": 5735,
"loc": {
"start": {
"line": 161,
"column": 34
},
"end": {
"line": 161,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5741,
"end": 5742,
"loc": {
"start": {
"line": 162,
"column": 4
},
"end": {
"line": 162,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {DrawParameters} parameters\r\n * @param {Entity} entity\r\n ",
"start": 5750,
"end": 5836,
"loc": {
"start": {
"line": 164,
"column": 4
},
"end": {
"line": 167,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawEntity",
"start": 5842,
"end": 5852,
"loc": {
"start": {
"line": 168,
"column": 4
},
"end": {
"line": 168,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5852,
"end": 5853,
"loc": {
"start": {
"line": 168,
"column": 14
},
"end": {
"line": 168,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 5853,
"end": 5863,
"loc": {
"start": {
"line": 168,
"column": 15
},
"end": {
"line": 168,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5863,
"end": 5864,
"loc": {
"start": {
"line": 168,
"column": 25
},
"end": {
"line": 168,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 5865,
"end": 5871,
"loc": {
"start": {
"line": 168,
"column": 27
},
"end": {
"line": 168,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5871,
"end": 5872,
"loc": {
"start": {
"line": 168,
"column": 33
},
"end": {
"line": 168,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5873,
"end": 5874,
"loc": {
"start": {
"line": 168,
"column": 35
},
"end": {
"line": 168,
"column": 36
}
}
},
{
"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": 5884,
"end": 5889,
"loc": {
"start": {
"line": 169,
"column": 8
},
"end": {
"line": 169,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 5890,
"end": 5900,
"loc": {
"start": {
"line": 169,
"column": 14
},
"end": {
"line": 169,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5901,
"end": 5902,
"loc": {
"start": {
"line": 169,
"column": 25
},
"end": {
"line": 169,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 5903,
"end": 5909,
"loc": {
"start": {
"line": 169,
"column": 27
},
"end": {
"line": 169,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5909,
"end": 5910,
"loc": {
"start": {
"line": 169,
"column": 33
},
"end": {
"line": 169,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 5910,
"end": 5920,
"loc": {
"start": {
"line": 169,
"column": 34
},
"end": {
"line": 169,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5920,
"end": 5921,
"loc": {
"start": {
"line": 169,
"column": 44
},
"end": {
"line": 169,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "StaticMapEntity",
"start": 5921,
"end": 5936,
"loc": {
"start": {
"line": 169,
"column": 45
},
"end": {
"line": 169,
"column": 60
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5936,
"end": 5937,
"loc": {
"start": {
"line": 169,
"column": 60
},
"end": {
"line": 169,
"column": 61
}
}
},
{
"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": 5947,
"end": 5949,
"loc": {
"start": {
"line": 170,
"column": 8
},
"end": {
"line": 170,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5950,
"end": 5951,
"loc": {
"start": {
"line": 170,
"column": 11
},
"end": {
"line": 170,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 5951,
"end": 5952,
"loc": {
"start": {
"line": 170,
"column": 12
},
"end": {
"line": 170,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 5952,
"end": 5962,
"loc": {
"start": {
"line": 170,
"column": 13
},
"end": {
"line": 170,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5962,
"end": 5963,
"loc": {
"start": {
"line": 170,
"column": 23
},
"end": {
"line": 170,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shouldBeDrawn",
"start": 5963,
"end": 5976,
"loc": {
"start": {
"line": 170,
"column": 24
},
"end": {
"line": 170,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5976,
"end": 5977,
"loc": {
"start": {
"line": 170,
"column": 37
},
"end": {
"line": 170,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 5977,
"end": 5987,
"loc": {
"start": {
"line": 170,
"column": 38
},
"end": {
"line": 170,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5987,
"end": 5988,
"loc": {
"start": {
"line": 170,
"column": 48
},
"end": {
"line": 170,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5988,
"end": 5989,
"loc": {
"start": {
"line": 170,
"column": 49
},
"end": {
"line": 170,
"column": 50
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5990,
"end": 5991,
"loc": {
"start": {
"line": 170,
"column": 51
},
"end": {
"line": 170,
"column": 52
}
}
},
{
"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": 6005,
"end": 6011,
"loc": {
"start": {
"line": 171,
"column": 12
},
"end": {
"line": 171,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6011,
"end": 6012,
"loc": {
"start": {
"line": 171,
"column": 18
},
"end": {
"line": 171,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6022,
"end": 6023,
"loc": {
"start": {
"line": 172,
"column": 8
},
"end": {
"line": 172,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " Deliver count",
"start": 6035,
"end": 6051,
"loc": {
"start": {
"line": 174,
"column": 8
},
"end": {
"line": 174,
"column": 24
}
}
},
{
"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": 6061,
"end": 6066,
"loc": {
"start": {
"line": 175,
"column": 8
},
"end": {
"line": 175,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "delivered",
"start": 6067,
"end": 6076,
"loc": {
"start": {
"line": 175,
"column": 14
},
"end": {
"line": 175,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6077,
"end": 6078,
"loc": {
"start": {
"line": 175,
"column": 24
},
"end": {
"line": 175,
"column": 25
}
}
},
{
"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": 6079,
"end": 6083,
"loc": {
"start": {
"line": 175,
"column": 26
},
"end": {
"line": 175,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6083,
"end": 6084,
"loc": {
"start": {
"line": 175,
"column": 30
},
"end": {
"line": 175,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 6084,
"end": 6088,
"loc": {
"start": {
"line": 175,
"column": 31
},
"end": {
"line": 175,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6088,
"end": 6089,
"loc": {
"start": {
"line": 175,
"column": 35
},
"end": {
"line": 175,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 6089,
"end": 6097,
"loc": {
"start": {
"line": 175,
"column": 36
},
"end": {
"line": 175,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6097,
"end": 6098,
"loc": {
"start": {
"line": 175,
"column": 44
},
"end": {
"line": 175,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getCurrentGoalDelivered",
"start": 6098,
"end": 6121,
"loc": {
"start": {
"line": 175,
"column": 45
},
"end": {
"line": 175,
"column": 68
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6121,
"end": 6122,
"loc": {
"start": {
"line": 175,
"column": 68
},
"end": {
"line": 175,
"column": 69
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6122,
"end": 6123,
"loc": {
"start": {
"line": 175,
"column": 69
},
"end": {
"line": 175,
"column": 70
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6123,
"end": 6124,
"loc": {
"start": {
"line": 175,
"column": 70
},
"end": {
"line": 175,
"column": 71
}
}
},
{
"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": 6134,
"end": 6139,
"loc": {
"start": {
"line": 176,
"column": 8
},
"end": {
"line": 176,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deliveredText",
"start": 6140,
"end": 6153,
"loc": {
"start": {
"line": 176,
"column": 14
},
"end": {
"line": 176,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6154,
"end": 6155,
"loc": {
"start": {
"line": 176,
"column": 28
},
"end": {
"line": 176,
"column": 29
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "",
"start": 6156,
"end": 6158,
"loc": {
"start": {
"line": 176,
"column": 30
},
"end": {
"line": 176,
"column": 32
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 6159,
"end": 6160,
"loc": {
"start": {
"line": 176,
"column": 33
},
"end": {
"line": 176,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "formatBigNumber",
"start": 6161,
"end": 6176,
"loc": {
"start": {
"line": 176,
"column": 35
},
"end": {
"line": 176,
"column": 50
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6176,
"end": 6177,
"loc": {
"start": {
"line": 176,
"column": 50
},
"end": {
"line": 176,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "delivered",
"start": 6177,
"end": 6186,
"loc": {
"start": {
"line": 176,
"column": 51
},
"end": {
"line": 176,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6186,
"end": 6187,
"loc": {
"start": {
"line": 176,
"column": 60
},
"end": {
"line": 176,
"column": 61
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6187,
"end": 6188,
"loc": {
"start": {
"line": 176,
"column": 61
},
"end": {
"line": 176,
"column": 62
}
}
},
{
"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": 6200,
"end": 6205,
"loc": {
"start": {
"line": 178,
"column": 8
},
"end": {
"line": 178,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dpi",
"start": 6206,
"end": 6209,
"loc": {
"start": {
"line": 178,
"column": 14
},
"end": {
"line": 178,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6210,
"end": 6211,
"loc": {
"start": {
"line": 178,
"column": 18
},
"end": {
"line": 178,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "smoothenDpi",
"start": 6212,
"end": 6223,
"loc": {
"start": {
"line": 178,
"column": 20
},
"end": {
"line": 178,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6223,
"end": 6224,
"loc": {
"start": {
"line": 178,
"column": 31
},
"end": {
"line": 178,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 6224,
"end": 6236,
"loc": {
"start": {
"line": 178,
"column": 32
},
"end": {
"line": 178,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6236,
"end": 6237,
"loc": {
"start": {
"line": 178,
"column": 44
},
"end": {
"line": 178,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapesSharpness",
"start": 6237,
"end": 6252,
"loc": {
"start": {
"line": 178,
"column": 45
},
"end": {
"line": 178,
"column": 60
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 6253,
"end": 6254,
"loc": {
"start": {
"line": 178,
"column": 61
},
"end": {
"line": 178,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 6255,
"end": 6265,
"loc": {
"start": {
"line": 178,
"column": 63
},
"end": {
"line": 178,
"column": 73
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6265,
"end": 6266,
"loc": {
"start": {
"line": 178,
"column": 73
},
"end": {
"line": 178,
"column": 74
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "zoomLevel",
"start": 6266,
"end": 6275,
"loc": {
"start": {
"line": 178,
"column": 74
},
"end": {
"line": 178,
"column": 83
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6275,
"end": 6276,
"loc": {
"start": {
"line": 178,
"column": 83
},
"end": {
"line": 178,
"column": 84
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6276,
"end": 6277,
"loc": {
"start": {
"line": 178,
"column": 84
},
"end": {
"line": 178,
"column": 85
}
}
},
{
"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": 6287,
"end": 6292,
"loc": {
"start": {
"line": 179,
"column": 8
},
"end": {
"line": 179,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "canvas",
"start": 6293,
"end": 6299,
"loc": {
"start": {
"line": 179,
"column": 14
},
"end": {
"line": 179,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6300,
"end": 6301,
"loc": {
"start": {
"line": 179,
"column": 21
},
"end": {
"line": 179,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 6302,
"end": 6312,
"loc": {
"start": {
"line": 179,
"column": 23
},
"end": {
"line": 179,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6312,
"end": 6313,
"loc": {
"start": {
"line": 179,
"column": 33
},
"end": {
"line": 179,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 6313,
"end": 6317,
"loc": {
"start": {
"line": 179,
"column": 34
},
"end": {
"line": 179,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6317,
"end": 6318,
"loc": {
"start": {
"line": 179,
"column": 38
},
"end": {
"line": 179,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buffers",
"start": 6318,
"end": 6325,
"loc": {
"start": {
"line": 179,
"column": 39
},
"end": {
"line": 179,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6325,
"end": 6326,
"loc": {
"start": {
"line": 179,
"column": 46
},
"end": {
"line": 179,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getForKey",
"start": 6326,
"end": 6335,
"loc": {
"start": {
"line": 179,
"column": 47
},
"end": {
"line": 179,
"column": 56
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6335,
"end": 6336,
"loc": {
"start": {
"line": 179,
"column": 56
},
"end": {
"line": 179,
"column": 57
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6336,
"end": 6337,
"loc": {
"start": {
"line": 179,
"column": 57
},
"end": {
"line": 179,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 6351,
"end": 6354,
"loc": {
"start": {
"line": 180,
"column": 12
},
"end": {
"line": 180,
"column": 15
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6354,
"end": 6355,
"loc": {
"start": {
"line": 180,
"column": 15
},
"end": {
"line": 180,
"column": 16
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "hub",
"start": 6356,
"end": 6361,
"loc": {
"start": {
"line": 180,
"column": 17
},
"end": {
"line": 180,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6361,
"end": 6362,
"loc": {
"start": {
"line": 180,
"column": 22
},
"end": {
"line": 180,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "subKey",
"start": 6376,
"end": 6382,
"loc": {
"start": {
"line": 181,
"column": 12
},
"end": {
"line": 181,
"column": 18
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6382,
"end": 6383,
"loc": {
"start": {
"line": 181,
"column": 18
},
"end": {
"line": 181,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dpi",
"start": 6384,
"end": 6387,
"loc": {
"start": {
"line": 181,
"column": 20
},
"end": {
"line": 181,
"column": 23
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 6388,
"end": 6389,
"loc": {
"start": {
"line": 181,
"column": 24
},
"end": {
"line": 181,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "/",
"start": 6390,
"end": 6393,
"loc": {
"start": {
"line": 181,
"column": 26
},
"end": {
"line": 181,
"column": 29
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 6394,
"end": 6395,
"loc": {
"start": {
"line": 181,
"column": 30
},
"end": {
"line": 181,
"column": 31
}
}
},
{
"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": 6396,
"end": 6400,
"loc": {
"start": {
"line": 181,
"column": 32
},
"end": {
"line": 181,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6400,
"end": 6401,
"loc": {
"start": {
"line": 181,
"column": 36
},
"end": {
"line": 181,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 6401,
"end": 6405,
"loc": {
"start": {
"line": 181,
"column": 37
},
"end": {
"line": 181,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6405,
"end": 6406,
"loc": {
"start": {
"line": 181,
"column": 41
},
"end": {
"line": 181,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 6406,
"end": 6414,
"loc": {
"start": {
"line": 181,
"column": 42
},
"end": {
"line": 181,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6414,
"end": 6415,
"loc": {
"start": {
"line": 181,
"column": 50
},
"end": {
"line": 181,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "level",
"start": 6415,
"end": 6420,
"loc": {
"start": {
"line": 181,
"column": 51
},
"end": {
"line": 181,
"column": 56
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 6421,
"end": 6422,
"loc": {
"start": {
"line": 181,
"column": 57
},
"end": {
"line": 181,
"column": 58
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "/",
"start": 6423,
"end": 6426,
"loc": {
"start": {
"line": 181,
"column": 59
},
"end": {
"line": 181,
"column": 62
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 6427,
"end": 6428,
"loc": {
"start": {
"line": 181,
"column": 63
},
"end": {
"line": 181,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deliveredText",
"start": 6429,
"end": 6442,
"loc": {
"start": {
"line": 181,
"column": 65
},
"end": {
"line": 181,
"column": 78
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6442,
"end": 6443,
"loc": {
"start": {
"line": 181,
"column": 78
},
"end": {
"line": 181,
"column": 79
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 6457,
"end": 6458,
"loc": {
"start": {
"line": 182,
"column": 12
},
"end": {
"line": 182,
"column": 13
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6458,
"end": 6459,
"loc": {
"start": {
"line": 182,
"column": 13
},
"end": {
"line": 182,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 6460,
"end": 6472,
"loc": {
"start": {
"line": 182,
"column": 15
},
"end": {
"line": 182,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6472,
"end": 6473,
"loc": {
"start": {
"line": 182,
"column": 27
},
"end": {
"line": 182,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileSize",
"start": 6473,
"end": 6481,
"loc": {
"start": {
"line": 182,
"column": 28
},
"end": {
"line": 182,
"column": 36
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 6482,
"end": 6483,
"loc": {
"start": {
"line": 182,
"column": 37
},
"end": {
"line": 182,
"column": 38
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 4,
"start": 6484,
"end": 6485,
"loc": {
"start": {
"line": 182,
"column": 39
},
"end": {
"line": 182,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6485,
"end": 6486,
"loc": {
"start": {
"line": 182,
"column": 40
},
"end": {
"line": 182,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 6500,
"end": 6501,
"loc": {
"start": {
"line": 183,
"column": 12
},
"end": {
"line": 183,
"column": 13
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6501,
"end": 6502,
"loc": {
"start": {
"line": 183,
"column": 13
},
"end": {
"line": 183,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 6503,
"end": 6515,
"loc": {
"start": {
"line": 183,
"column": 15
},
"end": {
"line": 183,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6515,
"end": 6516,
"loc": {
"start": {
"line": 183,
"column": 27
},
"end": {
"line": 183,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileSize",
"start": 6516,
"end": 6524,
"loc": {
"start": {
"line": 183,
"column": 28
},
"end": {
"line": 183,
"column": 36
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 6525,
"end": 6526,
"loc": {
"start": {
"line": 183,
"column": 37
},
"end": {
"line": 183,
"column": 38
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 4,
"start": 6527,
"end": 6528,
"loc": {
"start": {
"line": 183,
"column": 39
},
"end": {
"line": 183,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6528,
"end": 6529,
"loc": {
"start": {
"line": 183,
"column": 40
},
"end": {
"line": 183,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dpi",
"start": 6543,
"end": 6546,
"loc": {
"start": {
"line": 184,
"column": 12
},
"end": {
"line": 184,
"column": 15
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6546,
"end": 6547,
"loc": {
"start": {
"line": 184,
"column": 15
},
"end": {
"line": 184,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "redrawMethod",
"start": 6561,
"end": 6573,
"loc": {
"start": {
"line": 185,
"column": 12
},
"end": {
"line": 185,
"column": 24
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6573,
"end": 6574,
"loc": {
"start": {
"line": 185,
"column": 24
},
"end": {
"line": 185,
"column": 25
}
}
},
{
"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": 6575,
"end": 6579,
"loc": {
"start": {
"line": 185,
"column": 26
},
"end": {
"line": 185,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6579,
"end": 6580,
"loc": {
"start": {
"line": 185,
"column": 30
},
"end": {
"line": 185,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "redrawHubBaseTexture",
"start": 6580,
"end": 6600,
"loc": {
"start": {
"line": 185,
"column": 31
},
"end": {
"line": 185,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6600,
"end": 6601,
"loc": {
"start": {
"line": 185,
"column": 51
},
"end": {
"line": 185,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bind",
"start": 6601,
"end": 6605,
"loc": {
"start": {
"line": 185,
"column": 52
},
"end": {
"line": 185,
"column": 56
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6605,
"end": 6606,
"loc": {
"start": {
"line": 185,
"column": 56
},
"end": {
"line": 185,
"column": 57
}
}
},
{
"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": 6606,
"end": 6610,
"loc": {
"start": {
"line": 185,
"column": 57
},
"end": {
"line": 185,
"column": 61
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6610,
"end": 6611,
"loc": {
"start": {
"line": 185,
"column": 61
},
"end": {
"line": 185,
"column": 62
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6611,
"end": 6612,
"loc": {
"start": {
"line": 185,
"column": 62
},
"end": {
"line": 185,
"column": 63
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6622,
"end": 6623,
"loc": {
"start": {
"line": 186,
"column": 8
},
"end": {
"line": 186,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6623,
"end": 6624,
"loc": {
"start": {
"line": 186,
"column": 9
},
"end": {
"line": 186,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6624,
"end": 6625,
"loc": {
"start": {
"line": 186,
"column": 10
},
"end": {
"line": 186,
"column": 11
}
}
},
{
"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": 6637,
"end": 6642,
"loc": {
"start": {
"line": 188,
"column": 8
},
"end": {
"line": 188,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "extrude",
"start": 6643,
"end": 6650,
"loc": {
"start": {
"line": 188,
"column": 14
},
"end": {
"line": 188,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6651,
"end": 6652,
"loc": {
"start": {
"line": 188,
"column": 22
},
"end": {
"line": 188,
"column": 23
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 8,
"start": 6653,
"end": 6654,
"loc": {
"start": {
"line": 188,
"column": 24
},
"end": {
"line": 188,
"column": 25
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6654,
"end": 6655,
"loc": {
"start": {
"line": 188,
"column": 25
},
"end": {
"line": 188,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawSpriteClipped",
"start": 6665,
"end": 6682,
"loc": {
"start": {
"line": 189,
"column": 8
},
"end": {
"line": 189,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6682,
"end": 6683,
"loc": {
"start": {
"line": 189,
"column": 25
},
"end": {
"line": 189,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6683,
"end": 6684,
"loc": {
"start": {
"line": 189,
"column": 26
},
"end": {
"line": 189,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 6698,
"end": 6708,
"loc": {
"start": {
"line": 190,
"column": 12
},
"end": {
"line": 190,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6708,
"end": 6709,
"loc": {
"start": {
"line": 190,
"column": 22
},
"end": {
"line": 190,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sprite",
"start": 6723,
"end": 6729,
"loc": {
"start": {
"line": 191,
"column": 12
},
"end": {
"line": 191,
"column": 18
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6729,
"end": 6730,
"loc": {
"start": {
"line": 191,
"column": 18
},
"end": {
"line": 191,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "canvas",
"start": 6731,
"end": 6737,
"loc": {
"start": {
"line": 191,
"column": 20
},
"end": {
"line": 191,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6737,
"end": 6738,
"loc": {
"start": {
"line": 191,
"column": 26
},
"end": {
"line": 191,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 6752,
"end": 6753,
"loc": {
"start": {
"line": 192,
"column": 12
},
"end": {
"line": 192,
"column": 13
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6753,
"end": 6754,
"loc": {
"start": {
"line": 192,
"column": 13
},
"end": {
"line": 192,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 6755,
"end": 6765,
"loc": {
"start": {
"line": 192,
"column": 15
},
"end": {
"line": 192,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6765,
"end": 6766,
"loc": {
"start": {
"line": 192,
"column": 25
},
"end": {
"line": 192,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "origin",
"start": 6766,
"end": 6772,
"loc": {
"start": {
"line": 192,
"column": 26
},
"end": {
"line": 192,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6772,
"end": 6773,
"loc": {
"start": {
"line": 192,
"column": 32
},
"end": {
"line": 192,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 6773,
"end": 6774,
"loc": {
"start": {
"line": 192,
"column": 33
},
"end": {
"line": 192,
"column": 34
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 6775,
"end": 6776,
"loc": {
"start": {
"line": 192,
"column": 35
},
"end": {
"line": 192,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 6777,
"end": 6789,
"loc": {
"start": {
"line": 192,
"column": 37
},
"end": {
"line": 192,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6789,
"end": 6790,
"loc": {
"start": {
"line": 192,
"column": 49
},
"end": {
"line": 192,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileSize",
"start": 6790,
"end": 6798,
"loc": {
"start": {
"line": 192,
"column": 50
},
"end": {
"line": 192,
"column": 58
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 6799,
"end": 6800,
"loc": {
"start": {
"line": 192,
"column": 59
},
"end": {
"line": 192,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "extrude",
"start": 6801,
"end": 6808,
"loc": {
"start": {
"line": 192,
"column": 61
},
"end": {
"line": 192,
"column": 68
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6808,
"end": 6809,
"loc": {
"start": {
"line": 192,
"column": 68
},
"end": {
"line": 192,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 6823,
"end": 6824,
"loc": {
"start": {
"line": 193,
"column": 12
},
"end": {
"line": 193,
"column": 13
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6824,
"end": 6825,
"loc": {
"start": {
"line": 193,
"column": 13
},
"end": {
"line": 193,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 6826,
"end": 6836,
"loc": {
"start": {
"line": 193,
"column": 15
},
"end": {
"line": 193,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6836,
"end": 6837,
"loc": {
"start": {
"line": 193,
"column": 25
},
"end": {
"line": 193,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "origin",
"start": 6837,
"end": 6843,
"loc": {
"start": {
"line": 193,
"column": 26
},
"end": {
"line": 193,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6843,
"end": 6844,
"loc": {
"start": {
"line": 193,
"column": 32
},
"end": {
"line": 193,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 6844,
"end": 6845,
"loc": {
"start": {
"line": 193,
"column": 33
},
"end": {
"line": 193,
"column": 34
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 6846,
"end": 6847,
"loc": {
"start": {
"line": 193,
"column": 35
},
"end": {
"line": 193,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 6848,
"end": 6860,
"loc": {
"start": {
"line": 193,
"column": 37
},
"end": {
"line": 193,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6860,
"end": 6861,
"loc": {
"start": {
"line": 193,
"column": 49
},
"end": {
"line": 193,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileSize",
"start": 6861,
"end": 6869,
"loc": {
"start": {
"line": 193,
"column": 50
},
"end": {
"line": 193,
"column": 58
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 6870,
"end": 6871,
"loc": {
"start": {
"line": 193,
"column": 59
},
"end": {
"line": 193,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "extrude",
"start": 6872,
"end": 6879,
"loc": {
"start": {
"line": 193,
"column": 61
},
"end": {
"line": 193,
"column": 68
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6879,
"end": 6880,
"loc": {
"start": {
"line": 193,
"column": 68
},
"end": {
"line": 193,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 6894,
"end": 6895,
"loc": {
"start": {
"line": 194,
"column": 12
},
"end": {
"line": 194,
"column": 13
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6895,
"end": 6896,
"loc": {
"start": {
"line": 194,
"column": 13
},
"end": {
"line": 194,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "HUB_SIZE_PIXELS",
"start": 6897,
"end": 6912,
"loc": {
"start": {
"line": 194,
"column": 15
},
"end": {
"line": 194,
"column": 30
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 6913,
"end": 6914,
"loc": {
"start": {
"line": 194,
"column": 31
},
"end": {
"line": 194,
"column": 32
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 6915,
"end": 6916,
"loc": {
"start": {
"line": 194,
"column": 33
},
"end": {
"line": 194,
"column": 34
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 6917,
"end": 6918,
"loc": {
"start": {
"line": 194,
"column": 35
},
"end": {
"line": 194,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "extrude",
"start": 6919,
"end": 6926,
"loc": {
"start": {
"line": 194,
"column": 37
},
"end": {
"line": 194,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6926,
"end": 6927,
"loc": {
"start": {
"line": 194,
"column": 44
},
"end": {
"line": 194,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 6941,
"end": 6942,
"loc": {
"start": {
"line": 195,
"column": 12
},
"end": {
"line": 195,
"column": 13
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6942,
"end": 6943,
"loc": {
"start": {
"line": 195,
"column": 13
},
"end": {
"line": 195,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "HUB_SIZE_PIXELS",
"start": 6944,
"end": 6959,
"loc": {
"start": {
"line": 195,
"column": 15
},
"end": {
"line": 195,
"column": 30
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 6960,
"end": 6961,
"loc": {
"start": {
"line": 195,
"column": 31
},
"end": {
"line": 195,
"column": 32
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 6962,
"end": 6963,
"loc": {
"start": {
"line": 195,
"column": 33
},
"end": {
"line": 195,
"column": 34
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 6964,
"end": 6965,
"loc": {
"start": {
"line": 195,
"column": 35
},
"end": {
"line": 195,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "extrude",
"start": 6966,
"end": 6973,
"loc": {
"start": {
"line": 195,
"column": 37
},
"end": {
"line": 195,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6973,
"end": 6974,
"loc": {
"start": {
"line": 195,
"column": 44
},
"end": {
"line": 195,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "originalW",
"start": 6988,
"end": 6997,
"loc": {
"start": {
"line": 196,
"column": 12
},
"end": {
"line": 196,
"column": 21
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6997,
"end": 6998,
"loc": {
"start": {
"line": 196,
"column": 21
},
"end": {
"line": 196,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "HUB_SIZE_PIXELS",
"start": 6999,
"end": 7014,
"loc": {
"start": {
"line": 196,
"column": 23
},
"end": {
"line": 196,
"column": 38
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 7015,
"end": 7016,
"loc": {
"start": {
"line": 196,
"column": 39
},
"end": {
"line": 196,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dpi",
"start": 7017,
"end": 7020,
"loc": {
"start": {
"line": 196,
"column": 41
},
"end": {
"line": 196,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7020,
"end": 7021,
"loc": {
"start": {
"line": 196,
"column": 44
},
"end": {
"line": 196,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "originalH",
"start": 7035,
"end": 7044,
"loc": {
"start": {
"line": 197,
"column": 12
},
"end": {
"line": 197,
"column": 21
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7044,
"end": 7045,
"loc": {
"start": {
"line": 197,
"column": 21
},
"end": {
"line": 197,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "HUB_SIZE_PIXELS",
"start": 7046,
"end": 7061,
"loc": {
"start": {
"line": 197,
"column": 23
},
"end": {
"line": 197,
"column": 38
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 7062,
"end": 7063,
"loc": {
"start": {
"line": 197,
"column": 39
},
"end": {
"line": 197,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dpi",
"start": 7064,
"end": 7067,
"loc": {
"start": {
"line": 197,
"column": 41
},
"end": {
"line": 197,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7067,
"end": 7068,
"loc": {
"start": {
"line": 197,
"column": 44
},
"end": {
"line": 197,
"column": 45
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7078,
"end": 7079,
"loc": {
"start": {
"line": 198,
"column": 8
},
"end": {
"line": 198,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7079,
"end": 7080,
"loc": {
"start": {
"line": 198,
"column": 9
},
"end": {
"line": 198,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7080,
"end": 7081,
"loc": {
"start": {
"line": 198,
"column": 10
},
"end": {
"line": 198,
"column": 11
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7087,
"end": 7088,
"loc": {
"start": {
"line": 199,
"column": 4
},
"end": {
"line": 199,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7090,
"end": 7091,
"loc": {
"start": {
"line": 200,
"column": 0
},
"end": {
"line": 200,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7091,
"end": 7091,
"loc": {
"start": {
"line": 200,
"column": 1
},
"end": {
"line": 200,
"column": 1
}
}
}
]
}