{ "type": "File", "start": 0, "end": 12440, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 319, "column": 1 } }, "program": { "type": "Program", "start": 0, "end": 12440, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 319, "column": 1 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 41, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 41 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, "end": 18, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 18 } }, "imported": { "type": "Identifier", "start": 9, "end": 18, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 18 }, "identifierName": "CHANGELOG" }, "name": "CHANGELOG" }, "local": { "type": "Identifier", "start": 9, "end": 18, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 18 }, "identifierName": "CHANGELOG" }, "name": "CHANGELOG" } } ], "source": { "type": "StringLiteral", "start": 26, "end": 40, "loc": { "start": { "line": 1, "column": 26 }, "end": { "line": 1, "column": 40 } }, "extra": { "rawValue": "../changelog", "raw": "\"../changelog\"" }, "value": "../changelog" } }, { "type": "ImportDeclaration", "start": 43, "end": 89, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 46 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 52, "end": 61, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 18 } }, "imported": { "type": "Identifier", "start": 52, "end": 61, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 18 }, "identifierName": "cachebust" }, "name": "cachebust" }, "local": { "type": "Identifier", "start": 52, "end": 61, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 18 }, "identifierName": "cachebust" }, "name": "cachebust" } } ], "source": { "type": "StringLiteral", "start": 69, "end": 88, "loc": { "start": { "line": 2, "column": 26 }, "end": { "line": 2, "column": 45 } }, "extra": { "rawValue": "../core/cachebust", "raw": "\"../core/cachebust\"" }, "value": "../core/cachebust" } }, { "type": "ImportDeclaration", "start": 91, "end": 137, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 46 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 100, "end": 112, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 21 } }, "imported": { "type": "Identifier", "start": 100, "end": 112, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 21 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "local": { "type": "Identifier", "start": 100, "end": 112, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 21 }, "identifierName": "globalConfig" }, "name": "globalConfig" } } ], "source": { "type": "StringLiteral", "start": 120, "end": 136, "loc": { "start": { "line": 3, "column": 29 }, "end": { "line": 3, "column": 45 } }, "extra": { "rawValue": "../core/config", "raw": "\"../core/config\"" }, "value": "../core/config" } }, { "type": "ImportDeclaration", "start": 139, "end": 186, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 47 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 148, "end": 157, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 18 } }, "imported": { "type": "Identifier", "start": 148, "end": 157, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 18 }, "identifierName": "GameState" }, "name": "GameState" }, "local": { "type": "Identifier", "start": 148, "end": 157, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 18 }, "identifierName": "GameState" }, "name": "GameState" } } ], "source": { "type": "StringLiteral", "start": 165, "end": 185, "loc": { "start": { "line": 4, "column": 26 }, "end": { "line": 4, "column": 46 } }, "extra": { "rawValue": "../core/game_state", "raw": "\"../core/game_state\"" }, "value": "../core/game_state" } }, { "type": "ImportDeclaration", "start": 188, "end": 235, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 47 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 197, "end": 209, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 21 } }, "imported": { "type": "Identifier", "start": 197, "end": 209, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 21 }, "identifierName": "createLogger" }, "name": "createLogger" }, "local": { "type": "Identifier", "start": 197, "end": 209, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 21 }, "identifierName": "createLogger" }, "name": "createLogger" } } ], "source": { "type": "StringLiteral", "start": 217, "end": 234, "loc": { "start": { "line": 5, "column": 29 }, "end": { "line": 5, "column": 46 } }, "extra": { "rawValue": "../core/logging", "raw": "\"../core/logging\"" }, "value": "../core/logging" } }, { "type": "ImportDeclaration", "start": 237, "end": 283, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 46 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 246, "end": 259, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 22 } }, "imported": { "type": "Identifier", "start": 246, "end": 259, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 22 }, "identifierName": "findNiceValue" }, "name": "findNiceValue" }, "local": { "type": "Identifier", "start": 246, "end": 259, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 22 }, "identifierName": "findNiceValue" }, "name": "findNiceValue" } } ], "source": { "type": "StringLiteral", "start": 267, "end": 282, "loc": { "start": { "line": 6, "column": 30 }, "end": { "line": 6, "column": 45 } }, "extra": { "rawValue": "../core/utils", "raw": "\"../core/utils\"" }, "value": "../core/utils" } }, { "type": "ImportDeclaration", "start": 285, "end": 331, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 46 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 294, "end": 307, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 22 } }, "imported": { "type": "Identifier", "start": 294, "end": 307, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 22 }, "identifierName": "getRandomHint" }, "name": "getRandomHint" }, "local": { "type": "Identifier", "start": 294, "end": 307, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 22 }, "identifierName": "getRandomHint" }, "name": "getRandomHint" } } ], "source": { "type": "StringLiteral", "start": 315, "end": 330, "loc": { "start": { "line": 7, "column": 30 }, "end": { "line": 7, "column": 45 } }, "extra": { "rawValue": "../game/hints", "raw": "\"../game/hints\"" }, "value": "../game/hints" } }, { "type": "ImportDeclaration", "start": 333, "end": 399, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 66 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 342, "end": 357, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 24 } }, "imported": { "type": "Identifier", "start": 342, "end": 357, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 24 }, "identifierName": "HUDModalDialogs" }, "name": "HUDModalDialogs" }, "local": { "type": "Identifier", "start": 342, "end": 357, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 24 }, "identifierName": "HUDModalDialogs" }, "name": "HUDModalDialogs" } } ], "source": { "type": "StringLiteral", "start": 365, "end": 398, "loc": { "start": { "line": 8, "column": 32 }, "end": { "line": 8, "column": 65 } }, "extra": { "rawValue": "../game/hud/parts/modal_dialogs", "raw": "\"../game/hud/parts/modal_dialogs\"" }, "value": "../game/hud/parts/modal_dialogs" } }, { "type": "ImportDeclaration", "start": 401, "end": 474, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 73 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 410, "end": 436, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 35 } }, "imported": { "type": "Identifier", "start": 410, "end": 436, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 35 }, "identifierName": "PlatformWrapperImplBrowser" }, "name": "PlatformWrapperImplBrowser" }, "local": { "type": "Identifier", "start": 410, "end": 436, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 35 }, "identifierName": "PlatformWrapperImplBrowser" }, "name": "PlatformWrapperImplBrowser" } } ], "source": { "type": "StringLiteral", "start": 444, "end": 473, "loc": { "start": { "line": 9, "column": 43 }, "end": { "line": 9, "column": 72 } }, "extra": { "rawValue": "../platform/browser/wrapper", "raw": "\"../platform/browser/wrapper\"" }, "value": "../platform/browser/wrapper" } }, { "type": "ImportDeclaration", "start": 476, "end": 561, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 85 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 485, "end": 505, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 29 } }, "imported": { "type": "Identifier", "start": 485, "end": 505, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 29 }, "identifierName": "autoDetectLanguageId" }, "name": "autoDetectLanguageId" }, "local": { "type": "Identifier", "start": 485, "end": 505, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 29 }, "identifierName": "autoDetectLanguageId" }, "name": "autoDetectLanguageId" } }, { "type": "ImportSpecifier", "start": 507, "end": 508, "loc": { "start": { "line": 10, "column": 31 }, "end": { "line": 10, "column": 32 } }, "imported": { "type": "Identifier", "start": 507, "end": 508, "loc": { "start": { "line": 10, "column": 31 }, "end": { "line": 10, "column": 32 }, "identifierName": "T" }, "name": "T" }, "local": { "type": "Identifier", "start": 507, "end": 508, "loc": { "start": { "line": 10, "column": 31 }, "end": { "line": 10, "column": 32 }, "identifierName": "T" }, "name": "T" } }, { "type": "ImportSpecifier", "start": 510, "end": 535, "loc": { "start": { "line": 10, "column": 34 }, "end": { "line": 10, "column": 59 } }, "imported": { "type": "Identifier", "start": 510, "end": 535, "loc": { "start": { "line": 10, "column": 34 }, "end": { "line": 10, "column": 59 }, "identifierName": "updateApplicationLanguage" }, "name": "updateApplicationLanguage" }, "local": { "type": "Identifier", "start": 510, "end": 535, "loc": { "start": { "line": 10, "column": 34 }, "end": { "line": 10, "column": 59 }, "identifierName": "updateApplicationLanguage" }, "name": "updateApplicationLanguage" } } ], "source": { "type": "StringLiteral", "start": 543, "end": 560, "loc": { "start": { "line": 10, "column": 67 }, "end": { "line": 10, "column": 84 } }, "extra": { "rawValue": "../translations", "raw": "\"../translations\"" }, "value": "../translations" } }, { "type": "VariableDeclaration", "start": 565, "end": 610, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 12, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", "start": 571, "end": 609, "loc": { "start": { "line": 12, "column": 6 }, "end": { "line": 12, "column": 44 } }, "id": { "type": "Identifier", "start": 571, "end": 577, "loc": { "start": { "line": 12, "column": 6 }, "end": { "line": 12, "column": 12 }, "identifierName": "logger" }, "name": "logger" }, "init": { "type": "CallExpression", "start": 580, "end": 609, "loc": { "start": { "line": 12, "column": 15 }, "end": { "line": 12, "column": 44 } }, "callee": { "type": "Identifier", "start": 580, "end": 592, "loc": { "start": { "line": 12, "column": 15 }, "end": { "line": 12, "column": 27 }, "identifierName": "createLogger" }, "name": "createLogger" }, "arguments": [ { "type": "StringLiteral", "start": 593, "end": 608, "loc": { "start": { "line": 12, "column": 28 }, "end": { "line": 12, "column": 43 } }, "extra": { "rawValue": "state/preload", "raw": "\"state/preload\"" }, "value": "state/preload" } ] } } ], "kind": "const" }, { "type": "ExportNamedDeclaration", "start": 614, "end": 12440, "loc": { "start": { "line": 14, "column": 0 }, "end": { "line": 319, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "ClassDeclaration", "start": 621, "end": 12440, "loc": { "start": { "line": 14, "column": 7 }, "end": { "line": 319, "column": 1 } }, "id": { "type": "Identifier", "start": 627, "end": 639, "loc": { "start": { "line": 14, "column": 13 }, "end": { "line": 14, "column": 25 }, "identifierName": "PreloadState" }, "name": "PreloadState" }, "superClass": { "type": "Identifier", "start": 648, "end": 657, "loc": { "start": { "line": 14, "column": 34 }, "end": { "line": 14, "column": 43 }, "identifierName": "GameState" }, "name": "GameState" }, "body": { "type": "ClassBody", "start": 658, "end": 12440, "loc": { "start": { "line": 14, "column": 44 }, "end": { "line": 319, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 665, "end": 719, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 17, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 665, "end": 676, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 15 }, "identifierName": "constructor" }, "name": "constructor" }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 679, "end": 719, "loc": { "start": { "line": 15, "column": 18 }, "end": { "line": 17, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 690, "end": 712, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 30 } }, "expression": { "type": "CallExpression", "start": 690, "end": 711, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 29 } }, "callee": { "type": "Super", "start": 690, "end": 695, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 13 } } }, "arguments": [ { "type": "StringLiteral", "start": 696, "end": 710, "loc": { "start": { "line": 16, "column": 14 }, "end": { "line": 16, "column": 28 } }, "extra": { "rawValue": "PreloadState", "raw": "\"PreloadState\"" }, "value": "PreloadState" } ] } } ], "directives": [] } }, { "type": "ClassMethod", "start": 727, "end": 1013, "loc": { "start": { "line": 19, "column": 4 }, "end": { "line": 28, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 727, "end": 739, "loc": { "start": { "line": 19, "column": 4 }, "end": { "line": 19, "column": 16 }, "identifierName": "getInnerHTML" }, "name": "getInnerHTML" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 742, "end": 1013, "loc": { "start": { "line": 19, "column": 19 }, "end": { "line": 28, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 753, "end": 1006, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 27, "column": 10 } }, "argument": { "type": "TemplateLiteral", "start": 760, "end": 1005, "loc": { "start": { "line": 20, "column": 15 }, "end": { "line": 27, "column": 9 } }, "expressions": [], "quasis": [ { "type": "TemplateElement", "start": 761, "end": 1004, "loc": { "start": { "line": 20, "column": 16 }, "end": { "line": 27, "column": 8 } }, "value": { "raw": "\n
\n